PageSourceSearch

https://leverage-finder.lovable.app/assets/index-CjH2SuMK.js

js leverage-finder.lovable.app collected 2026-10-03 03:35:33 UTC 448,040 bytes, 108 lines download raw bytes

vendor: 5,063 bytes, lines 1-9
1var sh=e=>{throw TypeError(e)};var Ol=(e,t,n)=>t.has(e)||sh("Cannot "+n);var A=(e,t,n)=>(Ol(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?sh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(Ol(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Le=(e,t,n)=>(Ol(e,t,"access private method"),n);var ys=(e,t,n,r)=>({set _(i){K(e,t,i,n)},get _(){return A(e,t,r)}});function x1(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 Ag(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mg={exports:{}},Xa={},Ng={exports:{}},X={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var ns=Symbol.for("react.element"),w1=Symbol.for("react.portal"),S1=Symbol.for("react.fragment"),E1=Symbol.for("react.strict_mode"),T1=Symbol.for("react.profiler"),C1=Symbol.for("react.provider"),P1=Symbol.for("react.context"),b1=Symbol.for("react.forward_ref"),k1=Symbol.for("react.suspense"),R1=Symbol.for("react.memo"),A1=Symbol.for("react.lazy"),ah=Symbol.iterator;function M1(e){return e===null||typeof e!="object"?null:(e=ah&&e[ah]||e["@@iterator"],typeof e=="function"?e:null)}var Dg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Lg=Object.assign,Og={};function zi(e,t,n){this.props=e,this.context=t,this.refs=Og,this.updater=n||Dg}zi.prototype.isReactComponent={};zi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};zi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function jg(){}jg.prototype=zi.prototype;function cd(e,t,n){this.props=e,this.context=t,this.refs=Og,this.updater=n||Dg}var dd=cd.prototype=new jg;dd.constructor=cd;Lg(dd,zi.prototype);dd.isPureReactComponent=!0;var lh=Array.isArray,Ig=Object.prototype.hasOwnProperty,fd={current:null},Fg={key:!0,ref:!0,__self:!0,__source:!0};function Vg(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)Ig.call(t,r)&&!Fg.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:ns,type:e,key:o,ref:s,props:i,_owner:fd.current}}function N1(e,t){return{$$typeof:ns,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function hd(e){return typeof e=="object"&&e!==null&&e.$$typeof===ns}function D1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var uh=/\/+/g;function jl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?D1(""+e.key):t.toString(36)}function Ws(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ns:case w1:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+jl(s,0):r,lh(i)?(n="",e!=null&&(n=e.replace(uh,"$&/")+"/"),Ws(i,t,n,"",function(u){return u})):i!=null&&(hd(i)&&(i=N1(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(uh,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",lh(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+jl(o,a);s+=Ws(o,t,n,l,i)}else if(l=M1(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+jl(o,a++),s+=Ws(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}
vendor: 8,034 bytes, lines 9-25
9function vs(e,t,n){if(e==null)return e;var r=[],i=0;return Ws(e,r,"","",function(o){return t.call(n,o,i++)}),r}function L1(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 Ke={current:null},Hs={transition:null},O1={ReactCurrentDispatcher:Ke,ReactCurrentBatchConfig:Hs,ReactCurrentOwner:fd};function _g(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:vs,forEach:function(e,t,n){vs(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return vs(e,function(){t++}),t},toArray:function(e){return vs(e,function(t){return t})||[]},only:function(e){if(!hd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=zi;X.Fragment=S1;X.Profiler=T1;X.PureComponent=cd;X.StrictMode=E1;X.Suspense=k1;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O1;X.act=_g;X.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Lg({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=fd.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Ig.call(t,l)&&!Fg.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:ns,type:e.type,key:i,ref:o,props:r,_owner:s}};X.createContext=function(e){return e={$$typeof:P1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:C1,_context:e},e.Consumer=e};X.createElement=Vg;X.createFactory=function(e){var t=Vg.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:b1,render:e}};X.isValidElement=hd;X.lazy=function(e){return{$$typeof:A1,_payload:{_status:-1,_result:e},_init:L1}};X.memo=function(e,t){return{$$typeof:R1,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=Hs.transition;Hs.transition={};try{e()}finally{Hs.transition=t}};X.unstable_act=_g;X.useCallback=function(e,t){return Ke.current.useCallback(e,t)};X.useContext=function(e){return Ke.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return Ke.current.useDeferredValue(e)};X.useEffect=function(e,t){return Ke.current.useEffect(e,t)};X.useId=function(){return Ke.current.useId()};X.useImperativeHandle=function(e,t,n){return Ke.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return Ke.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return Ke.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return Ke.current.useMemo(e,t)};X.useReducer=function(e,t,n){return Ke.current.useReducer(e,t,n)};X.useRef=function(e){return Ke.current.useRef(e)};X.useState=function(e){return Ke.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return Ke.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return Ke.current.useTransition()};X.version="18.3.1";Ng.exports=X;var w=Ng.exports;const L=Ag(w),zg=x1({__proto__:null,default:L},[w]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var j1=w,I1=Symbol.for("react.element"),F1=Symbol.for("react.fragment"),V1=Object.prototype.hasOwnProperty,_1=j1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,z1={key:!0,ref:!0,__self:!0,__source:!0};function Bg(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)V1.call(t,r)&&!z1.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:I1,type:e,key:o,ref:s,props:i,_owner:_1.current}}Xa.Fragment=F1;Xa.jsx=Bg;Xa.jsxs=Bg;Mg.exports=Xa;var E=Mg.exports,$g={exports:{}},lt={},Ug={exports:{}},Wg={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(k,R){var O=k.length;k.push(R);e:for(;0<O;){var B=O-1>>>1,z=k[B];if(0<i(z,R))k[B]=R,k[O]=z,O=B;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],O=k.pop();if(O!==R){k[0]=O;e:for(var B=0,z=k.length,Q=z>>>1;B<Q;){var q=2*(B+1)-1,ve=k[q],De=q+1,ee=k[De];if(0>i(ve,O))De<z&&0>i(ee,ve)?(k[B]=ee,k[De]=O,B=De):(k[B]=ve,k[q]=O,B=q);else if(De<z&&0>i(ee,O))k[B]=ee,k[De]=O,B=De;else break e}}return R}function i(k,R){var O=k.sortIndex-R.sortIndex;return O!==0?O: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,v=!1,g=!1,x=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 S(k){if(g=!1,y(k),!v)if(n(l)!==null)v=!0,$(T);else{var R=n(u);R!==null&&W(S,R.startTime-k)}}function T(k,R){v=!1,g&&(g=!1,m(b),b=-1),h=!0;var O=f;try{for(y(R),d=n(l);d!==null&&(!(d.expirationTime>R)||k&&!_());){var B=d.callback;if(typeof B=="function"){d.callback=null,f=d.priorityLevel;var z=B(d.expirationTime<=R);R=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),y(R)}else r(l);d=n(l)}if(d!==null)var Q=!0;else{var q=n(u);q!==null&&W(S,q.startTime-R),Q=!1}return Q}finally{d=null,f=O,h=!1}}var C=!1,P=null,b=-1,M=5,N=-1;function _(){return!(e.unstable_now()-N<M)}function I(){if(P!==null){var k=e.unstable_now();N=k;var R=!0;try{R=P(!0,k)}finally{R?U():(C=!1,P=null)}}else C=!1}var U;if(typeof p=="function")U=function(){p(I)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,G=j.port2;j.port1.onmessage=I,U=function(){G.postMessage(null)}}else U=function(){x(I,0)};function $(k){P=k,C||(C=!0,U())}function W(k,R){b=x(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(){v||h||(v=!0,$(T))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(f){case 1:case 2:case 3:var R=3;break;default:R=f}var O=f;f=R;try{return k()}finally{f=O}},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 O=f;f=k;try{return R()}finally{f=O}},e.unstable_scheduleCallback=function(k,R,O){var B=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?B+O:B):O=B,k){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}
vendor: 4,614 bytes, lines 25-33
25return z=O+z,k={id:c++,callback:R,priorityLevel:k,startTime:O,expirationTime:z,sortIndex:-1},O>B?(k.sortIndex=O,t(u,k),n(l)===null&&k===n(u)&&(g?(m(b),b=-1):g=!0,W(S,O-B))):(k.sortIndex=z,t(l,k),v||h||(v=!0,$(T))),k},e.unstable_shouldYield=_,e.unstable_wrapCallback=function(k){var R=f;return function(){var O=f;f=R;try{return k.apply(this,arguments)}finally{f=O}}}})(Wg);Ug.exports=Wg;var B1=Ug.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var $1=w,at=B1;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Hg=new Set,Ro={};function Fr(e,t){Ai(e,t),Ai(e+"Capture",t)}function Ai(e,t){for(Ro[e]=t,e=0;e<t.length;e++)Hg.add(t[e])}var fn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Nu=Object.prototype.hasOwnProperty,U1=/^[: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]*$/,ch={},dh={};function W1(e){return Nu.call(dh,e)?!0:Nu.call(ch,e)?!1:U1.test(e)?dh[e]=!0:(ch[e]=!0,!1)}function H1(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 K1(e,t,n,r){if(t===null||typeof t>"u"||H1(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 Ye(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ne[e]=new Ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ne[t]=new Ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ne[e]=new Ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ne[e]=new Ye(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ne[e]=new Ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ne[e]=new Ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ne[e]=new Ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ne[e]=new Ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ne[e]=new Ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var pd=/[\-:]([a-z])/g;function md(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(pd,md);Ne[t]=new Ye(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(pd,md);Ne[t]=new Ye(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(pd,md);Ne[t]=new Ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ne[e]=new Ye(e,1,!1,e.toLowerCase(),null,!1,!1)});Ne.xlinkHref=new Ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ne[e]=new Ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function gd(e,t,n,r){var i=Ne.hasOwnProperty(t)?Ne[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(K1(t,n,i,r)&&(n=null),r||i===null?W1(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 xn=$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xs=Symbol.for("react.element"),Gr=Symbol.for("react.portal"),Qr=Symbol.for("react.fragment"),yd=Symbol.for("react.strict_mode"),Du=Symbol.for("react.profiler"),Kg=Symbol.for("react.provider"),Yg=Symbol.for("react.context"),vd=Symbol.for("react.forward_ref"),Lu=Symbol.for("react.suspense"),Ou=Symbol.for("react.suspense_list"),xd=Symbol.for("react.memo"),Dn=Symbol.for("react.lazy"),Gg=Symbol.for("react.offscreen"),fh=Symbol.iterator;function qi(e){return e===null||typeof e!="object"?null:(e=fh&&e[fh]||e["@@iterator"],typeof e=="function"?e:null)}var pe=Object.assign,Il;function lo(e){if(Il===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Il=t&&t[1]||""}return`
34`+Il+e}var Fl=!1;function Vl(e,t){if(!e||Fl)return"";Fl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
35`),o=r.stack.split(`
36`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
37`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Fl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?lo(e):""}function Y1(e){switch(e.tag){case 5:return lo(e.type);case 16:return lo("Lazy");case 13:return lo("Suspense");case 19:return lo("SuspenseList");case 0:case 2:case 15:return e=Vl(e.type,!1),e;case 11:return e=Vl(e.type.render,!1),e;case 1:return e=Vl(e.type,!0),e;default:return""}}function ju(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 Qr:return"Fragment";case Gr:return"Portal";case Du:return"Profiler";case yd:return"StrictMode";case Lu:return"Suspense";case Ou:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Yg:return(e.displayName||"Context")+".Consumer";case Kg:return(e._context.displayName||"Context")+".Provider";case vd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xd:return t=e.displayName||null,t!==null?t:ju(e.type)||"Memo";case Dn:t=e._payload,e=e._init;try{return ju(e(t))}catch{}}return null}function G1(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 ju(t);case 8:return t===yd?"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 Jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Qg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Q1(e){var t=Qg(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 ws(e){e._valueTracker||(e._valueTracker=Q1(e))}function Xg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Qg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function da(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 Iu(e,t){var n=t.checked;return pe({},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=Jn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function qg(e,t){t=t.checked,t!=null&&gd(e,"checked",t,!1)}function Fu(e,t){qg(e,t);var n=Jn(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")?Vu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Vu(e,t.type,Jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ph(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 Vu(e,t,n){(t!=="number"||da(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var uo=Array.isArray;function di(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Jn(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 _u(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return pe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function mh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(uo(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Jn(n)}}function Zg(e,t){var n=Jn(t.value),r=Jn(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 gh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Jg(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 zu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Jg(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ss,ey=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(Ss=Ss||document.createElement("div"),Ss.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ss.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ao(e,t){if(t){var n=e.firstChild;
vendor: 9,851 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var po={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},X1=["Webkit","ms","Moz","O"];Object.keys(po).forEach(function(e){X1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),po[t]=po[e]})});function ty(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||po.hasOwnProperty(e)&&po[e]?(""+t).trim():t+"px"}function ny(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ty(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var q1=pe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Bu(e,t){if(t){if(q1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function $u(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Uu=null;function wd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Wu=null,fi=null,hi=null;function yh(e){if(e=os(e)){if(typeof Wu!="function")throw Error(D(280));var t=e.stateNode;t&&(t=tl(t),Wu(e.stateNode,e.type,t))}}function ry(e){fi?hi?hi.push(e):hi=[e]:fi=e}function iy(){if(fi){var e=fi,t=hi;if(hi=fi=null,yh(e),t)for(e=0;e<t.length;e++)yh(t[e])}}function oy(e,t){return e(t)}function sy(){}var _l=!1;function ay(e,t,n){if(_l)return e(t,n);_l=!0;try{return oy(e,t,n)}finally{_l=!1,(fi!==null||hi!==null)&&(sy(),iy())}}function Mo(e,t){var n=e.stateNode;if(n===null)return null;var r=tl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(D(231,t,typeof n));return n}var Hu=!1;if(fn)try{var Zi={};Object.defineProperty(Zi,"passive",{get:function(){Hu=!0}}),window.addEventListener("test",Zi,Zi),window.removeEventListener("test",Zi,Zi)}catch{Hu=!1}function Z1(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,fa=null,ha=!1,Ku=null,J1={onError:function(e){mo=!0,fa=e}};function eS(e,t,n,r,i,o,s,a,l){mo=!1,fa=null,Z1.apply(J1,arguments)}function tS(e,t,n,r,i,o,s,a,l){if(eS.apply(this,arguments),mo){if(mo){var u=fa;mo=!1,fa=null}else throw Error(D(198));ha||(ha=!0,Ku=u)}}function Vr(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 ly(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 vh(e){if(Vr(e)!==e)throw Error(D(188))}function nS(e){var t=e.alternate;if(!t){if(t=Vr(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return vh(i),e;if(o===r)return vh(i),t;o=o.sibling}throw Error(D(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function uy(e){return e=nS(e),e!==null?cy(e):null}function cy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=cy(e);if(t!==null)return t;e=e.sibling}return null}var dy=at.unstable_scheduleCallback,xh=at.unstable_cancelCallback,rS=at.unstable_shouldYield,iS=at.unstable_requestPaint,ye=at.unstable_now,oS=at.unstable_getCurrentPriorityLevel,Sd=at.unstable_ImmediatePriority,fy=at.unstable_UserBlockingPriority,pa=at.unstable_NormalPriority,sS=at.unstable_LowPriority,hy=at.unstable_IdlePriority,qa=null,Xt=null;function aS(e){if(Xt&&typeof Xt.onCommitFiberRoot=="function")try{Xt.onCommitFiberRoot(qa,e,void 0,(e.current.flags&128)===128)}catch{}}var Ot=Math.clz32?Math.clz32:cS,lS=Math.log,uS=Math.LN2;function cS(e){return e>>>=0,e===0?32:31-(lS(e)/uS|0)|0}var Es=64,Ts=4194304;function co(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ma(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=co(a):(o&=s,o!==0&&(r=co(o)))}else s=n&~i,s!==0?r=co(s):o!==0&&(r=co(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ot(t),i=1<<n,r|=e[n],t&=~i;return r}function dS(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function fS(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-Ot(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=dS(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function Yu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function py(){var e=Es;return Es<<=1,!(Es&4194240)&&(Es=64),e}function zl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function rs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ot(t),e[t]=n}function hS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Ot(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Ed(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ot(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var te=0;function my(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var gy,Td,yy,vy,xy,Gu=!1,Cs=[],Hn=null,Kn=null,Yn=null,No=new Map,Do=new Map,On=[],pS="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 wh(e,t){switch(e){case"focusin":case"focusout":Hn=null;break;case"dragenter":case"dragleave":Kn=null;break;case"mouseover":case"mouseout":Yn=null;break;case"pointerover":case"pointerout":No.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Do.delete(t.pointerId)}}function Ji(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=os(t),t!==null&&Td(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function mS(e,t,n,r,i){switch(t){case"focusin":return Hn=Ji(Hn,e,t,n,r,i),!0;case"dragenter":return Kn=Ji(Kn,e,t,n,r,i),!0;case"mouseover":return Yn=Ji(Yn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return No.set(o,Ji(No.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Do.set(o,Ji(Do.get(o)||null,e,t,n,r,i)),!0}return!1}function wy(e){var t=yr(e.target);if(t!==null){var n=Vr(t);if(n!==null){if(t=n.tag,t===13){if(t=ly(n),t!==null){e.blockedOn=t,xy(e.priority,function(){yy(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 Ks(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Uu=r,n.target.dispatchEvent(r),Uu=null}else return t=os(n),t!==null&&Td(t),e.blockedOn=n,!1;t.shift()}return!0}
vendor: 9,445 bytes, line 37
37function Sh(e,t,n){Ks(e)&&n.delete(t)}function gS(){Gu=!1,Hn!==null&&Ks(Hn)&&(Hn=null),Kn!==null&&Ks(Kn)&&(Kn=null),Yn!==null&&Ks(Yn)&&(Yn=null),No.forEach(Sh),Do.forEach(Sh)}function eo(e,t){e.blockedOn===t&&(e.blockedOn=null,Gu||(Gu=!0,at.unstable_scheduleCallback(at.unstable_NormalPriority,gS)))}function Lo(e){function t(i){return eo(i,e)}if(0<Cs.length){eo(Cs[0],e);for(var n=1;n<Cs.length;n++){var r=Cs[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Hn!==null&&eo(Hn,e),Kn!==null&&eo(Kn,e),Yn!==null&&eo(Yn,e),No.forEach(t),Do.forEach(t),n=0;n<On.length;n++)r=On[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<On.length&&(n=On[0],n.blockedOn===null);)wy(n),n.blockedOn===null&&On.shift()}var pi=xn.ReactCurrentBatchConfig,ga=!0;function yS(e,t,n,r){var i=te,o=pi.transition;pi.transition=null;try{te=1,Cd(e,t,n,r)}finally{te=i,pi.transition=o}}function vS(e,t,n,r){var i=te,o=pi.transition;pi.transition=null;try{te=4,Cd(e,t,n,r)}finally{te=i,pi.transition=o}}function Cd(e,t,n,r){if(ga){var i=Qu(e,t,n,r);if(i===null)Xl(e,t,r,ya,n),wh(e,r);else if(mS(i,e,t,n,r))r.stopPropagation();else if(wh(e,r),t&4&&-1<pS.indexOf(e)){for(;i!==null;){var o=os(i);if(o!==null&&gy(o),o=Qu(e,t,n,r),o===null&&Xl(e,t,r,ya,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Xl(e,t,r,null,n)}}var ya=null;function Qu(e,t,n,r){if(ya=null,e=wd(r),e=yr(e),e!==null)if(t=Vr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ly(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 ya=e,null}function Sy(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(oS()){case Sd:return 1;case fy:return 4;case pa:case sS:return 16;case hy:return 536870912;default:return 16}default:return 16}}var Bn=null,Pd=null,Ys=null;function Ey(){if(Ys)return Ys;var e,t=Pd,n=t.length,r,i="value"in Bn?Bn.value:Bn.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Ys=i.slice(e,1<r?1-r:void 0)}function Gs(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ps(){return!0}function Eh(){return!1}function ut(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ps:Eh,this.isPropagationStopped=Eh,this}return pe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ps)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ps)},persist:function(){},isPersistent:Ps}),t}var Bi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bd=ut(Bi),is=pe({},Bi,{view:0,detail:0}),xS=ut(is),Bl,$l,to,Za=pe({},is,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==to&&(to&&e.type==="mousemove"?(Bl=e.screenX-to.screenX,$l=e.screenY-to.screenY):$l=Bl=0,to=e),Bl)},movementY:function(e){return"movementY"in e?e.movementY:$l}}),Th=ut(Za),wS=pe({},Za,{dataTransfer:0}),SS=ut(wS),ES=pe({},is,{relatedTarget:0}),Ul=ut(ES),TS=pe({},Bi,{animationName:0,elapsedTime:0,pseudoElement:0}),CS=ut(TS),PS=pe({},Bi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bS=ut(PS),kS=pe({},Bi,{data:0}),Ch=ut(kS),RS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},AS={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"},MS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function NS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=MS[e])?!!t[e]:!1}function kd(){return NS}var DS=pe({},is,{key:function(e){if(e.key){var t=RS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Gs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?AS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kd,charCode:function(e){return e.type==="keypress"?Gs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Gs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),LS=ut(DS),OS=pe({},Za,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ph=ut(OS),jS=pe({},is,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kd}),IS=ut(jS),FS=pe({},Bi,{propertyName:0,elapsedTime:0,pseudoElement:0}),VS=ut(FS),_S=pe({},Za,{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}),zS=ut(_S),BS=[9,13,27,32],Rd=fn&&"CompositionEvent"in window,go=null;fn&&"documentMode"in document&&(go=document.documentMode);var $S=fn&&"TextEvent"in window&&!go,Ty=fn&&(!Rd||go&&8<go&&11>=go),bh=" ",kh=!1;function Cy(e,t){switch(e){case"keyup":return BS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Py(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xr=!1;function US(e,t){switch(e){case"compositionend":return Py(t);case"keypress":return t.which!==32?null:(kh=!0,bh);case"textInput":return e=t.data,e===bh&&kh?null:e;default:return null}}function WS(e,t){if(Xr)return e==="compositionend"||!Rd&&Cy(e,t)?(e=Ey(),Ys=Pd=Bn=null,Xr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ty&&t.locale!=="ko"?null:t.data;default:return null}}var HS={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 Rh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!HS[e.type]:t==="textarea"}function by(e,t,n,r){ry(r),t=va(t,"onChange"),0<t.length&&(n=new bd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var yo=null,Oo=null;function KS(e){Fy(e,0)}function Ja(e){var t=Jr(e);if(Xg(t))return e}function YS(e,t){if(e==="change")return t}var ky=!1;if(fn){var Wl;if(fn){var Hl="oninput"in document;if(!Hl){var Ah=document.createElement("div");Ah.setAttribute("oninput","return;"),Hl=typeof Ah.oninput=="function"}Wl=Hl}else Wl=!1;ky=Wl&&(!document.documentMode||9<document.documentMode)}function Mh(){yo&&(yo.detachEvent("onpropertychange",Ry),Oo=yo=null)}function Ry(e){if(e.propertyName==="value"&&Ja(Oo)){var t=[];by(t,Oo,e,wd(e)),ay(KS,t)}}function GS(e,t,n){e==="focusin"?(Mh(),yo=t,Oo=n,yo.attachEvent("onpropertychange",Ry)):e==="focusout"&&Mh()}function QS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ja(Oo)}function XS(e,t){if(e==="click")return Ja(t)}function qS(e,t){if(e==="input"||e==="change")return Ja(t)}function ZS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ft=typeof Object.is=="function"?Object.is:ZS;function jo(e,t){if(Ft(e,t))return!0;
vendor: 4,808 bytes, line 37
37if(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(!Nu.call(t,i)||!Ft(e[i],t[i]))return!1}return!0}function Nh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Dh(e,t){var n=Nh(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=Nh(n)}}function Ay(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ay(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function My(){for(var e=window,t=da();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=da(e.document)}return t}function Ad(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 JS(e){var t=My(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ay(n.ownerDocument.documentElement,n)){if(r!==null&&Ad(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Dh(n,o);var s=Dh(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 eE=fn&&"documentMode"in document&&11>=document.documentMode,qr=null,Xu=null,vo=null,qu=!1;function Lh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qu||qr==null||qr!==da(r)||(r=qr,"selectionStart"in r&&Ad(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}),vo&&jo(vo,r)||(vo=r,r=va(Xu,"onSelect"),0<r.length&&(t=new bd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=qr)))}function bs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zr={animationend:bs("Animation","AnimationEnd"),animationiteration:bs("Animation","AnimationIteration"),animationstart:bs("Animation","AnimationStart"),transitionend:bs("Transition","TransitionEnd")},Kl={},Ny={};fn&&(Ny=document.createElement("div").style,"AnimationEvent"in window||(delete Zr.animationend.animation,delete Zr.animationiteration.animation,delete Zr.animationstart.animation),"TransitionEvent"in window||delete Zr.transitionend.transition);function el(e){if(Kl[e])return Kl[e];if(!Zr[e])return e;var t=Zr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ny)return Kl[e]=t[n];return e}var Dy=el("animationend"),Ly=el("animationiteration"),Oy=el("animationstart"),jy=el("transitionend"),Iy=new Map,Oh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function sr(e,t){Iy.set(e,t),Fr(t,[e])}for(var Yl=0;Yl<Oh.length;Yl++){var Gl=Oh[Yl],tE=Gl.toLowerCase(),nE=Gl[0].toUpperCase()+Gl.slice(1);sr(tE,"on"+nE)}sr(Dy,"onAnimationEnd");sr(Ly,"onAnimationIteration");sr(Oy,"onAnimationStart");sr("dblclick","onDoubleClick");sr("focusin","onFocus");sr("focusout","onBlur");sr(jy,"onTransitionEnd");Ai("onMouseEnter",["mouseout","mouseover"]);Ai("onMouseLeave",["mouseout","mouseover"]);Ai("onPointerEnter",["pointerout","pointerover"]);Ai("onPointerLeave",["pointerout","pointerover"]);Fr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 4,388 bytes, line 37
37Fr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Fr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Fr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Fr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Fr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rE=new Set("cancel close invalid load scroll toggle".split(" ").concat(fo));function jh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,tS(r,t,void 0,e),e.currentTarget=null}function Fy(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;jh(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;jh(i,a,u),o=l}}}if(ha)throw e=Ku,ha=!1,Ku=null,e}function se(e,t){var n=t[nc];n===void 0&&(n=t[nc]=new Set);var r=e+"__bubble";n.has(r)||(Vy(t,e,2,!1),n.add(r))}function Ql(e,t,n){var r=0;t&&(r|=4),Vy(n,e,r,t)}var ks="_reactListening"+Math.random().toString(36).slice(2);function Io(e){if(!e[ks]){e[ks]=!0,Hg.forEach(function(n){n!=="selectionchange"&&(rE.has(n)||Ql(n,!1,e),Ql(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ks]||(t[ks]=!0,Ql("selectionchange",!1,t))}}function Vy(e,t,n,r){switch(Sy(t)){case 1:var i=yS;break;case 4:i=vS;break;default:i=Cd}n=i.bind(null,t,n,e),i=void 0,!Hu||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 Xl(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;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=yr(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}ay(function(){var u=o,c=wd(n),d=[];e:{var f=Iy.get(e);if(f!==void 0){var h=bd,v=e;switch(e){case"keypress":if(Gs(n)===0)break e;case"keydown":case"keyup":h=LS;break;case"focusin":v="focus",h=Ul;break;case"focusout":v="blur",h=Ul;break;case"beforeblur":case"afterblur":h=Ul;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=Th;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=SS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=IS;break;case Dy:case Ly:case Oy:h=CS;break;case jy:h=VS;break;case"scroll":h=xS;break;case"wheel":h=zS;break;case"copy":case"cut":case"paste":h=bS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Ph}var g=(t&4)!==0,x=!g&&e==="scroll",m=g?f!==null?f+"Capture":null:f;g=[];for(var p=u,y;p!==null;){y=p;var S=y.stateNode;if(y.tag===5&&S!==null&&(y=S,m!==null&&(S=Mo(p,m),S!=null&&g.push(Fo(p,S,y)))),x)break;p=p.return}0<g.length&&(f=new h(f,v,null,n,c),d.push({event:f,listeners:g}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==Uu&&(v=n.relatedTarget||n.fromElement)&&(yr(v)||v[hn]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(v=n.relatedTarget||n.toElement,h=u,v=v?yr(v):null,v!==null&&(x=Vr(v),v!==x||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=u),h!==v)){if(g=Th,S="onMouseLeave",m="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(g=Ph,S="onPointerLeave",m="onPointerEnter",p="pointer"),x=h==null?f:Jr(h),y=v==null?f:Jr(v),f=new g(S,p+"leave",h,n,c
vendor: 6,754 bytes, lines 37-38
37),f.target=x,f.relatedTarget=y,S=null,yr(c)===u&&(g=new g(m,p+"enter",v,n,c),g.target=y,g.relatedTarget=x,S=g),x=S,h&&v)t:{for(g=h,m=v,p=0,y=g;y;y=Kr(y))p++;for(y=0,S=m;S;S=Kr(S))y++;for(;0<p-y;)g=Kr(g),p--;for(;0<y-p;)m=Kr(m),y--;for(;p--;){if(g===m||m!==null&&g===m.alternate)break t;g=Kr(g),m=Kr(m)}g=null}else g=null;h!==null&&Ih(d,f,h,g,!1),v!==null&&x!==null&&Ih(d,x,v,g,!0)}}e:{if(f=u?Jr(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var T=YS;else if(Rh(f))if(ky)T=qS;else{T=QS;var C=GS}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(T=XS);if(T&&(T=T(e,u))){by(d,T,n,c);break e}C&&C(e,f,u),e==="focusout"&&(C=f._wrapperState)&&C.controlled&&f.type==="number"&&Vu(f,"number",f.value)}switch(C=u?Jr(u):window,e){case"focusin":(Rh(C)||C.contentEditable==="true")&&(qr=C,Xu=u,vo=null);break;case"focusout":vo=Xu=qr=null;break;case"mousedown":qu=!0;break;case"contextmenu":case"mouseup":case"dragend":qu=!1,Lh(d,n,c);break;case"selectionchange":if(eE)break;case"keydown":case"keyup":Lh(d,n,c)}var P;if(Rd)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Xr?Cy(e,n)&&(b="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(b="onCompositionStart");b&&(Ty&&n.locale!=="ko"&&(Xr||b!=="onCompositionStart"?b==="onCompositionEnd"&&Xr&&(P=Ey()):(Bn=c,Pd="value"in Bn?Bn.value:Bn.textContent,Xr=!0)),C=va(u,b),0<C.length&&(b=new Ch(b,e,null,n,c),d.push({event:b,listeners:C}),P?b.data=P:(P=Py(n),P!==null&&(b.data=P)))),(P=$S?US(e,n):WS(e,n))&&(u=va(u,"onBeforeInput"),0<u.length&&(c=new Ch("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=P))}Fy(d,t)})}function Fo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function va(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Mo(e,n),o!=null&&r.unshift(Fo(e,o,i)),o=Mo(e,t),o!=null&&r.push(Fo(e,o,i))),e=e.return}return r}function Kr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ih(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=Mo(n,o),l!=null&&s.unshift(Fo(n,l,a))):i||(l=Mo(n,o),l!=null&&s.push(Fo(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var iE=/\r\n?/g,oE=/\u0000|\uFFFD/g;function Fh(e){return(typeof e=="string"?e:""+e).replace(iE,`
38`).replace(oE,"")}function Rs(e,t,n){if(t=Fh(t),Fh(e)!==t&&n)throw Error(D(425))}function xa(){}var Zu=null,Ju=null;function ec(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 tc=typeof setTimeout=="function"?setTimeout:void 0,sE=typeof clearTimeout=="function"?clearTimeout:void 0,Vh=typeof Promise=="function"?Promise:void 0,aE=typeof queueMicrotask=="function"?queueMicrotask:typeof Vh<"u"?function(e){return Vh.resolve(null).then(e).catch(lE)}:tc;function lE(e){setTimeout(function(){throw e})}function ql(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),Lo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Lo(t)}function Gn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function _h(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var $i=Math.random().toString(36).slice(2),Gt="__reactFiber$"+$i,Vo="__reactProps$"+$i,hn="__reactContainer$"+$i,nc="__reactEvents$"+$i,uE="__reactListeners$"+$i,cE="__reactHandles$"+$i;function yr(e){var t=e[Gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[hn]||n[Gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=_h(e);e!==null;){if(n=e[Gt])return n;e=_h(e)}return t}e=n,n=e.parentNode}return null}function os(e){return e=e[Gt]||e[hn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Jr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function tl(e){return e[Vo]||null}var rc=[],ei=-1;function ar(e){return{current:e}}function ae(e){0>ei||(e.current=rc[ei],rc[ei]=null,ei--)}function re(e,t){ei++,rc[ei]=e.current,e.current=t}var er={},_e=ar(er),qe=ar(!1),Nr=er;function Mi(e,t){var n=e.type.contextTypes;if(!n)return er;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ze(e){return e=e.childContextTypes,e!=null}function wa(){ae(qe),ae(_e)}function zh(e,t,n){if(_e.current!==er)throw Error(D(168));re(_e,t),re(qe,n)}function _y(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(D(108,G1(e)||"Unknown",i));return pe({},n,r)}function Sa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||er,Nr=_e.current,re(_e,e),re(qe,qe.current),!0}function Bh(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=_y(e,t,Nr),r.__reactInternalMemoizedMergedChildContext=e,ae(qe),ae(_e),re(_e,e)):ae(qe),re(qe,n)}var an=null,nl=!1,Zl=!1;function zy(e){an===null?an=[e]:an.push(e)}function dE(e){nl=!0,zy(e)}function lr(){if(!Zl&&an!==null){Zl=!0;var e=0,t=te;try{var n=an;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}an=null,nl=!1}catch(i){throw an!==null&&(an=an.slice(e+1)),dy(Sd,lr),i}finally{te=t,Zl=!1}}return null}var ti=[],ni=0,Ea=null,Ta=0,ft=[],ht=0,Dr=null,un=1,cn="";function pr(e,t){ti[ni++]=Ta,ti[ni++]=Ea,Ea=e,Ta=t}function By(e,t,n){ft[ht++]=un,ft[ht++]=cn,ft[ht++]=Dr,Dr=e;var r=un;e=cn;var i=32-Ot(r)-1;r&=~(1<<i),n+=1;var o=32-Ot(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,un=1<<32-Ot(t)+i|n<<i|r,cn=o+e}else un=1<<o|n<<i|r,cn=e}function Md(e){e.return!==null&&(pr(e,1),By(e,1,0))}function Nd(e){for(;e===Ea;)Ea=ti[--ni],ti[ni]=null,Ta=ti[--ni],ti[ni]=null;for(;e===Dr;)Dr=ft[--ht],ft[ht]=null,cn=ft[--ht],ft[ht]=null,un=ft[--ht],ft[ht]=null}var ot=null,it=null,ue=!1,Lt=null;function $y(e,t){var n=pt(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 $h(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 15,201 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ot=e,it=Gn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ot=e,it=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Dr!==null?{id:un,overflow:cn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=pt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ot=e,it=null,!0):!1;default:return!1}}function ic(e){return(e.mode&1)!==0&&(e.flags&128)===0}function oc(e){if(ue){var t=it;if(t){var n=t;if(!$h(e,t)){if(ic(e))throw Error(D(418));t=Gn(n.nextSibling);var r=ot;t&&$h(e,t)?$y(r,n):(e.flags=e.flags&-4097|2,ue=!1,ot=e)}}else{if(ic(e))throw Error(D(418));e.flags=e.flags&-4097|2,ue=!1,ot=e}}}function Uh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ot=e}function As(e){if(e!==ot)return!1;if(!ue)return Uh(e),ue=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ec(e.type,e.memoizedProps)),t&&(t=it)){if(ic(e))throw Uy(),Error(D(418));for(;t;)$y(e,t),t=Gn(t.nextSibling)}if(Uh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){it=Gn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}it=null}}else it=ot?Gn(e.stateNode.nextSibling):null;return!0}function Uy(){for(var e=it;e;)e=Gn(e.nextSibling)}function Ni(){it=ot=null,ue=!1}function Dd(e){Lt===null?Lt=[e]:Lt.push(e)}var fE=xn.ReactCurrentBatchConfig;function no(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function Ms(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Wh(e){var t=e._init;return t(e._payload)}function Wy(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=Zn(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,S){return p===null||p.tag!==6?(p=ou(y,m.mode,S),p.return=m,p):(p=i(p,y),p.return=m,p)}function l(m,p,y,S){var T=y.type;return T===Qr?c(m,p,y.props.children,S,y.key):p!==null&&(p.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Dn&&Wh(T)===p.type)?(S=i(p,y.props),S.ref=no(m,p,y),S.return=m,S):(S=ta(y.type,y.key,y.props,null,m.mode,S),S.ref=no(m,p,y),S.return=m,S)}function u(m,p,y,S){return p===null||p.tag!==4||p.stateNode.containerInfo!==y.containerInfo||p.stateNode.implementation!==y.implementation?(p=su(y,m.mode,S),p.return=m,p):(p=i(p,y.children||[]),p.return=m,p)}function c(m,p,y,S,T){return p===null||p.tag!==7?(p=Ar(y,m.mode,S,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=ou(""+p,m.mode,y),p.return=m,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case xs:return y=ta(p.type,p.key,p.props,null,m.mode,y),y.ref=no(m,null,p),y.return=m,y;case Gr:return p=su(p,m.mode,y),p.return=m,p;case Dn:var S=p._init;return d(m,S(p._payload),y)}if(uo(p)||qi(p))return p=Ar(p,m.mode,y,null),p.return=m,p;Ms(m,p)}return null}function f(m,p,y,S){var T=p!==null?p.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return T!==null?null:a(m,p,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case xs:return y.key===T?l(m,p,y,S):null;case Gr:return y.key===T?u(m,p,y,S):null;case Dn:return T=y._init,f(m,p,T(y._payload),S)}if(uo(y)||qi(y))return T!==null?null:c(m,p,y,S,null);Ms(m,y)}return null}function h(m,p,y,S,T){if(typeof S=="string"&&S!==""||typeof S=="number")return m=m.get(y)||null,a(p,m,""+S,T);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case xs:return m=m.get(S.key===null?y:S.key)||null,l(p,m,S,T);case Gr:return m=m.get(S.key===null?y:S.key)||null,u(p,m,S,T);case Dn:var C=S._init;return h(m,p,y,C(S._payload),T)}if(uo(S)||qi(S))return m=m.get(y)||null,c(p,m,S,T,null);Ms(p,S)}return null}function v(m,p,y,S){for(var T=null,C=null,P=p,b=p=0,M=null;P!==null&&b<y.length;b++){P.index>b?(M=P,P=null):M=P.sibling;var N=f(m,P,y[b],S);if(N===null){P===null&&(P=M);break}e&&P&&N.alternate===null&&t(m,P),p=o(N,p,b),C===null?T=N:C.sibling=N,C=N,P=M}if(b===y.length)return n(m,P),ue&&pr(m,b),T;if(P===null){for(;b<y.length;b++)P=d(m,y[b],S),P!==null&&(p=o(P,p,b),C===null?T=P:C.sibling=P,C=P);return ue&&pr(m,b),T}for(P=r(m,P);b<y.length;b++)M=h(P,m,b,y[b],S),M!==null&&(e&&M.alternate!==null&&P.delete(M.key===null?b:M.key),p=o(M,p,b),C===null?T=M:C.sibling=M,C=M);return e&&P.forEach(function(_){return t(m,_)}),ue&&pr(m,b),T}function g(m,p,y,S){var T=qi(y);if(typeof T!="function")throw Error(D(150));if(y=T.call(y),y==null)throw Error(D(151));for(var C=T=null,P=p,b=p=0,M=null,N=y.next();P!==null&&!N.done;b++,N=y.next()){P.index>b?(M=P,P=null):M=P.sibling;var _=f(m,P,N.value,S);if(_===null){P===null&&(P=M);break}e&&P&&_.alternate===null&&t(m,P),p=o(_,p,b),C===null?T=_:C.sibling=_,C=_,P=M}if(N.done)return n(m,P),ue&&pr(m,b),T;if(P===null){for(;!N.done;b++,N=y.next())N=d(m,N.value,S),N!==null&&(p=o(N,p,b),C===null?T=N:C.sibling=N,C=N);return ue&&pr(m,b),T}for(P=r(m,P);!N.done;b++,N=y.next())N=h(P,m,b,N.value,S),N!==null&&(e&&N.alternate!==null&&P.delete(N.key===null?b:N.key),p=o(N,p,b),C===null?T=N:C.sibling=N,C=N);return e&&P.forEach(function(I){return t(m,I)}),ue&&pr(m,b),T}function x(m,p,y,S){if(typeof y=="object"&&y!==null&&y.type===Qr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case xs:e:{for(var T=y.key,C=p;C!==null;){if(C.key===T){if(T=y.type,T===Qr){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===Dn&&Wh(T)===C.type){n(m,C.sibling),p=i(C,y.props),p.ref=no(m,C,y),p.return=m,m=p;break e}n(m,C);break}else t(m,C);C=C.sibling}y.type===Qr?(p=Ar(y.props.children,m.mode,S,y.key),p.return=m,m=p):(S=ta(y.type,y.key,y.props,null,m.mode,S),S.ref=no(m,p,y),S.return=m,m=S)}return s(m);case Gr: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=su(y,m.mode,S),p.return=m,m=p}return s(m);case Dn:return C=y._init,x(m,p,C(y._payload),S)}if(uo(y))return v(m,p,y,S);if(qi(y))return g(m,p,y,S);Ms(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=ou(y,m.mode,S),p.return=m,m=p),s(m)):n(m,p)}return x}var Di=Wy(!0),Hy=Wy(!1),Ca=ar(null),Pa=null,ri=null,Ld=null;function Od(){Ld=ri=Pa=null}function jd(e){var t=Ca.current;ae(Ca),e._currentValue=t}function sc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function mi(e,t){Pa=e,Ld=ri=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Xe=!0),e.firstContext=null)}function xt(e){var t=e._currentValue;if(Ld!==e)if(e={context:e,memoizedValue:t,next:null},ri===null){if(Pa===null)throw Error(D(308));ri=e,Pa.dependencies={lanes:0,firstContext:e}}else ri=ri.next=e;return t}var vr=null;function Id(e){vr===null?vr=[e]:vr.push(e)}function Ky(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Id(t)):(n.next=i.next,i.next=n),t.interleaved=n,pn(e,r)}function pn(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 Ln=!1;function Fd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Yy(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 dn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,pn(e,n)}return i=r.interleaved,i===null?(t.next=t,Id(r)):(t.next=i.next,i.next=t),r.interleaved=t,pn(e,n)}function Qs(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ed(e,n)}}function Hh(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 ba(e,t,n,r){var i=e.updateQueue;Ln=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;s=0,c=u=l=null,a=o;do{var f=a.lane,h=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,g=a;switch(f=t,h=n,g.tag){case 1:if(v=g.payload,typeof v=="function"){d=v.call(h,d,f);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,f=typeof v=="function"?v.call(h,d,f):v,f==null)break e;d=pe({},d,f);break e;case 2:Ln=!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);Or|=s,e.lanes=s,e.memoizedState=d}}function Kh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(D(191,i));i.call(r)}}}var ss={},qt=ar(ss),_o=ar(ss),zo=ar(ss);function xr(e){if(e===ss)throw Error(D(174));return e}function Vd(e,t){switch(re(zo,t),re(_o,e),re(qt,ss),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:zu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=zu(t,e)}ae(qt),re(qt,t)}function Li(){ae(qt),ae(_o),ae(zo)}function Gy(e){xr(zo.current);var t=xr(qt.current),n=zu(t,e.type);t!==n&&(re(_o,e),re(qt,n))}function _d(e){_o.current===e&&(ae(qt),ae(_o))}var de=ar(0);function ka(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 Jl=[];function zd(){for(var e=0;e<Jl.length;e++)Jl[e]._workInProgressVersionPrimary=null;Jl.length=0}var Xs=xn.ReactCurrentDispatcher,eu=xn.ReactCurrentBatchConfig,Lr=0,he=null,Ee=null,be=null,Ra=!1,xo=!1,Bo=0,hE=0;function Oe(){throw Error(D(321))}function Bd(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 $d(e,t,n,r,i,o){if(Lr=o,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Xs.current=e===null||e.memoizedState===null?yE:vE,e=n(r,i),xo){o=0;do{if(xo=!1,Bo=0,25<=o)throw Error(D(301));o+=1,be=Ee=null,t.updateQueue=null,Xs.current=xE,e=n(r,i)}while(xo)}if(Xs.current=Aa,t=Ee!==null&&Ee.next!==null,Lr=0,be=Ee=he=null,Ra=!1,t)throw Error(D(300));return e}function Ud(){var e=Bo!==0;return Bo=0,e}function $t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return be===null?he.memoizedState=be=e:be=be.next=e,be}function wt(){if(Ee===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=be===null?he.memoizedState:be.next;if(t!==null)be=t,Ee=e;else{if(e===null)throw Error(D(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},be===null?he.memoizedState=be=e:be=be.next=e}return be}function $o(e,t){return typeof t=="function"?t(e):t}function tu(e){var t=wt(),n=t.queue;if(n===null)throw Error(D(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((Lr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,he.lanes|=c,Or|=c}u=u.next}while(u!==null&&u!==o);l===null?s=r:l.next=a,Ft(r,t.memoizedState)||(Xe=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,he.lanes|=o,Or|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function nu(e){var t=wt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);Ft(o,t.memoizedState)||(Xe=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Qy(){}function Xy(e,t){var n=he,r=wt(),i=t(),o=!Ft(r.memoizedState,i);if(o&&(r.memoizedState=i,Xe=!0),r=r.queue,Wd(Jy.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||be!==null&&be.memoizedState.tag&1){if(n.flags|=2048,Uo(9,Zy.bind(null,n,r,i,t),void 0,null),ke===null)throw Error(D(349));Lr&30||qy(n,t,i)}return i}
vendor: 4,204 bytes, line 38
38function qy(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Zy(e,t,n,r){t.value=n,t.getSnapshot=r,ev(t)&&tv(e)}function Jy(e,t,n){return n(function(){ev(t)&&tv(e)})}function ev(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ft(e,n)}catch{return!0}}function tv(e){var t=pn(e,1);t!==null&&jt(t,e,1,-1)}function Yh(e){var t=$t();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:$o,lastRenderedState:e},t.queue=e,e=e.dispatch=gE.bind(null,he,e),[t.memoizedState,e]}function Uo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function nv(){return wt().memoizedState}function qs(e,t,n,r){var i=$t();he.flags|=e,i.memoizedState=Uo(1|t,n,void 0,r===void 0?null:r)}function rl(e,t,n,r){var i=wt();r=r===void 0?null:r;var o=void 0;if(Ee!==null){var s=Ee.memoizedState;if(o=s.destroy,r!==null&&Bd(r,s.deps)){i.memoizedState=Uo(t,n,o,r);return}}he.flags|=e,i.memoizedState=Uo(1|t,n,o,r)}function Gh(e,t){return qs(8390656,8,e,t)}function Wd(e,t){return rl(2048,8,e,t)}function rv(e,t){return rl(4,2,e,t)}function iv(e,t){return rl(4,4,e,t)}function ov(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 sv(e,t,n){return n=n!=null?n.concat([e]):null,rl(4,4,ov.bind(null,t,e),n)}function Hd(){}function av(e,t){var n=wt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Bd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function lv(e,t){var n=wt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Bd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function uv(e,t,n){return Lr&21?(Ft(n,t)||(n=py(),he.lanes|=n,Or|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Xe=!0),e.memoizedState=n)}function pE(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=eu.transition;eu.transition={};try{e(!1),t()}finally{te=n,eu.transition=r}}function cv(){return wt().memoizedState}function mE(e,t,n){var r=qn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},dv(e))fv(t,n);else if(n=Ky(e,t,n,r),n!==null){var i=He();jt(n,e,r,i),hv(n,t,r)}}function gE(e,t,n){var r=qn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(dv(e))fv(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,Id(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Ky(e,t,i,r),n!==null&&(i=He(),jt(n,e,r,i),hv(n,t,r))}}function dv(e){var t=e.alternate;return e===he||t!==null&&t===he}function fv(e,t){xo=Ra=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ed(e,n)}}var Aa={readContext:xt,useCallback:Oe,useContext:Oe,useEffect:Oe,useImperativeHandle:Oe,useInsertionEffect:Oe,useLayoutEffect:Oe,useMemo:Oe,useReducer:Oe,useRef:Oe,useState:Oe,useDebugValue:Oe,useDeferredValue:Oe,useTransition:Oe,useMutableSource:Oe,useSyncExternalStore:Oe,useId:Oe,unstable_isNewReconciler:!1},yE={readContext:xt,useCallback:function(e,t){return $t().memoizedState=[e,t===void 0?null:t],e},useContext:xt,useEffect:Gh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,qs(4194308,4,ov.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qs(4194308,4,e,t)},useInsertionEffect:function(e,t){return qs(4,2,e,t)},useMemo:function(e,t){var n=$t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$t();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=mE.bind(null,he,e),[r.memoizedState,e]}
vendor: 4,766 bytes, lines 38-40
38,useRef:function(e){var t=$t();return e={current:e},t.memoizedState=e},useState:Yh,useDebugValue:Hd,useDeferredValue:function(e){return $t().memoizedState=e},useTransition:function(){var e=Yh(!1),t=e[0];return e=pE.bind(null,e[1]),$t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,i=$t();if(ue){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),ke===null)throw Error(D(349));Lr&30||qy(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Gh(Jy.bind(null,r,o,e),[e]),r.flags|=2048,Uo(9,Zy.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=$t(),t=ke.identifierPrefix;if(ue){var n=cn,r=un;n=(r&~(1<<32-Ot(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Bo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=hE++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},vE={readContext:xt,useCallback:av,useContext:xt,useEffect:Wd,useImperativeHandle:sv,useInsertionEffect:rv,useLayoutEffect:iv,useMemo:lv,useReducer:tu,useRef:nv,useState:function(){return tu($o)},useDebugValue:Hd,useDeferredValue:function(e){var t=wt();return uv(t,Ee.memoizedState,e)},useTransition:function(){var e=tu($o)[0],t=wt().memoizedState;return[e,t]},useMutableSource:Qy,useSyncExternalStore:Xy,useId:cv,unstable_isNewReconciler:!1},xE={readContext:xt,useCallback:av,useContext:xt,useEffect:Wd,useImperativeHandle:sv,useInsertionEffect:rv,useLayoutEffect:iv,useMemo:lv,useReducer:nu,useRef:nv,useState:function(){return nu($o)},useDebugValue:Hd,useDeferredValue:function(e){var t=wt();return Ee===null?t.memoizedState=e:uv(t,Ee.memoizedState,e)},useTransition:function(){var e=nu($o)[0],t=wt().memoizedState;return[e,t]},useMutableSource:Qy,useSyncExternalStore:Xy,useId:cv,unstable_isNewReconciler:!1};function Rt(e,t){if(e&&e.defaultProps){t=pe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ac(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:pe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var il={isMounted:function(e){return(e=e._reactInternals)?Vr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=He(),i=qn(e),o=dn(r,i);o.payload=t,n!=null&&(o.callback=n),t=Qn(e,o,i),t!==null&&(jt(t,e,i,r),Qs(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=He(),i=qn(e),o=dn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Qn(e,o,i),t!==null&&(jt(t,e,i,r),Qs(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),r=qn(e),i=dn(n,r);i.tag=2,t!=null&&(i.callback=t),t=Qn(e,i,r),t!==null&&(jt(t,e,r,n),Qs(t,e,r))}};function Qh(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!jo(n,r)||!jo(i,o):!0}function pv(e,t,n){var r=!1,i=er,o=t.contextType;return typeof o=="object"&&o!==null?o=xt(o):(i=Ze(t)?Nr:_e.current,r=t.contextTypes,o=(r=r!=null)?Mi(e,i):er),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=il,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Xh(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&&il.enqueueReplaceState(t,t.state,null)}function lc(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Fd(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=xt(o):(o=Ze(t)?Nr:_e.current,i.context=Mi(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(ac(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&&il.enqueueReplaceState(i,i.state,null),ba(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Oi(e,t){try{var n="",r=t;do n+=Y1(r),r=r.return;while(r);var i=n}catch(o){i=`
39Error generating stack: `+o.message+`
40`+o.stack}return{value:e,source:t,stack:i,digest:null}}function ru(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function uc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var wE=typeof WeakMap=="function"?WeakMap:Map;function mv(e,t,n){n=dn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Na||(Na=!0,xc=r),uc(e,t)},n}
vendor: 7,963 bytes, line 40
40function gv(e,t,n){n=dn(-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(){uc(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){uc(e,t),typeof r!="function"&&(Xn===null?Xn=new Set([this]):Xn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function qh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new wE;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=OE.bind(null,e,t,n),t.then(e,e))}function Zh(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 Jh(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=dn(-1,1),t.tag=2,Qn(n,t,1))),n.lanes|=1),e)}var SE=xn.ReactCurrentOwner,Xe=!1;function Be(e,t,n,r){t.child=e===null?Hy(t,null,n,r):Di(t,e.child,n,r)}function ep(e,t,n,r,i){n=n.render;var o=t.ref;return mi(t,i),r=$d(e,t,n,r,o,i),n=Ud(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,mn(e,t,i)):(ue&&n&&Md(t),t.flags|=1,Be(e,t,r,i),t.child)}function tp(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Jd(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,yv(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:jo,n(s,r)&&e.ref===t.ref)return mn(e,t,i)}return t.flags|=1,e=Zn(o,r),e.ref=t.ref,e.return=t,t.child=e}function yv(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(jo(o,r)&&e.ref===t.ref)if(Xe=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Xe=!0);else return t.lanes=e.lanes,mn(e,t,i)}return cc(e,t,n,r,i)}function vv(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},re(oi,nt),nt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,re(oi,nt),nt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,re(oi,nt),nt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,re(oi,nt),nt|=r;return Be(e,t,i,n),t.child}function xv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function cc(e,t,n,r,i){var o=Ze(n)?Nr:_e.current;return o=Mi(t,o),mi(t,i),n=$d(e,t,n,r,o,i),r=Ud(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,mn(e,t,i)):(ue&&r&&Md(t),t.flags|=1,Be(e,t,n,i),t.child)}function np(e,t,n,r,i){if(Ze(n)){var o=!0;Sa(t)}else o=!1;if(mi(t,i),t.stateNode===null)Zs(e,t),pv(t,n,r),lc(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=xt(u):(u=Ze(n)?Nr:_e.current,u=Mi(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Xh(t,s,r,u),Ln=!1;var f=t.memoizedState;s.state=f,ba(t,r,s,i),l=t.memoizedState,a!==r||f!==l||qe.current||Ln?(typeof c=="function"&&(ac(t,n,c,r),l=t.memoizedState),(a=Ln||Qh(t,n,a,r,f,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Yy(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Rt(t.type,a),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=xt(l):(l=Ze(n)?Nr:_e.current,l=Mi(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&Xh(t,s,r,l),Ln=!1,f=t.memoizedState,s.state=f,ba(t,r,s,i);var v=t.memoizedState;a!==d||f!==v||qe.current||Ln?(typeof h=="function"&&(ac(t,n,h,r),v=t.memoizedState),(u=Ln||Qh(t,n,u,r,f,v,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),s.props=r,s.state=v,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return dc(e,t,n,r,o,i)}function dc(e,t,n,r,i,o){xv(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Bh(t,n,!1),mn(e,t,o);r=t.stateNode,SE.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Di(t,e.child,null,o),t.child=Di(t,null,a,o)):Be(e,t,a,o),t.memoizedState=r.state,i&&Bh(t,n,!0),t.child}function wv(e){var t=e.stateNode;t.pendingContext?zh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&zh(e,t.context,!1),Vd(e,t.containerInfo)}function rp(e,t,n,r,i){return Ni(),Dd(i),t.flags|=256,Be(e,t,n,r),t.child}var fc={dehydrated:null,treeContext:null,retryLane:0};function hc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Sv(e,t,n){var r=t.pendingProps,i=de.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),re(de,i&1),e===null)return oc(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=al(s,r,0,null),e=Ar(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=hc(n),t.memoizedState=fc,e):Kd(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return EE(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=Zn(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=Zn(a,o):(o=Ar(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?hc(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=fc,r}return o=e.child,e=o.sibling,r=Zn(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 Kd(e,t){return t=al({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ns(e,t,n,r){return r!==null&&Dd(r),Di(t,e.child,null,n),e=Kd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}
vendor: 4,861 bytes, line 40
40function EE(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=ru(Error(D(422))),Ns(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=al({mode:"visible",children:r.children},i,0,null),o=Ar(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Di(t,e.child,null,s),t.child.memoizedState=hc(s),t.memoizedState=fc,o);if(!(t.mode&1))return Ns(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(D(419)),r=ru(o,r,void 0),Ns(e,t,s,r)}if(a=(s&e.childLanes)!==0,Xe||a){if(r=ke,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,pn(e,i),jt(r,e,i,-1))}return Zd(),r=ru(Error(D(421))),Ns(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=jE.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,it=Gn(i.nextSibling),ot=t,ue=!0,Lt=null,e!==null&&(ft[ht++]=un,ft[ht++]=cn,ft[ht++]=Dr,un=e.id,cn=e.overflow,Dr=t),t=Kd(t,r.children),t.flags|=4096,t)}function ip(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),sc(e.return,t,n)}function iu(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 Ev(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Be(e,t,r.children,n),r=de.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&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(de,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ka(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),iu(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&&ka(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}iu(t,!0,n,null,o);break;case"together":iu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zs(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function mn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Or|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,n=Zn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Zn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function TE(e,t,n){switch(t.tag){case 3:wv(t),Ni();break;case 5:Gy(t);break;case 1:Ze(t.type)&&Sa(t);break;case 4:Vd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;re(Ca,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(de,de.current&1),t.flags|=128,null):n&t.child.childLanes?Sv(e,t,n):(re(de,de.current&1),e=mn(e,t,n),e!==null?e.sibling:null);re(de,de.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Ev(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),re(de,de.current),r)break;return null;case 22:case 23:return t.lanes=0,vv(e,t,n)}return mn(e,t,n)}var Tv,pc,Cv,Pv;Tv=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}};pc=function(){};Cv=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,xr(qt.current);var o=null;switch(n){case"input":i=Iu(e,i),r=Iu(e,r),o=[];break;case"select":i=pe({},i,{value:void 0}),r=pe({},r,{value:void 0}),o=[];break;case"textarea":i=_u(e,i),r=_u(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=xa)}Bu(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ro.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];
vendor: 5,266 bytes, line 40
40if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ro.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&se("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};Pv=function(e,t,n,r){n!==r&&(t.flags|=4)};function ro(e,t){if(!ue)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function je(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 CE(e,t,n){var r=t.pendingProps;switch(Nd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return je(t),null;case 1:return Ze(t.type)&&wa(),je(t),null;case 3:return r=t.stateNode,Li(),ae(qe),ae(_e),zd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(As(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Lt!==null&&(Ec(Lt),Lt=null))),pc(e,t),je(t),null;case 5:_d(t);var i=xr(zo.current);if(n=t.type,e!==null&&t.stateNode!=null)Cv(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return je(t),null}if(e=xr(qt.current),As(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Gt]=t,r[Vo]=o,e=(t.mode&1)!==0,n){case"dialog":se("cancel",r),se("close",r);break;case"iframe":case"object":case"embed":se("load",r);break;case"video":case"audio":for(i=0;i<fo.length;i++)se(fo[i],r);break;case"source":se("error",r);break;case"img":case"image":case"link":se("error",r),se("load",r);break;case"details":se("toggle",r);break;case"input":hh(r,o),se("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},se("invalid",r);break;case"textarea":mh(r,o),se("invalid",r)}Bu(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&Rs(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&Rs(r.textContent,a,e),i=["children",""+a]):Ro.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&se("scroll",r)}switch(n){case"input":ws(r),ph(r,o,!0);break;case"textarea":ws(r),gh(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=xa)}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=Jg(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Gt]=t,e[Vo]=r,Tv(e,t,!1,!1),t.stateNode=e;e:{switch(s=$u(n,r),n){case"dialog":se("cancel",e),se("close",e),i=r;break;case"iframe":case"object":case"embed":se("load",e),i=r;break;case"video":case"audio":for(i=0;i<fo.length;i++)se(fo[i],e);i=r;break;case"source":se("error",e),i=r;break;case"img":case"image":case"link":se("error",e),se("load",e),i=r;break;case"details":se("toggle",e),i=r;break;case"input":hh(e,r),i=Iu(e,r),se("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=pe({},r,{value:void 0}),se("invalid",e);break;case"textarea":mh(e,r),i=_u(e,r),se("invalid",e);break;default:i=r}Bu(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?ny(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&ey(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Ao(e,l):typeof l=="number"&&Ao(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ro.hasOwnProperty(o)?l!=null&&o==="onScroll"&&se("scroll",e):l!=null&&gd(e,o,l,s))}switch(n){case"input":ws(e),ph(e,r,!1);break;case"textarea":ws(e),gh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Jn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?di(e,!!r.multiple,o,!1):r.defaultValue!=null&&di(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=xa)}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)}
vendor: 28,566 bytes, line 40
40return je(t),null;case 6:if(e&&t.stateNode!=null)Pv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=xr(zo.current),xr(qt.current),As(t)){if(r=t.stateNode,n=t.memoizedProps,r[Gt]=t,(o=r.nodeValue!==n)&&(e=ot,e!==null))switch(e.tag){case 3:Rs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Rs(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Gt]=t,t.stateNode=r}return je(t),null;case 13:if(ae(de),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ue&&it!==null&&t.mode&1&&!(t.flags&128))Uy(),Ni(),t.flags|=98560,o=!1;else if(o=As(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(D(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(D(317));o[Gt]=t}else Ni(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;je(t),o=!1}else Lt!==null&&(Ec(Lt),Lt=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||de.current&1?Pe===0&&(Pe=3):Zd())),t.updateQueue!==null&&(t.flags|=4),je(t),null);case 4:return Li(),pc(e,t),e===null&&Io(t.stateNode.containerInfo),je(t),null;case 10:return jd(t.type._context),je(t),null;case 17:return Ze(t.type)&&wa(),je(t),null;case 19:if(ae(de),o=t.memoizedState,o===null)return je(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)ro(o,!1);else{if(Pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=ka(e),s!==null){for(t.flags|=128,ro(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return re(de,de.current&1|2),t.child}e=e.sibling}o.tail!==null&&ye()>ji&&(t.flags|=128,r=!0,ro(o,!1),t.lanes=4194304)}else{if(!r)if(e=ka(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ro(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ue)return je(t),null}else 2*ye()-o.renderingStartTime>ji&&n!==1073741824&&(t.flags|=128,r=!0,ro(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ye(),t.sibling=null,n=de.current,re(de,r?n&1|2:n&1),t):(je(t),null);case 22:case 23:return qd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?nt&1073741824&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function PE(e,t){switch(Nd(t),t.tag){case 1:return Ze(t.type)&&wa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Li(),ae(qe),ae(_e),zd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return _d(t),null;case 13:if(ae(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));Ni()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(de),null;case 4:return Li(),null;case 10:return jd(t.type._context),null;case 22:case 23:return qd(),null;case 24:return null;default:return null}}var Ds=!1,Fe=!1,bE=typeof WeakSet=="function"?WeakSet:Set,F=null;function ii(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function mc(e,t,n){try{n()}catch(r){ge(e,t,r)}}var op=!1;function kE(e,t){if(Zu=ga,e=My(),Ad(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(Ju={focusedElem:e,selectionRange:n},ga=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,x=v.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?g:Rt(t.type,g),x);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(D(163))}}catch(S){ge(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return v=op,op=!1,v}function wo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&mc(t,n,o)}i=i.next}while(i!==r)}}function ol(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 gc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function bv(e){var t=e.alternate;t!==null&&(e.alternate=null,bv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Gt],delete t[Vo],delete t[nc],delete t[uE],delete t[cE])),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 kv(e){return e.tag===5||e.tag===3||e.tag===4}function sp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kv(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 yc(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=xa));else if(r!==4&&(e=e.child,e!==null))for(yc(e,t,n),e=e.sibling;e!==null;)yc(e,t,n),e=e.sibling}function vc(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(vc(e,t,n),e=e.sibling;e!==null;)vc(e,t,n),e=e.sibling}var Re=null,Dt=!1;function bn(e,t,n){for(n=n.child;n!==null;)Rv(e,t,n),n=n.sibling}function Rv(e,t,n){if(Xt&&typeof Xt.onCommitFiberUnmount=="function")try{Xt.onCommitFiberUnmount(qa,n)}catch{}switch(n.tag){case 5:Fe||ii(n,t);case 6:var r=Re,i=Dt;Re=null,bn(e,t,n),Re=r,Dt=i,Re!==null&&(Dt?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(Dt?(e=Re,n=n.stateNode,e.nodeType===8?ql(e.parentNode,n):e.nodeType===1&&ql(e,n),Lo(e)):ql(Re,n.stateNode));break;case 4:r=Re,i=Dt,Re=n.stateNode.containerInfo,Dt=!0,bn(e,t,n),Re=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)&&mc(n,t,s),i=i.next}while(i!==r)}bn(e,t,n);break;case 1:if(!Fe&&(ii(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ge(n,t,a)}bn(e,t,n);break;case 21:bn(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,bn(e,t,n),Fe=r):bn(e,t,n);break;default:bn(e,t,n)}}function ap(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new bE),t.forEach(function(r){var i=IE.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ct(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Re=a.stateNode,Dt=!1;break e;case 3:Re=a.stateNode.containerInfo,Dt=!0;break e;case 4:Re=a.stateNode.containerInfo,Dt=!0;break e}a=a.return}if(Re===null)throw Error(D(160));Rv(o,s,i),Re=null,Dt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ge(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Av(t,e),t=t.sibling}function Av(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ct(t,e),Bt(e),r&4){try{wo(3,e,e.return),ol(3,e)}catch(g){ge(e,e.return,g)}try{wo(5,e,e.return)}catch(g){ge(e,e.return,g)}}break;case 1:Ct(t,e),Bt(e),r&512&&n!==null&&ii(n,n.return);break;case 5:if(Ct(t,e),Bt(e),r&512&&n!==null&&ii(n,n.return),e.flags&32){var i=e.stateNode;try{Ao(i,"")}catch(g){ge(e,e.return,g)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&qg(i,o),$u(a,s);var u=$u(a,o);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?ny(i,d):c==="dangerouslySetInnerHTML"?ey(i,d):c==="children"?Ao(i,d):gd(i,c,d,u)}switch(a){case"input":Fu(i,o);break;case"textarea":Zg(i,o);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var h=o.value;h!=null?di(i,!!o.multiple,h,!1):f!==!!o.multiple&&(o.defaultValue!=null?di(i,!!o.multiple,o.defaultValue,!0):di(i,!!o.multiple,o.multiple?[]:"",!1))}i[Vo]=o}catch(g){ge(e,e.return,g)}}break;case 6:if(Ct(t,e),Bt(e),r&4){if(e.stateNode===null)throw Error(D(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(g){ge(e,e.return,g)}}break;case 3:if(Ct(t,e),Bt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Lo(t.containerInfo)}catch(g){ge(e,e.return,g)}break;case 4:Ct(t,e),Bt(e);break;case 13:Ct(t,e),Bt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Qd=ye())),r&4&&ap(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(u=Fe)||c,Ct(t,e),Fe=u):Ct(t,e),Bt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(F=e,c=e.child;c!==null;){for(d=F=c;F!==null;){switch(f=F,h=f.child,f.tag){case 0:case 11:case 14:case 15:wo(4,f,f.return);break;case 1:ii(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(g){ge(r,n,g)}}break;case 5:ii(f,f.return);break;case 22:if(f.memoizedState!==null){up(d);continue}}h!==null?(h.return=f,F=h):up(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=ty("display",s))}catch(g){ge(e,e.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){ge(e,e.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Ct(t,e),Bt(e),r&4&&ap(e);break;case 21:break;default:Ct(t,e),Bt(e)}}function Bt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(kv(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ao(i,""),r.flags&=-33);var o=sp(e);vc(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=sp(e);yc(e,a,s);break;default:throw Error(D(161))}}catch(l){ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function RE(e,t,n){F=e,Mv(e)}function Mv(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var i=F,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Ds;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Fe;a=Ds;var u=Fe;if(Ds=s,(Fe=l)&&!u)for(F=i;F!==null;)s=F,l=s.child,s.tag===22&&s.memoizedState!==null?cp(i):l!==null?(l.return=s,F=l):cp(i);for(;o!==null;)F=o,Mv(o),o=o.sibling;F=i,Ds=a,Fe=u}lp(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,F=o):lp(e)}}function lp(e){for(;F!==null;){var t=F;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fe||ol(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:Rt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Kh(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}Kh(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&&Lo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}Fe||t.flags&512&&gc(t)}catch(f){ge(t,t.return,f)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function up(e){for(;F!==null;){var t=F;if(t===e){F=null;break}var n=t.sibling;if(n!==null){n.return=t.return,F=n;break}F=t.return}}function cp(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(l){ge(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ge(t,i,l)}}var o=t.return;try{gc(t)}catch(l){ge(t,o,l)}break;case 5:var s=t.return;try{gc(t)}catch(l){ge(t,s,l)}}}catch(l){ge(t,t.return,l)}if(t===e){F=null;break}var a=t.sibling;if(a!==null){a.return=t.return,F=a;break}F=t.return}}var AE=Math.ceil,Ma=xn.ReactCurrentDispatcher,Yd=xn.ReactCurrentOwner,gt=xn.ReactCurrentBatchConfig,Z=0,ke=null,we=null,Me=0,nt=0,oi=ar(0),Pe=0,Wo=null,Or=0,sl=0,Gd=0,So=null,Qe=null,Qd=0,ji=1/0,sn=null,Na=!1,xc=null,Xn=null,Ls=!1,$n=null,Da=0,Eo=0,wc=null,Js=-1,ea=0;function He(){return Z&6?ye():Js!==-1?Js:Js=ye()}function qn(e){return e.mode&1?Z&2&&Me!==0?Me&-Me:fE.transition!==null?(ea===0&&(ea=py()),ea):(e=te,e!==0||(e=window.event,e=e===void 0?16:Sy(e.type)),e):1}function jt(e,t,n,r){if(50<Eo)throw Eo=0,wc=null,Error(D(185));rs(e,n,r),(!(Z&2)||e!==ke)&&(e===ke&&(!(Z&2)&&(sl|=n),Pe===4&&jn(e,Me)),Je(e,r),n===1&&Z===0&&!(t.mode&1)&&(ji=ye()+500,nl&&lr()))}function Je(e,t){var n=e.callbackNode;fS(e,t);var r=ma(e,e===ke?Me: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?dE(dp.bind(null,e)):zy(dp.bind(null,e)),aE(function(){!(Z&6)&&lr()}),n=null;else{switch(my(r)){case 1:n=Sd;break;case 4:n=fy;break;case 16:n=pa;break;case 536870912:n=hy;break;default:n=pa}n=Vv(n,Nv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Nv(e,t){if(Js=-1,ea=0,Z&6)throw Error(D(327));var n=e.callbackNode;if(gi()&&e.callbackNode!==n)return null;var r=ma(e,e===ke?Me:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=La(e,r);else{t=r;var i=Z;Z|=2;var o=Lv();(ke!==e||Me!==t)&&(sn=null,ji=ye()+500,Rr(e,t));do try{DE();break}catch(a){Dv(e,a)}while(!0);Od(),Ma.current=o,Z=i,we!==null?t=0:(ke=null,Me=0,t=Pe)}if(t!==0){if(t===2&&(i=Yu(e),i!==0&&(r=i,t=Sc(e,i))),t===1)throw n=Wo,Rr(e,0),jn(e,r),Je(e,ye()),n;if(t===6)jn(e,r);else{if(i=e.current.alternate,!(r&30)&&!ME(i)&&(t=La(e,r),t===2&&(o=Yu(e),o!==0&&(r=o,t=Sc(e,o))),t===1))throw n=Wo,Rr(e,0),jn(e,r),Je(e,ye()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:mr(e,Qe,sn);break;case 3:if(jn(e,r),(r&130023424)===r&&(t=Qd+500-ye(),10<t)){if(ma(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){He(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=tc(mr.bind(null,e,Qe,sn),t);break}mr(e,Qe,sn);break;case 4:if(jn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-Ot(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*AE(r/1960))-r,10<r){e.timeoutHandle=tc(mr.bind(null,e,Qe,sn),r);break}mr(e,Qe,sn);break;case 5:mr(e,Qe,sn);break;default:throw Error(D(329))}}}return Je(e,ye()),e.callbackNode===n?Nv.bind(null,e):null}function Sc(e,t){var n=So;return e.current.memoizedState.isDehydrated&&(Rr(e,t).flags|=256),e=La(e,t),e!==2&&(t=Qe,Qe=n,t!==null&&Ec(t)),e}function Ec(e){Qe===null?Qe=e:Qe.push.apply(Qe,e)}function ME(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 jn(e,t){for(t&=~Gd,t&=~sl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ot(t),r=1<<n;e[n]=-1,t&=~r}}function dp(e){if(Z&6)throw Error(D(327));gi();var t=ma(e,0);if(!(t&1))return Je(e,ye()),null;var n=La(e,t);if(e.tag!==0&&n===2){var r=Yu(e);r!==0&&(t=r,n=Sc(e,r))}if(n===1)throw n=Wo,Rr(e,0),jn(e,t),Je(e,ye()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,mr(e,Qe,sn),Je(e,ye()),null}function Xd(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(ji=ye()+500,nl&&lr())}}function jr(e){$n!==null&&$n.tag===0&&!(Z&6)&&gi();var t=Z;Z|=1;var n=gt.transition,r=te;try{if(gt.transition=null,te=1,e)return e()}finally{te=r,gt.transition=n,Z=t,!(Z&6)&&lr()}}function qd(){nt=oi.current,ae(oi)}function Rr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,sE(n)),we!==null)for(n=we.return;n!==null;){var r=n;switch(Nd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&wa();break;case 3:Li(),ae(qe),ae(_e),zd();break;case 5:_d(r);break;case 4:Li();break;case 13:ae(de);break;case 19:ae(de);break;case 10:jd(r.type._context);break;case 22:case 23:qd()}n=n.return}if(ke=e,we=e=Zn(e.current,null),Me=nt=t,Pe=0,Wo=null,Gd=sl=Or=0,Qe=So=null,vr!==null){for(t=0;t<vr.length;t++)if(n=vr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}vr=null}return e}function Dv(e,t){do{var n=we;try{if(Od(),Xs.current=Aa,Ra){for(var r=he.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ra=!1}if(Lr=0,be=Ee=he=null,xo=!1,Bo=0,Yd.current=null,n===null||n.return===null){Pe=1,Wo=t,we=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=Me,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=Zh(s);if(h!==null){h.flags&=-257,Jh(h,s,a,o,t),h.mode&1&&qh(o,u,t),t=h,l=u;var v=t.updateQueue;if(v===null){var g=new Set;g.add(l),t.updateQueue=g}else v.add(l);break e}else{if(!(t&1)){qh(o,u,t),Zd();break e}l=Error(D(426))}}else if(ue&&a.mode&1){var x=Zh(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),Jh(x,s,a,o,t),Dd(Oi(l,a));break e}}o=l=Oi(l,a),Pe!==4&&(Pe=2),So===null?So=[o]:So.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var m=mv(o,l,t);Hh(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"&&(Xn===null||!Xn.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=gv(o,a,t);Hh(o,S);break e}}o=o.return}while(o!==null)}jv(n)}catch(T){t=T,we===n&&n!==null&&(we=n=n.return);continue}break}while(!0)}function Lv(){var e=Ma.current;return Ma.current=Aa,e===null?Aa:e}function Zd(){(Pe===0||Pe===3||Pe===2)&&(Pe=4),ke===null||!(Or&268435455)&&!(sl&268435455)||jn(ke,Me)}function La(e,t){var n=Z;Z|=2;var r=Lv();(ke!==e||Me!==t)&&(sn=null,Rr(e,t));do try{NE();break}catch(i){Dv(e,i)}while(!0);if(Od(),Z=n,Ma.current=r,we!==null)throw Error(D(261));return ke=null,Me=0,Pe}function NE(){for(;we!==null;)Ov(we)}function DE(){for(;we!==null&&!rS();)Ov(we)}function Ov(e){var t=Fv(e.alternate,e,nt);e.memoizedProps=e.pendingProps,t===null?jv(e):we=t,Yd.current=null}function jv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=PE(n,t),n!==null){n.flags&=32767,we=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Pe=6,we=null;return}}else if(n=CE(n,t,nt),n!==null){we=n;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);Pe===0&&(Pe=5)}function mr(e,t,n){var r=te,i=gt.transition;try{gt.transition=null,te=1,LE(e,t,n,r)}finally{gt.transition=i,te=r}return null}function LE(e,t,n,r){do gi();while($n!==null);if(Z&6)throw Error(D(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(D(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(hS(e,o),e===ke&&(we=ke=null,Me=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ls||(Ls=!0,Vv(pa,function(){return gi(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=gt.transition,gt.transition=null;var s=te;te=1;var a=Z;Z|=4,Yd.current=null,kE(e,n),Av(n,e),JS(Ju),ga=!!Zu,Ju=Zu=null,e.current=n,RE(n),iS(),Z=a,te=s,gt.transition=o}else e.current=n;if(Ls&&(Ls=!1,$n=e,Da=i),o=e.pendingLanes,o===0&&(Xn=null),aS(n.stateNode),Je(e,ye()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Na)throw Na=!1,e=xc,xc=null,e;return Da&1&&e.tag!==0&&gi(),o=e.pendingLanes,o&1?e===wc?Eo++:(Eo=0,wc=e):Eo=0,lr(),null}function gi(){if($n!==null){var e=my(Da),t=gt.transition,n=te;try{if(gt.transition=null,te=16>e?16:e,$n===null)var r=!1;else{if(e=$n,$n=null,Da=0,Z&6)throw Error(D(331));var i=Z;for(Z|=4,F=e.current;F!==null;){var o=F,s=o.child;if(F.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(F=u;F!==null;){var c=F;switch(c.tag){case 0:case 11:case 15:wo(8,c,o)}var d=c.child;if(d!==null)d.return=c,F=d;else for(;F!==null;){c=F;var f=c.sibling,h=c.return;if(bv(c),c===u){F=null;break}if(f!==null){f.return=h,F=f;break}F=h}}}var v=o.alternate;if(v!==null){var g=v.child;if(g!==null){v.child=null;do{var x=g.sibling;g.sibling=null,g=x}while(g!==null)}}F=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,F=s;else e:for(;F!==null;){if(o=F,o.flags&2048)switch(o.tag){case 0:case 11:case 15:wo(9,o,o.return)}var m=o.sibling;if(m!==null){m.return=o.return,F=m;break e}F=o.return}}var p=e.current;for(F=p;F!==null;){s=F;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,F=y;else e:for(s=p;F!==null;){if(a=F,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:ol(9,a)}}catch(T){ge(a,a.return,T)}if(a===s){F=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,F=S;break e}F=a.return}}if(Z=i,lr(),Xt&&typeof Xt.onPostCommitFiberRoot=="function")try{Xt.onPostCommitFiberRoot(qa,e)}catch{}r=!0}return r}finally{te=n,gt.transition=t}}return!1}function fp(e,t,n){t=Oi(n,t),t=mv(e,t,1),e=Qn(e,t,1),t=He(),e!==null&&(rs(e,1,t),Je(e,t))}function ge(e,t,n){if(e.tag===3)fp(e,e,n);else for(;t!==null;){if(t.tag===3){fp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Xn===null||!Xn.has(r))){e=Oi(n,e),e=gv(t,e,1),t=Qn(t,e,1),e=He(),t!==null&&(rs(t,1,e),Je(t,e));break}}t=t.return}}function OE(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,ke===e&&(Me&n)===n&&(Pe===4||Pe===3&&(Me&130023424)===Me&&500>ye()-Qd?Rr(e,0):Gd|=n),Je(e,t)}function Iv(e,t){t===0&&(e.mode&1?(t=Ts,Ts<<=1,!(Ts&130023424)&&(Ts=4194304)):t=1);var n=He();e=pn(e,t),e!==null&&(rs(e,t,n),Je(e,n))}function jE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Iv(e,n)}function IE(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),Iv(e,n)}var Fv;Fv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||qe.current)Xe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xe=!1,TE(e,t,n);Xe=!!(e.flags&131072)}else Xe=!1,ue&&t.flags&1048576&&By(t,Ta,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zs(e,t),e=t.pendingProps;var i=Mi(t,_e.current);mi(t,n),i=$d(null,t,r,e,i,n);var o=Ud();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,Ze(r)?(o=!0,Sa(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Fd(t),i.updater=il,t.stateNode=i,i._reactInternals=t,lc(t,r,e,n),t=dc(null,t,r,!0,o,n)):(t.tag=0,ue&&o&&Md(t),Be(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zs(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=VE(r),e=Rt(r,e),i){case 0:t=cc(null,t,r,e,n);break e;case 1:t=np(null,t,r,e,n);break e;case 11:t=ep(null,t,r,e,n);break e;case 14:t=tp(null,t,r,Rt(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),cc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),np(e,t,r,i,n);case 3:e:{if(wv(t),e===null)throw Error(D(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Yy(e,t),ba(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=Oi(Error(D(423)),t),t=rp(e,t,r,n,i);break e}else if(r!==i){i=Oi(Error(D(424)),t),t=rp(e,t,r,n,i);break e}else for(it=Gn(t.stateNode.containerInfo.firstChild),ot=t,ue=!0,Lt=null,n=Hy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ni(),r===i){t=mn(e,t,n);break e}Be(e,t,r,n)}t=t.child}return t;case 5:return Gy(t),e===null&&oc(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,ec(r,i)?s=null:o!==null&&ec(r,o)&&(t.flags|=32),xv(e,t),Be(e,t,s,n),t.child;case 6:return e===null&&oc(t),null;case 13:return Sv(e,t,n);case 4:return Vd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Di(t,null,r,n):Be(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),ep(e,t,r,i,n);case 7:return Be(e,t,t.pendingProps,n),t.child;case 8:return Be(e,t,t.pendingProps.children,n),t.child;case 12:return Be(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,re(Ca,r._currentValue),r._currentValue=s,o!==null)if(Ft(o.value,s)){if(o.children===i.children&&!qe.current){t=mn(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=dn(-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),sc(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(D(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),sc(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Be(e,t,i.children,n),t=t.child}return t;
vendor: 10,015 bytes, line 40
40case 9:return i=t.type,r=t.pendingProps.children,mi(t,n),i=xt(i),r=r(i),t.flags|=1,Be(e,t,r,n),t.child;case 14:return r=t.type,i=Rt(r,t.pendingProps),i=Rt(r.type,i),tp(e,t,r,i,n);case 15:return yv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rt(r,i),Zs(e,t),t.tag=1,Ze(r)?(e=!0,Sa(t)):e=!1,mi(t,n),pv(t,r,i),lc(t,r,i,n),dc(null,t,r,!0,e,n);case 19:return Ev(e,t,n);case 22:return vv(e,t,n)}throw Error(D(156,t.tag))};function Vv(e,t){return dy(e,t)}function FE(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 pt(e,t,n,r){return new FE(e,t,n,r)}function Jd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function VE(e){if(typeof e=="function")return Jd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vd)return 11;if(e===xd)return 14}return 2}function Zn(e,t){var n=e.alternate;return n===null?(n=pt(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")Jd(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Qr:return Ar(n.children,i,o,t);case yd:s=8,i|=8;break;case Du:return e=pt(12,n,t,i|2),e.elementType=Du,e.lanes=o,e;case Lu:return e=pt(13,n,t,i),e.elementType=Lu,e.lanes=o,e;case Ou:return e=pt(19,n,t,i),e.elementType=Ou,e.lanes=o,e;case Gg:return al(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Kg:s=10;break e;case Yg:s=9;break e;case vd:s=11;break e;case xd:s=14;break e;case Dn:s=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=pt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ar(e,t,n,r){return e=pt(7,e,r,t),e.lanes=n,e}function al(e,t,n,r){return e=pt(22,e,r,t),e.elementType=Gg,e.lanes=n,e.stateNode={isHidden:!1},e}function ou(e,t,n){return e=pt(6,e,null,t),e.lanes=n,e}function su(e,t,n){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _E(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=zl(0),this.expirationTimes=zl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ef(e,t,n,r,i,o,s,a,l){return e=new _E(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=pt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fd(o),e}function zE(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Gr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function _v(e){if(!e)return er;e=e._reactInternals;e:{if(Vr(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(Ze(n))return _y(e,n,t)}return t}function zv(e,t,n,r,i,o,s,a,l){return e=ef(n,r,!0,e,i,o,s,a,l),e.context=_v(null),n=e.current,r=He(),i=qn(n),o=dn(r,i),o.callback=t??null,Qn(n,o,i),e.current.lanes=i,rs(e,i,r),Je(e,r),e}function ll(e,t,n,r){var i=t.current,o=He(),s=qn(i);return n=_v(n),t.context===null?t.context=n:t.pendingContext=n,t=dn(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Qn(i,t,s),e!==null&&(jt(e,i,s,o),Qs(e,i,s)),s}function Oa(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 tf(e,t){hp(e,t),(e=e.alternate)&&hp(e,t)}function BE(){return null}var Bv=typeof reportError=="function"?reportError:function(e){console.error(e)};function nf(e){this._internalRoot=e}ul.prototype.render=nf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));ll(e,t,null,null)};ul.prototype.unmount=nf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;jr(function(){ll(null,e,null,null)}),t[hn]=null}};function ul(e){this._internalRoot=e}ul.prototype.unstable_scheduleHydration=function(e){if(e){var t=vy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<On.length&&t!==0&&t<On[n].priority;n++);On.splice(n,0,e),n===0&&wy(e)}};function rf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function cl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function pp(){}function $E(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Oa(s);o.call(u)}}var s=zv(t,r,e,0,null,!1,!1,"",pp);return e._reactRootContainer=s,e[hn]=s.current,Io(e.nodeType===8?e.parentNode:e),jr(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Oa(l);a.call(u)}}var l=ef(e,0,!1,null,null,!1,!1,"",pp);return e._reactRootContainer=l,e[hn]=l.current,Io(e.nodeType===8?e.parentNode:e),jr(function(){ll(t,l,n,r)}),l}function dl(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=Oa(s);a.call(l)}}ll(t,s,e,i)}else s=$E(n,t,e,i,r);return Oa(s)}gy=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=co(t.pendingLanes);n!==0&&(Ed(t,n|1),Je(t,ye()),!(Z&6)&&(ji=ye()+500,lr()))}break;case 13:jr(function(){var r=pn(e,1);if(r!==null){var i=He();jt(r,e,1,i)}}),tf(e,1)}};Td=function(e){if(e.tag===13){var t=pn(e,134217728);if(t!==null){var n=He();jt(t,e,134217728,n)}tf(e,134217728)}};yy=function(e){if(e.tag===13){var t=qn(e),n=pn(e,t);if(n!==null){var r=He();jt(n,e,t,r)}tf(e,t)}};vy=function(){return te};xy=function(e,t){var n=te;try{return te=e,t()}finally{te=n}};Wu=function(e,t,n){switch(t){case"input":if(Fu(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=tl(r);if(!i)throw Error(D(90));Xg(r),Fu(r,i)}}}break;case"textarea":Zg(e,n);break;case"select":t=n.value,t!=null&&di(e,!!n.multiple,t,!1)}};oy=Xd;sy=jr;var UE={usingClientEntryPoint:!1,Events:[os,Jr,tl,ry,iy,Xd]},io={findFiberByHostInstance:yr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},WE={bundleType:io.bundleType,version:io.version,rendererPackageName:io.rendererPackageName,rendererConfig:io.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=uy(e),e===null?null:e.stateNode},findFiberByHostInstance:io.findFiberByHostInstance||BE,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Os=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Os.isDisabled&&Os.supportsFiber)try{qa=Os.inject(WE),Xt=Os}catch{}}lt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=UE;lt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!rf(t))throw Error(D(200));return zE(e,t,null,n)};lt.createRoot=function(e,t){if(!rf(e))throw Error(D(299));var n=!1,r="",i=Bv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=ef(e,1,!1,null,null,n,!1,r,i),e[hn]=t.current,Io(e.nodeType===8?e.parentNode:e),new nf(t)};lt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=uy(t),e=e===null?null:e.stateNode,e};lt.flushSync=function(e){return jr(e)};lt.hydrate=function(e,t,n){if(!cl(t))throw Error(D(200));return dl(null,e,t,!0,n)};lt.hydrateRoot=function(e,t,n){if(!rf(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Bv;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=zv(t,null,e,1,n??null,i,!1,o,s),e[hn]=t.current,Io(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new ul(t)};lt.render=function(e,t,n){if(!cl(t))throw Error(D(200));return dl(null,e,t,!1,n)};lt.unmountComponentAtNode=function(e){if(!cl(e))throw Error(D(40));return e._reactRootContainer?(jr(function(){dl(null,null,e,!1,function(){e._reactRootContainer=null,e[hn
40]=null})}),!0):!1};lt.unstable_batchedUpdates=Xd;lt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!cl(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return dl(e,t,n,!1,r)};lt.version="18.3.1-next-f1338f8080-20240426";function $v(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($v)}catch(e){console.error(e)}}$v(),$g.exports=lt;var as=$g.exports;const Uv=Ag(as);var Wv,mp=as;Wv=mp.createRoot,mp.hydrateRoot;const HE=1,KE=1e6;let au=0;function YE(){return au=(au+1)%Number.MAX_SAFE_INTEGER,au.toString()}const lu=new Map,gp=e=>{if(lu.has(e))return;const t=setTimeout(()=>{lu.delete(e),To({type:"REMOVE_TOAST",toastId:e})},KE);lu.set(e,t)},GE=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,HE)};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?gp(n):e.toasts.forEach(r=>{gp(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)}}},na=[];let ra={toasts:[]};function To(e){ra=GE(ra,e),na.forEach(t=>{t(ra)})}function QE({...e}){const t=YE(),n=i=>To({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>To({type:"DISMISS_TOAST",toastId:t});return To({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function XE(){const[e,t]=w.useState(ra);return w.useEffect(()=>(na.push(t),()=>{const n=na.indexOf(t);n>-1&&na.splice(n,1)}),[e]),{...e,toast:QE,dismiss:n=>To({type:"DISMISS_TOAST",toastId:n})}}function Te(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 yp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Hv(...e){return t=>{let n=!1;const r=e.map(i=>{const o=yp(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():yp(e[i],null)}}}}function Vt(...e){return w.useCallback(Hv(...e),e)}function fl(e,t=[]){let n=[];function r(o,s){const a=w.createContext(s),l=n.length;n=[...n,s];const u=d=>{var m;const{scope:f,children:h,...v}=d,g=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,x=w.useMemo(()=>v,Object.values(v));return E.jsx(g.Provider,{value:x,children:h})};u.displayName=o+"Provider";function c(d,f){var g;const h=((g=f==null?void 0:f[e])==null?void 0:g[l])||a,v=w.useContext(h);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[u,c]}const i=()=>{const o=n.map(s=>w.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,qE(i,...t)]}function qE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(o)[`__scope${u}`];return{...a,...d}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Tc(e){const t=ZE(e),n=w.forwardRef((r,i)=>{const{children:o,...s}=r,a=w.Children.toArray(o),l=a.find(eT);if(l){const u=l.props.children,c=a.map(d=>d===l?w.Children.count(u)>1?w.Children.only(null):w.isValidElement(u)?u.props.children:null:d);return E.jsx(t,{...s,ref:i,children:w.isValidElement(u)?w.cloneElement(u,void 0,c):null})}return E.jsx(t,{...s,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function ZE(e){const t=w.forwardRef((n,r)=>{const{children:i,...o}=n;if(w.isValidElement(i)){const s=nT(i),a=tT(o,i.props);return i.type!==w.Fragment&&(a.ref=r?Hv(r,s):s),w.cloneElement(i,a)}return w.Children.count(i)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Kv=Symbol("radix.slottable");function JE(e){const t=({children:n})=>E.jsx(E.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Kv,t}function eT(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Kv}function tT(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 40
40:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function nT(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 rT(e){const t=e+"CollectionProvider",[n,r]=fl(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{const{scope:x,children:m}=g,p=L.useRef(null),y=L.useRef(new Map).current;return E.jsx(i,{scope:x,itemMap:y,collectionRef:p,children:m})};s.displayName=t;const a=e+"CollectionSlot",l=Tc(a),u=L.forwardRef((g,x)=>{const{scope:m,children:p}=g,y=o(a,m),S=Vt(x,y.collectionRef);return E.jsx(l,{ref:S,children:p})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=Tc(c),h=L.forwardRef((g,x)=>{const{scope:m,children:p,...y}=g,S=L.useRef(null),T=Vt(x,S),C=o(c,m);return L.useEffect(()=>(C.itemMap.set(S,{ref:S,...y}),()=>void C.itemMap.delete(S))),E.jsx(f,{[d]:"",ref:T,children:p})});h.displayName=c;function v(g){const x=o(e+"CollectionConsumer",g);return L.useCallback(()=>{const p=x.collectionRef.current;if(!p)return[];const y=Array.from(p.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((C,P)=>y.indexOf(C.ref.current)-y.indexOf(P.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:s,Slot:u,ItemSlot:h},v,r]}var iT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],tt=iT.reduce((e,t)=>{const n=Tc(`Primitive.${t}`),r=w.forwardRef((i,o)=>{const{asChild:s,...a}=i,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(l,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Yv(e,t){e&&as.flushSync(()=>e.dispatchEvent(t))}function tr(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function oT(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var sT="DismissableLayer",Cc="dismissableLayer.update",aT="dismissableLayer.pointerDownOutside",lT="dismissableLayer.focusOutside",vp,Gv=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),of=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=w.useContext(Gv),[c,d]=w.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=w.useState({}),v=Vt(t,P=>d(P)),g=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=g.indexOf(x),p=c?g.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,S=p>=m,T=cT(P=>{const b=P.target,M=[...u.branches].some(N=>N.contains(b));!S||M||(i==null||i(P),s==null||s(P),P.defaultPrevented||a==null||a())},f),C=dT(P=>{const b=P.target;[...u.branches].some(N=>N.contains(b))||(o==null||o(P),s==null||s(P),P.defaultPrevented||a==null||a())},f);return oT(P=>{p===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},f),w.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(vp=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),xp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=vp)}},[c,f,n,u]),w.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),xp())},[c,u]),w.useEffect(()=>{const P=()=>h({});return document.addEventListener(Cc,P),()=>document.removeEventListener(Cc,P)},[]),E.jsx(tt.div,{...l,ref:v,style:{pointerEvents:y?S?"auto":"none":void 0,...e.style},onFocusCapture:Te(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Te(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Te(e.onPointerDownCapture,T.onPointerDownCapture)})});of.displayName=sT;var uT="DismissableLayerBranch",Qv=w.forwardRef((e,t)=>{const n=w.useContext(Gv),r=w.useRef(null),i=Vt(t,r);return w.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),E.jsx(tt.div,{...e,ref:i})});Qv.displayName=uT;function cT(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){Xv(aT,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 dT(e,t=globalThis==null?void 0:globalThis.document){const n=tr(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&Xv(lT,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 xp(){const e=new CustomEvent(Cc);document.dispatchEvent(e)}function Xv(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?Yv(i,o):i.dispatchEvent(o)}var fT=of,hT=Qv,nr=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},pT="Portal",qv=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,o]=w.useState(!1);nr(()=>o(!0),[]);const s=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?Uv.createPortal(E.jsx(tt.div,{...r,ref:t}),s):null});qv.displayName=pT;function mT(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var sf=e=>{const{present:t,children:n}=e,r=gT(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=Vt(r.ref,yT(i));return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};sf.displayName="Presence";function gT(e){const[t,n]=w.useState(),r=w.useRef(null),i=w.useRef(e),o=w.useRef("none"),s=e?"mounted":"unmounted",[a,l]=mT(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=js(r.current);o.current=a==="mounted"?u:"none"},[a]),nr(()=>{const u=r.current,c=i.current;if(c!==e){const f=o.current,h=js(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]),nr(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=h=>{const g=js(r.current).includes(h.animationName);if(h.target===t&&g&&(l("ANIMATION_END"),!i.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},f=h=>{h.target===t&&(o.current=js(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:w.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function js(e){return(e==null?void 0:e.animationName)||"none"}function yT(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 vT=zg[" useInsertionEffect ".trim().toString()]||nr;function xT({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,s]=wT({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const c=w.useRef(e!==void 0);w.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=w.useCallback(c=>{var d;if(a){const f=ST(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 wT({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),i=w.useRef(n),o=w.useRef(t);return vT(()=>{o.current=t},[t]),w.useEffect(()=>{var s;i.current!==n&&((s=o.current)==null||s.call(o,n),i.current=n)},[n,i]),[n,r,o]}function ST(e){return typeof e=="function"}var ET=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"}),TT="VisuallyHidden",hl=w.forwardRef((e,t)=>
40E.jsx(tt.span,{...e,ref:t,style:{...ET,...e.style}}));hl.displayName=TT;var CT=hl,af="ToastProvider",[lf,PT,bT]=rT("Toast"),[Zv,wD]=fl("Toast",[bT]),[kT,pl]=Zv(af),Jv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:s}=e,[a,l]=w.useState(null),[u,c]=w.useState(0),d=w.useRef(!1),f=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${af}\`. Expected non-empty \`string\`.`),E.jsx(lf.Provider,{scope:t,children:E.jsx(kT,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:w.useCallback(()=>c(h=>h+1),[]),onToastRemove:w.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};Jv.displayName=af;var e0="ToastViewport",RT=["F8"],Pc="toast.viewportPause",bc="toast.viewportResume",t0=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=RT,label:i="Notifications ({hotkey})",...o}=e,s=pl(e0,n),a=PT(n),l=w.useRef(null),u=w.useRef(null),c=w.useRef(null),d=w.useRef(null),f=Vt(t,d,s.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=s.toastCount>0;w.useEffect(()=>{const x=m=>{var y;r.length!==0&&r.every(S=>m[S]||m.code===S)&&((y=d.current)==null||y.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),w.useEffect(()=>{const x=l.current,m=d.current;if(v&&x&&m){const p=()=>{if(!s.isClosePausedRef.current){const C=new CustomEvent(Pc);m.dispatchEvent(C),s.isClosePausedRef.current=!0}},y=()=>{if(s.isClosePausedRef.current){const C=new CustomEvent(bc);m.dispatchEvent(C),s.isClosePausedRef.current=!1}},S=C=>{!x.contains(C.relatedTarget)&&y()},T=()=>{x.contains(document.activeElement)||y()};return x.addEventListener("focusin",p),x.addEventListener("focusout",S),x.addEventListener("pointermove",p),x.addEventListener("pointerleave",T),window.addEventListener("blur",p),window.addEventListener("focus",y),()=>{x.removeEventListener("focusin",p),x.removeEventListener("focusout",S),x.removeEventListener("pointermove",p),x.removeEventListener("pointerleave",T),window.removeEventListener("blur",p),window.removeEventListener("focus",y)}}},[v,s.isClosePausedRef]);const g=w.useCallback(({tabbingDirection:x})=>{const p=a().map(y=>{const S=y.ref.current,T=[S,...BT(S)];return x==="forwards"?T:T.reverse()});return(x==="forwards"?p.reverse():p).flat()},[a]);return w.useEffect(()=>{const x=d.current;if(x){const m=p=>{var T,C,P;const y=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!y){const b=document.activeElement,M=p.shiftKey;if(p.target===x&&M){(T=u.current)==null||T.focus();return}const I=g({tabbingDirection:M?"backwards":"forwards"}),U=I.findIndex(j=>j===b);uu(I.slice(U+1))?p.preventDefault():M?(C=u.current)==null||C.focus():(P=c.current)==null||P.focus()}};return x.addEventListener("keydown",m),()=>x.removeEventListener("keydown",m)}},[a,g]),E.jsxs(hT,{ref:l,role:"region","aria-label":i.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&E.jsx(kc,{ref:u,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"forwards"});uu(x)}}),E.jsx(lf.Slot,{scope:n,children:E.jsx(tt.ol,{tabIndex:-1,...o,ref:f})}),v&&E.jsx(kc,{ref:c,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"backwards"});uu(x)}})]})});t0.displayName=e0;var n0="ToastFocusProxy",kc=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=pl(n0,n);return E.jsx(hl,{"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()}})});kc.displayName=n0;var ls="Toast",AT="toast.swipeStart",MT="toast.swipeMove",NT="toast.swipeCancel",DT="toast.swipeEnd",r0=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...s}=e,[a,l]=xT({prop:r,defaultProp:i??!0,onChange:o,caller:ls});return E.jsx(sf,{present:n||a,children:E.jsx(jT,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:tr(e.onPause),onResume:tr(e.onResume),onSwipeStart:Te(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Te(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:Te(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:Te(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)})})})});r0.displayName=ls;var[LT,OT]=Zv(ls,{onClose(){}}),jT=w.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:h,...v}=e,g=pl(ls,n),[x,m]=w.useState(null),p=Vt(t,j=>m(j)),y=w.useRef(null),S=w.useRef(null),T=i||g.duration,C=w.useRef(0),P=w.useRef(T),b=w.useRef(0),{onToastAdd:M,onToastRemove:N}=g,_=tr(()=>{var G;(x==null?void 0:x.contains(document.activeElement))&&((G=g.viewport)==null||G.focus()),s()}),I=w.useCallback(j=>{!j||j===1/0||(window.clearTimeout(b.current),C.current=new Date().getTime(),b.current=window.setTimeout(_,j))},[_]);w.useEffect(()=>{const j=g.viewport;if(j){const G=()=>{I(P.current),u==null||u()},$=()=>{const W=new Date().getTime()-C.current;P.current=P.current-W,window.clearTimeout(b.current),l==null||l()};return j.addEventListener(Pc,$),j.addEventListener(bc,G),()=>{j.removeEventListener(Pc,$),j.removeEventListener(bc,G)}}},[g.viewport,T,l,u,I]),w.useEffect(()=>{o&&!g.isClosePausedRef.current&&I(T)},[o,T,g.isClosePausedRef,I]),w.useEffect(()=>(M(),()=>N()),[M,N]);const U=w.useMemo(()=>x?c0(x):null,[x]);return g.viewport?E.jsxs(E.Fragment,{children:[U&&E.jsx(IT,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),E.jsx(LT,{scope:n,onClose:_,children:as.createPortal(E.jsx(lf.ItemSlot,{scope:n,children:E.jsx(fT,{asChild:!0,onEscapeKeyDown:Te(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||_(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:E.jsx(tt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":g.swipeDirection,...v,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Te(e.onKeyDown,j=>{j.key==="Escape"&&(a==null||a(j.nativeEvent),j.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,_()))}),onPointerDown:Te(e.onPointerDown,j=>{j.button===0&&(y.current={x:j.clientX,y:j.clientY})}),onPointerMove:Te(e.onPointerMove,j=>{if(!y.current)return;const G=j.clientX-y.current.x,$=j.clientY-y.current.y,W=!!S.current,k=["left","right"].includes(g.swipeDirection),R=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,O=k?R(0,G):0,B=k?0:R(0,$),z=j.pointerType==="touch"?10:2,Q={x:O,y:B},q={originalEvent:j,delta:Q};W?(S.current=Q,Is(MT,d,q,{discrete:!1})):wp(Q,g.swipeDirection,z)?(S.current=Q,Is(AT,c,q,{discrete:!1}),j.target.setPointerCapture(j.pointerId)):(Math.abs(G)>z||Math.abs($)>z)&&(y.current=null)}),onPointerUp:Te(e.onPointerUp,j=>{const G=S.current,$=j.target;if($.hasPointerCapture(j.pointerId)&&$.releasePointerCapture(j.pointerId),S.current=null,y.current=null,G){const W=j.currentTarget,k={originalEvent:j,delta:G};wp(G,g.swipeDirection,g.swipeThreshold)?Is(DT,h,k,{discrete:!0}):Is(NT,f,k,{discrete:!0}),W.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),IT=e=>{const{__scopeToast:t,children:n,...r}=e,i=pl(ls,t),[o,s]=w.useState(!1),[a,l]=w.useState(!1);return _T(()=>s(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:E.jsx(qv,{asChild:!0,children:E.jsx(hl,{...r,children:o&&E.jsxs(E.Fragment,{children:[i.label," ",n]})})})},FT="ToastTitle",i0=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return E.jsx(tt.div,{...r,ref:t})});i0.displayName=FT;var VT="ToastDescription",o0=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return E.jsx(tt.div,{...r,ref:t})});o0.displayName=VT;var s0="ToastAction",a0=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?E.jsx(u0,{altText:n,asChild:!0,children:E.jsx(uf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${s0}\`. Expected non-empty \`string\`.`),null)});a0.displayName=s0;var l0="ToastClose",uf=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=OT(l0,n);return E.jsx(u0,{asChild:!0,children:E.jsx(tt.button,{type:"button",...r,ref:t,onClick:Te(e.onClick,i.onClose)})})});uf.displayName=l0;var u0=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return E.jsx(tt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function c0(e){const t=[];
vendor: 4,447 bytes, lines 40-70
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),zT(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(...c0(r))}}),t}function Is(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?Yv(i,o):i.dispatchEvent(o)}var wp=(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 _T(e=()=>{}){const t=tr(e);nr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function zT(e){return e.nodeType===e.ELEMENT_NODE}function BT(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 uu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var $T=Jv,d0=t0,f0=r0,h0=i0,p0=o0,m0=a0,g0=uf;function y0(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=y0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function v0(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=y0(e))&&(r&&(r+=" "),r+=t);return r}const Sp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ep=v0,UT=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Ep(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=Sp(c)||Sp(d);return i[u][f]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...h}=c;return Object.entries(h).every(v=>{let[g,x]=v;return Array.isArray(x)?x.includes({...o,...a}[g]):{...o,...a}[g]===x})?[...u,d,f]:u},[]);return Ep(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const WT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),x0=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var HT={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const KT=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:s,...a},l)=>w.createElement("svg",{ref:l,...HT,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:x0("lucide",i),...a},[...s.map(([u,c])=>w.createElement(u,c)),...Array.isArray(o)?o:[o]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const w0=(e,t)=>{const n=w.forwardRef(({className:r,...i},o)=>w.createElement(KT,{ref:o,iconNode:t,className:x0(`lucide-${WT(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const YT=w0("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const GT=w0("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,906 bytes, line 70
70],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),cf="-",QT=e=>{const t=qT(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(cf);return a[0]===""&&a.length!==1&&a.shift(),S0(a,t)||XT(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},S0=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?S0(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(cf);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId},Tp=/^\[(.+)\]$/,XT=e=>{if(Tp.test(e)){const t=Tp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},qT=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return JT(Object.entries(e.classGroups),n).forEach(([o,s])=>{Rc(s,r,o,t)}),r},Rc=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:Cp(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(ZT(i)){Rc(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{Rc(s,Cp(t,o),n,r)})})},Cp=(e,t)=>{let n=e;return t.split(cf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},ZT=e=>e.isThemeGetter,JT=(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,eC=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)}}},E0="!",tC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,s=a=>{const l=[];let u=0,c=0,d;for(let x=0;x<a.length;x++){let m=a[x];if(u===0){if(m===i&&(r||a.slice(x,x+o)===t)){l.push(a.slice(c,x)),c=x+o;continue}if(m==="/"){d=x;continue}}m==="["?u++:m==="]"&&u--}const f=l.length===0?a:a.substring(c),h=f.startsWith(E0),v=h?f.substring(1):f,g=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:s}):s},nC=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},rC=e=>({cache:eC(e.cacheSize),parseClassName:tC(e),...QT(e)}),iC=/\s+/,oC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(iC);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(u);let v=!!h,g=r(v?f.substring(0,h):f);if(!g){if(!v){a=u+(a.length>0?" "+a:a);continue}if(g=r(f),!g){a=u+(a.length>0?" "+a:a);continue}v=!1}const x=nC(c).join(":"),m=d?x+E0:x,p=m+g;if(o.includes(p))continue;o.push(p);const y=i(g,v);for(let S=0;S<y.length;++S){const T=y[S];o.push(m+T)}a=u+(a.length>0?" "+a:a)}return a};function sC(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=T0(t))&&(r&&(r+=" "),r+=n);return r}const T0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=T0(e[r]))&&(n&&(n+=" "),n+=t);return n};function aC(e,...t){let n,r,i,o=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=rC(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=oC(l,n);return i(l,c),c}return function(){return o(sC.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},C0=/^\[(?:([a-z-]+):)?(.+)\]$/i,lC=/^\d+\/\d+$/,uC=new Set(["px","full","screen"]),cC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dC=/\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$/,fC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,hC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rn=e=>yi(e)||uC.has(e)||lC.test(e),kn=e=>Ui(e,"length",EC),yi=e=>!!e&&!Number.isNaN(Number(e)),cu=e=>Ui(e,"number",yi),oo=e=>!!e&&Number.isInteger(Number(e)),mC=e=>e.endsWith("%")&&yi(e.slice(0,-1)),Y=e=>C0.test(e),Rn=e=>cC.test(e),gC=new Set(["length","size","percentage"]),yC=e=>Ui(e,gC,P0),vC=e=>Ui(e,"position",P0),xC=new Set(["image","url"]),wC=e=>Ui(e,xC,CC),SC=e=>Ui(e,"",TC),so=()=>!0,Ui=(e,t,n)=>{const r=C0.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},EC=e=>dC.test(e)&&!fC.test(e),P0=()=>!1,TC=e=>hC.test(e),CC=e=>pC.test(e),PC=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),i=oe("borderColor"),o=oe("borderRadius"),s=oe("borderSpacing"),a=oe("borderWidth"),l=oe("contrast"),u=oe("grayscale"),c=oe("hueRotate"),d=oe("invert"),f=oe("gap"),h=oe("gradientColorStops"),v=oe("gradientColorStopPositions"),g=oe("inset"),x=oe("margin"),m=oe("opacity"),p=oe("padding"),y=oe("saturate"),S=oe("scale"),T=oe("sepia"),C=oe("skew"),P=oe("space"),b=oe("translate"),M=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",Y,t],I=()=>[Y,t],U=()=>["",rn,kn],j=()=>["auto",yi,Y],G=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],W=()=>["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",Y],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[yi,Y];return{cacheSize:500,separator:":",theme:{colors:[so],spacing:[rn,kn],blur:["none","",Rn,Y],brightness:B(),borderColor:[e],borderRadius:["n
70one","","full",Rn,Y],borderSpacing:I(),borderWidth:U(),contrast:B(),grayscale:R(),hueRotate:B(),invert:R(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[mC,kn],inset:_(),margin:_(),opacity:B(),padding:I(),saturate:B(),scale:B(),sepia:R(),skew:B(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[Rn]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...G(),Y]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",oo,Y]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Y]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",oo,Y]}],"grid-cols":[{"grid-cols":[so]}],"col-start-end":[{col:["auto",{span:["full",oo,Y]},Y]}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":[so]}],"row-start-end":[{row:["auto",{span:[oo,Y]},Y]}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],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:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Y,t]}],"min-w":[{"min-w":[Y,t,"min","max","fit"]}],"max-w":[{"max-w":[Y,t,"none","full","min","max","fit","prose",{screen:[Rn]},Rn]}],h:[{h:[Y,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Y,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Rn,kn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",cu]}],"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",Y]}],"line-clamp":[{"line-clamp":["none",yi,cu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",rn,Y]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"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:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",rn,kn]}],"underline-offset":[{"underline-offset":["auto",rn,Y]}],"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",Y]}],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",Y]}],"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:[...G(),vC]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},wC]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}
vendor: 5,172 bytes, line 70
70],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:$()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[rn,Y]}],"outline-w":[{outline:[rn,kn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[rn,kn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rn,SC]}],"shadow-color":[{shadow:[so]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Rn,Y]}],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",Y]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[oo,Y]}],"translate-x":[{"translate-x":[b]}],"translate-y":[{"translate-y":[b]}],"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",Y]}],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",Y]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 70
70],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",Y]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[rn,kn,cu]}],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"]}}},bC=aC(PC);function _r(...e){return bC(v0(e))}const kC=$T,b0=w.forwardRef(({className:e,...t},n)=>E.jsx(d0,{ref:n,className:_r("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}));b0.displayName=d0.displayName;const RC=UT("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"}}),k0=w.forwardRef(({className:e,variant:t,...n},r)=>E.jsx(f0,{ref:r,className:_r(RC({variant:t}),e),...n}));k0.displayName=f0.displayName;const AC=w.forwardRef(({className:e,...t},n)=>E.jsx(m0,{ref:n,className:_r("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}));AC.displayName=m0.displayName;const R0=w.forwardRef(({className:e,...t},n)=>E.jsx(g0,{ref:n,className:_r("absolute right-2 top-2 rounded-md p-1 text-foreground
70/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:E.jsx(GT,{className:"h-4 w-4"})}));R0.displayName=g0.displayName;const A0=w.forwardRef(({className:e,...t},n)=>E.jsx(h0,{ref:n,className:_r("text-sm font-semibold",e),...t}));A0.displayName=h0.displayName;const M0=w.forwardRef(({className:e,...t},n)=>E.jsx(p0,{ref:n,className:_r("text-sm opacity-90",e),...t}));M0.displayName=p0.displayName;function MC(){const{toasts:e}=XE();return E.jsxs(kC,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return E.jsxs(k0,{...o,children:[E.jsxs("div",{className:"grid gap-1",children:[n&&E.jsx(A0,{children:n}),r&&E.jsx(M0,{children:r})]}),i,E.jsx(R0,{})]},t)}),E.jsx(b0,{})]})}var Pp=["light","dark"],NC="(prefers-color-scheme: dark)",DC=w.createContext(void 0),LC={setTheme:e=>{},themes:[]},OC=()=>{var e;return(e=w.useContext(DC))!=null?e:LC};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:o,value:s,attrs:a,nonce:l})=>{let u=o==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;
70${`c.remove(${a.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?Pp.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(v,g=!1,x=!0)=>{let m=s?s[v]:v,p=g?v+"|| ''":`'${m}'`,y="";return i&&x&&!g&&Pp.includes(v)&&(y+=`d.style.colorScheme = '${v}';`),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='${NC}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}${u?"":"else{"+f(o,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}else{${f(o,!1,!1)};}${d}}catch(t){}}();`;return w.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var jC=e=>{switch(e){case"success":return VC;case"info":return zC;case"warning":return _C;case"error":return BC;default:return null}},IC=Array(12).fill(0),FC=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},IC.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),VC=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),_C=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.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"})),zC=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),BC=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),$C=L.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"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),UC=()=>{let[e,t]=L.useState(document.hidden);return L.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Ac=1,WC=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:Ac++,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=>
70(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,o,s=r.then(async l=>{if(o=["resolve",l],L.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(KC(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)||Ac++;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}},Ge=new WC,HC=(e,t)=>{let n=(t==null?void 0:t.id)||Ac++;return Ge.addToast({title:e,...t,id:n}),n},KC=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",YC=HC,GC=()=>Ge.toasts,QC=()=>Ge.getActiveToasts();Object.assign(YC,{success:Ge.success,info:Ge.info,warning:Ge.warning,error:Ge.error,custom:Ge.custom,message:Ge.message,promise:Ge.promise,dismiss:Ge.dismiss,loading:Ge.loading},{getHistory:GC,getToasts:QC});function XC(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))}XC(`: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;
70left: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}
70: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%);
70--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%)}
71`);function Fs(e){return e.label!==void 0}var qC=3,ZC="32px",JC="16px",bp=4e3,eP=356,tP=14,nP=20,rP=200;function Pt(...e){return e.filter(Boolean).join(" ")}function iP(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var oP=e=>{var t,n,r,i,o,s,a,l,u,c,d;let{invert:f,toast:h,unstyled:v,interacting:g,setHeights:x,visibleToasts:m,heights:p,index:y,toasts:S,expanded:T,removeToast:C,defaultRichColors:P,closeButton:b,style:M,cancelButtonStyle:N,actionButtonStyle:_,className:I="",descriptionClassName:U="",duration:j,position:G,gap:$,loadingIcon:W,expandByDefault:k,classNames:R,icons:O,closeButtonAriaLabel:B="Close toast",pauseWhenPageIsHidden:z}=e,[Q,q]=L.useState(null),[ve,De]=L.useState(null),[ee,zr]=L.useState(!1),[wn,cr]=L.useState(!1),[Sn,Br]=L.useState(!1),[En,ps]=L.useState(!1),[Ml,ms]=L.useState(!1),[Nl,Qi]=L.useState(0),[$r,eh]=L.useState(0),Xi=L.useRef(h.duration||j||bp),th=L.useRef(null),dr=L.useRef(null),c1=y===0,d1=y+1<=m,ct=h.type,Ur=h.dismissible!==!1,f1=h.className||"",h1=h.descriptionClassName||"",gs=L.useMemo(()=>p.findIndex(H=>H.toastId===h.id)||0,[p,h.id]),p1=L.useMemo(()=>{var H;return(H=h.closeButton)!=null?H:b},[h.closeButton,b]),nh=L.useMemo(()=>h.duration||j||bp,[h.duration,j]),Dl=L.useRef(0),Wr=L.useRef(0),rh=L.useRef(0),Hr=L.useRef(null),[m1,g1]=G.split("-"),ih=L.useMemo(()=>p.reduce((H,ne,le)=>le>=gs?H:H+ne.height,0),[p,gs]),oh=UC(),y1=h.invert||f,Ll=ct==="loading";Wr.current=L.useMemo(()=>gs*$+ih,[gs,ih]),L.useEffect(()=>{Xi.current=nh},[nh]),L.useEffect(()=>{zr(!0)},[]),L.useEffect(()=>{let H=dr.current;if(H){let ne=H.getBoundingClientRect().height;return eh(ne),x(le=>[{toastId:h.id,height:ne,position:h.position},...le]),()=>x(le=>le.filter(St=>St.toastId!==h.id))}},[x,h.id]),L.useLayoutEffect(()=>{if(!ee)return;let H=dr.current,ne=H.style.height;H.style.height="auto";let le=H.getBoundingClientRect().height;H.style.height=ne,eh(le),x(St=>St.find(Et=>Et.toastId===h.id)?St.map(Et=>Et.toastId===h.id?{...Et,height:le}:Et):[{toastId:h.id,height:le,position:h.position},...St])},[ee,h.title,h.description,x,h.id]);let Tn=L.useCallback(()=>{cr(!0),Qi(Wr.current),x(H=>H.filter(ne=>ne.toastId!==h.id)),setTimeout(()=>{C(h)},rP)},[h,C,x,Wr]);L.useEffect(()=>{if(h.promise&&ct==="loading"||h.duration===1/0||h.type==="loading")return;let H;return T||g||z&&oh?(()=>{if(rh.current<Dl.current){let ne=new Date().getTime()-Dl.current;Xi.current=Xi.current-ne}
71rh.current=new Date().getTime()})():Xi.current!==1/0&&(Dl.current=new Date().getTime(),H=setTimeout(()=>{var ne;(ne=h.onAutoClose)==null||ne.call(h,h),Tn()},Xi.current)),()=>clearTimeout(H)},[T,g,h,ct,z,oh,Tn]),L.useEffect(()=>{h.delete&&Tn()},[Tn,h.delete]);function v1(){var H,ne,le;return O!=null&&O.loading?L.createElement("div",{className:Pt(R==null?void 0:R.loader,(H=h==null?void 0:h.classNames)==null?void 0:H.loader,"sonner-loader"),"data-visible":ct==="loading"},O.loading):W?L.createElement("div",{className:Pt(R==null?void 0:R.loader,(ne=h==null?void 0:h.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":ct==="loading"},W):L.createElement(FC,{className:Pt(R==null?void 0:R.loader,(le=h==null?void 0:h.classNames)==null?void 0:le.loader),visible:ct==="loading"})}return L.createElement("li",{tabIndex:0,ref:dr,className:Pt(I,f1,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[ct],(n=h==null?void 0:h.classNames)==null?void 0:n[ct]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:P,"data-styled":!(h.jsx||h.unstyled||v),"data-mounted":ee,"data-promise":!!h.promise,"data-swiped":Ml,"data-removed":wn,"data-visible":d1,"data-y-position":m1,"data-x-position":g1,"data-index":y,"data-front":c1,"data-swiping":Sn,"data-dismissible":Ur,"data-type":ct,"data-invert":y1,"data-swipe-out":En,"data-swipe-direction":ve,"data-expanded":!!(T||k&&ee),style:{"--index":y,"--toasts-before":y,"--z-index":S.length-y,"--offset":`${wn?Nl:Wr.current}px`,"--initial-height":k?"auto":`${$r}px`,...M,...h.style},onDragEnd:()=>{Br(!1),q(null),Hr.current=null},onPointerDown:H=>{Ll||!Ur||(th.current=new Date,Qi(Wr.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(Br(!0),Hr.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,ne,le,St;if(En||!Ur)return;Hr.current=null;let Et=Number(((H=dr.current)==null?void 0:H.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Cn=Number(((ne=dr.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),fr=new Date().getTime()-((le=th.current)==null?void 0:le.getTime()),Tt=Q==="x"?Et:Cn,Pn=Math.abs(Tt)/fr;if(Math.abs(Tt)>=nP||Pn>.11){Qi(Wr.current),(St=h.onDismiss)==null||St.call(h,h),De(Q==="x"?Et>0?"right":"left":Cn>0?"down":"up"),Tn(),ps(!0),ms(!1);return}Br(!1),q(null)},onPointerMove:H=>{var ne,le,St,Et;if(!Hr.current||!Ur||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let Cn=H.clientY-Hr.current.y,fr=H.clientX-Hr.current.x,Tt=(le=e.swipeDirections)!=null?le:iP(G);!Q&&(Math.abs(fr)>1||Math.abs(Cn)>1)&&q(Math.abs(fr)>Math.abs(Cn)?"x":"y");let Pn={x:0,y:0};Q==="y"?(Tt.includes("top")||Tt.includes("bottom"))&&(Tt.includes("top")&&Cn<0||Tt.includes("bottom")&&Cn>0)&&(Pn.y=Cn):Q==="x"&&(Tt.includes("left")||Tt.includes("right"))&&(Tt.includes("left")&&fr<0||Tt.includes("right")&&fr>0)&&(Pn.x=fr),(Math.abs(Pn.x)>0||Math.abs(Pn.y)>0)&&ms(!0),(St=dr.current)==null||St.style.setProperty("--swipe-amount-x",`${Pn.x}px`),(Et=dr.current)==null||Et.style.setProperty("--swipe-amount-y",`${Pn.y}px`)}},p1&&!h.jsx?L.createElement("button",{"aria-label":B,"data-disabled":Ll,"data-close-button":!0,onClick:Ll||!Ur?()=>{}:()=>{var H;Tn(),(H=h.onDismiss)==null||H.call(h,h)},className:Pt(R==null?void 0:R.closeButton,(i=h==null?void 0:h.classNames)==null?void 0:i.closeButton)},(o=O==null?void 0:O.close)!=null?o:$C):null,h.jsx||w.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:L.createElement(L.Fragment,null,ct||h.icon||h.promise?L.createElement("div",{"data-icon":"",className:Pt(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||v1():null,h.type!=="loading"?h.icon||(O==null?void 0:O[ct])||jC(ct):null):null,L.createElement("div",{"data-content":"",className:Pt(R==null?void 0:R.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},L.createElement("div",{"data-title":"",className:Pt(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?L.createElement("div",{"data-description":"",className:Pt(U,h1,R==null?void 0:R.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),w.isValidElement(h.cancel)?h.cancel:h.cancel&&Fs(h.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||N,onClick:H=>{var ne,le;Fs(h.cancel)&&Ur&&((le=(ne=h.cancel).onClick)==null||le.call(ne,H),Tn())},className:Pt(R==null?void 0:R.cancelButton,(c=h==null?void 0:h.classNames)==null?void 0:c.cancelButton)},h.cancel.label):null,w.isValidElement(h.action)?h.action:h.action&&Fs(h.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||_,onClick:H=>{var ne,le;Fs(h.action)&&((le=(ne=h.action).onClick)==null||le.call(ne,H),!H.defaultPrevented&&Tn())},className:Pt(R==null?void 0:R.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function kp(){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 sP(e,t){let n={};return[e,t].forEach((r,i)=>{let o=i===1,s=o?"--mobile-offset":"--offset",a=o?JC:ZC;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 aP=w.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:o,closeButton:s,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:f,style:h,visibleToasts:v=qC,toastOptions:g,dir:x=kp(),gap:m=tP,loadingIcon:p,icons:y,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:T}=e,[C,P]=L.useState([]),b=L.useMemo(()=>Array.from(new Set([r].concat(C.filter(z=>z.position).map(z=>z.position)))),[C,r]),[M,N]=L.useState([]),[_,I]=L.useState(!1),[U,j]=L.useState(!1),[G,$]=L.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
71k":"light"),W=L.useRef(null),k=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=L.useRef(null),O=L.useRef(!1),B=L.useCallback(z=>{P(Q=>{var q;return(q=Q.find(ve=>ve.id===z.id))!=null&&q.delete||Ge.dismiss(z.id),Q.filter(({id:ve})=>ve!==z.id)})},[]);return L.useEffect(()=>Ge.subscribe(z=>{if(z.dismiss){P(Q=>Q.map(q=>q.id===z.id?{...q,delete:!0}:q));return}setTimeout(()=>{Uv.flushSync(()=>{P(Q=>{let q=Q.findIndex(ve=>ve.id===z.id);return q!==-1?[...Q.slice(0,q),{...Q[q],...z},...Q.slice(q+1)]:[z,...Q]})})})}),[]),L.useEffect(()=>{if(c!=="system"){$(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:Q})=>{$(Q?"dark":"light")})}catch{z.addListener(({matches:q})=>{try{$(q?"dark":"light")}catch(ve){console.error(ve)}})}},[c]),L.useEffect(()=>{C.length<=1&&I(!1)},[C]),L.useEffect(()=>{let z=Q=>{var q,ve;i.every(De=>Q[De]||Q.code===De)&&(I(!0),(q=W.current)==null||q.focus()),Q.code==="Escape"&&(document.activeElement===W.current||(ve=W.current)!=null&&ve.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[i]),L.useEffect(()=>{if(W.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,O.current=!1)}},[W.current]),L.createElement("section",{ref:t,"aria-label":`${S} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},b.map((z,Q)=>{var q;let[ve,De]=z.split("-");return C.length?L.createElement("ol",{key:z,dir:x==="auto"?kp():x,tabIndex:-1,ref:W,className:a,"data-sonner-toaster":!0,"data-theme":G,"data-y-position":ve,"data-lifted":_&&C.length>1&&!o,"data-x-position":De,style:{"--front-toast-height":`${((q=M[0])==null?void 0:q.height)||0}px`,"--width":`${eP}px`,"--gap":`${m}px`,...h,...sP(l,u)},onBlur:ee=>{O.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(O.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||O.current||(O.current=!0,R.current=ee.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{U||I(!1)},onDragEnd:()=>I(!1),onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||j(!0)},onPointerUp:()=>j(!1)},C.filter(ee=>!ee.position&&Q===0||ee.position===z).map((ee,zr)=>{var wn,cr;return L.createElement(oP,{key:ee.id,icons:y,index:zr,toast:ee,defaultRichColors:d,duration:(wn=g==null?void 0:g.duration)!=null?wn:f,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:v,closeButton:(cr=g==null?void 0:g.closeButton)!=null?cr:s,interacting:U,position:z,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:B,toasts:C.filter(Sn=>Sn.position==ee.position),heights:M.filter(Sn=>Sn.position==ee.position),setHeights:N,expandByDefault:o,gap:m,loadingIcon:p,expanded:_,pauseWhenPageIsHidden:T,swipeDirections:e.swipeDirections})})):null}))});const lP=({...e})=>{const{theme:t="system"}=OC();return E.jsx(aP,{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})},uP=["top","right","bottom","left"],rr=Math.min,rt=Math.max,ja=Math.round,Vs=Math.floor,Zt=e=>({x:e,y:e}),cP={left:"right",right:"left",bottom:"top",top:"bottom"},dP={start:"end",end:"start"};function Mc(e,t,n){return rt(e,rr(t,n))}function gn(e,t){return typeof e=="function"?e(t):e}function yn(e){return e.split("-")[0]}function Wi(e){return e.split("-")[1]}function df(e){return e==="x"?"y":"x"}function ff(e){return e==="y"?"height":"width"}const fP=new Set(["top","bottom"]);function Qt(e){return fP.has(yn(e))?"y":"x"}function hf(e){return df(Qt(e))}function hP(e,t,n){n===void 0&&(n=!1);const r=Wi(e),i=hf(e),o=ff(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Ia(s)),[s,Ia(s)]}function pP(e){const t=Ia(e);return[Nc(e),t,Nc(t)]}function Nc(e){return e.replace(/start|end/g,t=>dP[t])}const Rp=["left","right"],Ap=["right","left"],mP=["top","bottom"],gP
vendor: 11,090 bytes, line 71
71=["bottom","top"];function yP(e,t,n){switch(e){case"top":case"bottom":return n?t?Ap:Rp:t?Rp:Ap;case"left":case"right":return t?mP:gP;default:return[]}}function vP(e,t,n,r){const i=Wi(e);let o=yP(yn(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(Nc)))),o}function Ia(e){return e.replace(/left|right|bottom|top/g,t=>cP[t])}function xP(e){return{top:0,right:0,bottom:0,left:0,...e}}function N0(e){return typeof e!="number"?xP(e):{top:e,right:e,bottom:e,left:e}}function Fa(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 Mp(e,t,n){let{reference:r,floating:i}=e;const o=Qt(t),s=hf(t),a=ff(s),l=yn(t),u=o==="y",c=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[a]/2-i[a]/2;let h;switch(l){case"top":h={x:c,y:r.y-i.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-i.width,y:d};break;default:h={x:r.x,y:r.y}}switch(Wi(t)){case"start":h[s]-=f*(n&&u?-1:1);break;case"end":h[s]+=f*(n&&u?-1:1);break}return h}const wP=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=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}=Mp(u,r,l),f=r,h={},v=0;for(let g=0;g<a.length;g++){const{name:x,fn:m}=a[g],{x:p,y,data:S,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,[x]:{...h[x],...S}},T&&v<=50&&(v++,typeof T=="object"&&(T.placement&&(f=T.placement),T.rects&&(u=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):T.rects),{x:c,y:d}=Mp(u,f,l)),g=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};async function Ho(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=gn(t,e),v=N0(h),x=a[f?d==="floating"?"reference":"floating":d],m=Fa(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),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)),S=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=Fa(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:p,offsetParent:y,strategy:l}):p);return{top:(m.top-T.top+v.top)/S.y,bottom:(T.bottom-m.bottom+v.bottom)/S.y,left:(m.left-T.left+v.left)/S.x,right:(T.right-m.right+v.right)/S.x}}const SP=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}=gn(e,t)||{};if(u==null)return{};const d=N0(c),f={x:n,y:r},h=hf(i),v=ff(h),g=await s.getDimensions(u),x=h==="y",m=x?"top":"left",p=x?"bottom":"right",y=x?"clientHeight":"clientWidth",S=o.reference[v]+o.reference[h]-f[h]-o.floating[v],T=f[h]-o.reference[h],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let P=C?C[y]:0;(!P||!await(s.isElement==null?void 0:s.isElement(C)))&&(P=a.floating[y]||o.floating[v]);const b=S/2-T/2,M=P/2-g[v]/2-1,N=rr(d[m],M),_=rr(d[p],M),I=N,U=P-g[v]-_,j=P/2-g[v]/2+b,G=Mc(I,j,U),$=!l.arrow&&Wi(i)!=null&&j!==G&&o.reference[v]/2-(j<I?N:_)-g[v]/2<0,W=$?j<I?j-I:j-U:0;return{[h]:f[h]+W,data:{[h]:G,centerOffset:j-G-W,...$&&{alignmentOffset:W}},reset:$}}}),EP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...x}=gn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const m=yn(i),p=Qt(a),y=yn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),T=f||(y||!g?[Ia(a)]:pP(a)),C=v!=="none";!f&&C&&T.push(...vP(a,g,v,S));const P=[a,...T],b=await Ho(t,x),M=[];let N=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&M.push(b[m]),d){const j=hP(i,s,S);M.push(b[j[0]],b[j[1]])}if(N=[...N,{placement:i,overflows:M}],!M.every(j=>j<=0)){var _,I;const j=(((_=o.flip)==null?void 0:_.index)||0)+1,G=P[j];if(G&&(!(d==="alignment"?p!==Qt(G):!1)||N.every(k=>k.overflows[0]>0&&Qt(k.placement)===p)))return{data:{index:j,overflows:N},reset:{placement:G}};let $=(I=N.filter(W=>W.overflows[0]<=0).sort((W,k)=>W.overflows[1]-k.overflows[1])[0])==null?void 0:I.placement;if(!$)switch(h){case"bestFit":{var U;const W=(U=N.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,O)=>R+O,0)]).sort((k,R)=>k[1]-R[1])[0])==null?void 0:U[0];W&&($=W);break}case"initialPlacement":$=a;break}if(i!==$)return{reset:{placement:$}}}return{}}}};function Np(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Dp(e){return uP.some(t=>e[t]>=0)}const TP=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=gn(e,t);switch(r){case"referenceHidden":{const o=await Ho(t,{...i,elementContext:"reference"}),s=Np(o,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Dp(s)}}}case"escaped":{const o=await Ho(t,{...i,altBoundary:!0}),s=Np(o,n.floating);return{data:{escapedOffsets:s,escaped:Dp(s)}}}default:return{}}}}},D0=new Set(["left","top"]);async function CP(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=yn(n),a=Wi(n),l=Qt(n)==="y",u=D0.has(s)?-1:1,c=o&&l?-1:1,d=gn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof v=="number"&&(h=a==="end"?v*-1:v),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}const PP=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 CP(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}}}}},bP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:x=>{let{x:m,y:p}=x;return{x:m,y:p}}},...l}=gn(e,t),u={x:n,y:r},c=await Ho(t,l),d=Qt(yn(i)),f=df(d);let h=u[f],v=u[d];if(o){const x=f==="y"?"top":"left",m=f==="y"?"bottom":"right",p=h+c[x],y=h-c[m];h=Mc(p,h,y)}if(s){const x=d==="y"?"top":"left",m=d==="y"?"bottom":"right",p=v+c[x],y=v-c[m];v=Mc(p,v,y)}const g=a.fn({...t,[f]:h,[d]:v});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:o,[d]:s}}}}}},kP=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}=gn(e,t),c={x:n,y:r},d=Qt(i),f=df(d);let h=c[f],v=c[d];const g=gn(a,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const y=f==="y"?"height":"width",S=o.reference[f]-o.floating[y]+x.mainAxis,T=o.reference[f]+o.reference[y]-x.mainAxis;h<S?h=S:h>T&&(h=T)}if(u){var m,p;const y=f==="y"?"width":"height",S=D0.has(yn(i)),T=o.reference[d]-o.floating[y]+(S&&((m=s.offset)==null?void 0:m[d])||0)+(S?0:x.crossAxis),C=o.reference[d]+o.reference[y]+(S?0:((p=s.offset)==null?void 0:p[d])||0)-(S?x.crossAxis:0);v<T?v=T:v>C&&(v=C)}return{[f]:h,[d]:v}}}},RP=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}=gn(e,t),c=await Ho(t,u),d=yn(i),f=Wi(i),h=Qt(i)==="y",{width:v,height:g}=o.floating;let x,m;d==="top"||d==="bottom"?(x=d,m=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(m=d,x=f==="end"?"top":"bottom");const p=g-c.top-c.bottom,y=v-c.left-c.right,S=rr(g-c[x],p),T=rr(v-c[m],y),C=!t.middlewareData.shift;let P=S,b=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(b=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=p),C&&!f){const N=rt(c.left,0),_=rt(c.right,0),I=rt(c.top,0),U=rt(c.bottom,0);h?b=v-2*(N!==0||_!==0?N+_:rt(c.left,c.right)):P=g-2*(I!==0||U!==0?I+U:rt(c.top,c.bottom))}await l({...t,availableWidth:b,availableHeight:P});const M=await s.getDimensions(a.floating);return v!==M.width||g!==M.height?{reset:{rects:!0}}:{}}}};function ml(){return typeof window<"u"}function Hi(e){return L0(e)?(e.nodeName||"").toLowerCase():"#document"}function st(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function nn(e){var t;return(t=(L0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function L0(e){return ml()?e instanceof Node||e instanceof st(e).Node:!1}function _t(e){return ml()?e instanceof Element||e instanceof st(e).Element:!1}function en(e){return ml()?e instanceof HTMLElement||e instanceof st(e).HTMLElement:!1}function Lp(e){return!ml()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof st(e).ShadowRoot}const AP=new Set(["inline","contents"]);function us(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!AP.has(i)}const MP=new Set(["table","td","th"]);function NP(e){return MP.has(Hi(e))}const DP=[":popover-open",":modal"];function gl(e){return DP.some(t=>{try{return e.matches(t)}catch{return!1}})}const LP=["transform","translate","scale","rotate","perspective"],OP=["transform","translate","scale","rotate","perspective","filter"],jP=["paint","layout","strict","content"];function pf(e){const t=mf(),n=_t(e)?zt(e):e;return LP.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)||OP.some(r=>(n.willChange||"").includes(r))||jP.some(r=>(n.contain||"").includes(r))}function IP(e){let t=ir(e);for(;en(t)&&!Ii(t);){if(pf(t))return t;if(gl(t))return null;t=ir(t)}return null}function mf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const FP=new Set(["html","body","#document"]);function Ii(e){return FP.has(Hi(e))}function zt(e){return st(e).getComputedStyle(e)}function yl(e){return _t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ir(e){if(Hi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Lp(e)&&e.host||nn(e);return Lp(t)?t.host:t}function O0(e){const t=ir(e);return Ii(t)?e.ownerDocument?e.ownerDocument.body:e.body:en(t)&&us(t)?t:O0(t)}function Ko(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=O0(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=st(i);if(o){const a=Dc(s);
vendor: 5,792 bytes, line 71
71return t.concat(s,s.visualViewport||[],us(i)?i:[],a&&n?Ko(a):[])}return t.concat(i,Ko(i,[],n))}function Dc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function j0(e){const t=zt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=en(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=ja(n)!==o||ja(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function gf(e){return _t(e)?e:e.contextElement}function vi(e){const t=gf(e);if(!en(t))return Zt(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=j0(t);let s=(o?ja(n.width):n.width)/r,a=(o?ja(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const VP=Zt(0);function I0(e){const t=st(e);return!mf()||!t.visualViewport?VP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _P(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==st(e)?!1:t}function Ir(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=vi(r)):s=vi(e));const a=_P(o,n,r)?I0(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=st(o),h=r&&_t(r)?st(r):r;let v=f,g=Dc(v);for(;g&&r&&h!==v;){const x=vi(g),m=g.getBoundingClientRect(),p=zt(g),y=m.left+(g.clientLeft+parseFloat(p.paddingLeft))*x.x,S=m.top+(g.clientTop+parseFloat(p.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,d*=x.y,l+=y,u+=S,v=st(g),g=Dc(v)}}return Fa({width:c,height:d,x:l,y:u})}function yf(e,t){const n=yl(e).scrollLeft;return t?t.left+n:Ir(nn(e)).left+n}function F0(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 zP(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=nn(r),a=t?gl(t.floating):!1;if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},u=Zt(1);const c=Zt(0),d=en(r);if((d||!d&&!o)&&((Hi(r)!=="body"||us(s))&&(l=yl(r)),en(r))){const h=Ir(r);u=vi(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const f=s&&!d&&!o?F0(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 BP(e){return Array.from(e.getClientRects())}function $P(e){const t=nn(e),n=yl(e),r=e.ownerDocument.body,i=rt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=rt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+yf(e);const a=-n.scrollTop;return zt(r).direction==="rtl"&&(s+=rt(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}function UP(e,t){const n=st(e),r=nn(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=mf();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}const WP=new Set(["absolute","fixed"]);function HP(e,t){const n=Ir(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=en(e)?vi(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 Op(e,t,n){let r;if(t==="viewport")r=UP(e,n);else if(t==="document")r=$P(nn(e));else if(_t(t))r=HP(t,n);else{const i=I0(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Fa(r)}function V0(e,t){const n=ir(e);return n===t||!_t(n)||Ii(n)?!1:zt(n).position==="fixed"||V0(n,t)}function KP(e,t){const n=t.get(e);if(n)return n;let r=Ko(e,[],!1).filter(a=>_t(a)&&Hi(a)!=="body"),i=null;const o=zt(e).position==="fixed";let s=o?ir(e):e;for(;_t(s)&&!Ii(s);){const a=zt(s),l=pf(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&WP.has(i.position)||us(s)&&!l&&V0(e,s))?r=r.filter(c=>c!==s):i=a,s=ir(s)}return t.set(e,r),r}function YP(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?gl(t)?[]:KP(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=Op(t,c,i);return u.top=rt(d.top,u.top),u.right=rr(d.right,u.right),u.bottom=rr(d.bottom,u.bottom),u.left=rt(d.left,u.left),u},Op(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function GP(e){const{width:t,height:n}=j0(e);return{width:t,height:n}}function QP(e,t,n){const r=en(t),i=nn(t),o=n==="fixed",s=Ir(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((Hi(t)!=="body"||us(i))&&(a=yl(t)),r){const h=Ir(t,!0,o,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else i&&u();o&&!r&&i&&u();const c=i&&!r&&!o?F0(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 du(e){return zt(e).position==="static"}function jp(e,t){if(!en(e)||zt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return nn(e)===n&&(n=n.ownerDocument.body),n}function _0(e,t){const n=st(e);if(gl(e))return n;if(!en(e)){let i=ir(e);for(;i&&!Ii(i);){if(_t(i)&&!du(i))return i;i=ir(i)}return n}let r=jp(e,t);for(;r&&NP(r)&&du(r);)r=jp(r,t);return r&&Ii(r)&&du(r)&&!pf(r)?n:r||IP(e)||n}const XP=async function(e){const t=this.getOffsetParent||_0,n=this.getDimensions,r=await n(e.floating);return{reference:QP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function qP(e){return zt(e).direction==="rtl"}const ZP={convertOffsetParentRelativeRectToViewportRelativeRect:zP,getDocumentElement:nn,getClippingRect:YP,getOffsetParent:_0,getElementRects:XP,getClientRects:BP,getDimensions:GP,getScale:vi,isElement:_t,isRTL:qP};function z0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function JP(e,t){let n=null,r;const i=nn(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;
vendor: 8,841 bytes, line 71
71const v=Vs(d),g=Vs(i.clientWidth-(c+f)),x=Vs(i.clientHeight-(d+h)),m=Vs(c),y={rootMargin:-v+"px "+-g+"px "+-x+"px "+-m+"px",threshold:rt(0,rr(1,l))||1};let S=!0;function T(C){const P=C[0].intersectionRatio;if(P!==l){if(!S)return s();P?s(!1,P):r=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!z0(u,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(T,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(T,y)}n.observe(e)}return s(!0),o}function eb(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?Ko(u):[],...Ko(t)]:[];c.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),o&&m.addEventListener("resize",n)});const d=u&&a?JP(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 v,g=l?Ir(e):null;l&&x();function x(){const m=Ir(e);g&&!z0(g,m)&&n(),g=m,v=requestAnimationFrame(x)}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(v)}}const tb=PP,nb=bP,rb=EP,ib=RP,ob=TP,Ip=SP,sb=kP,ab=(e,t,n)=>{const r=new Map,i={platform:ZP,...n},o={...i.platform,_c:r};return wP(e,t,{...i,platform:o})};var lb=typeof document<"u",ub=function(){},ia=lb?w.useLayoutEffect:ub;function Va(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(!Va(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)&&!Va(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function B0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fp(e,t){const n=B0(e);return Math.round(t*n)/n}function fu(e){const t=w.useRef(e);return ia(()=>{t.current=e}),t}function cb(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=w.useState(r);Va(f,r)||h(r);const[v,g]=w.useState(null),[x,m]=w.useState(null),p=w.useCallback(k=>{k!==C.current&&(C.current=k,g(k))},[]),y=w.useCallback(k=>{k!==P.current&&(P.current=k,m(k))},[]),S=o||v,T=s||x,C=w.useRef(null),P=w.useRef(null),b=w.useRef(c),M=l!=null,N=fu(l),_=fu(i),I=fu(u),U=w.useCallback(()=>{if(!C.current||!P.current)return;const k={placement:t,strategy:n,middleware:f};_.current&&(k.platform=_.current),ab(C.current,P.current,k).then(R=>{const O={...R,isPositioned:I.current!==!1};j.current&&!Va(b.current,O)&&(b.current=O,as.flushSync(()=>{d(O)}))})},[f,t,n,_,I]);ia(()=>{u===!1&&b.current.isPositioned&&(b.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const j=w.useRef(!1);ia(()=>(j.current=!0,()=>{j.current=!1}),[]),ia(()=>{if(S&&(C.current=S),T&&(P.current=T),S&&T){if(N.current)return N.current(S,T,U);U()}},[S,T,U,N,M]);const G=w.useMemo(()=>({reference:C,floating:P,setReference:p,setFloating:y}),[p,y]),$=w.useMemo(()=>({reference:S,floating:T}),[S,T]),W=w.useMemo(()=>{const k={position:n,left:0,top:0};if(!$.floating)return k;const R=Fp($.floating,c.x),O=Fp($.floating,c.y);return a?{...k,transform:"translate("+R+"px, "+O+"px)",...B0($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:O}},[n,a,$.floating,c.x,c.y]);return w.useMemo(()=>({...c,update:U,refs:G,elements:$,floatingStyles:W}),[c,U,G,$,W])}const db=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?Ip({element:r.current,padding:i}).fn(n):{}:r?Ip({element:r,padding:i}).fn(n):{}}}},fb=(e,t)=>({...tb(e),options:[e,t]}),hb=(e,t)=>({...nb(e),options:[e,t]}),pb=(e,t)=>({...sb(e),options:[e,t]}),mb=(e,t)=>({...rb(e),options:[e,t]}),gb=(e,t)=>({...ib(e),options:[e,t]}),yb=(e,t)=>({...ob(e),options:[e,t]}),vb=(e,t)=>({...db(e),options:[e,t]});var xb="Arrow",$0=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return E.jsx(tt.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:E.jsx("polygon",{points:"0,0 30,0 15,10"})})});$0.displayName=xb;var wb=$0;function Sb(e){const[t,n]=w.useState(void 0);return nr(()=>{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 U0="Popper",[W0,H0]=fl(U0),[SD,K0]=W0(U0),Y0="PopperAnchor",G0=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=K0(Y0,n),s=w.useRef(null),a=Vt(t,s);return w.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:E.jsx(tt.div,{...i,ref:a})});G0.displayName=Y0;var vf="PopperContent",[Eb,Tb]=W0(vf),Q0=w.forwardRef((e,t)=>{var ee,zr,wn,cr,Sn,Br;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:v,...g}=e,x=K0(vf,n),[m,p]=w.useState(null),y=Vt(t,En=>p(En)),[S,T]=w.useState(null),C=Sb(S),P=(C==null?void 0:C.width)??0,b=(C==null?void 0:C.height)??0,M=r+(o!=="center"?"-"+o:""),N=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},_=Array.isArray(u)?u:[u],I=_.length>0,U={padding:N,boundary:_.filter(Pb),altBoundary:I},{refs:j,floatingStyles:G,placement:$,isPositioned:W,middlewareData:k}=cb({strategy:"fixed",placement:M,whileElementsMounted:(...En)=>eb(...En,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[fb({mainAxis:i+b,alignmentAxis:s}),l&&hb({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?pb():void 0,...U}),l&&mb({...U}),gb({...U,apply:({elements:En,rects:ps,availableWidth:Ml,availableHeight:ms})=>{const{width:Nl,height:Qi}=ps.reference,$r=En.floating.style;$r.setProperty("--radix-popper-available-width",`${Ml}px`),$r.setProperty("--radix-popper-available-height",`${ms}px`),$r.setProperty("--radix-popper-anchor-width",`${Nl}px`),$r.setProperty("--radix-popper-anchor-height",`${Qi}px`)}}),S&&vb({element:S,padding:a}),bb({arrowWidth:P,arrowHeight:b}),f&&yb({strategy:"referenceHidden",...U})]}),[R,O]=Z0($),B=tr(v);nr(()=>{W&&(B==null||B())},[W,B]);const z=(ee=k.arrow)==null?void 0:ee.x,Q=(zr=k.arrow)==null?void 0:zr.y,q=((wn=k.arrow)==null?void 0:wn.centerOffset)!==0,[ve,De]=w.useState();return nr(()=>{m&&De(window.getComputedStyle(m).zIndex)},[m]),E.jsx("div",{ref:j.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:W?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ve,"--radix-popper-transform-origin":[(cr=k.transformOrigin)==null?void 0:cr.x,(Sn=k.transformOrigin)==null?void 0:Sn.y].join(" "),...((Br=k.hide)==null?void 0:Br.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:E.jsx(Eb,{scope:n,placedSide:R,onArrowChange:T,arrowX:z,arrowY:Q,shouldHideArrow:q,children:E.jsx(tt.div,{"data-side":R,"data-align":O,...g,ref:y,style:{...g.style,animation:W?void 0:"none"}})})})});Q0.displayName=vf;var X0="PopperArrow",Cb={top:"bottom",right:"left",bottom:"top",left:"right"},q0=w.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=Tb(X0,r),s=Cb[o.placedSide];return E.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:E.jsx(wb,{...i,ref:n,style:{...i.style,display:"block"}})})});q0.displayName=X0;function Pb(e){return e!==null}var bb=e=>({name:"transformOrigin",options:e,fn(t){var x,m,p;const{placement:n,rects:r,middlewareData:i}=t,s=((x=i.arrow)==null?void 0:x.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=Z0(n),d={start:"0%",center:"50%",end:"100%"}
vendor: 4,765 bytes, line 71
71[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 v="",g="";return u==="bottom"?(v=s?d:`${f}px`,g=`${-l}px`):u==="top"?(v=s?d:`${f}px`,g=`${r.floating.height+l}px`):u==="right"?(v=`${-l}px`,g=s?d:`${h}px`):u==="left"&&(v=`${r.floating.width+l}px`,g=s?d:`${h}px`),{data:{x:v,y:g}}}});function Z0(e){const[t,n="center"]=e.split("-");return[t,n]}var kb=G0,Rb=Q0,Ab=q0,[vl,ED]=fl("Tooltip",[H0]),xf=H0(),J0="TooltipProvider",Mb=700,Vp="tooltip.open",[Nb,ex]=vl(J0),tx=e=>{const{__scopeTooltip:t,delayDuration:n=Mb,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,s=w.useRef(!0),a=w.useRef(!1),l=w.useRef(0);return w.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),E.jsx(Nb,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:w.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:o})};tx.displayName=J0;var nx="Tooltip",[TD,xl]=vl(nx),Lc="TooltipTrigger",Db=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=xl(Lc,n),o=ex(Lc,n),s=xf(n),a=w.useRef(null),l=Vt(t,a,i.onTriggerChange),u=w.useRef(!1),c=w.useRef(!1),d=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),E.jsx(kb,{asChild:!0,...s,children:E.jsx(tt.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Te(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:Te(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:Te(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Te(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Te(e.onBlur,i.onClose),onClick:Te(e.onClick,i.onClose)})})});Db.displayName=Lc;var Lb="TooltipPortal",[CD,Ob]=vl(Lb,{forceMount:void 0}),Fi="TooltipContent",rx=w.forwardRef((e,t)=>{const n=Ob(Fi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,s=xl(Fi,e.__scopeTooltip);return E.jsx(sf,{present:r||s.open,children:s.disableHoverableContent?E.jsx(ix,{side:i,...o,ref:t}):E.jsx(jb,{side:i,...o,ref:t})})}),jb=w.forwardRef((e,t)=>{const n=xl(Fi,e.__scopeTooltip),r=ex(Fi,e.__scopeTooltip),i=w.useRef(null),o=Vt(t,i),[s,a]=w.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,f=w.useCallback(()=>{a(null),d(!1)},[d]),h=w.useCallback((v,g)=>{const x=v.currentTarget,m={x:v.clientX,y:v.clientY},p=zb(m,x.getBoundingClientRect()),y=Bb(m,p),S=$b(g.getBoundingClientRect()),T=Wb([...y,...S]);a(T),d(!0)},[d]);return w.useEffect(()=>()=>f(),[f]),w.useEffect(()=>{if(l&&c){const v=x=>h(x,c),g=x=>h(x,l);return l.addEventListener("pointerleave",v),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",v),c.removeEventListener("pointerleave",g)}}},[l,c,h,f]),w.useEffect(()=>{if(s){const v=g=>{const x=g.target,m={x:g.clientX,y:g.clientY},p=(l==null?void 0:l.contains(x))||(c==null?void 0:c.contains(x)),y=!Ub(m,s);p?f():y&&(f(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,c,s,u,f]),E.jsx(ix,{...e,ref:o})}),[Ib,Fb]=vl(nx,{isInside:!1}),Vb=JE("TooltipContent"),ix=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:s,...a}=e,l=xl(Fi,n),u=xf(n),{onClose:c}=l;return w.useEffect(()=>(document.addEventListener(Vp,c),()=>document.removeEventListener(Vp,c)),[c]),w.useEffect(()=>{if(l.trigger){const d=f=>{const h=f.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),E.jsx(of,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:E.jsxs(Rb,{"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:[E.jsx(Vb,{children:r}),E.jsx(Ib,{scope:n,isInside:!0,children:E.jsx(CT,{id:l.contentId,role:"tooltip",children:i||r})})]})})});rx.displayName=Fi;var ox="TooltipArrow",_b=w.forwardRef((e,t)=>
71{const{__scopeTooltip:n,...r}=e,i=xf(n);return Fb(ox,n).isInside?null:E.jsx(Ab,{...i,...r,ref:t})});_b.displayName=ox;function zb(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 Bb(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 $b(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 Ub(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 Wb(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),Hb(t)}function Hb(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 Kb=tx,sx=rx;const Yb=Kb,Gb=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>E.jsx(sx,{ref:r,sideOffset:t,className:_r("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}));Gb.displayName=sx.displayName;var wl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Sl=typeof window>"u"||"Deno"in globalThis;function At(){}function Qb(e,t){return typeof e=="function"?e(t):e}function Xb(e){return typeof e=="number"&&e>=0&&e!==1/0}function qb(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Oc(e,t){return typeof e=="function"?e(t):e}function Zb(e,t){return typeof e=="function"?e(t):e}function _p(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==wf(s,t.options))return!1}else if(!Go(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 zp(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Yo(t.options.mutationKey)!==Yo(o))return!1}else if(!Go(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function wf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Yo)(e)}function Yo(e){return JSON.stringify(e,(t,n)=>jc(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Go(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Go(e[n],t[n])):!1}function ax(e,t){if(e===t)return e;const n=Bp(e)&&Bp(t);if(n||jc(e)&&jc(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]=ax(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return i===s&&u===i?e:a}return t}function Bp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function jc(e){if(!$p(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!$p(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function $p(e){return Object.prototype.toString.call(e)==="[object Object]"}function Jb(e){return new Promise(t=>{setTimeout(t,e)})}function ek(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ax(e,t):t}function tk(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function nk(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Sf=Symbol();function lx(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Sf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Er,In,Si,Sg,rk=(Sg=class extends wl{constructor(){super();
vendor: 4,133 bytes, line 71
71J(this,Er);J(this,In);J(this,Si);K(this,Si,t=>{if(!Sl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,In)||this.setEventListener(A(this,Si))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,In))==null||t.call(this),K(this,In,void 0))}setEventListener(t){var n;K(this,Si,t),(n=A(this,In))==null||n.call(this),K(this,In,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,Er)!==t&&(K(this,Er,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,Er)=="boolean"?A(this,Er):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Er=new WeakMap,In=new WeakMap,Si=new WeakMap,Sg),ux=new rk,Ei,Fn,Ti,Eg,ik=(Eg=class extends wl{constructor(){super();J(this,Ei,!0);J(this,Fn);J(this,Ti);K(this,Ti,t=>{if(!Sl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){A(this,Fn)||this.setEventListener(A(this,Ti))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,Fn))==null||t.call(this),K(this,Fn,void 0))}setEventListener(t){var n;K(this,Ti,t),(n=A(this,Fn))==null||n.call(this),K(this,Fn,t(this.setOnline.bind(this)))}setOnline(t){A(this,Ei)!==t&&(K(this,Ei,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,Ei)}},Ei=new WeakMap,Fn=new WeakMap,Ti=new WeakMap,Eg),_a=new ik;function ok(){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 sk(e){return Math.min(1e3*2**e,3e4)}function cx(e){return(e??"online")==="online"?_a.isOnline():!0}var dx=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function hu(e){return e instanceof dx}function fx(e){let t=!1,n=0,r=!1,i;const o=ok(),s=g=>{var x;r||(f(new dx(g)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>ux.isFocused()&&(e.networkMode==="always"||_a.isOnline())&&e.canRun(),c=()=>cx(e.networkMode)&&e.canRun(),d=g=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,g),i==null||i(),o.resolve(g))},f=g=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,g),i==null||i(),o.reject(g))},h=()=>new Promise(g=>{var x;i=m=>{(r||u())&&g(m)},(x=e.onPause)==null||x.call(e)}).then(()=>{var g;i=void 0,r||(g=e.onContinue)==null||g.call(e)}),v=()=>{if(r)return;let g;const x=n===0?e.initialPromise:void 0;try{g=x??e.fn()}catch(m){g=Promise.reject(m)}Promise.resolve(g).then(d).catch(m=>{var C;if(r)return;const p=e.retry??(Sl?0:3),y=e.retryDelay??sk,S=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),Jb(S).then(()=>u()?void 0:h()).then(()=>{t?f(m):v()})})};return{promise:o,cancel:s,continue:()=>(i==null||i(),o),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?v():h().then(v),o)}}var ak=e=>setTimeout(e,0);function lk(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=ak;const o=a=>{t?e.push(a):i(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var $e=lk(),Tr,Tg,hx=(Tg=class{constructor(){J(this,Tr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xb(this.gcTime)&&K(this,Tr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sl?1/0:5*60*1e3))}clearGcTimeout(){A(this,Tr)&&(clearTimeout(A(this,Tr)),K(this,Tr,void 0))}},Tr=new WeakMap,Tg),Ci,Cr,dt,Pr,Ie,es,br,Mt,on,Cg,uk=(Cg=class extends hx{constructor(t){super();
vendor: 2,651 bytes, line 71
71J(this,Mt);J(this,Ci);J(this,Cr);J(this,dt);J(this,Pr);J(this,Ie);J(this,es);J(this,br);K(this,br,!1),K(this,es,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,Pr,t.client),K(this,dt,A(this,Pr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Ci,dk(this.options)),this.state=t.state??A(this,Ci),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,Ie))==null?void 0:t.promise}setOptions(t){this.options={...A(this,es),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,dt).remove(this)}setData(t,n){const r=ek(this.state.data,t,this.options);return Le(this,Mt,on).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,Mt,on).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=A(this,Ie))==null?void 0:r.promise;return(i=A(this,Ie))==null||i.cancel(t),n?n.then(At).catch(At):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,Ci))}isActive(){return this.observers.some(t=>Zb(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Sf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Oc(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:!qb(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Ie))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Ie))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,dt).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,Ie)&&(A(this,br)?A(this,Ie).cancel({revert:!0}):A(this,Ie).cancelRetry()),this.scheduleGc()),A(this,dt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Le(this,Mt,on).call(this,{type:"invalidate"})}
vendor: 8,718 bytes, line 71
71fetch(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,Ie))return A(this,Ie).continueRetry(),A(this,Ie).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(K(this,br,!0),r.signal)})},o=()=>{const f=lx(this.options,n),v=(()=>{const g={client:A(this,Pr),queryKey:this.queryKey,meta:this.meta};return i(g),g})();return K(this,br,!1),this.options.persister?this.options.persister(f,v,this):f(v)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,Pr),state:this.state,fetchFn:o};return i(f),f})();(u=this.options.behavior)==null||u.onFetch(a,this),K(this,Cr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Le(this,Mt,on).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var h,v,g,x;hu(f)&&f.silent||Le(this,Mt,on).call(this,{type:"error",error:f}),hu(f)||((v=(h=A(this,dt).config).onError)==null||v.call(h,f,this),(x=(g=A(this,dt).config).onSettled)==null||x.call(g,this.state.data,f,this)),this.scheduleGc()};return K(this,Ie,fx({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var h,v,g,x;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(m){l(m);return}(v=(h=A(this,dt).config).onSuccess)==null||v.call(h,f,this),(x=(g=A(this,dt).config).onSettled)==null||x.call(g,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,h)=>{Le(this,Mt,on).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{Le(this,Mt,on).call(this,{type:"pause"})},onContinue:()=>{Le(this,Mt,on).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),A(this,Ie).start()}},Ci=new WeakMap,Cr=new WeakMap,dt=new WeakMap,Pr=new WeakMap,Ie=new WeakMap,es=new WeakMap,br=new WeakMap,Mt=new WeakSet,on=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,...ck(r.data,this.options),fetchMeta:t.meta??null};case"success":return K(this,Cr,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 hu(i)&&i.revert&&A(this,Cr)?{...A(this,Cr),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),$e.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,dt).notify({query:this,type:"updated",action:t})})},Cg);function ck(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:cx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function dk(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,Pg,fk=(Pg=class extends wl{constructor(t={}){super();J(this,Ht);this.config=t,K(this,Ht,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??wf(i,n);let s=this.get(o);return s||(s=new uk({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(){$e.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=>_p(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>_p(t,r)):n}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){$e.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){$e.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ht=new WeakMap,Pg),Kt,ze,kr,Yt,An,bg,hk=(bg=class extends hx{constructor(t){super();J(this,Yt);J(this,Kt);J(this,ze);J(this,kr);this.mutationId=t.mutationId,K(this,ze,t.mutationCache),K(this,Kt,[]),this.state=t.state||pk(),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,ze).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Kt,A(this,Kt).filter(n=>n!==t)),this.scheduleGc(),A(this,ze).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,Kt).length||(this.state.status==="pending"?this.scheduleGc():A(this,ze).remove(this))}continue(){var t;return((t=A(this,kr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,s,a,l,u,c,d,f,h,v,g,x,m,p,y,S,T,C,P,b;const n=()=>{Le(this,Yt,An).call(this,{type:"continue"})};K(this,kr,fx({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,N)=>{Le(this,Yt,An).call(this,{type:"failed",failureCount:M,error:N})},onPause:()=>{Le(this,Yt,An).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,ze).canRun(this)}));const r=this.state.status==="pending",i=!A(this,kr).canStart();try{if(r)n();else{Le(this,Yt,An).call(this,{type:"pending",variables:t,isPaused:i}),await((s=(o=A(this,ze).config).onMutate)==null?void 0:s.call(o,t,this));const N=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));N!==this.state.context&&Le(this,Yt,An).call(this,{type:"pending",context:N,variables:t,isPaused:i})}const M=await A(this,kr).start();return await((c=(u=A(this,ze).config).onSuccess)==null?void 0:c.call(u,M,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,M,t,this.state.context)),await((v=(h=A(this,ze).config).onSettled)==null?void 0:v.call(h,M,null,this.state.variables,this.state.context,this)),await((x=(g=this.options).onSettled)==null?void 0:x.call(g,M,null,t,this.state.context)),Le(this,Yt,An).call(this,{type:"success",data:M}),M}catch(M){try{throw await((p=(m=A(this,ze).config).onError)==null?void 0:p.call(m,M,t,this.state.context,this)),await((S=(y=this.options).onError)==null?void 0:S.call(y,M,t,this.state.context)),await((C=(T=A(this,ze).config).onSettled)==null?void 0:C.call(T,void 0,M,this.state.variables,this.state.context,this)),await((b=(P=this.options).onSettled)==null?void 0:b.call(P,void 0,M,t,this.state.context)),M}finally{Le(this,Yt,An).call(this,{type:"error",error:M})}}finally{A(this,ze).runNext(this)}}},Kt=new WeakMap,ze=new WeakMap,kr=new WeakMap,Yt=new WeakSet,An=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),$e.batch(()=>{A(this,Kt).forEach(r=>{r.onMutationUpdate(t)}),A(this,ze).notify({mutation:this,type:"updated",action:t})})},bg);function pk(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ln,Nt,ts,kg,mk=(kg=class extends wl{constructor(t={}){super();
71J(this,ln);J(this,Nt);J(this,ts);this.config=t,K(this,ln,new Set),K(this,Nt,new Map),K(this,ts,0)}build(t,n,r){const i=new hk({mutationCache:this,mutationId:++ys(this,ts)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){A(this,ln).add(t);const n=_s(t);if(typeof n=="string"){const r=A(this,Nt).get(n);r?r.push(t):A(this,Nt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,ln).delete(t)){const n=_s(t);if(typeof n=="string"){const r=A(this,Nt).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,Nt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=_s(t);if(typeof n=="string"){const r=A(this,Nt).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=_s(t);if(typeof n=="string"){const i=(r=A(this,Nt).get(n))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){$e.batch(()=>{A(this,ln).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,ln).clear(),A(this,Nt).clear()})}getAll(){return Array.from(A(this,ln))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>zp(n,r))}findAll(t={}){return this.getAll().filter(n=>zp(t,n))}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return $e.batch(()=>Promise.all(t.map(n=>n.continue().catch(At))))}},ln=new WeakMap,Nt=new WeakMap,ts=new WeakMap,kg);function _s(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Up(e){return{onFetch:(t,n)=>{var c,d,f,h,v;const r=t.options,i=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,o=((h=t.state.data)==null?void 0:h.pages)||[],s=((v=t.state.data)==null?void 0:v.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let g=!1;const x=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},m=lx(t.options,t.fetchOptions),p=async(y,S,T)=>{if(g)return Promise.reject();if(S==null&&y.pages.length)return Promise.resolve(y);const P=(()=>{const _={client:t.client,queryKey:t.queryKey,pageParam:S,direction:T?"backward":"forward",meta:t.options.meta};return x(_),_})(),b=await m(P),{maxPages:M}=t.options,N=T?nk:tk;return{pages:N(y.pages,b,M),pageParams:N(y.pageParams,S,M)}};if(i&&o.length){const y=i==="backward",S=y?gk:Wp,T={pages:o,pageParams:s},C=S(r,T);a=await p(T,C,y)}else{const y=e??o.length;do{const S=l===0?s[0]??r.initialPageParam:Wp(r,a);if(l>0&&S==null)break;a=await p(a,S),l++}while(l<y)}return a};t.options.persister?t.fetchFn=()=>{var g,x;return(x=(g=t.options).persister)==null?void 0:x.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Wp(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 gk(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var me,Vn,_n,Pi,bi,zn,ki,Ri,Rg,yk=(Rg=class{constructor(e={}){J(this,me);J(this,Vn);J(this,_n);J(this,Pi);J(this,bi);J(this,zn);J(this,ki);J(this,Ri);K(this,me,e.queryCache||new fk),K(this,Vn,e.mutationCache||new mk),K(this,_n,e.defaultOptions||{}),K(this,Pi,new Map),K(this,bi,new Map),K(this,zn,0)}mount(){ys(this,zn)._++,A(this,zn)===1&&(K(this,ki,ux.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,me).onFocus())})),K(this,Ri,_a.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,me).onOnline())})))}unmount(){var e,t;ys(this,zn)._--,A(this,zn)===0&&((e=A(this,ki))==null||e.call(this),K(this,ki,void 0),(t=A(this,Ri))==null||t.call(this),K(this,Ri,void 0))}isFetching(e){return A(this,me).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,Vn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,me).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,me).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Oc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return A(this,me).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=A(this,me).get(r.queryHash),o=i==null?void 0:i.state.data,s=Qb(t,o);if(s!==void 0)return A(this,me).build(this,r).setData(s,{...n,manual:!0})}
71setQueriesData(e,t,n){return $e.batch(()=>A(this,me).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,me).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,me);$e.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,me);return $e.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=$e.batch(()=>A(this,me).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(At).catch(At)}invalidateQueries(e,t={}){return $e.batch(()=>(A(this,me).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=$e.batch(()=>A(this,me).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(At)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(At)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,me).build(this,t);return n.isStaleByTime(Oc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(At).catch(At)}fetchInfiniteQuery(e){return e.behavior=Up(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(At).catch(At)}ensureInfiniteQueryData(e){return e.behavior=Up(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return _a.isOnline()?A(this,Vn).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,me)}getMutationCache(){return A(this,Vn)}getDefaultOptions(){return A(this,_n)}setDefaultOptions(e){K(this,_n,e)}setQueryDefaults(e,t){A(this,Pi).set(Yo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,Pi).values()],n={};return t.forEach(r=>{Go(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){A(this,bi).set(Yo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,bi).values()],n={};return t.forEach(r=>{Go(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,_n).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=wf(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===Sf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,_n).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,me).clear(),A(this,Vn).clear()}},me=new WeakMap,Vn=new WeakMap,_n=new WeakMap,Pi=new WeakMap,bi=new WeakMap,zn=new WeakMap,ki=new WeakMap,Ri=new WeakMap,Rg),vk=w.createContext(void 0),xk=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(vk.Provider,{value:e,children:t}));/**
72 * @remix-run/router v1.23.0
73 *
74 * Copyright (c) Remix Software Inc.
75 *
76 * This source code is licensed under the MIT license found in the
77 * LICENSE.md file in the root directory of this source tree.
78 *
79 * @license MIT
80 */function za(){return za=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},za.apply(this,arguments)}var Un;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Un||(Un={}));const Hp="popstate";function wk(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:s,hash:a}=r.location;return Ic("",{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:mx(i)}return Ek(t,n,null,e)}function et(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function px(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Sk(){return Math.random().toString(36).substr(2,8)}function Kp(e,t){return{usr:e.state,key:e.key,idx:t}}function Ic(e,t,n,r){return n===void 0&&(n=null),za({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?El(t):t,{state:n,key:t&&t.key||r||Sk()})}function mx(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 El(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 Ek(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=Un.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(za({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=Un.Pop;let x=c(),m=x==null?null:x-u;u=x,l&&l({action:a,location:g.location,delta:m})}function f(x,m){a=Un.Push;let p=Ic(g.location,x,m);u=c()+1;
vendor: 3,380 bytes, line 80
80let y=Kp(p,u),S=g.createHref(p);try{s.pushState(y,"",S)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(S)}o&&l&&l({action:a,location:g.location,delta:1})}function h(x,m){a=Un.Replace;let p=Ic(g.location,x,m);u=c();let y=Kp(p,u),S=g.createHref(p);s.replaceState(y,"",S),o&&l&&l({action:a,location:g.location,delta:0})}function v(x){let m=i.location.origin!=="null"?i.location.origin:i.location.href,p=typeof x=="string"?x:mx(x);return p=p.replace(/ $/,"%20"),et(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(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Hp,d),l=x,()=>{i.removeEventListener(Hp,d),l=null}},createHref(x){return t(i,x)},createURL:v,encodeLocation(x){let m=v(x);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:h,go(x){return s.go(x)}};return g}var Yp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Yp||(Yp={}));function Tk(e,t,n){return n===void 0&&(n="/"),Ck(e,t,n,!1)}function Ck(e,t,n,r){let i=typeof t=="string"?El(t):t,o=vx(i.pathname||"/",n);if(o==null)return null;let s=gx(e);Pk(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=Ik(o);a=Ok(s[l],u,r)}return a}function gx(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("/")&&(et(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=xi([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(et(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),gx(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:Dk(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 yx(o.path))i(o,s,l)}),t}function yx(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=yx(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 Pk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Lk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const bk=/^:[\w-]+$/,kk=3,Rk=2,Ak=1,Mk=10,Nk=-2,Gp=e=>e==="*";function Dk(e,t){let n=e.split("/"),r=n.length;return n.some(Gp)&&(r+=Nk),t&&(r+=Rk),n.filter(i=>!Gp(i)).reduce((i,o)=>i+(bk.test(o)?kk:o===""?Ak:Mk),r)}function Lk(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 Ok(e,t,n){let{routesMeta:r}=e,i={},o="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=o==="/"?t:t.slice(o.length)||"/",d=Qp({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Qp({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 4,131 bytes, lines 80-89
80Object.assign(i,d.params),s.push({params:i,pathname:xi([o,d.pathname]),pathnameBase:Fk(xi([o,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(o=xi([o,d.pathnameBase]))}return s}function Qp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=jk(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],s=o.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:h}=c;if(f==="*"){let g=a[d]||"";s=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const v=a[d];return h&&!v?u[f]=void 0:u[f]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function jk(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),px(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 Ik(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return px(!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 vx(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const xi=e=>e.join("/").replace(/\/\/+/g,"/"),Fk=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function Vk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const xx=["post","put","patch","delete"];new Set(xx);const _k=["get",...xx];new Set(_k);/**
81 * React Router v6.30.1
82 *
83 * Copyright (c) Remix Software Inc.
84 *
85 * This source code is licensed under the MIT license found in the
86 * LICENSE.md file in the root directory of this source tree.
87 *
88 * @license MIT
89 */function Ba(){return Ba=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},Ba.apply(this,arguments)}const zk=w.createContext(null),Bk=w.createContext(null),wx=w.createContext(null),Tl=w.createContext(null),Cl=w.createContext({outlet:null,matches:[],isDataRoute:!1}),Sx=w.createContext(null);function Ef(){return w.useContext(Tl)!=null}function Ex(){return Ef()||et(!1),w.useContext(Tl).location}function $k(e,t){return Uk(e,t)}function Uk(e,t,n,r){Ef()||et(!1);let{navigator:i}=w.useContext(wx),{matches:o}=w.useContext(Cl),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=Ex(),c;if(t){var d;let x=typeof t=="string"?El(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||et(!1),c=x}else c=u;let f=c.pathname||"/",h=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let v=Tk(e,{pathname:h}),g=Gk(v&&v.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:xi([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:xi([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&g?w.createElement(Tl.Provider,{value:{location:Ba({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Un.Pop}},g):g}function Wk(){let e=Zk(),t=Vk(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application 
89Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:i},n):null,null)}const Hk=w.createElement(Wk,null);class Kk extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?w.createElement(Cl.Provider,{value:this.props.routeContext},w.createElement(Sx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Yk(e){let{routeContext:t,match:n,children:r}=e,i=w.useContext(zk);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(Cl.Provider,{value:t},r)}function Gk(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||et(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let d=s[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:h}=n,v=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||v){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let h,v=!1,g=null,x=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,g=d.route.errorElement||Hk,l&&(u<0&&f===0?(v=!0,x=null):u===f&&(v=!0,x=d.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,f+1)),p=()=>{let y;return h?y=g:v?y=x:d.route.Component?y=w.createElement(d.route.Component,null):d.route.element?y=d.route.element:y=c,w.createElement(Yk,{match:d,routeContext:{outlet:c,matches:m,isDataRoute:n!=null},children:y})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?w.createElement(Kk,{location:n.location,revalidation:n.revalidation,component:g,error:h,children:p(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):p()},null)}var Fc=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}(Fc||{});function Qk(e){let t=w.useContext(Bk);return t||et(!1),t}function Xk(e){let t=w.useContext(Cl);return t||et(!1),t}function qk(e){let t=Xk(),n=t.matches[t.matches.length-1];return n.route.id||et(!1),n.route.id}function Zk(){var e;let t=w.useContext(Sx),n=Qk(Fc.UseRouteError),r=qk(Fc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Jk(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Vc(e){et(!1)}function eR(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Un.Pop,navigator:o,static:s=!1,future:a}=e;Ef()&&et(!1);let l=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:l,navigator:o,static:s,future:Ba({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=El(r));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:v="default"}=r,g=w.useMemo(()=>{let x=vx(c,l);return x==null?null:{location:{pathname:x,search:d,hash:f,state:h,key:v},navigationType:i}},[l,c,d,f,h,v,i]);return g==null?null:w.createElement(wx.Provider,{value:u},w.createElement(Tl.Provider,{children:n,value:g}))}function tR(e){let{children:t,location:n}=e;return $k(_c(t),n)}new Promise(()=>{});
89function _c(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,i)=>{if(!w.isValidElement(r))return;let o=[...t,i];if(r.type===w.Fragment){n.push.apply(n,_c(r.props.children,o));return}r.type!==Vc&&et(!1),!r.props.index||!r.props.children||et(!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=_c(r.props.children,o)),n.push(s)}),n}/**
90 * React Router DOM v6.30.1
91 *
92 * Copyright (c) Remix Software Inc.
93 *
94 * This source code is licensed under the MIT license found in the
95 * LICENSE.md file in the root directory of this source tree.
96 *
97 * @license MIT
98 */const nR="6";try{window.__reactRouterVersion=nR}catch{}const rR="startTransition",Xp=zg[rR];function iR(e){let{basename:t,children:n,future:r,window:i}=e,o=w.useRef();o.current==null&&(o.current=wk({window:i,v5Compat:!0}));let s=o.current,[a,l]=w.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=w.useCallback(d=>{u&&Xp?Xp(()=>l(d)):l(d)},[l,u]);return w.useLayoutEffect(()=>s.listen(c),[s,c]),w.useEffect(()=>Jk(r),[r]),w.createElement(eR,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var qp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(qp||(qp={}));var Zp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zp||(Zp={}));const Tf=w.createContext({});function Cf(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const oR=typeof window<"u",Tx=oR?w.useLayoutEffect:w.useEffect,Pl=w.createContext(null);function Pf(e,t){e.indexOf(t)===-1&&e.push(t)}function $a(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const tn=(e,t,n)=>n>t?t:n<e?e:n;let bl=()=>{},Vi=()=>{};const vn={},Cx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Px(e){return typeof e=="object"&&e!==null}const bx=e=>/^0[^.\s]+$/u.test(e);function kx(e){let t;return()=>(t===void 0&&(t=e()),t)}const yt=e=>e,sR=(e,t)=>n=>t(e(n)),cs=(...e)=>e.reduce(sR),Qo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class bf{constructor(){this.subscriptions=[]}add(t){return Pf(this.subscriptions,t),()=>$a(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 vt=e=>e*1e3,mt=e=>e/1e3;function Rx(e,t){return t?e*(1e3/t):0}const Ax=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,aR=1e-7,lR=12;function uR(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=Ax(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>aR&&++a<lR);return s}function ds(e,t,n,r){if(e===t&&n===r)return yt;const i=o=>uR(o,0,1,e,n);return o=>o===0||o===1?o:Ax(i(o),t,r)}const Mx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Nx=e=>t=>1-e(1-t),Dx=ds(.33,1.53,.69,.99),kf=Nx(Dx),Lx=Mx(kf),Ox=e=>(e*=2)<1?.5*kf(e):.5*(2-Math.pow(2,-10*(e-1))),Rf=e=>1-Math.sin(Math.acos(e)),jx=Nx(Rf),Ix=Mx(Rf),cR=ds(.42,0,1,1),dR=ds(0,0,.58,1),Fx=ds(.42,0,.58,1),fR=e=>Array.isArray(e)&&typeof e[0]!="number",Vx=e=>Array.isArray(e)&&typeof e[0]=="number",Jp={linear:yt,easeIn:cR,easeInOut:Fx,easeOut:dR,circIn:Rf,circInOut:Ix,circOut:jx,backIn:kf,backInOut:Lx,backOut:Dx,anticipate:Ox},hR=e=>typeof e=="string",em=e=>{if(Vx(e)){Vi(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return ds(t,n,r,i)}else if(hR(e))return Vi(Jp[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Jp[e];return e},zs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],tm={value:null,addProjectionMetrics:null};function pR(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: 15,650 bytes, line 98
98{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&&tm.value&&tm.value.frameloop[t].push(l),l=0,n.clear(),i=!1,o&&(o=!1,c.process(d))}};return c}const mR=40;function _x(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=zs.reduce((y,S)=>(y[S]=pR(o,t?S:void 0),y),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:h,postRender:v}=s,g=()=>{const y=vn.useManualTiming?i.timestamp:performance.now();n=!1,vn.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,mR),1)),i.timestamp=y,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),f.process(i),h.process(i),v.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},x=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:zs.reduce((y,S)=>{const T=s[S];return y[S]=(C,P=!1,b=!1)=>(n||x(),T.schedule(C,P,b)),y},{}),cancel:y=>{for(let S=0;S<zs.length;S++)s[zs[S]].cancel(y)},state:i,steps:s}}const{schedule:ie,cancel:or,state:Ae,steps:pu}=_x(typeof requestAnimationFrame<"u"?requestAnimationFrame:yt,!0);let oa;function gR(){oa=void 0}const Ue={now:()=>(oa===void 0&&Ue.set(Ae.isProcessing||vn.useManualTiming?Ae.timestamp:performance.now()),oa),set:e=>{oa=e,queueMicrotask(gR)}},zx=e=>t=>typeof t=="string"&&t.startsWith(e),Bx=zx("--"),yR=zx("var(--"),Af=e=>yR(e)?vR.test(e.split("/*")[0].trim()):!1,vR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function nm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ki={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Xo={...Ki,transform:e=>tn(0,1,e)},Bs={...Ki,default:1},Co=e=>Math.round(e*1e5)/1e5,Mf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function xR(e){return e==null}const wR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Nf=(e,t)=>n=>!!(typeof n=="string"&&wR.test(n)&&n.startsWith(e)||t&&!xR(n)&&Object.prototype.hasOwnProperty.call(n,t)),$x=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,s,a]=r.match(Mf);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},SR=e=>tn(0,255,e),mu={...Ki,transform:e=>Math.round(SR(e))},wr={test:Nf("rgb","red"),parse:$x("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+mu.transform(e)+", "+mu.transform(t)+", "+mu.transform(n)+", "+Co(Xo.transform(r))+")"};function ER(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 zc={test:Nf("#"),parse:ER,transform:wr.transform},fs=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Mn=fs("deg"),Jt=fs("%"),V=fs("px"),TR=fs("vh"),CR=fs("vw"),rm={...Jt,parse:e=>Jt.parse(e)/100,transform:e=>Jt.transform(e*100)},si={test:Nf("hsl","hue"),parse:$x("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Jt.transform(Co(t))+", "+Jt.transform(Co(n))+", "+Co(Xo.transform(r))+")"},xe={test:e=>wr.test(e)||zc.test(e)||si.test(e),parse:e=>wr.test(e)?wr.parse(e):si.test(e)?si.parse(e):zc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?wr.transform(e):si.transform(e),getAnimatableNone:e=>{const t=xe.parse(e);return t.alpha=0,xe.transform(t)}},PR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function bR(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Mf))==null?void 0:t.length)||0)+(((n=e.match(PR))==null?void 0:n.length)||0)>0}const Ux="number",Wx="color",kR="var",RR="var(",im="${}",AR=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function qo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(AR,l=>(xe.test(l)?(r.color.push(o),i.push(Wx),n.push(xe.parse(l))):l.startsWith(RR)?(r.var.push(o),i.push(kR),n.push(l)):(r.number.push(o),i.push(Ux),n.push(parseFloat(l))),++o,im)).split(im);return{values:n,split:a,indexes:r,types:i}}function Hx(e){return qo(e).values}function Kx(e){const{split:t,types:n}=qo(e),r=t.length;return i=>{let o="";for(let s=0;s<r;s++)if(o+=t[s],i[s]!==void 0){const a=n[s];a===Ux?o+=Co(i[s]):a===Wx?o+=xe.transform(i[s]):o+=i[s]}return o}}const MR=e=>typeof e=="number"?0:xe.test(e)?xe.getAnimatableNone(e):e;function NR(e){const t=Hx(e);return Kx(e)(t.map(MR))}const It={test:bR,parse:Hx,createTransformer:Kx,getAnimatableNone:NR};function gu(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 DR({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=gu(l,a,e+1/3),o=gu(l,a,e),s=gu(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function Ua(e,t){return n=>n>0?t:e}const fe=(e,t,n)=>e+(t-e)*n,yu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},LR=[zc,wr,si],OR=e=>LR.find(t=>t.test(e));function om(e){const t=OR(e);if(bl(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===si&&(n=DR(n)),n}const sm=(e,t)=>{const n=om(e),r=om(t);if(!n||!r)return Ua(e,t);const i={...n};return o=>(i.red=yu(n.red,r.red,o),i.green=yu(n.green,r.green,o),i.blue=yu(n.blue,r.blue,o),i.alpha=fe(n.alpha,r.alpha,o),wr.transform(i))},Bc=new Set(["none","hidden"]);function jR(e,t){return Bc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function IR(e,t){return n=>fe(e,t,n)}function Df(e){return typeof e=="number"?IR:typeof e=="string"?Af(e)?Ua:xe.test(e)?sm:_R:Array.isArray(e)?Yx:typeof e=="object"?xe.test(e)?sm:FR:Ua}function Yx(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>Df(o)(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}}function FR(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Df(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function VR(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 _R=(e,t)=>{const n=It.createTransformer(t),r=qo(e),i=qo(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Bc.has(e)&&!i.values.length||Bc.has(t)&&!r.values.length?jR(e,t):cs(Yx(VR(r,i),i.values),n):(bl(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Ua(e,t))};function Gx(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?fe(e,t,n):Df(e)(e,t)}const zR=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ie.update(t,n),stop:()=>or(t),now:()=>Ae.isProcessing?Ae.timestamp:Ue.now()}},Qx=(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)})`},Wa=2e4;function Lf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Wa;)t+=n,r=e.next(t);return t>=Wa?1/0:t}function BR(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Lf(r),Wa);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:mt(i)}}const $R=5;function Xx(e,t,n){const r=Math.max(t-$R,0);return Rx(n-e(r),t-r)}const ce={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},vu=.001;function UR({duration:e=ce.duration,bounce:t=ce.bounce,velocity:n=ce.velocity,mass:r=ce.mass}){let i,o;bl(e<=vt(ce.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=tn(ce.minDamping,ce.maxDamping,s),e=tn(ce.minDuration,ce.maxDuration,mt(e)),s<1?(i=u=>{const c=u*s,d=c*e,f=c-n,h=$c(u,s),v=Math.exp(-d);return vu-f/h*v},o=u=>{const d=u*s*e,f=d*n+n,h=Math.pow(s,2)*Math.pow(u,2)*e,v=Math.exp(-d),g=$c(Math.pow(u,2),s);return(-i(u)+vu>0?-1:1)*((f-h)*v)/g}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-vu+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=HR(i,o,a);if(e=vt(e),isNaN(l))return{stiffness:ce.stiffness,damping:ce.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const WR=12;function HR(e,t,n){let r=n;for(let i=1;i<WR;i++)r=r-e(r)/t(r);return r}function $c(e,t){return e*Math.sqrt(1-t*t)}const KR=["duration","bounce"],YR=["stiffness","damping","mass"];function am(e,t){return t.some(n=>e[n]!==void 0)}function GR(e){let t={velocity:ce.velocity,stiffness:ce.stiffness,damping:ce.damping,mass:ce.mass,isResolvedFromDuration:!1,...e};if(!am(e,YR)&&am(e,KR))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*tn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ce.mass,stiffness:i,damping:o}}else{const n=UR({...e,velocity:0});t={...t,...n,mass:ce.mass},t.isResolvedFromDuration=!0}return t}function Ha(e=ce.visualDuration,t=ce.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=GR({...n,velocity:-mt(n.velocity||0)}),v=f||0,g=u/(2*Math.sqrt(l*c)),x=s-o,m=mt(Math.sqrt(l/c)),p=Math.abs(x)<5;r||(r=p?ce.restSpeed.granular:ce.restSpeed.default),i||(i=p?ce.restDelta.granular:ce.restDelta.default);let y;if(g<1){const T=$c(m,g);y=C=>{const P=Math.exp(-g*m*C);return s-P*((v+g*m*x)/T*Math.sin(T*C)+x*Math.cos(T*C))}}else if(g===1)y=T=>s-Math.exp(-m*T)*(x+(v+m*x)*T);else{const T=m*Math.sqrt(g*g-1);y=C=>{const P=Math.exp(-g*m*C),b=Math.min(T*C,300);return s-P*((v+g*m*x)*Math.sinh(b)+T*x*Math.cosh(b))/T}}const S={calculatedDuration:h&&d||null,next:T=>{const C=y(T);if(h)a.done=T>=d;else{let P=T===0?v:0;g<1&&(P=T===0?vt(v):Xx(y,T,C));const b=Math.abs(P)<=r,M=Math.abs(s-C)<=i;a.done=b&&M}return a.value=a.done?s:C,a},toString:()=>{const T=Math.min(Lf(S),Wa),C=Qx(P=>S.next(T*P).value,T,30);return T+"ms "+C},toTransition:()=>{}};return S}Ha.applyToOptions=e=>{const t=BR(e,100,Ha);return e.ease=t.ease,e.duration=vt(t.duration),e.type="keyframes",e};function Uc({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=b=>a!==void 0&&b<a||l!==void 0&&b>l,v=b=>a===void 0?l:l===void 0||Math.abs(a-b)<Math.abs(l-b)?a:l;let g=n*t;const x=d+g,m=s===void 0?x:s(x);m!==x&&(g=m-d);const p=b=>-g*Math.exp(-b/r),y=b=>m+p(b),S=b=>{const M=p(b),N=y(b);f.done=Math.abs(M)<=u,f.value=f.done?m:N};let T,C;const P=b=>{h(f.value)&&(T=b,C=Ha({keyframes:[f.value,v(f.value)],velocity:Xx(y,b,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:b=>{let M=!1;return!C&&T===void 0&&(M=!0,S(b),P(b)),T!==void 0&&b>=T?C.next(b-T):(!M&&S(b),f)}}}function QR(e,t,n){const r=[],i=n||vn.mix||Gx,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]||yt:t;a=cs(l,a)}r.push(a)}return r}function XR(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Vi(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=QR(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=Qo(e[d],e[d+1],c);return a[d](f)};return n?c=>u(tn(e[0],e[o-1],c)):u}function qR(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Qo(0,t,r);e.push(fe(n,1,i))}}function ZR(e){const t=[0];return qR(t,e.length-1),t}function JR(e,t){return e.map(n=>n*t)}function eA(e,t){return e.map(()=>t||Fx).splice(0,e.length-1)}function Po({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=fR(r)?r.map(em):em(r),o={done:!1,value:t[0]},s=JR(n&&n.length===t.length?n:ZR(t),e),a=XR(s,t,{ease:Array.isArray(i)?i:eA(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const tA=e=>e!==null;function Of(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(tA),a=i<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!a||r===void 0?o[a]:r}const nA={decay:Uc,inertia:Uc,tween:Po,keyframes:Po,spring:Ha};function qx(e){typeof e.type=="string"&&(e.type=nA[e.type])}class jf{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 rA=e=>e/100;class If extends jf{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!==Ue.now()&&this.tick(Ue.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;qx(t);const{type:n=Po,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=t;let{keyframes:a}=t;const l=n||Po;l!==Po&&typeof a[0]!="number"&&(this.mixKeyframes=cs(rA,Gx(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=Lf(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:h,type:v,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const 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,S=r;if(d){const b=Math.min(this.currentTime,i)/a;let M=Math.floor(b),N=b%1;!N&&b>=1&&(N=1),N===1&&M--,M=Math.min(M,d+1),!!(M%2)&&(f==="reverse"?(N=1-N,h&&(N-=h/a)):f==="mirror"&&(S=s)),y=tn(0,1,N)*a}const T=p?{done:!1,value:c[0]}:S.next(y);o&&!p&&(T.value=o(T.value));let{done:C}=T;!p&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return P&&v!==Uc&&(T.value=Of(c,this.options,x,this.speed)),g&&g(T.value),P&&this.finish(),T}
vendor: 6,020 bytes, line 98
98then(t,n){return this.finished.then(t,n)}get duration(){return mt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+mt(t)}get time(){return mt(this.currentTime)}set time(t){t=vt(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),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(Ue.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=mt(this.currentTime))}play(){var i,o;if(this.isStopped)return;const{driver:t=zR,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(Ue.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 iA(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Sr=e=>e*180/Math.PI,Wc=e=>{const t=Sr(Math.atan2(e[1],e[0]));return Hc(t)},oA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Wc,rotateZ:Wc,skewX:e=>Sr(Math.atan(e[1])),skewY:e=>Sr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Hc=e=>(e=e%360,e<0&&(e+=360),e),lm=Wc,um=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),cm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),sA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:um,scaleY:cm,scale:e=>(um(e)+cm(e))/2,rotateX:e=>Hc(Sr(Math.atan2(e[6],e[5]))),rotateY:e=>Hc(Sr(Math.atan2(-e[2],e[0]))),rotateZ:lm,rotate:lm,skewX:e=>Sr(Math.atan(e[4])),skewY:e=>Sr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Kc(e){return e.includes("scale")?1:0}function Yc(e,t){if(!e||e==="none")return Kc(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=sA,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=oA,i=a}if(!i)return Kc(t);const o=r[t],s=i[1].split(",").map(lA);return typeof o=="function"?o(s):s[o]}const aA=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Yc(n,t)};function lA(e){return parseFloat(e.trim())}const Yi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Gi=new Set(Yi),dm=e=>e===Ki||e===V,uA=new Set(["x","y","z"]),cA=Yi.filter(e=>!uA.has(e));function dA(e){const t=[];return cA.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Wn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Yc(t,"x"),y:(e,{transform:t})=>Yc(t,"y")};Wn.translateX=Wn.x;Wn.translateY=Wn.y;const Mr=new Set;let Gc=!1,Qc=!1,Xc=!1;function Zx(){if(Qc){const e=Array.from(Mr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=dA(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))==null||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Qc=!1,Gc=!1,Mr.forEach(e=>e.complete(Xc)),Mr.clear()}function Jx(){Mr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Qc=!0)})}function fA(){Xc=!0,Jx(),Zx(),Xc=!1}class Ff{constructor(t,n,r,i,o,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Mr.add(this),Gc||(Gc=!0,ie.read(Jx),ie.resolveKeyframes(Zx))):(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])}iA(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Mr.delete(this)}cancel(){this.state==="scheduled"&&(Mr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const hA=e=>e.startsWith("--");function ew(e,t,n){hA(t)?e.style.setProperty(t,n):e.style[t]=n}const pA={};function tw(e,t){const n=kx(e);return()=>pA[t]??n()}const mA=tw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),nw=tw(()=>{try{document.createElement("div").animate({opacity:0}
98,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ho=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,fm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ho([0,.65,.55,1]),circOut:ho([.55,0,1,.45]),backIn:ho([.31,.01,.66,-.59]),backOut:ho([.33,1.53,.69,.99])};function rw(e,t){if(e)return typeof e=="function"?nw()?Qx(e,t):"ease-out":Vx(e)?ho(e):Array.isArray(e)?e.map(n=>rw(n,t)||fm.easeOut):fm[e]}function gA(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=rw(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 iw(e){return typeof e=="function"&&"applyToOptions"in e}function yA({type:e,...t}){return iw(e)&&nw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class ow extends jf{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,Vi(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=yA(t);this.animation=gA(n,r,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=Of(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),ew(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return mt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+mt(t)}get time(){return mt(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=vt(t),n&&this.animation.pause()}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,rangeStart:n,rangeEnd:r,observe:i}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&mA()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),yt):i(this)}}const sw={anticipate:Ox,backInOut:Lx,circInOut:Ix};function vA(e){return e in sw}function xA(e){typeof e.ease=="string"&&vA(e.ease)&&(e.ease=sw[e.ease])}const xu=10;class wA extends ow{constructor(t){xA(t),qx(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:o,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new If({...s,autoplay:!1}),l=Math.max(xu,Ue.now()-this.startTime),u=tn(0,xu,l-xu),c=a.sample(l).value,{name:d}=this.options;o&&d&&ew(o,d,c),n.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const hm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(It.test(e)||e==="0")&&!e.startsWith("url("));function SA(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 EA(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=hm(i,t),a=hm(o,t);return bl(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:SA(e)||(n==="spring"||iw(n))&&r}function qc(e){e.duration=0,e.type="keyframes"}const TA=new Set(["opacity","clipPath","filter","transform"]),CA=kx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function PA(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 CA()&&n&&TA.has(n)&&(n!=="transform"||!u)&&!l&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}const bA=40;class kA extends jf{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var v;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=Ue.now();
98const 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)||Ff;this.keyframeResolver=new h(a,(g,x,m)=>this.onKeyframesResolved(g,x,f,!m),l,u,c),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,i){var x,m;this.keyframeResolver=void 0;const{name:o,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Ue.now(),EA(t,o,s,a)||((vn.instantAnimations||!l)&&(c==null||c(Of(t,r,n))),t[0]=t[t.length-1],qc(r),r.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>bA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},h=!u&&PA(f),v=(m=(x=f.motionValue)==null?void 0:x.owner)==null?void 0:m.current,g=h?new wA({...f,element:v}):new If(f);g.finished.then(()=>{this.notifyFinished()}).catch(yt),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),fA()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function aw(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 RA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function AA(e){const t=RA.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const MA=4;function lw(e,t,n=1){Vi(n<=MA,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=AA(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return Cx(s)?parseFloat(s):s}return Af(i)?lw(i,t,n+1):i}const NA={type:"spring",stiffness:500,damping:25,restSpeed:10},DA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),LA={type:"keyframes",duration:.8},OA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},jA=(e,{keyframes:t})=>t.length>2?LA:Gi.has(e)?e.startsWith("scale")?DA(t[1]):NA:OA,IA=e=>e!==null;function FA(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(IA),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}function uw(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Vf(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?uw(n,e):n}function VA({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 _f=(e,t,n,r={},i,o)=>s=>{const a=Vf(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-vt(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};VA(a)||Object.assign(c,jA(e,c)),c.duration&&(c.duration=vt(c.duration)),c.repeatDelay&&(c.repeatDelay=vt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(qc(c),c.delay===0&&(d=!0)),(vn.instantAnimations||vn.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(d=!0,qc(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!o&&t.get()!==void 0){const f=FA(c.keyframes,a);if(f!==void 0){ie.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new If(c):new kA(c)};function pm(e){const t=[{},{}];
vendor: 8,382 bytes, line 98
98return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function zf(e,t,n,r){if(typeof t=="function"){const[i,o]=pm(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]=pm(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function wi(e,t,n){const r=e.getProps();return zf(r,t,n!==void 0?n:r.custom,e)}const cw=new Set(["width","height","top","left","right","bottom",...Yi]),mm=30,_A=e=>!isNaN(parseFloat(e));class zA{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var o;const i=Ue.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=Ue.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=_A(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new bf);const r=this.events[t].add(n);return t==="change"?()=>{r(),ie.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ue.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>mm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,mm);return Rx(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 _i(e,t){return new zA(e,t)}const Zc=e=>Array.isArray(e);function BA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,_i(n))}function $A(e){return Zc(e)?e[e.length-1]||0:e}function UA(e,t){const n=wi(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=$A(o[s]);BA(e,s,a)}}const Ve=e=>!!(e&&e.getVelocity);function WA(e){return!!(Ve(e)&&e.add)}function Jc(e,t){const n=e.getValue("willChange");if(WA(n))return n.add(t);if(!n&&vn.WillChange){const r=new vn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Bf(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const HA="framerAppearId",dw="data-"+Bf(HA);function fw(e){return e.props[dw]}function KA({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function hw(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:s,...a}=t;const l=e.getDefaultTransition();o=o?uw(o,l):l;const u=o==null?void 0:o.reduceMotion;r&&(o=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in a){const h=e.getValue(f,e.latestValues[f]??null),v=a[f];if(v===void 0||d&&KA(d,f))continue;const g={delay:n,...Vf(o||{},f)},x=h.get();if(x!==void 0&&!h.isAnimating&&!Array.isArray(v)&&v===x&&!g.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const S=fw(e);if(S){const T=window.MotionHandoffAnimation(S,f,ie);T!==null&&(g.startTime=T,m=!0)}}Jc(e,f);const p=u??e.shouldReduceMotion;h.start(_f(f,h,v,p&&cw.has(f)?{type:!1}:g,e,m));const y=h.animation;y&&c.push(y)}if(s){const f=()=>ie.update(()=>{s&&UA(e,s)});c.length?Promise.all(c).then(f):f()}return c}function ed(e,t,n={}){var l;const r=wi(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(hw(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return YA(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 YA(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(ed(l,t,{...s,delay:n+(typeof r=="function"?0:r)+aw(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function GA(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>ed(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=ed(e,t,n);else{const i=typeof t=="function"?wi(e,t,n.custom):t;r=Promise.all(hw(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const QA={test:e=>e==="auto",parse:e=>e},pw=e=>t=>t.test(e),mw=[Ki,V,Jt,Mn,CR,TR,QA],gm=e=>mw.find(pw(e));function XA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||bx(e):!0}const qA=new Set(["brightness","contrast","saturate","opacity"]);function ZA(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Mf)||[];if(!r)return e;const i=n.replace(r,"");let o=qA.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const JA=/\b([a-z-]*)\(.*?\)/gu,td={...It,getAnimatableNone:e=>{const t=e.match(JA);return t?t.map(ZA).join(" "):e}},nd={...It,getAnimatableNone:e=>{const t=It.parse(e);return It.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},ym={...Ki,transform:Math.round},eM={rotate:Mn,rotateX:Mn,rotateY:Mn,rotateZ:Mn,scale:Bs,scaleX:Bs,scaleY:Bs,scaleZ:Bs,skew:Mn,skewX:Mn,skewY:Mn,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:Xo,originX:rm,originY:rm,originZ:V},$f={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,inset:V,insetBlock:V,insetBlockStart:V,insetBlockEnd:V,insetInline:V,insetInlineStart:V,insetInlineEnd:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,paddingBlock:V,paddingBlockStart:V,paddingBlockEnd:V,paddingInline:V,paddingInlineStart:V,paddingInlineEnd:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,marginBlock:V,marginBlockStart:V,marginBlockEnd:V,marginInline:V,marginInlineStart:V,marginInlineEnd:V,fontSize:V,backgroundPositionX:V,backgroundPositionY:V,...eM,zIndex:ym,fillOpacity:Xo,strokeOpacity:Xo,numOctaves:ym},tM={...$f,color:xe,backgroundColor:xe,outlineColor:xe,fill:xe,stroke:xe,borderColor:xe,borderTopColor:xe,borderRightColor:xe,borderBottomColor:xe,borderLeftColor:xe,filter:td,WebkitFilter:td,mask:nd,WebkitMask:nd},gw=e=>tM[e],nM=new Set([td,nd]);function yw(e,t){let n=gw(e);return nM.has(n)||(n=It),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const rM=new Set(["auto","none","0"]);function iM(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!rM.has(o)&&qo(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=yw(n,i)}class oM extends Ff{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];
vendor: 1,295 bytes, line 98
98if(typeof d=="string"&&(d=d.trim(),Af(d))){const f=lw(d,n.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!cw.has(r)||t.length!==2)return;const[i,o]=t,s=gm(i),a=gm(o),l=nm(i),u=nm(o);if(l!==u&&Wn[r]){this.needsMeasurement=!0;return}if(s!==a)if(dm(s)&&dm(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else Wn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||XA(t[i]))&&r.push(i);r.length&&iM(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=Wn[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]=Wn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
vendor: 10,874 bytes, line 98
98h(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}const sM=new Set(["opacity","clipPath","filter","transform"]);function vw(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const xw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function rd(e){return Px(e)&&"offsetHeight"in e}const{schedule:Uf,cancel:PD}=_x(queueMicrotask,!1),kt={x:!1,y:!1};function ww(){return kt.x||kt.y}function aM(e){return e==="x"||e==="y"?kt[e]?null:(kt[e]=!0,()=>{kt[e]=!1}):kt.x||kt.y?null:(kt.x=kt.y=!0,()=>{kt.x=kt.y=!1})}function Sw(e,t){const n=vw(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function lM(e){return!(e.pointerType==="touch"||ww())}function uM(e,t,n={}){const[r,i,o]=Sw(e,n);return r.forEach(s=>{let a=!1,l=!1,u;const c=()=>{s.removeEventListener("pointerleave",v)},d=x=>{u&&(u(x),u=void 0),c()},f=x=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,d(x))},h=()=>{a=!0,window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",f,i)},v=x=>{if(x.pointerType!=="touch"){if(a){l=!0;return}d(x)}},g=x=>{if(!lM(x))return;l=!1;const m=t(s,x);typeof m=="function"&&(u=m,s.addEventListener("pointerleave",v,i))};s.addEventListener("pointerenter",g,i),s.addEventListener("pointerdown",h,i)}),o}const Ew=(e,t)=>t?e===t?!0:Ew(e,t.parentElement):!1,Wf=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,cM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function dM(e){return cM.has(e.tagName)||e.isContentEditable===!0}const fM=new Set(["INPUT","SELECT","TEXTAREA"]);function hM(e){return fM.has(e.tagName)||e.isContentEditable===!0}const sa=new WeakSet;function vm(e){return t=>{t.key==="Enter"&&e(t)}}function wu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const pM=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=vm(()=>{if(sa.has(n))return;wu(n,"down");const i=vm(()=>{wu(n,"up")}),o=()=>wu(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 xm(e){return Wf(e)&&!ww()}const wm=new WeakSet;function mM(e,t,n={}){const[r,i,o]=Sw(e,n),s=a=>{const l=a.currentTarget;if(!xm(a)||wm.has(a))return;sa.add(l),n.stopPropagation&&wm.add(a);const u=t(l,a),c=(h,v)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),sa.has(l)&&sa.delete(l),xm(h)&&typeof u=="function"&&u(h,{success:v})},d=h=>{c(h,l===window||l===document||n.useGlobalTarget||Ew(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),rd(a)&&(a.addEventListener("focus",u=>pM(u,i)),!dM(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Hf(e){return Px(e)&&"ownerSVGElement"in e}const aa=new WeakMap;let Nn;const Tw=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:Hf(r)&&"getBBox"in r?r.getBBox()[t]:r[n],gM=Tw("inline","width","offsetWidth"),yM=Tw("block","height","offsetHeight");function vM({target:e,borderBoxSize:t}){var n;(n=aa.get(e))==null||n.forEach(r=>{r(e,{get width(){return gM(e,t)},get height(){return yM(e,t)}})})}function xM(e){e.forEach(vM)}function wM(){typeof ResizeObserver>"u"||(Nn=new ResizeObserver(xM))}function SM(e,t){Nn||wM();const n=vw(e);return n.forEach(r=>{let i=aa.get(r);i||(i=new Set,aa.set(r,i)),i.add(t),Nn==null||Nn.observe(r)}),()=>{n.forEach(r=>{const i=aa.get(r);i==null||i.delete(t),i!=null&&i.size||Nn==null||Nn.unobserve(r)})}}const la=new Set;let ai;function EM(){ai=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};la.forEach(t=>t(e))},window.addEventListener("resize",ai)}function TM(e){return la.add(e),ai||EM(),()=>{la.delete(e),!la.size&&typeof ai=="function"&&(window.removeEventListener("resize",ai),ai=void 0)}}function Sm(e,t){return typeof e=="function"?TM(e):SM(e,t)}function CM(e){return Hf(e)&&e.tagName==="svg"}const PM=[...mw,xe,It],bM=e=>PM.find(pw(e)),Em=()=>({translate:0,scale:1,origin:0,originPoint:0}),li=()=>({x:Em(),y:Em()}),Tm=()=>({min:0,max:0}),Se=()=>({x:Tm(),y:Tm()}),kM=new WeakMap;function kl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Zo(e){return typeof e=="string"||Array.isArray(e)}const Kf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Yf=["initial",...Kf];function Rl(e){return kl(e.animate)||Yf.some(t=>Zo(e[t]))}function Cw(e){return!!(Rl(e)||e.variants)}function RM(e,t,n){for(const r in t){const i=t[r],o=n[r];if(Ve(i))e.addValue(r,i);else if(Ve(o))e.addValue(r,_i(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,_i(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const id={current:null},Pw={current:!1},AM=typeof window<"u";function MM(){if(Pw.current=!0,!!AM)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>id.current=e.matches;e.addEventListener("change",t),t()}else id.current=!1}const Cm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ka={};function bw(e){Ka=e}function NM(){return Ka}class DM{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:o,blockInitialAnimation:s,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Ff,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Ue.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,ie.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=o,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=Rl(n),this.isVariantNode=Cw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const v=f[h];u[h]!==void 0&&Ve(v)&&v.set(u[h])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,kM.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,o)=>this.bindToMotionValue(o,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Pw.current||MM(),this.shouldReduceMotion=id.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),or(this.notifyUpdate),or(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&sM.has(t)&&this.current instanceof HTMLElement){const{factory:s,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,d=new ow({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:vt(c)}),f=s(d);this.valueSubscriptions.set(t,()=>{f(),d.cancel()});return}const r=Gi.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ie.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ka){const n=Ka[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):Se()}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<Cm.length;r++){const i=Cm[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=RM(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}
vendor: 5,182 bytes, line 98
98addVariantChild(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=_i(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"&&(Cx(r)||bx(r))?r=parseFloat(r):!bM(r)&&It.test(n)&&(r=yw(t,n)),this.setBaseTarget(t,Ve(r)?r.get():r)),Ve(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=zf(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&&!Ve(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 bf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Uf.render(this.render)}}class kw extends DM{constructor(){super(...arguments),this.KeyframeResolver=oM}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;Ve(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class ur{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Rw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function LM({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function OM(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 Su(e){return e===void 0||e===1}function od({scale:e,scaleX:t,scaleY:n}){return!Su(e)||!Su(t)||!Su(n)}function gr(e){return od(e)||Aw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Aw(e){return Pm(e.x)||Pm(e.y)}function Pm(e){return e&&e!=="0%"}function Ya(e,t,n){const r=e-n,i=t*r;return n+i}function bm(e,t,n,r,i){return i!==void 0&&(e=Ya(e,i,r)),Ya(e,n,r)+t}function sd(e,t=0,n=1,r,i){e.min=bm(e.min,t,n,r,i),e.max=bm(e.max,t,n,r,i)}function Mw(e,{x:t,y:n}){sd(e.x,t.translate,t.scale,t.originPoint),sd(e.y,n.translate,n.scale,n.originPoint)}const km=.999999999999,Rm=1.0000000000001;function jM(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a<i;a++){o=n[a],s=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&ci(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Mw(e,s)),r&&gr(o.latestValues)&&ci(e,o.latestValues))}t.x<Rm&&t.x>km&&(t.x=1),t.y<Rm&&t.y>km&&(t.y=1)}function ui(e,t){e.min=e.min+t,e.max=e.max+t}function Am(e,t,n,r,i=.5){const o=fe(e.min,e.max,i);sd(e,t,n,o,r)}function Mm(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function ci(e,t){Am(e.x,Mm(t.x,e.x),t.scaleX,t.scale,t.originX),Am(e.y,Mm(t.y,e.y),t.scaleY,t.scale,t.originY)}function Nw(e,t){return Rw(OM(e.getBoundingClientRect(),t))}function IM(e,t,n){const r=Nw(e,n),{scroll:i}=t;return i&&(ui(r.x,i.offset.x),ui(r.y,i.offset.y)),r}const FM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VM=Yi.length;function _M(e,t,n){let r="",i=!0;for(let o=0;o<VM;o++){const s=Yi[o],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(s.startsWith("scale")?1:0);else{const u=parseFloat(a);l=s.startsWith("scale")?u===1:u===0}if(!l||n){const u=xw(a,$f[s]);if(!l){i=!1;const c=FM[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Gf(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(Gi.has(l)){s=!0;continue}else if(Bx(l)){i[l]=u;continue}else{const c=xw(u,$f[l]);l.startsWith("origin")?(a=!0,o[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=_M(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 Dw(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 Nm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ao={correct:(e,t)=>
vendor: 5,968 bytes, line 98
98{if(!t.target)return e;if(typeof e=="string")if(V.test(e))e=parseFloat(e);else return e;const n=Nm(e,t.target.x),r=Nm(e,t.target.y);return`${n}% ${r}%`}},zM={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=It.parse(e);if(i.length>5)return r;const o=It.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const u=fe(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}},ad={borderRadius:{...ao,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ao,borderTopRightRadius:ao,borderBottomLeftRadius:ao,borderBottomRightRadius:ao,boxShadow:zM};function Lw(e,{layout:t,layoutId:n}){return Gi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ad[e]||e==="opacity")}function Qf(e,t,n){var s;const r=e.style,i=t==null?void 0:t.style,o={};if(!r)return o;for(const a in r)(Ve(r[a])||i&&Ve(i[a])||Lw(a,e)||((s=n==null?void 0:n.getValue(a))==null?void 0:s.liveStyle)!==void 0)&&(o[a]=r[a]);return o}function BM(e){return window.getComputedStyle(e)}class $M extends kw{constructor(){super(...arguments),this.type="html",this.renderInstance=Dw}readValueFromInstance(t,n){var r;if(Gi.has(n))return(r=this.projection)!=null&&r.isProjecting?Kc(n):aA(t,n);{const i=BM(t),o=(Bx(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Nw(t,n)}build(t,n,r){Gf(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Qf(t,n,r)}}const UM={offset:"stroke-dashoffset",array:"stroke-dasharray"},WM={offset:"strokeDashoffset",array:"strokeDasharray"};function HM(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?UM:WM;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}const KM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Ow(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(Gf(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 KM)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&&HM(d,i,o,s,!1)}const jw=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"]),Iw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function YM(e,t,n,r){Dw(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(jw.has(i)?i:Bf(i),t.attrs[i])}function Fw(e,t,n){const r=Qf(e,t,n);for(const i in e)if(Ve(e[i])||Ve(t[i])){const o=Yi.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}class GM extends kw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Se}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Gi.has(n)){const r=gw(n);return r&&r.default||0}return n=jw.has(n)?n:Bf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Fw(t,n,r)}build(t,n,r){Ow(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){YM(t,n,r,i)}mount(t){this.isSVGTag=Iw(t.tagName),super.mount(t)}}const QM=Yf.length;function Vw(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Vw(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<QM;n++){const r=Yf[n],i=e.props[r];(Zo(i)||i===!1)&&(t[r]=i)}return t}function _w(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 XM=[...Kf].reverse(),qM=Kf.length;function ZM(e){return t=>Promise.all(t.map(({animation:n,options:r})=>GA(e,n,r)))}function JM(e){let t=ZM(e),n=Dm(),r=!0,i=!1;const o=u=>(c,d)=>{var h;const f=wi(e,d,u==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(f){const{transition:v,transitionEnd:g,...x}=f;c={...c,...x,...g}}return c};function s(u){t=u(e)}function a(u){const{props:c}=e,d=Vw(e.parent)||{},f=[],h=new Set;let v={},g=1/0;for(let m=0;m<qM;m++){const p=XM[m],y=n[p],S=c[p]!==void 0?c[p]:d[p],T=Zo(S),C=p===u?y.isActive:null;C===!1&&(g=m);let P=S===d[p]&&S!==c[p]&&T;if(P&&(r||i)&&e.manuallyAnimateOnMount&&(P=!1),y.protectedKeys={...v},!y.isActive&&C===null||!S&&!y.prevProp||kl(S)||typeof S=="boolean")continue;if(p==="exit"&&y.isActive&&C!==!0){y.prevResolvedValues&&(v={...v,...y.prevResolvedValues});continue}const b=e2(y.prevProp,S);let M=b||p===u&&y.isActive&&!P&&T||m>g&&T,N=!1;const _=Array.isArray(S)?S:[S];let I=_.reduce(o(p),{});C===!1&&(I={});const{prevResolvedValues:U={}}=y,j={...U,...I},G=k=>{M=!0,h.has(k)&&(N=!0,h.delete(k)),y.needsAnimating[k]=!0;const R=e.getValue(k);R&&(R.liveStyle=!1)};for(const k in j){const R=I[k],O=U[k];if(v.hasOwnProperty(k))continue;let B=!1;Zc(R)&&Zc(O)?B=!_w(R,O):B=R!==O,B?R!=null?G(k):h.add(k):R!==void 0&&h.has(k)?G(k):y.protectedKeys[k]=!0}y.prevProp=S,y.prevResolvedValues=I,y.isActive&&(v={...v,...I}),(r||i)&&e.blockInitialAnimation&&(M=!1);const $=P&&b;M&&(!$||N)&&f.push(..._.map(k=>{const R={type:p};if(typeof k=="string"&&(r||i)&&!$&&e.manuallyAnimateOnMount&&e.parent){const{parent:O}=e,B=wi(O,k);if(O.enteringChildren&&B){const{delayChildren:z}=B.transition||{};R.delay=aw(O.enteringChildren,e,z)}}return{animation:k,options:R}}))}if(h.size){const m={};if(typeof c.initial!="boolean"){const p=wi(e,Array.isArray(c.initial)?c.initial[0]:c.initial);p&&p.transition&&(m.transition=p.transition)}
vendor: 2,849 bytes, line 98
98h.forEach(p=>{const y=e.getBaseTarget(p),S=e.getValue(p);S&&(S.liveStyle=!0),m[p]=y??null}),f.push({animation:m})}let x=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,i=!1,x?t(f):Promise.resolve()}function l(u,c){var f;if(n[u].isActive===c)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(h=>{var v;return(v=h.animationState)==null?void 0:v.setActive(u,c)}),n[u].isActive=c;const d=a(u);for(const h in n)n[h].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Dm(),i=!0}}}function e2(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!_w(t,e):!1}function hr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Dm(){return{animate:hr(!0),whileInView:hr(),whileHover:hr(),whileTap:hr(),whileDrag:hr(),whileFocus:hr(),exit:hr()}}function Lm(e,t){e.min=t.min,e.max=t.max}function bt(e,t){Lm(e.x,t.x),Lm(e.y,t.y)}function Om(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const zw=1e-4,t2=1-zw,n2=1+zw,Bw=.01,r2=0-Bw,i2=0+Bw;function We(e){return e.max-e.min}function o2(e,t,n){return Math.abs(e-t)<=n}function jm(e,t,n,r=.5){e.origin=r,e.originPoint=fe(t.min,t.max,e.origin),e.scale=We(n)/We(t),e.translate=fe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=t2&&e.scale<=n2||isNaN(e.scale))&&(e.scale=1),(e.translate>=r2&&e.translate<=i2||isNaN(e.translate))&&(e.translate=0)}function bo(e,t,n,r){jm(e.x,t.x,n.x,r?r.originX:void 0),jm(e.y,t.y,n.y,r?r.originY:void 0)}function Im(e,t,n){e.min=n.min+t.min,e.max=e.min+We(t)}function s2(e,t,n){Im(e.x,t.x,n.x),Im(e.y,t.y,n.y)}function Fm(e,t,n){e.min=t.min-n.min,e.max=e.min+We(t)}function Ga(e,t,n){Fm(e.x,t.x,n.x),Fm(e.y,t.y,n.y)}function Vm(e,t,n,r,i){return e-=t,e=Ya(e,1/n,r),i!==void 0&&(e=Ya(e,1/i,r)),e}function a2(e,t=0,n=1,r=.5,i,o=e,s=e){if(Jt.test(t)&&(t=parseFloat(t),t=fe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=fe(o.min,o.max,r);e===o&&(a-=t),e.min=Vm(e.min,t,n,a,i),e.max=Vm(e.max,t,n,a,i)}function _m(e,t,[n,r,i],o,s){a2(e,t[n],t[r],t[i],t.scale,o,s)}const l2=["x","scaleX","originX"],u2=["y","scaleY","originY"];function zm(e,t,n,r){_m(e.x,t,l2,n?n.x:void 0,r?r.x:void 0),_m(e.y,t,u2,n?n.y:void 0,r?r.y:void 0)}function Bm(e){return e.translate===0&&e.scale===1}function $w(e){return Bm(e.x)&&Bm(e.y)}function $m(e,t){return e.min===t.min&&e.max===t.max}function c2(e,t){return $m(e.x,t.x)&&$m(e.y,t.y)}function Um(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Uw(e,t){return Um(e.x,t.x)&&Um(e.y,t.y)}function Wm(e){return We(e.x)/We(e.y)}function Hm(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Ut(e){return[e("x"),e("y")]}function d2(e,t,n){let r="";
vendor: 4,748 bytes, line 98
98const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),v&&(r+=`skewY(${v}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const Ww=["TopLeft","TopRight","BottomLeft","BottomRight"],f2=Ww.length,Km=e=>typeof e=="string"?parseFloat(e):e,Ym=e=>typeof e=="number"||V.test(e);function h2(e,t,n,r,i,o){i?(e.opacity=fe(0,n.opacity??1,p2(r)),e.opacityExit=fe(t.opacity??1,0,m2(r))):o&&(e.opacity=fe(t.opacity??1,n.opacity??1,r));for(let s=0;s<f2;s++){const a=`border${Ww[s]}Radius`;let l=Gm(t,a),u=Gm(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Ym(l)===Ym(u)?(e[a]=Math.max(fe(Km(l),Km(u),r),0),(Jt.test(u)||Jt.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=fe(t.rotate||0,n.rotate||0,r))}function Gm(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const p2=Hw(0,.5,jx),m2=Hw(.5,.95,yt);function Hw(e,t,n){return r=>r<e?0:r>t?1:n(Qo(e,t,r))}function g2(e,t,n){const r=Ve(e)?e:_i(e);return r.start(_f("",r,t,n)),r.animation}function Jo(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const y2=(e,t)=>e.depth-t.depth;class v2{constructor(){this.children=[],this.isDirty=!1}add(t){Pf(this.children,t),this.isDirty=!0}remove(t){$a(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(y2),this.isDirty=!1,this.children.forEach(t)}}function x2(e,t){const n=Ue.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(or(r),e(o-t))};return ie.setup(r,!0),()=>or(r)}function ua(e){return Ve(e)?e.get():e}class w2{constructor(){this.members=[]}add(t){Pf(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;(!i||i.isConnected===!1)&&!r.snapshot&&($a(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if($a(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){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const i=this.members[r];if(i.isPresent!==!1&&((n=i.instance)==null?void 0:n.isConnected)!==!1)return this.promote(i),!0}return!1}promote(t,n){var i;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=r.options,{layoutDependency:s}=t.options;(o===void 0||o!==s)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(i=t.root)!=null&&i.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,o,s;(r=(n=t.options).onExitComplete)==null||r.call(n),(s=(i=t.resumingFrom)==null?void 0:(o=i.options).onExitComplete)==null||s.call(o)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const ca={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Eu=["","X","Y","Z"],S2=1e3;let E2=0;function Tu(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Kw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=fw(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ie,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Kw(r)}function Yw({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=E2++,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 98
98{this.projectionUpdateScheduled=!1,this.nodes.forEach(P2),this.nodes.forEach(A2),this.nodes.forEach(M2),this.nodes.forEach(b2)},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 v2)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new bf),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=Hf(s)&&!CM(s),this.instance=s;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,d=0;const f=()=>this.root.updateBlockedByResize=!1;ie.read(()=>{d=window.innerWidth}),e(s,()=>{const h=window.innerWidth;h!==d&&(d=h,this.root.updateBlockedByResize=!0,c&&c(),c=x2(f,250),ca.hasAnimatedSinceResize&&(ca.hasAnimatedSinceResize=!1,this.nodes.forEach(qm)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||j2,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=u.getProps(),m=!this.targetLayout||!Uw(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={...Vf(v,"layout"),onPlay:g,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(c,p)}else d||qm(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(),or(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(N2),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&&Kw(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(Qm);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Xm);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(R2),this.nodes.forEach(T2),this.nodes.forEach(C2)):this.nodes.forEach(Xm),this.clearAllSnapshots();const a=Ue.now();Ae.delta=tn(0,1e3/60,a-Ae.timestamp),Ae.timestamp=a,Ae.isProcessing=!0,pu.update.process(Ae),pu.preRender.process(Ae),pu.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Uf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(k2),this.sharedNodes.forEach(D2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ie.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ie.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!We(this.snapshot.measuredBox.x)&&!We(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=Se(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!$w(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&this.instance&&(a||gr(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),I2(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:s}=this.options;if(!s)return Se();const a=s.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(F2))){const{scroll:c}=this.root;c&&(ui(a.x,c.offset.x),ui(a.y,c.offset.y))}return a}removeElementScroll(s){var l;const a=Se();if(bt(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&&bt(a,s),ui(a.x,d.offset.x),ui(a.y,d.offset.y))}return a}applyTransform(s,a=!1){const l=Se();bt(l,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ci(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),gr(c.latestValues)&&ci(l,c.latestValues)}return gr(this.latestValues)&&ci(l,this.latestValues),l}removeTransform(s){const a=Se();bt(a,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!gr(u.latestValues))continue;od(u.latestValues)&&u.updateSnapshot();const c=Se(),d=u.measurePageBox();bt(c,d),zm(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return gr(this.latestValues)&&zm(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var h;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(h=this.parent)!=null&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:d}=this.options;if(!this.layout||!(c||d))return;this.resolvedRelativeTargetAt=Ae.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Se(),this.targetWithTransforms=Se()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s2(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):bt(this.target,this.layout.layoutBox),Mw(this.target,this.targetDelta)):bt(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||od(this.parent.latestValues)||Aw(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=Se(),this.relativeTargetOrigin=Se(),Ga(this.relativeTargetOrigin,a,l),bt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var v;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&
vendor: 5,299 bytes, line 98
98(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;bt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;jM(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=Se());const{target:h}=s;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Om(this.prevProjectionDelta.x,this.projectionDelta.x),Om(this.prevProjectionDelta.y,this.projectionDelta.y)),bo(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!Hm(this.projectionDelta.x,this.prevProjectionDelta.x)||!Hm(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=li(),this.projectionDelta=li(),this.projectionDeltaWithTransform=li()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=li();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=Se(),h=l?l.source:void 0,v=this.layout?this.layout.source:void 0,g=h!==v,x=this.getStack(),m=!x||x.members.length<=1,p=!!(g&&!m&&this.options.crossfade===!0&&!this.path.some(O2));this.animationProgress=0;let y;this.mixTargetDelta=S=>{const T=S/1e3;Zm(d.x,s.x,T),Zm(d.y,s.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ga(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),L2(this.relativeTarget,this.relativeTargetOrigin,f,T),y&&c2(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=Se()),bt(y,this.relativeTarget)),g&&(this.animationValues=c,h2(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&&(or(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ie.update(()=>{ca.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=_i(0)),this.motionValue.jump(0,!1),this.currentAnimation=g2(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(S2),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&&Gw(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Se();const d=We(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=We(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}bt(a,l),ci(a,c),bo(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new w2),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: 14,551 bytes, lines 98-106
98resetSkewAndRotation(){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&&Tu("z",s,u,this.animationValues);for(let c=0;c<Eu.length;c++)Tu(`rotate${Eu[c]}`,s,u,this.animationValues),Tu(`skew${Eu[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=ua(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=ua(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!gr(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=d2(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),s.transform=d;const{x:f,y:h}=this.projectionDelta;s.transformOrigin=`${f.origin*100}% ${h.origin*100}% 0`,u.animationValues?s.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:s.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const v in ad){if(c[v]===void 0)continue;const{correct:g,applyTo:x,isCSSVariable:m}=ad[v],p=d==="none"?c[v]:g(c[v],u);if(x){const y=x.length;for(let S=0;S<y;S++)s[x[S]]=p}else m?this.options.visualElement.renderState.vars[v]=p:s[v]=p}this.options.layoutId&&(s.pointerEvents=u===this?ua(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(Qm),this.root.sharedNodes.clear()}}}function T2(e){e.updateLayout()}function C2(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=t.source!==e.layout.source;o==="size"?Ut(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=We(f);f.min=r[d].min,f.max=f.min+h}):Gw(o,t.layoutBox,r)&&Ut(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],h=We(r[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const a=li();bo(a,r,t.layoutBox);const l=li();s?bo(l,e.applyTransform(i,!0),t.measuredBox):bo(l,r,t.layoutBox);const u=!$w(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const v=Se();Ga(v,t.layoutBox,f.layoutBox);const g=Se();Ga(g,r,h.layoutBox),Uw(v,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function P2(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 b2(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function k2(e){e.clearSnapshot()}function Qm(e){e.clearMeasurements()}function Xm(e){e.isLayoutDirty=!1}function R2(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function qm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function A2(e){e.resolveTargetDelta()}function M2(e){e.calcProjection()}function N2(e){e.resetSkewAndRotation()}function D2(e){e.removeLeadSnapshot()}function Zm(e,t,n){e.translate=fe(t.translate,0,n),e.scale=fe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Jm(e,t,n,r){e.min=fe(t.min,n.min,r),e.max=fe(t.max,n.max,r)}function L2(e,t,n,r){Jm(e.x,t.x,n.x,r),Jm(e.y,t.y,n.y,r)}function O2(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const j2={duration:.45,ease:[.4,0,.1,1]},eg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),tg=eg("applewebkit/")&&!eg("chrome/")?Math.round:yt;function ng(e){e.min=tg(e.min),e.max=tg(e.max)}function I2(e){ng(e.x),ng(e.y)}function Gw(e,t,n){return e==="position"||e==="preserve-aspect"&&!o2(Wm(t),Wm(n),.2)}function F2(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const V2=Yw({attachResizeListener:(e,t)=>Jo(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Cu={current:void 0},Qw=Yw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Cu.current){const e=new V2({});e.mount(window),e.setOptions({layoutScroll:!0}),Cu.current=e}return Cu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Xf=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function rg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function _2(...e){return t=>{let n=!1;const r=e.map(i=>{const o=rg(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():rg(e[i],null)}}}}function z2(...e){return w.useCallback(_2(...e),e)}class B2 extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=rd(r)&&r.offsetWidth||0,o=rd(r)&&r.offsetHeight||0,s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft,s.right=i-s.width-s.left,s.bottom=o-s.height-s.top}return null}componentDidUpdate(){}render(){return this.props.children}}function $2({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:o}){var f;const s=w.useId(),a=w.useRef(null),l=w.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=w.useContext(Xf),c=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),d=z2(a,c);return w.useInsertionEffect(()=>{const{width:h,height:v,top:g,left:x,right:m,bottom:p}=l.current;if(t||o===!1||!a.current||!h||!v)return;const y=n==="left"?`left: ${x}`:`right: ${m}`,S=r==="bottom"?`bottom: ${p}`:`top: ${g}`;a.current.dataset.motionPopId=s;const T=document.createElement("style");u&&(T.nonce=u);const C=i??document.head;return C.appendChild(T),T.sheet&&T.sheet.insertRule(`
99          [data-motion-pop-id="${s}"] {
100            position: absolute !important;
101            width: ${h}px !important;
102            height: ${v}px !important;
103            ${y}px !important;
104            ${S}px !important;
105          }
106        `),()=>{C.contains(T)&&C.removeChild(T)}},[t]),E.jsx(B2,{isPresent:t,childRef:a,sizeRef:l,pop:o,children:o===!1?e:w.cloneElement(e,{ref:d})})}const U2=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s,anchorX:a,anchorY:l,root:u})=>{const c=Cf(W2),d=w.useId();let f=!0,h=w.useMemo(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:v=>{c.set(v,!0);for(const g of c.values())if(!g)return;r&&r()},register:v=>(c.set(v,!1),()=>c.delete(v))}),[n,c,r]);return o&&f&&(h={...h}),w.useMemo(()=>{c.forEach((v,g)=>c.set(g,!1))},[n]),w.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),e=E.jsx($2,{pop:s==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),E.jsx(Pl.Provider,{value:h,children:e})};function W2(){return new Map}function Xw(e=!0){const t=w.useContext(Pl);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=w.useId();w.useEffect(()=>{if(e)return i(o)},[e]);const s=w.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}const $s=e=>e.key||"";function ig(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const H2=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:s=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,d]=Xw(s),f=w.useMemo(()=>ig(e),[e]),h=s&&!c?[]:f.map($s),v=w.useRef(!0),g=w.useRef(f),x=Cf(()=>new Map),m=w.useRef(new Set),[p,y]=w.useState(f),[S,T]=w.useState(f);Tx(()=>{v.current=!1,g.current=f;for(let b=0;b<S.length;b++){const M=$s(S[b]);h.includes(M)?(x.delete(M),m.current.delete(M)):x.get(M)!==!0&&x.set(M,!1)}},[S,h.length,h.join("-")]);const C=[];if(f!==p){let b=[...f];for(let M=0;M<S.length;M++){const N=S[M],_=$s(N);h.includes(_)||(b.splice(M,0,N),C.push(N))}return o==="wait"&&C.length&&(b=C),T(ig(b)),y(f),null}const{forceRender:P}=w.useContext(Tf);return E.jsx(E.Fragment,{children:S.map(b=>{const M=$s(b),N=s&&!c?!1:f===S||h.includes(M),_=()=>{if(m.current.has(M))return;if(m.current.add(M),x.has(M))x.set(M,!0);else return;let I=!0;x.forEach(U=>{U||(I=!1)}),I&&(P==null||P(),T(g.current),s&&(d==null||d()),r&&r())};return E.jsx(U2,{isPresent:N,initial:!v.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:o,root:u,onExitComplete:N?void 0:_,anchorX:a,anchorY:l,children:b},M)})})},qw=w.createContext({strict:!1}),og={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 sg=!1;function K2(){if(sg)return;const e={};for(const t in og)e[t]={isEnabled:n=>og[t].some(r=>!!n[r])};bw(e),sg=!0}function Zw(){return K2(),NM()}function Y2(e){const t=Zw();for(const n in e)t[n]={...t[n],...e[n]};bw(t)}const G2=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Qa(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||G2.has(e)}let Jw=e=>!Qa(e);function Q2(e){typeof e=="function"&&(Jw=t=>t.startsWith("on")?!Qa(t):e(t))}try{Q2(require("@emotion/is-prop-valid").default)}catch{}function X2(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Jw(i)||n===!0&&Qa(i)||!t&&!Qa(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Al=w.createContext({});function q2(e,t){if(Rl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Zo(n)?n:void 0,animate:Zo(r)?r:void 0}}return e.inherit!==!1?t:{}}function Z2(e){const{initial:t,animate:n}=q2(e,w.useContext(Al));return w.useMemo(()=>({initial:t,animate:n}),[ag(t),ag(n)])}function ag(e){return Array.isArray(e)?e.join(" "):e}const qf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function e1(e,t,n){for(const r in t)!Ve(t[r])&&!Lw(r,n)&&(e[r]=t[r])}function J2({transformTemplate:e},t){return w.useMemo(()=>{const n=qf();return Gf(n,t,e),Object.assign({},n.vars,n.style)},[t])}function eN(e,t){const n=e.style||{},r={};return e1(r,n,e),Object.assign(r,J2(e,t)),r}function tN(e,t){const n={},r=eN(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 t1=()=>({...qf(),attrs:{}});function nN(e,t,n,r){const i=w.useMemo(()=>{const o=t1();return Ow(o,t,Iw(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};e1(o,e.style,e),i.style={...o,...i.style}}return i}const rN=["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 Zf(e){return typeof e!="string"||e.includes("-")?!1:!!(rN.indexOf(e)>-1||/[A-Z]/u.test(e))}function iN(e,t,n,{latestValues:r},i,o=!1,s){const l=(s??Zf(e)?nN:tN)(t,r,i,e),u=X2(t,typeof e=="string",o),c=e!==w.Fragment?{...u,...l,ref:n}:{},{children:d}=t,f=w.useMemo(()=>Ve(d)?d.get():d,[d]);return w.createElement(e,{...c,children:f})}function oN({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:sN(n,r,i,e),renderState:t()}}function sN(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=ua(o[f]);let{initial:s,animate:a}=e;const l=Rl(e),u=Cw(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"&&!kl(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const v=zf(e,f[h]);if(v){const{transitionEnd:g,transition:x,...m}=v;for(const p in m){let y=m[p];if(Array.isArray(y)){const S=c?y.length-1:0;y=y[S]}y!==null&&(i[p]=y)}for(const p in g)i[p]=g[p]}}}return i}const n1=e=>(t,n)=>{const r=w.useContext(Al),i=w.useContext(Pl),o=()=>oN(e,t,r,i);return n?o():Cf(o)},aN=n1({scrapeMotionValuesFromProps:Qf,createRenderState:qf}),lN=n1({scrapeMotionValuesFromProps:Fw,createRenderState:t1}),uN=Symbol.for("motionComponentSymbol");function cN(e,t,n){const r=w.useRef(n);w.useInsertionEffect(()=>{r.current=n});const i=w.useRef(null);return w.useCallback(o=>{var a;o&&((a=e.onMount)==null||a.call(e,o));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&&(o?t.mount(o):t.unmount())},[t])}
vendor: 18,680 bytes, line 106
106const r1=w.createContext({});function Yr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dN(e,t,n,r,i,o){var y,S;const{visualElement:s}=w.useContext(Al),a=w.useContext(qw),l=w.useContext(Pl),u=w.useContext(Xf),c=u.reducedMotion,d=u.skipAnimations,f=w.useRef(null),h=w.useRef(!1);r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:d,isSVG:o}),h.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const v=f.current,g=w.useContext(r1);v&&!v.projection&&i&&(v.type==="html"||v.type==="svg")&&fN(f.current,n,i,g);const x=w.useRef(!1);w.useInsertionEffect(()=>{v&&x.current&&v.update(n,l)});const m=n[dw],p=w.useRef(!!m&&typeof window<"u"&&!((y=window.MotionHandoffIsComplete)!=null&&y.call(window,m))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,m)));return Tx(()=>{h.current=!0,v&&(x.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),p.current&&v.animationState&&v.animationState.animateChanges())}),w.useEffect(()=>{v&&(!p.current&&v.animationState&&v.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{var T;(T=window.MotionHandoffMarkAsComplete)==null||T.call(window,m)}),p.current=!1),v.enteringChildren=void 0)}),v}function fN(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:i1(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&Yr(a),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}function i1(e){if(e)return e.options.allowProjection!==!1?e.projection:i1(e.parent)}function Pu(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Y2(r);const o=n?n==="svg":Zf(e),s=o?lN:aN;function a(u,c){let d;const f={...w.useContext(Xf),...u,layoutId:hN(u)},{isStatic:h}=f,v=Z2(u),g=s(u,h);if(!h&&typeof window<"u"){pN();const x=mN(f);d=x.MeasureLayout,v.visualElement=dN(e,g,f,i,x.ProjectionNode,o)}return E.jsxs(Al.Provider,{value:v,children:[d&&v.visualElement?E.jsx(d,{visualElement:v.visualElement,...f}):null,iN(e,u,cN(g,v.visualElement,c),g,h,t,o)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=w.forwardRef(a);return l[uN]=e,l}function hN({layoutId:e}){const t=w.useContext(Tf).id;return t&&e!==void 0?t+"-"+e:e}function pN(e,t){w.useContext(qw).strict}function mN(e){const t=Zw(),{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 gN(e,t){if(typeof Proxy>"u")return Pu;const n=new Map,r=(o,s)=>Pu(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,Pu(s,void 0,e,t)),n.get(s))})}const yN=(e,t)=>t.isSVG??Zf(e)?new GM(t):new $M(t,{allowProjection:e!==w.Fragment});class vN extends ur{constructor(t){super(t),t.animationState||(t.animationState=JM(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();kl(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 xN=0;class wN extends ur{constructor(){super(...arguments),this.id=xN++}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 SN={animation:{Feature:vN},exit:{Feature:wN}};function hs(e){return{point:{x:e.pageX,y:e.pageY}}}const EN=e=>t=>Wf(t)&&e(t,hs(t));function ko(e,t,n,r){return Jo(e,t,EN(n),r)}const o1=({current:e})=>e?e.ownerDocument.defaultView:null,lg=(e,t)=>Math.abs(e-t);function TN(e,t){const n=lg(e.x,t.x),r=lg(e.y,t.y);return Math.sqrt(n**2+r**2)}const ug=new Set(["auto","scroll"]);class s1{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=ku(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,g=TN(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!v&&!g)return;const{point:x}=h,{timestamp:m}=Ae;this.history.push({...x,timestamp:m});const{onStart:p,onMove:y}=this.handlers;v||(p&&p(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,h)},this.handlePointerMove=(h,v)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=bu(v,this.transformPagePoint),ie.update(this.updatePoint,!0)},this.handlePointerUp=(h,v)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:m}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=ku(h.type==="pointercancel"?this.lastMoveEventInfo:bu(v,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,p),x&&x(h,p)},!Wf(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=i||window;const l=hs(t),u=bu(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=Ae;this.history=[{...c,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,ku(u,this.history)),this.removeListeners=cs(ko(this.contextWindow,"pointermove",this.handlePointerMove),ko(this.contextWindow,"pointerup",this.handlePointerUp),ko(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(ug.has(r.overflowX)||ug.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}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},o={x:i.x-n.x,y:i.y-n.y};o.x===0&&o.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(t,i),ie.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),or(this.updatePoint)}}function bu(e,t){return t?{point:t(e.point)}:e}function cg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ku({point:e},t){return{point:e,delta:cg(e,a1(t)),offset:cg(e,CN(t)),velocity:PN(t,.1)}}function CN(e){return e[0]}function a1(e){return e[e.length-1]}function PN(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=a1(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>vt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>vt(t)*2&&(r=e[1]);const o=mt(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 bN(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?fe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?fe(n,e,r.max):Math.min(e,n)),e}function dg(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 kN(e,{top:t,left:n,bottom:r,right:i}){return{x:dg(e.x,n,i),y:dg(e.y,t,r)}}function fg(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 RN(e,t){return{x:fg(e.x,t.x),y:fg(e.y,t.y)}}function AN(e,t){let n=.5;const r=We(e),i=We(t);return i>r?n=Qo(t.min,t.max-r,e.min):r>i&&(n=Qo(e.min,e.max-i,t.min)),tn(0,1,n)}function MN(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 ld=.35;function NN(e=ld){return e===!1?e=0:e===!0&&(e=ld),{x:hg(e,"left","right"),y:hg(e,"top","bottom")}}function hg(e,t,n){return{min:pg(e,t),max:pg(e,n)}}function pg(e,t){return typeof e=="number"?e:e[t]||0}const DN=new WeakMap;class LN{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=Se(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=d=>{n&&this.snapToCursor(hs(d).point),this.stopAnimation()},s=(d,f)=>{const{drag:h,dragPropagation:v,onDragStart:g}=this.getProps();if(h&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=aM(h),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ut(m=>{let p=this.getAxisMotionValue(m).get()||0;if(Jt.test(p)){const{projection:y}=this.visualElement;if(y&&y.layout){const S=y.layout.layoutBox[m];S&&(p=We(S)*(parseFloat(p)/100))}}this.originPoint[m]=p}),g&&ie.update(()=>g(d,f),!1,!0),Jc(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:h,dragDirectionLock:v,onDirectionLock:g,onDrag:x}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:m}=f;if(v&&this.currentDirection===null){this.currentDirection=jN(m),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,m),this.updateAxis("y",f.point,m),this.visualElement.render(),x&&ie.update(()=>x(d,f),!1,!0)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new s1(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:o1(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!i||!r)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&ie.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Us(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=bN(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&&Yr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=kN(r.layoutBox,t):this.constraints=!1,this.elastic=NN(n),i!==this.constraints&&!Yr(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Ut(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=MN(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Yr(t))return!1;const r=t.current;Vi(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=IM(r,i.root,this.visualElement.getTransformPagePoint());let s=RN(i.layout.layoutBox,o);if(n){const a=n(LM(s));this.hasMutatedConstraints=!!a,a&&(s=Rw(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Ut(c=>{if(!Us(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=i?200:1e6,h=i?40:1e7,v={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,v)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Jc(this.visualElement,t),r.start(_f(t,r,0,n,this.visualElement,!1))}stopAnimation(){Ut(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Ut(n=>{const{drag:r}=this.getProps();if(!Us(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n],l=o.get()||0;o.set(t[n]-fe(s,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Yr(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ut(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();i[s]=AN({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ut(s=>{if(!Us(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(fe(l,u,i[s]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;DN.set(this.visualElement,this);const t=this.visualElement.current,n=ko(t,"pointerdown",u=>{const{drag:c,dragListener:d=!0}=this.getProps(),f=u.target,h=f!==t&&hM(f);c&&d&&!h&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();Yr(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=ON(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,s=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),ie.read(i);const a=Jo(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Ut(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=u[d].translate,f.set(f.get()+u[d].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=ld,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function mg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function ON(e,t,n){const r=Sm(e,mg(n)),i=Sm(t,mg(n));return()=>{r(),i()}}function Us(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function jN(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class IN extends ur{constructor(t){super(t),this.removeGroupControls=yt,this.removeListeners=yt,this.controls=new LN(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||yt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Ru=e=>(t,n)=>{e&&ie.update(()=>e(t,n),!1,!0)};class FN extends ur{constructor(){super(...arguments),this.removePointerDownListener=yt}onPointerDown(t){this.session=new s1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:o1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Ru(t),onStart:Ru(n),onMove:Ru(r),onEnd:(o,s)=>{delete this.session,i&&ie.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=ko(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Au=!1;class VN extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),Au&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ca.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,{projection:s}=r;return s&&(s.isPresent=o,t.layoutDependency!==n&&s.setOptions({...s.options,layoutDependency:n}),Au=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==o?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||ie.postRender(()=>
106{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Uf.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;Au=!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 l1(e){const[t,n]=Xw(),r=w.useContext(Tf);return E.jsx(VN,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(r1),isPresent:t,safeToRemove:n})}const _N={pan:{Feature:FN},drag:{Feature:IN,ProjectionNode:Qw,MeasureLayout:l1}};function gg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&ie.postRender(()=>o(t,hs(t)))}class zN extends ur{mount(){const{current:t}=this.node;t&&(this.unmount=uM(t,(n,r)=>(gg(this.node,r,"Start"),i=>gg(this.node,i,"End"))))}unmount(){}}class BN extends ur{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=cs(Jo(this.node.current,"focus",()=>this.onFocus()),Jo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function yg(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&ie.postRender(()=>o(t,hs(t)))}class $N extends ur{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=mM(t,(i,o)=>(yg(this.node,o,"Start"),(s,{success:a})=>yg(this.node,s,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const ud=new WeakMap,Mu=new WeakMap,UN=e=>{const t=ud.get(e.target);t&&t(e)},WN=e=>{e.forEach(UN)};function HN({root:e,...t}){const n=e||document;Mu.has(n)||Mu.set(n,{});const r=Mu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(WN,{root:e,...t})),r[i]}function KN(e,t,n){const r=HN(t);return ud.set(e,n),r.observe(e),()=>{ud.delete(e),r.unobserve(e)}}const YN={some:0,all:1};class GN extends ur{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:YN[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 KN(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(QN(t,n))&&this.startObserver()}unmount(){}}function QN({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const XN={inView:{Feature:GN},tap:{Feature:$N},focus:{Feature:BN},hover:{Feature:zN}},qN={layout:{ProjectionNode:Qw,MeasureLayout:l1}},ZN={...SN,...XN,..._N,...qN},Wt=gN(ZN,yN),Jf="https://book.stripe.com/5kQ14o5VYfMh8d024AbV60Q",JN=()=>{const[e,t]=w.useState(!1);return w.useEffect(()=>{const n=()=>t(window.scrollY>400);return window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]),E.jsx(H2,{children:e&&E.jsxs(Wt.header,{initial:{y:-52},animate:{y:0},exit:{y:-52},transition:{duration:.25},className:"fixed top-0 left-0 right-0 z-50 h-[52px] flex items-center justify-between px-6 md:px-10",style:{background:"rgba(11,30,38,0.92)",backdropFilter:"blur(12px)"},children:[E.jsx("span",{className:"font-mono-label text-cream",children:"Calvalyn Day"}),E.jsxs("a",{href:Jf,className:"bg-teal text-primary-foreground font-body text-sm font-medium px-4 py-2 rounded-[4px] hover:brightness-110 transition-all",children:["Get Support Now — ",E.jsx("span",{className:"line-through opacity-70 mr-1",children:"$1,200"})," $960 →"]})]})})},eD="/assets/calvalyn-headshot-BQtXqTH9.png",vg="diagnostic_offer_deadline",xg=30*60*1e3,u1=()=>{const[e,t]=w.useState(xg);w.useEffect(()=>{let o=Number(localStorage.getItem(vg));(!o||o<Date.now())&&(o=Date.now()+xg,localStorage.setItem(vg,String(o)));const s=()=>t(Math.max(0,o-Date.now()));s();const a=setInterval(s,1e3);return()=>clearInterval(a)},[]);const n=Math.floor(e/6e4),r=Math.floor(e%6e4/1e3),i=o=>String(o).padStart(2,"0");return E.jsxs("div",{className:"inline-flex flex-col items-center gap-2 px-5 py-4 rounded-[4px] border border-teal/40 bg-teal/5",children:[E.jsx("p",{className:"section-label !text-teal",children:"Available only on this page"}),E.jsxs("p",{className:"font-display text-cream text-[22px] md:text-[26px] leading-tight text-center",children:["20% off ",E.jsx("span",{className:"text-teal",children:"+"})," 1 month of Voxer Coaching",E.jsx("span",{className:"font-body text-muted text-sm ml-2",children:"($199 value)"})]}),E.jsxs("div",{className:"font-mono-label text-cream text-[18px] tracking-[0.18em] tabular-nums",children:[i(n),":",i(r)]})]})},tD=()=>{const[e,t]=w.useState(!0);return w.useEffect(()=>{const n=()=>{window.scrollY>50&&t(!1)};return window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]),E.jsxs("section",{className:"relative min-h-screen flex items-center justify-center px-6",children:[E.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")`,backgroundSize:"128px"}}),E.jsxs("div",{className:"max-w-[760px] mx-auto relative z-10",children:[E.jsxs("div",{className:"flex flex-col lg:flex-row items-center gap-10 lg:gap-14",children:[E.jsx(Wt.div,{initial:{opacity:0,scale:.95}
106,animate:{opacity:1,scale:1},transition:{duration:.7},className:"flex-shrink-0",children:E.jsx("img",{src:eD,alt:"Calvalyn Day",className:"w-48 h-48 md:w-56 md:h-56 rounded-full object-cover border-2 border-teal/30 shadow-lg shadow-teal/10"})}),E.jsxs("div",{className:"text-center lg:text-left",children:[E.jsxs(Wt.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6},className:"flex items-center justify-center lg:justify-start gap-3 mb-8",children:[E.jsx("span",{className:"w-10 h-px bg-teal inline-block"}),E.jsx("span",{className:"section-label",children:"Practice Revenue Diagnostic"})]}),E.jsxs(Wt.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.15},className:"font-display text-cream text-[40px] md:text-[60px] leading-[1.1] mb-6",children:["You've Built",`
107`,"Something Great,",`
108`,E.jsx("em",{children:"Let's Protect it."})]}),E.jsx(Wt.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.45},className:"font-display italic text-teal text-xl md:text-[28px] mb-8",children:"I'll show you exactly how."})]})]}),E.jsx(Wt.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.6},className:"font-body text-muted text-lg leading-[1.75] max-w-[520px] mx-auto text-center mb-10 mt-8",children:"In 90 minutes, I audit your model, surface the untapped leverage you're not using, and co-build your next move — using the same frameworks behind a $118,000 contract where the practice owner delivers zero hours of service."}),E.jsxs(Wt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.75},className:"text-center",children:[E.jsx("div",{className:"mb-6 flex justify-center",children:E.jsx(u1,{})}),E.jsx("a",{href:Jf,className:"inline-block bg-teal text-primary-foreground font-body text-[15px] font-medium tracking-[0.04em] px-9 py-4 rounded-[3px] hover:brightness-110 transition-all animate-breathe",children:"Get Support Now →"}),E.jsxs("p",{className:"font-mono-label text-muted text-[11px] tracking-[0.12em] mt-5",children:[E.jsx("span",{className:"line-through opacity-70",children:"$1,200"})," ",E.jsx("span",{className:"text-teal",children:"$960"})," · 90 minutes · Revenue Map delivered same day"]})]})]}),E.jsx(Wt.div,{initial:{opacity:1},animate:{opacity:e?1:0},className:"absolute bottom-8 left-1/2 -translate-x-1/2",children:E.jsx(Wt.div,{animate:{y:[0,8,0]},transition:{duration:2,repeat:1/0},children:E.jsx(YT,{className:"w-5 h-5 text-muted"})})})]})},Ce=({children:e,className:t="",delay:n=0})=>E.jsx(Wt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:n,ease:"easeOut"},className:t,children:e}),nD=[{number:"$118K",label:"contract"},{number:"0",label:"owner hours"},{number:"+30%",label:"above market staff pay"},{number:"+10%",label:"revenue YOY"}],rD=()=>E.jsxs("section",{className:"py-20 md:py-[120px] px-6",children:[E.jsxs("div",{className:"max-w-[760px] mx-auto",children:[E.jsx(Ce,{children:E.jsx("p",{className:"section-label mb-12",children:"The Result"})}),E.jsxs("div",{className:"grid md:grid-cols-2 gap-12 md:gap-16",children:[E.jsx(Ce,{delay:.15,children:E.jsx("div",{className:"space-y-0",children:nD.map((e,t)=>E.jsxs("div",{children:[t>0&&E.jsx("div",{className:"h-px bg-teal-dim my-5"}),E.jsx("p",{className:"font-display text-cream text-[48px] leading-tight",children:e.number}),E.jsx("p",{className:"font-mono-label text-teal text-[10px] tracking-[0.15em] mt-1",children:e.label})]},t))})}),E.jsx(Ce,{delay:.3,children:E.jsxs("div",{className:"font-body text-muted text-lg leading-[1.75] space-y-6",children:[E.jsx("p",{children:"I work with a private practice as her fractional executive. When we started, she was operating reactively, overly dependent on insurance panels and word of mouth, stuck in a clinical role, unable to scale without giving more of herself."}),E.jsx("p",{children:"We looked at the whole model. We found what she already had but wasn't using. We restructured."}),E.jsx("p",{className:"font-display italic text-teal text-xl md:text-2xl leading-snug",children:"She didn't work harder to get here. The model changed."}),E.jsxs("p",{children:["The Practice Revenue Diagnostic is where that kind of change begins for ",E.jsx("strong",{className:"text-cream",children:"YOU"}),"."]})]})})]})]}),E.jsx("div",{className:"section-rule max-w-[760px] mx-auto mt-20 md:mt-[120px]"})]}),iD=["A practice owner who hit $15,000 in one month — and nearly destroyed herself to do it. She can't replicate it. She doesn't know 
108why. She's working hard, but you can't outwork a broken model.","A fully booked therapist generating less income than she expected. The schedule is full. The number is wrong. No one has ever shown her what the gap actually is.","A group practice whose revenue is growing and whose income per clinician — including the owner's — is quietly shrinking. She is scaling a margin problem.","A solo practitioner who is LOSING $15 out of pocket every time she sees an insurance client. She didn't know her numbers so she just kept adding slots while her take-home pay kept decreasing."],oD=()=>E.jsxs("section",{className:"py-20 md:py-[120px] px-6 bg-bg-mid",children:[E.jsxs("div",{className:"max-w-[760px] mx-auto",children:[E.jsxs(Ce,{children:[E.jsx("p",{className:"section-label mb-8",children:"The Problem"}),E.jsx("h2",{className:"font-display text-cream text-[28px] md:text-[32px] leading-snug mb-12",children:"Here is what I see inside practices all the time."})]}),E.jsx("div",{className:"grid md:grid-cols-2 gap-5",children:iD.map((e,t)=>E.jsx(Ce,{delay:t*.1,children:E.jsx("div",{className:"bg-surface border border-border border-l-[3px] border-l-teal-dim rounded-[4px] p-7",children:E.jsxs("p",{className:"font-body text-cream-soft text-[15px] leading-[1.7] italic",children:['"',e,'"']})})},t))}),E.jsx(Ce,{delay:.5,className:"mt-14",children:E.jsx("p",{className:"font-display italic text-teal text-xl md:text-[26px] leading-snug text-center max-w-[600px] mx-auto",children:"You have more leverage inside your practice than you are using. I will find it."})})]}),E.jsx("div",{className:"section-rule max-w-[760px] mx-auto mt-20 md:mt-[120px]"})]}),sD=[{num:"01",title:"AUDIT",desc:"I look at your model: what is working, what is not, and what it needs to look like in order for you to have peace and profit in your life."},{num:"02",title:"IDENTIFY",desc:"I surface the untapped capacity, skills, and assets already inside your practice that you are not yet leveraging. No new skills. No new certifications necessary."},{num:"03",title:"CO-BUILD",desc:"Using frameworks I've deployed in real practices, we build the path forward together — so you understand the logic and own the plan."}],aD=["A clear picture of how your practice actually works — not how you think it works","The name of the specific constraint holding your revenue in place","The primary leverage lever: the one move that unlocks the most growth with the least friction","Your one-page Practice Revenue Map, delivered same day"],lD=()=>E.jsxs("section",{className:"py-20 md:py-[120px] px-6",children:[E.jsxs("div",{className:"max-w-[760px] mx-auto",children:[E.jsxs(Ce,{children:[E.jsx("p",{className:"section-label mb-8",children:"The Diagnostic"}),E.jsx("h2",{className:"font-display text-cream text-[28px] md:text-[36px] leading-snug text-center mb-16",children:"A 90-minute audit and co-build session."})]}),E.jsx("div",{className:"grid md:grid-cols-3 gap-8 mb-16",children:sD.map((e,t)=>E.jsx(Ce,{delay:t*.15,children:E.jsxs("div",{className:"relative",children:[E.jsx("span",{className:"font-display text-[48px] text-teal opacity-[0.15] absolute -top-4 left-0 select-none",children:e.num}),E.jsxs("div",{className:"pt-10",children:[E.jsxs("p",{className:"font-mono-label text-teal text-[11px] tracking-[0.15em] mb-3",children:[e.num," — ",e.title]}),E.jsx("p",{className:"font-body text-muted text-[15px] leading-[1.7]",children:e.desc})]})]})},t))}),E.jsx(Ce,{delay:.3,children:E.jsxs("div",{className:"rounded-[4px] p-8 md:p-10",style:{background:"hsl(189 55% 55% / 0.09)",border:"1px solid hsl(195 60% 31%)"},children:[E.jsx("p",{className:"font-mono-label text-teal text-[11px] tracking-[0.15em] mb-6",children:"YOU LEAVE WITH"}),E.jsx("ul",{className:"space-y-4",children:aD.map((e,t)=>E.jsxs("li",{className:"flex gap-3 font-body text-cream-soft text-[15px] leading-[1.6]",children:[E.jsx("span",{className:"text-teal mt-0.5 shrink-0",children:"✓"}),e]},t))}),E.jsx("p",{className:"font-display italic text-teal text-lg md:text-xl leading-snug mt-8",children:"This is more than coaching and beyond high level strategy. It is a diagnostic and a co-build, with a plan that you can implement. There is a difference — and you will feel it."})]})})]}),E.jsx("div",{className:"section-rule max-w-[760px] mx-auto mt-20 md:mt-[120px]"})]}),uD=["You are fully booked or generating consistent revenue — and the income number does not match the effort","You own a group practice where revenue is growing and income per clinician is quietly declining","You know something in your model is off but can't see it clearly because you are inside it","You are tired of solving a structural problem with more clinical hours","You want someone to look at the whole picture and tell you exactly what to do"],cD=["You are in y
108our first year of building and don't have a consistent baseline caseload","You are looking for validation on a decision that you already made","You want general advice or 'tips' that don't require looking at your specific model"],dD=()=>E.jsxs("section",{className:"py-20 md:py-[120px] px-6 bg-bg-mid",children:[E.jsxs("div",{className:"max-w-[760px] mx-auto",children:[E.jsx(Ce,{children:E.jsx("p",{className:"section-label mb-12",children:"Right Fit"})}),E.jsxs("div",{className:"grid md:grid-cols-2 gap-12",children:[E.jsxs(Ce,{delay:.15,children:[E.jsx("p",{className:"font-mono-label text-teal text-[10px] tracking-[0.15em] mb-6",children:"THIS IS FOR YOU IF"}),E.jsx("ul",{className:"space-y-4",children:uD.map((e,t)=>E.jsxs("li",{className:"flex gap-3 font-body text-cream-soft text-[15px] leading-[1.6]",children:[E.jsx("span",{className:"text-teal mt-0.5 shrink-0",children:"→"}),e]},t))})]}),E.jsxs(Ce,{delay:.3,children:[E.jsx("p",{className:"font-mono-label text-muted text-[10px] tracking-[0.15em] mb-6",children:"NOT THE RIGHT FIT IF"}),E.jsx("ul",{className:"space-y-4",children:cD.map((e,t)=>E.jsxs("li",{className:"flex gap-3 font-body text-muted text-[15px] leading-[1.6]",children:[E.jsx("span",{className:"text-muted-dim mt-0.5 shrink-0",children:"×"}),e]},t))})]})]})]}),E.jsx("div",{className:"section-rule max-w-[760px] mx-auto mt-20 md:mt-[120px]"})]}),wg=[{text:"Would that get you to the $15,000 without killing yourself? — Yes.",attr:"Workshop participant, after a 30-minute model review surfaced $3,000 in untapped revenue"},{text:"I think I lost that everything I need is already inside of me — and I think you just reminded me of that.",attr:"Live workshop participant"},{text:"There is not a person on this call that I don't think couldn't sign a six-figure contract in the next six months.",attr:"Calvalyn Day"}],fD=()=>E.jsxs("section",{className:"py-20 md:py-[120px] px-6",children:[E.jsxs("div",{className:"max-w-[760px] mx-auto",children:[E.jsx(Ce,{children:E.jsx("p",{className:"section-label mb-16 text-center",children:"What They Say"})}),E.jsx("div",{className:"space-y-16",children:wg.map((e,t)=>E.jsxs(Ce,{delay:t*.15,children:[E.jsxs("div",{className:"text-center max-w-[600px] mx-auto",children:[E.jsx("span",{className:"font-display text-teal text-[120px] leading-none opacity-30 block -mb-16 select-none",children:'"'}),E.jsxs("p",{className:"font-display italic text-cream text-lg md:text-[22px] leading-[1.6] relative z-10",children:['"',e.text,'"']}),E.jsxs("p",{className:"font-mono-label text-muted text-[11px] tracking-[0.1em] mt-4",children:["— ",e.attr]})]}),t<wg.length-1&&E.jsx("div",{className:"w-20 h-px bg-rule mx-auto mt-16"})]},t))})]}),E.jsx("div",{className:"section-rule max-w-[760px] mx-auto mt-20 md:mt-[120px]"})]}),hD="/assets/calvalyn-office-BQz9KS-H.png",pD=()=>E.jsx("section",{className:"py-20 md:py-[120px] px-6 bg-surface border-y border-border",children:E.jsxs("div",{className:"max-w-[760px] mx-auto text-center",children:[E.jsx(Ce,{children:E.jsx("p",{className:"section-label mb-8",children:"Ready to Find Your Leverage"})}),E.jsx(Ce,{delay:.1,children:E.jsx("img",{src:hD,alt:"Calvalyn Day in her office",className:"w-full max-w-md mx-auto rounded-md mb-10 border border-border shadow-lg"})}),E.jsx(Ce,{delay:.2,children:E.jsxs("h2",{className:"font-display text-cream text-[32px] md:text-[44px] leading-[1.15] mb-8",children:["If you've been reading this and"," ","recognizing your practice in it —"," ","that recognition is information."]})}),E.jsx(Ce,{delay:.35,children:E.jsx("p",{className:"font-body text-muted text-lg leading-[1.75] max-w-[520px] mx-auto mb-10",children:"You already know something needs to change. The Diagnostic is 90 minutes where we figure out exactly what that is — and build the path from where you are to where you want to be."})}),E.jsxs(Ce,{delay:.5,children:[E.jsx("div",{className:"mb-6 flex justify-center",children:E.jsx(u1,{})}),E.jsx("a",{href:Jf,className:"inline-block bg-teal text-primary-foreground font-body text-[15px] font-medium tracking-[0.04em] px-9 py-4 rounded-[3px] hover:brightness-110 transition-all animate-breathe",children:"Get Support Now →"}),E.jsxs("p",{className:"font-mono-label text-muted text-[11px] tracking-[0.12em] mt-5",children:[E.jsx("span",{className:"line-through opacity-70",children:"$1,200"})," ",E.jsx("span",{className:"text-teal",children:"$960"})," · 90 minutes · Revenue Map delivered same day"]}),E.jsx("p",{className:"font-body text-muted-dim text-[13px] mt-4",children:"You'll be directed to checkout and scheduling. (Payment options available at checkout)"})]})]})}),mD=()=>E.jsxs("div",{className:"min-h-screen bg-background",children:[E.jsx(JN,{}),E.jsx(tD,{}),E.jsx(rD,{}),E.jsx(oD,{}),E.jsx(lD,{}),E.jsx(dD,{}),E.jsx(fD,{}),E.jsx(pD,{})]}),gD=()=>{const e=Ex();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),E.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:E.jsxs("div",{className:"text-center",children:[E.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),E.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),E.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},yD=new yk,vD=()=>E.jsx(xk,{client:yD,children:E.jsxs(Yb,{children:[E.jsx(MC,{}),E.jsx(lP,{}),E.jsx(iR,{children:E.jsxs(tR,{children:[E.jsx(Vc,{path:"/",element:E.jsx(mD,{})}),E.jsx(Vc,{path:"*",element:E.jsx(gD,{})})]})})]})});Wv(document.getElementById("root")).render(E.jsx(vD,{}));

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.