vendor: 4,788 bytes, lines 1-18
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpeakerPage-DeStBFwV.js","assets/formConfigs-DnmQGlIo.js","assets/SponsorshipPage-D0pDINBG.js","assets/StreakHomePage-CfR3MvzY.js","assets/BadgesSection-HImMK9zw.js","assets/useGiveawayStatus-Xc2usPxW.js","assets/GoalCardSkeleton-C8OYITKs.js","assets/SidebarMenu-2AycbA8-.js","assets/proccessMissions-DiwG-yPv.js","assets/useRequireAuth-c4YQpGqG.js","assets/StreakButton-D1MUMr5Q.js","assets/HomeUserNextBadge-zTZgDCnf.js","assets/MissionsPage-BTIPl1iq.js","assets/NavbarInsidePage-DlOlDrtB.js","assets/IndicationPage-CaIzpchc.js","assets/copy-CS83tWZS.js","assets/copa-icEwvknm.js","assets/CouponsPage-DlrUYFM5.js","assets/DeliveryPage-3wsgeyZA.js"])))=>i.map(i=>d[i]); 2var gw=Object.defineProperty;var yw=(e,a,i)=>a in e?gw(e,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[a]=i;var f0=(e,a,i)=>yw(e,typeof a!="symbol"?a+"":a,i);function vw(e,a){for(var i=0;i<a.length;i++){const o=a[i];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in e)){const u=Object.getOwnPropertyDescriptor(o,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:()=>o[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function i(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function o(l){if(l.ep)return;l.ep=!0;const u=i(l);fetch(l.href,u)}})();function _f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var id={exports:{}},fo={};/** 3 * @license React 4 * react-jsx-runtime.production.js 5 * 6 * Copyright (c) Meta Platforms, Inc. and affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var m0;function xw(){if(m0)return fo;m0=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function i(o,l,u){var c=null;if(u!==void 0&&(c=""+u),l.key!==void 0&&(c=""+l.key),"key"in l){u={};for(var m in l)m!=="key"&&(u[m]=l[m])}else u=l;return l=u.ref,{$$typeof:e,type:o,key:c,ref:l!==void 0?l:null,props:u}}return fo.Fragment=a,fo.jsx=i,fo.jsxs=i,fo}var h0;function bw(){return h0||(h0=1,id.exports=xw()),id.exports}var h=bw(),sd={exports:{}},we={};/** 11 * @license React 12 * react.production.js 13 * 14 * Copyright (c) Meta Platforms, Inc. and affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var p0;function Sw(){if(p0)return we;p0=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.iterator;function b(M){return M===null||typeof M!="object"?null:(M=x&&M[x]||M["@@iterator"],typeof M=="function"?M:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,E={};function j(M,Y,W){this.props=M,this.context=Y,this.refs=E,this.updater=W||S}j.prototype.isReactComponent={},j.prototype.setState=function(M,Y){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,Y,"setState")},j.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function R(){}R.prototype=j.prototype;function N(M,Y,W){this.props=M,this.context=Y,this.refs=E,this.updater=W||S}var _=N.prototype=new R;_.constructor=N,C(_,j.prototype),_.isPureReactComponent=!0;var z=Array.isArray,D={H:null,A:null,T:null,S:null,V:null},X=Object.prototype.hasOwnProperty;function U(M,Y,W,J,ee,ve){return W=ve.ref,{$$typeof:e,type:M,key:Y,ref:W!==void 0?W:null,props:ve}}function V(M,Y){return U(M.type,Y,void 0,void 0,void 0,M.props)}function F(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function Z(M){var Y={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(W){return Y[W]}
vendor: 33,822 bytes, lines 18-49
18)}var ge=/\/+/g;function xe(M,Y){return typeof M=="object"&&M!==null&&M.key!=null?Z(""+M.key):Y.toString(36)}function Xe(){}function et(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(Xe,Xe):(M.status="pending",M.then(function(Y){M.status==="pending"&&(M.status="fulfilled",M.value=Y)},function(Y){M.status==="pending"&&(M.status="rejected",M.reason=Y)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function Ne(M,Y,W,J,ee){var ve=typeof M;(ve==="undefined"||ve==="boolean")&&(M=null);var se=!1;if(M===null)se=!0;else switch(ve){case"bigint":case"string":case"number":se=!0;break;case"object":switch(M.$$typeof){case e:case a:se=!0;break;case y:return se=M._init,Ne(se(M._payload),Y,W,J,ee)}}if(se)return ee=ee(M),se=J===""?"."+xe(M,0):J,z(ee)?(W="",se!=null&&(W=se.replace(ge,"$&/")+"/"),Ne(ee,Y,W,"",function(Ke){return Ke})):ee!=null&&(F(ee)&&(ee=V(ee,W+(ee.key==null||M&&M.key===ee.key?"":(""+ee.key).replace(ge,"$&/")+"/")+se)),Y.push(ee)),1;se=0;var Ce=J===""?".":J+":";if(z(M))for(var be=0;be<M.length;be++)J=M[be],ve=Ce+xe(J,be),se+=Ne(J,Y,W,ve,ee);else if(be=b(M),typeof be=="function")for(M=be.call(M),be=0;!(J=M.next()).done;)J=J.value,ve=Ce+xe(J,be++),se+=Ne(J,Y,W,ve,ee);else if(ve==="object"){if(typeof M.then=="function")return Ne(et(M),Y,W,J,ee);throw Y=String(M),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return se}function H(M,Y,W){if(M==null)return M;var J=[],ee=0;return Ne(M,J,"","",function(ve){return Y.call(W,ve,ee++)}),J}function K(M){if(M._status===-1){var Y=M._result;Y=Y(),Y.then(function(W){(M._status===0||M._status===-1)&&(M._status=1,M._result=W)},function(W){(M._status===0||M._status===-1)&&(M._status=2,M._result=W)}),M._status===-1&&(M._status=0,M._result=Y)}if(M._status===1)return M._result.default;throw M._result}var $=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)};function de(){}return we.Children={map:H,forEach:function(M,Y,W){H(M,function(){Y.apply(this,arguments)},W)},count:function(M){var Y=0;return H(M,function(){Y++}),Y},toArray:function(M){return H(M,function(Y){return Y})||[]},only:function(M){if(!F(M))throw Error("React.Children.only expected to receive a single React element child.");return M}},we.Component=j,we.Fragment=i,we.Profiler=l,we.PureComponent=N,we.StrictMode=o,we.Suspense=p,we.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,we.__COMPILER_RUNTIME={__proto__:null,c:function(M){return D.H.useMemoCache(M)}},we.cache=function(M){return function(){return M.apply(null,arguments)}},we.cloneElement=function(M,Y,W){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var J=C({},M.props),ee=M.key,ve=void 0;if(Y!=null)for(se in Y.ref!==void 0&&(ve=void 0),Y.key!==void 0&&(ee=""+Y.key),Y)!X.call(Y,se)||se==="key"||se==="__self"||se==="__source"||se==="ref"&&Y.ref===void 0||(J[se]=Y[se]);var se=arguments.length-2;if(se===1)J.children=W;else if(1<se){for(var Ce=Array(se),be=0;be<se;be++)Ce[be]=arguments[be+2];J.children=Ce}return U(M.type,ee,void 0,void 0,ve,J)},we.createContext=function(M){return M={$$typeof:c,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:u,_context:M},M},we.createElement=function(M,Y,W){var J,ee={},ve=null;if(Y!=null)for(J in Y.key!==void 0&&(ve=""+Y.key),Y)X.call(Y,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ee[J]=Y[J]);var se=arguments.length-2;if(se===1)ee.children=W;else if(1<se){for(var Ce=Array(se),be=0;be<se;be++)Ce[be]=arguments[be+2];ee.children=Ce}if(M&&M.defaultProps)for(J in se=M.defaultProps,se)ee[J]===void 0&&(ee[J]=se[J]);return U(M,ve,void 0,void 0,null,ee)},we.createRef=function(){return{current:null}},we.forwardRef=function(M){return{$$typeof:m,render:M}},we.isValidElement=F,we.lazy=function(M){return{$$typeof:y,_payload:{_status:-1,_result:M},_init:K}},we.memo=function(M,Y){return{$$typeof:g,type:M,compare:Y===void 0?null:Y}},we.startTransition=function(M){var Y=D.T,W={};D.T=W;try{var J=M(),ee=D.S;ee!==null&&ee(W,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(de,$)}catch(ve){$(ve)}finally{D.T=Y}},we.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},we.use=function(M){return D.H.use(M)},we.useActionState=function(M,Y,W){return D.H.useActionState(M,Y,W)},we.useCallback=function(M,Y){return D.H.useCallback(M,Y)},we.useContext=function(M){return D.H.useContext(M)},we.useDebugValue=function(){},we.useDeferredValue=function(M,Y){return D.H.useDeferredValue(M,Y)},we.useEffect=function(M,Y,W){var J=D.H;if(typeof W=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return J.useEffect(M,Y)},we.useId=function(){return D.H.useId()},we.useImperativeHandle=function(M,Y,W){return D.H.useImperativeHandle(M,Y,W)},we.useInsertionEffect=function(M,Y){return D.H.useInsertionEffect(M,Y)},we.useLayoutEffect=function(M,Y){return D.H.useLayoutEffect(M,Y)},we.useMemo=function(M,Y){return D.H.useMemo(M,Y)},we.useOptimistic=function(M,Y){return D.H.useOptimistic(M,Y)},we.useReducer=function(M,Y,W){return D.H.useReducer(M,Y,W)},we.useRef=function(M){return D.H.useRef(M)},we.useState=function(M){return D.H.useState(M)},we.useSyncExternalStore=function(M,Y,W){return D.H.useSyncExternalStore(M,Y,W)},we.useTransition=function(){return D.H.useTransition()},we.version="19.1.0",we}var g0;function zl(){return g0||(g0=1,sd.exports=Sw()),sd.exports}var T=zl();const Ve=_f(T),FM=vw({__proto__:null,default:Ve},[T]);var od={exports:{}},mo={},rd={exports:{}},ld={};/** 19 * @license React 20 * scheduler.production.js 21 * 22 * Copyright (c) Meta Platforms, Inc. and affiliates. 23 * 24 * This source code is licensed under the MIT license found in the 25 * LICENSE file in the root directory of this source tree. 26 */var y0;function ww(){return y0||(y0=1,function(e){function a(H,K){var $=H.length;H.push(K);e:for(;0<$;){var de=$-1>>>1,M=H[de];if(0<l(M,K))H[de]=K,H[$]=M,$=de;else break e}}function i(H){return H.length===0?null:H[0]}function o(H){if(H.length===0)return null;var K=H[0],$=H.pop();if($!==K){H[0]=$;e:for(var de=0,M=H.length,Y=M>>>1;de<Y;){var W=2*(de+1)-1,J=H[W],ee=W+1,ve=H[ee];if(0>l(J,$))ee<M&&0>l(ve,J)?(H[de]=ve,H[ee]=$,de=ee):(H[de]=J,H[W]=$,de=W);else if(ee<M&&0>l(ve,$))H[de]=ve,H[ee]=$,de=ee;else break e}}return K}function l(H,K){var $=H.sortIndex-K.sortIndex;return $!==0?$:H.id-K.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var c=Date,m=c.now();e.unstable_now=function(){return c.now()-m}}var p=[],g=[],y=1,x=null,b=3,S=!1,C=!1,E=!1,j=!1,R=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function z(H){for(var K=i(g);K!==null;){if(K.callback===null)o(g);else if(K.startTime<=H)o(g),K.sortIndex=K.expirationTime,a(p,K);else break;K=i(g)}}function D(H){if(E=!1,z(H),!C)if(i(p)!==null)C=!0,X||(X=!0,xe());else{var K=i(g);K!==null&&Ne(D,K.startTime-H)}}var X=!1,U=-1,V=5,F=-1;function Z(){return j?!0:!(e.unstable_now()-F<V)}function ge(){if(j=!1,X){var H=e.unstable_now();F=H;var K=!0;try{e:{C=!1,E&&(E=!1,N(U),U=-1),S=!0;var $=b;try{t:{for(z(H),x=i(p);x!==null&&!(x.expirationTime>H&&Z());){var de=x.callback;if(typeof de=="function"){x.callback=null,b=x.priorityLevel;var M=de(x.expirationTime<=H);if(H=e.unstable_now(),typeof M=="function"){x.callback=M,z(H),K=!0;break t}x===i(p)&&o(p),z(H)}else o(p);x=i(p)}if(x!==null)K=!0;else{var Y=i(g);Y!==null&&Ne(D,Y.startTime-H),K=!1}}break e}finally{x=null,b=$,S=!1}K=void 0}}finally{K?xe():X=!1}}}var xe;if(typeof _=="function")xe=function(){_(ge)};else if(typeof MessageChannel<"u"){var Xe=new MessageChannel,et=Xe.port2;Xe.port1.onmessage=ge,xe=function(){et.postMessage(null)}}else xe=function(){R(ge,0)};function Ne(H,K){U=R(function(){H(e.unstable_now())},K)}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(H){H.callback=null},e.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<H?Math.floor(1e3/H):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(H){switch(b){case 1:case 2:case 3:var K=3;break;default:K=b}var $=b;b=K;try{return H()}finally{b=$}},e.unstable_requestPaint=function(){j=!0},e.unstable_runWithPriority=function(H,K){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var $=b;b=H;try{return K()}finally{b=$}},e.unstable_scheduleCallback=function(H,K,$){var de=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?de+$:de):$=de,H){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=$+M,H={id:y++,callback:K,priorityLevel:H,startTime:$,expirationTime:M,sortIndex:-1},$>de?(H.sortIndex=$,a(g,H),i(p)===null&&H===i(g)&&(E?(N(U),U=-1):E=!0,Ne(D,$-de))):(H.sortIndex=M,a(p,H),C||S||(C=!0,X||(X=!0,xe()))),H},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(H){var K=b;return function(){var $=b;b=K;try{return H.apply(this,arguments)}finally{b=$}}}}(ld)),ld}var v0;function Cw(){return v0||(v0=1,rd.exports=ww()),rd.exports}var ud={exports:{}},At={};/** 27 * @license React 28 * react-dom.production.js 29 * 30 * Copyright (c) Meta Platforms, Inc. and affiliates. 31 * 32 * This source code is licensed under the MIT license found in the 33 * LICENSE file in the root directory of this source tree. 34 */var x0;function Tw(){if(x0)return At;x0=1;var e=zl();function a(p){var g="https://react.dev/errors/"+p;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)g+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+p+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var o={d:{f:i,r:function(){throw Error(a(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(p,g,y){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:x==null?null:""+x,children:p,containerInfo:g,implementation:y}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(p,g){if(p==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return At.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,At.createPortal=function(p,g){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(a(299));return u(p,g,null,y)},At.flushSync=function(p){var g=c.T,y=o.p;try{if(c.T=null,o.p=2,p)return p()}finally{c.T=g,o.p=y,o.d.f()}},At.preconnect=function(p,g){typeof p=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,o.d.C(p,g))},At.prefetchDNS=function(p){typeof p=="string"&&o.d.D(p)},At.preinit=function(p,g){if(typeof p=="string"&&g&&typeof g.as=="string"){var y=g.as,x=m(y,g.crossOrigin),b=typeof g.integrity=="string"?g.integrity:void 0,S=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;y==="style"?o.d.S(p,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:x,integrity:b,fetchPriority:S}):y==="script"&&o.d.X(p,{crossOrigin:x,integrity:b,fetchPriority:S,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},At.preinitModule=function(p,g){if(typeof p=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var y=m(g.as,g.crossOrigin);o.d.M(p,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&o.d.M(p)},At.preload=function(p,g){if(typeof p=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var y=g.as,x=m(y,g.crossOrigin);o.d.L(p,y,{crossOrigin:x,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},At.preloadModule=function(p,g){if(typeof p=="string")if(g){var y=m(g.as,g.crossOrigin);o.d.m(p,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else o.d.m(p)},At.requestFormReset=function(p){o.d.r(p)},At.unstable_batchedUpdates=function(p,g){return p(g)},At.useFormState=function(p,g,y){return c.H.useFormState(p,g,y)},At.useFormStatus=function(){return c.H.useHostTransitionStatus()},At.version="19.1.0",At}var b0;function Ew(){if(b0)return ud.exports;b0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(a){console.error(a)}}return e(),ud.exports=Tw(),ud.exports}/** 35 * @license React 36 * react-dom-client.production.js 37 * 38 * Copyright (c) Meta Platforms, Inc. and affiliates. 39 * 40 * This source code is licensed under the MIT license found in the 41 * LICENSE file in the root directory of this source tree. 42 */var S0;function _w(){if(S0)return mo;S0=1;var e=Cw(),a=zl(),i=Ew();function o(t){var n="https://react.dev/errors/"+t;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)n+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function u(t){var n=t,s=t;if(t.alternate)for(;n.return;)n=n.return;else{t=n;do n=t,(n.flags&4098)!==0&&(s=n.return),t=n.return;while(t)}return n.tag===3?s:null}function c(t){if(t.tag===13){var n=t.memoizedState;if(n===null&&(t=t.alternate,t!==null&&(n=t.memoizedState)),n!==null)return n.dehydrated}return null}function m(t){if(u(t)!==t)throw Error(o(188))}function p(t){var n=t.alternate;if(!n){if(n=u(t),n===null)throw Error(o(188));return n!==t?null:t}for(var s=t,r=n;;){var d=s.return;if(d===null)break;var f=d.alternate;if(f===null){if(r=d.return,r!==null){s=r;continue}break}if(d.child===f.child){for(f=d.child;f;){if(f===s)return m(d),t;if(f===r)return m(d),n;f=f.sibling}throw Error(o(188))}if(s.return!==r.return)s=d,r=f;else{for(var v=!1,w=d.child;w;){if(w===s){v=!0,s=d,r=f;break}if(w===r){v=!0,r=d,s=f;break}w=w.sibling}if(!v){for(w=f.child;w;){if(w===s){v=!0,s=f,r=d;break}if(w===r){v=!0,r=f,s=d;break}w=w.sibling}if(!v)throw Error(o(189))}}if(s.alternate!==r)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?t:n}function g(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t;for(t=t.child;t!==null;){if(n=g(t),n!==null)return n;t=t.sibling}return null}var y=Object.assign,x=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),N=Symbol.for("react.consumer"),_=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),ge=Symbol.iterator;function xe(t){return t===null||typeof t!="object"?null:(t=ge&&t[ge]||t["@@iterator"],typeof t=="function"?t:null)}var Xe=Symbol.for("react.client.reference");function et(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Xe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case C:return"Fragment";case j:return"Profiler";case E:return"StrictMode";case D:return"Suspense";case X:return"SuspenseList";case F:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case S:return"Portal";case _:return(t.displayName||"Context")+".Provider";case N:return(t._context.displayName||"Context")+".Consumer";case z:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case U:return n=t.displayName||null,n!==null?n:et(t.type)||"Memo";case V:n=t._payload,t=t._init;try{return et(t(n))}catch{}}return null}var Ne=Array.isArray,H=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},de=[],M=-1;function Y(t){return{current:t}}function W(t){0>M||(t.current=de[M],de[M]=null,M--)}function J(t,n){M++,de[M]=t.current,t.current=n}var ee=Y(null),ve=Y(null),se=Y(null),Ce=Y(null);function be(t,n){switch(J(se,n),J(ve,t),J(ee,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?Bg(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=Bg(n),t=Ug(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}W(ee),J(ee,t)}function Ke(){W(ee),W(ve),W(se)}function Wt(t){t.memoizedState!==null&&J(Ce,t);var n=ee.current,s=Ug(n,t.type);n!==s&&(J(ve,t),J(ee,s))}function wn(t){ve.current===t&&(W(ee),W(ve)),Ce.current===t&&(W(Ce),oo._currentValue=$)}var mn=Object.prototype.hasOwnProperty,ri=e.unstable_scheduleCallback,li=e.unstable_cancelCallback,Il=e.unstable_shouldYield,hs=e.unstable_requestPaint,$t=e.unstable_now,Qo=e.unstable_getCurrentPriorityLevel,ui=e.unstable_ImmediatePriority,ye=e.unstable_UserBlockingPriority,oe=e.unstable_NormalPriority,De=e.unstable_LowPriority,Pe=e.unstable_IdlePriority,Fe=e.log,ze=e.unstable_setDisableYieldValue,Qe=null,le=null;function Se(t){if(typeof Fe=="function"&&ze(t),le&&typeof le.setStrictMode=="function")try{le.setStrictMode(Qe,t)}catch{}}var Re=Math.clz32?Math.clz32:hn,yt=Math.log,wt=Math.LN2;function hn(t){return t>>>=0,t===0?32:31-(yt(t)/wt|0)|0}var ci=256,Zo=4194304;function za(t){var n=t&42;if(n!==0)return n;switch(t&-t){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:return 64;case 128:return 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&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Jo(t,n,s){var r=t.pendingLanes;if(r===0)return 0;var d=0,f=t.suspendedLanes,v=t.pingedLanes;t=t.warmLanes;var w=r&134217727;return w!==0?(r=w&~f,r!==0?d=za(r):(v&=w,v!==0?d=za(v):s||(s=w&~t,s!==0&&(d=za(s))))):(w=r&~f,w!==0?d=za(w):v!==0?d=za(v):s||(s=r&~t,s!==0&&(d=za(s)))),d===0?0:n!==0&&n!==d&&(n&f)===0&&(f=d&-d,s=n&-n,f>=s||f===32&&(s&4194048)!==0)?n:d}function ps(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function a1(t,n){switch(t){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32: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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Cm(){var t=ci;return ci<<=1,(ci&4194048)===0&&(ci=256),t}function Tm(){var t=Zo;return Zo<<=1,(Zo&62914560)===0&&(Zo=4194304),t}function Yl(t){for(var n=[],s=0;31>s;s++)n.push(t);return n}function gs(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function i1(t,n,s,r,d,f){var v=t.pendingLanes;t.pendingLanes=s,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=s,t.entangledLanes&=s,t.errorRecoveryDisabledLanes&=s,t.shellSuspendCounter=0;var w=t.entanglements,A=t.expirationTimes,P=t.hiddenUpdates;for(s=v&~s;0<s;){var G=31-Re(s),Q=1<<G;w[G]=0,A[G]=-1;var q=P[G];if(q!==null)for(P[G]=null,G=0;G<q.length;G++){var B=q[G];B!==null&&(B.lane&=-536870913)}s&=~Q}r!==0&&Em(t,r,0),f!==0&&d===0&&t.tag!==0&&(t.suspendedLanes|=f&~(v&~n))}function Em(t,n,s){t.pendingLanes|=n,t.suspendedLanes&=~n;var r=31-Re(n);t.entangledLanes|=n,t.entanglements[r]=t.entanglements[r]|1073741824|s&4194090}function _m(t,n){var s=t.entangledLanes|=n;for(t=t.entanglements;s;){var r=31-Re(s),d=1<<r;d&n|t[r]&n&&(t[r]|=n),s&=~d}}function Xl(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Kl(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Rm(){var t=K.p;return t!==0?t:(t=window.event,t===void 0?32:o0(t.type))}function s1(t,n){var s=K.p;try{return K.p=t,n()}finally{K.p=s}}var na=Math.random().toString(36).slice(2),Rt="__reactFiber$"+na,Lt="__reactProps$"+na,di="__reactContainer$"+na,Ql="__reactEvents$"+na,o1="__reactListeners$"+na,r1="__reactHandles$"+na,jm="__reactResources$"+na,ys="__reactMarker$"+na;function Zl(t){delete t[Rt],delete t[Lt],delete t[Ql],delete t[o1],delete t[r1]}function fi(t){var n=t[Rt];if(n)return n;for(var s=t.parentNode;s;){if(n=s[di]||s[Rt]){if(s=n.alternate,n.child!==null||s!==null&&s.child!==null)for(t=Fg(t);t!==null;){if(s=t[Rt])return s;t=Fg(t)}return n}t=s,s=t.parentNode}return null}function mi(t){if(t=t[Rt]||t[di]){var n=t.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return t}return null}function vs(t){var n=t.tag;if(n===5||n===26||n===27||n===6)return t.stateNode;throw Error(o(33))}function hi(t){var n=t[jm];return n||(n=t[jm]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function vt(t){t[ys]=!0}var Am=new Set,Nm={};function La(t,n){pi(t,n),pi(t+"Capture",n)}function pi(t,n){for(Nm[t]=n,t=0;t<n.length;t++)Am.add(n[t])}var l1=RegExp("^[: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]*$"),Mm={},km={};function u1(t){return mn.call(km,t)?!0:mn.call(Mm,t)?!1:l1.test(t)?km[t]=!0:(Mm[t]=!0,!1)}function Wo(t,n,s){if(u1(n))if(s===null)t.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":t.removeAttribute(n);return;case"boolean":var r=n.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){t.removeAttribute(n);return}}t.setAttribute(n,""+s)}}function er(t,n,s){if(s===null)t.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttribute(n,""+s)}}function On(t,n,s,r){if(r===null)t.removeAttribute(s);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(s);return}t.setAttributeNS(n,s,""+r)}}var Jl,Dm;function gi(t){if(Jl===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);Jl=n&&n[1]||"",Dm=-1<s.stack.indexOf(` 43 at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return` 44`+Jl+t+Dm}var Wl=!1;function eu(t,n){if(!t||Wl)return"";Wl=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(n){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(B){var q=B}Reflect.construct(t,[],Q)}else{try{Q.call()}catch(B){q=B}t.call(Q.prototype)}}else{try{throw Error()}catch(B){q=B}(Q=t())&&typeof Q.catch=="function"&&Q.catch(function(){})}}catch(B){if(B&&q&&typeof B.stack=="string")return[B.stack,q.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var d=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");d&&d.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=r.DetermineComponentFrameRoot(),v=f[0],w=f[1];if(v&&w){var A=v.split(` 45`),P=w.split(` 46`);for(d=r=0;r<A.length&&!A[r].includes("DetermineComponentFrameRoot");)r++;for(;d<P.length&&!P[d].includes("DetermineComponentFrameRoot");)d++;if(r===A.length||d===P.length)for(r=A.length-1,d=P.length-1;1<=r&&0<=d&&A[r]!==P[d];)d--;for(;1<=r&&0<=d;r--,d--)if(A[r]!==P[d]){if(r!==1||d!==1)do if(r--,d--,0>d||A[r]!==P[d]){var G=` 47`+A[r].replace(" at new "," at ");return t.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",t.displayName)),G}while(1<=r&&0<=d);break}}}finally{Wl=!1,Error.prepareStackTrace=s}return(s=t?t.displayName||t.name:"")?gi(s):""}function c1(t){switch(t.tag){case 26:case 27:case 5:return gi(t.type);case 16:return gi("Lazy");case 13:return gi("Suspense");case 19:return gi("SuspenseList");case 0:case 15:return eu(t.type,!1);case 11:return eu(t.type.render,!1);case 1:return eu(t.type,!0);case 31:return gi("Activity");default:return""}}function Om(t){try{var n="";do n+=c1(t),t=t.return;while(t);return n}catch(s){return` 48Error generating stack: `+s.message+` 49`+s.stack}}function en(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function zm(t){var n=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function d1(t){var n=zm(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),r=""+t[n];if(!t.hasOwnProperty(n)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,f=s.set;return Object.defineProperty(t,n,{configurable:!0,get:function(){return d.call(this)},set:function(v){r=""+v,f.call(this,v)}}),Object.defineProperty(t,n,{enumerable:s.enumerable}),{getValue:function(){return r},setValue:function(v){r=""+v},stopTracking:function(){t._valueTracker=null,delete t[n]}}}}function tr(t){t._valueTracker||(t._valueTracker=d1(t))}function Lm(t){if(!t)return!1;var n=t._valueTracker;if(!n)return!0;var s=n.getValue(),r="";return t&&(r=zm(t)?t.checked?"true":"false":t.value),t=r,t!==s?(n.setValue(t),!0):!1}function nr(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var f1=/[\n"\\]/g;function tn(t){return t.replace(f1,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function tu(t,n,s,r,d,f,v,w){t.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.type=v:t.removeAttribute("type"),n!=null?v==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+en(n)):t.value!==""+en(n)&&(t.value=""+en(n)):v!=="submit"&&v!=="reset"||t.removeAttribute("value"),n!=null?nu(t,v,en(n)):s!=null?nu(t,v,en(s)):r!=null&&t.removeAttribute("value"),d==null&&f!=null&&(t.defaultChecked=!!f),d!=null&&(t.checked=d&&typeof d!="function"&&typeof d!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?t.name=""+en(w):t.removeAttribute("name")}function Vm(t,n,s,r,d,f,v,w){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.type=f),n!=null||s!=null){if(!(f!=="submit"&&f!=="reset"||n!=null))return;s=s!=null?""+en(s):"",n=n!=null?""+en(n):s,w||n===t.value||(t.value=n),t.defaultValue=n}r=r??d,r=typeof r!="function"&&typeof r!="symbol"&&!!r,t.checked=w?t.checked:!!r,t.defaultChecked=!!r,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(t.name=v)}function nu(t,n,s){n==="number"&&nr(t.ownerDocument)===t||t.defaultValue===""+s||(t.defaultValue=""+s)}function yi(t,n,s,r){if(t=t.options,n){n={};for(var d=0;d<s.length;d++)n["$"+s[d]]=!0;for(s=0;s<t.length;s++)d=n.hasOwnProperty("$"+t[s].value),t[s].selected!==d&&(t[s].selected=d),d&&r&&(t[s].defaultSelected=!0)}else{for(s=""+en(s),n=null,d=0;d<t.length;d++){if(t[d].value===s){t[d].selected=!0,r&&(t[d].defaultSelected=!0);return}n!==null||t[d].disabled||(n=t[d])}n!==null&&(n.selected=!0)}}function Pm(t,n,s){if(n!=null&&(n=""+en(n),n!==t.value&&(t.value=n),s==null)){t.defaultValue!==n&&(t.defaultValue=n);return}t.defaultValue=s!=null?""+en(s):""}function qm(t,n,s,r){if(n==null){if(r!=null){if(s!=null)throw Error(o(92));if(Ne(r)){if(1<r.length)throw Error(o(93));r=r[0]}s=r}s==null&&(s=""),n=s}s=en(n),t.defaultValue=s,r=t.textContent,r===s&&r!==""&&r!==null&&(t.value=r)}function vi(t,n){if(n){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=n;return}}t.textContent=n}var m1=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Bm(t,n,s){var r=n.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?r?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="":r?t.setProperty(n,s):typeof s!="number"||s===0||m1.has(n)?n==="float"?t.cssFloat=s:t[n]=(""+s).trim():t[n]=s+"px"}function Um(t,n,s){if(n!=null&&typeof n!="object")throw Error(o(62));if(t=t.style,s!=null){for(var r in s)!s.hasOwnProperty(r)||n!=null&&n.hasOwnProperty(r)||(r.indexOf("--")===0?t.setProperty(r,""):r==="float"?t.cssFloat="":t[r]="");for(var d in n)r=n[d],n.hasOwnProperty(d)&&s[d]!==r&&Bm(t,d,r)}else for(var f in n)n.hasOwnProperty(f)&&Bm(t,f,n[f])}function au(t){if(t.indexOf("-")===-1)return!1;switch(t){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 h1=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
49-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),p1=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ar(t){return p1.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var iu=null;function su(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var xi=null,bi=null;function Hm(t){var n=mi(t);if(n&&(t=n.stateNode)){var s=t[Lt]||null;e:switch(t=n.stateNode,n.type){case"input":if(tu(t,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),n=s.name,s.type==="radio"&&n!=null){for(s=t;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+tn(""+n)+'"][type="radio"]'),n=0;n<s.length;n++){var r=s[n];if(r!==t&&r.form===t.form){var d=r[Lt]||null;if(!d)throw Error(o(90));tu(r,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(n=0;n<s.length;n++)r=s[n],r.form===t.form&&Lm(r)}break e;case"textarea":Pm(t,s.value,s.defaultValue);break e;case"select":n=s.value,n!=null&&yi(t,!!s.multiple,n,!1)}}}var ou=!1;function $m(t,n,s){if(ou)return t(n,s);ou=!0;try{var r=t(n);return r}finally{if(ou=!1,(xi!==null||bi!==null)&&(Hr(),xi&&(n=xi,t=bi,bi=xi=null,Hm(n),t)))for(n=0;n<t.length;n++)Hm(t[n])}}function xs(t,n){var s=t.stateNode;if(s===null)return null;var r=s[Lt]||null;if(r===null)return null;s=r[n];e:switch(n){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)||(t=t.type,r=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!r;break e;default:t=!1}if(t)return null;if(s&&typeof s!="function")throw Error(o(231,n,typeof s));return s}var zn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ru=!1;if(zn)try{var bs={};Object.defineProperty(bs,"passive",{get:function(){ru=!0}}),window.addEventListener("test",bs,bs),window.removeEventListener("test",bs,bs)}catch{ru=!1}var aa=null,lu=null,ir=null;function Gm(){if(ir)return ir;var t,n=lu,s=n.length,r,d="value"in aa?aa.value:aa.textContent,f=d.length;for(t=0;t<s&&n[t]===d[t];t++);var v=s-t;for(r=1;r<=v&&n[s-r]===d[f-r];r++);return ir=d.slice(t,1<r?1-r:void 0)}function sr(t){var n=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),32<=t||t===13?t:0}function or(){return!0}function Fm(){return!1}function Vt(t){function n(s,r,d,f,v){this._reactName=s,this._targetInst=d,this.type=r,this.nativeEvent=f,this.target=v,this.currentTarget=null;for(var w in t)t.hasOwnProperty(w)&&(s=t[w],this[w]=s?s(f):f[w]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?or:Fm,this.isPropagationStopped=Fm,this}return y(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=or)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=or)},persist:function(){},isPersistent:or}),n}var Va={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rr=Vt(Va),Ss=y({},Va,{view:0,detail:0}),g1=Vt(Ss),uu,cu,ws,lr=y({},Ss,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fu,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ws&&(ws&&t.type==="mousemove"?(uu=t.screenX-ws.screenX,cu=t.screenY-ws.screenY):cu=uu=0,ws=t),uu)},movementY:function(t){return"movementY"in t?t.movementY:cu}}),Im=Vt(lr),y1=y({},lr,{dataTransfer:0}),v1=Vt(y1),x1=y({},Ss,{relatedTarget:0}),du=Vt(x1),b1=y({},Va,{animationName:0,elapsedTime:0,pseudoElement:0}),S1=Vt(b1),w1=y({},Va,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),C1=Vt(w1),T1=y({},Va,{data:0}),Ym=Vt(T1),E1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_1={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"},R1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function j1(t){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(t):(t=R1[t])?!!n[t]:!1}function fu(){return j1}var A1=y({},Ss,{key:function(t){if(t.key){var n=E1[t.key]||t.key;if(n!=="Unidentified")return n}
vendor: 5,186 bytes, line 49
49return t.type==="keypress"?(t=sr(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?_1[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fu,charCode:function(t){return t.type==="keypress"?sr(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?sr(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),N1=Vt(A1),M1=y({},lr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xm=Vt(M1),k1=y({},Ss,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fu}),D1=Vt(k1),O1=y({},Va,{propertyName:0,elapsedTime:0,pseudoElement:0}),z1=Vt(O1),L1=y({},lr,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),V1=Vt(L1),P1=y({},Va,{newState:0,oldState:0}),q1=Vt(P1),B1=[9,13,27,32],mu=zn&&"CompositionEvent"in window,Cs=null;zn&&"documentMode"in document&&(Cs=document.documentMode);var U1=zn&&"TextEvent"in window&&!Cs,Km=zn&&(!mu||Cs&&8<Cs&&11>=Cs),Qm=" ",Zm=!1;function Jm(t,n){switch(t){case"keyup":return B1.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wm(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Si=!1;function H1(t,n){switch(t){case"compositionend":return Wm(n);case"keypress":return n.which!==32?null:(Zm=!0,Qm);case"textInput":return t=n.data,t===Qm&&Zm?null:t;default:return null}}function $1(t,n){if(Si)return t==="compositionend"||!mu&&Jm(t,n)?(t=Gm(),ir=lu=aa=null,Si=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Km&&n.locale!=="ko"?null:n.data;default:return null}}var G1={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 eh(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!G1[t.type]:n==="textarea"}function th(t,n,s,r){xi?bi?bi.push(r):bi=[r]:xi=r,n=Xr(n,"onChange"),0<n.length&&(s=new rr("onChange","change",null,s,r),t.push({event:s,listeners:n}))}var Ts=null,Es=null;function F1(t){zg(t,0)}function ur(t){var n=vs(t);if(Lm(n))return t}function nh(t,n){if(t==="change")return n}var ah=!1;if(zn){var hu;if(zn){var pu="oninput"in document;if(!pu){var ih=document.createElement("div");ih.setAttribute("oninput","return;"),pu=typeof ih.oninput=="function"}hu=pu}else hu=!1;ah=hu&&(!document.documentMode||9<document.documentMode)}function sh(){Ts&&(Ts.detachEvent("onpropertychange",oh),Es=Ts=null)}function oh(t){if(t.propertyName==="value"&&ur(Es)){var n=[];th(n,Es,t,su(t)),$m(F1,n)}}function I1(t,n,s){t==="focusin"?(sh(),Ts=n,Es=s,Ts.attachEvent("onpropertychange",oh)):t==="focusout"&&sh()}function Y1(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ur(Es)}function X1(t,n){if(t==="click")return ur(n)}function K1(t,n){if(t==="input"||t==="change")return ur(n)}function Q1(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Gt=typeof Object.is=="function"?Object.is:Q1;function _s(t,n){if(Gt(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var s=Object.keys(t),r=Object.keys(n);if(s.length!==r.length)return!1;for(r=0;r<s.length;r++){var d=s[r];if(!mn.call(n,d)||!Gt(t[d],n[d]))return!1}return!0}function rh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function lh(t,n){var s=rh(t);t=0;for(var r;s;){if(s.nodeType===3){if(r=t+s.textContent.length,t<=n&&r>=n)return{node:s,offset:n-t};t=r}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=rh(s)}}function uh(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?uh(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function ch(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=nr(t.document);n instanceof t.HTMLIFrameElement;){try{var s=typeof n.contentWindow.location.href=="string"}catch{s=!1}if(s)t=n.contentWindow;else break;n=nr(t.document)}return n}function gu(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var Z1=zn&&"documentMode"in document&&11>=document.documentMode,wi=null,yu=null,Rs=null,vu=!1;function dh(t,n,s){var r=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;vu||wi==null||wi!==nr(r)||(r=wi,"selectionStart"in r&&gu(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: 97,795 bytes, line 49
49sNode:r.focusNode,focusOffset:r.focusOffset}),Rs&&_s(Rs,r)||(Rs=r,r=Xr(yu,"onSelect"),0<r.length&&(n=new rr("onSelect","select",null,n,s),t.push({event:n,listeners:r}),n.target=wi)))}function Pa(t,n){var s={};return s[t.toLowerCase()]=n.toLowerCase(),s["Webkit"+t]="webkit"+n,s["Moz"+t]="moz"+n,s}var Ci={animationend:Pa("Animation","AnimationEnd"),animationiteration:Pa("Animation","AnimationIteration"),animationstart:Pa("Animation","AnimationStart"),transitionrun:Pa("Transition","TransitionRun"),transitionstart:Pa("Transition","TransitionStart"),transitioncancel:Pa("Transition","TransitionCancel"),transitionend:Pa("Transition","TransitionEnd")},xu={},fh={};zn&&(fh=document.createElement("div").style,"AnimationEvent"in window||(delete Ci.animationend.animation,delete Ci.animationiteration.animation,delete Ci.animationstart.animation),"TransitionEvent"in window||delete Ci.transitionend.transition);function qa(t){if(xu[t])return xu[t];if(!Ci[t])return t;var n=Ci[t],s;for(s in n)if(n.hasOwnProperty(s)&&s in fh)return xu[t]=n[s];return t}var mh=qa("animationend"),hh=qa("animationiteration"),ph=qa("animationstart"),J1=qa("transitionrun"),W1=qa("transitionstart"),eS=qa("transitioncancel"),gh=qa("transitionend"),yh=new Map,bu="abort auxClick beforeToggle 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(" ");bu.push("scrollEnd");function pn(t,n){yh.set(t,n),La(n,[t])}var vh=new WeakMap;function nn(t,n){if(typeof t=="object"&&t!==null){var s=vh.get(t);return s!==void 0?s:(n={value:t,source:n,stack:Om(n)},vh.set(t,n),n)}return{value:t,source:n,stack:Om(n)}}var an=[],Ti=0,Su=0;function cr(){for(var t=Ti,n=Su=Ti=0;n<t;){var s=an[n];an[n++]=null;var r=an[n];an[n++]=null;var d=an[n];an[n++]=null;var f=an[n];if(an[n++]=null,r!==null&&d!==null){var v=r.pending;v===null?d.next=d:(d.next=v.next,v.next=d),r.pending=d}f!==0&&xh(s,d,f)}}function dr(t,n,s,r){an[Ti++]=t,an[Ti++]=n,an[Ti++]=s,an[Ti++]=r,Su|=r,t.lanes|=r,t=t.alternate,t!==null&&(t.lanes|=r)}function wu(t,n,s,r){return dr(t,n,s,r),fr(t)}function Ei(t,n){return dr(t,null,null,n),fr(t)}function xh(t,n,s){t.lanes|=s;var r=t.alternate;r!==null&&(r.lanes|=s);for(var d=!1,f=t.return;f!==null;)f.childLanes|=s,r=f.alternate,r!==null&&(r.childLanes|=s),f.tag===22&&(t=f.stateNode,t===null||t._visibility&1||(d=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,d&&n!==null&&(d=31-Re(s),t=f.hiddenUpdates,r=t[d],r===null?t[d]=[n]:r.push(n),n.lane=s|536870912),f):null}function fr(t){if(50<Js)throw Js=0,jc=null,Error(o(185));for(var n=t.return;n!==null;)t=n,n=t.return;return t.tag===3?t.stateNode:null}var _i={};function tS(t,n,s,r){this.tag=t,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,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 Ft(t,n,s,r){return new tS(t,n,s,r)}function Cu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Ln(t,n){var s=t.alternate;return s===null?(s=Ft(t.tag,n,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s.alternate=t,t.alternate=s):(s.pendingProps=n,s.type=t.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=t.flags&65011712,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue,n=t.dependencies,s.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s.refCleanup=t.refCleanup,s}function bh(t,n){t.flags&=65011714;var s=t.alternate;return s===null?(t.childLanes=0,t.lanes=n,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=s.childLanes,t.lanes=s.lanes,t.child=s.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=s.memoizedProps,t.memoizedState=s.memoizedState,t.updateQueue=s.updateQueue,t.type=s.type,n=s.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t}function mr(t,n,s,r,d,f){var v=0;if(r=t,typeof t=="function")Cu(t)&&(v=1);else if(typeof t=="string")v=aw(t,s,ee.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case F:return t=Ft(31,s,n,d),t.elementType=F,t.lanes=f,t;case C:return Ba(s.children,d,f,n);case E:v=8,d|=24;break;case j:return t=Ft(12,s,n,d|2),t.elementType=j,t.lanes=f,t;case D:return t=Ft(13,s,n,d),t.elementType=D,t.lanes=f,t;case X:return t=Ft(19,s,n,d),t.elementType=X,t.lanes=f,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case R:case _:v=10;break e;case N:v=9;break e;case z:v=11;break e;case U:v=14;break e;case V:v=16,r=null;break e}v=29,s=Error(o(130,t===null?"null":typeof t,"")),r=null}return n=Ft(v,s,n,d),n.elementType=t,n.type=r,n.lanes=f,n}function Ba(t,n,s,r){return t=Ft(7,t,r,n),t.lanes=s,t}function Tu(t,n,s){return t=Ft(6,t,null,n),t.lanes=s,t}function Eu(t,n,s){return n=Ft(4,t.children!==null?t.children:[],t.key,n),n.lanes=s,n.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},n}var Ri=[],ji=0,hr=null,pr=0,sn=[],on=0,Ua=null,Vn=1,Pn="";function Ha(t,n){Ri[ji++]=pr,Ri[ji++]=hr,hr=t,pr=n}function Sh(t,n,s){sn[on++]=Vn,sn[on++]=Pn,sn[on++]=Ua,Ua=t;var r=Vn;t=Pn;var d=32-Re(r)-1;r&=~(1<<d),s+=1;var f=32-Re(n)+d;if(30<f){var v=d-d%5;f=(r&(1<<v)-1).toString(32),r>>=v,d-=v,Vn=1<<32-Re(n)+d|s<<d|r,Pn=f+t}else Vn=1<<f|s<<d|r,Pn=t}function _u(t){t.return!==null&&(Ha(t,1),Sh(t,1,0))}function Ru(t){for(;t===hr;)hr=Ri[--ji],Ri[ji]=null,pr=Ri[--ji],Ri[ji]=null;for(;t===Ua;)Ua=sn[--on],sn[on]=null,Pn=sn[--on],sn[on]=null,Vn=sn[--on],sn[on]=null}var Dt=null,it=null,Le=!1,$a=null,Cn=!1,ju=Error(o(519));function Ga(t){var n=Error(o(418,""));throw Ns(nn(n,t)),ju}function wh(t){var n=t.stateNode,s=t.type,r=t.memoizedProps;switch(n[Rt]=t,n[Lt]=r,s){case"dialog":Ae("cancel",n),Ae("close",n);break;case"iframe":case"object":case"embed":Ae("load",n);break;case"video":case"audio":for(s=0;s<eo.length;s++)Ae(eo[s],n);break;case"source":Ae("error",n);break;case"img":case"image":case"link":Ae("error",n),Ae("load",n);break;case"details":Ae("toggle",n);break;case"input":Ae("invalid",n),Vm(n,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),tr(n);break;case"select":Ae("invalid",n);break;case"textarea":Ae("invalid",n),qm(n,r.value,r.defaultValue,r.children),tr(n)}s=r.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||n.textContent===""+s||r.suppressHydrationWarning===!0||qg(n.textContent,s)?(r.popover!=null&&(Ae("beforetoggle",n),Ae("toggle",n)),r.onScroll!=null&&Ae("scroll",n),r.onScrollEnd!=null&&Ae("scrollend",n),r.onClick!=null&&(n.onclick=Kr),n=!0):n=!1,n||Ga(t)}function Ch(t){for(Dt=t.return;Dt;)switch(Dt.tag){case 5:case 13:Cn=!1;return;case 27:case 3:Cn=!0;return;default:Dt=Dt.return}}function js(t){if(t!==Dt)return!1;if(!Le)return Ch(t),Le=!0,!1;var n=t.tag,s;if((s=n!==3&&n!==27)&&((s=n===5)&&(s=t.type,s=!(s!=="form"&&s!=="button")||Gc(t.type,t.memoizedProps)),s=!s),s&&it&&Ga(t),Ch(t),n===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));e:{for(t=t.nextSibling,n=0;t;){if(t.nodeType===8)if(s=t.data,s==="/$"){if(n===0){it=yn(t.nextSibling);break e}n--}else s!=="$"&&s!=="$!"&&s!=="$?"||n++;t=t.nextSibling}it=null}}else n===27?(n=it,xa(t.type)?(t=Xc,Xc=null,it=t):it=n):it=Dt?yn(t.stateNode.nextSibling):null;return!0}function As(){it=Dt=null,Le=!1}function Th(){var t=$a;return t!==null&&(Bt===null?Bt=t:Bt.push.apply(Bt,t),$a=null),t}function Ns(t){$a===null?$a=[t]:$a.push(t)}var Au=Y(null),Fa=null,qn=null;function ia(t,n,s){J(Au,n._currentValue),n._currentValue=s}function Bn(t){t._currentValue=Au.current,W(Au)}function Nu(t,n,s){for(;t!==null;){var r=t.alternate;if((t.childLanes&n)!==n?(t.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),t===s)break;t=t.return}}function Mu(t,n,s,r){var d=t.child;for(d!==null&&(d.return=t);d!==null;){var f=d.dependencies;if(f!==null){var v=d.child;f=f.firstContext;e:for(;f!==null;){var w=f;f=d;for(var A=0;A<n.length;A++)if(w.context===n[A]){f.lanes|=s,w=f.alternate,w!==null&&(w.lanes|=s),Nu(f.return,s,t),r||(v=null);break e}f=w.next}}else if(d.tag===18){if(v=d.return,v===null)throw Error(o(341));v.lanes|=s,f=v.alternate,f!==null&&(f.lanes|=s),Nu(v,s,t),v=null}else v=d.child;if(v!==null)v.return=d;else for(v=d;v!==null;){if(v===t){v=null;break}if(d=v.sibling,d!==null){d.return=v.return,v=d;break}v=v.return}d=v}}function Ms(t,n,s,r){t=null;for(var d=n,f=!1;d!==null;){if(!f){if((d.flags&524288)!==0)f=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var v=d.alternate;if(v===null)throw Error(o(387));if(v=v.memoizedProps,v!==null){var w=d.type;Gt(d.pendingProps.value,v.value)||(t!==null?t.push(w):t=[w])}}else if(d===Ce.current){if(v=d.alternate,v===null)throw Error(o(387));v.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(t!==null?t.push(oo):t=[oo])}d=d.return}t!==null&&Mu(n,t,s,r),n.flags|=262144}function gr(t){for(t=t.firstContext;t!==null;){if(!Gt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ia(t){Fa=t,qn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function jt(t){return Eh(Fa,t)}function yr(t,n){return Fa===null&&Ia(t),Eh(t,n)}function Eh(t,n){var s=n._currentValue;if(n={context:n,memoizedValue:s,next:null},qn===null){if(t===null)throw Error(o(308));qn=n,t.dependencies={lanes:0,firstContext:n},t.flags|=524288}else qn=qn.next=n;return s}var nS=typeof AbortController<"u"?AbortController:function(){var t=[],n=this.signal={aborted:!1,addEventListener:function(s,r){t.push(r)}};this.abort=function(){n.aborted=!0,t.forEach(function(s){return s()})}},aS=e.unstable_scheduleCallback,iS=e.unstable_NormalPriority,ht={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ku(){return{controller:new nS,data:new Map,refCount:0}}function ks(t){t.refCount--,t.refCount===0&&aS(iS,function(){t.controller.abort()})}var Ds=null,Du=0,Ai=0,Ni=null;function sS(t,n){if(Ds===null){var s=Ds=[];Du=0,Ai=zc(),Ni={status:"pending",value:void 0,then:function(r){s.push(r)}}}return Du++,n.then(_h,_h),n}function _h(){if(--Du===0&&Ds!==null){Ni!==null&&(Ni.status="fulfilled");var t=Ds;Ds=null,Ai=0,Ni=null;for(var n=0;n<t.length;n++)(0,t[n])()}}function oS(t,n){var s=[],r={status:"pending",value:null,reason:null,then:function(d){s.push(d)}};return t.then(function(){r.status="fulfilled",r.value=n;for(var d=0;d<s.length;d++)(0,s[d])(n)},function(d){for(r.status="rejected",r.reason=d,d=0;d<s.length;d++)(0,s[d])(void 0)}),r}var Rh=H.S;H.S=function(t,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&sS(t,n),Rh!==null&&Rh(t,n)};var Ya=Y(null);function Ou(){var t=Ya.current;return t!==null?t:Ye.pooledCache}function vr(t,n){n===null?J(Ya,Ya.current):J(Ya,n.pool)}function jh(){var t=Ou();return t===null?null:{parent:ht._currentValue,pool:t}}var Os=Error(o(460)),Ah=Error(o(474)),xr=Error(o(542)),zu={then:function(){}};function Nh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function br(){}function Mh(t,n,s){switch(s=t[s],s===void 0?t.push(n):s!==n&&(n.then(br,br),n=s),n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Dh(t),t;default:if(typeof n.status=="string")n.then(br,br);else{if(t=Ye,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=n,t.status="pending",t.then(function(r){if(n.status==="pending"){var d=n;d.status="fulfilled",d.value=r}},function(r){if(n.status==="pending"){var d=n;d.status="rejected",d.reason=r}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw t=n.reason,Dh(t),t}throw zs=n,Os}}var zs=null;function kh(){if(zs===null)throw Error(o(459));var t=zs;return zs=null,t}function Dh(t){if(t===Os||t===xr)throw Error(o(483))}var sa=!1;function Lu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vu(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function oa(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ra(t,n,s){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,(qe&2)!==0){var d=r.pending;return d===null?n.next=n:(n.next=d.next,d.next=n),r.pending=n,n=fr(t),xh(t,null,s),n}return dr(t,r,n,s),fr(t)}function Ls(t,n,s){if(n=n.updateQueue,n!==null&&(n=n.shared,(s&4194048)!==0)){var r=n.lanes;r&=t.pendingLanes,s|=r,n.lanes=s,_m(t,s)}}function Pu(t,n){var s=t.updateQueue,r=t.alternate;if(r!==null&&(r=r.updateQueue,s===r)){var d=null,f=null;if(s=s.firstBaseUpdate,s!==null){do{var v={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};f===null?d=f=v:f=f.next=v,s=s.next}while(s!==null);f===null?d=f=n:f=f.next=n}else d=f=n;s={baseState:r.baseState,firstBaseUpdate:d,lastBaseUpdate:f,shared:r.shared,callbacks:r.callbacks},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=n:t.next=n,s.lastBaseUpdate=n}var qu=!1;function Vs(){if(qu){var t=Ni;if(t!==null)throw t}}function Ps(t,n,s,r){qu=!1;var d=t.updateQueue;sa=!1;var f=d.firstBaseUpdate,v=d.lastBaseUpdate,w=d.shared.pending;if(w!==null){d.shared.pending=null;var A=w,P=A.next;A.next=null,v===null?f=P:v.next=P,v=A;var G=t.alternate;G!==null&&(G=G.updateQueue,w=G.lastBaseUpdate,w!==v&&(w===null?G.firstBaseUpdate=P:w.next=P,G.lastBaseUpdate=A))}if(f!==null){var Q=d.baseState;v=0,G=P=A=null,w=f;do{var q=w.lane&-536870913,B=q!==w.lane;if(B?(Me&q)===q:(r&q)===q){q!==0&&q===Ai&&(qu=!0),G!==null&&(G=G.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});e:{var fe=t,ue=w;q=n;var $e=s;switch(ue.tag){case 1:if(fe=ue.payload,typeof fe=="function"){Q=fe.call($e,Q,q);break e}Q=fe;break e;case 3:fe.flags=fe.flags&-65537|128;case 0:if(fe=ue.payload,q=typeof fe=="function"?fe.call($e,Q,q):fe,q==null)break e;Q=y({},Q,q);break e;case 2:sa=!0}}q=w.callback,q!==null&&(t.flags|=64,B&&(t.flags|=8192),B=d.callbacks,B===null?d.callbacks=[q]:B.push(q))}else B={lane:q,tag:w.tag,payload:w.payload,callback:w.callback,next:null},G===null?(P=G=B,A=Q):G=G.next=B,v|=q;if(w=w.next,w===null){if(w=d.shared.pending,w===null)break;B=w,w=B.next,B.next=null,d.lastBaseUpdate=B,d.shared.pending=null}}while(!0);G===null&&(A=Q),d.baseState=A,d.firstBaseUpdate=P,d.lastBaseUpdate=G,f===null&&(d.shared.lanes=0),pa|=v,t.lanes=v,t.memoizedState=Q}}function Oh(t,n){if(typeof t!="function")throw Error(o(191,t));t.call(n)}function zh(t,n){var s=t.callbacks;if(s!==null)for(t.callbacks=null,t=0;t<s.length;t++)Oh(s[t],n)}var Mi=Y(null),Sr=Y(0);function Lh(t,n){t=Yn,J(Sr,t),J(Mi,n),Yn=t|n.baseLanes}function Bu(){J(Sr,Yn),J(Mi,Mi.current)}function Uu(){Yn=Sr.current,W(Mi),W(Sr)}var la=0,Te=null,Ue=null,dt=null,wr=!1,ki=!1,Xa=!1,Cr=0,qs=0,Di=null,rS=0;function lt(){throw Error(o(321))}function Hu(t,n){if(n===null)return!1;for(var s=0;s<n.length&&s<t.length;s++)if(!Gt(t[s],n[s]))return!1;return!0}function $u(t,n,s,r,d,f){return la=f,Te=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,H.H=t===null||t.memoizedState===null?xp:bp,Xa=!1,f=s(r,d),Xa=!1,ki&&(f=Ph(n,s,r,d)),Vh(t),f}function Vh(t){H.H=Ar;var n=Ue!==null&&Ue.next!==null;if(la=0,dt=Ue=Te=null,wr=!1,qs=0,Di=null,n)throw Error(o(300));t===null||xt||(t=t.dependencies,t!==null&&gr(t)&&(xt=!0))}function Ph(t,n,s,r){Te=t;var d=0;do{if(ki&&(Di=null),qs=0,ki=!1,25<=d)throw Error(o(301));if(d+=1,dt=Ue=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}H.H=hS,f=n(s,r)}while(ki);return f}function lS(){var t=H.H,n=t.useState()[0];return n=typeof n.then=="function"?Bs(n):n,t=t.useState()[0],(Ue!==null?Ue.memoizedState:null)!==t&&(Te.flags|=1024),n}function Gu(){var t=Cr!==0;return Cr=0,t}function Fu(t,n,s){n.updateQueue=t.updateQueue,n.flags&=-2053,t.lanes&=~s}function Iu(t){if(wr){for(t=t.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}wr=!1}la=0,dt=Ue=Te=null,ki=!1,qs=Cr=0,Di=null}function Pt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?Te.memoizedState=dt=t:dt=dt.next=t,dt}function ft(){if(Ue===null){var t=Te.alternate;t=t!==null?t.memoizedState:null}else t=Ue.next;var n=dt===null?Te.memoizedState:dt.next;if(n!==null)dt=n,Ue=t;else{if(t===null)throw Te.alternate===null?Error(o(467)):Error(o(310));Ue=t,t={memoizedState:Ue.memoizedState,baseState:Ue.baseState,baseQueue:Ue.baseQueue,queue:Ue.queue,next:null},dt===null?Te.memoizedState=dt=t:dt=dt.next=t}return dt}function Yu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bs(t){var n=qs;return qs+=1,Di===null&&(Di=[]),t=Mh(Di,t,n),n=Te,(dt===null?n.memoizedState:dt.next)===null&&(n=n.alternate,H.H=n===null||n.memoizedState===null?xp:bp),t}function Tr(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Bs(t);if(t.$$typeof===_)return jt(t)}throw Error(o(438,String(t)))}function Xu(t){var n=null,s=Te.updateQueue;if(s!==null&&(n=s.memoCache),n==null){var r=Te.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(n={data:r.data.map(function(d){return d.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),s===null&&(s=Yu(),Te.updateQueue=s),s.memoCache=n,s=n.data[n.index],s===void 0)for(s=n.data[n.index]=Array(t),r=0;r<t;r++)s[r]=Z;return n.index++,s}function Un(t,n){return typeof n=="function"?n(t):n}function Er(t){var n=ft();return Ku(n,Ue,t)}function Ku(t,n,s){var r=t.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=s;var d=t.baseQueue,f=r.pending;if(f!==null){if(d!==null){var v=d.next;d.next=f.next,f.next=v}n.baseQueue=d=f,r.pending=null}if(f=t.baseState,d===null)t.memoizedState=f;else{n=d.next;var w=v=null,A=null,P=n,G=!1;do{var Q=P.lane&-536870913;if(Q!==P.lane?(Me&Q)===Q:(la&Q)===Q){var q=P.revertLane;if(q===0)A!==null&&(A=A.next={lane:0,revertLane:0,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),Q===Ai&&(G=!0);else if((la&q)===q){P=P.next,q===Ai&&(G=!0);continue}else Q={lane:0,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},A===null?(w=A=Q,v=f):A=A.next=Q,Te.lanes|=q,pa|=q;Q=P.action,Xa&&s(f,Q),f=P.hasEagerState?P.eagerState:s(f,Q)}else q={lane:Q,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},A===null?(w=A=q,v=f):A=A.next=q,Te.lanes|=Q,pa|=Q;P=P.next}while(P!==null&&P!==n);if(A===null?v=f:A.next=w,!Gt(f,t.memoizedState)&&(xt=!0,G&&(s=Ni,s!==null)))throw s;t.memoizedState=f,t.baseState=v,t.baseQueue=A,r.lastRenderedState=f}return d===null&&(r.lanes=0),[t.memoizedState,r.dispatch]}function Qu(t){var n=ft(),s=n.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=t;var r=s.dispatch,d=s.pending,f=n.memoizedState;if(d!==null){s.pending=null;var v=d=d.next;do f=t(f,v.action),v=v.next;while(v!==d);Gt(f,n.memoizedState)||(xt=!0),n.memoizedState=f,n.baseQueue===null&&(n.baseState=f),s.lastRenderedState=f}return[f,r]}function qh(t,n,s){var r=Te,d=ft(),f=Le;if(f){if(s===void 0)throw Error(o(407));s=s()}else s=n();var v=!Gt((Ue||d).memoizedState,s);v&&(d.memoizedState=s,xt=!0),d=d.queue;var w=Hh.bind(null,r,d,t);if(Us(2048,8,w,[t]),d.getSnapshot!==n||v||dt!==null&&dt.memoizedState.tag&1){if(r.flags|=2048,Oi(9,_r(),Uh.bind(null,r,d,s,n),null),Ye===null)throw Error(o(349));f||(la&124)!==0||Bh(r,n,s)}return s}function Bh(t,n,s){t.flags|=16384,t={getSnapshot:n,value:s},n=Te.updateQueue,n===null?(n=Yu(),Te.updateQueue=n,n.stores=[t]):(s=n.stores,s===null?n.stores=[t]:s.push(t))}function Uh(t,n,s,r){n.value=s,n.getSnapshot=r,$h(n)&&Gh(t)}function Hh(t,n,s){return s(function(){$h(n)&&Gh(t)})}function $h(t){var n=t.getSnapshot;t=t.value;try{var s=n();return!Gt(t,s)}catch{return!0}}function Gh(t){var n=Ei(t,2);n!==null&&Qt(n,t,2)}function Zu(t){var n=Pt();if(typeof t=="function"){var s=t;if(t=s(),Xa){Se(!0);try{s()}finally{Se(!1)}}}return n.memoizedState=n.baseState=t,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:t},n}function Fh(t,n,s,r){return t.baseState=s,Ku(t,Ue,typeof r=="function"?r:Un)}function uS(t,n,s,r,d){if(jr(t))throw Error(o(485));if(t=n.action,t!==null){var f={payload:d,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){f.listeners.push(v)}};H.T!==null?s(!0):f.isTransition=!1,r(f),s=n.pending,s===null?(f.next=n.pending=f,Ih(n,f)):(f.next=s.next,n.pending=s.next=f)}}function Ih(t,n){var s=n.action,r=n.payload,d=t.state;if(n.isTransition){var f=H.T,v={};H.T=v;try{var w=s(d,r),A=H.S;A!==null&&A(v,w),Yh(t,n,w)}catch(P){Ju(t,n,P)}finally{H.T=f}}else try{f=s(d,r),Yh(t,n,f)}catch(P){Ju(t,n,P)}}function Yh(t,n,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(r){Xh(t,n,r)},function(r){return Ju(t,n,r)}):Xh(t,n,s)}function Xh(t,n,s){n.status="fulfilled",n.value=s,Kh(n),t.state=s,n=t.pending,n!==null&&(s=n.next,s===n?t.pending=null:(s=s.next,n.next=s,Ih(t,s)))}function Ju(t,n,s){var r=t.pending;if(t.pending=null,r!==null){r=r.next;do n.status="rejected",n.reason=s,Kh(n),n=n.next;while(n!==r)}t.action=null}function Kh(t){t=t.listeners;for(var n=0;n<t.length;n++)(0,t[n])()}function Qh(t,n){return n}function Zh(t,n){if(Le){var s=Ye.formState;if(s!==null){e:{var r=Te;if(Le){if(it){t:{for(var d=it,f=Cn;d.nodeType!==8;){if(!f){d=null;break t}if(d=yn(d.nextSibling),d===null){d=null;break t}}f=d.data,d=f==="F!"||f==="F"?d:null}if(d){it=yn(d.nextSibling),r=d.data==="F!";break e}}Ga(r)}r=!1}r&&(n=s[0])}}return s=Pt(),s.memoizedState=s.baseState=n,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qh,lastRenderedState:n},s.queue=r,s=gp.bind(null,Te,r),r.dispatch=s,r=Zu(!1),f=ac.bind(null,Te,!1,r.queue),r=Pt(),d={state:n,dispatch:null,action:t,pending:null},r.queue=d,s=uS.bind(null,Te,d,f,s),d.dispatch=s,r.memoizedState=t,[n,s,!1]}function Jh(t){var n=ft();return Wh(n,Ue,t)}function Wh(t,n,s){if(n=Ku(t,n,Qh)[0],t=Er(Un)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var r=Bs(n)}catch(v){throw v===Os?xr:v}else r=n;n=ft();var d=n.queue,f=d.dispatch;return s!==n.memoizedState&&(Te.flags|=2048,Oi(9,_r(),cS.bind(null,d,s),null)),[r,f,t]}function cS(t,n){t.action=n}function ep(t){var n=ft(),s=Ue;if(s!==null)return Wh(n,s,t);ft(),n=n.memoizedState,s=ft();var r=s.queue.dispatch;return s.memoizedState=t,[n,r,!1]}function Oi(t,n,s,r){return t={tag:t,create:s,deps:r,inst:n,next:null},n=Te.updateQueue,n===null&&(n=Yu(),Te.updateQueue=n),s=n.lastEffect,s===null?n.lastEffect=t.next=t:(r=s.next,s.next=t,t.next=r,n.lastEffect=t),t}function _r(){return{destroy:void 0,resource:void 0}}function tp(){return ft().memoizedState}function Rr(t,n,s,r){var d=Pt();r=r===void 0?null:r,Te.flags|=t,d.memoizedState=Oi(1|n,_r(),s,r)}function Us(t,n,s,r){var d=ft();r=r===void 0?null:r;var f=d.memoizedState.inst;Ue!==null&&r!==null&&Hu(r,Ue.memoizedState.deps)?d.memoizedState=Oi(n,f,s,r):(Te.flags|=t,d.memoizedState=Oi(1|n,f,s,r))}function np(t,n){Rr(8390656,8,t,n)}function ap(t,n){Us(2048,8,t,n)}function ip(t,n){return Us(4,2,t,n)}function sp(t,n){return Us(4,4,t,n)}function op(t,n){if(typeof n=="function"){t=t();var s=n(t);return function(){typeof s=="function"?s():n(null)}}if(n!=null)return t=t(),n.current=t,function(){n.current=null}}function rp(t,n,s){s=s!=null?s.concat([t]):null,Us(4,4,op.bind(null,n,t),s)}function Wu(){}function lp(t,n){var s=ft();n=n===void 0?null:n;var r=s.memoizedState;return n!==null&&Hu(n,r[1])?r[0]:(s.memoizedState=[t,n],t)}function up(t,n){var s=ft();n=n===void 0?null:n;var r=s.memoizedState;if(n!==null&&Hu(n,r[1]))return r[0];if(r=t(),Xa){Se(!0);try{t()}finally{Se(!1)}}return s.memoizedState=[r,n],r}function ec(t,n,s){return s===void 0||(la&1073741824)!==0?t.memoizedState=n:(t.memoizedState=s,t=fg(),Te.lanes|=t,pa|=t,s)}function cp(t,n,s,r){return Gt(s,n)?s:Mi.current!==null?(t=ec(t,s,r),Gt(t,n)||(xt=!0),t):(la&42)===0?(xt=!0,t.memoizedState=s):(t=fg(),Te.lanes|=t,pa|=t,n)}function dp(t,n,s,r,d){var f=K.p;K.p=f!==0&&8>f?f:8;var v=H.T,w={};H.T=w,ac(t,!1,n,s);try{var A=d(),P=H.S;if(P!==null&&P(w,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var G=oS(A,r);Hs(t,n,G,Kt(t))}else Hs(t,n,r,Kt(t))}catch(Q){Hs(t,n,{then:function(){},status:"rejected",reason:Q},Kt())}finally{K.p=f,H.T=v}}function dS(){}function tc(t,n,s,r){if(t.tag!==5)throw Error(o(476));var d=fp(t).queue;dp(t,d,n,$,s===null?dS:function(){return mp(t),s(r)})}function fp(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:$},next:null};var s={};return n.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:s},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function mp(t){var n=fp(t).next.queue;Hs(t,n,{},Kt())}function nc(){return jt(oo)}function hp(){return ft().memoizedState}function pp(){return ft().memoizedState}function fS(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var s=Kt();t=oa(s);var r=ra(n,t,s);r!==null&&(Qt(r,n,s),Ls(r,n,s)),n={cache:ku()},t.payload=n;return}n=n.return}}function mS(t,n,s){var r=Kt();s={lane:r,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null},jr(t)?yp(n,s):(s=wu(t,n,s,r),s!==null&&(Qt(s,t,r),vp(s,n,r)))}function gp(t,n,s){var r=Kt();Hs(t,n,s,r)}function Hs(t,n,s,r){var d={lane:r,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(jr(t))yp(n,d);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=n.lastRenderedReducer,f!==null))try{var v=n.lastRenderedState,w=f(v,s);if(d.hasEagerState=!0,d.eagerState=w,Gt(w,v))return dr(t,n,d,0),Ye===null&&cr(),!1}catch{}finally{}if(s=wu(t,n,d,r),s!==null)return Qt(s,t,r),vp(s,n,r),!0}return!1}function ac(t,n,s,r){if(r={lane:2,revertLane:zc(),action:r,hasEagerState:!1,eagerState:null,next:null},jr(t)){if(n)throw Error(o(479))}else n=wu(t,s,r,2),n!==null&&Qt(n,t,2)}function jr(t){var n=t.alternate;return t===Te||n!==null&&n===Te}function yp(t,n){ki=wr=!0;var s=t.pending;s===null?n.next=n:(n.next=s.next,s.next=n),t.pending=n}function vp(t,n,s){if((s&4194048)!==0){var r=n.lanes;r&=t.pendingLanes,s|=r,n.lanes=s,_m(t,s)}}var Ar={readContext:jt,use:Tr,useCallback:lt,useContext:lt,useEffect:lt,useImperativeHandle:lt,useLayoutEffect:lt,useInsertionEffect:lt,useMemo:lt,useReducer:lt,useRef:lt,useState:lt,useDebugValue:lt,useDeferredValue:lt,useTransition:lt,useSyncExternalStore:lt,useId:lt,useHostTransitionStatus:lt,useFormState:lt,useActionState:lt,useOptimistic:lt,useMemoCache:lt,useCacheRefresh:lt},xp={readContext:jt,use:Tr,useCallback:function(t,n){return Pt().memoizedState=[t,n===void 0?null:n],t},useContext:jt,useEffect:np,useImperativeHandle:function(t,n,s){s=s!=null?s.concat([t]):null,Rr(4194308,4,op.bind(null,n,t),s)},useLayoutEffect:function(t,n){return Rr(4194308,4,t,n)},useInsertionEffect:function(t,n){Rr(4,2,t,n)},useMemo:function(t,n){var s=Pt();n=n===void 0?null:n;var r=t();if(Xa){Se(!0);try{t()}finally{Se(!1)}}return s.memoizedState=[r,n],r},useReducer:function(t,n,s){var r=Pt();if(s!==void 0){var d=s(n);if(Xa){Se(!0);try{s(n)}finally{Se(!1)}}}else d=n;return r.memoizedState=r.baseState=d,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:d},r.queue=t,t=t.dispatch=mS.bind(null,Te,t),[r.memoizedState,t]},useRef:function(t){var n=Pt();return t={current:t},n.memoizedState=t},useState:function(t){t=Zu(t);var n=t.queue,s=gp.bind(null,Te,n);return n.dispatch=s,[t.memoizedState,s]},useDebugValue:Wu,useDeferredValue:function(t,n){var s=Pt();return ec(s,t,n)},useTransition:function(){var t=Zu(!1);return t=dp.bind(null,Te,t.queue,!0,!1),Pt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,s){var r=Te,d=Pt();if(Le){if(s===void 0)throw Error(o(407));s=s()}else{if(s=n(),Ye===null)throw Error(o(349));(Me&124)!==0||Bh(r,n,s)}d.memoizedState=s;var f={value:s,getSnapshot:n};return d.queue=f,np(Hh.bind(null,r,f,t),[t]),r.flags|=2048,Oi(9,_r(),Uh.bind(null,r,f,s,n),null),s},useId:function(){var t=Pt(),n=Ye.identifierPrefix;if(Le){var s=Pn,r=Vn;s=(r&~(1<<32-Re(r)-1)).toString(32)+s,n="«"+n+"R"+s,s=Cr++,0<s&&(n+="H"+s.toString(32)),n+="»"}else s=rS++,n="«"+n+"r"+s.toString(32)+"»";return t.memoizedState=n},useHostTransitionStatus:nc,useFormState:Zh,useActionState:Zh,useOptimistic:function(t){var n=Pt();n.memoizedState=n.baseState=t;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=s,n=ac.bind(null,Te,!0,s),s.dispatch=n,[t,n]},useMemoCache:Xu,useCacheRefresh:function(){return Pt().memoizedState=fS.bind(null,Te)}},bp={readContext:jt,use:Tr,useCallback:lp,useContext:jt,useEffect:ap,useImperativeHandle:rp,useInsertionEffect:ip,useLayoutEffect:sp,useMemo:up,useReducer:Er,useRef:tp,useState:function(){return Er(Un)},useDebugValue:Wu,useDeferredValue:function(t,n){var s=ft();return cp(s,Ue.memoizedState,t,n)},useTransition:function(){var t=Er(Un)[0],n=ft().memoizedState;return[typeof t=="boolean"?t:Bs(t),n]},useSyncExternalStore:qh,useId:hp,useHostTransitionStatus:nc,useFormState:Jh,useActionState:Jh,useOptimistic:function(t,n){var s=ft();return Fh(s,Ue,t,n)},useMemoCache:Xu,useCacheRefresh:pp},hS={readContext:jt,use:Tr,useCallback:lp,useContext:jt,useEffect:ap,useImperativeHandle:rp,useInsertionEffect:ip,useLayoutEffect:sp,useMemo:up,useReducer:Qu,useRef:tp,useState:function(){return Qu(Un)},useDebugValue:Wu,useDeferredValue:function(t,n){var s=ft();return Ue===null?ec(s,t,n):cp(s,Ue.memoizedState,t,n)},useTransition:function(){var t=Qu(Un)[0],n=ft().memoizedState;return[typeof t=="boolean"?t:Bs(t),n]},useSyncExternalStore:qh,useId:hp,useHostTransitionStatus:nc,useFormState:ep,useActionState:ep,useOptimistic:function(t,n){var s=ft();return Ue!==null?Fh(s,Ue,t,n):(s.baseState=t,[t,s.queue.dispatch])},useMemoCache:Xu,useCacheRefresh:pp},zi=null,$s=0;function Nr(t){var n=$s;return $s+=1,zi===null&&(zi=[]),Mh(zi,t,n)}function Gs(t,n){n=n.props.ref,t.ref=n!==void 0?n:null}function Mr(t,n){throw n.$$typeof===x?Error(o(525)):(t=Object.prototype.toString.call(n),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)))}function Sp(t){var n=t._init;return n(t._payload)}function wp(t){function n(O,k){if(t){var L=O.deletions;L===null?(O.deletions=[k],O.flags|=16):L.push(k)}}function s(O,k){if(!t)return null;for(;k!==null;)n(O,k),k=k.sibling;return null}function r(O){for(var k=new Map;O!==null;)O.key!==null?k.set(O.key,O):k.set(O.index,O),O=O.sibling;return k}function d(O,k){return O=Ln(O,k),O.index=0,O.sibling=null,O}function f(O,k,L){return O.index=L,t?(L=O.alternate,L!==null?(L=L.index,L<k?(O.flags|=67108866,k):L):(O.flags|=67108866,k)):(O.flags|=1048576,k)}function v(O){return t&&O.alternate===null&&(O.flags|=67108866),O}function w(O,k,L,I){return k===null||k.tag!==6?(k=Tu(L,O.mode,I),k.return=O,k):(k=d(k,L),k.return=O,k)}function A(O,k,L,I){var ne=L.type;return ne===C?G(O,k,L.props.children,I,L.key):k!==null&&(k.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===V&&Sp(ne)===k.type)?(k=d(k,L.props),Gs(k,L),k.return=O,k):(k=mr(L.type,L.key,L.props,null,O.mode,I),Gs(k,L),k.return=O,k)}function P(O,k,L,I){return k===null||k.tag!==4||k.stateNode.containerInfo!==L.containerInfo||k.stateNode.implementation!==L.implementation?(k=Eu(L,O.mode,I),k.return=O,k):(k=d(k,L.children||[]),k.return=O,k)}function G(O,k,L,I,ne){return k===null||k.tag!==7?(k=Ba(L,O.mode,I,ne),k.return=O,k):(k=d(k,L),k.return=O,k)}function Q(O,k,L){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return k=Tu(""+k,O.mode,L),k.return=O,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case b:return L=mr(k.type,k.key,k.props,null,O.mode,L),Gs(L,k),L.return=O,L;case S:return k=Eu(k,O.mode,L),k.return=O,k;case V:var I=k._init;return k=I(k._payload),Q(O,k,L)}if(Ne(k)||xe(k))return k=Ba(k,O.mode,L,null),k.return=O,k;if(typeof k.then=="function")return Q(O,Nr(k),L);if(k.$$typeof===_)return Q(O,yr(O,k),L);Mr(O,k)}return null}function q(O,k,L,I){var ne=k!==null?k.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return ne!==null?null:w(O,k,""+L,I);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case b:return L.key===ne?A(O,k,L,I):null;case S:return L.key===ne?P(O,k,L,I):null;case V:return ne=L._init,L=ne(L._payload),q(O,k,L,I)}if(Ne(L)||xe(L))return ne!==null?null:G(O,k,L,I,null);if(typeof L.then=="function")return q(O,k,Nr(L),I);if(L.$$typeof===_)return q(O,k,yr(O,L),I);Mr(O,L)}return null}function B(O,k,L,I,ne){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return O=O.get(L)||null,w(k,O,""+I,ne);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case b:return O=O.get(I.key===null?L:I.key)||null,A(k,O,I,ne);case S:return O=O.get(I.key===null?L:I.key)||null,P(k,O,I,ne);case V:var _e=I._init;return I=_e(I._payload),B(O,k,L,I,ne)}if(Ne(I)||xe(I))return O=O.get(L)||null,G(k,O,I,ne,null);if(typeof I.then=="function")return B(O,k,L,Nr(I),ne);if(I.$$typeof===_)return B(O,k,L,yr(k,I),ne);Mr(k,I)}return null}function fe(O,k,L,I){for(var ne=null,_e=null,re=k,ce=k=0,St=null;re!==null&&ce<L.length;ce++){re.index>ce?(St=re,re=null):St=re.sibling;var Oe=q(O,re,L[ce],I);if(Oe===null){re===null&&(re=St);break}t&&re&&Oe.alternate===null&&n(O,re),k=f(Oe,k,ce),_e===null?ne=Oe:_e.sibling=Oe,_e=Oe,re=St}if(ce===L.length)return s(O,re),Le&&Ha(O,ce),ne;if(re===null){for(;ce<L.length;ce++)re=Q(O,L[ce],I),re!==null&&(k=f(re,k,ce),_e===null?ne=re:_e.sibling=re,_e=re);return Le&&Ha(O,ce),ne}for(re=r(re);ce<L.length;ce++)St=B(re,O,ce,L[ce],I),St!==null&&(t&&St.alternate!==null&&re.delete(St.key===null?ce:St.key),k=f(St,k,ce),_e===null?ne=St:_e.sibling=St,_e=St);return t&&re.forEach(function(Ta){return n(O,Ta)}),Le&&Ha(O,ce),ne}function ue(O,k,L,I){if(L==null)throw Error(o(151));for(var ne=null,_e=null,re=k,ce=k=0,St=null,Oe=L.next();re!==null&&!Oe.done;ce++,Oe=L.next()){re.index>ce?(St=re,re=null):St=re.sibling;var Ta=q(O,re,Oe.value,I);if(Ta===null){re===null&&(re=St);break}t&&re&&Ta.alternate===null&&n(O,re),k=f(Ta,k,ce),_e===null?ne=Ta:_e.sibling=Ta,_e=Ta,re=St}if(Oe.done)return s(O,re),Le&&Ha(O,ce),ne;if(re===null){for(;!Oe.done;ce++,Oe=L.next())Oe=Q(O,Oe.value,I),Oe!==null&&(k=f(Oe,k,ce),_e===null?ne=Oe:_e.sibling=Oe,_e=Oe);return Le&&Ha(O,ce),ne}for(re=r(re);!Oe.done;ce++,Oe=L.next())Oe=B(re,O,ce,Oe.value,I),Oe!==null&&(t&&Oe.alternate!==null&&re.delete(Oe.key===null?ce:Oe.key),k=f(Oe,k,ce),_e===null?ne=Oe:_e.sibling=Oe,_e=Oe);return t&&re.forEach(function(pw){return n(O,pw)}),Le&&Ha(O,ce),ne}function $e(O,k,L,I){if(typeof L=="object"&&L!==null&&L.type===C&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case b:e:{for(var ne=L.key;k!==null;){if(k.key===ne){if(ne=L.type,ne===C){if(k.tag===7){s(O,k.sibling),I=d(k,L.props.children),I.return=O,O=I;break e}}else if(k.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===V&&Sp(ne)===k.type){s(O,k.sibling),I=d(k,L.props),Gs(I,L),I.return=O,O=I;break e}s(O,k);break}else n(O,k);k=k.sibling}L.type===C?(I=Ba(L.props.children,O.mode,I,L.key),I.return=O,O=I):(I=mr(L.type,L.key,L.props,null,O.mode,I),Gs(I,L),I.return=O,O=I)}return v(O);case S:e:{for(ne=L.key;k!==null;){if(k.key===ne)if(k.tag===4&&k.stateNode.containerInfo===L.containerInfo&&k.stateNode.implementation===L.implementation){s(O,k.sibling),I=d(k,L.children||[]),I.return=O,O=I;break e}else{s(O,k);break}else n(O,k);k=k.sibling}I=Eu(L,O.mode,I),I.return=O,O=I}return v(O);case V:return ne=L._init,L=ne(L._payload),$e(O,k,L,I)}if(Ne(L))return fe(O,k,L,I);if(xe(L)){if(ne=xe(L),typeof ne!="function")throw Error(o(150));return L=ne.call(L),ue(O,k,L,I)}if(typeof L.then=="function")return $e(O,k,Nr(L),I);if(L.$$typeof===_)return $e(O,k,yr(O,L),I);Mr(O,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(L=""+L,k!==null&&k.tag===6?(s(O,k.sibling),I=d(k,L),I.return=O,O=I):(s(O,k),I=Tu(L,O.mode,I),I.return=O,O=I),v(O)):s(O,k)}return function(O,k,L,I){try{$s=0;var ne=$e(O,k,L,I);return zi=null,ne}catch(re){if(re===Os||re===xr)throw re;var _e=Ft(29,re,null,O.mode);return _e.lanes=I,_e.return=O,_e}finally{}}}var Li=wp(!0),Cp=wp(!1),rn=Y(null),Tn=null;function ua(t){var n=t.alternate;J(pt,pt.current&1),J(rn,t),Tn===null&&(n===null||Mi.current!==null||n.memoizedState!==null)&&(Tn=t)}function Tp(t){if(t.tag===22){if(J(pt,pt.current),J(rn,t),Tn===null){var n=t.alternate;n!==null&&n.memoizedState!==null&&(Tn=t)}}else ca()}function ca(){J(pt,pt.current),J(rn,rn.current)}function Hn(t){W(rn),Tn===t&&(Tn=null),W(pt)}var pt=Y(0);function kr(t){for(var n=t;n!==null;){if(n.tag===13){var s=n.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||Yc(s)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(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 null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function ic(t,n,s,r){n=t.memoizedState,s=s(r,n),s=s==null?n:y({},n,s),t.memoizedState=s,t.lanes===0&&(t.updateQueue.baseState=s)}var sc={enqueueSetState:function(t,n,s){t=t._reactInternals;var r=Kt(),d=oa(r);d.payload=n,s!=null&&(d.callback=s),n=ra(t,d,r),n!==null&&(Qt(n,t,r),Ls(n,t,r))},enqueueReplaceState:function(t,n,s){t=t._reactInternals;var r=Kt(),d=oa(r);d.tag=1,d.payload=n,s!=null&&(d.callback=s),n=ra(t,d,r),n!==null&&(Qt(n,t,r),Ls(n,t,r))},enqueueForceUpdate:function(t,n){t=t._reactInternals;var s=Kt(),r=oa(s);r.tag=2,n!=null&&(r.callback=n),n=ra(t,r,s),n!==null&&(Qt(n,t,s),Ls(n,t,s))}};function Ep(t,n,s,r,d,f,v){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(r,f,v):n.prototype&&n.prototype.isPureReactComponent?!_s(s,r)||!_s(d,f):!0}function _p(t,n,s,r){t=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,r),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,r),n.state!==t&&sc.enqueueReplaceState(n,n.state,null)}function Ka(t,n){var s=n;if("ref"in n){s={};for(var r in n)r!=="ref"&&(s[r]=n[r])}if(t=t.defaultProps){s===n&&(s=y({},s));for(var d in t)s[d]===void 0&&(s[d]=t[d])}return s}var Dr=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Rp(t){Dr(t)}function jp(t){console.error(t)}function Ap(t){Dr(t)}function Or(t,n){try{var s=t.onUncaughtError;s(n.value,{componentStack:n.stack})}catch(r){setTimeout(function(){throw r})}}function Np(t,n,s){try{var r=t.onCaughtError;r(s.value,{componentStack:s.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function oc(t,n,s){return s=oa(s),s.tag=3,s.payload={element:null},s.callback=function(){Or(t,n)},s}function Mp(t){return t=oa(t),t.tag=3,t}function kp(t,n,s,r){var d=s.type.getDerivedStateFromError;if(typeof d=="function"){var f=r.value;t.payload=function(){return d(f)},t.callback=function(){Np(n,s,r)}}var v=s.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(t.callback=function(){Np(n,s,r),typeof d!="function"&&(ga===null?ga=new Set([this]):ga.add(this));var w=r.stack;this.componentDidCatch(r.value,{componentStack:w!==null?w:""})})}function pS(t,n,s,r,d){if(s.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(n=s.alternate,n!==null&&Ms(n,s,d,!0),s=rn.current,s!==null){switch(s.tag){case 13:return Tn===null?Nc():s.alternate===null&&st===0&&(st=3),s.flags&=-257,s.flags|=65536,s.lanes=d,r===zu?s.flags|=16384:(n=s.updateQueue,n===null?s.updateQueue=new Set([r]):n.add(r),kc(t,r,d)),!1;case 22:return s.flags|=65536,r===zu?s.flags|=16384:(n=s.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([r])},s.updateQueue=n):(s=n.retryQueue,s===null?n.retryQueue=new Set([r]):s.add(r)),kc(t,r,d)),!1}throw Error(o(435,s.tag))}return kc(t,r,d),Nc(),!1}if(Le)return n=rn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=d,r!==ju&&(t=Error(o(422),{cause:r}),Ns(nn(t,s)))):(r!==ju&&(n=Error(o(423),{cause:r}),Ns(nn(n,s))),t=t.current.alternate,t.flags|=65536,d&=-d,t.lanes|=d,r=nn(r,s),d=oc(t.stateNode,r,d),Pu(t,d),st!==4&&(st=2)),!1;var f=Error(o(520),{cause:r});if(f=nn(f,s),Zs===null?Zs=[f]:Zs.push(f),st!==4&&(st=2),n===null)return!0;r=nn(r,s),s=n;do{switch(s.tag){case 3:return s.flags|=65536,t=d&-d,s.lanes|=t,t=oc(s.stateNode,r,t),Pu(s,t),!1;case 1:if(n=s.type,f=s.stateNode,(s.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(ga===null||!ga.has(f))))return s.flags|=65536,d&=-d,s.lanes|=d,d=Mp(d),kp(d,t,s,r),Pu(s,d),!1}s=s.return}while(s!==null);return!1}var Dp=Error(o(461)),xt=!1;function Ct(t,n,s,r){n.child=t===null?Cp(n,null,s,r):Li(n,t.child,s,r)}function Op(t,n,s,r,d){s=s.render;var f=n.ref;if("ref"in r){var v={};for(var w in r)w!=="ref"&&(v[w]=r[w])}else v=r;return Ia(n),r=$u(t,n,s,v,f,d),w=Gu(),t!==null&&!xt?(Fu(t,n,d),$n(t,n,d)):(Le&&w&&_u(n),n.flags|=1,Ct(t,n,r,d),n.child)}function zp(t,n,s,r,d){if(t===null){var f=s.type;return typeof f=="function"&&!Cu(f)&&f.defaultProps===void 0&&s.compare===null?(n.tag=15,n.type=f,Lp(t,n,f,r,d)):(t=mr(s.type,null,r,n,n.mode,d),t.ref=n.ref,t.return=n,n.child=t)}if(f=t.child,!hc(t,d)){var v=f.memoizedProps;if(s=s.compare,s=s!==null?s:_s,s(v,r)&&t.ref===n.ref)return $n(t,n,d)}return n.flags|=1,t=Ln(f,r),t.ref=n.ref,t.return=n,n.child=t}function Lp(t,n,s,r,d){if(t!==null){var f=t.memoizedProps;if(_s(f,r)&&t.ref===n.ref)if(xt=!1,n.pendingProps=r=f,hc(t,d))(t.flags&131072)!==0&&(xt=!0);else return n.lanes=t.lanes,$n(t,n,d)}return rc(t,n,s,r,d)}function Vp(t,n,s){var r=n.pendingProps,d=r.children,f=t!==null?t.memoizedState:null;if(r.mode==="hidden"){if((n.flags&128)!==0){if(r=f!==null?f.baseLanes|s:s,t!==null){for(d=n.child=t.child,f=0;d!==null;)f=f|d.lanes|d.childLanes,d=d.sibling;n.childLanes=f&~r}else n.childLanes=0,n.child=null;return Pp(t,n,r,s)}if((s&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},t!==null&&vr(n,f!==null?f.cachePool:null),f!==null?Lh(n,f):Bu(),Tp(n);else return n.lanes=n.childLanes=536870912,Pp(t,n,f!==null?f.baseLanes|s:s,s)}else f!==null?(vr(n,f.cachePool),Lh(n,f),ca(),n.memoizedState=null):(t!==null&&vr(n,null),Bu(),ca());return Ct(t,n,d,s),n.child}function Pp(t,n,s,r){var d=Ou();return d=d===null?null:{parent:ht._currentValue,pool:d},n.memoizedState={baseLanes:s,cachePool:d},t!==null&&vr(n,null),Bu(),Tp(n),t!==null&&Ms(t,n,r,!0),null}function zr(t,n){var s=n.ref;if(s===null)t!==null&&t.ref!==null&&(n.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(o(284));(t===null||t.ref!==s)&&(n.flags|=4194816)}}function rc(t,n,s,r,d){return Ia(n),s=$u(t,n,s,r,void 0,d),r=Gu(),t!==null&&!xt?(Fu(t,n,d),$n(t,n,d)):(Le&&r&&_u(n),n.flags|=1,Ct(t,n,s,d),n.child)}function qp(t,n,s,r,d,f){return Ia(n),n.updateQueue=null,s=Ph(n,r,s,d),Vh(t),r=Gu(),t!==null&&!xt?(Fu(t,n,f),$n(t,n,f)):(Le&&r&&_u(n),n.flags|=1,Ct(t,n,s,f),n.child)}function Bp(t,n,s,r,d){if(Ia(n),n.stateNode===null){var f=_i,v=s.contextType;typeof v=="object"&&v!==null&&(f=jt(v)),f=new s(r,f),n.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=sc,n.stateNode=f,f._reactInternals=n,f=n.stateNode,f.props=r,f.state=n.memoizedState,f.refs={},Lu(n),v=s.contextType,f.context=typeof v=="object"&&v!==null?jt(v):_i,f.state=n.memoizedState,v=s.getDerivedStateFromProps,typeof v=="function"&&(ic(n,s,v,r),f.state=n.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(v=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),v!==f.state&&sc.enqueueReplaceState(f,f.state,null),Ps(n,r,f,d),Vs(),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308),r=!0}else if(t===null){f=n.stateNode;var w=n.memoizedProps,A=Ka(s,w);f.props=A;var P=f.context,G=s.contextType;v=_i,typeof G=="object"&&G!==null&&(v=jt(G));var Q=s.getDerivedStateFromProps;G=typeof Q=="function"||typeof f.getSnapshotBeforeUpdate=="function",w=n.pendingProps!==w,G||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(w||P!==v)&&_p(n,f,r,v),sa=!1;var q=n.memoizedState;f.state=q,Ps(n,r,f,d),Vs(),P=n.memoizedState,w||q!==P||sa?(typeof Q=="function"&&(ic(n,s,Q,r),P=n.memoizedState),(A=sa||Ep(n,s,A,r,q,P,v))?(G||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(n.flags|=4194308)):(typeof f.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=P),f.props=r,f.state=P,f.context=v,r=A):(typeof f.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{f=n.stateNode,Vu(t,n),v=n.memoizedProps,G=Ka(s,v),f.props=G,Q=n.pendingProps,q=f.context,P=s.contextType,A=_i,typeof P=="object"&&P!==null&&(A=jt(P)),w=s.getDerivedStateFromProps,(P=typeof w=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(v!==Q||q!==A)&&_p(n,f,r,A),sa=!1,q=n.memoizedState,f.state=q,Ps(n,r,f,d),Vs();var B=n.memoizedState;v!==Q||q!==B||sa||t!==null&&t.dependencies!==null&&gr(t.dependencies)?(typeof w=="function"&&(ic(n,s,w,r),B=n.memoizedState),(G=sa||Ep(n,s,G,r,q,B,A)||t!==null&&t.dependencies!==null&&gr(t.dependencies))?(P||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(r,B,A),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(r,B,A)),typeof f.componentDidUpdate=="function"&&(n.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof f.componentDidUpdate!="function"||v===t.memoizedProps&&q===t.memoizedState||(n.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&q===t.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=B),f.props=r,f.state=B,f.context=A,r=G):(typeof f.componentDidUpdate!="function"||v===t.memoizedProps&&q===t.memoizedState||(n.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&q===t.memoizedState||(n.flags|=1024),r=!1)}return f=r,zr(t,n),r=(n.flags&128)!==0,f||r?(f=n.stateNode,s=r&&typeof s.getDerivedStateFromError!="function"?null:f.render(),n.flags|=1,t!==null&&r?(n.child=Li(n,t.child,null,d),n.child=Li(n,null,s,d)):Ct(t,n,s,d),n.memoizedState=f.state,t=n.child):t=$n(t,n,d),t}function Up(t,n,s,r){return As(),n.flags|=256,Ct(t,n,s,r),n.child}var lc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function uc(t){return{baseLanes:t,cachePool:jh()}}function cc(t,n,s){return t=t!==null?t.childLanes&~s:0,n&&(t|=ln),t}function Hp(t,n,s){var r=n.pendingProps,d=!1,f=(n.flags&128)!==0,v;if((v=f)||(v=t!==null&&t.memoizedState===null?!1:(pt.current&2)!==0),v&&(d=!0,n.flags&=-129),v=(n.flags&32)!==0,n.flags&=-33,t===null){if(Le){if(d?ua(n):ca(),Le){var w=it,A;if(A=w){e:{for(A=w,w=Cn;A.nodeType!==8;){if(!w){w=null;break e}if(A=yn(A.nextSibling),A===null){w=null;break e}}w=A}w!==null?(n.memoizedState={dehydrated:w,treeContext:Ua!==null?{id:Vn,overflow:Pn}:null,retryLane:536870912,hydrationErrors:null},A=Ft(18,null,null,0),A.stateNode=w,A.return=n,n.child=A,Dt=n,it=null,A=!0):A=!1}A||Ga(n)}if(w=n.memoizedState,w!==null&&(w=w.dehydrated,w!==null))return Yc(w)?n.lanes=32:n.lanes=536870912,null;Hn(n)}return w=r.children,r=r.fallback,d?(ca(),d=n.mode,w=Lr({mode:"hidden",children:w},d),r=Ba(r,d,s,null),w.return=n,r.return=n,w.sibling=r,n.child=w,d=n.child,d.memoizedState=uc(s),d.childLanes=cc(t,v,s),n.memoizedState=lc,r):(ua(n),dc(n,w))}if(A=t.memoizedState,A!==null&&(w=A.dehydrated,w!==null)){if(f)n.flags&256?(ua(n),n.flags&=-257,n=fc(t,n,s)):n.memoizedState!==null?(ca(),n.child=t.child,n.flags|=128,n=null):(ca(),d=r.fallback,w=n.mode,r=Lr({mode:"visible",children:r.children},w),d=Ba(d,w,s,null),d.flags|=2,r.return=n,d.return=n,r.sibling=d,n.child=r,Li(n,t.child,null,s),r=n.child,r.memoizedState=uc(s),r.childLanes=cc(t,v,s),n.memoizedState=lc,n=d);else if(ua(n),Yc(w)){if(v=w.nextSibling&&w.nextSibling.dataset,v)var P=v.dgst;v=P,r=Error(o(419)),r.stack="",r.digest=v,Ns({value:r,source:null,stack:null}),n=fc(t,n,s)}else if(xt||Ms(t,n,s,!1),v=(s&t.childLanes)!==0,xt||v){if(v=Ye,v!==null&&(r=s&-s,r=(r&42)!==0?1:Xl(r),r=(r&(v.suspendedLanes|s))!==0?0:r,r!==0&&r!==A.retryLane))throw A.retryLane=r,Ei(t,r),Qt(v,t,r),Dp;w.data==="$?"||Nc(),n=fc(t,n,s)}else w.data==="$?"?(n.flags|=192,n.child=t.child,n=null):(t=A.treeContext,it=yn(w.nextSibling),Dt=n,Le=!0,$a=null,Cn=!1,t!==null&&(sn[on++]=Vn,sn[on++]=Pn,sn[on++]=Ua,Vn=t.id,Pn=t.overflow,Ua=n),n=dc(n,r.children),n.flags|=4096);return n}return d?(ca(),d=r.fallback,w=n.mode,A=t.child,P=A.sibling,r=Ln(A,{mode:"hidden",children:r.children}),r.subtreeFlags=A.subtreeFlags&65011712,P!==null?d=Ln(P,d):(d=Ba(d,w,s,null),d.flags|=2),d.return=n,r.return=n,r.sibling=d,n.child=r,r=d,d=n.child,w=t.child.memoizedState,w===null?w=uc(s):(A=w.cachePool,A!==null?(P=ht._currentValue,A=A.parent!==P?{parent:P,pool:P}:A):A=jh(),w={baseLanes:w.baseLanes|s,cachePool:A}),d.memoizedState=w,d.childLanes=cc(t,v,s),n.memoizedState=lc,r):(ua(n),s=t.child,t=s.sibling,s=Ln(s,{mode:"visible",children:r.children}),s.return=n,s.sibling=null,t!==null&&(v=n.deletions,v===null?(n.deletions=[t],n.flags|=16):v.push(t)),n.child=s,n.memoizedState=null,s)}function dc(t,n){return n=Lr({mode:"visible",children:n},t.mode),n.return=t,t.child=n}function Lr(t,n){return t=Ft(22,t,null,n),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function fc(t,n,s){return Li(n,t.child,null,s),t=dc(n,n.pendingProps.children),t.flags|=2,n.memoizedState=null,t}function $p(t,n,s){t.lanes|=n;var r=t.alternate;r!==null&&(r.lanes|=n),Nu(t.return,n,s)}function mc(t,n,s,r,d){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:s,tailMode:d}:(f.isBackwards=n,f.rendering=null,f.renderingStartTime=0,f.last=r,f.tail=s,f.tailMode=d)}function Gp(t,n,s){var r=n.pendingProps,d=r.revealOrder,f=r.tail;if(Ct(t,n,r.children,s),r=pt.current,(r&2)!==0)r=r&1|2,n.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=n.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&$p(t,s,n);else if(t.tag===19)$p(t,s,n);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break e;for(;t.sibling===null;){if(t.return===null||t.return===n)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}switch(J(pt,r),d){case"forwards":for(s=n.child,d=null;s!==null;)t=s.alternate,t!==null&&kr(t)===null&&(d=s),s=s.sibling;s=d,s===null?(d=n.child,n.child=null):(d=s.sibling,s.sibling=null),mc(n,!1,d,s,f);break;case"backwards":for(s=null,d=n.child,n.child=null;d!==null;){if(t=d.alternate,t!==null&&kr(t)===null){n.child=d;break}t=d.sibling,d.sibling=s,s=d,d=t}mc(n,!0,s,null,f);break;case"together":mc(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function $n(t,n,s){if(t!==null&&(n.dependencies=t.dependencies),pa|=n.lanes,(s&n.childLanes)===0)if(t!==null){if(Ms(t,n,s,!1),(s&n.childLanes)===0)return null}else return null;if(t!==null&&n.child!==t.child)throw Error(o(153));if(n.child!==null){for(t=n.child,s=Ln(t,t.pendingProps),n.child=s,s.return=n;t.sibling!==null;)t=t.sibling,s=s.sibling=Ln(t,t.pendingProps),s.return=n;s.sibling=null}return n.child}function hc(t,n){return(t.lanes&n)!==0?!0:(t=t.dependencies,!!(t!==null&&gr(t)))}function gS(t,n,s){switch(n.tag){case 3:be(n,n.stateNode.containerInfo),ia(n,ht,t.memoizedState.cache),As();break;case 27:case 5:Wt(n);break;case 4:be(n,n.stateNode.containerInfo);break;case 10:ia(n,n.type,n.memoizedProps.value);break;case 13:var r=n.memoizedState;if(r!==null)return r.dehydrated!==null?(ua(n),n.flags|=128,null):(s&n.child.childLanes)!==0?Hp(t,n,s):(ua(n),t=$n(t,n,s),t!==null?t.sibling:null);ua(n);break;case 19:var d=(t.flags&128)!==0;if(r=(s&n.childLanes)!==0,r||(Ms(t,n,s,!1),r=(s&n.childLanes)!==0),d){if(r)return Gp(t,n,s);n.flags|=128}if(d=n.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),J(pt,pt.current),r)break;return null;case 22:case 23:return n.lanes=0,Vp(t,n,s);case 24:ia(n,ht,t.memoizedState.cache)}return $n(t,n,s)}function Fp(t,n,s){if(t!==null)if(t.memoizedProps!==n.pendingProps)xt=!0;else{if(!hc(t,s)&&(n.flags&128)===0)return xt=!1,gS(t,n,s);xt=(t.flags&131072)!==0}else xt=!1,Le&&(n.flags&1048576)!==0&&Sh(n,pr,n.index);switch(n.lanes=0,n.tag){case 16:e:{t=n.pendingProps;var r=n.elementType,d=r._init;if(r=d(r._payload),n.type=r,typeof r=="function")Cu(r)?(t=Ka(r,t),n.tag=1,n=Bp(null,n,r,t,s)):(n.tag=0,n=rc(null,n,r,t,s));else{if(r!=null){if(d=r.$$typeof,d===z){n.tag=11,n=Op(null,n,r,t,s);break e}else if(d===U){n.tag=14,n=zp(null,n,r,t,s);break e}}throw n=et(r)||r,Error(o(306,n,""))}}return n;case 0:return rc(t,n,n.type,n.pendingProps,s);case 1:return r=n.type,d=Ka(r,n.pendingProps),Bp(t,n,r,d,s);case 3:e:{if(be(n,n.stateNode.containerInfo),t===null)throw Error(o(387));r=n.pendingProps;var f=n.memoizedState;d=f.element,Vu(t,n),Ps(n,r,null,s);var v=n.memoizedState;if(r=v.cache,ia(n,ht,r),r!==f.cache&&Mu(n,[ht],s,!0),Vs(),r=v.element,f.isDehydrated)if(f={element:r,isDehydrated:!1,cache:v.cache},n.updateQueue.baseState=f,n.memoizedState=f,n.flags&256){n=Up(t,n,r,s);break e}else if(r!==d){d=nn(Error(o(424)),n),Ns(d),n=Up(t,n,r,s);break e}else{switch(t=n.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(it=yn(t.firstChild),Dt=n,Le=!0,$a=null,Cn=!0,s=Cp(n,null,r,s),n.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(As(),r===d){n=$n(t,n,s);break e}Ct(t,n,r,s)}n=n.child}return n;case 26:return zr(t,n),t===null?(s=Kg(n.type,null,n.pendingProps,null))?n.memoizedState=s:Le||(s=n.type,t=n.pendingProps,r=Qr(se.current).createElement(s),r[Rt]=n,r[Lt]=t,Et(r,s,t),vt(r),n.stateNode=r):n.memoizedState=Kg(n.type,t.memoizedProps,n.pendingProps,t.memoizedState),null;case 27:return Wt(n),t===null&&Le&&(r=n.stateNode=Ig(n.type,n.pendingProps,se.current),Dt=n,Cn=!0,d=it,xa(n.type)?(Xc=d,it=yn(r.firstChild)):it=d),Ct(t,n,n.pendingProps.children,s),zr(t,n),t===null&&(n.flags|=4194304),n.child;case 5:return t===null&&Le&&((d=r=it)&&(r=GS(r,n.type,n.pendingProps,Cn),r!==null?(n.stateNode=r,Dt=n,it=yn(r.firstChild),Cn=!1,d=!0):d=!1),d||Ga(n)),Wt(n),d=n.type,f=n.pendingProps,v=t!==null?t.memoizedProps:null,r=f.children,Gc(d,f)?r=null:v!==null&&Gc(d,v)&&(n.flags|=32),n.memoizedState!==null&&(d=$u(t,n,lS,null,null,s),oo._currentValue=d),zr(t,n),Ct(t,n,r,s),n.child;case 6:return t===null&&Le&&((t=s=it)&&(s=FS(s,n.pendingProps,Cn),s!==null?(n.stateNode=s,Dt=n,it=null,t=!0):t=!1),t||Ga(n)),null;case 13:return Hp(t,n,s);case 4:return be(n,n.stateNode.containerInfo),r=n.pendingProps,t===null?n.child=Li(n,null,r,s):Ct(t,n,r,s),n.child;case 11:return Op(t,n,n.type,n.pendingProps,s);case 7:return Ct(t,n,n.pendingProps,s),n.child;case 8:return Ct(t,n,n.pendingProps.children,s),n.child;case 12:return Ct(t,n,n.pendingProps.children,s),n.child;case 10:return r=n.pendingProps,ia(n,n.type,r.value),Ct(t,n,r.children,s),n.child;case 9:return d=n.type._context,r=n.pendingProps.children,Ia(n),d=jt(d),r=r(d),n.flags|=1,Ct(t,n,r,s),n.child;case 14:return zp(t,n,n.type,n.pendingProps,s);case 15:return Lp(t,n,n.type,n.pendingProps,s);case 19:return Gp(t,n,s);case 31:return r=n.pendingProps,s=n.mode,r={mode:r.mode,children:r.children},t===null?(s=Lr(r,s),s.ref=n.ref,n.child=s,s.return=n,n=s):(s=Ln(t.child,r),s.ref=n.ref,n.child=s,s.return=n,n=s),n;case 22:return Vp(t,n,s);case 24:return Ia(n),r=jt(ht),t===null?(d=Ou(),d===null&&(d=Ye,f=ku(),d.pooledCache=f,f.refCount++,f!==null&&(d.pooledCacheLanes|=s),d=f),n.memoizedState={parent:r,cache:d},Lu(n),ia(n,ht,d)):((t.lanes&s)!==0&&(Vu(t,n),Ps(n,null,null,s),Vs()),d=t.memoizedState,f=n.memoizedState,d.parent!==r?(d={parent:r,cache:r},n.memoizedState=d,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=d),ia(n,ht,r)):(r=f.cache,ia(n,ht,r),r!==d.cache&&Mu(n,[ht],s,!0))),Ct(t,n,n.pendingProps.children,s),n.child;case 29:throw n.pendingProps}throw Error(o(156,n.tag))}function Gn(t){t.flags|=4}function Ip(t,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!e0(n)){if(n=rn.current,n!==null&&((Me&4194048)===Me?Tn!==null:(Me&62914560)!==Me&&(Me&536870912)===0||n!==Tn))throw zs=zu,Ah;t.flags|=8192}}function Vr(t,n){n!==null&&(t.flags|=4),t.flags&16384&&(n=t.tag!==22?Tm():536870912,t.lanes|=n,Bi|=n)}function Fs(t,n){if(!Le)switch(t.tailMode){case"hidden":n=t.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?t.tail=null:s.sibling=null;break;case"collapsed":s=t.tail;for(var r=null;s!==null;)s.alternate!==null&&(r=s),s=s.sibling;r===null?n||t.tail===null?t.tail=null:t.tail.sibling=null:r.sibling=null}}function tt(t){var n=t.alternate!==null&&t.alternate.child===t.child,s=0,r=0;if(n)for(var d=t.child;d!==null;)s|=d.lanes|d.childLanes,r|=d.subtreeFlags&65011712,r|=d.flags&65011712,d.return=t,d=d.sibling;else for(d=t.child;d!==null;)s|=d.lanes|d.childLanes,r|=d.subtreeFlags,r|=d.flags,d.return=t,d=d.sibling;return t.subtreeFlags|=r,t.childLanes=s,n}function yS(t,n,s){var r=n.pendingProps;switch(Ru(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tt(n),null;case 1:return tt(n),null;case 3:return s=n.stateNode,r=null,t!==null&&(r=t.memoizedState.cache),n.memoizedState.cache!==r&&(n.flags|=2048),Bn(ht),Ke(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(t===null||t.child===null)&&(js(n)?Gn(n):t===null||t.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Th())),tt(n),null;case 26:return s=n.memoizedState,t===null?(Gn(n),s!==null?(tt(n),Ip(n,s)):(tt(n),n.flags&=-16777217)):s?s!==t.memoizedState?(Gn(n),tt(n),Ip(n,s)):(tt(n),n.flags&=-16777217):(t.memoizedProps!==r&&Gn(n),tt(n),n.flags&=-16777217),null;case 27:wn(n),s=se.current;var d=n.type;if(t!==null&&n.stateNode!=null)t.memoizedProps!==r&&Gn(n);else{if(!r){if(n.stateNode===null)throw Error(o(166));return tt(n),null}t=ee.current,js(n)?wh(n):(t=Ig(d,r,s),n.stateNode=t,Gn(n))}return tt(n),null;case 5:if(wn(n),s=n.type,t!==null&&n.stateNode!=null)t.memoizedProps!==r&&Gn(n);else{if(!r){if(n.stateNode===null)throw Error(o(166));return tt(n),null}if(t=ee.current,js(n))wh(n);else{switch(d=Qr(se.current),t){case 1:t=d.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:t=d.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":t=d.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":t=d.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":t=d.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof r.is=="string"?d.createElement("select",{is:r.is}):d.createElement("select"),r.multiple?t.multiple=!0:r.size&&(t.size=r.size);break;default:t=typeof r.is=="string"?d.createElement(s,{is:r.is}):d.createElement(s)}}t[Rt]=n,t[Lt]=r;e:for(d=n.child;d!==null;){if(d.tag===5||d.tag===6)t.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===n)break e;for(;d.sibling===null;){if(d.return===null||d.return===n)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}n.stateNode=t;e:switch(Et(t,s,r),s){case"button":case"input":case"select":case"textarea":t=!!r.autoFocus;break e;case"img":t=!0;break e;default:t=!1}t&&Gn(n)}}return tt(n),n.flags&=-16777217,null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==r&&Gn(n);else{if(typeof r!="string"&&n.stateNode===null)throw Error(o(166));if(t=se.current,js(n)){if(t=n.stateNode,s=n.memoizedProps,r=null,d=Dt,d!==null)switch(d.tag){case 27:case 5:r=d.memoizedProps}t[Rt]=n,t=!!(t.nodeValue===s||r!==null&&r.suppressHydrationWarning===!0||qg(t.nodeValue,s)),t||Ga(n)}else t=Qr(t).createTextNode(r),t[Rt]=n,n.stateNode=t}return tt(n),null;case 13:if(r=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(d=js(n),r!==null&&r.dehydrated!==null){if(t===null){if(!d)throw Error(o(318));if(d=n.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(o(317));d[Rt]=n}else As(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;tt(n),d=!1}else d=Th(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=d),d=!0;if(!d)return n.flags&256?(Hn(n),n):(Hn(n),null)}if(Hn(n),(n.flags&128)!==0)return n.lanes=s,n;if(s=r!==null,t=t!==null&&t.memoizedState!==null,s){r=n.child,d=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(d=r.alternate.memoizedState.cachePool.pool);var f=null;r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(f=r.memoizedState.cachePool.pool),f!==d&&(r.flags|=2048)}return s!==t&&s&&(n.child.flags|=8192),Vr(n,n.updateQueue),tt(n),null;case 4:return Ke(),t===null&&qc(n.stateNode.containerInfo),tt(n),null;case 10:return Bn(n.type),tt(n),null;case 19:if(W(pt),d=n.memoizedState,d===null)return tt(n),null;if(r=(n.flags&128)!==0,f=d.rendering,f===null)if(r)Fs(d,!1);else{if(st!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(f=kr(t),f!==null){for(n.flags|=128,Fs(d,!1),t=f.updateQueue,n.updateQueue=t,Vr(n,t),n.subtreeFlags=0,t=s,s=n.child;s!==null;)bh(s,t),s=s.sibling;return J(pt,pt.current&1|2),n.child}t=t.sibling}d.tail!==null&&$t()>Br&&(n.flags|=128,r=!0,Fs(d,!1),n.lanes=4194304)}else{if(!r)if(t=kr(f),t!==null){if(n.flags|=128,r=!0,t=t.updateQueue,n.updateQueue=t,Vr(n,t),Fs(d,!0),d.tail===null&&d.tailMode==="hidden"&&!f.alternate&&!Le)return tt(n),null}else 2*$t()-d.renderingStartTime>Br&&s!==536870912&&(n.flags|=128,r=!0,Fs(d,!1),n.lanes=4194304);d.isBackwards?(f.sibling=n.child,n.child=f):(t=d.last,t!==null?t.sibling=f:n.child=f,d.last=f)}return d.tail!==null?(n=d.tail,d.rendering=n,d.tail=n.sibling,d.renderingStartTime=$t(),n.sibling=null,t=pt.current,J(pt,r?t&1|2:t&1),n):(tt(n),null);case 22:case 23:return Hn(n),Uu(),r=n.memoizedState!==null,t!==null?t.memoizedState!==null!==r&&(n.flags|=8192):r&&(n.flags|=8192),r?(s&536870912)!==0&&(n.flags&128)===0&&(tt(n),n.subtreeFlags&6&&(n.flags|=8192)):tt(n),s=n.updateQueue,s!==null&&Vr(n,s.retryQueue),s=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),r=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),r!==s&&(n.flags|=2048),t!==null&&W(Ya),null;case 24:return s=null,t!==null&&(s=t.memoizedState.cache),n.memoizedState.cache!==s&&(n.flags|=2048),Bn(ht),tt(n),null;case 25:return null;case 30:return null}throw Error(o(156,n.tag))}function vS(t,n){switch(Ru(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return Bn(ht),Ke(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return wn(n),null;case 13:if(Hn(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(o(340));As()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return W(pt),null;case 4:return Ke(),null;case 10:return Bn(n.type),null;case 22:case 23:return Hn(n),Uu(),t!==null&&W(Ya),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return Bn(ht),null;case 25:return null;default:return null}}function Yp(t,n){switch(Ru(n),n.tag){case 3:Bn(ht),Ke();break;case 26:case 27:case 5:wn(n);break;case 4:Ke();break;case 13:Hn(n);break;case 19:W(pt);break;case 10:Bn(n.type);break;case 22:case 23:Hn(n),Uu(),t!==null&&W(Ya);break;case 24:Bn(ht)}}function Is(t,n){try{var s=n.updateQueue,r=s!==null?s.lastEffect:null;if(r!==null){var d=r.next;s=d;do{if((s.tag&t)===t){r=void 0;var f=s.create,v=s.inst;r=f(),v.destroy=r}s=s.next}while(s!==d)}}catch(w){Ie(n,n.return,w)}}function da(t,n,s){try{var r=n.updateQueue,d=r!==null?r.lastEffect:null;if(d!==null){var f=d.next;r=f;do{if((r.tag&t)===t){var v=r.inst,w=v.destroy;if(w!==void 0){v.destroy=void 0,d=n;var A=s,P=w;try{P()}catch(G){Ie(d,A,G)}}}r=r.next}while(r!==f)}}catch(G){Ie(n,n.return,G)}}function Xp(t){var n=t.updateQueue;if(n!==null){var s=t.stateNode;try{zh(n,s)}catch(r){Ie(t,t.return,r)}}}function Kp(t,n,s){s.props=Ka(t.type,t.memoizedProps),s.state=t.memoizedState;try{s.componentWillUnmount()}catch(r){Ie(t,n,r)}}function Ys(t,n){try{var s=t.ref;if(s!==null){switch(t.tag){case 26:case 27:case 5:var r=t.stateNode;break;case 30:r=t.stateNode;break;default:r=t.stateNode}typeof s=="function"?t.refCleanup=s(r):s.current=r}}catch(d){Ie(t,n,d)}}function En(t,n){var s=t.ref,r=t.refCleanup;if(s!==null)if(typeof r=="function")try{r()}catch(d){Ie(t,n,d)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(d){Ie(t,n,d)}else s.current=null}function Qp(t){var n=t.type,s=t.memoizedProps,r=t.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":s.autoFocus&&r.focus();break e;case"img":s.src?r.src=s.src:s.srcSet&&(r.srcset=s.srcSet)}}catch(d){Ie(t,t.return,d)}}function pc(t,n,s){try{var r=t.stateNode;qS(r,t.type,s,n),r[Lt]=n}catch(d){Ie(t,t.return,d)}}function Zp(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&xa(t.type)||t.tag===4}function gc(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Zp(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&xa(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function yc(t,n,s){var r=t.tag;if(r===5||r===6)t=t.stateNode,n?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(t,n):(n=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,n.appendChild(t),s=s._reactRootContainer,s!=null||n.onclick!==null||(n.onclick=Kr));else if(r!==4&&(r===27&&xa(t.type)&&(s=t.stateNode,n=null),t=t.child,t!==null))for(yc(t,n,s),t=t.sibling;t!==null;)yc(t,n,s),t=t.sibling}function Pr(t,n,s){var r=t.tag;if(r===5||r===6)t=t.stateNode,n?s.insertBefore(t,n):s.appendChild(t);else if(r!==4&&(r===27&&xa(t.type)&&(s=t.stateNode),t=t.child,t!==null))for(Pr(t,n,s),t=t.sibling;t!==null;)Pr(t,n,s),t=t.sibling}function Jp(t){var n=t.stateNode,s=t.memoizedProps;try{for(var r=t.type,d=n.attributes;d.length;)n.removeAttributeNode(d[0]);Et(n,r,s),n[Rt]=t,n[Lt]=s}catch(f){Ie(t,t.return,f)}}var Fn=!1,ut=!1,vc=!1,Wp=typeof WeakSet=="function"?WeakSet:Set,bt=null;function xS(t,n){if(t=t.containerInfo,Hc=nl,t=ch(t),gu(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else e:{s=(s=t.ownerDocument)&&s.defaultView||window;var r=s.getSelection&&s.getSelection();if(r&&r.rangeCount!==0){s=r.anchorNode;var d=r.anchorOffset,f=r.focusNode;r=r.focusOffset;try{s.nodeType,f.nodeType}catch{s=null;break e}var v=0,w=-1,A=-1,P=0,G=0,Q=t,q=null;t:for(;;){for(var B;Q!==s||d!==0&&Q.nodeType!==3||(w=v+d),Q!==f||r!==0&&Q.nodeType!==3||(A=v+r),Q.nodeType===3&&(v+=Q.nodeValue.length),(B=Q.firstChild)!==null;)q=Q,Q=B;for(;;){if(Q===t)break t;if(q===s&&++P===d&&(w=v),q===f&&++G===r&&(A=v),(B=Q.nextSibling)!==null)break;Q=q,q=Q.parentNode}Q=B}s=w===-1||A===-1?null:{start:w,end:A}}else s=null}s=s||{start:0,end:0}}else s=null;for($c={focusedElem:t,selectionRange:s},nl=!1,bt=n;bt!==null;)if(n=bt,t=n.child,(n.subtreeFlags&1024)!==0&&t!==null)t.return=n,bt=t;else for(;bt!==null;){switch(n=bt,f=n.alternate,t=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&f!==null){t=void 0,s=n,d=f.memoizedProps,f=f.memoizedState,r=s.stateNode;try{var fe=Ka(s.type,d,s.elementType===s.type);t=r.getSnapshotBeforeUpdate(fe,f),r.__reactInternalSnapshotBeforeUpdate=t}catch(ue){Ie(s,s.return,ue)}}break;case 3:if((t&1024)!==0){if(t=n.stateNode.containerInfo,s=t.nodeType,s===9)Ic(t);else if(s===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Ic(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=n.sibling,t!==null){t.return=n.return,bt=t;break}bt=n.return}}function eg(t,n,s){var r=s.flags;switch(s.tag){case 0:case 11:case 15:fa(t,s),r&4&&Is(5,s);break;case 1:if(fa(t,s),r&4)if(t=s.stateNode,n===null)try{t.componentDidMount()}catch(v){Ie(s,s.return,v)}else{var d=Ka(s.type,n.memoizedProps);n=n.memoizedState;try{t.componentDidUpdate(d,n,t.__reactInternalSnapshotBeforeUpdate)}catch(v){Ie(s,s.return,v)}}r&64&&Xp(s),r&512&&Ys(s,s.return);break;case 3:if(fa(t,s),r&64&&(t=s.updateQueue,t!==null)){if(n=null,s.child!==null)switch(s.child.tag){case 27:case 5:n=s.child.stateNode;break;case 1:n=s.child.stateNode}try{zh(t,n)}catch(v){Ie(s,s.return,v)}}break;case 27:n===null&&r&4&&Jp(s);case 26:case 5:fa(t,s),n===null&&r&4&&Qp(s),r&512&&Ys(s,s.return);break;case 12:fa(t,s);break;case 13:fa(t,s),r&4&&ag(t,s),r&64&&(t=s.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(s=jS.bind(null,s),IS(t,s))));break;case 22:if(r=s.memoizedState!==null||Fn,!r){n=n!==null&&n.memoizedState!==null||ut,d=Fn;var f=ut;Fn=r,(ut=n)&&!f?ma(t,s,(s.subtreeFlags&8772)!==0):fa(t,s),Fn=d,ut=f}break;case 30:break;default:fa(t,s)}}function tg(t){var n=t.alternate;n!==null&&(t.alternate=null,tg(n)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(n=t.stateNode,n!==null&&Zl(n)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ze=null,qt=!1;function In(t,n,s){for(s=s.child;s!==null;)ng(t,n,s),s=s.sibling}function ng(t,n,s){if(le&&typeof le.onCommitFiberUnmount=="function")try{le.onCommitFiberUnmount(Qe,s)}catch{}switch(s.tag){case 26:ut||En(s,n),In(t,n,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:ut||En(s,n);var r=Ze,d=qt;xa(s.type)&&(Ze=s.stateNode,qt=!1),In(t,n,s),no(s.stateNode),Ze=r,qt=d;break;case 5:ut||En(s,n);case 6:if(r=Ze,d=qt,Ze=null,In(t,n,s),Ze=r,qt=d,Ze!==null)if(qt)try{(Ze.nodeType===9?Ze.body:Ze.nodeName==="HTML"?Ze.ownerDocument.body:Ze).removeChild(s.stateNode)}catch(f){Ie(s,n,f)}else try{Ze.removeChild(s.stateNode)}catch(f){Ie(s,n,f)}break;case 18:Ze!==null&&(qt?(t=Ze,Gg(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,s.stateNode),co(t)):Gg(Ze,s.stateNode));break;case 4:r=Ze,d=qt,Ze=s.stateNode.containerInfo,qt=!0,In(t,n,s),Ze=r,qt=d;break;case 0:case 11:case 14:case 15:ut||da(2,s,n),ut||da(4,s,n),In(t,n,s);break;case 1:ut||(En(s,n),r=s.stateNode,typeof r.componentWillUnmount=="function"&&Kp(s,n,r)),In(t,n,s);break;case 21:In(t,n,s);break;case 22:ut=(r=ut)||s.memoizedState!==null,In(t,n,s),ut=r;break;default:In(t,n,s)}}function ag(t,n){if(n.memoizedState===null&&(t=n.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{co(t)}catch(s){Ie(n,n.return,s)}}function bS(t){switch(t.tag){case 13:case 19:var n=t.stateNode;return n===null&&(n=t.stateNode=new Wp),n;case 22:return t=t.stateNode,n=t._retryCache,n===null&&(n=t._retryCache=new Wp),n;default:throw Error(o(435,t.tag))}}function xc(t,n){var s=bS(t);n.forEach(function(r){var d=AS.bind(null,t,r);s.has(r)||(s.add(r),r.then(d,d))})}function It(t,n){var s=n.deletions;if(s!==null)for(var r=0;r<s.length;r++){var d=s[r],f=t,v=n,w=v;e:for(;w!==null;){switch(w.tag){case 27:if(xa(w.type)){Ze=w.stateNode,qt=!1;break e}break;case 5:Ze=w.stateNode,qt=!1;break e;case 3:case 4:Ze=w.stateNode.containerInfo,qt=!0;break e}w=w.return}if(Ze===null)throw Error(o(160));ng(f,v,d),Ze=null,qt=!1,f=d.alternate,f!==null&&(f.return=null),d.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)ig(n,t),n=n.sibling}var gn=null;function ig(t,n){var s=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:It(n,t),Yt(t),r&4&&(da(3,t,t.return),Is(3,t),da(5,t,t.return));break;case 1:It(n,t),Yt(t),r&512&&(ut||s===null||En(s,s.return)),r&64&&Fn&&(t=t.updateQueue,t!==null&&(r=t.callbacks,r!==null&&(s=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=s===null?r:s.concat(r))));break;case 26:var d=gn;if(It(n,t),Yt(t),r&512&&(ut||s===null||En(s,s.return)),r&4){var f=s!==null?s.memoizedState:null;if(r=t.memoizedState,s===null)if(r===null)if(t.stateNode===null){e:{r=t.type,s=t.memoizedProps,d=d.ownerDocument||d;t:switch(r){case"title":f=d.getElementsByTagName("title")[0],(!f||f[ys]||f[Rt]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=d.createElement(r),d.head.insertBefore(f,d.querySelector("head > title"))),Et(f,r,s),f[Rt]=t,vt(f),r=f;break e;case"link":var v=Jg("link","href",d).get(r+(s.href||""));if(v){for(var w=0;w<v.length;w++)if(f=v[w],f.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&f.getAttribute("rel")===(s.rel==null?null:s.rel)&&f.getAttribute("title")===(s.title==null?null:s.title)&&f.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){v.splice(w,1);break t}}f=d.createElement(r),Et(f,r,s),d.head.appendChild(f);break;case"meta":if(v=Jg("meta","content",d).get(r+(s.content||""))){for(w=0;w<v.length;w++)if(f=v[w],f.getAttribute("content")===(s.content==null?null:""+s.content)&&f.getAttribute("name")===(s.name==null?null:s.name)&&f.getAttribute("property")===(s.property==null?null:s.property)&&f.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&f.getAttribute("charset")===(s.charSet==null?null:s.charSet)){v.splice(w,1);break t}}f=d.createElement(r),Et(f,r,s),d.head.appendChild(f);break;default:throw Error(o(468,r))}f[Rt]=t,vt(f),r=f}t.stateNode=r}else Wg(d,t.type,t.stateNode);else t.stateNode=Zg(d,r,t.memoizedProps);else f!==r?(f===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):f.count--,r===null?Wg(d,t.type,t.stateNode):Zg(d,r,t.memoizedProps)):r===null&&t.stateNode!==null&&pc(t,t.memoizedProps,s.memoizedProps)}break;case 27:It(n,t),Yt(t),r&512&&(ut||s===null||En(s,s.return)),s!==null&&r&4&&pc(t,t.memoizedProps,s.memoizedProps);break;case 5:if(It(n,t),Yt(t),r&512&&(ut||s===null||En(s,s.return)),t.flags&32){d=t.stateNode;try{vi(d,"")}catch(B){Ie(t,t.return,B)}}r&4&&t.stateNode!=null&&(d=t.memoizedProps,pc(t,d,s!==null?s.memoizedProps:d)),r&1024&&(vc=!0);break;case 6:if(It(n,t),Yt(t),r&4){if(t.stateNode===null)throw Error(o(162));r=t.memoizedProps,s=t.stateNode;try{s.nodeValue=r}catch(B){Ie(t,t.return,B)}}break;case 3:if(Wr=null,d=gn,gn=Zr(n.containerInfo),It(n,t),gn=d,Yt(t),r&4&&s!==null&&s.memoizedState.isDehydrated)try{co(n.containerInfo)}catch(B){Ie(t,t.return,B)}vc&&(vc=!1,sg(t));break;case 4:r=gn,gn=Zr(t.stateNode.containerInfo),It(n,t),Yt(t),gn=r;break;case 12:It(n,t),Yt(t);break;case 13:It(n,t),Yt(t),t.child.flags&8192&&t.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(Ec=$t()),r&4&&(r=t.updateQueue,r!==null&&(t.updateQueue=null,xc(t,r)));break;case 22:d=t.memoizedState!==null;var A=s!==null&&s.memoizedState!==null,P=Fn,G=ut;if(Fn=P||d,ut=G||A,It(n,t),ut=G,Fn=P,Yt(t),r&8192)e:for(n=t.stateNode,n._visibility=d?n._visibility&-2:n._visibility|1,d&&(s===null||A||Fn||ut||Qa(t)),s=null,n=t;;){if(n.tag===5||n.tag===26){if(s===null){A=s=n;try{if(f=A.stateNode,d)v=f.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{w=A.stateNode;var Q=A.memoizedProps.style,q=Q!=null&&Q.hasOwnProperty("display")?Q.display:null;w.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(B){Ie(A,A.return,B)}}}else if(n.tag===6){if(s===null){A=n;try{A.stateNode.nodeValue=d?"":A.memoizedProps}catch(B){Ie(A,A.return,B)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;s===n&&(s=null),n=n.return}s===n&&(s=null),n.sibling.return=n.return,n=n.sibling}r&4&&(r=t.updateQueue,r!==null&&(s=r.retryQueue,s!==null&&(r.retryQueue=null,xc(t,s))));break;case 19:It(n,t),Yt(t),r&4&&(r=t.updateQueue,r!==null&&(t.updateQueue=null,xc(t,r)));break;case 30:break;case 21:break;default:It(n,t),Yt(t)}}function Yt(t){var n=t.flags;if(n&2){try{for(var s,r=t.return;r!==null;){if(Zp(r)){s=r;break}r=r.return}if(s==null)throw Error(o(160));switch(s.tag){case 27:var d=s.stateNode,f=gc(t);Pr(t,f,d);break;case 5:var v=s.stateNode;s.flags&32&&(vi(v,""),s.flags&=-33);var w=gc(t);Pr(t,w,v);break;case 3:case 4:var A=s.stateNode.containerInfo,P=gc(t);yc(t,P,A);break;default:throw Error(o(161))}}catch(G){Ie(t,t.return,G)}t.flags&=-3}n&4096&&(t.flags&=-4097)}function sg(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var n=t;sg(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),t=t.sibling}}function fa(t,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)eg(t,n.alternate,n),n=n.sibling}function Qa(t){for(t=t.child;t!==null;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:da(4,n,n.return),Qa(n);break;case 1:En(n,n.return);var s=n.stateNode;typeof s.componentWillUnmount=="function"&&Kp(n,n.return,s),Qa(n);break;case 27:no(n.stateNode);case 26:case 5:En(n,n.return),Qa(n);break;case 22:n.memoizedState===null&&Qa(n);break;case 30:Qa(n);break;default:Qa(n)}t=t.sibling}}function ma(t,n,s){for(s=s&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var r=n.alternate,d=t,f=n,v=f.flags;switch(f.tag){case 0:case 11:case 15:ma(d,f,s),Is(4,f);break;case 1:if(ma(d,f,s),r=f,d=r.stateNode,typeof d.componentDidMount=="function")try{d.componentDidMount()}catch(P){Ie(r,r.return,P)}if(r=f,d=r.updateQueue,d!==null){var w=r.stateNode;try{var A=d.shared.hiddenCallbacks;if(A!==null)for(d.shared.hiddenCallbacks=null,d=0;d<A.length;d++)Oh(A[d],w)}catch(P){Ie(r,r.return,P)}}s&&v&64&&Xp(f),Ys(f,f.return);break;case 27:Jp(f);case 26:case 5:ma(d,f,s),s&&r===null&&v&4&&Qp(f),Ys(f,f.return);break;case 12:ma(d,f,s);break;case 13:ma(d,f,s),s&&v&4&&ag(d,f);break;case 22:f.memoizedState===null&&ma(d,f,s),Ys(f,f.return);break;case 30:break;default:ma(d,f,s)}n=n.sibling}}function bc(t,n){var s=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),t=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(t=n.memoizedState.cachePool.pool),t!==s&&(t!=null&&t.refCount++,s!=null&&ks(s))}function Sc(t,n){t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&ks(t))}function _n(t,n,s,r){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)og(t,n,s,r),n=n.sibling}function og(t,n,s,r){var d=n.flags;switch(n.tag){case 0:case 11:case 15:_n(t,n,s,r),d&2048&&Is(9,n);break;case 1:_n(t,n,s,r);break;case 3:_n(t,n,s,r),d&2048&&(t=null,n.alternate!==null&&(t=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==t&&(n.refCount++,t!=null&&ks(t)));break;case 12:if(d&2048){_n(t,n,s,r),t=n.stateNode;try{var f=n.memoizedProps,v=f.id,w=f.onPostCommit;typeof w=="function"&&w(v,n.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){Ie(n,n.return,A)}}else _n(t,n,s,r);break;case 13:_n(t,n,s,r);break;case 23:break;case 22:f=n.stateNode,v=n.alternate,n.memoizedState!==null?f._visibility&2?_n(t,n,s,r):Xs(t,n):f._visibility&2?_n(t,n,s,r):(f._visibility|=2,Vi(t,n,s,r,(n.subtreeFlags&10256)!==0)),d&2048&&bc(v,n);break;case 24:_n(t,n,s,r),d&2048&&Sc(n.alternate,n);break;default:_n(t,n,s,r)}}function Vi(t,n,s,r,d){for(d=d&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var f=t,v=n,w=s,A=r,P=v.flags;switch(v.tag){case 0:case 11:case 15:Vi(f,v,w,A,d),Is(8,v);break;case 23:break;case 22:var G=v.stateNode;v.memoizedState!==null?G._visibility&2?Vi(f,v,w,A,d):Xs(f,v):(G._visibility|=2,Vi(f,v,w,A,d)),d&&P&2048&&bc(v.alternate,v);break;case 24:Vi(f,v,w,A,d),d&&P&2048&&Sc(v.alternate,v);break;default:Vi(f,v,w,A,d)}n=n.sibling}}function Xs(t,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var s=t,r=n,d=r.flags;switch(r.tag){case 22:Xs(s,r),d&2048&&bc(r.alternate,r);break;case 24:Xs(s,r),d&2048&&Sc(r.alternate,r);break;default:Xs(s,r)}n=n.sibling}}var Ks=8192;function Pi(t){if(t.subtreeFlags&Ks)for(t=t.child;t!==null;)rg(t),t=t.sibling}function rg(t){switch(t.tag){case 26:Pi(t),t.flags&Ks&&t.memoizedState!==null&&sw(gn,t.memoizedState,t.memoizedProps);break;case 5:Pi(t);break;case 3:case 4:var n=gn;gn=Zr(t.stateNode.containerInfo),Pi(t),gn=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=Ks,Ks=16777216,Pi(t),Ks=n):Pi(t));break;default:Pi(t)}}function lg(t){var n=t.alternate;if(n!==null&&(t=n.child,t!==null)){n.child=null;do n=t.sibling,t.sibling=null,t=n;while(t!==null)}}function Qs(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var s=0;s<n.length;s++){var r=n[s];bt=r,cg(r,t)}lg(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ug(t),t=t.sibling}function ug(t){switch(t.tag){case 0:case 11:case 15:Qs(t),t.flags&2048&&da(9,t,t.return);break;case 3:Qs(t);break;case 12:Qs(t);break;case 22:var n=t.stateNode;t.memoizedState!==null&&n._visibility&2&&(t.return===null||t.return.tag!==13)?(n._visibility&=-3,qr(t)):Qs(t);break;default:Qs(t)}}function qr(t){var n=t.deletions;if((t.flags&16)!==0){if(n!==null)for(var s=0;s<n.length;s++){var r=n[s];bt=r,cg(r,t)}lg(t)}for(t=t.child;t!==null;){switch(n=t,n.tag){case 0:case 11:case 15:da(8,n,n.return),qr(n);break;case 22:s=n.stateNode,s._visibility&2&&(s._visibility&=-3,qr(n));break;default:qr(n)}t=t.sibling}}function cg(t,n){for(;bt!==null;){var s=bt;switch(s.tag){case 0:case 11:case 15:da(8,s,n);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var r=s.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ks(s.memoizedState.cache)}if(r=s.child,r!==null)r.return=s,bt=r;else e:for(s=t;bt!==null;){r=bt;var d=r.sibling,f=r.return;if(tg(r),r===s){bt=null;break e}if(d!==null){d.return=f,bt=d;break e}bt=f}}}var SS={getCacheForType:function(t){var n=jt(ht),s=n.data.get(t);return s===void 0&&(s=t(),n.data.set(t,s)),s}},wS=typeof WeakMap=="function"?WeakMap:Map,qe=0,Ye=null,je=null,Me=0,Be=0,Xt=null,ha=!1,qi=!1,wc=!1,Yn=0,st=0,pa=0,Za=0,Cc=0,ln=0,Bi=0,Zs=null,Bt=null,Tc=!1,Ec=0,Br=1/0,Ur=null,ga=null,Tt=0,ya=null,Ui=null,Hi=0,_c=0,Rc=null,dg=null,Js=0,jc=null;function Kt(){if((qe&2)!==0&&Me!==0)return Me&-Me;if(H.T!==null){var t=Ai;return t!==0?t:zc()}return Rm()}function fg(){ln===0&&(ln=(Me&536870912)===0||Le?Cm():536870912);var t=rn.current;return t!==null&&(t.flags|=32),ln}function Qt(t,n,s){(t===Ye&&(Be===2||Be===9)||t.cancelPendingCommit!==null)&&($i(t,0),va(t,Me,ln,!1)),gs(t,s),((qe&2)===0||t!==Ye)&&(t===Ye&&((qe&2)===0&&(Za|=s),st===4&&va(t,Me,ln,!1)),Rn(t))}function mg(t,n,s){if((qe&6)!==0)throw Error(o(327));var r=!s&&(n&124)===0&&(n&t.expiredLanes)===0||ps(t,n),d=r?ES(t,n):Mc(t,n,!0),f=r;do{if(d===0){qi&&!r&&va(t,n,0,!1);break}else{if(s=t.current.alternate,f&&!CS(s)){d=Mc(t,n,!1),f=!1;continue}if(d===2){if(f=n,t.errorRecoveryDisabledLanes&f)var v=0;else v=t.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){n=v;e:{var w=t;d=Zs;var A=w.current.memoizedState.isDehydrated;if(A&&($i(w,v).flags|=256),v=Mc(w,v,!1),v!==2){if(wc&&!A){w.errorRecoveryDisabledLanes|=f,Za|=f,d=4;break e}f=Bt,Bt=d,f!==null&&(Bt===null?Bt=f:Bt.push.apply(Bt,f))}d=v}if(f=!1,d!==2)continue}}if(d===1){$i(t,0),va(t,n,0,!0);break}e:{switch(r=t,f=d,f){case 0:case 1:throw Error(o(345));case 4:if((n&4194048)!==n)break;case 6:va(r,n,ln,!ha);break e;case 2:Bt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((n&62914560)===n&&(d=Ec+300-$t(),10<d)){if(va(r,n,ln,!ha),Jo(r,0,!0)!==0)break e;r.timeoutHandle=Hg(hg.bind(null,r,s,Bt,Ur,Tc,n,ln,Za,Bi,ha,f,2,-0,0),d);break e}hg(r,s,Bt,Ur,Tc,n,ln,Za,Bi,ha,f,0,-0,0)}}break}while(!0);Rn(t)}function hg(t,n,s,r,d,f,v,w,A,P,G,Q,q,B){if(t.timeoutHandle=-1,Q=n.subtreeFlags,(Q&8192||(Q&16785408)===16785408)&&(so={stylesheets:null,count:0,unsuspend:iw},rg(n),Q=ow(),Q!==null)){t.cancelPendingCommit=Q(Sg.bind(null,t,n,f,s,r,d,v,w,A,G,1,q,B)),va(t,f,v,!P);return}Sg(t,n,f,s,r,d,v,w,A)}function CS(t){for(var n=t;;){var s=n.tag;if((s===0||s===11||s===15)&&n.flags&16384&&(s=n.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var r=0;r<s.length;r++){var d=s[r],f=d.getSnapshot;d=d.value;try{if(!Gt(f(),d))return!1}catch{return!1}}if(s=n.child,n.subtreeFlags&16384&&s!==null)s.return=n,n=s;else{if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function va(t,n,s,r){n&=~Cc,n&=~Za,t.suspendedLanes|=n,t.pingedLanes&=~n,r&&(t.warmLanes|=n),r=t.expirationTimes;for(var d=n;0<d;){var f=31-Re(d),v=1<<f;r[f]=-1,d&=~v}s!==0&&Em(t,s,n)}function Hr(){return(qe&6)===0?(Ws(0),!1):!0}function Ac(){if(je!==null){if(Be===0)var t=je.return;else t=je,qn=Fa=null,Iu(t),zi=null,$s=0,t=je;for(;t!==null;)Yp(t.alternate,t),t=t.return;je=null}}function $i(t,n){var s=t.timeoutHandle;s!==-1&&(t.timeoutHandle=-1,US(s)),s=t.cancelPendingCommit,s!==null&&(t.cancelPendingCommit=null,s()),Ac(),Ye=t,je=s=Ln(t.current,null),Me=n,Be=0,Xt=null,ha=!1,qi=ps(t,n),wc=!1,Bi=ln=Cc=Za=pa=st=0,Bt=Zs=null,Tc=!1,(n&8)!==0&&(n|=n&32);var r=t.entangledLanes;if(r!==0)for(t=t.entanglements,r&=n;0<r;){var d=31-Re(r),f=1<<d;n|=t[d],r&=~f}return Yn=n,cr(),s}function pg(t,n){Te=null,H.H=Ar,n===Os||n===xr?(n=kh(),Be=3):n===Ah?(n=kh(),Be=4):Be=n===Dp?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Xt=n,je===null&&(st=1,Or(t,nn(n,t.current)))}function gg(){var t=H.H;return H.H=Ar,t===null?Ar:t}function yg(){var t=H.A;return H.A=SS,t}function Nc(){st=4,ha||(Me&4194048)!==Me&&rn.current!==null||(qi=!0),(pa&134217727)===0&&(Za&134217727)===0||Ye===null||va(Ye,Me,ln,!1)}function Mc(t,n,s){var r=qe;qe|=2;var d=gg(),f=yg();(Ye!==t||Me!==n)&&(Ur=null,$i(t,n)),n=!1;var v=st;e:do try{if(Be!==0&&je!==null){var w=je,A=Xt;switch(Be){case 8:Ac(),v=6;break e;case 3:case 2:case 9:case 6:rn.current===null&&(n=!0);var P=Be;if(Be=0,Xt=null,Gi(t,w,A,P),s&&qi){v=0;break e}break;default:P=Be,Be=0,Xt=null,Gi(t,w,A,P)}}TS(),v=st;break}catch(G){pg(t,G)}while(!0);return n&&t.shellSuspendCounter++,qn=Fa=null,qe=r,H.H=d,H.A=f,je===null&&(Ye=null,Me=0,cr()),v}function TS(){for(;je!==null;)vg(je)}function ES(t,n){var s=qe;qe|=2;var r=gg(),d=yg();Ye!==t||Me!==n?(Ur=null,Br=$t()+500,$i(t,n)):qi=ps(t,n);e:do try{if(Be!==0&&je!==null){n=je;var f=Xt;t:switch(Be){case 1:Be=0,Xt=null,Gi(t,n,f,1);break;case 2:case 9:if(Nh(f)){Be=0,Xt=null,xg(n);break}n=function(){Be!==2&&Be!==9||Ye!==t||(Be=7),Rn(t)},f.then(n,n);break e;case 3:Be=7;break e;case 4:Be=5;break e;case 7:Nh(f)?(Be=0,Xt=null,xg(n)):(Be=0,Xt=null,Gi(t,n,f,7));break;case 5:var v=null;switch(je.tag){case 26:v=je.memoizedState;case 5:case 27:var w=je;if(!v||e0(v)){Be=0,Xt=null;var A=w.sibling;if(A!==null)je=A;else{var P=w.return;P!==null?(je=P,$r(P)):je=null}break t}}Be=0,Xt=null,Gi(t,n,f,5);break;case 6:Be=0,Xt=null,Gi(t,n,f,6);break;case 8:Ac(),st=6;break e;default:throw Error(o(462))}}_S();break}catch(G){pg(t,G)}while(!0);return qn=Fa=null,H.H=r,H.A=d,qe=s,je!==null?0:(Ye=null,Me=0,cr(),st)}function _S(){for(;je!==null&&!Il();)vg(je)}function vg(t){var n=Fp(t.alternate,t,Yn);t.memoizedProps=t.pendingProps,n===null?$r(t):je=n}function xg(t){var n=t,s=n.alternate;switch(n.tag){case 15:case 0:n=qp(s,n,n.pendingProps,n.type,void 0,Me);break;case 11:n=qp(s,n,n.pendingProps,n.type.render,n.ref,Me);break;case 5:Iu(n);default:Yp(s,n),n=je=bh(n,Yn),n=Fp(s,n,Yn)}t.memoizedProps=t.pendingProps,n===null?$r(t):je=n}function Gi(t,n,s,r){qn=Fa=null,Iu(n),zi=null,$s=0;var d=n.return;try{if(pS(t,d,n,s,Me)){st=1,Or(t,nn(s,t.current)),je=null;return}}catch(f){if(d!==null)throw je=d,f;st=1,Or(t,nn(s,t.current)),je=null;return}n.flags&32768?(Le||r===1?t=!0:qi||(Me&536870912)!==0?t=!1:(ha=t=!0,(r===2||r===9||r===3||r===6)&&(r=rn.current,r!==null&&r.tag===13&&(r.flags|=16384))),bg(n,t)):$r(n)}function $r(t){var n=t;do{if((n.flags&32768)!==0){bg(n,ha);return}t=n.return;var s=yS(n.alternate,n,Yn);if(s!==null){je=s;return}if(n=n.sibling,n!==null){je=n;return}je=n=t}while(n!==null);st===0&&(st=5)}function bg(t,n){do{var s=vS(t.alternate,t);if(s!==null){s.flags&=32767,je=s;return}if(s=t.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!n&&(t=t.sibling,t!==null)){je=t;return}je=t=s}while(t!==null);st=6,je=null}function Sg(t,n,s,r,d,f,v,w,A){t.cancelPendingCommit=null;do Gr();while(Tt!==0);if((qe&6)!==0)throw Error(o(327));if(n!==null){if(n===t.current)throw Error(o(177));if(f=n.lanes|n.childLanes,f|=Su,i1(t,s,f,v,w,A),t===Ye&&(je=Ye=null,Me=0),Ui=n,ya=t,Hi=s,_c=f,Rc=d,dg=r,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,NS(oe,function(){return _g(),null})):(t.callbackNode=null,t.callbackPriority=0),r=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||r){r=H.T,H.T=null,d=K.p,K.p=2,v=qe,qe|=4;try{xS(t,n,s)}finally{qe=v,K.p=d,H.T=r}}Tt=1,wg(),Cg(),Tg()}}function wg(){if(Tt===1){Tt=0;var t=ya,n=Ui,s=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||s){s=H.T,H.T=null;var r=K.p;K.p=2;var d=qe;qe|=4;try{ig(n,t);var f=$c,v=ch(t.containerInfo),w=f.focusedElem,A=f.selectionRange;if(v!==w&&w&&w.ownerDocument&&uh(w.ownerDocument.documentElement,w)){if(A!==null&&gu(w)){var P=A.start,G=A.end;if(G===void 0&&(G=P),"selectionStart"in w)w.selectionStart=P,w.selectionEnd=Math.min(G,w.value.length);else{var Q=w.ownerDocument||document,q=Q&&Q.defaultView||window;if(q.getSelection){var B=q.getSelection(),fe=w.textContent.length,ue=Math.min(A.start,fe),$e=A.end===void 0?ue:Math.min(A.end,fe);!B.extend&&ue>$e&&(v=$e,$e=ue,ue=v);var O=lh(w,ue),k=lh(w,$e);if(O&&k&&(B.rangeCount!==1||B.anchorNode!==O.node||B.anchorOffset!==O.offset||B.focusNode!==k.node||B.focusOffset!==k.offset)){var L=Q.createRange();L.setStart(O.node,O.offset),B.removeAllRanges(),ue>$e?(B.addRange(L),B.extend(k.node,k.offset)):(L.setEnd(k.node,k.offset),B.addRange(L))}}}}for(Q=[],B=w;B=B.parentNode;)B.nodeType===1&&Q.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<Q.length;w++){var I=Q[w];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}nl=!!Hc,$c=Hc=null}finally{qe=d,K.p=r,H.T=s}}t.current=n,Tt=2}}function Cg(){if(Tt===2){Tt=0;var t=ya,n=Ui,s=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||s){s=H.T,H.T=null;var r=K.p;K.p=2;var d=qe;qe|=4;try{eg(t,n.alternate,n)}finally{qe=d,K.p=r,H.T=s}}Tt=3}}function Tg(){if(Tt===4||Tt===3){Tt=0,hs();var t=ya,n=Ui,s=Hi,r=dg;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?Tt=5:(Tt=0,Ui=ya=null,Eg(t,t.pendingLanes));var d=t.pendingLanes;if(d===0&&(ga=null),Kl(s),n=n.stateNode,le&&typeof le.onCommitFiberRoot=="function")try{le.onCommitFiberRoot(Qe,n,void 0,(n.current.flags&128)===128)}catch{}if(r!==null){n=H.T,d=K.p,K.p=2,H.T=null;try{for(var f=t.onRecoverableError,v=0;v<r.length;v++){var w=r[v];f(w.value,{componentStack:w.stack})}}finally{H.T=n,K.p=d}}(Hi&3)!==0&&Gr(),Rn(t),d=t.pendingLanes,(s&4194090)!==0&&(d&42)!==0?t===jc?Js++:(Js=0,jc=t):Js=0,Ws(0)}}function Eg(t,n){(t.pooledCacheLanes&=n)===0&&(n=t.pooledCache,n!=null&&(t.pooledCache=null,ks(n)))}function Gr(t){return wg(),Cg(),Tg(),_g()}function _g(){if(Tt!==5)return!1;var t=ya,n=_c;_c=0;var s=Kl(Hi),r=H.T,d=K.p;try{K.p=32>s?32:s,H.T=null,s=Rc,Rc=null;var f=ya,v=Hi;if(Tt=0,Ui=ya=null,Hi=0,(qe&6)!==0)throw Error(o(331));var w=qe;if(qe|=4,ug(f.current),og(f,f.current,v,s),qe=w,Ws(0,!1),le&&typeof le.onPostCommitFiberRoot=="function")try{le.onPostCommitFiberRoot(Qe,f)}catch{}return!0}finally{K.p=d,H.T=r,Eg(t,n)}}function Rg(t,n,s){n=nn(s,n),n=oc(t.stateNode,n,2),t=ra(t,n,2),t!==null&&(gs(t,2),Rn(t))}function Ie(t,n,s){if(t.tag===3)Rg(t,t,s);else for(;n!==null;){if(n.tag===3){Rg(n,t,s);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ga===null||!ga.has(r))){t=nn(s,t),s=Mp(2),r=ra(n,s,2),r!==null&&(kp(s,r,n,t),gs(r,2),Rn(r));break}}n=n.return}}function kc(t,n,s){var r=t.pingCache;if(r===null){r=t.pingCache=new wS;var d=new Set;r.set(n,d)}else d=r.get(n),d===void 0&&(d=new Set,r.set(n,d));d.has(s)||(wc=!0,d.add(s),t=RS.bind(null,t,n,s),n.then(t,t))}function RS(t,n,s){var r=t.pingCache;r!==null&&r.delete(n),t.pingedLanes|=t.suspendedLanes&s,t.warmLanes&=~s,Ye===t&&(Me&s)===s&&(st===4||st===3&&(Me&62914560)===Me&&300>$t()-Ec?(qe&2)===0&&$i(t,0):Cc|=s,Bi===Me&&(Bi=0)),Rn(t)}function jg(t,n){n===0&&(n=Tm()),t=Ei(t,n),t!==null&&(gs(t,n),Rn(t))}function jS(t){var n=t.memoizedState,s=0;n!==null&&(s=n.retryLane),jg(t,s)}function AS(t,n){var s=0;switch(t.tag){case 13:var r=t.stateNode,d=t.memoizedState;d!==null&&(s=d.retryLane);break;case 19:r=t.stateNode;break;case 22:r=t.stateNode._retryCache;break;default:throw Error(o(314))}r!==null&&r.delete(n),jg(t,s)}function NS(t,n){return ri(t,n)}var Fr=null,Fi=null,Dc=!1,Ir=!1,Oc=!1,Ja=0;function Rn(t){t!==Fi&&t.next===null&&(Fi===null?Fr=Fi=t:Fi=Fi.next=t),Ir=!0,Dc||(Dc=!0,kS())}function Ws(t,n){if(!Oc&&Ir){Oc=!0;do for(var s=!1,r=Fr;r!==null;){if(t!==0){var d=r.pendingLanes;if(d===0)var f=0;else{var v=r.suspendedLanes,w=r.pingedLanes;f=(1<<31-Re(42|t)+1)-1,f&=d&~(v&~w),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(s=!0,kg(r,f))}else f=Me,f=Jo(r,r===Ye?f:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(f&3)===0||ps(r,f)||(s=!0,kg(r,f));r=r.next}while(s);Oc=!1}}function MS(){Ag()}function Ag(){Ir=Dc=!1;var t=0;Ja!==0&&(BS()&&(t=Ja),Ja=0);for(var n=$t(),s=null,r=Fr;r!==null;){var d=r.next,f=Ng(r,n);f===0?(r.next=null,s===null?Fr=d:s.next=d,d===null&&(Fi=s)):(s=r,(t!==0||(f&3)!==0)&&(Ir=!0)),r=d}Ws(t)}function Ng(t,n){for(var s=t.suspendedLanes,r=t.pingedLanes,d=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var v=31-Re(f),w=1<<v,A=d[v];A===-1?((w&s)===0||(w&r)!==0)&&(d[v]=a1(w,n)):A<=n&&(t.expiredLanes|=w),f&=~w}if(n=Ye,s=Me,s=Jo(t,t===n?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),r=t.callbackNode,s===0||t===n&&(Be===2||Be===9)||t.cancelPendingCommit!==null)return r!==null&&r!==null&&li(r),t.callbackNode=null,t.callbackPriority=0;if((s&3)===0||ps(t,s)){if(n=s&-s,n===t.callbackPriority)return n;switch(r!==null&&li(r),Kl(s)){case 2:case 8:s=ye;break;case 32:s=oe;break;case 268435456:s=Pe;break;default:s=oe}return r=Mg.bind(null,t),s=ri(s,r),t.callbackPriority=n,t.callbackNode=s,n}return r!==null&&r!==null&&li(r),t.callbackPriority=2,t.callbackNode=null,2}function Mg(t,n){if(Tt!==0&&Tt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var s=t.callbackNode;if(Gr()&&t.callbackNode!==s)return null;var r=Me;return r=Jo(t,t===Ye?r:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),r===0?null:(mg(t,r,n),Ng(t,$t()),t.callbackNode!=null&&t.callbackNode===s?Mg.bind(null,t):null)}function kg(t,n){if(Gr())return null;mg(t,n,!0)}function kS(){HS(function(){(qe&6)!==0?ri(ui,MS):Ag()})}function zc(){return Ja===0&&(Ja=Cm()),Ja}function Dg(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:ar(""+t)}function Og(t,n){var s=n.ownerDocument.createElement("input");return s.name=n.name,s.value=n.value,t.id&&s.setAttribute("form",t.id),n.parentNode.insertBefore(s,n),t=new FormData(t),s.parentNode.removeChild(s),t}function DS(t,n,s,r,d){if(n==="submit"&&s&&s.stateNode===d){var f=Dg((d[Lt]||null).action),v=r.submitter;v&&(n=(n=v[Lt]||null)?Dg(n.formAction):v.getAttribute("formAction"),n!==null&&(f=n,v=null));var w=new rr("action","action",null,r,d);t.push({event:w,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Ja!==0){var A=v?Og(d,v):new FormData(d);tc(s,{pending:!0,data:A,method:d.method,action:f},null,A)}}else typeof f=="function"&&(w.preventDefault(),A=v?Og(d,v):new FormData(d),tc(s,{pending:!0,data:A,method:d.method,action:f},f,A))},currentTarget:d}]})}}for(var Lc=0;Lc<bu.length;Lc++){var Vc=bu[Lc],OS=Vc.toLowerCase(),zS=Vc[0].toUpperCase()+Vc.slice(1);pn(OS,"on"+zS)}pn(mh,"onAnimationEnd"),pn(hh,"onAnimationIteration"),pn(ph,"onAnimationStart"),pn("dblclick","onDoubleClick"),pn("focusin","onFocus"),pn("focusout","onBlur"),pn(J1,"onTransitionRun"),pn(W1,"onTransitionStart"),pn(eS,"onTransitionCancel"),pn(gh,"onTransitionEnd"),pi("onMouseEnter",["mouseout","mouseover"]),pi("onMouseLeave",["mouseout","mouseover"]),pi("onPointerEnter",["pointerout","pointerover"]),pi("onPointerLeave",["pointerout","pointerover"]),La("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),La("onSelect","focusout contextmenu dragend focu
49sin keydown keyup mousedown mouseup selectionchange".split(" ")),La("onBeforeInput",["compositionend","keypress","textInput","paste"]),La("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),La("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),La("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var eo="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(" "),LS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(eo));function zg(t,n){n=(n&4)!==0;for(var s=0;s<t.length;s++){var r=t[s],d=r.event;r=r.listeners;e:{var f=void 0;if(n)for(var v=r.length-1;0<=v;v--){var w=r[v],A=w.instance,P=w.currentTarget;if(w=w.listener,A!==f&&d.isPropagationStopped())break e;f=w,d.currentTarget=P;try{f(d)}catch(G){Dr(G)}d.currentTarget=null,f=A}else for(v=0;v<r.length;v++){if(w=r[v],A=w.instance,P=w.currentTarget,w=w.listener,A!==f&&d.isPropagationStopped())break e;f=w,d.currentTarget=P;try{f(d)}catch(G){Dr(G)}d.currentTarget=null,f=A}}}}function Ae(t,n){var s=n[Ql];s===void 0&&(s=n[Ql]=new Set);var r=t+"__bubble";s.has(r)||(Lg(n,t,2,!1),s.add(r))}function Pc(t,n,s){var r=0;n&&(r|=4),Lg(s,t,r,n)}var Yr="_reactListening"+Math.random().toString(36).slice(2);function qc(t){if(!t[Yr]){t[Yr]=!0,Am.forEach(function(s){s!=="selectionchange"&&(LS.has(s)||Pc(s,!1,t),Pc(s,!0,t))});var n=t.nodeType===9?t:t.ownerDocument;n===null||n[Yr]||(n[Yr]=!0,Pc("selectionchange",!1,n))}}function Lg(t,n,s,r){switch(o0(n)){case 2:var d=uw;break;case 8:d=cw;break;default:d=Wc}s=d.bind(null,n,s,t),d=void 0,!ru||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(d=!0),r?d!==void 0?t.addEventListener(n,s,{capture:!0,passive:d}):t.addEventListener(n,s,!0):d!==void 0?t.addEventListener(n,s,{passive:d}):t.addEventListener(n,s,!1)}function Bc(t,n,s,r,d){var f=r;if((n&1)===0&&(n&2)===0&&r!==null)e:for(;;){if(r===null)return;var v=r.tag;if(v===3||v===4){var w=r.stateNode.containerInfo;if(w===d)break;if(v===4)for(v=r.return;v!==null;){var A=v.tag;if((A===3||A===4)&&v.stateNode.containerInfo===d)return;v=v.return}for(;w!==null;){if(v=fi(w),v===null)return;if(A=v.tag,A===5||A===6||A===26||A===27){r=f=v;continue e}w=w.parentNode}}r=r.return}$m(function(){var P=f,G=su(s),Q=[];e:{var q=yh.get(t);if(q!==void 0){var B=rr,fe=t;switch(t){case"keypress":if(sr(s)===0)break e;case"keydown":case"keyup":B=N1;break;case"focusin":fe="focus",B=du;break;case"focusout":fe="blur",B=du;break;case"beforeblur":case"afterblur":B=du;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=Im;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=v1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=D1;break;case mh:case hh:case ph:B=S1;break;case gh:B=z1;break;case"scroll":case"scrollend":B=g1;break;case"wheel":B=V1;break;case"copy":case"cut":case"paste":B=C1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=Xm;break;case"toggle":case"beforetoggle":B=q1}var ue=(n&4)!==0,$e=!ue&&(t==="scroll"||t==="scrollend"),O=ue?q!==null?q+"Capture":null:q;ue=[];for(var k=P,L;k!==null;){var I=k;if(L=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||L===null||O===null||(I=xs(k,O),I!=null&&ue.push(to(k,I,L))),$e)break;k=k.return}0<ue.length&&(q=new B(q,fe,null,s,G),Q.push({event:q,listeners:ue}))}}if((n&7)===0){e:{if(q=t==="mouseover"||t==="pointerover",B=t==="mouseout"||t==="pointerout",q&&s!==iu&&(fe=s.relatedTarget||s.fromElement)&&(fi(fe)||fe[di]))break e;if((B||q)&&(q=G.window===G?G:(q=G.ownerDocument)?q.defaultView||q.parentWindow:window,B?(fe=s.relatedTarget||s.toElement,B=P,fe=fe?fi(fe):null,fe!==null&&($e=u(fe),ue=fe.tag,fe!==$e||ue!==5&&ue!==27&&ue!==6)&&(fe=null)):(B=null,fe=P),B!==fe)){if(ue=Im,I="onMouseLeave",O="onMouseEnter",k="mouse",(t==="pointerout"||t==="pointerover")&&(ue=Xm,I="onPointerLeave",O="onPointerEnter",k="pointer"),$e=B==null?q:vs(B),L=fe==null?q:vs(fe),q=new ue(I,k+"leave",B,s,G),q.target=$e,q.relatedTarget=L,I=null,fi(G)===P&&(ue=new ue(O,k+"enter",fe,s,G),ue.target=L,ue.relatedTarget=$e,I=ue),$e=I,B&&fe)t:{for(ue=B,O=fe,k=0,L=ue;L;L=Ii(L))k++;for(L=0,I=O;I;I=Ii(I))L++;for(;0<k-L;)ue=Ii(ue),k--;for(;0<L-k;)O=Ii(O),L--;for(;k--;){if(ue===O||O!==null&&ue===O.alternate)break t;ue=Ii(ue),O=Ii(O)}ue=null}else ue=null;B!==null&&Vg(Q,q,B,ue,!1),fe!==null&&$e!==null&&Vg(Q,$e,fe,ue,!0)}}
vendor: 5,204 bytes, lines 49-50
49e:{if(q=P?vs(P):window,B=q.nodeName&&q.nodeName.toLowerCase(),B==="select"||B==="input"&&q.type==="file")var ne=nh;else if(eh(q))if(ah)ne=K1;else{ne=Y1;var _e=I1}else B=q.nodeName,!B||B.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?P&&au(P.elementType)&&(ne=nh):ne=X1;if(ne&&(ne=ne(t,P))){th(Q,ne,s,G);break e}_e&&_e(t,q,P),t==="focusout"&&P&&q.type==="number"&&P.memoizedProps.value!=null&&nu(q,"number",q.value)}switch(_e=P?vs(P):window,t){case"focusin":(eh(_e)||_e.contentEditable==="true")&&(wi=_e,yu=P,Rs=null);break;case"focusout":Rs=yu=wi=null;break;case"mousedown":vu=!0;break;case"contextmenu":case"mouseup":case"dragend":vu=!1,dh(Q,s,G);break;case"selectionchange":if(Z1)break;case"keydown":case"keyup":dh(Q,s,G)}var re;if(mu)e:{switch(t){case"compositionstart":var ce="onCompositionStart";break e;case"compositionend":ce="onCompositionEnd";break e;case"compositionupdate":ce="onCompositionUpdate";break e}ce=void 0}else Si?Jm(t,s)&&(ce="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(ce="onCompositionStart");ce&&(Km&&s.locale!=="ko"&&(Si||ce!=="onCompositionStart"?ce==="onCompositionEnd"&&Si&&(re=Gm()):(aa=G,lu="value"in aa?aa.value:aa.textContent,Si=!0)),_e=Xr(P,ce),0<_e.length&&(ce=new Ym(ce,t,null,s,G),Q.push({event:ce,listeners:_e}),re?ce.data=re:(re=Wm(s),re!==null&&(ce.data=re)))),(re=U1?H1(t,s):$1(t,s))&&(ce=Xr(P,"onBeforeInput"),0<ce.length&&(_e=new Ym("onBeforeInput","beforeinput",null,s,G),Q.push({event:_e,listeners:ce}),_e.data=re)),DS(Q,t,P,s,G)}zg(Q,n)})}function to(t,n,s){return{instance:t,listener:n,currentTarget:s}}function Xr(t,n){for(var s=n+"Capture",r=[];t!==null;){var d=t,f=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||f===null||(d=xs(t,s),d!=null&&r.unshift(to(t,d,f)),d=xs(t,n),d!=null&&r.push(to(t,d,f))),t.tag===3)return r;t=t.return}return[]}function Ii(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Vg(t,n,s,r,d){for(var f=n._reactName,v=[];s!==null&&s!==r;){var w=s,A=w.alternate,P=w.stateNode;if(w=w.tag,A!==null&&A===r)break;w!==5&&w!==26&&w!==27||P===null||(A=P,d?(P=xs(s,f),P!=null&&v.unshift(to(s,P,A))):d||(P=xs(s,f),P!=null&&v.push(to(s,P,A)))),s=s.return}v.length!==0&&t.push({event:n,listeners:v})}var VS=/\r\n?/g,PS=/\u0000|\uFFFD/g;function Pg(t){return(typeof t=="string"?t:""+t).replace(VS,` 50`).replace(PS,"")}function qg(t,n){return n=Pg(n),Pg(t)===n}function Kr(){}function He(t,n,s,r,d,f){switch(s){case"children":typeof r=="string"?n==="body"||n==="textarea"&&r===""||vi(t,r):(typeof r=="number"||typeof r=="bigint")&&n!=="body"&&vi(t,""+r);break;case"className":er(t,"class",r);break;case"tabIndex":er(t,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":er(t,s,r);break;case"style":Um(t,r,f);break;case"data":if(n!=="object"){er(t,"data",r);break}case"src":case"href":if(r===""&&(n!=="a"||s!=="href")){t.removeAttribute(s);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){t.removeAttribute(s);break}r=ar(""+r),t.setAttribute(s,r);break;case"action":case"formAction":if(typeof r=="function"){t.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(s==="formAction"?(n!=="input"&&He(t,n,"name",d.name,d,null),He(t,n,"formEncType",d.formEncType,d,null),He(t,n,"formMethod",d.formMethod,d,null),He(t,n,"formTarget",d.formTarget,d,null)):(He(t,n,"encType",d.encType,d,null),He(t,n,"method",d.method,d,null),He(t,n,"target",d.target,d,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){t.removeAttribute(s);break}r=ar(""+r),t.setAttribute(s,r);break;case"onClick":r!=null&&(t.onclick=Kr);break;case"onScroll":r!=null&&Ae("scroll",t);break;case"onScrollEnd":r!=null&&Ae("scrollend",t);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(o(61));if(s=r.__html,s!=null){if(d.children!=null)throw Error(o(60));t.innerHTML=s}}break;case"multiple":t.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":t.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){t.removeAttribute("xlink:href");break}s=ar(""+r),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?t.setAttribute(s,""+r):t.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
50ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?t.setAttribute(s,""):t.removeAttribute(s);break;case"capture":case"download":r===!0?t.setAttribute(s,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?t.setAttribute(s,r):t.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?t.setAttribute(s,r):t.removeAttribute(s);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?t.removeAttribute(s):t.setAttribute(s,r);break;case"popover":Ae("beforetoggle",t),Ae("toggle",t),Wo(t,"popover",r);break;case"xlinkActuate":On(t,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":On(t,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":On(t,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":On(t,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":On(t,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":On(t,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":On(t,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":On(t,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":On(t,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Wo(t,"is",r);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=h1.get(s)||s,Wo(t,s,r))}}function Uc(t,n,s,r,d,f){switch(s){case"style":Um(t,r,f);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(o(61));if(s=r.__html,s!=null){if(d.children!=null)throw Error(o(60));t.innerHTML=s}}break;case"children":typeof r=="string"?vi(t,r):(typeof r=="number"||typeof r=="bigint")&&vi(t,""+r);break;case"onScroll":r!=null&&Ae("scroll",t);break;case"onScrollEnd":r!=null&&Ae("scrollend",t);break;case"onClick":r!=null&&(t.onclick=Kr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Nm.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(d=s.endsWith("Capture"),n=s.slice(2,d?s.length-7:void 0),f=t[Lt]||null,f=f!=null?f[s]:null,typeof f=="function"&&t.removeEventListener(n,f,d),typeof r=="function")){typeof f!="function"&&f!==null&&(s in t?t[s]=null:t.hasAttribute(s)&&t.removeAttribute(s)),t.addEventListener(n,r,d);break e}s in t?t[s]=r:r===!0?t.setAttribute(s,""):Wo(t,s,r)}}}function Et(t,n,s){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ae("error",t),Ae("load",t);var r=!1,d=!1,f;for(f in s)if(s.hasOwnProperty(f)){var v=s[f];if(v!=null)switch(f){case"src":r=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,n));default:He(t,n,f,v,s,null)}}d&&He(t,n,"srcSet",s.srcSet,s,null),r&&He(t,n,"src",s.src,s,null);return;case"input":Ae("invalid",t);var w=f=v=d=null,A=null,P=null;for(r in s)if(s.hasOwnProperty(r)){var G=s[r];if(G!=null)switch(r){case"name":d=G;break;case"type":v=G;break;case"checked":A=G;break;case"defaultChecked":P=G;break;case"value":f=G;break;case"defaultValue":w=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(o(137,n));break;default:He(t,n,r,G,s,null)}}Vm(t,f,w,A,P,v,d,!1),tr(t);return;case"select":Ae("invalid",t),r=v=f=null;for(d in s)if(s.hasOwnProperty(d)&&(w=s[d],w!=null))switch(d){case"value":f=w;break;case"defaultValue":v=w;break;case"multiple":r=w;default:He(t,n,d,w,s,null)}n=f,s=v,t.multiple=!!r,n!=null?yi(t,!!r,n,!1):s!=null&&yi(t,!!r,s,!0);return;case"textarea":Ae("invalid",t),f=d=r=null;for(v in s)if(s.hasOwnProperty(v)&&(w=s[v],w!=null))switch(v){case"value":r=w;break;case"defaultValue":d=w;break;case"children":f=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(o(91));break;default:He(t,n,v,w,s,null)}qm(t,r,d,f),tr(t);return;case"option":for(A in s)if(s.hasOwnProperty(A)&&(r=s[A],r!=null))switch(A){case"selected":t.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:He(t,n,A,r,s,null)}return;case"dialog":Ae("beforetoggle",t),Ae("toggle",t),Ae("cancel",t),Ae("close",t);break;case"iframe":case"object":Ae("load",t);break;case"video":case"audio":for(r=0;r<eo.length;r++)Ae(eo[r],t);break;case"image":Ae("error",t),Ae("load",t);break;case"details":Ae("toggle",t);break;case"embed":case"source":case"link":Ae("error",t),Ae("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(P in s)if(s.hasOwnProperty(P)&&(r=s[P],r!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,n));default:He(t,n,P,r,s,null)}return;default:if(au(n)){for(G in s)s.hasOwnProperty(G)&&(r=s[G],r!==void 0&&Uc(t,n,G,r,s,void 0));return}}for(w in s)s.hasOwnProperty(w)&&(r=s[w],r!=null&&He(t,n,w,r,s,null))}function qS(t,n,s,r){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,f=null,v=null,w=null,A=null,P=null,G=null;for(B in s){var Q=s[B];if(s.hasOwnProperty(B)&&Q!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":A=Q;default:r.hasOwnProperty(B)||He(t,n,B,null,r,Q)}}for(var q in r){var B=r[q];if(Q=s[q],r.hasOwnProperty(q)&&(B!=null||Q!=null))switch(q){case"type":f=B;break;case"name":d=B;break;case"checked":P=B;break;case"defaultChecked":G=B;break;case"value":v=B;break;case"defaultValue":w=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(o(137,n));break;default:B!==Q&&He(t,n,q,B,r,Q)}}tu(t,v,w,A,P,G,f,d);return;case"select":B=v=w=q=null;for(f in s)if(A=s[f],s.hasOwnProperty(f)&&A!=null)switch(f){case"value":break;case"multiple":B=A;default:r.hasOwnProperty(f)||He(t,n,f,null,r,A)}for(d in r)if(f=r[d],A=s[d],r.hasOwnProperty(d)&&(f!=null||A!=null))switch(d){case"value":q=f;break;case"defaultValue":w=f;break;case"multiple":v=f;default:f!==A&&He(t,n,d,f,r,A)}n=w,s=v,r=B,q!=null?yi(t,!!s,q,!1):!!r!=!!s&&(n!=null?yi(t,!!s,n,!0):yi(t,!!s,s?[]:"",!1));return;case"textarea":B=q=null;for(w in s)if(d=s[w],s.hasOwnProperty(w)&&d!=null&&!r.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:He(t,n,w,null,r,d)}for(v in r)if(d=r[v],f=s[v],r.hasOwnProperty(v)&&(d!=null||f!=null))switch(v){case"value":q=d;break;case"defaultValue":B=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(o(91));break;default:d!==f&&He(t,n,v,d,r,f)}Pm(t,q,B);return;
vendor: 23,551 bytes, line 50
50case"option":for(var fe in s)if(q=s[fe],s.hasOwnProperty(fe)&&q!=null&&!r.hasOwnProperty(fe))switch(fe){case"selected":t.selected=!1;break;default:He(t,n,fe,null,r,q)}for(A in r)if(q=r[A],B=s[A],r.hasOwnProperty(A)&&q!==B&&(q!=null||B!=null))switch(A){case"selected":t.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:He(t,n,A,q,r,B)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ue in s)q=s[ue],s.hasOwnProperty(ue)&&q!=null&&!r.hasOwnProperty(ue)&&He(t,n,ue,null,r,q);for(P in r)if(q=r[P],B=s[P],r.hasOwnProperty(P)&&q!==B&&(q!=null||B!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(o(137,n));break;default:He(t,n,P,q,r,B)}return;default:if(au(n)){for(var $e in s)q=s[$e],s.hasOwnProperty($e)&&q!==void 0&&!r.hasOwnProperty($e)&&Uc(t,n,$e,void 0,r,q);for(G in r)q=r[G],B=s[G],!r.hasOwnProperty(G)||q===B||q===void 0&&B===void 0||Uc(t,n,G,q,r,B);return}}for(var O in s)q=s[O],s.hasOwnProperty(O)&&q!=null&&!r.hasOwnProperty(O)&&He(t,n,O,null,r,q);for(Q in r)q=r[Q],B=s[Q],!r.hasOwnProperty(Q)||q===B||q==null&&B==null||He(t,n,Q,q,r,B)}var Hc=null,$c=null;function Qr(t){return t.nodeType===9?t:t.ownerDocument}function Bg(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Ug(t,n){if(t===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&n==="foreignObject"?0:t}function Gc(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Fc=null;function BS(){var t=window.event;return t&&t.type==="popstate"?t===Fc?!1:(Fc=t,!0):(Fc=null,!1)}var Hg=typeof setTimeout=="function"?setTimeout:void 0,US=typeof clearTimeout=="function"?clearTimeout:void 0,$g=typeof Promise=="function"?Promise:void 0,HS=typeof queueMicrotask=="function"?queueMicrotask:typeof $g<"u"?function(t){return $g.resolve(null).then(t).catch($S)}:Hg;function $S(t){setTimeout(function(){throw t})}function xa(t){return t==="head"}function Gg(t,n){var s=n,r=0,d=0;do{var f=s.nextSibling;if(t.removeChild(s),f&&f.nodeType===8)if(s=f.data,s==="/$"){if(0<r&&8>r){s=r;var v=t.ownerDocument;if(s&1&&no(v.documentElement),s&2&&no(v.body),s&4)for(s=v.head,no(s),v=s.firstChild;v;){var w=v.nextSibling,A=v.nodeName;v[ys]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&v.rel.toLowerCase()==="stylesheet"||s.removeChild(v),v=w}}if(d===0){t.removeChild(f),co(n);return}d--}else s==="$"||s==="$?"||s==="$!"?d++:r=s.charCodeAt(0)-48;else r=0;s=f}while(s);co(n)}function Ic(t){var n=t.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var s=n;switch(n=n.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":Ic(s),Zl(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}t.removeChild(s)}}function GS(t,n,s,r){for(;t.nodeType===1;){var d=s;if(t.nodeName.toLowerCase()!==n.toLowerCase()){if(!r&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(r){if(!t[ys])switch(n){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==d.rel||t.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||t.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||t.getAttribute("title")!==(d.title==null?null:d.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(d.src==null?null:d.src)||t.getAttribute("type")!==(d.type==null?null:d.type)||t.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(n==="input"&&t.type==="hidden"){var f=d.name==null?null:""+d.name;if(d.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=yn(t.nextSibling),t===null)break}return null}function FS(t,n,s){if(n==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!s||(t=yn(t.nextSibling),t===null))return null;return t}function Yc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function IS(t,n){var s=t.ownerDocument;if(t.data!=="$?"||s.readyState==="complete")n();else{var r=function(){n(),s.removeEventListener("DOMContentLoaded",r)};s.addEventListener("DOMContentLoaded",r),t._reactRetry=r}}function yn(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===1||n===3)break;if(n===8){if(n=t.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return t}var Xc=null;function Fg(t){t=t.previousSibling;for(var n=0;t;){if(t.nodeType===8){var s=t.data;if(s==="$"||s==="$!"||s==="$?"){if(n===0)return t;n--}else s==="/$"&&n++}t=t.previousSibling}return null}function Ig(t,n,s){switch(n=Qr(s),t){case"html":if(t=n.documentElement,!t)throw Error(o(452));return t;case"head":if(t=n.head,!t)throw Error(o(453));return t;case"body":if(t=n.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function no(t){for(var n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Zl(t)}var un=new Map,Yg=new Set;function Zr(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Xn=K.d;K.d={f:YS,r:XS,D:KS,C:QS,L:ZS,m:JS,X:ew,S:WS,M:tw};function YS(){var t=Xn.f(),n=Hr();return t||n}function XS(t){var n=mi(t);n!==null&&n.tag===5&&n.type==="form"?mp(n):Xn.r(t)}var Yi=typeof document>"u"?null:document;function Xg(t,n,s){var r=Yi;if(r&&typeof n=="string"&&n){var d=tn(n);d='link[rel="'+t+'"][href="'+d+'"]',typeof s=="string"&&(d+='[crossorigin="'+s+'"]'),Yg.has(d)||(Yg.add(d),t={rel:t,crossOrigin:s,href:n},r.querySelector(d)===null&&(n=r.createElement("link"),Et(n,"link",t),vt(n),r.head.appendChild(n)))}}function KS(t){Xn.D(t),Xg("dns-prefetch",t,null)}function QS(t,n){Xn.C(t,n),Xg("preconnect",t,n)}function ZS(t,n,s){Xn.L(t,n,s);var r=Yi;if(r&&t&&n){var d='link[rel="preload"][as="'+tn(n)+'"]';n==="image"&&s&&s.imageSrcSet?(d+='[imagesrcset="'+tn(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(d+='[imagesizes="'+tn(s.imageSizes)+'"]')):d+='[href="'+tn(t)+'"]';var f=d;switch(n){case"style":f=Xi(t);break;case"script":f=Ki(t)}un.has(f)||(t=y({rel:"preload",href:n==="image"&&s&&s.imageSrcSet?void 0:t,as:n},s),un.set(f,t),r.querySelector(d)!==null||n==="style"&&r.querySelector(ao(f))||n==="script"&&r.querySelector(io(f))||(n=r.createElement("link"),Et(n,"link",t),vt(n),r.head.appendChild(n)))}}function JS(t,n){Xn.m(t,n);var s=Yi;if(s&&t){var r=n&&typeof n.as=="string"?n.as:"script",d='link[rel="modulepreload"][as="'+tn(r)+'"][href="'+tn(t)+'"]',f=d;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Ki(t)}if(!un.has(f)&&(t=y({rel:"modulepreload",href:t},n),un.set(f,t),s.querySelector(d)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(io(f)))return}r=s.createElement("link"),Et(r,"link",t),vt(r),s.head.appendChild(r)}}}function WS(t,n,s){Xn.S(t,n,s);var r=Yi;if(r&&t){var d=hi(r).hoistableStyles,f=Xi(t);n=n||"default";var v=d.get(f);if(!v){var w={loading:0,preload:null};if(v=r.querySelector(ao(f)))w.loading=5;else{t=y({rel:"stylesheet",href:t,"data-precedence":n},s),(s=un.get(f))&&Kc(t,s);var A=v=r.createElement("link");vt(A),Et(A,"link",t),A._p=new Promise(function(P,G){A.onload=P,A.onerror=G}),A.addEventListener("load",function(){w.loading|=1}),A.addEventListener("error",function(){w.loading|=2}),w.loading|=4,Jr(v,n,r)}v={type:"stylesheet",instance:v,count:1,state:w},d.set(f,v)}}}function ew(t,n){Xn.X(t,n);var s=Yi;if(s&&t){var r=hi(s).hoistableScripts,d=Ki(t),f=r.get(d);f||(f=s.querySelector(io(d)),f||(t=y({src:t,async:!0},n),(n=un.get(d))&&Qc(t,n),f=s.createElement("script"),vt(f),Et(f,"link",t),s.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},r.set(d,f))}}function tw(t,n){Xn.M(t,n);var s=Yi;if(s&&t){var r=hi(s).hoistableScripts,d=Ki(t),f=r.get(d);f||(f=s.querySelector(io(d)),f||(t=y({src:t,async:!0,type:"module"},n),(n=un.get(d))&&Qc(t,n),f=s.createElement("script"),vt(f),Et(f,"link",t),s.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},r.set(d,f))}}function Kg(t,n,s,r){var d=(d=se.current)?Zr(d):null;if(!d)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(n=Xi(s.href),s=hi(d).hoistableStyles,r=s.get(n),r||(r={type:"style",instance:null,count:0,state:null},s.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){t=Xi(s.href);var f=hi(d).hoistableStyles,v=f.get(t);if(v||(d=d.ownerDocument||d,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(t,v),(f=d.querySelector(ao(t)))&&!f._p&&(v.instance=f,v.state.loading=5),un.has(t)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},un.set(t,s),f||nw(d,t,s,v.state))),n&&r===null)throw Error(o(528,""));return v}if(n&&r!==null)throw Error(o(529,""));return null;case"script":return n=s.async,s=s.src,typeof s=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Ki(s),s=hi(d).hoistableScripts,r=s.get(n),r||(r={type:"script",instance:null,count:0,state:null},s.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function Xi(t){return'href="'+tn(t)+'"'}function ao(t){return'link[rel="stylesheet"]['+t+"]"}function Qg(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function nw(t,n,s,r){t.querySelector('link[rel="preload"][as="style"]['+n+"]")?r.loading=1:(n=t.createElement("link"),r.preload=n,n.addEventListener("load",function(){return r.loading|=1}),n.addEventListener("error",function(){return r.loading|=2}),Et(n,"link",s),vt(n),t.head.appendChild(n))}function Ki(t){return'[src="'+tn(t)+'"]'}function io(t){return"script[async]"+t}function Zg(t,n,s){if(n.count++,n.instance===null)switch(n.type){case"style":var r=t.querySelector('style[data-href~="'+tn(s.href)+'"]');if(r)return n.instance=r,vt(r),r;var d=y({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return r=(t.ownerDocument||t).createElement("style"),vt(r),Et(r,"style",d),Jr(r,s.precedence,t),n.instance=r;case"stylesheet":d=Xi(s.href);var f=t.querySelector(ao(d));if(f)return n.state.loading|=4,n.instance=f,vt(f),f;r=Qg(s),(d=un.get(d))&&Kc(r,d),f=(t.ownerDocument||t).createElement("link"),vt(f);var v=f;return v._p=new Promise(function(w,A){v.onload=w,v.onerror=A}),Et(f,"link",r),n.state.loading|=4,Jr(f,s.precedence,t),n.instance=f;case"script":return f=Ki(s.src),(d=t.querySelector(io(f)))?(n.instance=d,vt(d),d):(r=s,(d=un.get(f))&&(r=y({},s),Qc(r,d)),t=t.ownerDocument||t,d=t.createElement("script"),vt(d),Et(d,"link",r),t.head.appendChild(d),n.instance=d);case"void":return null;default:throw Error(o(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(r=n.instance,n.state.loading|=4,Jr(r,s.precedence,t));return n.instance}function Jr(t,n,s){for(var r=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=r.length?r[r.length-1]:null,f=d,v=0;v<r.length;v++){var w=r[v];if(w.dataset.precedence===n)f=w;else if(f!==d)break}f?f.parentNode.insertBefore(t,f.nextSibling):(n=s.nodeType===9?s.head:s,n.insertBefore(t,n.firstChild))}function Kc(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.title==null&&(t.title=n.title)}function Qc(t,n){t.crossOrigin==null&&(t.crossOrigin=n.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=n.referrerPolicy),t.integrity==null&&(t.integrity=n.integrity)}var Wr=null;function Jg(t,n,s){if(Wr===null){var r=new Map,d=Wr=new Map;d.set(s,r)}else d=Wr,r=d.get(s),r||(r=new Map,d.set(s,r));if(r.has(t))return r;for(r.set(t,null),s=s.getElementsByTagName(t),d=0;d<s.length;d++){var f=s[d];if(!(f[ys]||f[Rt]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var v=f.getAttribute(n)||"";v=t+v;var w=r.get(v);w?w.push(f):r.set(v,[f])}}return r}function Wg(t,n,s){t=t.ownerDocument||t,t.head.insertBefore(s,n==="title"?t.querySelector("head > title"):null)}function aw(t,n,s){if(s===1||n.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return t=n.disabled,typeof n.precedence=="string"&&t==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function e0(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var so=null;function iw(){}function sw(t,n,s){if(so===null)throw Error(o(475));var r=so;if(n.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var d=Xi(s.href),f=t.querySelector(ao(d));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(r.count++,r=el.bind(r),t.then(r,r)),n.state.loading|=4,n.instance=f,vt(f);return}f=t.ownerDocument||t,s=Qg(s),(d=un.get(d))&&Kc(s,d),f=f.createElement("link"),vt(f);var v=f;v._p=new Promise(function(w,A){v.onload=w,v.onerror=A}),Et(f,"link",s),n.instance=f}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(r.count++,n=el.bind(r),t.addEventListener("load",n),t.addEventListener("error",n))}}function ow(){if(so===null)throw Error(o(475));var t=so;return t.stylesheets&&t.count===0&&Zc(t,t.stylesheets),0<t.count?function(n){var s=setTimeout(function(){if(t.stylesheets&&Zc(t,t.stylesheets),t.unsuspend){var r=t.unsuspend;t.unsuspend=null,r()}},6e4);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(s)}}:null}function el(){if(this.count--,this.count===0){if(this.stylesheets)Zc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var tl=null;function Zc(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,tl=new Map,n.forEach(rw,t),tl=null,el.call(t))}function rw(t,n){if(!(n.state.loading&4)){var s=tl.get(t);if(s)var r=s.get(null);else{s=new Map,tl.set(t,s);for(var d=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<d.length;f++){var v=d[f];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(s.set(v.dataset.precedence,v),r=v)}r&&s.set(null,r)}d=n.instance,v=d.getAttribute("data-precedence"),f=s.get(v)||r,f===r&&s.set(null,d),s.set(v,d),this.count++,r=el.bind(this),d.addEventListener("load",r),d.addEventListener("error",r),f?f.parentNode.insertBefore(d,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(d,t.firstChild)),n.state.loading|=4}}var oo={$$typeof:_,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function lw(t,n,s,r,d,f,v,w){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Yl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yl(0),this.hiddenUpdates=Yl(null),this.identifierPrefix=r,this.onUncaughtError=d,this.onCaughtError=f,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,this.incompleteTransitions=new Map}function t0(t,n,s,r,d,f,v,w,A,P,G,Q){return t=new lw(t,n,s,v,w,A,P,Q),n=1,f===!0&&(n|=24),f=Ft(3,null,null,n),t.current=f,f.stateNode=t,n=ku(),n.refCount++,t.pooledCache=n,n.refCount++,f.memoizedState={element:r,isDehydrated:s,cache:n},Lu(f),t}function n0(t){return t?(t=_i,t):_i}function a0(t,n,s,r,d,f){d=n0(d),r.context===null?r.context=d:r.pendingContext=d,r=oa(n),r.payload={element:s},f=f===void 0?null:f,f!==null&&(r.callback=f),s=ra(t,r,n),s!==null&&(Qt(s,t,n),Ls(s,t,n))}function i0(t,n){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<n?s:n}}function Jc(t,n){i0(t,n),(t=t.alternate)&&i0(t,n)}function s0(t){if(t.tag===13){var n=Ei(t,67108864);n!==null&&Qt(n,t,67108864),Jc(t,67108864)}}var nl=!0;function uw(t,n,s,r){var d=H.T;H.T=null;var f=K.p;try{K.p=2,Wc(t,n,s,r)}finally{K.p=f,H.T=d}}function cw(t,n,s,r){var d=H.T;H.T=null;var f=K.p;try{K.p=8,Wc(t,n,s,r)}finally{K.p=f,H.T=d}}function Wc(t,n,s,r){if(nl){var d=ed(r);if(d===null)Bc(t,n,r,al,s),r0(t,r);else if(fw(d,t,n,s,r))r.stopPropagation();else if(r0(t,r),n&4&&-1<dw.indexOf(t)){for(;d!==null;){var f=mi(d);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var v=za(f.pendingLanes);if(v!==0){var w=f;for(w.pendingLanes|=2,w.entangledLanes|=2;v;){var A=1<<31-Re(v);w.entanglements[1]|=A,v&=~A}Rn(f),(qe&6)===0&&(Br=$t()+500,Ws(0))}}break;case 13:w=Ei(f,2),w!==null&&Qt(w,f,2),Hr(),Jc(f,2)}if(f=ed(r),f===null&&Bc(t,n,r,al,s),f===d)break;d=f}d!==null&&r.stopPropagation()}else Bc(t,n,r,null,s)}}function ed(t){return t=su(t),td(t)}var al=null;function td(t){if(al=null,t=fi(t),t!==null){var n=u(t);if(n===null)t=null;else{var s=n.tag;if(s===13){if(t=c(n),t!==null)return t;t=null}else if(s===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;t=null}else n!==t&&(t=null)}}return al=t,null}function o0(t){switch(t){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Qo()){case ui:return 2;case ye:return 8;case oe:case De:return 32;case Pe:return 268435456;default:return 32}default:return 32}}var nd=!1,ba=null,Sa=null,wa=null,ro=new Map,lo=new Map,Ca=[],dw="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".split(" ");function r0(t,n){switch(t){case"focusin":case"focusout":ba=null;break;case"dragenter":case"dragleave":Sa=null;break;case"mouseover":case"mouseout":wa=null;break;case"pointerover":case"pointerout":ro.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":lo.delete(n.pointerId)}}function uo(t,n,s,r,d,f){return t===null||t.nativeEvent!==f?(t={blockedOn:n,domEventName:s,eventSystemFlags:r,nativeEvent:f,targetContainers:[d]},n!==null&&(n=mi(n),n!==null&&s0(n)),t):(t.eventSystemFlags|=r,n=t.targetContainers,d!==null&&n.indexOf(d)===-1&&n.push(d),t)}function fw(t,n,s,r,d){switch(n){case"focusin":return ba=uo(ba,t,n,s,r,d),!0;case"dragenter":return Sa=uo(Sa,t,n,s,r,d),!0;case"mouseover":return wa=uo(wa,t,n,s,r,d),!0;case"pointerover":var f=d.pointerId;return ro.set(f,uo(ro.get(f)||null,t,n,s,r,d)),!0;case"gotpointercapture":return f=d.pointerId,lo.set(f,uo(lo.get(f)||null,t,n,s,r,d)),!0}return!1}function l0(t){var n=fi(t.target);if(n!==null){var s=u(n);if(s!==null){if(n=s.tag,n===13){if(n=c(s),n!==null){t.blockedOn=n,s1(t.priority,function(){if(s.tag===13){var r=Kt();r=Xl(r);var d=Ei(s,r);d!==null&&Qt(d,s,r),Jc(s,r)}});return}}else if(n===3&&s.stateNode.current.memoizedState.isDehydrated){t.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}t.blockedOn=null}function il(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;0<n.length;){var s=ed(t.nativeEvent);if(s===null){s=t.nativeEvent;var r=new s.constructor(s.type,s);iu=r,s.target.dispatchEvent(r),iu=null}else return n=mi(s),n!==null&&s0(n),t.blockedOn=s,!1;n.shift()}return!0}function u0(t,n,s){il(t)&&s.delete(n)}function mw(){nd=!1,ba!==null&&il(ba)&&(ba=null),Sa!==null&&il(Sa)&&(Sa=null),wa!==null&&il(wa)&&(wa=null),ro.forEach(u0),lo.forEach(u0)}function sl(t,n){t.blockedOn===n&&(t.blockedOn=null,nd||(nd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,mw)))}var ol=null;function c0(t){ol!==t&&(ol=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){ol===t&&(ol=null);for(var n=0;n<t.length;n+=3){var s=t[n],r=t[n+1],d=t[n+2];if(typeof r!="function"){if(td(r||s)===null)continue;break}var f=mi(s);f!==null&&(t.splice(n,3),n-=3,tc(f,{pending:!0,data:d,method:s.method,action:r},r,d))}}))}function co(t){function n(A){return sl(A,t)}ba!==null&&sl(ba,t),Sa!==null&&sl(Sa,t),wa!==null&&sl(wa,t),ro.forEach(n),lo.forEach(n);for(var s=0;s<Ca.length;s++){var r=Ca[s];r.blockedOn===t&&(r.blockedOn=null)}for(;0<Ca.length&&(s=Ca[0],s.blockedOn===null);)l0(s),s.blockedOn===null&&Ca.shift();if(s=(t.ownerDocument||t).$$reactFormReplay,s!=null)for(r=0;r<s.length;r+=3){var d=s[r],f=s[r+1],v=d[Lt]||null;if(typeof f=="function")v||c0(s);else if(v){var w=null;if(f&&f.hasAttribute("formAction")){if(d=f,v=f[Lt]||null)w=v.formAction;else if(td(d)!==null)continue}else w=v.action;typeof w=="function"?s[r+1]=w:(s.splice(r,3),r-=3),c0(s)}}}function ad(t){this._internalRoot=t}rl.prototype.render=ad.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw Error(o(409));var s=n.current,r=Kt();a0(s,r,t,n,null,null)},rl.prototype.unmount=ad.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var n=t.containerInfo;a0(t.current,2,null,t,null,null),Hr(),n[di]=null}};function rl(t){this._internalRoot=t}rl.prototype.unstable_scheduleHydration=function(t){if(t){var n=Rm();t={blockedOn:null,target:t,priority:n};for(var s=0;s<Ca.length&&n!==0&&n<Ca[s].priority;s++);Ca.splice(s,0,t),s===0&&l0(t)}};var d0=a.version;if(d0!=="19.1.0")throw Error(o(527,d0,"19.1.0"));K.findDOMNode=function(t){var n=t._reactInternals;if(n===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=p(n),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var hw={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.1.0"};
50if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ll=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ll.isDisabled&&ll.supportsFiber)try{Qe=ll.inject(hw),le=ll}catch{}}return mo.createRoot=function(t,n){if(!l(t))throw Error(o(299));var s=!1,r="",d=Rp,f=jp,v=Ap,w=null;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(d=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(w=n.unstable_transitionCallbacks)),n=t0(t,1,!1,null,null,s,r,d,f,v,w,null),t[di]=n.current,qc(t),new ad(n)},mo.hydrateRoot=function(t,n,s){if(!l(t))throw Error(o(299));var r=!1,d="",f=Rp,v=jp,w=Ap,A=null,P=null;return s!=null&&(s.unstable_strictMode===!0&&(r=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onUncaughtError!==void 0&&(f=s.onUncaughtError),s.onCaughtError!==void 0&&(v=s.onCaughtError),s.onRecoverableError!==void 0&&(w=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(A=s.unstable_transitionCallbacks),s.formState!==void 0&&(P=s.formState)),n=t0(t,1,!0,n,s??null,r,d,f,v,w,A,P),n.context=n0(null),s=n.current,r=Kt(),r=Xl(r),d=oa(r),d.callback=null,ra(s,d,r),s=r,n.current.lanes=s,gs(n,s),Rn(n),t[di]=n.current,qc(t),new rl(n)},mo.version="19.1.0",mo}var w0;function Rw(){if(w0)return od.exports;w0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(a){console.error(a)}}return e(),od.exports=_w(),od.exports}var jw=Rw();const Aw=_f(jw),Nw="modulepreload",Mw=function(e){return"/"+e},C0={},Mn=function(a,i,o){let l=Promise.resolve();if(i&&i.length>0){document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),m=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));l=Promise.allSettled(i.map(p=>{if(p=Mw(p),p in C0)return;C0[p]=!0;const g=p.endsWith(".css"),y=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${y}`))return;const x=document.createElement("link");if(x.rel=g?"stylesheet":Nw,g||(x.as="script"),x.crossOrigin="",x.href=p,m&&x.setAttribute("nonce",m),document.head.appendChild(x),g)return new Promise((b,S)=>{x.addEventListener("load",b),x.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${p}`)))})}))}function u(c){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=c,window.dispatchEvent(m),!m.defaultPrevented)throw c}return l.then(c=>{for(const m of c||[])m.status==="rejected"&&u(m.reason);return a().catch(u)})};var ho={},T0;function kw(){if(T0)return ho;T0=1,Object.defineProperty(ho,"__esModule",{value:!0}),ho.parse=c,ho.serialize=g;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,a=/^[\u0021-\u003A\u003C-\u007E]*$/,i=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,l=Object.prototype.toString,u=(()=>{const b=function(){};return b.prototype=Object.create(null),b})();function c(b,S){const C=new u,E=b.length;if(E<2)return C;const j=(S==null?void 0:S.decode)||y;let R=0;do{const N=b.indexOf("=",R);if(N===-1)break;const _=b.indexOf(";",R),z=_===-1?E:_;if(N>z){R=b.lastIndexOf(";",N-1)+1;continue}const D=m(b,R,N),X=p(b,N,D),U=b.slice(D,X);if(C[U]===void 0){let V=m(b,N+1,z),F=p(b,z,V);const Z=j(b.slice(V,F));C[U]=Z}R=z+1}while(R<E);return C}function m(b,S,C){do{const E=b.charCodeAt(S);if(E!==32&&E!==9)return S}while(++S<C);return C}function p(b,S,C){for(;S>C;){const E=b.charCodeAt(--S);if(E!==32&&E!==9)return S+1}return C}function g(b,S,C){const E=(C==null?void 0:C.encode)||encodeURIComponent;if(!e.test(b))throw new TypeError(`argument name is invalid: ${b}`);const j=E(S);if(!a.test(j))throw new TypeError(`argument val is invalid: ${S}`);let R=b+"="+j;if(!C)return R;if(C.maxAge!==void 0){if(!Number.isInteger(C.maxAge))throw new TypeError(`option maxAge is invalid: ${C.maxAge}`);R+="; Max-Age="+C.maxAge}if(C.domain){if(!i.test(C.domain))throw new TypeError(`option domain is invali
50d: ${C.domain}`);R+="; Domain="+C.domain}if(C.path){if(!o.test(C.path))throw new TypeError(`option path is invalid: ${C.path}`);R+="; Path="+C.path}if(C.expires){if(!x(C.expires)||!Number.isFinite(C.expires.valueOf()))throw new TypeError(`option expires is invalid: ${C.expires}`);R+="; Expires="+C.expires.toUTCString()}if(C.httpOnly&&(R+="; HttpOnly"),C.secure&&(R+="; Secure"),C.partitioned&&(R+="; Partitioned"),C.priority)switch(typeof C.priority=="string"?C.priority.toLowerCase():void 0){case"low":R+="; Priority=Low";break;case"medium":R+="; Priority=Medium";break;case"high":R+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${C.priority}`)}if(C.sameSite)switch(typeof C.sameSite=="string"?C.sameSite.toLowerCase():C.sameSite){case!0:case"strict":R+="; SameSite=Strict";break;case"lax":R+="; SameSite=Lax";break;case"none":R+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${C.sameSite}`)}return R}function y(b){if(b.indexOf("%")===-1)return b;try{return decodeURIComponent(b)}catch{return b}}function x(b){return l.call(b)==="[object Date]"}return ho}kw();/** 51 * react-router v7.5.0 52 * 53 * Copyright (c) Remix Software Inc. 54 * 55 * This source code is licensed under the MIT license found in the 56 * LICENSE.md file in the root directory of this source tree. 57 * 58 * @license MIT 59 */var E0="popstate";function Dw(e={}){function a(o,l){let{pathname:u,search:c,hash:m}=o.location;return Bd("",{pathname:u,search:c,hash:m},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function i(o,l){return typeof l=="string"?l:Ao(l)}return zw(a,i,null,e)}function at(e,a){if(e===!1||e===null||typeof e>"u")throw new Error(a)}function bn(e,a){if(!e){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function Ow(){return Math.random().toString(36).substring(2,10)}function _0(e,a){return{usr:e.state,key:e.key,idx:a}}function Bd(e,a,i=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof a=="string"?os(a):a,state:i,key:a&&a.key||o||Ow()}}function Ao({pathname:e="/",search:a="",hash:i=""}){return a&&a!=="?"&&(e+=a.charAt(0)==="?"?a:"?"+a),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function os(e){let a={};if(e){let i=e.indexOf("#");i>=0&&(a.hash=e.substring(i),e=e.substring(0,i));let o=e.indexOf("?");o>=0&&(a.search=e.substring(o),e=e.substring(0,o)),e&&(a.pathname=e)}return a}function zw(e,a,i,o={}){let{window:l=document.defaultView,v5Compat:u=!1}=o,c=l.history,m="POP",p=null,g=y();g==null&&(g=0,c.replaceState({...c.state,idx:g},""));function y(){return(c.state||{idx:null}).idx}function x(){m="POP";let j=y(),R=j==null?null:j-g;g=j,p&&p({action:m,location:E.location,delta:R})}function b(j,R){m="PUSH";let N=Bd(E.location,j,R);g=y()+1;let _=_0(N,g),z=E.createHref(N);try{c.pushState(_,"",z)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;l.location.assign(z)}u&&p&&p({action:m,location:E.location,delta:1})}function S(j,R){m="REPLACE";let N=Bd(E.location,j,R);g=y();let _=_0(N,g),z=E.createHref(N);c.replaceState(_,"",z),u&&p&&p({action:m,location:E.location,delta:0})}function C(j){let R=l.location.origin!=="null"?l.location.origin:l.location.href,N=typeof j=="string"?j:Ao(j);return N=N.replace(/ $/,"%20"),at(R,`No window.location.(origin|href) available to create URL for href: ${N}`),new URL(N,R)}let E={get action(){return m},get location(){return e(l,c)},listen(j){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(E0,x),p=j,()=>{l.removeEventListener(E0,x),p=null}},createHref(j){return a(l,j)},createURL:C,encodeLocation(j){let R=C(j);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:b,replace:S,go(j){return c.go(j)}};return E}function hv(e,a,i="/"){return Lw(e,a,i,!1)}function Lw(e,a,i,o){let l=typeof a=="string"?os(a):a,u=Jn(l.pathname||"/",i);if(u==null)return null;let c=pv(e);Vw(c);let m=null;for(let p=0;m==null&&p<c.length;++p){let g=Xw(u);m=Iw(c[p],g,o)}return m}function pv(e,a=[],i=[],o=""){let l=(u,c,m)=>{let p={relativePath:m===void 0?u.path||"":m,caseSensitive:u.caseSensitive===!0,childrenIndex:c,route:u};p.relativePath.startsWith("/")&&(at(p.relativePath.startsWith(o),`Absolute route path "${p.relativePath}" nested under path "${o}
59" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(o.length));let g=Zn([o,p.relativePath]),y=i.concat(p);u.children&&u.children.length>0&&(at(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),pv(u.children,a,y,g)),!(u.path==null&&!u.index)&&a.push({path:g,score:Gw(g,u.index),routesMeta:y})};return e.forEach((u,c)=>{var m;if(u.path===""||!((m=u.path)!=null&&m.includes("?")))l(u,c);else for(let p of gv(u.path))l(u,c,p)}),a}function gv(e){let a=e.split("/");if(a.length===0)return[];let[i,...o]=a,l=i.endsWith("?"),u=i.replace(/\?$/,"");if(o.length===0)return l?[u,""]:[u];let c=gv(o.join("/")),m=[];return m.push(...c.map(p=>p===""?u:[u,p].join("/"))),l&&m.push(...c),m.map(p=>e.startsWith("/")&&p===""?"/":p)}function Vw(e){e.sort((a,i)=>a.score!==i.score?i.score-a.score:Fw(a.routesMeta.map(o=>o.childrenIndex),i.routesMeta.map(o=>o.childrenIndex)))}var Pw=/^:[\w-]+$/,qw=3,Bw=2,Uw=1,Hw=10,$w=-2,R0=e=>e==="*";function Gw(e,a){let i=e.split("/"),o=i.length;return i.some(R0)&&(o+=$w),a&&(o+=Bw),i.filter(l=>!R0(l)).reduce((l,u)=>l+(Pw.test(u)?qw:u===""?Uw:Hw),o)}function Fw(e,a){return e.length===a.length&&e.slice(0,-1).every((o,l)=>o===a[l])?e[e.length-1]-a[a.length-1]:0}function Iw(e,a,i=!1){let{routesMeta:o}=e,l={},u="/",c=[];for(let m=0;m<o.length;++m){let p=o[m],g=m===o.length-1,y=u==="/"?a:a.slice(u.length)||"/",x=jl({path:p.relativePath,caseSensitive:p.caseSensitive,end:g},y),b=p.route;if(!x&&g&&i&&!o[o.length-1].route.index&&(x=jl({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},y)),!x)return null;
59Object.assign(l,x.params),c.push({params:l,pathname:Zn([u,x.pathname]),pathnameBase:Jw(Zn([u,x.pathnameBase])),route:b}),x.pathnameBase!=="/"&&(u=Zn([u,x.pathnameBase]))}return c}function jl(e,a){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[i,o]=Yw(e.path,e.caseSensitive,e.end),l=a.match(i);if(!l)return null;let u=l[0],c=u.replace(/(.)\/+$/,"$1"),m=l.slice(1);return{params:o.reduce((g,{paramName:y,isOptional:x},b)=>{if(y==="*"){let C=m[b]||"";c=u.slice(0,u.length-C.length).replace(/(.)\/+$/,"$1")}const S=m[b];return x&&!S?g[y]=void 0:g[y]=(S||"").replace(/%2F/g,"/"),g},{}),pathname:u,pathnameBase:c,pattern:e}}function Yw(e,a=!1,i=!0){bn(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 o=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,m,p)=>(o.push({paramName:m,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,a?void 0:"i"),o]}function Xw(e){try{return e.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return bn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),e}}function Jn(e,a){if(a==="/")return e;if(!e.toLowerCase().startsWith(a.toLowerCase()))return null;let i=a.endsWith("/")?a.length-1:a.length,o=e.charAt(i);return o&&o!=="/"?null:e.slice(i)||"/"}function Kw(e,a="/"){let{pathname:i,search:o="",hash:l=""}=typeof e=="string"?os(e):e;return{pathname:i?i.startsWith("/")?i:Qw(i,a):a,search:Ww(o),hash:eC(l)}}function Qw(e,a){let i=a.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?i.length>1&&i.pop():l!=="."&&i.push(l)}),i.length>1?i.join("/"):"/"}function cd(e,a,i,o){return`Cannot include a '${e}' character in a manually specified \`to.${a}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Zw(e){return e.filter((a,i)=>i===0||a.route.path&&a.route.path.length>0)}function yv(e){let a=Zw(e);return a.map((i,o)=>o===a.length-1?i.pathname:i.pathnameBase)}function vv(e,a,i,o=!1){let l;typeof e=="string"?l=os(e):(l={...e},at(!l.pathname||!l.pathname.includes("?"),cd("?","pathname","search",l)),at(!l.pathname||!l.pathname.includes("#"),cd("#","pathname","hash",l)),at(!l.search||!l.search.includes("#"),cd("#","search","hash",l)));let u=e===""||l.pathname==="",c=u?"/":l.pathname,m;if(c==null)m=i;else{let x=a.length-1;if(!o&&c.startsWith("..")){let b=c.split("/");for(;b[0]==="..";)b.shift(),x-=1;l.pathname=b.join("/")}m=x>=0?a[x]:"/"}let p=Kw(l,m),g=c&&c!=="/"&&c.endsWith("/"),y=(u||c===".")&&i.endsWith("/");return!p.pathname.endsWith("/")&&(g||y)&&(p.pathname+="/"),p}var Zn=e=>e.join("/").replace(/\/\/+/g,"/"),Jw=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ww=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,eC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function tC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var xv=["POST","PUT","PATCH","DELETE"];new Set(xv);var nC=["GET",...xv];new Set(nC);var rs=T.createContext(null);rs.displayName="DataRouter";var Ll=T.createContext(null);Ll.displayName="DataRouterState";var bv=T.createContext({isTransitioning:!1});bv.displayName="ViewTransition";var aC=T.createContext(new Map);aC.displayName="Fetchers";var iC=T.createContext(null);iC.displayName="Await";var kn=T.createContext(null);kn.displayName="Navigation";var qo=T.createContext(null);qo.displayName="Location";var Dn=T.createContext({outlet:null,matches:[],isDataRoute:!1});Dn.displayName="Route";var Rf=T.createContext(null);Rf.displayName="RouteError";function sC(e,{relative:a}={}){at(Bo(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:o}=T.useContext(kn),{hash:l,pathname:u,search:c}=Uo(e,{relative:a}),m=u;return i!=="/"&&(m=u==="/"?i:Zn([i,u])),o.createHref({pathname:m,search:c,hash:l})}function Bo(){return T.useContext(qo)!=null}function Ht(){return at(Bo(),"useLocation() may be used only in the context of a <Router> component."),T.useContext(qo).location}var Sv="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function wv(e){T.useContext(kn).static||T.useLayoutEffect(e)}function jf(){let{isDataRoute:e}=T.useContext(Dn);return e?xC():oC()}function oC(){at(Bo(),"useNavigate() may be used only in the context of a <Router> component.");let e=T.useContext(rs),{basename:a,navigator:i}=T.useContext(kn),{matches:o}=T.useContext(Dn),{pathname:l}=Ht(),u=JSON.stringify(yv(o)),c=T.useRef(!1);return wv(()=>{c.current=!0}),T.useCallback((p,g={})=>
59{if(bn(c.current,Sv),!c.current)return;if(typeof p=="number"){i.go(p);return}let y=vv(p,JSON.parse(u),l,g.relative==="path");e==null&&a!=="/"&&(y.pathname=y.pathname==="/"?a:Zn([a,y.pathname])),(g.replace?i.replace:i.push)(y,g.state,g)},[a,i,u,l,e])}T.createContext(null);function rC(){let{matches:e}=T.useContext(Dn),a=e[e.length-1];return a?a.params:{}}function Uo(e,{relative:a}={}){let{matches:i}=T.useContext(Dn),{pathname:o}=Ht(),l=JSON.stringify(yv(i));return T.useMemo(()=>vv(e,JSON.parse(l),o,a==="path"),[e,l,o,a])}function lC(e,a){return Cv(e,a)}function Cv(e,a,i,o){var N;at(Bo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l,static:u}=T.useContext(kn),{matches:c}=T.useContext(Dn),m=c[c.length-1],p=m?m.params:{},g=m?m.pathname:"/",y=m?m.pathnameBase:"/",x=m&&m.route;{let _=x&&x.path||"";Tv(g,!x||_.endsWith("*")||_.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${g}" (under <Route path="${_}">) 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. 60 61Please change the parent <Route path="${_}"> to <Route path="${_==="/"?"*":`${_}/*`}">.`)}let b=Ht(),S;if(a){let _=typeof a=="string"?os(a):a;at(y==="/"||((N=_.pathname)==null?void 0:N.startsWith(y)),`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 "${y}" but pathname "${_.pathname}" was given in the \`location\` prop.`),S=_}else S=b;let C=S.pathname||"/",E=C;if(y!=="/"){let _=y.replace(/^\//,"").split("/");E="/"+C.replace(/^\//,"").split("/").slice(_.length).join("/")}let j=!u&&i&&i.matches&&i.matches.length>0?i.matches:hv(e,{pathname:E});bn(x||j!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),bn(j==null||j[j.length-1].route.element!==void 0||j[j.length-1].route.Component!==void 0||j[j.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.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 R=mC(j&&j.map(_=>Object.assign({},_,{params:Object.assign({},p,_.params),pathname:Zn([y,l.encodeLocation?l.encodeLocation(_.pathname).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?y:Zn([y,l.encodeLocation?l.encodeLocation(_.pathnameBase).pathname:_.pathnameBase])})),c,i,o);return a&&R?T.createElement(qo.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...S},navigationType:"POP"}},R):R}function uC(){let e=vC(),a=tC(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:o},u={padding:"2px 4px",backgroundColor:o},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=T.createElement(T.Fragment,null,T.createElement("p",null,"ð¿ Hey developer ð"),T.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",T.createElement("code",{style:u},"ErrorBoundary")," or"," ",T.createElement("code",{style:u},"errorElement")," prop on your route.")),T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},a),i?T.createElement("pre",{style:l},i):null,c)}var cC=T.createElement(uC,null),dC=class extends T.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,a){return a.location!==e.location||a.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:a.error,location:a.location,revalidation:e.revalidation||a.revalidation}}componentDidCatch(e,a){console.error("React Router caught the following error during render",e,a)}render(){return this.state.error!==void 0?T.createElement(Dn.Provider,{value:this.props.routeContext},T.createElement(Rf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function fC({routeContext:e,match:a,children:i}){let o=T.useContext(rs);return o&&o.static&&o.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=a.route.id),T.createElement(Dn.Provider,{value:e},i)}function mC(e,a=[],i=null,o=null){if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(a.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let l=e,u=i==null?void 0:i.errors;if(u!=null){let p=l.findIndex(g=>g.route.id&&(u==null?void 0:u[g.route.id])!==void 0);at(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),l=l.slice(0,Math.min(l.length,p+1))}let c=!1,m=-1;if(i)for(let p=0;p<l.length;p++){let g=l[p];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(m=p),g.route.id){let{loaderData:y,errors:x}
61=i,b=g.route.loader&&!y.hasOwnProperty(g.route.id)&&(!x||x[g.route.id]===void 0);if(g.route.lazy||b){c=!0,m>=0?l=l.slice(0,m+1):l=[l[0]];break}}}return l.reduceRight((p,g,y)=>{let x,b=!1,S=null,C=null;i&&(x=u&&g.route.id?u[g.route.id]:void 0,S=g.route.errorElement||cC,c&&(m<0&&y===0?(Tv("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,C=null):m===y&&(b=!0,C=g.route.hydrateFallbackElement||null)));let E=a.concat(l.slice(0,y+1)),j=()=>{let R;return x?R=S:b?R=C:g.route.Component?R=T.createElement(g.route.Component,null):g.route.element?R=g.route.element:R=p,T.createElement(fC,{match:g,routeContext:{outlet:p,matches:E,isDataRoute:i!=null},children:R})};return i&&(g.route.ErrorBoundary||g.route.errorElement||y===0)?T.createElement(dC,{location:i.location,revalidation:i.revalidation,component:S,error:x,children:j(),routeContext:{outlet:null,matches:E,isDataRoute:!0}}):j()},null)}function Af(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function hC(e){let a=T.useContext(rs);return at(a,Af(e)),a}function pC(e){let a=T.useContext(Ll);return at(a,Af(e)),a}function gC(e){let a=T.useContext(Dn);return at(a,Af(e)),a}function Nf(e){let a=gC(e),i=a.matches[a.matches.length-1];return at(i.route.id,`${e} can only be used on routes that contain a unique "id"`),i.route.id}function yC(){return Nf("useRouteId")}function vC(){var o;let e=T.useContext(Rf),a=pC("useRouteError"),i=Nf("useRouteError");return e!==void 0?e:(o=a.errors)==null?void 0:o[i]}function xC(){let{router:e}=hC("useNavigate"),a=Nf("useNavigate"),i=T.useRef(!1);return wv(()=>{i.current=!0}),T.useCallback(async(l,u={})=>{bn(i.current,Sv),i.current&&(typeof l=="number"?e.navigate(l):await e.navigate(l,{fromRouteId:a,...u}))},[e,a])}var j0={};function Tv(e,a,i){!a&&!j0[e]&&(j0[e]=!0,bn(!1,i))}T.memo(bC);function bC({routes:e,future:a,state:i}){return Cv(e,void 0,i,a)}function ot(e){at(!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 SC({basename:e="/",children:a=null,location:i,navigationType:o="POP",navigator:l,static:u=!1}){at(!Bo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),m=T.useMemo(()=>({basename:c,navigator:l,static:u,future:{}}),[c,l,u]);typeof i=="string"&&(i=os(i));let{pathname:p="/",search:g="",hash:y="",state:x=null,key:b="default"}=i,S=T.useMemo(()=>{let C=Jn(p,c);return C==null?null:{location:{pathname:C,search:g,hash:y,state:x,key:b},navigationType:o}},[c,p,g,y,x,b,o]);return bn(S!=null,`<Router basename="${c}"> is not able to match the URL "${p}${g}${y}" because it does not start with the basename, so the <Router> won't render anything.`),S==null?null:T.createElement(kn.Provider,{value:m},T.createElement(qo.Provider,{children:a,value:S}))}function wC({children:e,location:a}){return lC(Ud(e),a)}function Ud(e,a=[]){let i=[];return T.Children.forEach(e,(o,l)=>{if(!T.isValidElement(o))return;let u=[...a,l];if(o.type===T.Fragment){i.push.apply(i,Ud(o.props.children,u));return}at(o.type===ot,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),at(!o.props.index||!o.props.children,"An index route cannot have child routes.");let c={id:o.props.id||u.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(c.children=Ud(o.props.children,u)),i.push(c)}),i}var wl="get",Cl="application/x-www-form-urlencoded";function Vl(e){return e!=null&&typeof e.tagName=="string"}function CC(e){return Vl(e)&&e.tagName.toLowerCase()==="button"}function TC(e){return Vl(e)&&e.tagName.toLowerCase()==="form"}function EC(e){return Vl(e)&&e.tagName.toLowerCase()==="input"}function _C(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function RC(e,a){return e.button===0&&(!a||a==="_self")&&!_C(e)}function Hd(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((a,i)=>{let o=e[i];return a.concat(Array.isArray(o)?o.map(l=>[i,l]):[[i,o]])},[]))}function jC(e,a){let i=Hd(e);return a&&a.forEach((o,l)=>{i.has(l)||a.getAll(l).forEach(u=>{i.append(l,u)})}),i}var ul=null;function AC(){if(ul===null)try{new FormData(document.createElement("form"),0),ul=!1}catch{ul=!0}return ul}var NC=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function dd(e){return e!=null&&!NC.has(e)?(bn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Cl}"`),null):e}function MC(e,a){let i,o,l,u,c;if(TC(e)){let m=e.getAttribute("action");o=m?Jn(m,a):null,i=e.getAttribute("method")||wl,l=dd(e.getAttribute("enctype"))||Cl,u=new FormData(e)}else if(CC(e)||EC(e)&&(e.type==="submit"||e.type==="image")){let m=e.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=e.getAttribute("formaction")||m.getAttribute("action");if(o=p?Jn(p,a):null,i=e.getAttribute("formmethod")||m.getAttribute("method")||wl,l=dd(e.getAttribute("formenctype"))||dd(m.getAttribute("enctype"))||Cl,u=new FormData(m,e),!AC()){let{name:g,type:y,value:x}=e;if(y==="image"){let b=g?`${g}.`:"";u.append(`${b}x`,"0"),u.append(`${b}y`,"0")}
61else g&&u.append(g,x)}}else{if(Vl(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=wl,o=null,l=Cl,c=e}return u&&l==="text/plain"&&(c=u,u=void 0),{action:o,method:i.toLowerCase(),encType:l,formData:u,body:c}}function Mf(e,a){if(e===!1||e===null||typeof e>"u")throw new Error(a)}async function kC(e,a){if(e.id in a)return a[e.id];try{let i=await import(e.module);return a[e.id]=i,i}catch(i){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function DC(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 OC(e,a,i){let o=await Promise.all(e.map(async l=>{let u=a.routes[l.route.id];if(u){let c=await kC(u,i);return c.links?c.links():[]}return[]}));return PC(o.flat(1).filter(DC).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function A0(e,a,i,o,l,u){let c=(p,g)=>i[g]?p.route.id!==i[g].route.id:!0,m=(p,g)=>{var y;return i[g].pathname!==p.pathname||((y=i[g].route.path)==null?void 0:y.endsWith("*"))&&i[g].params["*"]!==p.params["*"]};return u==="assets"?a.filter((p,g)=>c(p,g)||m(p,g)):u==="data"?a.filter((p,g)=>{var x;let y=o.routes[p.route.id];if(!y||!y.hasLoader)return!1;if(c(p,g)||m(p,g))return!0;if(p.route.shouldRevalidate){let b=p.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((x=i[0])==null?void 0:x.params)||{},nextUrl:new URL(e,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function zC(e,a,{includeHydrateFallback:i}={}){return LC(e.map(o=>{let l=a.routes[o.route.id];if(!l)return[];let u=[l.module];return l.clientActionModule&&(u=u.concat(l.clientActionModule)),l.clientLoaderModule&&(u=u.concat(l.clientLoaderModule)),i&&l.hydrateFallbackModule&&(u=u.concat(l.hydrateFallbackModule)),l.imports&&(u=u.concat(l.imports)),u}).flat(1))}function LC(e){return[...new Set(e)]}function VC(e){let a={},i=Object.keys(e).sort();for(let o of i)a[o]=e[o];return a}function PC(e,a){let i=new Set;
61return new Set(a),e.reduce((o,l)=>{let u=JSON.stringify(VC(l));return i.has(u)||(i.add(u),o.push({key:u,link:l})),o},[])}function qC(e,a){let i=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return i.pathname==="/"?i.pathname="_root.data":a&&Jn(i.pathname,a)==="/"?i.pathname=`${a.replace(/\/$/,"")}/_root.data`:i.pathname=`${i.pathname.replace(/\/$/,"")}.data`,i}function Ev(){let e=T.useContext(rs);return Mf(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function BC(){let e=T.useContext(Ll);return Mf(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var kf=T.createContext(void 0);kf.displayName="FrameworkContext";function _v(){let e=T.useContext(kf);return Mf(e,"You must render this element inside a <HydratedRouter> element"),e}function UC(e,a){let i=T.useContext(kf),[o,l]=T.useState(!1),[u,c]=T.useState(!1),{onFocus:m,onBlur:p,onMouseEnter:g,onMouseLeave:y,onTouchStart:x}=a,b=T.useRef(null);T.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let E=R=>{R.forEach(N=>{c(N.isIntersecting)})},j=new IntersectionObserver(E,{threshold:.5});return b.current&&j.observe(b.current),()=>{j.disconnect()}}},[e]),T.useEffect(()=>{if(o){let E=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(E)}}},[o]);let S=()=>{l(!0)},C=()=>{l(!1),c(!1)};return i?e!=="intent"?[u,b,{}]:[u,b,{onFocus:po(m,S),onBlur:po(p,C),onMouseEnter:po(g,S),onMouseLeave:po(y,C),onTouchStart:po(x,S)}]:[!1,b,{}]}function po(e,a){return i=>{e&&e(i),i.defaultPrevented||a(i)}}function HC({page:e,...a}){let{router:i}=Ev(),o=T.useMemo(()=>hv(i.routes,e,i.basename),[i.routes,e,i.basename]);return o?T.createElement(GC,{page:e,matches:o,...a}):null}function $C(e){let{manifest:a,routeModules:i}=_v(),[o,l]=T.useState([]);return T.useEffect(()=>{let u=!1;return OC(e,a,i).then(c=>{u||l(c)}),()=>{u=!0}},[e,a,i]),o}function GC({page:e,matches:a,...i}){let o=Ht(),{manifest:l,routeModules:u}=_v(),{basename:c}=Ev(),{loaderData:m,matches:p}=BC(),g=T.useMemo(()=>A0(e,a,p,l,o,"data"),[e,a,p,l,o]),y=T.useMemo(()=>A0(e,a,p,l,o,"assets"),[e,a,p,l,o]),x=T.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let C=new Set,E=!1;if(a.forEach(R=>{var _;let N=l.routes[R.route.id];!N||!N.hasLoader||(!g.some(z=>z.route.id===R.route.id)&&R.route.id in m&&((_=u[R.route.id])!=null&&_.shouldRevalidate)||N.hasClientLoader?E=!0:C.add(R.route.id))}),C.size===0)return[];let j=qC(e,c);return E&&C.size>0&&j.searchParams.set("_routes",a.filter(R=>C.has(R.route.id)).map(R=>R.route.id).join(",")),[j.pathname+j.search]},[c,m,o,l,g,a,e,u]),b=T.useMemo(()=>zC(y,l),[y,l]),S=$C(y);return T.createElement(T.Fragment,null,x.map(C=>T.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...i})),b.map(C=>T.createElement("link",{key:C,rel:"modulepreload",href:C,...i})),S.map(({key:C,link:E})=>T.createElement("link",{key:C,...E})))}function FC(...e){return a=>{e.forEach(i=>{typeof i=="function"?i(a):i!=null&&(i.current=a)})}}var Rv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Rv&&(window.__reactRouterVersion="7.5.0")}catch{}function IC({basename:e,children:a,window:i}){let o=T.useRef();o.current==null&&(o.current=Dw({window:i,v5Compat:!0}));let l=o.current,[u,c]=T.useState({action:l.action,location:l.location}),m=T.useCallback(p=>{T.startTransition(()=>c(p))},[c]);return T.useLayoutEffect(()=>l.listen(m),[l,m]),T.createElement(SC,{basename:e,children:a,location:u.location,navigationType:u.action,navigator:l})}var jv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ho=T.forwardRef(function({onClick:a,discover:i="render",prefetch:o="none",relative:l,reloadDocument:u,replace:c,state:m,target:p,to:g,preventScrollReset:y,viewTransition:x,...b},S){let{basename:C}=T.useContext(kn),E=typeof g=="string"&&jv.test(g),j,R=!1;if(typeof g=="string"&&E&&(j=g,Rv))try{let F=new URL(window.location.href),Z=g.startsWith("//")?new URL(F.protocol+g):new URL(g),ge=Jn(Z.pathname,C);Z.origin===F.origin&&ge!=null?g=ge+Z.search+Z.hash:R=!0}catch{bn(!1,`<Link to="${g}">
61 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let N=sC(g,{relative:l}),[_,z,D]=UC(o,b),X=QC(g,{replace:c,state:m,target:p,preventScrollReset:y,relative:l,viewTransition:x});function U(F){a&&a(F),F.defaultPrevented||X(F)}let V=T.createElement("a",{...b,...D,href:j||N,onClick:R||u?a:U,ref:FC(S,z),target:p,"data-discover":!E&&i==="render"?"true":void 0});return _&&!E?T.createElement(T.Fragment,null,V,T.createElement(HC,{page:N})):V});Ho.displayName="Link";var YC=T.forwardRef(function({"aria-current":a="page",caseSensitive:i=!1,className:o="",end:l=!1,style:u,to:c,viewTransition:m,children:p,...g},y){let x=Uo(c,{relative:g.relative}),b=Ht(),S=T.useContext(Ll),{navigator:C,basename:E}=T.useContext(kn),j=S!=null&&t2(x)&&m===!0,R=C.encodeLocation?C.encodeLocation(x).pathname:x.pathname,N=b.pathname,_=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;i||(N=N.toLowerCase(),_=_?_.toLowerCase():null,R=R.toLowerCase()),_&&E&&(_=Jn(_,E)||_);const z=R!=="/"&&R.endsWith("/")?R.length-1:R.length;let D=N===R||!l&&N.startsWith(R)&&N.charAt(z)==="/",X=_!=null&&(_===R||!l&&_.startsWith(R)&&_.charAt(R.length)==="/"),U={isActive:D,isPending:X,isTransitioning:j},V=D?a:void 0,F;typeof o=="function"?F=o(U):F=[o,D?"active":null,X?"pending":null,j?"transitioning":null].filter(Boolean).join(" ");let Z=typeof u=="function"?u(U):u;return T.createElement(Ho,{...g,"aria-current":V,className:F,ref:y,style:Z,to:c,viewTransition:m},typeof p=="function"?p(U):p)});YC.displayName="NavLink";var XC=T.forwardRef(({discover:e="render",fetcherKey:a,navigate:i,reloadDocument:o,replace:l,state:u,method:c=wl,action:m,onSubmit:p,relative:g,preventScrollReset:y,viewTransition:x,...b},S)=>{let C=WC(),E=e2(m,{relative:g}),j=c.toLowerCase()==="get"?"get":"post",R=typeof m=="string"&&jv.test(m),N=_=>{if(p&&p(_),_.defaultPrevented)return;_.preventDefault();let z=_.nativeEvent.submitter,D=(z==null?void 0:z.getAttribute("formmethod"))||c;C(z||_.currentTarget,{fetcherKey:a,method:D,navigate:i,replace:l,state:u,relative:g,preventScrollReset:y,viewTransition:x})};return T.createElement("form",{ref:S,method:j,action:E,onSubmit:o?p:N,...b,"data-discover":!R&&e==="render"?"true":void 0})});XC.displayName="Form";function KC(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Av(e){let a=T.useContext(rs);return at(a,KC(e)),a}function QC(e,{target:a,replace:i,state:o,preventScrollReset:l,relative:u,viewTransition:c}={}){let m=jf(),p=Ht(),g=Uo(e,{relative:u});return T.useCallback(y=>{if(RC(y,a)){y.preventDefault();let x=i!==void 0?i:Ao(p)===Ao(g);m(e,{replace:x,state:o,preventScrollReset:l,relative:u,viewTransition:c})}},[p,m,g,i,o,a,e,l,u,c])}function Df(e){bn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let a=T.useRef(Hd(e)),i=T.useRef(!1),o=Ht(),l=T.useMemo(()=>jC(o.search,i.current?null:a.current),[o.search]),u=jf(),c=T.useCallback((m,p)=>{const g=Hd(typeof m=="function"?m(l):m);i.current=!0,u("?"+g,p)},[u,l]);return[l,c]}var ZC=0,JC=()=>`__${String(++ZC)}__`;function WC(){let{router:e}=Av("useSubmit"),{basename:a}=T.useContext(kn),i=yC();return T.useCallback(async(o,l={})=>{let{action:u,method:c,encType:m,formData:p,body:g}=MC(o,a);if(l.navigate===!1){let y=l.fetcherKey||JC();await e.fetch(y,i,l.action||u,{preventScrollReset:l.preventScrollReset,formData:p,body:g,formMethod:l.method||c,formEncType:l.encType||m,flushSync:l.flushSync})}else await e.navigate(l.action||u,{preventScrollReset:l.preventScrollReset,formData:p,body:g,formMethod:l.method||c,formEncType:l.encType||m,replace:l.replace,state:l.state,fromRouteId:i,flushSync:l.flushSync,viewTransition:l.viewTransition})},[e,a,i])}function e2(e,{relative:a}={}){let{basename:i}=T.useContext(kn),o=T.useContext(Dn);at(o,"useFormAction must be used inside a RouteContext");let[l]=o.matches.slice(-1),u={...Uo(e||".",{relative:a})},c=Ht();if(e==null){u.search=c.search;let m=new URLSearchParams(u.search),p=m.getAll("index");if(p.some(y=>y==="")){m.delete("index"),p.filter(x=>
61x).forEach(x=>m.append("index",x));let y=m.toString();u.search=y?`?${y}`:""}}return(!e||e===".")&&l.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(u.pathname=u.pathname==="/"?i:Zn([i,u.pathname])),Ao(u)}function t2(e,a={}){let i=T.useContext(bv);at(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Av("useViewTransitionState"),l=Uo(e,{relative:a.relative});if(!i.isTransitioning)return!1;let u=Jn(i.currentLocation.pathname,o)||i.currentLocation.pathname,c=Jn(i.nextLocation.pathname,o)||i.nextLocation.pathname;return jl(l.pathname,c)!=null||jl(l.pathname,u)!=null}new TextEncoder;const n2={position:"top-right",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"dark"};function Nv(e){var a,i,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(a=0;a<l;a++)e[a]&&(i=Nv(e[a]))&&(o&&(o+=" "),o+=i)}else for(i in e)e[i]&&(o&&(o+=" "),o+=i);return o}function Na(){for(var e,a,i=0,o="",l=arguments.length;i<l;i++)(e=arguments[i])&&(a=Nv(e))&&(o&&(o+=" "),o+=a);return o}function a2(e){if(typeof document>"u")return;let a=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",a.firstChild?a.insertBefore(i,a.firstChild):a.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}a2(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}
61.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}
61}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} 62`);var $o=e=>typeof e=="number"&&!isNaN(e),oi=e=>typeof e=="string",Wn=e=>typeof e=="function",i2=e=>oi(e)||$o(e),$d=e=>oi(e)||Wn(e)?e:null,s2=(e,a)=>e===!1||$o(e)&&e>0?e:a,Gd=e=>T.isValidElement(e)||oi(e)||Wn(e)||$o(e);function o2(e,a,i=300){let{scrollHeight:o,style:l}=e;requestAnimationFrame(()=>{l.minHeight="initial",l.height=o+"px",l.transition=`all ${i}ms`,requestAnimationFrame(()=>{l.height="0",l.padding="0",l.margin="0",setTimeout(a,i)})})}function r2({enter:e,exit:a,appendPosition:i=!1,collapse:o=!0,collapseDuration:l=300}){return function({children:u,position:c,preventExitTransition:m,done:p,nodeRef:g,isIn:y,playToast:x}){let b=i?`${e}--${c}`:e,S=i?`${a}--${c}`:a,C=T.useRef(0);return T.useLayoutEffect(()=>{let E=g.current,j=b.split(" "),R=N=>{N.target===g.current&&(x(),E.removeEventListener("animationend",R),E.removeEventListener("animationcancel",R),C.current===0&&N.type!=="animationcancel"&&E.classList.remove(...j))};E.classList.add(...j),E.addEventListener("animationend",R),E.addEventListener("animationcancel",R)},[]),T.useEffect(()=>{let E=g.current,j=()=>{E.removeEventListener("animationend",j),o?o2(E,p,l):p()};y||(m?j():(C.current=1,E.className+=` ${S}`,E.addEventListener("animationend",j)))},[y]),Ve.createElement(Ve.Fragment,null,u)}}function N0(e,a){return{content:Mv(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:a}}function Mv(e,a,i=!1){return T.isValidElement(e)&&!oi(e.type)?T.cloneElement(e,{closeToast:a.closeToast,toastProps:a,data:a.data,isPaused:i}):Wn(e)?e({closeToast:a.closeToast,toastProps:a,data:a.data,isPaused:i}):e}function l2({closeToast:e,theme:a,ariaLabel:i="close"}){return Ve.createElement("button",{className:`Toastify__close-button Toastify__close-button--${a}`,type:"button",onClick:o=>{o.stopPropagation(),e(!0)},"aria-label":i},Ve.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},Ve.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function u2({delay:e,isRunning:a,closeToast:i,type:o="default",hide:l,className:u,controlledProgress:c,progress:m,rtl:p,isIn:g,theme:y}){let x=l||c&&m===0,b={animationDuration:`${e}ms`,animationPlayState:a?"running":"paused"};c&&(b.transform=`scaleX(${m})`);let S=Na("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${y}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":p}),C=Wn(u)?u({rtl:p,type:o,defaultClassName:S}):Na(S,u),E={[c&&m>=1?"onTransitionEnd":"onAnimationEnd"]:c&&m<1?null:()=>{g&&i()}};return Ve.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":x},Ve.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${y} Toastify__progress-bar--${o}`}),Ve.createElement("div",{role:"progressbar","aria-hidden":x?"true":"false","aria-label":"notification timer",className:C,style:b,...E}))}var c2=1,kv=()=>`${c2++}`;function d2(e,a,i){let o=1,l=0,u=[],c=[],m=a,p=new Map,g=new Set,y=N=>(g.add(N),()=>g.delete(N)),x=()=>{c=Array.from(p.values()),g.forEach(N=>N())},b=({containerId:N,toastId:_,updateId:z})=>{let D=N?N!==e:e!==1,X=p.has(_)&&z==null;return D||X},S=(N,_)=>{p.forEach(z=>{var D;(_==null||_===z.props.toastId)&&((D=z.toggle)==null||D.call(z,N))})},C=N=>{var _,z;(z=(_=N.props)==null?void 0:_.onClose)==null||z.call(_,N.removalReason),N.isActive=!1},E=N=>
vendor: 15,117 bytes, line 62
62{if(N==null)p.forEach(C);else{let _=p.get(N);_&&C(_)}x()},j=()=>{l-=u.length,u=[]},R=N=>{var _,z;let{toastId:D,updateId:X}=N.props,U=X==null;N.staleId&&p.delete(N.staleId),N.isActive=!0,p.set(D,N),x(),i(N0(N,U?"added":"updated")),U&&((z=(_=N.props).onOpen)==null||z.call(_))};return{id:e,props:m,observe:y,toggle:S,removeToast:E,toasts:p,clearQueue:j,buildToast:(N,_)=>{if(b(_))return;let{toastId:z,updateId:D,data:X,staleId:U,delay:V}=_,F=D==null;F&&l++;let Z={...m,style:m.toastStyle,key:o++,...Object.fromEntries(Object.entries(_).filter(([xe,Xe])=>Xe!=null)),toastId:z,updateId:D,data:X,isIn:!1,className:$d(_.className||m.toastClassName),progressClassName:$d(_.progressClassName||m.progressClassName),autoClose:_.isLoading?!1:s2(_.autoClose,m.autoClose),closeToast(xe){p.get(z).removalReason=xe,E(z)},deleteToast(){let xe=p.get(z);if(xe!=null){if(i(N0(xe,"removed")),p.delete(z),l--,l<0&&(l=0),u.length>0){R(u.shift());return}x()}}};Z.closeButton=m.closeButton,_.closeButton===!1||Gd(_.closeButton)?Z.closeButton=_.closeButton:_.closeButton===!0&&(Z.closeButton=Gd(m.closeButton)?m.closeButton:!0);let ge={content:N,props:Z,staleId:U};m.limit&&m.limit>0&&l>m.limit&&F?u.push(ge):$o(V)?setTimeout(()=>{R(ge)},V):R(ge)},setProps(N){m=N},setToggle:(N,_)=>{let z=p.get(N);z&&(z.toggle=_)},isToastActive:N=>{var _;return(_=p.get(N))==null?void 0:_.isActive},getSnapshot:()=>c}}var Ot=new Map,No=[],Fd=new Set,f2=e=>Fd.forEach(a=>a(e)),Dv=()=>Ot.size>0;function m2(){No.forEach(e=>zv(e.content,e.options)),No=[]}var h2=(e,{containerId:a})=>{var i;return(i=Ot.get(a||1))==null?void 0:i.toasts.get(e)};function Ov(e,a){var i;if(a)return!!((i=Ot.get(a))!=null&&i.isToastActive(e));let o=!1;return Ot.forEach(l=>{l.isToastActive(e)&&(o=!0)}),o}function p2(e){if(!Dv()){No=No.filter(a=>e!=null&&a.options.toastId!==e);return}if(e==null||i2(e))Ot.forEach(a=>{a.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let a=Ot.get(e.containerId);a?a.removeToast(e.id):Ot.forEach(i=>{i.removeToast(e.id)})}}var g2=(e={})=>{Ot.forEach(a=>{a.props.limit&&(!e.containerId||a.id===e.containerId)&&a.clearQueue()})};function zv(e,a){Gd(e)&&(Dv()||No.push({content:e,options:a}),Ot.forEach(i=>{i.buildToast(e,a)}))}function y2(e){var a;(a=Ot.get(e.containerId||1))==null||a.setToggle(e.id,e.fn)}function Lv(e,a){Ot.forEach(i=>{(a==null||!(a!=null&&a.containerId)||(a==null?void 0:a.containerId)===i.id)&&i.toggle(e,a==null?void 0:a.id)})}function v2(e){let a=e.containerId||1;return{subscribe(i){let o=d2(a,e,f2);Ot.set(a,o);let l=o.observe(i);return m2(),()=>{l(),Ot.delete(a)}},setProps(i){var o;(o=Ot.get(a))==null||o.setProps(i)},getSnapshot(){var i;return(i=Ot.get(a))==null?void 0:i.getSnapshot()}}}function x2(e){return Fd.add(e),()=>{Fd.delete(e)}}function b2(e){return e&&(oi(e.toastId)||$o(e.toastId))?e.toastId:kv()}function Go(e,a){return zv(e,a),a.toastId}function Pl(e,a){return{...a,type:a&&a.type||e,toastId:b2(a)}}function ql(e){return(a,i)=>Go(a,Pl(e,i))}function Ge(e,a){return Go(e,Pl("default",a))}Ge.loading=(e,a)=>Go(e,Pl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...a}));function S2(e,{pending:a,error:i,success:o},l){let u;a&&(u=oi(a)?Ge.loading(a,l):Ge.loading(a.render,{...l,...a}));let c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},m=(g,y,x)=>{if(y==null){Ge.dismiss(u);return}let b={type:g,...c,...l,data:x},S=oi(y)?{render:y}:y;return u?Ge.update(u,{...b,...S}):Ge(S.render,{...b,...S}),x},p=Wn(e)?e():e;return p.then(g=>m("success",o,g)).catch(g=>m("error",i,g)),p}Ge.promise=S2;Ge.success=ql("success");Ge.info=ql("info");Ge.error=ql("error");Ge.warning=ql("warning");Ge.warn=Ge.warning;Ge.dark=(e,a)=>Go(e,Pl("default",{theme:"dark",...a}));function w2(e){p2(e)}Ge.dismiss=w2;Ge.clearWaitingQueue=g2;Ge.isActive=Ov;Ge.update=(e,a={})=>{let i=h2(e,a);if(i){let{props:o,content:l}=i,u={delay:100,...o,...a,toastId:a.toastId||e,updateId:kv()};u.toastId!==e&&(u.staleId=e);let c=u.render||l;delete u.render,Go(c,u)}};Ge.done=e=>{Ge.update(e,{progress:1})};Ge.onChange=x2;Ge.play=e=>Lv(!0,e);Ge.pause=e=>Lv(!1,e);function C2(e){var a;let{subscribe:i,getSnapshot:o,setProps:l}=T.useRef(v2(e)).current;l(e);let u=(a=T.useSyncExternalStore(i,o,o))==null?void 0:a.slice();function c(m){if(!u)return[];let p=new Map;return e.newestOnTop&&u.reverse(),u.forEach(g=>{let{position:y}=g.props;p.has(y)||p.set(y,[]),p.get(y).push(g)}),Array.from(p,g=>m(g[0],g[1]))}return{getToastToRender:c,isToastActive:Ov,count:u==null?void 0:u.length}}function T2(e){let[a,i]=T.useState(!1),[o,l]=T.useState(!1),u=T.useRef(null),c=T.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:m,pauseOnHover:p,closeToast:g,onClick:y,closeOnClick:x}=e;y2({id:e.toastId,containerId:e.containerId,fn:i}),T.useEffect(()=>{if(e.pauseOnFocusLoss)return b(),()=>{S()}},[e.pauseOnFocusLoss]);function b(){document.hasFocus()||R(),window.addEventListener("focus",j),window.addEventListener("blur",R)}function S(){window.removeEventListener("focus",j),window.removeEventListener("blur",R)}function C(U){if(e.draggable===!0||e.draggable===U.pointerType){N();let V=u.current;c.canCloseOnClick=!0,c.canDrag=!0,V.style.transition="none",e.draggableDirection==="x"?(c.start=U.clientX,c.removalDistance=V.offsetWidth*(e.draggablePercent/100)):(c.start=U.clientY,c.removalDistance=V.offsetHeight*(e.draggablePercent===80?e.draggablePercent*1.5:e.draggablePercent)/100)}}function E(U){let{top:V,bottom:F,left:Z,right:ge}=u.current.getBoundingClientRect();U.nativeEvent.type!=="touchend"&&e.pauseOnHover&&U.clientX>=Z&&U.clientX<=ge&&U.clientY>=V&&U.clientY<=F?R():j()}function j(){i(!0)}function R(){i(!1)}function N(){c.didMove=!1,document.addEventListener("pointermove",z),document.addEventListener("pointerup",D)}function _(){document.removeEventListener("pointermove",z),document.removeEventListener("pointerup",D)}function z(U){let V=u.current;if(c.canDrag&&V){c.didMove=!0,a&&R(),e.draggableDirection==="x"?c.delta=U.clientX-c.start:c.delta=U.clientY-c.start,c.start!==U.clientX&&(c.canCloseOnClick=!1);let F=e.draggableDirection==="x"?`${c.delta}px, var(--y)`:`0, calc(${c.delta}px + var(--y))`;V.style.transform=`translate3d(${F},0)`,V.style.opacity=`${1-Math.abs(c.delta/c.removalDistance)}`}}function D(){_();let U=u.current;if(c.canDrag&&c.didMove&&U){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance){l(!0),e.closeToast(!0),e.collapseAll();return}U.style.transition="transform 0.2s, opacity 0.2s",U.style.removeProperty("transform"),U.style.removeProperty("opacity")}}let X={onPointerDown:C,onPointerUp:E};return m&&p&&(X.onMouseEnter=R,e.stacked||(X.onMouseLeave=j)),x&&(X.onClick=U=>{y&&y(U),c.canCloseOnClick&&g(!0)}),{playToast:j,pauseToast:R,isRunning:a,preventExitTransition:o,toastRef:u,eventHandlers:X}}var E2=typeof window<"u"?T.useLayoutEffect:T.useEffect,Bl=({theme:e,type:a,isLoading:i,...o})=>Ve.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${a})`,...o});function _2(e){return Ve.createElement(Bl,{...e},Ve.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))}function R2(e){return Ve.createElement(Bl,{...e},Ve.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))}function j2(e){return Ve.createElement(Bl,{...e},Ve.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))}function A2(e){return Ve.createElement(Bl,{...e},Ve.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))}function N2(){return Ve.createElement("div",{className:"Toastify__spinner"})}var Id={info:R2,warning:_2,success:j2,error:A2,spinner:N2},M2=e=>e in Id;function k2({theme:e,type:a,isLoading:i,icon:o}){let l=null,u={theme:e,type:a};return o===!1||(Wn(o)?l=o({...u,isLoading:i}):T.isValidElement(o)?l=T.cloneElement(o,u):i?l=Id.spinner():M2(a)&&(l=Id[a](u))),l}var D2=e=>{let{isRunning:a,preventExitTransition:i,toastRef:o,eventHandlers:l,playToast:u}=T2(e),{closeButton:c,children:m,autoClose:p,onClick:g,type:y,hideProgressBar:x,closeToast:b,transition:S,position:C,className:E,style:j,progressClassName:R,updateId:N,role:_,progress:z,rtl:D,toastId:X,deleteToast:U,isIn:V,isLoading:F,closeOnClick:Z,theme:ge,ariaLabel:xe}=e,Xe=Na("Toastify__toast",`Toastify__toast-theme--${ge}`,`Toastify__toast--${y}`,{"Toastify__toast--rtl":D},{"Toastify__toast--close-on-click":Z}),et=Wn(E)?E({rtl:D,position:C,type:y,defaultClassName:Xe}):Na(Xe,E),Ne=k2(e),H=!!z||!p,K={closeToast:b,type:y,theme:ge},$=null;return c===!1||(Wn(c)?$=c(K):T.isValidElement(c)?$=T.cloneElement(c,K):$=l2(K)),Ve.createElement(S,{isIn:V,done:U,position:C,preventExitTransition:i,nodeRef:o,playToast:u},Ve.createElement("div",{id:X,tabIndex:0,onClick:g,"data-in":V,className:et,...l,style:j,ref:o,...V&&{role:_,"aria-label":xe}},Ne!=null&&Ve.createElement("div",{className:Na("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!F})},Ne),Mv(m,e,!a),$,!e.customProgressBar&&Ve.createElement(u2,{...N&&!H?{key:`p-${N}`}:{},rtl:D,theme:ge,delay:p,isRunning:a,isIn:V,closeToast:b,hide:x,type:y,className:R,controlledProgress:H,progress:z||0})))},O2=(e,a=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:a}),z2=r2(O2("bounce",!0)),L2={position:"top-right",transition:z2,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&e.code==="KeyT"};function V2(e){let a={...L2,...e},i=e.stacked,[o,l]=T.useState(!0),u=T.useRef(null),{getToastToRender:c,isToastActive:m,count:p}=C2(a),{className:g,style:y,rtl:x,containerId:b,hotKeys:S}=a;function C(j){let R=Na("Toastify__toast-container",`Toastify__toast-container--${j}`,{"Toastify__toast-container--rtl":x});return Wn(g)?g({position:j,rtl:x,defaultClassName:R}):Na(R,$d(g))}function E(){i&&(l(!0),Ge.play())}return E2(()=>{var j;if(i){let R=u.current.querySelectorAll('[data-in="true"]'),N=12,_=(j=a.position)==null?void 0:j.includes("top"),z=0,D=0;Array.from(R).reverse().forEach((X,U)=>{let V=X;V.classList.add("Toastify__toast--stacked"),U>0&&(V.dataset.collapsed=`${o}`),V.dataset.pos||(V.dataset.pos=_?"top":"bot");let F=z*(o?.2:1)+(o?0:N*U);V.style.setProperty("--y",`${_?F:F*-1}px`),V.style.setProperty("--g",`${N}`),V.style.setProperty("--s",`${1-(o?D:0)}`),z+=V.offsetHeight,D+=.025})}},[o,p,i]),T.useEffect(()=>{function j(R){var N;let _=u.current;S(R)&&((N=_.querySelector('[tabIndex="0"]'))==null||N.focus(),l(!1),Ge.pause()),R.key==="Escape"&&(document.activeElement===_||_!=null&&_.contains(document.activeElement))&&(l(!0),Ge.play())}return document.addEventListener("keydown",j),()=>{document.removeEventListener("keydown",j)}},[S]),Ve.createElement("section",{ref:u,className:"Toastify",id:b,onMouseEnter:()=>{i&&(l(!1),Ge.pause())},onMouseLeave:E,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":a["aria-label"]},c((j,R)=>{let N=R.length?{...y}:{...y,pointerEvents:"none"};return Ve.createElement("div",{tabIndex:-1,className:C(j),"data-stacked":i,style:N,key:`c-${j}`},R.map(({content:_,props:z})=>Ve.createElement(D2,{...z,stacked:i,collapseAll:E,isIn:m(z.toastId,z.containerId),key:`t-${z.key}`},_)))}))}const te="https://assets.thenewscc.com.br",Je={ticketBottom:`${te}/ticket-bottom.svg`,ticketHead:`${te}/ticket-head.svg`,icons:{black:`${te}/icons-black.png`,white:`${te}/icons-white.png`},logos:{main:`${te}/logo0606.png`,sponsor:`${te}/brands-sponsor.png`},newLogos:{theNews:`${te}/newLogo.png`,theNewsWhite:`${te}/newLogoWhite1.png`},brandLogos:{around:`${te}/AROUND.png`,betterWork:`${te}/BETTERWORK.png`,business:`${te}/BUSINESS.png`,cult:`${te}/CULT.png`,health:`${te}/HEALTH.png`,money:`${te}/MONEY.png`,morning:`${te}/MORNING.png`,night:`${te}/NIGHT.png`,sports:`${te}/SPORTS.png`,travel:`${te}/TRAVEL.png`,trends:`${te}/TRENDS.png`},gifs:{cupSmoke:`${te}/landingPage/cup-smoke.gif`,email:`${te}/landingPage/email.gif`,streak:`${te}/landingPage/streak-gif.gif`},bottomCellphone:`${te}/landingPage/bottom-cellphone.png`,testimonials:{testimonial2:`${te}/landingPage/testimonials/testimonials-2.png`,testimonial3:`${te}/landingPage/testimonials/testimonials-3.png`,testimonial4:`${te}/landingPage/testimonials/testimonials-4.png`,testimonial5:`${te}/landingPage/testimonials/testimonials-5.png`,testimonial6:`${te}/landingPage/testimonials/testimonials-6.png`,testimonial7:`${te}/landingPage/testimonials/testimonials-7.png`,testimonial8:`${te}/landingPage/testimonials/testimonials-8.png`,testimonial9:`${te}/landingPage/testimonials/testimonials-9.png`},missionsEmojis:{bdg1:`${te}/badges-3/1.png`,bdg1mini:`${te}/badges-3/1-mini.png`,bdg7:`${te}/badges-3/7.png`,bdg7mini:`${te}/badges-3/7-mini.png`,bdg21:`${te}/badges-3/21.png`,bdg21mini:`${te}/badges-3/21-mini.png`,bdg50:`${te}/badges-3/50-1.png`,bdg50mini:`${te}/badges-3/50-mini.png`,bdg100:`${te}/badges-3/100.png`,bdg100mini:`${te}/badges-3/100-mini.png`,bdg150:`${te}/badges-3/150.png`,bdg150mini:`${te}/badges-3/150-mini.png`,bdg200:`${te}/badges-3/200.png`,bdg200mini:`${te}/badges-3/200-mini.png`,bdg250:`${te}/badges-3/250.png`,bdg250mini:`${te}/badges-3/250-mini.png`,bdg300:`${te}/badges-3/300.png`,bdg300mini:`${te}/badges-3/300-mini.png`,bdg365:`${te}/badges-3/365.png`,bdg365mini:`${te}/badges-3/365-mini.png`,bdg450:`${te}/badges-3/450.png`,bdg450mini:`${te}/badges-3/450-mini.png`,bdg606:`${te}/badges-3/606.png`,bdg606mini:`${te}/badges-3/606-mini.png`,bdg730:`${te}/badges-3/730.png`,bdg730mini:`${te}/badges-3/730-mini.png`,bdg1000:`${te}/badges-3/1000.png`,bdg1000mini:`${te}/badges-3/1000-mini.png`},termometro:{termometro1:`${te}/termometro/termometro-1.png`,termometro2:`${te}/termometro/termometro-2.png`,termometro3:`${te}/termometro/termometro-3.png`,termometro4:`${te}/termometro/termometro-4.png`,termometro5:`${te}/termometro/termometro-5.png`,termometro6:`${te}/termometro/termometro-6.png`,termometroBtns:`${te}
62/termometro/termometro-btns.png`,termometroSectionGifTransparent:`${te}/termometro/termometro-section2.gif`,termometro:`${te}/termometro/termometro2.png`},lojinha:{desktop:`${te}/lojinha-the-news/1.png`,mobile:`${te}/lojinha-the-news/2.png`}};function Vv(){const e=Ht();return{addParamsToUrl:o=>{const l=new URLSearchParams(e.search);if(l.toString()==="")return o;const u=o.includes("?")?"&":"?";return`${o}${u}${l.toString()}`},getCurrentParams:()=>e.search}}function Al({children:e="inscreva-se",className:a="",as:i="a",...o}){const u=`${` 63 relative 64 inline-block 65 overflow-hidden 66 text-black 67 text-lg 68 font-medium 69 rounded-full 70 py-2 71 px-6 72 cursor-pointer 73 transition-all 74 duration-300 75 ease-out 76 77 /* Gradient background */ 78 bg-gradient-to-r 79 from-[#ffce04] 80 to-[#ff8a47] 81 82 /* Shadow for depth */ 83 shadow-[0_4px_16px_0_rgba(255,138,71,0.3),0_1px_3px_0_rgba(0,0,0,0.06)] 84 85 /* Hover states */ 86 hover:shadow-[0_8px_24px_0_rgba(255,138,71,0.4),0_2px_4px_0_rgba(0,0,0,0.08)] 87 hover:scale-[1.02] 88 hover:brightness-105 89 90 /* Active state */ 91 active:scale-[0.98] 92 active:brightness-95 93 94 /* Shine effect */ 95 before:content-[''] 96 before:absolute 97 before:top-0 98 before:left-[-100%] 99 before:w-full 100 before:h-full 101 before:bg-gradient-to-r 102 before:from-transparent 103 before:via-white/40 104 before:to-transparent 105 before:transition-all 106 before:duration-500 107 hover:before:left-[100%] 108 `.replace(/\s+/g," ").trim()} ${a}`;if(i==="button"){const{as:p,...g}=o;return h.jsx("button",{className:u,...g,children:h.jsx("span",{className:"relative z-10",children:e})})}const{as:c,...m}=o;return h.jsx("a",{className:u,...m,children:h.jsx("span",{className:"relative z-10",children:e})})}function ls(){const{addParamsToUrl:e}=Vv();return h.jsxs("footer",{className:"pt-14 pb-6 bg-gray-dark text-white w-full flex flex-col items-center justify-center",children:[h.jsxs("div",{className:"px-8 md:px-20 2xl:px-40 flex flex-col md:flex-row justify-between md:gap-x-12 max-w-[1600px] w-full",children:[h.jsxs("div",{children:[h.jsx("a",{href:"/",children:h.jsx("img",{src:Je.newLogos.theNewsWhite,alt:"Logo",className:"h-14 lg:h-18 w-auto"})}),h.jsx("p",{className:"text-white max-w-xs w-full",children:"tudo que você precisa saber para começar seu dia bem e informado"})]}),h.jsxs("div",{children:[h.jsx("p",{className:"block xl:hidden uppercase text-yellow text-lg font-bold pt-12 md:pt-0 pb-4",children:"Links"}),h.jsxs("div",{className:"flex flex-col xl:flex-row lowercase md:gap-12",children:[h.jsxs("div",{className:"flex flex-col gap-2",children:[h.jsx("a",{href:"https://open.spotify.com/show/5cYtKjFwlRCSZKyV6ZC8Wq",className:"hover:underline hover:text-yellow",children:"Podcast do the news"}),h.jsx("a",{href:"https://thenewscc.typeform.com/to/o7jIv0ed",className:"hover:underline hover:text-yellow",children:"anuncie no the news"}),h.jsx("a",{href:"/evento",className:"hover:underline hover:text-yellow",children:"evento 0606"})]}),h.jsxs("div",{className:"flex flex-col gap-2",children:[h.jsx("a",{href:"/marcas",className:"hover:underline hover:text-yellow",children:"nossas marcas"}),h.jsx("a",{href:"/contact",className:"hover:underline hover:text-yellow",children:"fale conosco"}),h.jsx("a",{href:"/#faq",className:"hover:underline hover:text-yellow",children:"perguntas frequentes"})]})]})]}),h.jsx("div",{className:"text-xl font-light mt-14 md:mt-0",children:h.jsx(Al,{href:e("/#headerLP")})})]}),h.jsxs("div",{className:"flex flex-col md:flex-row items-center md:items-start justify-center gap-x-12 text-sm text-gray pt-20",children:[h.jsx("p",{children:"© 2026 Grupo TNS"}),h.jsx("a",{href:"/policies",className:"hover:underline",children:"PolÃticas de Privacidade"}),h.jsx("a",{href:"/terms",className:"hover:underline",children:"Termos de Uso"})]})]})}/** 109 * @license lucide-react v0.487.0 - ISC 110 * 111 * This source code is licensed under the ISC license. 112 * See the LICENSE file in the root directory of this source tree. 113 */const P2=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),q2=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,i,o)=>o?o.toUpperCase():i.toLowerCase()),M0=e=>{const a=q2(e);return a.charAt(0).toUpperCase()+a.slice(1)},Pv=(...e)=>e.filter((a,i,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===i).join(" ").trim();/** 114 * @license lucide-react v0.487.0 - ISC 115 * 116 * This source code is licensed under the ISC license. 117 * See the LICENSE file in the root directory of this source tree. 118 */var B2={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"};/** 119 * @license lucide-react v0.487.0 - ISC 120 * 121 * This source code is licensed under the ISC license. 122 * See the LICENSE file in the root directory of this source tree. 123 */const U2=T.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:l="",children:u,iconNode:c,...m},p)=>T.createElement("svg",{ref:p,...B2,width:a,height:a,stroke:e,strokeWidth:o?Number(i)*24/Number(a):i,className:Pv("lucide",l),...m},[...c.map(([g,y])=>T.createElement(g,y)),...Array.isArray(u)?u:[u]]));/** 124 * @license lucide-react v0.487.0 - ISC 125 * 126 * This source code is licensed under the ISC license. 127 * See the LICENSE file in the root directory of this source tree. 128 */const kt=(e,a)=>{const i=T.forwardRef(({className:o,...l},u)=>T.createElement(U2,{ref:u,iconNode:a,className:Pv(`lucide-${P2(M0(e))}`,`lucide-${e}`,o),...l}));return i.displayName=M0(e),i};/** 129 * @license lucide-react v0.487.0 - ISC 130 * 131 * This source code is licensed under the ISC license. 132 * See the LICENSE file in the root directory of this source tree. 133 */const H2=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],$2=kt("arrow-left",H2);
133/** 134 * @license lucide-react v0.487.0 - ISC 135 * 136 * This source code is licensed under the ISC license. 137 * See the LICENSE file in the root directory of this source tree. 138 */const G2=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Of=kt("arrow-right",G2);/** 139 * @license lucide-react v0.487.0 - ISC 140 * 141 * This source code is licensed under the ISC license. 142 * See the LICENSE file in the root directory of this source tree. 143 */const F2=[["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"}]],fd=kt("award",F2);/** 144 * @license lucide-react v0.487.0 - ISC 145 * 146 * This source code is licensed under the ISC license. 147 * See the LICENSE file in the root directory of this source tree. 148 */const I2=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],qv=kt("chevron-down",I2);/** 149 * @license lucide-react v0.487.0 - ISC 150 * 151 * This source code is licensed under the ISC license. 152 * See the LICENSE file in the root directory of this source tree. 153 */const Y2=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],X2=kt("chevron-left",Y2);/** 154 * @license lucide-react v0.487.0 - ISC 155 * 156 * This source code is licensed under the ISC license. 157 * See the LICENSE file in the root directory of this source tree. 158 */const K2=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Q2=kt("chevron-right",K2);/** 159 * @license lucide-react v0.487.0 - ISC 160 * 161 * This source code is licensed under the ISC license. 162 * See the LICENSE file in the root directory of this source tree. 163 */const Z2=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],J2=kt("chevron-up",Z2);/** 164 * @license lucide-react v0.487.0 - ISC 165 * 166 * This source code is licensed under the ISC license. 167 * See the LICENSE file in the root directory of this source tree. 168 */const W2=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],k0=kt("circle-check-big",W2);/** 169 * @license lucide-react v0.487.0 - ISC 170 * 171 * This source code is licensed under the ISC license. 172 * See the LICENSE file in the root directory of this source tree. 173 */const eT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],tT=kt("circle-x",eT);/** 174 * @license lucide-react v0.487.0 - ISC 175 * 176 * This source code is licensed under the ISC license. 177 * See the LICENSE file in the root directory of this source tree. 178 */const nT=[["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"}]],D0=kt("download",nT);/** 179 * @license lucide-react v0.487.0 - ISC 180 * 181 * This source code is licensed under the ISC license. 182 * See the LICENSE file in the root directory of this source tree. 183 */const aT=[["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"}]],O0=kt("external-link",aT);/** 184 * @license lucide-react v0.487.0 - ISC 185 * 186 * This source code is licensed under the ISC license. 187 * See the LICENSE file in the root directory of this source tree. 188 */const iT=[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]],z0=kt("flame",iT);/** 189 * @license lucide-react v0.487.0 - ISC 190 * 191 * This source code is licensed under the ISC license. 192 * See the LICENSE file in the root directory of this source tree. 193 */const sT=[["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"}]],Bv=kt("mail",sT);/** 194 * @license lucide-react v0.487.0 - ISC 195 * 196 * This source code is licensed under the ISC license. 197 * See the LICENSE file in the root directory of this source tree. 198 */const oT=[["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"}]],Uv=kt("menu",oT);/** 199 * @license lucide-react v0.487.0 - ISC 200 * 201 * This source code is licensed under the ISC license. 202 * See the LICENSE file in the root directory of this source tree. 203 */const rT=[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}
203],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]],lT=kt("trophy",rT);/** 204 * @license lucide-react v0.487.0 - ISC 205 * 206 * This source code is licensed under the ISC license. 207 * See the LICENSE file in the root directory of this source tree. 208 */const uT=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Mo=kt("x",uT);function Fo(){const[e,a]=T.useState(!1),{addParamsToUrl:i}=Vv(),o=()=>{a(!e)},l=[{name:"app",link:"https://thenews.com.br/app",external:!0},{name:"streak",link:"/streak",external:!0},{name:"podcast",link:"https://open.spotify.com/show/5cYtKjFwlRCSZKyV6ZC8Wq",external:!0},{name:"marcas",link:"/marcas",external:!1},{name:"dúvidas",link:"/#faq",external:!1}];return h.jsx("header",{className:"fixed top-0 left-0 right-0 z-50 w-full bg-white",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-1 flex items-center justify-between",children:[h.jsx("a",{href:"/",children:h.jsx("img",{src:Je.newLogos.theNews,alt:"Logo",className:"h-10 md:h-18 w-auto"})}),h.jsx("div",{className:"hidden text-base lg:flex items-center space-x-10",children:l.map(u=>{const c=u.external;return h.jsxs("a",{href:c?u.link:i(u.link),className:"flex items-center text-black hover:bg-yellow lowercase text-lg transition",...c?{target:"_blank",rel:"noopener noreferrer"}:{},children:[u.name,c&&h.jsx(O0,{className:"ml-2 h-4 w-4"})]},u.name)})}),h.jsx("div",{className:"hidden lg:block py-2",children:h.jsx(Al,{href:i("/#headerLP"),children:"inscreva-se"})}),h.jsx("div",{className:"lg:hidden flex items-center",children:h.jsx("button",{onClick:o,className:"text-black focus:outline-none","aria-label":"Toggle menu",children:e?h.jsx(Mo,{size:28,className:"text-black"}):h.jsx(Uv,{size:28,className:"text-black"})})}),e&&h.jsxs("div",{className:"lg:hidden fixed inset-0 bg-black bg-opacity-90 z-40 pt-20 px-6",children:[h.jsx("button",{onClick:o,className:"absolute top-6 right-6 text-white focus:outline-none","aria-label":"Fechar menu",children:h.jsx(Mo,{size:32,className:"text-white"})}),h.jsxs("div",{className:"flex flex-col sm:items-center space-y-6",children:[l.map(u=>{const c=u.external;return h.jsxs("a",{href:c?u.link:i(u.link),className:"flex items-center text-white text-3xl py-3 border-b border-gray-700 hover:text-yellow transition lowercase",onClick:()=>a(!1),...c?{target:"_blank",rel:"noopener noreferrer"}:{},children:[u.name,c&&h.jsx(O0,{className:"ml-2 h-6 w-6"})]},u.name)}),h.jsx("div",{className:"pt-4",children:h.jsx(Al,{href:i("/#headerLP"),children:"inscreva-se"})})]})]})]})})}function cT({className:e=""}){return h.jsxs("svg",{viewBox:"0 0 512 512",className:e,"aria-hidden":"true",focusable:"false",children:[h.jsx("path",{fill:"#4285f4",d:"M34.91 448h81.45V251.11L0 163.63v247.27C0 431.32 15.65 448 34.91 448z"}),h.jsx("path",{fill:"#34a853",d:"M395.64 448h81.45c19.36 0 34.91-16.78 34.91-37.09V163.63l-116.36 87.48V448z"}),h.jsx("path",{fill:"#fbbc04",d:"M395.64 101.82v149.29L512 163.63v-43.63c0-40.45-46.16-63.51-78.55-39.27l-37.81 21.09z"}),h.jsx("path",{fill:"#ea4335",d:"M116.36 251.11V101.82L256 206.55l139.64-104.73v149.29L256 355.85z"}),h.jsx("path",{fill:"#c5221f",d:"M0 120v43.63l116.36 87.48V101.82L78.55 80.73C46.16 56.49 0 79.55 0 120z"})]})}const dT="https://mail.google.com/mail/u/0/#search/from%3Acontato%40thenewscc.com.br";function cl(){return h.jsx("span",{className:"whitespace-nowrap",children:"e-mail"})}function fT(e){const[a,i]=e.split("@");return!a||!i?e:a.length<=2?`${a[0]}*@${i}`:`${a[0]}${"*".repeat(Math.min(a.length-2,4))}${a[a.length-1]}@${i}`}function mT(){const[e]=Df(),a=e.has("ref"),i=T.useMemo(()=>{try{return sessionStorage.getItem("subscriber_email")||""}catch{return""}},[e]),o=T.useMemo(()=>/@(gmail|googlemail)\.com$/i.test(i),[i]);return h.jsxs("div",{className:"w-full min-h-screen flex flex-col bg-gray-soft-lp-bg",children:[h.jsx(Fo,{}),h.jsx("div",{className:"flex-grow flex items-center justify-center w-full px-4 mt-10",children:h.jsxs("div",{className:"text-center w-full max-w-2xl flex flex-col items-center py-10 md:py-32",children:[h.jsx("h1",{className:"text-6xl md:text-8xl font-bold bg-gradient-to-r from-[#ffce04] to-[#ff8a47] bg-clip-text text-transparent leading-tight",children:"welcome!"}),h.jsxs("p",{className:"mt-8 text-2xl md:text-3xl font-bold text-black max-w-lg mx-auto leading-snug text-balance",children:["falta só um passo: confirme seu ",h.jsx(cl,{}),"."]}),h.jsxs("p",{className:"mt-4 text-lg md:text-xl text-gray max-w-md mx-auto text-balance",children:["enviamos um link para"," ",i?h.jsx("span",{className:"font-bold text-black whitespace-nowrap",children:fT(i)}):h.jsxs("span",{className:"font-bold text-black",children:["seu ",h.jsx(cl,{})]})]}),h.jsx("div",{className:"mt-10",children:o?h.jsx(Al,{as:"button",onClick:()=>window.open(dT,"_blank"),className:"py-3 pl-3 pr-8 text-xl",children:h.jsxs("span",{className:"flex items-center gap-3",children:[h.jsx("span",{className:"flex items-center justify-center w-10 h-10 rounded-full bg-white shrink-0",children:h.jsx(cT,{className:"w-5 h-5"})}),"abrir o gmail"]})}):h.jsxs("div",{className:"flex flex-col items-center gap-3",children:[h.jsx(Bv,{className:"w-8 h-8 text-black",strokeWidth:1.5}),h.jsxs("p",{className:"text-lg text-black font-medium max-w-md mx-auto text-balance",children:["confira sua caixa de entrada para encontrar o ",h.jsx(cl,{})," de confirmação."]})]})}),h.jsx("p",{className:"mt-6 text-base text-gray",children:"não encontrou? c
208onfira a pasta de spam ou promoções."}),a&&h.jsxs("p",{className:"mt-8 text-base text-gray max-w-md mx-auto text-balance",children:["confirme seu ",h.jsx(cl,{})," para completar sua indicação."]})]})}),h.jsx(ls,{})]})}const Hv=[{question:"O que eu vou receber ao me inscrever?",answer:"Ao se inscrever, você receberá, de segunda a domingo, um resumo direto e imparcial das principais notÃcias do Brasil e do mundo, explicado de forma leve e sem enrolação. Em 5 minutos, comece o dia bem informado."},{question:"A newsletter é realmente gratuita?",answer:"Sim! O the news é 100% gratuito. Para você consumir o produto, basta colocar seu email e passar a receber. Monetizamos através de parcerias com marcas."},{question:"O the news tem viés polÃtico?",answer:"Absolutamente não. Somos um jornal imparcial. Nosso compromisso é com a informação clara e objetiva, sem influências polÃticas ou ideológicas. Nosso inimigo não é um lado ou outro, mas sim a IGNORÃNCIA."},{question:"Vou receber spam ou propagandas indesejadas?",answer:"Não! Só enviamos conteúdos relevantes, e você pode sair da lista a qualquer momento com um clique. Além disso, não vendemos seus dados para ninguém. Até mesmo os nossos conteúdos com marcas costumam agradar a audiência."},{question:"Como posso garantir que os emails não vão para spam ou promoções?",answer:"Para garantir que sempre receba o the news na caixa de entrada (como deve ser), arraste a mensagem para a aba 'Principal' no seu provedor de email."},{question:"Posso compartilhar a newsletter com amigos?",answer:"Claro! Aliás, deve. Quanto mais gente informada e preocupada com bons hábitos, melhor. Você pode encaminhar o email ou compartilhar seu link de indicação para ganhar prêmios!"},{question:"Por que essa newsletter é diferente das outras?",answer:"Se chegou até aqui, já temos sua atenção. Leia e descubra!"}];function Yd({text:e,onClick:a,className:i,to:o}){const l=u=>{if(o.startsWith("#")){u.preventDefault();const c=document.querySelector(o);c&&c.scrollIntoView({behavior:"smooth"})}a&&a()};return h.jsx(Ho,{to:o,className:"group relative inline-flex items-center justify-center transition-transform duration-300 hover:scale-105 cursor-pointer",children:h.jsxs("button",{onClick:l,className:`group relative inline-flex items-center justify-center transition-transform duration-300 hover:scale-105 cursor-pointer ${i}`,children:[h.jsx("img",{src:Je.ticketHead,alt:"Ticket Left",className:"absolute left-0 top-0 bottom-0 h-full w-auto object-contain"}),h.jsx("div",{className:"h-full ml-2 mr-9 px-4 flex items-center justify-center bg-yellow",children:h.jsx("p",{className:"text-black font-bold text-lg md:text-xl lg:text-2xl uppercase",children:e})}),h.jsx("img",{src:Je.ticketBottom,alt:"Ticket Right",className:"absolute right-0 top-0 bottom-0 h-full w-auto object-contain"})]})})}function $v({items:e,theme:a,showContactButton:i=!1}){const[o,l]=T.useState([]),u=a==="dark"?Je.icons.white:Je.icons.black,c=b=>{l(S=>S.includes(b)?S.filter(C=>C!==b):[...S,b])},m=a==="dark"?"text-white":"text-black",p=a==="dark"?"border-white":"border-black",g=a==="dark"?"border-white":"border-black",y="text-yellow",x=i&&a==="dark";return h.jsxs("div",{id:"faq",className:"w-full max-w-screen-xl mx-auto flex flex-col items-center md:items-start justify-start px-4 pt-4 pb-24 ",children:[h.jsxs("div",{className:"w-full",children:[h.jsx("div",{className:`flex flex-col w-full border-b-1 ${p} pb-2`,children:h.jsxs("div",{className:`flex w-full border-b-1 ${p} items-center gap-4`,children:[h.jsx("h1",{className:`${m} w-full text-5xl md:text-6xl font-bold mb-2`,children:"dúvidas"}),h.jsx("img",{src:u,alt:"Ãcones",className:"h-4"})]})}),e.map((b,S)=>h.jsxs("div",{className:`${m} w-full`,children:[h.jsxs("button",{onClick:()=>c(S),className:`w-full md:px-4 py-6 flex justify-between border-b-1 cursor-pointer 209 ${o.includes(S)?"border-none":p}`,children:[h.jsxs("div",{className:`text-left text-lg md:text-xl flex items-center w-full ${o.includes(S)?y:""}`,children:[h.jsx("div",{className:`hidden md:flex w-4 h-4 border-2 rounded-[3px] mr-4 transition-all duration-300 ${o.includes(S)?"bg-yellow border-black":g}`}),b.question]}),h.jsx("div",{className:"flex",children:o.includes(S)?h.jsx(J2,{className:m}):h.jsx(qv,{className:m})})]}),o.includes(S)&&h.jsx("div",{className:`px-4 md:px-12 pb-6 text-xl w-full border-b-1 ${p}`,dangerouslySetInnerHTML:{__html:b.answer}}
209)]},S))]}),x&&h.jsx(Yd,{text:"FALE CONOSCO",className:"h-14 mt-12",to:"/evento/reservar"})]})}function hT({children:e="Inscreva-se",className:a="",disabled:i=!1,onClick:o,to:l,...u}){const c=h.jsx("button",{className:`bg-gradient-to-r from-[#ffce04] to-[#ff8a47] w-full text-black text-2xl rounded-full transition-all lowercase cursor-pointer ${i?"opacity-50 cursor-not-allowed":"hover:brightness-105"} ${a}`,type:"submit",disabled:i,onClick:o,...u,children:e});return l?h.jsx(Ho,{to:l,children:c}):c}const pT="https://turnstile-siteverify-portal-the-news.waffleinc.workers.dev",gT="0x4AAAAAAEMKvz0inY27FPNS",Gv="Não foi possÃvel verificar que você é humano. Aguarde um instante e tente novamente.",Xd=new Set;function yT(e){return Xd.add(e),()=>Xd.delete(e)}function Fv(){Xd.forEach(e=>e())}function vT(){var a;return typeof document>"u"?"":((a=Array.from(document.querySelectorAll('input[name="cf-turnstile-response"]')).find(i=>i.value))==null?void 0:a.value)??""}async function Iv(){const e=vT();if(!e)return!1;try{return(await(await fetch(pT,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:e})})).json()).success===!0}catch(a){return console.error("Erro ao verificar Turnstile:",a),!1}}const xT="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit";let go=null;function bT(){return typeof window>"u"||window.turnstile?Promise.resolve():go||(go=new Promise((e,a)=>{const i=document.createElement("script");i.src=xT,i.async=!0,i.defer=!0,i.onload=()=>e(),i.onerror=()=>{go=null,a(new Error("Falha ao carregar o Turnstile"))},document.head.appendChild(i)}),go)}function ST({className:e="",theme:a="auto"}){const i=T.useRef(null),o=T.useRef(null);return T.useEffect(()=>{let l=!1,u=null;return bT().then(()=>{l||!i.current||!window.turnstile||(o.current=window.turnstile.render(i.current,{sitekey:gT,action:"turnstile-spin-v1",theme:a}),u=yT(()=>{o.current&&window.turnstile&&window.turnstile.reset(o.current)}))}).catch(()=>{}),()=>{l=!0,u==null||u(),o.current&&window.turnstile&&(window.turnstile.remove(o.current),o.current=null)}},[a]),h.jsx("div",{ref:i,className:e,"data-action":"turnstile-spin-v1"})}function Yv(){return`${Date.now()}_${Math.random().toString(36).substr(2,9)}`}typeof window<"u"&&(window.dataLayer=window.dataLayer||[]);const ns={trackEvent(e,a,i){const o=i||Yv(),l={event_id:o,event:e,...a,timestamp:Date.now(),page_path:window.location.pathname,page_url:window.location.href};return window.dataLayer&&window.dataLayer.push(l),o},trackPageView(e){return this.trackEvent("page_view",e)},trackFormStart(e){return this.trackEvent("form_start",{form_name:e})},trackFormSubmit(e,a){return this.trackEvent("form_submit",{form_name:e,success:a})},async trackSubscribe(e,a,i,o){const l=await crypto.subtle.digest("SHA-256",new TextEncoder().encode(i.trim().toLowerCase())),u=Array.from(new Uint8Array(l)).map(c=>c.toString(16).padStart(2,"0")).join("");return this.trackEvent("Subscribe",{plan:e,source:a,email_hash:u},o)}};function wT({formName:e}){const a=T.useRef(null),i=T.useRef(!1);return T.useEffect(()=>{const l=a.current,u=c=>{i.current||(ns.trackFormStart(e),i.current=!0)};if(l){const c=l.querySelectorAll("input, select, textarea");return c.forEach(m=>{m.addEventListener("focus",u)}),()=>{c.forEach(m=>{m.removeEventListener("focus",u)}),i.current=!1}}},[e]),{formRef:a,handleSubmit:async l=>{try{const u=await l();return ns.trackFormSubmit(e,u),u}catch(u){throw ns.trackFormSubmit(e,!1),u}}}}const CT="https://worker.thenewscc.com",TT=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,ET=e=>e.startsWith("sub_")||TT.test(e);function _T(){const e=Ht(),[a,i]=T.useState({referralId:null,campaign:null});return T.useEffect(()=>{const l=new URLSearchParams(e.search),u=l.get("ref"),c=l.get("c")||"none";i(u?{referralId:u,campaign:c}:{referralId:null,campaign:null})},[e.search]),{referralParams:a,subscribeWithReferral:async l=>{if(!a.referralId)throw new Error("Parâmetro de referral não encontrado na URL");const u=ET(a.referralId)?{subscriber_id:a.referralId}:{referrer_id:a.referralId};try{if(!await Iv())return Fv(),{success:!1,message:Gv};const m=await fetch(`${CT}/referrals/subscribe`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({referred_email:l,...u,campaign:a.campaign})}),p=await m.json();if(!m.ok){const g=new Error(p.message||"Erro ao processar indicação");throw g.errorId=p.errorId,g}return{success:!0,message:(p==null?void 0:p.message)||"Inscrição via indicação realizada com sucesso!",data:p}}catch(c){throw console.error("Erro ao processar indicação:",c),c}},hasReferral:!!a.referralId}}
209function Xv(){if(typeof window>"u")return{};const e=new URLSearchParams(window.location.search),a={},i=e.get("utm_source"),o=e.get("utm_medium"),l=e.get("utm_campaign");return i&&(a.utm_source=i),o&&(a.utm_medium=o),l&&(a.utm_campaign=l),a}function IM(e,a){const i=Xv(),o=Object.keys(i).length>0?i:a,l=/^https?:\/\//i.test(e),u=new URL(e,"https://thenewscc.com.br");for(const[c,m]of Object.entries(o))m&&u.searchParams.set(c,m);return l?u.toString():`${u.pathname}${u.search}`}const Kv="lp_ab_variant",L0="lp_root_assignment",RT=.1;function Qv(e){return e==="control"||e==="minimal"}function jT(){try{const a=localStorage.getItem(L0);if(Qv(a))return a}catch{}const e=Math.random()<RT?"minimal":"control";try{localStorage.setItem(L0,e)}catch{}return e}function AT(){return!1}function Zv(e){try{localStorage.setItem(Kv,e)}catch{}}function NT(){try{const e=localStorage.getItem(Kv);if(Qv(e))return e}catch{}return"control"}function zf(){if(typeof window>"u")return!1;if(new URLSearchParams(window.location.search).has("ref"))return!0;try{if(localStorage.getItem("referralLink"))return!0}catch{}return!1}function MT(){if(!(typeof window>"u")&&!zf())try{const e=new URLSearchParams(window.location.search).get("fbclid");return e?(sessionStorage.setItem("fbclid",e),e):sessionStorage.getItem("fbclid")||void 0}catch{return new URLSearchParams(window.location.search).get("fbclid")||void 0}}function kT(){if(!(typeof window>"u")&&!zf())try{const e=new URLSearchParams(window.location.search).get("oppref");return e?(sessionStorage.setItem("oppref",e),e):sessionStorage.getItem("oppref")||void 0}catch{return}}function DT(e){if(typeof window>"u"||!window.fbq)return{};if(zf())return{};try{window.fbq("track","Subscribe",{},{eventID:e})}catch(a){console.error("Erro ao enviar evento para o Facebook Pixel:",a)}return{event:"Subscribe",eventId:e}}async function OT(e){const a=new Date().toISOString().slice(0,10),i=await crypto.subtle.digest("SHA-256",new TextEncoder().encode(`${e.toLowerCase().trim()}|${a}`));return Array.from(new Uint8Array(i)).map(o=>o.toString(16).padStart(2,"0")).join("")}function zT(){if(typeof document>"u")return{};const e=a=>{var i;return(i=document.cookie.match(new RegExp("(?:^|; )"+a+"=([^;]+)")))==null?void 0:i[1]};return{fbp:e("_fbp")||void 0,fbc:e("_fbc")||void 0}}const Jv={async subscribe({email:e,firstName:a,lastName:i,gender:o,birthDate:l,jobPosition:u,phone:c,isEnrichment:m}){try{if(!m&&!await Iv())return Fv(),{success:!1,message:Gv};const p=Yv(),g=Xv();AT()&&(g.utm_medium=g.utm_medium?`${g.utm_medium}_video30s`:"video30s");const y=MT(),x=kT(),{fbp:b,fbc:S}=zT(),C=await OT(e),E=DT(C),j={email:e,newsletter:"thenews",...a&&{first_name:a},...i&&{last_name:i},...o&&{gender:o},...l&&{birth_date:Math.floor(l.getTime()/1e3)},...u&&{job_position:u},...c&&{phone:c},...g.utm_source&&{utm_source:g.utm_source},...g.utm_medium&&{utm_medium:g.utm_medium},...g.utm_campaign&&{utm_campaign:g.utm_campaign},variant:NT(),...y&&{fbclid:y},...b&&{fbp:b},...S&&{fbc:S},...x&&{oppref:x},...E.event&&{event:E.event},...E.eventId&&{eventId:E.eventId}};Object.keys(j).forEach(_=>{(j[_]===void 0||j[_]==="")&&delete j[_]});const N=await(await fetch("https://worker.thenewscc.com/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(j)})).json();return m||ns.trackSubscribe("thenews",g.utm_source||"direct",e,p),N}catch(p){throw console.error("Erro ao realizar inscrição:",p),p}}};function V0(e){return e||""}const LT=[{value:"Student/Intern",label:"Estudante / Estagiário"},{value:"Freelancer",label:"Freelancer"},{value:"Junior/Analyst",label:"Júnior / Analista"},{value:"Mid-level/Senior",label:"Pleno / Sênior"},{value:"Manager/Supervisor",label:"Gerente / Supervisor"},{value:"Director",label:"Diretor(a)"},{value:"CEO",label:"CEO"}],VT=[{value:"Masculino",label:"Masculino"},{value:"Feminino",label:"Feminino"},{value:"Outro",label:"Outro"}],dl=5;function P0({value:e,onChange:a,options:i,placeholder:o,disabled:l}){return h.jsxs("div",{className:"relative",children:[h.jsxs("select",{value:e,onChange:u=>a(u.target.value),disabled:l,className:"w-full p-3 pr-10 border border-black rounded-lg bg-white appearance-none cursor-pointer text-base focus:outline-none focus:ring-2 focus:ring-yellow disabled:opacity-50",children:[h.jsx("option",{value:"",children:o}),i.map(u=>h.jsx("option",{value:u.value,children:u.label},u.value))]}),h.jsx(qv,{className:"w-5 h-5 absolute inset-y-0 right-3 my-auto pointer-events-none text-gray-600"})]})}function PT({isOpen:e,email:a,onClose:i,onComplete:o}){const[l,u]=T.useState(1),[c,m]=T.useState(""),[p,g]=T.useState(""),[y,x]=T.useState(""),[b,S]=T.useState(""),[C,E]=T.useState(""),[j,R]=T.useState(""),[N,_]=T.useState(!1),[z,D]=T.useState(null);if(!e)return null;const X=()=>u(Z=>Math.min(Z+1,dl)),U=()=>u(Z=>Math.max(Z-1,1)),V=async()=>{D(null),_(!0);try{let Z;if(j){const[ge,xe,Xe]=j.split("-").map(Number);Z=new Date(Date.UTC(ge,xe-1,Xe))}await Jv.subscribe({email:a,firstName:c.trim()||void 0,lastName:p.trim()||void 0,gender:b||void 0,birthDate:Z,jobPosition:y||void 0,phone:C||void 0,isEnrichment:!0}),o()}catch(Z){console.error("Erro ao enviar informações adicionais:",Z),D("Não foi possÃvel salvar suas informações. Tente novamente.")}finally{_(!1)}},F={1:{title:"Bem-vindo ao the news! ð",subtitle:"Como vamos te chamar?"},2:{title:"Prazer em te conhecer!",subtitle:"Para entregar o conteúdo mais relevante para você, responda algumas perguntas rápidas."},3:{title:"Conta um pouco sobre você",subtitle:"Assim a gente personaliza a newsletter do seu jeito."},4:{title:"Quase lá!",subtitle:"Deixa seu WhatsApp pra gente te avisar de conteúdos especiais."},5:{title:"Falta pouco, você está quase lá!",subtitle:"Só mais uma pergunta e terminamos."}}
209;return h.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/40 px-4",onClick:i,children:h.jsxs("div",{className:"relative w-full max-w-xl bg-white rounded-2xl border border-black/10 shadow-xl p-6 sm:p-10 text-black",onClick:Z=>Z.stopPropagation(),children:[h.jsx("button",{type:"button",onClick:i,"aria-label":"Fechar",className:"absolute top-4 right-4 p-1 text-black hover:opacity-60 transition-opacity",children:h.jsx(Mo,{className:"w-6 h-6"})}),h.jsx("div",{className:"flex items-center gap-2 mt-2",children:Array.from({length:dl}).map((Z,ge)=>h.jsx("div",{className:`h-2 flex-1 rounded-full transition-colors ${ge+1<=l?"bg-black":"bg-gray-200"}`},ge))}),h.jsxs("p",{className:"text-center text-sm font-semibold text-gray-500 tracking-wide mt-3",children:[l," DE ",dl]}),h.jsxs("div",{className:"mt-6",children:[h.jsx("h2",{className:"text-2xl sm:text-3xl font-bold leading-tight",children:F[l].title}),F[l].subtitle&&h.jsx("p",{className:"mt-3 text-base sm:text-lg text-gray-600",children:F[l].subtitle})]}),z&&h.jsx("div",{className:"mt-4 p-3 bg-red-100 text-red-700 rounded-lg text-sm",children:z}),h.jsxs("div",{className:"mt-6 min-h-[120px]",children:[l===1&&h.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[h.jsxs("div",{children:[h.jsx("label",{className:"block font-semibold mb-2",children:"Nome"}),h.jsx("input",{type:"text",value:c,onChange:Z=>m(Z.target.value),autoComplete:"given-name",disabled:N,className:"w-full p-3 border border-black rounded-lg bg-white text-base focus:outline-none focus:ring-2 focus:ring-yellow disabled:opacity-50"})]}),h.jsxs("div",{children:[h.jsx("label",{className:"block font-semibold mb-2",children:"Sobrenome"}),h.jsx("input",{type:"text",value:p,onChange:Z=>g(Z.target.value),autoComplete:"family-name",disabled:N,className:"w-full p-3 border border-black rounded-lg bg-white text-base focus:outline-none focus:ring-2 focus:ring-yellow disabled:opacity-50"})]})]}),l===2&&h.jsxs("div",{children:[h.jsx("label",{className:"block font-semibold mb-2",children:"Qual é o seu cargo? *"}),h.jsx(P0,{value:y,onChange:x,options:LT,placeholder:"Selecione uma opção",disabled:N})]}),l===3&&h.jsxs("div",{children:[h.jsx("label",{className:"block font-semibold mb-2",children:"Com qual gênero você se identifica? *"}),h.jsx(P0,{value:b,onChange:S,options:VT,placeholder:"Selecione uma opção",disabled:N})]}),l===4&&h.jsxs("div",{children:[h.jsx("label",{className:"block font-semibold mb-2",children:"Qual é o seu WhatsApp?"}),h.jsx("input",{type:"tel",value:C,onChange:Z=>E(Z.target.value),placeholder:"(11) 99999-9999",disabled:N,className:"w-full p-3 border border-black rounded-lg bg-white text-base focus:outline-none focus:ring-2 focus:ring-yellow disabled:opacity-50"}),h.jsx("p",{className:"text-sm text-gray-500 italic mt-2",children:"(prometemos não enviar spam â só conteúdo especial ð¤)"})]}),l===5&&h.jsxs("div",{children:[h.jsx("label",{className:"block font-semibold mb-2",children:"Quando é seu aniversário? *"}),h.jsx("input",{type:"date",value:j,onChange:Z=>R(Z.target.value),disabled:N,className:"w-full p-3 border border-black rounded-lg bg-white cursor-pointer text-base focus:outline-none focus:ring-2 focus:ring-yellow disabled:opacity-50"}),h.jsx("p",{className:"text-sm text-gray-500 italic mt-2",children:"(hmmm... será que temos algo especial pro seu aniversário? ð)"})]})]}),h.jsxs("div",{className:"mt-8 flex items-center gap-4",children:[l>1&&h.jsx("button",{type:"button",onClick:U,disabled:N,className:"flex-1 py-3 border border-black rounded-lg font-bold hover:bg-gray-50 transition-colors disabled:opacity-50",children:"Voltar"}),l<dl?h.jsx("button",{type:"button",onClick:X,disabled:N,className:"flex-1 py-3 bg-black text-white rounded-lg font-bold hover:opacity-90 transition-opacity disabled:opacity-50",children:"Próximo"}):h.jsx("button",{type:"button",onClick:V,disabled:N,className:"flex-1 py-3 bg-yellow text-black rounded-lg font-bold hover:opacity-90 transition-opacity disabled:opacity-50",children:N?"Enviando...":"Finalizar"})]}),h.jsx("button",{type:"button",onClick:o,disabled:N,className:"w-full mt-3 text-gray-400 text-sm hover:text-gray-600 transition-colors disabled:opacity-50",children:"pular por enquanto"})]})})}function Wv({collectExtraInfo:e=!1}){const a=jf(),i=Ht(),[o,l]=T.useState(""),[u,c]=T.useState(!1),[m,p]=T.useState(null),[g,y]=T.useState(null),[x,b]=T.useState(!1),[S,C]=T.useState(""),{handleSubmit:E,formRef:j}=wT({formName:"email_signup"}),{hasReferral:R,subscribeWithReferral:N}=_T(),_=T.useRef(!1),z=()=>{a(`/confirmar${V0(i.search)}`)},D=(U,V)=>{l("");try{sessionStorage.setItem("subscriber_email",U)}catch{}e?(C(U),b(!0)):a(`/confirmar${V}`)},X=async U=>{if(U.preventDefault(),_.current||u)return;const V=V0(i.search);p(null),y(null),c(!0),_.current=!0;try{await E(async()=>{try{if(R){const F=await N(o);return F.success?(D(o,V),!0):(p(F.message||"Erro ao processar indicação"),!1)}else{const F=await Jv.subscribe({email:o});return F.success?(D(o,V),!0):(p(F.message||"Erro ao cadastrar email"),!1)}}catch(F){console.error("Erro ao cadastrar email:",F);const Z=F==null?void 0:F.errorId;return Z&&y(Z),R&&F instanceof Error?F.message.includes("Este email já está inscrito")?p("Este email já está inscrito na newsletter."):F.message.includes("fraudulenta")?p("Referência inválida detectada. Por favor, tente novamente."):p(F.message||"Não foi possÃvel processar a indicação. Tente novamente."):p("Ocorreu um erro ao processar sua inscrição. Por favor, tente novamente."),!1}})}catch(F){console.error("Erro ao processar formulário:",F),p("Ocorreu um erro inesperado. Por favor, tente novamente.")}finally{c(!1),_.current=!1}};return h.jsxs(h.Fragment,{children:[h.jsxs("form",{ref:j,onSubmit:X,className:"flex flex-col items-center w-full",children:[h.jsxs("div",{className:"flex items-center mt-10 px-1 border border-black rounded-full bg-white overflow-hidden max-w-xl w-full h-full",children:[h.jsx(Bv,{className:"ml-4",size:32}),h.jsx("input",{type:"email",value:o,onChange:U=>l(U.target.value),placeholder:"coloque seu email",className:"bg-white w-full text-lg md:text-xl p-3 pl-3 text-black focus:outline-none",required:!0,disabled:u}),h.jsx(hT,{type:"submit",className:"py-2 max-w-30 md:max-w-40 text-lg md:text-xl",disabled:u||_.current,children:u?"Enviando...":"inscreva-se"})]}),h.jsx(ST,{className:"mt-4"}),m&&h.jsxs("div",{className:"mt-2 text-red-600 text-sm",children:[m,g&&h.jsxs("div",{className:"mt-1 text-xs text-red-500/80",children:["código: ",g," â informe ao suporte"]})]})]}),e&&h.jsx(PT,{isOpen:x,email:S,onClose:z,onComplete:z})]})}function ex(){return h.jsx("div",{className:"w-full px-4 text-black flex justify-center lg:pt-10",children:h.jsxs("div",{className:"w-full max-w-7xl flex flex-col md:flex-row justify-center md:gap-12",children:[h.jsxs("div",{className:"flex flex-col items-center xl:items-start gap-2",children:[h.jsxs("div",{className:"text-center xl:text-start text-5xl md:text-7xl font-semibold",children:[h.jsx("p",{className:"bg-gradient-to-r from-[#ffce04] to-[#ff8a47] bg-clip-text text-transparent pb-2 leading-[1.15]",children:" + inteligente"}),h.jsxs("p",{children:["em ",h.jsx("span",{className:"",children:"5 minutos"})]})]}),h.jsxs("p",{className:"mt-4 md:mt-0 px-0 text-center md:text-left max-w-[470px] text-xl md:text-2xl text-gray-500",children:[h.jsx("span",{className:"text-black font-medium",children:"notÃcias relevantes e imparciais"}),", direto no seu email gratuitamente, ",h.jsx("span",{className:"text-black font-medium",children:"todo dia, à s 06:06"})]}),h.jsx(Wv,{collectExtraInfo:!0}),h.jsx("img",{src:Je.bottomCellphone,alt:"",className:"flex xl:hidden pt-8 h-full w-full max-w-2xl"})]}),h.jsx("img",{src:Je.bottomCellphone,alt:"",className:"hidden xl:flex h-full w-full max-w-xl"})]})})}function qT(){const e="https://thenewscc.beehiiv.com/",a=["maior","+ imparcial"],[i,o]=T.useState(""),[l,u]=T.useState(0),[c,m]=T.useState(!0),[p,g]=T.useState(!0),y=T.useRef(-1);return T.useEffect(()=>{if(c)g(!0);else{const x=setInterval(()=>{g(b=>!b)},300);return()=>clearInterval(x)}},[c]),T.useEffect(()=>{const x=a[l];if(c){const b=setInterval(()=>{y.current++,o(S=>
209S+x[y.current]),y.current===x.length-1&&(clearInterval(b),m(!1),setTimeout(()=>{m(!0),o(""),y.current=-1,u(S=>(S+1)%a.length)},1500))},150);return()=>clearInterval(b)}},[l,c]),h.jsx("div",{id:"headerLP",className:"w-full",children:h.jsxs("div",{className:"text-center w-full pb-20 pt-20 md:pt-30 px-4 md:px-20 flex flex-col items-center justify-center",children:[h.jsxs("div",{className:"text-4xl md:text-[120px] font-semibold mb-4 mt-6 lowercase",children:[h.jsxs("h1",{className:"",children:["o ",h.jsxs("span",{className:"bg-gradient-to-r from-[#ffce04] to-[#ff8a47] bg-clip-text text-transparent",children:[i,h.jsx("span",{className:`${p?"opacity-100":"opacity-0"} text-black`,children:"_"})]})]}),h.jsx("h1",{children:"jornal digital"}),h.jsx("h1",{children:"do paÃs"})]}),h.jsxs("p",{className:"text-xl md:text-2xl max-w-2xl mt-4",children:["as principais notÃcias do Brasil e do mundo, diariamente no seu email ",h.jsx("span",{className:"font-bold",children:"totalmente grátis"}),"."]}),h.jsx(Wv,{collectExtraInfo:!0}),h.jsxs("div",{className:"flex mt-6 items-center gap-2 text-gray-400",children:[h.jsx("a",{href:e,target:"_blank",className:"text-base md:text-lg hover:underline cursor-pointer",children:"ou leia nossas edições primeiro"}),h.jsx(Of,{className:"h-4 w-4"})]})]})})}function BT(){const e=[{id:1,title:"se inscreva",description:"coloque seu email e clique no botão para se inscrever gratuitamente",image:Je.gifs.email},{id:2,title:"prepare um café",description:"hora de preparar o café sem açúcar, abrir o email e ler sua edição do dia",image:Je.gifs.cupSmoke},{id:3,title:"indique e ganhe prêmios",description:"leia todos os dias para aumentar seu Streak e indique o the news para ganhar brindes exclusivos",image:Je.gifs.streak}],[a,i]=T.useState(0),o=T.useRef(null),l=T.useRef(null);T.useEffect(()=>(l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{const x=(a+1)%e.length;i(x)},5e3),()=>{l.current&&clearTimeout(l.current)}),[a,e.length]),T.useEffect(()=>{o.current&&o.current.scrollTo({left:o.current.offsetWidth*a,behavior:"smooth"})},[a]);const u=T.useRef(null),c=()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{if(o.current){const x=Math.round(o.current.scrollLeft/o.current.offsetWidth);x!==a&&i(x)}},150)},m=x=>{i(x)},p=()=>{const x=(a+1)%e.length;m(x)},g=()=>{const x=(a-1+e.length)%e.length;m(x)},y={scrollbarWidth:"none",msOverflowStyle:"none"};return h.jsx("div",{className:"w-full mb-20 pb-2 pt-2 md:pb-10 md:pt-10 px-4",children:h.jsxs("div",{className:"w-full flex flex-col items-start md:items-center",children:[h.jsxs("div",{className:"text-center text-4xl md:text-6xl",children:[h.jsx("p",{className:"inline-block text-gray-dark font-semibold",children:"mais inteligente"}),h.jsx("p",{className:"inline-block ml-2 bg-gradient-to-r from-[#ffce04] to-[#ff8a47] bg-clip-text text-transparent font-bold",children:"em 5 minutos"})]}),h.jsx("div",{className:"relative w-full max-w-5xl mt-4",children:h.jsx("div",{ref:o,onScroll:c,className:"w-full flex overflow-x-auto scroll-smooth snap-x snap-mandatory",style:y,children:e.map(x=>h.jsx("div",{className:"flex-shrink-0 w-full snap-center flex justify-center m-2",children:h.jsxs("div",{className:"border border-gray-300 rounded-[10px] md:rounded-[50px] p-8 md:p-12 w-full h-[500px] md:h-[600px] flex flex-col md:flex-row items-center justify-center",children:[h.jsxs("div",{className:"w-full md:w-1/2 text-left flex md:flex-col md:pl-10 justify-center gap-4 md:gap-0",children:[h.jsxs("h1",{className:"text-7xl md:text-[150px] font-bold md:leading-30 text-yellow",children:[x.id,"."]}),h.jsxs("div",{children:[h.jsx("h1",{className:"text-4xl leading-9 md:leading-12 md:text-5xl font-bold text-gray-dark",children:x.title}),h.jsx("p",{className:"text-lg leading-6 mt-2 md:text-xl hidden md:block text-gray-500",children:x.description})]})]}),h.jsx("p",{className:"pt-3 text-lg leading-4 block md:hidden",children:x.description}),h.jsx("div",{className:"w-full md:w-1/2 flex justify-center items-center pt-4 md:pt-0",children:h.jsx("img",{src:x.image,alt:x.title,className:"w-auto h-full max-h-[300px] md:max-h-[400px]"})})]})},x.id))})}),h.jsxs("div",{className:"w-full max-w-4xl mt-4 flex items-center justify-center relative",children:[h.jsx("div",{className:"flex gap-2",children:e.map((x,b)=>h.jsx("button",{onClick:()=>m(b),className:`w-3 h-3 rounded-full transition-colors ${a===b?"bg-gray-300":"bg-gray-200 hover:bg-gray-400"}`},b))}),h.jsxs("div",{className:"hidden lg:flex absolute lg:right-[-50px] gap-2",children:[h.jsx(X2,{onClick:g,className:"bg-gray-200 text-gray-400 rounded-full p-1 h-8 w-8 cursor-pointer hover:bg-gray-400 transition-colors"}),h.jsx(Q2,{onClick:p,className:"bg-gray-200 text-gray-400 rounded-full p-1 h-8 w-8 cursor-pointer hover:bg-gray-400 transition-colors"})]})]})]})})}var fl={},q0;
209function UT(){if(q0)return fl;q0=1;function e(u){if(typeof window>"u")return;const c=document.createElement("style");return c.setAttribute("type","text/css"),c.innerHTML=u,document.head.appendChild(c),u}Object.defineProperty(fl,"__esModule",{value:!0});var a=zl();function i(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var o=i(a);e(`.rfm-marquee-container { 210 overflow-x: hidden; 211 display: flex; 212 flex-direction: row; 213 position: relative; 214 width: var(--width); 215 transform: var(--transform); 216} 217.rfm-marquee-container:hover div { 218 animation-play-state: var(--pause-on-hover); 219} 220.rfm-marquee-container:active div { 221 animation-play-state: var(--pause-on-click); 222} 223 224.rfm-overlay { 225 position: absolute; 226 width: 100%; 227 height: 100%; 228} 229.rfm-overlay::before, .rfm-overlay::after { 230 background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0)); 231 content: ""; 232 height: 100%; 233 position: absolute; 234 width: var(--gradient-width); 235 z-index: 2; 236 pointer-events: none; 237 touch-action: none; 238} 239.rfm-overlay::after { 240 right: 0; 241 top: 0; 242 transform: rotateZ(180deg); 243} 244.rfm-overlay::before { 245 left: 0; 246 top: 0; 247} 248 249.rfm-marquee { 250 flex: 0 0 auto; 251 min-width: var(--min-width); 252 z-index: 1; 253 display: flex; 254 flex-direction: row; 255 align-items: center; 256 animation: scroll var(--duration) linear var(--delay) var(--iteration-count); 257 animation-play-state: var(--play); 258 animation-delay: var(--delay); 259 animation-direction: var(--direction); 260} 261@keyframes scroll { 262 0% { 263 transform: translateX(0%); 264 } 265 100% { 266 transform: translateX(-100%); 267 } 268} 269 270.rfm-initial-child-container { 271 flex: 0 0 auto; 272 display: flex; 273 min-width: auto; 274 flex-direction: row; 275 align-items: center; 276} 277 278.rfm-child { 279 transform: var(--transform); 280}`);const l=a.forwardRef(function({style:c={},className:m="",autoFill:p=!1,play:g=!0,pauseOnHover:y=!1,pauseOnClick:x=!1,direction:b="left",speed:S=50,delay:C=0,loop:E=0,gradient:j=!1,gradientColor:R="white",gradientWidth:N=200,onFinish:_,onCycleComplete:z,onMount:D,children:X},U){const[V,F]=a.useState(0),[Z,ge]=a.useState(0),[xe,Xe]=a.useState(1),[et,Ne]=a.useState(!1),H=a.useRef(null),K=U||H,$=a.useRef(null),de=a.useCallback(()=>{if($.current&&K.current){const se=K.current.getBoundingClientRect(),Ce=$.current.getBoundingClientRect();let be=se.width,Ke=Ce.width;(b==="up"||b==="down")&&(be=se.height,Ke=Ce.height),Xe(p&&be&&Ke&&Ke<be?Math.ceil(be/Ke):1),F(be),ge(Ke)}},[p,K,b]);a.useEffect(()=>{if(et&&(de(),$.current&&K.current)){const se=new ResizeObserver(()=>de());return se.observe(K.current),se.observe($.current),()=>{se&&se.disconnect()}}},[de,K,et]),a.useEffect(()=>{de()},[de,X]),a.useEffect(()=>{Ne(!0)},[]),a.useEffect(()=>{typeof D=="function"&&D()},[]);const M=a.useMemo(()=>p?Z*xe/S:Z<V?V/S:Z/S,[p,V,Z,xe,S]),Y=a.useMemo(()=>Object.assign(Object.assign({},c),{"--pause-on-hover":!g||y?"paused":"running","--pause-on-click":!g||y&&!x||x?"paused":"running","--width":b==="up"||b==="down"?"100vh":"100%","--transform":b==="up"?"rotate(-90deg)":b==="down"?"rotate(90deg)":"none"}),[c,g,y,x,b]),W=a.useMemo(()=>({"--gradient-color":R,"--gradient-width":typeof N=="number"?`${N}px`:N}),[R,N]),J=a.useMemo(()=>({"--play":g?"running":"paused","--direction":b==="left"?"normal":"reverse","--duration":`${M}
280s`,"--delay":`${C}s`,"--iteration-count":E?`${E}`:"infinite","--min-width":p?"auto":"100%"}),[g,b,M,C,E,p]),ee=a.useMemo(()=>({"--transform":b==="up"?"rotate(90deg)":b==="down"?"rotate(-90deg)":"none"}),[b]),ve=a.useCallback(se=>[...Array(Number.isFinite(se)&&se>=0?se:0)].map((Ce,be)=>o.default.createElement(a.Fragment,{key:be},a.Children.map(X,Ke=>o.default.createElement("div",{style:ee,className:"rfm-child"},Ke)))),[ee,X]);return et?o.default.createElement("div",{ref:K,style:Y,className:"rfm-marquee-container "+m},j&&o.default.createElement("div",{style:W,className:"rfm-overlay"}),o.default.createElement("div",{className:"rfm-marquee",style:J,onAnimationIteration:z,onAnimationEnd:_},o.default.createElement("div",{className:"rfm-initial-child-container",ref:$},a.Children.map(X,se=>o.default.createElement("div",{style:ee,className:"rfm-child"},se))),ve(xe-1)),o.default.createElement("div",{className:"rfm-marquee",style:J},ve(xe))):null});return fl.default=l,fl}var HT=UT();const $T=_f(HT);function GT(){const e=[Je.testimonials.testimonial2,Je.testimonials.testimonial3,Je.testimonials.testimonial4,Je.testimonials.testimonial5,Je.testimonials.testimonial6,Je.testimonials.testimonial7,Je.testimonials.testimonial8,Je.testimonials.testimonial9];return h.jsx("section",{id:"#lpTestimonials",className:"w-full py-20 lg:py-30 mb-20 md:px-4 bg-neutral-50",children:h.jsxs("div",{className:"max-w-7xl mx-auto flex flex-col items-start",children:[h.jsxs("div",{className:"text-center md:text-left w-full lg:max-w-3xl mb-8 md:mb-12",children:[h.jsxs("h1",{className:"text-4xl md:text-6xl text-gray-dark font-semibold",children:["criando bons hábitos e te deixando ",h.jsx("span",{className:"bg-gradient-to-r from-[#ffce04] to-[#ff8a47] bg-clip-text text-transparent",children:"mais inteligente"})]}),h.jsx("p",{className:"text-lg md:text-2xl text-gray-500",children:"nos comprometemos a entregar notÃcias da forma mais inteligente."})]}),h.jsx("div",{className:"w-full",children:h.jsx($T,{children:e.map((a,i)=>h.jsx("div",{className:"h-[500px] mx-2",children:h.jsx("img",{src:a,alt:`testimonial image ${i+1}`,className:"h-full object-cover rounded-lg"})},i))})})]})})}function FT(){return T.useEffect(()=>{Zv("control"),ns.trackPageView({page_name:"landing_page_home",page_url:window.location.href})},[]),h.jsxs("div",{className:"w-full h-full bg-white",children:[h.jsx(Fo,{}),h.jsx(qT,{}),h.jsx(BT,{}),h.jsx(GT,{}),h.jsx($v,{items:Hv,theme:"light"}),h.jsx(ex,{}),h.jsx(ls,{})]})}function IT(){const[e,a]=T.useState(!1),i=()=>{a(!e)},o=[{name:"Sobre",link:"/evento#about"},{name:"Speakers",link:"/evento#speakers"},{name:"Agenda",link:"/evento/agenda"},{name:"PatrocÃnio",link:"/evento/patrocinar"},{name:"Dúvidas",link:"/evento#faq"}];return h.jsxs("header",{className:"py-2 px-4 sm:px-8 md:px-20 lg:px-40 flex justify-between items-center bg-gray-dark bg-opacity-80 text-white fixed top-0 z-10 w-full min-h-20",children:[h.jsxs("a",{href:"/evento",className:"flex items-center gap-4",children:[h.jsx("img",{src:Je.newLogos.theNewsWhite,alt:"Logo",className:"h-14"}),h.jsx("img",{src:Je.logos.main,alt:"Logo",className:"h-10"})]}),h.jsx("div",{className:"hidden text-lg md:flex items-center space-x-12",children:o.map(l=>h.jsx("a",{href:l.link,className:"hover:bg-yellow hover:text-black transition",children:l.name},l.name))}),h.jsx("div",{className:"hidden md:block",children:h.jsx(Yd,{text:"INGRESSOS",className:"h-12",to:"#ingressos"})}),h.jsx("div",{className:"md:hidden flex items-center",children:h.jsx("button",{onClick:i,className:"text-white focus:outline-none","aria-label":"Toggle menu",children:e?h.jsx(Mo,{size:24,className:"text-white"}):h.jsx(Uv,{size:24,className:"text-white"})})}),e&&h.jsxs("div",{className:"md:hidden fixed inset-0 bg-black bg-opacity-90 z-40 pt-20 px-6",children:[h.jsx("button",{onClick:i,className:"absolute top-6 right-6 text-white focus:outline-none","aria-label":"Fechar menu",children:h.jsx(Mo,{size:32,className:"text-white"})}),h.jsxs("div",{className:"flex flex-col space-y-6",children:[o.map(l=>h.jsx("a",{href:l.link,className:"text-white text-4xl py-3 border-b border-gray-700 hover:text-yellow transition lowercase",onClick:()=>a(!1),children:l.name},l.name)),h.jsx("div",{className:"pt-4",children:h.jsx(Yd,{text:"INGRESSOS",className:"h-14 w-full text-lg",to:"/evento#ingressos",onClick:()=>a(!1)})})]})]})]})}
vendor: 55,887 bytes, lines 280-301
280function YT(){return h.jsxs("footer",{className:"py-14 bg-gray-dark text-white w-full",children:[h.jsxs("div",{className:"px-8 md:px-40 flex flex-col md:flex-row justify-between md:gap-x-12",children:[h.jsxs("div",{children:[h.jsx("p",{className:"text-yellow text-2xl mb-4",children:"Realização"}),h.jsx("img",{src:Je.newLogos.theNewsWhite,alt:"Logo",className:"h-18 w-auto mb-4"})]}),h.jsxs("div",{children:[h.jsx("p",{className:"text-yellow text-2xl mb-4 mt-14 md:mt-0",children:"Sobre o evento"}),h.jsxs("p",{className:"max-w-[470px] text-xl font-light",children:["Feito para você, que gosta de conhecer novas pessoas e estar rodeado das informações que estão shaping the world.",h.jsx("br",{}),h.jsx("br",{}),"Um evento exclusivo pensado para que os leitores e ouvintes se conectem de maneira única e inesquecÃvel.",h.jsx("br",{}),h.jsx("br",{}),"Conheça nosso time, conheça nossa audiência e faça diferença!"]})]}),h.jsxs("div",{className:"text-xl font-light mt-14 md:mt-0",children:[h.jsx("img",{src:Je.logos.main,alt:"",className:"h-18 mb-6"}),h.jsxs("div",{className:"flex",children:[h.jsxs("div",{className:"flex flex-col mr-12 gap-2",children:[h.jsx("a",{href:"/evento#speakers",className:"hover:underline hover:text-yellow",children:"Palestrantes"}),h.jsx("a",{href:"/evento#roads",className:"hover:underline hover:text-yellow",children:"Trilhas de Conteúdo"}),h.jsx("a",{href:"/evento#ticket",className:"hover:underline hover:text-yellow",children:"Ingressos"})]}),h.jsxs("div",{className:"flex flex-col gap-2",children:[h.jsx("a",{href:"/evento#sponsors",className:"hover:underline hover:text-yellow",children:"Patrocinadores"}),h.jsx("a",{href:"/evento#faq",className:"hover:underline hover:text-yellow",children:"Perguntas Frequentes"})]})]})]})]}),h.jsxs("div",{className:"flex flex-col md:flex-row items-center md:items-start justify-center gap-x-12 text-sm text-gray pt-8",children:[h.jsx("p",{children:"© 2026 Grupo TNS"}),h.jsx("a",{href:"/policies",className:"hover:underline",children:"PolÃticas e Termos de Uso"})]})]})}/** 281 * table-core 282 * 283 * Copyright (c) TanStack 284 * 285 * This source code is licensed under the MIT license found in the 286 * LICENSE.md file in the root directory of this source tree. 287 * 288 * @license MIT 289 */function ja(e,a){return typeof e=="function"?e(a):e}function Jt(e,a){return i=>{a.setState(o=>({...o,[e]:ja(i,o[e])}))}}function Ul(e){return e instanceof Function}function XT(e){return Array.isArray(e)&&e.every(a=>typeof a=="number")}function KT(e,a){const i=[],o=l=>{l.forEach(u=>{i.push(u);const c=a(u);c!=null&&c.length&&o(c)})};return o(e),i}function he(e,a,i){let o=[],l;return u=>{let c;i.key&&i.debug&&(c=Date.now());const m=e(u);if(!(m.length!==o.length||m.some((y,x)=>o[x]!==y)))return l;o=m;let g;if(i.key&&i.debug&&(g=Date.now()),l=a(...m),i==null||i.onChange==null||i.onChange(l),i.key&&i.debug&&i!=null&&i.debug()){const y=Math.round((Date.now()-c)*100)/100,x=Math.round((Date.now()-g)*100)/100,b=x/16,S=(C,E)=>{for(C=String(C);C.length<E;)C=" "+C;return C};console.info(`%câ± ${S(x,5)} /${S(y,5)} ms`,` 290 font-size: .6rem; 291 font-weight: bold; 292 color: hsl(${Math.max(0,Math.min(120-120*b,120))}deg 100% 31%);`,i==null?void 0:i.key)}return l}}function pe(e,a,i,o){return{debug:()=>{var l;return(l=e==null?void 0:e.debugAll)!=null?l:e[a]},key:!1,onChange:o}}function QT(e,a,i,o){const l=()=>{var c;return(c=u.getValue())!=null?c:e.options.renderFallbackValue},u={id:`${a.id}_${i.id}`,row:a,column:i,getValue:()=>a.getValue(o),renderValue:l,getContext:he(()=>[e,i,a,u],(c,m,p,g)=>({table:c,column:m,row:p,cell:g,getValue:g.getValue,renderValue:g.renderValue}),pe(e.options,"debugCells"))};return e._features.forEach(c=>{c.createCell==null||c.createCell(u,i,a,e)},{}),u}function ZT(e,a,i,o){var l,u;const m={...e._getDefaultColumnDef(),...a},p=m.accessorKey;let g=(l=(u=m.id)!=null?u:p?typeof String.prototype.replaceAll=="function"?p.replaceAll(".","_"):p.replace(/\./g,"_"):void 0)!=null?l:typeof m.header=="string"?m.header:void 0,y;if(m.accessorFn?y=m.accessorFn:p&&(p.includes(".")?y=b=>{let S=b;for(const E of p.split(".")){var C;S=(C=S)==null?void 0:C[E]}return S}:y=b=>b[m.accessorKey]),!g)throw new Error;let x={id:`${String(g)}`,accessorFn:y,parent:o,depth:i,columnDef:m,columns:[],getFlatColumns:he(()=>[!0],()=>{var b;return[x,...(b=x.columns)==null?void 0:b.flatMap(S=>S.getFlatColumns())]},pe(e.options,"debugColumns")),getLeafColumns:he(()=>[e._getOrderColumnsFn()],b=>{var S;if((S=x.columns)!=null&&S.length){let C=x.columns.flatMap(E=>E.getLeafColumns());return b(C)}return[x]},pe(e.options,"debugColumns"))};for(const b of e._features)b.createColumn==null||b.createColumn(x,e);return x}const Nt="debugHeaders";function B0(e,a,i){var o;let u={id:(o=i.id)!=null?o:a.id,column:a,index:i.index,isPlaceholder:!!i.isPlaceholder,placeholderId:i.placeholderId,depth:i.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const c=[],m=p=>{p.subHeaders&&p.subHeaders.length&&p.subHeaders.map(m),c.push(p)};return m(u),c},getContext:()=>({table:e,header:u,column:a})};return e._features.forEach(c=>{c.createHeader==null||c.createHeader(u,e)}),u}const JT={createTable:e=>{e.getHeaderGroups=he(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(a,i,o,l)=>{var u,c;const m=(u=o==null?void 0:o.map(x=>i.find(b=>b.id===x)).filter(Boolean))!=null?u:[],p=(c=l==null?void 0:l.map(x=>i.find(b=>b.id===x)).filter(Boolean))!=null?c:[],g=i.filter(x=>!(o!=null&&o.includes(x.id))&&!(l!=null&&l.includes(x.id)));return ml(a,[...m,...g,...p],e)},pe(e.options,Nt)),e.getCenterHeaderGroups=he(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(a,i,o,l)=>(i=i.filter(u=>!(o!=null&&o.includes(u.id))&&!(l!=null&&l.includes(u.id))),ml(a,i,e,"center")),pe(e.options,Nt)),e.getLeftHeaderGroups=he(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(a,i,o)=>{var l;const u=(l=o==null?void 0:o.map(c=>i.find(m=>m.id===c)).filter(Boolean))!=null?l:[];return ml(a,u,e,"left")},pe(e.options,Nt)),e.getRightHeaderGroups=he(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(a,i,o)=>{var l;const u=(l=o==null?void 0:o.map(c=>i.find(m=>m.id===c)).filter(Boolean))!=null?l:[];return ml(a,u,e,"right")},pe(e.options,Nt)),e.getFooterGroups=he(()=>[e.getHeaderGroups()],a=>[...a].reverse(),pe(e.options,Nt)),e.getLeftFooterGroups=he(()=>[e.getLeftHeaderGroups()],a=>[...a].reverse(),pe(e.options,Nt)),e.getCenterFooterGroups=he(()=>[e.getCenterHeaderGroups()],a=>[...a].reverse(),pe(e.options,Nt)),e.getRightFooterGroups=he(()=>[e.getRightHeaderGroups()],a=>[...a].reverse(),pe(e.options,Nt)),e.getFlatHeaders=he(()=>[e.getHeaderGroups()],a=>a.map(i=>i.headers).flat(),pe(e.options,Nt)),e.getLeftFlatHeaders=he(()=>[e.getLeftHeaderGroups()],a=>a.map(i=>i.headers).flat(),pe(e.options,Nt)),e.getCenterFlatHeaders=he(()=>[e.getCenterHeaderGroups()],a=>a.map(i=>i.headers).flat(),pe(e.options,Nt)),e.getRightFlatHeaders=he(()=>[e.getRightHeaderGroups()],a=>a.map(i=>i.headers).flat(),pe(e.options,Nt)),e.getCenterLeafHeaders=he(()=>[e.getCenterFlatHeaders()],a=>a.filter(i=>{var o;return!((o=i.subHeaders)!=null&&o.length)}),pe(e.options,Nt)),e.getLeftLeafHeaders=he(()=>[e.getLeftFlatHeaders()],a=>a.filter(i=>{var o;return!((o=i.subHeaders)!=null&&o.length)}),pe(e.options,Nt)),e.getRightLeafHeaders=he(()=>[e.getRightFlatHeaders()],a=>a.filter(i=>{var o;return!((o=i.subHeaders)!=null&&o.length)}),pe(e.options,Nt)),e.getLeafHeaders=he(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(a,i,o)=>{var l,u,c,m,p,g;return[...(l=(u=a[0])==null?void 0:u.headers)!=null?l:[],...(c=(m=i[0])==null?void 0:m.headers)!=null?c:[],...(p=(g=o[0])==null?void 0:g.headers)!=null?p:[]].map(y=>y.getLeafHeaders()).flat()},pe(e.options,Nt))}};function ml(e,a,i,o){var l,u;let c=0;const m=function(b,S){S===void 0&&(S=1),c=Math.max(c,S),b.filter(C=>C.getIsVisible()).forEach(C=>{var E;(E=C.columns)!=null&&E.length&&m(C.columns,S+1)},0)};m(e);let p=[];const g=(b,S)=>{const C={depth:S,id:[o,`${S}`].filter(Boolean).join("_"),headers:[]},E=[];b.forEach(j=>{const R=[...E].reverse()[0],N=j.column.depth===C.depth;let _,z=!1;if(N&&j.column.parent?_=j.column.parent:(_=j.column,z=!0),R&&(R==null?void 0:R.column)===_)R.subHeaders.push(j);else{const D=B0(i,_,{id:[o,S,_.id,j==null?void 0:j.id].filter(Boolean).join("_"),isPlaceholder:z,placeholderId:z?`${E.filter(X=>X.column===_).length}`:void 0,depth:S,index:E.length});D.subHeaders.push(j),E.push(D)}C.headers.push(j),j.headerGroup=C}),p.push(C),S>0&&g(E,S-1)},y=a.map((b,S)=>B0(i,b,{depth:c,index:S}));g(y,c-1),p.reverse();const x=b=>b.filter(C=>C.column.getIsVisible()).map(C=>{let E=0,j=0,R=[0];C.subHeaders&&C.subHeaders.length?(R=[],x(C.subHeaders).forEach(_=>{let{colSpan:z,rowSpan:D}=_;E+=z,R.push(D)})):E=1;const N=Math.min(...R);return j=j+N,C.colSpan=E,C.rowSpan=j,{colSpan:E,rowSpan:j}});return x((l=(u=p[0])==null?void 0:u.headers)!=null?l:[]),p}const WT=(e,a,i,o,l,u,c)=>{let m={id:a,index:o,original:i,depth:l,parentId:c,_valuesCache:{},_uniqueValuesCache:{},getValue:p=>{if(m._valuesCache.hasOwnProperty(p))return m._valuesCache[p];const g=e.getColumn(p);if(g!=null&&g.accessorFn)return m._valuesCache[p]=g.accessorFn(m.original,o),m._valuesCache[p]},getUniqueValues:p=>{if(m._uniqueValuesCache.hasOwnProperty(p))return m._uniqueValuesCache[p];const g=e.getColumn(p);if(g!=null&&g.accessorFn)return g.columnDef.getUniqueValues?(m._uniqueValuesCache[p]=g.columnDef.getUniqueValues(m.original,o),m._uniqueValuesCache[p]):(m._uniqueValuesCache[p]=[m.getValue(p)],m._uniqueValuesCache[p])},renderValue:p=>{var g;return(g=m.getValue(p))!=null?g:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>KT(m.subRows,p=>p.subRows),getParentRow:()=>m.parentId?e.getRow(m.parentId,!0):void 0,getParentRows:()=>{let p=[],g=m;for(;;){const y=g.getParentRow();if(!y)break;p.push(y),g=y}return p.reverse()},getAllCells:he(()=>[e.getAllLeafColumns()],p=>p.map(g=>QT(e,m,g,g.id)),pe(e.options,"debugRows")),_getAllCellsByColumnId:he(()=>[m.getAllCells()],p=>p.reduce((g,y)=>(g[y.column.id]=y,g),{}),pe(e.options,"debugRows"))};for(let p=0;p<e._features.length;p++){const g=e._features[p];g==null||g.createRow==null||g.createRow(m,e)}return m},eE={createColumn:(e,a)=>{e._getFacetedRowModel=a.options.getFacetedRowModel&&a.options.getFacetedRowModel(a,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():a.getPreFilteredRowModel(),e._getFacetedUniqueValues=a.options.getFacetedUniqueValues&&a.options.getFacetedUniqueValues(a,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=a.options.getFacetedMinMaxValues&&a.options.getFacetedMinMaxValues(a,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},tx=(e,a,i)=>{var o,l;const u=i==null||(o=i.toString())==null?void 0:o.toLowerCase();return!!(!((l=e.getValue(a))==null||(l=l.toString())==null||(l=l.toLowerCase())==null)&&l.includes(u))};tx.autoRemove=e=>xn(e);const nx=(e,a,i)=>{var o;return!!(!((o=e.getValue(a))==null||(o=o.toString())==null)&&o.includes(i))};nx.autoRemove=e=>xn(e);const ax=(e,a,i)=>{var o;return((o=e.getValue(a))==null||(o=o.toString())==null?void 0:o.toLowerCase())===(i==null?void 0:i.toLowerCase())};ax.autoRemove=e=>xn(e);const ix=(e,a,i)=>{var o;return(o=e.getValue(a))==null?void 0:o.includes(i)};ix.autoRemove=e=>xn(e);const sx=(e,a,i)=>!i.some(o=>{var l;return!((l=e.getValue(a))!=null&&l.includes(o))});sx.autoRemove=e=>xn(e)||!(e!=null&&e.length);const ox=(e,a,i)=>i.some(o=>{var l;return(l=e.getValue(a))==null?void 0:l.includes(o)});ox.autoRemove=e=>xn(e)||!(e!=null&&e.length);const rx=(e,a,i)=>e.getValue(a)===i;rx.autoRemove=e=>xn(e);const lx=(e,a,i)=>e.getValue(a)==i;lx.autoRemove=e=>xn(e);const Lf=(e,a,i)=>{let[o,l]=i;const u=e.getValue(a);return u>=o&&u<=l};Lf.resolveFilterValue=e=>{let[a,i]=e,o=typeof a!="number"?parseFloat(a):a,l=typeof i!="number"?parseFloat(i):i,u=a===null||Number.isNaN(o)?-1/0:o,c=i===null||Number.isNaN(l)?1/0:l;if(u>c){const m=u;u=c,c=m}return[u,c]};Lf.autoRemove=e=>xn(e)||xn(e[0])&&xn(e[1]);const Qn={includesString:tx,includesStringSensitive:nx,equalsString:ax,arrIncludes:ix,arrIncludesAll:sx,arrIncludesSome:ox,equals:rx,weakEquals:lx,inNumberRange:Lf};function xn(e){return e==null||e===""}const tE={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Jt("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,a)=>{e.getAutoFilterFn=()=>{const i=a.getCoreRowModel().flatRows[0],o=i==null?void 0:i.getValue(e.id);return typeof o=="string"?Qn.includesString:typeof o=="number"?Qn.inNumberRange:typeof o=="boolean"||o!==null&&typeof o=="object"?Qn.equals:Array.isArray(o)?Qn.arrIncludes:Qn.weakEquals},e.getFilterFn=()=>{var i,o;return Ul(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(i=(o=a.options.filterFns)==null?void 0:o[e.columnDef.filterFn])!=null?i:Qn[e.columnDef.filterFn]},e.getCanFilter=()=>{var i,o,l;return((i=e.columnDef.enableColumnFilter)!=null?i:!0)&&((o=a.options.enableColumnFilters)!=null?o:!0)&&((l=a.options.enableFilters)!=null?l:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var i;return(i=a.getState().columnFilters)==null||(i=i.find(o=>o.id===e.id))==null?void 0:i.value},e.getFilterIndex=()=>{var i,o;return(i=(o=a.getState().columnFilters)==null?void 0:o.findIndex(l=>l.id===e.id))!=null?i:-1},e.setFilterValue=i=>{a.setColumnFilters(o=>{const l=e.getFilterFn(),u=o==null?void 0:o.find(y=>y.id===e.id),c=ja(i,u?u.value:void 0);if(U0(l,c,e)){var m;return(m=o==null?void 0:o.filter(y=>y.id!==e.id))!=null?m:[]}const p={id:e.id,value:c};if(u){var g;return(g=o==null?void 0:o.map(y=>y.id===e.id?p:y))!=null?g:[]}return o!=null&&o.length?[...o,p]:[p]})}},createRow:(e,a)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=a=>{const i=e.getAllLeafColumns(),o=l=>{var u;return(u=ja(a,l))==null?void 0:u.filter(c=>{const m=i.find(p=>p.id===c.id);if(m){const p=m.getFilterFn();if(U0(p,c.value,m))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(o)},e.resetColumnFilters=a=>{var i,o;e.setColumnFilters(a?[]:(i=(o=e.initialState)==null?void 0:o.columnFilters)!=null?i:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function U0(e,a,i){return(e&&e.autoRemove?e.autoRemove(a,i):!1)||typeof a>"u"||typeof a=="string"&&!a}const nE=(e,a,i)=>i.reduce((o,l)=>{const u=l.getValue(e);return o+(typeof u=="number"?u:0)},0),aE=(e,a,i)=>{let o;return i.forEach(l=>{const u=l.getValue(e);u!=null&&(o>u||o===void 0&&u>=u)&&(o=u)}),o},iE=(e,a,i)=>{let o;return i.forEach(l=>{const u=l.getValue(e);u!=null&&(o<u||o===void 0&&u>=u)&&(o=u)}),o},sE=(e,a,i)=>{let o,l;return i.forEach(u=>{const c=u.getValue(e);c!=null&&(o===void 0?c>=c&&(o=l=c):(o>c&&(o=c),l<c&&(l=c)))}),[o,l]},oE=(e,a)=>{let i=0,o=0;if(a.forEach(l=>{let u=l.getValue(e);u!=null&&(u=+u)>=u&&(++i,o+=u)}),i)return o/i},rE=(e,a)=>{if(!a.length)return;const i=a.map(u=>u.getValue(e));if(!XT(i))return;if(i.length===1)return i[0];const o=Math.floor(i.length/2),l=i.sort((u,c)=>u-c);return i.length%2!==0?l[o]:(l[o-1]+l[o])/2},lE=(e,a)=>Array.from(new Set(a.map(i=>i.getValue(e))).values()),uE=(e,a)=>new Set(a.map(i=>i.getValue(e))).size,cE=(e,a)=>a.length,md={sum:nE,min:aE,max:iE,extent:sE,mean:oE,median:rE,unique:lE,uniqueCount:uE,count:cE},dE={getDefaultColumnDef:()=>({aggregatedCell:e=>{var a,i;return(a=(i=e.getValue())==null||i.toString==null?void 0:i.toString())!=null?a:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Jt("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,a)=>{e.toggleGrouping=()=>{a.setGrouping(i=>i!=null&&i.includes(e.id)?i.filter(o=>o!==e.id):[...i??[],e.id])},e.getCanGroup=()=>{var i,o;return((i=e.columnDef.enableGrouping)!=null?i:!0)&&((o=a.options.enableGrouping)!=null?o:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var i;return(i=a.getState().grouping)==null?void 0:i.includes(e.id)},e.getGroupedIndex=()=>{var i;return(i=a.getState().grouping)==null?void 0:i.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const i=e.getCanGroup();return()=>{i&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const i=a.getCoreRowModel().flatRows[0],o=i==null?void 0:i.getValue(e.id);if(typeof o=="number")return md.sum;if(Object.prototype.toString.call(o)==="[object Date]")return md.extent},e.getAggregationFn=()=>{var i,o;if(!e)throw new Error;return Ul(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(i=(o=a.options.aggregationFns)==null?void 0:o[e.columnDef.aggregationFn])!=null?i:md[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=a=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(a),e.resetGrouping=a=>{var i,o;e.setGrouping(a?[]:(i=(o=e.initialState)==null?void 0:o.grouping)!=null?i:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,a)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=i=>{if(e._groupingValuesCache.hasOwnProperty(i))return e._groupingValuesCache[i];const o=a.getColumn(i);return o!=null&&o.columnDef.getGroupingValue?(e._groupingValuesCache[i]=o.columnDef.getGroupingValue(e.original),e._groupingValuesCache[i]):e.getValue(i)},e._groupingValuesCache={}},createCell:(e,a,i,o)=>{e.getIsGrouped=()=>a.getIsGrouped()&&a.id===i.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&a.getIsGrouped(),e.getIsAggregated=()=>{var l;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((l=i.subRows)!=null&&l.length)}}};function fE(e,a,i){if(!(a!=null&&a.length)||!i)return e;const o=e.filter(u=>!a.includes(u.id));return i==="remove"?o:[...a.map(u=>e.find(c=>c.id===u)).filter(Boolean),...o]}const mE={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Jt("columnOrder",e)}),createColumn:(e,a)=>{e.getIndex=he(i=>[wo(a,i)],i=>i.findIndex(o=>o.id===e.id),pe(a.options,"debugColumns")),e.getIsFirstColumn=i=>{var o;return((o=wo(a,i)[0])==null?void 0:o.id)===e.id},e.getIsLastColumn=i=>{var o;const l=wo(a,i);return((o=l[l.length-1])==null?void 0:o.id)===e.id}},createTable:e=>{e.setColumnOrder=a=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(a),e.resetColumnOrder=a=>{var i;e.setColumnOrder(a?[]:(i=e.initialState.columnOrder)!=null?i:[])},e._getOrderColumnsFn=he(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(a,i,o)=>l=>{let u=[];if(!(a!=null&&a.length))u=l;else{const c=[...a],m=[...l];for(;m.length&&c.length;){const p=c.shift(),g=m.findIndex(y=>y.id===p);g>-1&&u.push(m.splice(g,1)[0])}u=[...u,...m]}return fE(u,i,o)},pe(e.options,"debugTable"))}},hd=()=>({left:[],right:[]}),hE={getInitialState:e=>({columnPinning:hd(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Jt("columnPinning",e)}),createColumn:(e,a)=>{e.pin=i=>{const o=e.getLeafColumns().map(l=>l.id).filter(Boolean);a.setColumnPinning(l=>{var u,c;if(i==="right"){var m,p;return{left:((m=l==null?void 0:l.left)!=null?m:[]).filter(x=>!(o!=null&&o.includes(x))),right:[...((p=l==null?void 0:l.right)!=null?p:[]).filter(x=>!(o!=null&&o.includes(x))),...o]}}if(i==="left"){var g,y;return{left:[...((g=l==null?void 0:l.left)!=null?g:[]).filter(x=>!(o!=null&&o.includes(x))),...o],right:((y=l==null?void 0:l.right)!=null?y:[]).filter(x=>!(o!=null&&o.includes(x)))}}return{left:((u=l==null?void 0:l.left)!=null?u:[]).filter(x=>!(o!=null&&o.includes(x))),right:((c=l==null?void 0:l.right)!=null?c:[]).filter(x=>!(o!=null&&o.includes(x)))}})},e.getCanPin=()=>e.getLeafColumns().some(o=>{var l,u,c;return((l=o.columnDef.enablePinning)!=null?l:!0)&&((u=(c=a.options.enableColumnPinning)!=null?c:a.options.enablePinning)!=null?u:!0)}),e.getIsPinned=()=>{const i=e.getLeafColumns().map(m=>m.id),{left:o,right:l}=a.getState().columnPinning,u=i.some(m=>o==null?void 0:o.includes(m)),c=i.some(m=>l==null?void 0:l.includes(m));return u?"left":c?"right":!1},e.getPinnedIndex=()=>{var i,o;const l=e.getIsPinned();return l?(i=(o=a.getState().columnPinning)==null||(o=o[l])==null?void 0:o.indexOf(e.id))!=null?i:-1:0}},createRow:(e,a)=>{e.getCenterVisibleCells=he(()=>[e._getAllVisibleCells(),a.getState().columnPinning.left,a.getState().columnPinning.right],(i,o,l)=>{const u=[...o??[],...l??[]];return i.filter(c=>!u.includes(c.column.id))},pe(a.options,"debugRows")),e.getLeftVisibleCells=he(()=>[e._getAllVisibleCells(),a.getState().columnPinning.left],(i,o)=>(o??[]).map(u=>i.find(c=>c.column.id===u)).filter(Boolean).map(u=>({...u,position:"left"})),pe(a.options,"debugRows")),e.getRightVisibleCells=he(()=>[e._getAllVisibleCells(),a.getState().columnPinning.right],(i,o)=>(o??[]).map(u=>i.find(c=>c.column.id===u)).filter(Boolean).map(u=>({...u,position:"right"})),pe(a.options,"debugRows"))},createTable:e=>{e.setColumnPinning=a=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(a),e.resetColumnPinning=a=>{var i,o;return e.setColumnPinning(a?hd():(i=(o=e.initialState)==null?void 0:o.columnPinning)!=null?i:hd())},e.getIsSomeColumnsPinned=a=>{var i;const o=e.getState().columnPinning;if(!a){var l,u;return!!((l=o.left)!=null&&l.length||(u=o.right)!=null&&u.length)}return!!((i=o[a])!=null&&i.length)},e.getLeftLeafColumns=he(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(a,i)=>(i??[]).map(o=>a.find(l=>l.id===o)).filter(Boolean),pe(e.options,"debugColumns")),e.getRightLeafColumns=he(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(a,i)=>(i??[]).map(o=>a.find(l=>l.id===o)).filter(Boolean),pe(e.options,"debugColumns")),e.getCenterLeafColumns=he(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(a,i,o)=>{const l=[...i??[],...o??[]];return a.filter(u=>!l.includes(u.id))},pe(e.options,"debugColumns"))}};function pE(e){return e||(typeof document<"u"?document:null)}const hl={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},pd=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),gE={getDefaultColumnDef:()=>hl,getInitialState:e=>({columnSizing:{},columnSizingInfo:pd(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Jt("columnSizing",e),onColumnSizingInfoChange:Jt("columnSizingInfo",e)}),createColumn:(e,a)=>{e.getSize=()=>{var i,o,l;const u=a.getState().columnSizing[e.id];return Math.min(Math.max((i=e.columnDef.minSize)!=null?i:hl.minSize,(o=u??e.columnDef.size)!=null?o:hl.size),(l=e.columnDef.maxSize)!=null?l:hl.maxSize)},e.getStart=he(i=>[i,wo(a,i),a.getState().columnSizing],(i,o)=>o.slice(0,e.getIndex(i)).reduce((l,u)=>l+u.getSize(),0),pe(a.options,"debugColumns")),e.getAfter=he(i=>[i,wo(a,i),a.getState().columnSizing],(i,o)=>o.slice(e.getIndex(i)+1).reduce((l,u)=>l+u.getSize(),0),pe(a.options,"debugColumns")),e.resetSize=()=>{a.setColumnSizing(i=>{let{[e.id]:o,...l}=i;return l})},e.getCanResize=()=>{var i,o;return((i=e.columnDef.enableResizing)!=null?i:!0)&&((o=a.options.enableColumnResizing)!=null?o:!0)},e.getIsResizing=()=>a.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,a)=>{e.getSize=()=>{let i=0;const o=l=>{if(l.subHeaders.length)l.subHeaders.forEach(o);else{var u;i+=(u=l.column.getSize())!=null?u:0}};return o(e),i},e.getStart=()=>{if(e.index>0){const i=e.headerGroup.headers[e.index-1];return i.getStart()+i.getSize()}return 0},e.getResizeHandler=i=>{const o=a.getColumn(e.column.id),l=o==null?void 0:o.getCanResize();return u=>{if(!o||!l||(u.persist==null||u.persist(),gd(u)&&u.touches&&u.touches.length>1))return;const c=e.getSize(),m=e?e.getLeafHeaders().map(R=>[R.column.id,R.column.getSize()]):[[o.id,o.getSize()]],p=gd(u)?Math.round(u.touches[0].clientX):u.clientX,g={},y=(R,N)=>{typeof N=="number"&&(a.setColumnSizingInfo(_=>{var z,D;const X=a.options.columnResizeDirection==="rtl"?-1:1,U=(N-((z=_==null?void 0:_.startOffset)!=null?z:0))*X,V=Math.max(U/((D=_==null?void 0:_.startSize)!=null?D:0),-.999999);return _.columnSizingStart.forEach(F=>{let[Z,ge]=F;g[Z]=Math.round(Math.max(ge+ge*V,0)*100)/100}),{..._,deltaOffset:U,deltaPercentage:V}}),(a.options.columnResizeMode==="onChange"||R==="end")&&a.setColumnSizing(_=>({..._,...g})))},x=R=>y("move",R),b=R=>{y("end",R),a.setColumnSizingInfo(N=>({...N,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},S=pE(i),C={moveHandler:R=>x(R.clientX),upHandler:R=>{S==null||S.removeEventListener("mousemove",C.moveHandler),S==null||S.removeEventListener("mouseup",C.upHandler),b(R.clientX)}},E={moveHandler:R=>(R.cancelable&&(R.preventDefault(),R.stopPropagation()),x(R.touches[0].clientX),!1),upHandler:R=>{var N;S==null||S.removeEventListener("touchmove",E.moveHandler),S==null||S.removeEventListener("touchend",E.upHandler),R.cancelable&&(R.preventDefault(),R.stopPropagation()),b((N=R.touches[0])==null?void 0:N.clientX)}},j=yE()?{passive:!1}:!1;gd(u)?(S==null||S.addEventListener("touchmove",E.moveHandler,j),S==null||S.addEventListener("touchend",E.upHandler,j)):(S==null||S.addEventListener("mousemove",C.moveHandler,j),S==null||S.addEventListener("mouseup",C.upHandler,j)),a.setColumnSizingInfo(R=>({...R,startOffset:p,startSize:c,deltaOffset:0,deltaPercentage:0,columnSizingStart:m,isResizingColumn:o.id}))}}},createTable:e=>{e.setColumnSizing=a=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(a),e.setColumnSizingInfo=a=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(a),e.resetColumnSizing=a=>{var i;e.setColumnSizing(a?{}:(i=e.initialState.columnSizing)!=null?i:{})},e.resetHeaderSizeInfo=a=>{var i;e.setColumnSizingInfo(a?pd():(i=e.initialState.columnSizingInfo)!=null?i:pd())},e.getTotalSize=()=>{var a,i;return(a=(i=e.getHeaderGroups()[0])==null?void 0:i.headers.reduce((o,l)=>o+l.getSize(),0))!=null?a:0},e.getLeftTotalSize=()=>{var a,i;return(a=(i=e.getLeftHeaderGroups()[0])==null?void 0:i.headers.reduce((o,l)=>o+l.getSize(),0))!=null?a:0},e.getCenterTotalSize=()=>{var a,i;return(a=(i=e.getCenterHeaderGroups()[0])==null?void 0:i.headers.reduce((o,l)=>o+l.getSize(),0))!=null?a:0},e.getRightTotalSize=()=>{var a,i;return(a=(i=e.getRightHeaderGroups()[0])==null?void 0:i.headers.reduce((o,l)=>o+l.getSize(),0))!=null?a:0}}};let pl=null;function yE(){if(typeof pl=="boolean")return pl;let e=!1;try{const a={get passive(){return e=!0,!1}},i=()=>{};window.addEventListener("test",i,a),window.removeEventListener("test",i)}catch{e=!1}return pl=e,pl}function gd(e){return e.type==="touchstart"}const vE={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Jt("columnVisibility",e)}),createColumn:(e,a)=>{e.toggleVisibility=i=>{e.getCanHide()&&a.setColumnVisibility(o=>({...o,[e.id]:i??!e.getIsVisible()}))},e.getIsVisible=()=>{var i,o;const l=e.columns;return(i=l.length?l.some(u=>u.getIsVisible()):(o=a.getState().columnVisibility)==null?void 0:o[e.id])!=null?i:!0},e.getCanHide=()=>{var i,o;return((i=e.columnDef.enableHiding)!=null?i:!0)&&((o=a.options.enableHiding)!=null?o:!0)},e.getToggleVisibilityHandler=()=>i=>{e.toggleVisibility==null||e.toggleVisibility(i.target.checked)}},createRow:(e,a)=>{e._getAllVisibleCells=he(()=>[e.getAllCells(),a.getState().columnVisibility],i=>i.filter(o=>o.column.getIsVisible()),pe(a.options,"debugRows")),e.getVisibleCells=he(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(i,o,l)=>[...i,...o,...l],pe(a.options,"debugRows"))},createTable:e=>{const a=(i,o)=>he(()=>[o(),o().filter(l=>l.getIsVisible()).map(l=>l.id).join("_")],l=>l.filter(u=>u.getIsVisible==null?void 0:u.getIsVisible()),pe(e.options,"debugColumns"));e.getVisibleFlatColumns=a("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=a("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=a("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=a("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=a("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=i=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(i),e.resetColumnVisibility=i=>{var o;e.setColumnVisibility(i?{}:(o=e.initialState.columnVisibility)!=null?o:{})},e.toggleAllColumnsVisible=i=>{var o;i=(o=i)!=null?o:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((l,u)=>({...l,[u.id]:i||!(u.getCanHide!=null&&u.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(i=>!(i.getIsVisible!=null&&i.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(i=>i.getIsVisible==null?void 0:i.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>i=>{var o;e.toggleAllColumnsVisible((o=i.target)==null?void 0:o.checked)}}};function wo(e,a){return a?a==="center"?e.getCenterVisibleLeafColumns():a==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const xE={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},bE={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Jt("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:a=>{var i;const o=(i=e.getCoreRowModel().flatRows[0])==null||(i=i._getAllCellsByColumnId()[a.id])==null?void 0:i.getValue();return typeof o=="string"||typeof o=="number"}}),createColumn:(e,a)=>{e.getCanGlobalFilter=()=>{var i,o,l,u;return((i=e.columnDef.enableGlobalFilter)!=null?i:!0)&&((o=a.options.enableGlobalFilter)!=null?o:!0)&&((l=a.options.enableFilters)!=null?l:!0)&&((u=a.options.getColumnCanGlobalFilter==null?void 0:a.options.getColumnCanGlobalFilter(e))!=null?u:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>Qn.includesString,e.getGlobalFilterFn=()=>{var a,i;const{globalFilterFn:o}=e.options;return Ul(o)?o:o==="auto"?e.getGlobalAutoFilterFn():(a=(i=e.options.filterFns)==null?void 0:i[o])!=null?a:Qn[o]},e.setGlobalFilter=a=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(a)},e.resetGlobalFilter=a=>{e.setGlobalFilter(a?void 0:e.initialState.globalFilter)}}},SE={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Jt("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let a=!1,i=!1;e._autoResetExpanded=()=>{var o,l;if(!a){e._queue(()=>{a=!0});return}if((o=(l=e.options.autoResetAll)!=null?l:e.options.autoResetExpanded)!=null?o:!e.options.manualExpanding){if(i)return;i=!0,e._queue(()=>{e.resetExpanded(),i=!1})}},e.setExpanded=o=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(o),e.toggleAllRowsExpanded=o=>{o??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=o=>{var l,u;e.setExpanded(o?{}:(l=(u=e.initialState)==null?void 0:u.expanded)!=null?l:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(o=>o.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>o=>{o.persist==null||o.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const o=e.getState().expanded;return o===!0||Object.values(o).some(Boolean)},e.getIsAllRowsExpanded=()=>{const o=e.getState().expanded;return typeof o=="boolean"?o===!0:!(!Object.keys(o).length||e.getRowModel().flatRows.some(l=>!l.getIsExpanded()))},e.getExpandedDepth=()=>{let o=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(u=>{const c=u.split(".");o=Math.max(o,c.length)}),o},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,a)=>{e.toggleExpanded=i=>{a.setExpanded(o=>{var l;const u=o===!0?!0:!!(o!=null&&o[e.id]);let c={};if(o===!0?Object.keys(a.getRowModel().rowsById).forEach(m=>{c[m]=!0}):c=o,i=(l=i)!=null?l:!u,!u&&i)return{...c,[e.id]:!0};if(u&&!i){const{[e.id]:m,...p}=c;return p}return o})},e.getIsExpanded=()=>{var i;const o=a.getState().expanded;return!!((i=a.options.getIsRowExpanded==null?void 0:a.options.getIsRowExpanded(e))!=null?i:o===!0||o!=null&&o[e.id])},e.getCanExpand=()=>{var i,o,l;return(i=a.options.getRowCanExpand==null?void 0:a.options.getRowCanExpand(e))!=null?i:((o=a.options.enableExpanding)!=null?o:!0)&&!!((l=e.subRows)!=null&&l.length)},e.getIsAllParentsExpanded=()=>{let i=!0,o=e;for(;i&&o.parentId;)o=a.getRow(o.parentId,!0),i=o.getIsExpanded();return i},e.getToggleExpandedHandler=()=>{const i=e.getCanExpand();return()=>{i&&e.toggleExpanded()}}}},Kd=0,Qd=10,yd=()=>({pageIndex:Kd,pageSize:Qd}),wE={getInitialState:e=>({...e,pagination:{...yd(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Jt("pagination",e)}),createTable:e=>{let a=!1,i=!1;e._autoResetPageIndex=()=>{var o,l;if(!a){e._queue(()=>{a=!0});return}if((o=(l=e.options.autoResetAll)!=null?l:e.options.autoResetPageIndex)!=null?o:!e.options.manualPagination){if(i)return;i=!0,e._queue(()=>{e.resetPageIndex(),i=!1})}},e.setPagination=o=>{const l=u=>ja(o,u);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(l)},e.resetPagination=o=>{var l;e.setPagination(o?yd():(l=e.initialState.pagination)!=null?l:yd())},e.setPageIndex=o=>{e.setPagination(l=>{let u=ja(o,l.pageIndex);const c=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return u=Math.max(0,Math.min(u,c)),{...l,pageIndex:u}})},e.resetPageIndex=o=>{var l,u;e.setPageIndex(o?Kd:(l=(u=e.initialState)==null||(u=u.pagination)==null?void 0:u.pageIndex)!=null?l:Kd)},e.resetPageSize=o=>{var l,u;e.setPageSize(o?Qd:(l=(u=e.initialState)==null||(u=u.pagination)==null?void 0:u.pageSize)!=null?l:Qd)},e.setPageSize=o=>{e.setPagination(l=>{const u=Math.max(1,ja(o,l.pageSize)),c=l.pageSize*l.pageIndex,m=Math.floor(c/u);return{...l,pageIndex:m,pageSize:u}})},e.setPageCount=o=>e.setPagination(l=>{var u;let c=ja(o,(u=e.options.pageCount)!=null?u:-1);return typeof c=="number"&&(c=Math.max(-1,c)),{...l,pageCount:c}}),e.getPageOptions=he(()=>[e.getPageCount()],o=>{let l=[];return o&&o>0&&(l=[...new Array(o)].fill(null).map((u,c)=>c)),l},pe(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:o}=e.getState().pagination,l=e.getPageCount();return l===-1?!0:l===0?!1:o<l-1},e.previousPage=()=>e.setPageIndex(o=>o-1),e.nextPage=()=>e.setPageIndex(o=>o+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var o;return(o=e.options.pageCount)!=null?o:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var o;return(o=e.options.rowCount)!=null?o:e.getPrePaginationRowModel().rows.length}}},vd=()=>({top:[],bottom:[]}),CE={getInitialState:e=>({rowPinning:vd(),...e}),getDefaultOptions:e=>({onRowPinningChange:Jt("rowPinning",e)}),createRow:(e,a)=>{e.pin=(i,o,l)=>{const u=o?e.getLeafRows().map(p=>{let{id:g}=p;return g}):[],c=l?e.getParentRows().map(p=>{let{id:g}=p;return g}):[],m=new Set([...c,e.id,...u]);a.setRowPinning(p=>{var g,y;if(i==="bottom"){var x,b;return{top:((x=p==null?void 0:p.top)!=null?x:[]).filter(E=>!(m!=null&&m.has(E))),bottom:[...((b=p==null?void 0:p.bottom)!=null?b:[]).filter(E=>!(m!=null&&m.has(E))),...Array.from(m)]}}if(i==="top"){var S,C;return{top:[...((S=p==null?void 0:p.top)!=null?S:[]).filter(E=>!(m!=null&&m.has(E))),...Array.from(m)],bottom:((C=p==null?void 0:p.bottom)!=null?C:[]).filter(E=>!(m!=null&&m.has(E)))}}return{top:((g=p==null?void 0:p.top)!=null?g:[]).filter(E=>!(m!=null&&m.has(E))),bottom:((y=p==null?void 0:p.bottom)!=null?y:[]).filter(E=>!(m!=null&&m.has(E)))}})},e.getCanPin=()=>{var i;const{enableRowPinning:o,enablePinning:l}=a.options;return typeof o=="function"?o(e):(i=o??l)!=null?i:!0},e.getIsPinned=()=>{const i=[e.id],{top:o,bottom:l}=a.getState().rowPinning,u=i.some(m=>o==null?void 0:o.includes(m)),c=i.some(m=>l==null?void 0:l.includes(m));return u?"top":c?"bottom":!1},e.getPinnedIndex=()=>{var i,o;const l=e.getIsPinned();if(!l)return-1;const u=(i=l==="top"?a.getTopRows():a.getBottomRows())==null?void 0:i.map(c=>{let{id:m}=c;return m});return(o=u==null?void 0:u.indexOf(e.id))!=null?o:-1}},createTable:e=>{e.setRowPinning=a=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(a),e.resetRowPinning=a=>{var i,o;return e.setRowPinning(a?vd():(i=(o=e.initialState)==null?void 0:o.rowPinning)!=null?i:vd())},e.getIsSomeRowsPinned=a=>{var i;const o=e.getState().rowPinning;if(!a){var l,u;return!!((l=o.top)!=null&&l.length||(u=o.bottom)!=null&&u.length)}return!!((i=o[a])!=null&&i.length)},e._getPinnedRows=(a,i,o)=>{var l;return((l=e.options.keepPinnedRows)==null||l?(i??[]).map(c=>{const m=e.getRow(c,!0);return m.getIsAllParentsExpanded()?m:null}):(i??[]).map(c=>a.find(m=>m.id===c))).filter(Boolean).map(c=>({...c,position:o}))},e.getTopRows=he(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(a,i)=>e._getPinnedRows(a,i,"top"),pe(e.options,"debugRows")),e.getBottomRows=he(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(a,i)=>e._getPinnedRows(a,i,"bottom"),pe(e.options,"debugRows")),e.getCenterRows=he(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(a,i,o)=>{const l=new Set([...i??[],...o??[]]);return a.filter(u=>!l.has(u.id))},pe(e.options,"debugRows"))}},TE={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Jt("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=a=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(a),e.resetRowSelection=a=>{var i;return e.setRowSelection(a?{}:(i=e.initialState.rowSelection)!=null?i:{})},e.toggleAllRowsSelected=a=>{e.setRowSelection(i=>{a=typeof a<"u"?a:!e.getIsAllRowsSelected();const o={...i},l=e.getPreGroupedRowModel().flatRows;return a?l.forEach(u=>{u.getCanSelect()&&(o[u.id]=!0)}):l.forEach(u=>{delete o[u.id]}),o})},e.toggleAllPageRowsSelected=a=>e.setRowSelection(i=>{const o=typeof a<"u"?a:!e.getIsAllPageRowsSelected(),l={...i};return e.getRowModel().rows.forEach(u=>{Zd(l,u.id,o,!0,e)}),l}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=he(()=>[e.getState().rowSelection,e.getCoreRowModel()],(a,i)=>Object.keys(a).length?xd(e,i):{rows:[],flatRows:[],rowsById:{}},pe(e.options,"debugTable")),e.getFilteredSelectedRowModel=he(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(a,i)=>Object.keys(a).length?xd(e,i):{rows:[],flatRows:[],rowsById:{}},pe(e.options,"debugTable")),e.getGroupedSelectedRowModel=he(()=>[e.getState().rowSelection,e.getSortedRowModel()],(a,i)=>Object.keys(a).length?xd(e,i):{rows:[],flatRows:[],rowsById:{}},pe(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const a=e.getFilteredRowModel().flatRows,{rowSelection:i}=e.getState();let o=!!(a.length&&Object.keys(i).length);return o&&a.some(l=>l.getCanSelect()&&!i[l.id])&&(o=!1),o},e.getIsAllPageRowsSelected=()=>{const a=e.getPaginationRowModel().flatRows.filter(l=>l.getCanSelect()),{rowSelection:i}=e.getState();let o=!!a.length;return o&&a.some(l=>!i[l.id])&&(o=!1),o},e.getIsSomeRowsSelected=()=>{var a;const i=Object.keys((a=e.getState().rowSelection)!=null?a:{}).length;return i>0&&i<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const a=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:a.filter(i=>i.getCanSelect()).some(i=>i.getIsSelected()||i.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>a=>{e.toggleAllRowsSelected(a.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>a=>{e.toggleAllPageRowsSelected(a.target.checked)}},createRow:(e,a)=>{e.toggleSelected=(i,o)=>{const l=e.getIsSelected();a.setRowSelection(u=>{var c;if(i=typeof i<"u"?i:!l,e.getCanSelect()&&l===i)return u;const m={...u};return Zd(m,e.id,i,(c=o==null?void 0:o.selectChildren)!=null?c:!0,a),m})},e.getIsSelected=()=>{const{rowSelection:i}=a.getState();return Vf(e,i)},e.getIsSomeSelected=()=>{const{rowSelection:i}=a.getState();return Jd(e,i)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:i}=a.getState();return Jd(e,i)==="all"},e.getCanSelect=()=>{var i;return typeof a.options.enableRowSelection=="function"?a.options.enableRowSelection(e):(i=a.options.enableRowSelection)!=null?i:!0},e.getCanSelectSubRows=()=>{var i;return typeof a.options.enableSubRowSelection=="function"?a.options.enableSubRowSelection(e):(i=a.options.enableSubRowSelection)!=null?i:!0},e.getCanMultiSelect=()=>{var i;return typeof a.options.enableMultiRowSelection=="function"?a.options.enableMultiRowSelection(e):(i=a.options.enableMultiRowSelection)!=null?i:!0},e.getToggleSelectedHandler=()=>{const i=e.getCanSelect();return o=>{var l;i&&e.toggleSelected((l=o.target)==null?void 0:l.checked)}}}},Zd=(e,a,i,o,l)=>{var u;const c=l.getRow(a,!0);i?(c.getCanMultiSelect()||Object.keys(e).forEach(m=>delete e[m]),c.getCanSelect()&&(e[a]=!0)):delete e[a],o&&(u=c.subRows)!=null&&u.length&&c.getCanSelectSubRows()&&c.subRows.forEach(m=>Zd(e,m.id,i,o,l))};function xd(e,a){const i=e.getState().rowSelection,o=[],l={},u=function(c,m){return c.map(p=>{var g;const y=Vf(p,i);if(y&&(o.push(p),l[p.id]=p),(g=p.subRows)!=null&&g.length&&(p={...p,subRows:u(p.subRows)}),y)return p}).filter(Boolean)};return{rows:u(a.rows),flatRows:o,rowsById:l}}function Vf(e,a){var i;return(i=a[e.id])!=null?i:!1}function Jd(e,a,i){var o;if(!((o=e.subRows)!=null&&o.length))return!1;let l=!0,u=!1;return e.subRows.forEach(c=>{if(!(u&&!l)&&(c.getCanSelect()&&(Vf(c,a)?u=!0:l=!1),c.subRows&&c.subRows.length)){const m=Jd(c,a);m==="all"?u=!0:(m==="some"&&(u=!0),l=!1)}}),l?"all":u?"some":!1}const Wd=/([0-9]+)/gm,EE=(e,a,i)=>ux(Ma(e.getValue(i)).toLowerCase(),Ma(a.getValue(i)).toLowerCase()),_E=(e,a,i)=>ux(Ma(e.getValue(i)),Ma(a.getValue(i))),RE=(e,a,i)=>Pf(Ma(e.getValue(i)).toLowerCase(),Ma(a.getValue(i)).toLowerCase()),jE=(e,a,i)=>Pf(Ma(e.getValue(i)),Ma(a.getValue(i))),AE=(e,a,i)=>{const o=e.getValue(i),l=a.getValue(i);return o>l?1:o<l?-1:0},NE=(e,a,i)=>Pf(e.getValue(i),a.getValue(i));function Pf(e,a){return e===a?0:e>a?1:-1}function Ma(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function ux(e,a){const i=e.split(Wd).filter(Boolean),o=a.split(Wd).filter(Boolean);for(;i.length&&o.length;){const l=i.shift(),u=o.shift(),c=parseInt(l,10),m=parseInt(u,10),p=[c,m].sort();if(isNaN(p[0])){if(l>u)return 1;if(u>l)return-1;continue}if(isNaN(p[1]))return isNaN(c)?-1:1;if(c>m)return 1;if(m>c)return-1}return i.length-o.length}const yo={alphanumeric:EE,alphanumericCaseSensitive:_E,text:RE,textCaseSensitive:jE,datetime:AE,basic:NE},ME={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Jt("sorting",e),isMultiSortEvent:a=>a.shiftKey}),createColumn:(e,a)=>{e.getAutoSortingFn=()=>{const i=a.getFilteredRowModel().flatRows.slice(10);let o=!1;for(const l of i){const u=l==null?void 0:l.getValue(e.id);if(Object.prototype.toString.call(u)==="[object Date]")return yo.datetime;if(typeof u=="string"&&(o=!0,u.split(Wd).length>1))return yo.alphanumeric}return o?yo.text:yo.basic},e.getAutoSortDir=()=>{const i=a.getFilteredRowModel().flatRows[0];return typeof(i==null?void 0:i.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var i,o;if(!e)throw new Error;return Ul(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(i=(o=a.options.sortingFns)==null?void 0:o[e.columnDef.sortingFn])!=null?i:yo[e.columnDef.sortingFn]},e.toggleSorting=(i,o)=>{const l=e.getNextSortingOrder(),u=typeof i<"u"&&i!==null;a.setSorting(c=>{const m=c==null?void 0:c.find(S=>S.id===e.id),p=c==null?void 0:c.findIndex(S=>S.id===e.id);let g=[],y,x=u?i:l==="desc";if(c!=null&&c.length&&e.getCanMultiSort()&&o?m?y="toggle":y="add":c!=null&&c.length&&p!==c.length-1?y="replace":m?y="toggle":y="replace",y==="toggle"&&(u||l||(y="remove")),y==="add"){var b;g=[...c,{id:e.id,desc:x}],g.splice(0,g.length-((b=a.options.maxMultiSortColCount)!=null?b:Number.MAX_SAFE_INTEGER))}else y==="toggle"?g=c.map(S=>S.id===e.id?{...S,desc:x}:S):y==="remove"?g=c.filter(S=>S.id!==e.id):g=[{id:e.id,desc:x}];return g})},e.getFirstSortDir=()=>{var i,o;return((i=(o=e.columnDef.sortDescFirst)!=null?o:a.options.sortDescFirst)!=null?i:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=i=>{var o,l;const u=e.getFirstSortDir(),c=e.getIsSorted();return c?c!==u&&((o=a.options.enableSortingRemoval)==null||o)&&(!(i&&(l=a.options.enableMultiRemove)!=null)||l)?!1:c==="desc"?"asc":"desc":u},e.getCanSort=()=>{var i,o;return((i=e.columnDef.enableSorting)!=null?i:!0)&&((o=a.options.enableSorting)!=null?o:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var i,o;return(i=(o=e.columnDef.enableMultiSort)!=null?o:a.options.enableMultiSort)!=null?i:!!e.accessorFn},e.getIsSorted=()=>{var i;const o=(i=a.getState().sorting)==null?void 0:i.find(l=>l.id===e.id);return o?o.desc?"desc":"asc":!1},e.getSortIndex=()=>{var i,o;return(i=(o=a.getState().sorting)==null?void 0:o.findIndex(l=>l.id===e.id))!=null?i:-1},e.clearSorting=()=>{a.setSorting(i=>i!=null&&i.length?i.filter(o=>o.id!==e.id):[])},e.getToggleSortingHandler=()=>{const i=e.getCanSort();return o=>{i&&(o.persist==null||o.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?a.options.isMultiSortEvent==null?void 0:a.options.isMultiSortEvent(o):!1))}}},createTable:e=>{e.setSorting=a=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(a),e.resetSorting=a=>{var i,o;e.setSorting(a?[]:(i=(o=e.initialState)==null?void 0:o.sorting)!=null?i:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},kE=[JT,vE,mE,hE,eE,tE,xE,bE,ME,dE,SE,wE,CE,TE,gE];function DE(e){var a,i;const o=[...kE,...(a=e._features)!=null?a:[]];let l={_features:o};const u=l._features.reduce((b,S)=>Object.assign(b,S.getDefaultOptions==null?void 0:S.getDefaultOptions(l)),{}),c=b=>l.options.mergeOptions?l.options.mergeOptions(u,b):{...u,...b};let p={...{},...(i=e.initialState)!=null?i:{}};l._features.forEach(b=>{var S;p=(S=b.getInitialState==null?void 0:b.getInitialState(p))!=null?S:p});const g=[];let y=!1;const x={_features:o,options:{...u,...e},initialState:p,_queue:b=>{g.push(b),y||(y=!0,Promise.resolve().then(()=>{for(;g.length;)g.shift()();y=!1}).catch(S=>setTimeout(()=>{throw S})))},reset:()=>{l.setState(l.initialState)},setOptions:b=>{const S=ja(b,l.options);l.options=c(S)},getState:()=>l.options.state,setState:b=>{l.options.onStateChange==null||l.options.onStateChange(b)},_getRowId:(b,S,C)=>{var E;return(E=l.options.getRowId==null?void 0:l.options.getRowId(b,S,C))!=null?E:`${C?[C.id,S].join("."):S}`},getCoreRowModel:()=>(l._getCoreRowModel||(l._getCoreRowModel=l.options.getCoreRowModel(l)),l._getCoreRowModel()),getRowModel:()=>l.getPaginationRowModel(),getRow:(b,S)=>{let C=(S?l.getPrePaginationRowModel():l.getRowModel()).rowsById[b];if(!C&&(C=l.getCoreRowModel().rowsById[b],!C))throw new Error;return C},_getDefaultColumnDef:he(()=>[l.options.defaultColumn],b=>{var S;return b=(S=b)!=null?S:{},{header:C=>{const E=C.header.column.columnDef;return E.accessorKey?E.accessorKey:E.accessorFn?E.id:null},cell:C=>{var E,j;return(E=(j=C.renderValue())==null||j.toString==null?void 0:j.toString())!=null?E:null},...l._features.reduce((C,E)=>Object.assign(C,E.getDefaultColumnDef==null?void 0:E.getDefaultColumnDef()),{}),...b}},pe(e,"debugColumns")),_getColumnDefs:()=>l.options.columns,getAllColumns:he(()=>[l._getColumnDefs()],b=>{const S=function(C,E,j){return j===void 0&&(j=0),C.map(R=>{const N=ZT(l,R,j,E),_=R;return N.columns=_.columns?S(_.columns,N,j+1):[],N})};return S(b)},pe(e,"debugColumns")),getAllFlatColumns:he(()=>[l.getAllColumns()],b=>b.flatMap(S=>S.getFlatColumns()),pe(e,"debugColumns")),_getAllFlatColumnsById:he(()=>[l.getAllFlatColumns()],b=>b.reduce((S,C)=>(S[C.id]=C,S),{}),pe(e,"debugColumns")),getAllLeafColumns:he(()=>[l.getAllColumns(),l._getOrderColumnsFn()],(b,S)=>{let C=b.flatMap(E=>E.getLeafColumns());return S(C)},pe(e,"debugColumns")),getColumn:b=>l._getAllFlatColumnsById()[b]};Object.assign(l,x);for(let b=0;b<l._features.length;b++){const S=l._features[b];S==null||S.createTable==null||S.createTable(l)}return l}function OE(){return e=>he(()=>[e.options.data],a=>{const i={rows:[],flatRows:[],rowsById:{}},o=function(l,u,c){u===void 0&&(u=0);const m=[];for(let g=0;g<l.length;g++){const y=WT(e,e._getRowId(l[g],g,c),l[g],g,u,void 0,c==null?void 0:c.id);if(i.flatRows.push(y),i.rowsById[y.id]=y,m.push(y),e.options.getSubRows){var p;y.originalSubRows=e.options.getSubRows(l[g],g),(p=y.originalSubRows)!=null&&p.length&&(y.subRows=o(y.originalSubRows,u+1,y))}}return m};return i.rows=o(a),i},pe(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function zE(){return e=>he(()=>[e.getState().sorting,e.getPreSortedRowModel()],(a,i)=>{if(!i.rows.length||!(a!=null&&a.length))return i;const o=e.getState().sorting,l=[],u=o.filter(p=>{var g;return(g=e.getColumn(p.id))==null?void 0:g.getCanSort()}),c={};u.forEach(p=>{const g=e.getColumn(p.id);g&&(c[p.id]={sortUndefined:g.columnDef.sortUndefined,invertSorting:g.columnDef.invertSorting,sortingFn:g.getSortingFn()})});const m=p=>{const g=p.map(y=>({...y}));return g.sort((y,x)=>{for(let S=0;S<u.length;S+=1){var b;const C=u[S],E=c[C.id],j=E.sortUndefined,R=(b=C==null?void 0:C.desc)!=null?b:!1;let N=0;if(j){const _=y.getValue(C.id),z=x.getValue(C.id),D=_===void 0,X=z===void 0;if(D||X){if(j==="first")return D?-1:1;if(j==="last")return D?1:-1;N=D&&X?0:D?j:-j}}if(N===0&&(N=E.sortingFn(y,x,C.id)),N!==0)return R&&(N*=-1),E.invertSorting&&(N*=-1),N}return y.index-x.index}),g.forEach(y=>{var x;l.push(y),(x=y.subRows)!=null&&x.length&&(y.subRows=m(y.subRows))}),g};return{rows:m(i.rows),flatRows:l,rowsById:i.rowsById}},pe(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/** 293 * react-table 294 * 295 * Copyright (c) TanStack 296 * 297 * This source code is licensed under the MIT license found in the 298 * LICENSE.md file in the root directory of this source tree. 299 * 300 * @license MIT 301 */function H0(e,a){return e?LE(e)?T.createElement(e,a):e:null}function LE(e){return VE(e)||typeof e=="function"||PE(e)}function VE(e){return typeof e=="function"&&(()=>{const a=Object.getPrototypeOf(e);return a.prototype&&a.prototype.isReactComponent})()}function PE(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function qE(e){const a={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[i]=T.useState(()=>({current:DE(a)})),[o,l]=T.useState(()=>i.current.initialState);return i.current.setOptions(u=>({...u,...e,state:{...o,...e.state},onStateChange:c=>{l(c),e.onStateChange==null||e.onStateChange(c)}})),i.current}const BE=[{horario:"7h00",duracao:"",tema:"CREDENCIAMENTO",descricao:"Abertura dos portões e credenciamento",pessoas:"-",mediador:"-"},{horario:"8h50",duracao:"10min",tema:"ABERTURA",descricao:"Boas-vindas e introdução",pessoas:"Eduardo Kaloustian",mediador:"-"},{horario:"9h00",duracao:"40min",tema:"KEYNOTE",descricao:"Escolha sua dor: disciplina ou arrependimento",pessoas:"Bernardinho",mediador:"-"},{horario:"9h40",duracao:"35min",tema:"BRASIL",descricao:"A salvação do Brasil é realmente a educação?",pessoas:"Samer Agi",mediador:"-"},{horario:"10h20",duracao:"30min",tema:"NEGÃCIOS",descricao:"Founder talks: Empreender e correr riscos",pessoas:"Gabriel Ferreira (BOLD Snacks), Romero Rodrigues (Exit BuscaPé)",mediador:"Rodrigo Menezes (FM Derraik)"},{horario:"10h50",duracao:"50min",tema:"MARKETING",descricao:"Cliente no centro, de verdade",pessoas:"João Branco",mediador:"-"},{horario:"11h45",duracao:"30min",tema:"ECONOMIA",descricao:"Trump, China e uma visão do que vem pela frente na economia mundial",pessoas:"Gustavo Blasco, Rian Tavares",mediador:"Josué Guedes"},{horario:"12h20",duracao:"30min",tema:"SAÃDE",descricao:"Sucesso saudável: mito ou possibilidade?",pessoas:"Thaisa Leal, Victor Miranda",mediador:"David Amar"},{horario:"12h50",duracao:"40min",tema:"KEYNOTE",descricao:"Do 'nada' ao viral",pessoas:"Matheus Costa",mediador:"-"},{horario:"13h30",duracao:"30min",tema:"LIFESTYLE",descricao:"Como surgem as tendências e como se antecipar a elas?",pessoas:"Mafe Ganem, Lara Akel",mediador:"Lu Nunes"},{horario:"14h00",duracao:"35min",tema:"TECNOLOGIA",descricao:"Tentando entender a AI antes que ela nos entenda",pessoas:"Thiago Silva (TuTo)",mediador:"-"},{horario:"14h40",duracao:"30min",tema:"FINANÃAS",descricao:"Como transformar o Brasil em um paÃs investidor?",pessoas:"B. Paolinelli, Valtair Justino",mediador:"Lucas Abreu"},{horario:"15h10",duracao:"30min",tema:"MARKETING",descricao:"O que esperar do marketing nos próximos 10 anos?",pessoas:"Erich Shibata, Giovanna Bressane",mediador:"João Pedro"},{horario:"15h45",duracao:"40min",tema:"KEYNOTE",descricao:"A teoria do leadcentrismo",pessoas:"Isabela Matte",mediador:"-"},{horario:"16h30",duracao:"30min",tema:"CARREIRA",descricao:"Como transformar um time em uma seleção",pessoas:"Luis Justo, Marcela Zaidem",mediador:"Digo Lemos"},{horario:"17h00",duracao:"40min",tema:"KEYNOTE",descricao:"A era da conquista",pessoas:"Ricardo Dias",mediador:"-"},{horario:"17h45",duracao:"30min",tema:"CREATOR ECONOMY",descricao:"Como a força dos stories pode virar uma empresa",pessoas:"Camila Coutinho, Manuela Cit",mediador:"Marcela Lahoz"},{horario:"18h20",duracao:"40min",tema:"TENDÃNCIA",descricao:"Como vamos consumir conteúdo no futuro?",pessoas:"Hern
301ane Jr.",mediador:"-"},{horario:"19h00",duracao:"-",tema:"FINAL",descricao:"Fechamento Hernane + Agradecimento Time + Anúncio Happy Hour",pessoas:"-",mediador:"-"},{horario:"19h10",duracao:"-",tema:"HAPPY HOUR",descricao:"Happy Hour",pessoas:"-",mediador:"-"}];function UE(){const e=T.useMemo(()=>BE,[]),a=T.useRef(null),i=T.useRef(null);T.useEffect(()=>{const c=a.current,m=i.current;if(c&&m){const p=()=>{c.scrollLeft=m.scrollLeft},g=()=>{m.scrollLeft=c.scrollLeft};return m.addEventListener("scroll",p),c.addEventListener("scroll",g),()=>{m.removeEventListener("scroll",p),c.removeEventListener("scroll",g)}}},[]);const o=T.useMemo(()=>[{accessorKey:"horario",header:"Horário",cell:c=>h.jsx("span",{className:"font-bold text-yellow whitespace-nowrap",children:c.getValue()}),size:100},{accessorKey:"tema",header:"Tema",cell:c=>h.jsx("span",{className:"font-bold text-wrap",children:c.getValue()}),size:100},{accessorKey:"descricao",header:"Descrição",cell:c=>h.jsx("div",{className:"min-w-[200px] max-w-[300px] text-wrap break-words",children:c.getValue()}),size:300},{accessorKey:"pessoas",header:"Participantes",cell:c=>h.jsx("div",{className:"whitespace-nowrap",children:c.getValue()}),size:150},{accessorKey:"mediador",header:"Mediador",cell:c=>h.jsx("div",{className:"whitespace-nowrap",children:c.getValue()}),size:120}],[]),l=qE({data:e,columns:o,getCoreRowModel:OE(),getSortedRowModel:zE()}),u=l.getAllColumns().reduce((c,m)=>c+m.getSize(),0);return h.jsx("div",{id:"agenda",className:"w-full bg-black py-20 px-4 md:px-0 flex flex-col items-center",children:h.jsxs("div",{className:"max-w-screen-xl w-full px-4 mb-10 flex flex-col items-center justify-center",children:[h.jsxs("div",{className:"mb-10 text-center",children:[h.jsx("p",{className:"text-yellow text-2xl mt-2 md:mb-[-20px]",children:"06/06/2025"}),h.jsx("h1",{className:"text-5xl md:text-8xl font-bold text-yellow",children:"our agenda"}),h.jsx("p",{className:"text-white text-xl md:text-2xl mt-2",children:"Confira como foi a programação da edição de 2025"})]}),h.jsxs("div",{className:"w-full relative",children:[h.jsx("div",{ref:a,className:"md:hidden w-full overflow-x-auto relative",style:{height:"10px"},children:h.jsx("div",{style:{width:`${u}px`,height:"1px"}})}),h.jsx("div",{ref:i,className:"w-full overflow-x-auto",children:h.jsxs("table",{className:"w-full border-collapse",children:[h.jsx("thead",{children:l.getHeaderGroups().map(c=>h.jsx("tr",{className:"border-b border-yellow",children:l.getHeaderGroups()[0].headers.map(m=>h.jsx("th",{className:"px-2 py-3 text-left text-yellow font-bold text-sm uppercase",style:{width:`${m.getSize()}px`},children:H0(m.column.columnDef.header,m.getContext())},m.id))},c.id))}),h.jsx("tbody",{children:l.getRowModel().rows.map(c=>h.jsx("tr",{className:"border-b border-gray-700 hover:bg-gray-900 transition-colors",children:c.getVisibleCells().map(m=>h.jsx("td",{className:"px-2 py-4 text-white align-top",style:{width:`${m.column.getSize()}px`},children:H0(m.column.columnDef.cell,m.getContext())},m.id))},c.id))})]})})]})]})})}function HE(){return h.jsxs("div",{className:"w-full bg-black min-h-screen flex flex-col justify-center",children:[h.jsx(IT,{}),h.jsx(UE,{}),h.jsx(YT,{})]})}const qf="https://worker.thenewscc.com",$E=async e=>{const a=await fetch(`${qf}/forms/${e}`,{headers:{"Content-Type":"application/json"}});if(!a.ok)throw new Error("Failed to fetch form");return a.json()},GE=async e=>{const a=await fetch(`${qf}/forms/submit`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!a.ok){const i=await a.json().catch(()=>({message:"Failed to submit form"}));throw new Error(i.message||"Failed to submit form")}return a.json()},FE=async e=>{const a=await fetch(`${qf}/quiz/public-submit`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!a.ok){const i=await a.json().catch(()=>({message:"Failed to submit quiz"}));throw new Error(i.message||"Failed to submit quiz")}return a.json()};function cx(e){return(e??[]).map(a=>typeof a=="string"?a:a.label)}function $0(e,a,i){if(!e.conditionFieldId||!e.conditionOperator||!i.find(u=>u.id===e.conditionFieldId))return!0;const l=a[e.conditionFieldId]||"";switch(e.conditionOperator){case"equals":return l===e.conditionValue;case"not_equals":return l!==e.conditionValue;case"contains":return l.toLowerCase().includes((e.conditionValue||"").toLowerCase());case"not_empty":return l.trim().length>0;default:return!0}}const Bf=T.createContext({});function Uf(e){const a=T.useRef(null);return a.current===null&&(a.current=e()),a.current}const Hf=typeof window<"u",dx=Hf?T.useLayoutEffect:T.useEffect,Hl=T.createContext(null);function $f(e,a){e.indexOf(a)===-1&&e.push(a)}function Gf(e,a){const i=e.indexOf(a);i>-1&&e.splice(i,1)}const ea=(e,a,i)=>i>a?a:i<e?e:i;let Ff=()=>{};const ta={},fx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function mx(e){return typeof e=="object"&&e!==null}const hx=e=>/^0[^.\s]+$/u.test(e);function If(e){let a;return()=>(a===void 0&&(a=e()),a)}const fn=e=>e,IE=(e,a)=>i=>a(e(i)),Io=(...e)=>e.reduce(IE),ko=(e,a,i)=>{const o=a-e;return o===0?1:(i-e)/o};class Yf{constructor(){this.subscriptions=[]}add(a){return $f(this.subscriptions,a),()=>Gf(this.subscriptions,a)}notify(a,i,o){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](a,i,o);else for(let u=0;u<l;u++){const c=this.subscriptions[u];c&&c(a,i,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const jn=e=>e*1e3,An=e=>e/1e3;function px(e,a){return a?e*(1e3/a):0}const gx=(e,a,i)=>(((1-3*i+3*a)*e+(3*i-6*a))*e+3*a)*e,YE=1e-7,XE=12;function KE(e,a,i,o,l){let u,c,m=0;do c=a+(i-a)/2,u=gx(c,o,l)-e,u>0?i=c:a=c;while(Math.abs(u)>YE&&++m<XE);return c}function Yo(e,a,i,o){if(e===a&&i===o)return fn;const l=u=>KE(u,0,1,e,i);return u=>u===0||u===1?u:gx(l(u),a,o)}const yx=e=>a=>a<=.5?e(2*a)/2:(2-e(2*(1-a)))/2,vx=e=>a=>1-e(1-a),xx=Yo(.33,1.53,.69,.99),Xf=vx(xx),bx=yx(Xf),Sx=e=>(e*=2)<1?.5*Xf(e):.5*(2-Math.pow(2,-10*(e-1))),Kf=e=>1-Math.sin(Math.acos(e)),wx=vx(Kf),Cx=yx(Kf),QE=Yo(.42,0,1,1),ZE=Yo(0,0,.58,1),Tx=Yo(.42,0,.58,1),JE=e=>Array.isArray(e)&&typeof e[0]!="number",Ex=e=>Array.isArray(e)&&typeof e[0]=="number",WE={linear:fn,easeIn:QE,easeInOut:Tx,easeOut:ZE,circIn:Kf,circInOut:Cx,circOut:wx,backIn:Xf,backInOut:bx,backOut:xx,anticipate:Sx},e_=e=>typeof e=="string",G0=e=>{if(Ex(e)){Ff(e.length===4);const[a,i,o,l]=e;return Yo(a,i,o,l)}else if(e_(e))return WE[e];return e},gl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function t_(e,a){let i=new Set,o=new Set,l=!1,u=!1;const c=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function p(y){c.has(y)&&(g.schedule(y),e()),y(m)}const g={schedule:(y,x=!1,b=!1)=>{const C=b&&l?i:o;return x&&c.add(y),C.has(y)||C.add(y),y},cancel:y=>{o.delete(y),c.delete(y)},process:y=>{if(m=y,l){u=!0;return}
vendor: 20,731 bytes, line 301
301l=!0,[i,o]=[o,i],i.forEach(p),i.clear(),l=!1,u&&(u=!1,g.process(y))}};return g}const n_=40;function _x(e,a){let i=!1,o=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>i=!0,c=gl.reduce((_,z)=>(_[z]=t_(u),_),{}),{setup:m,read:p,resolveKeyframes:g,preUpdate:y,update:x,preRender:b,render:S,postRender:C}=c,E=()=>{const _=ta.useManualTiming?l.timestamp:performance.now();i=!1,ta.useManualTiming||(l.delta=o?1e3/60:Math.max(Math.min(_-l.timestamp,n_),1)),l.timestamp=_,l.isProcessing=!0,m.process(l),p.process(l),g.process(l),y.process(l),x.process(l),b.process(l),S.process(l),C.process(l),l.isProcessing=!1,i&&a&&(o=!1,e(E))},j=()=>{i=!0,o=!0,l.isProcessing||e(E)};return{schedule:gl.reduce((_,z)=>{const D=c[z];return _[z]=(X,U=!1,V=!1)=>(i||j(),D.schedule(X,U,V)),_},{}),cancel:_=>{for(let z=0;z<gl.length;z++)c[gl[z]].cancel(_)},state:l,steps:c}}const{schedule:We,cancel:ka,state:_t,steps:bd}=_x(typeof requestAnimationFrame<"u"?requestAnimationFrame:fn,!0);let Tl;function a_(){Tl=void 0}const Ut={now:()=>(Tl===void 0&&Ut.set(_t.isProcessing||ta.useManualTiming?_t.timestamp:performance.now()),Tl),set:e=>{Tl=e,queueMicrotask(a_)}},Rx=e=>a=>typeof a=="string"&&a.startsWith(e),Qf=Rx("--"),i_=Rx("var(--"),Zf=e=>i_(e)?s_.test(e.split("/*")[0].trim()):!1,s_=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,us={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Do={...us,transform:e=>ea(0,1,e)},yl={...us,default:1},Co=e=>Math.round(e*1e5)/1e5,Jf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function o_(e){return e==null}const r_=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Wf=(e,a)=>i=>!!(typeof i=="string"&&r_.test(i)&&i.startsWith(e)||a&&!o_(i)&&Object.prototype.hasOwnProperty.call(i,a)),jx=(e,a,i)=>o=>{if(typeof o!="string")return o;const[l,u,c,m]=o.match(Jf);return{[e]:parseFloat(l),[a]:parseFloat(u),[i]:parseFloat(c),alpha:m!==void 0?parseFloat(m):1}},l_=e=>ea(0,255,e),Sd={...us,transform:e=>Math.round(l_(e))},ni={test:Wf("rgb","red"),parse:jx("red","green","blue"),transform:({red:e,green:a,blue:i,alpha:o=1})=>"rgba("+Sd.transform(e)+", "+Sd.transform(a)+", "+Sd.transform(i)+", "+Co(Do.transform(o))+")"};function u_(e){let a="",i="",o="",l="";return e.length>5?(a=e.substring(1,3),i=e.substring(3,5),o=e.substring(5,7),l=e.substring(7,9)):(a=e.substring(1,2),i=e.substring(2,3),o=e.substring(3,4),l=e.substring(4,5),a+=a,i+=i,o+=o,l+=l),{red:parseInt(a,16),green:parseInt(i,16),blue:parseInt(o,16),alpha:l?parseInt(l,16)/255:1}}const ef={test:Wf("#"),parse:u_,transform:ni.transform},Xo=e=>({test:a=>typeof a=="string"&&a.endsWith(e)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${e}`}),_a=Xo("deg"),Nn=Xo("%"),me=Xo("px"),c_=Xo("vh"),d_=Xo("vw"),F0={...Nn,parse:e=>Nn.parse(e)/100,transform:e=>Nn.transform(e*100)},Zi={test:Wf("hsl","hue"),parse:jx("hue","saturation","lightness"),transform:({hue:e,saturation:a,lightness:i,alpha:o=1})=>"hsla("+Math.round(e)+", "+Nn.transform(Co(a))+", "+Nn.transform(Co(i))+", "+Co(Do.transform(o))+")"},mt={test:e=>ni.test(e)||ef.test(e)||Zi.test(e),parse:e=>ni.test(e)?ni.parse(e):Zi.test(e)?Zi.parse(e):ef.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ni.transform(e):Zi.transform(e),getAnimatableNone:e=>{const a=mt.parse(e);return a.alpha=0,mt.transform(a)}},f_=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function m_(e){var a,i;return isNaN(e)&&typeof e=="string"&&(((a=e.match(Jf))==null?void 0:a.length)||0)+(((i=e.match(f_))==null?void 0:i.length)||0)>0}const Ax="number",Nx="color",h_="var",p_="var(",I0="${}",g_=/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 a=e.toString(),i=[],o={color:[],number:[],var:[]},l=[];let u=0;const m=a.replace(g_,p=>(mt.test(p)?(o.color.push(u),l.push(Nx),i.push(mt.parse(p))):p.startsWith(p_)?(o.var.push(u),l.push(h_),i.push(p)):(o.number.push(u),l.push(Ax),i.push(parseFloat(p))),++u,I0)).split(I0);return{values:i,split:m,indexes:o,types:l}}function Mx(e){return Oo(e).values}function kx(e){const{split:a,types:i}=Oo(e),o=a.length;return l=>{let u="";for(let c=0;c<o;c++)if(u+=a[c],l[c]!==void 0){const m=i[c];m===Ax?u+=Co(l[c]):m===Nx?u+=mt.transform(l[c]):u+=l[c]}return u}}const y_=e=>typeof e=="number"?0:mt.test(e)?mt.getAnimatableNone(e):e;function v_(e){const a=Mx(e);return kx(e)(a.map(y_))}const Da={test:m_,parse:Mx,createTransformer:kx,getAnimatableNone:v_};function wd(e,a,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(a-e)*6*i:i<1/2?a:i<2/3?e+(a-e)*(2/3-i)*6:e}function x_({hue:e,saturation:a,lightness:i,alpha:o}){e/=360,a/=100,i/=100;let l=0,u=0,c=0;if(!a)l=u=c=i;else{const m=i<.5?i*(1+a):i+a-i*a,p=2*i-m;l=wd(p,m,e+1/3),u=wd(p,m,e),c=wd(p,m,e-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(c*255),alpha:o}}function Nl(e,a){return i=>i>0?a:e}const nt=(e,a,i)=>e+(a-e)*i,Cd=(e,a,i)=>{const o=e*e,l=i*(a*a-o)+o;return l<0?0:Math.sqrt(l)},b_=[ef,ni,Zi],S_=e=>b_.find(a=>a.test(e));function Y0(e){const a=S_(e);if(!a)return!1;let i=a.parse(e);return a===Zi&&(i=x_(i)),i}const X0=(e,a)=>{const i=Y0(e),o=Y0(a);if(!i||!o)return Nl(e,a);const l={...i};return u=>(l.red=Cd(i.red,o.red,u),l.green=Cd(i.green,o.green,u),l.blue=Cd(i.blue,o.blue,u),l.alpha=nt(i.alpha,o.alpha,u),ni.transform(l))},tf=new Set(["none","hidden"]);function w_(e,a){return tf.has(e)?i=>i<=0?e:a:i=>i>=1?a:e}function C_(e,a){return i=>nt(e,a,i)}function em(e){return typeof e=="number"?C_:typeof e=="string"?Zf(e)?Nl:mt.test(e)?X0:__:Array.isArray(e)?Dx:typeof e=="object"?mt.test(e)?X0:T_:Nl}function Dx(e,a){const i=[...e],o=i.length,l=e.map((u,c)=>em(u)(u,a[c]));return u=>{for(let c=0;c<o;c++)i[c]=l[c](u);return i}}function T_(e,a){const i={...e,...a},o={};for(const l in i)e[l]!==void 0&&a[l]!==void 0&&(o[l]=em(e[l])(e[l],a[l]));return l=>{for(const u in o)i[u]=o[u](l);return i}}function E_(e,a){const i=[],o={color:0,var:0,number:0};for(let l=0;l<a.values.length;l++){const u=a.types[l],c=e.indexes[u][o[u]],m=e.values[c]??0;i[l]=m,o[u]++}return i}const __=(e,a)=>{const i=Da.createTransformer(a),o=Oo(e),l=Oo(a);return o.indexes.var.length===l.indexes.var.length&&o.indexes.color.length===l.indexes.color.length&&o.indexes.number.length>=l.indexes.number.length?tf.has(e)&&!l.values.length||tf.has(a)&&!o.values.length?w_(e,a):Io(Dx(E_(o,l),l.values),i):Nl(e,a)};function Ox(e,a,i){return typeof e=="number"&&typeof a=="number"&&typeof i=="number"?nt(e,a,i):em(e)(e,a)}const R_=e=>{const a=({timestamp:i})=>e(i);return{start:(i=!0)=>We.update(a,i),stop:()=>ka(a),now:()=>_t.isProcessing?_t.timestamp:Ut.now()}},zx=(e,a,i=10)=>{let o="";const l=Math.max(Math.round(a/i),2);for(let u=0;u<l;u++)o+=Math.round(e(u/(l-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},Ml=2e4;function tm(e){let a=0;const i=50;let o=e.next(a);for(;!o.done&&a<Ml;)a+=i,o=e.next(a);return a>=Ml?1/0:a}function j_(e,a=100,i){const o=i({...e,keyframes:[0,a]}),l=Math.min(tm(o),Ml);return{type:"keyframes",ease:u=>o.next(l*u).value/a,duration:An(l)}}const A_=5;function Lx(e,a,i){const o=Math.max(a-A_,0);return px(i-e(o),a-o)}const rt={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},K0=.001;function N_({duration:e=rt.duration,bounce:a=rt.bounce,velocity:i=rt.velocity,mass:o=rt.mass}){let l,u,c=1-a;c=ea(rt.minDamping,rt.maxDamping,c),e=ea(rt.minDuration,rt.maxDuration,An(e)),c<1?(l=g=>{const y=g*c,x=y*e,b=y-i,S=nf(g,c),C=Math.exp(-x);return K0-b/S*C},u=g=>{const x=g*c*e,b=x*i+i,S=Math.pow(c,2)*Math.pow(g,2)*e,C=Math.exp(-x),E=nf(Math.pow(g,2),c);return(-l(g)+K0>0?-1:1)*((b-S)*C)/E}):(l=g=>{const y=Math.exp(-g*e),x=(g-i)*e+1;return-.001+y*x},u=g=>{const y=Math.exp(-g*e),x=(i-g)*(e*e);return y*x});const m=5/e,p=k_(l,u,m);if(e=jn(e),isNaN(p))return{stiffness:rt.stiffness,damping:rt.damping,duration:e};{const g=Math.pow(p,2)*o;return{stiffness:g,damping:c*2*Math.sqrt(o*g),duration:e}}}const M_=12;function k_(e,a,i){let o=i;for(let l=1;l<M_;l++)o=o-e(o)/a(o);return o}function nf(e,a){return e*Math.sqrt(1-a*a)}const D_=["duration","bounce"],O_=["stiffness","damping","mass"];function Q0(e,a){return a.some(i=>e[i]!==void 0)}function z_(e){let a={velocity:rt.velocity,stiffness:rt.stiffness,damping:rt.damping,mass:rt.mass,isResolvedFromDuration:!1,...e};if(!Q0(e,O_)&&Q0(e,D_))if(e.visualDuration){const i=e.visualDuration,o=2*Math.PI/(i*1.2),l=o*o,u=2*ea(.05,1,1-(e.bounce||0))*Math.sqrt(l);a={...a,mass:rt.mass,stiffness:l,damping:u}}else{const i=N_(e);a={...a,...i,mass:rt.mass},a.isResolvedFromDuration=!0}return a}function kl(e=rt.visualDuration,a=rt.bounce){const i=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:a}:e;let{restSpeed:o,restDelta:l}=i;const u=i.keyframes[0],c=i.keyframes[i.keyframes.length-1],m={done:!1,value:u},{stiffness:p,damping:g,mass:y,duration:x,velocity:b,isResolvedFromDuration:S}=z_({...i,velocity:-An(i.velocity||0)}),C=b||0,E=g/(2*Math.sqrt(p*y)),j=c-u,R=An(Math.sqrt(p/y)),N=Math.abs(j)<5;o||(o=N?rt.restSpeed.granular:rt.restSpeed.default),l||(l=N?rt.restDelta.granular:rt.restDelta.default);let _;if(E<1){const D=nf(R,E);_=X=>{const U=Math.exp(-E*R*X);return c-U*((C+E*R*j)/D*Math.sin(D*X)+j*Math.cos(D*X))}}else if(E===1)_=D=>c-Math.exp(-R*D)*(j+(C+R*j)*D);else{const D=R*Math.sqrt(E*E-1);_=X=>{const U=Math.exp(-E*R*X),V=Math.min(D*X,300);return c-U*((C+E*R*j)*Math.sinh(V)+D*j*Math.cosh(V))/D}}const z={calculatedDuration:S&&x||null,next:D=>{const X=_(D);if(S)m.done=D>=x;else{let U=D===0?C:0;E<1&&(U=D===0?jn(C):Lx(_,D,X));const V=Math.abs(U)<=o,F=Math.abs(c-X)<=l;m.done=V&&F}return m.value=m.done?c:X,m},toString:()=>{const D=Math.min(tm(z),Ml),X=zx(U=>z.next(D*U).value,D,30);return D+"ms "+X},toTransition:()=>{}};return z}kl.applyToOptions=e=>{const a=j_(e,100,kl);return e.ease=a.ease,e.duration=jn(a.duration),e.type="keyframes",e};function af({keyframes:e,velocity:a=0,power:i=.8,timeConstant:o=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:c,min:m,max:p,restDelta:g=.5,restSpeed:y}){const x=e[0],b={done:!1,value:x},S=V=>m!==void 0&&V<m||p!==void 0&&V>p,C=V=>m===void 0?p:p===void 0||Math.abs(m-V)<Math.abs(p-V)?m:p;let E=i*a;const j=x+E,R=c===void 0?j:c(j);R!==j&&(E=R-x);const N=V=>-E*Math.exp(-V/o),_=V=>R+N(V),z=V=>{const F=N(V),Z=_(V);b.done=Math.abs(F)<=g,b.value=b.done?R:Z};let D,X;const U=V=>{S(b.value)&&(D=V,X=kl({keyframes:[b.value,C(b.value)],velocity:Lx(_,V,b.value),damping:l,stiffness:u,restDelta:g,restSpeed:y}))};return U(0),{calculatedDuration:null,next:V=>{let F=!1;return!X&&D===void 0&&(F=!0,z(V),U(V)),D!==void 0&&V>=D?X.next(V-D):(!F&&z(V),b)}}}function L_(e,a,i){const o=[],l=i||ta.mix||Ox,u=e.length-1;for(let c=0;c<u;c++){let m=l(e[c],e[c+1]);if(a){const p=Array.isArray(a)?a[c]||fn:a;m=Io(p,m)}o.push(m)}return o}function V_(e,a,{clamp:i=!0,ease:o,mixer:l}={}){const u=e.length;if(Ff(u===a.length),u===1)return()=>a[0];if(u===2&&a[0]===a[1])return()=>a[1];const c=e[0]===e[1];e[0]>e[u-1]&&(e=[...e].reverse(),a=[...a].reverse());const m=L_(a,o,l),p=m.length,g=y=>{if(c&&y<e[0])return a[0];let x=0;if(p>1)for(;x<e.length-2&&!(y<e[x+1]);x++);const b=ko(e[x],e[x+1],y);return m[x](b)};return i?y=>g(ea(e[0],e[u-1],y)):g}function P_(e,a){const i=e[e.length-1];for(let o=1;o<=a;o++){const l=ko(0,a,o);e.push(nt(i,1,l))}}function q_(e){const a=[0];return P_(a,e.length-1),a}function B_(e,a){return e.map(i=>i*a)}function U_(e,a){return e.map(()=>a||Tx).splice(0,e.length-1)}function To({duration:e=300,keyframes:a,times:i,ease:o="easeInOut"}){const l=JE(o)?o.map(G0):G0(o),u={done:!1,value:a[0]},c=B_(i&&i.length===a.length?i:q_(a),e),m=V_(c,a,{ease:Array.isArray(l)?l:U_(a,l)});return{calculatedDuration:e,next:p=>(u.value=m(p),u.done=p>=e,u)}}const H_=e=>e!==null;function nm(e,{repeat:a,repeatType:i="loop"},o,l=1){const u=e.filter(H_),m=l<0||a&&i!=="loop"&&a%2===1?0:u.length-1;return!m||o===void 0?u[m]:o}const $_={decay:af,inertia:af,tween:To,keyframes:To,spring:kl};function Vx(e){typeof e.type=="string"&&(e.type=$_[e.type])}class am{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,i){return this.finished.then(a,i)}}const G_=e=>e/100;class im extends am{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var o,l;const{motionValue:i}=this.options;i&&i.updatedAt!==Ut.now()&&this.tick(Ut.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(l=(o=this.options).onStop)==null||l.call(o))},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;Vx(a);const{type:i=To,repeat:o=0,repeatDelay:l=0,repeatType:u,velocity:c=0}=a;let{keyframes:m}=a;const p=i||To;p!==To&&typeof m[0]!="number"&&(this.mixKeyframes=Io(G_,Ox(m[0],m[1])),m=[0,100]);const g=p({...a,keyframes:m});u==="mirror"&&(this.mirroredGenerator=p({...a,keyframes:[...m].reverse(),velocity:-c})),g.calculatedDuration===null&&(g.calculatedDuration=tm(g));const{calculatedDuration:y}=g;this.calculatedDuration=y,this.resolvedDuration=y+l,this.totalDuration=this.resolvedDuration*(o+1)-l,this.generator=g}updateTime(a){const i=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(a,i=!1){const{generator:o,totalDuration:l,mixKeyframes:u,mirroredGenerator:c,resolvedDuration:m,calculatedDuration:p}=this;if(this.startTime===null)return o.next(0);const{delay:g=0,keyframes:y,repeat:x,repeatType:b,repeatDelay:S,type:C,onUpdate:E,finalKeyframe:j}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-l/this.speed,this.startTime)),i?this.currentTime=a:this.updateTime(a);const R=this.currentTime-g*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?R<0:R>l;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let _=this.currentTime,z=o;if(x){const V=Math.min(this.currentTime,l)/m;let F=Math.floor(V),Z=V%1;!Z&&V>=1&&(Z=1),Z===1&&F--,F=Math.min(F,x+1),!!(F%2)&&(b==="reverse"?(Z=1-Z,S&&(Z-=S/m)):b==="mirror"&&(z=c)),_=ea(0,1,Z)*m}const D=N?{done:!1,value:y[0]}:z.next(_);u&&(D.value=u(D.value));let{done:X}=D;!N&&p!==null&&(X=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const U=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&X);return U&&C!==af&&(D.value=nm(y,this.options,j,this.speed)),E&&E(D.value),U&&this.finish(),D}then(a,i){return this.finished.then(a,i)}get duration(){return An(this.calculatedDuration)}get time(){return An(this.currentTime)}set time(a){var i;a=jn(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),(i=this.driver)==null||i.start(!1)}get speed(){return this.playbackSpeed}set speed(a){this.updateTime(Ut.now());const i=this.playbackSpeed!==a;this.playbackSpeed=a,i&&(this.time=An(this.currentTime))}play(){var l,u;if(this.isStopped)return;const{driver:a=R_,startTime:i}=this.options;this.driver||(this.driver=a(c=>this.tick(c))),(u=(l=this.options).onPlay)==null||u.call(l);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=i??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ut.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var a,i;this.notifyFinished(),this.teardown(),this.state="finished",(i=(a=this.options).onComplete)==null||i.call(a)}cancel(){var a,i;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(i=(a=this.options).onCancel)==null||i.call(a)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){var i;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(i=this.driver)==null||i.stop(),a.observe(this)}}function F_(e){for(let a=1;a<e.length;a++)e[a]??(e[a]=e[a-1])}const ai=e=>e*180/Math.PI,sf=e=>{const a=ai(Math.atan2(e[1],e[0]));return of(a)},I_={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:sf,rotateZ:sf,skewX:e=>ai(Math.atan(e[1])),skewY:e=>ai(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},of=e=>(e=e%360,e<0&&(e+=360),e),Z0=sf,J0=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),W0=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Y_={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:J0,scaleY:W0,scale:e=>(J0(e)+W0(e))/2,rotateX:e=>of(ai(Math.atan2(e[6],e[5]))),rotateY:e=>of(ai(Math.atan2(-e[2],e[0]))),rotateZ:Z0,rotate:Z0,skewX:e=>ai(Math.atan(e[4])),skewY:e=>ai(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function rf(e){return e.includes("scale")?1:0}function lf(e,a){if(!e||e==="none")return rf(a);const i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,l;if(i)o=Y_,l=i;else{const m=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=I_,l=m}if(!l)return rf(a);const u=o[a],c=l[1].split(",").map(K_);return typeof u=="function"?u(c):c[u]}const X_=(e,a)=>{const{transform:i="none"}=getComputedStyle(e);return lf(i,a)};function K_(e){return parseFloat(e.trim())}const cs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ds=new Set(cs),ey=e=>e===us||e===me,Q_=new Set(["x","y","z"]),Z_=cs.filter(e=>!Q_.has(e));function J_(e){const a=[];return Z_.forEach(i=>{const o=e.getValue(i);o!==void 0&&(a.push([i,o.get()]),o.set(i.startsWith("scale")?1:0))}),a}const ii={width:({x:e},{paddingLeft:a="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(a)-parseFloat(i),height:({y:e},{paddingTop:a="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(a)-parseFloat(i),top:(e,{top:a})=>parseFloat(a),left:(e,{left:a})=>parseFloat(a),bottom:({y:e},{top:a})=>parseFloat(a)+(e.max-e.min),right:({x:e},{left:a})=>parseFloat(a)+(e.max-e.min),x:(e,{transform:a})=>lf(a,"x"),y:(e,{transform:a})=>lf(a,"y")};ii.translateX=ii.x;ii.translateY=ii.y;const si=new Set;let uf=!1,cf=!1,df=!1;function Px(){if(cf){const e=Array.from(si).filter(o=>o.needsMeasurement),a=new Set(e.map(o=>o.element)),i=new Map;a.forEach(o=>{const l=J_(o);l.length&&(i.set(o,l),o.render())}),e.forEach(o=>o.measureInitialState()),a.forEach(o=>{o.render();const l=i.get(o);l&&l.forEach(([u,c])=>{var m;(m=o.getValue(u))==null||m.set(c)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}cf=!1,uf=!1,si.forEach(e=>e.complete(df)),si.clear()}function qx(){si.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(cf=!0)})}function W_(){df=!0,qx(),Px(),df=!1}class sm{constructor(a,i,o,l,u,c=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=i,this.name=o,this.motionValue=l,this.element=u,this.isAsync=c}scheduleResolve(){this.state="scheduled",this.isAsync?(si.add(this),uf||(uf=!0,We.read(qx),We.resolveKeyframes(Px))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:i,element:o,motionValue:l}=this;if(a[0]===null){const u=l==null?void 0:l.get(),c=a[a.length-1];if(u!==void 0)a[0]=u;else if(o&&i){const m=o.readValue(i,c);m!=null&&(a[0]=m)}a[0]===void 0&&(a[0]=c),l&&u===void 0&&l.set(a[0])}F_(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),si.delete(this)}cancel(){this.state==="scheduled"&&(si.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const eR=e=>e.startsWith("--");function tR(e,a,i){eR(a)?e.style.setProperty(a,i):e.style[a]=i}const nR=If(()=>window.ScrollTimeline!==void 0),aR={};function iR(e,a){const i=If(e);return()=>aR[a]??i()}const Bx=iR(()=>{try{document.createElement("div").animate({opacity:0}
301,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),So=([e,a,i,o])=>`cubic-bezier(${e}, ${a}, ${i}, ${o})`,ty={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:So([0,.65,.55,1]),circOut:So([.55,0,1,.45]),backIn:So([.31,.01,.66,-.59]),backOut:So([.33,1.53,.69,.99])};function Ux(e,a){if(e)return typeof e=="function"?Bx()?zx(e,a):"ease-out":Ex(e)?So(e):Array.isArray(e)?e.map(i=>Ux(i,a)||ty.easeOut):ty[e]}function sR(e,a,i,{delay:o=0,duration:l=300,repeat:u=0,repeatType:c="loop",ease:m="easeOut",times:p}={},g=void 0){const y={[a]:i};p&&(y.offset=p);const x=Ux(m,l);Array.isArray(x)&&(y.easing=x);const b={delay:o,duration:l,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:u+1,direction:c==="reverse"?"alternate":"normal"};return g&&(b.pseudoElement=g),e.animate(y,b)}function Hx(e){return typeof e=="function"&&"applyToOptions"in e}function oR({type:e,...a}){return Hx(e)&&Bx()?e.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class rR extends am{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,!a)return;const{element:i,name:o,keyframes:l,pseudoElement:u,allowFlatten:c=!1,finalKeyframe:m,onComplete:p}=a;this.isPseudoElement=!!u,this.allowFlatten=c,this.options=a,Ff(typeof a.type!="string");const g=oR(a);this.animation=sR(i,o,l,g,u),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const y=nm(l,this.options,m,this.speed);this.updateMotionValue?this.updateMotionValue(y):tR(i,o,y),this.animation.cancel()}p==null||p(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var a,i;(i=(a=this.animation).finish)==null||i.call(a)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var a,i;this.isPseudoElement||(i=(a=this.animation).commitStyles)==null||i.call(a)}get duration(){var i,o;const a=((o=(i=this.animation.effect)==null?void 0:i.getComputedTiming)==null?void 0:o.call(i).duration)||0;return An(Number(a))}get time(){return An(Number(this.animation.currentTime)||0)}set time(a){this.finishedTime=null,this.animation.currentTime=jn(a)}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(a){this.animation.startTime=a}attachTimeline({timeline:a,observe:i}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,a&&nR()?(this.animation.timeline=a,fn):i(this)}}const $x={anticipate:Sx,backInOut:bx,circInOut:Cx};function lR(e){return e in $x}function uR(e){typeof e.ease=="string"&&lR(e.ease)&&(e.ease=$x[e.ease])}const ny=10;class cR extends rR{constructor(a){uR(a),Vx(a),super(a),a.startTime&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:i,onUpdate:o,onComplete:l,element:u,...c}=this.options;if(!i)return;if(a!==void 0){i.set(a);return}const m=new im({...c,autoplay:!1}),p=jn(this.finishedTime??this.time);i.setWithVelocity(m.sample(p-ny).value,m.sample(p).value,ny),m.stop()}}const ay=(e,a)=>a==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Da.test(e)||e==="0")&&!e.startsWith("url("));function dR(e){const a=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==a)return!0}function fR(e,a,i,o){const l=e[0];if(l===null)return!1;if(a==="display"||a==="visibility")return!0;const u=e[e.length-1],c=ay(l,a),m=ay(u,a);return!c||!m?!1:dR(e)||(i==="spring"||Hx(i))&&o}function ff(e){e.duration=0,e.type}const mR=new Set(["opacity","clipPath","filter","transform"]),hR=If(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function pR(e){var y;const{motionValue:a,name:i,repeatDelay:o,repeatType:l,damping:u,type:c}=e;if(!(((y=a==null?void 0:a.owner)==null?void 0:y.current)instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=a.owner.getProps();return hR()&&i&&mR.has(i)&&(i!=="transform"||!g)&&!p&&!o&&l!=="mirror"&&u!==0&&c!=="inertia"}const gR=40;class yR extends am{constructor({autoplay:a=!0,delay:i=0,type:o="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:c="loop",keyframes:m,name:p,motionValue:g,element:y,...x}){var C;super(),this.stop=()=>{var E,j;this._animation&&(this._animation.stop(),(E=this.stopTimeline)==null||E.call(this)),(j=this.keyframeResolver)==null||j.cancel()},this.createdAt=Ut.now();
301const b={autoplay:a,delay:i,type:o,repeat:l,repeatDelay:u,repeatType:c,name:p,motionValue:g,element:y,...x},S=(y==null?void 0:y.KeyframeResolver)||sm;this.keyframeResolver=new S(m,(E,j,R)=>this.onKeyframesResolved(E,j,b,!R),p,g,y),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(a,i,o,l){this.keyframeResolver=void 0;const{name:u,type:c,velocity:m,delay:p,isHandoff:g,onUpdate:y}=o;this.resolvedAt=Ut.now(),fR(a,u,c,m)||((ta.instantAnimations||!p)&&(y==null||y(nm(a,o,i))),a[0]=a[a.length-1],ff(o),o.repeat=0);const b={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>gR?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...o,keyframes:a},S=!g&&pR(b)?new cR({...b,element:b.motionValue.owner.current}):new im(b);S.finished.then(()=>this.notifyFinished()).catch(fn),this.pendingTimeline&&(this.stopTimeline=S.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=S}get finished(){return this._animation?this.animation.finished:this._finished}then(a,i){return this.finished.finally(a).then(()=>{})}get animation(){var a;return this._animation||((a=this.keyframeResolver)==null||a.resume(),W_()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var a;this._animation&&this.animation.cancel(),(a=this.keyframeResolver)==null||a.cancel()}}const vR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function xR(e){const a=vR.exec(e);if(!a)return[,];const[,i,o,l]=a;return[`--${i??o}`,l]}function Gx(e,a,i=1){const[o,l]=xR(e);if(!o)return;const u=window.getComputedStyle(a).getPropertyValue(o);if(u){const c=u.trim();return fx(c)?parseFloat(c):c}return Zf(l)?Gx(l,a,i+1):l}function om(e,a){return(e==null?void 0:e[a])??(e==null?void 0:e.default)??e}const Fx=new Set(["width","height","top","left","right","bottom",...cs]),bR={test:e=>e==="auto",parse:e=>e},Ix=e=>a=>a.test(e),Yx=[us,me,Nn,_a,d_,c_,bR],iy=e=>Yx.find(Ix(e));function SR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||hx(e):!0}const wR=new Set(["brightness","contrast","saturate","opacity"]);function CR(e){const[a,i]=e.slice(0,-1).split("(");if(a==="drop-shadow")return e;const[o]=i.match(Jf)||[];if(!o)return e;const l=i.replace(o,"");let u=wR.has(a)?1:0;return o!==i&&(u*=100),a+"("+u+l+")"}const TR=/\b([a-z-]*)\(.*?\)/gu,mf={...Da,getAnimatableNone:e=>{const a=e.match(TR);return a?a.map(CR).join(" "):e}},sy={...us,transform:Math.round},ER={rotate:_a,rotateX:_a,rotateY:_a,rotateZ:_a,scale:yl,scaleX:yl,scaleY:yl,scaleZ:yl,skew:_a,skewX:_a,skewY:_a,distance:me,translateX:me,translateY:me,translateZ:me,x:me,y:me,z:me,perspective:me,transformPerspective:me,opacity:Do,originX:F0,originY:F0,originZ:me},rm={borderWidth:me,borderTopWidth:me,borderRightWidth:me,borderBottomWidth:me,borderLeftWidth:me,borderRadius:me,radius:me,borderTopLeftRadius:me,borderTopRightRadius:me,borderBottomRightRadius:me,borderBottomLeftRadius:me,width:me,maxWidth:me,height:me,maxHeight:me,top:me,right:me,bottom:me,left:me,padding:me,paddingTop:me,paddingRight:me,paddingBottom:me,paddingLeft:me,margin:me,marginTop:me,marginRight:me,marginBottom:me,marginLeft:me,backgroundPositionX:me,backgroundPositionY:me,...ER,zIndex:sy,fillOpacity:Do,strokeOpacity:Do,numOctaves:sy},_R={...rm,color:mt,backgroundColor:mt,outlineColor:mt,fill:mt,stroke:mt,borderColor:mt,borderTopColor:mt,borderRightColor:mt,borderBottomColor:mt,borderLeftColor:mt,filter:mf,WebkitFilter:mf},Xx=e=>_R[e];function Kx(e,a){let i=Xx(e);return i!==mf&&(i=Da),i.getAnimatableNone?i.getAnimatableNone(a):void 0}const RR=new Set(["auto","none","0"]);function jR(e,a,i){let o=0,l;for(;o<e.length&&!l;){const u=e[o];typeof u=="string"&&!RR.has(u)&&Oo(u).values.length&&(l=e[o]),o++}if(l&&i)for(const u of a)e[u]=Kx(i,l)}class AR extends sm{constructor(a,i,o,l,u){super(a,i,o,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:i,name:o}=this;if(!i||!i.current)return;super.readKeyframes();for(let p=0;p<a.length;p++){let g=a[p];if(typeof g=="string"&&(g=g.trim(),Zf(g))){const y=Gx(g,i.current);
vendor: 1,163 bytes, line 301
301y!==void 0&&(a[p]=y),p===a.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!Fx.has(o)||a.length!==2)return;const[l,u]=a,c=iy(l),m=iy(u);if(c!==m)if(ey(c)&&ey(m))for(let p=0;p<a.length;p++){const g=a[p];typeof g=="string"&&(a[p]=parseFloat(g))}else ii[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:i}=this,o=[];for(let l=0;l<a.length;l++)(a[l]===null||SR(a[l]))&&o.push(l);o.length&&jR(a,o,i)}measureInitialState(){const{element:a,unresolvedKeyframes:i,name:o}=this;if(!a||!a.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ii[o](a.measureViewportBox(),window.getComputedStyle(a.current)),i[0]=this.measuredOrigin;const l=i[i.length-1];l!==void 0&&a.getValue(o,l).jump(l,!1)}measureEndState(){var m;const{element:a,name:i,unresolvedKeyframes:o}=this;if(!a||!a.current)return;const l=a.getValue(i);l&&l.jump(this.measuredOrigin,!1);const u=o.length-1,c=o[u];o[u]=ii[i](a.measureViewportBox(),window.getComputedStyle(a.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),(m=this.removedTransforms)!=null&&m.length&&this.removedTransforms.forEac
vendor: 4,103 bytes, line 301
301h(([p,g])=>{a.getValue(p).set(g)}),this.resolveNoneKeyframes()}}function NR(e,a,i){if(e instanceof EventTarget)return[e];if(typeof e=="string"){const l=document.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e)}const Qx=(e,a)=>a&&typeof e=="number"?a.transform(e):e;function Zx(e){return mx(e)&&"offsetHeight"in e}const oy=30,MR=e=>!isNaN(parseFloat(e)),ry={current:void 0};class kR{constructor(a,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{var u;const l=Ut.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((u=this.events.change)==null||u.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=i.owner}setCurrent(a){this.current=a,this.updatedAt=Ut.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=MR(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,i){this.events[a]||(this.events[a]=new Yf);const o=this.events[a].add(i);return a==="change"?()=>{o(),We.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,i){this.passiveEffect=a,this.stopPassiveEffect=i}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,i,o){this.set(i),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-o}jump(a,i=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var a;(a=this.events.change)==null||a.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return ry.current&&ry.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const a=Ut.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>oy)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,oy);return px(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(a){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=a(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var a,i;(a=this.dependents)==null||a.clear(),(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function is(e,a){return new kR(e,a)}const{schedule:lm}=_x(queueMicrotask,!1),vn={x:!1,y:!1};function Jx(){return vn.x||vn.y}function DR(e){return e==="x"||e==="y"?vn[e]?null:(vn[e]=!0,()=>{vn[e]=!1}):vn.x||vn.y?null:(vn.x=vn.y=!0,()=>{vn.x=vn.y=!1})}function Wx(e,a){const i=NR(e),o=new AbortController,l={passive:!0,...a,signal:o.signal};return[i,l,()=>o.abort()]}function ly(e){return!(e.pointerType==="touch"||Jx())}function OR(e,a,i={}){const[o,l,u]=Wx(e,i),c=m=>{if(!ly(m))return;const{target:p}=m,g=a(p,m);if(typeof g!="function"||!p)return;const y=x=>{ly(x)&&(g(x),p.removeEventListener("pointerleave",y))};p.addEventListener("pointerleave",y,l)};return o.forEach(m=>{m.addEventListener("pointerenter",c,l)}),u}const eb=(e,a)=>a?e===a?!0:eb(e,a.parentElement):!1,um=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,zR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function LR(e){return zR.has(e.tagName)||e.tabIndex!==-1}const El=new WeakSet;function uy(e){return a=>{a.key==="Enter"&&e(a)}}function Td(e,a){e.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const VR=(e,a)=>{const i=e.currentTarget;if(!i)return;const o=uy(()=>
vendor: 4,193 bytes, lines 301-309
301{if(El.has(i))return;Td(i,"down");const l=uy(()=>{Td(i,"up")}),u=()=>Td(i,"cancel");i.addEventListener("keyup",l,a),i.addEventListener("blur",u,a)});i.addEventListener("keydown",o,a),i.addEventListener("blur",()=>i.removeEventListener("keydown",o),a)};function cy(e){return um(e)&&!Jx()}function PR(e,a,i={}){const[o,l,u]=Wx(e,i),c=m=>{const p=m.currentTarget;if(!cy(m))return;El.add(p);const g=a(p,m),y=(S,C)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",b),El.has(p)&&El.delete(p),cy(S)&&typeof g=="function"&&g(S,{success:C})},x=S=>{y(S,p===window||p===document||i.useGlobalTarget||eb(p,S.target))},b=S=>{y(S,!1)};window.addEventListener("pointerup",x,l),window.addEventListener("pointercancel",b,l)};return o.forEach(m=>{(i.useGlobalTarget?window:m).addEventListener("pointerdown",c,l),Zx(m)&&(m.addEventListener("focus",g=>VR(g,l)),!LR(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),u}function tb(e){return mx(e)&&"ownerSVGElement"in e}function qR(e){return tb(e)&&e.tagName==="svg"}const Mt=e=>!!(e&&e.getVelocity),BR=[...Yx,mt,Da],UR=e=>BR.find(Ix(e)),cm=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class HR extends T.Component{getSnapshotBeforeUpdate(a){const i=this.props.childRef.current;if(i&&a.isPresent&&!this.props.isPresent){const o=i.offsetParent,l=Zx(o)&&o.offsetWidth||0,u=this.props.sizeRef.current;u.height=i.offsetHeight||0,u.width=i.offsetWidth||0,u.top=i.offsetTop,u.left=i.offsetLeft,u.right=l-u.width-u.left}return null}componentDidUpdate(){}render(){return this.props.children}}function $R({children:e,isPresent:a,anchorX:i,root:o}){const l=T.useId(),u=T.useRef(null),c=T.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:m}=T.useContext(cm);return T.useInsertionEffect(()=>{const{width:p,height:g,top:y,left:x,right:b}=c.current;if(a||!u.current||!p||!g)return;const S=i==="left"?`left: ${x}`:`right: ${b}`;u.current.dataset.motionPopId=l;const C=document.createElement("style");m&&(C.nonce=m);const E=o??document.head;return E.appendChild(C),C.sheet&&C.sheet.insertRule(` 302 [data-motion-pop-id="${l}"] { 303 position: absolute !important; 304 width: ${p}px !important; 305 height: ${g}px !important; 306 ${S}px !important; 307 top: ${y}px !important; 308 } 309 `),()=>{E.contains(C)&&E.removeChild(C)}},[a]),h.jsx(HR,{isPresent:a,childRef:u,sizeRef:c,children:T.cloneElement(e,{ref:u})})}const GR=({children:e,initial:a,isPresent:i,onExitComplete:o,custom:l,presenceAffectsLayout:u,mode:c,anchorX:m,root:p})=>{const g=Uf(FR),y=T.useId();let x=!0,b=T.useMemo(()=>(x=!1,{id:y,initial:a,isPresent:i,custom:l,onExitComplete:S=>{g.set(S,!0);for(const C of g.values())if(!C)return;o&&o()},register:S=>(g.set(S,!1),()=>g.delete(S))}),[i,g,o]);return u&&x&&(b={...b}),T.useMemo(()=>{g.forEach((S,C)=>g.set(C,!1))},[i]),T.useEffect(()=>{!i&&!g.size&&o&&o()},[i]),c==="popLayout"&&(e=h.jsx($R,{isPresent:i,anchorX:m,root:p,children:e})),h.jsx(Hl.Provider,{value:b,children:e})};function FR(){return new Map}function nb(e=!0){const a=T.useContext(Hl);if(a===null)return[!0,null];const{isPresent:i,onExitComplete:o,register:l}=a,u=T.useId();T.useEffect(()=>{if(e)return l(u)},[e]);const c=T.useCallback(()=>e&&o&&o(u),[u,o,e]);return!i&&o?[!1,c]:[!0]}const vl=e=>e.key||"";function dy(e){const a=[];return T.Children.forEach(e,i=>{T.isValidElement(i)&&a.push(i)}),a}const IR=({children:e,custom:a,initial:i=!0,onExitComplete:o,presenceAffectsLayout:l=!0,mode:u="sync",propagate:c=!1,anchorX:m="left",root:p})=>{const[g,y]=nb(c),x=T.useMemo(()=>dy(e),[e]),b=c&&!g?[]:x.map(vl),S=T.useRef(!0),C=T.useRef(x),E=Uf(()=>new Map),[j,R]=T.useState(x),[N,_]=T.useState(x);dx(()=>{S.current=!1,C.current=x;for(let X=0;X<N.length;X++){const U=vl(N[X]);b.includes(U)?E.delete(U):E.get(U)!==!0&&E.set(U,!1)}},[N,b.length,b.join("-")]);const z=[];if(x!==j){let X=[...x];for(let U=0;U<N.length;U++){const V=N[U],F=vl(V);b.includes(F)||(X.splice(U,0,V),z.push(V))}return u==="wait"&&z.length&&(X=z),_(dy(X)),R(x),null}const{forceRender:D}=T.useContext(Bf);return h.jsx(h.Fragment,{children:N.map(X=>{const U=vl(X),V=c&&!g?!1:x===N||b.includes(U),F=()=>
vendor: 4,145 bytes, line 309
309{if(E.has(U))E.set(U,!0);else return;let Z=!0;E.forEach(ge=>{ge||(Z=!1)}),Z&&(D==null||D(),_(C.current),c&&(y==null||y()),o&&o())};return h.jsx(GR,{isPresent:V,initial:!S.current||i?void 0:!1,custom:a,presenceAffectsLayout:l,mode:u,root:p,onExitComplete:V?void 0:F,anchorX:m,children:X},U)})})},ab=T.createContext({strict:!1}),fy={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"]},ss={};for(const e in fy)ss[e]={isEnabled:a=>fy[e].some(i=>!!a[i])};function YR(e){for(const a in e)ss[a]={...ss[a],...e[a]}}const XR=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 Dl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||XR.has(e)}let ib=e=>!Dl(e);function KR(e){typeof e=="function"&&(ib=a=>a.startsWith("on")?!Dl(a):e(a))}try{KR(require("@emotion/is-prop-valid").default)}catch{}function QR(e,a,i){const o={};for(const l in e)l==="values"&&typeof e.values=="object"||(ib(l)||i===!0&&Dl(l)||!a&&!Dl(l)||e.draggable&&l.startsWith("onDrag"))&&(o[l]=e[l]);return o}const $l=T.createContext({});function Gl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function zo(e){return typeof e=="string"||Array.isArray(e)}const dm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],fm=["initial",...dm];function Fl(e){return Gl(e.animate)||fm.some(a=>zo(e[a]))}function sb(e){return!!(Fl(e)||e.variants)}function ZR(e,a){if(Fl(e)){const{initial:i,animate:o}=e;return{initial:i===!1||zo(i)?i:void 0,animate:zo(o)?o:void 0}}return e.inherit!==!1?a:{}}function JR(e){const{initial:a,animate:i}=ZR(e,T.useContext($l));return T.useMemo(()=>({initial:a,animate:i}),[my(a),my(i)])}function my(e){return Array.isArray(e)?e.join(" "):e}const Lo={};function WR(e){for(const a in e)Lo[a]=e[a],Qf(a)&&(Lo[a].isCSSVariable=!0)}function ob(e,{layout:a,layoutId:i}){return ds.has(e)||e.startsWith("origin")||(a||i!==void 0)&&(!!Lo[e]||e==="opacity")}const ej={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tj=cs.length;function nj(e,a,i){let o="",l=!0;for(let u=0;u<tj;u++){const c=cs[u],m=e[c];if(m===void 0)continue;let p=!0;if(typeof m=="number"?p=m===(c.startsWith("scale")?1:0):p=parseFloat(m)===0,!p||i){const g=Qx(m,rm[c]);if(!p){l=!1;const y=ej[c]||c;o+=`${y}(${g}) `}i&&(a[c]=g)}}return o=o.trim(),i?o=i(a,l?"":o):l&&(o="none"),o}function mm(e,a,i){const{style:o,vars:l,transformOrigin:u}=e;let c=!1,m=!1;for(const p in a){const g=a[p];if(ds.has(p)){c=!0;continue}else if(Qf(p)){l[p]=g;continue}else{const y=Qx(g,rm[p]);p.startsWith("origin")?(m=!0,u[p]=y):o[p]=y}}if(a.transform||(c||i?o.transform=nj(a,e.transform,i):o.transform&&(o.transform="none")),m){const{originX:p="50%",originY:g="50%",originZ:y=0}=u;o.transformOrigin=`${p} ${g} ${y}`}}const hm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rb(e,a,i){for(const o in a)!Mt(a[o])&&!ob(o,i)&&(e[o]=a[o])}function aj({transformTemplate:e},a){return T.useMemo(()=>{const i=hm();return mm(i,a,e),Object.assign({},i.vars,i.style)},[a])}function ij(e,a){const i=e.style||{},o={};return rb(o,i,e),Object.assign(o,aj(e,a)),o}function sj(e,a){const i={},o=ij(e,a);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
309`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i}const oj={offset:"stroke-dashoffset",array:"stroke-dasharray"},rj={offset:"strokeDashoffset",array:"strokeDasharray"};function lj(e,a,i=1,o=0,l=!0){e.pathLength=1;const u=l?oj:rj;e[u.offset]=me.transform(-o);const c=me.transform(a),m=me.transform(i);e[u.array]=`${c} ${m}`}function lb(e,{attrX:a,attrY:i,attrScale:o,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...m},p,g,y){if(mm(e,m,g),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:x,style:b}=e;x.transform&&(b.transform=x.transform,delete x.transform),(b.transform||x.transformOrigin)&&(b.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),b.transform&&(b.transformBox=(y==null?void 0:y.transformBox)??"fill-box",delete x.transformBox),a!==void 0&&(x.x=a),i!==void 0&&(x.y=i),o!==void 0&&(x.scale=o),l!==void 0&&lj(x,l,u,c,!1)}const ub=()=>({...hm(),attrs:{}}),cb=e=>typeof e=="string"&&e.toLowerCase()==="svg";function uj(e,a,i,o){const l=T.useMemo(()=>{const u=ub();return lb(u,a,cb(o),e.transformTemplate,e.style),{...u.attrs,style:{...u.style}}},[a]);if(e.style){const u={};rb(u,e.style,e),l.style={...u,...l.style}}return l}const cj=["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 pm(e){return typeof e!="string"||e.includes("-")?!1:!!(cj.indexOf(e)>-1||/[A-Z]/u.test(e))}function dj(e,a,i,{latestValues:o},l,u=!1){const m=(pm(e)?uj:sj)(a,o,l,e),p=QR(a,typeof e=="string",u),g=e!==T.Fragment?{...p,...m,ref:i}:{},{children:y}=a,x=T.useMemo(()=>Mt(y)?y.get():y,[y]);return T.createElement(e,{...g,children:x})}function hy(e){const a=[{},{}];return e==null||e.values.forEach((i,o)=>{a[0][o]=i.get(),a[1][o]=i.getVelocity()}),a}function gm(e,a,i,o){if(typeof a=="function"){const[l,u]=hy(o);a=a(i!==void 0?i:e.custom,l,u)}if(typeof a=="string"&&(a=e.variants&&e.variants[a]),typeof a=="function"){const[l,u]=hy(o);a=a(i!==void 0?i:e.custom,l,u)}return a}function _l(e){return Mt(e)?e.get():e}function fj({scrapeMotionValuesFromProps:e,createRenderState:a},i,o,l){return{latestValues:mj(i,o,l,e),renderState:a()}}function mj(e,a,i,o){const l={},u=o(e,{});for(const b in u)l[b]=_l(u[b]);let{initial:c,animate:m}=e;const p=Fl(e),g=sb(e);a&&g&&!p&&e.inherit!==!1&&(c===void 0&&(c=a.initial),m===void 0&&(m=a.animate));let y=i?i.initial===!1:!1;y=y||c===!1;const x=y?m:c;if(x&&typeof x!="boolean"&&!Gl(x)){const b=Array.isArray(x)?x:[x];for(let S=0;S<b.length;S++){const C=gm(e,b[S]);if(C){const{transitionEnd:E,transition:j,...R}=C;for(const N in R){let _=R[N];if(Array.isArray(_)){const z=y?_.length-1:0;_=_[z]}_!==null&&(l[N]=_)}for(const N in E)l[N]=E[N]}}}return l}const db=e=>(a,i)=>{const o=T.useContext($l),l=T.useContext(Hl),u=()=>fj(e,a,o,l);return i?u():Uf(u)};function ym(e,a,i){var u;const{style:o}=e,l={};for(const c in o)(Mt(o[c])||a.style&&Mt(a.style[c])||ob(c,e)||((u=i==null?void 0:i.getValue(c))==null?void 0:u.liveStyle)!==void 0)&&(l[c]=o[c]);return l}const hj=db({scrapeMotionValuesFromProps:ym,createRenderState:hm});function fb(e,a,i){const o=ym(e,a,i);for(const l in e)if(Mt(e[l])||Mt(a[l])){const u=cs.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;o[u]=e[l]}return o}const pj=db({scrapeMotionValuesFromProps:fb,createRenderState:ub}),gj=Symbol.for("motionComponentSymbol");function Ji(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function yj(e,a,i){return T.useCallback(o=>{o&&e.onMount&&e.onMount(o),a&&(o?a.mount(o):a.unmount()),i&&(typeof i=="function"?i(o):Ji(i)&&(i.current=o))},[a])}const vm=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),vj="framerAppearId",mb="data-"+vm(vj),hb=T.createContext({});function xj(e,a,i,o,l){var E,j;const{visualElement:u}=T.useContext($l),c=T.useContext(ab),m=T.useContext(Hl),p=T.useContext(cm).reducedMotion,g=T.useRef(null);o=o||c.renderer,!g.current&&o&&(g.current=o(e,{visualState:a,parent:u,props:i,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:p}));const y=g.current,x=T.useContext(hb);y&&!y.projection&&l&&(y.type==="html"||y.type==="svg")&&bj(g.current,i,l,x);const b=T.useRef(!1);T.useInsertionEffect(()=>{y&&b.current&&y.update(i,m)});const S=i[mb],C=T.useRef(!!S&&!((E=window.MotionHandoffIsComplete)!=null&&E.call(window,S))&&((j=window.MotionHasOptimisedAnimation)==null?void 0:j.call(window,S)));return dx(()=>{y&&(b.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),C.current&&y.animationState&&y.animationState.animateChanges())}),T.useEffect(()=>{y&&(!C.current&&y.animationState&&y.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var R;(R=window.MotionHandoffMarkAsComplete)==null||R.call(window,S)}),C.current=!1),y.enteringChildren=void 0)}),y}function bj(e,a,i,o){const{layoutId:l,layout:u,drag:c,dragConstraints:m,layoutScroll:p,layoutRoot:g,layoutCrossfade:y}=a;e.projection=new i(e.latestValues,a["data-framer-portal-id"]?void 0:pb(e.parent)),e.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!c||m&&Ji(m),visualElement:e,animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,crossfade:y,layoutScroll:p,layoutRoot:g})}function pb(e){if(e)return e.options.allowProjection!==!1?e.projection:pb(e.parent)}function Ed(e,{forwardMotionProps:a=!1}={},i,o){i&&YR(i);const l=pm(e)?pj:hj;function u(m,p){let g;const y={...T.useContext(cm),...m,layoutId:Sj(m)},{isStatic:x}=y,b=JR(m),S=l(m,x);if(!x&&Hf){wj();const C=Cj(y);g=C.MeasureLayout,b.visualElement=xj(e,S,y,o,C.ProjectionNode)}return h.jsxs($l.Provider,{value:b,children:[g&&b.visualElement?h.jsx(g,{visualElement:b.visualElement,...y}):null,dj(e,m,yj(S,b.visualElement,p),S,x,a)]})}u.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=T.forwardRef(u);return c[gj]=e,c}function Sj({layoutId:e}){const a=T.useContext(Bf).id;return a&&e!==void 0?a+"-"+e:e}function wj(e,a){T.useContext(ab).strict}function Cj(e){const{drag:a,layout:i}=ss;if(!a&&!i)return{};const o={...a,...i};return{MeasureLayout:a!=null&&a.isEnabled(e)||i!=null&&i.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}
vendor: 15,292 bytes, line 309
309function Tj(e,a){if(typeof Proxy>"u")return Ed;const i=new Map,o=(u,c)=>Ed(u,c,e,a),l=(u,c)=>o(u,c);return new Proxy(l,{get:(u,c)=>c==="create"?o:(i.has(c)||i.set(c,Ed(c,void 0,e,a)),i.get(c))})}function gb({top:e,left:a,right:i,bottom:o}){return{x:{min:a,max:i},y:{min:e,max:o}}}function Ej({x:e,y:a}){return{top:a.min,right:e.max,bottom:a.max,left:e.min}}function _j(e,a){if(!a)return e;const i=a({x:e.left,y:e.top}),o=a({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:o.y,right:o.x}}function _d(e){return e===void 0||e===1}function hf({scale:e,scaleX:a,scaleY:i}){return!_d(e)||!_d(a)||!_d(i)}function ti(e){return hf(e)||yb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function yb(e){return py(e.x)||py(e.y)}function py(e){return e&&e!=="0%"}function Ol(e,a,i){const o=e-i,l=a*o;return i+l}function gy(e,a,i,o,l){return l!==void 0&&(e=Ol(e,l,o)),Ol(e,i,o)+a}function pf(e,a=0,i=1,o,l){e.min=gy(e.min,a,i,o,l),e.max=gy(e.max,a,i,o,l)}function vb(e,{x:a,y:i}){pf(e.x,a.translate,a.scale,a.originPoint),pf(e.y,i.translate,i.scale,i.originPoint)}const yy=.999999999999,vy=1.0000000000001;function Rj(e,a,i,o=!1){const l=i.length;if(!l)return;a.x=a.y=1;let u,c;for(let m=0;m<l;m++){u=i[m],c=u.projectionDelta;const{visualElement:p}=u.options;p&&p.props.style&&p.props.style.display==="contents"||(o&&u.options.layoutScroll&&u.scroll&&u!==u.root&&es(e,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),c&&(a.x*=c.x.scale,a.y*=c.y.scale,vb(e,c)),o&&ti(u.latestValues)&&es(e,u.latestValues))}a.x<vy&&a.x>yy&&(a.x=1),a.y<vy&&a.y>yy&&(a.y=1)}function Wi(e,a){e.min=e.min+a,e.max=e.max+a}function xy(e,a,i,o,l=.5){const u=nt(e.min,e.max,l);pf(e,a,i,u,o)}function es(e,a){xy(e.x,a.x,a.scaleX,a.scale,a.originX),xy(e.y,a.y,a.scaleY,a.scale,a.originY)}function xb(e,a){return gb(_j(e.getBoundingClientRect(),a))}function jj(e,a,i){const o=xb(e,i),{scroll:l}=a;return l&&(Wi(o.x,l.offset.x),Wi(o.y,l.offset.y)),o}const by=()=>({translate:0,scale:1,origin:0,originPoint:0}),ts=()=>({x:by(),y:by()}),Sy=()=>({min:0,max:0}),ct=()=>({x:Sy(),y:Sy()}),gf={current:null},bb={current:!1};function Aj(){if(bb.current=!0,!!Hf)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),a=()=>gf.current=e.matches;e.addEventListener("change",a),a()}else gf.current=!1}const Nj=new WeakMap;function Mj(e,a,i){for(const o in a){const l=a[o],u=i[o];if(Mt(l))e.addValue(o,l);else if(Mt(u))e.addValue(o,is(l,{owner:e}));else if(u!==l)if(e.hasValue(o)){const c=e.getValue(o);c.liveStyle===!0?c.jump(l):c.hasAnimated||c.set(l)}else{const c=e.getStaticValue(o);e.addValue(o,is(c!==void 0?c:l,{owner:e}))}}for(const o in i)a[o]===void 0&&e.removeValue(o);return a}const wy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class kj{scrapeMotionValuesFromProps(a,i,o){return{}}constructor({parent:a,props:i,presenceContext:o,reducedMotionConfig:l,blockInitialAnimation:u,visualState:c},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=sm,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 b=Ut.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,We.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=c;this.latestValues=p,this.baseTarget={...p},this.initialValues=i.initial?{...p}:{},this.renderState=g,this.parent=a,this.props=i,this.presenceContext=o,this.depth=a?a.depth+1:0,this.reducedMotionConfig=l,this.options=m,this.blockInitialAnimation=!!u,this.isControllingVariants=Fl(i),this.isVariantNode=sb(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:y,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const b in x){const S=x[b];p[b]!==void 0&&Mt(S)&&S.set(p[b])}}mount(a){var i;this.current=a,Nj.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,l)=>this.bindToMotionValue(l,o)),bb.current||Aj(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:gf.current,(i=this.parent)==null||i.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var a;this.projection&&this.projection.unmount(),ka(this.notifyUpdate),ka(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(a=this.parent)==null||a.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const o=this.features[i];o&&(o.unmount(),o.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,i){this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)();const o=ds.has(a);o&&this.onBindTransform&&this.onBindTransform();const l=i.on("change",c=>{this.latestValues[a]=c,this.props.onUpdate&&We.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,a,i)),this.valueSubscriptions.set(a,()=>{l(),u&&u(),i.owner&&i.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in ss){const i=ss[a];if(!i)continue;const{isEnabled:o,Feature:l}=i;if(!this.features[a]&&l&&o(this.props)&&(this.features[a]=new l(this)),this.features[a]){const u=this.features[a];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ct()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,i){this.latestValues[a]=i}update(a,i){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let o=0;o<wy.length;o++){const l=wy[o];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,c=a[u];c&&(this.propEventSubscriptions[l]=this.on(l,c))}this.prevMotionValues=Mj(this,this.scrapeMotionValuesFromProps(a,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]: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(a){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(a),()=>i.variantChildren.delete(a)}addValue(a,i){const o=this.values.get(a);i!==o&&(o&&this.removeValue(a),this.bindToMotionValue(a,i),this.values.set(a,i),this.latestValues[a]=i.get())}removeValue(a){this.values.delete(a);const i=this.valueSubscriptions.get(a);i&&(i(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,i){if(this.props.values&&this.props.values[a])return this.props.values[a];let o=this.values.get(a);return o===void 0&&i!==void 0&&(o=is(i===null?void 0:i,{owner:this}),this.addValue(a,o)),o}readValue(a,i){let o=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return o!=null&&(typeof o=="string"&&(fx(o)||hx(o))?o=parseFloat(o):!UR(o)&&Da.test(i)&&(o=Kx(a,i)),this.setBaseTarget(a,Mt(o)?o.get():o)),Mt(o)?o.get():o}setBaseTarget(a,i){this.baseTarget[a]=i}getBaseTarget(a){var u;const{initial:i}=this.props;let o;if(typeof i=="string"||typeof i=="object"){const c=gm(this.props,i,(u=this.presenceContext)==null?void 0:u.custom);c&&(o=c[a])}if(i&&o!==void 0)return o;const l=this.getBaseTargetFromProps(this.props,a);return l!==void 0&&!Mt(l)?l:this.initialValues[a]!==void 0&&o===void 0?void 0:this.baseTarget[a]}on(a,i){return this.events[a]||(this.events[a]=new Yf),this.events[a].add(i)}notify(a,...i){this.events[a]&&this.events[a].notify(...i)}scheduleRenderMicrotask(){lm.render(this.render)}}class Sb extends kj{constructor(){super(...arguments),this.KeyframeResolver=AR}sortInstanceNodePosition(a,i){return a.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(a,i){return a.style?a.style[i]:void 0}removeValueFromRenderState(a,{vars:i,style:o}){delete i[a],delete o[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;Mt(a)&&(this.childSubscription=a.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function wb(e,{style:a,vars:i},o,l){const u=e.style;let c;for(c in a)u[c]=a[c];l==null||l.applyProjectionStyles(u,o);for(c in i)u.setProperty(c,i[c])}function Dj(e){return window.getComputedStyle(e)}class Oj extends Sb{constructor(){super(...arguments),this.type="html",this.renderInstance=wb}readValueFromInstance(a,i){var o;if(ds.has(i))return(o=this.projection)!=null&&o.isProjecting?rf(i):X_(a,i);{const l=Dj(a),u=(Qf(i)?l.getPropertyValue(i):l[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(a,{transformPagePoint:i}){return xb(a,i)}build(a,i,o){mm(a,i,o.transformTemplate)}scrapeMotionValuesFromProps(a,i,o){return ym(a,i,o)}}const Cb=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 zj(e,a,i,o){wb(e,a,void 0,o);for(const l in a.attrs)e.setAttribute(Cb.has(l)?l:vm(l),a.attrs[l])}class Lj extends Sb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ct}getBaseTargetFromProps(a,i){return a[i]}readValueFromInstance(a,i){if(ds.has(i)){const o=Xx(i);return o&&o.default||0}return i=Cb.has(i)?i:vm(i),a.getAttribute(i)}scrapeMotionValuesFromProps(a,i,o){return fb(a,i,o)}build(a,i,o){lb(a,i,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(a,i,o,l){zj(a,i,o,l)}mount(a){this.isSVGTag=cb(a.tagName),super.mount(a)}}const Vj=(e,a)=>pm(e)?new Lj(a):new Oj(a,{allowProjection:e!==T.Fragment});function as(e,a,i){const o=e.getProps();return gm(o,a,i!==void 0?i:o.custom,e)}const yf=e=>Array.isArray(e);function Pj(e,a,i){e.hasValue(a)?e.getValue(a).set(i):e.addValue(a,is(i))}function qj(e){return yf(e)?e[e.length-1]||0:e}function Bj(e,a){const i=as(e,a);let{transitionEnd:o={},transition:l={},...u}=i||{};u={...u,...o};for(const c in u){const m=qj(u[c]);Pj(e,c,m)}}function Uj(e){return!!(Mt(e)&&e.add)}function vf(e,a){const i=e.getValue("willChange");if(Uj(i))return i.add(a);if(!i&&ta.WillChange){const o=new ta.WillChange("auto");e.addValue("willChange",o),o.add(a)}}function Tb(e){return e.props[mb]}const Hj=e=>e!==null;function $j(e,{repeat:a,repeatType:i="loop"},o){const l=e.filter(Hj),u=a&&i!=="loop"&&a%2===1?0:l.length-1;return l[u]}const Gj={type:"spring",stiffness:500,damping:25,restSpeed:10},Fj=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Ij={type:"keyframes",duration:.8},Yj={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Xj=(e,{keyframes:a})=>a.length>2?Ij:ds.has(e)?e.startsWith("scale")?Fj(a[1]):Gj:Yj;function Kj({when:e,delay:a,delayChildren:i,staggerChildren:o,staggerDirection:l,repeat:u,repeatType:c,repeatDelay:m,from:p,elapsed:g,...y}){return!!Object.keys(y).length}const xm=(e,a,i,o={},l,u)=>c=>{const m=om(o,e)||{},p=m.delay||o.delay||0;let{elapsed:g=0}=o;g=g-jn(p);const y={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:a.getVelocity(),...m,delay:-g,onUpdate:b=>{a.set(b),m.onUpdate&&m.onUpdate(b)},onComplete:()=>{c(),m.onComplete&&m.onComplete()},name:e,motionValue:a,element:u?void 0:l};Kj(m)||Object.assign(y,Xj(e,y)),y.duration&&(y.duration=jn(y.duration)),y.repeatDelay&&(y.repeatDelay=jn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let x=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(ff(y),y.delay===0&&(x=!0)),(ta.instantAnimations||ta.skipAnimations)&&(x=!0,ff(y),y.delay=0),y.allowFlatten=!m.type&&!m.ease,x&&!u&&a.get()!==void 0){const b=$j(y.keyframes,m);if(b!==void 0){We.update(()=>{y.onUpdate(b),y.onComplete()});return}}return m.isSync?new im(y):new yR(y)};function Qj({protectedKeys:e,needsAnimating:a},i){const o=e.hasOwnProperty(i)&&a[i]!==!0;return a[i]=!1,o}function Eb(e,a,{delay:i=0,transitionOverride:o,type:l}={}){let{transition:u=e.getDefaultTransition(),transitionEnd:c,...m}=a;o&&(u=o);const p=[],g=l&&e.animationState&&e.animationState.getState()[l];for(const y in m){const x=e.getValue(y,e.latestValues[y]??null),b=m[y];if(b===void 0||g&&Qj(g,y))continue;const S={delay:i,...om(u||{},y)},C=x.get();if(C!==void 0&&!x.isAnimating&&!Array.isArray(b)&&b===C&&!S.velocity)continue;let E=!1;if(window.MotionHandoffAnimation){const R=Tb(e);if(R){const N=window.MotionHandoffAnimation(R,y,We);N!==null&&(S.startTime=N,E=!0)}}vf(e,y),x.start(xm(y,x,b,e.shouldReduceMotion&&Fx.has(y)?{type:!1}:S,e,E));const j=x.animation;j&&p.push(j)}return c&&Promise.all(p).then(()=>{We.update(()=>{c&&Bj(e,c)})}),p}function _b(e,a,i,o=0,l=1){const u=Array.from(e).sort((g,y)=>g.sortNodePosition(y)).indexOf(a),c=e.size,m=(c-1)*o;return typeof i=="function"?i(u,c):l===1?u*o:m-u*o}function xf(e,a,i={}){var p;const o=as(e,a,i.type==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=o||{};i.transitionOverride&&(l=i.transitionOverride);const u=o?()=>Promise.all(Eb(e,o,i)):()=>Promise.resolve(),c=e.variantChildren&&e.variantChildren.size?(g=0)=>{const{delayChildren:y=0,staggerChildren:x,staggerDirection:b}=l;return Zj(e,a,g,y,x,b,i)}:()=>Promise.resolve(),{when:m}=l;if(m){const[g,y]=m==="beforeChildren"?[u,c]:[c,u];return g().then(()=>y())}else return Promise.all([u(),c(i.delay)])}function Zj(e,a,i=0,o=0,l=0,u=1,c){const m=[];for(const p of e.variantChildren)p.notify("AnimationStart",a),m.push(xf(p,a,{...c,delay:i+(typeof o=="function"?0:o)+_b(e.variantChildren,p,o,l,u)}).then(()=>p.notify("AnimationComplete",a)));return Promise.all(m)}function Jj(e,a,i={}){e.notify("AnimationStart",a);let o;if(Array.isArray(a)){const l=a.map(u=>
vendor: 24,762 bytes, line 309
309xf(e,u,i));o=Promise.all(l)}else if(typeof a=="string")o=xf(e,a,i);else{const l=typeof a=="function"?as(e,a,i.custom):a;o=Promise.all(Eb(e,l,i))}return o.then(()=>{e.notify("AnimationComplete",a)})}function Rb(e,a){if(!Array.isArray(a))return!1;const i=a.length;if(i!==e.length)return!1;for(let o=0;o<i;o++)if(a[o]!==e[o])return!1;return!0}const Wj=fm.length;function jb(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?jb(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const a={};for(let i=0;i<Wj;i++){const o=fm[i],l=e.props[o];(zo(l)||l===!1)&&(a[o]=l)}return a}const eA=[...dm].reverse(),tA=dm.length;function nA(e){return a=>Promise.all(a.map(({animation:i,options:o})=>Jj(e,i,o)))}function aA(e){let a=nA(e),i=Cy(),o=!0;const l=p=>(g,y)=>{var b;const x=as(e,y,p==="exit"?(b=e.presenceContext)==null?void 0:b.custom:void 0);if(x){const{transition:S,transitionEnd:C,...E}=x;g={...g,...E,...C}}return g};function u(p){a=p(e)}function c(p){const{props:g}=e,y=jb(e.parent)||{},x=[],b=new Set;let S={},C=1/0;for(let j=0;j<tA;j++){const R=eA[j],N=i[R],_=g[R]!==void 0?g[R]:y[R],z=zo(_),D=R===p?N.isActive:null;D===!1&&(C=j);let X=_===y[R]&&_!==g[R]&&z;if(X&&o&&e.manuallyAnimateOnMount&&(X=!1),N.protectedKeys={...S},!N.isActive&&D===null||!_&&!N.prevProp||Gl(_)||typeof _=="boolean")continue;const U=iA(N.prevProp,_);let V=U||R===p&&N.isActive&&!X&&z||j>C&&z,F=!1;const Z=Array.isArray(_)?_:[_];let ge=Z.reduce(l(R),{});D===!1&&(ge={});const{prevResolvedValues:xe={}}=N,Xe={...xe,...ge},et=K=>{V=!0,b.has(K)&&(F=!0,b.delete(K)),N.needsAnimating[K]=!0;const $=e.getValue(K);$&&($.liveStyle=!1)};for(const K in Xe){const $=ge[K],de=xe[K];if(S.hasOwnProperty(K))continue;let M=!1;yf($)&&yf(de)?M=!Rb($,de):M=$!==de,M?$!=null?et(K):b.add(K):$!==void 0&&b.has(K)?et(K):N.protectedKeys[K]=!0}N.prevProp=_,N.prevResolvedValues=ge,N.isActive&&(S={...S,...ge}),o&&e.blockInitialAnimation&&(V=!1);const Ne=X&&U;V&&(!Ne||F)&&x.push(...Z.map(K=>{const $={type:R};if(typeof K=="string"&&o&&!Ne&&e.manuallyAnimateOnMount&&e.parent){const{parent:de}=e,M=as(de,K);if(de.enteringChildren&&M){const{delayChildren:Y}=M.transition||{};$.delay=_b(de.enteringChildren,e,Y)}}return{animation:K,options:$}}))}if(b.size){const j={};if(typeof g.initial!="boolean"){const R=as(e,Array.isArray(g.initial)?g.initial[0]:g.initial);R&&R.transition&&(j.transition=R.transition)}b.forEach(R=>{const N=e.getBaseTarget(R),_=e.getValue(R);_&&(_.liveStyle=!0),j[R]=N??null}),x.push({animation:j})}let E=!!x.length;return o&&(g.initial===!1||g.initial===g.animate)&&!e.manuallyAnimateOnMount&&(E=!1),o=!1,E?a(x):Promise.resolve()}function m(p,g){var x;if(i[p].isActive===g)return Promise.resolve();(x=e.variantChildren)==null||x.forEach(b=>{var S;return(S=b.animationState)==null?void 0:S.setActive(p,g)}),i[p].isActive=g;const y=c(p);for(const b in i)i[b].protectedKeys={};return y}return{animateChanges:c,setActive:m,setAnimateFunction:u,getState:()=>i,reset:()=>{i=Cy(),o=!0}}}function iA(e,a){return typeof a=="string"?a!==e:Array.isArray(a)?!Rb(a,e):!1}function Wa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Cy(){return{animate:Wa(!0),whileInView:Wa(),whileHover:Wa(),whileTap:Wa(),whileDrag:Wa(),whileFocus:Wa(),exit:Wa()}}class Oa{constructor(a){this.isMounted=!1,this.node=a}update(){}}class sA extends Oa{constructor(a){super(a),a.animationState||(a.animationState=aA(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();Gl(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:i}=this.node.prevProps||{};a!==i&&this.updateAnimationControlsSubscription()}unmount(){var a;this.node.animationState.reset(),(a=this.unmountControls)==null||a.call(this)}}let oA=0;class rA extends Oa{constructor(){super(...arguments),this.id=oA++}update(){if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===o)return;const l=this.node.animationState.setActive("exit",!a);i&&!a&&l.then(()=>{i(this.id)})}mount(){const{register:a,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const lA={animation:{Feature:sA},exit:{Feature:rA}};function Vo(e,a,i,o={passive:!0}){return e.addEventListener(a,i,o),()=>e.removeEventListener(a,i)}function Ko(e){return{point:{x:e.pageX,y:e.pageY}}}const uA=e=>a=>um(a)&&e(a,Ko(a));function Eo(e,a,i,o){return Vo(e,a,uA(i),o)}const Ab=1e-4,cA=1-Ab,dA=1+Ab,Nb=.01,fA=0-Nb,mA=0+Nb;function zt(e){return e.max-e.min}function hA(e,a,i){return Math.abs(e-a)<=i}function Ty(e,a,i,o=.5){e.origin=o,e.originPoint=nt(a.min,a.max,e.origin),e.scale=zt(i)/zt(a),e.translate=nt(i.min,i.max,e.origin)-e.originPoint,(e.scale>=cA&&e.scale<=dA||isNaN(e.scale))&&(e.scale=1),(e.translate>=fA&&e.translate<=mA||isNaN(e.translate))&&(e.translate=0)}function _o(e,a,i,o){Ty(e.x,a.x,i.x,o?o.originX:void 0),Ty(e.y,a.y,i.y,o?o.originY:void 0)}function Ey(e,a,i){e.min=i.min+a.min,e.max=e.min+zt(a)}function pA(e,a,i){Ey(e.x,a.x,i.x),Ey(e.y,a.y,i.y)}function _y(e,a,i){e.min=a.min-i.min,e.max=e.min+zt(a)}function Ro(e,a,i){_y(e.x,a.x,i.x),_y(e.y,a.y,i.y)}function dn(e){return[e("x"),e("y")]}const Mb=({current:e})=>e?e.ownerDocument.defaultView:null,Ry=(e,a)=>Math.abs(e-a);function gA(e,a){const i=Ry(e.x,a.x),o=Ry(e.y,a.y);return Math.sqrt(i**2+o**2)}class kb{constructor(a,i,{transformPagePoint:o,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:c=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=jd(this.lastMoveEventInfo,this.history),S=this.startEvent!==null,C=gA(b.offset,{x:0,y:0})>=this.distanceThreshold;if(!S&&!C)return;const{point:E}=b,{timestamp:j}=_t;this.history.push({...E,timestamp:j});const{onStart:R,onMove:N}=this.handlers;S||(R&&R(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,b)},this.handlePointerMove=(b,S)=>{this.lastMoveEvent=b,this.lastMoveEventInfo=Rd(S,this.transformPagePoint),We.update(this.updatePoint,!0)},this.handlePointerUp=(b,S)=>{this.end();const{onEnd:C,onSessionEnd:E,resumeAnimation:j}=this.handlers;if(this.dragSnapToOrigin&&j&&j(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const R=jd(b.type==="pointercancel"?this.lastMoveEventInfo:Rd(S,this.transformPagePoint),this.history);this.startEvent&&C&&C(b,R),E&&E(b,R)},!um(a))return;this.dragSnapToOrigin=u,this.handlers=i,this.transformPagePoint=o,this.distanceThreshold=c,this.contextWindow=l||window;const m=Ko(a),p=Rd(m,this.transformPagePoint),{point:g}=p,{timestamp:y}=_t;this.history=[{...g,timestamp:y}];const{onSessionStart:x}=i;x&&x(a,jd(p,this.history)),this.removeListeners=Io(Eo(this.contextWindow,"pointermove",this.handlePointerMove),Eo(this.contextWindow,"pointerup",this.handlePointerUp),Eo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),ka(this.updatePoint)}}function Rd(e,a){return a?{point:a(e.point)}:e}function jy(e,a){return{x:e.x-a.x,y:e.y-a.y}}function jd({point:e},a){return{point:e,delta:jy(e,Db(a)),offset:jy(e,yA(a)),velocity:vA(a,.1)}}function yA(e){return e[0]}function Db(e){return e[e.length-1]}function vA(e,a){if(e.length<2)return{x:0,y:0};let i=e.length-1,o=null;const l=Db(e);for(;i>=0&&(o=e[i],!(l.timestamp-o.timestamp>jn(a)));)i--;if(!o)return{x:0,y:0};const u=An(l.timestamp-o.timestamp);if(u===0)return{x:0,y:0};const c={x:(l.x-o.x)/u,y:(l.y-o.y)/u};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function xA(e,{min:a,max:i},o){return a!==void 0&&e<a?e=o?nt(a,e,o.min):Math.max(e,a):i!==void 0&&e>i&&(e=o?nt(i,e,o.max):Math.min(e,i)),e}function Ay(e,a,i){return{min:a!==void 0?e.min+a:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function bA(e,{top:a,left:i,bottom:o,right:l}){return{x:Ay(e.x,i,l),y:Ay(e.y,a,o)}}function Ny(e,a){let i=a.min-e.min,o=a.max-e.max;return a.max-a.min<e.max-e.min&&([i,o]=[o,i]),{min:i,max:o}}function SA(e,a){return{x:Ny(e.x,a.x),y:Ny(e.y,a.y)}}function wA(e,a){let i=.5;const o=zt(e),l=zt(a);return l>o?i=ko(a.min,a.max-o,e.min):o>l&&(i=ko(e.min,e.max-l,a.min)),ea(0,1,i)}function CA(e,a){const i={};return a.min!==void 0&&(i.min=a.min-e.min),a.max!==void 0&&(i.max=a.max-e.min),i}const bf=.35;function TA(e=bf){return e===!1?e=0:e===!0&&(e=bf),{x:My(e,"left","right"),y:My(e,"top","bottom")}}function My(e,a,i){return{min:ky(e,a),max:ky(e,i)}}function ky(e,a){return typeof e=="number"?e:e[a]||0}const EA=new WeakMap;class _A{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ct(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:i=!1,distanceThreshold:o}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=x=>{const{dragSnapToOrigin:b}=this.getProps();b?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(Ko(x).point)},c=(x,b)=>{const{drag:S,dragPropagation:C,onDragStart:E}=this.getProps();if(S&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=DR(S),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),dn(R=>{let N=this.getAxisMotionValue(R).get()||0;if(Nn.test(N)){const{projection:_}=this.visualElement;if(_&&_.layout){const z=_.layout.layoutBox[R];z&&(N=zt(z)*(parseFloat(N)/100))}}this.originPoint[R]=N}),E&&We.postRender(()=>E(x,b)),vf(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},m=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b;const{dragPropagation:S,dragDirectionLock:C,onDirectionLock:E,onDrag:j}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:R}=b;if(C&&this.currentDirection===null){this.currentDirection=RA(R),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",b.point,R),this.updateAxis("y",b.point,R),this.visualElement.render(),j&&j(x,b)},p=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b,this.stop(x,b),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>dn(x=>{var b;return this.getAnimationState(x)==="paused"&&((b=this.getAxisMotionValue(x).animation)==null?void 0:b.play())}),{dragSnapToOrigin:y}=this.getProps();this.panSession=new kb(a,{onSessionStart:u,onStart:c,onMove:m,onSessionEnd:p,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:o,contextWindow:Mb(this.visualElement)})}stop(a,i){const o=a||this.latestPointerEvent,l=i||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!o)return;const{velocity:c}=l;this.startAnimation(c);const{onDragEnd:m}=this.getProps();m&&We.postRender(()=>m(o,l))}cancel(){this.isDragging=!1;const{projection:a,animationState:i}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(a,i,o){const{drag:l}=this.getProps();if(!o||!xl(a,l,this.currentDirection))return;const u=this.getAxisMotionValue(a);let c=this.originPoint[a]+o[a];this.constraints&&this.constraints[a]&&(c=xA(c,this.constraints[a],this.elastic[a])),u.set(c)}resolveConstraints(){var u;const{dragConstraints:a,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(u=this.visualElement.projection)==null?void 0:u.layout,l=this.constraints;a&&Ji(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&o?this.constraints=bA(o.layoutBox,a):this.constraints=!1,this.elastic=TA(i),l!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&dn(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=CA(o.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:i}=this.getProps();if(!a||!Ji(a))return!1;const o=a.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=jj(o,l.root,this.visualElement.getTransformPagePoint());let c=SA(l.layout.layoutBox,u);if(i){const m=i(Ej(c));this.hasMutatedConstraints=!!m,m&&(c=gb(m))}return c}startAnimation(a){const{drag:i,dragMomentum:o,dragElastic:l,dragTransition:u,dragSnapToOrigin:c,onDragTransitionEnd:m}=this.getProps(),p=this.constraints||{},g=dn(y=>{if(!xl(y,i,this.currentDirection))return;let x=p&&p[y]||{};c&&(x={min:0,max:0});const b=l?200:1e6,S=l?40:1e7,C={type:"inertia",velocity:o?a[y]:0,bounceStiffness:b,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...u,...x};return this.startAxisValueAnimation(y,C)});return Promise.all(g).then(m)}startAxisValueAnimation(a,i){const o=this.getAxisMotionValue(a);return vf(this.visualElement,a),o.start(xm(a,o,0,i,this.visualElement,!1))}stopAnimation(){dn(a=>this.getAxisMotionValue(a).stop())}pauseAnimation(){dn(a=>{var i;return(i=this.getAxisMotionValue(a).animation)==null?void 0:i.pause()})}getAnimationState(a){var i;return(i=this.getAxisMotionValue(a).animation)==null?void 0:i.state}getAxisMotionValue(a){const i=`_drag${a.toUpperCase()}`,o=this.visualElement.getProps(),l=o[i];return l||this.visualElement.getValue(a,(o.initial?o.initial[a]:void 0)||0)}snapToCursor(a){dn(i=>{const{drag:o}=this.getProps();if(!xl(i,o,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(i);if(l&&l.layout){const{min:c,max:m}=l.layout.layoutBox[i];u.set(a[i]-nt(c,m,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:i}=this.getProps(),{projection:o}=this.visualElement;if(!Ji(i)||!o||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};dn(c=>{const m=this.getAxisMotionValue(c);if(m&&this.constraints!==!1){const p=m.get();l[c]=wA({min:p,max:p},this.constraints[c])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),dn(c=>{if(!xl(c,a,null))return;const m=this.getAxisMotionValue(c),{min:p,max:g}=this.constraints[c];m.set(nt(p,g,l[c]))})}addListeners(){if(!this.visualElement.current)return;EA.set(this.visualElement,this);const a=this.visualElement.current,i=Eo(a,"pointerdown",p=>{const{drag:g,dragListener:y=!0}=this.getProps();g&&y&&this.start(p)}),o=()=>{const{dragConstraints:p}=this.getProps();Ji(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,u=l.addEventListener("measure",o);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),We.read(o);const c=Vo(window,"resize",()=>this.scalePositionWithinConstraints()),m=l.addEventListener("didUpdate",({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(dn(y=>{const x=this.getAxisMotionValue(y);x&&(this.originPoint[y]+=p[y].translate,x.set(x.get()+p[y].translate))}),this.visualElement.render())});return()=>{c(),i(),u(),m&&m()}}getProps(){const a=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:o=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:c=bf,dragMomentum:m=!0}=a;return{...a,drag:i,dragDirectionLock:o,dragPropagation:l,dragConstraints:u,dragElastic:c,dragMomentum:m}}}function xl(e,a,i){return(a===!0||a===e)&&(i===null||i===e)}function RA(e,a=10){let i=null;return Math.abs(e.y)>a?i="y":Math.abs(e.x)>a&&(i="x"),i}class jA extends Oa{constructor(a){super(a),this.removeGroupControls=fn,this.removeListeners=fn,this.controls=new _A(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||fn}unmount(){this.removeGroupControls(),this.removeListeners()}}const Dy=e=>(a,i)=>{e&&We.postRender(()=>e(a,i))};class AA extends Oa{constructor(){super(...arguments),this.removePointerDownListener=fn}onPointerDown(a){this.session=new kb(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Mb(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:i,onPan:o,onPanEnd:l}=this.node.getProps();return{onSessionStart:Dy(a),onStart:Dy(i),onMove:o,onEnd:(u,c)=>{delete this.session,l&&We.postRender(()=>l(u,c))}}}mount(){this.removePointerDownListener=Eo(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Rl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Oy(e,a){return a.max===a.min?0:e/(a.max-a.min)*100}const vo={correct:(e,a)=>{if(!a.target)return e;if(typeof e=="string")if(me.test(e))e=parseFloat(e);else return e;const i=Oy(e,a.target.x),o=Oy(e,a.target.y);return`${i}% ${o}%`}},NA={correct:(e,{treeScale:a,projectionDelta:i})=>{const o=e,l=Da.parse(e);if(l.length>5)return o;const u=Da.createTransformer(e),c=typeof l[0]!="number"?1:0,m=i.x.scale*a.x,p=i.y.scale*a.y;l[0+c]/=m,l[1+c]/=p;const g=nt(m,p,.5);return typeof l[2+c]=="number"&&(l[2+c]/=g),typeof l[3+c]=="number"&&(l[3+c]/=g),u(l)}};let Ad=!1;class MA extends T.Component{componentDidMount(){const{visualElement:a,layoutGroup:i,switchLayoutGroup:o,layoutId:l}=this.props,{projection:u}=a;WR(kA),u&&(i.group&&i.group.add(u),o&&o.register&&l&&o.register(u),Ad&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),Rl.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:i,visualElement:o,drag:l,isPresent:u}=this.props,{projection:c}=o;return c&&(c.isPresent=u,Ad=!0,l||a.layoutDependency!==i||i===void 0||a.isPresent!==u?c.willUpdate():this.safeToRemove(),a.isPresent!==u&&(u?c.promote():c.relegate()||We.postRender(()=>{const m=c.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:a}=this.props.visualElement;a&&(a.root.didUpdate(),lm.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:i,switchLayoutGroup:o}=this.props,{projection:l}=a;Ad=!0,l&&(l.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(l),o&&o.deregister&&o.deregister(l))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function Ob(e){const[a,i]=nb(),o=T.useContext(Bf);return h.jsx(MA,{...e,layoutGroup:o,switchLayoutGroup:T.useContext(hb),isPresent:a,safeToRemove:i})}const kA={borderRadius:{...vo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:vo,borderTopRightRadius:vo,borderBottomLeftRadius:vo,borderBottomRightRadius:vo,boxShadow:NA};function DA(e,a,i){const o=Mt(e)?e:is(e);return o.start(xm("",o,a,i)),o.animation}const OA=(e,a)=>e.depth-a.depth;class zA{constructor(){this.children=[],this.isDirty=!1}add(a){$f(this.children,a),this.isDirty=!0}remove(a){Gf(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(OA),this.isDirty=!1,this.children.forEach(a)}}function LA(e,a){const i=Ut.now(),o=({timestamp:l})=>{const u=l-i;u>=a&&(ka(o),e(u-a))};return We.setup(o,!0),()=>ka(o)}const zb=["TopLeft","TopRight","BottomLeft","BottomRight"],VA=zb.length,zy=e=>typeof e=="string"?parseFloat(e):e,Ly=e=>typeof e=="number"||me.test(e);function PA(e,a,i,o,l,u){l?(e.opacity=nt(0,i.opacity??1,qA(o)),e.opacityExit=nt(a.opacity??1,0,BA(o))):u&&(e.opacity=nt(a.opacity??1,i.opacity??1,o));for(let c=0;c<VA;c++){const m=`border${zb[c]}Radius`;let p=Vy(a,m),g=Vy(i,m);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||Ly(p)===Ly(g)?(e[m]=Math.max(nt(zy(p),zy(g),o),0),(Nn.test(g)||Nn.test(p))&&(e[m]+="%")):e[m]=g}(a.rotate||i.rotate)&&(e.rotate=nt(a.rotate||0,i.rotate||0,o))}function Vy(e,a){return e[a]!==void 0?e[a]:e.borderRadius}const qA=Lb(0,.5,wx),BA=Lb(.5,.95,fn);function Lb(e,a,i){return o=>o<e?0:o>a?1:i(ko(e,a,o))}function Py(e,a){e.min=a.min,e.max=a.max}function cn(e,a){Py(e.x,a.x),Py(e.y,a.y)}function qy(e,a){e.translate=a.translate,e.scale=a.scale,e.originPoint=a.originPoint,e.origin=a.origin}function By(e,a,i,o,l){return e-=a,e=Ol(e,1/i,o),l!==void 0&&(e=Ol(e,1/l,o)),e}function UA(e,a=0,i=1,o=.5,l,u=e,c=e){if(Nn.test(a)&&(a=parseFloat(a),a=nt(c.min,c.max,a/100)-c.min),typeof a!="number")return;let m=nt(u.min,u.max,o);e===u&&(m-=a),e.min=By(e.min,a,i,m,l),e.max=By(e.max,a,i,m,l)}function Uy(e,a,[i,o,l],u,c){UA(e,a[i],a[o],a[l],a.scale,u,c)}const HA=["x","scaleX","originX"],$A=["y","scaleY","originY"];function Hy(e,a,i,o){Uy(e.x,a,HA,i?i.x:void 0,o?o.x:void 0),Uy(e.y,a,$A,i?i.y:void 0,o?o.y:void 0)}function $y(e){return e.translate===0&&e.scale===1}function Vb(e){return $y(e.x)&&$y(e.y)}function Gy(e,a){return e.min===a.min&&e.max===a.max}function GA(e,a){return Gy(e.x,a.x)&&Gy(e.y,a.y)}function Fy(e,a){return Math.round(e.min)===Math.round(a.min)&&Math.round(e.max)===Math.round(a.max)}function Pb(e,a){return Fy(e.x,a.x)&&Fy(e.y,a.y)}function Iy(e){return zt(e.x)/zt(e.y)}function Yy(e,a){return e.translate===a.translate&&e.scale===a.scale&&e.originPoint===a.originPoint}class FA{constructor(){this.members=[]}add(a){$f(this.members,a),a.scheduleRender()}remove(a){if(Gf(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(a){const i=this.members.findIndex(l=>a===l);if(i===0)return!1;let o;for(let l=i;l>=0;l--){const u=this.members[l];if(u.isPresent!==!1){o=u;break}}return o?(this.promote(o),!0):!1}promote(a,i){const o=this.lead;if(a!==o&&(this.prevLead=o,this.lead=a,a.show(),o)){o.instance&&o.scheduleRender(),a.scheduleRender(),a.resumeFrom=o,i&&(a.resumeFrom.preserveOpacity=!0),o.snapshot&&(a.snapshot=o.snapshot,a.snapshot.latestValues=o.animationValues||o.latestValues),a.root&&a.root.isUpdating&&(a.isLayoutDirty=!0);const{crossfade:l}=a.options;l===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(a=>{const{options:i,resumingFrom:o}=a;i.onExitComplete&&i.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(a=>{a.instance&&a.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function IA(e,a,i){let o="";const l=e.x.translate/a.x,u=e.y.translate/a.y,c=(i==null?void 0:i.z)||0;if((l||u||c)&&(o=`translate3d(${l}px, ${u}px, ${c}px) `),(a.x!==1||a.y!==1)&&(o+=`scale(${1/a.x}, ${1/a.y}) `),i){const{transformPerspective:g,rotate:y,rotateX:x,rotateY:b,skewX:S,skewY:C}=i;g&&(o=`perspective(${g}px) ${o}`),y&&(o+=`rotate(${y}deg) `),x&&(o+=`rotateX(${x}deg) `),b&&(o+=`rotateY(${b}deg) `),S&&(o+=`skewX(${S}deg) `),C&&(o+=`skewY(${C}deg) `)}const m=e.x.scale*a.x,p=e.y.scale*a.y;return(m!==1||p!==1)&&(o+=`scale(${m}, ${p})`),o||"none"}const Nd=["","X","Y","Z"],YA=1e3;let XA=0;function Md(e,a,i,o){const{latestValues:l}=a;l[e]&&(i[e]=l[e],a.setStaticValue(e,0),o&&(o[e]=0))}function qb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:a}=e.options;if(!a)return;const i=Tb(a);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:l,layoutId:u}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",We,!(l||u))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&qb(o)}function Bb({attachResizeListener:e,defaultParent:a,measureScroll:i,checkIsScrollRoot:o,resetTransform:l}){return class{constructor(c={},m=a==null?void 0:a()){this.id=XA++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 4,304 bytes, line 309
309{this.projectionUpdateScheduled=!1,this.nodes.forEach(ZA),this.nodes.forEach(tN),this.nodes.forEach(nN),this.nodes.forEach(JA)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new zA)}addEventListener(c,m){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Yf),this.eventHandlers.get(c).add(m)}notifyListeners(c,...m){const p=this.eventHandlers.get(c);p&&p.notify(...m)}hasListeners(c){return this.eventHandlers.has(c)}mount(c){if(this.instance)return;this.isSVG=tb(c)&&!qR(c),this.instance=c;const{layoutId:m,layout:p,visualElement:g}=this.options;if(g&&!g.current&&g.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||m)&&(this.isLayoutDirty=!0),e){let y,x=0;const b=()=>this.root.updateBlockedByResize=!1;We.read(()=>{x=window.innerWidth}),e(c,()=>{const S=window.innerWidth;S!==x&&(x=S,this.root.updateBlockedByResize=!0,y&&y(),y=LA(b,250),Rl.hasAnimatedSinceResize&&(Rl.hasAnimatedSinceResize=!1,this.nodes.forEach(Qy)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&g&&(m||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:x,hasRelativeLayoutChanged:b,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||g.getDefaultTransition()||rN,{onLayoutAnimationStart:E,onLayoutAnimationComplete:j}=g.getProps(),R=!this.targetLayout||!Pb(this.targetLayout,S),N=!x&&b;if(this.options.layoutRoot||this.resumeFrom||N||x&&(R||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...om(C,"layout"),onPlay:E,onComplete:j};(g.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(y,N)}else x||Qy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ka(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(aN),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&qb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const x=this.path[y];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:m,layout:p}=this.options;if(m===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Xy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Ky);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eN),this.nodes.forEach(KA),this.nodes.forEach(QA)):this.nodes.forEach(Ky),this.clearAllSnapshots();const m=Ut.now();_t.delta=ea(0,1e3/60,m-_t.timestamp),_t.timestamp=m,_t.isProcessing=!0,bd.update.process(_t),bd.preRender.process(_t),bd.render.process(_t),_t.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,lm.read(this.scheduleUpdate))}
vendor: 11,476 bytes, line 309
309clearAllSnapshots(){this.nodes.forEach(WA),this.sharedNodes.forEach(iN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,We.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){We.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!zt(this.snapshot.measuredBox.x)&&!zt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ct(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(m=!1),m&&this.instance){const p=o(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:p,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!Vb(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;c&&this.instance&&(m||ti(this.latestValues)||y)&&(l(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const m=this.measurePageBox();let p=this.removeElementScroll(m);return c&&(p=this.removeTransform(p)),lN(p),{animationId:this.root.animationId,measuredBox:m,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var g;const{visualElement:c}=this.options;if(!c)return ct();const m=c.measureViewportBox();if(!(((g=this.scroll)==null?void 0:g.wasRoot)||this.path.some(uN))){const{scroll:y}=this.root;y&&(Wi(m.x,y.offset.x),Wi(m.y,y.offset.y))}return m}removeElementScroll(c){var p;const m=ct();if(cn(m,c),(p=this.scroll)!=null&&p.wasRoot)return m;for(let g=0;g<this.path.length;g++){const y=this.path[g],{scroll:x,options:b}=y;y!==this.root&&x&&b.layoutScroll&&(x.wasRoot&&cn(m,c),Wi(m.x,x.offset.x),Wi(m.y,x.offset.y))}return m}applyTransform(c,m=!1){const p=ct();cn(p,c);for(let g=0;g<this.path.length;g++){const y=this.path[g];!m&&y.options.layoutScroll&&y.scroll&&y!==y.root&&es(p,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),ti(y.latestValues)&&es(p,y.latestValues)}return ti(this.latestValues)&&es(p,this.latestValues),p}removeTransform(c){const m=ct();cn(m,c);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!g.instance||!ti(g.latestValues))continue;hf(g.latestValues)&&g.updateSnapshot();const y=ct(),x=g.measurePageBox();cn(y,x),Hy(m,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,y)}return ti(this.latestValues)&&Hy(m,this.latestValues),m}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.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!==_t.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var b;const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==m;if(!(c||p&&this.isSharedProjectionDirty||this.isProjectionDirty||(b=this.parent)!=null&&b.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:x}=this.options;if(!(!this.layout||!(y||x))){if(this.resolvedRelativeTargetAt=_t.timestamp,!this.targetDelta&&!this.relativeTarget){const S=this.getClosestProjectingParent();S&&S.layout&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ct(),this.relativeTargetOrigin=ct(),Ro(this.relativeTargetOrigin,this.layout.layoutBox,S.layout.layoutBox),cn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ct(),this.targetWithTransforms=ct()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),pA(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):cn(this.target,this.layout.layoutBox),vb(this.target,this.targetDelta)):cn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const S=this.getClosestProjectingParent();S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ct(),this.relativeTargetOrigin=ct(),Ro(this.relativeTargetOrigin,this.target,S.target),cn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||hf(this.parent.latestValues)||yb(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 C;const c=this.getLead(),m=!!this.resumingFrom||this!==c;let p=!0;if((this.isProjectionDirty||(C=this.parent)!=null&&C.isProjectionDirty)&&(p=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===_t.timestamp&&(p=!1),p)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;cn(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,b=this.treeScale.y;Rj(this.layoutCorrected,this.treeScale,this.path,m),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=ct());const{target:S}=c;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(qy(this.prevProjectionDelta.x,this.projectionDelta.x),qy(this.prevProjectionDelta.y,this.projectionDelta.y)),_o(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==b||!Yy(this.projectionDelta.x,this.prevProjectionDelta.x)||!Yy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var m;if((m=this.options.visualElement)==null||m.scheduleRender(),c){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ts(),this.projectionDelta=ts(),this.projectionDeltaWithTransform=ts()}setAnimationOrigin(c,m=!1){const p=this.snapshot,g=p?p.latestValues:{},y={...this.latestValues},x=ts();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const b=ct(),S=p?p.source:void 0,C=this.layout?this.layout.source:void 0,E=S!==C,j=this.getStack(),R=!j||j.members.length<=1,N=!!(E&&!R&&this.options.crossfade===!0&&!this.path.some(oN));this.animationProgress=0;let _;this.mixTargetDelta=z=>{const D=z/1e3;Zy(x.x,c.x,D),Zy(x.y,c.y,D),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ro(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),sN(this.relativeTarget,this.relativeTargetOrigin,b,D),_&&GA(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=ct()),cn(_,this.relativeTarget)),E&&(this.animationValues=y,PA(y,g,this.latestValues,D,N,R)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){var m,p,g;this.notifyListeners("animationStart"),(m=this.currentAnimation)==null||m.stop(),(g=(p=this.resumingFrom)==null?void 0:p.currentAnimation)==null||g.stop(),this.pendingAnimation&&(ka(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=We.update(()=>{Rl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=is(0)),this.currentAnimation=DA(this.motionValue,[0,1e3],{...c,velocity:0,isSync:!0,onUpdate:y=>{this.mixTargetDelta(y),c.onUpdate&&c.onUpdate(y)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.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 c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(YA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:m,target:p,layout:g,latestValues:y}=c;if(!(!m||!p||!g)){if(this!==c&&this.layout&&g&&Ub(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||ct();const x=zt(this.layout.layoutBox.x);p.x.min=c.target.x.min,p.x.max=p.x.min+x;const b=zt(this.layout.layoutBox.y);p.y.min=c.target.y.min,p.y.max=p.y.min+b}cn(m,p),es(m,y),_o(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(c,m){this.sharedNodes.has(c)||this.sharedNodes.set(c,new FA),this.sharedNodes.get(c).add(m);const g=m.options.initialPromotionConfig;m.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(m):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var m;const{layoutId:c}=this.options;return c?((m=this.getStack())==null?void 0:m.lead)||this:this}getPrevLead(){var m;const{layoutId:c}=this.options;return c?(m=this.getStack())==null?void 0:m.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:m,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),c&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}
vendor: 4,211 bytes, line 309
309resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let m=!1;const{latestValues:p}=c;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(m=!0),!m)return;const g={};p.z&&Md("z",c,g,this.animationValues);for(let y=0;y<Nd.length;y++)Md(`rotate${Nd[y]}`,c,g,this.animationValues),Md(`skew${Nd[y]}`,c,g,this.animationValues);c.render();for(const y in g)c.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);c.scheduleRender()}applyProjectionStyles(c,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){c.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,c.visibility="",c.opacity="",c.pointerEvents=_l(m==null?void 0:m.pointerEvents)||"",c.transform=p?p(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(c.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,c.pointerEvents=_l(m==null?void 0:m.pointerEvents)||""),this.hasProjected&&!ti(this.latestValues)&&(c.transform=p?p({},""):"none",this.hasProjected=!1);return}c.visibility="";const y=g.animationValues||g.latestValues;this.applyTransformsToTarget();let x=IA(this.projectionDeltaWithTransform,this.treeScale,y);p&&(x=p(y,x)),c.transform=x;const{x:b,y:S}=this.projectionDelta;c.transformOrigin=`${b.origin*100}% ${S.origin*100}% 0`,g.animationValues?c.opacity=g===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:c.opacity=g===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const C in Lo){if(y[C]===void 0)continue;const{correct:E,applyTo:j,isCSSVariable:R}=Lo[C],N=x==="none"?y[C]:E(y[C],g);if(j){const _=j.length;for(let z=0;z<_;z++)c[j[z]]=N}else R?this.options.visualElement.renderState.vars[C]=N:c[C]=N}this.options.layoutId&&(c.pointerEvents=g===this?_l(m==null?void 0:m.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var m;return(m=c.currentAnimation)==null?void 0:m.stop()}),this.root.nodes.forEach(Xy),this.root.sharedNodes.clear()}}}function KA(e){e.updateLayout()}function QA(e){var i;const a=((i=e.resumeFrom)==null?void 0:i.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&a&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:l}=e.layout,{animationType:u}=e.options,c=a.source!==e.layout.source;u==="size"?dn(x=>{const b=c?a.measuredBox[x]:a.layoutBox[x],S=zt(b);b.min=o[x].min,b.max=b.min+S}):Ub(u,a.layoutBox,o)&&dn(x=>{const b=c?a.measuredBox[x]:a.layoutBox[x],S=zt(o[x]);b.max=b.min+S,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[x].max=e.relativeTarget[x].min+S)});const m=ts();_o(m,o,a.layoutBox);const p=ts();c?_o(p,e.applyTransform(l,!0),a.measuredBox):_o(p,o,a.layoutBox);const g=!Vb(m);let y=!1;if(!e.resumeFrom){const x=e.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:b,layout:S}=x;if(b&&S){const C=ct();Ro(C,a.layoutBox,b.layoutBox);const E=ct();Ro(E,o,S.layoutBox),Pb(C,E)||(y=!0),x.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=C,e.relativeParent=x)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:a,delta:p,layoutDelta:m,hasLayoutChanged:g,hasRelativeLayoutChanged:y})}else if(e.isLead()){const{onExitComplete:o}=e.options;o&&o()}e.options.transition=void 0}function ZA(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function JA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function WA(e){e.clearSnapshot()}function Xy(e){e.clearMeasurements()}function Ky(e){e.isLayoutDirty=!1}function eN(e){const{visualElement:a}=e.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),e.resetTransform()}function Qy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function tN(e){e.resolveTargetDelta()}function nN(e){e.calcProjection()}
309function aN(e){e.resetSkewAndRotation()}function iN(e){e.removeLeadSnapshot()}function Zy(e,a,i){e.translate=nt(a.translate,0,i),e.scale=nt(a.scale,1,i),e.origin=a.origin,e.originPoint=a.originPoint}function Jy(e,a,i,o){e.min=nt(a.min,i.min,o),e.max=nt(a.max,i.max,o)}function sN(e,a,i,o){Jy(e.x,a.x,i.x,o),Jy(e.y,a.y,i.y,o)}function oN(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const rN={duration:.45,ease:[.4,0,.1,1]},Wy=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ev=Wy("applewebkit/")&&!Wy("chrome/")?Math.round:fn;function tv(e){e.min=ev(e.min),e.max=ev(e.max)}function lN(e){tv(e.x),tv(e.y)}function Ub(e,a,i){return e==="position"||e==="preserve-aspect"&&!hA(Iy(a),Iy(i),.2)}function uN(e){var a;return e!==e.root&&((a=e.scroll)==null?void 0:a.wasRoot)}const cN=Bb({attachResizeListener:(e,a)=>Vo(e,"resize",a),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),kd={current:void 0},Hb=Bb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!kd.current){const e=new cN({});e.mount(window),e.setOptions({layoutScroll:!0}),kd.current=e}return kd.current},resetTransform:(e,a)=>{e.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),dN={pan:{Feature:AA},drag:{Feature:jA,ProjectionNode:Hb,MeasureLayout:Ob}};function nv(e,a,i){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",i==="Start");const l="onHover"+i,u=o[l];u&&We.postRender(()=>u(a,Ko(a)))}class fN extends Oa{mount(){const{current:a}=this.node;a&&(this.unmount=OR(a,(i,o)=>(nv(this.node,o,"Start"),l=>nv(this.node,l,"End"))))}unmount(){}}class mN extends Oa{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!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=Io(Vo(this.node.current,"focus",()=>this.onFocus()),Vo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function av(e,a,i){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",i==="Start");const l="onTap"+(i==="End"?"":i),u=o[l];u&&We.postRender(()=>u(a,Ko(a)))}class hN extends Oa{mount(){const{current:a}=this.node;a&&(this.unmount=PR(a,(i,o)=>(av(this.node,o,"Start"),(l,{success:u})=>av(this.node,l,u?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Sf=new WeakMap,Dd=new WeakMap,pN=e=>{const a=Sf.get(e.target);a&&a(e)},gN=e=>{e.forEach(pN)};function yN({root:e,...a}){const i=e||document;Dd.has(i)||Dd.set(i,{});const o=Dd.get(i),l=JSON.stringify(a);return o[l]||(o[l]=new IntersectionObserver(gN,{root:e,...a})),o[l]}function vN(e,a,i){const o=yN(a);return Sf.set(e,i),o.observe(e),()=>{Sf.delete(e),o.unobserve(e)}}const xN={some:0,all:1};class bN extends Oa{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:a={}}=this.node.getProps(),{root:i,margin:o,amount:l="some",once:u}=a,c={root:i?i.current:void 0,rootMargin:o,threshold:typeof l=="number"?l:xN[l]},m=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,u&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:y,onViewportLeave:x}=this.node.getProps(),b=g?y:x;b&&b(p)};return vN(this.node.current,c,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:i}=this.node;["amount","margin","root"].some(SN(a,i))&&this.startObserver()}unmount(){}}function SN({viewport:e={}},{viewport:a={}}={}){return i=>e[i]!==a[i]}const wN={inView:{Feature:bN},tap:{Feature:hN},focus:{Feature:mN},hover:{Feature:fN}},CN={layout:{ProjectionNode:Hb,MeasureLayout:Ob}},TN={...lA,...wN,...dN,...CN},ke=Tj(TN,Vj);function Aa({children:e,className:a="",disabled:i=!1,onClick:o,to:l,...u}){const c=h.jsx("button",{className:`bg-yellow hover:bg-yellow-500 w-full text-black text-2xl rounded-full transition-all duration-300 cursor-pointer ${i?"opacity-50 cursor-not-allowed hover:scale-100 grayscale":"hover:bg-yellow-dark hover:scale-105"} ${a}`,type:"submit",disabled:i,onClick:i?void 0:o,...u,children:e});return l?h.jsx(Ho,{to:l,children:c}):c}var Od,iv;function EN(){if(iv)return Od;iv=1;var e={linear:function(a,i,o,l){var u=o-i;return u*a/l+i},easeInQuad:function(a,i,o,l){var u=o-i;return u*(a/=l)*a+i},easeOutQuad:function(a,i,o,l){var u=o-i;return-u*(a/=l)*(a-2)+i},easeInOutQuad:function(a,i,o,l){var u=o-i;return(a/=l/2)<1?u/2*a*a+i:-u/2*(--a*(a-2)-1)+i},easeInCubic:function(a,i,o,l){var u=o-i;return u*(a/=l)*a*a+i},easeOutCubic:function(a,i,o,l){var u=o-i;return u*((a=a/l-1)*a*a+1)+i},easeInOutCubic:function(a,i,o,l){var u=o-i;return(a/=l/2)<1?u/2*a*a*a+i:u/2*((a-=2)*a*a+2)+i},easeInQuart:function(a,i,o,l){var u=o-i;return u*(a/=l)*a*a*a+i},easeOutQuart:function(a,i,o,l){var u=o-i;return-u*((a=a/l-1)*a*a*a-1)+i},easeInOutQuart:function(a,i,o,l){var u=o-i;return(a/=l/2)<1?u/2*a*a*a*a+i:-u/2*((a-=2)*a*a*a-2)+i},easeInQuint:function(a,i,o,l){var u=o-i;return u*(a/=l)*a*a*a*a+i},easeOutQuint:function(a,i,o,l){var u=o-i;return u*((a=a/l-1)*a*a*a*a+1)+i},easeInOutQuint:function(a,i,o,l){var u=o-i;return(a/=l/2)<1?u/2*a*a*a*a*a+i:u/2*((a-=2)*a*a*a*a+2)+i},easeInSine:function(a,i,o,l){var u=o-i;return-u*Math.cos(a/l*(Math.PI/2))+u+i},easeOutSine:function(a,i,o,l){var u=o-i;return u*Math.sin(a/l*(Math.PI/2))+i},easeInOutSine:function(a,i,o,l){var u=o-i;return-u/2*(Math.cos(Math.PI*a/l)-1)+i},easeInExpo:function(a,i,o,l){var u=o-i;
309return a==0?i:u*Math.pow(2,10*(a/l-1))+i},easeOutExpo:function(a,i,o,l){var u=o-i;return a==l?i+u:u*(-Math.pow(2,-10*a/l)+1)+i},easeInOutExpo:function(a,i,o,l){var u=o-i;return a===0?i:a===l?i+u:(a/=l/2)<1?u/2*Math.pow(2,10*(a-1))+i:u/2*(-Math.pow(2,-10*--a)+2)+i},easeInCirc:function(a,i,o,l){var u=o-i;return-u*(Math.sqrt(1-(a/=l)*a)-1)+i},easeOutCirc:function(a,i,o,l){var u=o-i;return u*Math.sqrt(1-(a=a/l-1)*a)+i},easeInOutCirc:function(a,i,o,l){var u=o-i;return(a/=l/2)<1?-u/2*(Math.sqrt(1-a*a)-1)+i:u/2*(Math.sqrt(1-(a-=2)*a)+1)+i},easeInElastic:function(a,i,o,l){var u=o-i,c,m,p;return p=1.70158,m=0,c=u,a===0?i:(a/=l)===1?i+u:(m||(m=l*.3),c<Math.abs(u)?(c=u,p=m/4):p=m/(2*Math.PI)*Math.asin(u/c),-(c*Math.pow(2,10*(a-=1))*Math.sin((a*l-p)*(2*Math.PI)/m))+i)},easeOutElastic:function(a,i,o,l){var u=o-i,c,m,p;return p=1.70158,m=0,c=u,a===0?i:(a/=l)===1?i+u:(m||(m=l*.3),c<Math.abs(u)?(c=u,p=m/4):p=m/(2*Math.PI)*Math.asin(u/c),c*Math.pow(2,-10*a)*Math.sin((a*l-p)*(2*Math.PI)/m)+u+i)},easeInOutElastic:function(a,i,o,l){var u=o-i,c,m,p;return p=1.70158,m=0,c=u,a===0?i:(a/=l/2)===2?i+u:(m||(m=l*(.3*1.5)),c<Math.abs(u)?(c=u,p=m/4):p=m/(2*Math.PI)*Math.asin(u/c),a<1?-.5*(c*Math.pow(2,10*(a-=1))*Math.sin((a*l-p)*(2*Math.PI)/m))+i:c*Math.pow(2,-10*(a-=1))*Math.sin((a*l-p)*(2*Math.PI)/m)*.5+u+i)},easeInBack:function(a,i,o,l,u){var c=o-i;return u===void 0&&(u=1.70158),c*(a/=l)*a*((u+1)*a-u)+i},easeOutBack:function(a,i,o,l,u){var c=o-i;return u===void 0&&(u=1.70158),c*((a=a/l-1)*a*((u+1)*a+u)+1)+i},easeInOutBack:function(a,i,o,l,u){var c=o-i;return u===void 0&&(u=1.70158),(a/=l/2)<1?c/2*(a*a*(((u*=1.525)+1)*a-u))+i:c/2*((a-=2)*a*(((u*=1.525)+1)*a+u)+2)+i},easeInBounce:function(a,i,o,l){var u=o-i,c;return c=e.easeOutBounce(l-a,0,u,l),u-c+i},easeOutBounce:function(a,i,o,l){var u=o-i;return(a/=l)<1/2.75?u*(7.5625*a*a)+i:a<2/2.75?u*(7.5625*(a-=1.5/2.75)*a+.75)+i:a<2.5/2.75?u*(7.5625*(a-=2.25/2.75)*a+.9375)+i:u*(7.5625*(a-=2.625/2.75)*a+.984375)+i},easeInOutBounce:function(a,i,o,l){var u=o-i,c;return a<l/2?(c=e.easeInBounce(a*2,0,u,l),c*.5+i):(c=e.easeOutBounce(a*2-l,0,u,l),c*.5+u*.5+i)}};return Od=e,Od}var _N=EN();function RN(e){return e*Math.PI/180}function Zt(e,a){return e+Math.random()*(a-e)}function jN(e,a){return Math.floor(e+Math.random()*(a-e+1))}var jo;(function(e){e[e.Circle=0]="Circle",e[e.Square=1]="Square",e[e.Strip=2]="Strip"})(jo||(jo={}));var Ra;(function(e){e[e.Positive=1]="Positive",e[e.Negative=-1]="Negative"})(Ra||(Ra={}));const AN=1e3/60;class NN{constructor(a,i,o,l){this.getOptions=i;const{colors:u,initialVelocityX:c,initialVelocityY:m}=this.getOptions();this.context=a,this.x=o,this.y=l,this.w=Zt(5,20),this.h=Zt(5,20),this.radius=Zt(5,10),this.vx=typeof c=="number"?Zt(-c,c):Zt(c.min,c.max),this.vy=typeof m=="number"?Zt(-m,0):Zt(m.min,m.max),this.shape=jN(0,2),this.angle=RN(Zt(0,360)),this.angularSpin=Zt(-.2,.2),this.color=u[Math.floor(Math.random()*u.length)],this.rotateY=Zt(0,1),this.rotationDirection=Zt(0,1)?Ra.Positive:Ra.Negative}update(a){const{gravity:i,wind:o,friction:l,opacity:u,drawShape:c}=this.getOptions(),m=a/AN;this.x+=this.vx*m,this.y+=this.vy*m,this.vy+=i*m,this.vx+=o*m,this.vx*=l**m,this.vy*=l**m,this.rotateY>=1&&this.rotationDirection===Ra.Positive?this.rotationDirection=Ra.Negative:this.rotateY<=-1&&this.rotationDirection===Ra.Negative&&(this.rotationDirection=Ra.Positive);const p=.1*this.rotationDirection*m;if(this.rotateY+=p,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=u,this.context.lineCap="round",this.context.lineWidth=2,c&&typeof c=="function")c.call(this,this.context);else switch(this.shape){case jo.Circle:{this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break}case jo.Square:{this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break}case jo.Strip:{this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h);break}}
309this.context.closePath(),this.context.restore()}}class MN{constructor(a,i){this.x=0,this.y=0,this.w=0,this.h=0,this.lastNumberOfPieces=0,this.tweenProgress=0,this.tweenFrom=0,this.particles=[],this.particlesGenerated=0,this.removeParticleAt=l=>{this.particles.splice(l,1)},this.getParticle=()=>{const l=Zt(this.x,this.w+this.x),u=Zt(this.y,this.h+this.y);return new NN(this.context,this.getOptions,l,u)},this.animate=l=>{const{canvas:u,context:c,particlesGenerated:m,lastNumberOfPieces:p}=this,{run:g,recycle:y,numberOfPieces:x,debug:b,tweenFunction:S,tweenDuration:C}=this.getOptions();if(!g)return!1;const E=this.particles.length,j=y?E:m;if(j<x){p!==x&&(this.tweenProgress=0,this.tweenFrom=j,this.lastNumberOfPieces=x),this.tweenProgress=Math.min(C,Math.max(0,this.tweenProgress+l));const R=S(this.tweenProgress,this.tweenFrom,x,C),N=Math.round(R-j);for(let _=0;_<N;_++)this.particles.push(this.getParticle());this.particlesGenerated+=N}b&&(c.font="12px sans-serif",c.fillStyle="#333",c.textAlign="right",c.fillText(`Particles: ${E}`,u.width-10,u.height-20));for(let R=this.particles.length-1;R>=0;R--){const N=this.particles[R];N.update(l),(N.y>u.height||N.y<-100||N.x>u.width+100||N.x<-100)&&(y&&j<=x?this.particles[R]=this.getParticle():this.removeParticleAt(R))}return E>0||j<x},this.canvas=a;const o=this.canvas.getContext("2d");if(!o)throw new Error("Could not get canvas context");this.context=o,this.getOptions=i}}const bm={width:typeof window<"u"?window.innerWidth:300,height:typeof window<"u"?window.innerHeight:200,numberOfPieces:200,friction:.99,wind:0,gravity:.1,initialVelocityX:4,initialVelocityY:10,colors:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548"],opacity:1,debug:!1,tweenFunction:_N.easeInOutQuad,tweenDuration:5e3,recycle:!0,run:!0};class kN{constructor(a,i){this.lastFrameTime=0,this.setOptionsWithDefaults=l=>{const u={confettiSource:{x:0,y:0,w:this.canvas.width,h:0}};this._options={...u,...bm,...l},Object.assign(this,l.confettiSource)},this.update=(l=0)=>{const{options:{run:u,onConfettiComplete:c,frameRate:m},canvas:p,context:g}=this,y=Math.min(l-this.lastFrameTime,50);if(m&&y<1e3/m){this.rafId=requestAnimationFrame(this.update);return}this.lastFrameTime=l-(m?y%m:0),u&&(g.fillStyle="white",g.clearRect(0,0,p.width,p.height)),this.generator.animate(y)?this.rafId=requestAnimationFrame(this.update):(c&&typeof c=="function"&&this.generator.particlesGenerated>0&&c.call(this,this),this._options.run=!1)},this.reset=()=>{this.generator&&this.generator.particlesGenerated>0&&(this.generator.particlesGenerated=0,this.generator.particles=[],this.generator.lastNumberOfPieces=0)},this.stop=()=>{this.options={run:!1},this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=void 0)},this.canvas=a;const o=this.canvas.getContext("2d");if(!o)throw new Error("Could not get canvas context");this.context=o,this.generator=new MN(this.canvas,()=>this.options),this.options=i,this.update()}get options(){return this._options}set options(a){var l,u;const i=(l=this._options)==null?void 0:l.run,o=(u=this._options)==null?void 0:u.recycle;this.setOptionsWithDefaults(a),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof a.recycle=="boolean"&&a.recycle&&o===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof a.run=="boolean"&&a.run&&i===!1&&this.update()}}const DN=Ve.createRef();class Sm extends Ve.Component{constructor(a){super(a),this.canvas=Ve.createRef(),this.canvas=a.canvasRef||DN}componentDidMount(){if(this.canvas.current){const a=zd(this.props)[0];this.confetti=new kN(this.canvas.current,a)}}componentDidUpdate(){const a=zd(this.props)[0];this.confetti&&(this.confetti.options=a)}componentWillUnmount(){this.confetti&&this.confetti.stop(),this.confetti=void 0}render(){const[a,i]=zd(this.props),o={zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0,...i.style};return h.jsx("canvas",{width:a.width,height:a.height,ref:this.canvas,...i,style:o})}}Sm.defaultProps={...bm};Sm.displayName="ReactConfetti";function zd(e){const a={},i={},o={},l=[...Object.keys(bm),"confettiSource","drawShape","onConfettiComplete","frameRate"],u=["canvasRef"];for(const c in e){const m=e[c];l.includes(c)?a[c]=m:u.includes(c)?u[c]=m:o[c]=m}return[a,o,i]}const Ld=Ve.forwardRef((e,a)=>h.jsx(Sm,{canvasRef:a,...e}));
309function Sn(){const[e]=Df(),a=e.get("c");return a==="biz"?{mainColor:"#FF66C4",logo:"https://assets.thenews.com.br/institutional/logos/horizontal/tns_white.png",isTheBizness:!0}:a==="soto"?{mainColor:"#1A3181",logo:"https://assets.thenews.com.br/logos/soto.png",isTheBizness:!1,backgroundColor:"#FFFFFF",textColor:"#1A3181",buttonTextColor:"#FFFFFF"}:{mainColor:"#F9D029",logo:"https://assets.thenews.com.br/institutional/logos/horizontal/tns_white.png",isTheBizness:!1}}function sv({onReset:e,fileUrl:a,completionBody:i,completionImageUrl:o,quizResult:l,scoringResult:u}){const c=Sn(),m=c.textColor||"#ffffff",[p,g]=T.useState(2),y=!!i||!!o,x=!!l,b=!!u,C=((l==null?void 0:l.passed)??!1)&&((l==null?void 0:l.correctAnswers)??0)>0;if(T.useEffect(()=>{if(!a)return;const E=setInterval(()=>{g(j=>j<=1?(clearInterval(E),window.location.href=a,0):j-1)},1e3);return()=>clearInterval(E)},[a]),x)return h.jsxs("div",{className:"flex flex-col items-center min-h-screen text-center p-4 overflow-auto",style:{background:c.backgroundColor?c.backgroundColor:"linear-gradient(to bottom right, #1f2937, #000000, #000000)",color:m},children:[C&&h.jsx(Ld,{width:window.innerWidth,height:window.innerHeight,numberOfPieces:250,recycle:!1,gravity:.1,colors:[c.mainColor,c.mainColor+"dd",c.mainColor+"bb",c.mainColor+"99","#fff"],onConfettiComplete:E=>{E&&E.reset()}}),h.jsxs(ke.div,{initial:{opacity:0,y:40,scale:.95},animate:{opacity:1,y:0,scale:1},transition:{duration:.8,ease:"easeOut"},className:"relative z-10 w-full max-w-2xl space-y-6 backdrop-blur-sm p-8 rounded-2xl my-8",style:{border:`1px solid ${c.mainColor}33`,backgroundColor:c.backgroundColor?`${c.mainColor}11`:"rgba(0,0,0,0.3)"},children:[h.jsx(ke.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.2,type:"spring",stiffness:260,damping:20},className:"flex justify-center mb-4",children:C?h.jsx(k0,{className:"h-20 w-20",strokeWidth:1.5,style:{color:c.mainColor}}):h.jsx(tT,{className:"h-20 w-20",strokeWidth:1.5,style:{color:"#ef4444"}})}),h.jsx(ke.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2,duration:.6},className:"text-4xl md:text-5xl font-bold",style:{color:C?c.mainColor:"#ef4444"},children:C?"Parabéns!":"Não foi dessa vez..."}),h.jsx(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3,duration:.6},className:"space-y-2",children:h.jsxs("p",{className:"text-2xl font-semibold",style:{color:m},children:["Você acertou ",h.jsx("span",{style:{color:C?c.mainColor:"#ef4444"},children:l.correctAnswers})," de ",h.jsx("span",{style:{color:c.mainColor},children:l.totalQuestions})," questões"]})}),l.streakRecovered&&h.jsxs(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4,duration:.6},className:"flex items-center justify-center gap-2 text-xl font-semibold py-3 px-6 rounded-full mx-auto w-fit",style:{backgroundColor:`${c.mainColor}22`,border:`1px solid ${c.mainColor}44`,color:c.mainColor},children:[h.jsx(z0,{className:"h-6 w-6"}),h.jsx("span",{children:"Streak recuperado!"}),h.jsx(z0,{className:"h-6 w-6"})]}),h.jsxs(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5,duration:.6},className:"space-y-4 text-left mt-6",children:[h.jsx("h2",{className:"text-xl font-bold",style:{color:m},children:"Detalhes:"}),l.details.map((E,j)=>h.jsxs("div",{className:"p-4 rounded-xl",style:{backgroundColor:E.isCorrect?`${c.mainColor}11`:"#ef444411",border:`1px solid ${E.isCorrect?`${c.mainColor}33`:"#ef444433"}`},children:[h.jsxs("div",{className:"flex items-start gap-2 mb-2",children:[h.jsx("span",{className:"font-bold text-sm mt-0.5",style:{color:E.isCorrect?c.mainColor:"#ef4444"},children:E.isCorrect?"â":"â"}),h.jsxs("p",{className:"font-semibold",style:{color:m},children:[j+1,". ",E.question]})]}),h.jsxs("div",{className:"ml-5 space-y-1 text-sm",children:[h.jsxs("p",{style:{color:`${m}99`},children:["Sua resposta: ",h.jsx("span",{style:{color:E.isCorrect?c.mainColor:"#ef4444"},children:E.userAnswer||"(vazio)"})]}),!E.isCorrect&&h.jsxs("p",{style:{color:`${m}99`},children:["Resposta correta: ",h.jsx("span",{style:{color:c.mainColor},children:E.correctAnswer})]}),E.explanation&&h.jsx("p",{className:"italic mt-1",style:{color:`${m}77`},children:E.explanation})]})]},E.fieldId))]}),h.jsx(ke.div,{initial:{opacity:0,y:20}
309,animate:{opacity:1,y:0},transition:{delay:.6,duration:.6},children:h.jsx("button",{onClick:e,className:"inline-block group",children:h.jsxs(Aa,{className:"px-8 py-3 text-lg font-semibold rounded-full transition-all duration-300 ease-in-out transform group-hover:scale-105 shadow-lg flex items-center gap-2",style:{backgroundColor:c.mainColor,boxShadow:`0 10px 25px -5px ${c.mainColor}40`,color:c.buttonTextColor||"#000000"},children:[h.jsx(fd,{className:"h-5 w-5"}),h.jsx("span",{children:"Voltar ao inÃcio"})]})})})]})]});if(b){const E=u.maxPossibleScore>0?Math.round(u.totalScore/u.maxPossibleScore*100):0,j=u.result;return h.jsxs("div",{className:"flex flex-col items-center min-h-screen text-center p-4 overflow-auto",style:{background:c.backgroundColor?c.backgroundColor:"linear-gradient(to bottom right, #1f2937, #000000, #000000)",color:m},children:[h.jsx(Ld,{width:window.innerWidth,height:window.innerHeight,numberOfPieces:200,recycle:!1,gravity:.08,colors:[c.mainColor,c.mainColor+"dd",c.mainColor+"bb",c.mainColor+"99","#fff"],onConfettiComplete:R=>{R&&R.reset()}}),h.jsxs(ke.div,{initial:{opacity:0,y:40,scale:.95},animate:{opacity:1,y:0,scale:1},transition:{duration:.8,ease:"easeOut"},className:"relative z-10 w-full max-w-2xl space-y-6 backdrop-blur-sm p-8 rounded-2xl my-8",style:{border:`1px solid ${c.mainColor}33`,backgroundColor:c.backgroundColor?`${c.mainColor}11`:"rgba(0,0,0,0.3)"},children:[h.jsx(ke.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.2,type:"spring",stiffness:260,damping:20},className:"flex justify-center mb-4",children:h.jsx(lT,{className:"h-20 w-20",strokeWidth:1.5,style:{color:c.mainColor}})}),j&&h.jsx(ke.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2,duration:.6},className:"text-4xl md:text-5xl font-bold",style:{color:c.mainColor},children:j.title}),h.jsxs(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3,duration:.6},className:"space-y-3",children:[h.jsxs("p",{className:"text-2xl font-semibold",style:{color:m},children:[h.jsx("span",{style:{color:c.mainColor},children:u.totalScore})," de ",h.jsx("span",{style:{color:c.mainColor},children:u.maxPossibleScore})," pontos"]}),h.jsx("div",{className:"w-full max-w-sm mx-auto h-3 rounded-full overflow-hidden",style:{backgroundColor:`${c.mainColor}22`},children:h.jsx(ke.div,{initial:{width:0},animate:{width:`${E}%`},transition:{delay:.5,duration:1,ease:"easeOut"},className:"h-full rounded-full",style:{backgroundColor:c.mainColor}})}),h.jsxs("p",{className:"text-sm",style:{color:`${m}77`},children:[E,"%"]})]}),(j==null?void 0:j.imageUrl)&&h.jsx(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4,duration:.6},children:h.jsx("img",{src:j.imageUrl,alt:j.title,className:"max-w-md mx-auto rounded-lg"})}),(j==null?void 0:j.description)&&h.jsx(ke.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5,duration:.6},className:"text-lg md:text-xl max-w-md mx-auto leading-relaxed",style:{color:m},children:j.description}),y&&h.jsxs(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6,duration:.6},className:"space-y-4",children:[o&&h.jsx("img",{src:o,alt:"Conclusão",className:"max-w-md mx-auto rounded-lg"}),i&&h.jsx("div",{className:"max-w-md mx-auto prose prose-invert text-left",style:{color:m},dangerouslySetInnerHTML:{__html:i}})]}),h.jsx(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.7,duration:.6},children:h.jsx("button",{onClick:e,className:"inline-block group",children:h.jsxs(Aa,{className:"px-8 py-3 text-lg font-semibold rounded-full transition-all duration-300 ease-in-out transform group-hover:scale-105 shadow-lg flex items-center gap-2",style:{backgroundColor:c.mainColor,boxShadow:`0 10px 25px -5px ${c.mainColor}40`,color:c.buttonTextColor||"#000000"},children:[h.jsx(fd,{className:"h-5 w-5"}),h.jsx("span",{children:"Fazer novamente"})]})})})]})]})}return h.jsxs("div",{className:"flex flex-col justify-center items-center h-screen text-center p-4 overflow-hidden",style:{background:c.backgroundColor?c.backgroundColor:"linear-gradient(to bottom right, #1f2937, #000000, #000000)",color:m},children:[h.jsx(Ld,{width:window.innerWidth,height:window.innerHeight,numberOfPieces:250,recycle:!1,gravity:.1,colors:[c.mainColor,c.mainColor+"dd",c.mainColor+"bb",c.mainColor+"99","#fff"],onConfettiComplete:E=>{E&&E.reset()}}),h.jsxs(ke.div,{initial:{opacity:0,y:40,scale:.95}
309,animate:{opacity:1,y:0,scale:1},transition:{duration:.8,ease:"easeOut"},className:"relative z-10 text-center space-y-8 backdrop-blur-sm p-8 rounded-2xl",style:{border:`1px solid ${c.mainColor}33`,backgroundColor:c.backgroundColor?`${c.mainColor}11`:"rgba(0,0,0,0.3)"},children:[h.jsx(ke.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.2,type:"spring",stiffness:260,damping:20},className:"flex justify-center mb-6",children:h.jsx(k0,{className:"h-20 w-20",strokeWidth:1.5,style:{color:c.mainColor}})}),h.jsxs("div",{className:"space-y-4",children:[h.jsx(ke.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2,duration:.6},className:"text-4xl md:text-5xl font-bold",style:{color:c.mainColor},children:"Obrigado!"}),y?h.jsxs(h.Fragment,{children:[o&&h.jsx(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4,duration:.6},children:h.jsx("img",{src:o,alt:"Conclusão",className:"max-w-md mx-auto rounded-lg"})}),i&&h.jsx(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5,duration:.6},className:"max-w-md mx-auto prose prose-invert text-left",style:{color:m},dangerouslySetInnerHTML:{__html:i}})]}):h.jsxs(h.Fragment,{children:[h.jsx(ke.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4,duration:.6},className:"text-lg md:text-xl max-w-md mx-auto leading-relaxed",style:{color:m},children:"Suas respostas foram enviadas com sucesso. Agradecemos sua colaboração!"}),a&&h.jsxs(ke.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5,duration:.6},className:"text-base max-w-md mx-auto flex items-center justify-center gap-2",style:{color:c.mainColor},children:[h.jsx(D0,{className:"h-5 w-5"}),h.jsxs("span",{children:["Redirecionando para download em ",p,"s..."]})]})]})]}),h.jsxs(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6,duration:.6},className:"flex flex-col gap-3",children:[!y&&a&&h.jsx("a",{href:a,className:"inline-block group",children:h.jsxs(Aa,{className:"px-8 py-3 text-lg font-semibold rounded-full transition-all duration-300 ease-in-out transform group-hover:scale-105 shadow-lg flex items-center gap-2",style:{backgroundColor:c.mainColor,boxShadow:`0 10px 25px -5px ${c.mainColor}40`,color:c.buttonTextColor||"#000000"},children:[h.jsx(D0,{className:"h-5 w-5"}),h.jsx("span",{children:"Baixar agora"})]})}),h.jsx("button",{onClick:e,className:"inline-block group",children:h.jsxs(Aa,{className:"px-8 py-3 text-lg font-semibold rounded-full transition-all duration-300 ease-in-out transform group-hover:scale-105 shadow-lg flex items-center gap-2",style:{backgroundColor:!y&&a?"transparent":c.mainColor,boxShadow:!y&&a?"none":`0 10px 25px -5px ${c.mainColor}40`,color:!y&&a?c.mainColor:c.buttonTextColor||"#000000",border:!y&&a?`2px solid ${c.mainColor}`:"none"},children:[h.jsx(fd,{className:"h-5 w-5"}),h.jsx("span",{children:"Enviar uma nova resposta"})]})})]})]})]})}function wf({src:e,bgColor:a="#000000",sizeClassName:i="w-24 h-24 md:w-28 md:h-28",className:o}){return h.jsx("div",{className:`inline-block rounded-full p-[3px] ${o??""}`,style:{background:"linear-gradient(135deg, #FCE17B 0%, #F5C518 45%, #F59E0B 100%)",boxShadow:"0 12px 32px -8px rgba(245, 158, 11, 0.55)"},children:h.jsx("div",{className:"rounded-full p-[2px]",style:{backgroundColor:a},children:h.jsx("img",{src:e,alt:"foto",className:`rounded-full object-cover ${i}`})})})}function ON({form:e,onStart:a}){const i=Sn();return h.jsxs("div",{className:"min-h-screen flex flex-col items-center p-8 font-sans",style:{backgroundColor:i.backgroundColor||"#000000",color:i.textColor||"#ffffff"},children:[h.jsxs("div",{className:"flex-grow flex flex-col items-center justify-center w-full",children:[e.coverImageUrl&&h.jsxs(ke.div,{initial:{opacity:0,scale:1.02},animate:{opacity:1,scale:1},transition:{duration:.8,ease:"easeOut"},className:"relative w-full max-w-4xl mb-20 md:mb-24",children:[h.jsx("img",{src:e.coverImageUrl,alt:"capa",className:"w-full h-48 md:h-64 object-cover rounded-2xl shadow-2xl"}),e.logoImageUrl&&h.jsx(ke.div,{initial:{opacity:0,y:12,scale:.9}
309,animate:{opacity:1,y:0,scale:1},transition:{delay:.35,duration:.6,ease:"easeOut"},className:"absolute left-1/2 bottom-0 -translate-x-1/2 translate-y-1/2",children:h.jsx(wf,{src:e.logoImageUrl,bgColor:i.backgroundColor||"#000000"})})]}),h.jsx("main",{className:"flex flex-col justify-center items-center w-full max-w-4xl px-4",children:h.jsxs(ke.div,{initial:{opacity:0,y:40,scale:.95},animate:{opacity:1,y:0,scale:1},transition:{duration:.8,ease:"easeOut"},className:"text-center space-y-8",children:[h.jsxs("div",{className:"space-y-6",children:[!(e.coverImageUrl&&e.logoImageUrl)&&h.jsx(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1,duration:.6},className:"mb-8 flex justify-center",children:e.logoImageUrl?h.jsx(wf,{src:e.logoImageUrl,bgColor:i.backgroundColor||"#000000"}):h.jsx("a",{href:"/",className:"block",children:h.jsx("img",{src:i.logo,alt:"logo",className:"h-8 md:h-16 mx-auto"})})}),h.jsx(ke.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2,duration:.6},className:"text-5xl md:text-5xl font-bold",style:{color:i.mainColor},children:e.title}),h.jsx(ke.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4,duration:.6},className:"text-xl md:text-2xl max-w-3xl mx-auto leading-relaxed",style:{color:i.textColor||"#d1d5db"},children:e.description})]}),h.jsx(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6,duration:.6},children:h.jsx(Aa,{onClick:a,className:"text-xl px-12 py-4 rounded-full shadow-2xl hover:scale-105 transform transition-all duration-300 font-semibold",style:{background:`linear-gradient(to right, ${i.mainColor}, ${i.mainColor}dd)`,boxShadow:`0 25px 50px -12px ${i.mainColor}40`,color:i.buttonTextColor||"#000000"},children:"Começar Agora â"})})]})})]}),h.jsxs("footer",{className:"w-full max-w-3xl mx-auto py-4 text-center text-sm",style:{color:i.textColor?`${i.textColor}99`:"#9ca3af"},children:[h.jsxs("div",{className:"flex justify-center gap-4 mb-2",children:[h.jsx("a",{href:"https://thenews.com.br/pt-BR/portal/policies",style:{color:"inherit"},onMouseEnter:o=>o.currentTarget.style.color=i.mainColor,onMouseLeave:o=>o.currentTarget.style.color="inherit",children:"PolÃtica de Privacidade"}),h.jsx("span",{children:"â¢"}),h.jsx("a",{href:"https://thenews.com.br/pt-BR/portal/policies",style:{color:"inherit"},onMouseEnter:o=>o.currentTarget.style.color=i.mainColor,onMouseLeave:o=>o.currentTarget.style.color="inherit",children:"Termos de Uso"}),h.jsx("span",{children:"â¢"}),h.jsx("a",{href:"https://app.thenewscc.com.br/support?newsletter=thenews",style:{color:"inherit"},onMouseEnter:o=>o.currentTarget.style.color=i.mainColor,onMouseLeave:o=>o.currentTarget.style.color="inherit",children:"Contato"})]}),h.jsxs("p",{style:{color:i.textColor?`${i.textColor}80`:"#6b7280"},children:["© ",new Date().getFullYear()," the news. Todos os direitos reservados."]})]})]})}function ov({logoUrl:e}){const a=Sn();return h.jsx("header",{className:"mt-6 w-full max-w-3xl mx-auto py-4 flex justify-center",children:e?h.jsx(wf,{src:e,bgColor:a.backgroundColor||"#000000",sizeClassName:"w-12 h-12"}):h.jsx("a",{href:"/",children:h.jsx("img",{src:a.logo,alt:"Logo",className:"h-10"})})})}function rv({currentQuestionIndex:e,totalQuestions:a}){const i=Sn();return h.jsxs("footer",{className:"w-full max-w-3xl mx-auto py-4 text-center text-gray-500 text-sm",children:[h.jsxs("div",{className:"flex justify-center gap-4 mb-2",children:[h.jsx("a",{href:"https://thenews.com.br/pt-BR/portal/policies",style:{color:"inherit"},onMouseEnter:o=>o.currentTarget.style.color=i.mainColor,onMouseLeave:o=>o.currentTarget.style.color="inherit",children:"PolÃtica de Privacidade"}),h.jsx("span",{children:"â¢"}),h.jsx("a",{href:"https://thenews.com.br/pt-BR/portal/policies",style:{color:"inherit"},onMouseEnter:o=>o.currentTarget.style.color=i.mainColor,onMouseLeave:o=>o.currentTarget.style.color="inherit",children:"Termos de Uso"}),h.jsx("span",{children:"â¢"}),h.jsx("a",{href:"https://app.thenewscc.com.br/support?newsletter=thenews",style:{color:"inherit"},onMouseEnter:o=>o.currentTarget.style.color=i.mainColor,onMouseLeave:o=>o.currentTarget.style.color="inherit",children:"Contato"})]}),h.jsxs("p",{children:["© ",new Date().getFullYear()," ",i.isTheBizness?"the bizness":"the news",". Todos os direitos reservados."]}),h.jsx("div",{className:"w-full h-1 bg-gray-700 mt-4 rounded",children:h.jsx("div",{className:"h-1 rounded",style:{width:`${(e+1)/a*100}%`,transition:"width 0.5s ease-in-out",backgroundColor:i.mainColor}})})]})}const wm="-",zN=e=>{const a=VN(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:c=>{const m=c.split(wm);return m[0]===""&&m.length!==1&&m.shift(),$b(m,a)||LN(c)},getConflictingClassGroupIds:(c,m)=>{const p=i[c]||[];return m&&o[c]?[...p,...o[c]]:p}}},$b=(e,a)=>{var c;if(e.length===0)return a.classGroupId;const i=e[0],o=a.nextPart.get(i),l=o?$b(e.slice(1),o):void 0;if(l)return l;if(a.validators.length===0)return;const u=e.join(wm);return(c=a.validators.find(({validator:m})=>m(u)))==null?void 0:c.classGroupId},lv=/^\[(.+)\]$/,LN=e=>{if(lv.test(e)){const a=lv.exec(e)[1],i=a==null?void 0:a.substring(0,a.indexOf(":"));if(i)return"arbitrary.."+i}},VN=e=>{const{theme:a,classGroups:i}=e,o={nextPart:new Map,validators:[]};for(const l in i)Cf(i[l],o,l,a);return o},Cf=(e,a,i,o)=>{e.forEach(l=>{if(typeof l=="string"){const u=l===""?a:uv(a,l);u.classGroupId=i;return}if(typeof l=="function"){if(PN(l)){Cf(l(o),a,i,o);return}a.validators.push({validator:l,classGroupId:i});return}Object.entries(l).forEach(([u,c])=>{Cf(c,uv(a,u),i,o)})})},uv=(e,a)=>{let i=e;return a.split(wm).forEach(o=>{i.nextPart.has(o)||i.nextPart.set(o,{nextPart:new Map,validators:[]}),i=i.nextPart.get(o)}),i},PN=e=>e.isThemeGetter,qN=e=>{if(e<1)return{get:()=>{},set:()=>{}};let a=0,i=new Map,o=new Map;const l=(u,c)=>{i.set(u,c),a++,a>e&&(a=0,o=i,i=new Map)};return{get(u){let c=i.get(u);if(c!==void 0)return c;if((c=o.get(u))!==void 0)return l(u,c),c},set(u,c){i.has(u)?i.set(u,c):l(u,c)}}},Tf="!",Ef=":",BN=Ef.length,UN=e=>{const{prefix:a,experimentalParseClassName:i}=e;let o=l=>{const u=[];let c=0,m=0,p=0,g;for(let C=0;C<l.length;C++){let E=l[C];if(c===0&&m===0){if(E===Ef){u.push(l.slice(p,C)),p=C+BN;continue}if(E==="/"){g=C;continue}}E==="["?c++:E==="]"?c--:E==="("?m++:E===")"&&m--}
vendor: 5,669 bytes, line 309
309const y=u.length===0?l:l.substring(p),x=HN(y),b=x!==y,S=g&&g>p?g-p:void 0;return{modifiers:u,hasImportantModifier:b,baseClassName:x,maybePostfixModifierPosition:S}};if(a){const l=a+Ef,u=o;o=c=>c.startsWith(l)?u(c.substring(l.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:c,maybePostfixModifierPosition:void 0}}if(i){const l=o;o=u=>i({className:u,parseClassName:l})}return o},HN=e=>e.endsWith(Tf)?e.substring(0,e.length-1):e.startsWith(Tf)?e.substring(1):e,$N=e=>{const a=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const l=[];let u=[];return o.forEach(c=>{c[0]==="["||a[c]?(l.push(...u.sort(),c),u=[]):u.push(c)}),l.push(...u.sort()),l}},GN=e=>({cache:qN(e.cacheSize),parseClassName:UN(e),sortModifiers:$N(e),...zN(e)}),FN=/\s+/,IN=(e,a)=>{const{parseClassName:i,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:u}=a,c=[],m=e.trim().split(FN);let p="";for(let g=m.length-1;g>=0;g-=1){const y=m[g],{isExternal:x,modifiers:b,hasImportantModifier:S,baseClassName:C,maybePostfixModifierPosition:E}=i(y);if(x){p=y+(p.length>0?" "+p:p);continue}let j=!!E,R=o(j?C.substring(0,E):C);if(!R){if(!j){p=y+(p.length>0?" "+p:p);continue}if(R=o(C),!R){p=y+(p.length>0?" "+p:p);continue}j=!1}const N=u(b).join(":"),_=S?N+Tf:N,z=_+R;if(c.includes(z))continue;c.push(z);const D=l(R,j);for(let X=0;X<D.length;++X){const U=D[X];c.push(_+U)}p=y+(p.length>0?" "+p:p)}return p};function YN(){let e=0,a,i,o="";for(;e<arguments.length;)(a=arguments[e++])&&(i=Gb(a))&&(o&&(o+=" "),o+=i);return o}const Gb=e=>{if(typeof e=="string")return e;let a,i="";for(let o=0;o<e.length;o++)e[o]&&(a=Gb(e[o]))&&(i&&(i+=" "),i+=a);return i};function XN(e,...a){let i,o,l,u=c;function c(p){const g=a.reduce((y,x)=>x(y),e());return i=GN(g),o=i.cache.get,l=i.cache.set,u=m,m(p)}function m(p){const g=o(p);if(g)return g;const y=IN(p,i);return l(p,y),y}return function(){return u(YN.apply(null,arguments))}}const gt=e=>{const a=i=>i[e]||[];return a.isThemeGetter=!0,a},Fb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ib=/^\((?:(\w[\w-]*):)?(.+)\)$/i,KN=/^\d+\/\d+$/,QN=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ZN=/\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$/,JN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,WN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eM=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Qi=e=>KN.test(e),Ee=e=>!!e&&!Number.isNaN(Number(e)),Ea=e=>!!e&&Number.isInteger(Number(e)),Vd=e=>e.endsWith("%")&&Ee(e.slice(0,-1)),Kn=e=>QN.test(e),tM=()=>!0,nM=e=>ZN.test(e)&&!JN.test(e),Yb=()=>!1,aM=e=>WN.test(e),iM=e=>eM.test(e),sM=e=>!ae(e)&&!ie(e),oM=e=>fs(e,Qb,Yb),ae=e=>Fb.test(e),ei=e=>fs(e,Zb,nM),Pd=e=>fs(e,dM,Ee),cv=e=>fs(e,Xb,Yb),rM=e=>fs(e,Kb,iM),bl=e=>fs(e,Jb,aM),ie=e=>Ib.test(e),xo=e=>ms(e,Zb),lM=e=>ms(e,fM),dv=e=>ms(e,Xb),uM=e=>ms(e,Qb),cM=e=>ms(e,Kb),Sl=e=>ms(e,Jb,!0),fs=(e,a,i)=>{const o=Fb.exec(e);return o?o[1]?a(o[1]):i(o[2]):!1},ms=(e,a,i=!1)=>{const o=Ib.exec(e);return o?o[1]?a(o[1]):i:!1},Xb=e=>e==="position"||e==="percentage",Kb=e=>e==="image"||e==="url",Qb=e=>e==="length"||e==="size"||e==="bg-size",Zb=e=>e==="length",dM=e=>e==="number",fM=e=>e==="family-name",Jb=e=>e==="shadow",mM=()=>{const e=gt("color"),a=gt("font"),i=gt("text"),o=gt("font-weight"),l=gt("tracking"),u=gt("leading"),c=gt("breakpoint"),m=gt("container"),p=gt("spacing"),g=gt("radius"),y=gt("shadow"),x=gt("inset-shadow"),b=gt("text-shadow"),S=gt("drop-shadow"),C=gt("blur"),E=gt("perspective"),j=gt("aspect"),R=gt("ease"),N=gt("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...z(),ie,ae],X=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto","contain","none"],V=()=>[ie,ae,p],F=()=>[Qi,"full","auto",...V()],Z=()=>[Ea,"none","subgrid",ie,ae],ge=()=>["auto",{span:["full",Ea,ie,ae]},Ea,ie,ae],xe=()=>[Ea,"auto",ie,ae],Xe=()=>["auto","min","max","fr",ie,ae],et=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ne=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...V()],K=()=>[Qi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],$=()=>[e,ie,ae],de=()=>[...z(),dv,cv,{position:[ie,ae]}],M=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Y=()=>["auto","cover","contain",uM,oM,{size:[ie,ae]}],W=()=>[Vd,xo,ei],J=()=>["","none","full",g,ie,ae],ee=()=>["",Ee,xo,ei],ve=()=>["solid","dashed","dotted","double"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>[Ee,Vd,dv,cv],be=()=>["","none",C,ie,ae],Ke=()=>["none",Ee,ie,ae],Wt=()=>["none",Ee,ie,ae],wn=()=>[Ee,ie,ae],mn=()=>[Qi,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Kn],breakpoint:[Kn],color:[tM],container:[Kn],"drop-shadow":[Kn],ease:["in","out","in-out"],font:[sM],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Kn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Kn],shadow:[Kn],spacing:["px",Ee],text:[Kn],"text-shadow":[Kn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Qi,ae,ie,j]}
vendor: 12,876 bytes, line 309
309],container:["container"],columns:[{columns:[Ee,ae,ie,m]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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"],sr:["sr-only","not-sr-only"],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:D()}],overflow:[{overflow:X()}],"overflow-x":[{"overflow-x":X()}],"overflow-y":[{"overflow-y":X()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:F()}],"inset-x":[{"inset-x":F()}],"inset-y":[{"inset-y":F()}],start:[{start:F()}],end:[{end:F()}],top:[{top:F()}],right:[{right:F()}],bottom:[{bottom:F()}],left:[{left:F()}],visibility:["visible","invisible","collapse"],z:[{z:[Ea,"auto",ie,ae]}],basis:[{basis:[Qi,"full","auto",m,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ee,Qi,"auto","initial","none",ae]}],grow:[{grow:["",Ee,ie,ae]}],shrink:[{shrink:["",Ee,ie,ae]}],order:[{order:[Ea,"first","last","none",ie,ae]}],"grid-cols":[{"grid-cols":Z()}],"col-start-end":[{col:ge()}],"col-start":[{"col-start":xe()}],"col-end":[{"col-end":xe()}],"grid-rows":[{"grid-rows":Z()}],"row-start-end":[{row:ge()}],"row-start":[{"row-start":xe()}],"row-end":[{"row-end":xe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Xe()}],"auto-rows":[{"auto-rows":Xe()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...et(),"normal"]}],"justify-items":[{"justify-items":[...Ne(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ne()]}],"align-content":[{content:["normal",...et()]}],"align-items":[{items:[...Ne(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ne(),{baseline:["","last"]}]}],"place-content":[{"place-content":et()}],"place-items":[{"place-items":[...Ne(),"baseline"]}],"place-self":[{"place-self":["auto",...Ne()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],w:[{w:[m,"screen",...K()]}],"min-w":[{"min-w":[m,"screen","none",...K()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[c]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",i,xo,ei]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,ie,Pd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Vd,ae]}],"font-family":[{font:[lM,ae,a]}],"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:[l,ie,ae]}],"line-clamp":[{"line-clamp":[Ee,"none",ie,Pd]}],leading:[{leading:[u,...V()]}],"list-image":[{"list-image":["none",ie,ae]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ie,ae]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:$()}],"text-color":[{text:$()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ee,"from-font","auto",ie,ei]}],"text-decoration-color":[{decoration:$()}],"underline-offset":[{"underline-offset":[Ee,"auto",ie,ae]}],"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",ie,ae]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie,ae]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:de()}],"bg-repeat":[{bg:M()}],"bg-size":[{bg:Y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ea,ie,ae],radial:["",ie,ae],conic:[Ea,ie,ae]},cM,rM]}],"bg-color":[{bg:$()}],"gradient-from-pos":[{from:W()}],"gradient-via-pos":[{via:W()}],"gradient-to-pos":[{to:W()}],"gradient-from":[{from:$()}],"gradient-via":[{via:$()}],"gradient-to":[{to:$()}],rounded:[{rounded:J()}],"rounded-s":[{"rounded-s":J()}],"rounded-e":[{"rounded-e":J()}],"rounded-t":[{"rounded-t":J()}],"rounded-r":[{"rounded-r":J()}],"rounded-b":[{"rounded-b":J()}],"rounded-l":[{"rounded-l":J()}],"rounded-ss":[{"rounded-ss":J()}],"rounded-se":[{"rounded-se":J()}],"rounded-ee":[{"rounded-ee":J()}],"rounded-es":[{"rounded-es":J()}],"rounded-tl":[{"rounded-tl":J()}],"rounded-tr":[{"rounded-tr":J()}],"rounded-br":[{"rounded-br":J()}],"rounded-bl":[{"rounded-bl":J()}],"border-w":[{border:ee()}],"border-w-x":[{"border-x":ee()}],"border-w-y":[{"border-y":ee()}],"border-w-s":[{"border-s":ee()}],"border-w-e":[{"border-e":ee()}],"border-w-t":[{"border-t":ee()}],"border-w-r":[{"border-r":ee()}],"border-w-b":[{"border-b":ee()}],"border-w-l":[{"border-l":ee()}],"divide-x":[{"divide-x":ee()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ee()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ve(),"hidden","none"]}],"divide-style":[{divide:[...ve(),"hidden","none"]}],"border-color":[{border:$()}],"border-color-x":[{"border-x":$()}],"border-color-y":[{"border-y":$()}],"border-color-s":[{"border-s":$()}],"border-color-e":[{"border-e":$()}],"border-color-t":[{"border-t":$()}],"border-color-r":[{"border-r":$()}],"border-color-b":[{"border-b":$()}],"border-color-l":[{"border-l":$()}],"divide-color":[{divide:$()}],"outline-style":[{outline:[...ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ee,ie,ae]}],"outline-w":[{outline:["",Ee,xo,ei]}],"outline-color":[{outline:$()}],shadow:[{shadow:["","none",y,Sl,bl]}],"shadow-color":[{shadow:$()}],"inset-shadow":[{"inset-shadow":["none",x,Sl,bl]}],"inset-shadow-color":[{"inset-shadow":$()}],"ring-w":[{ring:ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:$()}],"ring-offset-w":[{"ring-offset":[Ee,ei]}],"ring-offset-color":[{"ring-offset":$()}],"inset-ring-w":[{"inset-ring":ee()}],"inset-ring-color":[{"inset-ring":$()}],"text-shadow":[{"text-shadow":["none",b,Sl,bl]}],"text-shadow-color":[{"text-shadow":$()}],opacity:[{opacity:[Ee,ie,ae]}],"mix-blend":[{"mix-blend":[...se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":se()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ee]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ce()}],"mask-image-linear-from-color":[{"mask-linear-from":$()}],"mask-image-linear-to-color":[{"mask-linear-to":$()}],"mask-image-t-from-pos":[{"mask-t-from":Ce()}],"mask-image-t-to-pos":[{"mask-t-to":Ce()}],"mask-image-t-from-color":[{"mask-t-from":$()}],"mask-image-t-to-color":[{"mask-t-to":$()}],"mask-image-r-from-pos":[{"mask-r-from":Ce()}],"mask-image-r-to-pos":[{"mask-r-to":Ce()}],"mask-image-r-from-color":[{"mask-r-from":$()}],"mask-image-r-to-color":[{"mask-r-to":$()}],"mask-image-b-from-pos":[{"mask-b-from":Ce()}],"mask-image-b-to-pos":[{"mask-b-to":Ce()}],"mask-image-b-from-color":[{"mask-b-from":$()}],"mask-image-b-to-color":[{"mask-b-to":$()}],"mask-image-l-from-pos":[{"mask-l-from":Ce()}],"mask-image-l-to-pos":[{"mask-l-to":Ce()}],"mask-image-l-from-color":[{"mask-l-from":$()}],"mask-image-l-to-color":[{"mask-l-to":$()}],"mask-image-x-from-pos":[{"mask-x-from":Ce()}],"mask-image-x-to-pos":[{"mask-x-to":Ce()}],"mask-image-x-from-color":[{"mask-x-from":$()}],"mask-image-x-to-color":[{"mask-x-to":$()}],"mask-image-y-from-pos":[{"mask-y-from":Ce()}],"mask-image-y-to-pos":[{"mask-y-to":Ce()}],"mask-image-y-from-color":[{"mask-y-from":$()}],"mask-image-y-to-color":[{"mask-y-to":$()}],"mask-image-radial":[{"mask-radial":[ie,ae]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ce()}],"mask-image-radial-from-color":[{"mask-radial-from":$()}],"mask-image-radial-to-color":[{"mask-radial-to":$()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":z()}],"mask-image-conic-pos":[{"mask-conic":[Ee]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ce()}],"mask-image-conic-from-color":[{"mask-conic-from":$()}],"mask-image-conic-to-color":[{"mask-conic-to":$()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:de()}],"mask-repeat":[{mask:M()}],"mask-size":[{mask:Y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ie,ae]}],filter:[{filter:["","none",ie,ae]}],blur:[{blur:be()}],brightness:[{brightness:[Ee,ie,ae]}],contrast:[{contrast:[Ee,ie,ae]}],"drop-shadow":[{"drop-shadow":["","none",S,Sl,bl]}],"drop-shadow-color":[{"drop-shadow":$()}],grayscale:[{grayscale:["",Ee,ie,ae]}],"hue-rotate":[{"hue-rotate":[Ee,ie,ae]}],invert:[{invert:["",Ee,ie,ae]}],saturate:[{saturate:[Ee,ie,ae]}],sepia:[{sepia:["",Ee,ie,ae]}],"backdrop-filter":[{"backdrop-filter":["","none",ie,ae]}],"backdrop-blur":[{"backdrop-blur":be()}],"backdrop-brightness":[{"backdrop-brightness":[Ee,ie,ae]}],"backdrop-contrast":[{"backdrop-contrast":[Ee,ie,ae]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ee,ie,ae]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ee,ie,ae]}],"backdrop-invert":[{"backdrop-invert":["",Ee,ie,ae]}],"backdrop-opacity":[{"backdrop-opacity":[Ee,ie,ae]}],"backdrop-saturate":[{"backdrop-saturate":[Ee,ie,ae]}],"backdrop-sepia":[{"backdrop-sepia":["",Ee,ie,ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ie,ae]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ee,"initial",ie,ae]}],ease:[{ease:["linear","initial",R,ie,ae]}],delay:[{delay:[Ee,ie,ae]}],animate:[{animate:["none",N,ie,ae]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,ie,ae]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:Ke()}],"rotate-x":[{"rotate-x":Ke()}],"rotate-y":[{"rotate-y":Ke()}],"rotate-z":[{"rotate-z":Ke()}],scale:[{scale:Wt()}],"scale-x":[{"scale-x":Wt()}],"scale-y":[{"scale-y":Wt()}],"scale-z":[{"scale-z":Wt()}],"scale-3d":["scale-3d"],skew:[{skew:wn()}],"skew-x":[{"skew-x":wn()}],"skew-y":[{"skew-y":wn()}],transform:[{transform:[ie,ae,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:mn()}],"translate-x":[{"translate-x":mn()}],"translate-y":[{"translate-y":mn()}],"translate-z":[{"translate-z":mn()}],"translate-none":["translate-none"],accent:[{accent:$()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:$()}
309],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",ie,ae]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],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"]}],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",ie,ae]}],fill:[{fill:["none",...$()]}],"stroke-w":[{stroke:[Ee,xo,ei,Pd]}],stroke:[{stroke:["none",...$()]}],"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-x","border-w-y","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-x","border-color-y","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},hM=XN(mM);function Po(...e){return hM(Na(e))}const pM=({id:e,label:a,optionLetter:i,isSelected:o,onSelect:l,isNumericScale:u=!1})=>{const c=Sn(),m=c.backgroundColor?`${c.mainColor}33`:"#4b5563",p=c.textColor||"#ffffff";return h.jsxs("div",{onClick:l,className:Po("flex items-center rounded-lg border-2 transition-all duration-300 cursor-pointer",u?"p-3 w-14 h-14 justify-center":"w-full p-4"),style:{borderColor:o?c.mainColor:m,backgroundColor:o?`${c.mainColor}1a`:"transparent",color:o?c.mainColor:p},children:[!u&&i&&h.jsx("div",{className:"flex flex-shrink-0 items-center justify-center w-9 h-9 rounded-md border text-lg font-bold",style:{borderColor:o?c.mainColor:c.backgroundColor?`${c.mainColor}55`:"#6b7280",color:o?c.mainColor:c.textColor?`${c.textColor}99`:"#9ca3af"},children:i}),h.jsx("span",{className:Po("text-xl",u?"font-bold":"ml-4"),children:a}),h.jsx("input",{type:"radio",id:e,name:"dynamic-form-option",checked:o,readOnly:!0,className:"hidden"})]})};function gM({id:e,label:a,isSelected:i,onSelect:o,disabled:l}){const u=Sn(),c=u.backgroundColor?`${u.mainColor}11`:"#1f2937",m=`${u.mainColor}1a`,p=u.backgroundColor?`${u.mainColor}33`:"#374151",g=u.textColor||"#ffffff";return h.jsxs("div",{onClick:()=>!l&&o(!i),className:Po("flex items-center p-4 rounded-lg border-2 transition-colors duration-200 cursor-pointer",l?"opacity-50 cursor-not-allowed":""),style:{borderColor:i?u.mainColor:p,backgroundColor:i?m:c,color:i?u.mainColor:g},children:[h.jsx("div",{className:Po("w-6 h-6 rounded border-2 flex items-center justify-center mr-4",i?"bg-gray-400 border-gray-400":"border-gray-400"),style:{borderColor:i?u.mainColor:"#9ca3af",backgroundColor:i?u.mainColor:"transparent"},children:i&&h.jsx("svg",{className:"w-4 h-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",style:{color:"#000000"},children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),h.jsx("label",{htmlFor:e,className:"text-lg font-medium cursor-pointer",children:a})]})}function yM({field:e,value:a,error:i,onAnswerChange:o,onFieldBlur:l,onNext:u}){const c=Sn(),m=cx(e.options),p=()=>
309{if(a&&(a.includes("Outro:")||a.includes("Outros:"))){const _=a.split(":");if(_.length>1)return _.slice(1).join(":").trim()}return""},[g,y]=T.useState(p()),[x,b]=T.useState(""),[S,C]=T.useState(null),E=a.toLowerCase()==="outro"||a.toLowerCase()==="outros"||a.toLowerCase().startsWith("outro:")||a.toLowerCase().startsWith("outros:");T.useEffect(()=>{if(E&&g&&(e.type==="radio"||e.type==="select")){const _=m.find(z=>z.toLowerCase()==="outro"||z.toLowerCase()==="outros");_&&o(e.id,`${_}: ${g}`,e.type,!0)}},[g]);const j="|||",R=a?a.split(j):[],N=R.some(_=>_.toLowerCase()==="outro"||_.toLowerCase()==="outros"||_.toLowerCase().startsWith("outro:")||_.toLowerCase().startsWith("outros:"));switch(T.useEffect(()=>{if(N&&x&&e.type==="checkbox"){const _=R.filter(D=>!D.toLowerCase().startsWith("outro:")&&!D.toLowerCase().startsWith("outros:")),z=_.find(D=>D.toLowerCase()==="outro"||D.toLowerCase()==="outros");if(z){const D=_.filter(X=>X.toLowerCase()!=="outro"&&X.toLowerCase()!=="outros");D.push(`${z}: ${x}`),o(e.id,D.join(j),e.type,!0)}}},[x]),e.type){case"text":case"email":case"number":case"date":case"tel":case"url":return h.jsx("input",{type:e.type,placeholder:"Digite sua resposta...",value:a,onChange:_=>o(e.id,_.target.value,e.type),onBlur:_=>{const z=i?"#ef4444":a?c.mainColor:"#6b7280";_.target.style.borderBottomColor=z,l(e.id,_.target.value,e.type)},className:"mt-4 bg-transparent text-2xl p-2 border-b-2 border-gray-500 transition-colors duration-300 ease-in-out focus:outline-none w-full",style:{borderBottomColor:i?"#ef4444":a?c.mainColor:"#6b7280",borderBottomWidth:"2px"},onFocus:_=>_.target.style.borderBottomColor=c.mainColor,onKeyDown:_=>_.key==="Enter"&&u()});case"textarea":return h.jsx("textarea",{placeholder:"Conte-nos mais...",value:a,onChange:_=>o(e.id,_.target.value,e.type),onBlur:_=>{const z=i?"#ef4444":a?c.mainColor:"#6b7280";_.target.style.borderColor=z,l(e.id,_.target.value,e.type)},className:"mt-4 bg-transparent text-2xl p-4 border-2 border-gray-500 transition-colors duration-300 ease-in-out focus:outline-none w-full h-40 rounded-lg",style:{borderColor:i?"#ef4444":a?c.mainColor:"#6b7280"},onFocus:_=>_.target.style.borderColor=c.mainColor});case"checkbox":{let _,z;if(e.validation){const U=e.validation.split(",");for(const V of U){const F=V.trim();if(F.startsWith("min:")){const Z=parseInt(F.split(":")[1],10);isNaN(Z)||(_=Z)}if(F.startsWith("max:")){const Z=parseInt(F.split(":")[1],10);isNaN(Z)||(z=Z)}}}const D=(U,V)=>{const F=new Set(R.filter(Z=>!Z.toLowerCase().startsWith("outro:")&&!Z.toLowerCase().startsWith("outros:")));if(V){if(z&&F.size>=z){C(`Selecione no máximo ${z} opção${z>1?"ões":""}.`);return}U.toLowerCase()==="outro"||U.toLowerCase()==="outros"?(F.add(U),b("")):F.add(U)}else F.delete(U),(U.toLowerCase()==="outro"||U.toLowerCase()==="outros")&&b("");C(null),o(e.id,Array.from(F).join(j),e.type)},X=R.filter(U=>U.length>0&&!U.toLowerCase().startsWith("outro:")&&!U.toLowerCase().startsWith("outros:")).length;return h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"mt-6 flex flex-col gap-3 w-full",children:[m.map(U=>{const V=R.includes(U)||R.some(F=>F.startsWith(`${U}:`));return h.jsx(gM,{id:`${e.id}-${U}`,label:U,isSelected:V,onSelect:F=>D(U,F),disabled:!!z&&!V&&X>=z},U)}),(_||z)&&h.jsx("div",{className:"text-xs text-gray-400 mt-1",children:_&&z?`Selecione de ${_} a ${z} opções${z>1,""}.`:z?`Selecione até ${z} opção${z>1?"ões":""}.`:`Selecione no mÃnimo ${_} opção${_&&_>1?"ões":""}.`}),S&&h.jsx("div",{className:"text-red-500 text-sm mt-1",children:S})]}),N&&h.jsx("input",{type:"text",placeholder:"Por favor, especifique...",value:x,onChange:U=>b(U.target.value),onBlur:()=>{if(x){const U=R.filter(F=>!F.toLowerCase().startsWith("outro:")&&!F.toLowerCase().startsWith("outros:")),V=U.find(F=>F.toLowerCase()==="outro"||F.toLowerCase()==="outros");if(V){const F=U.filter(Z=>Z.toLowerCase()!=="outro"&&Z.toLowerCase()!=="outros");F.push(`${V}: ${x}`),l(e.id,F.join(j),e.type)}}},className:"mt-3 bg-transparent text-xl p-2 border-b-2 border-gray-500 transition-colors duration-300 ease-in-out focus:outline-none w-full",style:{borderBottomColor:x?c.mainColor:"#6b7280",borderBottomWidth:"2px"},onFocus:U=>U.target.style.borderBottomColor=c.mainColor,onKeyDown:U=>U.key==="Enter"&&x&&u()})]})}case"select":case"radio":{const _=m.length>0&&m.every(D=>{const X=D.trim();return/^[12]\d{3}$/.test(X)?!1:/^\d+$/.test(X)}),z=D=>{D.toLowerCase()==="outro"||D.toLowerCase(),o(e.id,D,e.type),y("")};return h.jsxs(h.Fragment,{children:[h.jsx("div",{className:Po("mt-6 w-full",_?"flex flex-row gap-2 justify-start flex-wrap":"flex flex-col gap-3"),children:m.map((D,X)=>h.jsx(pM,{id:`${e.id}-${D}`,label:D,optionLetter:_?"":String.fromCharCode(65+X),isSelected:a===D||a.startsWith(`${D}:`),onSelect:()=>z(D),isNumericScale:_},D))}),E&&h.jsx("input",{type:"text",placeholder:"Por favor, especifique...",value:g,onChange:D=>{console.log("â¨ï¸ Digitando no campo outro:",D.target.value),y(D.target.value)},onBlur:()=>{if(g){const D=m.find(X=>X.toLowerCase()==="outro"||X.toLowerCase()==="outros");D&&l(e.id,`${D}: ${g}`,e.type)}},className:"mt-3 bg-transparent text-xl p-2 border-b-2 border-gray-500 transition-colors duration-300 ease-in-out focus:outline-none w-full",style:{borderBottomColor:g?c.mainColor:"#6b7280",borderBottomWidth:"2px"},onFocus:D=>D.target.style.borderBottomColor=c.mainColor,onKeyDown:D=>D.key==="Enter"&&g&&u()})]})}default:return null}}function Wb({currentQuestionIndex:e,currentField:a,answers:i,fieldErrors:o,onAnswerChange:l,onFieldBlur:u,onNext:c}){const m=Sn();return h.jsxs("div",{className:"mb-8",children:[h.jsxs("label",{className:"text-3xl font-bold flex items-start gap-2",children:[h.jsx("span",{style:{color:m.mainColor},children:e+1}),h.jsx(Of,{size:20,className:"mt-2",style:{color:m.mainColor}}),h.jsx("span",{children:a.label})]}),a.description&&h.jsx("p",{className:"text-gray-400 text-base mt-2 ml-9 leading-relaxed",children:a.description}),a.type==="textarea"&&h.jsx("p",{className:"text-gray-400 mt-2",children:"Pressione Shift + Enter para quebra de linha."}),h.jsxs("div",{className:"mt-4",children:[h.jsx(yM,{field:a,value:i[a.id]||"",error:o[a.id],onAnswerChange:l,onFieldBlur:u,onNext:c}),o[a.id]&&h.jsx("div",{className:"text-red-500 text-sm mt-2",children:o[a.id]})]})]})}function vM({currentQuestionIndex:e,currentField:a,isLastQuestion:i,isSubmitting:o,isCurrentFieldValid:l,currentValue:u,onPrevious:c,onNext:m}){const p=Sn(),g=(u==null?void 0:u.toLowerCase())==="outro"||(u==null?void 0:u.toLowerCase())==="outros",y=a.type!=="radio"&&a.type!=="select"||i||u&&u.length>0||g;return h.jsxs("div",{className:"flex justify-end items-center mt-8 w-full",children:[e>0&&h.jsx("button",{onClick:c,className:"p-2 rounded-full transition-colors mr-4",style:{color:p.textColor||"#ffffff",backgroundColor:"transparent"},onMouseEnter:x=>x.currentTarget.style.backgroundColor=p.backgroundColor?`${p.mainColor}22`:"#1f2937",onMouseLeave:x=>x.currentTarget.style.backgroundColor="transparent",children:h.jsx($2,{size:24})}),y&&h.jsx(Aa,{onClick:m,disabled:o||!l,className:"text-xl px-12 py-4 rounded-full shadow-2xl hover:scale-105 transform transition-all duration-300 font-semibold",style:{background:`linear-gradient(to right, ${p.mainColor}, ${p.mainColor}dd)`,boxShadow:`0 25px 50px -12px ${p.mainColor}40`,color:p.buttonTextColor||"#000000"},children:i?o?"Enviando...":"Enviar":"Avançar"})]})}function xM({currentQuestionIndex:e,visibleFields:a,answers:i,isSubmitting:o,isCurrentFieldValid:l,fieldErrors:u,onAnswerChange:c,onFieldBlur:m,onNext:p,onPrevious:g}){const y=a[e],x=e===a.length-1,b=i[y==null?void 0:y.id]||"";return h.jsxs("main",{className:"flex-grow flex flex-col justify-center w-full max-w-3xl py-8",children:[h.jsx(IR,{mode:"wait",children:h.jsx(ke.div,{initial:{opacity:0,x:50}
309,animate:{opacity:1,x:0},exit:{opacity:0,x:-50},transition:{duration:.4},className:"w-full",children:h.jsx(Wb,{currentQuestionIndex:e,currentField:y,answers:i,fieldErrors:u,onAnswerChange:c,onFieldBlur:m,onNext:p})},e)}),h.jsx(vM,{currentQuestionIndex:e,currentField:y,isLastQuestion:x,isSubmitting:o,isCurrentFieldValid:l,currentValue:b,onPrevious:g,onNext:p})]})}function bM({visibleFields:e,answers:a,isSubmitting:i,fieldErrors:o,onAnswerChange:l,onFieldBlur:u,onSubmit:c}){const m=Sn();return h.jsxs("main",{className:"flex-grow flex flex-col justify-center w-full max-w-3xl py-8",children:[h.jsx("div",{className:"flex flex-col gap-10 w-full",children:e.map((p,g)=>h.jsx(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:Math.min(g*.05,.3)},className:"w-full",children:h.jsx(Wb,{currentQuestionIndex:g,currentField:p,answers:a,fieldErrors:o,onAnswerChange:l,onFieldBlur:u,onNext:()=>{}})},p.id))}),h.jsx("div",{className:"flex justify-end items-center mt-8 w-full",children:h.jsx(Aa,{onClick:c,disabled:i,className:"text-xl px-12 py-4 rounded-full shadow-2xl hover:scale-105 transform transition-all duration-300 font-semibold",style:{background:`linear-gradient(to right, ${m.mainColor}, ${m.mainColor}dd)`,boxShadow:`0 25px 50px -12px ${m.mainColor}40`,color:m.buttonTextColor||"#000000"},children:i?"Enviando...":"Enviar"})})]})}function fv(){const{formId:e}=rC(),[a]=Df(),o=Ht().pathname.startsWith("/quiz"),l=a.get("email"),u=Sn(),[c,m]=T.useState(null),[p,g]=T.useState({}),[y,x]=T.useState(0),[b,S]=T.useState(!0),[C,E]=T.useState(!1),[j,R]=T.useState(null),[N,_]=T.useState(null),[z,D]=T.useState({}),[X,U]=T.useState(!1),[V,F]=T.useState(!1),[Z,ge]=T.useState([]),[xe,Xe]=T.useState(null),[et,Ne]=T.useState(null),[H,K]=T.useState(null),[$,de]=T.useState(""),[M,Y]=T.useState(!1),[W,J]=T.useState(null),[ee,ve]=T.useState(null),se=["gmail.com","yahoo.com","hotmail.com","outlook.com","live.com","icloud.com","me.com","aol.com","protonmail.com","zoho.com","mail.com","yandex.com","gmx.com","terra.com.br","uol.com.br","bol.com.br","ig.com.br","r7.com","globo.com","globomail.com"],Ce=ye=>{var De;if(!ye||!ye.includes("@"))return!1;const oe=(De=ye.split("@")[1])==null?void 0:De.toLowerCase();return oe?!se.includes(oe):!1},be=ye=>!ye||/\{\{|\}\}/.test(ye)?!1:/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(ye),Ke=o&&!!l&&be(l),Wt="|||",wn=()=>{if(!c||Z.length===0)return!1;const ye=Z[y],oe=p[ye.id]||"";if(z[ye.id])return!1;if(!ye.required)return!0;switch(ye.type){case"checkbox":return oe.split(Wt).map(Pe=>Pe.trim()).filter(Pe=>Pe.length>0).length>0;case"text":case"textarea":case"tel":case"url":case"number":case"date":return oe.trim().length>0;case"email":return ye.corporateEmailOnly?oe.trim().length>0&&Ce(oe):oe.trim().length>0;case"radio":case"select":return oe.length>0;default:return!0}},mn=(ye,oe,De)=>{if(De==="email"&&oe.trim()){const Pe=c==null?void 0:c.fields.find(Fe=>Fe.id===ye);if(Pe!=null&&Pe.corporateEmailOnly&&!Ce(oe)){const Fe='Campo "Email" requer um e-mail corporativo. E-mails pessoais como "gmail.com" não são aceitos.';D(ze=>({...ze,[ye]:Fe})),Ge.error(Fe,{position:"top-center",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0})}else D(Fe=>{const ze={...Fe};return delete ze[ye],ze})}};T.useEffect(()=>{if(!e){R("ID do formulário não encontrado."),S(!1);return}(async()=>{try{S(!0);const oe=await $E(e);if(oe.success){const De=oe.data.fields.sort((Re,yt)=>Re.position-yt.position);for(const Re of De)Re.options&&(Re.options=cx(Re.options));if(o){for(const Re of De)if(Re.options&&Re.options.length>1){const yt=[...Re.options];for(let wt=yt.length-1;wt>0;wt--){const hn=Math.floor(Math.random()*(wt+1));[yt[wt],yt[hn]]=[yt[hn],yt[wt]]}Re.options=yt}}const Pe={},Fe=new Set,ze=a.get("fieldId"),Qe=a.get("answer");for(const[Re,yt]of a.entries()){let wt;if(Re==="email"){if(!be(yt))continue;wt=De.find(hn=>hn.type==="email")}else if(Re==="fieldId"&&Qe){wt=De.find(hn=>hn.id===yt),wt&&(Pe[wt.id]=Qe,Fe.add(wt.id));continue}else{if(Re==="answer")continue;{const hn=parseInt(Re,10);isNaN(hn)||(wt=De.find(ci=>ci.position===hn))}}wt&&Re!=="fieldId"&&(Pe[wt.id]=yt,Fe.add(wt.id))}g(Pe);const le=De.filter(Re=>!Fe.has(Re.id));m({...oe.data,fields:De}),ge(le),(a.get("skip")==="true"||ze&&Qe)&&F(!0),ze&&Qe&&le.length===0&&F(!0)}else R("Falha ao carregar o formulário.")}catch{R("Ocorreu um erro ao buscar o formulário.")}finally{S(!1)}})()},[e,a]),T.useEffect(()=>{o&&l&&be(l)&&(de(l),Y(!0))},[o,l]),T.useEffect(()=>{if(!c)return;const ye=c.fields.sort((ze,Qe)=>ze.position-Qe.position),oe=new Set;for(const[ze,Qe]of a.entries())if(ze==="email"){if(!be(Qe))continue;const le=ye.find(Se=>Se.type==="email");le&&oe.add(le.id)}else if(ze==="fieldId")oe.add(Qe);else{const le=parseInt(ze,10);if(!isNaN(le)){const Se=ye.find(Re=>Re.position===le);Se&&oe.add(Se.id)}}const De=ye.filter(ze=>oe.has(ze.id)?!1:$0(ze,p,ye)),Pe=Z.map(ze=>ze.id).join(","),Fe=De.map(ze=>ze.id).join(",");Pe!==Fe&&(ge(De),y>=De.length&&De.length>0&&x(De.length-1))},[c,p,a]);const ri=ye=>{if(_(null),c&&Z.length>0){const oe=Z[y];let De=p[oe.id]||"";ye&&ye.fieldId===oe.id&&(De=ye.value);let Pe=!0;if(oe.required){switch(oe.type){case"checkbox":Pe=De.split(Wt).map(ze=>ze.trim()).filter(ze=>ze.length>0).length>0;break;case"radio":case"select":case"text":case"textarea":case"email":case"tel":case"url":case"number":case"date":Pe=De.trim().length>0;break}oe.type==="email"&&Pe&&oe.corporateEmailOnly&&(Pe=Ce(De))}if(!Pe&&oe.required){oe.type==="checkbox"?_("Selecione pelo menos uma opção para continuar."):R("Este campo é obrigatório.");return}}R(null),c&&y<Z.length-1?x(y+1):c&&y===Z.length-1&&hs(ye)},li=(ye,oe,De,Pe)=>{g(le=>({...le,[ye]:oe}));
309const Fe=y===Z.length-1,ze=!!(c!=null&&c.isOnePage)&&!o,Qe=oe.toLowerCase()==="outro"||oe.toLowerCase()==="outros";!ze&&(De==="radio"||De==="select")&&!Fe&&!Pe&&!Qe&&setTimeout(()=>{ri({fieldId:ye,value:oe})},300)},Il=()=>{y>0&&x(y-1)},hs=async ye=>{if(!c||!e||C)return;E(!0),R(null);let oe={...p};ye&&(oe[ye.fieldId]=ye.value);const De=c.fields.sort((le,Se)=>le.position-Se.position),Fe=c.fields.filter(le=>le.required&&$0(le,oe,De)).filter(le=>{const Se=oe[le.id]||"";switch(le.type){case"checkbox":return Se.split(Wt).map(yt=>yt.trim()).filter(yt=>yt.length>0).length===0;case"radio":case"select":case"text":case"textarea":case"email":case"tel":case"url":case"number":case"date":return Se.trim().length===0;default:return!Se}});if(Fe.length>0){const Se=`Campos obrigatórios não preenchidos: ${Fe.map(Re=>Re.label).slice(0,3).join(", ")}${Fe.length>3?` e mais ${Fe.length-3}...`:""}`;R(Se),E(!1);return}const Qe=c.fields.map(le=>le.id).map(le=>({fieldId:le,value:oe[le]||""}));try{if(o){console.log("ð¤ Enviando quiz:",{quizId:e,email:$,totalAnswers:Qe.filter(Se=>Se.value.trim()).length});const le=await FE({quizId:e,email:$,answers:Qe.map(Se=>({fieldId:Se.fieldId,answer:Se.value}))});le.data&&J(le.data),U(!0)}else{console.log("ð¤ Enviando formulário:",{formId:e,totalFields:Qe.length,filledFields:Qe.filter(Se=>Se.value.trim()).length,values:Qe.map(Se=>({fieldId:Se.fieldId,hasValue:!!Se.value.trim()}))});const le=await GE({formId:e,userId:l??void 0,values:Qe});if(le&&typeof le=="object"&&"data"in le&&le.data&&typeof le.data=="object"){const Se=le.data;Se.fileUrl&&Xe(Se.fileUrl),Se.completionBody&&Ne(Se.completionBody),Se.completionImageUrl&&K(Se.completionImageUrl),Se.scoring&&ve(Se.scoring)}U(!0)}}catch(le){console.error("â Erro ao enviar:",le),R(le.message||"Ocorreu um erro ao enviar suas respostas.")}finally{E(!1)}},$t=()=>{if(!c)return;F(!1),U(!1),J(null),ve(null),o&&(Ke&&l?(Y(!0),de(l)):(Y(!1),de("")));const ye={};for(const[oe,De]of a.entries()){let Pe;if(oe==="email")Pe=c.fields.find(Fe=>Fe.type==="email");else{const Fe=parseInt(oe,10);isNaN(Fe)||(Pe=c.fields.find(ze=>ze.position===Fe))}Pe&&(ye[Pe.id]=De)}g(ye),x(0),Xe(null),Ne(null),K(null)},Qo=()=>{be($)&&Y(!0)};if(b)return h.jsx("div",{className:"flex justify-center items-center h-screen bg-black text-white",children:"Carregando..."});if(j&&!c)return h.jsx("div",{className:"flex justify-center items-center h-screen bg-black text-red-500",children:j});if(X)return h.jsx(sv,{onReset:$t,fileUrl:xe,completionBody:et,completionImageUrl:H,quizResult:W,scoringResult:ee});if(!c)return h.jsx("div",{className:"flex justify-center items-center h-screen bg-black text-white",children:"Formulário não encontrado."});if(!V)return h.jsx(ON,{form:c,onStart:()=>F(!0)});if(o&&!M){const ye=be($);return h.jsxs("div",{className:"min-h-screen flex flex-col items-center p-4 font-sans",style:{backgroundColor:u.backgroundColor||"#000000",color:u.textColor||"#ffffff"},children:[h.jsx(ov,{logoUrl:c.logoImageUrl}),h.jsxs("main",{className:"flex-grow flex flex-col justify-center w-full max-w-3xl py-8",children:[h.jsx(ke.div,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.4},className:"w-full",children:h.jsxs("div",{className:"mb-8",children:[h.jsxs("label",{className:"text-3xl font-bold flex items-start gap-2",children:[h.jsx("span",{style:{color:u.mainColor},children:"1"}),h.jsx(Of,{size:20,className:"mt-2",style:{color:u.mainColor}}),h.jsx("span",{children:"Qual é o seu email?"})]}),h.jsx("div",{className:"mt-4",children:h.jsx("input",{type:"email",placeholder:"Digite seu email...",value:$,onChange:oe=>de(oe.target.value),className:"mt-4 bg-transparent text-2xl p-2 border-b-2 border-gray-500 transition-colors duration-300 ease-in-out focus:outline-none w-full",style:{borderBottomColor:$?u.mainColor:"#6b7280",borderBottomWidth:"2px"},onFocus:oe=>oe.target.style.borderBottomColor=u.mainColor,onBlur:oe=>oe.target.style.borderBottomColor=$?u.mainColor:"#6b7280",onKeyDown:oe=>{oe.key==="Enter"&&ye&&Qo()},autoFocus:!0})})]})}),h.jsx("div",{className:"flex justify-end items-center mt-8 w-full",children:h.jsx(Aa,{onClick:Qo,disabled:!ye,className:"text-xl px-12 py-4 rounded-full shadow-2xl hover:scale-105 transform transition-all duration-300 font-semibold",style:{background:`linear-gradient(to right, ${u.mainColor}, ${u.mainColor}dd)`,boxShadow:`0 25px 50px -12px ${u.mainColor}40`,color:u.buttonTextColor||"#000000"},children:"Avançar"})})]}),h.jsx(rv,{currentQuestionIndex:0,totalQuestions:Z.length+1})]})}if(Z.length===0&&V)return hs(),h.jsx(sv,{onReset:$t,fileUrl:xe,completionBody:et,completionImageUrl:H,quizResult:W,scoringResult:ee});const ui=!!c.isOnePage&&!o;return h.jsxs("div",{className:"min-h-screen flex flex-col items-center p-4 font-sans",style:{backgroundColor:u.backgroundColor||"#000000",color:u.textColor||"#ffffff"},children:[ui&&c.coverImageUrl&&h.jsx("img",{src:c.coverImageUrl,alt:"capa",className:"w-full max-w-3xl h-40 md:h-56 object-cover rounded-2xl shadow-2xl mt-6"}),h.jsx(ov,{logoUrl:c.logoImageUrl}),ui?h.jsx(bM,{visibleFields:Z,answers:p,isSubmitting:C,fieldErrors:z,onAnswerChange:li,onFieldBlur:mn,onSubmit:()=>hs()}):h.jsx(xM,{currentQuestionIndex:y,visibleFields:Z,answers:p,isSubmitting:C,isCurrentFieldValid:wn(),fieldErrors:z,onAnswerChange:li,onFieldBlur:mn,onNext:ri,onPrevious:Il}),N&&h.jsx("div",{className:"text-red-500 text-center mt-2",children:N}),j&&h.jsx("div",{className:"text-red-500 text-center mt-2",children:j}),!ui&&h.jsx(rv,{currentQuestionIndex:o&&!Ke?y+1:y,totalQuestions:o&&!Ke?Z.length+1:Z.length})]})}
309class bo extends Error{constructor(a,i=500,o){super(a),this.code=i,this.details=o,this.name="UrlError"}}class e1{static async getLongUrl(a,i){try{if(!a)throw new bo("ID da URL curta é obrigatório",400);const o=new URL(`${this.BASE_URL}/utils/url/${a}`);i&&o.searchParams.set("beehiiv_post_id",i);const l=await fetch(o.toString());if(!l.ok)throw l.status===404?new bo("URL curta não encontrada",404):new bo("Erro ao buscar URL",l.status);return(await l.json()).longUrl}catch(o){throw o instanceof bo?o:new bo("Erro inesperado ao processar URL curta")}}}f0(e1,"BASE_URL","https://worker.thenewscc.com");const mv=new Map,SM=()=>{const e=T.useRef(!1);return{redirectToShortUrl:T.useCallback(async(i,o)=>{if(!e.current){e.current=!0;try{if(!o){const u=mv.get(i);if(u){window.location.replace(u);return}}const l=await e1.getLongUrl(i,o);o||mv.set(i,l),window.location.replace(l)}catch(l){throw e.current=!1,l}}},[])}},wM=()=>{const e=Ht(),{redirectToShortUrl:a}=SM(),i=T.useRef(!1);return T.useEffect(()=>{if(i.current)return;i.current=!0,(async()=>{try{const l=new URLSearchParams(e.search),u=l.get("url"),c=l.get("id");u&&await a(u,c||void 0)}catch(l){console.error("Erro no redirecionamento:",l)}})()},[e,a]),null};function CM(){return h.jsxs("div",{className:"w-full flex flex-col items-center bg-gray-soft-lp-bg",children:[h.jsx(Fo,{}),h.jsxs("main",{className:"min-h-screen py-8 md:py-12 lg:py-16 flex flex-col max-w-4xl w-full px-4 mx-auto text-justify mt-20",children:[h.jsx("div",{className:"mb-8 md:mb-12",children:h.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-gray-dark dark:text-gray-100 mb-4",children:"PolÃtica de Privacidade Grupo TNS"})}),h.jsxs("div",{className:"prose prose-lg dark:prose-invert max-w-none space-y-8",children:[h.jsxs("section",{children:[h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"As marcas the news, Rising, the news AROUND, the news CAREER, the news MONEY, the news TREND, the news BUSINESS, the news CULT, the news SPORTS e the news HEALTH (conjuntamente denominadas âthe newsâ), são integrantes do mesmo grupo editorial (Grupo TNS)."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mt-4",children:"A the news (ânósâ) respeita a privacidade das partes que visitam nosso site e quem solicita o recebimento de nossos e-mails diários (os âBoletinsâ). O envio de todos os nossos e-mails (âEdição Tradicionalâ, âEdição de sábadoâ e âthe recapâ) são plenamente autorizados e requisitados pelos visitantes, ao incluÃrem seu endereço eletrônico em nosso formulário no domÃnio thenews.com.br."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mt-4",children:"O presente documento tem como objetivo educar você sobre nossas polÃticas e práticas relacionadas à coleta, uso e divulgação de quaisquer Informações Pessoais (definidas abaixo) e Informações Anônimas (definidas abaixo) que você nos enviar ou que coletamos por meio de nosso site da Web. A página inicial está localizada em https://thenews.com.br. A página inicial e as páginas que a acompanham serão conhecidas como âSiteâ. âInformações Pessoaisâ são dados relacionados a pessoa natural identificada ou identificável, nos termos da Lei Geral de Proteção de Dados Pessoais â LGPD (Lei nº 13.709/2018), incluindo, sem limitação, nome, endereço, e-mail e outras informações não públicas associadas. âInformações Anônimasâ são dados agregados, anonimizados ou pseudonimizados que não permitem a identificação, direta ou indireta, de pessoa fÃsica. Coletamos e usamos Informações Pessoais e Anônimas conforme indicado nesta PolÃtica de Privacidade. Antes de enviar suas informações pessoais para o site, leia esta PolÃtica de Privacidade com atenção."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mt-4",children:"Ao utilizar ou acessar o Site, inscrever-se para receber os Boletins e / ou comunicar-se conosco via correio, e-mail ou telefone, você está aceitando as práticas descritas nesta PolÃtica de Privacidade."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"1. Consentimento do Usuário"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Ao enviar quaisquer Informações Pessoais por meio de nosso Site, você concorda com os termos desta PolÃtica de Privacidade e concorda expressamente com o tratamento de suas Informações Pessoais definidas nesta PolÃtica de Privacidade."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"As bases legais para o tratamento de Informações Pessoais, conforme art. 7º da LGPD, incluem: (i) consentimento; (ii) execução de contrato ou serviço solicitado; (iii) cumprimento de obrigação legal ou regulatória; (iv) interesses legÃtimos da the news ou de terceiros, desde que não prevaleçam seus direitos; (v) proteção da vida ou incolumidade fÃsica; entre outras. O tratamento de dados sensÃveis, se aplicável, exige consentimento especÃfico e destacado (art. 11 da LGPD). Você poderá revogar o consentimento a qualquer momento, por meio dos canais indicados na seção âDireitos do Titularâ. Você entende e concorda que podemos coletar, usar, divulgar e de outra forma processar as Informações Pessoais que você fornece, mesmo se você estiver localizado fora do Brasil."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"2. Informações Coletadas"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Podemos coletar informações pessoais que você nos envia voluntariamente por meio de nosso site. Coletamos essas
309informações quando você se inscreve, cria e edita um perfil, responde a perguntas de pesquisas, participa de concursos, usa determinados recursos do site ou outros métodos de envio de informações. Os tipos de informação que você pode optar por fornecer em nosso site podem incluir, sem limitação:"}),h.jsxs("ul",{className:"list-disc list-inside text-gray-600 dark:text-gray-300 space-y-2 ml-4",children:[h.jsx("li",{children:"Nome, nome de usuário, senha, endereço de e-mail e outras informações de contato."}),h.jsx("li",{children:"Endereços de cobrança e envio, número do cartão de crédito e data de validade."}),h.jsx("li",{children:"Modelo do dispositivo, sistema operacional, tipo de navegador, identificador exclusivo do dispositivo, endereço IP, número de telefone celular, operadora de rede móvel e localização aproximada (baseada em IP ou GPS, apenas se autorizada)."}),h.jsx("li",{children:"Outras informações pessoais que você escolher fornecer, como suas preferências, etc."})]}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mt-4",children:"Coletamos apenas dados adequados, relevantes e limitados à s finalidades informadas."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"3. Uso da Informação"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"A the news compromete-se a utilizar as informações pessoais coletadas exclusivamente para os fins legÃtimos e previamente informados ao titular, em conformidade com os princÃpios de necessidade, adequação e transparência previstos na LGPD. As informações pessoais poderão ser utilizadas para os seguintes propósitos:"}),h.jsxs("ul",{className:"list-disc list-inside text-gray-600 dark:text-gray-300 space-y-2 ml-4",children:[h.jsx("li",{children:"Atender e responder à s solicitações, dúvidas ou comunicações encaminhadas pelos usuários;"}),h.jsx("li",{children:"Cumprir finalidades administrativas, operacionais e de comunicação institucional;"}),h.jsx("li",{children:"Aperfeiçoar e desenvolver nossos produtos, serviços e plataformas digitais;"}),h.jsx("li",{children:"Entrar em contato com o usuário para fins comerciais legÃtimos;"}),h.jsx("li",{children:"Enviar boletins informativos, pesquisas, promoções e comunicações sobre atualizações de nossos produtos e serviços, mediante autorização prévia do titular."})]}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mt-4",children:"As informações anônimas, entendidas como dados que não permitem a identificação pessoal do usuário, poderão incluir estatÃsticas de acesso, páginas visitadas, padrões de navegação e demais métricas de uso. Esses dados são utilizados com o objetivo de analisar tendências, aperfeiçoar a experiência do usuário e melhorar continuamente nossos produtos e serviços. A the news reserva-se o direito de utilizar e compartilhar informações anônimas com parceiros, prestadores de serviços ou terceiros, para fins de análise, marketing ou aprimoramento de desempenho, desde que tais informações não revelem, direta ou indiretamente, a identidade dos usuários."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"4. Compartilhamento de Informações"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Não vendemos, trocamos, alugamos ou compartilhamos suas Informações Pessoais com terceiros para fins de marketing e não divulgaremos informações financeiras que façam parte de suas Informações Pessoais, a menos que você solicite ou autorize que façamos isso. Se você fornecer informações pessoais por um determinado motivo, podemos usar as informações pessoais em conexão com o motivo pelo qual foram fornecidas. Por exemplo, se você nos contatar por e-mail, usaremos as Informações Pessoais Fornecidas para responder à sua pergunta ou resolver seu problema e responderemos ao endereço de e-mail de onde veio o contato."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Podemos divulgar informações pessoais para nossas subsidiárias corporativas ou entidades afiliadas. Quaisquer informações pessoais fornecidas a nossas subsidiárias ou entidades afiliadas serão tratadas por essas subsidiárias e entidades afiliadas de acordo com os termos desta PolÃtica de Privacidade."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Podemos compartilhar suas informações pessoais com fornecedores, operadores de tratamento e prestadores de serviços terceirizados (ex.: provedores de hospedagem, analytics, e-mail marketing) para enviar-lhe os boletins informativos. Esses prestadores de serviços são contratualmente obrigados a garantir a confidencialidade das Informações Pessoais e implementar as medidas de segurança adequadas e atuar exclusivamente como operadores. Usamos processadores de pagamento de terceiros para qualquer compra que você fizer por meio do site ou boletins informativos. Esteja ciente de que não temos acesso a nenhuma informação pessoal, incluindo números de cartão de crédito ou outras informações financeiras, que você forneça a esses processadores."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Esta PolÃtica de Privacidade não se aplica a eles e não aceitamos qualquer responsabilidade ou obrigação por suas polÃticas. Podemos participar de acordos de Co-branding ou Co promoção com terceiros de acordo com os quais podemos compartilhar Informações Pessoais com esses terceiros (âEmpresas Parceirasâ)."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Por exemplo, podemos participar de acordos com Empresas Parceiras nos termos dos quais fornecemos à s Empresas Parceiras um URL e uma página de registro de cliente com marca conjunta ou rotulada pelas Empresas Parceiras, e as Empresas Parceiras distribuem e promovem o URL aos seus clientes."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Uma empresa parceira pode ter acesso à s informações pessoais que coletamos de seus clientes. Como resultado, se você se registrar no site por meio de uma empresa parceira, poderemos fornecer suas informações pessoais à empresa parceira. Não controlamos as práticas de privacidade dessas empresas parceiras."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Podemos oferecer a você a chance de participar de sorteios, concursos, brindes e promoções (âPromoções Especiaisâ) por meio de nosso Site. Ao se registrar para uma Promoção Especial, você concorda com as regras oficiais que regem essa Promoção Especial, que pode conter requisitos especÃficos de você, incluindo, exceto onde proibido por lei, permitir que o(s) patrocinador(es) da Promoção Especial usem seu nome, voz e / ou semelhança em publicidade ou marketing associado à Promoção Especial. Se você optar por participar de um sorteio, concurso ou outra promoção, as informações de identificação pessoal podem ser divulgadas a terceiros ou ao público em conexão com a administração de tal Promoção Especial, incluindo, sem limitação, em conexão com a seleção do vencedor, cumprimento do prêmio."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Também podemos informar uma empresa que presta serviços ou fornece produtos e / ou serviços para nós (que pode ou não ser um parceiro de negócios ou um anunciante em nosso site) que 90% dos nossos usuários vivem no Brasil ou que 80% dos nossos usuários adquiriram produtos e/ou serviços que podem ser baixados do n
309osso site. Dependendo das circunstâncias, podemos ou não cobrar de terceiros por essas informações agregadas. Não podemos limitar o uso das Informações Agregadas por terceiros, os dados agregados não permitem reidentificação."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Nos seguintes cenários, podemos ser obrigados a compartilhar suas informações pessoais:"}),h.jsxs("ul",{className:"list-disc list-inside text-gray-600 dark:text-gray-300 space-y-2 ml-4",children:[h.jsx("li",{children:"Se acreditarmos que é necessário compartilhar informações a fim de investigar, prevenir ou tomar medidas em relação a atividades ilegais, suspeita de fraude, situações envolvendo possÃveis ameaças à segurança fÃsica de qualquer pessoa, violações de nossos Termos de Uso ou conforme exigido por lei."}),h.jsx("li",{children:"Se respondermos a intimações, ordens judiciais ou processos legais, ou se precisarmos estabelecer ou exercer nossos direitos legais ou nos defendermos de ações judiciais."}),h.jsx("li",{children:"Se acreditarmos que é necessário restringir ou inibir qualquer usuário de usar qualquer um de nossos sites, incluindo, sem limitação, por meio de âhackingâ ou desfiguração de qualquer parte dele."})]})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"5. Direitos do Titular"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Você tem opções em relação à coleta, uso e compartilhamento de suas informações pessoais sob certas circunstâncias: o receber nossas comunicações promocionais, você pode especificar uma preferência para parar de receber nossas comunicações promocionais e terá a chance de âcancelarâ seguindo as instruções de cancelamento de assinatura indicadas na comunicação que receber."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Você também pode nos contatar por e-mail em [email protected] para optar por não receber quaisquer comunicações promocionais. (Inclua âNão quero receber promoçõesâ na linha de assunto.)"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Apesar de suas preferências selecionadas, podemos enviar-lhe comunicações não relacionadas a marketing relacionadas aos serviços que fornecemos a você, como avisos sobre atualizações administrativas, relatórios de transações, avisos de novos lançamentos de sites e avisos sobre mudanças no site, atualizações em nossa PolÃtica de Privacidade, Termos de Uso ou outras polÃticas."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"6. Cancelar a Assinatura da Newsletter"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Caso não deseje mais receber nossos boletins informativos em sua caixa de entrada, você pode clicar no link de cancelamento localizado na parte inferior de cada e-mail enviado ou simplesmente entrar em contato conosco em [email protected] e nós o removeremos imediatamente de nossa lista de distribuição."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"7. Localizado no Brasil"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"A empresa the news está localizada no Brasil e é regida pelas leis brasileiras. Se você estiver fora do Brasil quando visitar o site ou se comunicar conosco por correio, e-mail ou telefone, esteja ciente de que suas informações pessoais podem ser transferidas, armazenadas e processadas no Brasil, onde nossos servidores estão localizados."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Qualquer informação que você nos fornece, ou que coletamos por meio do uso do site, será armazenada, processada e transferida dentro ou para o Brasil. Esteja ciente de que o Brasil e outras jurisdições além daquela em que você está localizado podem não fornecer o mesmo nÃvel de proteção de dados considerado adequado em seu paÃs. Observe que suas informações pessoais podem estar disponÃveis para o governo brasileiro ou suas agências por meio de processos legais no Brasil."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"8. Dados do Usuário do Google"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"O site pode usar serviços de terceiros para acessar seus dados de usuário do Google, somente após sua verificação e c
309onsentimento explÃcito. Você será notificado antes de acessar seus dados de usuário do Google e deve autorizar as credenciais de sua conta antes de poder acessar seus dados de usuário do Google através do site."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Os dados de usuário do Google que você usa não serão armazenados ou compartilhados por nós. Os dados de usuário do Google acessados pelo site são limitados aos contatos do usuário e são usados exclusivamente para permitir que você envie e-mail a esses contatos diretamente do site. Não temos acesso direto aos contatos; o processamento ocorre via API autorizada e é descartado imediatamente após o uso."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"9. Segurança dos Dados"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"A the news implementou medidas de segurança técnicas, administrativas e fÃsicas para proteger suas informações de acesso e uso não autorizado, incluindo criptografia TLS, firewalls, controle de acesso baseado em papéis e auditorias periódicas. Embora nos esforcemos para proteger suas informações, nenhuma transmissão de dados pela Internet é 100% segura e, consequentemente, enquanto nos esforçamos para proteger suas informações pessoais, não podemos garantir ou garantir a segurança de qualquer informação que você transmita e você o faz por sua própria conta e risco."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Não podemos prometer que suas informações permanecerão absolutamente seguras em todas as circunstâncias. Não somos responsáveis por contornar quaisquer configurações de privacidade ou medidas de segurança que possamos fornecer."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Armazenamos suas informações pelo tempo necessário para fornecer um serviço solicitado, realizar nossos objetivos comerciais legÃtimos e cumprir a lei. Retemos dados pelo perÃodo mais longo entre: (i) exigência legal (ex.: 5 anos para fins fiscais); (ii) necessidade comercial justificada. Após, os dados são eliminados ou anonimizados de forma segura."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"10. Informação Infantil"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Nosso site não se destina a ser usado por crianças menores de 13 anos e não coletaremos intencionalmente Informações pessoais de crianças menores de 13 anos. Importante dizer que não usamos um aplicativo ou outro mecanismo para determinar a idade dos usuários do site."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Todas as informações fornecidas a the news serão tratadas como se tivessem sido fornecidas por um adulto. Se, no entanto, descobrirmos que uma criança nos enviou informações sobre si mesma, excluiremos as informações o mais rápido possÃvel."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"11. Dados de Usuário do Google"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"O site pode usar serviços de terceiros para acessar seus dados de usuário do Google, mas somente após sua verificação e consentimento para tal. Você será notificado antes de acessar seus dados de usuário do Google e deve autorizar as credenciais de sua conta antes de ser capaz de acessar seus dados de usuário do Google através do site."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Os dados de usuário do Google que você usa não serão armazenados ou compartilhados por nós. Os dados de usuário do Google acessados pelo site são limitados aos contatos do usuário e são usados exclusivamente para permitir que você envie um e-mail a esses contatos diretamente do site para, por exemplo, c
309onvidar seus contatos a se inscreverem nos boletins informativos. Não temos acesso aos seus contatos."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"12. Links para Sites de Terceiros"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"O site pode conter links de e para sites de terceiros de nossos parceiros de negócios e vários serviços de gerenciamento de contatos e outros provedores de serviços. Se você seguir um link para qualquer um desses sites, observe que esses sites têm suas próprias polÃticas de privacidade e que não aceitamos qualquer responsabilidade ou obrigação por suas polÃticas. Por favor, verifique suas polÃticas de privacidade individuais antes de enviar qualquer informação pessoal a esses sites."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Nosso fornecimento de um link para qualquer outro site ou local é para sua conveniência e não indica nosso endosso a esse outro site ou local ou seu conteúdo. Não temos controle, não revisamos e não podemos ser responsáveis por esses sites externos ou seu conteúdo. Esteja ciente de que os termos de nossa PolÃtica de Privacidade não se aplicam a esses sites externos."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"13. Cookies e Tecnologias Semelhantes"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Podemos usar pixel tags, cookies e / ou outras tecnologias semelhantes para coletar informações do visitante. Cookies, por exemplo, são identificadores alfanuméricos que transferimos para o disco rÃgido de seu computador por meio de seu navegador da web. Eles possibilitam que salvemos os itens em seu carrinho de compras até que você esteja pronto para finalizar a compra, reconhecer seu navegador quando você os visita, reconhecer se você for um assinante atual, fornece informações sobre produtos de seu interesse ou analisar como nosso site é usado. Fazendo isso, podemos personalizar suas visitas de retorno e economizar tempo durante o check out."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"à possÃvel desativar o uso de cookies em seu navegador desativando o recurso, mas para aproveitar os benefÃcios de ser um usuário registrado, seu navegador deve estar configurado para aceitar cookies. Não usamos cookies para conduzir publicidade direcionada online."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"A maioria dos navegadores aceita cookies automaticamente, mas se preferir, você pode editar as opções do navegador para bloqueá-los no futuro. A parte de Ajuda da barra de ferramentas na maioria dos navegadores informará como evitar que seu computador aceite novos cookies, como fazer com que o navegador o notifique quando você receber um novo cookie ou como desabilitar os cookies completamente."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Os visitantes do nosso site que desabilitar os cookies poderão navegar na maioria das áreas do site, mas alguns recursos podem não funcionar. Você, inclusive, pode encontrar mais informações sobre como alterar as configurações de cookies do navegador em www.allaboutcookies.org."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"14. Atualizações da PolÃtica de Privacidade"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Podemos modificar esta PolÃtica de Privacidade de tempos em tempos, publicando atualizações nesta página. Por favor, volte regularmente para ver as atualizações. Alterações materiais serão notificadas por e-mail ou pop-up no Site com antecedência de 30 (trinta) dias, a continuidade de uso após esse prazo implica aceitação."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"15. Fale Conosco"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Se você tiver alguma dúvida, preocupação ou feedback sobre esta PolÃtica de Privacidade, entre em contato conosco pelo e-mail [email protected]. Será um prazer lhe atender, como já é de costume."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"16. Encarregado de Proteção de Dados (DPO)"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Para contatar nosso DPO, envie um email exclusivamente para [email protected]. Realizamos auditorias periódicas e estamos sujeitos à fiscalização da ANPD."})]}),h.jsx("section",{className:"border-t border-gray-200 dark:border-gray-500 pt-8 mt-8",children:h.jsx("p",{className:"text-gray-500 dark:text-gray-400 text-center text-sm mt-4",children:"Vigente a partir de outubro de 2025. Ãltima atualização: 06 de fevereiro de 2026."})})]})]}),h.jsx(ls,{})]})}function TM(){return h.jsxs("div",{className:"w-full flex flex-col items-center bg-gray-soft-lp-bg",children:[h.jsx(Fo,{}),h.jsxs("main",{className:"min-h-screen py-8 md:py-12 lg:py-16 flex flex-col max-w-4xl w-full px-4 mx-auto text-justify mt-20",children:[h.jsx("div",{className:"mb-8 md:mb-12",children:h.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-gray-dark dark:text-gray-100 mb-4",children:"Termos de Uso - Portal e App"})}),h.jsxs("div",{className:"prose prose-lg dark:prose-invert max-w-none space-y-8",children:[h.jsxs("section",{children:[h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Rising, GoGet, The Jobs, The News, The Bizness, The Stories, The Champs e Health Times (âTNSâ), são integrantes do mesmo grupo editorial."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mt-4",children:"Este instrumento, bem como outros termos, contratos, polÃticas, regras, exigências, limitações, sinalizações, notas, notificações e demais condições disponÃveis no Portal TNS, inclusive termos de uso de produtos especÃficos e a PolÃtica de Segurança e Privacidade do Portal TNS (âPolÃtica de Privacidadeâ), documentos estes passÃveis de alteração e tal como vigentes à época de utilização do Portal TNS (em c
309onjunto, âTermos Geraisâ), regulamentam a disponibilização e a utilização e acesso pelo usuário (âVocêâ) aos Conteúdos (conforme definição do termo abaixo), bem como limitam a responsabilidade da TNS pela disponibilização dos mesmos."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mt-4",children:"Esta polÃtica permitirá que você saiba:"})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"1. Direitos sobre o conteúdo disponibilizado"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Todos os materiais contidos no Portal TNS e nos aplicativos disponibilizados pela TNS, incluindo mas sem se limitar a textos, vÃdeos, formatos, ilustrações, animações, gráficos, fotografias, marcas, patentes, fontes, grafismo, esquemas de cores, layout, trade-dress, identidade visual, experiência de navegação, designs, aplicativos, interfaces de aplicativos, softwares, fragmentos de softwares (âConteúdoâ) são protegidos pela legislação brasileira, em especial pela Lei de Direitos Autorais (Lei Federal 9.610/98) e Lei de Propriedade Industrial (Lei Federal 9.279/96)."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Em relação ao uso autorizado dos Conteúdos, este consiste unicamente em uma licença a Você, não exclusiva, intransferÃvel, revogável e limitada, estritamente para visualização do Conteúdo nos meios disponibilizados e autorizados pela TNS, sempre em âmbito pessoal e privado, sem fins comerciais. Nenhum outro direito adicional é concedido a Você salvo se feito de forma expressa e por escrito pela TNS ou legÃtimo titular de direitos sobre o Conteúdo."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Lembramos que qualquer acesso e/ou utilização que não os expressamente autorizados ficam vedados. São vedadas, exemplificativamente, as seguintes práticas, seja por meio de ação, dispositivo, mecanismo, software ou de qualquer forma e para qualquer fim:"}),h.jsxs("ul",{className:"list-disc list-inside text-gray-600 dark:text-gray-300 space-y-2 ml-4",children:[h.jsx("li",{children:"(i) remover, alterar, interferir, degradar, desativar, evitar ou de qualquer forma modificar marca d'água, copyright, sÃmbolo, marca ou qualquer outro sinal indicativo de titularidade ou para outro fim inserido no Conteúdo, ou quaisquer direitos e/ou mecanismos de proteção associados ao Conteúdo, bem como filtros e controle de acesso, inclusive se baseados em território (geoblocking) ou faixa etária;"}),h.jsx("li",{children:"(ii) copiar no todo ou em parte, fazer download, executar engenharia reversa, âdescompilarâ, ârecompilarâ, âcompilarâ, criptografar, âdesencriptografarâ, desmembrar, capturar, reproduzir, arquivar, distribuir, fazer upload, publicar, modificar, traduzir, exibir, transmitir, distribuir, disponibilizar, utilizar métodos de data mining, coleta ou extração de dados, ou embeddar o Conteúdo;"}),h.jsx("li",{children:"(iii) utilizar meta-tags para extração dos Conteúdos, reorganizar, armazenar, captar, exibir, retransmitir, tornar disponÃvel ou incorporar o Conteúdo, inclusive frames, recaps e screenshots em qualquer meio;"}),h.jsx("li",{children:"(iv) comercializar, distribuir gratuita ou onerosamente, anunciar ou desenvolver um negócio, direta ou indiretamente, a partir do Conteúdo;"}),h.jsx("li",{children:"(v) utilizar o Conteúdo de qualquer forma para a criação de obras derivadas ou nele baseadas, tais como aplicativos, websites, montagens, mash-ups, vÃdeos e materiais de marketing ou merchandising, entre outros;"}),h.jsx("li",{children:"(vi) modificar, remover, interferir, tentar alterar qualquer parte do Conteúdo, em especial os players de vÃdeo, ou qualquer tecnologia por trás deles. Essa restrição também se aplica a qualquer alteração, interferência ou ação que de qualquer forma possibilite, ainda que de forma privada, a visualização do Conteúdo sem que sejam exibidos e/ou utilizados os aplicativos e players de vÃdeo disponibilizados pela TNS e todos os elementos relacionados ao Portal TNS (tais como interface, marcas registradas e eventuais anúncios) ou sem que sejam acessÃveis todas as funcionalidades, anúncios e interfaces associados aos Conteúdos pela TNS;"}),h.jsx("li",{children:"(vii) associar ou gerar qualquer impressão, de fato ou em potência, de associação de nomes, produtos, pessoas, empresas, terceiros ou de qualquer elemento com os Conteúdos e/ou com a TNS, seus sócios, talentos, afiliadas ou dirigentes; ou"}),h.jsx("li",{children:"(viii) utilizar de qualquer interface (API) da própria TNS ou de terceiros para qualquer fim, inclusive para extração, distribuição, execução e/ou disponibilização dos Conteúdos."})]}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mt-4",children:"Excepcionalmente, a TNS autoriza a indexação automatizada de textos presentes n
309o Conteúdo, desde que estejam disponÃveis em áreas de acesso irrestrito do Portal TNS e não contenham qualquer ressalva à indexação, por crawlers de ferramentas de buscas de utilização pública e gratuita exclusivamente para apresentação de hyperlinks em resultados gerais de busca que apontem para os Conteúdos, desde que isto não importe em violação dos itens âiâ a âviiiâ acima, em especial do item âiiiâ."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"2. Isenção de responsabilidade"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Hyperlinks externos não constituem endosso pela TNS dos sites/ambientes vinculados ou as informações, produtos ou serviços ali contidos."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"A TNS não concede qualquer garantia relacionada à disponibilidade, continuidade de funcionamento ou infalibilidade do Portal TNS e/ou Conteúdos, nem que eles serão úteis para a realização de qualquer atividade em particular. Ainda, consideradas as caracterÃsticas do meio internet, a TNS não garante a segurança e privacidade do Conteúdo fora do domÃnio TNS, salvo se nos termos da PolÃtica de Privacidade, nem que o mesmo será ininterrupto, livre de vÃrus ou outros problemas, erros e ataques e, em particular, não garante que terceiros não autorizados não possam acessar e, eventualmente, interceptar, eliminar, alterar, modificar ou manipular de qualquer modo os dados presentes e/ou transmitidos a seus servidores."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"3. Segurança e fluxo normal de comunicações entre servidores"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Fica expressamente vedada qualquer prática que possa prejudicar a imagem da TNS ou violar direitos desta sobre o Conteúdo, danificar seu patrimônio, danificar ou de qualquer forma interferir no fluxo normal de comunicações com seus servidores, na segurança, inviolabilidade e privacidade dos dados lá armazenados e transmitidos, incluindo, mas não se limitando à quelas que importem, possam importar em ou favoreçam:"}),h.jsxs("ul",{className:"list-disc list-inside text-gray-600 dark:text-gray-300 space-y-2 ml-4",children:[h.jsx("li",{children:"(i) Interceptação ou monitoramento do tráfego de dados a partir ou para os servidores da TNS;"}),h.jsx("li",{children:"(ii) Fraudar, mascarar ou alterar a origem de comunicações (incluindo, mas sem se limitar a alteração de cabeçalhos de e-mails, origem de arquivos, origem da requisição de dados, etc.);"}),h.jsx("li",{children:"(iii) Degradar, fazer qualquer uso que não expressamente autorizado ou sobrecarregar com qualquer finalidade os servidores da TNS;"}),h.jsx("li",{children:"(iv) Acessar qualquer dado disponibilizado nos servidores da TNS de forma ilegÃtima (falsificando credenciais, utilizando-se de credenciais de terceiros, etc.); ou"}),h.jsx("li",{children:"(v) Quebrar, bypassar, danificar, adulterar ou degradar qualquer parte ou mecanismo de segurança do Portal TNS e seus servidores."})]})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"4. Aceitação"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Ao assistir e/ou utilizar o Conteúdo de qualquer forma, Você expressa sua aceitação plena e sem reservas aos Termos Gerais tal como vigentes naquele instante, para todos os fins de direito. Assim, a leitura atenta por Você dos Termos Gerais em cada uma das ocasiões em que se propuser a assistir e/ou utilizar o Conteúdo é recomendável. Se Você não concordar com algum dos termos e regras aqui previstos, Você não deverá assistir e/ou utilizar o Conteúdo."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"5. Suspensão, bloqueio e exclusão"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"A fim de otimizar a disponibilização do Conteúdo, a TNS poderá, inclusive por questões de segurança, restringir, limitar e realizar a suspensão ou bloqueios, totais ou parciais, de disponibilização e acesso ao Conteúdo."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"A TNS poderá descontinuar a disponibilidade ou distribuição de qualquer Conteúdo, a qualquer tempo e sem necessidade de prévio aviso."})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"6. Condições gerais"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"No caso de conflitos existentes entre regras e instrumentos listados na definição dos Termos Gerais constantes no caput deste instrumento, deverão prevalecer regras e condições sobre produtos e/ou serviços especÃficos tal como disponibilizados por escrito pela TNS."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"O não exercÃcio pela TNS de quaisquer direitos ou faculdades que lhe sejam conferidos por estes Termos Gerais ou pela legislação brasileira, bem como a eventual tolerância contra infrações a estes Termos Gerais ou a seus direitos, não importará na renúncia aos seus direitos, novação ou alteração de itens e cláusulas deste instrumento, podendo ainda a TNS exercer seus direitos a qualquer momento."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Estes Termos Gerais, bem como a relação decorrente das ações aqui compreendidas, assim como qualquer disputa que surja em virtude disto será regulada exclusivamente pela legislação brasileira."}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Caso você considere que existem fatos, circunstâncias ou suspeita de qualquer uso inadequado dos Conteúdos ou qualquer questão de segurança relacionada à TNS e, em particular, que representem violação de direito autoral ou de propriedade intelectual ou outros direitos, pedimos que envie uma comunicação à TNS por meio do e-mail [email protected] contendo, se possÃvel, seus dados pessoais (nome, endereço e número de telefone), bem como especificação do evento verificado por Você (em particular, quando se tratar de suposta violação de direitos autorais, indicação precisa e completa dos conteúdos protegidos e supostamente infringidos com as respectivas URLs)."})]})]})]}),h.jsx(ls,{})]})}function EM(){return h.jsxs("div",{className:"w-full flex flex-col items-center bg-gray-soft-lp-bg",children:[h.jsx(Fo,{}),h.jsxs("main",{className:"min-h-screen py-8 md:py-12 lg:py-16 flex flex-col max-w-4xl w-full px-4 mx-auto text-justify mt-20",children:[h.jsxs("div",{className:"mb-8 md:mb-12",children:[h.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-gray-dark dark:text-gray-100 mb-4",children:"Fale Conosco"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 text-lg",children:"Estamos aqui para ajudar. Entre em contato com a equipe do the news pelos canais abaixo."})]}),h.jsxs("div",{className:"prose prose-lg dark:prose-invert max-w-none space-y-8",children:[h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"1. Contato Geral"}),h.jsxs("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:["Para dúvidas gerais, sugestões ou feedbacks sobre nossos boletins e conteúdos, entre em contato pelo e-mail: ",h.jsx("a",{href:"mailto:[email protected]",className:"underline",children:"[email protected]"})]})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"2. Comercial e Parcerias"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Interessado em anunciar conosco ou estabelecer uma parceria? Nossa equipe comercial está pronta para atendê-lo."}),h.jsxs("ul",{className:"list-disc list-inside text-gray-600 dark:text-gray-300 space-y-2 ml-4",children:[h.jsxs("li",{children:["Preencha o formulário para ser um anunciante ",h.jsx("a",{href:"https://thenewscc.typeform.com/to/o7jIv0ed",className:"text-yellow underline",children:"clicando aqui"})]}),h.jsxs("li",{children:["Ou envie um email diretamente para ",h.jsx("a",{href:"mailto:[email protected]",className:"underline",children:"[email protected]"})]})]})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"3. Proteção de Dados (DPO)"}),h.jsxs("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:["Para questões relacionadas à proteção de dados pessoais, exercÃcio de direitos previstos na LGPD ou solicitações ao nosso Encarregado de Proteção de Dados: ",h.jsx("a",{href:"mailto:[email protected]",className:"underline",children:"[email protected]"})]})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"4. Cancelamento de Newsletter"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"Caso deseje cancelar o recebimento de nossos boletins informativos, você pode:"}),h.jsxs("ul",{className:"list-disc list-inside text-gray-600 dark:text-gray-300 space-y-2 ml-4",children:[h.jsx("li",{children:"Clicar no link de cancelamento localizado na parte inferior de cada e-mail enviado"}),h.jsxs("li",{children:["Caso o item anterior não resolva o problema, abra um ticket para o nosso suporte ",h.jsx("a",{href:"https://app.thenewscc.com.br/support?newsletter=thenews",className:"text-yellow underline",children:"clicando aqui"})]})]})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"5. Nossas Marcas"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300 mb-4",children:"O Grupo TNS é o grupo editorial por trás das seguintes marcas:"}),h.jsxs("ul",{className:"list-disc list-inside text-gray-600 dark:text-gray-300 space-y-2 ml-4",children:[h.jsx("li",{children:"the news"}),h.jsx("li",{children:"the jobs"}),h.jsx("li",{children:"rising"}),h.jsx("li",{children:"the news around (anteriormente GoGet)"}),h.jsx("li",{children:"the news cult (anteriormente the stories)"}),h.jsx("li",{children:"the news sports (anteriormente the champs)"}),h.jsx("li",{children:"the news health (anteriormente Health Times)"}),h.jsx("li",{children:"the news business (anteriormente the bizness)"})]})]}),h.jsxs("section",{children:[h.jsx("h2",{className:"font-sans text-xl md:text-2xl font-semibold text-gray-dark dark:text-gray-100 mb-4",children:"6. Horário de Atendimento"}),h.jsx("p",{className:"text-gray-600 dark:text-gray-300",children:"Nossa equipe responde à s solicitações de segunda a sexta-feira, das 9h à s 18h (horário de BrasÃlia). Faremos o possÃvel para retornar seu contato o mais rápido possÃvel."})]})]})]}),h.jsx(ls,{})]})}const _M="/assets/loadingCoffee-tKm4vfzd.gif";function t1(){return T.useEffect(()=>{Zv("minimal"),ns.trackPageView({page_name:"landing_page_minimal_home",page_url:window.location.href})},[]),h.jsxs("div",{className:"w-full h-full bg-white",children:[h.jsx("span",{className:"mt-20 lg:mt-30 block"}),h.jsx(ex,{}),h.jsx("span",{className:"mt-20 lg:mt-30 block"}),h.jsx($v,{items:Hv,theme:"light"}),h.jsx(ls,{})]})}const RM=()=>{const e=Ht();return T.useEffect(()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"page_view",page_path:e.pathname,page_location:window.location.href,page_title:document.title,site_group:"app"})},[e.pathname,e.search]),null},jM=T.lazy(()=>Mn(()=>import("./SpeakerPage-DeStBFwV.js"),__vite__mapDeps([0,1])).then(e=>({default:e.SpeakerPage}))),AM=T.lazy(()=>Mn(()=>
309import("./SponsorshipPage-D0pDINBG.js"),__vite__mapDeps([2,1])).then(e=>({default:e.SponshorshipPage}))),NM=T.lazy(()=>Mn(()=>import("./StreakHomePage-CfR3MvzY.js"),__vite__mapDeps([3,4,5,6,7,8,9,10,11])).then(e=>({default:e.StreakHomePage}))),MM=T.lazy(()=>Mn(()=>import("./MissionsPage-BTIPl1iq.js"),__vite__mapDeps([12,4,5,6,7,13,8])).then(e=>({default:e.MissionsPage}))),kM=T.lazy(()=>Mn(()=>import("./IndicationPage-CaIzpchc.js"),__vite__mapDeps([14,9,13,7,15,6,16,5,10])).then(e=>({default:e.IndicationPage}))),DM=T.lazy(()=>Mn(()=>import("./CouponsPage-DlrUYFM5.js"),__vite__mapDeps([17,9,13,7,8,5,11,10,15])).then(e=>({default:e.CouponsPage}))),OM=T.lazy(()=>Mn(()=>import("./DeliveryPage-3wsgeyZA.js"),__vite__mapDeps([18,9,13,7,16])).then(e=>({default:e.DeliveryPage}))),zM=T.lazy(()=>Mn(()=>import("./ThermometerPage-alra4NwL.js"),[]).then(e=>({default:e.ThermometerPage}))),LM=T.lazy(()=>Mn(()=>import("./BrandsPage-DcLL9Q9V.js"),[]).then(e=>({default:e.BrandsPage}))),VM=T.lazy(()=>Mn(()=>import("./CanaisPage-D8x9HUaO.js"),[]).then(e=>({default:e.CanaisPage}))),PM=({to:e})=>(T.useEffect(()=>{window.location.replace(e)},[e]),null),qM=()=>h.jsxs("div",{className:"flex flex-col items-center justify-between min-h-screen py-10",children:[h.jsx("img",{src:Je.newLogos.theNews,className:"h-8",alt:""}),h.jsx("img",{src:_M,alt:""}),h.jsxs("p",{className:"lowercase text-gray-500",children:["Precisa de ajuda? ",h.jsx("span",{className:"underline",children:"Entre em contato com o suporte"})]})]}),BM=()=>T.useMemo(()=>jT(),[])==="minimal"?h.jsx(t1,{}):h.jsx(FT,{}),UM=()=>h.jsxs(IC,{children:[h.jsx(RM,{}),h.jsx(T.Suspense,{fallback:h.jsx(qM,{}),children:h.jsxs(wC,{children:[h.jsx(ot,{path:"/",element:h.jsx(BM,{})}),h.jsx(ot,{path:"/inscrever-minimal",element:h.jsx(t1,{})}),h.jsx(ot,{path:"/confirmar",element:h.jsx(mT,{})}),h.jsx(ot,{path:"/termometro",element:h.jsx(zM,{})}),h.jsx(ot,{path:"/marcas",element:h.jsx(LM,{})}),h.jsx(ot,{path:"/canais",element:h.jsx(VM,{})}),h.jsx(ot,{path:"/evento",element:h.jsx(PM,{to:"https://thenews.com.br/seis-e-seis"})}),h.jsx(ot,{path:"/evento/indicar",element:h.jsx(jM,{})}),h.jsx(ot,{path:"/evento/patrocinar",element:h.jsx(AM,{})}),h.jsx(ot,{path:"/evento/agenda",element:h.jsx(HE,{})}),h.jsx(ot,{path:"/streak",element:h.jsx(NM,{})}),h.jsx(ot,{path:"/streak/missions",element:h.jsx(MM,{})}),h.jsx(ot,{path:"/cupons",element:h.jsx(DM,{})}),h.jsx(ot,{path:"/indicar",element:h.jsx(kM,{})}),h.jsx(ot,{path:"/delivery",element:h.jsx(OM,{})}),h.jsx(ot,{path:"/form/:formId",element:h.jsx(fv,{})}),h.jsx(ot,{path:"/quiz/:formId",element:h.jsx(fv,{})}),h.jsx(ot,{path:"/redirect",element:h.jsx(wM,{})}),h.jsx(ot,{path:"/policies",element:h.jsx(CM,{})}),h.jsx(ot,{path:"/terms",element:h.jsx(TM,{})}),h.jsx(ot,{path:"/contact",element:h.jsx(EM,{})})]})}),h.jsx(V2,{...n2})]}),n1=T.createContext(void 0),XM=()=>{const e=T.useContext(n1);if(e===void 0)throw new Error("useAuth must be used within an AuthProvider");return e},HM="https://thenewscc.com.br/streak",qd="https://auth.thenewscc.com.br";function $M({children:e}){const[a,i]=T.useState(null),[o,l]=T.useState(null),[u,c]=T.useState(!1);console.log("AuthProvider mounting, localStorage available:",typeof Storage<"u"),T.useEffect(()=>{const y=localStorage.getItem("auth_token"),x=localStorage.getItem("user");console.log("Checking localStorage on mount. Stored token:",y?"Found":"Not found"),console.log("Checking localStorage on mount. Stored user:",x?"Found":"Not found");const b=new URLSearchParams(window.location.search),S=b.get("email"),C=b.get("id"),E=b.get("token");if(E){l(E),c(!0);try{localStorage.setItem("auth_token",E),console.log("Token saved to localStorage")}catch(N){console.error("Error saving token to localStorage:",N)}if(S){const N=localStorage.getItem("user_info"),_=localStorage.getItem("reader_info"),z={email:S,id:C||void 0};i(z),localStorage.setItem("user",JSON.stringify(z)),N&&!localStorage.getItem("user_info")&&localStorage.setItem("user_info",N),_&&!localStorage.getItem("reader_info")&&localStorage.setItem("reader_info",_)}const j=new URLSearchParams(window.location.search);j.delete("token"),j.delete("email"),j.delete("id");const R=window.location.pathname+(j.toString()?"?"+j.toString():"");window.history.replaceState({},document.title,R)}else if(y){if(console.log("Loading stored token on mount"),l(y),c(!0),x)try{const j=JSON.parse(x);i(j)}catch(j){console.error("Error parsing stored user data:",j),localStorage.removeItem("user")}}else{console.log("No token found, checking if should redirect to login");const j=window.location.pathname;if(["/streak","/delivery","/indicar","/ranking"].some(_=>j.startsWith(_))){console.log("Redirecting to auth - protected route accessed without token");const _=new URLSearchParams(window.location.search),z=`${window.location.origin}${window.location.pathname}`;_.set("origin",z),console.log("Direct redirect to auth with params:",_.toString()),window.location.href=`${qd}/login?${_.toString()}`}}},[]);const g={user:a,token:o,isAuthenticated:u,login:()=>{const y=new URLSearchParams(window.location.search);y.set("origin",HM),window.location.href=`${qd}/login?${y.toString()}`},logout:()=>{i(null),l(null),c(!1),localStorage.removeItem("user"),localStorage.removeItem("auth_token"),localStorage.removeItem("user_info"),localStorage.removeItem("reader_info"),localStorage.removeItem("streak_data_cache"),window.location.href=`${qd}/logout`}};return h.jsx(n1.Provider,{value:g,children:e})}Aw.createRoot(document.getElementById("root")).render(h.jsx(Ve.StrictMode,{children:h.jsx($M,{children:h.jsx(UM,{})})}));export{IR as A,Po as B,qv as C,$T as D,O0 as E,YT as F,Wv as G,Fo as H,Je as I,im as J,ls as K,Ho as L,Uv as M,IT as N,IM as O,Bv as P,FM as R,lT as T,Mo as X,jf as a,Ht as b,Df as c,ns as d,X2 as e,Q2 as f,kt as g,J2 as h,Na as i,h as j,Ve as k,$2 as l,ke as m,V_ as n,We as o,Mt as p,Uf as q,T as r,is as s,cm as t,XM as u,dx as v,ka as w,ry as x,Ge as y,NR as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.