PageSourceSearch

https://apithlete.web.app/assets/index-CfayLO6c.js

js apithlete.web.app collected 2026-10-03 12:16:46 UTC 555,318 bytes, 188 lines download raw bytes

vendor: 8,209 bytes, lines 1-9
1var jp=e=>{throw TypeError(e)};var eu=(e,t,n)=>t.has(e)||jp("Cannot "+n);var O=(e,t,n)=>(eu(e,t,"read from private field"),n?n.call(e):t.get(e)),Z=(e,t,n)=>t.has(e)?jp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Y=(e,t,n,r)=>(eu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Oe=(e,t,n)=>(eu(e,t,"access private method"),n);var Ro=(e,t,n,r)=>({set _(i){Y(e,t,i,n)},get _(){return O(e,t,r)}});function lS(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function iv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var sv={exports:{}},vl={},ov={exports:{}},X={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var ho=Symbol.for("react.element"),uS=Symbol.for("react.portal"),cS=Symbol.for("react.fragment"),dS=Symbol.for("react.strict_mode"),fS=Symbol.for("react.profiler"),pS=Symbol.for("react.provider"),hS=Symbol.for("react.context"),mS=Symbol.for("react.forward_ref"),gS=Symbol.for("react.suspense"),vS=Symbol.for("react.memo"),yS=Symbol.for("react.lazy"),_p=Symbol.iterator;function wS(e){return e===null||typeof e!="object"?null:(e=_p&&e[_p]||e["@@iterator"],typeof e=="function"?e:null)}var av={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lv=Object.assign,uv={};function Ui(e,t,n){this.props=e,this.context=t,this.refs=uv,this.updater=n||av}Ui.prototype.isReactComponent={};Ui.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")};Ui.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cv(){}cv.prototype=Ui.prototype;function Vd(e,t,n){this.props=e,this.context=t,this.refs=uv,this.updater=n||av}var zd=Vd.prototype=new cv;zd.constructor=Vd;lv(zd,Ui.prototype);zd.isPureReactComponent=!0;var Vp=Array.isArray,dv=Object.prototype.hasOwnProperty,Fd={current:null},fv={key:!0,ref:!0,__self:!0,__source:!0};function pv(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)dv.call(t,r)&&!fv.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:ho,type:e,key:s,ref:o,props:i,_owner:Fd.current}}function xS(e,t){return{$$typeof:ho,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Bd(e){return typeof e=="object"&&e!==null&&e.$$typeof===ho}function SS(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var zp=/\/+/g;function tu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?SS(""+e.key):t.toString(36)}function sa(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case ho:case uS:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+tu(o,0):r,Vp(i)?(n="",e!=null&&(n=e.replace(zp,"$&/")+"/"),sa(i,t,n,"",function(u){return u})):i!=null&&(Bd(i)&&(i=xS(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(zp,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Vp(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+tu(s,a);o+=sa(s,t,n,l,i)}else if(l=wS(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+tu(s,a++),o+=sa(s,t,n,l,i);else if(s==="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 No(e,t,n){if(e==null)return e;var r=[],i=0;return sa(e,r,"","",function(s){return t.call(n,s,i++)}),r}function bS(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 He={current:null},oa={transition:null},TS={ReactCurrentDispatcher:He,ReactCurrentBatchConfig:oa,ReactCurrentOwner:Fd};function hv(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:No,forEach:function(e,t,n){No(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return No(e,function(){t++}),t},toArray:function(e){return No(e,function(t){return t})||[]},only:function(e){if(!Bd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=Ui;X.Fragment=cS;X.Profiler=fS;X.PureComponent=Vd;X.StrictMode=dS;X.Suspense=gS;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=TS;X.act=hv;X.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=lv({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Fd.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)dv.call(t,l)&&!fv.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:ho,type:e.type,key:i,ref:s,props:r,_owner:o}};X.createContext=function(e){return e={$$typeof:hS,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:pS,_context:e},e.Consumer=e};X.createElement=pv;X.createFactory=function(e){var t=pv.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:mS,render:e}};X.isValidElement=Bd;X.lazy=function(e){return{$$typeof:yS,_payload:{_status:-1,_result:e},_init:bS}};X.memo=function(e,t){return{$$typeof:vS,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=oa.transition;oa.transition={};try{e()}finally{oa.transition=t}};X.unstable_act=hv;X.useCallback=function(e,t){return He.current.useCallback(e,t)};X.useContext=function(e){return He.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return He.current.useDeferredValue(e)};X.useEffect=function(e,t){return He.current.useEffect(e,t)};X.useId=function(){return He.current.useId()};X.useImperativeHandle=function(e,t,n){return He.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return He.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return He.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return He.current.useMemo(e,t)};X.useReducer=function(e,t,n){return He.current.useReducer(e,t,n)};X.useRef=function(e){return He.current.useRef(e)};
vendor: 4,888 bytes, lines 9-25
9X.useState=function(e){return He.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return He.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return He.current.useTransition()};X.version="18.3.1";ov.exports=X;var x=ov.exports;const I=iv(x),ES=lS({__proto__:null,default:I},[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 CS=x,PS=Symbol.for("react.element"),kS=Symbol.for("react.fragment"),MS=Object.prototype.hasOwnProperty,AS=CS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,RS={key:!0,ref:!0,__self:!0,__source:!0};function mv(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)MS.call(t,r)&&!RS.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:PS,type:e,key:s,ref:o,props:i,_owner:AS.current}}vl.Fragment=kS;vl.jsx=mv;vl.jsxs=mv;sv.exports=vl;var b=sv.exports,gv={exports:{}},ft={},vv={exports:{}},yv={};/**
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,N){var V=P.length;P.push(N);e:for(;0<V;){var B=V-1>>>1,W=P[B];if(0<i(W,N))P[B]=N,P[V]=W,V=B;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var N=P[0],V=P.pop();if(V!==N){P[0]=V;e:for(var B=0,W=P.length,Q=W>>>1;B<Q;){var ue=2*(B+1)-1,nt=P[ue],J=ue+1,Et=P[J];if(0>i(nt,V))J<W&&0>i(Et,nt)?(P[B]=Et,P[J]=V,B=J):(P[B]=nt,P[ue]=V,B=ue);else if(J<W&&0>i(Et,V))P[B]=Et,P[J]=V,B=J;else break e}}return N}function i(P,N){var V=P.sortIndex-N.sortIndex;return V!==0?V:P.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,f=3,m=!1,v=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(P){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=P)r(u),N.sortIndex=N.expirationTime,t(l,N);else break;N=n(u)}}function S(P){if(y=!1,h(P),!v)if(n(l)!==null)v=!0,j(T);else{var N=n(u);N!==null&&F(S,N.startTime-P)}}function T(P,N){v=!1,y&&(y=!1,g(C),C=-1),m=!0;var V=f;try{for(h(N),d=n(l);d!==null&&(!(d.expirationTime>N)||P&&!R());){var B=d.callback;if(typeof B=="function"){d.callback=null,f=d.priorityLevel;var W=B(d.expirationTime<=N);N=e.unstable_now(),typeof W=="function"?d.callback=W:d===n(l)&&r(l),h(N)}else r(l);d=n(l)}if(d!==null)var Q=!0;else{var ue=n(u);ue!==null&&F(S,ue.startTime-N),Q=!1}return Q}finally{d=null,f=V,m=!1}}var E=!1,k=null,C=-1,A=5,M=-1;function R(){return!(e.unstable_now()-M<A)}function L(){if(k!==null){var P=e.unstable_now();M=P;var N=!0;try{N=k(!0,P)}finally{N?z():(E=!1,k=null)}}else E=!1}var z;if(typeof p=="function")z=function(){p(L)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,$=D.port2;D.port1.onmessage=L,z=function(){$.postMessage(null)}}else z=function(){w(L,0)};function j(P){k=P,E||(E=!0,z())}function F(P,N){C=w(function(){P(e.unstable_now())},N)}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(){v||m||(v=!0,j(T))},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"):A=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(P){switch(f){case 1:case 2:case 3:var N=3;break;default:N=f}var V=f;f=N;try{return P()}finally{f=V}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,N){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var V=f;f=P;try{return N()}finally{f=V}},e.unstable_scheduleCallback=function(P,N,V){var B=e.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?B+V:B):V=B,P){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}
vendor: 4,614 bytes, lines 25-33
25return W=V+W,P={id:c++,callback:N,priorityLevel:P,startTime:V,expirationTime:W,sortIndex:-1},V>B?(P.sortIndex=V,t(u,P),n(l)===null&&P===n(u)&&(y?(g(C),C=-1):y=!0,F(S,V-B))):(P.sortIndex=W,t(l,P),v||m||(v=!0,j(T))),P},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(P){var N=f;return function(){var V=f;f=N;try{return P.apply(this,arguments)}finally{f=V}}}})(yv);vv.exports=yv;var NS=vv.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 LS=x,dt=NS;function _(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 wv=new Set,Ds={};function Br(e,t){Li(e,t),Li(e+"Capture",t)}function Li(e,t){for(Ds[e]=t,e=0;e<t.length;e++)wv.add(t[e])}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rc=Object.prototype.hasOwnProperty,OS=/^[: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]*$/,Fp={},Bp={};function IS(e){return rc.call(Bp,e)?!0:rc.call(Fp,e)?!1:OS.test(e)?Bp[e]=!0:(Fp[e]=!0,!1)}function DS(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 jS(e,t,n,r){if(t===null||typeof t>"u"||DS(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ge(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var Le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Le[e]=new Ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Le[t]=new Ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Le[e]=new Ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Le[e]=new Ge(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Le[e]=new Ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Le[e]=new Ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Le[e]=new Ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Le[e]=new Ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Le[e]=new Ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var $d=/[\-:]([a-z])/g;function Ud(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace($d,Ud);Le[t]=new Ge(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace($d,Ud);Le[t]=new Ge(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($d,Ud);Le[t]=new Ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Le[e]=new Ge(e,1,!1,e.toLowerCase(),null,!1,!1)});Le.xlinkHref=new Ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Le[e]=new Ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function Wd(e,t,n,r){var i=Le.hasOwnProperty(t)?Le[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(jS(t,n,i,r)&&(n=null),r||i===null?IS(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var bn=LS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Lo=Symbol.for("react.element"),Qr=Symbol.for("react.portal"),qr=Symbol.for("react.fragment"),Hd=Symbol.for("react.strict_mode"),ic=Symbol.for("react.profiler"),xv=Symbol.for("react.provider"),Sv=Symbol.for("react.context"),Gd=Symbol.for("react.forward_ref"),sc=Symbol.for("react.suspense"),oc=Symbol.for("react.suspense_list"),Kd=Symbol.for("react.memo"),On=Symbol.for("react.lazy"),bv=Symbol.for("react.offscreen"),$p=Symbol.iterator;function ns(e){return e===null||typeof e!="object"?null:(e=$p&&e[$p]||e["@@iterator"],typeof e=="function"?e:null)}var pe=Object.assign,nu;function hs(e){if(nu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);nu=t&&t[1]||""}return`
34`+nu+e}var ru=!1;function iu(e,t){if(!e||ru)return"";ru=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
35`),s=r.stack.split(`
36`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=`
37`+i[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{ru=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?hs(e):""}function _S(e){switch(e.tag){case 5:return hs(e.type);case 16:return hs("Lazy");case 13:return hs("Suspense");case 19:return hs("SuspenseList");case 0:case 2:case 15:return e=iu(e.type,!1),e;case 11:return e=iu(e.type.render,!1),e;case 1:return e=iu(e.type,!0),e;default:return""}}function ac(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case qr:return"Fragment";case Qr:return"Portal";case ic:return"Profiler";case Hd:return"StrictMode";case sc:return"Suspense";case oc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Sv:return(e.displayName||"Context")+".Consumer";case xv:return(e._context.displayName||"Context")+".Provider";case Gd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Kd:return t=e.displayName||null,t!==null?t:ac(e.type)||"Memo";case On:t=e._payload,e=e._init;try{return ac(e(t))}catch{}}return null}function VS(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 ac(t);case 8:return t===Hd?"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 tr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Tv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function zS(e){var t=Tv(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.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 Oo(e){e._valueTracker||(e._valueTracker=zS(e))}function Ev(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Tv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ca(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 lc(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Up(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tr(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 Cv(e,t){t=t.checked,t!=null&&Wd(e,"checked",t,!1)}function uc(e,t){Cv(e,t);var n=tr(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")?cc(e,t.type,n):t.hasOwnProperty("defaultValue")&&cc(e,t.type,tr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Wp(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 cc(e,t,n){(t!=="number"||Ca(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ms=Array.isArray;function pi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+tr(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function dc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(_(91));return pe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Hp(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(_(92));if(ms(n)){if(1<n.length)throw Error(_(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:tr(n)}}function Pv(e,t){var n=tr(t.value),r=tr(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 Gp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function kv(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 fc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?kv(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Io,Mv=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Io=Io||document.createElement("div"),Io.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Io.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function js(e,t){if(t){var n=e.firstChild;
vendor: 8,865 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ws={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},FS=["Webkit","ms","Moz","O"];Object.keys(ws).forEach(function(e){FS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ws[t]=ws[e]})});function Av(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ws.hasOwnProperty(e)&&ws[e]?(""+t).trim():t+"px"}function Rv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Av(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var BS=pe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function pc(e,t){if(t){if(BS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function hc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var mc=null;function Yd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gc=null,hi=null,mi=null;function Kp(e){if(e=vo(e)){if(typeof gc!="function")throw Error(_(280));var t=e.stateNode;t&&(t=bl(t),gc(e.stateNode,e.type,t))}}function Nv(e){hi?mi?mi.push(e):mi=[e]:hi=e}function Lv(){if(hi){var e=hi,t=mi;if(mi=hi=null,Kp(e),t)for(e=0;e<t.length;e++)Kp(t[e])}}function Ov(e,t){return e(t)}function Iv(){}var su=!1;function Dv(e,t,n){if(su)return e(t,n);su=!0;try{return Ov(e,t,n)}finally{su=!1,(hi!==null||mi!==null)&&(Iv(),Lv())}}function _s(e,t){var n=e.stateNode;if(n===null)return null;var r=bl(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(_(231,t,typeof n));return n}var vc=!1;if(pn)try{var rs={};Object.defineProperty(rs,"passive",{get:function(){vc=!0}}),window.addEventListener("test",rs,rs),window.removeEventListener("test",rs,rs)}catch{vc=!1}function $S(e,t,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var xs=!1,Pa=null,ka=!1,yc=null,US={onError:function(e){xs=!0,Pa=e}};function WS(e,t,n,r,i,s,o,a,l){xs=!1,Pa=null,$S.apply(US,arguments)}function HS(e,t,n,r,i,s,o,a,l){if(WS.apply(this,arguments),xs){if(xs){var u=Pa;xs=!1,Pa=null}else throw Error(_(198));ka||(ka=!0,yc=u)}}function $r(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 jv(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 Yp(e){if($r(e)!==e)throw Error(_(188))}function GS(e){var t=e.alternate;if(!t){if(t=$r(e),t===null)throw Error(_(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Yp(i),e;if(s===r)return Yp(i),t;s=s.sibling}throw Error(_(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,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){for(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)throw Error(_(189))}}if(n.alternate!==r)throw Error(_(190))}if(n.tag!==3)throw Error(_(188));return n.stateNode.current===n?e:t}function _v(e){return e=GS(e),e!==null?Vv(e):null}function Vv(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Vv(e);if(t!==null)return t;e=e.sibling}return null}var zv=dt.unstable_scheduleCallback,Xp=dt.unstable_cancelCallback,KS=dt.unstable_shouldYield,YS=dt.unstable_requestPaint,ye=dt.unstable_now,XS=dt.unstable_getCurrentPriorityLevel,Xd=dt.unstable_ImmediatePriority,Fv=dt.unstable_UserBlockingPriority,Ma=dt.unstable_NormalPriority,QS=dt.unstable_LowPriority,Bv=dt.unstable_IdlePriority,yl=null,Yt=null;function qS(e){if(Yt&&typeof Yt.onCommitFiberRoot=="function")try{Yt.onCommitFiberRoot(yl,e,void 0,(e.current.flags&128)===128)}catch{}}var Lt=Math.clz32?Math.clz32:eb,ZS=Math.log,JS=Math.LN2;function eb(e){return e>>>=0,e===0?32:31-(ZS(e)/JS|0)|0}var Do=64,jo=4194304;function gs(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,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=gs(a):(s&=o,s!==0&&(r=gs(s)))}else o=n&~i,o!==0?r=gs(o):s!==0&&(r=gs(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&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-Lt(t),i=1<<n,r|=e[n],t&=~i;return r}function tb(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 nb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-Lt(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=tb(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function wc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function $v(){var e=Do;return Do<<=1,!(Do&4194240)&&(Do=64),e}function ou(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Lt(t),e[t]=n}function rb(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Lt(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function Qd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Lt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ee=0;function Uv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Wv,qd,Hv,Gv,Kv,xc=!1,_o=[],Gn=null,Kn=null,Yn=null,Vs=new Map,zs=new Map,Dn=[],ib="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 Qp(e,t){switch(e){case"focusin":case"focusout":Gn=null;break;case"dragenter":case"dragleave":Kn=null;break;case"mouseover":case"mouseout":Yn=null;break;case"pointerover":case"pointerout":Vs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zs.delete(t.pointerId)}}function is(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=vo(t),t!==null&&qd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}
vendor: 12,981 bytes, line 37
37function sb(e,t,n,r,i){switch(t){case"focusin":return Gn=is(Gn,e,t,n,r,i),!0;case"dragenter":return Kn=is(Kn,e,t,n,r,i),!0;case"mouseover":return Yn=is(Yn,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Vs.set(s,is(Vs.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,zs.set(s,is(zs.get(s)||null,e,t,n,r,i)),!0}return!1}function Yv(e){var t=wr(e.target);if(t!==null){var n=$r(t);if(n!==null){if(t=n.tag,t===13){if(t=jv(n),t!==null){e.blockedOn=t,Kv(e.priority,function(){Hv(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 aa(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Sc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);mc=r,n.target.dispatchEvent(r),mc=null}else return t=vo(n),t!==null&&qd(t),e.blockedOn=n,!1;t.shift()}return!0}function qp(e,t,n){aa(e)&&n.delete(t)}function ob(){xc=!1,Gn!==null&&aa(Gn)&&(Gn=null),Kn!==null&&aa(Kn)&&(Kn=null),Yn!==null&&aa(Yn)&&(Yn=null),Vs.forEach(qp),zs.forEach(qp)}function ss(e,t){e.blockedOn===t&&(e.blockedOn=null,xc||(xc=!0,dt.unstable_scheduleCallback(dt.unstable_NormalPriority,ob)))}function Fs(e){function t(i){return ss(i,e)}if(0<_o.length){ss(_o[0],e);for(var n=1;n<_o.length;n++){var r=_o[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Gn!==null&&ss(Gn,e),Kn!==null&&ss(Kn,e),Yn!==null&&ss(Yn,e),Vs.forEach(t),zs.forEach(t),n=0;n<Dn.length;n++)r=Dn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Dn.length&&(n=Dn[0],n.blockedOn===null);)Yv(n),n.blockedOn===null&&Dn.shift()}var gi=bn.ReactCurrentBatchConfig,Ra=!0;function ab(e,t,n,r){var i=ee,s=gi.transition;gi.transition=null;try{ee=1,Zd(e,t,n,r)}finally{ee=i,gi.transition=s}}function lb(e,t,n,r){var i=ee,s=gi.transition;gi.transition=null;try{ee=4,Zd(e,t,n,r)}finally{ee=i,gi.transition=s}}function Zd(e,t,n,r){if(Ra){var i=Sc(e,t,n,r);if(i===null)gu(e,t,r,Na,n),Qp(e,r);else if(sb(i,e,t,n,r))r.stopPropagation();else if(Qp(e,r),t&4&&-1<ib.indexOf(e)){for(;i!==null;){var s=vo(i);if(s!==null&&Wv(s),s=Sc(e,t,n,r),s===null&&gu(e,t,r,Na,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else gu(e,t,r,null,n)}}var Na=null;function Sc(e,t,n,r){if(Na=null,e=Yd(r),e=wr(e),e!==null)if(t=$r(e),t===null)e=null;else if(n=t.tag,n===13){if(e=jv(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 Na=e,null}function Xv(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(XS()){case Xd:return 1;case Fv:return 4;case Ma:case QS:return 16;case Bv:return 536870912;default:return 16}default:return 16}}var $n=null,Jd=null,la=null;function Qv(){if(la)return la;var e,t=Jd,n=t.length,r,i="value"in $n?$n.value:$n.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return la=i.slice(e,1<r?1-r:void 0)}function ua(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 Zp(){return!1}function pt(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Vo:Zp,this.isPropagationStopped=Zp,this}return pe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=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 Wi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ef=pt(Wi),go=pe({},Wi,{view:0,detail:0}),ub=pt(go),au,lu,os,wl=pe({},go,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tf,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!==os&&(os&&e.type==="mousemove"?(au=e.screenX-os.screenX,lu=e.screenY-os.screenY):lu=au=0,os=e),au)},movementY:function(e){return"movementY"in e?e.movementY:lu}}),Jp=pt(wl),cb=pe({},wl,{dataTransfer:0}),db=pt(cb),fb=pe({},go,{relatedTarget:0}),uu=pt(fb),pb=pe({},Wi,{animationName:0,elapsedTime:0,pseudoElement:0}),hb=pt(pb),mb=pe({},Wi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gb=pt(mb),vb=pe({},Wi,{data:0}),eh=pt(vb),yb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wb={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"},xb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=xb[e])?!!t[e]:!1}function tf(){return Sb}var bb=pe({},go,{key:function(e){if(e.key){var t=yb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ua(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tf,charCode:function(e){return e.type==="keypress"?ua(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ua(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Tb=pt(bb),Eb=pe({},wl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),th=pt(Eb),Cb=pe({},go,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tf}),Pb=pt(Cb),kb=pe({},Wi,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mb=pt(kb),Ab=pe({},wl,{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}),Rb=pt(Ab),Nb=[9,13,27,32],nf=pn&&"CompositionEvent"in window,Ss=null;pn&&"documentMode"in document&&(Ss=document.documentMode);var Lb=pn&&"TextEvent"in window&&!Ss,qv=pn&&(!nf||Ss&&8<Ss&&11>=Ss),nh=" ",rh=!1;function Zv(e,t){switch(e){case"keyup":return Nb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zr=!1;function Ob(e,t){switch(e){case"compositionend":return Jv(t);case"keypress":return t.which!==32?null:(rh=!0,nh);case"textInput":return e=t.data,e===nh&&rh?null:e;default:return null}}function Ib(e,t){if(Zr)return e==="compositionend"||!nf&&Zv(e,t)?(e=Qv(),la=Jd=$n=null,Zr=!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 qv&&t.locale!=="ko"?null:t.data;default:return null}}var Db={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 ih(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Db[e.type]:t==="textarea"}function ey(e,t,n,r){Nv(r),t=La(t,"onChange"),0<t.length&&(n=new ef("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var bs=null,Bs=null;function jb(e){dy(e,0)}function xl(e){var t=ti(e);if(Ev(t))return e}function _b(e,t){if(e==="change")return t}var ty=!1;if(pn){var cu;if(pn){var du="oninput"in document;if(!du){var sh=document.createElement("div");sh.setAttribute("oninput","return;"),du=typeof sh.oninput=="function"}cu=du}else cu=!1;ty=cu&&(!document.documentMode||9<document.documentMode)}function oh(){bs&&(bs.detachEvent("onpropertychange",ny),Bs=bs=null)}function ny(e){if(e.propertyName==="value"&&xl(Bs)){var t=[];ey(t,Bs,e,Yd(e)),Dv(jb,t)}}function Vb(e,t,n){e==="focusin"?(oh(),bs=t,Bs=n,bs.attachEvent("onpropertychange",ny)):e==="focusout"&&oh()}function zb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return xl(Bs)}function Fb(e,t){if(e==="click")return xl(t)}function Bb(e,t){if(e==="input"||e==="change")return xl(t)}function $b(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var It=typeof Object.is=="function"?Object.is:$b;function $s(e,t){if(It(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!rc.call(t,i)||!It(e[i],t[i]))return!1}return!0}function ah(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lh(e,t){var n=ah(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=ah(n)}}function ry(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ry(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function iy(){for(var e=window,t=Ca();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ca(e.document)}return t}function rf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Ub(e){var t=iy(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ry(n.ownerDocument.documentElement,n)){if(r!==null&&rf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=lh(n,s);var o=lh(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>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 Wb=pn&&"documentMode"in document&&11>=document.documentMode,Jr=null,bc=null,Ts=null,Tc=!1;function uh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Tc||Jr==null||Jr!==Ca(r)||(r=Jr,"selectionStart"in r&&rf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Ts&&$s(Ts,r)||(Ts=r,r=La(bc,"onSelect"),0<r.length&&(t=new ef("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Jr)))}function zo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ei={animationend:zo("Animation","AnimationEnd"),animationiteration:zo("Animation","AnimationIteration"),animationstart:zo("Animation","AnimationStart"),transitionend:zo("Transition","TransitionEnd")},fu={},sy={};pn&&(sy=document.createElement("div").style,"AnimationEvent"in window||(delete ei.animationend.animation,delete ei.animationiteration.animation,delete ei.animationstart.animation),"TransitionEvent"in window||delete ei.transitionend.transition);function Sl(e){if(fu[e])return fu[e];if(!ei[e])return e;var t=ei[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in sy)return fu[e]=t[n];return e}var oy=Sl("animationend"),ay=Sl("animationiteration"),ly=Sl("animationstart"),uy=Sl("transitionend"),cy=new Map,ch="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 ur(e,t){cy.set(e,t),Br(t,[e])}for(var pu=0;pu<ch.length;pu++){var hu=ch[pu],Hb=hu.toLowerCase(),Gb=hu[0].toUpperCase()+hu.slice(1);ur(Hb,"on"+Gb)}ur(oy,"onAnimationEnd");ur(ay,"onAnimationIteration");ur(ly,"onAnimationStart");ur("dblclick","onDoubleClick");ur("focusin","onFocus");ur("focusout","onBlur");ur(uy,"onTransitionEnd");Li("onMouseEnter",["mouseout","mouseover"]);Li("onMouseLeave",["mouseout","mouseover"]);Li("onPointerEnter",["pointerout","pointerover"]);Li("onPointerLeave",["pointerout","pointerover"]);Br("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Br("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Br("onBeforeInput",["compositionend","keypress","textInput","paste"]);Br("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Br("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Br("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vs="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(" "),Kb=new Set("cancel close invalid load scroll toggle".split(" ").concat(vs));function dh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,HS(r,t,void 0,e),e.currentTarget=null}function dy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;dh(i,a,u),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;dh(i,a,u),s=l}}}if(ka)throw e=yc,ka=!1,yc=null,e}function se(e,t){var n=t[Mc];n===void 0&&(n=t[Mc]=new Set);var r=e+"__bubble";n.has(r)||(fy(t,e,2,!1),n.add(r))}function mu(e,t,n){var r=0;t&&(r|=4),fy(n,e,r,t)}var Fo="_reactListening"+Math.random().toString(36).slice(2);function Us(e){if(!e[Fo]){e[Fo]=!0,wv.forEach(function(n){n!=="selectionchange"&&(Kb.has(n)||mu(n,!1,e),mu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Fo]||(t[Fo]=!0,mu("selectionchange",!1,t))}}function fy(e,t,n,r){switch(Xv(t)){case 1:var i=ab;break;case 4:i=lb;break;default:i=Zd}n=i.bind(null,t,n,e),i=void 0,!vc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function gu(e,t,n,r,i){var s=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;
vendor: 4,719 bytes, lines 37-38
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=wr(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}Dv(function(){var u=s,c=Yd(n),d=[];e:{var f=cy.get(e);if(f!==void 0){var m=ef,v=e;switch(e){case"keypress":if(ua(n)===0)break e;case"keydown":case"keyup":m=Tb;break;case"focusin":v="focus",m=uu;break;case"focusout":v="blur",m=uu;break;case"beforeblur":case"afterblur":m=uu;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":m=Jp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=db;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=Pb;break;case oy:case ay:case ly:m=hb;break;case uy:m=Mb;break;case"scroll":m=ub;break;case"wheel":m=Rb;break;case"copy":case"cut":case"paste":m=gb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=th}var y=(t&4)!==0,w=!y&&e==="scroll",g=y?f!==null?f+"Capture":null:f;y=[];for(var p=u,h;p!==null;){h=p;var S=h.stateNode;if(h.tag===5&&S!==null&&(h=S,g!==null&&(S=_s(p,g),S!=null&&y.push(Ws(p,S,h)))),w)break;p=p.return}0<y.length&&(f=new m(f,v,null,n,c),d.push({event:f,listeners:y}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",f&&n!==mc&&(v=n.relatedTarget||n.fromElement)&&(wr(v)||v[hn]))break e;if((m||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,m?(v=n.relatedTarget||n.toElement,m=u,v=v?wr(v):null,v!==null&&(w=$r(v),v!==w||v.tag!==5&&v.tag!==6)&&(v=null)):(m=null,v=u),m!==v)){if(y=Jp,S="onMouseLeave",g="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(y=th,S="onPointerLeave",g="onPointerEnter",p="pointer"),w=m==null?f:ti(m),h=v==null?f:ti(v),f=new y(S,p+"leave",m,n,c),f.target=w,f.relatedTarget=h,S=null,wr(c)===u&&(y=new y(g,p+"enter",v,n,c),y.target=h,y.relatedTarget=w,S=y),w=S,m&&v)t:{for(y=m,g=v,p=0,h=y;h;h=Xr(h))p++;for(h=0,S=g;S;S=Xr(S))h++;for(;0<p-h;)y=Xr(y),p--;for(;0<h-p;)g=Xr(g),h--;for(;p--;){if(y===g||g!==null&&y===g.alternate)break t;y=Xr(y),g=Xr(g)}y=null}else y=null;m!==null&&fh(d,f,m,y,!1),v!==null&&w!==null&&fh(d,w,v,y,!0)}}e:{if(f=u?ti(u):window,m=f.nodeName&&f.nodeName.toLowerCase(),m==="select"||m==="input"&&f.type==="file")var T=_b;else if(ih(f))if(ty)T=Bb;else{T=zb;var E=Vb}else(m=f.nodeName)&&m.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(T=Fb);if(T&&(T=T(e,u))){ey(d,T,n,c);break e}E&&E(e,f,u),e==="focusout"&&(E=f._wrapperState)&&E.controlled&&f.type==="number"&&cc(f,"number",f.value)}switch(E=u?ti(u):window,e){case"focusin":(ih(E)||E.contentEditable==="true")&&(Jr=E,bc=u,Ts=null);break;case"focusout":Ts=bc=Jr=null;break;case"mousedown":Tc=!0;break;case"contextmenu":case"mouseup":case"dragend":Tc=!1,uh(d,n,c);break;case"selectionchange":if(Wb)break;case"keydown":case"keyup":uh(d,n,c)}var k;if(nf)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else Zr?Zv(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(qv&&n.locale!=="ko"&&(Zr||C!=="onCompositionStart"?C==="onCompositionEnd"&&Zr&&(k=Qv()):($n=c,Jd="value"in $n?$n.value:$n.textContent,Zr=!0)),E=La(u,C),0<E.length&&(C=new eh(C,e,null,n,c),d.push({event:C,listeners:E}),k?C.data=k:(k=Jv(n),k!==null&&(C.data=k)))),(k=Lb?Ob(e,n):Ib(e,n))&&(u=La(u,"onBeforeInput"),0<u.length&&(c=new eh("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=k))}dy(d,t)})}function Ws(e,t,n){return{instance:e,listener:t,currentTarget:n}}function La(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=_s(e,n),s!=null&&r.unshift(Ws(e,s,i)),s=_s(e,t),s!=null&&r.push(Ws(e,s,i))),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 fh(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=_s(n,s),l!=null&&o.unshift(Ws(n,l,a))):i||(l=_s(n,s),l!=null&&o.push(Ws(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Yb=/\r\n?/g,Xb=/\u0000|\uFFFD/g;function ph(e){return(typeof e=="string"?e:""+e).replace(Yb,`
38`).replace(Xb,"")}
vendor: 2,021 bytes, line 38
38function Bo(e,t,n){if(t=ph(t),ph(e)!==t&&n)throw Error(_(425))}function Oa(){}var Ec=null,Cc=null;function Pc(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 kc=typeof setTimeout=="function"?setTimeout:void 0,Qb=typeof clearTimeout=="function"?clearTimeout:void 0,hh=typeof Promise=="function"?Promise:void 0,qb=typeof queueMicrotask=="function"?queueMicrotask:typeof hh<"u"?function(e){return hh.resolve(null).then(e).catch(Zb)}:kc;function Zb(e){setTimeout(function(){throw e})}function vu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Fs(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Fs(t)}function Xn(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 mh(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 Hi=Math.random().toString(36).slice(2),Ht="__reactFiber$"+Hi,Hs="__reactProps$"+Hi,hn="__reactContainer$"+Hi,Mc="__reactEvents$"+Hi,Jb="__reactListeners$"+Hi,eT="__reactHandles$"+Hi;function wr(e){var t=e[Ht];if(t)return t;for(var n=e.parentNode;n;){if(t=n[hn]||n[Ht]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=mh(e);e!==null;){if(n=e[Ht])return n;e=mh(e)}return t}e=n,n=e.parentNode}return null}function vo(e){return e=e[Ht]||e[hn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ti(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(_(33))}function bl(e){return e[Hs]||null}var Ac=[],ni=-1;function cr(e){return{current:e}}function oe(e){0>ni||(e.current=Ac[ni],Ac[ni]=null,ni--)}function ne(e,t){ni++,Ac[ni]=e.current,e.current=t}var nr={}
vendor: 14,951 bytes, line 38
38,ze=cr(nr),qe=cr(!1),Or=nr;function Oi(e,t){var n=e.type.contextTypes;if(!n)return nr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ze(e){return e=e.childContextTypes,e!=null}function Ia(){oe(qe),oe(ze)}function gh(e,t,n){if(ze.current!==nr)throw Error(_(168));ne(ze,t),ne(qe,n)}function py(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(_(108,VS(e)||"Unknown",i));return pe({},n,r)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nr,Or=ze.current,ne(ze,e),ne(qe,qe.current),!0}function vh(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=py(e,t,Or),r.__reactInternalMemoizedMergedChildContext=e,oe(qe),oe(ze),ne(ze,e)):oe(qe),ne(qe,n)}var un=null,Tl=!1,yu=!1;function hy(e){un===null?un=[e]:un.push(e)}function tT(e){Tl=!0,hy(e)}function dr(){if(!yu&&un!==null){yu=!0;var e=0,t=ee;try{var n=un;for(ee=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}un=null,Tl=!1}catch(i){throw un!==null&&(un=un.slice(e+1)),zv(Xd,dr),i}finally{ee=t,yu=!1}}return null}var ri=[],ii=0,ja=null,_a=0,vt=[],yt=0,Ir=null,cn=1,dn="";function mr(e,t){ri[ii++]=_a,ri[ii++]=ja,ja=e,_a=t}function my(e,t,n){vt[yt++]=cn,vt[yt++]=dn,vt[yt++]=Ir,Ir=e;var r=cn;e=dn;var i=32-Lt(r)-1;r&=~(1<<i),n+=1;var s=32-Lt(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,cn=1<<32-Lt(t)+i|n<<i|r,dn=s+e}else cn=1<<s|n<<i|r,dn=e}function sf(e){e.return!==null&&(mr(e,1),my(e,1,0))}function of(e){for(;e===ja;)ja=ri[--ii],ri[ii]=null,_a=ri[--ii],ri[ii]=null;for(;e===Ir;)Ir=vt[--yt],vt[yt]=null,dn=vt[--yt],vt[yt]=null,cn=vt[--yt],vt[yt]=null}var ut=null,lt=null,ae=!1,Nt=null;function gy(e,t){var n=wt(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 yh(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,ut=e,lt=Xn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ut=e,lt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ir!==null?{id:cn,overflow:dn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=wt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ut=e,lt=null,!0):!1;default:return!1}}function Rc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Nc(e){if(ae){var t=lt;if(t){var n=t;if(!yh(e,t)){if(Rc(e))throw Error(_(418));t=Xn(n.nextSibling);var r=ut;t&&yh(e,t)?gy(r,n):(e.flags=e.flags&-4097|2,ae=!1,ut=e)}}else{if(Rc(e))throw Error(_(418));e.flags=e.flags&-4097|2,ae=!1,ut=e}}}function wh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ut=e}function $o(e){if(e!==ut)return!1;if(!ae)return wh(e),ae=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Pc(e.type,e.memoizedProps)),t&&(t=lt)){if(Rc(e))throw vy(),Error(_(418));for(;t;)gy(e,t),t=Xn(t.nextSibling)}if(wh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(_(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){lt=Xn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}lt=null}}else lt=ut?Xn(e.stateNode.nextSibling):null;return!0}function vy(){for(var e=lt;e;)e=Xn(e.nextSibling)}function Ii(){lt=ut=null,ae=!1}function af(e){Nt===null?Nt=[e]:Nt.push(e)}var nT=bn.ReactCurrentBatchConfig;function as(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(_(309));var r=n.stateNode}if(!r)throw Error(_(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(_(284));if(!n._owner)throw Error(_(290,e))}return e}function Uo(e,t){throw e=Object.prototype.toString.call(t),Error(_(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function xh(e){var t=e._init;return t(e._payload)}function yy(e){function t(g,p){if(e){var h=g.deletions;h===null?(g.deletions=[p],g.flags|=16):h.push(p)}}function n(g,p){if(!e)return null;for(;p!==null;)t(g,p),p=p.sibling;return null}function r(g,p){for(g=new Map;p!==null;)p.key!==null?g.set(p.key,p):g.set(p.index,p),p=p.sibling;return g}function i(g,p){return g=Jn(g,p),g.index=0,g.sibling=null,g}function s(g,p,h){return g.index=h,e?(h=g.alternate,h!==null?(h=h.index,h<p?(g.flags|=2,p):h):(g.flags|=2,p)):(g.flags|=1048576,p)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,p,h,S){return p===null||p.tag!==6?(p=Cu(h,g.mode,S),p.return=g,p):(p=i(p,h),p.return=g,p)}function l(g,p,h,S){var T=h.type;return T===qr?c(g,p,h.props.children,S,h.key):p!==null&&(p.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===On&&xh(T)===p.type)?(S=i(p,h.props),S.ref=as(g,p,h),S.return=g,S):(S=ga(h.type,h.key,h.props,null,g.mode,S),S.ref=as(g,p,h),S.return=g,S)}function u(g,p,h,S){return p===null||p.tag!==4||p.stateNode.containerInfo!==h.containerInfo||p.stateNode.implementation!==h.implementation?(p=Pu(h,g.mode,S),p.return=g,p):(p=i(p,h.children||[]),p.return=g,p)}function c(g,p,h,S,T){return p===null||p.tag!==7?(p=Ar(h,g.mode,S,T),p.return=g,p):(p=i(p,h),p.return=g,p)}function d(g,p,h){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Cu(""+p,g.mode,h),p.return=g,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Lo:return h=ga(p.type,p.key,p.props,null,g.mode,h),h.ref=as(g,null,p),h.return=g,h;case Qr:return p=Pu(p,g.mode,h),p.return=g,p;case On:var S=p._init;return d(g,S(p._payload),h)}if(ms(p)||ns(p))return p=Ar(p,g.mode,h,null),p.return=g,p;Uo(g,p)}return null}function f(g,p,h,S){var T=p!==null?p.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return T!==null?null:a(g,p,""+h,S);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Lo:return h.key===T?l(g,p,h,S):null;case Qr:return h.key===T?u(g,p,h,S):null;case On:return T=h._init,f(g,p,T(h._payload),S)}if(ms(h)||ns(h))return T!==null?null:c(g,p,h,S,null);Uo(g,h)}return null}function m(g,p,h,S,T){if(typeof S=="string"&&S!==""||typeof S=="number")return g=g.get(h)||null,a(p,g,""+S,T);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Lo:return g=g.get(S.key===null?h:S.key)||null,l(p,g,S,T);case Qr:return g=g.get(S.key===null?h:S.key)||null,u(p,g,S,T);case On:var E=S._init;return m(g,p,h,E(S._payload),T)}if(ms(S)||ns(S))return g=g.get(h)||null,c(p,g,S,T,null);Uo(p,S)}return null}function v(g,p,h,S){for(var T=null,E=null,k=p,C=p=0,A=null;k!==null&&C<h.length;C++){k.index>C?(A=k,k=null):A=k.sibling;var M=f(g,k,h[C],S);if(M===null){k===null&&(k=A);break}e&&k&&M.alternate===null&&t(g,k),p=s(M,p,C),E===null?T=M:E.sibling=M,E=M,k=A}if(C===h.length)return n(g,k),ae&&mr(g,C),T;if(k===null){for(;C<h.length;C++)k=d(g,h[C],S),k!==null&&(p=s(k,p,C),E===null?T=k:E.sibling=k,E=k);return ae&&mr(g,C),T}for(k=r(g,k);C<h.length;C++)A=m(k,g,C,h[C],S),A!==null&&(e&&A.alternate!==null&&k.delete(A.key===null?C:A.key),p=s(A,p,C),E===null?T=A:E.sibling=A,E=A);return e&&k.forEach(function(R){return t(g,R)}),ae&&mr(g,C),T}function y(g,p,h,S){var T=ns(h);if(typeof T!="function")throw Error(_(150));if(h=T.call(h),h==null)throw Error(_(151));for(var E=T=null,k=p,C=p=0,A=null,M=h.next();k!==null&&!M.done;C++,M=h.next()){k.index>C?(A=k,k=null):A=k.sibling;var R=f(g,k,M.value,S);if(R===null){k===null&&(k=A);break}e&&k&&R.alternate===null&&t(g,k),p=s(R,p,C),E===null?T=R:E.sibling=R,E=R,k=A}if(M.done)return n(g,k),ae&&mr(g,C),T;if(k===null){for(;!M.done;C++,M=h.next())M=d(g,M.value,S),M!==null&&(p=s(M,p,C),E===null?T=M:E.sibling=M,E=M);return ae&&mr(g,C),T}for(k=r(g,k);!M.done;C++,M=h.next())M=m(k,g,C,M.value,S),M!==null&&(e&&M.alternate!==null&&k.delete(M.key===null?C:M.key),p=s(M,p,C),E===null?T=M:E.sibling=M,E=M);return e&&k.forEach(function(L){return t(g,L)}),ae&&mr(g,C),T}function w(g,p,h,S){if(typeof h=="object"&&h!==null&&h.type===qr&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Lo:e:{for(var T=h.key,E=p;E!==null;){if(E.key===T){if(T=h.type,T===qr){if(E.tag===7){n(g,E.sibling),p=i(E,h.props.children),p.return=g,g=p;break e}}else if(E.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===On&&xh(T)===E.type){n(g,E.sibling),p=i(E,h.props),p.ref=as(g,E,h),p.return=g,g=p;break e}n(g,E);break}else t(g,E);E=E.sibling}h.type===qr?(p=Ar(h.props.children,g.mode,S,h.key),p.return=g,g=p):(S=ga(h.type,h.key,h.props,null,g.mode,S),S.ref=as(g,p,h),S.return=g,g=S)}return o(g);case Qr:e:{for(E=h.key;p!==null;){if(p.key===E)if(p.tag===4&&p.stateNode.containerInfo===h.containerInfo&&p.stateNode.implementation===h.implementation){n(g,p.sibling),p=i(p,h.children||[]),p.return=g,g=p;break e}else{n(g,p);break}else t(g,p);p=p.sibling}p=Pu(h,g.mode,S),p.return=g,g=p}return o(g);case On:return E=h._init,w(g,p,E(h._payload),S)}if(ms(h))return v(g,p,h,S);if(ns(h))return y(g,p,h,S);Uo(g,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,p!==null&&p.tag===6?(n(g,p.sibling),p=i(p,h),p.return=g,g=p):(n(g,p),p=Cu(h,g.mode,S),p.return=g,g=p),o(g)):n(g,p)}return w}var Di=yy(!0),wy=yy(!1),Va=cr(null),za=null,si=null,lf=null;function uf(){lf=si=za=null}function cf(e){var t=Va.current;oe(Va),e._currentValue=t}function Lc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function vi(e,t){za=e,lf=si=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Xe=!0),e.firstContext=null)}function bt(e){var t=e._currentValue;if(lf!==e)if(e={context:e,memoizedValue:t,next:null},si===null){if(za===null)throw Error(_(308));si=e,za.dependencies={lanes:0,firstContext:e}}else si=si.next=e;return t}var xr=null;function df(e){xr===null?xr=[e]:xr.push(e)}function xy(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,df(t)):(n.next=i.next,i.next=n),t.interleaved=n,mn(e,r)}function mn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var In=!1;function ff(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Sy(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,q&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,mn(e,n)}return i=r.interleaved,i===null?(t.next=t,df(r)):(t.next=i.next,i.next=t),r.interleaved=t,mn(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,Qd(e,n)}}function Sh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=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};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,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 Fa(e,t,n,r){var i=e.updateQueue;In=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==o&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(s!==null){var d=i.baseState;o=0,c=u=l=null,a=s;do{var f=a.lane,m=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,y=a;switch(f=t,m=n,y.tag){case 1:if(v=y.payload,typeof v=="function"){d=v.call(m,d,f);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=y.payload,f=typeof v=="function"?v.call(m,d,f):v,f==null)break e;d=pe({},d,f);break e;case 2:In=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else m={eventTime:m,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=m,l=d):c=c.next=m,o|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(c===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);jr|=o,e.lanes=o,e.memoizedState=d}}function bh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(_(191,i));i.call(r)}}}var yo={},Xt=cr(yo),Gs=cr(yo),Ks=cr(yo);function Sr(e){if(e===yo)throw Error(_(174));return e}function pf(e,t){switch(ne(Ks,t),ne(Gs,e),ne(Xt,yo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=fc(t,e)}oe(Xt),ne(Xt,t)}function ji(){oe(Xt),oe(Gs),oe(Ks)}function by(e){Sr(Ks.current);var t=Sr(Xt.current),n=fc(t,e.type);t!==n&&(ne(Gs,e),ne(Xt,n))}function hf(e){Gs.current===e&&(oe(Xt),oe(Gs))}var ce=cr(0);function Ba(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 wu=[];function mf(){for(var e=0;e<wu.length;e++)wu[e]._workInProgressVersionPrimary=null;wu.length=0}var da=bn.ReactCurrentDispatcher,xu=bn.ReactCurrentBatchConfig,Dr=0,fe=null,Te=null,Pe=null,$a=!1,Es=!1,Ys=0,rT=0;function Ie(){throw Error(_(321))}function gf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!It(e[n],t[n]))return!1;return!0}function vf(e,t,n,r,i,s){if(Dr=s,fe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,da.current=e===null||e.memoizedState===null?aT
vendor: 4,412 bytes, line 38
38:lT,e=n(r,i),Es){s=0;do{if(Es=!1,Ys=0,25<=s)throw Error(_(301));s+=1,Pe=Te=null,t.updateQueue=null,da.current=uT,e=n(r,i)}while(Es)}if(da.current=Ua,t=Te!==null&&Te.next!==null,Dr=0,Pe=Te=fe=null,$a=!1,t)throw Error(_(300));return e}function yf(){var e=Ys!==0;return Ys=0,e}function Bt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?fe.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function Tt(){if(Te===null){var e=fe.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Pe===null?fe.memoizedState:Pe.next;if(t!==null)Pe=t,Te=e;else{if(e===null)throw Error(_(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},Pe===null?fe.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function Xs(e,t){return typeof t=="function"?t(e):t}function Su(e){var t=Tt(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=Te,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,u=s;do{var c=u.lane;if((Dr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,o=r):l=l.next=d,fe.lanes|=c,jr|=c}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=a,It(r,t.memoizedState)||(Xe=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,fe.lanes|=s,jr|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function bu(e){var t=Tt(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);It(s,t.memoizedState)||(Xe=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Ty(){}function Ey(e,t){var n=fe,r=Tt(),i=t(),s=!It(r.memoizedState,i);if(s&&(r.memoizedState=i,Xe=!0),r=r.queue,wf(ky.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,Qs(9,Py.bind(null,n,r,i,t),void 0,null),ke===null)throw Error(_(349));Dr&30||Cy(n,t,i)}return i}function Cy(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=fe.updateQueue,t===null?(t={lastEffect:null,stores:null},fe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Py(e,t,n,r){t.value=n,t.getSnapshot=r,My(t)&&Ay(e)}function ky(e,t,n){return n(function(){My(t)&&Ay(e)})}function My(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!It(e,n)}catch{return!0}}function Ay(e){var t=mn(e,1);t!==null&&Ot(t,e,1,-1)}function Th(e){var t=Bt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xs,lastRenderedState:e},t.queue=e,e=e.dispatch=oT.bind(null,fe,e),[t.memoizedState,e]}function Qs(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=fe.updateQueue,t===null?(t={lastEffect:null,stores:null},fe.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 Ry(){return Tt().memoizedState}function fa(e,t,n,r){var i=Bt();fe.flags|=e,i.memoizedState=Qs(1|t,n,void 0,r===void 0?null:r)}function El(e,t,n,r){var i=Tt();r=r===void 0?null:r;var s=void 0;if(Te!==null){var o=Te.memoizedState;if(s=o.destroy,r!==null&&gf(r,o.deps)){i.memoizedState=Qs(t,n,s,r);return}}fe.flags|=e,i.memoizedState=Qs(1|t,n,s,r)}function Eh(e,t){return fa(8390656,8,e,t)}function wf(e,t){return El(2048,8,e,t)}function Ny(e,t){return El(4,2,e,t)}function Ly(e,t){return El(4,4,e,t)}function Oy(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 Iy(e,t,n){return n=n!=null?n.concat([e]):null,El(4,4,Oy.bind(null,t,e),n)}function xf(){}function Dy(e,t){var n=Tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&gf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function jy(e,t){var n=Tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&gf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}
vendor: 7,400 bytes, lines 38-40
38function _y(e,t,n){return Dr&21?(It(n,t)||(n=$v(),fe.lanes|=n,jr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Xe=!0),e.memoizedState=n)}function iT(e,t){var n=ee;ee=n!==0&&4>n?n:4,e(!0);var r=xu.transition;xu.transition={};try{e(!1),t()}finally{ee=n,xu.transition=r}}function Vy(){return Tt().memoizedState}function sT(e,t,n){var r=Zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},zy(e))Fy(t,n);else if(n=xy(e,t,n,r),n!==null){var i=We();Ot(n,e,r,i),By(n,t,r)}}function oT(e,t,n){var r=Zn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(zy(e))Fy(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,It(a,o)){var l=t.interleaved;l===null?(i.next=i,df(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=xy(e,t,i,r),n!==null&&(i=We(),Ot(n,e,r,i),By(n,t,r))}}function zy(e){var t=e.alternate;return e===fe||t!==null&&t===fe}function Fy(e,t){Es=$a=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function By(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qd(e,n)}}var Ua={readContext:bt,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useInsertionEffect:Ie,useLayoutEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useMutableSource:Ie,useSyncExternalStore:Ie,useId:Ie,unstable_isNewReconciler:!1},aT={readContext:bt,useCallback:function(e,t){return Bt().memoizedState=[e,t===void 0?null:t],e},useContext:bt,useEffect:Eh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,fa(4194308,4,Oy.bind(null,t,e),n)},useLayoutEffect:function(e,t){return fa(4194308,4,e,t)},useInsertionEffect:function(e,t){return fa(4,2,e,t)},useMemo:function(e,t){var n=Bt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bt();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=sT.bind(null,fe,e),[r.memoizedState,e]},useRef:function(e){var t=Bt();return e={current:e},t.memoizedState=e},useState:Th,useDebugValue:xf,useDeferredValue:function(e){return Bt().memoizedState=e},useTransition:function(){var e=Th(!1),t=e[0];return e=iT.bind(null,e[1]),Bt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=fe,i=Bt();if(ae){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),ke===null)throw Error(_(349));Dr&30||Cy(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,Eh(ky.bind(null,r,s,e),[e]),r.flags|=2048,Qs(9,Py.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Bt(),t=ke.identifierPrefix;if(ae){var n=dn,r=cn;n=(r&~(1<<32-Lt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ys++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=rT++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},lT={readContext:bt,useCallback:Dy,useContext:bt,useEffect:wf,useImperativeHandle:Iy,useInsertionEffect:Ny,useLayoutEffect:Ly,useMemo:jy,useReducer:Su,useRef:Ry,useState:function(){return Su(Xs)},useDebugValue:xf,useDeferredValue:function(e){var t=Tt();return _y(t,Te.memoizedState,e)},useTransition:function(){var e=Su(Xs)[0],t=Tt().memoizedState;return[e,t]},useMutableSource:Ty,useSyncExternalStore:Ey,useId:Vy,unstable_isNewReconciler:!1},uT={readContext:bt,useCallback:Dy,useContext:bt,useEffect:wf,useImperativeHandle:Iy,useInsertionEffect:Ny,useLayoutEffect:Ly,useMemo:jy,useReducer:bu,useRef:Ry,useState:function(){return bu(Xs)},useDebugValue:xf,useDeferredValue:function(e){var t=Tt();return Te===null?t.memoizedState=e:_y(t,Te.memoizedState,e)},useTransition:function(){var e=bu(Xs)[0],t=Tt().memoizedState;return[e,t]},useMutableSource:Ty,useSyncExternalStore:Ey,useId:Vy,unstable_isNewReconciler:!1};function kt(e,t){if(e&&e.defaultProps){t=pe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Oc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:pe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Cl={isMounted:function(e){return(e=e._reactInternals)?$r(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=We(),i=Zn(e),s=fn(r,i);s.payload=t,n!=null&&(s.callback=n),t=Qn(e,s,i),t!==null&&(Ot(t,e,i,r),ca(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=We(),i=Zn(e),s=fn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Qn(e,s,i),t!==null&&(Ot(t,e,i,r),ca(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=We(),r=Zn(e),i=fn(n,r);i.tag=2,t!=null&&(i.callback=t),t=Qn(e,i,r),t!==null&&(Ot(t,e,r,n),ca(t,e,r))}};function Ch(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!$s(n,r)||!$s(i,s):!0}function $y(e,t,n){var r=!1,i=nr,s=t.contextType;return typeof s=="object"&&s!==null?s=bt(s):(i=Ze(t)?Or:ze.current,r=t.contextTypes,s=(r=r!=null)?Oi(e,i):nr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Cl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function Ph(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&&Cl.enqueueReplaceState(t,t.state,null)}function Ic(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ff(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=bt(s):(s=Ze(t)?Or:ze.current,i.context=Oi(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Oc(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Cl.enqueueReplaceState(i,i.state,null),Fa(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function _i(e,t){try{var n="",r=t;do n+=_S(r),r=r.return;while(r);var i=n}catch(s){i=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Tu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Dc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var cT=typeof WeakMap=="function"?WeakMap:Map;function Uy(e,t,n){n=fn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ha||(Ha=!0,Hc=r),Dc(e,t)},n}function Wy(e,t,n){n=fn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Dc(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Dc(e,t),typeof r!="function"&&(qn===null?qn=new Set([this]):qn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}
vendor: 8,560 bytes, line 40
40function kh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new cT;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=ET.bind(null,e,t,n),t.then(e,e))}function Mh(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 Ah(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=fn(-1,1),t.tag=2,Qn(n,t,1))),n.lanes|=1),e)}var dT=bn.ReactCurrentOwner,Xe=!1;function Be(e,t,n,r){t.child=e===null?wy(t,null,n,r):Di(t,e.child,n,r)}function Rh(e,t,n,r,i){n=n.render;var s=t.ref;return vi(t,i),r=vf(e,t,n,r,s,i),n=yf(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,gn(e,t,i)):(ae&&n&&sf(t),t.flags|=1,Be(e,t,r,i),t.child)}function Nh(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Mf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Hy(e,t,s,r,i)):(e=ga(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:$s,n(o,r)&&e.ref===t.ref)return gn(e,t,i)}return t.flags|=1,e=Jn(s,r),e.ref=t.ref,e.return=t,t.child=e}function Hy(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if($s(s,r)&&e.ref===t.ref)if(Xe=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(Xe=!0);else return t.lanes=e.lanes,gn(e,t,i)}return jc(e,t,n,r,i)}function Gy(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ne(ai,st),st|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ne(ai,st),st|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ne(ai,st),st|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ne(ai,st),st|=r;return Be(e,t,i,n),t.child}function Ky(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function jc(e,t,n,r,i){var s=Ze(n)?Or:ze.current;return s=Oi(t,s),vi(t,i),n=vf(e,t,n,r,s,i),r=yf(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,gn(e,t,i)):(ae&&r&&sf(t),t.flags|=1,Be(e,t,n,i),t.child)}function Lh(e,t,n,r,i){if(Ze(n)){var s=!0;Da(t)}else s=!1;if(vi(t,i),t.stateNode===null)pa(e,t),$y(t,n,r),Ic(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=bt(u):(u=Ze(n)?Or:ze.current,u=Oi(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Ph(t,o,r,u),In=!1;var f=t.memoizedState;o.state=f,Fa(t,r,o,i),l=t.memoizedState,a!==r||f!==l||qe.current||In?(typeof c=="function"&&(Oc(t,n,c,r),l=t.memoizedState),(a=In||Ch(t,n,a,r,f,l,u))?(d||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=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Sy(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:kt(t.type,a),o.props=u,d=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=bt(l):(l=Ze(n)?Or:ze.current,l=Oi(t,l));var m=n.getDerivedStateFromProps;(c=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==d||f!==l)&&Ph(t,o,r,l),In=!1,f=t.memoizedState,o.state=f,Fa(t,r,o,i);var v=t.memoizedState;a!==d||f!==v||qe.current||In?(typeof m=="function"&&(Oc(t,n,m,r),v=t.memoizedState),(u=In||Ch(t,n,u,r,f,v,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,v,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,v,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),o.props=r,o.state=v,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return _c(e,t,n,r,s,i)}function _c(e,t,n,r,i,s){Ky(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&vh(t,n,!1),gn(e,t,s);r=t.stateNode,dT.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Di(t,e.child,null,s),t.child=Di(t,null,a,s)):Be(e,t,a,s),t.memoizedState=r.state,i&&vh(t,n,!0),t.child}function Yy(e){var t=e.stateNode;t.pendingContext?gh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&gh(e,t.context,!1),pf(e,t.containerInfo)}function Oh(e,t,n,r,i){return Ii(),af(i),t.flags|=256,Be(e,t,n,r),t.child}var Vc={dehydrated:null,treeContext:null,retryLane:0};function zc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Xy(e,t,n){var r=t.pendingProps,i=ce.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ne(ce,i&1),e===null)return Nc(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,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=Ml(o,r,0,null),e=Ar(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=zc(n),t.memoizedState=Vc,e):Sf(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return fT(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Jn(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=Jn(a,s):(s=Ar(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?zc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Vc,r}return s=e.child,e=s.sibling,r=Jn(s,{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 Sf(e,t){return t=Ml({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Wo(e,t,n,r){return r!==null&&af(r),Di(t,e.child,null,n),e=Sf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function fT(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=Tu(Error(_(422))),Wo(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Ml({mode:"visible",children:r.children},i,0,null),s=Ar(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Di(t,e.child,null,o),t.child.memoizedState=zc(o),t.memoizedState=Vc,s);if(!(t.mode&1))return Wo(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(_(419)),r=Tu(s,r,void 0),Wo(e,t,o,r)}if(a=(o&e.childLanes)!==0,Xe||a){if(r=ke,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,mn(e,i),Ot(r,e,
vendor: 6,204 bytes, line 40
40i,-1))}return kf(),r=Tu(Error(_(421))),Wo(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=CT.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,lt=Xn(i.nextSibling),ut=t,ae=!0,Nt=null,e!==null&&(vt[yt++]=cn,vt[yt++]=dn,vt[yt++]=Ir,cn=e.id,dn=e.overflow,Ir=t),t=Sf(t,r.children),t.flags|=4096,t)}function Ih(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Lc(e.return,t,n)}function Eu(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function Qy(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Be(e,t,r.children,n),r=ce.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&&Ih(e,n,t);else if(e.tag===19)Ih(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(ne(ce,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Ba(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Eu(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Ba(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Eu(t,!0,n,null,s);break;case"together":Eu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function pa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function gn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),jr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=Jn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Jn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function pT(e,t,n){switch(t.tag){case 3:Yy(t),Ii();break;case 5:by(t);break;case 1:Ze(t.type)&&Da(t);break;case 4:pf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ne(Va,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ne(ce,ce.current&1),t.flags|=128,null):n&t.child.childLanes?Xy(e,t,n):(ne(ce,ce.current&1),e=gn(e,t,n),e!==null?e.sibling:null);ne(ce,ce.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Qy(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ne(ce,ce.current),r)break;return null;case 22:case 23:return t.lanes=0,Gy(e,t,n)}return gn(e,t,n)}var qy,Fc,Zy,Jy;qy=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}};Fc=function(){};Zy=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Sr(Xt.current);var s=null;switch(n){case"input":i=lc(e,i),r=lc(e,r),s=[];break;case"select":i=pe({},i,{value:void 0}),r=pe({},r,{value:void 0}),s=[];break;case"textarea":i=dc(e,i),r=dc(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Oa)}pc(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ds.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(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||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ds.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&se("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Jy=function(e,t,n,r){n!==r&&(t.flags|=4)};function ls(e,t){if(!ae)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 De(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function hT(e,t,n){var r=t.pendingProps;switch(of(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:return Ze(t.type)&&Ia(),De(t),null;case 3:return r=t.stateNode,ji(),oe(qe),oe(ze),mf(),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,Nt!==null&&(Yc(Nt),Nt=null))),Fc(e,t),De(t),null;case 5:hf(t);var i=Sr(Ks.current);if(n=t.type,e!==null&&t.stateNode!=null)Zy(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(_(166));return De(t),null}if(e=Sr(Xt.current),$o(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Ht]=t,r[Hs]=s,e=(t.mode&1)!==0,n){case"dialog":se("cancel",r),se("close",r);break;case"iframe":case"object":case"embed":se("load",r);break;case"video":case"audio":for(i=0;
vendor: 4,802 bytes, line 40
40i<vs.length;i++)se(vs[i],r);break;case"source":se("error",r);break;case"img":case"image":case"link":se("error",r),se("load",r);break;case"details":se("toggle",r);break;case"input":Up(r,s),se("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},se("invalid",r);break;case"textarea":Hp(r,s),se("invalid",r)}pc(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Bo(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Bo(r.textContent,a,e),i=["children",""+a]):Ds.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&se("scroll",r)}switch(n){case"input":Oo(r),Wp(r,s,!0);break;case"textarea":Oo(r),Gp(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Oa)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=kv(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[Ht]=t,e[Hs]=r,qy(e,t,!1,!1),t.stateNode=e;e:{switch(o=hc(n,r),n){case"dialog":se("cancel",e),se("close",e),i=r;break;case"iframe":case"object":case"embed":se("load",e),i=r;break;case"video":case"audio":for(i=0;i<vs.length;i++)se(vs[i],e);i=r;break;case"source":se("error",e),i=r;break;case"img":case"image":case"link":se("error",e),se("load",e),i=r;break;case"details":se("toggle",e),i=r;break;case"input":Up(e,r),i=lc(e,r),se("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=pe({},r,{value:void 0}),se("invalid",e);break;case"textarea":Hp(e,r),i=dc(e,r),se("invalid",e);break;default:i=r}pc(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?Rv(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Mv(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&js(e,l):typeof l=="number"&&js(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Ds.hasOwnProperty(s)?l!=null&&s==="onScroll"&&se("scroll",e):l!=null&&Wd(e,s,l,o))}switch(n){case"input":Oo(e),Wp(e,r,!1);break;case"textarea":Oo(e),Gp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+tr(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?pi(e,!!r.multiple,s,!1):r.defaultValue!=null&&pi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Oa)}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 De(t),null;case 6:if(e&&t.stateNode!=null)Jy(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(_(166));if(n=Sr(Ks.current),Sr(Xt.current),$o(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ht]=t,(s=r.nodeValue!==n)&&(e=ut,e!==null))switch(e.tag){case 3:Bo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Bo(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ht]=t,t.stateNode=r}return De(t),null;case 13:if(oe(ce),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ae&&lt!==null&&t.mode&1&&!(t.flags&128))vy(),Ii(),t.flags|=98560,s=!1;else if(s=$o(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(_(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(_(317));s[Ht]=t}else Ii(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;De(t),s=!1}else Nt!==null&&(Yc(Nt),Nt=null),s=!0;if(!s)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||ce.current&1?Ce===0&&(Ce=3):kf())),t.updateQueue!==null&&(t.flags|=4),De(t),null);case 4:return ji(),Fc(e,t),e===null&&Us(t.stateNode.containerInfo),De(t),null;case 10:return cf(t.type._context),De(t),null;case 17:return Ze(t.type)&&Ia(),De(t),null;case 19:if(oe(ce),s=t.memoizedState,s===null)return De(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)ls(s,!1);else{if(Ce!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ba(e),o!==null){for(t.flags|=128,ls(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,
vendor: 5,115 bytes, line 40
40s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ne(ce,ce.current&1|2),t.child}e=e.sibling}s.tail!==null&&ye()>Vi&&(t.flags|=128,r=!0,ls(s,!1),t.lanes=4194304)}else{if(!r)if(e=Ba(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ls(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!ae)return De(t),null}else 2*ye()-s.renderingStartTime>Vi&&n!==1073741824&&(t.flags|=128,r=!0,ls(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ye(),t.sibling=null,n=ce.current,ne(ce,r?n&1|2:n&1),t):(De(t),null);case 22:case 23:return Pf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?st&1073741824&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function mT(e,t){switch(of(t),t.tag){case 1:return Ze(t.type)&&Ia(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ji(),oe(qe),oe(ze),mf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return hf(t),null;case 13:if(oe(ce),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Ii()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return oe(ce),null;case 4:return ji(),null;case 10:return cf(t.type._context),null;case 22:case 23:return Pf(),null;case 24:return null;default:return null}}var Ho=!1,_e=!1,gT=typeof WeakSet=="function"?WeakSet:Set,U=null;function oi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function Bc(e,t,n){try{n()}catch(r){ge(e,t,r)}}var Dh=!1;function vT(e,t){if(Ec=Ra,e=iy(),rf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var m;d!==n||i!==0&&d.nodeType!==3||(a=o+i),d!==s||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(m=d.firstChild)!==null;)f=d,d=m;for(;;){if(d===e)break t;if(f===n&&++u===i&&(a=o),f===s&&++c===r&&(l=o),(m=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Cc={focusedElem:e,selectionRange:n},Ra=!1,U=t;U!==null;)if(t=U,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,U=e;else for(;U!==null;){t=U;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,w=v.memoizedState,g=t.stateNode,p=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:kt(t.type,y),w);g.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(S){ge(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,U=e;break}U=t.return}return v=Dh,Dh=!1,v}function Cs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&Bc(t,n,s)}i=i.next}while(i!==r)}}function Pl(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 $c(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 e0(e){var t=e.alternate;t!==null&&(e.alternate=null,e0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ht],delete t[Hs],delete t[Mc],delete t[Jb],delete t[eT])),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 t0(e){return e.tag===5||e.tag===3||e.tag===4}function jh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||t0(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 Uc(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=Oa));else if(r!==4&&(e=e.child,e!==null))for(Uc(e,t,n),e=e.sibling;e!==null;)Uc(e,t,n),e=e.sibling}
vendor: 22,879 bytes, line 40
40function Wc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Wc(e,t,n),e=e.sibling;e!==null;)Wc(e,t,n),e=e.sibling}var Ae=null,Rt=!1;function Mn(e,t,n){for(n=n.child;n!==null;)n0(e,t,n),n=n.sibling}function n0(e,t,n){if(Yt&&typeof Yt.onCommitFiberUnmount=="function")try{Yt.onCommitFiberUnmount(yl,n)}catch{}switch(n.tag){case 5:_e||oi(n,t);case 6:var r=Ae,i=Rt;Ae=null,Mn(e,t,n),Ae=r,Rt=i,Ae!==null&&(Rt?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(Rt?(e=Ae,n=n.stateNode,e.nodeType===8?vu(e.parentNode,n):e.nodeType===1&&vu(e,n),Fs(e)):vu(Ae,n.stateNode));break;case 4:r=Ae,i=Rt,Ae=n.stateNode.containerInfo,Rt=!0,Mn(e,t,n),Ae=r,Rt=i;break;case 0:case 11:case 14:case 15:if(!_e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Bc(n,t,o),i=i.next}while(i!==r)}Mn(e,t,n);break;case 1:if(!_e&&(oi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ge(n,t,a)}Mn(e,t,n);break;case 21:Mn(e,t,n);break;case 22:n.mode&1?(_e=(r=_e)||n.memoizedState!==null,Mn(e,t,n),_e=r):Mn(e,t,n);break;default:Mn(e,t,n)}}function _h(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new gT),t.forEach(function(r){var i=PT.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ct(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Ae=a.stateNode,Rt=!1;break e;case 3:Ae=a.stateNode.containerInfo,Rt=!0;break e;case 4:Ae=a.stateNode.containerInfo,Rt=!0;break e}a=a.return}if(Ae===null)throw Error(_(160));n0(s,o,i),Ae=null,Rt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ge(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)r0(t,e),t=t.sibling}function r0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ct(t,e),Ft(e),r&4){try{Cs(3,e,e.return),Pl(3,e)}catch(y){ge(e,e.return,y)}try{Cs(5,e,e.return)}catch(y){ge(e,e.return,y)}}break;case 1:Ct(t,e),Ft(e),r&512&&n!==null&&oi(n,n.return);break;case 5:if(Ct(t,e),Ft(e),r&512&&n!==null&&oi(n,n.return),e.flags&32){var i=e.stateNode;try{js(i,"")}catch(y){ge(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Cv(i,s),hc(a,o);var u=hc(a,s);for(o=0;o<l.length;o+=2){var c=l[o],d=l[o+1];c==="style"?Rv(i,d):c==="dangerouslySetInnerHTML"?Mv(i,d):c==="children"?js(i,d):Wd(i,c,d,u)}switch(a){case"input":uc(i,s);break;case"textarea":Pv(i,s);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var m=s.value;m!=null?pi(i,!!s.multiple,m,!1):f!==!!s.multiple&&(s.defaultValue!=null?pi(i,!!s.multiple,s.defaultValue,!0):pi(i,!!s.multiple,s.multiple?[]:"",!1))}i[Hs]=s}catch(y){ge(e,e.return,y)}}break;case 6:if(Ct(t,e),Ft(e),r&4){if(e.stateNode===null)throw Error(_(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(y){ge(e,e.return,y)}}break;case 3:if(Ct(t,e),Ft(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Fs(t.containerInfo)}catch(y){ge(e,e.return,y)}break;case 4:Ct(t,e),Ft(e);break;case 13:Ct(t,e),Ft(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Ef=ye())),r&4&&_h(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(_e=(u=_e)||c,Ct(t,e),_e=u):Ct(t,e),Ft(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(U=e,c=e.child;c!==null;){for(d=U=c;U!==null;){switch(f=U,m=f.child,f.tag){case 0:case 11:case 14:case 15:Cs(4,f,f.return);break;case 1:oi(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(y){ge(r,n,y)}}break;case 5:oi(f,f.return);break;case 22:if(f.memoizedState!==null){zh(d);continue}}m!==null?(m.return=f,U=m):zh(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{i=d.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=d.stateNode,l=d.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Av("display",o))}catch(y){ge(e,e.return,y)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(y){ge(e,e.return,y)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Ct(t,e),Ft(e),r&4&&_h(e);break;case 21:break;default:Ct(t,e),Ft(e)}}function Ft(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(t0(n)){var r=n;break e}n=n.return}throw Error(_(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(js(i,""),r.flags&=-33);var s=jh(e);Wc(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=jh(e);Uc(e,a,o);break;default:throw Error(_(161))}}catch(l){ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function yT(e,t,n){U=e,i0(e)}function i0(e,t,n){for(var r=(e.mode&1)!==0;U!==null;){var i=U,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Ho;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||_e;a=Ho;var u=_e;if(Ho=o,(_e=l)&&!u)for(U=i;U!==null;)o=U,l=o.child,o.tag===22&&o.memoizedState!==null?Fh(i):l!==null?(l.return=o,U=l):Fh(i);for(;s!==null;)U=s,i0(s),s=s.sibling;U=i,Ho=a,_e=u}Vh(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,U=s):Vh(e)}}function Vh(e){for(;U!==null;){var t=U;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:_e||Pl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!_e)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:kt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&bh(t,s,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}bh(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 u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Fs(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(_(163))}_e||t.flags&512&&$c(t)}catch(f){ge(t,t.return,f)}}if(t===e){U=null;break}if(n=t.sibling,n!==null){n.return=t.return,U=n;break}U=t.return}}function zh(e){for(;U!==null;){var t=U;if(t===e){U=null;break}var n=t.sibling;if(n!==null){n.return=t.return,U=n;break}U=t.return}}function Fh(e){for(;U!==null;){var t=U;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Pl(4,t)}catch(l){ge(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ge(t,i,l)}}var s=t.return;try{$c(t)}catch(l){ge(t,s,l)}break;case 5:var o=t.return;try{$c(t)}catch(l){ge(t,o,l)}}}catch(l){ge(t,t.return,l)}if(t===e){U=null;break}var a=t.sibling;if(a!==null){a.return=t.return,U=a;break}U=t.return}}var wT=Math.ceil,Wa=bn.ReactCurrentDispatcher,bf=bn.ReactCurrentOwner,xt=bn.ReactCurrentBatchConfig,q=0,ke=null,xe=null,Ne=0,st=0,ai=cr(0),Ce=0,qs=null,jr=0,kl=0,Tf=0,Ps=null,Ye=null,Ef=0,Vi=1/0,ln=null,Ha=!1,Hc=null,qn=null,Go=!1,Un=null,Ga=0,ks=0,Gc=null,ha=-1,ma=0;function We(){return q&6?ye():ha!==-1?ha:ha=ye()}function Zn(e){return e.mode&1?q&2&&Ne!==0?Ne&-Ne:nT.transition!==null?(ma===0&&(ma=$v()),ma):(e=ee,e!==0||(e=window.event,e=e===void 0?16:Xv(e.type)),e):1}function Ot(e,t,n,r){if(50<ks)throw ks=0,Gc=null,Error(_(185));mo(e,n,r),(!(q&2)||e!==ke)&&(e===ke&&(!(q&2)&&(kl|=n),Ce===4&&jn(e,Ne)),Je(e,r),n===1&&q===0&&!(t.mode&1)&&(Vi=ye()+500,Tl&&dr()))}function Je(e,t){var n=e.callbackNode;nb(e,t);var r=Aa(e,e===ke?Ne:0);if(r===0)n!==null&&Xp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Xp(n),t===1)e.tag===0?tT(Bh.bind(null,e)):hy(Bh.bind(null,e)),qb(function(){!(q&6)&&dr()}),n=null;else{switch(Uv(r)){case 1:n=Xd;break;case 4:n=Fv;break;case 16:n=Ma;break;case 536870912:n=Bv;break;default:n=Ma}n=f0(n,s0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function s0(e,t){if(ha=-1,ma=0,q&6)throw Error(_(327));var n=e.callbackNode;if(yi()&&e.callbackNode!==n)return null;var r=Aa(e,e===ke?Ne:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ka(e,r);else{t=r;var i=q;q|=2;var s=a0();(ke!==e||Ne!==t)&&(ln=null,Vi=ye()+500,Mr(e,t));do try{bT();break}catch(a){o0(e,a)}while(!0);uf(),Wa.current=s,q=i,xe!==null?t=0:(ke=null,Ne=0,t=Ce)}if(t!==0){if(t===2&&(i=wc(e),i!==0&&(r=i,t=Kc(e,i))),t===1)throw n=qs,Mr(e,0),jn(e,r),Je(e,ye()),n;if(t===6)jn(e,r);else{if(i=e.current.alternate,!(r&30)&&!xT(i)&&(t=Ka(e,r),t===2&&(s=wc(e),s!==0&&(r=s,t=Kc(e,s))),t===1))throw n=qs,Mr(e,0),jn(e,r),Je(e,ye()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(_(345));case 2:gr(e,Ye,ln);break;case 3:if(jn(e,r),(r&130023424)===r&&(t=Ef+500-ye(),10<t)){if(Aa(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){We(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=kc(gr.bind(null,e,Ye,ln),t);break}gr(e,Ye,ln);break;case 4:if(jn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Lt(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wT(r/1960))-r,10<r){e.timeoutHandle=kc(gr.bind(null,e,Ye,ln),r);break}gr(e,Ye,ln);break;case 5:gr(e,Ye,ln);break;default:throw Error(_(329))}}}return Je(e,ye()),e.callbackNode===n?s0.bind(null,e):null}function Kc(e,t){var n=Ps;return e.current.memoizedState.isDehydrated&&(Mr(e,t).flags|=256),e=Ka(e,t),e!==2&&(t=Ye,Ye=n,t!==null&&Yc(t)),e}function Yc(e){Ye===null?Ye=e:Ye.push.apply(Ye,e)}function xT(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!It(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function jn(e,t){for(t&=~Tf,t&=~kl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Lt(t),r=1<<n;e[n]=-1,t&=~r}}function Bh(e){if(q&6)throw Error(_(327));yi();var t=Aa(e,0);if(!(t&1))return Je(e,ye()),null;var n=Ka(e,t);if(e.tag!==0&&n===2){var r=wc(e);r!==0&&(t=r,n=Kc(e,r))}if(n===1)throw n=qs,Mr(e,0),jn(e,t),Je(e,ye()),n;if(n===6)throw Error(_(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,gr(e,Ye,ln),Je(e,ye()),null}function Cf(e,t){var n=q;q|=1;try{return e(t)}finally{q=n,q===0&&(Vi=ye()+500,Tl&&dr())}}function _r(e){Un!==null&&Un.tag===0&&!(q&6)&&yi();var t=q;q|=1;var n=xt.transition,r=ee;try{if(xt.transition=null,ee=1,e)return e()}finally{ee=r,xt.transition=n,q=t,!(q&6)&&dr()}}function Pf(){st=ai.current,oe(ai)}function Mr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Qb(n)),xe!==null)for(n=xe.return;n!==null;){var r=n;switch(of(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ia();break;case 3:ji(),oe(qe),oe(ze),mf();break;case 5:hf(r);break;case 4:ji();break;case 13:oe(ce);break;case 19:oe(ce);break;case 10:cf(r.type._context);break;case 22:case 23:Pf()}n=n.return}if(ke=e,xe=e=Jn(e.current,null),Ne=st=t,Ce=0,qs=null,Tf=kl=jr=0,Ye=Ps=null,xr!==null){for(t=0;t<xr.length;t++)if(n=xr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}xr=null}return e}function o0(e,t){do{var n=xe;try{if(uf(),da.current=Ua,$a){for(var r=fe.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}$a=!1}if(Dr=0,Pe=Te=fe=null,Es=!1,Ys=0,bf.current=null,n===null||n.return===null){Ce=1,qs=t,xe=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=Ne,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var m=Mh(o);if(m!==null){m.flags&=-257,Ah(m,o,a,s,t),m.mode&1&&kh(s,u,t),t=m,l=u;var v=t.updateQueue;if(v===null){var y=new Set;y.add(l),t.updateQueue=y}else v.add(l);break e}else{if(!(t&1)){kh(s,u,t),kf();break e}l=Error(_(426))}}else if(ae&&a.mode&1){var w=Mh(o);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Ah(w,o,a,s,t),af(_i(l,a));break e}}s=l=_i(l,a),Ce!==4&&(Ce=2),Ps===null?Ps=[s]:Ps.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=Uy(s,l,t);Sh(s,g);break e;case 1:a=l;var p=s.type,h=s.stateNode;if(!(s.flags&128)&&(typeof p.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(qn===null||!qn.has(h)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=Wy(s,a,t);Sh(s,S);break e}}s=s.return}while(s!==null)}u0(n)}catch(T){t=T,xe===n&&n!==null&&(xe=n=n.return);continue}break}while(!0)}function a0(){var e=Wa.current;return Wa.current=Ua,e===null?Ua:e}function kf(){(Ce===0||Ce===3||Ce===2)&&(Ce=4),ke===null||!(jr&268435455)&&!(kl&268435455)||jn(ke,Ne)}function Ka(e,t){var n=q;q|=2;var r=a0();(ke!==e||Ne!==t)&&(ln=null,Mr(e,t));do try{ST();break}catch(i){o0(e,i)}while(!0);if(uf(),q=n,Wa.current=r,xe!==null)throw Error(_(261));return ke=null,Ne=0,Ce}function ST(){for(;xe!==null;)l0(xe)}function bT(){for(;xe!==null&&!KS();)l0(xe)}function l0(e){var t=d0(e.alternate,e,st);e.memoizedProps=e.pendingProps,t===null?u0(e):xe=t,bf.current=null}function u0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=mT(n,t),n!==null){n.flags&=32767,xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ce=6,xe=null;return}}else if(n=hT(n,t,st),n!==null){xe=n;return}if(t=t.sibling,t!==null){xe=t;return}xe=t=e}while(t!==null);Ce===0&&(Ce=5)}function gr(e,t,n){var r=ee,i=xt.transition;try{xt.transition=null,ee=1,TT(e,t,n,r)}finally{xt.transition=i,ee=r}return null}function TT(e,t,n,r){do yi();while(Un!==null);if(q&6)throw Error(_(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(_(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(rb(e,s),e===ke&&(xe=ke=null,Ne=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Go||(Go=!0,f0(Ma,function(){return yi(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=xt.transition,xt.transition=null;var o=ee;ee=1;var a=q;q|=4,bf.current=null,vT(e,n),r0(n,e),Ub(Cc),Ra=!!Ec,Cc=Ec=null,e.current=n,yT(n),YS(),q=a,ee=o,xt.transition=s}else e.current=n;if(Go&&(Go=!1,Un=e,Ga=i),s=e.pendingLanes,s===0&&(qn=null),qS(n.stateNode),Je(e,ye()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Ha)throw Ha=!1,e=Hc,Hc=null,e;return Ga&1&&e.tag!==0&&yi(),s=e.pendingLanes,s&1?e===Gc?ks++:(ks=0,Gc=e):ks=0,dr(),null}function yi(){if(Un!==null){var e=Uv(Ga),t=xt.transition,n=ee;try{if(xt.transition=null,ee=16>e?16:e,Un===null)var r=!1;else{if(e=Un,Un=null,Ga=0,q&6)throw Error(_(331));var i=q;for(q|=4,U=e.current;U!==null;){var s=U,o=s.child;if(U.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(U=u;U!==null;){var c=U;switch(c.tag){case 0:case 11:case 15:Cs(8,c,s)}var d=c.child;if(d!==null)d.return=c,U=d;else for(;U!==null;){c=U;var f=c.sibling,m=c.return;if(e0(c),c===u){U=null;break}if(f!==null){f.return=m,U=f;break}U=m}}}var v=s.alternate;if(v!==null){var y=v.child;if(y!==null){v.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}U=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,U=o;else e:for(;U!==null;){if(s=U,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Cs(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,U=g;break e}U=s.return}}var p=e.current;for(U=p;U!==null;){o=U;var h=o.child;if(o.subtreeFlags&2064&&h!==null)h.return=o,U=h;else e:for(o=p;U!==null;){if(a=U,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Pl(9,a)}}catch(T){ge(a,a.return,T)}if(a===o){U=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,U=S;break e}U=a.return}}if(q=i,dr(),Yt&&typeof Yt.onPostCommitFiberRoot=="function")try{Yt.onPostCommitFiberRoot(yl,e)}catch{}r=!0}return r}finally{ee=n,xt.transition=t}}return!1}function $h(e,t,n){t=_i(n,t),t=Uy(e,t,1),e=Qn(e,t,1),t=We(),e!==null&&(mo(e,1,t),Je(e,t))}function ge(e,t,n){if(e.tag===3)$h(e,e,n);else for(;t!==null;){if(t.tag===3){$h(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(qn===null||!qn.has(r))){e=_i(n,e),e=Wy(t,e,1),t=Qn(t,e,1),e=We(),t!==null&&(mo(t,1,e),Je(t,e));break}}t=t.return}}function ET(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=We(),e.pingedLanes|=e.suspendedLanes&n,ke===e&&(Ne&n)===n&&(Ce===4||Ce===3&&(Ne&130023424)===Ne&&500>ye()-Ef?Mr(e,0):Tf|=n),Je(e,t)}function c0(e,t){t===0&&(e.mode&1?(t=jo,jo<<=1,!(jo&130023424)&&(jo=4194304)):t=1);var n=We();e=mn(e,t),e!==null&&(mo(e,t,n),Je(e,n))}function CT(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),c0(e,n)}function PT(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),c0(e,n)}var d0;d0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||qe.current)Xe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xe=!1,pT(e,t,n);Xe=!!(e.flags&131072)}else Xe=!1,ae&&t.flags&1048576&&my(t,_a,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;pa(e,t),e=t.pendingProps;var i=Oi(t,ze.current);vi(t,n),i=vf(null,t,r,e,i,n);var s=yf();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ze(r)?(s=!0,Da(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ff(t),i.updater=Cl,t.stateNode=i,i._reactInternals=t,Ic(t,r,e,n),t=_c(null,t,r,!0,s,n)):(t.tag=0,ae&&s&&sf(t),Be(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(pa(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=MT(r),e=kt(r,e),i){case 0:t=jc(null,t,r,e,n);break e;case 1:t=Lh(null,t,r,e,n);break e;case 11:t=Rh(null,t,r,e,n);break e;case 14:t=Nh(null,t,r,kt(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),jc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),Lh(e,t,r,i,n);case 3:e:{if(Yy(t),e===null)throw Error(_(387));r=t.pendingProps,s=t.memoizedState,i=s.element,Sy(e,t),Fa(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=_i(Error(_(423)),t),t=Oh(e,t,r,n,i);break e}else if(r!==i){i=_i(Error(_(424)),t),t=Oh(e,t,r,n,i);break e}else for(lt=Xn(t.stateNode.containerInfo.firstChild),ut=t,ae=!0,Nt=null,n=wy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ii(),r===i){t=gn(e,t,n);break e}Be(e,t,r,n)}t=t.child}return t;case 5:return by(t),e===null&&Nc(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Pc(r,i)?o=null:s!==null&&Pc(r,s)&&(t.flags|=32),Ky(e,t),Be(e,t,o,n),t.child;case 6:return e===null&&Nc(t),null;case 13:return Xy(e,t,n);case 4:return pf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Di(t,null,r,n):Be(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),Rh(e,t,r,i,n);case 7:return Be(e,t,t.pendingProps,n),t.child;case 8:return Be(e,t,t.pendingProps.children,n),t.child;case 12:return Be(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,ne(Va,r._currentValue),r._currentValue=o,s!==null)if(It(s.value,o)){if(s.children===i.children&&!qe.current){t=gn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=fn(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Lc(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(_(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Lc(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Be(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,vi(t,n),i=bt(i),r=r(i),t.flags|=1,Be(e,t,r,n),t.child;case 14:return r=t.type,i=kt(r,t.pendingProps),i=kt(r.type,i),Nh(e,t,r,i,n);case 15:return Hy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),pa(e,t),t.tag=1,Ze(r)?(e=!0,Da(t)):e=!1,vi(t,n),$y(t,r,i),Ic(t,r,i,n),_c(null,t,r,!0,e,n);case 19:return Qy(e,t,n);case 22:return Gy(e,t,n)}throw Error(_(156,t.tag))};function f0(e,t){return zv(e,t)}function kT(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 wt(e,t,n,r){return new kT(e,t,n,r)}function Mf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function MT(e){if(typeof e=="function")return Mf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Gd)return 11;if(e===Kd)return 14}return 2}function Jn(e,t){var n=e.alternate;return n===null?(n=wt(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.deleti
vendor: 8,678 bytes, line 40
40ons=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 ga(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Mf(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case qr:return Ar(n.children,i,s,t);case Hd:o=8,i|=8;break;case ic:return e=wt(12,n,t,i|2),e.elementType=ic,e.lanes=s,e;case sc:return e=wt(13,n,t,i),e.elementType=sc,e.lanes=s,e;case oc:return e=wt(19,n,t,i),e.elementType=oc,e.lanes=s,e;case bv:return Ml(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xv:o=10;break e;case Sv:o=9;break e;case Gd:o=11;break e;case Kd:o=14;break e;case On:o=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=wt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Ar(e,t,n,r){return e=wt(7,e,r,t),e.lanes=n,e}function Ml(e,t,n,r){return e=wt(22,e,r,t),e.elementType=bv,e.lanes=n,e.stateNode={isHidden:!1},e}function Cu(e,t,n){return e=wt(6,e,null,t),e.lanes=n,e}function Pu(e,t,n){return t=wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function AT(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ou(0),this.expirationTimes=ou(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ou(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Af(e,t,n,r,i,s,o,a,l){return e=new AT(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=wt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ff(s),e}function RT(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Qr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function p0(e){if(!e)return nr;e=e._reactInternals;e:{if($r(e)!==e||e.tag!==1)throw Error(_(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(_(171))}if(e.tag===1){var n=e.type;if(Ze(n))return py(e,n,t)}return t}function h0(e,t,n,r,i,s,o,a,l){return e=Af(n,r,!0,e,i,s,o,a,l),e.context=p0(null),n=e.current,r=We(),i=Zn(n),s=fn(r,i),s.callback=t??null,Qn(n,s,i),e.current.lanes=i,mo(e,i,r),Je(e,r),e}function Al(e,t,n,r){var i=t.current,s=We(),o=Zn(i);return n=p0(n),t.context===null?t.context=n:t.pendingContext=n,t=fn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Qn(i,t,o),e!==null&&(Ot(e,i,o,s),ca(e,i,o)),o}function Ya(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 Uh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Rf(e,t){Uh(e,t),(e=e.alternate)&&Uh(e,t)}function NT(){return null}var m0=typeof reportError=="function"?reportError:function(e){console.error(e)};function Nf(e){this._internalRoot=e}Rl.prototype.render=Nf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(_(409));Al(e,t,null,null)};Rl.prototype.unmount=Nf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;_r(function(){Al(null,e,null,null)}),t[hn]=null}};function Rl(e){this._internalRoot=e}Rl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Gv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dn.length&&t!==0&&t<Dn[n].priority;n++);Dn.splice(n,0,e),n===0&&Yv(e)}};function Lf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Nl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Wh(){}function LT(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=Ya(o);s.call(u)}}var o=h0(t,r,e,0,null,!1,!1,"",Wh);return e._reactRootContainer=o,e[hn]=o.current,Us(e.nodeType===8?e.parentNode:e),_r(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Ya(l);a.call(u)}}var l=Af(e,0,!1,null,null,!1,!1,"",Wh);return e._reactRootContainer=l,e[hn]=l.current,Us(e.nodeType===8?e.parentNode:e),_r(function(){Al(t,l,n,r)}),l}function Ll(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=Ya(o);a.call(l)}}Al(t,o,e,i)}else o=LT(n,t,e,i,r);return Ya(o)}Wv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=gs(t.pendingLanes);n!==0&&(Qd(t,n|1),Je(t,ye()),!(q&6)&&(Vi=ye()+500,dr()))}break;case 13:_r(function(){var r=mn(e,1);if(r!==null){var i=We();Ot(r,e,1,i)}}),Rf(e,1)}};qd=function(e){if(e.tag===13){var t=mn(e,134217728);if(t!==null){var n=We();Ot(t,e,134217728,n)}Rf(e,134217728)}};Hv=function(e){if(e.tag===13){var t=Zn(e),n=mn(e,t);if(n!==null){var r=We();Ot(n,e,t,r)}Rf(e,t)}};Gv=function(){return ee};Kv=function(e,t){var n=ee;try{return ee=e,t()}finally{ee=n}};gc=function(e,t,n){switch(t){case"input":if(uc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=bl(r);if(!i)throw Error(_(90));Ev(r),uc(r,i)}}}break;case"textarea":Pv(e,n);break;case"select":t=n.value,t!=null&&pi(e,!!n.multiple,t,!1)}};Ov=Cf;Iv=_r;var OT={usingClientEntryPoint:!1,Events:[vo,ti,bl,Nv,Lv,Cf]},us={findFiberByHostInstance:wr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},IT={bundleType:us.bundleType,version:us.version,rendererPackageName:us.rendererPackageName,rendererConfig:us.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=_v(e),e===null?null:e.stateNode},findFiberByHostInstance:us.findFiberByHostInstance||NT,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ko=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ko.isDisabled&&Ko.supportsFiber)try{yl=Ko.inject(IT),Yt=Ko}catch{}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=OT;ft.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Lf(t))throw Error(_(200));return RT(e,t,null,n)};ft.createRoot=function(e,t){if(!Lf(e))throw Error(_(299));var n=!1,r="",i=m0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Af(e,1,!1,null,null,n,!1,r,i),e[hn]=t.current,Us(e.nodeType===8?e.parentNode:e),new Nf(t)};ft.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(_(188)):(e=Object.keys(e).join(","),Error(_(268,e)));return e=_v(t),e=e===null?null:e.stateNode,e};ft.flushSync=function(e){return _r(e)};ft.hydrate=function(e,t,n){if(!Nl(t))throw Error(_(200));return Ll(null,e,t,!0,n)};ft.hydrateRoot=function(e,t,n){if(!Lf(e))throw Error(_(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=m0;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=h0(t,null,e,1,n??null,i,!1,s,o),e[hn]=t.current,Us(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Rl(t)};ft.render=function(e,t,n){if(!Nl(t))throw Error(_(200));return Ll(null,e,t,!1,n)};ft.unmountComponentAtNode=function(e){if(!Nl(e))throw Error(_(40));return e._reactRootContainer?(_r(function(){Ll(null,null,e,!1,function(){e._reactRootContainer=null,e[hn
40]=null})}),!0):!1};ft.unstable_batchedUpdates=Cf;ft.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Nl(n))throw Error(_(200));if(e==null||e._reactInternals===void 0)throw Error(_(38));return Ll(e,t,n,!1,r)};ft.version="18.3.1-next-f1338f8080-20240426";function g0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(g0)}catch(e){console.error(e)}}g0(),gv.exports=ft;var wo=gv.exports;const v0=iv(wo);var y0,Hh=wo;y0=Hh.createRoot,Hh.hydrateRoot;const DT=1,jT=1e6;let ku=0;function _T(){return ku=(ku+1)%Number.MAX_SAFE_INTEGER,ku.toString()}const Mu=new Map,Gh=e=>{if(Mu.has(e))return;const t=setTimeout(()=>{Mu.delete(e),Ms({type:"REMOVE_TOAST",toastId:e})},jT);Mu.set(e,t)},VT=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,DT)};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?Gh(n):e.toasts.forEach(r=>{Gh(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)}}},va=[];let ya={toasts:[]};function Ms(e){ya=VT(ya,e),va.forEach(t=>{t(ya)})}function zT({...e}){const t=_T(),n=i=>Ms({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Ms({type:"DISMISS_TOAST",toastId:t});return Ms({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function FT(){const[e,t]=x.useState(ya);return x.useEffect(()=>(va.push(t),()=>{const n=va.indexOf(t);n>-1&&va.splice(n,1)}),[e]),{...e,toast:zT,dismiss:n=>Ms({type:"DISMISS_TOAST",toastId:n})}}function Ee(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function BT(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function w0(...e){return t=>e.forEach(n=>BT(n,t))}function Dt(...e){return x.useCallback(w0(...e),e)}function $T(e,t=[]){let n=[];function r(s,o){const a=x.createContext(o),l=n.length;n=[...n,o];function u(d){const{scope:f,children:m,...v}=d,y=(f==null?void 0:f[e][l])||a,w=x.useMemo(()=>v,Object.values(v));return b.jsx(y.Provider,{value:w,children:m})}function c(d,f){const m=(f==null?void 0:f[e][l])||a,v=x.useContext(m);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,c]}const i=()=>{const s=n.map(o=>x.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,UT(i,...t)]}function UT(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var Zs=x.forwardRef((e,t)=>{const{children:n,...r}=e,i=x.Children.toArray(n),s=i.find(WT);if(s){const o=s.props.children,a=i.map(l=>l===s?x.Children.count(o)>1?x.Children.only(null):x.isValidElement(o)?o.props.children:null:l);return b.jsx(Xc,{...r,ref:t,children:x.isValidElement(o)?x.cloneElement(o,void 0,a):null})}return b.jsx(Xc,{...r,ref:t,children:n})});Zs.displayName="Slot";var Xc=x.forwardRef((e,t)=>{const{children:n,...r}=e;if(x.isValidElement(n)){const i=GT(n);return x.cloneElement(n,{...HT(r,n.props),ref:t?w0(t,i):i})}return x.Children.count(n)>1?x.Children.only(null):null});Xc.displayName="SlotClone";var x0=({children:e})=>b.jsx(b.Fragment,{children:e});function WT(e){return x.isValidElement(e)&&e.type===x0}function HT(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{s(...a),i(...a)}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function GT(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function KT(e){const t=e+"CollectionProvider",[n,r]=$T(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=m=>{const{scope:v,children:y}=m,w=I.useRef(null),g=I.useRef(new Map).current;return b.jsx(i,{scope:v,itemMap:g,collectionRef:w,children:y})};o.displayName=t;const a=e+"CollectionSlot",l=I.forwardRef((m,v)=>{const{scope:y,children:w}=m,g=s(a,y),p=Dt(v,g.collectionRef);return b.jsx(Zs,{ref:p,children:w})});l.displayName=a;const u=e+"CollectionItemSlot",c="data-radix-collection-item",d=I.forwardRef((m,v)=>{const{scope:y,children:w,...g}=m,p=I.useRef(null),h=Dt(v,p),S=s(u,y);return I.useEffect(()=>(S.itemMap.set(p,{ref:p,...g}),()=>void S.itemMap.delete(p))),b.jsx(Zs,{[c]:"",ref:h,children:w})});d.displayName=u;function f(m){const v=s(e+"CollectionConsumer",m);return I.useCallback(()=>{const w=v.collectionRef.current;if(!w)return[];const g=Array.from(w.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((S,T)=>g.indexOf(S.ref.current)-g.indexOf(T.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:o,Slot:l,ItemSlot:d},f,r]}function S0(e,t=[]){let n=[];function r(s,o){const a=x.createContext(o),l=n.length;n=[...n,o];const u=d=>{var g;const{scope:f,children:m,...v}=d,y=((g=f==null?void 0:f[e])==null?void 0:g[l])||a,w=x.useMemo(()=>v,Object.values(v));return b.jsx(y.Provider,{value:w,children:m})};u.displayName=s+"Provider";function c(d,f){var y;const m=((y=f==null?void 0:f[e])==null?void 0:y[l])||a,v=x.useContext(m);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[u,c]}const i=()=>{const s=n.map(o=>x.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,YT(i,...t)]}function YT(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var XT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],et=XT.reduce((e,t)=>
vendor: 4,235 bytes, line 40
40{const n=x.forwardRef((r,i)=>{const{asChild:s,...o}=r,a=s?Zs:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(a,{...o,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function b0(e,t){e&&wo.flushSync(()=>e.dispatchEvent(t))}function en(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 QT(e,t=globalThis==null?void 0:globalThis.document){const n=en(e);x.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var qT="DismissableLayer",Qc="dismissableLayer.update",ZT="dismissableLayer.pointerDownOutside",JT="dismissableLayer.focusOutside",Kh,T0=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Of=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,u=x.useContext(T0),[c,d]=x.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=x.useState({}),v=Dt(t,k=>d(k)),y=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(w),p=c?y.indexOf(c):-1,h=u.layersWithOutsidePointerEventsDisabled.size>0,S=p>=g,T=tE(k=>{const C=k.target,A=[...u.branches].some(M=>M.contains(C));!S||A||(i==null||i(k),o==null||o(k),k.defaultPrevented||a==null||a())},f),E=nE(k=>{const C=k.target;[...u.branches].some(M=>M.contains(C))||(s==null||s(k),o==null||o(k),k.defaultPrevented||a==null||a())},f);return QT(k=>{p===u.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&a&&(k.preventDefault(),a()))},f),x.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Kh=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Yh(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Kh)}},[c,f,n,u]),x.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Yh())},[c,u]),x.useEffect(()=>{const k=()=>m({});return document.addEventListener(Qc,k),()=>document.removeEventListener(Qc,k)},[]),b.jsx(et.div,{...l,ref:v,style:{pointerEvents:h?S?"auto":"none":void 0,...e.style},onFocusCapture:Ee(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Ee(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Ee(e.onPointerDownCapture,T.onPointerDownCapture)})});Of.displayName=qT;var eE="DismissableLayerBranch",E0=x.forwardRef((e,t)=>{const n=x.useContext(T0),r=x.useRef(null),i=Dt(t,r);return x.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),b.jsx(et.div,{...e,ref:i})});E0.displayName=eE;function tE(e,t=globalThis==null?void 0:globalThis.document){const n=en(e),r=x.useRef(!1),i=x.useRef(()=>{});return x.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){C0(ZT,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function nE(e,t=globalThis==null?void 0:globalThis.document){const n=en(e),r=x.useRef(!1);return x.useEffect(()=>{const i=s=>{s.target&&!r.current&&C0(JT,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Yh(){const e=new CustomEvent(Qc);document.dispatchEvent(e)}function C0(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?b0(i,s):i.dispatchEvent(s)}var rE=Of,iE=E0,Vr=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},sE="Portal",P0=x.forwardRef((e,t)=>
40{var a;const{container:n,...r}=e,[i,s]=x.useState(!1);Vr(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?v0.createPortal(b.jsx(et.div,{...r,ref:t}),o):null});P0.displayName=sE;function oE(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var If=e=>{const{present:t,children:n}=e,r=aE(t),i=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),s=Dt(r.ref,lE(i));return typeof n=="function"||r.isPresent?x.cloneElement(i,{ref:s}):null};If.displayName="Presence";function aE(e){const[t,n]=x.useState(),r=x.useRef({}),i=x.useRef(e),s=x.useRef("none"),o=e?"mounted":"unmounted",[a,l]=oE(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=Yo(r.current);s.current=a==="mounted"?u:"none"},[a]),Vr(()=>{const u=r.current,c=i.current;if(c!==e){const f=s.current,m=Yo(u);e?l("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),Vr(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=m=>{const y=Yo(r.current).includes(m.animationName);if(m.target===t&&y&&(l("ANIMATION_END"),!i.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},f=m=>{m.target===t&&(s.current=Yo(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Yo(e){return(e==null?void 0:e.animationName)||"none"}function lE(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function uE({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=cE({defaultProp:t,onChange:n}),s=e!==void 0,o=s?e:r,a=en(n),l=x.useCallback(u=>{if(s){const d=typeof u=="function"?u(e):u;d!==e&&a(d)}else i(u)},[s,e,i,a]);return[o,l]}function cE({defaultProp:e,onChange:t}){const n=x.useState(e),[r]=n,i=x.useRef(r),s=en(t);return x.useEffect(()=>{i.current!==r&&(s(r),i.current=r)},[r,i,s]),n}var dE="VisuallyHidden",Ol=x.forwardRef((e,t)=>b.jsx(et.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Ol.displayName=dE;var fE=Ol,Df="ToastProvider",[jf,pE,hE]=KT("Toast"),[k0,KI]=S0("Toast",[hE]),[mE,Il]=k0(Df),M0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,l]=x.useState(null),[u,c]=x.useState(0),d=x.useRef(!1),f=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Df}\`. Expected non-empty \`string\`.`),b.jsx(jf.Provider,{scope:t,children:b.jsx(mE,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:x.useCallback(()=>c(m=>m+1),[]),onToastRemove:x.useCallback(()=>c(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:o})})};M0.displayName=Df;var A0="ToastViewport",gE=["F8"],qc="toast.viewportPause",Zc="toast.viewportResume",R0=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=gE,label:i="Notifications ({hotkey})",...s}=e,o=Il(A0,n),a=pE(n),l=x.useRef(null),u=x.useRef(null),c=x.useRef(null),d=x.useRef(null),f=Dt(t,d,o.onViewportChange),m=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=o.toastCount>0;x.useEffect(()=>{const w=g=>{var h;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((h=d.current)==null||h.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),x.useEffect(()=>{const w=l.current,g=d.current;if(v&&w&&g){const p=()=>
40{if(!o.isClosePausedRef.current){const E=new CustomEvent(qc);g.dispatchEvent(E),o.isClosePausedRef.current=!0}},h=()=>{if(o.isClosePausedRef.current){const E=new CustomEvent(Zc);g.dispatchEvent(E),o.isClosePausedRef.current=!1}},S=E=>{!w.contains(E.relatedTarget)&&h()},T=()=>{w.contains(document.activeElement)||h()};return w.addEventListener("focusin",p),w.addEventListener("focusout",S),w.addEventListener("pointermove",p),w.addEventListener("pointerleave",T),window.addEventListener("blur",p),window.addEventListener("focus",h),()=>{w.removeEventListener("focusin",p),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",p),w.removeEventListener("pointerleave",T),window.removeEventListener("blur",p),window.removeEventListener("focus",h)}}},[v,o.isClosePausedRef]);const y=x.useCallback(({tabbingDirection:w})=>{const p=a().map(h=>{const S=h.ref.current,T=[S,...AE(S)];return w==="forwards"?T:T.reverse()});return(w==="forwards"?p.reverse():p).flat()},[a]);return x.useEffect(()=>{const w=d.current;if(w){const g=p=>{var T,E,k;const h=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!h){const C=document.activeElement,A=p.shiftKey;if(p.target===w&&A){(T=u.current)==null||T.focus();return}const L=y({tabbingDirection:A?"backwards":"forwards"}),z=L.findIndex(D=>D===C);Au(L.slice(z+1))?p.preventDefault():A?(E=u.current)==null||E.focus():(k=c.current)==null||k.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[a,y]),b.jsxs(iE,{ref:l,role:"region","aria-label":i.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&b.jsx(Jc,{ref:u,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});Au(w)}}),b.jsx(jf.Slot,{scope:n,children:b.jsx(et.ol,{tabIndex:-1,...s,ref:f})}),v&&b.jsx(Jc,{ref:c,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});Au(w)}})]})});R0.displayName=A0;var N0="ToastFocusProxy",Jc=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=Il(N0,n);return b.jsx(Ol,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});Jc.displayName=N0;var Dl="Toast",vE="toast.swipeStart",yE="toast.swipeMove",wE="toast.swipeCancel",xE="toast.swipeEnd",L0=x.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a=!0,l]=uE({prop:r,defaultProp:i,onChange:s});return b.jsx(If,{present:n||a,children:b.jsx(TE,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:en(e.onPause),onResume:en(e.onResume),onSwipeStart:Ee(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ee(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:Ee(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ee(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});L0.displayName=Dl;var[SE,bE]=k0(Dl,{onClose(){}}),TE=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:m,...v}=e,y=Il(Dl,n),[w,g]=x.useState(null),p=Dt(t,D=>g(D)),h=x.useRef(null),S=x.useRef(null),T=i||y.duration,E=x.useRef(0),k=x.useRef(T),C=x.useRef(0),{onToastAdd:A,onToastRemove:M}=y,R=en(()=>{var $;(w==null?void 0:w.contains(document.activeElement))&&(($=y.viewport)==null||$.focus()),o()}),L=x.useCallback(D=>
vendor: 4,524 bytes, line 40
40{!D||D===1/0||(window.clearTimeout(C.current),E.current=new Date().getTime(),C.current=window.setTimeout(R,D))},[R]);x.useEffect(()=>{const D=y.viewport;if(D){const $=()=>{L(k.current),u==null||u()},j=()=>{const F=new Date().getTime()-E.current;k.current=k.current-F,window.clearTimeout(C.current),l==null||l()};return D.addEventListener(qc,j),D.addEventListener(Zc,$),()=>{D.removeEventListener(qc,j),D.removeEventListener(Zc,$)}}},[y.viewport,T,l,u,L]),x.useEffect(()=>{s&&!y.isClosePausedRef.current&&L(T)},[s,T,y.isClosePausedRef,L]),x.useEffect(()=>(A(),()=>M()),[A,M]);const z=x.useMemo(()=>w?z0(w):null,[w]);return y.viewport?b.jsxs(b.Fragment,{children:[z&&b.jsx(EE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:z}),b.jsx(SE,{scope:n,onClose:R,children:wo.createPortal(b.jsx(jf.ItemSlot,{scope:n,children:b.jsx(rE,{asChild:!0,onEscapeKeyDown:Ee(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||R(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:b.jsx(et.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":y.swipeDirection,...v,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ee(e.onKeyDown,D=>{D.key==="Escape"&&(a==null||a(D.nativeEvent),D.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,R()))}),onPointerDown:Ee(e.onPointerDown,D=>{D.button===0&&(h.current={x:D.clientX,y:D.clientY})}),onPointerMove:Ee(e.onPointerMove,D=>{if(!h.current)return;const $=D.clientX-h.current.x,j=D.clientY-h.current.y,F=!!S.current,P=["left","right"].includes(y.swipeDirection),N=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,V=P?N(0,$):0,B=P?0:N(0,j),W=D.pointerType==="touch"?10:2,Q={x:V,y:B},ue={originalEvent:D,delta:Q};F?(S.current=Q,Xo(yE,d,ue,{discrete:!1})):Xh(Q,y.swipeDirection,W)?(S.current=Q,Xo(vE,c,ue,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs($)>W||Math.abs(j)>W)&&(h.current=null)}),onPointerUp:Ee(e.onPointerUp,D=>{const $=S.current,j=D.target;if(j.hasPointerCapture(D.pointerId)&&j.releasePointerCapture(D.pointerId),S.current=null,h.current=null,$){const F=D.currentTarget,P={originalEvent:D,delta:$};Xh($,y.swipeDirection,y.swipeThreshold)?Xo(xE,m,P,{discrete:!0}):Xo(wE,f,P,{discrete:!0}),F.addEventListener("click",N=>N.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),EE=e=>{const{__scopeToast:t,children:n,...r}=e,i=Il(Dl,t),[s,o]=x.useState(!1),[a,l]=x.useState(!1);return kE(()=>o(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:b.jsx(P0,{asChild:!0,children:b.jsx(Ol,{...r,children:s&&b.jsxs(b.Fragment,{children:[i.label," ",n]})})})},CE="ToastTitle",O0=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return b.jsx(et.div,{...r,ref:t})});O0.displayName=CE;var PE="ToastDescription",I0=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return b.jsx(et.div,{...r,ref:t})});I0.displayName=PE;var D0="ToastAction",j0=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?b.jsx(V0,{altText:n,asChild:!0,children:b.jsx(_f,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${D0}\`. Expected non-empty \`string\`.`),null)});j0.displayName=D0;var _0="ToastClose",_f=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=bE(_0,n);return b.jsx(V0,{asChild:!0,children:b.jsx(et.button,{type:"button",...r,ref:t,onClick:Ee(e.onClick,i.onClose)})})});_f.displayName=_0;var V0=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return b.jsx(et.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function z0(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),ME(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...z0(r))}}),t}function Xo(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?b0(i,s):i.dispatchEvent(s)}var Xh=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function kE(e=()=>{}){const t=en(e);Vr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}
vendor: 4,401 bytes, lines 40-75
40function ME(e){return e.nodeType===e.ELEMENT_NODE}function AE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Au(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var RE=M0,F0=R0,B0=L0,$0=O0,U0=I0,W0=j0,H0=_f;function G0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=G0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function K0(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=G0(e))&&(r&&(r+=" "),r+=t);return r}const Qh=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,qh=K0,Y0=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return qh(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],d=s==null?void 0:s[u];if(c===null)return null;const f=Qh(c)||Qh(d);return i[u][f]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...m}=c;return Object.entries(m).every(v=>{let[y,w]=v;return Array.isArray(w)?w.includes({...s,...a}[y]):{...s,...a}[y]===w})?[...u,d,f]:u},[]);return qh(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 NE=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),X0=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var LE={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 OE=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},l)=>x.createElement("svg",{ref:l,...LE,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:X0("lucide",i),...a},[...o.map(([u,c])=>x.createElement(u,c)),...Array.isArray(s)?s:[s]]));/**
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 be=(e,t)=>{const n=x.forwardRef(({className:r,...i},s)=>x.createElement(OE,{ref:s,iconNode:t,className:X0(`lucide-${NE(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const Q0=be("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
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 IE=be("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"}]]);/**
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 DE=be("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
75],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
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 jE=be("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
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 _E=be("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
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 VE=be("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
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 zE=be("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
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 Vf=be("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"}]]);/**
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 q0=be("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/**
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 Z0=be("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
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 FE=be("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"}]]);/**
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 J0=be("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
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 ew=be("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
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 BE=be("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 9,940 bytes, lines 130-160
130y:"oel41y"}]]);/**
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 $E=be("StarHalf",[["path",{d:"M12 18.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679A.53.53 0 0 1 12 2",key:"2ksp49"}]]);/**
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 UE=be("StarOff",[["path",{d:"M8.34 8.34 2 9.27l5 4.87L5.82 21 12 17.77 18.18 21l-.59-3.43",key:"16m0ql"}],["path",{d:"M18.42 12.76 22 9.27l-6.91-1L12 2l-1.44 2.91",key:"1vt8nq"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
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 WE=be("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"}]]);/**
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 tw=be("UserCheck",[["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"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/**
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 Xa=be("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"}]]);/**
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 nw=be("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),zf="-",HE=e=>{const t=KE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(zf);return a[0]===""&&a.length!==1&&a.shift(),rw(a,t)||GE(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},rw=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?rw(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(zf);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},Zh=/^\[(.+)\]$/,GE=e=>{if(Zh.test(e)){const t=Zh.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},KE=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return XE(Object.entries(e.classGroups),n).forEach(([s,o])=>{ed(o,r,s,t)}),r},ed=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Jh(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(YE(i)){ed(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{ed(o,Jh(t,s),n,r)})})},Jh=(e,t)=>{let n=e;return t.split(zf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},YE=e=>e.isThemeGetter,XE=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,QE=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},iw="!",qE=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const l=[];let u=0,c=0,d;for(let w=0;w<a.length;w++){let g=a[w];if(u===0){if(g===i&&(r||a.slice(w,w+s)===t)){l.push(a.slice(c,w)),c=w+s;continue}if(g==="/"){d=w;continue}}g==="["?u++:g==="]"&&u--}const f=l.length===0?a:a.substring(c),m=f.startsWith(iw),v=m?f.substring(1):f,y=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:m,baseClassName:v,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:o}):o},ZE=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},JE=e=>({cache:QE(e.cacheSize),parseClassName:qE(e),...HE(e)}),eC=/\s+/,tC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(eC);let a="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:m}=n(u);let v=!!m,y=r(v?f.substring(0,m):f);if(!y){if(!v){a=u+(a.length>0?" "+a:a);continue}if(y=r(f),!y){a=u+(a.length>0?" "+a:a);continue}v=!1}const w=ZE(c).join(":"),g=d?w+iw:w,p=g+y;if(s.includes(p))continue;s.push(p);const h=i(y,v);for(let S=0;S<h.length;++S){const T=h[S];s.push(g+T)}a=u+(a.length>0?" "+a:a)}return a};function nC(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=sw(t))&&(r&&(r+=" "),r+=n);return r}const sw=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=sw(e[r]))&&(n&&(n+=" "),n+=t);return n};function rC(e,...t){let n,r,i,s=o;function o(l){const u=t.reduce((c,d)=>d(c),e());return n=JE(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=tC(l,n);return i(l,c),c}return function(){return s(nC.apply(null,arguments))}}const ie=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},ow=/^\[(?:([a-z-]+):)?(.+)\]$/i,iC=/^\d+\/\d+$/,sC=new Set(["px","full","screen"]),oC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,aC=/\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$/,lC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,uC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rn=e=>wi(e)||sC.has(e)||iC.test(e),An=e=>Gi(e,"length",yC),wi=e=>!!e&&!Number.isNaN(Number(e)),Ru=e=>Gi(e,"number",wi),cs=e=>!!e&&Number.isInteger(Number(e)),dC=e=>e.endsWith("%")&&wi(e.slice(0,-1)),K=e=>ow.test(e),Rn=e=>oC.test(e),fC=new Set(["length","size","percentage"]),pC=e=>Gi(e,fC,aw),hC=e=>Gi(e,"position",aw),mC=new Set(["image","url"]),gC=e=>Gi(e,mC,xC),vC=e=>Gi(e,"",wC),ds=()=>!0,Gi=(e,t,n)=>{const r=ow.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},yC=e=>aC.test(e)&&!lC.test(e),aw=()=>!1,wC=e=>uC.test(e),xC=e=>cC.test(e),SC=()=>{const e=ie("colors"),t=ie("spacing"),n=ie("blur"),r=ie("brightness"),i=ie("borderColor"),s=ie("borderRadius"),o=ie("borderSpacing"),a=ie("borderWidth"),l=ie("contrast"),u=ie("grayscale"),c=ie("hueRotate"),d=ie("invert"),f=ie("gap"),m=ie("gradientColorStops"),v=ie("gradientColorStopPositions"),y=ie("inset"),w=ie("margin"),g=ie("opacity"),p=ie("padding"),h=ie("saturate"),S=ie("scale"),T=ie("sepia"),E=ie("skew"),k=ie("space"),C=ie("translate"),A=()=>["auto","contain","none"],M=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",K,t],L=()=>[K,t],z=()=>["",rn,An],D=()=>["auto",wi,K],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["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"],N=()=>["","0",K],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[wi,K];return{cacheSize:500,separator:":",theme:{colors:[ds],spacing:[rn,An],blur:["none","",Rn,K],brightness:B(),borderColor:[e],borderRadius:["none","","full",Rn,K],borderSpacing:L(),borderWidth:z(),contrast:B(),grayscale:N(),hueRotate:B(),invert:N(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[dC,An],inset:R(),margin:R(),opacity:B(),padding:L(),saturate:B(),scale:B(),sepia:N(),skew:B(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",K]}],container:["container"],columns:[{columns:[Rn]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"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:[...$(),K]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],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]}
vendor: 8,974 bytes, line 160
160],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",cs,K]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",K]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",cs,K]}],"grid-cols":[{"grid-cols":[ds]}],"col-start-end":[{col:["auto",{span:["full",cs,K]},K]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[ds]}],"row-start-end":[{row:["auto",{span:[cs,K]},K]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",K]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",K]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...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:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",K,t]}],"min-w":[{"min-w":[K,t,"min","max","fit"]}],"max-w":[{"max-w":[K,t,"none","full","min","max","fit","prose",{screen:[Rn]},Rn]}],h:[{h:[K,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[K,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Rn,An]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ru]}],"font-family":[{font:[ds]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",K]}],"line-clamp":[{"line-clamp":["none",wi,Ru]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",rn,K]}],"list-image":[{"list-image":["none",K]}],"list-style-type":[{list:["none","disc","decimal",K]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[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:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",rn,An]}],"underline-offset":[{"underline-offset":["auto",rn,K]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),hC]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},gC]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"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:[...j(),"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:j()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[rn,K]}],"outline-w":[{outline:[rn,An]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[rn,An]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rn,vC]}],"shadow-color":[{shadow:[ds]}],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,K]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[h]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[h]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"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",K]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",K]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",K]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[cs,K]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"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",K]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",
vendor: 4,739 bytes, line 160
160K]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[rn,An,Ru]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},bC=rC(SC);function tt(...e){return bC(K0(e))}const TC=RE,lw=x.forwardRef(({className:e,...t},n)=>b.jsx(F0,{ref:n,className:tt("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}));lw.displayName=F0.displayName;const EC=Y0("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"}}),uw=x.forwardRef(({className:e,variant:t,...n},r)=>
160b.jsx(B0,{ref:r,className:tt(EC({variant:t}),e),...n}));uw.displayName=B0.displayName;const CC=x.forwardRef(({className:e,...t},n)=>b.jsx(W0,{ref:n,className:tt("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 hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));CC.displayName=W0.displayName;const cw=x.forwardRef(({className:e,...t},n)=>b.jsx(H0,{ref:n,className:tt("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:b.jsx(nw,{className:"h-4 w-4"})}));cw.displayName=H0.displayName;const dw=x.forwardRef(({className:e,...t},n)=>b.jsx($0,{ref:n,className:tt("text-sm font-semibold",e),...t}));dw.displayName=$0.displayName;const fw=x.forwardRef(({className:e,...t},n)=>b.jsx(U0,{ref:n,className:tt("text-sm opacity-90",e),...t}));fw.displayName=U0.displayName;function PC(){const{toasts:e}=FT();return b.jsxs(TC,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return b.jsxs(uw,{...s,children:[b.jsxs("div",{className:"grid gap-1",children:[n&&b.jsx(dw,{children:n}),r&&b.jsx(fw,{children:r})]}),i,b.jsx(cw,{})]},t)}),b.jsx(lw,{})]})}var em=["light","dark"],kC="(prefers-color-scheme: dark)",MC=x.createContext(void 0),AC={setTheme:e=>{},themes:[]},RC=()=>{var e;return(e=x.useContext(MC))!=null?e:AC};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:a,nonce:l})=>{let u=s==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;
160${`c.remove(${a.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?em.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(v,y=!1,w=!0)=>{let g=o?o[v]:v,p=y?v+"|| ''":`'${g}'`,h="";return i&&w&&!y&&em.includes(v)&&(h+=`d.style.colorScheme = '${v}';`),n==="class"?y||g?h+=`c.add(${p})`:h+="null":g&&(h+=`d[s](n,${p})`),h},m=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${kC}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}${u?"":"else{"+f(s,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}else{${f(s,!1,!1)};}${d}}catch(t){}}();`;return x.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:m}})});var NC=e=>{switch(e){case"success":return IC;case"info":return jC;case"warning":return DC;case"error":return _C;default:return null}},LC=Array(12).fill(0),OC=({visible:e})=>I.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},I.createElement("div",{className:"sonner-spinner"},LC.map((t,n)=>I.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),IC=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.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"})),DC=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},I.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"})),jC=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.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"})),_C=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.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"})),VC=()=>
160{let[e,t]=I.useState(document.hidden);return I.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},td=1,zC=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:td++,s=this.toasts.find(a=>a.id===i),o=e.dismissible===void 0?!0:e.dismissible;return s?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=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)=>
160this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0;return r.then(async s=>{if(BC(s)&&!s.ok){i=!1;let o=typeof t.error=="function"?await t.error(`HTTP error! status: ${s.status}`):t.error,a=typeof t.description=="function"?await t.description(`HTTP error! status: ${s.status}`):t.description;this.create({id:n,type:"error",message:o,description:a})}else if(t.success!==void 0){i=!1;let o=typeof t.success=="function"?await t.success(s):t.success,a=typeof t.description=="function"?await t.description(s):t.description;this.create({id:n,type:"success",message:o,description:a})}}).catch(async s=>{if(t.error!==void 0){i=!1;let o=typeof t.error=="function"?await t.error(s):t.error,a=typeof t.description=="function"?await t.description(s):t.description;this.create({id:n,type:"error",message:o,description:a})}}).finally(()=>{var s;i&&(this.dismiss(n),n=void 0),(s=t.finally)==null||s.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||td++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},it=new zC,FC=(e,t)=>{let n=(t==null?void 0:t.id)||td++;return it.addToast({title:e,...t,id:n}),n},BC=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",$C=FC,UC=()=>it.toasts;Object.assign($C,{success:it.success,info:it.info,warning:it.warning,error:it.error,custom:it.custom,message:it.message,promise:it.promise,dismiss:it.dismiss,loading:it.loading},{getHistory:UC});function WC(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))}WC(`: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}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-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;
160left: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;background:var(--gray1);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}: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:0;right:0;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}
160: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, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);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-border: hsl(0, 0%, 20%);--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%);--error-text: hsl(358, 100%, 81%)}[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%)}
161`);function Qo(e){return e.label!==void 0}var HC=3,GC="32px",KC=4e3,YC=356,XC=14,QC=20,qC=200;function ZC(...e){return e.filter(Boolean).join(" ")}var JC=e=>{var t,n,r,i,s,o,a,l,u,c;let{invert:d,toast:f,unstyled:m,interacting:v,setHeights:y,visibleToasts:w,heights:g,index:
161p,toasts:h,expanded:S,removeToast:T,defaultRichColors:E,closeButton:k,style:C,cancelButtonStyle:A,actionButtonStyle:M,className:R="",descriptionClassName:L="",duration:z,position:D,gap:$,loadingIcon:j,expandByDefault:F,classNames:P,icons:N,closeButtonAriaLabel:V="Close toast",pauseWhenPageIsHidden:B,cn:W}=e,[Q,ue]=I.useState(!1),[nt,J]=I.useState(!1),[Et,Tn]=I.useState(!1),[En,Cn]=I.useState(!1),[Po,Hr]=I.useState(0),[pr,ts]=I.useState(0),ko=I.useRef(null),Pn=I.useRef(null),Ql=p===0,ql=p+1<=w,Me=f.type,Gr=f.dismissible!==!1,tS=f.className||"",nS=f.descriptionClassName||"",Mo=I.useMemo(()=>g.findIndex(G=>G.toastId===f.id)||0,[g,f.id]),rS=I.useMemo(()=>{var G;return(G=f.closeButton)!=null?G:k},[f.closeButton,k]),Np=I.useMemo(()=>f.duration||z||KC,[f.duration,z]),Zl=I.useRef(0),Kr=I.useRef(0),Lp=I.useRef(0),Yr=I.useRef(null),[Op,iS]=D.split("-"),Ip=I.useMemo(()=>g.reduce((G,re,te)=>te>=Mo?G:G+re.height,0),[g,Mo]),Dp=VC(),sS=f.invert||d,Jl=Me==="loading";Kr.current=I.useMemo(()=>Mo*$+Ip,[Mo,Ip]),I.useEffect(()=>{ue(!0)},[]),I.useLayoutEffect(()=>{if(!Q)return;let G=Pn.current,re=G.style.height;G.style.height="auto";let te=G.getBoundingClientRect().height;G.style.height=re,ts(te),y(Vt=>Vt.find(zt=>zt.toastId===f.id)?Vt.map(zt=>zt.toastId===f.id?{...zt,height:te}:zt):[{toastId:f.id,height:te,position:f.position},...Vt])},[Q,f.title,f.description,y,f.id]);let kn=I.useCallback(()=>{J(!0),Hr(Kr.current),y(G=>G.filter(re=>re.toastId!==f.id)),setTimeout(()=>{T(f)},qC)},[f,T,y,Kr]);I.useEffect(()=>{if(f.promise&&Me==="loading"||f.duration===1/0||f.type==="loading")return;let G,re=Np;return S||v||B&&Dp?(()=>{if(Lp.current<Zl.current){let te=new Date().getTime()-Zl.current;re=re-te}Lp.current=new Date().getTime()})():re!==1/0&&(Zl.current=new Date().getTime(),G=setTimeout(()=>{var te;(te=f.onAutoClose)==null||te.call(f,f),kn()},re)),()=>clearTimeout(G)},[S,v,F,f,Np,kn,f.promise,Me,B,Dp]),I.useEffect(()=>{let G=Pn.current;if(G){let re=G.getBoundingClientRect().height;return ts(re),y(te=>[{toastId:f.id,height:re,position:f.position},...te]),()=>y(te=>te.filter(Vt=>Vt.toastId!==f.id))}},[y,f.id]),I.useEffect(()=>{f.delete&&kn()},[kn,f.delete]);function oS(){return N!=null&&N.loading?I.createElement("div",{className:"sonner-loader","data-visible":Me==="loading"},N.loading):j?I.createElement("div",{className:"sonner-loader","data-visible":Me==="loading"},j):I.createElement(OC,{visible:Me==="loading"})}return I.createElement("li",{"aria-live":f.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:Pn,className:W(R,tS,P==null?void 0:P.toast,(t=f==null?void 0:f.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[Me],(n=f==null?void 0:f.classNames)==null?void 0:n[Me]),"data-sonner-toast":"","data-rich-colors":(r=f.richColors)!=null?r:E,"data-styled":!(f.jsx||f.unstyled||m),"data-mounted":Q,"data-promise":!!f.promise,"data-removed":nt,"data-visible":ql,"data-y-position":Op,"data-x-position":iS,"data-index":p,"data-front":Ql,"data-swiping":Et,"data-dismissible":Gr,"data-type":Me,"data-invert":sS,"data-swipe-out":En,"data-expanded":!!(S||F&&Q),style:{"--index":p,"--toasts-before":p,"--z-index":h.length-p,"--offset":`${nt?Po:Kr.current}px`,"--initial-height":F?"auto":`${pr}px`,...C,...f.style},onPointerDown:G=>{Jl||!Gr||(ko.current=new Date,Hr(Kr.current),G.target.setPointerCapture(G.pointerId),G.target.tagName!=="BUTTON"&&(Tn(!0),Yr.current={x:G.clientX,y:G.clientY}))},onPointerUp:()=>{var G,re,te,Vt;if(En||!Gr)return;Yr.current=null;let zt=Number(((G=Pn.current)==null?void 0:G.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Ao=new Date().getTime()-((re=ko.current)==null?void 0:re.getTime()),aS=Math.abs(zt)/Ao;if(Math.abs(zt)>=QC||aS>.11){Hr(Kr.current),(te=f.onDismiss)==null||te.call(f,f),kn(),Cn(!0);return}(Vt=Pn.current)==null||Vt.style.setProperty("--swipe-amount","0px"),Tn(!1)},onPointerMove:G=>{var re;if(!Yr.current||!Gr)return;let te=G.clientY-Yr.current.y,Vt=G.clientX-Yr.current.x,zt=(Op==="top"?Math.min:Math.max)(0,te),Ao=G.pointerType==="touch"?10:2;Math.abs(zt)>Ao?(re=Pn.current)==null||re.style.setProperty("--swipe-amount",`${te}px`):Math.abs(Vt)>Ao&&(Yr.current=null)}}
161,rS&&!f.jsx?I.createElement("button",{"aria-label":V,"data-disabled":Jl,"data-close-button":!0,onClick:Jl||!Gr?()=>{}:()=>{var G;kn(),(G=f.onDismiss)==null||G.call(f,f)},className:W(P==null?void 0:P.closeButton,(i=f==null?void 0:f.classNames)==null?void 0:i.closeButton)},I.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"},I.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),I.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,f.jsx||I.isValidElement(f.title)?f.jsx||f.title:I.createElement(I.Fragment,null,Me||f.icon||f.promise?I.createElement("div",{"data-icon":"",className:W(P==null?void 0:P.icon,(s=f==null?void 0:f.classNames)==null?void 0:s.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||oS():null,f.type!=="loading"?f.icon||(N==null?void 0:N[Me])||NC(Me):null):null,I.createElement("div",{"data-content":"",className:W(P==null?void 0:P.content,(o=f==null?void 0:f.classNames)==null?void 0:o.content)},I.createElement("div",{"data-title":"",className:W(P==null?void 0:P.title,(a=f==null?void 0:f.classNames)==null?void 0:a.title)},f.title),f.description?I.createElement("div",{"data-description":"",className:W(L,nS,P==null?void 0:P.description,(l=f==null?void 0:f.classNames)==null?void 0:l.description)},f.description):null),I.isValidElement(f.cancel)?f.cancel:f.cancel&&Qo(f.cancel)?I.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||A,onClick:G=>{var re,te;Qo(f.cancel)&&Gr&&((te=(re=f.cancel).onClick)==null||te.call(re,G),kn())},className:W(P==null?void 0:P.cancelButton,(u=f==null?void 0:f.classNames)==null?void 0:u.cancelButton)},f.cancel.label):null,I.isValidElement(f.action)?f.action:f.action&&Qo(f.action)?I.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||M,onClick:G=>{var re,te;Qo(f.action)&&(G.defaultPrevented||((te=(re=f.action).onClick)==null||te.call(re,G),kn()))},className:W(P==null?void 0:P.actionButton,(c=f==null?void 0:f.classNames)==null?void 0:c.actionButton)},f.action.label):null))};function tm(){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}var eP=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:i,closeButton:s,className:o,offset:a,theme:l="light",richColors:u,duration:c,style:d,visibleToasts:f=HC,toastOptions:m,dir:v=tm(),gap:y=XC,loadingIcon:w,icons:g,containerAriaLabel:p="Notifications",pauseWhenPageIsHidden:h,cn:S=ZC}=e,[T,E]=I.useState([]),k=I.useMemo(()=>Array.from(new Set([n].concat(T.filter(B=>B.position).map(B=>B.position)))),[T,n]),[C,A]=I.useState([]),[M,R]=I.useState(!1),[L,z]=I.useState(!1),[D,$]=I.useState(l!=="system"?l:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),j=I.useRef(null),F=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=I.useRef(null),N=I.useRef(!1),V=I.useCallback(B=>{var W;(W=T.find(Q=>Q.id===B.id))!=null&&W.delete||it.dismiss(B.id),E(Q=>Q.filter(({id:ue})=>ue!==B.id))},[T]);return I.useEffect(()=>it.subscribe(B=>{if(B.dismiss){E(W=>W.map(Q=>Q.id===B.id?{...Q,delete:!0}:Q));return}setTimeout(()=>{v0.flushSync(()=>{E(W=>{let Q=W.findIndex(ue=>ue.id===B.id);return Q!==-1?[...W.slice(0,Q),{...W[Q],...B},...W.slice(Q+1)]:[B,...W]})})})}),[]),I.useEffect(()=>{if(l!=="system"){$(l);return}l==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:B})=>{$(B?"dark":"light")})},[l]),I.useEffect(()=>{T.length<=1&&R(!1)},[T]),I.useEffect(()=>{let B=W=>{var Q,ue;r.every(nt=>W[nt]||W.code===nt)&&(R(!0),(Q=j.current)==null||Q.focus()),W.code==="Escape"&&(document.activeElement===j.current||(ue=j.current)!=null&&ue.contains(document.activeElement))&&R(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[r]),I.useEffect(()=>{if(j.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,N.current=!1)}},[j.current]),T.length?I.createElement("section",{"aria-label":`${p} ${F}`,tabIndex:-1},k.map((B,W)=>{var Q;let[ue,nt]=B.split("-");return I.createElement("ol",{key:B,dir:v==="auto"?tm():v,tabIndex:-1,ref:j,className:o,"data-sonner-toaster":!0,"data-theme":D,"data-y-position":ue,"data-x-position":nt,style:{"--front-toast-height":`${((Q=C[0])==null?void 0:Q.height)||0}px`,"--offset":typeof a=="number"?`${a}px`:a||GC,"--width":`${YC}px`,"--gap":`${y}px`,...d},onBlur:J=>{N.current&&!J.currentTarget.contains(J.relatedTarget)&&(N.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||N.current||(N.current=!0,P.current=J.relatedTarget)},onMouseEnter:()=>R(!0),onMouseMove:()=>R(!0),onMouseLeave:()=>{L||R(!1)},onPointerDown:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||z(!0)},onPointerUp:()=>z(!1)},T.filter(J=>!J.position&&W===0||J.position===B).map((J,Et)=>{var Tn,En;return I.createElement(JC,{key:J.id,icons:g,index:Et,toast:J,defaultRichColors:u,duration:(Tn=m==null?void 0:m.duration)!=null?Tn:c,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:t,visibleToasts:f,closeButton:(En=m==null?void 0:m.closeButton)!=null?En:s,interacting:L,position:B,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,removeToast:V,toasts:T.filter(Cn=>Cn.position==J.position),heights:C.filter(Cn=>Cn.position==J.position),setHeights:A,expandByDefault:i,gap:y,loadingIcon:w,exp
vendor: 7,424 bytes, line 161
161anded:M,pauseWhenPageIsHidden:h,cn:S})}))})):null};const tP=({...e})=>{const{theme:t="system"}=RC();return b.jsx(eP,{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})},nP=["top","right","bottom","left"],rr=Math.min,at=Math.max,Qa=Math.round,qo=Math.floor,ir=e=>({x:e,y:e}),rP={left:"right",right:"left",bottom:"top",top:"bottom"},iP={start:"end",end:"start"};function nd(e,t,n){return at(e,rr(t,n))}function vn(e,t){return typeof e=="function"?e(t):e}function yn(e){return e.split("-")[0]}function Ki(e){return e.split("-")[1]}function Ff(e){return e==="x"?"y":"x"}function Bf(e){return e==="y"?"height":"width"}function sr(e){return["top","bottom"].includes(yn(e))?"y":"x"}function $f(e){return Ff(sr(e))}function sP(e,t,n){n===void 0&&(n=!1);const r=Ki(e),i=$f(e),s=Bf(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=qa(o)),[o,qa(o)]}function oP(e){const t=qa(e);return[rd(e),t,rd(t)]}function rd(e){return e.replace(/start|end/g,t=>iP[t])}function aP(e,t,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?s:o;default:return[]}}function lP(e,t,n,r){const i=Ki(e);let s=aP(yn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(rd)))),s}function qa(e){return e.replace(/left|right|bottom|top/g,t=>rP[t])}function uP(e){return{top:0,right:0,bottom:0,left:0,...e}}function pw(e){return typeof e!="number"?uP(e):{top:e,right:e,bottom:e,left:e}}function Za(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function nm(e,t,n){let{reference:r,floating:i}=e;const s=sr(t),o=$f(t),a=Bf(o),l=yn(t),u=s==="y",c=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[a]/2-i[a]/2;let m;switch(l){case"top":m={x:c,y:r.y-i.height};break;case"bottom":m={x:c,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:d};break;case"left":m={x:r.x-i.width,y:d};break;default:m={x:r.x,y:r.y}}switch(Ki(t)){case"start":m[o]-=f*(n&&u?-1:1);break;case"end":m[o]+=f*(n&&u?-1:1);break}return m}const cP=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=nm(u,r,l),f=r,m={},v=0;for(let y=0;y<a.length;y++){const{name:w,fn:g}=a[y],{x:p,y:h,data:S,reset:T}=await g({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:u,platform:o,elements:{reference:e,floating:t}});c=p??c,d=h??d,m={...m,[w]:{...m[w],...S}},T&&v<=50&&(v++,typeof T=="object"&&(T.placement&&(f=T.placement),T.rects&&(u=T.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):T.rects),{x:c,y:d}=nm(u,f,l)),y=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:m}};async function Js(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:m=0}=vn(t,e),v=pw(m),w=a[f?d==="floating"?"reference":"floating":d],g=Za(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),p=d==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,h=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(h))?await(s.getScale==null?void 0:s.getScale(h))||{x:1,y:1}:{x:1,y:1},T=Za(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:p,offsetParent:h,strategy:l}):p);return{top:(g.top-T.top+v.top)/S.y,bottom:(T.bottom-g.bottom+v.bottom)/S.y,left:(g.left-T.left+v.left)/S.x,right:(T.right-g.right+v.right)/S.x}}const dP=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=vn(e,t)||{};if(u==null)return{};const d=pw(c),f={x:n,y:r},m=$f(i),v=Bf(m),y=await o.getDimensions(u),w=m==="y",g=w?"top":"left",p=w?"bottom":"right",h=w?"clientHeight":"clientWidth",S=s.reference[v]+s.reference[m]-f[m]-s.floating[v],T=f[m]-s.reference[m],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let k=E?E[h]:0;(!k||!await(o.isElement==null?void 0:o.isElement(E)))&&(k=a.floating[h]||s.floating[v]);const C=S/2-T/2,A=k/2-y[v]/2-1,M=rr(d[g],A),R=rr(d[p],A),L=M,z=k-y[v]-R,D=k/2-y[v]/2+C,$=nd(L,D,z),j=!l.arrow&&Ki(i)!=null&&D!==$&&s.reference[v]/2-(D<L?M:R)-y[v]/2<0,F=j?D<L?D-L:D-z:0;return{[m]:f[m]+F,data:{[m]:$,centerOffset:D-$-F,...j&&{alignmentOffset:F}},reset:j}}}),fP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...w}=vn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=yn(i),p=sr(a),h=yn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),T=f||(h||!y?[qa(a)]:oP(a)),E=v!=="none";!f&&E&&T.push(...lP(a,y,v,S));const k=[a,...T],C=await Js(t,w),A=[];let M=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&A.push(C[g]),d){const D=sP(i,o,S);A.push(C[D[0]],C[D[1]])}if(M=[...M,{placement:i,overflows:A}],!A.every(D=>D<=0)){var R,L;const D=(((R=s.flip)==null?void 0:R.index)||0)+1,$=k[D];if($)return{data:{index:D,overflows:M},reset:{placement:$}};let j=(L=M.filter(F=>F.overflows[0]<=0).sort((F,P)=>F.overflows[1]-P.overflows[1])[0])==null?void 0:L.placement;if(!j)switch(m){case"bestFit":{var z;const F=(z=M.filter(P=>{if(E){const N=sr(P.placement);return N===p||N==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(N=>N>0).reduce((N,V)=>N+V,0)]).sort((P,N)=>P[1]-N[1])[0])==null?void 0:z[0];F&&(j=F);break}case"initialPlacement":j=a;break}if(i!==j)return{reset:{placement:j}}}return{}}}};function rm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function im(e){return nP.some(t=>e[t]>=0)}const pP=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=vn(e,t);switch(r){case"referenceHidden":{const s=await Js(t,{...i,elementContext:"reference"}),o=rm(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:im(o)}}}case"escaped":{const s=await Js(t,{...i,altBoundary:!0}),o=rm(s,n.floating);return{data:{escapedOffsets:o,escaped:im(o)}}}default:return{}}}}};async function hP(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=yn(n),a=Ki(n),l=sr(n)==="y",u=["left","top"].includes(o)?-1:1,c=s&&l?-1:1,d=vn(t,e);let{mainAxis:f,crossAxis:m,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}
vendor: 4,871 bytes, line 161
161:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof v=="number"&&(m=a==="end"?v*-1:v),l?{x:m*c,y:f*u}:{x:f*u,y:m*c}}const mP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await hP(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},gP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:w=>{let{x:g,y:p}=w;return{x:g,y:p}}},...l}=vn(e,t),u={x:n,y:r},c=await Js(t,l),d=sr(yn(i)),f=Ff(d);let m=u[f],v=u[d];if(s){const w=f==="y"?"top":"left",g=f==="y"?"bottom":"right",p=m+c[w],h=m-c[g];m=nd(p,m,h)}if(o){const w=d==="y"?"top":"left",g=d==="y"?"bottom":"right",p=v+c[w],h=v-c[g];v=nd(p,v,h)}const y=a.fn({...t,[f]:m,[d]:v});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[f]:s,[d]:o}}}}}},vP=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=vn(e,t),c={x:n,y:r},d=sr(i),f=Ff(d);let m=c[f],v=c[d];const y=vn(a,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const h=f==="y"?"height":"width",S=s.reference[f]-s.floating[h]+w.mainAxis,T=s.reference[f]+s.reference[h]-w.mainAxis;m<S?m=S:m>T&&(m=T)}if(u){var g,p;const h=f==="y"?"width":"height",S=["top","left"].includes(yn(i)),T=s.reference[d]-s.floating[h]+(S&&((g=o.offset)==null?void 0:g[d])||0)+(S?0:w.crossAxis),E=s.reference[d]+s.reference[h]+(S?0:((p=o.offset)==null?void 0:p[d])||0)-(S?w.crossAxis:0);v<T?v=T:v>E&&(v=E)}return{[f]:m,[d]:v}}}},yP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...u}=vn(e,t),c=await Js(t,u),d=yn(i),f=Ki(i),m=sr(i)==="y",{width:v,height:y}=s.floating;let w,g;d==="top"||d==="bottom"?(w=d,g=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=d,w=f==="end"?"top":"bottom");const p=y-c.top-c.bottom,h=v-c.left-c.right,S=rr(y-c[w],p),T=rr(v-c[g],h),E=!t.middlewareData.shift;let k=S,C=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=h),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=p),E&&!f){const M=at(c.left,0),R=at(c.right,0),L=at(c.top,0),z=at(c.bottom,0);m?C=v-2*(M!==0||R!==0?M+R:at(c.left,c.right)):k=y-2*(L!==0||z!==0?L+z:at(c.top,c.bottom))}await l({...t,availableWidth:C,availableHeight:k});const A=await o.getDimensions(a.floating);return v!==A.width||y!==A.height?{reset:{rects:!0}}:{}}}};function jl(){return typeof window<"u"}function Yi(e){return hw(e)?(e.nodeName||"").toLowerCase():"#document"}function ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function nn(e){var t;return(t=(hw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hw(e){return jl()?e instanceof Node||e instanceof ct(e).Node:!1}function jt(e){return jl()?e instanceof Element||e instanceof ct(e).Element:!1}function tn(e){return jl()?e instanceof HTMLElement||e instanceof ct(e).HTMLElement:!1}function sm(e){return!jl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ct(e).ShadowRoot}function xo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=_t(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function wP(e){return["table","td","th"].includes(Yi(e))}function _l(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Uf(e){const t=Wf(),n=jt(e)?_t(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function xP(e){let t=or(e);for(;tn(t)&&!zi(t);){if(Uf(t))return t;if(_l(t))return null;t=or(t)}return null}function Wf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function zi(e){return["html","body","#document"].includes(Yi(e))}function _t(e){return ct(e).getComputedStyle(e)}function Vl(e){return jt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function or(e){if(Yi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||sm(e)&&e.host||nn(e);return sm(t)?t.host:t}function mw(e){const t=or(e);return zi(t)?e.ownerDocument?e.ownerDocument.body:e.body:tn(t)&&xo(t)?t:mw(t)}function eo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=mw(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=ct(i);if(s){const a=id(o);
vendor: 5,525 bytes, line 161
161return t.concat(o,o.visualViewport||[],xo(i)?i:[],a&&n?eo(a):[])}return t.concat(i,eo(i,[],n))}function id(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gw(e){const t=_t(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=tn(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Qa(n)!==s||Qa(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function Hf(e){return jt(e)?e:e.contextElement}function xi(e){const t=Hf(e);if(!tn(t))return ir(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=gw(t);let o=(s?Qa(n.width):n.width)/r,a=(s?Qa(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const SP=ir(0);function vw(e){const t=ct(e);return!Wf()||!t.visualViewport?SP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bP(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ct(e)?!1:t}function zr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=Hf(e);let o=ir(1);t&&(r?jt(r)&&(o=xi(r)):o=xi(e));const a=bP(s,n,r)?vw(s):ir(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,c=i.width/o.x,d=i.height/o.y;if(s){const f=ct(s),m=r&&jt(r)?ct(r):r;let v=f,y=id(v);for(;y&&r&&m!==v;){const w=xi(y),g=y.getBoundingClientRect(),p=_t(y),h=g.left+(y.clientLeft+parseFloat(p.paddingLeft))*w.x,S=g.top+(y.clientTop+parseFloat(p.paddingTop))*w.y;l*=w.x,u*=w.y,c*=w.x,d*=w.y,l+=h,u+=S,v=ct(y),y=id(v)}}return Za({width:c,height:d,x:l,y:u})}function TP(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=nn(r),a=t?_l(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=ir(1);const c=ir(0),d=tn(r);if((d||!d&&!s)&&((Yi(r)!=="body"||xo(o))&&(l=Vl(r)),tn(r))){const f=zr(r);u=xi(r),c.x=f.x+r.clientLeft,c.y=f.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function EP(e){return Array.from(e.getClientRects())}function sd(e,t){const n=Vl(e).scrollLeft;return t?t.left+n:zr(nn(e)).left+n}function CP(e){const t=nn(e),n=Vl(e),r=e.ownerDocument.body,i=at(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=at(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+sd(e);const a=-n.scrollTop;return _t(r).direction==="rtl"&&(o+=at(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function PP(e,t){const n=ct(e),r=nn(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=Wf();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}function kP(e,t){const n=zr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=tn(e)?xi(e):ir(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:a,x:l,y:u}}function om(e,t,n){let r;if(t==="viewport")r=PP(e,n);else if(t==="document")r=CP(nn(e));else if(jt(t))r=kP(t,n);else{const i=vw(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return Za(r)}function yw(e,t){const n=or(e);return n===t||!jt(n)||zi(n)?!1:_t(n).position==="fixed"||yw(n,t)}function MP(e,t){const n=t.get(e);if(n)return n;let r=eo(e,[],!1).filter(a=>jt(a)&&Yi(a)!=="body"),i=null;const s=_t(e).position==="fixed";let o=s?or(e):e;for(;jt(o)&&!zi(o);){const a=_t(o),l=Uf(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||xo(o)&&!l&&yw(e,o))?r=r.filter(c=>c!==o):i=a,o=or(o)}return t.set(e,r),r}function AP(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?_l(t)?[]:MP(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((u,c)=>{const d=om(t,c,i);return u.top=at(d.top,u.top),u.right=rr(d.right,u.right),u.bottom=rr(d.bottom,u.bottom),u.left=at(d.left,u.left),u},om(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function RP(e){const{width:t,height:n}=gw(e);return{width:t,height:n}}function NP(e,t,n){const r=tn(t),i=nn(t),s=n==="fixed",o=zr(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=ir(0);if(r||!r&&!s)if((Yi(t)!=="body"||xo(i))&&(a=Vl(t)),r){const m=zr(t,!0,s,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else i&&(l.x=sd(i));let u=0,c=0;if(i&&!r&&!s){const m=i.getBoundingClientRect();c=m.top+a.scrollTop,u=m.left+a.scrollLeft-sd(i,m)}const d=o.left+a.scrollLeft-l.x-u,f=o.top+a.scrollTop-l.y-c;return{x:d,y:f,width:o.width,height:o.height}}function Nu(e){return _t(e).position==="static"}function am(e,t){if(!tn(e)||_t(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return nn(e)===n&&(n=n.ownerDocument.body),n}function ww(e,t){const n=ct(e);if(_l(e))return n;if(!tn(e)){let i=or(e);for(;i&&!zi(i);){if(jt(i)&&!Nu(i))return i;i=or(i)}return n}let r=am(e,t);for(;r&&wP(r)&&Nu(r);)r=am(r,t);return r&&zi(r)&&Nu(r)&&!Uf(r)?n:r||xP(e)||n}const LP=async function(e){const t=this.getOffsetParent||ww,n=this.getDimensions,r=await n(e.floating);return{reference:NP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function OP(e){return _t(e).direction==="rtl"}const IP={convertOffsetParentRelativeRectToViewportRelativeRect:TP,getDocumentElement:nn,getClippingRect:AP,getOffsetParent:ww,getElementRects:LP,getClientRects:EP,getDimensions:RP,getScale:xi,isElement:jt,isRTL:OP};function DP(e,t){let n=null,r;const i=nn(e);function s(){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),s();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(a||t(),!d||!f)return;
vendor: 8,959 bytes, line 161
161const m=qo(c),v=qo(i.clientWidth-(u+d)),y=qo(i.clientHeight-(c+f)),w=qo(u),p={rootMargin:-m+"px "+-v+"px "+-y+"px "+-w+"px",threshold:at(0,rr(1,l))||1};let h=!0;function S(T){const E=T[0].intersectionRatio;if(E!==l){if(!h)return o();E?o(!1,E):r=setTimeout(()=>{o(!1,1e-7)},1e3)}h=!1}try{n=new IntersectionObserver(S,{...p,root:i.ownerDocument})}catch{n=new IntersectionObserver(S,p)}n.observe(e)}return o(!0),s}function jP(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Hf(e),c=i||s?[...u?eo(u):[],...eo(t)]:[];c.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const d=u&&a?DP(u,n):null;let f=-1,m=null;o&&(m=new ResizeObserver(g=>{let[p]=g;p&&p.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var h;(h=m)==null||h.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let v,y=l?zr(e):null;l&&w();function w(){const g=zr(e);y&&(g.x!==y.x||g.y!==y.y||g.width!==y.width||g.height!==y.height)&&n(),y=g,v=requestAnimationFrame(w)}return n(),()=>{var g;c.forEach(p=>{i&&p.removeEventListener("scroll",n),s&&p.removeEventListener("resize",n)}),d==null||d(),(g=m)==null||g.disconnect(),m=null,l&&cancelAnimationFrame(v)}}const _P=mP,VP=gP,zP=fP,FP=yP,BP=pP,lm=dP,$P=vP,UP=(e,t,n)=>{const r=new Map,i={platform:IP,...n},s={...i.platform,_c:r};return cP(e,t,{...i,platform:s})};var wa=typeof document<"u"?x.useLayoutEffect:x.useEffect;function Ja(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ja(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!Ja(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function xw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function um(e,t){const n=xw(e);return Math.round(t*n)/n}function Lu(e){const t=x.useRef(e);return wa(()=>{t.current=e}),t}function WP(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,m]=x.useState(r);Ja(f,r)||m(r);const[v,y]=x.useState(null),[w,g]=x.useState(null),p=x.useCallback(P=>{P!==E.current&&(E.current=P,y(P))},[]),h=x.useCallback(P=>{P!==k.current&&(k.current=P,g(P))},[]),S=s||v,T=o||w,E=x.useRef(null),k=x.useRef(null),C=x.useRef(c),A=l!=null,M=Lu(l),R=Lu(i),L=Lu(u),z=x.useCallback(()=>{if(!E.current||!k.current)return;const P={placement:t,strategy:n,middleware:f};R.current&&(P.platform=R.current),UP(E.current,k.current,P).then(N=>{const V={...N,isPositioned:L.current!==!1};D.current&&!Ja(C.current,V)&&(C.current=V,wo.flushSync(()=>{d(V)}))})},[f,t,n,R,L]);wa(()=>{u===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,d(P=>({...P,isPositioned:!1})))},[u]);const D=x.useRef(!1);wa(()=>(D.current=!0,()=>{D.current=!1}),[]),wa(()=>{if(S&&(E.current=S),T&&(k.current=T),S&&T){if(M.current)return M.current(S,T,z);z()}},[S,T,z,M,A]);const $=x.useMemo(()=>({reference:E,floating:k,setReference:p,setFloating:h}),[p,h]),j=x.useMemo(()=>({reference:S,floating:T}),[S,T]),F=x.useMemo(()=>{const P={position:n,left:0,top:0};if(!j.floating)return P;const N=um(j.floating,c.x),V=um(j.floating,c.y);return a?{...P,transform:"translate("+N+"px, "+V+"px)",...xw(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:V}},[n,a,j.floating,c.x,c.y]);return x.useMemo(()=>({...c,update:z,refs:$,elements:j,floatingStyles:F}),[c,z,$,j,F])}const HP=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?lm({element:r.current,padding:i}).fn(n):{}:r?lm({element:r,padding:i}).fn(n):{}}}},GP=(e,t)=>({..._P(e),options:[e,t]}),KP=(e,t)=>({...VP(e),options:[e,t]}),YP=(e,t)=>({...$P(e),options:[e,t]}),XP=(e,t)=>({...zP(e),options:[e,t]}),QP=(e,t)=>({...FP(e),options:[e,t]}),qP=(e,t)=>({...BP(e),options:[e,t]}),ZP=(e,t)=>({...HP(e),options:[e,t]});var JP="Arrow",Sw=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return b.jsx(et.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:b.jsx("polygon",{points:"0,0 30,0 15,10"})})});Sw.displayName=JP;var e2=Sw;function t2(e,t=[]){let n=[];function r(s,o){const a=x.createContext(o),l=n.length;n=[...n,o];function u(d){const{scope:f,children:m,...v}=d,y=(f==null?void 0:f[e][l])||a,w=x.useMemo(()=>v,Object.values(v));return b.jsx(y.Provider,{value:w,children:m})}function c(d,f){const m=(f==null?void 0:f[e][l])||a,v=x.useContext(m);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,c]}const i=()=>{const s=n.map(o=>x.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,n2(i,...t)]}function n2(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function r2(e){const[t,n]=x.useState(void 0);return Vr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,a=u.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 bw="Popper",[Tw,Ew]=t2(bw),[YI,Cw]=Tw(bw),Pw="PopperAnchor",kw=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=Cw(Pw,n),o=x.useRef(null),a=Dt(t,o);return x.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:b.jsx(et.div,{...i,ref:a})});kw.displayName=Pw;var Gf="PopperContent",[i2,s2]=Tw(Gf),Mw=x.forwardRef((e,t)=>{var Et,Tn,En,Cn,Po,Hr;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:m="optimized",onPlaced:v,...y}=e,w=Cw(Gf,n),[g,p]=x.useState(null),h=Dt(t,pr=>p(pr)),[S,T]=x.useState(null),E=r2(S),k=(E==null?void 0:E.width)??0,C=(E==null?void 0:E.height)??0,A=r+(s!=="center"?"-"+s:""),M=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},R=Array.isArray(u)?u:[u],L=R.length>0,z={padding:M,boundary:R.filter(a2),altBoundary:L},{refs:D,floatingStyles:$,placement:j,isPositioned:F,middlewareData:P}=WP({strategy:"fixed",placement:A,whileElementsMounted:(...pr)=>jP(...pr,{animationFrame:m==="always"}),elements:{reference:w.anchor},middleware:[GP({mainAxis:i+C,alignmentAxis:o}),l&&KP({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?YP():void 0,...z}),l&&XP({...z}),QP({...z,apply:({elements:pr,rects:ts,availableWidth:ko,availableHeight:Pn})=>{const{width:Ql,height:ql}=ts.reference,Me=pr.floating.style;Me.setProperty("--radix-popper-available-width",`${ko}px`),Me.setProperty("--radix-popper-available-height",`${Pn}px`),Me.setProperty("--radix-popper-anchor-width",`${Ql}px`),Me.setProperty("--radix-popper-anchor-height",`${ql}px`)}}),S&&ZP({element:S,padding:a}),l2({arrowWidth:k,arrowHeight:C}),f&&qP({strategy:"referenceHidden",...z})]}),[N,V]=Nw(j),B=en(v);Vr(()=>{F&&(B==null||B())},[F,B]);const W=(Et=P.arrow)==null?void 0:Et.x,Q=(Tn=P.arrow)==null?void 0:Tn.y,ue=((En=P.arrow)==null?void 0:En.centerOffset)!==0,[nt,J]=x.useState();return Vr(()=>{g&&J(window.getComputedStyle(g).zIndex)},[g]),b.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:F?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:nt,"--radix-popper-transform-origin":[(Cn=P.transformOrigin)==null?void 0:Cn.x,(Po=P.transformOrigin)==null?void 0:Po.y].join(" "),...((Hr=P.hide)==null?void 0:Hr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:b.jsx(i2,{scope:n,placedSide:N,onArrowChange:T,arrowX:W,arrowY:Q,shouldHideArrow:ue,children:b.jsx(et.div,{"data-side":N,"data-align":V,...y,ref:h,style:{...y.style,animation:F?void 0:"none"}})})})});Mw.displayName=Gf;var Aw="PopperArrow",o2={top:"bottom",right:"left",bottom:"top",left:"r
161ight"},Rw=x.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=s2(Aw,r),o=o2[s.placedSide];return b.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:b.jsx(e2,{...i,ref:n,style:{...i.style,display:"block"}})})});Rw.displayName=Aw;function a2(e){return e!==null}var l2=e=>({name:"transformOrigin",options:e,fn(t){var w,g,p;const{placement:n,rects:r,middlewareData:i}=t,o=((w=i.arrow)==null?void 0:w.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,c]=Nw(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((g=i.arrow)==null?void 0:g.x)??0)+a/2,m=(((p=i.arrow)==null?void 0:p.y)??0)+l/2;let v="",y="";return u==="bottom"?(v=o?d:`${f}px`,y=`${-l}px`):u==="top"?(v=o?d:`${f}px`,y=`${r.floating.height+l}px`):u==="right"?(v=`${-l}px`,y=o?d:`${m}px`):u==="left"&&(v=`${r.floating.width+l}px`,y=o?d:`${m}px`),{data:{x:v,y}}}});function Nw(e){const[t,n="center"]=e.split("-");return[t,n]}var u2=kw,c2=Mw,d2=Rw,[zl,XI]=S0("Tooltip",[Ew]),Kf=Ew(),Lw="TooltipProvider",f2=700,cm="tooltip.open",[p2,Ow]=zl(Lw),Iw=e=>{const{__scopeTooltip:t,delayDuration:n=f2,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,[o,a]=x.useState(!0),l=x.useRef(!1),u=x.useRef(0);return x.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),b.jsx(p2,{scope:t,isOpenDelayed:o,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(u.current),a(!1)},[]),onClose:x.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:x.useCallback(c=>{l.current=c},[]),disableHoverableContent:i,children:s})};Iw.displayName=Lw;var Dw="Tooltip",[QI,Fl]=zl(Dw),od="TooltipTrigger",h2=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Fl(od,n),s=Ow(od,n),o=Kf(n),a=x.useRef(null),l=Dt(t,a,i.onTriggerChange),u=x.useRef(!1),c=x.useRef(!1),d=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),b.jsx(u2,{asChild:!0,...o,children:b.jsx(et.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Ee(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:Ee(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:Ee(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Ee(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Ee(e.onBlur,i.onClose),onClick:Ee(e.onClick,i.onClose)})})});h2.displayName=od;var m2="TooltipPortal",[qI,g2]=zl(m2,{forceMount:void 0}),Fi="TooltipContent",jw=x.forwardRef((e,t)=>{const n=g2(Fi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=Fl(Fi,e.__scopeTooltip);return b.jsx(If,{present:r||o.open,children:o.disableHoverableContent?b.jsx(_w,{side:i,...s,ref:t}):b.jsx(v2,{side:i,...s,ref:t})})}),v2=x.forwardRef((e,t)=>{const n=Fl(Fi,e.__scopeTooltip),r=Ow(Fi,e.__scopeTooltip),i=x.useRef(null),s=Dt(t,i),[o,a]=x.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,f=x.useCallback(()=>{a(null),d(!1)},[d]),m=x.useCallback((v,y)=>{const w=v.currentTarget,g={x:v.clientX,y:v.clientY},p=S2(g,w.getBoundingClientRect()),h=b2(g,p),S=T2(y.getBoundingClientRect()),T=C2([...h,...S]);a(T),d(!0)},[d]);return x.useEffect(()=>()=>f(),[f]),x.useEffect(()=>{if(l&&c){const v=w=>m(w,c),y=w=>m(w,l);return l.addEventListener("pointerleave",v),c.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",v),c.removeEventListener("pointerleave",y)}}},[l,c,m,f]),x.useEffect(()=>{if(o){const v=y=>{const w=y.target,g={x:y.clientX,y:y.clientY},p=(l==null?void 0:l.contains(w))||(c==null?void 0:c.contains(w)),h=!E2(g,o);p?f():h&&(f(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,c,o,u,f]),b.jsx(_w,{...e,ref:s})}),[y2,w2]=zl(Dw,{isInside:!1}),_w=x.forwardRef((e,t)=>
161{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,l=Fl(Fi,n),u=Kf(n),{onClose:c}=l;return x.useEffect(()=>(document.addEventListener(cm,c),()=>document.removeEventListener(cm,c)),[c]),x.useEffect(()=>{if(l.trigger){const d=f=>{const m=f.target;m!=null&&m.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),b.jsx(Of,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:b.jsxs(c2,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[b.jsx(x0,{children:r}),b.jsx(y2,{scope:n,isInside:!0,children:b.jsx(fE,{id:l.contentId,role:"tooltip",children:i||r})})]})})});jw.displayName=Fi;var Vw="TooltipArrow",x2=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Kf(n);return w2(Vw,n).isInside?null:b.jsx(d2,{...i,...r,ref:t})});x2.displayName=Vw;function S2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function b2(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 T2(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function E2(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s].x,l=t[s].y,u=t[o].x,c=t[o].y;l>r!=c>r&&n<(u-a)*(r-l)/(c-l)+a&&(i=!i)}return i}function C2(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),P2(t)}function P2(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var k2=Iw,zw=jw;const M2=k2,A2=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>b.jsx(zw,{ref:r,sideOffset:t,className:tt("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}));A2.displayName=zw.displayName;var Bl=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(){}},$l=typeof window>"u"||"Deno"in globalThis;function Mt(){}function R2(e,t){return typeof e=="function"?e(t):e}function N2(e){return typeof e=="number"&&e>=0&&e!==1/0}function L2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function dm(e,t){return typeof e=="function"?e(t):e}function O2(e,t){return typeof e=="function"?e(t):e}function fm(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==Yf(o,t.options))return!1}else if(!no(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||i&&i!==t.state.fetchStatus||s&&!s(t))}function pm(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(to(t.options.mutationKey)!==to(s))return!1}else if(!no(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Yf(e,t){return((t==null?void 0:t.queryKeyHashFn)||to)(e)}function to(e){return JSON.stringify(e,(t,n)=>ad(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function no(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!no(e[n],t[n])):!1}function Fw(e,t){if(e===t)return e;const n=hm(e)&&hm(t);if(n||ad(e)&&ad(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{};let l=0;for(let u=0;u<o;u++){const c=n?u:s[u];(!n&&r.includes(c)||n)&&e[c]===void 0&&t[c]===void 0?(a[c]=void 0,l++):(a[c]=Fw(e[c],t[c]),a[c]===e[c]&&e[c]!==void 0&&l++)}return i===o&&l===i?e:a}return t}function hm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ad(e){if(!mm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!mm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function mm(e){return Object.prototype.toString.call(e)==="[object Object]"}function I2(e){return new Promise(t=>{setTimeout(t,e)})}function D2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Fw(e,t):t}function j2(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function _2(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Xf=Symbol();function Bw(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Xf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Er,_n,Ti,Qg,V2=(Qg=class extends Bl{constructor(){super();Z(this,Er);Z(this,_n);Z(this,Ti);Y(this,Ti,t=>{if(!$l&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){O(this,_n)||this.setEventListener(O(this,Ti))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,_n))==null||t.call(this),Y(this,_n,void 0))}setEventListener(t){var n;Y(this,Ti,t),(n=O(this,_n))==null||n.call(this),Y(this,_n,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){O(this,Er)!==t&&(Y(this,Er,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 18,984 bytes, line 161
161this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof O(this,Er)=="boolean"?O(this,Er):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Er=new WeakMap,_n=new WeakMap,Ti=new WeakMap,Qg),$w=new V2,Ei,Vn,Ci,qg,z2=(qg=class extends Bl{constructor(){super();Z(this,Ei,!0);Z(this,Vn);Z(this,Ci);Y(this,Ci,t=>{if(!$l&&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(){O(this,Vn)||this.setEventListener(O(this,Ci))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,Vn))==null||t.call(this),Y(this,Vn,void 0))}setEventListener(t){var n;Y(this,Ci,t),(n=O(this,Vn))==null||n.call(this),Y(this,Vn,t(this.setOnline.bind(this)))}setOnline(t){O(this,Ei)!==t&&(Y(this,Ei,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return O(this,Ei)}},Ei=new WeakMap,Vn=new WeakMap,Ci=new WeakMap,qg),el=new z2;function F2(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function B2(e){return Math.min(1e3*2**e,3e4)}function Uw(e){return(e??"online")==="online"?el.isOnline():!0}var Ww=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ou(e){return e instanceof Ww}function Hw(e){let t=!1,n=0,r=!1,i;const s=F2(),o=y=>{var w;r||(f(new Ww(y)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>$w.isFocused()&&(e.networkMode==="always"||el.isOnline())&&e.canRun(),c=()=>Uw(e.networkMode)&&e.canRun(),d=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),i==null||i(),s.resolve(y))},f=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),i==null||i(),s.reject(y))},m=()=>new Promise(y=>{var w;i=g=>{(r||u())&&y(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;i=void 0,r||(y=e.onContinue)==null||y.call(e)}),v=()=>{if(r)return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(d).catch(g=>{var E;if(r)return;const p=e.retry??($l?0:3),h=e.retryDelay??B2,S=typeof h=="function"?h(n,g):h,T=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,g);if(t||!T){f(g);return}n++,(E=e.onFail)==null||E.call(e,n,g),I2(S).then(()=>u()?void 0:m()).then(()=>{t?f(g):v()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?v():m().then(v),s)}}function $2(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=a=>setTimeout(a,0);const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var $e=$2(),Cr,Zg,Gw=(Zg=class{constructor(){Z(this,Cr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),N2(this.gcTime)&&Y(this,Cr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??($l?1/0:5*60*1e3))}clearGcTimeout(){O(this,Cr)&&(clearTimeout(O(this,Cr)),Y(this,Cr,void 0))}},Cr=new WeakMap,Zg),Pi,ki,gt,je,fo,Pr,At,on,Jg,U2=(Jg=class extends Gw{constructor(t){super();Z(this,At);Z(this,Pi);Z(this,ki);Z(this,gt);Z(this,je);Z(this,fo);Z(this,Pr);Y(this,Pr,!1),Y(this,fo,t.defaultOptions),this.setOptions(t.options),this.observers=[],Y(this,gt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Y(this,Pi,H2(this.options)),this.state=t.state??O(this,Pi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=O(this,je))==null?void 0:t.promise}setOptions(t){this.options={...O(this,fo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&O(this,gt).remove(this)}setData(t,n){const r=D2(this.state.data,t,this.options);return Oe(this,At,on).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Oe(this,At,on).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=O(this,je))==null?void 0:r.promise;return(i=O(this,je))==null||i.cancel(t),n?n.then(Mt).catch(Mt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(O(this,Pi))}isActive(){return this.observers.some(t=>O2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Xf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!L2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=O(this,je))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=O(this,je))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),O(this,gt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(O(this,je)&&(O(this,Pr)?O(this,je).cancel({revert:!0}):O(this,je).cancelRetry()),this.scheduleGc()),O(this,gt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Oe(this,At,on).call(this,{type:"invalidate"})}fetch(t,n){var l,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(O(this,je))return O(this,je).continueRetry(),O(this,je).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,i=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(Y(this,Pr,!0),r.signal)})},s=()=>{const d=Bw(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return i(f),Y(this,Pr,!1),this.options.persister?this.options.persister(d,f,this):d(f)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};i(o),(l=this.options.behavior)==null||l.onFetch(o,this),Y(this,ki,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&&Oe(this,At,on).call(this,{type:"fetch",meta:(c=o.fetchOptions)==null?void 0:c.meta});const a=d=>{var f,m,v,y;Ou(d)&&d.silent||Oe(this,At,on).call(this,{type:"error",error:d}),Ou(d)||((m=(f=O(this,gt).config).onError)==null||m.call(f,d,this),(y=(v=O(this,gt).config).onSettled)==null||y.call(v,this.state.data,d,this)),this.scheduleGc()};return Y(this,je,Hw({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var f,m,v,y;if(d===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(w){a(w);return}(m=(f=O(this,gt).config).onSuccess)==null||m.call(f,d,this),(y=(v=O(this,gt).config).onSettled)==null||y.call(v,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,f)=>{Oe(this,At,on).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{Oe(this,At,on).call(this,{type:"pause"})},onContinue:()=>{Oe(this,At,on).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),O(this,je).start()}},Pi=new WeakMap,ki=new WeakMap,gt=new WeakMap,je=new WeakMap,fo=new WeakMap,Pr=new WeakMap,At=new WeakSet,on=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...W2(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Ou(i)&&i.revert&&O(this,ki)?{...O(this,ki),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),$e.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),O(this,gt).notify({query:this,type:"updated",action:t})})},Jg);function W2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Uw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function H2(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 $t,ev,G2=(ev=class extends Bl{constructor(t={}){super();Z(this,$t);this.config=t,Y(this,$t,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??Yf(i,n);let o=this.get(s);return o||(o=new U2({cache:this,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){O(this,$t).has(t.queryHash)||(O(this,$t).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=O(this,$t).get(t.queryHash);n&&(t.destroy(),n===t&&O(this,$t).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){$e.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return O(this,$t).get(t)}getAll(){return[...O(this,$t).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>fm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>fm(t,r)):n}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){$e.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){$e.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},$t=new WeakMap,ev),Ut,Fe,kr,Wt,Nn,tv,K2=(tv=class extends Gw{constructor(t){super();Z(this,Wt);Z(this,Ut);Z(this,Fe);Z(this,kr);this.mutationId=t.mutationId,Y(this,Fe,t.mutationCache),Y(this,Ut,[]),this.state=t.state||Y2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){O(this,Ut).includes(t)||(O(this,Ut).push(t),this.clearGcTimeout(),O(this,Fe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Y(this,Ut,O(this,Ut).filter(n=>n!==t)),this.scheduleGc(),O(this,Fe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){O(this,Ut).length||(this.state.status==="pending"?this.scheduleGc():O(this,Fe).remove(this))}continue(){var t;return((t=O(this,kr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,o,a,l,u,c,d,f,m,v,y,w,g,p,h,S,T,E,k;Y(this,kr,Hw({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(C,A)=>{Oe(this,Wt,Nn).call(this,{type:"failed",failureCount:C,error:A})},onPause:()=>{Oe(this,Wt,Nn).call(this,{type:"pause"})},onContinue:()=>{Oe(this,Wt,Nn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>O(this,Fe).canRun(this)}));const n=this.state.status==="pending",r=!O(this,kr).canStart();try{if(!n){Oe(this,Wt,Nn).call(this,{type:"pending",variables:t,isPaused:r}),await((s=(i=O(this,Fe).config).onMutate)==null?void 0:s.call(i,t,this));const A=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));A!==this.state.context&&Oe(this,Wt,Nn).call(this,{type:"pending",context:A,variables:t,isPaused:r})}const C=await O(this,kr).start();return await((u=(l=O(this,Fe).config).onSuccess)==null?void 0:u.call(l,C,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,C,t,this.state.context)),await((m=(f=O(this,Fe).config).onSettled)==null?void 0:m.call(f,C,null,this.state.variables,this.state.context,this)),await((y=(v=this.options).onSettled)==null?void 0:y.call(v,C,null,t,this.state.context)),Oe(this,Wt,Nn).call(this,{type:"success",data:C}),C}catch(C){try{throw await((g=(w=O(this,Fe).config).onError)==null?void 0:g.call(w,C,t,this.state.context,this)),await((h=(p=this.options).onError)==null?void 0:h.call(p,C,t,this.state.context)),await((T=(S=O(this,Fe).config).onSettled)==null?void 0:T.call(S,void 0,C,this.state.variables,this.state.context,this)),await((k=(E=this.options).onSettled)==null?void 0:k.call(E,void 0,C,t,this.state.context)),C}finally{Oe(this,Wt,Nn).call(this,{type:"error",error:C})}}finally{O(this,Fe).runNext(this)}}},Ut=new WeakMap,Fe=new WeakMap,kr=new WeakMap,Wt=new WeakSet,Nn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),$e.batch(()=>{O(this,Ut).forEach(r=>{r.onMutationUpdate(t)}),O(this,Fe).notify({mutation:this,type:"updated",action:t})})},tv);function Y2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var rt,po,nv,X2=(nv=class extends Bl{constructor(t={}){super();Z(this,rt);Z(this,po);this.config=t,Y(this,rt,new Map),Y(this,po,Date.now())}build(t,n,r){const i=new K2({mutationCache:this,mutationId:++Ro(this,po)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=Zo(t),r=O(this,rt).get(n)??[];r.push(t),O(this,rt).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Zo(t);if(O(this,rt).has(n)){const i=(r=O(this,rt).get(n))==null?void 0:r.filter(s=>s!==t);i&&(i.length===0?O(this,rt).delete(n):O(this,rt).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=O(this,rt).get(Zo(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=O(this,rt).get(Zo(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){$e.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...O(this,rt).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>pm(n,r))}findAll(t={}){return this.getAll().filter(n=>pm(t,n))}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return $e.batch(()=>Promise.all(t.map(n=>n.continue().catch(Mt))))}},rt=new WeakMap,po=new WeakMap,nv);function Zo(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function gm(e){return{onFetch:(t,n)=>{var c,d,f,m,v;const r=t.options,i=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,s=((m=t.state.data)==null?void 0:m.pages)||[],o=((v=t.state.data)==null?void 0:v.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let y=!1;const w=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},g=Bw(t.options,t.fetchOptions),p=async(h,S,T)=>{if(y)return Promise.reject();if(S==null&&h.pages.length)return Promise.resolve(h);const E={queryKey:t.queryKey,pageParam:S,direction:T?"backward":"forward",meta:t.options.meta};w(E);const k=await g(E),{maxPages:C}=t.options,A=T?_2:j2;return{pages:A(h.pages,k,C),pageParams:A(h.pageParams,S,C)}};if(i&&s.length){const h=i==="backward",S=h?Q2:vm,T={pages:s,pageParams:o},E=S(r,T);a=await p(T,E,h)}else{const h=e??s.length;do{const S=l===0?o[0]??r.initialPageParam:vm(r,a);if(l>0&&S==null)break;a=await p(a,S),l++}while(l<h)}return a};t.options.persister?t.fetchFn=()=>{var y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function vm(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 Q2(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 he,zn,Fn,Mi,Ai,Bn,Ri,Ni,rv,q2=(rv=class{constructor(e={}){Z(this,he);Z(this,zn);Z(this,Fn);Z(this,Mi);Z(this,Ai);Z(this,Bn);Z(this,Ri);Z(this,Ni);Y(this,he,e.queryCache||new G2),Y(this,zn,e.mutationCache||new X2),Y(this,Fn,e.defaultOptions||{}),Y(this,Mi,new Map),Y(this,Ai,new Map),Y(this,Bn,0)}mount(){Ro(this,Bn)._++,O(this,Bn)===1&&(Y(this,Ri,$w.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,he).onFocus())})),Y(this,Ni,el.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,he).onOnline())})))}unmount(){var e,t;Ro(this,Bn)._--,O(this,Bn)===0&&((e=O(this,Ri))==null||e.call(this),Y(this,Ri,void 0),(t=O(this,Ni))==null||t.call(this),Y(this,Ni,void 0))}isFetching(e){return O(this,he).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return O(this,zn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=O(this,he).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=O(this,he).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(dm(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return O(this,he).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=O(this,he).get(r.queryHash),s=i==null?void 0:i.state.data,o=R2(t,s);if(o!==void 0)return O(this,he).build(this,r).setData(o,{...n,manual:!0})}
161setQueriesData(e,t,n){return $e.batch(()=>O(this,he).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=O(this,he).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=O(this,he);$e.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=O(this,he),r={type:"active",...e};return $e.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=$e.batch(()=>O(this,he).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Mt).catch(Mt)}invalidateQueries(e={},t={}){return $e.batch(()=>{if(O(this,he).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=$e.batch(()=>O(this,he).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(Mt)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Mt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=O(this,he).build(this,t);return n.isStaleByTime(dm(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Mt).catch(Mt)}fetchInfiniteQuery(e){return e.behavior=gm(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Mt).catch(Mt)}ensureInfiniteQueryData(e){return e.behavior=gm(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return el.isOnline()?O(this,zn).resumePausedMutations():Promise.resolve()}getQueryCache(){return O(this,he)}getMutationCache(){return O(this,zn)}getDefaultOptions(){return O(this,Fn)}setDefaultOptions(e){Y(this,Fn,e)}setQueryDefaults(e,t){O(this,Mi).set(to(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...O(this,Mi).values()];let n={};return t.forEach(r=>{no(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){O(this,Ai).set(to(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...O(this,Ai).values()];let n={};return t.forEach(r=>{no(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...O(this,Fn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Yf(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===Xf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...O(this,Fn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){O(this,he).clear(),O(this,zn).clear()}},he=new WeakMap,zn=new WeakMap,Fn=new WeakMap,Mi=new WeakMap,Ai=new WeakMap,Bn=new WeakMap,Ri=new WeakMap,Ni=new WeakMap,rv),Z2=x.createContext(void 0),J2=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),b.jsx(Z2.Provider,{value:e,children:t}));/**
162 * @remix-run/router v1.20.0
163 *
164 * Copyright (c) Remix Software Inc.
165 *
166 * This source code is licensed under the MIT license found in the
167 * LICENSE.md file in the root directory of this source tree.
168 *
169 * @license MIT
170 */function ro(){return ro=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},ro.apply(this,arguments)}var Wn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Wn||(Wn={}));const ym="popstate";function ek(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return ld("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:tl(i)}return nk(t,n,null,e)}function Se(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Kw(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function tk(){return Math.random().toString(36).substr(2,8)}function wm(e,t){return{usr:e.state,key:e.key,idx:t}}function ld(e,t,n,r){return n===void 0&&(n=null),ro({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Xi(t):t,{state:n,key:t&&t.key||r||tk()})}function tl(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 Xi(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 nk(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Wn.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(ro({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=Wn.Pop;let w=c(),g=w==null?null:w-u;u=w,l&&l({action:a,location:y.location,delta:g})}function f(w,g){a=Wn.Push;let p=ld(y.location,w,g);u=c()+1;let h=wm(p,u),S=y.createHref(p);try{o.pushState(h,"",S)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(S)}s&&l&&l({action:a,location:y.location,delta:1})}function m(w,g){a=Wn.Replace;let p=ld(y.location,w,g);u=c();let h=wm(p,u),S=y.createHref(p);o.replaceState(h,"",S),s&&l&&l({action:a,location:y.location,delta:0})}function v(w){let g=i.location.origin!=="null"?i.location.origin:i.location.href,p=typeof w=="string"?w:tl(w);return p=p.replace(/ $/,"%20"),Se(g,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,g)}let y={get action(){return a},get location(){return e(i,o)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(ym,d),l=w,()=>{i.removeEventListener(ym,d),l=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let g=v(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:m,go(w){return o.go(w)}};return y}var xm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(xm||(xm={}));
vendor: 12,906 bytes, lines 170-179
170function rk(e,t,n){return n===void 0&&(n="/"),ik(e,t,n,!1)}function ik(e,t,n,r){let i=typeof t=="string"?Xi(t):t,s=Qf(i.pathname||"/",n);if(s==null)return null;let o=Yw(e);sk(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let u=gk(s);a=hk(o[l],u,r)}return a}function Yw(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(Se(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=er([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(Se(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Yw(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:fk(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of Xw(s.path))i(s,o,l)}),t}function Xw(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=Xw(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function sk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:pk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const ok=/^:[\w-]+$/,ak=3,lk=2,uk=1,ck=10,dk=-2,Sm=e=>e==="*";function fk(e,t){let n=e.split("/"),r=n.length;return n.some(Sm)&&(r+=dk),t&&(r+=lk),n.filter(i=>!Sm(i)).reduce((i,s)=>i+(ok.test(s)?ak:s===""?uk:ck),r)}function pk(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function hk(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=s==="/"?t:t.slice(s.length)||"/",d=bm({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=bm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;Object.assign(i,d.params),o.push({params:i,pathname:er([s,d.pathname]),pathnameBase:xk(er([s,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(s=er([s,d.pathnameBase]))}return o}function bm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=mk(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:m}=c;if(f==="*"){let y=a[d]||"";o=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const v=a[d];return m&&!v?u[f]=void 0:u[f]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function mk(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Kw(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function gk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Kw(!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 Qf(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 vk(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Xi(e):e;return{pathname:n?n.startsWith("/")?n:yk(n,t):t,search:Sk(r),hash:bk(i)}}function yk(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Iu(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 wk(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Qw(e,t){let n=wk(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function qw(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Xi(e):(i=ro({},e),Se(!i.pathname||!i.pathname.includes("?"),Iu("?","pathname","search",i)),Se(!i.pathname||!i.pathname.includes("#"),Iu("#","pathname","hash",i)),Se(!i.search||!i.search.includes("#"),Iu("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=vk(i,a),u=o&&o!=="/"&&o.endsWith("/"),c=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const er=e=>e.join("/").replace(/\/\/+/g,"/"),xk=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Sk=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,bk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Tk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Zw=["post","put","patch","delete"];new Set(Zw);const Ek=["get",...Zw];new Set(Ek);/**
171 * React Router v6.27.0
172 *
173 * Copyright (c) Remix Software Inc.
174 *
175 * This source code is licensed under the MIT license found in the
176 * LICENSE.md file in the root directory of this source tree.
177 *
178 * @license MIT
179 */function io(){return io=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},io.apply(this,arguments)}const qf=x.createContext(null),Ck=x.createContext(null),Ur=x.createContext(null),Ul=x.createContext(null),Wr=x.createContext({outlet:null,matches:[],isDataRoute:!1}),Jw=x.createContext(null);function Pk(e,t){let{relative:n}=t===void 0?{}:t;So()||Se(!1);let{basename:r,navigator:i}=x.useContext(Ur),{hash:s,pathname:o,search:a}=tx(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:er([r,o])),i.createHref({pathname:l,search:a,hash:s})}function So(){return x.useContext(Ul)!=null}function Wl(){return So()||Se(!1),x.useContext(Ul).location}function ex(e){x.useContext(Ur).static||x.useLayoutEffect(e)}function kk(){let{isDataRoute:e}=x.useContext(Wr);return e?Fk():Mk()}function Mk(){So()||Se(!1);let e=x.useContext(qf),{basename:t,future:n,navigator:r}=x.useContext(Ur),{matches:i}=x.useContext(Wr),{pathname:s}=Wl(),o=JSON.stringify(Qw(i,n.v7_relativeSplatPath)),a=x.useRef(!1);return ex(()=>{a.current=!0}),x.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=qw(u,JSON.parse(o),s,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:er([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,o,s,e])}function tx(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(Ur),{matches:i}=x.useContext(Wr),{pathname:s}=Wl(),o=JSON.stringify(Qw(i,r.v7_relativeSplatPath));return x.useMemo(()=>qw(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function Ak(e,t){return Rk(e,t)}function Rk(e,t,n,r){So()||Se(!1);let{navigator:i}=x.useContext(Ur),{matches:s}=x.useContext(Wr),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Wl(),c;if(t){var d;let w=typeof t=="string"?Xi(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||Se(!1),c=w}else c=u;let f=c.pathname||"/",m=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=rk(e,{pathname:m}),y=Dk(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:er([l,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:er([l,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&y?x.createElement(Ul.Provider,{value:{location:io({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Wn.Pop}},y):y}function Nk(){let e=zk(),t=Tk(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:i},n):null,null)}const Lk=x.createElement(Nk,null);class Ok 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(Jw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ik(e){let{routeContext:t,match:n,children:r}=e,i=x.useContext(qf);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Wr.Provider,{value:t},r)}function Dk(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||Se(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<o.length;c++){let d=o[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:m}=n,v=d.route.loader&&f[d.route.id]===void 0&&(!m||m[d.route.id]===void 0);if(d.route.lazy||v){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,d,f)=>{let m,v=!1,y=null,w=null;n&&(m=a&&d.route.id?a[d.route.id]:void 0,y=d.route.errorElement||Lk,l&&(u<0&&f===0?(v=!0,w=null):u===f&&(v=!0,w=d.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,f+1)),p=()=>{let h;return m?h=y:v?h=w:d.route.Component?h=x.createElement(d.route.Component,null):d.route.element?h=d.route.element:h=c,x.createElement(Ik,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:h})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?x.createElement(Ok,{location:n.location,revalidation:n.revalidation,component:y,error:m,children:p(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):p()},null)}var nx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(nx||{}),nl=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}(nl||{});function jk(e){let t=x.useContext(qf);return t||Se(!1),t}function _k(e){let t=x.useContext(Ck);return t||Se(!1),t}function Vk(e){let t=x.useContext(Wr);return t||Se(!1),t}function rx(e){let t=Vk(),n=t.matches[t.matches.length-1];return n.route.id||Se(!1),n.route.id}function zk(){var e;let t=x.useContext(Jw),n=_k(nl.UseRouteError),r=rx(nl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Fk(){let{router:e}=jk(nx.UseNavigateStable),t=rx(nl.UseNavigateStable),n=x.useRef(!1);return ex(()=>{n.current=!0}),x.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,io({fromRouteId:t},s)))},[e,t])}
179function ud(e){Se(!1)}function Bk(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Wn.Pop,navigator:s,static:o=!1,future:a}=e;So()&&Se(!1);let l=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:s,static:o,future:io({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=Xi(r));let{pathname:c="/",search:d="",hash:f="",state:m=null,key:v="default"}=r,y=x.useMemo(()=>{let w=Qf(c,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:m,key:v},navigationType:i}},[l,c,d,f,m,v,i]);return y==null?null:x.createElement(Ur.Provider,{value:u},x.createElement(Ul.Provider,{children:n,value:y}))}function $k(e){let{children:t,location:n}=e;return Ak(cd(t),n)}new Promise(()=>{});function cd(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,i)=>{if(!x.isValidElement(r))return;let s=[...t,i];if(r.type===x.Fragment){n.push.apply(n,cd(r.props.children,s));return}r.type!==ud&&Se(!1),!r.props.index||!r.props.children||Se(!1);let o={id:r.props.id||s.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=cd(r.props.children,s)),n.push(o)}),n}/**
180 * React Router DOM v6.27.0
181 *
182 * Copyright (c) Remix Software Inc.
183 *
184 * This source code is licensed under the MIT license found in the
185 * LICENSE.md file in the root directory of this source tree.
186 *
187 * @license MIT
188 */function dd(){return dd=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},dd.apply(this,arguments)}function Uk(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Wk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Hk(e,t){return e.button===0&&(!t||t==="_self")&&!Wk(e)}const Gk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Kk="6";try{window.__reactRouterVersion=Kk}catch{}const Yk="startTransition",Tm=ES[Yk];function Xk(e){let{basename:t,children:n,future:r,window:i}=e,s=x.useRef();s.current==null&&(s.current=ek({window:i,v5Compat:!0}));let o=s.current,[a,l]=x.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=x.useCallback(d=>{u&&Tm?Tm(()=>l(d)):l(d)},[l,u]);return x.useLayoutEffect(()=>o.listen(c),[o,c]),x.createElement(Bk,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const Qk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Em=x.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d}=t,f=Uk(t,Gk),{basename:m}=x.useContext(Ur),v,y=!1;if(typeof u=="string"&&qk.test(u)&&(v=u,Qk))try{let h=new URL(window.location.href),S=u.startsWith("//")?new URL(h.protocol+u):new URL(u),T=Qf(S.pathname,m);S.origin===h.origin&&T!=null?u=T+S.search+S.hash:y=!0}catch{}let w=Pk(u,{relative:i}),g=Zk(u,{replace:o,state:a,target:l,preventScrollReset:c,relative:i,viewTransition:d});function p(h){r&&r(h),h.defaultPrevented||g(h)}return x.createElement("a",dd({},f,{href:v||w,onClick:y||s?r:p,ref:n,target:l}))});var Cm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Cm||(Cm={}));var Pm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Pm||(Pm={}));function Zk(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=kk(),u=Wl(),c=tx(e,{relative:o});return x.useCallback(d=>
188{if(Hk(d,n)){d.preventDefault();let f=r!==void 0?r:tl(u)===tl(c);l(e,{replace:f,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,l,c,r,i,n,e,s,o,a])}const Jk=()=>{const[e,t]=x.useState(!1);return b.jsxs("header",{className:"bg-background border-b border-border sticky top-0 z-50",children:[b.jsxs("div",{className:"container mx-auto px-4 py-4 flex items-center justify-between",children:[b.jsx("div",{className:"flex items-center space-x-3",children:b.jsx("img",{src:"/lovable-uploads/828a0ed2-e5d9-4243-9fb6-5b171a0b2af3.png",alt:"APIthlete Logo",className:"h-10 w-auto"})}),b.jsxs("nav",{className:"hidden md:flex flex-1 justify-center items-center space-x-8",children:[b.jsxs("a",{href:"#features",className:"relative text-black text-lg font-medium transition-colors hover:text-green-600 group",children:["Features",b.jsx("span",{className:"absolute left-0 -bottom-1 w-0 h-0.5 bg-green-600 transition-all duration-300 group-hover:w-full"})]}),b.jsxs(Em,{to:"/pricing",className:"relative text-black text-lg font-medium transition-colors hover:text-green-600 group",children:["Pricing",b.jsx("span",{className:"absolute left-0 -bottom-1 w-0 h-0.5 bg-green-600 transition-all duration-300 group-hover:w-full"})]}),b.jsxs("a",{href:"#contact",className:"relative text-black text-lg font-medium transition-colors hover:text-green-600 group",children:["Contact",b.jsx("span",{className:"absolute left-0 -bottom-1 w-0 h-0.5 bg-green-600 transition-all duration-300 group-hover:w-full"})]})]}),b.jsx("button",{onClick:()=>t(!e),className:"md:hidden focus:outline-none",children:e?b.jsx(nw,{size:28}):b.jsx(FE,{size:28})})]}),e&&b.jsxs("div",{className:"md:hidden bg-background border-t border-border px-4 py-6 space-y-4",children:[b.jsx("a",{href:"#features",onClick:()=>t(!1),className:"block text-lg font-medium text-black hover:text-green-600",children:"Features"}),b.jsx(Em,{to:"/pricing",onClick:()=>t(!1),className:"block text-lg font-medium text-black hover:text-green-600",children:"Pricing"}),b.jsx("a",{href:"#contact",onClick:()=>t(!1),className:"block text-lg font-medium text-black hover:text-green-600",children:"Contact"})]})]})},eM="modulepreload",tM=function(e){return"/"+e},km={},nM=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(n.map(l=>{if(l=tM(l),l in km)return;km[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${c}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":eM,u||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((f,m)=>{d.addEventListener("load",f),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})},rM=Y0("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),fd=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?Zs:"button";return b.jsx(o,{className:tt(rM({variant:t,size:n,className:e})),ref:s,...i})});fd.displayName="Button";const iM=()=>
188{const[e,t]=x.useState(null),[n,r]=x.useState(!1),[i,s]=x.useState(0),o={desktop:["/hero.jpeg"],mobile:["/hero.jpeg"]};x.useEffect(()=>{nM(()=>import("./index-D6i8Stk3.js"),[]).then(f=>t(f));const c=()=>{r(window.innerWidth<768)};c(),window.addEventListener("resize",c);const d=setInterval(()=>{s(f=>(f+1)%o.desktop.length)},6e3);return()=>{window.removeEventListener("resize",c),clearInterval(d)}},[]);const a=["Smart Member Onboarding","Personalized Workout Scheduling","Automated Attendance & Access Control","Multi-Branch Gym Management","Integrated WhatsApp Chatbot","Centralized Member Data & History","Real-Time Alerts, Renewals, and Reminders","Mobile Application for Members"];if(!e)return null;const{motion:l,AnimatePresence:u}=e;return b.jsxs("section",{className:"relative text-primary-foreground py-16 px-4 lg:py-20 overflow-hidden min-h-screen flex items-center",children:[b.jsxs("div",{className:"absolute inset-0",children:[b.jsx(u,{mode:"wait",children:b.jsx(l.img,{src:n?o.mobile[i%o.mobile.length]:o.desktop[i%o.desktop.length],alt:"Gym background",initial:{opacity:0}
188,animate:{opacity:1},exit:{opacity:0},transition:{duration:1.2},className:"w-full h-full object-cover absolute inset-0"},n?o.mobile[i%o.mobile.length]:o.desktop[i%o.desktop.length])}),b.jsx("div",{className:"absolute inset-0 bg-black/50"})]}),b.jsx("div",{className:"container mx-auto max-w-7xl relative z-10 flex flex-col justify-center min-h-[70vh] md:min-h-screen",children:b.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 items-center",children:[b.jsxs("div",{className:"text-center lg:text-left",children:[b.jsx("div",{className:"inline-flex items-center space-x-2 bg-primary-foreground/10 rounded-full px-3 py-1 mb-6 text-sm md:text-base",children:b.jsx("span",{className:"text-primary-foreground/90",children:"All-in-One Gym Management software"})}),b.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-6 leading-tight drop-shadow-md",children:"APIthlete"}),b.jsx("p",{className:"text-lg md:text-xl mb-6 text-primary-foreground/90 leading-relaxed",children:"Digitalize your gym. Maximize your potential."}),b.jsx("p",{className:"text-base md:text-lg mb-10 text-primary-foreground/80",children:"In today's fast-evolving fitness industry, managing your gym efficiently while keeping your members engaged requires more than just spreadsheets and manual tracking. That's where APIthlete steps in — an intelligent gym software that simplifies your operations and empowers your growth."}),b.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 mb-12",children:[b.jsx("a",{href:"#contact",className:"w-full sm:w-auto",children:b.jsx(fd,{size:"lg",className:"w-full sm:w-auto bg-primary-foreground text-primary hover:bg-primary-foreground/90 text-base md:text-lg px-6 py-3 md:px-8 md:py-4",children:"Start Free Trial"})}),b.jsx("a",{href:"#features",className:"w-full sm:w-auto",children:b.jsx(fd,{variant:"outline",size:"lg",className:"w-full sm:w-auto bg-primary-foreground text-primary hover:bg-primary-foreground/90 text-base md:text-lg px-6 py-3 md:px-8 md:py-4",children:"Know More"})})]})]}),b.jsxs(l.div,{initial:{y:n?30:100,opacity:0,scale:n?1:.95},whileInView:{y:0,opacity:1,scale:1},transition:{duration:n?.6:.9,type:"spring",stiffness:100},viewport:{once:!0},className:"relative rounded-2xl p-6 md:p-8 bg-white/10 backdrop-blur-xl border border-white/20 shadow-[0_8px_40px_rgba(0,0,0,0.4)] overflow-hidden",children:[b.jsx(l.h3,{className:"text-xl md:text-2xl font-semibold mb-6 text-center text-white drop-shadow-md",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:.2},viewport:{once:!0},children:"Why Choose APIthlete?"}),b.jsx("div",{className:"grid gap-4 relative",children:a.map((c,d)=>b.jsxs(l.div,{className:"flex items-center space-x-3",initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},transition:{delay:d*.1+.3,duration:.5,type:"spring"},viewport:{once:!0},whileHover:n?{}:{scale:1.05,x:5},children:[b.jsx("div",{className:"rounded-full p-1 border-2 border-white bg-success flex items-center justify-center shadow-md",children:b.jsx(VE,{className:"w-4 h-4 text-success-foreground"})}),b.jsx("span",{className:"text-sm md:text-base text-white",children:c})]},d))})]})]})})]})},ix=x.createContext({});function sM(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const Zf=typeof window<"u",oM=Zf?x.useLayoutEffect:x.useEffect,Hl=x.createContext(null);function Jf(e,t){e.indexOf(t)===-1&&e.push(t)}function ep(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ZI([...e],t,n){const r=t<0?e.length+t:t;if(r>=0&&r<e.length){const i=n<0?e.length+n:n,[s]=e.splice(t,1);e.splice(i,0,s)}return e}const wn=(e,t,n)=>n>t?t:n<e?e:n;let JI=()=>{},rl=()=>{};const xn={},sx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ox(e){return typeof e=="object"&&e!==null}const ax=e=>/^0[^.\s]+$/u.test(e);function tp(e){let t;return()=>(t===void 0&&(t=e()),t)}const St=e=>e,aM=(e,t)=>n=>t(e(n)),bo=(...e)=>e.reduce(aM),so=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class np{constructor(){this.subscriptions=[]}add(t){return Jf(this.subscriptions,t),()=>ep(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Qt=e=>e*1e3,qt=e=>e/1e3;function lx(e,t){return t?e*(1e3/t):0}const ux=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,lM=1e-7,uM=12;function cM(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=ux(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>lM&&++a<uM);return o}function To(e,t,n,r){if(e===t&&n===r)return St;const i=s=>cM(s,0,1,e,n);return s=>s===0||s===1?s:ux(i(s),t,r)}const cx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,dx=e=>t=>1-e(1-t),fx=To(.33,1.53,.69,.99),rp=dx(fx),px=cx(rp),hx=e=>(e*=2)<1?.5*rp(e):.5*(2-Math.pow(2,-10*(e-1))),ip=e=>1-Math.sin(Math.acos(e)),mx=dx(ip),gx=cx(ip),dM=To(.42,0,1,1),fM=To(0,0,.58,1),vx=To(.42,0,.58,1),pM=e=>Array.isArray(e)&&typeof e[0]!="number",yx=e=>Array.isArray(e)&&typeof e[0]=="number",Mm={linear:St,easeIn:dM,easeInOut:vx,easeOut:fM,circIn:ip,circInOut:gx,circOut:mx,backIn:rp,backInOut:px,backOut:fx,anticipate:hx},hM=e=>typeof e=="string",Am=e=>{if(yx(e)){rl(e.length===4);const[t,n,r,i]=e;return To(t,n,r,i)}else if(hM(e))return rl(Mm[e]!==void 0),Mm[e];return e},Jo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Gt
vendor: 5,809 bytes, line 188
188={value:null,addProjectionMetrics:null};function mM(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){o.has(d)&&(c.schedule(d),e()),l++,d(a)}const c={schedule:(d,f=!1,m=!1)=>{const y=m&&i?n:r;return f&&o.add(d),y.has(d)||y.add(d),d},cancel:d=>{r.delete(d),o.delete(d)},process:d=>{if(a=d,i){s=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&Gt.value&&Gt.value.frameloop[t].push(l),l=0,n.clear(),i=!1,s&&(s=!1,c.process(d))}};return c}const gM=40;function wx(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Jo.reduce((h,S)=>(h[S]=mM(s,t?S:void 0),h),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:m,postRender:v}=o,y=()=>{const h=xn.useManualTiming?i.timestamp:performance.now();n=!1,xn.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(h-i.timestamp,gM),1)),i.timestamp=h,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),f.process(i),m.process(i),v.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},w=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:Jo.reduce((h,S)=>{const T=o[S];return h[S]=(E,k=!1,C=!1)=>(n||w(),T.schedule(E,k,C)),h},{}),cancel:h=>{for(let S=0;S<Jo.length;S++)o[Jo[S]].cancel(h)},state:i,steps:o}}const{schedule:le,cancel:ar,state:Re,steps:Du}=wx(typeof requestAnimationFrame<"u"?requestAnimationFrame:St,!0);let xa;function vM(){xa=void 0}const Qe={now:()=>(xa===void 0&&Qe.set(Re.isProcessing||xn.useManualTiming?Re.timestamp:performance.now()),xa),set:e=>{xa=e,queueMicrotask(vM)}},Rr={layout:0,mainThread:0,waapi:0},xx=e=>t=>typeof t=="string"&&t.startsWith(e),sp=xx("--"),yM=xx("var(--"),op=e=>yM(e)?wM.test(e.split("/*")[0].trim()):!1,wM=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Qi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},oo={...Qi,transform:e=>wn(0,1,e)},ea={...Qi,default:1},As=e=>Math.round(e*1e5)/1e5,ap=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function xM(e){return e==null}const SM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,lp=(e,t)=>n=>!!(typeof n=="string"&&SM.test(n)&&n.startsWith(e)||t&&!xM(n)&&Object.prototype.hasOwnProperty.call(n,t)),Sx=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(ap);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},bM=e=>wn(0,255,e),ju={...Qi,transform:e=>Math.round(bM(e))},br={test:lp("rgb","red"),parse:Sx("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ju.transform(e)+", "+ju.transform(t)+", "+ju.transform(n)+", "+As(oo.transform(r))+")"};function TM(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const pd={test:lp("#"),parse:TM,transform:br.transform},Eo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ln=Eo("deg"),Zt=Eo("%"),H=Eo("px"),EM=Eo("vh"),CM=Eo("vw"),Rm={...Zt,parse:e=>Zt.parse(e)/100,transform:e=>Zt.transform(e*100)},li={test:lp("hsl","hue"),parse:Sx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Zt.transform(As(t))+", "+Zt.transform(As(n))+", "+As(oo.transform(r))+")"},we={test:e=>br.test(e)||pd.test(e)||li.test(e),parse:e=>br.test(e)?br.parse(e):li.test(e)?li.parse(e):pd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?br.transform(e):li.transform(e),getAnimatableNone:e=>{const t=we.parse(e);return t.alpha=0,we.transform(t)}},PM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function kM(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(ap))==null?void 0:t.length)||0)+(((n=e.match(PM))==null?void 0:n.length)||0)>0}const bx="number",Tx="color",MM="var",AM="var(",Nm="${}",RM=/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 ao(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(RM,l=>(we.test(l)?(r.color.push(s),i.push(Tx),n.push(we.parse(l))):l.startsWith(AM)?(r.var.push(s),i.push(MM),n.push(l)):(r.number.push(s),i.push(bx),n.push(parseFloat(l))),++s,Nm)).split(Nm);return{values:n,split:a,indexes:r,types:i}}function Ex(e){return ao(e).values}function Cx(e){const{split:t,types:n}=ao(e),r=t.length;return i=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],i[o]!==void 0){const a=n[o];a===bx?s+=As(i[o]):a===Tx?s+=we.transform(i[o]):s+=i[o]}return s}}const NM=e=>typeof e=="number"?0:we.test(e)?we.getAnimatableNone(e):e;function LM(e){const t=Ex(e);return Cx(e)(t.map(NM))}const lr={test:kM,parse:Ex,createTransformer:Cx,getAnimatableNone:LM};function _u(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 OM({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=_u(l,a,e+1/3),s=_u(l,a,e),o=_u(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function il(e,t){return n=>n>0?t:e}const de=(e,t,n)=>e+(t-e)*n,Vu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},IM=[pd,br,li],DM=e=>IM.find(t=>t.test(e));function Lm(e){const t=DM(e);if(!t)return!1;let n=t.parse(e);return t===li&&(n=OM(n)),n}const Om=(e,t)=>
vendor: 9,573 bytes, line 188
188{const n=Lm(e),r=Lm(t);if(!n||!r)return il(e,t);const i={...n};return s=>(i.red=Vu(n.red,r.red,s),i.green=Vu(n.green,r.green,s),i.blue=Vu(n.blue,r.blue,s),i.alpha=de(n.alpha,r.alpha,s),br.transform(i))},hd=new Set(["none","hidden"]);function jM(e,t){return hd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function _M(e,t){return n=>de(e,t,n)}function up(e){return typeof e=="number"?_M:typeof e=="string"?op(e)?il:we.test(e)?Om:FM:Array.isArray(e)?Px:typeof e=="object"?we.test(e)?Om:VM:il}function Px(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>up(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function VM(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=up(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function zM(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const FM=(e,t)=>{const n=lr.createTransformer(t),r=ao(e),i=ao(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?hd.has(e)&&!i.values.length||hd.has(t)&&!r.values.length?jM(e,t):bo(Px(zM(r,i),i.values),n):il(e,t)};function kx(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?de(e,t,n):up(e)(e,t)}const BM=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>le.update(t,n),stop:()=>ar(t),now:()=>Re.isProcessing?Re.timestamp:Qe.now()}},Mx=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},sl=2e4;function cp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<sl;)t+=n,r=e.next(t);return t>=sl?1/0:t}function $M(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(cp(r),sl);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:qt(i)}}const UM=5;function Ax(e,t,n){const r=Math.max(t-UM,0);return lx(n-e(r),t-r)}const me={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},zu=.001;function WM({duration:e=me.duration,bounce:t=me.bounce,velocity:n=me.velocity,mass:r=me.mass}){let i,s,o=1-t;o=wn(me.minDamping,me.maxDamping,o),e=wn(me.minDuration,me.maxDuration,qt(e)),o<1?(i=u=>{const c=u*o,d=c*e,f=c-n,m=md(u,o),v=Math.exp(-d);return zu-f/m*v},s=u=>{const d=u*o*e,f=d*n+n,m=Math.pow(o,2)*Math.pow(u,2)*e,v=Math.exp(-d),y=md(Math.pow(u,2),o);return(-i(u)+zu>0?-1:1)*((f-m)*v)/y}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-zu+c*d},s=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=GM(i,s,a);if(e=Qt(e),isNaN(l))return{stiffness:me.stiffness,damping:me.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const HM=12;function GM(e,t,n){let r=n;for(let i=1;i<HM;i++)r=r-e(r)/t(r);return r}function md(e,t){return e*Math.sqrt(1-t*t)}const KM=["duration","bounce"],YM=["stiffness","damping","mass"];function Im(e,t){return t.some(n=>e[n]!==void 0)}function XM(e){let t={velocity:me.velocity,stiffness:me.stiffness,damping:me.damping,mass:me.mass,isResolvedFromDuration:!1,...e};if(!Im(e,YM)&&Im(e,KM))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*wn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:me.mass,stiffness:i,damping:s}}else{const n=WM(e);t={...t,...n,mass:me.mass},t.isResolvedFromDuration=!0}return t}function ol(e=me.visualDuration,t=me.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:m}=XM({...n,velocity:-qt(n.velocity||0)}),v=f||0,y=u/(2*Math.sqrt(l*c)),w=o-s,g=qt(Math.sqrt(l/c)),p=Math.abs(w)<5;r||(r=p?me.restSpeed.granular:me.restSpeed.default),i||(i=p?me.restDelta.granular:me.restDelta.default);let h;if(y<1){const T=md(g,y);h=E=>{const k=Math.exp(-y*g*E);return o-k*((v+y*g*w)/T*Math.sin(T*E)+w*Math.cos(T*E))}}else if(y===1)h=T=>o-Math.exp(-g*T)*(w+(v+g*w)*T);else{const T=g*Math.sqrt(y*y-1);h=E=>{const k=Math.exp(-y*g*E),C=Math.min(T*E,300);return o-k*((v+y*g*w)*Math.sinh(C)+T*w*Math.cosh(C))/T}}const S={calculatedDuration:m&&d||null,next:T=>{const E=h(T);if(m)a.done=T>=d;else{let k=T===0?v:0;y<1&&(k=T===0?Qt(v):Ax(h,T,E));const C=Math.abs(k)<=r,A=Math.abs(o-E)<=i;a.done=C&&A}return a.value=a.done?o:E,a},toString:()=>{const T=Math.min(cp(S),sl),E=Mx(k=>S.next(T*k).value,T,30);return T+"ms "+E},toTransition:()=>{}};return S}ol.applyToOptions=e=>{const t=$M(e,100,ol);return e.ease=t.ease,e.duration=Qt(t.duration),e.type="keyframes",e};function gd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},m=C=>a!==void 0&&C<a||l!==void 0&&C>l,v=C=>a===void 0?l:l===void 0||Math.abs(a-C)<Math.abs(l-C)?a:l;let y=n*t;const w=d+y,g=o===void 0?w:o(w);g!==w&&(y=g-d);const p=C=>-y*Math.exp(-C/r),h=C=>g+p(C),S=C=>{const A=p(C),M=h(C);f.done=Math.abs(A)<=u,f.value=f.done?g:M};let T,E;const k=C=>{m(f.value)&&(T=C,E=ol({keyframes:[f.value,v(f.value)],velocity:Ax(h,C,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return k(0),{calculatedDuration:null,next:C=>{let A=!1;return!E&&T===void 0&&(A=!0,S(C),k(C)),T!==void 0&&C>=T?E.next(C-T):(!A&&S(C),f)}}}function QM(e,t,n){const r=[],i=n||xn.mix||kx,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||St:t;a=bo(l,a)}r.push(a)}return r}function qM(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(rl(s===t.length),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=QM(t,r,i),l=a.length,u=c=>{if(o&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=so(e[d],e[d+1],c);return a[d](f)};return n?c=>u(wn(e[0],e[s-1],c)):u}function ZM(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=so(0,t,r);e.push(de(n,1,i))}}function JM(e){const t=[0];return ZM(t,e.length-1),t}function eA(e,t){return e.map(n=>n*t)}function tA(e,t){return e.map(()=>t||vx).splice(0,e.length-1)}function Rs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=pM(r)?r.map(Am):Am(r),s={done:!1,value:t[0]},o=eA(n&&n.length===t.length?n:JM(t),e),a=qM(o,t,{ease:Array.isArray(i)?i:tA(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const nA=e=>e!==null;function dp(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(nA),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const rA={decay:gd,inertia:gd,tween:Rs,keyframes:Rs,spring:ol};function Rx(e){typeof e.type=="string"&&(e.type=rA[e.type])}class fp{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 iA=e=>e/100;class Gl extends fp{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Qe.now()&&this.tick(Qe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},Rr.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Rx(t);const{type:n=Rs,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const l=n||Rs;l!==Rs&&typeof a[0]!="number"&&(this.mixKeyframes=bo(iA,kx(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=cp(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:m,type:v,onUpdate:y,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),p=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let h=this.currentTime,S=r;if(d){const C=Math.min(this.currentTime,i)/a;let A=Math.floor(C),M=C%1;!M&&C>=1&&(M=1),M===1&&A--,A=Math.min(A,d+1),!!(A%2)&&(f==="reverse"?(M=1-M,m&&(M-=m/a)):f==="mirror"&&(S=o)),h=wn(0,1,M)*a}const T=p?{done:!1,value:c[0]}:S.next(h);s&&(T.value=s(T.value));let{done:E}=T;!p&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return k&&v!==gd&&(T.value=dp(c,this.options,w,this.speed)),y&&y(T.value),k&&this.finish(),T}
188then(t,n){return this.finished.then(t,n)}get duration(){return qt(this.calculatedDuration)}get time(){return qt(this.currentTime)}set time(t){var n;t=Qt(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(Qe.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=qt(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=BM,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Qe.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,Rr.mainThread--}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 eD(e){return new Gl(e)}function sA(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Tr=e=>e*180/Math.PI,vd=e=>{const t=Tr(Math.atan2(e[1],e[0]));return yd(t)},oA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:vd,rotateZ:vd,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},yd=e=>(e=e%360,e<0&&(e+=360),e),Dm=vd,jm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),_m=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),aA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:jm,scaleY:_m,scale:e=>(jm(e)+_m(e))/2,rotateX:e=>yd(Tr(Math.atan2(e[6],e[5]))),rotateY:e=>yd(Tr(Math.atan2(-e[2],e[0]))),rotateZ:Dm,rotate:Dm,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 wd(e){return e.includes("scale")?1:0}function xd(e,t){if(!e||e==="none")return wd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=aA,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=oA,i=a}if(!i)return wd(t);const s=r[t],o=i[1].split(",").map(uA);return typeof s=="function"?s(o):o[s]}const lA=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return xd(n,t)};function uA(e){return parseFloat(e.trim())}const qi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Zi=new Set(qi),Vm=e=>e===Qi||e===H,cA=new Set(["x","y","z"]),dA=qi.filter(e=>!cA.has(e));function fA(e){const t=[];return dA.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Nr={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})=>xd(t,"x"),y:(e,{transform:t})=>xd(t,"y")};Nr.translateX=Nr.x;Nr.translateY=Nr.y;const Lr=new Set;let Sd=!1,bd=!1,Td=!1;function Nx(){if(bd){const e=Array.from(Lr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=fA(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);
vendor: 1,593 bytes, line 188
188i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}bd=!1,Sd=!1,Lr.forEach(e=>e.complete(Td)),Lr.clear()}function Lx(){Lr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(bd=!0)})}function pA(){Td=!0,Lx(),Nx(),Td=!1}class pp{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Lr.add(this),Sd||(Sd=!0,le.read(Lx),le.resolveKeyframes(Nx))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}sA(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Lr.delete(this)}cancel(){this.state==="scheduled"&&(Lr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const hA=e=>e.startsWith("--");function mA(e,t,n){hA(t)?e.style.setProperty(t,n):e.style[t]=n}const gA=tp(()=>window.ScrollTimeline!==void 0),vA={};function yA(e,t){const n=tp(e);return()=>vA[t]??n()}const Ox=yA(()=>{try{document.createElement("div").animate({opacity:0}
188,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ys=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,zm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ys([0,.65,.55,1]),circOut:ys([.55,0,1,.45]),backIn:ys([.31,.01,.66,-.59]),backOut:ys([.33,1.53,.69,.99])};function Ix(e,t){if(e)return typeof e=="function"?Ox()?Mx(e,t):"ease-out":yx(e)?ys(e):Array.isArray(e)?e.map(n=>Ix(n,t)||zm.easeOut):zm[e]}function wA(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=Ix(a,i);Array.isArray(d)&&(c.easing=d),Gt.value&&Rr.waapi++;const f={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};u&&(f.pseudoElement=u);const m=e.animate(c,f);return Gt.value&&m.finished.finally(()=>{Rr.waapi--}),m}function Dx(e){return typeof e=="function"&&"applyToOptions"in e}function xA({type:e,...t}){return Dx(e)&&Ox()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class SA extends fp{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,rl(typeof t.type!="string");const u=xA(t);this.animation=wA(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const c=dp(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):mA(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return qt(Number(t))}get time(){return qt(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Qt(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 Number(this.animation.startTime)}set startTime(t){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&&gA()?(this.animation.timeline=t,St):n(this)}}const jx={anticipate:hx,backInOut:px,circInOut:gx};function bA(e){return e in jx}function TA(e){typeof e.ease=="string"&&bA(e.ease)&&(e.ease=jx[e.ease])}const Fm=10;class EA extends SA{constructor(t){TA(t),Rx(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Gl({...o,autoplay:!1}),l=Qt(this.finishedTime??this.time);n.setWithVelocity(a.sample(l-Fm).value,a.sample(l).value,Fm),a.stop()}}const Bm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(lr.test(e)||e==="0")&&!e.startsWith("url("));function CA(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 PA(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=Bm(i,t),a=Bm(s,t);return!o||!a?!1:CA(e)||(n==="spring"||Dx(n))&&r}function Ed(e){e.duration=0,e.type}const kA=new Set(["opacity","clipPath","filter","transform"]),MA=tp(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function AA(e){var c;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o}=e;if(!(((c=t==null?void 0:t.owner)==null?void 0:c.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return MA()&&n&&kA.has(n)&&(n!=="transform"||!u)&&!l&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const RA=40;class NA extends fp{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:
188o="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var v;super(),this.stop=()=>{var y,w;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=Qe.now();const f={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:l,motionValue:u,element:c,...d},m=(c==null?void 0:c.KeyframeResolver)||pp;this.keyframeResolver=new m(a,(y,w,g)=>this.onKeyframesResolved(y,w,f,!g),l,u,c),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,i){this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Qe.now(),PA(t,s,o,a)||((xn.instantAnimations||!l)&&(c==null||c(dp(t,r,n))),t[0]=t[t.length-1],Ed(r),r.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>RA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},m=!u&&AA(f)?new EA({...f,element:f.motionValue.owner.current}):new Gl(f);m.finished.then(()=>this.notifyFinished()).catch(St),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}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(),pA()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const LA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function OA(e){const t=LA.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function _x(e,t,n=1){const[r,i]=OA(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return sx(o)?parseFloat(o):o}return op(i)?_x(i,t,n+1):i}function hp(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const Vx=new Set(["width","height","top","left","right","bottom",...qi]),IA={test:e=>e==="auto",parse:e=>e},zx=e=>t=>t.test(e),Fx=[Qi,H,Zt,Ln,CM,EM,IA],$m=e=>Fx.find(zx(e));function DA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ax(e):!0}const jA=new Set(["brightness","contrast","saturate","opacity"]);function _A(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ap)||[];if(!r)return e;const i=n.replace(r,"");let s=jA.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const VA=/\b([a-z-]*)\(.*?\)/gu,Cd={...lr,getAnimatableNone:e=>{const t=e.match(VA);return t?t.map(_A).join(" "):e}},Um={...Qi,transform:Math.round},zA={rotate:Ln,rotateX:Ln,rotateY:Ln,rotateZ:Ln,scale:ea,scaleX:ea,scaleY:ea,scaleZ:ea,skew:Ln,skewX:Ln,skewY:Ln,distance:H,translateX:H,translateY:H,translateZ:H,x:H,y:H,z:H,perspective:H,transformPerspective:H,opacity:oo,originX:Rm,originY:Rm,originZ:H},mp={borderWidth:H,borderTopWidth:H,borderRightWidth:H,borderBottomWidth:H,borderLeftWidth:H,borderRadius:H,radius:H,borderTopLeftRadius:H,borderTopRightRadius:H,borderBottomRightRadius:H,borderBottomLeftRadius:H,width:H,maxWidth:H,height:H,maxHeight:H,top:H,right:H,bottom:H,left:H,padding:H,paddingTop:H,paddingRight:H,paddingBottom:H,paddingLeft:H,margin:H,marginTop:H,marginRight:H,marginBottom:H,marginLeft:H,backgroundPositionX:H,backgroundPositionY:H,...zA,zIndex:Um,fillOpacity:oo,strokeOpacity:oo,numOctaves:Um},FA={...mp,color:we,backgroundColor:we,outlineColor:we,fill:we,stroke:we,borderColor:we,borderTopColor:we,borderRightColor:we,borderBottomColor:we,borderLeftColor:we,filter:Cd,WebkitFilter:Cd},Bx=e=>FA[e];
vendor: 1,753 bytes, line 188
188function $x(e,t){let n=Bx(e);return n!==Cd&&(n=lr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const BA=new Set(["auto","none","0"]);function $A(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!BA.has(s)&&ao(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=$x(n,i)}class UA extends pp{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),op(u))){const c=_x(u,n.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Vx.has(r)||t.length!==2)return;const[i,s]=t,o=$m(i),a=$m(s);if(o!==a)if(Vm(o)&&Vm(a))for(let l=0;l<t.length;l++){const u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else Nr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||DA(t[i]))&&r.push(i);r.length&&$A(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=Nr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=Nr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
vendor: 4,693 bytes, line 188
188h(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function WA(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);const i=(n==null?void 0:n[e])??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const Ux=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function HA(e){return ox(e)&&"offsetHeight"in e}const Wm=30,GA=e=>!isNaN(parseFloat(e)),Hm={current:void 0};class KA{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=Qe.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.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=Qe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=GA(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 np);const r=this.events[t].add(n);return t==="change"?()=>{r(),le.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 Hm.current&&Hm.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Qe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Wm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Wm);return lx(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 Bi(e,t){return new KA(e,t)}const{schedule:gp,cancel:tD}=wx(queueMicrotask,!1),Pt={x:!1,y:!1};function Wx(){return Pt.x||Pt.y}function YA(e){return e==="x"||e==="y"?Pt[e]?null:(Pt[e]=!0,()=>{Pt[e]=!1}):Pt.x||Pt.y?null:(Pt.x=Pt.y=!0,()=>{Pt.x=Pt.y=!1})}function Hx(e,t){const n=WA(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Gm(e){return!(e.pointerType==="touch"||Wx())}function XA(e,t,n={}){const[r,i,s]=Hx(e,n),o=a=>{if(!Gm(a))return;const{target:l}=a,u=t(l,a);if(typeof u!="function"||!l)return;const c=d=>{Gm(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return r.forEach(a=>{a.addEventListener("pointerenter",o,i)}),s}const Gx=(e,t)=>t?e===t?!0:Gx(e,t.parentElement):!1,vp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,QA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function qA(e){return QA.has(e.tagName)||e.tabIndex!==-1}const Sa=new WeakSet;function Km(e){return t=>{t.key==="Enter"&&e(t)}}function Fu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const ZA=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Km(()=>{if(Sa.has(n))return;Fu(n,"down");const i=Km(()=>{Fu(n,"up")}),s=()=>Fu(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Ym(e){return vp(e)&&!Wx()}function JA(e,t,n={}){const[r,i,s]=Hx(e,n),o=a=>{const l=a.currentTarget;if(!Ym(a))return;Sa.add(l);const u=t(l,a),c=(m,v)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),Sa.has(l)&&Sa.delete(l),Ym(m)&&t
vendor: 4,838 bytes, line 188
188ypeof u=="function"&&u(m,{success:v})},d=m=>{c(m,l===window||l===document||n.useGlobalTarget||Gx(l,m.target))},f=m=>{c(m,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",f,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),HA(a)&&(a.addEventListener("focus",u=>ZA(u,i)),!qA(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function Kx(e){return ox(e)&&"ownerSVGElement"in e}function eR(e){return Kx(e)&&e.tagName==="svg"}const Ve=e=>!!(e&&e.getVelocity),tR=[...Fx,we,lr],nR=e=>tR.find(zx(e)),Yx=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function rR(e=!0){const t=x.useContext(Hl);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=x.useId();x.useEffect(()=>{if(e)return i(s)},[e]);const o=x.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}function nD(){return iR(x.useContext(Hl))}function iR(e){return e===null?!0:e.isPresent}const Xx=x.createContext({strict:!1}),Xm={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"]},$i={};for(const e in Xm)$i[e]={isEnabled:t=>Xm[e].some(n=>!!t[n])};function sR(e){for(const t in e)$i[t]={...$i[t],...e[t]}}const oR=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function al(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||oR.has(e)}let Qx=e=>!al(e);function aR(e){typeof e=="function"&&(Qx=t=>t.startsWith("on")?!al(t):e(t))}try{aR(require("@emotion/is-prop-valid").default)}catch{}function lR(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Qx(i)||n===!0&&al(i)||!t&&!al(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Kl=x.createContext({});function Yl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function lo(e){return typeof e=="string"||Array.isArray(e)}const yp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],wp=["initial",...yp];function Xl(e){return Yl(e.animate)||wp.some(t=>lo(e[t]))}function qx(e){return!!(Xl(e)||e.variants)}function uR(e,t){if(Xl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||lo(n)?n:void 0,animate:lo(r)?r:void 0}}return e.inherit!==!1?t:{}}function cR(e){const{initial:t,animate:n}=uR(e,x.useContext(Kl));return x.useMemo(()=>({initial:t,animate:n}),[Qm(t),Qm(n)])}function Qm(e){return Array.isArray(e)?e.join(" "):e}const uo={};function dR(e){for(const t in e)uo[t]=e[t],sp(t)&&(uo[t].isCSSVariable=!0)}function Zx(e,{layout:t,layoutId:n}){return Zi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!uo[e]||e==="opacity")}const fR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},pR=qi.length;function hR(e,t,n){let r="",i=!0;for(let s=0;s<pR;s++){const o=qi[s],a=e[o];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(o.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=Ux(a,mp[o]);if(!l){i=!1;const c=fR[o]||o;r+=`${c}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function xp(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const l in t){const u=t[l];if(Zi.has(l)){o=!0;continue}else if(sp(l)){i[l]=u;continue}else{const c=Ux(u,mp[l]);l.startsWith("origin")?(a=!0,s[l]=c):r[l]=c}}if(t.transform||(o||n?r.transform=hR(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=s;r.transformOrigin=`${l} ${u} ${c}`}}const Sp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Jx(e,t,n){for(const r in t)!Ve(t[r])&&!Zx(r,n)&&(e[r]=t[r])}function mR({transformTemplate:e},t){return x.useMemo(()=>{const n=Sp();return xp(n,t,e),Object.assign({},n.vars,n.style)},[t])}function gR(e,t){const n=e.style||{},r={};return Jx(r,n,e),Object.assign(r,mR(e,t)),r}function vR(e,t){const n={},r=gR(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"}
188`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const yR={offset:"stroke-dashoffset",array:"stroke-dasharray"},wR={offset:"strokeDashoffset",array:"strokeDasharray"};function xR(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?yR:wR;e[s.offset]=H.transform(-r);const o=H.transform(t),a=H.transform(n);e[s.array]=`${o} ${a}`}function e1(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(xp(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&xR(d,i,s,o,!1)}const t1=()=>({...Sp(),attrs:{}}),n1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function SR(e,t,n,r){const i=x.useMemo(()=>{const s=t1();return e1(s,t,n1(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Jx(s,e.style,e),i.style={...s,...i.style}}return i}const bR=["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 bp(e){return typeof e!="string"||e.includes("-")?!1:!!(bR.indexOf(e)>-1||/[A-Z]/u.test(e))}function TR(e,t,n,{latestValues:r},i,s=!1){const a=(bp(e)?SR:vR)(t,r,i,e),l=lR(t,typeof e=="string",s),u=e!==x.Fragment?{...l,...a,ref:n}:{},{children:c}=t,d=x.useMemo(()=>Ve(c)?c.get():c,[c]);return x.createElement(e,{...u,children:d})}function qm(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Tp(e,t,n,r){if(typeof t=="function"){const[i,s]=qm(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=qm(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function ba(e){return Ve(e)?e.get():e}function ER({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:CR(n,r,i,e),renderState:t()}}function CR(e,t,n,r){const i={},s=r(e,{});for(const f in s)i[f]=ba(s[f]);let{initial:o,animate:a}=e;const l=Xl(e),u=qx(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?a:o;if(d&&typeof d!="boolean"&&!Yl(d)){const f=Array.isArray(d)?d:[d];for(let m=0;m<f.length;m++){const v=Tp(e,f[m]);if(v){const{transitionEnd:y,transition:w,...g}=v;for(const p in g){let h=g[p];if(Array.isArray(h)){const S=c?h.length-1:0;h=h[S]}h!==null&&(i[p]=h)}for(const p in y)i[p]=y[p]}}}return i}const r1=e=>(t,n)=>{const r=x.useContext(Kl),i=x.useContext(Hl),s=()=>ER(e,t,r,i);return n?s():sM(s)};function Ep(e,t,n){var s;const{style:r}=e,i={};for(const o in r)(Ve(r[o])||t.style&&Ve(t.style[o])||Zx(o,e)||((s=n==null?void 0:n.getValue(o))==null?void 0:s.liveStyle)!==void 0)&&(i[o]=r[o]);return i}const PR=r1({scrapeMotionValuesFromProps:Ep,createRenderState:Sp});function i1(e,t,n){const r=Ep(e,t,n);for(const i in e)if(Ve(e[i])||Ve(t[i])){const s=qi.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}const kR=r1({scrapeMotionValuesFromProps:i1,createRenderState:t1}),MR=Symbol.for("motionComponentSymbol");function ui(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function AR(e,t,n){return x.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ui(n)&&(n.current=r))},[t])}const Cp=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),RR="framerAppearId",s1="data-"+Cp(RR),o1=x.createContext({});function NR(e,t,n,r,i){var y,w;const{visualElement:s}=x.useContext(Kl),o=x.useContext(Xx),a=x.useContext(Hl),l=x.useContext(Yx).reducedMotion,u=x.useRef(null);r=r||o.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:s,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:l}));const c=u.current,d=x.useContext(o1);c&&!c.projection&&i&&(c.type==="html"||c.type==="svg")&&LR(u.current,n,i,d);const f=x.useRef(!1);x.useInsertionEffect(()=>{c&&f.current&&c.update(n,a)});const m=n[s1],v=x.useRef(!!m&&!((y=window.MotionHandoffIsComplete)!=null&&y.call(window,m))&&((w=window.MotionHasOptimisedAnimation)==null?void 0:w.call(window,m)));return oM(()=>{c&&(f.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),v.current&&c.animationState&&c.animationState.animateChanges())}),x.useEffect(()=>{c&&(!v.current&&c.animationState&&c.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var g;(g=window.MotionHandoffMarkAsComplete)==null||g.call(window,m)}),v.current=!1),c.enteringChildren=void 0)}),c}function LR(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:a1(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&ui(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}function a1(e){if(e)return e.options.allowProjection!==!1?e.projection:a1(e.parent)}function Bu(e,{forwardMotionProps:t=!1}={},n,r){n&&sR(n);const i=bp(e)?kR:PR;function s(a,l){let u;const c={...x.useContext(Yx),...a,layoutId:OR(a)},{isStatic:d}=c,f=cR(a),m=i(a,d);if(!d&&Zf){IR();const v=DR(c);u=v.MeasureLayout,f.visualElement=NR(e,m,c,r,v.ProjectionNode)}return b.jsxs(Kl.Provider,{value:f,children:[u&&f.visualElement?b.jsx(u,{visualElement:f.visualElement,...c}):null,TR(e,a,AR(m,f.visualElement,l),m,d,t)]})}s.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const o=x.forwardRef(s);return o[MR]=e,o}function OR({layoutId:e}){const t=x.useContext(ix).id;return t&&e!==void 0?t+"-"+e:e}function IR(e,t){x.useContext(Xx).strict}function DR(e){const{drag:t,layout:n}=$i;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
vendor: 17,514 bytes, line 188
188function jR(e,t){if(typeof Proxy>"u")return Bu;const n=new Map,r=(s,o)=>Bu(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,Bu(o,void 0,e,t)),n.get(o))})}function l1({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function _R({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function VR(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 $u(e){return e===void 0||e===1}function Pd({scale:e,scaleX:t,scaleY:n}){return!$u(e)||!$u(t)||!$u(n)}function vr(e){return Pd(e)||u1(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function u1(e){return Zm(e.x)||Zm(e.y)}function Zm(e){return e&&e!=="0%"}function ll(e,t,n){const r=e-n,i=t*r;return n+i}function Jm(e,t,n,r,i){return i!==void 0&&(e=ll(e,i,r)),ll(e,n,r)+t}function kd(e,t=0,n=1,r,i){e.min=Jm(e.min,t,n,r,i),e.max=Jm(e.max,t,n,r,i)}function c1(e,{x:t,y:n}){kd(e.x,t.translate,t.scale,t.originPoint),kd(e.y,n.translate,n.scale,n.originPoint)}const eg=.999999999999,tg=1.0000000000001;function zR(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a<i;a++){s=n[a],o=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&di(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,c1(e,o)),r&&vr(s.latestValues)&&di(e,s.latestValues))}t.x<tg&&t.x>eg&&(t.x=1),t.y<tg&&t.y>eg&&(t.y=1)}function ci(e,t){e.min=e.min+t,e.max=e.max+t}function ng(e,t,n,r,i=.5){const s=de(e.min,e.max,i);kd(e,t,n,s,r)}function di(e,t){ng(e.x,t.x,t.scaleX,t.scale,t.originX),ng(e.y,t.y,t.scaleY,t.scale,t.originY)}function d1(e,t){return l1(VR(e.getBoundingClientRect(),t))}function FR(e,t,n){const r=d1(e,n),{scroll:i}=t;return i&&(ci(r.x,i.offset.x),ci(r.y,i.offset.y)),r}const rg=()=>({translate:0,scale:1,origin:0,originPoint:0}),fi=()=>({x:rg(),y:rg()}),ig=()=>({min:0,max:0}),ve=()=>({x:ig(),y:ig()}),Md={current:null},f1={current:!1};function BR(){if(f1.current=!0,!!Zf)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Md.current=e.matches;e.addEventListener("change",t),t()}else Md.current=!1}const $R=new WeakMap;function UR(e,t,n){for(const r in t){const i=t[r],s=n[r];if(Ve(i))e.addValue(r,i);else if(Ve(s))e.addValue(r,Bi(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,Bi(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const sg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class WR{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=pp,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Qe.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,le.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=Xl(n),this.isVariantNode=qx(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const m=d[f];l[f]!==void 0&&Ve(m)&&m.set(l[f])}}mount(t){var n;this.current=t,$R.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),f1.current||BR(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Md.current,(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}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){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Zi.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&le.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s&&s(),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 $i){const n=$i[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ve()}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<sg.length;r++){const i=sg[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=UR(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Bi(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"&&(sx(r)||ax(r))?r=parseFloat(r):!nR(r)&&lr.test(n)&&(r=$x(t,n)),this.setBaseTarget(t,Ve(r)?r.get():r)),Ve(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=Tp(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ve(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new np),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){gp.render(this.render)}}class p1 extends WR{constructor(){super(...arguments),this.KeyframeResolver=UA}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ve(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function h1(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function HR(e){return window.getComputedStyle(e)}class GR extends p1{constructor(){super(...arguments),this.type="html",this.renderInstance=h1}readValueFromInstance(t,n){var r;if(Zi.has(n))return(r=this.projection)!=null&&r.isProjecting?wd(n):lA(t,n);{const i=HR(t),s=(sp(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return d1(t,n)}build(t,n,r){xp(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Ep(t,n,r)}}const m1=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"]);function KR(e,t,n,r){h1(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(m1.has(i)?i:Cp(i),t.attrs[i])}class YR extends p1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ve}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Zi.has(n)){const r=Bx(n);return r&&r.default||0}return n=m1.has(n)?n:Cp(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return i1(t,n,r)}build(t,n,r){e1(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){KR(t,n,r,i)}mount(t){this.isSVGTag=n1(t.tagName),super.mount(t)}}const XR=(e,t)=>bp(e)?new YR(t):new GR(t,{allowProjection:e!==x.Fragment});function Si(e,t,n){const r=e.getProps();return Tp(r,t,n!==void 0?n:r.custom,e)}const Ad=e=>Array.isArray(e);function QR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Bi(n))}function qR(e){return Ad(e)?e[e.length-1]||0:e}function ZR(e,t){const n=Si(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=qR(s[o]);QR(e,o,a)}}function JR(e){return!!(Ve(e)&&e.add)}function Rd(e,t){const n=e.getValue("willChange");if(JR(n))return n.add(t);if(!n&&xn.WillChange){const r=new xn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function g1(e){return e.props[s1]}const eN=e=>e!==null;function tN(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(eN),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}const nN={type:"spring",stiffness:500,damping:25,restSpeed:10},rN=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),iN={type:"keyframes",duration:.8},sN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},oN=(e,{keyframes:t})=>t.length>2?iN:Zi.has(e)?e.startsWith("scale")?rN(t[1]):nN:sN;function aN({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Pp=(e,t,n,r={},i,s)=>o=>{const a=hp(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Qt(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};aN(a)||Object.assign(c,oN(e,c)),c.duration&&(c.duration=Qt(c.duration)),c.repeatDelay&&(c.repeatDelay=Qt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Ed(c),c.delay===0&&(d=!0)),(xn.instantAnimations||xn.skipAnimations)&&(d=!0,Ed(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!s&&t.get()!==void 0){const f=tN(c.keyframes,a);if(f!==void 0){le.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new Gl(c):new NA(c)};function lN({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function v1(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:o,...a}=t;r&&(s=r);const l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const c in a){const d=e.getValue(c,e.latestValues[c]??null),f=a[c];if(f===void 0||u&&lN(u,c))continue;const m={delay:n,...hp(s||{},c)},v=d.get();if(v!==void 0&&!d.isAnimating&&!Array.isArray(f)&&f===v&&!m.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){const g=g1(e);if(g){const p=window.MotionHandoffAnimation(g,c,le);p!==null&&(m.startTime=p,y=!0)}}Rd(e,c),d.start(Pp(c,d,f,e.shouldReduceMotion&&Vx.has(c)?{type:!1}:m,e,y));const w=d.animation;w&&l.push(w)}return o&&Promise.all(l).then(()=>{le.update(()=>{o&&ZR(e,o)})}),l}function y1(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}function Nd(e,t,n={}){var l;const r=Si(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(v1(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return uN(e,t,u,c,d,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,c]=a==="beforeChildren"?[s,o]:[o,s];return u().then(()=>c())}else return Promise.all([s(),o(n.delay)])}function uN(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Nd(l,t,{...o,delay:n+(typeof r=="function"?0:r)+y1(e.variantChildren,l,r,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function cN(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Nd(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Nd(e,t,n);else{const i=typeof t=="function"?Si(e,t,n.custom):t;r=Promise.all(v1(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function w1(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 dN=wp.length;function x1(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?x1(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<dN;n++){const r=wp[n],i=e.props[r];(lo(i)||i===!1)&&(t[r]=i)}return t}const fN=[...yp].reverse(),pN=yp.length;function hN(e){return t=>Promise.all(t.map(({animation:n,options:r})=>cN(e,n,r)))}function mN(e){let t=hN(e),n=og(),r=!0;const i=l=>(u,c)=>{var f;const d=Si(e,c,l==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(d){const{transition:m,transitionEnd:v,...y}=d;u={...u,...y,...v}}return u};function s(l){t=l(e)}function o(l){const{props:u}=e,c=x1(e.parent)||{},d=[],f=new Set;let m={},v=1/0;for(let w=0;w<pN;w++){const g=fN[w],p=n[g],h=u[g]!==void 0?u[g]:c[g],S=lo(h),T=g===l?p.isActive:null;T===!1&&(v=w);let E=h===c[g]&&h!==u[g]&&S;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),p.protectedKeys={...m},!p.isActive&&T===null||!h&&!p.prevProp||Yl(h)||typeof h=="boolean")continue;const k=gN(p.prevProp,h);let C=k||g===l&&p.isActive&&!E&&S||w>v&&S,A=!1;const M=Array.isArray(h)?h:[h];let R=M.reduce(i(g),{});T===!1&&(R={});const{prevResolvedValues:L={}}=p,z={...L,...R},D=F=>{C=!0,f.has(F)&&(A=!0,f.delete(F)),p.needsAnimating[F]=!0;const P=e.getValue(F);P&&(P.liveStyle=!1)};for(const F in z){const P=R[F],N=L[F];if(m.hasOwnProperty(F))continue;let V=!1;Ad(P)&&Ad(N)?V=!w1(P,N):V=P!==N,V?P!=null?D(F):f.add(F):P!==void 0&&f.has(F)?D(F):p.protectedKeys[F]=!0}p.prevProp=h,p.prevResolvedValues=R,p.isActive&&(m={...m,...R}),r&&e.blockInitialAnimation&&(C=!1);const $=E&&k;C&&(!$||A)&&d.push(...M.map(F=>{const P={type:g};if(typeof F=="string"&&r&&!$&&e.manuallyAnimateOnMount&&e.parent){const{parent:N}=e,V=Si(N,F);if(N.enteringChildren&&V){const{delayChildren:B}=V.transition||{};P.delay=y1(N.enteringChildren,e,B)}}return{animation:F,options:P}}))}
vendor: 20,059 bytes, line 188
188if(f.size){const w={};if(typeof u.initial!="boolean"){const g=Si(e,Array.isArray(u.initial)?u.initial[0]:u.initial);g&&g.transition&&(w.transition=g.transition)}f.forEach(g=>{const p=e.getBaseTarget(g),h=e.getValue(g);h&&(h.liveStyle=!0),w[g]=p??null}),d.push({animation:w})}let y=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(d):Promise.resolve()}function a(l,u){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)==null||d.forEach(f=>{var m;return(m=f.animationState)==null?void 0:m.setActive(l,u)}),n[l].isActive=u;const c=o(l);for(const f in n)n[f].protectedKeys={};return c}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=og(),r=!0}}}function gN(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!w1(t,e):!1}function hr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function og(){return{animate:hr(!0),whileInView:hr(),whileHover:hr(),whileTap:hr(),whileDrag:hr(),whileFocus:hr(),exit:hr()}}class fr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class vN extends fr{constructor(t){super(t),t.animationState||(t.animationState=mN(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Yl(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 yN=0;class wN extends fr{constructor(){super(...arguments),this.id=yN++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const xN={animation:{Feature:vN},exit:{Feature:wN}};function co(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Co(e){return{point:{x:e.pageX,y:e.pageY}}}const SN=e=>t=>vp(t)&&e(t,Co(t));function Ns(e,t,n,r){return co(e,t,SN(n),r)}const S1=1e-4,bN=1-S1,TN=1+S1,b1=.01,EN=0-b1,CN=0+b1;function Ue(e){return e.max-e.min}function PN(e,t,n){return Math.abs(e-t)<=n}function ag(e,t,n,r=.5){e.origin=r,e.originPoint=de(t.min,t.max,e.origin),e.scale=Ue(n)/Ue(t),e.translate=de(n.min,n.max,e.origin)-e.originPoint,(e.scale>=bN&&e.scale<=TN||isNaN(e.scale))&&(e.scale=1),(e.translate>=EN&&e.translate<=CN||isNaN(e.translate))&&(e.translate=0)}function Ls(e,t,n,r){ag(e.x,t.x,n.x,r?r.originX:void 0),ag(e.y,t.y,n.y,r?r.originY:void 0)}function lg(e,t,n){e.min=n.min+t.min,e.max=e.min+Ue(t)}function kN(e,t,n){lg(e.x,t.x,n.x),lg(e.y,t.y,n.y)}function ug(e,t,n){e.min=t.min-n.min,e.max=e.min+Ue(t)}function Os(e,t,n){ug(e.x,t.x,n.x),ug(e.y,t.y,n.y)}function mt(e){return[e("x"),e("y")]}const T1=({current:e})=>e?e.ownerDocument.defaultView:null,cg=(e,t)=>Math.abs(e-t);function MN(e,t){const n=cg(e.x,t.x),r=cg(e.y,t.y);return Math.sqrt(n**2+r**2)}class E1{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Wu(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=MN(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!v)return;const{point:y}=f,{timestamp:w}=Re;this.history.push({...y,timestamp:w});const{onStart:g,onMove:p}=this.handlers;m||(g&&g(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,f)},this.handlePointerMove=(f,m)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Uu(m,this.transformPagePoint),le.update(this.updatePoint,!0)},this.handlePointerUp=(f,m)=>{this.end();const{onEnd:v,onSessionEnd:y,resumeAnimation:w}=this.handlers;if(this.dragSnapToOrigin&&w&&w(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Wu(f.type==="pointercancel"?this.lastMoveEventInfo:Uu(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(f,g),y&&y(f,g)},!vp(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const a=Co(t),l=Uu(a,this.transformPagePoint),{point:u}=l,{timestamp:c}=Re;this.history=[{...u,timestamp:c}];const{onSessionStart:d}=n;d&&d(t,Wu(l,this.history)),this.removeListeners=bo(Ns(this.contextWindow,"pointermove",this.handlePointerMove),Ns(this.contextWindow,"pointerup",this.handlePointerUp),Ns(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ar(this.updatePoint)}}function Uu(e,t){return t?{point:t(e.point)}:e}function dg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Wu({point:e},t){return{point:e,delta:dg(e,C1(t)),offset:dg(e,AN(t)),velocity:RN(t,.1)}}function AN(e){return e[0]}function C1(e){return e[e.length-1]}function RN(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=C1(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Qt(t)));)n--;if(!r)return{x:0,y:0};const s=qt(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function NN(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?de(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?de(n,e,r.max):Math.min(e,n)),e}function fg(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function LN(e,{top:t,left:n,bottom:r,right:i}){return{x:fg(e.x,n,i),y:fg(e.y,t,r)}}function pg(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 ON(e,t){return{x:pg(e.x,t.x),y:pg(e.y,t.y)}}function IN(e,t){let n=.5;const r=Ue(e),i=Ue(t);return i>r?n=so(t.min,t.max-r,e.min):r>i&&(n=so(e.min,e.max-i,t.min)),wn(0,1,n)}function DN(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Ld=.35;function jN(e=Ld){return e===!1?e=0:e===!0&&(e=Ld),{x:hg(e,"left","right"),y:hg(e,"top","bottom")}}function hg(e,t,n){return{min:mg(e,t),max:mg(e,n)}}function mg(e,t){return typeof e=="number"?e:e[t]||0}const _N=new WeakMap;class VN{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=ve(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=d=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Co(d).point)},o=(d,f)=>{const{drag:m,dragPropagation:v,onDragStart:y}=this.getProps();if(m&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=YA(m),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),mt(g=>{let p=this.getAxisMotionValue(g).get()||0;if(Zt.test(p)){const{projection:h}=this.visualElement;if(h&&h.layout){const S=h.layout.layoutBox[g];S&&(p=Ue(S)*(parseFloat(p)/100))}}this.originPoint[g]=p}),y&&le.postRender(()=>y(d,f)),Rd(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:y,onDrag:w}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:g}=f;if(v&&this.currentDirection===null){this.currentDirection=zN(g),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",f.point,g),this.updateAxis("y",f.point,g),this.visualElement.render(),w&&w(d,f)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>mt(d=>{var f;return this.getAnimationState(d)==="paused"&&((f=this.getAxisMotionValue(d).animation)==null?void 0:f.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new E1(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:T1(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&le.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!ta(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=NN(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&ui(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=LN(r.layoutBox,t):this.constraints=!1,this.elastic=jN(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&mt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=DN(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ui(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=FR(r,i.root,this.visualElement.getTransformPagePoint());let o=ON(i.layout.layoutBox,s);if(n){const a=n(_R(o));this.hasMutatedConstraints=!!a,a&&(o=l1(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=mt(c=>{if(!ta(c,n,this.currentDirection))return;let d=l&&l[c]||{};o&&(d={min:0,max:0});const f=i?200:1e6,m=i?40:1e7,v={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,v)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Rd(this.visualElement,t),r.start(Pp(t,r,0,n,this.visualElement,!1))}stopAnimation(){mt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){mt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){mt(n=>{const{drag:r}=this.getProps();if(!ta(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];s.set(t[n]-de(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ui(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};mt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=IN({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),mt(o=>{if(!ta(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(de(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;_N.set(this.visualElement,this);const t=this.visualElement.current,n=Ns(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();ui(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),le.read(r);const o=co(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(mt(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=Ld,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function ta(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function zN(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class FN extends fr{constructor(t){super(t),this.removeGroupControls=St,this.removeListeners=St,this.controls=new VN(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||St}unmount(){this.removeGroupControls(),this.removeListeners()}}const gg=e=>(t,n)=>{e&&le.postRender(()=>e(t,n))};class BN extends fr{constructor(){super(...arguments),this.removePointerDownListener=St}onPointerDown(t){this.session=new E1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:T1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:gg(t),onStart:gg(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&le.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Ns(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Ta={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function vg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(H.test(e))e=parseFloat(e);else return e;const n=vg(e,t.target.x),r=vg(e,t.target.y);return`${n}% ${r}%`}},$N={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=lr.parse(e);if(i.length>5)return r;const s=lr.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=de(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}};let Hu=!1;class UN extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;dR(WN),s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),Hu&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Ta.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,Hu=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||le.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),gp.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;Hu=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function P1(e){const[t,n]=rR(),r=x.useContext(ix);return b.jsx(UN,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(o1),isPresent:t,safeToRemove:n})}const WN={borderRadius:{...fs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fs,borderTopRightRadius:fs,borderBottomLeftRadius:fs,borderBottomRightRadius:fs,boxShadow:$N};function HN(e,t,n){const r=Ve(e)?e:Bi(e);return r.start(Pp("",r,t,n)),r.animation}const GN=(e,t)=>e.depth-t.depth;class KN{constructor(){this.children=[],this.isDirty=!1}add(t){Jf(this.children,t),this.isDirty=!0}remove(t){ep(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(GN),this.isDirty=!1,this.children.forEach(t)}}function YN(e,t){const n=Qe.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(ar(r),e(s-t))};return le.setup(r,!0),()=>ar(r)}const k1=["TopLeft","TopRight","BottomLeft","BottomRight"],XN=k1.length,yg=e=>typeof e=="string"?parseFloat(e):e,wg=e=>typeof e=="number"||H.test(e);function QN(e,t,n,r,i,s){i?(e.opacity=de(0,n.opacity??1,qN(r)),e.opacityExit=de(t.opacity??1,0,ZN(r))):s&&(e.opacity=de(t.opacity??1,n.opacity??1,r));for(let o=0;o<XN;o++){const a=`border${k1[o]}Radius`;let l=xg(t,a),u=xg(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||wg(l)===wg(u)?(e[a]=Math.max(de(yg(l),yg(u),r),0),(Zt.test(u)||Zt.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=de(t.rotate||0,n.rotate||0,r))}function xg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const qN=M1(0,.5,mx),ZN=M1(.5,.95,St);function M1(e,t,n){return r=>r<e?0:r>t?1:n(so(e,t,r))}function Sg(e,t){e.min=t.min,e.max=t.max}function ht(e,t){Sg(e.x,t.x),Sg(e.y,t.y)}function bg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Tg(e,t,n,r,i){return e-=t,e=ll(e,1/n,r),i!==void 0&&(e=ll(e,1/i,r)),e}function JN(e,t=0,n=1,r=.5,i,s=e,o=e){if(Zt.test(t)&&(t=parseFloat(t),t=de(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=de(s.min,s.max,r);e===s&&(a-=t),e.min=Tg(e.min,t,n,a,i),e.max=Tg(e.max,t,n,a,i)}function Eg(e,t,[n,r,i],s,o){JN(e,t[n],t[r],t[i],t.scale,s,o)}const eL=["x","scaleX","originX"],tL=["y","scaleY","originY"];function Cg(e,t,n,r){Eg(e.x,t,eL,n?n.x:void 0,r?r.x:void 0),Eg(e.y,t,tL,n?n.y:void 0,r?r.y:void 0)}function Pg(e){return e.translate===0&&e.scale===1}function A1(e){return Pg(e.x)&&Pg(e.y)}function kg(e,t){return e.min===t.min&&e.max===t.max}function nL(e,t){return kg(e.x,t.x)&&kg(e.y,t.y)}function Mg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function R1(e,t){return Mg(e.x,t.x)&&Mg(e.y,t.y)}function Ag(e){return Ue(e.x)/Ue(e.y)}function Rg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class rL{constructor(){this.members=[]}add(t){Jf(this.members,t),t.scheduleRender()}remove(t){if(ep(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,
vendor: 8,223 bytes, line 188
188n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function iL(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:m,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),m&&(r+=`skewX(${m}deg) `),v&&(r+=`skewY(${v}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const yr={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Gu=["","X","Y","Z"],sL=1e3;let oL=0;function Ku(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function N1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=g1(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",le,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&N1(r)}function L1({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=oL++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Gt.value&&(yr.nodes=yr.calculatedTargetDeltas=yr.calculatedProjections=0),this.nodes.forEach(uL),this.nodes.forEach(pL),this.nodes.forEach(hL),this.nodes.forEach(cL),Gt.addProjectionMetrics&&Gt.addProjectionMetrics(yr)},this.resolvedRelativeTargetAt=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 KN)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new np),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=Kx(o)&&!eR(o),this.instance=o;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,d=0;const f=()=>this.root.updateBlockedByResize=!1;le.read(()=>{d=window.innerWidth}),e(o,()=>{const m=window.innerWidth;m!==d&&(d=m,this.root.updateBlockedByResize=!0,c&&c(),c=YN(f,250),Ta.hasAnimatedSinceResize&&(Ta.hasAnimatedSinceResize=!1,this.nodes.forEach(Og)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||wL,{onLayoutAnimationStart:y,onLayoutAnimationComplete:w}=u.getProps(),g=!this.targetLayout||!R1(this.targetLayout,m),p=!d&&f;if(this.options.layoutRoot||this.resumeFrom||p||d&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const h={...hp(v,"layout"),onPlay:y,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(h.delay=0,h.type=!1),this.startAnimation(h),this.setAnimationOrigin(c,p)}else d||Og(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}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(mL),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&&N1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ng);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Lg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(fL),this.nodes.forEach(aL),this.nodes.forEach(lL)):this.nodes.forEach(Lg),this.clearAllSnapshots();const a=Qe.now();Re.delta=wn(0,1e3/60,a-Re.timestamp),Re.timestamp=a,Re.isProcessing=!0,Du.update.process(Re),Du.preRender.process(Re),Du.render.process(Re),Re.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,gp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(dL),this.sharedNodes.forEach(gL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,le.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){le.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ue(this.snapshot.measuredBox.x)&&!Ue(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.layoutCorrected=ve(),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);
vendor: 10,327 bytes, line 188
188this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!A1(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||vr(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),xL(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return ve();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(SL))){const{scroll:c}=this.root;c&&(ci(a.x,c.offset.x),ci(a.y,c.offset.y))}return a}removeElementScroll(o){var l;const a=ve();if(ht(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&ht(a,o),ci(a.x,d.offset.x),ci(a.y,d.offset.y))}return a}applyTransform(o,a=!1){const l=ve();ht(l,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&di(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),vr(c.latestValues)&&di(l,c.latestValues)}return vr(this.latestValues)&&di(l,this.latestValues),l}removeTransform(o){const a=ve();ht(a,o);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!vr(u.latestValues))continue;Pd(u.latestValues)&&u.updateSnapshot();const c=ve(),d=u.measurePageBox();ht(c,d),Cg(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return vr(this.latestValues)&&Cg(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!==Re.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var f;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(f=this.parent)!=null&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:d}=this.options;if(!(!this.layout||!(c||d))){if(this.resolvedRelativeTargetAt=Re.timestamp,!this.targetDelta&&!this.relativeTarget){const m=this.getClosestProjectingParent();m&&m.layout&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ve(),this.relativeTargetOrigin=ve(),Os(this.relativeTargetOrigin,this.layout.layoutBox,m.layout.layoutBox),ht(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ve(),this.targetWithTransforms=ve()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),kN(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ht(this.target,this.layout.layoutBox),c1(this.target,this.targetDelta)):ht(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const m=this.getClosestProjectingParent();m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ve(),this.relativeTargetOrigin=ve(),Os(this.relativeTargetOrigin,this.target,m.target),ht(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Gt.value&&yr.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Pd(this.parent.latestValues)||u1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var v;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Re.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;ht(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;zR(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=ve());const{target:m}=o;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(bg(this.prevProjectionDelta.x,this.projectionDelta.x),bg(this.prevProjectionDelta.y,this.projectionDelta.y)),Ls(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!Rg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Rg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m)),Gt.value&&yr.calculatedProjections++}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=fi(),this.projectionDelta=fi(),this.projectionDeltaWithTransform=fi()}setAnimationOrigin(o,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=fi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=ve(),m=l?l.source:void 0,v=this.layout?this.layout.source:void 0,y=m!==v,w=this.getStack(),g=!w||w.members.length<=1,p=!!(y&&!g&&this.options.crossfade===!0&&!this.path.some(yL));this.animationProgress=0;let h;this.mixTargetDelta=S=>{const T=S/1e3;Ig(d.x,o.x,T),Ig(d.y,o.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Os(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),vL(this.relativeTarget,this.relativeTargetOrigin,f,T),h&&nL(this.relativeTarget,h)&&(this.isProjectionDirty=!1),h||(h=ve()),ht(h,this.relativeTarget)),y&&(this.animationValues=c,QN(c,u,this.latestValues,T,p,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(ar(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=le.update(()=>{Ta.hasAnimatedSinceResize=!0,Rr.layout++,this.motionValue||(this.motionValue=Bi(0)),this.currentAnimation=HN(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),o.onUpdate&&o.onUpdate(c)},onStop:()=>{Rr.layout--},onComplete:()=>{Rr.layout--,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(sL),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&O1(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||ve();const d=Ue(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+d;const f=Ue(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}ht(a,l),di(a,c),Ls(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new rL),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const 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 u=this.getStack();u&&u.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}
vendor: 4,232 bytes, line 188
188resetSkewAndRotation(){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 u={};l.z&&Ku("z",o,u,this.animationValues);for(let c=0;c<Gu.length;c++)Ku(`rotate${Gu[c]}`,o,u,this.animationValues),Ku(`skew${Gu[c]}`,o,u,this.animationValues);o.render();for(const c in u)o.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);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=ba(a==null?void 0:a.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=ba(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!vr(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=iL(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),o.transform=d;const{x:f,y:m}=this.projectionDelta;o.transformOrigin=`${f.origin*100}% ${m.origin*100}% 0`,u.animationValues?o.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:o.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const v in uo){if(c[v]===void 0)continue;const{correct:y,applyTo:w,isCSSVariable:g}=uo[v],p=d==="none"?c[v]:y(c[v],u);if(w){const h=w.length;for(let S=0;S<h;S++)o[w[S]]=p}else g?this.options.visualElement.renderState.vars[v]=p:o[v]=p}this.options.layoutId&&(o.pointerEvents=u===this?ba(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(Ng),this.root.sharedNodes.clear()}}}function aL(e){e.updateLayout()}function lL(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;s==="size"?mt(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],m=Ue(f);f.min=r[d].min,f.max=f.min+m}):O1(s,t.layoutBox,r)&&mt(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],m=Ue(r[d]);f.max=f.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+m)});const a=fi();Ls(a,r,t.layoutBox);const l=fi();o?Ls(l,e.applyTransform(i,!0),t.measuredBox):Ls(l,r,t.layoutBox);const u=!A1(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:m}=d;if(f&&m){const v=ve();Os(v,t.layoutBox,f.layoutBox);const y=ve();Os(y,r,m.layoutBox),R1(v,y)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function uL(e){Gt.value&&yr.nodes++,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 cL(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function dL(e){e.clearSnapshot()}function Ng(e){e.clearMeasurements()}function Lg(e){e.isLayoutDirty=!1}function fL(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Og(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function pL(e){e.resolveTargetDelta()}function hL(e){e.calcProjection()}
vendor: 4,400 bytes, line 188
188function mL(e){e.resetSkewAndRotation()}function gL(e){e.removeLeadSnapshot()}function Ig(e,t,n){e.translate=de(t.translate,0,n),e.scale=de(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Dg(e,t,n,r){e.min=de(t.min,n.min,r),e.max=de(t.max,n.max,r)}function vL(e,t,n,r){Dg(e.x,t.x,n.x,r),Dg(e.y,t.y,n.y,r)}function yL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const wL={duration:.45,ease:[.4,0,.1,1]},jg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),_g=jg("applewebkit/")&&!jg("chrome/")?Math.round:St;function Vg(e){e.min=_g(e.min),e.max=_g(e.max)}function xL(e){Vg(e.x),Vg(e.y)}function O1(e,t,n){return e==="position"||e==="preserve-aspect"&&!PN(Ag(t),Ag(n),.2)}function SL(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const bL=L1({attachResizeListener:(e,t)=>co(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Yu={current:void 0},I1=L1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Yu.current){const e=new bL({});e.mount(window),e.setOptions({layoutScroll:!0}),Yu.current=e}return Yu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),TL={pan:{Feature:BN},drag:{Feature:FN,ProjectionNode:I1,MeasureLayout:P1}};function zg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&le.postRender(()=>s(t,Co(t)))}class EL extends fr{mount(){const{current:t}=this.node;t&&(this.unmount=XA(t,(n,r)=>(zg(this.node,r,"Start"),i=>zg(this.node,i,"End"))))}unmount(){}}class CL 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=bo(co(this.node.current,"focus",()=>this.onFocus()),co(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Fg(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&le.postRender(()=>s(t,Co(t)))}class PL extends fr{mount(){const{current:t}=this.node;t&&(this.unmount=JA(t,(n,r)=>(Fg(this.node,r,"Start"),(i,{success:s})=>Fg(this.node,i,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Od=new WeakMap,Xu=new WeakMap,kL=e=>{const t=Od.get(e.target);t&&t(e)},ML=e=>{e.forEach(kL)};function AL({root:e,...t}){const n=e||document;Xu.has(n)||Xu.set(n,{});const r=Xu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(ML,{root:e,...t})),r[i]}function RL(e,t,n){const r=AL(t);return Od.set(e,n),r.observe(e),()=>{Od.delete(e),r.unobserve(e)}}const NL={some:0,all:1};class LL 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:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:NL[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return RL(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(OL(t,n))&&this.startObserver()}unmount(){}}function OL({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const IL={inView:{Feature:LL},tap:{Feature:PL},focus:{Feature:CL},hover:{Feature:EL}},DL={layout:{ProjectionNode:I1,MeasureLayout:P1}},jL={...xN,...IL,...TL,...DL},Sn=jR(jL,XR),Ji=x.forwardRef(({className:e,...t},n)=>b.jsx("div",{ref:n,className:tt("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));
188Ji.displayName="Card";const kp=x.forwardRef(({className:e,...t},n)=>b.jsx("div",{ref:n,className:tt("flex flex-col space-y-1.5 p-6",e),...t}));kp.displayName="CardHeader";const Mp=x.forwardRef(({className:e,...t},n)=>b.jsx("h3",{ref:n,className:tt("text-2xl font-semibold leading-none tracking-tight",e),...t}));Mp.displayName="CardTitle";const _L=x.forwardRef(({className:e,...t},n)=>b.jsx("p",{ref:n,className:tt("text-sm text-muted-foreground",e),...t}));_L.displayName="CardDescription";const es=x.forwardRef(({className:e,...t},n)=>b.jsx("div",{ref:n,className:tt("p-6 pt-0",e),...t}));es.displayName="CardContent";const VL=x.forwardRef(({className:e,...t},n)=>b.jsx("div",{ref:n,className:tt("flex items-center p-6 pt-0",e),...t}));VL.displayName="CardFooter";const zL=()=>{const[e,t]=x.useState(!1);x.useEffect(()=>{const r=()=>{t(window.innerWidth<768)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]);const n=[{icon:b.jsx(Xa,{className:"w-8 h-8"}),title:"Smart Member Onboarding",description:"Streamlined registration process with digital forms and automated welcome sequences."},{icon:b.jsx(_E,{className:"w-8 h-8"}),title:"Personalized Workout Scheduling",description:"Custom workout plans and scheduling system tailored to each member's goals."},{icon:b.jsx(tw,{className:"w-8 h-8"}),title:"Automated Attendance & Access Control",description:"Smart check-in system with real-time attendance tracking and access management."},{icon:b.jsx(jE,{className:"w-8 h-8"}),title:"Multi-Branch Gym Management",description:"Centralized control for multiple gym locations with branch-specific analytics."},{icon:b.jsx(J0,{className:"w-8 h-8"}),title:"Integrated WhatsApp Chatbot",description:"Automated messaging, booking confirmations, and instant member support."},{icon:b.jsx(zE,{className:"w-8 h-8"}),title:"Centralized Member Data & History",description:"Complete member profiles with workout history, payments, and progress tracking."},{icon:b.jsx(Q0,{className:"w-8 h-8"}),title:"Real-Time Alerts & Reminders",description:"Automated notifications for renewals, payments, and important updates."},{icon:b.jsx(Xa,{className:"w-8 h-8"}),title:"Mobile Application for Members",description:"Complete mobile app for members to login, make payments, renewals, and attendance login using geo-fencing method."}];return b.jsx("section",{id:"features",className:"py-20 px-4 bg-muted/30",children:b.jsxs("div",{className:"container mx-auto max-w-7xl",children:[b.jsxs("div",{className:"text-center mb-16",children:[b.jsx("h2",{className:"text-4xl font-bold mb-4 text-foreground",children:"Powerful Features for Modern Gyms"}),b.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Whether you run a single studio or manage multiple locations, APIthlete adapts to your business needs from Day 1 and scales with your success."})]}),b.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:n.map((r,i)=>b.jsx(Sn.div,{initial:{y:e?30:100,opacity:0,scale:e?1:.9},whileInView:{y:0,opacity:1,scale:1},transition:{duration:e?.5:.8,delay:e?i*.1:i*.15,type:"spring",stiffness:100},viewport:{once:!0},whileHover:e?{}:{y:-10,scale:1.03},children:b.jsx(Ji,{className:"shadow-card hover:shadow-primary transition-all duration-300",children:b.jsxs(es,{className:"p-6",children:[b.jsx("div",{className:"text-primary mb-4",children:r.icon}),b.jsx("h3",{className:"text-lg font-semibold mb-3 text-card-foreground",children:r.title}),b.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:r.description})]})})},i))})]})})};var Id=new Map,na=new WeakMap,Bg=0,FL=void 0;function BL(e){return e?(na.has(e)||(Bg+=1,na.set(e,Bg.toString())),na.get(e)):"0"}function $L(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?BL(e.root):e[t]}`).toString()}function UL(e){const t=$L(e);let n=Id.get(t);if(!n){const r=new Map;let i;const s=new IntersectionObserver(o=>{o.forEach(a=>{var l;const u=a.isIntersecting&&i.some(c=>a.intersectionRatio>=c);e.trackVisibility&&typeof a.isVisible>"u"&&(a.isVisible=u),(l=r.get(a.target))==null||l.forEach(c=>{c(u,a)})})},e);i=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:r},Id.set(t,n)}return n}function WL(e,t,n={},r=FL){if(typeof window.IntersectionObserver>"u"&&r!==void 0){const l=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:l,intersectionRect:l,rootBounds:l}),()=>{}}const{id:i,observer:s,elements:o}=UL(n),a=o.get(e)||[];return o.has(e)||o.set(e,a),a.push(t),s.observe(e),function(){a.splice(a.indexOf(t),1),a.length===0&&(o.delete(e),s.unobserve(e)),o.size===0&&(s.disconnect(),Id.delete(i))}}function HL({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:i,triggerOnce:s,skip:o,initialInView:a,fallbackInView:l,onChange:u}={}){var c;
188const[d,f]=x.useState(null),m=x.useRef(u),[v,y]=x.useState({inView:!!a,entry:void 0});m.current=u,x.useEffect(()=>{if(o||!d)return;let h;return h=WL(d,(S,T)=>{y({inView:S,entry:T}),m.current&&m.current(S,T),T.isIntersecting&&s&&h&&(h(),h=void 0)},{root:i,rootMargin:r,threshold:e,trackVisibility:n,delay:t},l),()=>{h&&h()}},[Array.isArray(e)?e.toString():e,d,i,r,s,o,n,l,t]);const w=(c=v.entry)==null?void 0:c.target,g=x.useRef(void 0);!d&&w&&!s&&!o&&g.current!==w&&(g.current=w,y({inView:!!a,entry:void 0}));const p=[f,v.inView,v.entry];return p.ref=p[0],p.inView=p[1],p.entry=p[2],p}function GL(){const[e,t]=x.useState(!1);x.useEffect(()=>{const r=()=>{t(window.innerWidth<768)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]);const n=[{icon:q0,title:"24/7 Support",description:"Always available to assist your business needs",delay:.2,number:null},{icon:Xa,title:"10+ Customers",description:"Trusted by businesses across industries",delay:.4,number:10},{icon:Vf,title:"Internationally Acceptable",description:"Global compliance and adaptability",delay:.6,number:null}];return b.jsx("section",{className:"relative py-12 px-6",children:b.jsxs("div",{className:"container mx-auto relative z-10",children:[b.jsx(Sn.div,{initial:{y:e?50:100,opacity:0},whileInView:{y:0,opacity:1},transition:{duration:e?.6:1,type:"spring",stiffness:100},viewport:{once:!0},className:"text-center mb-20",children:b.jsx(Sn.h2,{className:"text-4xl font-bold mb-4 text-foreground",animate:e?{}:{backgroundPosition:["0% 50%","100% 50%","0% 50%"]},transition:e?{}:{duration:8,repeat:Number.POSITIVE_INFINITY,ease:"linear"},style:{backgroundSize:"200% 200%"},children:"Trusted. Reliable. Global."})}),b.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:n.map((r,i)=>b.jsx(KL,{stat:r,isMobile:e,index:i},i))})]})})}function KL({stat:e,isMobile:t,index:n}){const{ref:r,inView:i}=HL({triggerOnce:!0,threshold:.5}),[s,o]=x.useState(0);return x.useEffect(()=>{if(i&&e.number){let a=0;const l=e.number,c=l/(2e3/16);let d=a;const f=()=>{d+=c,d<l?(o(Math.floor(d)),requestAnimationFrame(f)):o(l)};f()}},[i,e.number]),b.jsx(Sn.div,{ref:r,initial:{y:t?30:100,opacity:0,scale:t?1:.8},whileInView:{y:0,opacity:1,scale:1},transition:{duration:t?.5:.8,delay:t?n*.1:e.delay,type:"spring",stiffness:100},viewport:{once:!0},whileHover:t?{}:{y:-20,scale:1.05},className:"group relative",children:b.jsx("div",{className:"shadow-card hover:shadow-primary transition-all duration-300",children:b.jsxs("div",{className:"p-8 relative",children:[b.jsx(Sn.div,{className:`w-20 h-20 rounded-2xl bg-gradient-to-r ${e.gradient} flex items-center justify-center mb-6 relative z-10 shadow-lg`,children:b.jsx(e.icon,{className:"w-10 h-10 text-black"})}),e.number?b.jsx("h3",{className:"text-4xl font-extrabold mb-4 text-black",children:b.jsxs("span",{children:[s,"+"]})}):b.jsx("h3",{className:"text-lg font-bold mb-4 text-black relative z-10",children:e.title}),b.jsx("p",{className:"text-black leading-relaxed mb-6 relative z-10",children:e.description})]})})})}const YL=()=>{const[e,t]=x.useState(!1);x.useEffect(()=>{const r=()=>{t(window.innerWidth<768)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]);const n=[{icon:b.jsx(Xa,{className:"w-8 h-8"}),title:"Members",description:"View ID cards, attendance, payments, schedules",color:"text-blue-600"},{icon:b.jsx(tw,{className:"w-8 h-8"}),title:"Trainers",description:"Manage sessions, monitor progress",color:"text-green-600"},{icon:b.jsx(BE,{className:"w-8 h-8"}),title:"Admins",description:"Oversee operations and analytics",color:"text-purple-600"},{icon:b.jsx(DE,{className:"w-8 h-8"}),title:"Branch Managers",description:"Get customized role-based controls",color:"text-orange-600"}];return b.jsx("section",{className:"py-12 px-4 bg-muted/30",children:b.jsxs("div",{className:"container mx-auto max-w-7xl",children:[b.jsxs(Sn.div,{initial:{y:e?30:80,opacity:0},whileInView:{y:0,opacity:1},transition:{duration:e?.6:1,type:"spring",stiffness:100},viewport:{once:!0},className:"text-center mb-16",children:[b.jsx("h2",{className:"text-4xl font-bold mb-4 text-foreground",children:"Multi-Role Access"}),b.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Customized access and functionality for every role in your gym ecosystem."})]}),b.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:n.map((r,i)=>b.jsx(Sn.div,{initial:{y:e?30:100,opacity:0,scale:e?1:.9},whileInView:{y:0,opacity:1,scale:1},transition:{duration:e?.5:.8,delay:e?i*.1:i*.15,type:"spring",stiffness:100},viewport:{once:!0},whileHover:e?{}:{y:-10,scale:1.03}
188,children:b.jsxs(Ji,{className:"shadow-card hover:shadow-primary transition-all duration-300",children:[b.jsxs(kp,{className:"text-center",children:[b.jsx("div",{className:`mx-auto mb-4 ${r.color}`,children:r.icon}),b.jsx(Mp,{className:"text-xl font-bold text-card-foreground",children:r.title})]}),b.jsx(es,{className:"text-center",children:b.jsx("p",{className:"text-muted-foreground",children:r.description})})]})},i))})]})})},XL=()=>{const[e,t]=x.useState(!1);x.useEffect(()=>{const r=()=>{t(window.innerWidth<768)};return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]);const n=[{icon:b.jsx(Q0,{className:"w-8 h-8"}),title:"Automated Messages",description:"Welcome & renewal messages sent automatically"},{icon:b.jsx(J0,{className:"w-8 h-8"}),title:"Booking Confirmations",description:"Schedule reminders and booking confirmations"},{icon:b.jsx(IE,{className:"w-8 h-8"}),title:"Chatbot Support",description:"AI-powered support for FAQs and workouts"},{icon:b.jsx(q0,{className:"w-8 h-8"}),title:"Support Tickets",description:"Raise support tickets instantly via chat"}];return b.jsx("section",{className:"py-12 px-4",children:b.jsxs("div",{className:"container mx-auto max-w-7xl",children:[b.jsxs(Sn.div,{initial:{y:e?30:80,opacity:0},whileInView:{y:0,opacity:1},transition:{duration:e?.6:1,type:"spring",stiffness:100},viewport:{once:!0},className:"text-center mb-16",children:[b.jsx("h2",{className:"text-4xl font-bold mb-4 text-foreground",children:"WhatsApp Integration"}),b.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Stay connected with your members through seamless WhatsApp integration."})]}),b.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:n.map((r,i)=>b.jsx(Sn.div,{initial:{y:e?30:100,opacity:0,scale:e?1:.9},whileInView:{y:0,opacity:1,scale:1},transition:{duration:e?.5:.8,delay:e?i*.1:i*.15,type:"spring",stiffness:100},viewport:{once:!0},whileHover:e?{}:{y:-10,scale:1.03},children:b.jsxs(Ji,{className:"shadow-card hover:shadow-primary transition-all duration-300",children:[b.jsxs(kp,{className:"text-center",children:[b.jsx("div",{className:"text-green-600 mx-auto mb-4",children:r.icon}),b.jsx(Mp,{className:"text-lg font-bold text-card-foreground",children:r.title})]}),b.jsx(es,{className:"text-center",children:b.jsx("p",{className:"text-muted-foreground text-sm",children:r.description})})]})},i))})]})})},QL=()=>b.jsxs("section",{id:"contact",className:"relative py-20 px-4 text-primary-foreground overflow-hidden",children:[b.jsxs("div",{className:"absolute inset-0",children:[b.jsx("img",{src:"/bg3.jpg",alt:"Contact background",className:"w-full h-full object-cover"}),b.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),b.jsxs("div",{className:"container mx-auto max-w-4xl relative z-10",children:[b.jsxs("div",{className:"text-center mb-12",children:[b.jsx("h2",{className:"text-4xl font-bold mb-4",children:"Ready to Upgrade Your Gym?"}),b.jsx("p",{className:"text-xl text-primary-foreground/90 mb-8",children:"Start with APIthlete and take control of your fitness business."})]}),b.jsx(Ji,{className:"bg-primary-foreground/10 border-primary-foreground/20 backdrop-blur-sm",children:b.jsx(es,{className:"p-8",children:b.jsxs("div",{className:"grid md:grid-cols-3 gap-8 text-center",children:[b.jsxs("div",{className:"space-y-4",children:[b.jsx("div",{className:"text-primary-foreground/80",children:b.jsx(Z0,{className:"w-8 h-8 mx-auto mb-2 "})}),b.jsxs("div",{children:[b.jsx("h3",{className:"font-semibold mb-2 text-white",children:"Email Us"}),b.jsx("a",{href:"mailto:[email protected]",className:"text-primary-foreground/80 hover:text-primary-foreground transition-colors",children:"[email protected]"})]})]}),b.jsxs("div",{className:"space-y-4",children:[b.jsx("div",{className:"text-primary-foreground/80",children:b.jsx(Vf,{className:"w-8 h-8 mx-auto mb-2"})}),b.jsxs("div",{children:[b.jsx("h3",{className:"font-semibold mb-2 text-white",children:"Visit Website"}),b.jsx("a",{href:"https://www.webgeon.com",target:"_blank",rel:"noopener noreferrer",className:"text-primary-foreground
188/80 hover:text-primary-foreground transition-colors",children:"www.webgeon.com"})]})]}),b.jsxs("div",{className:"space-y-4",children:[b.jsx("div",{className:"text-primary-foreground/80",children:b.jsx(ew,{className:"w-8 h-8 mx-auto mb-2"})}),b.jsxs("div",{children:[b.jsx("h3",{className:"font-semibold mb-2 text-white",children:"Call Us"}),b.jsx("a",{href:"tel:+917306205146",className:"text-primary-foreground/80 hover:text-primary-foreground transition-colors",children:"+91 7306205146"}),b.jsx("br",{}),b.jsx("a",{href:"tel:+916238838200",className:"text-primary-foreground/80 hover:text-primary-foreground transition-colors",children:"+91 6238838200"})]})]})]})})})]})]}),qL=()=>b.jsx("footer",{className:"bg-foreground text-background py-8 px-4",children:b.jsxs("div",{className:"container mx-auto max-w-7xl text-center",children:[b.jsxs("p",{className:"text-sm text-background/80 mb-4",children:["© 2025 APIthlete by"," ",b.jsx("a",{href:"https://webgeon.com",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-blue-500 transition-colors",children:"Webgeon"}),". All rights reserved."]}),b.jsx("p",{className:"text-xs text-background/60",children:"Digitalize your gym. Maximize your potential."})]})});function $g(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Ap(e,t){e===void 0&&(e={}),t===void 0&&(t={});const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:$g(t[r])&&$g(e[r])&&Object.keys(t[r]).length>0&&Ap(e[r],t[r])})}const D1={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Jt(){const e=typeof document<"u"?document:{};return Ap(e,D1),e}const ZL={document:D1,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function Ke(){const e=typeof window<"u"?window:{};return Ap(e,ZL),e}function JL(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function eO(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function j1(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function ul(){return Date.now()}function tO(e){const t=Ke();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function nO(e,t){t===void 0&&(t="x");const n=Ke();let r,i,s;const o=tO(e);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix(i==="none"?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function ra(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function rO(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function ot(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(r!=null&&!rO(r)){const i=Object.keys(Object(r)).filter(s=>t.indexOf(s)<0);for(let s=0,o=i.length;s<o;s+=1){const a=i[s],l=Object.getOwnPropertyDescriptor(r,a);l!==void 0&&l.enumerable&&(ra(e[a])&&ra(r[a])?r[a].__swiper__?e[a]=r[a]:ot(e[a],r[a]):!ra(e[a])&&ra(r[a])?(e[a]={},r[a].__swiper__?e[a]=r[a]:ot(e[a],r[a])):e[a]=r[a])}}}return e}function ia(e,t,n){e.style.setProperty(t,n)}function _1(e){let{swiper:t,targetPosition:n,side:r}=e;const i=Ke(),s=-t.translate;let o=null,a;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const u=n>s?"next":"prev",c=(f,m)=>u==="next"&&f>=m||u==="prev"&&f<=m,d=()=>{a=new Date().getTime(),o===null&&(o=a);const f=Math.max(Math.min((a-o)/l,1),0),m=.5-Math.cos(f*Math.PI)/2;let v=s+m*(n-s);if(c(v,n)&&(v=n),t.wrapperEl.scrollTo({[r]:v}),c(v,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:v})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(d)};d()}function Kt(e,t){t===void 0&&(t="");const n=Ke(),r=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t?r.filter(i=>i.matches(t)):r}function iO(e,t){const n=[t];for(;n.length>0;){const r=n.shift();if(e===r)return!0;n.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function sO(e,t){const n=Ke();let r=t.contains(e);return!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(r=[...t.assignedElements()].includes(e),r||(r=iO(e,t))),r}function cl(e){try{console.warn(e);return}catch{}}function dl(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:JL(t)),n}function oO(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function aO(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function Hn(e,t){return Ke().getComputedStyle(e,null).getPropertyValue(t)}function fl(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function V1(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}
vendor: 17,510 bytes, line 188
188function Dd(e,t,n){const r=Ke();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function sn(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}function pl(e,t){t===void 0&&(t=""),typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(t):e.innerHTML=t}let Qu;function lO(){const e=Ke(),t=Jt();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function z1(){return Qu||(Qu=lO()),Qu}let qu;function uO(e){let{userAgent:t}=e===void 0?{}:e;const n=z1(),r=Ke(),i=r.navigator.platform,s=t||r.navigator.userAgent,o={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const d=s.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=i==="Win32";let v=i==="MacIntel";const y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&v&&n.touch&&y.indexOf(`${a}x${l}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),v=!1),u&&!m&&(o.os="android",o.android=!0),(c||f||d)&&(o.os="ios",o.ios=!0),o}function F1(e){return e===void 0&&(e={}),qu||(qu=uO(e)),qu}let Zu;function cO(){const e=Ke(),t=F1();let n=!1;function r(){const a=e.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(r()){const a=String(e.navigator.userAgent);if(a.includes("Version/")){const[l,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));n=l<16||l===16&&u<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=r(),o=s||i&&t.ios;return{isSafari:n||s,needPerspectiveFix:n,need3dFix:o,isWebView:i}}function B1(){return Zu||(Zu=cO()),Zu}function dO(e){let{swiper:t,on:n,emit:r}=e;const i=Ke();let s=null,o=null;const a=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},l=()=>{!t||t.destroyed||!t.initialized||(s=new ResizeObserver(d=>{o=i.requestAnimationFrame(()=>{const{width:f,height:m}=t;let v=f,y=m;d.forEach(w=>{let{contentBoxSize:g,contentRect:p,target:h}=w;h&&h!==t.el||(v=p?p.width:(g[0]||g).inlineSize,y=p?p.height:(g[0]||g).blockSize)}),(v!==f||y!==m)&&a()})}),s.observe(t.el))},u=()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null)},c=()=>{!t||t.destroyed||!t.initialized||r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){l();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",c)})}function fO(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=[],o=Ke(),a=function(c,d){d===void 0&&(d={});const f=o.MutationObserver||o.WebkitMutationObserver,m=new f(v=>{if(t.__preventObserver__)return;if(v.length===1){i("observerUpdate",v[0]);return}const y=function(){i("observerUpdate",v[0])};o.requestAnimationFrame?o.requestAnimationFrame(y):o.setTimeout(y,0)});m.observe(c,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:t.isElement||(typeof d.childList>"u"?!0:d).childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),s.push(m)},l=()=>{if(t.params.observer){if(t.params.observeParents){const c=V1(t.hostEl);for(let d=0;d<c.length;d+=1)a(c[d])}a(t.hostEl,{childList:t.params.observeSlideChildren}),a(t.wrapperEl,{attributes:!1})}},u=()=>{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var pO={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const i=n?"unshift":"push";return e.split(" ").forEach(s=>{r.eventsListeners[s]||(r.eventsListeners[s]=[]),r.eventsListeners[s][i](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,o=new Array(s),a=0;a<s;a++)o[a]=arguments[a];t.apply(r,o)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((i,s)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[r].splice(s,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];return typeof s[0]=="string"||Array.isArray(s[0])?(t=s[0],n=s.slice(1,s.length),r=e):(t=s[0].events,n=s[0].data,r=s[0].context||e),n.unshift(r),(Array.isArray(t)?t:t.split(" ")).forEach(l=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...n])}),e.eventsListeners&&e.eventsListeners[l]&&e.eventsListeners[l].forEach(u=>{u.apply(r,n)})}),e}};function hO(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(Hn(r,"padding-left")||0,10)-parseInt(Hn(r,"padding-right")||0,10),n=n-parseInt(Hn(r,"padding-top")||0,10)-parseInt(Hn(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function mO(){const e=this;function t(M,R){return parseFloat(M.getPropertyValue(e.getDirectionLabel(R))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:s,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=Kt(i,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:c.length;let f=[];const m=[],v=[];let y=n.slidesOffsetBefore;typeof y=="function"&&(y=n.slidesOffsetBefore.call(e));let w=n.slidesOffsetAfter;typeof w=="function"&&(w=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,p=e.slidesGrid.length;let h=n.spaceBetween,S=-y,T=0,E=0;if(typeof s>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*s:typeof h=="string"&&(h=parseFloat(h)),e.virtualSize=-h,c.forEach(M=>{o?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(ia(r,"--swiper-centered-offset-before",""),ia(r,"--swiper-centered-offset-after",""));const k=n.grid&&n.grid.rows>1&&e.grid;k?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let C;const A=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(M=>typeof n.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M<d;M+=1){C=0;let R;if(c[M]&&(R=c[M]),k&&e.grid.updateSlide(M,R,c),!(c[M]&&Hn(R,"display")==="none")){if(n.slidesPerView==="auto"){A&&(c[M].style[e.getDirectionLabel("width")]="");const L=getComputedStyle(R),z=R.style.transform,D=R.style.webkitTransform;if(z&&(R.style.transform="none"),D&&(R.style.webkitTransform="none"),n.roundLengths)C=e.isHorizontal()?Dd(R,"width"):Dd(R,"height");else{const $=t(L,"width"),j=t(L,"padding-left"),F=t(L,"padding-right"),P=t(L,"margin-left"),N=t(L,"margin-right"),V=L.getPropertyValue("box-sizing");if(V&&V==="border-box")C=$+P+N;else{const{clientWidth:B,offsetWidth:W}=R;C=$+j+F+P+N+(W-B)}}z&&(R.style.transform=z),D&&(R.style.webkitTransform=D),n.roundLengths&&(C=Math.floor(C))}else C=(s-(n.slidesPerView-1)*h)/n.slidesPerView,n.roundLengths&&(C=Math.floor(C)),c[M]&&(c[M].style[e.getDirectionLabel("width")]=`${C}px`);c[M]&&(c[M].swiperSlideSize=C),v.push(C),n.centeredSlides?(S=S+C/2+T/2+h,T===0&&M!==0&&(S=S-s/2-h),M===0&&(S=S-s/2-h),Math.abs(S)<1/1e3&&(S=0),n.roundLengths&&(S=Math.floor(S)),E%n.slidesPerGroup===0&&f.push(S),m.push(S)):(n.roundLengths&&(S=Math.floor(S)),(E-Math.min(e.params.slidesPerGroupSkip,E))%e.params.slidesPerGroup===0&&f.push(S),m.push(S),S=S+C+h),e.virtualSize+=C+h,T=C,E+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+w,o&&a&&(n.effect==="slide"||n.effect==="coverflow")&&(r.style.width=`${e.virtualSize+h}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+h}px`),k&&e.grid.updateWrapperSize(C,f),!n.centeredSlides){const M=[];for(let R=0;R<f.length;R+=1){let L=f[R];n.roundLengths&&(L=Math.floor(L)),f[R]<=e.virtualSize-s&&M.push(L)}f=M,Math.floor(e.virtualSize-s)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-s)}if(l&&n.loop){const M=v[0]+h;if(n.slidesPerGroup>1){const R=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),L=M*n.slidesPerGroup;for(let z=0;z<R;z+=1)f.push(f[f.length-1]+L)}for(let R=0;R<e.virtual.slidesBefore+e.virtual.slidesAfter;R+=1)n.slidesPerGroup===1&&f.push(f[f.length-1]+M),m.push(m[m.length-1]+M),e.virtualSize+=M}if(f.length===0&&(f=[0]),h!==0){const M=e.isHorizontal()&&o?"marginLeft":e.getDirectionLabel("marginRight");c.filter((R,L)=>!n.cssMode||n.loop?!0:L!==c.length-1).forEach(R=>{R.style[M]=`${h}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let M=0;v.forEach(L=>{M+=L+(h||0)}),M-=h;const R=M>s?M-s:0;f=f.map(L=>L<=0?-y:L>R?R+w:L)}if(n.centerInsufficientSlides){let M=0;v.forEach(L=>{M+=L+(h||0)}),M-=h;const R=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(M+R<s){const L=(s-M-R)/2;f.forEach((z,D)=>{f[D]=z-L}),m.forEach((z,D)=>{m[D]=z+L})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:m,slidesSizesGrid:v}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){ia(r,"--swiper-centered-offset-before",`${-f[0]}px`),ia(r,"--swiper-centered-offset-after",`${e.size/2-v[v.length-1]/2}px`);const M=-e.snapGrid[0],R=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(L=>L+M),e.slidesGrid=e.slidesGrid.map(L=>L+R)}if(d!==u&&e.emit("slidesLengthChange"),f.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==p&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const M=`${n.containerModifierClass}backface-hidden`,R=e.el.classList.contains(M);d<=n.maxBackfaceHiddenSlides?R||e.el.classList.add(M):R&&e.el.classList.remove(M)}}function gO(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i=0,s;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const o=a=>r?t.slides[t.getSlideIndexByData(a)]:t.slides[a];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(a=>{n.push(a)});else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){const a=t.activeIndex+s;if(a>t.slides.length&&!r)break;n.push(o(a))}else n.push(o(t.activeIndex));for(s=0;s<n.length;s+=1)if(typeof n[s]<"u"){const a=n[s].offsetHeight;i=a>i?a:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function vO(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()}const Ug=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function yO(e){e===void 0&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:s}=t;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let o=-e;i&&(o=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l<r.length;l+=1){const u=r[l];let c=u.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=r[0].swiperSlideOffset);const d=(o+(n.centeredSlides?t.minTranslate():0)-c)/(u.swiperSlideSize+a),f=(o-s[0]+(n.centeredSlides?t.minTranslate():0)-c)/(u.swiperSlideSize+a),m=-(o-c),v=m+t.slidesSizesGrid[l],y=m>=0&&m<=t.size-t.slidesSizesGrid[l],w=m>=0&&m<t.size-1||v>1&&v<=t.size||m<=0&&v>=t.size;w&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(l)),Ug(u,w,n.slideVisibleClass),Ug(u,y,n.slideFullyVisibleClass),u.progress=i?-d:d,u.originalProgress=i?-f:f}}function wO(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:s,isEnd:o,progressLoop:a}=t;const l=s,u=o;if(r===0)i=0,s=!0,o=!0;else{i=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;s=c||i<=0,o=d||i>=1,c&&(i=0),d&&(i=1)}if(n.loop){const c=t.getSlideIndexByData(0),d=t.getSlideIndexByData(t.slides.length-1),f=t.slidesGrid[c],m=t.slidesGrid[d],v=t.slidesGrid[t.slidesGrid.length-1],y=Math.abs(e);y>=f?a=(y-f)/v:a=(y+v-m)/v,a>1&&(a-=1)}Object.assign(t,{progress:i,progressLoop:a,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(l&&!s||u&&!o)&&t.emit("fromEdge"),t.emit("progress",i)}const Ju=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function xO(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,a=d=>Kt(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];let l,u,c;if(s)if(n.loop){let d=i-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${d}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else o?(l=t.find(d=>d.column===i),c=t.find(d=>d.column===i+1),u=t.find(d=>d.column===i-1)):l=t[i];l&&(o||(c=aO(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=oO(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(d=>{Ju(d,d===l,n.slideActiveClass),Ju(d,d===c,n.slideNextClass),Ju(d,d===u,n.slidePrevClass)}),e.emitSlidesClasses()}const Ea=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let i=r.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},ec=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},jd=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const o=i,a=[o-t];a.push(...Array.from({length:t}).map((l,u)=>o+r+u)),e.slides.forEach((l,u)=>{a.includes(l.column)&&ec(e,u)});return}const s=i+r-1;if(e.params.rewind||e.params.loop)for(let o=i-t;o<=s+t;o+=1){const a=(o%n+n)%n;(a<i||a>s)&&ec(e,a)}else for(let o=Math.max(i-t,0);o<=Math.min(s+t,n-1);o+=1)o!==i&&(o>s||o<i)&&ec(e,o)};function SO(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let i;for(let s=0;s<t.length;s+=1)typeof t[s+1]<"u"?r>=t[s]&&r<t[s+1]-(t[s+1]-t[s])/2?i=s:r>=t[s]&&r<t[s+1]&&(i=s+1):r>=t[s]&&(i=s);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function bO(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,snapIndex:a}=t;let l=e,u;const c=m=>{let v=m-t.virtual.slidesBefore;return v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),v};if(typeof l>"u"&&(l=SO(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const m=Math.min(i.slidesPerGroupSkip,l);u=m+Math.floor((l-m)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===s&&!t.params.loop){u!==a&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(l);return}const d=t.grid&&i.grid&&i.grid.rows>1;let f;if(t.virtual&&i.virtual.enabled&&i.loop)f=c(l);else if(d){const m=t.slides.find(y=>y.column===l);let v=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(v)&&(v=Math.max(t.slides.indexOf(m),0)),f=Math.floor(v/i.grid.rows)}else if(t.slides[l]){const m=t.slides[l].getAttribute("data-swiper-slide-index");m?f=parseInt(m,10):f=l}else f=l;Object.assign(t,{previousSnapIndex:a,snapIndex:u,previousRealIndex:o,realIndex:f,previousIndex:s,activeIndex:l}),t.initialized&&jd(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function TO(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>
vendor: 12,052 bytes, line 188
1881&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(a=>{!i&&a.matches&&a.matches(`.${r.slideClass}, swiper-slide`)&&(i=a)});let s=!1,o;if(i){for(let a=0;a<n.slides.length;a+=1)if(n.slides[a]===i){s=!0,o=a;break}}if(i&&s)n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=o;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}r.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var EO={updateSize:hO,updateSlides:mO,updateAutoHeight:gO,updateSlidesOffset:vO,updateSlidesProgress:yO,updateProgress:wO,updateSlidesClasses:xO,updateActiveIndex:bO,updateClickedSlide:TO};function CO(e){e===void 0&&(e=this.isHorizontal()?"x":"y");const t=this,{params:n,rtlTranslate:r,translate:i,wrapperEl:s}=t;if(n.virtualTranslate)return r?-i:i;if(n.cssMode)return i;let o=nO(s,e);return o+=t.cssOverflowAdjustment(),r&&(o=-o),o||0}function PO(e,t){const n=this,{rtlTranslate:r,params:i,wrapperEl:s,progress:o}=n;let a=0,l=0;const u=0;n.isHorizontal()?a=r?-e:e:l=e,i.roundLengths&&(a=Math.floor(a),l=Math.floor(l)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?a:l,i.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-a:-l:i.virtualTranslate||(n.isHorizontal()?a-=n.cssOverflowAdjustment():l-=n.cssOverflowAdjustment(),s.style.transform=`translate3d(${a}px, ${l}px, ${u}px)`);let c;const d=n.maxTranslate()-n.minTranslate();d===0?c=0:c=(e-n.minTranslate())/d,c!==o&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function kO(){return-this.snapGrid[0]}function MO(){return-this.snapGrid[this.snapGrid.length-1]}function AO(e,t,n,r,i){e===void 0&&(e=0),t===void 0&&(t=this.params.speed),n===void 0&&(n=!0),r===void 0&&(r=!0);const s=this,{params:o,wrapperEl:a}=s;if(s.animating&&o.preventInteractionOnTransition)return!1;const l=s.minTranslate(),u=s.maxTranslate();let c;if(r&&e>l?c=l:r&&e<u?c=u:c=e,s.updateProgress(c),o.cssMode){const d=s.isHorizontal();if(t===0)a[d?"scrollLeft":"scrollTop"]=-c;else{if(!s.support.smoothScroll)return _1({swiper:s,targetPosition:-c,side:d?"left":"top"}),!0;a.scrollTo({[d?"left":"top"]:-c,behavior:"smooth"})}return!0}return t===0?(s.setTransition(0),s.setTranslate(c),n&&(s.emit("beforeTransitionStart",t,i),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(c),n&&(s.emit("beforeTransitionStart",t,i),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(f){!s||s.destroyed||f.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,n&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}var RO={getTranslate:CO,setTranslate:PO,minTranslate:kO,maxTranslate:MO,translateTo:AO};function NO(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=e===0?"0ms":""),n.emit("setTransition",e,t)}function $1(e){let{swiper:t,runCallbacks:n,direction:r,step:i}=e;const{activeIndex:s,previousIndex:o}=t;let a=r;a||(s>o?a="next":s<o?a="prev":a="reset"),t.emit(`transition${i}`),n&&a==="reset"?t.emit(`slideResetTransition${i}`):n&&s!==o&&(t.emit(`slideChangeTransition${i}`),a==="next"?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`))}function LO(e,t){e===void 0&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),$1({swiper:n,runCallbacks:e,direction:t,step:"Start"}))}function OO(e,t){e===void 0&&(e=!0);const n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),$1({swiper:n,runCallbacks:e,direction:t,step:"End"}))}var IO={setTransition:NO,transitionStart:LO,transitionEnd:OO};function DO(e,t,n,r,i){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const s=this;let o=e;o<0&&(o=0);const{params:a,snapGrid:l,slidesGrid:u,previousIndex:c,activeIndex:d,rtlTranslate:f,wrapperEl:m,enabled:v}=s;if(!v&&!r&&!i||s.destroyed||s.animating&&a.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=s.params.speed);const y=Math.min(s.params.slidesPerGroupSkip,o);let w=y+Math.floor((o-y)/s.params.slidesPerGroup);w>=l.length&&(w=l.length-1);const g=-l[w];if(a.normalizeSlideIndex)for(let k=0;k<u.length;k+=1){const C=-Math.floor(g*100),A=Math.floor(u[k]*100),M=Math.floor(u[k+1]*100);typeof u[k+1]<"u"?C>=A&&C<M-(M-A)/2?o=k:C>=A&&C<M&&(o=k+1):C>=A&&(o=k)}if(s.initialized&&o!==d&&(!s.allowSlideNext&&(f?g>s.translate&&g>s.minTranslate():g<s.translate&&g<s.minTranslate())||!s.allowSlidePrev&&g>s.translate&&g>s.maxTranslate()&&(d||0)!==o))return!1;o!==(c||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(g);let p;o>d?p="next":o<d?p="prev":p="reset";const h=s.virtual&&s.params.virtual.enabled;if(!(h&&i)&&(f&&-g===s.translate||!f&&g===s.translate))return s.updateActiveIndex(o),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),a.effect!=="slide"&&s.setTranslate(g),p!=="reset"&&(s.transitionStart(n,p),s.transitionEnd(n,p)),!1;if(a.cssMode){const k=s.isHorizontal(),C=f?g:-g;if(t===0)h&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),h&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[k?"scrollLeft":"scrollTop"]=C})):m[k?"scrollLeft":"scrollTop"]=C,h&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return _1({swiper:s,targetPosition:C,side:k?"left":"top"}),!0;m.scrollTo({[k?"left":"top"]:C,behavior:"smooth"})}return!0}const E=B1().isSafari;return h&&!i&&E&&s.isElement&&s.virtual.update(!1,!1,o),s.setTransition(t),s.setTranslate(g),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,r),s.transitionStart(n,p),t===0?s.transitionEnd(n,p):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(C){!s||s.destroyed||C.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,p))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function jO(e,t,n,r){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this;if(i.destroyed)return;typeof t>"u"&&(t=i.params.speed);const s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let a;if(s){const f=o*i.params.grid.rows;a=i.slides.find(m=>m.getAttribute("data-swiper-slide-index")*1===f).column}else a=i.getSlideIndexByData(o);const l=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let d=l-a<c;if(u&&(d=d||a<Math.ceil(c/2)),r&&u&&i.params.slidesPerView!=="auto"&&!s&&(d=!1),d){const f=u?a<i.activeIndex?"prev":"next":a-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:f,slideTo:!0,activeSlideIndex:f==="next"?a+1:a-l+1,slideRealIndex:f==="next"?i.realIndex:void 0})}if(s){const f=o*i.params.grid.rows;o=i.slides.find(m=>m.getAttribute("data-swiper-slide-index")*1===f).column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,t,n,r)}),i}function _O(e,t,n){t===void 0&&(t=!0);const r=this,{enabled:i,params:s,animating:o}=r;if(!i||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let a=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<s.slidesPerGroupSkip?1:a,u=r.virtual&&s.virtual.enabled;if(s.loop){if(o&&!u&&s.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function VO(e,t,n){t===void 0&&(t=!0);const r=this,{params:i,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=a?r.translate:-r.translate;function f(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const m=f(d),v=s.map(p=>f(p)),y=i.freeMode&&i.freeMode.enabled;let w=s[v.indexOf(m)-1];if(typeof w>"u"&&(i.cssMode||y)){let p;s.forEach((h,S)=>{m>=h&&(p=S)}),typeof p<"u"&&(w=y?s[p]:s[p>0?p-1:p])}let g=0;if(typeof w<"u"&&(g=o.indexOf(w),g<0&&(g=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(g=g-r.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),i.rewind&&r.isBeginning){const p=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(p,e,t,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(g,e,t,n)}),!0;return r.slideTo(g,e,t,n)}function zO(e,t,n){t===void 0&&(t=!0);const r=this;if(!r.destroyed)return typeof e>"u"&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function FO(e,t,n,r){t===void 0&&(t=!0),r===void 0&&(r=.5);const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const u=i.snapGrid[a],c=i.snapGrid[a+1];l-u>(c-u)*r&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];l-u<=(c-u)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)}function BO(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.getSlideIndexWhenGrid(e.clickedIndex),s;const o=e.isElement?"swiper-slide":`.${t.slideClass}`,a=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(s):i>(a?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),i=e.getSlideIndex(Kt(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),j1(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var $O={slideTo:DO,slideToLoop:jO,slideNext:_O,slidePrev:VO,slideReset:zO,slideToClosest:FO,slideToClickedSlide:BO};function UO(e,t){const n=this,{params:r,slidesEl:i}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const s=()=>{Kt(i,`.${r.slideClass}, swiper-slide`).forEach((m,v)=>{m.setAttribute("data-swiper-slide-index",v)})},o=()=>{const f=Kt(i,`.${r.slideBlankClass}`);f.forEach(m=>{m.remove()}),f.length>0&&(n.recalcSlides(),n.updateSlides())},a=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||a)&&o();const l=r.slidesPerGroup*(a?r.grid.rows:1),u=n.slides.length%l!==0,c=a&&n.slides.length%r.grid.rows!==0,d=f=>{for(let m=0;m<f;m+=1){const v=n.isElement?dl("swiper-slide",[r.slideBlankClass]):dl("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(v)}};if(u){if(r.loopAddBlankSlides){const f=l-n.slides.length%l;d(f),n.recalcSlides(),n.updateSlides()}else cl("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else if(c){if(r.loopAddBlankSlides){const f=r.grid.rows-n.slides.length%r.grid.rows;d(f),n.recalcSlides(),n.updateSlides()}else cl("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may 
188not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else s();n.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next",initial:t})}function WO(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:i,activeSlideIndex:s,initial:o,byController:a,byMousewheel:l}=e===void 0?{}:e;const u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:f,slidesEl:m,params:v}=u,{centeredSlides:y,initialSlide:w}=v;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&v.virtual.enabled){n&&(!v.centeredSlides&&u.snapIndex===0?u.slideTo(u.virtual.slides.length,0,!1,!0):v.centeredSlides&&u.snapIndex<v.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0)),u.allowSlidePrev=d,u.allowSlideNext=f,u.emit("loopFix");return}let g=v.slidesPerView;g==="auto"?g=u.slidesPerViewDynamic():(g=Math.ceil(parseFloat(v.slidesPerView,10)),y&&g%2===0&&(g=g+1));const p=v.slidesPerGroupAuto?g:v.slidesPerGroup;let h=y?Math.max(p,Math.ceil(g/2)):p;h%p!==0&&(h+=p-h%p),h+=v.loopAdditionalSlides,u.loopedSlides=h;const S=u.grid&&v.grid&&v.grid.rows>1;c.length<g+h||u.params.effect==="cards"&&c.length<g+h*2?cl("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):S&&v.grid.fill==="row"&&cl("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const T=[],E=[],k=S?Math.ceil(c.length/v.grid.rows):c.length,C=o&&k-w<g&&!y;let A=C?w:u.activeIndex;typeof s>"u"?s=u.getSlideIndex(c.find(j=>j.classList.contains(v.slideActiveClass))):A=s;const M=r==="next"||!r,R=r==="prev"||!r;let L=0,z=0;const $=(S?c[s].column:s)+(y&&typeof i>"u"?-g/2+.5:0);if($<h){L=Math.max(h-$,p);for(let j=0;j<h-$;j+=1){const F=j-Math.floor(j/k)*k;if(S){const P=k-F-1;for(let N=c.length-1;N>=0;N-=1)c[N].column===P&&T.push(N)}else T.push(k-F-1)}}else if($+g>k-h){z=Math.max($-(k-h*2),p),C&&(z=Math.max(z,g-k+w+1));for(let j=0;j<z;j+=1){const F=j-Math.floor(j/k)*k;S?c.forEach((P,N)=>{P.column===F&&E.push(N)}):E.push(F)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),u.params.effect==="cards"&&c.length<g+h*2&&(E.includes(s)&&E.splice(E.indexOf(s),1),T.includes(s)&&T.splice(T.indexOf(s),1)),R&&T.forEach(j=>{c[j].swiperLoopMoveDOM=!0,m.prepend(c[j]),c[j].swiperLoopMoveDOM=!1}),M&&E.forEach(j=>{c[j].swiperLoopMoveDOM=!0,m.append(c[j]),c[j].swiperLoopMoveDOM=!1}),u.recalcSlides(),v.slidesPerView==="auto"?u.updateSlides():S&&(T.length>0&&R||E.length>0&&M)&&u.slides.forEach((j,F)=>{u.grid.updateSlide(F,j,u.slides)}),v.watchSlidesProgress&&u.updateSlidesOffset(),n){if(T.length>0&&R){if(typeof t>"u"){const j=u.slidesGrid[A],P=u.slidesGrid[A+L]-j;l?u.setTranslate(u.translate-P):(u.slideTo(A+Math.ceil(L),0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-P,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-P))}else if(i){const j=S?T.length/v.grid.rows:T.length;u.slideTo(u.activeIndex+j,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(E.length>0&&M)if(typeof t>"u"){const j=u.slidesGrid[A],P=u.slidesGrid[A-z]-j;l?u.setTranslate(u.translate-P):(u.slideTo(A-z,0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-P,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-P))}else{const j=S?E.length/v.grid.rows:E.length;u.slideTo(u.activeIndex-j,0,!1,!0)}}if(u.allowSlidePrev=d,u.allowSlideNext=f,u.controller&&u.controller.control&&!a){const j={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(F=>{!F.destroyed&&F.params.loop&&F.loopFix({...j,slideTo:F.params.slidesPerView===v.slidesPerView?n:!1})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...j,slideTo:u.controller.control.params.slidesPerView===v.slidesPerView?n:!1})}u.emit("loopFix")}function HO(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];
vendor: 41,987 bytes, line 188
188e.slides.forEach(i=>{const s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[s]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var GO={loopCreate:UO,loopFix:WO,loopDestroy:HO};function KO(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function YO(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var XO={setGrabCursor:KO,unsetGrabCursor:YO};function QO(e,t){t===void 0&&(t=this);function n(r){if(!r||r===Jt()||r===Ke())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(e);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(t)}function Wg(e,t,n){const r=Ke(),{params:i}=e,s=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return s&&(n<=o||n>=r.innerWidth-o)?s==="prevent"?(t.preventDefault(),!0):!1:!0}function qO(e){const t=this,n=Jt();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){Wg(t,r,r.targetTouches[0].pageX);return}const{params:s,touches:o,enabled:a}=t;if(!a||!s.simulateTouch&&r.pointerType==="mouse"||t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=r.target;if(s.touchEventsTarget==="wrapper"&&!sO(l,t.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(f?QO(d,l):l.closest(d))){t.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const m=o.currentX,v=o.currentY;if(!Wg(t,r,m))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=m,o.startY=v,i.touchStartTime=ul(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let y=!0;l.matches(i.focusableElements)&&(y=!1,l.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==l&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!l.matches(i.focusableElements))&&n.activeElement.blur();const w=y&&t.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||w)&&!l.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function ZO(e){const t=Jt(),n=this,r=n.touchEventsData,{params:i,touches:s,rtlTranslate:o,enabled:a}=n;if(!a||!i.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].find(E=>E.identifier===r.touchId),!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const c=u.pageX,d=u.pageY;if(l.preventedByNestedSwiper){s.startX=c,s.startY=d;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=ul());return}if(i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(d<s.startY&&n.translate<=n.maxTranslate()||d>s.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(o&&(c>s.startX&&-n.translate<=n.maxTranslate()||c<s.startX&&-n.translate>=n.minTranslate()))return;if(!o&&(c<s.startX&&n.translate<=n.maxTranslate()||c>s.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==l.target&&l.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&l.target===t.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=d;const f=s.currentX-s.startX,m=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(f**2+m**2)<n.params.threshold)return;if(typeof r.isScrolling>"u"){let E;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:f*f+m*m>=25&&(E=Math.atan2(Math.abs(m),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?E>i.touchAngle:90-E>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let v=n.isHorizontal()?f:m,y=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(v=Math.abs(v)*(o?1:-1),y=Math.abs(y)*(o?1:-1)),s.diff=v,v*=i.touchRatio,o&&(v=-v,y=-y);const w=n.touchesDirection;n.swipeDirection=v>0?"prev":"next",n.touchesDirection=y>0?"prev":"next";const g=n.params.loop&&!i.cssMode,p=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(g&&p&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(E)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}let h;if(new Date().getTime(),i._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&w!==n.touchesDirection&&g&&p&&Math.abs(v)>=1){Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=v+r.startTranslate;let S=!0,T=i.resistanceRatio;if(i.touchReleaseOnEdges&&(T=0),v>0?(g&&p&&!h&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(i.slidesPerView!=="auto"&&n.slides.length-i.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(S=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+v)**T))):v<0&&(g&&p&&!h&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(i.slidesPerView!=="auto"&&n.slides.length-i.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(S=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-v)**T))),S&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(v)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function JO(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].find(T=>T.identifier===n.touchId),!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:o,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}o.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=ul(),f=d-n.touchStartTime;if(t.allowClick){const T=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(T&&T[0]||r.target,T),t.emit("tap click",r),f<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=ul(),j1(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||a.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let m;if(o.followFinger?m=l?t.translate:-t.translate:m=-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:m});return}const v=m>=-t.maxTranslate()&&!t.params.loop;let y=0,w=t.slidesSizesGrid[0];for(let T=0;T<u.length;T+=T<o.slidesPerGroupSkip?1:o.slidesPerGroup){const E=T<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;typeof u[T+E]<"u"?(v||m>=u[T]&&m<u[T+E])&&(y=T,w=u[T+E]-u[T]):(v||m>=u[T])&&(y=T,w=u[u.length-1]-u[u.length-2])}let g=null,p=null;o.rewind&&(t.isBeginning?p=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const h=(m-u[y])/w,S=y<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(f>o.longSwipesMs){if(!o.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(h>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?g:y+S):t.slideTo(y)),t.swipeDirection==="prev"&&(h>1-o.longSwipesRatio?t.slideTo(y+S):p!==null&&h<0&&Math.abs(h)>o.longSwipesRatio?t.slideTo(p):t.slideTo(y))}else{if(!o.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(y+S):t.slideTo(y):(t.swipeDirection==="next"&&t.slideTo(g!==null?g:y+S),t.swipeDirection==="prev"&&t.slideTo(p!==null?p:y))}}function Hg(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!a?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function eI(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function tI(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const s=e.maxTranslate()-e.minTranslate();s===0?i=0:i=(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function nI(e){const t=this;Ea(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function rI(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const U1=(e,t)=>{const n=Jt(),{params:r,el:i,wrapperEl:s,device:o}=e,a=!!r.nested,l=t==="on"?"addEventListener":"removeEventListener",u=t;!i||typeof i=="string"||(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",e.onClick,!0),r.cssMode&&s[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Hg,!0):e[u]("observerUpdate",Hg,!0),i[l]("load",e.onLoad,{capture:!0}))};function iI(){const e=this,{params:t}=e;e.onTouchStart=qO.bind(e),e.onTouchMove=ZO.bind(e),e.onTouchEnd=JO.bind(e),e.onDocumentTouchStart=rI.bind(e),t.cssMode&&(e.onScroll=tI.bind(e)),e.onClick=eI.bind(e),e.onLoad=nI.bind(e),U1(e,"on")}function sI(){U1(this,"off")}var oI={attachEvents:iI,detachEvents:sI};const Gg=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function aI(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const o=Jt(),a=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:o.querySelector(r.breakpointsBase),u=e.getBreakpoint(s,a,l);if(!u||e.currentBreakpoint===u)return;const d=(u in s?s[u]:void 0)||e.originalParams,f=Gg(e,r),m=Gg(e,d),v=e.params.grabCursor,y=d.grabCursor,w=r.enabled;f&&!m?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!f&&m&&(i.classList.add(`${r.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),v&&!y?e.unsetGrabCursor():!v&&y&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(E=>{if(typeof d[E]>"u")return;const k=r[E]&&r[E].enabled,C=d[E]&&d[E].enabled;k&&!C&&e[E].disable(),!k&&C&&e[E].enable()});const g=d.direction&&d.direction!==r.direction,p=r.loop&&(d.slidesPerView!==r.slidesPerView||g),h=r.loop;g&&n&&e.changeDirection(),ot(e.params,d);const S=e.params.enabled,T=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),w&&!S?e.disable():!w&&S&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",d),n&&(p?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!h&&T?(e.loopCreate(t),e.updateSlides()):h&&!T&&e.loopDestroy()),e.emit("breakpoint",d)}function lI(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=Ke(),s=t==="window"?i.innerHeight:n.clientHeight,o=Object.keys(e).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:s*l,point:a}}return{value:a,point:a}});o.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a<o.length;a+=1){const{point:l,value:u}=o[a];t==="window"?i.matchMedia(`(min-width: ${u}px)`).matches&&(r=l):u<=n.clientWidth&&(r=l)}return r||"max"}var uI={setBreakpoint:aI,getBreakpoint:lI};function cI(e,t){const n=[];return e.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(t+i)}):typeof r=="string"&&n.push(t+r)}),n}function dI(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:s}=e,o=cI(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),i.classList.add(...t),e.emitContainerClasses()}function fI(){const e=this,{el:t,classNames:n}=e;!t||typeof t=="string"||(t.classList.remove(...n),e.emitContainerClasses())}var pI={addClasses:dI,removeClasses:fI};function hI(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,s=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>s}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var mI={checkOverflow:hI},_d={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function gI(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){ot(t,r);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),!(i in e&&"enabled"in s)){ot(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),ot(t,r)}}const tc={eventsEmitter:pO,update:EO,translate:RO,transition:IO,slide:$O,loop:GO,grabCursor:XO,events:oI,breakpoints:uI,checkOverflow:mI,classes:pI},nc={};let Rp=class an{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];i.length===1&&i[0].constructor&&Object.prototype.toString.call(i[0]).slice(8,-1)==="Object"?n=i[0]:[t,n]=i,n||(n={}),n=ot({},n),t&&!n.el&&(n.el=t);const o=Jt();if(n.el&&typeof n.el=="string"&&o.querySelectorAll(n.el).length>1){const c=[];return o.querySelectorAll(n.el).forEach(d=>{const f=ot({},n,{el:d});c.push(new an(f))}),c}const a=this;a.__swiper__=!0,a.support=z1(),a.device=F1({userAgent:n.userAgent}),a.browser=B1(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const l={};a.modules.forEach(c=>{c({params:n,swiper:a,extendParams:gI(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=ot({},_d,l);return a.params=ot({},u,nc,n),a.originalParams=ot({},a.params),a.passedParams=ot({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,i=Kt(n,`.${r.slideClass}, swiper-slide`),s=fl(i[0]);return fl(t)-s}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?t=Math.floor(t/this.params.grid.rows):this.params.grid.fill==="row"&&(t=t%Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=Kt(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const i=r.minTranslate(),o=(r.maxTranslate()-i)*t+i;r.translateTo(o,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const i=t.getSlideClasses(r);n.push({slideEl:r,classNames:i}),t.emit("_slideClass",r,i)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:s,slidesGrid:o,slidesSizesGrid:a,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=s[u]?Math.ceil(s[u].swiperSlideSize):0,f;for(let m=u+1;m<s.length;m+=1)s[m]&&!f&&(d+=Math.ceil(s[m].swiperSlideSize),c+=1,d>l&&(f=!0));for(let m=u-1;m>=0;m-=1)s[m]&&!f&&(d+=s[m].swiperSlideSize,c+=1,d>l&&(f=!0))}else if(t==="current")for(let d=u+1;d<s.length;d+=1)(n?o[d]+a[d]-o[u]<l:o[d]-o[u]<l)&&(c+=1);else for(let d=u-1;d>=0;d-=1)o[u]-o[d]<l&&(c+=1);return c}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:n,params:r}=t;r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(o=>{o.complete&&Ea(t,o)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const o=t.rtlTranslate?t.translate*-1:t.translate,a=Math.min(Math.max(o,t.maxTranslate()),t.minTranslate());t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}let s;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const o=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;s=t.slideTo(o.length-1,0,!1,!0)}else s=t.slideTo(t.activeIndex,0,!1,!0);s||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(s=>{t==="vertical"?s.style.width="":s.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):Kt(r,i())[0];return!o&&n.params.createElements&&(o=dl("div",n.params.wrapperClass),r.append(o),Kt(r,`.${n.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||Hn(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||Hn(r,"direction")==="rtl"),wrongRTL:Hn(o,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?Ea(n,s):s.addEventListener("load",o=>{Ea(n,o.target)})}),jd(n),n.initialized=!0,jd(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:i,el:s,wrapperEl:o,slides:a}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),s&&typeof s!="string"&&s.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),t!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),eO(r)),r.destroyed=!0),null}static extendDefaults(t){ot(nc,t)}static get extendedDefaults(){return nc}static get defaults(){return _d}static installModule(t){an.prototype.__modules__||(an.prototype.__modules__=[]);const n=an.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>an.installModule(n)),an):(an.installModule(t),an)}};Object.keys(tc).forEach(e=>{Object.keys(tc[e]).forEach(t=>{Rp.prototype[t]=tc[e][t]})});Rp.use([dO,fO]);const W1=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Fr(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function bi(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:Fr(t[r])&&Fr(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:bi(e[r],t[r]):e[r]=t[r]})}function H1(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function G1(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function K1(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function Y1(e){e===void 0&&(e="");const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function vI(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function yI(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:s,prevEl:o,scrollbarEl:a,paginationEl:l}=e;const u=i.filter(A=>A!=="children"&&A!=="direction"&&A!=="wrapperClass"),{params:c,pagination:d,navigation:f,scrollbar:m,virtual:v,thumbs:y}=t;let w,g,p,h,S,T,E,k;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&!r.thumbs.swiper.destroyed&&c.thumbs&&(!c.thumbs.swiper||c.thumbs.swiper.destroyed)&&(w=!0),i.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(g=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(p=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&m&&!m.el&&(h=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||o)&&(r.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(S=!0);const C=A=>{t[A]&&(t[A].destroy(),A==="navigation"?(t.isElement&&(t[A].prevEl.remove(),t[A].nextEl.remove()),c[A].prevEl=void 0,c[A].nextEl=void 0,t[A].prevEl=void 0,t[A].nextEl=void 0):(t.isElement&&t[A].el.remove(),c[A].el=void 0,t[A].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!r.loop?T=!0:!c.loop&&r.loop?E=!0:k=!0),u.forEach(A=>{if(Fr(c[A])&&Fr(r[A]))Object.assign(c[A],r[A]),(A==="navigation"||A==="pagination"||A==="scrollbar")&&"enabled"in r[A]&&!r[A].enabled&&C(A);else{const M=r[A];(M===!0||M===!1)&&(A==="navigation"||A==="pagination"||A==="scrollbar")?M===!1&&C(A):c[A]=r[A]}}),u.includes("controller")&&!g&&t.controller&&t.controller.control&&c.controller&&c.controller.control&&(t.controller.control=c.controller.control),i.includes("children")&&n&&v&&c.virtual.enabled?(v.slides=n,v.update(!0)):i.includes("virtual")&&v&&c.virtual.enabled&&(n&&(v.slides=n),v.update(!0)),i.includes("children")&&n&&c.loop&&(k=!0),w&&y.init()&&y.update(!0),g&&(t.controller.control=c.controller.control),p&&(t.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),t.el.appendChild(l)),l&&(c.pagination.el=l),d.init(),d.render(),d.update()),h&&(t.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),t.el.appendChild(a)),a&&(c.scrollbar.el=a),m.init(),m.updateSize(),m.setTranslate()),S&&(t.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),pl(s,t.hostEl.constructor.nextButtonSvg),s.part.add("button-next"),t.el.appendChild(s)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),pl(o,t.hostEl.constructor.prevButtonSvg),o.part.add("button-prev"),t.el.appendChild(o))),s&&(c.navigation.nextEl=s),o&&(c.navigation.prevEl=o),f.init(),f.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(T||k)&&t.loopDestroy(),(E||k)&&t.loopCreate(),t.update()}function wI(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};bi(n,_d),n._emitClasses=!0,n.init=!1;const s={},o=W1.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(o.indexOf(l)>=0?Fr(e[l])?(n[l]={},i[l]={},bi(n[l],e[l]),bi(i[l],e[l])):(n[l]=e[l],i[l]=e[l]):l.search(/on[A-Z]/)===0&&typeof e[l]=="function"?t?r[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:n.on[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:s[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:i,rest:s,events:r}}function xI(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:s,scrollbarEl:o,swiper:a}=e;H1(t)&&r&&i&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),G1(t)&&s&&(a.params.pagination.el=s,a.originalParams.pagination.el=s),K1(t)&&o&&(a.params.scrollbar.el=o,a.originalParams.scrollbar.el=o),a.init(n)}function SI(e,t,n,r,i){const s=[];if(!t)return s;const o=l=>{s.indexOf(l)<0&&s.push(l)};if(n&&r){const l=r.map(i),u=n.map(i);l.join("")!==u.join("")&&o("children"),r.length!==n.length&&o("children")}return W1.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(Fr(e[l])&&Fr(t[l])){const u=Object.keys(e[l]),c=Object.keys(t[l]);u.length!==c.length?o(l):(u.forEach(d=>{e[l][d]!==t[l][d]&&o(l)}),c.forEach(d=>{e[l][d]!==t[l][d]&&o(l)}))}else e[l]!==t[l]&&o(l)}),s}const bI=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function hl(){return hl=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},hl.apply(this,arguments)}function X1(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function Q1(e){const t=[];return I.Children.toArray(e).forEach(n=>{X1(n)?t.push(n):n.props&&n.props.children&&Q1(n.props.children).forEach(r=>t.push(r))}),t}function TI(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return I.Children.toArray(e).forEach(r=>{if(X1(r))t.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const i=Q1(r.props.children);i.length>0?i.forEach(s=>t.push(s)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function EI(e,t,n){if(!n)return null;const r=c=>{let d=c;return c<0?d=t.length+c:d>=t.length&&(d=d-t.length),d},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:s,to:o}=n,a=e.params.loop?-t.length:0,l=e.params.loop?t.length*2:t.length,u=[];for(let c=a;c<l;c+=1)c>=s&&c<=o&&u.push(t[r(c)]);return u.map((c,d)=>I.cloneElement(c,{swiper:e,style:i,key:c.props.virtualIndex||c.key||`slide-${d}`}))}function Is(e,t){return typeof window>"u"?x.useEffect(e,t):x.useLayoutEffect(e,t)}const Kg=x.createContext(null),CI=x.createContext(null),q1=x.forwardRef(function(e,t){let{className:n,tag:r="div",wrapperTag:i="div",children:s,onSwiper:o,...a}=e===void 0?{}:e,l=!1;const[u,c]=x.useState("swiper"),[d,f]=x.useState(null),[m,v]=x.useState(!1),y=x.useRef(!1),w=x.useRef(null),g=x.useRef(null),p=x.useRef(null),h=x.useRef(null),S=x.useRef(null),T=x.useRef(null),E=x.useRef(null),k=x.useRef(null),{params:C,passedParams:A,rest:M,events:R}=wI(a),{slides:L,slots:z}=TI(s),D=()=>{v(!m)};Object.assign(C.on,{_containerClasses(N,V){c(V)}});const $=()=>{Object.assign(C.on,R),l=!0;const N={...C};if(delete N.wrapperClass,g.current=new Rp(N),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=L;const V={cache:!1,slides:L,renderExternal:f,renderExternalUpdate:!1};bi(g.current.params.virtual,V),bi(g.current.originalParams.virtual,V)}};w.current||$(),g.current&&g.current.on("_beforeBreakpoint",D);const j=()=>{l||!R||!g.current||Object.keys(R).forEach(N=>{g.current.on(N,R[N])})},F=()=>{!R||!g.current||Object.keys(R).forEach(N=>{g.current.off(N,R[N])})};x.useEffect(()=>()=>{g.current&&g.current.off("_beforeBreakpoint",D)}),x.useEffect(()=>{!y.current&&g.current&&(g.current.emitSlidesClasses(),y.current=!0)}),Is(()=>{if(t&&(t.current=w.current),!!w.current)return g.current.destroyed&&$(),xI({el:w.current,nextEl:S.current,prevEl:T.current,paginationEl:E.current,scrollbarEl:k.current,swiper:g.current},C),o&&!g.current.destroyed&&o(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}},[]),Is(()=>{j();const N=SI(A,p.current,L,h.current,V=>V.key);return p.current=A,h.current=L,N.length&&g.current&&!g.current.destroyed&&yI({swiper:g.current,slides:L,passedParams:A,changedParams:N,nextEl:S.current,prevEl:T.current,scrollbarEl:k.current,paginationEl:E.current}),()=>{F()}}),Is(()=>{bI(g.current)},[d]);function P(){return C.virtual?EI(g.current,L,d):L.map((N,V)=>I.cloneElement(N,{swiper:g.current,swiperSlideIndex:V}))}return I.createElement(r,hl({ref:w,className:Y1(`${u}${n?` ${n}`:""}`)},M),I.createElement(CI.Provider,{value:g.current},z["container-start"],I.createElement(i,{className:vI(C.wrapperClass)},z["wrapper-start"],P(),z["wrapper-end"]),H1(C)&&I.createElement(I.Fragment,null,I.createElement("div",{ref:T,className:"swiper-button-prev"}),I.createElement("div",{ref:S,className:"swiper-button-next"})),K1(C)&&I.createElement("div",{ref:k,className:"swiper-scrollbar"}),G1(C)&&I.createElement("div",{ref:E,className:"swiper-pagination"}),z["container-end"]))});q1.displayName="Swiper";const Z1=x.forwardRef(function(e,t){let{tag:n="div",children:r,className:i="",swiper:s,zoom:o,lazy:a,virtualIndex:l,swiperSlideIndex:u,...c}=e===void 0?{}:e;const d=x.useRef(null),[f,m]=x.useState("swiper-slide"),[v,y]=x.useState(!1);function w(S,T,E){T===d.current&&m(E)}Is(()=>
188{if(typeof u<"u"&&(d.current.swiperSlideIndex=u),t&&(t.current=d.current),!(!d.current||!s)){if(s.destroyed){f!=="swiper-slide"&&m("swiper-slide");return}return s.on("_slideClass",w),()=>{s&&s.off("_slideClass",w)}}}),Is(()=>{s&&d.current&&!s.destroyed&&m(s.getSlideClasses(d.current))},[s]);const g={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},p=()=>typeof r=="function"?r(g):r,h=()=>{y(!0)};return I.createElement(n,hl({ref:d,className:Y1(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":l,onLoad:h},c),o&&I.createElement(Kg.Provider,{value:g},I.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof o=="number"?o:void 0},p(),a&&!v&&I.createElement("div",{className:"swiper-lazy-preloader"}))),!o&&I.createElement(Kg.Provider,{value:g},p(),a&&!v&&I.createElement("div",{className:"swiper-lazy-preloader"})))});Z1.displayName="SwiperSlide";function PI(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(i=>{if(!n[i]&&n.auto===!0){let s=Kt(e.el,`.${r[i]}`)[0];s||(s=dl("div",r[i]),s.className=r[i],e.el.append(s)),n[i]=s,t[i]=s}}),n}function ps(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function kI(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),t.pagination={el:null,bullets:[]};let o,a=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function u(p,h){const{bulletActiveClass:S}=t.params.pagination;p&&(p=p[`${h==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${S}-${h}`),p=p[`${h==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${S}-${h}-${h}`)))}function c(p,h,S){if(p=p%S,h=h%S,h===p+1)return"next";if(h===p-1)return"previous"}function d(p){const h=p.target.closest(ps(t.params.pagination.bulletClass));if(!h)return;p.preventDefault();const S=fl(h)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===S)return;const T=c(t.realIndex,S,t.slides.length);T==="next"?t.slideNext():T==="previous"?t.slidePrev():t.slideToLoop(S)}else t.slideTo(S)}function f(){const p=t.rtl,h=t.params.pagination;if(l())return;let S=t.pagination.el;S=sn(S);let T,E;const k=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,C=t.params.loop?Math.ceil(k/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(E=t.previousRealIndex||0,T=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(T=t.snapIndex,E=t.previousSnapIndex):(E=t.previousIndex||0,T=t.activeIndex||0),h.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const A=t.pagination.bullets;let M,R,L;if(h.dynamicBullets&&(o=Dd(A[0],t.isHorizontal()?"width":"height"),S.forEach(z=>{z.style[t.isHorizontal()?"width":"height"]=`${o*(h.dynamicMainBullets+4)}px`}),h.dynamicMainBullets>1&&E!==void 0&&(a+=T-(E||0),a>h.dynamicMainBullets-1?a=h.dynamicMainBullets-1:a<0&&(a=0)),M=Math.max(T-a,0),R=M+(Math.min(A.length,h.dynamicMainBullets)-1),L=(R+M)/2),A.forEach(z=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map($=>`${h.bulletActiveClass}${$}`)].map($=>typeof $=="string"&&$.includes(" ")?$.split(" "):$).flat();z.classList.remove(...D)}),S.length>1)A.forEach(z=>{const D=fl(z);D===T?z.classList.add(...h.bulletActiveClass.split(" ")):t.isElement&&z.setAttribute("part","bullet"),h.dynamicBullets&&(D>=M&&D<=R&&z.classList.add(...`${h.bulletActiveClass}-main`.split(" ")),D===M&&u(z,"prev"),D===R&&u(z,"next"))});else{const z=A[T];if(z&&z.classList.add(...h.bulletActiveClass.split(" ")),t.isElement&&A.forEach((D,$)=>{D.setAttribute("part",$===T?"bullet-active":"bullet")}),h.dynamicBullets){const D=A[M],$=A[R];for(let j=M;j<=R;j+=1)A[j]&&A[j].classList.add(...`${h.bulletActiveClass}-main`.split(" "));u(D,"prev"),u($,"next")}}if(h.dynamicBullets){const z=Math.min(A.length,h.dynamicMainBullets+4),D=(o*z-o)/2-L*o,$=p?"right":"left";A.forEach(j=>
vendor: 4,682 bytes, line 188
188{j.style[t.isHorizontal()?$:"top"]=`${D}px`})}}S.forEach((A,M)=>{if(h.type==="fraction"&&(A.querySelectorAll(ps(h.currentClass)).forEach(R=>{R.textContent=h.formatFractionCurrent(T+1)}),A.querySelectorAll(ps(h.totalClass)).forEach(R=>{R.textContent=h.formatFractionTotal(C)})),h.type==="progressbar"){let R;h.progressbarOpposite?R=t.isHorizontal()?"vertical":"horizontal":R=t.isHorizontal()?"horizontal":"vertical";const L=(T+1)/C;let z=1,D=1;R==="horizontal"?z=L:D=L,A.querySelectorAll(ps(h.progressbarFillClass)).forEach($=>{$.style.transform=`translate3d(0,0,0) scaleX(${z}) scaleY(${D})`,$.style.transitionDuration=`${t.params.speed}ms`})}h.type==="custom"&&h.renderCustom?(pl(A,h.renderCustom(t,T+1,C)),M===0&&i("paginationRender",A)):(M===0&&i("paginationRender",A),i("paginationUpdate",A)),t.params.watchOverflow&&t.enabled&&A.classList[t.isLocked?"add":"remove"](h.lockClass)})}function m(){const p=t.params.pagination;if(l())return;const h=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let S=t.pagination.el;S=sn(S);let T="";if(p.type==="bullets"){let E=t.params.loop?Math.ceil(h/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&E>h&&(E=h);for(let k=0;k<E;k+=1)p.renderBullet?T+=p.renderBullet.call(t,k,p.bulletClass):T+=`<${p.bulletElement} ${t.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?T=p.renderFraction.call(t,p.currentClass,p.totalClass):T=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?T=p.renderProgressbar.call(t,p.progressbarFillClass):T=`<span class="${p.progressbarFillClass}"></span>`),t.pagination.bullets=[],S.forEach(E=>{p.type!=="custom"&&pl(E,T||""),p.type==="bullets"&&t.pagination.bullets.push(...E.querySelectorAll(ps(p.bulletClass)))}),p.type!=="custom"&&i("paginationRender",S[0])}function v(){t.params.pagination=PI(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const p=t.params.pagination;if(!p.el)return;let h;typeof p.el=="string"&&t.isElement&&(h=t.el.querySelector(p.el)),!h&&typeof p.el=="string"&&(h=[...document.querySelectorAll(p.el)]),h||(h=p.el),!(!h||h.length===0)&&(t.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(h)&&h.length>1&&(h=[...t.el.querySelectorAll(p.el)],h.length>1&&(h=h.find(S=>V1(S,".swiper")[0]===t.el))),Array.isArray(h)&&h.length===1&&(h=h[0]),Object.assign(t.pagination,{el:h}),h=sn(h),h.forEach(S=>{p.type==="bullets"&&p.clickable&&S.classList.add(...(p.clickableClass||"").split(" ")),S.classList.add(p.modifierClass+p.type),S.classList.add(t.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(S.classList.add(`${p.modifierClass}${p.type}-dynamic`),a=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&S.classList.add(p.progressbarOppositeClass),p.clickable&&S.addEventListener("click",d),t.enabled||S.classList.add(p.lockClass)}))}function y(){const p=t.params.pagination;if(l())return;let h=t.pagination.el;h&&(h=sn(h),h.forEach(S=>{S.classList.remove(p.hiddenClass),S.classList.remove(p.modifierClass+p.type),S.classList.remove(t.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(S.classList.remove(...(p.clickableClass||"").split(" ")),S.removeEventListener("click",d))})),t.pagination.bullets&&t.pagination.bullets.forEach(S=>S.classList.remove(...p.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const p=t.params.pagination;let{el:h}=t.pagination;h=sn(h),h.forEach(S=>{S.classList.remove(p.horizontalClass,p.verticalClass),S.classList.add(t.isHorizontal()?p.horizontalClass:p.verticalClass)})}),r("init",()=>{t.params.pagination.enabled===!1?g():(v(),m(),f())}),r("activeIndexChange",()=>{typeof t.snapIndex>"u"&&f()}),r("snapIndexChange",()=>{f()}),r("snapGridLengthChange",()=>{m(),f()}),r("destroy",()=>{y()}),r("enable disable",()=>{let{el:p}=t.pagination;p&&(p=sn(p),p.forEach(h=>h.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),r("lock unlock",()=>{f()}),r("click",(p,h)=>{const S=h.target,T=sn(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&T&&T.length>0&&!S.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&S===t.navigation.nextEl||t.navigation.prevEl&&S===t.navigation.prevEl))return;const E=T[0].classList.contains(t.params.pagination.hiddenClass);i(E===!0?"paginationShow":"paginationHide"),T.forEach(k=>
vendor: 4,081 bytes, line 188
188k.classList.toggle(t.params.pagination.hiddenClass))}});const w=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:p}=t.pagination;p&&(p=sn(p),p.forEach(h=>h.classList.remove(t.params.pagination.paginationDisabledClass))),v(),m(),f()},g=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:p}=t.pagination;p&&(p=sn(p),p.forEach(h=>h.classList.add(t.params.pagination.paginationDisabledClass))),y()};Object.assign(t.pagination,{enable:w,disable:g,render:m,update:f,init:v,destroy:y})}function MI(e){let{swiper:t,extendParams:n,on:r,emit:i,params:s}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,a,l=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,d=new Date().getTime(),f,m,v,y,w,g,p;function h(P){!t||t.destroyed||!t.wrapperEl||P.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",h),!(p||P.detail&&P.detail.bySwiperTouchMove)&&M())}const S=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?f=!0:f&&(u=c,f=!1);const P=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=P,i("autoplayTimeLeft",P,P/l),a=requestAnimationFrame(()=>{S()})},T=()=>{let P;return t.virtual&&t.params.virtual.enabled?P=t.slides.find(V=>V.classList.contains("swiper-slide-active")):P=t.slides[t.activeIndex],P?parseInt(P.getAttribute("data-swiper-autoplay"),10):void 0},E=P=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(a),S();let N=typeof P>"u"?t.params.autoplay.delay:P;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const V=T();!Number.isNaN(V)&&V>0&&typeof P>"u"&&(N=V,l=V,u=V),c=N;const B=t.params.speed,W=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(B,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,B,!0,!0),i("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(B,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,B,!0,!0),i("autoplay")),t.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{E()})))};return N>0?(clearTimeout(o),o=setTimeout(()=>{W()},N)):requestAnimationFrame(()=>{W()}),N},k=()=>{d=new Date().getTime(),t.autoplay.running=!0,E(),i("autoplayStart")},C=()=>{t.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(a),i("autoplayStop")},A=(P,N)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(o),P||(g=!0);const V=()=>{i("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",h):M()};if(t.autoplay.paused=!0,N){w&&(c=t.params.autoplay.delay),w=!1,V();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-d),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),V())},M=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(d=new Date().getTime(),g?(g=!1,E(c)):E(),t.autoplay.paused=!1,i("autoplayResume"))},R=()=>{if(t.destroyed||!t.autoplay.running)return;const P=Jt();P.visibilityState==="hidden"&&(g=!0,A(!0)),P.visibilityState==="visible"&&M()},L=P=>{P.pointerType==="mouse"&&(g=!0,p=!0,!(t.animating||t.autoplay.paused)&&A(!0))},z=P=>{P.pointerType==="mouse"&&(p=!1,t.autoplay.paused&&M())},D=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",L),t.el.addEventListener("pointerleave",z))},$=()=>{t.el&&typeof t.el!="string"&&(t.el.removeEventListener("pointerenter",L),t.el.removeEventListener("pointerleave",z))},j=()=>{Jt().addEventListener("visibilitychange",R)},F=()=>{Jt().removeEventListener("visibilitychange",R)};r("init",()=>{t.params.autoplay.enabled&&(D(),j(),k())}),r("destroy",()=>{$(),F(),t.autoplay.running&&C()}),r("_freeModeStaticRelease",()=>{(v||g)&&M()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?C():A(!0,!0)}),r("beforeTransitionStart",(P,N,V)=>{t.destroyed||!t.autoplay.running||(V||!t.params.autoplay.disableOnInteraction?A(!0,!0):C())}),r("sliderFirstMove",()=>
188{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){C();return}m=!0,v=!1,g=!1,y=setTimeout(()=>{g=!0,v=!0,A(!0)},200)}}),r("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!m)){if(clearTimeout(y),clearTimeout(o),t.params.autoplay.disableOnInteraction){v=!1,m=!1;return}v&&t.params.cssMode&&M(),v=!1,m=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(w=!0)}),Object.assign(t.autoplay,{start:k,stop:C,pause:A,resume:M})}const AI=[{name:"Flexzone GYM",location:"Hyderabad",website:"https://www.flexzonegym.com/",image:"/c1.png",review:"Extremely impressed with APIthlete, it's a best-in-class solution for GYM Management.",rating:4.5},{name:"Warroirs Fitness",location:"Raipur",image:"/bg2.jpg",review:"Thanks to APithlete.",rating:4},{name:"FIT- The ultimate Unisex GYM",location:"Salem",image:"/classic.jpg",review:"Their service and support is very good and the software is user friendly design.",rating:4}],RI=e=>{const t=[];for(let n=1;n<=5;n++)e>=n?t.push(b.jsx(WE,{className:"w-5 h-5 text-yellow-500 fill-yellow-500"},n)):e>=n-.5?t.push(b.jsx($E,{className:"w-5 h-5 text-yellow-500 fill-yellow-500"},n)):t.push(b.jsx(UE,{className:"w-5 h-5 text-gray-300"},n));return t},NI=()=>b.jsxs("div",{className:"bg-white py-12",children:[b.jsx("h2",{className:"text-3xl font-bold text-center mb-8",children:"Our Happy Customers"}),b.jsx(q1,{modules:[MI,kI],spaceBetween:20,loop:!0,autoplay:{delay:2500,disableOnInteraction:!1},pagination:{clickable:!0},breakpoints:{0:{slidesPerView:1},640:{slidesPerView:1},768:{slidesPerView:2},1024:{slidesPerView:3}},className:"max-w-6xl mx-auto px-4",children:AI.map((e,t)=>b.jsx(Z1,{children:b.jsx("a",{href:e.website,target:"_blank",rel:"noopener noreferrer",className:"block text-center",children:b.jsxs("div",{className:"bg-white rounded-2xl shadow-md overflow-hidden p-4 transition hover:shadow-lg",children:[b.jsx("img",{src:e.image,alt:e.name,className:"w-full h-48 object-cover rounded-lg"}),b.jsx("h3",{className:"mt-4 text-lg font-semibold",children:e.name}),b.jsx("p",{className:"text-gray-500",children:e.location}),b.jsx("div",{className:"flex justify-center mt-2 mb-2",children:RI(e.rating)}),b.jsxs("p",{className:"text-gray-600 italic text-sm",children:["“",e.review,"”"]})]})})},t))})]});var J1={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Yg=I.createContext&&I.createContext(J1),LI=["attr","size","title"];function OI(e,t){if(e==null)return{};var n=II(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function II(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ml(){return ml=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},ml.apply(this,arguments)}function Xg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function gl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xg(Object(n),!0).forEach(function(r){DI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function DI(e,t,n){return t=jI(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jI(e){var t=_I(e,"string");return typeof t=="symbol"?t:t+""}function _I(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function eS(e){return e&&e.map((t,n)=>I.createElement(t.tag,gl({key:n},t.attr),eS(t.child)))}function VI(e){return t=>I.createElement(zI,ml({attr:gl({},e.attr)},t),eS(e.child))}function zI(e){var t=n=>{var{attr:r,size:i,title:s}=e,o=OI(e,LI),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),I.createElement("svg",ml({stroke:"currentColor",fill:"
188currentColor",strokeWidth:"0"},n.attr,r,o,{className:l,style:gl(gl({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),s&&I.createElement("title",null,s),e.children)};return Yg!==void 0?I.createElement(Yg.Consumer,null,n=>t(n)):t(J1)}function FI(e){return VI({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"},child:[]}]})(e)}const BI=()=>{const e="917306205146",t="Hi, I would like to know more about APIthlete",n=()=>{const r=`https://wa.me/${e}?text=${encodeURIComponent(t)}`;window.open(r,"_blank")};return b.jsx("button",{onClick:n,className:"fixed bottom-5 right-5 bg-green-500 text-white p-3 rounded-full shadow-md hover:bg-green-600 transition z-50",children:b.jsx(FI,{className:"text-2xl"})})},$I=()=>b.jsxs("div",{className:"min-h-screen",children:[b.jsx(Jk,{}),b.jsx(iM,{}),b.jsx(zL,{}),b.jsx(YL,{}),b.jsx(XL,{}),b.jsx(GL,{}),b.jsx(NI,{}),b.jsx(QL,{}),b.jsx(qL,{}),b.jsx(BI,{})]}),UI=()=>b.jsxs("section",{id:"contact",className:"relative w-full min-h-screen text-primary-foreground overflow-hidden",children:[b.jsxs("div",{className:"absolute inset-0",children:[b.jsx("img",{src:"/bg3.jpg",alt:"Contact background",className:"w-full h-full object-cover"}),b.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),b.jsxs("div",{className:"container mx-auto max-w-4xl relative z-10 mt-20",children:[b.jsxs("div",{className:"text-center mb-12",children:[b.jsx("h2",{className:"text-4xl font-bold mb-4",children:"Want to Know Our Pricing? Contact Sales"}),b.jsx("p",{className:"text-xl text-primary-foreground/90 mb-8",children:"Start with APIthlete and take control of your fitness business."})]}),b.jsx(Ji,{className:"bg-primary-foreground/10 border-primary-foreground/20 backdrop-blur-sm",children:b.jsx(es,{className:"p-8",children:b.jsxs("div",{className:"grid md:grid-cols-3 gap-8 text-center",children:[b.jsxs("div",{className:"space-y-4",children:[b.jsx("div",{className:"text-primary-foreground/80",children:b.jsx(Z0,{className:"w-8 h-8 mx-auto mb-2 "})}),b.jsxs("div",{children:[b.jsx("h3",{className:"font-semibold mb-2 text-white",children:"Email Us"}),b.jsx("a",{href:"mailto:[email protected]",className:"text-primary-foreground/80 hover:text-primary-foreground transition-colors",children:"[email protected]"})]})]}),b.jsxs("div",{className:"space-y-4",children:[b.jsx("div",{className:"text-primary-foreground/80",children:b.jsx(Vf,{className:"w-8 h-8 mx-auto mb-2"})}),b.jsxs("div",{children:[b.jsx("h3",{className:"font-semibold mb-2 text-white",children:"Visit Website"}),b.jsx("a",{href:"https://www.webgeon.com",target:"_blank",rel:"noopener noreferrer",className:"text-primary-foreground/80 hover:text-primary-foreground transition-colors",children:"www.webgeon.com"})]})]}),b.jsxs("div",{className:"space-y-4",children:[b.jsx("div",{className:"text-primary-foreground/80",children:b.jsx(ew,{className:"w-8 h-8 mx-auto mb-2"})}),b.jsxs("div",{children:[b.jsx("h3",{className:"font-semibold mb-2 text-white",children:"Call Us"}),b.jsx("a",{href:"tel:+917306205146",className:"text-primary-foreground/80 hover:text-primary-foreground transition-colors",children:"+91 7306205146"}),b.jsx("br",{}),b.jsx("a",{href:"tel:+916238838200",className:"text-primary-foreground
188/80 hover:text-primary-foreground transition-colors",children:"+91 6238838200"})]})]})]})})})]})]}),WI=new q2,HI=()=>b.jsx(J2,{client:WI,children:b.jsxs(M2,{children:[b.jsx(PC,{}),b.jsx(tP,{}),b.jsx(Xk,{children:b.jsxs($k,{children:[b.jsx(ud,{path:"/",element:b.jsx($I,{})}),b.jsx(ud,{path:"/pricing",element:b.jsx(UI,{})})]})})]})});y0(document.getElementById("root")).render(b.jsx(HI,{}));export{so as $,Qt as A,xA as B,Ix as C,gp as D,ep as E,St as F,Jo as G,x as H,Yx as I,Gl as J,b as K,sM as L,KA as M,SA as N,rR as O,Hl as P,oM as Q,ix as R,sR as S,Xx as T,aR as U,jR as V,XR as W,xN as X,IL as Y,TL as Z,DL as _,zm as a,gx as a$,lx as a0,JM as a1,gA as a2,rl as a3,f1 as a4,BR as a5,Md as a6,cN as a7,ZR as a8,de as a9,Ue as aA,lR as aB,Zf as aC,ba as aD,nD as aE,al as aF,dR as aG,hR as aH,s1 as aI,o1 as aJ,KN as aK,YN as aL,cg as aM,MN as aN,Jf as aO,JI as aP,sx as aQ,ox as aR,ax as aS,bo as aT,np as aU,qt as aV,hx as aW,rp as aX,px as aY,fx as aZ,ip as a_,$M as aa,ZM as ab,Dx as ac,WR as ad,ve as ae,eR as af,YR as ag,GR as ah,$R as ai,HN as aj,v1 as ak,ol as al,sA as am,co as an,MR as ao,Yu as ap,xn as aq,RR as ar,wA as as,g1 as at,r1 as au,Kl as av,ZI as aw,Sn as ax,Ns as ay,SN as az,yx as b,FA as b$,mx as b0,To as b1,dM as b2,vx as b3,fM as b4,cx as b5,dx as b6,NA as b7,eD as b8,EA as b9,vp as bA,wd as bB,xd as bC,lA as bD,mA as bE,Vx as bF,kx as bG,Om as bH,Vu as bI,up as bJ,Px as bK,FM as bL,VM as bM,il as bN,hd as bO,jM as bP,vA as bQ,we as bR,pd as bS,li as bT,OM as bU,ju as bV,br as bW,ao as bX,lr as bY,Fx as bZ,$m as b_,_x as ba,OA as bb,sp as bc,op as bd,Ed as be,gd as bf,tA as bg,Rs as bh,cp as bi,sl as bj,UA as bk,pp as bl,pA as bm,eA as bn,ys as bo,AA as bp,Mx as bq,wx as br,tD as bs,Qe as bt,Wx as bu,Pt as bv,YA as bw,XA as bx,JA as by,Gx as bz,wn as c,Bx as c0,zA as c1,oo as c2,Qi as c3,ea as c4,Ln as c5,Zt as c6,Rm as c7,EM as c8,CM as c9,zx as ca,$x as cb,nR as cc,Du as cd,ar as d,Zi as e,le as f,Ux as g,HA as h,pM as i,hA as j,Kx as k,Gt as l,tp as m,mp as n,Re as o,H as p,Rr as q,WA as r,Ox as s,qi as t,Am as u,qM as v,Hm as w,Bi as x,Ve as y,hp as z};

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.