PageSourceSearch

https://taskwhip.com/assets/index-YSwwp3JC.js

js taskwhip.com collected 2026-10-02 01:45:27 UTC 643,408 bytes, 54 lines download raw bytes

vendor: 5,551 bytes, line 1
1(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function i(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(o){if(o.ep)return;o.ep=!0;const c=i(o);fetch(o.href,c)}})();function pT(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rh={exports:{}},oo={};var ox;function qN(){if(ox)return oo;ox=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function i(s,o,c){var u=null;if(c!==void 0&&(u=""+c),o.key!==void 0&&(u=""+o.key),"key"in o){c={};for(var p in o)p!=="key"&&(c[p]=o[p])}else c=o;return o=c.ref,{$$typeof:e,type:s,key:u,ref:o!==void 0?o:null,props:c}}return oo.Fragment=t,oo.jsx=i,oo.jsxs=i,oo}var lx;function GN(){return lx||(lx=1,rh.exports=qN()),rh.exports}var f=GN(),oh={exports:{}},pe={};var cx;function FN(){if(cx)return pe;cx=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),x=Symbol.iterator;function _(E){return E===null||typeof E!="object"?null:(E=x&&E[x]||E["@@iterator"],typeof E=="function"?E:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,A={};function R(E,z,Y){this.props=E,this.context=z,this.refs=A,this.updater=Y||T}R.prototype.isReactComponent={},R.prototype.setState=function(E,z){if(typeof E!="object"&&typeof E!="function"&&E!=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,E,z,"setState")},R.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function M(){}M.prototype=R.prototype;function I(E,z,Y){this.props=E,this.context=z,this.refs=A,this.updater=Y||T}var W=I.prototype=new M;W.constructor=I,j(W,R.prototype),W.isPureReactComponent=!0;var V=Array.isArray;function ee(){}var H={H:null,A:null,T:null,S:null},X=Object.prototype.hasOwnProperty;function fe(E,z,Y){var Q=Y.ref;return{$$typeof:e,type:E,key:z,ref:Q!==void 0?Q:null,props:Y}}function J(E,z){return fe(E.type,z,E.props)}function ue(E){return typeof E=="object"&&E!==null&&E.$$typeof===e}function Se(E){var z={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(Y){return z[Y]})}var ve=/\/+/g;function he(E,z){return typeof E=="object"&&E!==null&&E.key!=null?Se(""+E.key):z.toString(36)}function ge(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(ee,ee):(E.status="pending",E.then(function(z){E.status==="pending"&&(E.status="fulfilled",E.value=z)},function(z){E.status==="pending"&&(E.status="rejected",E.reason=z)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function U(E,z,Y,Q,le){var re=typeof E;(re==="undefined"||re==="boolean")&&(E=null);var de=!1;if(E===null)de=!0;else switch(re){case"bigint":case"string":case"number":de=!0;break;case"object":switch(E.$$typeof){case e:case t:de=!0;break;case v:return de=E._init,U(de(E._payload),z,Y,Q,le)}}if(de)return le=le(E),de=Q===""?"."+he(E,0):Q,V(le)?(Y="",de!=null&&(Y=de.replace(ve,"$&/")+"/"),U(le,z,Y,"",function(an){return an})):le!=null&&(ue(le)&&(le=J(le,Y+(le.key==null||E&&E.key===le.key?"":(""+le.key).replace(ve,"$&/")+"/")+de)),z.push(le)),1;de=0;var Le=Q===""?".":Q+":";if(V(E))for(var Me=0;Me<E.length;Me++)Q=E[Me],re=Le+he(Q,Me),de+=U(Q,z,Y,re,le);else if(Me=_(E),typeof Me=="function")for(E=Me.call(E),Me=0;!(Q=E.next()).done;)Q=Q.value,re=Le+he(Q,Me++),de+=U(Q,z,Y,re,le);else if(re==="object"){if(typeof E.then=="function")return U(ge(E),z,Y,Q,le);throw z=String(E),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return de}function F(E,z,Y){if(E==null)return E;var Q=[],le=0;return U(E,Q,"","",function(re){return z.call(Y,re,le++)}),Q}function $(E){if(E._status===-1){var z=E._result;z=z(),z.then(function(Y){(E._status===0||E._status===-1)&&(E._status=1,E._result=Y)},function(Y){(E._status===0||E._status===-1)&&(E._status=2,E._result=Y)}),E._status===-1&&(E._status=0,E._result=z)}if(E._status===1)return E._result.default;throw E._result}var Z=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)}
vendor: 14,297 bytes, line 1
1,se={map:F,forEach:function(E,z,Y){F(E,function(){z.apply(this,arguments)},Y)},count:function(E){var z=0;return F(E,function(){z++}),z},toArray:function(E){return F(E,function(z){return z})||[]},only:function(E){if(!ue(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return pe.Activity=y,pe.Children=se,pe.Component=R,pe.Fragment=i,pe.Profiler=o,pe.PureComponent=I,pe.StrictMode=s,pe.Suspense=m,pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,pe.__COMPILER_RUNTIME={__proto__:null,c:function(E){return H.H.useMemoCache(E)}},pe.cache=function(E){return function(){return E.apply(null,arguments)}},pe.cacheSignal=function(){return null},pe.cloneElement=function(E,z,Y){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var Q=j({},E.props),le=E.key;if(z!=null)for(re in z.key!==void 0&&(le=""+z.key),z)!X.call(z,re)||re==="key"||re==="__self"||re==="__source"||re==="ref"&&z.ref===void 0||(Q[re]=z[re]);var re=arguments.length-2;if(re===1)Q.children=Y;else if(1<re){for(var de=Array(re),Le=0;Le<re;Le++)de[Le]=arguments[Le+2];Q.children=de}return fe(E.type,le,Q)},pe.createContext=function(E){return E={$$typeof:u,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:c,_context:E},E},pe.createElement=function(E,z,Y){var Q,le={},re=null;if(z!=null)for(Q in z.key!==void 0&&(re=""+z.key),z)X.call(z,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(le[Q]=z[Q]);var de=arguments.length-2;if(de===1)le.children=Y;else if(1<de){for(var Le=Array(de),Me=0;Me<de;Me++)Le[Me]=arguments[Me+2];le.children=Le}if(E&&E.defaultProps)for(Q in de=E.defaultProps,de)le[Q]===void 0&&(le[Q]=de[Q]);return fe(E,re,le)},pe.createRef=function(){return{current:null}},pe.forwardRef=function(E){return{$$typeof:p,render:E}},pe.isValidElement=ue,pe.lazy=function(E){return{$$typeof:v,_payload:{_status:-1,_result:E},_init:$}},pe.memo=function(E,z){return{$$typeof:g,type:E,compare:z===void 0?null:z}},pe.startTransition=function(E){var z=H.T,Y={};H.T=Y;try{var Q=E(),le=H.S;le!==null&&le(Y,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(ee,Z)}catch(re){Z(re)}finally{z!==null&&Y.types!==null&&(z.types=Y.types),H.T=z}},pe.unstable_useCacheRefresh=function(){return H.H.useCacheRefresh()},pe.use=function(E){return H.H.use(E)},pe.useActionState=function(E,z,Y){return H.H.useActionState(E,z,Y)},pe.useCallback=function(E,z){return H.H.useCallback(E,z)},pe.useContext=function(E){return H.H.useContext(E)},pe.useDebugValue=function(){},pe.useDeferredValue=function(E,z){return H.H.useDeferredValue(E,z)},pe.useEffect=function(E,z){return H.H.useEffect(E,z)},pe.useEffectEvent=function(E){return H.H.useEffectEvent(E)},pe.useId=function(){return H.H.useId()},pe.useImperativeHandle=function(E,z,Y){return H.H.useImperativeHandle(E,z,Y)},pe.useInsertionEffect=function(E,z){return H.H.useInsertionEffect(E,z)},pe.useLayoutEffect=function(E,z){return H.H.useLayoutEffect(E,z)},pe.useMemo=function(E,z){return H.H.useMemo(E,z)},pe.useOptimistic=function(E,z){return H.H.useOptimistic(E,z)},pe.useReducer=function(E,z,Y){return H.H.useReducer(E,z,Y)},pe.useRef=function(E){return H.H.useRef(E)},pe.useState=function(E){return H.H.useState(E)},pe.useSyncExternalStore=function(E,z,Y){return H.H.useSyncExternalStore(E,z,Y)},pe.useTransition=function(){return H.H.useTransition()},pe.version="19.2.3",pe}var ux;function $p(){return ux||(ux=1,oh.exports=FN()),oh.exports}var w=$p();const WN=pT(w);var lh={exports:{}},lo={},ch={exports:{}},uh={};var dx;function YN(){return dx||(dx=1,(function(e){function t(U,F){var $=U.length;U.push(F);e:for(;0<$;){var Z=$-1>>>1,se=U[Z];if(0<o(se,F))U[Z]=F,U[$]=se,$=Z;else break e}}function i(U){return U.length===0?null:U[0]}function s(U){if(U.length===0)return null;var F=U[0],$=U.pop();if($!==F){U[0]=$;e:for(var Z=0,se=U.length,E=se>>>1;Z<E;){var z=2*(Z+1)-1,Y=U[z],Q=z+1,le=U[Q];if(0>o(Y,$))Q<se&&0>o(le,Y)?(U[Z]=le,U[Q]=$,Z=Q):(U[Z]=Y,U[z]=$,Z=z);else if(Q<se&&0>o(le,$))U[Z]=le,U[Q]=$,Z=Q;else break e}}return F}function o(U,F){var $=U.sortIndex-F.sortIndex;return $!==0?$:U.id-F.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,p=u.now();e.unstable_now=function(){return u.now()-p}}var m=[],g=[],v=1,y=null,x=3,_=!1,T=!1,j=!1,A=!1,R=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function W(U){for(var F=i(g);F!==null;){if(F.callback===null)s(g);else if(F.startTime<=U)s(g),F.sortIndex=F.expirationTime,t(m,F);else break;F=i(g)}}function V(U){if(j=!1,W(U),!T)if(i(m)!==null)T=!0,ee||(ee=!0,Se());else{var F=i(g);F!==null&&ge(V,F.startTime-U)}}var ee=!1,H=-1,X=5,fe=-1;function J(){return A?!0:!(e.unstable_now()-fe<X)}function ue(){if(A=!1,ee){var U=e.unstable_now();fe=U;var F=!0;try{e:{T=!1,j&&(j=!1,M(H),H=-1),_=!0;var $=x;try{t:{for(W(U),y=i(m);y!==null&&!(y.expirationTime>U&&J());){var Z=y.callback;if(typeof Z=="function"){y.callback=null,x=y.priorityLevel;var se=Z(y.expirationTime<=U);if(U=e.unstable_now(),typeof se=="function"){y.callback=se,W(U),F=!0;break t}y===i(m)&&s(m),W(U)}else s(m);y=i(m)}if(y!==null)F=!0;else{var E=i(g);E!==null&&ge(V,E.startTime-U),F=!1}}break e}finally{y=null,x=$,_=!1}F=void 0}}finally{F?Se():ee=!1}}}var Se;if(typeof I=="function")Se=function(){I(ue)};else if(typeof MessageChannel<"u"){var ve=new MessageChannel,he=ve.port2;ve.port1.onmessage=ue,Se=function(){he.postMessage(null)}}else Se=function(){R(ue,0)};function ge(U,F){H=R(function(){U(e.unstable_now())},F)}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(U){U.callback=null},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):X=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function(U){switch(x){case 1:case 2:case 3:var F=3;break;default:F=x}var $=x;x=F;try{return U()}finally{x=$}},e.unstable_requestPaint=function(){A=!0},e.unstable_runWithPriority=function(U,F){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var $=x;x=U;try{return F()}finally{x=$}},e.unstable_scheduleCallback=function(U,F,$){var Z=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?Z+$:Z):$=Z,U){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=$+se,U={id:v++,callback:F,priorityLevel:U,startTime:$,expirationTime:se,sortIndex:-1},$>Z?(U.sortIndex=$,t(g,U),i(m)===null&&U===i(g)&&(j?(M(H),H=-1):j=!0,ge(V,$-Z))):(U.sortIndex=se,t(m,U),T||_||(T=!0,ee||(ee=!0,Se()))),U},e.unstable_shouldYield=J,e.unstable_wrapCallback=function(U){var F=x;return function(){var $=x;x=F;try{return U.apply(this,arguments)}finally{x=$}}}})(uh)),uh}var fx;function $N(){return fx||(fx=1,ch.exports=YN()),ch.exports}var dh={exports:{}},_t={};var hx;function XN(){if(hx)return _t;hx=1;var e=$p();function t(m){var g="https://react.dev/errors/"+m;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)g+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+m+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var s={d:{f:i,r:function(){throw Error(t(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for("react.portal");function c(m,g,v){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:y==null?null:""+y,children:m,containerInfo:g,implementation:v}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(m,g){if(m==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return _t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,_t.createPortal=function(m,g){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(t(299));return c(m,g,null,v)},_t.flushSync=function(m){var g=u.T,v=s.p;try{if(u.T=null,s.p=2,m)return m()}finally{u.T=g,s.p=v,s.d.f()}},_t.preconnect=function(m,g){typeof m=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,s.d.C(m,g))},_t.prefetchDNS=function(m){typeof m=="string"&&s.d.D(m)},_t.preinit=function(m,g){if(typeof m=="string"&&g&&typeof g.as=="string"){var v=g.as,y=p(v,g.crossOrigin),x=typeof g.integrity=="string"?g.integrity:void 0,_=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;v==="style"?s.d.S(m,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:y,integrity:x,fetchPriority:_}):v==="script"&&s.d.X(m,{crossOrigin:y,integrity:x,fetchPriority:_,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},_t.preinitModule=function(m,g){if(typeof m=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var v=p(g.as,g.crossOrigin);s.d.M(m,{crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&s.d.M(m)},_t.preload=function(m,g){if(typeof m=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var v=g.as,y=p(v,g.crossOrigin);s.d.L(m,v,{crossOrigin:y,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})}},_t.preloadModule=function(m,g){if(typeof m=="string")if(g){var v=p(g.as,g.crossOrigin);s.d.m(m,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else s.d.m(m)},_t.requestFormReset=function(m){s.d.r(m)},_t.unstable_batchedUpdates=function(m,g){return m(g)},_t.useFormState=function(m,g,v){return u.H.useFormState(m,g,v)},_t.useFormStatus=function(){return u.H.useHostTransitionStatus()},_t.version="19.2.3",_t}var px;function KN(){if(px)return dh.exports;px=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(t){console.error(t)}}return e(),dh.exports=XN(),dh.exports}var mx;function QN(){if(mx)return lo;mx=1;var e=$N(),t=$p(),i=KN();function s(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)a+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function c(n){var a=n,r=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(r=a.return),n=a.return;while(n)}return a.tag===3?r:null}function u(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function p(n){if(n.tag===31){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function m(n){if(c(n)!==n)throw Error(s(188))}function g(n){var a=n.alternate;if(!a){if(a=c(n),a===null)throw Error(s(188));return a!==n?null:n}for(var r=n,l=a;;){var d=r.return;if(d===null)break;var h=d.alternate;if(h===null){if(l=d.return,l!==null){r=l;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===r)return m(d),n;if(h===l)return m(d),a;h=h.sibling}throw Error(s(188))}if(r.return!==l.return)r=d,l=h;else{for(var b=!1,S=d.child;S;){if(S===r){b=!0,r=d,l=h;break}if(S===l){b=!0,l=d,r=h;break}S=S.sibling}if(!b){for(S=h.child;S;){if(S===r){b=!0,r=h,l=d;break}if(S===l){b=!0,l=h,r=d;break}S=S.sibling}if(!b)throw Error(s(189))}}if(r.alternate!==l)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?n:a}function v(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=v(n),a!==null)return a;n=n.sibling}return null}var y=Object.assign,x=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),I=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),ee=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),fe=Symbol.for("react.activity"),J=Symbol.for("react.memo_cache_sentinel"),ue=Symbol.iterator;function Se(n){return n===null||typeof n!="object"?null:(n=ue&&n[ue]||n["@@iterator"],typeof n=="function"?n:null)}var ve=Symbol.for("react.client.reference");function he(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===ve?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case j:return"Fragment";case R:return"Profiler";case A:return"StrictMode";case V:return"Suspense";case ee:return"SuspenseList";case fe:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case T:return"Portal";case I:return n.displayName||"Context";case M:return(n._context.displayName||"Context")+".Consumer";case W:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case H:return a=n.displayName||null,a!==null?a:he(n.type)||"Memo";case X:a=n._payload,n=n._init;try{return he(n(a))}catch{}}return null}var ge=Array.isArray,U=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pen
vendor: 4,195 bytes, lines 1-8
1ding:!1,data:null,method:null,action:null},Z=[],se=-1;function E(n){return{current:n}}function z(n){0>se||(n.current=Z[se],Z[se]=null,se--)}function Y(n,a){se++,Z[se]=n.current,n.current=a}var Q=E(null),le=E(null),re=E(null),de=E(null);function Le(n,a){switch(Y(re,a),Y(le,n),Y(Q,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?Rb(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=Rb(a),n=kb(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}z(Q),Y(Q,n)}function Me(){z(Q),z(le),z(re)}function an(n){n.memoizedState!==null&&Y(de,n);var a=Q.current,r=kb(a,n.type);a!==r&&(Y(le,n),Y(Q,r))}function fi(n){le.current===n&&(z(Q),z(le)),de.current===n&&(z(de),ao._currentValue=$)}var Vu,rg;function hi(n){if(Vu===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);Vu=a&&a[1]||"",rg=-1<r.stack.indexOf(`
2    at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
3`+Vu+n+rg}var Hu=!1;function qu(n,a){if(!n||Hu)return"";Hu=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(a){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(B){var L=B}Reflect.construct(n,[],G)}else{try{G.call()}catch(B){L=B}n.call(G.prototype)}}else{try{throw Error()}catch(B){L=B}(G=n())&&typeof G.catch=="function"&&G.catch(function(){})}}catch(B){if(B&&L&&typeof B.stack=="string")return[B.stack,L.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var d=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");d&&d.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=l.DetermineComponentFrameRoot(),b=h[0],S=h[1];if(b&&S){var N=b.split(`
4`),O=S.split(`
5`);for(d=l=0;l<N.length&&!N[l].includes("DetermineComponentFrameRoot");)l++;for(;d<O.length&&!O[d].includes("DetermineComponentFrameRoot");)d++;if(l===N.length||d===O.length)for(l=N.length-1,d=O.length-1;1<=l&&0<=d&&N[l]!==O[d];)d--;for(;1<=l&&0<=d;l--,d--)if(N[l]!==O[d]){if(l!==1||d!==1)do if(l--,d--,0>d||N[l]!==O[d]){var P=`
6`+N[l].replace(" at new "," at ");return n.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",n.displayName)),P}while(1<=l&&0<=d);break}}}finally{Hu=!1,Error.prepareStackTrace=r}return(r=n?n.displayName||n.name:"")?hi(r):""}function xw(n,a){switch(n.tag){case 26:case 27:case 5:return hi(n.type);case 16:return hi("Lazy");case 13:return n.child!==a&&a!==null?hi("Suspense Fallback"):hi("Suspense");case 19:return hi("SuspenseList");case 0:case 15:return qu(n.type,!1);case 11:return qu(n.type.render,!1);case 1:return qu(n.type,!0);case 31:return hi("Activity");default:return""}}function og(n){try{var a="",r=null;do a+=xw(n,r),r=n,n=n.return;while(n);return a}catch(l){return`
7Error generating stack: `+l.message+`
8`+l.stack}}var Gu=Object.prototype.hasOwnProperty,Fu=e.unstable_scheduleCallback,Wu=e.unstable_cancelCallback,Sw=e.unstable_shouldYield,Tw=e.unstable_requestPaint,Pt=e.unstable_now,_w=e.unstable_getCurrentPriorityLevel,lg=e.unstable_ImmediatePriority,cg=e.unstable_UserBlockingPriority,al=e.unstable_NormalPriority,Ew=e.unstable_LowPriority,ug=e.unstable_IdlePriority,ww=e.log,Aw=e.unstable_setDisableYieldValue,mr=null,Vt=null;function wa(n){if(typeof ww=="function"&&Aw(n),Vt&&typeof Vt.setStrictMode=="function")try{Vt.setStrictMode(mr,n)}catch{}}var Ht=Math.clz32?Math.clz32:Cw,Nw=Math.log,jw=Math.LN2;function Cw(n){return n>>>=0,n===0?32:31-(Nw(n)/jw|0)|0}var il=256,sl=262144,rl=4194304;function pi(n){var a=n&42;if(a!==0)return a;switch(n&-n){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:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;
vendor: 6,122 bytes, line 8
8case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function ol(n,a,r){var l=n.pendingLanes;if(l===0)return 0;var d=0,h=n.suspendedLanes,b=n.pingedLanes;n=n.warmLanes;var S=l&134217727;return S!==0?(l=S&~h,l!==0?d=pi(l):(b&=S,b!==0?d=pi(b):r||(r=S&~n,r!==0&&(d=pi(r))))):(S=l&~h,S!==0?d=pi(S):b!==0?d=pi(b):r||(r=l&~n,r!==0&&(d=pi(r)))),d===0?0:a!==0&&a!==d&&(a&h)===0&&(h=d&-d,r=a&-a,h>=r||h===32&&(r&4194048)!==0)?a:d}function gr(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function Rw(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 dg(){var n=rl;return rl<<=1,(rl&62914560)===0&&(rl=4194304),n}function Yu(n){for(var a=[],r=0;31>r;r++)a.push(n);return a}function yr(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function kw(n,a,r,l,d,h){var b=n.pendingLanes;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=r,n.entangledLanes&=r,n.errorRecoveryDisabledLanes&=r,n.shellSuspendCounter=0;var S=n.entanglements,N=n.expirationTimes,O=n.hiddenUpdates;for(r=b&~r;0<r;){var P=31-Ht(r),G=1<<P;S[P]=0,N[P]=-1;var L=O[P];if(L!==null)for(O[P]=null,P=0;P<L.length;P++){var B=L[P];B!==null&&(B.lane&=-536870913)}r&=~G}l!==0&&fg(n,l,0),h!==0&&d===0&&n.tag!==0&&(n.suspendedLanes|=h&~(b&~a))}function fg(n,a,r){n.pendingLanes|=a,n.suspendedLanes&=~a;var l=31-Ht(a);n.entangledLanes|=a,n.entanglements[l]=n.entanglements[l]|1073741824|r&261930}function hg(n,a){var r=n.entangledLanes|=a;for(n=n.entanglements;r;){var l=31-Ht(r),d=1<<l;d&a|n[l]&a&&(n[l]|=a),r&=~d}}function pg(n,a){var r=a&-a;return r=(r&42)!==0?1:$u(r),(r&(n.suspendedLanes|a))!==0?0:r}function $u(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Xu(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function mg(){var n=F.p;return n!==0?n:(n=window.event,n===void 0?32:ex(n.type))}function gg(n,a){var r=F.p;try{return F.p=n,a()}finally{F.p=r}}var Aa=Math.random().toString(36).slice(2),ft="__reactFiber$"+Aa,Rt="__reactProps$"+Aa,es="__reactContainer$"+Aa,Ku="__reactEvents$"+Aa,Mw="__reactListeners$"+Aa,Dw="__reactHandles$"+Aa,yg="__reactResources$"+Aa,vr="__reactMarker$"+Aa;function Qu(n){delete n[ft],delete n[Rt],delete n[Ku],delete n[Mw],delete n[Dw]}function ts(n){var a=n[ft];if(a)return a;for(var r=n.parentNode;r;){if(a=r[es]||r[ft]){if(r=a.alternate,a.child!==null||r!==null&&r.child!==null)for(n=Bb(n);n!==null;){if(r=n[ft])return r;n=Bb(n)}return a}n=r,r=n.parentNode}return null}function ns(n){if(n=n[ft]||n[es]){var a=n.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return n}return null}function br(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error(s(33))}function as(n){var a=n[yg];return a||(a=n[yg]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function ct(n){n[vr]=!0}var vg=new Set,bg={};function mi(n,a){is(n,a),is(n+"Capture",a)}function is(n,a){for(bg[n]=a,n=0;n<a.length;n++)vg.add(a[n])}var Ow=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]*$"),xg={},Sg={};function Lw(n){return Gu.call(Sg,n)?!0:Gu.call(xg,n)?!1:Ow.test(n)?Sg[n]=!0:(xg[n]=!0,!1)}function ll(n,a,r){if(Lw(a))if(r===null)n.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var l=a.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){n.removeAttribute(a);return}}n.setAttribute(a,""+r)}}function cl(n,a,r){if(r===null)n.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}n.setAttribute(a,""+r)}}function Fn(n,a,r,l){if(l===null)n.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttributeNS(a,r,""+l)}}function sn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Tg(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Uw(n,a,r){var l=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);if(!n.hasOwnProperty(a)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var d=l.get,h=l.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return d.call(this)},set:function(b){r=""+b,h.call(this,b)}}),Object.defineProperty(n,a,{enumerable:l.enumerable}),{getValue:function(){return r},setValue:function(b){r=""+b},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Zu(n){if(!n._valueTracker){var a=Tg(n)?"checked":"value";n._valueTracker=Uw(n,a,""+n[a])}}function _g(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var r=a.getValue(),l="";return n&&(l=Tg(n)?n.checked?"true":"false":n.value),n=l,n!==r?(a.setValue(n),!0):!1}function ul(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var Iw=/[\n"\\]/g;function rn(n){return n.replace(Iw,function(a){return"\\"+a.charCo
vendor: 4,418 bytes, line 8
8deAt(0).toString(16)+" "})}function Ju(n,a,r,l,d,h,b,S){n.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?n.type=b:n.removeAttribute("type"),a!=null?b==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+sn(a)):n.value!==""+sn(a)&&(n.value=""+sn(a)):b!=="submit"&&b!=="reset"||n.removeAttribute("value"),a!=null?ed(n,b,sn(a)):r!=null?ed(n,b,sn(r)):l!=null&&n.removeAttribute("value"),d==null&&h!=null&&(n.defaultChecked=!!h),d!=null&&(n.checked=d&&typeof d!="function"&&typeof d!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?n.name=""+sn(S):n.removeAttribute("name")}function Eg(n,a,r,l,d,h,b,S){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(n.type=h),a!=null||r!=null){if(!(h!=="submit"&&h!=="reset"||a!=null)){Zu(n);return}r=r!=null?""+sn(r):"",a=a!=null?""+sn(a):r,S||a===n.value||(n.value=a),n.defaultValue=a}l=l??d,l=typeof l!="function"&&typeof l!="symbol"&&!!l,n.checked=S?n.checked:!!l,n.defaultChecked=!!l,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(n.name=b),Zu(n)}function ed(n,a,r){a==="number"&&ul(n.ownerDocument)===n||n.defaultValue===""+r||(n.defaultValue=""+r)}function ss(n,a,r,l){if(n=n.options,a){a={};for(var d=0;d<r.length;d++)a["$"+r[d]]=!0;for(r=0;r<n.length;r++)d=a.hasOwnProperty("$"+n[r].value),n[r].selected!==d&&(n[r].selected=d),d&&l&&(n[r].defaultSelected=!0)}else{for(r=""+sn(r),a=null,d=0;d<n.length;d++){if(n[d].value===r){n[d].selected=!0,l&&(n[d].defaultSelected=!0);return}a!==null||n[d].disabled||(a=n[d])}a!==null&&(a.selected=!0)}}function wg(n,a,r){if(a!=null&&(a=""+sn(a),a!==n.value&&(n.value=a),r==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=r!=null?""+sn(r):""}function Ag(n,a,r,l){if(a==null){if(l!=null){if(r!=null)throw Error(s(92));if(ge(l)){if(1<l.length)throw Error(s(93));l=l[0]}r=l}r==null&&(r=""),a=r}r=sn(a),n.defaultValue=r,l=n.textContent,l===r&&l!==""&&l!==null&&(n.value=l),Zu(n)}function rs(n,a){if(a){var r=n.firstChild;if(r&&r===n.lastChild&&r.nodeType===3){r.nodeValue=a;return}}n.textContent=a}var Bw=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 Ng(n,a,r){var l=a.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?l?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":l?n.setProperty(a,r):typeof r!="number"||r===0||Bw.has(a)?a==="float"?n.cssFloat=r:n[a]=(""+r).trim():n[a]=r+"px"}function jg(n,a,r){if(a!=null&&typeof a!="object")throw Error(s(62));if(n=n.style,r!=null){for(var l in r)!r.hasOwnProperty(l)||a!=null&&a.hasOwnProperty(l)||(l.indexOf("--")===0?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="");for(var d in a)l=a[d],a.hasOwnProperty(d)&&r[d]!==l&&Ng(n,d,l)}else for(var h in a)a.hasOwnProperty(h)&&Ng(n,h,a[h])}function td(n){if(n.indexOf("-")===-1)return!1;switch(n){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 zw=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"],["colorRen
8dering","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-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"]]),Pw=/^[\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 dl(n){return Pw.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Wn(){}var nd=null;function ad(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var os=null,ls=null;function Cg(n){var a=ns(n);if(a&&(n=a.stateNode)){var r=n[Rt]||null;e:switch(n=a.stateNode,a.type){case"input":if(Ju(n,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),a=r.name,r.type==="radio"&&a!=null){for(r=n;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+rn(""+a)+'"][type="radio"]'),a=0;a<r.length;a++){var l=r[a];if(l!==n&&l.form===n.form){var d=l[Rt]||null;if(!d)throw Error(s(90));Ju(l,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(a=0;a<r.length;a++)l=r[a],l.form===n.form&&_g(l)}break e;case"textarea":wg(n,r.value,r.defaultValue);break e;case"select":a=r.value,a!=null&&ss(n,!!r.multiple,a,!1)}}}var id=!1;function Rg(n,a,r){if(id)return n(a,r);id=!0;try{var l=n(a);return l}finally{if(id=!1,(os!==null||ls!==null)&&(Zl(),os&&(a=os,n=ls,ls=os=null,Cg(a),n)))for(a=0;a<n.length;a++)Cg(n[a])}}function xr(n,a){var r=n.stateNode;if(r===null)return null;var l=r[Rt]||null;if(l===null)return null;r=l[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(n=n.type,l=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!l;break e;default:n=!1}if(n)return null;if(r&&typeof r!="function")throw Error(s(231,a,typeof r));return r}var Yn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sd=!1;if(Yn)try{var Sr={};Object.defineProperty(Sr,"passive",{get:function(){sd=!0}}),window.addEventListener("test",Sr,Sr),window.removeEventListener("test",Sr,Sr)}catch{sd=!1}var Na=null,rd=null,fl=null;function kg(){if(fl)return fl;var n,a=rd,r=a.length,l,d="value"in Na?Na.value:Na.textContent,h=d.length;for(n=0;n<r&&a[n]===d[n];n++);var b=r-n;for(l=1;l<=b&&a[r-l]===d[h-l];l++);return fl=d.slice(n,1<l?1-l:void 0)}function hl(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function pl(){return!0}function Mg(){return!1}function kt(n){function a(r,l,d,h,b){this._reactName=r,this._targetInst=d,this.type=l,this.nativeEvent=h,this.target=b,this.currentTarget=null;for(var S in n)n.hasOwnProperty(S)&&(r=n[S],this[S]=r?r(h):h[S]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?pl:Mg,this.isPropagationStopped=Mg,this}return y(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=pl)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=pl)},persist:function(){},isPersistent:pl}),a}var gi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ml=kt(gi),Tr=y({},gi,{view:0,detail:0}),Vw=kt(Tr),od,ld,_r,gl=y({},Tr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ud,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==_r&&(_r&&n.type==="mousemove"?(od=n.screenX-_r.screenX,ld=n.screenY-_r.screenY):ld=od=0,_r=n),od)},movementY:function(n){return"movementY"in n?n.movementY:ld}}),Dg=kt(gl),Hw=y({},gl,{dataTransfer:0}),qw=kt(Hw),Gw=y({},Tr,{relatedTarget:0}),cd=kt(Gw),Fw=y({},gi,{animationName:0,elapsedTime:0,pseudoElement:0}),Ww=kt(Fw),Yw=y({},gi,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),$w=kt(Yw),Xw=y({},gi,{data:0}),Og=kt(Xw),Kw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qw={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"},Zw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jw(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=Zw[n])?!!a[n]:!1}function ud(){return Jw}var eA=y({},Tr,{key:function(n){if(n.key){var a=Kw[n.key]||n.key;if(a!=="Unidentified")return a}
vendor: 5,186 bytes, line 8
8return n.type==="keypress"?(n=hl(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Qw[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ud,charCode:function(n){return n.type==="keypress"?hl(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?hl(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),tA=kt(eA),nA=y({},gl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lg=kt(nA),aA=y({},Tr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ud}),iA=kt(aA),sA=y({},gi,{propertyName:0,elapsedTime:0,pseudoElement:0}),rA=kt(sA),oA=y({},gl,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),lA=kt(oA),cA=y({},gi,{newState:0,oldState:0}),uA=kt(cA),dA=[9,13,27,32],dd=Yn&&"CompositionEvent"in window,Er=null;Yn&&"documentMode"in document&&(Er=document.documentMode);var fA=Yn&&"TextEvent"in window&&!Er,Ug=Yn&&(!dd||Er&&8<Er&&11>=Er),Ig=" ",Bg=!1;function zg(n,a){switch(n){case"keyup":return dA.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pg(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var cs=!1;function hA(n,a){switch(n){case"compositionend":return Pg(a);case"keypress":return a.which!==32?null:(Bg=!0,Ig);case"textInput":return n=a.data,n===Ig&&Bg?null:n;default:return null}}function pA(n,a){if(cs)return n==="compositionend"||!dd&&zg(n,a)?(n=kg(),fl=rd=Na=null,cs=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Ug&&a.locale!=="ko"?null:a.data;default:return null}}var mA={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 Vg(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!mA[n.type]:a==="textarea"}function Hg(n,a,r,l){os?ls?ls.push(l):ls=[l]:os=l,a=sc(a,"onChange"),0<a.length&&(r=new ml("onChange","change",null,r,l),n.push({event:r,listeners:a}))}var wr=null,Ar=null;function gA(n){Eb(n,0)}function yl(n){var a=br(n);if(_g(a))return n}function qg(n,a){if(n==="change")return a}var Gg=!1;if(Yn){var fd;if(Yn){var hd="oninput"in document;if(!hd){var Fg=document.createElement("div");Fg.setAttribute("oninput","return;"),hd=typeof Fg.oninput=="function"}fd=hd}else fd=!1;Gg=fd&&(!document.documentMode||9<document.documentMode)}function Wg(){wr&&(wr.detachEvent("onpropertychange",Yg),Ar=wr=null)}function Yg(n){if(n.propertyName==="value"&&yl(Ar)){var a=[];Hg(a,Ar,n,ad(n)),Rg(gA,a)}}function yA(n,a,r){n==="focusin"?(Wg(),wr=a,Ar=r,wr.attachEvent("onpropertychange",Yg)):n==="focusout"&&Wg()}function vA(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return yl(Ar)}function bA(n,a){if(n==="click")return yl(a)}function xA(n,a){if(n==="input"||n==="change")return yl(a)}function SA(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var qt=typeof Object.is=="function"?Object.is:SA;function Nr(n,a){if(qt(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var r=Object.keys(n),l=Object.keys(a);if(r.length!==l.length)return!1;for(l=0;l<r.length;l++){var d=r[l];if(!Gu.call(a,d)||!qt(n[d],a[d]))return!1}return!0}function $g(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Xg(n,a){var r=$g(n);n=0;for(var l;r;){if(r.nodeType===3){if(l=n+r.textContent.length,n<=a&&l>=a)return{node:r,offset:a-n};n=l}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=$g(r)}}function Kg(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?Kg(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function Qg(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=ul(n.document);a instanceof n.HTMLIFrameElement;){try{var r=typeof a.contentWindow.location.href=="string"}catch{r=!1}if(r)n=a.contentWindow;else break;a=ul(n.document)}return a}function pd(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var TA=Yn&&"documentMode"in document&&11>=document.documentMode,us=null,md=null,jr=null,gd=!1;function Zg(n,a,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;gd||us==null||us!==ul(l)||(l=us,"selectionStart"in l&&pd(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focu
vendor: 19,003 bytes, line 8
8sNode:l.focusNode,focusOffset:l.focusOffset}),jr&&Nr(jr,l)||(jr=l,l=sc(md,"onSelect"),0<l.length&&(a=new ml("onSelect","select",null,a,r),n.push({event:a,listeners:l}),a.target=us)))}function yi(n,a){var r={};return r[n.toLowerCase()]=a.toLowerCase(),r["Webkit"+n]="webkit"+a,r["Moz"+n]="moz"+a,r}var ds={animationend:yi("Animation","AnimationEnd"),animationiteration:yi("Animation","AnimationIteration"),animationstart:yi("Animation","AnimationStart"),transitionrun:yi("Transition","TransitionRun"),transitionstart:yi("Transition","TransitionStart"),transitioncancel:yi("Transition","TransitionCancel"),transitionend:yi("Transition","TransitionEnd")},yd={},Jg={};Yn&&(Jg=document.createElement("div").style,"AnimationEvent"in window||(delete ds.animationend.animation,delete ds.animationiteration.animation,delete ds.animationstart.animation),"TransitionEvent"in window||delete ds.transitionend.transition);function vi(n){if(yd[n])return yd[n];if(!ds[n])return n;var a=ds[n],r;for(r in a)if(a.hasOwnProperty(r)&&r in Jg)return yd[n]=a[r];return n}var ey=vi("animationend"),ty=vi("animationiteration"),ny=vi("animationstart"),_A=vi("transitionrun"),EA=vi("transitionstart"),wA=vi("transitioncancel"),ay=vi("transitionend"),iy=new Map,vd="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(" ");vd.push("scrollEnd");function Sn(n,a){iy.set(n,a),mi(a,[n])}var vl=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},on=[],fs=0,bd=0;function bl(){for(var n=fs,a=bd=fs=0;a<n;){var r=on[a];on[a++]=null;var l=on[a];on[a++]=null;var d=on[a];on[a++]=null;var h=on[a];if(on[a++]=null,l!==null&&d!==null){var b=l.pending;b===null?d.next=d:(d.next=b.next,b.next=d),l.pending=d}h!==0&&sy(r,d,h)}}function xl(n,a,r,l){on[fs++]=n,on[fs++]=a,on[fs++]=r,on[fs++]=l,bd|=l,n.lanes|=l,n=n.alternate,n!==null&&(n.lanes|=l)}function xd(n,a,r,l){return xl(n,a,r,l),Sl(n)}function bi(n,a){return xl(n,null,null,a),Sl(n)}function sy(n,a,r){n.lanes|=r;var l=n.alternate;l!==null&&(l.lanes|=r);for(var d=!1,h=n.return;h!==null;)h.childLanes|=r,l=h.alternate,l!==null&&(l.childLanes|=r),h.tag===22&&(n=h.stateNode,n===null||n._visibility&1||(d=!0)),n=h,h=h.return;return n.tag===3?(h=n.stateNode,d&&a!==null&&(d=31-Ht(r),n=h.hiddenUpdates,l=n[d],l===null?n[d]=[a]:l.push(a),a.lane=r|536870912),h):null}function Sl(n){if(50<Kr)throw Kr=0,Rf=null,Error(s(185));for(var a=n.return;a!==null;)n=a,a=n.return;return n.tag===3?n.stateNode:null}var hs={};function AA(n,a,r,l){this.tag=n,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Gt(n,a,r,l){return new AA(n,a,r,l)}function Sd(n){return n=n.prototype,!(!n||!n.isReactComponent)}function $n(n,a){var r=n.alternate;return r===null?(r=Gt(n.tag,a,n.key,n.mode),r.elementType=n.elementType,r.type=n.type,r.stateNode=n.stateNode,r.alternate=n,n.alternate=r):(r.pendingProps=a,r.type=n.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=n.flags&65011712,r.childLanes=n.childLanes,r.lanes=n.lanes,r.child=n.child,r.memoizedProps=n.memoizedProps,r.memoizedState=n.memoizedState,r.updateQueue=n.updateQueue,a=n.dependencies,r.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},r.sibling=n.sibling,r.index=n.index,r.ref=n.ref,r.refCleanup=n.refCleanup,r}function ry(n,a){n.flags&=65011714;var r=n.alternate;return r===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=r.childLanes,n.lanes=r.lanes,n.child=r.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=r.memoizedProps,n.memoizedState=r.memoizedState,n.updateQueue=r.updateQueue,n.type=r.type,a=r.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),n}function Tl(n,a,r,l,d,h){var b=0;if(l=n,typeof n=="function")Sd(n)&&(b=1);else if(typeof n=="string")b=kN(n,r,Q.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case fe:return n=Gt(31,r,a,d),n.elementType=fe,n.lanes=h,n;case j:return xi(r.children,d,h,a);case A:b=8,d|=24;break;case R:return n=Gt(12,r,a,d|2),n.elementType=R,n.lanes=h,n;case V:return n=Gt(13,r,a,d),n.elementType=V,n.lanes=h,n;case ee:return n=Gt(19,r,a,d),n.elementType=ee,n.lanes=h,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case I:b=10;break e;case M:b=9;break e;case W:b=11;break e;case H:b=14;break e;case X:b=16,l=null;break e}b=29,r=Error(s(130,n===null?"null":typeof n,"")),l=null}return a=Gt(b,r,a,d),a.elementType=n,a.type=l,a.lanes=h,a}function xi(n,a,r,l){return n=Gt(7,n,l,a),n.lanes=r,n}function Td(n,a,r){return n=Gt(6,n,null,a),n.lanes=r,n}function oy(n){var a=Gt(18,null,null,0);return a.stateNode=n,a}function _d(n,a,r){return a=Gt(4,n.children!==null?n.children:[],n.key,a),a.lanes=r,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var ly=new WeakMap;function ln(n,a){if(typeof n=="object"&&n!==null){var r=ly.get(n);return r!==void 0?r:(a={value:n,source:a,stack:og(a)},ly.set(n,a),a)}return{value:n,source:a,stack:og(a)}}var ps=[],ms=0,_l=null,Cr=0,cn=[],un=0,ja=null,Rn=1,kn="";function Xn(n,a){ps[ms++]=Cr,ps[ms++]=_l,_l=n,Cr=a}function cy(n,a,r){cn[un++]=Rn,cn[un++]=kn,cn[un++]=ja,ja=n;var l=Rn;n=kn;var d=32-Ht(l)-1;l&=~(1<<d),r+=1;var h=32-Ht(a)+d;if(30<h){var b=d-d%5;h=(l&(1<<b)-1).toString(32),l>>=b,d-=b,Rn=1<<32-Ht(a)+d|r<<d|l,kn=h+n}else Rn=1<<h|r<<d|l,kn=n}function Ed(n){n.return!==null&&(Xn(n,1),cy(n,1,0))}function wd(n){for(;n===_l;)_l=ps[--ms],ps[ms]=null,Cr=ps[--ms],ps[ms]=null;for(;n===ja;)ja=cn[--un],cn[un]=null,kn=cn[--un],cn[un]=null,Rn=cn[--un],cn[un]=null}function uy(n,a){cn[un++]=Rn,cn[un++]=kn,cn[un++]=ja,Rn=a.id,kn=a.overflow,ja=n}var ht=null,Fe=null,Ne=!1,Ca=null,dn=!1,Ad=Error(s(519));function Ra(n){var a=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Rr(ln(a,n)),Ad}function dy(n){var a=n.stateNode,r=n.type,l=n.memoizedProps;switch(a[ft]=n,a[Rt]=l,r){case"dialog":_e("cancel",a),_e("close",a);break;case"iframe":case"object":case"embed":_e("load",a);break;case"video":case"audio":for(r=0;r<Zr.length;r++)_e(Zr[r],a);break;case"source":_e("error",a);break;case"img":case"image":case"link":_e("error",a),_e("load",a);break;case"details":_e("toggle",a);break;case"input":_e("invalid",a),Eg(a,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":_e("invalid",a);break;case"textarea":_e("invalid",a),Ag(a,l.value,l.defaultValue,l.children)}r=l.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||a.textContent===""+r||l.suppressHydrationWarning===!0||jb(a.textContent,r)?(l.popover!=null&&(_e("beforetoggle",a),_e("toggle",a)),l.onScroll!=null&&_e("scroll",a),l.onScrollEnd!=null&&_e("scrollend",a),l.onClick!=null&&(a.onclick=Wn),a=!0):a=!1,a||Ra(n,!0)}function fy(n){for(ht=n.return;ht;)switch(ht.tag){case 5:case 31:case 13:dn=!1;return;case 27:case 3:dn=!0;return;default:ht=ht.return}}function gs(n){if(n!==ht)return!1;if(!Ne)return fy(n),Ne=!0,!1;var a=n.tag,r;if((r=a!==3&&a!==27)&&((r=a===5)&&(r=n.type,r=!(r!=="form"&&r!=="button")||Ff(n.type,n.memoizedProps)),r=!r),r&&Fe&&Ra(n),fy(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));Fe=Ib(n)}else if(a===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));Fe=Ib(n)}else a===27?(a=Fe,Ga(n.type)?(n=Kf,Kf=null,Fe=n):Fe=a):Fe=ht?hn(n.stateNode.nextSibling):null;return!0}function Si(){Fe=ht=null,Ne=!1}function Nd(){var n=Ca;return n!==null&&(Lt===null?Lt=n:Lt.push.apply(Lt,n),Ca=null),n}function Rr(n){Ca===null?Ca=[n]:Ca.push(n)}var jd=E(null),Ti=null,Kn=null;function ka(n,a,r){Y(jd,a._currentValue),a._currentValue=r}function Qn(n){n._currentValue=jd.current,z(jd)}function Cd(n,a,r){for(;n!==null;){var l=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,l!==null&&(l.childLanes|=a)):l!==null&&(l.childLanes&a)!==a&&(l.childLanes|=a),n===r)break;n=n.return}}function Rd(n,a,r,l){var d=n.child;for(d!==null&&(d.return=n);d!==null;){var h=d.dependencies;if(h!==null){var b=d.child;h=h.firstContext;e:for(;h!==null;){var S=h;h=d;for(var N=0;N<a.length;N++)if(S.context===a[N]){h.lanes|=r,S=h.alternate,S!==null&&(S.lanes|=r),Cd(h.return,r,n),l||(b=null);break e}h=S.next}}else if(d.tag===18){if(b=d.return,b===null)throw Error(s(341));b.lanes|=r,h=b.alternate,h!==null&&(h.lanes|=r),Cd(b,r,n),b=null}else b=d.child;if(b!==null)b.return=d;else for(b=d;b!==null;){if(b===n){b=null;break}if(d=b.sibling,d!==null){d.return=b.return,b=d;break}b=b.return}d=b}}function ys(n,a,r,l){n=null;for(var d=a,h=!1;d!==null;){if(!h){if((d.flags&524288)!==0)h=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var b=d.alternate;if(b===null)throw Error(s(387));if(b=b.memoizedProps,b!==null){var S=d.type;qt(d.pendingProps.value,b.value)||(n!==null?n.push(S):n=[S])}}else if(d===de.current){if(b=d.alternate,b===null)throw Error(s(387));b.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(n!==null?n.push(ao):n=[ao])}d=d.return}n!==null&&Rd(a,n,r,l),a.flags|=262144}function El(n){for(n=n.firstContext;n!==null;){if(!qt(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function _i(n){Ti=n,Kn=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function pt(n){return hy(Ti,n)}function wl(n,a){return Ti===null&&_i(n),hy(n,a)}function hy(n,a){var r=a._currentValue;if(a={context:a,memoizedValue:r,next:null},Kn===null){if(n===null)throw Error(s(308));Kn=a,n.dependencies={lanes:0,firstContext:a},n.flags|=524288}else Kn=Kn.next=a;return r}var NA=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(r,l){n.push(l)}};this.abort=function(){a.aborted=!0,n.forEach(function(r){return r()})}},jA=e.unstable_scheduleCallback,CA=e.unstable_NormalPriority,et={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function kd(){return{controller:new NA,data:new Map,refCount:0}}function kr(n){n.refCount--,n.refCount===0&&jA(CA,function(){n.controller.abort()})}var Mr=null,Md=0,vs=0,bs=null;function RA(n,a){if(Mr===null){var r=Mr=[];Md=0,vs=Uf(),bs={status:"pending",value:void 0,then:function(l){r.push(l)}}}return Md++,a.then(py,py),a}function py(){if(--Md===0&&Mr!==null){bs!==null&&(bs.status="fulfilled");var n=Mr;Mr=null,vs=0,bs=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function kA(n,a){var r=[],l={status:"pending",value:null,reason:null,then:function(d){r.push(d)}};return n.then(function(){l.status="fulfilled",l.value=a;for(var d=0;d<r.length;d++)(0,r[d])(a)},function(d){for(l.status="rejected",l.reason=d,d=0;d<r.length;d++)(0,r[d])(void 0)}),l}var my=U.S;U.S=function(n,a){Zv=Pt(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&RA(n,a),my!==null&&my(n,a)};var Ei=E(null);function Dd(){var n=Ei.current;return n!==null?n:Ve.pooledCache}function Al(n,a){a===null?Y(Ei,Ei.current):Y(Ei,a.pool)}function gy(){var n=Dd();return n===null?null:{parent:et._currentValue,pool:n}}var xs=Error(s(460)),Od=Error(s(474)),Nl=Error(s(542)),jl={then:function(){}};function yy(n){return n=n.status,n==="fulfilled"||n==="rejected"}function vy(n,a,r){switch(r=n[r],r===void 0?n.push(a):r!==a&&(a.then(Wn,Wn),a=r),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,xy(n),n;default:if(typeof a.status=="string")a.then(Wn,Wn);else{if(n=Ve,n!==null&&100<n.shellSuspendCounter)throw Error(s(482));n=a,n.status="pending",n.then(function(l){if(a.status==="pending"){var d=a;d.status="fulfilled",d.value=l}},function(l){if(a.status==="pending"){var d=a;d.status="rejected",d.reason=l}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,xy(n),n}throw Ai=a,xs}}function wi(n){try{var a=n._init;return a(n._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(Ai=r,xs):r}}var Ai=null;function by(){if(Ai===null)throw Error(s(459));var n=Ai;return Ai=null,n}function xy(n){if(n===xs||n===Nl)throw Error(s(483))}var Ss=null,Dr=0;function Cl(n){var a=Dr;return Dr+=1,Ss===null&&(Ss=[]),vy(Ss,n,a)}function Or(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function Rl(n,a){throw a.$$typeof===x?Error(s(525)):(n=Object.prototype.toString.call(a),Error(s(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)))}function Sy(n){function a(k,C){if(n){var D=k.deletions;D===null?(k.deletions=[C],k.flags|=16):D.push(C)}}function r(k,C){if(!n)return null;for(;C!==null;)a(k,C),C=C.sibling;return null}function l(k){for(var C=new Map;k!==null;)k.key!==null?C.set(k.key,k):C.set(k.index,k),k=k.sibling;return C}function d(k,C){return k=$n(k,C),k.index=0,k.sibling=null,k}function h(k,C,D){return k.index=D,n?(D=k.alternate,D!==null?(D=D.index,D<C?(k.flags|=67108866,C):D):(k.flags|=67108866,C)):(k.flags|=1048576,C)}function b(k){return n&&k.alternate===null&&(k.flags|=67108866),k}function S(k,C,D,q){return C===null||C.tag!==6?(C=Td(D,k.mode,q),C.return=k,C):(C=d(C,D),C.return=k,C)}function N(k,C,D,q){var oe=D.type;return oe===j?P(k,C,D.props.children,q,D.key):C!==null&&(C.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===X&&wi(oe)===C.type)?(C=d(C,D.props),Or(C,D),C.return=k,C):(C=Tl(D.type,D.key,D.props,null,k.mode,q),Or(C,D),C.return=k,C)}function O(k,C,D,q){return C===null||C.tag!==4||C.stateNode.containerInfo!==D.containerInfo||C.stateNode.implementation!==D.implementation?(C=_d(D,k.mode,q),C.return=k,C):(C=d(C,D.children||[]),C.return=k,C)}function P(k,C,D,q,oe){return C===null||C.tag!==7?(C=xi(D,k.mode,q,oe),C.return=k,C):(C=d(C,D),C.return=k,C)}function G(k,C,D){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Td(""+C,k.mode,D),C.return=k,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case _:return D=Tl(C.type,C.key,C.props,null,k.mode,D),Or(D,C),D.return=k,D;case T:return C=_d(C,k.mode,D),C.return=k,C;case X:return C=wi(C),G(k,C,D)}if(ge(C)||Se(C))return C=xi(C,k.mode,D,null),C.return=k,C;if(typeof C.then=="function")return G(k,Cl(C),D);if(C.$$typeof===I)return G(k,wl(k,C),D);Rl(k,C)}return null}function L(k,C,D,q){var oe=C!==null?C.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return oe!==null?null:S(k,C,""+D,q);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case _:return D.key===oe?N(k,C,D,q):null;case T:return D.key===oe?O(k,C,D,q):null;case X:return D=wi(D),L(k,C,D,q)}if(ge(D)||Se(D))return oe!==null?null:P(k,C,D,q,null);if(typeof D.then=="function")return L(k,C,Cl(D),q);if(D.$$typeof===I)return L(k,C,wl(k,D),q);Rl(k,D)}return null}function B(k,C,D,q,oe){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return k=k.get(D)||null,S(C,k,""+q,oe);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case _:return k=k.get(q.key===null?D:q.key)||null,N(C,k,q,oe);case T:return k=k.get(q.key===null?D:q.key)||null,O(C,k,q,oe);case X:return q=wi(q),B(k,C,D,q,oe)}if(ge(q)||Se(q))return k=k.get(D)||null,P(C,k,q,oe,null);if(typeof q.then=="function")return B(k,C,D,Cl(q),oe);if(q.$$typeof===I)return B(k,C,D,wl(C,q),oe);Rl(C,q)}return null}function te(k,C,D,q){for(var oe=null,Ce=null,ae=C,xe=C=0,Ae=null;ae!==null&&xe<D.length;xe++){ae.index>xe?(Ae=ae,ae=null):Ae=ae.sibling;var Re=L(k,ae,D[xe],q);if(Re===null){ae===null&&(ae=Ae);break}n&&ae&&Re.alternate===null&&a(k,ae),C=h(Re,C,xe),Ce===null?oe=Re:Ce.sibling=Re,Ce=Re,ae=Ae}if(xe===D.length)return r(k,ae),Ne&&Xn(k,xe),oe;if(ae===null){for(;xe<D.length;xe++)ae=G(k,D[xe],q),ae!==null&&(C=h(ae,C,xe),Ce===null?oe=ae:Ce.sibling=ae,Ce=ae);return Ne&&Xn(k,xe),oe}for(ae=l(ae);xe<D.length;xe++)Ae=B(ae,k,xe,D[xe],q),Ae!==null&&(n&&Ae.alternate!==null&&ae.delete(Ae.key===null?xe:Ae.key),C=h(Ae,C,xe),Ce===null?oe=Ae:Ce.sibling=Ae,Ce=Ae);return n&&ae.forEach(function(Xa){return a(k,Xa)}),Ne&&Xn(k,xe),oe}function ce(k,C,D,q){if(D==null)throw Error(s(151));for(var oe=null,Ce=null,ae=C,xe=C=0,Ae=null,Re=D.next();ae!==null&&!Re.done;xe++,Re=D.next()){ae.index>xe?(Ae=ae,ae=null):Ae=ae.sibling;var Xa=L(k,ae,Re.value,q);if(Xa===null){ae===null&&(ae=Ae);break}n&&ae&&Xa.alternate===null&&a(k,ae),C=h(Xa,C,xe),Ce===null?oe=Xa:Ce.sibling=Xa,Ce=Xa,ae=Ae}if(Re.done)return r(k,ae),Ne&&Xn(k,xe),oe;if(ae===null){for(;!Re.done;xe++,Re=D.next())Re=G(k,Re.value,q),Re!==null&&(C=h(Re,C,xe),Ce===null?oe=Re:Ce.sibling=Re,Ce=Re);return Ne&&Xn(k,xe),oe}for(ae=l(ae);!Re.done;xe++,Re=D.next())Re=B(ae,k,xe,Re.value,q),Re!==null&&(n&&Re.alternate!==null&&ae.delete(Re.key===null?xe:Re.key),C=h(Re,C,xe),Ce===null?oe=Re:Ce.sibling=Re,Ce=Re);return n&&ae.forEach(function(HN){return a(k,HN)}),Ne&&Xn(k,xe),oe}function Pe(k,C,D,q){if(typeof D=="object"&&D!==null&&D.type===j&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case _:e:{for(var oe=D.key;C!==null;){if(C.key===oe){if(oe=D.type,oe===j){if(C.tag===7){r(k,C.sibling),q=d(C,D.props.children),q.return=k,k=q;break e}}else if(C.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===X&&wi(oe)===C.type){r(k,C.sibling),q=d(C,D.props),Or(q,D),q.return=k,k=q;break e}r(k,C);break}else a(k,C);C=C.sibling}D.type===j?(q=xi(D.props.children,k.mode,q,D.key),q.return=k,k=q):(q=Tl(D.type,D.key,D.props,null,k.mode,q),Or(q,D),q.return=k,k=q)}return b(k);case T:e:{for(oe=D.key;C!==null;){if(C.key===oe)if(C.tag===4&&C.stateNode.containerInfo===D.containerInfo&&C.stateNode.implementation===D.implementation){r(k,C.sibling),q=d(C,D.children||[]),q.return=k,k=q;break e}else{r(k,C);break}else a(k,C);C=C.sibling}q=_d(D,k.mode,q),q.return=k,k=q}return b(k);case X:return D=wi(D),Pe(k,C,D,q)}if(ge(D))return te(k,C,D,q);if(Se(D)){if(oe=Se(D),typeof oe!="function")throw Error(s(150));return D=oe.call(D),ce(k,C,D,q)}if(typeof D.then=="function")return Pe(k,C,Cl(D),q);if(D.$$typeof===I)return Pe(k,C,wl(k,D),q);Rl(k,D)}
vendor: 8,135 bytes, line 8
8return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,C!==null&&C.tag===6?(r(k,C.sibling),q=d(C,D),q.return=k,k=q):(r(k,C),q=Td(D,k.mode,q),q.return=k,k=q),b(k)):r(k,C)}return function(k,C,D,q){try{Dr=0;var oe=Pe(k,C,D,q);return Ss=null,oe}catch(ae){if(ae===xs||ae===Nl)throw ae;var Ce=Gt(29,ae,null,k.mode);return Ce.lanes=q,Ce.return=k,Ce}}}var Ni=Sy(!0),Ty=Sy(!1),Ma=!1;function Ld(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ud(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Da(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Oa(n,a,r){var l=n.updateQueue;if(l===null)return null;if(l=l.shared,(De&2)!==0){var d=l.pending;return d===null?a.next=a:(a.next=d.next,d.next=a),l.pending=a,a=Sl(n),sy(n,null,r),a}return xl(n,l,a,r),Sl(n)}function Lr(n,a,r){if(a=a.updateQueue,a!==null&&(a=a.shared,(r&4194048)!==0)){var l=a.lanes;l&=n.pendingLanes,r|=l,a.lanes=r,hg(n,r)}}function Id(n,a){var r=n.updateQueue,l=n.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var d=null,h=null;if(r=r.firstBaseUpdate,r!==null){do{var b={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};h===null?d=h=b:h=h.next=b,r=r.next}while(r!==null);h===null?d=h=a:h=h.next=a}else d=h=a;r={baseState:l.baseState,firstBaseUpdate:d,lastBaseUpdate:h,shared:l.shared,callbacks:l.callbacks},n.updateQueue=r;return}n=r.lastBaseUpdate,n===null?r.firstBaseUpdate=a:n.next=a,r.lastBaseUpdate=a}var Bd=!1;function Ur(){if(Bd){var n=bs;if(n!==null)throw n}}function Ir(n,a,r,l){Bd=!1;var d=n.updateQueue;Ma=!1;var h=d.firstBaseUpdate,b=d.lastBaseUpdate,S=d.shared.pending;if(S!==null){d.shared.pending=null;var N=S,O=N.next;N.next=null,b===null?h=O:b.next=O,b=N;var P=n.alternate;P!==null&&(P=P.updateQueue,S=P.lastBaseUpdate,S!==b&&(S===null?P.firstBaseUpdate=O:S.next=O,P.lastBaseUpdate=N))}if(h!==null){var G=d.baseState;b=0,P=O=N=null,S=h;do{var L=S.lane&-536870913,B=L!==S.lane;if(B?(we&L)===L:(l&L)===L){L!==0&&L===vs&&(Bd=!0),P!==null&&(P=P.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var te=n,ce=S;L=a;var Pe=r;switch(ce.tag){case 1:if(te=ce.payload,typeof te=="function"){G=te.call(Pe,G,L);break e}G=te;break e;case 3:te.flags=te.flags&-65537|128;case 0:if(te=ce.payload,L=typeof te=="function"?te.call(Pe,G,L):te,L==null)break e;G=y({},G,L);break e;case 2:Ma=!0}}L=S.callback,L!==null&&(n.flags|=64,B&&(n.flags|=8192),B=d.callbacks,B===null?d.callbacks=[L]:B.push(L))}else B={lane:L,tag:S.tag,payload:S.payload,callback:S.callback,next:null},P===null?(O=P=B,N=G):P=P.next=B,b|=L;if(S=S.next,S===null){if(S=d.shared.pending,S===null)break;B=S,S=B.next,B.next=null,d.lastBaseUpdate=B,d.shared.pending=null}}while(!0);P===null&&(N=G),d.baseState=N,d.firstBaseUpdate=O,d.lastBaseUpdate=P,h===null&&(d.shared.lanes=0),za|=b,n.lanes=b,n.memoizedState=G}}function _y(n,a){if(typeof n!="function")throw Error(s(191,n));n.call(a)}function Ey(n,a){var r=n.callbacks;if(r!==null)for(n.callbacks=null,n=0;n<r.length;n++)_y(r[n],a)}var Ts=E(null),kl=E(0);function wy(n,a){n=ra,Y(kl,n),Y(Ts,a),ra=n|a.baseLanes}function zd(){Y(kl,ra),Y(Ts,Ts.current)}function Pd(){ra=kl.current,z(Ts),z(kl)}var Ft=E(null),fn=null;function La(n){var a=n.alternate;Y(Ze,Ze.current&1),Y(Ft,n),fn===null&&(a===null||Ts.current!==null||a.memoizedState!==null)&&(fn=n)}function Vd(n){Y(Ze,Ze.current),Y(Ft,n),fn===null&&(fn=n)}function Ay(n){n.tag===22?(Y(Ze,Ze.current),Y(Ft,n),fn===null&&(fn=n)):Ua()}function Ua(){Y(Ze,Ze.current),Y(Ft,Ft.current)}function Wt(n){z(Ft),fn===n&&(fn=null),z(Ze)}var Ze=E(0);function Ml(n){for(var a=n;a!==null;){if(a.tag===13){var r=a.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||$f(r)||Xf(r)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Zn=0,be=null,Be=null,tt=null,Dl=!1,_s=!1,ji=!1,Ol=0,Br=0,Es=null,MA=0;function Xe(){throw Error(s(321))}function Hd(n,a){if(a===null)return!1;for(var r=0;r<a.length&&r<n.length;r++)if(!qt(n[r],a[r]))return!1;return!0}function qd(n,a,r,l,d,h){return Zn=h,be=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,U.H=n===null||n.memoizedState===null?cv:sf,ji=!1,h=r(l,d),ji=!1,_s&&(h=jy(a,r,l,d)),Ny(n),h}function Ny(n){U.H=Vr;var a=Be!==null&&Be.next!==null;if(Zn=0,tt=Be=be=null,Dl=!1,Br=0,Es=null,a)throw Error(s(300));n===null||nt||(n=n.dependencies,n!==null&&El(n)&&(nt=!0))}function jy(n,a,r,l){be=n;var d=0;do{if(_s&&(Es=null),Br=0,_s=!1,25<=d)throw Error(s(301));if(d+=1,tt=Be=null,n.updateQueue!=null){var h=n.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}U.H=uv,h=a(r,l)}while(_s);return h}function DA(){var n=U.H,a=n.useState()[0];return a=typeof a.then=="function"?zr(a):a,n=n.useState()[0],(Be!==null?Be.memoizedState:null)!==n&&(be.flags|=1024),a}function Gd(){var n=Ol!==0;return Ol=0,n}function Fd(n,a,r){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~r}function Wd(n){if(Dl){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}Dl=!1}Zn=0,tt=Be=be=null,_s=!1,Br=Ol=0,Es=null}function At(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?be.memoizedState=tt=n:tt=tt.next=n,tt}function Je(){if(Be===null){var n=be.alternate;n=n!==null?n.memoizedState:null}else n=Be.next;var a=tt===null?be.memoizedState:tt.next;if(a!==null)tt=a,Be=n;else{if(n===null)throw be.alternate===null?Error(s(467)):Error(s(310));Be=n,n={memoizedState:Be.memoizedState,baseState:Be.baseState,baseQueue:Be.baseQueue,queue:Be.queue,next:null},tt===null?be.memoizedState=tt=n:tt=tt.next=n}return tt}function Ll(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function zr(n){var a=Br;return Br+=1,Es===null&&(Es=[]),n=vy(Es,n,a),a=be,(tt===null?a.memoizedState:tt.next)===null&&(a=a.alternate,U.H=a===null||a.memoizedState===null?cv:sf),n}function Ul(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return zr(n);if(n.$$typeof===I)return pt(n)}throw Error(s(438,String(n)))}function Yd(n){var a=null,r=be.updateQueue;if(r!==null&&(a=r.memoCache),a==null){var l=be.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(a={data:l.data.map(function(d){return d.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),r===null&&(r=Ll(),be.updateQueue=r),r.memoCache=a,r=a.data[a.index],r===void 0)for(r=a.data[a.index]=Array(n),l=0;l<n;l++)r[l]=J;return a.index++,r}function Jn(n,a){return typeof a=="function"?a(n):a}function Il(n){var a=Je();return $d(a,Be,n)}function $d(n,a,r){var l=n.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=r;var d=n.baseQueue,h=l.pending;if(h!==null){if(d!==null){var b=d.next;d.next=h.next,h.next=b}a.baseQueue=d=h,l.pending=null}if(h=n.baseState,d===null)n.memoizedState=h;else{a=d.next;var S=b=null,N=null,O=a,P=!1;do{var G=O.lane&-536870913;if(G!==O.lane?(we&G)===G:(Zn&G)===G){var L=O.revertLane;if(L===0)N!==null&&(N=N.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),G===vs&&(P=!0);else if((Zn&L)===L){O=O.next,L===vs&&(P=!0);continue}else G={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},N===null?(S=N=G,b=h):N=N.next=G,be.lanes|=L,za|=L;G=O.action,ji&&r(h,G),h=O.hasEagerState?O.eagerState:r(h,G)}else L={lane:G,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},N===null?(S=N=L,b=h):N=N.next=L,be.lanes|=G,za|=G;O=O.next}
vendor: 8,008 bytes, line 8
8while(O!==null&&O!==a);if(N===null?b=h:N.next=S,!qt(h,n.memoizedState)&&(nt=!0,P&&(r=bs,r!==null)))throw r;n.memoizedState=h,n.baseState=b,n.baseQueue=N,l.lastRenderedState=h}return d===null&&(l.lanes=0),[n.memoizedState,l.dispatch]}function Xd(n){var a=Je(),r=a.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=n;var l=r.dispatch,d=r.pending,h=a.memoizedState;if(d!==null){r.pending=null;var b=d=d.next;do h=n(h,b.action),b=b.next;while(b!==d);qt(h,a.memoizedState)||(nt=!0),a.memoizedState=h,a.baseQueue===null&&(a.baseState=h),r.lastRenderedState=h}return[h,l]}function Cy(n,a,r){var l=be,d=Je(),h=Ne;if(h){if(r===void 0)throw Error(s(407));r=r()}else r=a();var b=!qt((Be||d).memoizedState,r);if(b&&(d.memoizedState=r,nt=!0),d=d.queue,Zd(My.bind(null,l,d,n),[n]),d.getSnapshot!==a||b||tt!==null&&tt.memoizedState.tag&1){if(l.flags|=2048,ws(9,{destroy:void 0},ky.bind(null,l,d,r,a),null),Ve===null)throw Error(s(349));h||(Zn&127)!==0||Ry(l,a,r)}return r}function Ry(n,a,r){n.flags|=16384,n={getSnapshot:a,value:r},a=be.updateQueue,a===null?(a=Ll(),be.updateQueue=a,a.stores=[n]):(r=a.stores,r===null?a.stores=[n]:r.push(n))}function ky(n,a,r,l){a.value=r,a.getSnapshot=l,Dy(a)&&Oy(n)}function My(n,a,r){return r(function(){Dy(a)&&Oy(n)})}function Dy(n){var a=n.getSnapshot;n=n.value;try{var r=a();return!qt(n,r)}catch{return!0}}function Oy(n){var a=bi(n,2);a!==null&&Ut(a,n,2)}function Kd(n){var a=At();if(typeof n=="function"){var r=n;if(n=r(),ji){wa(!0);try{r()}finally{wa(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jn,lastRenderedState:n},a}function Ly(n,a,r,l){return n.baseState=r,$d(n,Be,typeof l=="function"?l:Jn)}function OA(n,a,r,l,d){if(Pl(n))throw Error(s(485));if(n=a.action,n!==null){var h={payload:d,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){h.listeners.push(b)}};U.T!==null?r(!0):h.isTransition=!1,l(h),r=a.pending,r===null?(h.next=a.pending=h,Uy(a,h)):(h.next=r.next,a.pending=r.next=h)}}function Uy(n,a){var r=a.action,l=a.payload,d=n.state;if(a.isTransition){var h=U.T,b={};U.T=b;try{var S=r(d,l),N=U.S;N!==null&&N(b,S),Iy(n,a,S)}catch(O){Qd(n,a,O)}finally{h!==null&&b.types!==null&&(h.types=b.types),U.T=h}}else try{h=r(d,l),Iy(n,a,h)}catch(O){Qd(n,a,O)}}function Iy(n,a,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(l){By(n,a,l)},function(l){return Qd(n,a,l)}):By(n,a,r)}function By(n,a,r){a.status="fulfilled",a.value=r,zy(a),n.state=r,a=n.pending,a!==null&&(r=a.next,r===a?n.pending=null:(r=r.next,a.next=r,Uy(n,r)))}function Qd(n,a,r){var l=n.pending;if(n.pending=null,l!==null){l=l.next;do a.status="rejected",a.reason=r,zy(a),a=a.next;while(a!==l)}n.action=null}function zy(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function Py(n,a){return a}function Vy(n,a){if(Ne){var r=Ve.formState;if(r!==null){e:{var l=be;if(Ne){if(Fe){t:{for(var d=Fe,h=dn;d.nodeType!==8;){if(!h){d=null;break t}if(d=hn(d.nextSibling),d===null){d=null;break t}}h=d.data,d=h==="F!"||h==="F"?d:null}if(d){Fe=hn(d.nextSibling),l=d.data==="F!";break e}}Ra(l)}l=!1}l&&(a=r[0])}}return r=At(),r.memoizedState=r.baseState=a,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Py,lastRenderedState:a},r.queue=l,r=rv.bind(null,be,l),l.dispatch=r,l=Kd(!1),h=af.bind(null,be,!1,l.queue),l=At(),d={state:a,dispatch:null,action:n,pending:null},l.queue=d,r=OA.bind(null,be,d,h,r),d.dispatch=r,l.memoizedState=n,[a,r,!1]}function Hy(n){var a=Je();return qy(a,Be,n)}function qy(n,a,r){if(a=$d(n,a,Py)[0],n=Il(Jn)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var l=zr(a)}catch(b){throw b===xs?Nl:b}else l=a;a=Je();var d=a.queue,h=d.dispatch;return r!==a.memoizedState&&(be.flags|=2048,ws(9,{destroy:void 0},LA.bind(null,d,r),null)),[l,h,n]}function LA(n,a){n.action=a}function Gy(n){var a=Je(),r=Be;if(r!==null)return qy(a,r,n);Je(),a=a.memoizedState,r=Je();var l=r.queue.dispatch;return r.memoizedState=n,[a,l,!1]}function ws(n,a,r,l){return n={tag:n,create:r,deps:l,inst:a,next:null},a=be.updateQueue,a===null&&(a=Ll(),be.updateQueue=a),r=a.lastEffect,r===null?a.lastEffect=n.next=n:(l=r.next,r.next=n,n.next=l,a.lastEffect=n),n}function Fy(){return Je().memoizedState}function Bl(n,a,r,l){var d=At();be.flags|=n,d.memoizedState=ws(1|a,{destroy:void 0},r,l===void 0?null:l)}function zl(n,a,r,l){var d=Je();l=l===void 0?null:l;var h=d.memoizedState.inst;Be!==null&&l!==null&&Hd(l,Be.memoizedState.deps)?d.memoizedState=ws(a,h,r,l):(be.flags|=n,d.memoizedState=ws(1|a,h,r,l))}function Wy(n,a){Bl(8390656,8,n,a)}function Zd(n,a){zl(2048,8,n,a)}function UA(n){be.flags|=4;var a=be.updateQueue;if(a===null)a=Ll(),be.updateQueue=a,a.events=[n];else{var r=a.events;r===null?a.events=[n]:r.push(n)}}function Yy(n){var a=Je().memoizedState;return UA({ref:a,nextImpl:n}),function(){if((De&2)!==0)throw Error(s(440));return a.impl.apply(void 0,arguments)}}function $y(n,a){return zl(4,2,n,a)}function Xy(n,a){return zl(4,4,n,a)}function Ky(n,a){if(typeof a=="function"){n=n();var r=a(n);return function(){typeof r=="function"?r():a(null)}}if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function Qy(n,a,r){r=r!=null?r.concat([n]):null,zl(4,4,Ky.bind(null,a,n),r)}function Jd(){}function Zy(n,a){var r=Je();a=a===void 0?null:a;var l=r.memoizedState;return a!==null&&Hd(a,l[1])?l[0]:(r.memoizedState=[n,a],n)}function Jy(n,a){var r=Je();a=a===void 0?null:a;var l=r.memoizedState;if(a!==null&&Hd(a,l[1]))return l[0];if(l=n(),ji){wa(!0);try{n()}finally{wa(!1)}}return r.memoizedState=[l,a],l}function ef(n,a,r){return r===void 0||(Zn&1073741824)!==0&&(we&261930)===0?n.memoizedState=a:(n.memoizedState=r,n=eb(),be.lanes|=n,za|=n,r)}function ev(n,a,r,l){return qt(r,a)?r:Ts.current!==null?(n=ef(n,r,l),qt(n,a)||(nt=!0),n):(Zn&42)===0||(Zn&1073741824)!==0&&(we&261930)===0?(nt=!0,n.memoizedState=r):(n=eb(),be.lanes|=n,za|=n,a)}function tv(n,a,r,l,d){var h=F.p;F.p=h!==0&&8>h?h:8;var b=U.T,S={};U.T=S,af(n,!1,a,r);try{var N=d(),O=U.S;if(O!==null&&O(S,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var P=kA(N,l);Pr(n,a,P,Xt(n))}else Pr(n,a,l,Xt(n))}catch(G){Pr(n,a,{then:function(){},status:"rejected",reason:G},Xt())}finally{F.p=h,b!==null&&S.types!==null&&(b.types=S.types),U.T=b}}function IA(){}function tf(n,a,r,l){if(n.tag!==5)throw Error(s(476));var d=nv(n).queue;tv(n,d,a,$,r===null?IA:function(){return av(n),r(l)})}function nv(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jn,lastRenderedState:$},next:null};var r={};return a.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jn,lastRenderedState:r},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function av(n){var a=nv(n);a.next===null&&(a=n.alternate.memoizedState),Pr(n,a.next.queue,{},Xt())}function nf(){return pt(ao)}function iv(){return Je().memoizedState}function sv(){return Je().memoizedState}function BA(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var r=Xt();n=Da(r);var l=Oa(a,n,r);l!==null&&(Ut(l,a,r),Lr(l,a,r)),a={cache:kd()},n.payload=a;return}a=a.return}}function zA(n,a,r){var l=Xt();r={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Pl(n)?ov(a,r):(r=xd(n,a,r,l),r!==null&&(Ut(r,n,l),lv(r,a,l)))}function rv(n,a,r){var l=Xt();Pr(n,a,r,l)}function Pr(n,a,r,l){var d={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Pl(n))ov(a,d);else{var h=n.alternate;if(n.lanes===0&&(h===null||h.lanes===0)&&(h=a.lastRenderedReducer,h!==null))try{var b=a.lastRenderedState,S=h(b,r);if(d.hasEagerState=!0,d.eagerState=S,qt(S,b))return xl(n,a,d,0),Ve===null&&bl(),!1}catch{}if(r=xd(n,a,d,l),r!==null)return Ut(r,n,l),lv(r,a,l),!0}return!1}function af(n,a,r,l){if(l={lane:2,revertLane:Uf(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null}
vendor: 8,016 bytes, line 8
8,Pl(n)){if(a)throw Error(s(479))}else a=xd(n,r,l,2),a!==null&&Ut(a,n,2)}function Pl(n){var a=n.alternate;return n===be||a!==null&&a===be}function ov(n,a){_s=Dl=!0;var r=n.pending;r===null?a.next=a:(a.next=r.next,r.next=a),n.pending=a}function lv(n,a,r){if((r&4194048)!==0){var l=a.lanes;l&=n.pendingLanes,r|=l,a.lanes=r,hg(n,r)}}var Vr={readContext:pt,use:Ul,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};Vr.useEffectEvent=Xe;var cv={readContext:pt,use:Ul,useCallback:function(n,a){return At().memoizedState=[n,a===void 0?null:a],n},useContext:pt,useEffect:Wy,useImperativeHandle:function(n,a,r){r=r!=null?r.concat([n]):null,Bl(4194308,4,Ky.bind(null,a,n),r)},useLayoutEffect:function(n,a){return Bl(4194308,4,n,a)},useInsertionEffect:function(n,a){Bl(4,2,n,a)},useMemo:function(n,a){var r=At();a=a===void 0?null:a;var l=n();if(ji){wa(!0);try{n()}finally{wa(!1)}}return r.memoizedState=[l,a],l},useReducer:function(n,a,r){var l=At();if(r!==void 0){var d=r(a);if(ji){wa(!0);try{r(a)}finally{wa(!1)}}}else d=a;return l.memoizedState=l.baseState=d,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:d},l.queue=n,n=n.dispatch=zA.bind(null,be,n),[l.memoizedState,n]},useRef:function(n){var a=At();return n={current:n},a.memoizedState=n},useState:function(n){n=Kd(n);var a=n.queue,r=rv.bind(null,be,a);return a.dispatch=r,[n.memoizedState,r]},useDebugValue:Jd,useDeferredValue:function(n,a){var r=At();return ef(r,n,a)},useTransition:function(){var n=Kd(!1);return n=tv.bind(null,be,n.queue,!0,!1),At().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,r){var l=be,d=At();if(Ne){if(r===void 0)throw Error(s(407));r=r()}else{if(r=a(),Ve===null)throw Error(s(349));(we&127)!==0||Ry(l,a,r)}d.memoizedState=r;var h={value:r,getSnapshot:a};return d.queue=h,Wy(My.bind(null,l,h,n),[n]),l.flags|=2048,ws(9,{destroy:void 0},ky.bind(null,l,h,r,a),null),r},useId:function(){var n=At(),a=Ve.identifierPrefix;if(Ne){var r=kn,l=Rn;r=(l&~(1<<32-Ht(l)-1)).toString(32)+r,a="_"+a+"R_"+r,r=Ol++,0<r&&(a+="H"+r.toString(32)),a+="_"}else r=MA++,a="_"+a+"r_"+r.toString(32)+"_";return n.memoizedState=a},useHostTransitionStatus:nf,useFormState:Vy,useActionState:Vy,useOptimistic:function(n){var a=At();a.memoizedState=a.baseState=n;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=r,a=af.bind(null,be,!0,r),r.dispatch=a,[n,a]},useMemoCache:Yd,useCacheRefresh:function(){return At().memoizedState=BA.bind(null,be)},useEffectEvent:function(n){var a=At(),r={impl:n};return a.memoizedState=r,function(){if((De&2)!==0)throw Error(s(440));return r.impl.apply(void 0,arguments)}}},sf={readContext:pt,use:Ul,useCallback:Zy,useContext:pt,useEffect:Zd,useImperativeHandle:Qy,useInsertionEffect:$y,useLayoutEffect:Xy,useMemo:Jy,useReducer:Il,useRef:Fy,useState:function(){return Il(Jn)},useDebugValue:Jd,useDeferredValue:function(n,a){var r=Je();return ev(r,Be.memoizedState,n,a)},useTransition:function(){var n=Il(Jn)[0],a=Je().memoizedState;return[typeof n=="boolean"?n:zr(n),a]},useSyncExternalStore:Cy,useId:iv,useHostTransitionStatus:nf,useFormState:Hy,useActionState:Hy,useOptimistic:function(n,a){var r=Je();return Ly(r,Be,n,a)},useMemoCache:Yd,useCacheRefresh:sv};sf.useEffectEvent=Yy;var uv={readContext:pt,use:Ul,useCallback:Zy,useContext:pt,useEffect:Zd,useImperativeHandle:Qy,useInsertionEffect:$y,useLayoutEffect:Xy,useMemo:Jy,useReducer:Xd,useRef:Fy,useState:function(){return Xd(Jn)},useDebugValue:Jd,useDeferredValue:function(n,a){var r=Je();return Be===null?ef(r,n,a):ev(r,Be.memoizedState,n,a)},useTransition:function(){var n=Xd(Jn)[0],a=Je().memoizedState;return[typeof n=="boolean"?n:zr(n),a]},useSyncExternalStore:Cy,useId:iv,useHostTransitionStatus:nf,useFormState:Gy,useActionState:Gy,useOptimistic:function(n,a){var r=Je();return Be!==null?Ly(r,Be,n,a):(r.baseState=n,[n,r.queue.dispatch])},useMemoCache:Yd,useCacheRefresh:sv};uv.useEffectEvent=Yy;function rf(n,a,r,l){a=n.memoizedState,r=r(l,a),r=r==null?a:y({},a,r),n.memoizedState=r,n.lanes===0&&(n.updateQueue.baseState=r)}var of={enqueueSetState:function(n,a,r){n=n._reactInternals;var l=Xt(),d=Da(l);d.payload=a,r!=null&&(d.callback=r),a=Oa(n,d,l),a!==null&&(Ut(a,n,l),Lr(a,n,l))},enqueueReplaceState:function(n,a,r){n=n._reactInternals;var l=Xt(),d=Da(l);d.tag=1,d.payload=a,r!=null&&(d.callback=r),a=Oa(n,d,l),a!==null&&(Ut(a,n,l),Lr(a,n,l))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var r=Xt(),l=Da(r);l.tag=2,a!=null&&(l.callback=a),a=Oa(n,l,r),a!==null&&(Ut(a,n,r),Lr(a,n,r))}};function dv(n,a,r,l,d,h,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(l,h,b):a.prototype&&a.prototype.isPureReactComponent?!Nr(r,l)||!Nr(d,h):!0}function fv(n,a,r,l){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(r,l),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(r,l),a.state!==n&&of.enqueueReplaceState(a,a.state,null)}function Ci(n,a){var r=a;if("ref"in a){r={};for(var l in a)l!=="ref"&&(r[l]=a[l])}if(n=n.defaultProps){r===a&&(r=y({},r));for(var d in n)r[d]===void 0&&(r[d]=n[d])}return r}function hv(n){vl(n)}function pv(n){console.error(n)}function mv(n){vl(n)}function Vl(n,a){try{var r=n.onUncaughtError;r(a.value,{componentStack:a.stack})}catch(l){setTimeout(function(){throw l})}}function gv(n,a,r){try{var l=n.onCaughtError;l(r.value,{componentStack:r.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function lf(n,a,r){return r=Da(r),r.tag=3,r.payload={element:null},r.callback=function(){Vl(n,a)},r}function yv(n){return n=Da(n),n.tag=3,n}function vv(n,a,r,l){var d=r.type.getDerivedStateFromError;if(typeof d=="function"){var h=l.value;n.payload=function(){return d(h)},n.callback=function(){gv(a,r,l)}}var b=r.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(n.callback=function(){gv(a,r,l),typeof d!="function"&&(Pa===null?Pa=new Set([this]):Pa.add(this));var S=l.stack;this.componentDidCatch(l.value,{componentStack:S!==null?S:""})})}function PA(n,a,r,l,d){if(r.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(a=r.alternate,a!==null&&ys(a,r,d,!0),r=Ft.current,r!==null){switch(r.tag){case 31:case 13:return fn===null?Jl():r.alternate===null&&Ke===0&&(Ke=3),r.flags&=-257,r.flags|=65536,r.lanes=d,l===jl?r.flags|=16384:(a=r.updateQueue,a===null?r.updateQueue=new Set([l]):a.add(l),Df(n,l,d)),!1;case 22:return r.flags|=65536,l===jl?r.flags|=16384:(a=r.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([l])},r.updateQueue=a):(r=a.retryQueue,r===null?a.retryQueue=new Set([l]):r.add(l)),Df(n,l,d)),!1}throw Error(s(435,r.tag))}return Df(n,l,d),Jl(),!1}if(Ne)return a=Ft.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=d,l!==Ad&&(n=Error(s(422),{cause:l}),Rr(ln(n,r)))):(l!==Ad&&(a=Error(s(423),{cause:l}),Rr(ln(a,r))),n=n.current.alternate,n.flags|=65536,d&=-d,n.lanes|=d,l=ln(l,r),d=lf(n.stateNode,l,d),Id(n,d),Ke!==4&&(Ke=2)),!1;var h=Error(s(520),{cause:l});if(h=ln(h,r),Xr===null?Xr=[h]:Xr.push(h),Ke!==4&&(Ke=2),a===null)return!0;l=ln(l,r),r=a;do{switch(r.tag){case 3:return r.flags|=65536,n=d&-d,r.lanes|=n,n=lf(r.stateNode,l,n),Id(r,n),!1;case 1:if(a=r.type,h=r.stateNode,(r.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Pa===null||!Pa.has(h))))return r.flags|=65536,d&=-d,r.lanes|=d,d=yv(d),vv(d,n,r,l),Id(r,d),!1}r=r.return}while(r!==null);return!1}var cf=Error(s(461)),nt=!1;function mt(n,a,r,l){a.child=n===null?Ty(a,null,r,l):Ni(a,n.child,r,l)}function bv(n,a,r,l,d){r=r.render;var h=a.ref;if("ref"in l){var b={};
vendor: 9,446 bytes, line 8
8for(var S in l)S!=="ref"&&(b[S]=l[S])}else b=l;return _i(a),l=qd(n,a,r,b,h,d),S=Gd(),n!==null&&!nt?(Fd(n,a,d),ea(n,a,d)):(Ne&&S&&Ed(a),a.flags|=1,mt(n,a,l,d),a.child)}function xv(n,a,r,l,d){if(n===null){var h=r.type;return typeof h=="function"&&!Sd(h)&&h.defaultProps===void 0&&r.compare===null?(a.tag=15,a.type=h,Sv(n,a,h,l,d)):(n=Tl(r.type,null,l,a,a.mode,d),n.ref=a.ref,n.return=a,a.child=n)}if(h=n.child,!yf(n,d)){var b=h.memoizedProps;if(r=r.compare,r=r!==null?r:Nr,r(b,l)&&n.ref===a.ref)return ea(n,a,d)}return a.flags|=1,n=$n(h,l),n.ref=a.ref,n.return=a,a.child=n}function Sv(n,a,r,l,d){if(n!==null){var h=n.memoizedProps;if(Nr(h,l)&&n.ref===a.ref)if(nt=!1,a.pendingProps=l=h,yf(n,d))(n.flags&131072)!==0&&(nt=!0);else return a.lanes=n.lanes,ea(n,a,d)}return uf(n,a,r,l,d)}function Tv(n,a,r,l){var d=l.children,h=n!==null?n.memoizedState:null;if(n===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((a.flags&128)!==0){if(h=h!==null?h.baseLanes|r:r,n!==null){for(l=a.child=n.child,d=0;l!==null;)d=d|l.lanes|l.childLanes,l=l.sibling;l=d&~h}else l=0,a.child=null;return _v(n,a,h,r,l)}if((r&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&Al(a,h!==null?h.cachePool:null),h!==null?wy(a,h):zd(),Ay(a);else return l=a.lanes=536870912,_v(n,a,h!==null?h.baseLanes|r:r,r,l)}else h!==null?(Al(a,h.cachePool),wy(a,h),Ua(),a.memoizedState=null):(n!==null&&Al(a,null),zd(),Ua());return mt(n,a,d,r),a.child}function Hr(n,a){return n!==null&&n.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function _v(n,a,r,l,d){var h=Dd();return h=h===null?null:{parent:et._currentValue,pool:h},a.memoizedState={baseLanes:r,cachePool:h},n!==null&&Al(a,null),zd(),Ay(a),n!==null&&ys(n,a,l,!0),a.childLanes=d,null}function Hl(n,a){return a=Gl({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function Ev(n,a,r){return Ni(a,n.child,null,r),n=Hl(a,a.pendingProps),n.flags|=2,Wt(a),a.memoizedState=null,n}function VA(n,a,r){var l=a.pendingProps,d=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(Ne){if(l.mode==="hidden")return n=Hl(a,l),a.lanes=536870912,Hr(null,n);if(Vd(a),(n=Fe)?(n=Ub(n,dn),n=n!==null&&n.data==="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:ja!==null?{id:Rn,overflow:kn}:null,retryLane:536870912,hydrationErrors:null},r=oy(n),r.return=a,a.child=r,ht=a,Fe=null)):n=null,n===null)throw Ra(a);return a.lanes=536870912,null}return Hl(a,l)}var h=n.memoizedState;if(h!==null){var b=h.dehydrated;if(Vd(a),d)if(a.flags&256)a.flags&=-257,a=Ev(n,a,r);else if(a.memoizedState!==null)a.child=n.child,a.flags|=128,a=null;else throw Error(s(558));else if(nt||ys(n,a,r,!1),d=(r&n.childLanes)!==0,nt||d){if(l=Ve,l!==null&&(b=pg(l,r),b!==0&&b!==h.retryLane))throw h.retryLane=b,bi(n,b),Ut(l,n,b),cf;Jl(),a=Ev(n,a,r)}else n=h.treeContext,Fe=hn(b.nextSibling),ht=a,Ne=!0,Ca=null,dn=!1,n!==null&&uy(a,n),a=Hl(a,l),a.flags|=4096;return a}return n=$n(n.child,{mode:l.mode,children:l.children}),n.ref=a.ref,a.child=n,n.return=a,n}function ql(n,a){var r=a.ref;if(r===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(s(284));(n===null||n.ref!==r)&&(a.flags|=4194816)}}function uf(n,a,r,l,d){return _i(a),r=qd(n,a,r,l,void 0,d),l=Gd(),n!==null&&!nt?(Fd(n,a,d),ea(n,a,d)):(Ne&&l&&Ed(a),a.flags|=1,mt(n,a,r,d),a.child)}function wv(n,a,r,l,d,h){return _i(a),a.updateQueue=null,r=jy(a,l,r,d),Ny(n),l=Gd(),n!==null&&!nt?(Fd(n,a,h),ea(n,a,h)):(Ne&&l&&Ed(a),a.flags|=1,mt(n,a,r,h),a.child)}function Av(n,a,r,l,d){if(_i(a),a.stateNode===null){var h=hs,b=r.contextType;typeof b=="object"&&b!==null&&(h=pt(b)),h=new r(l,h),a.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=of,a.stateNode=h,h._reactInternals=a,h=a.stateNode,h.props=l,h.state=a.memoizedState,h.refs={},Ld(a),b=r.contextType,h.context=typeof b=="object"&&b!==null?pt(b):hs,h.state=a.memoizedState,b=r.getDerivedStateFromProps,typeof b=="function"&&(rf(a,r,b,l),h.state=a.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(b=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),b!==h.state&&of.enqueueReplaceState(h,h.state,null),Ir(a,l,h,d),Ur(),h.state=a.memoizedState),typeof h.componentDidMount=="function"&&(a.flags|=4194308),l=!0}else if(n===null){h=a.stateNode;var S=a.memoizedProps,N=Ci(r,S);h.props=N;var O=h.context,P=r.contextType;b=hs,typeof P=="object"&&P!==null&&(b=pt(P));var G=r.getDerivedStateFromProps;P=typeof G=="function"||typeof h.getSnapshotBeforeUpdate=="function",S=a.pendingProps!==S,P||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(S||O!==b)&&fv(a,h,l,b),Ma=!1;var L=a.memoizedState;h.state=L,Ir(a,l,h,d),Ur(),O=a.memoizedState,S||L!==O||Ma?(typeof G=="function"&&(rf(a,r,G,l),O=a.memoizedState),(N=Ma||dv(a,r,N,l,L,O,b))?(P||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(a.flags|=4194308)):(typeof h.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=l,a.memoizedState=O),h.props=l,h.state=O,h.context=b,l=N):(typeof h.componentDidMount=="function"&&(a.flags|=4194308),l=!1)}else{h=a.stateNode,Ud(n,a),b=a.memoizedProps,P=Ci(r,b),h.props=P,G=a.pendingProps,L=h.context,O=r.contextType,N=hs,typeof O=="object"&&O!==null&&(N=pt(O)),S=r.getDerivedStateFromProps,(O=typeof S=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(b!==G||L!==N)&&fv(a,h,l,N),Ma=!1,L=a.memoizedState,h.state=L,Ir(a,l,h,d),Ur();var B=a.memoizedState;b!==G||L!==B||Ma||n!==null&&n.dependencies!==null&&El(n.dependencies)?(typeof S=="function"&&(rf(a,r,S,l),B=a.memoizedState),(P=Ma||dv(a,r,P,l,L,B,N)||n!==null&&n.dependencies!==null&&El(n.dependencies))?(O||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(l,B,N),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(l,B,N)),typeof h.componentDidUpdate=="function"&&(a.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof h.componentDidUpdate!="function"||b===n.memoizedProps&&L===n.memoizedState||(a.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&L===n.memoizedState||(a.flags|=1024),a.memoizedProps=l,a.memoizedState=B),h.props=l,h.state=B,h.context=N,l=P):(typeof h.componentDidUpdate!="function"||b===n.memoizedProps&&L===n.memoizedState||(a.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&L===n.memoizedState||(a.flags|=1024),l=!1)}return h=l,ql(n,a),l=(a.flags&128)!==0,h||l?(h=a.stateNode,r=l&&typeof r.getDerivedStateFromError!="function"?null:h.render(),a.flags|=1,n!==null&&l?(a.child=Ni(a,n.child,null,d),a.child=Ni(a,null,r,d)):mt(n,a,r,d),a.memoizedState=h.state,n=a.child):n=ea(n,a,d),n}function Nv(n,a,r,l){return Si(),a.flags|=256,mt(n,a,r,l),a.child}var df={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ff(n){return{baseLanes:n,cachePool:gy()}}function hf(n,a,r){return n=n!==null?n.childLanes&~r:0,a&&(n|=$t),n}function jv(n,a,r){var l=a.pendingProps,d=!1,h=(a.flags&128)!==0,b;if((b=h)||(b=n!==null&&n.memoizedState===null?!1:(Ze.current&2)!==0),b&&(d=!0,a.flags&=-129),b=(a.flags&32)!==0,a.flags&=-33,n===null){if(Ne){if(d?La(a):Ua(),(n=Fe)?(n=Ub(n,dn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:ja!==null?{id:Rn,overflow:kn}:null,retryLane:536870912,hydrationErrors:null},r=oy(n),r.return=a,a.child=r,ht=a,Fe=null)):n=null,n===null)throw Ra(a);return Xf(n)?a.lanes=32:a.lanes=536870912,null}var S=l.children;return l=l.fallback,d?(Ua(),d=a.mode,S=Gl({mode:"hidden",children:S},d),l=xi(l,d,r,null),S.return=a,l.return=a,S.sibling=l,a.child=S,l=a.child,l.memoizedState=ff(r),l.childLanes=hf(n,b,r),a.memoizedState=df,Hr(null,l)):(La(a),pf(a,S))}var N=n.memoizedState;if(N!==null&&(S=N.dehydrated,S!==null)){if(h)a.flags&256?(La(a),a.flags&=-257,a=mf(n,a,r)):a.memoizedState!==null?(Ua(),a.child=n.child,a.flags|=128,a=null):(Ua(),S=l.fallback,d=a.mode,l=Gl({mode:"visible",children:l.children},d),S=xi(S,d,r,null),S.flags|=2,l.return=a,S.return=a,l.sibling=S,a.child=l,Ni(a,n.child,null,r),l=a.child,l.memoizedState=ff(r),l.childLanes=hf(n,b,r),a.memoizedState=df,a=Hr(null,l));else if(La(a),Xf(S)){if(b=S.nextSibling&&S.nextSibling.dataset,b)var O=b.dgst;b=O,l=Error(s(419)),l.stack="",l.digest=b,Rr({value:l,source:null,stack:null}),a=mf(n,a,r)}else if(nt||ys(n,a,r,!1),b=(r&n.childLanes)!==0,nt||b){if(b=Ve,b!==null&&(l=pg(b,r),l!==0&&l!==N.retryLane))throw N.retryLane=l,bi(n,l),Ut(b,n,l),cf;$f(S)||Jl(),a=mf(n,a,r)}else $f(S)?(a.flags|=192,a.child=n.child,a=null):(n=N.treeContext,Fe=hn(S.nextSibling),ht=a,Ne=!0,Ca=null,dn=!1,n!==null&&uy(a,n),a=pf(a,l.children),a.flags|=4096);return a}
vendor: 4,513 bytes, line 8
8return d?(Ua(),S=l.fallback,d=a.mode,N=n.child,O=N.sibling,l=$n(N,{mode:"hidden",children:l.children}),l.subtreeFlags=N.subtreeFlags&65011712,O!==null?S=$n(O,S):(S=xi(S,d,r,null),S.flags|=2),S.return=a,l.return=a,l.sibling=S,a.child=l,Hr(null,l),l=a.child,S=n.child.memoizedState,S===null?S=ff(r):(d=S.cachePool,d!==null?(N=et._currentValue,d=d.parent!==N?{parent:N,pool:N}:d):d=gy(),S={baseLanes:S.baseLanes|r,cachePool:d}),l.memoizedState=S,l.childLanes=hf(n,b,r),a.memoizedState=df,Hr(n.child,l)):(La(a),r=n.child,n=r.sibling,r=$n(r,{mode:"visible",children:l.children}),r.return=a,r.sibling=null,n!==null&&(b=a.deletions,b===null?(a.deletions=[n],a.flags|=16):b.push(n)),a.child=r,a.memoizedState=null,r)}function pf(n,a){return a=Gl({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function Gl(n,a){return n=Gt(22,n,null,a),n.lanes=0,n}function mf(n,a,r){return Ni(a,n.child,null,r),n=pf(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Cv(n,a,r){n.lanes|=a;var l=n.alternate;l!==null&&(l.lanes|=a),Cd(n.return,a,r)}function gf(n,a,r,l,d,h){var b=n.memoizedState;b===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:l,tail:r,tailMode:d,treeForkCount:h}:(b.isBackwards=a,b.rendering=null,b.renderingStartTime=0,b.last=l,b.tail=r,b.tailMode=d,b.treeForkCount=h)}function Rv(n,a,r){var l=a.pendingProps,d=l.revealOrder,h=l.tail;l=l.children;var b=Ze.current,S=(b&2)!==0;if(S?(b=b&1|2,a.flags|=128):b&=1,Y(Ze,b),mt(n,a,l,r),l=Ne?Cr:0,!S&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Cv(n,r,a);else if(n.tag===19)Cv(n,r,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(d){case"forwards":for(r=a.child,d=null;r!==null;)n=r.alternate,n!==null&&Ml(n)===null&&(d=r),r=r.sibling;r=d,r===null?(d=a.child,a.child=null):(d=r.sibling,r.sibling=null),gf(a,!1,d,r,h,l);break;case"backwards":case"unstable_legacy-backwards":for(r=null,d=a.child,a.child=null;d!==null;){if(n=d.alternate,n!==null&&Ml(n)===null){a.child=d;break}n=d.sibling,d.sibling=r,r=d,d=n}gf(a,!0,r,null,h,l);break;case"together":gf(a,!1,null,null,void 0,l);break;default:a.memoizedState=null}return a.child}function ea(n,a,r){if(n!==null&&(a.dependencies=n.dependencies),za|=a.lanes,(r&a.childLanes)===0)if(n!==null){if(ys(n,a,r,!1),(r&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error(s(153));if(a.child!==null){for(n=a.child,r=$n(n,n.pendingProps),a.child=r,r.return=a;n.sibling!==null;)n=n.sibling,r=r.sibling=$n(n,n.pendingProps),r.return=a;r.sibling=null}return a.child}function yf(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&El(n)))}function HA(n,a,r){switch(a.tag){case 3:Le(a,a.stateNode.containerInfo),ka(a,et,n.memoizedState.cache),Si();break;case 27:case 5:an(a);break;case 4:Le(a,a.stateNode.containerInfo);break;case 10:ka(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Vd(a),null;break;case 13:var l=a.memoizedState;if(l!==null)return l.dehydrated!==null?(La(a),a.flags|=128,null):(r&a.child.childLanes)!==0?jv(n,a,r):(La(a),n=ea(n,a,r),n!==null?n.sibling:null);La(a);break;case 19:var d=(n.flags&128)!==0;if(l=(r&a.childLanes)!==0,l||(ys(n,a,r,!1),l=(r&a.childLanes)!==0),d){if(l)return Rv(n,a,r);a.flags|=128}if(d=a.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Y(Ze,Ze.current),l)break;return null;case 22:return a.lanes=0,Tv(n,a,r,a.pendingProps);case 24:ka(a,et,n.memoizedState.cache)}return ea(n,a,r)}function kv(n,a,r){if(n!==null)if(n.memoizedProps!==a.pendingProps)nt=!0;else{if(!yf(n,r)&&(a.flags&128)===0)return nt=!1,HA(n,a,r);nt=(n.flags&131072)!==0}else nt=!1,Ne&&(a.flags&1048576)!==0&&cy(a,Cr,a.index);switch(a.lanes=0,a.tag){case 16:e:{var l=a.pendingProps;if(n=wi(a.elementType),a.type=n,typeof n=="function")Sd(n)?(l=Ci(n,l),a.tag=1,a=Av(null,a,n,l,r)):(a.tag=0,a=uf(null,a,n,l,r));else{if(n!=null){var d=n.$$typeof;if(d===W){a.tag=11,a=bv(null,a,n,l,r);break e}else if(d===H){a.tag=14,a=xv(null,a,n,l,r);break e}}throw a=he(n)||n,Error(s(306,a,""))}}return a;case 0:return uf(n,a,a.type,a.pendingProps,r);case 1:return l=a.type,d=Ci(l,a.pendingProps),Av(n,a,l,d,r);case 3:e:{if(Le(a,a.stateNode.containerInfo),n===null)throw Error(s(387));l=a.pendingProps;var h=a.memoizedState;d=h.element,Ud(n,a),Ir(a,l,null,r);var b=a.memoizedState;
vendor: 5,630 bytes, line 8
8if(l=b.cache,ka(a,et,l),l!==h.cache&&Rd(a,[et],r,!0),Ur(),l=b.element,h.isDehydrated)if(h={element:l,isDehydrated:!1,cache:b.cache},a.updateQueue.baseState=h,a.memoizedState=h,a.flags&256){a=Nv(n,a,l,r);break e}else if(l!==d){d=ln(Error(s(424)),a),Rr(d),a=Nv(n,a,l,r);break e}else for(n=a.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,Fe=hn(n.firstChild),ht=a,Ne=!0,Ca=null,dn=!0,r=Ty(a,null,l,r),a.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Si(),l===d){a=ea(n,a,r);break e}mt(n,a,l,r)}a=a.child}return a;case 26:return ql(n,a),n===null?(r=Hb(a.type,null,a.pendingProps,null))?a.memoizedState=r:Ne||(r=a.type,n=a.pendingProps,l=rc(re.current).createElement(r),l[ft]=a,l[Rt]=n,gt(l,r,n),ct(l),a.stateNode=l):a.memoizedState=Hb(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return an(a),n===null&&Ne&&(l=a.stateNode=zb(a.type,a.pendingProps,re.current),ht=a,dn=!0,d=Fe,Ga(a.type)?(Kf=d,Fe=hn(l.firstChild)):Fe=d),mt(n,a,a.pendingProps.children,r),ql(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&Ne&&((d=l=Fe)&&(l=vN(l,a.type,a.pendingProps,dn),l!==null?(a.stateNode=l,ht=a,Fe=hn(l.firstChild),dn=!1,d=!0):d=!1),d||Ra(a)),an(a),d=a.type,h=a.pendingProps,b=n!==null?n.memoizedProps:null,l=h.children,Ff(d,h)?l=null:b!==null&&Ff(d,b)&&(a.flags|=32),a.memoizedState!==null&&(d=qd(n,a,DA,null,null,r),ao._currentValue=d),ql(n,a),mt(n,a,l,r),a.child;case 6:return n===null&&Ne&&((n=r=Fe)&&(r=bN(r,a.pendingProps,dn),r!==null?(a.stateNode=r,ht=a,Fe=null,n=!0):n=!1),n||Ra(a)),null;case 13:return jv(n,a,r);case 4:return Le(a,a.stateNode.containerInfo),l=a.pendingProps,n===null?a.child=Ni(a,null,l,r):mt(n,a,l,r),a.child;case 11:return bv(n,a,a.type,a.pendingProps,r);case 7:return mt(n,a,a.pendingProps,r),a.child;case 8:return mt(n,a,a.pendingProps.children,r),a.child;case 12:return mt(n,a,a.pendingProps.children,r),a.child;case 10:return l=a.pendingProps,ka(a,a.type,l.value),mt(n,a,l.children,r),a.child;case 9:return d=a.type._context,l=a.pendingProps.children,_i(a),d=pt(d),l=l(d),a.flags|=1,mt(n,a,l,r),a.child;case 14:return xv(n,a,a.type,a.pendingProps,r);case 15:return Sv(n,a,a.type,a.pendingProps,r);case 19:return Rv(n,a,r);case 31:return VA(n,a,r);case 22:return Tv(n,a,r,a.pendingProps);case 24:return _i(a),l=pt(et),n===null?(d=Dd(),d===null&&(d=Ve,h=kd(),d.pooledCache=h,h.refCount++,h!==null&&(d.pooledCacheLanes|=r),d=h),a.memoizedState={parent:l,cache:d},Ld(a),ka(a,et,d)):((n.lanes&r)!==0&&(Ud(n,a),Ir(a,null,null,r),Ur()),d=n.memoizedState,h=a.memoizedState,d.parent!==l?(d={parent:l,cache:l},a.memoizedState=d,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=d),ka(a,et,l)):(l=h.cache,ka(a,et,l),l!==d.cache&&Rd(a,[et],r,!0))),mt(n,a,a.pendingProps.children,r),a.child;case 29:throw a.pendingProps}throw Error(s(156,a.tag))}function ta(n){n.flags|=4}function vf(n,a,r,l,d){if((a=(n.mode&32)!==0)&&(a=!1),a){if(n.flags|=16777216,(d&335544128)===d)if(n.stateNode.complete)n.flags|=8192;else if(ib())n.flags|=8192;else throw Ai=jl,Od}else n.flags&=-16777217}function Mv(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Yb(a))if(ib())n.flags|=8192;else throw Ai=jl,Od}function Fl(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?dg():536870912,n.lanes|=a,Cs|=a)}function qr(n,a){if(!Ne)switch(n.tailMode){case"hidden":a=n.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?n.tail=null:r.sibling=null;break;case"collapsed":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:l.sibling=null}}function We(n){var a=n.alternate!==null&&n.alternate.child===n.child,r=0,l=0;if(a)for(var d=n.child;d!==null;)r|=d.lanes|d.childLanes,l|=d.subtreeFlags&65011712,l|=d.flags&65011712,d.return=n,d=d.sibling;else for(d=n.child;d!==null;)r|=d.lanes|d.childLanes,l|=d.subtreeFlags,l|=d.flags,d.return=n,d=d.sibling;return n.subtreeFlags|=l,n.childLanes=r,a}function qA(n,a,r){var l=a.pendingProps;switch(wd(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(a),null;case 1:return We(a),null;case 3:return r=a.stateNode,l=null,n!==null&&(l=n.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),Qn(et),Me(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(n===null||n.child===null)&&(gs(a)?ta(a):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Nd())),We(a),null;case 26:var d=a.type,h=a.memoizedState;return n===null?(ta(a),h!==null?(We(a),Mv(a,h)):(We(a),vf(a,d,null,l,r))):h?h!==n.memoizedState?(ta(a),We(a),Mv(a,h)):(We(a),a.flags&=-16777217):(n=n.memoizedProps,n!==l&&ta(a),We(a),vf(a,d,n,l,r)),null;case 27:if(fi(a),r=re.current,d=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==l&&ta(a);else{if(!l){if(a.stateNode===null)throw Error(s(166));return We(a),null}n=Q.current,gs(a)?dy(a):(n=zb(d,l,r),a.stateNode=n,ta(a))}return We(a),null;case 5:if(fi(a),d=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==l&&ta(a);else{if(!l){if(a.stateNode===null)throw Error(s(166));return We(a),null}if(h=Q.current,gs(a))dy(a);else{var b=rc(re.current);switch(h){case 1:h=b.createElementNS("http://www.w3.org/2000/svg",d);break;case 2:h=b.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;default:switch(d){case"svg":h=b.createElementNS("http://www.w3.org/2000/svg",d);break;case"math":h=b.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;case"script":h=b.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;
vendor: 25,995 bytes, line 8
8case"select":h=typeof l.is=="string"?b.createElement("select",{is:l.is}):b.createElement("select"),l.multiple?h.multiple=!0:l.size&&(h.size=l.size);break;default:h=typeof l.is=="string"?b.createElement(d,{is:l.is}):b.createElement(d)}}h[ft]=a,h[Rt]=l;e:for(b=a.child;b!==null;){if(b.tag===5||b.tag===6)h.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===a)break e;for(;b.sibling===null;){if(b.return===null||b.return===a)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}a.stateNode=h;e:switch(gt(h,d,l),d){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&ta(a)}}return We(a),vf(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,r),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==l&&ta(a);else{if(typeof l!="string"&&a.stateNode===null)throw Error(s(166));if(n=re.current,gs(a)){if(n=a.stateNode,r=a.memoizedProps,l=null,d=ht,d!==null)switch(d.tag){case 27:case 5:l=d.memoizedProps}n[ft]=a,n=!!(n.nodeValue===r||l!==null&&l.suppressHydrationWarning===!0||jb(n.nodeValue,r)),n||Ra(a,!0)}else n=rc(n).createTextNode(l),n[ft]=a,a.stateNode=n}return We(a),null;case 31:if(r=a.memoizedState,n===null||n.memoizedState!==null){if(l=gs(a),r!==null){if(n===null){if(!l)throw Error(s(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(557));n[ft]=a}else Si(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;We(a),n=!1}else r=Nd(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=r),n=!0;if(!n)return a.flags&256?(Wt(a),a):(Wt(a),null);if((a.flags&128)!==0)throw Error(s(558))}return We(a),null;case 13:if(l=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(d=gs(a),l!==null&&l.dehydrated!==null){if(n===null){if(!d)throw Error(s(318));if(d=a.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(s(317));d[ft]=a}else Si(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;We(a),d=!1}else d=Nd(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=d),d=!0;if(!d)return a.flags&256?(Wt(a),a):(Wt(a),null)}return Wt(a),(a.flags&128)!==0?(a.lanes=r,a):(r=l!==null,n=n!==null&&n.memoizedState!==null,r&&(l=a.child,d=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(d=l.alternate.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==d&&(l.flags|=2048)),r!==n&&r&&(a.child.flags|=8192),Fl(a,a.updateQueue),We(a),null);case 4:return Me(),n===null&&Pf(a.stateNode.containerInfo),We(a),null;case 10:return Qn(a.type),We(a),null;case 19:if(z(Ze),l=a.memoizedState,l===null)return We(a),null;if(d=(a.flags&128)!==0,h=l.rendering,h===null)if(d)qr(l,!1);else{if(Ke!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(h=Ml(n),h!==null){for(a.flags|=128,qr(l,!1),n=h.updateQueue,a.updateQueue=n,Fl(a,n),a.subtreeFlags=0,n=r,r=a.child;r!==null;)ry(r,n),r=r.sibling;return Y(Ze,Ze.current&1|2),Ne&&Xn(a,l.treeForkCount),a.child}n=n.sibling}l.tail!==null&&Pt()>Kl&&(a.flags|=128,d=!0,qr(l,!1),a.lanes=4194304)}else{if(!d)if(n=Ml(h),n!==null){if(a.flags|=128,d=!0,n=n.updateQueue,a.updateQueue=n,Fl(a,n),qr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!h.alternate&&!Ne)return We(a),null}else 2*Pt()-l.renderingStartTime>Kl&&r!==536870912&&(a.flags|=128,d=!0,qr(l,!1),a.lanes=4194304);l.isBackwards?(h.sibling=a.child,a.child=h):(n=l.last,n!==null?n.sibling=h:a.child=h,l.last=h)}return l.tail!==null?(n=l.tail,l.rendering=n,l.tail=n.sibling,l.renderingStartTime=Pt(),n.sibling=null,r=Ze.current,Y(Ze,d?r&1|2:r&1),Ne&&Xn(a,l.treeForkCount),n):(We(a),null);case 22:case 23:return Wt(a),Pd(),l=a.memoizedState!==null,n!==null?n.memoizedState!==null!==l&&(a.flags|=8192):l&&(a.flags|=8192),l?(r&536870912)!==0&&(a.flags&128)===0&&(We(a),a.subtreeFlags&6&&(a.flags|=8192)):We(a),r=a.updateQueue,r!==null&&Fl(a,r.retryQueue),r=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==r&&(a.flags|=2048),n!==null&&z(Ei),null;case 24:return r=null,n!==null&&(r=n.memoizedState.cache),a.memoizedState.cache!==r&&(a.flags|=2048),Qn(et),We(a),null;case 25:return null;case 30:return null}throw Error(s(156,a.tag))}function GA(n,a){switch(wd(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return Qn(et),Me(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return fi(a),null;case 31:if(a.memoizedState!==null){if(Wt(a),a.alternate===null)throw Error(s(340));Si()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(Wt(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(s(340));Si()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return z(Ze),null;case 4:return Me(),null;case 10:return Qn(a.type),null;case 22:case 23:return Wt(a),Pd(),n!==null&&z(Ei),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return Qn(et),null;case 25:return null;default:return null}}function Dv(n,a){switch(wd(a),a.tag){case 3:Qn(et),Me();break;case 26:case 27:case 5:fi(a);break;case 4:Me();break;case 31:a.memoizedState!==null&&Wt(a);break;case 13:Wt(a);break;case 19:z(Ze);break;case 10:Qn(a.type);break;case 22:case 23:Wt(a),Pd(),n!==null&&z(Ei);break;case 24:Qn(et)}}function Gr(n,a){try{var r=a.updateQueue,l=r!==null?r.lastEffect:null;if(l!==null){var d=l.next;r=d;do{if((r.tag&n)===n){l=void 0;var h=r.create,b=r.inst;l=h(),b.destroy=l}r=r.next}while(r!==d)}}catch(S){Ie(a,a.return,S)}}function Ia(n,a,r){try{var l=a.updateQueue,d=l!==null?l.lastEffect:null;if(d!==null){var h=d.next;l=h;do{if((l.tag&n)===n){var b=l.inst,S=b.destroy;if(S!==void 0){b.destroy=void 0,d=a;var N=r,O=S;try{O()}catch(P){Ie(d,N,P)}}}l=l.next}while(l!==h)}}catch(P){Ie(a,a.return,P)}}function Ov(n){var a=n.updateQueue;if(a!==null){var r=n.stateNode;try{Ey(a,r)}catch(l){Ie(n,n.return,l)}}}function Lv(n,a,r){r.props=Ci(n.type,n.memoizedProps),r.state=n.memoizedState;try{r.componentWillUnmount()}catch(l){Ie(n,a,l)}}function Fr(n,a){try{var r=n.ref;if(r!==null){switch(n.tag){case 26:case 27:case 5:var l=n.stateNode;break;case 30:l=n.stateNode;break;default:l=n.stateNode}typeof r=="function"?n.refCleanup=r(l):r.current=l}}catch(d){Ie(n,a,d)}}function Mn(n,a){var r=n.ref,l=n.refCleanup;if(r!==null)if(typeof l=="function")try{l()}catch(d){Ie(n,a,d)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(d){Ie(n,a,d)}else r.current=null}function Uv(n){var a=n.type,r=n.memoizedProps,l=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":r.autoFocus&&l.focus();break e;case"img":r.src?l.src=r.src:r.srcSet&&(l.srcset=r.srcSet)}}catch(d){Ie(n,n.return,d)}}function bf(n,a,r){try{var l=n.stateNode;fN(l,n.type,r,a),l[Rt]=a}catch(d){Ie(n,n.return,d)}}function Iv(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ga(n.type)||n.tag===4}function xf(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Iv(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Ga(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Sf(n,a,r){var l=n.tag;if(l===5||l===6)n=n.stateNode,a?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(n,a):(a=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,a.appendChild(n),r=r._reactRootContainer,r!=null||a.onclick!==null||(a.onclick=Wn));else if(l!==4&&(l===27&&Ga(n.type)&&(r=n.stateNode,a=null),n=n.child,n!==null))for(Sf(n,a,r),n=n.sibling;n!==null;)Sf(n,a,r),n=n.sibling}function Wl(n,a,r){var l=n.tag;if(l===5||l===6)n=n.stateNode,a?r.insertBefore(n,a):r.appendChild(n);else if(l!==4&&(l===27&&Ga(n.type)&&(r=n.stateNode),n=n.child,n!==null))for(Wl(n,a,r),n=n.sibling;n!==null;)Wl(n,a,r),n=n.sibling}function Bv(n){var a=n.stateNode,r=n.memoizedProps;try{for(var l=n.type,d=a.attributes;d.length;)a.removeAttributeNode(d[0]);gt(a,l,r),a[ft]=n,a[Rt]=r}catch(h){Ie(n,n.return,h)}}var na=!1,at=!1,Tf=!1,zv=typeof WeakSet=="function"?WeakSet:Set,ut=null;function FA(n,a){if(n=n.containerInfo,qf=hc,n=Qg(n),pd(n)){if("selectionStart"in n)var r={start:n.selectionStart,end:n.selectionEnd};else e:{r=(r=n.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var d=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{r.nodeType,h.nodeType}catch{r=null;break e}var b=0,S=-1,N=-1,O=0,P=0,G=n,L=null;t:for(;;){for(var B;G!==r||d!==0&&G.nodeType!==3||(S=b+d),G!==h||l!==0&&G.nodeType!==3||(N=b+l),G.nodeType===3&&(b+=G.nodeValue.length),(B=G.firstChild)!==null;)L=G,G=B;for(;;){if(G===n)break t;if(L===r&&++O===d&&(S=b),L===h&&++P===l&&(N=b),(B=G.nextSibling)!==null)break;G=L,L=G.parentNode}G=B}r=S===-1||N===-1?null:{start:S,end:N}}else r=null}r=r||{start:0,end:0}}else r=null;for(Gf={focusedElem:n,selectionRange:r},hc=!1,ut=a;ut!==null;)if(a=ut,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,ut=n;else for(;ut!==null;){switch(a=ut,h=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(r=0;r<n.length;r++)d=n[r],d.ref.impl=d.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&h!==null){n=void 0,r=a,d=h.memoizedProps,h=h.memoizedState,l=r.stateNode;try{var te=Ci(r.type,d);n=l.getSnapshotBeforeUpdate(te,h),l.__reactInternalSnapshotBeforeUpdate=n}catch(ce){Ie(r,r.return,ce)}}break;case 3:if((n&1024)!==0){if(n=a.stateNode.containerInfo,r=n.nodeType,r===9)Yf(n);else if(r===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Yf(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(s(163))}if(n=a.sibling,n!==null){n.return=a.return,ut=n;break}ut=a.return}}function Pv(n,a,r){var l=r.flags;switch(r.tag){case 0:case 11:case 15:ia(n,r),l&4&&Gr(5,r);break;case 1:if(ia(n,r),l&4)if(n=r.stateNode,a===null)try{n.componentDidMount()}catch(b){Ie(r,r.return,b)}else{var d=Ci(r.type,a.memoizedProps);a=a.memoizedState;try{n.componentDidUpdate(d,a,n.__reactInternalSnapshotBeforeUpdate)}catch(b){Ie(r,r.return,b)}}l&64&&Ov(r),l&512&&Fr(r,r.return);break;case 3:if(ia(n,r),l&64&&(n=r.updateQueue,n!==null)){if(a=null,r.child!==null)switch(r.child.tag){case 27:case 5:a=r.child.stateNode;break;case 1:a=r.child.stateNode}try{Ey(n,a)}catch(b){Ie(r,r.return,b)}}break;case 27:a===null&&l&4&&Bv(r);case 26:case 5:ia(n,r),a===null&&l&4&&Uv(r),l&512&&Fr(r,r.return);break;case 12:ia(n,r);break;case 31:ia(n,r),l&4&&qv(n,r);break;case 13:ia(n,r),l&4&&Gv(n,r),l&64&&(n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(r=eN.bind(null,r),xN(n,r))));break;case 22:if(l=r.memoizedState!==null||na,!l){a=a!==null&&a.memoizedState!==null||at,d=na;var h=at;na=l,(at=a)&&!h?sa(n,r,(r.subtreeFlags&8772)!==0):ia(n,r),na=d,at=h}break;case 30:break;default:ia(n,r)}}function Vv(n){var a=n.alternate;a!==null&&(n.alternate=null,Vv(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Qu(a)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Ye=null,Mt=!1;function aa(n,a,r){for(r=r.child;r!==null;)Hv(n,a,r),r=r.sibling}function Hv(n,a,r){if(Vt&&typeof Vt.onCommitFiberUnmount=="function")try{Vt.onCommitFiberUnmount(mr,r)}catch{}switch(r.tag){case 26:at||Mn(r,a),aa(n,a,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:at||Mn(r,a);var l=Ye,d=Mt;Ga(r.type)&&(Ye=r.stateNode,Mt=!1),aa(n,a,r),eo(r.stateNode),Ye=l,Mt=d;break;case 5:at||Mn(r,a);case 6:if(l=Ye,d=Mt,Ye=null,aa(n,a,r),Ye=l,Mt=d,Ye!==null)if(Mt)try{(Ye.nodeType===9?Ye.body:Ye.nodeName==="HTML"?Ye.ownerDocument.body:Ye).removeChild(r.stateNode)}catch(h){Ie(r,a,h)}else try{Ye.removeChild(r.stateNode)}catch(h){Ie(r,a,h)}break;case 18:Ye!==null&&(Mt?(n=Ye,Ob(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,r.stateNode),Is(n)):Ob(Ye,r.stateNode));break;case 4:l=Ye,d=Mt,Ye=r.stateNode.containerInfo,Mt=!0,aa(n,a,r),Ye=l,Mt=d;break;case 0:case 11:case 14:case 15:Ia(2,r,a),at||Ia(4,r,a),aa(n,a,r);break;case 1:at||(Mn(r,a),l=r.stateNode,typeof l.componentWillUnmount=="function"&&Lv(r,a,l)),aa(n,a,r);break;case 21:aa(n,a,r);break;case 22:at=(l=at)||r.memoizedState!==null,aa(n,a,r),at=l;break;default:aa(n,a,r)}}function qv(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Is(n)}catch(r){Ie(a,a.return,r)}}}function Gv(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Is(n)}catch(r){Ie(a,a.return,r)}}function WA(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new zv),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new zv),a;default:throw Error(s(435,n.tag))}}function Yl(n,a){var r=WA(n);a.forEach(function(l){if(!r.has(l)){r.add(l);var d=tN.bind(null,n,l);l.then(d,d)}})}function Dt(n,a){var r=a.deletions;if(r!==null)for(var l=0;l<r.length;l++){var d=r[l],h=n,b=a,S=b;e:for(;S!==null;){switch(S.tag){case 27:if(Ga(S.type)){Ye=S.stateNode,Mt=!1;break e}break;case 5:Ye=S.stateNode,Mt=!1;break e;case 3:case 4:Ye=S.stateNode.containerInfo,Mt=!0;break e}S=S.return}if(Ye===null)throw Error(s(160));Hv(h,b,d),Ye=null,Mt=!1,h=d.alternate,h!==null&&(h.return=null),d.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Fv(a,n),a=a.sibling}var Tn=null;function Fv(n,a){var r=n.alternate,l=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Dt(a,n),Ot(n),l&4&&(Ia(3,n,n.return),Gr(3,n),Ia(5,n,n.return));break;case 1:Dt(a,n),Ot(n),l&512&&(at||r===null||Mn(r,r.return)),l&64&&na&&(n=n.updateQueue,n!==null&&(l=n.callbacks,l!==null&&(r=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=r===null?l:r.concat(l))));break;case 26:var d=Tn;if(Dt(a,n),Ot(n),l&512&&(at||r===null||Mn(r,r.return)),l&4){var h=r!==null?r.memoizedState:null;if(l=n.memoizedState,r===null)if(l===null)if(n.stateNode===null){e:{l=n.type,r=n.memoizedProps,d=d.ownerDocument||d;t:switch(l){case"title":h=d.getElementsByTagName("title")[0],(!h||h[vr]||h[ft]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=d.createElement(l),d.head.insertBefore(h,d.querySelector("head > title"))),gt(h,l,r),h[ft]=n,ct(h),l=h;break e;case"link":var b=Fb("link","href",d).get(l+(r.href||""));if(b){for(var S=0;S<b.length;S++)if(h=b[S],h.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&h.getAttribute("rel")===(r.rel==null?null:r.rel)&&h.getAttribute("title")===(r.title==null?null:r.title)&&h.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){b.splice(S,1);break t}}h=d.createElement(l),gt(h,l,r),d.head.appendChild(h);break;case"meta":if(b=Fb("meta","content",d).get(l+(r.content||""))){for(S=0;S<b.length;S++)if(h=b[S],h.getAttribute("content")===(r.content==null?null:""+r.content)&&h.getAttribute("name")===(r.name==null?null:r.name)&&h.getAttribute("property")===(r.property==null?null:r.property)&&h.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&h.getAttribute("charset")===(r.charSet==null?null:r.charSet)){b.splice(S,1);break t}}h=d.createElement(l),gt(h,l,r),d.head.appendChild(h);break;default:throw Error(s(468,l))}h[ft]=n,ct(h),l=h}n.stateNode=l}else Wb(d,n.type,n.stateNode);else n.stateNode=Gb(d,l,n.memoizedProps);else h!==l?(h===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):h.count--,l===null?Wb(d,n.type,n.stateNode):Gb(d,l,n.memoizedProps)):l===null&&n.stateNode!==null&&bf(n,n.memoizedProps,r.memoizedProps)}break;case 27:Dt(a,n),Ot(n),l&512&&(at||r===null||Mn(r,r.return)),r!==null&&l&4&&bf(n,n.memoizedProps,r.memoizedProps);break;case 5:if(Dt(a,n),Ot(n),l&512&&(at||r===null||Mn(r,r.return)),n.flags&32){d=n.stateNode;try{rs(d,"")}catch(te){Ie(n,n.return,te)}}l&4&&n.stateNode!=null&&(d=n.memoizedProps,bf(n,d,r!==null?r.memoizedProps:d)),l&1024&&(Tf=!0);break;case 6:if(Dt(a,n),Ot(n),l&4){if(n.stateNode===null)throw Error(s(162));l=n.memoizedProps,r=n.stateNode;try{r.nodeValue=l}catch(te){Ie(n,n.return,te)}}break;case 3:if(cc=null,d=Tn,Tn=oc(a.containerInfo),Dt(a,n),Tn=d,Ot(n),l&4&&r!==null&&r.memoizedState.isDehydrated)try{Is(a.containerInfo)}catch(te){Ie(n,n.return,te)}Tf&&(Tf=!1,Wv(n));break;case 4:l=Tn,Tn=oc(n.stateNode.containerInfo),Dt(a,n),Ot(n),Tn=l;break;case 12:Dt(a,n),Ot(n);break;case 31:Dt(a,n),Ot(n),l&4&&(l=n.updateQueue,l!==null&&(n.updateQueue=null,Yl(n,l)));break;case 13:Dt(a,n),Ot(n),n.child.flags&8192&&n.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Xl=Pt()),l&4&&(l=n.updateQueue,l!==null&&(n.updateQueue=null,Yl(n,l)));break;case 22:d=n.memoizedState!==null;var N=r!==null&&r.memoizedState!==null,O=na,P=at;if(na=O||d,at=P||N,Dt(a,n),at=P,na=O,Ot(n),l&8192)e:for(a=n.stateNode,a._visibility=d?a._visibility&-2:a._visibility|1,d&&(r===null||N||na||at||Ri(n)),r=null,a=n;;){if(a.tag===5||a.tag===26){if(r===null){N=r=a;try{if(h=N.stateNode,d)b=h.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{S=N.stateNode;var G=N.memoizedProps.style,L=G!=null&&G.hasOwnProperty("display")?G.display:null;S.style.display=L==null||typeof L=="boolean"?"":(""+L).trim()}}catch(te){Ie(N,N.return,te)}}}else if(a.tag===6){if(r===null){N=a;try{N.stateNode.nodeValue=d?"":N.memoizedProps}catch(te){Ie(N,N.return,te)}}}else if(a.tag===18){if(r===null){N=a;try{var B=N.stateNode;d?Lb(B,!0):Lb(N.stateNode,!1)}catch(te){Ie(N,N.return,te)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;r===a&&(r=null),a=a.return}r===a&&(r=null),a.sibling.return=a.return,a=a.sibling}l&4&&(l=n.updateQueue,l!==null&&(r=l.retryQueue,r!==null&&(l.retryQueue=null,Yl(n,r))));break;case 19:Dt(a,n),Ot(n),l&4&&(l=n.updateQueue,l!==null&&(n.updateQueue=null,Yl(n,l)));break;case 30:break;case 21:break;default:Dt(a,n),Ot(n)}}function Ot(n){var a=n.flags;if(a&2){try{for(var r,l=n.return;l!==null;){if(Iv(l)){r=l;break}l=l.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var d=r.stateNode,h=xf(n);Wl(n,h,d);break;case 5:var b=r.stateNode;r.flags&32&&(rs(b,""),r.flags&=-33);var S=xf(n);Wl(n,S,b);break;case 3:case 4:var N=r.stateNode.containerInfo,O=xf(n);Sf(n,O,N);break;default:throw Error(s(161))}}catch(P){Ie(n,n.return,P)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function Wv(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;Wv(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function ia(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Pv(n,a.alternate,a),a=a.sibling}function Ri(n){for(n=n.child;n!==null;){var a=n;switch(a.tag){case 0:case 11:case 14:case 15:Ia(4,a,a.return),Ri(a);break;case 1:Mn(a,a.return);var r=a.stateNode;typeof r.componentWillUnmount=="function"&&Lv(a,a.return,r),Ri(a);break;case 27:eo(a.stateNode);case 26:case 5:Mn(a,a.return),Ri(a);break;case 22:a.memoizedState===null&&Ri(a);break;case 30:Ri(a);break;default:Ri(a)}n=n.sibling}}function sa(n,a,r){for(r=r&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var l=a.alternate,d=n,h=a,b=h.flags;switch(h.tag){case 0:case 11:case 15:sa(d,h,r),Gr(4,h);break;case 1:if(sa(d,h,r),l=h,d=l.stateNode,typeof d.componentDidMount=="function")try{d.componentDidMount()}catch(O){Ie(l,l.return,O)}if(l=h,d=l.updateQueue,d!==null){var S=l.stateNode;try{var N=d.shared.hiddenCallbacks;if(N!==null)for(d.shared.hiddenCallbacks=null,d=0;d<N.length;d++)_y(N[d],S)}catch(O){Ie(l,l.return,O)}}r&&b&64&&Ov(h),Fr(h,h.return);break;case 27:Bv(h);case 26:case 5:sa(d,h,r),r&&l===null&&b&4&&Uv(h),Fr(h,h.return);break;case 12:sa(d,h,r);break;case 31:sa(d,h,r),r&&b&4&&qv(d,h);break;case 13:sa(d,h,r),r&&b&4&&Gv(d,h);break;case 22:h.memoizedState===null&&sa(d,h,r),Fr(h,h.return);break;case 30:break;default:sa(d,h,r)}a=a.sibling}}function _f(n,a){var r=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==r&&(n!=null&&n.refCount++,r!=null&&kr(r))}function Ef(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&kr(n))}function _n(n,a,r,l){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Yv(n,a,r,l),a=a.sibling}function Yv(n,a,r,l){var d=a.flags;switch(a.tag){case 0:case 11:case 15:_n(n,a,r,l),d&2048&&Gr(9,a);break;case 1:_n(n,a,r,l);break;case 3:_n(n,a,r,l),d&2048&&(n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&kr(n)));break;case 12:if(d&2048){_n(n,a,r,l),n=a.stateNode;try{var h=a.memoizedProps,b=h.id,S=h.onPostCommit;typeof S=="function"&&S(b,a.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(N){Ie(a,a.return,N)}}else _n(n,a,r,l);break;case 31:_n(n,a,r,l);break;case 13:_n(n,a,r,l);break;case 23:break;case 22:h=a.stateNode,b=a.alternate,a.memoizedState!==null?h._visibility&2?_n(n,a,r,l):Wr(n,a):h._visibility&2?_n(n,a,r,l):(h._visibility|=2,As(n,a,r,l,(a.subtreeFlags&10256)!==0||!1)),d&2048&&_f(b,a);break;case 24:_n(n,a,r,l),d&2048&&Ef(a.alternate,a);break;default:_n(n,a,r,l)}}function As(n,a,r,l,d){for(d=d&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var h=n,b=a,S=r,N=l,O=b.flags;switch(b.tag){case 0:case 11:case 15:As(h,b,S,N,d),Gr(8,b);break;case 23:break;case 22:var P=b.stateNode;b.memoizedState!==null?P._visibility&2?As(h,b,S,N,d):Wr(h,b):(P._visibility|=2,As(h,b,S,N,d)),d&&O&2048&&_f(b.alternate,b);break;case 24:As(h,b,S,N,d),d&&O&2048&&Ef(b.alternate,b);break;default:As(h,b,S,N,d)}a=a.sibling}}function Wr(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var r=n,l=a,d=l.flags;switch(l.tag){case 22:Wr(r,l),d&2048&&_f(l.alternate,l);break;case 24:Wr(r,l),d&2048&&Ef(l.alternate,l);break;default:Wr(r,l)}a=a.sibling}}var Yr=8192;function Ns(n,a,r){if(n.subtreeFlags&Yr)for(n=n.child;n!==null;)$v(n,a,r),n=n.sibling}function $v(n,a,r){switch(n.tag){case 26:Ns(n,a,r),n.flags&Yr&&n.memoizedState!==null&&MN(r,Tn,n.memoizedState,n.memoizedProps);break;case 5:Ns(n,a,r);break;case 3:case 4:var l=Tn;Tn=oc(n.stateNode.containerInfo),Ns(n,a,r),Tn=l;break;case 22:n.memoizedState===null&&(l=n.alternate,l!==null&&l.memoizedState!==null?(l=Yr,Yr=16777216,Ns(n,a,r),Yr=l):Ns(n,a,r));break;default:Ns(n,a,r)}}function Xv(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function $r(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var r=0;r<a.length;r++){var l=a[r];ut=l,Qv(l,n)}Xv(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Kv(n),n=n.sibling}function Kv(n){switch(n.tag){case 0:case 11:case 15:$r(n),n.flags&2048&&Ia(9,n,n.return);break;case 3:$r(n);break;case 12:$r(n);break;case 22:var a=n.stateNode;n.memoizedState!==null&&a._visibility&2&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,$l(n)):$r(n);break;default:$r(n)}}function $l(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var r=0;r<a.length;r++){var l=a[r];ut=l,Qv(l,n)}Xv(n)}for(n=n.child;n!==null;){switch(a=n,a.tag){case 0:case 11:case 15:Ia(8,a,a.return),$l(a);break;case 22:r=a.stateNode,r._visibility&2&&(r._visibility&=-3,$l(a));break;default:$l(a)}n=n.sibling}}function Qv(n,a){for(;ut!==null;){var r=ut;switch(r.tag){case 0:case 11:case 15:Ia(8,r,a);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var l=r.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:kr(r.memoizedState.cache)}if(l=r.child,l!==null)l.return=r,ut=l;else e:for(r=n;ut!==null;){l=ut;var d=l.sibling,h=l.return;if(Vv(l),l===r){ut=null;break e}if(d!==null){d.return=h,ut=d;break e}ut=h}}}var YA={getCacheForType:function(n){var a=pt(et),r=a.data.get(n);return r===void 0&&(r=n(),a.data.set(n,r)),r},cacheSignal:function(){return pt(et).controller.signal}},$A=typeof WeakMap=="function"?WeakMap:Map,De=0,Ve=null,Te=null,we=0,Ue=0,Yt=null,Ba=!1,js=!1,wf=!1,ra=0,Ke=0,za=0,ki=0,Af=0,$t=0,Cs=0,Xr=null,Lt=null,Nf=!1,Xl=0,Zv=0,Kl=1/0,Ql=null,Pa=null,rt=0,Va=null,Rs=null,oa=0,jf=0,Cf=null,Jv=null,Kr=0,Rf=null;function Xt(){return(De&2)!==0&&we!==0?we&-we:U.T!==null?Uf():mg()}function eb(){if($t===0)if((we&536870912)===0||Ne){var n=sl;sl<<=1,(sl&3932160)===0&&(sl=262144),$t=n}else $t=536870912;return n=Ft.current,n!==null&&(n.flags|=32),$t}function Ut(n,a,r){(n===Ve&&(Ue===2||Ue===9)||n.cancelPendingCommit!==null)&&(ks(n,0),Ha(n,we,$t,!1)),yr(n,r),((De&2)===0||n!==Ve)&&(n===Ve&&((De&2)===0&&(ki|=r),Ke===4&&Ha(n,we,$t,!1)),Dn(n))}function tb(n,a,r){if((De&6)!==0)throw Error(s(327));var l=!r&&(a&127)===0&&(a&n.expiredLanes)===0||gr(n,a),d=l?QA(n,a):Mf(n,a,!0),h=l;do{if(d===0){js&&!l&&Ha(n,a,0,!1);break}else{if(r=n.current.alternate,h&&!XA(r)){d=Mf(n,a,!1),h=!1;continue}if(d===2){if(h=a,n.errorRecoveryDisabledLanes&h)var b=0;else b=n.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){a=b;e:{var S=n;d=Xr;var N=S.current.memoizedState.isDehydrated;if(N&&(ks(S,b).flags|=256),b=Mf(S,b,!1),b!==2){if(wf&&!N){S.errorRecoveryDisabledLanes|=h,ki|=h,d=4;break e}h=Lt,Lt=d,h!==null&&(Lt===null?Lt=h:Lt.push.apply(Lt,h))}d=b}if(h=!1,d!==2)continue}}if(d===1){ks(n,0),Ha(n,a,0,!0);break}e:{switch(l=n,h=d,h){case 0:case 1:throw Error(s(345));case 4:if((a&4194048)!==a)break;case 6:Ha(l,a,$t,!Ba);break e;case 2:Lt=null;break;case 3:case 5:break;default:throw Error(s(329))}if((a&62914560)===a&&(d=Xl+300-Pt(),10<d)){if(Ha(l,a,$t,!Ba),ol(l,0,!0)!==0)break e;
vendor: 4,213 bytes, line 8
8oa=a,l.timeoutHandle=Mb(nb.bind(null,l,r,Lt,Ql,Nf,a,$t,ki,Cs,Ba,h,"Throttled",-0,0),d);break e}nb(l,r,Lt,Ql,Nf,a,$t,ki,Cs,Ba,h,null,-0,0)}}break}while(!0);Dn(n)}function nb(n,a,r,l,d,h,b,S,N,O,P,G,L,B){if(n.timeoutHandle=-1,G=a.subtreeFlags,G&8192||(G&16785408)===16785408){G={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Wn},$v(a,h,G);var te=(h&62914560)===h?Xl-Pt():(h&4194048)===h?Zv-Pt():0;if(te=DN(G,te),te!==null){oa=h,n.cancelPendingCommit=te(ub.bind(null,n,a,h,r,l,d,b,S,N,P,G,null,L,B)),Ha(n,h,b,!O);return}}ub(n,a,h,r,l,d,b,S,N)}function XA(n){for(var a=n;;){var r=a.tag;if((r===0||r===11||r===15)&&a.flags&16384&&(r=a.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var l=0;l<r.length;l++){var d=r[l],h=d.getSnapshot;d=d.value;try{if(!qt(h(),d))return!1}catch{return!1}}if(r=a.child,a.subtreeFlags&16384&&r!==null)r.return=a,a=r;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ha(n,a,r,l){a&=~Af,a&=~ki,n.suspendedLanes|=a,n.pingedLanes&=~a,l&&(n.warmLanes|=a),l=n.expirationTimes;for(var d=a;0<d;){var h=31-Ht(d),b=1<<h;l[h]=-1,d&=~b}r!==0&&fg(n,r,a)}function Zl(){return(De&6)===0?(Qr(0),!1):!0}function kf(){if(Te!==null){if(Ue===0)var n=Te.return;else n=Te,Kn=Ti=null,Wd(n),Ss=null,Dr=0,n=Te;for(;n!==null;)Dv(n.alternate,n),n=n.return;Te=null}}function ks(n,a){var r=n.timeoutHandle;r!==-1&&(n.timeoutHandle=-1,mN(r)),r=n.cancelPendingCommit,r!==null&&(n.cancelPendingCommit=null,r()),oa=0,kf(),Ve=n,Te=r=$n(n.current,null),we=a,Ue=0,Yt=null,Ba=!1,js=gr(n,a),wf=!1,Cs=$t=Af=ki=za=Ke=0,Lt=Xr=null,Nf=!1,(a&8)!==0&&(a|=a&32);var l=n.entangledLanes;if(l!==0)for(n=n.entanglements,l&=a;0<l;){var d=31-Ht(l),h=1<<d;a|=n[d],l&=~h}return ra=a,bl(),r}function ab(n,a){be=null,U.H=Vr,a===xs||a===Nl?(a=by(),Ue=3):a===Od?(a=by(),Ue=4):Ue=a===cf?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Yt=a,Te===null&&(Ke=1,Vl(n,ln(a,n.current)))}function ib(){var n=Ft.current;return n===null?!0:(we&4194048)===we?fn===null:(we&62914560)===we||(we&536870912)!==0?n===fn:!1}function sb(){var n=U.H;return U.H=Vr,n===null?Vr:n}function rb(){var n=U.A;return U.A=YA,n}function Jl(){Ke=4,Ba||(we&4194048)!==we&&Ft.current!==null||(js=!0),(za&134217727)===0&&(ki&134217727)===0||Ve===null||Ha(Ve,we,$t,!1)}function Mf(n,a,r){var l=De;De|=2;var d=sb(),h=rb();(Ve!==n||we!==a)&&(Ql=null,ks(n,a)),a=!1;var b=Ke;e:do try{if(Ue!==0&&Te!==null){var S=Te,N=Yt;switch(Ue){case 8:kf(),b=6;break e;case 3:case 2:case 9:case 6:Ft.current===null&&(a=!0);var O=Ue;if(Ue=0,Yt=null,Ms(n,S,N,O),r&&js){b=0;break e}break;default:O=Ue,Ue=0,Yt=null,Ms(n,S,N,O)}}KA(),b=Ke;break}catch(P){ab(n,P)}while(!0);return a&&n.shellSuspendCounter++,Kn=Ti=null,De=l,U.H=d,U.A=h,Te===null&&(Ve=null,we=0,bl()),b}function KA(){for(;Te!==null;)ob(Te)}function QA(n,a){var r=De;De|=2;var l=sb(),d=rb();Ve!==n||we!==a?(Ql=null,Kl=Pt()+500,ks(n,a)):js=gr(n,a);e:do try{if(Ue!==0&&Te!==null){a=Te;var h=Yt;t:switch(Ue){case 1:Ue=0,Yt=null,Ms(n,a,h,1);break;case 2:case 9:if(yy(h)){Ue=0,Yt=null,lb(a);break}a=function(){Ue!==2&&Ue!==9||Ve!==n||(Ue=7),Dn(n)},h.then(a,a);break e;case 3:Ue=7;break e;case 4:Ue=5;break e;case 7:yy(h)?(Ue=0,Yt=null,lb(a)):(Ue=0,Yt=null,Ms(n,a,h,7));break;case 5:var b=null;switch(Te.tag){case 26:b=Te.memoizedState;case 5:case 27:var S=Te;if(b?Yb(b):S.stateNode.complete){Ue=0,Yt=null;var N=S.sibling;if(N!==null)Te=N;else{var O=S.return;O!==null?(Te=O,ec(O)):Te=null}break t}}Ue=0,Yt=null,Ms(n,a,h,5);break;case 6:Ue=0,Yt=null,Ms(n,a,h,6);break;case 8:kf(),Ke=6;break e;default:throw Error(s(462))}}ZA();break}catch(P){ab(n,P)}while(!0);return Kn=Ti=null,U.H=l,U.A=d,De=r,Te!==null?0:(Ve=null,we=0,bl(),Ke)}function ZA(){for(;Te!==null&&!Sw();)ob(Te)}function ob(n){var a=kv(n.alternate,n,ra);n.memoizedProps=n.pendingProps,a===null?ec(n):Te=a}function lb(n){var a=n,r=a.alternate;switch(a.tag){case 15:case 0:a=wv(r,a,a.pendingProps,a.type,void 0,we);break;case 11:a=wv(r,a,a.pendingProps,a.type.render,a.ref,we);break;case 5:Wd(a);default:Dv(r,a),a=Te=ry(a,ra),a=kv(r,a,ra)}n.memoizedProps=n.pendingProps,a===null?ec(n):Te=a}
vendor: 1,906 bytes, line 8
8function Ms(n,a,r,l){Kn=Ti=null,Wd(a),Ss=null,Dr=0;var d=a.return;try{if(PA(n,d,a,r,we)){Ke=1,Vl(n,ln(r,n.current)),Te=null;return}}catch(h){if(d!==null)throw Te=d,h;Ke=1,Vl(n,ln(r,n.current)),Te=null;return}a.flags&32768?(Ne||l===1?n=!0:js||(we&536870912)!==0?n=!1:(Ba=n=!0,(l===2||l===9||l===3||l===6)&&(l=Ft.current,l!==null&&l.tag===13&&(l.flags|=16384))),cb(a,n)):ec(a)}function ec(n){var a=n;do{if((a.flags&32768)!==0){cb(a,Ba);return}n=a.return;var r=qA(a.alternate,a,ra);if(r!==null){Te=r;return}if(a=a.sibling,a!==null){Te=a;return}Te=a=n}while(a!==null);Ke===0&&(Ke=5)}function cb(n,a){do{var r=GA(n.alternate,n);if(r!==null){r.flags&=32767,Te=r;return}if(r=n.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!a&&(n=n.sibling,n!==null)){Te=n;return}Te=n=r}while(n!==null);Ke=6,Te=null}function ub(n,a,r,l,d,h,b,S,N){n.cancelPendingCommit=null;do tc();while(rt!==0);if((De&6)!==0)throw Error(s(327));if(a!==null){if(a===n.current)throw Error(s(177));if(h=a.lanes|a.childLanes,h|=bd,kw(n,r,h,b,S,N),n===Ve&&(Te=Ve=null,we=0),Rs=a,Va=n,oa=r,jf=h,Cf=d,Jv=l,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,nN(al,function(){return mb(),null})):(n.callbackNode=null,n.callbackPriority=0),l=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||l){l=U.T,U.T=null,d=F.p,F.p=2,b=De,De|=4;try{FA(n,a,r)}finally{De=b,F.p=d,U.T=l}}rt=1,db(),fb(),hb()}}function db(){if(rt===1){rt=0;var n=Va,a=Rs,r=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||r){r=U.T,U.T=null;var l=F.p;F.p=2;var d=De;De|=4;try{Fv(a,n);var h=Gf,b=Qg(n.containerInfo),S=h.focusedElem,N=h.selectionRange;if(b!==S&&S&&S.ownerDocument&&Kg(S.ownerDocument.documentElement,S)){if(N!==null&&pd(S)){var O=N.start,P=N.end;if(P===void 0&&(P=O),"selectionStart"in S)S.selectionStart=O,S.selectionEnd=Math.min(P,S.value.length);else{var G=S.ownerDocument||document,L=G&&G.defaultView||window;
vendor: 7,102 bytes, line 8
8if(L.getSelection){var B=L.getSelection(),te=S.textContent.length,ce=Math.min(N.start,te),Pe=N.end===void 0?ce:Math.min(N.end,te);!B.extend&&ce>Pe&&(b=Pe,Pe=ce,ce=b);var k=Xg(S,ce),C=Xg(S,Pe);if(k&&C&&(B.rangeCount!==1||B.anchorNode!==k.node||B.anchorOffset!==k.offset||B.focusNode!==C.node||B.focusOffset!==C.offset)){var D=G.createRange();D.setStart(k.node,k.offset),B.removeAllRanges(),ce>Pe?(B.addRange(D),B.extend(C.node,C.offset)):(D.setEnd(C.node,C.offset),B.addRange(D))}}}}for(G=[],B=S;B=B.parentNode;)B.nodeType===1&&G.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<G.length;S++){var q=G[S];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}hc=!!qf,Gf=qf=null}finally{De=d,F.p=l,U.T=r}}n.current=a,rt=2}}function fb(){if(rt===2){rt=0;var n=Va,a=Rs,r=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||r){r=U.T,U.T=null;var l=F.p;F.p=2;var d=De;De|=4;try{Pv(n,a.alternate,a)}finally{De=d,F.p=l,U.T=r}}rt=3}}function hb(){if(rt===4||rt===3){rt=0,Tw();var n=Va,a=Rs,r=oa,l=Jv;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?rt=5:(rt=0,Rs=Va=null,pb(n,n.pendingLanes));var d=n.pendingLanes;if(d===0&&(Pa=null),Xu(r),a=a.stateNode,Vt&&typeof Vt.onCommitFiberRoot=="function")try{Vt.onCommitFiberRoot(mr,a,void 0,(a.current.flags&128)===128)}catch{}if(l!==null){a=U.T,d=F.p,F.p=2,U.T=null;try{for(var h=n.onRecoverableError,b=0;b<l.length;b++){var S=l[b];h(S.value,{componentStack:S.stack})}}finally{U.T=a,F.p=d}}(oa&3)!==0&&tc(),Dn(n),d=n.pendingLanes,(r&261930)!==0&&(d&42)!==0?n===Rf?Kr++:(Kr=0,Rf=n):Kr=0,Qr(0)}}function pb(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,kr(a)))}function tc(){return db(),fb(),hb(),mb()}function mb(){if(rt!==5)return!1;var n=Va,a=jf;jf=0;var r=Xu(oa),l=U.T,d=F.p;try{F.p=32>r?32:r,U.T=null,r=Cf,Cf=null;var h=Va,b=oa;if(rt=0,Rs=Va=null,oa=0,(De&6)!==0)throw Error(s(331));var S=De;if(De|=4,Kv(h.current),Yv(h,h.current,b,r),De=S,Qr(0,!1),Vt&&typeof Vt.onPostCommitFiberRoot=="function")try{Vt.onPostCommitFiberRoot(mr,h)}catch{}return!0}finally{F.p=d,U.T=l,pb(n,a)}}function gb(n,a,r){a=ln(r,a),a=lf(n.stateNode,a,2),n=Oa(n,a,2),n!==null&&(yr(n,2),Dn(n))}function Ie(n,a,r){if(n.tag===3)gb(n,n,r);else for(;a!==null;){if(a.tag===3){gb(a,n,r);break}else if(a.tag===1){var l=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Pa===null||!Pa.has(l))){n=ln(r,n),r=yv(2),l=Oa(a,r,2),l!==null&&(vv(r,l,a,n),yr(l,2),Dn(l));break}}a=a.return}}function Df(n,a,r){var l=n.pingCache;if(l===null){l=n.pingCache=new $A;var d=new Set;l.set(a,d)}else d=l.get(a),d===void 0&&(d=new Set,l.set(a,d));d.has(r)||(wf=!0,d.add(r),n=JA.bind(null,n,a,r),a.then(n,n))}function JA(n,a,r){var l=n.pingCache;l!==null&&l.delete(a),n.pingedLanes|=n.suspendedLanes&r,n.warmLanes&=~r,Ve===n&&(we&r)===r&&(Ke===4||Ke===3&&(we&62914560)===we&&300>Pt()-Xl?(De&2)===0&&ks(n,0):Af|=r,Cs===we&&(Cs=0)),Dn(n)}function yb(n,a){a===0&&(a=dg()),n=bi(n,a),n!==null&&(yr(n,a),Dn(n))}function eN(n){var a=n.memoizedState,r=0;a!==null&&(r=a.retryLane),yb(n,r)}function tN(n,a){var r=0;switch(n.tag){case 31:case 13:var l=n.stateNode,d=n.memoizedState;d!==null&&(r=d.retryLane);break;case 19:l=n.stateNode;break;case 22:l=n.stateNode._retryCache;break;default:throw Error(s(314))}l!==null&&l.delete(a),yb(n,r)}function nN(n,a){return Fu(n,a)}var nc=null,Ds=null,Of=!1,ac=!1,Lf=!1,qa=0;function Dn(n){n!==Ds&&n.next===null&&(Ds===null?nc=Ds=n:Ds=Ds.next=n),ac=!0,Of||(Of=!0,iN())}function Qr(n,a){if(!Lf&&ac){Lf=!0;do for(var r=!1,l=nc;l!==null;){if(n!==0){var d=l.pendingLanes;if(d===0)var h=0;else{var b=l.suspendedLanes,S=l.pingedLanes;h=(1<<31-Ht(42|n)+1)-1,h&=d&~(b&~S),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(r=!0,Sb(l,h))}else h=we,h=ol(l,l===Ve?h:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(h&3)===0||gr(l,h)||(r=!0,Sb(l,h));l=l.next}while(r);Lf=!1}}function aN(){vb()}function vb(){ac=Of=!1;var n=0;qa!==0&&pN()&&(n=qa);for(var a=Pt(),r=null,l=nc;l!==null;){var d=l.next,h=bb(l,a);h===0?(l.next=null,r===null?nc=d:r.next=d,d===null&&(Ds=r)):(r=l,(n!==0||(h&3)!==0)&&(ac=!0)),l=d}rt!==0&&rt!==5||Qr(n),qa!==0&&(qa=0)}function bb(n,a){for(var r=n.suspendedLanes,l=n.pingedLanes,d=n.expirationTimes,h=n.pendingLanes&-62914561;0<h;){var b=31-Ht(h),S=1<<b,N=d[b];N===-1?((S&r)===0||(S&l)!==0)&&(d[b]=Rw(S,a)):N<=a&&(n.expiredLanes|=S),h&=~S}if(a=Ve,r=we,r=ol(n,n===a?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),l=n.callbackNode,r===0||n===a&&(Ue===2||Ue===9)||n.cancelPendingCommit!==null)return l!==null&&l!==null&&Wu(l),n.callbackNode=null,n.callbackPriority=0;if((r&3)===0||gr(n,r)){if(a=r&-r,a===n.callbackPriority)return a;switch(l!==null&&Wu(l),Xu(r)){case 2:case 8:r=cg;break;case 32:r=al;break;case 268435456:r=ug;break;default:r=al}return l=xb.bind(null,n),r=Fu(r,l),n.callbackPriority=a,n.callbackNode=r,a}return l!==null&&l!==null&&Wu(l),n.callbackPriority=2,n.callbackNode=null,2}function xb(n,a){if(rt!==0&&rt!==5)return n.callbackNode=null,n.callbackPriority=0,null;var r=n.callbackNode;if(tc()&&n.callbackNode!==r)return null;var l=we;return l=ol(n,n===Ve?l:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),l===0?null:(tb(n,l,a),bb(n,Pt()),n.callbackNode!=null&&n.callbackNode===r?xb.bind(null,n):null)}function Sb(n,a){if(tc())return null;tb(n,a,!0)}function iN(){gN(function(){(De&6)!==0?Fu(lg,aN):vb()})}function Uf(){if(qa===0){var n=vs;n===0&&(n=il,il<<=1,(il&261888)===0&&(il=256)),qa=n}return qa}function Tb(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:dl(""+n)}function _b(n,a){var r=a.ownerDocument.createElement("input");return r.name=a.name,r.value=a.value,n.id&&r.setAttribute("form",n.id),a.parentNode.insertBefore(r,a),n=new FormData(n),r.parentNode.removeChild(r),n}function sN(n,a,r,l,d){if(a==="submit"&&r&&r.stateNode===d){var h=Tb((d[Rt]||null).action),b=l.submitter;b&&(a=(a=b[Rt]||null)?Tb(a.formAction):b.getAttribute("formAction"),a!==null&&(h=a,b=null));var S=new ml("action","action",null,l,d);n.push({event:S,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(qa!==0){var N=b?_b(d,b):new FormData(d);tf(r,{pending:!0,data:N,method:d.method,action:h},null,N)}}else typeof h=="function"&&(S.preventDefault(),N=b?_b(d,b):new FormData(d),tf(r,{pending:!0,data:N,method:d.method,action:h},h,N))},currentTarget:d}]})}}for(var If=0;If<vd.length;If++){var Bf=vd[If],rN=Bf.toLowerCase(),oN=Bf[0].toUpperCase()+Bf.slice(1);Sn(rN,"on"+oN)}Sn(ey,"onAnimationEnd"),Sn(ty,"onAnimationIteration"),Sn(ny,"onAnimationStart"),Sn("dblclick","onDoubleClick"),Sn("focusin","onFocus"),Sn("focusout","onBlur"),Sn(_A,"onTransitionRun"),Sn(EA,"onTransitionStart"),Sn(wA,"onTransitionCancel"),Sn(ay,"onTransitionEnd"),is("onMouseEnter",["mouseout","mouseover"]),is("onMouseLeave",["mouseout","mouseover"]),is("onPointerEnter",["pointerout","pointerover"]),is("onPointerLeave",["pointerout","pointerover"]),mi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),mi("onSelect","focusout contextmenu dragend focu
8sin keydown keyup mousedown mouseup selectionchange".split(" ")),mi("onBeforeInput",["compositionend","keypress","textInput","paste"]),mi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),mi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),mi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zr="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(" "),lN=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zr));function Eb(n,a){a=(a&4)!==0;for(var r=0;r<n.length;r++){var l=n[r],d=l.event;l=l.listeners;e:{var h=void 0;if(a)for(var b=l.length-1;0<=b;b--){var S=l[b],N=S.instance,O=S.currentTarget;if(S=S.listener,N!==h&&d.isPropagationStopped())break e;h=S,d.currentTarget=O;try{h(d)}catch(P){vl(P)}d.currentTarget=null,h=N}else for(b=0;b<l.length;b++){if(S=l[b],N=S.instance,O=S.currentTarget,S=S.listener,N!==h&&d.isPropagationStopped())break e;h=S,d.currentTarget=O;try{h(d)}catch(P){vl(P)}d.currentTarget=null,h=N}}}}function _e(n,a){var r=a[Ku];r===void 0&&(r=a[Ku]=new Set);var l=n+"__bubble";r.has(l)||(wb(a,n,2,!1),r.add(l))}function zf(n,a,r){var l=0;a&&(l|=4),wb(r,n,l,a)}var ic="_reactListening"+Math.random().toString(36).slice(2);function Pf(n){if(!n[ic]){n[ic]=!0,vg.forEach(function(r){r!=="selectionchange"&&(lN.has(r)||zf(r,!1,n),zf(r,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[ic]||(a[ic]=!0,zf("selectionchange",!1,a))}}function wb(n,a,r,l){switch(ex(a)){case 2:var d=UN;break;case 8:d=IN;break;default:d=th}r=d.bind(null,a,r,n),d=void 0,!sd||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(d=!0),l?d!==void 0?n.addEventListener(a,r,{capture:!0,passive:d}):n.addEventListener(a,r,!0):d!==void 0?n.addEventListener(a,r,{passive:d}):n.addEventListener(a,r,!1)}function Vf(n,a,r,l,d){var h=l;if((a&1)===0&&(a&2)===0&&l!==null)e:for(;;){if(l===null)return;var b=l.tag;if(b===3||b===4){var S=l.stateNode.containerInfo;if(S===d)break;if(b===4)for(b=l.return;b!==null;){var N=b.tag;if((N===3||N===4)&&b.stateNode.containerInfo===d)return;b=b.return}for(;S!==null;){if(b=ts(S),b===null)return;if(N=b.tag,N===5||N===6||N===26||N===27){l=h=b;continue e}S=S.parentNode}}l=l.return}Rg(function(){var O=h,P=ad(r),G=[];e:{var L=iy.get(n);if(L!==void 0){var B=ml,te=n;switch(n){case"keypress":if(hl(r)===0)break e;case"keydown":case"keyup":B=tA;break;case"focusin":te="focus",B=cd;break;case"focusout":te="blur",B=cd;break;case"beforeblur":case"afterblur":B=cd;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=Dg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=qw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=iA;break;case ey:case ty:case ny:B=Ww;break;case ay:B=rA;break;case"scroll":case"scrollend":B=Vw;break;case"wheel":B=lA;break;case"copy":case"cut":case"paste":B=$w;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=Lg;break;case"toggle":case"beforetoggle":B=uA}var ce=(a&4)!==0,Pe=!ce&&(n==="scroll"||n==="scrollend"),k=ce?L!==null?L+"Capture":null:L;ce=[];for(var C=O,D;C!==null;){var q=C;if(D=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||D===null||k===null||(q=xr(C,k),q!=null&&ce.push(Jr(C,q,D))),Pe)break;C=C.return}0<ce.length&&(L=new B(L,te,null,r,P),G.push({event:L,listeners:ce}))}}if((a&7)===0){e:{if(L=n==="mouseover"||n==="pointerover",B=n==="mouseout"||n==="pointerout",L&&r!==nd&&(te=r.relatedTarget||r.fromElement)&&(ts(te)||te[es]))break e;if((B||L)&&(L=P.window===P?P:(L=P.ownerDocument)?L.defaultView||L.parentWindow:window,B?(te=r.relatedTarget||r.toElement,B=O,te=te?ts(te):null,te!==null&&(Pe=c(te),ce=te.tag,te!==Pe||ce!==5&&ce!==27&&ce!==6)&&(te=null)):(B=null,te=O),B!==te)){if(ce=Dg,q="onMouseLeave",k="onMouseEnter",C="mouse",(n==="pointerout"||n==="pointerover")&&(ce=Lg,q="onPointerLeave",k="onPointerEnter",C="pointer"),Pe=B==null?L:br(B),D=te==null?L:br(te),L=new ce(q,C+"leave",B,r,P),L.target=Pe,L.relatedTarget=D,q=null,ts(P)===O&&(ce=new ce(k,C+"enter",te,r,P),ce.target=D,ce.relatedTarget=Pe,q=ce),Pe=q,B&&te)t:{for(ce=cN,k=B,C=te,D=0,q=k;q;q=ce(q))D++;q=0;for(var oe=C;oe;oe=ce(oe))q++;for(;0<D-q;)k=ce(k),D--;for(;0<q-D;)C=ce(C),q--;for(;D--;){if(k===C||C!==null&&k===C.alternate){ce=k;break t}k=ce(k),C=ce(C)}ce=null}else ce=null;B!==null&&Ab(G,L,B,ce,!1),te!==null&&Pe!==null&&Ab(G,Pe,te,ce,!0)}}
vendor: 5,189 bytes, lines 8-9
8e:{if(L=O?br(O):window,B=L.nodeName&&L.nodeName.toLowerCase(),B==="select"||B==="input"&&L.type==="file")var Ce=qg;else if(Vg(L))if(Gg)Ce=xA;else{Ce=vA;var ae=yA}else B=L.nodeName,!B||B.toLowerCase()!=="input"||L.type!=="checkbox"&&L.type!=="radio"?O&&td(O.elementType)&&(Ce=qg):Ce=bA;if(Ce&&(Ce=Ce(n,O))){Hg(G,Ce,r,P);break e}ae&&ae(n,L,O),n==="focusout"&&O&&L.type==="number"&&O.memoizedProps.value!=null&&ed(L,"number",L.value)}switch(ae=O?br(O):window,n){case"focusin":(Vg(ae)||ae.contentEditable==="true")&&(us=ae,md=O,jr=null);break;case"focusout":jr=md=us=null;break;case"mousedown":gd=!0;break;case"contextmenu":case"mouseup":case"dragend":gd=!1,Zg(G,r,P);break;case"selectionchange":if(TA)break;case"keydown":case"keyup":Zg(G,r,P)}var xe;if(dd)e:{switch(n){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else cs?zg(n,r)&&(Ae="onCompositionEnd"):n==="keydown"&&r.keyCode===229&&(Ae="onCompositionStart");Ae&&(Ug&&r.locale!=="ko"&&(cs||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&cs&&(xe=kg()):(Na=P,rd="value"in Na?Na.value:Na.textContent,cs=!0)),ae=sc(O,Ae),0<ae.length&&(Ae=new Og(Ae,n,null,r,P),G.push({event:Ae,listeners:ae}),xe?Ae.data=xe:(xe=Pg(r),xe!==null&&(Ae.data=xe)))),(xe=fA?hA(n,r):pA(n,r))&&(Ae=sc(O,"onBeforeInput"),0<Ae.length&&(ae=new Og("onBeforeInput","beforeinput",null,r,P),G.push({event:ae,listeners:Ae}),ae.data=xe)),sN(G,n,O,r,P)}Eb(G,a)})}function Jr(n,a,r){return{instance:n,listener:a,currentTarget:r}}function sc(n,a){for(var r=a+"Capture",l=[];n!==null;){var d=n,h=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||h===null||(d=xr(n,r),d!=null&&l.unshift(Jr(n,d,h)),d=xr(n,a),d!=null&&l.push(Jr(n,d,h))),n.tag===3)return l;n=n.return}return[]}function cN(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Ab(n,a,r,l,d){for(var h=a._reactName,b=[];r!==null&&r!==l;){var S=r,N=S.alternate,O=S.stateNode;if(S=S.tag,N!==null&&N===l)break;S!==5&&S!==26&&S!==27||O===null||(N=O,d?(O=xr(r,h),O!=null&&b.unshift(Jr(r,O,N))):d||(O=xr(r,h),O!=null&&b.push(Jr(r,O,N)))),r=r.return}b.length!==0&&n.push({event:a,listeners:b})}var uN=/\r\n?/g,dN=/\u0000|\uFFFD/g;function Nb(n){return(typeof n=="string"?n:""+n).replace(uN,`
9`).replace(dN,"")}function jb(n,a){return a=Nb(a),Nb(n)===a}function ze(n,a,r,l,d,h){switch(r){case"children":typeof l=="string"?a==="body"||a==="textarea"&&l===""||rs(n,l):(typeof l=="number"||typeof l=="bigint")&&a!=="body"&&rs(n,""+l);break;case"className":cl(n,"class",l);break;case"tabIndex":cl(n,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":cl(n,r,l);break;case"style":jg(n,l,h);break;case"data":if(a!=="object"){cl(n,"data",l);break}case"src":case"href":if(l===""&&(a!=="a"||r!=="href")){n.removeAttribute(r);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){n.removeAttribute(r);break}l=dl(""+l),n.setAttribute(r,l);break;case"action":case"formAction":if(typeof l=="function"){n.setAttribute(r,"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 h=="function"&&(r==="formAction"?(a!=="input"&&ze(n,a,"name",d.name,d,null),ze(n,a,"formEncType",d.formEncType,d,null),ze(n,a,"formMethod",d.formMethod,d,null),ze(n,a,"formTarget",d.formTarget,d,null)):(ze(n,a,"encType",d.encType,d,null),ze(n,a,"method",d.method,d,null),ze(n,a,"target",d.target,d,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){n.removeAttribute(r);break}l=dl(""+l),n.setAttribute(r,l);break;case"onClick":l!=null&&(n.onclick=Wn);break;case"onScroll":l!=null&&_e("scroll",n);break;case"onScrollEnd":l!=null&&_e("scrollend",n);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(r=l.__html,r!=null){if(d.children!=null)throw Error(s(60));n.innerHTML=r}}break;case"multiple":n.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":n.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){n.removeAttribute("xlink:href");break}r=dl(""+l),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?n.setAttribute(r,""+l):n.removeAttribute(r);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
9ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?n.setAttribute(r,""):n.removeAttribute(r);break;case"capture":case"download":l===!0?n.setAttribute(r,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?n.setAttribute(r,l):n.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?n.setAttribute(r,l):n.removeAttribute(r);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?n.removeAttribute(r):n.setAttribute(r,l);break;case"popover":_e("beforetoggle",n),_e("toggle",n),ll(n,"popover",l);break;case"xlinkActuate":Fn(n,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Fn(n,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Fn(n,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Fn(n,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Fn(n,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Fn(n,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Fn(n,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Fn(n,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Fn(n,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":ll(n,"is",l);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=zw.get(r)||r,ll(n,r,l))}}function Hf(n,a,r,l,d,h){switch(r){case"style":jg(n,l,h);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(r=l.__html,r!=null){if(d.children!=null)throw Error(s(60));n.innerHTML=r}}break;case"children":typeof l=="string"?rs(n,l):(typeof l=="number"||typeof l=="bigint")&&rs(n,""+l);break;case"onScroll":l!=null&&_e("scroll",n);break;case"onScrollEnd":l!=null&&_e("scrollend",n);break;case"onClick":l!=null&&(n.onclick=Wn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!bg.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(d=r.endsWith("Capture"),a=r.slice(2,d?r.length-7:void 0),h=n[Rt]||null,h=h!=null?h[r]:null,typeof h=="function"&&n.removeEventListener(a,h,d),typeof l=="function")){typeof h!="function"&&h!==null&&(r in n?n[r]=null:n.hasAttribute(r)&&n.removeAttribute(r)),n.addEventListener(a,l,d);break e}r in n?n[r]=l:l===!0?n.setAttribute(r,""):ll(n,r,l)}}}function gt(n,a,r){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_e("error",n),_e("load",n);var l=!1,d=!1,h;for(h in r)if(r.hasOwnProperty(h)){var b=r[h];if(b!=null)switch(h){case"src":l=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,a));default:ze(n,a,h,b,r,null)}}d&&ze(n,a,"srcSet",r.srcSet,r,null),l&&ze(n,a,"src",r.src,r,null);return;case"input":_e("invalid",n);var S=h=b=d=null,N=null,O=null;for(l in r)if(r.hasOwnProperty(l)){var P=r[l];if(P!=null)switch(l){case"name":d=P;break;case"type":b=P;break;case"checked":N=P;break;case"defaultChecked":O=P;break;case"value":h=P;break;case"defaultValue":S=P;break;case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(s(137,a));break;default:ze(n,a,l,P,r,null)}}Eg(n,h,S,N,O,b,d,!1);return;case"select":_e("invalid",n),l=b=h=null;for(d in r)if(r.hasOwnProperty(d)&&(S=r[d],S!=null))switch(d){case"value":h=S;break;case"defaultValue":b=S;break;case"multiple":l=S;default:ze(n,a,d,S,r,null)}a=h,r=b,n.multiple=!!l,a!=null?ss(n,!!l,a,!1):r!=null&&ss(n,!!l,r,!0);return;case"textarea":_e("invalid",n),h=d=l=null;for(b in r)if(r.hasOwnProperty(b)&&(S=r[b],S!=null))switch(b){case"value":l=S;break;case"defaultValue":d=S;break;case"children":h=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(s(91));break;default:ze(n,a,b,S,r,null)}Ag(n,l,d,h);return;case"option":for(N in r)r.hasOwnProperty(N)&&(l=r[N],l!=null)&&(N==="selected"?n.selected=l&&typeof l!="function"&&typeof l!="symbol":ze(n,a,N,l,r,null));return;case"dialog":_e("beforetoggle",n),_e("toggle",n),_e("cancel",n),_e("close",n);break;case"iframe":case"object":_e("load",n);break;case"video":case"audio":for(l=0;l<Zr.length;l++)_e(Zr[l],n);break;case"image":_e("error",n),_e("load",n);break;case"details":_e("toggle",n);break;case"embed":case"source":case"link":_e("error",n),_e("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(O in r)if(r.hasOwnProperty(O)&&(l=r[O],l!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,a));default:ze(n,a,O,l,r,null)}return;default:if(td(a)){for(P in r)r.hasOwnProperty(P)&&(l=r[P],l!==void 0&&Hf(n,a,P,l,r,void 0));return}}for(S in r)r.hasOwnProperty(S)&&(l=r[S],l!=null&&ze(n,a,S,l,r,null))}function fN(n,a,r,l){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,h=null,b=null,S=null,N=null,O=null,P=null;for(B in r){var G=r[B];if(r.hasOwnProperty(B)&&G!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":N=G;default:l.hasOwnProperty(B)||ze(n,a,B,null,l,G)}}for(var L in l){var B=l[L];if(G=r[L],l.hasOwnProperty(L)&&(B!=null||G!=null))switch(L){case"type":h=B;break;case"name":d=B;break;case"checked":O=B;break;case"defaultChecked":P=B;break;case"value":b=B;break;case"defaultValue":S=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(s(137,a));break;default:B!==G&&ze(n,a,L,B,l,G)}}Ju(n,b,S,N,O,P,h,d);return;case"select":B=b=S=L=null;for(h in r)if(N=r[h],r.hasOwnProperty(h)&&N!=null)switch(h){case"value":break;case"multiple":B=N;default:l.hasOwnProperty(h)||ze(n,a,h,null,l,N)}for(d in l)if(h=l[d],N=r[d],l.hasOwnProperty(d)&&(h!=null||N!=null))switch(d){case"value":L=h;break;case"defaultValue":S=h;break;case"multiple":b=h;default:h!==N&&ze(n,a,d,h,l,N)}a=S,r=b,l=B,L!=null?ss(n,!!r,L,!1):!!l!=!!r&&(a!=null?ss(n,!!r,a,!0):ss(n,!!r,r?[]:"",!1));return;case"textarea":B=L=null;for(S in r)if(d=r[S],r.hasOwnProperty(S)&&d!=null&&!l.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:ze(n,a,S,null,l,d)}for(b in l)if(d=l[b],h=r[b],l.hasOwnProperty(b)&&(d!=null||h!=null))switch(b){case"value":L=d;break;case"defaultValue":B=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(s(91));break;default:d!==h&&ze(n,a,b,d,l,h)}wg(n,L,B);return;case"option":for(var te in r)L=r[te],r.hasOwnProperty(te)&&L!=null&&!l.hasOwnProperty(te)&&(te==="selected"?n.selected=!1:ze(n,a,te,null,l,L));for(N in l)L=l[N],B=r[N],l.hasOwnProperty(N)&&L!==B&&(L!=null||B!=null)&&(N==="selected"?n.selected=L&&typeof L!="function"&&typeof L!="symbol":ze(n,a,N,L,l,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 ce in r)L=r[ce],r.hasOwnProperty(ce)&&L!=null&&!l.hasOwnProperty(ce)&&ze(n,a,ce,null,l,L);for(O in l)if(L=l[O],B=r[O],l.hasOwnProperty(O)&&L!==B&&(L!=null||B!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(s(137,a));break;default:ze(n,a,O,L,l,B)}return;default:if(td(a)){for(var Pe in r)L=r[Pe],r.hasOwnProperty(Pe)&&L!==void 0&&!l.hasOwnProperty(Pe)&&Hf(n,a,Pe,void 0,l,L);for(P in l)L=l[P],B=r[P],!l.hasOwnProperty(P)||L===B||L===void 0&&B===void 0||Hf(n,a,P,L,l,B);return}}for(var k in r)L=r[k],r.hasOwnProperty(k)&&L!=null&&!l.hasOwnProperty(k)&&ze(n,a,k,null,l,L);for(G in l)L=l[G],B=r[G],!l.hasOwnProperty(G)||L===B||L==null&&B==null||ze(n,a,G,L,l,B)}function Cb(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function hN(){if(typeof performance.getEntriesByType=="function"){for(var n=0,a=0,r=performance.getEntriesByType("resource"),l=0;l<r.length;l++){var d=r[l],h=d.transferSize,b=d.initiatorType,S=d.duration;if(h&&S&&Cb(b)){for(b=0,S=d.responseEnd,l+=1;l<r.length;l++){var N=r[l],O=N.startTime;if(O>S)break;var P=N.transferSize,G=N.initiatorType;P&&Cb(G)&&(N=N.responseEnd,b+=P*(N<S?1:(S-O)/(N-O)))}if(--l,a+=8*(h+b)/(d.duration/1e3),n++,10<n)break}}if(0<n)return a/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?
vendor: 9,435 bytes, line 9
9n:5}var qf=null,Gf=null;function rc(n){return n.nodeType===9?n:n.ownerDocument}function Rb(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function kb(n,a){if(n===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&a==="foreignObject"?0:n}function Ff(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Wf=null;function pN(){var n=window.event;return n&&n.type==="popstate"?n===Wf?!1:(Wf=n,!0):(Wf=null,!1)}var Mb=typeof setTimeout=="function"?setTimeout:void 0,mN=typeof clearTimeout=="function"?clearTimeout:void 0,Db=typeof Promise=="function"?Promise:void 0,gN=typeof queueMicrotask=="function"?queueMicrotask:typeof Db<"u"?function(n){return Db.resolve(null).then(n).catch(yN)}:Mb;function yN(n){setTimeout(function(){throw n})}function Ga(n){return n==="head"}function Ob(n,a){var r=a,l=0;do{var d=r.nextSibling;if(n.removeChild(r),d&&d.nodeType===8)if(r=d.data,r==="/$"||r==="/&"){if(l===0){n.removeChild(d),Is(a);return}l--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")l++;else if(r==="html")eo(n.ownerDocument.documentElement);else if(r==="head"){r=n.ownerDocument.head,eo(r);for(var h=r.firstChild;h;){var b=h.nextSibling,S=h.nodeName;h[vr]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&h.rel.toLowerCase()==="stylesheet"||r.removeChild(h),h=b}}else r==="body"&&eo(n.ownerDocument.body);r=d}while(r);Is(a)}function Lb(n,a){var r=n;n=0;do{var l=r.nextSibling;if(r.nodeType===1?a?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(a?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),l&&l.nodeType===8)if(r=l.data,r==="/$"){if(n===0)break;n--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||n++;r=l}while(r)}function Yf(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var r=a;switch(a=a.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Yf(r),Qu(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}n.removeChild(r)}}function vN(n,a,r,l){for(;n.nodeType===1;){var d=r;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!l&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(l){if(!n[vr])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(h=n.getAttribute("rel"),h==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(h!==d.rel||n.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||n.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||n.getAttribute("title")!==(d.title==null?null:d.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(h=n.getAttribute("src"),(h!==(d.src==null?null:d.src)||n.getAttribute("type")!==(d.type==null?null:d.type)||n.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&h&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){var h=d.name==null?null:""+d.name;if(d.type==="hidden"&&n.getAttribute("name")===h)return n}else return n;if(n=hn(n.nextSibling),n===null)break}return null}function bN(n,a,r){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=hn(n.nextSibling),n===null))return null;return n}function Ub(n,a){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!a||(n=hn(n.nextSibling),n===null))return null;return n}function $f(n){return n.data==="$?"||n.data==="$~"}function Xf(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function xN(n,a){var r=n.ownerDocument;if(n.data==="$~")n._reactRetry=a;else if(n.data!=="$?"||r.readyState!=="loading")a();else{var l=function(){a(),r.removeEventListener("DOMContentLoaded",l)};r.addEventListener("DOMContentLoaded",l),n._reactRetry=l}}function hn(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return n}var Kf=null;function Ib(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var r=n.data;if(r==="/$"||r==="/&"){if(a===0)return hn(n.nextSibling);a--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||a++}n=n.nextSibling}return null}function Bb(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var r=n.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(a===0)return n;a--}else r!=="/$"&&r!=="/&"||a++}n=n.previousSibling}return null}function zb(n,a,r){switch(a=rc(r),n){case"html":if(n=a.documentElement,!n)throw Error(s(452));return n;case"head":if(n=a.head,!n)throw Error(s(453));return n;case"body":if(n=a.body,!n)throw Error(s(454));return n;default:throw Error(s(451))}}function eo(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);Qu(n)}var pn=new Map,Pb=new Set;function oc(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var la=F.d;F.d={f:SN,r:TN,D:_N,C:EN,L:wN,m:AN,X:jN,S:NN,M:CN};function SN(){var n=la.f(),a=Zl();return n||a}function TN(n){var a=ns(n);a!==null&&a.tag===5&&a.type==="form"?av(a):la.r(n)}var Os=typeof document>"u"?null:document;function Vb(n,a,r){var l=Os;if(l&&typeof a=="string"&&a){var d=rn(a);d='link[rel="'+n+'"][href="'+d+'"]',typeof r=="string"&&(d+='[crossorigin="'+r+'"]'),Pb.has(d)||(Pb.add(d),n={rel:n,crossOrigin:r,href:a},l.querySelector(d)===null&&(a=l.createElement("link"),gt(a,"link",n),ct(a),l.head.appendChild(a)))}}function _N(n){la.D(n),Vb("dns-prefetch",n,null)}function EN(n,a){la.C(n,a),Vb("preconnect",n,a)}function wN(n,a,r){la.L(n,a,r);var l=Os;if(l&&n&&a){var d='link[rel="preload"][as="'+rn(a)+'"]';a==="image"&&r&&r.imageSrcSet?(d+='[imagesrcset="'+rn(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(d+='[imagesizes="'+rn(r.imageSizes)+'"]')):d+='[href="'+rn(n)+'"]';var h=d;switch(a){case"style":h=Ls(n);break;case"script":h=Us(n)}pn.has(h)||(n=y({rel:"preload",href:a==="image"&&r&&r.imageSrcSet?void 0:n,as:a},r),pn.set(h,n),l.querySelector(d)!==null||a==="style"&&l.querySelector(to(h))||a==="script"&&l.querySelector(no(h))||(a=l.createElement("link"),gt(a,"link",n),ct(a),l.head.appendChild(a)))}}function AN(n,a){la.m(n,a);var r=Os;if(r&&n){var l=a&&typeof a.as=="string"?a.as:"script",d='link[rel="modulepreload"][as="'+rn(l)+'"][href="'+rn(n)+'"]',h=d;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Us(n)}if(!pn.has(h)&&(n=y({rel:"modulepreload",href:n},a),pn.set(h,n),r.querySelector(d)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(no(h)))return}l=r.createElement("link"),gt(l,"link",n),ct(l),r.head.appendChild(l)}}}function NN(n,a,r){la.S(n,a,r);var l=Os;if(l&&n){var d=as(l).hoistableStyles,h=Ls(n);a=a||"default";var b=d.get(h);if(!b){var S={loading:0,preload:null};if(b=l.querySelector(to(h)))S.loading=5;else{n=y({rel:"stylesheet",href:n,"data-precedence":a},r),(r=pn.get(h))&&Qf(n,r);var N=b=l.createElement("link");ct(N),gt(N,"link",n),N._p=new Promise(function(O,P){N.onload=O,N.onerror=P}),N.addEventListener("load",function(){S.loading|=1}),N.addEventListener("error",function(){S.loading|=2}),S.loading|=4,lc(b,a,l)}b={type:"stylesheet",instance:b,count:1,state:S},d.set(h,b)}}}function jN(n,a){la.X(n,a);var r=Os;if(r&&n){var l=as(r).hoistableScripts,d=Us(n),h=l.get(d);h||(h=r.querySelector(no(d)),h||(n=y({src:n,async:!0},a),(a=pn.get(d))&&Zf(n,a),h=r.createElement("script"),ct(h),gt(h,"link",n),r.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(d,h))}}function CN(n,a){la.M(n,a);var r=Os;if(r&&n){var l=as(r).hoistableScripts,d=Us(n),h=l.get(d);h||(h=r.querySelector(no(d)),h||(n=y({src:n,async:!0,type:"module"},a),(a=pn.get(d))&&Zf(n,a),h=r.createElement("script"),ct(h),gt(h,"link",n),r.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(d,h))}}function Hb(n,a,r,l){var d=(d=re.current)?oc(d):null;if(!d)throw Error(s(446));switch(n){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(a=Ls(r.href),r=as(d).hoistableStyles,l=r.get(a),l||(l={type:"style",instance:null,count:0,state:null},r.set(a,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){n=Ls(r.href);var h=as(d).hoistableStyles,b=h.get(n);if(b||(d=d.ownerDocument||d,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(n,b),(h=d.querySelector(to(n)))&&!h._p&&(b.instance=h,b.state.loading=5),pn.has(n)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},pn.set(n,r),h||RN(d,n,r,b.state))),a&&l===null)throw Error(s(528,""));return b}if(a&&l!==null)throw Error(s(529,""));return null;case"script":return a=r.async,r=r.src,typeof r=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?
vendor: 5,591 bytes, line 9
9(a=Us(r),r=as(d).hoistableScripts,l=r.get(a),l||(l={type:"script",instance:null,count:0,state:null},r.set(a,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,n))}}function Ls(n){return'href="'+rn(n)+'"'}function to(n){return'link[rel="stylesheet"]['+n+"]"}function qb(n){return y({},n,{"data-precedence":n.precedence,precedence:null})}function RN(n,a,r,l){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=n.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),gt(a,"link",r),ct(a),n.head.appendChild(a))}function Us(n){return'[src="'+rn(n)+'"]'}function no(n){return"script[async]"+n}function Gb(n,a,r){if(a.count++,a.instance===null)switch(a.type){case"style":var l=n.querySelector('style[data-href~="'+rn(r.href)+'"]');if(l)return a.instance=l,ct(l),l;var d=y({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return l=(n.ownerDocument||n).createElement("style"),ct(l),gt(l,"style",d),lc(l,r.precedence,n),a.instance=l;case"stylesheet":d=Ls(r.href);var h=n.querySelector(to(d));if(h)return a.state.loading|=4,a.instance=h,ct(h),h;l=qb(r),(d=pn.get(d))&&Qf(l,d),h=(n.ownerDocument||n).createElement("link"),ct(h);var b=h;return b._p=new Promise(function(S,N){b.onload=S,b.onerror=N}),gt(h,"link",l),a.state.loading|=4,lc(h,r.precedence,n),a.instance=h;case"script":return h=Us(r.src),(d=n.querySelector(no(h)))?(a.instance=d,ct(d),d):(l=r,(d=pn.get(h))&&(l=y({},r),Zf(l,d)),n=n.ownerDocument||n,d=n.createElement("script"),ct(d),gt(d,"link",l),n.head.appendChild(d),a.instance=d);case"void":return null;default:throw Error(s(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(l=a.instance,a.state.loading|=4,lc(l,r.precedence,n));return a.instance}function lc(n,a,r){for(var l=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=l.length?l[l.length-1]:null,h=d,b=0;b<l.length;b++){var S=l[b];if(S.dataset.precedence===a)h=S;else if(h!==d)break}h?h.parentNode.insertBefore(n,h.nextSibling):(a=r.nodeType===9?r.head:r,a.insertBefore(n,a.firstChild))}function Qf(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Zf(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var cc=null;function Fb(n,a,r){if(cc===null){var l=new Map,d=cc=new Map;d.set(r,l)}else d=cc,l=d.get(r),l||(l=new Map,d.set(r,l));if(l.has(n))return l;for(l.set(n,null),r=r.getElementsByTagName(n),d=0;d<r.length;d++){var h=r[d];if(!(h[vr]||h[ft]||n==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var b=h.getAttribute(a)||"";b=n+b;var S=l.get(b);S?S.push(h):l.set(b,[h])}}return l}function Wb(n,a,r){n=n.ownerDocument||n,n.head.insertBefore(r,a==="title"?n.querySelector("head > title"):null)}function kN(n,a,r){if(r===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;return a.rel==="stylesheet"?(n=a.disabled,typeof a.precedence=="string"&&n==null):!0;case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Yb(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function MN(n,a,r,l){if(r.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var d=Ls(l.href),h=a.querySelector(to(d));if(h){a=h._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=uc.bind(n),a.then(n,n)),r.state.loading|=4,r.instance=h,ct(h);return}h=a.ownerDocument||a,l=qb(l),(d=pn.get(d))&&Qf(l,d),h=h.createElement("link"),ct(h);var b=h;b._p=new Promise(function(S,N){b.onload=S,b.onerror=N}),gt(h,"link",l),r.instance=h}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(r,a),(a=r.state.preload)&&(r.state.loading&3)===0&&(n.count++,r=uc.bind(n),a.addEventListener("load",r),a.addEventListener("error",r))}}var Jf=0;function DN(n,a){return n.stylesheets&&n.count===0&&fc(n,n.stylesheets),0<n.count||0<n.imgCount?function(r){var l=setTimeout(function(){if(n.stylesheets&&fc(n,n.stylesheets),n.unsuspend){var h=n.unsuspend;n.unsuspend=null,h()}},6e4+a);0<n.imgBytes&&Jf===0&&(Jf=62500*hN());var d=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&fc(n,n.stylesheets),n.unsuspend)){var h=n.unsuspend;n.unsuspend=null,h()}},(n.imgBytes>Jf?50:800)+a);return n.unsuspend=r,function(){n.unsuspend=null,clearTimeout(l),clearTimeout(d)}}:null}function uc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)fc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var dc=null;function fc(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,dc=new Map,a.forEach(ON,n),dc=null,uc.call(n))}function ON(n,a){if(!(a.state.loading&4)){var r=dc.get(n);if(r)var l=r.get(null);else{r=new Map,dc.set(n,r);for(var d=n.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<d.length;h++){var b=d[h];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(r.set(b.dataset.precedence,b),l=b)}
vendor: 2,574 bytes, line 9
9l&&r.set(null,l)}d=a.instance,b=d.getAttribute("data-precedence"),h=r.get(b)||l,h===l&&r.set(null,d),r.set(b,d),this.count++,l=uc.bind(this),d.addEventListener("load",l),d.addEventListener("error",l),h?h.parentNode.insertBefore(d,h.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(d,n.firstChild)),a.state.loading|=4}}var ao={$$typeof:I,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function LN(n,a,r,l,d,h,b,S,N){this.tag=1,this.containerInfo=n,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=Yu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yu(0),this.hiddenUpdates=Yu(null),this.identifierPrefix=l,this.onUncaughtError=d,this.onCaughtError=h,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map}function $b(n,a,r,l,d,h,b,S,N,O,P,G){return n=new LN(n,a,r,b,N,O,P,G,S),a=1,h===!0&&(a|=24),h=Gt(3,null,null,a),n.current=h,h.stateNode=n,a=kd(),a.refCount++,n.pooledCache=a,a.refCount++,h.memoizedState={element:l,isDehydrated:r,cache:a},Ld(h),n}function Xb(n){return n?(n=hs,n):hs}function Kb(n,a,r,l,d,h){d=Xb(d),l.context===null?l.context=d:l.pendingContext=d,l=Da(a),l.payload={element:r},h=h===void 0?null:h,h!==null&&(l.callback=h),r=Oa(n,l,a),r!==null&&(Ut(r,n,a),Lr(r,n,a))}function Qb(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var r=n.retryLane;n.retryLane=r!==0&&r<a?r:a}}function eh(n,a){Qb(n,a),(n=n.alternate)&&Qb(n,a)}function Zb(n){if(n.tag===13||n.tag===31){var a=bi(n,67108864);a!==null&&Ut(a,n,67108864),eh(n,67108864)}}function Jb(n){if(n.tag===13||n.tag===31){var a=Xt();a=$u(a);var r=bi(n,a);r!==null&&Ut(r,n,a),eh(n,a)}}var hc=!0;function UN(n,a,r,l){var d=U.T;U.T=null;var h=F.p;try{F.p=2,th(n,a,r,l)}finally{F.p=h,U.T=d}}function IN(n,a,r,l){var d=U.T;U.T=null;var h=F.p;try{F.p=8,th(n,a,r,l)}finally{F.p=h,U.T=d}}function th(n,a,r,l){if(hc){var d=nh(l);if(d===null)Vf(n,a,l,pc,r),tx(n,l);else if(zN(d,n,a,r,l))l.stopPropagation();else if(tx(n,l),a&4&&-1<BN.indexOf(n)){for(;d!==null;){var h=ns(d);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var b=pi(h.pendingLanes);if(b!==0){var S=h;for(S.pendingLanes|=2,S.entangledLanes|=2;b;){var N=1<<31-Ht(b);S.entanglements[1]|=N,b&=~N}
vendor: 4,573 bytes, line 9
9Dn(h),(De&6)===0&&(Kl=Pt()+500,Qr(0))}}break;case 31:case 13:S=bi(h,2),S!==null&&Ut(S,h,2),Zl(),eh(h,2)}if(h=nh(l),h===null&&Vf(n,a,l,pc,r),h===d)break;d=h}d!==null&&l.stopPropagation()}else Vf(n,a,l,null,r)}}function nh(n){return n=ad(n),ah(n)}var pc=null;function ah(n){if(pc=null,n=ts(n),n!==null){var a=c(n);if(a===null)n=null;else{var r=a.tag;if(r===13){if(n=u(a),n!==null)return n;n=null}else if(r===31){if(n=p(a),n!==null)return n;n=null}else if(r===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return pc=n,null}function ex(n){switch(n){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(_w()){case lg:return 2;case cg:return 8;case al:case Ew:return 32;case ug:return 268435456;default:return 32}default:return 32}}var ih=!1,Fa=null,Wa=null,Ya=null,io=new Map,so=new Map,$a=[],BN="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 tx(n,a){switch(n){case"focusin":case"focusout":Fa=null;break;case"dragenter":case"dragleave":Wa=null;break;case"mouseover":case"mouseout":Ya=null;break;case"pointerover":case"pointerout":io.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":so.delete(a.pointerId)}}function ro(n,a,r,l,d,h){return n===null||n.nativeEvent!==h?(n={blockedOn:a,domEventName:r,eventSystemFlags:l,nativeEvent:h,targetContainers:[d]},a!==null&&(a=ns(a),a!==null&&Zb(a)),n):(n.eventSystemFlags|=l,a=n.targetContainers,d!==null&&a.indexOf(d)===-1&&a.push(d),n)}function zN(n,a,r,l,d){switch(a){case"focusin":return Fa=ro(Fa,n,a,r,l,d),!0;case"dragenter":return Wa=ro(Wa,n,a,r,l,d),!0;case"mouseover":return Ya=ro(Ya,n,a,r,l,d),!0;case"pointerover":var h=d.pointerId;return io.set(h,ro(io.get(h)||null,n,a,r,l,d)),!0;case"gotpointercapture":return h=d.pointerId,so.set(h,ro(so.get(h)||null,n,a,r,l,d)),!0}return!1}function nx(n){var a=ts(n.target);if(a!==null){var r=c(a);if(r!==null){if(a=r.tag,a===13){if(a=u(r),a!==null){n.blockedOn=a,gg(n.priority,function(){Jb(r)});return}}else if(a===31){if(a=p(r),a!==null){n.blockedOn=a,gg(n.priority,function(){Jb(r)});return}}else if(a===3&&r.stateNode.current.memoizedState.isDehydrated){n.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}n.blockedOn=null}function mc(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var r=nh(n.nativeEvent);if(r===null){r=n.nativeEvent;var l=new r.constructor(r.type,r);nd=l,r.target.dispatchEvent(l),nd=null}else return a=ns(r),a!==null&&Zb(a),n.blockedOn=r,!1;a.shift()}return!0}function ax(n,a,r){mc(n)&&r.delete(a)}function PN(){ih=!1,Fa!==null&&mc(Fa)&&(Fa=null),Wa!==null&&mc(Wa)&&(Wa=null),Ya!==null&&mc(Ya)&&(Ya=null),io.forEach(ax),so.forEach(ax)}function gc(n,a){n.blockedOn===a&&(n.blockedOn=null,ih||(ih=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,PN)))}var yc=null;function ix(n){yc!==n&&(yc=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){yc===n&&(yc=null);for(var a=0;a<n.length;a+=3){var r=n[a],l=n[a+1],d=n[a+2];if(typeof l!="function"){if(ah(l||r)===null)continue;break}var h=ns(r);h!==null&&(n.splice(a,3),a-=3,tf(h,{pending:!0,data:d,method:r.method,action:l},l,d))}}))}function Is(n){function a(N){return gc(N,n)}Fa!==null&&gc(Fa,n),Wa!==null&&gc(Wa,n),Ya!==null&&gc(Ya,n),io.forEac
9h(a),so.forEach(a);for(var r=0;r<$a.length;r++){var l=$a[r];l.blockedOn===n&&(l.blockedOn=null)}for(;0<$a.length&&(r=$a[0],r.blockedOn===null);)nx(r),r.blockedOn===null&&$a.shift();if(r=(n.ownerDocument||n).$$reactFormReplay,r!=null)for(l=0;l<r.length;l+=3){var d=r[l],h=r[l+1],b=d[Rt]||null;if(typeof h=="function")b||ix(r);else if(b){var S=null;if(h&&h.hasAttribute("formAction")){if(d=h,b=h[Rt]||null)S=b.formAction;else if(ah(d)!==null)continue}else S=b.action;typeof S=="function"?r[l+1]=S:(r.splice(l,3),l-=3),ix(r)}}}function sx(){function n(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(b){return d=b})},focusReset:"manual",scroll:"manual"})}function a(){d!==null&&(d(),d=null),l||setTimeout(r,20)}function r(){if(!l&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,d=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(r,100),function(){l=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),d!==null&&(d(),d=null)}}}function sh(n){this._internalRoot=n}vc.prototype.render=sh.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(s(409));var r=a.current,l=Xt();Kb(r,l,n,a,null,null)},vc.prototype.unmount=sh.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;Kb(n.current,2,null,n,null,null),Zl(),a[es]=null}};function vc(n){this._internalRoot=n}vc.prototype.unstable_scheduleHydration=function(n){if(n){var a=mg();n={blockedOn:null,target:n,priority:a};for(var r=0;r<$a.length&&a!==0&&a<$a[r].priority;r++);$a.splice(r,0,n),r===0&&nx(n)}};var rx=t.version;if(rx!=="19.2.3")throw Error(s(527,rx,"19.2.3"));F.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(s(188)):(n=Object.keys(n).join(","),Error(s(268,n)));return n=g(a),n=n!==null?v(n):null,n=n===null?null:n.stateNode,n};var VN={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var bc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bc.isDisabled&&bc.supportsFiber)try{mr=bc.inject(VN),Vt=bc}catch{}}return lo.createRoot=function(n,a){if(!o(n))throw Error(s(299));var r=!1,l="",d=hv,h=pv,b=mv;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(d=a.onUncaughtError),a.onCaughtError!==void 0&&(h=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError)),a=$b(n,1,!1,null,null,r,l,null,d,h,b,sx),n[es]=a.current,Pf(n),new sh(a)},lo.hydrateRoot=function(n,a,r){if(!o(n))throw Error(s(299));var l=!1,d="",h=hv,b=pv,S=mv,N=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(d=r.identifierPrefix),r.onUncaughtError!==void 0&&(h=r.onUncaughtError),r.onCaughtError!==void 0&&(b=r.onCaughtError),r.onRecoverableError!==void 0&&(S=r.onRecoverableError),r.formState!==void 0&&(N=r.formState)),a=$b(n,1,!0,a,r??null,l,d,N,h,b,S,sx),a.context=Xb(null),r=a.current,l=Xt(),l=$u(l),d=Da(l),d.callback=null,Oa(r,d,l),r=l,a.current.lanes=r,yr(a,r),Dn(a),n[es]=a.current,Pf(n),new vc(a)},lo.version="19.2.3",lo}var gx;function ZN(){if(gx)return lh.exports;gx=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(t){console.error(t)}}return e(),lh.exports=QN(),lh.exports}var JN=ZN();const e2=pT(JN);var Xp=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,mT=/^[\\/]{2}/;function t2(e,t){return t+e.replace(/\\/g,"/")}var yx="popstate";function vx(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function n2(e={}){function t(s,o){let c=o.state?.masked,{pathname:u,search:p,hash:m}=c||s.location;return Kh("",{pathname:u,search:p,hash:m},o.state&&o.state.usr||null,o.state&&o.state.key||"default",c?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}
9function i(s,o){return typeof o=="string"?o:_o(o)}return i2(t,i,null,e)}function $e(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Pn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function a2(){return Math.random().toString(36).substring(2,10)}function bx(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Kh(e,t,i=null,s,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?nr(t):t,state:i,key:t&&t.key||s||a2(),mask:o}}function _o({pathname:e="/",search:t="",hash:i=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function nr(e){let t={};if(e){let i=e.indexOf("#");i>=0&&(t.hash=e.substring(i),e=e.substring(0,i));let s=e.indexOf("?");s>=0&&(t.search=e.substring(s),e=e.substring(0,s)),e&&(t.pathname=e)}return t}function i2(e,t,i,s={}){let{window:o=document.defaultView,v5Compat:c=!1}=s,u=o.history,p="POP",m=null,g=v();g==null&&(g=0,u.replaceState({...u.state,idx:g},""));function v(){return(u.state||{idx:null}).idx}function y(){p="POP";let A=v(),R=A==null?null:A-g;g=A,m&&m({action:p,location:j.location,delta:R})}function x(A,R){p="PUSH";let M=vx(A)?A:Kh(j.location,A,R);g=v()+1;let I=bx(M,g),W=j.createHref(M.mask||M);try{u.pushState(I,"",W)}catch(V){if(V instanceof DOMException&&V.name==="DataCloneError")throw V;o.location.assign(W)}c&&m&&m({action:p,location:j.location,delta:1})}function _(A,R){p="REPLACE";let M=vx(A)?A:Kh(j.location,A,R);g=v();let I=bx(M,g),W=j.createHref(M.mask||M);u.replaceState(I,"",W),c&&m&&m({action:p,location:j.location,delta:0})}function T(A){return s2(o,A)}let j={get action(){return p},get location(){return e(o,u)},listen(A){if(m)throw new Error("A history only accepts one active listener");return o.addEventListener(yx,y),m=A,()=>{o.removeEventListener(yx,y),m=null}},createHref(A){return t(o,A)},createURL:T,encodeLocation(A){let R=T(A);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:x,replace:_,go(A){return u.go(A)}};return j}function s2(e,t,i=!1){let s="http://localhost";e&&(s=e.location.origin!=="null"?e.location.origin:e.location.href),$e(s,"No window.location.(origin|href) available to create URL");let o=typeof t=="string"?t:_o(t);return o=o.replace(/ $/,"%20"),!i&&mT.test(o)&&(o=s+o),new URL(o,s)}function gT(e,t,i="/"){return r2(e,t,i,!1)}function r2(e,t,i,s,o){let c=typeof t=="string"?nr(t):t,u=ma(c.pathname||"/",i);if(u==null)return null;let p=o2(e),m=null,g=v2(u);for(let v=0;m==null&&v<p.length;++v)m=y2(p[v],g,s);return m}function o2(e){let t=yT(e);return l2(t),t}function yT(e,t=[],i=[],s="",o=!1){let c=(u,p,m=o,g)=>{let v={relativePath:g===void 0?u.path||"":g,caseSensitive:u.caseSensitive===!0,childrenIndex:p,route:u};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(s)&&m)return;$e(v.relativePath.startsWith(s),`Absolute route path "${v.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(s.length)}let y=An([s,v.relativePath]),x=i.concat(v);u.children&&u.children.length>0&&($e(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),yT(u.children,t,x,y,m)),!(u.path==null&&!u.index)&&t.push({path:y,score:m2(y,u.index),routesMeta:x.map((_,T)=>{let[j,A]=xT(_.relativePath,_.caseSensitive,T===x.length-1);return{..._,matcher:j,compiledParams:A}})})};return e.forEach((u,p)=>{if(u.path===""||!u.path?.includes("?"))c(u,p);else for(let m of vT(u.path))c(u,p,!0,m)}),t}function vT(e){let t=e.split("/");if(t.length===0)return[];let[i,...s]=t,o=i.endsWith("?"),c=i.replace(/\?$/,"");if(s.length===0)return o?[c,""]:[c];let u=vT(s.join("/")),p=[];return p.push(...u.map(m=>m===""?c:[c,m].join("/"))),o&&p.push(...u),p.map(m=>e.startsWith("/")&&m===""?"/":m)}function l2(e){e.sort((t,i)=>t.score!==i.score?i.score-t.score:g2(t.routesMeta.map(s=>s.childrenIndex),i.routesMeta.map(s=>s.childrenIndex)))}var c2=/^:[\w-]+$/,u2=3,d2=2,f2=1,h2=10,p2=-2,xx=e=>e==="*";function m2(e,t){let i=e.split("/"),s=i.length;return i.some(xx)&&(s+=p2),t&&(s+=d2),i.filter(o=>!xx(o)).reduce((o,c)=>o+(c2.test(c)?u2:c===""?f2:h2),s)}function g2(e,t){return e.length===t.length&&e.slice(0,-1).every((s,o)=>s===t[o])?e[e.length-1]-t[t.length-1]:0}function y2(e,t,i=!1){let{routesMeta:s}=e,o={},c="/",u=[];for(let p=0;p<s.length;++p){let m=s[p],g=p===s.length-1,v=c==="/"?t:t.slice(c.length)||"/",y={path:m.relativePath,caseSensitive:m.caseSensitive,end:g},x=m.matcher&&m.compiledParams?bT(y,v,m.matcher,m.compiledParams):Zc(y,v),_=m.route;if(!x&&g&&i&&!s[s.length-1].route.index&&(x=Zc({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},v)),!x)return null;
9Object.assign(o,x.params),u.push({params:o,pathname:An([c,x.pathname]),pathnameBase:S2(An([c,x.pathnameBase])),route:_}),x.pathnameBase!=="/"&&(c=An([c,x.pathnameBase]))}return u}function Zc(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[i,s]=xT(e.path,e.caseSensitive,e.end);return bT(e,t,i,s)}function bT(e,t,i,s){let o=t.match(i);if(!o)return null;let c=o[0],u=c.replace(/(.)\/+$/,"$1"),p=o.slice(1);return{params:s.reduce((g,{paramName:v,isOptional:y},x)=>{if(v==="*"){let T=p[x]||"";u=c.slice(0,c.length-T.length).replace(/(.)\/+$/,"$1")}const _=p[x];return y&&!_?g[v]=void 0:g[v]=(_||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:u,pattern:e}}function xT(e,t=!1,i=!0){Pn(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 s=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,p,m,g,v)=>{if(s.push({paramName:p,isOptional:m!=null}),m){let y=v.charAt(g+u.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(s.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),s]}function v2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Pn(!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 (${t}).`),e}}function ma(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let i=t.endsWith("/")?t.length-1:t.length,s=e.charAt(i);return s&&s!=="/"?null:e.slice(i)||"/"}function b2(e,t="/"){let{pathname:i,search:s="",hash:o=""}=typeof e=="string"?nr(e):e,c;return i?(i=TT(i),i.startsWith("/")?c=Sx(i.substring(1),"/"):c=Sx(i,t)):c=t,{pathname:c,search:T2(s),hash:_2(o)}}function Sx(e,t){let i=Jc(t).split("/");return e.split("/").forEach(o=>{o===".."?i.length>1&&i.pop():o!=="."&&i.push(o)}),i.length>1?i.join("/"):"/"}function fh(e,t,i,s){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(s)}].  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 x2(e){return e.filter((t,i)=>i===0||t.route.path&&t.route.path.length>0)}function ST(e){let t=x2(e);return t.map((i,s)=>s===t.length-1?i.pathname:i.pathnameBase)}function Kp(e,t,i,s=!1){let o;typeof e=="string"?o=nr(e):(o={...e},$e(!o.pathname||!o.pathname.includes("?"),fh("?","pathname","search",o)),$e(!o.pathname||!o.pathname.includes("#"),fh("#","pathname","hash",o)),$e(!o.search||!o.search.includes("#"),fh("#","search","hash",o)));let c=e===""||o.pathname==="",u=c?"/":o.pathname,p;if(u==null)p=i;else{let y=t.length-1;if(!s&&u.startsWith("..")){let x=u.split("/");for(;x[0]==="..";)x.shift(),y-=1;o.pathname=x.join("/")}p=y>=0?t[y]:"/"}let m=b2(o,p),g=u&&u!=="/"&&u.endsWith("/"),v=(c||u===".")&&i.endsWith("/");return!m.pathname.endsWith("/")&&(g||v)&&(m.pathname+="/"),m}var TT=e=>e.replace(/[\\/]{2,}/g,"/"),An=e=>TT(e.join("/")),Jc=e=>e.replace(/\/+$/,""),S2=e=>Jc(e).replace(/^\/*/,"/"),T2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,_2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,E2=class{constructor(e,t,i,s=!1){this.status=e,this.statusText=t||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function w2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function A2(e){let t=e.map(i=>i.route.path).filter(Boolean);return An(t)||"/"}var _T=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ET(e,t){let i=e;
9if(typeof i!="string"||!Xp.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let s=i,o=!1;if(_T)try{let c=new URL(window.location.href),u=mT.test(i)?new URL(t2(i,c.protocol)):new URL(i),p=ma(u.pathname,t);u.origin===c.origin&&p!=null?i=p+u.search+u.hash:o=!0}catch{Pn(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:o,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var wT=["POST","PUT","PATCH","DELETE"];new Set(wT);var N2=["GET",...wT];new Set(N2);var j2=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function C2(e){try{return j2.includes(new URL(e).protocol)}catch{return!1}}var ar=w.createContext(null);ar.displayName="DataRouter";var xu=w.createContext(null);xu.displayName="DataRouterState";var AT=w.createContext(!1);function R2(){return w.useContext(AT)}var NT=w.createContext({isTransitioning:!1});NT.displayName="ViewTransition";var k2=w.createContext(new Map);k2.displayName="Fetchers";var M2=w.createContext(null);M2.displayName="Await";var xn=w.createContext(null);xn.displayName="Navigation";var Io=w.createContext(null);Io.displayName="Location";var va=w.createContext({outlet:null,matches:[],isDataRoute:!1});va.displayName="Route";var Qp=w.createContext(null);Qp.displayName="RouteError";var jT="REACT_ROUTER_ERROR",D2="REDIRECT",O2="ROUTE_ERROR_RESPONSE";function L2(e){if(e.startsWith(`${jT}:${D2}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function U2(e){if(e.startsWith(`${jT}:${O2}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new E2(t.status,t.statusText,t.data)}catch{}}function I2(e,{relative:t}={}){$e(Bo(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:s}=w.useContext(xn),{hash:o,pathname:c,search:u}=zo(e,{relative:t}),p=c;return i!=="/"&&(p=c==="/"?i:An([i,c])),s.createHref({pathname:p,search:u,hash:o})}function Bo(){return w.useContext(Io)!=null}function Cn(){return $e(Bo(),"useLocation() may be used only in the context of a <Router> component."),w.useContext(Io).location}var CT="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function RT(e){w.useContext(xn).static||w.useLayoutEffect(e)}function B2(){let{isDataRoute:e}=w.useContext(va);return e?Q2():z2()}function z2(){$e(Bo(),"useNavigate() may be used only in the context of a <Router> component.");let e=w.useContext(ar),{basename:t,navigator:i}=w.useContext(xn),{matches:s}=w.useContext(va),{pathname:o}=Cn(),c=JSON.stringify(ST(s)),u=w.useRef(!1);return RT(()=>{u.current=!0}),w.useCallback((m,g={})=>{if(Pn(u.current,CT),!u.current)return;if(typeof m=="number"){i.go(m);return}let v=Kp(m,JSON.parse(c),o,g.relative==="path");e==null&&t!=="/"&&(v.pathname=v.pathname==="/"?t:An([t,v.pathname])),(g.replace?i.replace:i.push)(v,g.state,g)},[t,i,c,o,e])}w.createContext(null);function zo(e,{relative:t}={}){let{matches:i}=w.useContext(va),{pathname:s}=Cn(),o=JSON.stringify(ST(i));return w.useMemo(()=>Kp(e,JSON.parse(o),s,t==="path"),[e,o,s,t])}function P2(e,t){return kT(e,t)}function kT(e,t,i){$e(Bo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=w.useContext(xn),{matches:o}=w.useContext(va),c=o[o.length-1],u=c?c.params:{},p=c?c.pathname:"/",m=c?c.pathnameBase:"/",g=c&&c.route;{let A=g&&g.path||"";DT(p,!g||A.endsWith("*")||A.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${A}">) 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.
10
11Please change the parent <Route path="${A}"> to <Route path="${A==="/"?"*":`${A}/*`}">.`)}let v=Cn(),y;if(t){let A=typeof t=="string"?nr(t):t;$e(m==="/"||A.pathname?.startsWith(m),`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 "${m}" but pathname "${A.pathname}" was given in the \`location\` prop.`),y=A}else y=v;let x=y.pathname||"/",_=x;if(m!=="/"){let A=m.replace(/^\//,"").split("/");_="/"+x.replace(/^\//,"").split("/").slice(A.length).join("/")}let T=i&&i.state.matches.length?i.state.matches.map(A=>Object.assign(A,{route:i.manifest[A.route.id]||A.route})):gT(e,{pathname:_});Pn(g||T!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Pn(T==null||T[T.length-1].route.element!==void 0||T[T.length-1].route.Component!==void 0||T[T.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.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 j=F2(T&&T.map(A=>Object.assign({},A,{params:Object.assign({}
11,u,A.params),pathname:An([m,s.encodeLocation?s.encodeLocation(A.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathname]),pathnameBase:A.pathnameBase==="/"?m:An([m,s.encodeLocation?s.encodeLocation(A.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathnameBase])})),o,i);return t&&j?w.createElement(Io.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...y},navigationType:"POP"}},j):j}function V2(){let e=K2(),t=w2(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,s="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=w.createElement(w.Fragment,null,w.createElement("p",null,"💿 Hey developer 👋"),w.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w.createElement("code",{style:c},"ErrorBoundary")," or"," ",w.createElement("code",{style:c},"errorElement")," prop on your route.")),w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),i?w.createElement("pre",{style:o},i):null,u)}var H2=w.createElement(V2,null),MT=class extends w.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const i=U2(e.digest);i&&(e=i)}let t=e!==void 0?w.createElement(va.Provider,{value:this.props.routeContext},w.createElement(Qp.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?w.createElement(q2,{error:e},t):t}};MT.contextType=AT;var hh=new WeakMap;function q2({children:e,error:t}){let{basename:i}=w.useContext(xn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let s=L2(t.digest);if(s){let o=hh.get(t);if(o)throw o;let c=ET(s.location,i),u=c.absoluteURL||c.to;if(C2(u))throw new Error("Invalid redirect location");if(_T&&!hh.get(t))if(c.isExternal||s.reloadDocument)window.location.href=u;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:s.replace}));throw hh.set(t,p),p}return w.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u}`})}}return e}function G2({routeContext:e,match:t,children:i}){let s=w.useContext(ar);return s&&s.static&&s.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=t.route.id),w.createElement(va.Provider,{value:e},i)}function F2(e,t=[],i){let s=i?.state;if(e==null){if(!s)return null;if(s.errors)e=s.matches;else if(t.length===0&&!s.initialized&&s.matches.length>0)e=s.matches;else return null}let o=e,c=s?.errors;if(c!=null){let v=o.findIndex(y=>y.route.id&&c?.[y.route.id]!==void 0);$e(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),o=o.slice(0,Math.min(o.length,v+1))}let u=!1,p=-1;if(i&&s){u=s.renderFallback;for(let v=0;v<o.length;v++){let y=o[v];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(p=v),y.route.id){let{loaderData:x,errors:_}=s,T=y.route.loader&&!x.hasOwnProperty(y.route.id)&&(!_||_[y.route.id]===void 0);if(y.route.lazy||T){i.isStatic&&(u=!0),p>=0?o=o.slice(0,p+1):o=[o[0]];break}}}}let m=i?.onError,g=s&&m?(v,y)=>{m(v,{location:s.location,params:s.matches?.[0]?.params??{},pattern:A2(s.matches),errorInfo:y})}:void 0;return o.reduceRight((v,y,x)=>{let _,T=!1,j=null,A=null;s&&(_=c&&y.route.id?c[y.route.id]:void 0,j=y.route.errorElement||H2,u&&(p<0&&x===0?(DT("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,A=null):p===x&&(T=!0,A=y.route.hydrateFallbackElement||null)));let R=t.concat(o.slice(0,x+1)),M=()=>{let I;return _?I=j:T?I=A:y.route.Component?I=w.createElement(y.route.Component,null):y.route.element?I=y.route.element:I=v,w.createElement(G2,{match:y,routeContext:{outlet:v,matches:R,isDataRoute:s!=null},children:I})};return s&&(y.route.ErrorBoundary||y.route.errorElement||x===0)?w.createElement(MT,{location:s.location,revalidation:s.revalidation,component:j,error:_,children:M(),routeC
11ontext:{outlet:null,matches:R,isDataRoute:!0},onError:g}):M()},null)}function Zp(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function W2(e){let t=w.useContext(ar);return $e(t,Zp(e)),t}function Y2(e){let t=w.useContext(xu);return $e(t,Zp(e)),t}function $2(e){let t=w.useContext(va);return $e(t,Zp(e)),t}function Jp(e){let t=$2(e),i=t.matches[t.matches.length-1];return $e(i.route.id,`${e} can only be used on routes that contain a unique "id"`),i.route.id}function X2(){return Jp("useRouteId")}function K2(){let e=w.useContext(Qp),t=Y2("useRouteError"),i=Jp("useRouteError");return e!==void 0?e:t.errors?.[i]}function Q2(){let{router:e}=W2("useNavigate"),t=Jp("useNavigate"),i=w.useRef(!1);return RT(()=>{i.current=!0}),w.useCallback(async(o,c={})=>{Pn(i.current,CT),i.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:t,...c}))},[e,t])}var Tx={};function DT(e,t,i){!t&&!Tx[e]&&(Tx[e]=!0,Pn(!1,i))}w.memo(Z2);function Z2({routes:e,manifest:t,future:i,state:s,isStatic:o,onError:c}){return kT(e,void 0,{manifest:t,state:s,isStatic:o,onError:c})}function On(e){$e(!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 J2({basename:e="/",children:t=null,location:i,navigationType:s="POP",navigator:o,static:c=!1,useTransitions:u}){$e(!Bo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=e.replace(/^\/*/,"/"),m=w.useMemo(()=>({basename:p,navigator:o,static:c,useTransitions:u,future:{}}),[p,o,c,u]);typeof i=="string"&&(i=nr(i));let{pathname:g="/",search:v="",hash:y="",state:x=null,key:_="default",mask:T}=i,j=w.useMemo(()=>{let A=ma(g,p);return A==null?null:{location:{pathname:A,search:v,hash:y,state:x,key:_,mask:T},navigationType:s}},[p,g,v,y,x,_,s,T]);return Pn(j!=null,`<Router basename="${p}"> is not able to match the URL "${g}${v}${y}" because it does not start with the basename, so the <Router> won't render anything.`),j==null?null:w.createElement(xn.Provider,{value:m},w.createElement(Io.Provider,{children:t,value:j}))}function ej({children:e,location:t}){return P2(Qh(e),t)}function Qh(e,t=[]){let i=[];return w.Children.forEach(e,(s,o)=>{if(!w.isValidElement(s))return;let c=[...t,o];if(s.type===w.Fragment){i.push.apply(i,Qh(s.props.children,c));return}$e(s.type===On,`[${typeof s.type=="string"?s.type:s.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),$e(!s.props.index||!s.props.children,"An index route cannot have child routes.");let u={id:s.props.id||c.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(u.children=Qh(s.props.children,c)),i.push(u)}),i}var Lc="get",Uc="application/x-www-form-urlencoded";function Su(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function tj(e){return Su(e)&&e.tagName.toLowerCase()==="button"}function nj(e){return Su(e)&&e.tagName.toLowerCase()==="form"}function aj(e){return Su(e)&&e.tagName.toLowerCase()==="input"}function ij(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function sj(e,t){return e.button===0&&(!t||t==="_self")&&!ij(e)}var xc=null;function rj(){if(xc===null)try{new FormData(document.createElement("form"),0),xc=!1}catch{xc=!0}return xc}var oj=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ph(e){return e!=null&&!oj.has(e)?(Pn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Uc}"`),null):e}function lj(e,t){let i,s,o,c,u;if(nj(e)){let p=e.getAttribute("action");s=p?ma(p,t):null,i=e.getAttribute("method")||Lc,o=ph(e.getAttribute("enctype"))||Uc,c=new FormData(e)}else if(tj(e)||aj(e)&&(e.type==="submit"||e.type==="image")){let p=e.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=e.getAttribute("formaction")||p.getAttribute("action");if(s=m?ma(m,t):null,i=e.getAttribute("formmethod")||p.getAttribute("method")||Lc,o=ph(e.getAttribute("formenctype"))||ph(p.getAttribute("enctype"))||Uc,c=new FormData(p,e),!rj()){let{name:g,type:v,value:y}=e;if(v==="image"){let x=g?`${g}.`:"";c.append(`${x}x`,"0"),c.append(`${x}y`,"0")}else g&&c.append(g,y)}}else{if(Su(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
11i=Lc,s=null,o=Uc,u=e}return c&&o==="text/plain"&&(u=c,c=void 0),{action:s,method:i.toLowerCase(),encType:o,formData:c,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function em(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function OT(e,t,i,s){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return i?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${s}`:o.pathname=`${o.pathname}.${s}`:o.pathname==="/"?o.pathname=`_root.${s}`:t&&ma(o.pathname,t)==="/"?o.pathname=`${Jc(t)}/_root.${s}`:o.pathname=`${Jc(o.pathname)}.${s}`,o}async function cj(e,t){if(e.id in t)return t[e.id];try{let i=await import(e.module);return t[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 uj(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 dj(e,t,i){let s=await Promise.all(e.map(async o=>{let c=t.routes[o.route.id];if(c){let u=await cj(c,i);return u.links?u.links():[]}return[]}));return mj(s.flat(1).filter(uj).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function _x(e,t,i,s,o,c){let u=(m,g)=>i[g]?m.route.id!==i[g].route.id:!0,p=(m,g)=>i[g].pathname!==m.pathname||i[g].route.path?.endsWith("*")&&i[g].params["*"]!==m.params["*"];return c==="assets"?t.filter((m,g)=>u(m,g)||p(m,g)):c==="data"?t.filter((m,g)=>{let v=s.routes[m.route.id];if(!v||!v.hasLoader)return!1;if(u(m,g)||p(m,g))return!0;if(m.route.shouldRevalidate){let y=m.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:i[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof y=="boolean")return y}return!0}):[]}function fj(e,t,{includeHydrateFallback:i}={}){return hj(e.map(s=>{let o=t.routes[s.route.id];if(!o)return[];let c=[o.module];return o.clientActionModule&&(c=c.concat(o.clientActionModule)),o.clientLoaderModule&&(c=c.concat(o.clientLoaderModule)),i&&o.hydrateFallbackModule&&(c=c.concat(o.hydrateFallbackModule)),o.imports&&(c=c.concat(o.imports)),c}).flat(1))}function hj(e){return[...new Set(e)]}function pj(e){let t={},i=Object.keys(e).sort();for(let s of i)t[s]=e[s];return t}function mj(e,t){let i=new Set;return new Set(t),e.reduce((s,o)=>{let c=JSON.stringify(pj(o));return i.has(c)||(i.add(c),s.push({key:c,link:o})),s},[])}function tm(){let e=w.useContext(ar);return em(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function gj(){let e=w.useContext(xu);return em(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var nm=w.createContext(void 0);nm.displayName="FrameworkContext";function Tu(){let e=w.useContext(nm);return em(e,"You must render this element inside a <HydratedRouter> element"),e}function yj(e,t){let i=w.useContext(nm),[s,o]=w.useState(!1),[c,u]=w.useState(!1),{onFocus:p,onBlur:m,onMouseEnter:g,onMouseLeave:v,onTouchStart:y}=t,x=w.useRef(null);w.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let j=R=>{R.forEach(M=>{u(M.isIntersecting)})},A=new IntersectionObserver(j,{threshold:.5});return x.current&&A.observe(x.current),()=>{A.disconnect()}}},[e]),w.useEffect(()=>{if(s){let j=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(j)}}},[s]);let _=()=>{o(!0)},T=()=>{o(!1),u(!1)};return i?e!=="intent"?[c,x,{}]:[c,x,{onFocus:co(p,_),onBlur:co(m,T),onMouseEnter:co(g,_),onMouseLeave:co(v,T),onTouchStart:co(y,_)}]:[!1,x,{}]}function co(e,t){return i=>{e&&e(i),i.defaultPrevented||t(i)}}function vj({page:e,...t}){let i=R2(),{nonce:s}=Tu(),{router:o}=tm(),c=w.useMemo(()=>gT(o.routes,e,o.basename),[o.routes,e,o.basename]);return c?(t.nonce==null&&s&&(t={...t,nonce:s}),i?w.createElement(xj,{page:e,matches:c,...t}):w.createElement(Sj,{page:e,matches:c,...t})):null}function bj(e){let{manifest:t,routeModules:i}=Tu(),[s,o]=w.useState([]);return w.useEffect(()=>{let c=!1;return dj(e,t,i).then(u=>{c||o(u)}
11),()=>{c=!0}},[e,t,i]),s}function xj({page:e,matches:t,...i}){let s=Cn(),{future:o}=Tu(),{basename:c}=tm(),u=w.useMemo(()=>{if(e===s.pathname+s.search+s.hash)return[];let p=OT(e,c,o.v8_trailingSlashAwareDataRequests,"rsc"),m=!1,g=[];for(let v of t)typeof v.route.shouldRevalidate=="function"?m=!0:g.push(v.route.id);return m&&g.length>0&&p.searchParams.set("_routes",g.join(",")),[p.pathname+p.search]},[c,o.v8_trailingSlashAwareDataRequests,e,s,t]);return w.createElement(w.Fragment,null,u.map(p=>w.createElement("link",{key:p,rel:"prefetch",as:"fetch",href:p,...i})))}function Sj({page:e,matches:t,...i}){let s=Cn(),{future:o,manifest:c,routeModules:u}=Tu(),{basename:p}=tm(),{loaderData:m,matches:g}=gj(),v=w.useMemo(()=>_x(e,t,g,c,s,"data"),[e,t,g,c,s]),y=w.useMemo(()=>_x(e,t,g,c,s,"assets"),[e,t,g,c,s]),x=w.useMemo(()=>{if(e===s.pathname+s.search+s.hash)return[];let j=new Set,A=!1;if(t.forEach(M=>{let I=c.routes[M.route.id];!I||!I.hasLoader||(!v.some(W=>W.route.id===M.route.id)&&M.route.id in m&&u[M.route.id]?.shouldRevalidate||I.hasClientLoader?A=!0:j.add(M.route.id))}),j.size===0)return[];let R=OT(e,p,o.v8_trailingSlashAwareDataRequests,"data");return A&&j.size>0&&R.searchParams.set("_routes",t.filter(M=>j.has(M.route.id)).map(M=>M.route.id).join(",")),[R.pathname+R.search]},[p,o.v8_trailingSlashAwareDataRequests,m,s,c,v,t,e,u]),_=w.useMemo(()=>fj(y,c),[y,c]),T=bj(y);return w.createElement(w.Fragment,null,x.map(j=>w.createElement("link",{key:j,rel:"prefetch",as:"fetch",href:j,...i})),_.map(j=>w.createElement("link",{key:j,rel:"modulepreload",href:j,...i})),T.map(({key:j,link:A})=>w.createElement("link",{key:j,nonce:i.nonce,...A,crossOrigin:A.crossOrigin??i.crossOrigin})))}function Tj(...e){return t=>{e.forEach(i=>{typeof i=="function"?i(t):i!=null&&(i.current=t)})}}var _j=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{_j&&(window.__reactRouterVersion="7.18.2")}catch{}function Ej({basename:e,children:t,useTransitions:i,window:s}){let o=w.useRef();o.current==null&&(o.current=n2({window:s,v5Compat:!0}));let c=o.current,[u,p]=w.useState({action:c.action,location:c.location}),m=w.useCallback(g=>{i===!1?p(g):w.startTransition(()=>p(g))},[i]);return w.useLayoutEffect(()=>c.listen(m),[c,m]),w.createElement(J2,{basename:e,children:t,location:u.location,navigationType:u.action,navigator:c,useTransitions:i})}var LT=w.forwardRef(function({onClick:t,discover:i="render",prefetch:s="none",relative:o,reloadDocument:c,replace:u,mask:p,state:m,target:g,to:v,preventScrollReset:y,viewTransition:x,defaultShouldRevalidate:_,...T},j){let{basename:A,navigator:R,useTransitions:M}=w.useContext(xn),I=typeof v=="string"&&Xp.test(v),W=ET(v,A);v=W.to;let V=I2(v,{relative:o}),ee=Cn(),H=null;if(p){let ge=Kp(p,[],ee.mask?ee.mask.pathname:"/",!0);A!=="/"&&(ge.pathname=ge.pathname==="/"?A:An([A,ge.pathname])),H=R.createHref(ge)}let[X,fe,J]=yj(s,T),ue=jj(v,{replace:u,mask:p,state:m,target:g,preventScrollReset:y,relative:o,viewTransition:x,defaultShouldRevalidate:_,useTransitions:M});function Se(ge){t&&t(ge),ge.defaultPrevented||ue(ge)}let ve=!(W.isExternal||c),he=w.createElement("a",{...T,...J,href:(ve?H:void 0)||W.absoluteURL||V,onClick:ve?Se:t,ref:Tj(j,fe),target:g,"data-discover":!I&&i==="render"?"true":void 0});return X&&!I?w.createElement(w.Fragment,null,he,w.createElement(vj,{page:V})):he});LT.displayName="Link";var wj=w.forwardRef(function({"aria-current":t="page",caseSensitive:i=!1,className:s="",end:o=!1,style:c,to:u,viewTransition:p,children:m,...g},v){let y=zo(u,{relative:g.relative}),x=Cn(),_=w.useContext(xu),{navigator:T,basename:j}=w.useContext(xn),A=_!=null&&Dj(y)&&p===!0,R=T.encodeLocation?T.encodeLocation(y).pathname:y.pathname,M=x.pathname,I=_&&_.navigation&&_.navigation.location?_.navigation.location.pathname:null;i||(M=M.toLowerCase(),I=I?I.toLowerCase():null,R=R.toLowerCase()),I&&j&&(I=ma(I,j)||I);const W=R!=="/"&&R.endsWith("/")?R.length-1:R.length;let V=M===R||!o&&M.startsWith(R)&&M.charAt(W)==="/",ee=I!=null&&(I===R||!o&&I.startsWith(R)&&I.charAt(R.length)==="/"),H={isActive:V,isPending:ee,isTransitioning:A},X=V?t:void 0,fe;typeof s=="function"?fe=s(H):fe=[s,V?"active":null,ee?"pending":null,A?"transitioning":null].filter(
11Boolean).join(" ");let J=typeof c=="function"?c(H):c;return w.createElement(LT,{...g,"aria-current":X,className:fe,ref:v,style:J,to:u,viewTransition:p},typeof m=="function"?m(H):m)});wj.displayName="NavLink";var Aj=w.forwardRef(({discover:e="render",fetcherKey:t,navigate:i,reloadDocument:s,replace:o,state:c,method:u=Lc,action:p,onSubmit:m,relative:g,preventScrollReset:v,viewTransition:y,defaultShouldRevalidate:x,..._},T)=>{let{useTransitions:j}=w.useContext(xn),A=kj(),R=Mj(p,{relative:g}),M=u.toLowerCase()==="get"?"get":"post",I=typeof p=="string"&&Xp.test(p),W=V=>{if(m&&m(V),V.defaultPrevented)return;V.preventDefault();let ee=V.nativeEvent.submitter,H=ee?.getAttribute("formmethod")||u,X=()=>A(ee||V.currentTarget,{fetcherKey:t,method:H,navigate:i,replace:o,state:c,relative:g,preventScrollReset:v,viewTransition:y,defaultShouldRevalidate:x});j&&i!==!1?w.startTransition(()=>X()):X()};return w.createElement("form",{ref:T,method:M,action:R,onSubmit:s?m:W,..._,"data-discover":!I&&e==="render"?"true":void 0})});Aj.displayName="Form";function Nj(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function UT(e){let t=w.useContext(ar);return $e(t,Nj(e)),t}function jj(e,{target:t,replace:i,mask:s,state:o,preventScrollReset:c,relative:u,viewTransition:p,defaultShouldRevalidate:m,useTransitions:g}={}
11){let v=B2(),y=Cn(),x=zo(e,{relative:u});return w.useCallback(_=>{if(sj(_,t)){_.preventDefault();let T=i!==void 0?i:_o(y)===_o(x),j=()=>v(e,{replace:T,mask:s,state:o,preventScrollReset:c,relative:u,viewTransition:p,defaultShouldRevalidate:m});g?w.startTransition(()=>j()):j()}},[y,v,x,i,s,o,t,e,c,u,p,m,g])}var Cj=0,Rj=()=>`__${String(++Cj)}__`;function kj(){let{router:e}=UT("useSubmit"),{basename:t}=w.useContext(xn),i=X2(),s=e.fetch,o=e.navigate;return w.useCallback(async(c,u={})=>{let{action:p,method:m,encType:g,formData:v,body:y}=lj(c,t);if(u.navigate===!1){let x=u.fetcherKey||Rj();await s(x,i,u.action||p,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:v,body:y,formMethod:u.method||m,formEncType:u.encType||g,flushSync:u.flushSync})}else await o(u.action||p,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:v,body:y,formMethod:u.method||m,formEncType:u.encType||g,replace:u.replace,state:u.state,fromRouteId:i,flushSync:u.flushSync,viewTransition:u.viewTransition})},[s,o,t,i])}function Mj(e,{relative:t}={}){let{basename:i}=w.useContext(xn),s=w.useContext(va);$e(s,"useFormAction must be used inside a RouteContext");let[o]=s.matches.slice(-1),c={...zo(e||".",{relative:t})},u=Cn();if(e==null){c.search=u.search;let p=new URLSearchParams(c.search),m=p.getAll("index");if(m.some(v=>v==="")){p.delete("index"),m.filter(y=>y).forEach(y=>p.append("index",y));let v=p.toString();c.search=v?`?${v}`:""}}return(!e||e===".")&&o.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:An([i,c.pathname])),_o(c)}function Dj(e,{relative:t}={}){let i=w.useContext(NT);$e(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=UT("useViewTransitionState"),o=zo(e,{relative:t});if(!i.isTransitioning)return!1;let c=ma(i.currentLocation.pathname,s)||i.currentLocation.pathname,u=ma(i.nextLocation.pathname,s)||i.nextLocation.pathname;return Zc(o.pathname,u)!=null||Zc(o.pathname,c)!=null}const ie=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ee=globalThis,Pi="10.70.0";function ii(){return Po(Ee),Ee}function Po(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||Pi,t[Pi]=t[Pi]||{}}function ir(e,t,i=Ee){const s=i.__SENTRY__=i.__SENTRY__||{},o=s[Pi]=s[Pi]||{};return o[e]||(o[e]=t())}const Oj=["debug","info","warn","error","log","assert","trace"],Lj="Sentry Logger ",eu={};function Ki(e){if(!("console"in Ee))return e();const t=Ee.console,i={},s=Object.keys(eu);s.forEach(o=>{const c=eu[o];i[o]=t[o],t[o]=c});try{return e()}finally{s.forEach(o=>{t[o]=i[o]})}}function Uj(){im().enabled=!0}function Ij(){im().enabled=!1}function IT(){return im().enabled}function Bj(...e){am("log",...e)}function zj(...e){am("warn",...e)}function Pj(...e){am("error",...e)}function am(e,...t){ie&&IT()&&Ki(()=>{Ee.console[e](`${Lj}[${e}]:`,...t)})}function im(){return ie?ir("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const K={enable:Uj,disable:Ij,isEnabled:IT,log:Bj,warn:zj,error:Pj},BT=50,Wi="?",Ex=/\(error: (.*)\)/,wx=/captureMessage|captureException/;function zT(...e){const t=e.sort((i,s)=>i[0]-s[0]).map(i=>i[1]);return(i,s=0,o=0)=>{const c=[],u=i.split(`
12`);for(let p=s;p<u.length;p++){let m=u[p];m.length>1024&&(m=m.slice(0,1024));const g=Ex.test(m)?m.replace(Ex,"$1"):m;if(!g.includes("Error: ")){for(const v of t){const y=v(g);if(y){c.push(y);break}}if(c.length>=BT+o)break}}return Hj(c.slice(o))}}function Vj(e){return Array.isArray(e)?zT(...e):e}function Hj(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Sc(t).function||"")&&t.pop(),t.reverse(),wx.test(Sc(t).function||"")&&(t.pop(),wx.test(Sc(t).function||"")&&t.pop()),t.slice(0,BT).map(i=>({...i,filename:i.filename||Sc(t).filename,function:i.function||Wi}))}function Sc(e){return e[e.length-1]||{}}const mh="<anonymous>";function ga(e){try{return!e||typeof e!="function"?mh:e.name||mh}catch{return mh}}function Ax(e){const t=e.exception;if(t){const i=[];
12try{return t.values.forEach(s=>{s.stacktrace.frames&&i.push(...s.stacktrace.frames)}),i}catch{return}}}const ho={},Nx={};function si(e,t){return ho[e]=ho[e]||[],ho[e].push(t),()=>{const i=ho[e];if(i){const s=i.indexOf(t);s!==-1&&i.splice(s,1)}}}function ri(e,t){if(!Nx[e]){Nx[e]=!0;try{t()}catch(i){ie&&K.error(`Error while instrumenting ${e}`,i)}}}function yn(e,t){const i=e&&ho[e];if(i)for(const s of i)try{s(t)}catch(o){ie&&K.error(`Error while triggering instrumentation handler.
13Type: ${e}
14Name: ${ga(s)}
15Error:`,o)}}let gh=null;function PT(e){const t="error";si(t,e),ri(t,qj)}function qj(){gh=Ee.onerror,Ee.onerror=function(e,t,i,s,o){return yn("error",{column:s,error:o,line:i,msg:e,url:t}),gh?gh.apply(this,arguments):!1},Ee.onerror.__SENTRY_INSTRUMENTED__=!0}let yh=null;function VT(e){const t="unhandledrejection";si(t,e),ri(t,Gj)}function Gj(){yh=Ee.onunhandledrejection,Ee.onunhandledrejection=function(e){return yn("unhandledrejection",e),yh?yh.apply(this,arguments):!0},Ee.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const HT=Object.prototype.toString;function Vn(e){switch(HT.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return wu(e,Error)}}function sr(e,t){return HT.call(e)===`[object ${t}]`}function qT(e){return sr(e,"ErrorEvent")}function jx(e){return sr(e,"DOMError")}function Fj(e){return sr(e,"DOMException")}function da(e){return sr(e,"String")}function sm(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Yi(e){return e===null||sm(e)||typeof e!="object"&&typeof e!="function"}function Eo(e){return sr(e,"Object")}function _u(e){return typeof e=="object"&&e!==null}function Eu(e){return typeof Event<"u"&&wu(e,Event)}function Wj(e){return sr(e,"RegExp")}function Vo(e){return!!(e?.then&&typeof e.then=="function")}function wu(e,t){try{return e instanceof t}catch{return!1}}function rm(e){return typeof Request<"u"&&wu(e,Request)}function Qt(e,t,i){if(!(t in e))return;const s=e[t];if(typeof s!="function")return;const o=i(s);typeof o=="function"&&GT(o,s);try{e[t]=o}catch{ie&&K.log(`Failed to replace method "${t}" in object`,e)}}function wt(e,t,i){try{Object.defineProperty(e,t,{value:i,writable:!0,configurable:!0})}catch{ie&&K.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function GT(e,t){try{const i=t.prototype||{};e.prototype=t.prototype=i,wt(e,"__sentry_original__",t)}catch{}}function om(e){return e.__sentry_original__}function FT(e){if(Vn(e))return{message:e.message,name:e.name,stack:e.stack,...Cx(e)};if(Eu(e)){const{type:t,target:i,currentTarget:s,detail:o}=e;return{type:t,target:i,currentTarget:s,...o?{detail:o}:{},...Cx(e)}}return e}function Cx(e){return _u(e)?Object.fromEntries(Object.entries(e)):{}}function Yj(e){const t=Object.keys(FT(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}let Bs;function Ho(e){if(Bs!==void 0)return Bs?Bs(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),i=Ee;return t in i&&typeof i[t]=="function"?(Bs=i[t],Bs(e)):(Bs=null,e())}function Ja(){return Ho(()=>Math.random())}function oi(){return Ho(()=>Date.now())}const $j=Symbol.for("sentry.skipNormalization"),Xj=Symbol.for("sentry.overrideNormalizationDepth");function Kj(e){return!!e[$j]}function Qj(e){const t=e[Xj];return typeof t=="number"?t:void 0}let Zh;function WT(e){Zh=e}function ua(e,t=100,i=1/0){try{return Jh("",e,t,i)}catch(s){return{ERROR:`**non-serializable** (${s})`}}}function YT(e,t=3,i=100*1024){const s=ua(e,t);return eC(s)>i?YT(e,t-1,i):s}function Jh(e,t,i=1/0,s=1/0,o=tC()){const[c,u]=o;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const p=$T(e,t);if(!p.startsWith("[object "))return p;if(Kj(t))return t;const m=Qj(t),g=m!==void 0?m:i;if(g===0)return p.replace("object ","");if(c(t))return"[Circular ~]";const v=t;if(v&&typeof v.toJSON=="function")try{const T=v.toJSON();return Jh("",T,g-1,s,o)}catch{}const y=Array.isArray(t)?[]:{};let x=0;const _=FT(t);for(const T in _){if(!Object.prototype.hasOwnProperty.call(_,T))continue;if(x>=s){y[T]="[MaxProperties ~]";break}const j=_[T];y[T]=Jh(T,j,g-1,s,o),x++}return u(t),y}function $T(e,t){try{if(Zh){const s=Zh(t);if(s)return s}return typeof global<"u"&&t===global?"[Global]":typeof t=="number"&&!Number.isFinite(t)?`[${t}]`:typeof t=="function"?`[Function: ${ga(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${Zj(t)}]`}catch(i){return`**non-serializable** (${i})`}}function Zj(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function Jj(e){return~-encodeURI(e).split(/%..|./).length}function eC(e){return Jj(JSON.stringify(e))}function tC(){const e=new WeakSet;function t(s){return e.has(s)?!0:(e.add(s),!1)}function i(s){e.delete(s)}return[t,i]}function ep(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Rx(e,t){if(!Array.isArray(e))return"";const i=[];for(let s=0;s<e.length;s++){const o=e[s];Yi(o)?i.push(String(o)):o instanceof Error?i.push(o.message?`${o.name}: ${o.message}`:o.name):i.push($T(void 0,o))}return i.join(t)}function mo(e,t,i=!1){return da(e)?Wj(t)?t.test(e):da(t)?i?e===t:e.includes(t):typeof t=="function"?t(e):!1:!1}function fa(e,t=[],i=!1){for(const s of t)if(mo(e,s,i))return!0;return!1}function nC(){const e=Ee;return e.crypto||e.msCrypto}let vh;function aC(){return Ja()*16}function vn(e=nC()){try{if(e?.randomUUID)return Ho(()=>e.randomUUID()).replace(/-/g,"")}catch{}return vh||(vh="10000000100040008000"+1e11),vh.replace(/[018]/g,t=>(t^(aC()&15)>>t/4).toString(16))}function XT(e){return e.exception?.values?.[0]}function Ii(e){const{message:t,event_id:i}=e;if(t)return t;const s=XT(e);return s?s.type&&s.value?`${s.type}: ${s.value}`:s.type||s.value||i||"<unknown>":i||"<unknown>"}function tp(e,t,i){const s=e.exception=e.exception||{},o=s.values=s.values||[],c=o[0]=o[0]||{};c.value||(c.value=t||""),c.type||(c.type="Error")}function Vi(e,t){const i=XT(e);if(!i)return;const s={type:"generic",handled:!0},o=i.mechanism;if(i.mechanism={...s,...o,...t},t&&"data"in t){const c={...o?.data,...t.data};i.mechanism.data=c}}function kx(e){if(iC(e))return!0;try{wt(e,"__sentry_captured__",!0)}catch{}return!1}function iC(e){try{return e.__sentry_captured__}catch{}}const KT=1e3;function Qi(){return oi()/KT}function sC(){const{performance:e}=Ee;if(!e?.now||!e.timeOrigin)return Qi;const t=e.timeOrigin;return()=>(t+Ho(()=>e.now()))/KT}let Mx;function lt(){return(Mx??(Mx=sC()))()}let bh=null;function rC(){const{performance:e}=Ee;if(!e?.now)return;const t=3e5,i=Ho(()=>e.now()),s=oi(),o=e.timeOrigin;if(typeof o=="number"&&Math.abs(o+i-s)<t)return o;const c=e.timing?.navigationStart;return typeof c=="number"&&Math.abs(c+i-s)<t?c:s-i}function St(){return bh===null&&(bh=rC()),bh}function oC(e){const t=lt(),i={sid:vn(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>cC(i)};return e&&Ys(i,e),i}function Ys(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||lt(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:vn()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const i=e.timestamp-e.started;e.duration=i>=0?i:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),t
15ypeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function lC(e,t){let i={};e.status==="ok"&&(i={status:"exited"}),Ys(e,i)}function cC(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function qo(e,t,i=2){if(!t||typeof t!="object"||i<=0)return t;if(e&&Object.keys(t).length===0)return e;const s={...e};for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(s[o]=qo(s[o],t[o],i-1));return s}function ya(){return vn()}function ha(){return vn().substring(16)}function QT(e){try{const t=Ee.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function ZT(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}const np="_sentrySpan";function wo(e,t){t?wt(e,np,QT(t)):delete e[np]}function tu(e){return ZT(e[np])}const uC=100;class Hn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:ya(),sampleRand:Ja()}}clone(){const t=new Hn;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,wo(t,tu(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Ys(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,i){return this.setTags({[t]:i})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,i){return this.setAttributes({[t]:i})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,i){return this._extra={...this._extra,[t]:i},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,i){return i===null?delete this._contexts[t]:this._contexts[t]=i,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const i=typeof t=="function"?t(this):t,s=i instanceof Hn?i.getScopeData():Eo(i)?t:void 0,{tags:o,attributes:c,extra:u,user:p,contexts:m,level:g,fingerprint:v=[],propagationContext:y,conversationId:x}=s||{};return this._tags={...this._tags,...o},this._attributes={...this._attributes,...c},this._extra={...this._extra,...u},this._contexts={...this._contexts,...m},p&&Object.keys(p).length&&(this._user=p),g&&(this._level=g),v.length&&(this._fingerprint=v),y&&(this._propagationContext=y),x&&(this._conversationId=x),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,wo(this,void 0),this._attachments=[],this.setPropagationContext({traceId:ya(),sampleRand:Ja()}),this._notifyScopeListeners(),this}addBreadcrumb(t,i){const s=typeof i=="number"?i:uC;if(s<=0)return this;const o={timestamp:Qi(),...t,message:t.message?ep(t.message,2048):t.message};return this._breadcrumbs.push(o),this._breadcrumbs.length>s&&(this._breadcrumbs=this._breadcrumbs.slice(-s),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:tu(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=qo(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,i){const s=i?.event_id||vn();if(!this._client)return ie&&K.warn("No client configured on scope - will not capture exception!"),s;const o=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:o,...i,event_id:s},this),s}captureMessage(t,i,s){const o=s?.event_id||vn();if(!this._client)return ie&&K.warn("No client configured on scope - will not capture message!"),o;const c=s?.syntheticException??new Error(t);return this._client.captureMessage(t,i,{originalException:t,syntheticException:c,...s,event_id:o},this),o}captureEvent(t,i){const s=t.event_id||i?.event_id||vn();return this._client?(this._client.captureEvent(t,{...i,event_id:s},this),s):(ie&&K.warn("No client configured on scope - will not capture event!"),s)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
15h(t=>{t(this)}),this._notifyingListeners=!1)}}function dC(){return ir("defaultCurrentScope",()=>new Hn)}function fC(){return ir("defaultIsolationScope",()=>new Hn)}const Dx=e=>e instanceof Promise&&!e[JT],JT=Symbol("chained PromiseLike"),hC=(e,t,i)=>{const s=e.then(o=>(t(o),o),o=>{throw i(o),o});return Dx(s)&&Dx(e)?s:pC(e,s)},pC=(e,t)=>{if(!t)return e;let i=!1;for(const s in e){if(s in t)continue;i=!0;const o=e[s];typeof o=="function"?Object.defineProperty(t,s,{value:(...c)=>o.apply(e,c),enumerable:!0,configurable:!0,writable:!0}):t[s]=o}return i&&Object.assign(t,{[JT]:!0}),t};class mC{constructor(t,i){let s;t?s=t:s=new Hn;let o;i?o=i:o=new Hn,this._stack=[{scope:s}],this._isolationScope=o}withScope(t){const i=this._pushScope();let s;try{s=t(i)}catch(o){throw this._popScope(),o}return Vo(s)?hC(s,()=>this._popScope(),()=>this._popScope()):(this._popScope(),s)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function $s(){const e=ii(),t=Po(e);return t.stack=t.stack||new mC(dC(),fC())}function gC(e){return $s().withScope(e)}function yC(e,t){const i=$s();return i.withScope(()=>(i.getStackTop().scope=e,t(e)))}function Ox(e){return $s().withScope(()=>e($s().getIsolationScope()))}function vC(){return{withIsolationScope:Ox,withScope:gC,withSetScope:yC,withSetIsolationScope:(e,t)=>Ox(t),getCurrentScope:()=>$s().getScope(),getIsolationScope:()=>$s().getIsolationScope()}}function rr(e){const t=Po(e);return t.acs?t.acs:vC()}function bC(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)&&Object.keys(e).includes("value")}function xC(e,t){const{value:i,unit:s}=bC(e)?e:{value:e,unit:void 0},o=SC(i),c=s&&typeof s=="string"?{unit:s}:{};if(o)return{...o,...c};if(!t||t==="skip-undefined"&&i===void 0)return;let u="";try{u=JSON.stringify(i)??""}catch{}return{value:u,type:"string",...c}}function Lx(e,t=!1){const i={};for(const[s,o]of Object.entries(e??{})){const c=xC(o,t);c&&(i[s]=c)}return i}function SC(e){if(Array.isArray(e))return{value:e,type:"array"};const t=typeof e=="string"?"string":typeof e=="boolean"?"boolean":typeof e=="number"&&!Number.isNaN(e)?Number.isInteger(e)?"integer":"double":null;if(t)return{value:e,type:t}}function Oe(){const e=ii();return rr(e).getCurrentScope()}function tn(){const e=ii();return rr(e).getIsolationScope()}function TC(){return ir("globalScope",()=>new Hn)}function Au(...e){const t=ii(),i=rr(t);if(e.length===2){const[s,o]=e;return s?i.withSetScope(s,o):i.withScope(o)}return i.withScope(e[0])}function je(){return Oe().getClient()}function _C(e){const t=e.getPropagationContext(),{traceId:i,parentSpanId:s,propagationSpanId:o}=t,c={trace_id:i,span_id:o||ha()};return s&&(c.parent_span_id=s),c}const Bn="sentry.source",lm="sentry.sample_rate",e_="sentry.previous_trace_sample_rate",en="sentry.op",st="sentry.origin",EC="sentry.status.message",Ao="sentry.idle_span_finish_reason",Go="sentry.measurement_unit",Fo="sentry.measurement_value",Ux="sentry.custom_span_name",cm="sentry.profile_id",li="sentry.exclusive_time",wC="sentry.link.type",AC="gen_ai.conversation.id",t_=0,Nu=1,dt=2;function NC(e){if(e<400&&e>=100)return{code:Nu};if(e>=400&&e<500)switch(e){case 401:return{code:dt,message:"unauthenticated"};case 403:return{code:dt,message:"permission_denied"};case 404:return{code:dt,message:"not_found"};case 409:return{code:dt,message:"already_exists"};case 413:return{code:dt,message:"failed_precondition"};case 429:return{code:dt,message:"resource_exhausted"};case 499:return{code:dt,message:"cancelled"};default:return{code:dt,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:dt,message:"unimplemented"};case 503:return{code:dt,message:"unavailable"};case 504:return{code:dt,message:"deadline_exceeded"};default:return{code:dt,message:"internal_error"}}return{code:dt,message:"internal_error"}}function n_(e,t){e.setAttribute("http.response.status_code",t);const i=NC(t);
15i.message!=="unknown_error"&&e.setStatus(i)}const a_="_sentryScope",i_="_sentryIsolationScope",jC=Symbol.for("sentry.otelSourceInference"),CC=Symbol.for("sentry.otelSourceExplicitlySet"),RC=Symbol.for("sentry.tracerProviderSpan");function Xs(e,t,i){e&&(wt(e,i_,QT(i)),wt(e,a_,t))}function Fs(e){const t=e;return{scope:t[a_],isolationScope:ZT(t[i_])}}function Ix(e){return e[jC]===!0}function kC(e){wt(e,CC,!0)}function Bx(e){return e[RC]===!0}const nu="sentry-",MC=8192;function s_(e){const t=OC(e);if(!t)return;const i=Object.entries(t).reduce((s,[o,c])=>{if(o.startsWith(nu)){const u=o.slice(nu.length);s[u]=c}return s},{});if(Object.keys(i).length>0)return i}function DC(e){if(!e)return;const t=Object.entries(e).reduce((i,[s,o])=>(o&&(i[`${nu}${s}`]=o),i),{});return LC(t)}function OC(e){if(!(!e||!da(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,i)=>{const s=zx(i);return Object.entries(s).forEach(([o,c])=>{t[o]=c}),t},{}):zx(e)}function zx(e){return e.split(",").map(t=>{const i=t.indexOf("=");if(i===-1)return[];const s=t.slice(0,i),o=t.slice(i+1);return[s,o].map(c=>{try{return decodeURIComponent(c.trim())}catch{return}})}).reduce((t,[i,s])=>(i&&s&&(t[i]=s),t),{})}function LC(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[i,s],o)=>{const c=`${encodeURIComponent(i)}=${encodeURIComponent(s)}`,u=o===0?c:`${t},${c}`;return u.length>MC?(ie&&K.warn(`Not adding key: ${i} with val: ${s} to baggage header due to exceeding baggage size limits.`),t):u},"")}const UC=/^o(\d+)\./,IC=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function BC(e){return e==="http"||e==="https"}function Zi(e,t=!1){const{host:i,path:s,pass:o,port:c,projectId:u,protocol:p,publicKey:m}=e;return`${p}://${m}${t&&o?`:${o}`:""}@${i}${c?`:${c}`:""}/${s&&`${s}/`}${u}`}function zC(e){const t=IC.exec(e);if(!t){Ki(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[i,s,o="",c="",u="",p=""]=t.slice(1);let m="",g=p;const v=g.split("/");if(v.length>1&&(m=v.slice(0,-1).join("/"),g=v.pop()),g){const y=g.match(/^\d+/);y&&(g=y[0])}return r_({host:c,pass:o,path:m,projectId:g,port:u,protocol:i,publicKey:s})}function r_(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function PC(e){if(!ie)return!0;const{port:t,projectId:i,protocol:s}=e;return["protocol","publicKey","host","projectId"].find(u=>e[u]?!1:(K.error(`Invalid Sentry Dsn: ${u} missing`),!0))?!1:i.match(/^\d+$/)?BC(s)?t&&isNaN(parseInt(t,10))?(K.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(K.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),!1):(K.error(`Invalid Sentry Dsn: Invalid projectId ${i}`),!1)}function VC(e){return e.match(UC)?.[1]}function HC(e){const t=e.getOptions(),{host:i}=e.getDsn()||{};let s;return t.orgId?s=String(t.orgId):i&&(s=VC(i)),s}function o_(e){const t=typeof e=="string"?zC(e):r_(e);if(!(!t||!PC(t)))return t}function No(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}const l_=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function qC(e){if(!e)return;const t=e.match(l_);if(!t)return;let i;return t[3]==="1"?i=!0:t[3]==="0"&&(i=!1),{traceId:t[1],parentSampled:i,parentSpanId:t[2]}}function GC(e,t){const i=qC(e),s=s_(t);if(!i?.traceId)return{traceId:ya(),sampleRand:Ja()};const o=FC(i,s);s&&(s.sample_rand=o.toString());const{traceId:c,parentSpanId:u,parentSampled:p}=i;return{traceId:c,parentSpanId:u,sampled:p,dsc:s||{},sampleRand:o}}function c_(e=ya(),t=ha(),i){let s="";return i!==void 0&&(s=i?"-1":"-0"),`${e}-${t}${s}`}function u_(e=ya(),t=ha(),i){return`00-${e}-${t}-${i?"01":"00"}`}function FC(e,t){const i=No(t?.sample_rand);if(i!==void 0)return i;const s=No(t?.sample_rate);return s&&e?.parentSampled!==void 0?e.parentSampled?Ja()*s:s+Ja()*(1-s):Ja()}const d_=0,ju=1;let Px=!1;function WC(e){const{spanId:t,traceId:i}=e.spanContext(),{data:s,op:o,parent_span_id:c,status:u,origin:p,links:m}=ke(e);return{parent_span_id:c,span_id:t,trace_id:i,data:s,op:o,status:u,origin:p,links:m}}function YC(e){const{spanId:t,traceId:i,isRemote:s}=e.spanContext(),o=s?t:ke(e).parent_span_id,c=Fs(e).scope,u=s?c?.getPropagationContext().propagationSpanId||ha():t;return{parent_span_id:o,span_id:u,trace_id:i}}function $C(e){const{traceId:t,spanId:i}=e.spanContext(),s=ci(e);return c_(t,i,s)}function XC(e){const{traceId:t,spanId:i}=e.spanContext(),s=ci(e);return u_(t,i,s)}function f_(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:i,traceFlags:s,...o},attributes:c})=>({span_id:t,trace_id:i,sampled:s===ju,attributes:c,...o}))}function h_(e){if(e?.length)return e.map(({context:{spanId:t,traceId:i,traceFlags:s},attributes:o})=>({span_id:t,trace_id:i,sampled:s===ju,attributes:o}))}function pa(e){return typeof e=="number"?Vx(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Vx(e.getTime()):lt()}function Vx(e){return e>9999999999?e/1e3:e}function ke(e){if(y_(e))return e.getSpanJSON();const{spanId:t,traceId:i}=e.spanContext();if(g_(e)){const{attributes:s,startTime:o,name:c,endTime:u,status:p,links:m}=e;return{span_id:t,trace_id:i,data:s,description:c,parent_span_id:m_(e),start_timestamp:pa(o),timestamp:pa(u)||void 0,status:v_(p),op:s[en],origin:s[st],links:f_(m)}}return{span_id:t,trace_id:i,start_timestamp:0,data:{}}}function p_(e){if(y_(e))return e.getStreamedSpanJSON();const{spanId:t,traceId:i}=e.spanContext();if(g_(e)){const{attributes:s,startTime:o,name:c,endTime:u,status:p,links:m}=e;return{name:c,span_id:t,trace_id:i,parent_span_id:m_(e),start_timestamp:pa(o),end_timestamp:pa(u),is_segment:e===ip(e),status:um(p),attributes:b_(s,p),links:h_(m)}}return{span_id:t,trace_id:i,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===ip(e)}}function m_(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function KC(e){return{...e,attributes:Lx(e.attributes),links:e.links?.map(t=>({...t,attributes:Lx(t.attributes)}))}}function g_(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function y_(e){return typeof e.getSpanJSON=="function"}function ci(e){const{traceFlags:t}=e.spanContext();return t===ju}function v_(e){if(!(!e||e.code===t_))return e.code===Nu?"ok":e.message||"internal_error"}function um(e){return!e||e.code===Nu||e.code===t_||e.message==="cancelled"?"ok":"error"}function b_(e,t){const i=um(t)==="error"?t?.message:void 0;return{...i&&{[EC]:i},...e}}const Hi="_sentryChildSpans",ap="_sentryRootSpan";function Ic(e,t){const i=e[ap]||e;
15wt(t,ap,i),e[Hi]?e[Hi].add(t):wt(e,Hi,new Set([t]))}function QC(e,t){e[Hi]&&e[Hi].delete(t)}function Bc(e){const t=new Set;function i(s){if(!t.has(s)&&ci(s)){t.add(s);const o=s[Hi]?Array.from(s[Hi]):[];for(const c of o)i(c)}}return i(e),Array.from(t)}const Et=ip;function ip(e){return e[ap]||e}function nn(){const e=ii(),t=rr(e);return t.getActiveSpan?t.getActiveSpan():tu(Oe())}function sp(){Px||(Ki(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),Px=!0)}let Hx=!1;function ZC(){if(Hx)return;function e(){const t=nn(),i=t&&Et(t);if(i){const s="internal_error";ie&&K.log(`[Tracing] Root span: ${s} -> Global error occurred`),i.setStatus({code:dt,message:s})}}Hx=!0,PT(e),VT(e)}function Zt(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||je()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function qx(e){K.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function jo(e,t){if(!t?.length)return!1;for(const i of t){if(tR(i)){if(e.description&&mo(e.description,i))return ie&&qx(e),!0;continue}const s=!!i.attributes&&Object.keys(i.attributes).length>0;if(!i.name&&!i.op&&!s)continue;const o=i.name?e.description&&mo(e.description,i.name):!0,c=i.op?e.op&&mo(e.op,i.op):!0,u=i.attributes?Object.entries(i.attributes).every(([p,m])=>JC(e.attributes?.[p],m)):!0;if(o&&c&&u)return ie&&qx(e),!0}return!1}function JC(e,t){return typeof e=="string"&&(typeof t=="string"||t instanceof RegExp)?mo(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((i,s)=>i===t[s]):e===t}function eR(e,t){const i=t.parent_span_id,s=t.span_id;if(i)for(const o of e)o.parent_span_id===s&&(o.parent_span_id=i)}function tR(e){return typeof e=="string"||e instanceof RegExp}const x_=Symbol.for("sentry.nonRecordingSpan");class $i{constructor(t={}){this._traceId=t.traceId||ya(),this._spanId=t.spanId||ha(),this.dropReason=t.dropReason,wt(this,x_,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:d_}}end(t){}setAttribute(t,i){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,i,s){return this}addLink(t){return this}addLinks(t){return this}recordException(t,i){}}function Ks(e){return!!e&&e[x_]===!0}const dm="production",S_="_frozenDsc";function Gx(e,t){wt(e,S_,t)}function T_(e,t){const i=t.getOptions(),{publicKey:s}=t.getDsn()||{},o={environment:i.environment||dm,release:i.release,public_key:s,trace_id:e,org_id:HC(t)};return t.emit("createDsc",o),o}function fm(e,t){const i=t.getPropagationContext();return i.dsc||T_(i.traceId,e)}function or(e){const t=je();if(!t)return{};const i=Et(e),s=ke(i),o=s.data,c=i.spanContext().traceState,u=c?.get("sentry.sample_rate")??o[lm]??o[e_];function p(A){return(typeof u=="number"||typeof u=="string")&&(A.sample_rate=`${u}`),A}const m=i[S_];if(m)return p(m);const g=Ks(i),v=g&&i.dropReason==="ignored";if(g&&(!Zt(t.getOptions())||v)){const A=Fs(i).scope;if(A){const R={...fm(t,A)};return v&&(R.sampled="false"),p(R)}}const y=c?.get("sentry.dsc"),x=y&&s_(y);if(x)return p(x);const _=T_(e.spanContext().traceId,t),T=o[Bn]??o["sentry.segment.name.source"],j=s.description;return T!=="url"&&j&&(_.transaction=j),Zt()&&(_.sampled=String(ci(i)),_.sample_rand=c?.get("sentry.sample_rand")??Fs(i).scope?.getPropagationContext().sampleRand.toString()),p(_),t.emit("createDsc",_,i),_}function __(e){return!!e&&typeof e=="function"&&"_streamed"in e&&!!e._streamed}function Ji(e,t=[]){return[e,t]}function Fx(e,t){const[i,s]=e;return[i,[...s,t]]}function rp(e,t){const i=e[1];for(const s of i){const o=s[0].type;if(t(s,o))return!0}return!1}function nR(e,t){return rp(e,(i,s)=>t.includes(s))}function op(e){const t=Po(Ee);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function aR(e){const[t,i]=e;let s=JSON.stringify(t);function o(c){typeof s=="string"?s=typeof c=="string"?s+c:[op(s),c]:s.push(typeof c=="string"?op(c):c)}for(const c of i){const[u,p]=c;if(o(`
16${JSON.stringify(u)}
17`),typeof p=="string"||p instanceof Uint8Array)o(p);else{let m;try{m=JSON.stringify(p)}catch{m=JSON.stringify(ua(p))}o(m)}}return typeof s=="string"?s:iR(s)}function iR(e){const t=e.reduce((o,c)=>o+c.length,0),i=new Uint8Array(t);let s=0;for(const o of e)i.set(o,s),s+=o.length;return i}function sR(e){return[{type:"span"},e]}
17function rR(e){const t=typeof e.data=="string"?op(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const E_={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function oR(e){return e in E_}function Wx(e){return oR(e)?E_[e]:e}function w_(e){if(!e?.sdk)return;const{name:t,version:i}=e.sdk;return{name:t,version:i}}function lR(e,t,i,s){const o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(oi()).toISOString(),...t&&{sdk:t},...!!i&&s&&{dsn:Zi(s)},...o&&{trace:o}}}function cR(e,t){if(!t)return e;const i=e.sdk||{};return e.sdk={...i,name:i.name||t.name,version:i.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function uR(e,t,i,s){const o=w_(i),c={sent_at:new Date(oi()).toISOString(),...o&&{sdk:o},...!!s&&t&&{dsn:Zi(t)}},u="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Ji(c,[u])}function dR(e,t,i,s){const o=w_(i),c=e.type&&e.type!=="replay_event"?e.type:"event";cR(e,i?.sdk);const u=lR(e,o,s,t);return delete e.sdkProcessingMetadata,Ji(u,[[{type:c},e]])}function fR(e,t){function i(_){return!!_.trace_id&&!!_.public_key}const s=or(e[0]),o=t?.getDsn(),c=t?.getOptions().tunnel,u={sent_at:new Date(oi()).toISOString(),...i(s)&&{trace:s},...!!c&&o&&{dsn:Zi(o)}},{beforeSendSpan:p,ignoreSpans:m}=t?.getOptions()||{},g=m?.length?e.filter(_=>{const T=ke(_);return!jo({description:T.description,op:T.op,attributes:T.data},m)}):e,v=e.length-g.length;v&&t?.recordDroppedEvent("before_send","span",v);const y=p?_=>{const T=ke(_),j=__(p)?T:p(T);return j||(sp(),T)}:ke,x=[];for(const _ of g){const T=y(_);T&&x.push(sR(T))}return Ji(u,x)}function hR(e){if(!ie)return;const{description:t="< unknown name >",op:i="< unknown op >",parent_span_id:s}=ke(e),{spanId:o}=e.spanContext(),c=ci(e),u=Et(e),p=u===e,m=`[Tracing] Starting ${c?"sampled":"unsampled"} ${p?"root ":""}span`,g=[`op: ${i}`,`name: ${t}`,`ID: ${o}`];if(s&&g.push(`parent ID: ${s}`),!p){const{op:v,description:y}=ke(u);g.push(`root ID: ${u.spanContext().spanId}`),v&&g.push(`root op: ${v}`),y&&g.push(`root description: ${y}`)}K.log(`${m}
18  ${g.join(`
19  `)}`)}function pR(e){if(!ie)return;const{description:t="< unknown name >",op:i="< unknown op >"}=ke(e),{spanId:s}=e.spanContext(),c=Et(e)===e,u=`[Tracing] Finishing "${i}" ${c?"root ":""}span "${t}" with ID ${s}`;K.log(u)}function A_(e,t,i,s=nn()){const o=s&&Et(s);o&&(ie&&K.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${i}`),o.addEvent(e,{[Fo]:t,[Go]:i}))}function Yx(e){if(!e||e.length===0)return;const t={};return e.forEach(i=>{const s=i.attributes||{},o=s[Go],c=s[Fo];typeof o=="string"&&typeof c=="number"&&(t[i.name]={value:c,unit:o})}),t}function $x(){return Po(ii()).segmentSpanCaptureStrategy}function Gn(e){return e.getOptions().traceLifecycle==="stream"}const Xx=1e3;class Cu{constructor(t={}){this._traceId=t.traceId||ya(),this._spanId=t.spanId||ha(),this._startTime=t.startTimestamp||lt(),this._links=t.links,this._attributes={},this.setAttributes({[st]:"manual",[en]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._frozen?this:(this._links?this._links.push(t):this._links=[t],this)}addLinks(t){return this._frozen?this:(this._links?this._links.push(...t):this._links=t,this)}recordException(t,i){}spanContext(){const{_spanId:t,_traceId:i,_sampled:s}=this;return{spanId:t,traceId:i,traceFlags:s?ju:d_}}setAttribute(t,i){return this._frozen?this:(i===void 0?delete this._attributes[t]:this._attributes[t]=i,t===Bn&&i!==void 0&&Ix(this)&&kC(this),this)}setAttributes(t){return Object.keys(t).forEach(i=>
19this.setAttribute(i,t[i])),this}updateStartTime(t){this._frozen||(this._startTime=pa(t))}setStatus(t){return this._frozen?this:(this._status=t,this)}updateName(t){return this._frozen?this:(this._name=t,Ix(this)||this.setAttribute(Bn,"custom"),this)}end(t){if(this._endTime){this._frozen=Bx(this);return}this._endTime=pa(t),pR(this),this._onSpanEnded(),this._frozen=Bx(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[en],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:v_(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[st],profile_id:this._attributes[cm],exclusive_time:this._attributes[li],measurements:Yx(this._events),is_segment:this._isStandaloneSpan&&Et(this)===this||void 0,segment_id:this._isStandaloneSpan?Et(this).spanContext().spanId:void 0,links:f_(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===Et(this),status:um(this._status),attributes:b_(this._attributes,this._status),links:h_(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,i,s){if(this._frozen)return this;ie&&K.log("[Tracing] Adding an event to span:",t);const o=Kx(i)?i:s||lt(),c=Kx(i)?{}:i||{},u={name:t,time:pa(o),attributes:c};return this._events.push(u),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=je();t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this));const i=Et(this),s=this._isStandaloneSpan||this===i;if(this._isStandaloneSpan){this._sampled?gR(fR([this],t)):(ie&&K.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}if(!s){const u=$x();if(u){const p=Fs(this).scope||Oe();u.onChildSpanEnded(this,i,m=>this._convertSpanToTransaction(m),p)}return}if(t&&Gn(t)){t.emit("afterSegmentSpanEnd",this);return}const o=Fs(this).scope||Oe(),c=$x();if(c)c.onSegmentSpanEnded(u=>this._convertSpanToTransaction(u),o);else{const u=this._convertSpanToTransaction();u&&o.captureEvent(u)}}_convertSpanToTransaction(t={}){if(!Qx(ke(this)))return;this._name||(ie&&K.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:i,isolationScope:s}=Fs(this),o=i?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;t.onSpanCaptured?.(this);const c=[];for(const y of Bc(this)){if(y===this||mR(y)||t.isSpanAlreadyCaptured?.(y))continue;const x=ke(y);Qx(x)&&(t.onSpanCaptured?.(y),c.push(x))}const u=this._attributes[Bn];delete this._attributes[Ux];let p=!1;c.forEach(y=>{delete y.data[Ux],y.op?.startsWith("gen_ai.")&&(p=!0)});const m={contexts:{trace:WC(this)},spans:c.length>Xx?c.sort((y,x)=>y.start_timestamp-x.start_timestamp).slice(0,Xx):c,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:i,capturedSpanIsolationScope:s,dynamicSamplingContext:or(this),hasGenAiSpans:p},request:o,...u&&{transaction_info:{source:u}}},g=Yx(this._events);return g&&Object.keys(g).length&&(ie&&K.log("[Measurements] Adding measurements to transaction event",JSON.stringify(g,void 0,2)),m.measurements=g),m}}function Kx(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function Qx(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function mR(e){return e instanceof Cu&&e.isStandaloneSpan()}function gR(e){const t=je();if(!t)return;const i=e[1];if(!i||i.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}
19function yR(e,t,i){if(!Zt(e))return[!1];let s,o;typeof e.tracesSampler=="function"?(o=e.tracesSampler({...t,inheritOrSampleWith:p=>typeof t.parentSampleRate=="number"?t.parentSampleRate:typeof t.parentSampled=="boolean"?Number(t.parentSampled):p}),s=!0):t.parentSampled!==void 0?o=t.parentSampled:typeof e.tracesSampleRate<"u"&&(o=e.tracesSampleRate,s=!0);const c=No(o);if(c===void 0)return ie&&K.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(o)} of type ${JSON.stringify(typeof o)}.`),[!1];if(!c)return ie&&K.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,c,s];const u=i<c;return u||ie&&K.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(o)})`),[u,c,s]}const vR="__SENTRY_SUPPRESS_TRACING__";function ui(e){const t=pm();return t.startInactiveSpan?t.startInactiveSpan(e):bR(e)}function bR(e){const t=TR(e),{forceTransaction:i,parentSpan:s}=e;return(e.scope?c=>Au(e.scope,c):s!==void 0?c=>N_(s,c):c=>c())(()=>{const c=Oe(),u=ER(c,s),p=je();return e.onlyIfParent&&!u?xR(c,p):SR({parentSpan:u,spanArguments:t,forceTransaction:i,scope:c})})}function N_(e,t){const i=pm();return i.withActiveSpan?i.withActiveSpan(e,t):Au(s=>(wo(s,e||void 0),t(s)))}function hm(e=Oe()){const t=pm();return t.isTracingSuppressed?t.isTracingSuppressed(e):e.getScopeData().sdkProcessingMetadata[vR]===!0}function xR(e,t){t?.recordDroppedEvent("no_parent_span","span");const i=new $i({traceId:e.getPropagationContext().traceId});return Xs(i,e,tn()),i}function SR({parentSpan:e,spanArguments:t,forceTransaction:i,scope:s}){const o=tn();if(!Zt()){const p={...o.getPropagationContext(),...s.getPropagationContext()},m=e?e.spanContext().traceId:p.traceId,g=new $i({traceId:m});return e&&!i&&Ic(e,g),Xs(g,s,o),g}const c=je();if(wR(c,t)){hm(s)||c?.recordDroppedEvent("ignored","span");const p=new $i({dropReason:"ignored",traceId:e?.spanContext().traceId??s.getPropagationContext().traceId});return e&&!i&&Ic(e,p),Xs(p,s,o),p}let u;if(e&&!i)u=_R(e,s,t,o),Ic(e,u);else if(e){const p=or(e),{traceId:m,spanId:g}=e.spanContext(),v=ci(e);u=Zx({traceId:m,parentSpanId:g,...t},s,o,v),Gx(u,p)}else{const{traceId:p,dsc:m,parentSpanId:g,sampled:v}={...o.getPropagationContext(),...s.getPropagationContext()};u=Zx({traceId:p,parentSpanId:g,...t},s,o,v),m&&Gx(u,m)}return hR(u),u}function TR(e){const i={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const s={...i};return s.startTimestamp=pa(e.startTime),delete s.startTime,s}return i}function pm(){const e=ii();return rr(e)}function Zx(e,t,i,s){const o=je(),c=o?.getOptions()||{},{name:u=""}=e,p={spanAttributes:{...e.attributes},spanName:u,parentSampled:s};o?.emit("beforeSampling",p,{decision:!1});const m=p.parentSampled??s,g=p.spanAttributes,v=t.getPropagationContext(),y=hm(t),[x,_,T]=y?[!1]:yR(c,{name:u,parentSampled:m,attributes:g,normalizedRequest:i.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:No(v.dsc?.sample_rate)},v.sampleRand),j=new Cu({...e,attributes:{[Bn]:"custom",[lm]:_!==void 0&&T?_:void 0,...g},sampled:x});return!x&&o&&!y&&(ie&&K.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent("sample_rate",Gn(o)?"span":"transaction")),Xs(j,t,i),o&&o.emit("spanStart",j),j}function _R(e,t,i,s){const{spanId:o,traceId:c}=e.spanContext(),u=hm(t),p=u?!1:ci(e),m=p?new Cu({...i,parentSpanId:o,traceId:c,sampled:p}):new $i({traceId:c});Ic(e,m),Xs(m,t,s);const g=je();return g&&(Gn(g)&&Ks(m)&&(Ks(e)&&e.dropReason?(m.dropReason=e.dropReason,g.recordDroppedEvent(e.dropReason,"span")):u||(m.dropReason="sample_rate",g.recordDroppedEvent("sample_rate","span"))),g.emit("spanStart",m),i.endTimestamp&&(g.emit("spanEnd",m),g.emit("afterSpanEnd",m))),m}function ER(e,t){if(t)return t;if(t===null)return;const i=tu(e);if(!i)return;const s=je();return(s?s.getOptions():{}).parentSpanIsAlwaysRootSpan?Et(i):i}function wR(e,t){const i=e?.getOptions().ignoreSpans;return!e||!Gn(e)||!i?.length?!1:jo({description:t.name||"",op:t.attributes?.[en]||t.op,attributes:t.attributes},i)}function j_(e){return Ks(e)&&e.dropReason==="ignored"}const zc={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},AR="heartbeatFailed",NR="idleTimeout",jR="finalTimeout",CR="externalFinish";function C_(e,t={}){const i=new Map;let s=!1,o,c=CR,u=!t.disableAutoFinish;const p=[],{idleTimeout:m=zc.idleTimeout,finalTimeout:g=zc.finalTimeout,childSpanTimeout:v=zc.childSpanTimeout,beforeSpanEnd:y,trimIdleSpanEndTimestamp:x=!0}=t,_=je(),T=Oe();if(!_||!Zt()){const H=new $i({traceId:T.getPropagationContext().traceId});return Xs(H,T,tn()),H}const j=nn(),A=RR(e);A.end=new Proxy(A.end,{apply(H,X,fe){if(y&&y(A),Ks(X))return;const[J,...ue]=fe,Se=J||lt(),ve=pa(Se),he=Bc(A).filter(se=>se!==A),ge=ke(A);
19if(!he.length||!x)return ee(ve),Reflect.apply(H,X,[ve,...ue]);const U=_.getOptions().ignoreSpans,F=he?.reduce((se,E)=>{const z=ke(E);return!z.timestamp||U&&jo({description:z.description,op:z.op,attributes:z.data},U)?se:se?Math.max(se,z.timestamp):z.timestamp},void 0),$=ge.start_timestamp,Z=Math.min($?$+g/1e3:1/0,Math.max($||-1/0,Math.min(ve,F||1/0)));return ee(Z),Reflect.apply(H,X,[Z,...ue])}});function R(){o&&(clearTimeout(o),o=void 0)}function M(H){R(),o=setTimeout(()=>{!s&&i.size===0&&u&&(c=NR,A.end(H))},m)}function I(H){o=setTimeout(()=>{!s&&u&&(c=AR,A.end(H))},v)}function W(H){R(),i.set(H,!0);const X=lt();I(X+v/1e3)}function V(H){if(i.has(H)&&i.delete(H),i.size===0){const X=lt();M(X+m/1e3)}}function ee(H){s=!0,i.clear(),p.forEach(he=>he()),wo(T,j);const X=ke(A),{start_timestamp:fe}=X;if(!fe)return;X.data[Ao]||A.setAttribute(Ao,c);const ue=X.status;(!ue||ue==="unknown")&&A.setStatus({code:Nu}),K.log(`[Tracing] Idle span "${X.op}" finished`);const Se=Bc(A).filter(he=>he!==A);let ve=0;Se.forEach(he=>{he.isRecording()&&(he.setStatus({code:dt,message:"cancelled"}),he.end(H),ie&&K.log("[Tracing] Cancelling span since span ended early",JSON.stringify(he,void 0,2)));const ge=ke(he),{timestamp:U=0,start_timestamp:F=0}=ge,$=F<=H,Z=(g+m)/1e3,se=U-F<=Z;if(ie){const E=JSON.stringify(he,void 0,2);$?se||K.log("[Tracing] Discarding span since it finished after idle span final timeout",E):K.log("[Tracing] Discarding span since it happened after idle span was finished",E)}(!se||!$)&&(QC(A,he),ve++)}),ve>0&&A.setAttribute("sentry.idle_span_discarded_spans",ve)}return p.push(_.on("spanStart",H=>{if(s||H===A||ke(H).timestamp||H instanceof Cu&&H.isStandaloneSpan())return;Bc(A).includes(H)&&W(H.spanContext().spanId)})),p.push(_.on("spanEnd",H=>{s||V(H.spanContext().spanId)})),p.push(_.on("idleSpanEnableAutoFinish",H=>{H===A&&(u=!0,M(),i.size&&I())})),t.disableAutoFinish||M(),setTimeout(()=>{s||(A.setStatus({code:dt,message:"deadline_exceeded"}),c=jR,A.end())},g),A}function RR(e){const t=ui(e);return wo(Oe(),t),ie&&K.log("[Tracing] Started span is an idle span"),t}function kR(e,t){const{fingerprint:i,span:s,breadcrumbs:o,sdkProcessingMetadata:c}=t;MR(e,t),s&&LR(e,s),UR(e,i),DR(e,o),OR(e,c)}function Jx(e,t){const{extra:i,tags:s,attributes:o,user:c,contexts:u,level:p,sdkProcessingMetadata:m,breadcrumbs:g,fingerprint:v,eventProcessors:y,attachments:x,propagationContext:_,transactionName:T,span:j}=t;uo(e,"extra",i),uo(e,"tags",s),uo(e,"attributes",o),uo(e,"user",c),uo(e,"contexts",u),e.sdkProcessingMetadata=qo(e.sdkProcessingMetadata,m,2),p&&(e.level=p),T&&(e.transactionName=T),j&&(e.span=j),g.length&&(e.breadcrumbs=[...e.breadcrumbs,...g]),v.length&&(e.fingerprint=[...e.fingerprint,...v]),y.length&&(e.eventProcessors=[...e.eventProcessors,...y]),x.length&&(e.attachments=[...e.attachments,...x]),e.propagationContext={...e.propagationContext,..._}}function uo(e,t,i){e[t]=qo(e[t],i,1)}function R_(e,t){const i=TC().getScopeData();return e&&Jx(i,e.getScopeData()),t&&Jx(i,t.getScopeData()),i}function MR(e,t){const{extra:i,tags:s,user:o,contexts:c,level:u,transactionName:p}=t;Object.keys(i).length&&(e.extra={...i,...e.extra}),Object.keys(s).length&&(e.tags={...s,...e.tags}),Object.keys(o).length&&(e.user={...o,...e.user}),Object.keys(c).length&&(e.contexts={...c,...e.contexts}),u&&(e.level=u),p&&e.type!=="transaction"&&(e.transaction=p)}function DR(e,t){const i=[...e.breadcrumbs||[],...t];e.breadcrumbs=i.length?i:void 0}function OR(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function LR(e,t){e.contexts={trace:YC(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:or(t),...e.sdkProcessingMetadata};const i=Et(t),s=ke(i).description;s&&!e.transaction&&e.type==="transaction"&&(e.transaction=s)}function UR(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}const k_="http.url",M_="sentry.segment.name",D_="sentry.transaction",lr="url.full",IR="url.path";function O_(e,t){const i=e.attributes??(e.attributes={});Object.entries(t).forEach(([s,o])=>{o!=null&&!(s in i)&&(i[s]=o)})}const xh=0,e0=1,t0=2;function Wo(e){return new Co(t=>{t(e)})}function L_(e){return new Co((t,i)=>{i(e)})}class Co{constructor(t){this._state=xh,this._handlers=[],this._runExecutor(t)}then(t,i){return new Co((s,o)=>{this._handlers.push([!1,c=>{if(!t)s(c);else try{s(t(c))}catch(u){o(u)}},c=>{if(!i)o(c);else try{s(i(c))}catch(u){o(u)}}]),this._executeHandlers()})}catch(t){return this.then(i=>i,t)}finally(t){return new Co((i,s)=>{let o,c;return this.then(u=>{c=!1,o=u,t&&t()},u=>{c=!0,o=u,t&&t()}).then(()=>
19{if(c){s(o);return}i(o)})})}_executeHandlers(){if(this._state===xh)return;const t=this._handlers.slice();this._handlers=[],t.forEach(i=>{i[0]||(this._state===e0&&i[1](this._value),this._state===t0&&i[2](this._value),i[0]=!0)})}_runExecutor(t){const i=(c,u)=>{if(this._state===xh){if(Vo(u)){u.then(s,o);return}this._state=c,this._value=u,this._executeHandlers()}},s=c=>{i(e0,c)},o=c=>{i(t0,c)};try{t(s,o)}catch(c){o(c)}}}function BR(e,t,i,s=0){try{const o=lp(t,i,e,s);return Vo(o)?o:Wo(o)}catch(o){return L_(o)}}function lp(e,t,i,s){const o=i[s];if(!e||!o)return e;const c=o({...e},t);return ie&&c===null&&K.log(`Event processor "${o.id||"?"}" dropped event`),Vo(c)?c.then(u=>lp(u,t,i,s+1)):lp(c,t,i,s+1)}let Mi,n0,a0,Ka;function zR(e){const t=Ee._sentryDebugIds,i=Ee._debugIds;if(!t&&!i)return{};const s=t?Object.keys(t):[],o=i?Object.keys(i):[];if(Ka&&s.length===n0&&o.length===a0)return Ka;n0=s.length,a0=o.length,Ka={},Mi||(Mi={});const c=(u,p)=>{for(const m of u){const g=p[m],v=Mi?.[m];if(v&&Ka&&g)Ka[v[0]]=g,Mi&&(Mi[m]=[v[0],g]);else if(g){const y=e(m);for(let x=y.length-1;x>=0;x--){const T=y[x]?.filename;if(T&&Ka&&Mi){Ka[T]=g,Mi[m]=[T,g];break}}}}};return t&&c(s,t),i&&c(o,i),Ka}function PR(e,t,i,s,o,c){const{normalizeDepth:u=3,normalizeMaxBreadth:p=1e3}=e,m={...t,event_id:t.event_id||i.event_id||vn(),timestamp:t.timestamp||Qi()},g=i.integrations||e.integrations.map(R=>R.name);VR(m,e),GR(m,g),o&&o.emit("applyFrameMetadata",t),t.type===void 0&&HR(m,e.stackParser);const v=WR(s,i.captureContext);i.mechanism&&Vi(m,i.mechanism);const y=o?o.getEventProcessors():[],x=R_(c,v),_=[...i.attachments||[],...x.attachments];_.length&&(i.attachments=_),kR(m,x);const T=[...y,...x.eventProcessors];return(i.data&&i.data.__sentry__===!0?Wo(m):BR(T,m,i)).then(R=>(R&&qR(R),typeof u=="number"&&u>0?FR(R,u,p):R))}function VR(e,t){const{environment:i,release:s,dist:o,maxValueLength:c}=t;e.environment=e.environment||i||dm,!e.release&&s&&(e.release=s),!e.dist&&o&&(e.dist=o);const u=e.request;u?.url&&c&&(u.url=ep(u.url,c)),c&&e.exception?.values?.forEach(p=>{p.value&&(p.value=ep(p.value,c))})}function HR(e,t){const i=zR(t);e.exception?.values?.forEach(s=>{s.stacktrace?.frames?.forEach(o=>{o.filename&&(o.debug_id=i[o.filename])})})}function qR(e){const t={};if(e.exception?.values?.forEach(s=>{s.stacktrace?.frames?.forEach(o=>{o.debug_id&&(o.abs_path?t[o.abs_path]=o.debug_id:o.filename&&(t[o.filename]=o.debug_id),delete o.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const i=e.debug_meta.images;Object.entries(t).forEach(([s,o])=>{i.push({type:"sourcemap",code_file:s,debug_id:o})})}function GR(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function FR(e,t,i){if(!e)return null;const s={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(o=>({...o,...o.data&&{data:ua(o.data,t,i)}}))},...e.user&&{user:ua(e.user,t,i)},...e.contexts&&{contexts:ua(e.contexts,t,i)},...e.extra&&{extra:ua(e.extra,t,i)}};return e.contexts?.trace&&s.contexts&&(s.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(s.contexts.trace.data=ua(e.contexts.trace.data,t,i))),e.spans&&(s.spans=e.spans.map(o=>({...o,...o.data&&{data:ua(o.data,t,i)}}))),e.contexts?.flags&&s.contexts&&(s.contexts.flags=ua(e.contexts.flags,3,i)),s}function WR(e,t){if(!t)return e;const i=e?e.clone():new Hn;return i.update(t),i}function YR(e){if(e)return $R(e)?{captureContext:e}:KR(e)?{captureContext:e}:e}function $R(e){return e instanceof Hn||typeof e=="function"}const XR=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function KR(e){return Object.keys(e).some(t=>XR.includes(t))}function U_(e,t){return Oe().captureException(e,YR(t))}function I_(e,t){return Oe().captureEvent(e,t)}function QR(e,t){tn().setContext(e,t)}function ZR(){return tn().lastEventId()}function JR(){const e=je();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function i0(e){const t=tn(),{user:i}=R_(t,Oe()),{userAgent:s}=Ee.navigator||{},o=oC({user:i,...s&&{userAgent:s},...e}),c=t.getSession();return c?.status==="ok"&&Ys(c,{status:"exited"}),B_(),t.setSession(o),o}function B_(){const e=tn(),i=Oe().getSession()||e.getSession();i&&lC(i),z_(),e.setSession()}function z_(){const e=tn(),t=je(),i=e.getSession();i&&t&&t.captureSession(i)}function Sh(e=!1){if(e){B_();return}z_()}function P_(e){return typeof e=="object"&&typeof e.unref=="function"&&e.unref(),e}const ek="7";function V_(e){const t=e.protocol?`${e.protocol}:`:"",i=e.port?`:${e.port}`:"";return`${t}//${e.host}${i}${e.path?`/${e.path}`:""}/api/`}function tk(e){return`${V_(e)}${e.projectId}/envelope/`}function nk(e,t){const i={sentry_version:ek};return e.publicKey&&(i.sentry_key=e.publicKey),t&&(i.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(i).toString()}function ak(e,t,i){return t||`${tk(e)}?${nk(e,i)}`}function ik(e,t){const i=o_(e);if(!i)return"";const s=`${V_(i)}embed/error-page/`;let o=`dsn=${Zi(i)}`;for(const c in t)if(c!=="dsn"&&c!=="onClose")if(c==="user"){const u=t.user;if(!u)continue;u.name&&(o+=`&name=${encodeURIComponent(u.name)}
19`),u.email&&(o+=`&email=${encodeURIComponent(u.email)}`)}else o+=`&${encodeURIComponent(c)}=${encodeURIComponent(t[c])}`;return`${s}?${o}`}const s0=[];function sk(e){const t={};return e.forEach(i=>{const{name:s}=i,o=t[s];o&&!o.isDefaultInstance&&i.isDefaultInstance||(t[s]=i)}),Object.values(t)}function rk(e){const t=e.defaultIntegrations||[],i=e.integrations;t.forEach(o=>{o.isDefaultInstance=!0});let s;if(Array.isArray(i))s=[...t,...i];else if(typeof i=="function"){const o=i(t);s=Array.isArray(o)?o:[o]}else s=t;return sk(s)}function ok(e,t){const i={};return t.forEach(s=>{s?.beforeSetup&&s.beforeSetup(e)}),t.forEach(s=>{s&&H_(e,s,i)}),i}function r0(e,t){for(const i of t)i?.afterAllSetup&&i.afterAllSetup(e)}function H_(e,t,i){if(i[t.name]){ie&&K.log(`Integration skipped because it was already installed: ${t.name}`);return}if(i[t.name]=t,!s0.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),s0.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const s=t.preprocessEvent.bind(t);e.on("preprocessEvent",(o,c)=>s(o,c,e))}if(typeof t.processEvent=="function"){const s=t.processEvent.bind(t),o=Object.assign((c,u)=>s(c,u,e),{id:t.name});e.addEventProcessor(o)}["processSpan","processSegmentSpan"].forEach(s=>{const o=t[s];typeof o=="function"&&e.on(s,c=>o.call(t,c,e))}),ie&&K.log(`Integration installed: ${t.name}`)}function lk(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function ck(){return"npm"}function uk(){return!lk()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Ru(){return typeof window<"u"&&(!uk()||dk())}function dk(){return Ee.process?.type==="renderer"}function fk(e,t){const i=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...Ru()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:e}]}function hk(e,t,i,s,o){const c={};return t?.sdk&&(c.sdk={name:t.sdk.name,version:t.sdk.version}),i&&s&&(c.dsn=Zi(s)),Ji(c,[fk(e,o)])}function pk(e,t){const i=t??mk(e)??[];if(i.length===0)return;const s=e.getOptions(),o=hk(i,s._metadata,s.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);q_().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function mk(e){return q_().get(e)}function q_(){return ir("clientToLogBufferMap",()=>new WeakMap)}function gk(e,t){const i=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...Ru()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:e}]}function yk(e,t,i,s,o){const c={};return t?.sdk&&(c.sdk={name:t.sdk.name,version:t.sdk.version}),i&&s&&(c.dsn=Zi(s)),Ji(c,[gk(e,o)])}function vk(e,t){const i=t??bk(e)??[];if(i.length===0)return;const s=e.getOptions(),o=yk(i,s._metadata,s.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);G_().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(o)}function bk(e){return G_().get(e)}function G_(){return ir("clientToMetricBufferMap",()=>new WeakMap)}function xk(e){const t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:!e.status||e.status==="ok"||e.status==="cancelled"?"ok":"error",is_segment:!1,attributes:{...e.data},links:e.links};return KC(t)}function Sk(e,t){if(e.type!=="transaction"||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||t.getOptions().streamGenAiSpans===!1||Gn(t))return;const i=[],s=[];for(const c of e.spans)c.op?.startsWith("gen_ai.")?i.push(xk(c)):s.push(c);if(i.length===0)return;e.spans=s;const o=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:i.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...Ru()&&{ingest_settings:{infer_ip:o,infer_user_agent:o}},items:i}]}const mm=Symbol.for("SentryBufferFullError");function gm(e=100){const t=new Set;function i(){return t.size<e}function s(u){t.delete(u)}function o(u){if(!i())return L_(mm);const p=u();return t.add(p),p.then(()=>s(p),()=>s(p)),p}function c(u){if(!t.size)return Wo(!0);const p=Promise.allSettled(Array.from(t)).then(()=>!0);if(!u)return p;const m=[p,new Promise(g=>P_(setTimeout(()=>g(!1),u)))];return Promise.race(m)}return{get $(){return Array.from(t)},add:o,drain:c}}const Tk=60*1e3;function _k(e,t=oi()){const i=parseInt(`${e}`,10);if(!isNaN(i))return i*1e3;const s=Date.parse(`${e}`);return isNaN(s)?Tk:s-t}function Ek(e,t){return e[t]||e.all||0}function wk(e,t,i=oi()){return Ek(e,t)>i}function Ak(e,{statusCode:t,headers:i},s=oi()){const o={...e},c=i?.["x-sentry-rate-limits"],u=i?.["retry-after"];if(c)for(const p of c.trim().split(",")){const[m,g,,,v]=p.split(":",5),y=parseInt(m,10),x=(isNaN(y)?60:y)*1e3;if(!g)o.all=s+x;else for(const _ of g.split(";"))_==="metric_bucket"?(!v||v.split(";").includes("custom"))&&(o[_]=s+x):o[_]=s+x}else u?o.all=s+_k(u,s):t===429&&(o.all=s+60*1e3);return o}const F_=64;function Nk(e,t,i=gm(e.bufferSize||F_)){let s={};const o=u=>i.drain(u);function c(u){const p=[];if(rp(u,(y,x)=>{const _=Wx(x);wk(s,_)?e.recordDroppedEvent("ratelimit_backoff",_):p.push(y)}),p.length===0)return Promise.resolve({});const m=Ji(u[0],p),g=y=>{if(nR(m,["client_report"])){ie&&K.warn(`Dropping client report. Will not send outcomes (reason: ${y}).`);return}rp(m,(x,_)=>{e.recordDroppedEvent(y,Wx(_))})},v=()=>t({body:aR(m)}).then(y=>y.statusCode===413?(ie&&K.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),g("send_error"),y):(ie&&y.statusCode!==void 0&&(y.statusCode<200||y.statusCode>=300)&&K.warn(`Sentry responded with status code ${y.statusCode} to sent event.`),s=Ak(s,y),y),y=>{throw g("network_error"),ie&&K.error("Encountered error running transport request:",y),y});return i.add(v).then(y=>y,y=>{if(y===mm)return ie&&K.error("Skipped sending event because buffer is full."),g("queue_overflow"),Promise.resolve({});throw y})}return{send:c,flush:o}}function jk(e,t,i){const s=[{type:"client_report"},{timestamp:Qi(),discarded_events:e}];return Ji(t?{dsn:t}:{},[s])}function W_(e){const t=[];e.message&&t.push(e.message);try{const i=e.exception.values[e.exception.values.length-1];i?.value&&(t.push(i.value),i.type&&t.push(`${i.type}: ${i.value}`))}catch{}return t}function Ck(e){const{trace_id:t,parent_span_id:i,span_id:s,status:o,origin:c,data:u,op:p}=e.contexts?.trace??{};return{data:u??{},description:e.transaction,op:p,parent_span_id:i,span_id:s??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:c,profile_id:u?.[cm],exclusive_time:u?.[li],measurements:e.measurements,is_segment:!0}}function Rk(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[cm]:e.profile_id},...e.exclusive_time&&{[li]:e.exclusive_time}}}},measurements:e.measurements}}const Tc=["forwarded","-ip","remote-","via","-user"];function kk(e){return e===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
19,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:Tc},httpHeaders:{request:{deny:Tc},response:{deny:Tc}},httpBodies:[],urlQueryParams:{deny:Tc},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}const Mk={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function Dk(e){const t=e.dataCollection!=null?Mk:kk(e.sendDefaultPii),i=e.dataCollection??{};return{userInfo:i.userInfo??t.userInfo,cookies:i.cookies??t.cookies,httpHeaders:{request:i.httpHeaders?.request??t.httpHeaders.request,response:i.httpHeaders?.response??t.httpHeaders.response},httpBodies:i.httpBodies??t.httpBodies,urlQueryParams:i.urlQueryParams??i.queryParams??t.urlQueryParams,graphQL:{document:i.graphQL?.document??t.graphQL.document,variables:i.graphQL?.variables??t.graphQL.variables},genAI:{inputs:i.genAI?.inputs??t.genAI.inputs,outputs:i.genAI?.outputs??t.genAI.outputs},databaseQueryData:i.databaseQueryData??t.databaseQueryData,stackFrameVariables:i.stackFrameVariables??t.stackFrameVariables,frameContextLines:i.frameContextLines??t.frameContextLines}}const o0="Not capturing exception because it's already been captured.",l0="Discarded session because of missing or non-string release",Y_=Symbol.for("SentryInternalError"),$_=Symbol.for("SentryDoNotSendEventError"),Ok=5e3;function Pc(e){return{message:e,[Y_]:!0}}function Th(e){return{message:e,[$_]:!0}}function c0(e){return _u(e)&&Y_ in e}function u0(e){return _u(e)&&$_ in e}function d0(e,t,i,s,o){let c=0,u,p=!1;e.on(i,()=>{c=0,clearTimeout(u),p=!1}),e.on(t,m=>{if(c+=s(m),c>=8e5)o(e);else if(!p){const g=e.getOptions()._flushInterval??Ok;g>0&&(p=!0,u=P_(setTimeout(()=>{o(e)},g)))}}),e.on("flush",()=>{o(e)})}class Lk{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=gm(t.transportOptions?.bufferSize??F_),this._dataCollection=Dk(t),t.dsn?this._dsn=o_(t.dsn):ie&&K.warn("No DSN provided, client will not send events."),this._dsn){const s=ak(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:s})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&d0(this,"afterCaptureLog","flushLogs",zk,pk),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&d0(this,"afterCaptureMetric","flushMetrics",Bk,vk)}captureException(t,i,s){const o=vn();if(kx(t))return ie&&K.log(o0),o;const c={event_id:o,...i};return this._process(()=>this.eventFromException(t,c).then(u=>this._captureEvent(u,c,s)).then(u=>u),"error"),c.event_id}captureMessage(t,i,s,o){const c={event_id:vn(),...s},u=sm(t)?t:String(t),p=Yi(t),m=p?this.eventFromMessage(u,i,c):this.eventFromException(t,c);return this._process(()=>m.then(g=>this._captureEvent(g,c,o)),p?"unknown":"error"),c.event_id}captureEvent(t,i,s){const o=vn();if(i?.originalException&&kx(i.originalException))return ie&&K.log(o0),o;const c={event_id:o,...i},u=t.sdkProcessingMetadata||{},p=u.capturedSpanScope,m=u.capturedSpanIsolationScope,g=f0(t.type);return this._process(()=>this._captureEvent(t,c,p||s,m),g),c.event_id}captureSession(t){this.sendSession(t),Ys(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const i=this._transport;if(this.emit("flush"),!i)return!0;const s=await this._isClientDoneProcessing(t),o=await i.flush(t);return s&&o}async close(t){const i=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),i}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(t){const i=this._integrations[t.name];!i&&t.beforeSetup&&t.beforeSetup(this),H_(this,t,this._integrations),i||r0(this,[t])}sendEvent(t,i={}
19){this.emit("beforeSendEvent",t,i);const s=Sk(t,this);let o=dR(t,this._dsn,this._options._metadata,this._options.tunnel);for(const c of i.attachments||[])o=Fx(o,rR(c));s&&(o=Fx(o,s)),this.sendEnvelope(o).then(c=>this.emit("afterSendEvent",t,c))}sendSession(t){const{release:i,environment:s=dm}=this._options;if("aggregates"in t){const c=t.attrs||{};if(!c.release&&!i){ie&&K.warn(l0);return}c.release=c.release||i,c.environment=c.environment||s,t.attrs=c}else{if(!t.release&&!i){ie&&K.warn(l0);return}t.release=t.release||i,t.environment=t.environment||s}this.emit("beforeSendSession",t);const o=uR(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(o)}recordDroppedEvent(t,i,s=1){if(this._options.sendClientReports){const o=`${t}:${i}`;ie&&K.log(`Recording outcome: "${o}"${s>1?` (${s} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+s}}on(t,i){const s=this._hooks[t]=this._hooks[t]||new Set,o=(...c)=>i(...c);return s.add(o),()=>{s.delete(o)}}emit(t,...i){const s=this._hooks[t];s&&s.forEach(o=>o(...i))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(i){return ie&&K.error("Error while sending envelope:",i),{}}return ie&&K.error("Transport disabled"),{}}registerCleanup(t){}dispose(){}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=ok(this,t),r0(this,t)}_updateSessionFromEvent(t,i){let s=i.level==="fatal",o=!1;const c=i.exception?.values;if(c){o=!0,s=!1;for(const m of c)if(m.mechanism?.handled===!1){s=!0;break}}const u=t.status==="ok";(u&&t.errors===0||u&&s)&&(Ys(t,{...s&&{status:"crashed"},errors:t.errors||Number(o||s)}),this.captureSession(t))}async _isClientDoneProcessing(t){let i=0;for(;!t||i<t;){if(await new Promise(s=>setTimeout(s,1)),!this._numProcessing)return!0;i++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,i,s,o){const c=this.getOptions(),u=this.getIntegrationNames();return!i.integrations&&u.length&&(i.integrations=u),this.emit("preprocessEvent",t,i),t.type||o.setLastEventId(t.event_id||i.event_id),PR(c,t,i,s,this,o).then(p=>{if(p===null)return p;this.emit("postprocessEvent",p,i),p.contexts={trace:{...p.contexts?.trace,..._C(s)},...p.contexts};const m=fm(this,s);return p.sdkProcessingMetadata={dynamicSamplingContext:m,...p.sdkProcessingMetadata},p})}_captureEvent(t,i={},s=Oe(),o=tn()){return ie&&cp(t)&&K.log(`Captured error event \`${W_(t)[0]||"<unknown>"}\``),this._processEvent(t,i,s,o).then(c=>c.event_id,c=>{ie&&(u0(c)?K.log(c.message):c0(c)?K.warn(c.message):K.warn(c))})}_processEvent(t,i,s,o){const c=this.getOptions(),{sampleRate:u}=c,p=X_(t),m=cp(t),v=`before send for type \`${t.type||"error"}\``,y=typeof u>"u"?void 0:No(u),x=f0(t.type);return this._prepareEvent(t,i,s,o).then(_=>{if(_===null)throw this.recordDroppedEvent("event_processor",x),Th("An event processor returned `null`, will not send event.");if(i.data?.__sentry__===!0)return _;const j=Ik(this,c,_,i);return Uk(j,v)}).then(_=>{if(_===null){if(this.recordDroppedEvent("before_send",x),p){const R=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",R)}throw Th(`${v} returned \`null\`, will not send event.`)}const T=s.getSession()||o.getSession();if(m&&T&&this._updateSessionFromEvent(T,_),m&&typeof y=="number"&&Ja()>y)throw this.recordDroppedEvent("sample_rate","error"),Th(`Discarding event because it's not included in the random sample (sampling rate = ${u})`);if(p){const A=_.sdkProcessingMetadata?.spanCountBeforeProcessing||0,R=_.spans?_.spans.length:0,M=A-R;M>0&&this.recordDroppedEvent("before_send","span",M)}const j=_.transaction_info;if(p&&j&&_.transaction!==t.transaction){const A="custom";_.transaction_info={...j,source:A}}return this.sendEvent(_,i),_}).then(null,_=>{throw u0(_)||c0(_)?_:(this.captureException(_,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:_}),Pc(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
20Reason: ${_}`))})}_process(t,i){this._numProcessing++,this._promiseBuffer.add(t).then(s=>(this._numProcessing--,s),s=>(this._numProcessing--,s===mm&&this.recordDroppedEvent("queue_overflow",i),s))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([i,s])=>{const[o,c]=i.split(":");return{reason:o,category:c,quantity:s}})}_flushOutcomes(){ie&&K.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){ie&&K.log("No outcomes to send");return}if(!this._dsn){ie&&K.log("No dsn provided, will not send outcomes");return}ie&&K.log("Sending outcomes:",t);const i=jk(t,this._options.tunnel&&Zi(this._dsn));this.sendEnvelope(i)}}function f0(e){return e==="replay_event"?"replay":e||"error"}function Uk(e,t){const i=`${t} must return \`null\` or a valid event.`;if(Vo(e))return e.then(s=>{if(!Eo(s)&&s!==null)throw Pc(i);return s},s=>{throw Pc(`${t} rejected with ${s}`)});if(!Eo(e)&&e!==null)throw Pc(i);return e}function Ik(e,t,i,s){const{beforeSend:o,beforeSendTransaction:c,ignoreSpans:u}=t,p=!__(t.beforeSendSpan)&&t.beforeSendSpan;let m=i;if(cp(m)&&o)return o(m,s);if(X_(m)){if(p||u){const g=Ck(m);if(u?.length&&jo({description:g.description,op:g.op,attributes:g.data},u))return null;if(p){const v=p(g);v?m=qo(i,Rk(v)):sp()}if(m.spans){const v=[],y=m.spans;for(const _ of y){if(u?.length&&jo({description:_.description,op:_.op,attributes:_.data},u)){eR(y,_);continue}if(p){const T=p(_);T?v.push(T):(sp(),v.push(_))}else v.push(_)}const x=m.spans.length-v.length;x&&e.recordDroppedEvent("before_send","span",x),m.spans=v}}if(c){if(m.spans){const g=m.spans.length;m.sdkProcessingMetadata={...i.sdkProcessingMetadata,spanCountBeforeProcessing:g}}return c(m,s)}}return m}function cp(e){return e.type===void 0}function X_(e){return e.type==="transaction"}function Bk(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+K_(e.attributes)}function zk(e){let t=0;return e.message&&(t+=e.message.length*2),t+K_(e.attributes)}function K_(e){if(!e)return 0;let t=0;return Object.values(e).forEach(i=>
20{Array.isArray(i)?t+=i.length*h0(i[0]):Yi(i)?t+=h0(i):t+=100}),t}function h0(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function Pk(e,t){t.debug===!0&&(ie?K.enable():Ki(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Oe().update(t.initialScope);const s=new e(t);return Vk(s),s.init(),s}function Vk(e){Oe().setClient(e)}const Hk="thismessage:/";function ym(e){return"isRelative"in e}function au(e,t){const i=e.indexOf("://")<=0&&e.indexOf("//")!==0,s=i?Hk:void 0;try{if("canParse"in URL&&!URL.canParse(e,s))return;const o=new URL(e,s);return i?{isRelative:i,pathname:o.pathname,search:o.search,hash:o.hash}:o}catch{}}function Q_(e){if(ym(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function qi(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const i=t[6]||"",s=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:i,hash:s,relative:t[5]+i+s}}function qk(e){return e.split(/[?#]/,1)[0]}function Nn(e,t=!0){if(e.startsWith("data:")){const i=e.match(/^data:([^;,]+)/),s=i?i[1]:"text/plain",o=e.includes(";base64,"),c=e.indexOf(",");let u="";if(t&&c!==-1){const p=e.slice(c+1);u=p.length>10?`${p.slice(0,10)}... [truncated]`:p}return`data:${s}${o?",base64":""}${u?`,${u}`:""}`}return e}function Gk(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function Z_(e,t,i=[t],s="npm"){const o=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};o.name||(o.name=`sentry.javascript.${t}`,o.packages=i.map(c=>({name:`${s}:@sentry/${c}`,version:Pi})),o.version=Pi)}function J_(e={}){const t=e.client||je();if(!JR()||!t)return{};const i=ii(),s=rr(i);if(s.getTraceData)return s.getTraceData(e);const o=e.scope||Oe(),c=e.span||nn(),u=Ks(c)&&!Zt(t.getOptions()),p=c&&!u?$C(c):Fk(o),m=c?or(c):fm(t,o),g=DC(m);if(!l_.test(p))return K.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const y={"sentry-trace":p,baggage:g};return e.propagateTraceparent&&(y.traceparent=c&&!u?XC(c):Wk(o)),y}function Fk(e){const{traceId:t,sampled:i,propagationSpanId:s}=e.getPropagationContext();return c_(t,s,i)}function Wk(e){const{traceId:t,sampled:i,propagationSpanId:s}=e.getPropagationContext();return u_(t,s,i)}const Yk=100;function Xi(e,t){const i=je(),s=tn();if(!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:c=Yk}=i.getOptions();if(c<=0)return;const p={timestamp:Qi(),...e},m=o?Ki(()=>o(p,t)):p;m!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",m,t),s.addBreadcrumb(m,c))}const $k="FunctionToString",p0=new WeakMap,Xk=(()=>({name:$k,setupOnce(){const e=Function.prototype.toString;try{Function.prototype.toString=function(...t){const i=om(this);let s;try{p0.has(je())&&i!==void 0&&(s=i)}catch{}return e.apply(s??this,t)}}catch{}},setup(e){p0.set(e,!0)}})),Kk=Xk,Qk=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],Zk="EventFilters",Jk=(e={})=>{let t;return{name:Zk,setup(i){const s=i.getOptions();t=m0(e,s)},processEvent(i,s,o){if(!t){const c=o.getOptions();t=m0(e,c)}return tM(i,t)?null:i}}},eM=((e={})=>({...Jk(e),name:"InboundFilters"}));function m0(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Qk],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function tM(e,t){if(e.type){if(e.type==="transaction"&&aM(e,t.ignoreTransactions))return ie&&K.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
21Event: ${Ii(e)}`),!0}else{if(nM(e,t.ignoreErrors))return ie&&K.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
22Event: ${Ii(e)}`),!0;if(oM(e))return ie&&K.warn(`Event dropped due to not having an error message, error type or stacktrace.
23Event: ${Ii(e)}`),!0;if(iM(e,t.denyUrls))return ie&&K.warn(`Event dropped due to being matched by \`denyUrls\` option.
24Event: ${Ii(e)}.
25Url: ${iu(e)}`),!0;if(!sM(e,t.allowUrls))return ie&&K.warn(`Event dropped due to not being matched by \`allowUrls\` option.
26Event: ${Ii(e)}.
27Url: ${iu(e)}`),!0}return!1}function nM(e,t){return t?.length?W_(e).some(i=>fa(i,t)):!1}function aM(e,t){if(!t?.length)return!1;const i=e.transaction;return i?fa(i,t):!1}function iM(e,t){if(!t?.length)return!1;const i=iu(e);return i?fa(i,t):!1}function sM(e,t){if(!t?.length)return!0;const i=iu(e);return i?fa(i,t):!0}function rM(e=[]){for(let t=e.length-1;t>=0;t--){const i=e[t];if(i&&i.filename!=="<anonymous>"&&i.filename!=="[native code]")return i.filename||null}return null}function iu(e){try{const i=[...e.exception?.values??[]].reverse().find(s=>s.mechanism?.parent_id===void 0&&s.stacktrace?.frames?.length)?.stacktrace?.frames;return i?rM(i):null}catch{return ie&&K.error(`Cannot extract url for event ${Ii(e)}`),null}}function oM(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value):!1}function lM(e,t,i,s,o,c){if(!o.exception?.values||!c||!Vn(c.originalException))return;const u=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;u&&(o.exception.values=up(e,t,s,c.originalException,i,o.exception.values,u,0))}function up(e,t,i,s,o,c,u,p){if(c.length>=i+1)return c;let m=[...c];if(Vn(s[o])){g0(u,p,s);const g=e(t,s[o]),v=m.length;y0(g,o,v,p),m=up(e,t,i,s[o],o,[g,...m],g,v)}
27return eE(s)&&s.errors.forEach((g,v)=>{if(Vn(g)){g0(u,p,s);const y=e(t,g),x=m.length;y0(y,`errors[${v}]`,x,p),m=up(e,t,i,g,o,[y,...m],y,x)}}),m}function eE(e){return Array.isArray(e.errors)}function g0(e,t,i){e.mechanism={handled:!0,type:"auto.core.linked_errors",...eE(i)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function y0(e,t,i,s){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:i,parent_id:s}}function cM(e){return Vn(e)&&"__sentry_fetch_url_host__"in e&&typeof e.__sentry_fetch_url_host__=="string"}function v0(e){return cM(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}const b0=new Set([]);function uM(e){const t="console",i=si(t,e);return ri(t,dM),i}const x0=new Set;function dM(){"console"in Ee&&Oj.forEach(function(e){x0.has(e)||!(e in Ee.console)||(x0.add(e),Qt(Ee.console,e,function(t){return eu[e]=t,function(...i){const s=i[0],o=eu[e],c=b0.size&&typeof s=="string"&&fa(s,b0);c||yn("console",{args:i,level:e}),(!c||ie&&K.isEnabled())&&o?.apply(Ee.console,i)}}))})}function fM(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const hM="Dedupe",pM=(()=>{let e;return{name:hM,processEvent(t){if(t.type)return t;try{if(gM(t,e))return ie&&K.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}),mM=pM;function gM(e,t){return t?!!(yM(e,t)||vM(e,t)):!1}function yM(e,t){const i=e.message,s=t.message;return!(!i&&!s||i&&!s||!i&&s||i!==s||!nE(e,t)||!tE(e,t))}function vM(e,t){const i=S0(t),s=S0(e);return!(!i||!s||i.type!==s.type||i.value!==s.value||!nE(e,t)||!tE(e,t))}function tE(e,t){let i=Ax(e),s=Ax(t);if(!i&&!s)return!0;if(i&&!s||!i&&s||(i=i,s=s,s.length!==i.length))return!1;for(let o=0;o<s.length;o++){const c=s[o],u=i[o];if(c.filename!==u.filename||c.lineno!==u.lineno||c.colno!==u.colno||c.function!==u.function)return!1}return!0}function nE(e,t){let i=e.fingerprint,s=t.fingerprint;if(!i&&!s)return!0;if(i&&!s||!i&&s)return!1;i=i,s=s;try{return i.join("")===s.join("")}catch{return!1}}function S0(e){return e.exception?.values?.[0]}const bM="ConversationId",xM=(()=>({name:bM,setup(e){e.on("spanStart",t=>{const i=Oe().getScopeData(),s=tn().getScopeData(),o=i.conversationId||s.conversationId;if(o){const{op:c,data:u,description:p}=ke(t);if(!c?.startsWith("gen_ai.")&&!u["ai.operationId"]&&!p?.startsWith("ai."))return;t.setAttribute(AC,o)}})}})),SM=xM;function TM(e,t,i,s,o){if(!e.fetchData)return;const{method:c,url:u}=e.fetchData,p=Zt()&&t(u);if(e.endTimestamp){const j=e.fetchData.__span;if(!j)return;const A=s[j];A&&(p&&(wM(A,e),_M(A,e,o)),delete s[j]);return}const{spanOrigin:m="auto.http.browser",propagateTraceparent:g=!1}=typeof o=="object"?o:{spanOrigin:o},v=je(),y=!!nn(),x=y||!!v&&Gn(v),_=p&&x?ui(jM(u,c,m)):new $i,T=j_(_)&&y?void 0:_;if(p&&!x&&v?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=_.spanContext().spanId,s[_.spanContext().spanId]=_,i(e.fetchData.url)){const j=e.args[0],A={...e.args[1]||{}},R=EM(j,A,Zt()&&x?T:void 0,g);R&&(e.args[1]=A,A.headers=R)}if(v){const j={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};v.emit("beforeOutgoingRequestSpan",_,j)}return _}function _M(e,t,i){(typeof i=="object"&&i!==null?i.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function EM(e,t,i,s){const o=J_({span:i,propagateTraceparent:s}),c=o["sentry-trace"],u=o.baggage,p=o.traceparent;if(!c)return;const m=t.headers||(rm(e)?e.headers:void 0);if(m)if(AM(m)){const g=new Headers(m);if(g.get("sentry-trace")||g.set("sentry-trace",c),s&&p&&!g.get("traceparent")&&g.set("traceparent",p),u){const v=g.get("baggage");v?_c(v)||g.set("baggage",`${v},${u}`):g.set("baggage",u)}return g}else if(NM(m)){const g=[...m];g.find(y=>y[0]==="sentry-trace")||g.push(["sentry-trace",c]),s&&p&&!g.find(y=>y[0]==="traceparent")&&g.push(["traceparent",p]);const v=m.find(y=>y[0]==="baggage"&&typeof y[1]=="string"&&_c(y[1]));return u&&!v&&g.push(["baggage",u]),g}else{const g="sentry-trace"in m?m["sentry-trace"]:void 0,v="traceparent"in m?m.traceparent:void 0,y="baggage"in m?m.baggage:void 0,x=y?Array.isArray(y)?[...y]:[y]:[],_=y&&(Array.isArray(y)?y.find(j=>_c(j)):_c(y));u&&!_&&x.push(u);const T=Object.assign({},m,{"sentry-trace":g??c,...x.length>0&&{baggage:x.join(",")}});return s&&p&&!v&&(T.traceparent=p),T}else return{"sentry-trace":c,...u&&{baggage:u},...p&&{traceparent:p}}}function wM(e,t){if(t.response){n_(e,t.response.status);const i=t.response?.headers?.get("content-length");if(i){const s=parseInt(i);s>0&&e.setAttribute("http.response_content_length",s)}}else t.error&&e.setStatus({code:dt,message:"internal_error"});e.end()}function _c(e){return typeof e!="string"?!1:e.split(",").some(t=>t.trim().startsWith(nu))}function AM(e){return typeof Headers<"u"&&wu(e,Headers)}function NM(e){return Array.isArray(e)?e.every(t=>Array.isArray(t)&&t.length===2&&typeof t[0]=="string"):!1}function jM(e,t,i){if(e.startsWith("data:")){const c=Nn(e);return{name:`${t} ${c}`,attributes:T0(e,void 0,t,i)}}const s=au(e),o=s?Q_(s):e;return{name:`${t} ${o}`,attributes:T0(e,s,t,i)}}function T0(e,t,i,s){const o={url:Nn(e),type:"fetch","http.method":i,[st]:s,[en]:"http.client"};return t&&(ym(t)||(o[k_]=Nn(t.href),o[lr]=Nn(t.href),o["server.address"]=t.host),t.search&&(o["http.query"]=t.search),t.hash&&(o["http.fragment"]=t.hash)),o}function aE(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const Ro=Ee;function CM(){return"history"in Ro&&!!Ro.history}function RM(){if(!("fetch"in Ro))return!1;
27try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function dp(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function kM(){if(typeof EdgeRuntime=="string")return!0;if(!RM())return!1;if(dp(Ro.fetch))return!0;let e=!1;const t=Ro.document;if(t&&typeof t.createElement=="function")try{const i=t.createElement("iframe");i.hidden=!0,t.head.appendChild(i),i.contentWindow?.fetch&&(e=dp(i.contentWindow.fetch)),t.head.removeChild(i)}catch(i){ie&&K.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return e}function vm(e,t){const i="fetch",s=si(i,e);return ri(i,()=>iE(void 0,t)),s}function MM(e){const t="fetch-body-resolved",i=si(t,e);return ri(t,()=>iE(OM)),i}function iE(e,t=!1){t&&!kM()||Qt(Ee,"fetch",function(i){return function(...s){const o=new Error,{method:c,url:u}=LM(s),p={args:s,fetchData:{method:c,url:u},startTimestamp:lt()*1e3,virtualError:o,headers:UM(s)};return e||yn("fetch",{...p}),i.apply(Ee,s).then(async m=>(e?e(m):yn("fetch",{...p,endTimestamp:lt()*1e3,response:m}),m),m=>{yn("fetch",{...p,endTimestamp:lt()*1e3,error:m}),Vn(m)&&m.stack===void 0&&(m.stack=o.stack,wt(m,"framesToPop",1));const v=je()?.getOptions().enhanceFetchErrorMessages??"always";if(v!==!1&&Vn(m)&&m.name==="TypeError"&&(m.message==="Failed to fetch"||m.message==="Load failed"||m.message==="NetworkError when attempting to fetch resource."))try{const _=new URL(p.fetchData.url).host;v==="always"?m.message=`${m.message} (${_})`:wt(m,"__sentry_fetch_url_host__",_)}catch{}throw m})}})}async function DM(e,t){if(e?.body){const i=e.body,s=i.getReader(),o=setTimeout(()=>{i.cancel().then(null,()=>{})},90*1e3);let c=!0;for(;c;){let u;try{u=setTimeout(()=>{i.cancel().then(null,()=>{})},5e3);const{done:p}=await s.read();clearTimeout(u),p&&(t(),c=!1)}catch{c=!1}finally{clearTimeout(u)}}clearTimeout(o),s.releaseLock(),i.cancel().then(null,()=>{})}}function OM(e){let t;try{t=e.clone()}catch{return}DM(t,()=>{yn("fetch-body-resolved",{endTimestamp:lt()*1e3,response:e})})}function Vc(e,t){return _u(e)&&!!e[t]}function _0(e){return typeof e=="string"?e:e?Vc(e,"url")?e.url:e.toString?e.toString():"":""}function LM(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[i,s]=e;return{url:_0(i),method:Vc(s,"method")?String(s.method).toUpperCase():rm(i)&&Vc(i,"method")?String(i.method).toUpperCase():"GET"}}const t=e[0];return{url:_0(t),method:Vc(t,"method")?String(t.method).toUpperCase():"GET"}}function UM(e){const[t,i]=e;try{if(typeof i=="object"&&i!==null&&"headers"in i&&i.headers)return new Headers(i.headers);if(rm(t))return new Headers(t.headers)}catch{}}const sE=Ee;function Qs(){try{return sE.document.location.href}catch{return""}}function rE(e,t=5){if(!sE.HTMLElement)return null;let i=e;for(let s=0;s<t;s++){if(!i)return null;if(i instanceof HTMLElement){if(i.dataset.sentryComponent)return i.dataset.sentryComponent;if(i.dataset.sentryElement)return i.dataset.sentryElement}i=i.parentNode}return null}const ye=Ee;let fp=0;function oE(){return fp>0}function IM(){fp++,setTimeout(()=>{fp--})}function Zs(e,t={}){function i(o){return typeof o=="function"}if(!i(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){const c=e.__sentry_wrapped__;return typeof c=="function"?c:e}if(om(e))return e}catch{return e}const s=function(...o){Ee._sentryWrappedDepth=(Ee._sentryWrappedDepth||0)+1;try{const c=o.map(u=>Zs(u,t));return e.apply(this,c)}catch(c){throw IM(),Au(u=>{u.addEventProcessor(p=>(t.mechanism&&(tp(p,void 0),Vi(p,t.mechanism)),p.extra={...p.extra,arguments:o},p)),U_(c)}),c}finally{Ee._sentryWrappedDepth=(Ee._sentryWrappedDepth||0)-1}};try{for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(s[o]=e[o])}catch{}GT(s,e),wt(e,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get(){return e.name}})}catch{}return s}function su(){const e=Qs(),{referrer:t}=ye.document||{},{userAgent:i}=ye.navigator||{},s={...t&&{Referer:t},...i&&{"User-Agent":i}};return{url:e,headers:s}}function bm(e,t){const i=ku(e,t),s={type:HM(t),value:qM(t)};return i.length&&(s.stacktrace={frames:i}),s.type===void 0&&s.value===""&&(s.value="Unrecoverable error caught"),s}function BM(e,t,i,s){const c=je()?.getOptions().normalizeDepth,u=$M(t),p={__serialized__:YT(t,c)};if(u)return{exception:{values:[bm(e,u)]},extra:p};const m={exception:{values:[{type:Eu(t)?t.constructor.name:s?"UnhandledRejection":"Error",value:WM(t,{isUnhandledRejection:s})}]},extra:p};if(i){const g=ku(e,i);g.length&&(m.exception.values[0].stacktrace={frames:g})}return m}function _h(e,t){return{exception:{values:[bm(e,t)]}}}function ku(e,t){const i=t.stacktrace||t.stack||"",s=PM(t),o=VM(t);try{return e(i,s,o)}catch{}return[]}const zM=/Minified React error #\d+;/i;function PM(e){return e&&zM.test(e.message)?1:0}
27function VM(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function lE(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function HM(e){const t=e?.name;return!t&&lE(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function qM(e){const t=e?.message;return lE(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?v0(t.error):v0(e):"No error message"}function GM(e,t,i,s){const o=i?.syntheticException||void 0,c=xm(e,t,o,s);return Vi(c),c.level="error",i?.event_id&&(c.event_id=i.event_id),Wo(c)}function FM(e,t,i="info",s,o){const c=s?.syntheticException||void 0,u=hp(e,t,c,o);return u.level=i,s?.event_id&&(u.event_id=s.event_id),Wo(u)}function xm(e,t,i,s,o){let c;if(qT(t)&&t.error)return _h(e,t.error);if(jx(t)||Fj(t)){const u=t;if("stack"in t){c=_h(e,t);const p=c.exception?.values?.[0];if(s&&i&&p&&!p.stacktrace){const m=ku(e,i);m.length&&(p.stacktrace={frames:m},Vi(c,{synthetic:!0}))}}else{const p=u.name||(jx(u)?"DOMError":"DOMException"),m=u.message?`${p}: ${u.message}`:p;c=hp(e,m,i,s),tp(c,m)}return"code"in u&&(c.tags={...c.tags,"DOMException.code":`${u.code}`}),c}return Vn(t)?_h(e,t):Eo(t)||Eu(t)?(c=BM(e,t,i,o),Vi(c,{synthetic:!0}),c):(c=hp(e,t,i,s),tp(c,`${t}`),Vi(c,{synthetic:!0}),c)}function hp(e,t,i,s){const o={};if(s&&i){const c=ku(e,i);c.length&&(o.exception={values:[{value:t,stacktrace:{frames:c}}]}),Vi(o,{synthetic:!0})}if(sm(t)){const{__sentry_template_string__:c,__sentry_template_values__:u}=t;return o.logentry={message:c,params:u},o}return o.message=t,o}function WM(e,{isUnhandledRejection:t}){const i=Yj(e),s=t?"promise rejection":"exception";return qT(e)?`Event \`ErrorEvent\` captured as ${s} with message \`${e.message}\``:Eu(e)?`Event \`${YM(e)}\` (type=${e.type}) captured as ${s}`:`Object captured as ${s} with keys: ${i}`}function YM(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function $M(e){return Object.values(e).find(Vn)}class XM extends Lk{constructor(t){const i=KM(t),s=ye.SENTRY_SDK_SOURCE||ck();Z_(i,"browser",["browser"],s),super(i);const{userInfo:o}=this.getDataCollectionOptions();i._metadata?.sdk&&(i._metadata.sdk.settings={infer_ip:o?"auto":"never",...i._metadata.sdk.settings});const{sendClientReports:c}=this._options;ye.document&&ye.document.addEventListener("visibilitychange",()=>{ye.document.visibilityState==="hidden"&&(c&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),o&&this.on("beforeSendSession",Gk)}eventFromException(t,i){return GM(this._options.stackParser,t,i,this._options.attachStacktrace)}eventFromMessage(t,i="info",s){return FM(this._options.stackParser,t,i,s,this._options.attachStacktrace)}_prepareEvent(t,i,s,o){return t.platform=t.platform||"javascript",super._prepareEvent(t,i,s,o)}}function KM(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:ye.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const ba=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,me=Ee,QM=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",Yo=(e,t,i,s)=>{let o,c;return u=>{t.value>=0&&(u||s)&&(c=t.value-(o??0),(c||o===void 0)&&(o=t.value,t.delta=c,t.rating=QM(t.value,i),e(t)))}},$o=(e=!0)=>{const t=me.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},cr=()=>$o()?.activationStart??0;function ei(e,t,i){me.document&&me.addEventListener(e,t,i)}function ru(e,t,i){me.document&&me.removeEventListener(e,t,i)}let Ws=-1;const cE=new Set,ZM=()=>me.document?.visibilityState==="hidden"&&!me.document?.prerendering?0:1/0,Hc=e=>{if(JM(e)&&Ws>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(const t of cE)t();isFinite(Ws)||(Ws=e.type==="visibilitychange"?e.timeStamp:0,ru("prerenderingchange",Hc,!0))}},Xo=()=>{if(me.document&&Ws<0){const e=cr();Ws=(me.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(i=>i.name==="hidden"&&i.startTime>e)[0]?.startTime)??ZM(),ei("visibilitychange",Hc,!0),ei("pagehide",Hc,!0),ei("prerenderingchange",Hc,!0)}return{get firstHiddenTime(){return Ws},onHidden(e){cE.add(e)}}};function JM(e){return e.type==="pagehide"||me.document?.visibilityState==="hidden"}const eD=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Ko=(e,t=-1)=>{const i=$o();let s="navigate";return i&&(me.document?.prerendering||cr()>0?s="prerender":me.document?.wasDiscarded?s="restore":i.type&&(s=i.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:eD(),navigationType:s}},Eh=new WeakMap;function Sm(e,t){try{return Eh.get(e)||Eh.set(e,new t),Eh.get(e)}catch{return new t}}class tD{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(t){if(t.hadRecentInput)return;const i=this._sessionEntries[0],s=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&i&&s&&t.startTime-s.startTime<1e3&&t.startTime-i.startTime<5e3?(this._sessionValue+=t.value,this._sessionEntries.push(t)):(this._sessionValue=t.value,this._sessionEntries=[t]),this._onAfterProcessingUnexpectedShift?.(t)}}const ur=(e,t,i={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const s=new PerformanceObserver(o=>{Promise.resolve().then(()=>{t(o.getEntries())})});return s.observe({type:e,buffered:!0,...i}),s}}catch{}},Tm=e=>{let t=!1;return()=>{t||(e(),t=!0)}},Mu=e=>{me.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},nD=[1800,3e3],aD=(e,t={})=>{Mu(()=>{const i=Xo(),s=Ko("FCP");let o;const u=ur("paint",p=>{for(const m of p)m.name==="first-contentful-paint"&&(u.disconnect(),m.startTime<i.firstHiddenTime&&(s.value=Math.max(m.startTime-cr(),0),s.entries.push(m),o(!0)))});u&&(o=Yo(e,s,nD,t.reportAllChanges))})},iD=[.1,.25],sD=(e,t={})=>{aD(Tm(()=>{const i=Ko("CLS",0);let s;const o=Xo(),c=Sm(t,tD),u=m=>{for(const g of m)c._processEntry(g);c._sessionValue>
27i.value&&(i.value=c._sessionValue,i.entries=c._sessionEntries,s())},p=ur("layout-shift",u);p&&(s=Yo(e,i,iD,t.reportAllChanges),o.onHidden(()=>{u(p.takeRecords()),s(!0)}),me?.setTimeout?.(s))}))};let uE=0,wh=1/0,Ec=0;const rD=e=>{e.forEach(t=>{t.interactionId&&(wh=Math.min(wh,t.interactionId),Ec=Math.max(Ec,t.interactionId),uE=Ec?(Ec-wh)/7+1:0)})};let pp;const dE=()=>pp?uE:performance.interactionCount||0,oD=()=>{"interactionCount"in performance||pp||(pp=ur("event",rD,{type:"event",buffered:!0,durationThreshold:0}))},Ah=10;let fE=0;const lD=()=>dE()-fE;class cD{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){fE=dE(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(lD()/50));return this._longestInteractionList[t]}_processEntry(t){if(this._onBeforeProcessingEntry?.(t),!(t.interactionId||t.entryType==="first-input"))return;const i=this._longestInteractionList.at(-1);let s=this._longestInteractionMap.get(t.interactionId);if(s||this._longestInteractionList.length<Ah||t.duration>i._latency){if(s?t.duration>s._latency?(s.entries=[t],s._latency=t.duration):t.duration===s._latency&&t.startTime===s.entries[0].startTime&&s.entries.push(t):(s={id:t.interactionId,entries:[t],_latency:t.duration},this._longestInteractionMap.set(s.id,s),this._longestInteractionList.push(s)),this._longestInteractionList.sort((o,c)=>c._latency-o._latency),this._longestInteractionList.length>Ah){const o=this._longestInteractionList.splice(Ah);for(const c of o)this._longestInteractionMap.delete(c.id)}this._onAfterProcessingINPCandidate?.(s)}}}const _m=e=>{const t=me.requestIdleCallback||me.setTimeout;me.document?.visibilityState==="hidden"?e():(e=Tm(e),ei("visibilitychange",e,{once:!0,capture:!0}),ei("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),ru("visibilitychange",e,{capture:!0}),ru("pagehide",e,{capture:!0})}))},uD=[200,500],dD=40,fD=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const i=Xo();Mu(()=>{oD();const s=Ko("INP");let o;const c=Sm(t,cD),u=m=>{_m(()=>{for(const v of m)c._processEntry(v);const g=c._estimateP98LongestInteraction();g&&g._latency!==s.value&&(s.value=g._latency,s.entries=g.entries,o())})},p=ur("event",u,{durationThreshold:t.durationThreshold??dD});o=Yo(e,s,uD,t.reportAllChanges),p&&(p.observe({type:"first-input",buffered:!0}),i.onHidden(()=>{u(p.takeRecords()),o(!0)}))})};class hD{_processEntry(t){this._onBeforeProcessingEntry?.(t)}}const pD=[2500,4e3],mD=(e,t={})=>{Mu(()=>{const i=Xo(),s=Ko("LCP");let o;const c=Sm(t,hD),u=m=>{t.reportAllChanges||(m=m.slice(-1));for(const g of m)c._processEntry(g),g.startTime<i.firstHiddenTime&&(s.value=Math.max(g.startTime-cr(),0),s.entries=[g],o())},p=ur("largest-contentful-paint",u);if(p){o=Yo(e,s,pD,t.reportAllChanges);const m=Tm(()=>{u(p.takeRecords()),p.disconnect(),o(!0)}),g=v=>{v.isTrusted&&(_m(m),ru(v.type,g,{capture:!0}))};for(const v of["keydown","click","visibilitychange"])ei(v,g,{capture:!0})}})},gD=[800,1800],mp=e=>{me.document?.prerendering?Mu(()=>mp(e)):me.document?.readyState!=="complete"?addEventListener("load",()=>mp(e),!0):setTimeout(e)},yD=(e,t={})=>{const i=Ko("TTFB"),s=Yo(e,i,gD,t.reportAllChanges);mp(()=>{const o=$o();o&&(i.value=Math.max(o.responseStart-cr(),0),i.entries=[o],s(!0))})},go={},ou={};let hE,pE,mE,gE;function Em(e,t=!1){return Du("cls",e,bD,hE,t)}function wm(e,t=!1){return Du("lcp",e,xD,pE,t)}function vD(e){return Du("ttfb",e,SD,mE)}function yE(e){return Du("inp",e,TD,gE)}function Js(e,t){return vE(e,t),ou[e]||(_D(e),ou[e]=!0),bE(e,t)}function Qo(e,t){const i=go[e];if(i?.length)for(const s of i)try{s(t)}catch(o){ba&&K.error(`Error while triggering instrumentation handler.
28Type: ${e}
29Name: ${ga(s)}
30Error:`,o)}}function bD(){return sD(e=>{Qo("cls",{metric:e}),hE=e},{reportAllChanges:!0})}function xD(){return mD(e=>{Qo("lcp",{metric:e}),pE=e},{reportAllChanges:!0})}function SD(){return yD(e=>{Qo("ttfb",{metric:e}),mE=e})}function TD(){return fD(e=>{Qo("inp",{metric:e}),gE=e})}function Du(e,t,i,s,o=!1){vE(e,t);let c;return ou[e]||(c=i(),ou[e]=!0),s&&t({metric:s}),bE(e,t,o?c:void 0)}function _D(e){const t={};e==="event"&&(t.durationThreshold=0),ur(e,i=>{Qo(e,{entries:i})},t)}function vE(e,t){go[e]=go[e]||[],go[e].push(t)}function bE(e,t,i){return()=>{i&&i();const s=go[e];if(!s)return;const o=s.indexOf(t);o!==-1&&s.splice(o,1)}}function ED(e){return"duration"in e}const wD=80,Li={};try{typeof Node<"u"&&(Li.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(Li.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,Li.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,Li.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,Li.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(Li.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function Qa(e,t,i){const s=Li[t];if(s)try{return s.call(e,i)}catch{}const o=e[t];return typeof o=="function"?o.call(e,i):o}function xt(e,t={}){if(!e)return"<unknown>";try{let i=e;const s=5,o=[];let c=0,u=0;const p=" > ",m=p.length;let g;const v=Array.isArray(t)?t:t.keyAttrs,y=!Array.isArray(t)&&t.maxStringLength||wD;for(;i&&c++<s&&(g=AD(i,v),!(g==="html"||c>
301&&u+o.length*m+g.length>=y));)o.push(g),u+=g.length,i=Qa(i,"parentNode");return o.reverse().join(p)}catch{return"<unknown>"}}function AD(e,t){const i=[],s=Qa(e,"tagName");if(!s)return"";if(typeof HTMLElement<"u"&&e instanceof HTMLElement){const c=Qa(e,"dataset");if(c){if(c.sentryComponent)return c.sentryComponent;if(c.sentryElement)return c.sentryElement}}i.push(s.toLowerCase());const o=t?.length?t.filter(c=>Qa(e,"getAttribute",c)).map(c=>[c,Qa(e,"getAttribute",c)]):null;if(o?.length)o.forEach(c=>{i.push(`[${c[0]}="${c[1]}"]`)});else{const c=Qa(e,"id");c&&i.push(`#${c}`);const u=Qa(e,"className");if(u&&da(u)){const p=u.split(/\s+/);for(const m of p)i.push(`.${m}`)}}for(const c of["aria-label","type","name","title","alt"]){const u=Qa(e,"getAttribute",c);u&&i.push(`[${c}="${u}"]`)}return i.join("")}const ND=e=>{const t=i=>{(i.type==="pagehide"||me.document?.visibilityState==="hidden")&&e(i)};ei("visibilitychange",t,{capture:!0,once:!0}),ei("pagehide",t,{capture:!0,once:!0})};function Nh(e){return typeof e=="number"&&isFinite(e)}function ti(e,t,i,{...s}){const o=ke(e).start_timestamp;return o&&o>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),N_(e,()=>{const c=ui({startTime:t,...s});return c&&c.end(i),c})}function Am(e){const t=je();if(!t)return;const{name:i,transaction:s,attributes:o,startTime:c}=e,{release:u,environment:p}=t.getOptions(),{userInfo:m}=t.getDataCollectionOptions(),v=t.getIntegrationByName("Replay")?.getReplayId(),y=Oe(),x=y.getUser(),_=x!==void 0?x.email||x.id||x.ip_address:void 0;let T;try{T=y.getScopeData().contexts.profile.profile_id}catch{}const j={release:u,environment:p,user:_||void 0,profile_id:T||void 0,replay_id:v||void 0,transaction:s,"user_agent.original":me.navigator?.userAgent,"client.address":m?"{{auto}}":void 0,...o};return ui({name:i,attributes:j,startTime:c,experimental:{standalone:!0}})}function dr(){return me.addEventListener&&me.performance}function Ge(e){return e/1e3}function jD(e){let t="unknown",i="unknown",s="";for(const o of e){if(o==="/"){[t,i]=e.split("/");break}if(!isNaN(Number(o))){t=s==="h"?"http":s,i=e.split(s)[1];break}s+=o}return s===e&&(t=s),{name:t,version:i}}function Ou(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function Lu(e,t){let i,s=!1;function o(p){!s&&i&&t(p,i.spanContext().spanId,i),s=!0}ND(()=>{o("pagehide")});const c=e.on("beforeStartNavigationSpan",(p,m)=>{m?.isRedirect||(o("navigation"),c(),u())}),u=e.on("afterStartPageLoadSpan",p=>
30{i=p,u()})}function CD(e){let t=0,i;if(!Ou("layout-shift"))return;const s=Em(({metric:o})=>{const c=o.entries[o.entries.length-1];c&&(t=o.value,i=c)},!0);Lu(e,(o,c)=>{RD(t,i,c,o),s()})}function RD(e,t,i,s){ba&&K.log(`Sending CLS span (${e})`);const o=t?Ge((St()||0)+t.startTime):lt(),c=Oe().getScopeData().transactionName,u=t?xt(t.sources[0]?.node):"Layout shift",p={[st]:"auto.http.browser.cls",[en]:"ui.webvital.cls",[li]:0,"sentry.pageload.span_id":i,"sentry.report_event":s};t?.sources&&t.sources.forEach((g,v)=>{p[`cls.source.${v+1}`]=xt(g.node)});const m=Am({name:u,transaction:c,attributes:p,startTime:o});m&&(m.addEvent("cls",{[Go]:"",[Fo]:e}),m.end(o))}const kD=6e4;function Zo(e){return e!=null&&e>0&&e<=kD}function MD(e){let t=0,i;if(!Ou("largest-contentful-paint"))return;const s=wm(({metric:o})=>{const c=o.entries[o.entries.length-1];!c||!Zo(o.value)||(t=o.value,i=c)},!0);Lu(e,(o,c)=>{DD(t,i,c,o),s()})}function DD(e,t,i,s){if(!Zo(e))return;ba&&K.log(`Sending LCP span (${e})`);const o=Ge((St()||0)+(t?.startTime||0)),c=Oe().getScopeData().transactionName,u=t?xt(t.element):"Largest contentful paint",p={[st]:"auto.http.browser.lcp",[en]:"ui.webvital.lcp",[li]:0,"sentry.pageload.span_id":i,"sentry.report_event":s};t&&(t.element&&(p["lcp.element"]=xt(t.element)),t.id&&(p["lcp.id"]=t.id),t.url&&(p["lcp.url"]=t.url),t.loadTime!=null&&(p["lcp.loadTime"]=t.loadTime),t.renderTime!=null&&(p["lcp.renderTime"]=t.renderTime),t.size!=null&&(p["lcp.size"]=t.size));const m=Am({name:u,transaction:c,attributes:p,startTime:o});m&&(m.addEvent("lcp",{[Go]:"millisecond",[Fo]:e}),m.end(o))}function mn(e){return e&&((St()||performance.timeOrigin)+e)/1e3}function xE(e){const t={};if(e.nextHopProtocol!=null){const{name:i,version:s}=jD(e.nextHopProtocol);t["network.protocol.version"]=s,t["network.protocol.name"]=i}return St()||dr()?.timeOrigin?OD({...t,"http.request.redirect_start":mn(e.redirectStart),"http.request.redirect_end":mn(e.redirectEnd),"http.request.worker_start":mn(e.workerStart),"http.request.fetch_start":mn(e.fetchStart),"http.request.domain_lookup_start":mn(e.domainLookupStart),"http.request.domain_lookup_end":mn(e.domainLookupEnd),"http.request.connect_start":mn(e.connectStart),"http.request.secure_connection_start":mn(e.secureConnectionStart),"http.request.connection_end":mn(e.connectEnd),"http.request.request_start":mn(e.requestStart),"http.request.response_start":mn(e.responseStart),"http.request.response_end":mn(e.responseEnd),"http.request.time_to_first_byte":e.responseStart!=null?e.responseStart/1e3:void 0}):t}function OD(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}const LD=2147483647;let E0=0,Bt={},It,lu;function UD({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:i}){const s=dr();if(s&&St()){s.mark&&me.performance.mark("sentry-tracing-init");const o=t?MD(i):t===!1?VD():void 0,c=e?CD(i):e===!1?PD():void 0,u=HD(),p=qD();return()=>{u(),p(),o?.(),c?.()}}return()=>{}}function ID(){Js("longtask",({entries:e})=>{const t=nn();if(!t)return;const{op:i,start_timestamp:s}=ke(t);for(const o of e){const c=Ge(St()+o.startTime),u=Ge(o.duration);i==="navigation"&&s&&c<s||ti(t,c,c+u,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[st]:"auto.ui.browser.metrics"}})}})}function BD(){new PerformanceObserver(t=>{const i=nn();if(i)for(const s of t.getEntries()){if(!s.scripts[0])continue;const o=Ge(St()+s.startTime),{start_timestamp:c,op:u}=ke(i);if(u==="navigation"&&c&&o<c)continue;const p=Ge(s.duration),m={[st]:"auto.ui.browser.metrics"},g=s.scripts[0],{invoker:v,invokerType:y,sourceURL:x,sourceFunctionName:_,sourceCharPosition:T}=g;m["browser.script.invoker"]=v,m["browser.script.invoker_type"]=y,x&&(m["code.filepath"]=x),_&&(m["code.function"]=_),T!==-1&&(m["browser.script.source_char_position"]=T),ti(i,o,o+p,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:m})}}).observe({type:"long-animation-frame",buffered:!0})}function zD(){Js("event",({entries:e})=>{const t=nn();if(t){for(const i of e)if(i.name==="click"){const s=Ge(St()+i.startTime),o=Ge(i.duration),c={name:xt(i.target),op:`ui.interaction.${i.name}`,startTime:s,attributes:{[st]:"auto.ui.browser.metrics"}},u=rE(i.target);u&&(c.attributes["ui.component_name"]=u),ti(t,s,s+o,c)}}})}function PD(){return Em(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Bt.cls={value:e.value,unit:""},lu=t)},!0)}function VD(){return wm(({metric:e})=>{const t=e.entries[e.entries.length-1];!t||!Zo(e.value)||(Bt.lcp={value:e.value,unit:"millisecond"},It=t)},!0)}function HD(){return vD(({metric:e})=>{e.entries[e.entries.length-1]&&(Bt.ttfb={value:e.value,unit:"millisecond"})})}function qD(){return Js("paint",({entries:e})=>{const t=Xo();for(const i of e){const s=i.startTime<t.firstHiddenTime;i.name==="first-paint"&&s&&(Bt.fp={value:i.startTime,unit:"millisecond"}),i.name==="first-contentful-paint"&&s&&(Bt.fcp={value:i.startTime,unit:"millisecond"})}})}function GD(e,t){const i=dr(),s=St();if(!i?.getEntries||!s)return;const{spanStreamingEnabled:o,ignorePerformanceApiSpans:c,ignoreResourceSpans:u}=t,p=Ge(s),m=i.getEntries(),{op:g,start_timestamp:v}=ke(e);
30m.slice(E0).forEach(y=>{const x=Ge(y.startTime),_=Ge(Math.max(0,y.duration));if(!(g==="navigation"&&v&&p+x<v))switch(y.entryType){case"navigation":{XD(e,y,p);break}case"mark":case"paint":case"measure":{YD(e,y,x,_,p,c);break}case"resource":{ZD(e,y,y.name,x,_,p,u);break}}}),E0=Math.max(m.length-1,0),JD(e,o)}function FD(e,t){const i=St();if(!dr()?.getEntries||!i){w0();return}const{spanStreamingEnabled:s,recordClsOnPageloadSpan:o,recordLcpOnPageloadSpan:c}=t,u=Ge(i);if(ke(e).op==="pageload"){if(nO(Bt),s){const p=(m,g,v)=>{const y=v??`browser.web_vital.${m}.value`;e.setAttribute(y,g),ba&&K.log("Setting web vital attribute",{[y]:g},"on pageload span")};["ttfb","fp","fcp"].forEach(m=>{Bt[m]&&p(m,Bt[m].value)}),Bt["ttfb.requestTime"]&&p("ttfb.requestTime",Bt["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else o||delete Bt.cls,c||delete Bt.lcp,Object.entries(Bt).forEach(([p,m])=>{A_(p,m.value,m.unit,e)}),eO(e,t);e.setAttribute(s?"browser.performance.time_origin":"performance.timeOrigin",u),e.setAttribute(s?"browser.performance.navigation.activation_start":"performance.activationStart",cr())}w0()}function w0(){It=void 0,lu=void 0,Bt={}}function WD(e){if(e?.entryType==="measure")try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function YD(e,t,i,s,o,c){if(WD(t)||["mark","measure"].includes(t.entryType)&&fa(t.name,c))return;const u=$o(!1),p=Ge(u?u.requestStart:0),m=o+Math.max(i,p),g=o+i,v=g+s,y={[st]:"auto.resource.browser.metrics"};m!==g&&(y["sentry.browser.measure_happened_before_request"]=!0,y["sentry.browser.measure_start_time"]=m),$D(y,t),m<=v&&ti(e,m,v,{name:t.name,op:t.entryType,attributes:y})}function $D(e,t){try{const i=t.detail;if(!i)return;if(typeof i=="object"){for(const[s,o]of Object.entries(i))if(o&&Yi(o))e[`sentry.browser.measure.detail.${s}`]=o;else if(o!==void 0)try{e[`sentry.browser.measure.detail.${s}`]=JSON.stringify(o)}catch{}return}if(Yi(i)){e["sentry.browser.measure.detail"]=i;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(i)}catch{}}catch{}}function XD(e,t,i){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(s=>{wc(e,t,s,i)}),wc(e,t,"secureConnection",i,"TLS/SSL"),wc(e,t,"fetch",i,"cache"),wc(e,t,"domainLookup",i,"DNS"),QD(e,t,i)}function wc(e,t,i,s,o=i){const c=KD(i),u=t[c],p=t[`${i}Start`];!p||!u||ti(e,s+Ge(p),s+Ge(u),{op:`browser.${o}`,name:t.name,attributes:{[st]:"auto.ui.browser.metrics",...i==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function KD(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function QD(e,t,i){const s=i+Ge(t.requestStart),o=i+Ge(t.responseEnd),c=i+Ge(t.responseStart);t.responseEnd&&(ti(e,s,o,{op:"browser.request",name:t.name,attributes:{[st]:"auto.ui.browser.metrics"}}),ti(e,c,o,{op:"browser.response",name:t.name,attributes:{[st]:"auto.ui.browser.metrics"}}))}function ZD(e,t,i,s,o,c,u){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const p=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(u?.includes(p))return;const m={[st]:"auto.resource.browser.metrics"},g=qi(i);g.protocol&&(m["url.scheme"]=g.protocol.split(":").pop()),g.host&&(m["server.address"]=g.host),m["url.same_origin"]=i.includes(me.location.origin),m[lr]=i,tO(t,m,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const v={...m,...xE(t)},y=c+s,x=y+o;ti(e,y,x,{name:i.replace(me.location.origin,""),op:p,attributes:v})}function JD(e,t){const i=me.navigator;if(!i)return;const s=i.connection;s&&(s.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",s.effectiveType),s.type&&e.setAttribute(t?"network.connection.type":"connectionType",s.type),Nh(s.rtt)&&(t?e.setAttribute("network.connection.rtt",s.rtt):ke(e).op==="pageload"&&A_("connection.rtt",s.rtt,"millisecond"))),Nh(i.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",i.deviceMemory):e.setAttribute("deviceMemory",`${i.deviceMemory} GB`)),Nh(i.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",i.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(i.hardwareConcurrency)))}function eO(e,t){It&&t.recordLcpOnPageloadSpan&&(It.element&&e.setAttribute("lcp.element",xt(It.element)),It.id&&e.setAttribute("lcp.id",It.id),It.url&&e.setAttribute("lcp.url",It.url.trim().slice(0,200)),It.loadTime!=null&&e.setAttribute("lcp.loadTime",It.loadTime),It.renderTime!=null&&e.setAttribute("lcp.renderTime",It.renderTime),e.setAttribute("lcp.size",It.size)),lu?.sources&&t.recordClsOnPageloadSpan&&lu.sources.forEac
30h((i,s)=>e.setAttribute(`cls.source.${s+1}`,xt(i.node)))}function tO(e,t,i){i.forEach(([s,o])=>{const c=e[s];c!=null&&(typeof c=="number"&&c<LD||typeof c=="string")&&(t[o]=c)})}function nO(e){const t=$o(!1);if(!t)return;const{responseStart:i,requestStart:s}=t;s<=i&&(e["ttfb.requestTime"]={value:i-s,unit:"millisecond"})}const jh=[],yo=new Map,zs=new Map,SE=60;function aO(){if(dr()&&St()){const t=iO();return()=>{t()}}return()=>{}}const ko={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function iO(){return yE(sO)}const sO=({metric:e})=>{if(e.value==null)return;const t=Ge(e.value);if(t>SE)return;const i=e.entries.find(T=>T.duration===e.value&&ko[T.name]);if(!i)return;const{interactionId:s}=i,o=ko[i.name],c=Ge(St()+i.startTime),u=nn(),p=u?Et(u):void 0,m=s!=null?yo.get(s):void 0,g=m?.span||p,v=g?ke(g).description:Oe().getScopeData().transactionName,y=m?.elementName||xt(i.target),x={[st]:"auto.http.browser.inp",[en]:`ui.interaction.${o}`,[li]:i.duration},_=Am({name:y,transaction:v,attributes:x,startTime:c});_&&(_.addEvent("inp",{[Go]:"millisecond",[Fo]:e.value}),_.end(c+t))};function rO(e){return e!=null?yo.get(e):void 0}function oO(){const e=Object.keys(ko);Ru()&&e.forEach(o=>{me.addEventListener(o,t,{capture:!0,passive:!0})});function t(o){const c=o.target;if(!c)return;const u=xt(c),p=Math.round(o.timeStamp);if(zs.set(p,u),zs.size>50){const m=zs.keys().next().value;m!==void 0&&zs.delete(m)}}function i(o){const c=Math.round(o.startTime);let u=zs.get(c);if(!u)for(let p=-5;p<=5;p++){const m=zs.get(c+p);if(m){u=m;break}}return u||"<unknown>"}const s=({entries:o})=>{const c=nn(),u=c&&Et(c);o.forEach(p=>{if(!ED(p))return;const m=p.interactionId;if(m==null||yo.has(m))return;const g=p.target?xt(p.target):i(p);if(jh.length>10){const v=jh.shift();yo.delete(v)}jh.push(m),yo.set(m,{span:u,elementName:g})})};Js("event",s),Js("first-input",s)}function Nm(e){const{name:t,op:i,origin:s,metricName:o,value:c,attributes:u,parentSpan:p,reportEvent:m,startTime:g,endTime:v}=e,y=Oe().getScopeData().transactionName,x={[st]:s,[en]:i,[li]:0,[`browser.web_vital.${o}.value`]:c,[D_]:y,[M_]:y,"user_agent.original":me.navigator?.userAgent,...u};p&&p_(p).attributes?.[en]==="pageload"&&(x["sentry.pageload.span_id"]=p.spanContext().spanId),m&&(x[`browser.web_vital.${o}.report_event`]=m);const _=ui({name:t,attributes:x,startTime:g,parentSpan:p});_&&_.end(v??g)}function lO(e){let t=0,i;if(!Ou("largest-contentful-paint"))return;const s=wm(({metric:o})=>{const c=o.entries[o.entries.length-1];!c||!Zo(o.value)||(t=o.value,i=c)},!0);Lu(e,(o,c,u)=>{cO(t,i,u,o),s()})}function cO(e,t,i,s){if(!Zo(e))return;ba&&K.log(`Sending LCP span (${e})`);const o=St()||0,c=Ge(o),u=Ge(o+(t?.startTime||0)),p=t?xt(t.element):"Largest contentful paint",m={};t?.element&&(m["browser.web_vital.lcp.element"]=xt(t.element)),t?.id&&(m["browser.web_vital.lcp.id"]=t.id),t?.url&&(m["browser.web_vital.lcp.url"]=t.url),t?.loadTime!=null&&(m["browser.web_vital.lcp.load_time"]=t.loadTime),t?.renderTime!=null&&(m["browser.web_vital.lcp.render_time"]=t.renderTime),t?.size!=null&&(m["browser.web_vital.lcp.size"]=t.size),Nm({name:p,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:m,parentSpan:i,reportEvent:s,startTime:c,endTime:u})}function uO(e){let t=0,i;if(!Ou("layout-shift"))return;const s=Em(({metric:o})=>{const c=o.entries[o.entries.length-1];c&&(t=o.value,i=c)},!0);Lu(e,(o,c,u)=>{dO(t,i,u,o),s()})}function dO(e,t,i,s){ba&&K.log(`Sending CLS span (${e})`);const o=t?Ge((St()||0)+t.startTime):lt(),c=t?xt(t.sources[0]?.node):"Layout shift",u={};t?.sources&&t.sources.forEach((p,m)=>{u[`browser.web_vital.cls.source.${m+1}`]=xt(p.node)}),Nm({name:c,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:e,attributes:u,parentSpan:i,reportEvent:s,startTime:o})}function fO(){if(!dr()||!St())return;yE(({metric:i})=>{if(i.value==null||Ge(i.value)>SE)return;const o=i.entries.find(c=>c.duration===i.value&&ko[c.name]);o&&hO(i.value,o)})}function hO(e,t){ba&&K.log(`Sending INP span (${e})`);const i=Ge(St()+t.startTime),s=Ge(e),o=ko[t.name],c=rO(t.interactionId),u=nn(),p=u?Et(u):void 0,m=c?.span||p,g=m?p_(m).name:Oe().getScopeData().transactionName,v=c?.elementName||xt(t.target);Nm({name:v,op:`ui.interaction.${o}`,origin:"auto.http.browser.inp",metricName:"inp",value:e,attributes:{[li]:t.duration,[D_]:g,[M_]:g},startTime:i,endTime:i+s,parentSpan:m})}const pO=1e3;let A0,gp,yp;function mO(e){si("dom",e),ri("dom",gO)}function gO(){if(!me.document)return;const e=yn.bind(null,"dom"),t=N0(e,!0);me.document.addEventListener("click",t,!1),me.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(i=>
30{const o=me[i]?.prototype;o?.hasOwnProperty?.("addEventListener")&&(Qt(o,"addEventListener",function(c){return function(u,p,m){if(u==="click"||u=="keypress")try{const g=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},v=g[u]=g[u]||{refCount:0};if(!v.handler){const y=N0(e);v.handler=y,c.call(this,u,y,m)}v.refCount++}catch{}return c.call(this,u,p,m)}}),Qt(o,"removeEventListener",function(c){return function(u,p,m){if(u==="click"||u=="keypress")try{const g=this.__sentry_instrumentation_handlers__||{},v=g[u];v&&(v.refCount--,v.refCount<=0&&(c.call(this,u,v.handler,m),v.handler=void 0,delete g[u]),Object.keys(g).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return c.call(this,u,p,m)}}))})}function yO(e){if(e.type!==gp)return!1;try{if(!e.target||e.target._sentryId!==yp)return!1}catch{}return!0}function vO(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function N0(e,t=!1){return i=>{if(!i||i._sentryCaptured)return;const s=bO(i);if(vO(i.type,s))return;wt(i,"_sentryCaptured",!0),s&&!s._sentryId&&wt(s,"_sentryId",vn());const o=i.type==="keypress"?"input":i.type;yO(i)||(e({event:i,name:o,global:t}),gp=i.type,yp=s?s._sentryId:void 0),clearTimeout(A0),A0=me.setTimeout(()=>{yp=void 0,gp=void 0},pO)}}function bO(e){try{return e.target}catch{return null}}let Ac;function jm(e){const t="history";si(t,e),ri(t,xO)}function xO(){if(me.addEventListener("popstate",()=>{const t=me.location.href,i=Ac;if(Ac=t,i===t)return;yn("history",{from:i,to:t})}),!CM())return;function e(t){return function(...i){const s=i.length>2?i[2]:void 0;if(s){const o=Ac,c=SO(String(s));if(Ac=c,o===c)return t.apply(this,i);yn("history",{from:o,to:c})}return t.apply(this,i)}}Qt(me.history,"pushState",e),Qt(me.history,"replaceState",e)}function SO(e){try{return new URL(e,me.location.origin).toString()}catch{return e}}const qc={};function TO(e){const t=qc[e];if(t)return t;let i=me[e];if(dp(i))return qc[e]=i.bind(me);const s=me.document;if(s&&typeof s.createElement=="function")try{const o=s.createElement("iframe");o.hidden=!0,s.head.appendChild(o);const c=o.contentWindow;c?.[e]&&(i=c[e]),s.head.removeChild(o)}catch(o){ba&&K.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,o)}return i&&(qc[e]=i.bind(me))}function _O(e){qc[e]=void 0}const Vs="__sentry_xhr_v3__";function TE(e){si("xhr",e),ri("xhr",EO)}function EO(){if(!me.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,i,s){const o=new Error,c=lt()*1e3,u=da(s[0])?s[0].toUpperCase():void 0,p=wO(s[1]);if(!u||!p)return t.apply(i,s);i[Vs]={method:u,url:p,request_headers:{}},u==="POST"&&p.match(/sentry_key/)&&(i.__sentry_own_request__=!0);const m=()=>{const g=i[Vs];if(g&&i.readyState===4){try{g.status_code=i.status}catch{}const v={endTimestamp:lt()*1e3,startTimestamp:c,xhr:i,virtualError:o};yn("xhr",v),i.removeEventListener("readystatechange",m)}};return"onreadystatechange"in i&&typeof i.onreadystatechange=="function"?i.onreadystatechange=new Proxy(i.onreadystatechange,{apply(g,v,y){return m(),g.apply(v,y)}}):i.addEventListener("readystatechange",m),i.setRequestHeader=new Proxy(i.setRequestHeader,{apply(g,v,y){const[x,_]=y,T=v[Vs];return T&&da(x)&&da(_)&&(T.request_headers[x.toLowerCase()]=_),g.apply(v,y)}}),t.apply(i,s)}}),e.send=new Proxy(e.send,{apply(t,i,s){const o=i[Vs];if(!o)return t.apply(i,s);s[0]!==void 0&&(o.body=s[0]);const c={startTimestamp:lt()*1e3,xhr:i};return yn("xhr",c),t.apply(i,s)}})}function wO(e){if(da(e))return e;try{return e.toString()}catch{}}function AO(e){let t;try{t=e.getAllResponseHeaders()}catch(i){return ba&&K.error(i,"Failed to get xhr response headers",e),{}}return t?t.split(`\r
31`).reduce((i,s)=>{const[o,c]=s.split(": ");return c&&(i[o.toLowerCase()]=c),i},{}):{}}function NO(e){if(typeof Element>"u")return!1;try{return e instanceof Element}catch{return!1}}const jO=40;function CO(e,t=TO("fetch")){let i=0,s=0;async function o(c){const u=c.body.length;i+=u,s++;
31const p={body:c.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:i<=6e4&&s<15,...e.fetchOptions};try{const m=await t(e.url,p);return{statusCode:m.status,headers:{"x-sentry-rate-limits":m.headers.get("X-Sentry-Rate-Limits"),"retry-after":m.headers.get("Retry-After")}}}catch(m){throw _O("fetch"),m}finally{i-=u,s--}}return Nk(e,o,gm(e.bufferSize||jO))}const Ct=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,RO=30,kO=50;function vp(e,t,i,s){const o={filename:e,function:t==="<anonymous>"?Wi:t,in_app:!0};return i!==void 0&&(o.lineno=i),s!==void 0&&(o.colno=s),o}const MO=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,DO=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,OO=/\((\S*)(?::(\d+))(?::(\d+))\)/,LO=/at (.+?) ?\(data:(.+?),/,UO=e=>{const t=e.match(LO);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const i=MO.exec(e);if(i){const[,o,c,u]=i;return vp(o,Wi,+c,+u)}const s=DO.exec(e);if(s){if(s[2]?.indexOf("eval")===0){const p=OO.exec(s[2]);p&&(s[2]=p[1],s[3]=p[2],s[4]=p[3])}const[c,u]=_E(s[1]||Wi,s[2]);return vp(u,c,s[3]?+s[3]:void 0,s[4]?+s[4]:void 0)}},IO=[RO,UO],BO=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,zO=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,PO=e=>{const t=BO.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const c=zO.exec(t[3]);c&&(t[1]=t[1]||"eval",t[3]=c[1],t[4]=c[2],t[5]="")}let s=t[3],o=t[1]||Wi;return[o,s]=_E(o,s),vp(s,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},VO=[kO,PO],HO=[IO,VO],qO=zT(...HO),_E=(e,t)=>{const i=e.indexOf("safari-extension")!==-1,s=e.indexOf("safari-web-extension")!==-1;return i||s?[e.indexOf("@")!==-1?e.split("@")[0]:Wi,i?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Nc=1024,GO="Breadcrumbs",FO=((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:GO,setup(i){t.console&&uM(XO(i)),t.dom&&mO($O(i,t.dom)),t.xhr&&TE(KO(i)),t.fetch&&vm(QO(i)),t.history&&jm(ZO(i)),t.sentry&&i.on("beforeSendEvent",YO(i))}}}),WO=FO;function YO(e){return function(i){je()===e&&Xi({category:`sentry.${i.type==="transaction"?"transaction":"event"}`,event_id:i.event_id,level:i.level,message:Ii(i)},{event:i})}}function $O(e,t){return function(s){if(je()!==e)return;let o,c,u=typeof t=="object"?t.serializeAttribute:void 0,p=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;p&&p>Nc&&(Ct&&K.warn(`\`dom.maxStringLength\` cannot exceed ${Nc}, but a value of ${p} was configured. Sentry will use ${Nc} instead.`),p=Nc),typeof u=="string"&&(u=[u]);try{const g=s.event,v=JO(g)?g.target:g;o=xt(v,{keyAttrs:u,maxStringLength:p}),c=rE(v)}catch{o="<unknown>"}if(o.length===0)return;const m={category:`ui.${s.name}`,message:o};c&&(m.data={"ui.component_name":c}),Xi(m,{event:s.event,name:s.name,global:s.global})}}function XO(e){return function(i){if(je()!==e)return;const s={category:"console",data:{arguments:i.args,logger:"console"},level:fM(i.level),message:Rx(i.args," ")};if(i.level==="assert")if(i.args[0]===!1)s.message=`Assertion failed: ${Rx(i.args.slice(1)," ")||"console.assert"}`,s.data.arguments=i.args.slice(1);else return;Xi(s,{input:i.args,level:i.level})}}function KO(e){return function(i){if(je()!==e)return;const{startTimestamp:s,endTimestamp:o}=i,c=i.xhr[Vs];if(!s||!o||!c)return;const{method:u,url:p,status_code:m,body:g}=c,v={method:u,url:p,status_code:m},y={xhr:i.xhr,input:g,startTimestamp:s,endTimestamp:o},x={category:"xhr",data:v,type:"http",level:aE(m)};e.emit("beforeOutgoingRequestBreadcrumb",x,y),Xi(x,y)}}function QO(e){return function(i){if(je()!==e)return;const{startTimestamp:s,endTimestamp:o}=i;if(o&&!(i.fetchData.url.match(/sentry_key/)&&i.fetchData.method==="POST"))if(i.error){const c={data:i.error,input:i.args,startTimestamp:s,endTimestamp:o},u={category:"fetch",data:i.fetchData,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",u,c),Xi(u,c)}else{const c=i.response,u={...i.fetchData,status_code:c?.status},p={input:i.args,response:c,startTimestamp:s,endTimestamp:o},m={category:"fetch",data:u,type:"http",level:aE(u.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",m,p),Xi(m,p)}}}function ZO(e){return function(i){if(je()!==e)return;let s=i.from,o=i.to;const c=qi(ye.location.href);let u=s?qi(s):void 0;const p=qi(o);u?.path||(u=c),c.protocol===p.protocol&&c.host===p.host&&(o=p.relative),c.protocol===u.protocol&&c.host===u.host&&(s=u.relative),Xi({category:"navigation",data:{from:s,to:o}})}}function JO(e){return!!e&&!!e.target}const e3="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDB
31Request,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),t3="BrowserApiErrors",n3=((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:t3,setupOnce(){t.setTimeout&&Qt(ye,"setTimeout",j0),t.setInterval&&Qt(ye,"setInterval",j0),t.requestAnimationFrame&&Qt(ye,"requestAnimationFrame",i3),t.XMLHttpRequest&&"XMLHttpRequest"in ye&&Qt(XMLHttpRequest.prototype,"send",s3);const i=t.eventTarget;i&&(Array.isArray(i)?i:e3).forEach(o=>r3(o,t))}}}),a3=n3;function j0(e){return function(...t){const i=t[0];return t[0]=Zs(i,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${ga(e)}`}}),e.apply(this,t)}}function i3(e){return function(t){return e.apply(this,[Zs(t,{mechanism:{data:{handler:ga(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function s3(e){return function(...t){const i=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in i&&typeof i[o]=="function"&&Qt(i,o,function(c){const u={mechanism:{data:{handler:ga(c)},handled:!1,type:`auto.browser.browserapierrors.xhr.${o}`}},p=om(c);return p&&(u.mechanism.data.handler=ga(p)),Zs(c,u)})}),e.apply(this,t)}}function r3(e,t){const s=ye[e]?.prototype;s?.hasOwnProperty?.("addEventListener")&&(Qt(s,"addEventListener",function(o){return function(c,u,p){try{o3(u)&&(u.handleEvent=Zs(u.handleEvent,{mechanism:{data:{handler:ga(u),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&l3(this,c,u),o.apply(this,[c,Zs(u,{mechanism:{data:{handler:ga(u),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),p])}}),Qt(s,"removeEventListener",function(o){return function(c,u,p){try{if(Object.prototype.hasOwnProperty.call(u,"__sentry_wrapped__")){const m=u.__sentry_wrapped__;m&&o.call(this,c,m,p)}}catch{}return o.call(this,c,u,p)}}))}function o3(e){return typeof e.handleEvent=="function"}function l3(e,t,i){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,i)}const c3=(e={})=>{const t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof ye.document>"u"){Ct&&K.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}i0({ignoreDuration:!0});let i=!1;_m(()=>{i||(Sh(),i=!0)});const s=tn();let o=s.getUser();s.addScopeListener(c=>{const u=c.getUser();(o?.id!==u?.id||o?.ip_address!==u?.ip_address)&&(o=u,i&&Sh())}),t==="route"&&jm(({from:c,to:u})=>{c!==u&&(i0({ignoreDuration:!0}),Sh(),i=!0)})}}},u3="CultureContext",d3=(()=>({name:u3,preprocessEvent(e){const t=C0();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){const t=C0();t&&O_(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})),f3=d3;function C0(){try{const e=ye.Intl;if(!e)return;const t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}const h3="GlobalHandlers",p3=((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:h3,setupOnce(){Error.stackTraceLimit=50},setup(i){t.onerror&&(g3(i),R0("onerror")),t.onunhandledrejection&&(y3(i),R0("onunhandledrejection"))}}}),m3=p3;function g3(e){PT(t=>{const{stackParser:i,attachStacktrace:s}=EE();if(je()!==e||oE())return;const{msg:o,url:c,line:u,column:p,error:m}=t,g=x3(xm(i,m||o,void 0,s,!1),c,u,p);g.level="error",I_(g,{originalException:m,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function y3(e){VT(t=>{const{stackParser:i,attachStacktrace:s}=EE();if(je()!==e||oE())return;const o=v3(t),c=Yi(o)?b3(o):xm(i,o,void 0,s,!0);c.level="error",I_(c,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function v3(e){if(Yi(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function b3(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function x3(e,t,i,s){const o=e.exception=e.exception||{},c=o.values=o.values||[],u=c[0]=c[0]||{},p=u.stacktrace=u.stacktrace||{},m=p.frames=p.frames||[];return m.length===0&&m.push({colno:s,lineno:i,filename:S3(t)??Qs(),function:Wi,in_app:!0}),e}function R0(e){Ct&&K.log(`Global Handler attached: ${e}`)}function EE(){return je()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function S3(e){if(!(!da(e)||e.length===0))return e.startsWith("data:")?`<${Nn(e,!1)}>`:e}const T3=()=>({name:"HttpContext",preprocessEvent(e){if(!ye.navigator&&!ye.location&&!ye.document)return;const t=su(),i={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:i}},processSegmentSpan(e){const t=e.attributes?.[en];if(!ye.navigator&&!ye.location&&!ye.document)return;const i=su();O_(e,{[lr]:t!=="http.client"?i.url:void 0,"http.request.header.user_agent":i.headers["User-Agent"],"http.request.header.referer":i.headers.Referer})}}),_3="cause",E3=5,w3="LinkedErrors",A3=((e={})=>{const t=e.limit||E3,i=e.key||_3;return{name:w3,preprocessEvent(s,o,c){const u=c.getOptions();lM(bm,u.stackParser,i,t,s,o)}}}),N3=A3,j3=/^HTML(\w*)Element$/;function wE(e){if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(NO(e)){const t=C3(e);if(j3.test(t))return`[HTMLElement: ${xt(e)}]`}}function C3(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function R3(){return k3()?(Ct&&Ki(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}
31function k3(){if(typeof ye.window>"u")return!1;const e=ye;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;const i=Qs();return!(ye===ye.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(i))}function M3(e){return[eM(),Kk(),SM(),a3(),WO(),m3(),N3(),mM(),T3(),f3(),c3()]}function D3(e={}){const t=!e.skipBrowserExtensionCheck&&R3();let i=e.defaultIntegrations==null?M3():e.defaultIntegrations;const s={...e,enabled:t?!1:e.enabled,stackParser:Vj(e.stackParser||qO),integrations:rk({integrations:e.integrations,defaultIntegrations:i}),transport:e.transport||CO};return WT(wE),Pk(XM,s)}function k0(e={}){const t=ye.document,i=t?.head||t?.body;if(!i){Ct&&K.error("[showReportDialog] Global document not defined");return}const s=Oe(),c=je()?.getDsn();if(!c){Ct&&K.error("[showReportDialog] DSN not configured");return}const u={...e,user:{...s.getUser(),...e.user},eventId:e.eventId||ZR()},p=ye.document.createElement("script");p.async=!0,p.crossOrigin="anonymous",p.src=ik(c,u);const{onLoad:m,onClose:g}=u;if(m&&(p.onload=m),g){const v=y=>{if(y.data==="__sentry_reportdialog_closed__")try{g()}finally{ye.removeEventListener("message",v)}};ye.addEventListener("message",v)}i.appendChild(p)}function O3(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function AE(e){try{return new URL(e,ye.location.origin).href}catch{return}}function L3(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function NE(e){try{return new Headers(e)}catch{return}}const jE={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function U3(e,t){const{traceFetch:i,traceXHR:s,shouldCreateSpanForRequest:o,enableHTTPTimings:c,tracePropagationTargets:u,onRequestSpanStart:p,onRequestSpanEnd:m}={...jE,...t},g=typeof o=="function"?o:_=>!0,v=_=>B3(_,u),y={},x=e.getOptions().propagateTraceparent;i&&vm(_=>{const T=TM(_,g,v,y,{propagateTraceparent:x,onRequestSpanEnd:m});if(T){const j=AE(_.fetchData.url),A=j?qi(j).host:void 0,R=j?Nn(j):void 0;T.setAttributes({[k_]:R,[lr]:R,"server.address":A}),c&&M0(T,e),p?.(T,{headers:_.headers})}}),s&&TE(_=>{const T=z3(_,g,v,y,x,m);T&&(c&&M0(T,e),p?.(T,{headers:NE(_.xhr.__sentry_xhr_v3__?.request_headers)}))})}const I3=300;function M0(e,t){const{url:i}=ke(e).data;if(!i||typeof i!="string")return;let s=()=>{setTimeout(o)};if(Gn(t)){const c=e.end.bind(e);e.end=u=>{const p=u??lt();let m=!1;const g=()=>{m||(m=!0,setTimeout(o),c(p),clearTimeout(v))};s=g;const v=setTimeout(g,I3)}}const o=Js("resource",({entries:c})=>{c.forEach(u=>{L3(u)&&u.name.endsWith(i)&&(e.setAttributes(xE(u)),s())})})}function B3(e,t){const i=Qs();if(i){let s,o;try{s=new URL(e,i),o=new URL(i).origin}catch{return!1}const c=s.origin===o;return t?fa(s.toString(),t)||c&&fa(s.pathname,t):c}else{const s=!!e.match(/^\/(?!\/)/);return t?fa(e,t):s}}function z3(e,t,i,s,o,c){const u=e.xhr,p=u?.[Vs];if(!u||u.__sentry_own_request__||!p)return;const{url:m,method:g}=p,v=Zt()&&t(m);if(e.endTimestamp){const W=u.__sentry_xhr_span_id__;if(!W)return;const V=s[W];V&&(v&&p.status_code!==void 0&&(n_(V,p.status_code),V.end(),c?.(V,{headers:NE(AO(u)),error:e.error})),delete s[W]);return}const y=AE(m),x=qi(y||m),_=y?Nn(y):void 0,T=Nn(qk(m)),j=je(),A=!!nn(),R=A||!!j&&Gn(j),M=v&&R?ui({name:`${g} ${T}`,attributes:{url:Nn(m),type:"xhr","http.method":g,"http.url":_,[lr]:_,"server.address":x?.host,[st]:"auto.http.browser",[en]:"http.client",...x?.search&&{"http.query":x?.search},...x?.hash&&{"http.fragment":x?.hash}}}):new $i,I=j_(M)&&A?void 0:M;return v&&!R&&j?.recordDroppedEvent("no_parent_span","span"),u.__sentry_xhr_span_id__=M.spanContext().spanId,s[u.__sentry_xhr_span_id__]=M,i(m)&&P3(u,Zt()&&R?I:void 0,o),j&&j.emit("beforeOutgoingRequestSpan",M,e),M}function P3(e,t,i){const{"sentry-trace":s,baggage:o,traceparent:c}=J_({span:t,propagateTraceparent:i});s&&V3(e,s,o,c)}function V3(e,t,i,s){const o=e.__sentry_xhr_v3__?.request_headers;if(!(o?.["sentry-trace"]||!e.setRequestHeader))try{if(e.setRequestHeader("sentry-trace",t),s&&!o?.traceparent&&e.setRequestHeader("traceparent",s),i){const c=o?.baggage;(!c||!O3(c))&&e.setRequestHeader("baggage",i)}}catch{}}const D0=new WeakMap,O0=new WeakMap,H3=9e4,q3=["text/event-stream","application/x-ndjson","application/stream+json"],G3=()=>({name:"FetchStreamPerformance",setup(){MM(e=>{if(e.response){const t=D0.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);const i=O0.get(e.response);i&&clearTimeout(i)}}}),vm(e=>{if(e.endTimestamp&&e.response){const t=e.response.headers?.get("content-type")||"";if(e.response.headers?.get("content-length")||!q3.some(m=>t.startsWith(m)))return;const i=e.fetchData?.url||"",s=e.fetchData?.method||"GET",o=au(i),c=i.startsWith("data:")?Nn(i):o?Q_(o):i,u=ui({name:`${s} ${c}`,startTime:e.endTimestamp,attributes:{url:Nn(i),"http.method":s,type:"fetch",[en]:"http.client.stream",[st]:"auto.http.browser.stream"}});D0.set(e.response,u);const p=setTimeout(()=>{u.isRecording()&&u.end()},H3);O0.set(e.response,p)}})}}),CE="WebVitals",F3=(e={})=>{const t=new Set(e.ignore??[]);return{name:CE,setup(i){const s=Gn(i),{enableStandaloneClsSpans:o,enableStandaloneLcpSpans:c}=e._experiments??{},u=s||t.has("cls")?void 0:o||!1,p=s||t.has("lcp")?void 0:c||!1,m=UD({recordClsStandaloneSpans:u,recordLcpStandaloneSpans:p,client:i}),g=new WeakSet;i.on("afterStartPageLoadSpan",v=>{g.add(v)}),i.on("spanEnd",v=>{g.delete(v)&&(m(),FD(v,{recordClsOnPageloadSpan:u===!1,recordLcpOnPageloadSpan:p===!1,spanStreamingEnabled:s}))}),s?(t.has("lcp")||lO(i),t.has("cls")||uO(i),t.has("inp")||fO()):t.has("inp")||aO()},afterAllSetup(){t.has("inp")||oO()}}};function W3(){ye.document?ye.document.addEventListener("visibilitychange",()=>{const e=nn();if(!e)return;const t=Et(e);if(ye.document.hidden&&t){const i="cancelled",{op:s,status:o}=ke(t);Ct&&K.log(`[Tracing] Transaction: ${i} -> since tab moved to the background, op: ${s}`),o||t.setStatus({code:dt,message:i}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):Ct&&K.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const Y3=3600,RE="sentry_previous_trace",$3="sentry.previous_trace";function X3(e,{linkPreviousTrace:t,consistentTraceSampling:i}){const s=t==="session-storage";let o=s?Z3():void 0;e.on("spanStart",u=>{if(Et(u)!==u)return;const p=Oe().getPropagationContext();o=K3(o,u,p),s&&Q3(o)});let c=!0;i&&e.on("beforeSampling",u=>{if(!o)return;const p=Oe(),m=p.getPropagationContext();if(c&&m.parentSpanId){c=!1;return}p.setPropagationContext({...m,dsc:{...m.dsc,sample_rate:String(o.sampleRate),sampled:String(bp(o.spanContext))},sampleRand:o.sampleRand}),u.parentSampled=bp(o.spanContext),u.parentSampleRate=o.sampleRate,u.spanAttributes={...u.spanAttributes,[e_]:o.sampleRate}})}function K3(e,t,i){const s=ke(t);function o(){try{const p=Number(s.data?.[lm]??i.dsc?.sample_rate);return Number.isNaN(p)?0:p}catch{return 0}}const c={spanContext:t.spanContext(),startTimestamp:s.start_timestamp,sampleRate:o(),sampleRand:i.sampleRand};if(!e)return c;const u=e.spanContext;return u.traceId===s.trace_id?e:(Date.now()/1e3-e.startTimestamp<=Y3&&(Ct&&K.log(`Adding previous_trace \`${JSON.stringify(u)}\` link to span \`${JSON.stringify({op:s.op,...t.spanContext()})}\``),t.addLink({context:u,attributes:{[wC]:"previous_trace"}}),t.setAttribute($3,`${u.traceId}-${u.spanId}-${bp(u)?1:0}`)),c)}function Q3(e){try{ye.sessionStorage.setItem(RE,JSON.stringify(e))}catch(t){Ct&&K.warn("Could not store previous trace in sessionStorage",t)}}function Z3(){try{const e=ye.sessionStorage?.getItem(RE);return JSON.parse(e)}catch{return}}function bp(e){return e.traceFlags===1}const J3="BrowserTracing",e5=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function t5(){const e=ye.navigator;return e?.userAgent?e5.test(e.userAgent):!1}const n5={...zc,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
31dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...jE},a5=((e={})=>{"enableElementTiming"in e&&Ki(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});const t={name:void 0,source:void 0},i=ye.document,{enableInp:s,enableLongTask:o,enableLongAnimationFrame:c,_experiments:{enableInteractions:u,enableStandaloneClsSpans:p,enableStandaloneLcpSpans:m},beforeStartSpan:g,idleTimeout:v,finalTimeout:y,childSpanTimeout:x,markBackgroundSpan:_,traceFetch:T,traceXHR:j,trackFetchStreamPerformance:A,shouldCreateSpanForRequest:R,enableHTTPTimings:M,ignoreResourceSpans:I,ignorePerformanceApiSpans:W,instrumentPageLoad:V,instrumentNavigation:ee,detectRedirects:H,linkPreviousTrace:X,consistentTraceSampling:fe,enableReportPageLoaded:J,onRequestSpanStart:ue,onRequestSpanEnd:Se}={...n5,...e},ve=t5();let he,ge;function U(F,$,Z=!0,se){const E=$.op==="pageload",z=$.name,Y=g?g($):$,Q=au(se||Qs()),le={...Q?.pathname&&{[IR]:Q.pathname},...Q&&!ym(Q)&&{[lr]:Q.href},...Y.attributes};if(z!==Y.name&&(le[Bn]="custom"),Y.attributes=le,!Z){const Le=Qi();ui({...Y,startTime:Le}).end(Le);return}t.name=Y.name,t.source=le[Bn];const re=C_(Y,{idleTimeout:v,finalTimeout:y,childSpanTimeout:x,disableAutoFinish:E,beforeSpanEnd:Le=>{GD(Le,{ignoreResourceSpans:I,ignorePerformanceApiSpans:W,spanStreamingEnabled:Gn(F)}),I0(F,void 0);const Me=Oe(),an=Me.getPropagationContext();Me.setPropagationContext({...an,traceId:re.spanContext().traceId,sampled:ci(re),dsc:or(Le)}),E&&(ge=void 0)},trimIdleSpanEndTimestamp:!J});E&&J&&(ge=re),I0(F,re);function de(){i&&["interactive","complete"].includes(i.readyState)&&(F.emit("idleSpanEnableAutoFinish",re),i.removeEventListener("readystatechange",de))}E&&!J&&i&&(i.addEventListener("readystatechange",de),de())}return{name:J3,setup(F){if(ve){Ct&&K.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}if(ZC(),c&&Ee.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?BD():o&&ID(),u&&zD(),H&&i){const Z=()=>{he=lt()};addEventListener("click",Z,{capture:!0}),addEventListener("keydown",Z,{capture:!0,passive:!0})}function $(){const Z=Mo(F);Z&&!ke(Z).timestamp&&(Ct&&K.log(`[Tracing] Finishing current active span with op: ${ke(Z).op}`),Z.setAttribute(Ao,"cancelled"),Z.end())}F.on("startNavigationSpan",(Z,se)=>{if(je()!==F)return;if(se?.isRedirect){Ct&&K.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),U(F,{op:"navigation.redirect",...Z},!1,se.url);return}he=void 0,$(),tn().setPropagationContext({traceId:ya(),sampleRand:Math.random(),propagationSpanId:Zt()?void 0:ha()});const E=Oe();E.setPropagationContext({traceId:ya(),sampleRand:Math.random(),propagationSpanId:Zt()?void 0:ha()}),E.setSDKProcessingMetadata({normalizedRequest:void 0}),U(F,{op:"navigation",...Z,parentSpan:null,forceTransaction:!0},!0,se?.url)}),F.on("startPageLoadSpan",(Z,se={})=>{if(je()!==F)return;$();const E=se.sentryTrace||L0("sentry-trace")||U0("sentry-trace"),z=se.baggage||L0("baggage")||U0("baggage"),Y=GC(E,z),Q=Oe();Q.setPropagationContext(Y),Zt()||(Q.getPropagationContext().propagationSpanId=ha()),Q.setSDKProcessingMetadata({normalizedRequest:su()}),U(F,{op:"pageload",...Z})}),F.on("endPageloadSpan",()=>{J&&ge&&(ge.setAttribute(Ao,"reportPageLoaded"),ge.end())})},afterAllSetup(F){if(ve)return;F.addIntegration&&!F.getIntegrationByName?.(CE)&&F.addIntegration(F3({ignore:s?[]:["inp"],_experiments:{enableStandaloneClsSpans:p,enableStandaloneLcpSpans:m}}));let $=Qs();if(X!=="off"&&X3(F,{linkPreviousTrace:X,consistentTraceSampling:fe}),ye.location){if(V){const Z=St();i5(F,{name:ye.location.pathname,startTime:Z?Z/1e3:void 0,attributes:{[Bn]:"url",[st]:"auto.pageload.browser"}})}ee&&jm(({to:Z,from:se})=>{if(se===void 0&&$?.indexOf(Z)!==-1){$=void 0;return}$=void 0;const E=au(Z),z=Mo(F),Y=z&&H&&o5(z,he);s5(F,{name:E?.pathname||ye.location.pathname,attributes:{[Bn]:"url",[st]:"auto.navigation.browser"}},{url:Z,isRedirect:Y})})}_&&W3(),u&&r5(F,v,y,x,t),U3(F,{traceFetch:T,traceXHR:j,tracePropagationTargets:F.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:R,enableHTTPTimings:M,onRequestSpanStart:ue,onRequestSpanEnd:Se}),A&&F.addIntegration(G3())}}});function i5(e,t,i){e.emit("startPageLoadSpan",t,i),Oe().setTransactionName(t.name);const s=Mo(e);return s&&e.emit("afterStartPageLoadSpan",s),s}function s5(e,t,i){const{url:s,isRedirect:o}=i||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:o,url:s}),e.emit("startNavigationSpan",t,{isRedirect:o,url:s});const c=Oe();
31return c.setTransactionName(t.name),s&&!o&&c.setSDKProcessingMetadata({normalizedRequest:{...su(),url:s}}),Mo(e)}function L0(e){return ye.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}function U0(e){return ye.performance?.getEntriesByType?.("navigation")[0]?.serverTiming?.find(s=>s.name===e)?.description}function r5(e,t,i,s,o){const c=ye.document;let u;const p=()=>{const m="ui.action.click",g=Mo(e);if(g){const v=ke(g).op;if(["navigation","pageload"].includes(v)){Ct&&K.warn(`[Tracing] Did not create ${m} span because a pageload or navigation span is in progress.`);return}}if(u&&(u.setAttribute(Ao,"interactionInterrupted"),u.end(),u=void 0),!o.name){Ct&&K.warn(`[Tracing] Did not create ${m} transaction because _latestRouteName is missing.`);return}u=C_({name:o.name,op:m,attributes:{[Bn]:o.source||"url"}},{idleTimeout:t,finalTimeout:i,childSpanTimeout:s})};c&&addEventListener("click",p,{capture:!0})}const kE="_sentry_idleSpan";function Mo(e){return e[kE]}function I0(e,t){wt(e,kE,t)}const B0=1.5;function o5(e,t){const i=ke(e),s=Qi(),o=i.start_timestamp;return!(s-o>B0||t&&s-t<=B0)}function l5(e){return Eo(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function c5(e){const t={...e};Z_(t,"react"),QR("react",{version:w.version});const i=D3(t);return WT(u5),i}function u5(e){return l5(e)?"[SyntheticEvent]":wE(e)}function d5(e){const t=e.match(/^([^.]+)/);return t!==null&&parseInt(t[0])>=17}function f5(e,t){const i=new WeakSet;function s(o,c){if(!i.has(o)){if(o.cause)return i.add(o),s(o.cause,c);o.cause=c}}s(e,t)}function h5(e,{componentStack:t},i){if(d5(w.version)&&Vn(e)&&t){const s=new Error(e.message);s.name=`React ErrorBoundary ${e.name}`,s.stack=t,f5(e,s)}return U_(e,i)}const p5=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ch={componentStack:null,error:null,eventId:null};class m5 extends w.Component{constructor(t){super(t),this.state=Ch,this._openFallbackReportDialog=!0;const i=je();i&&t.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=i.on("afterSendEvent",s=>{!s.type&&this._lastEventId&&s.event_id===this._lastEventId&&k0({...t.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(t,i){const{componentStack:s}=i,{beforeCapture:o,onError:c,showDialog:u,dialogOptions:p}=this.props;Au(m=>{o&&o(m,t,s);const g=this.props.handled!=null?this.props.handled:!!this.props.fallback,v=h5(t,i,{mechanism:{handled:g,type:"auto.function.react.error_boundary"}});c&&c(t,s,v),u&&(this._lastEventId=v,this._openFallbackReportDialog&&k0({...p,eventId:v})),this.setState({error:t,componentStack:s,eventId:v})})}componentDidMount(){const{onMount:t}=this.props;t&&t()}componentWillUnmount(){const{error:t,componentStack:i,eventId:s}=this.state,{onUnmount:o}=this.props;o&&(this.state===Ch?o(null,null,null):o(t,i,s)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){const{onReset:t}=this.props,{error:i,componentStack:s,eventId:o}=this.state;t&&t(i,s,o),this.setState(Ch)}render(){const{fallback:t,children:i}=this.props,s=this.state;if(s.componentStack===null)return typeof i=="function"?i():i;const o=typeof t=="function"?w.createElement(t,{error:s.error,componentStack:s.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:s.eventId}):t;return w.isValidElement(o)?o:(t&&p5&&K.warn("fallback did not produce a valid ReactElement"),null)}}const g5="modulepreload",y5=function(e){return"/"+e},z0={},ME=function(t,i,s){let o=Promise.resolve();if(i&&i.length>0){let m=function(g){return Promise.all(g.map(v=>Promise.resolve(v).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),p=u?.nonce||u?.getAttribute("nonce");o=m(i.map(g=>{if(g=y5(g),g in z0)return;z0[g]=!0;const v=g.endsWith(".css"),y=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${y}`))return;const x=document.createElement("link");if(x.rel=v?"stylesheet":g5,v||(x.as="script"),x.crossOrigin="",x.href=g,p&&x.setAttribute("nonce",p),document.head.appendChild(x),v)return new Promise((_,T)=>{x.addEventListener("load",_),x.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${g}`)))})}))}function c(u){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=u,window.dispatchEvent(p),!p.defaultPrevented)throw u}return o.then(u=>{for(const p of u||[])p.status==="rejected"&&c(p.reason);return t().catch(c)})},DE=w.createContext({});function v5(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const b5=typeof window<"u",x5=b5?w.useLayoutEffect:w.useEffect,Cm=w.createContext(null);function Rm(e,t){e.indexOf(t)===-1&&e.push(t)}function cu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const qn=(e,t,i)=>i>t?t:i<e?e:i;let Uu=()=>{};const ni={},OE=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),LE=e=>typeof e=="object"&&e!==null,UE=e=>/^0[^.\s]+$/u.test(e);function IE(e){let t;return()=>(t===void 0&&(t=e()),t)}const bn=e=>e,Jo=(...e)=>e.reduce((t,i)=>s=>i(t(s))),Do=(e,t,i)=>{const s=t-e;return s?(i-e)/s:1};class km{constructor(){this.subscriptions=[]}add(t){return Rm(this.subscriptions,t),()=>cu(this.subscriptions,t)}notify(t,i,s){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,i,s);else for(let c=0;c<o;c++){const u=this.subscriptions[c];u&&u(t,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Jt=e=>e*1e3,gn=e=>e/1e3,BE=(e,t)=>t?e*(1e3/t):0,zE=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e,S5=1e-7,T5=12;function _5(e,t,i,s,o){let c,u,p=0;do u=t+(i-t)/2,c=zE(u,s,o)-e,c>0?i=u:t=u;
vendor: 40,660 bytes, line 31
31while(Math.abs(c)>S5&&++p<T5);return u}function el(e,t,i,s){if(e===t&&i===s)return bn;const o=c=>_5(c,0,1,e,i);return c=>c===0||c===1?c:zE(o(c),t,s)}const PE=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,VE=e=>t=>1-e(1-t),HE=el(.33,1.53,.69,.99),Mm=VE(HE),qE=PE(Mm),GE=e=>e>=1?1:(e*=2)<1?.5*Mm(e):.5*(2-Math.pow(2,-10*(e-1))),Dm=e=>1-Math.sin(Math.acos(e)),FE=VE(Dm),WE=PE(Dm),E5=el(.42,0,1,1),w5=el(0,0,.58,1),YE=el(.42,0,.58,1),A5=e=>Array.isArray(e)&&typeof e[0]!="number",$E=e=>Array.isArray(e)&&typeof e[0]=="number",N5={linear:bn,easeIn:E5,easeInOut:YE,easeOut:w5,circIn:Dm,circInOut:WE,circOut:FE,backIn:Mm,backInOut:qE,backOut:HE,anticipate:GE},j5=e=>typeof e=="string",P0=e=>{if($E(e)){Uu(e.length===4);const[t,i,s,o]=e;return el(t,i,s,o)}else if(j5(e))return N5[e];return e},jc=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function C5(e){let t=new Set,i=new Set,s=!1,o=!1;const c=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function p(g){c.has(g)&&(m.schedule(g),e()),g(u)}const m={schedule:(g,v=!1,y=!1)=>{const _=y&&s?t:i;return v&&c.add(g),_.add(g),g},cancel:g=>{i.delete(g),c.delete(g)},process:g=>{if(u=g,s){o=!0;return}s=!0;const v=t;t=i,i=v,t.forEach(p),t.clear(),s=!1,o&&(o=!1,m.process(g))}};return m}const R5=40;function XE(e,t){let i=!1,s=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>i=!0,u=jc.reduce((I,W)=>(I[W]=C5(c),I),{}),{setup:p,read:m,resolveKeyframes:g,preUpdate:v,update:y,preRender:x,render:_,postRender:T}=u,j=()=>{const I=ni.useManualTiming,W=I?o.timestamp:performance.now();i=!1,I||(o.delta=s?1e3/60:Math.max(Math.min(W-o.timestamp,R5),1)),o.timestamp=W,o.isProcessing=!0,p.process(o),m.process(o),g.process(o),v.process(o),y.process(o),x.process(o),_.process(o),T.process(o),o.isProcessing=!1,i&&t&&(s=!1,e(j))},A=()=>{i=!0,s=!0,o.isProcessing||e(j)};return{schedule:jc.reduce((I,W)=>{const V=u[W];return I[W]=(ee,H=!1,X=!1)=>(i||A(),V.schedule(ee,H,X)),I},{}),cancel:I=>{for(let W=0;W<jc.length;W++)u[jc[W]].cancel(I)},state:o,steps:u}}const{schedule:qe,cancel:ai,state:yt,steps:Rh}=XE(typeof requestAnimationFrame<"u"?requestAnimationFrame:bn,!0);let Gc;function k5(){Gc=void 0}const Nt={now:()=>(Gc===void 0&&Nt.set(yt.isProcessing||ni.useManualTiming?yt.timestamp:performance.now()),Gc),set:e=>{Gc=e,queueMicrotask(k5)}},KE=e=>t=>typeof t=="string"&&t.startsWith(e),QE=KE("--"),M5=KE("var(--"),Om=e=>M5(e)?D5.test(e.split("/*")[0].trim()):!1,D5=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function V0(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const fr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Oo={...fr,transform:e=>qn(0,1,e)},Cc={...fr,default:1},vo=e=>Math.round(e*1e5)/1e5,Lm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function O5(e){return e==null}const L5=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Um=(e,t)=>i=>!!(typeof i=="string"&&L5.test(i)&&i.startsWith(e)||t&&!O5(i)&&Object.prototype.hasOwnProperty.call(i,t)),ZE=(e,t,i)=>s=>{if(typeof s!="string")return s;const[o,c,u,p]=s.match(Lm);return{[e]:parseFloat(o),[t]:parseFloat(c),[i]:parseFloat(u),alpha:p!==void 0?parseFloat(p):1}},U5=e=>qn(0,255,e),kh={...fr,transform:e=>Math.round(U5(e))},Bi={test:Um("rgb","red"),parse:ZE("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:s=1})=>"rgba("+kh.transform(e)+", "+kh.transform(t)+", "+kh.transform(i)+", "+vo(Oo.transform(s))+")"};function I5(e){let t="",i="",s="",o="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),s=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),s=e.substring(3,4),o=e.substring(4,5),t+=t,i+=i,s+=s,o+=o),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:o?parseInt(o,16)/255:1}}const xp={test:Um("#"),parse:I5,transform:Bi.transform},tl=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ca=tl("deg"),zn=tl("%"),ne=tl("px"),B5=tl("vh"),z5=tl("vw"),H0={...zn,parse:e=>zn.parse(e)/100,transform:e=>zn.transform(e*100)},Hs={test:Um("hsl","hue"),parse:ZE("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:s=1})=>"hsla("+Math.round(e)+", "+zn.transform(vo(t))+", "+zn.transform(vo(i))+", "+vo(Oo.transform(s))+")"},it={test:e=>Bi.test(e)||xp.test(e)||Hs.test(e),parse:e=>Bi.test(e)?Bi.parse(e):Hs.test(e)?Hs.parse(e):xp.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Bi.transform(e):Hs.transform(e),getAnimatableNone:e=>{const t=it.parse(e);return t.alpha=0,it.transform(t)}},P5=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function V5(e){return isNaN(e)&&typeof e=="string"&&(e.match(Lm)?.length||0)+(e.match(P5)?.length||0)>0}const JE="number",e1="color",H5="var",q5="var(",q0="${}",G5=/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 er(e){const t=e.toString(),i=[],s={color:[],number:[],var:[]},o=[];let c=0;const p=t.replace(G5,m=>(it.test(m)?(s.color.push(c),o.push(e1),i.push(it.parse(m))):m.startsWith(q5)?(s.var.push(c),o.push(H5),i.push(m)):(s.number.push(c),o.push(JE),i.push(parseFloat(m))),++c,q0)).split(q0);return{values:i,split:p,indexes:s,types:o}}function F5(e){return er(e).values}function t1({split:e,types:t}){const i=e.length;return s=>{let o="";for(let c=0;c<i;c++)if(o+=e[c],s[c]!==void 0){const u=t[c];u===JE?o+=vo(s[c]):u===e1?o+=it.transform(s[c]):o+=s[c]}return o}}function W5(e){return t1(er(e))}const Y5=e=>typeof e=="number"?0:it.test(e)?it.getAnimatableNone(e):e,$5=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:Y5(e);function X5(e){const t=er(e);return t1(t)(t.values.map((s,o)=>$5(s,t.split[o])))}const jn={test:V5,parse:F5,createTransformer:W5,getAnimatableNone:X5};function Mh(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function K5({hue:e,saturation:t,lightness:i,alpha:s}){e/=360,t/=100,i/=100;let o=0,c=0,u=0;if(!t)o=c=u=i;else{const p=i<.5?i*(1+t):i+t-i*t,m=2*i-p;o=Mh(m,p,e+1/3),c=Mh(m,p,e),u=Mh(m,p,e-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:s}}function uu(e,t){return i=>i>0?t:e}const He=(e,t,i)=>e+(t-e)*i,Dh=(e,t,i)=>{const s=e*e,o=i*(t*t-s)+s;return o<0?0:Math.sqrt(o)},Q5=[xp,Bi,Hs],Z5=e=>Q5.find(t=>t.test(e));function G0(e){const t=Z5(e);if(!t)return!1;let i=t.parse(e);return t===Hs&&(i=K5(i)),i}const F0=(e,t)=>{const i=G0(e),s=G0(t);if(!i||!s)return uu(e,t);const o={...i};return c=>(o.red=Dh(i.red,s.red,c),o.green=Dh(i.green,s.green,c),o.blue=Dh(i.blue,s.blue,c),o.alpha=He(i.alpha,s.alpha,c),Bi.transform(o))},Sp=new Set(["none","hidden"]);function J5(e,t){return Sp.has(e)?i=>i<=0?e:t:i=>i>=1?t:e}function e4(e,t){return i=>He(e,t,i)}function Im(e){return typeof e=="number"?e4:typeof e=="string"?Om(e)?uu:it.test(e)?F0:a4:Array.isArray(e)?n1:typeof e=="object"?it.test(e)?F0:t4:uu}function n1(e,t){const i=[...e],s=i.length,o=e.map((c,u)=>Im(c)(c,t[u]));return c=>{for(let u=0;u<s;u++)i[u]=o[u](c);return i}}function t4(e,t){const i={...e,...t},s={};for(const o in i)e[o]!==void 0&&t[o]!==void 0&&(s[o]=Im(e[o])(e[o],t[o]));return o=>{for(const c in s)i[c]=s[c](o);return i}}function n4(e,t){const i=[],s={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const c=t.types[o],u=e.indexes[c][s[c]],p=e.values[u]??0;i[o]=p,s[c]++}return i}const a4=(e,t)=>{const i=jn.createTransformer(t),s=er(e),o=er(t);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?Sp.has(e)&&!o.values.length||Sp.has(t)&&!s.values.length?J5(e,t):Jo(n1(n4(s,o),o.values),i):uu(e,t)};function a1(e,t,i){return typeof e=="number"&&typeof t=="number"&&typeof i=="number"?He(e,t,i):Im(e)(e,t)}const i4=e=>{const t=({timestamp:i})=>e(i);return{start:(i=!0)=>qe.update(t,i),stop:()=>ai(t),now:()=>yt.isProcessing?yt.timestamp:Nt.now()}},i1=(e,t,i=10)=>{let s="";const o=Math.max(Math.round(t/i),2);for(let c=0;c<o;c++)s+=Math.round(e(c/(o-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},du=2e4;function Bm(e){let t=0;const i=50;let s=e.next(t);for(;!s.done&&t<du;)t+=i,s=e.next(t);return t>=du?1/0:t}function s4(e,t=100,i){const s=i({...e,keyframes:[0,t]}),o=Math.min(Bm(s),du);return{type:"keyframes",ease:c=>s.next(o*c).value/t,duration:gn(o)}}const Qe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Tp(e,t){return e*Math.sqrt(1-t*t)}const r4=12;function o4(e,t,i){let s=i;for(let o=1;o<r4;o++)s=s-e(s)/t(s);return s}const Oh=.001;function l4({duration:e=Qe.duration,bounce:t=Qe.bounce,velocity:i=Qe.velocity,mass:s=Qe.mass}){let o,c,u=1-t;u=qn(Qe.minDamping,Qe.maxDamping,u),e=qn(Qe.minDuration,Qe.maxDuration,gn(e)),u<1?(o=g=>{const v=g*u,y=v*e,x=v-i,_=Tp(g,u),T=Math.exp(-y);return Oh-x/_*T},c=g=>{const y=g*u*e,x=y*i+i,_=Math.pow(u,2)*Math.pow(g,2)*e,T=Math.exp(-y),j=Tp(Math.pow(g,2),u);return(-o(g)+Oh>0?-1:1)*((x-_)*T)/j}):(o=g=>{const v=Math.exp(-g*e),y=(g-i)*e+1;return-Oh+v*y},c=g=>{const v=Math.exp(-g*e),y=(i-g)*(e*e);return v*y});const p=5/e,m=o4(o,c,p);if(e=Jt(e),isNaN(m))return{stiffness:Qe.stiffness,damping:Qe.damping,duration:e};{const g=Math.pow(m,2)*s;return{stiffness:g,damping:u*2*Math.sqrt(s*g),duration:e}}}const c4=["duration","bounce"],u4=["stiffness","damping","mass"];function W0(e,t){return t.some(i=>e[i]!==void 0)}function d4(e){let t={velocity:Qe.velocity,stiffness:Qe.stiffness,damping:Qe.damping,mass:Qe.mass,isResolvedFromDuration:!1,...e};if(!W0(e,u4)&&W0(e,c4))if(t.velocity=0,e.visualDuration){const i=e.visualDuration,s=2*Math.PI/(i*1.2),o=s*s,c=2*qn(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:Qe.mass,stiffness:o,damping:c}}else{const i=l4({...e,velocity:0});t={...t,...i,mass:Qe.mass},t.isResolvedFromDuration=!0}return t}function fu(e=Qe.visualDuration,t=Qe.bounce){const i=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:s,restDelta:o}=i;const c=i.keyframes[0],u=i.keyframes[i.keyframes.length-1],p={done:!1,value:c},{stiffness:m,damping:g,mass:v,duration:y,velocity:x,isResolvedFromDuration:_}=d4({...i,velocity:-gn(i.velocity||0)}),T=x||0,j=g/(2*Math.sqrt(m*v)),A=u-c,R=gn(Math.sqrt(m/v)),M=Math.abs(A)<5;s||(s=M?Qe.restSpeed.granular:Qe.restSpeed.default),o||(o=M?Qe.restDelta.granular:Qe.restDelta.default);let I,W,V,ee,H,X;if(j<1)V=Tp(R,j),ee=(T+j*R*A)/V,I=J=>{const ue=Math.exp(-j*R*J);return u-ue*(ee*Math.sin(V*J)+A*Math.cos(V*J))},H=j*R*ee+A*V,X=j*R*A-ee*V,W=J=>Math.exp(-j*R*J)*(H*Math.sin(V*J)+X*Math.cos(V*J));else if(j===1){I=ue=>u-Math.exp(-R*ue)*(A+(T+R*A)*ue);const J=T+R*A;W=ue=>Math.exp(-R*ue)*(R*J*ue-T)}else{const J=R*Math.sqrt(j*j-1);I=he=>{const ge=Math.exp(-j*R*he),U=Math.min(J*he,300);return u-ge*((T+j*R*A)*Math.sinh(U)+J*A*Math.cosh(U))/J};const ue=(T+j*R*A)/J,Se=j*R*ue-A*J,ve=j*R*A-ue*J;W=he=>{const ge=Math.exp(-j*R*he),U=Math.min(J*he,300);return ge*(Se*Math.sinh(U)+ve*Math.cosh(U))}}const fe={calculatedDuration:_&&y||null,velocity:J=>Jt(W(J)),next:J=>{if(!_&&j<1){const Se=Math.exp(-j*R*J),ve=Math.sin(V*J),he=Math.cos(V*J),ge=u-Se*(ee*ve+A*he),U=Jt(Se*(H*ve+X*he));return p.done=Math.abs(U)<=s&&Math.abs(u-ge)<=o,p.value=p.done?u:ge,p}const ue=I(J);if(_)p.done=J>=y;else{const Se=Jt(W(J));p.done=Math.abs(Se)<=s&&Math.abs(u-ue)<=o}return p.value=p.done?u:ue,p},toString:()=>{const J=Math.min(Bm(fe),du),ue=i1(Se=>fe.next(J*Se).value,J,30);return J+"ms "+ue},toTransition:()=>{}};return fe}fu.applyToOptions=e=>{const t=s4(e,100,fu);return e.ease=t.ease,e.duration=Jt(t.duration),e.type="keyframes",e};const f4=5;function s1(e,t,i){const s=Math.max(t-f4,0);return BE(i-e(s),t-s)}function _p({keyframes:e,velocity:t=0,power:i=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:u,min:p,max:m,restDelta:g=.5,restSpeed:v}){const y=e[0],x={done:!1,value:y},_=X=>p!==void 0&&X<p||m!==void 0&&X>m,T=X=>p===void 0?m:m===void 0||Math.abs(p-X)<Math.abs(m-X)?p:m;let j=i*t;const A=y+j,R=u===void 0?A:u(A);R!==A&&(j=R-y);const M=X=>-j*Math.exp(-X/s),I=X=>R+M(X),W=X=>{const fe=M(X),J=I(X);x.done=Math.abs(fe)<=g,x.value=x.done?R:J};let V,ee;const H=X=>{_(x.value)&&(V=X,ee=fu({keyframes:[x.value,T(x.value)],velocity:s1(I,X,x.value),damping:o,stiffness:c,restDelta:g,restSpeed:v}))};return H(0),{calculatedDuration:null,next:X=>{let fe=!1;return!ee&&V===void 0&&(fe=!0,W(X),H(X)),V!==void 0&&X>=V?ee.next(X-V):(!fe&&W(X),x)}}}function h4(e,t,i){const s=[],o=i||ni.mix||a1,c=e.length-1;for(let u=0;u<c;u++){let p=o(e[u],e[u+1]);if(t){const m=Array.isArray(t)?t[u]||bn:t;p=Jo(m,p)}s.push(p)}return s}function p4(e,t,{clamp:i=!0,ease:s,mixer:o}={}){const c=e.length;if(Uu(c===t.length),c===1)return()=>t[0];if(c===2&&t[0]===t[1])return()=>t[1];const u=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const p=h4(t,s,o),m=p.length,g=v=>{if(u&&v<e[0])return t[0];let y=0;if(m>1)for(;y<e.length-2&&!(v<e[y+1]);y++);const x=Do(e[y],e[y+1],v);return p[y](x)};return i?v=>g(qn(e[0],e[c-1],v)):g}function m4(e,t){const i=e[e.length-1];for(let s=1;s<=t;s++){const o=Do(0,t,s);e.push(He(i,1,o))}}function g4(e){const t=[0];return m4(t,e.length-1),t}function y4(e,t){return e.map(i=>i*t)}function v4(e,t){return e.map(()=>t||YE).splice(0,e.length-1)}function bo({duration:e=300,keyframes:t,times:i,ease:s="easeInOut"}){const o=A5(s)?s.map(P0):P0(s),c={done:!1,value:t[0]},u=y4(i&&i.length===t.length?i:g4(t),e),p=p4(u,t,{ease:Array.isArray(o)?o:v4(t,o)});return{calculatedDuration:e,next:m=>(c.value=p(m),c.done=m>=e,c)}}const b4=e=>e!==null;function Iu(e,{repeat:t,repeatType:i="loop"},s,o=1){const c=e.filter(b4),p=o<0||t&&i!=="loop"&&t%2===1?0:c.length-1;return!p||s===void 0?c[p]:s}const x4={decay:_p,inertia:_p,tween:bo,keyframes:bo,spring:fu};function r1(e){typeof e.type=="string"&&(e.type=x4[e.type])}class zm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,i){return this.finished.then(t,i)}}const S4=e=>e/100;class hu extends zm{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:i}=this.options;i&&i.updatedAt!==Nt.now()&&this.tick(Nt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;r1(t);const{type:i=bo,repeat:s=0,repeatDelay:o=0,repeatType:c,velocity:u=0}=t;let{keyframes:p}=t;const m=i||bo;m!==bo&&typeof p[0]!="number"&&(this.mixKeyframes=Jo(S4,a1(p[0],p[1])),p=[0,100]);const g=m({...t,keyframes:p});c==="mirror"&&(this.mirroredGenerator=m({...t,keyframes:[...p].reverse(),velocity:-u})),g.calculatedDuration===null&&(g.calculatedDuration=Bm(g));const{calculatedDuration:v}=g;this.calculatedDuration=v,this.resolvedDuration=v+o,this.totalDuration=this.resolvedDuration*(s+1)-o,this.generator=g}updateTime(t){const i=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(t,i=!1){const{generator:s,totalDuration:o,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:p,calculatedDuration:m}=this;if(this.startTime===null)return s.next(0);const{delay:g=0,keyframes:v,repeat:y,repeatType:x,repeatDelay:_,type:T,onUpdate:j,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),i?this.currentTime=t:this.updateTime(t);const R=this.currentTime-g*(this.playbackSpeed>=0?1:-1),M=this.playbackSpeed>=0?R<0:R>o;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let I=this.currentTime,W=s;if(y){const X=Math.min(this.currentTime,o)/p;let fe=Math.floor(X),J=X%1;!J&&X>=1&&(J=1),J===1&&fe--,fe=Math.min(fe,y+1),fe%2&&(x==="reverse"?(J=1-J,_&&(J-=_/p)):x==="mirror"&&(W=u)),I=qn(0,1,J)*p}let V;M?(this.delayState.value=v[0],V=this.delayState):V=W.next(I),c&&!M&&(V.value=c(V.value));let{done:ee}=V;!M&&m!==null&&(ee=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const H=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&ee);return H&&T!==_p&&(V.value=Iu(v,this.options,A,this.speed)),j&&j(V.value),H&&this.finish(),V}then(t,i){return this.finished.then(t,i)}get duration(){return gn(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+gn(t)}get time(){return gn(this.currentTime)}set time(t){t=Jt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const i=this.generator.next(t).value;return s1(s=>this.generator.next(s).value,t,i)}get speed(){return this.playbackSpeed}set speed(t){const i=this.playbackSpeed!==t;i&&this.driver&&this.updateTime(Nt.now()),this.playbackSpeed=t,i&&this.driver&&(this.time=gn(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=i4,startTime:i}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=i??s),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(Nt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function T4(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const zi=e=>e*180/Math.PI,Ep=e=>{const t=zi(Math.atan2(e[1],e[0]));return wp(t)},_4={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ep,rotateZ:Ep,skewX:e=>zi(Math.atan(e[1])),skewY:e=>zi(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},wp=e=>(e=e%360,e<0&&(e+=360),e),Y0=Ep,$0=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),X0=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),E4={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:$0,scaleY:X0,scale:e=>($0(e)+X0(e))/2,rotateX:e=>wp(zi(Math.atan2(e[6],e[5]))),rotateY:e=>wp(zi(Math.atan2(-e[2],e[0]))),rotateZ:Y0,rotate:Y0,skewX:e=>zi(Math.atan(e[4])),skewY:e=>zi(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ap(e){return e.includes("scale")?1:0}function Np(e,t){if(!e||e==="none")return Ap(t);const i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,o;if(i)s=E4,o=i;else{const p=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=_4,o=p}if(!o)return Ap(t);const c=s[t],u=o[1].split(",").map(A4);return typeof c=="function"?c(u):u[c]}const w4=(e,t)=>{const{transform:i="none"}=getComputedStyle(e);return Np(i,t)};function A4(e){return parseFloat(e.trim())}const hr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pr=new Set([...hr,"pathRotation"]),K0=e=>e===fr||e===ne,N4=new Set(["x","y","z"]),j4=hr.filter(e=>!N4.has(e));function C4(e){const t=[];return j4.forEach(i=>{const s=e.getValue(i);s!==void 0&&(t.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),t}const Za={width:({x:e},{paddingLeft:t="0",paddingRight:i="0",boxSizing:s})=>{const o=e.max-e.min;return s==="border-box"?o:o-parseFloat(t)-parseFloat(i)},height:({y:e},{paddingTop:t="0",paddingBottom:i="0",boxSizing:s})=>{const o=e.max-e.min;return s==="border-box"?o:o-parseFloat(t)-parseFloat(i)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Np(t,"x"),y:(e,{transform:t})=>Np(t,"y")};Za.translateX=Za.x;Za.translateY=Za.y;const Gi=new Set;let jp=!1,Cp=!1,Rp=!1;function o1(){if(Cp){const e=Array.from(Gi).filter(s=>s.needsMeasurement),t=new Set(e.map(s=>s.element)),i=new Map;t.forEach(s=>{const o=C4(s);o.length&&(i.set(s,o),s.render())}),e.forEach(s=>s.measureInitialState()),t.forEach(s=>{s.render();const o=i.get(s);o&&o.forEach(([c,u])=>{s.getValue(c)?.set(u)})}),e.forEach(s=>s.measureEndState()),e.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Cp=!1,jp=!1,Gi.forEach(e=>e.complete(Rp)),Gi.clear()}function l1(){Gi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Cp=!0)})}function R4(){Rp=!0,l1(),o1(),Rp=!1}class Pm{constructor(t,i,s,o,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=i,this.name=s,this.motionValue=o,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(Gi.add(this),jp||(jp=!0,qe.read(l1),qe.resolveKeyframes(o1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:i,element:s,motionValue:o}=this;if(t[0]===null){const c=o?.get(),u=t[t.length-1];if(c!==void 0)t[0]=c;else if(s&&i){const p=s.readValue(i,u);p!=null&&(t[0]=p)}t[0]===void 0&&(t[0]=u),o&&c===void 0&&o.set(t[0])}T4(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Gi.delete(this)}cancel(){this.state==="scheduled"&&(Gi.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const k4=e=>e.startsWith("--");function c1(e,t,i){k4(t)?e.style.setProperty(t,i):e.style[t]=i}const M4={};function Vm(e,t){const i=IE(e);return()=>M4[t]??i()}const D4=Vm(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Cz=Vm(()=>window.ViewTimeline!==void 0,"viewTimeline"),u1=Vm(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),po=([e,t,i,s])=>`cubic-bezier(${e}, ${t}, ${i}, ${s})`,Q0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:po([0,.65,.55,1]),circOut:po([.55,0,1,.45]),backIn:po([.31,.01,.66,-.59]),backOut:po([.33,1.53,.69,.99])};function d1(e,t){if(e)return typeof e=="function"?u1()?i1(e,t):"ease-out":$E(e)?po(e):Array.isArray(e)?e.map(i=>d1(i,t)||Q0.easeOut):Q0[e]}function O4(e,t,i,{delay:s=0,duration:o=300,repeat:c=0,repeatType:u="loop",ease:p="easeOut",times:m}={},g=void 0){const v={[t]:i};m&&(v.offset=m);const y=d1(p,o);Array.isArray(y)&&(v.easing=y);const x={delay:s,duration:o,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return g&&(x.pseudoElement=g),e.animate(v,x)}function f1(e){return typeof e=="function"&&"applyToOptions"in e}function L4({type:e,...t}){return f1(e)&&u1()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class h1 extends zm{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:i,name:s,keyframes:o,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:p,onComplete:m}=t;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=t,Uu(typeof t.type!="string");const g=L4(t);this.animation=O4(i,s,o,g,c),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const v=Iu(o,this.options,p,this.speed);this.updateMotionValue&&this.updateMotionValue(v),c1(i,s,v),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return gn(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+gn(t)}get time(){return gn(Number(this.animation.currentTime)||0)}set time(t){const i=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Jt(t),i&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:i,rangeEnd:s,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&D4()?(this.animation.timeline=t,i&&(this.animation.rangeStart=i),s&&(this.animation.rangeEnd=s),bn):o(this)}}const p1={anticipate:GE,backInOut:qE,circInOut:WE};function U4(e){return e in p1}function I4(e){typeof e.ease=="string"&&U4(e.ease)&&(e.ease=p1[e.ease])}const Lh=10;class B4 extends h1{constructor(t){I4(t),r1(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:i,onUpdate:s,onComplete:o,element:c,...u}=this.options;if(!i)return;if(t!==void 0){i.set(t);return}const p=new hu({...u,autoplay:!1}),m=Math.max(Lh,Nt.now()-this.startTime),g=qn(0,Lh,m-Lh),v=p.sample(m).value,{name:y}=this.options;c&&y&&c1(c,y,v),i.setWithVelocity(p.sample(Math.max(0,m-g)).value,v,g),p.stop()}}const Z0=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(jn.test(e)||e==="0")&&!e.startsWith("url("));function z4(e){const t=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}function P4(e,t,i,s){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],u=Z0(o,t),p=Z0(c,t);return!u||!p?!1:z4(e)||(i==="spring"||f1(i))&&s}function kp(e){e.duration=0,e.type="keyframes"}const m1=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),V4=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function H4(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&V4.test(e[t]))return!0;return!1}const q4=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),G4=IE(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function F4(e){const{motionValue:t,name:i,repeatDelay:s,repeatType:o,damping:c,type:u,keyframes:p}=e,m=t?.owner?.current;if(!(m instanceof HTMLElement)&&!(m instanceof SVGElement))return!1;const{onUpdate:g,transformTemplate:v}=t.owner.getProps();return G4()&&i&&(m1.has(i)||q4.has(i)&&H4(p))&&(i!=="transform"||!v)&&!g&&!s&&o!=="mirror"&&c!==0&&u!=="inertia"}const W4=40;class Y4 extends zm{constructor({autoplay:t=!0,delay:i=0,type:s="keyframes",repeat:o=0,repeatDelay:c=0,repeatType:u="loop",keyframes:p,name:m,motionValue:g,element:v,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Nt.now();const x={autoplay:t,delay:i,type:s,repeat:o,repeatDelay:c,repeatType:u,name:m,motionValue:g,element:v,...y},_=v?.KeyframeResolver||Pm;this.keyframeResolver=new _(p,(T,j,A)=>this.onKeyframesResolved(T,j,x,!A),m,g,v),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,i,s,o){this.keyframeResolver=void 0;const{name:c,type:u,velocity:p,delay:m,isHandoff:g,onUpdate:v}=s;this.resolvedAt=Nt.now();let y=!0;P4(t,c,u,p)||(y=!1,(ni.instantAnimations||!m)&&v?.(Iu(t,s,i)),t[0]=t[t.length-1],kp(s),s.repeat=0);const _={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>W4?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:t},T=y&&!g&&F4(_),j=_.motionValue?.owner?.current;let A;if(T)try{A=new B4({..._,element:j})}catch{A=new hu(_)}else A=new hu(_);A.finished.then(()=>{this.notifyFinished()}).catch(bn),this.pendingTimeline&&(this.stopTimeline=A.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=A}get finished(){return this._animation?this.animation.finished:this._finished}then(t,i){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),R4()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function g1(e,t,i,s=0,o=1){const c=Array.from(e).sort((g,v)=>g.sortNodePosition(v)).indexOf(t),u=e.size,p=(u-1)*s;return typeof i=="function"?i(c,u):o===1?c*s:p-c*s}const J0=30,$4=e=>!isNaN(parseFloat(e)),eS={current:void 0};class X4{constructor(t,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const o=Nt.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=i.owner}setCurrent(t){this.current=t,this.updatedAt=Nt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=$4(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new km);const s=this.events[t].add(i);return t==="change"?()=>{s(),qe.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,i){this.passiveEffect=t,this.stopPassiveEffect=i}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-s}jump(t,i=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return eS.current&&eS.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Nt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>J0)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,J0);return BE(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(t){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=t(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(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tr(e,t){return new X4(e,t)}function y1(e,t){if(e?.inherit&&t){const{inherit:i,...s}=e;return{...t,...s}}return e}function Hm(e,t){const i=e?.[t]??e?.default??e;return i!==e?y1(i,e):i}const K4={type:"spring",stiffness:500,damping:25,restSpeed:10},Q4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Z4={type:"keyframes",duration:.8},J4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eL=(e,{keyframes:t})=>t.length>2?Z4:pr.has(e)?e.startsWith("scale")?Q4(t[1]):K4:J4,tL=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function nL(e){for(const t in e)if(!tL.has(t))return!0;return!1}const qm=(e,t,i,s={},o,c)=>u=>{const p=Hm(s,e)||{},m=p.delay||s.delay||0;let{elapsed:g=0}=s;g=g-Jt(m);const v={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...p,delay:-g,onUpdate:x=>{t.set(x),p.onUpdate&&p.onUpdate(x)},onComplete:()=>{u(),p.onComplete&&p.onComplete()},name:e,motionValue:t,element:c?void 0:o};nL(p)||Object.assign(v,eL(e,v)),v.duration&&(v.duration=Jt(v.duration)),v.repeatDelay&&(v.repeatDelay=Jt(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let y=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(kp(v),v.delay===0&&(y=!0)),(ni.instantAnimations||ni.skipAnimations||o?.shouldSkipAnimations||p.skipAnimations)&&(y=!0,kp(v),v.delay=0),v.allowFlatten=!p.type&&!p.ease,y&&!c&&t.get()!==void 0){const x=Iu(v.keyframes,p);if(x!==void 0){qe.update(()=>{v.onUpdate(x),v.onComplete()});return}}return p.isSync?new hu(v):new Y4(v)},aL=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function iL(e){const t=aL.exec(e);if(!t)return[,];const[,i,s,o]=t;return[`--${i??s}`,o]}function v1(e,t,i=1){const[s,o]=iL(e);if(!s)return;const c=window.getComputedStyle(t).getPropertyValue(s);if(c){const u=c.trim();return OE(u)?parseFloat(u):u}return Om(o)?v1(o,t,i+1):o}function tS(e){const t=[{},{}];return e?.values.forEach((i,s)=>{t[0][s]=i.get(),t[1][s]=i.getVelocity()}),t}function Gm(e,t,i,s){if(typeof t=="function"){const[o,c]=tS(s);t=t(i!==void 0?i:e.custom,o,c)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,c]=tS(s);t=t(i!==void 0?i:e.custom,o,c)}return t}function Fi(e,t,i){const s=e.getProps();return Gm(s,t,i!==void 0?i:s.custom,e)}const b1=new Set(["width","height","top","left","right","bottom",...hr]),Mp=e=>Array.isArray(e);function sL(e,t,i){e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,tr(i))}function rL(e){return Mp(e)?e[e.length-1]||0:e}function oL(e,t){const i=Fi(e,t);let{transitionEnd:s={},transition:o={},...c}=i||{};c={...c,...s};for(const u in c){const p=rL(c[u]);sL(e,u,p)}}const bt=e=>!!(e&&e.getVelocity);function lL(e){return!!(bt(e)&&e.add)}function Dp(e,t){const i=e.getValue("willChange");if(lL(i))return i.add(t);if(!i&&ni.WillChange){const s=new ni.WillChange("auto");e.addValue("willChange",s),s.add(t)}}function Fm(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const cL="framerAppearId",x1="data-"+Fm(cL);function S1(e){return e.props[x1]}function uL({protectedKeys:e,needsAnimating:t},i){const s=e.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,s}function T1(e,t,{delay:i=0,transitionOverride:s,type:o}={}){let{transition:c,transitionEnd:u,...p}=t;const m=e.getDefaultTransition();c=c?y1(c,m):m;const g=c?.reduceMotion,v=c?.skipAnimations;s&&(c=s);const y=[],x=o&&e.animationState&&e.animationState.getState()[o],_=c?.path;_&&_.animateVisualElement(e,p,c,i,y);for(const T in p){const j=e.getValue(T,e.latestValues[T]??null),A=p[T];if(A===void 0||x&&uL(x,T))continue;const R={delay:i,...Hm(c||{},T)};v&&(R.skipAnimations=!0);const M=j.get();if(M!==void 0&&!j.isAnimating()&&!Array.isArray(A)&&A===M&&!R.velocity){qe.update(()=>j.set(A));continue}let I=!1;if(window.MotionHandoffAnimation){const ee=S1(e);if(ee){const H=window.MotionHandoffAnimation(ee,T,qe);H!==null&&(R.startTime=H,I=!0)}}Dp(e,T);const W=g??e.shouldReduceMotion;j.start(qm(T,j,A,W&&b1.has(T)?{type:!1}:R,e,I));const V=j.animation;V&&y.push(V)}if(u){const T=()=>qe.update(()=>{u&&oL(e,u)});y.length?Promise.all(y).then(T):T()}return y}function Op(e,t,i={}){const s=Fi(e,t,i.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(o=i.transitionOverride);const c=s?()=>Promise.all(T1(e,s,i)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:g=0,staggerChildren:v,staggerDirection:y}=o;return dL(e,t,m,g,v,y,i)}:()=>Promise.resolve(),{when:p}=o;if(p){const[m,g]=p==="beforeChildren"?[c,u]:[u,c];return m().then(()=>g())}else return Promise.all([c(),u(i.delay)])}function dL(e,t,i=0,s=0,o=0,c=1,u){const p=[];for(const m of e.variantChildren)m.notify("AnimationStart",t),p.push(Op(m,t,{...u,delay:i+(typeof s=="function"?0:s)+g1(e.variantChildren,m,s,o,c)}).then(()=>m.notify("AnimationComplete",t)));return Promise.all(p)}function fL(e,t,i={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const o=t.map(c=>Op(e,c,i));s=Promise.all(o)}else if(typeof t=="string")s=Op(e,t,i);else{const o=typeof t=="function"?Fi(e,t,i.custom):t;s=Promise.all(T1(e,o,i))}return s.then(()=>{e.notify("AnimationComplete",t)})}const hL={test:e=>e==="auto",parse:e=>e},_1=e=>t=>t.test(e),E1=[fr,ne,zn,ca,z5,B5,hL],nS=e=>E1.find(_1(e));function pL(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||UE(e):!0}const mL=new Set(["brightness","contrast","saturate","opacity"]);function gL(e){const[t,i]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=i.match(Lm)||[];if(!s)return e;const o=i.replace(s,"");let c=mL.has(t)?1:0;return s!==i&&(c*=100),t+"("+c+o+")"}const yL=/\b([a-z-]*)\(.*?\)/gu,Lp={...jn,getAnimatableNone:e=>{const t=e.match(yL);return t?t.map(gL).join(" "):e}},Up={...jn,getAnimatableNone:e=>{const t=jn.parse(e);return jn.createTransformer(e)(t.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},aS={...fr,transform:Math.round},vL={rotate:ca,pathRotation:ca,rotateX:ca,rotateY:ca,rotateZ:ca,scale:Cc,scaleX:Cc,scaleY:Cc,scaleZ:Cc,skew:ca,skewX:ca,skewY:ca,distance:ne,translateX:ne,translateY:ne,translateZ:ne,x:ne,y:ne,z:ne,perspective:ne,transformPerspective:ne,opacity:Oo,originX:H0,originY:H0,originZ:ne},pu={borderWidth:ne,borderTopWidth:ne,borderRightWidth:ne,borderBottomWidth:ne,borderLeftWidth:ne,borderRadius:ne,borderTopLeftRadius:ne,borderTopRightRadius:ne,borderBottomRightRadius:ne,borderBottomLeftRadius:ne,width:ne,maxWidth:ne,height:ne,maxHeight:ne,top:ne,right:ne,bottom:ne,left:ne,inset:ne,insetBlock:ne,insetBlockStart:ne,insetBlockEnd:ne,insetInline:ne,insetInlineStart:ne,insetInlineEnd:ne,padding:ne,paddingTop:ne,paddingRight:ne,paddingBottom:ne,paddingLeft:ne,paddingBlock:ne,paddingBlockStart:ne,paddingBlockEnd:ne,paddingInline:ne,paddingInlineStart:ne,paddingInlineEnd:ne,margin:ne,marginTop:ne,marginRight:ne,marginBottom:ne,marginLeft:ne,marginBlock:ne,marginBlockStart:ne,marginBlockEnd:ne,marginInline:ne,marginInlineStart:ne,marginInlineEnd:ne,fontSize:ne,backgroundPositionX:ne,backgroundPositionY:ne,...vL,zIndex:aS,fillOpacity:Oo,strokeOpacity:Oo,numOctaves:aS},bL={...pu,color:it,backgroundColor:it,outlineColor:it,fill:it,stroke:it,borderColor:it,borderTopColor:it,borderRightColor:it,borderBottomColor:it,borderLeftColor:it,filter:Lp,WebkitFilter:Lp,mask:Up,WebkitMask:Up},w1=e=>bL[e],xL=new Set([Lp,Up]);function A1(e,t){let i=w1(e);return xL.has(i)||(i=jn),i.getAnimatableNone?i.getAnimatableNone(t):void 0}
vendor: 1,699 bytes, line 31
31const SL=new Set(["auto","none","0"]);function TL(e,t,i){let s=0,o;for(;s<e.length&&!o;){const c=e[s];typeof c=="string"&&!SL.has(c)&&er(c).values.length&&(o=e[s]),s++}if(o&&i)for(const c of t)e[c]=A1(i,o)}class _L extends Pm{constructor(t,i,s,o,c){super(t,i,s,o,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let v=0;v<t.length;v++){let y=t[v];if(typeof y=="string"&&(y=y.trim(),Om(y))){const x=v1(y,i.current);x!==void 0&&(t[v]=x),v===t.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!b1.has(s)||t.length!==2)return;const[o,c]=t,u=nS(o),p=nS(c),m=V0(o),g=V0(c);if(m!==g&&Za[s]){this.needsMeasurement=!0;return}if(u!==p)if(K0(u)&&K0(p))for(let v=0;v<t.length;v++){const y=t[v];typeof y=="string"&&(t[v]=parseFloat(y))}else Za[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:i}=this,s=[];for(let o=0;o<t.length;o++)(t[o]===null||pL(t[o]))&&s.push(o);s.length&&TL(t,s,i)}measureInitialState(){const{element:t,unresolvedKeyframes:i,name:s}=this;if(!t||!t.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Za[s](t.measureViewportBox(),window.getComputedStyle(t.current)),i[0]=this.measuredOrigin;const o=i[i.length-1];o!==void 0&&t.getValue(s,o).jump(o,!1)}measureEndState(){const{element:t,name:i,unresolvedKeyframes:s}=this;if(!t||!t.current)return;const o=t.getValue(i);o&&o.jump(this.measuredOrigin,!1);const c=s.length-1,u=s[c];s[c]=Za[i](t.measureViewportBox(),window.getComputedStyle(t.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),this.removedTransforms?.length&&this.removedTransforms.forEac
vendor: 54,548 bytes, line 31
31h(([p,m])=>{t.getValue(p).set(m)}),this.resolveNoneKeyframes()}}const Wm=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function Ym(e,t,i){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const o=document.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(s=>s!=null)}const Ip=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function EL(e){return LE(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:$m,cancel:Rz}=XE(queueMicrotask,!1),wn={x:!1,y:!1};function N1(){return wn.x||wn.y}function wL(e){return e==="x"||e==="y"?wn[e]?null:(wn[e]=!0,()=>{wn[e]=!1}):wn.x||wn.y?null:(wn.x=wn.y=!0,()=>{wn.x=wn.y=!1})}function j1(e,t){const i=Ym(e),s=new AbortController,o={passive:!0,...t,signal:s.signal};return[i,o,()=>s.abort()]}function AL(e){return!(e.pointerType==="touch"||N1())}function NL(e,t,i={}){const[s,o,c]=j1(e,i);return s.forEach(u=>{let p=!1,m=!1,g;const v=()=>{u.removeEventListener("pointerleave",T)},y=A=>{g&&(g(A),g=void 0),v()},x=A=>{p=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),m&&(m=!1,y(A))},_=()=>{p=!0,window.addEventListener("pointerup",x,o),window.addEventListener("pointercancel",x,o)},T=A=>{if(A.pointerType!=="touch"){if(p){m=!0;return}y(A)}},j=A=>{if(!AL(A))return;m=!1;const R=t(u,A);typeof R=="function"&&(g=R,u.addEventListener("pointerleave",T,o))};u.addEventListener("pointerenter",j,o),u.addEventListener("pointerdown",_,o)}),c}const C1=(e,t)=>t?e===t?!0:C1(e,t.parentElement):!1,Xm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,jL=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function CL(e){return jL.has(e.tagName)||e.isContentEditable===!0}const RL=new Set(["INPUT","SELECT","TEXTAREA"]);function kL(e){return RL.has(e.tagName)||e.isContentEditable===!0}const Fc=new WeakSet;function iS(e){return t=>{t.key==="Enter"&&e(t)}}function Uh(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const ML=(e,t)=>{const i=e.currentTarget;if(!i)return;const s=iS(()=>{if(Fc.has(i))return;Uh(i,"down");const o=iS(()=>{Uh(i,"up")}),c=()=>Uh(i,"cancel");i.addEventListener("keyup",o,t),i.addEventListener("blur",c,t)});i.addEventListener("keydown",s,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),t)};function sS(e){return Xm(e)&&!N1()}const rS=new WeakSet;function DL(e,t,i={}){const[s,o,c]=j1(e,i),u=p=>{const m=p.currentTarget;if(!sS(p)||rS.has(p))return;Fc.add(m),i.stopPropagation&&rS.add(p);const g=t(m,p),v={...o,capture:!0},y=(T,j)=>{window.removeEventListener("pointerup",x,v),window.removeEventListener("pointercancel",_,v),Fc.has(m)&&Fc.delete(m),sS(T)&&typeof g=="function"&&g(T,{success:j})},x=T=>{y(T,m===window||m===document||i.useGlobalTarget||C1(m,T.target))},_=T=>{y(T,!1)};window.addEventListener("pointerup",x,v),window.addEventListener("pointercancel",_,v)};return s.forEach(p=>{(i.useGlobalTarget?window:p).addEventListener("pointerdown",u,o),EL(p)&&(p.addEventListener("focus",g=>ML(g,o)),!CL(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),c}function Km(e){return LE(e)&&"ownerSVGElement"in e}const Wc=new WeakMap;let Yc;const R1=(e,t,i)=>(s,o)=>o&&o[0]?o[0][e+"Size"]:Km(s)&&"getBBox"in s?s.getBBox()[t]:s[i],OL=R1("inline","width","offsetWidth"),LL=R1("block","height","offsetHeight");function UL({target:e,borderBoxSize:t}){Wc.get(e)?.forEach(i=>{i(e,{get width(){return OL(e,t)},get height(){return LL(e,t)}})})}function IL(e){e.forEach(UL)}function BL(){typeof ResizeObserver>"u"||(Yc=new ResizeObserver(IL))}function zL(e,t){Yc||BL();const i=Ym(e);return i.forEach(s=>{let o=Wc.get(s);o||(o=new Set,Wc.set(s,o)),o.add(t),Yc?.observe(s)}),()=>{i.forEach(s=>{const o=Wc.get(s);o?.delete(t),o?.size||Yc?.unobserve(s)})}}const $c=new Set;let qs;function PL(){qs=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};$c.forEach(t=>t(e))},window.addEventListener("resize",qs)}function VL(e){return $c.add(e),qs||PL(),()=>{$c.delete(e),!$c.size&&typeof qs=="function"&&(window.removeEventListener("resize",qs),qs=void 0)}}function oS(e,t){return typeof e=="function"?VL(e):zL(e,t)}function HL(e){return Km(e)&&e.tagName==="svg"}const qL=[...E1,it,jn],GL=e=>qL.find(_1(e)),lS=()=>({translate:0,scale:1,origin:0,originPoint:0}),Gs=()=>({x:lS(),y:lS()}),cS=()=>({min:0,max:0}),ot=()=>({x:cS(),y:cS()}),FL=new WeakMap;function Bu(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Lo(e){return typeof e=="string"||Array.isArray(e)}const Qm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Zm=["initial",...Qm];function zu(e){return Bu(e.animate)||Zm.some(t=>Lo(e[t]))}function k1(e){return!!(zu(e)||e.variants)}function WL(e,t,i){for(const s in t){const o=t[s],c=i[s];if(bt(o))e.addValue(s,o);else if(bt(c))e.addValue(s,tr(o,{owner:e}));else if(c!==o)if(e.hasValue(s)){const u=e.getValue(s);u.liveStyle===!0?u.jump(o):u.hasAnimated||u.set(o)}else{const u=e.getStaticValue(s);e.addValue(s,tr(u!==void 0?u:o,{owner:e}))}}for(const s in i)t[s]===void 0&&e.removeValue(s);return t}const mu={current:null},Jm={current:!1},YL=typeof window<"u";function M1(){if(Jm.current=!0,!!YL)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>mu.current=e.matches;e.addEventListener("change",t),t()}else mu.current=!1}const uS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let gu={};function D1(e){gu=e}function $L(){return gu}class XL{scrapeMotionValuesFromProps(t,i,s){return{}}constructor({parent:t,props:i,presenceContext:s,reducedMotionConfig:o,skipAnimations:c,blockInitialAnimation:u,visualState:p},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Pm,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const _=Nt.now();this.renderScheduledAt<_&&(this.renderScheduledAt=_,qe.render(this.render,!1,!0))};const{latestValues:g,renderState:v}=p;this.latestValues=g,this.baseTarget={...g},this.initialValues=i.initial?{...g}:{},this.renderState=v,this.parent=t,this.props=i,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=c,this.options=m,this.blockInitialAnimation=!!u,this.isControllingVariants=zu(i),this.isVariantNode=k1(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:y,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const _ in x){const T=x[_];g[_]!==void 0&&bt(T)&&T.set(g[_])}}mount(t){if(this.hasBeenMounted)for(const i in this.initialValues)this.values.get(i)?.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,FL.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Jm.current||M1(),this.shouldReduceMotion=mu.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),ai(this.notifyUpdate),ai(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const i=this.features[t];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,i){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),i.accelerate&&m1.has(t)&&this.current instanceof HTMLElement){const{factory:u,keyframes:p,times:m,ease:g,duration:v}=i.accelerate,y=new h1({element:this.current,name:t,keyframes:p,times:m,ease:g,duration:Jt(v)}),x=u(y);this.valueSubscriptions.set(t,()=>{x(),y.cancel()});return}const s=pr.has(t);s&&this.onBindTransform&&this.onBindTransform();const o=i.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&qe.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{o(),c&&c()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in gu){const i=gu[t];if(!i)continue;const{isEnabled:s,Feature:o}=i;if(!this.features[t]&&o&&s(this.props)&&(this.features[t]=new o(this)),this.features[t]){const c=this.features[t];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ot()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,i){this.latestValues[t]=i}update(t,i){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<uS.length;s++){const o=uS[s];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const c="on"+o,u=t[c];u&&(this.propEventSubscriptions[o]=this.on(o,u))}this.prevMotionValues=WL(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(t),()=>i.variantChildren.delete(t)}addValue(t,i){const s=this.values.get(t);i!==s&&(s&&this.removeValue(t),this.bindToMotionValue(t,i),this.values.set(t,i),this.latestValues[t]=i.get())}removeValue(t){this.values.delete(t);const i=this.valueSubscriptions.get(t);i&&(i(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,i){if(this.props.values&&this.props.values[t])return this.props.values[t];let s=this.values.get(t);return s===void 0&&i!==void 0&&(s=tr(i===null?void 0:i,{owner:this}),this.addValue(t,s)),s}readValue(t,i){let s=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return s!=null&&(typeof s=="string"&&(OE(s)||UE(s))?s=parseFloat(s):!GL(s)&&jn.test(i)&&(s=A1(t,i)),this.setBaseTarget(t,bt(s)?s.get():s)),bt(s)?s.get():s}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const c=Gm(this.props,i,this.presenceContext?.custom);c&&(s=c[t])}if(i&&s!==void 0)return s;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!bt(o)?o:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,i){return this.events[t]||(this.events[t]=new km),this.events[t].add(i)}notify(t,...i){this.events[t]&&this.events[t].notify(...i)}scheduleRenderMicrotask(){$m.render(this.render)}}class O1 extends XL{constructor(){super(...arguments),this.KeyframeResolver=_L}sortInstanceNodePosition(t,i){return t.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(t,i){const s=t.style;return s?s[i]:void 0}removeValueFromRenderState(t,{vars:i,style:s}){delete i[t],delete s[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;bt(t)&&(this.childSubscription=t.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class di{constructor(t){this.isMounted=!1,this.node=t}update(){}}function L1({top:e,left:t,right:i,bottom:s}){return{x:{min:t,max:i},y:{min:e,max:s}}}function KL({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function QL(e,t){if(!t)return e;const i=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function Ih(e){return e===void 0||e===1}function Bp({scale:e,scaleX:t,scaleY:i}){return!Ih(e)||!Ih(t)||!Ih(i)}function Ui(e){return Bp(e)||U1(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function U1(e){return dS(e.x)||dS(e.y)}function dS(e){return e&&e!=="0%"}function yu(e,t,i){const s=e-i,o=t*s;return i+o}function fS(e,t,i,s,o){return o!==void 0&&(e=yu(e,o,s)),yu(e,i,s)+t}function zp(e,t=0,i=1,s,o){e.min=fS(e.min,t,i,s,o),e.max=fS(e.max,t,i,s,o)}function I1(e,{x:t,y:i}){zp(e.x,t.translate,t.scale,t.originPoint),zp(e.y,i.translate,i.scale,i.originPoint)}const hS=.999999999999,pS=1.0000000000001;function ZL(e,t,i,s=!1){const o=i.length;if(!o)return;t.x=t.y=1;let c,u;for(let p=0;p<o;p++){c=i[p],u=c.projectionDelta;const{visualElement:m}=c.options;m&&m.props.style&&m.props.style.display==="contents"||(s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(Un(e.x,-c.scroll.offset.x),Un(e.y,-c.scroll.offset.y)),u&&(t.x*=u.x.scale,t.y*=u.y.scale,I1(e,u)),s&&Ui(c.latestValues)&&Xc(e,c.latestValues,c.layout?.layoutBox))}t.x<pS&&t.x>hS&&(t.x=1),t.y<pS&&t.y>hS&&(t.y=1)}function Un(e,t){e.min+=t,e.max+=t}function mS(e,t,i,s,o=.5){const c=He(e.min,e.max,o);zp(e,t,i,c,s)}function gS(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Xc(e,t,i){const s=i??e;mS(e.x,gS(t.x,s.x),t.scaleX,t.scale,t.originX),mS(e.y,gS(t.y,s.y),t.scaleY,t.scale,t.originY)}function B1(e,t){return L1(QL(e.getBoundingClientRect(),t))}function JL(e,t,i){const s=B1(e,i),{scroll:o}=t;return o&&(Un(s.x,o.offset.x),Un(s.y,o.offset.y)),s}const eU={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tU=hr.length;function nU(e,t,i){let s="",o=!0;for(let u=0;u<tU;u++){const p=hr[u],m=e[p];if(m===void 0)continue;let g=!0;if(typeof m=="number")g=m===(p.startsWith("scale")?1:0);else{const v=parseFloat(m);g=p.startsWith("scale")?v===1:v===0}if(!g||i){const v=Ip(m,pu[p]);if(!g){o=!1;const y=eU[p]||p;s+=`${y}(${v}) `}i&&(t[p]=v)}}const c=e.pathRotation;return c&&(o=!1,s+=`rotate(${Ip(c,pu.pathRotation)}) `),s=s.trim(),i?s=i(t,o?"":s):o&&(s="none"),s}function eg(e,t,i){const{style:s,vars:o,transformOrigin:c}=e;let u=!1,p=!1;for(const m in t){const g=t[m];if(pr.has(m)){u=!0;continue}else if(QE(m)){o[m]=g;continue}else{const v=Ip(g,pu[m]);m.startsWith("origin")?(p=!0,c[m]=v):s[m]=v}}if(t.transform||(u||i?s.transform=nU(t,e.transform,i):s.transform&&(s.transform="none")),p){const{originX:m="50%",originY:g="50%",originZ:v=0}=c;s.transformOrigin=`${m} ${g} ${v}`}}function z1(e,{style:t,vars:i},s,o){const c=e.style;let u;for(u in t)c[u]=t[u];o?.applyProjectionStyles(c,s);for(u in i)c.setProperty(u,i[u])}function yS(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ne.test(e))e=parseFloat(e);else return e;const i=yS(e,t.target.x),s=yS(e,t.target.y);return`${i}% ${s}%`}},aU={correct:(e,{treeScale:t,projectionDelta:i})=>{const s=e,o=jn.parse(e);if(o.length>5)return s;const c=jn.createTransformer(e),u=typeof o[0]!="number"?1:0,p=i.x.scale*t.x,m=i.y.scale*t.y;o[0+u]/=p,o[1+u]/=m;const g=He(p,m,.5);return typeof o[2+u]=="number"&&(o[2+u]/=g),typeof o[3+u]=="number"&&(o[3+u]/=g),c(o)}},Pp={borderRadius:{...fo,applyTo:[...Wm]},borderTopLeftRadius:fo,borderTopRightRadius:fo,borderBottomLeftRadius:fo,borderBottomRightRadius:fo,boxShadow:aU};function P1(e,{layout:t,layoutId:i}){return pr.has(e)||e.startsWith("origin")||(t||i!==void 0)&&(!!Pp[e]||e==="opacity")}function tg(e,t,i){const s=e.style,o=t?.style,c={};if(!s)return c;for(const u in s)(bt(s[u])||o&&bt(o[u])||P1(u,e)||i?.getValue(u)?.liveStyle!==void 0)&&(c[u]=s[u]);return c}function iU(e){return window.getComputedStyle(e)}class sU extends O1{constructor(){super(...arguments),this.type="html",this.renderInstance=z1}mount(t){Uu(!!t.style),super.mount(t)}readValueFromInstance(t,i){if(pr.has(i))return this.projection?.isProjecting?Ap(i):w4(t,i);{const s=iU(t),o=(QE(i)?s.getPropertyValue(i):s[i])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:i}){return B1(t,i)}build(t,i,s){eg(t,i,s.transformTemplate)}scrapeMotionValuesFromProps(t,i,s){return tg(t,i,s)}}const rU={offset:"stroke-dashoffset",array:"stroke-dasharray"},oU={offset:"strokeDashoffset",array:"strokeDasharray"};function lU(e,t,i=1,s=0,o=!0){e.pathLength=1;const c=o?rU:oU;e[c.offset]=`${-s}`,e[c.array]=`${t} ${i}`}const cU=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function V1(e,{attrX:t,attrY:i,attrScale:s,pathLength:o,pathSpacing:c=1,pathOffset:u=0,...p},m,g,v){if(eg(e,p,g),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:y,style:x}=e;y.transform&&(x.transform=y.transform,delete y.transform),(x.transform||y.transformOrigin)&&(x.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),x.transform&&(x.transformBox=v?.transformBox??"fill-box",delete y.transformBox);for(const _ of cU)y[_]!==void 0&&(x[_]=y[_],delete y[_]);t!==void 0&&(y.x=t),i!==void 0&&(y.y=i),s!==void 0&&(y.scale=s),o!==void 0&&lU(y,o,c,u,!1)}const H1=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"]),q1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function uU(e,t,i,s){z1(e,t,void 0,s);for(const o in t.attrs)e.setAttribute(H1.has(o)?o:Fm(o),t.attrs[o])}function G1(e,t,i){const s=tg(e,t,i);for(const o in e)if(bt(e[o])||bt(t[o])){const c=hr.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;s[c]=e[o]}return s}class dU extends O1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ot}getBaseTargetFromProps(t,i){return t[i]}readValueFromInstance(t,i){if(pr.has(i)){const s=w1(i);return s&&s.default||0}return i=H1.has(i)?i:Fm(i),t.getAttribute(i)}scrapeMotionValuesFromProps(t,i,s){return G1(t,i,s)}build(t,i,s){V1(t,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(t,i,s,o){uU(t,i,s,o)}mount(t){this.isSVGTag=q1(t.tagName),super.mount(t)}}const fU=Zm.length;function F1(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?F1(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const t={};for(let i=0;i<fU;i++){const s=Zm[i],o=e.props[s];(Lo(o)||o===!1)&&(t[s]=o)}return t}function W1(e,t){if(!Array.isArray(t))return!1;const i=t.length;if(i!==e.length)return!1;for(let s=0;s<i;s++)if(t[s]!==e[s])return!1;return!0}const hU=[...Qm].reverse(),pU=Qm.length;function mU(e){return t=>Promise.all(t.map(({animation:i,options:s})=>fL(e,i,s)))}function gU(e){let t=mU(e),i=vS(),s=!0,o=!1;const c=g=>(v,y)=>{const x=Fi(e,y,g==="exit"?e.presenceContext?.custom:void 0);if(x){const{transition:_,transitionEnd:T,...j}=x;v={...v,...j,...T}}return v};function u(g){t=g(e)}function p(g){const{props:v}=e,y=F1(e.parent)||{},x=[],_=new Set;let T={},j=1/0;for(let R=0;R<pU;R++){const M=hU[R],I=i[M],W=v[M]!==void 0?v[M]:y[M],V=Lo(W),ee=M===g?I.isActive:null;ee===!1&&(j=R);let H=W===y[M]&&W!==v[M]&&V;if(H&&(s||o)&&e.manuallyAnimateOnMount&&(H=!1),I.protectedKeys={...T},!I.isActive&&ee===null||!W&&!I.prevProp||Bu(W)||typeof W=="boolean")continue;if(M==="exit"&&I.isActive&&ee!==!0){I.prevResolvedValues&&(T={...T,...I.prevResolvedValues});continue}const X=yU(I.prevProp,W);let fe=X||M===g&&I.isActive&&!H&&V||R>j&&V,J=!1;const ue=Array.isArray(W)?W:[W];let Se=ue.reduce(c(M),{});ee===!1&&(Se={});const{prevResolvedValues:ve={}}=I,he={...ve,...Se},ge=$=>{fe=!0,_.has($)&&(J=!0,_.delete($)),I.needsAnimating[$]=!0;const Z=e.getValue($);Z&&(Z.liveStyle=!1)};for(const $ in he){const Z=Se[$],se=ve[$];if(T.hasOwnProperty($))continue;let E=!1;Mp(Z)&&Mp(se)?E=!W1(Z,se)||X:E=Z!==se,E?Z!=null?ge($):_.add($):Z!==void 0&&_.has($)?ge($):I.protectedKeys[$]=!0}I.prevProp=W,I.prevResolvedValues=Se,I.isActive&&(T={...T,...Se}),(s||o)&&e.blockInitialAnimation&&(fe=!1);const U=H&&X;fe&&(!U||J)&&x.push(...ue.map($=>{const Z={type:M};if(typeof $=="string"&&(s||o)&&!U&&e.manuallyAnimateOnMount&&e.parent){const{parent:se}=e,E=Fi(se,$);if(se.enteringChildren&&E){const{delayChildren:z}=E.transition||{};Z.delay=g1(se.enteringChildren,e,z)}}return{animation:$,options:Z}}))}if(_.size){const R={};if(typeof v.initial!="boolean"){const M=Fi(e,Array.isArray(v.initial)?v.initial[0]:v.initial);M&&M.transition&&(R.transition=M.transition)}_.forEach(M=>{const I=e.getBaseTarget(M),W=e.getValue(M);W&&(W.liveStyle=!0),R[M]=I??null}),x.push({animation:R})}let A=!!x.length;return s&&(v.initial===!1||v.initial===v.animate)&&!e.manuallyAnimateOnMount&&(A=!1),s=!1,o=!1,A?t(x):Promise.resolve()}function m(g,v){if(i[g].isActive===v)return Promise.resolve();e.variantChildren?.forEach(x=>x.animationState?.setActive(g,v)),i[g].isActive=v;const y=p(g);for(const x in i)i[x].protectedKeys={};return y}return{animateChanges:p,setActive:m,setAnimateFunction:u,getState:()=>i,reset:()=>{i=vS(),o=!0}}}function yU(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!W1(t,e):!1}function Di(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function vS(){return{animate:Di(!0),whileInView:Di(),whileHover:Di(),whileTap:Di(),whileDrag:Di(),whileFocus:Di(),exit:Di()}}function Vp(e,t){e.min=t.min,e.max=t.max}function En(e,t){Vp(e.x,t.x),Vp(e.y,t.y)}function bS(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Y1=1e-4,vU=1-Y1,bU=1+Y1,$1=.01,xU=0-$1,SU=0+$1;function jt(e){return e.max-e.min}function TU(e,t,i){return Math.abs(e-t)<=i}function xS(e,t,i,s=.5){e.origin=s,e.originPoint=He(t.min,t.max,e.origin),e.scale=jt(i)/jt(t),e.translate=He(i.min,i.max,e.origin)-e.originPoint,(e.scale>=vU&&e.scale<=bU||isNaN(e.scale))&&(e.scale=1),(e.translate>=xU&&e.translate<=SU||isNaN(e.translate))&&(e.translate=0)}function xo(e,t,i,s){xS(e.x,t.x,i.x,s?s.originX:void 0),xS(e.y,t.y,i.y,s?s.originY:void 0)}function SS(e,t,i,s=0){const o=s?He(i.min,i.max,s):i.min;e.min=o+t.min,e.max=e.min+jt(t)}function _U(e,t,i,s){SS(e.x,t.x,i.x,s?.x),SS(e.y,t.y,i.y,s?.y)}function TS(e,t,i,s=0){const o=s?He(i.min,i.max,s):i.min;e.min=t.min-o,e.max=e.min+jt(t)}function vu(e,t,i,s){TS(e.x,t.x,i.x,s?.x),TS(e.y,t.y,i.y,s?.y)}function _S(e,t,i,s,o){return e-=t,e=yu(e,1/i,s),o!==void 0&&(e=yu(e,1/o,s)),e}function EU(e,t=0,i=1,s=.5,o,c=e,u=e){if(zn.test(t)&&(t=parseFloat(t),t=He(u.min,u.max,t/100)-u.min),typeof t!="number")return;let p=He(c.min,c.max,s);e===c&&(p-=t),e.min=_S(e.min,t,i,p,o),e.max=_S(e.max,t,i,p,o)}function ES(e,t,[i,s,o],c,u){EU(e,t[i],t[s],t[o],t.scale,c,u)}const wU=["x","scaleX","originX"],AU=["y","scaleY","originY"];function wS(e,t,i,s){ES(e.x,t,wU,i?i.x:void 0,s?s.x:void 0),ES(e.y,t,AU,i?i.y:void 0,s?s.y:void 0)}function AS(e){return e.translate===0&&e.scale===1}function X1(e){return AS(e.x)&&AS(e.y)}function NS(e,t){return e.min===t.min&&e.max===t.max}function NU(e,t){return NS(e.x,t.x)&&NS(e.y,t.y)}function jS(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function K1(e,t){return jS(e.x,t.x)&&jS(e.y,t.y)}function CS(e){return jt(e.x)/jt(e.y)}function RS(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Ln(e){return[e("x"),e("y")]}function jU(e,t,i){let s="";const o=e.x.translate/t.x,c=e.y.translate/t.y,u=i?.z||0;if((o||c||u)&&(s=`translate3d(${o}px, ${c}px, ${u}px) `),(t.x!==1||t.y!==1)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),i){const{transformPerspective:g,rotate:v,pathRotation:y,rotateX:x,rotateY:_,skewX:T,skewY:j}=i;g&&(s=`perspective(${g}px) ${s}`),v&&(s+=`rotate(${v}deg) `),y&&(s+=`rotate(${y}deg) `),x&&(s+=`rotateX(${x}deg) `),_&&(s+=`rotateY(${_}deg) `),T&&(s+=`skewX(${T}deg) `),j&&(s+=`skewY(${j}deg) `)}const p=e.x.scale*t.x,m=e.y.scale*t.y;return(p!==1||m!==1)&&(s+=`scale(${p}, ${m})`),s||"none"}const CU=Wm.length,kS=e=>typeof e=="string"?parseFloat(e):e,MS=e=>typeof e=="number"||ne.test(e);function RU(e,t,i,s,o,c){o?(e.opacity=He(0,i.opacity??1,kU(s)),e.opacityExit=He(t.opacity??1,0,MU(s))):c&&(e.opacity=He(t.opacity??1,i.opacity??1,s));for(let u=0;u<CU;u++){const p=Wm[u];let m=DS(t,p),g=DS(i,p);if(m===void 0&&g===void 0)continue;m||(m=0),g||(g=0),m===0||g===0||MS(m)===MS(g)?(e[p]=Math.max(He(kS(m),kS(g),s),0),(zn.test(g)||zn.test(m))&&(e[p]+="%")):e[p]=g}(t.rotate||i.rotate)&&(e.rotate=He(t.rotate||0,i.rotate||0,s))}function DS(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const kU=Q1(0,.5,FE),MU=Q1(.5,.95,bn);function Q1(e,t,i){return s=>s<e?0:s>t?1:i(Do(e,t,s))}function DU(e,t,i){const s=bt(e)?e:tr(e);return s.start(qm("",s,t,i)),s.animation}function Uo(e,t,i,s={passive:!0}){return e.addEventListener(t,i,s),()=>e.removeEventListener(t,i,s)}const OU=(e,t)=>e.depth-t.depth;class LU{constructor(){this.children=[],this.isDirty=!1}add(t){Rm(this.children,t),this.isDirty=!0}remove(t){cu(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(OU),this.isDirty=!1,this.children.forEach(t)}}function UU(e,t){const i=Nt.now(),s=({timestamp:o})=>{const c=o-i;c>=t&&(ai(s),e(c-t))};return qe.setup(s,!0),()=>ai(s)}function Kc(e){return bt(e)?e.get():e}class IU{constructor(){this.members=[]}add(t){Rm(this.members,t);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===t||s===this.lead||s===this.prevLead)continue;const o=s.instance;(!o||o.isConnected===!1)&&!s.snapshot&&(cu(this.members,s),s.unmount())}t.scheduleRender()}remove(t){if(cu(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(t){for(let i=this.members.indexOf(t)-1;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1&&s.instance?.isConnected!==!1)return this.promote(s),!0}return!1}promote(t,i){const s=this.lead;if(t!==s&&(this.prevLead=s,this.lead=t,t.show(),s)){s.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=s.options,{layoutDependency:c}=t.options;(o===void 0||o!==c)&&(t.resumeFrom=s,i&&(s.preserveOpacity=!0),s.snapshot&&(t.snapshot=s.snapshot,t.snapshot.latestValues=s.animationValues||s.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Qc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Bh=["","X","Y","Z"],BU=1e3;let zU=0;function zh(e,t,i,s){const{latestValues:o}=t;o[e]&&(i[e]=o[e],t.setStaticValue(e,0),s&&(s[e]=0))}function Z1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const i=S1(t);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:o,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",qe,!(o||c))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&Z1(s)}function J1({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(u={},p=t?.()){this.id=zU++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(HU),this.nodes.forEach($U),this.nodes.forEach(XU),this.nodes.forEach(qU)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new LU)}addEventListener(u,p){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new km),this.eventHandlers.get(u).add(p)}notifyListeners(u,...p){const m=this.eventHandlers.get(u);m&&m.notify(...p)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=Km(u)&&!HL(u),this.instance=u;const{layoutId:p,layout:m,visualElement:g}=this.options;if(g&&!g.current&&g.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||p)&&(this.isLayoutDirty=!0),e){let v,y=0;const x=()=>this.root.updateBlockedByResize=!1;qe.read(()=>{y=window.innerWidth}),e(u,()=>{const _=window.innerWidth;_!==y&&(y=_,this.root.updateBlockedByResize=!0,v&&v(),v=UU(x,250),Qc.hasAnimatedSinceResize&&(Qc.hasAnimatedSinceResize=!1,this.nodes.forEach(US)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&g&&(p||m)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:y,hasRelativeLayoutChanged:x,layout:_})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const T=this.options.transition||g.getDefaultTransition()||e6,{onLayoutAnimationStart:j,onLayoutAnimationComplete:A}=g.getProps(),R=!this.targetLayout||!K1(this.targetLayout,_),M=!y&&x;if(this.options.layoutRoot||this.resumeFrom||M||y&&(R||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...Hm(T,"layout"),onPlay:j,onComplete:A};(g.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(v,M,I.path)}else y||US(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=_})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ai(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(KU),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Z1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const y=this.path[v];y.shouldResetTransform=!0,(typeof y.latestValues.x=="string"||typeof y.latestValues.y=="string")&&(y.isLayoutDirty=!0),y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:p,layout:m}=this.options;if(p===void 0&&!m)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const m=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),m&&this.nodes.forEach(FU),this.nodes.forEach(OS);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(LS);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(WU),this.nodes.forEach(YU),this.nodes.forEach(PU),this.nodes.forEach(VU)):this.nodes.forEach(LS),this.clearAllSnapshots();const p=Nt.now();yt.delta=qn(0,1e3/60,p-yt.timestamp),yt.timestamp=p,yt.isProcessing=!0,Rh.update.process(yt),Rh.preRender.process(yt),Rh.render.process(yt),yt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,$m.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(GU),this.sharedNodes.forEach(QU)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,qe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){qe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!jt(this.snapshot.measuredBox.x)&&!jt(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 m=0;m<this.path.length;m++)this.path[m].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=ot()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(p=!1),p&&this.instance){const m=s(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:m,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!o)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!X1(this.projectionDelta),m=this.getTransformTemplate(),g=m?m(this.latestValues,""):void 0,v=g!==this.prevTransformTemplateValue;u&&this.instance&&(p||Ui(this.latestValues)||v)&&(o(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const p=this.measurePageBox();let m=this.removeElementScroll(p);return u&&(m=this.removeTransform(m)),t6(m),{animationId:this.root.animationId,measuredBox:p,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:u}=this.options;if(!u)return ot();const p=u.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(n6))){const{scroll:g}=this.root;g&&(Un(p.x,g.offset.x),Un(p.y,g.offset.y))}return p}removeElementScroll(u){const p=ot();if(En(p,u),this.scroll?.wasRoot)return p;for(let m=0;m<this.path.length;m++){const g=this.path[m],{scroll:v,options:y}=g;g!==this.root&&v&&y.layoutScroll&&(v.wasRoot&&En(p,u),Un(p.x,v.offset.x),Un(p.y,v.offset.y))}return p}applyTransform(u,p=!1,m){const g=m||ot();En(g,u);for(let v=0;v<this.path.length;v++){const y=this.path[v];!p&&y.options.layoutScroll&&y.scroll&&y!==y.root&&(Un(g.x,-y.scroll.offset.x),Un(g.y,-y.scroll.offset.y)),Ui(y.latestValues)&&Xc(g,y.latestValues,y.layout?.layoutBox)}return Ui(this.latestValues)&&Xc(g,this.latestValues,this.layout?.layoutBox),g}removeTransform(u){const p=ot();En(p,u);for(let m=0;m<this.path.length;m++){const g=this.path[m];if(!Ui(g.latestValues))continue;let v;g.instance&&(Bp(g.latestValues)&&g.updateSnapshot(),v=ot(),En(v,g.measurePageBox())),wS(p,g.latestValues,g.snapshot?.layoutBox,v)}return Ui(this.latestValues)&&wS(p,this.latestValues),p}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.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!==yt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==p;if(!(u||m&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:y}=this.options;if(!this.layout||!(v||y))return;this.resolvedRelativeTargetAt=yt.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ot(),this.targetWithTransforms=ot()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),_U(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):En(this.target,this.layout.layoutBox),I1(this.target,this.targetDelta)):En(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Bp(this.parent.latestValues)||U1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,p,m){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ot(),this.relativeTargetOrigin=ot(),vu(this.relativeTargetOrigin,p,m,this.options.layoutAnchor||void 0),En(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const u=this.getLead(),p=!!this.resumingFrom||this!==u;let m=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===yt.timestamp&&(m=!1),m)return;const{layout:g,layoutId:v}=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||v))return;En(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,x=this.treeScale.y;ZL(this.layoutCorrected,this.treeScale,this.path,p),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=ot());const{target:_}=u;if(!_){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(bS(this.prevProjectionDelta.x,this.projectionDelta.x),bS(this.prevProjectionDelta.y,this.projectionDelta.y)),xo(this.projectionDelta,this.layoutCorrected,_,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==x||!RS(this.projectionDelta.x,this.prevProjectionDelta.x)||!RS(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",_))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){if(this.options.visualElement?.scheduleRender(),u){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Gs(),this.projectionDelta=Gs(),this.projectionDeltaWithTransform=Gs()}setAnimationOrigin(u,p=!1,m){const g=this.snapshot,v=g?g.latestValues:{},y={...this.latestValues},x=Gs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const _=ot(),T=g?g.source:void 0,j=this.layout?this.layout.source:void 0,A=T!==j,R=this.getStack(),M=!R||R.members.length<=1,I=!!(A&&!M&&this.options.crossfade===!0&&!this.path.some(JU));this.animationProgress=0;let W;const V=m?.interpolateProjection(u);this.mixTargetDelta=ee=>{const H=ee/1e3,X=V?.(H);X?(x.x.translate=X.x,x.x.scale=He(u.x.scale,1,H),x.x.origin=u.x.origin,x.x.originPoint=u.x.originPoint,x.y.translate=X.y,x.y.scale=He(u.y.scale,1,H),x.y.origin=u.y.origin,x.y.originPoint=u.y.originPoint):(IS(x.x,u.x,H),IS(x.y,u.y,H)),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vu(_,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),ZU(this.relativeTarget,this.relativeTargetOrigin,_,H),W&&NU(this.relativeTarget,W)&&(this.isProjectionDirty=!1),W||(W=ot()),En(W,this.relativeTarget)),A&&(this.animationValues=y,RU(y,v,this.latestValues,H,I,M)),X&&X.rotate!==void 0&&(this.animationValues||(this.animationValues=y),this.animationValues.pathRotation=X.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ai(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=qe.update(()=>{Qc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=tr(0)),this.motionValue.jump(0,!1),this.currentAnimation=DU(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:p=>{this.mixTargetDelta(p),u.onUpdate&&u.onUpdate(p)},onComplete:()=>{u.onComplete&&u.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 u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(BU),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:p,target:m,layout:g,latestValues:v}=u;if(!(!p||!m||!g)){if(this!==u&&this.layout&&g&&ew(this.options.animationType,this.layout.layoutBox,g.layoutBox)){m=this.target||ot();const y=jt(this.layout.layoutBox.x);m.x.min=u.target.x.min,m.x.max=m.x.min+y;const x=jt(this.layout.layoutBox.y);m.y.min=u.target.y.min,m.y.max=m.y.min+x}En(p,m),Xc(p,v),xo(this.projectionDeltaWithTransform,this.layoutCorrected,p,v)}}registerSharedNode(u,p){this.sharedNodes.has(u)||this.sharedNodes.set(u,new IU),this.sharedNodes.get(u).add(p);const g=p.options.initialPromotionConfig;p.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(p):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){const{layoutId:u}=this.options;return u?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:u}=this.options;return u?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:p,preserveFollowOpacity:m}={}){const g=this.getStack();g&&g.promote(this,m),u&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let p=!1;const{latestValues:m}=u;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(p=!0),!p)return;const g={};m.z&&zh("z",u,g,this.animationValues);for(let v=0;v<Bh.length;v++)zh(`rotate${Bh[v]}`,u,g,this.animationValues),zh(`skew${Bh[v]}`,u,g,this.animationValues);u.render();for(const v in g)u.setStaticValue(v,g[v]),this.animationValues&&(this.animationValues[v]=g[v]);u.scheduleRender()}applyProjectionStyles(u,p){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=Kc(p?.pointerEvents)||"",u.transform=m?m(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=Kc(p?.pointerEvents)||""),this.hasProjected&&!Ui(this.latestValues)&&(u.transform=m?m({},""):"none",this.hasProjected=!1);return}u.visibility="";const v=g.animationValues||g.latestValues;this.applyTransformsToTarget();let y=jU(this.projectionDeltaWithTransform,this.treeScale,v);m&&(y=m(v,y)),u.transform=y;const{x,y:_}=this.projectionDelta;u.transformOrigin=`${x.origin*100}% ${_.origin*100}% 0`,g.animationValues?u.opacity=g===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:u.opacity=g===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const T in Pp){if(v[T]===void 0)continue;const{correct:j,applyTo:A,isCSSVariable:R}=Pp[T],M=y==="none"?v[T]:j(v[T],g);if(A){const I=A.length;for(let W=0;W<I;W++)u[A[W]]=M}else R?this.options.visualElement.renderState.vars[T]=M:u[T]=M}this.options.layoutId&&(u.pointerEvents=g===this?Kc(p?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>u.currentAnimation?.stop()),this.root.nodes.forEach(OS),this.root.sharedNodes.clear()}}}function PU(e){e.updateLayout()}function VU(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=e.layout,{animationType:o}=e.options,c=t.source!==e.layout.source;if(o==="size")Ln(v=>{const y=c?t.measuredBox[v]:t.layoutBox[v],x=jt(y);y.min=i[v].min,y.max=y.min+x});else if(o==="x"||o==="y"){const v=o==="x"?"y":"x";Vp(c?t.measuredBox[v]:t.layoutBox[v],i[v])}else ew(o,t.layoutBox,i)&&Ln(v=>{const y=c?t.measuredBox[v]:t.layoutBox[v],x=jt(i[v]);y.max=y.min+x,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[v].max=e.relativeTarget[v].min+x)});const u=Gs();xo(u,i,t.layoutBox);const p=Gs();c?xo(p,e.applyTransform(s,!0),t.measuredBox):xo(p,i,t.layoutBox);const m=!X1(u);let g=!1;if(!e.resumeFrom){const v=e.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:y,layout:x}=v;if(y&&x){const _=e.options.layoutAnchor||void 0,T=ot();vu(T,t.layoutBox,y.layoutBox,_);const j=ot();vu(j,i,x.layoutBox,_),K1(T,j)||(g=!0),v.options.layoutRoot&&(e.relativeTarget=j,e.relativeTargetOrigin=T,e.relativeParent=v)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:p,layoutDelta:u,hasLayoutChanged:m,hasRelativeLayoutChanged:g})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function HU(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 qU(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function GU(e){e.clearSnapshot()}function OS(e){e.clearMeasurements()}function FU(e){e.isLayoutDirty=!0,e.updateLayout()}function LS(e){e.isLayoutDirty=!1}function WU(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function YU(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function US(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function $U(e){e.resolveTargetDelta()}function XU(e){e.calcProjection()}function KU(e){e.resetSkewAndRotation()}function QU(e){e.removeLeadSnapshot()}function IS(e,t,i){e.translate=He(t.translate,0,i),e.scale=He(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function BS(e,t,i,s){e.min=He(t.min,i.min,s),e.max=He(t.max,i.max,s)}function ZU(e,t,i,s){BS(e.x,t.x,i.x,s),BS(e.y,t.y,i.y,s)}function JU(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const e6={duration:.45,ease:[.4,0,.1,1]},zS=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),PS=zS("applewebkit/")&&!zS("chrome/")?Math.round:bn;function VS(e){e.min=PS(e.min),e.max=PS(e.max)}function t6(e){VS(e.x),VS(e.y)}function ew(e,t,i){return e==="position"||e==="preserve-aspect"&&!TU(CS(t),CS(i),.2)}function n6(e){return e!==e.root&&e.scroll?.wasRoot}const a6=J1({attachResizeListener:(e,t)=>Uo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Ph={current:void 0},tw=J1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ph.current){const e=new a6({});e.mount(window),e.setOptions({layoutScroll:!0}),Ph.current=e}return Ph.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),nw=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function i6(e=!0){const t=w.useContext(Cm);if(t===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:o}=t,c=w.useId();w.useEffect(()=>{if(e)return o(c)},[e]);const u=w.useCallback(()=>e&&s&&s(c),[c,s,e]);return!i&&s?[!1,u]:[!0]}const aw=w.createContext({strict:!1}),HS={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let qS=!1;function s6(){if(qS)return;const e={};for(const t in HS)e[t]={isEnabled:i=>HS[t].some(s=>!!i[s])};D1(e),qS=!0}function iw(){return s6(),$L()}function r6(e){const t=iw();for(const i in e)t[i]={...t[i],...e[i]};D1(t)}const o6=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function bu(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||o6.has(e)}let sw=e=>!bu(e);function l6(e){typeof e=="function"&&(sw=t=>t.startsWith("on")?!bu(t):e(t))}try{l6(require("@emotion/is-prop-valid").default)}catch{}function c6(e,t,i){const s={};for(const o in e)o==="values"&&typeof e.values=="object"||bt(e[o])||(sw(o)||i===!0&&bu(o)||!t&&!bu(o)||e.draggable&&o.startsWith("onDrag"))&&(s[o]=e[o]);return s}const Pu=w.createContext({});function u6(e,t){if(zu(e)){const{initial:i,animate:s}=e;return{initial:i===!1||Lo(i)?i:void 0,animate:Lo(s)?s:void 0}}return e.inherit!==!1?t:{}}function d6(e){const{initial:t,animate:i}=u6(e,w.useContext(Pu));return w.useMemo(()=>({initial:t,animate:i}),[GS(t),GS(i)])}function GS(e){return Array.isArray(e)?e.join(" "):e}const ng=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rw(e,t,i){for(const s in t)!bt(t[s])&&!P1(s,i)&&(e[s]=t[s])}function f6({transformTemplate:e},t){return w.useMemo(()=>{const i=ng();return eg(i,t,e),Object.assign({},i.vars,i.style)},[t])}function h6(e,t){const i=e.style||{},s={};return rw(s,i,e),Object.assign(s,f6(e,t)),s}function p6(e,t){const i={},s=h6(e,t);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
31`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=s,i}const ow=()=>({...ng(),attrs:{}});function m6(e,t,i,s){const o=w.useMemo(()=>{const c=ow();return V1(c,t,q1(s),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[t]);if(e.style){const c={};rw(c,e.style,e),o.style={...c,...o.style}}return o}const g6=["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 ag(e){return typeof e!="string"||e.includes("-")?!1:!!(g6.indexOf(e)>-1||/[A-Z]/u.test(e))}function y6(e,t,i,{latestValues:s},o,c=!1,u){const m=(u??ag(e)?m6:p6)(t,s,o,e),g=c6(t,typeof e=="string",c),v=e!==w.Fragment?{...g,...m,ref:i}:{},{children:y}=t,x=w.useMemo(()=>bt(y)?y.get():y,[y]);return w.createElement(e,{...v,children:x})}function v6({scrapeMotionValuesFromProps:e,createRenderState:t},i,s,o){return{latestValues:b6(i,s,o,e),renderState:t()}}function b6(e,t,i,s){const o={},c=s(e,{});for(const x in c)o[x]=Kc(c[x]);let{initial:u,animate:p}=e;const m=zu(e),g=k1(e);t&&g&&!m&&e.inherit!==!1&&(u===void 0&&(u=t.initial),p===void 0&&(p=t.animate));let v=i?i.initial===!1:!1;v=v||u===!1;const y=v?p:u;if(y&&typeof y!="boolean"&&!Bu(y)){const x=Array.isArray(y)?y:[y];for(let _=0;_<x.length;_++){const T=Gm(e,x[_]);if(T){const{transitionEnd:j,transition:A,...R}=T;for(const M in R){let I=R[M];if(Array.isArray(I)){const W=v?I.length-1:0;I=I[W]}I!==null&&(o[M]=I)}for(const M in j)o[M]=j[M]}}}return o}const lw=e=>(t,i)=>{const s=w.useContext(Pu),o=w.useContext(Cm),c=()=>v6(e,t,s,o);return i?c():v5(c)},x6=lw({scrapeMotionValuesFromProps:tg,createRenderState:ng}),S6=lw({scrapeMotionValuesFromProps:G1,createRenderState:ow}),T6=Symbol.for("motionComponentSymbol");function _6(e,t,i){const s=w.useRef(i);w.useInsertionEffect(()=>{s.current=i});const o=w.useRef(null);return w.useCallback(c=>{c&&e.onMount?.(c),t&&(c?t.mount(c):t.unmount());const u=s.current;if(typeof u=="function")if(c){const p=u(c);typeof p=="function"&&(o.current=p)}else o.current?(o.current(),o.current=null):u(c);else u&&(u.current=c)},[t])}const cw=w.createContext({});function Ps(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function E6(e,t,i,s,o,c){const{visualElement:u}=w.useContext(Pu),p=w.useContext(aw),m=w.useContext(Cm),g=w.useContext(nw),v=g.reducedMotion,y=g.skipAnimations,x=w.useRef(null),_=w.useRef(!1);s=s||p.renderer,!x.current&&s&&(x.current=s(e,{visualState:t,parent:u,props:i,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:v,skipAnimations:y,isSVG:c}),_.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));const T=x.current,j=w.useContext(cw);T&&!T.projection&&o&&(T.type==="html"||T.type==="svg")&&w6(x.current,i,o,j);const A=w.useRef(!1);w.useInsertionEffect(()=>{T&&A.current&&T.update(i,m)});const R=i[x1],M=w.useRef(!!R&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(R)&&window.MotionHasOptimisedAnimation?.(R));return x5(()=>{_.current=!0,T&&(A.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),T.scheduleRenderMicrotask(),M.current&&T.animationState&&T.animationState.animateChanges())}),w.useEffect(()=>{T&&(!M.current&&T.animationState&&T.animationState.animateChanges(),M.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(R)}),M.current=!1),T.enteringChildren=void 0)}),T}function w6(e,t,i,s){const{layoutId:o,layout:c,drag:u,dragConstraints:p,layoutScroll:m,layoutRoot:g,layoutAnchor:v,layoutCrossfade:y}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:uw(e.parent)),e.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!u||p&&Ps(p),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,crossfade:y,layoutScroll:m,layoutRoot:g,layoutAnchor:v})}function uw(e){if(e)return e.options.allowProjection!==!1?e.projection:uw(e.parent)}function Vh(e,{forwardMotionProps:t=!1,type:i}={},s,o){s&&r6(s);const c=i?i==="svg":ag(e),u=c?S6:x6;function p(g,v){let y;const x={...w.useContext(nw),...g,layoutId:A6(g)},{isStatic:_}=x,T=d6(g),j=u(g,_);if(!_&&typeof window<"u"){N6();const A=j6(x);y=A.MeasureLayout,T.visualElement=E6(e,j,x,o,A.ProjectionNode,c)}return f.jsxs(Pu.Provider,{value:T,children:[y&&T.visualElement?f.jsx(y,{visualElement:T.visualElement,...x}):null,y6(e,g,_6(j,T.visualElement,v),j,_,t,c)]})}p.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const m=w.forwardRef(p);return m[T6]=e,m}function A6({layoutId:e}){const t=w.useContext(DE).id;return t&&e!==void 0?t+"-"+e:e}function N6(e,t){w.useContext(aw).strict}function j6(e){const t=iw(),{drag:i,layout:s}=t;if(!i&&!s)return{};const o={...i,...s};return{MeasureLayout:i?.isEnabled(e)||s?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}
vendor: 6,782 bytes, line 31
31function C6(e,t){if(typeof Proxy>"u")return Vh;const i=new Map,s=(c,u)=>Vh(c,u,e,t),o=(c,u)=>s(c,u);return new Proxy(o,{get:(c,u)=>u==="create"?s:(i.has(u)||i.set(u,Vh(u,void 0,e,t)),i.get(u))})}const R6=(e,t)=>t.isSVG??ag(e)?new dU(t):new sU(t,{allowProjection:e!==w.Fragment});class k6 extends di{constructor(t){super(t),t.animationState||(t.animationState=gU(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Bu(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:i}=this.node.prevProps||{};t!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let M6=0;class D6 extends di{constructor(){super(...arguments),this.id=M6++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;if(t&&s===!1){if(this.isExitComplete){const{initial:c,custom:u}=this.node.getProps();if(typeof c=="string"||typeof c=="object"&&c!==null&&!Array.isArray(c)){const p=Fi(this.node,c,u);if(p){const{transition:m,transitionEnd:g,...v}=p;for(const y in v)this.node.getValue(y)?.jump(v[y])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!t);i&&!t&&o.then(()=>{this.isExitComplete=!0,i(this.id)})}mount(){const{register:t,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const O6={animation:{Feature:k6},exit:{Feature:D6}};function nl(e){return{point:{x:e.pageX,y:e.pageY}}}const L6=e=>t=>Xm(t)&&e(t,nl(t));function So(e,t,i,s){return Uo(e,t,L6(i),s)}const dw=({current:e})=>e?e.ownerDocument.defaultView:null,FS=(e,t)=>Math.abs(e-t);function U6(e,t){const i=FS(e.x,t.x),s=FS(e.y,t.y);return Math.sqrt(i**2+s**2)}const WS=new Set(["auto","scroll"]);class fw{constructor(t,i,{transformPagePoint:s,contextWindow:o=window,dragSnapToOrigin:c=!1,distanceThreshold:u=3,element:p}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=T=>{this.handleScroll(T.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Rc(this.lastRawMoveEventInfo,this.transformPagePoint));const T=Hh(this.lastMoveEventInfo,this.history),j=this.startEvent!==null,A=U6(T.offset,{x:0,y:0})>=this.distanceThreshold;if(!j&&!A)return;const{point:R}=T,{timestamp:M}=yt;this.history.push({...R,timestamp:M});const{onStart:I,onMove:W}=this.handlers;j||(I&&I(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),W&&W(this.lastMoveEvent,T)},this.handlePointerMove=(T,j)=>{this.lastMoveEvent=T,this.lastRawMoveEventInfo=j,this.lastMoveEventInfo=Rc(j,this.transformPagePoint),qe.update(this.updatePoint,!0)},this.handlePointerUp=(T,j)=>{this.end();const{onEnd:A,onSessionEnd:R,resumeAnimation:M}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const I=Hh(T.type==="pointercancel"?this.lastMoveEventInfo:Rc(j,this.transformPagePoint),this.history);this.startEvent&&A&&A(T,I),R&&R(T,I)},!Xm(t))return;this.dragSnapToOrigin=c,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=u,this.contextWindow=o||window;const m=nl(t),g=Rc(m,this.transformPagePoint),{point:v}=g,{timestamp:y}=yt;this.history=[{...v,timestamp:y}];const{onSessionStart:x}=i;x&&x(t,Hh(g,this.history));const _={passive:!0,capture:!0};this.removeListeners=Jo(So(this.contextWindow,"pointermove",this.handlePointerMove,_),So(this.contextWindow,"pointerup",this.handlePointerUp,_),So(this.contextWindow,"pointercancel",this.handlePointerUp,_)),p&&this.startScrollTracking(p)}startScrollTracking(t){let i=t.parentElement;for(;i;){const s=getComputedStyle(i);(WS.has(s.overflowX)||WS.has(s.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const i=this.scrollPositions.get(t);if(!i)return;const s=t===window,o=s?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},c={x:o.x-i.x,y:o.y-i.y};c.x===0&&c.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=c.x,this.lastMoveEventInfo.point.y+=c.y):this.history.length>0&&(this.history[0].x-=c.x,this.history[0].y-=c.y),this.scrollPositions.set(t,o),qe.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ai(this.updatePoint)}}function Rc(e,t){return t?{point:t(e.point)}:e}function YS(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Hh({point:e},t){return{point:e,delta:YS(e,hw(t)),offset:YS(e,I6(t)),velocity:B6(t,.1)}}function I6(e){return e[0]}function hw(e){return e[e.length-1]}function B6(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,s=null;const o=hw(e);for(;i>=0&&(s=e[i],!(o.timestamp-s.timestamp>Jt(t)));)i--;if(!s)return{x:0,y:0};s===e[0]&&e.length>2&&o.timestamp-s.timestamp>Jt(t)*2&&(s=e[1]);const c=gn(o.timestamp-s.timestamp);if(c===0)return{x:0,y:0};const u={x:(o.x-s.x)/c,y:(o.y-s.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function z6(e,{min:t,max:i},s){return t!==void 0&&e<t?e=s?He(t,e,s.min):Math.max(e,t):i!==void 0&&e>i&&(e=s?He(i,e,s.max):Math.min(e,i)),e}function $S(e,t,i){return{min:t!==void 0?e.min+t:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function P6(e,{top:t,left:i,bottom:s,right:o}){return{x:$S(e.x,i,o),y:$S(e.y,t,s)}}function XS(e,t){let i=t.min-e.min,s=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,s]=[s,i]),{min:i,max:s}}function V6(e,t){return{x:XS(e.x,t.x),y:XS(e.y,t.y)}}function H6(e,t){let i=.5;const s=jt(e),o=jt(t);return o>s?i=Do(t.min,t.max-s,e.min):s>o&&(i=Do(e.min,e.max-o,t.min)),qn(0,1,i)}function q6(e,t){const i={};return t.min!==void 0&&(i.min=t.min-e.min),t.max!==void 0&&(i.max=t.max-e.min),i}const Hp=.35;function G6(e=Hp){return e===!1?e=0:e===!0&&(e=Hp),{x:KS(e,"left","right"),y:KS(e,"to
31p","bottom")}}function KS(e,t,i){return{min:QS(e,t),max:QS(e,i)}}function QS(e,t){return typeof e=="number"?e:e[t]||0}const F6=new WeakMap;class W6{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ot(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:i=!1,distanceThreshold:s}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const c=y=>{i&&this.snapToCursor(nl(y).point),this.stopAnimation()},u=(y,x)=>{const{drag:_,dragPropagation:T,onDragStart:j}=this.getProps();if(_&&!T&&(this.openDragLock&&this.openDragLock(),this.openDragLock=wL(_),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ln(R=>{let M=this.getAxisMotionValue(R).get()||0;if(zn.test(M)){const{projection:I}=this.visualElement;if(I&&I.layout){const W=I.layout.layoutBox[R];W&&(M=jt(W)*(parseFloat(M)/100))}}this.originPoint[R]=M}),j&&qe.update(()=>j(y,x),!1,!0),Dp(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},p=(y,x)=>{this.latestPointerEvent=y,this.latestPanInfo=x;const{dragPropagation:_,dragDirectionLock:T,onDirectionLock:j,onDrag:A}=this.getProps();if(!_&&!this.openDragLock)return;const{offset:R}=x;if(T&&this.currentDirection===null){this.currentDirection=$6(R),this.currentDirection!==null&&j&&j(this.currentDirection);return}this.updateAxis("x",x.point,R),this.updateAxis("y",x.point,R),this.visualElement.render(),A&&qe.update(()=>A(y,x),!1,!0)},m=(y,x)=>{this.latestPointerEvent=y,this.latestPanInfo=x,this.stop(y,x),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>{const{dragSnapToOrigin:y}=this.getProps();(y||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:v}=this.getProps();this.panSession=new fw(t,{onSessionStart:c,onStart:u,onMove:p,onSessionEnd:m,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:s,contextWindow:dw(this.visualElement),element:this.visualElement.current})}stop(t,i){const s=t||this.latestPointerEvent,o=i||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!o||!s)return;const{velocity:u}=o;this.startAnimation(u);const{onDragEnd:p}=this.getProps();p&&qe.postRender(()=>p(s,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:i}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,i,s){const{drag:o}=this.getProps();if(!s||!kc(t,o,this.currentDirection))return;const c=this.getAxisMotionValue(t);let u=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(u=z6(u,this.constraints[t],this.elastic[t])),c.set(u)}resolveConstraints(){const{dragConstraints:t,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&Ps(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=P6(s.layoutBox,t):this.constraints=!1,this.elastic=G6(i),o!==this.constraints&&!Ps(t)&&s&&this.constraints&&!this.hasMutatedConstraints&&Ln(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=q6(s.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!Ps(t))return!1;const s=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;o.root&&(o.root.scroll=void 0,o.root.updateScroll());const c=JL(s,o.root,this.visualElement.getTransformPagePoint());let u=V6(o.layout.layoutBox,c);if(i){const p=i(KL(u));this.hasMutatedConstraints=!!p,p&&(u=L1(p))}return u}startAnimation(t){const{drag:i,dragMomentum:s,dragElastic:o,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:p}=this.getProps(),m=this.constraints||{},g=Ln(v=>{if(!kc(v,i,this.currentDirection))return;let y=m&&m[v]||{};(u===!0||u===v)&&(y={min:0,max:0});const x=o?200:1e6,_=o?40:1e7,T={type:"inertia",velocity:s?t[v]:0,bounceStiffness:x,bounceDamping:_,timeConstant:750,restDelta:1,restSpeed:10,...c,...y};return this.startAxisValueAnimation(v,T)});return Promise.all(g).then(p)}startAxisValueAnimation(t,i){const s=this.getAxisMotionValue(t);return Dp(this.visualElement,t),s.start(qm(t,s,0,i,this.visualElement,!1))}stopAnimation(){Ln(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const i=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Ln(i=>{const{drag:s}=this.getProps();if(!kc(i,s,this.currentDirection))return;const{projection:o}=this.visualElement,c=this.getAxisMotionValue(i);if(o&&o.layout){const{min:u,max:p}=o.layout.layoutBox[i],m=c.get()||0;c.set(t[i]-He(u,p,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!Ps(i)||!s||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Ln(u=>{const p=this.getAxisMotionValue(u);if(p&&this.constraints!==!1){const m=p.get();o[u]=H6({min:m,max:m},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ln(u=>{if(!kc(u,t,null))return;const p=this.getAxisMotionValue(u),{min:m,max:g}=this.constraints[u];p.set(He(m,g,o[u]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;F6.set(this.visualElement,this);const t=this.visualElement.current,i=So(t,"pointerdown",g=>{const{drag:v,dragListener:y=!0}=this.getProps(),x=g.target,_=x!==t&&kL(x);v&&y&&!_&&this.start(g)});let s;const o=()=>{const{dragConstraints:g}=this.getProps();Ps(g)&&g.current&&(this.constraints=this.resolveRefConstraints(),s||(s=Y6(t,g.current,()=>this.scalePositionWithinConstraints())))},{projection:c}=this.visualElement,u=c.addEventListener("measure",o);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),qe.read(o);const p=Uo(window,"resize",()=>this.scalePositionWithinConstraints()),m=c.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:v})=>{this.isDragging&&v&&(Ln(y=>{const x=this.getAxisMotionValue(y);x&&(this.originPoint[y]+=g[y].translate,x.set(x.get()+g[y].translate))}),this.visualElement.render())}));return()=>{p(),i(),u(),m&&m(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:o=!1,dragConstraints:c=!1,dragElastic:u=Hp,dragMomentum:p=!0}=t;return{...t,drag:i,dragDirectionLock:s,dragPropagation:o,dragConstraints:c,dragElastic:u,dragMomentum:p}}}function ZS(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Y6(e,t,i){const s=oS(e,ZS(i)),o=oS(t,ZS(i));return()=>{s(),o()}}function kc(e,t,i){return(t===!0||t===e)&&(i===null||i===e)}function $6(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}class X6 extends di{constructor(t){super(t),this.removeGroupControls=bn,this.removeListeners=bn,this.controls=new W6(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bn}update(){const{dragControls:t}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};t!==i&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const qh=e=>(t,i)=>{e&&qe.update(()=>e(t,i),!1,!0)};class K6 extends di{constructor(){super(...arguments),this.removePointerDownListener=bn}onPointerDown(t){this.session=new fw(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:dw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:i,onPan:s,onPanEnd:o}=this.node.getProps();return{onSessionStart:qh(t),onStart:qh(i),onMove:qh(s),onEnd:(c,u)=>{delete this.session,o&&qe.postRender(()=>o(c,u))}}}mount(){this.removePointerDownListener=So(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Gh=!1;class Q6 extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:s,layoutId:o}=this.props,{projection:c}=t;c&&(i.group&&i.group.add(c),s&&s.register&&o&&s.register(c),Gh&&
31c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Qc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:i,visualElement:s,drag:o,isPresent:c}=this.props,{projection:u}=s;return u&&(u.isPresent=c,t.layoutDependency!==i&&u.setOptions({...u.options,layoutDependency:i}),Gh=!0,o||t.layoutDependency!==i||i===void 0||t.isPresent!==c?u.willUpdate():this.safeToRemove(),t.isPresent!==c&&(c?u.promote():u.relegate()||qe.postRender(()=>{const p=u.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:i}=this.props,{projection:s}=t;s&&(s.options.layoutAnchor=i,s.root.didUpdate(),$m.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:o}=t;Gh=!0,o&&(o.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(o),s&&s.deregister&&s.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function pw(e){const[t,i]=i6(),s=w.useContext(DE);return f.jsx(Q6,{...e,layoutGroup:s,switchLayoutGroup:w.useContext(cw),isPresent:t,safeToRemove:i})}const Z6={pan:{Feature:K6},drag:{Feature:X6,ProjectionNode:tw,MeasureLayout:pw}};function JS(e,t,i){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",i==="Start");const o="onHover"+i,c=s[o];c&&qe.postRender(()=>c(t,nl(t)))}class J6 extends di{mount(){const{current:t}=this.node;t&&(this.unmount=NL(t,(i,s)=>(JS(this.node,s,"Start"),o=>JS(this.node,o,"End"))))}unmount(){}}class eI extends di{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Jo(Uo(this.node.current,"focus",()=>this.onFocus()),Uo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function eT(e,t,i){const{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap",i==="Start");const o="onTap"+(i==="End"?"":i),c=s[o];c&&qe.postRender(()=>c(t,nl(t)))}class tI extends di{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:i,propagate:s}=this.node.props;this.unmount=DL(t,(o,c)=>(eT(this.node,c,"Start"),(u,{success:p})=>eT(this.node,u,p?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:s?.tap===!1})}unmount(){}}const qp=new WeakMap,Fh=new WeakMap,nI=e=>{const t=qp.get(e.target);t&&t(e)},aI=e=>{e.forEach(nI)};function iI({root:e,...t}){const i=e||document;Fh.has(i)||Fh.set(i,{});const s=Fh.get(i),o=JSON.stringify(t);return s[o]||(s[o]=new IntersectionObserver(aI,{root:e,...t})),s[o]}function sI(e,t,i){const s=iI(t);return qp.set(e,i),s.observe(e),()=>{qp.delete(e),s.unobserve(e)}}const rI={some:0,all:1};class oI extends di{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:i,margin:s,amount:o="some",once:c}=t,u={root:i?i.current:void 0,rootMargin:s,threshold:typeof o=="number"?o:rI[o]},p=m=>{const{isIntersecting:g}=m;if(this.isInView===g||(this.isInView=g,c&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:v,onViewportLeave:y}=this.node.getProps(),x=g?v:y;x&&x(m)};this.stopObserver=sI(this.node.current,u,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:i}=this.node;["amount","margin","root"].some(lI(t,i))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function lI({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}const cI={inView:{Feature:oI},tap:{Feature:tI},focus:{Feature:eI},hover:{Feature:J6}},uI={layout:{ProjectionNode:tw,MeasureLayout:pw}},dI={...O6,...cI,...Z6,...uI},fI=C6(dI,R6);function hI(){!Jm.current&&M1();const[e]=w.useState(mu.current);return e}const pI={some:0,all:1};function mI(e,t,{root:i,margin:s,amount:o="some"}={}){const c=Ym(e),u=new WeakMap,p=g=>{g.forEach(v=>{const y=u.get(v.target);if(v.isIntersecting!==!!y)if(v.isIntersecting){const x=t(v.target,v);typeof x=="function"?u.set(v.target,x):m.unobserve(v.target)}else typeof y=="function"&&(y(v),u.delete(v.target))})},m=new IntersectionObserver(p,{root:i,rootMargin:s,threshold:typeof o=="number"?o:pI[o]});
31return c.forEach(g=>m.observe(g)),()=>m.disconnect()}function gI(e,{root:t,margin:i,amount:s,once:o=!1,initial:c=!1}={}){const[u,p]=w.useState(c);return w.useEffect(()=>{if(!e.current||o&&u)return;const m=()=>(p(!0),o?void 0:()=>p(!1)),g={root:t&&t.current||void 0,margin:i,amount:s};return mI(e.current,m,g)},[t,e,i,o,s]),u}const yI="https://taskwhip.com",vI="/images/logo-black-text.png",bI="index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1";function tT(e){return new URL(e,yI).toString()}function Kt(e,t){let i=document.head.querySelector(e);return i||(i=t(),document.head.appendChild(i)),i}function xI(e,t){let i=document.head.querySelector(e);return i||(i=t(),document.head.appendChild(i)),i}function xa({title:e,description:t,path:i="/",imagePath:s=vI,robots:o=bI,type:c="website",structuredData:u}){return w.useEffect(()=>{const p=tT(i),m=tT(s);document.title=e,document.documentElement.lang="en",Kt('meta[name="description"]',()=>{const y=document.createElement("meta");return y.name="description",y}).content=t,Kt('meta[name="robots"]',()=>{const y=document.createElement("meta");return y.name="robots",y}).content=o,Kt('meta[name="theme-color"]',()=>{const y=document.createElement("meta");return y.name="theme-color",y}).content="#0b0a10",Kt('meta[property="og:type"]',()=>{const y=document.createElement("meta");return y.setAttribute("property","og:type"),y}).content=c,Kt('meta[property="og:title"]',()=>{const y=document.createElement("meta");return y.setAttribute("property","og:title"),y}).content=e,Kt('meta[property="og:description"]',()=>{const y=document.createElement("meta");return y.setAttribute("property","og:description"),y}).content=t,Kt('meta[property="og:url"]',()=>{const y=document.createElement("meta");return y.setAttribute("property","og:url"),y}).content=p,Kt('meta[property="og:site_name"]',()=>{const y=document.createElement("meta");return y.setAttribute("property","og:site_name"),y}).content="TaskWhip",Kt('meta[property="og:image"]',()=>{const y=document.createElement("meta");return y.setAttribute("property","og:image"),y}).content=m,Kt('meta[name="twitter:card"]',()=>{const y=document.createElement("meta");return y.name="twitter:card",y}).content="summary",Kt('meta[name="twitter:title"]',()=>{const y=document.createElement("meta");return y.name="twitter:title",y}).content=e,Kt('meta[name="twitter:description"]',()=>{const y=document.createElement("meta");return y.name="twitter:description",y}).content=t,Kt('meta[name="twitter:image"]',()=>{const y=document.createElement("meta");return y.name="twitter:image",y}).content=m,xI('link[rel="canonical"]',()=>{const y=document.createElement("link");return y.rel="canonical",y}).href=p;const g="seo-structured-data";let v=document.getElementById(g);u?(v||(v=document.createElement("script"),v.id=g,v.type="application/ld+json",document.head.appendChild(v)),v.textContent=JSON.stringify(u)):v&&v.remove()},[t,s,i,o,u,e,c]),null}const mw=(...e)=>e.filter((t,i,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===i).join(" ").trim();const SI=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const TI=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,i,s)=>s?s.toUpperCase():i.toLowerCase());const nT=e=>{const t=TI(e);return t.charAt(0).toUpperCase()+t.slice(1)};var _I={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"};const EI=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const wI=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:o="",children:c,iconNode:u,...p},m)=>w.createElement("svg",{ref:m,..._I,width:t,height:t,stroke:e,strokeWidth:s?Number(i)*24/Number(t):i,className:mw("lucide",o),...!c&&!EI(p)&&{"aria-hidden":"true"},...p},[...u.map(([g,v])=>w.createElement(g,v)),...Array.isArray(c)?c:[c]]));const Tt=(e,t)=>{const i=w.forwardRef(({className:s,...o},c)=>w.createElement(wI,{ref:c,iconNode:t,className:mw(`lucide-${SI(nT(e))}`,`lucide-${e}`,s),...o}));return i.displayName=nT(e),i};const AI=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],NI=Tt("arrow-left",AI);const jI=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Gp=Tt("arrow-right",jI);const CI=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],RI=Tt("chevron-down",CI);const kI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ig=Tt("circle-check",kI);const MI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],DI=Tt("info",MI);const OI=[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]],LI=Tt("keyboard",OI);const UI=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],II=Tt("list-checks",UI);const BI=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],zI=Tt("menu",BI);const PI=[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M22 12.307V15a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8.693",key:"1dx6ho"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}]],VI=Tt("monitor-dot",PI);const HI=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],qI=Tt("monitor",HI);const GI=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}]],FI=Tt("panel-top",GI);const WI=[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]],YI=Tt("route",WI);const $I=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
31y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],XI=Tt("shield-check",$I);const KI=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],gw=Tt("smartphone",KI);const QI=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],ZI=Tt("sparkles",QI);const JI=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],eB=Tt("x",JI);const tB=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],nB=Tt("zap",tB),aT=[{href:"/#features",label:"Features"},{href:"/product",label:"Product"},{href:"/#integrations",label:"Integrations"},{href:"/downloads",label:"Apps & downloads"},{href:"/pricing",label:"Pricing"}],iT="https://app.taskwhip.com/",sT="https://app.taskwhip.com/signup";function rT(e,t,i){if(e.includes("#")){const[s,o]=e.split("#");return t===(s===""?"/":s)&&i===`#${o}`}return t===e}function Sa(){const{pathname:e,hash:t}=Cn(),[i,s]=w.useState(!1);return w.useEffect(()=>(document.body.style.overflow=i?"hidden":"auto",()=>{document.body.style.overflow="auto"}),[i]),f.jsxs("header",{className:"site-header",children:[f.jsx("a",{href:"#main-content",className:"button-inverse sr-only fixed left-4 top-2 z-70 px-4 py-2 text-sm font-semibold focus:not-sr-only",children:"Skip to content"}),f.jsxs("div",{className:"site-nav-shell",children:[f.jsxs("div",{className:"header-pill w-full items-center justify-between rounded-[1.6rem] px-4 py-3 backdrop-blur-md sm:px-6 md:flex md:rounded-full",children:[f.jsxs("div",{className:"flex items-center justify-between gap-3",children:[f.jsxs("a",{href:"/",className:"flex items-center gap-3",children:[f.jsx("img",{src:"/images/logo-transparent.png",alt:"TaskWhip Logo",className:"w-11 h-11 sm:w-12 sm:h-12"}),f.jsxs("div",{className:"text-left",children:[f.jsx("span",{className:"block text-base font-bold text-white sm:text-lg",children:"TaskWhip"}),f.jsx("span",{className:"text-subtle hidden text-xs uppercase tracking-[0.18em] sm:block",children:"Voice-to-task workflow"})]})]}),f.jsx("button",{type:"button",className:"surface-tile inline-flex h-11 w-11 items-center justify-center rounded-full text-white md:hidden",onClick:()=>s(o=>!o),"aria-expanded":i,"aria-label":i?"Close navigation menu":"Open navigation menu",children:i?f.jsx(eB,{className:"h-5 w-5"}):f.jsx(zI,{className:"h-5 w-5"})})]}),f.jsx("nav",{className:"hidden items-center gap-7 md:flex",children:aT.map(o=>{const c=rT(o.href,e,t);return f.jsx("a",{href:o.href,"aria-current":c?"page":void 0,className:`nav-link text-base ${c?"is-active":""}`,children:o.label},o.href)})}),f.jsxs("div",{className:"hidden items-center gap-3 md:flex",children:[f.jsx("a",{href:iT,className:"nav-link text-sm font-semibold",children:"Sign in"}),f.jsx("a",{href:sT,className:"button-inverse px-4 py-2 text-sm font-semibold",children:"Get started"})]})]}),i&&f.jsx("div",{className:"mobile-nav-panel md:hidden",children:f.jsxs("div",{className:"surface-overlay rounded-[1.8rem] p-4",children:[f.jsx("nav",{className:"flex flex-col gap-2",children:aT.map(o=>{const c=rT(o.href,e,t);return f.jsx("a",{href:o.href,"aria-current":c?"page":void 0,className:`nav-tile surface-tile surface-tile-hover rounded-2xl px-4 py-3 text-base font-medium text-white/90 transition-colors ${c?"is-active":""}`,onClick:()=>s(!1),children:o.label},o.href)})}),f.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[f.jsx("a",{href:sT,className:"button-inverse w-full px-4 py-3 text-center text-sm font-semibold",onClick:()=>s(!1),children:"Get started"}),f.jsx("a",{href:iT,className:"surface-tile w-full rounded-2xl px-4 py-3 text-center text-sm font-semibold text-white/90",onClick:()=>s(!1),children:"Sign in"})]})]})})]})]})}const aB="https://pub-404c561e71774451b4b34f6b04535468.r2.dev/v1.0.3/TaskWhip_1.0.3_x64-setup.exe",iB="https://chromewebstore.google.com/detail/taskwhip/keljjgbpealmmlflbijcdgfdlinahfdo",sB="https://microsoftedge.microsoft.com/addons/detail/taskwhip/kmkpdfjdpjjmlmfligbphcflhdedbplh",rB=void 0,oB="mailto:[email protected]?subject=TaskWhip%20Android%20access%20request&body=I%27d%20like%20access%20to%20TaskWhip%20on%20Android.%20My%20Google%20account%20email%3A%20%5Bpaste%20here%5D",lB=void 0,zt={windowsDirectDownload:aB,chromeWebStore:iB,edgeAddons:sB,microsoftStore:rB,androidPlayBeta:lB,androidRequestMailto:oB},cB=!zt.chromeWebStore||!zt.edgeAddons||!zt.microsoftStore;function uB(){const[e,t]=w.useState("unknown");return w.useEffect(()=>{if(typeof navigator>"u")return;const i=(navigator.userAgent||"").toLowerCase(),s=typeof navigator.maxTouchPoints=="number"?navigator.maxTouchPoints:0,o=/macintosh/.test(i)&&s>1;/android/.test(i)?t("android"):/iphone|ipod|ipad/.test(i)||o?t("ios"):/windows|win32|win64/.test(i)?t("windows"):/macintosh|mac os x/.test(i)?t("macos"):/linux/.test(i)?t("linux"):t("unknown")},[]),e}const dB="v=3",In=e=>`/brands/${e}?${dB}`,Mc=!!zt.androidPlayBeta,Fp=[{key:"windows",logoFile:"windows.svg",tint:"rgba(0, 164, 239, 0.14)",name:"Windows desktop",description:"Tauri build with global hotkey, system tray, and offline capture buffer.",meta:"Signed installer · Windows 10+",status:"live",installedSource:"desktop-win",cta:{style:"store",logo:In("windows.svg"),top:"Download for",bottom:"Windows",href:zt.windowsDirectDownload}},{key:"android",logoFile:"android.svg",tint:"rgba(61, 220, 132, 0.14)",name:"Android",description:Mc?"Voice capture with the share-to-TaskWhip handler and a quick-tile widget. Anyone can join the public beta on Google Play.":"Voice capture with the share-to-TaskWhip handler and a quick-tile widget. Email us with your Google account and we'll add you to the closed test.",meta:Mc?"Open beta · Android 9+":"Closed beta · Android 9+",status:Mc?"open-beta":"closed-beta",installedSource:"mobile-android",cta:Mc?{style:"google-play",top:"Join the beta on",bottom:"Google Play",href:zt.androidPlayBeta}:{style:"neutral",label:"Request access",href:zt.androidRequestMailto}},{key:"macos",logoFile:"apple.svg",tint:"rgba(255, 255, 255, 0.10)",name:"macOS desktop",description:"Menu-bar capture and Spotlight-style hotkey for Mac.",meta:"In development",status:"coming-soon",installedSource:"desktop-mac",cta:{style:"neutral",label:"Notify me at launch"}},{key:"ios",logoFile:"apple.svg",tint:"rgba(255, 255, 255, 0.10)",name:"iPhone",description:"Voice-first capture on iPhone with Sign in with Apple.",meta:"Coming soon",status:"coming-soon",installedSource:"mobile-ios",cta:{style:"neutral",label:"Notify me at launch"}}],fB=new Set(["live","open-beta","closed-beta"]),Wp=e=>fB.has(e),hB={windows:"Windows",macos:"macOS",android:"Android",ios:"iPhone",linux:"Linux",unknown:""};function pB({installed:e,className:t}){const i=uB(),s=e?.has("extension")??!1,o=Fp.filter(u=>Wp(u.status)),c=Fp.filter(u=>!Wp(u.status));return f.jsxs("div",{className:`flex flex-col gap-6 ${t??""}`,children:[cB&&f.jsxs("div",{className:"portal-card rounded-2xl p-4 flex items-start gap-3 border border-[rgba(232,169,75,0.32)]",children:[f.jsx("span",{className:"shrink-0 w-9 h-9 rounded-lg bg-[rgba(232,169,75,0.16)] border border-[rgba(232,169,75,0.32)] text-warning-text flex items-center justify-center",children:f.jsx(DI,{size:16})}),f.jsxs("div",{className:"flex-1 min-w-0",children:[f.jsx("div",{className:"text-sm font-semibold text-ink",children:"Available today vs. coming soon"}),f.jsx("p",{className:"text-[12px] text-muted leading-snug mt-0.5",children:"Chrome, Edge, and Brave extensions are live. The Windows desktop app is available as a signed direct download. Microsoft Store, macOS, and iPhone are coming soon. Android is in beta."})]})]}),f.jsx(gB,{platform:i}),f.jsxs("section",{children:[f.jsx(oT,{title:"Available now",tone:"live"}),f.jsxs("div",{className:"flex flex-col gap-4",children:[f.jsxs("div",{children:[f.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-3 px-1",children:[f.jsx("h3",{className:"text-sm font-semibold text-ink",children:"Browser extensions"}),s?f.jsxs("span",{className:"inline-flex items-center gap-1 text-[10px] uppercase tracking-wider font-bold px-2 py-0.5 rounded bg-success-soft border border-success-outline text-success-text",children:[f.jsx(ig,{size:10})," Extension active in your browser"]}):null]}),f.jsx(yB,{})]}),o.length>0&&f.jsx("div",{className:"portal-card rounded-2xl overflow-hidden",children:o.map((u,p)=>f.jsxs("div",{children:[p>0&&f.jsx(lT,{}),f.jsx(cT,{surface:u,installed:e?.has(u.installedSource??"")??!1})]},u.key))})]})]}),c.length>0&&f.jsxs("section",{children:[f.jsx(oT,{title:"Coming soon",tone:"muted"}),f.jsx("div",{className:"portal-card rounded-2xl overflow-hidden opacity-90",children:c.map((u,p)=>f.jsxs("div",{children:[p>0&&f.jsx(lT,{}),f.jsx(cT,{surface:u,installed:e?.has(u.installedSource??"")??!1})]},u.key))})]})]})}function mB(e){if(e==="linux"||e==="unknown")return e==="unknown"?null:{name:"Browser extension",platformLabel:"your browser",logoFile:"chrome.svg",tint:"rgba(66, 133, 244, 0.16)",status:zt.chromeWebStore?"live":"in-review",blurb
31:"Capture from any tab. Works in Chrome, Edge, and Brave.",cta:{style:"store",logo:In("chrome.svg"),top:"Add to",bottom:"Chrome",href:zt.chromeWebStore}};const t={windows:"windows",macos:"macos",android:"android",ios:"ios"},i=Fp.find(s=>s.key===t[e]);return i?{name:i.name,platformLabel:hB[e],logoFile:i.logoFile,tint:i.tint,status:i.status,blurb:i.description,cta:i.cta}:null}function gB({platform:e}){const t=mB(e);if(!t)return null;const i=Wp(t.status);return f.jsxs("div",{className:"portal-card rounded-2xl p-5 md:p-6 border border-[rgba(124,92,255,0.28)]",children:[f.jsx("div",{className:"text-[11px] uppercase tracking-wider text-purple-mid font-bold",children:i?"Recommended for your device":"Coming soon for your device"}),f.jsxs("div",{className:"mt-3 flex flex-col md:flex-row md:items-center gap-4 md:gap-6",children:[f.jsx("span",{className:"shrink-0 w-14 h-14 rounded-2xl flex items-center justify-center border border-[rgba(255,255,255,0.06)]",style:{background:t.tint},children:f.jsx("img",{src:In(t.logoFile),alt:"",className:"w-9 h-9","aria-hidden":"true"})}),f.jsxs("div",{className:"flex-1 min-w-0",children:[f.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[f.jsx("h3",{className:"text-lg font-bold text-ink",children:t.name}),f.jsx(sg,{status:t.status})]}),f.jsx("p",{className:"text-sm text-muted mt-1 leading-snug",children:t.blurb})]}),f.jsx("div",{className:"md:shrink-0 md:max-w-65 w-full md:w-auto",children:f.jsx(yw,{cta:t.cta})})]})]})}function oT({title:e,tone:t}){const i=t==="live"?"text-purple-mid":"text-muted";return f.jsx("header",{className:"mb-4 px-1",children:f.jsx("h2",{className:`text-xl md:text-2xl font-extrabold uppercase tracking-[0.06em] ${i} font-['Space_Grotesk']`,children:e})})}function lT(){return f.jsx("div",{className:"h-px bg-[rgba(255,255,255,0.05)]"})}function yB(){const e=zt.chromeWebStore?"live":"in-review",t=zt.edgeAddons?"live":"in-review";return f.jsx("div",{className:"portal-card rounded-2xl p-5 md:p-6",children:f.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[f.jsx(Wh,{logo:In("chrome.svg"),tint:"rgba(66, 133, 244, 0.16)",name:"Chrome",note:"Manifest V3 · Chrome Web Store",status:e,cta:{logo:In("chrome.svg"),top:"Add to",bottom:"Chrome",href:zt.chromeWebStore}}),f.jsx(Wh,{logo:In("edge.svg"),tint:"rgba(15, 108, 189, 0.16)",name:"Edge",note:"Manifest V3 · Edge Add-ons",status:t,cta:{logo:In("edge.svg"),top:"Get from",bottom:"Edge Add-ons",href:zt.edgeAddons}}),f.jsx(Wh,{logo:In("brave.svg"),tint:"rgba(251, 84, 43, 0.16)",name:"Brave",note:"Installs via Chrome Web Store · Brave 1.60+",status:e,cta:{logo:In("brave.svg"),top:"Add to",bottom:"Brave",href:zt.chromeWebStore}})]})})}function sg({status:e}){const t={live:{label:"Available now",bg:"rgba(61, 220, 132, 0.14)",border:"rgba(61, 220, 132, 0.36)",text:"rgb(120, 230, 168)",dot:"rgb(61, 220, 132)"},"open-beta":{label:"Open beta · anyone can join",bg:"rgba(61, 220, 132, 0.12)",border:"rgba(61, 220, 132, 0.32)",text:"rgb(120, 230, 168)",dot:"rgb(61, 220, 132)"},"in-review":{label:"In store review",bg:"rgba(232, 169, 75, 0.14)",border:"rgba(232, 169, 75, 0.36)",text:"rgb(245, 200, 124)",dot:"rgb(232, 169, 75)"},"closed-beta":{label:"Closed beta · by request",bg:"rgba(124, 92, 255, 0.16)",border:"rgba(124, 92, 255, 0.38)",text:"rgb(186, 168, 255)",dot:"rgb(146, 118, 255)"},"coming-soon":{label:"Coming soon",bg:"rgba(255, 255, 255, 0.06)",border:"rgba(255, 255, 255, 0.14)",text:"rgba(255, 255, 255, 0.65)",dot:"rgba(255, 255, 255, 0.45)"}}[e];return f.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide",style:{background:t.bg,borderColor:t.border,color:t.text},children:[f.jsx("span",{className:"inline-block w-1.5 h-1.5 rounded-full",style:{background:t.dot},"aria-hidden":"true"}),t.label]})}function Wh({logo:e,tint:t,name:i,note:s,status:o,cta:c}){return f.jsxs("div",{className:"flex flex-col items-center text-center gap-3 p-4 rounded-xl border border-[rgba(255,255,255,0.04)] bg-[rgba(255,255,255,0.02)]",children:[f.jsx("span",{className:"w-14 h-14 roun
31ded-2xl flex items-center justify-center border border-[rgba(255,255,255,0.06)]",style:{background:t},children:f.jsx("img",{src:e,alt:"",className:"w-9 h-9","aria-hidden":"true"})}),f.jsxs("div",{children:[f.jsx("h3",{className:"text-sm font-semibold text-ink",children:i}),f.jsx("p",{className:"text-[11px] text-muted mt-1",children:s}),f.jsx("div",{className:"mt-1.5 flex justify-center",children:f.jsx(sg,{status:o})})]}),f.jsx(Yp,{ariaLabel:`${c.top} ${c.bottom}`,logo:c.logo,topText:c.top,bottomText:c.bottom,href:c.href,compact:!0})]})}function cT({surface:e,installed:t}){return f.jsxs("div",{className:"flex flex-col md:flex-row md:items-center gap-4 md:gap-6 p-5 md:p-6",children:[f.jsx("span",{className:"shrink-0 w-14 h-14 rounded-2xl flex items-center justify-center border border-[rgba(255,255,255,0.06)]",style:{background:e.tint},children:f.jsx("img",{src:In(e.logoFile),alt:"",className:"w-9 h-9","aria-hidden":"true"})}),f.jsxs("div",{className:"flex-1 min-w-0",children:[f.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[f.jsx("h3",{className:"text-base font-semibold text-ink",children:e.name}),f.jsx(sg,{status:e.status}),t?f.jsxs("span",{className:"inline-flex items-center gap-1 text-[10px] uppercase tracking-wider font-bold px-2 py-0.5 rounded bg-success-soft border border-success-outline text-success-text",children:[f.jsx(ig,{size:10})," Installed"]}):null]}),f.jsx("p",{className:"text-sm text-muted mt-1 leading-snug",children:e.description}),f.jsx("div",{className:"text-[11px] text-muted mt-1",children:e.meta})]}),f.jsx("div",{className:"md:shrink-0 md:max-w-65 w-full md:w-auto",children:f.jsx(yw,{cta:e.cta})})]})}function yw({cta:e}){if(e.style==="store")return f.jsx(Yp,{ariaLabel:`${e.top} ${e.bottom}`,logo:e.logo,topText:e.top,bottomText:e.bottom,href:e.href});if(e.style==="google-play")return f.jsx(Yp,{ariaLabel:`${e.top} ${e.bottom}`,topText:e.top,bottomText:e.bottom,leadingIcon:f.jsx(vB,{className:"w-6 h-6"}),href:e.href});if(e.href){const i=/^https?:\/\//.test(e.href);return f.jsxs("a",{href:e.href,...i?{target:"_blank",rel:"noopener noreferrer"}:{},className:"opacity-95 hover:opacity-100 w-full inline-flex items-center justify-center gap-2 py-2.5 px-4 rounded-xl border border-border bg-[rgba(255,255,255,0.04)] text-ink-secondary text-sm font-semibold transition-colors",children:[e.label,f.jsx(Gp,{size:13})]})}const t=i=>i.preventDefault();return f.jsxs("button",{type:"button",onClick:t,"aria-disabled":!0,className:"cursor-not-allowed opacity-95 w-full inline-flex items-center justify-center gap-2 py-2.5 px-4 rounded-xl border border-border bg-[rgba(255,255,255,0.04)] text-ink-secondary text-sm font-semibold",children:[e.label,f.jsx(Gp,{size:13})]})}function Yp({ariaLabel:e,logo:t,leadingIcon:i,topText:s,bottomText:o,href:c,compact:u=!1}){const p=u?"py-2 px-3 gap-2":"py-2.5 px-4 gap-3",m=u?"w-5 h-5":"w-6 h-6",g=u?"text-[9px]":"text-[10px]",v=u?"text-xs":"text-sm",y=f.jsxs(f.Fragment,{children:[t?f.jsx("img",{src:t,alt:"",className:m,"aria-hidden":"true"}):i?f.jsx("span",{className:"shrink-0",children:i}):null,f.jsxs("span",{className:"flex flex-col items-start leading-tight min-w-0",children:[f.jsx("span",{className:`${g} tracking-tight text-white/70 font-medium truncate`,children:s}),f.jsx("span",{className:`${v} font-bold truncate`,children:o})]})]});if(c){const _=/^https?:\/\//.test(c),T=c.startsWith("/downloads/");return f.jsx("a",{href:c,"aria-label":e,..._?{target:"_blank",rel:"noopener noreferrer"}:{},...T?{download:""}:{},className:`opacity-95 hover:opacity-100 w-full inline-flex items-center justify-center ${p} rounded-xl bg-black text-white font-semibold border border-[rgba(255,255,255,0.12)] hover:border-[rgba(255,255,255,0.32)] transition-all`,children:y})}const x=_=>_.preventDefault();return f.jsx("button",{type:"button",onClick:x,"aria-disabled":!0,"aria-label":`${e} (coming soon)`,className:`cursor-not-allowed opacity-95 w-full inline-flex items-center justify-center ${p} rounded-xl bg-black text-white font-semibold border border-[rgba(255,255,255,0.12)] hover:border-[rgba(255,255,255,0.24)] transition-colors`,children:y})}function vB({className:e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",className:e,"aria-hidden":"true",children:[f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"gp-1",x1:"14",y1:"6",x2:"34",y2:"42",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{offset:"0",stopColor:"#00C7C0"}),f.jsx("stop",{offset:"1",stopColor:"#00A19A"})]}),f.jsxs("linearGradient",{id:"gp-2",x1:"14",y1:"6",x2:"34",y2:"20",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{offset:"0",stopColor:"#FFD740"}),f.jsx("stop",{offset:"1",stopColor:"#FFB300"})]}),f.jsxs("linearGradient",{id:"gp-3",x1:"14",y1:"42",x2:"38",y2:"20",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{offset:"0",stopColor:"#FF5252"}),f.jsx("stop",{offset:"1",stopColor:"#D32F2F"})]}),f.jsxs("linearGradient",{id:"gp-4",x1:"14",y1:"42",x2:"34",y2:"6",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{offset:"0",stopColor:"#1565C0"}),f.jsx("stop",{offset:"1",stopColor:"#42A5F5"})]})]}),f.jsx("path",{d:"M10 6v36l12-18z",fill:"url(#gp-4)"}),f.jsx("path",{d:"M10 6l24 12-12 6z",fill:"url(#gp-2)"}),f.jsx("path",{d:"M10 42l24-12-12-6z",fill:"url(#gp-3)"}),f.jsx("path",{d:"M22 24l12-6 4 2c2 1 2 3 0 4l-4 2-12-2z",fill:"url(#gp-1)"})]})}function bB(e=16){const[t,i]=w.useState({x:0,y:0}),s=w.useRef(0),o=w.useCallback(c=>{const u=Date.now();u-s.current<e||(s.current=u,i({x:c.clientX,y:c.clientY}))},[e]);return w.useEffect(()=>(window.addEventListener("mousemove",o),()=>window.removeEventListener("mousemove",o)),[o]),t}function To(e,t,i){return e+(t-e)*i}function uT(e){return e*e*(3-2*e)}function Dc(e,t){let i=(e|0)*374761393+(t|0)*668265263;return i=(i^i>>13)*1274126177|0,((i^i>>16)&2147483647)/2147483647}function xB(e,t){const i=Math.floor(e),s=Math.floor(t),o=uT(e-i),c=uT(t-s);return To(To(Dc(i,s),Dc(i+1,s),o),To(Dc(i,s+1),Dc(i+1,s+1),o),c)}function SB(e,t){let i=0,s=.5,o=1;for(let c=0;c<3;c++)i+=s*(xB(e*o,t*o)-.5),o*=2,s*=.5;return i}function TB(){const e=[];for(let t=0;t<50;t++)e.push({angle:Math.random()*Math.PI*2,radius:100+Math.random()*30,size:.8+Math.random()*1.8,speed:.1+Math.random()*.15,brightness:.5+Math.random()*.5,twinkleSpeed:1.5+Math.random()*2,twinkleOffset:Math.random()*Math.PI*2});for(let t=0;t<35;t++)e.push({angle:Math.random()*Math.PI*2,radius:135+Math.random()*55,size:.5+Math.random()*1.2,speed:.02+Math.random()*.05,brightness:.2+Math.random()*.35,twinkleSpeed:.8+Math.random()*1.5,twinkleOffset:Math.random()*Math.PI*2});return e}const Oi=400,Yh=88;function _B({mouseX:e,mouseY:t}){const i=w.useRef(null),s=w.useRef(null),o=w.useRef(0),c=w.useRef(0),u=w.useRef(TB()),p=w.useRef(0),m=w.useRef({x:e,y:t}),[g,v]=w.useState(Oi);m.current={x:e,y:t},w.useEffect(()=>{const T=i.current;if(!T)return;const j=()=>{const A=T.getBoundingClientRect().width;!Number.isFinite(A)||A<=0||v(Math.min(Oi,Math.floor(A)))};if(j(),typeof ResizeObserver<"u"){const A=new ResizeObserver(()=>j());return A.observe(T),()=>A.disconnect()}
31return window.addEventListener("resize",j),()=>window.removeEventListener("resize",j)},[]);const y=w.useCallback((T,j,A)=>{const R=j/2,M=A/2,I=c.current,W=s.current;if(W){const E=m.current.x,z=m.current.y;if(E!=null&&z!=null){const Y=W.getBoundingClientRect(),Q=Y.left+Y.width/2,le=Y.top+Y.height/2,re=E-Q,de=z-le,Le=Math.sqrt(re*re+de*de),Me=Math.max(0,1-Le/400);p.current=To(p.current,Me*Me,.06)}else p.current=To(p.current,0,.03)}const V=p.current;T.clearRect(0,0,j,A);const ee=1+Math.sin(I*.7)*(.01+V*.02),H=185+V*12,X=T.createRadialGradient(R,M,0,R,M,H);X.addColorStop(0,`rgba(124,58,237,${.18+V*.12})`),X.addColorStop(.35,`rgba(99,102,241,${.09+V*.06})`),X.addColorStop(.65,`rgba(79,70,229,${.03+V*.02})`),X.addColorStop(1,"rgba(79,70,229,0)"),T.fillStyle=X,T.beginPath(),T.arc(R,M,H,0,Math.PI*2),T.fill();const fe=132,J=T.createRadialGradient(R,M,0,R,M,fe);J.addColorStop(0,`rgba(139,92,246,${.18+V*.1})`),J.addColorStop(.5,`rgba(99,102,241,${.07+V*.04})`),J.addColorStop(1,"rgba(79,70,229,0)"),T.fillStyle=J,T.beginPath(),T.arc(R,M,fe,0,Math.PI*2),T.fill();for(let E=0;E<3;E++){const z=.15+V*.15,Y=(I*z+E*.33)%1,Q=Yh*ee+Y*90,le=Math.min(1,Y*5),re=1-Y,de=le*re*(.08+V*.15);de>.01&&(T.strokeStyle=`rgba(139,92,246,${de})`,T.lineWidth=1.5-Y*.8,T.beginPath(),T.arc(R,M,Q,0,Math.PI*2),T.stroke())}const ue=Yh*ee+20,Se=.08+V*.1;T.save(),T.strokeStyle=`rgba(167,139,250,${Se})`,T.lineWidth=1,T.shadowColor="rgba(139,92,246,0.15)",T.shadowBlur=10,T.beginPath(),T.arc(R,M,ue,0,Math.PI*2),T.stroke(),T.restore();const ve=Yh*ee,he=.6+V*1.5,ge=.2+V*.15,U=I*.1,F=120;T.save(),T.beginPath();for(let E=0;E<=F;E++){const z=E/F*Math.PI*2,Y=Math.cos(z+U)*2.5,Q=Math.sin(z+U)*2.5,le=SB(Y+I*ge*.2,Q+I*ge*.2),re=ve+le*he*2,de=R+Math.cos(z)*re,Le=M+Math.sin(z)*re;E===0?T.moveTo(de,Le):T.lineTo(de,Le)}T.closePath();const $=T.createRadialGradient(R-ve*.28,M-ve*.28,ve*.05,R+ve*.05,M+ve*.05,ve*1.05);$.addColorStop(0,"rgba(210,218,255,0.93)"),$.addColorStop(.15,"rgba(167,139,250,0.92)"),$.addColorStop(.4,"rgba(99,102,241,0.95)"),$.addColorStop(.7,"rgba(79,70,229,0.93)"),$.addColorStop(1,"rgba(55,48,163,0.88)"),T.shadowColor=`rgba(99,102,241,${.3+V*.15})`,T.shadowBlur=30+V*20,T.fillStyle=$,T.fill(),T.globalAlpha=.15+V*.1,T.shadowBlur=45+V*15,T.fill(),T.globalAlpha=1,T.restore(),T.save(),T.globalAlpha=.1;const Z=T.createRadialGradient(R+ve*.3,M+ve*.3,ve*.5,R,M,ve*1.05);Z.addColorStop(0,"rgba(255,255,255,0)"),Z.addColorStop(.8,"rgba(255,255,255,0)"),Z.addColorStop(1,"rgba(255,255,255,0.35)"),T.fillStyle=Z,T.beginPath(),T.arc(R,M,ve,0,Math.PI*2),T.fill(),T.globalAlpha=1,T.restore(),T.save(),T.globalCompositeOperation="lighter";const se=u.current;for(const E of se){const Y=E.radius<128?.06+V*.2:.015+V*.06,Q=E.angle+I*Y*E.speed,le=.4+.6*Math.sin(I*E.twinkleSpeed+E.twinkleOffset),re=E.brightness*le*(.4+V*.3);if(re<.04)continue;const de=E.radius*ee*(1+V*.06),Le=R+Math.cos(Q)*de,Me=M+Math.sin(Q)*de*.87,an=E.size,fi="165,180,252";T.fillStyle=`rgba(${fi},${re*.2})`,T.beginPath(),T.arc(Le,Me,an*3.5,0,Math.PI*2),T.fill(),T.fillStyle=`rgba(${fi},${re})`,T.beginPath(),T.arc(Le,Me,an,0,Math.PI*2),T.fill(),an>1.3&&(T.fillStyle=`rgba(255,255,255,${re*.4})`,T.beginPath(),T.arc(Le,Me,an*.35,0,Math.PI*2),T.fill())}T.restore()},[]);w.useEffect(()=>{const T=s.current;if(!T)return;const j=window.devicePixelRatio||1,A=g/Oi;T.width=g*j,T.height=g*j,T.style.width=`${g}px`,T.style.height=`${g}px`;const R=T.getContext("2d");R.setTransform(j*A,0,0,j*A,0,0);let M=performance.now();const I=W=>{const V=(W-M)/1e3;M=W,c.current+=V,R.setTransform(j*A,0,0,j*A,0,0),y(R,Oi,Oi),o.current=requestAnimationFrame(I)};return o.current=requestAnimationFrame(I),()=>cancelAnimationFrame(o.current)},[y,g]);const x=g/Oi,_=Math.round(82*x);return f.jsxs(f.Fragment,{children:[f.jsx("style",{children:`
32        @keyframes hero-orb-float {
33          0%, 100% { transform: translateY(0px); }
34          50% { transform: translateY(-5px); }
35        }
36        @keyframes hero-orb-logo-glow {
37          0%, 100% {
38            filter:
39              brightness(1.7) saturate(0.78) contrast(1.08)
40              drop-shadow(0 0 3px rgba(255,255,255,0.88))
41              drop-shadow(0 0 10px rgba(255,255,255,0.36))
42              drop-shadow(0 0 20px rgba(167,139,250,0.34))
43              drop-shadow(0 0 34px rgba(124,58,237,0.2));
44          }
45          50% {
46            filter:
47              brightness(1.82) saturate(0.8) contrast(1.1)
48              drop-shadow(0 0 4px rgba(255,255,255,0.95))
49              drop-shadow(0 0 12px rgba(255,255,255,0.42))
50              drop-shadow(0 0 24px rgba(167,139,250,0.42))
51              drop-shadow(0 0 40px rgba(124,58,237,0.26));
52          }
53        }
54      `}),f.jsx("div",{ref:i,style:{width:"100%",maxWidth:`${Oi}px`,margin:"0 auto"},children:f.jsxs("div",{style:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:`${g}px`,height:`${g}px`,animation:"hero-orb-float 10s ease-in-out infinite"},children:[f.jsx("canvas",{ref:s,"aria-hidden":"true",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none"}}),f.jsx("img",{src:"/images/logo-transparent.png",alt:"TaskWhip",draggable:!1,style:{position:"relative",zIndex:10,width:`${_}px`,height:`${_}px`,pointerEvents:"none",userSelect:"none",objectFit:"contain",animation:"hero-orb-logo-glow 3s infinite ease-in-out",transform:`translate(${(1.2*x).toFixed(2)}px, ${(.9*x).toFixed(2)}px)`,opacity:.68,mixBlendMode:"screen"}})]})})]})}const EB=(e,t)=>{switch(e){case"up":return{x:0,y:t};case"down":return{x:0,y:-t};case"left":return{x:-t,y:0};case"right":return{x:t,y:0};default:return{x:0,y:t}}};function vt({children:e,direction:t="up",delay:i=0,duration:s=.6,distance:o=40,className:c,once:u=!0}){const p=w.useRef(null),m=gI(p,{once:u,margin:"-50px"}),g=EB(t,o);return f.jsx(fI.div,{ref:p,className:c,initial:{opacity:0,x:g.x,y:g.y},animate:m?{opacity:1,x:0,y:0}:{opacity:0,x:g.x,y:g.y},transition:{duration:s,delay:i,ease:"easeOut"},children:e})}function wB({children:e,className:t}){return f.jsx("div",{className:t,children:e})}const AB="https://app.taskwhip.com/signup";function NB(){const{x:e,y:t}=bB();return f.jsxs("section",{className:"hero-section px-1 sm:px-2","aria-labelledby":"hero-title",children:[f.jsx("div",{className:"hero-orb-shell hero-orb-offset","aria-hidden":"true",children:f.jsx(_B,{mouseX:e,mouseY:t})}),f.jsxs("div",{className:"hero-content space-y-5 sm:space-y-6",children:[f.jsx("p",{className:"section-kicker",children:"Voice capture for what's next"}),f.jsxs("h1",{id:"hero-title",className:"mx-auto max-w-[13ch] text-balance text-[2rem] font-bold leading-[1.02] sm:max-w-[11ch] sm:text-[3.25rem] sm:leading-[0.97] lg:max-w-none lg:text-[4.35rem] lg:leading-[0.93] xl:text-[4.75rem]",children:[f.jsx("span",{className:"gradient-accent-text block",children:"Turn your voice into"}),f.jsx("span",{className:"gradient-accent-text block lg:whitespace-nowrap",children:"structured work."})]}),f.jsxs(vt,{direction:"up",children:[f.jsx("div",{className:"hero-copy-stack mx-auto max-w-3xl",children:f.jsx("p",{className:"text-muted mx-auto max-w-2xl text-[1rem] leading-7 sm:text-[1.06rem] sm:leading-8",children:"Say 
54what needs to happen. TaskWhip pulls out the details and drops it into the tool you already use. Today that means tasks. Calendar events are next."})}),f.jsx("div",{id:"download",className:"flex flex-col items-center gap-3 pt-4 scroll-mt-24",children:f.jsxs("div",{className:"mt-1 flex w-full max-w-xl flex-col items-center justify-center gap-3 sm:flex-row",children:[f.jsx("a",{href:AB,className:"button-primary w-full rounded-full px-8 py-3 text-base font-semibold sm:w-auto",children:"Get started for free"}),f.jsx("a",{href:"/downloads",className:"text-accent text-sm font-semibold underline-offset-4 hover:underline sm:w-auto",children:"See available apps"})]})})]})]})]})}const jB=[{number:1,title:"Open TaskWhip",description:"Use the Windows desktop app, browser extension, or native mobile app, then connect the task tool you already work in."},{number:2,title:"Say what needs to happen",description:"Click record and speak naturally, like “Remind me to review the proposal by Friday.”"},{number:3,title:"Review and send",description:"TaskWhip fills in the task details for you so you can check them quickly and send the task in one click."}];function CB(){return f.jsxs("section",{className:"max-w-4xl mx-auto",children:[f.jsxs(vt,{direction:"up",children:[f.jsx("p",{className:"section-kicker section-kicker-soft",children:"Workflow"}),f.jsx("h2",{className:"section-title section-title-quiet mt-3",children:"How It Works"}),f.jsx("p",{className:"section-copy mx-auto mb-7 mt-3 max-w-2xl sm:text-base",children:"You talk. TaskWhip turns that into a task. Then you send it where your team already tracks work."})]}),f.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-3 sm:gap-5",children:jB.map((e,t)=>f.jsx(vt,{direction:"up",delay:t*.15,children:f.jsxs("div",{className:"surface-card-minimal rounded-[1.35rem] p-5 text-center",children:[f.jsx("div",{className:"pill pill-accent mx-auto mb-3 flex h-10 w-10 justify-center rounded-full",children:f.jsx("span",{className:"text-accent text-lg font-bold",children:e.number})}),f.jsx("h3",{className:"mb-2 text-base font-bold",children:e.title}),f.jsx("p",{className:"text-subtle text-sm leading-6",children:e.description})]})},e.number))})]})}const RB={type:"ASANA",name:"Asana",logo:"asana-logo.svg",brandColor:"#f06a6a",containerName:"Project",containerNamePlural:"Projects",features:{quickContainers:!0,assignee:!0,subtasks:!0,searchRequired:!0},modalFields:["title","destination","startDate","dueDate","assignee","description","subtasks"]},kB={type:"NOTION",name:"Notion",logo:"notion-logo.svg",brandColor:"#000000",containerName:"Database",containerNamePlural:"Databases",features:{quickContainers:!1,assignee:!1,subtasks:!0,searchRequired:!0},modalFields:["title","destination","startDate","dueDate","description","subtasks"]},MB={type:"LINEAR",name:"Linear",logo:"linear-logo.svg",brandColor:"#5E6AD2",containerName:"Team",containerNamePlural:"Teams",features:{quickContainers:!1,assignee:!0,subtasks:!1,searchRequired:!1},modalFields:["title","destination","dueDate","assignee","description"]},DB={type:"CLICKUP",name:"ClickUp",logo:"clickup-logo.svg",brandColor:"#7B68EE",containerName:"List",containerNamePlural:"Lists",features:{quickContainers:!1,assignee:!0,subtasks:!0,searchRequired:!0},modalFields:["title","destination","dueDate","assignee","description","subtasks"]},OB={type:"TODOIST",name:"Todoist",logo:"todoist-logo.png",brandColor:"#E44332",containerName:"Project",containerNamePlural:"Projects",features:{quickContainers:!1,assignee:!1,subtasks:!0,searchRequired:!0},modalFields:["title","destination","dueDate","description","subtasks"]},LB={type:"TRELLO",name:"Trello",logo:"trello-logo.svg",brandColor:"#0079BF",containerName:"List",containerNamePlural:"Lists",features:{quickContainers:!1,assignee:!0,subtasks:!0,searchRequired:!0},modalFields:["title","destination","dueDate","assignee","description","subtasks"]},UB={type:"JIRA",name:"Jira",logo:"jira-logo.png",brandColor:"#0052CC",containerName:"Project",containerNamePlural:"Projects",features:{quickContainers:!1,assignee:!0,subtasks:!0,searchRequired:!0},modalFields:["title","destination","dueDate","assignee","description","subtasks"]},IB={type:"MONDAY",name:"Monday.com",logo:"monday-logo.svg",brandColor:"#FF3D57",containerName:"Board",containerNamePlural:"Boards",features:{quickContainers:!1,assignee:!0,subtasks:!0,searchRequired:!0},modalFields:["title","destination","dueDate","assignee","description","subtasks"]},BB={type:"WRIKE",name:"Wrike",logo:"wrike-logo.png",brandColor:"#08CF65",containerName:"Project",containerNamePlural:"Projects",features:{quickContainers:!1,assignee:!0,subtasks:!0,searchRequired:!0},modalFields:["title","destination","dueDate","assignee","description","subtasks"]},zB={ASANA:RB,NOTION:kB,LINEAR:MB,CLICKUP:DB,TODOIST:OB,TRELLO:LB,JIRA:UB,MONDAY:IB,WRIKE:BB},PB="https://script.google.com/macros/s/AKfycbzznWM4RNx-NtgBHUESLZ9EsdGAQu80qvcwdPW0WD0aOty9EJBxIwE23BvhIn0ZCRbl/exec",$h="tw_integration_vote";function VB({onClose:e,showToast:t,preselected:i,integrations:s}){const[o,c]=w.useState(new Set),[u,p]=w.useState(""),[m,g]=w.useState(""),[v,y]=w.useState(""),[x,_]=w.useState(!1),[T,j]=w.useState(!1),[A,R]=w.useState(()=>{if(typeof window>"u")return null;const V=localStorage.getItem($h);if(!V)return null;try{const ee=JSON.parse(V);return ee.confirmed?ee:null}catch{return null}}),M=o.has("Other");w.useEffect(()=>(i&&c(new Set([i])),document.body.style.overflow="hidden",()=>{document.body.style.overflow="auto"}),[i]);const I=w.useCallback(V=>{c(ee=>{const H=new Set(ee);return H.has(V)?H.delete(V):H.size<2?H.add(V):(j(!0),setTimeout(()=>j(!1),3e3)),H})},[]),W=async V=>{if(V.preventDefault(),v){t("Thanks for voting!","success"),e();return}const ee=localStorage.getItem($h);if(ee)try{const H=JSON.parse(ee);if(H.confirmed){R(H);return}}catch{}
54if(o.size!==0&&!(o.has("Other")&&!u.trim())){_(!0);try{const H=new AbortController,X=window.setTimeout(()=>H.abort(),1e4),fe=Array.from(o).map(ue=>ue==="Other"&&u.trim()?`Other: ${u.trim()}`:ue);await fetch(PB,{method:"POST",mode:"no-cors",headers:{"Content-Type":"text/plain;charset=utf-8"},body:JSON.stringify({integrations:fe,email:m||null,source:"taskwhip-landing-page"}),signal:H.signal,redirect:"follow"}),clearTimeout(X);const J={integrations:Array.from(o).map(ue=>ue==="Other"&&u.trim()?`Other: ${u.trim()}`:ue),timestamp:Date.now(),confirmed:!0};localStorage.setItem($h,JSON.stringify(J)),R(J),t("Thanks for voting! We'll prioritize based on community feedback.","success")}catch{t("Something went wrong. Please try again.","error")}finally{_(!1)}}};return f.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/78",onClick:V=>{V.target===V.currentTarget&&e()},children:f.jsxs("div",{className:"surface-overlay mx-4 max-h-[85vh] w-full max-w-md overflow-y-auto rounded-2xl p-6 sm:p-8",children:[f.jsxs("div",{className:"flex justify-between items-center mb-6",children:[f.jsx("h3",{className:"text-xl font-bold text-white",children:A?"Your vote is in":"Vote for our next integration"}),f.jsx("button",{onClick:e,className:"text-subtle hover:text-white text-2xl","aria-label":"Close vote modal",children:"×"})]}),A?f.jsxs("div",{className:"space-y-5",children:[f.jsxs("div",{className:"rounded-xl border border-success-outline bg-success-soft p-4 text-success-text",children:[f.jsxs("p",{className:"text-sm font-semibold mb-2",children:["Recorded on ",new Date(A.timestamp).toLocaleDateString(),"."]}),f.jsx("p",{className:"text-[13px] mb-2 opacity-90",children:"You voted for:"}),f.jsx("ul",{className:"list-disc pl-5 text-[13px] space-y-1",children:A.integrations.map(V=>f.jsx("li",{children:V},V))})]}),f.jsx("p",{className:"text-subtle text-[12.5px] leading-relaxed",children:"We tally votes weekly and prioritize the integrations the community asks for most. If you change your mind, contact us and we will update your vote."}),f.jsx("button",{type:"button",onClick:e,className:"button-primary w-full rounded-lg px-6 py-3",children:"Close"})]}):f.jsxs("form",{onSubmit:W,className:"space-y-6",children:[f.jsxs("div",{children:[f.jsx("p",{className:"text-subtle mb-4 text-sm",children:"Select up to 2 integrations you'd like us to build next:"}),f.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[s.map(V=>f.jsxs("label",{className:`flex items-center gap-3 p-3 rounded-lg border cursor-pointer transition-colors ${o.has(V.name)?"surface-selected":"surface-tile surface-tile-hover"}`,children:[f.jsx("input",{type:"checkbox",checked:o.has(V.name),onChange:()=>I(V.name),className:"form-checkbox h-4 w-4"}),f.jsx("img",{src:V.src,alt:"",className:"w-6 h-6"}),f.jsx("span",{className:"text-muted text-sm",children:V.name})]},V.name)),f.jsxs("label",{className:`flex items-center gap-3 p-3 rounded-lg border cursor-pointer transition-colors ${M?"surface-selected":"surface-tile surface-tile-hover"}`,children:[f.jsx("input",{type:"checkbox",checked:M,onChange:()=>{I("Other"),M&&p("")},className:"form-checkbox h-4 w-4"}),f.jsx("span",{className:"text-muted text-sm",children:"Other"})]})]}),M&&f.jsx("input",{type:"text",value:u,onChange:V=>p(V.target.value.slice(0,40)),placeholder:"e.g. Basecamp, Airtable...",className:"form-input mt-3 w-full rounded-lg px-4 py-2.5 text-sm",maxLength:40,autoFocus:!0}),T&&f.jsx("p",{className:"text-warning mt-3 text-center text-xs",children:"You can only select up to 2 integrations."})]}),f.jsxs("div",{children:[f.jsx("label",{htmlFor:"vote-email",className:"text-subtle mb-2 block text-sm",children:"Want launch updates for your pick? Add your email. Optional."}),f.jsx("input",{type:"email",id:"vote-email",value:m,onChange:V=>g(V.target.value),placeholder:"[email protected]",className:"form-input w-full rounded-lg px-4 py-3"}),f.jsx("p",{className:"text-subtle mt-2 text-xs leading-5",children:"Leave this blank if you only want to vote."})]}),f.jsx("input",{type:"text",value:v,onChange:V=>y(V.target.value),style:{position:"absolute",left:"-9999px",opacity:0,height:0,width:0,pointerEvents:"none"},tabIndex:-1,autoComplete:"off","aria-hidden":"true"}),f.jsx("button",{type:"submit",disabled:o.size===0||x||M&&!u.trim(),className:"button-primary w-full rounded-lg px-6 py-3",children:x?"Submitting...":"Submit Vote"})]})]})})}const HB={ASANA:"/images/asana.svg",NOTION:"/images/notion2.png",LINEAR:"/images/linear.
54svg",TODOIST:"/images/todoist.png",CLICKUP:"/images/clickup.svg",TRELLO:"/images/trello.svg",JIRA:"/images/Jira2.png",WRIKE:"/images/wrike.png"},qB=["ASANA","NOTION","LINEAR","TODOIST","CLICKUP","TRELLO","JIRA","WRIKE"];function GB(e,t){return{name:zB[e].name,src:HB[e],status:t}}const FB=qB.map(e=>GB(e,"Ready now")),dT=[{name:"Google Calendar",src:"/images/google-calendar.svg"},{name:"Outlook",src:"/images/outlook.svg"},{name:"HubSpot",src:"/images/hubspot.svg"},{name:"Salesforce",src:"/images/salesforce.svg"},{name:"Pipedrive",src:"/images/pipedrive.svg"}];function WB({showToast:e}){const[t,i]=w.useState(!1),[s,o]=w.useState(null);return f.jsxs("section",{id:"integrations",className:"max-w-4xl mx-auto",children:[f.jsx(vt,{direction:"up",children:f.jsxs("div",{className:"section-header-split mb-8 text-left",children:[f.jsxs("div",{children:[f.jsx("p",{className:"section-kicker section-kicker-soft",children:"Task systems"}),f.jsx("h2",{className:"section-title section-title-quiet mt-3",children:"Integrations"})]}),f.jsx("p",{className:"section-copy max-w-2xl sm:text-base",children:"TaskWhip sends spoken requests into the task systems and project management tools you already use every day."})]})}),f.jsx(vt,{direction:"up",children:f.jsx("div",{className:"surface-card integration-card rounded-[1.4rem] p-5 sm:p-6",children:f.jsxs("div",{className:"flex flex-col gap-5 text-left",children:[f.jsxs("h3",{className:"section-subtitle flex items-center gap-2",children:[f.jsx(ig,{className:"h-5 w-5 text-success","aria-hidden":"true"}),"Ready now"]}),f.jsx("div",{className:"integration-grid",children:FB.map(c=>f.jsxs("div",{className:"surface-tile integration-tile group",children:[f.jsx("img",{src:c.src,alt:"",loading:"lazy",decoding:"async",className:"integration-logo"}),f.jsx("span",{className:"text-muted text-sm font-semibold",children:c.name})]},c.name))}),f.jsxs("div",{className:"integration-request-panel",children:[f.jsxs("div",{className:"integration-request-copy",children:[f.jsx(ZI,{className:"text-accent-strong h-4 w-4 shrink-0","aria-hidden":"true"}),f.jsx("p",{children:"Need another destination? Vote for the next tool or tell us what your workflow needs."})]}),f.jsxs("div",{className:"integration-request-actions",children:[f.jsx("div",{className:"integration-request-icons","aria-hidden":"true",children:dT.slice(0,4).map(c=>f.jsx("span",{className:"integration-request-icon",children:f.jsx("img",{src:c.src,alt:"",loading:"lazy",decoding:"async"})},c.name))}),f.jsx("button",{onClick:()=>i(!0),className:"button-secondary rounded-full px-4 py-2 text-sm font-semibold",children:"Vote for a Tool"})]})]})]})})}),t&&f.jsx(VB,{onClose:()=>{i(!1),o(null)},showToast:e,preselected:s,integrations:dT})]})}const YB=[{icon:VI,title:"Desktop Mini HUD",description:"Shrink TaskWhip into an always-near capture orb that shows ready, review, processing, and task-created states."},{icon:nB,title:"Turbo Mode",description:"Skip the review step when speed matters and send captured voice or typed tasks directly to the selected destination."},{icon:II,title:"Quick review when you want it",description:"Check the title, due date, assignee, description, and subtasks before anything is created."},{icon:YI,title:"Saved destinations",description:"Keep primary integrations and saved projects, databases, boards, or lists ready so every capture knows where to go."},{icon:LI,title:"Global desktop shortcut",description:"Press Ctrl+Shift+Space to bring the Windows app back to capture without starting an unexpected recording."},{icon:gw,title:"Native mobile capture",description:"Capture by voice, type a quick task, receive shared text, and review history from the Android app. iPhone is coming soon."},{icon:XI,title:"Clear audio retention",description:"TaskWhip does not intentionally store voice recordings after transcription. Your transcripts and task history are kept in your account for 60 days, then automatically purged."}];function $B(){return f.jsxs("section",{id:"features",className:"max-w-6xl mx-auto",children:[f.jsxs(vt,{direction:"up",children:[f.jsx("p",{className:"section-kicker section-kicker-soft",children:"Product details"}),f.jsx("h2",{className:"section-title section-title-quiet mt-3",children:"Key Features"}),f.jsx("p",{className:"section-copy mx-auto mb-7 mt-3 max-w-2xl sm:text-base",children:"Capture from the browser, the Windows desktop, or your phone. Whichever way you reach for, the same task lands in the tool you already use."})]}),f.jsx("div",{className:"grid grid-cols-1 gap-4 text-left sm:grid-cols-2 lg:grid-cols-3 sm:gap-5",children:YB.map((e,t)=>f.jsx(vt,{direction:t%2===0?"left":"right",delay:t*.1,children:f.jsx("div",{className:"surface-card-minimal rounded-[1.35rem] p-5",children:f.jsxs("div",{className:"flex items-start gap-4",children:[f.jsx("div",{className:"pill pill-accent flex h-9 w-9 shrink-0 justify-center rounded-lg",children:f.jsx(e.icon,{className:"text-accent w-5 h-5"})}),f.jsxs("div",{children:[f.jsx("h3",{className:"mb-1 text-base font-bold",children:e.title}),f.jsx("p",{className:"text-subtle text-sm leading-6",children:e.description})]})]})})}
54,e.title))})]})}const XB="243341082";function KB(){const e=document.cookie.match(/(?:^|;\s*)hubspotutk=([^;]*)/);return e?e[1]:void 0}async function vw(e,t,i){const s=`https://api.hsforms.com/submissions/v3/integration/submit/${XB}/${e}`,o={pageUri:window.location.href,pageName:i},c=KB();c&&(o.hutk=c);const p=await fetch(s,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fields:t,context:o,legalConsentOptions:{consent:{consentToProcess:!0,text:"By submitting this form, I agree to receive marketing communications from TaskWhip. I can unsubscribe at any time."}}})});if(!p.ok){const m=await p.text().catch(()=>"");throw console.error("HubSpot submission error:",p.status,m),new Error(`Submission failed: ${p.status}`)}return p.json()}const QB="0fc7b644-4070-42c9-8ca2-aa184b6ff307";function ZB({showToast:e}){const[t,i]=w.useState(""),[s,o]=w.useState(""),[c,u]=w.useState(""),[p,m]=w.useState(!1),[g,v]=w.useState(""),[y,x]=w.useState(!1),_=async T=>{if(T.preventDefault(),!g){x(!0);try{await vw(QB,[{name:"firstname",value:t},{name:"lastname",value:s},{name:"email",value:c}],"TaskWhip - Newsletter Signup"),window.location.href="/thanks"}catch(j){console.error("Newsletter submission error:",j),e("Something went wrong. Please try again.","error")}finally{x(!1)}}};return f.jsxs("div",{id:"updates",className:"surface-card-strong max-w-2xl mx-auto mb-12 scroll-mt-24 rounded-4xl px-5 py-8 sm:px-8",children:[f.jsx("h3",{className:"text-accent mb-2 text-center text-xl font-bold",children:"Get product updates"}),f.jsx("p",{className:"text-subtle mb-2 text-center text-sm",children:"New integrations, voice improvements, and release notes. Roughly one email a month. No spam, and you can unsubscribe with one click."}),f.jsxs("form",{onSubmit:_,className:"space-y-4",children:[f.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center items-center",children:[f.jsx("input",{type:"text",required:!0,placeholder:"First Name",value:t,onChange:T=>i(T.target.value),className:"form-input w-full rounded-md px-4 py-3 sm:w-40"}),f.jsx("input",{type:"text",placeholder:"Last Name",value:s,onChange:T=>o(T.target.value),className:"form-input w-full rounded-md px-4 py-3 sm:w-40"}),f.jsx("input",{type:"email",required:!0,placeholder:"Email",value:c,onChange:T=>u(T.target.value),className:"form-input w-full rounded-md px-4 py-3 sm:w-56"}),f.jsx("button",{type:"submit",disabled:y||!p,className:"button-primary w-full rounded-md px-6 py-3 whitespace-nowrap sm:w-auto",children:y?"Subscribing...":"Subscribe"})]}),f.jsx("input",{type:"text",value:g,onChange:T=>v(T.target.value),className:"ohnohoney",tabIndex:-1,autoComplete:"off"}),f.jsxs("div",{className:"flex items-start gap-3 justify-center max-w-xl mx-auto",children:[f.jsx("input",{type:"checkbox",checked:p,onChange:T=>m(T.target.checked),id:"newsletter-consent",required:!0,className:"form-checkbox mt-1 h-4 w-4"}),f.jsx("label",{htmlFor:"newsletter-consent",className:"text-subtle text-xs leading-relaxed",children:"By submitting this form, I agree to receive emails from TaskWhip. I can unsubscribe at any time."})]})]})]})}const Oc="[email protected]";function Ta({showToast:e}){const t=()=>{typeof navigator>"u"||!navigator.clipboard?.writeText||navigator.clipboard.writeText(Oc).then(()=>e(`Copied ${Oc} to clipboard`,"success")).catch(()=>{})};return f.jsx("footer",{className:"mt-32 pb-12 w-full max-w-6xl mx-auto",children:f.jsxs("div",{className:"surface-divider border-t pt-12",children:[f.jsx(ZB,{showToast:e}),f.jsx("p",{className:"text-muted mb-4 text-center text-sm font-medium",children:"Voice to task in seconds."}),f.jsx("p",{className:"text-subtle mx-auto mb-8 max-w-2xl text-center text-sm leading-6",children:"TaskWhip helps teams speak a task once, review the details, and send it to the tool where the work needs to live."}),f.jsxs("div",{className:"text-muted flex flex-wrap justify-center gap-x-8 gap-y-4 text-sm font-medium",children:[f.jsx("a",{href:"/product",className:"hover:text-accent transition-colors",children:"Product"}),f.jsx("a",{href:"/pricing",className:"hover:text-accent transition-colors",children:"Pricing"}),f.jsx("a",{href:"/faq",className:"hover:text-accent transition-colors",children:"FAQ"}),f.jsx("a",{href:"/privacy",className:"hover:text-accent transition-colors",children:"Privacy Policy"}),f.jsx("a",{href:"/terms",className:"hover:text-accent transition-colors",children:"Terms of Use"}),f.jsx("a",{href:"/privacy#gdpr",className:"hover:text-accent transition-colors",children:"GDPR"}),f.jsx("a",{href:"/privacy#dpa",className:"hover:text-accent transition-colors",children:"Data Processing Agreement"}),f.jsx("a",{href:"/privacy#cookies",className:"hover:text-accent transition-colors",children:"Cookies"}),f.jsx("a",{href:"/contact",className:"hover:text-accent transition-colors",children:"Contact"}),f.jsx("a",{href:`mailto:${Oc}`,onClick:t,className:"hover:text-accent transition-colors",children:Oc})]}),f.jsx("p",{className:"text-subtle mt-8 text-center text-sm font-medium",children:"© 2026 TaskWhip. All rights reserved."})]})})}let JB=0;function _a(){const[e,t]=w.useState([]),i=w.useCallback((s,o="success")=>{const c=++JB;t(u=>[...u,{id:c,message:s,type:o}]),setTimeout(()=>{t(u=>u.filter(p=>p.id!==c))},5e3)},[]);return{toasts:e,showToast:i}}function Ea({toasts:e}){return f.jsx("div",{className:"fixed left-4 right-4 top-4 z-1000 flex flex-col gap-3 sm:left-auto sm:right-6 sm:top-6 sm:max-w-100",children:e.map(t=>f.jsxs("div",{className:`toast-shell px-6 py-4 rounded-xl text-sm font-medium flex items-center gap-3 text-white animate-toast-slide-in ${t.type==="success"?"border-[rgba(49,196,141,0.28)] text-[#dcfff0]":"border-[rgba(226,109,124,0.3)] text-[#ffe3ea]"}`,children:[t.type==="success"?f.jsx("svg",{className:"w-5 h-5 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}):f.jsx("svg",{className:"w-5 h-5 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:f.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}),f.jsx("span",{children:t.message})]},t.id))})}const ez=w.lazy(()=>ME(()=>import("./ScreenshotCarousel-BLLPKcsh.js"),[])),tz=w.lazy(()=>ME(()=>import("./index-DLTFT78Z.js"),[]).then(e=>({default:e.ParticleField})));function nz(){return f.jsx("div",{className:"my-6 flex items-center justify-center sm:my-8",children:f.jsx("div",{className:"divider-line h-px w-full max-w-2xl"})})}function az(){const{toasts:e,showToast:t}=_a(),i=hI(),s=w.useMemo(()=>[{"@context":"https://schema.org","@type":"Organization",name:"TaskWhip",url:"https://taskwhip.com/",logo:"https://taskwhip.com/images/logo-black-text.png",contactPoint:[{"@type":"ContactPoint",email:"[email protected]",contactType:"customer support",availableLanguage:["English"]}]},{"@context":"https://schema.org","@type":"WebSite",name:"TaskWhip",url:"https://taskwhip.com/",de
54scription:"TaskWhip turns voice into structured tasks for Asana, Notion, Linear, Todoist, ClickUp, Trello, Jira, and Wrike. Calendar events coming next."},{"@context":"https://schema.org","@type":"SoftwareApplication",name:"TaskWhip",applicationCategory:"BusinessApplication",operatingSystem:"Chrome, Edge, Brave, Windows, Android",url:"https://taskwhip.com/",description:"Voice-to-task software that transcribes spoken requests and sends structured tasks to connected productivity apps.",offers:{"@type":"Offer",price:"0",priceCurrency:"USD"},featureList:["Voice transcription","AI task extraction","Desktop Mini HUD","Turbo Mode","Native mobile capture","Asana integration","Notion integration","Linear integration","Todoist integration","ClickUp integration","Trello integration","Jira integration","Wrike integration"]}],[]);return f.jsxs("div",{className:"page-shell",children:[f.jsx(xa,{title:"TaskWhip | Voice to Tasks for Asana, Linear, Notion, Jira, and More",description:"TaskWhip converts spoken requests into structured tasks from browser, Windows desktop, and native mobile apps for Asana, Notion, Linear, Todoist, ClickUp, Trello, Jira, and Wrike.",path:"/",structuredData:s}),!i&&f.jsx(w.Suspense,{fallback:null,children:f.jsx("div",{className:"fixed inset-0 z-0 pointer-events-none hidden lg:block",children:f.jsx(tz,{particleCount:90,linkDistance:220,opacity:.25,speed:.4})})}),f.jsx(Ea,{toasts:e}),f.jsx(Sa,{}),f.jsxs("main",{id:"main-content",className:"relative z-10 max-w-6xl w-full mx-auto text-center",children:[f.jsx("div",{className:"hero-stage",children:f.jsx("div",{className:"relative z-10",children:f.jsx(NB,{})})}),f.jsxs("div",{className:"mt-6 space-y-10 sm:mt-8 sm:space-y-12",children:[f.jsx(WB,{showToast:t}),f.jsx(nz,{}),f.jsx(w.Suspense,{fallback:f.jsx("div",{className:"h-24"}),children:f.jsx(ez,{})}),f.jsx(CB,{}),f.jsx($B,{})]}),f.jsx(Ta,{showToast:t})]})]})}const iz="2d2f7d6e-94ba-4068-a0d2-32f45c0ac0b9";function sz(){const{toasts:e,showToast:t}=_a(),[i,s]=w.useState(""),[o,c]=w.useState(""),[u,p]=w.useState(""),[m,g]=w.useState(""),[v,y]=w.useState(!1),[x,_]=w.useState(""),[T,j]=w.useState(!1),A=async M=>{if(M.preventDefault(),!x){j(!0);try{await vw(iz,[{name:"firstname",value:i},{name:"lastname",value:o},{name:"email",value:u},{name:"message",value:m}],"TaskWhip - Contact Form"),window.location.href="/thanks"}catch(I){console.error("Contact form submission error:",I),t("Something went wrong. Please try again.","error")}finally{j(!1)}}},R="form-input w-full rounded-lg px-4 py-3";return f.jsxs("div",{className:"page-shell",children:[f.jsx(xa,{title:"Contact TaskWhip",description:"Contact TaskWhip for support, feedback, partnership requests, or integration suggestions.",path:"/contact"}),f.jsx(Ea,{toasts:e}),f.jsx(Sa,{}),f.jsxs("main",{id:"main-content",className:"max-w-xl w-full mx-auto py-20",children:[f.jsx("h1",{className:"text-accent mb-4 text-center text-4xl font-bold",children:"Contact Us"}),f.jsx("p",{className:"text-subtle mb-10 text-center",children:"Have questions, feedback, or feature requests? We'd love to hear from you."}),f.jsxs("form",{onSubmit:A,className:"space-y-5",children:[f.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[f.jsxs("div",{children:[f.jsxs("label",{htmlFor:"contact-firstname",className:"text-muted mb-1.5 block text-sm",children:["First Name ",f.jsx("span",{className:"text-red-400",children:"*"})]}),f.jsx("input",{id:"contact-firstname",type:"text",required:!0,placeholder:"John",value:i,onChange:M=>s(M.target.value),className:R})]}),f.jsxs("div",{children:[f.jsx("label",{htmlFor:"contact-lastname",className:"text-muted mb-1.5 block text-sm",children:"Last Name"}),f.jsx("input",{id:"contact-lastname",type:"text",placeholder:"Doe",value:o,onChange:M=>c(M.target.value),className:R})]})]}),f.jsxs("div",{children:[f.jsxs("label",{htmlFor:"contact-email",className:"text-muted mb-1.5 block text-sm",children:["Email ",f.jsx("span",{className:"text-red-400",children:"*"})]}),f.jsx("input",{id:"contact-email",type:"email",required:!0,placeholder:"[email protected]",value:u,onChange:M=>p(M.target.value),className:R})]}),f.jsxs("div",{children:[f.jsxs("label",{htmlFor:"contact-message",className:"text-muted mb-1.5 block text-sm",children:["Message ",f.jsx("span",{className:"text-red-400",children:"*"})]}),f.jsx("textarea",{id:"contact-message",required:!0,rows:5,placeholder:"Tell us what's on your mind...",value:m,onChange:M=>g(M.target.value),className:`${R} resize-none`})]}),f.jsx("input",{type:"text",value:x,onChange:M=>_(M.target.value),className:"ohnohoney",tabIndex:-1,autoComplete:"off"}),f.jsxs("div",{className:"flex items-start gap-3",children:[f.jsx("input",{type:"checkbox",checked:v,onChange:M=>y(M.target.checked),id:"contact-consent",required:!0,className:"form-checkbox mt-1 h-4 w-4"}),f.jsx("label",{htmlFor:"contact-consent",className:"text-subtle text-xs leading-relaxed",children:"By 
54submitting this form, I agree to receive marketing communications from TaskWhip. I can unsubscribe at any time."})]}),f.jsx("button",{type:"submit",disabled:T||!v,className:"button-primary w-full rounded-lg px-6 py-3",children:T?"Sending...":"Send Message"})]}),f.jsxs("div",{className:"text-subtle mt-8 text-center text-xs",children:[f.jsx("p",{className:"mb-2",children:"Or email us directly at:"}),f.jsxs("div",{className:"inline-flex items-center gap-2",children:[f.jsx("a",{href:"mailto:[email protected]",className:"link-accent",children:"[email protected]"}),f.jsx("button",{type:"button",onClick:()=>{if(!navigator.clipboard){t("Clipboard not available in this browser.","error");return}navigator.clipboard.writeText("[email protected]").then(()=>t("Email copied to clipboard.","success")).catch(()=>t("Could not copy email.","error"))},className:"rounded-md border border-border px-2 py-0.5 text-[11px] font-semibold text-ink-secondary transition-colors hover:border-accent hover:text-white","aria-label":"Copy [email protected] to clipboard",children:"Copy"})]}),f.jsx("p",{className:"text-subtle/80 mt-2 text-[11px]",children:"Click the address to open your mail app, or use Copy if no mail client is set as default."})]})]}),f.jsx(Ta,{showToast:t})]})}const bw=[{question:"What does TaskWhip do?",answer:"TaskWhip turns spoken or typed requests into structured tasks. You capture from the browser extension, Windows desktop app, or native mobile app; TaskWhip extracts details like title, due date, priority, and assignee; then you review or use Turbo Mode to send directly."},{question:"Which apps does TaskWhip support?",answer:"TaskWhip supports Asana, Notion, Linear, Todoist, ClickUp, Trello, Jira, and Wrike. Calendar events are coming next. Other integrations on the roadmap will only be announced once they are actually shipping."},{question:"How does TaskWhip handle my voice recordings?",answer:"Audio is captured by the extension, desktop app, or mobile app and sent to our backend, which forwards it to OpenAI for transcription. TaskWhip does not intentionally store voice recordings after transcription completes. We do store the resulting transcript and parsed task fields in your account for 60 days so you can review prior activity, after which they are automatically purged. You can also delete an individual task record or your whole account at any time."},{question:"Does TaskWhip use my data to train AI models?",answer:"No. TaskWhip does not use your data to train its own AI models, and our OpenAI organization has training opt-out enabled, so OpenAI does not use API inputs or outputs to train their models either. OpenAI may briefly retain Whisper inputs (up to thirty days) for abuse monitoring before deletion, per their default API policy."},{question:"How much does TaskWhip cost?",answer:"There is a Free tier with ten lifetime whips, thirty-second recordings, and one connected integration. Pro is $10/month for two hundred whips per month, sixty-second recordings, and all integrations. Pro Plus is $25/month for six hundred whips per month with the same expanded limits. Annual billing is available at $100/yr for Pro and $250/yr for Pro Plus. See the pricing page for the full comparison."},{question:"Can I cancel anytime? What about refunds?",answer:"You can cancel from the account portal in one click. Paid plans remain active until the end of the period you have already paid for, then revert to Free at the next renewal date. Subscriptions are generally non-refundable except where required by law; annual plans are not refunded for unused months."},{question:"Is TaskWhip available on mobile?",answer:"Yes on Android. The native Android app sits alongside the Windows desktop app and the Chrome, Edge, and Brave browser extension. The iPhone app is coming soon."},{question:"How do I delete my account?",answer:"Open the account portal, expand the Danger Zone section, and choose Delete Account. The account is deactivated immediately and signs y
54ou out of every device. You have a fourteen-day grace window to recover by emailing [email protected]; after the grace window passes, your account, transcripts, integration tokens, and uploaded avatar are permanently purged."},{question:"What languages does transcription support?",answer:"TaskWhip uses OpenAI Whisper, which supports a wide range of languages with varying accuracy. English transcription is the most accurate; other major languages such as Spanish, French, German, Portuguese, Italian, Japanese, and Chinese are well supported. Heavily accented speech and very short clips can hurt accuracy regardless of language."},{question:"Where is my data hosted?",answer:"TaskWhip backend runs on Google Cloud Run in the United States. The primary database is Neon Postgres. Avatar images live in Google Cloud Storage. Transcription is performed by OpenAI. International users grant consent to processing in the United States and other countries when they sign up; see the privacy policy for the full processor list and data-handling details."}];function rz(){return f.jsxs("section",{"aria-labelledby":"faq-title",className:"mx-auto max-w-4xl text-left",children:[f.jsx(vt,{direction:"up",children:f.jsxs("div",{className:"mx-auto mb-8 max-w-2xl text-center",children:[f.jsx("p",{className:"section-kicker",children:"FAQ"}),f.jsx("h2",{id:"faq-title",className:"mt-3 text-3xl font-bold text-white sm:text-4xl",children:"Clear answers for search engines, AI tools, and humans"}),f.jsx("p",{className:"section-copy mt-4 sm:text-base",children:"TaskWhip's positioning is strongest when its capabilities, availability, and privacy model are explicit. This section makes that information easy to scan and easy to cite."})]})}),f.jsx("div",{className:"space-y-4",children:bw.map((e,t)=>{const i=`faq-summary-${t}`,s=`faq-panel-${t}`;return f.jsx(vt,{direction:"up",delay:t*.08,children:f.jsxs("details",{className:"surface-card-strong group rounded-3xl p-5",children:[f.jsxs("summary",{id:i,"aria-controls":s,className:"flex cursor-pointer list-none items-center justify-between gap-4 text-lg font-semibold text-white",children:[f.jsx("span",{children:e.question}),f.jsx(RI,{className:"text-accent-strong h-5 w-5 shrink-0 transition-transform duration-300 group-open:rotate-180","aria-hidden":"true"})]}),f.jsx("div",{id:s,role:"region","aria-labelledby":i,children:f.jsx("p",{className:"section-copy mt-4 leading-7 sm:text-base",children:e.answer})})]})},e.question)})})]})}function oz(){const{toasts:e,showToast:t}=_a(),i=[{"@context":"https://schema.org","@type":"FAQPage",mainEntity:bw.map(s=>({"@type":"Question",name:s.question,acceptedAnswer:{"@type":"Answer",text:s.answer}}))}];return f.jsxs("div",{className:"page-shell",children:[f.jsx(xa,{title:"TaskWhip FAQ",description:"Read common questions about TaskWhip, supported integrations, privacy, and product availability.",path:"/faq",structuredData:i}),f.jsx(Ea,{toasts:e}),f.jsx(Sa,{}),f.jsx("main",{id:"main-content",className:"mx-auto w-full max-w-5xl py-16 sm:py-20",children:f.jsx(rz,{})}),f.jsx(Ta,{showToast:t})]})}const lz="https://app.taskwhip.com/signup",cz=[{name:"Free",planSlug:"free",price:"$0",period:"",description:"Best for trying TaskWhip and capturing your first real tasks.",features:["10 lifetime voice captures","30-second recordings","Connect 1 integration"],cta:"Get started free",highlight:!1,cardClass:"pricing-card-free",btnClass:"button-secondary",titleColor:"text-accent"},{name:"Pro",planSlug:"pro",price:"$10",period:"/mo",description:"Best for regular solo use across your daily work tools.",features:["200 voice captures/month","60-second recordings","All available integrations","Priority support"],cta:"Get Pro",highlight:!0,cardClass:"pricing-card-pro",btnClass:"button-primary",titleColor:"text-accent"},{name:"Pro Plus",planSlug:"pro-plus",price:"$25",period:"/mo",description:"Best for heavier capture volume and power users.",features:["600 voice captures/month","60-second recordings","All available integrations","Priority support"],cta:"Get Pro Plus",highlight:!1,cardClass:"pricing-card-plus",btnClass:"button-primary",titleColor:"text-accent-strong"}
54],uz=[{question:"What counts as a whip?",answer:"A whip is one voice capture processed into a structured task."},{question:"Do unused whips roll over?",answer:"No. Monthly voice captures reset each billing cycle."},{question:"Are there overage charges?",answer:"No. You will never be charged surprise overages."}];function dz(){return f.jsxs("section",{id:"pricing",className:"pricing-section relative mx-auto max-w-5xl",children:[f.jsx("div",{className:"pricing-aurora","aria-hidden":"true"}),f.jsx(vt,{direction:"up",children:f.jsxs("p",{className:"text-muted mx-auto mb-10 max-w-xl text-center text-sm sm:mb-12",children:["One ",f.jsx("strong",{className:"text-accent",children:"whip"})," = one voice capture turned into a structured task."]})}),f.jsx("div",{className:"pricing-grid relative grid grid-cols-1 gap-6 text-left sm:grid-cols-3 sm:gap-5 sm:items-stretch lg:gap-6",children:cz.map((e,t)=>f.jsx(vt,{direction:"up",delay:t*.12,children:f.jsx(wB,{children:f.jsxs("div",{className:`pricing-card relative flex h-full flex-col rounded-[1.75rem] p-6 sm:p-7 ${e.cardClass}`,children:[e.highlight&&f.jsx("div",{className:"pricing-card-badge pill pill-accent absolute -top-3 left-1/2 -translate-x-1/2 px-3 py-1 text-[11px] font-bold uppercase tracking-[0.14em] text-white",children:"Most popular"}),f.jsxs("div",{className:"mb-6",children:[f.jsx("h3",{className:`text-xl font-bold ${e.titleColor}`,children:e.name}),f.jsx("p",{className:"text-subtle mt-1.5 text-[13px] leading-snug",children:e.description})]}),f.jsxs("p",{className:"text-white",children:[f.jsx("span",{className:"text-4xl font-bold tracking-tight sm:text-[2.6rem]",children:e.price}),e.period&&f.jsx("span",{className:"text-subtle ml-1 text-sm font-medium",children:e.period})]}),f.jsx("ul",{className:"text-muted mt-6 flex-1 space-y-2.5 text-[14px] leading-6",children:e.features.map(i=>f.jsxs("li",{className:"flex items-start gap-2.5",children:[f.jsx("span",{"aria-hidden":"true",className:"mt-2 h-1.5 w-1.5 shrink-0 rounded-full bg-accent"}),f.jsx("span",{children:i})]},i))}),f.jsx("a",{href:`${lz}?plan=${e.planSlug}`,className:`mt-7 block w-full rounded-xl px-6 py-3 text-sm font-semibold transition-colors ${e.btnClass}`,children:e.cta})]})})},e.name))}),f.jsx(vt,{direction:"up",children:f.jsx("p",{className:"text-subtle mx-auto mt-8 max-w-2xl text-center text-[13px] leading-6 sm:mt-10",children:"No credit card required for free access. No surprise overages. Manage or cancel from your billing portal anytime."})}),f.jsx(vt,{direction:"up",children:f.jsxs("div",{className:"mt-14 max-w-3xl mx-auto overflow-x-auto sm:mt-16",children:[f.jsx("h3",{className:"text-center text-xs font-semibold uppercase tracking-[0.2em] text-subtle mb-5",children:"Compare plans"}),f.jsxs("table",{className:"w-full text-left text-[13.5px] border-collapse",children:[f.jsx("caption",{className:"sr-only",children:"Feature comparison across Free, Pro, and Pro Plus plans"}),f.jsx("thead",{children:f.jsxs("tr",{className:"border-b border-[rgba(124,92,255,0.22)]",children:[f.jsx("th",{scope:"col",className:"py-3 pr-4 text-subtle font-medium",children:"Feature"}),f.jsx("th",{scope:"col",className:"py-3 px-3 text-center text-accent font-semibold",children:"Free"}),f.jsx("th",{scope:"col",className:"py-3 px-3 text-center text-accent font-semibold",children:"Pro"}),f.jsx("th",{scope:"col",className:"py-3 pl-3 text-center text-accent-strong font-semibold",children:"Pro Plus"})]})}),f.jsxs("tbody",{className:"text-muted",children:[f.jsxs("tr",{className:"border-b border-accent-soft-fill",children:[f.jsx("th",{scope:"row",className:"py-3 pr-4 font-normal text-left",children:"Voice captures per period"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"10 lifetime"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"200 / month"}),f.jsx("td",{className:"py-3 pl-3 text-center",children:"600 / month"})]}),f.jsxs("tr",{className:"border-b border-accent-soft-fill",children:[f.jsx("th",{scope:"row",className:"py-3 pr-4 font-normal text-left",children:"Max recording length"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"30 sec"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"60 sec"}),f.jsx("td",{className:"py-3 pl-3 text-center",children:"60 sec"})]}),f.jsxs("tr",{className:"border-b border-accent-soft-fill",children:[f.jsx("th",{scope:"row",className:"py-3 pr-4 font-normal text-left",children:"Integrations included"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"1 active"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"Yes"}),f.jsx("td",{className:"py-3 pl-3 text-center",children:"Yes"})]}),f.jsxs("tr",{className:"border-b border-accent-soft-fill",children:[f.jsx("th",{scope:"row",className:"py-3 pr-4 font-normal text-left",children:"Browser, desktop, and mobile apps"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"Yes"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"Yes"}),f.jsx("td",{className:"py-3 pl-3 text-center",children:"Yes"})]}),f.jsxs("tr",{className:"border-b border-accent-soft-fill",children:[f.jsx("th",{scope:"row",className:"py-3 pr-4 font-normal text-left",children:"Priority support"}),f.jsx("td",{className:"py-3 px-3 text-center text-subtle",children:"-"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"Yes"}),f.jsx("td",{className:"py-3 pl-3 text-center",children:"Yes"})]}),f.jsxs("tr",{className:"border-b border-accent-soft-fill",children:[f.jsx("th",{scope:"row",className:"py-3 pr-4 font-normal text-left",children:"Quota reset"}),f.jsx("td",{className:"py-3 px-3 text-center text-subtle",children:"No reset"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"Monthly"}),f.jsx("td",{className:"py-3 pl-3 text-center",children:"Monthly"})]}),f.jsxs("tr",{children:[f.jsx("th",{scope:"row",className:"py-3 pr-4 font-normal text-left",children:"Seats"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"Single user"}),f.jsx("td",{className:"py-3 px-3 text-center",children:"Single user"}),f.jsx("td",{className:"py-3 pl-3 text-center",children:"Single user"})]})]})]})]})}),f.jsx(vt,{direction:"up",children:f.jsx("div",{className:"mx-auto mt-12 grid max-w-3xl grid-cols-1 gap-3 sm:grid-cols-3 sm:gap-4",children:uz.map(e=>f.jsxs("div",{className:"surface-card-minimal rounded-2xl p-4",children:[f.jsx("p",{className:"text-ink text-sm font-semibold",children:e.question}),f.jsx("p",{className:"text-muted mt-1.5 text-[13px] leading-5",children:e.answer})]},e.question))})})]})}const fz=[{title:"No overage charges",body:"When you hit your monthly whip limit on a paid plan, recording is paused until your quota resets at the start of the next billing cycle. We never silently b
54ill you for extra usage."},{title:"Cancel anytime",body:"Cancel from the account portal in one click. Paid plans continue through the end of the period you have already paid for, then revert to Free. Annual plans are billed once for twelve months and are non-refundable for unused months."},{title:"Stripe billing",body:"All paid plans run through Stripe Checkout and the Stripe customer portal. We never see or store your card number. Receipts and invoice history live in Stripe."},{title:"Single-user today",body:"Every plan is single-user right now. A team plan with shared destinations and admin controls is on the roadmap. Tell us at the contact page if your team needs it sooner so we can prioritize."}];function hz(){const{toasts:e,showToast:t}=_a(),i=[{"@context":"https://schema.org","@type":"Product",name:"TaskWhip",description:"Voice-to-task software that transcribes spoken requests and sends structured tasks to connected productivity apps including Asana, Notion, Linear, Todoist, ClickUp, Trello, Jira, and Wrike.",brand:{"@type":"Brand",name:"TaskWhip"},offers:{"@type":"AggregateOffer",priceCurrency:"USD",lowPrice:"0",highPrice:"25",offerCount:3,offers:[{"@type":"Offer",name:"Free",price:"0",priceCurrency:"USD",url:"https://taskwhip.com/pricing",description:"10 lifetime whips, 30-second recordings, 1 connected integration."},{"@type":"Offer",name:"Pro",price:"10",priceCurrency:"USD",url:"https://taskwhip.com/pricing",description:"200 whips per month, 60-second recordings, all integrations. $100/yr annual."},{"@type":"Offer",name:"Pro Plus",price:"25",priceCurrency:"USD",url:"https://taskwhip.com/pricing",description:"600 whips per month, 60-second recordings, all integrations. $250/yr annual."}]}}];return f.jsxs("div",{className:"page-shell",children:[f.jsx(xa,{title:"Pricing | TaskWhip",description:"TaskWhip pricing plans: Free with 10 lifetime whips, Pro at $10/mo for 200 whips/month, and Pro Plus at $25/mo for 600 whips/month. Cancel anytime.",path:"/pricing",structuredData:i}),f.jsx(Ea,{toasts:e}),f.jsx(Sa,{}),f.jsxs("main",{id:"main-content",className:"relative z-10 mx-auto w-full max-w-6xl px-4 py-16 sm:py-20",children:[f.jsx(vt,{direction:"up",children:f.jsxs("div",{className:"mx-auto mb-10 max-w-3xl text-center sm:mb-14",children:[f.jsx("p",{className:"section-kicker",children:"Pricing"}),f.jsx("h1",{className:"gradient-accent-text mt-4 text-balance text-4xl font-bold leading-[1.05] sm:text-5xl",children:"Simple pricing for voice-powered work capture."}),f.jsx("p",{className:"section-copy mx-auto mt-5 max-w-2xl text-balance sm:text-base",children:"Start free, connect your first tool, and turn quick thoughts into structured tasks. Upgrade when you need more monthly captures, longer recordings, or access to every integration."})]})}),f.jsx(dz,{}),f.jsxs("section",{className:"mt-20","aria-labelledby":"pricing-billing-title",children:[f.jsx(vt,{direction:"up",children:f.jsxs("div",{className:"mx-auto mb-8 max-w-2xl text-center",children:[f.jsx("p",{className:"section-kicker",children:"Billing"}),f.jsx("h2",{id:"pricing-billing-title",className:"mt-3 text-2xl font-bold text-white sm:text-3xl",children:"What to expect at checkout"})]})}),f.jsx("div",{className:"mx-auto grid max-w-4xl grid-cols-1 gap-4 sm:grid-cols-2",children:fz.map((s,o)=>f.jsx(vt,{direction:"up",delay:o*.08,children:f.jsxs("div",{className:"surface-card border-soft rounded-2xl border p-5 h-full",children:[f.jsx("h3",{className:"text-accent-light mb-2 text-base font-semibold",children:s.title}),f.jsx("p",{className:"text-muted text-sm leading-6",children:s.body})]})},s.title))})]}),f.jsx("section",{className:"mt-16 text-center","aria-label":"Pricing questions",children:f.jsxs("p",{className:"text-subtle text-[13px]",children:["Questions about a plan?"," ",f.jsx("a",{href:"/contact",className:"link-accent",children:"Contact us"}),"."]})})]}),f.jsx(Ta,{showToast:t})]})}const pz=[{src:"/images/product-extension-recording.png",title:"Popup capture with Turbo",copy:"Record from Chrome, Edge, or Brave and toggle Turbo when you want to skip preview.",alt:"TaskWhip browser extension recording screen with Turbo Mode"},{src:"/images/product-extension-destination.png",title:"Route to saved destinations",copy:"Choose the right project, database, board, or list before the next capture.",alt:"TaskWhip browser extension destination picker"},{src:"/images/product-extension-review.png",title:"Quick review",copy:"Check the AI-filled task title, due date, description, and subtasks.",alt:"TaskWhip browser extension quick review modal"}],mz=[{src:"/images/product-desktop-ready.png",title:"Desktop capture with shortcut",copy:"Use Ctrl+Shift+Space to bring TaskWhip back to capture without starting a recording.",alt:"TaskWhip Windows desktop capture screen with Mini HUD button and Turbo Mode"},{src:"/images/product-desktop-destination.png",title:"Saved workspaces nearby",copy:"Pick saved destinations from the desktop app before sending work to your task tool.",alt:"TaskWhip Windows desktop destination picker"},{src:"/images/product-desktop-review.png",title:"Review before create",copy:"Edit generated task details, or let Turbo Mode send them automatically.",alt:"TaskWhip Windows desktop review modal"}],gz=[{src:"/images/product-mobile-native-signin.png",title:"Native mobile sign-in",copy:"Use the Android app when you are away from your desk. iPhone is coming soon.",alt:"TaskWhip native mobile sign-in screen"},{src:"/images/product-mobile-native-capture.png",title:"Voice and typed capture",copy:"Record by voice, type a quick task, or turn shared text into a draft.",alt:"TaskWhip native mobile capture screen with Turbo Mode"},{src:"/images/product-mobile-native-destination.png",title:"Change the destination",copy:"Pick a saved destination from the mobile bottom sheet before the next send.",alt:"TaskWhip native mobile destination picker"}];function Xh({eyebrow:e,title:t,copy:i,icon:s,surface:o,shots:c}){const[u,p]=w.useState(0),m=c[u],g=w.useCallback(()=>{p(y=>(y+1)%c.length)},[c.length]),v=w.useCallback(()=>{p(y=>(y-1+c.length)%c.length)},[c.length]);return f.jsxs("section",{className:`product-surface product-surface-${o}`,"aria-labelledby":`product-${o}-title`,children:[f.jsxs("div",{className:"product-surface-copy",children:[f.jsx("p",{className:"section-kicker section-kicker-soft",children:e}),f.jsxs("h2",{id:`product-${o}-title`,className:"product-surface-title",children:[f.jsx(s,{className:"h-5 w-5 text-accent-strong","aria-hidden":"true"}),t]}),f.jsx("p",{className:"section-copy mt-4",children:i}
54),f.jsxs("div",{className:"product-shot-copy","aria-live":"polite",children:[f.jsx("span",{children:m.title}),f.jsx("p",{children:m.copy})]}),f.jsxs("div",{className:"product-carousel-controls","aria-label":`${t} carousel controls`,children:[f.jsx("button",{type:"button",className:"product-carousel-arrow",onClick:v,"aria-label":`Previous ${t} screenshot`,children:f.jsx(NI,{className:"h-4 w-4","aria-hidden":"true"})}),f.jsxs("span",{className:"product-carousel-count",children:["Image ",u+1," of ",c.length]}),f.jsx("button",{type:"button",className:"product-carousel-arrow",onClick:g,"aria-label":`Next ${t} screenshot`,children:f.jsx(Gp,{className:"h-4 w-4","aria-hidden":"true"})})]})]}),f.jsxs("div",{className:"product-carousel-stage",children:[f.jsx("button",{type:"button",className:`product-carousel-image-button product-carousel-${o}`,onClick:g,"aria-label":`Next ${t} screenshot: ${m.title}`,children:f.jsx("img",{src:m.src,alt:m.alt,className:`product-carousel-image ${m.frame==="mini-hud"?"product-carousel-image-mini-hud":""}`,loading:"lazy",decoding:"async"})}),f.jsx("div",{className:"product-carousel-tabs",role:"tablist","aria-label":`${t} screenshots`,children:c.map((y,x)=>f.jsx("button",{type:"button",role:"tab","aria-selected":u===x,className:`product-carousel-tab ${u===x?"active":""}`,onClick:()=>p(x),children:y.title},y.src))})]})]})}function yz(){const{toasts:e,showToast:t}=_a(),i=w.useMemo(()=>({"@context":"https://schema.org","@type":"SoftwareApplication",name:"TaskWhip",applicationCategory:"BusinessApplication",operatingSystem:"Chrome, Edge, Brave, Windows, Android",url:"https://taskwhip.com/product",description:"TaskWhip provides browser extension, Windows desktop, and mobile surfaces for turning voice into structured tasks.",featureList:["Browser extension task capture","Windows desktop task capture","Native mobile task capture","Desktop Mini HUD","Turbo Mode auto-send","Global desktop capture shortcut","Saved task destinations","AI task extraction","Connected productivity app destinations"]}),[]);return f.jsxs("div",{className:"page-shell",children:[f.jsx(xa,{title:"TaskWhip Product | Browser, Desktop, and Mobile Capture",description:"See TaskWhip across the browser extension, Windows desktop app, and native mobile app for voice-to-task capture.",path:"/product",imagePath:"/images/product-desktop-ready.png",structuredData:i}),f.jsx(Ea,{toasts:e}),f.jsx(Sa,{}),f.jsxs("main",{id:"main-content",className:"relative z-10 mx-auto w-full max-w-6xl",children:[f.jsxs("section",{className:"product-hero","aria-labelledby":"product-title",children:[f.jsx("p",{className:"section-kicker",children:"Product"}),f.jsx("h1",{id:"product-title",className:"product-hero-title",children:"Three ways to capture tasks."}),f.jsx("p",{className:"section-copy product-hero-copy mx-auto text-center sm:text-base",children:"Use TaskWhip in the browser, on Windows desktop, or in the native mobile app without changing where your team tracks work."})]}),f.jsxs("div",{className:"product-surfaces",children:[f.jsx(Xh,{eyebrow:"Browser extension",title:"Chrome, Edge, and Brave",copy:"Use the extension for quick capture while you are already working in a browser.",icon:FI,surface:"extension",shots:pz}),f.jsx(Xh,{eyebrow:"Windows desktop",title:"HUD, hotkey, and full app",copy:"Use the desktop app for meetings, docs, messages, and other work that does not live in one browser tab.",icon:qI,surface:"desktop",shots:mz}),f.jsx(Xh,{eyebrow:"Native mobile",title:"Capture away from your desk",copy:"The Android app handles voice capture, typed capture, shared text, destinations, and task history. iPhone is coming soon.",icon:gw,surface:"mobile",shots:gz})]})]}),f.jsx(Ta,{showToast:t})]})}function vz(){const{toasts:e,showToast:t}=_a();return f.jsxs("div",{className:"page-shell",children:[f.jsx(xa,{title:"Privacy Policy | TaskWhip",description:"Read how TaskWhip collects, uses, protects, and deletes account, integration, and voice-processing data.",path:"/privacy"}),f.jsx(Ea,{toasts:e}),f.jsx(Sa,{}),f.jsx("main",{id:"main-content",className:"max-w-4xl w-full mx-auto py-16 sm:py-20",children:f.jsxs("article",{className:"legal-article roun
54ded-4xl p-6 text-left sm:p-10",children:[f.jsxs("div",{className:"mb-10 text-center",children:[f.jsx("p",{className:"section-kicker",children:"Legal"}),f.jsx("h1",{className:"text-accent-strong mt-3 text-4xl font-bold sm:text-5xl",children:"Privacy Policy"}),f.jsx("p",{className:"text-subtle mt-4 text-sm",children:"Last updated: April 25, 2026"})]}),f.jsxs("div",{className:"legal-copy space-y-8 sm:text-base",children:[f.jsx("p",{children:'TaskWhip ("TaskWhip", "we", "us", or "our") respects your privacy. This Privacy Policy describes how we collect, use, disclose, retain, and protect information when you use TaskWhip, including our browser extension, Windows desktop application, native mobile app, account portal, public website, and related services.'}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"1. Information We Collect"}),f.jsxs("div",{className:"space-y-2",children:[f.jsx("h3",{className:"legal-subheading text-lg font-semibold",children:"Account and Authentication Data"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Google OAuth:"})," If you sign in with Google, we receive basic profile information such as your email address, name, and profile picture. We do not request Gmail, Google Drive, or unrelated Google service access."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Email and password:"})," If you register with email, we store your email address and a securely hashed password."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Session data:"})," We process session tokens, refresh tokens, security events, and related metadata to keep your account secure."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Profile data:"})," If you upload an avatar, we store the image object in Google Cloud Storage and store the object reference in our database."]})]})]}),f.jsxs("div",{className:"space-y-2",children:[f.jsx("h3",{className:"legal-subheading text-lg font-semibold",children:"Integration Data"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"OAuth tokens:"})," When you connect TaskWhip to a supported integration, we securely store encrypted integration tokens on our servers so TaskWhip can create tasks in your workspace on your behalf."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Workspace information:"})," We store selected workspace, project, board, list, database, and connection metadata to display status and route tasks correctly."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Task content:"})," We process task titles, descriptions, due dates, assignees, subtasks, project selections, and similar details that you ask TaskWhip to create."]})]})]}),f.jsxs("div",{className:"space-y-2",children:[f.jsx("h3",{className:"legal-subheading text-lg font-semibold",children:"Voice, Transcript, and AI Data"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Audio recordings:"})," When you click the record button, audio is captured by the extension, desktop app, or mobile app and transmitted securely to our backend server for transcription."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Transcription and parsing:"})," Audio is sent to OpenAI for speech-to-text transcription, and transcript/task text may be sent to OpenAI for task-structure extraction."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Audio retention:"})," TaskWhip does not intentionally store voice recordings after transcription completes."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Transcript retention:"})," Transcripts, parsed task fields, and related task-history records are stored in your TaskWhip account for 60 days so you can review prior activity, after which they are automatically purged. You can also delete individual task records sooner from the account portal."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"AI training:"})," We do not use your data to train TaskWhip-owned AI models or sell it for model training. OpenAI processing is governed by OpenAI's API terms and data controls for our account."]})]})]}),f.jsxs("div",{className:"space-y-2",children:[f.jsx("h3",{className:"legal-subheading text-lg font-semibold",children:"Billing, Usage, and Support Data"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Billing:"})," We process Stripe customer IDs, subscription IDs, plan, billing cadence, invoice/payment events, and customer portal metadata. We do not store full card numbers."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Usage:"})," We process whip counts, quota limits, integration status, rate-limit events, and service diagnostics."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Support and forms:"})," If you contact us or subscribe to product updates, we process the information you submit, such as email, name, company, message, and form metadata."]})]})]}),f.jsxs("div",{className:"space-y-2",children:[f.jsx("h3",{className:"legal-subheading text-lg font-semibold",children:"Local Device Data"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Extension storage:"})," The browser extension stores session tokens and preferences locally to authenticate requests and restore settings."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Desktop storage:"})," The Windows desktop app stores sensitive auth tokens using Windows DPAPI when running inside Tauri. Uninstalling the desktop app removes the encrypted token blob."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Desktop auto-updates:"})," The desktop app periodically checks a TaskWhip-hosted release feed for new versions. Update payloads are cryptographically signed and verified before installation. The check sends the current app version and platform; no account data is transmitted as part of the update check."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Preferences:"})," Your selected integration, destination, transcription language, theme, and settings may be stored locally."]})]})]})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"2. How We Use Information"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsx("li",{children:"Authenticate you, maintain sessions, and protect accounts from abuse"}),f.jsx("li",{children:"Connect with your chosen productivity platforms and create tasks on your behalf"}),f.jsx("li",{children:"Transcribe voice recordings and parse transcripts into task details"}),f.jsx("li",{children:"Save task history, preferences, quotas, subscription state, and account settings"}),f.jsx("li",{children:"Provide billing, support, account notices, password resets, and email verification"}),f.jsx("li",{children:"Monitor reliability, prevent fraud or abuse, debug errors, and improve TaskWhip"}),f.jsx("li",{children:"Comply with legal, tax, security, and marketplace-review obligations"})]})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"3. Service Providers and Processors"}),f.jsx("p",{children:"We use service providers to operate TaskWhip. They may process information only for the purposes described here and in their applicable terms."}),f.jsx("div",{className:"border-soft overflow-hidden rounded-2xl border",children:f.jsxs("table",{className:"legal-table w-full border-collapse text-left text-sm",children:[f.jsx("thead",{className:"text-xs uppercase tracking-[0.18em]",children:f.jsxs("tr",{children:[f.jsx("th",{className:"px-4 py-3",children:"Provider"}),f.jsx("th",{className:"px-4 py-3",children:"Purpose"}),f.jsx("th",{className:"px-4 py-3",children:"Data categories"})]})}),f.jsxs("tbody",{children:[f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Neon/PostgreSQL"}),f.jsx("td",{className:"px-4 py-3",children:"Primary database"}),f.jsx("td",{className:"px-4 py-3",children:"Account, task history, integration metadata, billing state, usage data"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Google Cloud Run"}),f.jsx("td",{className:"px-4 py-3",children:"Backend hosting"}),f.jsx("td",{className:"px-4 py-3",children:"API requests, operational logs, service diagnostics"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Google Cloud Storage"}),f.jsx("td",{className:"px-4 py-3",children:"Avatar storage"}),f.jsx("td",{className:"px-4 py-3",children:"Uploaded profile images and object metadata"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Upstash Redis"}),f.jsx("td",{className:"px-4 py-3",children:"Rate limits and short-lived auth/security state"}),f.jsx("td",{className:"px-4 py-3",children:"Ephemeral counters, security payloads, short-lived workflow data"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"OpenAI"}),f.jsx("td",{className:"px-4 py-3",children:"Transcription and task parsing"}),f.jsx("td",{className:"px-4 py-3",children:"Audio, transcripts, task text, parsing context"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Stripe"}),f.jsx("td",{className:"px-4 py-3",children:"Payments, subscriptions, invoices, customer portal"}),f.jsx("td",{className:"px-4 py-3",children:"Billing contact details, payment metadata, subscription state"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Zoho SMTP or current SMTP provider"}),f.jsx("td",{className:"px-4 py-3",children:"Transactional email"}),f.jsx("td",{className:"px-4 py-3",children:"Email address, message metadata, verification/reset content"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Google OAuth"}),f.jsx("td",{className:"px-4 py-3",children:"Authentication"}),f.jsx("td",{className:"px-4 py-3",children:"Email, name, profile picture, OAuth tokens during sign-in"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Google Analytics 4"}),f.jsx("td",{className:"px-4 py-3",children:"Product analytics if enabled"}),f.jsx("td",{className:"px-4 py-3",children:"Usage events and pseudonymous analytics identifiers"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"HubSpot"}),f.jsx("td",{className:"px-4 py-3",children:"Newsletter and contact forms"}),f.jsx("td",{className:"px-4 py-3",children:"Submitted form fields, form metadata, marketing/contact preferences"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Cloudflare Pages and analytics, if active"}),f.jsx("td",{className:"px-4 py-3",children:"Public web hosting, performance, security, analytics"}),f.jsx("td",{className:"px-4 py-3",children:"Website requests, device/browser metadata, aggregate analytics"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Connected integrations"}),f.jsx("td",{className:"px-4 py-3",children:"Task creation in user-selected tools"}),f.jsx("td",{className:"px-4 py-3",children:"Task content, destination metadata, OAuth-authorized workspace data"})]})]})]})})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"4. What We Don't Do"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsx("li",{children:"We do not sell your personal data."}),f.jsx("li",{children:"We do not share your personal data with third parties for advertising."}),f.jsx("li",{children:"We do not intentionally store voice recordings after transcription."}),f.jsx("li",{children:"We do not access integration data beyond what is needed to connect, display status, and create requested tasks."}),f.jsx("li",{children:"We do not track your activity outside TaskWhip for advertising purposes."})]})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"5. Chrome Web Store Limited Use"}),f.jsx("p",{children:"The use of information received from Google APIs will adhere to the Chrome Web Store User Data Policy, including the Limited Use requirements."}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsx("li",{children:"We only use Google account information and other personal or sensitive data to provide TaskWhip's user-facing features, secure the service, support your account, and manage billing."}),f.jsx("li",{children:"We do not use or transfer this data for advertising, profiling, resale, credit decisions, or unrelated analytics."}),f.jsx("li",{children:"We do not allow humans to read your content except for limited support, security, or legal reasons, and only with consent or as otherwise permitted by law."})]})]}),f.jsxs("section",{id:"cookies",className:"space-y-4 scroll-mt-24",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"6. Cookies, Local Storage, and Analytics"}),f.jsx("p",{children:"TaskWhip uses strictly necessary cookies, tokens, and local-storage entr
54ies to keep you signed in, remember preferences, secure sessions, and operate the extension, desktop app, mobile app, and portal. We do not use third-party advertising cookies."}),f.jsx("p",{children:"The public website may use HubSpot forms for newsletter and contact pages. HubSpot may set cookies or similar technologies for form submission and contact management. If GA4 or Cloudflare analytics are enabled, they are used for non-advertising analytics, performance, reliability, and product improvement."}),f.jsx("p",{children:"You can control cookies and local storage through your browser settings. Signing out, clearing site data, or uninstalling the extension, desktop app, or mobile app removes local TaskWhip data from that device."})]}),f.jsxs("section",{id:"admin",className:"space-y-4 scroll-mt-24",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"7. Internal Access and Administrative Controls"}),f.jsx("p",{children:"A small number of authorized TaskWhip personnel may access account, billing, integration, and operational data to provide support, investigate security or abuse events, meet legal obligations, or operate the service. Administrative access is role-based, restricted to the minimum necessary for the task, and logged where feasible. We do not allow staff to read the contents of your tasks or transcripts for purposes unrelated to the operation of TaskWhip."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"8. Data Security"}),f.jsx("p",{children:"We use reasonable technical and organizational safeguards designed to protect TaskWhip data, including:"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsx("li",{children:"HTTPS for data in transit"}),f.jsx("li",{children:"Encryption for sensitive integration tokens before backend storage"}),f.jsx("li",{children:"Windows DPAPI-backed desktop token storage when running inside Tauri"}),f.jsx("li",{children:"Signed desktop installers and signed auto-update payloads verified by the app before installation"}),f.jsx("li",{children:"Optional two-factor authentication (TOTP) with recovery codes"}),f.jsx("li",{children:"Step-up authentication for sensitive actions such as email change and account deletion"}),f.jsx("li",{children:"Device session tracking with the ability to revoke individual sessions remotely"}),f.jsx("li",{children:"Rate limiting and abuse-prevention controls"}),f.jsx("li",{children:"Limited access to production systems and secrets"})]}),f.jsx("p",{children:"No internet service can guarantee perfect security, but we work to keep safeguards appropriate for the risk."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"9. Data Retention"}),f.jsx("div",{className:"border-soft overflow-hidden rounded-2xl border",children:f.jsxs("table",{className:"legal-table w-full border-collapse text-left text-sm",children:[f.jsx("thead",{className:"text-xs uppercase tracking-[0.18em]",children:f.jsxs("tr",{children:[f.jsx("th",{className:"px-4 py-3",children:"Data Type"}),f.jsx("th",{className:"px-4 py-3",children:"Retention"})]})}),f.jsxs("tbody",{children:[f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Audio recordings"}),f.jsx("td",{className:"px-4 py-3",children:"Not intentionally stored by TaskWhip after transcription completes"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Authentication tokens"}),f.jsx("td",{className:"px-4 py-3",children:"Until sign-out, token expiry, revocation, uninstall, or account deletion"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Integration tokens"}),f.jsx("td",{className:"px-4 py-3",children:"Until disconnect, revocation, or account deletion"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Transcripts, task history, and parsed fields"}),f.jsx("td",{className:"px-4 py-3",children:"60 days from creation, then automatically purged. Earlier on user request or account deleti
54on."})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Billing records"}),f.jsx("td",{className:"px-4 py-3",children:"As needed for subscriptions, tax, accounting, dispute, and legal obligations"})]}),f.jsxs("tr",{className:"border-soft border-t",children:[f.jsx("td",{className:"px-4 py-3",children:"Logs and security events"}),f.jsx("td",{className:"px-4 py-3",children:"For operational, security, debugging, and compliance needs according to platform retention settings"})]})]})]})})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"10. Your Rights and Choices"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Disconnect integrations:"})," Remove connected integrations from TaskWhip and revoke access in each provider's authorized-app settings."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Sign out:"})," Clear local session data from the current device, and revoke other active sessions from the account portal."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Delete account:"})," Request removal of your account from the portal. Deleted accounts enter a short grace period during which the action can be reversed; after that window the account and associated records are purged from active systems, subject to backup, log, billing, fraud-prevention, and legal-retention exceptions."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Access or correct data:"})," Contact us to request access, correction, export, or deletion where applicable law provides those rights."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Uninstall:"})," Remove the extension, desktop app, or mobile app to delete local data from that device."]})]})]}),f.jsxs("section",{id:"gdpr",className:"space-y-4 scroll-mt-24",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"11. GDPR and International Users"}),f.jsxs("p",{children:["If you live in the European Economic Area, the United Kingdom, or Switzerland, you may have rights to access, correct, port, restrict, delete, or object to processing of your personal data. You can exercise these rights by contacting"," ",f.jsx("a",{href:"mailto:[email protected]",className:"link-accent",children:"[email protected]"}),". The lawful bases we rely on include contract performance, legitimate interests, consent where required, and legal obligations."]}),f.jsx("p",{children:"TaskWhip and its providers may process data in the United States and other countries. Where required, we use appropriate transfer mechanisms for international data transfers."})]}),f.jsxs("section",{id:"ccpa",className:"space-y-4 scroll-mt-24",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"12. California Residents"}),f.jsx("p",{children:"If you are a California resident, the California Consumer Privacy Act, as amended by the California Privacy Rights Act, gives you additional rights regarding your personal information."}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Right to know:"})," request the categories and specific pieces of personal information we have collected about you and how we use and disclose it."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Right to delete:"})," request deletion of personal information we have collected, subject to legal exceptions."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Right to correct:"})," request correction of inaccurate personal information we maintain."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Right to limit use of sensitive personal information:"})," direct us to limit use of sensitive personal information to uses necessary to provide the service."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Right to non-discrimination:"})," we will not discriminate against you for exercising any of these rights."]})]}),f.jsx("p",{children:'We do not sell personal information and have not done so in the preceding twelve months. We do not share personal information for cross-context behavioral advertising. California residents may also request information about our disclosure of personal information for direct-marketing purposes under California Civil Code § 1798.83 ("Shine the Light").'}),f.jsxs("p",{children:["To exercise these rights, email"," ",f.jsx("a",{href:"mailto:[email protected]",className:"link-accent",children:"[email protected]"})," ","from the email address on your TaskWhip account. We may need to verify your identity before acting on a request and may decline requests that are unfounded or excessive as permitted by law. Authorized agents may 
54submit requests on your behalf with written authorization."]})]}),f.jsxs("section",{id:"dpa",className:"space-y-4 scroll-mt-24",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"13. Data Processing Agreement"}),f.jsxs("p",{children:["Customers who need a Data Processing Agreement can request one by emailing"," ",f.jsx("a",{href:"mailto:[email protected]",className:"link-accent",children:"[email protected]"})," ",'with the subject line "DPA request" and your billing email. Availability and turnaround depend on the customer relationship and review needs.']})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"14. Children's Privacy"}),f.jsx("p",{children:"TaskWhip is not intended for users under the age of 13. We do not knowingly collect information from children."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"15. Contact Us"}),f.jsx("p",{children:"For privacy questions or data requests, contact us at:"}),f.jsxs("p",{children:[f.jsx("strong",{children:"Email:"})," ",f.jsx("a",{href:"mailto:[email protected]",className:"link-accent",children:"[email protected]"})]})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"16. Changes to This Policy"}),f.jsx("p",{children:'We may update this Privacy Policy periodically. We will notify you of significant changes by updating the "Last updated" date. Continued use of TaskWhip after changes constitutes acceptance of the updated policy.'})]})]})]})}),f.jsx(Ta,{showToast:t})]})}function bz(){const{toasts:e,showToast:t}=_a();return f.jsxs("div",{className:"page-shell",children:[f.jsx(xa,{title:"Terms of Use | TaskWhip",description:"Read the TaskWhip terms covering access, subscriptions, integrations, acceptable use, and limitations of liability.",path:"/terms"}),f.jsx(Ea,{toasts:e}),f.jsx(Sa,{}),f.jsx("main",{id:"main-content",className:"max-w-4xl w-full mx-auto py-16 sm:py-20",children:f.jsxs("article",{className:"legal-article rounded-4xl p-6 text-left sm:p-10",children:[f.jsxs("div",{className:"mb-10 text-center",children:[f.jsx("p",{className:"section-kicker",children:"Legal"}),f.jsx("h1",{className:"text-accent-strong mt-3 text-4xl font-bold sm:text-5xl",children:"Terms of Use"}),f.jsx("p",{className:"text-subtle mt-4 text-sm",children:"Last updated: May 6, 2026"})]}),f.jsxs("div",{className:"legal-copy space-y-8 sm:text-base",children:[f.jsx("p",{children:'These Terms of Use ("Terms") govern your access to and use of TaskWhip, including our browser extension, Windows desktop application, native mobile app, account portal, public website, and related services (collectively, "TaskWhip", "we", "us", or "our").'}),f.jsx("p",{children:"By installing, accessing, or using TaskWhip, you agree to these Terms."}),f.jsxs("aside",{className:"rounded-2xl border border-amber-300/40 bg-amber-100/5 p-5 text-sm leading-relaxed",children:[f.jsx("p",{className:"font-semibold text-amber-200",children:"Please read carefully. These Terms include important provisions that affect your rights:"}),f.jsxs("ul",{className:"legal-list mt-3 list-disc space-y-2 text-amber-100/90",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Automatic renewal."})," Paid subscriptions renew automatically and your payment method will be charged on a recurring basis until you cancel. See Section 3."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Mandatory arbitration and class action waiver."})," Most disputes between you and TaskWhip must be resolved by individual binding arbitration, not in court, and you waive the right to participate in a class or representative action. You have ",f.jsx("strong",{children:"30 days from first acceptance of these Terms to opt out"})," of the arbitration provisions. See Section 15."]})]})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"1. Description of Service"}),f.jsx("p",{children:"TaskWhip lets users record voice input, transcribe it, convert it into structured task details using AI, and send tasks to connected productivity tools. TaskWhip is available through browser, desktop, web account, and related service surfaces."}),f.jsx("p",{children:"You agree to use TaskWhip only for lawful purposes and in accordance with these Terms."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"2. Account and Authentication"}
54),f.jsx("p",{children:"To use TaskWhip, you may need to:"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsx("li",{children:"Sign in with Google or create an account with email and password"}),f.jsx("li",{children:"Connect at least one supported integration"}),f.jsx("li",{children:"Grant microphone access when prompted for voice recording"}),f.jsx("li",{children:"Keep your account, device, and credentials secure"})]}),f.jsx("p",{children:"You are responsible for all activity under your account. Tell us promptly if you believe your account has been compromised."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"3. Plans, Subscriptions, and Billing"}),f.jsx("p",{children:"TaskWhip may offer free and paid plans with different usage limits and features. Current public examples include:"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Free Tier:"})," 10 lifetime whips, 30-second max recording, and 1 active integration"]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Pro Plan:"})," 200 whips per month, 60-second max recording, all integrations, and priority support"]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Pro Plus Plan:"})," 600 whips per month, 60-second max recording, all integrations, and priority support"]})]}),f.jsx("p",{children:"Paid subscriptions are processed by Stripe. Prices, billing cadence, taxes, trials, promotions, and included limits are shown at checkout or in the account portal and may vary by region or offer."}),f.jsxs("div",{className:"rounded-2xl border border-white/15 bg-white/5 p-5",children:[f.jsx("p",{className:"font-semibold text-white",children:"Automatic renewal and your consent"}),f.jsxs("p",{className:"mt-2",children:["When you start a paid subscription, you authorize TaskWhip and our payment processor (Stripe) to automatically charge your payment method on a recurring basis at the price and cadence shown at checkout (for example, monthly or annually) ",f.jsx("strong",{children:"until you cancel"}),". The renewal price, the renewal date, and the cancellation method are displayed at checkout and in the"," ",f.jsx("a",{href:"https://app.taskwhip.com/portal",className:"link-accent",children:"account portal"}),"."]}),f.jsx("p",{className:"mt-2",children:"You can cancel at any time, for any reason, through the account portal or the Stripe customer portal linked from your account. Unless checkout states otherwise, cancellation takes effect at the end of the current paid billing period; you keep access until then and you will not be charged again. No-questions-asked cancellation. We do not require you to call or email to cancel."}),f.jsx("p",{className:"mt-2",children:"For annual subscriptions, we will send a renewal reminder by email before the next charge where required by applicable law (for example, California Business and Professions Code section 17602)."})]}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Refunds:"})," Payments are generally non-refundable except where required by law or where we approve a refund in our discretion."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Taxes:"})," Prices may exclude taxes, duties, or similar charges unless stated otherwise. Stripe may calculate and collect applicable taxes."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Failed payments:"})," If payment fails, we may retry billing, reduce access, suspend paid features, or cancel the subscription."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Price changes:"})," We may change plan prices or features prospectively, with notice where required. Price changes will not take effect during a current paid billing period that you have already paid for."]})]})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"4. Desktop App License and Updates"}),f.jsx("p",{children:"Subject to these Terms, we grant you a limited, non-exclusive, non-transferable, revocable license to install and use the TaskWhip desktop application for your personal or internal business productivity purposes."}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsx("li",{children:"You may not redistribute, resell, sublicense, or make the desktop app available as a hosted service."}),f.jsx("li",{children:"You may not reverse engineer, decompile, disassemble, or bypass technical protections except where law expressly permits."}),f.jsx("li",{children:"Desktop availability may depend on supported Windows versions, WebView2, network access, and our backend service."}),f.jsx("li",{children:"The desktop app may receive updates, and older versions may stop working if needed for security, compatibility, or service integrity."}),f.jsx("li",{children:"The desktop app includes an auto-update mechanism that periodically checks a TaskWhip-hosted release feed and may download and install signed update payloads. By using the desktop app you consent to this update mechanism. You can decline a specific update prompt; we may still require updates for security or compatibility."}
54),f.jsx("li",{children:"Signed direct-download installers may still show first-download SmartScreen warnings while reputation develops."}),f.jsx("li",{children:'The desktop app includes open-source software listed at "Open-source licenses" in the app menu. Each component is governed by its own license terms, which apply alongside these Terms.'})]})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"5. Integrations"}),f.jsx("p",{children:"TaskWhip integrates with third-party productivity services using OAuth or similar authorization. By connecting an integration, you authorize TaskWhip to perform limited actions, such as reading workspace/project metadata and creating tasks, on your behalf."}),f.jsx("p",{children:"Third-party platforms are not controlled by TaskWhip. Their availability, features, API changes, data handling, and terms are their responsibility. You are responsible for complying with each connected platform's terms."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"6. User Content, AI, and Audio"}),f.jsx("p",{children:"You retain rights to the voice, transcript, and task content you submit. You grant TaskWhip permission to process that content as needed to provide, secure, support, and improve the service."}),f.jsx("p",{children:"AI transcription and task extraction can be inaccurate. You are responsible for reviewing task details before creating tasks, relying on task output, or sharing content with connected integrations."}),f.jsx("p",{children:"You agree not to submit audio or content that:"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsx("li",{children:"Violates law or third-party rights"}),f.jsx("li",{children:"Contains malware, secrets you are not authorized to share, or unlawful instructions"}),f.jsx("li",{children:"Harasses, abuses, or targets others in a way that violates applicable law"}),f.jsx("li",{children:"Attempts to bypass usage limits, safety controls, or integration restrictions"})]})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"7. Acceptable Use"}),f.jsx("p",{children:"You agree not to:"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsx("li",{children:"Use TaskWhip for illegal, harmful, fraudulent, or abusive activity"}),f.jsx("li",{children:"Access or attempt to access systems, accounts, data, or integrations without authorization"}),f.jsx("li",{children:"Interfere with, disrupt, overload, scrape, scan, or attack the service"}),f.jsx("li",{children:"Use bots, scripts, or automation to bypass product limits or abuse integrations"}),f.jsx("li",{children:"Share, resell, transfer, or pool individual accounts without permission"}),f.jsx("li",{children:"Remove proprietary notices or misrepresent TaskWhip as your own product"})]}),f.jsx("p",{children:"We may throttle, suspend, or terminate access to protect users, providers, integrations, or TaskWhip."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"8. Support and Availability"}),f.jsx("p",{children:'We work to keep TaskWhip reliable, but the service is provided without a guaranteed uptime, response time, or support service-level agreement unless we sign a separate written agreement with you. "Priority support" means we aim to review those requests before standard support requests; it does not guarantee a resolution time.'}),f.jsx("p",{children:"TaskWhip may be unavailable because of maintenance, outages, third-party provider downtime, API changes, security events, or circumstances outside our control."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"9. Privacy and Account Deletion"}),f.jsxs("p",{children:["Our"," ",f.jsx("a",{href:"/privacy",className:"link-accent",children:"Privacy Policy"})," ","explains how we collect, use, retain, and delete information. You can disconnect integrations, uninstall local apps, cancel subscriptions, and request account deleti
54on as described in the Privacy Policy."]}),f.jsx("p",{children:"Account deletion may not immediately remove data from backups, logs, billing records, fraud-prevention records, or information already sent to connected integrations."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"10. Termination"}),f.jsx("p",{children:"You may stop using TaskWhip at any time by uninstalling the application, disconnecting integrations, and canceling any paid subscription. We may suspend or terminate access if you violate these Terms, create risk for the service, fail to pay, or use TaskWhip in a way that could harm users, providers, or integrations."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"11. Disclaimers"}),f.jsx("p",{children:'TaskWhip is provided "as is" and "as available" without warranties of any kind, express, implied, or statutory, including warranties of merchantability, fitness for a particular purpose, non-infringement, availability, accuracy, or reliability.'}),f.jsx("p",{children:"We do not guarantee that:"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsx("li",{children:"TaskWhip will be uninterrupted, error-free, or secure"}),f.jsx("li",{children:"AI transcription or task extraction will be accurate"}),f.jsx("li",{children:"Connected integrations will remain available or unchanged"}),f.jsx("li",{children:"Data sent to third-party integrations can be deleted by TaskWhip after transfer"})]})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"12. Limitation of Liability"}),f.jsx("p",{children:"To the maximum extent permitted by law, TaskWhip and its operators, agents, contractors, and suppliers will not be liable for indirect, incidental, special, consequential, exemplary, or punitive damages, or for lost profits, lost revenue, lost data, business interruption, or loss of goodwill."}),f.jsx("p",{children:"To the maximum extent permitted by law, our total liability for claims relating to TaskWhip will not exceed the greater of the amount you paid to TaskWhip in the three months before the event giving rise to the claim or USD $100."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"13. Changes to Service or Terms"}),f.jsx("p",{children:'We may change TaskWhip or these Terms from time to time. We will update the "Last updated" date and provide additional notice where required. Continued use of TaskWhip after changes means you accept the updated Terms.'})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"14. Governing Law"}),f.jsx("p",{children:"These Terms are governed by the laws of the State of Texas, United States, without regard to conflict of law rules, except where applicable consumer-protection law requires otherwise."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"15. Dispute Resolution and Arbitration"}),f.jsx("p",{className:"font-semibold text-white",children:"PLEASE READ THIS SECTION CAREFULLY. IT AFFECTS YOUR LEGAL RIGHTS, INCLUDING YOUR RIGHT TO FILE A LAWSUIT IN COURT AND TO HAVE A JURY TRIAL."}),f.jsx("h3",{className:"pt-2 text-lg font-semibold text-white",children:"15.1 Informal resolution first"}),f.jsxs("p",{children:["Before starting a formal proceeding, you and TaskWhip agree to first try to resolve any dispute informally for at least ",f.jsx("strong",{children:"30 days"}),". The 30-day period begins when either side sends the other a written notice describing the dispute and the relief sought. Send your notice to"," ",f.jsx("a",{href:"mailto:[email protected]",className:"link-accent",children:"[email protected]"}),' with the subject line "Dispute Notice." We will send any notice to you at the email address on your account. Most disputes can be resolved this way.']}),f.jsx("h3",{className:"pt-2 text-lg font-semibold text-white",children:"15.2 Binding arbitration"}),f.jsxs("p",{children:["If informal resolution does not resolve the dispute within 30 days, you and TaskWhip agree that any dispute, claim, or controversy arising out of or relating to these Terms or to TaskWhip will be resolved by ",f.jsx("strong",{children:"final and binding individual arbitration"}),', administered by the American Arbitration Association ("AAA") under its Consumer Arbitration Rules (or the AAA Commercial Rules where Consumer Rules do not apply), as modified by these Terms. The Federal Arbitration Act governs the interpretation and enforcement of this Section 15.']}),f.jsx("p",{children:"The arbitration will be conducted by a single neutral arbitrator. Unless you and TaskWhip agree otherwise, the arbitration will be held in the U.S. county where you live, or by telephone or video conference, at your option. The arbitrator's decision will be final and may be entered as a judgment in any court of competent jurisdiction."}),f.jsx("p",{children:"TaskWhip will pay all AAA filing, administrative, and arbitrator fees that exceed the amount you would have paid to file the same claim in court, where the AAA Consumer Rules require us to do so. Each side otherwise pays its own attorneys' fees and costs unless the arbitrator awards otherwise under applicable law."}),f.jsx("h3",{className:"pt-2 text-lg font-semibold text-white",children:"15.3 Class action waiver"}),f.jsx("p",{className:"font-semibold text-white",children:"You and TaskWhip agree that each may bring claims against the other only in your or its individual capacity, and not as a plaintiff or class member in any purported class, collective, consolidated, private attorney general, or representative proceeding."}),f.jsx("p",{children:"The arbitrator may not consolidate more than one person's claims and may not preside over any form of representative or class proceeding. If a court decides that this class action waiver is unenforceable as to any particular claim or request for relief, then that claim or request must be severed and brought in a court of competent jurisdiction, but the rest of this Section 15 will still apply to all other claims."}),f.jsx("h3",{className:"pt-2 text-lg font-semibold text-white",children:"15.4 Your right to opt out of arbitration"}),f.jsxs("p",{children:["You can opt out of this Section 15 (Dispute Resolution and Arbitration) and reject these arbitration and class waiver terms by emailing"," ",f.jsx("a",{href:"mailto:[email protected]",className:"link-accent",children:"[email protected]"})," within"," ",f.jsx("strong",{children:"30 days"})," of the date you first accepted these Terms (or 30 days of any material change to this Section 15 that we notify you about). Your opt-out notice must include your name, the email address on your TaskWhip account, and a clear statement that you want to opt out of arbitration. If you opt out, this Section 15 will not apply to you, but the rest of these Terms will still apply, and disputes will be resolved 
54in the courts identified in Section 15.6."]}),f.jsx("h3",{className:"pt-2 text-lg font-semibold text-white",children:"15.5 Carve-outs"}),f.jsx("p",{children:"This Section 15 does not require arbitration of:"}),f.jsxs("ul",{className:"legal-list list-disc space-y-2",children:[f.jsx("li",{children:"Claims that qualify for and are filed in a small-claims court for individual relief."}),f.jsx("li",{children:"Either party's request for temporary, preliminary, or permanent injunctive relief in a court of competent jurisdiction to prevent or stop infringement, misappropriation, or violation of intellectual property rights, trade secrets, or confidentiality obligations."})]}),f.jsx("h3",{className:"pt-2 text-lg font-semibold text-white",children:"15.6 Court forum if arbitration does not apply"}),f.jsx("p",{children:"For any claim that is not subject to arbitration under this Section 15 (including a claim brought after a valid opt-out, a claim that falls within a carve-out, or a class action that survives the class waiver), you and TaskWhip agree to the exclusive jurisdiction of the state and federal courts located in the State of Texas, and we each waive any objection to venue in those courts."}),f.jsx("h3",{className:"pt-2 text-lg font-semibold text-white",children:"15.7 Severability of this section"}),f.jsx("p",{children:"If any portion of this Section 15 is found unenforceable, that portion will be severed and the rest will remain in effect, except that if the class action waiver in Section 15.3 is found unenforceable as to a particular claim, the entirety of this Section 15 will be unenforceable as to that claim only, and that claim will proceed in court under Section 15.6."})]}),f.jsxs("section",{className:"space-y-4",children:[f.jsx("h2",{className:"text-2xl font-semibold text-white",children:"16. Contact"}),f.jsxs("p",{children:["For questions about these Terms, contact us at:"," ",f.jsx("a",{href:"mailto:[email protected]",className:"link-accent",children:"[email protected]"})]})]})]})]})}),f.jsx(Ta,{showToast:t})]})}function xz(){const{toasts:e,showToast:t}=_a();return f.jsxs("div",{className:"page-shell",children:[f.jsx(xa,{title:"Thanks | TaskWhip",description:"Thanks for getting in touch with TaskWhip or subscribing to product updates.",path:"/thanks",robots:"noindex,nofollow"}),f.jsx(Ea,{toasts:e}),f.jsx(Sa,{}),f.jsxs("main",{id:"main-content",className:"max-w-4xl w-full mx-auto py-20 text-center",children:[f.jsx("h1",{className:"text-accent mb-6 text-4xl font-bold",children:"Thank You!"}),f.jsx("p",{className:"text-muted text-lg",children:"Your submission has been received. We'll be in touch soon."})]}),f.jsx(Ta,{showToast:t})]})}function Sz(){const{toasts:e,showToast:t}=_a();return f.jsxs("div",{className:"page-shell",children:[f.jsx(xa,{title:"Apps & downloads | TaskWhip",description:"Get the TaskWhip browser extension for Chrome, Edge, and Brave, the Windows desktop app, and the Android app (beta). iPhone coming soon.",path:"/downloads"}),f.jsx(Ea,{toasts:e}),f.jsx(Sa,{}),f.jsxs("main",{id:"main-content",className:"relative z-10 mx-auto w-full max-w-5xl px-4 md:px-6 py-12 sm:py-16",children:[f.jsxs("header",{className:"mb-8 text-center",children:[f.jsx("p",{className:"section-kicker",children:"Apps & downloads"}),f.jsx("h1",{className:"mt-3 text-3xl font-bold text-white sm:text-4xl",children:"Get TaskWhip on every surface"}),f.jsx("p",{className:"section-copy mx-auto mt-3 max-w-2xl sm:text-base",children:"One account, every place you work. Pick the platform you want and we'll get you to the right store."})]}),f.jsx(pB,{})]}),f.jsx(Ta,{showToast:t})]})}function Tz(){return f.jsx("div",{role:"status",className:"w-full bg-[#2a2140] border-b border-white/10 px-4 py-3 text-center",children:f.jsxs("p",{className:"text-sm text-[#d8d2ee] max-w-3xl mx-auto",children:[f.jsx("span",{className:"font-bold text-white",children:"TaskWhip is paused indefinitely."})," ","The service is no longer available and sign-ups are closed. Existing accounts and data have been removed."," ",f.jsx("a",{className:"underline text-[#a79fbe] hover:text-white",href:"mailto:[email protected]",children:"[email protected]"})]})})}const fT="G-273JB1F3RP";let hT=!1;function _z(){if(hT||typeof window>"u")return;hT=!0;const e=document.createElement("script");
54e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${encodeURIComponent(fT)}`,document.head.appendChild(e),window.dataLayer=window.dataLayer||[],window.gtag=function(...i){window.dataLayer.push(i)},window.gtag("js",new Date),window.gtag("config",fT,{send_page_view:!1})}function Ez(e,t){typeof window>"u"||!window.gtag||window.gtag("event","page_view",{page_location:window.location.origin+e,page_path:e,page_title:t})}function wz(){const e=Cn();w.useEffect(()=>{_z()},[]),w.useEffect(()=>{const t=e.pathname+e.search;Ez(t,document.title)},[e.pathname,e.search])}function Az(){return wz(),f.jsxs(f.Fragment,{children:[f.jsx(Tz,{}),f.jsxs(ej,{children:[f.jsx(On,{path:"/",element:f.jsx(az,{})}),f.jsx(On,{path:"/contact",element:f.jsx(sz,{})}),f.jsx(On,{path:"/faq",element:f.jsx(oz,{})}),f.jsx(On,{path:"/downloads",element:f.jsx(Sz,{})}),f.jsx(On,{path:"/pricing",element:f.jsx(hz,{})}),f.jsx(On,{path:"/product",element:f.jsx(yz,{})}),f.jsx(On,{path:"/privacy",element:f.jsx(vz,{})}),f.jsx(On,{path:"/terms",element:f.jsx(bz,{})}),f.jsx(On,{path:"/thanks",element:f.jsx(xz,{})})]})]})}function Nz(){c5({dsn:"https://2d7ab997c9cb541136a13af4c767f0b2@o4510762883481600.ingest.us.sentry.io/4511306272931840",environment:"production",release:void 0,tracesSampleRate:(Number.isFinite(.05),.05),integrations:[a5()],sendDefaultPii:!1,ignoreErrors:["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications.","Non-Error promise rejection captured"]})}Nz();function jz({resetError:e}){return f.jsx("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",padding:"2rem",background:"#0a0a14",color:"#fff",fontFamily:"system-ui, sans-serif"},children:f.jsxs("div",{style:{maxWidth:480,textAlign:"center"},children:[f.jsx("h1",{style:{fontSize:28,marginBottom:12},children:"Something went wrong"}),f.jsx("p",{style:{color:"#a79fbe",fontSize:15,marginBottom:24},children:"The page hit an unexpected error. Try again, or reload if it keeps happening."}),f.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"center"},children:[f.jsx("button",{type:"button",onClick:e,style:{padding:"10px 24px",borderRadius:9999,background:"#7c3aed",color:"#fff",border:"none",fontWeight:600,cursor:"pointer"},children:"Try again"}),f.jsx("button",{type:"button",onClick:()=>window.location.reload(),style:{padding:"10px 24px",borderRadius:9999,background:"transparent",color:"#fff",border:"1px solid rgba(255,255,255,0.2)",fontWeight:600,cursor:"pointer"},children:"Reload page"})]})]})})}e2.createRoot(document.getElementById("root")).render(f.jsx(WN.StrictMode,{children:f.jsx(m5,{fallback:jz,children:f.jsx(Ej,{children:f.jsx(Az,{})})})}));export{cB as A,uB as B,bB as C,zt as D,_B as H,hu as J,DE as L,nw as M,Cm as P,vt as S,wB as T,bt as a,EL as b,ai as c,x5 as d,i6 as e,qe as f,D4 as g,g4 as h,p4 as i,f as j,qn as k,oS as l,yt as m,bn as n,$m as o,Do as p,Rz as q,w as r,Cz as s,tr as t,v5 as u,BE as v,eS as w,fI as x,gI as y,pB 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.