PageSourceSearch

https://fiscal-balance-game.lovable.app/assets/index-CpGjoc_k.js

js fiscal-balance-game.lovable.app collected 2026-10-03 03:31:21 UTC 474,720 bytes, 231 lines download raw bytes

vendor: 8,209 bytes, lines 1-9
1var yh=e=>{throw TypeError(e)};var Hl=(e,t,n)=>t.has(e)||yh("Cannot "+n);var M=(e,t,n)=>(Hl(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?yh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),G=(e,t,n,r)=>(Hl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Oe=(e,t,n)=>(Hl(e,t,"access private method"),n);var ws=(e,t,n,r)=>({set _(o){G(e,t,o,n)},get _(){return M(e,t,r)}});function A1(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function _g(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bg={exports:{}},ol={},zg={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 is=Symbol.for("react.element"),M1=Symbol.for("react.portal"),N1=Symbol.for("react.fragment"),D1=Symbol.for("react.strict_mode"),L1=Symbol.for("react.profiler"),O1=Symbol.for("react.provider"),j1=Symbol.for("react.context"),I1=Symbol.for("react.forward_ref"),F1=Symbol.for("react.suspense"),V1=Symbol.for("react.memo"),_1=Symbol.for("react.lazy"),vh=Symbol.iterator;function B1(e){return e===null||typeof e!="object"?null:(e=vh&&e[vh]||e["@@iterator"],typeof e=="function"?e:null)}var $g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ug=Object.assign,Wg={};function Wo(e,t,n){this.props=e,this.context=t,this.refs=Wg,this.updater=n||$g}Wo.prototype.isReactComponent={};Wo.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")};Wo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Hg(){}Hg.prototype=Wo.prototype;function Sd(e,t,n){this.props=e,this.context=t,this.refs=Wg,this.updater=n||$g}var bd=Sd.prototype=new Hg;bd.constructor=Sd;Ug(bd,Wo.prototype);bd.isPureReactComponent=!0;var xh=Array.isArray,Kg=Object.prototype.hasOwnProperty,Cd={current:null},Gg={key:!0,ref:!0,__self:!0,__source:!0};function Qg(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Kg.call(t,r)&&!Gg.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:is,type:e,key:i,ref:s,props:o,_owner:Cd.current}}function z1(e,t){return{$$typeof:is,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ed(e){return typeof e=="object"&&e!==null&&e.$$typeof===is}function $1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var wh=/\/+/g;function Kl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?$1(""+e.key):t.toString(36)}function Ys(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case is:case M1:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Kl(s,0):r,xh(o)?(n="",e!=null&&(n=e.replace(wh,"$&/")+"/"),Ys(o,t,n,"",function(u){return u})):o!=null&&(Ed(o)&&(o=z1(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(wh,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",xh(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Kl(i,a);s+=Ys(i,t,n,l,o)}else if(l=B1(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Kl(i,a++),s+=Ys(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Ss(e,t,n){if(e==null)return e;var r=[],o=0;return Ys(e,r,"","",function(i){return t.call(n,i,o++)}),r}function U1(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},Xs={transition:null},W1={ReactCurrentDispatcher:Ke,ReactCurrentBatchConfig:Xs,ReactCurrentOwner:Cd};function Yg(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:Ss,forEach:function(e,t,n){Ss(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ss(e,function(){t++}),t},toArray:function(e){return Ss(e,function(t){return t})||[]},only:function(e){if(!Ed(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=Wo;X.Fragment=N1;X.Profiler=L1;X.PureComponent=Sd;X.StrictMode=D1;X.Suspense=F1;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W1;X.act=Yg;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=Ug({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Cd.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Kg.call(t,l)&&!Gg.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:is,type:e.type,key:o,ref:i,props:r,_owner:s}};X.createContext=function(e){return e={$$typeof:j1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:O1,_context:e},e.Consumer=e};X.createElement=Qg;X.createFactory=function(e){var t=Qg.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:I1,render:e}};X.isValidElement=Ed;X.lazy=function(e){return{$$typeof:_1,_payload:{_status:-1,_result:e},_init:U1}};X.memo=function(e,t){return{$$typeof:V1,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=Xs.transition;Xs.transition={};try{e()}finally{Xs.transition=t}};X.unstable_act=Yg;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)};
vendor: 4,888 bytes, lines 9-25
9X.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";zg.exports=X;var w=zg.exports;const L=_g(w),Td=A1({__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 H1=w,K1=Symbol.for("react.element"),G1=Symbol.for("react.fragment"),Q1=Object.prototype.hasOwnProperty,Y1=H1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,X1={key:!0,ref:!0,__self:!0,__source:!0};function Xg(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Q1.call(t,r)&&!X1.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:K1,type:e,key:i,ref:s,props:o,_owner:Y1.current}}ol.Fragment=G1;ol.jsx=Xg;ol.jsxs=Xg;Bg.exports=ol;var b=Bg.exports,qg={exports:{}},ct={},Zg={exports:{}},Jg={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(k,A){var I=k.length;k.push(A);e:for(;0<I;){var $=I-1>>>1,z=k[$];if(0<o(z,A))k[$]=A,k[I]=z,I=$;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var A=k[0],I=k.pop();if(I!==A){k[0]=I;e:for(var $=0,z=k.length,Y=z>>>1;$<Y;){var q=2*($+1)-1,xe=k[q],Le=q+1,ee=k[Le];if(0>o(xe,I))Le<z&&0>o(ee,xe)?(k[$]=ee,k[Le]=I,$=Le):(k[$]=xe,k[q]=I,$=q);else if(Le<z&&0>o(ee,I))k[$]=ee,k[Le]=I,$=Le;else break e}}return A}function o(k,A){var I=k.sortIndex-A.sortIndex;return I!==0?I:k.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,h=3,f=!1,v=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(k){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=k)r(u),A.sortIndex=A.expirationTime,t(l,A);else break;A=n(u)}}function S(k){if(g=!1,y(k),!v)if(n(l)!==null)v=!0,B(C);else{var A=n(u);A!==null&&H(S,A.startTime-k)}}function C(k,A){v=!1,g&&(g=!1,p(P),P=-1),f=!0;var I=h;try{for(y(A),d=n(l);d!==null&&(!(d.expirationTime>A)||k&&!F());){var $=d.callback;if(typeof $=="function"){d.callback=null,h=d.priorityLevel;var z=$(d.expirationTime<=A);A=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),y(A)}else r(l);d=n(l)}if(d!==null)var Y=!0;else{var q=n(u);q!==null&&H(S,q.startTime-A),Y=!1}return Y}finally{d=null,h=I,f=!1}}var E=!1,T=null,P=-1,N=5,R=-1;function F(){return!(e.unstable_now()-R<N)}function j(){if(T!==null){var k=e.unstable_now();R=k;var A=!0;try{A=T(!0,k)}finally{A?U():(E=!1,T=null)}}else E=!1}var U;if(typeof m=="function")U=function(){m(j)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,W=O.port2;O.port1.onmessage=j,U=function(){W.postMessage(null)}}else U=function(){x(j,0)};function B(k){T=k,E||(E=!0,U())}function H(k,A){P=x(function(){k(e.unstable_now())},A)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){v||f||(v=!0,B(C))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(h){case 1:case 2:case 3:var A=3;break;default:A=h}var I=h;h=A;try{return k()}finally{h=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,A){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var I=h;h=k;try{return A()}finally{h=I}},e.unstable_scheduleCallback=function(k,A,I){var $=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?$+I:$):I=$,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=I+z,k={id:c++,callback:A,priorityLevel:k,startTime:I,expirationTime:z,sortIndex:-1},I>$?(k.sortIndex=I,t(u,k),n(l)===null&&k===n(u)&&(g?(p(P),P=-1):g=!0,H(S,I-$))):(k.sortIndex=z,t(l,k),v||f||(v=!0,B(C))),k},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(k){var A=h;return function(){var I=h;h=A;try{return k.apply(this,arguments)}finally{h=I}}}})(Jg);Zg.exports=Jg;var q1=Zg.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 Z1=w,ut=q1;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 ey=new Set,Ni={};function Br(e,t){Do(e,t),Do(e+"Capture",t)}function Do(e,t){for(Ni[e]=t,e=0;e<t.length;e++)ey.add(t[e])}var hn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zu=Object.prototype.hasOwnProperty,J1=/^[: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]*$/,Sh={},bh={};function eS(e){return zu.call(bh,e)?!0:zu.call(Sh,e)?!1:J1.test(e)?bh[e]=!0:(Sh[e]=!0,!1)}function tS(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 nS(e,t,n,r){if(t===null||typeof t>"u"||tS(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 Ge(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new Ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new Ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new Ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new Ge(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){De[e]=new Ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new Ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new Ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new Ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new Ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var Pd=/[\-:]([a-z])/g;function kd(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,kd);De[t]=new Ge(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,kd);De[t]=new Ge(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,kd);De[t]=new Ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new Ge(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new Ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new Ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function Rd(e,t,n,r){var o=De.hasOwnProperty(t)?De[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(nS(t,n,o,r)&&(n=null),r||o===null?eS(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var wn=Z1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,bs=Symbol.for("react.element"),Zr=Symbol.for("react.portal"),Jr=Symbol.for("react.fragment"),Ad=Symbol.for("react.strict_mode"),$u=Symbol.for("react.profiler"),ty=Symbol.for("react.provider"),ny=Symbol.for("react.context"),Md=Symbol.for("react.forward_ref"),Uu=Symbol.for("react.suspense"),Wu=Symbol.for("react.suspense_list"),Nd=Symbol.for("react.memo"),Ln=Symbol.for("react.lazy"),ry=Symbol.for("react.offscreen"),Ch=Symbol.iterator;function ti(e){return e===null||typeof e!="object"?null:(e=Ch&&e[Ch]||e["@@iterator"],typeof e=="function"?e:null)}var me=Object.assign,Gl;function fi(e){if(Gl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Gl=t&&t[1]||""}return`
34`+Gl+e}var Ql=!1;function Yl(e,t){if(!e||Ql)return"";Ql=!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 o=u.stack.split(`
35`),i=r.stack.split(`
36`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
37`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Ql=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?fi(e):""}function rS(e){switch(e.tag){case 5:return fi(e.type);case 16:return fi("Lazy");case 13:return fi("Suspense");case 19:return fi("SuspenseList");case 0:case 2:case 15:return e=Yl(e.type,!1),e;case 11:return e=Yl(e.type.render,!1),e;case 1:return e=Yl(e.type,!0),e;default:return""}}function Hu(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 Jr:return"Fragment";case Zr:return"Portal";case $u:return"Profiler";case Ad:return"StrictMode";case Uu:return"Suspense";case Wu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ny:return(e.displayName||"Context")+".Consumer";case ty:return(e._context.displayName||"Context")+".Provider";case Md:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Nd:return t=e.displayName||null,t!==null?t:Hu(e.type)||"Memo";case Ln:t=e._payload,e=e._init;try{return Hu(e(t))}catch{}}return null}function oS(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 Hu(t);case 8:return t===Ad?"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 er(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function oy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function iS(e){var t=oy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Cs(e){e._valueTracker||(e._valueTracker=iS(e))}function iy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=oy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function va(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 Ku(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Eh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=er(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 sy(e,t){t=t.checked,t!=null&&Rd(e,"checked",t,!1)}function Gu(e,t){sy(e,t);var n=er(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")?Qu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Qu(e,t.type,er(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Th(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 Qu(e,t,n){(t!=="number"||va(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var hi=Array.isArray;function mo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+er(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Yu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return me({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ph(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(hi(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:er(n)}}function ay(e,t){var n=er(t.value),r=er(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 kh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ly(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Xu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ly(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Es,uy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Es=Es||document.createElement("div"),Es.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Es.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Di(e,t){if(t){var n=e.firstChild;
vendor: 10,005 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yi={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},sS=["Webkit","ms","Moz","O"];Object.keys(yi).forEach(function(e){sS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),yi[t]=yi[e]})});function cy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||yi.hasOwnProperty(e)&&yi[e]?(""+t).trim():t+"px"}function dy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=cy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var aS=me({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function qu(e,t){if(t){if(aS[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 Zu(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 Ju=null;function Dd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ec=null,go=null,yo=null;function Rh(e){if(e=ls(e)){if(typeof ec!="function")throw Error(D(280));var t=e.stateNode;t&&(t=ul(t),ec(e.stateNode,e.type,t))}}function fy(e){go?yo?yo.push(e):yo=[e]:go=e}function hy(){if(go){var e=go,t=yo;if(yo=go=null,Rh(e),t)for(e=0;e<t.length;e++)Rh(t[e])}}function py(e,t){return e(t)}function my(){}var Xl=!1;function gy(e,t,n){if(Xl)return e(t,n);Xl=!0;try{return py(e,t,n)}finally{Xl=!1,(go!==null||yo!==null)&&(my(),hy())}}function Li(e,t){var n=e.stateNode;if(n===null)return null;var r=ul(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 tc=!1;if(hn)try{var ni={};Object.defineProperty(ni,"passive",{get:function(){tc=!0}}),window.addEventListener("test",ni,ni),window.removeEventListener("test",ni,ni)}catch{tc=!1}function lS(e,t,n,r,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var vi=!1,xa=null,wa=!1,nc=null,uS={onError:function(e){vi=!0,xa=e}};function cS(e,t,n,r,o,i,s,a,l){vi=!1,xa=null,lS.apply(uS,arguments)}function dS(e,t,n,r,o,i,s,a,l){if(cS.apply(this,arguments),vi){if(vi){var u=xa;vi=!1,xa=null}else throw Error(D(198));wa||(wa=!0,nc=u)}}function zr(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 yy(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 Ah(e){if(zr(e)!==e)throw Error(D(188))}function fS(e){var t=e.alternate;if(!t){if(t=zr(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ah(o),e;if(i===r)return Ah(o),t;i=i.sibling}throw Error(D(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(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 vy(e){return e=fS(e),e!==null?xy(e):null}function xy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=xy(e);if(t!==null)return t;e=e.sibling}return null}var wy=ut.unstable_scheduleCallback,Mh=ut.unstable_cancelCallback,hS=ut.unstable_shouldYield,pS=ut.unstable_requestPaint,ve=ut.unstable_now,mS=ut.unstable_getCurrentPriorityLevel,Ld=ut.unstable_ImmediatePriority,Sy=ut.unstable_UserBlockingPriority,Sa=ut.unstable_NormalPriority,gS=ut.unstable_LowPriority,by=ut.unstable_IdlePriority,il=null,qt=null;function yS(e){if(qt&&typeof qt.onCommitFiberRoot=="function")try{qt.onCommitFiberRoot(il,e,void 0,(e.current.flags&128)===128)}catch{}}var jt=Math.clz32?Math.clz32:wS,vS=Math.log,xS=Math.LN2;function wS(e){return e>>>=0,e===0?32:31-(vS(e)/xS|0)|0}var Ts=64,Ps=4194304;function pi(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 ba(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=pi(a):(i&=s,i!==0&&(r=pi(i)))}else s=n&~o,s!==0?r=pi(s):i!==0&&(r=pi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-jt(t),o=1<<n,r|=e[n],t&=~o;return r}function SS(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 bS(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-jt(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=SS(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function rc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Cy(){var e=Ts;return Ts<<=1,!(Ts&4194240)&&(Ts=64),e}function ql(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ss(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-jt(t),e[t]=n}function CS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-jt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Od(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-jt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var te=0;function Ey(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ty,jd,Py,ky,Ry,oc=!1,ks=[],Kn=null,Gn=null,Qn=null,Oi=new Map,ji=new Map,jn=[],ES="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 Nh(e,t){switch(e){case"focusin":case"focusout":Kn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Qn=null;break;case"pointerover":case"pointerout":Oi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ji.delete(t.pointerId)}}function ri(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=ls(t),t!==null&&jd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function TS(e,t,n,r,o){switch(t){case"focusin":return Kn=ri(Kn,e,t,n,r,o),!0;case"dragenter":return Gn=ri(Gn,e,t,n,r,o),!0;case"mouseover":return Qn=ri(Qn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Oi.set(i,ri(Oi.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ji.set(i,ri(ji.get(i)||null,e,t,n,r,o)),!0}return!1}function Ay(e){var t=xr(e.target);if(t!==null){var n=zr(t);if(n!==null){if(t=n.tag,t===13){if(t=yy(n),t!==null){e.blockedOn=t,Ry(e.priority,function(){Py(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function qs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ic(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ju=r,n.target.dispatchEvent(r),Ju=null}else return t=ls(n),t!==null&&jd(t),e.blockedOn=n,!1;t.shift()}return!0}function Dh(e,t,n){qs(e)&&n.delete(t)}function PS(){oc=!1,Kn!==null&&qs(Kn)&&(Kn=null),Gn!==null&&qs(Gn)&&(Gn=null),Qn!==null&&qs(Qn)&&(Qn=null),Oi.forEac
vendor: 11,841 bytes, line 37
37h(Dh),ji.forEach(Dh)}function oi(e,t){e.blockedOn===t&&(e.blockedOn=null,oc||(oc=!0,ut.unstable_scheduleCallback(ut.unstable_NormalPriority,PS)))}function Ii(e){function t(o){return oi(o,e)}if(0<ks.length){oi(ks[0],e);for(var n=1;n<ks.length;n++){var r=ks[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Kn!==null&&oi(Kn,e),Gn!==null&&oi(Gn,e),Qn!==null&&oi(Qn,e),Oi.forEach(t),ji.forEach(t),n=0;n<jn.length;n++)r=jn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<jn.length&&(n=jn[0],n.blockedOn===null);)Ay(n),n.blockedOn===null&&jn.shift()}var vo=wn.ReactCurrentBatchConfig,Ca=!0;function kS(e,t,n,r){var o=te,i=vo.transition;vo.transition=null;try{te=1,Id(e,t,n,r)}finally{te=o,vo.transition=i}}function RS(e,t,n,r){var o=te,i=vo.transition;vo.transition=null;try{te=4,Id(e,t,n,r)}finally{te=o,vo.transition=i}}function Id(e,t,n,r){if(Ca){var o=ic(e,t,n,r);if(o===null)au(e,t,r,Ea,n),Nh(e,r);else if(TS(o,e,t,n,r))r.stopPropagation();else if(Nh(e,r),t&4&&-1<ES.indexOf(e)){for(;o!==null;){var i=ls(o);if(i!==null&&Ty(i),i=ic(e,t,n,r),i===null&&au(e,t,r,Ea,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else au(e,t,r,null,n)}}var Ea=null;function ic(e,t,n,r){if(Ea=null,e=Dd(r),e=xr(e),e!==null)if(t=zr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=yy(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 Ea=e,null}function My(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(mS()){case Ld:return 1;case Sy:return 4;case Sa:case gS:return 16;case by:return 536870912;default:return 16}default:return 16}}var $n=null,Fd=null,Zs=null;function Ny(){if(Zs)return Zs;var e,t=Fd,n=t.length,r,o="value"in $n?$n.value:$n.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Zs=o.slice(e,1<r?1-r:void 0)}function Js(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 Rs(){return!0}function Lh(){return!1}function dt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Rs:Lh,this.isPropagationStopped=Lh,this}return me(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Rs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Rs)},persist:function(){},isPersistent:Rs}),t}var Ho={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vd=dt(Ho),as=me({},Ho,{view:0,detail:0}),AS=dt(as),Zl,Jl,ii,sl=me({},as,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_d,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!==ii&&(ii&&e.type==="mousemove"?(Zl=e.screenX-ii.screenX,Jl=e.screenY-ii.screenY):Jl=Zl=0,ii=e),Zl)},movementY:function(e){return"movementY"in e?e.movementY:Jl}}),Oh=dt(sl),MS=me({},sl,{dataTransfer:0}),NS=dt(MS),DS=me({},as,{relatedTarget:0}),eu=dt(DS),LS=me({},Ho,{animationName:0,elapsedTime:0,pseudoElement:0}),OS=dt(LS),jS=me({},Ho,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),IS=dt(jS),FS=me({},Ho,{data:0}),jh=dt(FS),VS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_S={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},BS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=BS[e])?!!t[e]:!1}function _d(){return zS}var $S=me({},as,{key:function(e){if(e.key){var t=VS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Js(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?_S[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_d,charCode:function(e){return e.type==="keypress"?Js(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Js(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),US=dt($S),WS=me({},sl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ih=dt(WS),HS=me({},as,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_d}),KS=dt(HS),GS=me({},Ho,{propertyName:0,elapsedTime:0,pseudoElement:0}),QS=dt(GS),YS=me({},sl,{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}),XS=dt(YS),qS=[9,13,27,32],Bd=hn&&"CompositionEvent"in window,xi=null;hn&&"documentMode"in document&&(xi=document.documentMode);var ZS=hn&&"TextEvent"in window&&!xi,Dy=hn&&(!Bd||xi&&8<xi&&11>=xi),Fh=" ",Vh=!1;function Ly(e,t){switch(e){case"keyup":return qS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Oy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var eo=!1;function JS(e,t){switch(e){case"compositionend":return Oy(t);case"keypress":return t.which!==32?null:(Vh=!0,Fh);case"textInput":return e=t.data,e===Fh&&Vh?null:e;default:return null}}function eb(e,t){if(eo)return e==="compositionend"||!Bd&&Ly(e,t)?(e=Ny(),Zs=Fd=$n=null,eo=!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 Dy&&t.locale!=="ko"?null:t.data;default:return null}}var tb={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 _h(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!tb[e.type]:t==="textarea"}function jy(e,t,n,r){fy(r),t=Ta(t,"onChange"),0<t.length&&(n=new Vd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var wi=null,Fi=null;function nb(e){Ky(e,0)}function al(e){var t=ro(e);if(iy(t))return e}function rb(e,t){if(e==="change")return t}var Iy=!1;if(hn){var tu;if(hn){var nu="oninput"in document;if(!nu){var Bh=document.createElement("div");Bh.setAttribute("oninput","return;"),nu=typeof Bh.oninput=="function"}tu=nu}else tu=!1;Iy=tu&&(!document.documentMode||9<document.documentMode)}function zh(){wi&&(wi.detachEvent("onpropertychange",Fy),Fi=wi=null)}function Fy(e){if(e.propertyName==="value"&&al(Fi)){var t=[];jy(t,Fi,e,Dd(e)),gy(nb,t)}}function ob(e,t,n){e==="focusin"?(zh(),wi=t,Fi=n,wi.attachEvent("onpropertychange",Fy)):e==="focusout"&&zh()}function ib(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return al(Fi)}function sb(e,t){if(e==="click")return al(t)}function ab(e,t){if(e==="input"||e==="change")return al(t)}function lb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Vt=typeof Object.is=="function"?Object.is:lb;function Vi(e,t){if(Vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!zu.call(t,o)||!Vt(e[o],t[o]))return!1}return!0}function $h(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Uh(e,t){var n=$h(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=$h(n)}}function Vy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Vy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _y(){for(var e=window,t=va();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=va(e.document)}return t}function zd(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 ub(e){var t=_y(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Vy(n.ownerDocument.documentElement,n)){if(r!==null&&zd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Uh(n,i);var s=Uh(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var cb=hn&&"documentMode"in document&&11>=document.documentMode,to=null,sc=null,Si=null,ac=!1;function Wh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ac||to==null||to!==va(r)||(r=to,"selectionStart"in r&&zd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Si&&Vi(Si,r)||(Si=r,r=Ta(sc,"onSelect"),0<r.length&&(t=new Vd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=to)))}function As(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var no={animationend:As("Animation","AnimationEnd"),animationiteration:As("Animation","AnimationIteration"),animationstart:As("Animation","AnimationStart"),transitionend:As("Transition","TransitionEnd")},ru={},By={};hn&&(By=document.createElement("div").style,"AnimationEvent"in window||(delete no.animationend.animation,delete no.animationiteration.animation,delete no.animationstart.animation),"TransitionEvent"in window||delete no.transitionend.transition);function ll(e){if(ru[e])return ru[e];if(!no[e])return e;var t=no[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in By)return ru[e]=t[n];return e}var zy=ll("animationend"),$y=ll("animationiteration"),Uy=ll("animationstart"),Wy=ll("transitionend"),Hy=new Map,Hh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ar(e,t){Hy.set(e,t),Br(t,[e])}for(var ou=0;ou<Hh.length;ou++){var iu=Hh[ou],db=iu.toLowerCase(),fb=iu[0].toUpperCase()+iu.slice(1);ar(db,"on"+fb)}ar(zy,"onAnimationEnd");ar($y,"onAnimationIteration");ar(Uy,"onAnimationStart");ar("dblclick","onDoubleClick");ar("focusin","onFocus");ar("focusout","onBlur");ar(Wy,"onTransitionEnd");Do("onMouseEnter",["mouseout","mouseover"]);Do("onMouseLeave",["mouseout","mouseover"]);Do("onPointerEnter",["pointerout","pointerover"]);Do("onPointerLeave",["pointerout","pointerover"]);Br("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Br("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Br("onBeforeInput",["compositionend","keypress","textInput","paste"]);Br("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Br("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Br("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mi="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(" "),hb=new Set("cancel close invalid load scroll toggle".split(" ").concat(mi));function Kh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,dS(r,t,void 0,e),e.currentTarget=null}function Ky(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;Kh(o,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;Kh(o,a,u),i=l}}}if(wa)throw e=nc,wa=!1,nc=null,e}function se(e,t){var n=t[fc];n===void 0&&(n=t[fc]=new Set);var r=e+"__bubble";n.has(r)||(Gy(t,e,2,!1),n.add(r))}function su(e,t,n){var r=0;t&&(r|=4),Gy(n,e,r,t)}var Ms="_reactListening"+Math.random().toString(36).slice(2);function _i(e){if(!e[Ms]){e[Ms]=!0,ey.forEach(function(n){n!=="selectionchange"&&(hb.has(n)||su(n,!1,e),su(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ms]||(t[Ms]=!0,su("selectionchange",!1,t))}}function Gy(e,t,n,r){switch(My(t)){case 1:var o=kS;break;case 4:o=RS;break;default:o=Id}n=o.bind(null,t,n,e),o=void 0,!tc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function au(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 2,527 bytes, line 37
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=xr(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}gy(function(){var u=i,c=Dd(n),d=[];e:{var h=Hy.get(e);if(h!==void 0){var f=Vd,v=e;switch(e){case"keypress":if(Js(n)===0)break e;case"keydown":case"keyup":f=US;break;case"focusin":v="focus",f=eu;break;case"focusout":v="blur",f=eu;break;case"beforeblur":case"afterblur":f=eu;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":f=Oh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=NS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=KS;break;case zy:case $y:case Uy:f=OS;break;case Wy:f=QS;break;case"scroll":f=AS;break;case"wheel":f=XS;break;case"copy":case"cut":case"paste":f=IS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=Ih}var g=(t&4)!==0,x=!g&&e==="scroll",p=g?h!==null?h+"Capture":null:h;g=[];for(var m=u,y;m!==null;){y=m;var S=y.stateNode;if(y.tag===5&&S!==null&&(y=S,p!==null&&(S=Li(m,p),S!=null&&g.push(Bi(m,S,y)))),x)break;m=m.return}0<g.length&&(h=new f(h,v,null,n,c),d.push({event:h,listeners:g}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",h&&n!==Ju&&(v=n.relatedTarget||n.fromElement)&&(xr(v)||v[pn]))break e;if((f||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,f?(v=n.relatedTarget||n.toElement,f=u,v=v?xr(v):null,v!==null&&(x=zr(v),v!==x||v.tag!==5&&v.tag!==6)&&(v=null)):(f=null,v=u),f!==v)){if(g=Oh,S="onMouseLeave",p="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(g=Ih,S="onPointerLeave",p="onPointerEnter",m="pointer"),x=f==null?h:ro(f),y=v==null?h:ro(v),h=new g(S,m+"leave",f,n,c),h.target=x,h.relatedTarget=y,S=null,xr(c)===u&&(g=new g(p,m+"enter",v,n,c),g.target=y,g.relatedTarget=x,S=g),x=S,f&&v)t:{for(g=f,p=v,m=0,y=g;y;y=Yr(y))m++;for(y=0,S=p;S;S=Yr(S))y++;for(;0<m-y;)g=Yr(g),m--;for(;0<y-m;)p=Yr(p),y--;for(;m--;){if(g===p||p!==null&&g===p.alternate)break t;g=Yr(g),p=Yr(p)}g=null}else g=null;f!==null&&Gh(d,h,f,g,!1),v!==null&&x!==null&&Gh(d,x,v,g,!0)}}
vendor: 6,372 bytes, lines 37-38
37e:{if(h=u?ro(u):window,f=h.nodeName&&h.nodeName.toLowerCase(),f==="select"||f==="input"&&h.type==="file")var C=rb;else if(_h(h))if(Iy)C=ab;else{C=ib;var E=ob}else(f=h.nodeName)&&f.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=sb);if(C&&(C=C(e,u))){jy(d,C,n,c);break e}E&&E(e,h,u),e==="focusout"&&(E=h._wrapperState)&&E.controlled&&h.type==="number"&&Qu(h,"number",h.value)}switch(E=u?ro(u):window,e){case"focusin":(_h(E)||E.contentEditable==="true")&&(to=E,sc=u,Si=null);break;case"focusout":Si=sc=to=null;break;case"mousedown":ac=!0;break;case"contextmenu":case"mouseup":case"dragend":ac=!1,Wh(d,n,c);break;case"selectionchange":if(cb)break;case"keydown":case"keyup":Wh(d,n,c)}var T;if(Bd)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else eo?Ly(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Dy&&n.locale!=="ko"&&(eo||P!=="onCompositionStart"?P==="onCompositionEnd"&&eo&&(T=Ny()):($n=c,Fd="value"in $n?$n.value:$n.textContent,eo=!0)),E=Ta(u,P),0<E.length&&(P=new jh(P,e,null,n,c),d.push({event:P,listeners:E}),T?P.data=T:(T=Oy(n),T!==null&&(P.data=T)))),(T=ZS?JS(e,n):eb(e,n))&&(u=Ta(u,"onBeforeInput"),0<u.length&&(c=new jh("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=T))}Ky(d,t)})}function Bi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ta(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Li(e,n),i!=null&&r.unshift(Bi(e,i,o)),i=Li(e,t),i!=null&&r.push(Bi(e,i,o))),e=e.return}return r}function Yr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Gh(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=Li(n,i),l!=null&&s.unshift(Bi(n,l,a))):o||(l=Li(n,i),l!=null&&s.push(Bi(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var pb=/\r\n?/g,mb=/\u0000|\uFFFD/g;function Qh(e){return(typeof e=="string"?e:""+e).replace(pb,`
38`).replace(mb,"")}function Ns(e,t,n){if(t=Qh(t),Qh(e)!==t&&n)throw Error(D(425))}function Pa(){}var lc=null,uc=null;function cc(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 dc=typeof setTimeout=="function"?setTimeout:void 0,gb=typeof clearTimeout=="function"?clearTimeout:void 0,Yh=typeof Promise=="function"?Promise:void 0,yb=typeof queueMicrotask=="function"?queueMicrotask:typeof Yh<"u"?function(e){return Yh.resolve(null).then(e).catch(vb)}:dc;function vb(e){setTimeout(function(){throw e})}function lu(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Ii(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Ii(t)}function Yn(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 Xh(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 Ko=Math.random().toString(36).slice(2),Yt="__reactFiber$"+Ko,zi="__reactProps$"+Ko,pn="__reactContainer$"+Ko,fc="__reactEvents$"+Ko,xb="__reactListeners$"+Ko,wb="__reactHandles$"+Ko;function xr(e){var t=e[Yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pn]||n[Yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Xh(e);e!==null;){if(n=e[Yt])return n;e=Xh(e)}return t}e=n,n=e.parentNode}return null}function ls(e){return e=e[Yt]||e[pn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ro(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function ul(e){return e[zi]||null}var hc=[],oo=-1;function lr(e){return{current:e}}function le(e){0>oo||(e.current=hc[oo],hc[oo]=null,oo--)}function oe(e,t){oo++,hc[oo]=e.current,e.current=t}var tr={},_e=lr(tr),qe=lr(!1),Or=tr;function Lo(e,t){var n=e.type.contextTypes;if(!n)return tr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ze(e){return e=e.childContextTypes,e!=null}function ka(){le(qe),le(_e)}function qh(e,t,n){if(_e.current!==tr)throw Error(D(168));oe(_e,t),oe(qe,n)}function Qy(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(D(108,oS(e)||"Unknown",o));return me({},n,r)}function Ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tr,Or=_e.current,oe(_e,e),oe(qe,qe.current),!0}function Zh(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=Qy(e,t,Or),r.__reactInternalMemoizedMergedChildContext=e,le(qe),le(_e),oe(_e,e)):le(qe),oe(qe,n)}var ln=null,cl=!1,uu=!1;function Yy(e){ln===null?ln=[e]:ln.push(e)}function Sb(e){cl=!0,Yy(e)}function ur(){if(!uu&&ln!==null){uu=!0;var e=0,t=te;try{var n=ln;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ln=null,cl=!1}catch(o){throw ln!==null&&(ln=ln.slice(e+1)),wy(Ld,ur),o}finally{te=t,uu=!1}}return null}var io=[],so=0,Aa=null,Ma=0,pt=[],mt=0,jr=null,cn=1,dn="";function gr(e,t){io[so++]=Ma,io[so++]=Aa,Aa=e,Ma=t}function Xy(e,t,n){pt[mt++]=cn,pt[mt++]=dn,pt[mt++]=jr,jr=e;var r=cn;e=dn;var o=32-jt(r)-1;r&=~(1<<o),n+=1;var i=32-jt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,cn=1<<32-jt(t)+o|n<<o|r,dn=i+e}else cn=1<<i|n<<o|r,dn=e}function $d(e){e.return!==null&&(gr(e,1),Xy(e,1,0))}function Ud(e){for(;e===Aa;)Aa=io[--so],io[so]=null,Ma=io[--so],io[so]=null;for(;e===jr;)jr=pt[--mt],pt[mt]=null,dn=pt[--mt],pt[mt]=null,cn=pt[--mt],pt[mt]=null}var at=null,st=null,ce=!1,Ot=null;function qy(e,t){var n=gt(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 Jh(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 26,836 bytes, lines 38-40
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,at=e,st=Yn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,at=e,st=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=jr!==null?{id:cn,overflow:dn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=gt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,at=e,st=null,!0):!1;default:return!1}}function pc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function mc(e){if(ce){var t=st;if(t){var n=t;if(!Jh(e,t)){if(pc(e))throw Error(D(418));t=Yn(n.nextSibling);var r=at;t&&Jh(e,t)?qy(r,n):(e.flags=e.flags&-4097|2,ce=!1,at=e)}}else{if(pc(e))throw Error(D(418));e.flags=e.flags&-4097|2,ce=!1,at=e}}}function ep(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;at=e}function Ds(e){if(e!==at)return!1;if(!ce)return ep(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!cc(e.type,e.memoizedProps)),t&&(t=st)){if(pc(e))throw Zy(),Error(D(418));for(;t;)qy(e,t),t=Yn(t.nextSibling)}if(ep(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){st=Yn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}st=null}}else st=at?Yn(e.stateNode.nextSibling):null;return!0}function Zy(){for(var e=st;e;)e=Yn(e.nextSibling)}function Oo(){st=at=null,ce=!1}function Wd(e){Ot===null?Ot=[e]:Ot.push(e)}var bb=wn.ReactCurrentBatchConfig;function si(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 o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function Ls(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function tp(e){var t=e._init;return t(e._payload)}function Jy(e){function t(p,m){if(e){var y=p.deletions;y===null?(p.deletions=[m],p.flags|=16):y.push(m)}}function n(p,m){if(!e)return null;for(;m!==null;)t(p,m),m=m.sibling;return null}function r(p,m){for(p=new Map;m!==null;)m.key!==null?p.set(m.key,m):p.set(m.index,m),m=m.sibling;return p}function o(p,m){return p=Jn(p,m),p.index=0,p.sibling=null,p}function i(p,m,y){return p.index=y,e?(y=p.alternate,y!==null?(y=y.index,y<m?(p.flags|=2,m):y):(p.flags|=2,m)):(p.flags|=1048576,m)}function s(p){return e&&p.alternate===null&&(p.flags|=2),p}function a(p,m,y,S){return m===null||m.tag!==6?(m=gu(y,p.mode,S),m.return=p,m):(m=o(m,y),m.return=p,m)}function l(p,m,y,S){var C=y.type;return C===Jr?c(p,m,y.props.children,S,y.key):m!==null&&(m.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Ln&&tp(C)===m.type)?(S=o(m,y.props),S.ref=si(p,m,y),S.return=p,S):(S=sa(y.type,y.key,y.props,null,p.mode,S),S.ref=si(p,m,y),S.return=p,S)}function u(p,m,y,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=yu(y,p.mode,S),m.return=p,m):(m=o(m,y.children||[]),m.return=p,m)}function c(p,m,y,S,C){return m===null||m.tag!==7?(m=Nr(y,p.mode,S,C),m.return=p,m):(m=o(m,y),m.return=p,m)}function d(p,m,y){if(typeof m=="string"&&m!==""||typeof m=="number")return m=gu(""+m,p.mode,y),m.return=p,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case bs:return y=sa(m.type,m.key,m.props,null,p.mode,y),y.ref=si(p,null,m),y.return=p,y;case Zr:return m=yu(m,p.mode,y),m.return=p,m;case Ln:var S=m._init;return d(p,S(m._payload),y)}if(hi(m)||ti(m))return m=Nr(m,p.mode,y,null),m.return=p,m;Ls(p,m)}return null}function h(p,m,y,S){var C=m!==null?m.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return C!==null?null:a(p,m,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case bs:return y.key===C?l(p,m,y,S):null;case Zr:return y.key===C?u(p,m,y,S):null;case Ln:return C=y._init,h(p,m,C(y._payload),S)}if(hi(y)||ti(y))return C!==null?null:c(p,m,y,S,null);Ls(p,y)}return null}function f(p,m,y,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return p=p.get(y)||null,a(m,p,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case bs:return p=p.get(S.key===null?y:S.key)||null,l(m,p,S,C);case Zr:return p=p.get(S.key===null?y:S.key)||null,u(m,p,S,C);case Ln:var E=S._init;return f(p,m,y,E(S._payload),C)}if(hi(S)||ti(S))return p=p.get(y)||null,c(m,p,S,C,null);Ls(m,S)}return null}function v(p,m,y,S){for(var C=null,E=null,T=m,P=m=0,N=null;T!==null&&P<y.length;P++){T.index>P?(N=T,T=null):N=T.sibling;var R=h(p,T,y[P],S);if(R===null){T===null&&(T=N);break}e&&T&&R.alternate===null&&t(p,T),m=i(R,m,P),E===null?C=R:E.sibling=R,E=R,T=N}if(P===y.length)return n(p,T),ce&&gr(p,P),C;if(T===null){for(;P<y.length;P++)T=d(p,y[P],S),T!==null&&(m=i(T,m,P),E===null?C=T:E.sibling=T,E=T);return ce&&gr(p,P),C}for(T=r(p,T);P<y.length;P++)N=f(T,p,P,y[P],S),N!==null&&(e&&N.alternate!==null&&T.delete(N.key===null?P:N.key),m=i(N,m,P),E===null?C=N:E.sibling=N,E=N);return e&&T.forEach(function(F){return t(p,F)}),ce&&gr(p,P),C}function g(p,m,y,S){var C=ti(y);if(typeof C!="function")throw Error(D(150));if(y=C.call(y),y==null)throw Error(D(151));for(var E=C=null,T=m,P=m=0,N=null,R=y.next();T!==null&&!R.done;P++,R=y.next()){T.index>P?(N=T,T=null):N=T.sibling;var F=h(p,T,R.value,S);if(F===null){T===null&&(T=N);break}e&&T&&F.alternate===null&&t(p,T),m=i(F,m,P),E===null?C=F:E.sibling=F,E=F,T=N}if(R.done)return n(p,T),ce&&gr(p,P),C;if(T===null){for(;!R.done;P++,R=y.next())R=d(p,R.value,S),R!==null&&(m=i(R,m,P),E===null?C=R:E.sibling=R,E=R);return ce&&gr(p,P),C}for(T=r(p,T);!R.done;P++,R=y.next())R=f(T,p,P,R.value,S),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?P:R.key),m=i(R,m,P),E===null?C=R:E.sibling=R,E=R);return e&&T.forEach(function(j){return t(p,j)}),ce&&gr(p,P),C}function x(p,m,y,S){if(typeof y=="object"&&y!==null&&y.type===Jr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case bs:e:{for(var C=y.key,E=m;E!==null;){if(E.key===C){if(C=y.type,C===Jr){if(E.tag===7){n(p,E.sibling),m=o(E,y.props.children),m.return=p,p=m;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Ln&&tp(C)===E.type){n(p,E.sibling),m=o(E,y.props),m.ref=si(p,E,y),m.return=p,p=m;break e}n(p,E);break}else t(p,E);E=E.sibling}y.type===Jr?(m=Nr(y.props.children,p.mode,S,y.key),m.return=p,p=m):(S=sa(y.type,y.key,y.props,null,p.mode,S),S.ref=si(p,m,y),S.return=p,p=S)}return s(p);case Zr:e:{for(E=y.key;m!==null;){if(m.key===E)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(p,m.sibling),m=o(m,y.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=yu(y,p.mode,S),m.return=p,p=m}return s(p);case Ln:return E=y._init,x(p,m,E(y._payload),S)}if(hi(y))return v(p,m,y,S);if(ti(y))return g(p,m,y,S);Ls(p,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(n(p,m.sibling),m=o(m,y),m.return=p,p=m):(n(p,m),m=gu(y,p.mode,S),m.return=p,p=m),s(p)):n(p,m)}return x}var jo=Jy(!0),ev=Jy(!1),Na=lr(null),Da=null,ao=null,Hd=null;function Kd(){Hd=ao=Da=null}function Gd(e){var t=Na.current;le(Na),e._currentValue=t}function gc(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 xo(e,t){Da=e,Hd=ao=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Xe=!0),e.firstContext=null)}function wt(e){var t=e._currentValue;if(Hd!==e)if(e={context:e,memoizedValue:t,next:null},ao===null){if(Da===null)throw Error(D(308));ao=e,Da.dependencies={lanes:0,firstContext:e}}else ao=ao.next=e;return t}var wr=null;function Qd(e){wr===null?wr=[e]:wr.push(e)}function tv(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Qd(t)):(n.next=o.next,o.next=n),t.interleaved=n,mn(e,r)}function mn(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 On=!1;function Yd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function nv(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 fn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,mn(e,n)}return o=r.interleaved,o===null?(t.next=t,Qd(r)):(t.next=o.next,o.next=t),r.interleaved=t,mn(e,n)}function ea(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,Od(e,n)}}function np(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function La(e,t,n,r){var o=e.updateQueue;On=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var h=a.lane,f=a.eventTime;if((r&h)===h){c!==null&&(c=c.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,g=a;switch(h=t,f=n,g.tag){case 1:if(v=g.payload,typeof v=="function"){d=v.call(f,d,h);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,h=typeof v=="function"?v.call(f,d,h):v,h==null)break e;d=me({},d,h);break e;case 2:On=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[a]:h.push(a))}else f={eventTime:f,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=f,l=d):c=c.next=f,s|=h;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;h=a,a=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Fr|=s,e.lanes=s,e.memoizedState=d}}function rp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(D(191,o));o.call(r)}}}var us={},Zt=lr(us),$i=lr(us),Ui=lr(us);function Sr(e){if(e===us)throw Error(D(174));return e}function Xd(e,t){switch(oe(Ui,t),oe($i,e),oe(Zt,us),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xu(t,e)}le(Zt),oe(Zt,t)}function Io(){le(Zt),le($i),le(Ui)}function rv(e){Sr(Ui.current);var t=Sr(Zt.current),n=Xu(t,e.type);t!==n&&(oe($i,e),oe(Zt,n))}function qd(e){$i.current===e&&(le(Zt),le($i))}var he=lr(0);function Oa(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 cu=[];function Zd(){for(var e=0;e<cu.length;e++)cu[e]._workInProgressVersionPrimary=null;cu.length=0}var ta=wn.ReactCurrentDispatcher,du=wn.ReactCurrentBatchConfig,Ir=0,pe=null,Ce=null,Pe=null,ja=!1,bi=!1,Wi=0,Cb=0;function je(){throw Error(D(321))}function Jd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vt(e[n],t[n]))return!1;return!0}function ef(e,t,n,r,o,i){if(Ir=i,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ta.current=e===null||e.memoizedState===null?kb:Rb,e=n(r,o),bi){i=0;do{if(bi=!1,Wi=0,25<=i)throw Error(D(301));i+=1,Pe=Ce=null,t.updateQueue=null,ta.current=Ab,e=n(r,o)}while(bi)}if(ta.current=Ia,t=Ce!==null&&Ce.next!==null,Ir=0,Pe=Ce=pe=null,ja=!1,t)throw Error(D(300));return e}function tf(){var e=Wi!==0;return Wi=0,e}function Ut(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?pe.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function St(){if(Ce===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Pe===null?pe.memoizedState:Pe.next;if(t!==null)Pe=t,Ce=e;else{if(e===null)throw Error(D(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Pe===null?pe.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function Hi(e,t){return typeof t=="function"?t(e):t}function fu(e){var t=St(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=Ce,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,u=i;do{var c=u.lane;if((Ir&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,pe.lanes|=c,Fr|=c}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,Vt(r,t.memoizedState)||(Xe=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,pe.lanes|=i,Fr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function hu(e){var t=St(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Vt(i,t.memoizedState)||(Xe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ov(){}function iv(e,t){var n=pe,r=St(),o=t(),i=!Vt(r.memoizedState,o);if(i&&(r.memoizedState=o,Xe=!0),r=r.queue,nf(lv.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,Ki(9,av.bind(null,n,r,o,t),void 0,null),ke===null)throw Error(D(349));Ir&30||sv(n,t,o)}return o}function sv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function av(e,t,n,r){t.value=n,t.getSnapshot=r,uv(t)&&cv(e)}function lv(e,t,n){return n(function(){uv(t)&&cv(e)})}function uv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Vt(e,n)}catch{return!0}}function cv(e){var t=mn(e,1);t!==null&&It(t,e,1,-1)}function op(e){var t=Ut();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Hi,lastRenderedState:e},t.queue=e,e=e.dispatch=Pb.bind(null,pe,e),[t.memoizedState,e]}function Ki(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function dv(){return St().memoizedState}function na(e,t,n,r){var o=Ut();pe.flags|=e,o.memoizedState=Ki(1|t,n,void 0,r===void 0?null:r)}function dl(e,t,n,r){var o=St();r=r===void 0?null:r;var i=void 0;if(Ce!==null){var s=Ce.memoizedState;if(i=s.destroy,r!==null&&Jd(r,s.deps)){o.memoizedState=Ki(t,n,i,r);return}}pe.flags|=e,o.memoizedState=Ki(1|t,n,i,r)}function ip(e,t){return na(8390656,8,e,t)}function nf(e,t){return dl(2048,8,e,t)}function fv(e,t){return dl(4,2,e,t)}function hv(e,t){return dl(4,4,e,t)}function pv(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 mv(e,t,n){return n=n!=null?n.concat([e]):null,dl(4,4,pv.bind(null,t,e),n)}function rf(){}function gv(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Jd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function yv(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Jd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function vv(e,t,n){return Ir&21?(Vt(n,t)||(n=Cy(),pe.lanes|=n,Fr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Xe=!0),e.memoizedState=n)}function Eb(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=du.transition;du.transition={};try{e(!1),t()}finally{te=n,du.transition=r}}function xv(){return St().memoizedState}function Tb(e,t,n){var r=Zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},wv(e))Sv(t,n);else if(n=tv(e,t,n,r),n!==null){var o=He();It(n,e,r,o),bv(n,t,r)}}function Pb(e,t,n){var r=Zn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(wv(e))Sv(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Vt(a,s)){var l=t.interleaved;l===null?(o.next=o,Qd(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=tv(e,t,o,r),n!==null&&(o=He(),It(n,e,r,o),bv(n,t,r))}}function wv(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function Sv(e,t){bi=ja=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Od(e,n)}}var Ia={readContext:wt,useCallback:je,useContext:je,useEffect:je,useImperativeHandle:je,useInsertionEffect:je,useLayoutEffect:je,useMemo:je,useReducer:je,useRef:je,useState:je,useDebugValue:je,useDeferredValue:je,useTransition:je,useMutableSource:je,useSyncExternalStore:je,useId:je,unstable_isNewReconciler:!1},kb={readContext:wt,useCallback:function(e,t){return Ut().memoizedState=[e,t===void 0?null:t],e},useContext:wt,useEffect:ip,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,na(4194308,4,pv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return na(4194308,4,e,t)},useInsertionEffect:function(e,t){return na(4,2,e,t)},useMemo:function(e,t){var n=Ut();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ut();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=Tb.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=Ut();return e={current:e},t.memoizedState=e},useState:op,useDebugValue:rf,useDeferredValue:function(e){return Ut().memoizedState=e},useTransition:function(){var e=op(!1),t=e[0];return e=Eb.bind(null,e[1]),Ut().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,o=Ut();if(ce){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),ke===null)throw Error(D(349));Ir&30||sv(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,ip(lv.bind(null,r,i,e),[e]),r.flags|=2048,Ki(9,av.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ut(),t=ke.identifierPrefix;if(ce){var n=dn,r=cn;n=(r&~(1<<32-jt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Cb++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Rb={readContext:wt,useCallback:gv,useContext:wt,useEffect:nf,useImperativeHandle:mv,useInsertionEffect:fv,useLayoutEffect:hv,useMemo:yv,useReducer:fu,useRef:dv,useState:function(){return fu(Hi)},useDebugValue:rf,useDeferredValue:function(e){var t=St();return vv(t,Ce.memoizedState,e)},useTransition:function(){var e=fu(Hi)[0],t=St().memoizedState;return[e,t]},useMutableSource:ov,useSyncExternalStore:iv,useId:xv,unstable_isNewReconciler:!1},Ab={readContext:wt,useCallback:gv,useContext:wt,useEffect:nf,useImperativeHandle:mv,useInsertionEffect:fv,useLayoutEffect:hv,useMemo:yv,useReducer:hu,useRef:dv,useState:function(){return hu(Hi)},useDebugValue:rf,useDeferredValue:function(e){var t=St();return Ce===null?t.memoizedState=e:vv(t,Ce.memoizedState,e)},useTransition:function(){var e=hu(Hi)[0],t=St().memoizedState;return[e,t]},useMutableSource:ov,useSyncExternalStore:iv,useId:xv,unstable_isNewReconciler:!1};function At(e,t){if(e&&e.defaultProps){t=me({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function yc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:me({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var fl={isMounted:function(e){return(e=e._reactInternals)?zr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=He(),o=Zn(e),i=fn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Xn(e,i,o),t!==null&&(It(t,e,o,r),ea(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=He(),o=Zn(e),i=fn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Xn(e,i,o),t!==null&&(It(t,e,o,r),ea(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),r=Zn(e),o=fn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Xn(e,o,r),t!==null&&(It(t,e,r,n),ea(t,e,r))}};function sp(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Vi(n,r)||!Vi(o,i):!0}function Cv(e,t,n){var r=!1,o=tr,i=t.contextType;return typeof i=="object"&&i!==null?i=wt(i):(o=Ze(t)?Or:_e.current,r=t.contextTypes,i=(r=r!=null)?Lo(e,o):tr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=fl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ap(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&fl.enqueueReplaceState(t,t.state,null)}function vc(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Yd(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=wt(i):(i=Ze(t)?Or:_e.current,o.context=Lo(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(yc(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&fl.enqueueReplaceState(o,o.state,null),La(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Fo(e,t){try{var n="",r=t;do n+=rS(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function pu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function xc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Mb=typeof WeakMap=="function"?WeakMap:Map;function Ev(e,t,n){n=fn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Va||(Va=!0,Ac=r),xc(e,t)},n}function Tv(e,t,n){n=fn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){xc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){xc(e,t),typeof r!="function"&&(qn===null?qn=new Set([this]):qn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function lp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Mb;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Wb.bind(null,e,t,n),t.then(e,e))}function up(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 cp(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=fn(-1,1),t.tag=2,Xn(n,t,1))),n.lanes|=1),e)}var Nb=wn.ReactCurrentOwner,Xe=!1;function ze(e,t,n,r){t.child=e===null?ev(t,null,n,r):jo(t,e.child,n,r)}function dp(e,t,n,r,o){n=n.render;var i=t.ref;return xo(t,o),r=ef(e,t,n,r,i,o),n=tf(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,gn(e,t,o)):(ce&&n&&$d(t),t.flags|=1,ze(e,t,r,o),t.child)}function fp(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!ff(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Pv(e,t,i,r,o)):(e=sa(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Vi,n(s,r)&&e.ref===t.ref)return gn(e,t,o)}return t.flags|=1,e=Jn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Pv(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Vi(i,r)&&e.ref===t.ref)if(Xe=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Xe=!0);else return t.lanes=e.lanes,gn(e,t,o)}return wc(e,t,n,r,o)}function kv(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oe(uo,ot),ot|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oe(uo,ot),ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,oe(uo,ot),ot|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,oe(uo,ot),ot|=r;return ze(e,t,o,n),t.child}function Rv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 8,359 bytes, line 40
40function wc(e,t,n,r,o){var i=Ze(n)?Or:_e.current;return i=Lo(t,i),xo(t,o),n=ef(e,t,n,r,i,o),r=tf(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,gn(e,t,o)):(ce&&r&&$d(t),t.flags|=1,ze(e,t,n,o),t.child)}function hp(e,t,n,r,o){if(Ze(n)){var i=!0;Ra(t)}else i=!1;if(xo(t,o),t.stateNode===null)ra(e,t),Cv(t,n,r),vc(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=wt(u):(u=Ze(n)?Or:_e.current,u=Lo(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&ap(t,s,r,u),On=!1;var h=t.memoizedState;s.state=h,La(t,r,s,o),l=t.memoizedState,a!==r||h!==l||qe.current||On?(typeof c=="function"&&(yc(t,n,c,r),l=t.memoizedState),(a=On||sp(t,n,a,r,h,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,nv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:At(t.type,a),s.props=u,d=t.pendingProps,h=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=wt(l):(l=Ze(n)?Or:_e.current,l=Lo(t,l));var f=n.getDerivedStateFromProps;(c=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||h!==l)&&ap(t,s,r,l),On=!1,h=t.memoizedState,s.state=h,La(t,r,s,o);var v=t.memoizedState;a!==d||h!==v||qe.current||On?(typeof f=="function"&&(yc(t,n,f,r),v=t.memoizedState),(u=On||sp(t,n,u,r,h,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&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===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&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Sc(e,t,n,r,i,o)}function Sc(e,t,n,r,o,i){Rv(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Zh(t,n,!1),gn(e,t,i);r=t.stateNode,Nb.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=jo(t,e.child,null,i),t.child=jo(t,null,a,i)):ze(e,t,a,i),t.memoizedState=r.state,o&&Zh(t,n,!0),t.child}function Av(e){var t=e.stateNode;t.pendingContext?qh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&qh(e,t.context,!1),Xd(e,t.containerInfo)}function pp(e,t,n,r,o){return Oo(),Wd(o),t.flags|=256,ze(e,t,n,r),t.child}var bc={dehydrated:null,treeContext:null,retryLane:0};function Cc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Mv(e,t,n){var r=t.pendingProps,o=he.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),oe(he,o&1),e===null)return mc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=ml(s,r,0,null),e=Nr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Cc(n),t.memoizedState=bc,e):of(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Db(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Jn(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Jn(a,i):(i=Nr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Cc(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=bc,r}return i=e.child,e=i.sibling,r=Jn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function of(e,t){return t=ml({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Os(e,t,n,r){return r!==null&&Wd(r),jo(t,e.child,null,n),e=of(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Db(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=pu(Error(D(422))),Os(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=ml({mode:"visible",children:r.children},o,0,null),i=Nr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&jo(t,e.child,null,s),t.child.memoizedState=Cc(s),t.memoizedState=bc,i);if(!(t.mode&1))return Os(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(D(419)),r=pu(i,r,void 0),Os(e,t,s,r)}if(a=(s&e.childLanes)!==0,Xe||a){if(r=ke,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,mn(e,o),It(r,e,o,-1))}return df(),r=pu(Error(D(421))),Os(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Hb.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,st=Yn(o.nextSibling),at=t,ce=!0,Ot=null,e!==null&&(pt[mt++]=cn,pt[mt++]=dn,pt[mt++]=jr,cn=e.id,dn=e.overflow,jr=t),t=of(t,r.children),t.flags|=4096,t)}function mp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),gc(e.return,t,n)}function mu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Nv(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ze(e,t,r.children,n),r=he.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&&mp(e,n,t);else if(e.tag===19)mp(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(oe(he,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Oa(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),mu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Oa(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}mu(t,!0,n,null,i);break;case"together":mu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ra(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function gn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Fr|=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=Jn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Jn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}
vendor: 4,565 bytes, line 40
40function Lb(e,t,n){switch(t.tag){case 3:Av(t),Oo();break;case 5:rv(t);break;case 1:Ze(t.type)&&Ra(t);break;case 4:Xd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;oe(Na,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(oe(he,he.current&1),t.flags|=128,null):n&t.child.childLanes?Mv(e,t,n):(oe(he,he.current&1),e=gn(e,t,n),e!==null?e.sibling:null);oe(he,he.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Nv(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),oe(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,kv(e,t,n)}return gn(e,t,n)}var Dv,Ec,Lv,Ov;Dv=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}};Ec=function(){};Lv=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Sr(Zt.current);var i=null;switch(n){case"input":o=Ku(e,o),r=Ku(e,r),i=[];break;case"select":o=me({},o,{value:void 0}),r=me({},r,{value:void 0}),i=[];break;case"textarea":o=Yu(e,o),r=Yu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Pa)}qu(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ni.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ni.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&se("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Ov=function(e,t,n,r){n!==r&&(t.flags|=4)};function ai(e,t){if(!ce)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ie(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ob(e,t,n){var r=t.pendingProps;switch(Ud(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(t),null;case 1:return Ze(t.type)&&ka(),Ie(t),null;case 3:return r=t.stateNode,Io(),le(qe),le(_e),Zd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ds(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ot!==null&&(Dc(Ot),Ot=null))),Ec(e,t),Ie(t),null;case 5:qd(t);var o=Sr(Ui.current);if(n=t.type,e!==null&&t.stateNode!=null)Lv(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return Ie(t),null}if(e=Sr(Zt.current),Ds(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Yt]=t,r[zi]=i,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(o=0;o<mi.length;o++)se(mi[o],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":Eh(r,i),se("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},se("invalid",r);break;case"textarea":Ph(r,i),se("invalid",r)}qu(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 28,864 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Ns(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Ns(r.textContent,a,e),o=["children",""+a]):Ni.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&se("scroll",r)}switch(n){case"input":Cs(r),Th(r,i,!0);break;case"textarea":Cs(r),kh(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Pa)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ly(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Yt]=t,e[zi]=r,Dv(e,t,!1,!1),t.stateNode=e;e:{switch(s=Zu(n,r),n){case"dialog":se("cancel",e),se("close",e),o=r;break;case"iframe":case"object":case"embed":se("load",e),o=r;break;case"video":case"audio":for(o=0;o<mi.length;o++)se(mi[o],e);o=r;break;case"source":se("error",e),o=r;break;case"img":case"image":case"link":se("error",e),se("load",e),o=r;break;case"details":se("toggle",e),o=r;break;case"input":Eh(e,r),o=Ku(e,r),se("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=me({},r,{value:void 0}),se("invalid",e);break;case"textarea":Ph(e,r),o=Yu(e,r),se("invalid",e);break;default:o=r}qu(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?dy(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&uy(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Di(e,l):typeof l=="number"&&Di(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Ni.hasOwnProperty(i)?l!=null&&i==="onScroll"&&se("scroll",e):l!=null&&Rd(e,i,l,s))}switch(n){case"input":Cs(e),Th(e,r,!1);break;case"textarea":Cs(e),kh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+er(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?mo(e,!!r.multiple,i,!1):r.defaultValue!=null&&mo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Pa)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ie(t),null;case 6:if(e&&t.stateNode!=null)Ov(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=Sr(Ui.current),Sr(Zt.current),Ds(t)){if(r=t.stateNode,n=t.memoizedProps,r[Yt]=t,(i=r.nodeValue!==n)&&(e=at,e!==null))switch(e.tag){case 3:Ns(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ns(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Yt]=t,t.stateNode=r}return Ie(t),null;case 13:if(le(he),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&&st!==null&&t.mode&1&&!(t.flags&128))Zy(),Oo(),t.flags|=98560,i=!1;else if(i=Ds(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(D(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(D(317));i[Yt]=t}else Oo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ie(t),i=!1}else Ot!==null&&(Dc(Ot),Ot=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||he.current&1?Te===0&&(Te=3):df())),t.updateQueue!==null&&(t.flags|=4),Ie(t),null);case 4:return Io(),Ec(e,t),e===null&&_i(t.stateNode.containerInfo),Ie(t),null;case 10:return Gd(t.type._context),Ie(t),null;case 17:return Ze(t.type)&&ka(),Ie(t),null;case 19:if(le(he),i=t.memoizedState,i===null)return Ie(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)ai(i,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Oa(e),s!==null){for(t.flags|=128,ai(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return oe(he,he.current&1|2),t.child}e=e.sibling}i.tail!==null&&ve()>Vo&&(t.flags|=128,r=!0,ai(i,!1),t.lanes=4194304)}else{if(!r)if(e=Oa(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ai(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ce)return Ie(t),null}else 2*ve()-i.renderingStartTime>Vo&&n!==1073741824&&(t.flags|=128,r=!0,ai(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ve(),t.sibling=null,n=he.current,oe(he,r?n&1|2:n&1),t):(Ie(t),null);case 22:case 23:return cf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ot&1073741824&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function jb(e,t){switch(Ud(t),t.tag){case 1:return Ze(t.type)&&ka(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Io(),le(qe),le(_e),Zd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return qd(t),null;case 13:if(le(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));Oo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(he),null;case 4:return Io(),null;case 10:return Gd(t.type._context),null;case 22:case 23:return cf(),null;case 24:return null;default:return null}}var js=!1,Ve=!1,Ib=typeof WeakSet=="function"?WeakSet:Set,V=null;function lo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function Tc(e,t,n){try{n()}catch(r){ye(e,t,r)}}var gp=!1;function Fb(e,t){if(lc=Ca,e=_y(),zd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,h=null;t:for(;;){for(var f;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(f=d.firstChild)!==null;)h=d,d=f;for(;;){if(d===e)break t;if(h===n&&++u===o&&(a=s),h===i&&++c===r&&(l=s),(f=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=f}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(uc={focusedElem:e,selectionRange:n},Ca=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,x=v.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?g:At(t.type,g),x);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(S){ye(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return v=gp,gp=!1,v}function Ci(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Tc(t,n,i)}o=o.next}while(o!==r)}}function hl(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 Pc(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 jv(e){var t=e.alternate;t!==null&&(e.alternate=null,jv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Yt],delete t[zi],delete t[fc],delete t[xb],delete t[wb])),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 Iv(e){return e.tag===5||e.tag===3||e.tag===4}function yp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Iv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function kc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Pa));else if(r!==4&&(e=e.child,e!==null))for(kc(e,t,n),e=e.sibling;e!==null;)kc(e,t,n),e=e.sibling}function Rc(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(Rc(e,t,n),e=e.sibling;e!==null;)Rc(e,t,n),e=e.sibling}var Re=null,Lt=!1;function kn(e,t,n){for(n=n.child;n!==null;)Fv(e,t,n),n=n.sibling}function Fv(e,t,n){if(qt&&typeof qt.onCommitFiberUnmount=="function")try{qt.onCommitFiberUnmount(il,n)}catch{}switch(n.tag){case 5:Ve||lo(n,t);case 6:var r=Re,o=Lt;Re=null,kn(e,t,n),Re=r,Lt=o,Re!==null&&(Lt?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(Lt?(e=Re,n=n.stateNode,e.nodeType===8?lu(e.parentNode,n):e.nodeType===1&&lu(e,n),Ii(e)):lu(Re,n.stateNode));break;case 4:r=Re,o=Lt,Re=n.stateNode.containerInfo,Lt=!0,kn(e,t,n),Re=r,Lt=o;break;case 0:case 11:case 14:case 15:if(!Ve&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Tc(n,t,s),o=o.next}while(o!==r)}kn(e,t,n);break;case 1:if(!Ve&&(lo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ye(n,t,a)}kn(e,t,n);break;case 21:kn(e,t,n);break;case 22:n.mode&1?(Ve=(r=Ve)||n.memoizedState!==null,kn(e,t,n),Ve=r):kn(e,t,n);break;default:kn(e,t,n)}}function vp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ib),t.forEach(function(r){var o=Kb.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Tt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Re=a.stateNode,Lt=!1;break e;case 3:Re=a.stateNode.containerInfo,Lt=!0;break e;case 4:Re=a.stateNode.containerInfo,Lt=!0;break e}a=a.return}if(Re===null)throw Error(D(160));Fv(i,s,o),Re=null,Lt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){ye(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Vv(t,e),t=t.sibling}function Vv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Tt(t,e),$t(e),r&4){try{Ci(3,e,e.return),hl(3,e)}catch(g){ye(e,e.return,g)}try{Ci(5,e,e.return)}catch(g){ye(e,e.return,g)}}break;case 1:Tt(t,e),$t(e),r&512&&n!==null&&lo(n,n.return);break;case 5:if(Tt(t,e),$t(e),r&512&&n!==null&&lo(n,n.return),e.flags&32){var o=e.stateNode;try{Di(o,"")}catch(g){ye(e,e.return,g)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&sy(o,i),Zu(a,s);var u=Zu(a,i);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?dy(o,d):c==="dangerouslySetInnerHTML"?uy(o,d):c==="children"?Di(o,d):Rd(o,c,d,u)}switch(a){case"input":Gu(o,i);break;case"textarea":ay(o,i);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;f!=null?mo(o,!!i.multiple,f,!1):h!==!!i.multiple&&(i.defaultValue!=null?mo(o,!!i.multiple,i.defaultValue,!0):mo(o,!!i.multiple,i.multiple?[]:"",!1))}o[zi]=i}catch(g){ye(e,e.return,g)}}break;case 6:if(Tt(t,e),$t(e),r&4){if(e.stateNode===null)throw Error(D(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){ye(e,e.return,g)}}break;case 3:if(Tt(t,e),$t(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ii(t.containerInfo)}catch(g){ye(e,e.return,g)}break;case 4:Tt(t,e),$t(e);break;case 13:Tt(t,e),$t(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(lf=ve())),r&4&&vp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Ve=(u=Ve)||c,Tt(t,e),Ve=u):Tt(t,e),$t(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(V=e,c=e.child;c!==null;){for(d=V=c;V!==null;){switch(h=V,f=h.child,h.tag){case 0:case 11:case 14:case 15:Ci(4,h,h.return);break;case 1:lo(h,h.return);var v=h.stateNode;if(typeof v.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(g){ye(r,n,g)}}break;case 5:lo(h,h.return);break;case 22:if(h.memoizedState!==null){wp(d);continue}}f!==null?(f.return=h,V=f):wp(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=cy("display",s))}catch(g){ye(e,e.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){ye(e,e.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Tt(t,e),$t(e),r&4&&vp(e);break;case 21:break;default:Tt(t,e),$t(e)}}function $t(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Iv(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Di(o,""),r.flags&=-33);var i=yp(e);Rc(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=yp(e);kc(e,a,s);break;default:throw Error(D(161))}}catch(l){ye(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Vb(e,t,n){V=e,_v(e)}function _v(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var o=V,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||js;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||Ve;a=js;var u=Ve;if(js=s,(Ve=l)&&!u)for(V=o;V!==null;)s=V,l=s.child,s.tag===22&&s.memoizedState!==null?Sp(o):l!==null?(l.return=s,V=l):Sp(o);for(;i!==null;)V=i,_v(i),i=i.sibling;V=o,js=a,Ve=u}xp(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,V=i):xp(e)}}function xp(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ve||hl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ve)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:At(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&rp(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}rp(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&&Ii(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}Ve||t.flags&512&&Pc(t)}catch(h){ye(t,t.return,h)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function wp(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function Sp(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{hl(4,t)}catch(l){ye(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){ye(t,o,l)}}var i=t.return;try{Pc(t)}catch(l){ye(t,i,l)}break;case 5:var s=t.return;try{Pc(t)}catch(l){ye(t,s,l)}}}catch(l){ye(t,t.return,l)}if(t===e){V=null;break}var a=t.sibling;if(a!==null){a.return=t.return,V=a;break}V=t.return}}var _b=Math.ceil,Fa=wn.ReactCurrentDispatcher,sf=wn.ReactCurrentOwner,vt=wn.ReactCurrentBatchConfig,Z=0,ke=null,Se=null,Ne=0,ot=0,uo=lr(0),Te=0,Gi=null,Fr=0,pl=0,af=0,Ei=null,Ye=null,lf=0,Vo=1/0,an=null,Va=!1,Ac=null,qn=null,Is=!1,Un=null,_a=0,Ti=0,Mc=null,oa=-1,ia=0;function He(){return Z&6?ve():oa!==-1?oa:oa=ve()}function Zn(e){return e.mode&1?Z&2&&Ne!==0?Ne&-Ne:bb.transition!==null?(ia===0&&(ia=Cy()),ia):(e=te,e!==0||(e=window.event,e=e===void 0?16:My(e.type)),e):1}function It(e,t,n,r){if(50<Ti)throw Ti=0,Mc=null,Error(D(185));ss(e,n,r),(!(Z&2)||e!==ke)&&(e===ke&&(!(Z&2)&&(pl|=n),Te===4&&In(e,Ne)),Je(e,r),n===1&&Z===0&&!(t.mode&1)&&(Vo=ve()+500,cl&&ur()))}function Je(e,t){var n=e.callbackNode;bS(e,t);var r=ba(e,e===ke?Ne:0);if(r===0)n!==null&&Mh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Mh(n),t===1)e.tag===0?Sb(bp.bind(null,e)):Yy(bp.bind(null,e)),yb(function(){!(Z&6)&&ur()}),n=null;else{switch(Ey(r)){case 1:n=Ld;break;case 4:n=Sy;break;case 16:n=Sa;break;case 536870912:n=by;break;default:n=Sa}n=Gv(n,Bv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Bv(e,t){if(oa=-1,ia=0,Z&6)throw Error(D(327));var n=e.callbackNode;if(wo()&&e.callbackNode!==n)return null;var r=ba(e,e===ke?Ne:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ba(e,r);else{t=r;var o=Z;Z|=2;var i=$v();(ke!==e||Ne!==t)&&(an=null,Vo=ve()+500,Mr(e,t));do try{$b();break}catch(a){zv(e,a)}while(!0);Kd(),Fa.current=i,Z=o,Se!==null?t=0:(ke=null,Ne=0,t=Te)}if(t!==0){if(t===2&&(o=rc(e),o!==0&&(r=o,t=Nc(e,o))),t===1)throw n=Gi,Mr(e,0),In(e,r),Je(e,ve()),n;if(t===6)In(e,r);else{if(o=e.current.alternate,!(r&30)&&!Bb(o)&&(t=Ba(e,r),t===2&&(i=rc(e),i!==0&&(r=i,t=Nc(e,i))),t===1))throw n=Gi,Mr(e,0),In(e,r),Je(e,ve()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:yr(e,Ye,an);break;case 3:if(In(e,r),(r&130023424)===r&&(t=lf+500-ve(),10<t)){if(ba(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){He(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=dc(yr.bind(null,e,Ye,an),t);break}yr(e,Ye,an);break;case 4:if(In(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-jt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_b(r/1960))-r,10<r){e.timeoutHandle=dc(yr.bind(null,e,Ye,an),r);break}yr(e,Ye,an);break;case 5:yr(e,Ye,an);break;default:throw Error(D(329))}}}return Je(e,ve()),e.callbackNode===n?Bv.bind(null,e):null}function Nc(e,t){var n=Ei;return e.current.memoizedState.isDehydrated&&(Mr(e,t).flags|=256),e=Ba(e,t),e!==2&&(t=Ye,Ye=n,t!==null&&Dc(t)),e}function Dc(e){Ye===null?Ye=e:Ye.push.apply(Ye,e)}function Bb(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Vt(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function In(e,t){for(t&=~af,t&=~pl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-jt(t),r=1<<n;e[n]=-1,t&=~r}}function bp(e){if(Z&6)throw Error(D(327));wo();var t=ba(e,0);if(!(t&1))return Je(e,ve()),null;var n=Ba(e,t);if(e.tag!==0&&n===2){var r=rc(e);r!==0&&(t=r,n=Nc(e,r))}if(n===1)throw n=Gi,Mr(e,0),In(e,t),Je(e,ve()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,yr(e,Ye,an),Je(e,ve()),null}function uf(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(Vo=ve()+500,cl&&ur())}}function Vr(e){Un!==null&&Un.tag===0&&!(Z&6)&&wo();var t=Z;Z|=1;var n=vt.transition,r=te;try{if(vt.transition=null,te=1,e)return e()}finally{te=r,vt.transition=n,Z=t,!(Z&6)&&ur()}}function cf(){ot=uo.current,le(uo)}function Mr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,gb(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(Ud(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ka();break;case 3:Io(),le(qe),le(_e),Zd();break;case 5:qd(r);break;case 4:Io();break;case 13:le(he);break;case 19:le(he);break;case 10:Gd(r.type._context);break;case 22:case 23:cf()}n=n.return}if(ke=e,Se=e=Jn(e.current,null),Ne=ot=t,Te=0,Gi=null,af=pl=Fr=0,Ye=Ei=null,wr!==null){for(t=0;t<wr.length;t++)if(n=wr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}wr=null}return e}function zv(e,t){do{var n=Se;try{if(Kd(),ta.current=Ia,ja){for(var r=pe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ja=!1}if(Ir=0,Pe=Ce=pe=null,bi=!1,Wi=0,sf.current=null,n===null||n.return===null){Te=1,Gi=t,Se=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=Ne,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 h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=up(s);if(f!==null){f.flags&=-257,cp(f,s,a,i,t),f.mode&1&&lp(i,u,t),t=f,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)){lp(i,u,t),df();break e}l=Error(D(426))}}else if(ce&&a.mode&1){var x=up(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),cp(x,s,a,i,t),Wd(Fo(l,a));break e}}i=l=Fo(l,a),Te!==4&&(Te=2),Ei===null?Ei=[i]:Ei.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=Ev(i,l,t);np(i,p);break e;case 1:a=l;var m=i.type,y=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(qn===null||!qn.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=Tv(i,a,t);np(i,S);break e}}i=i.return}while(i!==null)}Wv(n)}catch(C){t=C,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function $v(){var e=Fa.current;return Fa.current=Ia,e===null?Ia:e}function df(){(Te===0||Te===3||Te===2)&&(Te=4),ke===null||!(Fr&268435455)&&!(pl&268435455)||In(ke,Ne)}function Ba(e,t){var n=Z;Z|=2;var r=$v();(ke!==e||Ne!==t)&&(an=null,Mr(e,t));do try{zb();break}catch(o){zv(e,o)}while(!0);if(Kd(),Z=n,Fa.current=r,Se!==null)throw Error(D(261));return ke=null,Ne=0,Te}function zb(){for(;Se!==null;)Uv(Se)}function $b(){for(;Se!==null&&!hS();)Uv(Se)}function Uv(e){var t=Kv(e.alternate,e,ot);e.memoizedProps=e.pendingProps,t===null?Wv(e):Se=t,sf.current=null}function Wv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=jb(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,Se=null;return}}else if(n=Ob(n,t,ot),n!==null){Se=n;return}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Te===0&&(Te=5)}function yr(e,t,n){var r=te,o=vt.transition;try{vt.transition=null,te=1,Ub(e,t,n,r)}finally{vt.transition=o,te=r}return null}function Ub(e,t,n,r){do wo();while(Un!==null);if(Z&6)throw Error(D(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(D(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(CS(e,i),e===ke&&(Se=ke=null,Ne=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Is||(Is=!0,Gv(Sa,function(){return wo(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=vt.transition,vt.transition=null;var s=te;te=1;var a=Z;Z|=4,sf.current=null,Fb(e,n),Vv(n,e),ub(uc),Ca=!!lc,uc=lc=null,e.current=n,Vb(n),pS(),Z=a,te=s,vt.transition=i}else e.current=n;if(Is&&(Is=!1,Un=e,_a=o),i=e.pendingLanes,i===0&&(qn=null),yS(n.stateNode),Je(e,ve()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Va)throw Va=!1,e=Ac,Ac=null,e;return _a&1&&e.tag!==0&&wo(),i=e.pendingLanes,i&1?e===Mc?Ti++:(Ti=0,Mc=e):Ti=0,ur(),null}function wo(){if(Un!==null){var e=Ey(_a),t=vt.transition,n=te;try{if(vt.transition=null,te=16>e?16:e,Un===null)var r=!1;else{if(e=Un,Un=null,_a=0,Z&6)throw Error(D(331));var o=Z;for(Z|=4,V=e.current;V!==null;){var i=V,s=i.child;if(V.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(V=u;V!==null;){var c=V;switch(c.tag){case 0:case 11:case 15:Ci(8,c,i)}var d=c.child;if(d!==null)d.return=c,V=d;else for(;V!==null;){c=V;var h=c.sibling,f=c.return;if(jv(c),c===u){V=null;break}if(h!==null){h.return=f,V=h;break}V=f}}}var v=i.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)}}V=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,V=s;else e:for(;V!==null;){if(i=V,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Ci(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,V=p;break e}V=i.return}}var m=e.current;for(V=m;V!==null;){s=V;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,V=y;else e:for(s=m;V!==null;){if(a=V,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:hl(9,a)}}catch(C){ye(a,a.return,C)}if(a===s){V=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,V=S;break e}V=a.return}}if(Z=o,ur(),qt&&typeof qt.onPostCommitFiberRoot=="function")try{qt.onPostCommitFiberRoot(il,e)}catch{}r=!0}return r}finally{te=n,vt.transition=t}}return!1}function Cp(e,t,n){t=Fo(n,t),t=Ev(e,t,1),e=Xn(e,t,1),t=He(),e!==null&&(ss(e,1,t),Je(e,t))}function ye(e,t,n){if(e.tag===3)Cp(e,e,n);else for(;t!==null;){if(t.tag===3){Cp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(qn===null||!qn.has(r))){e=Fo(n,e),e=Tv(t,e,1),t=Xn(t,e,1),e=He(),t!==null&&(ss(t,1,e),Je(t,e));break}}t=t.return}}function Wb(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,ke===e&&(Ne&n)===n&&(Te===4||Te===3&&(Ne&130023424)===Ne&&500>ve()-lf?Mr(e,0):af|=n),Je(e,t)}function Hv(e,t){t===0&&(e.mode&1?(t=Ps,Ps<<=1,!(Ps&130023424)&&(Ps=4194304)):t=1);var n=He();e=mn(e,t),e!==null&&(ss(e,t,n),Je(e,n))}function Hb(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Hv(e,n)}function Kb(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),Hv(e,n)}var Kv;Kv=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,Lb(e,t,n);Xe=!!(e.flags&131072)}else Xe=!1,ce&&t.flags&1048576&&Xy(t,Ma,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ra(e,t),e=t.pendingProps;var o=Lo(t,_e.current);xo(t,n),o=ef(null,t,r,e,o,n);var i=tf();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ze(r)?(i=!0,Ra(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Yd(t),o.updater=fl,t.stateNode=o,o._reactInternals=t,vc(t,r,e,n),t=Sc(null,t,r,!0,i,n)):(t.tag=0,ce&&i&&$d(t),ze(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ra(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Qb(r),e=At(r,e),o){case 0:t=wc(null,t,r,e,n);break e;case 1:t=hp(null,t,r,e,n);break e;case 11:t=dp(null,t,r,e,n);break e;case 14:t=fp(null,t,r,At(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:At(r,o),wc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:At(r,o),hp(e,t,r,o,n);case 3:e:{if(Av(t),e===null)throw Error(D(387));
vendor: 9,050 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,nv(e,t),La(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Fo(Error(D(423)),t),t=pp(e,t,r,n,o);break e}else if(r!==o){o=Fo(Error(D(424)),t),t=pp(e,t,r,n,o);break e}else for(st=Yn(t.stateNode.containerInfo.firstChild),at=t,ce=!0,Ot=null,n=ev(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Oo(),r===o){t=gn(e,t,n);break e}ze(e,t,r,n)}t=t.child}return t;case 5:return rv(t),e===null&&mc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,cc(r,o)?s=null:i!==null&&cc(r,i)&&(t.flags|=32),Rv(e,t),ze(e,t,s,n),t.child;case 6:return e===null&&mc(t),null;case 13:return Mv(e,t,n);case 4:return Xd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=jo(t,null,r,n):ze(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:At(r,o),dp(e,t,r,o,n);case 7:return ze(e,t,t.pendingProps,n),t.child;case 8:return ze(e,t,t.pendingProps.children,n),t.child;case 12:return ze(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,oe(Na,r._currentValue),r._currentValue=s,i!==null)if(Vt(i.value,s)){if(i.children===o.children&&!qe.current){t=gn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=fn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),gc(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(D(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),gc(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}ze(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,xo(t,n),o=wt(o),r=r(o),t.flags|=1,ze(e,t,r,n),t.child;case 14:return r=t.type,o=At(r,t.pendingProps),o=At(r.type,o),fp(e,t,r,o,n);case 15:return Pv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:At(r,o),ra(e,t),t.tag=1,Ze(r)?(e=!0,Ra(t)):e=!1,xo(t,n),Cv(t,r,o),vc(t,r,o,n),Sc(null,t,r,!0,e,n);case 19:return Nv(e,t,n);case 22:return kv(e,t,n)}throw Error(D(156,t.tag))};function Gv(e,t){return wy(e,t)}function Gb(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 gt(e,t,n,r){return new Gb(e,t,n,r)}function ff(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qb(e){if(typeof e=="function")return ff(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Md)return 11;if(e===Nd)return 14}return 2}function Jn(e,t){var n=e.alternate;return n===null?(n=gt(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 sa(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")ff(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Jr:return Nr(n.children,o,i,t);case Ad:s=8,o|=8;break;case $u:return e=gt(12,n,t,o|2),e.elementType=$u,e.lanes=i,e;case Uu:return e=gt(13,n,t,o),e.elementType=Uu,e.lanes=i,e;case Wu:return e=gt(19,n,t,o),e.elementType=Wu,e.lanes=i,e;case ry:return ml(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ty:s=10;break e;case ny:s=9;break e;case Md:s=11;break e;case Nd:s=14;break e;case Ln:s=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=gt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Nr(e,t,n,r){return e=gt(7,e,r,t),e.lanes=n,e}function ml(e,t,n,r){return e=gt(22,e,r,t),e.elementType=ry,e.lanes=n,e.stateNode={isHidden:!1},e}function gu(e,t,n){return e=gt(6,e,null,t),e.lanes=n,e}function yu(e,t,n){return t=gt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yb(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ql(0),this.expirationTimes=ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ql(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function hf(e,t,n,r,o,i,s,a,l){return e=new Yb(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=gt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yd(i),e}function Xb(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Zr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Qv(e){if(!e)return tr;e=e._reactInternals;e:{if(zr(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 Qy(e,n,t)}return t}function Yv(e,t,n,r,o,i,s,a,l){return e=hf(n,r,!0,e,o,i,s,a,l),e.context=Qv(null),n=e.current,r=He(),o=Zn(n),i=fn(r,o),i.callback=t??null,Xn(n,i,o),e.current.lanes=o,ss(e,o,r),Je(e,r),e}function gl(e,t,n,r){var o=t.current,i=He(),s=Zn(o);return n=Qv(n),t.context===null?t.context=n:t.pendingContext=n,t=fn(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Xn(o,t,s),e!==null&&(It(e,o,s,i),ea(e,o,s)),s}function za(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 Ep(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function pf(e,t){Ep(e,t),(e=e.alternate)&&Ep(e,t)}function qb(){return null}var Xv=typeof reportError=="function"?reportError:function(e){console.error(e)};function mf(e){this._internalRoot=e}yl.prototype.render=mf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));gl(e,t,null,null)};yl.prototype.unmount=mf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Vr(function(){gl(null,e,null,null)}),t[pn]=null}};function yl(e){this._internalRoot=e}yl.prototype.unstable_scheduleHydration=function(e){if(e){var t=ky();e={blockedOn:null,target:e,priority:t};for(var n=0;n<jn.length&&t!==0&&t<jn[n].priority;n++);jn.splice(n,0,e),n===0&&Ay(e)}};function gf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function vl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Tp(){}function Zb(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=za(s);i.call(u)}}var s=Yv(t,r,e,0,null,!1,!1,"",Tp);return e._reactRootContainer=s,e[pn]=s.current,_i(e.nodeType===8?e.parentNode:e),Vr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=za(l);a.call(u)}}var l=hf(e,0,!1,null,null,!1,!1,"",Tp);return e._reactRootContainer=l,e[pn]=l.current,_i(e.nodeType===8?e.parentNode:e),Vr(function(){gl(t,l,n,r)}),l}function xl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=za(s);a.call(l)}}gl(t,s,e,o)}else s=Zb(n,t,e,o,r);return za(s)}Ty=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=pi(t.pendingLanes);n!==0&&(Od(t,n|1),Je(t,ve()),!(Z&6)&&(Vo=ve()+500,ur()))}break;case 13:Vr(function(){var r=mn(e,1);if(r!==null){var o=He();It(r,e,1,o)}}),pf(e,1)}};jd=function(e){if(e.tag===13){var t=mn(e,134217728);if(t!==null){var n=He();It(t,e,134217728,n)}pf(e,134217728)}};Py=function(e){if(e.tag===13){var t=Zn(e),n=mn(e,t);if(n!==null){var r=He();It(n,e,t,r)}pf(e,t)}};ky=function(){return te};Ry=function(e,t){var n=te;
40try{return te=e,t()}finally{te=n}};ec=function(e,t,n){switch(t){case"input":if(Gu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ul(r);if(!o)throw Error(D(90));iy(r),Gu(r,o)}}}break;case"textarea":ay(e,n);break;case"select":t=n.value,t!=null&&mo(e,!!n.multiple,t,!1)}};py=uf;my=Vr;var Jb={usingClientEntryPoint:!1,Events:[ls,ro,ul,fy,hy,uf]},li={findFiberByHostInstance:xr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},eC={bundleType:li.bundleType,version:li.version,rendererPackageName:li.rendererPackageName,rendererConfig:li.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=vy(e),e===null?null:e.stateNode},findFiberByHostInstance:li.findFiberByHostInstance||qb,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 Fs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fs.isDisabled&&Fs.supportsFiber)try{il=Fs.inject(eC),qt=Fs}catch{}}ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jb;ct.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gf(t))throw Error(D(200));return Xb(e,t,null,n)};ct.createRoot=function(e,t){if(!gf(e))throw Error(D(299));var n=!1,r="",o=Xv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=hf(e,1,!1,null,null,n,!1,r,o),e[pn]=t.current,_i(e.nodeType===8?e.parentNode:e),new mf(t)};ct.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=vy(t),e=e===null?null:e.stateNode,e};ct.flushSync=function(e){return Vr(e)};ct.hydrate=function(e,t,n){if(!vl(t))throw Error(D(200));return xl(null,e,t,!0,n)};ct.hydrateRoot=function(e,t,n){if(!gf(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=Xv;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Yv(t,null,e,1,n??null,o,!1,i,s),e[pn]=t.current,_i(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new yl(t)};ct.render=function(e,t,n){if(!vl(t))throw Error(D(200));return xl(null,e,t,!1,n)};ct.unmountComponentAtNode=function(e){if(!vl(e))throw Error(D(40));return e._reactRootContainer?(Vr(function(){xl(null,null,e,!1,function(){e._reactRootContainer=null,e[pn]=null})}),!0):!1};ct.unstable_batchedUpdates=uf;ct.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!vl(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return xl(e,t,n,!1,r)};ct.version="18.3.1-next-f1338f8080-20240426";function qv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(qv)}catch(e){console.error(e)}}qv(),qg.exports=ct;var cs=qg.exports;const Zv=_g(cs);var Jv,Pp=cs;Jv=Pp.createRoot,Pp.hydrateRoot;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 Mt(){}function tC(e,t){return typeof e=="function"?e(t):e}function nC(e){return typeof e=="number"&&e>=0&&e!==1/0}function rC(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Lc(e,t){return typeof e=="function"?e(t):e}function oC(e,t){return typeof e=="function"?e(t):e}function kp(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==yf(s,t.options))return!1}else if(!Yi(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function Rp(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Qi(t.options.mutationKey)!==Qi(i))return!1}else if(!Yi(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function yf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Qi)(e)}function Qi(e){return JSON.stringify(e,(t,n)=>Oc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Yi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Yi(e[n],t[n])):!1}function e0(e,t){if(e===t)return e;const n=Ap(e)&&Ap(t);if(n||Oc(e)&&Oc(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<s;c++){const d=n?c:i[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=e0(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return o===s&&u===o?e:a}return t}function Ap(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Oc(e){if(!Mp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Mp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Mp(e){return Object.prototype.toString.call(e)==="[object Object]"}function iC(e){return new Promise(t=>{setTimeout(t,e)})}function sC(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?e0(e,t):t}function aC(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function lC(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var vf=Symbol();function t0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===vf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Er,Fn,Eo,Ng,uC=(Ng=class extends wl{constructor(){super();
vendor: 4,133 bytes, line 40
40J(this,Er);J(this,Fn);J(this,Eo);G(this,Eo,t=>{if(!Sl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){M(this,Fn)||this.setEventListener(M(this,Eo))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,Fn))==null||t.call(this),G(this,Fn,void 0))}setEventListener(t){var n;G(this,Eo,t),(n=M(this,Fn))==null||n.call(this),G(this,Fn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){M(this,Er)!==t&&(G(this,Er,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof M(this,Er)=="boolean"?M(this,Er):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Er=new WeakMap,Fn=new WeakMap,Eo=new WeakMap,Ng),n0=new uC,To,Vn,Po,Dg,cC=(Dg=class extends wl{constructor(){super();J(this,To,!0);J(this,Vn);J(this,Po);G(this,Po,t=>{if(!Sl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){M(this,Vn)||this.setEventListener(M(this,Po))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,Vn))==null||t.call(this),G(this,Vn,void 0))}setEventListener(t){var n;G(this,Po,t),(n=M(this,Vn))==null||n.call(this),G(this,Vn,t(this.setOnline.bind(this)))}setOnline(t){M(this,To)!==t&&(G(this,To,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return M(this,To)}},To=new WeakMap,Vn=new WeakMap,Po=new WeakMap,Dg),$a=new cC;function dC(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function fC(e){return Math.min(1e3*2**e,3e4)}function r0(e){return(e??"online")==="online"?$a.isOnline():!0}var o0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function vu(e){return e instanceof o0}function i0(e){let t=!1,n=0,r=!1,o;const i=dC(),s=g=>{var x;r||(h(new o0(g)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>n0.isFocused()&&(e.networkMode==="always"||$a.isOnline())&&e.canRun(),c=()=>r0(e.networkMode)&&e.canRun(),d=g=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,g),o==null||o(),i.resolve(g))},h=g=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,g),o==null||o(),i.reject(g))},f=()=>new Promise(g=>{var x;o=p=>{(r||u())&&g(p)},(x=e.onPause)==null||x.call(e)}).then(()=>{var g;o=void 0,r||(g=e.onContinue)==null||g.call(e)}),v=()=>{if(r)return;let g;const x=n===0?e.initialPromise:void 0;try{g=x??e.fn()}catch(p){g=Promise.reject(p)}Promise.resolve(g).then(d).catch(p=>{var E;if(r)return;const m=e.retry??(Sl?0:3),y=e.retryDelay??fC,S=typeof y=="function"?y(n,p):y,C=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,p);if(t||!C){h(p);return}n++,(E=e.onFail)==null||E.call(e,n,p),iC(S).then(()=>u()?void 0:f()).then(()=>{t?h(p):v()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?v():f().then(v),i)}}var hC=e=>setTimeout(e,0);function pC(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=hC;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var $e=pC(),Tr,Lg,s0=(Lg=class{constructor(){J(this,Tr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),nC(this.gcTime)&&G(this,Tr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sl?1/0:5*60*1e3))}clearGcTimeout(){M(this,Tr)&&(clearTimeout(M(this,Tr)),G(this,Tr,void 0))}},Tr=new WeakMap,Lg),ko,Pr,ht,kr,Fe,rs,Rr,Nt,sn,Og,mC=(Og=class extends s0{constructor(t){super();
vendor: 2,651 bytes, line 40
40J(this,Nt);J(this,ko);J(this,Pr);J(this,ht);J(this,kr);J(this,Fe);J(this,rs);J(this,Rr);G(this,Rr,!1),G(this,rs,t.defaultOptions),this.setOptions(t.options),this.observers=[],G(this,kr,t.client),G(this,ht,M(this,kr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,ko,yC(this.options)),this.state=t.state??M(this,ko),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=M(this,Fe))==null?void 0:t.promise}setOptions(t){this.options={...M(this,rs),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&M(this,ht).remove(this)}setData(t,n){const r=sC(this.state.data,t,this.options);return Oe(this,Nt,sn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Oe(this,Nt,sn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=M(this,Fe))==null?void 0:r.promise;return(o=M(this,Fe))==null||o.cancel(t),n?n.then(Mt).catch(Mt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(M(this,ko))}isActive(){return this.observers.some(t=>oC(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===vf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Lc(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:!rC(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,Fe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,Fe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),M(this,ht).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(M(this,Fe)&&(M(this,Rr)?M(this,Fe).cancel({revert:!0}):M(this,Fe).cancelRetry()),this.scheduleGc()),M(this,ht).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Oe(this,Nt,sn).call(this,{type:"invalidate"})}
vendor: 8,718 bytes, line 40
40fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(M(this,Fe))return M(this,Fe).continueRetry(),M(this,Fe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(f=>f.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(G(this,Rr,!0),r.signal)})},i=()=>{const h=t0(this.options,n),v=(()=>{const g={client:M(this,kr),queryKey:this.queryKey,meta:this.meta};return o(g),g})();return G(this,Rr,!1),this.options.persister?this.options.persister(h,v,this):h(v)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:M(this,kr),state:this.state,fetchFn:i};return o(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),G(this,Pr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Oe(this,Nt,sn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=h=>{var f,v,g,x;vu(h)&&h.silent||Oe(this,Nt,sn).call(this,{type:"error",error:h}),vu(h)||((v=(f=M(this,ht).config).onError)==null||v.call(f,h,this),(x=(g=M(this,ht).config).onSettled)==null||x.call(g,this.state.data,h,this)),this.scheduleGc()};return G(this,Fe,i0({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var f,v,g,x;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(p){l(p);return}(v=(f=M(this,ht).config).onSuccess)==null||v.call(f,h,this),(x=(g=M(this,ht).config).onSettled)==null||x.call(g,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,f)=>{Oe(this,Nt,sn).call(this,{type:"failed",failureCount:h,error:f})},onPause:()=>{Oe(this,Nt,sn).call(this,{type:"pause"})},onContinue:()=>{Oe(this,Nt,sn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),M(this,Fe).start()}},ko=new WeakMap,Pr=new WeakMap,ht=new WeakMap,kr=new WeakMap,Fe=new WeakMap,rs=new WeakMap,Rr=new WeakMap,Nt=new WeakSet,sn=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,...gC(r.data,this.options),fetchMeta:t.meta??null};case"success":return G(this,Pr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return vu(o)&&o.revert&&M(this,Pr)?{...M(this,Pr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),$e.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),M(this,ht).notify({query:this,type:"updated",action:t})})},Og);function gC(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:r0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function yC(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,jg,vC=(jg=class extends wl{constructor(t={}){super();J(this,Ht);this.config=t,G(this,Ht,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??yf(o,n);let s=this.get(i);return s||(s=new mC({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){M(this,Ht).has(t.queryHash)||(M(this,Ht).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=M(this,Ht).get(t.queryHash);n&&(t.destroy(),n===t&&M(this,Ht).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){$e.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return M(this,Ht).get(t)}getAll(){return[...M(this,Ht).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>kp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>kp(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,jg),Kt,Be,Ar,Gt,Mn,Ig,xC=(Ig=class extends s0{constructor(t){super();J(this,Gt);J(this,Kt);J(this,Be);J(this,Ar);this.mutationId=t.mutationId,G(this,Be,t.mutationCache),G(this,Kt,[]),this.state=t.state||wC(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){M(this,Kt).includes(t)||(M(this,Kt).push(t),this.clearGcTimeout(),M(this,Be).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,Kt,M(this,Kt).filter(n=>n!==t)),this.scheduleGc(),M(this,Be).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){M(this,Kt).length||(this.state.status==="pending"?this.scheduleGc():M(this,Be).remove(this))}continue(){var t;return((t=M(this,Ar))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,l,u,c,d,h,f,v,g,x,p,m,y,S,C,E,T,P;const n=()=>{Oe(this,Gt,Mn).call(this,{type:"continue"})};G(this,Ar,i0({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(N,R)=>{Oe(this,Gt,Mn).call(this,{type:"failed",failureCount:N,error:R})},onPause:()=>{Oe(this,Gt,Mn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>M(this,Be).canRun(this)}));const r=this.state.status==="pending",o=!M(this,Ar).canStart();try{if(r)n();else{Oe(this,Gt,Mn).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=M(this,Be).config).onMutate)==null?void 0:s.call(i,t,this));const R=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));R!==this.state.context&&Oe(this,Gt,Mn).call(this,{type:"pending",context:R,variables:t,isPaused:o})}const N=await M(this,Ar).start();return await((c=(u=M(this,Be).config).onSuccess)==null?void 0:c.call(u,N,t,this.state.context,this)),await((h=(d=this.options).onSuccess)==null?void 0:h.call(d,N,t,this.state.context)),await((v=(f=M(this,Be).config).onSettled)==null?void 0:v.call(f,N,null,this.state.variables,this.state.context,this)),await((x=(g=this.options).onSettled)==null?void 0:x.call(g,N,null,t,this.state.context)),Oe(this,Gt,Mn).call(this,{type:"success",data:N}),N}catch(N){try{throw await((m=(p=M(this,Be).config).onError)==null?void 0:m.call(p,N,t,this.state.context,this)),await((S=(y=this.options).onError)==null?void 0:S.call(y,N,t,this.state.context)),await((E=(C=M(this,Be).config).onSettled)==null?void 0:E.call(C,void 0,N,this.state.variables,this.state.context,this)),await((P=(T=this.options).onSettled)==null?void 0:P.call(T,void 0,N,t,this.state.context)),N}finally{Oe(this,Gt,Mn).call(this,{type:"error",error:N})}}finally{M(this,Be).runNext(this)}}},Kt=new WeakMap,Be=new WeakMap,Ar=new WeakMap,Gt=new WeakSet,Mn=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(()=>{M(this,Kt).forEach(r=>{r.onMutationUpdate(t)}),M(this,Be).notify({mutation:this,type:"updated",action:t})})},Ig);function wC(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var un,Dt,os,Fg,SC=(Fg=class extends wl{constructor(t={}){super();
40J(this,un);J(this,Dt);J(this,os);this.config=t,G(this,un,new Set),G(this,Dt,new Map),G(this,os,0)}build(t,n,r){const o=new xC({mutationCache:this,mutationId:++ws(this,os)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){M(this,un).add(t);const n=Vs(t);if(typeof n=="string"){const r=M(this,Dt).get(n);r?r.push(t):M(this,Dt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(M(this,un).delete(t)){const n=Vs(t);if(typeof n=="string"){const r=M(this,Dt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&M(this,Dt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Vs(t);if(typeof n=="string"){const r=M(this,Dt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=Vs(t);if(typeof n=="string"){const o=(r=M(this,Dt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){$e.batch(()=>{M(this,un).forEach(t=>{this.notify({type:"removed",mutation:t})}),M(this,un).clear(),M(this,Dt).clear()})}getAll(){return Array.from(M(this,un))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Rp(n,r))}findAll(t={}){return this.getAll().filter(n=>Rp(t,n))}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return $e.batch(()=>Promise.all(t.map(n=>n.continue().catch(Mt))))}},un=new WeakMap,Dt=new WeakMap,os=new WeakMap,Fg);function Vs(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Np(e){return{onFetch:(t,n)=>{var c,d,h,f,v;const r=t.options,o=(h=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:h.direction,i=((f=t.state.data)==null?void 0:f.pages)||[],s=((v=t.state.data)==null?void 0:v.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let g=!1;const x=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},p=t0(t.options,t.fetchOptions),m=async(y,S,C)=>{if(g)return Promise.reject();if(S==null&&y.pages.length)return Promise.resolve(y);const T=(()=>{const F={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return x(F),F})(),P=await p(T),{maxPages:N}=t.options,R=C?lC:aC;return{pages:R(y.pages,P,N),pageParams:R(y.pageParams,S,N)}};if(o&&i.length){const y=o==="backward",S=y?bC:Dp,C={pages:i,pageParams:s},E=S(r,C);a=await m(C,E,y)}else{const y=e??i.length;do{const S=l===0?s[0]??r.initialPageParam:Dp(r,a);if(l>0&&S==null)break;a=await m(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 Dp(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function bC(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var ge,_n,Bn,Ro,Ao,zn,Mo,No,Vg,CC=(Vg=class{constructor(e={}){J(this,ge);J(this,_n);J(this,Bn);J(this,Ro);J(this,Ao);J(this,zn);J(this,Mo);J(this,No);G(this,ge,e.queryCache||new vC),G(this,_n,e.mutationCache||new SC),G(this,Bn,e.defaultOptions||{}),G(this,Ro,new Map),G(this,Ao,new Map),G(this,zn,0)}mount(){ws(this,zn)._++,M(this,zn)===1&&(G(this,Mo,n0.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,ge).onFocus())})),G(this,No,$a.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,ge).onOnline())})))}unmount(){var e,t;ws(this,zn)._--,M(this,zn)===0&&((e=M(this,Mo))==null||e.call(this),G(this,Mo,void 0),(t=M(this,No))==null||t.call(this),G(this,No,void 0))}isFetching(e){return M(this,ge).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return M(this,_n).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=M(this,ge).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=M(this,ge).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Lc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return M(this,ge).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=M(this,ge).get(r.queryHash),i=o==null?void 0:o.state.data,s=tC(t,i);if(s!==void 0)return M(this,ge).build(this,r).setData(s,{...n,manual:!0})}
40setQueriesData(e,t,n){return $e.batch(()=>M(this,ge).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=M(this,ge).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=M(this,ge);$e.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=M(this,ge);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(()=>M(this,ge).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Mt).catch(Mt)}invalidateQueries(e,t={}){return $e.batch(()=>(M(this,ge).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=$e.batch(()=>M(this,ge).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Mt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Mt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=M(this,ge).build(this,t);return n.isStaleByTime(Lc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Mt).catch(Mt)}fetchInfiniteQuery(e){return e.behavior=Np(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Mt).catch(Mt)}ensureInfiniteQueryData(e){return e.behavior=Np(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return $a.isOnline()?M(this,_n).resumePausedMutations():Promise.resolve()}getQueryCache(){return M(this,ge)}getMutationCache(){return M(this,_n)}getDefaultOptions(){return M(this,Bn)}setDefaultOptions(e){G(this,Bn,e)}setQueryDefaults(e,t){M(this,Ro).set(Qi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...M(this,Ro).values()],n={};return t.forEach(r=>{Yi(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){M(this,Ao).set(Qi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...M(this,Ao).values()],n={};return t.forEach(r=>{Yi(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...M(this,Bn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=yf(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===vf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...M(this,Bn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){M(this,ge).clear(),M(this,_n).clear()}},ge=new WeakMap,_n=new WeakMap,Bn=new WeakMap,Ro=new WeakMap,Ao=new WeakMap,zn=new WeakMap,Mo=new WeakMap,No=new WeakMap,Vg),EC=w.createContext(void 0),TC=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),b.jsx(EC.Provider,{value:e,children:t}));/**
41 * @remix-run/router v1.23.0
42 *
43 * Copyright (c) Remix Software Inc.
44 *
45 * This source code is licensed under the MIT license found in the
46 * LICENSE.md file in the root directory of this source tree.
47 *
48 * @license MIT
49 */function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ua.apply(this,arguments)}var Wn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Wn||(Wn={}));const Lp="popstate";function PC(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return jc("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:l0(o)}return RC(t,n,null,e)}function nt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function a0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function kC(){return Math.random().toString(36).substr(2,8)}function Op(e,t){return{usr:e.state,key:e.key,idx:t}}function jc(e,t,n,r){return n===void 0&&(n=null),Ua({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?bl(t):t,{state:n,key:t&&t.key||r||kC()})}function l0(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function bl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function RC(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=Wn.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(Ua({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=Wn.Pop;let x=c(),p=x==null?null:x-u;u=x,l&&l({action:a,location:g.location,delta:p})}function h(x,p){a=Wn.Push;let m=jc(g.location,x,p);u=c()+1;let y=Op(m,u),S=g.createHref(m);try{s.pushState(y,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(S)}i&&l&&l({action:a,location:g.location,delta:1})}function f(x,p){a=Wn.Replace;let m=jc(g.location,x,p);u=c();let y=Op(m,u),S=g.createHref(m);s.replaceState(y,"",S),i&&l&&l({action:a,location:g.location,delta:0})}function v(x){let p=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof x=="str
49ing"?x:l0(x);return m=m.replace(/ $/,"%20"),nt(p,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,p)}let g={get action(){return a},get location(){return e(o,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Lp,d),l=x,()=>{o.removeEventListener(Lp,d),l=null}},createHref(x){return t(o,x)},createURL:v,encodeLocation(x){let p=v(x);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:h,replace:f,go(x){return s.go(x)}};return g}var jp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(jp||(jp={}));function AC(e,t,n){return n===void 0&&(n="/"),MC(e,t,n,!1)}function MC(e,t,n,r){let o=typeof t=="string"?bl(t):t,i=d0(o.pathname||"/",n);if(i==null)return null;let s=u0(e);NC(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=$C(i);a=BC(s[l],u,r)}return a}function u0(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(nt(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=So([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(nt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),u0(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:VC(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of c0(i.path))o(i,s,l)}),t}function c0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=c0(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function NC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:_C(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const DC=/^:[\w-]+$/,LC=3,OC=2,jC=1,IC=10,FC=-2,Ip=e=>e==="*";function VC(e,t){let n=e.split("/"),r=n.length;return n.some(Ip)&&(r+=FC),t&&(r+=OC),n.filter(o=>!Ip(o)).reduce((o,i)=>o+(DC.test(i)?LC:i===""?jC:IC),r)}function _C(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function BC(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=Fp({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),h=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Fp({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 4,131 bytes, lines 49-58
49Object.assign(o,d.params),s.push({params:o,pathname:So([i,d.pathname]),pathnameBase:UC(So([i,d.pathnameBase])),route:h}),d.pathnameBase!=="/"&&(i=So([i,d.pathnameBase]))}return s}function Fp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=zC(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:h,isOptional:f}=c;if(h==="*"){let g=a[d]||"";s=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const v=a[d];return f&&!v?u[h]=void 0:u[h]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function zC(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),a0(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function $C(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return a0(!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 d0(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 So=e=>e.join("/").replace(/\/\/+/g,"/"),UC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function WC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const f0=["post","put","patch","delete"];new Set(f0);const HC=["get",...f0];new Set(HC);/**
50 * React Router v6.30.1
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */function Wa(){return Wa=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},Wa.apply(this,arguments)}const KC=w.createContext(null),GC=w.createContext(null),h0=w.createContext(null),Cl=w.createContext(null),El=w.createContext({outlet:null,matches:[],isDataRoute:!1}),p0=w.createContext(null);function xf(){return w.useContext(Cl)!=null}function m0(){return xf()||nt(!1),w.useContext(Cl).location}function QC(e,t){return YC(e,t)}function YC(e,t,n,r){xf()||nt(!1);let{navigator:o}=w.useContext(h0),{matches:i}=w.useContext(El),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=m0(),c;if(t){var d;let x=typeof t=="string"?bl(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||nt(!1),c=x}else c=u;let h=c.pathname||"/",f=h;if(l!=="/"){let x=l.replace(/^\//,"").split("/");f="/"+h.replace(/^\//,"").split("/").slice(x.length).join("/")}let v=AC(e,{pathname:f}),g=eE(v&&v.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:So([l,o.encodeLocation?o.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:So([l,o.encodeLocation?o.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),i,n,r);return t&&g?w.createElement(Cl.Provider,{value:{location:Wa({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Wn.Pop}},g):g}function XC(){let e=oE(),t=WC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application 
58Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,null)}const qC=w.createElement(XC,null);class ZC 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(El.Provider,{value:this.props.routeContext},w.createElement(p0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function JC(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(KC);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(El.Provider,{value:t},r)}function eE(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||nt(!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:h,errors:f}=n,v=d.route.loader&&h[d.route.id]===void 0&&(!f||f[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,h)=>{let f,v=!1,g=null,x=null;n&&(f=a&&d.route.id?a[d.route.id]:void 0,g=d.route.errorElement||qC,l&&(u<0&&h===0?(v=!0,x=null):u===h&&(v=!0,x=d.route.hydrateFallbackElement||null)));let p=t.concat(s.slice(0,h+1)),m=()=>{let y;return f?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(JC,{match:d,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:y})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?w.createElement(ZC,{location:n.location,revalidation:n.revalidation,component:g,error:f,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var Ic=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}(Ic||{});function tE(e){let t=w.useContext(GC);return t||nt(!1),t}function nE(e){let t=w.useContext(El);return t||nt(!1),t}function rE(e){let t=nE(),n=t.matches[t.matches.length-1];return n.route.id||nt(!1),n.route.id}function oE(){var e;let t=w.useContext(p0),n=tE(Ic.UseRouteError),r=rE(Ic.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function iE(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Fc(e){nt(!1)}function sE(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Wn.Pop,navigator:i,static:s=!1,future:a}=e;xf()&&nt(!1);let l=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:l,navigator:i,static:s,future:Wa({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=bl(r));let{pathname:c="/",search:d="",hash:h="",state:f=null,key:v="default"}=r,g=w.useMemo(()=>{let x=d0(c,l);return x==null?null:{location:{pathname:x,search:d,hash:h,state:f,key:v},navigationType:o}},[l,c,d,h,f,v,o]);return g==null?null:w.createElement(h0.Provider,{value:u},w.createElement(Cl.Provider,{children:n,value:g}))}function aE(e){let{children:t,location:n}=e;return QC(Vc(t),n)}new Promise(()=>{});function Vc(e,t){t===void 0&&(t=[]);let n=[];
58return w.Children.forEach(e,(r,o)=>{if(!w.isValidElement(r))return;let i=[...t,o];if(r.type===w.Fragment){n.push.apply(n,Vc(r.props.children,i));return}r.type!==Fc&&nt(!1),!r.props.index||!r.props.children||nt(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Vc(r.props.children,i)),n.push(s)}),n}/**
59 * React Router DOM v6.30.1
60 *
61 * Copyright (c) Remix Software Inc.
62 *
63 * This source code is licensed under the MIT license found in the
64 * LICENSE.md file in the root directory of this source tree.
65 *
66 * @license MIT
67 */const lE="6";try{window.__reactRouterVersion=lE}catch{}const uE="startTransition",Vp=Td[uE];function cE(e){let{basename:t,children:n,future:r,window:o}=e,i=w.useRef();i.current==null&&(i.current=PC({window:o,v5Compat:!0}));let s=i.current,[a,l]=w.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=w.useCallback(d=>{u&&Vp?Vp(()=>l(d)):l(d)},[l,u]);return w.useLayoutEffect(()=>s.listen(c),[s,c]),w.useEffect(()=>iE(r),[r]),w.createElement(sE,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var _p;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(_p||(_p={}));var Bp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Bp||(Bp={}));var zp=["light","dark"],dE="(prefers-color-scheme: dark)",fE=w.createContext(void 0),hE={setTheme:e=>{},themes:[]},pE=()=>{var e;return(e=w.useContext(fE))!=null?e:hE};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:l})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;
67${`c.remove(${a.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?zp.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(v,g=!1,x=!0)=>{let p=s?s[v]:v,m=g?v+"|| ''":`'${p}'`,y="";return o&&x&&!g&&zp.includes(v)&&(y+=`d.style.colorScheme = '${v}';`),n==="class"?g||p?y+=`c.add(${m})`:y+="null":p&&(y+=`d[s](n,${m})`),y},f=e?`!function(){${c}${h(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${dE}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}${u?"":"else{"+h(i,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}else{${h(i,!1,!1)};}${d}}catch(t){}}();`;return w.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:f}})});var mE=e=>{switch(e){case"success":return vE;case"info":return wE;case"warning":return xE;case"error":return SE;default:return null}},gE=Array(12).fill(0),yE=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},gE.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),vE=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"})),xE=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"})),wE=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"})),SE=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"})),bE=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"})),CE=()=>{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},_c=1,EE=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:_c++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}
67),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>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(),o=n!==void 0,i,s=r.then(async l=>{if(i=["resolve",l],L.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(PE(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>s.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||_c++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Qe=new EE,TE=(e,t)=>{let n=(t==null?void 0:t.id)||_c++;return Qe.addToast({title:e,...t,id:n}),n},PE=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",kE=TE,RE=()=>Qe.toasts,AE=()=>Qe.getActiveToasts();Object.assign(kE,{success:Qe.success,info:Qe.info,warning:Qe.warning,error:Qe.error,custom:Qe.custom,message:Qe.message,promise:Qe.promise,dismiss:Qe.dismiss,loading:Qe.loading},{getHistory:RE,getToasts:AE});function ME(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))}ME(`: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;
67left: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}
67: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%);
67--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%)}
68`);function _s(e){return e.label!==void 0}var NE=3,DE="32px",LE="16px",$p=4e3,OE=356,jE=14,IE=20,FE=200;function Pt(...e){return e.filter(Boolean).join(" ")}function VE(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var _E=e=>{var t,n,r,o,i,s,a,l,u,c,d;let{invert:h,toast:f,unstyled:v,interacting:g,setHeights:x,visibleToasts:p,heights:m,index:y,toasts:S,expanded:C,removeToast:E,defaultRichColors:T,closeButton:P,style:N,cancelButtonStyle:R,actionButtonStyle:F,className:j="",descriptionClassName:U="",duration:O,position:W,gap:B,loadingIcon:H,expandByDefault:k,classNames:A,icons:I,closeButtonAriaLabel:$="Close toast",pauseWhenPageIsHidden:z}=e,[Y,q]=L.useState(null),[xe,Le]=L.useState(null),[ee,Ur]=L.useState(!1),[Sn,dr]=L.useState(!1),[bn,Wr]=L.useState(!1),[Cn,ys]=L.useState(!1),[zl,vs]=L.useState(!1),[$l,Jo]=L.useState(0),[Hr,dh]=L.useState(0),ei=L.useRef(f.duration||O||$p),fh=L.useRef(null),fr=L.useRef(null),w1=y===0,S1=y+1<=p,ft=f.type,Kr=f.dismissible!==!1,b1=f.className||"",C1=f.descriptionClassName||"",xs=L.useMemo(()=>m.findIndex(K=>
68K.toastId===f.id)||0,[m,f.id]),E1=L.useMemo(()=>{var K;return(K=f.closeButton)!=null?K:P},[f.closeButton,P]),hh=L.useMemo(()=>f.duration||O||$p,[f.duration,O]),Ul=L.useRef(0),Gr=L.useRef(0),ph=L.useRef(0),Qr=L.useRef(null),[T1,P1]=W.split("-"),mh=L.useMemo(()=>m.reduce((K,ne,ue)=>ue>=xs?K:K+ne.height,0),[m,xs]),gh=CE(),k1=f.invert||h,Wl=ft==="loading";Gr.current=L.useMemo(()=>xs*B+mh,[xs,mh]),L.useEffect(()=>{ei.current=hh},[hh]),L.useEffect(()=>{Ur(!0)},[]),L.useEffect(()=>{let K=fr.current;if(K){let ne=K.getBoundingClientRect().height;return dh(ne),x(ue=>[{toastId:f.id,height:ne,position:f.position},...ue]),()=>x(ue=>ue.filter(bt=>bt.toastId!==f.id))}},[x,f.id]),L.useLayoutEffect(()=>{if(!ee)return;let K=fr.current,ne=K.style.height;K.style.height="auto";let ue=K.getBoundingClientRect().height;K.style.height=ne,dh(ue),x(bt=>bt.find(Ct=>Ct.toastId===f.id)?bt.map(Ct=>Ct.toastId===f.id?{...Ct,height:ue}:Ct):[{toastId:f.id,height:ue,position:f.position},...bt])},[ee,f.title,f.description,x,f.id]);let En=L.useCallback(()=>{dr(!0),Jo(Gr.current),x(K=>K.filter(ne=>ne.toastId!==f.id)),setTimeout(()=>{E(f)},FE)},[f,E,x,Gr]);L.useEffect(()=>{if(f.promise&&ft==="loading"||f.duration===1/0||f.type==="loading")return;let K;return C||g||z&&gh?(()=>{if(ph.current<Ul.current){let ne=new Date().getTime()-Ul.current;ei.current=ei.current-ne}ph.current=new Date().getTime()})():ei.current!==1/0&&(Ul.current=new Date().getTime(),K=setTimeout(()=>{var ne;(ne=f.onAutoClose)==null||ne.call(f,f),En()},ei.current)),()=>clearTimeout(K)},[C,g,f,ft,z,gh,En]),L.useEffect(()=>{f.delete&&En()},[En,f.delete]);function R1(){var K,ne,ue;return I!=null&&I.loading?L.createElement("div",{className:Pt(A==null?void 0:A.loader,(K=f==null?void 0:f.classNames)==null?void 0:K.loader,"sonner-loader"),"data-visible":ft==="loading"},I.loading):H?L.createElement("div",{className:Pt(A==null?void 0:A.loader,(ne=f==null?void 0:f.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":ft==="loading"},H):L.createElement(yE,{className:Pt(A==null?void 0:A.loader,(ue=f==null?void 0:f.classNames)==null?void 0:ue.loader),visible:ft==="loading"})}return L.createElement("li",{tabIndex:0,ref:fr,className:Pt(j,b1,A==null?void 0:A.toast,(t=f==null?void 0:f.classNames)==null?void 0:t.toast,A==null?void 0:A.default,A==null?void 0:A[ft],(n=f==null?void 0:f.classNames)==null?void 0:n[ft]),"data-sonner-toast":"","data-rich-colors":(r=f.richColors)!=null?r:T,"data-styled":!(f.jsx||f.unstyled||v),"data-mounted":ee,"data-promise":!!f.promise,"data-swiped":zl,"data-removed":Sn,"data-visible":S1,"data-y-position":T1,"data-x-position":P1,"data-index":y,"data-front":w1,"data-swiping":bn,"data-dismissible":Kr,"data-type":ft,"data-invert":k1,"data-swipe-out":Cn,"data-swipe-direction":xe,"data-expanded":!!(C||k&&ee),style:{"--index":y,"--toasts-before":y,"--z-index":S.length-y,"--offset":`${Sn?$l:Gr.current}px`,"--initial-height":k?"auto":`${Hr}px`,...N,...f.style},onDragEnd:()=>{Wr(!1),q(null),Qr.current=null},onPointerDown:K=>{Wl||!Kr||(fh.current=new Date,Jo(Gr.current),K.target.setPointerCapture(K.pointerId),K.target.tagName!=="BUTTON"&&(Wr(!0),Qr.current={x:K.clientX,y:K.clientY}))},onPointerUp:()=>{var K,ne,ue,bt;if(Cn||!Kr)return;Qr.current=null;let Ct=Number(((K=fr.current)==null?void 0:K.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Tn=Number(((ne=fr.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),hr=new Date().getTime()-((ue=fh.current)==null?void 0:ue.getTime()),Et=Y==="x"?Ct:Tn,Pn=Math.abs(Et)/hr;if(Math.abs(Et)>=IE||Pn>.11){Jo(Gr.current),(bt=f.onDismiss)==null||bt.call(f,f),Le(Y==="x"?Ct>0?"right":"left":Tn>0?"down":"up"),En(),ys(!0),vs(!1);return}Wr(!1),q(null)},onPointerMove:K=>{var ne,ue,bt,Ct;if(!Qr.current||!Kr||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let Tn=K.clientY-Qr.current.y,hr=K.clientX-Qr.current.x,Et=(ue=e.swipeDirections)!=null?ue:VE(W);!Y&&(Math.abs(hr)>1||Math.abs(Tn)>1)&&q(Math.abs(hr)>Math.abs(Tn)?"x":"y");let Pn={x:0,y:0};Y==="y"?(Et.includes("top")||Et.includes("bottom"))&&(Et.includes("top")&&Tn<0||Et.includes("bottom")&&Tn>
680)&&(Pn.y=Tn):Y==="x"&&(Et.includes("left")||Et.includes("right"))&&(Et.includes("left")&&hr<0||Et.includes("right")&&hr>0)&&(Pn.x=hr),(Math.abs(Pn.x)>0||Math.abs(Pn.y)>0)&&vs(!0),(bt=fr.current)==null||bt.style.setProperty("--swipe-amount-x",`${Pn.x}px`),(Ct=fr.current)==null||Ct.style.setProperty("--swipe-amount-y",`${Pn.y}px`)}},E1&&!f.jsx?L.createElement("button",{"aria-label":$,"data-disabled":Wl,"data-close-button":!0,onClick:Wl||!Kr?()=>{}:()=>{var K;En(),(K=f.onDismiss)==null||K.call(f,f)},className:Pt(A==null?void 0:A.closeButton,(o=f==null?void 0:f.classNames)==null?void 0:o.closeButton)},(i=I==null?void 0:I.close)!=null?i:bE):null,f.jsx||w.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:L.createElement(L.Fragment,null,ft||f.icon||f.promise?L.createElement("div",{"data-icon":"",className:Pt(A==null?void 0:A.icon,(s=f==null?void 0:f.classNames)==null?void 0:s.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||R1():null,f.type!=="loading"?f.icon||(I==null?void 0:I[ft])||mE(ft):null):null,L.createElement("div",{"data-content":"",className:Pt(A==null?void 0:A.content,(a=f==null?void 0:f.classNames)==null?void 0:a.content)},L.createElement("div",{"data-title":"",className:Pt(A==null?void 0:A.title,(l=f==null?void 0:f.classNames)==null?void 0:l.title)},typeof f.title=="function"?f.title():f.title),f.description?L.createElement("div",{"data-description":"",className:Pt(U,C1,A==null?void 0:A.description,(u=f==null?void 0:f.classNames)==null?void 0:u.description)},typeof f.description=="function"?f.description():f.description):null),w.isValidElement(f.cancel)?f.cancel:f.cancel&&_s(f.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||R,onClick:K=>{var ne,ue;_s(f.cancel)&&Kr&&((ue=(ne=f.cancel).onClick)==null||ue.call(ne,K),En())},className:Pt(A==null?void 0:A.cancelButton,(c=f==null?void 0:f.classNames)==null?void 0:c.cancelButton)},f.cancel.label):null,w.isValidElement(f.action)?f.action:f.action&&_s(f.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||F,onClick:K=>{var ne,ue;_s(f.action)&&((ue=(ne=f.action).onClick)==null||ue.call(ne,K),!K.defaultPrevented&&En())},className:Pt(A==null?void 0:A.actionButton,(d=f==null?void 0:f.classNames)==null?void 0:d.actionButton)},f.action.label):null))};function Up(){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 BE(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",a=i?LE:DE;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 zE=w.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:h,style:f,visibleToasts:v=NE,toastOptions:g,dir:x=Up(),gap:p=jE,loadingIcon:m,icons:y,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[E,T]=L.useState([]),P=L.useMemo(()=>Array.from(new Set([r].concat(E.filter(z=>z.position).map(z=>z.position)))),[E,r]),[N,R]=L.useState([]),[F,j]=L.useState(!1),[U,O]=L.useState(!1),[W,B]=L.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),H=L.useRef(null),k=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=L.useRef(null),I=L.useRef(!1),$=L.useCallback(z=>{T(Y=>{var q;return(q=Y.find(xe=>xe.id===z.id))!=null&&q.delete||Qe.dismiss(z.id),Y.filter(({id:xe})=>xe!==z.id)})},[]);return L.useEffect(()=>Qe.subscribe(z=>{if(z.dismiss){T(Y=>Y.map(q=>q.id===z.id?{...q,delete:!0}:q));return}setTimeout(()=>{Zv.flushSync(()=>{T(Y=>{let q=Y.findIndex(xe=>xe.id===z.id);return q!==-1?[...Y.slice(0,q),{...Y[q],...z},...Y.slice(q+1)]:[z,...Y]})})})}),[]),L.useEffect(()=>{if(c!=="system"){B(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:Y})=>{B(Y?"dark":"light")})}catch{z.addListener(({matches:q})=>{try{B(q?"dark":"light")}catch(xe){console.error(xe)}})}},[c]),L.useEffect(()=>{E.length<=1&&j(!1)},[E]),L.useEffect(()=>{let z=Y=>{var q,xe;o.every(Le=>Y[Le]||Y.code===Le)&&(j(!0),(q=H.current)==null||q.focus()),Y.code==="Escape"&&(document.activeElement===H.current||(xe=H.current)!=null&&xe.contains(document.activeElement))&&j(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[o]),L.useEffect(()=>{if(H.current)return()=>{A.current&&(A.current.focus({preventScroll:!0}),A.current=null,I.current=!1)}},[H.current]),L.createElement("section",{ref:t,"aria-label":`${S} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((z,Y)=>{var q;let[xe,Le]=z.split("-");return E.length?L.createElement("ol",{key:z,dir:x==="auto"?Up():x,tabIndex:-1,ref:H,className:a,"data-sonner-toaster":!0,"data-theme":W,"data-y-position":xe,"data-lifted":F&&E.length>1&&!i,"data-x-position":Le,style:{"--front-toast-height":`${((q=N[0])==null?void 0:q.height)||0}px`,"--width":`${OE}px`,"--gap":`${p}px`,...f,...BE(l,u)},onBlur:ee=>{I.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(I.current=!1,A.current&&(A.current.focus({preventScroll:!0}),A.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||I.current||(I.current=!0,A.current=ee.relatedTarget)},onMouseEnter:()=>j(!0),onMouseMove:()=>j(!0),onMouseLeave:()=>{U||j(!1)},onDragEnd:()=>j(!1),onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},E.filter(ee=>!ee.position&&Y===0||ee.position===z).map((ee,Ur)=>{var Sn,dr;return L.createElement(_E,{key:ee.id,icons:y,index:Ur,toast:ee,defaultRichColors:d,duration:(Sn=g==null?void 0:g.duration)!=null?Sn:h,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:v,closeButton:(dr=g==null?void 0:g.closeButton)!=null?dr: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:$,toasts:E.filter(bn=>bn.position==ee.position),heights:N.filter(bn=>bn.position==ee.position),setHeights:R,expandByDefault:i,gap:p,loadingIcon:m,expanded:F,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const $E=({...e})=>{const{theme:t="system"}=pE();return b.jsx(zE,{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})},UE=1,WE=1e6;let xu=0;function HE(){return xu=(xu+1)%Number.MAX_SAFE_INTEGER,xu.toString()}const wu=new Map,Wp=e=>{if(wu.has(e))return;const t=setTimeout(()=>{wu.delete(e),Pi({type:"REMOVE_TOAST",toastId:e})},WE);wu.set(e,t)},KE=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,UE)};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;
68return n?Wp(n):e.toasts.forEach(r=>{Wp(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)}}},aa=[];let la={toasts:[]};function Pi(e){la=KE(la,e),aa.forEach(t=>{t(la)})}function GE({...e}){const t=HE(),n=o=>Pi({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Pi({type:"DISMISS_TOAST",toastId:t});return Pi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function QE(){const[e,t]=w.useState(la);return w.useEffect(()=>(aa.push(t),()=>{const n=aa.indexOf(t);n>-1&&aa.splice(n,1)}),[e]),{...e,toast:GE,dismiss:n=>Pi({type:"DISMISS_TOAST",toastId:n})}}function Ee(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Hp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function g0(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Hp(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Hp(e[o],null)}}}}function _t(...e){return w.useCallback(g0(...e),e)}function Tl(e,t=[]){let n=[];function r(i,s){const a=w.createContext(s),l=n.length;n=[...n,s];const u=d=>{var p;const{scope:h,children:f,...v}=d,g=((p=h==null?void 0:h[e])==null?void 0:p[l])||a,x=w.useMemo(()=>v,Object.values(v));return b.jsx(g.Provider,{value:x,children:f})};u.displayName=i+"Provider";function c(d,h){var g;const f=((g=h==null?void 0:h[e])==null?void 0:g[l])||a,v=w.useContext(f);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(s=>w.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,YE(o,...t)]}function YE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Bc(e){const t=XE(e),n=w.forwardRef((r,o)=>{const{children:i,...s}=r,a=w.Children.toArray(i),l=a.find(ZE);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 b.jsx(t,{...s,ref:o,children:w.isValidElement(u)?w.cloneElement(u,void 0,c):null})}return b.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function XE(e){const t=w.forwardRef((n,r)=>{const{children:o,...i}=n;if(w.isValidElement(o)){const s=eT(o),a=JE(i,o.props);return o.type!==w.Fragment&&(a.ref=r?g0(r,s):s),w.cloneElement(o,a)}return w.Children.count(o)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var y0=Symbol("radix.slottable");function qE(e){const t=({children:n})=>b.jsx(b.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=y0,t}function ZE(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===y0}function JE(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const l=i(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function eT(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function tT(e){const t=e+"CollectionProvider",[n,r]=Tl(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{const{scope:x,children:p}=g,m=L.useRef(null),y=L.useRef(new Map).current;return b.jsx(o,{scope:x,itemMap:y,collectionRef:m,children:p})};s.displayName=t;const a=e+"CollectionSlot",l=Bc(a),u=L.forwardRef((g,x)=>{const{scope:p,children:m}=g,y=i(a,p),S=_t(x,y.collectionRef);return b.jsx(l,{ref:S,children:m})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",h=Bc(c),f=L.forwardRef((g,x)=>{const{scope:p,children:m,...y}=g,S=L.useRef(null),C=_t(x,S),E=i(c,p);return L.useEffect(()=>(E.itemMap.set(S,{ref:S,...y}),()=>void E.itemMap.delete(S))),b.jsx(h,{[d]:"",ref:C,children:m})});f.displayName=c;function v(g){const x=i(e+"CollectionConsumer",g);return L.useCallback(()=>{const m=x.collectionRef.current;if(!m)return[];const y=Array.from(m.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((E,T)=>y.indexOf(E.ref.current)-y.indexOf(T.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:s,Slot:u,ItemSlot:f},v,r]}var nT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rt=nT.reduce((e,t)=>
vendor: 7,703 bytes, line 68
68{const n=Bc(`Primitive.${t}`),r=w.forwardRef((o,i)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function v0(e,t){e&&cs.flushSync(()=>e.dispatchEvent(t))}function nr(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 rT(e,t=globalThis==null?void 0:globalThis.document){const n=nr(e);w.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var oT="DismissableLayer",zc="dismissableLayer.update",iT="dismissableLayer.pointerDownOutside",sT="dismissableLayer.focusOutside",Kp,x0=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),wf=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=w.useContext(x0),[c,d]=w.useState(null),h=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=w.useState({}),v=_t(t,T=>d(T)),g=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),p=g.indexOf(x),m=c?g.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,S=m>=p,C=lT(T=>{const P=T.target,N=[...u.branches].some(R=>R.contains(P));!S||N||(o==null||o(T),s==null||s(T),T.defaultPrevented||a==null||a())},h),E=uT(T=>{const P=T.target;[...u.branches].some(R=>R.contains(P))||(i==null||i(T),s==null||s(T),T.defaultPrevented||a==null||a())},h);return rT(T=>{m===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},h),w.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Kp=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Gp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Kp)}},[c,h,n,u]),w.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Gp())},[c,u]),w.useEffect(()=>{const T=()=>f({});return document.addEventListener(zc,T),()=>document.removeEventListener(zc,T)},[]),b.jsx(rt.div,{...l,ref:v,style:{pointerEvents:y?S?"auto":"none":void 0,...e.style},onFocusCapture:Ee(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Ee(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Ee(e.onPointerDownCapture,C.onPointerDownCapture)})});wf.displayName=oT;var aT="DismissableLayerBranch",w0=w.forwardRef((e,t)=>{const n=w.useContext(x0),r=w.useRef(null),o=_t(t,r);return w.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),b.jsx(rt.div,{...e,ref:o})});w0.displayName=aT;function lT(e,t=globalThis==null?void 0:globalThis.document){const n=nr(e),r=w.useRef(!1),o=w.useRef(()=>{});return w.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){S0(iT,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function uT(e,t=globalThis==null?void 0:globalThis.document){const n=nr(e),r=w.useRef(!1);return w.useEffect(()=>{const o=i=>{i.target&&!r.current&&S0(sT,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Gp(){const e=new CustomEvent(zc);document.dispatchEvent(e)}function S0(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?v0(o,i):o.dispatchEvent(i)}var cT=wf,dT=w0,yn=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},fT="Portal",b0=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=w.useState(!1);yn(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?Zv.createPortal(b.jsx(rt.div,{...r,ref:t}),s):null});b0.displayName=fT;function hT(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Sf=e=>{const{present:t,children:n}=e,r=pT(t),o=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),i=_t(r.ref,mT(o));return typeof n=="function"||r.isPresent?w.cloneElement(o,{ref:i}):null};Sf.displayName="Presence";function pT(e){const[t,n]=w.useState(),r=w.useRef(null),o=w.useRef(e),i=w.useRef("none"),s=e?"mounted":"unmounted",[a,l]=hT(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=Bs(r.current);i.current=a==="mounted"?u:"none"},[a]),yn(()=>{const u=r.current,c=o.current;if(c!==e){const h=i.current,f=Bs(u);e?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&h!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),yn(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=f=>{const g=Bs(r.current).includes(f.animationName);if(f.target===t&&g&&(l("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},h=f=>{f.target===t&&(i.current=Bs(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",h),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 Bs(e){return(e==null?void 0:e.animationName)||"none"}function mT(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var gT=Td[" useInsertionEffect ".trim().toString()]||yn;function C0({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=yT({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const c=w.useRef(e!==void 0);w.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=w.useCallback(c=>{var d;if(a){const h=vT(c)?c(e):c;h!==e&&((d=s.current)==null||d.call(s,h))}else i(c)},[a,e,i,s]);return[l,u]}function yT({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),o=w.useRef(n),i=w.useRef(t);return gT(()=>{i.current=t},[t]),w.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function vT(e){return typeof e=="function"}var xT=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"}),wT="VisuallyHidden",Pl=w.forwardRef((e,t)=>
68b.jsx(rt.span,{...e,ref:t,style:{...xT,...e.style}}));Pl.displayName=wT;var ST=Pl,bf="ToastProvider",[Cf,bT,CT]=tT("Toast"),[E0,sL]=Tl("Toast",[CT]),[ET,kl]=E0(bf),T0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=w.useState(null),[u,c]=w.useState(0),d=w.useRef(!1),h=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${bf}\`. Expected non-empty \`string\`.`),b.jsx(Cf.Provider,{scope:t,children:b.jsx(ET,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:w.useCallback(()=>c(f=>f+1),[]),onToastRemove:w.useCallback(()=>c(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:h,children:s})})};T0.displayName=bf;var P0="ToastViewport",TT=["F8"],$c="toast.viewportPause",Uc="toast.viewportResume",k0=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=TT,label:o="Notifications ({hotkey})",...i}=e,s=kl(P0,n),a=bT(n),l=w.useRef(null),u=w.useRef(null),c=w.useRef(null),d=w.useRef(null),h=_t(t,d,s.onViewportChange),f=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=s.toastCount>0;w.useEffect(()=>{const x=p=>{var y;r.length!==0&&r.every(S=>p[S]||p.code===S)&&((y=d.current)==null||y.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),w.useEffect(()=>{const x=l.current,p=d.current;if(v&&x&&p){const m=()=>{if(!s.isClosePausedRef.current){const E=new CustomEvent($c);p.dispatchEvent(E),s.isClosePausedRef.current=!0}},y=()=>{if(s.isClosePausedRef.current){const E=new CustomEvent(Uc);p.dispatchEvent(E),s.isClosePausedRef.current=!1}},S=E=>{!x.contains(E.relatedTarget)&&y()},C=()=>{x.contains(document.activeElement)||y()};return x.addEventListener("focusin",m),x.addEventListener("focusout",S),x.addEventListener("pointermove",m),x.addEventListener("pointerleave",C),window.addEventListener("blur",m),window.addEventListener("focus",y),()=>{x.removeEventListener("focusin",m),x.removeEventListener("focusout",S),x.removeEventListener("pointermove",m),x.removeEventListener("pointerleave",C),window.removeEventListener("blur",m),window.removeEventListener("focus",y)}}},[v,s.isClosePausedRef]);const g=w.useCallback(({tabbingDirection:x})=>{const m=a().map(y=>{const S=y.ref.current,C=[S,...VT(S)];return x==="forwards"?C:C.reverse()});return(x==="forwards"?m.reverse():m).flat()},[a]);return w.useEffect(()=>{const x=d.current;if(x){const p=m=>{var C,E,T;const y=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!y){const P=document.activeElement,N=m.shiftKey;if(m.target===x&&N){(C=u.current)==null||C.focus();return}const j=g({tabbingDirection:N?"backwards":"forwards"}),U=j.findIndex(O=>O===P);Su(j.slice(U+1))?m.preventDefault():N?(E=u.current)==null||E.focus():(T=c.current)==null||T.focus()}};return x.addEventListener("keydown",p),()=>x.removeEventListener("keydown",p)}},[a,g]),b.jsxs(dT,{ref:l,role:"region","aria-label":o.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&b.jsx(Wc,{ref:u,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"forwards"});Su(x)}}),b.jsx(Cf.Slot,{scope:n,children:b.jsx(rt.ol,{tabIndex:-1,...i,ref:h})}),v&&b.jsx(Wc,{ref:c,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"backwards"});Su(x)}})]})});k0.displayName=P0;var R0="ToastFocusProxy",Wc=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=kl(R0,n);return b.jsx(Pl,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});Wc.displayName=R0;var ds="Toast",PT="toast.swipeStart",kT="toast.swipeMove",RT="toast.swipeCancel",AT="toast.swipeEnd",A0=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,l]=C0({prop:r,defaultProp:o??!0,onChange:i,caller:ds});return b.jsx(Sf,{present:n||a,children:b.jsx(DT,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:nr(e.onPause),onResume:nr(e.onResume),onSwipeStart:Ee(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ee(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:Ee(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:Ee(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)})})})});A0.displayName=ds;var[MT,NT]=E0(ds,{onClose(){}}),DT=w.forwardRef((e,t)=>
68{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:h,onSwipeEnd:f,...v}=e,g=kl(ds,n),[x,p]=w.useState(null),m=_t(t,O=>p(O)),y=w.useRef(null),S=w.useRef(null),C=o||g.duration,E=w.useRef(0),T=w.useRef(C),P=w.useRef(0),{onToastAdd:N,onToastRemove:R}=g,F=nr(()=>{var W;(x==null?void 0:x.contains(document.activeElement))&&((W=g.viewport)==null||W.focus()),s()}),j=w.useCallback(O=>{!O||O===1/0||(window.clearTimeout(P.current),E.current=new Date().getTime(),P.current=window.setTimeout(F,O))},[F]);w.useEffect(()=>{const O=g.viewport;if(O){const W=()=>{j(T.current),u==null||u()},B=()=>{const H=new Date().getTime()-E.current;T.current=T.current-H,window.clearTimeout(P.current),l==null||l()};return O.addEventListener($c,B),O.addEventListener(Uc,W),()=>{O.removeEventListener($c,B),O.removeEventListener(Uc,W)}}},[g.viewport,C,l,u,j]),w.useEffect(()=>{i&&!g.isClosePausedRef.current&&j(C)},[i,C,g.isClosePausedRef,j]),w.useEffect(()=>(N(),()=>R()),[N,R]);const U=w.useMemo(()=>x?I0(x):null,[x]);return g.viewport?b.jsxs(b.Fragment,{children:[U&&b.jsx(LT,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),b.jsx(MT,{scope:n,onClose:F,children:cs.createPortal(b.jsx(Cf.ItemSlot,{scope:n,children:b.jsx(cT,{asChild:!0,onEscapeKeyDown:Ee(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||F(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:b.jsx(rt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":g.swipeDirection,...v,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ee(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,F()))}),onPointerDown:Ee(e.onPointerDown,O=>{O.button===0&&(y.current={x:O.clientX,y:O.clientY})}),onPointerMove:Ee(e.onPointerMove,O=>{if(!y.current)return;const W=O.clientX-y.current.x,B=O.clientY-y.current.y,H=!!S.current,k=["left","right"].includes(g.swipeDirection),A=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,I=k?A(0,W):0,$=k?0:A(0,B),z=O.pointerType==="touch"?10:2,Y={x:I,y:$},q={originalEvent:O,delta:Y};H?(S.current=Y,zs(kT,d,q,{discrete:!1})):Qp(Y,g.swipeDirection,z)?(S.current=Y,zs(PT,c,q,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(W)>z||Math.abs(B)>z)&&(y.current=null)}),onPointerUp:Ee(e.onPointerUp,O=>{const W=S.current,B=O.target;if(B.hasPointerCapture(O.pointerId)&&B.releasePointerCapture(O.pointerId),S.current=null,y.current=null,W){const H=O.currentTarget,k={originalEvent:O,delta:W};Qp(W,g.swipeDirection,g.swipeThreshold)?zs(AT,f,k,{discrete:!0}):zs(RT,h,k,{discrete:!0}),H.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),LT=e=>{const{__scopeToast:t,children:n,...r}=e,o=kl(ds,t),[i,s]=w.useState(!1),[a,l]=w.useState(!1);return IT(()=>s(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:b.jsx(b0,{asChild:!0,children:b.jsx(Pl,{...r,children:i&&b.jsxs(b.Fragment,{children:[o.label," ",n]})})})},OT="ToastTitle",M0=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return b.jsx(rt.div,{...r,ref:t})});M0.displayName=OT;var jT="ToastDescription",N0=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return b.jsx(rt.div,{...r,ref:t})});N0.displayName=jT;var D0="ToastAction",L0=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?b.jsx(j0,{altText:n,asChild:!0,children:b.jsx(Ef,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${D0}\`. Expected non-empty \`string\`.`),null)});L0.displayName=D0;var O0="ToastClose",Ef=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=NT(O0,n);return b.jsx(j0,{asChild:!0,children:b.jsx(rt.button,{type:"button",...r,ref:t,onClick:Ee(e.onClick,o.onClose)})})});Ef.displayName=O0;var j0=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return b.jsx(rt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function I0(e){const t=[];
vendor: 5,696 bytes, lines 68-103
68return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),FT(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...I0(r))}}),t}function zs(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?v0(o,i):o.dispatchEvent(i)}var Qp=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function IT(e=()=>{}){const t=nr(e);yn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function FT(e){return e.nodeType===e.ELEMENT_NODE}function VT(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Su(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var _T=T0,F0=k0,V0=A0,_0=M0,B0=N0,z0=L0,$0=Ef;function U0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=U0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function W0(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=U0(e))&&(r&&(r+=" "),r+=t);return r}const Yp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Xp=W0,BT=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Xp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const h=Yp(c)||Yp(d);return o[u][h]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,h]=c;return h===void 0||(u[d]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:h,...f}=c;return Object.entries(f).every(v=>{let[g,x]=v;return Array.isArray(x)?x.includes({...i,...a}[g]):{...i,...a}[g]===x})?[...u,d,h]:u},[]);return Xp(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
69 * @license lucide-react v0.462.0 - ISC
70 *
71 * This source code is licensed under the ISC license.
72 * See the LICENSE file in the root directory of this source tree.
73 */const zT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),H0=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
74 * @license lucide-react v0.462.0 - ISC
75 *
76 * This source code is licensed under the ISC license.
77 * See the LICENSE file in the root directory of this source tree.
78 */var $T={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"};/**
79 * @license lucide-react v0.462.0 - ISC
80 *
81 * This source code is licensed under the ISC license.
82 * See the LICENSE file in the root directory of this source tree.
83 */const UT=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>w.createElement("svg",{ref:l,...$T,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:H0("lucide",o),...a},[...s.map(([u,c])=>w.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
84 * @license lucide-react v0.462.0 - ISC
85 *
86 * This source code is licensed under the ISC license.
87 * See the LICENSE file in the root directory of this source tree.
88 */const de=(e,t)=>{const n=w.forwardRef(({className:r,...o},i)=>w.createElement(UT,{ref:i,iconNode:t,className:H0(`lucide-${zT(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
89 * @license lucide-react v0.462.0 - ISC
90 *
91 * This source code is licensed under the ISC license.
92 * See the LICENSE file in the root directory of this source tree.
93 */const K0=de("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
94 * @license lucide-react v0.462.0 - ISC
95 *
96 * This source code is licensed under the ISC license.
97 * See the LICENSE file in the root directory of this source tree.
98 */const WT=de("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
99 * @license lucide-react v0.462.0 - ISC
100 *
101 * This source code is licensed under the ISC license.
102 * See the LICENSE file in the root directory of this source tree.
103 */const qp=de("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
103],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
104 * @license lucide-react v0.462.0 - ISC
105 *
106 * This source code is licensed under the ISC license.
107 * See the LICENSE file in the root directory of this source tree.
108 */const HT=de("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
109 * @license lucide-react v0.462.0 - ISC
110 *
111 * This source code is licensed under the ISC license.
112 * See the LICENSE file in the root directory of this source tree.
113 */const Tf=de("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
114 * @license lucide-react v0.462.0 - ISC
115 *
116 * This source code is licensed under the ISC license.
117 * See the LICENSE file in the root directory of this source tree.
118 */const KT=de("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
119 * @license lucide-react v0.462.0 - ISC
120 *
121 * This source code is licensed under the ISC license.
122 * See the LICENSE file in the root directory of this source tree.
123 */const GT=de("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
124 * @license lucide-react v0.462.0 - ISC
125 *
126 * This source code is licensed under the ISC license.
127 * See the LICENSE file in the root directory of this source tree.
128 */const QT=de("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
129 * @license lucide-react v0.462.0 - ISC
130 *
131 * This source code is licensed under the ISC license.
132 * See the LICENSE file in the root directory of this source tree.
133 */const YT=de("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/**
134 * @license lucide-react v0.462.0 - ISC
135 *
136 * This source code is licensed under the ISC license.
137 * See the LICENSE file in the root directory of this source tree.
138 */const XT=de("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
139 * @license lucide-react v0.462.0 - ISC
140 *
141 * This source code is licensed under the ISC license.
142 * See the LICENSE file in the root directory of this source tree.
143 */const qT=de("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
144 * @license lucide-react v0.462.0 - ISC
145 *
146 * This source code is licensed under the ISC license.
147 * See the LICENSE file in the root directory of this source tree.
148 */const ZT=de("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
149 * @license lucide-react v0.462.0 - ISC
150 *
151 * This source code is licensed under the ISC license.
152 * See the LICENSE file in the root directory of this source tree.
153 */const JT=de("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
154 * @license lucide-react v0.462.0 - ISC
155 *
156 * This source code is licensed under the ISC license.
157 * See the LICENSE file in the root directory of this source tree.
158 */const eP=de("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
159 * @license lucide-react v0.462.0 - ISC
160 *
161 * This source code is licensed under the ISC license.
162 * See the LICENSE file in the root directory of this source tree.
163 */const tP=de("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
164 * @license lucide-react v0.462.0 - ISC
165 *
166 * This source code is licensed under the ISC license.
167 * See the LICENSE file in the root directory of this source tree.
168 */const nP=de("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
169 * @license lucide-react v0.462.0 - ISC
170 *
171 * This source code is licensed under the ISC license.
172 * See the LICENSE file in the root directory of this source tree.
173 */const rP=de("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/**
174 * @license lucide-react v0.462.0 - ISC
175 *
176 * This source code is licensed under the ISC license.
177 * See the LICENSE file in the root directory of this source tree.
178 */const oP=de("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
179 * @license lucide-react v0.462.0 - ISC
180 *
181 * This source code is licensed under the ISC license.
182 * See the LICENSE file in the root directory of this source tree.
183 */const iP=de("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
184 * @license lucide-react v0.462.0 - ISC
185 *
186 * This source code is licensed under the ISC license.
187 * See the LICENSE file in the root directory of this source tree.
188 */const sP=de("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
189 * @license lucide-react v0.462.0 - ISC
190 *
191 * This source code is licensed under the ISC license.
192 * See the LICENSE file in the root directory of this source tree.
193 */const aP=de("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/**
194 * @license lucide-react v0.462.0 - ISC
195 *
196 * This source code is licensed under the ISC license.
197 * See the LICENSE file in the root directory of this source tree.
198 */const lP=de("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
199 * @license lucide-react v0.462.0 - ISC
200 *
201 * This source code is licensed under the ISC license.
202 * See the LICENSE file in the root directory of this source tree.
203 */const uP=de("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/**
204 * @license lucide-react v0.462.0 - ISC
205 *
206 * This source code is licensed under the ISC license.
207 * See the LICENSE file in the root directory of this source tree.
208 */const cP=de("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Pf="-",dP=e=>{const t=hP(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(Pf);return a[0]===""&&a.length!==1&&a.shift(),G0(a,t)||fP(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},G0=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?G0(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Pf);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},Zp=/^\[(.+)\]$/,fP=e=>{if(Zp.test(e)){const t=Zp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},hP=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};
vendor: 5,113 bytes, line 208
208return mP(Object.entries(e.classGroups),n).forEach(([i,s])=>{Hc(s,r,i,t)}),r},Hc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Jp(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(pP(o)){Hc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Hc(s,Jp(t,i),n,r)})})},Jp=(e,t)=>{let n=e;return t.split(Pf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},pP=e=>e.isThemeGetter,mP=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,gP=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},Q0="!",yP=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const l=[];let u=0,c=0,d;for(let x=0;x<a.length;x++){let p=a[x];if(u===0){if(p===o&&(r||a.slice(x,x+i)===t)){l.push(a.slice(c,x)),c=x+i;continue}if(p==="/"){d=x;continue}}p==="["?u++:p==="]"&&u--}const h=l.length===0?a:a.substring(c),f=h.startsWith(Q0),v=f?h.substring(1):h,g=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:f,baseClassName:v,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:s}):s},vP=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},xP=e=>({cache:gP(e.cacheSize),parseClassName:yP(e),...dP(e)}),wP=/\s+/,SP=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(wP);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:f}=n(u);let v=!!f,g=r(v?h.substring(0,f):h);if(!g){if(!v){a=u+(a.length>0?" "+a:a);continue}if(g=r(h),!g){a=u+(a.length>0?" "+a:a);continue}v=!1}const x=vP(c).join(":"),p=d?x+Q0:x,m=p+g;if(i.includes(m))continue;i.push(m);const y=o(g,v);for(let S=0;S<y.length;++S){const C=y[S];i.push(p+C)}a=u+(a.length>0?" "+a:a)}return a};function bP(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Y0(t))&&(r&&(r+=" "),r+=n);return r}const Y0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Y0(e[r]))&&(n&&(n+=" "),n+=t);return n};function CP(e,...t){let n,r,o,i=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=xP(u),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=SP(l,n);return o(l,c),c}return function(){return i(bP.apply(null,arguments))}}const ie=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},X0=/^\[(?:([a-z-]+):)?(.+)\]$/i,EP=/^\d+\/\d+$/,TP=new Set(["px","full","screen"]),PP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kP=/\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$/,RP=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,AP=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,MP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,on=e=>bo(e)||TP.has(e)||EP.test(e),Rn=e=>Go(e,"length",VP),bo=e=>!!e&&!Number.isNaN(Number(e)),bu=e=>Go(e,"number",bo),ui=e=>!!e&&Number.isInteger(Number(e)),NP=e=>e.endsWith("%")&&bo(e.slice(0,-1)),Q=e=>X0.test(e),An=e=>PP.test(e),DP=new Set(["length","size","percentage"]),LP=e=>Go(e,DP,q0),OP=e=>Go(e,"position",q0),jP=new Set(["image","url"]),IP=e=>Go(e,jP,BP),FP=e=>Go(e,"",_P),ci=()=>!0,Go=(e,t,n)=>{const r=X0.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},VP=e=>kP.test(e)&&!RP.test(e),q0=()=>!1,_P=e=>AP.test(e),BP=e=>MP.test(e),zP=()=>{const e=ie("colors"),t=ie("spacing"),n=ie("blur"),r=ie("brightness"),o=ie("borderColor"),i=ie("borderRadius"),s=ie("borderSpacing"),a=ie("borderWidth"),l=ie("contrast"),u=ie("grayscale"),c=ie("hueRotate"),d=ie("invert"),h=ie("gap"),f=ie("gradientColorStops"),v=ie("gradientColorStopPositions"),g=ie("inset"),x=ie("margin"),p=ie("opacity"),m=ie("padding"),y=ie("saturate"),S=ie("scale"),C=ie("sepia"),E=ie("skew"),T=ie("space"),P=ie("translate"),N=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",Q,t],j=()=>[Q,t],U=()=>["",on,Rn],O=()=>["auto",bo,Q],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",Q],I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[bo,Q];return{cacheSize:500,separator:":",theme:{colors:[ci],spacing:[on,Rn],blur:["none","",An,Q],brightness:$(),borderColor:[e],borderRadius:["n
208one","","full",An,Q],borderSpacing:j(),borderWidth:U(),contrast:$(),grayscale:A(),hueRotate:$(),invert:A(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[NP,Rn],inset:F(),margin:F(),opacity:$(),padding:j(),saturate:$(),scale:$(),sepia:A(),skew:$(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",Q]}],container:["container"],columns:[{columns:[An]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"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:[...W(),Q]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ui,Q]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Q]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",ui,Q]}],"grid-cols":[{"grid-cols":[ci]}],"col-start-end":[{col:["auto",{span:["full",ui,Q]},Q]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[ci]}],"row-start-end":[{row:["auto",{span:[ui,Q]},Q]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Q]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Q,t]}],"min-w":[{"min-w":[Q,t,"min","max","fit"]}],"max-w":[{"max-w":[Q,t,"none","full","min","max","fit","prose",{screen:[An]},An]}],h:[{h:[Q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",An,Rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",bu]}],"font-family":[{font:[ci]}],"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",Q]}],"line-clamp":[{"line-clamp":["none",bo,bu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",on,Q]}],"list-image":[{"list-image":["none",Q]}],"list-style-type":[{list:["none","disc","decimal",Q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[p]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",on,Rn]}],"underline-offset":[{"underline-offset":["auto",on,Q]}],"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:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q]}],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",Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[p]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),OP]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",LP]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},IP]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}
vendor: 5,172 bytes, line 208
208],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[p]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[p]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[on,Q]}],"outline-w":[{outline:[on,Rn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[p]}],"ring-offset-w":[{"ring-offset":[on,Rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",An,FP]}],"shadow-color":[{shadow:[ci]}],opacity:[{opacity:[p]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",An,Q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[p]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"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",Q]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",Q]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",Q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[ui,Q]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Q]}],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",Q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"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 208
208],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",Q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[on,Rn,bu]}],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"]}}},$P=CP(zP);function $r(...e){return $P(W0(e))}const UP=_T,Z0=w.forwardRef(({className:e,...t},n)=>b.jsx(F0,{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}));Z0.displayName=F0.displayName;const WP=BT("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"}}),J0=w.forwardRef(({className:e,variant:t,...n},r)=>b.jsx(V0,{ref:r,className:$r(WP({variant:t}),e),...n}));J0.displayName=V0.displayName;const HP=w.forwardRef(({className:e,...t},n)=>b.jsx(z0,{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}));HP.displayName=z0.displayName;const ex=w.forwardRef(({className:e,...t},n)=>b.jsx($0,{ref:n,className:$r("absolute right-2 top-2 rounded-md p-1 text-foreground
208/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:b.jsx(cP,{className:"h-4 w-4"})}));ex.displayName=$0.displayName;const tx=w.forwardRef(({className:e,...t},n)=>b.jsx(_0,{ref:n,className:$r("text-sm font-semibold",e),...t}));tx.displayName=_0.displayName;const nx=w.forwardRef(({className:e,...t},n)=>b.jsx(B0,{ref:n,className:$r("text-sm opacity-90",e),...t}));nx.displayName=B0.displayName;function KP(){const{toasts:e}=QE();return b.jsxs(UP,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return b.jsxs(J0,{...i,children:[b.jsxs("div",{className:"grid gap-1",children:[n&&b.jsx(tx,{children:n}),r&&b.jsx(nx,{children:r})]}),o,b.jsx(ex,{})]},t)}),b.jsx(Z0,{})]})}var GP=Td[" useId ".trim().toString()]||(()=>{}),QP=0;function YP(e){const[t,n]=w.useState(GP());return yn(()=>{n(r=>r??String(QP++))},[e]),t?`radix-${t}`:""}const XP=["top","right","bottom","left"],rr=Math.min,it=Math.max,Ha=Math.round,$s=Math.floor,Jt=e=>({x:e,y:e}
vendor: 11,766 bytes, line 208
208),qP={left:"right",right:"left",bottom:"top",top:"bottom"},ZP={start:"end",end:"start"};function Kc(e,t,n){return it(e,rr(t,n))}function vn(e,t){return typeof e=="function"?e(t):e}function xn(e){return e.split("-")[0]}function Qo(e){return e.split("-")[1]}function kf(e){return e==="x"?"y":"x"}function Rf(e){return e==="y"?"height":"width"}const JP=new Set(["top","bottom"]);function Xt(e){return JP.has(xn(e))?"y":"x"}function Af(e){return kf(Xt(e))}function ek(e,t,n){n===void 0&&(n=!1);const r=Qo(e),o=Af(e),i=Rf(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Ka(s)),[s,Ka(s)]}function tk(e){const t=Ka(e);return[Gc(e),t,Gc(t)]}function Gc(e){return e.replace(/start|end/g,t=>ZP[t])}const em=["left","right"],tm=["right","left"],nk=["top","bottom"],rk=["bottom","top"];function ok(e,t,n){switch(e){case"top":case"bottom":return n?t?tm:em:t?em:tm;case"left":case"right":return t?nk:rk;default:return[]}}function ik(e,t,n,r){const o=Qo(e);let i=ok(xn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Gc)))),i}function Ka(e){return e.replace(/left|right|bottom|top/g,t=>qP[t])}function sk(e){return{top:0,right:0,bottom:0,left:0,...e}}function rx(e){return typeof e!="number"?sk(e):{top:e,right:e,bottom:e,left:e}}function Ga(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function nm(e,t,n){let{reference:r,floating:o}=e;const i=Xt(t),s=Af(t),a=Rf(s),l=xn(t),u=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let f;switch(l){case"top":f={x:c,y:r.y-o.height};break;case"bottom":f={x:c,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-o.width,y:d};break;default:f={x:r.x,y:r.y}}switch(Qo(t)){case"start":f[s]-=h*(n&&u?-1:1);break;case"end":f[s]+=h*(n&&u?-1:1);break}return f}const ak=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=nm(u,r,l),h=r,f={},v=0;for(let g=0;g<a.length;g++){const{name:x,fn:p}=a[g],{x:m,y,data:S,reset:C}=await p({x:c,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:f,rects:u,platform:s,elements:{reference:e,floating:t}});c=m??c,d=y??d,f={...f,[x]:{...f[x],...S}},C&&v<=50&&(v++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(u=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:c,y:d}=nm(u,h,l)),g=-1)}return{x:c,y:d,placement:h,strategy:o,middlewareData:f}};async function Xi(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=vn(t,e),v=rx(f),x=a[h?d==="floating"?"reference":"floating":d],p=Ga(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(x)))==null||n?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),m=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),S=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},C=Ga(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:y,strategy:l}):m);return{top:(p.top-C.top+v.top)/S.y,bottom:(C.bottom-p.bottom+v.bottom)/S.y,left:(p.left-C.left+v.left)/S.x,right:(C.right-p.right+v.right)/S.x}}const lk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=vn(e,t)||{};if(u==null)return{};const d=rx(c),h={x:n,y:r},f=Af(o),v=Rf(f),g=await s.getDimensions(u),x=f==="y",p=x?"top":"left",m=x?"bottom":"right",y=x?"clientHeight":"clientWidth",S=i.reference[v]+i.reference[f]-h[f]-i.floating[v],C=h[f]-i.reference[f],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let T=E?E[y]:0;(!T||!await(s.isElement==null?void 0:s.isElement(E)))&&(T=a.floating[y]||i.floating[v]);const P=S/2-C/2,N=T/2-g[v]/2-1,R=rr(d[p],N),F=rr(d[m],N),j=R,U=T-g[v]-F,O=T/2-g[v]/2+P,W=Kc(j,O,U),B=!l.arrow&&Qo(o)!=null&&O!==W&&i.reference[v]/2-(O<j?R:F)-g[v]/2<0,H=B?O<j?O-j:O-U:0;return{[f]:h[f]+H,data:{[f]:W,centerOffset:O-W-H,...B&&{alignmentOffset:H}},reset:B}}}),uk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...x}=vn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const p=xn(o),m=Xt(a),y=xn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),C=h||(y||!g?[Ka(a)]:tk(a)),E=v!=="none";!h&&E&&C.push(...ik(a,g,v,S));const T=[a,...C],P=await Xi(t,x),N=[];let R=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&N.push(P[p]),d){const O=ek(o,s,S);N.push(P[O[0]],P[O[1]])}if(R=[...R,{placement:o,overflows:N}],!N.every(O=>O<=0)){var F,j;const O=(((F=i.flip)==null?void 0:F.index)||0)+1,W=T[O];if(W&&(!(d==="alignment"?m!==Xt(W):!1)||R.every(k=>k.overflows[0]>0&&Xt(k.placement)===m)))return{data:{index:O,overflows:R},reset:{placement:W}};let B=(j=R.filter(H=>H.overflows[0]<=0).sort((H,k)=>H.overflows[1]-k.overflows[1])[0])==null?void 0:j.placement;if(!B)switch(f){case"bestFit":{var U;const H=(U=R.filter(k=>{if(E){const A=Xt(k.placement);return A===m||A==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(A=>A>0).reduce((A,I)=>A+I,0)]).sort((k,A)=>k[1]-A[1])[0])==null?void 0:U[0];H&&(B=H);break}case"initialPlacement":B=a;break}if(o!==B)return{reset:{placement:B}}}return{}}}};function rm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function om(e){return XP.some(t=>e[t]>=0)}const ck=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=vn(e,t);switch(r){case"referenceHidden":{const i=await Xi(t,{...o,elementContext:"reference"}),s=rm(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:om(s)}}}case"escaped":{const i=await Xi(t,{...o,altBoundary:!0}),s=rm(i,n.floating);return{data:{escapedOffsets:s,escaped:om(s)}}}default:return{}}}}},ox=new Set(["left","top"]);async function dk(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=xn(n),a=Qo(n),l=Xt(n)==="y",u=ox.has(s)?-1:1,c=i&&l?-1:1,d=vn(t,e);let{mainAxis:h,crossAxis:f,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"&&(f=a==="end"?v*-1:v),l?{x:f*c,y:h*u}:{x:h*u,y:f*c}}const fk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await dk(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},hk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:x=>{let{x:p,y:m}=x;return{x:p,y:m}}},...l}=vn(e,t),u={x:n,y:r},c=await Xi(t,l),d=Xt(xn(o)),h=kf(d);let f=u[h],v=u[d];if(i){const x=h==="y"?"top":"left",p=h==="y"?"bottom":"right",m=f+c[x],y=f-c[p];f=Kc(m,f,y)}if(s){const x=d==="y"?"top":"left",p=d==="y"?"bottom":"right",m=v+c[x],y=v-c[p];v=Kc(m,v,y)}const g=a.fn({...t,[h]:f,[d]:v});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[h]:i,[d]:s}}}}}},pk=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=vn(e,t),c={x:n,y:r},d=Xt(o),h=kf(d);let f=c[h],v=c[d];const g=vn(a,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const y=h==="y"?"height":"width",S=i.reference[h]-i.floating[y]+x.mainAxis,C=i.reference[h]+i.reference[y]-x.mainAxis;f<S?f=S:f>C&&(f=C)}if(u){var p,m;const y=h==="y"?"width":"height",S=ox.has(xn(o)),C=i.reference[d]-i.floating[y]+(S&&((p=s.offset)==null?void 0:p[d])||0)+(S?0:x.crossAxis),E=i.reference[d]+i.reference[y]+(S?0:((m=s.offset)==null?void 0:m[d])||0)-(S?x.crossAxis:0);v<C?v=C:v>E&&(v=E)}return{[h]:f,[d]:v}}}},mk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...u}=vn(e,t),c=await Xi(t,u),d=xn(o),h=Qo(o),f=Xt(o)==="y",{width:v,height:g}=i.floating;let x,p;d==="top"||d==="bottom"?(x=d,p=h===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(p=d,x=h==="end"?"top":"bottom");const m=g-c.top-c.bottom,y=v-c.left-c.right,S=rr(g-c[x],m),C=rr(v-c[p],y),E=!t.middlewareData.shift;let T=S,P=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=m),E&&!h){const R=it(c.left,0),F=it(c.right,0),j=it(c.top,0),U=it(c.bottom,0);f?P=v-2*(R!==0||F!==0?R+F:it(c.left,c.right)):T=g-2*(j!==0||U!==0?j+U:it(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:T});const N=await s.getDimensions(a.floating);return v!==N.width||g!==N.height?{reset:{rects:!0}}:{}}}};function Rl(){return typeof window<"u"}function Yo(e){return ix(e)?(e.nodeName||"").toLowerCase():"#document"}function lt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function rn(e){var t;return(t=(ix(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ix(e){return Rl()?e instanceof Node||e instanceof lt(e).Node:!1}function Bt(e){return Rl()?e instanceof Element||e instanceof lt(e).Element:!1}function tn(e){return Rl()?e instanceof HTMLElement||e instanceof lt(e).HTMLElement:!1}function im(e){return!Rl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof lt(e).ShadowRoot}const gk=new Set(["inline","contents"]);function fs(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!gk.has(o)}const yk=new Set(["table","td","th"]);function vk(e){return yk.has(Yo(e))}const xk=[":popover-open",":modal"];function Al(e){return xk.some(t=>{try{return e.matches(t)}catch{return!1}})}const wk=["transform","translate","scale","rotate","perspective"],Sk=["transform","translate","scale","rotate","perspective","filter"],bk=["paint","layout","strict","content"];function Mf(e){const t=Nf(),n=Bt(e)?zt(e):e;return wk.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)||Sk.some(r=>(n.willChange||"").includes(r))||bk.some(r=>(n.contain||"").includes(r))}function Ck(e){let t=or(e);for(;tn(t)&&!_o(t);){if(Mf(t))return t;if(Al(t))return null;t=or(t)}return null}function Nf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Ek=new Set(["html","body","#document"]);function _o(e){return Ek.has(Yo(e))}function zt(e){return lt(e).getComputedStyle(e)}function Ml(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function or(e){if(Yo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||im(e)&&e.host||rn(e);return im(t)?t.host:t}function sx(e){const t=or(e);return _o(t)?e.ownerDocument?e.ownerDocument.body:e.body:tn(t)&&fs(t)?t:sx(t)}
vendor: 4,981 bytes, line 208
208function qi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=sx(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=lt(o);if(i){const a=Qc(s);return t.concat(s,s.visualViewport||[],fs(o)?o:[],a&&n?qi(a):[])}return t.concat(o,qi(o,[],n))}function Qc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ax(e){const t=zt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=tn(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Ha(n)!==i||Ha(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Df(e){return Bt(e)?e:e.contextElement}function Co(e){const t=Df(e);if(!tn(t))return Jt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ax(t);let s=(i?Ha(n.width):n.width)/r,a=(i?Ha(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Tk=Jt(0);function lx(e){const t=lt(e);return!Nf()||!t.visualViewport?Tk:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Pk(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==lt(e)?!1:t}function _r(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Df(e);let s=Jt(1);t&&(r?Bt(r)&&(s=Co(r)):s=Co(e));const a=Pk(i,n,r)?lx(i):Jt(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,c=o.width/s.x,d=o.height/s.y;if(i){const h=lt(i),f=r&&Bt(r)?lt(r):r;let v=h,g=Qc(v);for(;g&&r&&f!==v;){const x=Co(g),p=g.getBoundingClientRect(),m=zt(g),y=p.left+(g.clientLeft+parseFloat(m.paddingLeft))*x.x,S=p.top+(g.clientTop+parseFloat(m.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,d*=x.y,l+=y,u+=S,v=lt(g),g=Qc(v)}}return Ga({width:c,height:d,x:l,y:u})}function Lf(e,t){const n=Ml(e).scrollLeft;return t?t.left+n:_r(rn(e)).left+n}function ux(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Lf(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function kk(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=rn(r),a=t?Al(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=Jt(1);const c=Jt(0),d=tn(r);if((d||!d&&!i)&&((Yo(r)!=="body"||fs(s))&&(l=Ml(r)),tn(r))){const f=_r(r);u=Co(r),c.x=f.x+r.clientLeft,c.y=f.y+r.clientTop}const h=s&&!d&&!i?ux(s,l,!0):Jt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+h.x,y:n.y*u.y-l.scrollTop*u.y+c.y+h.y}}function Rk(e){return Array.from(e.getClientRects())}function Ak(e){const t=rn(e),n=Ml(e),r=e.ownerDocument.body,o=it(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=it(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Lf(e);const a=-n.scrollTop;return zt(r).direction==="rtl"&&(s+=it(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function Mk(e,t){const n=lt(e),r=rn(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=Nf();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}const Nk=new Set(["absolute","fixed"]);function Dk(e,t){const n=_r(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=tn(e)?Co(e):Jt(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function sm(e,t,n){let r;if(t==="viewport")r=Mk(e,n);else if(t==="document")r=Ak(rn(e));else if(Bt(t))r=Dk(t,n);else{const o=lx(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ga(r)}function cx(e,t){const n=or(e);return n===t||!Bt(n)||_o(n)?!1:zt(n).position==="fixed"||cx(n,t)}function Lk(e,t){const n=t.get(e);if(n)return n;let r=qi(e,[],!1).filter(a=>Bt(a)&&Yo(a)!=="body"),o=null;const i=zt(e).position==="fixed";let s=i?or(e):e;for(;Bt(s)&&!_o(s);){const a=zt(s),l=Mf(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&Nk.has(o.position)||fs(s)&&!l&&cx(e,s))?r=r.filter(c=>c!==s):o=a,s=or(s)}return t.set(e,r),r}function Ok(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Al(t)?[]:Lk(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=sm(t,c,o);return u.top=it(d.top,u.top),u.right=rr(d.right,u.right),u.bottom=rr(d.bottom,u.bottom),u.left=it(d.left,u.left),u},sm(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function jk(e){const{width:t,height:n}=ax(e);return{width:t,height:n}}function Ik(e,t,n){const r=tn(t),o=rn(t),i=n==="fixed",s=_r(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Jt(0);function u(){l.x=Lf(o)}if(r||!r&&!i)if((Yo(t)!=="body"||fs(o))&&(a=Ml(t)),r){const f=_r(t,!0,i,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else o&&u();i&&!r&&o&&u();const c=o&&!r&&!i?ux(o,a):Jt(0),d=s.left+a.scrollLeft-l.x-c.x,h=s.top+a.scrollTop-l.y-c.y;return{x:d,y:h,width:s.width,height:s.height}}function Cu(e){return zt(e).position==="static"}function am(e,t){if(!tn(e)||zt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return rn(e)===n&&(n=n.ownerDocument.body),n}function dx(e,t){const n=lt(e);if(Al(e))return n;if(!tn(e)){let o=or(e);for(;o&&!_o(o);
vendor: 5,400 bytes, line 208
208){if(Bt(o)&&!Cu(o))return o;o=or(o)}return n}let r=am(e,t);for(;r&&vk(r)&&Cu(r);)r=am(r,t);return r&&_o(r)&&Cu(r)&&!Mf(r)?n:r||Ck(e)||n}const Fk=async function(e){const t=this.getOffsetParent||dx,n=this.getDimensions,r=await n(e.floating);return{reference:Ik(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Vk(e){return zt(e).direction==="rtl"}const _k={convertOffsetParentRelativeRectToViewportRelativeRect:kk,getDocumentElement:rn,getClippingRect:Ok,getOffsetParent:dx,getElementRects:Fk,getClientRects:Rk,getDimensions:jk,getScale:Co,isElement:Bt,isRTL:Vk};function fx(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Bk(e,t){let n=null,r;const o=rn(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:h,height:f}=u;if(a||t(),!h||!f)return;const v=$s(d),g=$s(o.clientWidth-(c+h)),x=$s(o.clientHeight-(d+f)),p=$s(c),y={rootMargin:-v+"px "+-g+"px "+-x+"px "+-p+"px",threshold:it(0,rr(1,l))||1};let S=!0;function C(E){const T=E[0].intersectionRatio;if(T!==l){if(!S)return s();T?s(!1,T):r=setTimeout(()=>{s(!1,1e-7)},1e3)}T===1&&!fx(u,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(C,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,y)}n.observe(e)}return s(!0),i}function zk(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Df(e),c=o||i?[...u?qi(u):[],...qi(t)]:[];c.forEach(p=>{o&&p.addEventListener("scroll",n,{passive:!0}),i&&p.addEventListener("resize",n)});const d=u&&a?Bk(u,n):null;let h=-1,f=null;s&&(f=new ResizeObserver(p=>{let[m]=p;m&&m.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(t)})),n()}),u&&!l&&f.observe(u),f.observe(t));let v,g=l?_r(e):null;l&&x();function x(){const p=_r(e);g&&!fx(g,p)&&n(),g=p,v=requestAnimationFrame(x)}return n(),()=>{var p;c.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),d==null||d(),(p=f)==null||p.disconnect(),f=null,l&&cancelAnimationFrame(v)}}const $k=fk,Uk=hk,Wk=uk,Hk=mk,Kk=ck,lm=lk,Gk=pk,Qk=(e,t,n)=>{const r=new Map,o={platform:_k,...n},i={...o.platform,_c:r};return ak(e,t,{...o,platform:i})};var Yk=typeof document<"u",Xk=function(){},ua=Yk?w.useLayoutEffect:Xk;function Qa(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Qa(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Qa(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function hx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function um(e,t){const n=hx(e);return Math.round(t*n)/n}function Eu(e){const t=w.useRef(e);return ua(()=>{t.current=e}),t}function qk(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,f]=w.useState(r);Qa(h,r)||f(r);const[v,g]=w.useState(null),[x,p]=w.useState(null),m=w.useCallback(k=>{k!==E.current&&(E.current=k,g(k))},[]),y=w.useCallback(k=>{k!==T.current&&(T.current=k,p(k))},[]),S=i||v,C=s||x,E=w.useRef(null),T=w.useRef(null),P=w.useRef(c),N=l!=null,R=Eu(l),F=Eu(o),j=Eu(u),U=w.useCallback(()=>{if(!E.current||!T.current)return;const k={placement:t,strategy:n,middleware:h};F.current&&(k.platform=F.current),Qk(E.current,T.current,k).then(A=>{const I={...A,isPositioned:j.current!==!1};O.current&&!Qa(P.current,I)&&(P.current=I,cs.flushSync(()=>{d(I)}))})},[h,t,n,F,j]);ua(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const O=w.useRef(!1);ua(()=>(O.current=!0,()=>{O.current=!1}),[]),ua(()=>{if(S&&(E.current=S),C&&(T.current=C),S&&C){if(R.current)return R.current(S,C,U);U()}},[S,C,U,R,N]);const W=w.useMemo(()=>({reference:E,floating:T,setReference:m,setFloating:y}),[m,y]),B=w.useMemo(()=>({reference:S,floating:C}),[S,C]),H=w.useMemo(()=>{const k={position:n,left:0,top:0};if(!B.floating)return k;const A=um(B.floating,c.x),I=um(B.floating,c.y);return a?{...k,transform:"translate("+A+"px, "+I+"px)",...hx(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:I}},[n,a,B.floating,c.x,c.y]);return w.useMemo(()=>({...c,update:U,refs:W,elements:B,floatingStyles:H}),[c,U,W,B,H])}const Zk=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?lm({element:r.current,padding:o}).fn(n):{}:r?lm({element:r,padding:o}).fn(n):{}}}},Jk=(e,t)=>({...$k(e),options:[e,t]}),e2=(e,t)=>({...Uk(e),options:[e,t]}),t2=(e,t)=>({...Gk(e),options:[e,t]}),n2=(e,t)=>({...Wk(e),options:[e,t]}),r2=(e,t)=>({...Hk(e),options:[e,t]}),o2=(e,t)=>
vendor: 7,009 bytes, line 208
208({...Kk(e),options:[e,t]}),i2=(e,t)=>({...Zk(e),options:[e,t]});var s2="Arrow",px=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return b.jsx(rt.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:b.jsx("polygon",{points:"0,0 30,0 15,10"})})});px.displayName=s2;var a2=px;function l2(e){const[t,n]=w.useState(void 0);return yn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Of="Popper",[mx,gx]=Tl(Of),[u2,yx]=mx(Of),vx=e=>{const{__scopePopper:t,children:n}=e,[r,o]=w.useState(null);return b.jsx(u2,{scope:t,anchor:r,onAnchorChange:o,children:n})};vx.displayName=Of;var xx="PopperAnchor",wx=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=yx(xx,n),s=w.useRef(null),a=_t(t,s);return w.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:b.jsx(rt.div,{...o,ref:a})});wx.displayName=xx;var jf="PopperContent",[c2,d2]=mx(jf),Sx=w.forwardRef((e,t)=>{var ee,Ur,Sn,dr,bn,Wr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:f="optimized",onPlaced:v,...g}=e,x=yx(jf,n),[p,m]=w.useState(null),y=_t(t,Cn=>m(Cn)),[S,C]=w.useState(null),E=l2(S),T=(E==null?void 0:E.width)??0,P=(E==null?void 0:E.height)??0,N=r+(i!=="center"?"-"+i:""),R=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},F=Array.isArray(u)?u:[u],j=F.length>0,U={padding:R,boundary:F.filter(h2),altBoundary:j},{refs:O,floatingStyles:W,placement:B,isPositioned:H,middlewareData:k}=qk({strategy:"fixed",placement:N,whileElementsMounted:(...Cn)=>zk(...Cn,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[Jk({mainAxis:o+P,alignmentAxis:s}),l&&e2({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?t2():void 0,...U}),l&&n2({...U}),r2({...U,apply:({elements:Cn,rects:ys,availableWidth:zl,availableHeight:vs})=>{const{width:$l,height:Jo}=ys.reference,Hr=Cn.floating.style;Hr.setProperty("--radix-popper-available-width",`${zl}px`),Hr.setProperty("--radix-popper-available-height",`${vs}px`),Hr.setProperty("--radix-popper-anchor-width",`${$l}px`),Hr.setProperty("--radix-popper-anchor-height",`${Jo}px`)}}),S&&i2({element:S,padding:a}),p2({arrowWidth:T,arrowHeight:P}),h&&o2({strategy:"referenceHidden",...U})]}),[A,I]=Ex(B),$=nr(v);yn(()=>{H&&($==null||$())},[H,$]);const z=(ee=k.arrow)==null?void 0:ee.x,Y=(Ur=k.arrow)==null?void 0:Ur.y,q=((Sn=k.arrow)==null?void 0:Sn.centerOffset)!==0,[xe,Le]=w.useState();return yn(()=>{p&&Le(window.getComputedStyle(p).zIndex)},[p]),b.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:H?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[(dr=k.transformOrigin)==null?void 0:dr.x,(bn=k.transformOrigin)==null?void 0:bn.y].join(" "),...((Wr=k.hide)==null?void 0:Wr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:b.jsx(c2,{scope:n,placedSide:A,onArrowChange:C,arrowX:z,arrowY:Y,shouldHideArrow:q,children:b.jsx(rt.div,{"data-side":A,"data-align":I,...g,ref:y,style:{...g.style,animation:H?void 0:"none"}})})})});Sx.displayName=jf;var bx="PopperArrow",f2={top:"bottom",right:"left",bottom:"top",left:"right"},Cx=w.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=d2(bx,r),s=f2[i.placedSide];return b.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:b.jsx(a2,{...o,ref:n,style:{...o.style,display:"block"}})})});Cx.displayName=bx;function h2(e){return e!==null}var p2=e=>({name:"transformOrigin",options:e,fn(t){var x,p,m;const{placement:n,rects:r,middlewareData:o}=t,s=((x=o.arrow)==null?void 0:x.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=Ex(n),d={start:"0%",center:"50%",end:"100%"}[c],h=(((p=o.arrow)==null?void 0:p.x)??0)+a/2,f=(((m=o.arrow)==null?void 0:m.y)??0)+l/2;let v="",g="";return u==="bottom"?(v=s?d:`${h}px`,g=`${-l}px`):u==="top"?(v=s?d:`${h}px`,g=`${r.floating.height+l}px`):u==="right"?(v=`${-l}px`,g=s?d:`${f}px`):u==="left"&&(v=`${r.floating.width+l}px`,g=s?d:`${f}px`),{data:{x:v,y:g}}}});function Ex(e){const[t,n="center"]=e.split("-");return[t,n]}var m2=vx,g2=wx,y2=Sx,v2=Cx,[Nl,aL]=Tl("Tooltip",[gx]),Dl=gx(),Tx="TooltipProvider",x2=700,Yc="tooltip.open",[w2,If]=Nl(Tx),Px=e=>{const{__scopeTooltip:t,delayDuration:n=x2,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=w.useRef(!0),a=w.useRef(!1),l=w.useRef(0);return w.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),b.jsx(w2,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:w.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:i})};Px.displayName=Tx;var Zi="Tooltip",[S2,Ll]=Nl(Zi),kx=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o,onOpenChange:i,disableHoverableContent:s,delayDuration:a}=e,l=If(Zi,e.__scopeTooltip),u=Dl(t),[c,d]=w.useState(null),h=YP(),f=w.useRef(0),v=s??l.disableHoverableContent,g=a??l.delayDuration,x=w.useRef(!1),[p,m]=C0({prop:r,defaultProp:o??!1,onChange:T=>{T?(l.onOpen(),document.dispatchEvent(new CustomEvent(Yc))):l.onClose(),i==null||i(T)},caller:Zi}),y=w.useMemo(()=>p?x.current?"delayed-open":"instant-open":"closed",[p]),S=w.useCallback(()=>{window.clearTimeout(f.current),f.current=0,x.current=!1,m(!0)},[m]),C=w.useCallback(()=>{window.clearTimeout(f.current),f.current=0,m(!1)},[m]),E=w.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{x.current=!0,m(!0),f.current=0},g)},[g,m]);return w.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),b.jsx(m2,{...u,children:b.jsx(S2,{scope:t,contentId:h,open:p,stateAttribute:y,trigger:c,onTriggerChange:d,onTriggerEnter:w.useCallback(()=>{l.isOpenDelayedRef.current?E():S()},[l.isOpenDelayedRef,E,S]),onTriggerLeave:w.useCallback(()=>{v?C():(window.clearTimeout(f.current),f.current=0)},[C,v]),onOpen:S,onClose:C,disableHoverableContent:v,children:n})})};kx.displayName=Zi;var Xc="TooltipTrigger",Rx=w.forwardRef((e,t)=>
vendor: 5,250 bytes, line 208
208{const{__scopeTooltip:n,...r}=e,o=Ll(Xc,n),i=If(Xc,n),s=Dl(n),a=w.useRef(null),l=_t(t,a,o.onTriggerChange),u=w.useRef(!1),c=w.useRef(!1),d=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),b.jsx(g2,{asChild:!0,...s,children:b.jsx(rt.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:Ee(e.onPointerMove,h=>{h.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:Ee(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:Ee(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Ee(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Ee(e.onBlur,o.onClose),onClick:Ee(e.onClick,o.onClose)})})});Rx.displayName=Xc;var b2="TooltipPortal",[lL,C2]=Nl(b2,{forceMount:void 0}),Bo="TooltipContent",Ax=w.forwardRef((e,t)=>{const n=C2(Bo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Ll(Bo,e.__scopeTooltip);return b.jsx(Sf,{present:r||s.open,children:s.disableHoverableContent?b.jsx(Mx,{side:o,...i,ref:t}):b.jsx(E2,{side:o,...i,ref:t})})}),E2=w.forwardRef((e,t)=>{const n=Ll(Bo,e.__scopeTooltip),r=If(Bo,e.__scopeTooltip),o=w.useRef(null),i=_t(t,o),[s,a]=w.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,h=w.useCallback(()=>{a(null),d(!1)},[d]),f=w.useCallback((v,g)=>{const x=v.currentTarget,p={x:v.clientX,y:v.clientY},m=A2(p,x.getBoundingClientRect()),y=M2(p,m),S=N2(g.getBoundingClientRect()),C=L2([...y,...S]);a(C),d(!0)},[d]);return w.useEffect(()=>()=>h(),[h]),w.useEffect(()=>{if(l&&c){const v=x=>f(x,c),g=x=>f(x,l);return l.addEventListener("pointerleave",v),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",v),c.removeEventListener("pointerleave",g)}}},[l,c,f,h]),w.useEffect(()=>{if(s){const v=g=>{const x=g.target,p={x:g.clientX,y:g.clientY},m=(l==null?void 0:l.contains(x))||(c==null?void 0:c.contains(x)),y=!D2(p,s);m?h():y&&(h(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,c,s,u,h]),b.jsx(Mx,{...e,ref:i})}),[T2,P2]=Nl(Zi,{isInside:!1}),k2=qE("TooltipContent"),Mx=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=Ll(Bo,n),u=Dl(n),{onClose:c}=l;return w.useEffect(()=>(document.addEventListener(Yc,c),()=>document.removeEventListener(Yc,c)),[c]),w.useEffect(()=>{if(l.trigger){const d=h=>{const f=h.target;f!=null&&f.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),b.jsx(wf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:b.jsxs(y2,{"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:[b.jsx(k2,{children:r}),b.jsx(T2,{scope:n,isInside:!0,children:b.jsx(ST,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Ax.displayName=Bo;var Nx="TooltipArrow",R2=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Dl(n);return P2(Nx,n).isInside?null:b.jsx(v2,{...o,...r,ref:t})});R2.displayName=Nx;function A2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function M2(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 N2(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function D2(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i],l=t[s],u=a.x,c=a.y,d=l.x,h=l.y;c>r!=h>r&&n<(d-u)*(r-c)/(h-c)+u&&(o=!o)}return o}function L2(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),O2(t)}function O2(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var j2=Px,I2=kx,F2=Rx,Dx=Ax;const V2=j2,_2=I2,B2=F2,Lx=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
vendor: 10,091 bytes, line 208
208b.jsx(Dx,{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}));Lx.displayName=Dx.displayName;const Ff=w.createContext({});function Vf(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const z2=typeof window<"u",Ox=z2?w.useLayoutEffect:w.useEffect,Ol=w.createContext(null);function _f(e,t){e.indexOf(t)===-1&&e.push(t)}function Ya(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const nn=(e,t,n)=>n>t?t:n<e?e:n;let jl=()=>{},zo=()=>{};const ir={},jx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Ix(e){return typeof e=="object"&&e!==null}const Fx=e=>/^0[^.\s]+$/u.test(e);function Vx(e){let t;return()=>(t===void 0&&(t=e()),t)}const xt=e=>e,$2=(e,t)=>n=>t(e(n)),hs=(...e)=>e.reduce($2),Ji=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Bf{constructor(){this.subscriptions=[]}add(t){return _f(this.subscriptions,t),()=>Ya(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){const s=this.subscriptions[i];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const et=e=>e*1e3,yt=e=>e/1e3;function _x(e,t){return t?e*(1e3/t):0}const Bx=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,U2=1e-7,W2=12;function H2(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=Bx(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>U2&&++a<W2);return s}function ps(e,t,n,r){if(e===t&&n===r)return xt;const o=i=>H2(i,0,1,e,n);return i=>i===0||i===1?i:Bx(o(i),t,r)}const zx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$x=e=>t=>1-e(1-t),Ux=ps(.33,1.53,.69,.99),zf=$x(Ux),Wx=zx(zf),Hx=e=>e>=1?1:(e*=2)<1?.5*zf(e):.5*(2-Math.pow(2,-10*(e-1))),$f=e=>1-Math.sin(Math.acos(e)),Kx=$x($f),Gx=zx($f),K2=ps(.42,0,1,1),G2=ps(0,0,.58,1),Qx=ps(.42,0,.58,1),Q2=e=>Array.isArray(e)&&typeof e[0]!="number",Yx=e=>Array.isArray(e)&&typeof e[0]=="number",cm={linear:xt,easeIn:K2,easeInOut:Qx,easeOut:G2,circIn:$f,circInOut:Gx,circOut:Kx,backIn:zf,backInOut:Wx,backOut:Ux,anticipate:Hx},Y2=e=>typeof e=="string",dm=e=>{if(Yx(e)){zo(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,o]=e;return ps(t,n,r,o)}else if(Y2(e))return zo(cm[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),cm[e];return e},Us=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],fm={value:null,addProjectionMetrics:null};function X2(e,t){let n=new Set,r=new Set,o=!1,i=!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,h=!1,f=!1)=>{const g=f&&o?n:r;return h&&s.add(d),g.add(d),d},cancel:d=>{r.delete(d),s.delete(d)},process:d=>{if(a=d,o){i=!0;return}o=!0;const h=n;n=r,r=h,n.forEach(u),t&&fm.value&&fm.value.frameloop[t].push(l),l=0,n.clear(),o=!1,i&&(i=!1,c.process(d))}};return c}const q2=40;function Xx(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Us.reduce((y,S)=>(y[S]=X2(i,t?S:void 0),y),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:f,postRender:v}=s,g=()=>{const y=ir.useManualTiming,S=y?o.timestamp:performance.now();n=!1,y||(o.delta=r?1e3/60:Math.max(Math.min(S-o.timestamp,q2),1)),o.timestamp=S,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),h.process(o),f.process(o),v.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(g))},x=()=>{n=!0,r=!0,o.isProcessing||e(g)};return{schedule:Us.reduce((y,S)=>{const C=s[S];return y[S]=(E,T=!1,P=!1)=>(n||x(),C.schedule(E,T,P)),y},{}),cancel:y=>{for(let S=0;S<Us.length;S++)s[Us[S]].cancel(y)},state:o,steps:s}}const{schedule:re,cancel:sr,state:Ae,steps:Tu}=Xx(typeof requestAnimationFrame<"u"?requestAnimationFrame:xt,!0);let ca;function Z2(){ca=void 0}const Ue={now:()=>(ca===void 0&&Ue.set(Ae.isProcessing||ir.useManualTiming?Ae.timestamp:performance.now()),ca),set:e=>{ca=e,queueMicrotask(Z2)}},qx=e=>t=>typeof t=="string"&&t.startsWith(e),Zx=qx("--"),J2=qx("var(--"),Uf=e=>J2(e)?eR.test(e.split("/*")[0].trim()):!1,eR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function hm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Xo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},es={...Xo,transform:e=>nn(0,1,e)},Ws={...Xo,default:1},ki=e=>Math.round(e*1e5)/1e5,Wf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function tR(e){return e==null}const nR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Hf=(e,t)=>n=>!!(typeof n=="string"&&nR.test(n)&&n.startsWith(e)||t&&!tR(n)&&Object.prototype.hasOwnProperty.call(n,t)),Jx=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(Wf);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},rR=e=>nn(0,255,e),Pu={...Xo,transform:e=>Math.round(rR(e))},br={test:Hf("rgb","red"),parse:Jx("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Pu.transform(e)+", "+Pu.transform(t)+", "+Pu.transform(n)+", "+ki(es.transform(r))+")"};function oR(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const qc={test:Hf("#"),parse:oR,transform:br.transform},ms=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Nn=ms("deg"),en=ms("%"),_=ms("px"),iR=ms("vh"),sR=ms("vw"),pm={...en,parse:e=>en.parse(e)/100,transform:e=>en.transform(e*100)},co={test:Hf("hsl","hue"),parse:Jx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+en.transform(ki(t))+", "+en.transform(ki(n))+", "+ki(es.transform(r))+")"},we={test:e=>br.test(e)||qc.test(e)||co.test(e),parse:e=>br.test(e)?br.parse(e):co.test(e)?co.parse(e):qc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?br.transform(e):co.transform(e),getAnimatableNone:e=>{const t=we.parse(e);return t.alpha=0,we.transform(t)}},aR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function lR(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Wf))==null?void 0:t.length)||0)+(((n=e.match(aR))==null?void 0:n.length)||0)>0}const ew="number",tw="color",uR="var",cR="var(",mm="${}",dR=/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 $o(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(dR,l=>(we.test(l)?(r.color.push(i),o.push(tw),n.push(we.parse(l))):l.startsWith(cR)?(r.var.push(i),o.push(uR),n.push(l)):(r.number.push(i),o.push(ew),n.push(parseFloat(l))),++i,mm)).split(mm);return{values:n,split:a,indexes:r,types:o}}function fR(e){return $o(e).values}function nw({split:e,types:t}){const n=e.length;return r=>{let o="";for(let i=0;i<n;i++)if(o+=e[i],r[i]!==void 0){const s=t[i];s===ew?o+=ki(r[i]):s===tw?o+=we.transform(r[i]):o+=r[i]}return o}}function hR(e){return nw($o(e))}const pR=e=>typeof e=="number"?0:we.test(e)?we.getAnimatableNone(e):e,mR=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:pR(e);function gR(e){const t=$o(e);return nw(t)(t.values.map((r,o)=>mR(r,t.split[o])))}const Ft={test:lR,parse:fR,createTransformer:hR,getAnimatableNone:gR};function ku(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 yR({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=ku(l,a,e+1/3),i=ku(l,a,e),s=ku(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function Xa(e,t){return n=>n>0?t:e}const ae=(e,t,n)=>e+(t-e)*n,Ru=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},vR=[qc,br,co],xR=e=>vR.find(t=>t.test(e));function gm(e){const t=xR(e);if(jl(!!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===co&&(n=yR(n)),n}const ym=(e,t)=>{const n=gm(e),r=gm(t);if(!n||!r)return Xa(e,t);const o={...n};return i=>(o.red=Ru(n.red,r.red,i),o.green=Ru(n.green,r.green,i),o.blue=Ru(n.blue,r.blue,i),o.alpha=ae(n.alpha,r.alpha,i),br.transform(o))},Zc=new Set(["none","hidden"]);function wR(e,t){return Zc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function SR(e,t){return n=>ae(e,t,n)}function Kf(e){return typeof e=="number"?SR:typeof e=="string"?Uf(e)?Xa:we.test(e)?ym:ER:Array.isArray(e)?rw:typeof e=="object"?we.test(e)?ym:bR:Xa}function rw(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>Kf(i)(i,t[s]));return i=>{for(let s=0;s<r;s++)n[s]=o[s](i);return n}}function bR(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Kf(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}function CR(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const i=t.types[o],s=e.indexes[i][r[i]],a=e.values[s]??0;n[o]=a,r[i]++}return n}const ER=(e,t)=>{const n=Ft.createTransformer(t),r=$o(e),o=$o(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Zc.has(e)&&!o.values.length||Zc.has(t)&&!r.values.length?wR(e,t):hs(rw(CR(r,o),o.values),n):(jl(!0,`Complex values '${e}' and '${t}
208' 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"),Xa(e,t))};function ow(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ae(e,t,n):Kf(e)(e,t)}const TR=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>re.update(t,n),stop:()=>sr(t),now:()=>Ae.isProcessing?Ae.timestamp:Ue.now()}},iw=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=Math.round(e(i/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},qa=2e4;function Gf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<qa;)t+=n,r=e.next(t);return t>=qa?1/0:t}function PR(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(Gf(r),qa);return{type:"keyframes",ease:i=>r.next(o*i).value/t,duration:yt(o)}}const fe={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};function Jc(e,t){return e*Math.sqrt(1-t*t)}const kR=12;function RR(e,t,n){let r=n;for(let o=1;o<kR;o++)r=r-e(r)/t(r);return r}const Au=.001;function AR({duration:e=fe.duration,bounce:t=fe.bounce,velocity:n=fe.velocity,mass:r=fe.mass}){let o,i;jl(e<=et(fe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=nn(fe.minDamping,fe.maxDamping,s),e=nn(fe.minDuration,fe.maxDuration,yt(e)),s<1?(o=u=>{const c=u*s,d=c*e,h=c-n,f=Jc(u,s),v=Math.exp(-d);return Au-h/f*v},i=u=>{const d=u*s*e,h=d*n+n,f=Math.pow(s,2)*Math.pow(u,2)*e,v=Math.exp(-d),g=Jc(Math.pow(u,2),s);return(-o(u)+Au>0?-1:1)*((h-f)*v)/g}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Au+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=RR(o,i,a);if(e=et(e),isNaN(l))return{stiffness:fe.stiffness,damping:fe.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const MR=["duration","bounce"],NR=["stiffness","damping","mass"];function vm(e,t){return t.some(n=>e[n]!==void 0)}function DR(e){let t={velocity:fe.velocity,stiffness:fe.stiffness,damping:fe.damping,mass:fe.mass,isResolvedFromDuration:!1,...e};if(!vm(e,NR)&&vm(e,MR))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*nn(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:fe.mass,stiffness:o,damping:i}}else{const n=AR({...e,velocity:0});t={...t,...n,mass:fe.mass},t.isResolvedFromDuration=!0}return t}function Za(e=fe.visualDuration,t=fe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:h,isResolvedFromDuration:f}=DR({...n,velocity:-yt(n.velocity||0)}),v=h||0,g=u/(2*Math.sqrt(l*c)),x=s-i,p=yt(Math.sqrt(l/c)),m=Math.abs(x)<5;r||(r=m?fe.restSpeed.granular:fe.restSpeed.default),o||(o=m?fe.restDelta.granular:fe.restDelta.default);let y,S,C,E,T,P;if(g<1)C=Jc(p,g),E=(v+g*p*x)/C,y=R=>{const F=Math.exp(-g*p*R);return s-F*(E*Math.sin(C*R)+x*Math.cos(C*R))},T=g*p*E+x*C,P=g*p*x-E*C,S=R=>Math.exp(-g*p*R)*(T*Math.sin(C*R)+P*Math.cos(C*R));else if(g===1){y=F=>s-Math.exp(-p*F)*(x+(v+p*x)*F);const R=v+p*x;S=F=>Math.exp(-p*F)*(p*R*F-v)}else{const R=p*Math.sqrt(g*g-1);y=O=>{const W=Math.exp(-g*p*O),B=Math.min(R*O,300);return s-W*((v+g*p*x)*Math.sinh(B)+R*x*Math.cosh(B))/R};const F=(v+g*p*x)/R,j=g*p*F-x*R,U=g*p*x-F*R;S=O=>{const W=Math.exp(-g*p*O),B=Math.min(R*O,300);return W*(j*Math.sinh(B)+U*Math.cosh(B))}}const N={calculatedDuration:f&&d||null,velocity:R=>et(S(R)),next:R=>{if(!f&&g<1){const j=Math.exp(-g*p*R),U=Math.sin(C*R),O=Math.cos(C*R),W=s-j*(E*U+x*O),B=et(j*(T*U+P*O));return a.done=Math.abs(B)<=r&&Math.abs(s-W)<=o,a.value=a.done?s:W,a}const F=y(R);if(f)a.done=R>=d;else{const j=et(S(R));a.done=Math.abs(j)<=r&&Math.abs(s-F)<=o}return a.value=a.done?s:F,a},toString:()=>{const R=Math.min(Gf(N),qa),F=iw(j=>N.next(R*j).value,R,30);return R+"ms "+F},toTransition:()=>{}};return N}Za.applyToOptions=e=>{const t=PR(e,100,Za);return e.ease=t.ease,e.duration=et(t.duration),e.type="keyframes",e};const LR=5;function sw(e,t,n){const r=Math.max(t-LR,0);return _x(n-e(r),t-r)}function ed({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],h={done:!1,value:d},f=P=>a!==void 0&&P<a||l!==void 0&&P>l,v=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let g=n*t;const x=d+g,p=s===void 0?x:s(x);p!==x&&(g=p-d);const m=P=>-g*Math.exp(-P/r),y=P=>p+m(P),S=P=>{const N=m(P),R=y(P);h.done=Math.abs(N)<=u,h.value=h.done?p:R};let C,E;const T=P=>{f(h.value)&&(C=P,E=Za({keyframes:[h.value,v(h.value)],velocity:sw(y,P,h.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let N=!1;return!E&&C===void 0&&(N=!0,S(P),T(P)),C!==void 0&&P>=C?E.next(P-C):(!N&&S(P),h)}}}function OR(e,t,n){const r=[],o=n||ir.mix||ow,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||xt:t;a=hs(l,a)}r.push(a)}return r}function jR(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(zo(i===t.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=OR(t,r,o),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 h=Ji(e[d],e[d+1],c);return a[d](h)};return n?c=>u(nn(e[0],e[i-1],c)):u}function IR(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Ji(0,t,r);e.push(ae(n,1,o))}}function FR(e){const t=[0];return IR(t,e.length-1),t}function VR(e,t){return e.map(n=>n*t)}function _R(e,t){return e.map(()=>t||Qx).splice(0,e.length-1)}function Ri({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=Q2(r)?r.map(dm):dm(r),i={done:!1,value:t[0]},s=VR(n&&n.length===t.length?n:FR(t),e),a=jR(s,t,{ease:Array.isArray(o)?o:_R(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const BR=e=>e!==null;function Il(e,{repeat:t,repeatType:n="loop"},r,o=1){const i=e.filter(BR),a=o<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const zR={decay:ed,inertia:ed,tween:Ri,keyframes:Ri,spring:Za};function aw(e){typeof e.type=="string"&&(e.type=zR[e.type])}class Qf{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 $R=e=>e/100;class Ja extends Qf{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,o;const{motionValue:n}=this.options;n&&n.updatedAt!==Ue.now()&&this.tick(Ue.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(r=this.options).onStop)==null||o.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;aw(t);const{type:n=Ri,repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=t;let{keyframes:a}=t;const l=n||Ri;l!==Ri&&typeof a[0]!="number"&&(this.mixKeyframes=hs($R,ow(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});i==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=Gf(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}
vendor: 12,452 bytes, line 208
208tick(t,n=!1){const{generator:r,totalDuration:o,mixKeyframes:i,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:h,repeatDelay:f,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-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const p=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?p<0:p>o;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let y=this.currentTime,S=r;if(d){const P=Math.min(this.currentTime,o)/a;let N=Math.floor(P),R=P%1;!R&&P>=1&&(R=1),R===1&&N--,N=Math.min(N,d+1),!!(N%2)&&(h==="reverse"?(R=1-R,f&&(R-=f/a)):h==="mirror"&&(S=s)),y=nn(0,1,R)*a}let C;m?(this.delayState.value=c[0],C=this.delayState):C=S.next(y),i&&!m&&(C.value=i(C.value));let{done:E}=C;!m&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&v!==ed&&(C.value=Il(c,this.options,x,this.speed)),g&&g(C.value),T&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return yt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+yt(t)}get time(){return yt(this.currentTime)}set time(t){t=et(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))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return sw(r=>this.generator.next(r).value,t,n)}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=yt(this.currentTime))}play(){var o,i;if(this.isStopped)return;const{driver:t=TR,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),(i=(o=this.options).onPlay)==null||i.call(o);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 UR(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Cr=e=>e*180/Math.PI,td=e=>{const t=Cr(Math.atan2(e[1],e[0]));return nd(t)},WR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:td,rotateZ:td,skewX:e=>Cr(Math.atan(e[1])),skewY:e=>Cr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},nd=e=>(e=e%360,e<0&&(e+=360),e),xm=td,wm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Sm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),HR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:wm,scaleY:Sm,scale:e=>(wm(e)+Sm(e))/2,rotateX:e=>nd(Cr(Math.atan2(e[6],e[5]))),rotateY:e=>nd(Cr(Math.atan2(-e[2],e[0]))),rotateZ:xm,rotate:xm,skewX:e=>Cr(Math.atan(e[4])),skewY:e=>Cr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function rd(e){return e.includes("scale")?1:0}function od(e,t){if(!e||e==="none")return rd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=HR,o=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=WR,o=a}if(!o)return rd(t);const i=r[t],s=o[1].split(",").map(GR);return typeof i=="function"?i(s):s[i]}const KR=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return od(n,t)};function GR(e){return parseFloat(e.trim())}const qo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Zo=new Set(qo),bm=e=>e===Xo||e===_,QR=new Set(["x","y","z"]),YR=qo.filter(e=>!QR.has(e));function XR(e){const t=[];return YR.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Hn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-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})=>od(t,"x"),y:(e,{transform:t})=>od(t,"y")};Hn.translateX=Hn.x;Hn.translateY=Hn.y;const Dr=new Set;let id=!1,sd=!1,ad=!1;function lw(){if(sd){const e=Array.from(Dr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=XR(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,s])=>{var a;(a=r.getValue(i))==null||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}sd=!1,id=!1,Dr.forEach(e=>e.complete(ad)),Dr.clear()}function uw(){Dr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(sd=!0)})}function qR(){ad=!0,uw(),lw(),ad=!1}class Yf{constructor(t,n,r,o,i,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Dr.add(this),id||(id=!0,re.read(uw),re.resolveKeyframes(lw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){const i=o==null?void 0:o.get(),s=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const a=r.readValue(n,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),o&&i===void 0&&o.set(t[0])}UR(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Dr.delete(this)}cancel(){this.state==="scheduled"&&(Dr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const ZR=e=>e.startsWith("--");function cw(e,t,n){ZR(t)?e.style.setProperty(t,n):e.style[t]=n}const JR={};function dw(e,t){const n=Vx(e);return()=>JR[t]??n()}const eA=dw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),fw=dw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),gi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Cm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:gi([0,.65,.55,1]),circOut:gi([.55,0,1,.45]),backIn:gi([.31,.01,.66,-.59]),backOut:gi([.33,1.53,.69,.99])};function hw(e,t){if(e)return typeof e=="function"?fw()?iw(e,t):"ease-out":Yx(e)?gi(e):Array.isArray(e)?e.map(n=>hw(n,t)||Cm.easeOut):Cm[e]}function tA(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=hw(a,o);Array.isArray(d)&&(c.easing=d);const h={delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(c,h)}function pw(e){return typeof e=="function"&&"applyToOptions"in e}function nA({type:e,...t}){return pw(e)&&fw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class mw extends Qf{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=t,zo(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=nA(t);this.animation=tA(n,r,o,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const c=Il(o,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),cw(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,o;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((o=(r=this.animation).commitStyles)==null||o.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 yt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+yt(t)}get time(){return yt(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=et(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:o}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&eA()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),xt):o(this)}}const gw={anticipate:Hx,backInOut:Wx,circInOut:Gx};function rA(e){return e in gw}function oA(e){typeof e.ease=="string"&&rA(e.ease)&&(e.ease=gw[e.ease])}const Mu=10;class iA extends mw{constructor(t){oA(t),aw(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:o,element:i,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Ja({...s,autoplay:!1}),l=Math.max(Mu,Ue.now()-this.startTime),u=nn(0,Mu,l-Mu),c=a.sample(l).value,{name:d}=this.options;i&&d&&cw(i,d,c),n.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const Em=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ft.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 aA(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],s=Em(o,t),a=Em(i,t);return jl(s===a,`You are trying to animate ${t} from "${o}" to "${i}". "${s?i:o}" is not an animatable value.`,"value-not-animatable"),!s||!a?!1:sA(e)||(n==="spring"||pw(n))&&r}function ld(e){e.duration=0,e.type="keyframes"}const yw=new Set(["opacity","clipPath","filter","transform"]),lA=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function uA(e){for(let t=0;t<e.length;
208t++)if(typeof e[t]=="string"&&lA.test(e[t]))return!0;return!1}const cA=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),dA=Vx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function fA(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:s,keyframes:a}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:c}=t.owner.getProps();return dA()&&n&&(yw.has(n)||cA.has(n)&&uA(a))&&(n!=="transform"||!c)&&!u&&!r&&o!=="mirror"&&i!==0&&s!=="inertia"}const hA=40;class pA extends Qf{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=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();const h={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:s,name:l,motionValue:u,element:c,...d},f=(c==null?void 0:c.KeyframeResolver)||Yf;this.keyframeResolver=new f(a,(g,x,p)=>this.onKeyframesResolved(g,x,h,!p),l,u,c),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,o){var p,m;this.keyframeResolver=void 0;const{name:i,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Ue.now();let d=!0;aA(t,i,s,a)||(d=!1,(ir.instantAnimations||!l)&&(c==null||c(Il(t,r,n))),t[0]=t[t.length-1],ld(r),r.repeat=0);const f={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>hA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},v=d&&!u&&fA(f),g=(m=(p=f.motionValue)==null?void 0:p.owner)==null?void 0:m.current;let x;if(v)try{x=new iA({...f,element:g})}catch{x=new Ja(f)}else x=new Ja(f);x.finished.then(()=>{this.notifyFinished()}).catch(xt),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}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(),qR()),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 vw(e,t,n,r=0,o=1){const i=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),s=e.size,a=(s-1)*r;return typeof n=="function"?n(i,s):o===1?i*r:a-i*r}const mA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gA(e){const t=mA.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}const yA=4;function xw(e,t,n=1){zo(n<=yA,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,o]=gA(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return jx(s)?parseFloat(s):s}return Uf(o)?xw(o,t,n+1):o}const vA={type:"spring",stiffness:500,damping:25,restSpeed:10},xA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),wA={type:"keyframes",duration:.8},SA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},bA=(e,{keyframes:t})=>t.length>2?wA:Zo.has(e)?e.startsWith("scale")?xA(t[1]):vA:SA;function ww(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Xf(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?ww(n,e):n}const CA=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function EA(e){for(const t in e)if(!CA.has(t))return!0;return!1}const qf=(e,t,n,r={},o,i)=>s=>{const a=Xf(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-et(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};EA(a)||Object.assign(c,bA(e,c)),c.duration&&(c.duration=et(c.duration)),c.repeatDelay&&(c.repeatDelay=et(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(ld(c),c.delay===0&&(
vendor: 8,735 bytes, line 208
208d=!0)),(ir.instantAnimations||ir.skipAnimations||o!=null&&o.shouldSkipAnimations)&&(d=!0,ld(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!i&&t.get()!==void 0){const h=Il(c.keyframes,a);if(h!==void 0){re.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new Ja(c):new pA(c)};function Tm(e){const t=[{},{}];return 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[o,i]=Tm(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=Tm(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function Lr(e,t,n){const r=e.getProps();return Zf(r,t,n!==void 0?n:r.custom,e)}const Sw=new Set(["width","height","top","left","right","bottom",...qo]),Pm=30,TA=e=>!isNaN(parseFloat(e));class PA{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const o=Ue.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.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=TA(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(),re.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>Pm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Pm);return _x(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 Uo(e,t){return new PA(e,t)}const ud=e=>Array.isArray(e);function kA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Uo(n))}function RA(e){return ud(e)?e[e.length-1]||0:e}function AA(e,t){const n=Lr(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=RA(i[s]);kA(e,s,a)}}const Me=e=>!!(e&&e.getVelocity);function MA(e){return!!(Me(e)&&e.add)}function cd(e,t){const n=e.getValue("willChange");if(MA(n))return n.add(t);if(!n&&ir.WillChange){const r=new ir.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Jf(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const NA="framerAppearId",bw="data-"+Jf(NA);function Cw(e){return e.props[bw]}function DA({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ew(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i,transitionEnd:s,...a}=t;const l=e.getDefaultTransition();i=i?ww(i,l):l;const u=i==null?void 0:i.reduceMotion;r&&(i=r);const c=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const h in a){const f=e.getValue(h,e.latestValues[h]??null),v=a[h];if(v===void 0||d&&DA(d,h))continue;const g={delay:n,...Xf(i||{},h)},x=f.get();if(x!==void 0&&!f.isAnimating()&&!Array.isArray(v)&&v===x&&!g.velocity){re.update(()=>f.set(v));continue}let p=!1;if(window.MotionHandoffAnimation){const S=Cw(e);if(S){const C=window.MotionHandoffAnimation(S,h,re);C!==null&&(g.startTime=C,p=!0)}}cd(e,h);const m=u??e.shouldReduceMotion;f.start(qf(h,f,v,m&&Sw.has(h)?{type:!1}:g,e,p));const y=f.animation;y&&c.push(y)}if(s){const h=()=>re.update(()=>{s&&AA(e,s)});c.length?Promise.all(c).then(h):h()}return c}function dd(e,t,n={}){var l;const r=Lr(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(Ew(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:h}=o;return LA(e,t,u,c,d,h,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[u,c]=a==="beforeChildren"?[i,s]:[s,i];return u().then(()=>c())}else return Promise.all([i(),s(n.delay)])}function LA(e,t,n=0,r=0,o=0,i=1,s){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(dd(l,t,{...s,delay:n+(typeof r=="function"?0:r)+vw(e.variantChildren,l,r,o,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function OA(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>dd(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=dd(e,t,n);else{const o=typeof t=="function"?Lr(e,t,n.custom):t;r=Promise.all(Ew(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const jA={test:e=>e==="auto",parse:e=>e},Tw=e=>t=>t.test(e),Pw=[Xo,_,en,Nn,sR,iR,jA],km=e=>Pw.find(Tw(e));function IA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Fx(e):!0}const FA=new Set(["brightness","contrast","saturate","opacity"]);function VA(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Wf)||[];if(!r)return e;const o=n.replace(r,"");let i=FA.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const _A=/\b([a-z-]*)\(.*?\)/gu,fd={...Ft,getAnimatableNone:e=>{const t=e.match(_A);return t?t.map(VA).join(" "):e}},hd={...Ft,getAnimatableNone:e=>{const t=Ft.parse(e);return Ft.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Rm={...Xo,transform:Math.round},BA={rotate:Nn,rotateX:Nn,rotateY:Nn,rotateZ:Nn,scale:Ws,scaleX:Ws,scaleY:Ws,scaleZ:Ws,skew:Nn,skewX:Nn,skewY:Nn,distance:_,translateX:_,translateY:_,translateZ:_,x:_,y:_,z:_,perspective:_,transformPerspective:_,opacity:es,originX:pm,originY:pm,originZ:_},eh={borderWidth:_,borderTopWidth:_,borderRightWidth:_,borderBottomWidth:_,borderLeftWidth:_,borderRadius:_,borderTopLeftRadius:_,borderTopRightRadius:_,borderBottomRightRadius:_,borderBottomLeftRadius:_,width:_,maxWidth:_,height:_,maxHeight:_,top:_,right:_,bottom:_,left:_,inset:_,insetBlock:_,insetBlockStart:_,insetBlockEnd:_,insetInline:_,insetInlineStart:_,insetInlineEnd:_,padding:_,paddingTop:_,paddingRight:_,paddingBottom:_,paddingLeft:_,paddingBlock:_,paddingBlockStart:_,paddingBlockEnd:_,paddingInline:_,paddingInlineStart:_,paddingInlineEnd:_,margin:_,marginTop:_,marginRight:_,marginBottom:_,marginLeft:_,marginBlock:_,marginBlockStart:_,marginBlockEnd:_,marginInline:_,marginInlineStart:_,marginInlineEnd:_,fontSize:_,backgroundPositionX:_,backgroundPositionY:_,...BA,zIndex:Rm,fillOpacity:es,strokeOpacity:es,numOctaves:Rm},zA={...eh,color:we,backgroundColor:we,outlineColor:we,fill:we,stroke:we,borderColor:we,borderTopColor:we,borderRightColor:we,borderBottomColor:we,borderLeftColor:we,filter:fd,WebkitFilter:fd,mask:hd,WebkitMask:hd},kw=e=>zA[e],$A=new Set([fd,hd]);function Rw(e,t){let n=kw(e);return $A.has(n)||(n=Ft),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const UA=new Set(["auto","none","0"]);function WA(e,t,n){let r=0,o;for(;r<e.length&&!o;){const i=e[r];typeof i=="string"&&!UA.has(i)&&$o(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=Rw(n,o)}class HA extends Yf{constructor(t,n,r,o,i){super(t,n,r,o,i,!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 208
208if(typeof d=="string"&&(d=d.trim(),Uf(d))){const h=xw(d,n.current);h!==void 0&&(t[c]=h),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Sw.has(r)||t.length!==2)return;const[o,i]=t,s=km(o),a=km(i),l=hm(o),u=hm(i);if(l!==u&&Hn[r]){this.needsMeasurement=!0;return}if(s!==a)if(bm(s)&&bm(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else Hn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||IA(t[o]))&&r.push(o);r.length&&WA(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=Hn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,s=r[i];r[i]=Hn[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: 52,292 bytes, line 208
208h(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function Aw(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const o=document.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(r=>r!=null)}const Mw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function da(e){return Ix(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:th,cancel:uL}=Xx(queueMicrotask,!1),Rt={x:!1,y:!1};function Nw(){return Rt.x||Rt.y}function KA(e){return e==="x"||e==="y"?Rt[e]?null:(Rt[e]=!0,()=>{Rt[e]=!1}):Rt.x||Rt.y?null:(Rt.x=Rt.y=!0,()=>{Rt.x=Rt.y=!1})}function Dw(e,t){const n=Aw(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function GA(e){return!(e.pointerType==="touch"||Nw())}function QA(e,t,n={}){const[r,o,i]=Dw(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()},h=x=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,d(x))},f=()=>{a=!0,window.addEventListener("pointerup",h,o),window.addEventListener("pointercancel",h,o)},v=x=>{if(x.pointerType!=="touch"){if(a){l=!0;return}d(x)}},g=x=>{if(!GA(x))return;l=!1;const p=t(s,x);typeof p=="function"&&(u=p,s.addEventListener("pointerleave",v,o))};s.addEventListener("pointerenter",g,o),s.addEventListener("pointerdown",f,o)}),i}const Lw=(e,t)=>t?e===t?!0:Lw(e,t.parentElement):!1,nh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,YA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function XA(e){return YA.has(e.tagName)||e.isContentEditable===!0}const qA=new Set(["INPUT","SELECT","TEXTAREA"]);function ZA(e){return qA.has(e.tagName)||e.isContentEditable===!0}const fa=new WeakSet;function Am(e){return t=>{t.key==="Enter"&&e(t)}}function Nu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const JA=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Am(()=>{if(fa.has(n))return;Nu(n,"down");const o=Am(()=>{Nu(n,"up")}),i=()=>Nu(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Mm(e){return nh(e)&&!Nw()}const Nm=new WeakSet;function eM(e,t,n={}){const[r,o,i]=Dw(e,n),s=a=>{const l=a.currentTarget;if(!Mm(a)||Nm.has(a))return;fa.add(l),n.stopPropagation&&Nm.add(a);const u=t(l,a),c=(f,v)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",h),fa.has(l)&&fa.delete(l),Mm(f)&&typeof u=="function"&&u(f,{success:v})},d=f=>{c(f,l===window||l===document||n.useGlobalTarget||Lw(l,f.target))},h=f=>{c(f,!1)};window.addEventListener("pointerup",d,o),window.addEventListener("pointercancel",h,o)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,o),da(a)&&(a.addEventListener("focus",u=>JA(u,o)),!XA(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),i}function rh(e){return Ix(e)&&"ownerSVGElement"in e}const ha=new WeakMap;let Dn;const Ow=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:rh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],tM=Ow("inline","width","offsetWidth"),nM=Ow("block","height","offsetHeight");function rM({target:e,borderBoxSize:t}){var n;(n=ha.get(e))==null||n.forEach(r=>{r(e,{get width(){return tM(e,t)},get height(){return nM(e,t)}})})}function oM(e){e.forEach(rM)}function iM(){typeof ResizeObserver>"u"||(Dn=new ResizeObserver(oM))}function sM(e,t){Dn||iM();const n=Aw(e);return n.forEach(r=>{let o=ha.get(r);o||(o=new Set,ha.set(r,o)),o.add(t),Dn==null||Dn.observe(r)}),()=>{n.forEach(r=>{const o=ha.get(r);o==null||o.delete(t),o!=null&&o.size||Dn==null||Dn.unobserve(r)})}}const pa=new Set;let fo;function aM(){fo=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};pa.forEach(t=>t(e))},window.addEventListener("resize",fo)}function lM(e){return pa.add(e),fo||aM(),()=>{pa.delete(e),!pa.size&&typeof fo=="function"&&(window.removeEventListener("resize",fo),fo=void 0)}}function Dm(e,t){return typeof e=="function"?lM(e):sM(e,t)}function uM(e){return rh(e)&&e.tagName==="svg"}const cM=[...Pw,we,Ft],dM=e=>cM.find(Tw(e)),Lm=()=>({translate:0,scale:1,origin:0,originPoint:0}),ho=()=>({x:Lm(),y:Lm()}),Om=()=>({min:0,max:0}),be=()=>({x:Om(),y:Om()}),fM=new WeakMap;function Fl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function ts(e){return typeof e=="string"||Array.isArray(e)}const oh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ih=["initial",...oh];function Vl(e){return Fl(e.animate)||ih.some(t=>ts(e[t]))}function jw(e){return!!(Vl(e)||e.variants)}function hM(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Me(o))e.addValue(r,o);else if(Me(i))e.addValue(r,Uo(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{const s=e.getStaticValue(r);e.addValue(r,Uo(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const pd={current:null},Iw={current:!1},pM=typeof window<"u";function mM(){if(Iw.current=!0,!!pM)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pd.current=e.matches;e.addEventListener("change",t),t()}else pd.current=!1}const jm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let el={};function Fw(e){el=e}function gM(){return el}class yM{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,skipAnimations:i,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=Yf,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 f=Ue.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,re.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=o,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=Vl(n),this.isVariantNode=jw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in h){const v=h[f];u[f]!==void 0&&Me(v)&&v.set(u[f])}}mount(t){var n,r;if(this.hasBeenMounted)for(const o in this.initialValues)(n=this.values.get(o))==null||n.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=t,fM.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((o,i)=>this.bindToMotionValue(i,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Iw.current||mM(),this.shouldReduceMotion=pd.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(),sr(this.notifyUpdate),sr(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&&yw.has(t)&&this.current instanceof HTMLElement){const{factory:s,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,d=new mw({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:et(c)}),h=s(d);this.valueSubscriptions.set(t,()=>{h(),d.cancel()});return}const r=Zo.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&re.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i&&i(),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 el){const n=el[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):be()}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<jm.length;r++){const o=jm[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=hM(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Uo(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"&&(jx(r)||Fx(r))?r=parseFloat(r):!dM(r)&&Ft.test(n)&&(r=Rw(t,n)),this.setBaseTarget(t,Me(r)?r.get():r)),Me(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=Zf(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Me(o)?o: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(){th.render(this.render)}}class Vw extends yM{constructor(){super(...arguments),this.KeyframeResolver=HA}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;Me(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class cr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function _w({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function vM({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function xM(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 Du(e){return e===void 0||e===1}function md({scale:e,scaleX:t,scaleY:n}){return!Du(e)||!Du(t)||!Du(n)}function vr(e){return md(e)||Bw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Bw(e){return Im(e.x)||Im(e.y)}function Im(e){return e&&e!=="0%"}function tl(e,t,n){const r=e-n,o=t*r;return n+o}function Fm(e,t,n,r,o){return o!==void 0&&(e=tl(e,o,r)),tl(e,n,r)+t}function gd(e,t=0,n=1,r,o){e.min=Fm(e.min,t,n,r,o),e.max=Fm(e.max,t,n,r,o)}function zw(e,{x:t,y:n}){gd(e.x,t.translate,t.scale,t.originPoint),gd(e.y,n.translate,n.scale,n.originPoint)}const Vm=.999999999999,_m=1.0000000000001;function wM(e,t,n,r=!1){var a;const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let l=0;l<o;l++){i=n[l],s=i.projectionDelta;const{visualElement:u}=i.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(Qt(e.x,-i.scroll.offset.x),Qt(e.y,-i.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,zw(e,s)),r&&vr(i.latestValues)&&ma(e,i.latestValues,(a=i.layout)==null?void 0:a.layoutBox))}t.x<_m&&t.x>Vm&&(t.x=1),t.y<_m&&t.y>Vm&&(t.y=1)}function Qt(e,t){e.min+=t,e.max+=t}function Bm(e,t,n,r,o=.5){const i=ae(e.min,e.max,o);gd(e,t,n,i,r)}function zm(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function ma(e,t,n){const r=n??e;Bm(e.x,zm(t.x,r.x),t.scaleX,t.scale,t.originX),Bm(e.y,zm(t.y,r.y),t.scaleY,t.scale,t.originY)}function $w(e,t){return _w(xM(e.getBoundingClientRect(),t))}function SM(e,t,n){const r=$w(e,n),{scroll:o}=t;return o&&(Qt(r.x,o.offset.x),Qt(r.y,o.offset.y)),r}const bM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},CM=qo.length;function EM(e,t,n){let r="",o=!0;for(let i=0;i<CM;i++){const s=qo[i],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=Mw(a,eh[s]);if(!l){o=!1;const c=bM[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function sh(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const l in t){const u=t[l];if(Zo.has(l)){s=!0;continue}else if(Zx(l)){o[l]=u;continue}else{const c=Mw(u,eh[l]);l.startsWith("origin")?(a=!0,i[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=EM(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=i;r.transformOrigin=`${l} ${u} ${c}`}}function Uw(e,{style:t,vars:n},r,o){const i=e.style;let s;for(s in t)i[s]=t[s];o==null||o.applyProjectionStyles(i,r);for(s in n)i.setProperty(s,n[s])}function $m(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const di={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(_.test(e))e=parseFloat(e);else return e;const n=$m(e,t.target.x),r=$m(e,t.target.y);return`${n}% ${r}%`}},TM={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Ft.parse(e);if(o.length>5)return r;const i=Ft.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const u=ae(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}},yd={borderRadius:{...di,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:di,borderTopRightRadius:di,borderBottomLeftRadius:di,borderBottomRightRadius:di,boxShadow:TM};function Ww(e,{layout:t,layoutId:n}){return Zo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!yd[e]||e==="opacity")}function ah(e,t,n){var s;const r=e.style,o=t==null?void 0:t.style,i={};if(!r)return i;for(const a in r)(Me(r[a])||o&&Me(o[a])||Ww(a,e)||((s=n==null?void 0:n.getValue(a))==null?void 0:s.liveStyle)!==void 0)&&(i[a]=r[a]);return i}function PM(e){return window.getComputedStyle(e)}class kM extends Vw{constructor(){super(...arguments),this.type="html",this.renderInstance=Uw}readValueFromInstance(t,n){var r;if(Zo.has(n))return(r=this.projection)!=null&&r.isProjecting?rd(n):KR(t,n);{const o=PM(t),i=(Zx(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return $w(t,n)}build(t,n,r){sh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return ah(t,n,r)}}const RM={offset:"stroke-dashoffset",array:"stroke-dasharray"},AM={offset:"strokeDashoffset",array:"strokeDasharray"};function MM(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?RM:AM;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const NM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Hw(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:i=1,pathOffset:s=0,...a},l,u,c){if(sh(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox);for(const f of NM)d[f]!==void 0&&(h[f]=d[f],delete d[f]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),o!==void 0&&MM(d,o,i,s,!1)}const Kw=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"]),Gw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function DM(e,t,n,r){Uw(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Kw.has(o)?o:Jf(o),t.attrs[o])}function Qw(e,t,n){const r=ah(e,t,n);for(const o in e)if(Me(e[o])||Me(t[o])){const i=qo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}class LM extends Vw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=be}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Zo.has(n)){const r=kw(n);return r&&r.default||0}return n=Kw.has(n)?n:Jf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Qw(t,n,r)}build(t,n,r){Hw(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,o){DM(t,n,r,o)}mount(t){this.isSVGTag=Gw(t.tagName),super.mount(t)}}const OM=ih.length;function Yw(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Yw(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<OM;n++){const r=ih[n],o=e.props[r];(ts(o)||o===!1)&&(t[r]=o)}return t}function Xw(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 jM=[...oh].reverse(),IM=oh.length;function FM(e){return t=>Promise.all(t.map(({animation:n,options:r})=>OA(e,n,r)))}function VM(e){let t=FM(e),n=Um(),r=!0,o=!1;const i=u=>(c,d)=>{var f;const h=Lr(e,d,u==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(h){const{transition:v,transitionEnd:g,...x}=h;c={...c,...x,...g}}return c};function s(u){t=u(e)}function a(u){const{props:c}=e,d=Yw(e.parent)||{},h=[],f=new Set;let v={},g=1/0;for(let p=0;p<IM;p++){const m=jM[p],y=n[m],S=c[m]!==void 0?c[m]:d[m],C=ts(S),E=m===u?y.isActive:null;E===!1&&(g=p);let T=S===d[m]&&S!==c[m]&&C;if(T&&(r||o)&&e.manuallyAnimateOnMount&&(T=!1),y.protectedKeys={...v},!y.isActive&&E===null||!S&&!y.prevProp||Fl(S)||typeof S=="boolean")continue;if(m==="exit"&&y.isActive&&E!==!0){y.prevResolvedValues&&(v={...v,...y.prevResolvedValues});continue}const P=_M(y.prevProp,S);let N=P||m===u&&y.isActive&&!T&&C||p>g&&C,R=!1;const F=Array.isArray(S)?S:[S];let j=F.reduce(i(m),{});E===!1&&(j={});const{prevResolvedValues:U={}}=y,O={...U,...j},W=k=>{N=!0,f.has(k)&&(R=!0,f.delete(k)),y.needsAnimating[k]=!0;const A=e.getValue(k);A&&(A.liveStyle=!1)};for(const k in O){const A=j[k],I=U[k];if(v.hasOwnProperty(k))continue;let $=!1;ud(A)&&ud(I)?$=!Xw(A,I):$=A!==I,$?A!=null?W(k):f.add(k):A!==void 0&&f.has(k)?W(k):y.protectedKeys[k]=!0}y.prevProp=S,y.prevResolvedValues=j,y.isActive&&(v={...v,...j}),(r||o)&&e.blockInitialAnimation&&(N=!1);const B=T&&P;N&&(!B||R)&&h.push(...F.map(k=>{const A={type:m};if(typeof k=="string"&&(r||o)&&!B&&e.manuallyAnimateOnMount&&e.parent){const{parent:I}=e,$=Lr(I,k);if(I.enteringChildren&&$){const{delayChildren:z}=$.transition||{};A.delay=vw(I.enteringChildren,e,z)}}return{animation:k,options:A}}))}if(f.size){const p={};if(typeof c.initial!="boolean"){const m=Lr(e,Array.isArray(c.initial)?c.initial[0]:c.initial);m&&m.transition&&(p.transition=m.transition)}f.forEach(m=>{const y=e.getBaseTarget(m),S=e.getValue(m);S&&(S.liveStyle=!0),p[m]=y??null}),h.push({animation:p})}let x=!!h.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,o=!1,x?t(h):Promise.resolve()}function l(u,c){var h;if(n[u].isActive===c)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(f=>{var v;return(v=f.animationState)==null?void 0:v.setActive(u,c)}),n[u].isActive=c;const d=a(u);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Um(),o=!0}}}function _M(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Xw(t,e):!1}function pr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Um(){return{animate:pr(!0),whileInView:pr(),whileHover:pr(),whileTap:pr(),whileDrag:pr(),whileFocus:pr(),exit:pr()}}function vd(e,t){e.min=t.min,e.max=t.max}function kt(e,t){vd(e.x,t.x),vd(e.y,t.y)}function Wm(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const qw=1e-4,BM=1-qw,zM=1+qw,Zw=.01,$M=0-Zw,UM=0+Zw;function We(e){return e.max-e.min}function WM(e,t,n){return Math.abs(e-t)<=n}function Hm(e,t,n,r=.5){e.origin=r,e.originPoint=ae(t.min,t.max,e.origin),e.scale=We(n)/We(t),e.translate=ae(n.min,n.max,e.origin)-e.originPoint,(e.scale>=BM&&e.scale<=zM||isNaN(e.scale))&&(e.scale=1),(e.translate>=$M&&e.translate<=UM||isNaN(e.translate))&&(e.translate=0)}function Ai(e,t,n,r){Hm(e.x,t.x,n.x,r?r.originX:void 0),Hm(e.y,t.y,n.y,r?r.originY:void 0)}function Km(e,t,n,r=0){const o=r?ae(n.min,n.max,r):n.min;e.min=o+t.min,e.max=e.min+We(t)}function HM(e,t,n,r){Km(e.x,t.x,n.x,r==null?void 0:r.x),Km(e.y,t.y,n.y,r==null?void 0:r.y)}function Gm(e,t,n,r=0){const o=r?ae(n.min,n.max,r):n.min;e.min=t.min-o,e.max=e.min+We(t)}function nl(e,t,n,r){Gm(e.x,t.x,n.x,r==null?void 0:r.x),Gm(e.y,t.y,n.y,r==null?void 0:r.y)}function Qm(e,t,n,r,o){return e-=t,e=tl(e,1/n,r),o!==void 0&&(e=tl(e,1/o,r)),e}function KM(e,t=0,n=1,r=.5,o,i=e,s=e){if(en.test(t)&&(t=parseFloat(t),t=ae(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=ae(i.min,i.max,r);e===i&&(a-=t),e.min=Qm(e.min,t,n,a,o),e.max=Qm(e.max,t,n,a,o)}function Ym(e,t,[n,r,o],i,s){KM(e,t[n],t[r],t[o],t.scale,i,s)}const GM=["x","scaleX","originX"],QM=["y","scaleY","originY"];function Xm(e,t,n,r){Ym(e.x,t,GM,n?n.x:void 0,r?r.x:void 0),Ym(e.y,t,QM,n?n.y:void 0,r?r.y:void 0)}function qm(e){return e.translate===0&&e.scale===1}function Jw(e){return qm(e.x)&&qm(e.y)}function Zm(e,t){return e.min===t.min&&e.max===t.max}function YM(e,t){return Zm(e.x,t.x)&&Zm(e.y,t.y)}function Jm(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function e1(e,t){return Jm(e.x,t.x)&&Jm(e.y,t.y)}function eg(e){return We(e.x)/We(e.y)}function tg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Wt(e){return[e("x"),e("y")]}function XM(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}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:h,skewX:f,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),h&&(r+=`rotateY(${h}deg) `),f&&(r+=`skewX(${f}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 t1=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],qM=t1.length,ng=e=>typeof e=="string"?parseFloat(e):e,rg=e=>typeof e=="number"||_.test(e);function ZM(e,t,n,r,o,i){o?(e.opacity=ae(0,n.opacity??1,JM(r)),e.opacityExit=ae(t.opacity??1,0,eN(r))):i&&(e.opacity=ae(t.opacity??1,n.opacity??1,r));for(let s=0;s<qM;s++){const a=t1[s];let l=og(t,a),u=og(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||rg(l)===rg(u)?(e[a]=Math.max(ae(ng(l),ng(u),r),0),(en.test(u)||en.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=ae(t.rotate||0,n.rotate||0,r))}function og(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const JM=n1(0,.5,Kx),eN=n1(.5,.95,xt);function n1(e,t,n){return r=>r<e?0:r>t?1:n(Ji(e,t,r))}function tN(e,t,n){const r=Me(e)?e:Uo(e);return r.start(qf("",r,t,n)),r.animation}function ns(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const nN=(e,t)=>e.depth-t.depth;class rN{constructor(){this.children=[],this.isDirty=!1}add(t){_f(this.children,t),this.isDirty=!0}remove(t){Ya(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nN),this.isDirty=!1,this.children.forEach(t)}}function oN(e,t){const n=Ue.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(sr(r),e(i-t))};return re.setup(r,!0),()=>sr(r)}function ga(e){return Me(e)?e.get():e}class iN{constructor(){this.members=[]}add(t){_f(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 o=r.instance;(!o||o.isConnected===!1)&&!r.snapshot&&(Ya(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Ya(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 o=this.members[r];if(o.isPresent!==!1&&((n=o.instance)==null?void 0:n.isConnected)!==!1)return this.promote(o),!0}return!1}promote(t,n){var o;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=r.options,{layoutDependency:s}=t.options;(i===void 0||i!==s)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(o=t.root)!=null&&o.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,o,i,s;(r=(n=t.options).onExitComplete)==null||r.call(n),(s=(o=t.resumingFrom)==null?void 0:(i=o.options).onExitComplete)==null||s.call(i)})}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 ya={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Lu=["","X","Y","Z"],sN=1e3;let aN=0;function Ou(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function r1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Cw(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",re,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&r1(r)}function o1({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=aN++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(cN),this.nodes.forEach(gN),this.nodes.forEach(yN),this.nodes.forEach(dN)},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 rN)}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=rh(s)&&!uM(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 h=()=>this.root.updateBlockedByResize=!1;re.read(()=>{d=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==d&&(d=f,this.root.updateBlockedByResize=!0,c&&c(),c=oN(h,250),ya.hasAnimatedSinceResize&&(ya.hasAnimatedSinceResize=!1,this.nodes.forEach(ag)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:h,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||bN,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=u.getProps(),p=!this.targetLayout||!e1(this.targetLayout,f),m=!d&&h;if(this.options.layoutRoot||this.resumeFrom||m||d&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...Xf(v,"layout"),onPlay:g,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(c,m)}else d||ag(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}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(),sr(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(vN),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&&r1(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,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!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()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(hN),this.nodes.forEach(ig);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(sg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(pN),this.nodes.forEach(mN),this.nodes.forEach(lN),this.nodes.forEach(uN)):this.nodes.forEach(sg),this.clearAllSnapshots();const a=Ue.now();Ae.delta=nn(0,1e3/60,a-Ae.timestamp),Ae.timestamp=a,Ae.isProcessing=!0,Tu.update.process(Ae),Tu.preRender.process(Ae),Tu.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,th.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(fN),this.sharedNodes.forEach(xN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,re.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){re.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||(this.layoutCorrected=be()),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(!o)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Jw(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&this.instance&&(a||vr(this.latestValues)||c)&&(o(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)),CN(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:s}=this.options;if(!s)return be();const a=s.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(EN))){const{scroll:c}=this.root;c&&(Qt(a.x,c.offset.x),Qt(a.y,c.offset.y))}return a}removeElementScroll(s){var l;const a=be();if(kt(a,s),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:h}=c;c!==this.root&&d&&h.layoutScroll&&(d.wasRoot&&kt(a,s),Qt(a.x,d.offset.x),Qt(a.y,d.offset.y))}return a}applyTransform(s,a=!1,l){var c,d;const u=l||be();kt(u,s);for(let h=0;h<this.path.length;h++){const f=this.path[h];!a&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(Qt(u.x,-f.scroll.offset.x),Qt(u.y,-f.scroll.offset.y)),vr(f.latestValues)&&ma(u,f.latestValues,(c=f.layout)==null?void 0:c.layoutBox)}return vr(this.latestValues)&&ma(u,this.latestValues,(d=this.layout)==null?void 0:d.layoutBox),u}removeTransform(s){var l;const a=be();kt(a,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];if(!vr(c.latestValues))continue;let d;c.instance&&(md(c.latestValues)&&c.updateSnapshot(),d=be(),kt(d,c.measurePageBox())),Xm(a,c.latestValues,(l=c.snapshot)==null?void 0:l.layoutBox,d)}return vr(this.latestValues)&&Xm(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 f;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||(f=this.parent)!=null&&f.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 h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=be(),this.targetWithTransforms=be()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),HM(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):kt(this.target,this.layout.layoutBox),zw(this.target,this.targetDelta)):kt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||md(this.parent.latestValues)||Bw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(s,a,l){this.relativeParent=s,this.linkedParentVersion=s.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=be(),this.relativeTargetOrigin=be(),nl(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),kt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var v;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;kt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;wM(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=be());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Wm(this.prevProjectionDelta.x,this.projectionDelta.x),Wm(this.prevProjectionDelta.y,this.projectionDelta.y)),Ai(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==h||!tg(this.projectionDelta.x,this.prevProjectionDelta.x)||!tg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f))}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=ho(),this.projectionDelta=ho(),this.projectionDeltaWithTransform=ho()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=ho();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=be(),f=l?l.source:void 0,v=this.layout?this.layout.source:void 0,g=f!==v,x=this.getStack(),p=!x||x.members.length<=1,m=!!(g&&!p&&this.options.crossfade===!0&&!this.path.some(SN));this.animationProgress=0;let y;this.mixTargetDelta=S=>{const C=S/1e3;lg(d.x,s.x,C),lg(d.y,s.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nl(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),wN(this.relativeTarget,this.relativeTargetOrigin,h,C),y&&YM(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=be()),kt(y,this.relativeTarget)),g&&(this.animationValues=c,ZM(c,u,this.latestValues,C,m,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},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&&(sr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=re.update(()=>{ya.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Uo(0)),this.motionValue.jump(0,!1),this.currentAnimation=tN(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(sN),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&&i1(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||be();const d=We(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const h=We(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+h}kt(a,l),ma(a,c),Ai(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new iN),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}resetSkewAndRotation(){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&&Ou("z",s,u,this.animationValues);for(let c=0;c<Lu.length;c++)Ou(`rotate${Lu[c]}`,s,u,this.animationValues),Ou(`skew${Lu[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=ga(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=ga(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!vr(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=XM(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),s.transform=d;const{x:h,y:f}=this.projectionDelta;s.transformOrigin=`${h.origin*100}% ${f.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 yd){if(c[v]===void 0)continue;const{correct:g,applyTo:x,isCSSVariable:p}=yd[v],m=d==="none"?c[v]:g(c[v],u);if(x){const y=x.length;for(let S=0;S<y;S++)s[x[S]]=m}else p?this.options.visualElement.renderState.vars[v]=m:s[v]=m}this.options.layoutId&&(s.pointerEvents=u===this?ga(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(ig),this.root.sharedNodes.clear()}}}function lN(e){e.updateLayout()}function uN(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:o}=e.layout,{animationType:i}=e.options,s=t.source!==e.layout.source;if(i==="size")Wt(d=>{const h=s?t.measuredBox[d]:t.layoutBox[d],f=We(h);h.min=r[d].min,h.max=h.min+f});else if(i==="x"||i==="y"){const d=i==="x"?"y":"x";vd(s?t.measuredBox[d]:t.layoutBox[d],r[d])}else i1(i,t.layoutBox,r)&&Wt(d=>{const h=s?t.measuredBox[d]:t.layoutBox[d],f=We(r[d]);h.max=h.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+f)});const a=ho();Ai(a,r,t.layoutBox);const l=ho();s?Ai(l,e.applyTransform(o,!0),t.measuredBox):Ai(l,r,t.layoutBox);const u=!Jw(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:h,layout:f}=d;if(h&&f){const v=e.options.layoutAnchor||void 0,g=be();nl(g,t.layoutBox,h.layoutBox,v);const x=be();nl(x,r,f.layoutBox,v),e1(g,x)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=g,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 cN(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 dN(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function fN(e){e.clearSnapshot()}function ig(e){e.clearMeasurements()}function hN(e){e.isLayoutDirty=!0,e.updateLayout()}function sg(e){e.isLayoutDirty=!1}function pN(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function mN(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ag(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function gN(e){e.resolveTargetDelta()}function yN(e){e.calcProjection()}function vN(e){e.resetSkewAndRotation()}function xN(e){e.removeLeadSnapshot()}function lg(e,t,n){e.translate=ae(t.translate,0,n),e.scale=ae(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ug(e,t,n,r){e.min=ae(t.min,n.min,r),e.max=ae(t.max,n.max,r)}function wN(e,t,n,r){ug(e.x,t.x,n.x,r),ug(e.y,t.y,n.y,r)}function SN(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const bN={duration:.45,ease:[.4,0,.1,1]},cg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),dg=cg("applewebkit/")&&!cg("chrome/")?Math.round:xt;function fg(e){e.min=dg(e.min),e.max=dg(e.max)}function CN(e){fg(e.x),fg(e.y)}function i1(e,t,n){return e==="position"||e==="preserve-aspect"&&!WM(eg(t),eg(n),.2)}function EN(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const TN=o1({attachResizeListener:(e,t)=>ns(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}),ju={current:void 0},s1=o1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ju.current){const e=new TN({});e.mount(window),e.setOptions({layoutScroll:!0}),ju.current=e}return ju.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),lh=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function hg(e,t){if(typeof e=="function")return e(t);
vendor: 6,639 bytes, lines 208-216
208e!=null&&(e.current=t)}function PN(...e){return t=>{let n=!1;const r=e.map(o=>{const i=hg(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():hg(e[o],null)}}}}function kN(...e){return w.useCallback(PN(...e),e)}class RN extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(da(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,o=da(r)&&r.offsetWidth||0,i=da(r)&&r.offsetHeight||0,s=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(s.height),a.width=parseFloat(s.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=o-a.width-a.left,a.bottom=i-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function AN({children:e,isPresent:t,anchorX:n,anchorY:r,root:o,pop:i}){var h;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(lh),c=((h=e.props)==null?void 0:h.ref)??(e==null?void 0:e.ref),d=kN(a,c);return w.useInsertionEffect(()=>{const{width:f,height:v,top:g,left:x,right:p,bottom:m}=l.current;if(t||i===!1||!a.current||!f||!v)return;const y=n==="left"?`left: ${x}`:`right: ${p}`,S=r==="bottom"?`bottom: ${m}`:`top: ${g}`;a.current.dataset.motionPopId=s;const C=document.createElement("style");u&&(C.nonce=u);const E=o??document.head;return E.appendChild(C),C.sheet&&C.sheet.insertRule(`
209          [data-motion-pop-id="${s}"] {
210            position: absolute !important;
211            width: ${f}px !important;
212            height: ${v}px !important;
213            ${y}px !important;
214            ${S}px !important;
215          }
216        `),()=>{var T;(T=a.current)==null||T.removeAttribute("data-motion-pop-id"),E.contains(C)&&E.removeChild(C)}},[t]),b.jsx(RN,{isPresent:t,childRef:a,sizeRef:l,pop:i,children:i===!1?e:w.cloneElement(e,{ref:d})})}const MN=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:s,anchorX:a,anchorY:l,root:u})=>{const c=Vf(NN),d=w.useId();let h=!0,f=w.useMemo(()=>(h=!1,{id:d,initial:t,isPresent:n,custom:o,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 i&&h&&(f={...f}),w.useMemo(()=>{c.forEach((v,g)=>c.set(g,!1))},[n]),w.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),e=b.jsx(AN,{pop:s==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),b.jsx(Ol.Provider,{value:f,children:e})};function NN(){return new Map}function a1(e=!0){const t=w.useContext(Ol);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=w.useId();w.useEffect(()=>{if(e)return o(i)},[e]);const s=w.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,s]:[!0]}const Hs=e=>e.key||"";function pg(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const _l=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:s=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,d]=a1(s),h=w.useMemo(()=>pg(e),[e]),f=s&&!c?[]:h.map(Hs),v=w.useRef(!0),g=w.useRef(h),x=Vf(()=>new Map),p=w.useRef(new Set),[m,y]=w.useState(h),[S,C]=w.useState(h);Ox(()=>{v.current=!1,g.current=h;for(let P=0;P<S.length;P++){const N=Hs(S[P]);f.includes(N)?(x.delete(N),p.current.delete(N)):x.get(N)!==!0&&x.set(N,!1)}},[S,f.length,f.join("-")]);const E=[];if(h!==m){let P=[...h];for(let N=0;N<S.length;N++){const R=S[N],F=Hs(R);f.includes(F)||(P.splice(N,0,R),E.push(R))}return i==="wait"&&E.length&&(P=E),C(pg(P)),y(h),null}const{forceRender:T}=w.useContext(Ff);return b.jsx(b.Fragment,{children:S.map(P=>{const N=Hs(P),R=s&&!c?!1:h===S||f.includes(N),F=()=>{if(p.current.has(N))return;if(x.has(N))p.current.add(N),x.set(N,!0);else return;let j=!0;x.forEach(U=>{U||(j=!1)}),j&&(T==null||T(),C(g.current),s&&(d==null||d()),r&&r())};return b.jsx(MN,{isPresent:R,initial:!v.current||n?void 0:!1,custom:t,presenceAffectsLayout:o,mode:i,root:u,onExitComplete:R?void 0:F,anchorX:a,anchorY:l,children:P},N)})})},l1=w.createContext({strict:!1}),mg={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 gg=!1;function DN(){if(gg)return;const e={};for(const t in mg)e[t]={isEnabled:n=>mg[t].some(r=>!!n[r])};Fw(e),gg=!0}function u1(){return DN(),gM()}function LN(e){const t=u1();for(const n in e)t[n]={...t[n],...e[n]};Fw(t)}const ON=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 rl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ON.has(e)}let c1=e=>!rl(e);function jN(e){typeof e=="function"&&(c1=t=>t.startsWith("on")?!rl(t):e(t))}try{jN(require("@emotion/is-prop-valid").default)}catch{}function IN(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||Me(e[o])||(c1(o)||n===!0&&rl(o)||!t&&!rl(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const Bl=w.createContext({});function FN(e,t){if(Vl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ts(n)?n:void 0,animate:ts(r)?r:void 0}}return e.inherit!==!1?t:{}}function VN(e){const{initial:t,animate:n}=FN(e,w.useContext(Bl));return w.useMemo(()=>({initial:t,animate:n}),[yg(t),yg(n)])}function yg(e){return Array.isArray(e)?e.join(" "):e}const uh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function d1(e,t,n){for(const r in t)!Me(t[r])&&!Ww(r,n)&&(e[r]=t[r])}function _N({transformTemplate:e},t){return w.useMemo(()=>{const n=uh();return sh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function BN(e,t){const n=e.style||{},r={};return d1(r,n,e),Object.assign(r,_N(e,t)),r}function zN(e,t){const n={},r=BN(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"}
216`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const f1=()=>({...uh(),attrs:{}});function $N(e,t,n,r){const o=w.useMemo(()=>{const i=f1();return Hw(i,t,Gw(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};d1(i,e.style,e),o.style={...i,...o.style}}return o}const UN=["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 ch(e){return typeof e!="string"||e.includes("-")?!1:!!(UN.indexOf(e)>-1||/[A-Z]/u.test(e))}function WN(e,t,n,{latestValues:r},o,i=!1,s){const l=(s??ch(e)?$N:zN)(t,r,o,e),u=IN(t,typeof e=="string",i),c=e!==w.Fragment?{...u,...l,ref:n}:{},{children:d}=t,h=w.useMemo(()=>Me(d)?d.get():d,[d]);return w.createElement(e,{...c,children:h})}function HN({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:KN(n,r,o,e),renderState:t()}}function KN(e,t,n,r){const o={},i=r(e,{});for(const h in i)o[h]=ga(i[h]);let{initial:s,animate:a}=e;const l=Vl(e),u=jw(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"&&!Fl(d)){const h=Array.isArray(d)?d:[d];for(let f=0;f<h.length;f++){const v=Zf(e,h[f]);if(v){const{transitionEnd:g,transition:x,...p}=v;for(const m in p){let y=p[m];if(Array.isArray(y)){const S=c?y.length-1:0;y=y[S]}y!==null&&(o[m]=y)}for(const m in g)o[m]=g[m]}}}return o}const h1=e=>(t,n)=>{const r=w.useContext(Bl),o=w.useContext(Ol),i=()=>HN(e,t,r,o);return n?i():Vf(i)},GN=h1({scrapeMotionValuesFromProps:ah,createRenderState:uh}),QN=h1({scrapeMotionValuesFromProps:Qw,createRenderState:f1}),YN=Symbol.for("motionComponentSymbol");function XN(e,t,n){const r=w.useRef(n);w.useInsertionEffect(()=>{r.current=n});const o=w.useRef(null);return w.useCallback(i=>{var a;i&&((a=e.onMount)==null||a.call(e,i));const s=r.current;if(typeof s=="function")if(i){const l=s(i);typeof l=="function"&&(o.current=l)}else o.current?(o.current(),o.current=null):s(i);else s&&(s.current=i);t&&(i?t.mount(i):t.unmount())},[t])}const p1=w.createContext({});function qr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function qN(e,t,n,r,o,i){var y,S;const{visualElement:s}=w.useContext(Bl),a=w.useContext(l1),l=w.useContext(Ol),u=w.useContext(lh),c=u.reducedMotion,d=u.skipAnimations,h=w.useRef(null),f=w.useRef(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:d,isSVG:i}),f.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const v=h.current,g=w.useContext(p1);v&&!v.projection&&o&&(v.type==="html"||v.type==="svg")&&ZN(h.current,n,o,g);const x=w.useRef(!1);w.useInsertionEffect(()=>{v&&x.current&&v.update(n,l)});const p=n[bw],m=w.useRef(!!p&&typeof window<"u"&&!((y=window.MotionHandoffIsComplete)!=null&&y.call(window,p))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,p)));return Ox(()=>{f.current=!0,v&&(x.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),m.current&&v.animationState&&v.animationState.animateChanges())}),w.useEffect(()=>{v&&(!m.current&&v.animationState&&v.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,p)}),m.current=!1),v.enteringChildren=void 0)}),v}function ZN(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:m1(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&qr(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}function m1(e){if(e)return e.options.allowProjection!==!1?e.projection:m1(e.parent)}function Iu(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&LN(r);const i=n?n==="svg":ch(e),s=i?QN:GN;function a(u,c){let d;const h={...w.useContext(lh),...u,layoutId:JN(u)},{isStatic:f}=h,v=VN(u),g=s(u,f);if(!f&&typeof window<"u"){eD();const x=tD(h);d=x.MeasureLayout,v.visualElement=qN(e,g,h,o,x.ProjectionNode,i)}return b.jsxs(Bl.Provider,{value:v,children:[d&&v.visualElement?b.jsx(d,{visualElement:v.visualElement,...h}):null,WN(e,u,XN(g,v.visualElement,c),g,f,t,i)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=w.forwardRef(a);return l[YN]=e,l}function JN({layoutId:e}){const t=w.useContext(Ff).id;return t&&e!==void 0?t+"-"+e:e}function eD(e,t){w.useContext(l1).strict}function tD(e){const t=u1(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}
vendor: 19,002 bytes, line 216
216function nD(e,t){if(typeof Proxy>"u")return Iu;const n=new Map,r=(i,s)=>Iu(i,s,e,t),o=(i,s)=>r(i,s);return new Proxy(o,{get:(i,s)=>s==="create"?r:(n.has(s)||n.set(s,Iu(s,void 0,e,t)),n.get(s))})}const rD=(e,t)=>t.isSVG??ch(e)?new LM(t):new kM(t,{allowProjection:e!==w.Fragment});class oD extends cr{constructor(t){super(t),t.animationState||(t.animationState=VM(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Fl(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 iD=0;class sD extends cr{constructor(){super(...arguments),this.id=iD++,this.isExitComplete=!1}update(){var i;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;if(t&&r===!1){if(this.isExitComplete){const{initial:s,custom:a}=this.node.getProps();if(typeof s=="string"){const l=Lr(this.node,s,a);if(l){const{transition:u,transitionEnd:c,...d}=l;for(const h in d)(i=this.node.getValue(h))==null||i.jump(d[h])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const aD={animation:{Feature:oD},exit:{Feature:sD}};function gs(e){return{point:{x:e.pageX,y:e.pageY}}}const lD=e=>t=>nh(t)&&e(t,gs(t));function Mi(e,t,n,r){return ns(e,t,lD(n),r)}const g1=({current:e})=>e?e.ownerDocument.defaultView:null,vg=(e,t)=>Math.abs(e-t);function uD(e,t){const n=vg(e.x,t.x),r=vg(e.y,t.y);return Math.sqrt(n**2+r**2)}const xg=new Set(["auto","scroll"]);class y1{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=f=>{this.handleScroll(f.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Ks(this.lastRawMoveEventInfo,this.transformPagePoint));const f=Fu(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,g=uD(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!v&&!g)return;const{point:x}=f,{timestamp:p}=Ae;this.history.push({...x,timestamp:p});const{onStart:m,onMove:y}=this.handlers;v||(m&&m(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,f)},this.handlePointerMove=(f,v)=>{this.lastMoveEvent=f,this.lastRawMoveEventInfo=v,this.lastMoveEventInfo=Ks(v,this.transformPagePoint),re.update(this.updatePoint,!0)},this.handlePointerUp=(f,v)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:p}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Fu(f.type==="pointercancel"?this.lastMoveEventInfo:Ks(v,this.transformPagePoint),this.history);this.startEvent&&g&&g(f,m),x&&x(f,m)},!nh(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=o||window;const l=gs(t),u=Ks(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=Ae;this.history=[{...c,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,Fu(u,this.history)),this.removeListeners=hs(Mi(this.contextWindow,"pointermove",this.handlePointerMove),Mi(this.contextWindow,"pointerup",this.handlePointerUp),Mi(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(xg.has(r.overflowX)||xg.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,o=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:o.x-n.x,y:o.y-n.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,o),re.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),sr(this.updatePoint)}}function Ks(e,t){return t?{point:t(e.point)}:e}function wg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Fu({point:e},t){return{point:e,delta:wg(e,v1(t)),offset:wg(e,cD(t)),velocity:dD(t,.1)}}function cD(e){return e[0]}function v1(e){return e[e.length-1]}function dD(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=v1(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>et(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>et(t)*2&&(r=e[1]);const i=yt(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function fD(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ae(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ae(n,e,r.max):Math.min(e,n)),e}function Sg(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 hD(e,{top:t,left:n,bottom:r,right:o}){return{x:Sg(e.x,n,o),y:Sg(e.y,t,r)}}function bg(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 pD(e,t){return{x:bg(e.x,t.x),y:bg(e.y,t.y)}}function mD(e,t){let n=.5;const r=We(e),o=We(t);return o>r?n=Ji(t.min,t.max-r,e.min):r>o&&(n=Ji(e.min,e.max-o,t.min)),nn(0,1,n)}function gD(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 xd=.35;function yD(e=xd){return e===!1?e=0:e===!0&&(e=xd),{x:Cg(e,"left","right"),y:Cg(e,"top","bottom")}}function Cg(e,t,n){return{min:Eg(e,t),max:Eg(e,n)}}function Eg(e,t){return typeof e=="number"?e:e[t]||0}const vD=new WeakMap;class xD{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=be(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const i=d=>{n&&this.snapToCursor(gs(d).point),this.stopAnimation()},s=(d,h)=>{const{drag:f,dragPropagation:v,onDragStart:g}=this.getProps();if(f&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=KA(f),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Wt(p=>{let m=this.getAxisMotionValue(p).get()||0;if(en.test(m)){const{projection:y}=this.visualElement;if(y&&y.layout){const S=y.layout.layoutBox[p];S&&(m=We(S)*(parseFloat(m)/100))}}this.originPoint[p]=m}),g&&re.update(()=>g(d,h),!1,!0),cd(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h;const{dragPropagation:f,dragDirectionLock:v,onDirectionLock:g,onDrag:x}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:p}=h;if(v&&this.currentDirection===null){this.currentDirection=SD(p),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",h.point,p),this.updateAxis("y",h.point,p),this.visualElement.render(),x&&re.update(()=>x(d,h),!1,!0)},l=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h,this.stop(d,h),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 y1(t,{onSessionStart:i,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:g1(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!r)return;const{velocity:s}=o;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&re.postRender(()=>a(r,o))}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:o}=this.getProps();if(!r||!Gs(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=fD(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,o=this.constraints;t&&qr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=hD(r.layoutBox,t):this.constraints=!1,this.elastic=yD(n),o!==this.constraints&&!qr(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Wt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=gD(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!qr(t))return!1;const r=t.current;zo(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:o}=this.visualElement;if(!o||!o.layout)return!1;const i=SM(r,o.root,this.visualElement.getTransformPagePoint());let s=pD(o.layout.layoutBox,i);if(n){const a=n(vM(s));this.hasMutatedConstraints=!!a,a&&(s=_w(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Wt(c=>{if(!Gs(c,n,this.currentDirection))return;let d=l&&l[c]||{};(s===!0||s===c)&&(d={min:0,max:0});const h=o?200:1e6,f=o?40:1e7,v={type:"inertia",velocity:r?t[c]:0,bounceStiffness:h,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,v)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return cd(this.visualElement,t),r.start(qf(t,r,0,n,this.visualElement,!1))}stopAnimation(){Wt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Wt(n=>{const{drag:r}=this.getProps();if(!Gs(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n],l=i.get()||0;i.set(t[n]-ae(s,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!qr(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Wt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();o[s]=mD({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Wt(s=>{if(!Gs(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(ae(l,u,o[s]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;vD.set(this.visualElement,this);const t=this.visualElement.current,n=Mi(t,"pointerdown",u=>{const{drag:c,dragListener:d=!0}=this.getProps(),h=u.target,f=h!==t&&ZA(h);c&&d&&!f&&this.start(u)});let r;const o=()=>{const{dragConstraints:u}=this.getProps();qr(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=wD(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,s=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),re.read(o);const a=ns(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Wt(d=>{const h=this.getAxisMotionValue(d);h&&(this.originPoint[d]+=u[d].translate,h.set(h.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:o=!1,dragConstraints:i=!1,dragElastic:s=xd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function Tg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function wD(e,t,n){const r=Dm(e,Tg(n)),o=Dm(t,Tg(n));return()=>{r(),o()}}function Gs(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function SD(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class bD extends cr{constructor(t){super(t),this.removeGroupControls=xt,this.removeListeners=xt,this.controls=new xD(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||xt}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 Vu=e=>(t,n)=>{e&&re.update(()=>e(t,n),!1,!0)};class CD extends cr{constructor(){super(...arguments),this.removePointerDownListener=xt}onPointerDown(t){this.session=new y1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:g1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Vu(t),onStart:Vu(n),onMove:Vu(r),onEnd:(i,s)=>{delete this.session,o&&re.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Mi(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 _u=!1;class ED extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),_u&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ya.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,{projection:s}=r;return s&&(s.isPresent=i,t.layoutDependency!==n&&s.setOptions({...s.options,layoutDependency:n}),_u=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==i?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||re.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),th.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;_u=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function x1(e){const[t,n]=a1(),r=w.useContext(Ff);return b.jsx(ED,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(p1),isPresent:t,safeToRemove:n})}const TD={pan:{Feature:CD},drag:{Feature:bD,ProjectionNode:s1,MeasureLayout:x1}};function Pg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,i=r[o];i&&re.postRender(()=>i(t,gs(t)))}class PD extends cr{mount(){const{current:t}=this.node;t&&(this.unmount=QA(t,(n,r)=>(Pg(this.node,r,"Start"),o=>Pg(this.node,o,"End"))))}unmount(){}}class kD extends cr{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=hs(ns(this.node.current,"focus",()=>this.onFocus()),ns(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function kg(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 o="onTap"+(n==="End"?"":n),i=r[o];i&&re.postRender(()=>i(t,gs(t)))}class RD extends cr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=eM(t,(o,i)=>(kg(this.node,i,"Start"),(s,{success:a})=>kg(this.node,s,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const wd=new WeakMap,Bu=new WeakMap,AD=e=>{const t=wd.get(e.target);t&&t(e)},MD=e=>{e.forEach(AD)};function ND({root:e,...t}){const n=e||document;Bu.has(n)||Bu.set(n,{});const r=Bu.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(MD,{root:e,...t})),r[o]}
216function DD(e,t,n){const r=ND(t);return wd.set(e,n),r.observe(e),()=>{wd.delete(e),r.unobserve(e)}}const LD={some:0,all:1};class OD extends cr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:LD[o]},a=u=>{const{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:h}=this.node.getProps(),f=c?d:h;f&&f(u)};this.stopObserver=DD(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(jD(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function jD({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const ID={inView:{Feature:OD},tap:{Feature:RD},focus:{Feature:kD},hover:{Feature:PD}},FD={layout:{ProjectionNode:s1,MeasureLayout:x1}},VD={...aD,...ID,...TD,...FD},tt=nD(VD,rD),_D="/assets/hero-banner-BpfzLmTG.jpg",Xr=[{id:"deep-poverty",name:"End Deep Poverty",description:"Lift every American below 50% of the federal poverty line above it.",costBillions:35,icon:ZT,tooltip:"Deep poverty affects roughly 18 million Americans living below half the federal poverty line (~$7,500/year for an individual). This estimate covers direct cash transfers to close that gap, supplementing existing safety-net programs like SNAP and SSI."},{id:"homelessness",name:"End Homelessness",description:"Fund Housing First programs, permanent supportive housing, and rapid rehousing nationally.",costBillions:25,icon:JT,tooltip:"Based on estimates from the U.S. Interagency Council on Homelessness and HUD. Covers approximately 650,000 people experiencing homelessness on any given night, with an average annual cost of ~$38,000 per person for permanent supportive housing."},{id:"broadband",name:"Rural Broadband for All",description:"Complete last-mile broadband deployment to every unserved household.",costBillions:20,icon:uP,tooltip:"FCC estimates ~14 million households lack broadband access. Last-mile fiber deployment costs $3,000-$8,000 per household in rural areas. Over a 5-year buildout, the annualized cost is approximately $20 billion/year, supplementing existing BEAD program funds."},{id:"mental-health",name:"Community Mental Health & Addiction Services",description:"Fund a national network of community mental health centers and addiction treatment facilities to meet current demand.",costBillions:35,icon:WT,tooltip:"SAMHSA estimates a treatment gap of ~25 million people with substance use disorders and ~30 million with unmet mental health needs. At an average annual treatment cost of $5,000-$8,000 per person, meeting current demand requires roughly $35 billion in new annual funding."},{id:"pre-k",name:"Universal Pre-K",description:"Provide free, high-quality pre-kindergarten for every 3- and 4-year-old in the country.",costBillions:40,icon:qT,tooltip:"Approximately 8 million children ages 3-4 in the U.S. At ~$10,000 per child annually (based on NIEER quality benchmarks), minus existing state pre-K and Head Start spending, the net new federal cost is roughly $40 billion/year."},{id:"clean-water",name:"Clean Water & Lead Pipe Replacement",description:"Replace all remaining lead service lines and upgrade water infrastructure in underserved communities.",costBillions:45,icon:YT,tooltip:"EPA estimates 9.2 million lead service lines remain nationwide, at ~$5,000-$10,000 each to replace. Combined with broader water infrastructure upgrades (per the EPA Drinking Water Needs Survey), the 10-year cost is ~$450 billion, or $45 billion annualized."},{id:"k12-funding",name:"Close the K-12 Funding Gap",description:"Equalize per-pupil spending between the poorest and wealthiest school districts nationally.",costBillions:50,icon:K0,tooltip:"The per-pupil spending gap between the richest and poorest districts averages ~$2,000-$3,000 per student. With roughly 25 million students in underfunded districts, closing this gap requires approximately $50 billion in new annual federal funding."},{id:"urban-renewal",name:"Urban Renewal — Top 20 Cities",description:"Fund infrastru
216cture rehabilitation, blight removal, green space development, and transit upgrades in the 20 largest U.S. cities.",costBillions:80,icon:qp,tooltip:"Covers ~$4 billion per city annually across the 20 largest metros. Includes road and bridge repair, brownfield remediation, park development, and public transit capital improvements. Based on ASCE infrastructure gap estimates scaled to major metro areas."},{id:"poverty-gap",name:"Close the Poverty Gap Entirely",description:"Bring every household below the federal poverty line up to it.",costBillions:175,icon:aP,tooltip:"Approximately 37 million Americans live below the federal poverty line. This cost represents the aggregate dollar shortfall between their current income (after existing transfers) and the poverty threshold, based on Census Bureau SPM data."},{id:"deficit",name:"Eliminate the Federal Budget Deficit",description:"Close the current annual deficit gap.",costBillions:1800,icon:qp,tooltip:"The FY2024 federal deficit is approximately $1.8 trillion. This problem is intentionally included to show that the deficit is a structural issue far larger than what any single tax adjustment can solve — even at 30%, only a fraction is covered."}],BD=44,po=[0,1,2,3,5,7,10,15,20,25,30],zD=[{label:"99th percentile",income:6e5,description:"$600K household"},{label:"99.9th percentile",income:3e6,description:"$3M household"},{label:"99.99th percentile",income:15e6,description:"$15M household"}],$D=({value:e,onChange:t,sharedRate:n})=>{const r=po.indexOf(e),o=typeof n=="number",i=o&&n===e;return b.jsxs(tt.div,{className:"w-full max-w-2xl mx-auto",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},children:[b.jsxs("div",{className:"flex items-center justify-between mb-3 gap-3",children:[b.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[b.jsx("p",{className:"text-sm text-muted-foreground font-body truncate",children:"Tax Rate on Top 1% Income"}),o&&b.jsxs("span",{className:`hidden sm:inline-flex items-center gap-1 px-2 py-0.5 rounded-md border text-[11px] font-body uppercase tracking-wider transition-colors ${i?"border-solved/60 bg-solved/10 text-solved":"border-border bg-secondary/40 text-muted-foreground"}`,title:i?`You're at the shared rate of ${n}%`:`Originally shared at ${n}%`,children:[b.jsx(tP,{className:"w-3 h-3"}),"Shared rate: ",n,"%"]})]}),b.jsxs("p",{className:"text-2xl font-heading font-bold text-foreground shrink-0",children:["+",e,"%"]})]}),b.jsx("input",{type:"range",min:0,max:po.length-1,step:1,value:r,onChange:s=>t(po[Number(s.target.value)]),className:`w-full h-3 rounded-full appearance-none cursor-pointer bg-secondary
217          [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-7 [&::-webkit-slider-thumb]:h-7
218          [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-primary
219          [&::-webkit-slider-thumb]:shadow-lg [&::-webkit-slider-thumb]:shadow-primary/30
220          [&::-webkit-slider-thumb]:cursor-pointer [&::-webkit-slider-thumb]:border-2
221          [&::-webkit-slider-thumb]:border-background
222          [&::-moz-range-thumb]:w-7 [&::-moz-range-thumb]:h-7
223          [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-primary
224          [&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-background
225          [&::-moz-range-thumb]:cursor-pointer`}),b.jsx("div",{className:"flex justify-between mt-2 px-1",children:po.map(s=>b.jsxs("button",{onClick:()=>t(s),className:`text-xs font-body transition-colors ${s===e?"text-primary font-semibold":"text-muted-foreground hover:text-foreground"}`,children:[s,"%"]},s))})]})},UD=({value:e})=>{const[t,n]=w.useState(e),r=w.useRef(),o=w.useRef(t);w.useEffect(()=>{const s=o.current,a=e-s,l=600,u=performance.now(),c=d=>{const h=d-u,f=Math.min(h/l,1),v=1-Math.pow(1-f,3),g=s+a*v;n(g),f<1?r.current=requestAnimationFrame(c):o.current=e};return r.current=requestAnimationFrame(c),()=>{r.current&&cancelAnimationFrame(r.current),o.current=t}},[e]);const i=t<1?"$0":`$${Math.round(t).toLocaleString()}B`;return b.jsxs(tt.div,{className:"text-center",initial:{opacity:0,y:20}
225,animate:{opacity:1,y:0},transition:{delay:.2},children:[b.jsx("p",{className:"text-sm font-body uppercase tracking-widest text-muted-foreground mb-2",children:"New Annual Revenue"}),b.jsxs("p",{className:"text-5xl md:text-7xl font-heading font-bold text-primary tabular-nums",children:[i,b.jsx("span",{className:"text-2xl md:text-3xl text-muted-foreground font-normal ml-2",children:"/year"})]})]})},WD=({problem:e,funded:t,index:n,customMode:r,customAllocation:o,onCustomChange:i,totalRevenue:s=0})=>{const a=e.costBillions,l=Math.min(r?o??0:t,a),u=Math.min(l/a*100,100),c=u>=100,d=u>0&&u<100,h=e.icon;return b.jsx(tt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1+n*.05},className:`relative rounded-xl border p-5 transition-all duration-500 ${c?"border-solved/40 bg-solved/5 glow-solved":d?"border-partial/30 bg-card":"border-border bg-card"}`,children:b.jsxs("div",{className:"flex items-start gap-4",children:[b.jsx("div",{className:`flex-shrink-0 w-10 h-10 rounded-lg flex items-center justify-center ${c?"bg-solved/20 text-solved":d?"bg-partial/20 text-partial":"bg-secondary text-muted-foreground"}`,children:b.jsx(h,{className:"w-5 h-5"})}),b.jsxs("div",{className:"flex-1 min-w-0",children:[b.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[b.jsxs(_2,{children:[b.jsx(B2,{asChild:!0,children:b.jsx("h3",{className:"font-heading font-semibold text-sm text-foreground truncate cursor-help",children:e.name})}),b.jsx(Lx,{side:"top",className:"max-w-sm text-xs leading-relaxed",children:e.tooltip})]}),c&&b.jsxs(tt.span,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:400,damping:15},className:"flex-shrink-0 inline-flex items-center gap-1 rounded-full bg-solved/20 text-solved px-2 py-0.5 text-xs font-semibold",children:[b.jsx(HT,{className:"w-3 h-3"})," SOLVED"]}),d&&b.jsxs("span",{className:"flex-shrink-0 text-xs text-partial font-medium",children:[Math.round(u),"%"]})]}),b.jsx("p",{className:"text-xs text-muted-foreground mb-3 font-body leading-relaxed",children:e.description}),b.jsx("div",{className:"w-full h-2 rounded-full bg-secondary overflow-hidden mb-2",children:b.jsx(tt.div,{className:`h-full rounded-full ${c?"bg-solved":d?"bg-partial":"bg-unfunded"}`,initial:{width:0},animate:{width:`${u}%`},transition:{duration:.6,ease:"easeOut"}})}),b.jsxs("div",{className:"flex justify-between text-xs font-body",children:[b.jsxs("span",{className:"text-muted-foreground",children:["$",Math.round(l),"B funded"]}),b.jsxs("span",{className:"text-muted-foreground",children:["$",a,"B needed"]})]}),r&&b.jsx("div",{className:"mt-3",children:b.jsx("input",{type:"range",min:0,max:Math.min(s,a),step:1,value:o??0,onChange:f=>i==null?void 0:i(Number(f.target.value)),onInput:f=>i==null?void 0:i(Number(f.target.value)),className:`w-full h-2 rounded-full appearance-none cursor-pointer bg-secondary
226                  [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:h-5
227                  [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-primary
228                  [&::-webkit-slider-thumb]:cursor-pointer [&::-webkit-slider-thumb]:shadow-md
229                  [&::-moz-range-thumb]:w-5 [&::-moz-range-thumb]:h-5
230                  [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-primary
231                  [&::-moz-range-thumb]:cursor-pointer [&::-moz-range-thumb]:border-0`})})]})]})})},HD=({solved:e,total:t,target:n})=>{const r=typeof n=="number"&&n>=0&&n<=t,o=r&&e===n;return b.jsxs("div",{className:"flex items-center gap-3",children:[b.jsx("span",{className:"text-sm text-muted-foreground font-body uppercase tracking-wider",children:"Problems Solved"}),b.jsxs("div",{className:"flex items-center gap-1",children:[b.jsx(_l,{mode:"popLayout",children:b.jsx(tt.span,{initial:{y:-20,opacity:0},animate:{y:0,opacity:1},exit:{y:20,opacity:0},transition:{type:"spring",stiffness:300,damping:25},className:"text-2xl font-heading font-bold text-solved",children:e},e)}),b.jsxs("span",{className:"text-2xl font-heading font-bold text-muted-foreground",children:["/ ",t]})]}),r&&b.jsxs(tt.div,{initial:{opacity:0,scale:.8}
231,animate:{opacity:1,scale:o?[1,1.08,1]:1},transition:{opacity:{duration:.2},scale:o?{duration:.6,repeat:1/0,repeatDelay:1.4}:{duration:.2}},className:`hidden sm:flex items-center gap-1 px-2 py-0.5 rounded-md border text-[11px] font-body uppercase tracking-wider ${o?"border-solved/60 bg-solved/10 text-solved":"border-border bg-secondary/40 text-muted-foreground"}`,title:o?`You matched the shared scenario: ${n} solved`:`Shared scenario targets ${n} solved`,children:[b.jsx(sP,{className:"w-3 h-3"}),b.jsxs("span",{children:[o?"Match":"Target"," ",n]})]})]})},KD=({surchargePercent:e})=>e===0?null:b.jsxs(tt.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"w-full max-w-2xl mx-auto",children:[b.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground mb-3 font-body",children:"Annual Tax at This Rate per Household"}),b.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3",children:zD.map(t=>{const n=t.income*(e/100);return b.jsxs("div",{className:"rounded-lg bg-secondary/50 border border-border p-3",children:[b.jsx("p",{className:"text-xs text-muted-foreground font-body",children:t.description}),b.jsxs("p",{className:"text-lg font-heading font-bold text-foreground mt-1",children:["$",n.toLocaleString()]}),b.jsx("p",{className:"text-xs text-muted-foreground",children:t.label})]},t.label)})})]}),GD=()=>{const[e,t]=w.useState(!1);return b.jsxs("div",{className:"w-full max-w-4xl mx-auto border-t border-border pt-6",children:[b.jsxs("button",{onClick:()=>t(!e),className:"flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors font-heading text-sm",children:[b.jsx(tt.span,{animate:{rotate:e?180:0},transition:{duration:.2},children:b.jsx(Tf,{className:"w-4 h-4"})}),"About the Math"]}),b.jsx(_l,{children:e&&b.jsx(tt.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:b.jsxs("div",{className:"pt-4 pb-2 text-xs text-muted-foreground font-body leading-relaxed space-y-3 max-w-3xl",children:[b.jsxs("p",{children:[b.jsx("strong",{className:"text-foreground",children:"Revenue Model:"})," The top 1% of U.S. earners (approximately 1.5 million tax filers) have a combined Adjusted Gross Income (AGI) of approximately $4.4 trillion, based on the most recent IRS Statistics of Income (SOI) data. Each 1% tax rate on this income yields approximately $44 billion per year. Revenue scales linearly with the rate. The slider represents a flat tax rate on declared income — not a surcharge on top of existing rates."]}),b.jsxs("p",{children:[b.jsx("strong",{className:"text-foreground",children:"Cost Estimates:"})," Each problem's annual cost is derived from publicly available federal data sources including the Census Bureau, CBO, EPA, HUD, FCC, SAMHSA, NIEER, and ASCE reports. These are order-of-magnitude estimates meant to illustrate the scale of investment needed, not to serve as precise budget proposals."]}),b.jsxs("p",{children:[b.jsx("strong",{className:"text-foreground",children:"The Deficit:"})," The federal budget deficit (~$1.8 trillion in FY2024) is intentionally included to demonstrate that it is a structural challenge far larger than what any single revenue measure can resolve. Even at a 30% rate on the top 1%, only a fraction of the deficit is addressed."]}),b.jsxs("p",{children:[b.jsx("strong",{className:"text-foreground",children:"Household Impact:"})," Tax amounts shown per household are simple calculations: income × tax rate. Actual tax liability would depend on deductions, filing status, and other factors. These figures are illustrative."]}),b.jsxs("p",{children:[b.jsx("strong",{className:"text-foreground",children:"Disclaimer:"})," This tool is for educational and illustrative purposes only. It is not a policy proposal. All estimates are based on publicly available data and are intended to show the approximate scale of costs and revenue — nothing more. The tool is non-partisan and presents arithmetic, not advocacy."]})]})})})]})},QD=()=>{const[e,t]=w.useState(!1);return b.jsxs("div",{className:"w-full max-w-4xl mx-auto border-t border-border pt-6",children:[b.jsxs("button",{onClick:()=>t(!e),className:"flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors font-heading text-sm",children:[b.jsx(tt.span,{animate:{rotate:e?180:0},transition:{duration:.2},children:b.jsx(Tf,{className:"w-4 h-4"})}),"About The Balance"]}),b.jsx(_l,{children:e&&b.jsx(tt.div,{initial:{height:0,opacity:0}
231,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:b.jsxs("div",{className:"pt-6 pb-4 space-y-6 max-w-3xl",children:[b.jsxs("div",{className:"space-y-3",children:[b.jsx("h3",{className:"font-heading font-semibold text-base text-foreground",children:"Why This Exists"}),b.jsxs("p",{className:"text-sm text-muted-foreground font-body leading-relaxed",children:[b.jsx("strong",{className:"text-foreground",children:"The Balance"})," started as a simple idea: what if we could look at the federal budget the way we look at a math problem — not a political one? No shouting, no sides, just arithmetic. Move a slider, watch the numbers change, and draw your own conclusions."]}),b.jsx("p",{className:"text-sm text-muted-foreground font-body leading-relaxed",children:`This tool was built entirely through "vibe coding" — a single person with an idea, working with AI to bring it to life. No dev team, no months of development. Just curiosity, creativity, and modern tools. It's a glimpse of what's now possible: anyone with a clear idea can build interactive tools that connect simple toggle switches to complex datasets and make hard problems easier to see.`})]}),b.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[b.jsx(Qs,{icon:rP,title:"Strictly Non-Partisan",description:"This tool doesn't advocate for any tax rate, party, or policy. It presents publicly available IRS and federal agency data as arithmetic — nothing more. You decide what the numbers mean to you."}),b.jsx(Qs,{icon:K0,title:"Built for Classrooms",description:"Social studies teachers, civic educators, and workshop facilitators — this is for you. Let students explore trade-offs, understand scale, and engage with fiscal policy as a math exercise."}),b.jsx(Qs,{icon:eP,title:"A Creative Experiment",description:"Switch to Custom Allocation mode and decide how you'd distribute revenue across national challenges. It's a thought experiment — not a policy proposal. What would you prioritize?"}),b.jsx(Qs,{icon:lP,title:"Imagine the Possibilities",description:"This same approach — interactive sliders connected to real data — could be applied to state budgets, school districts, corporate planning, or any system where trade-offs matter."})]}),b.jsxs("div",{className:"space-y-2",children:[b.jsx("h4",{className:"font-heading font-semibold text-sm text-foreground",children:"How It Works"}),b.jsxs("ul",{className:"text-sm text-muted-foreground font-body leading-relaxed space-y-1 list-disc list-inside",children:[b.jsx("li",{children:"The slider sets a flat tax rate (0–30%) on the declared income of the top 1% of U.S. earners (~$4.4 trillion AGI)."}),b.jsx("li",{children:"Each 1% generates roughly $44 billion in annual revenue."}),b.jsx("li",{children:"Revenue is applied to 10 real national challenges with estimated costs from federal agencies."}),b.jsx("li",{children:"In Priority mode, problems are funded top-to-bottom. In Custom mode, you allocate freely."})]})]}),b.jsxs("div",{className:"rounded-lg border border-border bg-secondary/30 p-4",children:[b.jsxs("p",{className:"text-sm text-muted-foreground font-body leading-relaxed",children:[b.jsx("strong",{className:"text-foreground",children:"The Balance"})," was created by Lee Chazen as a demonstration of how algorithmic thinking and modern tools can make complex systems more transparent. If you're an educator, startup, or organization interested in building tools like this — or in bringing clearer thinking to hard problems — feel free to reach out."]}),b.jsxs("a",{href:"https://leechazen.com/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 mt-3 text-sm font-heading font-medium text-primary hover:text-primary/80 transition-colors",children:["leechazen.com",b.jsx(XT,{className:"w-3.5 h-3.5"})]})]}),b.jsx("p",{className:"text-xs text-muted-foreground font-body leading-relaxed italic",children:"All figures are estimates based on publicly available data from the IRS, Census Bureau, CBO, EPA, HUD, FCC, SAMHSA, N
231IEER, and ASCE. Actual outcomes depend on behavioral responses, economic conditions, and policy design. This is arithmetic, not advocacy. The Balance takes no political position and is offered for educational and creative purposes only."})]})})})]})},Qs=({icon:e,title:t,description:n})=>b.jsxs("div",{className:"rounded-lg border border-border bg-secondary/30 p-4 space-y-2",children:[b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(e,{className:"w-4 h-4 text-primary"}),b.jsx("h4",{className:"font-heading font-semibold text-sm text-foreground",children:t})]}),b.jsx("p",{className:"text-xs text-muted-foreground font-body leading-relaxed",children:n})]}),Rg=[{label:"Canonical URL",url:"",status:"pending",detail:""},{label:"robots.txt",url:"/robots.txt",status:"pending",detail:"",validate:e=>/user-agent:\s*\*/i.test(e)?/sitemap:\s*https?:\/\//i.test(e)?null:"Missing 'Sitemap:' reference":"Missing 'User-agent: *' directive"},{label:"sitemap.xml",url:"/sitemap.xml",status:"pending",detail:"",validate:e=>/<urlset[\s>]/i.test(e)?/<loc>\s*https?:\/\//i.test(e)?null:"No <loc> URLs found":"Not a valid sitemap (missing <urlset>)"}],YD=()=>{const[e,t]=w.useState(!1),[n,r]=w.useState(Rg);w.useEffect(()=>{let l=!1;return(async()=>{const c=document.querySelector('link[rel="canonical"]'),d=(c==null?void 0:c.href)??"",h=[...Rg];h[0]={...h[0],url:d||"(none)",status:d?"ok":"error",detail:d?`Found in <head>: ${d}`:"No <link rel='canonical'> tag found"},await Promise.all([1,2].map(async f=>{var g;const v=h[f];try{const x=await fetch(v.url,{cache:"no-store"}),p=await x.text();if(!x.ok){h[f]={...v,status:"error",detail:`HTTP ${x.status} ${x.statusText}`};return}const m=((g=v.validate)==null?void 0:g.call(v,p,x))??null;if(m){h[f]={...v,status:"error",detail:m};return}const y=(p.length/1024).toFixed(1);h[f]={...v,status:"ok",detail:`HTTP ${x.status} · ${y} KB`}}catch(x){h[f]={...v,status:"error",detail:x instanceof Error?x.message:"Network error"}}})),l||r(h)})(),()=>{l=!0}},[]);const o=n.filter(l=>l.status==="error").length,s=n.filter(l=>l.status==="pending").length>0?"pending":o>0?"error":"ok",a=({s:l})=>l==="pending"?b.jsx(nP,{className:"w-4 h-4 animate-spin text-muted-foreground"}):l==="ok"?b.jsx(GT,{className:"w-4 h-4 text-green-500"}):b.jsx(QT,{className:"w-4 h-4 text-destructive"});return b.jsxs("section",{"aria-label":"SEO status",className:"rounded-xl border border-border bg-card/60 backdrop-blur-sm overflow-hidden",children:[b.jsxs("button",{onClick:()=>t(l=>!l),className:"w-full flex items-center justify-between px-4 py-3 text-left hover:bg-secondary/40 transition-colors","aria-expanded":e,children:[b.jsxs("div",{className:"flex items-center gap-3",children:[b.jsx(oP,{className:"w-4 h-4 text-muted-foreground"}),b.jsx("span",{className:"font-heading font-semibold text-sm text-foreground",children:"SEO Status"}),b.jsxs("span",{className:"flex items-center gap-1.5 text-xs font-body text-muted-foreground",children:[b.jsx(a,{s}),s==="pending"?"Checking…":s==="ok"?"All checks passing":`${o} issue${o===1?"":"s"} found`]})]}),e?b.jsx(KT,{className:"w-4 h-4 text-muted-foreground"}):b.jsx(Tf,{className:"w-4 h-4 text-muted-foreground"})]}),e&&b.jsx("ul",{className:"divide-y divide-border border-t border-border",children:n.map(l=>b.jsxs("li",{className:"px-4 py-3 flex items-start gap-3",children:[b.jsx("div",{className:"pt-0.5",children:b.jsx(a,{s:l.status})}),b.jsxs("div",{className:"flex-1 min-w-0",children:[b.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[b.jsx("span",{className:"font-body font-medium text-sm text-foreground",children:l.label}),b.jsx("span",{className:"text-[11px] font-mono text-muted-foreground truncate",children:l.url})]}),b.jsx("p",{className:`text-xs font-body mt-0.5 ${l.status==="error"?"text-destructive":"text-muted-foreground"}`,children:l.status==="pending"?"Running check…":l.detail})]})]},l.label))})]})},XD="https://fiscal-balance-game.lovable.app",Ag=[{threshold:0,variant:{image:"/og-image-low.jpg",title:"The Balance — What if the top 1% paid more?",description:"Move the slider. See what gets solved. A non-partisan civic education tool exploring tax policy on the top 1%."}}
231,{threshold:5,variant:{image:"/og-image-mid.jpg",title:"The Balance — At a moderate rate, half of America's biggest problems get funded",description:"What could the US fund if the top 1% paid a moderate rate of income tax? Explore the math."}},{threshold:20,variant:{image:"/og-image-high.jpg",title:"The Balance — At a high rate, every major problem on the board gets fully funded",description:"See how a higher tax rate on the top 1% could fund every major national priority — non-partisan, just arithmetic."}}],qD=e=>{let t=Ag[0].variant;for(const{threshold:n,variant:r}of Ag)e>=n&&(t=r);return t},mr=(e,t,n)=>{const r=document.querySelector(e);r&&r.setAttribute(t,n)},ZD=e=>{w.useEffect(()=>{const t=qD(e),n=`${XD}${t.image}`;mr('meta[property="og:image"]',"content",n),mr('meta[property="og:title"]',"content",t.title),mr('meta[property="og:description"]',"content",t.description),mr('meta[name="twitter:image"]',"content",n),mr('meta[name="twitter:title"]',"content",t.title),mr('meta[name="twitter:description"]',"content",t.description),mr('meta[name="description"]',"content",t.description),document.title=t.title},[e])},JD=e=>po.reduce((t,n)=>Math.abs(n-e)<Math.abs(t-e)?n:t,po[0]),Mg=()=>{if(typeof window>"u")return 0;const e=new URLSearchParams(window.location.search).get("rate");if(e===null)return 0;const t=Number(e);return Number.isFinite(t)?JD(Math.max(0,Math.min(30,t))):0},eL=e=>{if(typeof window>"u")return null;const t=new URLSearchParams(window.location.search).get("solved");if(t===null)return null;const n=Number(t);return Number.isFinite(n)?Math.round(Math.max(0,Math.min(e,n))):null},tL=()=>{const[e,t]=w.useState(Mg),[n,r]=w.useState(!1),[o,i]=w.useState({}),[s,a]=w.useState(()=>eL(Xr.length)),[l,u]=w.useState(()=>typeof window>"u"||new URLSearchParams(window.location.search).get("rate")===null?null:Mg()),c=e*BD;ZD(e),w.useEffect(()=>{const p=new URL(window.location.href);e===0?p.searchParams.delete("rate"):p.searchParams.set("rate",String(e));const m=p.pathname+(p.search?p.search:"")+p.hash;window.history.replaceState(null,"",m)},[e]);const d=w.useMemo(()=>{let p=c;return Xr.map(m=>{const y=Math.min(p,m.costBillions);return p=Math.max(0,p-m.costBillions),{id:m.id,funded:y}})},[c]),h=w.useMemo(()=>n?Xr.filter(p=>(o[p.id]??0)>=p.costBillions).length:d.filter((p,m)=>p.funded>=Xr[m].costBillions).length,[n,o,d]),f=Object.values(o).reduce((p,m)=>p+m,0),v=f>c,g=(p,m)=>{i(y=>({...y,[p]:m}))},x=()=>{a(h),u(e);const p=new URLSearchParams({rate:String(e),solved:String(h)}),m=`${window.location.origin}?${p.toString()}`;navigator.clipboard.writeText(m)};return b.jsxs("div",{className:"min-h-screen bg-background",children:[b.jsx("header",{className:"sticky top-0 z-50 backdrop-blur-xl bg-background/80 border-b border-border",children:b.jsxs("div",{className:"max-w-6xl mx-auto px-4 py-3 flex items-center justify-between",children:[b.jsxs("div",{children:[b.jsx("p",{className:"font-heading font-bold text-lg text-foreground",children:"The Balance"}),b.jsx("p",{className:"text-xs text-muted-foreground font-body hidden sm:block",children:"What if the top 1% paid X% of their income?"})]}),b.jsxs("div",{className:"flex items-center gap-4",children:[b.jsx(HD,{solved:h,total:Xr.length,target:s}),b.jsx("button",{onClick:x,className:"p-2 rounded-lg text-muted-foreground hover:text-foreground hover:bg-secondary transition-colors",title:"Copy shareable link",children:b.jsx(iP,{className:"w-4 h-4"})})]})]})}),b.jsxs("main",{className:"max-w-6xl mx-auto px-4 py-8 space-y-10",children:[b.jsxs("div",{className:"relative -mx-4 -mt-8 mb-6 overflow-hidden rounded-b-2xl",children:[b.jsx("img",{src:_D,alt:"Town hall audience viewing The Balance dashboard",width:1920,height:1080,className:"w-full h-[280px] md:h-[400px] object-cover"}),b.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/60 to-background/30"}),b.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-center px-4",children:[b.jsx(tt.h1,{className:"text-3xl md:text-5xl font-heading font-bold text-white drop-shadow-lg",initial:{opacity:0,y:30}
231,animate:{opacity:1,y:0},children:"The Balance — What if the top 1% paid X% in taxes?"}),b.jsx(tt.p,{className:"text-white/80 font-body max-w-xl mx-auto mt-2 drop-shadow-md text-sm md:text-base",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.15},children:"What if the top 1% paid X% of their declared income? Move the slider. Watch what gets solved."})]})]}),b.jsx($D,{value:e,onChange:t,sharedRate:l}),b.jsx(UD,{value:c}),b.jsx(_l,{children:e>0&&b.jsx(KD,{surchargePercent:e})}),b.jsxs("div",{className:"flex items-center justify-center gap-3",children:[b.jsx("button",{onClick:()=>r(!1),className:`px-4 py-2 rounded-lg text-sm font-body font-medium transition-colors ${n?"bg-secondary text-muted-foreground hover:text-foreground":"bg-primary text-primary-foreground"}`,children:"Priority Order"}),b.jsx("button",{onClick:()=>r(!0),className:`px-4 py-2 rounded-lg text-sm font-body font-medium transition-colors ${n?"bg-primary text-primary-foreground":"bg-secondary text-muted-foreground hover:text-foreground"}`,children:"Custom Allocation"})]}),n&&b.jsx("div",{className:"text-center text-xs font-body",children:b.jsxs("span",{className:v?"text-destructive":"text-muted-foreground",children:["Allocated: $",Math.round(f),"B / $",c,"B available",v&&" — Over budget!"]})}),b.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:Xr.map((p,m)=>{const y=d.find(S=>S.id===p.id);return b.jsx(WD,{problem:p,funded:(y==null?void 0:y.funded)??0,index:m,customMode:n,customAllocation:o[p.id]??0,onCustomChange:S=>g(p.id,S),totalRevenue:c},p.id)})}),b.jsx(QD,{}),b.jsx(GD,{}),b.jsx(YD,{}),b.jsx("footer",{className:"text-center text-xs text-muted-foreground font-body pb-8 pt-4",children:b.jsx("p",{children:"No ideology. No editorializing. Just arithmetic."})})]})]})},nL=()=>{const e=m0();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),b.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:b.jsxs("div",{className:"text-center",children:[b.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),b.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),b.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},rL=new CC,oL=()=>b.jsx(TC,{client:rL,children:b.jsxs(V2,{children:[b.jsx(KP,{}),b.jsx($E,{}),b.jsx(cE,{children:b.jsxs(aE,{children:[b.jsx(Fc,{path:"/",element:b.jsx(tL,{})}),b.jsx(Fc,{path:"*",element:b.jsx(nL,{})})]})})]})});Jv(document.getElementById("root")).render(b.jsx(oL,{}));

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.