PageSourceSearch

https://yandexkit-timj.lovable.app/assets/index-D5fZxsvz.js

js yandexkit-timj.lovable.app collected 2026-10-03 03:46:27 UTC 530,896 bytes, 333 lines download raw bytes

vendor: 4,137 bytes, lines 1-9
1var Vh=e=>{throw TypeError(e)};var Jl=(e,t,n)=>t.has(e)||Vh("Cannot "+n);var N=(e,t,n)=>(Jl(e,t,"read from private field"),n?n.call(e):t.get(e)),te=(e,t,n)=>t.has(e)?Vh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(Jl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ie=(e,t,n)=>(Jl(e,t,"access private method"),n);var jo=(e,t,n,r)=>({set _(s){K(e,t,s,n)},get _(){return N(e,t,r)}});function k2(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function ay(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ly={exports:{}},hl={},cy={exports:{}},Z={};/**
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 uo=Symbol.for("react.element"),P2=Symbol.for("react.portal"),N2=Symbol.for("react.fragment"),j2=Symbol.for("react.strict_mode"),R2=Symbol.for("react.profiler"),A2=Symbol.for("react.provider"),M2=Symbol.for("react.context"),O2=Symbol.for("react.forward_ref"),D2=Symbol.for("react.suspense"),L2=Symbol.for("react.memo"),I2=Symbol.for("react.lazy"),_h=Symbol.iterator;function V2(e){return e===null||typeof e!="object"?null:(e=_h&&e[_h]||e["@@iterator"],typeof e=="function"?e:null)}var uy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},dy=Object.assign,fy={};function Hs(e,t,n){this.props=e,this.context=t,this.refs=fy,this.updater=n||uy}Hs.prototype.isReactComponent={};Hs.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")};Hs.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hy(){}hy.prototype=Hs.prototype;function Md(e,t,n){this.props=e,this.context=t,this.refs=fy,this.updater=n||uy}var Od=Md.prototype=new hy;Od.constructor=Md;dy(Od,Hs.prototype);Od.isPureReactComponent=!0;var Fh=Array.isArray,py=Object.prototype.hasOwnProperty,Dd={current:null},my={key:!0,ref:!0,__self:!0,__source:!0};function gy(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)py.call(t,r)&&!my.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];s.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:uo,type:e,key:i,ref:o,props:s,_owner:Dd.current}}function _2(e,t){return{$$typeof:uo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ld(e){return typeof e=="object"&&e!==null&&e.$$typeof===uo}function F2(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var zh=/\/+/g;function ec(e,t){return typeof e=="object"&&e!==null&&e.key!=null?F2(""+e.key):t.toString(36)}
vendor: 4,749 bytes, lines 9-17
9function sa(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case uo:case P2:o=!0}}if(o)return o=e,s=s(o),e=r===""?"."+ec(o,0):r,Fh(s)?(n="",e!=null&&(n=e.replace(zh,"$&/")+"/"),sa(s,t,n,"",function(c){return c})):s!=null&&(Ld(s)&&(s=_2(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(zh,"$&/")+"/")+e)),t.push(s)),1;if(o=0,r=r===""?".":r+":",Fh(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+ec(i,a);o+=sa(i,t,n,l,s)}else if(l=V2(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+ec(i,a++),o+=sa(i,t,n,l,s);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 o}function Ro(e,t,n){if(e==null)return e;var r=[],s=0;return sa(e,r,"","",function(i){return t.call(n,i,s++)}),r}function z2(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 Qe={current:null},ia={transition:null},$2={ReactCurrentDispatcher:Qe,ReactCurrentBatchConfig:ia,ReactCurrentOwner:Dd};function yy(){throw Error("act(...) is not supported in production builds of React.")}Z.Children={map:Ro,forEach:function(e,t,n){Ro(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ro(e,function(){t++}),t},toArray:function(e){return Ro(e,function(t){return t})||[]},only:function(e){if(!Ld(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Component=Hs;Z.Fragment=N2;Z.Profiler=R2;Z.PureComponent=Md;Z.StrictMode=j2;Z.Suspense=D2;Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$2;Z.act=yy;Z.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=dy({},e.props),s=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=Dd.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)py.call(t,l)&&!my.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 c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:uo,type:e.type,key:s,ref:i,props:r,_owner:o}};Z.createContext=function(e){return e={$$typeof:M2,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:A2,_context:e},e.Consumer=e};Z.createElement=gy;Z.createFactory=function(e){var t=gy.bind(null,e);return t.type=e,t};Z.createRef=function(){return{current:null}};Z.forwardRef=function(e){return{$$typeof:O2,render:e}};Z.isValidElement=Ld;Z.lazy=function(e){return{$$typeof:I2,_payload:{_status:-1,_result:e},_init:z2}};Z.memo=function(e,t){return{$$typeof:L2,type:e,compare:t===void 0?null:t}};Z.startTransition=function(e){var t=ia.transition;ia.transition={};try{e()}finally{ia.transition=t}};Z.unstable_act=yy;Z.useCallback=function(e,t){return Qe.current.useCallback(e,t)};Z.useContext=function(e){return Qe.current.useContext(e)};Z.useDebugValue=function(){};Z.useDeferredValue=function(e){return Qe.current.useDeferredValue(e)};Z.useEffect=function(e,t){return Qe.current.useEffect(e,t)};Z.useId=function(){return Qe.current.useId()};Z.useImperativeHandle=function(e,t,n){return Qe.current.useImperativeHandle(e,t,n)};Z.useInsertionEffect=function(e,t){return Qe.current.useInsertionEffect(e,t)};Z.useLayoutEffect=function(e,t){return Qe.current.useLayoutEffect(e,t)};Z.useMemo=function(e,t){return Qe.current.useMemo(e,t)};Z.useReducer=function(e,t,n){return Qe.current.useReducer(e,t,n)};Z.useRef=function(e){return Qe.current.useRef(e)};Z.useState=function(e){return Qe.current.useState(e)};Z.useSyncExternalStore=function(e,t,n){return Qe.current.useSyncExternalStore(e,t,n)};Z.useTransition=function(){return Qe.current.useTransition()};Z.version="18.3.1";cy.exports=Z;var x=cy.exports;const M=ay(x),Id=k2({__proto__:null,default:M},[x]);/**
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 B2=x,U2=Symbol.for("react.element"),W2=Symbol.for("react.fragment"),H2=Object.prototype.hasOwnProperty,K2=B2.__SECRET_INT
vendor: 11,405 bytes, lines 17-34
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,G2={key:!0,ref:!0,__self:!0,__source:!0};function vy(e,t,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)H2.call(t,r)&&!G2.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:U2,type:e,key:i,ref:o,props:s,_owner:K2.current}}hl.Fragment=W2;hl.jsx=vy;hl.jsxs=vy;ly.exports=hl;var d=ly.exports,xy={exports:{}},ut={},wy={exports:{}},by={};/**
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(P,j){var L=P.length;P.push(j);e:for(;0<L;){var W=L-1>>>1,$=P[W];if(0<s($,j))P[W]=j,P[L]=$,L=W;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var j=P[0],L=P.pop();if(L!==j){P[0]=L;e:for(var W=0,$=P.length,X=$>>>1;W<X;){var J=2*(W+1)-1,be=P[J],Le=J+1,ne=P[Le];if(0>s(be,L))Le<$&&0>s(ne,be)?(P[W]=ne,P[Le]=L,W=Le):(P[W]=be,P[J]=L,W=J);else if(Le<$&&0>s(ne,L))P[W]=ne,P[Le]=L,W=Le;else break e}}return j}function s(P,j){var L=P.sortIndex-j.sortIndex;return L!==0?L:P.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],c=[],u=1,f=null,h=3,p=!1,w=!1,y=!1,b=typeof setTimeout=="function"?setTimeout:null,g=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 v(P){for(var j=n(c);j!==null;){if(j.callback===null)r(c);else if(j.startTime<=P)r(c),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(c)}}function S(P){if(y=!1,v(P),!w)if(n(l)!==null)w=!0,B(C);else{var j=n(c);j!==null&&F(S,j.startTime-P)}}function C(P,j){w=!1,y&&(y=!1,g(k),k=-1),p=!0;var L=h;try{for(v(j),f=n(l);f!==null&&(!(f.expirationTime>j)||P&&!z());){var W=f.callback;if(typeof W=="function"){f.callback=null,h=f.priorityLevel;var $=W(f.expirationTime<=j);j=e.unstable_now(),typeof $=="function"?f.callback=$:f===n(l)&&r(l),v(j)}else r(l);f=n(l)}if(f!==null)var X=!0;else{var J=n(c);J!==null&&F(S,J.startTime-j),X=!1}return X}finally{f=null,h=L,p=!1}}var E=!1,T=null,k=-1,R=5,A=-1;function z(){return!(e.unstable_now()-A<R)}function I(){if(T!==null){var P=e.unstable_now();A=P;var j=!0;try{j=T(!0,P)}finally{j?G():(E=!1,T=null)}}else E=!1}var G;if(typeof m=="function")G=function(){m(I)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,Q=D.port2;D.port1.onmessage=I,G=function(){Q.postMessage(null)}}else G=function(){b(I,0)};function B(P){T=P,E||(E=!0,G())}function F(P,j){k=b(function(){P(e.unstable_now())},j)}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(P){P.callback=null},e.unstable_continueExecution=function(){w||p||(w=!0,B(C))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(P){switch(h){case 1:case 2:case 3:var j=3;break;default:j=h}var L=h;h=j;try{return P()}finally{h=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,j){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var L=h;h=P;try{return j()}finally{h=L}},e.unstable_scheduleCallback=function(P,j,L){var W=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?W+L:W):L=W,P){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=L+$,P={id:u++,callback:j,priorityLevel:P,startTime:L,expirationTime:$,sortIndex:-1},L>W?(P.sortIndex=L,t(c,P),n(l)===null&&P===n(c)&&(y?(g(k),k=-1):y=!0,F(S,L-W))):(P.sortIndex=$,t(l,P),w||p||(w=!0,B(C))),P},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(P){var j=h;return function(){var L=h;h=j;try{return P.apply(this,arguments)}finally{h=L}}}})(by);wy.exports=by;var Y2=wy.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 Q2=x,lt=Y2;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Sy=new Set,Di={};function $r(e,t){Ds(e,t),Ds(e+"Capture",t)}function Ds(e,t){for(Di[e]=t,e=0;e<t.length;e++)Sy.add(t[e])}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jc=Object.prototype.hasOwnProperty,q2=/^[: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]*$/,$h={},Bh={};function X2(e){return Jc.call(Bh,e)?!0:Jc.call($h,e)?!1:q2.test(e)?Bh[e]=!0:($h[e]=!0,!1)}function Z2(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 J2(e,t,n,r){if(t===null||typeof t>"u"||Z2(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function qe(e,t,n,r,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new qe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){De[e]=new qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vd=/[\-:]([a-z])/g;function _d(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Vd,_d);De[t]=new qe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Vd,_d);De[t]=new qe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Vd,_d);De[t]=new qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new qe(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Fd(e,t,n,r){var s=De.hasOwnProperty(t)?De[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(J2(t,n,s,r)&&(n=null),r||s===null?X2(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var bn=Q2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ao=Symbol.for("react.element"),es=Symbol.for("react.portal"),ts=Symbol.for("react.fragment"),zd=Symbol.for("react.strict_mode"),eu=Symbol.for("react.profiler"),Cy=Symbol.for("react.provider"),Ey=Symbol.for("react.context"),$d=Symbol.for("react.forward_ref"),tu=Symbol.for("react.suspense"),nu=Symbol.for("react.suspense_list"),Bd=Symbol.for("react.memo"),Dn=Symbol.for("react.lazy"),Ty=Symbol.for("react.offscreen"),Uh=Symbol.iterator;function si(e){return e===null||typeof e!="object"?null:(e=Uh&&e[Uh]||e["@@iterator"],typeof e=="function"?e:null)}var ge=Object.assign,tc;function mi(e){if(tc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);tc=t&&t[1]||""}return`
34`+tc+e}var nc=!1;function rc(e,t){if(!e||nc)return"";nc=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}
vendor: 3,667 bytes, lines 34-37
34catch(c){if(c&&r&&typeof c.stack=="string"){for(var s=c.stack.split(`
35`),i=r.stack.split(`
36`),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var l=`
37`+s[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{nc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?mi(e):""}function eb(e){switch(e.tag){case 5:return mi(e.type);case 16:return mi("Lazy");case 13:return mi("Suspense");case 19:return mi("SuspenseList");case 0:case 2:case 15:return e=rc(e.type,!1),e;case 11:return e=rc(e.type.render,!1),e;case 1:return e=rc(e.type,!0),e;default:return""}}function ru(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 ts:return"Fragment";case es:return"Portal";case eu:return"Profiler";case zd:return"StrictMode";case tu:return"Suspense";case nu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ey:return(e.displayName||"Context")+".Consumer";case Cy:return(e._context.displayName||"Context")+".Provider";case $d:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Bd:return t=e.displayName||null,t!==null?t:ru(e.type)||"Memo";case Dn:t=e._payload,e=e._init;try{return ru(e(t))}catch{}}return null}function tb(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 ru(t);case 8:return t===zd?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function nr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ky(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nb(e){var t=ky(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 s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Mo(e){e._valueTracker||(e._valueTracker=nb(e))}function Py(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ky(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Pa(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 su(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Wh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;
vendor: 4,810 bytes, line 37
37n=nr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ny(e,t){t=t.checked,t!=null&&Fd(e,"checked",t,!1)}function iu(e,t){Ny(e,t);var n=nr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ou(e,t.type,n):t.hasOwnProperty("defaultValue")&&ou(e,t.type,nr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Hh(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 ou(e,t,n){(t!=="number"||Pa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var gi=Array.isArray;function ys(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+nr(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function au(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(O(91));return ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Kh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(O(92));if(gi(n)){if(1<n.length)throw Error(O(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:nr(n)}}function jy(e,t){var n=nr(t.value),r=nr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Gh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ry(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 lu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ry(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Oo,Ay=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Oo=Oo||document.createElement("div"),Oo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Oo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Li(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var wi={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},rb=["Webkit","ms","Moz","O"];Object.keys(wi).forEach(function(e){rb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),wi[t]=wi[e]})});function My(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||wi.hasOwnProperty(e)&&wi[e]?(""+t).trim():t+"px"}function Oy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=My(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var sb=ge({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 cu(e,t){if(t){if(sb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function uu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var du=null;function Ud(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fu=null,vs=null,xs=null;function Yh(e){if(e=po(e)){if(typeof fu!="function")throw Error(O(280));var t=e.stateNode;t&&(t=vl(t),fu(e.stateNode,e.type,t))}}function Dy(e){vs?xs?xs.push(e):xs=[e]:vs=e}function Ly(){if(vs){var e=vs,t=xs;if(xs=vs=null,Yh(e),t)for(e=0;e<t.length;e++)Yh(t[e])}}function Iy(e,t){return e(t)}function Vy(){}var sc=!1;function _y(e,t,n){if(sc)return e(t,n);sc=!0;try{return Iy(e,t,n)}finally{sc=!1,(vs!==null||xs!==null)&&(Vy(),Ly())}}function Ii(e,t){var n=e.stateNode;if(n===null)return null;var r=vl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(O(231,t,typeof n));return n}var hu=!1;if(pn)try{var ii={};Object.defineProperty(ii,"passive",{get:function(){hu=!0}}),window.addEventListener("test",ii,ii),window.removeEventListener("test",ii,ii)}catch{hu=!1}function ib(e,t,n,r,s,i,o,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var bi=!1,Na=null,ja=!1,pu=null,ob={onError:function(e){bi=!0,Na=e}};function ab(e,t,n,r,s,i,o,a,l){bi=!1,Na=null,ib.apply(ob,arguments)}function lb(e,t,n,r,s,i,o,a,l){if(ab.apply(this,arguments),bi){if(bi){var c=Na;bi=!1,Na=null}else throw Error(O(198));ja||(ja=!0,pu=c)}}function Br(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 Fy(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Qh(e){if(Br(e)!==e)throw Error(O(188))}function cb(e){var t=e.alternate;if(!t){if(t=Br(e),t===null)throw Error(O(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return Qh(s),e;if(i===r)return Qh(s),t;i=i.sibling}throw Error(O(188))}if(n.return!==r.return)n=s,r=i;else{for(var o=!1,a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o)throw Error(O(189))}}if(n.alternate!==r)throw Error(O(190))}if(n.tag!==3)throw Error(O(188));return n.stateNode.current===n?e:t}function zy(e){return e=cb(e),e!==null?$y(e):null}function $y(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=$y(e);if(t!==null)return t;e=e.sibling}return null}var By=lt.unstable_scheduleCallback,qh=lt.unstable_cancelCallback,ub=lt.unstable_shouldYield,db=lt.unstable_requestPaint,xe=lt.unstable_now,fb=lt.unstable_getCurrentPriorityLevel,Wd=lt.unstable_ImmediatePriority,Uy=lt.unstable_UserBlockingPriority,Ra=lt.unstable_NormalPriority,hb=lt.unstable_LowPriority,Wy=lt.unstable_IdlePriority,pl=null,qt=null;function pb(e){if(qt&&typeof qt.onCommitFiberRoot=="function")try{qt.onCommitFiberRoot(pl,e,void 0,(e.current.flags&128)===128)}catch{}}var It=Math.clz32?Math.clz32:yb,mb=Math.log,gb=Math.LN2;function yb(e){return e>>>=0,e===0?32:31-(mb(e)/gb|0)|0}var Do=64,Lo=4194304;function yi(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 Aa(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~s;a!==0?r=yi(a):(i&=o,i!==0&&(r=yi(i)))}else o=n&~s,o!==0?r=yi(o):i!==0&&(r=yi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===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-It(t),s=1<<n,r|=e[n],t&=~s;return r}function vb(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 xb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-It(i),a=1<<o,l=s[o];l===-1?(!(a&n)||a&r)&&(s[o]=vb(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function mu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Hy(){var e=Do;return Do<<=1,!(Do&4194240)&&(Do=64),e}function ic(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function fo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-It(t),e[t]=n}function wb(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 s=31-It(n),i=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~i}}function Hd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-It(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var re=0;function Ky(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Gy,Kd,Yy,Qy,qy,gu=!1,Io=[],Gn=null,Yn=null,Qn=null,Vi=new Map,_i=new Map,In=[],bb="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 Xh(e,t){switch(e){case"focusin":case"focusout":Gn=null;break;case"dragenter":case"dragleave":Yn=null;break;case"mouseover":case"mouseout":Qn=null;break;case"pointerover":case"pointerout":Vi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_i.delete(t.pointerId)}}function oi(e,t,n,r,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},t!==null&&(t=po(t),t!==null&&Kd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}
vendor: 10,431 bytes, line 37
37function Sb(e,t,n,r,s){switch(t){case"focusin":return Gn=oi(Gn,e,t,n,r,s),!0;case"dragenter":return Yn=oi(Yn,e,t,n,r,s),!0;case"mouseover":return Qn=oi(Qn,e,t,n,r,s),!0;case"pointerover":var i=s.pointerId;return Vi.set(i,oi(Vi.get(i)||null,e,t,n,r,s)),!0;case"gotpointercapture":return i=s.pointerId,_i.set(i,oi(_i.get(i)||null,e,t,n,r,s)),!0}return!1}function Xy(e){var t=br(e.target);if(t!==null){var n=Br(t);if(n!==null){if(t=n.tag,t===13){if(t=Fy(n),t!==null){e.blockedOn=t,qy(e.priority,function(){Yy(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function oa(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=yu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);du=r,n.target.dispatchEvent(r),du=null}else return t=po(n),t!==null&&Kd(t),e.blockedOn=n,!1;t.shift()}return!0}function Zh(e,t,n){oa(e)&&n.delete(t)}function Cb(){gu=!1,Gn!==null&&oa(Gn)&&(Gn=null),Yn!==null&&oa(Yn)&&(Yn=null),Qn!==null&&oa(Qn)&&(Qn=null),Vi.forEach(Zh),_i.forEach(Zh)}function ai(e,t){e.blockedOn===t&&(e.blockedOn=null,gu||(gu=!0,lt.unstable_scheduleCallback(lt.unstable_NormalPriority,Cb)))}function Fi(e){function t(s){return ai(s,e)}if(0<Io.length){ai(Io[0],e);for(var n=1;n<Io.length;n++){var r=Io[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Gn!==null&&ai(Gn,e),Yn!==null&&ai(Yn,e),Qn!==null&&ai(Qn,e),Vi.forEach(t),_i.forEach(t),n=0;n<In.length;n++)r=In[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<In.length&&(n=In[0],n.blockedOn===null);)Xy(n),n.blockedOn===null&&In.shift()}var ws=bn.ReactCurrentBatchConfig,Ma=!0;function Eb(e,t,n,r){var s=re,i=ws.transition;ws.transition=null;try{re=1,Gd(e,t,n,r)}finally{re=s,ws.transition=i}}function Tb(e,t,n,r){var s=re,i=ws.transition;ws.transition=null;try{re=4,Gd(e,t,n,r)}finally{re=s,ws.transition=i}}function Gd(e,t,n,r){if(Ma){var s=yu(e,t,n,r);if(s===null)mc(e,t,r,Oa,n),Xh(e,r);else if(Sb(s,e,t,n,r))r.stopPropagation();else if(Xh(e,r),t&4&&-1<bb.indexOf(e)){for(;s!==null;){var i=po(s);if(i!==null&&Gy(i),i=yu(e,t,n,r),i===null&&mc(e,t,r,Oa,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else mc(e,t,r,null,n)}}var Oa=null;function yu(e,t,n,r){if(Oa=null,e=Ud(r),e=br(e),e!==null)if(t=Br(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Fy(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 Oa=e,null}function Zy(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(fb()){case Wd:return 1;case Uy:return 4;case Ra:case hb:return 16;case Wy:return 536870912;default:return 16}default:return 16}}var Un=null,Yd=null,aa=null;function Jy(){if(aa)return aa;var e,t=Yd,n=t.length,r,s="value"in Un?Un.value:Un.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===s[i-r];r++);return aa=s.slice(e,1<r?1-r:void 0)}function la(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 Vo(){return!0}function Jh(){return!1}function dt(e){function t(n,r,s,i,o){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=o,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)?Vo:Jh,this.isPropagationStopped=Jh,this}return ge(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=Vo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Vo)},persist:function(){},isPersistent:Vo}),t}var Ks={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qd=dt(Ks),ho=ge({},Ks,{view:0,detail:0}),kb=dt(ho),oc,ac,li,ml=ge({},ho,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qd,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!==li&&(li&&e.type==="mousemove"?(oc=e.screenX-li.screenX,ac=e.screenY-li.screenY):ac=oc=0,li=e),oc)},movementY:function(e){return"movementY"in e?e.movementY:ac}}),ep=dt(ml),Pb=ge({},ml,{dataTransfer:0}),Nb=dt(Pb),jb=ge({},ho,{relatedTarget:0}),lc=dt(jb),Rb=ge({},Ks,{animationName:0,elapsedTime:0,pseudoElement:0}),Ab=dt(Rb),Mb=ge({},Ks,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ob=dt(Mb),Db=ge({},Ks,{data:0}),tp=dt(Db),Lb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ib={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"},Vb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _b(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Vb[e])?!!t[e]:!1}function qd(){return _b}var Fb=ge({},ho,{key:function(e){if(e.key){var t=Lb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=la(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ib[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qd,charCode:function(e){return e.type==="keypress"?la(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?la(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),zb=dt(Fb),$b=ge({},ml,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),np=dt($b),Bb=ge({},ho,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qd}),Ub=dt(Bb),Wb=ge({},Ks,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hb=dt(Wb),Kb=ge({},ml,{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}),Gb=dt(Kb),Yb=[9,13,27,32],Xd=pn&&"CompositionEvent"in window,Si=null;pn&&"documentMode"in document&&(Si=document.documentMode);var Qb=pn&&"TextEvent"in window&&!Si,e0=pn&&(!Xd||Si&&8<Si&&11>=Si),rp=" ",sp=!1;function t0(e,t){switch(e){case"keyup":return Yb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function n0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ns=!1;function qb(e,t){switch(e){case"compositionend":return n0(t);case"keypress":return t.which!==32?null:(sp=!0,rp);case"textInput":return e=t.data,e===rp&&sp?null:e;default:return null}}function Xb(e,t){if(ns)return e==="compositionend"||!Xd&&t0(e,t)?(e=Jy(),aa=Yd=Un=null,ns=!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 e0&&t.locale!=="ko"?null:t.data;default:return null}}var Zb={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 ip(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Zb[e.type]:t==="textarea"}function r0(e,t,n,r){Dy(r),t=Da(t,"onChange"),0<t.length&&(n=new Qd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ci=null,zi=null;function Jb(e){p0(e,0)}function gl(e){var t=is(e);if(Py(t))return e}function eS(e,t){if(e==="change")return t}var s0=!1;if(pn){var cc;if(pn){var uc="oninput"in document;if(!uc){var op=document.createElement("div");op.setAttribute("oninput","return;"),uc=typeof op.oninput=="function"}cc=uc}else cc=!1;s0=cc&&(!document.documentMode||9<document.documentMode)}function ap(){Ci&&(Ci.detachEvent("onpropertychange",i0),zi=Ci=null)}function i0(e){if(e.propertyName==="value"&&gl(zi)){var t=[];r0(t,zi,e,Ud(e)),_y(Jb,t)}}function tS(e,t,n){e==="focusin"?(ap(),Ci=t,zi=n,Ci.attachEvent("onpropertychange",i0)):e==="focusout"&&ap()}function nS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gl(zi)}function rS(e,t){if(e==="click")return gl(t)}function sS(e,t){if(e==="input"||e==="change")return gl(t)}function iS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:iS;function $i(e,t){if(_t(e,t))return!0;
vendor: 4,808 bytes, line 37
37if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!Jc.call(t,s)||!_t(e[s],t[s]))return!1}return!0}function lp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cp(e,t){var n=lp(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=lp(n)}}function o0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?o0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function a0(){for(var e=window,t=Pa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Pa(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 oS(e){var t=a0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&o0(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 s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=cp(n,i);var o=cp(n,r);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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 aS=pn&&"documentMode"in document&&11>=document.documentMode,rs=null,vu=null,Ei=null,xu=!1;function up(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xu||rs==null||rs!==Pa(r)||(r=rs,"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,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ei&&$i(Ei,r)||(Ei=r,r=Da(vu,"onSelect"),0<r.length&&(t=new Qd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=rs)))}function _o(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ss={animationend:_o("Animation","AnimationEnd"),animationiteration:_o("Animation","AnimationIteration"),animationstart:_o("Animation","AnimationStart"),transitionend:_o("Transition","TransitionEnd")},dc={},l0={};pn&&(l0=document.createElement("div").style,"AnimationEvent"in window||(delete ss.animationend.animation,delete ss.animationiteration.animation,delete ss.animationstart.animation),"TransitionEvent"in window||delete ss.transitionend.transition);function yl(e){if(dc[e])return dc[e];if(!ss[e])return e;var t=ss[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in l0)return dc[e]=t[n];return e}var c0=yl("animationend"),u0=yl("animationiteration"),d0=yl("animationstart"),f0=yl("transitionend"),h0=new Map,dp="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 cr(e,t){h0.set(e,t),$r(t,[e])}for(var fc=0;fc<dp.length;fc++){var hc=dp[fc],lS=hc.toLowerCase(),cS=hc[0].toUpperCase()+hc.slice(1);cr(lS,"on"+cS)}cr(c0,"onAnimationEnd");cr(u0,"onAnimationIteration");cr(d0,"onAnimationStart");cr("dblclick","onDoubleClick");cr("focusin","onFocus");cr("focusout","onBlur");cr(f0,"onTransitionEnd");Ds("onMouseEnter",["mouseout","mouseover"]);Ds("onMouseLeave",["mouseout","mouseover"]);Ds("onPointerEnter",["pointerout","pointerover"]);Ds("onPointerLeave",["pointerout","pointerover"]);$r("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 4,227 bytes, line 37
37$r("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));$r("onBeforeInput",["compositionend","keypress","textInput","paste"]);$r("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));$r("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));$r("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vi="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(" "),uS=new Set("cancel close invalid load scroll toggle".split(" ").concat(vi));function fp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,lb(r,t,void 0,e),e.currentTarget=null}function p0(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==i&&s.isPropagationStopped())break e;fp(s,a,c),i=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,c=a.currentTarget,a=a.listener,l!==i&&s.isPropagationStopped())break e;fp(s,a,c),i=l}}}if(ja)throw e=pu,ja=!1,pu=null,e}function le(e,t){var n=t[Eu];n===void 0&&(n=t[Eu]=new Set);var r=e+"__bubble";n.has(r)||(m0(t,e,2,!1),n.add(r))}function pc(e,t,n){var r=0;t&&(r|=4),m0(n,e,r,t)}var Fo="_reactListening"+Math.random().toString(36).slice(2);function Bi(e){if(!e[Fo]){e[Fo]=!0,Sy.forEach(function(n){n!=="selectionchange"&&(uS.has(n)||pc(n,!1,e),pc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Fo]||(t[Fo]=!0,pc("selectionchange",!1,t))}}function m0(e,t,n,r){switch(Zy(t)){case 1:var s=Eb;break;case 4:s=Tb;break;default:s=Gd}n=s.bind(null,t,n,e),s=void 0,!hu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function mc(e,t,n,r,s){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===s||l.nodeType===8&&l.parentNode===s))return;o=o.return}for(;a!==null;){if(o=br(a),o===null)return;if(l=o.tag,l===5||l===6){r=i=o;continue e}a=a.parentNode}}r=r.return}_y(function(){var c=i,u=Ud(n),f=[];e:{var h=h0.get(e);if(h!==void 0){var p=Qd,w=e;switch(e){case"keypress":if(la(n)===0)break e;case"keydown":case"keyup":p=zb;break;case"focusin":w="focus",p=lc;break;case"focusout":w="blur",p=lc;break;case"beforeblur":case"afterblur":p=lc;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":p=ep;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Nb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=Ub;break;case c0:case u0:case d0:p=Ab;break;case f0:p=Hb;break;case"scroll":p=kb;break;case"wheel":p=Gb;break;case"copy":case"cut":case"paste":p=Ob;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=np}var y=(t&4)!==0,b=!y&&e==="scroll",g=y?h!==null?h+"Capture":null:h;y=[];for(var m=c,v;m!==null;){v=m;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,g!==null&&(S=Ii(m,g),S!=null&&y.push(Ui(m,S,v)))),b)break;m=m.return}0<y.length&&(h=new p(h,w,null,n,u),f.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==du&&(w=n.relatedTarget||n.fromElement)&&(br(w)||w[mn]))break e;if((p||h)&&(h=u.window===u?u:(h=u.ownerDocument)?h.defaultView||h.parentWindow:window,p?(w=n.relatedTarget||n.toElement,p=c,w=w?br(w):null,w!==null&&(b=Br(w),w!==b||w.tag!==5&&w.tag!==6)&&(w=null)):(p=null,w=c),p!==w)){if(y=ep,S="onMouseLeave",g="onMouseEnter",m="mou
37se",(e==="pointerout"||e==="pointerover")&&(y=np,S="onPointerLeave",g="onPointerEnter",m="pointer"),b=p==null?h:is(p),v=w==null?h:is(w),h=new y(S,m+"leave",p,n,u),h.target=b,h.relatedTarget=v,S=null,br(u)===c&&(y=new y(g,m+"enter",w,n,u),y.target=v,y.relatedTarget=b,S=y),b=S,p&&w)t:{for(y=p,g=w,m=0,v=y;v;v=Xr(v))m++;for(v=0,S=g;S;S=Xr(S))v++;for(;0<m-v;)y=Xr(y),m--;for(;0<v-m;)g=Xr(g),v--;for(;m--;){if(y===g||g!==null&&y===g.alternate)break t;y=Xr(y),g=Xr(g)}y=null}else y=null;p!==null&&hp(f,h,p,y,!1),w!==null&&b!==null&&hp(f,b,w,y,!0)}}e:{if(h=c?is(c):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var C=eS;else if(ip(h))if(s0)C=sS;else{C=nS;var E=tS}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=rS);if(C&&(C=C(e,c))){r0(f,C,n,u);break e}E&&E(e,h,c),e==="focusout"&&(E=h._wrapperState)&&E.controlled&&h.type==="number"&&ou(h,"number",h.value)}switch(E=c?is(c):window,e){case"focusin":(ip(E)||E.contentEditable==="true")&&(rs=E,vu=c,Ei=null);break;case"focusout":Ei=vu=rs=null;break;case"mousedown":xu=!0;break;case"contextmenu":case"mouseup":case"dragend":xu=!1,up(f,n,u);break;case"selectionchange":if(aS)break;case"keydown":case"keyup":up(f,n,u)}var T;if(Xd)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else ns?t0(e,n)&&(k="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(k="onCompositionStart");k&&(e0&&n.locale!=="ko"&&(ns||k!=="onCompositionStart"?k==="onCompositionEnd"&&ns&&(T=Jy()):(Un=u,Yd="value"in Un?Un.value:Un.textContent,ns=!0)),E=Da(c,k),0<E.length&&(k=new tp(k,e,null,n,u),f.push({event:k,listeners:E}),T?k.data=T:(T=n0(n),T!==null&&(k.data=T)))),(T=Qb?qb(e,n):Xb(e,n))&&(c=Da(c,"onBeforeInput"),0<c.length&&(u=new tp("onBeforeInput","beforeinput",null,n,u),f.push({event:u,listeners:c}),u.data=T))}p0(f,t)})}function Ui(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Da(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=Ii(e,n),i!=null&&r.unshift(Ui(e,i,s)),i=Ii(e,t),i!=null&&r.push(Ui(e,i,s))),e=e.return}return r}function Xr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function hp(e,t,n,r,s){for(var i=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,s?(l=Ii(n,i),l!=null&&o.unshift(Ui(n,l,a))):s||(l=Ii(n,i),l!=null&&o.push(Ui(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var dS=/\r\n?/g,fS=/\u0000|\uFFFD/g;function pp(e){return(typeof e=="string"?e:""+e).replace(dS,`
38`).replace(fS,"")}function zo(e,t,n){if(t=pp(t),pp(e)!==t&&n)throw Error(O(425))}function La(){}var wu=null,bu=null;function Su(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 Cu=typeof setTimeout=="function"?setTimeout:void 0,hS=typeof clearTimeout=="function"?clearTimeout:void 0,mp=typeof Promise=="function"?Promise:void 0,pS=typeof queueMicrotask=="function"?queueMicrotask:typeof mp<"u"?function(e){return mp.resolve(null).then(e).catch(mS)}:Cu;function mS(e){setTimeout(function(){throw e})}function gc(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),Fi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Fi(t)}function qn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function gp(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 Gs=Math.random().toString(36).slice(2),Yt="__reactFiber$"+Gs,Wi="__reactProps$"+Gs,mn="__reactContainer$"+Gs,Eu="__reactEvents$"+Gs,gS="__reactListeners$"+Gs,yS="__reactHandles$"+Gs;function br(e){var t=e[Yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mn]||n[Yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=gp(e);e!==null;){if(n=e[Yt])return n;e=gp(e)}return t}e=n,n=e.parentNode}return null}function po(e){return e=e[Yt]||e[mn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function is(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(O(33))}function vl(e){return e[Wi]||null}var Tu=[],os=-1;function ur(e){return{current:e}}function ce(e){0>os||(e.current=Tu[os],Tu[os]=null,os--)}function ie(e,t){os++,Tu[os]=e.current,e.current=t}var rr={},Be=ur(rr),et=ur(!1),Lr=rr;function Ls(e,t){var n=e.type.contextTypes;if(!n)return rr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function tt(e){return e=e.childContextTypes,e!=null}function Ia(){ce(et),ce(Be)}
vendor: 25,886 bytes, lines 38-40
38function yp(e,t,n){if(Be.current!==rr)throw Error(O(168));ie(Be,t),ie(et,n)}function g0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(O(108,tb(e)||"Unknown",s));return ge({},n,r)}function Va(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rr,Lr=Be.current,ie(Be,e),ie(et,et.current),!0}function vp(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=g0(e,t,Lr),r.__reactInternalMemoizedMergedChildContext=e,ce(et),ce(Be),ie(Be,e)):ce(et),ie(et,n)}var cn=null,xl=!1,yc=!1;function y0(e){cn===null?cn=[e]:cn.push(e)}function vS(e){xl=!0,y0(e)}function dr(){if(!yc&&cn!==null){yc=!0;var e=0,t=re;try{var n=cn;for(re=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}cn=null,xl=!1}catch(s){throw cn!==null&&(cn=cn.slice(e+1)),By(Wd,dr),s}finally{re=t,yc=!1}}return null}var as=[],ls=0,_a=null,Fa=0,pt=[],mt=0,Ir=null,dn=1,fn="";function vr(e,t){as[ls++]=Fa,as[ls++]=_a,_a=e,Fa=t}function v0(e,t,n){pt[mt++]=dn,pt[mt++]=fn,pt[mt++]=Ir,Ir=e;var r=dn;e=fn;var s=32-It(r)-1;r&=~(1<<s),n+=1;var i=32-It(t)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,dn=1<<32-It(t)+s|n<<s|r,fn=i+e}else dn=1<<i|n<<s|r,fn=e}function Jd(e){e.return!==null&&(vr(e,1),v0(e,1,0))}function ef(e){for(;e===_a;)_a=as[--ls],as[ls]=null,Fa=as[--ls],as[ls]=null;for(;e===Ir;)Ir=pt[--mt],pt[mt]=null,fn=pt[--mt],pt[mt]=null,dn=pt[--mt],pt[mt]=null}var ot=null,it=null,de=!1,Lt=null;function x0(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 xp(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ot=e,it=qn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ot=e,it=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ir!==null?{id:dn,overflow:fn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=gt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ot=e,it=null,!0):!1;default:return!1}}function ku(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Pu(e){if(de){var t=it;if(t){var n=t;if(!xp(e,t)){if(ku(e))throw Error(O(418));t=qn(n.nextSibling);var r=ot;t&&xp(e,t)?x0(r,n):(e.flags=e.flags&-4097|2,de=!1,ot=e)}}else{if(ku(e))throw Error(O(418));e.flags=e.flags&-4097|2,de=!1,ot=e}}}function wp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ot=e}function $o(e){if(e!==ot)return!1;if(!de)return wp(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Su(e.type,e.memoizedProps)),t&&(t=it)){if(ku(e))throw w0(),Error(O(418));for(;t;)x0(e,t),t=qn(t.nextSibling)}if(wp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(O(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){it=qn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}it=null}}else it=ot?qn(e.stateNode.nextSibling):null;return!0}function w0(){for(var e=it;e;)e=qn(e.nextSibling)}function Is(){it=ot=null,de=!1}function tf(e){Lt===null?Lt=[e]:Lt.push(e)}var xS=bn.ReactCurrentBatchConfig;function ci(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(O(309));var r=n.stateNode}if(!r)throw Error(O(147,e));var s=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=s.refs;o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(O(284));if(!n._owner)throw Error(O(290,e))}return e}function Bo(e,t){throw e=Object.prototype.toString.call(t),Error(O(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bp(e){var t=e._init;return t(e._payload)}function b0(e){function t(g,m){if(e){var v=g.deletions;v===null?(g.deletions=[m],g.flags|=16):v.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function s(g,m){return g=er(g,m),g.index=0,g.sibling=null,g}function i(g,m,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<m?(g.flags|=2,m):v):(g.flags|=2,m)):(g.flags|=1048576,m)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,m,v,S){return m===null||m.tag!==6?(m=Ec(v,g.mode,S),m.return=g,m):(m=s(m,v),m.return=g,m)}function l(g,m,v,S){var C=v.type;return C===ts?u(g,m,v.props.children,S,v.key):m!==null&&(m.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Dn&&bp(C)===m.type)?(S=s(m,v.props),S.ref=ci(g,m,v),S.return=g,S):(S=ma(v.type,v.key,v.props,null,g.mode,S),S.ref=ci(g,m,v),S.return=g,S)}function c(g,m,v,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=Tc(v,g.mode,S),m.return=g,m):(m=s(m,v.children||[]),m.return=g,m)}function u(g,m,v,S,C){return m===null||m.tag!==7?(m=Or(v,g.mode,S,C),m.return=g,m):(m=s(m,v),m.return=g,m)}function f(g,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Ec(""+m,g.mode,v),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Ao:return v=ma(m.type,m.key,m.props,null,g.mode,v),v.ref=ci(g,null,m),v.return=g,v;case es:return m=Tc(m,g.mode,v),m.return=g,m;case Dn:var S=m._init;return f(g,S(m._payload),v)}if(gi(m)||si(m))return m=Or(m,g.mode,v,null),m.return=g,m;Bo(g,m)}return null}function h(g,m,v,S){var C=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:a(g,m,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Ao:return v.key===C?l(g,m,v,S):null;case es:return v.key===C?c(g,m,v,S):null;case Dn:return C=v._init,h(g,m,C(v._payload),S)}if(gi(v)||si(v))return C!==null?null:u(g,m,v,S,null);Bo(g,v)}return null}function p(g,m,v,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return g=g.get(v)||null,a(m,g,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Ao:return g=g.get(S.key===null?v:S.key)||null,l(m,g,S,C);case es:return g=g.get(S.key===null?v:S.key)||null,c(m,g,S,C);case Dn:var E=S._init;return p(g,m,v,E(S._payload),C)}if(gi(S)||si(S))return g=g.get(v)||null,u(m,g,S,C,null);Bo(m,S)}return null}function w(g,m,v,S){for(var C=null,E=null,T=m,k=m=0,R=null;T!==null&&k<v.length;k++){T.index>k?(R=T,T=null):R=T.sibling;var A=h(g,T,v[k],S);if(A===null){T===null&&(T=R);break}e&&T&&A.alternate===null&&t(g,T),m=i(A,m,k),E===null?C=A:E.sibling=A,E=A,T=R}if(k===v.length)return n(g,T),de&&vr(g,k),C;if(T===null){for(;k<v.length;k++)T=f(g,v[k],S),T!==null&&(m=i(T,m,k),E===null?C=T:E.sibling=T,E=T);return de&&vr(g,k),C}for(T=r(g,T);k<v.length;k++)R=p(T,g,k,v[k],S),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?k:R.key),m=i(R,m,k),E===null?C=R:E.sibling=R,E=R);return e&&T.forEach(function(z){return t(g,z)}),de&&vr(g,k),C}function y(g,m,v,S){var C=si(v);if(typeof C!="function")throw Error(O(150));if(v=C.call(v),v==null)throw Error(O(151));for(var E=C=null,T=m,k=m=0,R=null,A=v.next();T!==null&&!A.done;k++,A=v.next()){T.index>k?(R=T,T=null):R=T.sibling;var z=h(g,T,A.value,S);if(z===null){T===null&&(T=R);break}e&&T&&z.alternate===null&&t(g,T),m=i(z,m,k),E===null?C=z:E.sibling=z,E=z,T=R}if(A.done)return n(g,T),de&&vr(g,k),C;if(T===null){for(;!A.done;k++,A=v.next())A=f(g,A.value,S),A!==null&&(m=i(A,m,k),E===null?C=A:E.sibling=A,E=A);return de&&vr(g,k),C}for(T=r(g,T);!A.done;k++,A=v.next())A=p(T,g,k,A.value,S),A!==null&&(e&&A.alternate!==null&&T.delete(A.key===null?k:A.key),m=i(A,m,k),E===null?C=A:E.sibling=A,E=A);return e&&T.forEach(function(I){return t(g,I)}),de&&vr(g,k),C}function b(g,m,v,S){if(typeof v=="object"&&v!==null&&v.type===ts&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Ao:e:{for(var C=v.key,E=m;E!==null;){if(E.key===C){if(C=v.type,C===ts){if(E.tag===7){n(g,E.sibling),m=s(E,v.props.children),m.return=g,g=m;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Dn&&bp(C)===E.type){n(g,E.sibling),m=s(E,v.props),m.ref=ci(g,E,v),m.return=g,g=m;break e}n(g,E);break}else t(g,E);E=E.sibling}v.type===ts?(m=Or(v.props.children,g.mode,S,v.key),m.return=g,g=m):(S=ma(v.type,v.key,v.props,null,g.mode,S),S.ref=ci(g,m,v),S.return=g,g=S)}return o(g);case es:e:{for(E=v.key;m!==null;){if(m.key===E)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=s(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=Tc(v,g.mode,S),m.return=g,g=m}return o(g);case Dn:return E=v._init,b(g,m,E(v._payload),S)}if(gi(v))return w(g,m,v,S);if(si(v))return y(g,m,v,S);Bo(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=s(m,v),m.return=g,g=m):(n(g,m),m=Ec(v,g.mode,S),m.return=g,g=m),o(g)):n(g,m)}return b}var Vs=b0(!0),S0=b0(!1),za=ur(null),$a=null,cs=null,nf=null;function rf(){nf=cs=$a=null}function sf(e){var t=za.current;ce(za),e._currentValue=t}function Nu(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 bs(e,t){$a=e,nf=cs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Je=!0),e.firstContext=null)}function bt(e){var t=e._currentValue;if(nf!==e)if(e={context:e,memoizedValue:t,next:null},cs===null){if($a===null)throw Error(O(308));cs=e,$a.dependencies={lanes:0,firstContext:e}}else cs=cs.next=e;return t}var Sr=null;function of(e){Sr===null?Sr=[e]:Sr.push(e)}function C0(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,of(t)):(n.next=s.next,s.next=n),t.interleaved=n,gn(e,r)}function gn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ln=!1;function af(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function E0(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 hn(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,ee&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,gn(e,n)}return s=r.interleaved,s===null?(t.next=t,of(r)):(t.next=s.next,s.next=t),r.interleaved=t,gn(e,n)}function ca(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,Hd(e,n)}}function Sp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,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 Ba(e,t,n,r){var s=e.updateQueue;Ln=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var l=a,c=l.next;l.next=null,o===null?i=c:o.next=c,o=l;var u=e.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==o&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(i!==null){var f=s.baseState;o=0,u=c=l=null,a=i;do{var h=a.lane,p=a.eventTime;if((r&h)===h){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,y=a;switch(h=t,p=n,y.tag){case 1:if(w=y.payload,typeof w=="function"){f=w.call(p,f,h);break e}f=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=y.payload,h=typeof w=="function"?w.call(p,f,h):w,h==null)break e;f=ge({},f,h);break e;case 2:Ln=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=s.effects,h===null?s.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=f):u=u.next=p,o|=h;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;h=a,a=h.next,h.next=null,s.lastBaseUpdate=h,s.shared.pending=null}}while(!0);if(u===null&&(l=f),s.baseState=l,s.firstBaseUpdate=c,s.lastBaseUpdate=u,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);_r|=o,e.lanes=o,e.memoizedState=f}}function Cp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(O(191,s));s.call(r)}}}var mo={},Xt=ur(mo),Hi=ur(mo),Ki=ur(mo);function Cr(e){if(e===mo)throw Error(O(174));return e}function lf(e,t){switch(ie(Ki,t),ie(Hi,e),ie(Xt,mo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:lu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=lu(t,e)}ce(Xt),ie(Xt,t)}function _s(){ce(Xt),ce(Hi),ce(Ki)}function T0(e){Cr(Ki.current);var t=Cr(Xt.current),n=lu(t,e.type);t!==n&&(ie(Hi,e),ie(Xt,n))}function cf(e){Hi.current===e&&(ce(Xt),ce(Hi))}var he=ur(0);function Ua(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 vc=[];function uf(){for(var e=0;e<vc.length;e++)vc[e]._workInProgressVersionPrimary=null;vc.length=0}var ua=bn.ReactCurrentDispatcher,xc=bn.ReactCurrentBatchConfig,Vr=0,me=null,ke=null,je=null,Wa=!1,Ti=!1,Gi=0,wS=0;function Ve(){throw Error(O(321))}function df(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!_t(e[n],t[n]))return!1;return!0}function ff(e,t,n,r,s,i){if(Vr=i,me=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ua.current=e===null||e.memoizedState===null?ES:TS,e=n(r,s),Ti){i=0;do{if(Ti=!1,Gi=0,25<=i)throw Error(O(301));i+=1,je=ke=null,t.updateQueue=null,ua.current=kS,e=n(r,s)}while(Ti)}if(ua.current=Ha,t=ke!==null&&ke.next!==null,Vr=0,je=ke=me=null,Wa=!1,t)throw Error(O(300));return e}function hf(){var e=Gi!==0;return Gi=0,e}function Ut(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return je===null?me.memoizedState=je=e:je=je.next=e,je}function St(){if(ke===null){var e=me.alternate;e=e!==null?e.memoizedState:null}else e=ke.next;var t=je===null?me.memoizedState:je.next;if(t!==null)je=t,ke=e;else{if(e===null)throw Error(O(310));ke=e,e={memoizedState:ke.memoizedState,baseState:ke.baseState,baseQueue:ke.baseQueue,queue:ke.queue,next:null},je===null?me.memoizedState=je=e:je=je.next=e}return je}function Yi(e,t){return typeof t=="function"?t(e):t}function wc(e){var t=St(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=ke,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var a=o=null,l=null,c=i;do{var u=c.lane;if((Vr&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=f,o=r):l=l.next=f,me.lanes|=u,_r|=u}c=c.next}while(c!==null&&c!==i);l===null?o=r:l.next=a,_t(r,t.memoizedState)||(Je=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do i=s.lane,me.lanes|=i,_r|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function bc(e){var t=St(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var o=s=s.next;do i=e(i,o.action),o=o.next;while(o!==s);_t(i,t.memoizedState)||(Je=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function k0(){}function P0(e,t){var n=me,r=St(),s=t(),i=!_t(r.memoizedState,s);if(i&&(r.memoizedState=s,Je=!0),r=r.queue,pf(R0.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||je!==null&&je.memoizedState.tag&1){if(n.flags|=2048,Qi(9,j0.bind(null,n,r,s,t),void 0,null),Re===null)throw Error(O(349));Vr&30||N0(n,t,s)}return s}function N0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function j0(e,t,n,r){t.value=n,t.getSnapshot=r,A0(t)&&M0(e)}function R0(e,t,n){return n(function(){A0(t)&&M0(e)})}function A0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_t(e,n)}catch{return!0}}function M0(e){var t=gn(e,1);t!==null&&Vt(t,e,1,-1)}function Ep(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:Yi,lastRenderedState:e},t.queue=e,e=e.dispatch=CS.bind(null,me,e),[t.memoizedState,e]}function Qi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.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 O0(){return St().memoizedState}function da(e,t,n,r){var s=Ut();me.flags|=e,s.memoizedState=Qi(1|t,n,void 0,r===void 0?null:r)}function wl(e,t,n,r){var s=St();r=r===void 0?null:r;var i=void 0;if(ke!==null){var o=ke.memoizedState;if(i=o.destroy,r!==null&&df(r,o.deps)){s.memoizedState=Qi(t,n,i,r);return}}me.flags|=e,s.memoizedState=Qi(1|t,n,i,r)}function Tp(e,t){return da(8390656,8,e,t)}function pf(e,t){return wl(2048,8,e,t)}function D0(e,t){return wl(4,2,e,t)}function L0(e,t){return wl(4,4,e,t)}function I0(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 V0(e,t,n){return n=n!=null?n.concat([e]):null,wl(4,4,I0.bind(null,t,e),n)}function mf(){}function _0(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&df(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function F0(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&df(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function z0(e,t,n){return Vr&21?(_t(n,t)||(n=Hy(),me.lanes|=n,_r|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Je=!0),e.memoizedState=n)}function bS(e,t){var n=re;re=n!==0&&4>n?n:4,e(!0);var r=xc.transition;xc.transition={};try{e(!1),t()}finally{re=n,xc.transition=r}}function $0(){return St().memoizedState}function SS(e,t,n){var r=Jn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},B0(e))U0(t,n);else if(n=C0(e,t,n,r),n!==null){var s=Ye();Vt(n,e,r,s),W0(n,t,r)}}function CS(e,t,n){var r=Jn(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(B0(e))U0(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(s.hasEagerState=!0,s.eagerState=a,_t(a,o)){var l=t.interleaved;l===null?(s.next=s,of(t)):(s.next=l.next,l.next=s),t.interleaved=s;return}}catch{}finally{}n=C0(e,t,s,r),n!==null&&(s=Ye(),Vt(n,e,r,s),W0(n,t,r))}}function B0(e){var t=e.alternate;return e===me||t!==null&&t===me}function U0(e,t){Ti=Wa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function W0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Hd(e,n)}}var Ha={readContext:bt,useCallback:Ve,useContext:Ve,useEffect:Ve,useImperativeHandle:Ve,useInsertionEffect:Ve,useLayoutEffect:Ve,useMemo:Ve,useReducer:Ve,useRef:Ve,useState:Ve,useDebugValue:Ve,useDeferredValue:Ve,useTransition:Ve,useMutableSource:Ve,useSyncExternalStore:Ve,useId:Ve,unstable_isNewReconciler:!1},ES={readContext:bt,useCallback:function(e,t){return Ut().memoizedState=[e,t===void 0?null:t],e},useContext:bt,useEffect:Tp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,da(4194308,4,I0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return da(4194308,4,e,t)},useInsertionEffect:function(e,t){return da(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=SS.bind(null,me,e),[r.memoizedState,e]},useRef:function(e){var t=Ut();return e={current:e},t.memoizedState=e},useState:Ep,useDebugValue:mf,useDeferredValue:function(e){return Ut().memoizedState=e},useTransition:function(){var e=Ep(!1),t=e[0];return e=bS.bind(null,e[1]),Ut().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=me,s=Ut();if(de){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),Re===null)throw Error(O(349));Vr&30||N0(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,Tp(R0.bind(null,r,i,e),[e]),r.flags|=2048,Qi(9,j0.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ut(),t=Re.identifierPrefix;if(de){var n=fn,r=dn;n=(r&~(1<<32-It(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=wS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},TS={readContext:bt,useCallback:_0,useContext:bt,useEffect:pf,useImperativeHandle:V0,useInsertionEffect:D0,useLayoutEffect:L0,useMemo:F0,useReducer:wc,useRef:O0,useState:function(){return wc(Yi)},useDebugValue:mf,useDeferredValue:function(e){var t=St();return z0(t,ke.memoizedState,e)},useTransition:function(){var e=wc(Yi)[0],t=St().memoizedState;return[e,t]},useMutableSource:k0,useSyncExternalStore:P0,useId:$0,unstable_isNewReconciler:!1},kS={readContext:bt,useCallback:_0,useContext:bt,useEffect:pf,useImperativeHandle:V0,useInsertionEffect:D0,useLayoutEffect:L0,useMemo:F0,useReducer:bc,useRef:O0,useState:function(){return bc(Yi)},useDebugValue:mf,useDeferredValue:function(e){var t=St();return ke===null?t.memoizedState=e:z0(t,ke.memoizedState,e)},useTransition:function(){var e=bc(Yi)[0],t=St().memoizedState;return[e,t]},useMutableSource:k0,useSyncExternalStore:P0,useId:$0,unstable_isNewReconciler:!1};function Rt(e,t){if(e&&e.defaultProps){t=ge({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ju(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var bl={isMounted:function(e){return(e=e._reactInternals)?Br(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ye(),s=Jn(e),i=hn(r,s);i.payload=t,n!=null&&(i.callback=n),t=Xn(e,i,s),t!==null&&(Vt(t,e,s,r),ca(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ye(),s=Jn(e),i=hn(r,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Xn(e,i,s),t!==null&&(Vt(t,e,s,r),ca(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ye(),r=Jn(e),s=hn(n,r);s.tag=2,t!=null&&(s.callback=t),t=Xn(e,s,r),t!==null&&(Vt(t,e,r,n),ca(t,e,r))}};function kp(e,t,n,r,s,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!$i(n,r)||!$i(s,i):!0}function H0(e,t,n){var r=!1,s=rr,i=t.contextType;return typeof i=="object"&&i!==null?i=bt(i):(s=tt(t)?Lr:Be.current,r=t.contextTypes,i=(r=r!=null)?Ls(e,s):rr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=bl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function Pp(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&&bl.enqueueReplaceState(t,t.state,null)}function Ru(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},af(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=bt(i):(i=tt(t)?Lr:Be.current,s.context=Ls(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(ju(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&bl.enqueueReplaceState(s,s.state,null),Ba(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Fs(e,t){try{var n="",r=t;do n+=eb(r),r=r.return;while(r);var s=n}catch(i){s=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:s,digest:null}}function Sc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Au(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var PS=typeof WeakMap=="function"?WeakMap:Map;function K0(e,t,n){n=hn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ga||(Ga=!0,$u=r),Au(e,t)},n}
vendor: 9,303 bytes, line 40
40function G0(e,t,n){n=hn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){Au(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Au(e,t),typeof r!="function"&&(Zn===null?Zn=new Set([this]):Zn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Np(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new PS;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=$S.bind(null,e,t,n),t.then(e,e))}function jp(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 Rp(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,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=hn(-1,1),t.tag=2,Xn(n,t,1))),n.lanes|=1),e)}var NS=bn.ReactCurrentOwner,Je=!1;function We(e,t,n,r){t.child=e===null?S0(t,null,n,r):Vs(t,e.child,n,r)}function Ap(e,t,n,r,s){n=n.render;var i=t.ref;return bs(t,s),r=ff(e,t,n,r,i,s),n=hf(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,yn(e,t,s)):(de&&n&&Jd(t),t.flags|=1,We(e,t,r,s),t.child)}function Mp(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!Cf(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Y0(e,t,i,r,s)):(e=ma(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:$i,n(o,r)&&e.ref===t.ref)return yn(e,t,s)}return t.flags|=1,e=er(i,r),e.ref=t.ref,e.return=t,t.child=e}function Y0(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if($i(i,r)&&e.ref===t.ref)if(Je=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(Je=!0);else return t.lanes=e.lanes,yn(e,t,s)}return Mu(e,t,n,r,s)}function Q0(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie(ds,rt),rt|=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,ie(ds,rt),rt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ie(ds,rt),rt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ie(ds,rt),rt|=r;return We(e,t,s,n),t.child}function q0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Mu(e,t,n,r,s){var i=tt(n)?Lr:Be.current;return i=Ls(t,i),bs(t,s),n=ff(e,t,n,r,i,s),r=hf(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,yn(e,t,s)):(de&&r&&Jd(t),t.flags|=1,We(e,t,n,s),t.child)}function Op(e,t,n,r,s){if(tt(n)){var i=!0;Va(t)}else i=!1;if(bs(t,s),t.stateNode===null)fa(e,t),H0(t,n,r),Ru(t,n,r,s),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=bt(c):(c=tt(n)?Lr:Be.current,c=Ls(t,c));var u=n.getDerivedStateFromProps,f=typeof u=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==c)&&Pp(t,o,r,c),Ln=!1;var h=t.memoizedState;o.state=h,Ba(t,r,o,s),l=t.memoizedState,a!==r||h!==l||et.current||Ln?(typeof u=="function"&&(ju(t,n,u,r),l=t.memoizedState),(a=Ln||kp(t,n,a,r,h,l,c))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=c,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,E0(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:Rt(t.type,a),o.props=c,f=t.pendingProps,h=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=bt(l):(l=tt(n)?Lr:Be.current,l=Ls(t,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==f||h!==l)&&Pp(t,o,r,l),Ln=!1,h=t.memoizedState,o.state=h,Ba(t,r,o,s);var w=t.memoizedState;a!==f||h!==w||et.current||Ln?(typeof p=="function"&&(ju(t,n,p,r),w=t.memoizedState),(c=Ln||kp(t,n,c,r,h,w,l)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),o.props=r,o.state=w,o.context=l,r=c):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ou(e,t,n,r,i,s)}function Ou(e,t,n,r,s,i){q0(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return s&&vp(t,n,!1),yn(e,t,i);r=t.stateNode,NS.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Vs(t,e.child,null,i),t.child=Vs(t,null,a,i)):We(e,t,a,i),t.memoizedState=r.state,s&&vp(t,n,!0),t.child}function X0(e){var t=e.stateNode;t.pendingContext?yp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&yp(e,t.context,!1),lf(e,t.containerInfo)}function Dp(e,t,n,r,s){return Is(),tf(s),t.flags|=256,We(e,t,n,r),t.child}var Du={dehydrated:null,treeContext:null,retryLane:0};function Lu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Z0(e,t,n){var r=t.pendingProps,s=he.current,i=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),ie(he,s&1),e===null)return Pu(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):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=El(o,r,0,null),e=Or(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Lu(n),t.memoizedState=Du,e):gf(t,o));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return jS(e,t,o,r,a,s,n);if(i){i=r.fallback,o=t.mode,s=e.child,a=s.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=er(s,l),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?i=er(a,i):(i=Or(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Lu(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Du,r}return i=e.child,e=i.sibling,r=er(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 gf(e,t){return t=El({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Uo(e,t,n,r){return r!==null&&tf(r),Vs(t,e.child,null,n),e=gf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function jS(e,t,n,r,s,i,o){if(n)return t.flags&256?(t.flags&=-257,r=Sc(Error(O(422))),Uo(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,s=t.mode,r=El({mode:"visible",children:r.children},s,0,null),i=Or(i,s,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Vs(t,e.child,null,o),t.child.memoizedState=Lu(o),t.memoizedState=Du,i);if(!(t.mode&1))return Uo(e,t,o,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(O(419)),r=Sc(i,r,void 0),Uo(e,t,o,r)}if(a=(o&e.childLanes)!==0,Je||a){if(r=Re,r!==null){switch(o&-o){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|o)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,gn(e,s),Vt(r,e,s,-1))}return Sf(),r=Sc(Error(O(421))),Uo(e,t,o,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=BS.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,it=qn(s.nextSibling),ot=t,de=!0,Lt=null,e!==null&&(pt[mt++]=dn,pt[mt++]=fn,pt[mt++]=Ir,dn=e.id,fn=e.overflow,Ir=t),t=gf(t,r.children),t.flags|=4096,t)}
vendor: 4,953 bytes, line 40
40function Lp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Nu(e.return,t,n)}function Cc(e,t,n,r,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function J0(e,t,n){var r=t.pendingProps,s=r.revealOrder,i=r.tail;if(We(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&&Lp(e,n,t);else if(e.tag===19)Lp(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(ie(he,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Ua(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),Cc(t,!1,s,n,i);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Ua(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}Cc(t,!0,n,null,i);break;case"together":Cc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function fa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function yn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),_r|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(O(153));if(t.child!==null){for(e=t.child,n=er(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=er(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function RS(e,t,n){switch(t.tag){case 3:X0(t),Is();break;case 5:T0(t);break;case 1:tt(t.type)&&Va(t);break;case 4:lf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;ie(za,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(he,he.current&1),t.flags|=128,null):n&t.child.childLanes?Z0(e,t,n):(ie(he,he.current&1),e=yn(e,t,n),e!==null?e.sibling:null);ie(he,he.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return J0(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ie(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,Q0(e,t,n)}return yn(e,t,n)}var ev,Iu,tv,nv;ev=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}};Iu=function(){};tv=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,Cr(Xt.current);var i=null;switch(n){case"input":s=su(e,s),r=su(e,r),i=[];break;case"select":s=ge({},s,{value:void 0}),r=ge({},r,{value:void 0}),i=[];break;case"textarea":s=au(e,s),r=au(e,r),i=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=La)}cu(n,r);var o;n=null;for(c in s)if(!r.hasOwnProperty(c)&&s.hasOwnProperty(c)&&s[c]!=null)if(c==="style"){var a=s[c];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Di.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var l=r[c];if(a=s!=null?s[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(i||(i=[]),i.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Di.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&le("scroll",e),i||a===l||(i=[])):(i=i||[]).push(c,l))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};nv=function(e,t,n,r){n!==r&&(t.flags|=4)};function ui(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function _e(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}
vendor: 30,229 bytes, line 40
40function AS(e,t,n){var r=t.pendingProps;switch(ef(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _e(t),null;case 1:return tt(t.type)&&Ia(),_e(t),null;case 3:return r=t.stateNode,_s(),ce(et),ce(Be),uf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&($o(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Lt!==null&&(Wu(Lt),Lt=null))),Iu(e,t),_e(t),null;case 5:cf(t);var s=Cr(Ki.current);if(n=t.type,e!==null&&t.stateNode!=null)tv(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(O(166));return _e(t),null}if(e=Cr(Xt.current),$o(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Yt]=t,r[Wi]=i,e=(t.mode&1)!==0,n){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(s=0;s<vi.length;s++)le(vi[s],r);break;case"source":le("error",r);break;case"img":case"image":case"link":le("error",r),le("load",r);break;case"details":le("toggle",r);break;case"input":Wh(r,i),le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},le("invalid",r);break;case"textarea":Kh(r,i),le("invalid",r)}cu(n,i),s=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];o==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&zo(r.textContent,a,e),s=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&zo(r.textContent,a,e),s=["children",""+a]):Di.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&le("scroll",r)}switch(n){case"input":Mo(r),Hh(r,i,!0);break;case"textarea":Mo(r),Gh(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=La)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ry(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Yt]=t,e[Wi]=r,ev(e,t,!1,!1),t.stateNode=e;e:{switch(o=uu(n,r),n){case"dialog":le("cancel",e),le("close",e),s=r;break;case"iframe":case"object":case"embed":le("load",e),s=r;break;case"video":case"audio":for(s=0;s<vi.length;s++)le(vi[s],e);s=r;break;case"source":le("error",e),s=r;break;case"img":case"image":case"link":le("error",e),le("load",e),s=r;break;case"details":le("toggle",e),s=r;break;case"input":Wh(e,r),s=su(e,r),le("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=ge({},r,{value:void 0}),le("invalid",e);break;case"textarea":Kh(e,r),s=au(e,r),le("invalid",e);break;default:s=r}cu(n,s),a=s;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?Oy(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Ay(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Li(e,l):typeof l=="number"&&Li(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Di.hasOwnProperty(i)?l!=null&&i==="onScroll"&&le("scroll",e):l!=null&&Fd(e,i,l,o))}switch(n){case"input":Mo(e),Hh(e,r,!1);break;case"textarea":Mo(e),Gh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+nr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?ys(e,!!r.multiple,i,!1):r.defaultValue!=null&&ys(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=La)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return _e(t),null;case 6:if(e&&t.stateNode!=null)nv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(O(166));if(n=Cr(Ki.current),Cr(Xt.current),$o(t)){if(r=t.stateNode,n=t.memoizedProps,r[Yt]=t,(i=r.nodeValue!==n)&&(e=ot,e!==null))switch(e.tag){case 3:zo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&zo(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 _e(t),null;case 13:if(ce(he),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&&it!==null&&t.mode&1&&!(t.flags&128))w0(),Is(),t.flags|=98560,i=!1;else if(i=$o(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(O(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(O(317));i[Yt]=t}else Is(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_e(t),i=!1}else Lt!==null&&(Wu(Lt),Lt=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?Pe===0&&(Pe=3):Sf())),t.updateQueue!==null&&(t.flags|=4),_e(t),null);case 4:return _s(),Iu(e,t),e===null&&Bi(t.stateNode.containerInfo),_e(t),null;case 10:return sf(t.type._context),_e(t),null;case 17:return tt(t.type)&&Ia(),_e(t),null;case 19:if(ce(he),i=t.memoizedState,i===null)return _e(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)ui(i,!1);else{if(Pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ua(e),o!==null){for(t.flags|=128,ui(i,!1),r=o.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,o=i.alternate,o===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=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ie(he,he.current&1|2),t.child}e=e.sibling}i.tail!==null&&xe()>zs&&(t.flags|=128,r=!0,ui(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ua(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ui(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!de)return _e(t),null}else 2*xe()-i.renderingStartTime>zs&&n!==1073741824&&(t.flags|=128,r=!0,ui(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=xe(),t.sibling=null,n=he.current,ie(he,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return bf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?rt&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function MS(e,t){switch(ef(t),t.tag){case 1:return tt(t.type)&&Ia(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _s(),ce(et),ce(Be),uf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cf(t),null;case 13:if(ce(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Is()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ce(he),null;case 4:return _s(),null;case 10:return sf(t.type._context),null;case 22:case 23:return bf(),null;case 24:return null;default:return null}}var Wo=!1,ze=!1,OS=typeof WeakSet=="function"?WeakSet:Set,V=null;function us(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ve(e,t,r)}else n.current=null}function Vu(e,t,n){try{n()}catch(r){ve(e,t,r)}}var Ip=!1;function DS(e,t){if(wu=Ma,e=a0(),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 s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,c=0,u=0,f=e,h=null;t:for(;;){for(var p;f!==n||s!==0&&f.nodeType!==3||(a=o+s),f!==i||r!==0&&f.nodeType!==3||(l=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===s&&(a=o),h===i&&++u===r&&(l=o),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(bu={focusedElem:e,selectionRange:n},Ma=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,b=w.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:Rt(t.type,y),b);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(S){ve(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return w=Ip,Ip=!1,w}function ki(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&Vu(t,n,i)}s=s.next}while(s!==r)}}function Sl(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 _u(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 rv(e){var t=e.alternate;t!==null&&(e.alternate=null,rv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Yt],delete t[Wi],delete t[Eu],delete t[gS],delete t[yS])),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 sv(e){return e.tag===5||e.tag===3||e.tag===4}function Vp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sv(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 Fu(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=La));else if(r!==4&&(e=e.child,e!==null))for(Fu(e,t,n),e=e.sibling;e!==null;)Fu(e,t,n),e=e.sibling}function zu(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(zu(e,t,n),e=e.sibling;e!==null;)zu(e,t,n),e=e.sibling}var Ae=null,Dt=!1;function Nn(e,t,n){for(n=n.child;n!==null;)iv(e,t,n),n=n.sibling}function iv(e,t,n){if(qt&&typeof qt.onCommitFiberUnmount=="function")try{qt.onCommitFiberUnmount(pl,n)}catch{}switch(n.tag){case 5:ze||us(n,t);case 6:var r=Ae,s=Dt;Ae=null,Nn(e,t,n),Ae=r,Dt=s,Ae!==null&&(Dt?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(Dt?(e=Ae,n=n.stateNode,e.nodeType===8?gc(e.parentNode,n):e.nodeType===1&&gc(e,n),Fi(e)):gc(Ae,n.stateNode));break;case 4:r=Ae,s=Dt,Ae=n.stateNode.containerInfo,Dt=!0,Nn(e,t,n),Ae=r,Dt=s;break;case 0:case 11:case 14:case 15:if(!ze&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Vu(n,t,o),s=s.next}while(s!==r)}Nn(e,t,n);break;case 1:if(!ze&&(us(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ve(n,t,a)}Nn(e,t,n);break;case 21:Nn(e,t,n);break;case 22:n.mode&1?(ze=(r=ze)||n.memoizedState!==null,Nn(e,t,n),ze=r):Nn(e,t,n);break;default:Nn(e,t,n)}}function _p(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new OS),t.forEach(function(r){var s=US.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function kt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Ae=a.stateNode,Dt=!1;break e;case 3:Ae=a.stateNode.containerInfo,Dt=!0;break e;case 4:Ae=a.stateNode.containerInfo,Dt=!0;break e}a=a.return}if(Ae===null)throw Error(O(160));iv(i,o,s),Ae=null,Dt=!1;var l=s.alternate;l!==null&&(l.return=null),s.return=null}catch(c){ve(s,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)ov(t,e),t=t.sibling}function ov(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(kt(t,e),Bt(e),r&4){try{ki(3,e,e.return),Sl(3,e)}catch(y){ve(e,e.return,y)}try{ki(5,e,e.return)}catch(y){ve(e,e.return,y)}}break;case 1:kt(t,e),Bt(e),r&512&&n!==null&&us(n,n.return);break;case 5:if(kt(t,e),Bt(e),r&512&&n!==null&&us(n,n.return),e.flags&32){var s=e.stateNode;try{Li(s,"")}catch(y){ve(e,e.return,y)}}if(r&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,o=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&&Ny(s,i),uu(a,o);var c=uu(a,i);for(o=0;o<l.length;o+=2){var u=l[o],f=l[o+1];u==="style"?Oy(s,f):u==="dangerouslySetInnerHTML"?Ay(s,f):u==="children"?Li(s,f):Fd(s,u,f,c)}switch(a){case"input":iu(s,i);break;case"textarea":jy(s,i);break;case"select":var h=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?ys(s,!!i.multiple,p,!1):h!==!!i.multiple&&(i.defaultValue!=null?ys(s,!!i.multiple,i.defaultValue,!0):ys(s,!!i.multiple,i.multiple?[]:"",!1))}s[Wi]=i}catch(y){ve(e,e.return,y)}}break;case 6:if(kt(t,e),Bt(e),r&4){if(e.stateNode===null)throw Error(O(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(y){ve(e,e.return,y)}}break;case 3:if(kt(t,e),Bt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Fi(t.containerInfo)}catch(y){ve(e,e.return,y)}break;case 4:kt(t,e),Bt(e);break;case 13:kt(t,e),Bt(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(xf=xe())),r&4&&_p(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,e.mode&1?(ze=(c=ze)||u,kt(t,e),ze=c):kt(t,e),Bt(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!u&&e.mode&1)for(V=e,u=e.child;u!==null;){for(f=V=u;V!==null;){switch(h=V,p=h.child,h.tag){case 0:case 11:case 14:case 15:ki(4,h,h.return);break;case 1:us(h,h.return);var w=h.stateNode;if(typeof w.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(y){ve(r,n,y)}}break;case 5:us(h,h.return);break;case 22:if(h.memoizedState!==null){zp(f);continue}}p!==null?(p.return=h,V=p):zp(f)}u=u.sibling}e:for(u=null,f=e;;){if(f.tag===5){if(u===null){u=f;try{s=f.stateNode,c?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=f.stateNode,l=f.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=My("display",o))}catch(y){ve(e,e.return,y)}}}else if(f.tag===6){if(u===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(y){ve(e,e.return,y)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;u===f&&(u=null),f=f.return}u===f&&(u=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:kt(t,e),Bt(e),r&4&&_p(e);break;case 21:break;default:kt(t,e),Bt(e)}}function Bt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(sv(n)){var r=n;break e}n=n.return}throw Error(O(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Li(s,""),r.flags&=-33);var i=Vp(e);zu(e,i,s);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Vp(e);Fu(e,a,o);break;default:throw Error(O(161))}}catch(l){ve(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function LS(e,t,n){V=e,av(e)}function av(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var s=V,i=s.child;if(s.tag===22&&r){var o=s.memoizedState!==null||Wo;if(!o){var a=s.alternate,l=a!==null&&a.memoizedState!==null||ze;a=Wo;var c=ze;if(Wo=o,(ze=l)&&!c)for(V=s;V!==null;)o=V,l=o.child,o.tag===22&&o.memoizedState!==null?$p(s):l!==null?(l.return=o,V=l):$p(s);for(;i!==null;)V=i,av(i),i=i.sibling;V=s,Wo=a,ze=c}Fp(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,V=i):Fp(e)}}function Fp(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:ze||Sl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ze)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:Rt(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Cp(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Cp(t,o,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 c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&Fi(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(O(163))}ze||t.flags&512&&_u(t)}catch(h){ve(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 zp(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 $p(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Sl(4,t)}catch(l){ve(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(l){ve(t,s,l)}}var i=t.return;try{_u(t)}catch(l){ve(t,i,l)}break;case 5:var o=t.return;try{_u(t)}catch(l){ve(t,o,l)}}}catch(l){ve(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 IS=Math.ceil,Ka=bn.ReactCurrentDispatcher,yf=bn.ReactCurrentOwner,vt=bn.ReactCurrentBatchConfig,ee=0,Re=null,Ce=null,Oe=0,rt=0,ds=ur(0),Pe=0,qi=null,_r=0,Cl=0,vf=0,Pi=null,Ze=null,xf=0,zs=1/0,ln=null,Ga=!1,$u=null,Zn=null,Ho=!1,Wn=null,Ya=0,Ni=0,Bu=null,ha=-1,pa=0;function Ye(){return ee&6?xe():ha!==-1?ha:ha=xe()}function Jn(e){return e.mode&1?ee&2&&Oe!==0?Oe&-Oe:xS.transition!==null?(pa===0&&(pa=Hy()),pa):(e=re,e!==0||(e=window.event,e=e===void 0?16:Zy(e.type)),e):1}function Vt(e,t,n,r){if(50<Ni)throw Ni=0,Bu=null,Error(O(185));fo(e,n,r),(!(ee&2)||e!==Re)&&(e===Re&&(!(ee&2)&&(Cl|=n),Pe===4&&Vn(e,Oe)),nt(e,r),n===1&&ee===0&&!(t.mode&1)&&(zs=xe()+500,xl&&dr()))}function nt(e,t){var n=e.callbackNode;xb(e,t);var r=Aa(e,e===Re?Oe:0);if(r===0)n!==null&&qh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&qh(n),t===1)e.tag===0?vS(Bp.bind(null,e)):y0(Bp.bind(null,e)),pS(function(){!(ee&6)&&dr()}),n=null;else{switch(Ky(r)){case 1:n=Wd;break;case 4:n=Uy;break;case 16:n=Ra;break;case 536870912:n=Wy;break;default:n=Ra}n=mv(n,lv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function lv(e,t){if(ha=-1,pa=0,ee&6)throw Error(O(327));var n=e.callbackNode;if(Ss()&&e.callbackNode!==n)return null;var r=Aa(e,e===Re?Oe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Qa(e,r);else{t=r;var s=ee;ee|=2;var i=uv();(Re!==e||Oe!==t)&&(ln=null,zs=xe()+500,Mr(e,t));do try{FS();break}catch(a){cv(e,a)}while(!0);rf(),Ka.current=i,ee=s,Ce!==null?t=0:(Re=null,Oe=0,t=Pe)}if(t!==0){if(t===2&&(s=mu(e),s!==0&&(r=s,t=Uu(e,s))),t===1)throw n=qi,Mr(e,0),Vn(e,r),nt(e,xe()),n;if(t===6)Vn(e,r);else{if(s=e.current.alternate,!(r&30)&&!VS(s)&&(t=Qa(e,r),t===2&&(i=mu(e),i!==0&&(r=i,t=Uu(e,i))),t===1))throw n=qi,Mr(e,0),Vn(e,r),nt(e,xe()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(O(345));case 2:xr(e,Ze,ln);break;case 3:if(Vn(e,r),(r&130023424)===r&&(t=xf+500-xe(),10<t)){if(Aa(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){Ye(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=Cu(xr.bind(null,e,Ze,ln),t);break}xr(e,Ze,ln);break;case 4:if(Vn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var o=31-It(r);i=1<<o,o=t[o],o>s&&(s=o),r&=~i}if(r=s,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*IS(r/1960))-r,10<r){e.timeoutHandle=Cu(xr.bind(null,e,Ze,ln),r);break}xr(e,Ze,ln);break;case 5:xr(e,Ze,ln);break;default:throw Error(O(329))}}}return nt(e,xe()),e.callbackNode===n?lv.bind(null,e):null}function Uu(e,t){var n=Pi;return e.current.memoizedState.isDehydrated&&(Mr(e,t).flags|=256),e=Qa(e,t),e!==2&&(t=Ze,Ze=n,t!==null&&Wu(t)),e}function Wu(e){Ze===null?Ze=e:Ze.push.apply(Ze,e)}function VS(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 s=n[r],i=s.getSnapshot;s=s.value;try{if(!_t(i(),s))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 Vn(e,t){for(t&=~vf,t&=~Cl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-It(t),r=1<<n;e[n]=-1,t&=~r}}function Bp(e){if(ee&6)throw Error(O(327));Ss();var t=Aa(e,0);if(!(t&1))return nt(e,xe()),null;var n=Qa(e,t);if(e.tag!==0&&n===2){var r=mu(e);r!==0&&(t=r,n=Uu(e,r))}if(n===1)throw n=qi,Mr(e,0),Vn(e,t),nt(e,xe()),n;if(n===6)throw Error(O(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xr(e,Ze,ln),nt(e,xe()),null}function wf(e,t){var n=ee;ee|=1;try{return e(t)}finally{ee=n,ee===0&&(zs=xe()+500,xl&&dr())}}function Fr(e){Wn!==null&&Wn.tag===0&&!(ee&6)&&Ss();var t=ee;ee|=1;var n=vt.transition,r=re;try{if(vt.transition=null,re=1,e)return e()}finally{re=r,vt.transition=n,ee=t,!(ee&6)&&dr()}}function bf(){rt=ds.current,ce(ds)}function Mr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,hS(n)),Ce!==null)for(n=Ce.return;n!==null;){var r=n;switch(ef(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ia();break;case 3:_s(),ce(et),ce(Be),uf();break;case 5:cf(r);break;case 4:_s();break;case 13:ce(he);break;case 19:ce(he);break;case 10:sf(r.type._context);break;case 22:case 23:bf()}n=n.return}if(Re=e,Ce=e=er(e.current,null),Oe=rt=t,Pe=0,qi=null,vf=Cl=_r=0,Ze=Pi=null,Sr!==null){for(t=0;t<Sr.length;t++)if(n=Sr[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=s,r.next=o}n.pending=r}Sr=null}return e}function cv(e,t){do{var n=Ce;try{if(rf(),ua.current=Ha,Wa){for(var r=me.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Wa=!1}if(Vr=0,je=ke=me=null,Ti=!1,Gi=0,yf.current=null,n===null||n.return===null){Pe=1,qi=t,Ce=null;break}e:{var i=e,o=n.return,a=n,l=t;if(t=Oe,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=a,f=u.tag;if(!(u.mode&1)&&(f===0||f===11||f===15)){var h=u.alternate;h?(u.updateQueue=h.updateQueue,u.memoizedState=h.memoizedState,u.lanes=h.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=jp(o);if(p!==null){p.flags&=-257,Rp(p,o,a,i,t),p.mode&1&&Np(i,c,t),t=p,l=c;var w=t.updateQueue;if(w===null){var y=new Set;y.add(l),t.updateQueue=y}else w.add(l);break e}else{if(!(t&1)){Np(i,c,t),Sf();break e}l=Error(O(426))}}else if(de&&a.mode&1){var b=jp(o);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Rp(b,o,a,i,t),tf(Fs(l,a));break e}}i=l=Fs(l,a),Pe!==4&&(Pe=2),Pi===null?Pi=[i]:Pi.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=K0(i,l,t);Sp(i,g);break e;case 1:a=l;var m=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Zn===null||!Zn.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=G0(i,a,t);Sp(i,S);break e}}i=i.return}while(i!==null)}fv(n)}catch(C){t=C,Ce===n&&n!==null&&(Ce=n=n.return);continue}break}while(!0)}function uv(){var e=Ka.current;return Ka.current=Ha,e===null?Ha:e}function Sf(){(Pe===0||Pe===3||Pe===2)&&(Pe=4),Re===null||!(_r&268435455)&&!(Cl&268435455)||Vn(Re,Oe)}function Qa(e,t){var n=ee;ee|=2;var r=uv();(Re!==e||Oe!==t)&&(ln=null,Mr(e,t));do try{_S();break}catch(s){cv(e,s)}while(!0);if(rf(),ee=n,Ka.current=r,Ce!==null)throw Error(O(261));return Re=null,Oe=0,Pe}function _S(){for(;Ce!==null;)dv(Ce)}function FS(){for(;Ce!==null&&!ub();)dv(Ce)}function dv(e){var t=pv(e.alternate,e,rt);e.memoizedProps=e.pendingProps,t===null?fv(e):Ce=t,yf.current=null}function fv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=MS(n,t),n!==null){n.flags&=32767,Ce=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Pe=6,Ce=null;return}}else if(n=AS(n,t,rt),n!==null){Ce=n;return}if(t=t.sibling,t!==null){Ce=t;return}Ce=t=e}while(t!==null);Pe===0&&(Pe=5)}function xr(e,t,n){var r=re,s=vt.transition;try{vt.transition=null,re=1,zS(e,t,n,r)}finally{vt.transition=s,re=r}return null}function zS(e,t,n,r){do Ss();while(Wn!==null);if(ee&6)throw Error(O(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(O(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(wb(e,i),e===Re&&(Ce=Re=null,Oe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ho||(Ho=!0,mv(Ra,function(){return Ss(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=vt.transition,vt.transition=null;var o=re;re=1;var a=ee;ee|=4,yf.current=null,DS(e,n),ov(n,e),oS(bu),Ma=!!wu,bu=wu=null,e.current=n,LS(n),db(),ee=a,re=o,vt.transition=i}else e.current=n;if(Ho&&(Ho=!1,Wn=e,Ya=s),i=e.pendingLanes,i===0&&(Zn=null),pb(n.stateNode),nt(e,xe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(Ga)throw Ga=!1,e=$u,$u=null,e;return Ya&1&&e.tag!==0&&Ss(),i=e.pendingLanes,i&1?e===Bu?Ni++:(Ni=0,Bu=e):Ni=0,dr(),null}function Ss(){if(Wn!==null){var e=Ky(Ya),t=vt.transition,n=re;try{if(vt.transition=null,re=16>e?16:e,Wn===null)var r=!1;else{if(e=Wn,Wn=null,Ya=0,ee&6)throw Error(O(331));var s=ee;for(ee|=4,V=e.current;V!==null;){var i=V,o=i.child;if(V.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(V=c;V!==null;){var u=V;switch(u.tag){case 0:case 11:case 15:ki(8,u,i)}var f=u.child;if(f!==null)f.return=u,V=f;else for(;V!==null;){u=V;var h=u.sibling,p=u.return;if(rv(u),u===c){V=null;break}if(h!==null){h.return=p,V=h;break}V=p}}}var w=i.alternate;if(w!==null){var y=w.child;if(y!==null){w.child=null;do{var b=y.sibling;y.sibling=null,y=b}while(y!==null)}}V=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,V=o;else e:for(;V!==null;){if(i=V,i.flags&2048)switch(i.tag){case 0:case 11:case 15:ki(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,V=g;break e}V=i.return}}var m=e.current;for(V=m;V!==null;){o=V;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,V=v;else e:for(o=m;V!==null;){if(a=V,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Sl(9,a)}}catch(C){ve(a,a.return,C)}if(a===o){V=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,V=S;break e}V=a.return}}if(ee=s,dr(),qt&&typeof qt.onPostCommitFiberRoot=="function")try{qt.onPostCommitFiberRoot(pl,e)}catch{}r=!0}return r}finally{re=n,vt.transition=t}}return!1}function Up(e,t,n){t=Fs(n,t),t=K0(e,t,1),e=Xn(e,t,1),t=Ye(),e!==null&&(fo(e,1,t),nt(e,t))}function ve(e,t,n){if(e.tag===3)Up(e,e,n);else for(;t!==null;){if(t.tag===3){Up(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Zn===null||!Zn.has(r))){e=Fs(n,e),e=G0(t,e,1),t=Xn(t,e,1),e=Ye(),t!==null&&(fo(t,1,e),nt(t,e));break}}t=t.return}}function $S(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ye(),e.pingedLanes|=e.suspendedLanes&n,Re===e&&(Oe&n)===n&&(Pe===4||Pe===3&&(Oe&130023424)===Oe&&500>xe()-xf?Mr(e,0):vf|=n),nt(e,t)}function hv(e,t){t===0&&(e.mode&1?(t=Lo,Lo<<=1,!(Lo&130023424)&&(Lo=4194304)):t=1);var n=Ye();e=gn(e,t),e!==null&&(fo(e,t,n),nt(e,n))}function BS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hv(e,n)}function US(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(t),hv(e,n)}var pv;pv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||et.current)Je=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Je=!1,RS(e,t,n);Je=!!(e.flags&131072)}else Je=!1,de&&t.flags&1048576&&v0(t,Fa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;fa(e,t),e=t.pendingProps;var s=Ls(t,Be.current);bs(t,n),s=ff(null,t,r,e,s,n);var i=hf();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,tt(r)?(i=!0,Va(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,af(t),s.updater=bl,t.stateNode=s,s._reactInternals=t,Ru(t,r,e,n),t=Ou(null,t,r,!0,i,n)):(t.tag=0,de&&i&&Jd(t),We(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(fa(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=HS(r),e=Rt(r,e),s){case 0:t=Mu(null,t,r,e,n);break e;case 1:t=Op(null,t,r,e,n);break e;case 11:t=Ap(null,t,r,e,n);break e;case 14:t=Mp(null,t,r,Rt(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Rt(r,s),Mu(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Rt(r,s),Op(e,t,r,s,n);case 3:e:{if(X0(t),e===null)throw Error(O(387));
vendor: 4,912 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,s=i.element,E0(e,t),Ba(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=Fs(Error(O(423)),t),t=Dp(e,t,r,n,s);break e}else if(r!==s){s=Fs(Error(O(424)),t),t=Dp(e,t,r,n,s);break e}else for(it=qn(t.stateNode.containerInfo.firstChild),ot=t,de=!0,Lt=null,n=S0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Is(),r===s){t=yn(e,t,n);break e}We(e,t,r,n)}t=t.child}return t;case 5:return T0(t),e===null&&Pu(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,o=s.children,Su(r,s)?o=null:i!==null&&Su(r,i)&&(t.flags|=32),q0(e,t),We(e,t,o,n),t.child;case 6:return e===null&&Pu(t),null;case 13:return Z0(e,t,n);case 4:return lf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Vs(t,null,r,n):We(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Rt(r,s),Ap(e,t,r,s,n);case 7:return We(e,t,t.pendingProps,n),t.child;case 8:return We(e,t,t.pendingProps.children,n),t.child;case 12:return We(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,o=s.value,ie(za,r._currentValue),r._currentValue=o,i!==null)if(_t(i.value,o)){if(i.children===s.children&&!et.current){t=yn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=hn(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Nu(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(O(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Nu(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}We(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,bs(t,n),s=bt(s),r=r(s),t.flags|=1,We(e,t,r,n),t.child;case 14:return r=t.type,s=Rt(r,t.pendingProps),s=Rt(r.type,s),Mp(e,t,r,s,n);case 15:return Y0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Rt(r,s),fa(e,t),t.tag=1,tt(r)?(e=!0,Va(t)):e=!1,bs(t,n),H0(t,r,s),Ru(t,r,s,n),Ou(null,t,r,!0,e,n);case 19:return J0(e,t,n);case 22:return Q0(e,t,n)}throw Error(O(156,t.tag))};function mv(e,t){return By(e,t)}function WS(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 WS(e,t,n,r)}function Cf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function HS(e){if(typeof e=="function")return Cf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$d)return 11;if(e===Bd)return 14}return 2}function er(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 ma(e,t,n,r,s,i){var o=2;if(r=e,typeof e=="function")Cf(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ts:return Or(n.children,s,i,t);case zd:o=8,s|=8;break;case eu:return e=gt(12,n,t,s|2),e.elementType=eu,e.lanes=i,e;case tu:return e=gt(13,n,t,s),e.elementType=tu,e.lanes=i,e;case nu:return e=gt(19,n,t,s),e.elementType=nu,e.lanes=i,e;case Ty:return El(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Cy:o=10;break e;case Ey:o=9;break e;case $d:o=11;break e;case Bd:o=14;break e;case Dn:o=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=gt(o,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function Or(e,t,n,r){return e=gt(7,e,r,t),e.lanes=n,e}function El(e,t,n,r){return e=gt(22,e,r,t),e.elementType=Ty,e.lanes=n,e.stateNode={isHidden:!1},e}function Ec(e,t,n){return e=gt(6,e,null,t),e.lanes=n,e}function Tc(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}
vendor: 5,453 bytes, line 40
40function KS(e,t,n,r,s){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=ic(0),this.expirationTimes=ic(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ic(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Ef(e,t,n,r,s,i,o,a,l){return e=new KS(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},af(i),e}function GS(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:es,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function gv(e){if(!e)return rr;e=e._reactInternals;e:{if(Br(e)!==e||e.tag!==1)throw Error(O(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(tt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(O(171))}if(e.tag===1){var n=e.type;if(tt(n))return g0(e,n,t)}return t}function yv(e,t,n,r,s,i,o,a,l){return e=Ef(n,r,!0,e,s,i,o,a,l),e.context=gv(null),n=e.current,r=Ye(),s=Jn(n),i=hn(r,s),i.callback=t??null,Xn(n,i,s),e.current.lanes=s,fo(e,s,r),nt(e,r),e}function Tl(e,t,n,r){var s=t.current,i=Ye(),o=Jn(s);return n=gv(n),t.context===null?t.context=n:t.pendingContext=n,t=hn(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Xn(s,t,o),e!==null&&(Vt(e,s,o,i),ca(e,s,o)),o}function qa(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 Wp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Tf(e,t){Wp(e,t),(e=e.alternate)&&Wp(e,t)}function YS(){return null}var vv=typeof reportError=="function"?reportError:function(e){console.error(e)};function kf(e){this._internalRoot=e}kl.prototype.render=kf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(O(409));Tl(e,t,null,null)};kl.prototype.unmount=kf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Fr(function(){Tl(null,e,null,null)}),t[mn]=null}};function kl(e){this._internalRoot=e}kl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Qy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<In.length&&t!==0&&t<In[n].priority;n++);In.splice(n,0,e),n===0&&Xy(e)}};function Pf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Pl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Hp(){}function QS(e,t,n,r,s){if(s){if(typeof r=="function"){var i=r;r=function(){var c=qa(o);i.call(c)}}var o=yv(t,r,e,0,null,!1,!1,"",Hp);return e._reactRootContainer=o,e[mn]=o.current,Bi(e.nodeType===8?e.parentNode:e),Fr(),o}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var a=r;r=function(){var c=qa(l);a.call(c)}}var l=Ef(e,0,!1,null,null,!1,!1,"",Hp);return e._reactRootContainer=l,e[mn]=l.current,Bi(e.nodeType===8?e.parentNode:e),Fr(function(){Tl(t,l,n,r)}),l}function Nl(e,t,n,r,s){var i=n._reactRootContainer;if(i){var o=i;if(typeof s=="function"){var a=s;s=function(){var l=qa(o);a.call(l)}}Tl(t,o,e,s)}else o=QS(n,t,e,s,r);return qa(o)}Gy=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=yi(t.pendingLanes);n!==0&&(Hd(t,n|1),nt(t,xe()),!(ee&6)&&(zs=xe()+500,dr()))}break;case 13:Fr(function(){var r=gn(e,1);if(r!==null){var s=Ye();Vt(r,e,1,s)}}),Tf(e,1)}};Kd=function(e){if(e.tag===13){var t=gn(e,134217728);if(t!==null){var n=Ye();Vt(t,e,134217728,n)}Tf(e,134217728)}};Yy=function(e){if(e.tag===13){var t=Jn(e),n=gn(e,t);if(n!==null){var r=Ye();Vt(n,e,t,r)}Tf(e,t)}};Qy=function(){return re};qy=function(e,t){var n=re;try{return re=e,t()}finally{re=n}};fu=function(e,t,n){switch(t){case"input":if(iu(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 s=vl(r);if(!s)throw Error(O(90));Py(r),iu(r,s)}}}break;case"textarea":jy(e,n);break;case"select":t=n.value,t!=null&&ys(e,!!n.multiple,t,!1)}};Iy=wf;Vy=Fr;var qS={usingClientEntryPoint:!1,Events:[po,is,vl,Dy,Ly,wf]},di={findFiberByHostInstance:br,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},XS={bundleType:di.bundleType,version:di.version,rendererPackageName:di.rendererPackageName,rendererConfig:di.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:bn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=zy(e),e===null?null:e.stateNode},findFiberByHostInstance:di.findFiberByHostInstance||YS,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ko=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ko.isDisabled&&Ko.supportsFiber)try{pl=Ko.inject(XS),qt=Ko}catch{}}ut.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qS;ut.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Pf(t))throw Error(O(200));return GS(e,t,null,n)};ut.createRoot=function(e,t){if(!Pf(e))throw Error(O(299));var n=!1,r="",s=vv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Ef(e,1,!1,null,null,n,!1,r,s),e[mn]=t.current,Bi(e.nodeType===8?e.parentNode:e),new kf(t)};ut.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(O(188)):(e=Object.keys(e).join(","),Error(O(268,e)));return e=zy(t),e=e===null?null:e.stateNode,e};ut.flushSync=function(e){return Fr(e)};ut.hydrate=function(e,t,n){if(!Pl(t))throw Error(O(200));return Nl(null,e,t,!0,n)};ut.hydrateRoot=function(e,t,n){if(!Pf(e))throw Error(O(405));var r=n!=null&&n.hydratedSources||null,s=!1,i="",o=vv;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=yv(t,null,e,1,n??null,s,!1,i,o),e[mn]=t.current,Bi(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new kl(t)};ut.render=function(e,t,n){if(!Pl(t))throw Error(O(200));return Nl(null,e,t,!1,n)};ut.unmountComponentAtNode=function(e){if(!Pl(e))throw Error(O(40));return e._reactRootContainer?(Fr(function(){Nl(null,null,e,!1,function(){e._reactRootContainer=null,e[mn]=null})}),!0):!1};ut.unstable_batchedUpdates=wf;ut.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Pl(n))throw Error(O(200));if(e==null||e._reactInternals===void 0)throw Error(O(38));return Nl(e,t,n,!1,r)};ut.version="18.3.1-next-f1338f8080-20240426";function xv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xv)}catch(e){console.error(e)}}xv(),xy.exports=ut;var go=xy.exports;const wv=ay(go);var bv,Kp=go;bv=Kp.createRoot,Kp.hydrateRoot;const ZS=1,JS=1e6;let kc=0;function eC(){return kc=(kc+1)%Number.MAX_SAFE_INTEGER,kc.toString()}const Pc=new Map,Gp=e=>{if(Pc.has(e))return;const t=setTimeout(()=>{Pc.delete(e),ji({type:"REMOVE_TOAST",toastId:e})},JS);Pc.set(e,t)},tC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,ZS)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Gp(n):e.toasts.forEach(r=>{Gp(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},ga=[];let ya={toasts:[]};function ji(e){ya=tC(ya,e),ga.forEach(t=>{t(ya)})}function nC({...e}){const t=eC(),n=s=>ji({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>ji({type:"DISMISS_TOAST",toastId:t});return ji({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function rC(){const[e,t]=x.useState(ya);return x.useEffect(()=>(ga.push(t),()=>{const n=ga.indexOf(t);n>-1&&ga.splice(n,1)}),[e]),{...e,toast:nC,dismiss:n=>ji({type:"DISMISS_TOAST",toastId:n})}}function we(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function Yp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Sv(...e){return t=>{let n=!1;const r=e.map(s=>{const i=Yp(s,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i=="function"?i():Yp(e[s],null)}}}}function ct(...e){return x.useCallback(Sv(...e),e)}function Ys(e,t=[]){let n=[];function r(i,o){const a=x.createContext(o),l=n.length;n=[...n,o];const c=f=>{var g;const{scope:h,children:p,...w}=f,y=((g=h==null?void 0:h[e])==null?void 0:g[l])||a,b=x.useMemo(()=>w,Object.values(w));return d.jsx(y.Provider,{value:b,children:p})};c.displayName=i+"Provider";function u(f,h){var y;const p=((y=h==null?void 0:h[e])==null?void 0:y[l])||a,w=x.useContext(p);if(w)return w;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[c,u]}const s=()=>{const i=n.map(o=>x.createContext(o));return function(a){const l=(a==null?void 0:a[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return s.scopeName=e,[r,sC(s,...t)]}function sC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const o=r.reduce((a,{useScope:l,scopeName:c}
vendor: 10,172 bytes, line 40
40)=>{const f=l(i)[`__scope${c}`];return{...a,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Hu(e){const t=iC(e),n=x.forwardRef((r,s)=>{const{children:i,...o}=r,a=x.Children.toArray(i),l=a.find(aC);if(l){const c=l.props.children,u=a.map(f=>f===l?x.Children.count(c)>1?x.Children.only(null):x.isValidElement(c)?c.props.children:null:f);return d.jsx(t,{...o,ref:s,children:x.isValidElement(c)?x.cloneElement(c,void 0,u):null})}return d.jsx(t,{...o,ref:s,children:i})});return n.displayName=`${e}.Slot`,n}function iC(e){const t=x.forwardRef((n,r)=>{const{children:s,...i}=n;if(x.isValidElement(s)){const o=cC(s),a=lC(i,s.props);return s.type!==x.Fragment&&(a.ref=r?Sv(r,o):o),x.cloneElement(s,a)}return x.Children.count(s)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Cv=Symbol("radix.slottable");function oC(e){const t=({children:n})=>d.jsx(d.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Cv,t}function aC(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Cv}function lC(e,t){const n={...t};for(const r in t){const s=e[r],i=t[r];/^on[A-Z]/.test(r)?s&&i?n[r]=(...a)=>{const l=i(...a);return s(...a),l}:s&&(n[r]=s):r==="style"?n[r]={...s,...i}:r==="className"&&(n[r]=[s,i].filter(Boolean).join(" "))}return{...e,...n}}function cC(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Ev(e){const t=e+"CollectionProvider",[n,r]=Ys(t),[s,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=y=>{const{scope:b,children:g}=y,m=M.useRef(null),v=M.useRef(new Map).current;return d.jsx(s,{scope:b,itemMap:v,collectionRef:m,children:g})};o.displayName=t;const a=e+"CollectionSlot",l=Hu(a),c=M.forwardRef((y,b)=>{const{scope:g,children:m}=y,v=i(a,g),S=ct(b,v.collectionRef);return d.jsx(l,{ref:S,children:m})});c.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",h=Hu(u),p=M.forwardRef((y,b)=>{const{scope:g,children:m,...v}=y,S=M.useRef(null),C=ct(b,S),E=i(u,g);return M.useEffect(()=>(E.itemMap.set(S,{ref:S,...v}),()=>void E.itemMap.delete(S))),d.jsx(h,{[f]:"",ref:C,children:m})});p.displayName=u;function w(y){const b=i(e+"CollectionConsumer",y);return M.useCallback(()=>{const m=b.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((E,T)=>v.indexOf(E.ref.current)-v.indexOf(T.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:o,Slot:c,ItemSlot:p},w,r]}var uC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ne=uC.reduce((e,t)=>{const n=Hu(`Primitive.${t}`),r=x.forwardRef((s,i)=>{const{asChild:o,...a}=s,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Tv(e,t){e&&go.flushSync(()=>e.dispatchEvent(t))}function sr(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function dC(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e);x.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var fC="DismissableLayer",Ku="dismissableLayer.update",hC="dismissableLayer.pointerDownOutside",pC="dismissableLayer.focusOutside",Qp,kv=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Nf=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:a,...l}=e,c=x.useContext(kv),[u,f]=x.useState(null),h=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=x.useState({}),w=ct(t,T=>f(T)),y=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(b),m=u?y.indexOf(u):-1,v=c.layersWithOutsidePointerEventsDisabled.size>0,S=m>=g,C=gC(T=>{const k=T.target,R=[...c.branches].some(A=>A.contains(k));!S||R||(s==null||s(T),o==null||o(T),T.defaultPrevented||a==null||a())},h),E=yC(T=>{const k=T.target;[...c.branches].some(A=>A.contains(k))||(i==null||i(T),o==null||o(T),T.defaultPrevented||a==null||a())},h);return dC(T=>{m===c.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},h),x.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Qp=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),qp(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Qp)}},[u,h,n,c]),x.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),qp())},[u,c]),x.useEffect(()=>{const T=()=>p({});return document.addEventListener(Ku,T),()=>document.removeEventListener(Ku,T)},[]),d.jsx(Ne.div,{...l,ref:w,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:we(e.onFocusCapture,E.onFocusCapture),onBlurCapture:we(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:we(e.onPointerDownCapture,C.onPointerDownCapture)})});Nf.displayName=fC;var mC="DismissableLayerBranch",Pv=x.forwardRef((e,t)=>{const n=x.useContext(kv),r=x.useRef(null),s=ct(t,r);return x.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),d.jsx(Ne.div,{...e,ref:s})});Pv.displayName=mC;function gC(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e),r=x.useRef(!1),s=x.useRef(()=>{});return x.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){Nv(hC,n,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=l,t.addEventListener("click",s.current,{once:!0})):l()}else t.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function yC(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e),r=x.useRef(!1);return x.useEffect(()=>{const s=i=>{i.target&&!r.current&&Nv(pC,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function qp(){const e=new CustomEvent(Ku);document.dispatchEvent(e)}function Nv(e,t,n,{discrete:r}){const s=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Tv(s,i):s.dispatchEvent(i)}var vC=Nf,xC=Pv,en=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},wC="Portal",jv=x.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[s,i]=x.useState(!1);en(()=>i(!0),[]);const o=n||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?wv.createPortal(d.jsx(Ne.div,{...r,ref:t}),o):null});jv.displayName=wC;function bC(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var jl=e=>{const{present:t,children:n}=e,r=SC(t),s=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),i=ct(r.ref,CC(s));return typeof n=="function"||r.isPresent?x.cloneElement(s,{ref:i}):null};jl.displayName="Presence";function SC(e){const[t,n]=x.useState(),r=x.useRef(null),s=x.useRef(e),i=x.useRef("none"),o=e?"mounted":"unmounted",[a,l]=bC(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const c=Go(r.current);i.current=a==="mounted"?c:"none"},[a]),en(()=>{const c=r.current,u=s.current;if(u!==e){const h=i.current,p=Go(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&h!==p?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,l]),en(()=>{if(t){let c;const u=t.ownerDocument.defaultView??window,f=p=>{const y=Go(r.current).includes(p.animationName);if(p.target===t&&y&&(l("ANIMATION_END"),!s.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",c=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=p=>{p.target===t&&(i.current=Go(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{u.clearTimeout(c),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function Go(e){return(e==null?void 0:e.animationName)||"none"}function CC(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var EC=Id[" useInsertionEffect ".trim().toString()]||en;function Rl({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,i,o]=TC({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:s;{const u=x.useRef(e!==void 0);x.useEffect(()=>{const f=u.current;f!==a&&console.warn(`${r} is changing from ${f?"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.`),u.current=a},[a,r])}const c=x.useCallback(u=>{var f;if(a){const h=kC(u)?u(e):u;h!==e&&((f=o.current)==null||f.call(o,h))}else i(u)},[a,e,i,o]);return[l,c]}function TC({defaultProp:e,onChange:t}
40){const[n,r]=x.useState(e),s=x.useRef(n),i=x.useRef(t);return EC(()=>{i.current=t},[t]),x.useEffect(()=>{var o;s.current!==n&&((o=i.current)==null||o.call(i,n),s.current=n)},[n,s]),[n,r,i]}function kC(e){return typeof e=="function"}var PC=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"}),NC="VisuallyHidden",Al=x.forwardRef((e,t)=>d.jsx(Ne.span,{...e,ref:t,style:{...PC,...e.style}}));Al.displayName=NC;var jC=Al,jf="ToastProvider",[Rf,RC,AC]=Ev("Toast"),[Rv,i3]=Ys("Toast",[AC]),[MC,Ml]=Rv(jf),Av=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:i=50,children:o}=e,[a,l]=x.useState(null),[c,u]=x.useState(0),f=x.useRef(!1),h=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${jf}\`. Expected non-empty \`string\`.`),d.jsx(Rf.Provider,{scope:t,children:d.jsx(MC,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:i,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:x.useCallback(()=>u(p=>p+1),[]),onToastRemove:x.useCallback(()=>u(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:o})})};Av.displayName=jf;var Mv="ToastViewport",OC=["F8"],Gu="toast.viewportPause",Yu="toast.viewportResume",Ov=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=OC,label:s="Notifications ({hotkey})",...i}=e,o=Ml(Mv,n),a=RC(n),l=x.useRef(null),c=x.useRef(null),u=x.useRef(null),f=x.useRef(null),h=ct(t,f,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=o.toastCount>0;x.useEffect(()=>{const b=g=>{var v;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((v=f.current)==null||v.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),x.useEffect(()=>{const b=l.current,g=f.current;if(w&&b&&g){const m=()=>{if(!o.isClosePausedRef.current){const E=new CustomEvent(Gu);g.dispatchEvent(E),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const E=new CustomEvent(Yu);g.dispatchEvent(E),o.isClosePausedRef.current=!1}},S=E=>{!b.contains(E.relatedTarget)&&v()},C=()=>{b.contains(document.activeElement)||v()};return b.addEventListener("focusin",m),b.addEventListener("focusout",S),b.addEventListener("pointermove",m),b.addEventListener("pointerleave",C),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{b.removeEventListener("focusin",m),b.removeEventListener("focusout",S),b.removeEventListener("pointermove",m),b.removeEventListener("pointerleave",C),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[w,o.isClosePausedRef]);const y=x.useCallback(({tabbingDirection:b})=>{const m=a().map(v=>{const S=v.ref.current,C=[S,...KC(S)];return b==="forwards"?C:C.reverse()});return(b==="forwards"?m.reverse():m).flat()},[a]);return x.useEffect(()=>{const b=f.current;if(b){const g=m=>{var C,E,T;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const k=document.activeElement,R=m.shiftKey;if(m.target===b&&R){(C=c.current)==null||C.focus();return}const I=y({tabbingDirection:R?"backwards":"forwards"}),G=I.findIndex(D=>D===k);Nc(I.slice(G+1))?m.preventDefault():R?(E=c.current)==null||E.focus():(T=u.current)==null||T.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[a,y]),d.jsxs(xC,{ref:l,role:"region","aria-label":s.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&d.jsx(Qu,{ref:c,onFocusFromOutsideViewport:()=>{const b=y({tabbingDirection:"forwards"});Nc(b)}}),d.jsx(Rf.Slot,{scope:n,children:d.jsx(Ne.ol,{tabIndex:-1,...i,ref:h})}),w&&d.jsx(Qu,{ref:u,onFocusFromOutsideViewport:()=>{const b=y({tabbingDirection:"backwards"});Nc(b)}})]})});Ov.displayName=Mv;var Dv="ToastFocusProxy",Qu=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,i=Ml(Dv,n);return d.jsx(Al,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:o=>{var c;const a=o.relatedTarget;!((c=i.viewport)!=null&&c.contains(a))&&r()}})});Qu.displayName=Dv;var yo="Toast",DC="toast.swipeStart",LC="toast.swipeMove",IC="toast.swipeCancel",VC="toast.swipeEnd",Lv=x.forwardRef((e,t)=>
40{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:i,...o}=e,[a,l]=Rl({prop:r,defaultProp:s??!0,onChange:i,caller:yo});return d.jsx(jl,{present:n||a,children:d.jsx(zC,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:sr(e.onPause),onResume:sr(e.onResume),onSwipeStart:we(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:we(e.onSwipeMove,c=>{const{x:u,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:we(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:we(e.onSwipeEnd,c=>{const{x:u,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});Lv.displayName=yo;var[_C,FC]=Rv(yo,{onClose(){}}),zC=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:s,open:i,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...w}=e,y=Ml(yo,n),[b,g]=x.useState(null),m=ct(t,D=>g(D)),v=x.useRef(null),S=x.useRef(null),C=s||y.duration,E=x.useRef(0),T=x.useRef(C),k=x.useRef(0),{onToastAdd:R,onToastRemove:A}=y,z=sr(()=>{var Q;(b==null?void 0:b.contains(document.activeElement))&&((Q=y.viewport)==null||Q.focus()),o()}),I=x.useCallback(D=>{!D||D===1/0||(window.clearTimeout(k.current),E.current=new Date().getTime(),k.current=window.setTimeout(z,D))},[z]);x.useEffect(()=>{const D=y.viewport;if(D){const Q=()=>{I(T.current),c==null||c()},B=()=>{const F=new Date().getTime()-E.current;T.current=T.current-F,window.clearTimeout(k.current),l==null||l()};return D.addEventListener(Gu,B),D.addEventListener(Yu,Q),()=>{D.removeEventListener(Gu,B),D.removeEventListener(Yu,Q)}}},[y.viewport,C,l,c,I]),x.useEffect(()=>{i&&!y.isClosePausedRef.current&&I(C)},[i,C,y.isClosePausedRef,I]),x.useEffect(()=>(R(),()=>A()),[R,A]);const G=x.useMemo(()=>b?Bv(b):null,[b]);return y.viewport?d.jsxs(d.Fragment,{children:[G&&d.jsx($C,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:G}),d.jsx(_C,{scope:n,onClose:z,children:go.createPortal(d.jsx(Rf.ItemSlot,{scope:n,children:d.jsx(vC,{asChild:!0,onEscapeKeyDown:we(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||z(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:d.jsx(Ne.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":y.swipeDirection,...w,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:we(e.onKeyDown,D=>{D.key==="Escape"&&(a==null||a(D.nativeEvent),D.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,z()))}),onPointerDown:we(e.onPointerDown,D=>{D.button===0&&(v.current={x:D.clientX,y:D.clientY})}),onPointerMove:we(e.onPointerMove,D=>{if(!v.current)return;const Q=D.clientX-v.current.x,B=D.clientY-v.current.y,F=!!S.current,P=["left","right"].includes(y.swipeDirection),j=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,L=P?j(0,Q):0,W=P?0:j(0,B),$=D.pointerType==="touch"?10:2,X={x:L,y:W},J={originalEvent:D,delta:X};F?(S.current=X,Yo(LC,f,J,{discrete:!1})):Xp(X,y.swipeDirection,$)?(S.current=X,Yo(DC,u,J,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(Q)>$||Math.abs(B)>$)&&(v.current=null)}),onPointerUp:we(e.onPointerUp,D=>{const Q=S.current,B=D.target;if(B.hasPointerCapture(D.pointerId)&&B.releasePointerCapture(D.pointerId),S.current=null,v.current=null,Q){const F=D.currentTarget,P={originalEvent:D,delta:Q};Xp(Q,y.swipeDirection,y.swipeThreshold)?Yo(VC,p,P,{discrete:!0}):Yo(IC,h,P,{discrete:!0}),F.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),$C=e=>{const{__scopeToast:t,children:n,...r}=e,s=Ml(yo,t),[i,o]=x.useState(!1),[a,l]=x.useState(!1);return WC(()=>o(!0)),x.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:d.jsx(jv,{asChild:!0,children:d.jsx(Al,{...r,children:i&&d.jsxs(d.Fragment,{children:[s.label," ",n]})})})},BC="ToastTitle",Iv=x.forwardRef((e,t)=>
vendor: 9,172 bytes, lines 40-124
40{const{__scopeToast:n,...r}=e;return d.jsx(Ne.div,{...r,ref:t})});Iv.displayName=BC;var UC="ToastDescription",Vv=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return d.jsx(Ne.div,{...r,ref:t})});Vv.displayName=UC;var _v="ToastAction",Fv=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?d.jsx($v,{altText:n,asChild:!0,children:d.jsx(Af,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${_v}\`. Expected non-empty \`string\`.`),null)});Fv.displayName=_v;var zv="ToastClose",Af=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=FC(zv,n);return d.jsx($v,{asChild:!0,children:d.jsx(Ne.button,{type:"button",...r,ref:t,onClick:we(e.onClick,s.onClose)})})});Af.displayName=zv;var $v=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return d.jsx(Ne.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function Bv(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),HC(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!s)if(i){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...Bv(r))}}),t}function Yo(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Tv(s,i):s.dispatchEvent(i)}var Xp=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),i=r>s;return t==="left"||t==="right"?i&&r>n:!i&&s>n};function WC(e=()=>{}){const t=sr(e);en(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function HC(e){return e.nodeType===e.ELEMENT_NODE}function KC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Nc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var GC=Av,Uv=Ov,Wv=Lv,Hv=Iv,Kv=Vv,Gv=Fv,Yv=Af;function Qv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Qv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function qv(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Qv(e))&&(r&&(r+=" "),r+=t);return r}const Zp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Jp=qv,YC=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Jp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:i}=t,o=Object.keys(s).map(c=>{const u=n==null?void 0:n[c],f=i==null?void 0:i[c];if(u===null)return null;const h=Zp(u)||Zp(f);return s[c][h]}),a=n&&Object.entries(n).reduce((c,u)=>{let[f,h]=u;return h===void 0||(c[f]=h),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:f,className:h,...p}=u;return Object.entries(p).every(w=>{let[y,b]=w;return Array.isArray(b)?b.includes({...i,...a}[y]):{...i,...a}[y]===b})?[...c,f,h]:c},[]);return Jp(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const QC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Xv=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var qC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const XC=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...a},l)=>x.createElement("svg",{ref:l,...qC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Xv("lucide",s),...a},[...o.map(([c,u])=>x.createElement(c,u)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const U=(e,t)=>{const n=x.forwardRef(({className:r,...s},i)=>x.createElement(XC,{ref:i,iconNode:t,className:Xv(`lucide-${QC(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const ZC=U("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const JC=U("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const eE=U("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const tE=U("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const Zv=U("BadgePercent",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const nE=U("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const rE=U("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const sE=U("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const va=U("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const Jv=U("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const iE=U("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const oE=U("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"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const ex=U("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const jc=U("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const aE=U("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const lE=U("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const cE=U("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const uE=U("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"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const dE=U("Factory",[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const fE=U("Gem",[["path",{d:"M6 3h12l4 6-10 13L2 9Z",key:"1pcd5k"}],["path",{d:"M11 3 8 9l4 13 4-13-3-6",key:"1fcu3u"}],["path",{d:"M2 9h20",key:"16fsjt"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const em=U("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const hE=U("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const pE=U("HandHeart",[["path",{d:"M11 14h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16",key:"1ifwr1"}],["path",{d:"m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"17abbs"}],["path",{d:"m2 15 6 6",key:"10dquu"}],["path",{d:"M19.5 8.5c.7-.7 1.5-1.6 1.5-2.7A2.73 2.73 0 0 0 16 4a2.78 2.78 0 0 0-5 1.8c0 1.2.8 2 1.5 2.8L16 12Z",key:"1h3036"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const mE=U("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"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const gE=U("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const yE=U("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const tx=U("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
196 * @license lucide-react v0.462.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const vE=U("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
201 * @license lucide-react v0.462.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const xE=U("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/**
206 * @license lucide-react v0.462.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const nx=U("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
211 * @license lucide-react v0.462.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const Mf=U("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3
215kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/**
216 * @license lucide-react v0.462.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const wE=U("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
221 * @license lucide-react v0.462.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const bE=U("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
226 * @license lucide-react v0.462.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const SE=U("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
231 * @license lucide-react v0.462.0 - ISC
232 *
233 * This source code is licensed under the ISC license.
234 * See the LICENSE file in the root directory of this source tree.
235 */const rx=U("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);/**
236 * @license lucide-react v0.462.0 - ISC
237 *
238 * This source code is licensed under the ISC license.
239 * See the LICENSE file in the root directory of this source tree.
240 */const CE=U("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
241 * @license lucide-react v0.462.0 - ISC
242 *
243 * This source code is licensed under the ISC license.
244 * See the LICENSE file in the root directory of this source tree.
245 */const qu=U("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
246 * @license lucide-react v0.462.0 - ISC
247 *
248 * This source code is licensed under the ISC license.
249 * See the LICENSE file in the root directory of this source tree.
250 */const EE=U("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]]);/**
251 * @license lucide-react v0.462.0 - ISC
252 *
253 * This source code is licensed under the ISC license.
254 * See the LICENSE file in the root directory of this source tree.
255 */const TE=U("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"}]]);/**
256 * @license lucide-react v0.462.0 - ISC
257 *
258 * This source code is licensed under the ISC license.
259 * See the LICENSE file in the root directory of this source tree.
260 */const kE=U("Timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]);/**
261 * @license lucide-react v0.462.0 - ISC
262 *
263 * This source code is licensed under the ISC license.
264 * See the LICENSE file in the root directory of this source tree.
265 */const PE=U("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
266 * @license lucide-react v0.462.0 - ISC
267 *
268 * This source code is licensed under the ISC license.
269 * See the LICENSE file in the root directory of this source tree.
270 */const sx=U("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
271 * @license lucide-react v0.462.0 - ISC
272 *
273 * This source code is licensed under the ISC license.
274 * See the LICENSE file in the root directory of this source tree.
275 */const vo=U("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"}]]);/**
276 * @license lucide-react v0.462.0 - ISC
277 *
278 * This source code is licensed under the ISC license.
279 * See the LICENSE file in the root directory of this source tree.
280 */const NE=U("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
281 * @license lucide-react v0.462.0 - ISC
282 *
283 * This source code is licensed under the ISC license.
284 * See the LICENSE file in the root directory of this source tree.
285 */const ix=U("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,906 bytes, line 285
285],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Of="-",jE=e=>{const t=AE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(Of);return a[0]===""&&a.length!==1&&a.shift(),ox(a,t)||RE(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},ox=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?ox(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(Of);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},tm=/^\[(.+)\]$/,RE=e=>{if(tm.test(e)){const t=tm.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},AE=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return OE(Object.entries(e.classGroups),n).forEach(([i,o])=>{Xu(o,r,i,t)}),r},Xu=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:nm(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(ME(s)){Xu(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,o])=>{Xu(o,nm(t,i),n,r)})})},nm=(e,t)=>{let n=e;return t.split(Of).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},ME=e=>e.isThemeGetter,OE=(e,t)=>t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[t+o,a])):i);return[n,s]}):e,DE=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}},ax="!",LE=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length,o=a=>{const l=[];let c=0,u=0,f;for(let b=0;b<a.length;b++){let g=a[b];if(c===0){if(g===s&&(r||a.slice(b,b+i)===t)){l.push(a.slice(u,b)),u=b+i;continue}if(g==="/"){f=b;continue}}g==="["?c++:g==="]"&&c--}const h=l.length===0?a:a.substring(u),p=h.startsWith(ax),w=p?h.substring(1):h,y=f&&f>u?f-u:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:w,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:o}):o},IE=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},VE=e=>({cache:DE(e.cacheSize),parseClassName:LE(e),...jE(e)}),_E=/\s+/,FE=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=[],o=e.trim().split(_E);let a="";for(let l=o.length-1;l>=0;l-=1){const c=o[l],{modifiers:u,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(c);let w=!!p,y=r(w?h.substring(0,p):h);if(!y){if(!w){a=c+(a.length>0?" "+a:a);continue}if(y=r(h),!y){a=c+(a.length>0?" "+a:a);continue}w=!1}const b=IE(u).join(":"),g=f?b+ax:b,m=g+y;if(i.includes(m))continue;i.push(m);const v=s(y,w);for(let S=0;S<v.length;++S){const C=v[S];i.push(g+C)}a=c+(a.length>0?" "+a:a)}return a};function zE(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=lx(t))&&(r&&(r+=" "),r+=n);return r}const lx=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=lx(e[r]))&&(n&&(n+=" "),n+=t);return n};function $E(e,...t){let n,r,s,i=o;function o(l){const c=t.reduce((u,f)=>f(u),e());return n=VE(c),r=n.cache.get,s=n.cache.set,i=a,a(l)}function a(l){const c=r(l);if(c)return c;const u=FE(l,n);return s(l,u),u}return function(){return i(zE.apply(null,arguments))}}const ae=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},cx=/^\[(?:([a-z-]+):)?(.+)\]$/i,BE=/^\d+\/\d+$/,UE=new Set(["px","full","screen"]),WE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,HE=/\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$/,KE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,GE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,YE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,on=e=>Cs(e)||UE.has(e)||BE.test(e),jn=e=>Qs(e,"length",nT),Cs=e=>!!e&&!Number.isNaN(Number(e)),Rc=e=>Qs(e,"number",Cs),fi=e=>!!e&&Number.isInteger(Number(e)),QE=e=>e.endsWith("%")&&Cs(e.slice(0,-1)),Y=e=>cx.test(e),Rn=e=>WE.test(e),qE=new Set(["length","size","percentage"]),XE=e=>Qs(e,qE,ux),ZE=e=>Qs(e,"position",ux),JE=new Set(["image","url"]),eT=e=>Qs(e,JE,sT),tT=e=>Qs(e,"",rT),hi=()=>!0,Qs=(e,t,n)=>{const r=cx.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},nT=e=>HE.test(e)&&!KE.test(e),ux=()=>!1,rT=e=>GE.test(e),sT=e=>YE.test(e),iT=()=>{const e=ae("colors"),t=ae("spacing"),n=ae("blur"),r=ae("brightness"),s=ae("borderColor"),i=ae("borderRadius"),o=ae("borderSpacing"),a=ae("borderWidth"),l=ae("contrast"),c=ae("grayscale"),u=ae("hueRotate"),f=ae("invert"),h=ae("gap"),p=ae("gradientColorStops"),w=ae("gradientColorStopPositions"),y=ae("inset"),b=ae("margin"),g=ae("opacity"),m=ae("padding"),v=ae("saturate"),S=ae("scale"),C=ae("sepia"),E=ae("skew"),T=ae("space"),k=ae("translate"),R=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",Y,t],I=()=>[Y,t],G=()=>["",on,jn],D=()=>["auto",Cs,Y],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",Y],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[Cs,Y];return{cacheSize:500,separator:":",theme:{colors:[hi],spacing:[on,jn],blur:["none","",Rn,Y],brightness:W(),borderColor:[e],borderRadius:["n
285one","","full",Rn,Y],borderSpacing:I(),borderWidth:G(),contrast:W(),grayscale:j(),hueRotate:W(),invert:j(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[QE,jn],inset:z(),margin:z(),opacity:W(),padding:I(),saturate:W(),scale:W(),sepia:j(),skew:W(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[Rn]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Q(),Y]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fi,Y]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Y]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",fi,Y]}],"grid-cols":[{"grid-cols":[hi]}],"col-start-end":[{col:["auto",{span:["full",fi,Y]},Y]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[hi]}],"row-start-end":[{row:["auto",{span:[fi,Y]},Y]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"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:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"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",Y,t]}],"min-w":[{"min-w":[Y,t,"min","max","fit"]}],"max-w":[{"max-w":[Y,t,"none","full","min","max","fit","prose",{screen:[Rn]},Rn]}],h:[{h:[Y,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Y,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Rn,jn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Rc]}],"font-family":[{font:[hi]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Y]}],"line-clamp":[{"line-clamp":["none",Cs,Rc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",on,Y]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",on,jn]}],"underline-offset":[{"underline-offset":["auto",on,Y]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),ZE]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",XE]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eT]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}
vendor: 5,172 bytes, line 285
285],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...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":[g]}],"divide-style":[{divide:B()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[on,Y]}],"outline-w":[{outline:[on,jn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[on,jn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rn,tT]}],"shadow-color":[{shadow:[hi]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Rn,Y]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],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":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Y]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[fi,Y]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"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",Y]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Y]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,487 bytes, line 285
285],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Y]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[on,jn,Rc]}],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"]}}},oT=$E(iT);function rn(...e){return oT(qv(e))}const aT=GC,dx=x.forwardRef(({className:e,...t},n)=>d.jsx(Uv,{ref:n,className:rn("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));dx.displayName=Uv.displayName;const lT=YC("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"}}),fx=x.forwardRef(({className:e,variant:t,...n},r)=>d.jsx(Wv,{ref:r,className:rn(lT({variant:t}),e),...n}));fx.displayName=Wv.displayName;const cT=x.forwardRef(({className:e,...t},n)=>d.jsx(Gv,{ref:n,className:rn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));
285cT.displayName=Gv.displayName;const hx=x.forwardRef(({className:e,...t},n)=>d.jsx(Yv,{ref:n,className:rn("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:d.jsx(ix,{className:"h-4 w-4"})}));hx.displayName=Yv.displayName;const px=x.forwardRef(({className:e,...t},n)=>d.jsx(Hv,{ref:n,className:rn("text-sm font-semibold",e),...t}));px.displayName=Hv.displayName;const mx=x.forwardRef(({className:e,...t},n)=>d.jsx(Kv,{ref:n,className:rn("text-sm opacity-90",e),...t}));mx.displayName=Kv.displayName;function uT(){const{toasts:e}=rC();return d.jsxs(aT,{children:[e.map(function({id:t,title:n,description:r,action:s,...i}){return d.jsxs(fx,{...i,children:[d.jsxs("div",{className:"grid gap-1",children:[n&&d.jsx(px,{children:n}),r&&d.jsx(mx,{children:r})]}),s,d.jsx(hx,{})]},t)}),d.jsx(dx,{})]})}var rm=["light","dark"],dT="(prefers-color-scheme: dark)",fT=x.createContext(void 0),hT={setTheme:e=>{},themes:[]},pT=()=>{var e;return(e=x.useContext(fT))!=null?e:hT};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:i,value:o,attrs:a,nonce:l})=>{let c=i==="system",u=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=s?rm.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(w,y=!1,b=!0)=>{let g=o?o[w]:w,m=y?w+"|| ''":`'${g}'`,v="";return s&&b&&!y&&rm.includes(w)&&(v+=`d.style.colorScheme = '${w}';`),n==="class"?y||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},p=e?`!function(){${u}${h(e)}}()`:r?`!function(){try{${u}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${dT}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}${c?"":"else{"+h(i,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}else{${h(i,!1,!1)};}${f}}catch(t){}}();`;return x.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var mT=e=>{switch(e){case"success":return vT;case"info":return wT;case"warning":return xT;case"error":return bT;default:return null}},gT=Array(12).fill(0),yT=({visible:e,className:t})=>M.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},M.createElement("div",{className:"sonner-spinner"},gT.map((n,r)=>M.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),vT=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),xT=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),wT=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),bT=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),ST=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},M.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),M.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),CT=()=>
285{let[e,t]=M.useState(document.hidden);return M.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Zu=1,ET=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,s=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Zu++,i=this.toasts.find(a=>a.id===s),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),i?this.toasts=this.toasts.map(a=>a.id===s?(this.publish({...a,...e,id:s,title:n}),{...a,...e,id:s,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:s}),s},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)=>
285this.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(),s=n!==void 0,i,o=r.then(async l=>{if(i=["resolve",l],M.isValidElement(l))s=!1,this.create({id:n,type:"default",message:l});else if(kT(l)&&!l.ok){s=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,u=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:c,description:u})}else if(t.success!==void 0){s=!1;let c=typeof t.success=="function"?await t.success(l):t.success,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:c,description:u})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){s=!1;let c=typeof t.error=="function"?await t.error(l):t.error,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:c,description:u})}}).finally(()=>{var l;s&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,c)=>o.then(()=>i[0]==="reject"?c(i[1]):l(i[1])).catch(c));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)||Zu++;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}},Xe=new ET,TT=(e,t)=>{let n=(t==null?void 0:t.id)||Zu++;return Xe.addToast({title:e,...t,id:n}),n},kT=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",PT=TT,NT=()=>Xe.toasts,jT=()=>Xe.getActiveToasts();Object.assign(PT,{success:Xe.success,info:Xe.info,warning:Xe.warning,error:Xe.error,custom:Xe.custom,message:Xe.message,promise:Xe.promise,dismiss:Xe.dismiss,loading:Xe.loading},{getHistory:NT,getToasts:jT});function RT(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))}RT(`: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;
285left: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}
285: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%);
285--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%)}
286`);function Qo(e){return e.label!==void 0}var AT=3,MT="32px",OT="16px",sm=4e3,DT=356,LT=14,IT=20,VT=200;function Pt(...e){return e.filter(Boolean).join(" ")}function _T(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var FT=e=>{var t,n,r,s,i,o,a,l,c,u,f;let{invert:h,toast:p,unstyled:w,interacting:y,setHeights:b,visibleToasts:g,heights:m,index:v,toasts:S,expanded:C,removeToast:E,defaultRichColors:T,closeButton:k,style:R,cancelButtonStyle:A,actionButtonStyle:z,className:I="",descriptionClassName:G="",duration:D,position:Q,gap:B,loadingIcon:F,expandByDefault:P,classNames:j,icons:L,closeButtonAriaLabel:W="Close toast",pauseWhenPageIsHidden:$}
286=e,[X,J]=M.useState(null),[be,Le]=M.useState(null),[ne,Hr]=M.useState(!1),[Sn,hr]=M.useState(!1),[Cn,Kr]=M.useState(!1),[En,ko]=M.useState(!1),[Ql,Po]=M.useState(!1),[ql,ni]=M.useState(0),[Gr,Ah]=M.useState(0),ri=M.useRef(p.duration||D||sm),Mh=M.useRef(null),pr=M.useRef(null),y2=v===0,v2=v+1<=g,ft=p.type,Yr=p.dismissible!==!1,x2=p.className||"",w2=p.descriptionClassName||"",No=M.useMemo(()=>m.findIndex(H=>H.toastId===p.id)||0,[m,p.id]),b2=M.useMemo(()=>{var H;return(H=p.closeButton)!=null?H:k},[p.closeButton,k]),Oh=M.useMemo(()=>p.duration||D||sm,[p.duration,D]),Xl=M.useRef(0),Qr=M.useRef(0),Dh=M.useRef(0),qr=M.useRef(null),[S2,C2]=Q.split("-"),Lh=M.useMemo(()=>m.reduce((H,se,ue)=>ue>=No?H:H+se.height,0),[m,No]),Ih=CT(),E2=p.invert||h,Zl=ft==="loading";Qr.current=M.useMemo(()=>No*B+Lh,[No,Lh]),M.useEffect(()=>{ri.current=Oh},[Oh]),M.useEffect(()=>{Hr(!0)},[]),M.useEffect(()=>{let H=pr.current;if(H){let se=H.getBoundingClientRect().height;return Ah(se),b(ue=>[{toastId:p.id,height:se,position:p.position},...ue]),()=>b(ue=>ue.filter(Ct=>Ct.toastId!==p.id))}},[b,p.id]),M.useLayoutEffect(()=>{if(!ne)return;let H=pr.current,se=H.style.height;H.style.height="auto";let ue=H.getBoundingClientRect().height;H.style.height=se,Ah(ue),b(Ct=>Ct.find(Et=>Et.toastId===p.id)?Ct.map(Et=>Et.toastId===p.id?{...Et,height:ue}:Et):[{toastId:p.id,height:ue,position:p.position},...Ct])},[ne,p.title,p.description,b,p.id]);let Tn=M.useCallback(()=>{hr(!0),ni(Qr.current),b(H=>H.filter(se=>se.toastId!==p.id)),setTimeout(()=>{E(p)},VT)},[p,E,b,Qr]);M.useEffect(()=>{if(p.promise&&ft==="loading"||p.duration===1/0||p.type==="loading")return;let H;return C||y||$&&Ih?(()=>{if(Dh.current<Xl.current){let se=new Date().getTime()-Xl.current;ri.current=ri.current-se}Dh.current=new Date().getTime()})():ri.current!==1/0&&(Xl.current=new Date().getTime(),H=setTimeout(()=>{var se;(se=p.onAutoClose)==null||se.call(p,p),Tn()},ri.current)),()=>clearTimeout(H)},[C,y,p,ft,$,Ih,Tn]),M.useEffect(()=>{p.delete&&Tn()},[Tn,p.delete]);function T2(){var H,se,ue;return L!=null&&L.loading?M.createElement("div",{className:Pt(j==null?void 0:j.loader,(H=p==null?void 0:p.classNames)==null?void 0:H.loader,"sonner-loader"),"data-visible":ft==="loading"},L.loading):F?M.createElement("div",{className:Pt(j==null?void 0:j.loader,(se=p==null?void 0:p.classNames)==null?void 0:se.loader,"sonner-loader"),"data-visible":ft==="loading"},F):M.createElement(yT,{className:Pt(j==null?void 0:j.loader,(ue=p==null?void 0:p.classNames)==null?void 0:ue.loader),visible:ft==="loading"})}return M.createElement("li",{tabIndex:0,ref:pr,className:Pt(I,x2,j==null?void 0:j.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,j==null?void 0:j.default,j==null?void 0:j[ft],(n=p==null?void 0:p.classNames)==null?void 0:n[ft]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:T,"data-styled":!(p.jsx||p.unstyled||w),"data-mounted":ne,"data-promise":!!p.promise,"data-swiped":Ql,"data-removed":Sn,"data-visible":v2,"data-y-position":S2,"data-x-position":C2,"data-index":v,"data-front":y2,"data-swiping":Cn,"data-dismissible":Yr,"data-type":ft,"data-invert":E2,"data-swipe-out":En,"data-swipe-direction":be,"data-expanded":!!(C||P&&ne),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${Sn?ql:Qr.current}px`,"--initial-height":P?"auto":`${Gr}px`,...R,...p.style},onDragEnd:()=>{Kr(!1),J(null),qr.current=null},onPointerDown:H=>{Zl||!Yr||(Mh.current=new Date,ni(Qr.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(Kr(!0),qr.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,se,ue,Ct;if(En||!Yr)return;qr.current=null;let Et=Number(((H=pr.current)==null?void 0:H.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),kn=Number(((se=pr.current)==null?void 0:se.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),mr=new Date().getTime()-((ue=Mh.current)==null?void 0:ue.getTime()),Tt=X==="x"?Et:kn,Pn=Math.abs(Tt)/mr;if(Math.abs(Tt)>=IT||Pn>.11){ni(Qr.current),(Ct=p.onDismiss)==null||Ct.call(p,p),Le(X==="x"?Et>0?"right":"left":kn>0?"down":"up"),Tn(),ko(!0),Po(!1);return}Kr(!1),J(null)},onPointerMove:H=>{var se,ue,Ct,Et;if(!qr.current||!Yr||((se=window.getSelection())==null?void 0:se.toString().length)>0)return;let kn=H.clientY-qr.current.y,mr=H.clientX-qr.current.x,Tt=(ue=e.swipeDirections)!=null?ue:_T(Q);!X&&(Math.abs(mr)>1||Math.abs(kn)>1)&&J(Math.abs(mr)>Math.abs(kn)?"x":"y");let Pn={x:0,y:0};X==="y"?(Tt.includes("top")||Tt.includes("bottom"))&&(Tt.includes("top")&&kn<0||Tt.includes("bottom")&&kn>0)&&(Pn.y=kn):X==="x"&&(Tt.includes("left")||Tt.includes("right"))&&(Tt.includes("left")&&mr<0||Tt.includes("right")&&mr>0)&&(Pn.x=mr),(Math.abs(Pn.x)>0||Math.abs(Pn.y)>0)&&Po(!0),(Ct=pr.current)==null||Ct.style.setProperty("--swipe-amount-x",`${Pn.x}px`),(Et=pr.current)==null||Et.style.setProperty("--swipe-amount-y",`${Pn.y}px`)}},b2&&!p.jsx?M.createElement("button",{"aria-label":W,"data-disabled":Zl,"data-close-button":!0,onClick:Zl||!Yr?()=>{}:()=>{var H;Tn(),(H=p.onDismiss)==null||H.call(p,p)},className:Pt(j==null?void 0:j.closeButton,(s=p==null?void 0:p.classNames)==null?void 0:s.closeButton)},(i=L==null?void 0:L.close)!=null?i:ST):null,p.jsx||x.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:M.createElement(M.Fragment,null,ft||p.icon||p.promise?M.createElement("div",{"data-icon":"",className:Pt(j==null?void 0:j.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)}
286,p.promise||p.type==="loading"&&!p.icon?p.icon||T2():null,p.type!=="loading"?p.icon||(L==null?void 0:L[ft])||mT(ft):null):null,M.createElement("div",{"data-content":"",className:Pt(j==null?void 0:j.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},M.createElement("div",{"data-title":"",className:Pt(j==null?void 0:j.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?M.createElement("div",{"data-description":"",className:Pt(G,w2,j==null?void 0:j.description,(c=p==null?void 0:p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),x.isValidElement(p.cancel)?p.cancel:p.cancel&&Qo(p.cancel)?M.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||A,onClick:H=>{var se,ue;Qo(p.cancel)&&Yr&&((ue=(se=p.cancel).onClick)==null||ue.call(se,H),Tn())},className:Pt(j==null?void 0:j.cancelButton,(u=p==null?void 0:p.classNames)==null?void 0:u.cancelButton)},p.cancel.label):null,x.isValidElement(p.action)?p.action:p.action&&Qo(p.action)?M.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||z,onClick:H=>{var se,ue;Qo(p.action)&&((ue=(se=p.action).onClick)==null||ue.call(se,H),!H.defaultPrevented&&Tn())},className:Pt(j==null?void 0:j.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function im(){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 zT(e,t){let n={};return[e,t].forEach((r,s)=>{let i=s===1,o=i?"--mobile-offset":"--offset",a=i?OT:MT;function l(c){["top","right","bottom","left"].forEach(u=>{n[`${o}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${o}-${c}`]=a:n[`${o}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(a)}),n}var $T=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:i,closeButton:o,className:a,offset:l,mobileOffset:c,theme:u="light",richColors:f,duration:h,style:p,visibleToasts:w=AT,toastOptions:y,dir:b=im(),gap:g=LT,loadingIcon:m,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[E,T]=M.useState([]),k=M.useMemo(()=>Array.from(new Set([r].concat(E.filter($=>$.position).map($=>$.position)))),[E,r]),[R,A]=M.useState([]),[z,I]=M.useState(!1),[G,D]=M.useState(!1),[Q,B]=M.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),F=M.useRef(null),P=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=M.useRef(null),L=M.useRef(!1),W=M.useCallback($=>{T(X=>{var J;return(J=X.find(be=>be.id===$.id))!=null&&J.delete||Xe.dismiss($.id),X.filter(({id:be})=>be!==$.id)})},[]);return M.useEffect(()=>Xe.subscribe($=>{if($.dismiss){T(X=>X.map(J=>J.id===$.id?{...J,delete:!0}:J));return}setTimeout(()=>{wv.flushSync(()=>{T(X=>{let J=X.findIndex(be=>be.id===$.id);return J!==-1?[...X.slice(0,J),{...X[J],...$},...X.slice(J+1)]:[$,...X]})})})}),[]),M.useEffect(()=>{if(u!=="system"){B(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:X})=>{B(X?"dark":"light")})}catch{$.addListener(({matches:J})=>{try{B(J?"dark":"light")}catch(be){console.error(be)}})}},[u]),M.useEffect(()=>{E.length<=1&&I(!1)},[E]),M.useEffect(()=>{let $=X=>{var J,be;s.every(Le=>X[Le]||X.code===Le)&&(I(!0),(J=F.current)==null||J.focus()),X.code==="Escape"&&(document.activeElement===F.current||(be=F.current)!=null&&be.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[s]),M.useEffect(()=>{if(F.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,L.current=!1)}},[F.current]),M.createElement("section",{ref:t,"aria-label":`${S} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map(($,X)=>{var J;let[be,Le]=$.split("-");return E.length?M.createElement("ol",{key:$,dir:b==="auto"?im():b,tabIndex:-1,ref:F,className:a,"data-sonner-toaster":!0,"data-theme":Q,"data-y-position":be,"data-lifted":z&&E.length>1&&!i,"data-x-position":Le,style:{"--front-toast-height":`${((J=R[0])==null?void 0:J.height)||0}px`,"--width":`${DT}px`,"--gap":`${g}px`,...p,...zT(l,c)},onBlur:ne=>{L.current&&!ne.currentTarget.contains(ne.relatedTarget)&&(L.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||L.current||(L.current=!0,j.current=ne.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{G||I(!1)},onDragEnd:()=>I(!1),onPointerDown:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||D(!0)},onPointerUp:()=>D(!1)},E.filter(ne=>!ne.position&&X===0||ne.position===$).map((ne,Hr)=>{var Sn,hr;return M.createElement(FT,{key:ne.id,icons:v,index:Hr,toast:ne,defaultRichColors:f,duration:(Sn=y==null?void 0:y.duration)!=null?Sn:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:w,closeButton:(hr=y==null?void 0:y.closeButton)!=null?hr:o,interacting:G,position:$,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:W,toasts:E.filter(Cn=>Cn.position==ne.position),heights:R.filter(Cn=>Cn.position==ne.position),setHeights:A,expandByDefault:i,gap:g,loadingIcon:m,expanded:z,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const BT=({...e})=>{const{theme:t="system"}=pT();return d.jsx($T,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var UT=Id[" useId ".trim().toString()]||(()=>{}),WT=0;function gx(e){const[t,n]=x.useState(UT());return en(()=>{n(r=>r??String(WT++))},[e]),t?`radix-${t}`:""}const HT=["top","right","bottom","left"],ir=Math.min,st=Math.max,Xa=Math.round,qo=Math.floor,Zt=e=>({x:e,y:e}
vendor: 11,921 bytes, line 286
286),KT={left:"right",right:"left",bottom:"top",top:"bottom"},GT={start:"end",end:"start"};function Ju(e,t,n){return st(e,ir(t,n))}function vn(e,t){return typeof e=="function"?e(t):e}function xn(e){return e.split("-")[0]}function qs(e){return e.split("-")[1]}function Df(e){return e==="x"?"y":"x"}function Lf(e){return e==="y"?"height":"width"}const YT=new Set(["top","bottom"]);function Qt(e){return YT.has(xn(e))?"y":"x"}function If(e){return Df(Qt(e))}function QT(e,t,n){n===void 0&&(n=!1);const r=qs(e),s=If(e),i=Lf(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=Za(o)),[o,Za(o)]}function qT(e){const t=Za(e);return[ed(e),t,ed(t)]}function ed(e){return e.replace(/start|end/g,t=>GT[t])}const om=["left","right"],am=["right","left"],XT=["top","bottom"],ZT=["bottom","top"];function JT(e,t,n){switch(e){case"top":case"bottom":return n?t?am:om:t?om:am;case"left":case"right":return t?XT:ZT;default:return[]}}function ek(e,t,n,r){const s=qs(e);let i=JT(xn(e),n==="start",r);return s&&(i=i.map(o=>o+"-"+s),t&&(i=i.concat(i.map(ed)))),i}function Za(e){return e.replace(/left|right|bottom|top/g,t=>KT[t])}function tk(e){return{top:0,right:0,bottom:0,left:0,...e}}function yx(e){return typeof e!="number"?tk(e):{top:e,right:e,bottom:e,left:e}}function Ja(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function lm(e,t,n){let{reference:r,floating:s}=e;const i=Qt(t),o=If(t),a=Lf(o),l=xn(t),c=i==="y",u=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[a]/2-s[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-s.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-s.width,y:f};break;default:p={x:r.x,y:r.y}}switch(qs(t)){case"start":p[o]-=h*(n&&c?-1:1);break;case"end":p[o]+=h*(n&&c?-1:1);break}return p}const nk=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=n,a=i.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:f}=lm(c,r,l),h=r,p={},w=0;for(let y=0;y<a.length;y++){const{name:b,fn:g}=a[y],{x:m,y:v,data:S,reset:C}=await g({x:u,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:p,rects:c,platform:o,elements:{reference:e,floating:t}});u=m??u,f=v??f,p={...p,[b]:{...p[b],...S}},C&&w<=50&&(w++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(c=C.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:s}):C.rects),{x:u,y:f}=lm(c,h,l)),y=-1)}return{x:u,y:f,placement:h,strategy:s,middlewareData:p}};async function Xi(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:i,rects:o,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=vn(t,e),w=yx(p),b=a[h?f==="floating"?"reference":"floating":f],g=Ja(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),m=f==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),S=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},C=Ja(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:l}):m);return{top:(g.top-C.top+w.top)/S.y,bottom:(C.bottom-g.bottom+w.bottom)/S.y,left:(g.left-C.left+w.left)/S.x,right:(C.right-g.right+w.right)/S.x}}const rk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:i,platform:o,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=vn(e,t)||{};if(c==null)return{};const f=yx(u),h={x:n,y:r},p=If(s),w=Lf(p),y=await o.getDimensions(c),b=p==="y",g=b?"top":"left",m=b?"bottom":"right",v=b?"clientHeight":"clientWidth",S=i.reference[w]+i.reference[p]-h[p]-i.floating[w],C=h[p]-i.reference[p],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let T=E?E[v]:0;(!T||!await(o.isElement==null?void 0:o.isElement(E)))&&(T=a.floating[v]||i.floating[w]);const k=S/2-C/2,R=T/2-y[w]/2-1,A=ir(f[g],R),z=ir(f[m],R),I=A,G=T-y[w]-z,D=T/2-y[w]/2+k,Q=Ju(I,D,G),B=!l.arrow&&qs(s)!=null&&D!==Q&&i.reference[w]/2-(D<I?A:z)-y[w]/2<0,F=B?D<I?D-I:D-G:0;return{[p]:h[p]+F,data:{[p]:Q,centerOffset:D-Q-F,...B&&{alignmentOffset:F}},reset:B}}}),sk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:i,rects:o,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:y=!0,...b}=vn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=xn(s),m=Qt(a),v=xn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=h||(v||!y?[Za(a)]:qT(a)),E=w!=="none";!h&&E&&C.push(...ek(a,y,w,S));const T=[a,...C],k=await Xi(t,b),R=[];let A=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&R.push(k[g]),f){const D=QT(s,o,S);R.push(k[D[0]],k[D[1]])}if(A=[...A,{placement:s,overflows:R}],!R.every(D=>D<=0)){var z,I;const D=(((z=i.flip)==null?void 0:z.index)||0)+1,Q=T[D];if(Q&&(!(f==="alignment"?m!==Qt(Q):!1)||A.every(P=>P.overflows[0]>0&&Qt(P.placement)===m)))return{data:{index:D,overflows:A},reset:{placement:Q}};let B=(I=A.filter(F=>F.overflows[0]<=0).sort((F,P)=>F.overflows[1]-P.overflows[1])[0])==null?void 0:I.placement;if(!B)switch(p){case"bestFit":{var G;const F=(G=A.filter(P=>{if(E){const j=Qt(P.placement);return j===m||j==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(j=>j>0).reduce((j,L)=>j+L,0)]).sort((P,j)=>P[1]-j[1])[0])==null?void 0:G[0];F&&(B=F);break}case"initialPlacement":B=a;break}if(s!==B)return{reset:{placement:B}}}return{}}}};function cm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function um(e){return HT.some(t=>e[t]>=0)}const ik=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=vn(e,t);switch(r){case"referenceHidden":{const i=await Xi(t,{...s,elementContext:"reference"}),o=cm(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:um(o)}}}case"escaped":{const i=await Xi(t,{...s,altBoundary:!0}),o=cm(i,n.floating);return{data:{escapedOffsets:o,escaped:um(o)}}}default:return{}}}}},vx=new Set(["left","top"]);async function ok(e,t){const{placement:n,platform:r,elements:s}=e,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=xn(n),a=qs(n),l=Qt(n)==="y",c=vx.has(o)?-1:1,u=i&&l?-1:1,f=vn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:w}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof w=="number"&&(p=a==="end"?w*-1:w),l?{x:p*u,y:h*c}:{x:h*c,y:p*u}}const ak=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:i,placement:o,middlewareData:a}=t,l=await ok(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:i+l.y,data:{...l,placement:o}}}}},lk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:b=>{let{x:g,y:m}=b;return{x:g,y:m}}},...l}=vn(e,t),c={x:n,y:r},u=await Xi(t,l),f=Qt(xn(s)),h=Df(f);let p=c[h],w=c[f];if(i){const b=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=p+u[b],v=p-u[g];p=Ju(m,p,v)}if(o){const b=f==="y"?"top":"left",g=f==="y"?"bottom":"right",m=w+u[b],v=w-u[g];w=Ju(m,w,v)}const y=a.fn({...t,[h]:p,[f]:w});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:i,[f]:o}}}}}},ck=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:i,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=vn(e,t),u={x:n,y:r},f=Qt(s),h=Df(f);let p=u[h],w=u[f];const y=vn(a,t),b=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const v=h==="y"?"height":"width",S=i.reference[h]-i.floating[v]+b.mainAxis,C=i.reference[h]+i.reference[v]-b.mainAxis;p<S?p=S:p>C&&(p=C)}if(c){var g,m;const v=h==="y"?"width":"height",S=vx.has(xn(s)),C=i.reference[f]-i.floating[v]+(S&&((g=o.offset)==null?void 0:g[f])||0)+(S?0:b.crossAxis),E=i.reference[f]+i.reference[v]+(S?0:((m=o.offset)==null?void 0:m[f])||0)-(S?b.crossAxis:0);w<C?w=C:w>E&&(w=E)}return{[h]:p,[f]:w}}}},uk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:i,platform:o,elements:a}=t,{apply:l=()=>{},...c}=vn(e,t),u=await Xi(t,c),f=xn(s),h=qs(s),p=Qt(s)==="y",{width:w,height:y}=i.floating;let b,g;f==="top"||f==="bottom"?(b=f,g=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,b=h==="end"?"top":"bottom");const m=y-u.top-u.bottom,v=w-u.left-u.right,S=ir(y-u[b],m),C=ir(w-u[g],v),E=!t.middlewareData.shift;let T=S,k=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=m),E&&!h){const A=st(u.left,0),z=st(u.right,0),I=st(u.top,0),G=st(u.bottom,0);p?k=w-2*(A!==0||z!==0?A+z:st(u.left,u.right)):T=y-2*(I!==0||G!==0?I+G:st(u.top,u.bottom))}await l({...t,availableWidth:k,availableHeight:T});const R=await o.getDimensions(a.floating);return w!==R.width||y!==R.height?{reset:{rects:!0}}:{}}}};function Ol(){return typeof window<"u"}function Xs(e){return xx(e)?(e.nodeName||"").toLowerCase():"#document"}function at(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function sn(e){var t;return(t=(xx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xx(e){return Ol()?e instanceof Node||e instanceof at(e).Node:!1}function Ft(e){return Ol()?e instanceof Element||e instanceof at(e).Element:!1}function tn(e){return Ol()?e instanceof HTMLElement||e instanceof at(e).HTMLElement:!1}function dm(e){return!Ol()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof at(e).ShadowRoot}const dk=new Set(["inline","contents"]);function xo(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=zt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!dk.has(s)}const fk=new Set(["table","td","th"]);function hk(e){return fk.has(Xs(e))}const pk=[":popover-open",":modal"];function Dl(e){return pk.some(t=>{try{return e.matches(t)}catch{return!1}})}const mk=["transform","translate","scale","rotate","perspective"],gk=["transform","translate","scale","rotate","perspective","filter"],yk=["paint","layout","strict","content"];function Vf(e){const t=_f(),n=Ft(e)?zt(e):e;return mk.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)||gk.some(r=>(n.willChange||"").includes(r))||yk.some(r=>(n.contain||"").includes(r))}function vk(e){let t=or(e);for(;tn(t)&&!$s(t);){if(Vf(t))return t;if(Dl(t))return null;t=or(t)}return null}function _f(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const xk=new Set(["html","body","#document"]);function $s(e){return xk.has(Xs(e))}function zt(e){return at(e).getComputedStyle(e)}function Ll(e){return Ft(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function or(e){if(Xs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||dm(e)&&e.host||sn(e);return dm(t)?t.host:t}function wx(e){const t=or(e);return $s(t)?e.ownerDocument?e.ownerDocument.body:e.body:tn(t)&&xo(t)?t:wx(t)}function Zi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=wx(e),i=s===((r=e.ownerDocument)==null?void 0:r.body),o=at(s);if(i){const a=td(o);
vendor: 4,772 bytes, line 286
286return t.concat(o,o.visualViewport||[],xo(s)?s:[],a&&n?Zi(a):[])}return t.concat(s,Zi(s,[],n))}function td(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bx(e){const t=zt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=tn(e),i=s?e.offsetWidth:n,o=s?e.offsetHeight:r,a=Xa(n)!==i||Xa(r)!==o;return a&&(n=i,r=o),{width:n,height:r,$:a}}function Ff(e){return Ft(e)?e:e.contextElement}function Es(e){const t=Ff(e);if(!tn(t))return Zt(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:i}=bx(t);let o=(i?Xa(n.width):n.width)/r,a=(i?Xa(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const wk=Zt(0);function Sx(e){const t=at(e);return!_f()||!t.visualViewport?wk:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bk(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==at(e)?!1:t}function zr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),i=Ff(e);let o=Zt(1);t&&(r?Ft(r)&&(o=Es(r)):o=Es(e));const a=bk(i,n,r)?Sx(i):Zt(0);let l=(s.left+a.x)/o.x,c=(s.top+a.y)/o.y,u=s.width/o.x,f=s.height/o.y;if(i){const h=at(i),p=r&&Ft(r)?at(r):r;let w=h,y=td(w);for(;y&&r&&p!==w;){const b=Es(y),g=y.getBoundingClientRect(),m=zt(y),v=g.left+(y.clientLeft+parseFloat(m.paddingLeft))*b.x,S=g.top+(y.clientTop+parseFloat(m.paddingTop))*b.y;l*=b.x,c*=b.y,u*=b.x,f*=b.y,l+=v,c+=S,w=at(y),y=td(w)}}return Ja({width:u,height:f,x:l,y:c})}function zf(e,t){const n=Ll(e).scrollLeft;return t?t.left+n:zr(sn(e)).left+n}function Cx(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-(n?0:zf(e,r)),i=r.top+t.scrollTop;return{x:s,y:i}}function Sk(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const i=s==="fixed",o=sn(r),a=t?Dl(t.floating):!1;if(r===o||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Zt(1);const u=Zt(0),f=tn(r);if((f||!f&&!i)&&((Xs(r)!=="body"||xo(o))&&(l=Ll(r)),tn(r))){const p=zr(r);c=Es(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}const h=o&&!f&&!i?Cx(o,l,!0):Zt(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-l.scrollTop*c.y+u.y+h.y}}function Ck(e){return Array.from(e.getClientRects())}function Ek(e){const t=sn(e),n=Ll(e),r=e.ownerDocument.body,s=st(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=st(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+zf(e);const a=-n.scrollTop;return zt(r).direction==="rtl"&&(o+=st(t.clientWidth,r.clientWidth)-s),{width:s,height:i,x:o,y:a}}function Tk(e,t){const n=at(e),r=sn(e),s=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,a=0,l=0;if(s){i=s.width,o=s.height;const c=_f();(!c||c&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:i,height:o,x:a,y:l}}const kk=new Set(["absolute","fixed"]);function Pk(e,t){const n=zr(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,i=tn(e)?Es(e):Zt(1),o=e.clientWidth*i.x,a=e.clientHeight*i.y,l=s*i.x,c=r*i.y;return{width:o,height:a,x:l,y:c}}function fm(e,t,n){let r;if(t==="viewport")r=Tk(e,n);else if(t==="document")r=Ek(sn(e));else if(Ft(t))r=Pk(t,n);else{const s=Sx(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Ja(r)}function Ex(e,t){const n=or(e);return n===t||!Ft(n)||$s(n)?!1:zt(n).position==="fixed"||Ex(n,t)}function Nk(e,t){const n=t.get(e);if(n)return n;let r=Zi(e,[],!1).filter(a=>Ft(a)&&Xs(a)!=="body"),s=null;const i=zt(e).position==="fixed";let o=i?or(e):e;for(;Ft(o)&&!$s(o);){const a=zt(o),l=Vf(o);!l&&a.position==="fixed"&&(s=null),(i?!l&&!s:!l&&a.position==="static"&&!!s&&kk.has(s.position)||xo(o)&&!l&&Ex(e,o))?r=r.filter(u=>u!==o):s=a,o=or(o)}return t.set(e,r),r}function jk(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=[...n==="clippingAncestors"?Dl(t)?[]:Nk(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((c,u)=>{const f=fm(t,u,s);return c.top=st(f.top,c.top),c.right=ir(f.right,c.right),c.bottom=ir(f.bottom,c.bottom),c.left=st(f.left,c.left),c},fm(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Rk(e){const{width:t,height:n}=bx(e);return{width:t,height:n}}function Ak(e,t,n){const r=tn(t),s=sn(t),i=n==="fixed",o=zr(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Zt(0);function c(){l.x=zf(s)}if(r||!r&&!i)if((Xs(t)!=="body"||xo(s))&&(a=Ll(t)),r){const p=zr(t,!0,i,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else s&&c();i&&!r&&s&&c();const u=s&&!r&&!i?Cx(s,a):Zt(0),f=o.left+a.scrollLeft-l.x-u.x,h=o.top+a.scrollTop-l.y-u.y;return{x:f,y:h,width:o.width,height:o.height}}function Ac(e){return zt(e).position==="static"}function hm(e,t){if(!tn(e)||zt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return sn(e)===n&&(n=n.ownerDocument.body),n}function Tx(e,t){const n=at(e);
vendor: 8,988 bytes, line 286
286if(Dl(e))return n;if(!tn(e)){let s=or(e);for(;s&&!$s(s);){if(Ft(s)&&!Ac(s))return s;s=or(s)}return n}let r=hm(e,t);for(;r&&hk(r)&&Ac(r);)r=hm(r,t);return r&&$s(r)&&Ac(r)&&!Vf(r)?n:r||vk(e)||n}const Mk=async function(e){const t=this.getOffsetParent||Tx,n=this.getDimensions,r=await n(e.floating);return{reference:Ak(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Ok(e){return zt(e).direction==="rtl"}const Dk={convertOffsetParentRelativeRectToViewportRelativeRect:Sk,getDocumentElement:sn,getClippingRect:jk,getOffsetParent:Tx,getElementRects:Mk,getClientRects:Ck,getDimensions:Rk,getScale:Es,isElement:Ft,isRTL:Ok};function kx(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Lk(e,t){let n=null,r;const s=sn(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:f,width:h,height:p}=c;if(a||t(),!h||!p)return;const w=qo(f),y=qo(s.clientWidth-(u+h)),b=qo(s.clientHeight-(f+p)),g=qo(u),v={rootMargin:-w+"px "+-y+"px "+-b+"px "+-g+"px",threshold:st(0,ir(1,l))||1};let S=!0;function C(E){const T=E[0].intersectionRatio;if(T!==l){if(!S)return o();T?o(!1,T):r=setTimeout(()=>{o(!1,1e-7)},1e3)}T===1&&!kx(c,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(C,{...v,root:s.ownerDocument})}catch{n=new IntersectionObserver(C,v)}n.observe(e)}return o(!0),i}function Ik(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Ff(e),u=s||i?[...c?Zi(c):[],...Zi(t)]:[];u.forEach(g=>{s&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const f=c&&a?Lk(c,n):null;let h=-1,p=null;o&&(p=new ResizeObserver(g=>{let[m]=g;m&&m.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),c&&!l&&p.observe(c),p.observe(t));let w,y=l?zr(e):null;l&&b();function b(){const g=zr(e);y&&!kx(y,g)&&n(),y=g,w=requestAnimationFrame(b)}return n(),()=>{var g;u.forEach(m=>{s&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(w)}}const Vk=ak,_k=lk,Fk=sk,zk=uk,$k=ik,pm=rk,Bk=ck,Uk=(e,t,n)=>{const r=new Map,s={platform:Dk,...n},i={...s.platform,_c:r};return nk(e,t,{...s,platform:i})};var Wk=typeof document<"u",Hk=function(){},xa=Wk?x.useLayoutEffect:Hk;function el(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,s;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(!el(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const i=s[r];if(!(i==="_owner"&&e.$$typeof)&&!el(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Px(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function mm(e,t){const n=Px(e);return Math.round(t*n)/n}function Mc(e){const t=x.useRef(e);return xa(()=>{t.current=e}),t}function Kk(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:i,floating:o}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[u,f]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=x.useState(r);el(h,r)||p(r);const[w,y]=x.useState(null),[b,g]=x.useState(null),m=x.useCallback(P=>{P!==E.current&&(E.current=P,y(P))},[]),v=x.useCallback(P=>{P!==T.current&&(T.current=P,g(P))},[]),S=i||w,C=o||b,E=x.useRef(null),T=x.useRef(null),k=x.useRef(u),R=l!=null,A=Mc(l),z=Mc(s),I=Mc(c),G=x.useCallback(()=>{if(!E.current||!T.current)return;const P={placement:t,strategy:n,middleware:h};z.current&&(P.platform=z.current),Uk(E.current,T.current,P).then(j=>{const L={...j,isPositioned:I.current!==!1};D.current&&!el(k.current,L)&&(k.current=L,go.flushSync(()=>{f(L)}))})},[h,t,n,z,I]);xa(()=>{c===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,f(P=>({...P,isPositioned:!1})))},[c]);const D=x.useRef(!1);xa(()=>(D.current=!0,()=>{D.current=!1}),[]),xa(()=>{if(S&&(E.current=S),C&&(T.current=C),S&&C){if(A.current)return A.current(S,C,G);G()}},[S,C,G,A,R]);const Q=x.useMemo(()=>({reference:E,floating:T,setReference:m,setFloating:v}),[m,v]),B=x.useMemo(()=>({reference:S,floating:C}),[S,C]),F=x.useMemo(()=>{const P={position:n,left:0,top:0};if(!B.floating)return P;const j=mm(B.floating,u.x),L=mm(B.floating,u.y);return a?{...P,transform:"translate("+j+"px, "+L+"px)",...Px(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:L}},[n,a,B.floating,u.x,u.y]);return x.useMemo(()=>({...u,update:G,refs:Q,elements:B,floatingStyles:F}),[u,G,Q,B,F])}const Gk=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?pm({element:r.current,padding:s}).fn(n):{}:r?pm({element:r,padding:s}).fn(n):{}}}},Yk=(e,t)=>({...Vk(e),options:[e,t]}),Qk=(e,t)=>({..._k(e),options:[e,t]}),qk=(e,t)=>({...Bk(e),options:[e,t]}),Xk=(e,t)=>({...Fk(e),options:[e,t]}),Zk=(e,t)=>({...zk(e),options:[e,t]}),Jk=(e,t)=>({...$k(e),options:[e,t]}),eP=(e,t)=>({...Gk(e),options:[e,t]});var tP="Arrow",Nx=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...i}=e;return d.jsx(Ne.svg,{...i,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});Nx.displayName=tP;var nP=Nx;function rP(e){const[t,n]=x.useState(void 0);return en(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let o,a;if("borderBoxSize"in i){const l=i.borderBoxSize,c=Array.isArray(l)?l[0]:l;o=c.inlineSize,a=c.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var jx="Popper",[Rx,Ax]=Ys(jx),[o3,Mx]=Rx(jx),Ox="PopperAnchor",Dx=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,i=Mx(Ox,n),o=x.useRef(null),a=ct(t,o);return x.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:d.jsx(Ne.div,{...s,ref:a})});Dx.displayName=Ox;var $f="PopperContent",[sP,iP]=Rx($f),Lx=x.forwardRef((e,t)=>{var ne,Hr,Sn,hr,Cn,Kr;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:i="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:u=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:w,...y}=e,b=Mx($f,n),[g,m]=x.useState(null),v=ct(t,En=>m(En)),[S,C]=x.useState(null),E=rP(S),T=(E==null?void 0:E.width)??0,k=(E==null?void 0:E.height)??0,R=r+(i!=="center"?"-"+i:""),A=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},z=Array.isArray(c)?c:[c],I=z.length>0,G={padding:A,boundary:z.filter(aP),altBoundary:I},{refs:D,floatingStyles:Q,placement:B,isPositioned:F,middlewareData:P}=Kk({strategy:"fixed",placement:R,whileElementsMounted:(...En)=>Ik(...En,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[Yk({mainAxis:s+k,alignmentAxis:o}),l&&Qk({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?qk():void 0,...G}),l&&Xk({...G}),Zk({...G,apply:({elements:En,rects:ko,availableWidth:Ql,availableHeight:Po})=>{const{width:ql,height:ni}=ko.reference,Gr=En.floating.style;Gr.setProperty("--radix-popper-available-width",`${Ql}px`),Gr.setProperty("--radix-popper-available-height",`${Po}px`),Gr.setProperty("--radix-popper-anchor-width",`${ql}px`),Gr.setProperty("--radix-popper-anchor-height",`${ni}px`)}}),S&&eP({element:S,padding:a}),lP({arrowWidth:T,arrowHeight:k}),h&&Jk({strategy:"referenceHidden",...G})]}),[j,L]=_x(B),W=sr(w);en(()=>{F&&(W==null||W())},[F,W]);const $=(ne=P.arrow)==null?void 0:ne.x,X=(Hr=P.arrow)==null?void 0:Hr.y,J=((Sn=P.arrow)==null?void 0:Sn.centerOffset)!==0,[be,Le]=x.useState();return en(()=>{g&&Le(window.getComputedStyle(g).zIndex)},[g]),d.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:F?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:be,"--radix-popper-transform-origin":[(hr=P.transformOrigin)==null?void 0:hr.x,(Cn=P.transformOrigin)==null?void 0:Cn.y].join(" "),...((Kr=P.hide)==null?void 0:Kr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:d.jsx(sP,{scope:n,placedSide:j,onArrowChange:C,arrowX:$,arrowY:X,shouldHideArrow:J,children:d.jsx(Ne.div,{"data-side":j,"data-align":L,...y,ref:v,style:{...y.style,animation:F?void 0:"none"}})})})});Lx.displayName=$f;var Ix="PopperArrow",oP={top:"bottom",right:"left",bottom:"top",left:"r
286ight"},Vx=x.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,i=iP(Ix,r),o=oP[i.placedSide];return d.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]: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:d.jsx(nP,{...s,ref:n,style:{...s.style,display:"block"}})})});Vx.displayName=Ix;function aP(e){return e!==null}var lP=e=>({name:"transformOrigin",options:e,fn(t){var b,g,m;const{placement:n,rects:r,middlewareData:s}=t,o=((b=s.arrow)==null?void 0:b.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[c,u]=_x(n),f={start:"0%",center:"50%",end:"100%"}[u],h=(((g=s.arrow)==null?void 0:g.x)??0)+a/2,p=(((m=s.arrow)==null?void 0:m.y)??0)+l/2;let w="",y="";return c==="bottom"?(w=o?f:`${h}px`,y=`${-l}px`):c==="top"?(w=o?f:`${h}px`,y=`${r.floating.height+l}px`):c==="right"?(w=`${-l}px`,y=o?f:`${p}px`):c==="left"&&(w=`${r.floating.width+l}px`,y=o?f:`${p}px`),{data:{x:w,y}}}});function _x(e){const[t,n="center"]=e.split("-");return[t,n]}var cP=Dx,uP=Lx,dP=Vx,[Il,a3]=Ys("Tooltip",[Ax]),Bf=Ax(),Fx="TooltipProvider",fP=700,gm="tooltip.open",[hP,zx]=Il(Fx),$x=e=>{const{__scopeTooltip:t,delayDuration:n=fP,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:i}=e,o=x.useRef(!0),a=x.useRef(!1),l=x.useRef(0);return x.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),d.jsx(hP,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:x.useCallback(c=>{a.current=c},[]),disableHoverableContent:s,children:i})};$x.displayName=Fx;var Bx="Tooltip",[l3,Vl]=Il(Bx),nd="TooltipTrigger",pP=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Vl(nd,n),i=zx(nd,n),o=Bf(n),a=x.useRef(null),l=ct(t,a,s.onTriggerChange),c=x.useRef(!1),u=x.useRef(!1),f=x.useCallback(()=>c.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),d.jsx(cP,{asChild:!0,...o,children:d.jsx(Ne.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:l,onPointerMove:we(e.onPointerMove,h=>{h.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(s.onTriggerEnter(),u.current=!0)}),onPointerLeave:we(e.onPointerLeave,()=>{s.onTriggerLeave(),u.current=!1}),onPointerDown:we(e.onPointerDown,()=>{s.open&&s.onClose(),c.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:we(e.onFocus,()=>{c.current||s.onOpen()}),onBlur:we(e.onBlur,s.onClose),onClick:we(e.onClick,s.onClose)})})});pP.displayName=nd;var mP="TooltipPortal",[c3,gP]=Il(mP,{forceMount:void 0}),Bs="TooltipContent",Ux=x.forwardRef((e,t)=>{const n=gP(Bs,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...i}=e,o=Vl(Bs,e.__scopeTooltip);return d.jsx(jl,{present:r||o.open,children:o.disableHoverableContent?d.jsx(Wx,{side:s,...i,ref:t}):d.jsx(yP,{side:s,...i,ref:t})})}),yP=x.forwardRef((e,t)=>{const n=Vl(Bs,e.__scopeTooltip),r=zx(Bs,e.__scopeTooltip),s=x.useRef(null),i=ct(t,s),[o,a]=x.useState(null),{trigger:l,onClose:c}=n,u=s.current,{onPointerInTransitChange:f}=r,h=x.useCallback(()=>{a(null),f(!1)},[f]),p=x.useCallback((w,y)=>{const b=w.currentTarget,g={x:w.clientX,y:w.clientY},m=SP(g,b.getBoundingClientRect()),v=CP(g,m),S=EP(y.getBoundingClientRect()),C=kP([...v,...S]);a(C),f(!0)},[f]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(l&&u){const w=b=>p(b,u),y=b=>p(b,l);return l.addEventListener("pointerleave",w),u.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",w),u.removeEventListener("pointerleave",y)}}},[l,u,p,h]),x.useEffect(()=>{if(o){const w=y=>{const b=y.target,g={x:y.clientX,y:y.clientY},m=(l==null?void 0:l.contains(b))||(u==null?void 0:u.contains(b)),v=!TP(g,o);m?h():v&&(h(),c())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[l,u,o,c,h]),d.jsx(Wx,{...e,ref:i})}),[vP,xP]=Il(Bx,{isInside:!1}),wP=oC("TooltipContent"),Wx=x.forwardRef((e,t)=>
286{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:i,onPointerDownOutside:o,...a}=e,l=Vl(Bs,n),c=Bf(n),{onClose:u}=l;return x.useEffect(()=>(document.addEventListener(gm,u),()=>document.removeEventListener(gm,u)),[u]),x.useEffect(()=>{if(l.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&u()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,u]),d.jsx(Nf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:u,children:d.jsxs(uP,{"data-state":l.stateAttribute,...c,...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:[d.jsx(wP,{children:r}),d.jsx(vP,{scope:n,isInside:!0,children:d.jsx(jC,{id:l.contentId,role:"tooltip",children:s||r})})]})})});Ux.displayName=Bs;var Hx="TooltipArrow",bP=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Bf(n);return xP(Hx,n).isInside?null:d.jsx(dP,{...s,...r,ref:t})});bP.displayName=Hx;function SP(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,s,i)){case i:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function CP(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 EP(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function TP(e,t){const{x:n,y:r}=e;let s=!1;for(let i=0,o=t.length-1;i<t.length;o=i++){const a=t[i],l=t[o],c=a.x,u=a.y,f=l.x,h=l.y;u>r!=h>r&&n<(f-c)*(r-u)/(h-u)+c&&(s=!s)}return s}function kP(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),PP(t)}function PP(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const i=t[t.length-1],o=t[t.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const i=n[n.length-1],o=n[n.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))n.pop();else break}n.push(s)}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 NP=$x,Kx=Ux;const jP=NP,RP=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>d.jsx(Kx,{ref:r,sideOffset:t,className:rn("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));RP.displayName=Kx.displayName;var _l=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(){}},Fl=typeof window>"u"||"Deno"in globalThis;function At(){}function AP(e,t){return typeof e=="function"?e(t):e}function MP(e){return typeof e=="number"&&e>=0&&e!==1/0}function OP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function rd(e,t){return typeof e=="function"?e(t):e}function DP(e,t){return typeof e=="function"?e(t):e}function ym(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:i,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==Uf(o,t.options))return!1}else if(!eo(t.queryKey,o))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||s&&s!==t.state.fetchStatus||i&&!i(t))}function vm(e,t){const{exact:n,status:r,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Ji(t.options.mutationKey)!==Ji(i))return!1}else if(!eo(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Uf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ji)(e)}function Ji(e){return JSON.stringify(e,(t,n)=>sd(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function eo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>eo(e[n],t[n])):!1}function Gx(e,t){if(e===t)return e;const n=xm(e)&&xm(t);if(n||sd(e)&&sd(t)){const r=n?e:Object.keys(e),s=r.length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{},l=new Set(r);let c=0;for(let u=0;u<o;u++){const f=n?u:i[u];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,c++):(a[f]=Gx(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&c++)}return s===o&&c===s?e:a}return t}function xm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function sd(e){if(!wm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!wm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function wm(e){return Object.prototype.toString.call(e)==="[object Object]"}function LP(e){return new Promise(t=>{setTimeout(t,e)})}function IP(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Gx(e,t):t}function VP(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function _P(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Wf=Symbol();function Yx(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Wf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var kr,_n,ks,Jg,FP=(Jg=class extends _l{constructor(){super();te(this,kr);te(this,_n);te(this,ks);K(this,ks,t=>{if(!Fl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,_n)||this.setEventListener(N(this,ks))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,_n))==null||t.call(this),K(this,_n,void 0))}setEventListener(t){var n;K(this,ks,t),(n=N(this,_n))==null||n.call(this),K(this,_n,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){N(this,kr)!==t&&(K(this,kr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 12,709 bytes, line 286
286this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,kr)=="boolean"?N(this,kr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},kr=new WeakMap,_n=new WeakMap,ks=new WeakMap,Jg),Qx=new FP,Ps,Fn,Ns,ey,zP=(ey=class extends _l{constructor(){super();te(this,Ps,!0);te(this,Fn);te(this,Ns);K(this,Ns,t=>{if(!Fl&&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(){N(this,Fn)||this.setEventListener(N(this,Ns))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,Fn))==null||t.call(this),K(this,Fn,void 0))}setEventListener(t){var n;K(this,Ns,t),(n=N(this,Fn))==null||n.call(this),K(this,Fn,t(this.setOnline.bind(this)))}setOnline(t){N(this,Ps)!==t&&(K(this,Ps,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return N(this,Ps)}},Ps=new WeakMap,Fn=new WeakMap,Ns=new WeakMap,ey),tl=new zP;function $P(){let e,t;const n=new Promise((s,i)=>{e=s,t=i});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function BP(e){return Math.min(1e3*2**e,3e4)}function qx(e){return(e??"online")==="online"?tl.isOnline():!0}var Xx=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Oc(e){return e instanceof Xx}function Zx(e){let t=!1,n=0,r=!1,s;const i=$P(),o=y=>{var b;r||(h(new Xx(y)),(b=e.abort)==null||b.call(e))},a=()=>{t=!0},l=()=>{t=!1},c=()=>Qx.isFocused()&&(e.networkMode==="always"||tl.isOnline())&&e.canRun(),u=()=>qx(e.networkMode)&&e.canRun(),f=y=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,y),s==null||s(),i.resolve(y))},h=y=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,y),s==null||s(),i.reject(y))},p=()=>new Promise(y=>{var b;s=g=>{(r||c())&&y(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var y;s=void 0,r||(y=e.onContinue)==null||y.call(e)}),w=()=>{if(r)return;let y;const b=n===0?e.initialPromise:void 0;try{y=b??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(f).catch(g=>{var E;if(r)return;const m=e.retry??(Fl?0:3),v=e.retryDelay??BP,S=typeof v=="function"?v(n,g):v,C=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!C){h(g);return}n++,(E=e.onFail)==null||E.call(e,n,g),LP(S).then(()=>c()?void 0:p()).then(()=>{t?h(g):w()})})};return{promise:i,cancel:o,continue:()=>(s==null||s(),i),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?w():p().then(w),i)}}var UP=e=>setTimeout(e,0);function WP(){let e=[],t=0,n=a=>{a()},r=a=>{a()},s=UP;const i=a=>{t?e.push(a):s(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&s(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var He=WP(),Pr,ty,Jx=(ty=class{constructor(){te(this,Pr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),MP(this.gcTime)&&K(this,Pr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Fl?1/0:5*60*1e3))}clearGcTimeout(){N(this,Pr)&&(clearTimeout(N(this,Pr)),K(this,Pr,void 0))}},Pr=new WeakMap,ty),js,Nr,ht,jr,Fe,lo,Rr,Mt,an,ny,HP=(ny=class extends Jx{constructor(t){super();te(this,Mt);te(this,js);te(this,Nr);te(this,ht);te(this,jr);te(this,Fe);te(this,lo);te(this,Rr);K(this,Rr,!1),K(this,lo,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,jr,t.client),K(this,ht,N(this,jr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,js,GP(this.options)),this.state=t.state??N(this,js),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=N(this,Fe))==null?void 0:t.promise}setOptions(t){this.options={...N(this,lo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,ht).remove(this)}setData(t,n){const r=IP(this.state.data,t,this.options);return Ie(this,Mt,an).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ie(this,Mt,an).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=N(this,Fe))==null?void 0:r.promise;return(s=N(this,Fe))==null||s.cancel(t),n?n.then(At).catch(At):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(N(this,js))}isActive(){return this.observers.some(t=>DP(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Wf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>rd(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:!OP(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Fe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Fe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),N(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||(N(this,Fe)&&(N(this,Rr)?N(this,Fe).cancel({revert:!0}):N(this,Fe).cancelRetry()),this.scheduleGc()),N(this,ht).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ie(this,Mt,an).call(this,{type:"invalidate"})}fetch(t,n){var c,u,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(N(this,Fe))return N(this,Fe).continueRetry(),N(this,Fe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,s=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(K(this,Rr,!0),r.signal)})},i=()=>{const h=Yx(this.options,n),w=(()=>{const y={client:N(this,jr),queryKey:this.queryKey,meta:this.meta};return s(y),y})();return K(this,Rr,!1),this.options.persister?this.options.persister(h,w,this):h(w)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:N(this,jr),state:this.state,fetchFn:i};return s(h),h})();(c=this.options.behavior)==null||c.onFetch(a,this),K(this,Nr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=a.fetchOptions)==null?void 0:u.meta))&&Ie(this,Mt,an).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=h=>{var p,w,y,b;Oc(h)&&h.silent||Ie(this,Mt,an).call(this,{type:"error",error:h}),Oc(h)||((w=(p=N(this,ht).config).onError)==null||w.call(p,h,this),(b=(y=N(this,ht).config).onSettled)==null||b.call(y,this.state.data,h,this)),this.scheduleGc()};return K(this,Fe,Zx({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,w,y,b;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){l(g);return}(w=(p=N(this,ht).config).onSuccess)==null||w.call(p,h,this),(b=(y=N(this,ht).config).onSettled)==null||b.call(y,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{Ie(this,Mt,an).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{Ie(this,Mt,an).call(this,{type:"pause"})},onContinue:()=>{Ie(this,Mt,an).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),N(this,Fe).start()}},js=new WeakMap,Nr=new WeakMap,ht=new WeakMap,jr=new WeakMap,Fe=new WeakMap,lo=new WeakMap,Rr=new WeakMap,Mt=new WeakSet,an=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,...KP(r.data,this.options),fetchMeta:t.meta??null};case"success":return K(this,Nr,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 s=t.error;return Oc(s)&&s.revert&&N(this,Nr)?{...N(this,Nr),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),He.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),N(this,ht).notify({query:this,type:"updated",action:t})})},ny);function KP(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:qx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function GP(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,ry,YP=(ry=class extends _l{constructor(t={}){super();te(this,Ht);this.config=t,K(this,Ht,new Map)}build(t,n,r){const s=n.queryKey,i=n.queryHash??Uf(s,n);let o=this.get(i);return o||(o=new HP({client:t,queryKey:s,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(o)),o}add(t){N(this,Ht).has(t.queryHash)||(N(this,Ht).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,Ht).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,Ht).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){He.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,Ht).get(t)}getAll(){return[...N(this,Ht).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>ym(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>ym(t,r)):n}notify(t){He.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){He.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){He.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ht=new WeakMap,ry),Kt,Ue,Ar,Gt,An,sy,QP=(sy=class extends Jx{constructor(t){super();te(this,Gt);te(this,Kt);te(this,Ue);te(this,Ar);this.mutationId=t.mutationId,K(this,Ue,t.mutationCache),K(this,Kt,[]),this.state=t.state||qP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){N(this,Kt).includes(t)||(N(this,Kt).push(t),this.clearGcTimeout(),N(this,Ue).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Kt,N(this,Kt).filter(n=>n!==t)),this.scheduleGc(),N(this,Ue).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,Kt).length||(this.state.status==="pending"?this.scheduleGc():N(this,Ue).remove(this))}continue(){var t;return((t=N(this,Ar))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,a,l,c,u,f,h,p,w,y,b,g,m,v,S,C,E,T,k;const n=()=>{Ie(this,Gt,An).call(this,{type:"continue"})};K(this,Ar,Zx({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,A)=>{Ie(this,Gt,An).call(this,{type:"failed",failureCount:R,error:A})},onPause:()=>{Ie(this,Gt,An).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,Ue).canRun(this)}));const r=this.state.status==="pending",s=!N(this,Ar).canStart();try{if(r)n();else{Ie(this,Gt,An).call(this,{type:"pending",variables:t,isPaused:s}),await((o=(i=N(this,Ue).config).onMutate)==null?void 0:o.call(i,t,this));
286const A=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));A!==this.state.context&&Ie(this,Gt,An).call(this,{type:"pending",context:A,variables:t,isPaused:s})}const R=await N(this,Ar).start();return await((u=(c=N(this,Ue).config).onSuccess)==null?void 0:u.call(c,R,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,R,t,this.state.context)),await((w=(p=N(this,Ue).config).onSettled)==null?void 0:w.call(p,R,null,this.state.variables,this.state.context,this)),await((b=(y=this.options).onSettled)==null?void 0:b.call(y,R,null,t,this.state.context)),Ie(this,Gt,An).call(this,{type:"success",data:R}),R}catch(R){try{throw await((m=(g=N(this,Ue).config).onError)==null?void 0:m.call(g,R,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,R,t,this.state.context)),await((E=(C=N(this,Ue).config).onSettled)==null?void 0:E.call(C,void 0,R,this.state.variables,this.state.context,this)),await((k=(T=this.options).onSettled)==null?void 0:k.call(T,void 0,R,t,this.state.context)),R}finally{Ie(this,Gt,An).call(this,{type:"error",error:R})}}finally{N(this,Ue).runNext(this)}}},Kt=new WeakMap,Ue=new WeakMap,Ar=new WeakMap,Gt=new WeakSet,An=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),He.batch(()=>{N(this,Kt).forEach(r=>{r.onMutationUpdate(t)}),N(this,Ue).notify({mutation:this,type:"updated",action:t})})},sy);function qP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var un,Ot,co,iy,XP=(iy=class extends _l{constructor(t={}){super();te(this,un);te(this,Ot);te(this,co);this.config=t,K(this,un,new Set),K(this,Ot,new Map),K(this,co,0)}build(t,n,r){const s=new QP({mutationCache:this,mutationId:++jo(this,co)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){N(this,un).add(t);const n=Xo(t);if(typeof n=="string"){const r=N(this,Ot).get(n);r?r.push(t):N(this,Ot).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(N(this,un).delete(t)){const n=Xo(t);if(typeof n=="string"){const r=N(this,Ot).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&N(this,Ot).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Xo(t);if(typeof n=="string"){const r=N(this,Ot).get(n),s=r==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=Xo(t);if(typeof n=="string"){const s=(r=N(this,Ot).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){He.batch(()=>{N(this,un).forEach(t=>{this.notify({type:"removed",mutation:t})}),N(this,un).clear(),N(this,Ot).clear()})}getAll(){return Array.from(N(this,un))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>vm(n,r))}findAll(t={}){return this.getAll().filter(n=>vm(t,n))}notify(t){He.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return He.batch(()=>Promise.all(t.map(n=>n.continue().catch(At))))}},un=new WeakMap,Ot=new WeakMap,co=new WeakMap,iy);function Xo(e){var t;return(t=e.options.scope)==null?void 0:t.id}function bm(e){return{onFetch:(t,n)=>{var u,f,h,p,w;const r=t.options,s=(h=(f=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,i=((p=t.state.data)==null?void 0:p.pages)||[],o=((w=t.state.data)==null?void 0:w.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let y=!1;const b=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)}
vendor: 2,521 bytes, line 286
286)},g=Yx(t.options,t.fetchOptions),m=async(v,S,C)=>{if(y)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const T=(()=>{const z={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return b(z),z})(),k=await g(T),{maxPages:R}=t.options,A=C?_P:VP;return{pages:A(v.pages,k,R),pageParams:A(v.pageParams,S,R)}};if(s&&i.length){const v=s==="backward",S=v?ZP:Sm,C={pages:i,pageParams:o},E=S(r,C);a=await m(C,E,v)}else{const v=e??i.length;do{const S=l===0?o[0]??r.initialPageParam:Sm(r,a);if(l>0&&S==null)break;a=await m(a,S),l++}while(l<v)}return a};t.options.persister?t.fetchFn=()=>{var y,b;return(b=(y=t.options).persister)==null?void 0:b.call(y,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function Sm(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 ZP(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 ye,zn,$n,Rs,As,Bn,Ms,Os,oy,JP=(oy=class{constructor(e={}){te(this,ye);te(this,zn);te(this,$n);te(this,Rs);te(this,As);te(this,Bn);te(this,Ms);te(this,Os);K(this,ye,e.queryCache||new YP),K(this,zn,e.mutationCache||new XP),K(this,$n,e.defaultOptions||{}),K(this,Rs,new Map),K(this,As,new Map),K(this,Bn,0)}mount(){jo(this,Bn)._++,N(this,Bn)===1&&(K(this,Ms,Qx.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ye).onFocus())})),K(this,Os,tl.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ye).onOnline())})))}unmount(){var e,t;jo(this,Bn)._--,N(this,Bn)===0&&((e=N(this,Ms))==null||e.call(this),K(this,Ms,void 0),(t=N(this,Os))==null||t.call(this),K(this,Os,void 0))}isFetching(e){return N(this,ye).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,zn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ye).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=N(this,ye).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(rd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return N(this,ye).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=N(this,ye).get(r.queryHash),i=s==null?void 0:s.state.data,o=AP(t,
286i);if(o!==void 0)return N(this,ye).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return He.batch(()=>N(this,ye).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ye).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,ye);He.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,ye);return He.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=He.batch(()=>N(this,ye).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(At).catch(At)}invalidateQueries(e,t={}){return He.batch(()=>(N(this,ye).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=He.batch(()=>N(this,ye).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let i=s.fetch(void 0,n);return n.throwOnError||(i=i.catch(At)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(At)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=N(this,ye).build(this,t);return n.isStaleByTime(rd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(At).catch(At)}fetchInfiniteQuery(e){return e.behavior=bm(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(At).catch(At)}ensureInfiniteQueryData(e){return e.behavior=bm(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return tl.isOnline()?N(this,zn).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,ye)}getMutationCache(){return N(this,zn)}getDefaultOptions(){return N(this,$n)}setDefaultOptions(e){K(this,$n,e)}setQueryDefaults(e,t){N(this,Rs).set(Ji(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,Rs).values()],n={};return t.forEach(r=>{eo(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){N(this,As).set(Ji(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,As).values()],n={};return t.forEach(r=>{eo(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,$n).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Uf(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===Wf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,$n).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,ye).clear(),N(this,zn).clear()}},ye=new WeakMap,zn=new WeakMap,$n=new WeakMap,Rs=new WeakMap,As=new WeakMap,Bn=new WeakMap,Ms=new WeakMap,Os=new WeakMap,oy),eN=x.createContext(void 0),tN=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),d.jsx(eN.Provider,{value:e,children:t}));/**
287 * @remix-run/router v1.23.0
288 *
289 * Copyright (c) Remix Software Inc.
290 *
291 * This source code is licensed under the MIT license found in the
292 * LICENSE.md file in the root directory of this source tree.
293 *
294 * @license MIT
295 */function to(){return to=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},to.apply(this,arguments)}var Hn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Hn||(Hn={}));const Cm="popstate";function nN(e){e===void 0&&(e={});function t(r,s){let{pathname:i,search:o,hash:a}=r.location;return id("",{pathname:i,search:o,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:nl(s)}return sN(t,n,null,e)}function Ee(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function e1(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function rN(){return Math.random().toString(36).substr(2,8)}function Em(e,t){return{usr:e.state,key:e.key,idx:t}}function id(e,t,n,r){return n===void 0&&(n=null),to({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Zs(t):t,{state:n,key:t&&t.key||r||rN()})}function nl(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 Zs(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 sN(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,a=Hn.Pop,l=null,c=u();c==null&&(c=0,o.replaceState(to({},o.state,{idx:c}),""));function u(){return(o.state||{idx:null}).idx}function f(){a=Hn.Pop;let b=u(),g=b==null?null:b-c;c=b,l&&l({action:a,location:y.location,delta:g})}function h(b,g){a=Hn.Push;let m=id(y.location,b,g);c=u()+1;let v=Em(m,c),S=y.createHref(m);try{o.pushState(v,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;s.location.assign(S)}i&&l&&l({action:a,location:y.location,delta:1})}function p(b,g){a=Hn.Replace;let m=id(y.location,b,g);c=u();let v=Em(m,c),S=y.createHref(m);o.replaceState(v,"",S),i&&l&&l({action:a,location:y.location,delta:0})}function w(b){let g=s.location.origin!=="null"?s.location.origin:s.location.href,m=typeof b=="string"?b:nl(b);return m=m.replace(/ $/,"%20"),Ee(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return a},get location(){return e(s,o)},listen(b){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(Cm,f),l=b,()=>{s.removeEventListener(Cm,f),l=null}},createHref(b){return t(s,b)},createURL:w,encodeLocation(b){let g=w(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(b){return o.go(b)}};return y}var Tm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Tm||(Tm={}));function iN(e,t,n){return n===void 0&&(n="/"),oN(e,t,n,!1)}function oN(e,t,n,r){let s=typeof t=="string"?Zs(t):t,i=Hf(s.pathname||"/",n);if(i==null)return null;let o=t1(e);aN(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let c=vN(i);a=gN(o[l],c,r)}return a}function t1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,o,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(Ee(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
295id. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=tr([r,l.relativePath]),u=n.concat(l);i.children&&i.children.length>0&&(Ee(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),t1(i.children,t,u,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:pN(c,i.index),routesMeta:u})};return e.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))s(i,o);else for(let l of n1(i.path))s(i,o,l)}),t}function n1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return s?[i,""]:[i];let o=n1(r.join("/")),a=[];return a.push(...o.map(l=>l===""?i:[i,l].join("/"))),s&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function aN(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:mN(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const lN=/^:[\w-]+$/,cN=3,uN=2,dN=1,fN=10,hN=-2,km=e=>e==="*";function pN(e,t){let n=e.split("/"),r=n.length;return n.some(km)&&(r+=hN),t&&(r+=uN),n.filter(s=>!km(s)).reduce((s,i)=>s+(lN.test(i)?cN:i===""?dN:fN),r)}function mN(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function gN(e,t,n){let{routesMeta:r}=e,s={},i="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,u=i==="/"?t:t.slice(i.length)||"/",f=Pm({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),h=l.route;if(!f&&c&&n&&!r[r.length-1].route.index&&(f=Pm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!f)return null;
vendor: 9,412 bytes, lines 295-304
295Object.assign(s,f.params),o.push({params:s,pathname:tr([i,f.pathname]),pathnameBase:SN(tr([i,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(i=tr([i,f.pathnameBase]))}return o}function Pm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=yN(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:r.reduce((c,u,f)=>{let{paramName:h,isOptional:p}=u;if(h==="*"){let y=a[f]||"";o=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const w=a[f];return p&&!w?c[h]=void 0:c[h]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:o,pattern:e}}function yN(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),e1(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=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function vN(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return e1(!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 Hf(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function xN(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Zs(e):e;return{pathname:n?n.startsWith("/")?n:wN(n,t):t,search:CN(r),hash:EN(s)}}function wN(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Dc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function bN(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function r1(e,t){let n=bN(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function s1(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=Zs(e):(s=to({},e),Ee(!s.pathname||!s.pathname.includes("?"),Dc("?","pathname","search",s)),Ee(!s.pathname||!s.pathname.includes("#"),Dc("#","pathname","hash",s)),Ee(!s.search||!s.search.includes("#"),Dc("#","search","hash",s)));let i=e===""||s.pathname==="",o=i?"/":s.pathname,a;if(o==null)a=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),f-=1;s.pathname=h.join("/")}a=f>=0?t[f]:"/"}let l=xN(s,a),c=o&&o!=="/"&&o.endsWith("/"),u=(i||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const tr=e=>e.join("/").replace(/\/\/+/g,"/"),SN=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),CN=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,EN=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function TN(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const i1=["post","put","patch","delete"];new Set(i1);const kN=["get",...i1];new Set(kN);/**
296 * React Router v6.30.1
297 *
298 * Copyright (c) Remix Software Inc.
299 *
300 * This source code is licensed under the MIT license found in the
301 * LICENSE.md file in the root directory of this source tree.
302 *
303 * @license MIT
304 */function no(){return no=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},no.apply(this,arguments)}const Kf=x.createContext(null),PN=x.createContext(null),Ur=x.createContext(null),zl=x.createContext(null),Wr=x.createContext({outlet:null,matches:[],isDataRoute:!1}),o1=x.createContext(null);function NN(e,t){let{relative:n}=t===void 0?{}:t;wo()||Ee(!1);let{basename:r,navigator:s}=x.useContext(Ur),{hash:i,pathname:o,search:a}=l1(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:tr([r,o])),s.createHref({pathname:l,search:a,hash:i})}function wo(){return x.useContext(zl)!=null}function bo(){return wo()||Ee(!1),x.useContext(zl).location}function a1(e){x.useContext(Ur).static||x.useLayoutEffect(e)}function jN(){let{isDataRoute:e}=x.useContext(Wr);return e?BN():RN()}function RN(){wo()||Ee(!1);let e=x.useContext(Kf),{basename:t,future:n,navigator:r}=x.useContext(Ur),{matches:s}=x.useContext(Wr),{pathname:i}=bo(),o=JSON.stringify(r1(s,n.v7_relativeSplatPath)),a=x.useRef(!1);return a1(()=>{a.current=!0}),x.useCallback(function(c,u){if(u===void 0&&(u={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=s1(c,JSON.parse(o),i,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:tr([t,f.pathname])),(u.replace?r.replace:r.push)(f,u.state,u)},[t,r,o,i,e])}function l1(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(Ur),{matches:s}=x.useContext(Wr),{pathname:i}=bo(),o=JSON.stringify(r1(s,r.v7_relativeSplatPath));return x.useMemo(()=>s1(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function AN(e,t){return MN(e,t)}function MN(e,t,n,r){wo()||Ee(!1);let{navigator:s}=x.useContext(Ur),{matches:i}=x.useContext(Wr),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let c=bo(),u;if(t){var f;let b=typeof t=="string"?Zs(t):t;l==="/"||(f=b.pathname)!=null&&f.startsWith(l)||Ee(!1),u=b}else u=c;let h=u.pathname||"/",p=h;if(l!=="/"){let b=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let w=iN(e,{pathname:p}),y=VN(w&&w.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:tr([l,s.encodeLocation?s.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:tr([l,s.encodeLocation?s.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&y?x.createElement(zl.Provider,{value:{location:no({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Hn.Pop}},y):y}function ON(){let e=$N(),t=TN(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:s},n):null,null)}const DN=x.createElement(ON,null);class LN extends x.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?x.createElement(Wr.Provider,{value:this.props.routeContext},x.createElement(o1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function IN(e){let{routeContext:t,match:n,children:r}=e,s=x.useContext(Kf);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Wr.Provider,{value:t},r)}function VN(e,t,n,r){var s;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 o=e,a=(s=n)==null?void 0:s.errors;if(a!=null){let u=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);u>=0||Ee(!1),o=o.slice(0,Math.min(o.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<o.length;u++){let f=o[u];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=u),f.route.id){let{loaderData:h,errors:p}=n,w=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||w){l=!0,c>=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((u,f,h)=>{let p,w=!1,y=null,b=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,y=f.route.errorElement||DN,l&&(c<0&&h===0?(w=!0,b=null):c===h&&(w=!0,b=f.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,h+1)),m=()=>{let v;return p?v=y:w?v=b:f.route.Component?v=x.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=u,x.createElement(IN,{match:f,routeContext:{outlet:u,matches:g,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?x.createElement(LN,{location:n.location,revalidation:n.revalidation,component:y,error:p,children:m(),routeC
304ontext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var c1=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(c1||{}),rl=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}(rl||{});function _N(e){let t=x.useContext(Kf);return t||Ee(!1),t}function FN(e){let t=x.useContext(PN);return t||Ee(!1),t}function zN(e){let t=x.useContext(Wr);return t||Ee(!1),t}function u1(e){let t=zN(),n=t.matches[t.matches.length-1];return n.route.id||Ee(!1),n.route.id}function $N(){var e;let t=x.useContext(o1),n=FN(rl.UseRouteError),r=u1(rl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function BN(){let{router:e}=_N(c1.UseNavigateStable),t=u1(rl.UseNavigateStable),n=x.useRef(!1);return a1(()=>{n.current=!0}),x.useCallback(function(s,i){i===void 0&&(i={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,no({fromRouteId:t},i)))},[e,t])}function UN(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function wa(e){Ee(!1)}function WN(e){let{basename:t="/",children:n=null,location:r,navigationType:s=Hn.Pop,navigator:i,static:o=!1,future:a}=e;wo()&&Ee(!1);let l=t.replace(/^\/*/,"/"),c=x.useMemo(()=>({basename:l,navigator:i,static:o,future:no({v7_relativeSplatPath:!1},a)}),[l,a,i,o]);typeof r=="string"&&(r=Zs(r));let{pathname:u="/",search:f="",hash:h="",state:p=null,key:w="default"}=r,y=x.useMemo(()=>{let b=Hf(u,l);return b==null?null:{location:{pathname:b,search:f,hash:h,state:p,key:w},navigationType:s}},[l,u,f,h,p,w,s]);return y==null?null:x.createElement(Ur.Provider,{value:c},x.createElement(zl.Provider,{children:n,value:y}))}function HN(e){let{children:t,location:n}=e;return AN(od(t),n)}new Promise(()=>{});function od(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,s)=>{if(!x.isValidElement(r))return;let i=[...t,s];if(r.type===x.Fragment){n.push.apply(n,od(r.props.children,i));return}r.type!==wa&&Ee(!1),!r.props.index||!r.props.children||Ee(!1);let o={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&&(o.children=od(r.props.children,i)),n.push(o)}),n}/**
305 * React Router DOM v6.30.1
306 *
307 * Copyright (c) Remix Software Inc.
308 *
309 * This source code is licensed under the MIT license found in the
310 * LICENSE.md file in the root directory of this source tree.
311 *
312 * @license MIT
313 */function ad(){return ad=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},ad.apply(this,arguments)}function KN(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,i;for(i=0;i<r.length;i++)s=r[i],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function GN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function YN(e,t){return e.button===0&&(!t||t==="_self")&&!GN(e)}const QN=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],qN="6";try{window.__reactRouterVersion=qN}catch{}const XN="startTransition",Nm=Id[XN];function ZN(e){let{basename:t,children:n,future:r,window:s}=e,i=x.useRef();i.current==null&&(i.current=nN({window:s,v5Compat:!0}));let o=i.current,[a,l]=x.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},u=x.useCallback(f=>{c&&Nm?Nm(()=>l(f)):l(f)},[l,c]);return x.useLayoutEffect(()=>o.listen(u),[o,u]),x.useEffect(()=>UN(r),[r]),x.createElement(WN,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const JN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ej=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,d1=x.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:i,replace:o,state:a,target:l,to:c,preventScrollReset:u,viewTransition:f}=t,h=KN(t,QN),{basename:p}=x.useContext(Ur),w,y=!1;if(typeof c=="string"&&ej.test(c)&&(w=c,JN))try{let v=new URL(window.location.href),S=c.startsWith("//")?new URL(v.protocol+c):new URL(c),C=Hf(S.pathname,p);S.origin===v.origin&&C!=null?c=C+S.search+S.hash:y=!0}catch{}let b=NN(c,{relative:s}),g=tj(c,{replace:o,state:a,target:l,preventScrollReset:u,relative:s,viewTransition:f});function m(v){r&&r(v),v.defaultPrevented||g(v)}return x.createElement("a",ad({},h,{href:w||b,onClick:y||i?r:m,ref:n,target:l}))});var jm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"}
vendor: 9,992 bytes, line 313
313)(jm||(jm={}));var Rm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Rm||(Rm={}));function tj(e,t){let{target:n,replace:r,state:s,preventScrollReset:i,relative:o,viewTransition:a}=t===void 0?{}:t,l=jN(),c=bo(),u=l1(e,{relative:o});return x.useCallback(f=>{if(YN(f,n)){f.preventDefault();let h=r!==void 0?r:nl(c)===nl(u);l(e,{replace:h,state:s,preventScrollReset:i,relative:o,viewTransition:a})}},[c,l,u,r,s,n,e,i,o,a])}const Gf=x.createContext({});function Yf(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const f1=typeof window<"u",h1=f1?x.useLayoutEffect:x.useEffect,$l=x.createContext(null);function Qf(e,t){e.indexOf(t)===-1&&e.push(t)}function sl(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 Bl=()=>{},Us=()=>{};const wn={},p1=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function m1(e){return typeof e=="object"&&e!==null}const g1=e=>/^0[^.\s]+$/u.test(e);function qf(e){let t;return()=>(t===void 0&&(t=e()),t)}const xt=e=>e,nj=(e,t)=>n=>t(e(n)),So=(...e)=>e.reduce(nj),ro=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Xf{constructor(){this.subscriptions=[]}add(t){return Qf(this.subscriptions,t),()=>sl(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i<s;i++){const o=this.subscriptions[i];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const wt=e=>e*1e3,yt=e=>e/1e3;function y1(e,t){return t?e*(1e3/t):0}const v1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,rj=1e-7,sj=12;function ij(e,t,n,r,s){let i,o,a=0;do o=t+(n-t)/2,i=v1(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>rj&&++a<sj);return o}function Co(e,t,n,r){if(e===t&&n===r)return xt;const s=i=>ij(i,0,1,e,n);return i=>i===0||i===1?i:v1(s(i),t,r)}const x1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,w1=e=>t=>1-e(1-t),b1=Co(.33,1.53,.69,.99),Zf=w1(b1),S1=x1(Zf),C1=e=>(e*=2)<1?.5*Zf(e):.5*(2-Math.pow(2,-10*(e-1))),Jf=e=>1-Math.sin(Math.acos(e)),E1=w1(Jf),T1=x1(Jf),oj=Co(.42,0,1,1),aj=Co(0,0,.58,1),k1=Co(.42,0,.58,1),lj=e=>Array.isArray(e)&&typeof e[0]!="number",P1=e=>Array.isArray(e)&&typeof e[0]=="number",Am={linear:xt,easeIn:oj,easeInOut:k1,easeOut:aj,circIn:Jf,circInOut:T1,circOut:E1,backIn:Zf,backInOut:S1,backOut:b1,anticipate:C1},cj=e=>typeof e=="string",Mm=e=>{if(P1(e)){Us(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return Co(t,n,r,s)}else if(cj(e))return Us(Am[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Am[e];return e},Zo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Om={value:null,addProjectionMetrics:null};function uj(e,t){let n=new Set,r=new Set,s=!1,i=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function c(f){o.has(f)&&(u.schedule(f),e()),l++,f(a)}const u={schedule:(f,h=!1,p=!1)=>{const y=p&&s?n:r;return h&&o.add(f),y.has(f)||y.add(f),f},cancel:f=>{r.delete(f),o.delete(f)},process:f=>{if(a=f,s){i=!0;return}s=!0,[n,r]=[r,n],n.forEach(c),t&&Om.value&&Om.value.frameloop[t].push(l),l=0,n.clear(),s=!1,i&&(i=!1,u.process(f))}};return u}const dj=40;function N1(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=Zo.reduce((v,S)=>(v[S]=uj(i,t?S:void 0),v),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:f,preRender:h,render:p,postRender:w}=o,y=()=>{const v=wn.useManualTiming?s.timestamp:performance.now();n=!1,wn.useManualTiming||(s.delta=r?1e3/60:Math.max(Math.min(v-s.timestamp,dj),1)),s.timestamp=v,s.isProcessing=!0,a.process(s),l.process(s),c.process(s),u.process(s),f.process(s),h.process(s),p.process(s),w.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(y))},b=()=>{n=!0,r=!0,s.isProcessing||e(y)};return{schedule:Zo.reduce((v,S)=>{const C=o[S];return v[S]=(E,T=!1,k=!1)=>(n||b(),C.schedule(E,T,k)),v},{}),cancel:v=>{for(let S=0;S<Zo.length;S++)o[Zo[S]].cancel(v)},state:s,steps:o}}const{schedule:oe,cancel:ar,state:Me,steps:Lc}=N1(typeof requestAnimationFrame<"u"?requestAnimationFrame:xt,!0);let ba;function fj(){ba=void 0}const Ke={now:()=>(ba===void 0&&Ke.set(Me.isProcessing||wn.useManualTiming?Me.timestamp:performance.now()),ba),set:e=>{ba=e,queueMicrotask(fj)}},j1=e=>t=>typeof t=="string"&&t.startsWith(e),R1=j1("--"),hj=j1("var(--"),eh=e=>hj(e)?pj.test(e.split("/*")[0].trim()):!1,pj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Dm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Js={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},so={...Js,transform:e=>nn(0,1,e)},Jo={...Js,default:1},Ri=e=>Math.round(e*1e5)/1e5,th=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function mj(e){return e==null}const gj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,nh=(e,t)=>n=>!!(typeof n=="string"&&gj.test(n)&&n.startsWith(e)||t&&!mj(n)&&Object.prototype.hasOwnProperty.call(n,t)),A1=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,i,o,a]=r.match(th);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},yj=e=>nn(0,255,e),Ic={...Js,transform:e=>Math.round(yj(e))},Er={test:nh("rgb","red"),parse:A1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ic.transform(e)+", "+Ic.transform(t)+", "+Ic.transform(n)+", "+Ri(so.transform(r))+")"};function vj(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const ld={test:nh("#"),parse:vj,transform:Er.transform},Eo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Mn=Eo("deg"),Jt=Eo("%"),_=Eo("px"),xj=Eo("vh"),wj=Eo("vw"),Lm={...Jt,parse:e=>Jt.parse(e)/100,transform:e=>Jt.transform(e*100)},fs={test:nh("hsl","hue"),parse:A1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Jt.transform(Ri(t))+", "+Jt.transform(Ri(n))+", "+Ri(so.transform(r))+")"},Se={test:e=>Er.test(e)||ld.test(e)||fs.test(e),parse:e=>Er.test(e)?Er.parse(e):fs.test(e)?fs.parse(e):ld.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Er.transform(e):fs.transform(e),getAnimatableNone:e=>{const t=Se.parse(e);return t.alpha=0,Se.transform(t)}},bj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Sj(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(th))==null?void 0:t.length)||0)+(((n=e.match(bj))==null?void 0:n.length)||0)>0}const M1="number",O1="color",Cj="var",Ej="var(",Im="${}",Tj=/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 io(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let i=0;const a=t.replace(Tj,l=>(Se.test(l)?(r.color.push(i),s.push(O1),n.push(Se.parse(l))):l.startsWith(Ej)?(r.var.push(i),s.push(Cj),n.push(l)):(r.number.push(i),s.push(M1),n.push(parseFloat(l))),++i,Im)).split(Im);return{values:n,split:a,indexes:r,types:s}}function D1(e){return io(e).values}function L1(e){const{split:t,types:n}=io(e),r=t.length;return s=>{let i="";for(let o=0;o<r;o++)if(i+=t[o],s[o]!==void 0){const a=n[o];a===M1?i+=Ri(s[o]):a===O1?i+=Se.transform(s[o]):i+=s[o]}return i}}const kj=e=>typeof e=="number"?0:Se.test(e)?Se.getAnimatableNone(e):e;function Pj(e){const t=D1(e);return L1(e)(t.map(kj))}const lr={test:Sj,parse:D1,createTransformer:L1,getAnimatableNone:Pj};function Vc(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 Nj({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;s=Vc(l,a,e+1/3),i=Vc(l,a,e),o=Vc(l,a,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function il(e,t){return n=>n>0?t:e}const pe=(e,t,n)=>e+(t-e)*n,_c=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},jj=[ld,Er,fs],Rj=e=>jj.find(t=>t.test(e));function Vm(e){const t=Rj(e);if(Bl(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===fs&&(n=Nj(n)),n}const _m=(e,t)=>{const n=Vm(e),r=Vm(t);if(!n||!r)return il(e,t);const s={...n};return i=>(s.red=_c(n.red,r.red,i),s.green=_c(n.green,r.green,i),s.blue=_c(n.blue,r.blue,i),s.alpha=pe(n.alpha,r.alpha,i),Er.transform(s))},cd=new Set(["none","hidden"]);function Aj(e,t){return cd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Mj(e,t){return n=>pe(e,t,n)}function rh(e){return typeof e=="number"?Mj:typeof e=="string"?eh(e)?il:Se.test(e)?_m:Lj:Array.isArray(e)?I1:typeof e=="object"?Se.test(e)?_m:Oj:il}function I1(e,t){const n=[...e],r=n.length,s=e.map((i,o)=>rh(i)(i,t[o]));return i=>{for(let o=0;o<r;o++)n[o]=s[o](i);return n}}function Oj(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=rh(e[s])(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}}function Dj(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],o=e.indexes[i][r[i]],a=e.values[o]??0;n[s]=a,r[i]++}return n}const Lj=(e,t)=>{const n=lr.createTransformer(t),r=io(e),s=io(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?cd.has(e)&&!s.values.length||cd.has(t)&&!r.values.length?Aj(e,t):So(I1(Dj(r,s),s.values),n):(Bl(!0,`Complex values '${e}' and '${t}
313' 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"),il(e,t))};function V1(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?pe(e,t,n):rh(e)(e,t)}const Ij=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>oe.update(t,n),stop:()=>ar(t),now:()=>Me.isProcessing?Me.timestamp:Ke.now()}},_1=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let i=0;i<s;i++)r+=Math.round(e(i/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ol=2e4;function sh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<ol;)t+=n,r=e.next(t);return t>=ol?1/0:t}function Vj(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(sh(r),ol);return{type:"keyframes",ease:i=>r.next(s*i).value/t,duration:yt(s)}}const _j=5;function F1(e,t,n){const r=Math.max(t-_j,0);return y1(n-e(r),t-r)}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},Fc=.001;function Fj({duration:e=fe.duration,bounce:t=fe.bounce,velocity:n=fe.velocity,mass:r=fe.mass}){let s,i;Bl(e<=wt(fe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=nn(fe.minDamping,fe.maxDamping,o),e=nn(fe.minDuration,fe.maxDuration,yt(e)),o<1?(s=c=>{const u=c*o,f=u*e,h=u-n,p=ud(c,o),w=Math.exp(-f);return Fc-h/p*w},i=c=>{const f=c*o*e,h=f*n+n,p=Math.pow(o,2)*Math.pow(c,2)*e,w=Math.exp(-f),y=ud(Math.pow(c,2),o);return(-s(c)+Fc>0?-1:1)*((h-p)*w)/y}):(s=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-Fc+u*f},i=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const a=5/e,l=$j(s,i,a);if(e=wt(e),isNaN(l))return{stiffness:fe.stiffness,damping:fe.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:o*2*Math.sqrt(r*c),duration:e}}}const zj=12;function $j(e,t,n){let r=n;for(let s=1;s<zj;s++)r=r-e(r)/t(r);return r}function ud(e,t){return e*Math.sqrt(1-t*t)}const Bj=["duration","bounce"],Uj=["stiffness","damping","mass"];function Fm(e,t){return t.some(n=>e[n]!==void 0)}function Wj(e){let t={velocity:fe.velocity,stiffness:fe.stiffness,damping:fe.damping,mass:fe.mass,isResolvedFromDuration:!1,...e};if(!Fm(e,Uj)&&Fm(e,Bj))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,i=2*nn(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:fe.mass,stiffness:s,damping:i}}else{const n=Fj(e);t={...t,...n,mass:fe.mass},t.isResolvedFromDuration=!0}return t}function al(e=fe.visualDuration,t=fe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:c,mass:u,duration:f,velocity:h,isResolvedFromDuration:p}=Wj({...n,velocity:-yt(n.velocity||0)}),w=h||0,y=c/(2*Math.sqrt(l*u)),b=o-i,g=yt(Math.sqrt(l/u)),m=Math.abs(b)<5;r||(r=m?fe.restSpeed.granular:fe.restSpeed.default),s||(s=m?fe.restDelta.granular:fe.restDelta.default);let v;if(y<1){const C=ud(g,y);v=E=>{const T=Math.exp(-y*g*E);return o-T*((w+y*g*b)/C*Math.sin(C*E)+b*Math.cos(C*E))}}else if(y===1)v=C=>o-Math.exp(-g*C)*(b+(w+g*b)*C);else{const C=g*Math.sqrt(y*y-1);v=E=>{const T=Math.exp(-y*g*E),k=Math.min(C*E,300);return o-T*((w+y*g*b)*Math.sinh(k)+C*b*Math.cosh(k))/C}}const S={calculatedDuration:p&&f||null,next:C=>{const E=v(C);if(p)a.done=C>=f;else{let T=C===0?w:0;y<1&&(T=C===0?wt(w):F1(v,C,E));const k=Math.abs(T)<=r,R=Math.abs(o-E)<=s;a.done=k&&R}return a.value=a.done?o:E,a},toString:()=>{const C=Math.min(sh(S),ol),E=_1(T=>S.next(C*T).value,C,30);return C+"ms "+E},toTransition:()=>{}};return S}al.applyToOptions=e=>{const t=Vj(e,100,al);return e.ease=t.ease,e.duration=wt(t.duration),e.type="keyframes",e};function dd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:a,max:l,restDelta:c=.5,restSpeed:u}){const f=e[0],h={done:!1,value:f},p=k=>a!==void 0&&k<a||l!==void 0&&k>l,w=k=>a===void 0?l:l===void 0||Math.abs(a-k)<Math.abs(l-k)?a:l;let y=n*t;
vendor: 15,482 bytes, line 313
313const b=f+y,g=o===void 0?b:o(b);g!==b&&(y=g-f);const m=k=>-y*Math.exp(-k/r),v=k=>g+m(k),S=k=>{const R=m(k),A=v(k);h.done=Math.abs(R)<=c,h.value=h.done?g:A};let C,E;const T=k=>{p(h.value)&&(C=k,E=al({keyframes:[h.value,w(h.value)],velocity:F1(v,k,h.value),damping:s,stiffness:i,restDelta:c,restSpeed:u}))};return T(0),{calculatedDuration:null,next:k=>{let R=!1;return!E&&C===void 0&&(R=!0,S(k),T(k)),C!==void 0&&k>=C?E.next(k-C):(!R&&S(k),h)}}}function Hj(e,t,n){const r=[],s=n||wn.mix||V1,i=e.length-1;for(let o=0;o<i;o++){let a=s(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||xt:t;a=So(l,a)}r.push(a)}return r}function Kj(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;if(Us(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 o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Hj(t,r,s),l=a.length,c=u=>{if(o&&u<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(u<e[f+1]);f++);const h=ro(e[f],e[f+1],u);return a[f](h)};return n?u=>c(nn(e[0],e[i-1],u)):c}function Gj(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=ro(0,t,r);e.push(pe(n,1,s))}}function Yj(e){const t=[0];return Gj(t,e.length-1),t}function Qj(e,t){return e.map(n=>n*t)}function qj(e,t){return e.map(()=>t||k1).splice(0,e.length-1)}function Ai({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=lj(r)?r.map(Mm):Mm(r),i={done:!1,value:t[0]},o=Qj(n&&n.length===t.length?n:Yj(t),e),a=Kj(o,t,{ease:Array.isArray(s)?s:qj(t,s)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const Xj=e=>e!==null;function ih(e,{repeat:t,repeatType:n="loop"},r,s=1){const i=e.filter(Xj),a=s<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const Zj={decay:dd,inertia:dd,tween:Ai,keyframes:Ai,spring:al};function z1(e){typeof e.type=="string"&&(e.type=Zj[e.type])}class oh{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 Jj=e=>e/100;class ah extends oh{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,s;const{motionValue:n}=this.options;n&&n.updatedAt!==Ke.now()&&this.tick(Ke.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;z1(t);const{type:n=Ai,repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:o=0}=t;let{keyframes:a}=t;const l=n||Ai;l!==Ai&&typeof a[0]!="number"&&(this.mixKeyframes=So(Jj,V1(a[0],a[1])),a=[0,100]);const c=l({...t,keyframes:a});i==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=sh(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=c}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:u,repeat:f,repeatType:h,repeatDelay:p,type:w,onUpdate:y,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let v=this.currentTime,S=r;if(f){const k=Math.min(this.currentTime,s)/a;let R=Math.floor(k),A=k%1;!A&&k>=1&&(A=1),A===1&&R--,R=Math.min(R,f+1),!!(R%2)&&(h==="reverse"?(A=1-A,p&&(A-=p/a)):h==="mirror"&&(S=o)),v=nn(0,1,A)*a}const C=m?{done:!1,value:u[0]}:S.next(v);i&&(C.value=i(C.value));let{done:E}=C;!m&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&w!==dd&&(C.value=ih(u,this.options,b,this.speed)),y&&y(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){var n;t=wt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ke.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=yt(this.currentTime))}play(){var s,i;if(this.isStopped)return;const{driver:t=Ij,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(i=(s=this.options).onPlay)==null||i.call(s);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(Ke.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 eR(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Tr=e=>e*180/Math.PI,fd=e=>{const t=Tr(Math.atan2(e[1],e[0]));return hd(t)},tR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:fd,rotateZ:fd,skewX:e=>Tr(Math.atan(e[1])),skewY:e=>Tr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},hd=e=>(e=e%360,e<0&&(e+=360),e),zm=fd,$m=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Bm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),nR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:$m,scaleY:Bm,scale:e=>($m(e)+Bm(e))/2,rotateX:e=>hd(Tr(Math.atan2(e[6],e[5]))),rotateY:e=>hd(Tr(Math.atan2(-e[2],e[0]))),rotateZ:zm,rotate:zm,skewX:e=>Tr(Math.atan(e[4])),skewY:e=>Tr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function pd(e){return e.includes("scale")?1:0}function md(e,t){if(!e||e==="none")return pd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=nR,s=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=tR,s=a}if(!s)return pd(t);const i=r[t],o=s[1].split(",").map(sR);return typeof i=="function"?i(o):o[i]}const rR=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return md(n,t)};function sR(e){return parseFloat(e.trim())}const ei=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ti=new Set(ei),Um=e=>e===Js||e===_,iR=new Set(["x","y","z"]),oR=ei.filter(e=>!iR.has(e));function aR(e){const t=[];return oR.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Kn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>md(t,"x"),y:(e,{transform:t})=>md(t,"y")};Kn.translateX=Kn.x;Kn.translateY=Kn.y;const Dr=new Set;let gd=!1,yd=!1,vd=!1;function $1(){if(yd){const e=Array.from(Dr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=aR(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,o])=>{var a;(a=r.getValue(i))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}yd=!1,gd=!1,Dr.forEach(e=>e.complete(vd)),Dr.clear()}function B1(){Dr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(yd=!0)})}function lR(){vd=!0,B1(),$1(),vd=!1}class lh{constructor(t,n,r,s,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Dr.add(this),gd||(gd=!0,oe.read(B1),oe.resolveKeyframes($1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const i=s==null?void 0:s.get(),o=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),s&&i===void 0&&s.set(t[0])}eR(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 cR=e=>e.startsWith("--");function uR(e,t,n){cR(t)?e.style.setProperty(t,n):e.style[t]=n}const dR=qf(()=>window.ScrollTimeline!==void 0),fR={};function hR(e,t){const n=qf(e);return()=>fR[t]??n()}const U1=hR(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),xi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Wm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xi([0,.65,.55,1]),circOut:xi([.55,0,1,.45]),backIn:xi([.31,.01,.66,-.59]),backOut:xi([.33,1.53,.69,.99])};function W1(e,t){if(e)return typeof e=="function"?U1()?_1(e,t):"ease-out":P1(e)?xi(e):Array.isArray(e)?e.map(n=>W1(n,t)||Wm.easeOut):Wm[e]}function pR(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:o="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const f=W1(a,s);Array.isArray(f)&&(u.easing=f);const h={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"};return c&&(h.pseudoElement=c),e.animate(u,h)}function H1(e){return typeof e=="function"&&"applyToOptions"in e}function mR({type:e,...t}){return H1(e)&&U1()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class K1 extends oh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,Us(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const c=mR(t);this.animation=pR(n,r,s,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const u=ih(s,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(u):uR(n,r,u),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,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.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){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=wt(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&dR()?(this.animation.timeline=t,xt):n(this)}}const G1={anticipate:C1,backInOut:S1,circInOut:T1};function gR(e){return e in G1}function yR(e){typeof e.ease=="string"&&gR(e.ease)&&(e.ease=G1[e.ease])}const zc=10;class vR extends K1{constructor(t){yR(t),z1(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:i,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new ah({...o,autoplay:!1}),l=Math.max(zc,Ke.now()-this.startTime),c=nn(0,zc,l-zc);n.setWithVelocity(a.sample(Math.max(0,l-c)).value,a.sample(l).value,c),a.stop()}}const Hm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(lr.test(e)||e==="0")&&!e.startsWith("url("));function xR(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 wR(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],o=Hm(s,t),a=Hm(i,t);return Bl(o===a,`You are trying to animate ${t} from "${s}" to "${i}". "${o?i:s}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:xR(e)||(n==="spring"||H1(n))&&r}function xd(e){e.duration=0,e.type="keyframes"}const bR=new Set(["opacity","clipPath","filter","transform"]),SR=qf(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function CR(e){var u;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:i,type:o}=e;if(!(((u=t==null?void 0:t.owner)==null?void 0:u.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=t.owner.getProps();return SR()&&n&&bR.has(n)&&(n!=="transform"||!c)&&!l&&!r&&s!=="mirror"&&i!==0&&o!=="inertia"}const ER=40;class TR extends oh{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:
313o="loop",keyframes:a,name:l,motionValue:c,element:u,...f}){var w;super(),this.stop=()=>{var y,b;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=Ke.now();const h={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:o,name:l,motionValue:c,element:u,...f},p=(u==null?void 0:u.KeyframeResolver)||lh;this.keyframeResolver=new p(a,(y,b,g)=>this.onKeyframesResolved(y,b,h,!g),l,c,u),(w=this.keyframeResolver)==null||w.scheduleResolve()}onKeyframesResolved(t,n,r,s){var b,g;this.keyframeResolver=void 0;const{name:i,type:o,velocity:a,delay:l,isHandoff:c,onUpdate:u}=r;this.resolvedAt=Ke.now(),wR(t,i,o,a)||((wn.instantAnimations||!l)&&(u==null||u(ih(t,r,n))),t[0]=t[t.length-1],xd(r),r.repeat=0);const h={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>ER?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},p=!c&&CR(h),w=(g=(b=h.motionValue)==null?void 0:b.owner)==null?void 0:g.current,y=p?new vR({...h,element:w}):new ah(h);y.finished.then(()=>{this.notifyFinished()}).catch(xt),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}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(),lR()),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 Y1(e,t,n,r=0,s=1){const i=Array.from(e).sort((c,u)=>c.sortNodePosition(u)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(i,o):s===1?i*r:a-i*r}const kR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function PR(e){const t=kR.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const NR=4;function Q1(e,t,n=1){Us(n<=NR,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=PR(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return p1(o)?parseFloat(o):o}return eh(s)?Q1(s,t,n+1):s}const jR={type:"spring",stiffness:500,damping:25,restSpeed:10},RR=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),AR={type:"keyframes",duration:.8},MR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},OR=(e,{keyframes:t})=>t.length>2?AR:ti.has(e)?e.startsWith("scale")?RR(t[1]):jR:MR,DR=e=>e!==null;function LR(e,{repeat:t,repeatType:n="loop"},r){const s=e.filter(DR),i=t&&n!=="loop"&&t%2===1?0:s.length-1;return!i||r===void 0?s[i]:r}function q1(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function ch(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?q1(n,e):n}function IR({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:i,repeatType:o,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const uh=(e,t,n,r={},s,i)=>o=>{const a=ch(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-wt(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:s};IR(a)||Object.assign(u,OR(e,u)),u.duration&&(u.duration=wt(u.duration)),u.repeatDelay&&(u.repeatDelay=wt(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let f=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(xd(u),u.delay===0&&(f=!0)),(wn.instantAnimations||wn.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(f=!0,xd(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,f&&!i&&t.get()!==void 0){const h=LR(u.keyframes,a);if(h!==void 0){oe.update(()=>{u.onUpdate(h),u.onComplete()});return}}return a.isSync?new ah(u):new TR(u)};function Km(e){const t=[{},{}];
vendor: 4,595 bytes, line 313
313return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function dh(e,t,n,r){if(typeof t=="function"){const[s,i]=Km(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=Km(r);t=t(n!==void 0?n:e.custom,s,i)}return t}function Ts(e,t,n){const r=e.getProps();return dh(r,t,n!==void 0?n:r.custom,e)}const X1=new Set(["width","height","top","left","right","bottom",...ei]),Gm=30,VR=e=>!isNaN(parseFloat(e));class _R{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const s=Ke.now();if(this.updatedAt!==s&&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 o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ke.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=VR(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 Xf);const r=this.events[t].add(n);return t==="change"?()=>{r(),oe.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=Ke.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Gm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Gm);return y1(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 Ws(e,t){return new _R(e,t)}const wd=e=>Array.isArray(e);function FR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ws(n))}function zR(e){return wd(e)?e[e.length-1]||0:e}function $R(e,t){const n=Ts(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const o in i){const a=zR(i[o]);FR(e,o,a)}}const $e=e=>!!(e&&e.getVelocity);function BR(e){return!!($e(e)&&e.add)}function bd(e,t){const n=e.getValue("willChange");if(BR(n))return n.add(t);if(!n&&wn.WillChange){const r=new wn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function fh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const UR="framerAppearId",Z1="data-"+fh(UR);function J1(e){return e.props[Z1]}function WR({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:s}={}){let{transition:i,transitionEnd:o,...a}=t;const l=e.getDefaultTransition();i=i?q1(i,l):l;const c=i==null?void 0:i.reduceMotion;r&&(i=r);const u=[],f=s&&e.animationState&&e.animationState.getState()[s];for(const h in a){const p=e.getValue(h,e.latestValues[h]??null),w=a[h];if(w===void 0||f&&WR(f,h))continue;const y={delay:n,...ch(i||{},h)},b=p.get();if(b!==void 0&&!p.isAnimating&&!Array.isArray(w)&&w===b&&!y.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const S=J1(e);if(S){const C=window.MotionHandoffAnimation(S,h,oe);C!==null&&(y.startTime=C,g=!0)}}bd(e,h);const m=c??e.shouldReduceMotion;p.start(uh(h,p,w,m&&X1.has(h)?{type:!1}:y,e,g));const v=p.animation;v&&u.push(v)}if(o){const h=()=>oe.update(()=>{o&&$R(e,o)});
vendor: 4,458 bytes, line 313
313u.length?Promise.all(u).then(h):h()}return u}function Sd(e,t,n={}){var l;const r=Ts(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const i=r?()=>Promise.all(ew(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:f,staggerDirection:h}=s;return HR(e,t,c,u,f,h,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[c,u]=a==="beforeChildren"?[i,o]:[o,i];return c().then(()=>u())}else return Promise.all([i(),o(n.delay)])}function HR(e,t,n=0,r=0,s=0,i=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Sd(l,t,{...o,delay:n+(typeof r=="function"?0:r)+Y1(e.variantChildren,l,r,s,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function KR(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(i=>Sd(e,i,n));r=Promise.all(s)}else if(typeof t=="string")r=Sd(e,t,n);else{const s=typeof t=="function"?Ts(e,t,n.custom):t;r=Promise.all(ew(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const GR={test:e=>e==="auto",parse:e=>e},tw=e=>t=>t.test(e),nw=[Js,_,Jt,Mn,wj,xj,GR],Ym=e=>nw.find(tw(e));function YR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||g1(e):!0}const QR=new Set(["brightness","contrast","saturate","opacity"]);function qR(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(th)||[];if(!r)return e;const s=n.replace(r,"");let i=QR.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const XR=/\b([a-z-]*)\(.*?\)/gu,Cd={...lr,getAnimatableNone:e=>{const t=e.match(XR);return t?t.map(qR).join(" "):e}},Qm={...Js,transform:Math.round},ZR={rotate:Mn,rotateX:Mn,rotateY:Mn,rotateZ:Mn,scale:Jo,scaleX:Jo,scaleY:Jo,scaleZ:Jo,skew:Mn,skewX:Mn,skewY:Mn,distance:_,translateX:_,translateY:_,translateZ:_,x:_,y:_,z:_,perspective:_,transformPerspective:_,opacity:so,originX:Lm,originY:Lm,originZ:_},hh={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:_,...ZR,zIndex:Qm,fillOpacity:so,strokeOpacity:so,numOctaves:Qm},JR={...hh,color:Se,backgroundColor:Se,outlineColor:Se,fill:Se,stroke:Se,borderColor:Se,borderTopColor:Se,borderRightColor:Se,borderBottomColor:Se,borderLeftColor:Se,filter:Cd,WebkitFilter:Cd},rw=e=>JR[e];function sw(e,t){let n=rw(e);return n!==Cd&&(n=lr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const eA=new Set(["auto","none","0"]);function tA(e,t,n){let r=0,s;for(;r<e.length&&!s;){const i=e[r];typeof i=="string"&&!eA.has(i)&&io(i).values.length&&(s=e[r]),r++}if(s&&n)for(const i of t)e[i]=sw(n,s)}class nA extends lh{constructor(t,n,r,s,i){super(t,n,r,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let f=t[u];if(typeof f=="string"&&(f=f.trim(),eh(f))){const h=Q1(f,n.current);h!==void 0&&(t[u]=h),u===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!X1.has(r)||t.length!==2)return;const[s,i]=t,o=Ym(s),a=Ym(i),l=Dm(s),c=Dm(i);if(l!==c&&Kn[r]){this.needsMeasurement=!0;return}if(o!==a)if(Um(o)&&Um(a))for(let u=0;u<t.length;u++){const f=t[u];typeof f=="string"&&(t[u]=parseFloat(f))}else Kn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||YR(t[s]))&&r.push(s);r.length&&tA(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=Kn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];
vendor: 11,300 bytes, line 313
313s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const i=r.length-1,o=r[i];r[i]=Kn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}const rA=new Set(["opacity","clipPath","filter","transform"]);function ph(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const s=document.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const iw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Ed(e){return m1(e)&&"offsetHeight"in e}const{schedule:mh,cancel:u3}=N1(queueMicrotask,!1),jt={x:!1,y:!1};function ow(){return jt.x||jt.y}function sA(e){return e==="x"||e==="y"?jt[e]?null:(jt[e]=!0,()=>{jt[e]=!1}):jt.x||jt.y?null:(jt.x=jt.y=!0,()=>{jt.x=jt.y=!1})}function aw(e,t){const n=ph(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function iA(e){return!(e.pointerType==="touch"||ow())}function oA(e,t,n={}){const[r,s,i]=aw(e,n);return r.forEach(o=>{let a=!1,l=!1,c;const u=()=>{o.removeEventListener("pointerleave",w)},f=b=>{c&&(c(b),c=void 0),u()},h=b=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,f(b))},p=()=>{a=!0,window.addEventListener("pointerup",h,s),window.addEventListener("pointercancel",h,s)},w=b=>{if(b.pointerType!=="touch"){if(a){l=!0;return}f(b)}},y=b=>{if(!iA(b))return;l=!1;const g=t(o,b);typeof g=="function"&&(c=g,o.addEventListener("pointerleave",w,s))};o.addEventListener("pointerenter",y,s),o.addEventListener("pointerdown",p,s)}),i}const lw=(e,t)=>t?e===t?!0:lw(e,t.parentElement):!1,gh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,aA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function lA(e){return aA.has(e.tagName)||e.isContentEditable===!0}const cA=new Set(["INPUT","SELECT","TEXTAREA"]);function uA(e){return cA.has(e.tagName)||e.isContentEditable===!0}const Sa=new WeakSet;function qm(e){return t=>{t.key==="Enter"&&e(t)}}function $c(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const dA=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=qm(()=>{if(Sa.has(n))return;$c(n,"down");const s=qm(()=>{$c(n,"up")}),i=()=>$c(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Xm(e){return gh(e)&&!ow()}const Zm=new WeakSet;function fA(e,t,n={}){const[r,s,i]=aw(e,n),o=a=>{const l=a.currentTarget;if(!Xm(a)||Zm.has(a))return;Sa.add(l),n.stopPropagation&&Zm.add(a);const c=t(l,a),u=(p,w)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Sa.has(l)&&Sa.delete(l),Xm(p)&&typeof c=="function"&&c(p,{success:w})},f=p=>{u(p,l===window||l===document||n.useGlobalTarget||lw(l,p.target))},h=p=>{u(p,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",h,s)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,s),Ed(a)&&(a.addEventListener("focus",c=>dA(c,s)),!lA(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),i}function yh(e){return m1(e)&&"ownerSVGElement"in e}const Ca=new WeakMap;let On;const cw=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:yh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],hA=cw("inline","width","offsetWidth"),pA=cw("block","height","offsetHeight");function mA({target:e,borderBoxSize:t}){var n;(n=Ca.get(e))==null||n.forEach(r=>{r(e,{get width(){return hA(e,t)},get height(){return pA(e,t)}})})}function gA(e){e.forEach(mA)}function yA(){typeof ResizeObserver>"u"||(On=new ResizeObserver(gA))}function vA(e,t){On||yA();const n=ph(e);return n.forEach(r=>{let s=Ca.get(r);s||(s=new Set,Ca.set(r,s)),s.add(t),On==null||On.observe(r)}),()=>{n.forEach(r=>{const s=Ca.get(r);s==null||s.delete(t),s!=null&&s.size||On==null||On.unobserve(r)})}}const Ea=new Set;let hs;function xA(){hs=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ea.forEach(t=>t(e))},window.addEventListener("resize",hs)}function wA(e){return Ea.add(e),hs||xA(),()=>{Ea.delete(e),!Ea.size&&typeof hs=="function"&&(window.removeEventListener("resize",hs),hs=void 0)}}function Jm(e,t){return typeof e=="function"?wA(e):vA(e,t)}function bA(e){return yh(e)&&e.tagName==="svg"}const SA=[...nw,Se,lr],CA=e=>SA.find(tw(e)),eg=()=>({translate:0,scale:1,origin:0,originPoint:0}),ps=()=>({x:eg(),y:eg()}),tg=()=>({min:0,max:0}),Te=()=>({x:tg(),y:tg()}),EA=new WeakMap;function Ul(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function oo(e){return typeof e=="string"||Array.isArray(e)}const vh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],xh=["initial",...vh];function Wl(e){return Ul(e.animate)||xh.some(t=>oo(e[t]))}function uw(e){return!!(Wl(e)||e.variants)}function TA(e,t,n){for(const r in t){const s=t[r],i=n[r];if($e(s))e.addValue(r,s);else if($e(i))e.addValue(r,Ws(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(r);e.addValue(r,Ws(o!==void 0?o:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Td={current:null},dw={current:!1},kA=typeof window<"u";function PA(){if(dw.current=!0,!!kA)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Td.current=e.matches;e.addEventListener("change",t),t()}else Td.current=!1}const ng=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ll={};function fw(e){ll=e}function NA(){return ll}class jA{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:i,blockInitialAnimation:o,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=lh,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 p=Ke.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,oe.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=a;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=Wl(n),this.isVariantNode=uw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in h){const w=h[p];c[p]!==void 0&&$e(w)&&w.set(c[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,EA.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((s,i)=>this.bindToMotionValue(i,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(dw.current||PA(),this.shouldReduceMotion=Td.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(),ar(this.notifyUpdate),ar(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&&rA.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:c,duration:u}=n.accelerate,f=new K1({element:this.current,name:t,keyframes:a,times:l,ease:c,duration:wt(u)}),h=o(f);this.valueSubscriptions.set(t,()=>{h(),f.cancel()});return}const r=ti.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&oe.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,()=>{s(),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 ll){const n=ll[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(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):Te()}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<ng.length;r++){const s=ng[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i="on"+s,o=t[i];o&&(this.propEventSubscriptions[s]=this.on(s,o))}this.prevMotionValues=TA(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
vendor: 4,438 bytes, line 313
313addVariantChild(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=Ws(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"&&(p1(r)||g1(r))?r=parseFloat(r):!CA(r)&&lr.test(n)&&(r=sw(t,n)),this.setBaseTarget(t,$e(r)?r.get():r)),$e(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 o=dh(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!$e(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Xf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){mh.render(this.render)}}class hw extends jA{constructor(){super(...arguments),this.KeyframeResolver=nA}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;$e(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class fr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function pw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function RA({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function AA(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 Bc(e){return e===void 0||e===1}function kd({scale:e,scaleX:t,scaleY:n}){return!Bc(e)||!Bc(t)||!Bc(n)}function wr(e){return kd(e)||mw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function mw(e){return rg(e.x)||rg(e.y)}function rg(e){return e&&e!=="0%"}function cl(e,t,n){const r=e-n,s=t*r;return n+s}function sg(e,t,n,r,s){return s!==void 0&&(e=cl(e,s,r)),cl(e,n,r)+t}function Pd(e,t=0,n=1,r,s){e.min=sg(e.min,t,n,r,s),e.max=sg(e.max,t,n,r,s)}function gw(e,{x:t,y:n}){Pd(e.x,t.translate,t.scale,t.originPoint),Pd(e.y,n.translate,n.scale,n.originPoint)}const ig=.999999999999,og=1.0000000000001;function MA(e,t,n,r=!1){const s=n.length;if(!s)return;t.x=t.y=1;let i,o;for(let a=0;a<s;a++){i=n[a],o=i.projectionDelta;const{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&gs(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,gw(e,o)),r&&wr(i.latestValues)&&gs(e,i.latestValues))}t.x<og&&t.x>ig&&(t.x=1),t.y<og&&t.y>ig&&(t.y=1)}function ms(e,t){e.min=e.min+t,e.max=e.max+t}function ag(e,t,n,r,s=.5){const i=pe(e.min,e.max,s);Pd(e,t,n,i,r)}function gs(e,t){ag(e.x,t.x,t.scaleX,t.scale,t.originX),ag(e.y,t.y,t.scaleY,t.scale,t.originY)}function yw(e,t){return pw(AA(e.getBoundingClientRect(),t))}function OA(e,t,n){const r=yw(e,n),{scroll:s}=t;return s&&(ms(r.x,s.offset.x),ms(r.y,s.offset.y)),r}const DA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},LA=ei.length;function IA(e,t,n){let r="",s=!0;for(let i=0;i<LA;i++){const o=ei[i],a=e[o];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(o.startsWith("scale")?1:0);else{const c=parseFloat(a);l=o.startsWith("scale")?c===1:c===0}if(!l||n){const c=iw(a,hh[o]);if(!l){s=!1;const u=DA[o]||o;r+=`${u}(${c}) `}n&&(t[o]=c)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}
vendor: 4,240 bytes, line 313
313function wh(e,t,n){const{style:r,vars:s,transformOrigin:i}=e;let o=!1,a=!1;for(const l in t){const c=t[l];if(ti.has(l)){o=!0;continue}else if(R1(l)){s[l]=c;continue}else{const u=iw(c,hh[l]);l.startsWith("origin")?(a=!0,i[l]=u):r[l]=u}}if(t.transform||(o||n?r.transform=IA(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:u=0}=i;r.transformOrigin=`${l} ${c} ${u}`}}function vw(e,{style:t,vars:n},r,s){const i=e.style;let o;for(o in t)i[o]=t[o];s==null||s.applyProjectionStyles(i,r);for(o in n)i.setProperty(o,n[o])}function lg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const pi={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(_.test(e))e=parseFloat(e);else return e;const n=lg(e,t.target.x),r=lg(e,t.target.y);return`${n}% ${r}%`}},VA={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=lr.parse(e);if(s.length>5)return r;const i=lr.createTransformer(e),o=typeof s[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;s[0+o]/=a,s[1+o]/=l;const c=pe(a,l,.5);return typeof s[2+o]=="number"&&(s[2+o]/=c),typeof s[3+o]=="number"&&(s[3+o]/=c),i(s)}},Nd={borderRadius:{...pi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:pi,borderTopRightRadius:pi,borderBottomLeftRadius:pi,borderBottomRightRadius:pi,boxShadow:VA};function xw(e,{layout:t,layoutId:n}){return ti.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Nd[e]||e==="opacity")}function bh(e,t,n){var o;const r=e.style,s=t==null?void 0:t.style,i={};if(!r)return i;for(const a in r)($e(r[a])||s&&$e(s[a])||xw(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(i[a]=r[a]);return i}function _A(e){return window.getComputedStyle(e)}class FA extends hw{constructor(){super(...arguments),this.type="html",this.renderInstance=vw}readValueFromInstance(t,n){var r;if(ti.has(n))return(r=this.projection)!=null&&r.isProjecting?pd(n):rR(t,n);{const s=_A(t),i=(R1(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return yw(t,n)}build(t,n,r){wh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return bh(t,n,r)}}const zA={offset:"stroke-dashoffset",array:"stroke-dasharray"},$A={offset:"strokeDashoffset",array:"strokeDasharray"};function BA(e,t,n=1,r=0,s=!0){e.pathLength=1;const i=s?zA:$A;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const UA=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ww(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:i=1,pathOffset:o=0,...a},l,c,u){if(wh(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete f.transformBox);for(const p of UA)f[p]!==void 0&&(h[p]=f[p],delete f[p]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&BA(f,s,i,o,!1)}const bw=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"]),Sw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function WA(e,t,n,r){vw(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(bw.has(s)?s:fh(s),t.attrs[s])}function Cw(e,t,n){const r=bh(e,t,n);for(const s in e)if($e(e[s])||$e(t[s])){const i=ei.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}class HA extends hw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Te}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ti.has(n)){const r=rw(n);return r&&r.default||0}return n=bw.has(n)?n:fh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Cw(t,n,r)}build(t,n,r){ww(t,n,this.isSVGTag,r.transformTemplate,r.style)}
vendor: 20,609 bytes, line 313
313renderInstance(t,n,r,s){WA(t,n,r,s)}mount(t){this.isSVGTag=Sw(t.tagName),super.mount(t)}}const KA=xh.length;function Ew(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Ew(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<KA;n++){const r=xh[n],s=e.props[r];(oo(s)||s===!1)&&(t[r]=s)}return t}function Tw(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 GA=[...vh].reverse(),YA=vh.length;function QA(e){return t=>Promise.all(t.map(({animation:n,options:r})=>KR(e,n,r)))}function qA(e){let t=QA(e),n=cg(),r=!0;const s=l=>(c,u)=>{var h;const f=Ts(e,u,l==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(f){const{transition:p,transitionEnd:w,...y}=f;c={...c,...y,...w}}return c};function i(l){t=l(e)}function o(l){const{props:c}=e,u=Ew(e.parent)||{},f=[],h=new Set;let p={},w=1/0;for(let b=0;b<YA;b++){const g=GA[b],m=n[g],v=c[g]!==void 0?c[g]:u[g],S=oo(v),C=g===l?m.isActive:null;C===!1&&(w=b);let E=v===u[g]&&v!==c[g]&&S;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),m.protectedKeys={...p},!m.isActive&&C===null||!v&&!m.prevProp||Ul(v)||typeof v=="boolean")continue;if(g==="exit"&&m.isActive&&C!==!0){m.prevResolvedValues&&(p={...p,...m.prevResolvedValues});continue}const T=XA(m.prevProp,v);let k=T||g===l&&m.isActive&&!E&&S||b>w&&S,R=!1;const A=Array.isArray(v)?v:[v];let z=A.reduce(s(g),{});C===!1&&(z={});const{prevResolvedValues:I={}}=m,G={...I,...z},D=F=>{k=!0,h.has(F)&&(R=!0,h.delete(F)),m.needsAnimating[F]=!0;const P=e.getValue(F);P&&(P.liveStyle=!1)};for(const F in G){const P=z[F],j=I[F];if(p.hasOwnProperty(F))continue;let L=!1;wd(P)&&wd(j)?L=!Tw(P,j):L=P!==j,L?P!=null?D(F):h.add(F):P!==void 0&&h.has(F)?D(F):m.protectedKeys[F]=!0}m.prevProp=v,m.prevResolvedValues=z,m.isActive&&(p={...p,...z}),r&&e.blockInitialAnimation&&(k=!1);const Q=E&&T;k&&(!Q||R)&&f.push(...A.map(F=>{const P={type:g};if(typeof F=="string"&&r&&!Q&&e.manuallyAnimateOnMount&&e.parent){const{parent:j}=e,L=Ts(j,F);if(j.enteringChildren&&L){const{delayChildren:W}=L.transition||{};P.delay=Y1(j.enteringChildren,e,W)}}return{animation:F,options:P}}))}if(h.size){const b={};if(typeof c.initial!="boolean"){const g=Ts(e,Array.isArray(c.initial)?c.initial[0]:c.initial);g&&g.transition&&(b.transition=g.transition)}h.forEach(g=>{const m=e.getBaseTarget(g),v=e.getValue(g);v&&(v.liveStyle=!0),b[g]=m??null}),f.push({animation:b})}let y=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(f):Promise.resolve()}function a(l,c){var f;if(n[l].isActive===c)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(h=>{var p;return(p=h.animationState)==null?void 0:p.setActive(l,c)}),n[l].isActive=c;const u=o(l);for(const h in n)n[h].protectedKeys={};return u}return{animateChanges:o,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=cg()}}}function XA(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Tw(t,e):!1}function gr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function cg(){return{animate:gr(!0),whileInView:gr(),whileHover:gr(),whileTap:gr(),whileDrag:gr(),whileFocus:gr(),exit:gr()}}function ug(e,t){e.min=t.min,e.max=t.max}function Nt(e,t){ug(e.x,t.x),ug(e.y,t.y)}function dg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const kw=1e-4,ZA=1-kw,JA=1+kw,Pw=.01,eM=0-Pw,tM=0+Pw;function Ge(e){return e.max-e.min}function nM(e,t,n){return Math.abs(e-t)<=n}function fg(e,t,n,r=.5){e.origin=r,e.originPoint=pe(t.min,t.max,e.origin),e.scale=Ge(n)/Ge(t),e.translate=pe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=ZA&&e.scale<=JA||isNaN(e.scale))&&(e.scale=1),(e.translate>=eM&&e.translate<=tM||isNaN(e.translate))&&(e.translate=0)}function Mi(e,t,n,r){fg(e.x,t.x,n.x,r?r.originX:void 0),fg(e.y,t.y,n.y,r?r.originY:void 0)}function hg(e,t,n){e.min=n.min+t.min,e.max=e.min+Ge(t)}function rM(e,t,n){hg(e.x,t.x,n.x),hg(e.y,t.y,n.y)}function pg(e,t,n){e.min=t.min-n.min,e.max=e.min+Ge(t)}function ul(e,t,n){pg(e.x,t.x,n.x),pg(e.y,t.y,n.y)}function mg(e,t,n,r,s){return e-=t,e=cl(e,1/n,r),s!==void 0&&(e=cl(e,1/s,r)),e}function sM(e,t=0,n=1,r=.5,s,i=e,o=e){if(Jt.test(t)&&(t=parseFloat(t),t=pe(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=pe(i.min,i.max,r);e===i&&(a-=t),e.min=mg(e.min,t,n,a,s),e.max=mg(e.max,t,n,a,s)}function gg(e,t,[n,r,s],i,o){sM(e,t[n],t[r],t[s],t.scale,i,o)}const iM=["x","scaleX","originX"],oM=["y","scaleY","originY"];function yg(e,t,n,r){gg(e.x,t,iM,n?n.x:void 0,r?r.x:void 0),gg(e.y,t,oM,n?n.y:void 0,r?r.y:void 0)}function vg(e){return e.translate===0&&e.scale===1}function Nw(e){return vg(e.x)&&vg(e.y)}function xg(e,t){return e.min===t.min&&e.max===t.max}function aM(e,t){return xg(e.x,t.x)&&xg(e.y,t.y)}function wg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function jw(e,t){return wg(e.x,t.x)&&wg(e.y,t.y)}function bg(e){return Ge(e.x)/Ge(e.y)}function Sg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Wt(e){return[e("x"),e("y")]}function lM(e,t,n){let r="";const s=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((s||i||o)&&(r=`translate3d(${s}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:f,rotateY:h,skewX:p,skewY:w}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),p&&(r+=`skewX(${p}deg) `),w&&(r+=`skewY(${w}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const Rw=["TopLeft","TopRight","BottomLeft","BottomRight"],cM=Rw.length,Cg=e=>typeof e=="string"?parseFloat(e):e,Eg=e=>typeof e=="number"||_.test(e);function uM(e,t,n,r,s,i){s?(e.opacity=pe(0,n.opacity??1,dM(r)),e.opacityExit=pe(t.opacity??1,0,fM(r))):i&&(e.opacity=pe(t.opacity??1,n.opacity??1,r));for(let o=0;o<cM;o++){const a=`border${Rw[o]}Radius`;let l=Tg(t,a),c=Tg(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Eg(l)===Eg(c)?(e[a]=Math.max(pe(Cg(l),Cg(c),r),0),(Jt.test(c)||Jt.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=pe(t.rotate||0,n.rotate||0,r))}function Tg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const dM=Aw(0,.5,E1),fM=Aw(.5,.95,xt);function Aw(e,t,n){return r=>r<e?0:r>t?1:n(ro(e,t,r))}function hM(e,t,n){const r=$e(e)?e:Ws(e);return r.start(uh("",r,t,n)),r.animation}function ao(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const pM=(e,t)=>e.depth-t.depth;class mM{constructor(){this.children=[],this.isDirty=!1}add(t){Qf(this.children,t),this.isDirty=!0}remove(t){sl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(pM),this.isDirty=!1,this.children.forEach(t)}}function gM(e,t){const n=Ke.now(),r=({timestamp:s})=>{const i=s-n;i>=t&&(ar(r),e(i-t))};return oe.setup(r,!0),()=>ar(r)}function Ta(e){return $e(e)?e.get():e}class yM{constructor(){this.members=[]}add(t){Qf(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 s=r.instance;s&&s.isConnected===!1&&r.isPresent!==!1&&!r.snapshot&&sl(this.members,r)}t.scheduleRender()}remove(t){if(sl(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(s=>t===s);if(n===0)return!1;let r;for(let s=n;s>=0;s--){const i=this.members[s],o=i.instance;if(i.isPresent!==!1&&(!o||o.isConnected!==!1)){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender();const s=r.options.layoutDependency,i=t.options.layoutDependency;if(!(s!==void 0&&i!==void 0&&s===i)){const l=r.instance;l&&l.isConnected===!1&&!r.snapshot||(t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0))}const{crossfade:a}=t.options;a===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const ka={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Uc=["","X","Y","Z"],vM=1e3;let xM=0;function Wc(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Mw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=J1(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",oe,!(s||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Mw(r)}function Ow({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(o={},a=t==null?void 0:t()){this.id=xM++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(SM),this.nodes.forEach(kM),this.nodes.forEach(PM),this.nodes.forEach(CM)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new mM)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Xf),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=yh(o)&&!bA(o),this.instance=o;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let u,f=0;const h=()=>this.root.updateBlockedByResize=!1;oe.read(()=>{f=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,u&&u(),u=gM(h,250),ka.hasAnimatedSinceResize&&(ka.hasAnimatedSinceResize=!1,this.nodes.forEach(Ng)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||c.getDefaultTransition()||MM,{onLayoutAnimationStart:y,onLayoutAnimationComplete:b}=c.getProps(),g=!this.targetLayout||!jw(this.targetLayout,p),m=!f&&h;if(this.options.layoutRoot||this.resumeFrom||m||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...ch(w,"layout"),onPlay:y,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(u,m)}else f||Ng(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ar(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(NM),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Mw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(kg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Pg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(TM),this.nodes.forEach(wM),this.nodes.forEach(bM)):this.nodes.forEach(Pg),this.clearAllSnapshots();const a=Ke.now();Me.delta=nn(0,1e3/60,a-Me.timestamp),Me.timestamp=a,Me.isProcessing=!0,Lc.update.process(Me),Lc.preRender.process(Me),Lc.render.process(Me),Me.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,mh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(EM),this.sharedNodes.forEach(jM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,oe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){oe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ge(this.snapshot.measuredBox.x)&&!Ge(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 o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Te(),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,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!s)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Nw(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;o&&this.instance&&(a||wr(this.latestValues)||u)&&(s(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),OM(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:o}=this.options;if(!o)return Te();const a=o.measureViewportBox();if(!(((c=this.scroll)==null?void 0:c.wasRoot)||this.path.some(DM))){const{scroll:u}=this.root;u&&(ms(a.x,u.offset.x),ms(a.y,u.offset.y))}return a}removeElementScroll(o){var l;const a=Te();if(Nt(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:f,options:h}=u;u!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&Nt(a,o),ms(a.x,f.offset.x),ms(a.y,f.offset.y))}return a}applyTransform(o,a=!1){const l=Te();Nt(l,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];!a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&gs(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),wr(u.latestValues)&&gs(l,u.latestValues)}return wr(this.latestValues)&&gs(l,this.latestValues),l}removeTransform(o){const a=Te();Nt(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!wr(c.latestValues))continue;kd(c.latestValues)&&c.updateSnapshot();const u=Te(),f=c.measurePageBox();Nt(u,f),yg(a,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return wr(this.latestValues)&&yg(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==Me.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;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(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:f}=this.options;if(!this.layout||!(u||f))return;this.resolvedRelativeTargetAt=Me.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Te(),this.targetWithTransforms=Te()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),rM(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Nt(this.target,this.layout.layoutBox),gw(this.target,this.targetDelta)):Nt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!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||kd(this.parent.latestValues)||mw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Te(),this.relativeTargetOrigin=Te(),ul(this.relativeTargetOrigin,a,l),Nt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var w;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty)&&
vendor: 2,166 bytes, line 313
313(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Me.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;Nt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;MA(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Te());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(dg(this.prevProjectionDelta.x,this.projectionDelta.x),dg(this.prevProjectionDelta.y,this.projectionDelta.y)),Mi(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Sg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Sg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ps(),this.projectionDelta=ps(),this.projectionDeltaWithTransform=ps()}setAnimationOrigin(o,a=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},f=ps();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=Te(),p=l?l.source:void 0,w=this.layout?this.layout.source:void 0,y=p!==w,b=this.getStack(),g=!b||b.members.length<=1,m=!!(y&&!g&&this.options.crossfade===!0&&!this.path.some(AM));this.animationProgress=0;let v;this.mixTargetDelta=S=>{const C=S/1e3;
vendor: 4,829 bytes, line 313
313jg(f.x,o.x,C),jg(f.y,o.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ul(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),RM(this.relativeTarget,this.relativeTargetOrigin,h,C),v&&aM(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Te()),Nt(v,this.relativeTarget)),y&&(this.animationValues=u,uM(u,c,this.latestValues,C,m,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,l,c;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(c=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||c.stop(),this.pendingAnimation&&(ar(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=oe.update(()=>{ka.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ws(0)),this.currentAnimation=hM(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(vM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=o;if(!(!a||!l||!c)){if(this!==o&&this.layout&&c&&Dw(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Te();const f=Ge(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const h=Ge(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+h}Nt(a,l),gs(a,u),Mi(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new yM),this.sharedNodes.get(o).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&Wc("z",o,c,this.animationValues);for(let u=0;u<Uc.length;u++)Wc(`rotate${Uc[u]}`,o,c,this.animationValues),Wc(`skew${Uc[u]}`,o,c,this.animationValues);o.render();for(const u in c)o.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Ta(a==null?void 0:a.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Ta(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!wr(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let f=lM(this.projectionDeltaWithTransform,this.treeScale,u);l&&(f=l(u,f)),o.transform=f;const{x:h,y:p}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,c.animationValues?o.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:o.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const w in Nd){if(u[w]===void 0)continue;const{correct:y,applyTo:b,isCSSVariable:g}
vendor: 4,328 bytes, line 313
313=Nd[w],m=f==="none"?u[w]:y(u[w],c);if(b){const v=b.length;for(let S=0;S<v;S++)o[b[S]]=m}else g?this.options.visualElement.renderState.vars[w]=m:o[w]=m}this.options.layoutId&&(o.pointerEvents=c===this?Ta(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(kg),this.root.sharedNodes.clear()}}}function wM(e){e.updateLayout()}function bM(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:s}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;i==="size"?Wt(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=Ge(h);h.min=r[f].min,h.max=h.min+p}):Dw(i,t.layoutBox,r)&&Wt(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=Ge(r[f]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const a=ps();Mi(a,r,t.layoutBox);const l=ps();o?Mi(l,e.applyTransform(s,!0),t.measuredBox):Mi(l,r,t.layoutBox);const c=!Nw(a);let u=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const w=Te();ul(w,t.layoutBox,h.layoutBox);const y=Te();ul(y,r,p.layoutBox),jw(w,y)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=w,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function SM(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 CM(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function EM(e){e.clearSnapshot()}function kg(e){e.clearMeasurements()}function Pg(e){e.isLayoutDirty=!1}function TM(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ng(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function kM(e){e.resolveTargetDelta()}function PM(e){e.calcProjection()}function NM(e){e.resetSkewAndRotation()}function jM(e){e.removeLeadSnapshot()}function jg(e,t,n){e.translate=pe(t.translate,0,n),e.scale=pe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Rg(e,t,n,r){e.min=pe(t.min,n.min,r),e.max=pe(t.max,n.max,r)}function RM(e,t,n,r){Rg(e.x,t.x,n.x,r),Rg(e.y,t.y,n.y,r)}function AM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const MM={duration:.45,ease:[.4,0,.1,1]},Ag=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Mg=Ag("applewebkit/")&&!Ag("chrome/")?Math.round:xt;function Og(e){e.min=Mg(e.min),e.max=Mg(e.max)}function OM(e){Og(e.x),Og(e.y)}function Dw(e,t,n){return e==="position"||e==="preserve-aspect"&&!nM(bg(t),bg(n),.2)}function DM(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const LM=Ow({attachResizeListener:(e,t)=>ao(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}),Hc={current:void 0},Lw=Ow({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Hc.current){const e=new LM({});e.mount(window),e.setOptions({layoutScroll:!0}),Hc.current=e}return Hc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Sh=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Dg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function IM(...e){return t=>{let n=!1;const r=e.map(s=>{const i=Dg(s,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i=="function"?i():Dg(e[s],null)}}}}
vendor: 12,464 bytes, lines 313-321
313function VM(...e){return x.useCallback(IM(...e),e)}class _M extends x.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,s=Ed(r)&&r.offsetWidth||0,i=Ed(r)&&r.offsetHeight||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=s-o.width-o.left,o.bottom=i-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function FM({children:e,isPresent:t,anchorX:n,anchorY:r,root:s,pop:i}){var h;const o=x.useId(),a=x.useRef(null),l=x.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:c}=x.useContext(Sh),u=((h=e.props)==null?void 0:h.ref)??(e==null?void 0:e.ref),f=VM(a,u);return x.useInsertionEffect(()=>{const{width:p,height:w,top:y,left:b,right:g,bottom:m}=l.current;if(t||i===!1||!a.current||!p||!w)return;const v=n==="left"?`left: ${b}`:`right: ${g}`,S=r==="bottom"?`bottom: ${m}`:`top: ${y}`;a.current.dataset.motionPopId=o;const C=document.createElement("style");c&&(C.nonce=c);const E=s??document.head;return E.appendChild(C),C.sheet&&C.sheet.insertRule(`
314          [data-motion-pop-id="${o}"] {
315            position: absolute !important;
316            width: ${p}px !important;
317            height: ${w}px !important;
318            ${v}px !important;
319            ${S}px !important;
320          }
321        `),()=>{E.contains(C)&&E.removeChild(C)}},[t]),d.jsx(_M,{isPresent:t,childRef:a,sizeRef:l,pop:i,children:i===!1?e:x.cloneElement(e,{ref:f})})}const zM=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:i,mode:o,anchorX:a,anchorY:l,root:c})=>{const u=Yf($M),f=x.useId();let h=!0,p=x.useMemo(()=>(h=!1,{id:f,initial:t,isPresent:n,custom:s,onExitComplete:w=>{u.set(w,!0);for(const y of u.values())if(!y)return;r&&r()},register:w=>(u.set(w,!1),()=>u.delete(w))}),[n,u,r]);return i&&h&&(p={...p}),x.useMemo(()=>{u.forEach((w,y)=>u.set(y,!1))},[n]),x.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=d.jsx(FM,{pop:o==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:c,children:e}),d.jsx($l.Provider,{value:p,children:e})};function $M(){return new Map}function Iw(e=!0){const t=x.useContext($l);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,i=x.useId();x.useEffect(()=>{if(e)return s(i)},[e]);const o=x.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,o]:[!0]}const ea=e=>e.key||"";function Lg(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const Vw=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:i="sync",propagate:o=!1,anchorX:a="left",anchorY:l="top",root:c})=>{const[u,f]=Iw(o),h=x.useMemo(()=>Lg(e),[e]),p=o&&!u?[]:h.map(ea),w=x.useRef(!0),y=x.useRef(h),b=Yf(()=>new Map),g=x.useRef(new Set),[m,v]=x.useState(h),[S,C]=x.useState(h);h1(()=>{w.current=!1,y.current=h;for(let k=0;k<S.length;k++){const R=ea(S[k]);p.includes(R)?(b.delete(R),g.current.delete(R)):b.get(R)!==!0&&b.set(R,!1)}},[S,p.length,p.join("-")]);const E=[];if(h!==m){let k=[...h];for(let R=0;R<S.length;R++){const A=S[R],z=ea(A);p.includes(z)||(k.splice(R,0,A),E.push(A))}return i==="wait"&&E.length&&(k=E),C(Lg(k)),v(h),null}const{forceRender:T}=x.useContext(Gf);return d.jsx(d.Fragment,{children:S.map(k=>{const R=ea(k),A=o&&!u?!1:h===S||p.includes(R),z=()=>{if(g.current.has(R))return;if(g.current.add(R),b.has(R))b.set(R,!0);else return;let I=!0;b.forEach(G=>{G||(I=!1)}),I&&(T==null||T(),C(y.current),o&&(f==null||f()),r&&r())};return d.jsx(zM,{isPresent:A,initial:!w.current||n?void 0:!1,custom:t,presenceAffectsLayout:s,mode:i,root:c,onExitComplete:A?void 0:z,anchorX:a,anchorY:l,children:k},R)})})},_w=x.createContext({strict:!1}),Ig={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 Vg=!1;function BM(){if(Vg)return;const e={};for(const t in Ig)e[t]={isEnabled:n=>Ig[t].some(r=>!!n[r])};fw(e),Vg=!0}function Fw(){return BM(),NA()}function UM(e){const t=Fw();for(const n in e)t[n]={...t[n],...e[n]};fw(t)}const WM=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 dl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||WM.has(e)}let zw=e=>!dl(e);function HM(e){typeof e=="function"&&(zw=t=>t.startsWith("on")?!dl(t):e(t))}try{HM(require("@emotion/is-prop-valid").default)}catch{}function KM(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||(zw(s)||n===!0&&dl(s)||!t&&!dl(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Hl=x.createContext({});function GM(e,t){if(Wl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||oo(n)?n:void 0,animate:oo(r)?r:void 0}}return e.inherit!==!1?t:{}}function YM(e){const{initial:t,animate:n}=GM(e,x.useContext(Hl));return x.useMemo(()=>({initial:t,animate:n}),[_g(t),_g(n)])}function _g(e){return Array.isArray(e)?e.join(" "):e}const Ch=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $w(e,t,n){for(const r in t)!$e(t[r])&&!xw(r,n)&&(e[r]=t[r])}function QM({transformTemplate:e},t){return x.useMemo(()=>{const n=Ch();return wh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function qM(e,t){const n=e.style||{},r={};return $w(r,n,e),Object.assign(r,QM(e,t)),r}function XM(e,t){const n={},r=qM(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Bw=()=>({...Ch(),attrs:{}});function ZM(e,t,n,r){const s=x.useMemo(()=>{const i=Bw();return ww(i,t,Sw(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};$w(i,e.style,e),s.style={...i,...s.style}}return s}const JM=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Eh(e){return typeof e!="string"||e.includes("-")?!1:!!(JM.indexOf(e)>-1||/[A-Z]/u.test(e))}function e5(e,t,n,{latestValues:r},s,i=!1,o){const l=(o??Eh(e)?ZM:XM)(t,r,s,e),c=KM(t,typeof e=="string",i),u=e!==x.Fragment?{...c,...l,ref:n}:{},{children:f}=t,h=x.useMemo(()=>$e(f)?f.get():f,[f]);return x.createElement(e,{...u,children:h})}function t5({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:n5(n,r,s,e),renderState:t()}}function n5(e,t,n,r){const s={},i=r(e,{});for(const h in i)s[h]=Ta(i[h]);let{initial:o,animate:a}=e;const l=Wl(e),c=uw(e);t&&c&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||o===!1;const f=u?a:o;if(f&&typeof f!="boolean"&&!Ul(f)){const h=Array.isArray(f)?f:[f];for(let p=0;p<h.length;p++){const w=dh(e,h[p]);if(w){const{transitionEnd:y,transition:b,...g}=w;for(const m in g){let v=g[m];if(Array.isArray(v)){const S=u?v.length-1:0;v=v[S]}v!==null&&(s[m]=v)}for(const m in y)s[m]=y[m]}}}return s}const Uw=e=>(t,n)=>{const r=x.useContext(Hl),s=x.useContext($l),i=()=>t5(e,t,r,s);return n?i():Yf(i)},r5=Uw({scrapeMotionValuesFromProps:bh,createRenderState:Ch}),s5=Uw({scrapeMotionValuesFromProps:Cw,createRenderState:Bw}),i5=Symbol.for("motionComponentSymbol");function o5(e,t,n){const r=x.useRef(n);x.useInsertionEffect(()=>{r.current=n});const s=x.useRef(null);return x.useCallback(i=>{var a;i&&((a=e.onMount)==null||a.call(e,i)),t&&(i?t.mount(i):t.unmount());const o=r.current;if(typeof o=="function")if(i){const l=o(i);typeof l=="function"&&(s.current=l)}else s.current?(s.current(),s.current=null):o(i);else o&&(o.current=i)},[t])}const Ww=x.createContext({});function Jr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function a5(e,t,n,r,s,i){var v,S;const{visualElement:o}=x.useContext(Hl),a=x.useContext(_w),l=x.useContext($l),c=x.useContext(Sh),u=c.reducedMotion,f=c.skipAnimations,h=x.useRef(null),p=x.useRef(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u,skipAnimations:f,isSVG:i}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const w=h.current,y=x.useContext(Ww);w&&!w.projection&&s&&(w.type==="html"||w.type==="svg")&&l5(h.current,n,s,y);const b=x.useRef(!1);x.useInsertionEffect(()=>{w&&b.current&&w.update(n,l)});const g=n[Z1],m=x.useRef(!!g&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,g))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,g)));return h1(()=>{p.current=!0,w&&(b.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),w.scheduleRenderMicrotask(),m.current&&w.animationState&&w.animationState.animateChanges())}),x.useEffect(()=>{w&&(!m.current&&w.animationState&&w.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,g)}),m.current=!1),w.enteringChildren=void 0)}),w}function l5(e,t,n,r){const{layoutId:s,layout:i,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Hw(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!o||a&&Jr(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:u,layoutScroll:l,layoutRoot:c})}function Hw(e){if(e)return e.options.allowProjection!==!1?e.projection:Hw(e.parent)}function Kc(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&UM(r);const i=n?n==="svg":Eh(e),o=i?s5:r5;function a(c,u){let f;const h={...x.useContext(Sh),...c,layoutId:c5(c)},{isStatic:p}=h,w=YM(c),y=o(c,p);if(!p&&f1){u5();const b=d5(h);f=b.MeasureLayout,w.visualElement=a5(e,y,h,s,b.ProjectionNode,i)}return d.jsxs(Hl.Provider,{value:w,children:[f&&w.visualElement?d.jsx(f,{visualElement:w.visualElement,...h}):null,e5(e,c,o5(y,w.visualElement,u),y,p,t,i)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=x.forwardRef(a);return l[i5]=e,l}function c5({layoutId:e}){const t=x.useContext(Gf).id;return t&&e!==void 0?t+"-"+e:e}function u5(e,t){x.useContext(_w).strict}function d5(e){const t=Fw(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}function f5(e,t){if(typeof Proxy>"u")return Kc;const n=new Map,r=(i,o)=>Kc(i,o,e,t),s=(i,o)=>r(i,o);return new Proxy(s,{get:(i,o)=>o==="create"?r:(n.has(o)||n.set(o,Kc(o,void 0,e,t)),n.get(o))})}const h5=(e,t)=>t.isSVG??Eh(e)?new HA(t):new FA(t,{allowProjection:e!==x.Fragment});class p5 extends fr{constructor(t){super(t),t.animationState||(t.animationState=qA(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ul(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 m5=0;class g5 extends fr{constructor(){super(...arguments),this.id=m5++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};
vendor: 16,631 bytes, line 321
321n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const y5={animation:{Feature:p5},exit:{Feature:g5}};function To(e){return{point:{x:e.pageX,y:e.pageY}}}const v5=e=>t=>gh(t)&&e(t,To(t));function Oi(e,t,n,r){return ao(e,t,v5(n),r)}const Kw=({current:e})=>e?e.ownerDocument.defaultView:null,Fg=(e,t)=>Math.abs(e-t);function x5(e,t){const n=Fg(e.x,t.x),r=Fg(e.y,t.y);return Math.sqrt(n**2+r**2)}const zg=new Set(["auto","scroll"]);class Gw{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Yc(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,y=x5(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!y)return;const{point:b}=p,{timestamp:g}=Me;this.history.push({...b,timestamp:g});const{onStart:m,onMove:v}=this.handlers;w||(m&&m(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,p)},this.handlePointerMove=(p,w)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=Gc(w,this.transformPagePoint),oe.update(this.updatePoint,!0)},this.handlePointerUp=(p,w)=>{this.end();const{onEnd:y,onSessionEnd:b,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Yc(p.type==="pointercancel"?this.lastMoveEventInfo:Gc(w,this.transformPagePoint),this.history);this.startEvent&&y&&y(p,m),b&&b(p,m)},!gh(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=s||window;const l=To(t),c=Gc(l,this.transformPagePoint),{point:u}=c,{timestamp:f}=Me;this.history=[{...u,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,Yc(c,this.history)),this.removeListeners=So(Oi(this.contextWindow,"pointermove",this.handlePointerMove),Oi(this.contextWindow,"pointerup",this.handlePointerUp),Oi(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(zg.has(r.overflowX)||zg.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:s.x-n.x,y:s.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,s),oe.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ar(this.updatePoint)}}function Gc(e,t){return t?{point:t(e.point)}:e}function $g(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yc({point:e},t){return{point:e,delta:$g(e,Yw(t)),offset:$g(e,w5(t)),velocity:b5(t,.1)}}function w5(e){return e[0]}function Yw(e){return e[e.length-1]}function b5(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=Yw(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>wt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>wt(t)*2&&(r=e[1]);const i=yt(s.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(s.x-r.x)/i,y:(s.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function S5(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?pe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?pe(n,e,r.max):Math.min(e,n)),e}function Bg(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 C5(e,{top:t,left:n,bottom:r,right:s}){return{x:Bg(e.x,n,s),y:Bg(e.y,t,r)}}function Ug(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 E5(e,t){return{x:Ug(e.x,t.x),y:Ug(e.y,t.y)}}function T5(e,t){let n=.5;const r=Ge(e),s=Ge(t);return s>r?n=ro(t.min,t.max-r,e.min):r>s&&(n=ro(e.min,e.max-s,t.min)),nn(0,1,n)}function k5(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 jd=.35;function P5(e=jd){return e===!1?e=0:e===!0&&(e=jd),{x:Wg(e,"left","right"),y:Wg(e,"top","bottom")}}function Wg(e,t,n){return{min:Hg(e,t),max:Hg(e,n)}}function Hg(e,t){return typeof e=="number"?e:e[t]||0}const N5=new WeakMap;class j5{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=Te(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=f=>{n&&this.snapToCursor(To(f).point),this.stopAnimation()},o=(f,h)=>{const{drag:p,dragPropagation:w,onDragStart:y}=this.getProps();if(p&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=sA(p),!this.openDragLock))return;this.latestPointerEvent=f,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(g=>{let m=this.getAxisMotionValue(g).get()||0;if(Jt.test(m)){const{projection:v}=this.visualElement;if(v&&v.layout){const S=v.layout.layoutBox[g];S&&(m=Ge(S)*(parseFloat(m)/100))}}this.originPoint[g]=m}),y&&oe.update(()=>y(f,h),!1,!0),bd(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},a=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:w,onDirectionLock:y,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:g}=h;if(w&&this.currentDirection===null){this.currentDirection=A5(g),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",h.point,g),this.updateAxis("y",h.point,g),this.visualElement.render(),b&&oe.update(()=>b(f,h),!1,!0)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new Gw(t,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:Kw(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!s||!r)return;const{velocity:o}=s;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&oe.postRender(()=>a(r,s))}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:s}=this.getProps();if(!r||!ta(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=S5(o,this.constraints[t],this.elastic[t])),i.set(o)}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,s=this.constraints;t&&Jr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=C5(r.layoutBox,t):this.constraints=!1,this.elastic=P5(n),s!==this.constraints&&!Jr(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Wt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=k5(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Jr(t))return!1;const r=t.current;Us(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:s}=this.visualElement;if(!s||!s.layout)return!1;const i=OA(r,s.root,this.visualElement.getTransformPagePoint());let o=E5(s.layout.layoutBox,i);if(n){const a=n(RA(o));this.hasMutatedConstraints=!!a,a&&(o=pw(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=Wt(u=>{if(!ta(u,n,this.currentDirection))return;let f=l&&l[u]||{};o&&(f={min:0,max:0});const h=s?200:1e6,p=s?40:1e7,w={type:"inertia",velocity:r?t[u]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(u,w)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return bd(this.visualElement,t),r.start(uh(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(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Wt(n=>{const{drag:r}=this.getProps();if(!ta(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(n);if(s&&s.layout){const{min:o,max:a}=s.layout.layoutBox[n],l=i.get()||0;i.set(t[n]-pe(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Jr(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Wt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();s[o]=T5({min:l,max:l},this.constraints[o])}});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(o=>{if(!ta(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:c}=this.constraints[o];a.set(pe(l,c,s[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;N5.set(this.visualElement,this);const t=this.visualElement.current,n=Oi(t,"pointerdown",c=>{const{drag:u,dragListener:f=!0}=this.getProps(),h=c.target,p=h!==t&&uA(h);u&&f&&!p&&this.start(c)});let r;const s=()=>{const{dragConstraints:c}=this.getProps();Jr(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),r||(r=R5(t,c.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,o=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),oe.read(s);const a=ao(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(Wt(f=>{const h=this.getAxisMotionValue(f);h&&(this.originPoint[f]+=c[f].translate,h.set(h.get()+c[f].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:o=jd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Kg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function R5(e,t,n){const r=Jm(e,Kg(n)),s=Jm(t,Kg(n));return()=>{r(),s()}}function ta(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function A5(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class M5 extends fr{constructor(t){super(t),this.removeGroupControls=xt,this.removeListeners=xt,this.controls=new j5(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 Qc=e=>(t,n)=>{e&&oe.update(()=>e(t,n),!1,!0)};class O5 extends fr{constructor(){super(...arguments),this.removePointerDownListener=xt}onPointerDown(t){this.session=new Gw(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Kw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Qc(t),onStart:Qc(n),onMove:Qc(r),onEnd:(i,o)=>{delete this.session,s&&oe.postRender(()=>s(i,o))}}}mount(){this.removePointerDownListener=Oi(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 qc=!1;class D5 extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&s&&r.register(i),qc&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ka.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),qc=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==i?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||oe.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),mh.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;qc=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Qw(e){const[t,n]=Iw(),r=x.useContext(Gf);return d.jsx(D5,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(Ww),isPresent:t,safeToRemove:n})}const L5={pan:{Feature:O5},drag:{Feature:M5,ProjectionNode:Lw,MeasureLayout:Qw}};function Gg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,i=r[s];i&&oe.postRender(()=>i(t,To(t)))}class I5 extends fr{mount(){const{current:t}=this.node;t&&(this.unmount=oA(t,(n,r)=>(Gg(this.node,r,"Start"),s=>Gg(this.node,s,"End"))))}unmount(){}}class V5 extends fr{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=So(ao(this.node.current,"focus",()=>this.onFocus()),ao(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Yg(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),i=r[s];i&&oe.postRender(()=>i(t,To(t)))}class _5 extends fr{mount(){const{current:t}=this.node;if(!t)return;
321const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=fA(t,(s,i)=>(Yg(this.node,i,"Start"),(o,{success:a})=>Yg(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Rd=new WeakMap,Xc=new WeakMap,F5=e=>{const t=Rd.get(e.target);t&&t(e)},z5=e=>{e.forEach(F5)};function $5({root:e,...t}){const n=e||document;Xc.has(n)||Xc.set(n,{});const r=Xc.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(z5,{root:e,...t})),r[s]}function B5(e,t,n){const r=$5(t);return Rd.set(e,n),r.observe(e),()=>{Rd.delete(e),r.unobserve(e)}}const U5={some:0,all:1};class W5 extends fr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:U5[s]},a=l=>{const{isIntersecting:c}=l;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:u,onViewportLeave:f}=this.node.getProps(),h=c?u:f;h&&h(l)};return B5(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(H5(t,n))&&this.startObserver()}unmount(){}}function H5({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const K5={inView:{Feature:W5},tap:{Feature:_5},focus:{Feature:V5},hover:{Feature:I5}},G5={layout:{ProjectionNode:Lw,MeasureLayout:Qw}},Y5={...y5,...K5,...L5,...G5},q=f5(Y5,h5),Q5={some:0,all:1};function q5(e,t,{root:n,margin:r,amount:s="some"}={}){const i=ph(e),o=new WeakMap,a=c=>{c.forEach(u=>{const f=o.get(u.target);if(u.isIntersecting!==!!f)if(u.isIntersecting){const h=t(u.target,u);typeof h=="function"?o.set(u.target,h):l.unobserve(u.target)}else typeof f=="function"&&(f(u),o.delete(u.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof s=="number"?s:Q5[s]});return i.forEach(c=>l.observe(c)),()=>l.disconnect()}function X5(e,{root:t,margin:n,amount:r,once:s=!1,initial:i=!1}={}){const[o,a]=x.useState(i);return x.useEffect(()=>{if(!e.current||s&&o)return;const l=()=>(a(!0),s?void 0:()=>a(!1)),c={root:t&&t.current||void 0,margin:n,amount:r};return q5(e.current,l,c)},[t,e,n,s,r]),o}const Qg=[{href:"#hero",label:"Главная"},{href:"#portfolio",label:"Примеры"},{href:"#infrastructure",label:"Возможности"},{href:"#pricing",label:"Стоимость"},{href:"#stages",label:"Этапы"},{href:"#faq",label:"FAQ"},{href:"#referral",label:"Партнёрам"},{href:"#team",label:"TIMJ"}],Z5=()=>{const[e,t]=x.useState(!1),[n,r]=x.useState(!1);x.useEffect(()=>{const i=()=>t(window.scrollY>50);return window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)},[]);const s=i=>{r(!1),setTimeout(()=>{var o;(o=document.querySelector(i))==null||o.scrollIntoView({behavior:"smooth"})},350)};return d.jsxs(q.nav,{initial:{y:-100},animate:{y:0},transition:{duration:.6},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"glass-card py-3":"py-5"}`,children:[d.jsxs("div",{className:"container mx-auto flex items-center justify-between px-4 sm:px-6",children:[d.jsxs("a",{href:"#hero",className:"font-heading text-xl font-bold text-foreground tracking-tight",children:["TIM",d.jsx("span",{className:"text-gradient",children:"J"})]}),d.jsx("div",{className:"hidden lg:flex items-center gap-6",children:Qg.map(i=>d.jsx("button",{onClick:()=>s(i.href),className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:i.label},i.href))}),d.jsx("div",{className:"hidden lg:flex items-center gap-4",children:d.jsx("button",{onClick:()=>s("#pricing"),className:"px-5 py-2.5 rounded-lg text-sm font-medium text-primary-foreground bg-primary hover:opacity-90 transition-opacity glow-box",children:"Заказать магазин"})}),d.jsx("button",{className:"lg:hidden text-foreground p-2",onClick:()=>r(!n),"aria-label":"Меню",children:n?d.jsx(ix,{size:24}):d.jsx(yE,{size:24})})]}),d.jsx(Vw,{children:n&&d.jsx(q.div,{initial:{opacity:0,height:0}
321,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"lg:hidden mt-2 mx-4 rounded-xl overflow-hidden bg-background/95 backdrop-blur-xl border border-border/50",children:d.jsxs("div",{className:"flex flex-col p-4 gap-1",children:[Qg.map(i=>d.jsx("button",{onClick:()=>s(i.href),className:"text-sm text-muted-foreground hover:text-foreground transition-colors text-left py-2.5 px-3 rounded-lg hover:bg-secondary/50",children:i.label},i.href)),d.jsx("button",{onClick:()=>s("#pricing"),className:"mt-3 px-5 py-3 rounded-xl text-sm font-medium text-primary-foreground bg-primary",children:"Заказать магазин"})]})})})]})},J5="/assets/hero-bg-BmGvltbR.jpg",e4=[{icon:nE,label:"AI-ассистент"},{icon:vo,label:"База клиентов"},{icon:Zv,label:"0% комиссия"},{icon:nx,label:"Уникальный дизайн"}],t4=(e,t,n=1200,r)=>{const[s,i]=x.useState(e),o=x.useRef(!1);return x.useEffect(()=>{if(!r||o.current)return;o.current=!0;const a=performance.now(),l=t-e,c=u=>{const f=u-a,h=Math.min(f/n,1),p=1-Math.pow(1-h,4),w=Math.round(e+l*p);i(w),h<1&&requestAnimationFrame(c)};requestAnimationFrame(c)},[r,e,t,n]),s},na=({from:e,to:t,suffix:n,label:r,format:s})=>{const i=x.useRef(null),o=X5(i,{once:!0,amount:.5}),a=t4(e,t,1200,o),l=s?s(a):`${a}${n||""}`;return d.jsxs("div",{ref:i,className:"text-center glass-card rounded-xl p-5",children:[d.jsx("div",{className:"font-heading text-3xl font-bold text-gradient mb-1",children:l}),d.jsx("div",{className:"text-xs text-muted-foreground",children:r})]})},n4=()=>{const e=t=>{var n;return(n=document.querySelector(t))==null?void 0:n.scrollIntoView({behavior:"smooth"})};return d.jsxs("section",{id:"hero",className:"relative min-h-screen flex items-center overflow-hidden",children:[d.jsxs("div",{className:"absolute inset-0",children:[d.jsx("img",{src:J5,alt:"E-commerce",className:"w-full h-full object-cover opacity-40"}),d.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/60 via-background/40 to-background"})]}),d.jsx("div",{className:"absolute top-1/3 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] rounded-full bg-primary/10 blur-[150px]"}),d.jsxs("div",{className:"container relative mx-auto px-4 sm:px-6 pt-28 sm:pt-32 pb-16 sm:pb-20",children:[d.jsxs("div",{className:"max-w-5xl mx-auto text-center",children:[d.jsx(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:d.jsxs("span",{className:"inline-flex items-center gap-2 px-5 py-2 rounded-full text-sm font-semibold tracking-wide bg-gradient-to-r from-primary/20 to-primary/10 text-primary border-2 border-primary/40 mb-8 shadow-[0_0_20px_hsl(var(--primary)/0.3)]",children:[d.jsx("span",{className:"relative flex items-center justify-center w-5 h-5 rounded-full bg-[#1d9bf0] shrink-0",children:d.jsx(va,{size:12,className:"text-white",strokeWidth:3})}),"Официальный партнёр Яндекса"]})}),d.jsxs(q.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},className:"font-heading text-3xl sm:text-5xl lg:text-7xl font-bold leading-tight mb-6",children:["Разработаем ",d.jsx("span",{className:"text-gradient",children:"интернет-магазин"})," на Яндекс КИТ"]}),d.jsxs(q.p,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.2},className:"text-base sm:text-xl text-muted-foreground max-w-2xl mx-auto mb-4 px-2",children:["Без комиссий маркетплейсов, с личным кабинетом и аналитикой, со своими платёжными системами и доставкой — под ключ ",d.jsx(gE,{size:20,className:"inline text-primary"})]}),d.jsx(q.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.3},className:"inline-flex items-baseline gap-2 mb-10",children:d.jsx("span",{className:"font-heading text-5xl sm:text-6xl font-bold text-gradient",children:"за 7 дней"})}),d.jsx(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},className:"flex flex-wrap justify-center gap-3 mb-10",children:e4.map(t=>d.jsxs("div",{className:"flex items-center gap-2 px-4 py-2.5 rounded-xl glass-card text-sm text-foreground",children:[d.jsx(t.icon,{size:16,className:"text-primary"}),t.label]},t.label))}),d.jsxs(q.div,{initial:{opacity:0,y:20}
321,animate:{opacity:1,y:0},transition:{duration:.6,delay:.5},className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[d.jsx("button",{onClick:()=>e("#pricing"),className:"px-8 py-4 rounded-xl font-heading font-semibold text-primary-foreground bg-primary hover:opacity-90 transition-all glow-box text-base",children:"Заказать интернет-магазин →"}),d.jsx("button",{onClick:()=>e("#portfolio"),className:"px-8 py-4 rounded-xl font-heading font-semibold text-foreground glass-card hover:bg-secondary/50 transition-all text-base",children:"Посмотреть кейсы"})]})]}),d.jsxs(q.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.7,delay:.7},className:"mt-20 grid grid-cols-2 md:grid-cols-4 gap-4 max-w-4xl mx-auto",children:[d.jsx(na,{from:1,to:50,suffix:"+",label:"запущенных магазинов"}),d.jsx(na,{from:30,to:7,label:"дней на разработку"}),d.jsx(na,{from:50,to:0,suffix:"%",label:"комиссия с продаж"}),d.jsx(na,{from:0,to:24,label:"техподдержка",format:t=>{const n=t,r=Math.round(t/24*7);return`${n}/${r}`}})]})]})]})},ra=["Яндекс КИТ × TIMJ","KEEP IT TRADING"],qg=()=>{const e=[...ra,...ra,...ra,...ra];return d.jsx("div",{className:"py-3 sm:py-4 overflow-hidden border-y border-border/20 bg-secondary/30 relative",children:d.jsx(q.div,{className:"flex whitespace-nowrap gap-8",animate:{x:["0%","-50%"]},transition:{duration:10,repeat:1/0,ease:"linear"},children:e.map((t,n)=>d.jsxs("span",{className:"font-heading text-xs sm:text-base font-bold text-foreground tracking-wider uppercase flex items-center gap-6 sm:gap-8",children:[t,d.jsx("span",{className:"w-1.5 h-1.5 sm:w-2 sm:h-2 rounded-full bg-foreground
321/40"})]},n))})})},r4=[{icon:CE,label:"Селлерам",desc:'Кто <span class="text-foreground font-semibold">устал терпеть</span> или решил подстраховаться'},{icon:dE,label:"Производителям",desc:'Кто хочет продавать в равных условиях и <span class="text-foreground font-semibold">без посредников</span>'},{icon:sx,label:"Дистрибьюторам",desc:'Кто хочет представлять <span class="text-foreground font-semibold">бренд</span> — а не карточку товара'},{icon:fE,label:"Брендам",desc:'Кто ценит <span class="text-foreground font-semibold">уникальность</span> и клиентскую базу'}],Xg=()=>{const e=x.useRef(null),[t,n]=x.useState(!1);return x.useEffect(()=>{const r=e.current;if(!r)return;const s=new IntersectionObserver(([i])=>{i.isIntersecting&&(n(!0),s.disconnect())},{threshold:.15});return s.observe(r),()=>s.disconnect()},[]),{ref:e,visible:t}},s4=()=>{const e=Xg(),t=Xg();return d.jsx("section",{className:"py-20",children:d.jsxs("div",{className:"container mx-auto px-6",children:[d.jsx("div",{ref:e.ref,className:"text-center mb-12 transition-all duration-700 ease-out",style:{opacity:e.visible?1:0,transform:e.visible?"translateY(0)":"translateY(12px)"},children:d.jsxs("h2",{className:"font-heading text-3xl sm:text-5xl font-bold mb-4",children:["Кому ",d.jsx("span",{className:"text-gradient",children:"подойдёт?"})]})}),d.jsx("div",{ref:t.ref,className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4 max-w-5xl mx-auto",children:r4.map((n,r)=>d.jsxs("div",{className:"glass-card rounded-2xl p-6 text-center hover:border-primary/20 transition-all duration-700 ease-out",style:{opacity:t.visible?1:0,transform:t.visible?"translateY(0)":"translateY(20px)",transitionDelay:`${r*100}ms`},children:[d.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/10 flex items-center justify-center mx-auto mb-4",children:d.jsx(n.icon,{size:22,className:"text-primary"})}),d.jsx("h3",{className:"font-heading font-semibold mb-2",children:n.label}),d.jsx("p",{className:"text-sm text-muted-foreground",dangerouslySetInnerHTML:{__html:n.desc}})]},n.label))})]})})},i4=[{name:"Живописная",url:"https://zhivopisnaya.ru",desc:"Женская одежда",domain:"zhivopisnaya.ru"},{name:"MyxBag",url:"https://myxbag.ru",desc:"Чемоданы",domain:"myxbag.ru"},{name:"Berelys",url:"https://berelys.com",desc:"Спортивная одежда",domain:"berelys.com"},{name:"Paprika",url:"https://paprika-bag-italy.ru",desc:"Сумки",domain:"paprika-bag-italy.ru"},{name:"Wookiee",url:"https://wookiee.shop",desc:"Нижнее бельё",domain:"wookiee.shop"},{name:"Playa",url:"https://playa.moscow",desc:"Аксессуары",domain:"playa.moscow"},{name:"Ligroom",url:"https://ligroom.ru",desc:"Гардеробные системы",domain:"ligroom.ru"},{name:"Stonberg",url:"https://stonberg.ru",desc:"Бытовая техника",domain:"stonberg.ru"}],Zg=(e=.15)=>{const t=x.useRef(null),[n,r]=x.useState(!1);return x.useEffect(()=>{const s=t.current;if(!s)return;const i=new IntersectionObserver(([o])=>{o.isIntersecting&&(r(!0),i.disconnect())},{threshold:e});return i.observe(s),()=>i.disconnect()},[e]),{ref:t,visible:n}},o4=()=>{const e=Zg(.3),t=Zg(.1);return d.jsx("section",{id:"portfolio",className:"py-24 relative",children:d.jsxs("div",{className:"container mx-auto px-6",children:[d.jsxs("div",{ref:e.ref,className:"text-center mb-16 transition-all duration-700 ease-out",style:{opacity:e.visible?1:0,transform:e.visible?"translateY(0)":"translateY(12px)"},children:[d.jsxs("h2",{className:"font-heading text-3xl sm:text-5xl font-bold mb-4",children:["Примеры ",d.jsx("span",{className:"text-gradient",children:"магазинов"})]}),d.jsx("p",{className:"text-muted-foreground max-w-xl mx-auto",children:"Магазины запущенные на платформе Яндекс КИТ"})]}),d.jsx("div",{ref:t.ref,className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-
3215",children:i4.map((n,r)=>d.jsxs("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",className:"glass-card rounded-2xl overflow-hidden group hover:border-primary/20 transition-all duration-700 ease-out cursor-pointer",style:{opacity:t.visible?1:0,transform:t.visible?"translateY(0)":"translateY(20px)",transitionDelay:`${r*60}ms`},children:[d.jsxs("div",{className:"relative h-44 bg-secondary overflow-hidden",children:[d.jsx("img",{src:`https://image.thum.io/get/width/600/crop/800/https://${n.domain}`,alt:`${n.name} — ${n.desc}`,className:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-500",loading:"lazy"}),d.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/80 to-transparent"}),d.jsx("div",{className:"absolute top-3 right-3 opacity-0 group-hover:opacity-100 transition-opacity",children:d.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/90 flex items-center justify-center",children:d.jsx(uE,{size:14,className:"text-primary-foreground"})})})]}),d.jsxs("div",{className:"p-5",children:[d.jsx("h3",{className:"font-heading font-semibold text-lg mb-1",children:n.name}),d.jsx("p",{className:"text-sm text-muted-foreground",children:n.desc})]})]},n.name))})]})})},a4="/assets/no-commission-meme-Cripi8wZ.jpg",l4="/assets/inventory-manager-xSOVR3kG.jpg",c4="/assets/seo-optimization-By6nyrfA.jpg",u4=[{icon:Zv,title:"Продажи без комиссии",desc:"Размещайте и продавайте товары на своём сайте без процентов или комиссий от платформы",accent:!0,img:a4},{icon:lE,title:"Лёгкий приём платежей",items:["Cloud Payments","Cloud Kassir","Яндекс Пей и Сплит"],img:"https://images.unsplash.com/photo-1563013544-824ae1b704d3?w=400&h=250&fit=crop"},{icon:sx,title:"Удобное отправление заказов",items:["СДЭК","Яндекс Доставка","Почта России","Ozon Логистика","Dalli","ПЭК"],img:"https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=400&h=250&fit=crop"},{icon:xE,title:"Товары, остатки и цены под рукой",items:["Wildberries","OZON","1С","МойСклад","YML","Excel"],img:l4},{icon:vo,title:"Клиенты и заказы под контролем",items:["amoCRM","Битрикс24","RetailCRM"],img:"https://images.unsplash.com/photo-1552664730-d307ca884978?w=400&h=250&fit=crop"},{icon:sE,title:"Продвижение, аналитика и реклама",items:["Яндекс Метрика","Яндекс Директ","Яндекс Товары"],img:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=400&h=250&fit=crop"},{icon:rx,title:"Личный кабинет",items:["Бонусная система","История заказов","Избранное"],img:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=400&h=250&fit=crop"},{icon:vE,title:"SEO-оптимизация",items:["Техническая SEO","Микроразметка","Sitemap"],img:c4},{icon:Mf,title:"Быстрый запуск под ключ",desc:"Собственный интернет-магазин, который будет полностью готов к продажам и продвижению",accent:!0,img:"https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=400&h=250&fit=crop"}],d4=()=>{const[e,t]=x.useState(null),n=x.useRef(null),r=x.useRef(null),[s,i]=x.useState(!1),[o,a]=x.useState(!1);x.useEffect(()=>{const c=new IntersectionObserver(([u])=>{u.isIntersecting&&(i(!0),c.disconnect())},{threshold:.2});return r.current&&c.observe(r.current),()=>c.disconnect()},[]),x.useEffect(()=>{const c=new IntersectionObserver(([u])=>{u.isIntersecting&&(a(!0),c.disconnect())},{threshold:.05});return n.current&&c.observe(n.current),()=>c.disconnect()},[]);const l=c=>{t(e===c?null:c)};
321return d.jsxs("section",{id:"infrastructure",className:"py-24 relative",children:[d.jsx("div",{className:"absolute top-0 right-0 w-[500px] h-[500px] rounded-full bg-primary/5 blur-[200px]"}),d.jsxs("div",{className:"container mx-auto px-6",children:[d.jsxs("div",{ref:r,className:"text-center mb-16 transition-all duration-700 ease-out",style:{opacity:s?1:0,transform:s?"translateY(0)":"translateY(12px)"},children:[d.jsxs("h2",{className:"font-heading text-3xl sm:text-5xl font-bold mb-4",children:["Интернет-магазин через ",d.jsx("span",{className:"text-gradient",children:"Яндекс KIT"})," это"]}),d.jsx("p",{className:"text-muted-foreground max-w-xl mx-auto",children:"Всё необходимое для запуска и развития вашего бизнеса — от платежей до аналитики"})]}),d.jsx("div",{ref:n,className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4",children:u4.map((c,u)=>{const f=e===c.title,h=!c.accent;return d.jsxs("div",{onClick:()=>h&&l(c.title),className:`rounded-2xl overflow-hidden transition-all duration-700 ease-out group relative ${c.accent?"bg-gradient-to-br from-primary/15 to-primary/5 border border-primary/30 hover:border-primary/50":"glass-card hover:border-primary/20 cursor-pointer"}`,style:{opacity:o?1:0,transform:o?"translateY(0)":"translateY(20px)",transitionDelay:`${u*70}ms`},children:[d.jsxs("div",{className:"relative h-40 overflow-hidden",children:[d.jsx("img",{src:c.img,alt:c.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110",loading:"lazy"}),d.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/60 to-transparent"}),d.jsx("div",{className:`absolute top-3 right-3 w-8 h-8 rounded-full flex items-center justify-center transition-colors ${c.accent?"bg-primary/20":"bg-primary/10 group-hover:bg-primary/20"}`,children:d.jsx(c.icon,{size:16,className:"text-primary"})})]}),d.jsxs("div",{className:"p-5",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsx("h3",{className:"font-heading text-lg font-semibold",children:c.title}),h&&d.jsx(Jv,{size:18,className:`text-muted-foreground transition-transform duration-300 ${f?"rotate-180":""}`})]}),c.accent&&c.desc&&d.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mt-3",children:c.desc}),h&&d.jsxs(d.Fragment,{children:[!f&&d.jsx("p",{className:"text-xs text-muted-foreground mt-2",children:"Нажмите, чтобы узнать больше"}),d.jsx(Vw,{children:f&&c.items&&d.jsx(q.ul,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"space-y-1.5 mt-3 overflow-hidden",children:c.items.map(p=>d.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary shrink-0"}),p]},p))})})]})]})]},c.title)})})]})]})},f4="/assets/checklist-preview-Df7s4-PZ.mov",yr=[{name:"Бесплатная консультация",price:"Бесплатно",description:"Обсудим ваш проект и подберём оптимальное решение",icon:tx,features:["Анализ текущего состояния","Обсуждение целей проекта","Разработка плана реализации","Подбор формата сотрудничества","Ответы на вопросы"],cta:"Запросить консультацию",highlighted:!1,team:["Руководитель проекта"]},{name:"Технический запуск",price:"25 000 ₽",description:"Быстрый запуск магазина без индивидуального дизайна — на стандартных шаблонах",icon:NE,features:["Запуск магазина на Яндекс КИТ","Импорт товаров и синхронизация","Настройка платёжных систем","Настройка логистики","Настройка личного кабинета","Привязка домена","Формирование дерева категорий","Помощь с регистрацией юр. лица / ИП","Формирование юридических документов","Настройка склада","Тестирование и отладка","Базовая SEO-оптимизация"],cta:"Заказать запуск",highlighted:!1,team:["Руководитель проекта","Fullstack-разработчик"],result:"Рабочий магазин на стандартном шаблоне — готов к приёму заказов."},{name:"Интернет-магазин под ключ",price:"50 000 ₽",de
321scription:"Полноценный магазин с уникальным дизайном и всеми интеграциями",icon:vo,includesPrevious:"Технический запуск",features:[{text:"Разработка уникального дизайна",highlight:!0},"Предпроектное исследование","Разработка архитектуры магазина","Создание юнит-экономики магазина","Подключение всех нужных интеграций — Мой склад / Битрикс24 / RetailCRM и др.","Расширенная SEO-оптимизация","Яндекс.Метрика и аналитика","Формирование базовых кампаний в Яндекс Директ"],cta:"Заказать магазин",highlighted:!0,team:["Руководитель проекта","UX/UI-дизайнер","Fullstack-разработчик","SEO-специалист","Контент-менеджер"],result:"Уникальный магазин с индивидуальным дизайном, аналитикой и интеграциями."},{name:"E-commerce Система",price:"150 000 ₽",description:"Не просто сайт — управляемая система продаж с понятными цифрами и планом роста",icon:Mf,includesPrevious:"Интернет-магазин под ключ",features:["Анализ ниши","Расчёт юнит-экономики и маржинальности","Финансовая модель окупаемости","Позиционирование и УТП","Архитектура прогрева и сценарии покупки","Стратегия привлечения трафика","Стратегия взаимодействия и удержания клиентов","Механика повторных продаж и LTV","Подготовка к масштабированию","Младший партнёр на старте"],cta:"Заказать систему",highlighted:!1,team:["Руководитель проекта","UX/UI-дизайнер","Fullstack-разработчик","SEO-специалист","Контент-менеджер","Маркетолог","Аналитик"],result:"Управляемая система продаж с понятными цифрами и планом роста."}],Zr={name:"Интерактивный чек-лист",price:"5 000 ₽",description:"Чек-лист запуска магазина на Яндекс КИТ с пошаговыми инструкциями",icon:ex,features:["Пошаговый план запуска магазина","Чек-лист настройки платформы","Подробная информация по каждому разделу","Гайд по SEO-настройкам","Шаблоны политик и страниц","Базовый шаблон юнит-экономики"],cta:"Получить чек-лист",team:["Руководитель проекта"]},h4=()=>{const t=()=>{const a=localStorage.getItem("checklist_timer_start"),l=a?parseInt(a):Date.now();return a||localStorage.setItem("checklist_timer_start",l.toString()),864e5-(Date.now()-l)%864e5},[n,r]=x.useState(t);x.useEffect(()=>{const a=setInterval(()=>{const l=t();r(l)},1e3);return()=>clearInterval(a)},[]);const s=Math.floor(n/(1e3*60*60)),i=Math.floor(n%(1e3*60*60)/(1e3*60)),o=Math.floor(n%(1e3*60)/1e3);return d.jsxs("div",{className:"flex items-center gap-2 justify-center",children:[d.jsx(kE,{size:16,className:"text-primary animate-pulse"}),d.jsxs("div",{className:"flex items-center gap-1 font-mono text-lg font-bold text-primary",children:[d.jsx("span",{className:"bg-primary/10 px-2 py-1 rounded",children:String(s).padStart(2,"0")}),d.jsx("span",{children:":"}),d.jsx("span",{className:"bg-primary/10 px-2 py-1 rounded",children:String(i).padStart(2,"0")}),d.jsx("span",{children:":"}),d.jsx("span",{className:"bg-primary/10 px-2 py-1 rounded",children:String(o).padStart(2,"0")})]})]})},p4={"Получить чек-лист":"https://t.me/m/BjqF361ONTIy","Заказать систему":"https://t.me/m/-t0OyDMQMGUy","Заказать магазин":"https://t.me/m/pTbHImmyOTVi","Заказать запуск":"https://t.me/m/H9UGSeX9OGFi","Запросить консультацию":"https://t.me/m/mkUbrwZKOGYy"},Zc=e=>{const t=p4[e];t&&window.open(t,"_blank")},m4=()=>d.jsxs("section",{id:"pricing",className:"py-24 relative",children:[d.jsx("div",{className:"absolute bottom-0 left-0 w-[600px] h-[600px] rounded-full bg-primary/5 blur-[200px]"}),d.jsxs("div",{className:"container mx-auto px-6",children:[d.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut"},className:"text-center mb-16",children:[d.jsxs("h2",{className:"font-heading text-3xl sm:text-5xl font-bold mb-4",children:["Пакеты ",d.jsx("span",{className:"text-gradient",children:"услуг"})]}),d.jsx("p",{className:"text-muted-foreground max-w-xl mx-auto",children:"Профессиональные услуги по разработке и настройке интернет-магазинов на Яндекс КИТ"})]}),d.jsx(q.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut"},className:"max-w-md mx-auto mb-12",children:d.jsxs("div",{className:"glass-card rounded-2xl p-8",children:[d.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary/10 flex items-center justify-center mb-4",children:d.jsx(tx,{size:20,className:"text-primary"})}),d.jsx("h3",{className:"font-heading text-xl font-bold mb-1",children:yr[0].name}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:yr[0].description}),d.jsx("div",{className:"font-heading text-3xl font-bold text-gradient mb-6",children:yr[0].price}),d.jsx("ul",{className:"space-y-3 mb-8",children:yr[0].features.map(e=>d.jsxs("li",{className:"flex items-start gap-2.5 text-sm",children:[d.jsx(va,{size:16,className:"text-primary mt-0.5 shrink-0"}),d.jsx("span",{className:"text-muted-foreground",children:e})]},e))}),d.jsx("button",{onClick:()=>Zc(yr[0].cta),className:"w-full py-3 rounded-xl font-heading font-semibold text-sm border border-primary/30 bg-primary/5 text-foreground hover:bg-primary/10 transition-all",children:yr[0].cta})]})}),d.jsx("div",{className:"grid lg:grid-cols-3 gap-6 max-w-6xl mx-auto mb-12",children:yr.slice(1).map((e,t)=>d.jsxs(q.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut",delay:t*.1},className:`rounded-2xl p-8 relative flex flex-col ${e.highlighted?"gradient-border glass-card glow-box":"glass-card"}`,children:[e.highlighted&&d.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 px-4 py-1 rounded-full text-xs font-medium bg-primary text-primary-foreground",children:"Популярный"}),d.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary/10 flex items-center justify-center mb-4",children:d.jsx(e.icon,{size:20,className:"text-primary"})}),d.jsx("h3",{className:"font-heading text-xl font-bold mb-1",children:e.name}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:e.description}),d.jsx("div",{className:"font-heading text-3xl font-bold text-gradient mb-6",children:e.price}),e.includesPrevious&&d.jsx("div",{className:"mb-4 p-3 rounded-xl bg-primary/5 border border-primary/10",children:d.jsxs("p",{className:"text-xs text-primary font-semibold",children:["✦ Всё из «",e.includesPrevious,"» +"]})}),d.jsx("ul",{className:"space-y-2.5 mb-6 flex-1",children:e.features.map(n=>{const r=typeof n=="object"&&n!==null,s=r?n.text:n,i=r&&n.highlight;return d.jsxs("li",{className:`flex items-start gap-2.5 text-sm ${i?"bg-primary/10 border border-primary/20 rounded-lg px-3 py-2 -mx-1":""}`,children:[d.jsx(va,{size:15,className:"mt-0.5 shrink-0 text-primary"}),d.jsx("span",{className:i?"text-primary font-semibold":"text-muted-foreground",children:s})]},s)})}),e.result&&d.jsx("div",{className:"mb-6 p-3 rounded-xl bg-primary/5 border border-primary/10",children:d.jsxs("p",{className:"text-xs text-muted-foreground",children:[d.jsx("span",{className:"text-primary font-semibold",children:"Результат:"})," ",e.result]})}),d.jsxs("div",{className:"mb-6",children:[d.jsx("p",{className:"text-xs text-muted-foreground mb-2",children:"В команде:"}),d.jsx("div",{className:"flex flex-wrap gap-1.5",children:e.team.map(n=>d.jsx("span",{className:"text-xs px-2 py-1 rounded-md bg-secondary text-secondary-foreground",children:n},n))})]}),d.jsx("button",{onClick:()=>Zc(e.cta),className:`w-full py-3 rounded-xl font-heading font-semibold text-sm transition-all ${e.highlighted?"bg-primary text-primary-foreground hover:opacity-90 glow-box":"border border-primary/30 bg-primary/5 text-foreground hover:bg-primary/10"}`,children:e.cta})]},e.name))}),d.jsx(q.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut"},className:"max-w-4xl mx-auto",children:d.jsxs("div",{className:"glass-card rounded-2xl p-8 relative overflow-hidden",children:[d.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-primary/50 via-primary to-primary/50"}),d.jsxs("div",{className:"flex items-start gap-3 mb-4",children:[d.jsx(m
321E,{size:20,className:"text-primary mt-1 shrink-0"}),d.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed",children:["Мы понимаем, что селлерам сейчас непросто — поэтому предлагаем начать с малого. Стоимость чек-листа ",d.jsx("span",{className:"text-foreground font-semibold",children:"полностью засчитывается"})," в стоимость полного проекта при дальнейшем сотрудничестве."]})]}),d.jsxs("div",{className:"grid md:grid-cols-3 gap-8 items-start",children:[d.jsxs("div",{className:"md:col-span-2",children:[d.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary/10 flex items-center justify-center mb-4",children:d.jsx(ex,{size:20,className:"text-primary"})}),d.jsx("h3",{className:"font-heading text-xl font-bold mb-1",children:Zr.name}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:Zr.description}),d.jsx("div",{className:"font-heading text-3xl font-bold text-gradient mb-4",children:Zr.price}),d.jsx("ul",{className:"space-y-2 mb-6",children:Zr.features.map(e=>d.jsxs("li",{className:"flex items-start gap-2 text-sm",children:[d.jsx(va,{size:14,className:"text-primary mt-0.5 shrink-0"}),d.jsx("span",{className:"text-muted-foreground",children:e})]},e))}),d.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center gap-4 mb-4",children:[d.jsx("button",{onClick:()=>Zc(Zr.cta),className:"w-full sm:w-auto px-6 py-3 rounded-xl font-heading font-semibold text-sm bg-primary text-primary-foreground hover:opacity-90 transition-all glow-box",children:Zr.cta}),d.jsxs("div",{className:"text-center",children:[d.jsx("p",{className:"text-xs text-muted-foreground mb-1 uppercase tracking-wider",children:"Предложение действует ещё"}),d.jsx(h4,{})]})]}),d.jsxs("div",{className:"rounded-xl p-4 text-center bg-primary/10 border border-primary/20",children:[d.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"При заказе полного проекта"}),d.jsxs("p",{className:"text-sm font-semibold text-foreground",children:["5 000 ₽ → ",d.jsx("span",{className:"text-primary",children:"засчитывается в стоимость"})]})]})]}),d.jsx("div",{className:"mt-6 md:mt-0",children:d.jsxs("div",{className:"rounded-xl overflow-hidden border border-border/30 shadow-lg shadow-primary/5",children:[d.jsx("video",{src:f4,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full h-auto object-cover"}),d.jsx("div",{className:"bg-background/80 backdrop-blur-sm p-3 text-center",children:d.jsx("p",{className:"text-xs text-muted-foreground",children:"Превью чек-листа"})})]})})]})]})})]})]}),g4=[{label:"UX/UI дизайнер",cost:"от 40 000 ₽",time:"2–3 недели",icon:nx},{label:"Fullstack-разработчик",cost:"от 80 000 ₽",time:"3–4 недели",icon:aE},{label:"SEO-специалист",cost:"от 25 000 ₽",time:"1–2 недели",icon:wE},{label:"Интеграции (1С, CRM, оплата)",cost:"от 30 000 ₽",time:"1–2 недели",icon:SE},{label:"Контент и наполнение",cost:"от 15 000 ₽",time:"1 неделя",icon:qu}],y4="от 190 000 ₽",v4="8–12 недель",x4=[{name:"Анна К.",text:"Запустили магазин за 5 дней. Всё работает идеально — от оплаты до доставки. Экономия на разработке колоссальная!",price:"50 000 ₽",rating:5},{name:"Дмитрий Р.",text:"Переехали с Tilda на Яндекс КИТ. Конверсия выросла на 30%. Команда TIMJ сделала всё под ключ.",price:"25 000 ₽",rating:5},{name:"Мария Л.",text:"Отличная команда! Сделали красивый магазин с интеграцией СДЭК и CloudPayments. Рекомендую!",price:"50 000 ₽",rating:5}],w4=()=>d.jsxs("section",{className:"py-24 relative",children:[d.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[800px] h-[400px] rounded-full bg-primary/5 blur-[200px]"}),d.jsxs("div",{className:"container mx-auto px-6",children:[d.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut"},className:"text-center mb-16",children:[d.jsxs("h2",{className:"font-heading text-3xl sm:text-5xl font-bold mb-4",children:["Сколько стоит сделать ",d.jsx("span",{className:"text-gradient",children:"самостоятельно?"})]}),d.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Сравните расходы на самостоятельную разработку с готовым решением от TIMJ"})]}),d.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 max-w-6xl mx-auto",children:[d.jsxs(q.div,{initial:{opacity:0,x:-15},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.7,ease:"easeOut"},className:"glass-card rounded-2xl p-8",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[d.jsx("div",{className:"w-10 h-10 rounded-xl bg-red-500/10 flex items-center justify-center",children:d.jsx(cE,{size:20,className:"text-red-400"})}),d.jsx("h3",{className:"font-heading text-xl font-bold",children:"Делать самому"})]}),d.jsx("div",{className:"space-y-4 mb-8",children:g4.map((e,t)=>d.jsxs(q.div,{initial:{opacity:0,x:-10},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-30px"},transition:{duration:.5,ease:"easeOut",delay:t*.08},className:"flex items-center justify-between p-3 rounded-xl bg-secondary/30 border border-border/50",children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(e.icon,{size:16,className:"text-muted-foreground"}),d.jsx("span",{className:"text-sm",children:e.label})]}),d.jsxs("div",{className:"text-right",children:[d.jsx("span",{className:"text-sm font-semibold text-red-400",children:e.cost}),d.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[d.jsx(jc,{size:10}),e.time]})]})]},e.label))}),d.jsx("div",{className:"p-4 rounded-xl bg-red-500/10 border border-red-500/20",children:d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsx("span",{className:"text-sm font-medium text-red-400",children:"Итого самостоятельно:"}),d.jsxs("div",{className:"text-right",children:[d.jsx("span",{className:"font-heading text-xl font-bold text-red-400",children:y4}),d.jsxs("div",{className:"flex items-center gap-1 text-xs text-red-400/70",children:[d.jsx(jc,{size:10}),v4]})]})]})}),d.jsx("div",{className:"mt-6 p-4 rounded-xl bg-primary/10 border border-primary/20",children:d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsx("span",{className:"text-sm font-medium text-primary",children:"С TIMJ под ключ:"}),d.jsxs("div",{className:"text-right",children:[d.jsx("span",{className:"font-heading text-xl font-bold text-primary",children:"50 000 ₽"}),d.jsxs("div",{className:"flex items-center gap-1 text-xs text-primary/70",children:[d.jsx(jc,{size:10}),"7 дней"]})]})]})})]}),d.jsxs(q.div,{initial:{opacity:0,x:15},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.7,ease:"easeOut"},className:"space-y-4",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[d.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary/10 flex items-center justify-center",children:d.jsx(qu,{size:20,className:"text-primary"})}),d.jsx("h3",{className:"font-heading text-xl font-bold",children:"Отзывы клиентов"})]}),x4.map((e,t)=>d.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-30px"},transition:{duration:.6,ease:"easeOut",delay:t*.1},className:"glass-card rounded-2xl p-6",children:[d.jsxs("div",{className:"flex items-center justify-between mb-3",children:[d.jsx("div",{children:d.jsx("p",{className:"font-heading font-semibold",children:e.name})}),d.jsx("div",{className:"flex gap-0.5",children:Array.from({length:e.rating}).map((n,r)=>d.jsx(qu,{size:14,className:"text-primary fill-primary"},r))})]}),d.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed mb-3",children:['"',e.text,'"']}),d.jsx("div",{className:"flex items-center gap-2",children:d.jsxs("span",{className:"text-xs px-2 py-1 rounded-md bg-primary/10 text-primary font-medium",children:["Стоимость проекта: ",e.price]})})]},e.name))]})]})]})]}),b4=[{num:"01",title:"Бриф",desc:"Сбор информации, обсуждение целей и согласование задач"},{num:"02",title:"Регистрация",desc:"Регистрация аккаунта Яндекс КИТ и предоставление доступа"},{num:"03",title:"Базовые настройки",desc:"Подключение платёжных систем, покупка домена, настройка страниц"},{num:"04",title:"Импорт товаров",desc:"Импорт с маркетплейсов или складов, настройка коллекций и тегов"},{num:"05",title:"CRM и склад",desc:"Интеграция с 1С или CRM для синхронизации данных"},{num:"06",title:"Настройка складов",desc:"Настройка складов и управления остатками"},{num:"07",title:"Дизайн и разработка",desc:"Оформление страниц, политик, коллекций и SEO-параметров"},{num:"08",title:"Проверка",desc:"Тестирование функционала и внесение правок"},{num:"09",title:"Интеграция домена",desc:"Привязка домена через NS-записи"},{num:"10",title:"Передача проекта",desc:"Финальная проверка и передача готового магазина"}],S4=()=>d.jsx("section",{id:"stages",className:"py-24 relative",children:d.jsxs("div",{className:"container mx-auto px-6",children:[d.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut"},className:"text-center mb-16",children:[d.jsxs("h2",{className:"font-heading text-3xl sm:text-5xl font-bold mb-4",children:["Этапы ",d.jsx("span",{className:"text-gradient",children:"разработки"})]}),d.jsx("p",{className:"text-muted-foreground max-w-xl mx-auto",children:"Прозрачный процесс от консультации до передачи готового магазина"})]}),d.jsxs("div",{className:"max-w-4xl mx-auto relative",children:[d.jsx("div",{className:"absolute left-4 sm:left-6 md:left-1/2 top-0 bottom-0 w-px bg-border md:-translate-x-px"}),b4.map((e,t)=>d.jsxs(q.div,{initial:{opacity:0,x:t%2===0?-15:15},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-30px"},transition:{duration:.6,ease:"easeOut",delay:t*.05},className:`relative flex items-start gap-6 mb-8 ${t%2===0?"md:flex-row":"md:flex-row-reverse"}`,children:[d.jsx("div",{className:"absolute left-4 sm:left-6 md:left-1/2 w-3 h-3 rounded-full bg-primary -translate-x-1.5 mt-5 z-10 animate-pulse-glow"}),d.jsx("div",{className:`ml-10 sm:ml-14 md:ml-0 md:w-[calc(50%-2rem)] ${t%2===0?"md:text-right md:pr-8":"md:text-left md:pl-8"}`,children:d.jsxs("div",{className:"glass-card rounded-xl p-5 hover:border-primary/20 transition-all",children:[d.jsx("span",{className:"text-xs font-heading font-bold text-primary",children:e.num}),d.jsx("h3",{className:"font-heading font-semibold text-base mt-1 mb-1",children:e.title}),d.jsx("p",{className:"text-sm text-muted-foreground",children:e.desc})]})}),d.jsx("div",{className:"hidden md:block md:w-[calc(50%-2rem)]"})]},e.num))]})]})}),C4="/assets/ivan-photo-DWK8dtKj.jpeg",E4=[{criteria:"Комиссия с продаж",marketplace:"15–45% с каждой продажи",kit:"0% — вся выручка ваша",marketplaceNeg:!0},{criteria:"Своя база клиентов",marketplace:"Клиенты принадлежат площадке",kit:"Своя база клиентов и CRM",marketplaceNeg:!0},{criteria:"Брендинг и дизайн",marketplace:"Шаблонные карточки",kit:"Уникальный дизайн магазина",marketplaceNeg:!0},{criteria:"Ценообразование",marketplace:"Ограничения и штрафы за цены",kit:"Полная свобода ценообразования",marketplaceNeg:!0},{criteria:"Аналитика",marketplace:"Ограниченные отчёты площадки",kit:"Яндекс.Метрика + встроенная аналитика",marketplaceNeg:!0},{criteria:"Зависимость от площадки",marketplace:"Могут заблокировать или понизить",kit:"МагаÐ
321·Ð¸Ð½ полностью ваш",marketplaceNeg:!0},{criteria:"SEO и трафик",marketplace:"Трафик внутри площадки",kit:"Органический трафик из поисковиков",marketplaceNeg:!0}],T4=()=>d.jsx("section",{id:"team",className:"py-24 relative",children:d.jsx("div",{className:"container mx-auto px-6",children:d.jsxs("div",{className:"grid lg:grid-cols-2 gap-12",children:[d.jsxs(q.div,{initial:{opacity:0,x:-15},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.7,ease:"easeOut"},children:[d.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[d.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary/10 flex items-center justify-center",children:d.jsx(vo,{size:20,className:"text-primary"})}),d.jsxs("h2",{className:"font-heading text-2xl sm:text-3xl font-bold",children:["Кто будет отвечать за ",d.jsx("span",{className:"text-gradient",children:"запуск вашего магазина"})]})]}),d.jsx("div",{className:"glass-card rounded-2xl p-6 mb-6",children:d.jsxs("div",{className:"flex flex-col sm:flex-row items-center sm:items-start gap-5",children:[d.jsx("div",{className:"w-28 h-28 rounded-2xl bg-gradient-to-br from-primary/20 to-primary/5 border border-primary/10 flex items-center justify-center shrink-0 overflow-hidden",children:d.jsx("img",{src:C4,alt:"Иван Тимощенко",className:"w-full h-full object-cover rounded-2xl"})}),d.jsxs("div",{className:"text-center sm:text-left",children:[d.jsx("h3",{className:"font-heading text-xl font-bold mb-2",children:"Иван Тимощенко"}),d.jsxs("div",{className:"flex flex-wrap gap-2 justify-center sm:justify-start mb-3",children:[d.jsxs("span",{className:"inline-flex items-center gap-1 text-xs bg-primary/10 text-primary rounded-full px-3 py-1 font-medium",children:[d.jsx(rE,{size:12})," 6+ лет в e-commerce"]}),d.jsxs("span",{className:"inline-flex items-center gap-1 text-xs bg-primary/10 text-primary rounded-full px-3 py-1 font-medium",children:[d.jsx(rx,{size:12})," Оборот 20+ млн ₽/мес"]}),d.jsxs("span",{className:"inline-flex items-center gap-1 text-xs bg-primary/10 text-primary rounded-full px-3 py-1 font-medium",children:[d.jsx(tE,{size:12})," Партнёр Яндекса"]})]}),d.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Бывший селлер с оборотом 20+ млн ₽ в месяц. Запускаем магазины на Яндекс Кит с фокусом на результат."})]})]})}),d.jsxs("div",{className:"glass-card rounded-xl p-4 mb-6 border-l-2 border-primary/30 flex items-center gap-3",children:[d.jsx("div",{className:"w-9 h-9 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:d.jsx(pE,{size:18,className:"text-primary"})}),d.jsxs("p",{className:"text-sm text-muted-foreground",children:[d.jsx("span",{className:"text-foreground font-medium",children:"Над каждым проектом"})," работает команда специалистов по сборке, дизайну, SEO и интеграциям."]})]}),d.jsxs("div",{className:"space-y-4",children:[d.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-30px"},transition:{duration:.6,ease:"easeOut"},className:"glass-card rounded-xl p-5",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[d.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center",children:d.jsx(Mf,{size:16,className:"text-primary"})}),d.jsx("h4",{className:"font-heading font-semibold text-sm",children:"Наша миссия"})]}),d.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Мы помогаем предпринимателям выходить из зависимости от маркетплейсов и выстраивать собственные каналы продаж внутри экосистемы Яндекса."})]}),d.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-30px"},transition:{duration:.6,ease:"easeOut",delay:.1},className:"glass-card rounded-xl p-5",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[d.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center",children:d.jsx(TE,{size:16,className:"text-primary"})}),d.jsx("h4",{className:"font-heading font-semibold text-sm",children:"Наша цель"})]}),d.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed",children:["Помочь ",d.jsx("span",{className:"text-foreground font-semibold",children:"10 000 предпринимателей"})," запустить и развить собственный интернет-магазин."]})]}),d.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-30px"},transition:{duration:.6,ease:"easeOut",delay:.2},className:"glass-card rounded-xl p-5",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[d.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center",children:d.jsx(eE,{size:16,className:"text-primary"})}),d.jsx("h4",{className:"font-heading font-semibold text-sm",children:"Стратегическая цель"})]}),d.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Построить крупнейшую в России инфраструктуру по запуску и развитию магазинов на Яндекс Кит — с собственной системой обучения, стандартами качества и IT-решениями."})]})]})]}),d.jsxs(q.div,{initial:{opacity:0,x:15},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.7,ease:"easeOut"},children:[d.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[d.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary/10 flex items-center justify-center",children:d.jsx(hE,{size:20,className:"text-primary"})}),d.jsxs("h2",{className:"font-heading text-2xl sm:text-3xl font-bold",children:["Маркетплейсы vs ",d.jsx("span",{className:"text-gradient",children:"Яндекс КИТ"})]})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsxs("div",{className:"hidden sm:grid grid-cols-3 gap-3 px-4 pb-2",children:[d.jsx("span",{className:"text-xs text-muted-foreground font-medium"}),d.jsxs("span",{className:"text-xs text-muted-foreground font-medium text-center flex items-center justify-center gap-1",children:[d.jsx(EE,{size:12})," Маркетплейсы"]}),d.jsxs("span",{className:"text-xs text-primary font-medium text-center flex items-center justify-center gap-1",children:[d.jsx(PE,{size:12})," Яндекс КИТ"]})]}),E4.map((e,t)=>d.jsxs(q.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-20px"},transition:{duration:.5,ease:"easeOut",delay:t*.04},className:"glass-card rounded-xl p-3 grid grid-cols-1 sm:grid-cols-3 gap-1.5 sm:gap-3 items-start sm:items-center",children:[d.jsx("span",{className:"text-xs font-semibold text-foreground",children:e.criteria}),d.jsxs("span",{className:"text-xs flex items-start gap-1 sm:justify-center text-muted-foreground",children:[d.jsx(oE,{size:12,className:"text-destructive shrink-0 mt-0.5"}),d.jsx("span",{children:e.marketplace})]}),d.jsxs("span",{className:"text-xs flex items-start gap-1 sm:justify-center text-foreground",children:[d.jsx(iE,{size:12,className:"text-primary shrink-0 mt-0.5"}),d.jsx("span",{children:e.kit})]})]},e.criteria))]})]})]})})}),k4="/assets/neo-matrix-CVXoLApr.jpg",P4=()=>{const e=t=>{var n;return(n=document.querySelector(t))==null?void 0:n.scrollIntoView({behavior:"smooth"})};return d.jsxs("section",{className:"py-24 relative overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background via-[hsl(140,80%,5%)] to-background opacity-40"}),d.jsxs("div",{className:"container relative mx-auto px-6",children:[d.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut"},className:"text-center mb-12",children:[d.jsxs("h2",{className:"font-heading text-3xl sm:text-5xl font-bold mb-3",children:["Перед тем как ты"," ",d.jsx("span",{className:"text-gradient",children:"закроешь страницу"})]}),d.jsx("p",{className:"text-xl text-muted-foreground",children:"У тебя есть два пути"})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 items-center max-w-5xl mx-auto",children:[d.jsxs(q.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.7,ease:"easeOut",delay:.2},className:"glass-card rounded-2xl p-8 border-[hsl(0,70%,45%)]/30 hover:border-[hsl(0,70%,45%)]/50 transition-all text-center lg:text-right",children:[d.jsx("div",{className:"w-5 h-5 rounded-full bg-[hsl(0,70%,50%)] mx-auto lg:ml-auto lg:mr-0 mb-5 shadow-[0_0_20px_hsl(0,70%,50%/0.6)]"}),d.jsx("h3",{className:"font-heading text-lg font-bold mb-3 text-[hsl(0,70%,60%)]",children:"Оставить всё как есть"}),d.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Вести бизнес без базы клиентов — отдавая большую часть выручки нестабильной площадке"})]}),d.jsx(q.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.7,ease:"easeOut",delay:.3},className:"flex justify-center",children:d.jsx("img",{src:k4,alt:"В
321ыбери свой путь",className:"w-64 sm:w-72 rounded-2xl shadow-[0_0_60px_hsl(140,60%,30%/0.3)]"})}),d.jsxs(q.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.7,ease:"easeOut",delay:.2},className:"glass-card rounded-2xl p-8 border-[hsl(210,70%,45%)]/30 hover:border-[hsl(210,70%,45%)]/50 transition-all text-center lg:text-left cursor-pointer",onClick:()=>e("#contact"),children:[d.jsx("div",{className:"w-5 h-5 rounded-full bg-[hsl(210,70%,50%)] mx-auto lg:mr-auto lg:ml-0 mb-5 shadow-[0_0_20px_hsl(210,70%,50%/0.6)]"}),d.jsx("h3",{className:"font-heading text-lg font-bold mb-3 text-[hsl(210,70%,60%)]",children:"Запустить свой магазин"}),d.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Обрести независимость и построить фундамент бизнеса без посредника"})]})]})]})]})},N4=()=>d.jsxs("section",{id:"referral",className:"py-24 relative overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 pointer-events-none",children:d.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] bg-primary/5 rounded-full blur-[120px]"})}),d.jsxs("div",{className:"container mx-auto px-6 relative z-10",children:[d.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut"},className:"text-center mb-12",children:[d.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full glass-card mb-6",children:[d.jsx(em,{className:"w-4 h-4 text-primary"}),d.jsx("span",{className:"text-sm font-medium",children:"Партнёрская программа"})]}),d.jsxs("h2",{className:"font-heading text-3xl sm:text-5xl font-bold mb-4",children:["Приводите друзей —"," ",d.jsx("span",{className:"text-gradient",children:"получайте бонусы"})]}),d.jsx("p",{className:"text-muted-foreground max-w-xl mx-auto text-base sm:text-lg",children:"У вас есть друзья или коллеги, кому нужен KIT? Рекомендуйте нас и зарабатывайте"})]}),d.jsx(q.div,{initial:{opacity:0,scale:.97},whileInView:{opacity:1,scale:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.7,ease:"easeOut"},className:"max-w-lg mx-auto mb-12",children:d.jsxs("div",{className:"glass-card rounded-2xl p-8 sm:p-10 text-center border border-primary/20 relative overflow-hidden",children:[d.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-transparent via-primary to-transparent"}),d.jsx("p",{className:"text-muted-foreground text-sm uppercase tracking-widest mb-2",children:" "}),d.jsx("span",{className:"font-heading text-5xl sm:text-7xl font-bold text-gradient",children:"5 000 ₽"}),d.jsx("p",{className:"text-muted-foreground mt-3 text-base",children:"за каждого приведённого клиента"})]})}),d.jsx(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut"},className:"grid grid-cols-1 sm:grid-cols-3 gap-4 max-w-3xl mx-auto mb-12",children:[{icon:vo,title:"Рекомендуйте",desc:"Расскажите другу о KIT"},{icon:JC,title:"Друг оплачивает",desc:"Он становится клиентом"},{icon:em,title:"Получите бонус",desc:"До 5 000 ₽ на ваш счёт"}].map((e,t)=>d.jsxs("div",{className:"glass-card rounded-xl p-5 text-center",children:[d.jsx(e.icon,{className:"w-6 h-6 text-primary mx-auto mb-3"}),d.jsx("h3",{className:"font-heading font-semibold mb-1",children:e.title}),d.jsx("p",{className:"text-muted-foreground text-sm",children:e.desc})]},t))}),d.jsxs(q.div,{initial:{opacity:0}
vendor: 4,105 bytes, line 321
321,whileInView:{opacity:1},viewport:{once:!0},className:"max-w-2xl mx-auto space-y-2 text-center",children:[d.jsx("p",{className:"text-muted-foreground/60 text-xs leading-relaxed",children:"*Реферальный бонус начисляется после оплаты услуги приглашённым клиентом. На покупку чек-листа программа не распространяется."}),d.jsx("p",{className:"text-muted-foreground/60 text-xs leading-relaxed",children:"*Клиент считается закреплённым за партнёром, если до начала сотрудничества он уведомил нас о том, кто его рекомендовал."})]})]})]});var Kl="Collapsible",[j4,qw]=Ys(Kl),[R4,Th]=j4(Kl),Xw=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:s,disabled:i,onOpenChange:o,...a}=e,[l,c]=Rl({prop:r,defaultProp:s??!1,onChange:o,caller:Kl});return d.jsx(R4,{scope:n,disabled:i,contentId:gx(),open:l,onOpenToggle:x.useCallback(()=>c(u=>!u),[c]),children:d.jsx(Ne.div,{"data-state":Ph(l),"data-disabled":i?"":void 0,...a,ref:t})})});Xw.displayName=Kl;var Zw="CollapsibleTrigger",Jw=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,s=Th(Zw,n);return d.jsx(Ne.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":Ph(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:t,onClick:we(e.onClick,s.onOpenToggle)})});Jw.displayName=Zw;var kh="CollapsibleContent",e2=x.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=Th(kh,e.__scopeCollapsible);return d.jsx(jl,{present:n||s.open,children:({present:i})=>d.jsx(A4,{...r,ref:t,present:i})})});e2.displayName=kh;var A4=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:s,...i}=e,o=Th(kh,n),[a,l]=x.useState(r),c=x.useRef(null),u=ct(t,c),f=x.useRef(0),h=f.current,p=x.useRef(0),w=p.current,y=o.open||a,b=x.useRef(y),g=x.useRef(void 0);return x.useEffect(()=>{const m=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(m)},[]),en(()=>{const m=c.current;if(m){g.current=g.current||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const v=m.getBoundingClientRect();f.current=v.height,p.current=v.width,b.current||(m.style.transitionDuration=g.current.transitionDuration,m.style.animationName=g.current.animationName),l(r)}},[o.open,r]),d.jsx(Ne.div,{"data-state":Ph(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!y,...i,ref:u,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:y&&s})});function Ph(e){return e?"open":"closed"}var M4=Xw,O4=Jw,D4=e2,L4=x.createContext(void 0);function I4(e){const t=x.useContext(L4);return e||t||"ltr"}var $t="Accordion",V4=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Nh,_4,F4]=Ev($t),[Gl,f3]=Ys($t,[F4,qw]),jh=qw(),t2=M.forwardRef((e,t)=>{const{type:n,...r}=e,s=r,i=r;return d.jsx(Nh.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?d.jsx(U4,{...i,ref:t}):d.jsx(B4,{...s,ref:t})})});t2.displayName=$t;var[n2,z4]=Gl($t),[r2,$4]=Gl($t,{collapsible:!1}),B4=M.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},collapsible:i=!1,...o}=e,[a,l]=Rl({prop:n,defaultProp:r??"",onChange:s,caller:$t});return d.jsx(n2,{scope:e.__scopeAccordion,value:M.useMemo(()=>a?[a]:[],[a]),onItemOpen:l,onItemClose:M.useCallback(()=>i&&l(""),[i,l]),children:d.jsx(r2,{scope:e.__scopeAccordion,collapsible:i,children:d.jsx(s2,{...o,ref:t})})})}),U4=M.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},...i}=e,[o,a]=Rl({prop:n,defaultProp:r??[],onChange:s,caller:$t}),l=M.useCallback(u=>a((f=[])=>[...f,u]),[a]),c=M.useCallback(u=>a((f=[])=>f.filter(h=>h!==u)),[a]);return d.jsx(n2,{scope:e.__scopeAccordion,value:o,onItemOpen:l,onItemClose:c,children:d.jsx(r2,{scope:e.__scopeAccordion,collapsible:!0,children:d.jsx(s2,{...i,ref:t})})})}),[W4,Yl]=Gl($t),s2=M.forwardRef((e,t)=>
321{const{__scopeAccordion:n,disabled:r,dir:s,orientation:i="vertical",...o}=e,a=M.useRef(null),l=ct(a,t),c=_4(n),f=I4(s)==="ltr",h=we(e.onKeyDown,p=>{var k;if(!V4.includes(p.key))return;const w=p.target,y=c().filter(R=>{var A;return!((A=R.ref.current)!=null&&A.disabled)}),b=y.findIndex(R=>R.ref.current===w),g=y.length;if(b===-1)return;p.preventDefault();let m=b;const v=0,S=g-1,C=()=>{m=b+1,m>S&&(m=v)},E=()=>{m=b-1,m<v&&(m=S)};switch(p.key){case"Home":m=v;break;case"End":m=S;break;case"ArrowRight":i==="horizontal"&&(f?C():E());break;case"ArrowDown":i==="vertical"&&C();break;case"ArrowLeft":i==="horizontal"&&(f?E():C());break;case"ArrowUp":i==="vertical"&&E();break}const T=m%g;(k=y[T].ref.current)==null||k.focus()});return d.jsx(W4,{scope:n,disabled:r,direction:s,orientation:i,children:d.jsx(Nh.Slot,{scope:n,children:d.jsx(Ne.div,{...o,"data-orientation":i,ref:l,onKeyDown:r?void 0:h})})})}),fl="AccordionItem",[H4,Rh]=Gl(fl),i2=M.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...s}=e,i=Yl(fl,n),o=z4(fl,n),a=jh(n),l=gx(),c=r&&o.value.includes(r)||!1,u=i.disabled||e.disabled;return d.jsx(H4,{scope:n,open:c,disabled:u,triggerId:l,children:d.jsx(M4,{"data-orientation":i.orientation,"data-state":d2(c),...a,...s,ref:t,disabled:u,open:c,onOpenChange:f=>{f?o.onItemOpen(r):o.onItemClose(r)}})})});i2.displayName=fl;var o2="AccordionHeader",a2=M.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Yl($t,n),i=Rh(o2,n);return d.jsx(Ne.h3,{"data-orientation":s.orientation,"data-state":d2(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});a2.displayName=o2;var Ad="AccordionTrigger",l2=M.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Yl($t,n),i=Rh(Ad,n),o=$4(Ad,n),a=jh(n);return d.jsx(Nh.ItemSlot,{scope:n,children:d.jsx(O4,{"aria-disabled":i.open&&!o.collapsible||void 0,"data-orientation":s.orientation,id:i.triggerId,...a,...r,ref:t})})});l2.displayName=Ad;var c2="AccordionContent",u2=M.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Yl($t,n),i=Rh(c2,n),o=jh(n);return d.jsx(D4,{role:"region","aria-labelledby":i.triggerId,"data-orientation":s.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});u2.displayName=c2;function d2(e){return e?"open":"closed"}var K4=t2,G4=i2,Y4=a2,f2=l2,h2=u2;const Q4=K4,p2=x.forwardRef(({className:e,...t},n)=>d.jsx(G4,{ref:n,className:rn("border-b",e),...t}));p2.displayName="AccordionItem";const m2=x.forwardRef(({className:e,children:t,...n},r)=>d.jsx(Y4,{className:"flex",children:d.jsxs(f2,{ref:r,className:rn("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,d.jsx(Jv,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));m2.displayName=f2.displayName;const g2=x.forwardRef(({className:e,children:t,...n},r)=>d.jsx(h2,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:d.jsx("div",{className:rn("pb-4 pt-0",e),children:t})}));g2.displayName=h2.displayName;const q4=[{q:"Что такое Яндекс КИТ?",a:"Яндекс КИТ — это технологическая платформа для создания интернет-магазинов с готовой инфраструктурой продаж и интеграцией с маркетплейсами и другими сервисами — ваш путь к свободной торговле."},{q:"Сколько времени занимает разработка?",a:"Создание интернет-магазина на Яндекс КИТ занимает от 7 дней. Сроки могут варьироваться в зависимости от сложности проекта, объёма каталога и дополнительных интеграций."},{q:"Можно ли перенести существующий магазин?",a:"Да, мы можем перенести ваш существующий интернет-магазин на Яндекс КИТ с сохранением дизайна и данных."},{q:"Кому будет принадлежать сайт и домен?",a:"Домен, клиентская база и все данные по заказам — ваши."},{q:"Какая поддержка предоставляется?",a:"Мы предоставляем техническую поддержку 24/7, помощь в настройке и консультации по развитию вашего бизнеса."},{q:"Можно ли сделать магазин самостоятельно? Зачем тогда обращаться к вам?",a:`Да, технически можно. Но на практике это десятки часов изучения платформы, Ð
321½Ð°ÑÑ‚ройка оплат и доставки, интеграции, тестирование, исправление ошибок и постоянные «почему не работает».
322
323Обычно самостоятельный запуск растягивается на недели, съедает фокус с основного бизнеса и всё равно требует доработок.
324
325Я беру это на себя — чтобы вы не тратили время, нервы и энергию на технические детали, а занимались продажами и развитием. Вы получаете готовый результат в конкретный срок, без хаоса и переделок.`},{q:"Почему магазин создаётся на Яндекс КИТ, а не, например, на Tilda?",a:`Потому что это инструмент именно для e-commerce. В отличие от конструкторов сайтов, платформа изначально заточена под:
326
327— каталог и большое количество товаров
328— интеграции с оплатами и логистикой
329— масштабирование
330— работу с аналитикой
331— стабильную нагрузку
332
333Tilda — отличный инструмент для лендингов и презентационных сайтов. Для полноценного интернет-магазина и роста — Яндекс КИТ функционально сильнее.`}],X4=()=>d.jsx("section",{id:"faq",className:"py-24",children:d.jsxs("div",{className:"container mx-auto px-6",children:[d.jsx(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut"},className:"text-center mb-16",children:d.jsxs("h2",{className:"font-heading text-3xl sm:text-5xl font-bold mb-4",children:["Частые ",d.jsx("span",{className:"text-gradient",children:"вопросы"})]})}),d.jsx(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:"easeOut"},className:"max-w-2xl mx-auto",children:d.jsx(Q4,{type:"single",collapsible:!0,className:"space-y-3",children:q4.map((e,t)=>d.jsxs(p2,{value:`faq-${t}`,className:"glass-card rounded-xl border-0 px-6 overflow-hidden",children:[d.jsx(m2,{className:"font-heading font-semibold text-left hover:no-underline py-5 text-sm sm:text-base",children:e.q}),d.jsx(g2,{className:"text-muted-foreground text-sm pb-5",children:e.a})]},t))})})]})}),Z4=()=>d.jsxs("footer",{className:"py-8 border-t border-border",children:[d.jsxs("div",{className:"container mx-auto px-6 flex flex-col sm:flex-row items-center justify-between gap-4",children:[d.jsxs("div",{className:"font-heading text-2xl font-bold",children:["TIM",d.jsx("span",{className:"text-gradient",children:"J"})]}),d.jsxs("a",{href:"https://t.me/ivan_timj",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[d.jsx(bE,{size:16,className:"text-primary"}),"По всем вопросам — @ivan_timj"]}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"© 2026 TIMJ. Все права защищены."})]}),d.jsxs("div",{className:"container mx-auto px-6 mt-4 flex flex-col items-center gap-2",children:[d.jsx("p",{className:"text-xs text-muted-foreground/50",children:"На сайте используются cookie-файлы и сервисы веб-аналитики."}),d.jsx(d1,{to:"/privacy",className:"text-xs text-muted-foreground/50 hover:text-muted-foreground underline transition-colors",children:"Политика конфиденциальности и обработки персональных данных"})]})]}),J4=()=>d.jsxs("div",{className:"min-h-screen",children:[d.jsx(Z5,{}),d.jsx(n4,{}),d.jsx(qg,{}),d.jsx(s4,{}),d.jsx(o4,{}),d.jsx(d4,{}),d.jsx(m4,{}),d.jsx(w4,{}),d.jsx(S4,{}),d.jsx(qg,{}),d.jsx(T4,{}),d.jsx(P4,{}),d.jsx(X4,{}),d.jsx(N4,{}),d.jsx(Z4,{})]}),e3=()=>d.jsx("div",{className:"min-h-screen bg-background text-foreground",children:d.jsxs("div",{className:"container mx-auto px-6 py-12 max-w-3xl",children:[d.jsxs(d1,{to:"/",className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors mb-8",children:[d.jsx(ZC,{size:16}),"Назад на главную"]}),d.jsx("h1",{className:"text-2xl font-heading font-bold mb-2",children:"Политика конфиденциальности и обработки персональных данных"}),d.jsx("p",{className:"text-muted-foreground text-sm mb-8",children:"Дата вступления в силу: 15.02.2026"}),d.jsxs("div",{className:"space-y-8 text-sm leading-relaxed text-muted-foreground",children:[d.jsx("p",{children:"Настоящая Политика определяет порядок обработки и защиты персональных данных пользователей сайта."}),d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-heading font-semibold text-foreground mb-3",children:"1. Оператор персональных данных"}),d.jsxs("div",{className:"space-y-1",children:[d.jsx("p",{children:"Индивидуальный предприниматель"}),d.jsx("p",{children:"Тимощенко Иван Андреевич"}),d.jsx("p",{children:"ИНН: 770106507281"}),d.jsx("p",{children:"ОГРНИП: 324774600016382"}),d.jsx("p",{children:"Email: [email protected]"})]}),d.jsx("p",{className:"mt-3",children:"Оператор осуществляет обработку персональных данных в соответствии с Федеральным законом РФ №152-ФЗ «О персональных данных»."})]}),d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-heading font-semibold text-foreground mb-3",children:"2. Общие положения"}),d.jsx("p",{children:"Сайт носит информационный характер и не содержит форм для сбора персональных данных."}),d.jsx("p",{className:"mt-2",children:"При посещении сайта могут автоматически обрабатываться обезличенные технические данные пользователя с использованием сервисов веб-аналитики и рекламн
333ых инструментов."})]}),d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-heading font-semibold text-foreground mb-3",children:"3. Какие данные могут обрабатываться"}),d.jsx("p",{className:"mb-2",children:"Автоматически могут обрабатываться следующие данные:"}),d.jsxs("ul",{className:"list-disc list-inside space-y-1 pl-2",children:[d.jsx("li",{children:"IP-адрес"}),d.jsx("li",{children:"данные cookie"}),d.jsx("li",{children:"сведения о браузере и устройстве"}),d.jsx("li",{children:"информация о действиях на сайте"}),d.jsx("li",{children:"технические идентификаторы"})]}),d.jsx("p",{className:"mt-3",children:"Указанные данные не позволяют Оператору напрямую идентифицировать личность пользователя."})]}),d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-heading font-semibold text-foreground mb-3",children:"4. Цели обработки"}),d.jsx("p",{className:"mb-2",children:"Обработка технических данных осуществляется с целью:"}),d.jsxs("ul",{className:"list-disc list-inside space-y-1 pl-2",children:[d.jsx("li",{children:"анализа посещаемости сайта"}),d.jsx("li",{children:"оценки эффективности рекламных кампаний"}),d.jsx("li",{children:"улучшения функциональности сайта"}),d.jsx("li",{children:"защиты законных интересов Оператора"})]})]}),d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-heading font-semibold text-foreground mb-3",children:"5. Использование сторонних сервисов"}),d.jsx("p",{children:"Для аналитики и продвижения могут использоваться сторонние сервисы веб-аналитики и рекламные платформы."}),d.jsx("p",{className:"mt-2",children:"Обработка данных такими сервисами осуществляется в рамках их собственных политик конфиденциальности."})]}),d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-heading font-semibold text-foreground mb-3",children:"6. Cookie-файлы"}),d.jsx("p",{children:"Сайт может использовать cookie-файлы для корректной работы и аналитики."}),d.jsx("p",{className:"mt-2",children:"Пользователь вправе ограничить или отключить использование cookie в настройках своего браузера."}),d.jsx("p",{className:"mt-2",children:"Продолжая использование сайта, пользователь соглашается с использованием cookie."})]}),d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-heading font-semibold text-foreground mb-3",children:"7. Передача данных"}),d.jsx("p",{className:"mb-2",children:"Передача данных третьим лицам возможна исключительно:"}),d.jsxs("ul",{className:"list-disc list-inside space-y-1 pl-2",children:[d.jsx("li",{children:"в целях функционирования аналитических и рекламных сервисов"}),d.jsx("li",{children:"по требованию уполномоченных государственных органов в случаях, предусмотренных законодательством РФ"})]})]}),d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-heading font-semibold text-foreground mb-3",children:"8. Изменение политики"}),d.jsx("p",{children:"Оператор вправе вносить изменения в настоящую Политику без предварительного уведомления."}),d.jsx("p",{className:"mt-2",children:"Актуальная версия размещается на сайте."})]})]})]})}),t3=()=>{const e=bo();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),d.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:d.jsxs("div",{className:"text-center",children:[d.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),d.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),d.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},n3=new JP,r3=()=>d.jsx(tN,{client:n3,children:d.jsxs(jP,{children:[d.jsx(uT,{}),d.jsx(BT,{}),d.jsx(ZN,{children:d.jsxs(HN,{children:[d.jsx(wa,{path:"/",element:d.jsx(J4,{})}),d.jsx(wa,{path:"/privacy",element:d.jsx(e3,{})}),d.jsx(wa,{path:"*",element:d.jsx(t3,{})})]})})]})});bv(document.getElementById("root")).render(d.jsx(r3,{}));

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.