vendor: 4,755 bytes, lines 1-18
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_404-CRwz2gVK.js","assets/query-BGEkINim.js","assets/react-vendor-Cq4VKlep.js","assets/preload-helper-jSbuHUHS.js","assets/preload-helper-BUGcJk0P.css","assets/radix-ui-fSkaNT1r.js","assets/CookieBanner-CdraU4tM.js"])))=>i.map(i=>d[i]); 2import{a as F1,j as O,r as E,R as Z1,Q as P1,b as J1}from"./query-BGEkINim.js";import{r as $1}from"./react-vendor-Cq4VKlep.js";import{_ as c0}from"./preload-helper-jSbuHUHS.js";import{r as W1,S as I1}from"./radix-ui-fSkaNT1r.js";var xf={exports:{}},zr={},Sf={exports:{}},Tf={};/** 3 * @license React 4 * scheduler.production.js 5 * 6 * Copyright (c) Meta Platforms, Inc. and affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var ng;function eT(){return ng||(ng=1,(function(n){function a(_,K){var J=_.length;_.push(K);e:for(;0<J;){var te=J-1>>>1,he=_[te];if(0<o(he,K))_[te]=K,_[J]=he,J=te;else break e}}function l(_){return _.length===0?null:_[0]}function s(_){if(_.length===0)return null;var K=_[0],J=_.pop();if(J!==K){_[0]=J;e:for(var te=0,he=_.length,ge=he>>>1;te<ge;){var Oe=2*(te+1)-1,ye=_[Oe],Be=Oe+1,nt=_[Be];if(0>o(ye,J))Be<he&&0>o(nt,ye)?(_[te]=nt,_[Be]=J,te=Be):(_[te]=ye,_[Oe]=J,te=Oe);else if(Be<he&&0>o(nt,J))_[te]=nt,_[Be]=J,te=Be;else break e}}return K}function o(_,K){var J=_.sortIndex-K.sortIndex;return J!==0?J:_.id-K.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var d=Date,h=d.now();n.unstable_now=function(){return d.now()-h}}var p=[],m=[],g=1,v=null,b=3,S=!1,C=!1,z=!1,R=!1,B=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;function P(_){for(var K=l(m);K!==null;){if(K.callback===null)s(m);else if(K.startTime<=_)s(m),K.sortIndex=K.expirationTime,a(p,K);else break;K=l(m)}}function Q(_){if(z=!1,P(_),!C)if(l(p)!==null)C=!0,I||(I=!0,ee());else{var K=l(m);K!==null&&Re(Q,K.startTime-_)}}var I=!1,fe=-1,M=5,de=-1;function se(){return R?!0:!(n.unstable_now()-de<M)}function Ne(){if(R=!1,I){var _=n.unstable_now();de=_;var K=!0;try{e:{C=!1,z&&(z=!1,k(fe),fe=-1),S=!0;var J=b;try{t:{for(P(_),v=l(p);v!==null&&!(v.expirationTime>_&&se());){var te=v.callback;if(typeof te=="function"){v.callback=null,b=v.priorityLevel;var he=te(v.expirationTime<=_);if(_=n.unstable_now(),typeof he=="function"){v.callback=he,P(_),K=!0;break t}v===l(p)&&s(p),P(_)}else s(p);v=l(p)}if(v!==null)K=!0;else{var ge=l(m);ge!==null&&Re(Q,ge.startTime-_),K=!1}}break e}finally{v=null,b=J,S=!1}K=void 0}}finally{K?ee():I=!1}}}var ee;if(typeof H=="function")ee=function(){H(Ne)};else if(typeof MessageChannel<"u"){var et=new MessageChannel,we=et.port2;et.port1.onmessage=Ne,ee=function(){we.postMessage(null)}}else ee=function(){B(Ne,0)};function Re(_,K){fe=B(function(){_(n.unstable_now())},K)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(_){_.callback=null},n.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<_?Math.floor(1e3/_):5},n.unstable_getCurrentPriorityLevel=function(){return b},n.unstable_next=function(_){switch(b){case 1:case 2:case 3:var K=3;break;default:K=b}var J=b;b=K;try{return _()}finally{b=J}},n.unstable_requestPaint=function(){R=!0},n.unstable_runWithPriority=function(_,K){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var J=b;b=_;try{return K()}finally{b=J}},n.unstable_scheduleCallback=function(_,K,J){var te=n.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?te+J:te):J=te,_){case 1:var he=-1;break;case 2:he=250;break;case 5:he=1073741823;break;case 4:he=1e4;break;default:he=5e3}return he=J+he,_={id:g++,callback:K,priorityLevel:_,startTime:J,expirationTime:he,sortIndex:-1},J>te?(_.sortIndex=J,a(m,_),l(p)===null&&_===l(m)&&(z?(k(fe),fe=-1):z=!0,Re(Q,J-te))):(_.sortIndex=he,a(p,_),C||S||(C=!0,I||(I=!0,ee()))),_},n.unstable_shouldYield=se,n.unstable_wrapCallback=function(_){var K=b;return function(){var J=b;b=K;try{return _.apply(this,arguments)}finally{b=J}}}})(Tf)),Tf}var ag;function tT(){return ag||(ag=1,Sf.exports=eT()),Sf.exports}/** 11 * @license React 12 * react-dom-client.production.js 13 * 14 * Copyright (c) Meta Platforms, Inc. and affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var ig;
vendor: 4,420 bytes, lines 18-19
18function nT(){if(ig)return zr;ig=1;var n=tT(),a=F1(),l=$1();function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(i=t.return),e=t.return;while(e)}return t.tag===3?i:null}function d(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(c(e)!==e)throw Error(s(188))}function m(e){var t=e.alternate;if(!t){if(t=c(e),t===null)throw Error(s(188));return t!==e?null:e}for(var i=e,r=t;;){var u=i.return;if(u===null)break;var f=u.alternate;if(f===null){if(r=u.return,r!==null){i=r;continue}break}if(u.child===f.child){for(f=u.child;f;){if(f===i)return p(u),e;if(f===r)return p(u),t;f=f.sibling}throw Error(s(188))}if(i.return!==r.return)i=u,r=f;else{for(var y=!1,x=u.child;x;){if(x===i){y=!0,i=u,r=f;break}if(x===r){y=!0,r=u,i=f;break}x=x.sibling}if(!y){for(x=f.child;x;){if(x===i){y=!0,i=f,r=u;break}if(x===r){y=!0,r=f,i=u;break}x=x.sibling}if(!y)throw Error(s(189))}}if(i.alternate!==r)throw Error(s(190))}if(i.tag!==3)throw Error(s(188));return i.stateNode.current===i?e:t}function g(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=g(e),t!==null)return t;e=e.sibling}return null}var v=Object.assign,b=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),H=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),de=Symbol.for("react.activity"),se=Symbol.for("react.memo_cache_sentinel"),Ne=Symbol.iterator;function ee(e){return e===null||typeof e!="object"?null:(e=Ne&&e[Ne]||e["@@iterator"],typeof e=="function"?e:null)}var et=Symbol.for("react.client.reference");function we(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===et?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case z:return"Fragment";case B:return"Profiler";case R:return"StrictMode";case Q:return"Suspense";case I:return"SuspenseList";case de:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case C:return"Portal";case H:return e.displayName||"Context";case k:return(e._context.displayName||"Context")+".Consumer";case P:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fe:return t=e.displayName||null,t!==null?t:we(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return we(e(t))}catch{}}return null}var Re=Array.isArray,_=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},te=[],he=-1;function ge(e){return{current:e}}function Oe(e){0>he||(e.current=te[he],te[he]=null,he--)}function ye(e,t){he++,te[he]=e.current,e.current=t}var Be=ge(null),nt=ge(null),it=ge(null),on=ge(null);function Qn(e,t){switch(ye(it,t),ye(nt,e),ye(Be,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ay(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ay(t),e=My(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Oe(Be),ye(Be,e)}function Yt(){Oe(Be),Oe(nt),Oe(it)}function Ul(e){e.memoizedState!==null&&ye(on,e);var t=Be.current,i=My(t,e.type);t!==i&&(ye(nt,e),ye(Be,i))}function Ni(e){nt.current===e&&(Oe(Be),Oe(nt)),on.current===e&&(Oe(on),Mr._currentValue=J)}var Bl,xt;function qt(e){if(Bl===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);Bl=t&&t[1]||"",xt=-1<i.stack.indexOf(` 19 at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
20`+Bl+e+xt}var Li=!1;function _l(e,t){if(!e||Li)return"";Li=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(Y){var U=Y}Reflect.construct(e,[],X)}else{try{X.call()}catch(Y){U=Y}e.call(X.prototype)}}else{try{throw Error()}catch(Y){U=Y}(X=e())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(Y){if(Y&&U&&typeof Y.stack=="string")return[Y.stack,U.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=r.DetermineComponentFrameRoot(),y=f[0],x=f[1];if(y&&x){var T=y.split(` 21`),L=x.split(` 22`);for(u=r=0;r<T.length&&!T[r].includes("DetermineComponentFrameRoot");)r++;for(;u<L.length&&!L[u].includes("DetermineComponentFrameRoot");)u++;if(r===T.length||u===L.length)for(r=T.length-1,u=L.length-1;1<=r&&0<=u&&T[r]!==L[u];)u--;for(;1<=r&&0<=u;r--,u--)if(T[r]!==L[u]){if(r!==1||u!==1)do if(r--,u--,0>u||T[r]!==L[u]){var q=` 23`+T[r].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),q}while(1<=r&&0<=u);break}}}finally{Li=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?qt(i):""}function Fn(e,t){switch(e.tag){case 26:case 27:case 5:return qt(e.type);case 16:return qt("Lazy");case 13:return e.child!==t&&t!==null?qt("Suspense Fallback"):qt("Suspense");case 19:return qt("SuspenseList");case 0:case 15:return _l(e.type,!1);case 11:return _l(e.type.render,!1);case 1:return _l(e.type,!0);case 31:return qt("Activity");default:return""}}function cs(e){try{var t="",i=null;do t+=Fn(e,i),i=e,e=e.return;while(e);return t}catch(r){return` 24Error generating stack: `+r.message+` 25`+r.stack}}var Hl=Object.prototype.hasOwnProperty,Vi=n.unstable_scheduleCallback,kl=n.unstable_cancelCallback,ou=n.unstable_shouldYield,uu=n.unstable_requestPaint,Ut=n.unstable_now,Zn=n.unstable_getCurrentPriorityLevel,Ta=n.unstable_ImmediatePriority,Yl=n.unstable_UserBlockingPriority,wa=n.unstable_NormalPriority,wn=n.unstable_LowPriority,un=n.unstable_IdlePriority,fs=n.log,cu=n.unstable_setDisableYieldValue,Pn=null,Bt=null;function wt(e){if(typeof fs=="function"&&cu(e),Bt&&typeof Bt.setStrictMode=="function")try{Bt.setStrictMode(Pn,e)}catch{}}var jt=Math.clz32?Math.clz32:fu,ds=Math.log,hs=Math.LN2;function fu(e){return e>>>=0,e===0?32:31-(ds(e)/hs|0)|0}var ri=256,Jn=262144,si=4194304;function En(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ui(e,t,i){var r=e.pendingLanes;if(r===0)return 0;var u=0,f=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var x=r&134217727;return x!==0?(r=x&~f,r!==0?u=En(r):(y&=x,y!==0?u=En(y):i||(i=x&~e,i!==0&&(u=En(i))))):(x=r&~f,x!==0?u=En(x):y!==0?u=En(y):i||(i=r&~e,i!==0&&(u=En(i)))),u===0?0:t!==0&&t!==u&&(t&f)===0&&(f=u&-u,i=t&-t,f>=i||f===32&&(i&4194048)!==0)?t:u}function Ea(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function du(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 ql(){var e=si;return si<<=1,(si&62914560)===0&&(si=4194304),e}function Aa(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}
vendor: 6,993 bytes, line 25
25function Nn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ms(e,t,i,r,u,f){var y=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var x=e.entanglements,T=e.expirationTimes,L=e.hiddenUpdates;for(i=y&~i;0<i;){var q=31-jt(i),X=1<<q;x[q]=0,T[q]=-1;var U=L[q];if(U!==null)for(L[q]=null,q=0;q<U.length;q++){var Y=U[q];Y!==null&&(Y.lane&=-536870913)}i&=~X}r!==0&&ps(e,r,0),f!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=f&~(y&~t))}function ps(e,t,i){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-jt(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|i&261930}function ys(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var r=31-jt(i),u=1<<r;u&t|e[r]&t&&(e[r]|=t),i&=~u}}function w(e,t){var i=t&-t;return i=(i&42)!==0?1:D(i),(i&(e.suspendedLanes|t))!==0?0:i}function D(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function V(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function F(){var e=K.p;return e!==0?e:(e=window.event,e===void 0?32:Py(e.type))}function Z(e,t){var i=K.p;try{return K.p=e,t()}finally{K.p=i}}var ie=Math.random().toString(36).slice(2),$="__reactFiber$"+ie,le="__reactProps$"+ie,ne="__reactContainer$"+ie,W="__reactEvents$"+ie,pe="__reactListeners$"+ie,ue="__reactHandles$"+ie,be="__reactResources$"+ie,Te="__reactMarker$"+ie;function Xe(e){delete e[$],delete e[le],delete e[W],delete e[pe],delete e[ue]}function Ze(e){var t=e[$];if(t)return t;for(var i=e.parentNode;i;){if(t=i[ne]||i[$]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=Ny(e);e!==null;){if(i=e[$])return i;e=Ny(e)}return t}e=i,i=e.parentNode}return null}function lt(e){if(e=e[$]||e[ne]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Le(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function ht(e){var t=e[be];return t||(t=e[be]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Fe(e){e[Te]=!0}var Ma=new Set,An={};function Et(e,t){Ln(e,t),Ln(e+"Capture",t)}function Ln(e,t){for(An[e]=t,e=0;e<t.length;e++)Ma.add(t[e])}var oi=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]*$"),Vn={},ui={};function Bi(e){return Hl.call(ui,e)?!0:Hl.call(Vn,e)?!1:oi.test(e)?ui[e]=!0:(Vn[e]=!0,!1)}function Ae(e,t,i){if(Bi(t))if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+i)}}function ct(e,t,i){if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+i)}}function Nt(e,t,i,r){if(r===null)e.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(t,i,""+r)}}function mt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _i(e,t,i){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var u=r.get,f=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){i=""+y,f.call(this,y)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return i},setValue:function(y){i=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hi(e){if(!e._valueTracker){var t=Pe(e)?"checked":"value";e._valueTracker=_i(e,t,""+e[t])}}function gs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),r="";return e&&(r=Pe(e)?e.checked?"true":"false":e.value),e=r,e!==i?(t.setValue(e),!0):!1}function vs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Yx=/[\n"\\]/g;function cn(e){return e.replace(Yx,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function hu(e,t,i,r,u,f,y,x){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+mt(t)):e.value!==""+mt(t)&&(e.value=""+mt(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?mu(e,y,mt(t)):i!=null?mu(e,y,mt(i)):r!=null&&e.removeAttribute("value"),u==null&&f!=null&&(e.defaultChecked=!!f),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+mt(x):e.removeAttribute("name")}function bh(e,t,i,r,u,f,y,x){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.type=f),t!=null||i!=null){if(!(f!=="submit"&&f!=="reset"||t!=null)){Hi(e);return}i=i!=null?""+mt(i):"",t=t!=null?""+mt(t):i,x||t===e.value||(e.value=t),e.defaultValue=t}r=r??u,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=x?e.checked:!!r,e.defaultChecked=!!r,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),Hi(e)}function mu(e,t,i){t==="number"&&vs(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function ki(e,t,i,r){if(e=e.options,t){t={};for(var u=0;u<i.length;u++)t["$"+i[u]]=!0;for(i=0;i<e.length;i++)u=t.hasOwnProperty("$"+e[i].value),e[i].selected!==u&&(e[i].selected=u),u&&r&&(e[i].defaultSelected=!0)}else{for(i=""+mt(i),t=null,u=0;u<e.length;u++){if(e[u].value===i){e[u].selected=!0,r&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function xh(e,t,i){if(t!=null&&(t=""+mt(t),t!==e.value&&(e.value=t),i==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=i!=null?""+mt(i):""}function Sh(e,t,i,r){if(t==null){if(r!=null){if(i!=null)throw Error(s(92));if(Re(r)){if(1<r.length)throw Error(s(93));r=r[0]}i=r}i==null&&(i=""),t=i}i=mt(t),e.defaultValue=i,r=e.textContent,r===i&&r!==""&&r!==null&&(e.value=r),Hi(e)}function Yi(e,t){if(t){var i=e.firstChild;
vendor: 4,140 bytes, line 25
25if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var qx=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 Th(e,t,i){var r=t.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,i):typeof i!="number"||i===0||qx.has(t)?t==="float"?e.cssFloat=i:e[t]=(""+i).trim():e[t]=i+"px"}function wh(e,t,i){if(t!=null&&typeof t!="object")throw Error(s(62));if(e=e.style,i!=null){for(var r in i)!i.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var u in t)r=t[u],t.hasOwnProperty(u)&&i[u]!==r&&Th(e,u,r)}else for(var f in t)t.hasOwnProperty(f)&&Th(e,f,t[f])}function pu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Gx=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
25-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"]]),Xx=/^[\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 bs(e){return Xx.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function $n(){}var yu=null;function gu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qi=null,Gi=null;function Eh(e){var t=lt(e);if(t&&(e=t.stateNode)){var i=e[le]||null;e:switch(e=t.stateNode,t.type){case"input":if(hu(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+cn(""+t)+'"][type="radio"]'),t=0;t<i.length;t++){var r=i[t];if(r!==e&&r.form===e.form){var u=r[le]||null;if(!u)throw Error(s(90));hu(r,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<i.length;t++)r=i[t],r.form===e.form&&gs(r)}break e;case"textarea":xh(e,i.value,i.defaultValue);break e;case"select":t=i.value,t!=null&&ki(e,!!i.multiple,t,!1)}}}var vu=!1;function Ah(e,t,i){if(vu)return e(t,i);vu=!0;try{var r=e(t);return r}finally{if(vu=!1,(qi!==null||Gi!==null)&&(ro(),qi&&(t=qi,e=Gi,Gi=qi=null,Eh(t),e)))for(t=0;t<e.length;t++)Eh(e[t])}}function Gl(e,t){var i=e.stateNode;if(i===null)return null;var r=i[le]||null;if(r===null)return null;i=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(s(231,t,typeof i));return i}var Wn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bu=!1;if(Wn)try{var Xl={};Object.defineProperty(Xl,"passive",{get:function(){bu=!0}}),window.addEventListener("test",Xl,Xl),window.removeEventListener("test",Xl,Xl)}catch{bu=!1}var Ca=null,xu=null,xs=null;function Mh(){if(xs)return xs;var e,t=xu,i=t.length,r,u="value"in Ca?Ca.value:Ca.textContent,f=u.length;for(e=0;e<i&&t[e]===u[e];e++);var y=i-e;for(r=1;r<=y&&t[i-r]===u[f-r];r++);return xs=u.slice(e,1<r?1-r:void 0)}function Ss(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ts(){return!0}function Ch(){return!1}function Gt(e){function t(i,r,u,f,y){this._reactName=i,this._targetInst=u,this.type=r,this.nativeEvent=f,this.target=y,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(i=e[x],this[x]=i?i(f):f[x]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Ts:Ch,this.isPropagationStopped=Ch,this}return v(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Ts)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Ts)},persist:function(){},isPersistent:Ts}),t}var ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ws=Gt(ci),Kl=v({},ci,{view:0,detail:0}),Kx=Gt(Kl),Su,Tu,Ql,Es=v({},Kl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Eu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ql&&(Ql&&e.type==="mousemove"?(Su
vendor: 4,884 bytes, line 25
25=e.screenX-Ql.screenX,Tu=e.screenY-Ql.screenY):Tu=Su=0,Ql=e),Su)},movementY:function(e){return"movementY"in e?e.movementY:Tu}}),Rh=Gt(Es),Qx=v({},Es,{dataTransfer:0}),Fx=Gt(Qx),Zx=v({},Kl,{relatedTarget:0}),wu=Gt(Zx),Px=v({},ci,{animationName:0,elapsedTime:0,pseudoElement:0}),Jx=Gt(Px),$x=v({},ci,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Wx=Gt($x),Ix=v({},ci,{data:0}),Dh=Gt(Ix),eS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tS={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"},nS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function aS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=nS[e])?!!t[e]:!1}function Eu(){return aS}var iS=v({},Kl,{key:function(e){if(e.key){var t=eS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ss(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?tS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Eu,charCode:function(e){return e.type==="keypress"?Ss(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ss(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lS=Gt(iS),rS=v({},Es,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zh=Gt(rS),sS=v({},Kl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Eu}),oS=Gt(sS),uS=v({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0}),cS=Gt(uS),fS=v({},Es,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),dS=Gt(fS),hS=v({},ci,{newState:0,oldState:0}),mS=Gt(hS),pS=[9,13,27,32],Au=Wn&&"CompositionEvent"in window,Fl=null;Wn&&"documentMode"in document&&(Fl=document.documentMode);var yS=Wn&&"TextEvent"in window&&!Fl,Oh=Wn&&(!Au||Fl&&8<Fl&&11>=Fl),jh=" ",Nh=!1;function Lh(e,t){switch(e){case"keyup":return pS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xi=!1;function gS(e,t){switch(e){case"compositionend":return Vh(t);case"keypress":return t.which!==32?null:(Nh=!0,jh);case"textInput":return e=t.data,e===jh&&Nh?null:e;default:return null}}function vS(e,t){if(Xi)return e==="compositionend"||!Au&&Lh(e,t)?(e=Mh(),xs=xu=Ca=null,Xi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Oh&&t.locale!=="ko"?null:t.data;default:return null}}var bS={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 Uh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!bS[e.type]:t==="textarea"}function Bh(e,t,i,r){qi?Gi?Gi.push(r):Gi=[r]:qi=r,t=mo(t,"onChange"),0<t.length&&(i=new ws("onChange","change",null,i,r),e.push({event:i,listeners:t}))}var Zl=null,Pl=null;function xS(e){by(e,0)}function As(e){var t=Le(e);if(gs(t))return e}function _h(e,t){if(e==="change")return t}var Hh=!1;if(Wn){var Mu;if(Wn){var Cu="oninput"in document;if(!Cu){var kh=document.createElement("div");kh.setAttribute("oninput","return;"),Cu=typeof kh.oninput=="function"}Mu=Cu}else Mu=!1;Hh=Mu&&(!document.documentMode||9<document.documentMode)}function Yh(){Zl&&(Zl.detachEvent("onpropertychange",qh),Pl=Zl=null)}function qh(e){if(e.propertyName==="value"&&As(Pl)){var t=[];Bh(t,Pl,e,gu(e)),Ah(xS,t)}}function SS(e,t,i){e==="focusin"?(Yh(),Zl=t,Pl=i,Zl.attachEvent("onpropertychange",qh)):e==="focusout"&&Yh()}function TS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return As(Pl)}function wS(e,t){if(e==="click")return As(t)}function ES(e,t){if(e==="input"||e==="change")return As(t)}function AS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $t=typeof Object.is=="function"?Object.is:AS;function Jl(e,t){if($t(e,t))return!0;
vendor: 23,833 bytes, line 25
25if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),r=Object.keys(t);if(i.length!==r.length)return!1;for(r=0;r<i.length;r++){var u=i[r];if(!Hl.call(t,u)||!$t(e[u],t[u]))return!1}return!0}function Gh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xh(e,t){var i=Gh(e);e=0;for(var r;i;){if(i.nodeType===3){if(r=e+i.textContent.length,e<=t&&r>=t)return{node:i,offset:t-e};e=r}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Gh(i)}}function Kh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Kh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Qh(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=vs(e.document);t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=vs(e.document)}return t}function Ru(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var MS=Wn&&"documentMode"in document&&11>=document.documentMode,Ki=null,Du=null,$l=null,zu=!1;function Fh(e,t,i){var r=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;zu||Ki==null||Ki!==vs(r)||(r=Ki,"selectionStart"in r&&Ru(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$l&&Jl($l,r)||($l=r,r=mo(Du,"onSelect"),0<r.length&&(t=new ws("onSelect","select",null,t,i),e.push({event:t,listeners:r}),t.target=Ki)))}function fi(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var Qi={animationend:fi("Animation","AnimationEnd"),animationiteration:fi("Animation","AnimationIteration"),animationstart:fi("Animation","AnimationStart"),transitionrun:fi("Transition","TransitionRun"),transitionstart:fi("Transition","TransitionStart"),transitioncancel:fi("Transition","TransitionCancel"),transitionend:fi("Transition","TransitionEnd")},Ou={},Zh={};Wn&&(Zh=document.createElement("div").style,"AnimationEvent"in window||(delete Qi.animationend.animation,delete Qi.animationiteration.animation,delete Qi.animationstart.animation),"TransitionEvent"in window||delete Qi.transitionend.transition);function di(e){if(Ou[e])return Ou[e];if(!Qi[e])return e;var t=Qi[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in Zh)return Ou[e]=t[i];return e}var Ph=di("animationend"),Jh=di("animationiteration"),$h=di("animationstart"),CS=di("transitionrun"),RS=di("transitionstart"),DS=di("transitioncancel"),Wh=di("transitionend"),Ih=new Map,ju="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(" ");ju.push("scrollEnd");function Mn(e,t){Ih.set(e,t),Et(t,[e])}var Ms=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=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(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},fn=[],Fi=0,Nu=0;function Cs(){for(var e=Fi,t=Nu=Fi=0;t<e;){var i=fn[t];fn[t++]=null;var r=fn[t];fn[t++]=null;var u=fn[t];fn[t++]=null;var f=fn[t];if(fn[t++]=null,r!==null&&u!==null){var y=r.pending;y===null?u.next=u:(u.next=y.next,y.next=u),r.pending=u}f!==0&&em(i,u,f)}}function Rs(e,t,i,r){fn[Fi++]=e,fn[Fi++]=t,fn[Fi++]=i,fn[Fi++]=r,Nu|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Lu(e,t,i,r){return Rs(e,t,i,r),Ds(e)}function hi(e,t){return Rs(e,null,null,t),Ds(e)}function em(e,t,i){e.lanes|=i;var r=e.alternate;r!==null&&(r.lanes|=i);for(var u=!1,f=e.return;f!==null;)f.childLanes|=i,r=f.alternate,r!==null&&(r.childLanes|=i),f.tag===22&&(e=f.stateNode,e===null||e._visibility&1||(u=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,u&&t!==null&&(u=31-jt(i),e=f.hiddenUpdates,r=e[u],r===null?e[u]=[t]:r.push(t),t.lane=i|536870912),f):null}function Ds(e){if(50<br)throw br=0,Gc=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Zi={};function zS(e,t,i,r){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wt(e,t,i,r){return new zS(e,t,i,r)}function Vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function In(e,t){var i=e.alternate;return i===null?(i=Wt(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function tm(e,t){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,t=i.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function zs(e,t,i,r,u,f){var y=0;if(r=e,typeof e=="function")Vu(e)&&(y=1);else if(typeof e=="string")y=V1(e,i,Be.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case de:return e=Wt(31,i,t,u),e.elementType=de,e.lanes=f,e;case z:return mi(i.children,u,f,t);case R:y=8,u|=24;break;case B:return e=Wt(12,i,t,u|2),e.elementType=B,e.lanes=f,e;case Q:return e=Wt(13,i,t,u),e.elementType=Q,e.lanes=f,e;case I:return e=Wt(19,i,t,u),e.elementType=I,e.lanes=f,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case H:y=10;break e;case k:y=9;break e;case P:y=11;break e;case fe:y=14;break e;case M:y=16,r=null;break e}y=29,i=Error(s(130,e===null?"null":typeof e,"")),r=null}return t=Wt(y,i,t,u),t.elementType=e,t.type=r,t.lanes=f,t}function mi(e,t,i,r){return e=Wt(7,e,r,t),e.lanes=i,e}function Uu(e,t,i){return e=Wt(6,e,null,t),e.lanes=i,e}function nm(e){var t=Wt(18,null,null,0);return t.stateNode=e,t}function Bu(e,t,i){return t=Wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var am=new WeakMap;function dn(e,t){if(typeof e=="object"&&e!==null){var i=am.get(e);return i!==void 0?i:(t={value:e,source:t,stack:cs(t)},am.set(e,t),t)}return{value:e,source:t,stack:cs(t)}}var Pi=[],Ji=0,Os=null,Wl=0,hn=[],mn=0,Ra=null,Un=1,Bn="";function ea(e,t){Pi[Ji++]=Wl,Pi[Ji++]=Os,Os=e,Wl=t}function im(e,t,i){hn[mn++]=Un,hn[mn++]=Bn,hn[mn++]=Ra,Ra=e;var r=Un;e=Bn;var u=32-jt(r)-1;r&=~(1<<u),i+=1;var f=32-jt(t)+u;if(30<f){var y=u-u%5;f=(r&(1<<y)-1).toString(32),r>>=y,u-=y,Un=1<<32-jt(t)+u|i<<u|r,Bn=f+e}else Un=1<<f|i<<u|r,Bn=e}function _u(e){e.return!==null&&(ea(e,1),im(e,1,0))}function Hu(e){for(;e===Os;)Os=Pi[--Ji],Pi[Ji]=null,Wl=Pi[--Ji],Pi[Ji]=null;for(;e===Ra;)Ra=hn[--mn],hn[mn]=null,Bn=hn[--mn],hn[mn]=null,Un=hn[--mn],hn[mn]=null}function lm(e,t){hn[mn++]=Un,hn[mn++]=Bn,hn[mn++]=Ra,Un=t.id,Bn=t.overflow,Ra=e}var Mt=null,Je=null,je=!1,Da=null,pn=!1,ku=Error(s(519));function za(e){var t=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Il(dn(t,e)),ku}function rm(e){var t=e.stateNode,i=e.type,r=e.memoizedProps;switch(t[$]=e,t[le]=r,i){case"dialog":Ce("cancel",t),Ce("close",t);break;case"iframe":case"object":case"embed":Ce("load",t);break;case"video":case"audio":for(i=0;i<Sr.length;i++)Ce(Sr[i],t);break;case"source":Ce("error",t);break;case"img":case"image":case"link":Ce("error",t),Ce("load",t);break;case"details":Ce("toggle",t);break;case"input":Ce("invalid",t),bh(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Ce("invalid",t);break;case"textarea":Ce("invalid",t),Sh(t,r.value,r.defaultValue,r.children)}i=r.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||t.textContent===""+i||r.suppressHydrationWarning===!0||wy(t.textContent,i)?(r.popover!=null&&(Ce("beforetoggle",t),Ce("toggle",t)),r.onScroll!=null&&Ce("scroll",t),r.onScrollEnd!=null&&Ce("scrollend",t),r.onClick!=null&&(t.onclick=$n),t=!0):t=!1,t||za(e,!0)}function sm(e){for(Mt=e.return;Mt;)switch(Mt.tag){case 5:case 31:case 13:pn=!1;return;case 27:case 3:pn=!0;return;default:Mt=Mt.return}}function $i(e){if(e!==Mt)return!1;if(!je)return sm(e),je=!0,!1;var t=e.tag,i;if((i=t!==3&&t!==27)&&((i=t===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||lf(e.type,e.memoizedProps)),i=!i),i&&Je&&za(e),sm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));Je=jy(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));Je=jy(e)}else t===27?(t=Je,Xa(e.type)?(e=cf,cf=null,Je=e):Je=t):Je=Mt?gn(e.stateNode.nextSibling):null;return!0}function pi(){Je=Mt=null,je=!1}function Yu(){var e=Da;return e!==null&&(Ft===null?Ft=e:Ft.push.apply(Ft,e),Da=null),e}function Il(e){Da===null?Da=[e]:Da.push(e)}var qu=ge(null),yi=null,ta=null;function Oa(e,t,i){ye(qu,t._currentValue),t._currentValue=i}function na(e){e._currentValue=qu.current,Oe(qu)}function Gu(e,t,i){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===i)break;e=e.return}}function Xu(e,t,i,r){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var f=u.dependencies;if(f!==null){var y=u.child;f=f.firstContext;e:for(;f!==null;){var x=f;f=u;for(var T=0;T<t.length;T++)if(x.context===t[T]){f.lanes|=i,x=f.alternate,x!==null&&(x.lanes|=i),Gu(f.return,i,e),r||(y=null);break e}f=x.next}}else if(u.tag===18){if(y=u.return,y===null)throw Error(s(341));y.lanes|=i,f=y.alternate,f!==null&&(f.lanes|=i),Gu(y,i,e),y=null}else y=u.child;if(y!==null)y.return=u;else for(y=u;y!==null;){if(y===e){y=null;break}if(u=y.sibling,u!==null){u.return=y.return,y=u;break}y=y.return}u=y}}function Wi(e,t,i,r){e=null;for(var u=t,f=!1;u!==null;){if(!f){if((u.flags&524288)!==0)f=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var y=u.alternate;if(y===null)throw Error(s(387));if(y=y.memoizedProps,y!==null){var x=u.type;$t(u.pendingProps.value,y.value)||(e!==null?e.push(x):e=[x])}}else if(u===on.current){if(y=u.alternate,y===null)throw Error(s(387));y.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(Mr):e=[Mr])}u=u.return}e!==null&&Xu(t,e,i,r),t.flags|=262144}function js(e){for(e=e.firstContext;e!==null;){if(!$t(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function gi(e){yi=e,ta=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ct(e){return om(yi,e)}function Ns(e,t){return yi===null&&gi(e),om(e,t)}function om(e,t){var i=t._currentValue;if(t={context:t,memoizedValue:i,next:null},ta===null){if(e===null)throw Error(s(308));ta=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ta=ta.next=t;return i}var OS=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(i,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(i){return i()})}},jS=n.unstable_scheduleCallback,NS=n.unstable_NormalPriority,pt={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ku(){return{controller:new OS,data:new Map,refCount:0}}function er(e){e.refCount--,e.refCount===0&&jS(NS,function(){e.controller.abort()})}var tr=null,Qu=0,Ii=0,el=null;function LS(e,t){if(tr===null){var i=tr=[];Qu=0,Ii=Pc(),el={status:"pending",value:void 0,then:function(r){i.push(r)}}}return Qu++,t.then(um,um),t}function um(){if(--Qu===0&&tr!==null){el!==null&&(el.status="fulfilled");var e=tr;tr=null,Ii=0,el=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function VS(e,t){var i=[],r={status:"pending",value:null,reason:null,then:function(u){i.push(u)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var u=0;u<i.length;u++)(0,i[u])(t)},function(u){for(r.status="rejected",r.reason=u,u=0;u<i.length;u++)(0,i[u])(void 0)}),r}var cm=_.S;_.S=function(e,t){Fp=Ut(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&LS(e,t),cm!==null&&cm(e,t)};var vi=ge(null);function Fu(){var e=vi.current;return e!==null?e:Ke.pooledCache}function Ls(e,t){t===null?ye(vi,vi.current):ye(vi,t.pool)}function fm(){var e=Fu();return e===null?null:{parent:pt._currentValue,pool:e}}var tl=Error(s(460)),Zu=Error(s(474)),Vs=Error(s(542)),Us={then:function(){}};function dm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function hm(e,t,i){switch(i=e[i],i===void 0?e.push(t):i!==t&&(t.then($n,$n),t=i),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,pm(e),e;default:if(typeof t.status=="string")t.then($n,$n);else{if(e=Ke,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=r}},function(r){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,pm(e),e}throw xi=t,tl}}function bi(e){try{var t=e._init;return t(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(xi=i,tl):i}}var xi=null;function mm(){if(xi===null)throw Error(s(459));var e=xi;return xi=null,e}function pm(e){if(e===tl||e===Vs)throw Error(s(483))}var nl=null,nr=0;function Bs(e){var t=nr;return nr+=1,nl===null&&(nl=[]),hm(nl,e,t)}function ar(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function _s(e,t){throw t.$$typeof===b?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function ym(e){function t(j,A){if(e){var N=j.deletions;N===null?(j.deletions=[A],j.flags|=16):N.push(A)}}function i(j,A){if(!e)return null;for(;A!==null;)t(j,A),A=A.sibling;return null}function r(j){for(var A=new Map;j!==null;)j.key!==null?A.set(j.key,j):A.set(j.index,j),j=j.sibling;return A}function u(j,A){return j=In(j,A),j.index=0,j.sibling=null,j}function f(j,A,N){return j.index=N,e?(N=j.alternate,N!==null?(N=N.index,N<A?(j.flags|=67108866,A):N):(j.flags|=67108866,A)):(j.flags|=1048576,A)}function y(j){return e&&j.alternate===null&&(j.flags|=67108866),j}function x(j,A,N,G){return A===null||A.tag!==6?(A=Uu(N,j.mode,G),A.return=j,A):(A=u(A,N),A.return=j,A)}function T(j,A,N,G){var ce=N.type;return ce===z?q(j,A,N.props.children,G,N.key):A!==null&&(A.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===M&&bi(ce)===A.type)?(A=u(A,N.props),ar(A,N),A.return=j,A):(A=zs(N.type,N.key,N.props,null,j.mode,G),ar(A,N),A.return=j,A)}function L(j,A,N,G){return A===null||A.tag!==4||A.stateNode.containerInfo!==N.containerInfo||A.stateNode.implementation!==N.implementation?(A=Bu(N,j.mode,G),A.return=j,A):(A=u(A,N.children||[]),A.return=j,A)}function q(j,A,N,G,ce){return A===null||A.tag!==7?(A=mi(N,j.mode,G,ce),A.return=j,A):(A=u(A,N),A.return=j,A)}function X(j,A,N){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=Uu(""+A,j.mode,N),A.return=j,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case S:return N=zs(A.type,A.key,A.props,null,j.mode,N),ar(N,A),N.return=j,N;case C:return A=Bu(A,j.mode,N),A.return=j,A;case M:return A=bi(A),X(j,A,N)}if(Re(A)||ee(A))return A=mi(A,j.mode,N,null),A.return=j,A;if(typeof A.then=="function")return X(j,Bs(A),N);if(A.$$typeof===H)return X(j,Ns(j,A),N);_s(j,A)}return null}function U(j,A,N,G){var ce=A!==null?A.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return ce!==null?null:x(j,A,""+N,G);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case S:return N.key===ce?T(j,A,N,G):null;case C:return N.key===ce?L(j,A,N,G):null;case M:return N=bi(N),U(j,A,N,G)}if(Re(N)||ee(N))return ce!==null?null:q(j,A,N,G,null);if(typeof N.then=="function")return U(j,A,Bs(N),G);if(N.$$typeof===H)return U(j,A,Ns(j,N),G);_s(j,N)}return null}function Y(j,A,N,G,ce){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return j=j.get(N)||null,x(A,j,""+G,ce);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case S:return j=j.get(G.key===null?N:G.key)||null,T(A,j,G,ce);case C:return j=j.get(G.key===null?N:G.key)||null,L(A,j,G,ce);case M:return G=bi(G),Y(j,A,N,G,ce)}if(Re(G)||ee(G))return j=j.get(N)||null,q(A,j,G,ce,null);if(typeof G.then=="function")return Y(j,A,N,Bs(G),ce);if(G.$$typeof===H)return Y(j,A,N,Ns(A,G),ce);_s(A,G)}return null}function ae(j,A,N,G){for(var ce=null,Ve=null,oe=A,xe=A=0,ze=null;oe!==null&&xe<N.length;xe++){oe.index>xe?(ze=oe,oe=null):ze=oe.sibling;var Ue=U(j,oe,N[xe],G);if(Ue===null){oe===null&&(oe=ze);break}e&&oe&&Ue.alternate===null&&t(j,oe),A=f(Ue,A,xe),Ve===null?ce=Ue:Ve.sibling=Ue,Ve=Ue,oe=ze}if(xe===N.length)return i(j,oe),je&&ea(j,xe),ce;if(oe===null){for(;xe<N.length;xe++)oe=X(j,N[xe],G),oe!==null&&(A=f(oe,A,xe),Ve===null?ce=oe:Ve.sibling=oe,Ve=oe);return je&&ea(j,xe),ce}for(oe=r(oe);xe<N.length;xe++)ze=Y(oe,j,xe,N[xe],G),ze!==null&&(e&&ze.alternate!==null&&oe.delete(ze.key===null?xe:ze.key),A=f(ze,A,xe),Ve===null?ce=ze:Ve.sibling=ze,Ve=ze);return e&&oe.forEach(function(Pa){return t(j,Pa)}),je&&ea(j,xe),ce}function me(j,A,N,G){if(N==null)throw Error(s(151));for(var ce=null,Ve=null,oe=A,xe=A=0,ze=null,Ue=N.next();oe!==null&&!Ue.done;xe++,Ue=N.next()){oe.index>xe?(ze=oe,oe=null):ze=oe.sibling;var Pa=U(j,oe,Ue.value,G);if(Pa===null){oe===null&&(oe=ze);break}e&&oe&&Pa.alternate===null&&t(j,oe),A=f(Pa,A,xe),Ve===null?ce=Pa:Ve.sibling=Pa,Ve=Pa,oe=ze}if(Ue.done)return i(j,oe),je&&ea(j,xe),ce;if(oe===null){for(;!Ue.done;xe++,Ue=N.next())Ue=X(j,Ue.value,G),Ue!==null&&(A=f(Ue,A,xe),Ve===null?ce=Ue:Ve.sibling=Ue,Ve=Ue);return je&&ea(j,xe),ce}for(oe=r(oe);!Ue.done;xe++,Ue=N.next())Ue=Y(oe,j,xe,Ue.value,G),Ue!==null&&(e&&Ue.alternate!==null&&oe.delete(Ue.key===null?xe:Ue.key),A=f(Ue,A,xe),Ve===null?ce=Ue:Ve.sibling=Ue,Ve=Ue);return e&&oe.forEach(function(Q1){return t(j,Q1)}),je&&ea(j,xe),ce}function Ge(j,A,N,G){if(typeof N=="object"&&N!==null&&N.type===z&&N.key===null&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case S:e:{for(var ce=N.key;A!==null;){if(A.key===ce){if(ce=N.type,ce===z){if(A.tag===7){i(j,A.sibling),G=u(A,N.props.children),G.return=j,j=G;break e}}else if(A.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===M&&bi(ce)===A.type){i(j,A.sibling),G=u(A,N.props),ar(G,N),G.return=j,j=G;break e}i(j,A);break}else t(j,A);A=A.sibling}N.type===z?(G=mi(N.props.children,j.mode,G,N.key),G.return=j,j=G):(G=zs(N.type,N.key,N.props,null,j.mode,G),ar(G,N),G.return=j,j=G)}return y(j);case C:e:{for(ce=N.key;A!==null;){if(A.key===ce)if(A.tag===4&&A.stateNode.containerInfo===N.containerInfo&&A.stateNode.implementation===N.implementation){i(j,A.sibling),G=u(A,N.children||[]),G.return=j,j=G;break e}else{i(j,A);break}else t(j,A);A=A.sibling}G=Bu(N,j.mode,G),G.return=j,j=G}return y(j);case M:return N=bi(N),Ge(j,A,N,G)}if(Re(N))return ae(j,A,N,G);if(ee(N)){if(ce=ee(N),typeof ce!="function")throw Error(s(150));return N=ce.call(N),me(j,A,N,G)}if(typeof N.then=="function")return Ge(j,A,Bs(N),G);if(N.$$typeof===H)return Ge(j,A,Ns(j,N),G);_s(j,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(N=""+N,A!==null&&A.tag===6?(i(j,A.sibling),G=u(A,N),G.return=j,j=G):(i(j,A),G=Uu(N,j.mode,G),G.return=j,j=G),y(j)):i(j,A)}return function(j,A,N,G){try{nr=0;var ce=Ge(j,A,N,G);return nl=null,ce}catch(oe){if(oe===tl||oe===Vs)throw oe;var Ve=Wt(29,oe,null,j.mode);return Ve.lanes=G,Ve.return=j,Ve}finally{}}}var Si=ym(!0),gm=ym(!1),ja=!1;function Pu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ju(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Na(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function La(e,t,i){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(_e&2)!==0){var u=r.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),r.pending=t,t=Ds(e),em(e,null,i),t}return Rs(e,r,t,i),Ds(e)}function ir(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,i|=r,t.lanes=i,ys(e,i)}}function $u(e,t){var i=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,i===r)){var u=null,f=null;if(i=i.firstBaseUpdate,i!==null){do{var y={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};f===null?u=f=y:f=f.next=y,i=i.next}while(i!==null);f===null?u=f=t:f=f.next=t}else u=f=t;i={baseState:r.baseState,firstBaseUpdate:u,lastBaseUpdate:f,shared:r.shared,callbacks:r.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}var Wu=!1;function lr(){if(Wu){var e=el;if(e!==null)throw e}}function rr(e,t,i,r){Wu=!1;var u=e.updateQueue;ja=!1;var f=u.firstBaseUpdate,y=u.lastBaseUpdate,x=u.shared.pending;if(x!==null){u.shared.pending=null;var T=x,L=T.next;T.next=null,y===null?f=L:y.next=L,y=T;var q=e.alternate;q!==null&&(q=q.updateQueue,x=q.lastBaseUpdate,x!==y&&(x===null?q.firstBaseUpdate=L:x.next=L,q.lastBaseUpdate=T))}if(f!==null){var X=u.baseState;y=0,q=L=T=null,x=f;do{var U=x.lane&-536870913,Y=U!==x.lane;if(Y?(De&U)===U:(r&U)===U){U!==0&&U===Ii&&(Wu=!0),q!==null&&(q=q.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var ae=e,me=x;U=t;var Ge=i;switch(me.tag){case 1:if(ae=me.payload,typeof ae=="function"){X=ae.call(Ge,X,U);break e}X=ae;break e;case 3:ae.flags=ae.flags&-65537|128;case 0:if(ae=me.payload,U=typeof ae=="function"?ae.call(Ge,X,U):ae,U==null)break e;X=v({},X,U);break e;case 2:ja=!0}}U=x.callback,U!==null&&(e.flags|=64,Y&&(e.flags|=8192),Y=u.callbacks,Y===null?u.callbacks=[U]:Y.push(U))}else Y={lane:U,tag:x.tag,payload:x.payload,callback:x.callback,next:null},q===null?(L=q=Y,T=X):q=q.next=Y,y|=U;if(x=x.next,x===null){if(x=u.shared.pending,x===null)break;Y=x,x=Y.next,Y.next=null,u.lastBaseUpdate=Y,u.shared.pending=null}}while(!0);q===null&&(T=X),u.baseState=T,u.firstBaseUpdate=L,u.lastBaseUpdate=q,f===null&&(u.shared.lanes=0),Ha|=y,e.lanes=y,e.memoizedState=X}}function vm(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function bm(e,t){var i=e.callbacks;
vendor: 5,158 bytes, line 25
25if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)vm(i[e],t)}var al=ge(null),Hs=ge(0);function xm(e,t){e=fa,ye(Hs,e),ye(al,t),fa=e|t.baseLanes}function Iu(){ye(Hs,fa),ye(al,al.current)}function ec(){fa=Hs.current,Oe(al),Oe(Hs)}var It=ge(null),yn=null;function Va(e){var t=e.alternate;ye(ft,ft.current&1),ye(It,e),yn===null&&(t===null||al.current!==null||t.memoizedState!==null)&&(yn=e)}function tc(e){ye(ft,ft.current),ye(It,e),yn===null&&(yn=e)}function Sm(e){e.tag===22?(ye(ft,ft.current),ye(It,e),yn===null&&(yn=e)):Ua()}function Ua(){ye(ft,ft.current),ye(It,It.current)}function en(e){Oe(It),yn===e&&(yn=null),Oe(ft)}var ft=ge(0);function ks(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||of(i)||uf(i)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aa=0,ve=null,Ye=null,yt=null,Ys=!1,il=!1,Ti=!1,qs=0,sr=0,ll=null,US=0;function rt(){throw Error(s(321))}function nc(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!$t(e[i],t[i]))return!1;return!0}function ac(e,t,i,r,u,f){return aa=f,ve=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,_.H=e===null||e.memoizedState===null?ip:vc,Ti=!1,f=i(r,u),Ti=!1,il&&(f=wm(t,i,r,u)),Tm(e),f}function Tm(e){_.H=cr;var t=Ye!==null&&Ye.next!==null;if(aa=0,yt=Ye=ve=null,Ys=!1,sr=0,ll=null,t)throw Error(s(300));e===null||gt||(e=e.dependencies,e!==null&&js(e)&&(gt=!0))}function wm(e,t,i,r){ve=e;var u=0;do{if(il&&(ll=null),sr=0,il=!1,25<=u)throw Error(s(301));if(u+=1,yt=Ye=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}_.H=lp,f=t(i,r)}while(il);return f}function BS(){var e=_.H,t=e.useState()[0];return t=typeof t.then=="function"?or(t):t,e=e.useState()[0],(Ye!==null?Ye.memoizedState:null)!==e&&(ve.flags|=1024),t}function ic(){var e=qs!==0;return qs=0,e}function lc(e,t,i){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i}function rc(e){if(Ys){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ys=!1}aa=0,yt=Ye=ve=null,il=!1,sr=qs=0,ll=null}function _t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yt===null?ve.memoizedState=yt=e:yt=yt.next=e,yt}function dt(){if(Ye===null){var e=ve.alternate;e=e!==null?e.memoizedState:null}else e=Ye.next;var t=yt===null?ve.memoizedState:yt.next;if(t!==null)yt=t,Ye=e;else{if(e===null)throw ve.alternate===null?Error(s(467)):Error(s(310));Ye=e,e={memoizedState:Ye.memoizedState,baseState:Ye.baseState,baseQueue:Ye.baseQueue,queue:Ye.queue,next:null},yt===null?ve.memoizedState=yt=e:yt=yt.next=e}return yt}function Gs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function or(e){var t=sr;return sr+=1,ll===null&&(ll=[]),e=hm(ll,e,t),t=ve,(yt===null?t.memoizedState:yt.next)===null&&(t=t.alternate,_.H=t===null||t.memoizedState===null?ip:vc),e}function Xs(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return or(e);if(e.$$typeof===H)return Ct(e)}throw Error(s(438,String(e)))}function sc(e){var t=null,i=ve.updateQueue;if(i!==null&&(t=i.memoCache),t==null){var r=ve.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),i===null&&(i=Gs(),ve.updateQueue=i),i.memoCache=t,i=t.data[t.index],i===void 0)for(i=t.data[t.index]=Array(e),r=0;r<e;r++)i[r]=se;return t.index++,i}function ia(e,t){return typeof t=="function"?t(e):t}function Ks(e){var t=dt();return oc(t,Ye,e)}function oc(e,t,i){var r=e.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=i;var u=e.baseQueue,f=r.pending;if(f!==null){if(u!==null){var y=u.next;u.next=f.next,f.next=y}t.baseQueue=u=f,r.pending=null}if(f=e.baseState,u===null)e.memoizedState=f;else{t=u.next;var x=y=null,T=null,L=t,q=!1;do{var X=L.lane&-536870913;if(X!==L.lane?(De&X)===X:(aa&X)===X){var U=L.revertLane;if(U===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),X===Ii&&(q=!0);else if((aa&U)===U){L=L.next,U===Ii&&(q=!0);continue}else X={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},T===null?(x=T=X,y=f):T=T.next=X,ve.lanes|=U,Ha|=U;X=L.action,Ti&&i(f,X),f=L.hasEagerState?L.eagerState:i(f,X)}else U={lane:X,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},T===null?(x=T=U,y=f):T=T.next=U,ve.lanes|=X,Ha|=X;L=L.next}while(L!==null&&L!==t);if(T===null?y=f:T.next=x,!$t(f,e.memoizedState)&&(gt=!0,q&&(i=el,i!==null)))throw i;e.memoizedState=f,e.baseState=y,e.baseQueue=T,r.lastRenderedState=f}
vendor: 11,952 bytes, line 25
25return u===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function uc(e){var t=dt(),i=t.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var r=i.dispatch,u=i.pending,f=t.memoizedState;if(u!==null){i.pending=null;var y=u=u.next;do f=e(f,y.action),y=y.next;while(y!==u);$t(f,t.memoizedState)||(gt=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),i.lastRenderedState=f}return[f,r]}function Em(e,t,i){var r=ve,u=dt(),f=je;if(f){if(i===void 0)throw Error(s(407));i=i()}else i=t();var y=!$t((Ye||u).memoizedState,i);if(y&&(u.memoizedState=i,gt=!0),u=u.queue,dc(Cm.bind(null,r,u,e),[e]),u.getSnapshot!==t||y||yt!==null&&yt.memoizedState.tag&1){if(r.flags|=2048,rl(9,{destroy:void 0},Mm.bind(null,r,u,i,t),null),Ke===null)throw Error(s(349));f||(aa&127)!==0||Am(r,t,i)}return i}function Am(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=ve.updateQueue,t===null?(t=Gs(),ve.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function Mm(e,t,i,r){t.value=i,t.getSnapshot=r,Rm(t)&&Dm(e)}function Cm(e,t,i){return i(function(){Rm(t)&&Dm(e)})}function Rm(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!$t(e,i)}catch{return!0}}function Dm(e){var t=hi(e,2);t!==null&&Zt(t,e,2)}function cc(e){var t=_t();if(typeof e=="function"){var i=e;if(e=i(),Ti){wt(!0);try{i()}finally{wt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:e},t}function zm(e,t,i,r){return e.baseState=i,oc(e,Ye,typeof r=="function"?r:ia)}function _S(e,t,i,r,u){if(Zs(e))throw Error(s(485));if(e=t.action,e!==null){var f={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){f.listeners.push(y)}};_.T!==null?i(!0):f.isTransition=!1,r(f),i=t.pending,i===null?(f.next=t.pending=f,Om(t,f)):(f.next=i.next,t.pending=i.next=f)}}function Om(e,t){var i=t.action,r=t.payload,u=e.state;if(t.isTransition){var f=_.T,y={};_.T=y;try{var x=i(u,r),T=_.S;T!==null&&T(y,x),jm(e,t,x)}catch(L){fc(e,t,L)}finally{f!==null&&y.types!==null&&(f.types=y.types),_.T=f}}else try{f=i(u,r),jm(e,t,f)}catch(L){fc(e,t,L)}}function jm(e,t,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(r){Nm(e,t,r)},function(r){return fc(e,t,r)}):Nm(e,t,i)}function Nm(e,t,i){t.status="fulfilled",t.value=i,Lm(t),e.state=i,t=e.pending,t!==null&&(i=t.next,i===t?e.pending=null:(i=i.next,t.next=i,Om(e,i)))}function fc(e,t,i){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=i,Lm(t),t=t.next;while(t!==r)}e.action=null}function Lm(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Vm(e,t){return t}function Um(e,t){if(je){var i=Ke.formState;if(i!==null){e:{var r=ve;if(je){if(Je){t:{for(var u=Je,f=pn;u.nodeType!==8;){if(!f){u=null;break t}if(u=gn(u.nextSibling),u===null){u=null;break t}}f=u.data,u=f==="F!"||f==="F"?u:null}if(u){Je=gn(u.nextSibling),r=u.data==="F!";break e}}za(r)}r=!1}r&&(t=i[0])}}return i=_t(),i.memoizedState=i.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vm,lastRenderedState:t},i.queue=r,i=tp.bind(null,ve,r),r.dispatch=i,r=cc(!1),f=gc.bind(null,ve,!1,r.queue),r=_t(),u={state:t,dispatch:null,action:e,pending:null},r.queue=u,i=_S.bind(null,ve,u,f,i),u.dispatch=i,r.memoizedState=e,[t,i,!1]}function Bm(e){var t=dt();return _m(t,Ye,e)}function _m(e,t,i){if(t=oc(e,t,Vm)[0],e=Ks(ia)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=or(t)}catch(y){throw y===tl?Vs:y}else r=t;t=dt();var u=t.queue,f=u.dispatch;return i!==t.memoizedState&&(ve.flags|=2048,rl(9,{destroy:void 0},HS.bind(null,u,i),null)),[r,f,e]}function HS(e,t){e.action=t}function Hm(e){var t=dt(),i=Ye;if(i!==null)return _m(t,i,e);dt(),t=t.memoizedState,i=dt();var r=i.queue.dispatch;return i.memoizedState=e,[t,r,!1]}function rl(e,t,i,r){return e={tag:e,create:i,deps:r,inst:t,next:null},t=ve.updateQueue,t===null&&(t=Gs(),ve.updateQueue=t),i=t.lastEffect,i===null?t.lastEffect=e.next=e:(r=i.next,i.next=e,e.next=r,t.lastEffect=e),e}function km(){return dt().memoizedState}function Qs(e,t,i,r){var u=_t();ve.flags|=e,u.memoizedState=rl(1|t,{destroy:void 0},i,r===void 0?null:r)}function Fs(e,t,i,r){var u=dt();r=r===void 0?null:r;var f=u.memoizedState.inst;Ye!==null&&r!==null&&nc(r,Ye.memoizedState.deps)?u.memoizedState=rl(t,f,i,r):(ve.flags|=e,u.memoizedState=rl(1|t,f,i,r))}function Ym(e,t){Qs(8390656,8,e,t)}function dc(e,t){Fs(2048,8,e,t)}function kS(e){ve.flags|=4;var t=ve.updateQueue;if(t===null)t=Gs(),ve.updateQueue=t,t.events=[e];else{var i=t.events;i===null?t.events=[e]:i.push(e)}}function qm(e){var t=dt().memoizedState;return kS({ref:t,nextImpl:e}),function(){if((_e&2)!==0)throw Error(s(440));return t.impl.apply(void 0,arguments)}}function Gm(e,t){return Fs(4,2,e,t)}function Xm(e,t){return Fs(4,4,e,t)}function Km(e,t){if(typeof t=="function"){e=e();var i=t(e);return function(){typeof i=="function"?i():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Qm(e,t,i){i=i!=null?i.concat([e]):null,Fs(4,4,Km.bind(null,t,e),i)}function hc(){}function Fm(e,t){var i=dt();t=t===void 0?null:t;var r=i.memoizedState;return t!==null&&nc(t,r[1])?r[0]:(i.memoizedState=[e,t],e)}function Zm(e,t){var i=dt();t=t===void 0?null:t;var r=i.memoizedState;if(t!==null&&nc(t,r[1]))return r[0];if(r=e(),Ti){wt(!0);try{e()}finally{wt(!1)}}return i.memoizedState=[r,t],r}function mc(e,t,i){return i===void 0||(aa&1073741824)!==0&&(De&261930)===0?e.memoizedState=t:(e.memoizedState=i,e=Pp(),ve.lanes|=e,Ha|=e,i)}function Pm(e,t,i,r){return $t(i,t)?i:al.current!==null?(e=mc(e,i,r),$t(e,t)||(gt=!0),e):(aa&42)===0||(aa&1073741824)!==0&&(De&261930)===0?(gt=!0,e.memoizedState=i):(e=Pp(),ve.lanes|=e,Ha|=e,t)}function Jm(e,t,i,r,u){var f=K.p;K.p=f!==0&&8>f?f:8;var y=_.T,x={};_.T=x,gc(e,!1,t,i);try{var T=u(),L=_.S;if(L!==null&&L(x,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var q=VS(T,r);ur(e,t,q,an(e))}else ur(e,t,r,an(e))}catch(X){ur(e,t,{then:function(){},status:"rejected",reason:X},an())}finally{K.p=f,y!==null&&x.types!==null&&(y.types=x.types),_.T=y}}function YS(){}function pc(e,t,i,r){if(e.tag!==5)throw Error(s(476));var u=$m(e).queue;Jm(e,u,t,J,i===null?YS:function(){return Wm(e),i(r)})}function $m(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:J},next:null};var i={};return t.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:i},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Wm(e){var t=$m(e);t.next===null&&(t=e.alternate.memoizedState),ur(e,t.next.queue,{},an())}function yc(){return Ct(Mr)}function Im(){return dt().memoizedState}function ep(){return dt().memoizedState}function qS(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var i=an();e=Na(i);var r=La(t,e,i);r!==null&&(Zt(r,t,i),ir(r,t,i)),t={cache:Ku()},e.payload=t;return}t=t.return}}function GS(e,t,i){var r=an();i={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Zs(e)?np(t,i):(i=Lu(e,t,i,r),i!==null&&(Zt(i,e,r),ap(i,t,r)))}function tp(e,t,i){var r=an();ur(e,t,i,r)}function ur(e,t,i,r){var u={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Zs(e))np(t,u);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null))try{var y=t.lastRenderedState,x=f(y,i);if(u.hasEagerState=!0,u.eagerState=x,$t(x,y))return Rs(e,t,u,0),Ke===null&&Cs(),!1}catch{}finally{}if(i=Lu(e,t,u,r),i!==null)return Zt(i,e,r),ap(i,t,r),!0}return!1}function gc(e,t,i,r){if(r={lane:2,revertLane:Pc(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Zs(e)){if(t)throw Error(s(479))}else t=Lu(e,i,r,2),t!==null&&Zt(t,e,2)}function Zs(e){var t=e.alternate;return e===ve||t!==null&&t===ve}function np(e,t){il=Ys=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function ap(e,t,i){if((i&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,i|=r,t.lanes=i,ys(e,i)}}var cr={readContext:Ct,use:Xs,useCallback:rt,useContext:rt,useEffect:rt,useImperativeHandle:rt,useLayoutEffect:rt,useInsertionEffect:rt,useMemo:rt,useReducer:rt,useRef:rt,useState:rt,useDebugValue:rt,useDeferredValue:rt,useTransition:rt,useSyncExternalStore:rt,useId:rt,useHostTransitionStatus:rt,useFormState:rt,useActionState:rt,useOptimistic:rt,useMemoCache:rt,useCacheRefresh:rt};cr.useEffectEvent=rt;var ip={readContext:Ct,use:Xs,useCallback:function(e,t){return _t().memoizedState=[e,t===void 0?null:t],e},useContext:Ct,useEffect:Ym,useImperativeHandle:function(e,t,i){i=i!=null?i.concat([e]):null,Qs(4194308,4,Km.bind(null,t,e),i)},useLayoutEffect:function(e,t){return Qs(4194308,4,e,t)},useInsertionEffect:function(e,t){Qs(4,2,e,t)},useMemo:function(e,t){var i=_t();t=t===void 0?null:t;var r=e();if(Ti){wt(!0);try{e()}finally{wt(!1)}}return i.memoizedState=[r,t],r},useReducer:function(e,t,i){var r=_t();if(i!==void 0){var u=i(t);if(Ti){wt(!0);try{i(t)}finally{wt(!1)}}}else u=t;return r.memoizedState=r.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},r.queue=e,e=e.dispatch=GS.bind(null,ve,e),[r.memoizedState,e]},useRef:function(e){var t=_t();return e={current:e},t.memoizedState=e},useState:function(e){e=cc(e);var t=e.queue,i=tp.bind(null,ve,t);return t.dispatch=i,[e.memoizedState,i]},useDebugValue:hc,useDeferredValue:function(e,t){var i=_t();return mc(i,e,t)},useTransition:function(){var e=cc(!1);return e=Jm.bind(null,ve,e.queue,!0,!1),_t().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,i){var r=ve,u=_t();if(je){if(i===void 0)throw Error(s(407));i=i()}else{if(i=t(),Ke===null)throw Error(s(349));(De&127)!==0||Am(r,t,i)}u.memoizedState=i;var f={value:i,getSnapshot:t};return u.queue=f,Ym(Cm.bind(null,r,f,e),[e]),r.flags|=2048,rl(9,{destroy:void 0},Mm.bind(null,r,f,i,t),null),i},useId:function(){var e=_t(),t=Ke.identifierPrefix;if(je){var i=Bn,r=Un;i=(r&~(1<<32-jt(r)-1)).toString(32)+i,t="_"+t+"R_"+i,i=qs++,0<i&&(t+="H"+i.toString(32)),t+="_"}else i=US++,t="_"+t+"r_"+i.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:yc,useFormState:Um,useActionState:Um,useOptimistic:function(e){var t=_t();t.memoizedState=t.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=i,t=gc.bind(null,ve,!0,i),i.dispatch=t,[e,t]},useMemoCache:sc,useCacheRefresh:function(){return _t().memoizedState=qS.bind(null,ve)},useEffectEvent:function(e){var t=_t(),i={impl:e};return t.memoizedState=i,function(){if((_e&2)!==0)throw Error(s(440));return i.impl.apply(void 0,arguments)}}},vc={readContext:Ct,use:Xs,useCallback:Fm,useContext:Ct,useEffect:dc,useImperativeHandle:Qm,useInsertionEffect:Gm,useLayoutEffect:Xm,useMemo:Zm,useReducer:Ks,useRef:km,useState:function(){return Ks(ia)},useDebugValue:hc,useDeferredValue:function(e,t){var i=dt();return Pm(i,Ye.memoizedState,e,t)},useTransition:function(){var e=Ks(ia)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:or(e),t]},useSyncExternalStore:Em,useId:Im,useHostTransitionStatus:yc,useFormState:Bm,useActionState:Bm,useOptimistic:function(e,t){var i=dt();return zm(i,Ye,e,t)},useMemoCache:sc,useCacheRefresh:ep};vc.useEffectEvent=qm;var lp={readContext:Ct,use:Xs,useCallback:Fm,useContext:Ct,useEffect:dc,useImperativeHandle:Qm,useInsertionEffect:Gm,useLayoutEffect:Xm,useMemo:Zm,useReducer:uc,useRef:km,useState:function(){return uc(ia)},useDebugValue:hc,useDeferredValue:function(e,t){var i=dt();return Ye===null?mc(i,e,t):Pm(i,Ye.memoizedState,e,t)},useTransition:function(){var e=uc(ia)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:or(e),t]},useSyncExternalStore:Em,useId:Im,useHostTransitionStatus:yc,useFormState:Hm,useActionState:Hm,useOptimistic:function(e,t){var i=dt();
vendor: 13,723 bytes, line 25
25return Ye!==null?zm(i,Ye,e,t):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:sc,useCacheRefresh:ep};lp.useEffectEvent=qm;function bc(e,t,i,r){t=e.memoizedState,i=i(r,t),i=i==null?t:v({},t,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var xc={enqueueSetState:function(e,t,i){e=e._reactInternals;var r=an(),u=Na(r);u.payload=t,i!=null&&(u.callback=i),t=La(e,u,r),t!==null&&(Zt(t,e,r),ir(t,e,r))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var r=an(),u=Na(r);u.tag=1,u.payload=t,i!=null&&(u.callback=i),t=La(e,u,r),t!==null&&(Zt(t,e,r),ir(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=an(),r=Na(i);r.tag=2,t!=null&&(r.callback=t),t=La(e,r,i),t!==null&&(Zt(t,e,i),ir(t,e,i))}};function rp(e,t,i,r,u,f,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,f,y):t.prototype&&t.prototype.isPureReactComponent?!Jl(i,r)||!Jl(u,f):!0}function sp(e,t,i,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,r),t.state!==e&&xc.enqueueReplaceState(t,t.state,null)}function wi(e,t){var i=t;if("ref"in t){i={};for(var r in t)r!=="ref"&&(i[r]=t[r])}if(e=e.defaultProps){i===t&&(i=v({},i));for(var u in e)i[u]===void 0&&(i[u]=e[u])}return i}function op(e){Ms(e)}function up(e){console.error(e)}function cp(e){Ms(e)}function Ps(e,t){try{var i=e.onUncaughtError;i(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function fp(e,t,i){try{var r=e.onCaughtError;r(i.value,{componentStack:i.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Sc(e,t,i){return i=Na(i),i.tag=3,i.payload={element:null},i.callback=function(){Ps(e,t)},i}function dp(e){return e=Na(e),e.tag=3,e}function hp(e,t,i,r){var u=i.type.getDerivedStateFromError;if(typeof u=="function"){var f=r.value;e.payload=function(){return u(f)},e.callback=function(){fp(t,i,r)}}var y=i.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){fp(t,i,r),typeof u!="function"&&(ka===null?ka=new Set([this]):ka.add(this));var x=r.stack;this.componentDidCatch(r.value,{componentStack:x!==null?x:""})})}function XS(e,t,i,r,u){if(i.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=i.alternate,t!==null&&Wi(t,i,u,!0),i=It.current,i!==null){switch(i.tag){case 31:case 13:return yn===null?so():i.alternate===null&&st===0&&(st=3),i.flags&=-257,i.flags|=65536,i.lanes=u,r===Us?i.flags|=16384:(t=i.updateQueue,t===null?i.updateQueue=new Set([r]):t.add(r),Qc(e,r,u)),!1;case 22:return i.flags|=65536,r===Us?i.flags|=16384:(t=i.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},i.updateQueue=t):(i=t.retryQueue,i===null?t.retryQueue=new Set([r]):i.add(r)),Qc(e,r,u)),!1}throw Error(s(435,i.tag))}return Qc(e,r,u),so(),!1}if(je)return t=It.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,r!==ku&&(e=Error(s(422),{cause:r}),Il(dn(e,i)))):(r!==ku&&(t=Error(s(423),{cause:r}),Il(dn(t,i))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,r=dn(r,i),u=Sc(e.stateNode,r,u),$u(e,u),st!==4&&(st=2)),!1;var f=Error(s(520),{cause:r});if(f=dn(f,i),vr===null?vr=[f]:vr.push(f),st!==4&&(st=2),t===null)return!0;r=dn(r,i),i=t;do{switch(i.tag){case 3:return i.flags|=65536,e=u&-u,i.lanes|=e,e=Sc(i.stateNode,r,e),$u(i,e),!1;case 1:if(t=i.type,f=i.stateNode,(i.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(ka===null||!ka.has(f))))return i.flags|=65536,u&=-u,i.lanes|=u,u=dp(u),hp(u,e,i,r),$u(i,u),!1}i=i.return}while(i!==null);return!1}var Tc=Error(s(461)),gt=!1;function Rt(e,t,i,r){t.child=e===null?gm(t,null,i,r):Si(t,e.child,i,r)}function mp(e,t,i,r,u){i=i.render;var f=t.ref;if("ref"in r){var y={};for(var x in r)x!=="ref"&&(y[x]=r[x])}else y=r;return gi(t),r=ac(e,t,i,y,f,u),x=ic(),e!==null&&!gt?(lc(e,t,u),la(e,t,u)):(je&&x&&_u(t),t.flags|=1,Rt(e,t,r,u),t.child)}function pp(e,t,i,r,u){if(e===null){var f=i.type;return typeof f=="function"&&!Vu(f)&&f.defaultProps===void 0&&i.compare===null?(t.tag=15,t.type=f,yp(e,t,f,r,u)):(e=zs(i.type,null,r,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,!zc(e,u)){var y=f.memoizedProps;if(i=i.compare,i=i!==null?i:Jl,i(y,r)&&e.ref===t.ref)return la(e,t,u)}return t.flags|=1,e=In(f,r),e.ref=t.ref,e.return=t,t.child=e}function yp(e,t,i,r,u){if(e!==null){var f=e.memoizedProps;if(Jl(f,r)&&e.ref===t.ref)if(gt=!1,t.pendingProps=r=f,zc(e,u))(e.flags&131072)!==0&&(gt=!0);else return t.lanes=e.lanes,la(e,t,u)}return wc(e,t,i,r,u)}function gp(e,t,i,r){var u=r.children,f=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(f=f!==null?f.baseLanes|i:i,e!==null){for(r=t.child=e.child,u=0;r!==null;)u=u|r.lanes|r.childLanes,r=r.sibling;r=u&~f}else r=0,t.child=null;return vp(e,t,f,i,r)}if((i&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ls(t,f!==null?f.cachePool:null),f!==null?xm(t,f):Iu(),Sm(t);else return r=t.lanes=536870912,vp(e,t,f!==null?f.baseLanes|i:i,i,r)}else f!==null?(Ls(t,f.cachePool),xm(t,f),Ua(),t.memoizedState=null):(e!==null&&Ls(t,null),Iu(),Ua());return Rt(e,t,u,i),t.child}function fr(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function vp(e,t,i,r,u){var f=Fu();return f=f===null?null:{parent:pt._currentValue,pool:f},t.memoizedState={baseLanes:i,cachePool:f},e!==null&&Ls(t,null),Iu(),Sm(t),e!==null&&Wi(e,t,r,!0),t.childLanes=u,null}function Js(e,t){return t=Ws({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function bp(e,t,i){return Si(t,e.child,null,i),e=Js(t,t.pendingProps),e.flags|=2,en(t),t.memoizedState=null,e}function KS(e,t,i){var r=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(je){if(r.mode==="hidden")return e=Js(t,r),t.lanes=536870912,fr(null,e);if(tc(t),(e=Je)?(e=Oy(e,pn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ra!==null?{id:Un,overflow:Bn}:null,retryLane:536870912,hydrationErrors:null},i=nm(e),i.return=t,t.child=i,Mt=t,Je=null)):e=null,e===null)throw za(t);return t.lanes=536870912,null}return Js(t,r)}var f=e.memoizedState;if(f!==null){var y=f.dehydrated;if(tc(t),u)if(t.flags&256)t.flags&=-257,t=bp(e,t,i);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(s(558));else if(gt||Wi(e,t,i,!1),u=(i&e.childLanes)!==0,gt||u){if(r=Ke,r!==null&&(y=w(r,i),y!==0&&y!==f.retryLane))throw f.retryLane=y,hi(e,y),Zt(r,e,y),Tc;so(),t=bp(e,t,i)}else e=f.treeContext,Je=gn(y.nextSibling),Mt=t,je=!0,Da=null,pn=!1,e!==null&&lm(t,e),t=Js(t,r),t.flags|=4096;return t}return e=In(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function $s(e,t){var i=t.ref;if(i===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(s(284));(e===null||e.ref!==i)&&(t.flags|=4194816)}}function wc(e,t,i,r,u){return gi(t),i=ac(e,t,i,r,void 0,u),r=ic(),e!==null&&!gt?(lc(e,t,u),la(e,t,u)):(je&&r&&_u(t),t.flags|=1,Rt(e,t,i,u),t.child)}function xp(e,t,i,r,u,f){return gi(t),t.updateQueue=null,i=wm(t,r,i,u),Tm(e),r=ic(),e!==null&&!gt?(lc(e,t,f),la(e,t,f)):(je&&r&&_u(t),t.flags|=1,Rt(e,t,i,f),t.child)}function Sp(e,t,i,r,u){if(gi(t),t.stateNode===null){var f=Zi,y=i.contextType;typeof y=="object"&&y!==null&&(f=Ct(y)),f=new i(r,f),t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=xc,t.stateNode=f,f._reactInternals=t,f=t.stateNode,f.props=r,f.state=t.memoizedState,f.refs={},Pu(t),y=i.contextType,f.context=typeof y=="object"&&y!==null?Ct(y):Zi,f.state=t.memoizedState,y=i.getDerivedStateFromProps,typeof y=="function"&&(bc(t,i,y,r),f.state=t.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(y=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),y!==f.state&&xc.enqueueReplaceState(f,f.state,null),rr(t,r,f,u),lr(),f.state=t.memoizedState),typeof f.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){f=t.stateNode;var x=t.memoizedProps,T=wi(i,x);f.props=T;var L=f.context,q=i.contextType;y=Zi,typeof q=="object"&&q!==null&&(y=Ct(q));var X=i.getDerivedStateFromProps;q=typeof X=="function"||typeof f.getSnapshotBeforeUpdate=="function",x=t.pendingProps!==x,q||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(x||L!==y)&&sp(t,f,r,y),ja=!1;var U=t.memoizedState;f.state=U,rr(t,r,f,u),lr(),L=t.memoizedState,x||U!==L||ja?(typeof X=="function"&&(bc(t,i,X,r),L=t.memoizedState),(T=ja||rp(t,i,T,r,U,L,y))?(q||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(t.flags|=4194308)):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=L),f.props=r,f.state=L,f.context=y,r=T):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{f=t.stateNode,Ju(e,t),y=t.memoizedProps,q=wi(i,y),f.props=q,X=t.pendingProps,U=f.context,L=i.contextType,T=Zi,typeof L=="object"&&L!==null&&(T=Ct(L)),x=i.getDerivedStateFromProps,(L=typeof x=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(y!==X||U!==T)&&sp(t,f,r,T),ja=!1,U=t.memoizedState,f.state=U,rr(t,r,f,u),lr();var Y=t.memoizedState;y!==X||U!==Y||ja||e!==null&&e.dependencies!==null&&js(e.dependencies)?(typeof x=="function"&&(bc(t,i,x,r),Y=t.memoizedState),(q=ja||rp(t,i,q,r,U,Y,T)||e!==null&&e.dependencies!==null&&js(e.dependencies))?(L||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(r,Y,T),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(r,Y,T)),typeof f.componentDidUpdate=="function"&&(t.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof f.componentDidUpdate!="function"||y===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=Y),f.props=r,f.state=Y,f.context=T,r=q):(typeof f.componentDidUpdate!="function"||y===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),r=!1)}return f=r,$s(e,t),r=(t.flags&128)!==0,f||r?(f=t.stateNode,i=r&&typeof i.getDerivedStateFromError!="function"?null:f.render(),t.flags|=1,e!==null&&r?(t.child=Si(t,e.child,null,u),t.child=Si(t,null,i,u)):Rt(e,t,i,u),t.memoizedState=f.state,e=t.child):e=la(e,t,u),e}function Tp(e,t,i,r){return pi(),t.flags|=256,Rt(e,t,i,r),t.child}var Ec={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ac(e){return{baseLanes:e,cachePool:fm()}}function Mc(e,t,i){return e=e!==null?e.childLanes&~i:0,t&&(e|=nn),e}function wp(e,t,i){var r=t.pendingProps,u=!1,f=(t.flags&128)!==0,y;if((y=f)||(y=e!==null&&e.memoizedState===null?!1:(ft.current&2)!==0),y&&(u=!0,t.flags&=-129),y=(t.flags&32)!==0,t.flags&=-33,e===null){if(je){if(u?Va(t):Ua(),(e=Je)?(e=Oy(e,pn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ra!==null?{id:Un,overflow:Bn}:null,retryLane:536870912,hydrationErrors:null},i=nm(e),i.return=t,t.child=i,Mt=t,Je=null)):e=null,e===null)throw za(t);return uf(e)?t.lanes=32:t.lanes=536870912,null}var x=r.children;return r=r.fallback,u?(Ua(),u=t.mode,x=Ws({mode:"hidden",children:x},u),r=mi(r,u,i,null),x.return=t,r.return=t,x.sibling=r,t.child=x,r=t.child,r.memoizedState=Ac(i),r.childLanes=Mc(e,y,i),t.memoizedState=Ec,fr(null,r)):(Va(t),Cc(t,x))}var T=e.memoizedState;if(T!==null&&(x=T.dehydrated,x!==null)){if(f)t.flags&256?(Va(t),t.flags&=-257,t=Rc(e,t,i)):t.memoizedState!==null?(Ua(),t.child=e.child,t.flags|=128,t=null):(Ua(),x=r.fallback,u=t.mode,r=Ws({mode:"visible",children:r.children},u),x=mi(x,u,i,null),x.flags|=2,r.return=t,x.return=t,r.sibling=x,t.child=r,Si(t,e.child,null,i),r=t.child,r.memoizedState=Ac(i),r.childLanes=Mc(e,y,i),t.memoizedState=Ec,t=fr(null,r));else if(Va(t),uf(x)){if(y=x.nextSibling&&x.nextSibling.dataset,y)var L=y.dgst;y=L,r=Error(s(419)),r.stack="",r.digest=y,Il({value:r,source:null,stack:null}),t=Rc(e,t,i)}else if(gt||Wi(e,t,i,!1),y=(i&e.childLanes)!==0,gt||y){if(y=Ke,y!==null&&(r=w(y,i),r!==0&&r!==T.retryLane))throw T.retryLane=r,hi(e,r),Zt(y,e,r),Tc;of(x)||so(),t=Rc(e,t,i)}else of(x)?(t.flags|=192,t.child=e.child,t=null):(e=T.treeContext,Je=gn(x.nextSibling),Mt=t,je=!0,Da=null,pn=!1,e!==null&&lm(t,e),t=Cc(t,r.children),t.flags|=4096);return t}return u?(Ua(),x=r.fallback,u=t.mode,T=e.child,L=T.sibling,r=In(T,{mode:"hidden",children:r.children}),r.subtreeFlags=T.subtreeFlags&65011712,L!==null?x=In(L,x):(x=mi(x,u,i,null),x.flags|=2),x.return=t,r.return=t,r.sibling=x,t.child=r,fr(null,r),r=t.child,x=e.child.memoizedState,x===null?x=Ac(i):(u=x.cachePool,u!==null?(T=pt._currentValue,u=u.parent!==T?{parent:T,pool:T}
vendor: 9,098 bytes, line 25
25:u):u=fm(),x={baseLanes:x.baseLanes|i,cachePool:u}),r.memoizedState=x,r.childLanes=Mc(e,y,i),t.memoizedState=Ec,fr(e.child,r)):(Va(t),i=e.child,e=i.sibling,i=In(i,{mode:"visible",children:r.children}),i.return=t,i.sibling=null,e!==null&&(y=t.deletions,y===null?(t.deletions=[e],t.flags|=16):y.push(e)),t.child=i,t.memoizedState=null,i)}function Cc(e,t){return t=Ws({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ws(e,t){return e=Wt(22,e,null,t),e.lanes=0,e}function Rc(e,t,i){return Si(t,e.child,null,i),e=Cc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ep(e,t,i){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Gu(e.return,t,i)}function Dc(e,t,i,r,u,f){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:i,tailMode:u,treeForkCount:f}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=r,y.tail=i,y.tailMode=u,y.treeForkCount=f)}function Ap(e,t,i){var r=t.pendingProps,u=r.revealOrder,f=r.tail;r=r.children;var y=ft.current,x=(y&2)!==0;if(x?(y=y&1|2,t.flags|=128):y&=1,ye(ft,y),Rt(e,t,r,i),r=je?Wl:0,!x&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ep(e,i,t);else if(e.tag===19)Ep(e,i,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(u){case"forwards":for(i=t.child,u=null;i!==null;)e=i.alternate,e!==null&&ks(e)===null&&(u=i),i=i.sibling;i=u,i===null?(u=t.child,t.child=null):(u=i.sibling,i.sibling=null),Dc(t,!1,u,i,f,r);break;case"backwards":case"unstable_legacy-backwards":for(i=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&ks(e)===null){t.child=u;break}e=u.sibling,u.sibling=i,i=u,u=e}Dc(t,!0,i,null,f,r);break;case"together":Dc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function la(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),Ha|=t.lanes,(i&t.childLanes)===0)if(e!==null){if(Wi(e,t,i,!1),(i&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,i=In(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=In(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function zc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&js(e)))}function QS(e,t,i){switch(t.tag){case 3:Qn(t,t.stateNode.containerInfo),Oa(t,pt,e.memoizedState.cache),pi();break;case 27:case 5:Ul(t);break;case 4:Qn(t,t.stateNode.containerInfo);break;case 10:Oa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,tc(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(Va(t),t.flags|=128,null):(i&t.child.childLanes)!==0?wp(e,t,i):(Va(t),e=la(e,t,i),e!==null?e.sibling:null);Va(t);break;case 19:var u=(e.flags&128)!==0;if(r=(i&t.childLanes)!==0,r||(Wi(e,t,i,!1),r=(i&t.childLanes)!==0),u){if(r)return Ap(e,t,i);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ye(ft,ft.current),r)break;return null;case 22:return t.lanes=0,gp(e,t,i,t.pendingProps);case 24:Oa(t,pt,e.memoizedState.cache)}return la(e,t,i)}function Mp(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps)gt=!0;else{if(!zc(e,i)&&(t.flags&128)===0)return gt=!1,QS(e,t,i);gt=(e.flags&131072)!==0}else gt=!1,je&&(t.flags&1048576)!==0&&im(t,Wl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=bi(t.elementType),t.type=e,typeof e=="function")Vu(e)?(r=wi(e,r),t.tag=1,t=Sp(null,t,e,r,i)):(t.tag=0,t=wc(null,t,e,r,i));else{if(e!=null){var u=e.$$typeof;if(u===P){t.tag=11,t=mp(null,t,e,r,i);break e}else if(u===fe){t.tag=14,t=pp(null,t,e,r,i);break e}}throw t=we(e)||e,Error(s(306,t,""))}}return t;case 0:return wc(e,t,t.type,t.pendingProps,i);case 1:return r=t.type,u=wi(r,t.pendingProps),Sp(e,t,r,u,i);case 3:e:{if(Qn(t,t.stateNode.containerInfo),e===null)throw Error(s(387));r=t.pendingProps;var f=t.memoizedState;u=f.element,Ju(e,t),rr(t,r,null,i);var y=t.memoizedState;if(r=y.cache,Oa(t,pt,r),r!==f.cache&&Xu(t,[pt],i,!0),lr(),r=y.element,f.isDehydrated)if(f={element:r,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){t=Tp(e,t,r,i);break e}else if(r!==u){u=dn(Error(s(424)),t),Il(u),t=Tp(e,t,r,i);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Je=gn(e.firstChild),Mt=t,je=!0,Da=null,pn=!0,i=gm(t,null,r,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(pi(),r===u){t=la(e,t,i);break e}Rt(e,t,r,i)}t=t.child}return t;case 26:return $s(e,t),e===null?(i=By(t.type,null,t.pendingProps,null))?t.memoizedState=i:je||(i=t.type,e=t.pendingProps,r=po(it.current).createElement(i),r[$]=t,r[le]=e,Dt(r,i,e),Fe(r),t.stateNode=r):t.memoizedState=By(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ul(t),e===null&&je&&(r=t.stateNode=Ly(t.type,t.pendingProps,it.current),Mt=t,pn=!0,u=Je,Xa(t.type)?(cf=u,Je=gn(r.firstChild)):Je=u),Rt(e,t,t.pendingProps.children,i),$s(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&je&&((u=r=Je)&&(r=T1(r,t.type,t.pendingProps,pn),r!==null?(t.stateNode=r,Mt=t,Je=gn(r.firstChild),pn=!1,u=!0):u=!1),u||za(t)),Ul(t),u=t.type,f=t.pendingProps,y=e!==null?e.memoizedProps:null,r=f.children,lf(u,f)?r=null:y!==null&&lf(u,y)&&(t.flags|=32),t.memoizedState!==null&&(u=ac(e,t,BS,null,null,i),Mr._currentValue=u),$s(e,t),Rt(e,t,r,i),t.child;case 6:return e===null&&je&&((e=i=Je)&&(i=w1(i,t.pendingProps,pn),i!==null?(t.stateNode=i,Mt=t,Je=null,e=!0):e=!1),e||za(t)),null;case 13:return wp(e,t,i);case 4:return Qn(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Si(t,null,r,i):Rt(e,t,r,i),t.child;case 11:return mp(e,t,t.type,t.pendingProps,i);case 7:return Rt(e,t,t.pendingProps,i),t.child;case 8:return Rt(e,t,t.pendingProps.children,i),t.child;case 12:return Rt(e,t,t.pendingProps.children,i),t.child;case 10:return r=t.pendingProps,Oa(t,t.type,r.value),Rt(e,t,r.children,i),t.child;case 9:return u=t.type._context,r=t.pendingProps.children,gi(t),u=Ct(u),r=r(u),t.flags|=1,Rt(e,t,r,i),t.child;case 14:return pp(e,t,t.type,t.pendingProps,i);case 15:return yp(e,t,t.type,t.pendingProps,i);case 19:return Ap(e,t,i);case 31:return KS(e,t,i);case 22:return gp(e,t,i,t.pendingProps);case 24:return gi(t),r=Ct(pt),e===null?(u=Fu(),u===null&&(u=Ke,f=Ku(),u.pooledCache=f,f.refCount++,f!==null&&(u.pooledCacheLanes|=i),u=f),t.memoizedState={parent:r,cache:u},Pu(t),Oa(t,pt,u)):((e.lanes&i)!==0&&(Ju(e,t),rr(t,null,null,i),lr()),u=e.memoizedState,f=t.memoizedState,u.parent!==r?(u={parent:r,cache:r},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),Oa(t,pt,r)):(r=f.cache,Oa(t,pt,r),r!==u.cache&&Xu(t,[pt],i,!0))),Rt(e,t,t.pendingProps.children,i),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function ra(e){e.flags|=4}function Oc(e,t,i,r,u){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(u&335544128)===u)if(e.stateNode.complete)e.flags|=8192;else if(Ip())e.flags|=8192;else throw xi=Us,Zu}else e.flags&=-16777217}function Cp(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!qy(t))if(Ip())e.flags|=8192;else throw xi=Us,Zu}function Is(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ql():536870912,e.lanes|=t,cl|=t)}function dr(e,t){if(!je)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var r=null;i!==null;)i.alternate!==null&&(r=i),i=i.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function $e(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,r=0;if(t)for(var u=e.child;u!==null;)i|=u.lanes|u.childLanes,r|=u.subtreeFlags&65011712,r|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)i|=u.lanes|u.childLanes,r|=u.subtreeFlags,r|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=r,e.childLanes=i,t}function FS(e,t,i){var r=t.pendingProps;switch(Hu(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $e(t),null;case 1:return $e(t),null;case 3:return i=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),na(pt),Yt(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&($i(t)?ra(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Yu())),$e(t),null;case 26:var u=t.type,f=t.memoizedState;return e===null?(ra(t),f!==null?($e(t),Cp(t,f)):($e(t),Oc(t,u,null,r,i))):f?f!==e.memoizedState?(ra(t),$e(t),Cp(t,f)):($e(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&ra(t),$e(t),Oc(t,u,e,r,i)),null;case 27:if(Ni(t),i=it.current,u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&ra(t);else{if(!r){if(t.stateNode===null)throw Error(s(166));return $e(t),null}
vendor: 4,246 bytes, line 25
25e=Be.current,$i(t)?rm(t):(e=Ly(u,r,i),t.stateNode=e,ra(t))}return $e(t),null;case 5:if(Ni(t),u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&ra(t);else{if(!r){if(t.stateNode===null)throw Error(s(166));return $e(t),null}if(f=Be.current,$i(t))rm(t);else{var y=po(it.current);switch(f){case 1:f=y.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:f=y.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":f=y.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":f=y.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":f=y.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof r.is=="string"?y.createElement("select",{is:r.is}):y.createElement("select"),r.multiple?f.multiple=!0:r.size&&(f.size=r.size);break;default:f=typeof r.is=="string"?y.createElement(u,{is:r.is}):y.createElement(u)}}f[$]=t,f[le]=r;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)f.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=f;e:switch(Dt(f,u,r),u){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&ra(t)}}return $e(t),Oc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,i),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&ra(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(s(166));if(e=it.current,$i(t)){if(e=t.stateNode,i=t.memoizedProps,r=null,u=Mt,u!==null)switch(u.tag){case 27:case 5:r=u.memoizedProps}e[$]=t,e=!!(e.nodeValue===i||r!==null&&r.suppressHydrationWarning===!0||wy(e.nodeValue,i)),e||za(t,!0)}else e=po(e).createTextNode(r),e[$]=t,t.stateNode=e}return $e(t),null;case 31:if(i=t.memoizedState,e===null||e.memoizedState!==null){if(r=$i(t),i!==null){if(e===null){if(!r)throw Error(s(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[$]=t}else pi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;$e(t),e=!1}else i=Yu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return t.flags&256?(en(t),t):(en(t),null);if((t.flags&128)!==0)throw Error(s(558))}return $e(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=$i(t),r!==null&&r.dehydrated!==null){if(e===null){if(!u)throw Error(s(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(s(317));u[$]=t}else pi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;$e(t),u=!1}else u=Yu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(en(t),t):(en(t),null)}return en(t),(t.flags&128)!==0?(t.lanes=i,t):(i=r!==null,e=e!==null&&e.memoizedState!==null,i&&(r=t.child,u=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(u=r.alternate.memoizedState.cachePool.pool),f=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(f=r.memoizedState.cachePool.pool),f!==u&&(r.flags|=2048)),i!==e&&i&&(t.child.flags|=8192),Is(t,t.updateQueue),$e(t),null);case 4:return Yt(),e===null&&Ic(t.stateNode.containerInfo),$e(t),null;case 10:return na(t.type),$e(t),null;case 19:if(Oe(ft),r=t.memoizedState,r===null)return $e(t),null;if(u=(t.flags&128)!==0,f=r.rendering,f===null)if(u)dr(r,!1);else{if(st!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=ks(e),f!==null){for(t.flags|=128,dr(r,!1),e=f.updateQueue,t.updateQueue=e,Is(t,e),t.subtreeFlags=0,e=i,i=t.child;i!==null;)tm(i,e),i=i.sibling;return ye(ft,ft.current&1|2),je&&ea(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ut()>io&&(t.flags|=128,u=!0,dr(r,!1),t.lanes=4194304)}else{if(!u)if(e=ks(f),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,Is(t,e),dr(r,!0),r.tail===null&&r.tailMode==="hidden"&&!f.alternate&&!je)return $e(t),null}else 2*Ut()-r.renderingStartTime>io&&i!==536870912&&(t.flags|=128,u=!0,dr(r,!1),t.lanes=4194304);r.isBackwards?(f.sibling=t.child,t.child=f):(e=r.last,e!==null?e.sibling=f:t.child=f,r.last=f)}
vendor: 16,323 bytes, line 25
25return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ut(),e.sibling=null,i=ft.current,ye(ft,u?i&1|2:i&1),je&&ea(t,r.treeForkCount),e):($e(t),null);case 22:case 23:return en(t),ec(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(i&536870912)!==0&&(t.flags&128)===0&&($e(t),t.subtreeFlags&6&&(t.flags|=8192)):$e(t),i=t.updateQueue,i!==null&&Is(t,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==i&&(t.flags|=2048),e!==null&&Oe(vi),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),na(pt),$e(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function ZS(e,t){switch(Hu(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return na(pt),Yt(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ni(t),null;case 31:if(t.memoizedState!==null){if(en(t),t.alternate===null)throw Error(s(340));pi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(en(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));pi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Oe(ft),null;case 4:return Yt(),null;case 10:return na(t.type),null;case 22:case 23:return en(t),ec(),e!==null&&Oe(vi),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return na(pt),null;case 25:return null;default:return null}}function Rp(e,t){switch(Hu(t),t.tag){case 3:na(pt),Yt();break;case 26:case 27:case 5:Ni(t);break;case 4:Yt();break;case 31:t.memoizedState!==null&&en(t);break;case 13:en(t);break;case 19:Oe(ft);break;case 10:na(t.type);break;case 22:case 23:en(t),ec(),e!==null&&Oe(vi);break;case 24:na(pt)}}function hr(e,t){try{var i=t.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var u=r.next;i=u;do{if((i.tag&e)===e){r=void 0;var f=i.create,y=i.inst;r=f(),y.destroy=r}i=i.next}while(i!==u)}}catch(x){ke(t,t.return,x)}}function Ba(e,t,i){try{var r=t.updateQueue,u=r!==null?r.lastEffect:null;if(u!==null){var f=u.next;r=f;do{if((r.tag&e)===e){var y=r.inst,x=y.destroy;if(x!==void 0){y.destroy=void 0,u=t;var T=i,L=x;try{L()}catch(q){ke(u,T,q)}}}r=r.next}while(r!==f)}}catch(q){ke(t,t.return,q)}}function Dp(e){var t=e.updateQueue;if(t!==null){var i=e.stateNode;try{bm(t,i)}catch(r){ke(e,e.return,r)}}}function zp(e,t,i){i.props=wi(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(r){ke(e,t,r)}}function mr(e,t){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof i=="function"?e.refCleanup=i(r):i.current=r}}catch(u){ke(e,t,u)}}function _n(e,t){var i=e.ref,r=e.refCleanup;if(i!==null)if(typeof r=="function")try{r()}catch(u){ke(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(u){ke(e,t,u)}else i.current=null}function Op(e){var t=e.type,i=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&r.focus();break e;case"img":i.src?r.src=i.src:i.srcSet&&(r.srcset=i.srcSet)}}catch(u){ke(e,e.return,u)}}function jc(e,t,i){try{var r=e.stateNode;y1(r,e.type,i,t),r[le]=t}catch(u){ke(e,e.return,u)}}function jp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Xa(e.type)||e.tag===4}function Nc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Xa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Lc(e,t,i){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,t):(t=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,t.appendChild(e),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=$n));else if(r!==4&&(r===27&&Xa(e.type)&&(i=e.stateNode,t=null),e=e.child,e!==null))for(Lc(e,t,i),e=e.sibling;e!==null;)Lc(e,t,i),e=e.sibling}function eo(e,t,i){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(r!==4&&(r===27&&Xa(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(eo(e,t,i),e=e.sibling;e!==null;)eo(e,t,i),e=e.sibling}function Np(e){var t=e.stateNode,i=e.memoizedProps;try{for(var r=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);Dt(t,r,i),t[$]=e,t[le]=i}catch(f){ke(e,e.return,f)}}var sa=!1,vt=!1,Vc=!1,Lp=typeof WeakSet=="function"?WeakSet:Set,At=null;function PS(e,t){if(e=e.containerInfo,nf=To,e=Qh(e),Ru(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var u=r.anchorOffset,f=r.focusNode;r=r.focusOffset;try{i.nodeType,f.nodeType}catch{i=null;break e}var y=0,x=-1,T=-1,L=0,q=0,X=e,U=null;t:for(;;){for(var Y;X!==i||u!==0&&X.nodeType!==3||(x=y+u),X!==f||r!==0&&X.nodeType!==3||(T=y+r),X.nodeType===3&&(y+=X.nodeValue.length),(Y=X.firstChild)!==null;)U=X,X=Y;for(;;){if(X===e)break t;if(U===i&&++L===u&&(x=y),U===f&&++q===r&&(T=y),(Y=X.nextSibling)!==null)break;X=U,U=X.parentNode}X=Y}i=x===-1||T===-1?null:{start:x,end:T}}else i=null}i=i||{start:0,end:0}}else i=null;for(af={focusedElem:e,selectionRange:i},To=!1,At=t;At!==null;)if(t=At,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,At=e;else for(;At!==null;){switch(t=At,f=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)u=e[i],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&f!==null){e=void 0,i=t,u=f.memoizedProps,f=f.memoizedState,r=i.stateNode;try{var ae=wi(i.type,u);e=r.getSnapshotBeforeUpdate(ae,f),r.__reactInternalSnapshotBeforeUpdate=e}catch(me){ke(i,i.return,me)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,i=e.nodeType,i===9)sf(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":sf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(s(163))}if(e=t.sibling,e!==null){e.return=t.return,At=e;break}At=t.return}}function Vp(e,t,i){var r=i.flags;switch(i.tag){case 0:case 11:case 15:ua(e,i),r&4&&hr(5,i);break;case 1:if(ua(e,i),r&4)if(e=i.stateNode,t===null)try{e.componentDidMount()}catch(y){ke(i,i.return,y)}else{var u=wi(i.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(u,t,e.__reactInternalSnapshotBeforeUpdate)}catch(y){ke(i,i.return,y)}}r&64&&Dp(i),r&512&&mr(i,i.return);break;case 3:if(ua(e,i),r&64&&(e=i.updateQueue,e!==null)){if(t=null,i.child!==null)switch(i.child.tag){case 27:case 5:t=i.child.stateNode;break;case 1:t=i.child.stateNode}try{bm(e,t)}catch(y){ke(i,i.return,y)}}break;case 27:t===null&&r&4&&Np(i);case 26:case 5:ua(e,i),t===null&&r&4&&Op(i),r&512&&mr(i,i.return);break;case 12:ua(e,i);break;case 31:ua(e,i),r&4&&_p(e,i);break;case 13:ua(e,i),r&4&&Hp(e,i),r&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=i1.bind(null,i),E1(e,i))));break;case 22:if(r=i.memoizedState!==null||sa,!r){t=t!==null&&t.memoizedState!==null||vt,u=sa;var f=vt;sa=r,(vt=t)&&!f?ca(e,i,(i.subtreeFlags&8772)!==0):ua(e,i),sa=u,vt=f}break;case 30:break;default:ua(e,i)}}function Up(e){var t=e.alternate;t!==null&&(e.alternate=null,Up(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Xe(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var tt=null,Xt=!1;function oa(e,t,i){for(i=i.child;i!==null;)Bp(e,t,i),i=i.sibling}function Bp(e,t,i){if(Bt&&typeof Bt.onCommitFiberUnmount=="function")try{Bt.onCommitFiberUnmount(Pn,i)}catch{}switch(i.tag){case 26:vt||_n(i,t),oa(e,t,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:vt||_n(i,t);var r=tt,u=Xt;Xa(i.type)&&(tt=i.stateNode,Xt=!1),oa(e,t,i),wr(i.stateNode),tt=r,Xt=u;break;case 5:vt||_n(i,t);case 6:if(r=tt,u=Xt,tt=null,oa(e,t,i),tt=r,Xt=u,tt!==null)if(Xt)try{(tt.nodeType===9?tt.body:tt.nodeName==="HTML"?tt.ownerDocument.body:tt).removeChild(i.stateNode)}catch(f){ke(i,t,f)}else try{tt.removeChild(i.stateNode)}catch(f){ke(i,t,f)}break;case 18:tt!==null&&(Xt?(e=tt,Dy(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),vl(e)):Dy(tt,i.stateNode));break;case 4:r=tt,u=Xt,tt=i.stateNode.containerInfo,Xt=!0,oa(e,t,i),tt=r,Xt=u;break;case 0:case 11:case 14:case 15:Ba(2,i,t),vt||Ba(4,i,t),oa(e,t,i);break;case 1:vt||(_n(i,t),r=i.stateNode,typeof r.componentWillUnmount=="function"&&zp(i,t,r)),oa(e,t,i);break;case 21:oa(e,t,i);break;case 22:vt=(r=vt)||i.memoizedState!==null,oa(e,t,i),vt=r;break;default:oa(e,t,i)}}function _p(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{vl(e)}catch(i){ke(t,t.return,i)}}}function Hp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{vl(e)}catch(i){ke(t,t.return,i)}}function JS(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Lp),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Lp),t;default:throw Error(s(435,e.tag))}}function to(e,t){var i=JS(e);t.forEach(function(r){if(!i.has(r)){i.add(r);var u=l1.bind(null,e,r);r.then(u,u)}})}function Kt(e,t){var i=t.deletions;if(i!==null)for(var r=0;r<i.length;r++){var u=i[r],f=e,y=t,x=y;e:for(;x!==null;){switch(x.tag){case 27:if(Xa(x.type)){tt=x.stateNode,Xt=!1;break e}break;case 5:tt=x.stateNode,Xt=!1;break e;case 3:case 4:tt=x.stateNode.containerInfo,Xt=!0;break e}x=x.return}if(tt===null)throw Error(s(160));Bp(f,y,u),tt=null,Xt=!1,f=u.alternate,f!==null&&(f.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)kp(t,e),t=t.sibling}var Cn=null;function kp(e,t){var i=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Kt(t,e),Qt(e),r&4&&(Ba(3,e,e.return),hr(3,e),Ba(5,e,e.return));break;case 1:Kt(t,e),Qt(e),r&512&&(vt||i===null||_n(i,i.return)),r&64&&sa&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?r:i.concat(r))));break;case 26:var u=Cn;if(Kt(t,e),Qt(e),r&512&&(vt||i===null||_n(i,i.return)),r&4){var f=i!==null?i.memoizedState:null;if(r=e.memoizedState,i===null)if(r===null)if(e.stateNode===null){e:{r=e.type,i=e.memoizedProps,u=u.ownerDocument||u;t:switch(r){case"title":f=u.getElementsByTagName("title")[0],(!f||f[Te]||f[$]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=u.createElement(r),u.head.insertBefore(f,u.querySelector("head > title"))),Dt(f,r,i),f[$]=e,Fe(f),r=f;break e;case"link":var y=ky("link","href",u).get(r+(i.href||""));if(y){for(var x=0;x<y.length;x++)if(f=y[x],f.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&f.getAttribute("rel")===(i.rel==null?null:i.rel)&&f.getAttribute("title")===(i.title==null?null:i.title)&&f.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){y.splice(x,1);break t}}f=u.createElement(r),Dt(f,r,i),u.head.appendChild(f);break;case"meta":if(y=ky("meta","content",u).get(r+(i.content||""))){for(x=0;x<y.length;x++)if(f=y[x],f.getAttribute("content")===(i.content==null?null:""+i.content)&&f.getAttribute("name")===(i.name==null?null:i.name)&&f.getAttribute("property")===(i.property==null?null:i.property)&&f.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&f.getAttribute("charset")===(i.charSet==null?null:i.charSet)){y.splice(x,1);break t}}f=u.createElement(r),Dt(f,r,i),u.head.appendChild(f);break;default:throw Error(s(468,r))}f[$]=e,Fe(f),r=f}e.stateNode=r}else Yy(u,e.type,e.stateNode);else e.stateNode=Hy(u,r,e.memoizedProps);else f!==r?(f===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):f.count--,r===null?Yy(u,e.type,e.stateNode):Hy(u,r,e.memoizedProps)):r===null&&e.stateNode!==null&&jc(e,e.memoizedProps,i.memoizedProps)}break;case 27:Kt(t,e),Qt(e),r&512&&(vt||i===null||_n(i,i.return)),i!==null&&r&4&&jc(e,e.memoizedProps,i.memoizedProps);break;case 5:if(Kt(t,e),Qt(e),r&512&&(vt||i===null||_n(i,i.return)),e.flags&32){u=e.stateNode;try{Yi(u,"")}catch(ae){ke(e,e.return,ae)}}r&4&&e.stateNode!=null&&(u=e.memoizedProps,jc(e,u,i!==null?i.memoizedProps:u)),r&1024&&(Vc=!0);break;case 6:if(Kt(t,e),Qt(e),r&4){if(e.stateNode===null)throw Error(s(162));r=e.memoizedProps,i=e.stateNode;try{i.nodeValue=r}catch(ae){ke(e,e.return,ae)}}break;case 3:if(vo=null,u=Cn,Cn=yo(t.containerInfo),Kt(t,e),Cn=u,Qt(e),r&4&&i!==null&&i.memoizedState.isDehydrated)try{vl(t.containerInfo)}catch(ae){ke(e,e.return,ae)}Vc&&(Vc=!1,Yp(e));break;case 4:r=Cn,Cn=yo(e.stateNode.containerInfo),Kt(t,e),Qt(e),Cn=r;break;case 12:Kt(t,e),Qt(e);break;case 31:Kt(t,e),Qt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,to(e,r)));break;case 13:Kt(t,e),Qt(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(ao=Ut()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,to(e,r)));break;case 22:u=e.memoizedState!==null;var T=i!==null&&i.memoizedState!==null,L=sa,q=vt;if(sa=L||u,vt=q||T,Kt(t,e),vt=q,sa=L,Qt(e),r&8192)e:for(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(i===null||T||sa||vt||Ei(e)),i=null,t=e;;){if(t.tag===5||t.tag===26){if(i===null){T=i=t;try{if(f=T.stateNode,u)y=f.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{x=T.stateNode;var X=T.memoizedProps.style,U=X!=null&&X.hasOwnProperty("display")?X.display:null;x.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch(ae){ke(T,T.return,ae)}}}else if(t.tag===6){if(i===null){T=t;try{T.stateNode.nodeValue=u?"":T.memoizedProps}catch(ae){ke(T,T.return,ae)}}}else if(t.tag===18){if(i===null){T=t;try{var Y=T.stateNode;u?zy(Y,!0):zy(T.stateNode,!1)}catch(ae){ke(T,T.return,ae)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;i===t&&(i=null),t=t.return}i===t&&(i=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(i=r.retryQueue,i!==null&&(r.retryQueue=null,to(e,i))));break;case 19:Kt(t,e),Qt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,to(e,r)));break;case 30:break;case 21:break;default:Kt(t,e),Qt(e)}}function Qt(e){var t=e.flags;if(t&2){try{for(var i,r=e.return;r!==null;){if(jp(r)){i=r;break}r=r.return}if(i==null)throw Error(s(160));switch(i.tag){case 27:var u=i.stateNode,f=Nc(e);eo(e,f,u);break;case 5:var y=i.stateNode;i.flags&32&&(Yi(y,""),i.flags&=-33);var x=Nc(e);eo(e,x,y);break;case 3:case 4:var T=i.stateNode.containerInfo,L=Nc(e);Lc(e,L,T);break;default:throw Error(s(161))}}catch(q){ke(e,e.return,q)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Yp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Yp(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ua(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Vp(e,t.alternate,t),t=t.sibling}function Ei(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ba(4,t,t.return),Ei(t);break;case 1:_n(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&zp(t,t.return,i),Ei(t);break;case 27:wr(t.stateNode);case 26:case 5:_n(t,t.return),Ei(t);break;case 22:t.memoizedState===null&&Ei(t);break;case 30:Ei(t);break;default:Ei(t)}e=e.sibling}}function ca(e,t,i){for(i=i&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,u=e,f=t,y=f.flags;switch(f.tag){case 0:case 11:case 15:ca(u,f,i),hr(4,f);break;case 1:if(ca(u,f,i),r=f,u=r.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(L){ke(r,r.return,L)}if(r=f,u=r.updateQueue,u!==null){var x=r.stateNode;try{var T=u.shared.hiddenCallbacks;
vendor: 24,938 bytes, line 25
25if(T!==null)for(u.shared.hiddenCallbacks=null,u=0;u<T.length;u++)vm(T[u],x)}catch(L){ke(r,r.return,L)}}i&&y&64&&Dp(f),mr(f,f.return);break;case 27:Np(f);case 26:case 5:ca(u,f,i),i&&r===null&&y&4&&Op(f),mr(f,f.return);break;case 12:ca(u,f,i);break;case 31:ca(u,f,i),i&&y&4&&_p(u,f);break;case 13:ca(u,f,i),i&&y&4&&Hp(u,f);break;case 22:f.memoizedState===null&&ca(u,f,i),mr(f,f.return);break;case 30:break;default:ca(u,f,i)}t=t.sibling}}function Uc(e,t){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&er(i))}function Bc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&er(e))}function Rn(e,t,i,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)qp(e,t,i,r),t=t.sibling}function qp(e,t,i,r){var u=t.flags;switch(t.tag){case 0:case 11:case 15:Rn(e,t,i,r),u&2048&&hr(9,t);break;case 1:Rn(e,t,i,r);break;case 3:Rn(e,t,i,r),u&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&er(e)));break;case 12:if(u&2048){Rn(e,t,i,r),e=t.stateNode;try{var f=t.memoizedProps,y=f.id,x=f.onPostCommit;typeof x=="function"&&x(y,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(T){ke(t,t.return,T)}}else Rn(e,t,i,r);break;case 31:Rn(e,t,i,r);break;case 13:Rn(e,t,i,r);break;case 23:break;case 22:f=t.stateNode,y=t.alternate,t.memoizedState!==null?f._visibility&2?Rn(e,t,i,r):pr(e,t):f._visibility&2?Rn(e,t,i,r):(f._visibility|=2,sl(e,t,i,r,(t.subtreeFlags&10256)!==0||!1)),u&2048&&Uc(y,t);break;case 24:Rn(e,t,i,r),u&2048&&Bc(t.alternate,t);break;default:Rn(e,t,i,r)}}function sl(e,t,i,r,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var f=e,y=t,x=i,T=r,L=y.flags;switch(y.tag){case 0:case 11:case 15:sl(f,y,x,T,u),hr(8,y);break;case 23:break;case 22:var q=y.stateNode;y.memoizedState!==null?q._visibility&2?sl(f,y,x,T,u):pr(f,y):(q._visibility|=2,sl(f,y,x,T,u)),u&&L&2048&&Uc(y.alternate,y);break;case 24:sl(f,y,x,T,u),u&&L&2048&&Bc(y.alternate,y);break;default:sl(f,y,x,T,u)}t=t.sibling}}function pr(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var i=e,r=t,u=r.flags;switch(r.tag){case 22:pr(i,r),u&2048&&Uc(r.alternate,r);break;case 24:pr(i,r),u&2048&&Bc(r.alternate,r);break;default:pr(i,r)}t=t.sibling}}var yr=8192;function ol(e,t,i){if(e.subtreeFlags&yr)for(e=e.child;e!==null;)Gp(e,t,i),e=e.sibling}function Gp(e,t,i){switch(e.tag){case 26:ol(e,t,i),e.flags&yr&&e.memoizedState!==null&&U1(i,Cn,e.memoizedState,e.memoizedProps);break;case 5:ol(e,t,i);break;case 3:case 4:var r=Cn;Cn=yo(e.stateNode.containerInfo),ol(e,t,i),Cn=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=yr,yr=16777216,ol(e,t,i),yr=r):ol(e,t,i));break;default:ol(e,t,i)}}function Xp(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function gr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var r=t[i];At=r,Qp(r,e)}Xp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Kp(e),e=e.sibling}function Kp(e){switch(e.tag){case 0:case 11:case 15:gr(e),e.flags&2048&&Ba(9,e,e.return);break;case 3:gr(e);break;case 12:gr(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,no(e)):gr(e);break;default:gr(e)}}function no(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var r=t[i];At=r,Qp(r,e)}Xp(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ba(8,t,t.return),no(t);break;case 22:i=t.stateNode,i._visibility&2&&(i._visibility&=-3,no(t));break;default:no(t)}e=e.sibling}}function Qp(e,t){for(;At!==null;){var i=At;switch(i.tag){case 0:case 11:case 15:Ba(8,i,t);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var r=i.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:er(i.memoizedState.cache)}if(r=i.child,r!==null)r.return=i,At=r;else e:for(i=e;At!==null;){r=At;var u=r.sibling,f=r.return;if(Up(r),r===i){At=null;break e}if(u!==null){u.return=f,At=u;break e}At=f}}}var $S={getCacheForType:function(e){var t=Ct(pt),i=t.data.get(e);return i===void 0&&(i=e(),t.data.set(e,i)),i},cacheSignal:function(){return Ct(pt).controller.signal}},WS=typeof WeakMap=="function"?WeakMap:Map,_e=0,Ke=null,Me=null,De=0,He=0,tn=null,_a=!1,ul=!1,_c=!1,fa=0,st=0,Ha=0,Ai=0,Hc=0,nn=0,cl=0,vr=null,Ft=null,kc=!1,ao=0,Fp=0,io=1/0,lo=null,ka=null,St=0,Ya=null,fl=null,da=0,Yc=0,qc=null,Zp=null,br=0,Gc=null;function an(){return(_e&2)!==0&&De!==0?De&-De:_.T!==null?Pc():F()}function Pp(){if(nn===0)if((De&536870912)===0||je){var e=Jn;Jn<<=1,(Jn&3932160)===0&&(Jn=262144),nn=e}else nn=536870912;return e=It.current,e!==null&&(e.flags|=32),nn}function Zt(e,t,i){(e===Ke&&(He===2||He===9)||e.cancelPendingCommit!==null)&&(dl(e,0),qa(e,De,nn,!1)),Nn(e,i),((_e&2)===0||e!==Ke)&&(e===Ke&&((_e&2)===0&&(Ai|=i),st===4&&qa(e,De,nn,!1)),Hn(e))}function Jp(e,t,i){if((_e&6)!==0)throw Error(s(327));var r=!i&&(t&127)===0&&(t&e.expiredLanes)===0||Ea(e,t),u=r?t1(e,t):Kc(e,t,!0),f=r;do{if(u===0){ul&&!r&&qa(e,t,0,!1);break}else{if(i=e.current.alternate,f&&!IS(i)){u=Kc(e,t,!1),f=!1;continue}if(u===2){if(f=t,e.errorRecoveryDisabledLanes&f)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){t=y;e:{var x=e;u=vr;var T=x.current.memoizedState.isDehydrated;if(T&&(dl(x,y).flags|=256),y=Kc(x,y,!1),y!==2){if(_c&&!T){x.errorRecoveryDisabledLanes|=f,Ai|=f,u=4;break e}f=Ft,Ft=u,f!==null&&(Ft===null?Ft=f:Ft.push.apply(Ft,f))}u=y}if(f=!1,u!==2)continue}}if(u===1){dl(e,0),qa(e,t,0,!0);break}e:{switch(r=e,f=u,f){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t)break;case 6:qa(r,t,nn,!_a);break e;case 2:Ft=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(u=ao+300-Ut(),10<u)){if(qa(r,t,nn,!_a),Ui(r,0,!0)!==0)break e;da=t,r.timeoutHandle=Cy($p.bind(null,r,i,Ft,lo,kc,t,nn,Ai,cl,_a,f,"Throttled",-0,0),u);break e}$p(r,i,Ft,lo,kc,t,nn,Ai,cl,_a,f,null,-0,0)}}break}while(!0);Hn(e)}function $p(e,t,i,r,u,f,y,x,T,L,q,X,U,Y){if(e.timeoutHandle=-1,X=t.subtreeFlags,X&8192||(X&16785408)===16785408){X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:$n},Gp(t,f,X);var ae=(f&62914560)===f?ao-Ut():(f&4194048)===f?Fp-Ut():0;if(ae=B1(X,ae),ae!==null){da=f,e.cancelPendingCommit=ae(ly.bind(null,e,t,f,i,r,u,y,x,T,q,X,null,U,Y)),qa(e,f,y,!L);return}}ly(e,t,f,i,r,u,y,x,T)}function IS(e){for(var t=e;;){var i=t.tag;if((i===0||i===11||i===15)&&t.flags&16384&&(i=t.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var r=0;r<i.length;r++){var u=i[r],f=u.getSnapshot;u=u.value;try{if(!$t(f(),u))return!1}catch{return!1}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function qa(e,t,i,r){t&=~Hc,t&=~Ai,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var u=t;0<u;){var f=31-jt(u),y=1<<f;r[f]=-1,u&=~y}i!==0&&ps(e,i,t)}function ro(){return(_e&6)===0?(xr(0),!1):!0}function Xc(){if(Me!==null){if(He===0)var e=Me.return;else e=Me,ta=yi=null,rc(e),nl=null,nr=0,e=Me;for(;e!==null;)Rp(e.alternate,e),e=e.return;Me=null}}function dl(e,t){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,b1(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),da=0,Xc(),Ke=e,Me=i=In(e.current,null),De=t,He=0,tn=null,_a=!1,ul=Ea(e,t),_c=!1,cl=nn=Hc=Ai=Ha=st=0,Ft=vr=null,kc=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var u=31-jt(r),f=1<<u;t|=e[u],r&=~f}return fa=t,Cs(),i}function Wp(e,t){ve=null,_.H=cr,t===tl||t===Vs?(t=mm(),He=3):t===Zu?(t=mm(),He=4):He=t===Tc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,tn=t,Me===null&&(st=1,Ps(e,dn(t,e.current)))}function Ip(){var e=It.current;return e===null?!0:(De&4194048)===De?yn===null:(De&62914560)===De||(De&536870912)!==0?e===yn:!1}function ey(){var e=_.H;return _.H=cr,e===null?cr:e}function ty(){var e=_.A;return _.A=$S,e}function so(){st=4,_a||(De&4194048)!==De&&It.current!==null||(ul=!0),(Ha&134217727)===0&&(Ai&134217727)===0||Ke===null||qa(Ke,De,nn,!1)}function Kc(e,t,i){var r=_e;_e|=2;var u=ey(),f=ty();(Ke!==e||De!==t)&&(lo=null,dl(e,t)),t=!1;var y=st;e:do try{if(He!==0&&Me!==null){var x=Me,T=tn;switch(He){case 8:Xc(),y=6;break e;case 3:case 2:case 9:case 6:It.current===null&&(t=!0);var L=He;if(He=0,tn=null,hl(e,x,T,L),i&&ul){y=0;break e}break;default:L=He,He=0,tn=null,hl(e,x,T,L)}}e1(),y=st;break}catch(q){Wp(e,q)}while(!0);return t&&e.shellSuspendCounter++,ta=yi=null,_e=r,_.H=u,_.A=f,Me===null&&(Ke=null,De=0,Cs()),y}function e1(){for(;Me!==null;)ny(Me)}function t1(e,t){var i=_e;_e|=2;var r=ey(),u=ty();Ke!==e||De!==t?(lo=null,io=Ut()+500,dl(e,t)):ul=Ea(e,t);e:do try{if(He!==0&&Me!==null){t=Me;var f=tn;t:switch(He){case 1:He=0,tn=null,hl(e,t,f,1);break;case 2:case 9:if(dm(f)){He=0,tn=null,ay(t);break}t=function(){He!==2&&He!==9||Ke!==e||(He=7),Hn(e)},f.then(t,t);break e;case 3:He=7;break e;case 4:He=5;break e;case 7:dm(f)?(He=0,tn=null,ay(t)):(He=0,tn=null,hl(e,t,f,7));break;case 5:var y=null;switch(Me.tag){case 26:y=Me.memoizedState;case 5:case 27:var x=Me;if(y?qy(y):x.stateNode.complete){He=0,tn=null;var T=x.sibling;if(T!==null)Me=T;else{var L=x.return;L!==null?(Me=L,oo(L)):Me=null}break t}}He=0,tn=null,hl(e,t,f,5);break;case 6:He=0,tn=null,hl(e,t,f,6);break;case 8:Xc(),st=6;break e;default:throw Error(s(462))}}n1();break}catch(q){Wp(e,q)}while(!0);return ta=yi=null,_.H=r,_.A=u,_e=i,Me!==null?0:(Ke=null,De=0,Cs(),st)}function n1(){for(;Me!==null&&!ou();)ny(Me)}function ny(e){var t=Mp(e.alternate,e,fa);e.memoizedProps=e.pendingProps,t===null?oo(e):Me=t}function ay(e){var t=e,i=t.alternate;switch(t.tag){case 15:case 0:t=xp(i,t,t.pendingProps,t.type,void 0,De);break;case 11:t=xp(i,t,t.pendingProps,t.type.render,t.ref,De);break;case 5:rc(t);default:Rp(i,t),t=Me=tm(t,fa),t=Mp(i,t,fa)}e.memoizedProps=e.pendingProps,t===null?oo(e):Me=t}function hl(e,t,i,r){ta=yi=null,rc(t),nl=null,nr=0;var u=t.return;try{if(XS(e,u,t,i,De)){st=1,Ps(e,dn(i,e.current)),Me=null;return}}catch(f){if(u!==null)throw Me=u,f;st=1,Ps(e,dn(i,e.current)),Me=null;return}t.flags&32768?(je||r===1?e=!0:ul||(De&536870912)!==0?e=!1:(_a=e=!0,(r===2||r===9||r===3||r===6)&&(r=It.current,r!==null&&r.tag===13&&(r.flags|=16384))),iy(t,e)):oo(t)}function oo(e){var t=e;do{if((t.flags&32768)!==0){iy(t,_a);return}e=t.return;var i=FS(t.alternate,t,fa);if(i!==null){Me=i;return}if(t=t.sibling,t!==null){Me=t;return}Me=t=e}while(t!==null);st===0&&(st=5)}function iy(e,t){do{var i=ZS(e.alternate,e);if(i!==null){i.flags&=32767,Me=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!t&&(e=e.sibling,e!==null)){Me=e;return}Me=e=i}while(e!==null);st=6,Me=null}function ly(e,t,i,r,u,f,y,x,T){e.cancelPendingCommit=null;do uo();while(St!==0);if((_e&6)!==0)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));if(f=t.lanes|t.childLanes,f|=Nu,ms(e,i,f,y,x,T),e===Ke&&(Me=Ke=null,De=0),fl=t,Ya=e,da=i,Yc=f,qc=u,Zp=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,r1(wa,function(){return cy(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=_.T,_.T=null,u=K.p,K.p=2,y=_e,_e|=4;try{PS(e,t,i)}finally{_e=y,K.p=u,_.T=r}}St=1,ry(),sy(),oy()}}function ry(){if(St===1){St=0;var e=Ya,t=fl,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=_.T,_.T=null;var r=K.p;K.p=2;var u=_e;_e|=4;try{kp(t,e);var f=af,y=Qh(e.containerInfo),x=f.focusedElem,T=f.selectionRange;if(y!==x&&x&&x.ownerDocument&&Kh(x.ownerDocument.documentElement,x)){if(T!==null&&Ru(x)){var L=T.start,q=T.end;if(q===void 0&&(q=L),"selectionStart"in x)x.selectionStart=L,x.selectionEnd=Math.min(q,x.value.length);else{var X=x.ownerDocument||document,U=X&&X.defaultView||window;if(U.getSelection){var Y=U.getSelection(),ae=x.textContent.length,me=Math.min(T.start,ae),Ge=T.end===void 0?me:Math.min(T.end,ae);!Y.extend&&me>Ge&&(y=Ge,Ge=me,me=y);var j=Xh(x,me),A=Xh(x,Ge);if(j&&A&&(Y.rangeCount!==1||Y.anchorNode!==j.node||Y.anchorOffset!==j.offset||Y.focusNode!==A.node||Y.focusOffset!==A.offset)){var N=X.createRange();N.setStart(j.node,j.offset),Y.removeAllRanges(),me>Ge?(Y.addRange(N),Y.extend(A.node,A.offset)):(N.setEnd(A.node,A.offset),Y.addRange(N))}}}}for(X=[],Y=x;Y=Y.parentNode;)Y.nodeType===1&&X.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<X.length;x++){var G=X[x];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}To=!!nf,af=nf=null}finally{_e=u,K.p=r,_.T=i}}e.current=t,St=2}}function sy(){if(St===2){St=0;var e=Ya,t=fl,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=_.T,_.T=null;var r=K.p;K.p=2;var u=_e;_e|=4;try{Vp(e,t.alternate,t)}finally{_e=u,K.p=r,_.T=i}}St=3}}function oy(){if(St===4||St===3){St=0,uu();var e=Ya,t=fl,i=da,r=Zp;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?St=5:(St=0,fl=Ya=null,uy(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&(ka=null),V(i),t=t.stateNode,Bt&&typeof Bt.onCommitFiberRoot=="function")try{Bt.onCommitFiberRoot(Pn,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=_.T,u=K.p,K.p=2,_.T=null;try{for(var f=e.onRecoverableError,y=0;y<r.length;y++){var x=r[y];f(x.value,{componentStack:x.stack})}}finally{_.T=t,K.p=u}}(da&3)!==0&&uo(),Hn(e),u=e.pendingLanes,(i&261930)!==0&&(u&42)!==0?e===Gc?br++:(br=0,Gc=e):br=0,xr(0)}}function uy(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,er(t)))}function uo(){return ry(),sy(),oy(),cy()}function cy(){if(St!==5)return!1;var e=Ya,t=Yc;Yc=0;var i=V(da),r=_.T,u=K.p;try{K.p=32>i?32:i,_.T=null,i=qc,qc=null;var f=Ya,y=da;if(St=0,fl=Ya=null,da=0,(_e&6)!==0)throw Error(s(331));var x=_e;if(_e|=4,Kp(f.current),qp(f,f.current,y,i),_e=x,xr(0,!1),Bt&&typeof Bt.onPostCommitFiberRoot=="function")try{Bt.onPostCommitFiberRoot(Pn,f)}catch{}return!0}finally{K.p=u,_.T=r,uy(e,t)}}function fy(e,t,i){t=dn(i,t),t=Sc(e.stateNode,t,2),e=La(e,t,2),e!==null&&(Nn(e,2),Hn(e))}function ke(e,t,i){if(e.tag===3)fy(e,e,i);else for(;t!==null;){if(t.tag===3){fy(t,e,i);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ka===null||!ka.has(r))){e=dn(i,e),i=dp(2),r=La(t,i,2),r!==null&&(hp(i,r,t,e),Nn(r,2),Hn(r));break}}t=t.return}}function Qc(e,t,i){var r=e.pingCache;if(r===null){r=e.pingCache=new WS;var u=new Set;r.set(t,u)}else u=r.get(t),u===void 0&&(u=new Set,r.set(t,u));u.has(i)||(_c=!0,u.add(i),e=a1.bind(null,e,t,i),t.then(e,e))}function a1(e,t,i){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,Ke===e&&(De&i)===i&&(st===4||st===3&&(De&62914560)===De&&300>Ut()-ao?(_e&2)===0&&dl(e,0):Hc|=i,cl===De&&(cl=0)),Hn(e)}function dy(e,t){t===0&&(t=ql()),e=hi(e,t),e!==null&&(Nn(e,t),Hn(e))}function i1(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),dy(e,i)}function l1(e,t){var i=0;switch(e.tag){case 31:case 13:var r=e.stateNode,u=e.memoizedState;u!==null&&(i=u.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(s(314))}r!==null&&r.delete(t),dy(e,i)}function r1(e,t){return Vi(e,t)}var co=null,ml=null,Fc=!1,fo=!1,Zc=!1,Ga=0;function Hn(e){e!==ml&&e.next===null&&(ml===null?co=ml=e:ml=ml.next=e),fo=!0,Fc||(Fc=!0,o1())}function xr(e,t){if(!Zc&&fo){Zc=!0;do for(var i=!1,r=co;r!==null;){if(e!==0){var u=r.pendingLanes;if(u===0)var f=0;else{var y=r.suspendedLanes,x=r.pingedLanes;f=(1<<31-jt(42|e)+1)-1,f&=u&~(y&~x),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(i=!0,yy(r,f))}else f=De,f=Ui(r,r===Ke?f:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(f&3)===0||Ea(r,f)||(i=!0,yy(r,f));r=r.next}while(i);Zc=!1}}function s1(){hy()}function hy(){fo=Fc=!1;var e=0;Ga!==0&&v1()&&(e=Ga);for(var t=Ut(),i=null,r=co;r!==null;){var u=r.next,f=my(r,t);f===0?(r.next=null,i===null?co=u:i.next=u,u===null&&(ml=i)):(i=r,(e!==0||(f&3)!==0)&&(fo=!0)),r=u}St!==0&&St!==5||xr(e),Ga!==0&&(Ga=0)}function my(e,t){for(var i=e.suspendedLanes,r=e.pingedLanes,u=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var y=31-jt(f),x=1<<y,T=u[y];T===-1?((x&i)===0||(x&r)!==0)&&(u[y]=du(x,t)):T<=t&&(e.expiredLanes|=x),f&=~x}if(t=Ke,i=De,i=Ui(e,e===t?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,i===0||e===t&&(He===2||He===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&kl(r),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||Ea(e,i)){if(t=i&-i,t===e.callbackPriority)return t;switch(r!==null&&kl(r),V(i)){case 2:case 8:i=Yl;break;case 32:i=wa;break;case 268435456:i=un;break;default:i=wa}return r=py.bind(null,e),i=Vi(i,r),e.callbackPriority=t,e.callbackNode=i,t}return r!==null&&r!==null&&kl(r),e.callbackPriority=2,e.callbackNode=null,2}function py(e,t){if(St!==0&&St!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(uo()&&e.callbackNode!==i)return null;var r=De;return r=Ui(e,e===Ke?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Jp(e,r,t),my(e,Ut()),e.callbackNode!=null&&e.callbackNode===i?py.bind(null,e):null)}function yy(e,t){if(uo())return null;Jp(e,t,!0)}function o1(){x1(function(){(_e&6)!==0?Vi(Ta,s1):hy()})}function Pc(){if(Ga===0){var e=Ii;e===0&&(e=ri,ri<<=1,(ri&261888)===0&&(ri=256)),Ga=e}return Ga}function gy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:bs(""+e)}function vy(e,t){var i=t.ownerDocument.createElement("input");return i.name=t.name,i.value=t.value,e.id&&i.setAttribute("form",e.id),t.parentNode.insertBefore(i,t),e=new FormData(e),i.parentNode.removeChild(i),e}function u1(e,t,i,r,u){if(t==="submit"&&i&&i.stateNode===u){var f=gy((u[le]||null).action),y=r.submitter;y&&(t=(t=y[le]||null)?gy(t.formAction):y.getAttribute("formAction"),t!==null&&(f=t,y=null));var x=new ws("action","action",null,r,u);e.push({event:x,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Ga!==0){var T=y?vy(u,y):new FormData(u);pc(i,{pending:!0,data:T,method:u.method,action:f},null,T)}}else typeof f=="function"&&(x.preventDefault(),T=y?vy(u,y):new FormData(u),pc(i,{pending:!0,data:T,method:u.method,action:f},f,T))},currentTarget:u}]})}}for(var Jc=0;Jc<ju.length;Jc++){var $c=ju[Jc],c1=$c.toLowerCase(),f1=$c[0].toUpperCase()+$c.slice(1);Mn(c1,"on"+f1)}Mn(Ph,"onAnimationEnd"),Mn(Jh,"onAnimationIteration"),Mn($h,"onAnimationStart"),Mn("dblclick","onDoubleClick"),Mn("focusin","onFocus"),Mn("focusout","onBlur"),Mn(CS,"onTransitionRun"),Mn(RS,"onTransitionStart"),Mn(DS,"onTransitionCancel"),Mn(Wh,"onTransitionEnd"),Ln("onMouseEnter",["mouseout","mouseover"]),Ln("onMouseLeave",["mouseout","mouseover"]),Ln("onPointerEnter",["pointerout","pointerover"]),Ln("onPointerLeave",["pointerout","pointerover"]),Et("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Et("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Et("onBeforeInput",["compositionend","keypress","textInput","paste"]),Et("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Et("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Et("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sr="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(" "),d1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sr));function by(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var r=e[i],u=r.event;r=r.listeners;e:{var f=void 0;if(t)for(var y=r.length-1;0<=y;y--){var x=r[y],T=x.instance,L=x.currentTarget;if(x=x.listener,T!==f&&u.isPropagationStopped())break e;f=x,u.currentTarget=L;try{f(u)}catch(q){Ms(q)}u.currentTarget=null,f=T}else for(y=0;y<r.length;y++){if(x=r[y],T=x.instance,L=x.currentTarget,x=x.listener,T!==f&&u.isPropagationStopped())break e;f=x,u.currentTarget=L;try{f(u)}catch(q){Ms(q)}u.currentTarget=null,f=T}}}}function Ce(e,t){var i=t[W];i===void 0&&(i=t[W]=new Set);var r=e+"__bubble";i.has(r)||(xy(t,e,2,!1),i.add(r))}function Wc(e,t,i){var r=0;t&&(r|=4),xy(i,e,r,t)}var ho="_reactListening"+Math.random().toString(36).slice(2);function Ic(e){if(!e[ho]){e[ho]=!0,Ma.forEach(function(i){i!=="selectionchange"&&(d1.has(i)||Wc(i,!1,e),Wc(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ho]||(t[ho]=!0,Wc("selectionchange",!1,t))}}function xy(e,t,i,r){switch(Py(t)){case 2:var u=k1;break;case 8:u=Y1;break;default:u=pf}i=u.bind(null,t,i,e),u=void 0,!bu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),r?u!==void 0?e.addEventListener(t,i,{capture:!0,passive:u}):e.addEventListener(t,i,!0):u!==void 0?e.addEventListener(t,i,{passive:u}):e.addEventListener(t,i,!1)}function ef(e,t,i,r,u){var f=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var y=r.tag;if(y===3||y===4){var x=r.stateNode.containerInfo;if(x===u)break;if(y===4)for(y=r.return;y!==null;){var T=y.tag;if((T===3||T===4)&&y.stateNode.containerInfo===u)return;y=y.return}for(;x!==null;){if(y=Ze(x),y===null)return;if(T=y.tag,T===5||T===6||T===26||T===27){r=f=y;continue e}x=x.parentNode}}r=r.return}Ah(function(){var L=f,q=gu(i),X=[];e:{var U=Ih.get(e);if(U!==void 0){var Y=ws,ae=e;switch(e){case"keypress":if(Ss(i)===0)break e;case"keydown":case"keyup":Y=lS;break;case"focusin":ae="focus",Y=wu;break;case"focusout":ae="blur",Y=wu;break;case"beforeblur":case"afterblur":Y=wu;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=Rh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=Fx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=oS;break;case Ph:case Jh:case $h:Y=Jx;break;case Wh:Y=cS;break;case"scroll":case"scrollend":Y=Kx;break;case"wheel":Y=dS;break;case"copy":case"cut":case"paste":Y=Wx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=zh;break;case"toggle":case"beforetoggle":Y=mS}var me=(t&4)!==0,Ge=!me&&(e==="scroll"||e==="scrollend"),j=me?U!==null?U+"Capture":null:U;me=[];for(var A=L,N;A!==null;){var G=A;if(N=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||N===null||j===null||(G=Gl(A,j),G!=null&&me.push(Tr(A,G,N))),Ge)break;A=A.return}0<me.length&&(U=new Y(U,ae,null,i,q),X.push({event:U,listeners:me}))}}if((t&7)===0){e:{if(U=e==="mouseover"||e==="pointerover",Y=e==="mouseout"||e==="pointerout",U&&i!==yu&&(ae=i.relatedTarget||i.fromElement)&&(Ze(ae)||ae[ne]))break e;if((Y||U)&&(U=q.window===q?q:(U=q.ownerDocument)?U.defaultView||U.parentWindow:window,Y?(ae=i.relatedTarget||i.toElement,Y=L,ae=ae?Ze(ae):null,ae!==null&&(Ge=c(ae),me=ae.tag,ae!==Ge||me!==5&&me!==27&&me!==6)&&(ae=null)):(Y=null,ae=L),Y!==ae)){if(me=Rh,G="onMouseLeave",j="onMouseEnter",A="mouse",(e==="pointerout"||e==="pointerover")&&(me=zh,G="onPointerLeave",j="onPointerEnter",A="pointer"),Ge=Y==null?U:Le(Y),N=ae==null?U:Le(ae),U=new me(G,A+"leave",Y,i,q),U.target=Ge,U.relatedTarget=N,G=null,Ze(q)===L&&(me=new me(j,A+"enter",ae,i,q),me.target=N,me.relatedTarget=Ge,G=me),Ge=G,Y&&ae)t:{for(me=h1,j=Y,A=ae,N=0,G=j;G;G=me(G))N++;G=0;for(var ce=A;ce;ce=me(ce))G++;for(;0<N-G;)j=me(j),N--;for(;0<G-N;)A=me(A),G--;for(;N--;){if(j===A||A!==null&&j===A.alternate){me=j;break t}j=me(j),A=me(A)}me=null}else me=null;Y!==null&&Sy(X,U,Y,me,!1),ae!==null&&Ge!==null&&Sy(X,Ge,ae,me,!0)}}e:{if(U=L?Le(L):window,Y=U.nodeName&&U.nodeName.toLowerCase(),Y==="select"||Y==="input"&&U.type==="file")var Ve=_h;else if(Uh(U))if(Hh)Ve=ES;else{Ve=TS;var oe=SS}else Y=U.nodeName,!Y||Y.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?L&&pu(L.elementType)&&(Ve=_h):Ve=wS;if(Ve&&(Ve=Ve(e,L))){Bh(X,Ve,i,q);break e}oe&&oe(e,U,L),e==="focusout"&&L&&U.type==="number"&&L.memoizedProps.value!=null&&mu(U,"number",U.value)}switch(oe=L?Le(L):window,e){case"focusin":(Uh(oe)||oe.contentEditable==="true")&&(Ki=oe,Du=L,$l=null);break;case"focusout":$l=Du=Ki=null;break;case"mousedown":zu=!0;break;case"contextmenu":case"mouseup":case"dragend":zu=!1,Fh(X,i,q);break;case"selectionchange":if(MS)break;case"keydown":case"keyup":Fh(X,i,q)}var xe;
vendor: 4,442 bytes, lines 25-26
25if(Au)e:{switch(e){case"compositionstart":var ze="onCompositionStart";break e;case"compositionend":ze="onCompositionEnd";break e;case"compositionupdate":ze="onCompositionUpdate";break e}ze=void 0}else Xi?Lh(e,i)&&(ze="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(ze="onCompositionStart");ze&&(Oh&&i.locale!=="ko"&&(Xi||ze!=="onCompositionStart"?ze==="onCompositionEnd"&&Xi&&(xe=Mh()):(Ca=q,xu="value"in Ca?Ca.value:Ca.textContent,Xi=!0)),oe=mo(L,ze),0<oe.length&&(ze=new Dh(ze,e,null,i,q),X.push({event:ze,listeners:oe}),xe?ze.data=xe:(xe=Vh(i),xe!==null&&(ze.data=xe)))),(xe=yS?gS(e,i):vS(e,i))&&(ze=mo(L,"onBeforeInput"),0<ze.length&&(oe=new Dh("onBeforeInput","beforeinput",null,i,q),X.push({event:oe,listeners:ze}),oe.data=xe)),u1(X,e,L,i,q)}by(X,t)})}function Tr(e,t,i){return{instance:e,listener:t,currentTarget:i}}function mo(e,t){for(var i=t+"Capture",r=[];e!==null;){var u=e,f=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||f===null||(u=Gl(e,i),u!=null&&r.unshift(Tr(e,u,f)),u=Gl(e,t),u!=null&&r.push(Tr(e,u,f))),e.tag===3)return r;e=e.return}return[]}function h1(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Sy(e,t,i,r,u){for(var f=t._reactName,y=[];i!==null&&i!==r;){var x=i,T=x.alternate,L=x.stateNode;if(x=x.tag,T!==null&&T===r)break;x!==5&&x!==26&&x!==27||L===null||(T=L,u?(L=Gl(i,f),L!=null&&y.unshift(Tr(i,L,T))):u||(L=Gl(i,f),L!=null&&y.push(Tr(i,L,T)))),i=i.return}y.length!==0&&e.push({event:t,listeners:y})}var m1=/\r\n?/g,p1=/\u0000|\uFFFD/g;function Ty(e){return(typeof e=="string"?e:""+e).replace(m1,` 26`).replace(p1,"")}function wy(e,t){return t=Ty(t),Ty(e)===t}function qe(e,t,i,r,u,f){switch(i){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Yi(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Yi(e,""+r);break;case"className":ct(e,"class",r);break;case"tabIndex":ct(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":ct(e,i,r);break;case"style":wh(e,r,f);break;case"data":if(t!=="object"){ct(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||i!=="href")){e.removeAttribute(i);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(i);break}r=bs(""+r),e.setAttribute(i,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(i==="formAction"?(t!=="input"&&qe(e,t,"name",u.name,u,null),qe(e,t,"formEncType",u.formEncType,u,null),qe(e,t,"formMethod",u.formMethod,u,null),qe(e,t,"formTarget",u.formTarget,u,null)):(qe(e,t,"encType",u.encType,u,null),qe(e,t,"method",u.method,u,null),qe(e,t,"target",u.target,u,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(i);break}r=bs(""+r),e.setAttribute(i,r);break;case"onClick":r!=null&&(e.onclick=$n);break;case"onScroll":r!=null&&Ce("scroll",e);break;case"onScrollEnd":r!=null&&Ce("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(s(61));if(i=r.__html,i!=null){if(u.children!=null)throw Error(s(60));e.innerHTML=i}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}i=bs(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(i,""+r):e.removeAttribute(i);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
26ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":r===!0?e.setAttribute(i,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(i,r):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(i,r):e.removeAttribute(i);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(i):e.setAttribute(i,r);break;case"popover":Ce("beforetoggle",e),Ce("toggle",e),Ae(e,"popover",r);break;case"xlinkActuate":Nt(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Nt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Nt(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Nt(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Nt(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Nt(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Nt(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Nt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Nt(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Ae(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=Gx.get(i)||i,Ae(e,i,r))}}function tf(e,t,i,r,u,f){switch(i){case"style":wh(e,r,f);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(s(61));if(i=r.__html,i!=null){if(u.children!=null)throw Error(s(60));e.innerHTML=i}}break;case"children":typeof r=="string"?Yi(e,r):(typeof r=="number"||typeof r=="bigint")&&Yi(e,""+r);break;case"onScroll":r!=null&&Ce("scroll",e);break;case"onScrollEnd":r!=null&&Ce("scrollend",e);break;case"onClick":r!=null&&(e.onclick=$n);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!An.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(u=i.endsWith("Capture"),t=i.slice(2,u?i.length-7:void 0),f=e[le]||null,f=f!=null?f[i]:null,typeof f=="function"&&e.removeEventListener(t,f,u),typeof r=="function")){typeof f!="function"&&f!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(t,r,u);break e}i in e?e[i]=r:r===!0?e.setAttribute(i,""):Ae(e,i,r)}}}function Dt(e,t,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ce("error",e),Ce("load",e);var r=!1,u=!1,f;for(f in i)if(i.hasOwnProperty(f)){var y=i[f];if(y!=null)switch(f){case"src":r=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:qe(e,t,f,y,i,null)}}u&&qe(e,t,"srcSet",i.srcSet,i,null),r&&qe(e,t,"src",i.src,i,null);return;case"input":Ce("invalid",e);var x=f=y=u=null,T=null,L=null;for(r in i)if(i.hasOwnProperty(r)){var q=i[r];if(q!=null)switch(r){case"name":u=q;break;case"type":y=q;break;case"checked":T=q;break;case"defaultChecked":L=q;break;case"value":f=q;break;case"defaultValue":x=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(s(137,t));break;default:qe(e,t,r,q,i,null)}}bh(e,f,x,T,L,y,u,!1);return;case"select":Ce("invalid",e),r=y=f=null;for(u in i)if(i.hasOwnProperty(u)&&(x=i[u],x!=null))switch(u){case"value":f=x;break;case"defaultValue":y=x;break;case"multiple":r=x;default:qe(e,t,u,x,i,null)}t=f,i=y,e.multiple=!!r,t!=null?ki(e,!!r,t,!1):i!=null&&ki(e,!!r,i,!0);return;case"textarea":Ce("invalid",e),f=u=r=null;for(y in i)if(i.hasOwnProperty(y)&&(x=i[y],x!=null))switch(y){case"value":r=x;break;case"defaultValue":u=x;break;case"children":f=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(s(91));break;default:qe(e,t,y,x,i,null)}Sh(e,r,u,f);return;case"option":for(T in i)if(i.hasOwnProperty(T)&&(r=i[T],r!=null))switch(T){case"selected":e.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:qe(e,t,T,r,i,null)}return;case"dialog":Ce("beforetoggle",e),Ce("toggle",e),Ce("cancel",e),Ce("close",e);break;case"iframe":case"object":Ce("load",e);break;case"video":case"audio":for(r=0;r<Sr.length;r++)Ce(Sr[r],e);break;case"image":Ce("error",e),Ce("load",e);break;case"details":Ce("toggle",e);break;case"embed":case"source":case"link":Ce("error",e),Ce("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(L in i)if(i.hasOwnProperty(L)&&(r=i[L],r!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:qe(e,t,L,r,i,null)}return;default:if(pu(t)){for(q in i)i.hasOwnProperty(q)&&(r=i[q],r!==void 0&&tf(e,t,q,r,i,void 0));return}}for(x in i)i.hasOwnProperty(x)&&(r=i[x],r!=null&&qe(e,t,x,r,i,null))}function y1(e,t,i,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,f=null,y=null,x=null,T=null,L=null,q=null;for(Y in i){var X=i[Y];if(i.hasOwnProperty(Y)&&X!=null)switch(Y){case"checked":break;case"value":break;case"defaultValue":T=X;default:r.hasOwnProperty(Y)||qe(e,t,Y,null,r,X)}}for(var U in r){var Y=r[U];if(X=i[U],r.hasOwnProperty(U)&&(Y!=null||X!=null))switch(U){case"type":f=Y;break;case"name":u=Y;break;case"checked":L=Y;break;case"defaultChecked":q=Y;break;case"value":y=Y;break;case"defaultValue":x=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(s(137,t));break;default:Y!==X&&qe(e,t,U,Y,r,X)}}hu(e,y,x,T,L,q,f,u);return;case"select":Y=y=x=U=null;for(f in i)if(T=i[f],i.hasOwnProperty(f)&&T!=null)switch(f){case"value":break;case"multiple":Y=T;default:r.hasOwnProperty(f)||qe(e,t,f,null,r,T)}for(u in r)if(f=r[u],T=i[u],r.hasOwnProperty(u)&&(f!=null||T!=null))switch(u){case"value":U=f;break;case"defaultValue":x=f;break;case"multiple":y=f;default:f!==T&&qe(e,t,u,f,r,T)}
vendor: 4,399 bytes, line 26
26t=x,i=y,r=Y,U!=null?ki(e,!!i,U,!1):!!r!=!!i&&(t!=null?ki(e,!!i,t,!0):ki(e,!!i,i?[]:"",!1));return;case"textarea":Y=U=null;for(x in i)if(u=i[x],i.hasOwnProperty(x)&&u!=null&&!r.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:qe(e,t,x,null,r,u)}for(y in r)if(u=r[y],f=i[y],r.hasOwnProperty(y)&&(u!=null||f!=null))switch(y){case"value":U=u;break;case"defaultValue":Y=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(s(91));break;default:u!==f&&qe(e,t,y,u,r,f)}xh(e,U,Y);return;case"option":for(var ae in i)if(U=i[ae],i.hasOwnProperty(ae)&&U!=null&&!r.hasOwnProperty(ae))switch(ae){case"selected":e.selected=!1;break;default:qe(e,t,ae,null,r,U)}for(T in r)if(U=r[T],Y=i[T],r.hasOwnProperty(T)&&U!==Y&&(U!=null||Y!=null))switch(T){case"selected":e.selected=U&&typeof U!="function"&&typeof U!="symbol";break;default:qe(e,t,T,U,r,Y)}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 me in i)U=i[me],i.hasOwnProperty(me)&&U!=null&&!r.hasOwnProperty(me)&&qe(e,t,me,null,r,U);for(L in r)if(U=r[L],Y=i[L],r.hasOwnProperty(L)&&U!==Y&&(U!=null||Y!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(s(137,t));break;default:qe(e,t,L,U,r,Y)}return;default:if(pu(t)){for(var Ge in i)U=i[Ge],i.hasOwnProperty(Ge)&&U!==void 0&&!r.hasOwnProperty(Ge)&&tf(e,t,Ge,void 0,r,U);for(q in r)U=r[q],Y=i[q],!r.hasOwnProperty(q)||U===Y||U===void 0&&Y===void 0||tf(e,t,q,U,r,Y);return}}for(var j in i)U=i[j],i.hasOwnProperty(j)&&U!=null&&!r.hasOwnProperty(j)&&qe(e,t,j,null,r,U);for(X in r)U=r[X],Y=i[X],!r.hasOwnProperty(X)||U===Y||U==null&&Y==null||qe(e,t,X,U,r,Y)}function Ey(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function g1(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,i=performance.getEntriesByType("resource"),r=0;r<i.length;r++){var u=i[r],f=u.transferSize,y=u.initiatorType,x=u.duration;if(f&&x&&Ey(y)){for(y=0,x=u.responseEnd,r+=1;r<i.length;r++){var T=i[r],L=T.startTime;if(L>x)break;var q=T.transferSize,X=T.initiatorType;q&&Ey(X)&&(T=T.responseEnd,y+=q*(T<x?1:(x-L)/(T-L)))}if(--r,t+=8*(f+y)/(u.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var nf=null,af=null;function po(e){return e.nodeType===9?e:e.ownerDocument}function Ay(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function My(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function lf(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var rf=null;function v1(){var e=window.event;return e&&e.type==="popstate"?e===rf?!1:(rf=e,!0):(rf=null,!1)}var Cy=typeof setTimeout=="function"?setTimeout:void 0,b1=typeof clearTimeout=="function"?clearTimeout:void 0,Ry=typeof Promise=="function"?Promise:void 0,x1=typeof queueMicrotask=="function"?queueMicrotask:typeof Ry<"u"?function(e){return Ry.resolve(null).then(e).catch(S1)}:Cy;function S1(e){setTimeout(function(){throw e})}function Xa(e){return e==="head"}function Dy(e,t){var i=t,r=0;do{var u=i.nextSibling;if(e.removeChild(i),u&&u.nodeType===8)if(i=u.data,i==="/$"||i==="/&"){if(r===0){e.removeChild(u),vl(t);return}r--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")r++;else if(i==="html")wr(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,wr(i);for(var f=i.firstChild;f;){var y=f.nextSibling,x=f.nodeName;f[Te]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&f.rel.toLowerCase()==="stylesheet"||i.removeChild(f),f=y}}else i==="body"&&wr(e.ownerDocument.body);i=u}while(i);vl(t)}function zy(e,t){var i=e;e=0;do{var r=i.nextSibling;if(i.nodeType===1?t?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(t?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),r&&r.n
vendor: 11,236 bytes, line 26
26odeType===8)if(i=r.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=r}while(i)}function sf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var i=t;switch(t=t.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":sf(i),Xe(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function T1(e,t,i,r){for(;e.nodeType===1;){var u=i;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[Te])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(f=e.getAttribute("rel"),f==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(f!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var f=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=gn(e.nextSibling),e===null)break}return null}function w1(e,t,i){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=gn(e.nextSibling),e===null))return null;return e}function Oy(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=gn(e.nextSibling),e===null))return null;return e}function of(e){return e.data==="$?"||e.data==="$~"}function uf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function E1(e,t){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||i.readyState!=="loading")t();else{var r=function(){t(),i.removeEventListener("DOMContentLoaded",r)};i.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function gn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var cf=null;function jy(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(t===0)return gn(e.nextSibling);t--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||t++}e=e.nextSibling}return null}function Ny(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(t===0)return e;t--}else i!=="/$"&&i!=="/&"||t++}e=e.previousSibling}return null}function Ly(e,t,i){switch(t=po(i),e){case"html":if(e=t.documentElement,!e)throw Error(s(452));return e;case"head":if(e=t.head,!e)throw Error(s(453));return e;case"body":if(e=t.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function wr(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Xe(e)}var vn=new Map,Vy=new Set;function yo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ha=K.d;K.d={f:A1,r:M1,D:C1,C:R1,L:D1,m:z1,X:j1,S:O1,M:N1};function A1(){var e=ha.f(),t=ro();return e||t}function M1(e){var t=lt(e);t!==null&&t.tag===5&&t.type==="form"?Wm(t):ha.r(e)}var pl=typeof document>"u"?null:document;function Uy(e,t,i){var r=pl;if(r&&typeof t=="string"&&t){var u=cn(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof i=="string"&&(u+='[crossorigin="'+i+'"]'),Vy.has(u)||(Vy.add(u),e={rel:e,crossOrigin:i,href:t},r.querySelector(u)===null&&(t=r.createElement("link"),Dt(t,"link",e),Fe(t),r.head.appendChild(t)))}}function C1(e){ha.D(e),Uy("dns-prefetch",e,null)}function R1(e,t){ha.C(e,t),Uy("preconnect",e,t)}function D1(e,t,i){ha.L(e,t,i);var r=pl;if(r&&e&&t){var u='link[rel="preload"][as="'+cn(t)+'"]';t==="image"&&i&&i.imageSrcSet?(u+='[imagesrcset="'+cn(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(u+='[imagesizes="'+cn(i.imageSizes)+'"]')):u+='[href="'+cn(e)+'"]';var f=u;switch(t){case"style":f=yl(e);break;case"script":f=gl(e)}vn.has(f)||(e=v({rel:"preload",href:t==="image"&&i&&i.imageSrcSet?void 0:e,as:t},i),vn.set(f,e),r.querySelector(u)!==null||t==="style"&&r.querySelector(Er(f))||t==="script"&&r.querySelector(Ar(f))||(t=r.createElement("link"),Dt(t,"link",e),Fe(t),r.head.appendChild(t)))}}function z1(e,t){ha.m(e,t);var i=pl;if(i&&e){var r=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+cn(r)+'"][href="'+cn(e)+'"]',f=u;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=gl(e)}if(!vn.has(f)&&(e=v({rel:"modulepreload",href:e},t),vn.set(f,e),i.querySelector(u)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Ar(f)))return}r=i.createElement("link"),Dt(r,"link",e),Fe(r),i.head.appendChild(r)}}}function O1(e,t,i){ha.S(e,t,i);var r=pl;if(r&&e){var u=ht(r).hoistableStyles,f=yl(e);t=t||"default";var y=u.get(f);if(!y){var x={loading:0,preload:null};if(y=r.querySelector(Er(f)))x.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":t},i),(i=vn.get(f))&&ff(e,i);var T=y=r.createElement("link");Fe(T),Dt(T,"link",e),T._p=new Promise(function(L,q){T.onload=L,T.onerror=q}),T.addEventListener("load",function(){x.loading|=1}),T.addEventListener("error",function(){x.loading|=2}),x.loading|=4,go(y,t,r)}y={type:"stylesheet",instance:y,count:1,state:x},u.set(f,y)}}}function j1(e,t){ha.X(e,t);var i=pl;if(i&&e){var r=ht(i).hoistableScripts,u=gl(e),f=r.get(u);f||(f=i.querySelector(Ar(u)),f||(e=v({src:e,async:!0},t),(t=vn.get(u))&&df(e,t),f=i.createElement("script"),Fe(f),Dt(f,"link",e),i.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},r.set(u,f))}}function N1(e,t){ha.M(e,t);var i=pl;if(i&&e){var r=ht(i).hoistableScripts,u=gl(e),f=r.get(u);f||(f=i.querySelector(Ar(u)),f||(e=v({src:e,async:!0,type:"module"},t),(t=vn.get(u))&&df(e,t),f=i.createElement("script"),Fe(f),Dt(f,"link",e),i.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},r.set(u,f))}}function By(e,t,i,r){var u=(u=it.current)?yo(u):null;if(!u)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(t=yl(i.href),i=ht(u).hoistableStyles,r=i.get(t),r||(r={type:"style",instance:null,count:0,state:null},i.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=yl(i.href);var f=ht(u).hoistableStyles,y=f.get(e);if(y||(u=u.ownerDocument||u,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(e,y),(f=u.querySelector(Er(e)))&&!f._p&&(y.instance=f,y.state.loading=5),vn.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},vn.set(e,i),f||L1(u,e,i,y.state))),t&&r===null)throw Error(s(528,""));return y}if(t&&r!==null)throw Error(s(529,""));return null;case"script":return t=i.async,i=i.src,typeof i=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=gl(i),i=ht(u).hoistableScripts,r=i.get(t),r||(r={type:"script",instance:null,count:0,state:null},i.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function yl(e){return'href="'+cn(e)+'"'}function Er(e){return'link[rel="stylesheet"]['+e+"]"}function _y(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function L1(e,t,i,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),Dt(t,"link",i),Fe(t),e.head.appendChild(t))}function gl(e){return'[src="'+cn(e)+'"]'}function Ar(e){return"script[async]"+e}function Hy(e,t,i){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+cn(i.href)+'"]');if(r)return t.instance=r,Fe(r),r;var u=v({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),Fe(r),Dt(r,"style",u),go(r,i.precedence,e),t.instance=r;case"stylesheet":u=yl(i.href);var f=e.querySelector(Er(u));if(f)return t.state.loading|=4,t.instance=f,Fe(f),f;r=_y(i),(u=vn.get(u))&&ff(r,u),f=(e.ownerDocument||e).createElement("link"),Fe(f);var y=f;return y._p=new Promise(function(x,T){y.onload=x,y.onerror=T}),Dt(f,"link",r),t.state.loading|=4,go(f,i.precedence,e),t.instance=f;case"script":return f=gl(i.src),(u=e.querySelector(Ar(f)))?(t.instance=u,Fe(u),u):(r=i,(u=vn.get(f))&&(r=v({},i),df(r,u)),e=e.ownerDocument||e,u=e.createElement("script"),Fe(u),Dt(u,"link",r),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,go(r,i.precedence,e));return t.instance}function go(e,t,i){for(var r=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=r.length?r[r.length-1]:null,f=u,y=0;y<r.length;y++){var x=r[y];if(x.dataset.precedence===t)f=x;else if(f!==u)break}f?f.parentNode.insertBefore(e,f.nextSibling):(t=i.nodeType===9?i.head:i,t.insertBefore(e,t.firstChild))}function ff(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function df(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var vo=null;function ky(e,t,i){if(vo===null){var r=new Map,u=vo=new Map;u.set(i,r)}else u=vo,r=u.get(i),r||(r=new Map,u.set(i,r));if(r.has(e))return r;for(r.set(e,null),i=i.getElementsByTagName(e),u=0;u<i.length;u++){var f=i[u];if(!(f[Te]||f[$]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var y=f.getAttribute(t)||"";y=e+y;var x=r.get(y);x?x.push(f):r.set(y,[f])}}return r}function Yy(e,t,i){e=e.ownerDocument||e,e.head.insertBefore(i,t==="title"?e.querySelector("head > title"):null)}function V1(e,t,i){if(i===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function qy(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function U1(e,t,i,r){if(i.type==="stylesheet"&&(typeof r.media!="str
26ing"||matchMedia(r.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var u=yl(r.href),f=t.querySelector(Er(u));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=bo.bind(e),t.then(e,e)),i.state.loading|=4,i.instance=f,Fe(f);return}f=t.ownerDocument||t,r=_y(r),(u=vn.get(u))&&ff(r,u),f=f.createElement("link"),Fe(f);var y=f;y._p=new Promise(function(x,T){y.onload=x,y.onerror=T}),Dt(f,"link",r),i.instance=f}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=bo.bind(e),t.addEventListener("load",i),t.addEventListener("error",i))}}var hf=0;function B1(e,t){return e.stylesheets&&e.count===0&&So(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var r=setTimeout(function(){if(e.stylesheets&&So(e,e.stylesheets),e.unsuspend){var f=e.unsuspend;e.unsuspend=null,f()}},6e4+t);0<e.imgBytes&&hf===0&&(hf=62500*g1());var u=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&So(e,e.stylesheets),e.unsuspend)){var f=e.unsuspend;e.unsuspend=null,f()}},(e.imgBytes>hf?50:800)+t);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(u)}}:null}function bo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)So(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var xo=null;function So(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,xo=new Map,t.forEach(_1,e),xo=null,bo.call(e))}function _1(e,t){if(!(t.state.loading&4)){var i=xo.get(e);if(i)var r=i.get(null);else{i=new Map,xo.set(e,i);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<u.length;f++){var y=u[f];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(i.set(y.dataset.precedence,y),r=y)}r&&i.set(null,r)}u=t.instance,y=u.getAttribute("data-precedence"),f=i.get(y)||r,f===r&&i.set(null,u),i.set(y,u),this.count++,r=bo.bind(this),u.addEventListener("load",r),u.addEventListener("error",r),f?f.parentNode.insertBefore(u,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),t.state.loading|=4}}var Mr={$$typeof:H,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function H1(e,t,i,r,u,f,y,x,T){this.tag=1,this.containerInfo=e,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=Aa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Aa(0),this.hiddenUpdates=Aa(null),this.identifierPrefix=r,this.onUncaughtError=u,this.onCaughtError=f,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function Gy(e,t,i,r,u,f,y,x,T,L,q,X){return e=new H1(e,t,i,y,T,L,q,X,x),t=1,f===!0&&(t|=24),f=Wt(3,null,null,t),e.current=f,f.stateNode=e,t=Ku(),t.refCount++,e.pooledCache=t,t.refCount++,f.memoizedState={element:r,isDehydrated:i,cache:t},Pu(f),e}function Xy(e){return e?(e=Zi,e):Zi}function Ky(e,t,i,r,u,f){u=Xy(u),r.context===null?r.context=u:r.pendingContext=u,r=Na(t),r.payload={element:i},f=f===void 0?null:f,f!==null&&(r.callback=f),i=La(e,r,t),i!==null&&(Zt(i,e,t),ir(i,e,t))}function Qy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function mf(e,t){Qy(e,t),(e=e.alternate)&&Qy(e,t)}function Fy(e){if(e.tag===13||e.tag===31){var t=hi(e,67108864);t!==null&&Zt(t,e,67108864),mf(e,67108864)}}function Zy(e){if(e.tag===13||e.tag===31){var t=an();t=D(t);var i=hi(e,t);i!==null&&Zt(i,e,t),mf(e,t)}}var To=!0;function k1(e,t,i,r){var u=_.T;_.T=null;var f=K.p;try{K.p=2,pf(e,t,i,r)}finally{K.p=f,_.T=u}}function Y1(e,t,i,r){var u=_.T;_.T=null;var f=K.p;try{K.p=8,pf(e,t,i,r)}finally{K.p=f,_.T=u}}function pf(e,t,i,r){if(To){var u=yf(r);if(u===null)ef(e,t,r,wo,i),Jy(e,r);else if(G1(u,e,t,i,r))r.stopPropagation();else if(Jy(e,r),t&4&&-1<q1.indexOf(e)){for(;u!==null;){var f=lt(u);
vendor: 7,160 bytes, line 26
26if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var y=En(f.pendingLanes);if(y!==0){var x=f;for(x.pendingLanes|=2,x.entangledLanes|=2;y;){var T=1<<31-jt(y);x.entanglements[1]|=T,y&=~T}Hn(f),(_e&6)===0&&(io=Ut()+500,xr(0))}}break;case 31:case 13:x=hi(f,2),x!==null&&Zt(x,f,2),ro(),mf(f,2)}if(f=yf(r),f===null&&ef(e,t,r,wo,i),f===u)break;u=f}u!==null&&r.stopPropagation()}else ef(e,t,r,null,i)}}function yf(e){return e=gu(e),gf(e)}var wo=null;function gf(e){if(wo=null,e=Ze(e),e!==null){var t=c(e);if(t===null)e=null;else{var i=t.tag;if(i===13){if(e=d(t),e!==null)return e;e=null}else if(i===31){if(e=h(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return wo=e,null}function Py(e){switch(e){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(Zn()){case Ta:return 2;case Yl:return 8;case wa:case wn:return 32;case un:return 268435456;default:return 32}default:return 32}}var vf=!1,Ka=null,Qa=null,Fa=null,Cr=new Map,Rr=new Map,Za=[],q1="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 Jy(e,t){switch(e){case"focusin":case"focusout":Ka=null;break;case"dragenter":case"dragleave":Qa=null;break;case"mouseover":case"mouseout":Fa=null;break;case"pointerover":case"pointerout":Cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rr.delete(t.pointerId)}}function Dr(e,t,i,r,u,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:i,eventSystemFlags:r,nativeEvent:f,targetContainers:[u]},t!==null&&(t=lt(t),t!==null&&Fy(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function G1(e,t,i,r,u){switch(t){case"focusin":return Ka=Dr(Ka,e,t,i,r,u),!0;case"dragenter":return Qa=Dr(Qa,e,t,i,r,u),!0;case"mouseover":return Fa=Dr(Fa,e,t,i,r,u),!0;case"pointerover":var f=u.pointerId;return Cr.set(f,Dr(Cr.get(f)||null,e,t,i,r,u)),!0;case"gotpointercapture":return f=u.pointerId,Rr.set(f,Dr(Rr.get(f)||null,e,t,i,r,u)),!0}return!1}function $y(e){var t=Ze(e.target);if(t!==null){var i=c(t);if(i!==null){if(t=i.tag,t===13){if(t=d(i),t!==null){e.blockedOn=t,Z(e.priority,function(){Zy(i)});return}}else if(t===31){if(t=h(i),t!==null){e.blockedOn=t,Z(e.priority,function(){Zy(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Eo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=yf(e.nativeEvent);if(i===null){i=e.nativeEvent;var r=new i.constructor(i.type,i);yu=r,i.target.dispatchEvent(r),yu=null}else return t=lt(i),t!==null&&Fy(t),e.blockedOn=i,!1;t.shift()}return!0}function Wy(e,t,i){Eo(e)&&i.delete(t)}function X1(){vf=!1,Ka!==null&&Eo(Ka)&&(Ka=null),Qa!==null&&Eo(Qa)&&(Qa=null),Fa!==null&&Eo(Fa)&&(Fa=null),Cr.forEach(Wy),Rr.forEach(Wy)}function Ao(e,t){e.blockedOn===t&&(e.blockedOn=null,vf||(vf=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,X1)))}var Mo=null;function Iy(e){Mo!==e&&(Mo=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Mo===e&&(Mo=null);for(var t=0;t<e.length;t+=3){var i=e[t],r=e[t+1],u=e[t+2];if(typeof r!="function"){if(gf(r||i)===null)continue;break}var f=lt(i);f!==null&&(e.splice(t,3),t-=3,pc(f,{pending:!0,data:u,method:i.method,action:r},r,u))}}))}function vl(e){function t(T){return Ao(T,e)}Ka!==null&&Ao(Ka,e),Qa!==null&&Ao(Qa,e),Fa!==null&&Ao(Fa,e),Cr.forEach(t),Rr.forEach(t);for(var i=0;i<Za.length;i++){var r=Za[i];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Za.length&&(i=Za[0],i.blockedOn===null);)$y(i),i.blockedOn===null&&Za.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(r=0;r<i.length;r+=3){var u=i[r],f=i[r+1],y=u[le]||null;if(typeof f=="function")y||Iy(i);else if(y){var x=null;if(f&&f.hasAttribute("formAction")){if(u=f,y=f[le]||null)x=y.formAction;else if(gf(u)!==null)continue}else x=y.action;typeof x=="function"?i[r+1]=x:(i.splice(r,3),r-=3),Iy(i)}}}function eg(){function e(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(y){return u=y})},focusReset:"manual",scroll:"manual"})}function t(){u!==null&&(u(),u=null),r||setTimeout(i,20)}function i(){if(!r&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,u=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(i,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),u!==null&&(u(),u=null)}}}function bf(e){this._internalRoot=e}Co.prototype.render=bf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var i=t.current,r=an();Ky(i,r,e,t,null,null)},Co.prototype.unmount=bf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ky(e.current,2,null,e,null,null),ro(),t[ne]=null}};function Co(e){this._internalRoot=e}Co.prototype.unstable_scheduleHydration=function(e){if(e){var t=F();e={blockedOn:null,target:e,priority:t};for(var i=0;i<Za.length&&t!==0&&t<Za[i].priority;i++);Za.splice(i,0,e),i===0&&$y(e)}};var tg=a.version;if(tg!=="19.2.5")throw Error(s(527,tg,"19.2.5"));K.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=m(t),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var K1={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.5"};
26if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ro=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ro.isDisabled&&Ro.supportsFiber)try{Pn=Ro.inject(K1),Bt=Ro}catch{}}return zr.createRoot=function(e,t){if(!o(e))throw Error(s(299));var i=!1,r="",u=op,f=up,y=cp;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(f=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=Gy(e,1,!1,null,null,i,r,null,u,f,y,eg),e[ne]=t.current,Ic(e),new bf(t)},zr.hydrateRoot=function(e,t,i){if(!o(e))throw Error(s(299));var r=!1,u="",f=op,y=up,x=cp,T=null;return i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(u=i.identifierPrefix),i.onUncaughtError!==void 0&&(f=i.onUncaughtError),i.onCaughtError!==void 0&&(y=i.onCaughtError),i.onRecoverableError!==void 0&&(x=i.onRecoverableError),i.formState!==void 0&&(T=i.formState)),t=Gy(e,1,!0,t,i??null,r,u,T,f,y,x,eg),t.context=Xy(null),i=t.current,r=an(),r=D(r),u=Na(r),u.callback=null,La(i,u,r),i=r,t.current.lanes=i,Nn(t,i),Hn(t),e[ne]=t.current,Ic(e),new Co(t)},zr.version="19.2.5",zr}var lg;function aT(){if(lg)return xf.exports;lg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),xf.exports=nT(),xf.exports}var rg=aT();let Ot=(function(n){return n.CHARSET="charset",n.CSS_TEXT="cssText",n.HREF="href",n.HTTPEQUIV="http-equiv",n.INNER_HTML="innerHTML",n.ITEM_PROP="itemprop",n.NAME="name",n.PROPERTY="property",n.REL="rel",n.SRC="src",n})({}),Qe=(function(n){return n.BASE="base",n.BODY="body",n.HEAD="head",n.HTML="html",n.LINK="link",n.META="meta",n.NOSCRIPT="noscript",n.SCRIPT="script",n.STYLE="style",n.TITLE="title",n.FRAGMENT="Symbol(react.fragment)",n})({});const wf={link:{rel:["amphtml","canonical","alternate"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},script:{type:["application/ld+json"]}},sg=Object.values(Qe),Dd={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Fr=(()=>{const n={};for(const[a,l]of Object.entries(Dd))n[l]=a;return n})(),ba="data-rh",iT=!!(typeof window<"u"&&window.document.createElement);function Ml(n,a){for(let l=n.length-1;l>=0;--l){const s=n[l][1][a];if(s!==void 0)return s}}function lT(n){let a=Ml(n,Qe.TITLE);const l=Ml(n,"titleTemplate");if(Array.isArray(a)&&(a=a.join("")),l&&a)return l.replace(/%s/g,()=>a);const s=Ml(n,"defaultTitle");return(a||s)??void 0}function Ef(n,a){const l={};for(const s of a){const o=s[1][n];o&&Object.assign(l,o)}return l}function rT(n){for(let a=n.length-1;a>=0;--a){const l=n[a][1].base;if(l!=null&&l.href)return l}}function sT(n,a){let l;for(const s of Object.keys(n)){const o=s;a.includes(o)&&!(l===Ot.REL&&n[l].toLowerCase()==="canonical")&&!(o===Ot.REL&&n[o].toLowerCase()==="stylesheet")&&(l=o),a.includes(o)&&(o===Ot.INNER_HTML||o===Ot.CSS_TEXT||o===Ot.ITEM_PROP)&&(l=o)}return l??null}function Or(n,a,l){const s={};return l.map(([,o])=>o).filter(o=>Array.isArray(o[n])?!0:(typeof o[n]<"u"&&console.warn(`Helmet: ${n} should be of type "Array". Instead found type "${typeof o[n]}"`),!1)).map(o=>o[n]).reverse().reduce((o,c)=>{const d={};c.filter(p=>{const m=sT(p,a);if(!m||!p[m])return!1;const g=p[m].toLowerCase();return s[m]||(s[m]={}),d[m]||(d[m]={}),s[m][g]?!1:(d[m][g]=!0,!0)}).reverse().forEach(p=>o.push(p));const h=Object.keys(d);for(const p of h){const m={...s[p],...d[p]};s[p]=m}return o},[]).reverse()}function oT(n,a){for(const[,l]of n)if(l[a])return!0;return!1}function f0(n){return Array.isArray(n)?n.join(""):n}function uT(n,a){var l;for(const s of Object.keys(n))if((l=a[s])!=null&&l.includes(n[s]))return!0;return!1}function Af(n,a){const l={default:Array(),priority:Array()};if(n)for(const s of n)uT(s,a)?l.priority.push(s):l.default.push(s);return l}function cT(n){const a={};for(const[l,s]of Object.entries(n))a[l]=Array.isArray(s)?s.slice():s;return a}function fT(n,a){const l=n;for(const[s,o]of Object.entries(a))if(Array.isArray(o)){const c=l[s];l[s]=c?c.concat(o):o}else l[s]=o}function Mf(n,a,l){const s=n[a];s?s.push(l):n[a]=[l]}function $f(n){let a=Or(Qe.LINK,[Ot.REL,Ot.HREF],n),l=Or("meta",[Ot.NAME,"charSet","httpEquiv",Ot.PROPERTY,"itemProp"],n),s=Or("script",[Ot.SRC,Ot.INNER_HTML],n);const o=oT(n,"prioritizeSeoTags");let c;if(o){const d=Af(a,wf.link);a=d.default;const h=Af(l,wf.meta);l=h.default;const p=Af(s,wf.script);s=p.default,c={links:d.priority,meta:h.priority,script:p.priority}}return{base:rT(n),bodyAttributes:Ef("bodyAttributes",n),defer:Ml(n,"defer"),encodeSpecialCharacters:Ml(n,"encodeSpecialCharacters")??!0,htmlAttributes:Ef("htmlAttributes",n),links:a,meta:l,noscript:Or("noscript",[Ot.INNER_HTML],n),onChangeClientState:Ml(n,"onChangeClientState"),priority:c,script:s,style:Or("style",[Ot.CSS_TEXT],n),title:lT(n),titleAttributes:Ef("titleAttributes",n)}}function dT(n){return Fr[n]??n}const hT=[Qe.NOSCRIPT,Qe.SCRIPT,Qe.STYLE],d0=(n,a=!0)=>a?n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):n;function Wf(n){let a="";for(const[l,s]of Object.entries(n)){const o=dT(l),c=s===void 0?o:`${o}="${s}"`;c&&a&&(a+=" "),a+=c}return a}const mT=(n,a,l)=>{let s=Wf(a);s&&(s=` ${s}`);const o=f0(n);return`<title ${ba}="true"${s}>${d0(o,l)}</title>`};function ma(n,a,l){let s="";for(const o of a){let c="";const d=Object.entries(o);for(const[m,g]of d)if(!(m===Ot.INNER_HTML||m===Ot.CSS_TEXT)){const v=Fr[m]??m;let b;if(g===void 0)b=v;else{const S=typeof g=="string"?g:String(g);b=`${v}="${d0(S,l)}"`}c?c+=` ${b}`:c=b}const h=o.innerHTML??o.cssText??"",p=!hT.includes(n);s+=`<${n} ${ba}="true" ${c}${p?"/>":`>${h}</${n}>`}`}return s}function Ko(n,a={}){const l={};a.addHelmetDataAttr&&(l[ba]=!0),a.addKey!==void 0&&(l.key=a.addKey);for(const[s,o]of Object.entries(n)){const c=Dd[s]??s;switch(c){case"cssText":case"innerHTML":l.dangerouslySetInnerHTML={__html:o};break;default:l[c]=o}}return l}
26function pT(n,a){return[O.jsx("title",{...Ko(a,{addHelmetDataAttr:!0}),children:n},n)]}function yT(n,a,l){return E.createElement(n,Ko(a,{addHelmetDataAttr:!0,addKey:l}))}function pa(n,a){const l=[];for(let s=0;s<a.length;++s)l.push(yT(n,a[s],s));return l}function gT(n){const a=()=>(n.state??(n.state=$f(n.helmets)),n.state);return{base:{toComponent(){const l=a().base;return l?pa("base",[l]):[]},toString(){const l=a();return l.base?ma("base",[l.base],l.encodeSpecialCharacters):""}},bodyAttributes:{toComponent(){const l=a().bodyAttributes;return Ko(l??{})},toString(){const l=a().bodyAttributes;return Wf(l??{})}},htmlAttributes:{toComponent(){const l=a().htmlAttributes;return Ko(l??{})},toString(){const l=a().htmlAttributes;return Wf(l??{})}},link:{toComponent(){return pa("link",a().links??[])},toString(){const l=a();return ma("link",l.links??[],l.encodeSpecialCharacters)}},meta:{toComponent(){return pa("meta",a().meta??[])},toString(){const l=a();return ma("meta",l.meta??[],l.encodeSpecialCharacters)}},noscript:{toComponent(){return pa("noscript",a().noscript??[])},toString(){const l=a();return ma("noscript",l.noscript??[],l.encodeSpecialCharacters)}},priority:{toComponent(){var s,o,c;const l=a();return[...pa("meta",((s=l.priority)==null?void 0:s.meta)??[]),...pa("link",((o=l.priority)==null?void 0:o.links)??[]),...pa("script",((c=l.priority)==null?void 0:c.script)??[])]},toString(){var h,p,m;const l=a(),s=ma("meta",((h=l.priority)==null?void 0:h.meta)??[],l.encodeSpecialCharacters),o=ma("link",((p=l.priority)==null?void 0:p.links)??[],l.encodeSpecialCharacters),c=ma("script",((m=l.priority)==null?void 0:m.script)??[],l.encodeSpecialCharacters);let d=s;return o&&(d&&(d+=" "),d+=o),c&&(d&&(d+=" "),d+=c),d}},script:{toComponent(){return pa("script",a().script??[])},toString(){const l=a();return ma("script",l.script??[],l.encodeSpecialCharacters)}},style:{toComponent(){return pa("style",a().style??[])},toString(){const l=a();return ma("style",l.style??[],l.encodeSpecialCharacters)}},title:{toComponent(){const l=a();return pT(l.title??"",l.titleAttributes??{})},toString(){const l=a();return mT(l.title??"",l.titleAttributes??{},l.encodeSpecialCharacters)}}}}function bl(n,a){const l=document.head||document.querySelector(Qe.HEAD),s=l.querySelectorAll(`${n}[${ba}]`),o=[],c=[...s],d=[];for(const h of a){const p=document.createElement(n);for(const[g,v]of Object.entries(h))if(Object.prototype.hasOwnProperty.call(h,g)){const b=Fr[g]??g;b===Ot.INNER_HTML?p.innerHTML=v:b===Ot.CSS_TEXT?p.styleSheet?p.styleSheet.cssText=h.cssText:p.appendChild(document.createTextNode(h.cssText)):p.setAttribute(b,v??"")}p.setAttribute(ba,"true");const m={};for(const{name:g,value:v}of p.attributes)m[g]=v;o.push(m);for(let g=0;;++g){if(p.isEqualNode(c[g])){c.splice(g,1);break}if(g>=c.length){d.push(p);break}}}return c.forEach(h=>{var p;return(p=h.parentNode)==null?void 0:p.removeChild(h)}),d.forEach(h=>l.appendChild(h)),{allTags:o,newTags:d,oldTags:c}}function If(n,a){const[l]=document.getElementsByTagName(n);if(!l)return;const s=l.getAttribute(ba),o=s?s.split(","):[],c=[...o],d=[];for(const h of Object.keys(a))d.push(Fr[h]??h);for(const[h,p]of Object.entries(a)){const m=Fr[h]??h;l.getAttribute(m)!==p&&l.setAttribute(m,p??""),o.includes(m)||o.push(m);const g=c.indexOf(m);g!==-1&&c.splice(g,1)}for(let h=c.length-1;h>=0;h-=1)l.removeAttribute(c[h]);o.length===c.length?l.removeAttribute(ba):l.getAttribute(ba)!==d.join(",")&&l.setAttribute(ba,d.join(","))}function vT(n,a){n!==void 0&&document.title!==n&&(document.title=f0(n)),If(Qe.TITLE,a)}function og(n,a){const{base:l,bodyAttributes:s,defer:o,htmlAttributes:c,links:d,meta:h,noscript:p,onChangeClientState:m,priority:g,script:v,style:b,title:S,titleAttributes:C}=n;If(Qe.BODY,s??{}),If(Qe.HTML,c??{}),vT(S,C);const z={baseTag:bl(Qe.BASE,l?[l]:[]),linkTags:bl(Qe.LINK,[...(g==null?void 0:g.links)??[],...d??[]]),metaTags:bl(Qe.META,[...(g==null?void 0:g.meta)??[],...h??[]]),noscriptTags:bl(Qe.NOSCRIPT,p??[]),scriptTags:bl(Qe.SCRIPT,[...(g==null?void 0:g.script)??[],...v??[]]),styleTags:bl(Qe.STYLE,b??[])},R={baseTag:[],bodyAttributes:{},defer:o??!1,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],onChangeClientState:m??(()=>{}),scriptTags:[],styleTags:[],title:S??"",titleAttributes:{}},B={},k={};Object.keys(z).forEach(H=>{const{allTags:P,newTags:Q,oldTags:I}=z[H];R[H]=P,Q.length&&(B[H]=Q),I.length&&(k[H]=z[H].oldTags)}),(a||Object.keys(B).length||Object.keys(k).length)&&(m==null||m(R,B,k))}const h0=E.createContext(void 0),bT=({children:n,context:a})=>{const{current:l}
26=E.useRef({firstRender:!0,helmets:[],state:void 0}),s=E.useRef(null);return s.current??(s.current={clientApply(){iT&&!l.state&&(l.state=$f(l.helmets),l.state.defer?l.nextAnimFrameId??(l.nextAnimFrameId=requestAnimationFrame(()=>{l.state??(l.state=$f(l.helmets)),og(l.state,l.firstRender),l.firstRender=!1,delete l.nextAnimFrameId})):(l.nextAnimFrameId!==void 0&&(cancelAnimationFrame(l.nextAnimFrameId),delete l.nextAnimFrameId),og(l.state,l.firstRender),l.firstRender=!1))},update(o,c){const d=l.helmets.findIndex(h=>h[0]===o);d>=0?(delete l.state,c?l.helmets[d][1]=c:l.helmets.splice(d,1)):c&&(delete l.state,l.helmets.push([o,c]))}}),a&&(!a.helmet||a.helmet!==l.serverState)&&(l.serverState??(l.serverState=gT(l)),a.helmet=l.serverState),O.jsx(h0,{value:s.current,children:n})};function xT(n,a){if(typeof n!="string")throw Error("You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.");if(!sg.includes(n))throw Error(`Only elements types ${sg.join(", ")} are allowed. Helmet does not support rendering <${n}> elements. Refer to our API for more information.`);if(!(!a||typeof a=="string"||Array.isArray(a)))throw Error(`Helmet expects a string as a child of <${n}>. Did you forget to wrap your children in braces? ( <${n}>{\`\`}</${n}> ) Refer to our API for more information.`)}function Cf(n){const a=Dd[n];return a&&console.warn(`"${n}" is not a valid JSX prop, replace it by "${a}"`),a??n}function ed(n){const a=cT(n);for(const l of Object.values(n))if(Array.isArray(l)){for(const s of l)if(s)for(const o of Object.keys(s)){const c=Cf(o);c!==o&&(s[c]=s[o],delete s[o])}}else if(l&&typeof l=="object"){const s=l;for(const o of Object.keys(s)){const c=Cf(o);c!==o&&(s[c]=s[o],delete s[o])}}return E.Children.forEach(n.children,l=>{if(l==null)return;if(typeof l!="object"||!("props"in l))throw Error(`"${typeof l}" is not a valid <Helmet> descendant`);let s;const o={};if(l.props)for(const[h,p]of Object.entries(l.props))h==="children"?s=p:o[Cf(h)]=p;let{type:c}=l;typeof c=="symbol"&&(c=c.toString()),xT(c,s);function d(h){typeof h!="string"&&console.error(`child of ${c} element should be a string`)}switch(c){case Qe.BASE:a.base=o;break;case Qe.BODY:a.bodyAttributes=o;break;case Qe.FRAGMENT:fT(a,ed({children:s}));break;case Qe.HTML:a.htmlAttributes=o;break;case Qe.LINK:case Qe.META:if(s)throw Error(`<${c} /> elements are self-closing and can not contain children. Refer to our API for more information.`);Mf(a,c,o);break;case Qe.NOSCRIPT:case Qe.SCRIPT:s!==void 0&&(d(s),o.innerHTML=s),Mf(a,c,o);break;case Qe.STYLE:d(s),o.cssText=s,Mf(a,c,o);break;case Qe.TITLE:a.titleAttributes=o,typeof s=="string"?a.title=s:Array.isArray(s)&&(a.title=s.join(""));break;case Qe.HEAD:}}),delete a.children,a}const ST=n=>{const a=E.use(h0);if(!a)throw Error("<Helmet> component must be within a <HelmetProvider> children tree");const l=E.useId();return a.update(l,ed(n)),E.useEffect(()=>{a.update(l,ed(n)),a.clientApply()}),E.useEffect(()=>()=>{a.update(l,void 0),a.clientApply()},[a,l]),null};/** 27 * react-router v7.13.2 28 * 29 * Copyright (c) Remix Software Inc. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE.md file in the root directory of this source tree. 33 * 34 * @license MIT 35 */var m0=n=>{throw TypeError(n)},TT=(n,a,l)=>a.has(n)||m0("Cannot "+l),Rf=(n,a,l)=>(TT(n,a,"read from private field"),l?l.call(n):a.get(n)),wT=(n,a,l)=>a.has(n)?m0("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(n):a.set(n,l),ug="popstate";function cg(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function ET(n={}){function a(s,o){var m;let c=(m=o.state)==null?void 0:m.masked,{pathname:d,search:h,hash:p}=c||s.location;return Zr("",{pathname:d,search:h,hash:p},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)}function l(s,o){return typeof o=="string"?o:Yn(o)}return MT(a,l,null,n)}function Ee(n,a){if(n===!1||n===null||typeof n>"u")throw new Error(a)}function ut(n,a){if(!n){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function AT(){return Math.random().toString(36).substring(2,10)}function fg(n,a){return{usr:n.state,key:n.key,idx:a,masked:n.unstable_mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function Zr(n,a,l=null,s,o){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof a=="str
35ing"?Gn(a):a,state:l,key:a&&a.key||s||AT(),unstable_mask:o}}function Yn({pathname:n="/",search:a="",hash:l=""}){return a&&a!=="?"&&(n+=a.charAt(0)==="?"?a:"?"+a),l&&l!=="#"&&(n+=l.charAt(0)==="#"?l:"#"+l),n}function Gn(n){let a={};if(n){let l=n.indexOf("#");l>=0&&(a.hash=n.substring(l),n=n.substring(0,l));let s=n.indexOf("?");s>=0&&(a.search=n.substring(s),n=n.substring(0,s)),n&&(a.pathname=n)}return a}function MT(n,a,l,s={}){let{window:o=document.defaultView,v5Compat:c=!1}=s,d=o.history,h="POP",p=null,m=g();m==null&&(m=0,d.replaceState({...d.state,idx:m},""));function g(){return(d.state||{idx:null}).idx}function v(){h="POP";let R=g(),B=R==null?null:R-m;m=R,p&&p({action:h,location:z.location,delta:B})}function b(R,B){h="PUSH";let k=cg(R)?R:Zr(z.location,R,B);m=g()+1;let H=fg(k,m),P=z.createHref(k.unstable_mask||k);try{d.pushState(H,"",P)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;o.location.assign(P)}c&&p&&p({action:h,location:z.location,delta:1})}function S(R,B){h="REPLACE";let k=cg(R)?R:Zr(z.location,R,B);m=g();let H=fg(k,m),P=z.createHref(k.unstable_mask||k);d.replaceState(H,"",P),c&&p&&p({action:h,location:z.location,delta:0})}function C(R){return p0(R)}let z={get action(){return h},get location(){return n(o,d)},listen(R){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(ug,v),p=R,()=>{o.removeEventListener(ug,v),p=null}},createHref(R){return a(o,R)},createURL:C,encodeLocation(R){let B=C(R);return{pathname:B.pathname,search:B.search,hash:B.hash}},push:b,replace:S,go(R){return d.go(R)}};return z}function p0(n,a=!1){let l="http://localhost";
35typeof window<"u"&&(l=window.location.origin!=="null"?window.location.origin:window.location.href),Ee(l,"No window.location.(origin|href) available to create URL");let s=typeof n=="string"?n:Yn(n);return s=s.replace(/ $/,"%20"),!a&&s.startsWith("//")&&(s=l+s),new URL(s,l)}var _r,dg=class{constructor(n){if(wT(this,_r,new Map),n)for(let[a,l]of n)this.set(a,l)}get(n){if(Rf(this,_r).has(n))return Rf(this,_r).get(n);if(n.defaultValue!==void 0)return n.defaultValue;throw new Error("No value found for context")}set(n,a){Rf(this,_r).set(n,a)}};_r=new WeakMap;var CT=new Set(["lazy","caseSensitive","path","id","index","children"]);function RT(n){return CT.has(n)}var DT=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function zT(n){return DT.has(n)}function OT(n){return n.index===!0}function Pr(n,a,l=[],s={},o=!1){return n.map((c,d)=>{let h=[...l,String(d)],p=typeof c.id=="string"?c.id:h.join("-");if(Ee(c.index!==!0||!c.children,"Cannot specify children on an index route"),Ee(o||!s[p],`Found a route id collision on i
35d "${p}". Route id's must be globally unique within Data Router usages`),OT(c)){let m={...c,id:p};return s[p]=hg(m,a(m)),m}else{let m={...c,id:p,children:void 0};return s[p]=hg(m,a(m)),c.children&&(m.children=Pr(c.children,a,h,s,o)),m}})}function hg(n,a){return Object.assign(n,{...a,...typeof a.lazy=="object"&&a.lazy!=null?{lazy:{...n.lazy,...a.lazy}}:{}})}function Ia(n,a,l="/"){return Hr(n,a,l,!1)}function Hr(n,a,l,s){let o=typeof a=="string"?Gn(a):a,c=sn(o.pathname||"/",l);if(c==null)return null;let d=g0(n);jT(d);let h=null;for(let p=0;h==null&&p<d.length;++p){let m=GT(c);h=YT(d[p],m,s)}return h}function y0(n,a){let{route:l,pathname:s,params:o}=n;return{id:l.id,pathname:s,params:o,data:a[l.id],loaderData:a[l.id],handle:l.handle}}function g0(n,a=[],l=[],s="",o=!1){let c=(d,h,p=o,m)=>{let g={relativePath:m===void 0?d.path||"":m,caseSensitive:d.caseSensitive===!0,childrenIndex:h,route:d};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(s)&&p)return;Ee(g.relativePath.startsWith(s),`Absolute route path "${g.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(s.length)}let v=On([s,g.relativePath]),b=l.concat(g);d.children&&d.children.length>0&&(Ee(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),g0(d.children,a,b,v,p)),!(d.path==null&&!d.index)&&a.push({path:v,score:HT(v,d.index),routesMeta:b})};return n.forEach((d,h)=>{var p;if(d.path===""||!((p=d.path)!=null&&p.includes("?")))c(d,h);else for(let m of v0(d.path))c(d,h,!0,m)}),a}function v0(n){let a=n.split("/");if(a.length===0)return[];let[l,...s]=a,o=l.endsWith("?"),c=l.replace(/\?$/,"");if(s.length===0)return o?[c,""]:[c];let d=v0(s.join("/")),h=[];return h.push(...d.map(p=>p===""?c:[c,p].join("/"))),o&&h.push(...d),h.map(p=>n.startsWith("/")&&p===""?"/":p)}function jT(n){n.sort((a,l)=>a.score!==l.score?l.score-a.score:kT(a.routesMeta.map(s=>s.childrenIndex),l.routesMeta.map(s=>s.childrenIndex)))}var NT=/^:[\w-]+$/,LT=3,VT=2,UT=1,BT=10,_T=-2,mg=n=>n==="*";function HT(n,a){let l=n.split("/"),s=l.length;return l.some(mg)&&(s+=_T),a&&(s+=VT),l.filter(o=>!mg(o)).reduce((o,c)=>o+(NT.test(c)?LT:c===""?UT:BT),s)}function kT(n,a){return n.length===a.length&&n.slice(0,-1).every((s,o)=>s===a[o])?n[n.length-1]-a[a.length-1]:0}function YT(n,a,l=!1){let{routesMeta:s}=n,o={},c="/",d=[];for(let h=0;h<s.length;++h){let p=s[h],m=h===s.length-1,g=c==="/"?a:a.slice(c.length)||"/",v=Qo({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),b=p.route;if(!v&&m&&l&&!s[s.length-1].route.index&&(v=Qo({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!v)return null;
35Object.assign(o,v.params),d.push({params:o,pathname:On([c,v.pathname]),pathnameBase:QT(On([c,v.pathnameBase])),route:b}),v.pathnameBase!=="/"&&(c=On([c,v.pathnameBase]))}return d}function Qo(n,a){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[l,s]=qT(n.path,n.caseSensitive,n.end),o=a.match(l);if(!o)return null;let c=o[0],d=c.replace(/(.)\/+$/,"$1"),h=o.slice(1);return{params:s.reduce((m,{paramName:g,isOptional:v},b)=>{if(g==="*"){let C=h[b]||"";d=c.slice(0,c.length-C.length).replace(/(.)\/+$/,"$1")}const S=h[b];return v&&!S?m[g]=void 0:m[g]=(S||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:d,pattern:n}}function qT(n,a=!1,l=!0){ut(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let s=[],o="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,h,p,m,g)=>{if(s.push({paramName:h,isOptional:p!=null}),p){let v=g.charAt(m+d.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(s.push({paramName:"*"}),o+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?o+="\\/*$":n!==""&&n!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,a?void 0:"i"),s]}function GT(n){try{return n.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return ut(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),n}}function sn(n,a){if(a==="/")return n;if(!n.toLowerCase().startsWith(a.toLowerCase()))return null;let l=a.endsWith("/")?a.length-1:a.length,s=n.charAt(l);return s&&s!=="/"?null:n.slice(l)||"/"}function XT({basename:n,pathname:a}){return a==="/"?n:On([n,a])}var b0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zd=n=>b0.test(n);function KT(n,a="/"){let{pathname:l,search:s="",hash:o=""}=typeof n=="string"?Gn(n):n,c;return l?(l=l.replace(/\/\/+/g,"/"),l.startsWith("/")?c=pg(l.substring(1),"/"):c=pg(l,a)):c=a,{pathname:c,search:FT(s),hash:ZT(o)}}function pg(n,a){let l=a.replace(/\/+$/,"").split("/");return n.split("/").forEach(o=>{o===".."?l.length>1&&l.pop():o!=="."&&l.push(o)}),l.length>1?l.join("/"):"/"}function Df(n,a,l,s){return`Cannot include a '${n}' character in a manually specified \`to.${a}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${l}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function x0(n){return n.filter((a,l)=>l===0||a.route.path&&a.route.path.length>0)}function Od(n){let a=x0(n);return a.map((l,s)=>s===a.length-1?l.pathname:l.pathnameBase)}function eu(n,a,l,s=!1){let o;typeof n=="string"?o=Gn(n):(o={...n},Ee(!o.pathname||!o.pathname.includes("?"),Df("?","pathname","search",o)),Ee(!o.pathname||!o.pathname.includes("#"),Df("#","pathname","hash",o)),Ee(!o.search||!o.search.includes("#"),Df("#","search","hash",o)));let c=n===""||o.pathname==="",d=c?"/":o.pathname,h;if(d==null)h=l;else{let v=a.length-1;if(!s&&d.startsWith("..")){let b=d.split("/");for(;b[0]==="..";)b.shift(),v-=1;o.pathname=b.join("/")}h=v>=0?a[v]:"/"}let p=KT(o,h),m=d&&d!=="/"&&d.endsWith("/"),g=(c||d===".")&&l.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}var On=n=>n.join("/").replace(/\/\/+/g,"/"),QT=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),FT=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,ZT=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,ns=class{constructor(n,a,l,s=!1){this.status=n,this.statusText=a||"",this.internal=s,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function Jr(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function as(n){return n.map(a=>a.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var S0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function T0(n,a){let l=n;if(typeof l!="string"||!b0.test(l))return{absoluteURL:void 0,isExternal:!1,to:l};let s=l,o=!1;if(S0)try{let c=new URL(window.location.href),d=l.startsWith("//")?new URL(c.protocol+l):new URL(l),h=sn(d.pathname,a);d.origin===c.origin&&h!=null?l=h+d.search+d.hash:o=!0}catch{ut(!1,`<Link to="${l}">
35 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:o,to:l}}var ti=Symbol("Uninstrumented");function PT(n,a){let l={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};n.forEach(o=>o({id:a.id,index:a.index,path:a.path,instrument(c){let d=Object.keys(l);for(let h of d)c[h]&&l[h].push(c[h])}}));let s={};if(typeof a.lazy=="function"&&l.lazy.length>0){let o=Sl(l.lazy,a.lazy,()=>{});o&&(s.lazy=o)}if(typeof a.lazy=="object"){let o=a.lazy;["middleware","loader","action"].forEach(c=>{let d=o[c],h=l[`lazy.${c}`];if(typeof d=="function"&&h.length>0){let p=Sl(h,d,()=>{});p&&(s.lazy=Object.assign(s.lazy||{},{[c]:p}))}})}return["loader","action"].forEach(o=>{let c=a[o];if(typeof c=="function"&&l[o].length>0){let d=c[ti]??c,h=Sl(l[o],d,(...p)=>yg(p[0]));h&&(o==="loader"&&d.hydrate===!0&&(h.hydrate=!0),h[ti]=d,s[o]=h)}}),a.middleware&&a.middleware.length>0&&l.middleware.length>0&&(s.middleware=a.middleware.map(o=>{let c=o[ti]??o,d=Sl(l.middleware,c,(...h)=>yg(h[0]));return d?(d[ti]=c,d):o})),s}function JT(n,a){let l={navigate:[],fetch:[]};if(a.forEach(s=>s({instrument(o){let c=Object.keys(o);for(let d of c)o[d]&&l[d].push(o[d])}})),l.navigate.length>0){let s=n.navigate[ti]??n.navigate,o=Sl(l.navigate,s,(...c)=>{let[d,h]=c;return{to:typeof d=="number"||typeof d=="string"?d:d?Yn(d):".",...gg(n,h??{})}});o&&(o[ti]=s,n.navigate=o)}if(l.fetch.length>0){let s=n.fetch[ti]??n.fetch,o=Sl(l.fetch,s,(...c)=>{let[d,,h,p]=c;return{href:h??".",fetcherKey:d,...gg(n,p??{})}});o&&(o[ti]=s,n.fetch=o)}return n}function Sl(n,a,l){return n.length===0?null:async(...s)=>{let o=await w0(n,l(...s),()=>a(...s),n.length-1);if(o.type==="error")throw o.value;return o.value}}async function w0(n,a,l,s){let o=n[s],c;if(o){let d,h=async()=>(d?console.error("You cannot call instrumented handlers more than once"):d=w0(n,a,l,s-1),c=await d,Ee(c,"Expected a result"),c.type==="error"&&c.value instanceof Error?{status:"error",error:c.value}:{status:"success",error:void 0});try{await o(h,a)}catch(p){console.error("An instrumentation function threw an error:",p)}d||await h(),await d}else try{c={type:"success",value:await l()}}catch(d){c={type:"error",value:d}}return c||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function yg(n){let{request:a,context:l,params:s,unstable_pattern:o}=n;return{request:$T(a),params:{...s},unstable_pattern:o,context:WT(l)}}function gg(n,a){return{currentUrl:Yn(n.state.location),..."formMethod"in a?{formMethod:a.formMethod}:{},..."formEncType"in a?{formEncType:a.formEncType}:{},..."formData"in a?{formData:a.formData}:{},..."body"in a?{body:a.body}:{}}}function $T(n){return{method:n.method,url:n.url,headers:{get:(...a)=>n.headers.get(...a)}}}function WT(n){if(ew(n)){let a={...n};return Object.freeze(a),a}else return{get:a=>n.get(a)}}var IT=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ew(n){if(n===null||typeof n!="object")return!1;const a=Object.getPrototypeOf(n);return a===Object.prototype||a===null||Object.getOwnPropertyNames(a).sort().join("\0")===IT}var E0=["POST","PUT","PATCH","DELETE"],tw=new Set(E0),nw=["GET",...E0],aw=new Set(nw),A0=new Set([301,302,303,307,308]),iw=new Set([307,308]),zf={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},lw={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},jr={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},rw=n=>({hasErrorBoundary:!!n.hasErrorBoundary}),M0="remix-router-transitions",C0=Symbol("ResetLoaderData");function sw(n){const a=n.window?n.window:typeof window<"u"?window:void 0,l=typeof a<"u"&&typeof a.document<"u"&&typeof a.document.createElement<"u";Ee(n.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=n.hydrationRouteProperties||[],o=n.mapRouteProperties||rw,c=o;if(n.unstable_instrumentations){let w=n.unstable_instrumentations;c=D=>({...o(D),...PT(w.map(V=>
35V.route).filter(Boolean),D)})}let d={},h=Pr(n.routes,c,void 0,d),p,m=n.basename||"/";m.startsWith("/")||(m=`/${m}`);let g=n.dataStrategy||dw,v={unstable_passThroughRequests:!1,...n.future},b=null,S=new Set,C=null,z=null,R=null,B=n.hydrationData!=null,k=Ia(h,n.history.location,m),H=!1,P=null,Q,I;if(k==null&&!n.patchRoutesOnNavigation){let w=xn(404,{pathname:n.history.location.pathname}),{matches:D,route:V}=Do(h);Q=!0,I=!Q,k=D,P={[V.id]:w}}else if(k&&!n.hydrationData&&Aa(k,h,n.history.location.pathname).active&&(k=null),k)if(k.some(w=>w.route.lazy))Q=!1,I=!Q;else if(!k.some(w=>jd(w.route)))Q=!0,I=!Q;else{let w=n.hydrationData?n.hydrationData.loaderData:null,D=n.hydrationData?n.hydrationData.errors:null,V=k;if(D){let F=k.findIndex(Z=>D[Z.route.id]!==void 0);V=V.slice(0,F+1)}I=!1,Q=!0,V.forEach(F=>{let Z=R0(F.route,w,D);I=I||Z.renderFallback,Q=Q&&!Z.shouldLoad})}else{Q=!1,I=!Q,k=[];let w=Aa(null,h,n.history.location.pathname);w.active&&w.matches&&(H=!0,k=w.matches)}let fe,M={historyAction:n.history.action,location:n.history.location,matches:k,initialized:Q,renderFallback:I,navigation:zf,restoreScrollPosition:n.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:n.hydrationData&&n.hydrationData.loaderData||{},actionData:n.hydrationData&&n.hydrationData.actionData||null,errors:n.hydrationData&&n.hydrationData.errors||P,fetchers:new Map,blockers:new Map},de="POP",se=null,Ne=!1,ee,et=!1,we=new Map,Re=null,_=!1,K=!1,J=new Set,te=new Map,he=0,ge=-1,Oe=new Map,ye=new Set,Be=new Map,nt=new Map,it=new Set,on=new Map,Qn,Yt=null;function Ul(){if(b=n.history.listen(({action:w,location:D,delta:V})=>{if(Qn){Qn(),Qn=void 0;return}ut(on.size===0||V!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let F=si({currentLocation:M.location,nextLocation:D,historyAction:w});if(F&&V!=null){let Z=new Promise(ie=>{Qn=ie});n.history.go(V*-1),Jn(F,{state:"blocked",location:D,proceed(){Jn(F,{state:"proceeding",proceed:void 0,reset:void 0,location:D}),Z.then(()=>n.history.go(V))},reset(){let ie=new Map(M.blockers);ie.set(F,jr),xt({blockers:ie})}}),se==null||se.resolve(),se=null;return}return Fn(w,D)}),l){zw(a,we);let w=()=>Ow(a,we);a.addEventListener("pagehide",w),Re=()=>a.removeEventListener("pagehide",w)}return M.initialized||Fn("POP",M.location,{initialHydration:!0}),fe}function Ni(){b&&b(),Re&&Re(),S.clear(),ee&&ee.abort(),M.fetchers.forEach((w,D)=>Pn(D)),M.blockers.forEach((w,D)=>ri(D))}function Bl(w){return S.add(w),()=>S.delete(w)}function xt(w,D={}){w.matches&&(w.matches=w.matches.map(Z=>{let ie=d[Z.route.id],$=Z.route;return $.element!==ie.element||$.errorElement!==ie.errorElement||$.hydrateFallbackElement!==ie.hydrateFallbackElement?{...Z,route:ie}:Z})),M={...M,...w};let V=[],F=[];M.fetchers.forEach((Z,ie)=>{Z.state==="idle"&&(it.has(ie)?V.push(ie):F.push(ie))}),it.forEach(Z=>{!M.fetchers.has(Z)&&!te.has(Z)&&V.push(Z)}),[...S].forEach(Z=>Z(M,{deletedFetchers:V,newErrors:w.errors??null,viewTransitionOpts:D.viewTransitionOpts,flushSync:D.flushSync===!0})),V.forEach(Z=>Pn(Z)),F.forEach(Z=>M.fetchers.delete(Z))}function qt(w,D,{flushSync:V}={}){var pe,ue;let F=M.actionData!=null&&M.navigation.formMethod!=null&&Lt(M.navigation.formMethod)&&M.navigation.state==="loading"&&((pe=w.state)==null?void 0:pe._isRedirect)!==!0,Z;D.actionData?Object.keys(D.actionData).length>0?Z=D.actionData:Z=null:F?Z=M.actionData:Z=null;let ie=D.loaderData?Rg(M.loaderData,D.loaderData,D.matches||[],D.errors):M.loaderData,$=M.blockers;$.size>0&&($=new Map($),$.forEach((be,Te)=>$.set(Te,jr)));let le=_?!1:ql(w,D.matches||M.matches),ne=Ne===!0||M.navigation.formMethod!=null&&Lt(M.navigation.formMethod)&&((ue=w.state)==null?void 0:ue._isRedirect)!==!0;p&&(h=p,p=void 0),_||de==="POP"||(de==="PUSH"?n.history.push(w,w.state):de==="REPLACE"&&n.history.replace(w,w.state));let W;if(de==="POP"){let be=we.get(M.location.pathname);be&&be.has(w.pathname)?W={currentLocation:M.location,nextLocation:w}:we.has(w.pathname)&&(W={currentLocation:w,nextLocation:M.location})}else if(et){let be=we.get(M.location.pathname);be?be.add(w.pathname):(be=new Set([w.pathname]),we.set(M.location.pathname,be)),W={currentLocation:M.location,nextLocation:w}}xt({...D,actionData:Z,loaderData:ie,historyAction:de,location:w,initialized:!0,renderFallback:!1,navigation:zf,revalidation:"idle",restoreScrollPosition:le,preventScrollReset:ne,blockers:$},{viewTransitionOpts:W,flushSync:V===!0}),de="POP",Ne=!1,et=!1,_=!1,K=!1,se==null||se.resolve(),se=null,Yt==null||Yt.resolve(),Yt=null}async function Li(w,D){if(se==null||se.resolve(),se=null,typeof w=="number"){se||(se=jg());let Xe=se.promise;return n.history.go(w),Xe}let V=td(M.location,M.matches,m,w,D==null?void 0:D.fromRouteId,D==null?void 0:D.relative),{path:F,submission:Z,error:ie}=vg(!1,V,D),$;D!=null&&D.unstable_mask&&($={pathname:"",search:"",hash:"",...typeof D.unstable_mask=="str
35ing"?Gn(D.unstable_mask):{...M.location.unstable_mask,...D.unstable_mask}});let le=M.location,ne=Zr(le,F,D&&D.state,void 0,$);ne={...ne,...n.history.encodeLocation(ne)};let W=D&&D.replace!=null?D.replace:void 0,pe="PUSH";W===!0?pe="REPLACE":W===!1||Z!=null&&Lt(Z.formMethod)&&Z.formAction===M.location.pathname+M.location.search&&(pe="REPLACE");let ue=D&&"preventScrollReset"in D?D.preventScrollReset===!0:void 0,be=(D&&D.flushSync)===!0,Te=si({currentLocation:le,nextLocation:ne,historyAction:pe});if(Te){Jn(Te,{state:"blocked",location:ne,proceed(){Jn(Te,{state:"proceeding",proceed:void 0,reset:void 0,location:ne}),Li(w,D)},reset(){let Xe=new Map(M.blockers);Xe.set(Te,jr),xt({blockers:Xe})}});return}await Fn(pe,ne,{submission:Z,pendingError:ie,preventScrollReset:ue,replace:D&&D.replace,enableViewTransition:D&&D.viewTransition,flushSync:be,callSiteDefaultShouldRevalidate:D&&D.unstable_defaultShouldRevalidate})}function _l(){Yt||(Yt=jg()),wa(),xt({revalidation:"loading"});let w=Yt.promise;return M.navigation.state==="submitting"?w:M.navigation.state==="idle"?(Fn(M.historyAction,M.location,{startUninterruptedRevalidation:!0}),w):(Fn(de||M.historyAction,M.navigation.location,{overrideNavigation:M.navigation,enableViewTransition:et===!0}),w)}async function Fn(w,D,V){ee&&ee.abort(),ee=null,de=w,_=(V&&V.startUninterruptedRevalidation)===!0,du(M.location,M.matches),Ne=(V&&V.preventScrollReset)===!0,et=(V&&V.enableViewTransition)===!0;let F=p||h,Z=V&&V.overrideNavigation,ie=V!=null&&V.initialHydration&&M.matches&&M.matches.length>0&&!H?M.matches:Ia(F,D,m),$=(V&&V.flushSync)===!0;if(ie&&M.initialized&&!K&&xw(M.location,D)&&!(V&&V.submission&&Lt(V.submission.formMethod))){qt(D,{matches:ie},{flushSync:$});return}let le=Aa(ie,F,D.pathname);if(le.active&&le.matches&&(ie=le.matches),!ie){let{error:Ze,notFoundMatches:lt,route:Le}=En(D.pathname);qt(D,{matches:lt,loaderData:{},errors:{[Le.id]:Ze}},{flushSync:$});return}ee=new AbortController;let ne=xl(n.history,D,ee.signal,V&&V.submission),W=n.getContext?await n.getContext():new dg,pe;if(V&&V.pendingError)pe=[ei(ie).route.id,{type:"error",error:V.pendingError}];else if(V&&V.submission&&Lt(V.submission.formMethod)){let Ze=await cs(ne,D,V.submission,ie,W,le.active,V&&V.initialHydration===!0,{replace:V.replace,flushSync:$});if(Ze.shortCircuited)return;if(Ze.pendingActionResult){let[lt,Le]=Ze.pendingActionResult;if(rn(Le)&&Jr(Le.error)&&Le.error.status===404){ee=null,qt(D,{matches:Ze.matches,loaderData:{},errors:{[lt]:Le.error}});return}}ie=Ze.matches||ie,pe=Ze.pendingActionResult,Z=Of(D,V.submission),$=!1,le.active=!1,ne=xl(n.history,ne.url,ne.signal)}let{shortCircuited:ue,matches:be,loaderData:Te,errors:Xe}=await Hl(ne,D,ie,W,le.active,Z,V&&V.submission,V&&V.fetcherSubmission,V&&V.replace,V&&V.initialHydration===!0,$,pe,V&&V.callSiteDefaultShouldRevalidate);ue||(ee=null,qt(D,{matches:be||ie,...Dg(pe),loaderData:Te,errors:Xe}))}async function cs(w,D,V,F,Z,ie,$,le={}){wa();let ne=Rw(D,V);if(xt({navigation:ne},{flushSync:le.flushSync===!0}),ie){let ue=await Nn(F,D.pathname,w.signal);if(ue.type==="aborted")return{shortCircuited:!0};if(ue.type==="error"){if(ue.partialMatches.length===0){let{matches:Te,route:Xe}=Do(h);return{matches:Te,pendingActionResult:[Xe.id,{type:"error",error:ue.error}]}}let be=ei(ue.partialMatches).route.id;return{matches:ue.partialMatches,pendingActionResult:[be,{type:"error",error:ue.error}]}}else if(ue.matches)F=ue.matches;else{let{notFoundMatches:be,error:Te,route:Xe}=En(D.pathname);return{matches:be,pendingActionResult:[Xe.id,{type:"error",error:Te}]}}}let W,pe=Uo(F,D);if(!pe.route.action&&!pe.route.lazy)W={type:"error",error:xn(405,{method:w.method,pathname:D.pathname,routeId:pe.route.id})};else{let ue=Cl(c,d,w,D,F,pe,$?[]:s,Z),be=await Ta(w,D,ue,Z,null);if(W=be[pe.route.id],!W){for(let Te of F)if(be[Te.route.id]){W=be[Te.route.id];break}}if(w.signal.aborted)return{shortCircuited:!0}}if(Ri(W)){let ue;return le&&le.replace!=null?ue=le.replace:ue=Ag(W.response.headers.get("Location"),new URL(w.url),m,n.history)===M.location.pathname+M.location.search,await Zn(w,W,!0,{submission:V,replace:ue}),{shortCircuited:!0}}if(rn(W)){let ue=ei(F,pe.route.id);return(le&&le.replace)!==!0&&(de="PUSH"),{matches:F,pendingActionResult:[ue.route.id,W,pe.route.id]}}return{matches:F,pendingActionResult:[pe.route.id,W]}}async function Hl(w,D,V,F,Z,ie,$,le,ne,W,pe,ue,be){let Te=ie||Of(D,$),Xe=$||le||Og(Te),Ze=!_&&!W;if(Z){if(Ze){let ct=Vi(ue);xt({navigation:Te,...ct!==void 0?{actionData:ct}:{}},{flushSync:pe})}let Ae=await Nn(V,D.pathname,w.signal);if(Ae.type==="aborted")return{shortCircuited:!0};if(Ae.type==="error"){if(Ae.partialMatches.length===0){let{matches:Nt,route:mt}=Do(h);return{matches:Nt,loaderData:{},errors:{[mt.id]:Ae.error}}}let ct=ei(Ae.partialMatches).route.id;return{matches:Ae.partialMatches,loaderData:{},errors:{[ct]:Ae.error}}}else if(Ae.matches)V=Ae.matches;else{let{error:ct,notFoundMatches:Nt,route:mt}=En(D.pathname);return{matches:Nt,loaderData:{},errors:{[mt.id]:ct}}}}let lt=p||h,{dsMatches:Le,revalidatingFetchers:ht}=bg(w,F,c,d,n.history,M,V,Xe,D,W?[]:s,W===!0,K,J,it,Be,ye,lt,m,n.patchRoutesOnNavigation!=null,ue,be);if(ge=++he,!n.dataStrategy&&!Le.some(Ae=>Ae.shouldLoad)&&!Le.some(Ae=>Ae.route.middleware&&Ae.route.middleware.length>0)&&ht.length===0){let Ae=ds();return qt(D,{matches:V,loaderData:{},errors:ue&&rn(ue[1])?{[ue[0]]:ue[1].error}:null,...Dg(ue),...Ae?{fetchers:new Map(M.fetchers)}:{}},{flushSync:pe}),{shortCircuited:!0}}if(Ze){let Ae={};if(!Z){Ae.navigation=Te;let ct=Vi(ue);ct!==void 0&&(Ae.actionData=ct)}ht.length>0&&(Ae.fetchers=kl(ht)),xt(Ae,{flushSync:pe})}ht.forEach(Ae=>{wt(Ae.key),Ae.controller&&te.set(Ae.key,Ae.controller)});let Fe=()=>ht.forEach(Ae=>wt(Ae.key));ee&&ee.signal.addEventListener("abort",Fe);let{loaderResults:Ma,fetcherResults:An}=await Yl(Le,ht,w,D,F);if(w.signal.aborted)return{shortCircuited:!0};ee&&ee.signal.removeEventListener("abort",Fe),ht.forEach(Ae=>te.delete(Ae.key));let Et=zo(Ma);if(Et)return await Zn(w,Et.result,!0,{replace:ne}),{shortCircuited:!0};if(Et=zo(An),Et)return ye.add(Et.key),await Zn(w,Et.result,!0,{replace:ne}),{shortCircuited:!0};let{loaderData:Ln,errors:oi}=Cg(M,V,Ma,ue,ht,An);W&&M.errors&&(oi={...M.errors,...oi});let Vn=ds(),ui=hs(ge),Bi=Vn||ui||ht.length>0;return{matches:V,loaderData:Ln,errors:oi,...Bi?{fetchers:new Map(M.fetchers)}:{}}}function Vi(w){if(w&&!rn(w[1]))return{[w[0]]:w[1].data};if(M.actionData)return Object.keys(M.actionData).length===0?null:M.actionData}
35function kl(w){return w.forEach(D=>{let V=M.fetchers.get(D.key),F=Nr(void 0,V?V.data:void 0);M.fetchers.set(D.key,F)}),new Map(M.fetchers)}async function ou(w,D,V,F){wt(w);let Z=(F&&F.flushSync)===!0,ie=p||h,$=td(M.location,M.matches,m,V,D,F==null?void 0:F.relative),le=Ia(ie,$,m),ne=Aa(le,ie,$);if(ne.active&&ne.matches&&(le=ne.matches),!le){un(w,D,xn(404,{pathname:$}),{flushSync:Z});return}let{path:W,submission:pe,error:ue}=vg(!0,$,F);if(ue){un(w,D,ue,{flushSync:Z});return}let be=n.getContext?await n.getContext():new dg,Te=(F&&F.preventScrollReset)===!0;if(pe&&Lt(pe.formMethod)){await uu(w,D,W,le,be,ne.active,Z,Te,pe,F&&F.unstable_defaultShouldRevalidate);return}Be.set(w,{routeId:D,path:W}),await Ut(w,D,W,le,be,ne.active,Z,Te,pe)}async function uu(w,D,V,F,Z,ie,$,le,ne,W){wa(),Be.delete(w);let pe=M.fetchers.get(w);wn(w,Dw(ne,pe),{flushSync:$});let ue=new AbortController,be=xl(n.history,V,ue.signal,ne);if(ie){let Pe=await Nn(F,new URL(be.url).pathname,be.signal,w);if(Pe.type==="aborted")return;if(Pe.type==="error"){un(w,D,Pe.error,{flushSync:$});return}else if(Pe.matches)F=Pe.matches;else{un(w,D,xn(404,{pathname:V}),{flushSync:$});return}}let Te=Uo(F,V);if(!Te.route.action&&!Te.route.lazy){let Pe=xn(405,{method:ne.formMethod,pathname:V,routeId:D});un(w,D,Pe,{flushSync:$});return}te.set(w,ue);let Xe=he,Ze=Cl(c,d,be,V,F,Te,s,Z),lt=await Ta(be,V,Ze,Z,w),Le=lt[Te.route.id];if(!Le){for(let Pe of Ze)if(lt[Pe.route.id]){Le=lt[Pe.route.id];break}}if(be.signal.aborted){te.get(w)===ue&&te.delete(w);return}if(it.has(w)){if(Ri(Le)||rn(Le)){wn(w,ga(void 0));return}}else{if(Ri(Le))if(te.delete(w),ge>Xe){wn(w,ga(void 0));return}else return ye.add(w),wn(w,Nr(ne)),Zn(be,Le,!1,{fetcherSubmission:ne,preventScrollReset:le});if(rn(Le)){un(w,D,Le.error);return}}let ht=M.navigation.location||M.location,Fe=xl(n.history,ht,ue.signal),Ma=p||h,An=M.navigation.state!=="idle"?Ia(Ma,M.navigation.location,m):M.matches;Ee(An,"Didn't find any matches after fetcher action");let Et=++he;Oe.set(w,Et);let Ln=Nr(ne,Le.data);M.fetchers.set(w,Ln);let{dsMatches:oi,revalidatingFetchers:Vn}=bg(Fe,Z,c,d,n.history,M,An,ne,ht,s,!1,K,J,it,Be,ye,Ma,m,n.patchRoutesOnNavigation!=null,[Te.route.id,Le],W);Vn.filter(Pe=>Pe.key!==w).forEach(Pe=>{let _i=Pe.key,Hi=M.fetchers.get(_i),gs=Nr(void 0,Hi?Hi.data:void 0);M.fetchers.set(_i,gs),wt(_i),Pe.controller&&te.set(_i,Pe.controller)}),xt({fetchers:new Map(M.fetchers)});let ui=()=>Vn.forEach(Pe=>wt(Pe.key));ue.signal.addEventListener("abort",ui);let{loaderResults:Bi,fetcherResults:Ae}=await Yl(oi,Vn,Fe,ht,Z);if(ue.signal.aborted)return;if(ue.signal.removeEventListener("abort",ui),Oe.delete(w),te.delete(w),Vn.forEach(Pe=>te.delete(Pe.key)),M.fetchers.has(w)){let Pe=ga(Le.data);M.fetchers.set(w,Pe)}let ct=zo(Bi);if(ct)return Zn(Fe,ct.result,!1,{preventScrollReset:le});if(ct=zo(Ae),ct)return ye.add(ct.key),Zn(Fe,ct.result,!1,{preventScrollReset:le});let{loaderData:Nt,errors:mt}=Cg(M,An,Bi,void 0,Vn,Ae);hs(Et),M.navigation.state==="loading"&&Et>ge?(Ee(de,"Expected pending action"),ee&&ee.abort(),qt(M.navigation.location,{matches:An,loaderData:Nt,errors:mt,fetchers:new Map(M.fetchers)})):(xt({errors:mt,loaderData:Rg(M.loaderData,Nt,An,mt),fetchers:new Map(M.fetchers)}),K=!1)}async function Ut(w,D,V,F,Z,ie,$,le,ne){let W=M.fetchers.get(w);wn(w,Nr(ne,W?W.data:void 0),{flushSync:$});let pe=new AbortController,ue=xl(n.history,V,pe.signal);if(ie){let Le=await Nn(F,new URL(ue.url).pathname,ue.signal,w);if(Le.type==="aborted")return;if(Le.type==="error"){un(w,D,Le.error,{flushSync:$});return}else if(Le.matches)F=Le.matches;else{un(w,D,xn(404,{pathname:V}),{flushSync:$});return}}let be=Uo(F,V);te.set(w,pe);let Te=he,Xe=Cl(c,d,ue,V,F,be,s,Z),lt=(await Ta(ue,V,Xe,Z,w))[be.route.id];if(te.get(w)===pe&&te.delete(w),!ue.signal.aborted){if(it.has(w)){wn(w,ga(void 0));return}if(Ri(lt))if(ge>Te){wn(w,ga(void 0));return}else{ye.add(w),await Zn(ue,lt,!1,{preventScrollReset:le});return}if(rn(lt)){un(w,D,lt.error);return}wn(w,ga(lt.data))}}async function Zn(w,D,V,{submission:F,fetcherSubmission:Z,preventScrollReset:ie,replace:$}={}){V||(se==null||se.resolve(),se=null),D.response.headers.has("X-Remix-Revalidate")&&(K=!0);let le=D.response.headers.get("Location");Ee(le,"Expected a Location header on the redirect Response"),le=Ag(le,new URL(w.url),m,n.history);let ne=Zr(M.location,le,{_isRedirect:!0});if(l){let Xe=!1;
35if(D.response.headers.has("X-Remix-Reload-Document"))Xe=!0;else if(zd(le)){const Ze=p0(le,!0);Xe=Ze.origin!==a.location.origin||sn(Ze.pathname,m)==null}if(Xe){$?a.location.replace(le):a.location.assign(le);return}}ee=null;let W=$===!0||D.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:pe,formAction:ue,formEncType:be}=M.navigation;!F&&!Z&&pe&&ue&&be&&(F=Og(M.navigation));let Te=F||Z;if(iw.has(D.response.status)&&Te&&Lt(Te.formMethod))await Fn(W,ne,{submission:{...Te,formAction:le},preventScrollReset:ie||Ne,enableViewTransition:V?et:void 0});else{let Xe=Of(ne,F);await Fn(W,ne,{overrideNavigation:Xe,fetcherSubmission:Z,preventScrollReset:ie||Ne,enableViewTransition:V?et:void 0})}}async function Ta(w,D,V,F,Z){var le;let ie,$={};try{ie=await mw(g,w,D,V,Z,F,!1)}catch(ne){return V.filter(W=>W.shouldLoad).forEach(W=>{$[W.route.id]={type:"error",error:ne}}),$}if(w.signal.aborted)return $;if(!Lt(w.method))for(let ne of V){if(((le=ie[ne.route.id])==null?void 0:le.type)==="error")break;!ie.hasOwnProperty(ne.route.id)&&!M.loaderData.hasOwnProperty(ne.route.id)&&(!M.errors||!M.errors.hasOwnProperty(ne.route.id))&&ne.shouldCallHandler()&&(ie[ne.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${ne.route.id}`)})}for(let[ne,W]of Object.entries(ie))if(Ew(W)){let pe=W.result;$[ne]={type:"redirect",response:vw(pe,w,ne,V,m)}}else $[ne]=await gw(W);return $}async function Yl(w,D,V,F,Z){let ie=Ta(V,F,w,Z,null),$=Promise.all(D.map(async W=>{if(W.matches&&W.match&&W.request&&W.controller){let ue=(await Ta(W.request,W.path,W.matches,Z,W.key))[W.match.route.id];return{[W.key]:ue}}else return Promise.resolve({[W.key]:{type:"error",error:xn(404,{pathname:W.path})}})})),le=await ie,ne=(await $).reduce((W,pe)=>Object.assign(W,pe),{});return{loaderResults:le,fetcherResults:ne}}function wa(){K=!0,Be.forEach((w,D)=>{te.has(D)&&J.add(D),wt(D)})}function wn(w,D,V={}){M.fetchers.set(w,D),xt({fetchers:new Map(M.fetchers)},{flushSync:(V&&V.flushSync)===!0})}function un(w,D,V,F={}){let Z=ei(M.matches,D);Pn(w),xt({errors:{[Z.route.id]:V},fetchers:new Map(M.fetchers)},{flushSync:(F&&F.flushSync)===!0})}function fs(w){return nt.set(w,(nt.get(w)||0)+1),it.has(w)&&it.delete(w),M.fetchers.get(w)||lw}function cu(w,D){wt(w,D==null?void 0:D.reason),wn(w,ga(null))}function Pn(w){let D=M.fetchers.get(w);te.has(w)&&!(D&&D.state==="loading"&&Oe.has(w))&&wt(w),Be.delete(w),Oe.delete(w),ye.delete(w),it.delete(w),J.delete(w),M.fetchers.delete(w)}function Bt(w){let D=(nt.get(w)||0)-1;D<=0?(nt.delete(w),it.add(w)):nt.set(w,D),xt({fetchers:new Map(M.fetchers)})}function wt(w,D){let V=te.get(w);V&&(V.abort(D),te.delete(w))}function jt(w){for(let D of w){let V=fs(D),F=ga(V.data);M.fetchers.set(D,F)}}function ds(){let w=[],D=!1;for(let V of ye){let F=M.fetchers.get(V);Ee(F,`Expected fetcher: ${V}`),F.state==="loading"&&(ye.delete(V),w.push(V),D=!0)}return jt(w),D}function hs(w){let D=[];for(let[V,F]of Oe)if(F<w){let Z=M.fetchers.get(V);Ee(Z,`Expected fetcher: ${V}`),Z.state==="loading"&&(wt(V),Oe.delete(V),D.push(V))}return jt(D),D.length>0}function fu(w,D){let V=M.blockers.get(w)||jr;return on.get(w)!==D&&on.set(w,D),V}function ri(w){M.blockers.delete(w),on.delete(w)}function Jn(w,D){let V=M.blockers.get(w)||jr;Ee(V.state==="unblocked"&&D.state==="blocked"||V.state==="blocked"&&D.state==="blocked"||V.state==="blocked"&&D.state==="proceeding"||V.state==="blocked"&&D.state==="unblocked"||V.state==="proceeding"&&D.state==="unblocked",`Invalid blocker state transition: ${V.state} -> ${D.state}`);let F=new Map(M.blockers);F.set(w,D),xt({blockers:F})}function si({currentLocation:w,nextLocation:D,historyAction:V}){if(on.size===0)return;on.size>1&&ut(!1,"A router only supports one blocker at a time");let F=Array.from(on.entries()),[Z,ie]=F[F.length-1],$=M.blockers.get(Z);if(!($&&$.state==="proceeding")&&ie({currentLocation:w,nextLocation:D,historyAction:V}))return Z}function En(w){let D=xn(404,{pathname:w}),V=p||h,{matches:F,route:Z}=Do(V);return{notFoundMatches:F,route:Z,error:D}}function Ui(w,D,V){if(C=w,R=D,z=V||null,!B&&M.navigation===zf){B=!0;let F=ql(M.location,M.matches);F!=null&&xt({restoreScrollPosition:F})}return()=>{C=null,R=null,z=null}}function Ea(w,D){return z&&z(w,D.map(F=>y0(F,M.loaderData)))||w.key}function du(w,D){if(C&&R){let V=Ea(w,D);C[V]=R()}}function ql(w,D){if(C){let V=Ea(w,D),F=C[V];if(typeof F=="number")return F}return null}function Aa(w,D,V){if(n.patchRoutesOnNavigation)if(w){if(Object.keys(w[0].params).length>0)return{active:!0,matches:Hr(D,V,m,!0)}}else return{active:!0,matches:Hr(D,V,m,!0)||[]};return{active:!1,matches:null}}async function Nn(w,D,V,F){if(!n.patchRoutesOnNavigation)return{type:"success",matches:w};let Z=w;for(;;){let ie=p==null,$=p||h,le=d;try{await n.patchRoutesOnNavigation({signal:V,path:D,matches:Z,fetcherKey:F,patch:(pe,ue)=>{V.aborted||xg(pe,ue,$,le,c,!1)}})}catch(pe){return{type:"error",error:pe,partialMatches:Z}}
35finally{ie&&!V.aborted&&(h=[...h])}if(V.aborted)return{type:"aborted"};let ne=Ia($,D,m),W=null;if(ne){if(Object.keys(ne[0].params).length===0)return{type:"success",matches:ne};if(W=Hr($,D,m,!0),!(W&&Z.length<W.length&&ms(Z,W.slice(0,Z.length))))return{type:"success",matches:ne}}if(W||(W=Hr($,D,m,!0)),!W||ms(Z,W))return{type:"success",matches:null};Z=W}}function ms(w,D){return w.length===D.length&&w.every((V,F)=>V.route.id===D[F].route.id)}function ps(w){d={},p=Pr(w,c,void 0,d)}function ys(w,D,V=!1){let F=p==null;xg(w,D,p||h,d,c,V),F&&(h=[...h],xt({}))}return fe={get basename(){return m},get future(){return v},get state(){return M},get routes(){return h},get window(){return a},initialize:Ul,subscribe:Bl,enableScrollRestoration:Ui,navigate:Li,fetch:ou,revalidate:_l,createHref:w=>n.history.createHref(w),encodeLocation:w=>n.history.encodeLocation(w),getFetcher:fs,resetFetcher:cu,deleteFetcher:Bt,dispose:Ni,getBlocker:fu,deleteBlocker:ri,patchRoutes:ys,_internalFetchControllers:te,_internalSetRoutes:ps,_internalSetStateDoNotUseOrYouWillBreakYourApp(w){xt(w)}},n.unstable_instrumentations&&(fe=JT(fe,n.unstable_instrumentations.map(w=>w.router).filter(Boolean))),fe}function ow(n){return n!=null&&("formData"in n&&n.formData!=null||"body"in n&&n.body!==void 0)}function td(n,a,l,s,o,c){let d,h;if(o){d=[];for(let m of a)if(d.push(m),m.route.id===o){h=m;break}}else d=a,h=a[a.length-1];let p=eu(s||".",Od(d),sn(n.pathname,l)||n.pathname,c==="path");if(s==null&&(p.search=n.search,p.hash=n.hash),(s==null||s===""||s===".")&&h){let m=Ld(p.search);if(h.route.index&&!m)p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&m){let g=new URLSearchParams(p.search),v=g.getAll("index");g.delete("index"),v.filter(S=>S).forEach(S=>g.append("index",S));let b=g.toString();p.search=b?`?${b}`:""}}return l!=="/"&&(p.pathname=XT({basename:l,pathname:p.pathname})),Yn(p)}function vg(n,a,l){if(!l||!ow(l))return{path:a};if(l.formMethod&&!Cw(l.formMethod))return{path:a,error:xn(405,{method:l.formMethod})};let s=()=>({path:a,error:xn(400,{type:"invalid-body"})}),c=(l.formMethod||"get").toUpperCase(),d=V0(a);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Lt(c))return s();let v=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((b,[S,C])=>`${b}${S}=${C} 36`,""):String(l.body);return{path:a,submission:{formMethod:c,formAction:d,formEncType:l.formEncType,formData:void 0,json:void 0,text:v}}}else if(l.formEncType==="application/json"){if(!Lt(c))return s();try{let v=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:a,submission:{formMethod:c,formAction:d,formEncType:l.formEncType,formData:void 0,json:v,text:void 0}}}catch{return s()}}}Ee(typeof FormData=="function","FormData is not available in this environment");let h,p;if(l.formData)h=ad(l.formData),p=l.formData;else if(l.body instanceof FormData)h=ad(l.body),p=l.body;else if(l.body instanceof URLSearchParams)h=l.body,p=Mg(h);else if(l.body==null)h=new URLSearchParams,p=new FormData;else try{h=new URLSearchParams(l.body),p=Mg(h)}catch{return s()}let m={formMethod:c,formAction:d,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:p,json:void 0,text:void 0};if(Lt(m.formMethod))return{path:a,submission:m};let g=Gn(a);return n&&g.search&&Ld(g.search)&&h.append("index",""),g.search=`?${h}`,{path:Yn(g),submission:m}}function bg(n,a,l,s,o,c,d,h,p,m,g,v,b,S,C,z,R,B,k,H,P){var Re;let Q=H?rn(H[1])?H[1].error:H[1].data:void 0,I=o.createURL(c.location),fe=o.createURL(p),M;if(g&&c.errors){let _=Object.keys(c.errors)[0];M=d.findIndex(K=>K.route.id===_)}else if(H&&rn(H[1])){let _=H[0];M=d.findIndex(K=>K.route.id===_)-1}let de=H?H[1].statusCode:void 0,se=de&&de>=400,Ne={currentUrl:I,currentParams:((Re=c.matches[0])==null?void 0:Re.params)||{},nextUrl:fe,nextParams:d[0].params,...h,actionResult:Q,actionStatus:de},ee=as(d),et=d.map((_,K)=>{let{route:J}=_,te=null;if(M!=null&&K>M)te=!1;else if(J.lazy)te=!0;else if(!jd(J))te=!1;else if(g){let{shouldLoad:ye}=R0(J,c.loaderData,c.errors);te=ye}else uw(c.loaderData,c.matches[K],_)&&(te=!0);if(te!==null)return nd(l,s,n,p,ee,_,m,a,te);let he=!1;typeof P=="boolean"?he=P:se?he=!1:(v||I.pathname+I.search===fe.pathname+fe.search||I.search!==fe.search||cw(c.matches[K],_))&&(he=!0);let ge={...Ne,defaultShouldRevalidate:he},Oe=qr(_,ge);return nd(l,s,n,p,ee,_,m,a,Oe,ge,P)}),we=[];
36return C.forEach((_,K)=>{if(g||!d.some(nt=>nt.route.id===_.routeId)||S.has(K))return;let J=c.fetchers.get(K),te=J&&J.state!=="idle"&&J.data===void 0,he=Ia(R,_.path,B);if(!he){if(k&&te)return;we.push({key:K,routeId:_.routeId,path:_.path,matches:null,match:null,request:null,controller:null});return}if(z.has(K))return;let ge=Uo(he,_.path),Oe=new AbortController,ye=xl(o,_.path,Oe.signal),Be=null;if(b.has(K))b.delete(K),Be=Cl(l,s,ye,_.path,he,ge,m,a);else if(te)v&&(Be=Cl(l,s,ye,_.path,he,ge,m,a));else{let nt;typeof P=="boolean"?nt=P:se?nt=!1:nt=v;let it={...Ne,defaultShouldRevalidate:nt};qr(ge,it)&&(Be=Cl(l,s,ye,_.path,he,ge,m,a,it))}Be&&we.push({key:K,routeId:_.routeId,path:_.path,matches:Be,match:ge,request:ye,controller:Oe})}),{dsMatches:et,revalidatingFetchers:we}}function jd(n){return n.loader!=null||n.middleware!=null&&n.middleware.length>0}function R0(n,a,l){if(n.lazy)return{shouldLoad:!0,renderFallback:!0};if(!jd(n))return{shouldLoad:!1,renderFallback:!1};let s=a!=null&&n.id in a,o=l!=null&&l[n.id]!==void 0;if(!s&&o)return{shouldLoad:!1,renderFallback:!1};if(typeof n.loader=="function"&&n.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!s};let c=!s&&!o;return{shouldLoad:c,renderFallback:c}}function uw(n,a,l){let s=!a||l.route.id!==a.route.id,o=!n.hasOwnProperty(l.route.id);return s||o}function cw(n,a){let l=n.route.path;return n.pathname!==a.pathname||l!=null&&l.endsWith("*")&&n.params["*"]!==a.params["*"]}function qr(n,a){if(n.route.shouldRevalidate){let l=n.route.shouldRevalidate(a);if(typeof l=="boolean")return l}return a.defaultShouldRevalidate}function xg(n,a,l,s,o,c){let d;if(n){let m=s[n];Ee(m,`No route found to patch children into: routeId = ${n}`),m.children||(m.children=[]),d=m.children}else d=l;let h=[],p=[];if(a.forEach(m=>{let g=d.find(v=>D0(m,v));g?p.push({existingRoute:g,newRoute:m}):h.push(m)}),h.length>0){let m=Pr(h,o,[n||"_","patch",String((d==null?void 0:d.length)||"0")],s);d.push(...m)}if(c&&p.length>0)for(let m=0;m<p.length;m++){let{existingRoute:g,newRoute:v}=p[m],b=g,[S]=Pr([v],o,[],{},!0);Object.assign(b,{element:S.element?S.element:b.element,errorElement:S.errorElement?S.errorElement:b.errorElement,hydrateFallbackElement:S.hydrateFallbackElement?S.hydrateFallbackElement:b.hydrateFallbackElement})}}function D0(n,a){var l;return"id"in n&&"id"in a&&n.id===a.id?!0:n.index===a.index&&n.path===a.path&&n.caseSensitive===a.caseSensitive?(!n.children||n.children.length===0)&&(!a.children||a.children.length===0)?!0:((l=n.children)==null?void 0:l.every((s,o)=>{var c;return(c=a.children)==null?void 0:c.some(d=>D0(s,d))}))??!1:!1}var Sg=new WeakMap,z0=({key:n,route:a,manifest:l,mapRouteProperties:s})=>{let o=l[a.id];if(Ee(o,"No route found in manifest"),!o.lazy||typeof o.lazy!="object")return;let c=o.lazy[n];if(!c)return;let d=Sg.get(o);d||(d={},Sg.set(o,d));let h=d[n];if(h)return h;let p=(async()=>{let m=RT(n),v=o[n]!==void 0&&n!=="hasErrorBoundary";if(m)ut(!m,"Route property "+n+" is not a supported lazy route property. This property will be ignored."),d[n]=Promise.resolve();else if(v)ut(!1,`Route "${o.id}" has a static property "${n}" defined. The lazy property will be ignored.`);else{let b=await c();b!=null&&(Object.assign(o,{[n]:b}),Object.assign(o,s(o)))}typeof o.lazy=="object"&&(o.lazy[n]=void 0,Object.values(o.lazy).every(b=>b===void 0)&&(o.lazy=void 0))})();return d[n]=p,p},Tg=new WeakMap;function fw(n,a,l,s,o){let c=l[n.id];if(Ee(c,"No route found in manifest"),!n.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof n.lazy=="function"){let g=Tg.get(c);if(g)return{lazyRoutePromise:g,lazyHandlerPromise:g};let v=(async()=>{Ee(typeof n.lazy=="function","No lazy route function found");let b=await n.lazy(),S={};for(let C in b){let z=b[C];if(z===void 0)continue;let R=zT(C),k=c[C]!==void 0&&C!=="hasErrorBoundary";R?ut(!R,"Route property "+C+" is not a supported property to be returned from a lazy route function. This property will be ignored."):k?ut(!k,`Route "${c.id}" has a static property "${C}" defined but its lazy function is also returning a value for this property. The lazy route property "${C}" will be ignored.`):S[C]=z}Object.assign(c,S),Object.assign(c,{...s(c),lazy:void 0})})();return Tg.set(c,v),v.catch(()=>{}),{lazyRoutePromise:v,lazyHandlerPromise:v}}let d=Object.keys(n.lazy),h=[],p;for(let g of d){if(o&&o.includes(g))continue;let v=z0({key:g,route:n,manifest:l,mapRouteProperties:s});v&&(h.push(v),g===a&&(p=v))}let m=h.length>0?Promise.all(h).then(()=>{}):void 0;return m==null||m.catch(()=>{}),p==null||p.catch(()=>{}),{lazyRoutePromise:m,lazyHandlerPromise:p}}async function wg(n){let a=n.matches.filter(o=>o.shouldLoad),l={};return(await Promise.all(a.map(o=>
36o.resolve()))).forEach((o,c)=>{l[a[c].route.id]=o}),l}async function dw(n){return n.matches.some(a=>a.route.middleware)?O0(n,()=>wg(n)):wg(n)}function O0(n,a){return hw(n,a,s=>{if(Mw(s))throw s;return s},Tw,l);function l(s,o,c){if(c)return Promise.resolve(Object.assign(c.value,{[o]:{type:"error",result:s}}));{let{matches:d}=n,h=Math.min(Math.max(d.findIndex(m=>m.route.id===o),0),Math.max(d.findIndex(m=>m.shouldCallHandler()),0)),p=ei(d,d[h].route.id).route.id;return Promise.resolve({[p]:{type:"error",result:s}})}}}async function hw(n,a,l,s,o){let{matches:c,...d}=n,h=c.flatMap(m=>m.route.middleware?m.route.middleware.map(g=>[m.route.id,g]):[]);return await j0(d,h,a,l,s,o)}async function j0(n,a,l,s,o,c,d=0){let{request:h}=n;if(h.signal.aborted)throw h.signal.reason??new Error(`Request aborted: ${h.method} ${h.url}`);let p=a[d];if(!p)return await l();let[m,g]=p,v,b=async()=>{if(v)throw new Error("You may only call `next()` once per middleware");try{return v={value:await j0(n,a,l,s,o,c,d+1)},v.value}catch(S){return v={value:await c(S,m,v)},v.value}};try{let S=await g(n,b),C=S!=null?s(S):void 0;return o(C)?C:v?C??v.value:(v={value:await b()},v.value)}catch(S){return await c(S,m,v)}}function N0(n,a,l,s,o){let c=z0({key:"middleware",route:s.route,manifest:a,mapRouteProperties:n}),d=fw(s.route,Lt(l.method)?"action":"loader",a,n,o);return{middleware:c,route:d.lazyRoutePromise,handler:d.lazyHandlerPromise}}function nd(n,a,l,s,o,c,d,h,p,m=null,g){let v=!1,b=N0(n,a,l,c,d);return{...c,_lazyPromises:b,shouldLoad:p,shouldRevalidateArgs:m,shouldCallHandler(S){return v=!0,m?typeof g=="boolean"?qr(c,{...m,defaultShouldRevalidate:g}):typeof S=="boolean"?qr(c,{...m,defaultShouldRevalidate:S}):qr(c,m):p},resolve(S){let{lazy:C,loader:z,middleware:R}=c.route,B=v||p||S&&!Lt(l.method)&&(C||z),k=R&&R.length>0&&!z&&!C;return B&&(Lt(l.method)||!k)?pw({request:l,path:s,unstable_pattern:o,match:c,lazyHandlerPromise:b==null?void 0:b.handler,lazyRoutePromise:b==null?void 0:b.route,handlerOverride:S,scopedContext:h}):Promise.resolve({type:"data",result:void 0})}}}function Cl(n,a,l,s,o,c,d,h,p=null){return o.map(m=>m.route.id!==c.route.id?{...m,shouldLoad:!1,shouldRevalidateArgs:p,shouldCallHandler:()=>!1,_lazyPromises:N0(n,a,l,m,d),resolve:()=>Promise.resolve({type:"data",result:void 0})}:nd(n,a,l,s,as(o),m,d,h,!0,p))}async function mw(n,a,l,s,o,c,d){s.some(g=>{var v;return(v=g._lazyPromises)==null?void 0:v.middleware})&&await Promise.all(s.map(g=>{var v;return(v=g._lazyPromises)==null?void 0:v.middleware}));let h={request:a,unstable_url:L0(a,l),unstable_pattern:as(s),params:s[0].params,context:c,matches:s},m=await n({...h,fetcherKey:o,runClientMiddleware:g=>{let v=h;return O0(v,()=>g({...v,fetcherKey:o,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(s.flatMap(g=>{var v,b;return[(v=g._lazyPromises)==null?void 0:v.handler,(b=g._lazyPromises)==null?void 0:b.route]}))}catch{}return m}async function pw({request:n,path:a,unstable_pattern:l,match:s,lazyHandlerPromise:o,lazyRoutePromise:c,handlerOverride:d,scopedContext:h}){let p,m,g=Lt(n.method),v=g?"action":"loader",b=S=>{let C,z=new Promise((k,H)=>C=H);m=()=>C(),n.signal.addEventListener("abort",m);let R=k=>typeof S!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${v}" [routeId: ${s.route.id}]`)):S({request:n,unstable_url:L0(n,a),unstable_pattern:l,params:s.params,context:h},...k!==void 0?[k]:[]),B=(async()=>{try{return{type:"data",result:await(d?d(H=>R(H)):R())}}catch(k){return{type:"error",result:k}}})();return Promise.race([B,z])};try{let S=g?s.route.action:s.route.loader;if(o||c)if(S){let C,[z]=await Promise.all([b(S).catch(R=>{C=R}),o,c]);if(C!==void 0)throw C;p=z}else{await o;let C=g?s.route.action:s.route.loader;if(C)[p]=await Promise.all([b(C),c]);else if(v==="action"){let z=new URL(n.url),R=z.pathname+z.search;throw xn(405,{method:n.method,pathname:R,routeId:s.route.id})}else return{type:"data",result:void 0}}else if(S)p=await b(S);else{let C=new URL(n.url),z=C.pathname+C.search;throw xn(404,{pathname:z})}}catch(S){return{type:"error",result:S}}finally{m&&n.signal.removeEventListener("abort",m)}return p}async function yw(n){let a=n.headers.get("Content-Type");return a&&/\bapplication\/json\b/.test(a)?n.body==null?null:n.json():n.text()}async function gw(n){var s,o,c,d,h;let{result:a,type:l}=n;if(Nd(a)){let p;try{p=await yw(a)}catch(m){return{type:"error",error:m}}return l==="error"?{type:"error",error:new ns(a.status,a.statusText,p),statusCode:a.status,headers:a.headers}:{type:"data",data:p,statusCode:a.status,headers:a.headers}}return l==="error"?zg(a)?a.data instanceof Error?{type:"error",error:a.data,statusCode:(s=a.init)==null?void 0:s.status,headers:(o=a.init)!=null&&o.headers?new Headers(a.init.headers):void 0}:{type:"error",error:Sw(a),statusCode:Jr(a)?a.status:void 0,headers:(c=a.init)!=null&&c.headers?new Headers(a.init.headers):void 0}:{type:"error",error:a,statusCode:Jr(a)?a.status:void 0}:zg(a)?{type:"data",data:a.data,statusCode:(d=a.init)==null?void 0:d.status,headers:(h=a.init)!=null&&h.headers?new Headers(a.init.headers):void 0}:{type:"data",data:a}}function vw(n,a,l,s,o){let c=n.headers.get("Location");if(Ee(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!zd(c)){let d=s.slice(0,s.findIndex(h=>h.route.id===l)+1);c=td(new URL(a.url),d,o,c),n.headers.set("Location",c)}return n}var Eg=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Ag(n,a,l,s){if(zd(n)){let o=n,c=o.startsWith("//")?new URL(a.protocol+o):new URL(o);if(Eg.includes(c.protocol))throw new Error("Invalid redirect location");let d=sn(c.pathname,l)!=null;if(c.origin===a.origin&&d)return c.pathname+c.search+c.hash}try{let o=s.createURL(n);if(Eg.includes(o.protocol))throw new Error("Invalid redirect location")}catch{}return n}function xl(n,a,l,s){let o=n.createURL(V0(a)).toString(),c={signal:l};if(s&&Lt(s.formMethod)){let{formMethod:d,formEncType:h}=s;c.method=d.toUpperCase(),h==="application/json"?(c.headers=new Headers({"Content-Type":h}),c.body=JSON.stringify(s.json)):h==="text/plain"?c.body=s.text:h==="application/x-www-form-urlencoded"&&s.formData?c.body=ad(s.formData):c.body=s.formData}
36return new Request(o,c)}function L0(n,a){let l=new URL(n.url),s=typeof a=="string"?Gn(a):a;if(l.pathname=s.pathname||"/",s.search){let o=new URLSearchParams(s.search),c=o.getAll("index");o.delete("index");for(let d of c.filter(Boolean))o.append("index",d);l.search=o.size?`?${o.toString()}`:""}else l.search="";return l.hash=s.hash||"",l}function ad(n){let a=new URLSearchParams;for(let[l,s]of n.entries())a.append(l,typeof s=="string"?s:s.name);return a}function Mg(n){let a=new FormData;for(let[l,s]of n.entries())a.append(l,s);return a}function bw(n,a,l,s=!1,o=!1){let c={},d=null,h,p=!1,m={},g=l&&rn(l[1])?l[1].error:void 0;return n.forEach(v=>{if(!(v.route.id in a))return;let b=v.route.id,S=a[b];if(Ee(!Ri(S),"Cannot handle redirect results in processLoaderData"),rn(S)){let C=S.error;if(g!==void 0&&(C=g,g=void 0),d=d||{},o)d[b]=C;else{let z=ei(n,b);d[z.route.id]==null&&(d[z.route.id]=C)}s||(c[b]=C0),p||(p=!0,h=Jr(S.error)?S.error.status:500),S.headers&&(m[b]=S.headers)}else c[b]=S.data,S.statusCode&&S.statusCode!==200&&!p&&(h=S.statusCode),S.headers&&(m[b]=S.headers)}),g!==void 0&&l&&(d={[l[0]]:g},l[2]&&(c[l[2]]=void 0)),{loaderData:c,errors:d,statusCode:h||200,loaderHeaders:m}}function Cg(n,a,l,s,o,c){let{loaderData:d,errors:h}=bw(a,l,s);return o.filter(p=>!p.matches||p.matches.some(m=>m.shouldLoad)).forEach(p=>{let{key:m,match:g,controller:v}=p;if(v&&v.signal.aborted)return;let b=c[m];if(Ee(b,"Did not find corresponding fetcher result"),rn(b)){let S=ei(n.matches,g==null?void 0:g.route.id);h&&h[S.route.id]||(h={...h,[S.route.id]:b.error}),n.fetchers.delete(m)}else if(Ri(b))Ee(!1,"Unhandled fetcher revalidation redirect");else{let S=ga(b.data);n.fetchers.set(m,S)}}),{loaderData:d,errors:h}}function Rg(n,a,l,s){let o=Object.entries(a).filter(([,c])=>c!==C0).reduce((c,[d,h])=>(c[d]=h,c),{});for(let c of l){let d=c.route.id;if(!a.hasOwnProperty(d)&&n.hasOwnProperty(d)&&c.route.loader&&(o[d]=n[d]),s&&s.hasOwnProperty(d))break}return o}function Dg(n){return n?rn(n[1])?{actionData:{}}:{actionData:{[n[0]]:n[1].data}}:{}}function ei(n,a){return(a?n.slice(0,n.findIndex(s=>s.route.id===a)+1):[...n]).reverse().find(s=>s.route.hasErrorBoundary===!0)||n[0]}function Do(n){let a=n.length===1?n[0]:n.find(l=>l.index||!l.path||l.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function xn(n,{pathname:a,routeId:l,method:s,type:o,message:c}={}){let d="Unknown Server Error",h="Unknown @remix-run/router error";return n===400?(d="Bad Request",s&&a&&l?h=`You made a ${s} request to "${a}" but did not provide a \`loader\` for route "${l}", so there is no way to handle the request.`:o==="invalid-body"&&(h="Unable to encode submission body")):n===403?(d="Forbidden",h=`Route "${l}" does not match URL "${a}"`):n===404?(d="Not Found",h=`No route matches URL "${a}"`):n===405&&(d="Method Not Allowed",s&&a&&l?h=`You made a ${s.toUpperCase()} request to "${a}" but did not provide an \`action\` for route "${l}", so there is no way to handle the request.`:s&&(h=`Invalid request method "${s.toUpperCase()}"`)),new ns(n||500,d,new Error(h),!0)}function zo(n){let a=Object.entries(n);for(let l=a.length-1;l>=0;l--){let[s,o]=a[l];if(Ri(o))return{key:s,result:o}}}function V0(n){let a=typeof n=="string"?Gn(n):n;return Yn({...a,hash:""})}function xw(n,a){return n.pathname!==a.pathname||n.search!==a.search?!1:n.hash===""?a.hash!=="":n.hash===a.hash?!0:a.hash!==""}function Sw(n){var a,l;return new ns(((a=n.init)==null?void 0:a.status)??500,((l=n.init)==null?void 0:l.statusText)??"Internal Server Error",n.data)}function Tw(n){return n!=null&&typeof n=="object"&&Object.entries(n).every(([a,l])=>typeof a=="string"&&ww(l))}function ww(n){return n!=null&&typeof n=="object"&&"type"in n&&"result"in n&&(n.type==="data"||n.type==="error")}function Ew(n){return Nd(n.result)&&A0.has(n.result.status)}function rn(n){return n.type==="error"}function Ri(n){return(n&&n.type)==="redirect"}function zg(n){return typeof n=="object"&&n!=null&&"type"in n&&"data"in n&&"init"in n&&n.type==="DataWithResponseInit"}function Nd(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.headers=="object"&&typeof n.body<"u"}function Aw(n){return A0.has(n)}function Mw(n){return Nd(n)&&Aw(n.status)&&n.headers.has("Location")}function Cw(n){return aw.has(n.toUpperCase())}function Lt(n){return tw.has(n.toUpperCase())}function Ld(n){return new URLSearchParams(n).getAll("index").some(a=>a==="")}
36function Uo(n,a){let l=typeof a=="string"?Gn(a).search:a.search;if(n[n.length-1].route.index&&Ld(l||""))return n[n.length-1];let s=x0(n);return s[s.length-1]}function Og(n){let{formMethod:a,formAction:l,formEncType:s,text:o,formData:c,json:d}=n;if(!(!a||!l||!s)){if(o!=null)return{formMethod:a,formAction:l,formEncType:s,formData:void 0,json:void 0,text:o};if(c!=null)return{formMethod:a,formAction:l,formEncType:s,formData:c,json:void 0,text:void 0};if(d!==void 0)return{formMethod:a,formAction:l,formEncType:s,formData:void 0,json:d,text:void 0}}}function Of(n,a){return a?{state:"loading",location:n,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}:{state:"loading",location:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Rw(n,a){return{state:"submitting",location:n,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}function Nr(n,a){return n?{state:"loading",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:a}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function Dw(n,a){return{state:"submitting",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:a?a.data:void 0}}function ga(n){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:n}}function zw(n,a){try{let l=n.sessionStorage.getItem(M0);if(l){let s=JSON.parse(l);for(let[o,c]of Object.entries(s||{}))c&&Array.isArray(c)&&a.set(o,new Set(c||[]))}}catch{}}function Ow(n,a){if(a.size>0){let l={};for(let[s,o]of a)l[s]=[...o];try{n.sessionStorage.setItem(M0,JSON.stringify(l))}catch(s){ut(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function jg(){let n,a,l=new Promise((s,o)=>{n=async c=>{s(c);try{await l}catch{}},a=async c=>{o(c);try{await l}catch{}}});return{promise:l,resolve:n,reject:a}}var ji=E.createContext(null);ji.displayName="DataRouter";var Ol=E.createContext(null);Ol.displayName="DataRouterState";var U0=E.createContext(!1);function jw(){return E.useContext(U0)}var Vd=E.createContext({isTransitioning:!1});Vd.displayName="ViewTransition";var B0=E.createContext(new Map);B0.displayName="Fetchers";var Nw=E.createContext(null);Nw.displayName="Await";var Jt=E.createContext(null);Jt.displayName="Navigation";var tu=E.createContext(null);tu.displayName="Location";var Xn=E.createContext({outlet:null,matches:[],isDataRoute:!1});Xn.displayName="Route";var Ud=E.createContext(null);Ud.displayName="RouteError";var _0="REACT_ROUTER_ERROR",Lw="REDIRECT",Vw="ROUTE_ERROR_RESPONSE";function Uw(n){if(n.startsWith(`${_0}:${Lw}:{`))try{let a=JSON.parse(n.slice(28));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.location=="string"&&typeof a.reloadDocument=="boolean"&&typeof a.replace=="boolean")return a}catch{}}function Bw(n){if(n.startsWith(`${_0}:${Vw}:{`))try{let a=JSON.parse(n.slice(40));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string")return new ns(a.status,a.statusText,a.data)}catch{}}function _w(n,{relative:a}={}){Ee(is(),"useHref() may be used only in the context of a <Router> component.");let{basename:l,navigator:s}=E.useContext(Jt),{hash:o,pathname:c,search:d}=ls(n,{relative:a}),h=c;return l!=="/"&&(h=c==="/"?l:On([l,c])),s.createHref({pathname:h,search:d,hash:o})}function is(){return E.useContext(tu)!=null}function Kn(){return Ee(is(),"useLocation() may be used only in the context of a <Router> component."),E.useContext(tu).location}var H0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function k0(n){E.useContext(Jt).static||E.useLayoutEffect(n)}function Hw(){let{isDataRoute:n}=E.useContext(Xn);return n?eE():kw()}function kw(){Ee(is(),"useNavigate() may be used only in the context of a <Router> component.");let n=E.useContext(ji),{basename:a,navigator:l}=E.useContext(Jt),{matches:s}=E.useContext(Xn),{pathname:o}=Kn(),c=JSON.stringify(Od(s)),d=E.useRef(!1);return k0(()=>{d.current=!0}),E.useCallback((p,m={})=>
36{if(ut(d.current,H0),!d.current)return;if(typeof p=="number"){l.go(p);return}let g=eu(p,JSON.parse(c),o,m.relative==="path");n==null&&a!=="/"&&(g.pathname=g.pathname==="/"?a:On([a,g.pathname])),(m.replace?l.replace:l.push)(g,m.state,m)},[a,l,c,o,n])}var Yw=E.createContext(null);function qw(n){let a=E.useContext(Xn).outlet;return E.useMemo(()=>a&&E.createElement(Yw.Provider,{value:n},a),[a,n])}function ls(n,{relative:a}={}){let{matches:l}=E.useContext(Xn),{pathname:s}=Kn(),o=JSON.stringify(Od(l));return E.useMemo(()=>eu(n,JSON.parse(o),s,a==="path"),[n,o,s,a])}function Gw(n,a,l){Ee(is(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=E.useContext(Jt),{matches:o}=E.useContext(Xn),c=o[o.length-1],d=c?c.params:{},h=c?c.pathname:"/",p=c?c.pathnameBase:"/",m=c&&c.route;{let R=m&&m.path||"";G0(h,!m||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${R}">) 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. 37 38Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let g=Kn(),v;v=g;let b=v.pathname||"/",S=b;if(p!=="/"){let R=p.replace(/^\//,"").split("/");S="/"+b.replace(/^\//,"").split("/").slice(R.length).join("/")}let C=Ia(n,{pathname:S});return ut(m||C!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),ut(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.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.`),Zw(C&&C.map(R=>Object.assign({},R,{params:Object.assign({},d,R.params),pathname:On([p,s.encodeLocation?s.encodeLocation(R.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?p:On([p,s.encodeLocation?s.encodeLocation(R.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),o,l)}function Xw(){let n=Iw(),a=Jr(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),l=n instanceof Error?n.stack:null,s="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},d=null;return console.error("Error handled by React Router default ErrorBoundary:",n),d=E.createElement(E.Fragment,null,E.createElement("p",null,"ð¿ Hey developer ð"),E.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",E.createElement("code",{style:c},"ErrorBoundary")," or"," ",E.createElement("code",{style:c},"errorElement")," prop on your route.")),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},a),l?E.createElement("pre",{style:o},l):null,d)}var Kw=E.createElement(Xw,null),Y0=class extends E.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,a){return a.location!==n.location||a.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:a.error,location:a.location,revalidation:n.revalidation||a.revalidation}}componentDidCatch(n,a){this.props.onError?this.props.onError(n,a):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const l=Bw(n.digest);l&&(n=l)}let a=n!==void 0?E.createElement(Xn.Provider,{value:this.props.routeContext},E.createElement(Ud.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?E.createElement(Qw,{error:n},a):a}};Y0.contextType=U0;var jf=new WeakMap;function Qw({children:n,error:a}){let{basename:l}=E.useContext(Jt);if(typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){let s=Uw(a.digest);if(s){let o=jf.get(a);if(o)throw o;let c=T0(s.location,l);if(S0&&!jf.get(a))if(c.isExternal||s.reloadDocument)window.location.href=c.absoluteURL||
38c.to;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:s.replace}));throw jf.set(a,d),d}return E.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return n}function Fw({routeContext:n,match:a,children:l}){let s=E.useContext(ji);return s&&s.static&&s.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=a.route.id),E.createElement(Xn.Provider,{value:n},l)}function Zw(n,a=[],l){let s=l==null?void 0:l.state;if(n==null){if(!s)return null;if(s.errors)n=s.matches;else if(a.length===0&&!s.initialized&&s.matches.length>0)n=s.matches;else return null}let o=n,c=s==null?void 0:s.errors;if(c!=null){let g=o.findIndex(v=>v.route.id&&(c==null?void 0:c[v.route.id])!==void 0);Ee(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),o=o.slice(0,Math.min(o.length,g+1))}let d=!1,h=-1;if(l&&s){d=s.renderFallback;for(let g=0;g<o.length;g++){let v=o[g];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(h=g),v.route.id){let{loaderData:b,errors:S}=s,C=v.route.loader&&!b.hasOwnProperty(v.route.id)&&(!S||S[v.route.id]===void 0);if(v.route.lazy||C){l.isStatic&&(d=!0),h>=0?o=o.slice(0,h+1):o=[o[0]];break}}}}let p=l==null?void 0:l.onError,m=s&&p?(g,v)=>{var b,S;p(g,{location:s.location,params:((S=(b=s.matches)==null?void 0:b[0])==null?void 0:S.params)??{},unstable_pattern:as(s.matches),errorInfo:v})}:void 0;return o.reduceRight((g,v,b)=>{let S,C=!1,z=null,R=null;s&&(S=c&&v.route.id?c[v.route.id]:void 0,z=v.route.errorElement||Kw,d&&(h<0&&b===0?(G0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,R=null):h===b&&(C=!0,R=v.route.hydrateFallbackElement||null)));let B=a.concat(o.slice(0,b+1)),k=()=>{let H;return S?H=z:C?H=R:v.route.Component?H=E.createElement(v.route.Component,null):v.route.element?H=v.route.element:H=g,E.createElement(Fw,{match:v,routeContext:{outlet:g,matches:B,isDataRoute:s!=null},children:H})};return s&&(v.route.ErrorBoundary||v.route.errorElement||b===0)?E.createElement(Y0,{location:s.location,revalidation:s.revalidation,component:z,error:S,children:k(),routeContext:{outlet:null,matches:B,isDataRoute:!0},onError:m}):k()},null)}function Bd(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Pw(n){let a=E.useContext(ji);return Ee(a,Bd(n)),a}function _d(n){let a=E.useContext(Ol);return Ee(a,Bd(n)),a}function Jw(n){let a=E.useContext(Xn);return Ee(a,Bd(n)),a}function Hd(n){let a=Jw(n),l=a.matches[a.matches.length-1];return Ee(l.route.id,`${n} can only be used on routes that contain a unique "id"`),l.route.id}function $w(){return Hd("useRouteId")}function Ww(){return _d("useNavigation").navigation}function q0(){let{matches:n,loaderData:a}=_d("useMatches");return E.useMemo(()=>n.map(l=>y0(l,a)),[n,a])}function Iw(){var s;let n=E.useContext(Ud),a=_d("useRouteError"),l=Hd("useRouteError");return n!==void 0?n:(s=a.errors)==null?void 0:s[l]}function eE(){let{router:n}=Pw("useNavigate"),a=Hd("useNavigate"),l=E.useRef(!1);return k0(()=>{l.current=!0}),E.useCallback(async(o,c={})=>{ut(l.current,H0),l.current&&(typeof o=="number"?await n.navigate(o):await n.navigate(o,{fromRouteId:a,...c}))},[n,a])}var Ng={};function G0(n,a,l){!a&&!Ng[n]&&(Ng[n]=!0,ut(!1,l))}var Lg={};function Vg(n,a){!n&&!Lg[a]&&(Lg[a]=!0,console.warn(a))}var tE="useOptimistic",Ug=Z1[tE],nE=()=>{};function aE(n){return Ug?Ug(n):[n,nE]}function iE(n){let a={hasErrorBoundary:n.hasErrorBoundary||n.ErrorBoundary!=null||n.errorElement!=null};return n.Component&&(n.element&&ut(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(a,{element:E.createElement(n.Component),Component:void 0})),n.HydrateFallback&&(n.hydrateFallbackElement&&ut(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(a,{hydrateFallbackElement:E.createElement(n.HydrateFallback),HydrateFallback:void 0})),n.ErrorBoundary&&(n.errorElement&&ut(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(a,{errorElement:E.createElement(n.ErrorBoundary),ErrorBoundary:void 0})),a}
38var lE=["HydrateFallback","hydrateFallbackElement"],rE=class{constructor(){this.status="pending",this.promise=new Promise((n,a)=>{this.resolve=l=>{this.status==="pending"&&(this.status="resolved",n(l))},this.reject=l=>{this.status==="pending"&&(this.status="rejected",a(l))}})}};function sE({router:n,flushSync:a,onError:l,unstable_useTransitions:s}){s=jw()||s;let[c,d]=E.useState(n.state),[h,p]=aE(c),[m,g]=E.useState(),[v,b]=E.useState({isTransitioning:!1}),[S,C]=E.useState(),[z,R]=E.useState(),[B,k]=E.useState(),H=E.useRef(new Map),P=E.useCallback((M,{deletedFetchers:de,newErrors:se,flushSync:Ne,viewTransitionOpts:ee})=>{se&&l&&Object.values(se).forEach(we=>{var Re;return l(we,{location:M.location,params:((Re=M.matches[0])==null?void 0:Re.params)??{},unstable_pattern:as(M.matches)})}),M.fetchers.forEach((we,Re)=>{we.data!==void 0&&H.current.set(Re,we.data)}),de.forEach(we=>H.current.delete(we)),Vg(Ne===!1||a!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let et=n.window!=null&&n.window.document!=null&&typeof n.window.document.startViewTransition=="function";if(Vg(ee==null||et,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!ee||!et){a&&Ne?a(()=>d(M)):s===!1?d(M):E.startTransition(()=>{s===!0&&p(we=>Bg(we,M)),d(M)});return}if(a&&Ne){a(()=>{z&&(S==null||S.resolve(),z.skipTransition()),b({isTransitioning:!0,flushSync:!0,currentLocation:ee.currentLocation,nextLocation:ee.nextLocation})});let we=n.window.document.startViewTransition(()=>{a(()=>d(M))});we.finished.finally(()=>{a(()=>{C(void 0),R(void 0),g(void 0),b({isTransitioning:!1})})}),a(()=>R(we));return}z?(S==null||S.resolve(),z.skipTransition(),k({state:M,currentLocation:ee.currentLocation,nextLocation:ee.nextLocation})):(g(M),b({isTransitioning:!0,flushSync:!1,currentLocation:ee.currentLocation,nextLocation:ee.nextLocation}))},[n.window,a,z,S,s,p,l]);E.useLayoutEffect(()=>n.subscribe(P),[n,P]),E.useEffect(()=>{v.isTransitioning&&!v.flushSync&&C(new rE)},[v]),E.useEffect(()=>{if(S&&m&&n.window){let M=m,de=S.promise,se=n.window.document.startViewTransition(async()=>{s===!1?d(M):E.startTransition(()=>{s===!0&&p(Ne=>Bg(Ne,M)),d(M)}),await de});se.finished.finally(()=>{C(void 0),R(void 0),g(void 0),b({isTransitioning:!1})}),R(se)}},[m,S,n.window,s,p]),E.useEffect(()=>{S&&m&&h.location.key===m.location.key&&S.resolve()},[S,z,h.location,m]),E.useEffect(()=>{!v.isTransitioning&&B&&(g(B.state),b({isTransitioning:!0,flushSync:!1,currentLocation:B.currentLocation,nextLocation:B.nextLocation}),k(void 0))},[v.isTransitioning,B]);let Q=E.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:M=>n.navigate(M),push:(M,de,se)=>n.navigate(M,{state:de,preventScrollReset:se==null?void 0:se.preventScrollReset}),replace:(M,de,se)=>n.navigate(M,{replace:!0,state:de,preventScrollReset:se==null?void 0:se.preventScrollReset})}),[n]),I=n.basename||"/",fe=E.useMemo(()=>({router:n,navigator:Q,static:!1,basename:I,onError:l}),[n,Q,I,l]);return E.createElement(E.Fragment,null,E.createElement(ji.Provider,{value:fe},E.createElement(Ol.Provider,{value:h},E.createElement(B0.Provider,{value:H.current},E.createElement(Vd.Provider,{value:v},E.createElement(fE,{basename:I,location:h.location,navigationType:h.historyAction,navigator:Q,unstable_useTransitions:s},E.createElement(oE,{routes:n.routes,future:n.future,state:h,isStatic:!1,onError:l})))))),null)}function Bg(n,a){return{...n,navigation:a.navigation.state!=="idle"?a.navigation:n.navigation,revalidation:a.revalidation!=="idle"?a.revalidation:n.revalidation,actionData:a.navigation.state!=="submitting"?a.actionData:n.actionData,fetchers:a.fetchers}}var oE=E.memo(uE);function uE({routes:n,future:a,state:l,isStatic:s,onError:o}){return Gw(n,void 0,{state:l,isStatic:s,onError:o})}function cE(n){return qw(n.context)}function fE({basename:n="/",children:a=null,location:l,navigationType:s="POP",navigator:o,static:c=!1,unstable_useTransitions:d}){Ee(!is(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),p=E.useMemo(()=>({basename:h,navigator:o,static:c,unstable_useTransitions:d,future:{}}),[h,o,c,d]);typeof l=="string"&&(l=Gn(l));
38let{pathname:m="/",search:g="",hash:v="",state:b=null,key:S="default",unstable_mask:C}=l,z=E.useMemo(()=>{let R=sn(m,h);return R==null?null:{location:{pathname:R,search:g,hash:v,state:b,key:S,unstable_mask:C},navigationType:s}},[h,m,g,v,b,S,s,C]);return ut(z!=null,`<Router basename="${h}"> is not able to match the URL "${m}${g}${v}" because it does not start with the basename, so the <Router> won't render anything.`),z==null?null:E.createElement(Jt.Provider,{value:p},E.createElement(tu.Provider,{children:a,value:z}))}var Bo="get",_o="application/x-www-form-urlencoded";function nu(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function dE(n){return nu(n)&&n.tagName.toLowerCase()==="button"}function hE(n){return nu(n)&&n.tagName.toLowerCase()==="form"}function mE(n){return nu(n)&&n.tagName.toLowerCase()==="input"}function pE(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function yE(n,a){return n.button===0&&(!a||a==="_self")&&!pE(n)}var Oo=null;function gE(){if(Oo===null)try{new FormData(document.createElement("form"),0),Oo=!1}catch{Oo=!0}return Oo}var vE=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Nf(n){return n!=null&&!vE.has(n)?(ut(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${_o}"`),null):n}function bE(n,a){let l,s,o,c,d;if(hE(n)){let h=n.getAttribute("action");s=h?sn(h,a):null,l=n.getAttribute("method")||Bo,o=Nf(n.getAttribute("enctype"))||_o,c=new FormData(n)}else if(dE(n)||mE(n)&&(n.type==="submit"||n.type==="image")){let h=n.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=n.getAttribute("formaction")||h.getAttribute("action");if(s=p?sn(p,a):null,l=n.getAttribute("formmethod")||h.getAttribute("method")||Bo,o=Nf(n.getAttribute("formenctype"))||Nf(h.getAttribute("enctype"))||_o,c=new FormData(h,n),!gE()){let{name:m,type:g,value:v}=n;if(g==="image"){let b=m?`${m}.`:"";c.append(`${b}x`,"0"),c.append(`${b}y`,"0")}else m&&c.append(m,v)}}else{if(nu(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');l=Bo,s=null,o=_o,d=n}return c&&o==="text/plain"&&(d=c,c=void 0),{action:s,method:l.toLowerCase(),encType:o,formData:c,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var xE={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},SE=/[&><\u2028\u2029]/g;function _g(n){return n.replace(SE,a=>xE[a])}function kd(n,a){if(n===!1||n===null||typeof n>"u")throw new Error(a)}function TE(n,a,l,s){let o=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return l?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${s}`:o.pathname=`${o.pathname}.${s}`:o.pathname==="/"?o.pathname=`_root.${s}`:a&&sn(o.pathname,a)==="/"?o.pathname=`${a.replace(/\/$/,"")}/_root.${s}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${s}`,o}async function wE(n,a){if(n.id in a)return a[n.id];try{let l=await import(n.module);return a[n.id]=l,l}catch(l){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(l),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function EE(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function AE(n,a,l){let s=await Promise.all(n.map(async o=>{let c=a.routes[o.route.id];if(c){let d=await wE(c,l);return d.links?d.links():[]}return[]}));return DE(s.flat(1).filter(EE).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Hg(n,a,l,s,o,c){let d=(p,m)=>l[m]?p.route.id!==l[m].route.id:!0,h=(p,m)=>{var g;return l[m].pathname!==p.pathname||((g=l[m].route.path)==null?void 0:g.endsWith("*"))&&l[m].params["*"]!==p.params["*"]};return c==="assets"?a.filter((p,m)=>d(p,m)||h(p,m)):c==="data"?a.filter((p,m)=>{var v;let g=s.routes[p.route.id];if(!g||!g.hasLoader)return!1;if(d(p,m)||h(p,m))return!0;
38if(p.route.shouldRevalidate){let b=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((v=l[0])==null?void 0:v.params)||{},nextUrl:new URL(n,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function ME(n,a,{includeHydrateFallback:l}={}){return CE(n.map(s=>{let o=a.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)),l&&o.hydrateFallbackModule&&(c=c.concat(o.hydrateFallbackModule)),o.imports&&(c=c.concat(o.imports)),c}).flat(1))}function CE(n){return[...new Set(n)]}function RE(n){let a={},l=Object.keys(n).sort();for(let s of l)a[s]=n[s];return a}function DE(n,a){let l=new Set;return new Set(a),n.reduce((s,o)=>{let c=JSON.stringify(RE(o));return l.has(c)||(l.add(c),s.push({key:c,link:o})),s},[])}function X0(){let n=E.useContext(ji);return kd(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function zE(){let n=E.useContext(Ol);return kd(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var au=E.createContext(void 0);au.displayName="FrameworkContext";function K0(){let n=E.useContext(au);return kd(n,"You must render this element inside a <HydratedRouter> element"),n}function OE(n,a){let l=E.useContext(au),[s,o]=E.useState(!1),[c,d]=E.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:m,onMouseLeave:g,onTouchStart:v}=a,b=E.useRef(null);E.useEffect(()=>{if(n==="render"&&d(!0),n==="viewport"){let z=B=>{B.forEach(k=>{d(k.isIntersecting)})},R=new IntersectionObserver(z,{threshold:.5});return b.current&&R.observe(b.current),()=>{R.disconnect()}}},[n]),E.useEffect(()=>{if(s){let z=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(z)}}},[s]);let S=()=>{o(!0)},C=()=>{o(!1),d(!1)};return l?n!=="intent"?[c,b,{}]:[c,b,{onFocus:Lr(h,S),onBlur:Lr(p,C),onMouseEnter:Lr(m,S),onMouseLeave:Lr(g,C),onTouchStart:Lr(v,S)}]:[!1,b,{}]}function Lr(n,a){return l=>{n&&n(l),l.defaultPrevented||a(l)}}function jE({page:n,...a}){let{router:l}=X0(),s=E.useMemo(()=>Ia(l.routes,n,l.basename),[l.routes,n,l.basename]);return s?E.createElement(LE,{page:n,matches:s,...a}):null}function NE(n){let{manifest:a,routeModules:l}=K0(),[s,o]=E.useState([]);return E.useEffect(()=>{let c=!1;return AE(n,a,l).then(d=>{c||o(d)}),()=>{c=!0}},[n,a,l]),s}function LE({page:n,matches:a,...l}){let s=Kn(),{future:o,manifest:c,routeModules:d}=K0(),{basename:h}=X0(),{loaderData:p,matches:m}=zE(),g=E.useMemo(()=>Hg(n,a,m,c,s,"data"),[n,a,m,c,s]),v=E.useMemo(()=>Hg(n,a,m,c,s,"assets"),[n,a,m,c,s]),b=E.useMemo(()=>{if(n===s.pathname+s.search+s.hash)return[];let z=new Set,R=!1;if(a.forEach(k=>{var P;let H=c.routes[k.route.id];!H||!H.hasLoader||(!g.some(Q=>Q.route.id===k.route.id)&&k.route.id in p&&((P=d[k.route.id])!=null&&P.shouldRevalidate)||H.hasClientLoader?R=!0:z.add(k.route.id))}),z.size===0)return[];let B=TE(n,h,o.unstable_trailingSlashAwareDataRequests,"data");return R&&z.size>0&&B.searchParams.set("_routes",a.filter(k=>z.has(k.route.id)).map(k=>k.route.id).join(",")),[B.pathname+B.search]},[h,o.unstable_trailingSlashAwareDataRequests,p,s,c,g,a,n,d]),S=E.useMemo(()=>ME(v,c),[v,c]),C=NE(v);return E.createElement(E.Fragment,null,b.map(z=>E.createElement("link",{key:z,rel:"prefetch",as:"fetch",href:z,...l})),S.map(z=>E.createElement("link",{key:z,rel:"modulepreload",href:z,...l})),C.map(({key:z,link:R})=>E.createElement("link",{key:z,nonce:l.nonce,...R,crossOrigin:R.crossOrigin??l.crossOrigin})))}function VE(...n){return a=>{n.forEach(l=>{typeof l=="function"?l(a):l!=null&&(l.current=a)})}}var UE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{UE&&(window.__reactRouterVersion="7.13.2")}catch{}function BE(n,a){return sw({basename:a==null?void 0:a.basename,getContext:a==null?void 0:a.getContext,future:a==null?void 0:a.future,history:ET({window:a==null?void 0:a.window}),hydrationData:_E(),routes:n,mapRouteProperties:iE,hydrationRouteProperties:lE,dataStrategy:a==null?void 0:a.dataStrategy,patchRoutesOnNavigation:a==null?void 0:a.patchRoutesOnNavigation,window:a==null?void 0:a.window,unstable_instrumentations:a==null?void 0:a.unstable_instrumentations}).initialize()}function _E(){let n=window==null?void 0:window.__staticRouterHydrationData;return n&&n.errors&&(n={...n,errors:HE(n.errors)}),n}function HE(n){if(!n)return null;let a=Object.entries(n),l={};for(let[s,o]of a)if(o&&o.__type==="RouteErrorResponse")l[s]=new ns(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let c=window[o.__subType];if(typeof c=="function")try{let d=new c(o.message);d.stack="",l[s]=d}catch{}}if(l[s]==null){let c=new Error(o.message);c.stack="",l[s]=c}}else l[s]=o;return l}var Q0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,F0=E.forwardRef(function({onClick:a,discover:l="render",prefetch:s="none",relative:o,reloadDocument:c,replace:d,unstable_mask:h,state:p,target:m,to:g,preventScrollReset:v,viewTransition:b,unstable_defaultShouldRevalidate:S,...C},z){let{basename:R,navigator:B,unstable_useTransitions:k}=E.useContext(Jt),H=typeof g=="string"&&Q0.test(g),P=T0(g,R);g=P.to;let Q=_w(g,{relative:o}),I=Kn(),fe=null;if(h){let Re=eu(h,[],I.unstable_mask?I.unstable_mask.pathname:"/",!0);R!=="/"&&(Re.pathname=Re.pathname==="/"?R:On([R,Re.pathname])),fe=B.createHref(Re)}let[M,de,se]=OE(s,C),Ne=GE(g,{replace:d,unstable_mask:h,state:p,target:m,preventScrollReset:v,relative:o,viewTransition:b,unstable_defaultShouldRevalidate:S,unstable_useTransitions:k});function ee(Re){a&&a(Re),Re.defaultPrevented||Ne(Re)}let et=!(P.isExternal||c),we=E.createElement("a",{...C,...se,href:(et?fe:void 0)||P.absoluteURL||Q,onClick:et?ee:a,ref:VE(z,de),target:m,"data-discover":!H&&l==="render"?"true":void 0});return M&&!H?E.createElement(E.Fragment,null,we,E.createElement(jE,{page:Q})):we});F0.displayName="Link";var kE=E.forwardRef(function({"aria-current":a="page",caseSensitive:l=!1,className:s="",end:o=!1,style:c,to:d,viewTransition:h,children:p,...m},g){let v=ls(d,{relative:m.relative}
38),b=Kn(),S=E.useContext(Ol),{navigator:C,basename:z}=E.useContext(Jt),R=S!=null&&JE(v)&&h===!0,B=C.encodeLocation?C.encodeLocation(v).pathname:v.pathname,k=b.pathname,H=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;l||(k=k.toLowerCase(),H=H?H.toLowerCase():null,B=B.toLowerCase()),H&&z&&(H=sn(H,z)||H);const P=B!=="/"&&B.endsWith("/")?B.length-1:B.length;let Q=k===B||!o&&k.startsWith(B)&&k.charAt(P)==="/",I=H!=null&&(H===B||!o&&H.startsWith(B)&&H.charAt(B.length)==="/"),fe={isActive:Q,isPending:I,isTransitioning:R},M=Q?a:void 0,de;typeof s=="function"?de=s(fe):de=[s,Q?"active":null,I?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let se=typeof c=="function"?c(fe):c;return E.createElement(F0,{...m,"aria-current":M,className:de,ref:g,style:se,to:d,viewTransition:h},typeof p=="function"?p(fe):p)});kE.displayName="NavLink";var YE=E.forwardRef(({discover:n="render",fetcherKey:a,navigate:l,reloadDocument:s,replace:o,state:c,method:d=Bo,action:h,onSubmit:p,relative:m,preventScrollReset:g,viewTransition:v,unstable_defaultShouldRevalidate:b,...S},C)=>{let{unstable_useTransitions:z}=E.useContext(Jt),R=QE(),B=FE(h,{relative:m}),k=d.toLowerCase()==="get"?"get":"post",H=typeof h=="string"&&Q0.test(h),P=Q=>{if(p&&p(Q),Q.defaultPrevented)return;Q.preventDefault();let I=Q.nativeEvent.submitter,fe=(I==null?void 0:I.getAttribute("formmethod"))||d,M=()=>R(I||Q.currentTarget,{fetcherKey:a,method:fe,navigate:l,replace:o,state:c,relative:m,preventScrollReset:g,viewTransition:v,unstable_defaultShouldRevalidate:b});z&&l!==!1?E.startTransition(()=>M()):M()};return E.createElement("form",{ref:C,method:k,action:B,onSubmit:s?p:P,...S,"data-discover":!H&&n==="render"?"true":void 0})});YE.displayName="Form";function Z0({getKey:n,storageKey:a,...l}){let s=E.useContext(au),{basename:o}=E.useContext(Jt),c=Kn(),d=q0();ZE({getKey:n,storageKey:a});let h=E.useMemo(()=>{if(!s||!n)return null;let m=ld(c,d,o,n);return m!==c.key?m:null},[]);if(!s||s.isSpaMode)return null;let p=((m,g)=>{if(!window.history.state||!window.history.state.key){let v=Math.random().toString(32).slice(2);window.history.replaceState({key:v},"")}try{let b=JSON.parse(sessionStorage.getItem(m)||"{}")[g||window.history.state.key];typeof b=="number"&&window.scrollTo(0,b)}catch(v){console.error(v),sessionStorage.removeItem(m)}}).toString();return E.createElement("script",{...l,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${p})(${_g(JSON.stringify(a||id))}, ${_g(JSON.stringify(h))})`}})}Z0.displayName="ScrollRestoration";function P0(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Yd(n){let a=E.useContext(ji);return Ee(a,P0(n)),a}function qE(n){let a=E.useContext(Ol);return Ee(a,P0(n)),a}function GE(n,{target:a,replace:l,unstable_mask:s,state:o,preventScrollReset:c,relative:d,viewTransition:h,unstable_defaultShouldRevalidate:p,unstable_useTransitions:m}={}){let g=Hw(),v=Kn(),b=ls(n,{relative:d});return E.useCallback(S=>{if(yE(S,a)){S.preventDefault();let C=l!==void 0?l:Yn(v)===Yn(b),z=()=>g(n,{replace:C,unstable_mask:s,state:o,preventScrollReset:c,relative:d,viewTransition:h,unstable_defaultShouldRevalidate:p});m?E.startTransition(()=>z()):z()}},[v,g,b,l,s,o,a,n,c,d,h,p,m])}var XE=0,KE=()=>`__${String(++XE)}__`;function QE(){let{router:n}=Yd("useSubmit"),{basename:a}=E.useContext(Jt),l=$w(),s=n.fetch,o=n.navigate;return E.useCallback(async(c,d={})=>{let{action:h,method:p,encType:m,formData:g,body:v}=bE(c,a);if(d.navigate===!1){let b=d.fetcherKey||KE();await s(b,l,d.action||h,{unstable_defaultShouldRevalidate:d.unstable_defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:g,body:v,formMethod:d.method||p,formEncType:d.encType||m,flushSync:d.flushSync})}else await o(d.action||h,{unstable_defaultShouldRevalidate:d.unstable_defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:g,body:v,formMethod:d.method||p,formEncType:d.encType||m,replace:d.replace,state:d.state,fromRouteId:l,flushSync:d.flushSync,viewTransition:d.viewTransition})},[s,o,a,l])}function FE(n,{relative:a}={}){let{basename:l}=E.useContext(Jt),s=E.useContext(Xn);Ee(s,"useFormAction must be used inside a RouteContext");let[o]=s.matches.slice(-1),c={...ls(n||".",{relative:a})},d=Kn();if(n==null){c.search=d.search;let h=new URLSearchParams(c.search),p=h.getAll("index");if(p.some(g=>g==="")){h.delete("index"),p.filter(v=>v).forEach(v=>h.append("index",v));let g=h.toString();c.search=g?`?${g}`:""}}return(!n||n===".")&&o.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),l!=="/"&&(c.pathname=c.pathname==="/"?l:On([l,c.pathname])),Yn(c)}var id="react-router-scroll-positions",jo={};function ld(n,a,l,s){let o=null;return s&&(l!=="/"?o=s({...n,pathname:sn(n.pathname,l)||n.pathname},a):o=s(n,a)),o==null&&(o=n.key),o}function ZE({getKey:n,storageKey:a}={}){let{router:l}=Yd("useScrollRestoration"),{restoreScrollPosition:s,preventScrollReset:o}
38=qE("useScrollRestoration"),{basename:c}=E.useContext(Jt),d=Kn(),h=q0(),p=Ww();E.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),PE(E.useCallback(()=>{if(p.state==="idle"){let m=ld(d,h,c,n);jo[m]=window.scrollY}try{sessionStorage.setItem(a||id,JSON.stringify(jo))}catch(m){ut(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${m}).`)}window.history.scrollRestoration="auto"},[p.state,n,c,d,h,a])),typeof document<"u"&&(E.useLayoutEffect(()=>{try{let m=sessionStorage.getItem(a||id);m&&(jo=JSON.parse(m))}catch{}},[a]),E.useLayoutEffect(()=>{let m=l==null?void 0:l.enableScrollRestoration(jo,()=>window.scrollY,n?(g,v)=>ld(g,v,c,n):void 0);return()=>m&&m()},[l,c,n]),E.useLayoutEffect(()=>{if(s!==!1){if(typeof s=="number"){window.scrollTo(0,s);return}try{if(d.hash){let m=document.getElementById(decodeURIComponent(d.hash.slice(1)));if(m){m.scrollIntoView();return}}}catch{ut(!1,`"${d.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}o!==!0&&window.scrollTo(0,0)}},[d,s,o]))}function PE(n,a){let{capture:l}={};E.useEffect(()=>{let s=l!=null?{capture:l}:void 0;return window.addEventListener("pagehide",n,s),()=>{window.removeEventListener("pagehide",n,s)}},[n,l])}function JE(n,{relative:a}={}){let l=E.useContext(Vd);Ee(l!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=Yd("useViewTransitionState"),o=ls(n,{relative:a});if(!l.isTransitioning)return!1;let c=sn(l.currentLocation.pathname,s)||l.currentLocation.pathname,d=sn(l.nextLocation.pathname,s)||l.nextLocation.pathname;return Qo(o.pathname,d)!=null||Qo(o.pathname,c)!=null}function $E(n){return E.createElement(sE,{flushSync:W1.flushSync,...n})}class WE extends E.Component{constructor(a){super(a),this.state={hasError:!1}}static getDerivedStateFromError(a){return{hasError:!0}}componentDidCatch(a,l){console.warn("CookieBanner error boundary caught an error:",a,l)}render(){return this.state.hasError?null:this.props.children}}/** 39 * @license lucide-react v0.454.0 - ISC 40 * 41 * This source code is licensed under the ISC license. 42 * See the LICENSE file in the root directory of this source tree. 43 */const IE=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),J0=(...n)=>n.filter((a,l,s)=>!!a&&a.trim()!==""&&s.indexOf(a)===l).join(" ").trim();/** 44 * @license lucide-react v0.454.0 - ISC 45 * 46 * This source code is licensed under the ISC license. 47 * See the LICENSE file in the root directory of this source tree. 48 */var e2={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"};/** 49 * @license lucide-react v0.454.0 - ISC 50 * 51 * This source code is licensed under the ISC license. 52 * See the LICENSE file in the root directory of this source tree. 53 */const t2=E.forwardRef(({color:n="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:o="",children:c,iconNode:d,...h},p)=>E.createElement("svg",{ref:p,...e2,width:a,height:a,stroke:n,strokeWidth:s?Number(l)*24/Number(a):l,className:J0("lucide",o),...h},[...d.map(([m,g])=>E.createElement(m,g)),...Array.isArray(c)?c:[c]]));/** 54 * @license lucide-react v0.454.0 - ISC 55 * 56 * This source code is licensed under the ISC license. 57 * See the LICENSE file in the root directory of this source tree. 58 */const jn=(n,a)=>{const l=E.forwardRef(({className:s,...o},c)=>E.createElement(t2,{ref:c,iconNode:a,className:J0(`lucide-${IE(n)}`,s),...o}));return l.displayName=`${n}`,l};/** 59 * @license lucide-react v0.454.0 - ISC 60 * 61 * This source code is licensed under the ISC license. 62 * See the LICENSE file in the root directory of this source tree. 63 */const kg=jn("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** 64 * @license lucide-react v0.454.0 - ISC 65 * 66 * This source code is licensed under the ISC license. 67 * See the LICENSE file in the root directory of this source tree. 68 */const Yg=jn("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 69 * @license lucide-react v0.454.0 - ISC 70 * 71 * This source code is licensed under the ISC license. 72 * See the LICENSE file in the root directory of this source tree. 73 */const n2=jn("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** 74 * @license lucide-react v0.454.0 - ISC 75 * 76 * This source code is licensed under the ISC license. 77 * See the LICENSE file in the root directory of this source tree. 78 */const a2=jn("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** 79 * @license lucide-react v0.454.0 - ISC 80 * 81 * This source code is licensed under the ISC license. 82 * See the LICENSE file in the root directory of this source tree. 83 */const i2=jn("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** 84 * @license lucide-react v0.454.0 - ISC 85 * 86 * This source code is licensed under the ISC license. 87 * See the LICENSE file in the root directory of this source tree. 88 */const l2=jn("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 89 * @license lucide-react v0.454.0 - ISC 90 * 91 * This source code is licensed under the ISC license. 92 * See the LICENSE file in the root directory of this source tree. 93 */const qg=jn("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** 94 * @license lucide-react v0.454.0 - ISC 95 * 96 * This source code is licensed under the ISC license. 97 * See the LICENSE file in the root directory of this source tree. 98 */const Gg=jn("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** 99 * @license lucide-react v0.454.0 - ISC 100 * 101 * This source code is licensed under the ISC license. 102 * See the LICENSE file in the root directory of this source tree. 103 */const Xg=jn("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 104 * @license lucide-react v0.454.0 - ISC 105 * 106 * This source code is licensed under the ISC license. 107 * See the LICENSE file in the root directory of this source tree. 108 */const r2=jn("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 9,196 bytes, lines 108-113
108],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 109 * @license lucide-react v0.454.0 - ISC 110 * 111 * This source code is licensed under the ISC license. 112 * See the LICENSE file in the root directory of this source tree. 113 */const s2=jn("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]),o2=[{label:"The Daily Six",href:"#daily-six"},{label:"About John",href:"#about"},{label:"Services",href:"#services"},{label:"Contact",href:"#contact"}],u2=[{icon:n2,href:"https://www.facebook.com/ChangingTheFocus",label:"Facebook"},{icon:i2,href:"https://www.linkedin.com/company/changing-the-focus/",label:"LinkedIn"},{icon:s2,href:"https://www.youtube.com/channel/UCBN2f_-MRF92epmYDXaJ28A",label:"YouTube"},{icon:a2,href:"#",label:"Instagram"}];function c2(){const n=a=>{const l=document.querySelector(a);l&&window.scrollTo({top:l.offsetTop-80,behavior:"smooth"})};return O.jsx("footer",{className:"bg-primary text-primary-foreground",children:O.jsxs("div",{className:"container mx-auto px-6 py-12",children:[O.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-8 mb-8",children:[O.jsx("img",{src:"/assets/images/b2a4a8d2eda57a3b64bca9649ea127ba.png",alt:"Changing the Focus",className:"h-10 w-auto brightness-0 invert"}),O.jsx("nav",{className:"flex flex-wrap justify-center gap-6",children:o2.map(a=>O.jsx("button",{onClick:()=>n(a.href),className:"text-sm text-primary-foreground/80 hover:text-primary-foreground transition-colors",children:a.label},a.href))}),O.jsx("div",{className:"flex items-center gap-4",children:u2.map(({icon:a,href:l,label:s})=>O.jsx("a",{href:l,target:"_blank",rel:"noopener noreferrer","aria-label":s,className:"text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:O.jsx(a,{className:"h-5 w-5"})},s))})]}),O.jsx("div",{className:"border-t border-primary-foreground/20 pt-8 text-center",children:O.jsx("p",{className:"text-sm text-primary-foreground/60",children:"© 2025 Changing the Focus. All rights reserved."})})]})})}function $0(n){var a,l,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n)){var o=n.length;for(a=0;a<o;a++)n[a]&&(l=$0(n[a]))&&(s&&(s+=" "),s+=l)}else for(l in n)n[l]&&(s&&(s+=" "),s+=l);return s}function W0(){for(var n,a,l=0,s="",o=arguments.length;l<o;l++)(n=arguments[l])&&(a=$0(n))&&(s&&(s+=" "),s+=a);return s}const Kg=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Qg=W0,f2=(n,a)=>l=>{var s;if((a==null?void 0:a.variants)==null)return Qg(n,l==null?void 0:l.class,l==null?void 0:l.className);const{variants:o,defaultVariants:c}=a,d=Object.keys(o).map(m=>{const g=l==null?void 0:l[m],v=c==null?void 0:c[m];if(g===null)return null;const b=Kg(g)||Kg(v);return o[m][b]}),h=l&&Object.entries(l).reduce((m,g)=>{let[v,b]=g;return b===void 0||(m[v]=b),m},{}),p=a==null||(s=a.compoundVariants)===null||s===void 0?void 0:s.reduce((m,g)=>{let{class:v,className:b,...S}=g;return Object.entries(S).every(C=>{let[z,R]=C;return Array.isArray(R)?R.includes({...c,...h}[z]):{...c,...h}[z]===R})?[...m,v,b]:m},[]);return Qg(n,d,p,l==null?void 0:l.class,l==null?void 0:l.className)},qd="-",d2=n=>{const a=m2(n),{conflictingClassGroups:l,conflictingClassGroupModifiers:s}=n;return{getClassGroupId:d=>{const h=d.split(qd);return h[0]===""&&h.length!==1&&h.shift(),I0(h,a)||h2(d)},getConflictingClassGroupIds:(d,h)=>{const p=l[d]||[];return h&&s[d]?[...p,...s[d]]:p}}},I0=(n,a)=>{var d;if(n.length===0)return a.classGroupId;const l=n[0],s=a.nextPart.get(l),o=s?I0(n.slice(1),s):void 0;if(o)return o;if(a.validators.length===0)return;const c=n.join(qd);return(d=a.validators.find(({validator:h})=>h(c)))==null?void 0:d.classGroupId},Fg=/^\[(.+)\]$/,h2=n=>{if(Fg.test(n)){const a=Fg.exec(n)[1],l=a==null?void 0:a.substring(0,a.indexOf(":"));if(l)return"arbitrary.."+l}},m2=n=>{const{theme:a,prefix:l}=n,s={nextPart:new Map,validators:[]};return y2(Object.entries(n.classGroups),l).forEach(([c,d])=>{rd(d,s,c,a)}),s},rd=(n,a,l,s)=>{n.forEach(o=>{if(typeof o=="string"){const c=o===""?a:Zg(a,o);c.classGroupId=l;return}if(typeof o=="function"){if(p2(o)){rd(o(s),a,l,s);return}a.validators.push({validator:o,classGroupId:l});return}Object.entries(o).forEach(([c,d])=>{rd(d,Zg(a,c),l,s)})})},Zg=(n,a)=>{let l=n;return a.split(qd).forEach(s=>{l.nextPart.has(s)||l.nextPart.set(s,{nextPart:new Map,validators:[]}),l=l.nextPart.get(s)}),l},p2=n=>n.isThemeGetter,y2=(n,a)=>a?n.map(([l,s])=>{const o=s.map(c=>typeof c=="string"?a+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([d,h])=>[a+d,h])):c);return[l,o]}):n,g2=n=>{if(n<1)return{get:()=>{},set:()=>{}};let a=0,l=new Map,s=new Map;const o=(c,d)=>{l.set(c,d),a++,a>n&&(a=0,s=l,l=new Map)};return{get(c){let d=l.get(c);if(d!==void 0)return d;if((d=s.get(c))!==void 0)return o(c,d),d},set(c,d){l.has(c)?l.set(c,d):o(c,d)}}},eb="!",v2=n=>{const{separator:a,experimentalParseClassName:l}=n,s=a.length===1,o=a[0],c=a.length,d=h=>{const p=[];let m=0,g=0,v;for(let R=0;R<h.length;R++){let B=h[R];if(m===0){if(B===o&&(s||h.slice(R,R+c)===a)){p.push(h.slice(g,R)),g=R+c;continue}if(B==="/"){v=R;continue}}B==="["?m++:B==="]"&&m--}const b=p.length===0?h:h.substring(g),S=b.startsWith(eb),C=S?b.substring(1):b,z=v&&v>g?v-g:void 0;return{modifiers:p,hasImportantModifier:S,baseClassName:C,maybePostfixModifierPosition:z}};return l?h=>l({className:h,parseClassName:d}):d},b2=n=>{if(n.length<=1)return n;const a=[];let l=[];return n.forEach(s=>{s[0]==="["?(a.push(...l.sort(),s),l=[]):l.push(s)}),a.push(...l.sort()),a},x2=n=>({cache:g2(n.cacheSize),parseClassName:v2(n),...d2(n)}),S2=/\s+/,T2=(n,a)=>{const{parseClassName:l,getClassGroupId:s,getConflictingClassGroupIds:o}=a,c=[],d=n.trim().split(S2);let h="";for(let p=d.length-1;p>=0;p-=1){const m=d[p],{modifiers:g,hasImportantModifier:v,baseClassName:b,maybePostfixModifierPosition:S}=l(m);let C=!!S,z=s(C?b.substring(0,S):b);if(!z){if(!C){h=m+(h.length>0?" "+h:h);continue}if(z=s(b),!z){h=m+(h.length>0?" "+h:h);continue}C=!1}const R=b2(g).join(":"),B=v?R+eb:R,k=B+z;if(c.includes(k))continue;c.push(k);const H=o(z,C);for(let P=0;P<H.length;++P){const Q=H[P];c.push(B+Q)}h=m+(h.length>0?" "+h:h)}return h};function w2(){let n=0,a,l,s="";for(;n<arguments.length;)(a=arguments[n++])&&(l=tb(a))&&(s&&(s+=" "),s+=l);return s}const tb=n=>{if(typeof n=="string")return n;let a,l="";for(let s=0;s<n.length;s++)n[s]&&(a=tb(n[s]))&&(l&&(l+=" "),l+=a);return l};function E2(n,...a){let l,s,o,c=d;function d(p){const m=a.reduce((g,v)=>v(g),n());return l=x2(m),s=l.cache.get,o=l.cache.set,c=h,h(p)}function h(p){const m=s(p);if(m)return m;const g=T2(p,l);return o(p,g),g}return function(){return c(w2.apply(null,arguments))}}const We=n=>{const a=l=>l[n]||[];return a.isThemeGetter=!0,a},nb=/^\[(?:([a-z-]+):)?(.+)\]$/i,A2=/^\d+\/\d+$/,M2=new Set(["px","full","screen"]),C2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,R2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,D2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,z2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,O2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ya=n=>Rl(n)||M2.has(n)||A2.test(n),Ja=n=>jl(n,"length",H2),Rl=n=>!!n&&!Number.isNaN(Number(n)),Lf=n=>jl(n,"number",Rl),Vr=n=>!!n&&Number.isInteger(Number(n)),j2=n=>n.endsWith("%")&&Rl(n.slice(0,-1)),Se=n=>nb.test(n),$a=n=>C2.test(n),N2=new Set(["length","size","percentage"]),L2=n=>jl(n,N2,ab),V2=n=>jl(n,"position",ab),U2=new Set(["image","url"]),B2=n=>jl(n,U2,Y2),_2=n=>jl(n,"",k2),Ur=()=>!0,jl=(n,a,l)=>{const s=nb.exec(n);return s?s[1]?typeof a=="string"?s[1]===a:a.has(s[1]):l(s[2]):!1},H2=n=>R2.test(n)&&!D2.test(n),ab=()=>!1,k2=n=>z2.test(n),Y2=n=>O2.test(n),q2=()=>{const n=We("colors"),a=We("spacing"),l=We("blur"),s=We("brightness"),o=We("borderColor"),c=We("borderRadius"),d=We("borderSpacing"),h=We("borderWidth"),p=We("contrast"),m=We("grayscale"),g=We("hueRotate"),v=We("invert"),b=We("gap"),S=We("gradientColorStops"),C=We("gradientColorStopPositions"),z=We("inset"),R=We("margin"),B=We("opacity"),k=We("padding"),H=We("saturate"),P=We("scale"),Q=We("sepia"),I=We("skew"),fe=We("space"),M=We("translate"),de=()=>["auto","contain","none"],se=()=>["auto","hidden","clip","visible","scroll"],Ne=()=>["auto",Se,a],ee=()=>[Se,a],et=()=>["",ya,Ja],we=()=>["auto",Rl,Se],Re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],J=()=>["start","end","center","between","around","evenly","stretch"],te=()=>["","0",Se],he=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ge=()=>[Rl,Se];return{cacheSize:500,separator:":",theme:{colors:[Ur],spacing:[ya,Ja],blur:["none","",$a,Se],brightness:ge(),borderColor:[n],borderRadius:["n
vendor: 5,180 bytes, line 113
113one","","full",$a,Se],borderSpacing:ee(),borderWidth:et(),contrast:ge(),grayscale:te(),hueRotate:ge(),invert:te(),gap:ee(),gradientColorStops:[n],gradientColorStopPositions:[j2,Ja],inset:Ne(),margin:Ne(),opacity:ge(),padding:ee(),saturate:ge(),scale:ge(),sepia:te(),skew:ge(),space:ee(),translate:ee()},classGroups:{aspect:[{aspect:["auto","square","video",Se]}],container:["container"],columns:[{columns:[$a]}],"break-after":[{"break-after":he()}],"break-before":[{"break-before":he()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Re(),Se]}],overflow:[{overflow:se()}],"overflow-x":[{"overflow-x":se()}],"overflow-y":[{"overflow-y":se()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-y":[{"overscroll-y":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[z]}],"inset-x":[{"inset-x":[z]}],"inset-y":[{"inset-y":[z]}],start:[{start:[z]}],end:[{end:[z]}],top:[{top:[z]}],right:[{right:[z]}],bottom:[{bottom:[z]}],left:[{left:[z]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Vr,Se]}],basis:[{basis:Ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Se]}],grow:[{grow:te()}],shrink:[{shrink:te()}],order:[{order:["first","last","none",Vr,Se]}],"grid-cols":[{"grid-cols":[Ur]}],"col-start-end":[{col:["auto",{span:["full",Vr,Se]},Se]}],"col-start":[{"col-start":we()}],"col-end":[{"col-end":we()}],"grid-rows":[{"grid-rows":[Ur]}],"row-start-end":[{row:["auto",{span:[Vr,Se]},Se]}],"row-start":[{"row-start":we()}],"row-end":[{"row-end":we()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Se]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Se]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[R]}],mx:[{mx:[R]}],my:[{my:[R]}],ms:[{ms:[R]}],me:[{me:[R]}],mt:[{mt:[R]}],mr:[{mr:[R]}],mb:[{mb:[R]}],ml:[{ml:[R]}],"space-x":[{"space-x":[fe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[fe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Se,a]}],"min-w":[{"min-w":[Se,a,"min","max","fit"]}],"max-w":[{"max-w":[Se,a,"none","full","min","max","fit","prose",{screen:[$a]},$a]}],h:[{h:[Se,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Se,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Se,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Se,a,"auto","min","max","fit"]}],"font-size":[{text:["base",$a,Ja]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Lf]}],"font-family":[{font:[Ur]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Se]}],"line-clamp":[{"line-clamp":["none",Rl,Lf]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ya,Se]}],"list-image":[{"list-image":["none",Se]}],"list-style-type":[{list:["none","disc","decimal",Se]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[B]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"w
113avy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ya,Ja]}],"underline-offset":[{"underline-offset":["auto",ya,Se]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ee()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Se]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[B]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Re(),V2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",L2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},B2]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[c]}],"rounded-s":[{"rounded-s":[c]}],"rounded-e":[{"rounded-e":[c]}],"rounded-t":[{"rounded-t":[c]}],"rounded-r":[{"rounded-r":[c]}],"rounded-b":[{"rounded-b":[c]}],"rounded-l":[{"rounded-l":[c]}],"rounded-ss":[{"rounded-ss":[c]}],"rounded-se":[{"rounded-se":[c]}],"rounded-ee":[{"rounded-ee":[c]}],"rounded-es":[{"rounded-es":[c]}],"rounded-tl":[{"rounded-tl":[c]}],"rounded-tr":[{"rounded-tr":[c]}],"rounded-br":[{"rounded-br":[c]}],"rounded-bl":[{"rounded-bl":[c]}],"border-w":[{border:[h]}],"border-w-x":[{"border-x":[h]}],"border-w-y":[{"border-y":[h]}],"border-w-s":[{"border-s":[h]}],"border-w-e":[{"border-e":[h]}],"border-w-t":[{"border-t":[h]}],"border-w-r":[{"border-r":[h]}],"border-w-b":[{"border-b":[h]}],"border-w-l":[{"border-l":[h]}],"border-opacity":[{"border-opacity":[B]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[h]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[h]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[B]}],"divide-style":[{divide:_()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[ya,Se]}],"outline-w":[{outline:[ya,Ja]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:et()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[B]}],"ring-offset-w":[{"ring-offset":[ya,Ja]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",$a,_2]}],"shadow-color":[{shadow:[Ur]}],opacity:[{opacity:[B]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[l]}],brightness:[{brightness:[s]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",$a,Se]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[v]}],saturate:[{saturate:[H]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[l]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[B]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Se]}],duration:[{duration:ge()}],ease:[{ease:["linear","in","out","in-out",Se]}],delay:[{delay:ge()}],animate:[{animate:["none","spin","ping","pulse","bounce",Se]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[Vr,Se]}],"translate-x":[{"translate-x":[M]}],"translate-y":[{"translate-y":[M]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Se]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","
113none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Se]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ee()}],"scroll-mx":[{"scroll-mx":ee()}],"scroll-my":[{"scroll-my":ee()}],"scroll-ms":[{"scroll-ms":ee()}],"scroll-me":[{"scroll-me":ee()}],"scroll-mt":[{"scroll-mt":ee()}],"scroll-mr":[{"scroll-mr":ee()}],"scroll-mb":[{"scroll-mb":ee()}],"scroll-ml":[{"scroll-ml":ee()}],"scroll-p":[{"scroll-p":ee()}],"scroll-px":[{"scroll-px":ee()}],"scroll-py":[{"scroll-py":ee()}],"scroll-ps":[{"scroll-ps":ee()}],"scroll-pe":[{"scroll-pe":ee()}],"scroll-pt":[{"scroll-pt":ee()}],"scroll-pr":[{"scroll-pr":ee()}],"scroll-pb":[{"scroll-pb":ee()}],"scroll-pl":[{"scroll-pl":ee()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Se]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[ya,Ja,Lf]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},G2=E2(q2);function iu(...n){return G2(W0(n))}const X2=f2("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),va=E.forwardRef(({className:n,variant:a,size:l,asChild:s=!1,...o},c)=>{const d=s?I1:"button";return O.jsx(d,{className:iu(X2({variant:a,size:l,className:n})),ref:c,...o})});va.displayName="Button";const Pg=[{label:"The Daily Six",href:"#daily-six"},{label:"About John",href:"#about"},{label:"Services",href:"#services"},{label:"Contact",href:"#contact"}];function K2(){const[n,a]=E.useState(!1),[l,s]=E.useState(!1);E.useEffect(()=>{const c=()=>s(window.scrollY>20);return window.addEventListener("scroll",c),()=>window.removeEventListener("scroll",c)},[]);const o=c=>{a(!1);const d=document.querySelector(c);if(d){const p=d.getBoundingClientRect().top+window.scrollY-80;window.scrollTo({top:p,behavior:"smooth"})}};return O.jsx("header",{className:`sticky top-0 z-50 w-full transition-all duration-300 ${l?"bg-white/95 backdrop-blur shadow-md":"bg-white border-b border-border"}`,children:O.jsxs("div",{className:"container mx-auto px-6",children:[O.jsxs("div",{className:"flex h-20 items-center justify-between",children:[O.jsx("a",{href:"#",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:O.jsx("img",{src:"/airo-assets/images/layouts/header/changing-the-focus",alt:"Changing the Focus",className:"h-12 w-auto"})}),O.jsxs("nav",{className:"hidden md:flex items-center gap-8",children:[Pg.map(c=>O.jsx("button",{onClick:()=>o(c.href),className:"text-sm font-medium text-foreground hover:text-primary transition-colors",children:c.label},c.href)),O.jsx(va,{onClick:()=>o("#contact"),className:"bg-accent hover:bg-accent/90 text-accent-foreground",children:"Work with Me!"})]}),O.jsx("button",{className:"md:hidden p-2 text-foreground",onClick:()=>a(!n),"aria-label":"Toggle menu",children:n?O.jsx(r2,{className:"h-6 w-6"}):O.jsx(l2,{className:"h-6 w-6"})})]}),n&&O.jsxs("div",{className:"md:hidden py-4 border-t border-border flex flex-col gap-4",children:[Pg.map(c=>O.jsx("button",{onClick:()=>o(c.href),className:"text-sm font-medium text-foreground hover:text-primary transition-colors text-left",children:c.label},c.href)),O.jsx(va,{onClick:()=>o("#contact"),className:"bg-accent hover:bg-accent/90 text-accent-foreground w-full",children:"Work with Me!"})]})]})})}function Q2({children:n,config:a={},className:l}){const{layout:s={maxWidth:"full",padding:"md",background:"default",minHeight:!0}}=a,o=()=>{switch(s.background){case"muted":return"bg-muted";case"gradient":return"bg-gradient-to-b from-background to-muted/20";default:return"bg-background"}};return O.jsx("div",{className:iu(s.minHeight!==!1&&"min-h-screen",o(),"flex flex-col",l),children:n})}function F2({children:n}){return O.jsxs(Q2,{children:[O.jsxs(ST,{children:[O.jsx("title",{children:"App Template"}),O.jsx("meta",{name:"description",content:"App Template"})]}),O.jsx(Z0,{}),O.jsx(K2,{}),n,O.jsx(c2,{})]})}function Z2({className:n}){return O.jsx("div",{className:`inline-block ${n||""}`,children:O.jsxs("svg",{className:"animate-spin h-8 w-8 text-gray-600",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[O.jsx("circle",{className:"opacity-10",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),O.jsx("path",{className:"opacity-20",fill:"currentColor",d:"m4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})}const ib=E.createContext({});function P2(n){const a=E.useRef(null);return a.current===null&&(a.current=n()),a.current}const lb=typeof window<"u",J2=lb?E.useLayoutEffect:E.useEffect,Gd=E.createContext(null);function Xd(n,a){n.indexOf(a)===-1&&n.push(a)}function Kd(n,a){const l=n.indexOf(a);l>-1&&n.splice(l,1)}const qn=(n,a,l)=>l>a?a:l<n?n:l;let Qd=()=>{};const Sa={},rb=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);
vendor: 27,083 bytes, line 113
113function sb(n){return typeof n=="object"&&n!==null}const ob=n=>/^0[^.\s]+$/u.test(n);function Fd(n){let a;return()=>(a===void 0&&(a=n()),a)}const Tn=n=>n,$2=(n,a)=>l=>a(n(l)),rs=(...n)=>n.reduce($2),$r=(n,a,l)=>{const s=a-n;return s===0?1:(l-n)/s};class Zd{constructor(){this.subscriptions=[]}add(a){return Xd(this.subscriptions,a),()=>Kd(this.subscriptions,a)}notify(a,l,s){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](a,l,s);else for(let c=0;c<o;c++){const d=this.subscriptions[c];d&&d(a,l,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const xa=n=>n*1e3,Sn=n=>n/1e3;function ub(n,a){return a?n*(1e3/a):0}const cb=(n,a,l)=>(((1-3*l+3*a)*n+(3*l-6*a))*n+3*a)*n,W2=1e-7,I2=12;function eA(n,a,l,s,o){let c,d,h=0;do d=a+(l-a)/2,c=cb(d,s,o)-n,c>0?l=d:a=d;while(Math.abs(c)>W2&&++h<I2);return d}function ss(n,a,l,s){if(n===a&&l===s)return Tn;const o=c=>eA(c,0,1,n,l);return c=>c===0||c===1?c:cb(o(c),a,s)}const fb=n=>a=>a<=.5?n(2*a)/2:(2-n(2*(1-a)))/2,db=n=>a=>1-n(1-a),hb=ss(.33,1.53,.69,.99),Pd=db(hb),mb=fb(Pd),pb=n=>(n*=2)<1?.5*Pd(n):.5*(2-Math.pow(2,-10*(n-1))),Jd=n=>1-Math.sin(Math.acos(n)),yb=db(Jd),gb=fb(Jd),tA=ss(.42,0,1,1),nA=ss(0,0,.58,1),vb=ss(.42,0,.58,1),aA=n=>Array.isArray(n)&&typeof n[0]!="number",bb=n=>Array.isArray(n)&&typeof n[0]=="number",iA={linear:Tn,easeIn:tA,easeInOut:vb,easeOut:nA,circIn:Jd,circInOut:gb,circOut:yb,backIn:Pd,backInOut:mb,backOut:hb,anticipate:pb},lA=n=>typeof n=="string",Jg=n=>{if(bb(n)){Qd(n.length===4);const[a,l,s,o]=n;return ss(a,l,s,o)}else if(lA(n))return iA[n];return n},No=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function rA(n,a){let l=new Set,s=new Set,o=!1,c=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function p(g){d.has(g)&&(m.schedule(g),n()),g(h)}const m={schedule:(g,v=!1,b=!1)=>{const C=b&&o?l:s;return v&&d.add(g),C.has(g)||C.add(g),g},cancel:g=>{s.delete(g),d.delete(g)},process:g=>{if(h=g,o){c=!0;return}o=!0,[l,s]=[s,l],l.forEach(p),l.clear(),o=!1,c&&(c=!1,m.process(g))}};return m}const sA=40;function xb(n,a){let l=!1,s=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>l=!0,d=No.reduce((H,P)=>(H[P]=rA(c),H),{}),{setup:h,read:p,resolveKeyframes:m,preUpdate:g,update:v,preRender:b,render:S,postRender:C}=d,z=()=>{const H=Sa.useManualTiming?o.timestamp:performance.now();l=!1,Sa.useManualTiming||(o.delta=s?1e3/60:Math.max(Math.min(H-o.timestamp,sA),1)),o.timestamp=H,o.isProcessing=!0,h.process(o),p.process(o),m.process(o),g.process(o),v.process(o),b.process(o),S.process(o),C.process(o),o.isProcessing=!1,l&&a&&(s=!1,n(z))},R=()=>{l=!0,s=!0,o.isProcessing||n(z)};return{schedule:No.reduce((H,P)=>{const Q=d[P];return H[P]=(I,fe=!1,M=!1)=>(l||R(),Q.schedule(I,fe,M)),H},{}),cancel:H=>{for(let P=0;P<No.length;P++)d[No[P]].cancel(H)},state:o,steps:d}}const{schedule:Ie,cancel:ai,state:zt,steps:Vf}=xb(typeof requestAnimationFrame<"u"?requestAnimationFrame:Tn,!0);let Ho;function oA(){Ho=void 0}const Ht={now:()=>(Ho===void 0&&Ht.set(zt.isProcessing||Sa.useManualTiming?zt.timestamp:performance.now()),Ho),set:n=>{Ho=n,queueMicrotask(oA)}},Sb=n=>a=>typeof a=="string"&&a.startsWith(n),Tb=Sb("--"),uA=Sb("var(--"),$d=n=>uA(n)?cA.test(n.split("/*")[0].trim()):!1,cA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function $g(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const Nl={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Wr={...Nl,transform:n=>qn(0,1,n)},Lo={...Nl,default:1},Gr=n=>Math.round(n*1e5)/1e5,Wd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function fA(n){return n==null}const dA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Id=(n,a)=>l=>!!(typeof l=="string"&&dA.test(l)&&l.startsWith(n)||a&&!fA(l)&&Object.prototype.hasOwnProperty.call(l,a)),wb=(n,a,l)=>s=>{if(typeof s!="string")return s;const[o,c,d,h]=s.match(Wd);return{[n]:parseFloat(o),[a]:parseFloat(c),[l]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},hA=n=>qn(0,255,n),Uf={...Nl,transform:n=>Math.round(hA(n))},Di={test:Id("rgb","red"),parse:wb("red","green","blue"),transform:({red:n,green:a,blue:l,alpha:s=1})=>"rgba("+Uf.transform(n)+", "+Uf.transform(a)+", "+Uf.transform(l)+", "+Gr(Wr.transform(s))+")"};function mA(n){let a="",l="",s="",o="";return n.length>5?(a=n.substring(1,3),l=n.substring(3,5),s=n.substring(5,7),o=n.substring(7,9)):(a=n.substring(1,2),l=n.substring(2,3),s=n.substring(3,4),o=n.substring(4,5),a+=a,l+=l,s+=s,o+=o),{red:parseInt(a,16),green:parseInt(l,16),blue:parseInt(s,16),alpha:o?parseInt(o,16)/255:1}}const sd={test:Id("#"),parse:mA,transform:Di.transform},os=n=>({test:a=>typeof a=="string"&&a.endsWith(n)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${n}`}),Wa=os("deg"),kn=os("%"),re=os("px"),pA=os("vh"),yA=os("vw"),Wg={...kn,parse:n=>kn.parse(n)/100,transform:n=>kn.transform(n*100)},Tl={test:Id("hsl","hue"),parse:wb("hue","saturation","lightness"),transform:({hue:n,saturation:a,lightness:l,alpha:s=1})=>"hsla("+Math.round(n)+", "+kn.transform(Gr(a))+", "+kn.transform(Gr(l))+", "+Gr(Wr.transform(s))+")"},bt={test:n=>Di.test(n)||sd.test(n)||Tl.test(n),parse:n=>Di.test(n)?Di.parse(n):Tl.test(n)?Tl.parse(n):sd.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Di.transform(n):Tl.transform(n),getAnimatableNone:n=>{const a=bt.parse(n);return a.alpha=0,bt.transform(a)}},gA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function vA(n){var a,l;return isNaN(n)&&typeof n=="string"&&(((a=n.match(Wd))==null?void 0:a.length)||0)+(((l=n.match(gA))==null?void 0:l.length)||0)>0}const Eb="number",Ab="color",bA="var",xA="var(",Ig="${}",SA=/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 Ir(n){const a=n.toString(),l=[],s={color:[],number:[],var:[]},o=[];let c=0;const h=a.replace(SA,p=>(bt.test(p)?(s.color.push(c),o.push(Ab),l.push(bt.parse(p))):p.startsWith(xA)?(s.var.push(c),o.push(bA),l.push(p)):(s.number.push(c),o.push(Eb),l.push(parseFloat(p))),++c,Ig)).split(Ig);return{values:l,split:h,indexes:s,types:o}}function Mb(n){return Ir(n).values}function Cb(n){const{split:a,types:l}=Ir(n),s=a.length;return o=>{let c="";for(let d=0;d<s;d++)if(c+=a[d],o[d]!==void 0){const h=l[d];h===Eb?c+=Gr(o[d]):h===Ab?c+=bt.transform(o[d]):c+=o[d]}return c}}const TA=n=>typeof n=="number"?0:bt.test(n)?bt.getAnimatableNone(n):n;function wA(n){const a=Mb(n);return Cb(n)(a.map(TA))}const ii={test:vA,parse:Mb,createTransformer:Cb,getAnimatableNone:wA};function Bf(n,a,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?n+(a-n)*6*l:l<1/2?a:l<2/3?n+(a-n)*(2/3-l)*6:n}function EA({hue:n,saturation:a,lightness:l,alpha:s}){n/=360,a/=100,l/=100;let o=0,c=0,d=0;if(!a)o=c=d=l;else{const h=l<.5?l*(1+a):l+a-l*a,p=2*l-h;o=Bf(p,h,n+1/3),c=Bf(p,h,n),d=Bf(p,h,n-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(d*255),alpha:s}}function Fo(n,a){return l=>l>0?a:n}const at=(n,a,l)=>n+(a-n)*l,_f=(n,a,l)=>{const s=n*n,o=l*(a*a-s)+s;return o<0?0:Math.sqrt(o)},AA=[sd,Di,Tl],MA=n=>AA.find(a=>a.test(n));function ev(n){const a=MA(n);if(!a)return!1;let l=a.parse(n);return a===Tl&&(l=EA(l)),l}const tv=(n,a)=>{const l=ev(n),s=ev(a);if(!l||!s)return Fo(n,a);const o={...l};return c=>(o.red=_f(l.red,s.red,c),o.green=_f(l.green,s.green,c),o.blue=_f(l.blue,s.blue,c),o.alpha=at(l.alpha,s.alpha,c),Di.transform(o))},od=new Set(["none","hidden"]);function CA(n,a){return od.has(n)?l=>l<=0?n:a:l=>l>=1?a:n}function RA(n,a){return l=>at(n,a,l)}function eh(n){return typeof n=="number"?RA:typeof n=="string"?$d(n)?Fo:bt.test(n)?tv:OA:Array.isArray(n)?Rb:typeof n=="object"?bt.test(n)?tv:DA:Fo}function Rb(n,a){const l=[...n],s=l.length,o=n.map((c,d)=>eh(c)(c,a[d]));return c=>{for(let d=0;d<s;d++)l[d]=o[d](c);return l}}function DA(n,a){const l={...n,...a},s={};for(const o in l)n[o]!==void 0&&a[o]!==void 0&&(s[o]=eh(n[o])(n[o],a[o]));return o=>{for(const c in s)l[c]=s[c](o);return l}}function zA(n,a){const l=[],s={color:0,var:0,number:0};for(let o=0;o<a.values.length;o++){const c=a.types[o],d=n.indexes[c][s[c]],h=n.values[d]??0;l[o]=h,s[c]++}return l}const OA=(n,a)=>{const l=ii.createTransformer(a),s=Ir(n),o=Ir(a);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?od.has(n)&&!o.values.length||od.has(a)&&!s.values.length?CA(n,a):rs(Rb(zA(s,o),o.values),l):Fo(n,a)};function Db(n,a,l){return typeof n=="number"&&typeof a=="number"&&typeof l=="number"?at(n,a,l):eh(n)(n,a)}const jA=n=>{const a=({timestamp:l})=>n(l);return{start:(l=!0)=>Ie.update(a,l),stop:()=>ai(a),now:()=>zt.isProcessing?zt.timestamp:Ht.now()}},zb=(n,a,l=10)=>{let s="";const o=Math.max(Math.round(a/l),2);for(let c=0;c<o;c++)s+=Math.round(n(c/(o-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},Zo=2e4;function th(n){let a=0;const l=50;let s=n.next(a);for(;!s.done&&a<Zo;)a+=l,s=n.next(a);return a>=Zo?1/0:a}function NA(n,a=100,l){const s=l({...n,keyframes:[0,a]}),o=Math.min(th(s),Zo);return{type:"keyframes",ease:c=>s.next(o*c).value/a,duration:Sn(o)}}const LA=5;function Ob(n,a,l){const s=Math.max(a-LA,0);return ub(l-n(s),a-s)}const ot={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},Hf=.001;function VA({duration:n=ot.duration,bounce:a=ot.bounce,velocity:l=ot.velocity,mass:s=ot.mass}){let o,c,d=1-a;d=qn(ot.minDamping,ot.maxDamping,d),n=qn(ot.minDuration,ot.maxDuration,Sn(n)),d<1?(o=m=>{const g=m*d,v=g*n,b=g-l,S=ud(m,d),C=Math.exp(-v);return Hf-b/S*C},c=m=>{const v=m*d*n,b=v*l+l,S=Math.pow(d,2)*Math.pow(m,2)*n,C=Math.exp(-v),z=ud(Math.pow(m,2),d);return(-o(m)+Hf>0?-1:1)*((b-S)*C)/z}):(o=m=>{const g=Math.exp(-m*n),v=(m-l)*n+1;return-Hf+g*v},c=m=>{const g=Math.exp(-m*n),v=(l-m)*(n*n);return g*v});const h=5/n,p=BA(o,c,h);if(n=xa(n),isNaN(p))return{stiffness:ot.stiffness,damping:ot.damping,duration:n};{const m=Math.pow(p,2)*s;return{stiffness:m,damping:d*2*Math.sqrt(s*m),duration:n}}}const UA=12;function BA(n,a,l){let s=l;for(let o=1;o<UA;o++)s=s-n(s)/a(s);return s}function ud(n,a){return n*Math.sqrt(1-a*a)}const _A=["duration","bounce"],HA=["stiffness","damping","mass"];function nv(n,a){return a.some(l=>n[l]!==void 0)}function kA(n){let a={velocity:ot.velocity,stiffness:ot.stiffness,damping:ot.damping,mass:ot.mass,isResolvedFromDuration:!1,...n};if(!nv(n,HA)&&nv(n,_A))if(n.visualDuration){const l=n.visualDuration,s=2*Math.PI/(l*1.2),o=s*s,c=2*qn(.05,1,1-(n.bounce||0))*Math.sqrt(o);a={...a,mass:ot.mass,stiffness:o,damping:c}}else{const l=VA(n);a={...a,...l,mass:ot.mass},a.isResolvedFromDuration=!0}return a}function Po(n=ot.visualDuration,a=ot.bounce){const l=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:a}:n;let{restSpeed:s,restDelta:o}=l;const c=l.keyframes[0],d=l.keyframes[l.keyframes.length-1],h={done:!1,value:c},{stiffness:p,damping:m,mass:g,duration:v,velocity:b,isResolvedFromDuration:S}=kA({...l,velocity:-Sn(l.velocity||0)}),C=b||0,z=m/(2*Math.sqrt(p*g)),R=d-c,B=Sn(Math.sqrt(p/g)),k=Math.abs(R)<5;s||(s=k?ot.restSpeed.granular:ot.restSpeed.default),o||(o=k?ot.restDelta.granular:ot.restDelta.default);let H;if(z<1){const Q=ud(B,z);H=I=>{const fe=Math.exp(-z*B*I);return d-fe*((C+z*B*R)/Q*Math.sin(Q*I)+R*Math.cos(Q*I))}}else if(z===1)H=Q=>d-Math.exp(-B*Q)*(R+(C+B*R)*Q);else{const Q=B*Math.sqrt(z*z-1);H=I=>{const fe=Math.exp(-z*B*I),M=Math.min(Q*I,300);return d-fe*((C+z*B*R)*Math.sinh(M)+Q*R*Math.cosh(M))/Q}}const P={calculatedDuration:S&&v||null,next:Q=>{const I=H(Q);if(S)h.done=Q>=v;else{let fe=Q===0?C:0;z<1&&(fe=Q===0?xa(C):Ob(H,Q,I));const M=Math.abs(fe)<=s,de=Math.abs(d-I)<=o;h.done=M&&de}return h.value=h.done?d:I,h},toString:()=>{const Q=Math.min(th(P),Zo),I=zb(fe=>P.next(Q*fe).value,Q,30);return Q+"ms "+I},toTransition:()=>{}};return P}Po.applyToOptions=n=>{const a=NA(n,100,Po);return n.ease=a.ease,n.duration=xa(a.duration),n.type="keyframes",n};function cd({keyframes:n,velocity:a=0,power:l=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:d,min:h,max:p,restDelta:m=.5,restSpeed:g}){const v=n[0],b={done:!1,value:v},S=M=>h!==void 0&&M<h||p!==void 0&&M>p,C=M=>h===void 0?p:p===void 0||Math.abs(h-M)<Math.abs(p-M)?h:p;let z=l*a;const R=v+z,B=d===void 0?R:d(R);B!==R&&(z=B-v);const k=M=>-z*Math.exp(-M/s),H=M=>B+k(M),P=M=>{const de=k(M),se=H(M);b.done=Math.abs(de)<=m,b.value=b.done?B:se};let Q,I;const fe=M=>{S(b.value)&&(Q=M,I=Po({keyframes:[b.value,C(b.value)],velocity:Ob(H,M,b.value),damping:o,stiffness:c,restDelta:m,restSpeed:g}))};return fe(0),{calculatedDuration:null,next:M=>{let de=!1;return!I&&Q===void 0&&(de=!0,P(M),fe(M)),Q!==void 0&&M>=Q?I.next(M-Q):(!de&&P(M),b)}}}function YA(n,a,l){const s=[],o=l||Sa.mix||Db,c=n.length-1;for(let d=0;d<c;d++){let h=o(n[d],n[d+1]);if(a){const p=Array.isArray(a)?a[d]||Tn:a;h=rs(p,h)}s.push(h)}return s}function qA(n,a,{clamp:l=!0,ease:s,mixer:o}={}){const c=n.length;if(Qd(c===a.length),c===1)return()=>a[0];if(c===2&&a[0]===a[1])return()=>a[1];const d=n[0]===n[1];n[0]>n[c-1]&&(n=[...n].reverse(),a=[...a].reverse());const h=YA(a,s,o),p=h.length,m=g=>{if(d&&g<n[0])return a[0];let v=0;if(p>1)for(;v<n.length-2&&!(g<n[v+1]);v++);const b=$r(n[v],n[v+1],g);return h[v](b)};return l?g=>m(qn(n[0],n[c-1],g)):m}function GA(n,a){const l=n[n.length-1];for(let s=1;s<=a;s++){const o=$r(0,a,s);n.push(at(l,1,o))}}function XA(n){const a=[0];return GA(a,n.length-1),a}function KA(n,a){return n.map(l=>l*a)}function QA(n,a){return n.map(()=>a||vb).splice(0,n.length-1)}function Xr({duration:n=300,keyframes:a,times:l,ease:s="easeInOut"}){const o=aA(s)?s.map(Jg):Jg(s),c={done:!1,value:a[0]},d=KA(l&&l.length===a.length?l:XA(a),n),h=qA(d,a,{ease:Array.isArray(o)?o:QA(a,o)});return{calculatedDuration:n,next:p=>(c.value=h(p),c.done=p>=n,c)}}const FA=n=>n!==null;function nh(n,{repeat:a,repeatType:l="loop"},s,o=1){const c=n.filter(FA),h=o<0||a&&l!=="loop"&&a%2===1?0:c.length-1;return!h||s===void 0?c[h]:s}const ZA={decay:cd,inertia:cd,tween:Xr,keyframes:Xr,spring:Po};function jb(n){typeof n.type=="string"&&(n.type=ZA[n.type])}class ah{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,l){return this.finished.then(a,l)}}const PA=n=>n/100;class ih extends ah{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var s,o;const{motionValue:l}=this.options;l&&l.updatedAt!==Ht.now()&&this.tick(Ht.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(s=this.options).onStop)==null||o.call(s))},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;jb(a);const{type:l=Xr,repeat:s=0,repeatDelay:o=0,repeatType:c,velocity:d=0}=a;let{keyframes:h}=a;const p=l||Xr;p!==Xr&&typeof h[0]!="number"&&(this.mixKeyframes=rs(PA,Db(h[0],h[1])),h=[0,100]);const m=p({...a,keyframes:h});c==="mirror"&&(this.mirroredGenerator=p({...a,keyframes:[...h].reverse(),velocity:-d})),m.calculatedDuration===null&&(m.calculatedDuration=th(m));const{calculatedDuration:g}=m;this.calculatedDuration=g,this.resolvedDuration=g+o,this.totalDuration=this.resolvedDuration*(s+1)-o,this.generator=m}updateTime(a){const l=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=l}tick(a,l=!1){const{generator:s,totalDuration:o,mixKeyframes:c,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:p}=this;if(this.startTime===null)return s.next(0);const{delay:m=0,keyframes:g,repeat:v,repeatType:b,repeatDelay:S,type:C,onUpdate:z,finalKeyframe:R}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-o/this.speed,this.startTime)),l?this.currentTime=a:this.updateTime(a);const B=this.currentTime-m*(this.playbackSpeed>=0?1:-1),k=this.playbackSpeed>=0?B<0:B>o;this.currentTime=Math.max(B,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let H=this.currentTime,P=s;if(v){const M=Math.min(this.currentTime,o)/h;let de=Math.floor(M),se=M%1;!se&&M>=1&&(se=1),se===1&&de--,de=Math.min(de,v+1),!!(de%2)&&(b==="reverse"?(se=1-se,S&&(se-=S/h)):b==="mirror"&&(P=d)),H=qn(0,1,se)*h}const Q=k?{done:!1,value:g[0]}:P.next(H);c&&(Q.value=c(Q.value));let{done:I}=Q;!k&&p!==null&&(I=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const fe=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&I);return fe&&C!==cd&&(Q.value=nh(g,this.options,R,this.speed)),z&&z(Q.value),fe&&this.finish(),Q}then(a,l){return this.finished.then(a,l)}get duration(){return Sn(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+Sn(a)}get time(){return Sn(this.currentTime)}set time(a){var l;a=xa(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),(l=this.driver)==null||l.start(!1)}get speed(){return this.playbackSpeed}set speed(a){this.updateTime(Ht.now());const l=this.playbackSpeed!==a;this.playbackSpeed=a,l&&(this.time=Sn(this.currentTime))}play(){var o,c;if(this.isStopped)return;const{driver:a=jA,startTime:l}=this.options;this.driver||(this.driver=a(d=>this.tick(d))),(c=(o=this.options).onPlay)==null||c.call(o);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=l??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(Ht.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var a,l;this.notifyFinished(),this.teardown(),this.state="finished",(l=(a=this.options).onComplete)==null||l.call(a)}cancel(){var a,l;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(l=(a=this.options).onCancel)==null||l.call(a)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){var l;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(l=this.driver)==null||l.stop(),a.observe(this)}}function JA(n){for(let a=1;a<n.length;a++)n[a]??(n[a]=n[a-1])}const zi=n=>n*180/Math.PI,fd=n=>{const a=zi(Math.atan2(n[1],n[0]));return dd(a)},$A={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:fd,rotateZ:fd,skewX:n=>zi(Math.atan(n[1])),skewY:n=>zi(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},dd=n=>(n=n%360,n<0&&(n+=360),n),av=fd,iv=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),lv=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),WA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:iv,scaleY:lv,scale:n=>(iv(n)+lv(n))/2,rotateX:n=>dd(zi(Math.atan2(n[6],n[5]))),rotateY:n=>dd(zi(Math.atan2(-n[2],n[0]))),rotateZ:av,rotate:av,skewX:n=>zi(Math.atan(n[4])),skewY:n=>zi(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function hd(n){return n.includes("scale")?1:0}function md(n,a){if(!n||n==="none")return hd(a);const l=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,o;if(l)s=WA,o=l;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=$A,o=h}if(!o)return hd(a);const c=s[a],d=o[1].split(",").map(eM);return typeof c=="function"?c(d):d[c]}const IA=(n,a)=>{const{transform:l="none"}=getComputedStyle(n);return md(l,a)};function eM(n){return parseFloat(n.trim())}const Ll=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Vl=new Set(Ll),rv=n=>n===Nl||n===re,tM=new Set(["x","y","z"]),nM=Ll.filter(n=>!tM.has(n));function aM(n){const a=[];return nM.forEach(l=>{const s=n.getValue(l);s!==void 0&&(a.push([l,s.get()]),s.set(l.startsWith("scale")?1:0))}),a}const ni={width:({x:n},{paddingLeft:a="0",paddingRight:l="0"})=>n.max-n.min-parseFloat(a)-parseFloat(l),height:({y:n},{paddingTop:a="0",paddingBottom:l="0"})=>n.max-n.min-parseFloat(a)-parseFloat(l),top:(n,{top:a})=>parseFloat(a),left:(n,{left:a})=>parseFloat(a),bottom:({y:n},{top:a})=>parseFloat(a)+(n.max-n.min),right:({x:n},{left:a})=>parseFloat(a)+(n.max-n.min),x:(n,{transform:a})=>md(a,"x"),y:(n,{transform:a})=>md(a,"y")};ni.translateX=ni.x;ni.translateY=ni.y;const Oi=new Set;let pd=!1,yd=!1,gd=!1;function Nb(){if(yd){const n=Array.from(Oi).filter(s=>s.needsMeasurement),a=new Set(n.map(s=>s.element)),l=new Map;a.forEach(s=>{const o=aM(s);o.length&&(l.set(s,o),s.render())}),n.forEach(s=>s.measureInitialState()),a.forEach(s=>{s.render();const o=l.get(s);o&&o.forEach(([c,d])=>{var h;(h=s.getValue(c))==null||h.set(d)})}),n.forEach(s=>s.measureEndState()),n.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}yd=!1,pd=!1,Oi.forEach(n=>n.complete(gd)),Oi.clear()}function Lb(){Oi.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(yd=!0)})}function iM(){gd=!0,Lb(),Nb(),gd=!1}class lh{constructor(a,l,s,o,c,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=l,this.name=s,this.motionValue=o,this.element=c,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(Oi.add(this),pd||(pd=!0,Ie.read(Lb),Ie.resolveKeyframes(Nb))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:l,element:s,motionValue:o}=this;if(a[0]===null){const c=o==null?void 0:o.get(),d=a[a.length-1];if(c!==void 0)a[0]=c;else if(s&&l){const h=s.readValue(l,d);h!=null&&(a[0]=h)}a[0]===void 0&&(a[0]=d),o&&c===void 0&&o.set(a[0])}JA(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),Oi.delete(this)}cancel(){this.state==="scheduled"&&(Oi.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const lM=n=>n.startsWith("--");function rM(n,a,l){lM(a)?n.style.setProperty(a,l):n.style[a]=l}const sM=Fd(()=>window.ScrollTimeline!==void 0),oM={};function uM(n,a){const l=Fd(n);return()=>oM[a]??l()}const Vb=uM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),kr=([n,a,l,s])=>`cubic-bezier(${n}, ${a}, ${l}, ${s})`,sv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:kr([0,.65,.55,1]),circOut:kr([.55,0,1,.45]),backIn:kr([.31,.01,.66,-.59]),backOut:kr([.33,1.53,.69,.99])};function Ub(n,a){if(n)return typeof n=="function"?Vb()?zb(n,a):"ease-out":bb(n)?kr(n):Array.isArray(n)?n.map(l=>Ub(l,a)||sv.easeOut):sv[n]}function cM(n,a,l,{delay:s=0,duration:o=300,repeat:c=0,repeatType:d="loop",ease:h="easeOut",times:p}={},m=void 0){const g={[a]:l};p&&(g.offset=p);const v=Ub(h,o);Array.isArray(v)&&(g.easing=v);const b={delay:s,duration:o,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:c+1,direction:d==="reverse"?"alternate":"normal"};return m&&(b.pseudoElement=m),n.animate(g,b)}function Bb(n){return typeof n=="function"&&"applyToOptions"in n}function fM({type:n,...a}){return Bb(n)&&Vb()?n.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class dM extends ah{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:l,name:s,keyframes:o,pseudoElement:c,allowFlatten:d=!1,finalKeyframe:h,onComplete:p}=a;this.isPseudoElement=!!c,this.allowFlatten=d,this.options=a,Qd(typeof a.type!="string");const m=fM(a);this.animation=cM(l,s,o,m,c),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const g=nh(o,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(g):rM(l,s,g),this.animation.cancel()}p==null||p(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var a,l;(l=(a=this.animation).finish)==null||l.call(a)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var a,l;this.isPseudoElement||(l=(a=this.animation).commitStyles)==null||l.call(a)}get duration(){var l,s;const a=((s=(l=this.animation.effect)==null?void 0:l.getComputedTiming)==null?void 0:s.call(l).duration)||0;return Sn(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+Sn(a)}get time(){return Sn(Number(this.animation.currentTime)||0)}set time(a){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=xa(a)}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,observe:l}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,a&&sM()?(this.animation.timeline=a,Tn):l(this)}}const _b={anticipate:pb,backInOut:mb,circInOut:gb};function hM(n){return n in _b}function mM(n){typeof n.ease=="string"&&hM(n.ease)&&(n.ease=_b[n.ease])}const kf=10;class pM extends dM{constructor(a){mM(a),jb(a),super(a),a.startTime!==void 0&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:l,onUpdate:s,onComplete:o,element:c,...d}=this.options;if(!l)return;if(a!==void 0){l.set(a);return}const h=new ih({...d,autoplay:!1}),p=Math.max(kf,Ht.now()-this.startTime),m=qn(0,kf,p-kf);l.setWithVelocity(h.sample(Math.max(0,p-m)).value,h.sample(p).value,m),h.stop()}}const ov=(n,a)=>a==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(ii.test(n)||n==="0")&&!n.startsWith("url("));function yM(n){const a=n[0];if(n.length===1)return!0;for(let l=0;l<n.length;l++)if(n[l]!==a)return!0}function gM(n,a,l,s){const o=n[0];if(o===null)return!1;if(a==="display"||a==="visibility")return!0;const c=n[n.length-1],d=ov(o,a),h=ov(c,a);
113return!d||!h?!1:yM(n)||(l==="spring"||Bb(l))&&s}function vd(n){n.duration=0,n.type="keyframes"}const vM=new Set(["opacity","clipPath","filter","transform"]),bM=Fd(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function xM(n){var g;const{motionValue:a,name:l,repeatDelay:s,repeatType:o,damping:c,type:d}=n;if(!(((g=a==null?void 0:a.owner)==null?void 0:g.current)instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:m}=a.owner.getProps();return bM()&&l&&vM.has(l)&&(l!=="transform"||!m)&&!p&&!s&&o!=="mirror"&&c!==0&&d!=="inertia"}const SM=40;class TM extends ah{constructor({autoplay:a=!0,delay:l=0,type:s="keyframes",repeat:o=0,repeatDelay:c=0,repeatType:d="loop",keyframes:h,name:p,motionValue:m,element:g,...v}){var C;super(),this.stop=()=>{var z,R;this._animation&&(this._animation.stop(),(z=this.stopTimeline)==null||z.call(this)),(R=this.keyframeResolver)==null||R.cancel()},this.createdAt=Ht.now();const b={autoplay:a,delay:l,type:s,repeat:o,repeatDelay:c,repeatType:d,name:p,motionValue:m,element:g,...v},S=(g==null?void 0:g.KeyframeResolver)||lh;this.keyframeResolver=new S(h,(z,R,B)=>this.onKeyframesResolved(z,R,b,!B),p,m,g),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(a,l,s,o){var R,B;this.keyframeResolver=void 0;const{name:c,type:d,velocity:h,delay:p,isHandoff:m,onUpdate:g}=s;this.resolvedAt=Ht.now(),gM(a,c,d,h)||((Sa.instantAnimations||!p)&&(g==null||g(nh(a,s,l))),a[0]=a[a.length-1],vd(s),s.repeat=0);const b={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>SM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:l,...s,keyframes:a},S=!m&&xM(b),C=(B=(R=b.motionValue)==null?void 0:R.owner)==null?void 0:B.current,z=S?new pM({...b,element:C}):new ih(b);z.finished.then(()=>{this.notifyFinished()}).catch(Tn),this.pendingTimeline&&(this.stopTimeline=z.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=z}get finished(){return this._animation?this.animation.finished:this._finished}then(a,l){return this.finished.finally(a).then(()=>{})}get animation(){var a;return this._animation||((a=this.keyframeResolver)==null||a.resume(),iM()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var a;this._animation&&this.animation.cancel(),(a=this.keyframeResolver)==null||a.cancel()}}function Hb(n,a,l,s=0,o=1){const c=Array.from(n).sort((m,g)=>m.sortNodePosition(g)).indexOf(a),d=n.size,h=(d-1)*s;return typeof l=="function"?l(c,d):o===1?c*s:h-c*s}const wM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function EM(n){const a=wM.exec(n);if(!a)return[,];const[,l,s,o]=a;return[`--${l??s}`,o]}function kb(n,a,l=1){const[s,o]=EM(n);if(!s)return;const c=window.getComputedStyle(a).getPropertyValue(s);if(c){const d=c.trim();return rb(d)?parseFloat(d):d}return $d(o)?kb(o,a,l+1):o}const AM={type:"spring",stiffness:500,damping:25,restSpeed:10},MM=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),CM={type:"keyframes",duration:.8},RM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},DM=(n,{keyframes:a})=>a.length>2?CM:Vl.has(n)?n.startsWith("scale")?MM(a[1]):AM:RM,zM=n=>n!==null;function OM(n,{repeat:a,repeatType:l="loop"},s){const o=n.filter(zM),c=a&&l!=="loop"&&a%2===1?0:o.length-1;return o[c]}function rh(n,a){return(n==null?void 0:n[a])??(n==null?void 0:n.default)??n}function jM({when:n,delay:a,delayChildren:l,staggerChildren:s,staggerDirection:o,repeat:c,repeatType:d,repeatDelay:h,from:p,elapsed:m,...g}){return!!Object.keys(g).length}const sh=(n,a,l,s={},o,c)=>d=>{const h=rh(s,n)||{},p=h.delay||s.delay||0;let{elapsed:m=0}=s;m=m-xa(p);const g={keyframes:Array.isArray(l)?l:[null,l],ease:"easeOut",velocity:a.getVelocity(),...h,delay:-m,onUpdate:b=>{a.set(b),h.onUpdate&&h.onUpdate(b)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:n,motionValue:a,element:c?void 0:o};jM(h)||Object.assign(g,DM(n,g)),g.duration&&(g.duration=xa(g.duration)),g.repeatDelay&&(g.repeatDelay=xa(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let v=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(vd(g),g.delay===0&&(v=!0)),(Sa.instantAnimations||Sa.skipAnimations)&&(v=!0,vd(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,v&&!c&&a.get()!==void 0){const b=OM(g.keyframes,h);if(b!==void 0){Ie.update(()=>{g.onUpdate(b),g.onComplete()});return}}return h.isSync?new ih(g):new TM(g)};function uv(n){const a=[{},{}];
vendor: 24,982 bytes, line 113
113return n==null||n.values.forEach((l,s)=>{a[0][s]=l.get(),a[1][s]=l.getVelocity()}),a}function oh(n,a,l,s){if(typeof a=="function"){const[o,c]=uv(s);a=a(l!==void 0?l:n.custom,o,c)}if(typeof a=="string"&&(a=n.variants&&n.variants[a]),typeof a=="function"){const[o,c]=uv(s);a=a(l!==void 0?l:n.custom,o,c)}return a}function Dl(n,a,l){const s=n.getProps();return oh(s,a,l!==void 0?l:s.custom,n)}const Yb=new Set(["width","height","top","left","right","bottom",...Ll]),cv=30,NM=n=>!isNaN(parseFloat(n));class LM{constructor(a,l={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var c;const o=Ht.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((c=this.events.change)==null||c.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=l.owner}setCurrent(a){this.current=a,this.updatedAt=Ht.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=NM(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,l){this.events[a]||(this.events[a]=new Zd);const s=this.events[a].add(l);return a==="change"?()=>{s(),Ie.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,l){this.passiveEffect=a,this.stopPassiveEffect=l}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,l,s){this.set(l),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-s}jump(a,l=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,l&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var a;(a=this.events.change)==null||a.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=Ht.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>cv)return 0;const l=Math.min(this.updatedAt-this.prevUpdatedAt,cv);return ub(parseFloat(this.current)-parseFloat(this.prevFrameValue),l)}start(a){return this.stop(),new Promise(l=>{this.hasAnimated=!0,this.animation=a(l),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var a,l;(a=this.dependents)==null||a.clear(),(l=this.events.destroy)==null||l.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function zl(n,a){return new LM(n,a)}const bd=n=>Array.isArray(n);function VM(n,a,l){n.hasValue(a)?n.getValue(a).set(l):n.addValue(a,zl(l))}function UM(n){return bd(n)?n[n.length-1]||0:n}function BM(n,a){const l=Dl(n,a);let{transitionEnd:s={},transition:o={},...c}=l||{};c={...c,...s};for(const d in c){const h=UM(c[d]);VM(n,d,h)}}const Vt=n=>!!(n&&n.getVelocity);function _M(n){return!!(Vt(n)&&n.add)}function xd(n,a){const l=n.getValue("willChange");if(_M(l))return l.add(a);if(!l&&Sa.WillChange){const s=new Sa.WillChange("auto");n.addValue("willChange",s),s.add(a)}}function uh(n){return n.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const HM="framerAppearId",qb="data-"+uh(HM);function Gb(n){return n.props[qb]}function kM({protectedKeys:n,needsAnimating:a},l){const s=n.hasOwnProperty(l)&&a[l]!==!0;return a[l]=!1,s}function Xb(n,a,{delay:l=0,transitionOverride:s,type:o}={}){let{transition:c=n.getDefaultTransition(),transitionEnd:d,...h}=a;const p=c==null?void 0:c.reduceMotion;s&&(c=s);const m=[],g=o&&n.animationState&&n.animationState.getState()[o];for(const v in h){const b=n.getValue(v,n.latestValues[v]??null),S=h[v];if(S===void 0||g&&kM(g,v))continue;const C={delay:l,...rh(c||{},v)},z=b.get();if(z!==void 0&&!b.isAnimating&&!Array.isArray(S)&&S===z&&!C.velocity)continue;let R=!1;if(window.MotionHandoffAnimation){const H=Gb(n);if(H){const P=window.MotionHandoffAnimation(H,v,Ie);P!==null&&(C.startTime=P,R=!0)}}xd(n,v);const B=p??n.shouldReduceMotion;b.start(sh(v,b,S,B&&Yb.has(v)?{type:!1}:C,n,R));const k=b.animation;k&&m.push(k)}return d&&Promise.all(m).then(()=>{Ie.update(()=>{d&&BM(n,d)})}),m}function Sd(n,a,l={}){var p;const s=Dl(n,a,l.type==="exit"?(p=n.presenceContext)==null?void 0:p.custom:void 0);let{transition:o=n.getDefaultTransition()||{}}=s||{};l.transitionOverride&&(o=l.transitionOverride);const c=s?()=>Promise.all(Xb(n,s,l)):()=>Promise.resolve(),d=n.variantChildren&&n.variantChildren.size?(m=0)=>{const{delayChildren:g=0,staggerChildren:v,staggerDirection:b}=o;return YM(n,a,m,g,v,b,l)}:()=>Promise.resolve(),{when:h}=o;if(h){const[m,g]=h==="beforeChildren"?[c,d]:[d,c];return m().then(()=>g())}else return Promise.all([c(),d(l.delay)])}function YM(n,a,l=0,s=0,o=0,c=1,d){const h=[];for(const p of n.variantChildren)p.notify("AnimationStart",a),h.push(Sd(p,a,{...d,delay:l+(typeof s=="function"?0:s)+Hb(n.variantChildren,p,s,o,c)}).then(()=>p.notify("AnimationComplete",a)));return Promise.all(h)}function qM(n,a,l={}){n.notify("AnimationStart",a);let s;if(Array.isArray(a)){const o=a.map(c=>Sd(n,c,l));s=Promise.all(o)}else if(typeof a=="string")s=Sd(n,a,l);else{const o=typeof a=="function"?Dl(n,a,l.custom):a;s=Promise.all(Xb(n,o,l))}return s.then(()=>{n.notify("AnimationComplete",a)})}const GM={test:n=>n==="auto",parse:n=>n},Kb=n=>a=>a.test(n),Qb=[Nl,re,kn,Wa,yA,pA,GM],fv=n=>Qb.find(Kb(n));function XM(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||ob(n):!0}const KM=new Set(["brightness","contrast","saturate","opacity"]);function QM(n){const[a,l]=n.slice(0,-1).split("(");if(a==="drop-shadow")return n;const[s]=l.match(Wd)||[];if(!s)return n;const o=l.replace(s,"");let c=KM.has(a)?1:0;return s!==l&&(c*=100),a+"("+c+o+")"}const FM=/\b([a-z-]*)\(.*?\)/gu,Td={...ii,getAnimatableNone:n=>{const a=n.match(FM);return a?a.map(QM).join(" "):n}},dv={...Nl,transform:Math.round},ZM={rotate:Wa,rotateX:Wa,rotateY:Wa,rotateZ:Wa,scale:Lo,scaleX:Lo,scaleY:Lo,scaleZ:Lo,skew:Wa,skewX:Wa,skewY:Wa,distance:re,translateX:re,translateY:re,translateZ:re,x:re,y:re,z:re,perspective:re,transformPerspective:re,opacity:Wr,originX:Wg,originY:Wg,originZ:re},ch={borderWidth:re,borderTopWidth:re,borderRightWidth:re,borderBottomWidth:re,borderLeftWidth:re,borderRadius:re,borderTopLeftRadius:re,borderTopRightRadius:re,borderBottomRightRadius:re,borderBottomLeftRadius:re,width:re,maxWidth:re,height:re,maxHeight:re,top:re,right:re,bottom:re,left:re,inset:re,insetBlock:re,insetBlockStart:re,insetBlockEnd:re,insetInline:re,insetInlineStart:re,insetInlineEnd:re,padding:re,paddingTop:re,paddingRight:re,paddingBottom:re,paddingLeft:re,paddingBlock:re,paddingBlockStart:re,paddingBlockEnd:re,paddingInline:re,paddingInlineStart:re,paddingInlineEnd:re,margin:re,marginTop:re,marginRight:re,marginBottom:re,marginLeft:re,marginBlock:re,marginBlockStart:re,marginBlockEnd:re,marginInline:re,marginInlineStart:re,marginInlineEnd:re,fontSize:re,backgroundPositionX:re,backgroundPositionY:re,...ZM,zIndex:dv,fillOpacity:Wr,strokeOpacity:Wr,numOctaves:dv},PM={...ch,color:bt,backgroundColor:bt,outlineColor:bt,fill:bt,stroke:bt,borderColor:bt,borderTopColor:bt,borderRightColor:bt,borderBottomColor:bt,borderLeftColor:bt,filter:Td,WebkitFilter:Td},Fb=n=>PM[n];function Zb(n,a){let l=Fb(n);return l!==Td&&(l=ii),l.getAnimatableNone?l.getAnimatableNone(a):void 0}const JM=new Set(["auto","none","0"]);function $M(n,a,l){let s=0,o;for(;s<n.length&&!o;){const c=n[s];typeof c=="string"&&!JM.has(c)&&Ir(c).values.length&&(o=n[s]),s++}if(o&&l)for(const c of a)n[c]=Zb(l,o)}class WM extends lh{constructor(a,l,s,o,c){super(a,l,s,o,c,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:l,name:s}=this;if(!l||!l.current)return;super.readKeyframes();for(let g=0;g<a.length;g++){let v=a[g];if(typeof v=="string"&&(v=v.trim(),$d(v))){const b=kb(v,l.current);b!==void 0&&(a[g]=b),g===a.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!Yb.has(s)||a.length!==2)return;const[o,c]=a,d=fv(o),h=fv(c),p=$g(o),m=$g(c);if(p!==m&&ni[s]){this.needsMeasurement=!0;return}if(d!==h)if(rv(d)&&rv(h))for(let g=0;g<a.length;g++){const v=a[g];typeof v=="string"&&(a[g]=parseFloat(v))}else ni[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:l}=this,s=[];for(let o=0;o<a.length;o++)(a[o]===null||XM(a[o]))&&s.push(o);s.length&&$M(a,s,l)}measureInitialState(){const{element:a,unresolvedKeyframes:l,name:s}=this;if(!a||!a.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ni[s](a.measureViewportBox(),window.getComputedStyle(a.current)),l[0]=this.measuredOrigin;const o=l[l.length-1];o!==void 0&&a.getValue(s,o).jump(o,!1)}measureEndState(){var h;const{element:a,name:l,unresolvedKeyframes:s}=this;if(!a||!a.current)return;const o=a.getValue(l);o&&o.jump(this.measuredOrigin,!1);const c=s.length-1,d=s[c];s[c]=ni[l](a.measureViewportBox(),window.getComputedStyle(a.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEach(([p,m])=>{a.getValue(p).set(m)}),this.resolveNoneKeyframes()}}function IM(n,a,l){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let s=document;const o=(l==null?void 0:l[n])??s.querySelectorAll(n);return o?Array.from(o):[]}return Array.from(n).filter(s=>s!=null)}const Pb=(n,a)=>a&&typeof n=="number"?a.transform(n):n;function eC(n){return sb(n)&&"offsetHeight"in n}const{schedule:fh}=xb(queueMicrotask,!1),zn={x:!1,y:!1};function Jb(){return zn.x||zn.y}function tC(n){return n==="x"||n==="y"?zn[n]?null:(zn[n]=!0,()=>{zn[n]=!1}):zn.x||zn.y?null:(zn.x=zn.y=!0,()=>{zn.x=zn.y=!1})}function $b(n,a){const l=IM(n),s=new AbortController,o={passive:!0,...a,signal:s.signal};return[l,o,()=>s.abort()]}function hv(n){return!(n.pointerType==="touch"||Jb())}function nC(n,a,l={}){const[s,o,c]=$b(n,l),d=h=>{if(!hv(h))return;const{target:p}=h,m=a(p,h);if(typeof m!="function"||!p)return;const g=v=>{hv(v)&&(m(v),p.removeEventListener("pointerleave",g))};p.addEventListener("pointerleave",g,o)};return s.forEach(h=>{h.addEventListener("pointerenter",d,o)}),c}const Wb=(n,a)=>a?n===a?!0:Wb(n,a.parentElement):!1,dh=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,aC=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Ib(n){return aC.has(n.tagName)||n.isContentEditable===!0}const ko=new WeakSet;function mv(n){return a=>{a.key==="Enter"&&n(a)}}function Yf(n,a){n.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const iC=(n,a)=>{const l=n.currentTarget;if(!l)return;const s=mv(()=>{if(ko.has(l))return;Yf(l,"down");const o=mv(()=>{Yf(l,"up")}),c=()=>Yf(l,"cancel");l.addEventListener("keyup",o,a),l.addEventListener("blur",c,a)});l.addEventListener("keydown",s,a),l.addEventListener("blur",()=>l.removeEventListener("keydown",s),a)};function pv(n){return dh(n)&&!Jb()}function lC(n,a,l={}){const[s,o,c]=$b(n,l),d=h=>{const p=h.currentTarget;if(!pv(h))return;ko.add(p);const m=a(p,h),g=(S,C)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",b),ko.has(p)&&ko.delete(p),pv(S)&&typeof m=="function"&&m(S,{success:C})},v=S=>{g(S,p===window||p===document||l.useGlobalTarget||Wb(p,S.target))},b=S=>{g(S,!1)};window.addEventListener("pointerup",v,o),window.addEventListener("pointercancel",b,o)};return s.forEach(h=>{(l.useGlobalTarget?window:h).addEventListener("pointerdown",d,o),eC(h)&&(h.addEventListener("focus",m=>iC(m,o)),!Ib(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),c}function ex(n){return sb(n)&&"ownerSVGElement"in n}function rC(n){return ex(n)&&n.tagName==="svg"}const sC=[...Qb,bt,ii],oC=n=>sC.find(Kb(n)),yv=()=>({translate:0,scale:1,origin:0,originPoint:0}),wl=()=>({x:yv(),y:yv()}),gv=()=>({min:0,max:0}),Tt=()=>({x:gv(),y:gv()}),wd={current:null},tx={current:!1},uC=typeof window<"u";function cC(){if(tx.current=!0,!!uC)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),a=()=>wd.current=n.matches;n.addEventListener("change",a),a()}else wd.current=!1}const fC=new WeakMap;function lu(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function es(n){return typeof n=="string"||Array.isArray(n)}const hh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mh=["initial",...hh];function ru(n){return lu(n.animate)||mh.some(a=>es(n[a]))}function nx(n){return!!(ru(n)||n.variants)}function dC(n,a,l){for(const s in a){const o=a[s],c=l[s];if(Vt(o))n.addValue(s,o);else if(Vt(c))n.addValue(s,zl(o,{owner:n}));else if(c!==o)if(n.hasValue(s)){const d=n.getValue(s);d.liveStyle===!0?d.jump(o):d.hasAnimated||d.set(o)}else{const d=n.getStaticValue(s);n.addValue(s,zl(d!==void 0?d:o,{owner:n}))}}for(const s in l)a[s]===void 0&&n.removeValue(s);return a}const vv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Jo={};function ax(n){Jo=n}function hC(){return Jo}class mC{scrapeMotionValuesFromProps(a,l,s){return{}}constructor({parent:a,props:l,presenceContext:s,reducedMotionConfig:o,blockInitialAnimation:c,visualState:d},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=lh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const b=Ht.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,Ie.render(this.render,!1,!0))};const{latestValues:p,renderState:m}=d;this.latestValues=p,this.baseTarget={...p},this.initialValues=l.initial?{...p}:{},this.renderState=m,this.parent=a,this.props=l,this.presenceContext=s,this.depth=a?a.depth+1:0,this.reducedMotionConfig=o,this.options=h,this.blockInitialAnimation=!!c,this.isControllingVariants=ru(l),this.isVariantNode=nx(l),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:g,...v}=this.scrapeMotionValuesFromProps(l,{},this);for(const b in v){const S=v[b];p[b]!==void 0&&Vt(S)&&S.set(p[b])}}mount(a){var l;this.current=a,fC.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,o)=>this.bindToMotionValue(o,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(tx.current||cC(),this.shouldReduceMotion=wd.current),(l=this.parent)==null||l.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var a;this.projection&&this.projection.unmount(),ai(this.notifyUpdate),ai(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(a=this.parent)==null||a.removeChild(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const s=this.features[l];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,l){this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)();const s=Vl.has(a);s&&this.onBindTransform&&this.onBindTransform();const o=l.on("change",d=>{this.latestValues[a]=d,this.props.onUpdate&&Ie.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,a,l)),this.valueSubscriptions.set(a,()=>{o(),c&&c(),l.owner&&l.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in Jo){const l=Jo[a];if(!l)continue;const{isEnabled:s,Feature:o}=l;if(!this.features[a]&&o&&s(this.props)&&(this.features[a]=new o(this)),this.features[a]){const c=this.features[a];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):Tt()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,l){this.latestValues[a]=l}update(a,l){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=l;for(let s=0;s<vv.length;s++){const o=vv[s];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const c="on"+o,d=a[c];d&&(this.propEventSubscriptions[o]=this.on(o,d))}this.prevMotionValues=dC(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(a){const l=this.getClosestVariantNode();if(l)return l.variantChildren&&l.variantChildren.add(a),()=>l.variantChildren.delete(a)}addValue(a,l){const s=this.values.get(a);l!==s&&(s&&this.removeValue(a),this.bindToMotionValue(a,l),this.values.set(a,l),this.latestValues[a]=l.get())}removeValue(a){this.values.delete(a);const l=this.valueSubscriptions.get(a);l&&(l(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,l){if(this.props.values&&this.props.values[a])return this.props.values[a];let s=this.values.get(a);return s===void 0&&l!==void 0&&(s=zl(l===null?void 0:l,{owner:this}),this.addValue(a,s)),s}readValue(a,l){let s=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return s!=null&&(typeof s=="string"&&(rb(s)||ob(s))?s=parseFloat(s):!oC(s)&&ii.test(l)&&(s=Zb(a,l)),this.setBaseTarget(a,Vt(s)?s.get():s)),Vt(s)?s.get():s}setBaseTarget(a,l){this.baseTarget[a]=l}getBaseTarget(a){var c;const{initial:l}=this.props;let s;if(typeof l=="string"||typeof l=="object"){const d=oh(this.props,l,(c=this.presenceContext)==null?void 0:c.custom);d&&(s=d[a])}if(l&&s!==void 0)return s;const o=this.getBaseTargetFromProps(this.props,a);return o!==void 0&&!Vt(o)?o:this.initialValues[a]!==void 0&&s===void 0?void 0:this.baseTarget[a]}on(a,l){return this.events[a]||(this.events[a]=new Zd),this.events[a].add(l)}notify(a,...l){this.events[a]&&this.events[a].notify(...l)}scheduleRenderMicrotask(){fh.render(this.render)}}class ix extends mC{constructor(){super(...arguments),this.KeyframeResolver=WM}sortInstanceNodePosition(a,l){return a.compareDocumentPosition(l)&2?1:-1}getBaseTargetFromProps(a,l){const s=a.style;return s?s[l]:void 0}removeValueFromRenderState(a,{vars:l,style:s}){delete l[a],delete s[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;Vt(a)&&(this.childSubscription=a.on("change",l=>{this.current&&(this.current.textContent=`${l}`)}))}}class li{constructor(a){this.isMounted=!1,this.node=a}update(){}}function lx({top:n,left:a,right:l,bottom:s}){return{x:{min:a,max:l},y:{min:n,max:s}}}function pC({x:n,y:a}){return{top:a.min,right:n.max,bottom:a.max,left:n.min}}function yC(n,a){if(!a)return n;const l=a({x:n.left,y:n.top}),s=a({x:n.right,y:n.bottom});return{top:l.y,left:l.x,bottom:s.y,right:s.x}}function qf(n){return n===void 0||n===1}function Ed({scale:n,scaleX:a,scaleY:l}){return!qf(n)||!qf(a)||!qf(l)}function Ci(n){return Ed(n)||rx(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function rx(n){return bv(n.x)||bv(n.y)}function bv(n){return n&&n!=="0%"}function $o(n,a,l){const s=n-l,o=a*s;return l+o}function xv(n,a,l,s,o){return o!==void 0&&(n=$o(n,o,s)),$o(n,l,s)+a}function Ad(n,a=0,l=1,s,o){n.min=xv(n.min,a,l,s,o),n.max=xv(n.max,a,l,s,o)}function sx(n,{x:a,y:l}){Ad(n.x,a.translate,a.scale,a.originPoint),Ad(n.y,l.translate,l.scale,l.originPoint)}const Sv=.999999999999,Tv=1.0000000000001;function gC(n,a,l,s=!1){const o=l.length;if(!o)return;a.x=a.y=1;let c,d;for(let h=0;h<o;h++){c=l[h],d=c.projectionDelta;const{visualElement:p}=c.options;p&&p.props.style&&p.props.style.display==="contents"||(s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Al(n,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),d&&(a.x*=d.x.scale,a.y*=d.y.scale,sx(n,d)),s&&Ci(c.latestValues)&&Al(n,c.latestValues))}a.x<Tv&&a.x>Sv&&(a.x=1),a.y<Tv&&a.y>Sv&&(a.y=1)}function El(n,a){n.min=n.min+a,n.max=n.max+a}function wv(n,a,l,s,o=.5){const c=at(n.min,n.max,o);Ad(n,a,l,c,s)}function Al(n,a){wv(n.x,a.x,a.scaleX,a.scale,a.originX),wv(n.y,a.y,a.scaleY,a.scale,a.originY)}function ox(n,a){return lx(yC(n.getBoundingClientRect(),a))}function vC(n,a,l){const s=ox(n,l),{scroll:o}=a;return o&&(El(s.x,o.offset.x),El(s.y,o.offset.y)),s}const bC={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xC=Ll.length;function SC(n,a,l){let s="",o=!0;for(let c=0;c<xC;c++){const d=Ll[c],h=n[d];if(h===void 0)continue;let p=!0;if(typeof h=="number")p=h===(d.startsWith("scale")?1:0);else{const m=parseFloat(h);p=d.startsWith("scale")?m===1:m===0}if(!p||l){const m=Pb(h,ch[d]);if(!p){o=!1;const g=bC[d]||d;s+=`${g}(${m}) `}l&&(a[d]=m)}}return s=s.trim(),l?s=l(a,o?"":s):o&&(s="none"),s}function ph(n,a,l){const{style:s,vars:o,transformOrigin:c}=n;let d=!1,h=!1;for(const p in a){const m=a[p];if(Vl.has(p)){d=!0;continue}else if(Tb(p)){o[p]=m;continue}else{const g=Pb(m,ch[p]);p.startsWith("origin")?(h=!0,c[p]=g):s[p]=g}}if(a.transform||(d||l?s.transform=SC(a,n.transform,l):s.transform&&(s.transform="none")),h){const{originX:p="50%",originY:m="50%",originZ:g=0}=c;s.transformOrigin=`${p} ${m} ${g}`}}function ux(n,{style:a,vars:l},s,o){const c=n.style;let d;for(d in a)c[d]=a[d];o==null||o.applyProjectionStyles(c,s);for(d in l)c.setProperty(d,l[d])}function Ev(n,a){return a.max===a.min?0:n/(a.max-a.min)*100}const Br={correct:(n,a)=>{if(!a.target)return n;if(typeof n=="string")if(re.test(n))n=parseFloat(n);else return n;const l=Ev(n,a.target.x),s=Ev(n,a.target.y);return`${l}% ${s}%`}},TC={correct:(n,{treeScale:a,projectionDelta:l})=>{const s=n,o=ii.parse(n);if(o.length>5)return s;const c=ii.createTransformer(n),d=typeof o[0]!="number"?1:0,h=l.x.scale*a.x,p=l.y.scale*a.y;o[0+d]/=h,o[1+d]/=p;const m=at(h,p,.5);return typeof o[2+d]=="number"&&(o[2+d]/=m),typeof o[3+d]=="number"&&(o[3+d]/=m),c(o)}},Md={borderRadius:{...Br,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Br,borderTopRightRadius:Br,borderBottomLeftRadius:Br,borderBottomRightRadius:Br,boxShadow:TC};function cx(n,{layout:a,layoutId:l}){return Vl.has(n)||n.startsWith("origin")||(a||l!==void 0)&&(!!Md[n]||n==="opacity")}function yh(n,a,l){var d;const s=n.style,o=a==null?void 0:a.style,c={};if(!s)return c;for(const h in s)(Vt(s[h])||o&&Vt(o[h])||cx(h,n)||((d=l==null?void 0:l.getValue(h))==null?void 0:d.liveStyle)!==void 0)&&(c[h]=s[h]);return c}function wC(n){return window.getComputedStyle(n)}class EC extends ix{constructor(){super(...arguments),this.type="html",this.renderInstance=ux}readValueFromInstance(a,l){var s;if(Vl.has(l))return(s=this.projection)!=null&&s.isProjecting?hd(l):IA(a,l);{const o=wC(a),c=(Tb(l)?o.getPropertyValue(l):o[l])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(a,{transformPagePoint:l}){return ox(a,l)}build(a,l,s){ph(a,l,s.transformTemplate)}scrapeMotionValuesFromProps(a,l,s){return yh(a,l,s)}}const AC={offset:"stroke-dashoffset",array:"stroke-dasharray"},MC={offset:"strokeDashoffset",array:"strokeDasharray"};function CC(n,a,l=1,s=0,o=!0){n.pathLength=1;const c=o?AC:MC;n[c.offset]=`${-s}
113`,n[c.array]=`${a} ${l}`}const RC=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function fx(n,{attrX:a,attrY:l,attrScale:s,pathLength:o,pathSpacing:c=1,pathOffset:d=0,...h},p,m,g){if(ph(n,h,m),p){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:v,style:b}=n;v.transform&&(b.transform=v.transform,delete v.transform),(b.transform||v.transformOrigin)&&(b.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),b.transform&&(b.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete v.transformBox);for(const S of RC)v[S]!==void 0&&(b[S]=v[S],delete v[S]);a!==void 0&&(v.x=a),l!==void 0&&(v.y=l),s!==void 0&&(v.scale=s),o!==void 0&&CC(v,o,c,d,!1)}const dx=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"]),hx=n=>typeof n=="string"&&n.toLowerCase()==="svg";function DC(n,a,l,s){ux(n,a,void 0,s);for(const o in a.attrs)n.setAttribute(dx.has(o)?o:uh(o),a.attrs[o])}function mx(n,a,l){const s=yh(n,a,l);for(const o in n)if(Vt(n[o])||Vt(a[o])){const c=Ll.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;s[c]=n[o]}return s}class zC extends ix{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Tt}getBaseTargetFromProps(a,l){return a[l]}readValueFromInstance(a,l){if(Vl.has(l)){const s=Fb(l);return s&&s.default||0}return l=dx.has(l)?l:uh(l),a.getAttribute(l)}scrapeMotionValuesFromProps(a,l,s){return mx(a,l,s)}build(a,l,s){fx(a,l,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(a,l,s,o){DC(a,l,s,o)}mount(a){this.isSVGTag=hx(a.tagName),super.mount(a)}}const OC=mh.length;function px(n){if(!n)return;if(!n.isControllingVariants){const l=n.parent?px(n.parent)||{}:{};return n.props.initial!==void 0&&(l.initial=n.props.initial),l}const a={};for(let l=0;l<OC;l++){const s=mh[l],o=n.props[s];(es(o)||o===!1)&&(a[s]=o)}return a}function yx(n,a){if(!Array.isArray(a))return!1;const l=a.length;if(l!==n.length)return!1;for(let s=0;s<l;s++)if(a[s]!==n[s])return!1;return!0}const jC=[...hh].reverse(),NC=hh.length;function LC(n){return a=>Promise.all(a.map(({animation:l,options:s})=>qM(n,l,s)))}function VC(n){let a=LC(n),l=Av(),s=!0;const o=p=>(m,g)=>{var b;const v=Dl(n,g,p==="exit"?(b=n.presenceContext)==null?void 0:b.custom:void 0);if(v){const{transition:S,transitionEnd:C,...z}=v;m={...m,...z,...C}}return m};function c(p){a=p(n)}function d(p){const{props:m}=n,g=px(n.parent)||{},v=[],b=new Set;let S={},C=1/0;for(let R=0;R<NC;R++){const B=jC[R],k=l[B],H=m[B]!==void 0?m[B]:g[B],P=es(H),Q=B===p?k.isActive:null;Q===!1&&(C=R);let I=H===g[B]&&H!==m[B]&&P;if(I&&s&&n.manuallyAnimateOnMount&&(I=!1),k.protectedKeys={...S},!k.isActive&&Q===null||!H&&!k.prevProp||lu(H)||typeof H=="boolean")continue;const fe=UC(k.prevProp,H);let M=fe||B===p&&k.isActive&&!I&&P||R>C&&P,de=!1;const se=Array.isArray(H)?H:[H];let Ne=se.reduce(o(B),{});Q===!1&&(Ne={});const{prevResolvedValues:ee={}}=k,et={...ee,...Ne},we=K=>{M=!0,b.has(K)&&(de=!0,b.delete(K)),k.needsAnimating[K]=!0;const J=n.getValue(K);J&&(J.liveStyle=!1)};for(const K in et){const J=Ne[K],te=ee[K];if(S.hasOwnProperty(K))continue;let he=!1;bd(J)&&bd(te)?he=!yx(J,te):he=J!==te,he?J!=null?we(K):b.add(K):J!==void 0&&b.has(K)?we(K):k.protectedKeys[K]=!0}k.prevProp=H,k.prevResolvedValues=Ne,k.isActive&&(S={...S,...Ne}),s&&n.blockInitialAnimation&&(M=!1);const Re=I&&fe;M&&(!Re||de)&&v.push(...se.map(K=>{const J={type:B};if(typeof K=="string"&&s&&!Re&&n.manuallyAnimateOnMount&&n.parent){const{parent:te}=n,he=Dl(te,K);if(te.enteringChildren&&he){const{delayChildren:ge}=he.transition||{};J.delay=Hb(te.enteringChildren,n,ge)}}return{animation:K,options:J}}))}if(b.size){const R={};if(typeof m.initial!="boolean"){const B=Dl(n,Array.isArray(m.initial)?m.initial[0]:m.initial);
vendor: 4,605 bytes, line 113
113B&&B.transition&&(R.transition=B.transition)}b.forEach(B=>{const k=n.getBaseTarget(B),H=n.getValue(B);H&&(H.liveStyle=!0),R[B]=k??null}),v.push({animation:R})}let z=!!v.length;return s&&(m.initial===!1||m.initial===m.animate)&&!n.manuallyAnimateOnMount&&(z=!1),s=!1,z?a(v):Promise.resolve()}function h(p,m){var v;if(l[p].isActive===m)return Promise.resolve();(v=n.variantChildren)==null||v.forEach(b=>{var S;return(S=b.animationState)==null?void 0:S.setActive(p,m)}),l[p].isActive=m;const g=d(p);for(const b in l)l[b].protectedKeys={};return g}return{animateChanges:d,setActive:h,setAnimateFunction:c,getState:()=>l,reset:()=>{l=Av()}}}function UC(n,a){return typeof a=="string"?a!==n:Array.isArray(a)?!yx(a,n):!1}function Mi(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Av(){return{animate:Mi(!0),whileInView:Mi(),whileHover:Mi(),whileTap:Mi(),whileDrag:Mi(),whileFocus:Mi(),exit:Mi()}}function Mv(n,a){n.min=a.min,n.max=a.max}function Dn(n,a){Mv(n.x,a.x),Mv(n.y,a.y)}function Cv(n,a){n.translate=a.translate,n.scale=a.scale,n.originPoint=a.originPoint,n.origin=a.origin}const gx=1e-4,BC=1-gx,_C=1+gx,vx=.01,HC=0-vx,kC=0+vx;function kt(n){return n.max-n.min}function YC(n,a,l){return Math.abs(n-a)<=l}function Rv(n,a,l,s=.5){n.origin=s,n.originPoint=at(a.min,a.max,n.origin),n.scale=kt(l)/kt(a),n.translate=at(l.min,l.max,n.origin)-n.originPoint,(n.scale>=BC&&n.scale<=_C||isNaN(n.scale))&&(n.scale=1),(n.translate>=HC&&n.translate<=kC||isNaN(n.translate))&&(n.translate=0)}function Kr(n,a,l,s){Rv(n.x,a.x,l.x,s?s.originX:void 0),Rv(n.y,a.y,l.y,s?s.originY:void 0)}function Dv(n,a,l){n.min=l.min+a.min,n.max=n.min+kt(a)}function qC(n,a,l){Dv(n.x,a.x,l.x),Dv(n.y,a.y,l.y)}function zv(n,a,l){n.min=a.min-l.min,n.max=n.min+kt(a)}function Wo(n,a,l){zv(n.x,a.x,l.x),zv(n.y,a.y,l.y)}function Ov(n,a,l,s,o){return n-=a,n=$o(n,1/l,s),o!==void 0&&(n=$o(n,1/o,s)),n}function GC(n,a=0,l=1,s=.5,o,c=n,d=n){if(kn.test(a)&&(a=parseFloat(a),a=at(d.min,d.max,a/100)-d.min),typeof a!="number")return;let h=at(c.min,c.max,s);n===c&&(h-=a),n.min=Ov(n.min,a,l,h,o),n.max=Ov(n.max,a,l,h,o)}function jv(n,a,[l,s,o],c,d){GC(n,a[l],a[s],a[o],a.scale,c,d)}const XC=["x","scaleX","originX"],KC=["y","scaleY","originY"];function Nv(n,a,l,s){jv(n.x,a,XC,l?l.x:void 0,s?s.x:void 0),jv(n.y,a,KC,l?l.y:void 0,s?s.y:void 0)}function Lv(n){return n.translate===0&&n.scale===1}function bx(n){return Lv(n.x)&&Lv(n.y)}function Vv(n,a){return n.min===a.min&&n.max===a.max}function QC(n,a){return Vv(n.x,a.x)&&Vv(n.y,a.y)}function Uv(n,a){return Math.round(n.min)===Math.round(a.min)&&Math.round(n.max)===Math.round(a.max)}function xx(n,a){return Uv(n.x,a.x)&&Uv(n.y,a.y)}function Bv(n){return kt(n.x)/kt(n.y)}function _v(n,a){return n.translate===a.translate&&n.scale===a.scale&&n.originPoint===a.originPoint}function bn(n){return[n("x"),n("y")]}function FC(n,a,l){let s="";const o=n.x.translate/a.x,c=n.y.translate/a.y,d=(l==null?void 0:l.z)||0;if((o||c||d)&&(s=`translate3d(${o}px, ${c}px, ${d}px) `),(a.x!==1||a.y!==1)&&(s+=`scale(${1/a.x}, ${1/a.y}) `),l){const{transformPerspective:m,rotate:g,rotateX:v,rotateY:b,skewX:S,skewY:C}=l;m&&(s=`perspective(${m}px) ${s}`),g&&(s+=`rotate(${g}deg) `),v&&(s+=`rotateX(${v}deg) `),b&&(s+=`rotateY(${b}deg) `),S&&(s+=`skewX(${S}deg) `),C&&(s+=`skewY(${C}deg) `)}const h=n.x.scale*a.x,p=n.y.scale*a.y;return(h!==1||p!==1)&&(s+=`scale(${h}, ${p})`),s||"none"}const Sx=["TopLeft","TopRight","BottomLeft","BottomRight"],ZC=Sx.length,Hv=n=>typeof n=="string"?parseFloat(n):n,kv=n=>typeof n=="number"||re.test(n);function PC(n,a,l,s,o,c){o?(n.opacity=at(0,l.opacity??1,JC(s)),n.opacityExit=at(a.opacity??1,0,$C(s))):c&&(n.opacity=at(a.opacity??1,l.opacity??1,s));for(let d=0;d<ZC;d++){const h=`border${Sx[d]}Radius`;let p=Yv(a,h),m=Yv(l,h);if(p===void 0&&m===void 0)continue;p||(p=0),m||(m=0),p===0||m===0||kv(p)===kv(m)?(n[h]=Math.max(at(Hv(p),Hv(m),s),0),(kn.test(m)||kn.test(p))&&(n[h]+="%")):n[h]=m}(a.rotate||l.rotate)&&(n.rotate=at(a.rotate||0,l.rotate||0,s))}function Yv(n,a){return n[a]!==void 0?n[a]:n.borderRadius}const JC=Tx(0,.5,yb),$C=Tx(.5,.95,Tn);function Tx(n,a,l){return s=>s<n?0:s>a?1:l($r(n,a,s))}function WC(n,a,l){const s=Vt(n)?n:zl(n);return s.start(sh("",s,a,l)),s.animation}function ts(n,a,l,s={passive:!0}){return n.addEventListener(a,l,s),()=>n.removeEventListener(a,l)}const IC=(n,a)=>n.depth-a.depth;class eR{constructor(){this.children=[],this.isDirty=!1}add(a){Xd(this.children,a),this.isDirty=!0}remove(a){Kd(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(IC),this.isDirty=!1,this.children.forEac
vendor: 13,381 bytes, line 113
113h(a)}}function tR(n,a){const l=Ht.now(),s=({timestamp:o})=>{const c=o-l;c>=a&&(ai(s),n(c-a))};return Ie.setup(s,!0),()=>ai(s)}function Yo(n){return Vt(n)?n.get():n}class nR{constructor(){this.members=[]}add(a){Xd(this.members,a),a.scheduleRender()}remove(a){if(Kd(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const l=this.members[this.members.length-1];l&&this.promote(l)}}relegate(a){const l=this.members.findIndex(o=>a===o);if(l===0)return!1;let s;for(let o=l;o>=0;o--){const c=this.members[o];if(c.isPresent!==!1){s=c;break}}return s?(this.promote(s),!0):!1}promote(a,l){const s=this.lead;if(a!==s&&(this.prevLead=s,this.lead=a,a.show(),s)){s.instance&&s.scheduleRender(),a.scheduleRender();const o=s.options.layoutDependency,c=a.options.layoutDependency;o!==void 0&&c!==void 0&&o===c||(a.resumeFrom=s,l&&(a.resumeFrom.preserveOpacity=!0),s.snapshot&&(a.snapshot=s.snapshot,a.snapshot.latestValues=s.animationValues||s.latestValues),a.root&&a.root.isUpdating&&(a.isLayoutDirty=!0));const{crossfade:h}=a.options;h===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(a=>{const{options:l,resumingFrom:s}=a;l.onExitComplete&&l.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(a=>{a.instance&&a.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const qo={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Gf=["","X","Y","Z"],aR=1e3;let iR=0;function Xf(n,a,l,s){const{latestValues:o}=a;o[n]&&(l[n]=o[n],a.setStaticValue(n,0),s&&(s[n]=0))}function wx(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:a}=n.options;if(!a)return;const l=Gb(a);if(window.MotionHasOptimisedAnimation(l,"transform")){const{layout:o,layoutId:c}=n.options;window.MotionCancelOptimisedAnimation(l,"transform",Ie,!(o||c))}const{parent:s}=n;s&&!s.hasCheckedOptimisedAppear&&wx(s)}function Ex({attachResizeListener:n,defaultParent:a,measureScroll:l,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(d={},h=a==null?void 0:a()){this.id=iR++,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(sR),this.nodes.forEach(fR),this.nodes.forEach(dR),this.nodes.forEach(oR)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new eR)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new Zd),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const p=this.eventHandlers.get(d);p&&p.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=ex(d)&&!rC(d),this.instance=d;const{layoutId:h,layout:p,visualElement:m}=this.options;if(m&&!m.current&&m.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||h)&&(this.isLayoutDirty=!0),n){let g,v=0;const b=()=>this.root.updateBlockedByResize=!1;Ie.read(()=>{v=window.innerWidth}),n(d,()=>{const S=window.innerWidth;S!==v&&(v=S,this.root.updateBlockedByResize=!0,g&&g(),g=tR(b,250),qo.hasAnimatedSinceResize&&(qo.hasAnimatedSinceResize=!1,this.nodes.forEach(Xv)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&m&&(h||p)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:v,hasRelativeLayoutChanged:b,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||m.getDefaultTransition()||gR,{onLayoutAnimationStart:z,onLayoutAnimationComplete:R}=m.getProps(),B=!this.targetLayout||!xx(this.targetLayout,S),k=!v&&b;if(this.options.layoutRoot||this.resumeFrom||k||v&&(B||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const H={...rh(C,"layout"),onPlay:z,onComplete:R};(m.shouldReduceMotion||this.options.layoutRoot)&&(H.delay=0,H.type=!1),this.startAnimation(H),this.setAnimationOrigin(g,k)}else v||Xv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.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(hR),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&wx(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const v=this.path[g];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(qv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Gv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(cR),this.nodes.forEach(lR),this.nodes.forEach(rR)):this.nodes.forEach(Gv),this.clearAllSnapshots();const h=Ht.now();zt.delta=qn(0,1e3/60,h-zt.timestamp),zt.timestamp=h,zt.isProcessing=!0,Vf.update.process(zt),Vf.preRender.process(zt),Vf.render.process(zt),zt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,fh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(uR),this.sharedNodes.forEach(mR)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ie.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ie.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!kt(this.snapshot.measuredBox.x)&&!kt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Tt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h&&this.instance){const p=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:l(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!o)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!bx(this.projectionDelta),p=this.getTransformTemplate(),m=p?p(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;d&&this.instance&&(h||Ci(this.latestValues)||g)&&(o(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return d&&(p=this.removeTransform(p)),vR(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var m;const{visualElement:d}=this.options;if(!d)return Tt();const h=d.measureViewportBox();if(!(((m=this.scroll)==null?void 0:m.wasRoot)||this.path.some(bR))){const{scroll:g}=this.root;g&&(El(h.x,g.offset.x),El(h.y,g.offset.y))}return h}removeElementScroll(d){var p;const h=Tt();if(Dn(h,d),(p=this.scroll)!=null&&p.wasRoot)return h;for(let m=0;m<this.path.length;m++){const g=this.path[m],{scroll:v,options:b}=g;g!==this.root&&v&&b.layoutScroll&&(v.wasRoot&&Dn(h,d),El(h.x,v.offset.x),El(h.y,v.offset.y))}return h}applyTransform(d,h=!1){const p=Tt();Dn(p,d);for(let m=0;m<this.path.length;m++){const g=this.path[m];!h&&g.options.layoutScroll&&g.scroll&&g!==g.root&&Al(p,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),Ci(g.latestValues)&&Al(p,g.latestValues)}return Ci(this.latestValues)&&Al(p,this.latestValues),p}removeTransform(d){const h=Tt();Dn(h,d);for(let p=0;p<this.path.length;p++){const m=this.path[p];if(!m.instance||!Ci(m.latestValues))continue;Ed(m.latestValues)&&m.updateSnapshot();const g=Tt(),v=m.measurePageBox();Dn(g,v),Nv(h,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,g)}return Ci(this.latestValues)&&Nv(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.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!==zt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var S;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==h;if(!(d||p&&this.isSharedProjectionDirty||this.isProjectionDirty||(S=this.parent)!=null&&S.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:v}=this.options;if(!this.layout||!(g||v))return;this.resolvedRelativeTargetAt=zt.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Tt(),this.targetWithTransforms=Tt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),qC(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Dn(this.target,this.layout.layoutBox),sx(this.target,this.targetDelta)):Dn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ed(this.parent.latestValues)||rx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,h,p){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Tt(),this.relativeTargetOrigin=Tt(),Wo(this.relativeTargetOrigin,h,p),Dn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var C;const d=this.getLead(),h=!!this.resumingFrom||this!==d;let p=!0;if((this.isProjectionDirty||(C=this.parent)!=null&&C.isProjectionDirty)&&
vendor: 5,271 bytes, line 113
113(p=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===zt.timestamp&&(p=!1),p)return;const{layout:m,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(m||g))return;Dn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,b=this.treeScale.y;gC(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Tt());const{target:S}=d;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Cv(this.prevProjectionDelta.x,this.projectionDelta.x),Cv(this.prevProjectionDelta.y,this.projectionDelta.y)),Kr(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==b||!_v(this.projectionDelta.x,this.prevProjectionDelta.x)||!_v(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),d){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=wl(),this.projectionDelta=wl(),this.projectionDeltaWithTransform=wl()}setAnimationOrigin(d,h=!1){const p=this.snapshot,m=p?p.latestValues:{},g={...this.latestValues},v=wl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const b=Tt(),S=p?p.source:void 0,C=this.layout?this.layout.source:void 0,z=S!==C,R=this.getStack(),B=!R||R.members.length<=1,k=!!(z&&!B&&this.options.crossfade===!0&&!this.path.some(yR));this.animationProgress=0;let H;this.mixTargetDelta=P=>{const Q=P/1e3;Kv(v.x,d.x,Q),Kv(v.y,d.y,Q),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Wo(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),pR(this.relativeTarget,this.relativeTargetOrigin,b,Q),H&&QC(this.relativeTarget,H)&&(this.isProjectionDirty=!1),H||(H=Tt()),Dn(H,this.relativeTarget)),z&&(this.animationValues=g,PC(g,m,this.latestValues,Q,k,B)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Q},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var h,p,m;this.notifyListeners("animationStart"),(h=this.currentAnimation)==null||h.stop(),(m=(p=this.resumingFrom)==null?void 0:p.currentAnimation)==null||m.stop(),this.pendingAnimation&&(ai(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ie.update(()=>{qo.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=zl(0)),this.currentAnimation=WC(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),d.onUpdate&&d.onUpdate(g)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.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 d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(aR),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:p,layout:m,latestValues:g}=d;if(!(!h||!p||!m)){if(this!==d&&this.layout&&m&&Ax(this.options.animationType,this.layout.layoutBox,m.layoutBox)){p=this.target||Tt();const v=kt(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+v;const b=kt(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+b}Dn(h,p),Al(h,g),Kr(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new nR),this.sharedNodes.get(d).add(h);const m=h.options.initialPromotionConfig;h.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var h;const{layoutId:d}=this.options;return d?((h=this.getStack())==null?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:d}=this.options;return d?(h=this.getStack())==null?void 0:h.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:p}={}){const m=this.getStack();m&&m.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}
vendor: 27,005 bytes, line 113
113resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const m={};p.z&&Xf("z",d,m,this.animationValues);for(let g=0;g<Gf.length;g++)Xf(`rotate${Gf[g]}`,d,m,this.animationValues),Xf(`skew${Gf[g]}`,d,m,this.animationValues);d.render();for(const g in m)d.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=Yo(h==null?void 0:h.pointerEvents)||"",d.transform=p?p(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=Yo(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!Ci(this.latestValues)&&(d.transform=p?p({},""):"none",this.hasProjected=!1);return}d.visibility="";const g=m.animationValues||m.latestValues;this.applyTransformsToTarget();let v=FC(this.projectionDeltaWithTransform,this.treeScale,g);p&&(v=p(g,v)),d.transform=v;const{x:b,y:S}=this.projectionDelta;d.transformOrigin=`${b.origin*100}% ${S.origin*100}% 0`,m.animationValues?d.opacity=m===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:d.opacity=m===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const C in Md){if(g[C]===void 0)continue;const{correct:z,applyTo:R,isCSSVariable:B}=Md[C],k=v==="none"?g[C]:z(g[C],m);if(R){const H=R.length;for(let P=0;P<H;P++)d[R[P]]=k}else B?this.options.visualElement.renderState.vars[C]=k:d[C]=k}this.options.layoutId&&(d.pointerEvents=m===this?Yo(h==null?void 0:h.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var h;return(h=d.currentAnimation)==null?void 0:h.stop()}),this.root.nodes.forEach(qv),this.root.sharedNodes.clear()}}}function lR(n){n.updateLayout()}function rR(n){var l;const a=((l=n.resumeFrom)==null?void 0:l.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&a&&n.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:o}=n.layout,{animationType:c}=n.options,d=a.source!==n.layout.source;c==="size"?bn(v=>{const b=d?a.measuredBox[v]:a.layoutBox[v],S=kt(b);b.min=s[v].min,b.max=b.min+S}):Ax(c,a.layoutBox,s)&&bn(v=>{const b=d?a.measuredBox[v]:a.layoutBox[v],S=kt(s[v]);b.max=b.min+S,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[v].max=n.relativeTarget[v].min+S)});const h=wl();Kr(h,s,a.layoutBox);const p=wl();d?Kr(p,n.applyTransform(o,!0),a.measuredBox):Kr(p,s,a.layoutBox);const m=!bx(h);let g=!1;if(!n.resumeFrom){const v=n.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:S}=v;if(b&&S){const C=Tt();Wo(C,a.layoutBox,b.layoutBox);const z=Tt();Wo(z,s,S.layoutBox),xx(C,z)||(g=!0),v.options.layoutRoot&&(n.relativeTarget=z,n.relativeTargetOrigin=C,n.relativeParent=v)}}}n.notifyListeners("didUpdate",{layout:s,snapshot:a,delta:p,layoutDelta:h,hasLayoutChanged:m,hasRelativeLayoutChanged:g})}else if(n.isLead()){const{onExitComplete:s}=n.options;s&&s()}n.options.transition=void 0}function sR(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function oR(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function uR(n){n.clearSnapshot()}function qv(n){n.clearMeasurements()}function Gv(n){n.isLayoutDirty=!1}function cR(n){const{visualElement:a}=n.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),n.resetTransform()}function Xv(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function fR(n){n.resolveTargetDelta()}function dR(n){n.calcProjection()}function hR(n){n.resetSkewAndRotation()}function mR(n){n.removeLeadSnapshot()}function Kv(n,a,l){n.translate=at(a.translate,0,l),n.scale=at(a.scale,1,l),n.origin=a.origin,n.originPoint=a.originPoint}function Qv(n,a,l,s){n.min=at(a.min,l.min,s),n.max=at(a.max,l.max,s)}function pR(n,a,l,s){Qv(n.x,a.x,l.x,s),Qv(n.y,a.y,l.y,s)}function yR(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const gR={duration:.45,ease:[.4,0,.1,1]},Fv=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),Zv=Fv("applewebkit/")&&!Fv("chrome/")?Math.round:Tn;function Pv(n){n.min=Zv(n.min),n.max=Zv(n.max)}function vR(n){Pv(n.x),Pv(n.y)}function Ax(n,a,l){return n==="position"||n==="preserve-aspect"&&!YC(Bv(a),Bv(l),.2)}function bR(n){var a;return n!==n.root&&((a=n.scroll)==null?void 0:a.wasRoot)}const xR=Ex({attachResizeListener:(n,a)=>ts(n,"resize",a),measureScroll:()=>{var n,a;return{x:document.documentElement.scrollLeft||((n=document.body)==null?void 0:n.scrollLeft)||0,y:document.documentElement.scrollTop||((a=document.body)==null?void 0:a.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Kf={current:void 0},Mx=Ex({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Kf.current){const n=new xR({});n.mount(window),n.setOptions({layoutScroll:!0}),Kf.current=n}return Kf.current},resetTransform:(n,a)=>{n.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),Cx=E.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function SR(n=!0){const a=E.useContext(Gd);if(a===null)return[!0,null];const{isPresent:l,onExitComplete:s,register:o}=a,c=E.useId();E.useEffect(()=>{if(n)return o(c)},[n]);const d=E.useCallback(()=>n&&s&&s(c),[c,s,n]);return!l&&s?[!1,d]:[!0]}const Rx=E.createContext({strict:!1}),Jv={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 $v=!1;function TR(){if($v)return;const n={};for(const a in Jv)n[a]={isEnabled:l=>Jv[a].some(s=>!!l[s])};ax(n),$v=!0}function Dx(){return TR(),hC()}function wR(n){const a=Dx();for(const l in n)a[l]={...a[l],...n[l]};ax(a)}const ER=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Io(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||ER.has(n)}let zx=n=>!Io(n);function AR(n){typeof n=="function"&&(zx=a=>a.startsWith("on")?!Io(a):n(a))}try{AR(require("@emotion/is-prop-valid").default)}catch{}function MR(n,a,l){const s={};for(const o in n)o==="values"&&typeof n.values=="object"||(zx(o)||l===!0&&Io(o)||!a&&!Io(o)||n.draggable&&o.startsWith("onDrag"))&&(s[o]=n[o]);return s}const su=E.createContext({});function CR(n,a){if(ru(n)){const{initial:l,animate:s}=n;return{initial:l===!1||es(l)?l:void 0,animate:es(s)?s:void 0}}return n.inherit!==!1?a:{}}function RR(n){const{initial:a,animate:l}=CR(n,E.useContext(su));return E.useMemo(()=>({initial:a,animate:l}),[Wv(a),Wv(l)])}function Wv(n){return Array.isArray(n)?n.join(" "):n}const gh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ox(n,a,l){for(const s in a)!Vt(a[s])&&!cx(s,l)&&(n[s]=a[s])}function DR({transformTemplate:n},a){return E.useMemo(()=>{const l=gh();return ph(l,a,n),Object.assign({},l.vars,l.style)},[a])}function zR(n,a){const l=n.style||{},s={};return Ox(s,l,n),Object.assign(s,DR(n,a)),s}function OR(n,a){const l={},s=zR(n,a);return n.drag&&n.dragListener!==!1&&(l.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(l.tabIndex=0),l.style=s,l}const jx=()=>({...gh(),attrs:{}});function jR(n,a,l,s){const o=E.useMemo(()=>{const c=jx();return fx(c,a,hx(s),n.transformTemplate,n.style),{...c.attrs,style:{...c.style}}},[a]);if(n.style){const c={};Ox(c,n.style,n),o.style={...c,...o.style}}return o}const NR=["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 vh(n){return typeof n!="string"||n.includes("-")?!1:!!(NR.indexOf(n)>-1||/[A-Z]/u.test(n))}function LR(n,a,l,{latestValues:s},o,c=!1,d){const p=(d??vh(n)?jR:OR)(a,s,o,n),m=MR(a,typeof n=="string",c),g=n!==E.Fragment?{...m,...p,ref:l}:{},{children:v}=a,b=E.useMemo(()=>Vt(v)?v.get():v,[v]);return E.createElement(n,{...g,children:b})}function VR({scrapeMotionValuesFromProps:n,createRenderState:a},l,s,o){return{latestValues:UR(l,s,o,n),renderState:a()}}function UR(n,a,l,s){const o={},c=s(n,{});for(const b in c)o[b]=Yo(c[b]);let{initial:d,animate:h}=n;const p=ru(n),m=nx(n);a&&m&&!p&&n.inherit!==!1&&(d===void 0&&(d=a.initial),h===void 0&&(h=a.animate));let g=l?l.initial===!1:!1;g=g||d===!1;const v=g?h:d;if(v&&typeof v!="boolean"&&!lu(v)){const b=Array.isArray(v)?v:[v];for(let S=0;S<b.length;S++){const C=oh(n,b[S]);if(C){const{transitionEnd:z,transition:R,...B}=C;for(const k in B){let H=B[k];if(Array.isArray(H)){const P=g?H.length-1:0;H=H[P]}H!==null&&(o[k]=H)}for(const k in z)o[k]=z[k]}}}return o}const Nx=n=>(a,l)=>{const s=E.useContext(su),o=E.useContext(Gd),c=()=>VR(n,a,s,o);return l?c():P2(c)},BR=Nx({scrapeMotionValuesFromProps:yh,createRenderState:gh}),_R=Nx({scrapeMotionValuesFromProps:mx,createRenderState:jx}),HR=Symbol.for("motionComponentSymbol");function kR(n,a,l){const s=E.useRef(l);E.useInsertionEffect(()=>{s.current=l});const o=E.useRef(null);return E.useCallback(c=>{var h;c&&((h=n.onMount)==null||h.call(n,c)),a&&(c?a.mount(c):a.unmount());const d=s.current;if(typeof d=="function")if(c){const p=d(c);typeof p=="function"&&(o.current=p)}else o.current?(o.current(),o.current=null):d(c);else d&&(d.current=c)},[a])}const Lx=E.createContext({});function Yr(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function YR(n,a,l,s,o,c){var B,k;const{visualElement:d}=E.useContext(su),h=E.useContext(Rx),p=E.useContext(Gd),m=E.useContext(Cx).reducedMotion,g=E.useRef(null),v=E.useRef(!1);s=s||h.renderer,!g.current&&s&&(g.current=s(n,{visualState:a,parent:d,props:l,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:m,isSVG:c}),v.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));const b=g.current,S=E.useContext(Lx);b&&!b.projection&&o&&(b.type==="html"||b.type==="svg")&&qR(g.current,l,o,S);const C=E.useRef(!1);E.useInsertionEffect(()=>{b&&C.current&&b.update(l,p)});const z=l[qb],R=E.useRef(!!z&&!((B=window.MotionHandoffIsComplete)!=null&&B.call(window,z))&&((k=window.MotionHasOptimisedAnimation)==null?void 0:k.call(window,z)));return J2(()=>{v.current=!0,b&&(C.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),b.scheduleRenderMicrotask(),R.current&&b.animationState&&b.animationState.animateChanges())}),E.useEffect(()=>{b&&(!R.current&&b.animationState&&b.animationState.animateChanges(),R.current&&(queueMicrotask(()=>{var H;(H=window.MotionHandoffMarkAsComplete)==null||H.call(window,z)}),R.current=!1),b.enteringChildren=void 0)}),b}function qR(n,a,l,s){const{layoutId:o,layout:c,drag:d,dragConstraints:h,layoutScroll:p,layoutRoot:m,layoutCrossfade:g}=a;n.projection=new l(n.latestValues,a["data-framer-portal-id"]?void 0:Vx(n.parent)),n.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!d||h&&Yr(h),visualElement:n,animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,crossfade:g,layoutScroll:p,layoutRoot:m})}function Vx(n){if(n)return n.options.allowProjection!==!1?n.projection:Vx(n.parent)}function Qf(n,{forwardMotionProps:a=!1,type:l}={},s,o){s&&wR(s);const c=l?l==="svg":vh(n),d=c?_R:BR;function h(m,g){let v;const b={...E.useContext(Cx),...m,layoutId:GR(m)},{isStatic:S}=b,C=RR(m),z=d(m,S);if(!S&&lb){XR();const R=KR(b);v=R.MeasureLayout,C.visualElement=YR(n,z,b,o,R.ProjectionNode,c)}return O.jsxs(su.Provider,{value:C,children:[v&&C.visualElement?O.jsx(v,{visualElement:C.visualElement,...b}):null,LR(n,m,kR(z,C.visualElement,g),z,S,a,c)]})}h.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const p=E.forwardRef(h);return p[HR]=n,p}function GR({layoutId:n}){const a=E.useContext(ib).id;return a&&n!==void 0?a+"-"+n:n}function XR(n,a){E.useContext(Rx).strict}function KR(n){const a=Dx(),{drag:l,layout:s}=a;if(!l&&!s)return{};const o={...l,...s};return{MeasureLayout:l!=null&&l.isEnabled(n)||s!=null&&s.isEnabled(n)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function QR(n,a){if(typeof Proxy>"u")return Qf;const l=new Map,s=(c,d)=>Qf(c,d,n,a),o=(c,d)=>s(c,d);return new Proxy(o,{get:(c,d)=>d==="create"?s:(l.has(d)||l.set(d,Qf(d,void 0,n,a)),l.get(d))})}const FR=(n,a)=>a.isSVG??vh(n)?new zC(a):new EC(a,{allowProjection:n!==E.Fragment});class ZR extends li{constructor(a){super(a),a.animationState||(a.animationState=VC(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();lu(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:l}=this.node.prevProps||{};a!==l&&this.updateAnimationControlsSubscription()}unmount(){var a;this.node.animationState.reset(),(a=this.unmountControls)==null||a.call(this)}}let PR=0;class JR extends li{constructor(){super(...arguments),this.id=PR++}update(){if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:l}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===s)return;const o=this.node.animationState.setActive("exit",!a);l&&!a&&o.then(()=>{l(this.id)})}mount(){const{register:a,onExitComplete:l}=this.node.presenceContext||{};l&&l(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const $R={animation:{Feature:ZR},exit:{Feature:JR}};function us(n){return{point:{x:n.pageX,y:n.pageY}}}const WR=n=>a=>dh(a)&&n(a,us(a));function Qr(n,a,l,s){return ts(n,a,WR(l),s)}const Ux=({current:n})=>n?n.ownerDocument.defaultView:null,Iv=(n,a)=>Math.abs(n-a);function IR(n,a){const l=Iv(n.x,a.x),s=Iv(n.y,a.y);return Math.sqrt(l**2+s**2)}const e0=new Set(["auto","scroll"]);class Bx{constructor(a,l,{transformPagePoint:s,contextWindow:o=window,dragSnapToOrigin:c=!1,distanceThreshold:d=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=Zf(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,z=IR(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!C&&!z)return;const{point:R}=S,{timestamp:B}=zt;this.history.push({...R,timestamp:B});const{onStart:k,onMove:H}=this.handlers;C||(k&&k(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),H&&H(this.lastMoveEvent,S)},this.handlePointerMove=(S,C)=>{this.lastMoveEvent=S,this.lastMoveEventInfo=Ff(C,this.transformPagePoint),Ie.update(this.updatePoint,!0)},this.handlePointerUp=(S,C)=>{this.end();const{onEnd:z,onSessionEnd:R,resumeAnimation:B}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&B&&B(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=Zf(S.type==="pointercancel"?this.lastMoveEventInfo:Ff(C,this.transformPagePoint),this.history);this.startEvent&&z&&z(S,k),R&&R(S,k)},!dh(a))return;this.dragSnapToOrigin=c,this.handlers=l,this.transformPagePoint=s,this.distanceThreshold=d,this.contextWindow=o||window;const p=us(a),m=Ff(p,this.transformPagePoint),{point:g}=m,{timestamp:v}=zt;this.history=[{...g,timestamp:v}];const{onSessionStart:b}=l;b&&b(a,Zf(m,this.history)),this.removeListeners=rs(Qr(this.contextWindow,"pointermove",this.handlePointerMove),Qr(this.contextWindow,"pointerup",this.handlePointerUp),Qr(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(a){let l=a.parentElement;for(;l;){const s=getComputedStyle(l);(e0.has(s.overflowX)||e0.has(s.overflowY))&&this.scrollPositions.set(l,{x:l.scrollLeft,y:l.scrollTop}),l=l.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const l=this.scrollPositions.get(a);if(!l)return;const s=a===window,o=s?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},c={x:o.x-l.x,y:o.y-l.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(a,o),Ie.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ai(this.updatePoint)}}function Ff(n,a){return a?{point:a(n.point)}:n}function t0(n,a){return{x:n.x-a.x,y:n.y-a.y}}function Zf({point:n},a){return{point:n,delta:t0(n,_x(a)),offset:t0(n,eD(a)),velocity:tD(a,.1)}}function eD(n){return n[0]}function _x(n){return n[n.length-1]}function tD(n,a){if(n.length<2)return{x:0,y:0};let l=n.length-1,s=null;const o=_x(n);for(;l>=0&&(s=n[l],!(o.timestamp-s.timestamp>xa(a)));)l--;if(!s)return{x:0,y:0};const c=Sn(o.timestamp-s.timestamp);if(c===0)return{x:0,y:0};const d={x:(o.x-s.x)/c,y:(o.y-s.y)/c};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function nD(n,{min:a,max:l},s){return a!==void 0&&n<a?n=s?at(a,n,s.min):Math.max(n,a):l!==void 0&&n>l&&(n=s?at(l,n,s.max):Math.min(n,l)),n}function n0(n,a,l){return{min:a!==void 0?n.min+a:void 0,max:l!==void 0?n.max+l-(n.max-n.min):void 0}}function aD(n,{top:a,left:l,bottom:s,right:o}){return{x:n0(n.x,l,o),y:n0(n.y,a,s)}}function a0(n,a){let l=a.min-n.min,s=a.max-n.max;return a.max-a.min<n.max-n.min&&([l,s]=[s,l]),{min:l,max:s}}function iD(n,a){return{x:a0(n.x,a.x),y:a0(n.y,a.y)}}function lD(n,a){let l=.5;const s=kt(n),o=kt(a);return o>s?l=$r(a.min,a.max-s,n.min):s>o&&(l=$r(n.min,n.max-o,a.min)),qn(0,1,l)}function rD(n,a){const l={};return a.min!==void 0&&(l.min=a.min-n.min),a.max!==void 0&&(l.max=a.max-n.min),l}const Cd=.35;function sD(n=Cd){return n===!1?n=0:n===!0&&(n=Cd),{x:i0(n,"left","right"),y:i0(n,"top","bottom")}}function i0(n,a,l){return{min:l0(n,a),max:l0(n,l)}}function l0(n,a){return typeof n=="number"?n:n[a]||0}const oD=new WeakMap;class uD{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Tt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:l=!1,distanceThreshold:s}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const c=v=>{l?(this.stopAnimation(),this.snapToCursor(us(v).point)):this.pauseAnimation()},d=(v,b)=>{this.stopAnimation();const{drag:S,dragPropagation:C,onDragStart:z}=this.getProps();if(S&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=tC(S),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),bn(B=>{let k=this.getAxisMotionValue(B).get()||0;if(kn.test(k)){const{projection:H}=this.visualElement;if(H&&H.layout){const P=H.layout.layoutBox[B];P&&(k=kt(P)*(parseFloat(k)/100))}}this.originPoint[B]=k}),z&&Ie.postRender(()=>z(v,b)),xd(this.visualElement,"transform");const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},h=(v,b)=>{this.latestPointerEvent=v,this.latestPanInfo=b;const{dragPropagation:S,dragDirectionLock:C,onDirectionLock:z,onDrag:R}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:B}=b;if(C&&this.currentDirection===null){this.currentDirection=cD(B),this.currentDirection!==null&&z&&z(this.currentDirection);return}this.updateAxis("x",b.point,B),this.updateAxis("y",b.point,B),this.visualElement.render(),R&&R(v,b)},p=(v,b)=>{this.latestPointerEvent=v,this.latestPanInfo=b,this.stop(v,b),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>bn(v=>{var b;return this.getAnimationState(v)==="paused"&&((b=this.getAxisMotionValue(v).animation)==null?void 0:b.play())}),{dragSnapToOrigin:g}=this.getProps();this.panSession=new Bx(a,{onSessionStart:c,onStart:d,onMove:h,onSessionEnd:p,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:s,contextWindow:Ux(this.visualElement),element:this.visualElement.current})}stop(a,l){const s=a||this.latestPointerEvent,o=l||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!o||!s)return;const{velocity:d}=o;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&Ie.postRender(()=>h(s,o))}cancel(){this.isDragging=!1;const{projection:a,animationState:l}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),l&&l.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,l,s){const{drag:o}=this.getProps();if(!s||!Vo(a,o,this.currentDirection))return;const c=this.getAxisMotionValue(a);let d=this.originPoint[a]+s[a];this.constraints&&this.constraints[a]&&(d=nD(d,this.constraints[a],this.elastic[a])),c.set(d)}resolveConstraints(){var c;const{dragConstraints:a,dragElastic:l}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(c=this.visualElement.projection)==null?void 0:c.layout,o=this.constraints;a&&Yr(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&s?this.constraints=aD(s.layoutBox,a):this.constraints=!1,this.elastic=sD(l),o!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&bn(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=rD(s.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:l}=this.getProps();if(!a||!Yr(a))return!1;const s=a.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const c=vC(s,o.root,this.visualElement.getTransformPagePoint());let d=iD(o.layout.layoutBox,c);if(l){const h=l(pC(d));this.hasMutatedConstraints=!!h,h&&(d=lx(h))}return d}startAnimation(a){const{drag:l,dragMomentum:s,dragElastic:o,dragTransition:c,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},m=bn(g=>{if(!Vo(g,l,this.currentDirection))return;let v=p&&p[g]||{};d&&(v={min:0,max:0});const b=o?200:1e6,S=o?40:1e7,C={type:"inertia",velocity:s?a[g]:0,bounceStiffness:b,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(g,C)});return Promise.all(m).then(h)}startAxisValueAnimation(a,l){const s=this.getAxisMotionValue(a);return xd(this.visualElement,a),s.start(sh(a,s,0,l,this.visualElement,!1))}stopAnimation(){bn(a=>this.getAxisMotionValue(a).stop())}pauseAnimation(){bn(a=>{var l;return(l=this.getAxisMotionValue(a).animation)==null?void 0:l.pause()})}getAnimationState(a){var l;return(l=this.getAxisMotionValue(a).animation)==null?void 0:l.state}getAxisMotionValue(a){const l=`_drag${a.toUpperCase()}`,s=this.visualElement.getProps(),o=s[l];return o||this.visualElement.getValue(a,(s.initial?s.initial[a]:void 0)||0)}snapToCursor(a){bn(l=>{const{drag:s}=this.getProps();if(!Vo(l,s,this.currentDirection))return;const{projection:o}=this.visualElement,c=this.getAxisMotionValue(l);if(o&&o.layout){const{min:d,max:h}=o.layout.layoutBox[l],p=c.get()||0;c.set(a[l]-at(d,h,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:l}=this.getProps(),{projection:s}=this.visualElement;if(!Yr(l)||!s||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};bn(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const p=h.get();o[d]=lD({min:p,max:p},this.constraints[d])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),bn(d=>{if(!Vo(d,a,null))return;const h=this.getAxisMotionValue(d),{min:p,max:m}=this.constraints[d];h.set(at(p,m,o[d]))})}addListeners(){if(!this.visualElement.current)return;oD.set(this.visualElement,this);const a=this.visualElement.current,l=Qr(a,"pointerdown",p=>{const{drag:m,dragListener:g=!0}=this.getProps(),v=p.target,b=v!==a&&Ib(v);m&&g&&!b&&this.start(p)}),s=()=>{const{dragConstraints:p}=this.getProps();Yr(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,c=o.addEventListener("measure",s);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),Ie.read(s);const d=ts(window,"resize",()=>this.scalePositionWithinConstraints()),h=o.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:m})=>{this.isDragging&&m&&(bn(g=>{const v=this.getAxisMotionValue(g);v&&(this.originPoint[g]+=p[g].translate,v.set(v.get()+p[g].translate))}),this.visualElement.render())}));return()=>{d(),l(),c(),h&&h()}}getProps(){const a=this.visualElement.getProps(),{drag:l=!1,dragDirectionLock:s=!1,dragPropagation:o=!1,dragConstraints:c=!1,dragElastic:d=Cd,dragMomentum:h=!0}=a;return{...a,drag:l,dragDirectionLock:s,dragPropagation:o,dragConstraints:c,dragElastic:d,dragMomentum:h}}}function Vo(n,a,l){return(a===!0||a===n)&&(l===null||l===n)}function cD(n,a=10){let l=null;return Math.abs(n.y)>a?l="y":Math.abs(n.x)>a&&(l="x"),l}
vendor: 4,277 bytes, line 113
113class fD extends li{constructor(a){super(a),this.removeGroupControls=Tn,this.removeListeners=Tn,this.controls=new uD(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Tn}update(){const{dragControls:a}=this.node.getProps(),{dragControls:l}=this.node.prevProps||{};a!==l&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const r0=n=>(a,l)=>{n&&Ie.postRender(()=>n(a,l))};class dD extends li{constructor(){super(...arguments),this.removePointerDownListener=Tn}onPointerDown(a){this.session=new Bx(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ux(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:l,onPan:s,onPanEnd:o}=this.node.getProps();return{onSessionStart:r0(a),onStart:r0(l),onMove:s,onEnd:(c,d)=>{delete this.session,o&&Ie.postRender(()=>o(c,d))}}}mount(){this.removePointerDownListener=Qr(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Pf=!1;class hD extends E.Component{componentDidMount(){const{visualElement:a,layoutGroup:l,switchLayoutGroup:s,layoutId:o}=this.props,{projection:c}=a;c&&(l.group&&l.group.add(c),s&&s.register&&o&&s.register(c),Pf&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),qo.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:l,visualElement:s,drag:o,isPresent:c}=this.props,{projection:d}=s;return d&&(d.isPresent=c,a.layoutDependency!==l&&d.setOptions({...d.options,layoutDependency:l}),Pf=!0,o||a.layoutDependency!==l||l===void 0||a.isPresent!==c?d.willUpdate():this.safeToRemove(),a.isPresent!==c&&(c?d.promote():d.relegate()||Ie.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:a}=this.props.visualElement;a&&(a.root.didUpdate(),fh.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:l,switchLayoutGroup:s}=this.props,{projection:o}=a;Pf=!0,o&&(o.scheduleCheckAfterUnmount(),l&&l.group&&l.group.remove(o),s&&s.deregister&&s.deregister(o))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function Hx(n){const[a,l]=SR(),s=E.useContext(ib);return O.jsx(hD,{...n,layoutGroup:s,switchLayoutGroup:E.useContext(Lx),isPresent:a,safeToRemove:l})}const mD={pan:{Feature:dD},drag:{Feature:fD,ProjectionNode:Mx,MeasureLayout:Hx}};function s0(n,a,l){const{props:s}=n;n.animationState&&s.whileHover&&n.animationState.setActive("whileHover",l==="Start");const o="onHover"+l,c=s[o];c&&Ie.postRender(()=>c(a,us(a)))}class pD extends li{mount(){const{current:a}=this.node;a&&(this.unmount=nC(a,(l,s)=>(s0(this.node,s,"Start"),o=>s0(this.node,o,"End"))))}unmount(){}}class yD extends li{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=rs(ts(this.node.current,"focus",()=>this.onFocus()),ts(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function o0(n,a,l){const{props:s}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&s.whileTap&&n.animationState.setActive("whileTap",l==="Start");const o="onTap"+(l==="End"?"":l),c=s[o];c&&Ie.postRender(()=>c(a,us(a)))}class gD extends li{mount(){const{current:a}=this.node;a&&(this.unmount=lC(a,(l,s)=>(o0(this.node,s,"Start"),(o,{success:c})=>o0(this.node,o,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Rd=new WeakMap,Jf=new WeakMap,vD=n=>
113{const a=Rd.get(n.target);a&&a(n)},bD=n=>{n.forEach(vD)};function xD({root:n,...a}){const l=n||document;Jf.has(l)||Jf.set(l,{});const s=Jf.get(l),o=JSON.stringify(a);return s[o]||(s[o]=new IntersectionObserver(bD,{root:n,...a})),s[o]}function SD(n,a,l){const s=xD(a);return Rd.set(n,l),s.observe(n),()=>{Rd.delete(n),s.unobserve(n)}}const TD={some:0,all:1};class wD extends li{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:a={}}=this.node.getProps(),{root:l,margin:s,amount:o="some",once:c}=a,d={root:l?l.current:void 0,rootMargin:s,threshold:typeof o=="number"?o:TD[o]},h=p=>{const{isIntersecting:m}=p;if(this.isInView===m||(this.isInView=m,c&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:g,onViewportLeave:v}=this.node.getProps(),b=m?g:v;b&&b(p)};return SD(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:l}=this.node;["amount","margin","root"].some(ED(a,l))&&this.startObserver()}unmount(){}}function ED({viewport:n={}},{viewport:a={}}={}){return l=>n[l]!==a[l]}const AD={inView:{Feature:wD},tap:{Feature:gD},focus:{Feature:yD},hover:{Feature:pD}},MD={layout:{ProjectionNode:Mx,MeasureLayout:Hx}},CD={...$R,...AD,...mD,...MD},ln=QR(CD,FR),Go=E.forwardRef(({className:n,type:a,...l},s)=>O.jsx("input",{type:a,className:iu("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:s,...l}));Go.displayName="Input";const kx=E.forwardRef(({className:n,...a},l)=>O.jsx("textarea",{className:iu("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:l,...a}));kx.displayName="Textarea";const Pt={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.55,ease:"easeOut"}}};function RD(){const[n,a]=E.useState({name:"",email:"",phone:"",message:""}),[l,s]=E.useState(!1),[o,c]=E.useState(!1),[d,h]=E.useState(""),p=async m=>{m.preventDefault(),c(!0),h("");try{if(!(await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})).ok)throw new Error("Failed to send");s(!0)}catch{h("Something went wrong. Please try again or email [email protected] directly.")}finally{c(!1)}};return O.jsxs(O.Fragment,{children:[O.jsx("title",{children:"Changing the Focus â John Chappelear | Leadership Development"}),O.jsx("meta",{name:"description",content:"John Chappelear helps organizations build motivated, focused, and engaged teams through The Daily Six⢠methodology. 30+ years of leadership development experience."}),O.jsxs("section",{className:"relative bg-gradient-to-br from-primary to-primary/80 text-primary-foreground overflow-hidden py-24 lg:py-36",children:[O.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[O.jsx("div",{className:"absolute -top-20 -right-20 w-96 h-96 rounded-full bg-secondary/20 blur-3xl"}),O.jsx("div",{className:"absolute bottom-0 left-0 w-80 h-80 rounded-full bg-accent/10 blur-3xl"})]}),O.jsx("div",{className:"container mx-auto px-6 relative z-10",children:O.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[O.jsxs(ln.div,{initial:"hidden",animate:"visible",variants:Pt,children:[O.jsx("p",{className:"text-secondary font-semibold uppercase tracking-widest text-sm mb-4",children:"Leadership Development & Organizational Consulting"}),O.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold leading-tight mb-6",children:["Let's create a workplace where people are"," ",O.jsx("span",{className:"text-secondary",children:"motivated"}),","," ",O.jsx("span",{className:"text-accent",children:"focused"})," & engaged."]}
113),O.jsx("p",{className:"text-xl text-primary-foreground/80 mb-8 leading-relaxed",children:"With over 40 years of experience, John Chappelear helps organizations build lasting cultures of connection, trust, and high performance through his The Daily Six⢠methodology."}),O.jsxs("div",{className:"flex flex-wrap gap-4",children:[O.jsx(va,{size:"lg",className:"bg-accent hover:bg-accent/90 text-accent-foreground text-base px-8",onClick:()=>{const m=document.querySelector("#contact");m&&window.scrollTo({top:m.offsetTop-80,behavior:"smooth"})},children:"Work with Me!"}),O.jsx(va,{size:"lg",variant:"outline",className:"border-primary-foreground/40 text-primary-foreground hover:bg-primary-foreground/10 text-base px-8",onClick:()=>{const m=document.querySelector("#daily-six");m&&window.scrollTo({top:m.offsetTop-80,behavior:"smooth"})},children:"Learn More"})]})]}),O.jsx(ln.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.2,ease:"easeOut"},className:"flex justify-center",children:O.jsxs("div",{className:"relative",children:[O.jsx("div",{className:"absolute inset-0 rounded-3xl bg-secondary/30 blur-2xl scale-105"}),O.jsx("img",{src:"/assets/images/8962d35f94fe124e8e207487d0228b23.png",alt:"John Chappelear",className:"relative z-10 w-full max-w-md rounded-3xl shadow-2xl object-cover"})]})})]})})]}),O.jsx("section",{id:"daily-six",className:"py-24 bg-background scroll-mt-20",children:O.jsxs("div",{className:"container mx-auto px-6",children:[O.jsxs(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Pt,className:"text-center max-w-3xl mx-auto mb-16",children:[O.jsx("p",{className:"text-secondary font-semibold uppercase tracking-widest text-sm mb-3",children:"The Daily Sixâ¢"}),O.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-5",children:"Six Simple Steps to Permanent Positive Change"}),O.jsx("p",{className:"text-lg text-muted-foreground",children:"The Daily Six⢠is the foundation of everything we do at Changing the Focus. It's a proven methodology that changes how people feel about themselves and each other, creating a positive, productive, and engaged workforce for over 25 years, across all industries in 49 US States and 6 Countries."})]}),O.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[O.jsx(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Pt,children:O.jsx("img",{src:"/assets/images/37c3154d7cc01af6f1c367073dbe07e7.png",alt:"The Daily Six Book by John Chappelear",className:"w-full max-w-sm mx-auto rounded-2xl shadow-xl"})}),O.jsxs(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:{...Pt,visible:{...Pt.visible,transition:{duration:.55,delay:.15,ease:"easeOut"}}},className:"space-y-6",children:[[{icon:kg,title:"Build a Culture of Connection",desc:"The Daily Six⢠provides a shared language and daily practices that bring teams closer together and foster genuine belonging."},{icon:Xg,title:"Enhance Trust & Engagement",desc:"When people feel seen and valued, engagement follows naturally. Our methodology creates the conditions for trust to thrive."},{icon:Gg,title:"Align Purpose with Performance",desc:"Six Simple Steps to Find the Perfect Balance of Prosperity and Purpose â for individuals and the organizations they serve."},{icon:qg,title:"Versatile and Adaptable",desc:"The Daily Six has been adapted specifically to unique and varying audiences, including:|Senior Level Staff â in first-time leadership roles|Physicians and Nurses â in Healthcare|Graduate and Undergraduate Education â college and university settings|First Responders â police, firefighters, emergency room workers, and 911 operators|Families in Recovery â the only recovery plan that works with the alcoholic and addict and the family at the same time to build trust and restore balance"}].map(({icon:m,title:g,desc:v})=>O.jsxs("div",{className:"flex gap-4",children:[O.jsx("div",{className:"flex-shrink-0 w-12 h-12 rounded-xl bg-primary/10 flex items-center justify-center",children:O.jsx(m,{className:"h-6 w-6 text-primary"})}),O.jsxs("div",{children:[O.jsx("h3",{className:"font-semibold text-foreground text-lg mb-1",children:g}),v.includes("|")?O.jsxs("div",{className:"text-muted-foreground",children:[O.jsx("p",{className:"mb-2",children:v.split("|")[0]}),O.jsx("ul",{className:"space-y-1",children:v.split("|").slice(1).map(b=>O.jsxs("li",{className:"flex items-start gap-2",children:[O.jsx("span",{className:"mt-1.5 w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0"}),b]},b))})]}):O.jsx("p",{className:"text-muted-foreground",children:v})]})]},g)),O.jsx("div",{className:"pt-4",children:O.jsx(va,{className:"bg-primary hover:bg-primary/90 text-primary-foreground",onClick:()=>
113{const m=document.querySelector("#contact");m&&window.scrollTo({top:m.offsetTop-80,behavior:"smooth"})},children:"Get Your Free Chapter"})})]})]})]})}),O.jsx("section",{id:"about",className:"py-24 bg-muted scroll-mt-20",children:O.jsx("div",{className:"container mx-auto px-6",children:O.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[O.jsx(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Pt,children:O.jsx("img",{src:"/assets/images/a0344dac5edccceb2f1f1cb6d3fefd77.png",alt:"John Chappelear - Leadership Expert",className:"w-full max-w-md mx-auto rounded-2xl shadow-xl"})}),O.jsxs(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:{...Pt,visible:{...Pt.visible,transition:{duration:.55,delay:.15,ease:"easeOut"}}},children:[O.jsx("p",{className:"text-secondary font-semibold uppercase tracking-widest text-sm mb-3",children:"About John"}),O.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6",children:"Connecting Knowledge with Emotion"}),O.jsxs("div",{className:"space-y-4 text-muted-foreground text-lg leading-relaxed",children:[O.jsx("p",{children:"John Chappelear is a leadership development expert, author, and speaker with over 30 years of experience helping organizations create lasting, positive change. His work is grounded in the belief that sustainable transformation starts with how people feel â about themselves, their work, and each other. I can add some additonal content"}),O.jsx("p",{children:"As the creator of The Daily Six⢠methodology, John has guided hundreds of leaders and teams across industries to unlock their full potential by bridging the gap between knowledge and emotion."}),O.jsxs("p",{children:["His book, ",O.jsx("em",{className:"text-foreground font-medium",children:"The Daily Six"}),", offers six simple steps to find the perfect balance of prosperity and purpose â a framework that has transformed workplaces and lives."]})]}),O.jsx("div",{className:"mt-8 grid grid-cols-3 gap-6",children:[{value:"30+",label:"Years Experience"},{value:"500+",label:"Organizations Served"},{value:"1000s",label:"Lives Changed"}].map(({value:m,label:g})=>O.jsxs("div",{className:"text-center",children:[O.jsx("p",{className:"text-3xl font-bold text-primary",children:m}),O.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:g})]},g))})]})]})})}),O.jsx("section",{id:"services",className:"py-24 bg-background scroll-mt-20",children:O.jsxs("div",{className:"container mx-auto px-6",children:[O.jsxs(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Pt,className:"text-center max-w-3xl mx-auto mb-16",children:[O.jsx("p",{className:"text-secondary font-semibold uppercase tracking-widest text-sm mb-3",children:"Services"}),O.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-5",children:"Permanent, Positive Change for Your Organization"}),O.jsx("p",{className:"text-lg text-muted-foreground",children:"Whether you're looking to transform your culture, develop your leaders, or align your team around a shared vision â we have a program designed for you."})]}),O.jsx("div",{className:"grid md:grid-cols-3 gap-8 mb-16",children:[{icon:kg,title:"The Daily Six⢠Program",desc:"Our flagship program that underpins all organizational development. Builds a positive, productive, and connected workforce by changing how people feel about themselves and each other.",highlight:!0},{icon:Xg,title:"Insightful Leadership",desc:"Turns traditional leadership programs on their ear. Helps leaders understand that each employee is unique and changes for their own reasons â not ours. Concentrates on emotion as well as knowledge.",highlight:!1},{icon:Gg,title:"Strategic Direction",desc:"Aligns individual performance and goals with organizational goals in a clear, comprehensive, and measurable way â building on the foundation of the first two programs.",highlight:!1}].map(({icon:m,title:g,desc:v,highlight:b})=>O.jsxs(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Pt,className:`rounded-2xl p-8 border ${b?"bg-primary text-primary-foreground border-primary shadow-xl":"bg-card border-border hover:shadow-md transition-shadow"}`,children:[O.jsx("div",{className:`w-12 h-12 rounded-xl flex items-center justify-center mb-5 ${b?"bg-primary-foreground
113/20":"bg-primary/10"}`,children:O.jsx(m,{className:`h-6 w-6 ${b?"text-primary-foreground":"text-primary"}`})}),O.jsx("h3",{className:`text-xl font-bold mb-3 ${b?"text-primary-foreground":"text-foreground"}`,children:g}),O.jsx("p",{className:b?"text-primary-foreground/80":"text-muted-foreground",children:v})]},g))}),O.jsxs(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Pt,className:"bg-muted rounded-2xl p-10 max-w-4xl mx-auto",children:[O.jsx("h3",{className:"text-2xl font-bold text-foreground mb-2 text-center",children:"Does your organization struggle withâ¦"}),O.jsx("p",{className:"text-muted-foreground text-center mb-8",children:"If any of these sound familiar, let's talk."}),O.jsx("div",{className:"grid sm:grid-cols-2 gap-3",children:["Losing track of your strategy and vision?","Managers who don't manage?","Leaders who don't lead?","Plans that get forgotten?","High turnover and absenteeism?","Training that doesn't solve your issues?","Mistakes, missed deadlines, lost opportunities?","A negative or disconnected culture?"].map(m=>O.jsxs("div",{className:"flex items-start gap-3",children:[O.jsx(Yg,{className:"h-5 w-5 text-secondary flex-shrink-0 mt-0.5"}),O.jsx("p",{className:"text-foreground",children:m})]},m))}),O.jsx("div",{className:"text-center mt-8",children:O.jsx(va,{size:"lg",className:"bg-accent hover:bg-accent/90 text-accent-foreground px-10",onClick:()=>{const m=document.querySelector("#contact");m&&window.scrollTo({top:m.offsetTop-80,behavior:"smooth"})},children:"If yes â Let's Talk!"})})]})]})}),O.jsx("section",{className:"py-20 bg-gradient-to-r from-secondary to-secondary/80 text-secondary-foreground",children:O.jsx("div",{className:"container mx-auto px-6",children:O.jsxs(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Pt,className:"flex flex-col md:flex-row items-center justify-between gap-8 max-w-5xl mx-auto",children:[O.jsxs("div",{children:[O.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[O.jsx(qg,{className:"h-6 w-6 text-accent"}),O.jsx("p",{className:"font-semibold uppercase tracking-widest text-sm opacity-90",children:"Keynote Speaking"})]}),O.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:"Bring John to Your Next Event"}),O.jsx("p",{className:"text-secondary-foreground/80 text-lg max-w-xl",children:"An engaging, inspiring speaker who connects with audiences at every level â from front-line employees to the C-suite. John's talks leave people motivated to take action."})]}),O.jsx(va,{size:"lg",className:"flex-shrink-0 bg-accent hover:bg-accent/90 text-accent-foreground text-base px-10",onClick:()=>{const m=document.querySelector("#contact");m&&window.scrollTo({top:m.offsetTop-80,behavior:"smooth"})},children:"Book John to Speak"})]})})}),O.jsx("section",{id:"contact",className:"py-24 bg-background scroll-mt-20",children:O.jsxs("div",{className:"container mx-auto px-6",children:[O.jsxs(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Pt,className:"text-center max-w-2xl mx-auto mb-14",children:[O.jsx("p",{className:"text-secondary font-semibold uppercase tracking-widest text-sm mb-3",children:"Contact"}),O.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-5",children:"Let's Start a Conversation"}),O.jsx("p",{className:"text-lg text-muted-foreground",children:"Ready to transform your organization? Fill out the form below and John will be in touch personally."})]}),O.jsx(ln.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Pt,className:"max-w-2xl mx-auto",children:l?O.jsxs("div",{className:"text-center py-16 bg-muted rounded-2xl",children:[O.jsx(Yg,{className:"h-16 w-16 text-secondary mx-auto mb-4"}),O.jsx("h3",{className:"text-2xl font-bold text-foreground mb-2",children:"Message Sent!"}),O.jsx("p",{className:"text-muted-foreground",children:"Thank you for reaching out. John will be in touch with you shortly."})]}):O.jsxs("form",{onSubmit:p,className:"bg-card border border-border rounded-2xl p-8 shadow-sm space-y-5",children:[O.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[O.jsxs("div",{children:[O.jsxs("label",{htmlFor:"name",className:"block text-sm font-medium text-foreground mb-2",children:["Full Name ",O.jsx("span",{className:"text-destructive",children:"*"})]}),O.jsx(Go,{id:"name",value:n.name,onChange:m=>a({...n,name:m.target.value}),required:!0,placeholder:"Jane Smith"})]}),O.jsxs("div",{children:[O.jsx("label",{htmlFor:"phone",className:"block text-sm font-medium text-foreground mb-2",children:"Phone"}),O.jsx(Go,{id:"phone",type:"tel",value:n.phone,onChange:m=>a({...n,phone:m.target.value}),placeholder:"(555) 000-0000"})]})]}),O.jsxs("div",{children:[O.jsxs("label",{htmlFor:"email",className:"block text-sm font-medium text-foreground mb-2",children:["Email ",O.jsx("span",{className:"text-destructive",children:"*"})]}),O.jsx(Go,{id:"email",type:"email",value:n.email,onChange:m=>a({...n,email:m.target.value}),required:!0,placeholder:"[email protected]"})]}),O.jsxs("div",{children:[O.jsxs("label",{htmlFor:"message",className:"block text-sm font-medium text-foreground mb-2",children:["How can John help you? ",O.jsx("span",{className:"text-destructive",children:"*"})]}),O.jsx(kx,{id:"message",value:n.message,onChange:m=>a({...n,message:m.target.value}),required:!0,rows:5,placeholder:"Tell us about your organization and what you're looking to achieve..."})]}),O.jsx(va,{type:"submit",size:"lg",disabled:o,className:"w-full bg-accent hover:bg-accent/90 text-accent-foreground text-base font-semibold",children:o?"Sendingâ¦":"Send Message"}),d&&O.jsx("p",{className:"text-sm text-destructive text-center",children:d})]})})]})})]})}const DD=E.lazy(()=>c0(()=>import("./_404-CRwz2gVK.js"),__vite__mapDeps([0,1,2,3,4,5]))),zD=[{path:"/",element:O.jsx(RD,{})},{path:"*",element:O.jsx(DD,{})}],OD=E.lazy(()=>c0(()=>import("./CookieBanner-CdraU4tM.js"),__vite__mapDeps([6,1,2,3,4,5])).catch(n=>(console.warn("Failed to load CookieBanner:",n),{default:()=>null}))),jD=()=>O.jsx("div",{className:"flex justify-center py-8 h-screen items-center",children:O.jsx(Z2,{})}),ND=O.jsx(E.Suspense,{fallback:O.jsx(jD,{}),children:O.jsx(F2,{children:O.jsx(cE,{})})}),LD=[{element:ND,children:zD}],VD=BE(LD);function UD(){return O.jsxs(O.Fragment,{children:[O.jsx($E,{router:VD}),O.jsx(WE,{children:O.jsx(E.Suspense,{fallback:null,children:O.jsx(OD,{})})})]})}const BD=new P1({defaultOptions:{queries:{staleTime:1e3*60*5,gcTime:1e3*60*10,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}}),Xo=document.getElementById("app");if(!Xo)throw new Error("Root element not found");const u0=O.jsx(E.StrictMode,{children:O.jsx(bT,{children:O.jsx(J1,{client:BD,children:O.jsx(UD,{})})})});Xo.firstElementChild?rg.hydrateRoot(Xo,u0):rg.createRoot(Xo).render(u0);const GD=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));
113export{va as B,F0 as L,GD as m};
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.