PageSourceSearch

https://indigo-porpoise-455512.hostingersite.com/assets/index-f8b687d5.js

js indigo-porpoise-455512.hostingersite.com collected 2026-10-03 04:28:02 UTC 424,460 bytes, 244 lines download raw bytes

vendor: 4,894 bytes, lines 1-9
1(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Pr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hp={exports:{}},bs={},Gp={exports:{}},z={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var zo=Symbol.for("react.element"),Yy=Symbol.for("react.portal"),Zy=Symbol.for("react.fragment"),Qy=Symbol.for("react.strict_mode"),Ky=Symbol.for("react.profiler"),Xy=Symbol.for("react.provider"),qy=Symbol.for("react.context"),Jy=Symbol.for("react.forward_ref"),ev=Symbol.for("react.suspense"),tv=Symbol.for("react.memo"),nv=Symbol.for("react.lazy"),ed=Symbol.iterator;function rv(e){return e===null||typeof e!="object"?null:(e=ed&&e[ed]||e["@@iterator"],typeof e=="function"?e:null)}var Yp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zp=Object.assign,Qp={};function kr(e,t,n){this.props=e,this.context=t,this.refs=Qp,this.updater=n||Yp}kr.prototype.isReactComponent={};kr.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")};kr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Kp(){}Kp.prototype=kr.prototype;function fu(e,t,n){this.props=e,this.context=t,this.refs=Qp,this.updater=n||Yp}var pu=fu.prototype=new Kp;pu.constructor=fu;Zp(pu,kr.prototype);pu.isPureReactComponent=!0;var td=Array.isArray,Xp=Object.prototype.hasOwnProperty,hu={current:null},qp={key:!0,ref:!0,__self:!0,__source:!0};function Jp(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Xp.call(t,r)&&!qp.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:zo,type:e,key:i,ref:s,props:o,_owner:hu.current}}function ov(e,t){return{$$typeof:zo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function mu(e){return typeof e=="object"&&e!==null&&e.$$typeof===zo}function iv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var nd=/\/+/g;function qs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?iv(""+e.key):t.toString(36)}function Ei(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case zo:case Yy:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+qs(s,0):r,td(o)?(n="",e!=null&&(n=e.replace(nd,"$&/")+"/"),Ei(o,t,n,"",function(u){return u})):o!=null&&(mu(o)&&(o=ov(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(nd,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",td(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+qs(i,a);s+=Ei(i,t,n,l,o)}else if(l=rv(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+qs(i,a++),s+=Ei(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function ti(e,t,n){if(e==null)return e;var r=[],o=0;return Ei(e,r,"","",function(i){return t.call(n,i,o++)}),r}function sv(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 Me={current:null},Pi={transition:null},av={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:Pi,ReactCurrentOwner:hu};function eh(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 5,432 bytes, lines 9-25
9z.Children={map:ti,forEach:function(e,t,n){ti(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ti(e,function(){t++}),t},toArray:function(e){return ti(e,function(t){return t})||[]},only:function(e){if(!mu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};z.Component=kr;z.Fragment=Zy;z.Profiler=Ky;z.PureComponent=fu;z.StrictMode=Qy;z.Suspense=ev;z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=av;z.act=eh;z.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Zp({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=hu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Xp.call(t,l)&&!qp.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:zo,type:e.type,key:o,ref:i,props:r,_owner:s}};z.createContext=function(e){return e={$$typeof:qy,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Xy,_context:e},e.Consumer=e};z.createElement=Jp;z.createFactory=function(e){var t=Jp.bind(null,e);return t.type=e,t};z.createRef=function(){return{current:null}};z.forwardRef=function(e){return{$$typeof:Jy,render:e}};z.isValidElement=mu;z.lazy=function(e){return{$$typeof:nv,_payload:{_status:-1,_result:e},_init:sv}};z.memo=function(e,t){return{$$typeof:tv,type:e,compare:t===void 0?null:t}};z.startTransition=function(e){var t=Pi.transition;Pi.transition={};try{e()}finally{Pi.transition=t}};z.unstable_act=eh;z.useCallback=function(e,t){return Me.current.useCallback(e,t)};z.useContext=function(e){return Me.current.useContext(e)};z.useDebugValue=function(){};z.useDeferredValue=function(e){return Me.current.useDeferredValue(e)};z.useEffect=function(e,t){return Me.current.useEffect(e,t)};z.useId=function(){return Me.current.useId()};z.useImperativeHandle=function(e,t,n){return Me.current.useImperativeHandle(e,t,n)};z.useInsertionEffect=function(e,t){return Me.current.useInsertionEffect(e,t)};z.useLayoutEffect=function(e,t){return Me.current.useLayoutEffect(e,t)};z.useMemo=function(e,t){return Me.current.useMemo(e,t)};z.useReducer=function(e,t,n){return Me.current.useReducer(e,t,n)};z.useRef=function(e){return Me.current.useRef(e)};z.useState=function(e){return Me.current.useState(e)};z.useSyncExternalStore=function(e,t,n){return Me.current.useSyncExternalStore(e,t,n)};z.useTransition=function(){return Me.current.useTransition()};z.version="18.3.1";Gp.exports=z;var y=Gp.exports;const pe=Pr(y);/**
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 lv=y,uv=Symbol.for("react.element"),cv=Symbol.for("react.fragment"),dv=Object.prototype.hasOwnProperty,fv=lv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,pv={key:!0,ref:!0,__self:!0,__source:!0};function th(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)dv.call(t,r)&&!pv.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:uv,type:e,key:i,ref:s,props:o,_owner:fv.current}}bs.Fragment=cv;bs.jsx=th;bs.jsxs=th;Hp.exports=bs;var p=Hp.exports,$a={},nh={exports:{}},Ze={},rh={exports:{}},oh={};/**
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(A,R){var L=A.length;A.push(R);e:for(;0<L;){var U=L-1>>>1,se=A[U];if(0<o(se,R))A[U]=R,A[L]=se,L=U;else break e}}function n(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var R=A[0],L=A.pop();if(L!==R){A[0]=L;e:for(var U=0,se=A.length,bt=se>>>1;U<bt;){var pt=2*(U+1)-1,Xs=A[pt],vn=pt+1,ei=A[vn];if(0>o(Xs,L))vn<se&&0>o(ei,Xs)?(A[U]=ei,A[vn]=L,U=vn):(A[U]=Xs,A[pt]=L,U=pt);else if(vn<se&&0>o(ei,L))A[U]=ei,A[vn]=L,U=vn;else break e}}return R}function o(A,R){var L=A.sortIndex-R.sortIndex;return L!==0?L:A.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,g=!1,w=!1,x=!1,S=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(A){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=A)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function C(A){if(x=!1,v(A),!w)if(n(l)!==null)w=!0,ge(T);else{var R=n(u);R!==null&&G(C,R.startTime-A)}}function T(A,R){w=!1,x&&(x=!1,m(P),P=-1),g=!0;var L=f;try{for(v(R),d=n(l);d!==null&&(!(d.expirationTime>R)||A&&!W());){var U=d.callback;
vendor: 9,181 bytes, lines 25-34
25if(typeof U=="function"){d.callback=null,f=d.priorityLevel;var se=U(d.expirationTime<=R);R=e.unstable_now(),typeof se=="function"?d.callback=se:d===n(l)&&r(l),v(R)}else r(l);d=n(l)}if(d!==null)var bt=!0;else{var pt=n(u);pt!==null&&G(C,pt.startTime-R),bt=!1}return bt}finally{d=null,f=L,g=!1}}var E=!1,b=null,P=-1,I=5,N=-1;function W(){return!(e.unstable_now()-N<I)}function V(){if(b!==null){var A=e.unstable_now();N=A;var R=!0;try{R=b(!0,A)}finally{R?Ne():(E=!1,b=null)}}else E=!1}var Ne;if(typeof h=="function")Ne=function(){h(V)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,me=D.port2;D.port1.onmessage=V,Ne=function(){me.postMessage(null)}}else Ne=function(){S(V,0)};function ge(A){b=A,E||(E=!0,Ne())}function G(A,R){P=S(function(){A(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(A){A.callback=null},e.unstable_continueExecution=function(){w||g||(w=!0,ge(T))},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(A){switch(f){case 1:case 2:case 3:var R=3;break;default:R=f}var L=f;f=R;try{return A()}finally{f=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(A,R){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var L=f;f=A;try{return R()}finally{f=L}},e.unstable_scheduleCallback=function(A,R,L){var U=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?U+L:U):L=U,A){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=L+se,A={id:c++,callback:R,priorityLevel:A,startTime:L,expirationTime:se,sortIndex:-1},L>U?(A.sortIndex=L,t(u,A),n(l)===null&&A===n(u)&&(x?(m(P),P=-1):x=!0,G(C,L-U))):(A.sortIndex=se,t(l,A),w||g||(w=!0,ge(T))),A},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(A){var R=f;return function(){var L=f;f=R;try{return A.apply(this,arguments)}finally{f=L}}}})(oh);rh.exports=oh;var hv=rh.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 mv=y,Ge=hv;function k(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 ih=new Set,mo={};function Vn(e,t){gr(e,t),gr(e+"Capture",t)}function gr(e,t){for(mo[e]=t,e=0;e<t.length;e++)ih.add(t[e])}var Dt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wa=Object.prototype.hasOwnProperty,gv=/^[: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]*$/,rd={},od={};function yv(e){return Wa.call(od,e)?!0:Wa.call(rd,e)?!1:gv.test(e)?od[e]=!0:(rd[e]=!0,!1)}function vv(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 xv(e,t,n,r){if(t===null||typeof t>"u"||vv(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 Le(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ce[e]=new Le(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ce[t]=new Le(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ce[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ce[e]=new Le(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){Ce[e]=new Le(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ce[e]=new Le(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ce[e]=new Le(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ce[e]=new Le(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ce[e]=new Le(e,5,!1,e.toLowerCase(),null,!1,!1)});var gu=/[\-:]([a-z])/g;function yu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(gu,yu);Ce[t]=new Le(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(gu,yu);Ce[t]=new Le(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(gu,yu);Ce[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ce[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)});Ce.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ce[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)});function vu(e,t,n,r){var o=Ce.hasOwnProperty(t)?Ce[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(xv(t,n,o,r)&&(n=null),r||o===null?yv(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Ut=mv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ni=Symbol.for("react.element"),Hn=Symbol.for("react.portal"),Gn=Symbol.for("react.fragment"),xu=Symbol.for("react.strict_mode"),Ha=Symbol.for("react.profiler"),sh=Symbol.for("react.provider"),ah=Symbol.for("react.context"),wu=Symbol.for("react.forward_ref"),Ga=Symbol.for("react.suspense"),Ya=Symbol.for("react.suspense_list"),Su=Symbol.for("react.memo"),Zt=Symbol.for("react.lazy"),lh=Symbol.for("react.offscreen"),id=Symbol.iterator;function Lr(e){return e===null||typeof e!="object"?null:(e=id&&e[id]||e["@@iterator"],typeof e=="function"?e:null)}var ie=Object.assign,Js;function Zr(e){if(Js===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Js=t&&t[1]||""}return`
34`+Js+e}var ea=!1;function ta(e,t){if(!e||ea)return"";ea=!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()}}
vendor: 4,297 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),i=r.stack.split(`
36`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
37`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{ea=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Zr(e):""}function wv(e){switch(e.tag){case 5:return Zr(e.type);case 16:return Zr("Lazy");case 13:return Zr("Suspense");case 19:return Zr("SuspenseList");case 0:case 2:case 15:return e=ta(e.type,!1),e;case 11:return e=ta(e.type.render,!1),e;case 1:return e=ta(e.type,!0),e;default:return""}}function Za(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 Gn:return"Fragment";case Hn:return"Portal";case Ha:return"Profiler";case xu:return"StrictMode";case Ga:return"Suspense";case Ya:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ah:return(e.displayName||"Context")+".Consumer";case sh:return(e._context.displayName||"Context")+".Provider";case wu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Su:return t=e.displayName||null,t!==null?t:Za(e.type)||"Memo";case Zt:t=e._payload,e=e._init;try{return Za(e(t))}catch{}}return null}function Sv(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 Za(t);case 8:return t===xu?"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 un(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function uh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Cv(e){var t=uh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ri(e){e._valueTracker||(e._valueTracker=Cv(e))}function ch(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=uh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $i(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 Qa(e,t){var n=t.checked;return ie({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function sd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=un(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 dh(e,t){t=t.checked,t!=null&&vu(e,"checked",t,!1)}function Ka(e,t){dh(e,t);var n=un(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")?Xa(e,t.type,n):t.hasOwnProperty("defaultValue")&&Xa(e,t.type,un(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}
vendor: 4,180 bytes, line 37
37function ad(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 Xa(e,t,n){(t!=="number"||$i(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Qr=Array.isArray;function lr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+un(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function qa(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(k(91));return ie({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ld(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(k(92));if(Qr(n)){if(1<n.length)throw Error(k(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:un(n)}}function fh(e,t){var n=un(t.value),r=un(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 ud(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ph(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 Ja(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ph(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var oi,hh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(oi=oi||document.createElement("div"),oi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=oi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function go(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var to={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},Tv=["Webkit","ms","Moz","O"];Object.keys(to).forEach(function(e){Tv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),to[t]=to[e]})});function mh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||to.hasOwnProperty(e)&&to[e]?(""+t).trim():t+"px"}function gh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=mh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var bv=ie({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 el(e,t){if(t){if(bv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function tl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var nl=null;function Cu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var rl=null,ur=null,cr=null;function cd(e){if(e=$o(e)){if(typeof rl!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Ns(t),rl(e.stateNode,e.type,t))}}function yh(e){ur?cr?cr.push(e):cr=[e]:ur=e}function vh(){if(ur){var e=ur,t=cr;if(cr=ur=null,cd(e),t)for(e=0;e<t.length;e++)cd(t[e])}}function xh(e,t){return e(t)}function wh(){}var na=!1;function Sh(e,t,n){if(na)return e(t,n);na=!0;try{return xh(e,t,n)}finally{na=!1,(ur!==null||cr!==null)&&(wh(),vh())}}function yo(e,t){var n=e.stateNode;if(n===null)return null;var r=Ns(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(k(231,t,typeof n));return n}var ol=!1;if(Dt)try{var Dr={};Object.defineProperty(Dr,"passive",{get:function(){ol=!0}}),window.addEventListener("test",Dr,Dr),window.removeEventListener("test",Dr,Dr)}catch{ol=!1}function Ev(e,t,n,r,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var no=!1,Wi=null,Hi=!1,il=null,Pv={onError:function(e){no=!0,Wi=e}};function kv(e,t,n,r,o,i,s,a,l){no=!1,Wi=null,Ev.apply(Pv,arguments)}function Av(e,t,n,r,o,i,s,a,l){if(kv.apply(this,arguments),no){if(no){var u=Wi;no=!1,Wi=null}else throw Error(k(198));Hi||(Hi=!0,il=u)}}function Fn(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 Ch(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 dd(e){if(Fn(e)!==e)throw Error(k(188))}function Nv(e){var t=e.alternate;if(!t){if(t=Fn(e),t===null)throw Error(k(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return dd(o),e;if(i===r)return dd(o),t;i=i.sibling}throw Error(k(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(k(189))}}if(n.alternate!==r)throw Error(k(190))}if(n.tag!==3)throw Error(k(188));return n.stateNode.current===n?e:t}function Th(e){return e=Nv(e),e!==null?bh(e):null}function bh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=bh(e);if(t!==null)return t;e=e.sibling}return null}var Eh=Ge.unstable_scheduleCallback,fd=Ge.unstable_cancelCallback,jv=Ge.unstable_shouldYield,Iv=Ge.unstable_requestPaint,ce=Ge.unstable_now,Rv=Ge.unstable_getCurrentPriorityLevel,Tu=Ge.unstable_ImmediatePriority,Ph=Ge.unstable_UserBlockingPriority,Gi=Ge.unstable_NormalPriority,Mv=Ge.unstable_LowPriority,kh=Ge.unstable_IdlePriority,Es=null,yt=null;function Lv(e){if(yt&&typeof yt.onCommitFiberRoot=="function")try{yt.onCommitFiberRoot(Es,e,void 0,(e.current.flags&128)===128)}catch{}}var ct=Math.clz32?Math.clz32:_v,Dv=Math.log,Ov=Math.LN2;function _v(e){return e>>>=0,e===0?32:31-(Dv(e)/Ov|0)|0}var ii=64,si=4194304;function Kr(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 Yi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=Kr(a):(i&=s,i!==0&&(r=Kr(i)))}else s=n&~o,s!==0?r=Kr(s):i!==0&&(r=Kr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ct(t),o=1<<n,r|=e[n],t&=~o;return r}function Vv(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 Fv(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-ct(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=Vv(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function sl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ah(){var e=ii;return ii<<=1,!(ii&4194240)&&(ii=64),e}function ra(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 4,080 bytes, line 37
37function Bo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function zv(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-ct(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function bu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ct(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var H=0;function Nh(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var jh,Eu,Ih,Rh,Mh,al=!1,ai=[],en=null,tn=null,nn=null,vo=new Map,xo=new Map,Kt=[],Bv="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 pd(e,t){switch(e){case"focusin":case"focusout":en=null;break;case"dragenter":case"dragleave":tn=null;break;case"mouseover":case"mouseout":nn=null;break;case"pointerover":case"pointerout":vo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xo.delete(t.pointerId)}}function Or(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=$o(t),t!==null&&Eu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Uv(e,t,n,r,o){switch(t){case"focusin":return en=Or(en,e,t,n,r,o),!0;case"dragenter":return tn=Or(tn,e,t,n,r,o),!0;case"mouseover":return nn=Or(nn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return vo.set(i,Or(vo.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,xo.set(i,Or(xo.get(i)||null,e,t,n,r,o)),!0}return!1}function Lh(e){var t=bn(e.target);if(t!==null){var n=Fn(t);if(n!==null){if(t=n.tag,t===13){if(t=Ch(n),t!==null){e.blockedOn=t,Mh(e.priority,function(){Ih(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 ki(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ll(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);nl=r,n.target.dispatchEvent(r),nl=null}else return t=$o(n),t!==null&&Eu(t),e.blockedOn=n,!1;t.shift()}return!0}function hd(e,t,n){ki(e)&&n.delete(t)}function $v(){al=!1,en!==null&&ki(en)&&(en=null),tn!==null&&ki(tn)&&(tn=null),nn!==null&&ki(nn)&&(nn=null),vo.forEach(hd),xo.forEach(hd)}function _r(e,t){e.blockedOn===t&&(e.blockedOn=null,al||(al=!0,Ge.unstable_scheduleCallback(Ge.unstable_NormalPriority,$v)))}function wo(e){function t(o){return _r(o,e)}if(0<ai.length){_r(ai[0],e);for(var n=1;n<ai.length;n++){var r=ai[n];r.blockedOn===e&&(r.blockedOn=null)}}for(en!==null&&_r(en,e),tn!==null&&_r(tn,e),nn!==null&&_r(nn,e),vo.forEach(t),xo.forEach(t),n=0;n<Kt.length;n++)r=Kt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Kt.length&&(n=Kt[0],n.blockedOn===null);)Lh(n),n.blockedOn===null&&Kt.shift()}var dr=Ut.ReactCurrentBatchConfig,Zi=!0;function Wv(e,t,n,r){var o=H,i=dr.transition;dr.transition=null;try{H=1,Pu(e,t,n,r)}finally{H=o,dr.transition=i}}function Hv(e,t,n,r){var o=H,i=dr.transition;dr.transition=null;try{H=4,Pu(e,t,n,r)}finally{H=o,dr.transition=i}}function Pu(e,t,n,r){if(Zi){var o=ll(e,t,n,r);if(o===null)pa(e,t,r,Qi,n),pd(e,r);else if(Uv(o,e,t,n,r))r.stopPropagation();else if(pd(e,r),t&4&&-1<Bv.indexOf(e)){for(;o!==null;){var i=$o(o);if(i!==null&&jh(i),i=ll(e,t,n,r),i===null&&pa(e,t,r,Qi,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else pa(e,t,r,null,n)}}var Qi=null;function ll(e,t,n,r){if(Qi=null,e=Cu(r),e=bn(e),e!==null)if(t=Fn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ch(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 Qi=e,null}
vendor: 4,373 bytes, line 37
37function Dh(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(Rv()){case Tu:return 1;case Ph:return 4;case Gi:case Mv:return 16;case kh:return 536870912;default:return 16}default:return 16}}var qt=null,ku=null,Ai=null;function Oh(){if(Ai)return Ai;var e,t=ku,n=t.length,r,o="value"in qt?qt.value:qt.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Ai=o.slice(e,1<r?1-r:void 0)}function Ni(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 li(){return!0}function md(){return!1}function Qe(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?li:md,this.isPropagationStopped=md,this}return ie(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=li)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=li)},persist:function(){},isPersistent:li}),t}var Ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Au=Qe(Ar),Uo=ie({},Ar,{view:0,detail:0}),Gv=Qe(Uo),oa,ia,Vr,Ps=ie({},Uo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nu,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!==Vr&&(Vr&&e.type==="mousemove"?(oa=e.screenX-Vr.screenX,ia=e.screenY-Vr.screenY):ia=oa=0,Vr=e),oa)},movementY:function(e){return"movementY"in e?e.movementY:ia}}),gd=Qe(Ps),Yv=ie({},Ps,{dataTransfer:0}),Zv=Qe(Yv),Qv=ie({},Uo,{relatedTarget:0}),sa=Qe(Qv),Kv=ie({},Ar,{animationName:0,elapsedTime:0,pseudoElement:0}),Xv=Qe(Kv),qv=ie({},Ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jv=Qe(qv),ex=ie({},Ar,{data:0}),yd=Qe(ex),tx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nx={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"},rx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ox(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=rx[e])?!!t[e]:!1}function Nu(){return ox}var ix=ie({},Uo,{key:function(e){if(e.key){var t=tx[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 6,048 bytes, line 37
37return e.type==="keypress"?(e=Ni(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?nx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nu,charCode:function(e){return e.type==="keypress"?Ni(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ni(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),sx=Qe(ix),ax=ie({},Ps,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),vd=Qe(ax),lx=ie({},Uo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nu}),ux=Qe(lx),cx=ie({},Ar,{propertyName:0,elapsedTime:0,pseudoElement:0}),dx=Qe(cx),fx=ie({},Ps,{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}),px=Qe(fx),hx=[9,13,27,32],ju=Dt&&"CompositionEvent"in window,ro=null;Dt&&"documentMode"in document&&(ro=document.documentMode);var mx=Dt&&"TextEvent"in window&&!ro,_h=Dt&&(!ju||ro&&8<ro&&11>=ro),xd=String.fromCharCode(32),wd=!1;function Vh(e,t){switch(e){case"keyup":return hx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yn=!1;function gx(e,t){switch(e){case"compositionend":return Fh(t);case"keypress":return t.which!==32?null:(wd=!0,xd);case"textInput":return e=t.data,e===xd&&wd?null:e;default:return null}}function yx(e,t){if(Yn)return e==="compositionend"||!ju&&Vh(e,t)?(e=Oh(),Ai=ku=qt=null,Yn=!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 _h&&t.locale!=="ko"?null:t.data;default:return null}}var vx={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 Sd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!vx[e.type]:t==="textarea"}function zh(e,t,n,r){yh(r),t=Ki(t,"onChange"),0<t.length&&(n=new Au("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var oo=null,So=null;function xx(e){Xh(e,0)}function ks(e){var t=Kn(e);if(ch(t))return e}function wx(e,t){if(e==="change")return t}var Bh=!1;if(Dt){var aa;if(Dt){var la="oninput"in document;if(!la){var Cd=document.createElement("div");Cd.setAttribute("oninput","return;"),la=typeof Cd.oninput=="function"}aa=la}else aa=!1;Bh=aa&&(!document.documentMode||9<document.documentMode)}function Td(){oo&&(oo.detachEvent("onpropertychange",Uh),So=oo=null)}function Uh(e){if(e.propertyName==="value"&&ks(So)){var t=[];zh(t,So,e,Cu(e)),Sh(xx,t)}}function Sx(e,t,n){e==="focusin"?(Td(),oo=t,So=n,oo.attachEvent("onpropertychange",Uh)):e==="focusout"&&Td()}function Cx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ks(So)}function Tx(e,t){if(e==="click")return ks(t)}function bx(e,t){if(e==="input"||e==="change")return ks(t)}function Ex(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ft=typeof Object.is=="function"?Object.is:Ex;function Co(e,t){if(ft(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Wa.call(t,o)||!ft(e[o],t[o]))return!1}return!0}function bd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ed(e,t){var n=bd(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=bd(n)}}function $h(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$h(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Wh(){for(var e=window,t=$i();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$i(e.document)}return t}function Iu(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 Px(e){var t=Wh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&$h(n.ownerDocument.documentElement,n)){if(r!==null&&Iu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ed(n,i);var s=Ed(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var kx=Dt&&"documentMode"in document&&11>=document.documentMode,Zn=null,ul=null,io=null,cl=!1;function Pd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;cl||Zn==null||Zn!==$i(r)||(r=Zn,"selectionStart"in r&&Iu(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,500 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),io&&Co(io,r)||(io=r,r=Ki(ul,"onSelect"),0<r.length&&(t=new Au("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Zn)))}function ui(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Qn={animationend:ui("Animation","AnimationEnd"),animationiteration:ui("Animation","AnimationIteration"),animationstart:ui("Animation","AnimationStart"),transitionend:ui("Transition","TransitionEnd")},ua={},Hh={};Dt&&(Hh=document.createElement("div").style,"AnimationEvent"in window||(delete Qn.animationend.animation,delete Qn.animationiteration.animation,delete Qn.animationstart.animation),"TransitionEvent"in window||delete Qn.transitionend.transition);function As(e){if(ua[e])return ua[e];if(!Qn[e])return e;var t=Qn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Hh)return ua[e]=t[n];return e}var Gh=As("animationend"),Yh=As("animationiteration"),Zh=As("animationstart"),Qh=As("transitionend"),Kh=new Map,kd="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 hn(e,t){Kh.set(e,t),Vn(t,[e])}for(var ca=0;ca<kd.length;ca++){var da=kd[ca],Ax=da.toLowerCase(),Nx=da[0].toUpperCase()+da.slice(1);hn(Ax,"on"+Nx)}hn(Gh,"onAnimationEnd");hn(Yh,"onAnimationIteration");hn(Zh,"onAnimationStart");hn("dblclick","onDoubleClick");hn("focusin","onFocus");hn("focusout","onBlur");hn(Qh,"onTransitionEnd");gr("onMouseEnter",["mouseout","mouseover"]);gr("onMouseLeave",["mouseout","mouseover"]);gr("onPointerEnter",["pointerout","pointerover"]);gr("onPointerLeave",["pointerout","pointerover"]);Vn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Vn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Vn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Vn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Vn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Vn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xr="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(" "),jx=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xr));function Ad(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Av(r,t,void 0,e),e.currentTarget=null}function Xh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;Ad(o,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;Ad(o,a,u),i=l}}}if(Hi)throw e=il,Hi=!1,il=null,e}function Q(e,t){var n=t[ml];n===void 0&&(n=t[ml]=new Set);var r=e+"__bubble";n.has(r)||(qh(t,e,2,!1),n.add(r))}function fa(e,t,n){var r=0;t&&(r|=4),qh(n,e,r,t)}var ci="_reactListening"+Math.random().toString(36).slice(2);function To(e){if(!e[ci]){e[ci]=!0,ih.forEach(function(n){n!=="selectionchange"&&(jx.has(n)||fa(n,!1,e),fa(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ci]||(t[ci]=!0,fa("selectionchange",!1,t))}}function qh(e,t,n,r){switch(Dh(t)){case 1:var o=Wv;break;case 4:o=Hv;break;default:o=Pu}n=o.bind(null,t,n,e),o=void 0,!ol||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function pa(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 1,375 bytes, line 37
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=bn(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}Sh(function(){var u=i,c=Cu(n),d=[];e:{var f=Kh.get(e);if(f!==void 0){var g=Au,w=e;switch(e){case"keypress":if(Ni(n)===0)break e;case"keydown":case"keyup":g=sx;break;case"focusin":w="focus",g=sa;break;case"focusout":w="blur",g=sa;break;case"beforeblur":case"afterblur":g=sa;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":g=gd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Zv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=ux;break;case Gh:case Yh:case Zh:g=Xv;break;case Qh:g=dx;break;case"scroll":g=Gv;break;case"wheel":g=px;break;case"copy":case"cut":case"paste":g=Jv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=vd}var x=(t&4)!==0,S=!x&&e==="scroll",m=x?f!==null?f+"Capture":null:f;x=[];for(var h=u,v;h!==null;){v=h;
vendor: 5,806 bytes, lines 37-38
37var C=v.stateNode;if(v.tag===5&&C!==null&&(v=C,m!==null&&(C=yo(h,m),C!=null&&x.push(bo(h,C,v)))),S)break;h=h.return}0<x.length&&(f=new g(f,w,null,n,c),d.push({event:f,listeners:x}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",f&&n!==nl&&(w=n.relatedTarget||n.fromElement)&&(bn(w)||w[Ot]))break e;if((g||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,g?(w=n.relatedTarget||n.toElement,g=u,w=w?bn(w):null,w!==null&&(S=Fn(w),w!==S||w.tag!==5&&w.tag!==6)&&(w=null)):(g=null,w=u),g!==w)){if(x=gd,C="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(x=vd,C="onPointerLeave",m="onPointerEnter",h="pointer"),S=g==null?f:Kn(g),v=w==null?f:Kn(w),f=new x(C,h+"leave",g,n,c),f.target=S,f.relatedTarget=v,C=null,bn(c)===u&&(x=new x(m,h+"enter",w,n,c),x.target=v,x.relatedTarget=S,C=x),S=C,g&&w)t:{for(x=g,m=w,h=0,v=x;v;v=$n(v))h++;for(v=0,C=m;C;C=$n(C))v++;for(;0<h-v;)x=$n(x),h--;for(;0<v-h;)m=$n(m),v--;for(;h--;){if(x===m||m!==null&&x===m.alternate)break t;x=$n(x),m=$n(m)}x=null}else x=null;g!==null&&Nd(d,f,g,x,!1),w!==null&&S!==null&&Nd(d,S,w,x,!0)}}e:{if(f=u?Kn(u):window,g=f.nodeName&&f.nodeName.toLowerCase(),g==="select"||g==="input"&&f.type==="file")var T=wx;else if(Sd(f))if(Bh)T=bx;else{T=Cx;var E=Sx}else(g=f.nodeName)&&g.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(T=Tx);if(T&&(T=T(e,u))){zh(d,T,n,c);break e}E&&E(e,f,u),e==="focusout"&&(E=f._wrapperState)&&E.controlled&&f.type==="number"&&Xa(f,"number",f.value)}switch(E=u?Kn(u):window,e){case"focusin":(Sd(E)||E.contentEditable==="true")&&(Zn=E,ul=u,io=null);break;case"focusout":io=ul=Zn=null;break;case"mousedown":cl=!0;break;case"contextmenu":case"mouseup":case"dragend":cl=!1,Pd(d,n,c);break;case"selectionchange":if(kx)break;case"keydown":case"keyup":Pd(d,n,c)}var b;if(ju)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Yn?Vh(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(_h&&n.locale!=="ko"&&(Yn||P!=="onCompositionStart"?P==="onCompositionEnd"&&Yn&&(b=Oh()):(qt=c,ku="value"in qt?qt.value:qt.textContent,Yn=!0)),E=Ki(u,P),0<E.length&&(P=new yd(P,e,null,n,c),d.push({event:P,listeners:E}),b?P.data=b:(b=Fh(n),b!==null&&(P.data=b)))),(b=mx?gx(e,n):yx(e,n))&&(u=Ki(u,"onBeforeInput"),0<u.length&&(c=new yd("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=b))}Xh(d,t)})}function bo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ki(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=yo(e,n),i!=null&&r.unshift(bo(e,i,o)),i=yo(e,t),i!=null&&r.push(bo(e,i,o))),e=e.return}return r}function $n(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Nd(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=yo(n,i),l!=null&&s.unshift(bo(n,l,a))):o||(l=yo(n,i),l!=null&&s.push(bo(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Ix=/\r\n?/g,Rx=/\u0000|\uFFFD/g;function jd(e){return(typeof e=="string"?e:""+e).replace(Ix,`
38`).replace(Rx,"")}function di(e,t,n){if(t=jd(t),jd(e)!==t&&n)throw Error(k(425))}function Xi(){}var dl=null,fl=null;function pl(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 hl=typeof setTimeout=="function"?setTimeout:void 0,Mx=typeof clearTimeout=="function"?clearTimeout:void 0,Id=typeof Promise=="function"?Promise:void 0,Lx=typeof queueMicrotask=="function"?queueMicrotask:typeof Id<"u"?function(e){return Id.resolve(null).then(e).catch(Dx)}:hl;function Dx(e){setTimeout(function(){throw e})}function ha(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),wo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);wo(t)}function rn(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 Rd(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 Nr=Math.random().toString(36).slice(2),gt="__reactFiber$"+Nr,Eo="__reactProps$"+Nr,Ot="__reactContainer$"+Nr,ml="__reactEvents$"+Nr,Ox="__reactListeners$"+Nr,_x="__reactHandles$"+Nr;function bn(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ot]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Rd(e);e!==null;){if(n=e[gt])return n;e=Rd(e)}return t}e=n,n=e.parentNode}return null}function $o(e){return e=e[gt]||e[Ot],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Kn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(k(33))}function Ns(e){return e[Eo]||null}var gl=[],Xn=-1;function mn(e){return{current:e}}function K(e){0>Xn||(e.current=gl[Xn],gl[Xn]=null,Xn--)}function Y(e,t){Xn++,gl[Xn]=e.current,e.current=t}var cn={},Ae=mn(cn),Ve=mn(!1),Rn=cn;function yr(e,t){var n=e.type.contextTypes;if(!n)return cn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Fe(e){return e=e.childContextTypes,e!=null}function qi(){K(Ve),K(Ae)}
vendor: 6,520 bytes, line 38
38function Md(e,t,n){if(Ae.current!==cn)throw Error(k(168));Y(Ae,t),Y(Ve,n)}function Jh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(k(108,Sv(e)||"Unknown",o));return ie({},n,r)}function Ji(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cn,Rn=Ae.current,Y(Ae,e),Y(Ve,Ve.current),!0}function Ld(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=Jh(e,t,Rn),r.__reactInternalMemoizedMergedChildContext=e,K(Ve),K(Ae),Y(Ae,e)):K(Ve),Y(Ve,n)}var At=null,js=!1,ma=!1;function em(e){At===null?At=[e]:At.push(e)}function Vx(e){js=!0,em(e)}function gn(){if(!ma&&At!==null){ma=!0;var e=0,t=H;try{var n=At;for(H=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}At=null,js=!1}catch(o){throw At!==null&&(At=At.slice(e+1)),Eh(Tu,gn),o}finally{H=t,ma=!1}}return null}var qn=[],Jn=0,es=null,ts=0,qe=[],Je=0,Mn=null,Nt=1,jt="";function wn(e,t){qn[Jn++]=ts,qn[Jn++]=es,es=e,ts=t}function tm(e,t,n){qe[Je++]=Nt,qe[Je++]=jt,qe[Je++]=Mn,Mn=e;var r=Nt;e=jt;var o=32-ct(r)-1;r&=~(1<<o),n+=1;var i=32-ct(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Nt=1<<32-ct(t)+o|n<<o|r,jt=i+e}else Nt=1<<i|n<<o|r,jt=e}function Ru(e){e.return!==null&&(wn(e,1),tm(e,1,0))}function Mu(e){for(;e===es;)es=qn[--Jn],qn[Jn]=null,ts=qn[--Jn],qn[Jn]=null;for(;e===Mn;)Mn=qe[--Je],qe[Je]=null,jt=qe[--Je],qe[Je]=null,Nt=qe[--Je],qe[Je]=null}var We=null,$e=null,ee=!1,lt=null;function nm(e,t){var n=et(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 Dd(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,We=e,$e=rn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,We=e,$e=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Mn!==null?{id:Nt,overflow:jt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=et(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,We=e,$e=null,!0):!1;default:return!1}}function yl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function vl(e){if(ee){var t=$e;if(t){var n=t;if(!Dd(e,t)){if(yl(e))throw Error(k(418));t=rn(n.nextSibling);var r=We;t&&Dd(e,t)?nm(r,n):(e.flags=e.flags&-4097|2,ee=!1,We=e)}}else{if(yl(e))throw Error(k(418));e.flags=e.flags&-4097|2,ee=!1,We=e}}}function Od(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;We=e}function fi(e){if(e!==We)return!1;if(!ee)return Od(e),ee=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!pl(e.type,e.memoizedProps)),t&&(t=$e)){if(yl(e))throw rm(),Error(k(418));for(;t;)nm(e,t),t=rn(t.nextSibling)}if(Od(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(k(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){$e=rn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}$e=null}}else $e=We?rn(e.stateNode.nextSibling):null;return!0}function rm(){for(var e=$e;e;)e=rn(e.nextSibling)}function vr(){$e=We=null,ee=!1}function Lu(e){lt===null?lt=[e]:lt.push(e)}var Fx=Ut.ReactCurrentBatchConfig;function Fr(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(k(309));var r=n.stateNode}if(!r)throw Error(k(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(k(284));if(!n._owner)throw Error(k(290,e))}return e}function pi(e,t){throw e=Object.prototype.toString.call(t),Error(k(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function _d(e){var t=e._init;return t(e._payload)}function om(e){function t(m,h){if(e){var v=m.deletions;v===null?(m.deletions=[h],m.flags|=16):v.push(h)}}function n(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function r(m,h){for(m=new Map;h!==null;)h.key!==null?m.set(h.key,h):m.set(h.index,h),h=h.sibling;return m}function o(m,h){return m=ln(m,h),m.index=0,m.sibling=null,m}function i(m,h,v){return m.index=v,e?(v=m.alternate,v!==null?(v=v.index,v<h?(m.flags|=2,h):v):(m.flags|=2,h)):(m.flags|=1048576,h)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,h,v,C){return h===null||h.tag!==6?(h=Ca(v,m.mode,C),h.return=m,h):(h=o(h,v),h.return=m,h)}function l(m,h,v,C){var T=v.type;return T===Gn?c(m,h,v.props.children,C,v.key):h!==null&&(h.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Zt&&_d(T)===h.type)?(C=o(h,v.props),C.ref=Fr(m,h,v),C.return=m,C):(C=Oi(v.type,v.key,v.props,null,m.mode,C),C.ref=Fr(m,h,v),C.return=m,C)}function u(m,h,v,C){return h===null||h.tag!==4||h.stateNode.containerInfo!==v.containerInfo||h.stateNode.implementation!==v.implementation?(h=Ta(v,m.mode,C),h.return=m,h):(h=o(h,v.children||[]),h.return=m,h)}function c(m,h,v,C,T){return h===null||h.tag!==7?(h=Nn(v,m.mode,C,T),h.return=m,h):(h=o(h,v),h.return=m,h)}function d(m,h,v){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Ca(""+h,m.mode,v),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case ni:return v=Oi(h.type,h.key,h.props,null,m.mode,v),v.ref=Fr(m,null,h),v.return=m,v;case Hn:return h=Ta(h,m.mode,v),h.return=m,h;case Zt:var C=h._init;return d(m,C(h._payload),v)}if(Qr(h)||Lr(h))return h=Nn(h,m.mode,v,null),h.return=m,h;pi(m,h)}return null}function f(m,h,v,C){var T=h!==null?h.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return T!==null?null:a(m,h,""+v,C);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case ni:return v.key===T?l(m,h,v,C):null;case Hn:return v.key===T?u(m,h,v,C):null;case Zt:return T=v._init,f(m,h,T(v._payload),C)}if(Qr(v)||Lr(v))return T!==null?null:c(m,h,v,C,null);pi(m,v)}return null}function g(m,h,v,C,T){if(typeof C=="string"&&C!==""||typeof C=="number")return m=m.get(v)||null,a(h,m,""+C,T);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case ni:return m=m.get(C.key===null?v:C.key)||null,l(h,m,C,T);case Hn:return m=m.get(C.key===null?v:C.key)||null,u(h,m,C,T);case Zt:var E=C._init;return g(m,h,v,E(C._payload),T)}if(Qr(C)||Lr(C))return m=m.get(v)||null,c(h,m,C,T,null);pi(h,C)}return null}function w(m,h,v,C){for(var T=null,E=null,b=h,P=h=0,I=null;b!==null&&P<v.length;P++){b.index>
vendor: 6,321 bytes, line 38
38P?(I=b,b=null):I=b.sibling;var N=f(m,b,v[P],C);if(N===null){b===null&&(b=I);break}e&&b&&N.alternate===null&&t(m,b),h=i(N,h,P),E===null?T=N:E.sibling=N,E=N,b=I}if(P===v.length)return n(m,b),ee&&wn(m,P),T;if(b===null){for(;P<v.length;P++)b=d(m,v[P],C),b!==null&&(h=i(b,h,P),E===null?T=b:E.sibling=b,E=b);return ee&&wn(m,P),T}for(b=r(m,b);P<v.length;P++)I=g(b,m,P,v[P],C),I!==null&&(e&&I.alternate!==null&&b.delete(I.key===null?P:I.key),h=i(I,h,P),E===null?T=I:E.sibling=I,E=I);return e&&b.forEach(function(W){return t(m,W)}),ee&&wn(m,P),T}function x(m,h,v,C){var T=Lr(v);if(typeof T!="function")throw Error(k(150));if(v=T.call(v),v==null)throw Error(k(151));for(var E=T=null,b=h,P=h=0,I=null,N=v.next();b!==null&&!N.done;P++,N=v.next()){b.index>P?(I=b,b=null):I=b.sibling;var W=f(m,b,N.value,C);if(W===null){b===null&&(b=I);break}e&&b&&W.alternate===null&&t(m,b),h=i(W,h,P),E===null?T=W:E.sibling=W,E=W,b=I}if(N.done)return n(m,b),ee&&wn(m,P),T;if(b===null){for(;!N.done;P++,N=v.next())N=d(m,N.value,C),N!==null&&(h=i(N,h,P),E===null?T=N:E.sibling=N,E=N);return ee&&wn(m,P),T}for(b=r(m,b);!N.done;P++,N=v.next())N=g(b,m,P,N.value,C),N!==null&&(e&&N.alternate!==null&&b.delete(N.key===null?P:N.key),h=i(N,h,P),E===null?T=N:E.sibling=N,E=N);return e&&b.forEach(function(V){return t(m,V)}),ee&&wn(m,P),T}function S(m,h,v,C){if(typeof v=="object"&&v!==null&&v.type===Gn&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ni:e:{for(var T=v.key,E=h;E!==null;){if(E.key===T){if(T=v.type,T===Gn){if(E.tag===7){n(m,E.sibling),h=o(E,v.props.children),h.return=m,m=h;break e}}else if(E.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Zt&&_d(T)===E.type){n(m,E.sibling),h=o(E,v.props),h.ref=Fr(m,E,v),h.return=m,m=h;break e}n(m,E);break}else t(m,E);E=E.sibling}v.type===Gn?(h=Nn(v.props.children,m.mode,C,v.key),h.return=m,m=h):(C=Oi(v.type,v.key,v.props,null,m.mode,C),C.ref=Fr(m,h,v),C.return=m,m=C)}return s(m);case Hn:e:{for(E=v.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===v.containerInfo&&h.stateNode.implementation===v.implementation){n(m,h.sibling),h=o(h,v.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=Ta(v,m.mode,C),h.return=m,m=h}return s(m);case Zt:return E=v._init,S(m,h,E(v._payload),C)}if(Qr(v))return w(m,h,v,C);if(Lr(v))return x(m,h,v,C);pi(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,h!==null&&h.tag===6?(n(m,h.sibling),h=o(h,v),h.return=m,m=h):(n(m,h),h=Ca(v,m.mode,C),h.return=m,m=h),s(m)):n(m,h)}return S}var xr=om(!0),im=om(!1),ns=mn(null),rs=null,er=null,Du=null;function Ou(){Du=er=rs=null}function _u(e){var t=ns.current;K(ns),e._currentValue=t}function xl(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 fr(e,t){rs=e,Du=er=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(_e=!0),e.firstContext=null)}function nt(e){var t=e._currentValue;if(Du!==e)if(e={context:e,memoizedValue:t,next:null},er===null){if(rs===null)throw Error(k(308));er=e,rs.dependencies={lanes:0,firstContext:e}}else er=er.next=e;return t}var En=null;function Vu(e){En===null?En=[e]:En.push(e)}function sm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Vu(t)):(n.next=o.next,o.next=n),t.interleaved=n,_t(e,r)}function _t(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 Qt=!1;function Fu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function am(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 It(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function on(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,$&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,_t(e,n)}return o=r.interleaved,o===null?(t.next=t,Vu(r)):(t.next=o.next,o.next=t),r.interleaved=t,_t(e,n)}function ji(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,bu(e,n)}}function Vd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function os(e,t,n,r){var o=e.updateQueue;Qt=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var f=a.lane,g=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,x=a;switch(f=t,g=n,x.tag){case 1:if(w=x.payload,typeof w=="function"){d=w.call(g,d,f);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=x.payload,f=typeof w=="function"?w.call(g,d,f):w,f==null)break e;d=ie({},d,f);break e;case 2:Qt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else g={eventTime:g,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=g,l=d):c=c.next=g,s|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(1);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Dn|=s,e.lanes=s,e.memoizedState=d}}
vendor: 15,676 bytes, lines 38-40
38function Fd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(k(191,o));o.call(r)}}}var Wo={},vt=mn(Wo),Po=mn(Wo),ko=mn(Wo);function Pn(e){if(e===Wo)throw Error(k(174));return e}function zu(e,t){switch(Y(ko,t),Y(Po,e),Y(vt,Wo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ja(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ja(t,e)}K(vt),Y(vt,t)}function wr(){K(vt),K(Po),K(ko)}function lm(e){Pn(ko.current);var t=Pn(vt.current),n=Ja(t,e.type);t!==n&&(Y(Po,e),Y(vt,n))}function Bu(e){Po.current===e&&(K(vt),K(Po))}var te=mn(0);function is(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 ga=[];function Uu(){for(var e=0;e<ga.length;e++)ga[e]._workInProgressVersionPrimary=null;ga.length=0}var Ii=Ut.ReactCurrentDispatcher,ya=Ut.ReactCurrentBatchConfig,Ln=0,re=null,fe=null,ye=null,ss=!1,so=!1,Ao=0,zx=0;function Te(){throw Error(k(321))}function $u(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ft(e[n],t[n]))return!1;return!0}function Wu(e,t,n,r,o,i){if(Ln=i,re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ii.current=e===null||e.memoizedState===null?Wx:Hx,e=n(r,o),so){i=0;do{if(so=!1,Ao=0,25<=i)throw Error(k(301));i+=1,ye=fe=null,t.updateQueue=null,Ii.current=Gx,e=n(r,o)}while(so)}if(Ii.current=as,t=fe!==null&&fe.next!==null,Ln=0,ye=fe=re=null,ss=!1,t)throw Error(k(300));return e}function Hu(){var e=Ao!==0;return Ao=0,e}function mt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ye===null?re.memoizedState=ye=e:ye=ye.next=e,ye}function rt(){if(fe===null){var e=re.alternate;e=e!==null?e.memoizedState:null}else e=fe.next;var t=ye===null?re.memoizedState:ye.next;if(t!==null)ye=t,fe=e;else{if(e===null)throw Error(k(310));fe=e,e={memoizedState:fe.memoizedState,baseState:fe.baseState,baseQueue:fe.baseQueue,queue:fe.queue,next:null},ye===null?re.memoizedState=ye=e:ye=ye.next=e}return ye}function No(e,t){return typeof t=="function"?t(e):t}function va(e){var t=rt(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=fe,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,u=i;do{var c=u.lane;if((Ln&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,re.lanes|=c,Dn|=c}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,ft(r,t.memoizedState)||(_e=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,re.lanes|=i,Dn|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xa(e){var t=rt(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);ft(i,t.memoizedState)||(_e=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function um(){}function cm(e,t){var n=re,r=rt(),o=t(),i=!ft(r.memoizedState,o);if(i&&(r.memoizedState=o,_e=!0),r=r.queue,Gu(pm.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ye!==null&&ye.memoizedState.tag&1){if(n.flags|=2048,jo(9,fm.bind(null,n,r,o,t),void 0,null),ve===null)throw Error(k(349));Ln&30||dm(n,t,o)}return o}function dm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=re.updateQueue,t===null?(t={lastEffect:null,stores:null},re.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function fm(e,t,n,r){t.value=n,t.getSnapshot=r,hm(t)&&mm(e)}function pm(e,t,n){return n(function(){hm(t)&&mm(e)})}function hm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ft(e,n)}catch{return!0}}function mm(e){var t=_t(e,1);t!==null&&dt(t,e,1,-1)}function zd(e){var t=mt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:No,lastRenderedState:e},t.queue=e,e=e.dispatch=$x.bind(null,re,e),[t.memoizedState,e]}function jo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=re.updateQueue,t===null?(t={lastEffect:null,stores:null},re.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 gm(){return rt().memoizedState}function Ri(e,t,n,r){var o=mt();re.flags|=e,o.memoizedState=jo(1|t,n,void 0,r===void 0?null:r)}function Is(e,t,n,r){var o=rt();r=r===void 0?null:r;var i=void 0;if(fe!==null){var s=fe.memoizedState;if(i=s.destroy,r!==null&&$u(r,s.deps)){o.memoizedState=jo(t,n,i,r);return}}re.flags|=e,o.memoizedState=jo(1|t,n,i,r)}function Bd(e,t){return Ri(8390656,8,e,t)}function Gu(e,t){return Is(2048,8,e,t)}function ym(e,t){return Is(4,2,e,t)}function vm(e,t){return Is(4,4,e,t)}function xm(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 wm(e,t,n){return n=n!=null?n.concat([e]):null,Is(4,4,xm.bind(null,t,e),n)}function Yu(){}function Sm(e,t){var n=rt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&$u(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cm(e,t){var n=rt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&$u(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Tm(e,t,n){return Ln&21?(ft(n,t)||(n=Ah(),re.lanes|=n,Dn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,_e=!0),e.memoizedState=n)}function Bx(e,t){var n=H;H=n!==0&&4>n?n:4,e(!0);var r=ya.transition;ya.transition={};try{e(!1),t()}finally{H=n,ya.transition=r}}function bm(){return rt().memoizedState}function Ux(e,t,n){var r=an(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Em(e))Pm(t,n);else if(n=sm(e,t,n,r),n!==null){var o=Re();dt(n,e,r,o),km(n,t,r)}}function $x(e,t,n){var r=an(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Em(e))Pm(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,ft(a,s)){var l=t.interleaved;l===null?(o.next=o,Vu(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=sm(e,t,o,r),n!==null&&(o=Re(),dt(n,e,r,o),km(n,t,r))}}function Em(e){var t=e.alternate;return e===re||t!==null&&t===re}function Pm(e,t){so=ss=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function km(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,bu(e,n)}}var as={readContext:nt,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useInsertionEffect:Te,useLayoutEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useMutableSource:Te,useSyncExternalStore:Te,useId:Te,unstable_isNewReconciler:!1},Wx={readContext:nt,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:Bd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ri(4194308,4,xm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ri(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ri(4,2,e,t)},useMemo:function(e,t){var n=mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=mt();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=Ux.bind(null,re,e),[r.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:zd,useDebugValue:Yu,useDeferredValue:function(e){return mt().memoizedState=e},useTransition:function(){var e=zd(!1),t=e[0];return e=Bx.bind(null,e[1]),mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=re,o=mt();if(ee){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),ve===null)throw Error(k(349));Ln&30||dm(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Bd(pm.bind(null,r,i,e),[e]),r.flags|=2048,jo(9,fm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=mt(),t=ve.identifierPrefix;if(ee){var n=jt,r=Nt;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ao++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=zx++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Hx={readContext:nt,useCallback:Sm,useContext:nt,useEffect:Gu,useImperativeHandle:wm,useInsertionEffect:ym,useLayoutEffect:vm,useMemo:Cm,useReducer:va,useRef:gm,useState:function(){return va(No)},useDebugValue:Yu,useDeferredValue:function(e){var t=rt();return Tm(t,fe.memoizedState,e)},useTransition:function(){var e=va(No)[0],t=rt().memoizedState;return[e,t]},useMutableSource:um,useSyncExternalStore:cm,useId:bm,unstable_isNewReconciler:!1},Gx={readContext:nt,useCallback:Sm,useContext:nt,useEffect:Gu,useImperativeHandle:wm,useInsertionEffect:ym,useLayoutEffect:vm,useMemo:Cm,useReducer:xa,useRef:gm,useState:function(){return xa(No)},useDebugValue:Yu,useDeferredValue:function(e){var t=rt();return fe===null?t.memoizedState=e:Tm(t,fe.memoizedState,e)},useTransition:function(){var e=xa(No)[0],t=rt().memoizedState;return[e,t]},useMutableSource:um,useSyncExternalStore:cm,useId:bm,unstable_isNewReconciler:!1};function st(e,t){if(e&&e.defaultProps){t=ie({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function wl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ie({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Rs={isMounted:function(e){return(e=e._reactInternals)?Fn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Re(),o=an(e),i=It(r,o);i.payload=t,n!=null&&(i.callback=n),t=on(e,i,o),t!==null&&(dt(t,e,o,r),ji(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Re(),o=an(e),i=It(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=on(e,i,o),t!==null&&(dt(t,e,o,r),ji(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Re(),r=an(e),o=It(n,r);o.tag=2,t!=null&&(o.callback=t),t=on(e,o,r),t!==null&&(dt(t,e,r,n),ji(t,e,r))}};function Ud(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Co(n,r)||!Co(o,i):!0}function Am(e,t,n){var r=!1,o=cn,i=t.contextType;return typeof i=="object"&&i!==null?i=nt(i):(o=Fe(t)?Rn:Ae.current,r=t.contextTypes,i=(r=r!=null)?yr(e,o):cn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Rs,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function $d(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&&Rs.enqueueReplaceState(t,t.state,null)}function Sl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Fu(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=nt(i):(i=Fe(t)?Rn:Ae.current,o.context=yr(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(wl(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Rs.enqueueReplaceState(o,o.state,null),os(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Sr(e,t){try{var n="",r=t;do n+=wv(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function wa(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Cl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Yx=typeof WeakMap=="function"?WeakMap:Map;function Nm(e,t,n){n=It(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){us||(us=!0,Rl=r),Cl(e,t)},n}function jm(e,t,n){n=It(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Cl(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Cl(e,t),typeof r!="function"&&(sn===null?sn=new Set([this]):sn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Wd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Yx;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=a1.bind(null,e,t,n),t.then(e,e))}function Hd(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 Gd(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=It(-1,1),t.tag=2,on(n,t,1))),n.lanes|=1),e)}var Zx=Ut.ReactCurrentOwner,_e=!1;function Ie(e,t,n,r){t.child=e===null?im(t,null,n,r):xr(t,e.child,n,r)}function Yd(e,t,n,r,o){n=n.render;var i=t.ref;return fr(t,o),r=Wu(e,t,n,r,i,o),n=Hu(),e!==null&&!_e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vt(e,t,o)):(ee&&n&&Ru(t),t.flags|=1,Ie(e,t,r,o),t.child)}function Zd(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!tc(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Im(e,t,i,r,o)):(e=Oi(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Co,n(s,r)&&e.ref===t.ref)return Vt(e,t,o)}return t.flags|=1,e=ln(i,r),e.ref=t.ref,e.return=t,t.child=e}function Im(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Co(i,r)&&e.ref===t.ref)if(_e=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(_e=!0);else return t.lanes=e.lanes,Vt(e,t,o)}return Tl(e,t,n,r,o)}function Rm(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Y(nr,Be),Be|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Y(nr,Be),Be|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Y(nr,Be),Be|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Y(nr,Be),Be|=r;return Ie(e,t,o,n),t.child}function Mm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 6,961 bytes, line 40
40function Tl(e,t,n,r,o){var i=Fe(n)?Rn:Ae.current;return i=yr(t,i),fr(t,o),n=Wu(e,t,n,r,i,o),r=Hu(),e!==null&&!_e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vt(e,t,o)):(ee&&r&&Ru(t),t.flags|=1,Ie(e,t,n,o),t.child)}function Qd(e,t,n,r,o){if(Fe(n)){var i=!0;Ji(t)}else i=!1;if(fr(t,o),t.stateNode===null)Mi(e,t),Am(t,n,r),Sl(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=nt(u):(u=Fe(n)?Rn:Ae.current,u=yr(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&$d(t,s,r,u),Qt=!1;var f=t.memoizedState;s.state=f,os(t,r,s,o),l=t.memoizedState,a!==r||f!==l||Ve.current||Qt?(typeof c=="function"&&(wl(t,n,c,r),l=t.memoizedState),(a=Qt||Ud(t,n,a,r,f,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,am(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:st(t.type,a),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=nt(l):(l=Fe(n)?Rn:Ae.current,l=yr(t,l));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&$d(t,s,r,l),Qt=!1,f=t.memoizedState,s.state=f,os(t,r,s,o);var w=t.memoizedState;a!==d||f!==w||Ve.current||Qt?(typeof g=="function"&&(wl(t,n,g,r),w=t.memoizedState),(u=Qt||Ud(t,n,u,r,f,w,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,w,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,w,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),s.props=r,s.state=w,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return bl(e,t,n,r,i,o)}function bl(e,t,n,r,o,i){Mm(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Ld(t,n,!1),Vt(e,t,i);r=t.stateNode,Zx.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=xr(t,e.child,null,i),t.child=xr(t,null,a,i)):Ie(e,t,a,i),t.memoizedState=r.state,o&&Ld(t,n,!0),t.child}function Lm(e){var t=e.stateNode;t.pendingContext?Md(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Md(e,t.context,!1),zu(e,t.containerInfo)}function Kd(e,t,n,r,o){return vr(),Lu(o),t.flags|=256,Ie(e,t,n,r),t.child}var El={dehydrated:null,treeContext:null,retryLane:0};function Pl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dm(e,t,n){var r=t.pendingProps,o=te.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Y(te,o&1),e===null)return vl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Ds(s,r,0,null),e=Nn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Pl(n),t.memoizedState=El,e):Zu(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Qx(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=ln(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=ln(a,i):(i=Nn(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Pl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=El,r}return i=e.child,e=i.sibling,r=ln(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Zu(e,t){return t=Ds({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function hi(e,t,n,r){return r!==null&&Lu(r),xr(t,e.child,null,n),e=Zu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Qx(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=wa(Error(k(422))),hi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Ds({mode:"visible",children:r.children},o,0,null),i=Nn(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&xr(t,e.child,null,s),t.child.memoizedState=Pl(s),t.memoizedState=El,i);if(!(t.mode&1))return hi(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(k(419)),r=wa(i,r,void 0),hi(e,t,s,r)}if(a=(s&e.childLanes)!==0,_e||a){if(r=ve,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,_t(e,o),dt(r,e,o,-1))}return ec(),r=wa(Error(k(421))),hi(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=l1.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,$e=rn(o.nextSibling),We=t,ee=!0,lt=null,e!==null&&(qe[Je++]=Nt,qe[Je++]=jt,qe[Je++]=Mn,Nt=e.id,jt=e.overflow,Mn=t),t=Zu(t,r.children),t.flags|=4096,t)}function Xd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),xl(e.return,t,n)}function Sa(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}
vendor: 5,942 bytes, line 40
40function Om(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ie(e,t,r.children,n),r=te.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&&Xd(e,n,t);else if(e.tag===19)Xd(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(Y(te,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&is(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Sa(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&is(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Sa(t,!0,n,null,i);break;case"together":Sa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Mi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Dn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(k(153));if(t.child!==null){for(e=t.child,n=ln(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ln(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Kx(e,t,n){switch(t.tag){case 3:Lm(t),vr();break;case 5:lm(t);break;case 1:Fe(t.type)&&Ji(t);break;case 4:zu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Y(ns,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Y(te,te.current&1),t.flags|=128,null):n&t.child.childLanes?Dm(e,t,n):(Y(te,te.current&1),e=Vt(e,t,n),e!==null?e.sibling:null);Y(te,te.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Om(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Y(te,te.current),r)break;return null;case 22:case 23:return t.lanes=0,Rm(e,t,n)}return Vt(e,t,n)}var _m,kl,Vm,Fm;_m=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}};kl=function(){};Vm=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Pn(vt.current);var i=null;switch(n){case"input":o=Qa(e,o),r=Qa(e,r),i=[];break;case"select":o=ie({},o,{value:void 0}),r=ie({},r,{value:void 0}),i=[];break;case"textarea":o=qa(e,o),r=qa(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Xi)}el(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(mo.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(mo.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Q("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Fm=function(e,t,n,r){n!==r&&(t.flags|=4)};function zr(e,t){if(!ee)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 be(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Xx(e,t,n){var r=t.pendingProps;switch(Mu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return be(t),null;case 1:return Fe(t.type)&&qi(),be(t),null;case 3:return r=t.stateNode,wr(),K(Ve),K(Ae),Uu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(fi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,lt!==null&&(Dl(lt),lt=null))),kl(e,t),be(t),null;case 5:Bu(t);var o=Pn(ko.current);if(n=t.type,e!==null&&t.stateNode!=null)Vm(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(k(166));return be(t),null}if(e=Pn(vt.current),fi(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[gt]=t,r[Eo]=i,e=(t.mode&1)!==0,n){case"dialog":Q("cancel",r),Q("close",r);break;case"iframe":case"object":case"embed":Q("load",r);break;case"video":case"audio":for(o=0;o<Xr.length;o++)Q(Xr[o],r);break;case"source":Q("error",r);break;case"img":case"image":case"link":Q("error",r),Q("load",r);break;case"details":Q("toggle",r);break;case"input":sd(r,i),Q("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Q("invalid",r);break;case"textarea":ld(r,i),Q("invalid",r)}el(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 16,811 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&di(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&di(r.textContent,a,e),o=["children",""+a]):mo.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&Q("scroll",r)}switch(n){case"input":ri(r),ad(r,i,!0);break;case"textarea":ri(r),ud(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Xi)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ph(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[gt]=t,e[Eo]=r,_m(e,t,!1,!1),t.stateNode=e;e:{switch(s=tl(n,r),n){case"dialog":Q("cancel",e),Q("close",e),o=r;break;case"iframe":case"object":case"embed":Q("load",e),o=r;break;case"video":case"audio":for(o=0;o<Xr.length;o++)Q(Xr[o],e);o=r;break;case"source":Q("error",e),o=r;break;case"img":case"image":case"link":Q("error",e),Q("load",e),o=r;break;case"details":Q("toggle",e),o=r;break;case"input":sd(e,r),o=Qa(e,r),Q("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ie({},r,{value:void 0}),Q("invalid",e);break;case"textarea":ld(e,r),o=qa(e,r),Q("invalid",e);break;default:o=r}el(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?gh(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&hh(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&go(e,l):typeof l=="number"&&go(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(mo.hasOwnProperty(i)?l!=null&&i==="onScroll"&&Q("scroll",e):l!=null&&vu(e,i,l,s))}switch(n){case"input":ri(e),ad(e,r,!1);break;case"textarea":ri(e),ud(e);break;case"option":r.value!=null&&e.setAttribute("value",""+un(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?lr(e,!!r.multiple,i,!1):r.defaultValue!=null&&lr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Xi)}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 be(t),null;case 6:if(e&&t.stateNode!=null)Fm(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(k(166));if(n=Pn(ko.current),Pn(vt.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[gt]=t,(i=r.nodeValue!==n)&&(e=We,e!==null))switch(e.tag){case 3:di(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&di(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[gt]=t,t.stateNode=r}return be(t),null;case 13:if(K(te),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ee&&$e!==null&&t.mode&1&&!(t.flags&128))rm(),vr(),t.flags|=98560,i=!1;else if(i=fi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(k(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(k(317));i[gt]=t}else vr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;be(t),i=!1}else lt!==null&&(Dl(lt),lt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||te.current&1?he===0&&(he=3):ec())),t.updateQueue!==null&&(t.flags|=4),be(t),null);case 4:return wr(),kl(e,t),e===null&&To(t.stateNode.containerInfo),be(t),null;case 10:return _u(t.type._context),be(t),null;case 17:return Fe(t.type)&&qi(),be(t),null;case 19:if(K(te),i=t.memoizedState,i===null)return be(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)zr(i,!1);else{if(he!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=is(e),s!==null){for(t.flags|=128,zr(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Y(te,te.current&1|2),t.child}e=e.sibling}i.tail!==null&&ce()>Cr&&(t.flags|=128,r=!0,zr(i,!1),t.lanes=4194304)}else{if(!r)if(e=is(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),zr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ee)return be(t),null}else 2*ce()-i.renderingStartTime>Cr&&n!==1073741824&&(t.flags|=128,r=!0,zr(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ce(),t.sibling=null,n=te.current,Y(te,r?n&1|2:n&1),t):(be(t),null);case 22:case 23:return Ju(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Be&1073741824&&(be(t),t.subtreeFlags&6&&(t.flags|=8192)):be(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function qx(e,t){switch(Mu(t),t.tag){case 1:return Fe(t.type)&&qi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wr(),K(Ve),K(Ae),Uu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Bu(t),null;case 13:if(K(te),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));vr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(te),null;case 4:return wr(),null;case 10:return _u(t.type._context),null;case 22:case 23:return Ju(),null;case 24:return null;default:return null}}var mi=!1,Pe=!1,Jx=typeof WeakSet=="function"?WeakSet:Set,j=null;function tr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){le(e,t,r)}else n.current=null}function Al(e,t,n){try{n()}catch(r){le(e,t,r)}}var qd=!1;function e1(e,t){if(dl=Zi,e=Wh(),Iu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var g;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(g=d.firstChild)!==null;)f=d,d=g;for(;;){if(d===e)break t;if(f===n&&++u===o&&(a=s),f===i&&++c===r&&(l=s),(g=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=g}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(fl={focusedElem:e,selectionRange:n},Zi=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,S=w.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?x:st(t.type,x),S);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(C){le(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return w=qd,qd=!1,w}function ao(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Al(t,n,i)}o=o.next}while(o!==r)}}function Ms(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 Nl(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 zm(e){var t=e.alternate;t!==null&&(e.alternate=null,zm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[gt],delete t[Eo],delete t[ml],delete t[Ox],delete t[_x])),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 Bm(e){return e.tag===5||e.tag===3||e.tag===4}function Jd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Bm(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 jl(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=Xi));else if(r!==4&&(e=e.child,e!==null))for(jl(e,t,n),e=e.sibling;e!==null;)jl(e,t,n),e=e.sibling}function Il(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(Il(e,t,n),e=e.sibling;e!==null;)Il(e,t,n),e=e.sibling}var xe=null,at=!1;function Wt(e,t,n){for(n=n.child;n!==null;)Um(e,t,n),n=n.sibling}function Um(e,t,n){if(yt&&typeof yt.onCommitFiberUnmount=="function")try{yt.onCommitFiberUnmount(Es,n)}catch{}switch(n.tag){case 5:Pe||tr(n,t);case 6:var r=xe,o=at;xe=null,Wt(e,t,n),xe=r,at=o,xe!==null&&(at?(e=xe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):xe.removeChild(n.stateNode));break;case 18:xe!==null&&(at?(e=xe,n=n.stateNode,e.nodeType===8?ha(e.parentNode,n):e.nodeType===1&&ha(e,n),wo(e)):ha(xe,n.stateNode));break;case 4:r=xe,o=at,xe=n.stateNode.containerInfo,at=!0,Wt(e,t,n),xe=r,at=o;break;case 0:case 11:case 14:case 15:if(!Pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Al(n,t,s),o=o.next}while(o!==r)}Wt(e,t,n);break;case 1:if(!Pe&&(tr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){le(n,t,a)}Wt(e,t,n);break;case 21:Wt(e,t,n);break;case 22:n.mode&1?(Pe=(r=Pe)||n.memoizedState!==null,Wt(e,t,n),Pe=r):Wt(e,t,n);break;default:Wt(e,t,n)}}function ef(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Jx),t.forEach(function(r){var o=u1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function ot(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:xe=a.stateNode,at=!1;break e;case 3:xe=a.stateNode.containerInfo,at=!0;break e;case 4:xe=a.stateNode.containerInfo,at=!0;break e}a=a.return}if(xe===null)throw Error(k(160));Um(i,s,o),xe=null,at=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){le(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)$m(t,e),t=t.sibling}function $m(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ot(t,e),ht(e),r&4){try{ao(3,e,e.return),Ms(3,e)}catch(x){le(e,e.return,x)}try{ao(5,e,e.return)}catch(x){le(e,e.return,x)}}break;case 1:ot(t,e),ht(e),r&512&&n!==null&&tr(n,n.return);break;case 5:if(ot(t,e),ht(e),r&512&&n!==null&&tr(n,n.return),e.flags&32){var o=e.stateNode;try{go(o,"")}catch(x){le(e,e.return,x)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&dh(o,i),tl(a,s);var u=tl(a,i);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?gh(o,d):c==="dangerouslySetInnerHTML"?hh(o,d):c==="children"?go(o,d):vu(o,c,d,u)}switch(a){case"input":Ka(o,i);break;case"textarea":fh(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var g=i.value;g!=null?lr(o,!!i.multiple,g,!1):f!==!!i.multiple&&(i.defaultValue!=null?lr(o,!!i.multiple,i.defaultValue,!0):lr(o,!!i.multiple,i.multiple?[]:"",!1))}o[Eo]=i}catch(x){le(e,e.return,x)}}break;case 6:if(ot(t,e),ht(e),r&4){if(e.stateNode===null)throw Error(k(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(x){le(e,e.return,x)}}break;case 3:if(ot(t,e),ht(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{wo(t.containerInfo)}catch(x){le(e,e.return,x)}break;case 4:ot(t,e),ht(e);break;case 13:ot(t,e),ht(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Xu=ce())),r&4&&ef(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Pe=(u=Pe)||c,ot(t,e),Pe=u):ot(t,e),ht(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(j=e,c=e.child;c!==null;){for(d=j=c;j!==null;){switch(f=j,g=f.child,f.tag){case 0:case 11:case 14:case 15:ao(4,f,f.return);break;case 1:tr(f,f.return);var w=f.stateNode;if(typeof w.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(x){le(r,n,x)}}break;case 5:tr(f,f.return);break;case 22:if(f.memoizedState!==null){nf(d);continue}}g!==null?(g.return=f,j=g):nf(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=mh("display",s))}catch(x){le(e,e.return,x)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(x){le(e,e.return,x)}}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:ot(t,e),ht(e),r&4&&ef(e);break;case 21:break;default:ot(t,e),ht(e)}}function ht(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Bm(n)){var r=n;break e}n=n.return}throw Error(k(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(go(o,""),r.flags&=-33);var i=Jd(e);Il(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Jd(e);jl(e,a,s);break;default:throw Error(k(161))}}catch(l){le(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function t1(e,t,n){j=e,Wm(e)}function Wm(e,t,n){for(var r=(e.mode&1)!==0;j!==null;){var o=j,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||mi;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||Pe;a=mi;var u=Pe;if(mi=s,(Pe=l)&&!u)for(j=o;j!==null;)s=j,l=s.child,s.tag===22&&s.memoizedState!==null?rf(o):l!==null?(l.return=s,j=l):rf(o);for(;i!==null;)j=i,Wm(i),i=i.sibling;j=o,mi=a,Pe=u}tf(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,j=i):tf(e)}}function tf(e){for(;j!==null;){var t=j;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Pe||Ms(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Pe)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:st(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Fd(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Fd(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&wo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(k(163))}Pe||t.flags&512&&Nl(t)}catch(f){le(t,t.return,f)}}if(t===e){j=null;break}if(n=t.sibling,n!==null){n.return=t.return,j=n;break}j=t.return}}function nf(e){for(;j!==null;){var t=j;if(t===e){j=null;break}var n=t.sibling;if(n!==null){n.return=t.return,j=n;break}j=t.return}}function rf(e){for(;j!==null;){var t=j;
vendor: 10,940 bytes, line 40
40try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ms(4,t)}catch(l){le(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){le(t,o,l)}}var i=t.return;try{Nl(t)}catch(l){le(t,i,l)}break;case 5:var s=t.return;try{Nl(t)}catch(l){le(t,s,l)}}}catch(l){le(t,t.return,l)}if(t===e){j=null;break}var a=t.sibling;if(a!==null){a.return=t.return,j=a;break}j=t.return}}var n1=Math.ceil,ls=Ut.ReactCurrentDispatcher,Qu=Ut.ReactCurrentOwner,tt=Ut.ReactCurrentBatchConfig,$=0,ve=null,de=null,Se=0,Be=0,nr=mn(0),he=0,Io=null,Dn=0,Ls=0,Ku=0,lo=null,Oe=null,Xu=0,Cr=1/0,kt=null,us=!1,Rl=null,sn=null,gi=!1,Jt=null,cs=0,uo=0,Ml=null,Li=-1,Di=0;function Re(){return $&6?ce():Li!==-1?Li:Li=ce()}function an(e){return e.mode&1?$&2&&Se!==0?Se&-Se:Fx.transition!==null?(Di===0&&(Di=Ah()),Di):(e=H,e!==0||(e=window.event,e=e===void 0?16:Dh(e.type)),e):1}function dt(e,t,n,r){if(50<uo)throw uo=0,Ml=null,Error(k(185));Bo(e,n,r),(!($&2)||e!==ve)&&(e===ve&&(!($&2)&&(Ls|=n),he===4&&Xt(e,Se)),ze(e,r),n===1&&$===0&&!(t.mode&1)&&(Cr=ce()+500,js&&gn()))}function ze(e,t){var n=e.callbackNode;Fv(e,t);var r=Yi(e,e===ve?Se:0);if(r===0)n!==null&&fd(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&fd(n),t===1)e.tag===0?Vx(of.bind(null,e)):em(of.bind(null,e)),Lx(function(){!($&6)&&gn()}),n=null;else{switch(Nh(r)){case 1:n=Tu;break;case 4:n=Ph;break;case 16:n=Gi;break;case 536870912:n=kh;break;default:n=Gi}n=qm(n,Hm.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Hm(e,t){if(Li=-1,Di=0,$&6)throw Error(k(327));var n=e.callbackNode;if(pr()&&e.callbackNode!==n)return null;var r=Yi(e,e===ve?Se:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ds(e,r);else{t=r;var o=$;$|=2;var i=Ym();(ve!==e||Se!==t)&&(kt=null,Cr=ce()+500,An(e,t));do try{i1();break}catch(a){Gm(e,a)}while(1);Ou(),ls.current=i,$=o,de!==null?t=0:(ve=null,Se=0,t=he)}if(t!==0){if(t===2&&(o=sl(e),o!==0&&(r=o,t=Ll(e,o))),t===1)throw n=Io,An(e,0),Xt(e,r),ze(e,ce()),n;if(t===6)Xt(e,r);else{if(o=e.current.alternate,!(r&30)&&!r1(o)&&(t=ds(e,r),t===2&&(i=sl(e),i!==0&&(r=i,t=Ll(e,i))),t===1))throw n=Io,An(e,0),Xt(e,r),ze(e,ce()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(k(345));case 2:Sn(e,Oe,kt);break;case 3:if(Xt(e,r),(r&130023424)===r&&(t=Xu+500-ce(),10<t)){if(Yi(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Re(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=hl(Sn.bind(null,e,Oe,kt),t);break}Sn(e,Oe,kt);break;case 4:if(Xt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-ct(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=ce()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*n1(r/1960))-r,10<r){e.timeoutHandle=hl(Sn.bind(null,e,Oe,kt),r);break}Sn(e,Oe,kt);break;case 5:Sn(e,Oe,kt);break;default:throw Error(k(329))}}}return ze(e,ce()),e.callbackNode===n?Hm.bind(null,e):null}function Ll(e,t){var n=lo;return e.current.memoizedState.isDehydrated&&(An(e,t).flags|=256),e=ds(e,t),e!==2&&(t=Oe,Oe=n,t!==null&&Dl(t)),e}function Dl(e){Oe===null?Oe=e:Oe.push.apply(Oe,e)}function r1(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!ft(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Xt(e,t){for(t&=~Ku,t&=~Ls,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ct(t),r=1<<n;e[n]=-1,t&=~r}}function of(e){if($&6)throw Error(k(327));pr();var t=Yi(e,0);if(!(t&1))return ze(e,ce()),null;var n=ds(e,t);if(e.tag!==0&&n===2){var r=sl(e);r!==0&&(t=r,n=Ll(e,r))}if(n===1)throw n=Io,An(e,0),Xt(e,t),ze(e,ce()),n;if(n===6)throw Error(k(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sn(e,Oe,kt),ze(e,ce()),null}function qu(e,t){var n=$;$|=1;try{return e(t)}finally{$=n,$===0&&(Cr=ce()+500,js&&gn())}}function On(e){Jt!==null&&Jt.tag===0&&!($&6)&&pr();var t=$;$|=1;var n=tt.transition,r=H;try{if(tt.transition=null,H=1,e)return e()}finally{H=r,tt.transition=n,$=t,!($&6)&&gn()}}function Ju(){Be=nr.current,K(nr)}function An(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Mx(n)),de!==null)for(n=de.return;n!==null;){var r=n;switch(Mu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&qi();break;case 3:wr(),K(Ve),K(Ae),Uu();break;case 5:Bu(r);break;case 4:wr();break;case 13:K(te);break;case 19:K(te);break;case 10:_u(r.type._context);break;case 22:case 23:Ju()}n=n.return}if(ve=e,de=e=ln(e.current,null),Se=Be=t,he=0,Io=null,Ku=Ls=Dn=0,Oe=lo=null,En!==null){for(t=0;t<En.length;t++)if(n=En[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}En=null}return e}function Gm(e,t){do{var n=de;try{if(Ou(),Ii.current=as,ss){for(var r=re.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ss=!1}if(Ln=0,ye=fe=re=null,so=!1,Ao=0,Qu.current=null,n===null||n.return===null){he=1,Io=t,de=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=Se,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 g=Hd(s);if(g!==null){g.flags&=-257,Gd(g,s,a,i,t),g.mode&1&&Wd(i,u,t),t=g,l=u;var w=t.updateQueue;if(w===null){var x=new Set;x.add(l),t.updateQueue=x}else w.add(l);break e}else{if(!(t&1)){Wd(i,u,t),ec();break e}l=Error(k(426))}}else if(ee&&a.mode&1){var S=Hd(s);if(S!==null){!(S.flags&65536)&&(S.flags|=256),Gd(S,s,a,i,t),Lu(Sr(l,a));break e}}i=l=Sr(l,a),he!==4&&(he=2),lo===null?lo=[i]:lo.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=Nm(i,l,t);Vd(i,m);break e;case 1:a=l;var h=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof h.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(sn===null||!sn.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var C=jm(i,a,t);Vd(i,C);break e}}i=i.return}while(i!==null)}Qm(n)}catch(T){t=T,de===n&&n!==null&&(de=n=n.return);continue}break}while(1)}function Ym(){var e=ls.current;return ls.current=as,e===null?as:e}function ec(){(he===0||he===3||he===2)&&(he=4),ve===null||!(Dn&268435455)&&!(Ls&268435455)||Xt(ve,Se)}function ds(e,t){var n=$;$|=2;var r=Ym();(ve!==e||Se!==t)&&(kt=null,An(e,t));do try{o1();break}catch(o){Gm(e,o)}while(1);if(Ou(),$=n,ls.current=r,de!==null)throw Error(k(261));return ve=null,Se=0,he}function o1(){for(;de!==null;)Zm(de)}function i1(){for(;de!==null&&!jv();)Zm(de)}function Zm(e){var t=Xm(e.alternate,e,Be);e.memoizedProps=e.pendingProps,t===null?Qm(e):de=t,Qu.current=null}function Qm(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=qx(n,t),n!==null){n.flags&=32767,de=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{he=6,de=null;return}}else if(n=Xx(n,t,Be),n!==null){de=n;return}if(t=t.sibling,t!==null){de=t;return}de=t=e}while(t!==null);he===0&&(he=5)}function Sn(e,t,n){var r=H,o=tt.transition;try{tt.transition=null,H=1,s1(e,t,n,r)}finally{tt.transition=o,H=r}return null}function s1(e,t,n,r){do pr();while(Jt!==null);if($&6)throw Error(k(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(k(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(zv(e,i),e===ve&&(de=ve=null,Se=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||gi||(gi=!0,qm(Gi,function(){return pr(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=tt.transition,tt.transition=null;var s=H;H=1;var a=$;$|=4,Qu.current=null,e1(e,n),$m(n,e),Px(fl),Zi=!!dl,fl=dl=null,e.current=n,t1(n),Iv(),$=a,H=s,tt.transition=i}else e.current=n;if(gi&&(gi=!1,Jt=e,cs=o),i=e.pendingLanes,i===0&&(sn=null),Lv(n.stateNode),ze(e,ce()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(us)throw us=!1,e=Rl,Rl=null,e;return cs&1&&e.tag!==0&&pr(),i=e.pendingLanes,i&1?e===Ml?uo++:(uo=0,Ml=e):uo=0,gn(),null}function pr(){if(Jt!==null){var e=Nh(cs),t=tt.transition,n=H;try{if(tt.transition=null,H=16>e?16:e,Jt===null)var r=!1;else{if(e=Jt,Jt=null,cs=0,$&6)throw Error(k(331));var o=$;for($|=4,j=e.current;j!==null;){var i=j,s=i.child;if(j.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(j=u;j!==null;){var c=j;switch(c.tag){case 0:case 11:case 15:ao(8,c,i)}var d=c.child;if(d!==null)d.return=c,j=d;else for(;j!==null;){c=j;var f=c.sibling,g=c.return;if(zm(c),c===u){j=null;break}if(f!==null){f.return=g,j=f;break}j=g}}}var w=i.alternate;if(w!==null){var x=w.child;if(x!==null){w.child=null;do{var S=x.sibling;x.sibling=null,x=S}while(x!==null)}}j=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,j=s;else e:for(;j!==null;){if(i=j,i.flags&2048)switch(i.tag){case 0:case 11:case 15:ao(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,j=m;break e}j=i.return}}var h=e.current;for(j=h;j!==null;){s=j;var v=s.child;if(s.subtreeFlags&2064&&v!==null)v.return=s,j=v;else e:for(s=h;j!==null;){if(a=j,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Ms(9,a)}}catch(T){le(a,a.return,T)}if(a===s){j=null;break e}var C=a.sibling;if(C!==null){C.return=a.return,j=C;break e}j=a.return}}if($=o,gn(),yt&&typeof yt.onPostCommitFiberRoot=="function")try{yt.onPostCommitFiberRoot(Es,e)}catch{}r=!0}return r}finally{H=n,tt.transition=t}}return!1}function sf(e,t,n){t=Sr(n,t),t=Nm(e,t,1),e=on(e,t,1),t=Re(),e!==null&&(Bo(e,1,t),ze(e,t))}function le(e,t,n){if(e.tag===3)sf(e,e,n);else for(;t!==null;){if(t.tag===3){sf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(sn===null||!sn.has(r))){e=Sr(n,e),e=jm(t,e,1),t=on(t,e,1),e=Re(),t!==null&&(Bo(t,1,e),ze(t,e));break}}t=t.return}}function a1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Re(),e.pingedLanes|=e.suspendedLanes&n,ve===e&&(Se&n)===n&&(he===4||he===3&&(Se&130023424)===Se&&500>ce()-Xu?An(e,0):Ku|=n),ze(e,t)}function Km(e,t){t===0&&(e.mode&1?(t=si,si<<=1,!(si&130023424)&&(si=4194304)):t=1);var n=Re();e=_t(e,t),e!==null&&(Bo(e,t,n),ze(e,n))}function l1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Km(e,n)}function u1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),Km(e,n)}var Xm;Xm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ve.current)_e=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return _e=!1,Kx(e,t,n);_e=!!(e.flags&131072)}
vendor: 4,610 bytes, line 40
40else _e=!1,ee&&t.flags&1048576&&tm(t,ts,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Mi(e,t),e=t.pendingProps;var o=yr(t,Ae.current);fr(t,n),o=Wu(null,t,r,e,o,n);var i=Hu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fe(r)?(i=!0,Ji(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Fu(t),o.updater=Rs,t.stateNode=o,o._reactInternals=t,Sl(t,r,e,n),t=bl(null,t,r,!0,i,n)):(t.tag=0,ee&&i&&Ru(t),Ie(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Mi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=d1(r),e=st(r,e),o){case 0:t=Tl(null,t,r,e,n);break e;case 1:t=Qd(null,t,r,e,n);break e;case 11:t=Yd(null,t,r,e,n);break e;case 14:t=Zd(null,t,r,st(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:st(r,o),Tl(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:st(r,o),Qd(e,t,r,o,n);case 3:e:{if(Lm(t),e===null)throw Error(k(387));r=t.pendingProps,i=t.memoizedState,o=i.element,am(e,t),os(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Sr(Error(k(423)),t),t=Kd(e,t,r,n,o);break e}else if(r!==o){o=Sr(Error(k(424)),t),t=Kd(e,t,r,n,o);break e}else for($e=rn(t.stateNode.containerInfo.firstChild),We=t,ee=!0,lt=null,n=im(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vr(),r===o){t=Vt(e,t,n);break e}Ie(e,t,r,n)}t=t.child}return t;case 5:return lm(t),e===null&&vl(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,pl(r,o)?s=null:i!==null&&pl(r,i)&&(t.flags|=32),Mm(e,t),Ie(e,t,s,n),t.child;case 6:return e===null&&vl(t),null;case 13:return Dm(e,t,n);case 4:return zu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=xr(t,null,r,n):Ie(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:st(r,o),Yd(e,t,r,o,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Y(ns,r._currentValue),r._currentValue=s,i!==null)if(ft(i.value,s)){if(i.children===o.children&&!Ve.current){t=Vt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=It(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),xl(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(k(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),xl(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ie(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,fr(t,n),o=nt(o),r=r(o),t.flags|=1,Ie(e,t,r,n),t.child;case 14:return r=t.type,o=st(r,t.pendingProps),o=st(r.type,o),Zd(e,t,r,o,n);case 15:return Im(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:st(r,o),Mi(e,t),t.tag=1,Fe(r)?(e=!0,Ji(t)):e=!1,fr(t,n),Am(t,r,o),Sl(t,r,o,n),bl(null,t,r,!0,e,n);case 19:return Om(e,t,n);case 22:return Rm(e,t,n)}throw Error(k(156,t.tag))};function qm(e,t){return Eh(e,t)}function c1(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 et(e,t,n,r){return new c1(e,t,n,r)}function tc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function d1(e){if(typeof e=="function")return tc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===wu)return 11;if(e===Su)return 14}return 2}function ln(e,t){var n=e.alternate;return n===null?(n=et(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: 11,167 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 Oi(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")tc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Gn:return Nn(n.children,o,i,t);case xu:s=8,o|=8;break;case Ha:return e=et(12,n,t,o|2),e.elementType=Ha,e.lanes=i,e;case Ga:return e=et(13,n,t,o),e.elementType=Ga,e.lanes=i,e;case Ya:return e=et(19,n,t,o),e.elementType=Ya,e.lanes=i,e;case lh:return Ds(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case sh:s=10;break e;case ah:s=9;break e;case wu:s=11;break e;case Su:s=14;break e;case Zt:s=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=et(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Nn(e,t,n,r){return e=et(7,e,r,t),e.lanes=n,e}function Ds(e,t,n,r){return e=et(22,e,r,t),e.elementType=lh,e.lanes=n,e.stateNode={isHidden:!1},e}function Ca(e,t,n){return e=et(6,e,null,t),e.lanes=n,e}function Ta(e,t,n){return t=et(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function f1(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ra(0),this.expirationTimes=ra(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ra(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function nc(e,t,n,r,o,i,s,a,l){return e=new f1(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=et(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fu(i),e}function p1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Hn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Jm(e){if(!e)return cn;e=e._reactInternals;e:{if(Fn(e)!==e||e.tag!==1)throw Error(k(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Fe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(k(171))}if(e.tag===1){var n=e.type;if(Fe(n))return Jh(e,n,t)}return t}function eg(e,t,n,r,o,i,s,a,l){return e=nc(n,r,!0,e,o,i,s,a,l),e.context=Jm(null),n=e.current,r=Re(),o=an(n),i=It(r,o),i.callback=t??null,on(n,i,o),e.current.lanes=o,Bo(e,o,r),ze(e,r),e}function Os(e,t,n,r){var o=t.current,i=Re(),s=an(o);return n=Jm(n),t.context===null?t.context=n:t.pendingContext=n,t=It(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=on(o,t,s),e!==null&&(dt(e,o,s,i),ji(e,o,s)),s}function fs(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 af(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function rc(e,t){af(e,t),(e=e.alternate)&&af(e,t)}function h1(){return null}var tg=typeof reportError=="function"?reportError:function(e){console.error(e)};function oc(e){this._internalRoot=e}_s.prototype.render=oc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(k(409));Os(e,t,null,null)};_s.prototype.unmount=oc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;On(function(){Os(null,e,null,null)}),t[Ot]=null}};function _s(e){this._internalRoot=e}_s.prototype.unstable_scheduleHydration=function(e){if(e){var t=Rh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Kt.length&&t!==0&&t<Kt[n].priority;n++);Kt.splice(n,0,e),n===0&&Lh(e)}};function ic(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Vs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function lf(){}function m1(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=fs(s);i.call(u)}}var s=eg(t,r,e,0,null,!1,!1,"",lf);return e._reactRootContainer=s,e[Ot]=s.current,To(e.nodeType===8?e.parentNode:e),On(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=fs(l);a.call(u)}}var l=nc(e,0,!1,null,null,!1,!1,"",lf);return e._reactRootContainer=l,e[Ot]=l.current,To(e.nodeType===8?e.parentNode:e),On(function(){Os(t,l,n,r)}),l}function Fs(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=fs(s);a.call(l)}}Os(t,s,e,o)}else s=m1(n,t,e,o,r);return fs(s)}jh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Kr(t.pendingLanes);n!==0&&(bu(t,n|1),ze(t,ce()),!($&6)&&(Cr=ce()+500,gn()))}break;case 13:On(function(){var r=_t(e,1);if(r!==null){var o=Re();dt(r,e,1,o)}}),rc(e,1)}};Eu=function(e){if(e.tag===13){var t=_t(e,134217728);if(t!==null){var n=Re();dt(t,e,134217728,n)}rc(e,134217728)}};Ih=function(e){if(e.tag===13){var t=an(e),n=_t(e,t);if(n!==null){var r=Re();dt(n,e,t,r)}rc(e,t)}};Rh=function(){return H};Mh=function(e,t){var n=H;try{return H=e,t()}finally{H=n}};rl=function(e,t,n){switch(t){case"input":if(Ka(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Ns(r);if(!o)throw Error(k(90));ch(r),Ka(r,o)}}}break;case"textarea":fh(e,n);break;case"select":t=n.value,t!=null&&lr(e,!!n.multiple,t,!1)}};xh=qu;wh=On;var g1={usingClientEntryPoint:!1,Events:[$o,Kn,Ns,yh,vh,qu]},Br={findFiberByHostInstance:bn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},y1={bundleType:Br.bundleType,version:Br.version,rendererPackageName:Br.rendererPackageName,rendererConfig:Br.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ut.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Th(e),e===null?null:e.stateNode},findFiberByHostInstance:Br.findFiberByHostInstance||h1,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 yi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yi.isDisabled&&yi.supportsFiber)try{Es=yi.inject(y1),yt=yi}catch{}}Ze.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=g1;Ze.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ic(t))throw Error(k(200));return p1(e,t,null,n)};Ze.createRoot=function(e,t){if(!ic(e))throw Error(k(299));var n=!1,r="",o=tg;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=nc(e,1,!1,null,null,n,!1,r,o),e[Ot]=t.current,To(e.nodeType===8?e.parentNode:e),new oc(t)};Ze.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(k(188)):(e=Object.keys(e).join(","),Error(k(268,e)));return e=Th(t),e=e===null?null:e.stateNode,e};Ze.flushSync=function(e){return On(e)};Ze.hydrate=function(e,t,n){if(!Vs(t))throw Error(k(200));return Fs(null,e,t,!0,n)};Ze.hydrateRoot=function(e,t,n){if(!ic(e))throw Error(k(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=tg;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=eg(t,null,e,1,n??null,o,!1,i,s),e[Ot]=t.current,To(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new _s(t)};Ze.render=function(e,t,n){if(!Vs(t))throw Error(k(200));return Fs(null,e,t,!1,n)};Ze.unmountComponentAtNode=function(e){if(!Vs(e))throw Error(k(40));return e._reactRootContainer?(On(function(){Fs(null,null,e,!1,function(){e._reactRootContainer=null,e[Ot]=null})}),!0):!1};Ze.unstable_batchedUpdates=qu;Ze.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Vs(n))throw Error(k(200));if(e==null||e._reactInternals===void 0)throw Error(k(38));return Fs(e,t,n,!1,r)};Ze.version="18.3.1-next-f1338f8080-20240426";function ng(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ng)}catch(e){console.error(e)}}ng(),nh.exports=Ze;var zs=nh.exports;const v1=Pr(zs);var uf=zs;$a.createRoot=uf.createRoot,$a.hydrateRoot=uf.hydrateRoot;const x1="modulepreload",w1=function(e){return"/"+e},cf={},S1=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=w1(i),i in cf)return;cf[i]=!0;const s=i.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!r)for(let c=o.length-1;c>=0;c--){const d=o[c];if(d.href===i&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const u=document.createElement("link");if(u.rel=s?"stylesheet":x1,s||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),s)return new Promise((c,d)=>{u.addEventListener("load",c),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})};var sc={};Object.defineProperty(sc,"__esModule",{value:!0});sc.parse=A1;sc.serialize=N1;const C1=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,T1=/^[\u0021-\u003A\u003C-\u007E]*$/,b1=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,E1=/^[\u0020-\u003A\u003D-\u007E]*$/,P1=Object.prototype.toString,k1=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function A1(e,t){const n=new k1,r=e.length;if(r<2)return n;const o=(t==null?void 0:t.decode)||j1;let i=0;do{const s=e.indexOf("=",i);if(s===-1)break;const a=e.indexOf(";",i),l=a===-1?r:a;if(s>l){i=e.lastIndexOf(";",s-1)+1;continue}const u=df(e,i,s),c=ff(e,s,u),d=e.slice(u,c);if(n[d]===void 0){let f=df(e,s+1,l),g=ff(e,l,f);const w=o(e.slice(f,g));n[d]=w}i=l+1}while(i<r);return n}function df(e,t,n){do{const r=e.charCodeAt(t);if(r!==32&&r!==9)return t}while(++t<n);return n}function ff(e,t,n){for(;t>n;){const r=e.charCodeAt(--t);if(r!==32&&r!==9)return t+1}return n}function N1(e,t,n){const r=(n==null?void 0:n.encode)||encodeURIComponent;
40if(!C1.test(e))throw new TypeError(`argument name is invalid: ${e}`);const o=r(t);if(!T1.test(o))throw new TypeError(`argument val is invalid: ${t}`);let i=e+"="+o;if(!n)return i;if(n.maxAge!==void 0){if(!Number.isInteger(n.maxAge))throw new TypeError(`option maxAge is invalid: ${n.maxAge}`);i+="; Max-Age="+n.maxAge}if(n.domain){if(!b1.test(n.domain))throw new TypeError(`option domain is invalid: ${n.domain}`);i+="; Domain="+n.domain}if(n.path){if(!E1.test(n.path))throw new TypeError(`option path is invalid: ${n.path}`);i+="; Path="+n.path}if(n.expires){if(!I1(n.expires)||!Number.isFinite(n.expires.valueOf()))throw new TypeError(`option expires is invalid: ${n.expires}`);i+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(i+="; HttpOnly"),n.secure&&(i+="; Secure"),n.partitioned&&(i+="; Partitioned"),n.priority)switch(typeof n.priority=="string"?n.priority.toLowerCase():void 0){case"low":i+="; Priority=Low";break;case"medium":i+="; Priority=Medium";break;case"high":i+="; Priority=High";break;default:throw new TypeError(`option priority is invali
40d: ${n.priority}`)}if(n.sameSite)switch(typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"none":i+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${n.sameSite}`)}return i}function j1(e){if(e.indexOf("%")===-1)return e;try{return decodeURIComponent(e)}catch{return e}}function I1(e){return P1.call(e)==="[object Date]"}var pf="popstate";function R1(e={}){function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return Ol("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Ro(o)}return L1(t,n,null,e)}function oe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function St(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function M1(){return Math.random().toString(36).substring(2,10)}function hf(e,t){return{usr:e.state,key:e.key,idx:t}}function Ol(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?jr(t):t,state:n,key:t&&t.key||r||M1()}}function Ro({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function jr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function L1(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a="POP",l=null,u=c();u==null&&(u=0,s.replaceState({...s.state,idx:u},""));function c(){return(s.state||{idx:null}).idx}function d(){a="POP";let S=c(),m=S==null?null:S-u;u=S,l&&l({action:a,location:x.location,delta:m})}function f(S,m){a="PUSH";let h=Ol(x.location,S,m);n&&n(h,S),u=c()+1;let v=hf(h,u),C=x.createHref(h);try{s.pushState(v,"",C)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;o.location.assign(C)}i&&l&&l({action:a,location:x.location,delta:1})}function g(S,m){a="REPLACE";let h=Ol(x.location,S,m);n&&n(h,S),u=c();let v=hf(h,u),C=x.createHref(h);s.replaceState(v,"",C),i&&l&&l({action:a,location:x.location,delta:0})}function w(S){let m=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof S=="string"?S:Ro(S);return h=h.replace(/ $/,"%20"),oe(m,`No window.location.(origin|href) available to create URL for href: ${h}`),new URL(h,m)}let x={get action(){return a},get location(){return e(o,s)},listen(S){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(pf,d),l=S,()=>{o.removeEventListener(pf,d),l=null}},createHref(S){return t(o,S)},createURL:w,encodeLocation(S){let m=w(S);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:g,go(S){return s.go(S)}};return x}function rg(e,t,n="/"){return D1(e,t,n,!1)}function D1(e,t,n,r){let o=typeof t=="string"?jr(t):t,i=dn(o.pathname||"/",n);if(i==null)return null;let s=og(e);O1(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=Y1(i);a=H1(s[l],u,r)}return a}function og(e,t=[],n=[],r=""){let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(oe(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=Rt([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(oe(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),og(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:$1(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of ig(i.path))o(i,s,l)}),t}function ig(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=ig(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function O1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:W1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var _1=/^:[\w-]+$/,V1=3,F1=2,z1=1,B1=10,U1=-2,mf=e=>e==="*";function $1(e,t){let n=e.split("/"),r=n.length;return n.some(mf)&&(r+=U1),t&&(r+=F1),n.filter(o=>!mf(o)).reduce((o,i)=>o+(_1.test(i)?V1:i===""?z1:B1),r)}function W1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function H1(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=ps({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=ps({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
40Object.assign(o,d.params),s.push({params:o,pathname:Rt([i,d.pathname]),pathnameBase:X1(Rt([i,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(i=Rt([i,d.pathnameBase]))}return s}function ps(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=G1(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,{paramName:c,isOptional:d},f)=>{if(c==="*"){let w=a[f]||"";s=i.slice(0,i.length-w.length).replace(/(.)\/+$/,"$1")}const g=a[f];return d&&!g?u[c]=void 0:u[c]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function G1(e,t=!1,n=!0){St(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Y1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return St(!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 dn(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 Z1(e,t="/"){let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?jr(e):e;return{pathname:n?n.startsWith("/")?n:Q1(n,t):t,search:q1(r),hash:J1(o)}}function Q1(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function ba(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 K1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function sg(e){let t=K1(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function ag(e,t,n,r=!1){let o;typeof e=="string"?o=jr(e):(o={...e},oe(!o.pathname||!o.pathname.includes("?"),ba("?","pathname","search",o)),oe(!o.pathname||!o.pathname.includes("#"),ba("#","pathname","hash",o)),oe(!o.search||!o.search.includes("#"),ba("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;o.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=Z1(o,a),u=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}var Rt=e=>e.join("/").replace(/\/\/+/g,"/"),X1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),q1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,J1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function ew(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var lg=["POST","PUT","PATCH","DELETE"];new Set(lg);var tw=["GET",...lg];new Set(tw);var Ir=y.createContext(null);Ir.displayName="DataRouter";var Bs=y.createContext(null);Bs.displayName="DataRouterState";var ug=y.createContext({isTransitioning:!1});ug.displayName="ViewTransition";var nw=y.createContext(new Map);nw.displayName="Fetchers";var rw=y.createContext(null);rw.displayName="Await";var Ct=y.createContext(null);Ct.displayName="Navigation";var Ho=y.createContext(null);Ho.displayName="Location";var $t=y.createContext({outlet:null,matches:[],isDataRoute:!1});$t.displayName="Route";var ac=y.createContext(null);ac.displayName="RouteError";function ow(e,{relative:t}={}){oe(Go(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=y.useContext(Ct),{hash:o,pathname:i,search:s}=Yo(e,{relative:t}),a=i;
40return n!=="/"&&(a=i==="/"?n:Rt([n,i])),r.createHref({pathname:a,search:s,hash:o})}function Go(){return y.useContext(Ho)!=null}function zn(){return oe(Go(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(Ho).location}var cg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function dg(e){y.useContext(Ct).static||y.useLayoutEffect(e)}function iw(){let{isDataRoute:e}=y.useContext($t);return e?vw():sw()}function sw(){oe(Go(),"useNavigate() may be used only in the context of a <Router> component.");let e=y.useContext(Ir),{basename:t,navigator:n}=y.useContext(Ct),{matches:r}=y.useContext($t),{pathname:o}=zn(),i=JSON.stringify(sg(r)),s=y.useRef(!1);return dg(()=>{s.current=!0}),y.useCallback((l,u={})=>{if(St(s.current,cg),!s.current)return;if(typeof l=="number"){n.go(l);return}let c=ag(l,JSON.parse(i),o,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Rt([t,c.pathname])),(u.replace?n.replace:n.push)(c,u.state,u)},[t,n,i,o,e])}y.createContext(null);function Yo(e,{relative:t}={}){let{matches:n}=y.useContext($t),{pathname:r}=zn(),o=JSON.stringify(sg(n));return y.useMemo(()=>ag(e,JSON.parse(o),r,t==="path"),[e,o,r,t])}function aw(e,t){return fg(e,t)}function fg(e,t,n,r){var m;oe(Go(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=y.useContext(Ct),{matches:i}=y.useContext($t),s=i[i.length-1],a=s?s.params:{},l=s?s.pathname:"/",u=s?s.pathnameBase:"/",c=s&&s.route;{let h=c&&c.path||"";pg(l,!c||h.endsWith("*")||h.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${h}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
41
42Please change the parent <Route path="${h}"> to <Route path="${h==="/"?"*":`${h}/*`}">.`)}let d=zn(),f;if(t){let h=typeof t=="string"?jr(t):t;oe(u==="/"||((m=h.pathname)==null?void 0:m.startsWith(u)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${h.pathname}" was given in the \`location\` prop.`),f=h}else f=d;let g=f.pathname||"/",w=g;if(u!=="/"){let h=u.replace(/^\//,"").split("/");w="/"+g.replace(/^\//,"").split("/").slice(h.length).join("/")}let x=rg(e,{pathname:w});St(c||x!=null,`No routes matched location "${f.pathname}${f.search}${f.hash}" `),St(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.length-1].route.lazy!==void 0,`Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let S=fw(x&&x.map(h=>Object.assign({},h,{params:Object.assign({},a,h.params),pathname:Rt([u,o.encodeLocation?o.encodeLocation(h.pathname).pathname:h.pathname]),pathnameBase:h.pathnameBase==="/"?u:Rt([u,o.encodeLocation?o.encodeLocation(h.pathnameBase).pathname:h.pathnameBase])})),i,n,r);return t&&S?y.createElement(Ho.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...f},navigationType:"POP"}},S):S}function lw(){let e=yw(),t=ew(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:i},"ErrorBoundary")," or"," ",y.createElement("code",{style:i},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application 
42Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:o},n):null,s)}var uw=y.createElement(lw,null),cw=class extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?y.createElement($t.Provider,{value:this.props.routeContext},y.createElement(ac.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function dw({routeContext:e,match:t,children:n}){let r=y.useContext(Ir);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),y.createElement($t.Provider,{value:e},n)}function fw(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,i=n==null?void 0:n.errors;if(i!=null){let l=o.findIndex(u=>u.route.id&&(i==null?void 0:i[u.route.id])!==void 0);oe(l>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,l+1))}let s=!1,a=-1;if(n)for(let l=0;l<o.length;l++){let u=o[l];if((u.route.HydrateFallback||u.route.hydrateFallbackElement)&&(a=l),u.route.id){let{loaderData:c,errors:d}=n,f=u.route.loader&&!c.hasOwnProperty(u.route.id)&&(!d||d[u.route.id]===void 0);if(u.route.lazy||f){s=!0,a>=0?o=o.slice(0,a+1):o=[o[0]];break}}}return o.reduceRight((l,u,c)=>{let d,f=!1,g=null,w=null;n&&(d=i&&u.route.id?i[u.route.id]:void 0,g=u.route.errorElement||uw,s&&(a<0&&c===0?(pg("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),f=!0,w=null):a===c&&(f=!0,w=u.route.hydrateFallbackElement||null)));let x=t.concat(o.slice(0,c+1)),S=()=>{let m;return d?m=g:f?m=w:u.route.Component?m=y.createElement(u.route.Component,null):u.route.element?m=u.route.element:m=l,y.createElement(dw,{match:u,routeContext:{outlet:l,matches:x,isDataRoute:n!=null},children:m})};return n&&(u.route.ErrorBoundary||u.route.errorElement||c===0)?y.createElement(cw,{location:n.location,revalidation:n.revalidation,component:g,error:d,children:S(),routeC
42ontext:{outlet:null,matches:x,isDataRoute:!0}}):S()},null)}function lc(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function pw(e){let t=y.useContext(Ir);return oe(t,lc(e)),t}function hw(e){let t=y.useContext(Bs);return oe(t,lc(e)),t}function mw(e){let t=y.useContext($t);return oe(t,lc(e)),t}function uc(e){let t=mw(e),n=t.matches[t.matches.length-1];return oe(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function gw(){return uc("useRouteId")}function yw(){var r;let e=y.useContext(ac),t=hw("useRouteError"),n=uc("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function vw(){let{router:e}=pw("useNavigate"),t=uc("useNavigate"),n=y.useRef(!1);return dg(()=>{n.current=!0}),y.useCallback(async(o,i={})=>{St(n.current,cg),n.current&&(typeof o=="number"?e.navigate(o):await e.navigate(o,{fromRouteId:t,...i}))},[e,t])}var gf={};function pg(e,t,n){!t&&!gf[e]&&(gf[e]=!0,St(!1,n))}y.memo(xw);function xw({routes:e,future:t,state:n}){return fg(e,void 0,n,t)}function _l(e){oe(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ww({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1}){oe(!Go(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),a=y.useMemo(()=>({basename:s,navigator:o,static:i,future:{}}),[s,o,i]);typeof n=="string"&&(n=jr(n));let{pathname:l="/",search:u="",hash:c="",state:d=null,key:f="default"}=n,g=y.useMemo(()=>{let w=dn(l,s);return w==null?null:{location:{pathname:w,search:u,hash:c,state:d,key:f},navigationType:r}},[s,l,u,c,d,f,r]);return St(g!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${c}" because it does not start with the basename, so the <Router> won't render anything.`),g==null?null:y.createElement(Ct.Provider,{value:a},y.createElement(Ho.Provider,{children:t,value:g}))}function Sw({children:e,location:t}){return aw(Vl(e),t)}function Vl(e,t=[]){let n=[];return y.Children.forEach(e,(r,o)=>{if(!y.isValidElement(r))return;let i=[...t,o];if(r.type===y.Fragment){n.push.apply(n,Vl(r.props.children,i));return}oe(r.type===_l,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),oe(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Vl(r.props.children,i)),n.push(s)}),n}var _i="get",Vi="application/x-www-form-urlencoded";function Us(e){return e!=null&&typeof e.tagName=="string"}function Cw(e){return Us(e)&&e.tagName.toLowerCase()==="button"}function Tw(e){return Us(e)&&e.tagName.toLowerCase()==="form"}function bw(e){return Us(e)&&e.tagName.toLowerCase()==="input"}function Ew(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Pw(e,t){return e.button===0&&(!t||t==="_self")&&!Ew(e)}var vi=null;function kw(){if(vi===null)try{new FormData(document.createElement("form"),0),vi=!1}catch{vi=!0}return vi}var Aw=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ea(e){return e!=null&&!Aw.has(e)?(St(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Vi}"`),null):e}function Nw(e,t){let n,r,o,i,s;if(Tw(e)){let a=e.getAttribute("action");r=a?dn(a,t):null,n=e.getAttribute("method")||_i,o=Ea(e.getAttribute("enctype"))||Vi,i=new FormData(e)}else if(Cw(e)||bw(e)&&(e.type==="submit"||e.type==="image")){let a=e.form;if(a==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||a.getAttribute("action");if(r=l?dn(l,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||_i,o=Ea(e.getAttribute("formenctype"))||Ea(a.getAttribute("enctype"))||Vi,i=new FormData(a,e),!kw()){let{name:u,type:c,value:d}=e;if(c==="image"){let f=u?`${u}.`:"";i.append(`${f}x`,"0"),i.append(`${f}y`,"0")}
42else u&&i.append(u,d)}}else{if(Us(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=_i,r=null,o=Vi,s=e}return i&&o==="text/plain"&&(s=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:s}}function cc(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function jw(e,t){if(e.id in t)return t[e.id];try{let n=await S1(()=>import(e.module),[]);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Iw(e){return e!=null&&typeof e.page=="string"}function Rw(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Mw(e,t,n){let r=await Promise.all(e.map(async o=>{let i=t.routes[o.route.id];if(i){let s=await jw(i,n);return s.links?s.links():[]}return[]}));return _w(r.flat(1).filter(Rw).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function yf(e,t,n,r,o,i){let s=(l,u)=>n[u]?l.route.id!==n[u].route.id:!0,a=(l,u)=>{var c;return n[u].pathname!==l.pathname||((c=n[u].route.path)==null?void 0:c.endsWith("*"))&&n[u].params["*"]!==l.params["*"]};return i==="assets"?t.filter((l,u)=>s(l,u)||a(l,u)):i==="data"?t.filter((l,u)=>{var d;let c=r.routes[l.route.id];if(!c||!c.hasLoader)return!1;if(s(l,u)||a(l,u))return!0;if(l.route.shouldRevalidate){let f=l.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((d=n[0])==null?void 0:d.params)||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof f=="boolean")return f}return!0}):[]}function Lw(e,t){return Dw(e.map(n=>{let r=t.routes[n.route.id];if(!r)return[];let o=[r.module];return r.imports&&(o=o.concat(r.imports)),o}).flat(1))}function Dw(e){return[...new Set(e)]}function Ow(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function _w(e,t){let n=new Set,r=new Set(t);return e.reduce((o,i)=>{if(t&&!Iw(i)&&i.as==="script"&&i.href&&r.has(i.href))return o;let a=JSON.stringify(Ow(i));return n.has(a)||(n.add(a),o.push({key:a,link:i})),o},[])}function Vw(e){let t=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return t.pathname==="/"?t.pathname="_root.data":t.pathname=`${t.pathname.replace(/\/$/,"")}.data`,t}function Fw(){let e=y.useContext(Ir);return cc(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function zw(){let e=y.useContext(Bs);return cc(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var dc=y.createContext(void 0);dc.displayName="FrameworkContext";function hg(){let e=y.useContext(dc);return cc(e,"You must render this element inside a <HydratedRouter> element"),e}function Bw(e,t){let n=y.useContext(dc),[r,o]=y.useState(!1),[i,s]=y.useState(!1),{onFocus:a,onBlur:l,onMouseEnter:u,onMouseLeave:c,onTouchStart:d}=t,f=y.useRef(null);y.useEffect(()=>{if(e==="render"&&s(!0),e==="viewport"){let x=m=>{m.forEach(h=>{s(h.isIntersecting)})},S=new IntersectionObserver(x,{threshold:.5});return f.current&&S.observe(f.current),()=>{S.disconnect()}}},[e]),y.useEffect(()=>{if(r){let x=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(x)}}},[r]);let g=()=>{o(!0)},w=()=>{o(!1),s(!1)};return n?e!=="intent"?[i,f,{}]:[i,f,{onFocus:Ur(a,g),onBlur:Ur(l,w),onMouseEnter:Ur(u,g),onMouseLeave:Ur(c,w),onTouchStart:Ur(d,g)}]:[!1,f,{}]}function Ur(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Uw({page:e,...t}){let{router:n}=Fw(),r=y.useMemo(()=>rg(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?y.createElement(Ww,{page:e,matches:r,...t}):null}function $w(e){let{manifest:t,routeModules:n}=hg(),[r,o]=y.useState([]);return y.useEffect(()=>{let i=!1;return Mw(e,t,n).then(s=>{i||o(s)}),()=>{i=!0}},[e,t,n]),r}function Ww({page:e,matches:t,...n}){let r=zn(),{manifest:o,routeModules:i}=hg(),{loaderData:s,matches:a}=zw(),l=y.useMemo(()=>yf(e,t,a,o,r,"data"),[e,t,a,o,r]),u=y.useMemo(()=>yf(e,t,a,o,r,"assets"),[e,t,a,o,r]),c=y.useMemo(()=>
42{if(e===r.pathname+r.search+r.hash)return[];let g=new Set,w=!1;if(t.forEach(S=>{var h;let m=o.routes[S.route.id];!m||!m.hasLoader||(!l.some(v=>v.route.id===S.route.id)&&S.route.id in s&&((h=i[S.route.id])!=null&&h.shouldRevalidate)||m.hasClientLoader?w=!0:g.add(S.route.id))}),g.size===0)return[];let x=Vw(e);return w&&g.size>0&&x.searchParams.set("_routes",t.filter(S=>g.has(S.route.id)).map(S=>S.route.id).join(",")),[x.pathname+x.search]},[s,r,o,l,t,e,i]),d=y.useMemo(()=>Lw(u,o),[u,o]),f=$w(u);return y.createElement(y.Fragment,null,c.map(g=>y.createElement("link",{key:g,rel:"prefetch",as:"fetch",href:g,...n})),d.map(g=>y.createElement("link",{key:g,rel:"modulepreload",href:g,...n})),f.map(({key:g,link:w})=>y.createElement("link",{key:g,...w})))}function Hw(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var mg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{mg&&(window.__reactRouterVersion="7.1.1")}catch{}function Gw({basename:e,children:t,window:n}){let r=y.useRef();r.current==null&&(r.current=R1({window:n,v5Compat:!0}));let o=r.current,[i,s]=y.useState({action:o.action,location:o.location}),a=y.useCallback(l=>{y.startTransition(()=>s(l))},[s]);return y.useLayoutEffect(()=>o.listen(a),[o,a]),y.createElement(ww,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:o})}var gg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fc=y.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d,...f},g){let{basename:w}=y.useContext(Ct),x=typeof u=="string"&&gg.test(u),S,m=!1;if(typeof u=="string"&&x&&(S=u,mg))try{let I=new URL(window.location.href),N=u.startsWith("//")?new URL(I.protocol+u):new URL(u),W=dn(N.pathname,w);N.origin===I.origin&&W!=null?u=W+N.search+N.hash:m=!0}catch{St(!1,`<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let h=ow(u,{relative:o}),[v,C,T]=Bw(r,f),E=Kw(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:o,viewTransition:d});function b(I){t&&t(I),I.defaultPrevented||E(I)}let P=y.createElement("a",{...f,...T,href:S||h,onClick:m||i?t:b,ref:Hw(g,C),target:l,"data-discover":!x&&n==="render"?"true":void 0});return v&&!x?y.createElement(y.Fragment,null,P,y.createElement(Uw,{page:h})):P});fc.displayName="Link";var Yw=y.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:s,viewTransition:a,children:l,...u},c){let d=Yo(s,{relative:u.relative}),f=zn(),g=y.useContext(Bs),{navigator:w,basename:x}=y.useContext(Ct),S=g!=null&&tS(d)&&a===!0,m=w.encodeLocation?w.encodeLocation(d).pathname:d.pathname,h=f.pathname,v=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;n||(h=h.toLowerCase(),v=v?v.toLowerCase():null,m=m.toLowerCase()),v&&x&&(v=dn(v,x)||v);const C=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let T=h===m||!o&&h.startsWith(m)&&h.charAt(C)==="/",E=v!=null&&(v===m||!o&&v.startsWith(m)&&v.charAt(m.length)==="/"),b={isActive:T,isPending:E,isTransitioning:S},P=T?t:void 0,I;typeof r=="function"?I=r(b):I=[r,T?"active":null,E?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");let N=typeof i=="function"?i(b):i;return y.createElement(fc,{...u,"aria-current":P,className:I,ref:c,style:N,to:s,viewTransition:a},typeof l=="function"?l(b):l)});Yw.displayName="NavLink";var Zw=y.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:i,method:s=_i,action:a,onSubmit:l,relative:u,preventScrollReset:c,viewTransition:d,...f},g)=>{let w=Jw(),x=eS(a,{relative:u}),S=s.toLowerCase()==="get"?"get":"post",m=typeof a=="string"&&gg.test(a),h=v=>{if(l&&l(v),v.defaultPrevented)return;v.preventDefault();let C=v.nativeEvent.submitter,T=(C==null?void 0:C.getAttribute("formmethod"))||s;w(C||v.currentTarget,{fetcherKey:t,method:T,navigate:n,replace:o,state:i,relative:u,preventScrollReset:c,viewTransition:d})};return y.createElement("form",{ref:g,method:S,action:x,onSubmit:r?l:h,...f,"data-discover":!m&&e==="render"?"true":void 0})});Zw.displayName="Form";function Qw(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function yg(e){let t=y.useContext(Ir);return oe(t,Qw(e)),t}function Kw(e,{target:t,replace:n,state:r,preventScrollReset:o,relative:i,viewTransition:s}={}){let a=iw(),l=zn(),u=Yo(e,{relative:i});return y.useCallback(c=>{if(Pw(c,t)){c.preventDefault();let d=n!==void 0?n:Ro(l)===Ro(u);a(e,{replace:d,state:r,preventScrollReset:o,relative:i,viewTransition:s})}},[l,a,u,n,r,t,e,o,i,s])}var Xw=0,qw=()=>`__${String(++Xw)}__`;function Jw(){let{router:e}=yg("useSubmit"),{basename:t}=y.useContext(Ct),n=gw();return y.useCallback(async(r,o={})=>{let{action:i,method:s,encType:a,formData:l,body:u}=Nw(r,t);if(o.navigate===!1){let c=o.fetcherKey||qw();await e.fetch(c,n,o.action||i,{preventScrollReset:o.preventScrollReset,formData:l,body:u,formMethod:o.method||s,formEncType:o.encType||a,flushSync:o.flushSync})}else await e.navigate(o.action||i,{preventScrollReset:o.preventScrollReset,formData:l,body:u,formMethod:o.method||s,formEncType:o.encType||a,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,t,n])}function eS(e,{relative:t}={}){let{basename:n}=y.useContext(Ct),r=y.useContext($t);oe(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...Yo(e||".",{relative:t})},s=zn();if(e==null){i.search=s.search;let a=new URLSearchParams(i.search),l=a.getAll("index");if(l.some(c=>
42c==="")){a.delete("index"),l.filter(d=>d).forEach(d=>a.append("index",d));let c=a.toString();i.search=c?`?${c}`:""}}return(!e||e===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:Rt([n,i.pathname])),Ro(i)}function tS(e,t={}){let n=y.useContext(ug);oe(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=yg("useViewTransitionState"),o=Yo(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=dn(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=dn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return ps(o.pathname,s)!=null||ps(o.pathname,i)!=null}new TextEncoder;var vg={exports:{}},nS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",rS=nS,oS=rS;function xg(){}function wg(){}wg.resetWarningCache=xg;var iS=function(){function e(r,o,i,s,a,l){if(l!==oS){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:wg,resetWarningCache:xg};return n.PropTypes=n,n};vg.exports=iS();var sS=vg.exports;const q=Pr(sS);function aS(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Sg=y,lS=aS(Sg);function vf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uS(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var cS=!!(typeof window<"u"&&window.document&&window.document.createElement);function dS(e,t,n){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&typeof n!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function r(o){return o.displayName||o.name||"Component"}return function(i){if(typeof i!="function")throw new Error("Expected WrappedComponent to be a React component.");var s=[],a;function l(){a=e(s.map(function(c){return c.props})),u.canUseDOM?t(a):n&&(a=n(a))}var u=function(c){uS(d,c);function d(){return c.apply(this,arguments)||this}d.peek=function(){return a},d.rewind=function(){if(d.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var w=a;return a=void 0,s=[],w};var f=d.prototype;return f.UNSAFE_componentWillMount=function(){s.push(this),l()},f.componentDidUpdate=function(){l()},f.componentWillUnmount=function(){var w=s.indexOf(this);s.splice(w,1),l()},f.render=function(){return lS.createElement(i,this.props)},d}(Sg.PureComponent);return vf(u,"displayName","SideEffect("+r(i)+")"),vf(u,"canUseDOM",cS),u}}var fS=dS;const pS=Pr(fS);var hS=typeof Element<"u",mS=typeof Map=="function",gS=typeof Set=="function",yS=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Fi(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Fi(e[r],t[r]))return!1;return!0}var i;if(mS&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Fi(r.value[1],t.get(r.value[0])))return!1;return!0}if(gS&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(yS&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(hS&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Fi(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var vS=function(t,n){try{return Fi(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const xS=Pr(vS);/*
43object-assign
44(c) Sindre Sorhus
45@license MIT
46*/var xf=Object.getOwnPropertySymbols,wS=Object.prototype.hasOwnProperty,SS=Object.prototype.propertyIsEnumerable;function CS(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function TS(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var bS=TS()?Object.assign:function(e,t){for(var n,r=CS(e),o,i=1;i<arguments.length;i++){n=Object(arguments[i]);for(var s in n)wS.call(n,s)&&(r[s]=n[s]);if(xf){o=xf(n);for(var a=0;a<o.length;a++)SS.call(n,o[a])&&(r[o[a]]=n[o[a]])}}return r};const ES=Pr(bS);var jn={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},_={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(_).map(function(e){return _[e]});var J={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},hs={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Mo={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},PS=Object.keys(hs).reduce(function(e,t){return e[hs[t]]=t,e},{}),kS=[_.NOSCRIPT,_.SCRIPT,_.STYLE],ut="data-react-helmet",AS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NS=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},jS=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),De=Object.assign||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},IS=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},wf=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},RS=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Fl=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},MS=function(t){var n=hr(t,_.TITLE),r=hr(t,Mo.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=hr(t,Mo.DEFAULT_TITLE);return n||o||void 0},LS=function(t){return hr(t,Mo.ON_CHANGE_CLIENT_STATE)||function(){}},Pa=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return De({},r,o)},{})},DS=function(t,n){return n.filter(function(r){return typeof r[_.BASE]<"u"}).map(function(r){return r[_.BASE]}).reverse().reduce(function(r,o){if(!r.length)for(var i=Object.keys(o),s=0;s<i.length;s++){var a=i[s],l=a.toLowerCase();if(t.indexOf(l)!==-1&&o[l])return r.concat(o)}return r},[])},$r=function(t,n,r){var o={};return r.filter(function(i){return Array.isArray(i[t])?!0:(typeof i[t]<"u"&&FS("Helmet: "+t+' should be of type "Array". Instead found type "'+AS(i[t])+'"'),!1)}).map(function(i){return i[t]}).reverse().reduce(function(i,s){var a={};s.filter(function(f){for(var g=void 0,w=Object.keys(f),x=0;x<w.length;x++){var S=w[x],m=S.toLowerCase();n.indexOf(m)!==-1&&!(g===J.REL&&f[g].toLowerCase()==="canonical")&&!(m===J.REL&&f[m].toLowerCase()==="stylesheet")&&(g=m),n.indexOf(S)!==-1&&(S===J.INNER_HTML||S===J.CSS_TEXT||S===J.ITEM_PROP)&&(g=S)}if(!g||!f[g])return!1;var h=f[g].toLowerCase();return o[g]||(o[g]={}),a[g]||(a[g]={}),o[g][h]?!1:(a[g][h]=!0,!0)}
46).reverse().forEach(function(f){return i.push(f)});for(var l=Object.keys(a),u=0;u<l.length;u++){var c=l[u],d=ES({},o[c],a[c]);o[c]=d}return i},[]).reverse()},hr=function(t,n){for(var r=t.length-1;r>=0;r--){var o=t[r];if(o.hasOwnProperty(n))return o[n]}return null},OS=function(t){return{baseTag:DS([J.HREF,J.TARGET],t),bodyAttributes:Pa(jn.BODY,t),defer:hr(t,Mo.DEFER),encode:hr(t,Mo.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Pa(jn.HTML,t),linkTags:$r(_.LINK,[J.REL,J.HREF],t),metaTags:$r(_.META,[J.NAME,J.CHARSET,J.HTTPEQUIV,J.PROPERTY,J.ITEM_PROP],t),noscriptTags:$r(_.NOSCRIPT,[J.INNER_HTML],t),onChangeClientState:LS(t),scriptTags:$r(_.SCRIPT,[J.SRC,J.INNER_HTML],t),styleTags:$r(_.STYLE,[J.CSS_TEXT],t),title:MS(t),titleAttributes:Pa(jn.TITLE,t)}},zl=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){zl(t)},0)}}(),Sf=function(t){return clearTimeout(t)},_S=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||zl:global.requestAnimationFrame||zl,VS=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Sf:global.cancelAnimationFrame||Sf,FS=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},Wr=null,zS=function(t){Wr&&VS(Wr),t.defer?Wr=_S(function(){Cf(t,function(){Wr=null})}):(Cf(t),Wr=null)},Cf=function(t,n){var r=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,s=t.linkTags,a=t.metaTags,l=t.noscriptTags,u=t.onChangeClientState,c=t.scriptTags,d=t.styleTags,f=t.title,g=t.titleAttributes;Bl(_.BODY,o),Bl(_.HTML,i),BS(f,g);var w={baseTag:Wn(_.BASE,r),linkTags:Wn(_.LINK,s),metaTags:Wn(_.META,a),noscriptTags:Wn(_.NOSCRIPT,l),scriptTags:Wn(_.SCRIPT,c),styleTags:Wn(_.STYLE,d)},x={},S={};
46Object.keys(w).forEach(function(m){var h=w[m],v=h.newTags,C=h.oldTags;v.length&&(x[m]=v),C.length&&(S[m]=w[m].oldTags)}),n&&n(),u(t,x,S)},Cg=function(t){return Array.isArray(t)?t.join(""):t},BS=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=Cg(t)),Bl(_.TITLE,n)},Bl=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var o=r.getAttribute(ut),i=o?o.split(","):[],s=[].concat(i),a=Object.keys(n),l=0;l<a.length;l++){var u=a[l],c=n[u]||"";r.getAttribute(u)!==c&&r.setAttribute(u,c),i.indexOf(u)===-1&&i.push(u);var d=s.indexOf(u);d!==-1&&s.splice(d,1)}for(var f=s.length-1;f>=0;f--)r.removeAttribute(s[f]);i.length===s.length?r.removeAttribute(ut):r.getAttribute(ut)!==a.join(",")&&r.setAttribute(ut,a.join(","))}},Wn=function(t,n){var r=document.head||document.querySelector(_.HEAD),o=r.querySelectorAll(t+"["+ut+"]"),i=Array.prototype.slice.call(o),s=[],a=void 0;return n&&n.length&&n.forEach(function(l){var u=document.createElement(t);for(var c in l)if(l.hasOwnProperty(c))if(c===J.INNER_HTML)u.innerHTML=l.innerHTML;else if(c===J.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=l.cssText:u.appendChild(document.createTextNode(l.cssText));else{var d=typeof l[c]>"u"?"":l[c];u.setAttribute(c,d)}u.setAttribute(ut,"true"),i.some(function(f,g){return a=g,u.isEqualNode(f)})?i.splice(a,1):s.push(u)}),i.forEach(function(l){return l.parentNode.removeChild(l)}),s.forEach(function(l){return r.appendChild(l)}),{oldTags:i,newTags:s}},Tg=function(t){return Object.keys(t).reduce(function(n,r){var o=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+o:o},"")},US=function(t,n,r,o){var i=Tg(r),s=Cg(n);return i?"<"+t+" "+ut+'="true" '+i+">"+Fl(s,o)+"</"+t+">":"<"+t+" "+ut+'="true">'+Fl(s,o)+"</"+t+">"},$S=function(t,n,r){return n.reduce(function(o,i){var s=Object.keys(i).filter(function(u){return!(u===J.INNER_HTML||u===J.CSS_TEXT)}).reduce(function(u,c){var d=typeof i[c]>"u"?c:c+'="'+Fl(i[c],r)+'"';return u?u+" "+d:d},""),a=i.innerHTML||i.cssText||"",l=kS.indexOf(t)===-1;return o+"<"+t+" "+ut+'="true" '+s+(l?"/>":">"+a+"</"+t+">")},"")},bg=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[hs[o]||o]=t[o],r},n)},WS=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[PS[o]||o]=t[o],r},n)},HS=function(t,n,r){var o,i=(o={key:n},o[ut]=!0,o),s=bg(r,i);return[pe.createElement(_.TITLE,s,n)]},GS=function(t,n){return n.map(function(r,o){var i,s=(i={key:o},i[ut]=!0,i);return Object.keys(r).forEach(function(a){var l=hs[a]||a;if(l===J.INNER_HTML||l===J.CSS_TEXT){var u=r.innerHTML||r.cssText;s.dangerouslySetInnerHTML={__html:u}}else s[l]=r[a]}),pe.createElement(t,s)})},Et=function(t,n,r){switch(t){case _.TITLE:return{toComponent:function(){return HS(t,n.title,n.titleAttributes)},toString:function(){return US(t,n.title,n.titleAttributes,r)}};case jn.BODY:case jn.HTML:return{toComponent:function(){return bg(n)},toString:function(){return Tg(n)}};default:return{toComponent:function(){return GS(t,n)},toString:function(){return $S(t,n,r)}}}},Eg=function(t){var n=t.baseTag,r=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,s=t.linkTags,a=t.metaTags,l=t.noscriptTags,u=t.scriptTags,c=t.styleTags,d=t.title,f=d===void 0?"":d,g=t.titleAttributes;return{base:Et(_.BASE,n,o),bodyAttributes:Et(jn.BODY,r,o),htmlAttributes:Et(jn.HTML,i,o),link:Et(_.LINK,s,o),meta:Et(_.META,a,o),noscript:Et(_.NOSCRIPT,l,o),script:Et(_.SCRIPT,u,o),style:Et(_.STYLE,c,o),title:Et(_.TITLE,{title:f,titleAttributes:g},o)}},YS=function(t){var n,r;return r=n=function(o){IS(i,o);function i(){return NS(this,i),RS(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(a){return!xS(this.props,a)},i.prototype.mapNestedChildrenToProps=function(a,l){if(!l)return null;switch(a.type){case _.SCRIPT:case _.NOSCRIPT:return{innerHTML:l};case _.STYLE:return{cssText:l}}throw new Error("<"+a.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},i.prototype.flattenArrayTypeChildren=function(a){var l,u=a.child,c=a.arrayTypeChildren,d=a.newChildProps,f=a.nestedChildren;return De({},c,(l={},l[u.type]=[].concat(c[u.type]||[],[De({},d,this.mapNestedChildrenToProps(u,f))]),l))},i.prototype.mapObjectTypeChildren=function(a){var l,u,c=a.child,d=a.newProps,f=a.newChildProps,g=a.nestedChildren;switch(c.type){case _.TITLE:return De({},d,(l={},l[c.type]=g,l.titleAttributes=De({},f),l));case _.BODY:return De({},d,{bodyAttributes:De({},f)});case _.HTML:return De({},d,{htmlAttributes:De({},f)})}return De({},d,(u={},u[c.type]=De({},f),u))},i.prototype.mapArrayTypeChildrenToProps=function(a,l){var u=De({},l);
46return Object.keys(a).forEach(function(c){var d;u=De({},u,(d={},d[c]=a[c],d))}),u},i.prototype.warnOnInvalidChildren=function(a,l){return!0},i.prototype.mapChildrenToProps=function(a,l){var u=this,c={};return pe.Children.forEach(a,function(d){if(!(!d||!d.props)){var f=d.props,g=f.children,w=wf(f,["children"]),x=WS(w);switch(u.warnOnInvalidChildren(d,g),d.type){case _.LINK:case _.META:case _.NOSCRIPT:case _.SCRIPT:case _.STYLE:c=u.flattenArrayTypeChildren({child:d,arrayTypeChildren:c,newChildProps:x,nestedChildren:g});break;default:l=u.mapObjectTypeChildren({child:d,newProps:l,newChildProps:x,nestedChildren:g});break}}}),l=this.mapArrayTypeChildrenToProps(c,l),l},i.prototype.render=function(){var a=this.props,l=a.children,u=wf(a,["children"]),c=De({},u);return l&&(c=this.mapChildrenToProps(l,c)),pe.createElement(t,c)},jS(i,null,[{key:"canUseDOM",set:function(a){t.canUseDOM=a}}]),i}(pe.Component),n.propTypes={base:q.object,bodyAttributes:q.object,children:q.oneOfType([q.arrayOf(q.node),q.node]),defaultTitle:q.string,defer:q.bool,encodeSpecialCharacters:q.bool,htmlAttributes:q.object,link:q.arrayOf(q.object),meta:q.arrayOf(q.object),noscript:q.arrayOf(q.object),onChangeClientState:q.func,script:q.arrayOf(q.object),style:q.arrayOf(q.object),title:q.string,titleAttributes:q.object,titleTemplate:q.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var o=t.rewind();return o||(o=Eg({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},ZS=function(){return null},QS=pS(OS,zS,Eg)(ZS),Ul=YS(QS);Ul.renderStatic=Ul.rewind;const Pg=y.createContext(),KS=()=>{const e=y.useContext(Pg);if(!e)throw new Error("useEditableContent must be used within an EditableContentProvider");return e},XS={immersions:{date1:"Encontro 1",date2:"Encontro 2",date3:"Encontro 3",date4:"Encontro 4"},professor:{name:"Prof. Melimár Marqúêsi",title:"Especialista em Inteligência Artificial",achievements:["Doutor em Ciência da Computação com mais de 15 anos de experiência em IA e Machine Learning","Autor de diversos artigos científicos e palestrante internacional em conferências de tecnologia","Consultor de empresas Fortune 500 em implementação de soluções de IA"],lattesUrl:"https://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K8159561Z3&tokenCaptchar=0cAFcWeA5Jq0Y9hHY2xmOA6m2NzjsdwYK1ehgZn07bVKMMIAouxaxSebXhpev4YLBCR-y-KZ4vUms0MxoCLwdRcUO71APs-YmRz-sNEWvX1qgQE9O6rfT1PvY3juxQNKKgjtGCr2S343I9G1hhJW8fv2JG98_G83DYCWPcTaynBe2mCWZeu25DmVoYIrnN8ztGFPx8tBiGOdZ5iec6FbkpFSjHvEN_IYyUHN8SFNB0Ap71X3x-zOTw75OYBrixu7uM3bLPz4DMEpcz-hygLZ8M_CkjUiQ2o6SPIL5RCJT8KE1PVguPfZiZ5bsYBxEl80K007AnoZp3Xm-75tbHr9DyQXUVXrVulgpHPHlxamnNmKzbSKshxdFoUncP5tiVGpcvkq23pTpw9j7I78u-RIX0ZstR_79S8IADOoaUecahF9RGw6b9lyXEN00tCvp8nVepI8PAjZAV3JVyGAzFdU3caEC5yvQIE8z4_-nJRqAs-wD421B626ID5NbxEOOzhan0CYaChyc6YdhV5cIU_nqTbTqRUFgs1dGfRPVZnpYMfqnOd6-RtREnnGg8VwNXwuW_1UpFC4ICRvi6yFsP00R1WUqVkWIeIFRYbsBBJ8yOA-Vtuk_80AxGymJuaGINjm19pkhN7zmMgFVQEXWrgW5MOarwM-1RHfABsX4hGrIGKB1WSE12wufFTl2d9NPRno-W7eT0bsYuFMDsTmeQOydGgZxTABldmdPS0DU_5wtgAHeWGxZGtCRYw8-sTyoQXEPKDzPZUjD24Q_cOj2eVS9iTtQ5FKQvG3ligjOy2IYTqzr8BNVJ7hCrw5vGqQGZ21Cs2hJs7Zl4sX3Nv1NsxZMUq5kVv2r6ucl1sqPCX9PtzEz5GOX6v-MQwYNggR_EVvAiDfn0wP2_uWgwU6bM7vtg8QZxO3OFQNTw5Iog2jrocyZ4jNafb_DXtTU"}},qS=({children:e})=>{const[t,n]=y.useState(XS),[r,o]=y.useState(!1);y.useEffect(()=>{const a=localStorage.getItem("siteContent");if(a)try{const l=JSON.parse(a);n(u=>({...u,...l,immersions:{...u.immersions,...l.immersions},professor:{...u.professor,...l.professor}}))}catch(l){console.error("Failed to parse stored content",l)}},[]);const i=a=>{n(a),localStorage.setItem("siteContent",JSON.stringify(a))},s=()=>o(!r);return p.jsx(Pg.Provider,{value:{content:t,updateContent:i,isEditing:r,toggleEditing:s},children:e})};function JS(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}function $s(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const $l=e=>Array.isArray(e);function kg(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}function Lo(e){return typeof e=="string"||Array.isArray(e)}function Tf(e){const t=[{},{}];
vendor: 21,595 bytes, line 46
46return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function pc(e,t,n,r){if(typeof t=="function"){const[o,i]=Tf(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=Tf(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function Ws(e,t,n){const r=e.getProps();return pc(r,t,n!==void 0?n:r.custom,e)}const hc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mc=["initial",...hc],Zo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Bn=new Set(Zo),Mt=e=>e*1e3,Lt=e=>e/1e3,eC={type:"spring",stiffness:500,damping:25,restSpeed:10},tC=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),nC={type:"keyframes",duration:.8},rC={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},oC=(e,{keyframes:t})=>t.length>2?nC:Bn.has(e)?e.startsWith("scale")?tC(t[1]):eC:rC;function gc(e,t){return e?e[t]||e.default||e:void 0}const iC={skipAnimations:!1,useManualTiming:!1},sC=e=>e!==null;function Hs(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(sC),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}const He=e=>e;let Ag=He;function aC(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(u){i.has(u)&&(l.schedule(u),e()),u(s)}const l={schedule:(u,c=!1,d=!1)=>{const g=d&&r?t:n;return c&&i.add(u),g.has(u)||g.add(u),u},cancel:u=>{n.delete(u),i.delete(u)},process:u=>{if(s=u,r){o=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,o&&(o=!1,l.process(u))}};return l}const xi=["read","resolveKeyframes","update","preRender","render","postRender"],lC=40;function Ng(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=xi.reduce((m,h)=>(m[h]=aC(i),m),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=s,g=()=>{const m=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(m-o.timestamp,lC),1),o.timestamp=m,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(g))},w=()=>{n=!0,r=!0,o.isProcessing||e(g)};return{schedule:xi.reduce((m,h)=>{const v=s[h];return m[h]=(C,T=!1,E=!1)=>(n||w(),v.schedule(C,T,E)),m},{}),cancel:m=>{for(let h=0;h<xi.length;h++)s[xi[h]].cancel(m)},state:o,steps:s}}const{schedule:X,cancel:fn,state:we,steps:ka}=Ng(typeof requestAnimationFrame<"u"?requestAnimationFrame:He,!0),jg=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,uC=1e-7,cC=12;function dC(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=jg(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>uC&&++a<cC);return s}function Qo(e,t,n,r){if(e===t&&n===r)return He;const o=i=>dC(i,0,1,e,n);return i=>i===0||i===1?i:jg(o(i),t,r)}const Ig=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Rg=e=>t=>1-e(1-t),Mg=Qo(.33,1.53,.69,.99),yc=Rg(Mg),Lg=Ig(yc),Dg=e=>(e*=2)<1?.5*yc(e):.5*(2-Math.pow(2,-10*(e-1))),vc=e=>1-Math.sin(Math.acos(e)),Og=Rg(vc),_g=Ig(vc),Vg=e=>/^0[^.\s]+$/u.test(e);function fC(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Vg(e):!0}const Fg=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),zg=e=>t=>typeof t=="string"&&t.startsWith(e),Bg=zg("--"),pC=zg("var(--"),xc=e=>pC(e)?hC.test(e.split("/*")[0].trim()):!1,hC=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,mC=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gC(e){const t=mC.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function Ug(e,t,n=1){const[r,o]=gC(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return Fg(s)?parseFloat(s):s}return xc(o)?Ug(o,t,n+1):o}const Ft=(e,t,n)=>n>t?t:n<e?e:n,Rr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Do={...Rr,transform:e=>Ft(0,1,e)},wi={...Rr,default:1},Ko=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Yt=Ko("deg"),xt=Ko("%"),M=Ko("px"),yC=Ko("vh"),vC=Ko("vw"),bf={...xt,parse:e=>xt.parse(e)/100,transform:e=>xt.transform(e*100)},xC=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ef=e=>e===Rr||e===M,Pf=(e,t)=>parseFloat(e.split(", ")[t]),kf=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return Pf(o[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?Pf(i[1],e):0}},wC=new Set(["x","y","z"]),SC=Zo.filter(e=>!wC.has(e));function CC(e){const t=[];return SC.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Tr={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:kf(4,13),y:kf(5,14)};Tr.translateX=Tr.x;Tr.translateY=Tr.y;const $g=e=>t=>t.test(e),TC={test:e=>e==="auto",parse:e=>e},Wg=[Rr,M,xt,Yt,vC,yC,TC],Af=e=>Wg.find($g(e)),In=new Set;let Wl=!1,Hl=!1;function Hg(){if(Hl){const e=Array.from(In).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=CC(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,s])=>{var a;(a=r.getValue(i))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Hl=!1,Wl=!1,In.forEach(e=>e.complete()),In.clear()}function Gg(){In.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Hl=!0)})}function bC(){Gg(),Hg()}class wc{constructor(t,n,r,o,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(In.add(this),Wl||(Wl=!0,X.read(Gg),X.resolveKeyframes(Hg))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let i=0;i<t.length;i++)if(t[i]===null)if(i===0){const s=o==null?void 0:o.get(),a=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),o&&s===void 0&&o.set(t[0])}else t[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),In.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,In.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const co=e=>Math.round(e*1e5)/1e5,Sc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function EC(e){return e==null}const PC=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Cc=(e,t)=>n=>!!(typeof n=="string"&&PC.test(n)&&n.startsWith(e)||t&&!EC(n)&&Object.prototype.hasOwnProperty.call(n,t)),Yg=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(Sc);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},kC=e=>Ft(0,255,e),Aa={...Rr,transform:e=>Math.round(kC(e))},kn={test:Cc("rgb","red"),parse:Yg("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Aa.transform(e)+", "+Aa.transform(t)+", "+Aa.transform(n)+", "+co(Do.transform(r))+")"};function AC(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Gl={test:Cc("#"),parse:AC,transform:kn.transform},rr={test:Cc("hsl","hue"),parse:Yg("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+xt.transform(co(t))+", "+xt.transform(co(n))+", "+co(Do.transform(r))+")"},Ee={test:e=>kn.test(e)||Gl.test(e)||rr.test(e),parse:e=>kn.test(e)?kn.parse(e):rr.test(e)?rr.parse(e):Gl.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?kn.transform(e):rr.transform(e)},NC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function jC(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Sc))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(NC))===null||n===void 0?void 0:n.length)||0)>0}const Zg="number",Qg="color",IC="var",RC="var(",Nf="${}",MC=/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 Oo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(MC,l=>(Ee.test(l)?(r.color.push(i),o.push(Qg),n.push(Ee.parse(l))):l.startsWith(RC)?(r.var.push(i),o.push(IC),n.push(l)):(r.number.push(i),o.push(Zg),n.push(parseFloat(l))),++i,Nf)).split(Nf);return{values:n,split:a,indexes:r,types:o}}function Kg(e){return Oo(e).values}function Xg(e){const{split:t,types:n}=Oo(e),r=t.length;return o=>{let i="";for(let s=0;s<r;s++)if(i+=t[s],o[s]!==void 0){const a=n[s];a===Zg?i+=co(o[s]):a===Qg?i+=Ee.transform(o[s]):i+=o[s]}return i}}const LC=e=>typeof e=="number"?0:e;function DC(e){const t=Kg(e);return Xg(e)(t.map(LC))}const pn={test:jC,parse:Kg,createTransformer:Xg,getAnimatableNone:DC},OC=new Set(["brightness","contrast","saturate","opacity"]);function _C(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Sc)||[];if(!r)return e;const o=n.replace(r,"");let i=OC.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const VC=/\b([a-z-]*)\(.*?\)/gu,Yl={...pn,getAnimatableNone:e=>{const t=e.match(VC);return t?t.map(_C).join(" "):e}},FC={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,radius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,top:M,right:M,bottom:M,left:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,backgroundPositionX:M,backgroundPositionY:M},zC={rotate:Yt,rotateX:Yt,rotateY:Yt,rotateZ:Yt,scale:wi,scaleX:wi,scaleY:wi,scaleZ:wi,skew:Yt,skewX:Yt,skewY:Yt,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:Do,originX:bf,originY:bf,originZ:M},jf={...Rr,transform:Math.round},Tc={...FC,...zC,zIndex:jf,size:M,fillOpacity:Do,strokeOpacity:Do,numOctaves:jf},BC={...Tc,color:Ee,backgroundColor:Ee,outlineColor:Ee,fill:Ee,stroke:Ee,borderColor:Ee,borderTopColor:Ee,borderRightColor:Ee,borderBottomColor:Ee,borderLeftColor:Ee,filter:Yl,WebkitFilter:Yl},bc=e=>BC[e];function qg(e,t){let n=bc(e);return n!==Yl&&(n=pn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const UC=new Set(["auto","none","0"]);function $C(e,t,n){let r=0,o;for(;r<e.length&&!o;){const i=e[r];typeof i=="string"&&!UC.has(i)&&Oo(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=qg(n,o)}class Jg extends wc{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),xc(u))){const c=Ug(u,n.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!xC.has(r)||t.length!==2)return;const[o,i]=t,s=Af(o),a=Af(i);if(s!==a)if(Ef(s)&&Ef(a))for(let l=0;l<t.length;l++){const u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)fC(t[o])&&r.push(o);r.length&&$C(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=Tr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const i=n.getValue(r);i&&i.jump(this.measuredOrigin,!1);const s=o.length-1,a=o[s];o[s]=Tr[r](n.measureViewportBox(),window.getComputedStyle(n.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,u])=>{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function Ec(e){return typeof e=="function"}let zi;function WC(){zi=void 0}const wt={now:()=>(zi===void 0&&wt.set(we.isProcessing||iC.useManualTiming?we.timestamp:performance.now()),zi),set:e=>{zi=e,queueMicrotask(WC)}},If=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(pn.test(e)||e==="0")&&!e.startsWith("url("));function HC(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 GC(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],s=If(o,t),a=If(i,t);return!s||!a?!1:HC(e)||(n==="spring"||Ec(n))&&r}const YC=40;class e0{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=wt.now(),this.options={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>YC?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&bC(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=wt.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:i,delay:s,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!GC(t,r,o,i))if(s)this.options.duration=0;else{l==null||l(Hs(t,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const br=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},t0=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=e(br(0,o-1,i))+", ";return`linear(${r.substring(0,r.length-2)})`};function n0(e,t){return t?e*(1e3/t):0}const ZC=5;function r0(e,t,n){const r=Math.max(t-ZC,0);return n0(n-e(r),t-r)}const ae={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},Na=.001;function QC({duration:e=ae.duration,bounce:t=ae.bounce,velocity:n=ae.velocity,mass:r=ae.mass}){let o,i,s=1-t;s=Ft(ae.minDamping,ae.maxDamping,s),e=Ft(ae.minDuration,ae.maxDuration,Lt(e)),s<1?(o=u=>{const c=u*s,d=c*e,f=c-n,g=Zl(u,s),w=Math.exp(-d);return Na-f/g*w},i=u=>{const d=u*s*e,f=d*n+n,g=Math.pow(s,2)*Math.pow(u,2)*e,w=Math.exp(-d),x=Zl(Math.pow(u,2),s);return(-o(u)+Na>0?-1:1)*((f-g)*w)/x}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Na+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=XC(o,i,a);if(e=Mt(e),isNaN(l))return{stiffness:ae.stiffness,damping:ae.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const KC=12;function XC(e,t,n){let r=n;for(let o=1;o<KC;o++)r=r-e(r)/t(r);return r}function Zl(e,t){return e*Math.sqrt(1-t*t)}const Ql=2e4;function o0(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Ql;)t+=n,r=e.next(t);return t>=Ql?1/0:t}const qC=["duration","bounce"],JC=["stiffness","damping","mass"];function Rf(e,t){return t.some(n=>e[n]!==void 0)}function eT(e){let t={velocity:ae.velocity,stiffness:ae.stiffness,damping:ae.damping,mass:ae.mass,isResolvedFromDuration:!1,...e};if(!Rf(e,JC)&&Rf(e,qC))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*Ft(.05,1,1-e.bounce)*Math.sqrt(o);t={...t,mass:ae.mass,stiffness:o,damping:i}}else{const n=QC(e);t={...t,...n,mass:ae.mass},t.isResolvedFromDuration=!0}return t}function i0(e=ae.visualDuration,t=ae.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:g}=eT({...n,velocity:-Lt(n.velocity||0)}),w=f||0,x=u/(2*Math.sqrt(l*c)),S=s-i,m=Lt(Math.sqrt(l/c)),h=Math.abs(S)<5;r||(r=h?ae.restSpeed.granular:ae.restSpeed.default),o||(o=h?ae.restDelta.granular:ae.restDelta.default);let v;if(x<1){const T=Zl(m,x);v=E=>{const b=Math.exp(-x*m*E);return s-b*((w+x*m*S)/T*Math.sin(T*E)+S*Math.cos(T*E))}}else if(x===1)v=T=>s-Math.exp(-m*T)*(S+(w+m*S)*T);else{const T=m*Math.sqrt(x*x-1);v=E=>{const b=Math.exp(-x*m*E),P=Math.min(T*E,300);return s-b*((w+x*m*S)*Math.sinh(P)+T*S*Math.cosh(P))/T}}const C={calculatedDuration:g&&d||null,next:T=>{const E=v(T);if(g)a.done=T>=d;else{let b=0;x<1&&(b=T===0?Mt(w):r0(v,T,E));const P=Math.abs(b)<=r,I=Math.abs(s-E)<=o;a.done=P&&I}return a.value=a.done?s:E,a},toString:()=>{const T=Math.min(o0(C),Ql),E=t0(b=>C.next(T*b).value,T,30);return T+"ms "+E}};return C}function Mf({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},g=P=>a!==void 0&&P<a||l!==void 0&&P>l,w=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let x=n*t;const S=d+x,m=s===void 0?S:s(S);m!==S&&(x=m-d);const h=P=>-x*Math.exp(-P/r),v=P=>m+h(P),C=P=>{const I=h(P),N=v(P);f.done=Math.abs(I)<=u,f.value=f.done?m:N};let T,E;const b=P=>{g(f.value)&&(T=P,E=i0({keyframes:[f.value,w(f.value)],velocity:r0(v,P,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return b(0),{calculatedDuration:null,next:P=>{let I=!1;return!E&&T===void 0&&(I=!0,C(P),b(P)),T!==void 0&&P>=T?E.next(P-T):(!I&&C(P),f)}}}const tT=Qo(.42,0,1,1),nT=Qo(0,0,.58,1),s0=Qo(.42,0,.58,1),rT=e=>Array.isArray(e)&&typeof e[0]!="number",Pc=e=>Array.isArray(e)&&typeof e[0]=="number",oT={linear:He,easeIn:tT,easeInOut:s0,easeOut:nT,circIn:vc,circInOut:_g,circOut:Og,backIn:yc,backInOut:Lg,backOut:Mg,anticipate:Dg},Lf=e=>{if(Pc(e)){Ag(e.length===4);const[t,n,r,o]=e;return Qo(t,n,r,o)}else if(typeof e=="string")return oT[e];return e},iT=(e,t)=>n=>t(e(n)),Xo=(...e)=>e.reduce(iT),ne=(e,t,n)=>e+(t-e)*n;function ja(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 sT({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=ja(l,a,e+1/3),i=ja(l,a,e),s=ja(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function ms(e,t){return n=>n>0?t:e}const Ia=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},aT=[Gl,kn,rr],lT=e=>aT.find(t=>t.test(e));function Df(e){const t=lT(e);if(!t)return!1;let n=t.parse(e);return t===rr&&(n=sT(n)),n}const Of=(e,t)=>{const n=Df(e),r=Df(t);if(!n||!r)return ms(e,t);const o={...n};return i=>(o.red=Ia(n.red,r.red,i),o.green=Ia(n.green,r.green,i),o.blue=Ia(n.blue,r.blue,i),o.alpha=ne(n.alpha,r.alpha,i),kn.transform(o))},Kl=new Set(["none","hidden"]);function uT(e,t){return Kl.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function cT(e,t){return n=>ne(e,t,n)}function kc(e){return typeof e=="number"?cT:typeof e=="string"?xc(e)?ms:Ee.test(e)?Of:pT:Array.isArray(e)?a0:typeof e=="object"?Ee.test(e)?Of:dT:ms}function a0(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>kc(i)(i,t[s]));return i=>{for(let s=0;s<r;s++)n[s]=o[s](i);return n}}function dT(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=kc(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}function fT(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],a=e.indexes[s][o[s]],l=(n=e.values[a])!==null&&n!==void 0?n:0;r[i]=l,o[s]++}return r}const pT=(e,t)=>{const n=pn.createTransformer(t),r=Oo(e),o=Oo(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Kl.has(e)&&!o.values.length||Kl.has(t)&&!r.values.length?uT(e,t):Xo(a0(fT(r,o),o.values),n):ms(e,t)};function l0(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ne(e,t,n):kc(e)(e,t)}function hT(e,t,n){const r=[],o=n||l0,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||He:t;a=Xo(l,a)}r.push(a)}return r}function mT(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Ag(i===t.length),i===1)return()=>t[0];if(i===2&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=hT(t,r,o),a=s.length,l=u=>{let c=0;if(a>1)for(;
vendor: 4,408 bytes, line 46
46c<e.length-2&&!(u<e[c+1]);c++);const d=br(e[c],e[c+1],u);return s[c](d)};return n?u=>l(Ft(e[0],e[i-1],u)):l}function gT(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=br(0,t,r);e.push(ne(n,1,o))}}function yT(e){const t=[0];return gT(t,e.length-1),t}function vT(e,t){return e.map(n=>n*t)}function xT(e,t){return e.map(()=>t||s0).splice(0,e.length-1)}function gs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=rT(r)?r.map(Lf):Lf(r),i={done:!1,value:t[0]},s=vT(n&&n.length===t.length?n:yT(t),e),a=mT(s,t,{ease:Array.isArray(o)?o:xT(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const wT=e=>{const t=({timestamp:n})=>e(n);return{start:()=>X.update(t,!0),stop:()=>fn(t),now:()=>we.isProcessing?we.timestamp:wt.now()}},ST={decay:Mf,inertia:Mf,tween:gs,keyframes:gs,spring:i0},CT=e=>e/100;class Ac extends e0{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:o,keyframes:i}=this.options,s=(o==null?void 0:o.KeyframeResolver)||wc,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new s(i,a,n,r,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,a=Ec(n)?n:ST[n]||gs;let l,u;a!==gs&&typeof t[0]!="number"&&(l=Xo(CT,l0(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});i==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=o0(c));const{calculatedDuration:d}=c,f=d+o,g=f*(r+1)-o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:g}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:o,generator:i,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return i.next(0);const{delay:f,repeat:g,repeatType:w,repeatDelay:x,onUpdate:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const m=this.currentTime-f*(this.speed>=0?1:-1),h=this.speed>=0?m<0:m>c;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,C=i;if(g){const P=Math.min(this.currentTime,c)/d;let I=Math.floor(P),N=P%1;!N&&P>=1&&(N=1),N===1&&I--,I=Math.min(I,g+1),!!(I%2)&&(w==="reverse"?(N=1-N,x&&(N-=x/d)):w==="mirror"&&(C=s)),v=Ft(0,1,N)*d}const T=h?{done:!1,value:l[0]}:C.next(v);a&&(T.value=a(T.value));let{done:E}=T;!h&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const b=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return b&&o!==void 0&&(T.value=Hs(l,this.options,o)),S&&S(T.value),b&&this.finish(),T}get duration(){const{resolved:t}=this;return t?Lt(t.calculatedDuration):0}get time(){return Lt(this.currentTime)}set time(t){t=Mt(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Lt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=wT,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedProm
vendor: 100,015 bytes, lines 46-225
46ise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const TT=new Set(["opacity","clipPath","filter","transform"]);function Nc(e){let t;return()=>(t===void 0&&(t=e()),t)}const bT={linearEasing:void 0};function ET(e,t){const n=Nc(e);return()=>{var r;return(r=bT[t])!==null&&r!==void 0?r:n()}}const ys=ET(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function u0(e){return!!(typeof e=="function"&&ys()||!e||typeof e=="string"&&(e in Xl||ys())||Pc(e)||Array.isArray(e)&&e.every(u0))}const qr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Xl={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:qr([0,.65,.55,1]),circOut:qr([.55,0,1,.45]),backIn:qr([.31,.01,.66,-.59]),backOut:qr([.33,1.53,.69,.99])};function c0(e,t){if(e)return typeof e=="function"&&ys()?t0(e,t):Pc(e)?qr(e):Array.isArray(e)?e.map(n=>c0(n,t)||Xl.easeOut):Xl[e]}function PT(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=c0(a,o);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"})}function _f(e,t){e.timeline=t,e.onfinish=null}const kT=Nc(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),vs=10,AT=2e4;function NT(e){return Ec(e.type)||e.type==="spring"||!u0(e.ease)}function jT(e,t){const n=new Ac({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<AT;)r=n.sample(i),o.push(r.value),i+=vs;return{times:void 0,keyframes:o,duration:i-vs,ease:"linear"}}const d0={anticipate:Dg,backInOut:Lg,circInOut:_g};function IT(e){return e in d0}class Vf extends e0{constructor(t){super(t);const{name:n,motionValue:r,element:o,keyframes:i}=this.options;this.resolver=new Jg(i,(s,a)=>this.onKeyframesResolved(s,a),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:o=300,times:i,ease:s,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(typeof s=="string"&&ys()&&IT(s)&&(s=d0[s]),NT(this.options)){const{onComplete:f,onUpdate:g,motionValue:w,element:x,...S}=this.options,m=jT(t,S);t=m.keyframes,t.length===1&&(t[1]=t[0]),o=m.duration,i=m.times,s=m.ease,a="keyframes"}const d=PT(l.owner.current,u,t,{...this.options,duration:o,times:i,ease:s});return d.startTime=c??this.calcStartTime(),this.pendingTimeline?(_f(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:f}=this.options;l.set(Hs(t,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:o,times:i,type:a,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Lt(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Lt(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Mt(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return He;const{animation:r}=n;_f(r,t)}return He}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:o,type:i,ease:s,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:d,element:f,...g}=this.options,w=new Ac({...g,keyframes:r,duration:o,type:i,ease:s,times:a,isGenerator:!0}),x=Mt(this.time);u.setWithVelocity(w.sample(x-vs).value,w.sample(x).value,vs)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:i,damping:s,type:a}=t;return kT()&&r&&TT.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!o&&i!=="mirror"&&s!==0&&a!=="inertia"}}const RT=Nc(()=>window.ScrollTimeline!==void 0);class MT{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(o=>RT()&&o.attachTimeline?o.attachTimeline(t):n(o));return()=>{r.forEach((o,i)=>{o&&o(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function LT({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const jc=(e,t,n,r={},o,i)=>s=>{const a=gc(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Mt(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};LT(a)||(c={...c,...oC(e,c)}),c.duration&&(c.duration=Mt(c.duration)),c.repeatDelay&&(c.repeatDelay=Mt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!i&&t.get()!==void 0){const f=Hs(c.keyframes,a);if(f!==void 0)return X.update(()=>{c.onUpdate(f),c.onComplete()}),new MT([])}return!i&&Vf.supports(c)?new Vf(c):new Ac(c)},DT=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),OT=e=>$l(e)?e[e.length-1]||0:e;function Ic(e,t){e.indexOf(t)===-1&&e.push(t)}function Rc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Mc{constructor(){this.subscriptions=[]}add(t){return Ic(this.subscriptions,t),()=>Rc(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){const s=this.subscriptions[i];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ff=30,_T=e=>!isNaN(parseFloat(e));class VT{constructor(t,n={}){this.version="11.15.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const i=wt.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=wt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=_T(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 Mc);const r=this.events[t].add(n);return t==="change"?()=>{r(),X.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,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}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()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=wt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ff)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ff);return n0(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(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function _o(e,t){return new VT(e,t)}function FT(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,_o(n))}function zT(e,t){const n=Ws(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=OT(i[s]);FT(e,s,a)}}const Lc=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),BT="framerAppearId",f0="data-"+Lc(BT);function p0(e){return e.props[f0]}const ke=e=>!!(e&&e.getVelocity);function UT(e){return!!(ke(e)&&e.add)}function ql(e,t){const n=e.getValue("willChange");if(UT(n))return n.add(t)}function $T({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function h0(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);const u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(const d in l){const f=e.getValue(d,(i=e.latestValues[d])!==null&&i!==void 0?i:null),g=l[d];if(g===void 0||c&&$T(c,d))continue;const w={delay:n,...gc(s||{},d)};let x=!1;if(window.MotionHandoffAnimation){const m=p0(e);if(m){const h=window.MotionHandoffAnimation(m,d,X);h!==null&&(w.startTime=h,x=!0)}}ql(e,d),f.start(jc(d,f,g,e.shouldReduceMotion&&Bn.has(d)?{type:!1}:w,e,x));const S=f.animation;S&&u.push(S)}return a&&Promise.all(u).then(()=>{X.update(()=>{a&&zT(e,a)})}),u}function Jl(e,t,n={}){var r;const o=Ws(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const s=o?()=>Promise.all(h0(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return WT(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,c]=l==="beforeChildren"?[s,a]:[a,s];return u().then(()=>c())}else return Promise.all([s(),a(n.delay)])}function WT(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=o===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(HT).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(Jl(u,t,{...i,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function HT(e,t){return e.sortNodePosition(t)}function GT(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>Jl(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=Jl(e,t,n);else{const o=typeof t=="function"?Ws(e,t,n.custom):t;r=Promise.all(h0(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const YT=mc.length;function m0(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?m0(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<YT;n++){const r=mc[n],o=e.props[r];(Lo(o)||o===!1)&&(t[r]=o)}return t}const ZT=[...hc].reverse(),QT=hc.length;function KT(e){return t=>Promise.all(t.map(({animation:n,options:r})=>GT(e,n,r)))}function XT(e){let t=KT(e),n=zf(),r=!0;const o=l=>(u,c)=>{var d;const f=Ws(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:g,transitionEnd:w,...x}=f;u={...u,...x,...w}}return u};function i(l){t=l(e)}function s(l){const{props:u}=e,c=m0(e.parent)||{},d=[],f=new Set;let g={},w=1/0;for(let S=0;S<QT;S++){const m=ZT[S],h=n[m],v=u[m]!==void 0?u[m]:c[m],C=Lo(v),T=m===l?h.isActive:null;T===!1&&(w=S);let E=v===c[m]&&v!==u[m]&&C;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),h.protectedKeys={...g},!h.isActive&&T===null||!v&&!h.prevProp||$s(v)||typeof v=="boolean")continue;const b=qT(h.prevProp,v);let P=b||m===l&&h.isActive&&!E&&C||S>w&&C,I=!1;const N=Array.isArray(v)?v:[v];let W=N.reduce(o(m),{});T===!1&&(W={});const{prevResolvedValues:V={}}=h,Ne={...V,...W},D=G=>{P=!0,f.has(G)&&(I=!0,f.delete(G)),h.needsAnimating[G]=!0;const A=e.getValue(G);A&&(A.liveStyle=!1)};for(const G in Ne){const A=W[G],R=V[G];if(g.hasOwnProperty(G))continue;let L=!1;$l(A)&&$l(R)?L=!kg(A,R):L=A!==R,L?A!=null?D(G):f.add(G):A!==void 0&&f.has(G)?D(G):h.protectedKeys[G]=!0}h.prevProp=v,h.prevResolvedValues=W,h.isActive&&(g={...g,...W}),r&&e.blockInitialAnimation&&(P=!1),P&&(!(E&&b)||I)&&d.push(...N.map(G=>({animation:G,options:{type:m}})))}if(f.size){const S={};f.forEach(m=>{const h=e.getBaseTarget(m),v=e.getValue(m);v&&(v.liveStyle=!0),S[m]=h??null}),d.push({animation:S})}let x=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var g;return(g=f.animationState)===null||g===void 0?void 0:g.setActive(l,u)}),n[l].isActive=u;const d=s(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=zf(),r=!0}}}function qT(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!kg(t,e):!1}function xn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function zf(){return{animate:xn(!0),whileInView:xn(),whileHover:xn(),whileTap:xn(),whileDrag:xn(),whileFocus:xn(),exit:xn()}}class yn{constructor(t){this.isMounted=!1,this.node=t}update(){}}class JT extends yn{constructor(t){super(t),t.animationState||(t.animationState=XT(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();$s(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===void 0||t.call(this)}}let eb=0;class tb extends yn{constructor(){super(...arguments),this.id=eb++}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 o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const nb={animation:{Feature:JT},exit:{Feature:tb}},it={x:!1,y:!1};function g0(){return it.x||it.y}function rb(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;t&&(o=t.current);const i=(r=n==null?void 0:n[e])!==null&&r!==void 0?r:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function y0(e,t){const n=rb(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function Bf(e){return t=>{t.pointerType==="touch"||g0()||e(t)}}function ob(e,t,n={}){const[r,o,i]=y0(e,n),s=Bf(a=>{const{target:l}=a,u=t(a);if(!u||!l)return;const c=Bf(d=>{u(d),l.removeEventListener("pointerleave",c)});l.addEventListener("pointerleave",c,o)});return r.forEach(a=>{a.addEventListener("pointerenter",s,o)}),i}const Dc=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Jr=new WeakSet;function Uf(e){return t=>{t.key==="Enter"&&e(t)}}function Ra(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const ib=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Uf(()=>{if(Jr.has(n))return;Ra(n,"down");const o=Uf(()=>{Ra(n,"up")}),i=()=>Ra(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)},sb=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ab(e){return sb.has(e.tagName)||e.tabIndex!==-1}const v0=(e,t)=>t?e===t?!0:v0(e,t.parentElement):!1;function $f(e){return Dc(e)&&!g0()}function lb(e,t,n={}){const[r,o,i]=y0(e,n),s=a=>{const l=a.currentTarget;if(!$f(a)||Jr.has(l))return;Jr.add(l);const u=t(a),c=(g,w)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!$f(g)||!Jr.has(l))&&(Jr.delete(l),u&&u(g,{success:w}))},d=g=>{c(g,n.useGlobalTarget||v0(l,g.target))},f=g=>{c(g,!1)};window.addEventListener("pointerup",d,o),window.addEventListener("pointercancel",f,o)};return r.forEach(a=>{ab(a)||(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,o),a.addEventListener("focus",u=>ib(u,o),o)}),i}function ub(e){return e==="x"||e==="y"?it[e]?null:(it[e]=!0,()=>{it[e]=!1}):it.x||it.y?null:(it.x=it.y=!0,()=>{it.x=it.y=!1})}function qo(e){return{point:{x:e.pageX,y:e.pageY}}}const cb=e=>t=>Dc(t)&&e(t,qo(t));function Vo(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function fo(e,t,n,r){return Vo(e,t,cb(n),r)}const Wf=(e,t)=>Math.abs(e-t);function db(e,t){const n=Wf(e.x,t.x),r=Wf(e.y,t.y);return Math.sqrt(n**2+r**2)}class x0{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=La(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=db(d.offset,{x:0,y:0})>=3;if(!f&&!g)return;const{point:w}=d,{timestamp:x}=we;this.history.push({...w,timestamp:x});const{onStart:S,onMove:m}=this.handlers;f||(S&&S(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Ma(f,this.transformPagePoint),X.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:g,onSessionEnd:w,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=La(d.type==="pointercancel"?this.lastMoveEventInfo:Ma(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(d,S),w&&w(d,S)},!Dc(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const s=qo(t),a=Ma(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=we;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,La(a,this.history)),this.removeListeners=Xo(fo(this.contextWindow,"pointermove",this.handlePointerMove),fo(this.contextWindow,"pointerup",this.handlePointerUp),fo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),fn(this.updatePoint)}}function Ma(e,t){return t?{point:t(e.point)}:e}function Hf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function La({point:e},t){return{point:e,delta:Hf(e,w0(t)),offset:Hf(e,fb(t)),velocity:pb(t,.1)}}function fb(e){return e[0]}function w0(e){return e[e.length-1]}function pb(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=w0(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Mt(t)));)n--;if(!r)return{x:0,y:0};const i=Lt(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function or(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const S0=1e-4,hb=1-S0,mb=1+S0,C0=.01,gb=0-C0,yb=0+C0;function Ye(e){return e.max-e.min}function vb(e,t,n){return Math.abs(e-t)<=n}function Gf(e,t,n,r=.5){e.origin=r,e.originPoint=ne(t.min,t.max,e.origin),e.scale=Ye(n)/Ye(t),e.translate=ne(n.min,n.max,e.origin)-e.originPoint,(e.scale>=hb&&e.scale<=mb||isNaN(e.scale))&&(e.scale=1),(e.translate>=gb&&e.translate<=yb||isNaN(e.translate))&&(e.translate=0)}function po(e,t,n,r){Gf(e.x,t.x,n.x,r?r.originX:void 0),Gf(e.y,t.y,n.y,r?r.originY:void 0)}function Yf(e,t,n){e.min=n.min+t.min,e.max=e.min+Ye(t)}function xb(e,t,n){Yf(e.x,t.x,n.x),Yf(e.y,t.y,n.y)}function Zf(e,t,n){e.min=t.min-n.min,e.max=e.min+Ye(t)}function ho(e,t,n){Zf(e.x,t.x,n.x),Zf(e.y,t.y,n.y)}function wb(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ne(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ne(n,e,r.max):Math.min(e,n)),e}function Qf(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 Sb(e,{top:t,left:n,bottom:r,right:o}){return{x:Qf(e.x,n,o),y:Qf(e.y,t,r)}}function Kf(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 Cb(e,t){return{x:Kf(e.x,t.x),y:Kf(e.y,t.y)}}function Tb(e,t){let n=.5;const r=Ye(e),o=Ye(t);return o>r?n=br(t.min,t.max-r,e.min):r>o&&(n=br(e.min,e.max-o,t.min)),Ft(0,1,n)}function bb(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 eu=.35;function Eb(e=eu){return e===!1?e=0:e===!0&&(e=eu),{x:Xf(e,"left","right"),y:Xf(e,"top","bottom")}}function Xf(e,t,n){return{min:qf(e,t),max:qf(e,n)}}function qf(e,t){return typeof e=="number"?e:e[t]||0}const Jf=()=>({translate:0,scale:1,origin:0,originPoint:0}),ir=()=>({x:Jf(),y:Jf()}),ep=()=>({min:0,max:0}),ue=()=>({x:ep(),y:ep()});function Xe(e){return[e("x"),e("y")]}function T0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Pb({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function kb(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 Da(e){return e===void 0||e===1}function tu({scale:e,scaleX:t,scaleY:n}){return!Da(e)||!Da(t)||!Da(n)}function Cn(e){return tu(e)||b0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function b0(e){return tp(e.x)||tp(e.y)}function tp(e){return e&&e!=="0%"}function xs(e,t,n){const r=e-n,o=t*r;return n+o}function np(e,t,n,r,o){return o!==void 0&&(e=xs(e,o,r)),xs(e,n,r)+t}function nu(e,t=0,n=1,r,o){e.min=np(e.min,t,n,r,o),e.max=np(e.max,t,n,r,o)}function E0(e,{x:t,y:n}){nu(e.x,t.translate,t.scale,t.originPoint),nu(e.y,n.translate,n.scale,n.originPoint)}const rp=.999999999999,op=1.0000000000001;function Ab(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;const{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&ar(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,E0(e,s)),r&&Cn(i.latestValues)&&ar(e,i.latestValues))}t.x<op&&t.x>rp&&(t.x=1),t.y<op&&t.y>rp&&(t.y=1)}function sr(e,t){e.min=e.min+t,e.max=e.max+t}function ip(e,t,n,r,o=.5){const i=ne(e.min,e.max,o);nu(e,t,n,i,r)}function ar(e,t){ip(e.x,t.x,t.scaleX,t.scale,t.originX),ip(e.y,t.y,t.scaleY,t.scale,t.originY)}function P0(e,t){return T0(kb(e.getBoundingClientRect(),t))}function Nb(e,t,n){const r=P0(e,n),{scroll:o}=t;return o&&(sr(r.x,o.offset.x),sr(r.y,o.offset.y)),r}const k0=({current:e})=>e?e.ownerDocument.defaultView:null,jb=new WeakMap;class Ib{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=ue(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(qo(c).point)},i=(c,d)=>{const{drag:f,dragPropagation:g,onDragStart:w}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ub(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Xe(S=>{let m=this.getAxisMotionValue(S).get()||0;if(xt.test(m)){const{projection:h}=this.visualElement;if(h&&h.layout){const v=h.layout.layoutBox[S];v&&(m=Ye(v)*(parseFloat(m)/100))}}this.originPoint[S]=m}),w&&X.postRender(()=>w(c,d)),ql(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:g,onDirectionLock:w,onDrag:x}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:S}=d;if(g&&this.currentDirection===null){this.currentDirection=Rb(S),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",d.point,S),this.updateAxis("y",d.point,S),this.visualElement.render(),x&&x(c,d)},a=(c,d)=>this.stop(c,d),l=()=>Xe(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new x0(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:k0(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&X.postRender(()=>i(t,n))}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:o}=this.getProps();if(!r||!Si(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=wb(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&or(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=Sb(o.layoutBox,n):this.constraints=!1,this.elastic=Eb(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Xe(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=bb(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!or(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=Nb(r,o.root,this.visualElement.getTransformPagePoint());let s=Cb(o.layout.layoutBox,i);if(n){const a=n(Pb(s));this.hasMutatedConstraints=!!a,a&&(s=T0(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Xe(c=>{if(!Si(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=o?200:1e6,g=o?40:1e7,w={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,w)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return ql(this.visualElement,t),r.start(jc(t,r,0,n,this.visualElement,!1))}stopAnimation(){Xe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Xe(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Xe(n=>{const{drag:r}=this.getProps();if(!Si(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n];i.set(t[n]-ne(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!or(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Xe(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();o[s]=Tb({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Xe(s=>{if(!Si(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(ne(l,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;jb.set(this.visualElement,this);const t=this.visualElement.current,n=fo(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();or(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),X.read(r);const s=Vo(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(Xe(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),i(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=eu,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function Si(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Rb(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Mb extends yn{constructor(t){super(t),this.removeGroupControls=He,this.removeListeners=He,this.controls=new Ib(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||He}unmount(){this.removeGroupControls(),this.removeListeners()}}const sp=e=>(t,n)=>{e&&X.postRender(()=>e(t,n))};class Lb extends yn{constructor(){super(...arguments),this.removePointerDownListener=He}onPointerDown(t){this.session=new x0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:k0(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:sp(t),onStart:sp(n),onMove:r,onEnd:(i,s)=>{delete this.session,o&&X.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=fo(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 Gs=y.createContext(null);function Db(){const e=y.useContext(Gs);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=y.useId();y.useEffect(()=>r(o),[]);const i=y.useCallback(()=>n&&n(o),[o,n]);return!t&&n?[!1,i]:[!0]}const Oc=y.createContext({}),A0=y.createContext({}),Bi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ap(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Hr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(M.test(e))e=parseFloat(e);else return e;const n=ap(e,t.target.x),r=ap(e,t.target.y);return`${n}% ${r}%`}},Ob={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=pn.parse(e);if(o.length>5)return r;const i=pn.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const u=ne(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}},ws={};function _b(e){Object.assign(ws,e)}const{schedule:_c,cancel:Uk}=Ng(queueMicrotask,!1);class Vb extends y.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;_b(Fb),i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Bi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,s=r.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||X.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),_c.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function N0(e){const[t,n]=Db(),r=y.useContext(Oc);return p.jsx(Vb,{...e,layoutGroup:r,switchLayoutGroup:y.useContext(A0),isPresent:t,safeToRemove:n})}const Fb={borderRadius:{...Hr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Hr,borderTopRightRadius:Hr,borderBottomLeftRadius:Hr,borderBottomRightRadius:Hr,boxShadow:Ob},j0=["TopLeft","TopRight","BottomLeft","BottomRight"],zb=j0.length,lp=e=>typeof e=="string"?parseFloat(e):e,up=e=>typeof e=="number"||M.test(e);function Bb(e,t,n,r,o,i){o?(e.opacity=ne(0,n.opacity!==void 0?n.opacity:1,Ub(r)),e.opacityExit=ne(t.opacity!==void 0?t.opacity:1,0,$b(r))):i&&(e.opacity=ne(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;s<zb;s++){const a=`border${j0[s]}Radius`;let l=cp(t,a),u=cp(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||up(l)===up(u)?(e[a]=Math.max(ne(lp(l),lp(u),r),0),(xt.test(u)||xt.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=ne(t.rotate||0,n.rotate||0,r))}function cp(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Ub=I0(0,.5,Og),$b=I0(.5,.95,He);function I0(e,t,n){return r=>r<e?0:r>t?1:n(br(e,t,r))}function dp(e,t){e.min=t.min,e.max=t.max}function Ke(e,t){dp(e.x,t.x),dp(e.y,t.y)}function fp(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function pp(e,t,n,r,o){return e-=t,e=xs(e,1/n,r),o!==void 0&&(e=xs(e,1/o,r)),e}function Wb(e,t=0,n=1,r=.5,o,i=e,s=e){if(xt.test(t)&&(t=parseFloat(t),t=ne(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=ne(i.min,i.max,r);e===i&&(a-=t),e.min=pp(e.min,t,n,a,o),e.max=pp(e.max,t,n,a,o)}function hp(e,t,[n,r,o],i,s){Wb(e,t[n],t[r],t[o],t.scale,i,s)}const Hb=["x","scaleX","originX"],Gb=["y","scaleY","originY"];function mp(e,t,n,r){hp(e.x,t,Hb,n?n.x:void 0,r?r.x:void 0),hp(e.y,t,Gb,n?n.y:void 0,r?r.y:void 0)}function gp(e){return e.translate===0&&e.scale===1}function R0(e){return gp(e.x)&&gp(e.y)}function yp(e,t){return e.min===t.min&&e.max===t.max}function Yb(e,t){return yp(e.x,t.x)&&yp(e.y,t.y)}function vp(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function M0(e,t){return vp(e.x,t.x)&&vp(e.y,t.y)}function xp(e){return Ye(e.x)/Ye(e.y)}function wp(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Zb{constructor(){this.members=[]}add(t){Ic(this.members,t),t.scheduleRender()}remove(t){if(Rc(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(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!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 Qb(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:g,skewY:w}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),g&&(r+=`skewX(${g}deg) `),w&&(r+=`skewY(${w}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const Kb=(e,t)=>e.depth-t.depth;class Xb{constructor(){this.children=[],this.isDirty=!1}add(t){Ic(this.children,t),this.isDirty=!0}remove(t){Rc(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Kb),this.isDirty=!1,this.children.forEach(t)}}function Ui(e){const t=ke(e)?e.get():e;return DT(t)?t.toValue():t}function qb(e,t){const n=wt.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(fn(r),e(i-t))};return X.read(r,!0),()=>fn(r)}function Jb(e){return e instanceof SVGElement&&e.tagName!=="svg"}function e2(e,t,n){const r=ke(e)?e:_o(e);return r.start(jc("",r,t,n)),r.animation}const Tn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},eo=typeof window<"u"&&window.MotionDebug!==void 0,Oa=["","X","Y","Z"],t2={visibility:"hidden"},Sp=1e3;let n2=0;function _a(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function L0(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=p0(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",X,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&L0(r)}function D0({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=n2++,this.animationId=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,eo&&(Tn.totalNodes=Tn.resolvedTargetDeltas=Tn.recalculatedProjection=0),this.nodes.forEach(i2),this.nodes.forEach(c2),this.nodes.forEach(d2),this.nodes.forEach(s2),eo&&window.MotionDebug.record(Tn)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Xb)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Mc),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Jb(s),this.instance=s;const{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(u||l)&&(this.isLayoutDirty=!0),e){let d;const f=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=qb(f,250),Bi.hasAnimatedSinceResize&&(Bi.hasAnimatedSinceResize=!1,this.nodes.forEach(Tp))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:g,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||c.getDefaultTransition()||g2,{onLayoutAnimationStart:S,onLayoutAnimationComplete:m}=c.getProps(),h=!this.targetLayout||!M0(this.targetLayout,w)||g,v=!f&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const C={...gc(x,"layout"),onPlay:S,onComplete:m};(c.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C)}else f||Tp(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,fn(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(f2),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&L0(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Cp);return}this.isUpdating||this.nodes.forEach(l2),this.isUpdating=!1,this.nodes.forEach(u2),this.nodes.forEach(r2),this.nodes.forEach(o2),this.clearAllSnapshots();const a=wt.now();we.delta=Ft(0,1e3/60,a-we.timestamp),we.timestamp=a,we.isProcessing=!0,ka.update.process(we),ka.preRender.process(we),ka.render.process(we),we.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,_c.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(a2),this.sharedNodes.forEach(p2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,X.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){X.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ue(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!R0(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&(a||Cn(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),y2(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var s;const{visualElement:a}=this.options;if(!a)return ue();const l=a.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(v2))){const{scroll:c}=this.root;c&&(sr(l.x,c.offset.x),sr(l.y,c.offset.y))}return l}removeElementScroll(s){var a;const l=ue();if(Ke(l,s),!((a=this.scroll)===null||a===void 0)&&a.wasRoot)return l;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&&Ke(l,s),sr(l.x,d.offset.x),sr(l.y,d.offset.y))}return l}applyTransform(s,a=!1){const l=ue();Ke(l,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ar(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Cn(c.latestValues)&&ar(l,c.latestValues)}return Cn(this.latestValues)&&ar(l,this.latestValues),l}removeTransform(s){const a=ue();Ke(a,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Cn(u.latestValues))continue;tu(u.latestValues)&&u.updateSnapshot();const c=ue(),d=u.measurePageBox();Ke(c,d),mp(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Cn(this.latestValues)&&mp(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==we.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(s||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=we.timestamp,!this.targetDelta&&!this.relativeTarget){const g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ue(),this.relativeTargetOrigin=ue(),ho(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),Ke(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ue(),this.targetWithTransforms=ue()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),xb(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ke(this.target,this.layout.layoutBox),E0(this.target,this.targetDelta)):Ke(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const g=this.getClosestProjectingParent();g&&!!g.resumingFrom==!!this.resumingFrom&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ue(),this.relativeTargetOrigin=ue(),ho(this.relativeTargetOrigin,this.target,g.target),Ke(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}eo&&Tn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||tu(this.parent.latestValues)||b0(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 s;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let u=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===we.timestamp&&(u=!1),u)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;Ke(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,g=this.treeScale.y;Ab(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=ue());const{target:w}=a;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(fp(this.prevProjectionDelta.x,this.projectionDelta.x),fp(this.prevProjectionDelta.y,this.projectionDelta.y)),po(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==g||!wp(this.projectionDelta.x,this.prevProjectionDelta.x)||!wp(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w)),eo&&Tn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)===null||a===void 0||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ir(),this.projectionDelta=ir(),this.projectionDeltaWithTransform=ir()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=ir();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=ue(),g=l?l.source:void 0,w=this.layout?this.layout.source:void 0,x=g!==w,S=this.getStack(),m=!S||S.members.length<=1,h=!!(x&&!m&&this.options.crossfade===!0&&!this.path.some(m2));this.animationProgress=0;let v;this.mixTargetDelta=C=>{const T=C/1e3;bp(d.x,s.x,T),bp(d.y,s.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ho(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h2(this.relativeTarget,this.relativeTargetOrigin,f,T),v&&Yb(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=ue()),Ke(v,this.relativeTarget)),x&&(this.animationValues=c,Bb(c,u,this.latestValues,T,h,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(fn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=X.update(()=>{Bi.hasAnimatedSinceResize=!0,this.currentAnimation=e2(0,Sp,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Sp),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&O0(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||ue();const d=Ye(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=Ye(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}Ke(a,l),ar(a,c),po(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Zb),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&_a("z",s,u,this.animationValues);for(let c=0;c<Oa.length;c++)_a(`rotate${Oa[c]}`,s,u,this.animationValues),_a(`skew${Oa[c]}`,s,u,this.animationValues);s.render();for(const c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}getProjectionStyles(s){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return t2;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=Ui(s==null?void 0:s.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const x={};return this.options.layoutId&&(x.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,x.pointerEvents=Ui(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!Cn(this.latestValues)&&(x.transform=c?c({},""):"none",this.hasProjected=!1),x}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=Qb(this.projectionDeltaWithTransform,this.treeScale,f),c&&(u.transform=c(f,u.transform));const{x:g,y:w}=this.projectionDelta;u.transformOrigin=`${g.origin*100}% ${w.origin*100}% 0`,d.animationValues?u.opacity=d===this?(l=(a=f.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:u.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const x in ws){if(f[x]===void 0)continue;const{correct:S,applyTo:m}=ws[x],h=u.transform==="none"?f[x]:S(f[x],d);if(m){const v=m.length;for(let C=0;C<v;C++)u[m[C]]=h}else u[x]=h}return this.options.layoutId&&(u.pointerEvents=d===this?Ui(s==null?void 0:s.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Cp),this.root.sharedNodes.clear()}}}function r2(e){e.updateLayout()}function o2(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,s=n.source!==e.layout.source;i==="size"?Xe(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],g=Ye(f);f.min=r[d].min,f.max=f.min+g}):O0(i,n.layoutBox,r)&&Xe(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],g=Ye(r[d]);f.max=f.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+g)});const a=ir();po(a,r,n.layoutBox);const l=ir();s?po(l,e.applyTransform(o,!0),n.measuredBox):po(l,r,n.layoutBox);const u=!R0(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:g}=d;if(f&&g){const w=ue();ho(w,n.layoutBox,f.layoutBox);const x=ue();ho(x,r,g.layoutBox),M0(w,x)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=w,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function i2(e){eo&&Tn.totalNodes++,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 s2(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function a2(e){e.clearSnapshot()}function Cp(e){e.clearMeasurements()}function l2(e){e.isLayoutDirty=!1}function u2(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Tp(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function c2(e){e.resolveTargetDelta()}function d2(e){e.calcProjection()}function f2(e){e.resetSkewAndRotation()}function p2(e){e.removeLeadSnapshot()}function bp(e,t,n){e.translate=ne(t.translate,0,n),e.scale=ne(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ep(e,t,n,r){e.min=ne(t.min,n.min,r),e.max=ne(t.max,n.max,r)}function h2(e,t,n,r){Ep(e.x,t.x,n.x,r),Ep(e.y,t.y,n.y,r)}function m2(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const g2={duration:.45,ease:[.4,0,.1,1]},Pp=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),kp=Pp("applewebkit/")&&!Pp("chrome/")?Math.round:He;function Ap(e){e.min=kp(e.min),e.max=kp(e.max)}function y2(e){Ap(e.x),Ap(e.y)}function O0(e,t,n){return e==="position"||e==="preserve-aspect"&&!vb(xp(t),xp(n),.2)}function v2(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const x2=D0({attachResizeListener:(e,t)=>Vo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Va={current:void 0},_0=D0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Va.current){const e=new x2({});e.mount(window),e.setOptions({layoutScroll:!0}),Va.current=e}return Va.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),w2={pan:{Feature:Lb},drag:{Feature:Mb,ProjectionNode:_0,MeasureLayout:N0}};function Np(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,i=r[o];i&&X.postRender(()=>i(t,qo(t)))}class S2 extends yn{mount(){const{current:t}=this.node;t&&(this.unmount=ob(t,n=>(Np(this.node,n,"Start"),r=>Np(this.node,r,"End"))))}unmount(){}}class C2 extends yn{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=Xo(Vo(this.node.current,"focus",()=>this.onFocus()),Vo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function jp(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),i=r[o];i&&X.postRender(()=>i(t,qo(t)))}class T2 extends yn{mount(){const{current:t}=this.node;t&&(this.unmount=lb(t,n=>(jp(this.node,n,"Start"),(r,{success:o})=>jp(this.node,r,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const ru=new WeakMap,Fa=new WeakMap,b2=e=>{const t=ru.get(e.target);t&&t(e)},E2=e=>{e.forEach(b2)};function P2({root:e,...t}){const n=e||document;Fa.has(n)||Fa.set(n,{});const r=Fa.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(E2,{root:e,...t})),r[o]}function k2(e,t,n){const r=P2(t);return ru.set(e,n),r.observe(e),()=>{ru.delete(e),r.unobserve(e)}}const A2={some:0,all:1};class N2 extends yn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:A2[o]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!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 k2(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(j2(t,n))&&this.startObserver()}unmount(){}}function j2({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const I2={inView:{Feature:N2},tap:{Feature:T2},focus:{Feature:C2},hover:{Feature:S2}},R2={layout:{ProjectionNode:_0,MeasureLayout:N0}},Vc=y.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ys=y.createContext({}),Fc=typeof window<"u",V0=Fc?y.useLayoutEffect:y.useEffect,F0=y.createContext({strict:!1});function M2(e,t,n,r,o){var i,s;const{visualElement:a}=y.useContext(Ys),l=y.useContext(F0),u=y.useContext(Gs),c=y.useContext(Vc).reducedMotion,d=y.useRef(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const f=d.current,g=y.useContext(A0);f&&!f.projection&&o&&(f.type==="html"||f.type==="svg")&&L2(d.current,n,o,g);const w=y.useRef(!1);y.useInsertionEffect(()=>{f&&w.current&&f.update(n,u)});const x=n[f0],S=y.useRef(!!x&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,x))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,x)));return V0(()=>{f&&(w.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),_c.render(f.render),S.current&&f.animationState&&f.animationState.animateChanges())}),y.useEffect(()=>{f&&(!S.current&&f.animationState&&f.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)===null||m===void 0||m.call(window,x)}),S.current=!1))}),f}function L2(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:z0(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&or(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function z0(e){if(e)return e.options.allowProjection!==!1?e.projection:z0(e.parent)}function D2(e,t,n){return y.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):or(n)&&(n.current=r))},[t])}function Zs(e){return $s(e.animate)||mc.some(t=>Lo(e[t]))}function B0(e){return!!(Zs(e)||e.variants)}function O2(e,t){if(Zs(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 _2(e){const{initial:t,animate:n}=O2(e,y.useContext(Ys));return y.useMemo(()=>({initial:t,animate:n}),[Ip(t),Ip(n)])}function Ip(e){return Array.isArray(e)?e.join(" "):e}const Rp={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"]},Er={};for(const e in Rp)Er[e]={isEnabled:t=>Rp[e].some(n=>!!t[n])};function V2(e){for(const t in e)Er[t]={...Er[t],...e[t]}}const F2=Symbol.for("motionComponentSymbol");function z2({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&V2(e);function i(a,l){let u;const c={...y.useContext(Vc),...a,layoutId:B2(a)},{isStatic:d}=c,f=_2(a),g=r(a,d);if(!d&&Fc){U2();const w=$2(c);u=w.MeasureLayout,f.visualElement=M2(o,g,c,t,w.ProjectionNode)}return p.jsxs(Ys.Provider,{value:f,children:[u&&f.visualElement?p.jsx(u,{visualElement:f.visualElement,...c}):null,n(o,a,D2(g,f.visualElement,l),g,d,f.visualElement)]})}const s=y.forwardRef(i);return s[F2]=o,s}function B2({layoutId:e}){const t=y.useContext(Oc).id;return t&&e!==void 0?t+"-"+e:e}function U2(e,t){y.useContext(F0).strict}function $2(e){const{drag:t,layout:n}=Er;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}}const W2=["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 zc(e){return typeof e!="string"||e.includes("-")?!1:!!(W2.indexOf(e)>-1||/[A-Z]/u.test(e))}function U0(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const $0=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 W0(e,t,n,r){U0(e,t,void 0,r);for(const o in t.attrs)e.setAttribute($0.has(o)?o:Lc(o),t.attrs[o])}function H0(e,{layout:t,layoutId:n}){return Bn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ws[e]||e==="opacity")}function Bc(e,t,n){var r;const{style:o}=e,i={};for(const s in o)(ke(o[s])||t.style&&ke(t.style[s])||H0(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(i[s]=o[s]);return i}function G0(e,t,n){const r=Bc(e,t,n);for(const o in e)if(ke(e[o])||ke(t[o])){const i=Zo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}function Uc(e){const t=y.useRef(null);return t.current===null&&(t.current=e()),t.current}function H2({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const s={latestValues:G2(r,o,i,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}const Y0=e=>(t,n)=>{const r=y.useContext(Ys),o=y.useContext(Gs),i=()=>H2(e,t,r,o);return n?i():Uc(i)};function G2(e,t,n,r){const o={},i=r(e,{});for(const f in i)o[f]=Ui(i[f]);let{initial:s,animate:a}=e;const l=Zs(e),u=B0(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const d=c?a:s;if(d&&typeof d!="boolean"&&!$s(d)){const f=Array.isArray(d)?d:[d];for(let g=0;g<f.length;g++){const w=pc(e,f[g]);if(w){const{transitionEnd:x,transition:S,...m}=w;for(const h in m){let v=m[h];if(Array.isArray(v)){const C=c?v.length-1:0;v=v[C]}v!==null&&(o[h]=v)}for(const h in x)o[h]=x[h]}}}return o}const $c=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Z0=()=>({...$c(),attrs:{}}),Q0=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Y2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Z2=Zo.length;function Q2(e,t,n){let r="",o=!0;for(let i=0;i<Z2;i++){const s=Zo[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(s.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=Q0(a,Tc[s]);if(!l){o=!1;const c=Y2[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function Wc(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const l in t){const u=t[l];if(Bn.has(l)){s=!0;continue}else if(Bg(l)){o[l]=u;continue}else{const c=Q0(u,Tc[l]);l.startsWith("origin")?(a=!0,i[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=Q2(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=i;r.transformOrigin=`${l} ${u} ${c}`}}function Mp(e,t,n){return typeof e=="string"?e:M.transform(t+n*e)}function K2(e,t,n){const r=Mp(t,e.x,e.width),o=Mp(n,e.y,e.height);return`${r} ${o}`}const X2={offset:"stroke-dashoffset",array:"stroke-dasharray"},q2={offset:"strokeDashoffset",array:"strokeDasharray"};function J2(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?X2:q2;e[i.offset]=M.transform(-r);const s=M.transform(t),a=M.transform(n);e[i.array]=`${s} ${a}`}function Hc(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d){if(Wc(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:g,dimensions:w}=e;f.transform&&(w&&(g.transform=f.transform),delete f.transform),w&&(o!==void 0||i!==void 0||g.transform)&&(g.transformOrigin=K2(w,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&J2(f,s,a,l,!1)}const Gc=e=>typeof e=="string"&&e.toLowerCase()==="svg",eE={useVisualState:Y0({scrapeMotionValuesFromProps:G0,createRenderState:Z0,onMount:(e,t,{renderState:n,latestValues:r})=>{X.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),X.render(()=>{Hc(n,r,Gc(t.tagName),e.transformTemplate),W0(t,n)})}})},tE={useVisualState:Y0({scrapeMotionValuesFromProps:Bc,createRenderState:$c})};function K0(e,t,n){for(const r in t)!ke(t[r])&&!H0(r,n)&&(e[r]=t[r])}function nE({transformTemplate:e},t){return y.useMemo(()=>{const n=$c();return Wc(n,t,e),Object.assign({},n.vars,n.style)},[t])}function rE(e,t){const n=e.style||{},r={};return K0(r,n,e),Object.assign(r,nE(e,t)),r}function oE(e,t){const n={},r=rE(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const iE=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 Ss(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||iE.has(e)}let X0=e=>!Ss(e);function sE(e){e&&(X0=t=>t.startsWith("on")?!Ss(t):e(t))}try{sE(require("@emotion/is-prop-valid").default)}catch{}function aE(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(X0(o)||n===!0&&Ss(o)||!t&&!Ss(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function lE(e,t,n,r){const o=y.useMemo(()=>{const i=Z0();return Hc(i,t,Gc(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};K0(i,e.style,e),o.style={...i,...o.style}}return o}function uE(e=!1){return(n,r,o,{latestValues:i},s)=>{const l=(zc(n)?lE:oE)(r,i,s,n),u=aE(r,typeof n=="string",e),c=n!==y.Fragment?{...u,...l,ref:o}:{},{children:d}=r,f=y.useMemo(()=>ke(d)?d.get():d,[d]);return y.createElement(n,{...c,children:f})}}function cE(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const s={...zc(r)?eE:tE,preloadedFeatures:e,useRender:uE(o),createVisualElement:t,Component:r};return z2(s)}}const ou={current:null},q0={current:!1};function dE(){if(q0.current=!0,!!Fc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ou.current=e.matches;e.addListener(t),t()}else ou.current=!1}function fE(e,t,n){for(const r in t){const o=t[r],i=n[r];if(ke(o))e.addValue(r,o);else if(ke(i))e.addValue(r,_o(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{const s=e.getStaticValue(r);e.addValue(r,_o(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Lp=new WeakMap,pE=[...Wg,Ee,pn],hE=e=>pE.find($g(e)),Dp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class mE{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=wc,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=wt.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,X.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=Zs(n),this.isVariantNode=B0(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 g=d[f];l[f]!==void 0&&ke(g)&&g.set(l[f],!1)}}mount(t){this.current=t,Lp.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((n,r)=>this.bindToMotionValue(r,n)),q0.current||dE(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ou.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Lp.delete(this.current),this.projection&&this.projection.unmount(),fn(this.notifyUpdate),fn(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Bn.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&X.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),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 Er){const n=Er[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ue()}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<Dp.length;r++){const o=Dp[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=fE(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=_o(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(Fg(o)||Vg(o))?o=parseFloat(o):!hE(o)&&pn.test(n)&&(o=qg(t,n)),this.setBaseTarget(t,ke(o)?o.get():o)),ke(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const s=pc(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(o=s[t])}if(r&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!ke(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Mc),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class J0 extends mE{constructor(){super(...arguments),this.KeyframeResolver=Jg}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;ke(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function gE(e){return window.getComputedStyle(e)}class yE extends J0{constructor(){super(...arguments),this.type="html",this.renderInstance=U0}readValueFromInstance(t,n){if(Bn.has(n)){const r=bc(n);return r&&r.default||0}else{const r=gE(t),o=(Bg(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return P0(t,n)}build(t,n,r){Wc(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Bc(t,n,r)}}class vE extends J0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ue}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Bn.has(n)){const r=bc(n);return r&&r.default||0}return n=$0.has(n)?n:Lc(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return G0(t,n,r)}build(t,n,r){Hc(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){W0(t,n,r,o)}mount(t){this.isSVGTag=Gc(t.tagName),super.mount(t)}}const xE=(e,t)=>zc(e)?new vE(t):new yE(t,{allowProjection:e!==y.Fragment}),wE=cE({...nb,...I2,...w2,...R2},xE),O=JS(wE);class SE extends y.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function CE({children:e,isPresent:t}){const n=y.useId(),r=y.useRef(null),o=y.useRef({width:0,height:0,top:0,left:0}),{nonce:i}=y.useContext(Vc);return y.useInsertionEffect(()=>{const{width:s,height:a,top:l,left:u}=o.current;if(t||!r.current||!s||!a)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return i&&(c.nonce=i),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
47          [data-motion-pop-id="${n}"] {
48            position: absolute !important;
49            width: ${s}px !important;
50            height: ${a}px !important;
51            top: ${l}px !important;
52            left: ${u}px !important;
53          }
54        `),()=>{document.head.removeChild(c)}},[t]),p.jsx(SE,{isPresent:t,childRef:r,sizeRef:o,children:y.cloneElement(e,{ref:r})})}const TE=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:s})=>{const a=Uc(bE),l=y.useId(),u=y.useCallback(d=>{a.set(d,!0);for(const f of a.values())if(!f)return;r&&r()},[a,r]),c=y.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:u,register:d=>(a.set(d,!1),()=>a.delete(d))}),i?[Math.random(),u]:[n,u]);return y.useMemo(()=>{a.forEach((d,f)=>a.set(f,!1))},[n]),y.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=p.jsx(CE,{isPresent:n,children:e})),p.jsx(Gs.Provider,{value:c,children:e})};function bE(){return new Map}const Ci=e=>e.key||"";function Op(e){const t=[];return y.Children.forEach(e,n=>{y.isValidElement(n)&&t.push(n)}),t}const EE=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:o,presenceAffectsLayout:i=!0,mode:s="sync"})=>{const a=y.useMemo(()=>Op(e),[e]),l=a.map(Ci),u=y.useRef(!0),c=y.useRef(a),d=Uc(()=>new Map),[f,g]=y.useState(a),[w,x]=y.useState(a);V0(()=>{u.current=!1,c.current=a;for(let h=0;h<w.length;h++){const v=Ci(w[h]);l.includes(v)?d.delete(v):d.get(v)!==!0&&d.set(v,!1)}},[w,l.length,l.join("-")]);const S=[];if(a!==f){let h=[...a];for(let v=0;v<w.length;v++){const C=w[v],T=Ci(C);l.includes(T)||(h.splice(v,0,C),S.push(C))}s==="wait"&&S.length&&(h=S),x(Op(h)),g(a);return}const{forceRender:m}=y.useContext(Oc);return p.jsx(p.Fragment,{children:w.map(h=>{const v=Ci(h),C=a===w||l.includes(v),T=()=>{if(d.has(v))d.set(v,!0);else return;let E=!0;d.forEach(b=>{b||(E=!1)}),E&&(m==null||m(),x(c.current),o&&o())};return p.jsx(TE,{isPresent:C,initial:!u.current||r?void 0:!1,custom:C?void 0:n,presenceAffectsLayout:i,mode:s,onExitComplete:C?void 0:T,children:h},v)})})};/**
55 * @license lucide-react v0.469.0 - ISC
56 *
57 * This source code is licensed under the ISC license.
58 * See the LICENSE file in the root directory of this source tree.
59 */const PE=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ey=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
60 * @license lucide-react v0.469.0 - ISC
61 *
62 * This source code is licensed under the ISC license.
63 * See the LICENSE file in the root directory of this source tree.
64 */var kE={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"};/**
65 * @license lucide-react v0.469.0 - ISC
66 *
67 * This source code is licensed under the ISC license.
68 * See the LICENSE file in the root directory of this source tree.
69 */const AE=y.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>y.createElement("svg",{ref:l,...kE,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ey("lucide",o),...a},[...s.map(([u,c])=>y.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
70 * @license lucide-react v0.469.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const B=(e,t)=>{const n=y.forwardRef(({className:r,...o},i)=>y.createElement(AE,{ref:i,iconNode:t,className:ey(`lucide-${PE(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
75 * @license lucide-react v0.469.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */const NE=B("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
80 * @license lucide-react v0.469.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const Cs=B("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
85 * @license lucide-react v0.469.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const jE=B("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
90 * @license lucide-react v0.469.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const IE=B("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"}]]);/**
95 * @license lucide-react v0.469.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const ty=B("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
100 * @license lucide-react v0.469.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const RE=B("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"}]]);/**
105 * @license lucide-react v0.469.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const ME=B("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
110 * @license lucide-react v0.469.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const ny=B("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
115 * @license lucide-react v0.469.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const Yc=B("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
120 * @license lucide-react v0.469.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const LE=B("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/**
125 * @license lucide-react v0.469.0 - ISC
126 *
127 * This source code is licensed under the ISC license.
128 * See the LICENSE file in the root directory of this source tree.
129 */const DE=B("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
130 * @license lucide-react v0.469.0 - ISC
131 *
132 * This source code is licensed under the ISC license.
133 * See the LICENSE file in the root directory of this source tree.
134 */const OE=B("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
135 * @license lucide-react v0.469.0 - ISC
136 *
137 * This source code is licensed under the ISC license.
138 * See the LICENSE file in the root directory of this source tree.
139 */const _E=B("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
140 * @license lucide-react v0.469.0 - ISC
141 *
142 * This source code is licensed under the ISC license.
143 * See the LICENSE file in the root directory of this source tree.
144 */const VE=B("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
145 * @license lucide-react v0.469.0 - ISC
146 *
147 * This source code is licensed under the ISC license.
148 * See the LICENSE file in the root directory of this source tree.
149 */const FE=B("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
150 * @license lucide-react v0.469.0 - ISC
151 *
152 * This source code is licensed under the ISC license.
153 * See the LICENSE file in the root directory of this source tree.
154 */const zE=B("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
155 * @license lucide-react v0.469.0 - ISC
156 *
157 * This source code is licensed under the ISC license.
158 * See the LICENSE file in the root directory of this source tree.
159 */const BE=B("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
160 * @license lucide-react v0.469.0 - ISC
161 *
162 * This source code is licensed under the ISC license.
163 * See the LICENSE file in the root directory of this source tree.
164 */const UE=B("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
165 * @license lucide-react v0.469.0 - ISC
166 *
167 * This source code is licensed under the ISC license.
168 * See the LICENSE file in the root directory of this source tree.
169 */const $E=B("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
170 * @license lucide-react v0.469.0 - ISC
171 *
172 * This source code is licensed under the ISC license.
173 * See the LICENSE file in the root directory of this source tree.
174 */const WE=B("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"}]]);/**
175 * @license lucide-react v0.469.0 - ISC
176 *
177 * This source code is licensed under the ISC license.
178 * See the LICENSE file in the root directory of this source tree.
179 */const HE=B("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
180 * @license lucide-react v0.469.0 - ISC
181 *
182 * This source code is licensed under the ISC license.
183 * See the LICENSE file in the root directory of this source tree.
184 */const GE=B("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"}]]);/**
185 * @license lucide-react v0.469.0 - ISC
186 *
187 * This source code is licensed under the ISC license.
188 * See the LICENSE file in the root directory of this source tree.
189 */const Jo=B("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
190 * @license lucide-react v0.469.0 - ISC
191 *
192 * This source code is licensed under the ISC license.
193 * See the LICENSE file in the root directory of this source tree.
194 */const YE=B("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"}]]);/**
195 * @license lucide-react v0.469.0 - ISC
196 *
197 * This source code is licensed under the ISC license.
198 * See the LICENSE file in the root directory of this source tree.
199 */const ZE=B("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
200 * @license lucide-react v0.469.0 - ISC
201 *
202 * This source code is licensed under the ISC license.
203 * See the LICENSE file in the root directory of this source tree.
204 */const QE=B("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/**
205 * @license lucide-react v0.469.0 - ISC
206 *
207 * This source code is licensed under the ISC license.
208 * See the LICENSE file in the root directory of this source tree.
209 */const Zc=B("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
210 * @license lucide-react v0.469.0 - ISC
211 *
212 * This source code is licensed under the ISC license.
213 * See the LICENSE file in the root directory of this source tree.
214 */const KE=B("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"}]]);/**
215 * @license lucide-react v0.469.0 - ISC
216 *
217 * This source code is licensed under the ISC license.
218 * See the LICENSE file in the root directory of this source tree.
219 */const XE=B("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
220 * @license lucide-react v0.469.0 - ISC
221 *
222 * This source code is licensed under the ISC license.
223 * See the LICENSE file in the root directory of this source tree.
224 */const ry=B("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
225 * @lice
225nse lucide-react v0.469.0 - ISC
226 *
227 * This source code is licensed under the ISC license.
228 * See the LICENSE file in the root directory of this source tree.
229 */const qE=B("UserPlus",[["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"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
230 * @license lucide-react v0.469.0 - ISC
231 *
232 * This source code is licensed under the ISC license.
233 * See the LICENSE file in the root directory of this source tree.
234 */const oy=B("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"}]]);/**
235 * @license lucide-react v0.469.0 - ISC
236 *
237 * This source code is licensed under the ISC license.
238 * See the LICENSE file in the root directory of this source tree.
239 */const iy=B("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
240 * @license lucide-react v0.469.0 - ISC
241 *
242 * This source code is licensed under the ISC license.
243 * See the LICENSE file in the root directory of this source tree.
244 */const iu=B("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),JE=()=>{const[e,t]=y.useState(!1),[n,r]=y.useState(!1);y.useEffect(()=>{const s=()=>{t(window.scrollY>50)};return window.addEventListener("scroll",s),()=>window.removeEventListener("scroll",s)},[]);const o=[{name:"Imersões",href:"#immersions"},{name:"Professor",href:"#professor"},{name:"Certificados",href:"#certificates"},{name:"Investimento",href:"#pricing"},{name:"Inscrição",href:"#interest-form"}],i=()=>{window.scrollTo({top:0,behavior:"smooth"})};return p.jsx(O.header,{initial:{y:-100},animate:{y:0},transition:{duration:.6},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-black/95 backdrop-blur-lg shadow-lg shadow-cyan-500/10":"bg-transparent"}`,children:p.jsxs("nav",{className:"container mx-auto px-4 py-4",children:[p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx(O.div,{whileHover:{scale:1.05},transition:{duration:.2},onClick:i,className:"cursor-pointer",children:p.jsx("img",{src:"https://www.terracursos.com.br/public/assets/img/terra-cursos.png",alt:"Terra Cursos Logo",className:"h-12 w-auto"})}),p.jsx("div",{className:"hidden md:flex items-center gap-8",children:o.map((s,a)=>p.jsxs(O.a,{href:s.href,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{delay:a*.1},className:"text-gray-300 hover:text-cyan-400 transition-colors duration-300 font-medium relative group",children:[s.name,p.jsx("span",{className:"absolute bottom-0 left-0 w-0 h-0.5 bg-gradient-to-r from-cyan-400 to-purple-500 group-hover:w-full transition-all duration-300"})]},s.name))}),p.jsx("button",{onClick:()=>r(!n),className:"md:hidden text-cyan-400 hover:text-cyan-300 transition-colors",children:n?p.jsx(iy,{size:28}):p.jsx(GE,{size:28})})]}),n&&p.jsx(O.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"md:hidden mt-4 pb-4",children:o.map(s=>p.jsx("a",{href:s.href,onClick:()=>r(!1),className:"block py-3 text-gray-300 hover:text-cyan-400 transition-colors duration-300 border-b border-gray-800",children:s.name},s.name))})]})})};function sy(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=sy(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ay(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=sy(e))&&(r&&(r+=" "),r+=t);return r}const Qc="-",eP=e=>{const t=nP(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(Qc);return a[0]===""&&a.length!==1&&a.shift(),ly(a,t)||tP(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},ly=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?ly(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Qc);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},_p=/^\[(.+)\]$/,tP=e=>{if(_p.test(e)){const t=_p.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},nP=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};
vendor: 5,090 bytes, line 244
244return oP(Object.entries(e.classGroups),n).forEach(([i,s])=>{su(s,r,i,t)}),r},su=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Vp(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(rP(o)){su(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{su(s,Vp(t,i),n,r)})})},Vp=(e,t)=>{let n=e;return t.split(Qc).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},rP=e=>e.isThemeGetter,oP=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,iP=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},uy="!",sP=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const l=[];let u=0,c=0,d;for(let S=0;S<a.length;S++){let m=a[S];if(u===0){if(m===o&&(r||a.slice(S,S+i)===t)){l.push(a.slice(c,S)),c=S+i;continue}if(m==="/"){d=S;continue}}m==="["?u++:m==="]"&&u--}const f=l.length===0?a:a.substring(c),g=f.startsWith(uy),w=g?f.substring(1):f,x=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:w,maybePostfixModifierPosition:x}};return n?a=>n({className:a,parseClassName:s}):s},aP=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},lP=e=>({cache:iP(e.cacheSize),parseClassName:sP(e),...eP(e)}),uP=/\s+/,cP=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(uP);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:g}=n(u);let w=!!g,x=r(w?f.substring(0,g):f);if(!x){if(!w){a=u+(a.length>0?" "+a:a);continue}if(x=r(f),!x){a=u+(a.length>0?" "+a:a);continue}w=!1}const S=aP(c).join(":"),m=d?S+uy:S,h=m+x;if(i.includes(h))continue;i.push(h);const v=o(x,w);for(let C=0;C<v.length;++C){const T=v[C];i.push(m+T)}a=u+(a.length>0?" "+a:a)}return a};function dP(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=cy(t))&&(r&&(r+=" "),r+=n);return r}const cy=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=cy(e[r]))&&(n&&(n+=" "),n+=t);return n};function fP(e,...t){let n,r,o,i=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=lP(u),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=cP(l,n);return o(l,c),c}return function(){return i(dP.apply(null,arguments))}}const Z=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},dy=/^\[(?:([a-z-]+):)?(.+)\]$/i,pP=/^\d+\/\d+$/,hP=new Set(["px","full","screen"]),mP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gP=/\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$/,yP=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,vP=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Pt=e=>mr(e)||hP.has(e)||pP.test(e),Ht=e=>Mr(e,"length",kP),mr=e=>!!e&&!Number.isNaN(Number(e)),za=e=>Mr(e,"number",mr),Gr=e=>!!e&&Number.isInteger(Number(e)),wP=e=>e.endsWith("%")&&mr(e.slice(0,-1)),F=e=>dy.test(e),Gt=e=>mP.test(e),SP=new Set(["length","size","percentage"]),CP=e=>Mr(e,SP,fy),TP=e=>Mr(e,"position",fy),bP=new Set(["image","url"]),EP=e=>Mr(e,bP,NP),PP=e=>Mr(e,"",AP),Yr=()=>!0,Mr=(e,t,n)=>{const r=dy.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},kP=e=>gP.test(e)&&!yP.test(e),fy=()=>!1,AP=e=>vP.test(e),NP=e=>xP.test(e),jP=()=>{const e=Z("colors"),t=Z("spacing"),n=Z("blur"),r=Z("brightness"),o=Z("borderColor"),i=Z("borderRadius"),s=Z("borderSpacing"),a=Z("borderWidth"),l=Z("contrast"),u=Z("grayscale"),c=Z("hueRotate"),d=Z("invert"),f=Z("gap"),g=Z("gradientColorStops"),w=Z("gradientColorStopPositions"),x=Z("inset"),S=Z("margin"),m=Z("opacity"),h=Z("padding"),v=Z("saturate"),C=Z("scale"),T=Z("sepia"),E=Z("skew"),b=Z("space"),P=Z("translate"),I=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto",F,t],V=()=>[F,t],Ne=()=>["",Pt,Ht],D=()=>["auto",mr,F],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ge=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",F],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[mr,F];return{cacheSize:500,separator:":",theme:{colors:[Yr],spacing:[Pt,Ht],blur:["none","",Gt,F],brightness:U(),borderColor:[e],borderRadius:["n
244one","","full",Gt,F],borderSpacing:V(),borderWidth:Ne(),contrast:U(),grayscale:R(),hueRotate:U(),invert:R(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[wP,Ht],inset:W(),margin:W(),opacity:U(),padding:V(),saturate:U(),scale:U(),sepia:R(),skew:U(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",F]}],container:["container"],columns:[{columns:[Gt]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...me(),F]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Gr,F]}],basis:[{basis:W()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",Gr,F]}],"grid-cols":[{"grid-cols":[Yr]}],"col-start-end":[{col:["auto",{span:["full",Gr,F]},F]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Yr]}],"row-start-end":[{row:["auto",{span:[Gr,F]},F]}],"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",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...A()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...A(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...A(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[b]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[b]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,t]}],"min-w":[{"min-w":[F,t,"min","max","fit"]}],"max-w":[{"max-w":[F,t,"none","full","min","max","fit","prose",{screen:[Gt]},Gt]}],h:[{h:[F,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Gt,Ht]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",za]}],"font-family":[{font:[Yr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",F]}],"line-clamp":[{"line-clamp":["none",mr,za]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Pt,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ge(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Pt,Ht]}],"underline-offset":[{"underline-offset":["auto",Pt,F]}],"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:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],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",F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),TP]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",CP]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},EP]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}
vendor: 5,176 bytes, line 244
244],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...ge(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:ge()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...ge()]}],"outline-offset":[{"outline-offset":[Pt,F]}],"outline-w":[{outline:[Pt,Ht]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Pt,Ht]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Gt,PP]}],"shadow-color":[{shadow:[Yr]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Gt,F]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",F]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Gr,F]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",F]}],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",F]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 6,193 bytes, line 244
244],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",F]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Pt,Ht,za]}],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"]}}},IP=fP(jP);function Un(...e){return IP(ay(e))}function Fp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function py(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Fp(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Fp(e[o],null)}}}}function _n(...e){return y.useCallback(py(...e),e)}var Fo=y.forwardRef((e,t)=>{const{children:n,...r}=e,o=y.Children.toArray(n),i=o.find(MP);if(i){const s=i.props.children,a=o.map(l=>l===i?y.Children.count(s)>1?y.Children.only(null):y.isValidElement(s)?s.props.children:null:l);return p.jsx(au,{...r,ref:t,children:y.isValidElement(s)?y.cloneElement(s,void 0,a):null})}return p.jsx(au,{...r,ref:t,children:n})});Fo.displayName="Slot";var au=y.forwardRef((e,t)=>{const{children:n,...r}=e;if(y.isValidElement(n)){const o=DP(n);return y.cloneElement(n,{...LP(r,n.props),ref:t?py(t,o):o})}return y.Children.count(n)>1?y.Children.only(null):null});au.displayName="SlotClone";var RP=({children:e})=>p.jsx(p.Fragment,{children:e});function MP(e){return y.isValidElement(e)&&e.type===RP}function LP(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{i(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function DP(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const zp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Bp=ay,hy=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Bp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const f=zp(c)||zp(d);return o[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,...g}=c;return Object.entries(g).every(w=>{let[x,S]=w;return Array.isArray(S)?S.includes({...i,...a}[x]):{...i,...a}[x]===S})?[...u,d,f]:u},[]);return Bp(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)},OP=hy("inline-flex items-center justify-center 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",{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"}}),zt=pe.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?Fo:"button";return p.jsx(s,{className:Un(OP({variant:t,size:n,className:e})),ref:i,...o})});zt.displayName="Button";const _P=()=>{const e=()=>{const t="554934423433",n=encodeURIComponent("Olá! Gostaria de falar c
244om um consultor sobre a Imersão Terra AI Experience.");window.open(`https://wa.me/${t}?text=${n}`,"_blank")};return p.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden pt-20",children:[p.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-blue-900/20 via-purple-900/20 to-black"}),p.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyYy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHoiIGZpbGw9IiMwMGZmZmYiIGZpbGwtb3BhY2l0eT0iLjA1Ii8+PC9nPjwvc3ZnPg==')] opacity-30"}),[...Array(20)].map((t,n)=>p.jsx(O.div,{className:"absolute w-1 h-1 bg-cyan-400 rounded-full",initial:{x:Math.random()*window.innerWidth,y:Math.random()*window.innerHeight,opacity:0},animate:{y:[null,Math.random()*-100-50],opacity:[0,1,0]},transition:{duration:Math.random()*3+2,repeat:1/0,delay:Math.random()*2}},n)),p.jsx("div",{className:"container mx-auto px-4 z-10",children:p.jsxs("div",{className:"max-w-5xl mx-auto text-center",children:[p.jsx(O.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.5},className:"inline-block mb-6",children:p.jsx("div",{className:"bg-gradient-to-r from-cyan-500 to-purple-600 p-4 rounded-2xl shadow-lg shadow-cyan-500/50",children:p.jsx(Zc,{className:"w-12 h-12 text-white"})})}),p.jsx(O.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.2,duration:.8},className:"text-5xl md:text-7xl font-bold mb-6 bg-gradient-to-r from-cyan-400 via-purple-400 to-blue-500 bg-clip-text text-transparent leading-tight",children:"Imersão Terra AI Experience"}),p.jsx(O.p,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.4,duration:.8},className:"text-xl md:text-2xl text-gray-300 mb-8 leading-relaxed",children:"Transforme sua carreira com o poder da Inteligência Artificial em apenas 4 semanas"}),p.jsxs(O.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.6,duration:.8},className:"flex flex-wrap justify-center gap-6 mb-12",children:[p.jsx("div",{className:"flex items-center gap-2 bg-white/5 backdrop-blur-sm px-6 py-3 rounded-full border border-cyan-500/30",children:"4 Encontros Intensivos"}),p.jsxs("div",{className:"flex items-center gap-2 bg-white/5 backdrop-blur-sm px-6 py-3 rounded-full border border-purple-500/30",children:[p.jsx(Yc,{className:"w-5 h-5 text-purple-400"}),p.jsx("span",{className:"text-gray-200",children:"Aulas Online ou Presenciais "})]}),p.jsxs("div",{className:"flex items-center gap-2 bg-white/5 backdrop-blur-sm px-6 py-3 rounded-full border border-blue-500/30",children:[p.jsx(Cs,{className:"w-5 h-5 text-blue-400"}),p.jsx("span",{className:"text-gray-200",children:"Certificado Incluso"})]})]}),p.jsxs(O.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.8,duration:.5},className:"flex flex-col sm:flex-row gap-4 justify-center",children:[p.jsx(zt,{onClick:()=>document.getElementById("interest-form").scrollIntoView({behavior:"smooth"}),className:"bg-gradient-to-r from-cyan-500 to-purple-600 hover:from-cyan-600 hover:to-purple-700 text-white px-8 py-6 text-lg rounded-full shadow-lg shadow-cyan-500/50 transition-all duration-300 hover:scale-105",children:"Quero me Inscrever"}),p.jsxs(zt,{onClick:e,variant:"outline",className:"border-2 border-green-500 text-green-500 hover:bg-green-500 hover:text-white px-8 py-6 text-lg rounded-full transition-all duration-300 hover:scale-105 flex items-center gap-2",children:[p.jsx(Jo,{className:"w-5 h-5"}),"Falar com o Consultor"]})]}),p.jsx(O.div,{initial:{opacity:0}
244,animate:{opacity:1},transition:{delay:1,duration:1},className:"mt-16",children:p.jsx("img",{src:"https://www.terracursos.com.br/public/assets/img/terra-cursos.png",alt:"Terra Cursos",className:"h-16 mx-auto opacity-60"})})]})}),p.jsx(O.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{delay:1.2,duration:.8,repeat:1/0,repeatType:"reverse"},className:"absolute bottom-8 left-1/2 transform -translate-x-1/2",children:p.jsx("div",{className:"w-6 h-10 border-2 border-cyan-400 rounded-full flex justify-center",children:p.jsx("div",{className:"w-1 h-3 bg-cyan-400 rounded-full mt-2"})})})]})},VP=()=>{const{content:e}=KS(),{date1:t,date2:n,date3:r,date4:o}=e.immersions,i=[{date:t,title:"Inteligência Artificial Aplicada - Fundamentos",icon:XE,color:"from-cyan-500 to-blue-600",image:"https://horizons-cdn.hostinger.com/0b443380-3fbf-4546-b176-1406f7c3e65f/891c0aef8626b101dfe93bce215c6a62.jpg",topics:["Objetivo: Apresentar o mundo da IA de forma prática para o dia a dia e negócios","Conteúdos: O que é IA na prática, Tipos (Generativa, Chatbots, Imagem, Voz, Vídeo)","Ferramentas: ChatGPT, DALL·E, Leonardo, Sora, Runway, IAs de áudio","Produção prática: Criação de PROMPTS, textos, roteiros e artes","Como ganhar dinheiro com IA","✅ Atividade: Criar post, texto profissional, roteiro e imagem com IA"]},{date:n,title:"Desenvolvimento de Sites com IA",icon:iu,color:"from-purple-500 to-pink-600",image:"https://horizons-cdn.hostinger.com/0b443380-3fbf-4546-b176-1406f7c3e65f/5f3e1729aecca7129b1aefe20457bd32.jpg",topics:["Objetivo: Ensinar a criar sites profissionais usando inteligência artificial","Conteúdos: O que é um site, tipos (Lojas, Portfólios) e estrutura básica","Ferramentas de IA para criação de sites","IA criando: Textos, Layout, Cores, Identidade e Nome do site","Noções básicas de domínio e hospedagem","✅ Atividade: Criação de página simulada (Texto + Layout + Organização)"]},{date:r,title:"Desenvolvimento de Sistemas com IA (básico ao intermediário)",icon:iu,color:"from-blue-500 to-indigo-600",image:"https://horizons-cdn.hostinger.com/0b443380-3fbf-4546-b176-1406f7c3e65f/a08a591a962b38bff72efaed6a5ac78d.jpg",topics:["Objetivo: Mostrar como a IA pode ajudar na criação de sistemas, automações e aplicativos básicos","Conteúdos: 1. O que é um sistema 2. Exemplos de sistemas no mercado","IA ajudando a criar: Lógicas, Fluxogramas, Estruturas de programas","Conceitos simples de: Login, Cadastro, Controle de estoque, Sistema de vendas","Criação de mini-projeto: Sistema de cadastro de clientes, Sistema de controle simples","✅ Atividade prática: Criar a ideia de um sistema ✅ Estrutura visual + funcional"]},{date:o,title:"Criação de Jogos e Introdução ao Desenvolvimento de Sites com IA",icon:Zc,color:"from-pink-500 to-purple-600",image:"https://horizons-cdn.hostinger.com/0b443380-3fbf-4546-b176-1406f7c3e65f/ac69b36f3b8e17bde1ccd8369ee713d3.jpg",topics:["Objetivo: Apresentar o lado criativo e técnico, mostrando como criar jogos simples e introduzir lógica de programação","Conteúdos: 1. Conceito de games e programação 2. Tipos de jogos (2D, quiz, simulação)","IA ajudando a criar: Cenários, Personagens, Histórias, Regras","Introdução a HTML e lógica básica",'Criando um "mini game" (exemplo: quiz ou aventura)',"✅ Atividade prática: Criar um mini jogo de perguntas ✅ Criar cenário e personagem com IA"]}],s={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.2}}},a={hidden:{opacity:0,y:50},visible:{opacity:1,y:0,transition:{duration:.6}}};return p.jsxs("section",{id:"immersions",className:"py-20 bg-gradient-to-b from-black via-blue-950/10 to-black relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyYy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHoiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iLjAyIi8+PC9nPjwvc3ZnPg==')] opacity-20"}),p.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[p.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-cyan-400 to-purple-400 bg-clip-text text-transparent",children:"As 4 Imersões"}),p.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:"Um programa completo e estruturado para você dominar a Inteligência Artificial"})]}
244),p.jsx(O.div,{variants:s,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid md:grid-cols-2 gap-8 max-w-6xl mx-auto",children:i.map((l,u)=>{const c=l.icon;return p.jsxs(O.div,{variants:a,whileHover:{scale:1.02,y:-5},className:"bg-gradient-to-br from-white/5 to-white/10 backdrop-blur-lg rounded-2xl p-0 overflow-hidden border border-white/10 hover:border-cyan-500/50 transition-all duration-300 shadow-xl hover:shadow-cyan-500/20 flex flex-col h-full",children:[p.jsxs("div",{className:"relative h-48 w-full overflow-hidden",children:[p.jsx("div",{className:`absolute inset-0 bg-gradient-to-b ${l.color} opacity-40 mix-blend-overlay z-10`}),p.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 to-transparent z-10"}),p.jsx("img",{src:l.image,alt:l.title,className:"w-full h-full object-cover transform hover:scale-110 transition-transform duration-700"}),p.jsx("div",{className:"absolute bottom-4 left-6 right-6 z-20 flex items-center justify-between",children:p.jsxs("div",{className:"flex items-center gap-2 text-cyan-400 bg-black/60 px-3 py-1 rounded-full backdrop-blur-sm",children:[p.jsx(RE,{className:"w-3.5 h-3.5"}),p.jsx("span",{className:"text-xs font-semibold uppercase",children:l.date})]})})]}),p.jsxs("div",{className:"p-8 flex flex-col flex-grow",children:[p.jsxs("div",{className:"flex items-start gap-4 mb-6",children:[p.jsx("div",{className:`bg-gradient-to-br ${l.color} p-3 rounded-xl shadow-lg flex-shrink-0`,children:p.jsx(c,{className:"w-6 h-6 text-white"})}),p.jsx("h3",{className:"text-xl font-bold text-white leading-tight",children:l.title})]}),p.jsx("ul",{className:"space-y-3 mb-6 flex-grow",children:l.topics.map((d,f)=>p.jsxs("li",{className:"flex items-start gap-3 text-gray-300",children:[p.jsx("div",{className:`w-1.5 h-1.5 rounded-full bg-gradient-to-r ${l.color} mt-2 flex-shrink-0`}),p.jsx("span",{className:"text-sm leading-relaxed",children:d})]},f))}),p.jsxs("div",{className:"pt-6 border-t border-white/10 flex items-center justify-between text-sm text-gray-400 mt-auto",children:[p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx(Yc,{className:"w-4 h-4"}),p.jsx("span",{children:"Aula ao vivo e online"})]}),p.jsxs("span",{className:"text-cyan-400 font-medium",children:["Semana ",u+1]})]})]})]},u)})})]})]})},FP=()=>{const e="Prof. Melimár Marqúêsi",t="Especialista em Inteligência Artificial",n="https://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K8159561Z3&tokenCaptchar=0cAFcWeA6JJgxN5RubyOiOp4bDiZxT5lS-3IKuwDaIMmomozvApSbdQXkg6CIPeVY-rr3GeEyu3Kx70I0sieutOi0UujTHSgPM-5_2_tiefbZOvGjD-FoOfXtX1RhjsuGSKeFUP5JYvQGvC5utFamdb0j6oFnGTTn1IZhQDeE2QujrT6tgoIWakQBoMgGiehi7llOhF8cxqbaORa-Hl7_-leCdpt5Q4mEBlisCF-Sul--6niPc8V-SE1RgDGfc2IXfDeWofM3BFYU4D5o_kvCjar26ACQRYi1_qagfdonmaFZGS4UiFO1BHS2FbY9DQaMCZppsXtS8WDwlU-pqwZT0xwLHNBqFFcB6Ohb0ICyihZCbbIbKC-SiNNQaMknAg7Tls-vYE7BmLrqlV684NudeUVkpm0CvCJ-waRHvUYNqQDxToHRTLTy5WHKI5ozrhhM5tile-WTWdQyUgq-rfP1953vsR0sWAfk9yP8O_OdujSDls7tMh2Gc_6L6XhjZ0Ko7znCqSpBzEdKlUlYSV9AwnCcoY9M9y2AtFJagV4xRHUaNrpNz7idW0Ze09qNqlLAq4QYJboFGw4Pkg1fxcuI5xMVAOoEbRfTdCyXvg2ee7FP45weS_-yEr5C-IW1k-jOk7MviVRryOOyo5rxxv4pO_sXbbvaOJze8wh94YUWg2PKck9UPzJ7I5tod36XwMUbIa3EZNerDkZXb8w3GO5v2C0zYndVIZ-FyqqU1wwdOfv72BBjagQyXMukeMdtLi1L0sVqlJ99-bGSepL4U92MDCEigo1ZLvsCw6ngURsKQ-4YswjlSk-WF1uM2C3M6mLAEPyN7iF574C91dY3GtWYhLFLDz168OKsjgfmFWUMZN2Kkbz_0Ss_ieOA",r=[Cs,jE,ty],o=["text-cyan-400","text-purple-400","text-blue-400"],i=["Graduado em Administração, Marketing, Informática e Gestão Pública, e Pós Graduado em Administração e em Marketing, Palestrante e Professor do Curso de Inteligência Artificial Aplicada",p.jsxs(p.Fragment,{children:["Autor de diversos artigos, blogs e Livros como ",p.jsx("a",{href:"https://www.amazon.com.br/Empreendedorismo-Empregabilidade-era-Intelig%C3%AAncia-Artificial-ebook/dp/B0CPGQB6PD",target:"_blank",rel:"noopener noreferrer",className:"text-purple-300 hover:text-purple-200 underline decoration-purple-500/50 hover:decoration-purple-200 transition-colors",children:"Empreendedorismo e Empregabilidade na era da Inteligência Artificial"})," e palestrante"]}),"Consultor de empresas em implementação de soluções de IA bem como palestras e treinamentos"],s=()=>{window.open("https://wa.me/5549984198500","_blank")};return p.jsxs("section",{id:"professor",className:"py-20 bg-gradient-to-b from-black via-purple-950/10 to-black relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBfiWxsPSJub25lIiBfiWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4
244NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyYy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHoiIGZpbGwlPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9Ii4wMiIvPjwvZz48L3N2Zz4=')] opacity-20"}),p.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[p.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-purple-400 to-cyan-400 bg-clip-text text-transparent",children:"Seu Professor"}),p.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:"Aprenda com um especialista reconhecido nacionalmente"})]}),p.jsxs("div",{className:"max-w-5xl mx-auto",children:[p.jsx(O.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"bg-gradient-to-br from-white/5 to-white/10 backdrop-blur-lg rounded-3xl p-8 md:p-12 border border-white/10 shadow-2xl relative z-10",children:p.jsxs("div",{className:"grid md:grid-cols-3 gap-8 items-center",children:[p.jsx("div",{className:"md:col-span-1",children:p.jsxs(O.div,{whileHover:{scale:1.05},transition:{duration:.3},className:"relative",children:[p.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-cyan-500 to-purple-600 rounded-2xl blur-xl opacity-50"}),p.jsx("img",{className:"relative w-full aspect-square object-cover rounded-2xl border-4 border-white/20 shadow-xl object-top",alt:e,src:"https://horizons-cdn.hostinger.com/0b443380-3fbf-4546-b176-1406f7c3e65f/332059bad1337a15ff4bcbef99e013a2.jpg"})]})}),p.jsxs("div",{className:"md:col-span-2",children:[p.jsx("h3",{className:"text-3xl md:text-4xl font-bold text-white mb-2",children:e}),p.jsx("p",{className:"text-purple-400 text-lg mb-6",children:t}),p.jsx("div",{className:"space-y-4 mb-8",children:i.map((a,l)=>{const u=r[l%r.length],c=o[l%o.length];return p.jsxs("div",{className:"flex items-start gap-3",children:[p.jsx(u,{className:`w-6 h-6 flex-shrink-0 mt-1 ${c}`}),p.jsx("p",{className:"text-gray-300 leading-relaxed",children:a})]},l)})}),p.jsxs("div",{className:"flex flex-wrap gap-4",children:[p.jsxs(zt,{onClick:()=>window.open(n,"_blank"),className:"bg-gradient-to-r from-blue-500 to-indigo-600 hover:from-blue-600 hover:to-indigo-700 text-white px-6 py-3 rounded-full flex items-center gap-2 transition-all duration-300 hover:scale-105 shadow-lg shadow-blue-500/30",children:[p.jsx(OE,{className:"w-5 h-5"}),"Ver Currículo Lattes"]}),p.jsxs(zt,{onClick:s,className:"bg-green-600 hover:bg-green-700 text-white px-6 py-3 rounded-full flex items-center gap-2 transition-all duration-300 hover:scale-105 shadow-lg shadow-green-500/30",children:[p.jsx(Jo,{className:"w-5 h-5"}),"Falar com o Prof. Melimár"]})]})]})]})}),p.jsxs(O.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.2,duration:.6},className:"mt-12 relative max-w-4xl mx-auto",children:[p.jsx("div",{className:"absolute -inset-4 bg-gradient-to-r from-cyan-500/30 to-purple-500/30 rounded-[2rem] blur-2xl"}),p.jsxs("div",{className:"relative bg-black/40 backdrop-blur-sm p-2 rounded-2xl border border-white/10 shadow-2xl",children:[p.jsx("div",{className:"relative pt-[56.25%] rounded-xl overflow-hidden bg-black group",children:p.jsx("iframe",{src:"https://www.youtube.com/embed/fA-UO6xSXxo",title:"Vídeo Apresentação",className:"absolute inset-0 w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}),p.jsx("div",{className:"mt-4 px-2 pb-2 text-center",children:p.jsxs("p",{className:"text-gray-400 text-sm flex items-center justify-center gap-2",children:[p.jsx(ZE,{className:"w-4 h-4 text-purple-400 fill-purple-400"}),"Conheça mais sobre o professor e a metodologia"]})})]})]}),p.jsx(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.3,duration:.8},className:"mt-12 text-center",children:p.jsx("img",{src:"https://www.terracursos.com.br/public/assets/img/terra-cursos.png",alt:"Terra Cursos",className:"h-12 mx-auto opacity-40"})})]})]})]})},zP=()=>
244{const e=[{icon:ty,title:"Profissionais",description:"Que desejam aplicar IA em suas áreas de atuação e se destacar no mercado",color:"from-cyan-500 to-blue-600"},{icon:VE,title:"Estudantes",description:"Universitários que querem se preparar para o futuro do trabalho",color:"from-purple-500 to-pink-600"},{icon:LE,title:"Desenvolvedores",description:"Programadores que buscam especialização em Machine Learning e Deep Learning",color:"from-blue-500 to-indigo-600"},{icon:ry,title:"Empreendedores",description:"Que querem inovar seus negócios com soluções de Inteligência Artificial",color:"from-pink-500 to-purple-600"},{icon:UE,title:"Entusiastas",description:"Curiosos sobre IA que desejam entender e aplicar essa tecnologia",color:"from-yellow-500 to-orange-600"},{icon:oy,title:"Gestores",description:"Líderes que precisam compreender o impacto da IA em suas organizações",color:"from-green-500 to-teal-600"}];return p.jsxs("section",{className:"py-20 bg-gradient-to-b from-black via-indigo-950/10 to-black relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyYy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHoiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iLjAyIi8+PC9nPjwvc3ZnPg==')] opacity-20"}),p.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[p.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-cyan-400 to-purple-400 bg-clip-text text-transparent",children:"Para Quem é Este Curso"}),p.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:"A Imersão Terra AI Experience foi desenvolvida para diversos perfis profissionais"})]}),p.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:e.map((t,n)=>{const r=t.icon;return p.jsxs(O.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1,duration:.6},whileHover:{scale:1.05,y:-5},className:"bg-gradient-to-br from-white/5 to-white/10 backdrop-blur-lg rounded-2xl p-6 border border-white/10 hover:border-cyan-500/50 transition-all duration-300 shadow-xl hover:shadow-cyan-500/20",children:[p.jsx("div",{className:`bg-gradient-to-br ${t.color} p-4 rounded-xl inline-block mb-4 shadow-lg`,children:p.jsx(r,{className:"w-8 h-8 text-white"})}),p.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:t.title}),p.jsx("p",{className:"text-gray-300 text-sm leading-relaxed",children:t.description})]},n)})}),p.jsx(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.6,duration:.8},className:"mt-12 text-center",children:p.jsx("p",{className:"text-cyan-400 text-lg font-medium",children:"Não é necessário conhecimento prévio em programação!"})})]})]})},BP=()=>p.jsxs("section",{id:"certificates",className:"py-20 bg-gradient-to-b from-black via-purple-950/10 to-black relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyYy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHoiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iLjAyIi8+PC9nPjwvc3ZnPg==')] opacity-20"}),p.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[p.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-purple-400 to-cyan-400 bg-clip-text text-transparent",children:"Certificação"}),p.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:"Receba certificados reconhecidos ao completar cada imersão"})]}),p.jsxs("div",{className:"max-w-5xl mx-auto",children:[p.jsx(O.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.8},className:"relative",children:p.jsxs("div",{className:"bg-gradient-to-br from-white via-gray-50 to-white p-8 md:p-12 rounded-3xl shadow-2xl border-8 border-gradient-to-br from-cyan-500 via-purple-500 to-blue-600 relative overflow-hidden",children:[p.jsx("div",{className:"absolute top-0 left-0 w-full h-2 bg-gradient-to-r from-cyan-500 via-purple-500 to-blue-600"}),p.jsx("div",{className:"absolute bottom-0 left-0 w-full h-2 bg-gradient-to-r from-blue-600 via-purple-500 to-cyan-500"}),p.jsxs("div",{className:"relative z-10",children:[p.jsxs("div",{className:"flex justify-between items-start mb-8",children:[p.jsx("img",{src:"https://www.terracursos.com.br/public/assets/img/terra-cursos.png",alt:"Terra Cursos Logo",className:"h-16"}),p.jsx("div",{className:"bg-gradient-to-br from-cyan-500 to-purple-600 p-3 rounded-xl",children:p.jsx(Cs,{className:"w-10 h-10 text-white"})})]}),p.jsxs("div",{className:"text-center mb-8",children:[p.jsx("h3",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Certificado de Conclusão"}),p.jsx("p",{className:"text-gray-600 text-lg mb-6",children:"Certificamos que"}),p.jsx("div",{className:"border-b-2 border-dashed border-gray-300 pb-4 mb-4",children:p.jsx("p",{className:"text-2xl md:text-3xl font-bold bg-gradient-to-r from-cyan-600 to-purple-600 bg-clip-text text-transparent",children:"[Nome do Aluno]"})}),p.jsx("p",{className:"text-gray-600 text-lg mb-4",children:"concluiu com êxito a"}),p.jsx("h4",{className:"text-2xl md:text-3xl font-bold text-gray-900 mb-6",children:"Imersão Terra AI Experience"}),p.jsx("p",{className:"text-gray-600 mb-8",children:"Carga horária: 40 horas | Realizado em: Janeiro de 2025"})]}),p.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center pt-8 border-t-2 border-gray-200",children:[p.jsxs("div",{className:"text-center mb-4 md:mb-0",children:[p.jsx("div",{className:"w-48 border-t-2 border-gray-400 mb-2"}),p.jsx("p",{className:"text-sm text-gray-600 font-medium",children:"Prof. Melimár Marqúêsi"}),p.jsx("p",{className:"text-xs text-gray-500",children:"Instrutor"})]}),p.jsxs("div",{className:"text-center",children:[p.jsx("div",{className:"w-48 border-t-2 border-gray-400 mb-2"}),p.jsx("p",{className:"text-sm text-gray-600 font-medium",children:"Terra Cursos"}),p.jsx("p",{className:"text-xs text-gray-500",children:"Instituição"})]})]}),p.jsx("div",{className:"mt-8 text-center text-xs text-gray-500",children:p.jsx("p",{children:"Autenticidade verificável via código: TC-AI-2025-XXXXX"})})]})]})}),p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.3,duration:.8},className:"mt-12 grid md:grid-cols-3 gap-6",children:[p.jsxs("div",{className:"bg-gradient-to-br from-white/5 to-white/10 backdrop-blur-lg rounded-xl p-6 border border-cyan-500/30 text-center",children:[p.jsx(ny,{className:"w-10 h-10 text-cyan-400 mx-auto mb-4"}),p.jsx("h4",{className:"text-white font-bold mb-2",children:"Reconhecido"}),p.jsx("p",{className:"text-gray-400 text-sm",children:"Certificado válido nacionalmente"})]}),p.jsxs("div",{className:"bg-gradient-to-br from-white/5 to-white/10 backdrop-blur-lg rounded-xl p-6 border border-purple-500/30 text-center",children:[p.jsx(DE,{className:"w-10 h-10 text-purple-400 mx-auto mb-4"}),p.jsx("h4",{className:"text-white font-bold mb-2",children:"Digital"}),p.jsx("p",{className:"text-gray-400 text-sm",children:"Download imediato em PDF"})]}),p.jsxs("div",{className:"bg-gradient-to-br from-white/5 to-white/10 backdrop-blur-lg rounded-xl p-6 border border-blue-500/30 text-center",children:[p.jsx(Cs,{className:"w-10 h-10 text-blue-400 mx-auto mb-4"}),p.jsx("h4",{className:"text-white font-bold mb-2",children:"Autenticado"}),p.jsx("p",{className:"text-gray-400 text-sm",children:"Código de verificação único"})]})]})]})]})]}),UP=()=>{const e=[{name:"Ana Silva",role:"Marketing Digital",content:"A imersão mudou completamente minha forma de criar conteúdo. As ferramentas de IA apresentadas economizam horas do meu dia!",image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&q=80&w=150&h=150"},{name:"Carlos Santos",role:"Desenvolvedor",content:"Mesmo sendo da área técnica, me surpreendi com a didática e os exemplos práticos. O Prof. Melimár é excelente.",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80&w=150&h=150"},{name:"Beatriz Oliveira",role:"Empreendedora",content:"Implementei chatbots n
244o meu e-commerce logo após a primeira aula. O retorno foi imediato. Recomendo muito!",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&q=80&w=150&h=150"},{name:"Fernando Costa",role:"Designer Gráfico",content:"As ferramentas de geração de imagem com IA abriram um novo horizonte criativo para meus projetos. Fantástico!",image:"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&q=80&w=150&h=150"},{name:"Mariana Souza",role:"Estudante de TI",content:"O conteúdo é denso mas muito acessível. Saí do zero e hoje já entendo como aplicar IA em projetos reais.",image:"https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&q=80&w=150&h=150"},{name:"Roberto Lima",role:"Gestor de Projetos",content:"Entender como a IA pode otimizar processos foi fundamental para minha equipe. O curso entrega muito valor.",image:"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?auto=format&fit=crop&q=80&w=150&h=150"},{name:"Juliana Mendes",role:"Advogada",content:"Achava que IA era só para programadores. O curso me mostrou como usar na área jurídica para pesquisa e análise.",image:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&q=80&w=150&h=150"},{name:"Paulo Ricardo",role:"Consultor Financeiro",content:"A parte de análise de dados com IA é impressionante. Já estou aplicando nos relatórios para meus clientes.",image:"https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&q=80&w=150&h=150"}];return p.jsxs("section",{id:"testimonials",className:"py-20 bg-gradient-to-b from-black via-cyan-950/10 to-black relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyYy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHoiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iLjAyIi8+PC9nPjwvc3ZnPg==')] opacity-20"}),p.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[p.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-cyan-400 to-purple-400 bg-clip-text text-transparent",children:"O Que Dizem Nossos Alunos"}),p.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:"Histórias reais de quem já transformou sua carreira com a Imersão Terra AI"})]}),p.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:e.map((t,n)=>p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1,duration:.5},whileHover:{y:-5},className:"bg-white/5 backdrop-blur-md p-6 rounded-2xl border border-white/10 hover:border-cyan-500/30 transition-all duration-300",children:[p.jsx("div",{className:"flex gap-1 mb-4",children:[...Array(5)].map((r,o)=>p.jsx(KE,{className:"w-4 h-4 text-yellow-500 fill-yellow-500"},o))}),p.jsx(QE,{className:"w-8 h-8 text-cyan-500/50 mb-4"}),p.jsxs("p",{className:"text-gray-300 text-sm mb-6 leading-relaxed min-h-[80px]",children:['"',t.content,'"']}),p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx("img",{src:t.image,alt:t.name,className:"w-10 h-10 rounded-full object-cover border-2 border-purple-500/50"}),p.jsxs("div",{children:[p.jsx("h4",{className:"text-white font-bold text-sm",children:t.name}),p.jsx("p",{className:"text-xs text-gray-400",children:t.role})]})]})]},n))})]})]})},$P=()=>{const[e,t]=y.useState(28800),[n,r]=y.useState(0);y.useEffect(()=>{r(Math.floor(Math.random()*5)+1);const a=setInterval(()=>{t(u=>u>0?u-1:0)},1e3),l=setInterval(()=>{r(u=>u+1)},6e4);return()=>{clearInterval(a),clearInterval(l)}},[]);const o=a=>{const l=Math.floor(a/3600),u=Math.floor(a%3600/60),c=a%60;return`${l.toString().padStart(2,"0")}h ${u.toString().padStart(2,"0")}m ${c.toString().padStart(2,"0")}s`},i=[{id:"individual",title:"Imersão Individual",price:"R$ 1.400,00",installment:"em até 10x",description:"Escolha uma imersão específica",features:["Acesso a 1 imersão escolhida","Aulas ao vivo e gravadas","Material didático completo","Certificado digital","Suporte durante a semana","Acesso por 30 dias"],color:"from-cyan-500 to-blue-600",popular:!1,whatsappText:"Olá! Gostaria de comprar a *Imersão Individual*."},{id:"combo",title:"Combo Completo",price:"R$ 4.990,00",installment:"em até 10x",description:"Todas as 4 imersões",features:["Acesso às 4 imersões completas","Aulas ao vivo e gravadas","Material didático completo","Certificado para cada imersão","Suporte durante todo programa","Acesso vitalício","Bônus: Comunidade exclusiva","Bônus: Mentoria em grupo"],color:"from-purple-500 to-pink-600",popular:!0,discount:"Melhor Valor",whatsappText:"Olá! Quero aproveitar a oferta do *Combo Completo* com todas as imersões."},{id:"special",title:"Compras Especiais",price:"Sob Consulta",description:"Condições especiais para grupos e empresas",features:["Descontos progressivos para grupos","Emissão de Nota Fiscal PJ","Condições personalizadas de pagamento","Suporte dedicado","Cupons de desconto exclusivos"],color:"from-green-500 to-emerald-600",popular:!1,icon:oy,action:"whatsapp_only",whatsappText:"Olá! Tenho interesse em condições especiais para *Grupos/Empresas*."}],s=a=>{const u=`https://wa.me/554934423433?text=${encodeURIComponent(a.whatsappText)}`;window.open(u,"_blank")};return p.jsxs("section",{id:"pricing",className:"py-20 bg-gradient-to-b from-black via-blue-950/10 to-black relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4
244NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyYy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHoiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iLjAyIi8+PC9nPjwvc3ZnPg==')] opacity-20"}),p.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-12",children:[p.jsxs("div",{className:"inline-flex items-center gap-2 bg-red-500/10 border border-red-500/50 rounded-full px-6 py-2 mb-4",children:[p.jsx(Yc,{className:"w-5 h-5 text-red-400 animate-pulse"}),p.jsxs("span",{className:"text-red-400 font-mono font-bold tracking-widest text-lg md:text-xl",children:["OFERTA VÁLIDA POR: ",o(e)]})]}),p.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-cyan-400 to-purple-400 bg-clip-text text-transparent",children:"Investimento"}),p.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:"Escolha o plano ideal para sua jornada de aprendizado em IA"})]}),p.jsx("div",{className:"grid md:grid-cols-3 gap-8 max-w-7xl mx-auto",children:i.map((a,l)=>{const u=a.icon||ry;return p.jsxs(O.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:l*.2,duration:.6},whileHover:{scale:1.02,y:-5},className:`relative bg-gradient-to-br from-white/5 to-white/10 backdrop-blur-lg rounded-3xl p-8 border-2 flex flex-col ${a.popular?"border-purple-500":"border-white/10"} transition-all duration-300 shadow-2xl ${a.popular?"shadow-purple-500/30":"shadow-cyan-500/20"}`,children:[a.popular&&p.jsx("div",{className:"absolute -top-4 left-1/2 transform -translate-x-1/2 w-full text-center",children:p.jsxs("div",{className:"inline-flex bg-gradient-to-r from-purple-500 to-pink-600 px-6 py-2 rounded-full items-center gap-2 shadow-lg",children:[p.jsx(Zc,{className:"w-4 h-4 text-white"}),p.jsx("span",{className:"text-white font-bold text-sm",children:"MAIS POPULAR"})]})}),a.discount&&p.jsx("div",{className:"absolute top-4 right-4",children:p.jsx("div",{className:"bg-gradient-to-r from-green-500 to-emerald-600 px-4 py-2 rounded-full shadow-lg",children:p.jsx("span",{className:"text-white font-bold text-sm",children:a.discount})})}),p.jsxs("div",{className:"text-center mb-6 mt-4",children:[p.jsx("div",{className:`bg-gradient-to-br ${a.color} p-4 rounded-2xl inline-block mb-4 shadow-lg`,children:p.jsx(u,{className:"w-8 h-8 text-white"})}),p.jsx("h3",{className:"text-2xl font-bold text-white mb-2",children:a.title}),p.jsx("p",{className:"text-gray-400 mb-4 h-12 flex items-center justify-center",children:a.description}),p.jsxs("div",{className:"flex flex-col items-center justify-center gap-1",children:[p.jsx("span",{className:"text-4xl font-bold bg-gradient-to-r from-cyan-400 to-purple-400 bg-clip-text text-transparent",children:a.price}),a.installment&&p.jsx("span",{className:"text-sm text-gray-400 font-medium",children:a.installment})]})]}),p.jsx("ul",{className:"space-y-4 mb-8 flex-grow",children:a.features.map((c,d)=>p.jsxs("li",{className:"flex items-start gap-3",children:[p.jsx(ME,{className:`w-5 h-5 flex-shrink-0 mt-0.5 ${a.popular?"text-purple-400":"text-cyan-400"}`}),p.jsx("span",{className:"text-gray-300 text-sm text-left",children:c})]},d))}),p.jsxs("div",{className:"space-y-4",children:[p.jsx(O.div,{animate:{opacity:[.8,1,.8]},transition:{duration:2,repeat:1/0},className:"p-3 bg-yellow-500/10 border border-yellow-500/50 rounded-lg text-center",children:p.jsxs("p",{className:"text-yellow-200 text-xs font-bold uppercase tracking-wider flex items-center justify-center gap-2",children:[p.jsx(iu,{className:"w-3 h-3 fill-yellow-200"}),"Consulte a promoção e Desconto Especial para hoje!"]})}),p.jsxs(zt,{onClick:()=>s(a),className:"group w-full bg-green-600 hover:bg-green-500 text-white py-6 text-lg rounded-full transition-all duration-300 shadow-lg shadow-green-900/20 hover:shadow-green-500/50 relative overflow-hidden",children:[p.jsxs("span",{className:"relative z-10 flex items-center justify-center gap-2 font-bold",children:[p.jsx(Jo,{className:"w-5 h-5 group-hover:rotate-12 transition-transform"}),"Comprar via WhatsApp"]}),p.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-1000"})]})]})]},a.id)})}),p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.4,duration:.8},className:"mt-12 text-center",children:[p.jsx("p",{className:"text-cyan-400 text-lg mb-2",children:"💳 Parcelamento disponível"}),p.jsx("p",{className:"text-gray-400 mb-8",children:"🔒 Pagamento 100% seguro via WhatsApp"}),p.jsx("div",{className:"flex justify-center",children:p.jsx(O.div,{initial:{scale:.9,opacity:0}
244,whileInView:{scale:1,opacity:1},animate:{boxShadow:["0 0 0px rgba(74, 222, 128, 0)","0 0 20px rgba(74, 222, 128, 0.2)","0 0 0px rgba(74, 222, 128, 0)"]},transition:{duration:2,repeat:1/0},className:"bg-gradient-to-r from-green-900/40 to-emerald-900/40 border-2 border-green-500/50 rounded-2xl p-6 backdrop-blur-md max-w-lg w-full",children:p.jsxs("div",{className:"flex items-center justify-center gap-6",children:[p.jsxs("div",{className:"bg-green-500/20 p-4 rounded-full relative",children:[p.jsx(qE,{className:"w-8 h-8 text-green-400"}),p.jsx(O.div,{className:"absolute -top-1 -right-1 w-3 h-3 bg-red-500 rounded-full border-2 border-black",animate:{scale:[1,1.5,1]},transition:{duration:1,repeat:1/0}})]}),p.jsxs("div",{className:"text-left",children:[p.jsx("p",{className:"text-green-400 text-sm font-bold uppercase tracking-widest mb-1",children:"Matrículas na última hora"}),p.jsx(EE,{mode:"wait",children:p.jsxs(O.div,{initial:{y:20,opacity:0},animate:{y:0,opacity:1},exit:{y:-20,opacity:0},className:"flex items-baseline gap-2",children:[p.jsx("span",{className:"text-5xl font-black text-white leading-none tracking-tight drop-shadow-lg",children:n}),p.jsx("span",{className:"text-xl font-bold text-gray-400",children:"novos alunos"})]},n)})]})]})})})]})]})]})},WP=()=>{const e=()=>{const r=`https://wa.me/554934423433?text=${encodeURIComponent("*Olá!* Gostaria de tirar dúvidas sobre o *Terra AI Experience*.")}`;window.open(r,"_blank")};return p.jsxs("section",{id:"interest-form",className:"py-20 bg-gradient-to-b from-black via-purple-950/10 to-black relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyYy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHoiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iLjAyIi8+PC9nPjwvc3ZnPg==')] opacity-20"}),p.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-10",children:[p.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-4 bg-gradient-to-r from-purple-400 to-cyan-400 bg-clip-text text-transparent",children:"Garanta Sua Vaga"}),p.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:"Fale agora mesmo com nosso consultor para tirar dúvidas e realizar sua inscrição."})]}),p.jsx(O.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-xl mx-auto text-center",children:p.jsxs("div",{className:"bg-gradient-to-br from-white/5 to-white/10 backdrop-blur-lg rounded-3xl p-12 border border-white/10 shadow-2xl",children:[p.jsxs(zt,{onClick:e,className:"w-full bg-gradient-to-r from-green-500 to-emerald-600 hover:from-green-600 hover:to-emerald-700 text-white py-8 text-xl rounded-full flex items-center justify-center gap-3 transition-all duration-300 hover:scale-105 shadow-lg shadow-green-500/30",children:[p.jsx(Jo,{className:"w-8 h-8"}),"Falar com Consultor"]}),p.jsx("p",{className:"mt-6 text-sm text-gray-500",children:"Atendimento personalizado via WhatsApp"}),p.jsx("div",{className:"mt-8 text-center",children:p.jsx("img",{src:"https://www.terracursos.com.br/public/assets/img/terra-cursos.png",alt:"Terra Cursos",className:"h-12 mx-auto opacity-40"})})]})})]})]})},HP=()=>p.jsxs("footer",{className:"bg-black border-t border-white/10 py-12 relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-purple-950/10 to-black"}),p.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[p.jsxs("div",{className:"grid md:grid-cols-3 gap-8 mb-8",children:[p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[p.jsx("a",{href:"https://www.terracursos.com.br/",target:"_blank",rel:"noopener noreferrer",className:"inline-block hover:opacity-80 transition-opacity",children:p.jsx("img",{src:"https://www.terracursos.com.br/public/assets/img/terra-cursos.png",alt:"Terra Cursos Logo",className:"h-12 mb-4"})}),p.jsx("p",{className:"text-gray-400 text-sm leading-relaxed",children:"Transformando vidas através da educação em tecnologia e inovação."})]}),p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1,duration:.6},children:[p.jsx("span",{className:"text-white font-bold text-lg mb-4 block",children:"Contato"}),p.jsxs("div",{className:"space-y-3",children:[p.jsxs("a",{href:"tel:49934423433",className:"flex items-center gap-2 text-gray-400 hover:text-cyan-400 transition-colors",children:[p.jsx(YE,{className:"w-4 h-4"}),p.jsx("span",{className:"text-sm",children:"(49) 3442-3433"})]}),p.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-2 text-gray-400 hover:text-cyan-400 transition-colors",children:[p.jsx(WE,{className:"w-4 h-4"}),p.jsx("span",{className:"text-sm",children:"[email protected]"})]}),p.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[p.jsx(HE,{className:"w-4 h-4"}),p.jsx("span",{className:"text-sm",children:"Brasil"})]})]})]}),p.jsxs(O.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2,duration:.6},children:[p.jsx("span",{className:"text-white font-bold text-lg mb-4 block",children:"Redes Sociais"}),p.jsxs("div",{className:"flex gap-4",children:[p.jsx("a",{href:"https://www.facebook.com/terracursos/",target:"_blank",rel:"noopener noreferrer",className:"bg-white/10 p-3 rounded-full hover:bg-cyan-500 transition-all duration-300 hover:scale-110","aria-label":"Facebook",children:p.jsx(_E,{className:"w-5 h-5 text-white"})}),p.jsx("a",{href:"https://www.instagram.com/terracursoseuninter/",target:"_blank",rel:"noopener noreferrer",className:"bg-white/10 p-3 rounded-full hover:bg-purple-500 transition-all duration-300 hover:scale-110","aria-label":"Instagram",children:p.jsx(BE,{className:"w-5 h-5 text-white"})}),p.jsx("a",{href:"https://www.linkedin.com/in/melim%C3%A1r-m%C3%A4rq%C3%BA%C3%AAsi-32633ab0/",target:"_blank",rel:"noopener noreferrer",className:"bg-white/10 p-3 rounded-full hover:bg-blue-500 transition-all duration-300 hover:scale-110","aria-label":"LinkedIn",children:p.jsx($E,{className:"w-5 h-5 text-white"})})]})]})]}),p.jsxs(O.div,{initial:{opacity:0}
244,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.3,duration:.6},className:"border-t border-white/10 pt-8 text-center",children:[p.jsx("p",{className:"text-gray-400 text-sm mb-4",children:"© 2025 Terra Cursos. Todos os direitos reservados."}),p.jsxs("div",{className:"flex flex-col items-center gap-4",children:[p.jsxs("a",{href:"https://mediumpurple-dugong-287146.hostingersite.com/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs text-gray-500 hover:text-purple-400 transition-colors duration-300 group",children:[p.jsx("span",{children:"Desenvolvido com"}),p.jsx(FE,{className:"w-3 h-3 text-red-500 fill-red-500 animate-pulse"}),p.jsx("span",{children:"por"}),p.jsx("span",{className:"font-semibold group-hover:underline",children:"TERRA Cursos Desenvolvimento de sistemas e Sites"})]}),p.jsxs(zt,{variant:"outline",onClick:()=>window.open("https://papayawhip-shark-514219.hostingersite.com/front","_blank"),className:"border-white/20 hover:bg-white/10 text-white text-xs rounded-full transition-all duration-300 hover:scale-[1.02] flex items-center justify-center gap-2 h-8 px-4",children:[p.jsx(IE,{className:"w-3 h-3 text-purple-400"}),"Inteligência Artificial TERRA One",p.jsx(NE,{className:"w-3 h-3 opacity-50"})]})]})]})]})]}),GP=()=>{const e=()=>{window.open("https://wa.me/554934423433","_blank")};return p.jsxs(O.button,{onClick:e,initial:{scale:0},animate:{scale:1},transition:{delay:1,duration:.5},whileHover:{scale:1.1},whileTap:{scale:.9},className:"fixed bottom-6 right-6 z-50 bg-gradient-to-r from-green-500 to-green-600 hover:from-green-600 hover:to-green-700 text-white p-4 rounded-full shadow-2xl shadow-green-500/50 transition-all duration-300","aria-label":"Contato WhatsApp",children:[p.jsx(Jo,{className:"w-8 h-8"}),p.jsx(O.div,{className:"absolute -top-1 -right-1 w-4 h-4 bg-red-500 rounded-full",animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0}})]})},YP=()=>p.jsxs("div",{className:"min-h-screen bg-black text-white flex items-center justify-center p-4 relative overflow-hidden",children:[p.jsx("div",{className:"absolute top-0 left-0 w-full h-full bg-gradient-to-b from-purple-900/20 to-black z-0"}),p.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyYy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHoiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iLjAyIi8+PC9nPjwvc3ZnPg==')] opacity-20 z-0"}),p.jsxs(O.div,{initial:{scale:.8,opacity:0}
vendor: 11,227 bytes, line 244
244,animate:{scale:1,opacity:1},transition:{duration:.5},className:"relative z-10 max-w-md w-full bg-white/5 backdrop-blur-xl border border-white/10 p-8 rounded-3xl text-center shadow-2xl",children:[p.jsx(O.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.2,type:"spring",stiffness:200},className:"w-24 h-24 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-6 shadow-lg shadow-green-500/50",children:p.jsx(ny,{className:"w-12 h-12 text-white"})}),p.jsx("h1",{className:"text-3xl font-bold mb-4 bg-gradient-to-r from-green-400 to-emerald-500 bg-clip-text text-transparent",children:"Pagamento Confirmado!"}),p.jsx("p",{className:"text-gray-300 mb-8",children:"Parabéns! Sua inscrição foi realizada com sucesso. Em breve você receberá um e-mail com todos os detalhes de acesso e próximos passos."}),p.jsx("div",{className:"flex flex-col gap-4",children:p.jsx(fc,{to:"/",children:p.jsxs(zt,{className:"w-full bg-white text-black hover:bg-gray-200 transition-colors rounded-full py-6 font-bold text-lg flex items-center justify-center gap-2",children:["Voltar ao Início",p.jsx(zE,{className:"w-5 h-5"})]})})})]})]});function Ue(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function my(e,t=[]){let n=[];function r(i,s){const a=y.createContext(s),l=n.length;n=[...n,s];const u=d=>{var m;const{scope:f,children:g,...w}=d,x=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,S=y.useMemo(()=>w,Object.values(w));return p.jsx(x.Provider,{value:S,children:g})};u.displayName=i+"Provider";function c(d,f){var x;const g=((x=f==null?void 0:f[e])==null?void 0:x[l])||a,w=y.useContext(g);if(w)return w;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(s=>y.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return y.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,ZP(o,...t)]}function ZP(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function QP(e){const t=e+"CollectionProvider",[n,r]=my(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{const{scope:w,children:x}=g,S=pe.useRef(null),m=pe.useRef(new Map).current;return p.jsx(o,{scope:w,itemMap:m,collectionRef:S,children:x})};s.displayName=t;const a=e+"CollectionSlot",l=pe.forwardRef((g,w)=>{const{scope:x,children:S}=g,m=i(a,x),h=_n(w,m.collectionRef);return p.jsx(Fo,{ref:h,children:S})});l.displayName=a;const u=e+"CollectionItemSlot",c="data-radix-collection-item",d=pe.forwardRef((g,w)=>{const{scope:x,children:S,...m}=g,h=pe.useRef(null),v=_n(w,h),C=i(u,x);return pe.useEffect(()=>(C.itemMap.set(h,{ref:h,...m}),()=>void C.itemMap.delete(h))),p.jsx(Fo,{[c]:"",ref:v,children:S})});d.displayName=u;function f(g){const w=i(e+"CollectionConsumer",g);return pe.useCallback(()=>{const S=w.collectionRef.current;if(!S)return[];const m=Array.from(S.querySelectorAll(`[${c}]`));return Array.from(w.itemMap.values()).sort((C,T)=>m.indexOf(C.ref.current)-m.indexOf(T.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:l,ItemSlot:d},f,r]}var KP=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Tt=KP.reduce((e,t)=>{const n=y.forwardRef((r,o)=>{const{asChild:i,...s}=r,a=i?Fo:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(a,{...s,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function gy(e,t){e&&zs.flushSync(()=>e.dispatchEvent(t))}function Bt(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function XP(e,t=globalThis==null?void 0:globalThis.document){const n=Bt(e);y.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var qP="DismissableLayer",lu="dismissableLayer.update",JP="dismissableLayer.pointerDownOutside",ek="dismissableLayer.focusOutside",Up,yy=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),vy=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=y.useContext(yy),[c,d]=y.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=y.useState({}),w=_n(t,b=>d(b)),x=Array.from(u.layers),[S]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=x.indexOf(S),h=c?x.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,C=h>=m,T=nk(b=>{const P=b.target,I=[...u.branches].some(N=>N.contains(P));!C||I||(o==null||o(b),s==null||s(b),b.defaultPrevented||a==null||a())},f),E=rk(b=>{const P=b.target;[...u.branches].some(N=>N.contains(P))||(i==null||i(b),s==null||s(b),b.defaultPrevented||a==null||a())},f);return XP(b=>{h===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&a&&(b.preventDefault(),a()))},f),y.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Up=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),$p(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Up)}},[c,f,n,u]),y.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),$p())},[c,u]),y.useEffect(()=>{const b=()=>g({});return document.addEventListener(lu,b),()=>document.removeEventListener(lu,b)},[]),p.jsx(Tt.div,{...l,ref:w,style:{pointerEvents:v?C?"auto":"none":void 0,...e.style},onFocusCapture:Ue(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Ue(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Ue(e.onPointerDownCapture,T.onPointerDownCapture)})});vy.displayName=qP;var tk="DismissableLayerBranch",xy=y.forwardRef((e,t)=>{const n=y.useContext(yy),r=y.useRef(null),o=_n(t,r);return y.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p.jsx(Tt.div,{...e,ref:o})});xy.displayName=tk;function nk(e,t=globalThis==null?void 0:globalThis.document){const n=Bt(e),r=y.useRef(!1),o=y.useRef(()=>{});return y.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){wy(JP,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function rk(e,t=globalThis==null?void 0:globalThis.document){const n=Bt(e),r=y.useRef(!1);return y.useEffect(()=>{const o=i=>{i.target&&!r.current&&wy(ek,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function $p(){const e=new CustomEvent(lu);document.dispatchEvent(e)}function wy(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?gy(o,i):o.dispatchEvent(i)}var ok=vy,ik=xy,Ts=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},sk="Portal",Sy=y.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=y.useState(!1);Ts(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?v1.createPortal(p.jsx(Tt.div,{...r,ref:t}),s):null});Sy.displayName=sk;function ak(e,t){return y.useReducer((n,r)=>t[n][r]??n,e)}var Cy=e=>{const{present:t,children:n}=e,r=lk(t),o=typeof n=="function"?n({present:r.isPresent}):y.Children.only(n),i=_n(r.ref,uk(o));return typeof n=="function"||r.isPresent?y.cloneElement(o,{ref:i}):null};Cy.displayName="Presence";function lk(e){const[t,n]=y.useState(),r=y.useRef({}),o=y.useRef(e),i=y.useRef("none"),s=e?"mounted":"unmounted",[a,l]=ak(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const u=Ti(r.current);i.current=a==="mounted"?u:"none"},[a]),Ts(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,g=Ti(u);e?l("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ts(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=g=>{const x=Ti(r.current).includes(g.animationName);if(g.target===t&&x&&(l("ANIMATION_END"),!o.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},f=g=>{g.target===t&&(i.current=Ti(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:y.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ti(e){return(e==null?void 0:e.animationName)||"none"}function uk(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function ck({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=dk({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,a=Bt(n),l=y.useCallback(u=>{if(i){const d=typeof u=="function"?u(e):u;d!==e&&a(d)}else o(u)},[i,e,o,a]);return[s,l]}function dk({defaultProp:e,onChange:t}){const n=y.useState(e),[r]=n,o=y.useRef(r),i=Bt(t);return y.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var fk="VisuallyHidden",Kc=y.forwardRef((e,t)=>p.jsx(Tt.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}}));Kc.displayName=fk;var Xc="ToastProvider",[qc,pk,hk]=QP("Toast"),[Ty,Wk]=my("Toast",[hk]),[mk,Qs]=Ty(Xc),by=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=y.useState(null),[u,c]=y.useState(0),d=y.useRef(!1),f=y.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Xc}\`. Expected non-empty \`string\`.`),p.jsx(qc.Provider,{scope:t,children:p.jsx(mk,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:
244a,onViewportChange:l,onToastAdd:y.useCallback(()=>c(g=>g+1),[]),onToastRemove:y.useCallback(()=>c(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};by.displayName=Xc;var Ey="ToastViewport",gk=["F8"],uu="toast.viewportPause",cu="toast.viewportResume",Py=y.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=gk,label:o="Notifications ({hotkey})",...i}=e,s=Qs(Ey,n),a=pk(n),l=y.useRef(null),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),f=_n(t,d,s.onViewportChange),g=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=s.toastCount>0;y.useEffect(()=>{const S=m=>{var v;r.length!==0&&r.every(C=>m[C]||m.code===C)&&((v=d.current)==null||v.focus())};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[r]),y.useEffect(()=>{const S=l.current,m=d.current;if(w&&S&&m){const h=()=>{if(!s.isClosePausedRef.current){const E=new CustomEvent(uu);m.dispatchEvent(E),s.isClosePausedRef.current=!0}},v=()=>{if(s.isClosePausedRef.current){const E=new CustomEvent(cu);m.dispatchEvent(E),s.isClosePausedRef.current=!1}},C=E=>{!S.contains(E.relatedTarget)&&v()},T=()=>{S.contains(document.activeElement)||v()};return S.addEventListener("focusin",h),S.addEventListener("focusout",C),S.addEventListener("pointermove",h),S.addEventListener("pointerleave",T),window.addEventListener("blur",h),window.addEventListener("focus",v),()=>{S.removeEventListener("focusin",h),S.removeEventListener("focusout",C),S.removeEventListener("pointermove",h),S.removeEventListener("pointerleave",T),window.removeEventListener("blur",h),window.removeEventListener("focus",v)}}},[w,s.isClosePausedRef]);const x=y.useCallback(({tabbingDirection:S})=>{const h=a().map(v=>{const C=v.ref.current,T=[C,...Nk(C)];return S==="forwards"?T:T.reverse()});return(S==="forwards"?h.reverse():h).flat()},[a]);return y.useEffect(()=>{const S=d.current;if(S){const m=h=>{var T,E,b;const v=h.altKey||h.ctrlKey||h.metaKey;if(h.key==="Tab"&&!v){const P=document.activeElement,I=h.shiftKey;if(h.target===S&&I){(T=u.current)==null||T.focus();return}const V=x({tabbingDirection:I?"backwards":"forwards"}),Ne=V.findIndex(D=>D===P);Ba(V.slice(Ne+1))?h.preventDefault():I?(E=u.current)==null||E.focus():(b=c.current)==null||b.focus()}};return S.addEventListener("keydown",m),()=>S.removeEventListener("keydown",m)}},[a,x]),p.jsxs(ik,{ref:l,role:"region","aria-label":o.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&p.jsx(du,{ref:u,onFocusFromOutsideViewport:()=>{const S=x({tabbingDirection:"forwards"});Ba(S)}}),p.jsx(qc.Slot,{scope:n,children:p.jsx(Tt.ol,{tabIndex:-1,...i,ref:f})}),w&&p.jsx(du,{ref:c,onFocusFromOutsideViewport:()=>{const S=x({tabbingDirection:"backwards"});Ba(S)}})]})});Py.displayName=Ey;var ky="ToastFocusProxy",du=y.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Qs(ky,n);return p.jsx(Kc,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});du.displayName=ky;var Ks="Toast",yk="toast.swipeStart",vk="toast.swipeMove",xk="toast.swipeCancel",wk="toast.swipeEnd",Ay=y.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a=!0,l]=ck({prop:r,defaultProp:o,onChange:i});return p.jsx(Cy,{present:n||a,children:p.jsx(Tk,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:Bt(e.onPause),onResume:Bt(e.onResume),onSwipeStart:Ue(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ue(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:Ue(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:Ue(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)})})})});Ay.displayName=Ks;var[Sk,Ck]=Ty(Ks,{onClose(){}}),Tk=y.forwardRef((e,t)=>
244{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:g,...w}=e,x=Qs(Ks,n),[S,m]=y.useState(null),h=_n(t,D=>m(D)),v=y.useRef(null),C=y.useRef(null),T=o||x.duration,E=y.useRef(0),b=y.useRef(T),P=y.useRef(0),{onToastAdd:I,onToastRemove:N}=x,W=Bt(()=>{var me;(S==null?void 0:S.contains(document.activeElement))&&((me=x.viewport)==null||me.focus()),s()}),V=y.useCallback(D=>{!D||D===1/0||(window.clearTimeout(P.current),E.current=new Date().getTime(),P.current=window.setTimeout(W,D))},[W]);y.useEffect(()=>{const D=x.viewport;if(D){const me=()=>{V(b.current),u==null||u()},ge=()=>{const G=new Date().getTime()-E.current;b.current=b.current-G,window.clearTimeout(P.current),l==null||l()};return D.addEventListener(uu,ge),D.addEventListener(cu,me),()=>{D.removeEventListener(uu,ge),D.removeEventListener(cu,me)}}},[x.viewport,T,l,u,V]),y.useEffect(()=>{i&&!x.isClosePausedRef.current&&V(T)},[i,T,x.isClosePausedRef,V]),y.useEffect(()=>(I(),()=>N()),[I,N]);const Ne=y.useMemo(()=>S?Dy(S):null,[S]);return x.viewport?p.jsxs(p.Fragment,{children:[Ne&&p.jsx(bk,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:Ne}),p.jsx(Sk,{scope:n,onClose:W,children:zs.createPortal(p.jsx(qc.ItemSlot,{scope:n,children:p.jsx(ok,{asChild:!0,onEscapeKeyDown:Ue(a,()=>{x.isFocusedToastEscapeKeyDownRef.current||W(),x.isFocusedToastEscapeKeyDownRef.current=!1}),children:p.jsx(Tt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":x.swipeDirection,...w,ref:h,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ue(e.onKeyDown,D=>{D.key==="Escape"&&(a==null||a(D.nativeEvent),D.nativeEvent.defaultPrevented||(x.isFocusedToastEscapeKeyDownRef.current=!0,W()))}),onPointerDown:Ue(e.onPointerDown,D=>{D.button===0&&(v.current={x:D.clientX,y:D.clientY})}),onPointerMove:Ue(e.onPointerMove,D=>{if(!v.current)return;const me=D.clientX-v.current.x,ge=D.clientY-v.current.y,G=!!C.current,A=["left","right"].includes(x.swipeDirection),R=["left","up"].includes(x.swipeDirection)?Math.min:Math.max,L=A?R(0,me):0,U=A?0:R(0,ge),se=D.pointerType==="touch"?10:2,bt={x:L,y:U},pt={originalEvent:D,delta:bt};G?(C.current=bt,bi(vk,d,pt,{discrete:!1})):Wp(bt,x.swipeDirection,se)?(C.current=bt,bi(yk,c,pt,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(me)>se||Math.abs(ge)>se)&&(v.current=null)}),onPointerUp:Ue(e.onPointerUp,D=>{const me=C.current,ge=D.target;if(ge.hasPointerCapture(D.pointerId)&&ge.releasePointerCapture(D.pointerId),C.current=null,v.current=null,me){const G=D.currentTarget,A={originalEvent:D,delta:me};Wp(me,x.swipeDirection,x.swipeThreshold)?bi(wk,g,A,{discrete:!0}):bi(xk,f,A,{discrete:!0}),G.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),x.viewport)})]}):null}),bk=e=>{const{__scopeToast:t,children:n,...r}=e,o=Qs(Ks,t),[i,s]=y.useState(!1),[a,l]=y.useState(!1);return kk(()=>s(!0)),y.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:p.jsx(Sy,{asChild:!0,children:p.jsx(Kc,{...r,children:i&&p.jsxs(p.Fragment,{children:[o.label," ",n]})})})},Ek="ToastTitle",Ny=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(Tt.div,{...r,ref:t})});Ny.displayName=Ek;var Pk="ToastDescription",jy=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(Tt.div,{...r,ref:t})});jy.displayName=Pk;var Iy="ToastAction",Ry=y.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?p.jsx(Ly,{altText:n,asChild:!0,children:p.jsx(Jc,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Iy}\`. Expected non-empty \`string\`.`),null)});Ry.displayName=Iy;var My="ToastClose",Jc=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Ck(My,n);return p.jsx(Ly,{asChild:!0,children:p.jsx(Tt.button,{type:"button",...r,ref:t,onClick:Ue(e.onClick,o.onClose)})})});Jc.displayName=My;var Ly=y.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return p.jsx(Tt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Dy(e){const t=[];
244return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Ak(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Dy(r))}}),t}function bi(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?gy(o,i):o.dispatchEvent(i)}var Wp=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function kk(e=()=>{}){const t=Bt(e);Ts(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Ak(e){return e.nodeType===e.ELEMENT_NODE}function Nk(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ba(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var jk=by,Oy=Py,_y=Ay,Vy=Ny,Fy=jy,zy=Ry,By=Jc;const Ik=jk,Uy=pe.forwardRef(({className:e,...t},n)=>p.jsx(Oy,{ref:n,className:Un("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}));Uy.displayName=Oy.displayName;const Rk=hy("data-[swipe=move]:transition-none group relative pointer-events-auto 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=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full data-[state=closed]:slide-out-to-right-full",{variants:{variant:{default:"bg-background border",destructive:"group destructive border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),$y=pe.forwardRef(({className:e,variant:t,...n},r)=>p.jsx(_y,{ref:r,className:Un(Rk({variant:t}),e),...n}));$y.displayName=_y.displayName;const Mk=pe.forwardRef(({className:e,...t},n)=>p.jsx(zy,{ref:n,className:Un("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-destructive/30 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Mk.displayName=zy.displayName;const Wy=pe.forwardRef(({className:e,...t},n)=>p.jsx(By,{ref:n,className:Un("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:p.jsx(iy,{className:"h-4 w-4"})}));Wy.displayName=By.displayName;const Hy=pe.forwardRef(({className:e,...t},n)=>p.jsx(Vy,{ref:n,className:Un("text-sm font-semibold",e),...t}));Hy.displayName=Vy.displayName;const Gy=pe.forwardRef(({className:e,...t},n)=>p.jsx(Fy,{ref:n,className:Un("text-sm opacity-90",e),...t}));Gy.displayName=Fy.displayName;const Lk=1;let Ua=0;function Dk(){return Ua=(Ua+1)%Number.MAX_VALUE,Ua.toString()}const je={state:{toasts:[]},listeners:[],getState:()=>je.state,setState:e=>{typeof e=="function"?je.state=e(je.state):je.state={...je.state,...e}
244,je.listeners.forEach(t=>t(je.state))},subscribe:e=>(je.listeners.push(e),()=>{je.listeners=je.listeners.filter(t=>t!==e)})},Ok=({...e})=>{const t=Dk(),n=o=>je.setState(i=>({...i,toasts:i.toasts.map(s=>s.id===t?{...s,...o}:s)})),r=()=>je.setState(o=>({...o,toasts:o.toasts.filter(i=>i.id!==t)}));return je.setState(o=>({...o,toasts:[{...e,id:t,dismiss:r},...o.toasts].slice(0,Lk)})),{id:t,dismiss:r,update:n}};function _k(){const[e,t]=y.useState(je.getState());return y.useEffect(()=>je.subscribe(r=>{t(r)}),[]),y.useEffect(()=>{const n=[];return e.toasts.forEach(r=>{if(r.duration===1/0)return;const o=setTimeout(()=>{r.dismiss()},r.duration||5e3);n.push(o)}),()=>{n.forEach(r=>clearTimeout(r))}},[e.toasts]),{toast:Ok,toasts:e.toasts}}function Vk(){const{toasts:e}=_k();return p.jsxs(Ik,{children:[e.map(({id:t,title:n,description:r,action:o,...i})=>p.jsxs($y,{...i,children:[p.jsxs("div",{className:"grid gap-1",children:[n&&p.jsx(Hy,{children:n}),r&&p.jsx(Gy,{children:r})]}),o,p.jsx(Wy,{})]},t)),p.jsx(Uy,{})]})}function Fk(){return p.jsxs("div",{className:"bg-gradient-to-r from-red-600 via-purple-600 to-red-600 bg-[length:200%_auto] animate-gradient text-white py-3 px-4 text-center font-bold text-sm md:text-base relative z-[50] shadow-xl flex items-center justify-center gap-2 border-t border-white/10",children:[p.jsx(O.span,{animate:{scale:[1,1.2,1]},transition:{repeat:1/0,duration:1.5},children:"⏰"}),p.jsx("span",{className:"drop-shadow-md",children:"Vagas Limitadas - Inscreva-se Agora!"})]})}function zk(){return p.jsxs(p.Fragment,{children:[p.jsx(JE,{}),p.jsx(_P,{}),p.jsx(VP,{}),p.jsx(FP,{}),p.jsx(zP,{}),p.jsx(BP,{}),p.jsx(UP,{}),p.jsx($P,{}),p.jsx(WP,{}),p.jsx(Fk,{})," ",p.jsx(HP,{}),p.jsx(GP,{})]})}function Bk(){return p.jsx(qS,{children:p.jsxs(Gw,{children:[p.jsxs(Ul,{children:[p.jsx("title",{children:"Imersão Terra AI Experience - Curso de IA em 4 Semanas"}),p.jsx("meta",{name:"description",content:"Participe da Imersão Terra AI Experience com Prof. Melimár Marqúêsi. 4 semanas de aprendizado intensivo em Inteligência Artificial. Inscrições abertas!"})]}),p.jsxs("div",{className:"min-h-screen bg-black text-white overflow-hidden font-sans",children:[p.jsxs(Sw,{children:[p.jsx(_l,{path:"/",element:p.jsx(zk,{})}),p.jsx(_l,{path:"/success",element:p.jsx(YP,{})})]}),p.jsx(Vk,{})]})]})})}$a.createRoot(document.getElementById("root")).render(p.jsx(Bk,{}));

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.