PageSourceSearch

https://xposuremodeling.com/assets/index-DFRCGNMv.js

js xposuremodeling.com collected 2026-10-06 13:16:43 UTC 569,655 bytes, 87 lines download raw bytes

vendor: 4,690 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CookieBanner-BNTHc9mE.js","assets/query-Bf_KNblN.js","assets/radix-ui-CIsx_TBg.js","assets/react-vendor-BXhMAbgd.js"])))=>i.map(i=>d[i]);
2import{a as KT,j as y,r as E,R as YT,Q as XT,b as PT}from"./query-Bf_KNblN.js";import{r as qT}from"./react-vendor-BXhMAbgd.js";import{r as ZT}from"./radix-ui-CIsx_TBg.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function s(o){if(o.ep)return;o.ep=!0;const u=i(o);fetch(o.href,u)}})();var Lf={exports:{}},_l={},Vf={exports:{}},Bf={};/**
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 Rv;function FT(){return Rv||(Rv=1,(function(t){function n(H,G){var W=H.length;H.push(G);e:for(;0<W;){var ae=W-1>>>1,ve=H[ae];if(0<o(ve,G))H[ae]=G,H[W]=ve,W=ae;else break e}}function i(H){return H.length===0?null:H[0]}function s(H){if(H.length===0)return null;var G=H[0],W=H.pop();if(W!==G){H[0]=W;e:for(var ae=0,ve=H.length,be=ve>>>1;ae<be;){var Me=2*(ae+1)-1,Ee=H[Me],Xe=Me+1,ft=H[Xe];if(0>o(Ee,W))Xe<ve&&0>o(ft,Ee)?(H[ae]=ft,H[Xe]=W,ae=Xe):(H[ae]=Ee,H[Me]=W,ae=Me);else if(Xe<ve&&0>o(ft,W))H[ae]=ft,H[Xe]=W,ae=Xe;else break e}}return G}function o(H,G){var W=H.sortIndex-G.sortIndex;return W!==0?W:H.id-G.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var d=Date,h=d.now();t.unstable_now=function(){return d.now()-h}}var m=[],p=[],g=1,b=null,x=3,w=!1,T=!1,D=!1,j=!1,O=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,U=typeof setImmediate<"u"?setImmediate:null;function F(H){for(var G=i(p);G!==null;){if(G.callback===null)s(p);else if(G.startTime<=H)s(p),G.sortIndex=G.expirationTime,n(m,G);else break;G=i(p)}}function Q(H){if(D=!1,F(H),!T)if(i(m)!==null)T=!0,K||(K=!0,ee());else{var G=i(p);G!==null&&je(Q,G.startTime-H)}}var K=!1,pe=-1,M=5,ce=-1;function $(){return j?!0:!(t.unstable_now()-ce<M)}function Se(){if(j=!1,K){var H=t.unstable_now();ce=H;var G=!0;try{e:{T=!1,D&&(D=!1,V(pe),pe=-1),w=!0;var W=x;try{t:{for(F(H),b=i(m);b!==null&&!(b.expirationTime>H&&$());){var ae=b.callback;if(typeof ae=="function"){b.callback=null,x=b.priorityLevel;var ve=ae(b.expirationTime<=H);if(H=t.unstable_now(),typeof ve=="function"){b.callback=ve,F(H),G=!0;break t}b===i(m)&&s(m),F(H)}else s(m);b=i(m)}if(b!==null)G=!0;else{var be=i(p);be!==null&&je(Q,be.startTime-H),G=!1}}break e}finally{b=null,x=W,w=!1}G=void 0}}finally{G?ee():K=!1}}}var ee;if(typeof U=="function")ee=function(){U(Se)};else if(typeof MessageChannel<"u"){var qe=new MessageChannel,Ae=qe.port2;qe.port1.onmessage=Se,ee=function(){Ae.postMessage(null)}}else ee=function(){O(Se,0)};function je(H,G){pe=O(function(){H(t.unstable_now())},G)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(H){H.callback=null},t.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<H?Math.floor(1e3/H):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_next=function(H){switch(x){case 1:case 2:case 3:var G=3;break;default:G=x}var W=x;x=G;try{return H()}finally{x=W}},t.unstable_requestPaint=function(){j=!0},t.unstable_runWithPriority=function(H,G){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var W=x;x=H;try{return G()}finally{x=W}},t.unstable_scheduleCallback=function(H,G,W){var ae=t.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?ae+W:ae):W=ae,H){case 1:var ve=-1;break;case 2:ve=250;break;case 5:ve=1073741823;break;case 4:ve=1e4;break;default:ve=5e3}return ve=W+ve,H={id:g++,callback:G,priorityLevel:H,startTime:W,expirationTime:ve,sortIndex:-1},W>
vendor: 4,379 bytes, lines 10-18
10ae?(H.sortIndex=W,n(p,H),i(m)===null&&H===i(p)&&(D?(V(pe),pe=-1):D=!0,je(Q,W-ae))):(H.sortIndex=ve,n(m,H),T||w||(T=!0,K||(K=!0,ee()))),H},t.unstable_shouldYield=$,t.unstable_wrapCallback=function(H){var G=x;return function(){var W=x;x=G;try{return H.apply(this,arguments)}finally{x=W}}}})(Bf)),Bf}var _v;function GT(){return _v||(_v=1,Vf.exports=FT()),Vf.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 Dv;function QT(){if(Dv)return _l;Dv=1;var t=GT(),n=KT(),i=qT();function s(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)a+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+a+" 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 u(e){var a=e,r=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(r=a.return),e=a.return;while(e)}return a.tag===3?r:null}function d(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function h(e){if(e.tag===31){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function m(e){if(u(e)!==e)throw Error(s(188))}function p(e){var a=e.alternate;if(!a){if(a=u(e),a===null)throw Error(s(188));return a!==e?null:e}for(var r=e,l=a;;){var c=r.return;if(c===null)break;var f=c.alternate;if(f===null){if(l=c.return,l!==null){r=l;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===r)return m(c),e;if(f===l)return m(c),a;f=f.sibling}throw Error(s(188))}if(r.return!==l.return)r=c,l=f;else{for(var v=!1,S=c.child;S;){if(S===r){v=!0,r=c,l=f;break}if(S===l){v=!0,l=c,r=f;break}S=S.sibling}if(!v){for(S=f.child;S;){if(S===r){v=!0,r=f,l=c;break}if(S===l){v=!0,l=f,r=c;break}S=S.sibling}if(!v)throw Error(s(189))}}if(r.alternate!==l)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?e:a}function g(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=g(e),a!==null)return a;e=e.sibling}return null}var b=Object.assign,x=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),V=Symbol.for("react.consumer"),U=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),ce=Symbol.for("react.activity"),$=Symbol.for("react.memo_cache_sentinel"),Se=Symbol.iterator;function ee(e){return e===null||typeof e!="object"?null:(e=Se&&e[Se]||e["@@iterator"],typeof e=="function"?e:null)}var qe=Symbol.for("react.client.reference");function Ae(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===qe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case D:return"Fragment";case O:return"Profiler";case j:return"StrictMode";case Q:return"Suspense";case K:return"SuspenseList";case ce:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case U:return e.displayName||"Context";case V:return(e._context.displayName||"Context")+".Consumer";case F:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pe:return a=e.displayName||null,a!==null?a:Ae(e.type)||"Memo";case M:a=e._payload,e=e._init;try{return Ae(e(a))}catch{}}return null}var je=Array.isArray,H=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},ae=[],ve=-1;function be(e){return{current:e}}function Me(e){0>ve||(e.current=ae[ve],ae[ve]=null,ve--)}function Ee(e,a){ve++,ae[ve]=e.current,e.current=a}var Xe=be(null),ft=be(null),tt=be(null),Bt=be(null);function Mn(e,a){switch(Ee(tt,a),Ee(ft,e),Ee(Xe,null),a.nodeType){case 9:case 11:e=(e
vendor: 10,011 bytes, lines 18-25
18=a.documentElement)&&(e=e.namespaceURI)?Wy(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=Wy(a),e=Jy(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Me(Xe),Ee(Xe,e)}function St(){Me(Xe),Me(ft),Me(tt)}function Ea(e){e.memoizedState!==null&&Ee(Bt,e);var a=Xe.current,r=Jy(a,e.type);a!==r&&(Ee(ft,e),Ee(Xe,r))}function ti(e){ft.current===e&&(Me(Xe),Me(ft)),Bt.current===e&&(Me(Bt),Cl._currentValue=W)}var ni,ht;function Ut(e){if(ni===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);ni=a&&a[1]||"",ht=-1<r.stack.indexOf(`
19    at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
20`+ni+e+ht}var Aa=!1;function ai(e,a){if(!e||Aa)return"";Aa=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(a){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(Y){var B=Y}Reflect.construct(e,[],q)}else{try{q.call()}catch(Y){B=Y}e.call(q.prototype)}}else{try{throw Error()}catch(Y){B=Y}(q=e())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(Y){if(Y&&B&&typeof Y.stack=="string")return[Y.stack,B.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=l.DetermineComponentFrameRoot(),v=f[0],S=f[1];if(v&&S){var A=v.split(`
21`),L=S.split(`
22`);for(c=l=0;l<A.length&&!A[l].includes("DetermineComponentFrameRoot");)l++;for(;c<L.length&&!L[c].includes("DetermineComponentFrameRoot");)c++;if(l===A.length||c===L.length)for(l=A.length-1,c=L.length-1;1<=l&&0<=c&&A[l]!==L[c];)c--;for(;1<=l&&0<=c;l--,c--)if(A[l]!==L[c]){if(l!==1||c!==1)do if(l--,c--,0>c||A[l]!==L[c]){var X=`
23`+A[l].replace(" at new "," at ");return e.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",e.displayName)),X}while(1<=l&&0<=c);break}}}finally{Aa=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?Ut(r):""}function Zn(e,a){switch(e.tag){case 26:case 27:case 5:return Ut(e.type);case 16:return Ut("Lazy");case 13:return e.child!==a&&a!==null?Ut("Suspense Fallback"):Ut("Suspense");case 19:return Ut("SuspenseList");case 0:case 15:return ai(e.type,!1);case 11:return ai(e.type.render,!1);case 1:return ai(e.type,!0);case 31:return Ut("Activity");default:return""}}function po(e){try{var a="",r=null;do a+=Zn(e,r),r=e,e=e.return;while(e);return a}catch(l){return`
24Error generating stack: `+l.message+`
25`+l.stack}}var Bs=Object.prototype.hasOwnProperty,Ar=t.unstable_scheduleCallback,Us=t.unstable_cancelCallback,Ec=t.unstable_shouldYield,Ac=t.unstable_requestPaint,Wt=t.unstable_now,Ca=t.unstable_getCurrentPriorityLevel,ii=t.unstable_ImmediatePriority,Hs=t.unstable_UserBlockingPriority,ri=t.unstable_NormalPriority,Fn=t.unstable_LowPriority,Rn=t.unstable_IdlePriority,Cc=t.log,jc=t.unstable_setDisableYieldValue,ja=null,Jt=null;function Ht(e){if(typeof Cc=="function"&&jc(e),Jt&&typeof Jt.setStrictMode=="function")try{Jt.setStrictMode(ja,e)}catch{}}var Qt=Math.clz32?Math.clz32:Mc,go=Math.log,yo=Math.LN2;function Mc(e){return e>>>=0,e===0?32:31-(go(e)/yo|0)|0}var Gi=256,Ma=262144,Qi=4194304;function Gn(e){var a=e&42;if(a!==0)return a;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 Cr(e,a,r){var l=e.pendingLanes;if(l===0)return 0;var c=0,f=e.suspendedLanes,v=e.pingedLanes;e=e.warmLanes;var S=l&134217727;return S!==0?(l=S&~f,l!==0?c=Gn(l):(v&=S,v!==0?c=Gn(v):r||(r=S&~e,r!==0&&(c=Gn(r))))):(S=l&~f,S!==0?c=Gn(S):v!==0?c=Gn(v):r||(r=l&~e,r!==0&&(c=Gn(r)))),c===0?0:a!==0&&a!==c&&(a&f)===0&&(f=c&-c,r=a&-a,f>=r||f===32&&(r&4194048)!==0)?a:c}function si(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function Rc(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ks(){var e=Qi;return Qi<<=1,(Qi&62914560)===0&&(Qi=4194304),e}function li(e){for(var a=[],r=0;31>r;r++)a.push(e);return a}function la(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function vo(e,a,r,l,c,f){var v=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var S=e.entanglements,A=e.expirationTimes,L=e.hiddenUpdates;for(r=v&~r;0<r;){var X=31-Qt(r),q=1<<X;S[X]=0,A[X]=-1;var B=L[X];if(B!==null)for(L[X]=null,X=0;X<B.length;X++){var Y=B[X];Y!==null&&(Y.lane&=-536870913)}r&=~q}l!==0&&bo(e,l,0),f!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=f&~(v&~a))}function bo(e,a,r){e.pendingLanes|=a,e.suspendedLanes&=~a;var l=31-Qt(a);e.entangledLanes|=a,e.entanglements[l]=e.entanglements[l]|1073741824|r&261930}function xo(e,a){var r=e.entangledLanes|=a;for(e=e.entanglements;r;){var l=31-Qt(r),c=1<<l;c&a|e[l]&a&&(e[l]|=a),r&=~c}}function C(e,a){var r=a&-a;return r=(r&42)!==0?1:_(r),(r&(e.suspendedLanes|a))!==0?0:r}function _(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 z(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Z(){var e=G.p;return e!==0?e:(e=window.event,e===void 0?32:wv(e.type))}function I(e,a){var r=G.p;try{return G.p=e,a()}finally{G.p=r}}var se=Math.random().toString(36).slice(2),ne="__reactFiber$"+se,ge="__reactProps$"+se,te="__reactContainer$"+se,he="__reactEvents$"+se,Te="__reactListeners$"+se,Ne="__reactHandles$"+se,ye="__reactResources$"+se,Le="__reactMarker$"+se;function Qe(e){delete e[ne],delete e[ge],delete e[he],delete e[Te],delete e[Ne]}function mt(e){var a=e[ne];if(a)return a;for(var r=e.parentNode;r;){if(a=r[te]||r[ne]){if(r=a.alternate,a.child!==null||r!==null&&r.child!==null)for(e=sv(e);e!==null;){if(r=e[ne])return r;e=sv(e)}return a}e=r,r=e.parentNode}return null}function et(e){if(e=e[ne]||e[te]){var a=e.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return e}return null}function Ze(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(s(33))}function jt(e){var a=e[ye];return a||(a=e[ye]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Fe(e){e[Le]=!0}var oi=new Set,Qn={};function sn(e,a){en(e,a),en(e+"Capture",a)}function en(e,a){for(Qn[e]=a,e=0;e<a.length;e++)oi.add(a[e])}var _n=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]*$"),jr={},In={};function Mr(e){return Bs.call(In,e)?!0:Bs.call(jr,e)?!1:_n.test(e)?In[e]=!0:(jr[e]=!0,!1)}function Ra(e,a,r){if(Mr(a))if(r===null)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var l=a.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(a);return}}e.setAttribute(a,""+r)}}function _a(e,a,r){if(r===null)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttribute(a,""+r)}}function Re(e,a,r,l){if(l===null)e.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(a,r,""+l)}}function ot(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mn(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function $n(e,a,r){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,a);if(!e.hasOwnProperty(a)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var c=l.get,f=l.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return c.call(this)},set:function(v){r=""+v,f.call(this,v)}}),Object.defineProperty(e,a,{enumerable:l.enumerable}),{getValue:function(){return r},setValue:function(v){r=""+v},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function Rr(e){if(!e._valueTracker){var a=mn(e)?"checked":"value";e._valueTracker=$n(e,a,""+e[a])}}function _r(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var r=a.getValue(),l="";return e&&(l=mn(e)?e.checked?"true":"false":e.value),e=l,e!==r?(a.setValue(e),!0):!1}function nt(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 Da=/[\n"\\]/g;function tn(e){return e.replace(Da,function(a){return"\\"+a.charCo
vendor: 4,418 bytes, line 25
25deAt(0).toString(16)+" "})}function Ys(e,a,r,l,c,f,v,S){e.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.type=v:e.removeAttribute("type"),a!=null?v==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+ot(a)):e.value!==""+ot(a)&&(e.value=""+ot(a)):v!=="submit"&&v!=="reset"||e.removeAttribute("value"),a!=null?_c(e,v,ot(a)):r!=null?_c(e,v,ot(r)):l!=null&&e.removeAttribute("value"),c==null&&f!=null&&(e.defaultChecked=!!f),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.name=""+ot(S):e.removeAttribute("name")}function Zm(e,a,r,l,c,f,v,S){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.type=f),a!=null||r!=null){if(!(f!=="submit"&&f!=="reset"||a!=null)){Rr(e);return}r=r!=null?""+ot(r):"",a=a!=null?""+ot(a):r,S||a===e.value||(e.value=a),e.defaultValue=a}l=l??c,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=S?e.checked:!!l,e.defaultChecked=!!l,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.name=v),Rr(e)}function _c(e,a,r){a==="number"&&nt(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Dr(e,a,r,l){if(e=e.options,a){a={};for(var c=0;c<r.length;c++)a["$"+r[c]]=!0;for(r=0;r<e.length;r++)c=a.hasOwnProperty("$"+e[r].value),e[r].selected!==c&&(e[r].selected=c),c&&l&&(e[r].defaultSelected=!0)}else{for(r=""+ot(r),a=null,c=0;c<e.length;c++){if(e[c].value===r){e[c].selected=!0,l&&(e[c].defaultSelected=!0);return}a!==null||e[c].disabled||(a=e[c])}a!==null&&(a.selected=!0)}}function Fm(e,a,r){if(a!=null&&(a=""+ot(a),a!==e.value&&(e.value=a),r==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=r!=null?""+ot(r):""}function Gm(e,a,r,l){if(a==null){if(l!=null){if(r!=null)throw Error(s(92));if(je(l)){if(1<l.length)throw Error(s(93));l=l[0]}r=l}r==null&&(r=""),a=r}r=ot(a),e.defaultValue=r,l=e.textContent,l===r&&l!==""&&l!==null&&(e.value=l),Rr(e)}function Nr(e,a){if(a){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=a;return}}e.textContent=a}var LS=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 Qm(e,a,r){var l=a.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?l?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":l?e.setProperty(a,r):typeof r!="number"||r===0||LS.has(a)?a==="float"?e.cssFloat=r:e[a]=(""+r).trim():e[a]=r+"px"}function Im(e,a,r){if(a!=null&&typeof a!="object")throw Error(s(62));if(e=e.style,r!=null){for(var l in r)!r.hasOwnProperty(l)||a!=null&&a.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var c in a)l=a[c],a.hasOwnProperty(c)&&r[c]!==l&&Qm(e,c,l)}else for(var f in a)a.hasOwnProperty(f)&&Qm(e,f,a[f])}function Dc(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 VS=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
25dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),BS=/^[\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 So(e){return BS.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Na(){}var Nc=null;function Oc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Or=null,zr=null;function $m(e){var a=et(e);if(a&&(e=a.stateNode)){var r=e[ge]||null;e:switch(e=a.stateNode,a.type){case"input":if(Ys(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),a=r.name,r.type==="radio"&&a!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+tn(""+a)+'"][type="radio"]'),a=0;a<r.length;a++){var l=r[a];if(l!==e&&l.form===e.form){var c=l[ge]||null;if(!c)throw Error(s(90));Ys(l,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(a=0;a<r.length;a++)l=r[a],l.form===e.form&&_r(l)}break e;case"textarea":Fm(e,r.value,r.defaultValue);break e;case"select":a=r.value,a!=null&&Dr(e,!!r.multiple,a,!1)}}}var zc=!1;function Wm(e,a,r){if(zc)return e(a,r);zc=!0;try{var l=e(a);return l}finally{if(zc=!1,(Or!==null||zr!==null)&&(ou(),Or&&(a=Or,e=zr,zr=Or=null,$m(a),e)))for(a=0;a<e.length;a++)$m(e[a])}}function Xs(e,a){var r=e.stateNode;if(r===null)return null;var l=r[ge]||null;if(l===null)return null;r=l[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(s(231,a,typeof r));return r}var Oa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kc=!1;if(Oa)try{var Ps={};Object.defineProperty(Ps,"passive",{get:function(){kc=!0}}),window.addEventListener("test",Ps,Ps),window.removeEventListener("test",Ps,Ps)}catch{kc=!1}var ui=null,Lc=null,wo=null;function Jm(){if(wo)return wo;var e,a=Lc,r=a.length,l,c="value"in ui?ui.value:ui.textContent,f=c.length;for(e=0;e<r&&a[e]===c[e];e++);var v=r-e;for(l=1;l<=v&&a[r-l]===c[f-l];l++);return wo=c.slice(e,1<l?1-l:void 0)}function To(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function Eo(){return!0}function ep(){return!1}function ln(e){function a(r,l,c,f,v){this._reactName=r,this._targetInst=c,this.type=l,this.nativeEvent=f,this.target=v,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(r=e[S],this[S]=r?r(f):f[S]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Eo:ep,this.isPropagationStopped=ep,this}return b(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Eo)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Eo)},persist:function(){},isPersistent:Eo}),a}var Ii={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ao=ln(Ii),qs=b({},Ii,{view:0,detail:0}),US=ln(qs),Vc,Bc,Zs,Co=b({},qs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Hc,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!==Zs&&(Zs&&e.type==="mousemove"?(Vc=e.screenX-Zs.screenX,Bc=e.screenY-Zs.screenY):Bc=Vc=0,Zs=e),Vc)},movementY:function(e){return"movementY"in e?e.movementY:Bc}}),tp=ln(Co),HS=b({},Co,{dataTransfer:0}),KS=ln(HS),YS=b({},qs,{relatedTarget:0}),Uc=ln(YS),XS=b({},Ii,{animationName:0,elapsedTime:0,pseudoElement:0}),PS=ln(XS),qS=b({},Ii,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ZS=ln(qS),FS=b({},Ii,{data:0}),np=ln(FS),GS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},QS={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"},IS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $S(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=IS[e])?!!a[e]:!1}
vendor: 5,306 bytes, line 25
25function Hc(){return $S}var WS=b({},qs,{key:function(e){if(e.key){var a=GS[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=To(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?QS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Hc,charCode:function(e){return e.type==="keypress"?To(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?To(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),JS=ln(WS),ew=b({},Co,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ap=ln(ew),tw=b({},qs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Hc}),nw=ln(tw),aw=b({},Ii,{propertyName:0,elapsedTime:0,pseudoElement:0}),iw=ln(aw),rw=b({},Co,{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}),sw=ln(rw),lw=b({},Ii,{newState:0,oldState:0}),ow=ln(lw),uw=[9,13,27,32],Kc=Oa&&"CompositionEvent"in window,Fs=null;Oa&&"documentMode"in document&&(Fs=document.documentMode);var cw=Oa&&"TextEvent"in window&&!Fs,ip=Oa&&(!Kc||Fs&&8<Fs&&11>=Fs),rp=" ",sp=!1;function lp(e,a){switch(e){case"keyup":return uw.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function op(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var kr=!1;function dw(e,a){switch(e){case"compositionend":return op(a);case"keypress":return a.which!==32?null:(sp=!0,rp);case"textInput":return e=a.data,e===rp&&sp?null:e;default:return null}}function fw(e,a){if(kr)return e==="compositionend"||!Kc&&lp(e,a)?(e=Jm(),wo=Lc=ui=null,kr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return ip&&a.locale!=="ko"?null:a.data;default:return null}}var hw={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 up(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!hw[e.type]:a==="textarea"}function cp(e,a,r,l){Or?zr?zr.push(l):zr=[l]:Or=l,a=pu(a,"onChange"),0<a.length&&(r=new Ao("onChange","change",null,r,l),e.push({event:r,listeners:a}))}var Gs=null,Qs=null;function mw(e){Zy(e,0)}function jo(e){var a=Ze(e);if(_r(a))return e}function dp(e,a){if(e==="change")return a}var fp=!1;if(Oa){var Yc;if(Oa){var Xc="oninput"in document;if(!Xc){var hp=document.createElement("div");hp.setAttribute("oninput","return;"),Xc=typeof hp.oninput=="function"}Yc=Xc}else Yc=!1;fp=Yc&&(!document.documentMode||9<document.documentMode)}function mp(){Gs&&(Gs.detachEvent("onpropertychange",pp),Qs=Gs=null)}function pp(e){if(e.propertyName==="value"&&jo(Qs)){var a=[];cp(a,Qs,e,Oc(e)),Wm(mw,a)}}function pw(e,a,r){e==="focusin"?(mp(),Gs=a,Qs=r,Gs.attachEvent("onpropertychange",pp)):e==="focusout"&&mp()}function gw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return jo(Qs)}function yw(e,a){if(e==="click")return jo(a)}function vw(e,a){if(e==="input"||e==="change")return jo(a)}function bw(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var pn=typeof Object.is=="function"?Object.is:bw;function Is(e,a){if(pn(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var r=Object.keys(e),l=Object.keys(a);if(r.length!==l.length)return!1;for(l=0;l<r.length;l++){var c=r[l];if(!Bs.call(a,c)||!pn(e[c],a[c]))return!1}return!0}function gp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function yp(e,a){var r=gp(e);e=0;for(var l;r;){if(r.nodeType===3){if(l=e+r.textContent.length,e<=a&&l>=a)return{node:r,offset:a-e};e=l}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=gp(r)}}function vp(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?vp(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function bp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=nt(e.document);a instanceof e.HTMLIFrameElement;){try{var r=typeof a.contentWindow.location.href=="string"}catch{r=!1}if(r)e=a.contentWindow;else break;a=nt(e.document)}return a}function Pc(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}var xw=Oa&&"documentMode"in document&&11>=document.documentMode,Lr=null,qc=null,$s=null,Zc=!1;function xp(e,a,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Zc||Lr==null||Lr!==nt(l)||(l=Lr,"selectionStart"in l&&Pc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focu
vendor: 19,001 bytes, line 25
25sNode:l.focusNode,focusOffset:l.focusOffset}),$s&&Is($s,l)||($s=l,l=pu(qc,"onSelect"),0<l.length&&(a=new Ao("onSelect","select",null,a,r),e.push({event:a,listeners:l}),a.target=Lr)))}function $i(e,a){var r={};return r[e.toLowerCase()]=a.toLowerCase(),r["Webkit"+e]="webkit"+a,r["Moz"+e]="moz"+a,r}var Vr={animationend:$i("Animation","AnimationEnd"),animationiteration:$i("Animation","AnimationIteration"),animationstart:$i("Animation","AnimationStart"),transitionrun:$i("Transition","TransitionRun"),transitionstart:$i("Transition","TransitionStart"),transitioncancel:$i("Transition","TransitionCancel"),transitionend:$i("Transition","TransitionEnd")},Fc={},Sp={};Oa&&(Sp=document.createElement("div").style,"AnimationEvent"in window||(delete Vr.animationend.animation,delete Vr.animationiteration.animation,delete Vr.animationstart.animation),"TransitionEvent"in window||delete Vr.transitionend.transition);function Wi(e){if(Fc[e])return Fc[e];if(!Vr[e])return e;var a=Vr[e],r;for(r in a)if(a.hasOwnProperty(r)&&r in Sp)return Fc[e]=a[r];return e}var wp=Wi("animationend"),Tp=Wi("animationiteration"),Ep=Wi("animationstart"),Sw=Wi("transitionrun"),ww=Wi("transitionstart"),Tw=Wi("transitioncancel"),Ap=Wi("transitionend"),Cp=new Map,Gc="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(" ");Gc.push("scrollEnd");function Wn(e,a){Cp.set(e,a),sn(a,[e])}var Mo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Dn=[],Br=0,Qc=0;function Ro(){for(var e=Br,a=Qc=Br=0;a<e;){var r=Dn[a];Dn[a++]=null;var l=Dn[a];Dn[a++]=null;var c=Dn[a];Dn[a++]=null;var f=Dn[a];if(Dn[a++]=null,l!==null&&c!==null){var v=l.pending;v===null?c.next=c:(c.next=v.next,v.next=c),l.pending=c}f!==0&&jp(r,c,f)}}function _o(e,a,r,l){Dn[Br++]=e,Dn[Br++]=a,Dn[Br++]=r,Dn[Br++]=l,Qc|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Ic(e,a,r,l){return _o(e,a,r,l),Do(e)}function Ji(e,a){return _o(e,null,null,a),Do(e)}function jp(e,a,r){e.lanes|=r;var l=e.alternate;l!==null&&(l.lanes|=r);for(var c=!1,f=e.return;f!==null;)f.childLanes|=r,l=f.alternate,l!==null&&(l.childLanes|=r),f.tag===22&&(e=f.stateNode,e===null||e._visibility&1||(c=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,c&&a!==null&&(c=31-Qt(r),e=f.hiddenUpdates,l=e[c],l===null?e[c]=[a]:l.push(a),a.lane=r|536870912),f):null}function Do(e){if(50<bl)throw bl=0,sf=null,Error(s(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var Ur={};function Ew(e,a,r,l){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gn(e,a,r,l){return new Ew(e,a,r,l)}function $c(e){return e=e.prototype,!(!e||!e.isReactComponent)}function za(e,a){var r=e.alternate;return r===null?(r=gn(e.tag,a,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=a,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,a=e.dependencies,r.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function Mp(e,a){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,a=r.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),e}function No(e,a,r,l,c,f){var v=0;if(l=e,typeof e=="function")$c(e)&&(v=1);else if(typeof e=="string")v=RT(e,r,Xe.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ce:return e=gn(31,r,a,c),e.elementType=ce,e.lanes=f,e;case D:return er(r.children,c,f,a);case j:v=8,c|=24;break;case O:return e=gn(12,r,a,c|2),e.elementType=O,e.lanes=f,e;case Q:return e=gn(13,r,a,c),e.elementType=Q,e.lanes=f,e;case K:return e=gn(19,r,a,c),e.elementType=K,e.lanes=f,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case U:v=10;break e;case V:v=9;break e;case F:v=11;break e;case pe:v=14;break e;case M:v=16,l=null;break e}v=29,r=Error(s(130,e===null?"null":typeof e,"")),l=null}return a=gn(v,r,a,c),a.elementType=e,a.type=l,a.lanes=f,a}function er(e,a,r,l){return e=gn(7,e,l,a),e.lanes=r,e}function Wc(e,a,r){return e=gn(6,e,null,a),e.lanes=r,e}function Rp(e){var a=gn(18,null,null,0);return a.stateNode=e,a}function Jc(e,a,r){return a=gn(4,e.children!==null?e.children:[],e.key,a),a.lanes=r,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}var _p=new WeakMap;function Nn(e,a){if(typeof e=="object"&&e!==null){var r=_p.get(e);return r!==void 0?r:(a={value:e,source:a,stack:po(a)},_p.set(e,a),a)}return{value:e,source:a,stack:po(a)}}var Hr=[],Kr=0,Oo=null,Ws=0,On=[],zn=0,ci=null,oa=1,ua="";function ka(e,a){Hr[Kr++]=Ws,Hr[Kr++]=Oo,Oo=e,Ws=a}function Dp(e,a,r){On[zn++]=oa,On[zn++]=ua,On[zn++]=ci,ci=e;var l=oa;e=ua;var c=32-Qt(l)-1;l&=~(1<<c),r+=1;var f=32-Qt(a)+c;if(30<f){var v=c-c%5;f=(l&(1<<v)-1).toString(32),l>>=v,c-=v,oa=1<<32-Qt(a)+c|r<<c|l,ua=f+e}else oa=1<<f|r<<c|l,ua=e}function ed(e){e.return!==null&&(ka(e,1),Dp(e,1,0))}function td(e){for(;e===Oo;)Oo=Hr[--Kr],Hr[Kr]=null,Ws=Hr[--Kr],Hr[Kr]=null;for(;e===ci;)ci=On[--zn],On[zn]=null,ua=On[--zn],On[zn]=null,oa=On[--zn],On[zn]=null}function Np(e,a){On[zn++]=oa,On[zn++]=ua,On[zn++]=ci,oa=a.id,ua=a.overflow,ci=e}var Yt=null,pt=null,Pe=!1,di=null,kn=!1,nd=Error(s(519));function fi(e){var a=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Js(Nn(a,e)),nd}function Op(e){var a=e.stateNode,r=e.type,l=e.memoizedProps;switch(a[ne]=e,a[ge]=l,r){case"dialog":He("cancel",a),He("close",a);break;case"iframe":case"object":case"embed":He("load",a);break;case"video":case"audio":for(r=0;r<Sl.length;r++)He(Sl[r],a);break;case"source":He("error",a);break;case"img":case"image":case"link":He("error",a),He("load",a);break;case"details":He("toggle",a);break;case"input":He("invalid",a),Zm(a,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":He("invalid",a);break;case"textarea":He("invalid",a),Gm(a,l.value,l.defaultValue,l.children)}r=l.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||a.textContent===""+r||l.suppressHydrationWarning===!0||Iy(a.textContent,r)?(l.popover!=null&&(He("beforetoggle",a),He("toggle",a)),l.onScroll!=null&&He("scroll",a),l.onScrollEnd!=null&&He("scrollend",a),l.onClick!=null&&(a.onclick=Na),a=!0):a=!1,a||fi(e,!0)}function zp(e){for(Yt=e.return;Yt;)switch(Yt.tag){case 5:case 31:case 13:kn=!1;return;case 27:case 3:kn=!0;return;default:Yt=Yt.return}}function Yr(e){if(e!==Yt)return!1;if(!Pe)return zp(e),Pe=!0,!1;var a=e.tag,r;if((r=a!==3&&a!==27)&&((r=a===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Sf(e.type,e.memoizedProps)),r=!r),r&&pt&&fi(e),zp(e),a===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));pt=rv(e)}else if(a===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));pt=rv(e)}else a===27?(a=pt,Ci(e.type)?(e=Cf,Cf=null,pt=e):pt=a):pt=Yt?Vn(e.stateNode.nextSibling):null;return!0}function tr(){pt=Yt=null,Pe=!1}function ad(){var e=di;return e!==null&&(dn===null?dn=e:dn.push.apply(dn,e),di=null),e}function Js(e){di===null?di=[e]:di.push(e)}var id=be(null),nr=null,La=null;function hi(e,a,r){Ee(id,a._currentValue),a._currentValue=r}function Va(e){e._currentValue=id.current,Me(id)}function rd(e,a,r){for(;e!==null;){var l=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,l!==null&&(l.childLanes|=a)):l!==null&&(l.childLanes&a)!==a&&(l.childLanes|=a),e===r)break;e=e.return}}function sd(e,a,r,l){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var f=c.dependencies;if(f!==null){var v=c.child;f=f.firstContext;e:for(;f!==null;){var S=f;f=c;for(var A=0;A<a.length;A++)if(S.context===a[A]){f.lanes|=r,S=f.alternate,S!==null&&(S.lanes|=r),rd(f.return,r,e),l||(v=null);break e}f=S.next}}else if(c.tag===18){if(v=c.return,v===null)throw Error(s(341));v.lanes|=r,f=v.alternate,f!==null&&(f.lanes|=r),rd(v,r,e),v=null}else v=c.child;if(v!==null)v.return=c;else for(v=c;v!==null;){if(v===e){v=null;break}if(c=v.sibling,c!==null){c.return=v.return,v=c;break}v=v.return}c=v}}function Xr(e,a,r,l){e=null;for(var c=a,f=!1;c!==null;){if(!f){if((c.flags&524288)!==0)f=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var v=c.alternate;if(v===null)throw Error(s(387));if(v=v.memoizedProps,v!==null){var S=c.type;pn(c.pendingProps.value,v.value)||(e!==null?e.push(S):e=[S])}}else if(c===Bt.current){if(v=c.alternate,v===null)throw Error(s(387));v.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Cl):e=[Cl])}c=c.return}e!==null&&sd(a,e,r,l),a.flags|=262144}function zo(e){for(e=e.firstContext;e!==null;){if(!pn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ar(e){nr=e,La=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Xt(e){return kp(nr,e)}function ko(e,a){return nr===null&&ar(e),kp(e,a)}function kp(e,a){var r=a._currentValue;if(a={context:a,memoizedValue:r,next:null},La===null){if(e===null)throw Error(s(308));La=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else La=La.next=a;return r}var Aw=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(r,l){e.push(l)}};this.abort=function(){a.aborted=!0,e.forEach(function(r){return r()})}},Cw=t.unstable_scheduleCallback,jw=t.unstable_NormalPriority,_t={$$typeof:U,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ld(){return{controller:new Aw,data:new Map,refCount:0}}function el(e){e.refCount--,e.refCount===0&&Cw(jw,function(){e.controller.abort()})}var tl=null,od=0,Pr=0,qr=null;function Mw(e,a){if(tl===null){var r=tl=[];od=0,Pr=ff(),qr={status:"pending",value:void 0,then:function(l){r.push(l)}}}return od++,a.then(Lp,Lp),a}function Lp(){if(--od===0&&tl!==null){qr!==null&&(qr.status="fulfilled");var e=tl;tl=null,Pr=0,qr=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function Rw(e,a){var r=[],l={status:"pending",value:null,reason:null,then:function(c){r.push(c)}};return e.then(function(){l.status="fulfilled",l.value=a;for(var c=0;c<r.length;c++)(0,r[c])(a)},function(c){for(l.status="rejected",l.reason=c,c=0;c<r.length;c++)(0,r[c])(void 0)}),l}var Vp=H.S;H.S=function(e,a){xy=Wt(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&Mw(e,a),Vp!==null&&Vp(e,a)};var ir=be(null);function ud(){var e=ir.current;return e!==null?e:ut.pooledCache}function Lo(e,a){a===null?Ee(ir,ir.current):Ee(ir,a.pool)}function Bp(){var e=ud();return e===null?null:{parent:_t._currentValue,pool:e}}var Zr=Error(s(460)),cd=Error(s(474)),Vo=Error(s(542)),Bo={then:function(){}};function Up(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Hp(e,a,r){switch(r=e[r],r===void 0?e.push(a):r!==a&&(a.then(Na,Na),a=r),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,Yp(e),e;default:if(typeof a.status=="string")a.then(Na,Na);else{if(e=ut,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=a,e.status="pending",e.then(function(l){if(a.status==="pending"){var c=a;c.status="fulfilled",c.value=l}},function(l){if(a.status==="pending"){var c=a;c.status="rejected",c.reason=l}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,Yp(e),e}throw sr=a,Zr}}function rr(e){try{var a=e._init;return a(e._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(sr=r,Zr):r}}var sr=null;function Kp(){if(sr===null)throw Error(s(459));var e=sr;return sr=null,e}function Yp(e){if(e===Zr||e===Vo)throw Error(s(483))}var Fr=null,nl=0;function Uo(e){var a=nl;return nl+=1,Fr===null&&(Fr=[]),Hp(Fr,e,a)}function al(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function Ho(e,a){throw a.$$typeof===x?Error(s(525)):(e=Object.prototype.toString.call(a),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function Xp(e){function a(N,R){if(e){var k=N.deletions;k===null?(N.deletions=[R],N.flags|=16):k.push(R)}}function r(N,R){if(!e)return null;for(;R!==null;)a(N,R),R=R.sibling;return null}function l(N){for(var R=new Map;N!==null;)N.key!==null?R.set(N.key,N):R.set(N.index,N),N=N.sibling;return R}function c(N,R){return N=za(N,R),N.index=0,N.sibling=null,N}function f(N,R,k){return N.index=k,e?(k=N.alternate,k!==null?(k=k.index,k<R?(N.flags|=67108866,R):k):(N.flags|=67108866,R)):(N.flags|=1048576,R)}function v(N){return e&&N.alternate===null&&(N.flags|=67108866),N}function S(N,R,k,P){return R===null||R.tag!==6?(R=Wc(k,N.mode,P),R.return=N,R):(R=c(R,k),R.return=N,R)}function A(N,R,k,P){var xe=k.type;return xe===D?X(N,R,k.props.children,P,k.key):R!==null&&(R.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===M&&rr(xe)===R.type)?(R=c(R,k.props),al(R,k),R.return=N,R):(R=No(k.type,k.key,k.props,null,N.mode,P),al(R,k),R.return=N,R)}function L(N,R,k,P){return R===null||R.tag!==4||R.stateNode.containerInfo!==k.containerInfo||R.stateNode.implementation!==k.implementation?(R=Jc(k,N.mode,P),R.return=N,R):(R=c(R,k.children||[]),R.return=N,R)}function X(N,R,k,P,xe){return R===null||R.tag!==7?(R=er(k,N.mode,P,xe),R.return=N,R):(R=c(R,k),R.return=N,R)}function q(N,R,k){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=Wc(""+R,N.mode,k),R.return=N,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case w:return k=No(R.type,R.key,R.props,null,N.mode,k),al(k,R),k.return=N,k;case T:return R=Jc(R,N.mode,k),R.return=N,R;case M:return R=rr(R),q(N,R,k)}if(je(R)||ee(R))return R=er(R,N.mode,k,null),R.return=N,R;if(typeof R.then=="function")return q(N,Uo(R),k);if(R.$$typeof===U)return q(N,ko(N,R),k);Ho(N,R)}return null}function B(N,R,k,P){var xe=R!==null?R.key:null;if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return xe!==null?null:S(N,R,""+k,P);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case w:return k.key===xe?A(N,R,k,P):null;case T:return k.key===xe?L(N,R,k,P):null;case M:return k=rr(k),B(N,R,k,P)}if(je(k)||ee(k))return xe!==null?null:X(N,R,k,P,null);if(typeof k.then=="function")return B(N,R,Uo(k),P);if(k.$$typeof===U)return B(N,R,ko(N,k),P);Ho(N,k)}return null}function Y(N,R,k,P,xe){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return N=N.get(k)||null,S(R,N,""+P,xe);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case w:return N=N.get(P.key===null?k:P.key)||null,A(R,N,P,xe);case T:return N=N.get(P.key===null?k:P.key)||null,L(R,N,P,xe);case M:return P=rr(P),Y(N,R,k,P,xe)}if(je(P)||ee(P))return N=N.get(k)||null,X(R,N,P,xe,null);if(typeof P.then=="function")return Y(N,R,k,Uo(P),xe);if(P.$$typeof===U)return Y(N,R,k,ko(R,P),xe);Ho(R,P)}return null}function le(N,R,k,P){for(var xe=null,Ie=null,fe=R,ze=R=0,Ye=null;fe!==null&&ze<k.length;ze++){fe.index>ze?(Ye=fe,fe=null):Ye=fe.sibling;var $e=B(N,fe,k[ze],P);if($e===null){fe===null&&(fe=Ye);break}e&&fe&&$e.alternate===null&&a(N,fe),R=f($e,R,ze),Ie===null?xe=$e:Ie.sibling=$e,Ie=$e,fe=Ye}if(ze===k.length)return r(N,fe),Pe&&ka(N,ze),xe;if(fe===null){for(;ze<k.length;ze++)fe=q(N,k[ze],P),fe!==null&&(R=f(fe,R,ze),Ie===null?xe=fe:Ie.sibling=fe,Ie=fe);return Pe&&ka(N,ze),xe}for(fe=l(fe);ze<k.length;ze++)Ye=Y(fe,N,ze,k[ze],P),Ye!==null&&(e&&Ye.alternate!==null&&fe.delete(Ye.key===null?ze:Ye.key),R=f(Ye,R,ze),Ie===null?xe=Ye:Ie.sibling=Ye,Ie=Ye);return e&&fe.forEach(function(Di){return a(N,Di)}),Pe&&ka(N,ze),xe}function we(N,R,k,P){if(k==null)throw Error(s(151));for(var xe=null,Ie=null,fe=R,ze=R=0,Ye=null,$e=k.next();fe!==null&&!$e.done;ze++,$e=k.next()){fe.index>ze?(Ye=fe,fe=null):Ye=fe.sibling;var Di=B(N,fe,$e.value,P);if(Di===null){fe===null&&(fe=Ye);break}e&&fe&&Di.alternate===null&&a(N,fe),R=f(Di,R,ze),Ie===null?xe=Di:Ie.sibling=Di,Ie=Di,fe=Ye}if($e.done)return r(N,fe),Pe&&ka(N,ze),xe;if(fe===null){for(;!$e.done;ze++,$e=k.next())$e=q(N,$e.value,P),$e!==null&&(R=f($e,R,ze),Ie===null?xe=$e:Ie.sibling=$e,Ie=$e);return Pe&&ka(N,ze),xe}for(fe=l(fe);!$e.done;ze++,$e=k.next())$e=Y(fe,N,ze,$e.value,P),$e!==null&&(e&&$e.alternate!==null&&fe.delete($e.key===null?ze:$e.key),R=f($e,R,ze),Ie===null?xe=$e:Ie.sibling=$e,Ie=$e);return e&&fe.forEach(function(HT){return a(N,HT)}),Pe&&ka(N,ze),xe}function lt(N,R,k,P){if(typeof k=="object"&&k!==null&&k.type===D&&k.key===null&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case w:e:{for(var xe=k.key;R!==null;){if(R.key===xe){if(xe=k.type,xe===D){if(R.tag===7){r(N,R.sibling),P=c(R,k.props.children),P.return=N,N=P;break e}}else if(R.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===M&&rr(xe)===R.type){r(N,R.sibling),P=c(R,k.props),al(P,k),P.return=N,N=P;break e}r(N,R);break}else a(N,R);R=R.sibling}k.type===D?(P=er(k.props.children,N.mode,P,k.key),P.return=N,N=P):(P=No(k.type,k.key,k.props,null,N.mode,P),al(P,k),P.return=N,N=P)}return v(N);case T:e:{for(xe=k.key;R!==null;){if(R.key===xe)if(R.tag===4&&R.stateNode.containerInfo===k.containerInfo&&R.stateNode.implementation===k.implementation){r(N,R.sibling),P=c(R,k.children||[]),P.return=N,N=P;break e}else{r(N,R);break}else a(N,R);R=R.sibling}P=Jc(k,N.mode,P),P.return=N,N=P}return v(N);case M:return k=rr(k),lt(N,R,k,P)}if(je(k))return le(N,R,k,P);if(ee(k)){if(xe=ee(k),typeof xe!="function")throw Error(s(150));return k=xe.call(k),we(N,R,k,P)}if(typeof k.then=="function")return lt(N,R,Uo(k),P);if(k.$$typeof===U)return lt(N,R,ko(N,k),P);
vendor: 4,928 bytes, line 25
25Ho(N,k)}return typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint"?(k=""+k,R!==null&&R.tag===6?(r(N,R.sibling),P=c(R,k),P.return=N,N=P):(r(N,R),P=Wc(k,N.mode,P),P.return=N,N=P),v(N)):r(N,R)}return function(N,R,k,P){try{nl=0;var xe=lt(N,R,k,P);return Fr=null,xe}catch(fe){if(fe===Zr||fe===Vo)throw fe;var Ie=gn(29,fe,null,N.mode);return Ie.lanes=P,Ie.return=N,Ie}finally{}}}var lr=Xp(!0),Pp=Xp(!1),mi=!1;function dd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fd(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function pi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function gi(e,a,r){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Je&2)!==0){var c=l.pending;return c===null?a.next=a:(a.next=c.next,c.next=a),l.pending=a,a=Do(e),jp(e,null,r),a}return _o(e,l,a,r),Do(e)}function il(e,a,r){if(a=a.updateQueue,a!==null&&(a=a.shared,(r&4194048)!==0)){var l=a.lanes;l&=e.pendingLanes,r|=l,a.lanes=r,xo(e,r)}}function hd(e,a){var r=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var c=null,f=null;if(r=r.firstBaseUpdate,r!==null){do{var v={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};f===null?c=f=v:f=f.next=v,r=r.next}while(r!==null);f===null?c=f=a:f=f.next=a}else c=f=a;r={baseState:l.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:l.shared,callbacks:l.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=a:e.next=a,r.lastBaseUpdate=a}var md=!1;function rl(){if(md){var e=qr;if(e!==null)throw e}}function sl(e,a,r,l){md=!1;var c=e.updateQueue;mi=!1;var f=c.firstBaseUpdate,v=c.lastBaseUpdate,S=c.shared.pending;if(S!==null){c.shared.pending=null;var A=S,L=A.next;A.next=null,v===null?f=L:v.next=L,v=A;var X=e.alternate;X!==null&&(X=X.updateQueue,S=X.lastBaseUpdate,S!==v&&(S===null?X.firstBaseUpdate=L:S.next=L,X.lastBaseUpdate=A))}if(f!==null){var q=c.baseState;v=0,X=L=A=null,S=f;do{var B=S.lane&-536870913,Y=B!==S.lane;if(Y?(Ke&B)===B:(l&B)===B){B!==0&&B===Pr&&(md=!0),X!==null&&(X=X.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var le=e,we=S;B=a;var lt=r;switch(we.tag){case 1:if(le=we.payload,typeof le=="function"){q=le.call(lt,q,B);break e}q=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=we.payload,B=typeof le=="function"?le.call(lt,q,B):le,B==null)break e;q=b({},q,B);break e;case 2:mi=!0}}B=S.callback,B!==null&&(e.flags|=64,Y&&(e.flags|=8192),Y=c.callbacks,Y===null?c.callbacks=[B]:Y.push(B))}else Y={lane:B,tag:S.tag,payload:S.payload,callback:S.callback,next:null},X===null?(L=X=Y,A=q):X=X.next=Y,v|=B;if(S=S.next,S===null){if(S=c.shared.pending,S===null)break;Y=S,S=Y.next,Y.next=null,c.lastBaseUpdate=Y,c.shared.pending=null}}while(!0);X===null&&(A=q),c.baseState=A,c.firstBaseUpdate=L,c.lastBaseUpdate=X,f===null&&(c.shared.lanes=0),Si|=v,e.lanes=v,e.memoizedState=q}}function qp(e,a){if(typeof e!="function")throw Error(s(191,e));e.call(a)}function Zp(e,a){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)qp(r[e],a)}var Gr=be(null),Ko=be(0);function Fp(e,a){e=Za,Ee(Ko,e),Ee(Gr,a),Za=e|a.baseLanes}function pd(){Ee(Ko,Za),Ee(Gr,Gr.current)}function gd(){Za=Ko.current,Me(Gr),Me(Ko)}var yn=be(null),Ln=null;function yi(e){var a=e.alternate;Ee(Mt,Mt.current&1),Ee(yn,e),Ln===null&&(a===null||Gr.current!==null||a.memoizedState!==null)&&(Ln=e)}function yd(e){Ee(Mt,Mt.current),Ee(yn,e),Ln===null&&(Ln=e)}function Gp(e){e.tag===22?(Ee(Mt,Mt.current),Ee(yn,e),Ln===null&&(Ln=e)):vi()}function vi(){Ee(Mt,Mt.current),Ee(yn,yn.current)}function vn(e){Me(yn),Ln===e&&(Ln=null),Me(Mt)}var Mt=be(0);function Yo(e){for(var a=e;a!==null;){if(a.tag===13){var r=a.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Ef(r)||Af(r)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Ba=0,Oe=null,rt=null,Dt=null,Xo=!1,Qr=!1,or=!1,Po=0,ll=0,Ir=null,_w=0;function wt(){throw Error(s(321))}function vd(e,a){if(a===null)return!1;for(var r=0;r<a.length&&r<e.length;r++)if(!pn(e[r],a[r]))return!1;return!0}function bd(e,a,r,l,c,f){return Ba=f,Oe=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,H.H=e===null||e.memoizedState===null?Dg:zd,or=!1,f=r(l,c),or=!1,Qr&&(f=Ip(a,r,l,c)),Qp(e),f}function Qp(e){H.H=cl;var a=rt!==null&&rt.next!==null;if(Ba=0,Dt=rt=Oe=null,Xo=!1,ll=0,Ir=null,a)throw Error(s(300));
vendor: 12,757 bytes, line 25
25e===null||Nt||(e=e.dependencies,e!==null&&zo(e)&&(Nt=!0))}function Ip(e,a,r,l){Oe=e;var c=0;do{if(Qr&&(Ir=null),ll=0,Qr=!1,25<=c)throw Error(s(301));if(c+=1,Dt=rt=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.H=Ng,f=a(r,l)}while(Qr);return f}function Dw(){var e=H.H,a=e.useState()[0];return a=typeof a.then=="function"?ol(a):a,e=e.useState()[0],(rt!==null?rt.memoizedState:null)!==e&&(Oe.flags|=1024),a}function xd(){var e=Po!==0;return Po=0,e}function Sd(e,a,r){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~r}function wd(e){if(Xo){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}Xo=!1}Ba=0,Dt=rt=Oe=null,Qr=!1,ll=Po=0,Ir=null}function nn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Dt===null?Oe.memoizedState=Dt=e:Dt=Dt.next=e,Dt}function Rt(){if(rt===null){var e=Oe.alternate;e=e!==null?e.memoizedState:null}else e=rt.next;var a=Dt===null?Oe.memoizedState:Dt.next;if(a!==null)Dt=a,rt=e;else{if(e===null)throw Oe.alternate===null?Error(s(467)):Error(s(310));rt=e,e={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},Dt===null?Oe.memoizedState=Dt=e:Dt=Dt.next=e}return Dt}function qo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ol(e){var a=ll;return ll+=1,Ir===null&&(Ir=[]),e=Hp(Ir,e,a),a=Oe,(Dt===null?a.memoizedState:Dt.next)===null&&(a=a.alternate,H.H=a===null||a.memoizedState===null?Dg:zd),e}function Zo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ol(e);if(e.$$typeof===U)return Xt(e)}throw Error(s(438,String(e)))}function Td(e){var a=null,r=Oe.updateQueue;if(r!==null&&(a=r.memoCache),a==null){var l=Oe.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(a={data:l.data.map(function(c){return c.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),r===null&&(r=qo(),Oe.updateQueue=r),r.memoCache=a,r=a.data[a.index],r===void 0)for(r=a.data[a.index]=Array(e),l=0;l<e;l++)r[l]=$;return a.index++,r}function Ua(e,a){return typeof a=="function"?a(e):a}function Fo(e){var a=Rt();return Ed(a,rt,e)}function Ed(e,a,r){var l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=r;var c=e.baseQueue,f=l.pending;if(f!==null){if(c!==null){var v=c.next;c.next=f.next,f.next=v}a.baseQueue=c=f,l.pending=null}if(f=e.baseState,c===null)e.memoizedState=f;else{a=c.next;var S=v=null,A=null,L=a,X=!1;do{var q=L.lane&-536870913;if(q!==L.lane?(Ke&q)===q:(Ba&q)===q){var B=L.revertLane;if(B===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),q===Pr&&(X=!0);else if((Ba&B)===B){L=L.next,B===Pr&&(X=!0);continue}else q={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},A===null?(S=A=q,v=f):A=A.next=q,Oe.lanes|=B,Si|=B;q=L.action,or&&r(f,q),f=L.hasEagerState?L.eagerState:r(f,q)}else B={lane:q,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},A===null?(S=A=B,v=f):A=A.next=B,Oe.lanes|=q,Si|=q;L=L.next}while(L!==null&&L!==a);if(A===null?v=f:A.next=S,!pn(f,e.memoizedState)&&(Nt=!0,X&&(r=qr,r!==null)))throw r;e.memoizedState=f,e.baseState=v,e.baseQueue=A,l.lastRenderedState=f}return c===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Ad(e){var a=Rt(),r=a.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=e;var l=r.dispatch,c=r.pending,f=a.memoizedState;if(c!==null){r.pending=null;var v=c=c.next;do f=e(f,v.action),v=v.next;while(v!==c);pn(f,a.memoizedState)||(Nt=!0),a.memoizedState=f,a.baseQueue===null&&(a.baseState=f),r.lastRenderedState=f}return[f,l]}function $p(e,a,r){var l=Oe,c=Rt(),f=Pe;if(f){if(r===void 0)throw Error(s(407));r=r()}else r=a();var v=!pn((rt||c).memoizedState,r);if(v&&(c.memoizedState=r,Nt=!0),c=c.queue,Md(eg.bind(null,l,c,e),[e]),c.getSnapshot!==a||v||Dt!==null&&Dt.memoizedState.tag&1){if(l.flags|=2048,$r(9,{destroy:void 0},Jp.bind(null,l,c,r,a),null),ut===null)throw Error(s(349));f||(Ba&127)!==0||Wp(l,a,r)}return r}function Wp(e,a,r){e.flags|=16384,e={getSnapshot:a,value:r},a=Oe.updateQueue,a===null?(a=qo(),Oe.updateQueue=a,a.stores=[e]):(r=a.stores,r===null?a.stores=[e]:r.push(e))}function Jp(e,a,r,l){a.value=r,a.getSnapshot=l,tg(a)&&ng(e)}function eg(e,a,r){return r(function(){tg(a)&&ng(e)})}function tg(e){var a=e.getSnapshot;e=e.value;try{var r=a();return!pn(e,r)}catch{return!0}}function ng(e){var a=Ji(e,2);a!==null&&fn(a,e,2)}function Cd(e){var a=nn();if(typeof e=="function"){var r=e;if(e=r(),or){Ht(!0);try{r()}finally{Ht(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:e},a}function ag(e,a,r,l){return e.baseState=r,Ed(e,rt,typeof l=="function"?l:Ua)}function Nw(e,a,r,l,c){if(Io(e))throw Error(s(485));if(e=a.action,e!==null){var f={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){f.listeners.push(v)}};H.T!==null?r(!0):f.isTransition=!1,l(f),r=a.pending,r===null?(f.next=a.pending=f,ig(a,f)):(f.next=r.next,a.pending=r.next=f)}}function ig(e,a){var r=a.action,l=a.payload,c=e.state;if(a.isTransition){var f=H.T,v={};H.T=v;try{var S=r(c,l),A=H.S;A!==null&&A(v,S),rg(e,a,S)}catch(L){jd(e,a,L)}finally{f!==null&&v.types!==null&&(f.types=v.types),H.T=f}}else try{f=r(c,l),rg(e,a,f)}catch(L){jd(e,a,L)}}function rg(e,a,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(l){sg(e,a,l)},function(l){return jd(e,a,l)}):sg(e,a,r)}function sg(e,a,r){a.status="fulfilled",a.value=r,lg(a),e.state=r,a=e.pending,a!==null&&(r=a.next,r===a?e.pending=null:(r=r.next,a.next=r,ig(e,r)))}function jd(e,a,r){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do a.status="rejected",a.reason=r,lg(a),a=a.next;while(a!==l)}e.action=null}function lg(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function og(e,a){return a}function ug(e,a){if(Pe){var r=ut.formState;if(r!==null){e:{var l=Oe;if(Pe){if(pt){t:{for(var c=pt,f=kn;c.nodeType!==8;){if(!f){c=null;break t}if(c=Vn(c.nextSibling),c===null){c=null;break t}}f=c.data,c=f==="F!"||f==="F"?c:null}if(c){pt=Vn(c.nextSibling),l=c.data==="F!";break e}}fi(l)}l=!1}l&&(a=r[0])}}return r=nn(),r.memoizedState=r.baseState=a,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:og,lastRenderedState:a},r.queue=l,r=Mg.bind(null,Oe,l),l.dispatch=r,l=Cd(!1),f=Od.bind(null,Oe,!1,l.queue),l=nn(),c={state:a,dispatch:null,action:e,pending:null},l.queue=c,r=Nw.bind(null,Oe,c,f,r),c.dispatch=r,l.memoizedState=e,[a,r,!1]}function cg(e){var a=Rt();return dg(a,rt,e)}function dg(e,a,r){if(a=Ed(e,a,og)[0],e=Fo(Ua)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var l=ol(a)}catch(v){throw v===Zr?Vo:v}else l=a;a=Rt();var c=a.queue,f=c.dispatch;return r!==a.memoizedState&&(Oe.flags|=2048,$r(9,{destroy:void 0},Ow.bind(null,c,r),null)),[l,f,e]}function Ow(e,a){e.action=a}function fg(e){var a=Rt(),r=rt;if(r!==null)return dg(a,r,e);Rt(),a=a.memoizedState,r=Rt();var l=r.queue.dispatch;return r.memoizedState=e,[a,l,!1]}function $r(e,a,r,l){return e={tag:e,create:r,deps:l,inst:a,next:null},a=Oe.updateQueue,a===null&&(a=qo(),Oe.updateQueue=a),r=a.lastEffect,r===null?a.lastEffect=e.next=e:(l=r.next,r.next=e,e.next=l,a.lastEffect=e),e}function hg(){return Rt().memoizedState}function Go(e,a,r,l){var c=nn();Oe.flags|=e,c.memoizedState=$r(1|a,{destroy:void 0},r,l===void 0?null:l)}function Qo(e,a,r,l){var c=Rt();l=l===void 0?null:l;var f=c.memoizedState.inst;rt!==null&&l!==null&&vd(l,rt.memoizedState.deps)?c.memoizedState=$r(a,f,r,l):(Oe.flags|=e,c.memoizedState=$r(1|a,f,r,l))}function mg(e,a){Go(8390656,8,e,a)}function Md(e,a){Qo(2048,8,e,a)}function zw(e){Oe.flags|=4;var a=Oe.updateQueue;if(a===null)a=qo(),Oe.updateQueue=a,a.events=[e];else{var r=a.events;r===null?a.events=[e]:r.push(e)}}function pg(e){var a=Rt().memoizedState;return zw({ref:a,nextImpl:e}),function(){if((Je&2)!==0)throw Error(s(440));return a.impl.apply(void 0,arguments)}}function gg(e,a){return Qo(4,2,e,a)}function yg(e,a){return Qo(4,4,e,a)}function vg(e,a){if(typeof a=="function"){e=e();var r=a(e);return function(){typeof r=="function"?r():a(null)}}if(a!=null)return e=e(),a.current=e,function(){a.current=null}}function bg(e,a,r){r=r!=null?r.concat([e]):null,Qo(4,4,vg.bind(null,a,e),r)}function Rd(){}function xg(e,a){var r=Rt();a=a===void 0?null:a;var l=r.memoizedState;return a!==null&&vd(a,l[1])?l[0]:(r.memoizedState=[e,a],e)}function Sg(e,a){var r=Rt();a=a===void 0?null:a;var l=r.memoizedState;if(a!==null&&vd(a,l[1]))return l[0];if(l=e(),or){Ht(!0);try{e()}finally{Ht(!1)}}return r.memoizedState=[l,a],l}function _d(e,a,r){return r===void 0||(Ba&1073741824)!==0&&(Ke&261930)===0?e.memoizedState=a:(e.memoizedState=r,e=wy(),Oe.lanes|=e,Si|=e,r)}function wg(e,a,r,l){return pn(r,a)?r:Gr.current!==null?(e=_d(e,r,l),pn(e,a)||(Nt=!0),e):(Ba&42)===0||(Ba&1073741824)!==0&&(Ke&261930)===0?(Nt=!0,e.memoizedState=r):(e=wy(),Oe.lanes|=e,Si|=e,a)}function Tg(e,a,r,l,c){var f=G.p;G.p=f!==0&&8>f?f:8;var v=H.T,S={};H.T=S,Od(e,!1,a,r);try{var A=c(),L=H.S;if(L!==null&&L(S,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var X=Rw(A,l);ul(e,a,X,Sn(e))}else ul(e,a,l,Sn(e))}catch(q){ul(e,a,{then:function(){},status:"rejected",reason:q},Sn())}finally{G.p=f,v!==null&&S.types!==null&&(v.types=S.types),H.T=v}}function kw(){}function Dd(e,a,r,l){if(e.tag!==5)throw Error(s(476));var c=Eg(e).queue;Tg(e,c,a,W,r===null?kw:function(){return Ag(e),r(l)})}function Eg(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:W},next:null};var r={};return a.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ua,lastRenderedState:r},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function Ag(e){var a=Eg(e);a.next===null&&(a=e.alternate.memoizedState),ul(e,a.next.queue,{},Sn())}function Nd(){return Xt(Cl)}function Cg(){return Rt().memoizedState}function jg(){return Rt().memoizedState}function Lw(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var r=Sn();e=pi(r);var l=gi(a,e,r);l!==null&&(fn(l,a,r),il(l,a,r)),a={cache:ld()},e.payload=a;return}a=a.return}}function Vw(e,a,r){var l=Sn();r={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Io(e)?Rg(a,r):(r=Ic(e,a,r,l),r!==null&&(fn(r,e,l),_g(r,a,l)))}function Mg(e,a,r){var l=Sn();ul(e,a,r,l)}function ul(e,a,r,l){var c={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Io(e))Rg(a,c);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=a.lastRenderedReducer,f!==null))try{var v=a.lastRenderedState,S=f(v,r);if(c.hasEagerState=!0,c.eagerState=S,pn(S,v))return _o(e,a,c,0),ut===null&&Ro(),!1}catch{}finally{}if(r=Ic(e,a,c,l),r!==null)return fn(r,e,l),_g(r,a,l),!0}return!1}function Od(e,a,r,l){if(l={lane:2,revertLane:ff(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Io(e)){if(a)throw Error(s(479))}else a=Ic(e,r,l,2),a!==null&&fn(a,e,2)}function Io(e){var a=e.alternate;return e===Oe||a!==null&&a===Oe}function Rg(e,a){Qr=Xo=!0;var r=e.pending;r===null?a.next=a:(a.next=r.next,r.next=a),e.pending=a}function _g(e,a,r){if((r&4194048)!==0){var l=a.lanes;l&=e.pendingLanes,r|=l,a.lanes=r,xo(e,r)}}var cl={readContext:Xt,use:Zo,useCallback:wt,useContext:wt,useEffect:wt,useImperativeHandle:wt,useLayoutEffect:wt,useInsertionEffect:wt,useMemo:wt,useReducer:wt,useRef:wt,useState:wt,useDebugValue:wt,useDeferredValue:wt,useTransition:wt,useSyncExternalStore:wt,useId:wt,useHostTransitionStatus:wt,useFormState:wt,useActionState:wt,useOptimistic:wt,useMemoCache:wt,useCacheRefresh:wt};cl.useEffectEvent=wt;var Dg={readContext:Xt,use:Zo,useCallback:function(e,a){return nn().memoizedState=[e,a===void 0?null:a],e},useContext:Xt,useEffect:mg,useImperativeHandle:function(e,a,r){r=r!=null?r.concat([e]):null,Go(4194308,4,vg.bind(null,a,e),r)},useLayoutEffect:function(e,a){return Go(4194308,4,e,a)},useInsertionEffect:function(e,a){Go(4,2,e,a)},useMemo:function(e,a){var r=nn();a=a===void 0?null:a;var l=e();if(or){Ht(!0);try{e()}finally{Ht(!1)}}return r.memoizedState=[l,a],l},useReducer:function(e,a,r){var l=nn();if(r!==void 0){var c=r(a);if(or){Ht(!0);try{r(a)}finally{Ht(!1)}}}else c=a;return l.memoizedState=l.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},l.queue=e,e=e.dispatch=Vw.bind(null,Oe,e),[l.memoizedState,e]}
vendor: 26,099 bytes, line 25
25,useRef:function(e){var a=nn();return e={current:e},a.memoizedState=e},useState:function(e){e=Cd(e);var a=e.queue,r=Mg.bind(null,Oe,a);return a.dispatch=r,[e.memoizedState,r]},useDebugValue:Rd,useDeferredValue:function(e,a){var r=nn();return _d(r,e,a)},useTransition:function(){var e=Cd(!1);return e=Tg.bind(null,Oe,e.queue,!0,!1),nn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,r){var l=Oe,c=nn();if(Pe){if(r===void 0)throw Error(s(407));r=r()}else{if(r=a(),ut===null)throw Error(s(349));(Ke&127)!==0||Wp(l,a,r)}c.memoizedState=r;var f={value:r,getSnapshot:a};return c.queue=f,mg(eg.bind(null,l,f,e),[e]),l.flags|=2048,$r(9,{destroy:void 0},Jp.bind(null,l,f,r,a),null),r},useId:function(){var e=nn(),a=ut.identifierPrefix;if(Pe){var r=ua,l=oa;r=(l&~(1<<32-Qt(l)-1)).toString(32)+r,a="_"+a+"R_"+r,r=Po++,0<r&&(a+="H"+r.toString(32)),a+="_"}else r=_w++,a="_"+a+"r_"+r.toString(32)+"_";return e.memoizedState=a},useHostTransitionStatus:Nd,useFormState:ug,useActionState:ug,useOptimistic:function(e){var a=nn();a.memoizedState=a.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=r,a=Od.bind(null,Oe,!0,r),r.dispatch=a,[e,a]},useMemoCache:Td,useCacheRefresh:function(){return nn().memoizedState=Lw.bind(null,Oe)},useEffectEvent:function(e){var a=nn(),r={impl:e};return a.memoizedState=r,function(){if((Je&2)!==0)throw Error(s(440));return r.impl.apply(void 0,arguments)}}},zd={readContext:Xt,use:Zo,useCallback:xg,useContext:Xt,useEffect:Md,useImperativeHandle:bg,useInsertionEffect:gg,useLayoutEffect:yg,useMemo:Sg,useReducer:Fo,useRef:hg,useState:function(){return Fo(Ua)},useDebugValue:Rd,useDeferredValue:function(e,a){var r=Rt();return wg(r,rt.memoizedState,e,a)},useTransition:function(){var e=Fo(Ua)[0],a=Rt().memoizedState;return[typeof e=="boolean"?e:ol(e),a]},useSyncExternalStore:$p,useId:Cg,useHostTransitionStatus:Nd,useFormState:cg,useActionState:cg,useOptimistic:function(e,a){var r=Rt();return ag(r,rt,e,a)},useMemoCache:Td,useCacheRefresh:jg};zd.useEffectEvent=pg;var Ng={readContext:Xt,use:Zo,useCallback:xg,useContext:Xt,useEffect:Md,useImperativeHandle:bg,useInsertionEffect:gg,useLayoutEffect:yg,useMemo:Sg,useReducer:Ad,useRef:hg,useState:function(){return Ad(Ua)},useDebugValue:Rd,useDeferredValue:function(e,a){var r=Rt();return rt===null?_d(r,e,a):wg(r,rt.memoizedState,e,a)},useTransition:function(){var e=Ad(Ua)[0],a=Rt().memoizedState;return[typeof e=="boolean"?e:ol(e),a]},useSyncExternalStore:$p,useId:Cg,useHostTransitionStatus:Nd,useFormState:fg,useActionState:fg,useOptimistic:function(e,a){var r=Rt();return rt!==null?ag(r,rt,e,a):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:Td,useCacheRefresh:jg};Ng.useEffectEvent=pg;function kd(e,a,r,l){a=e.memoizedState,r=r(l,a),r=r==null?a:b({},a,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Ld={enqueueSetState:function(e,a,r){e=e._reactInternals;var l=Sn(),c=pi(l);c.payload=a,r!=null&&(c.callback=r),a=gi(e,c,l),a!==null&&(fn(a,e,l),il(a,e,l))},enqueueReplaceState:function(e,a,r){e=e._reactInternals;var l=Sn(),c=pi(l);c.tag=1,c.payload=a,r!=null&&(c.callback=r),a=gi(e,c,l),a!==null&&(fn(a,e,l),il(a,e,l))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var r=Sn(),l=pi(r);l.tag=2,a!=null&&(l.callback=a),a=gi(e,l,r),a!==null&&(fn(a,e,r),il(a,e,r))}};function Og(e,a,r,l,c,f,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,f,v):a.prototype&&a.prototype.isPureReactComponent?!Is(r,l)||!Is(c,f):!0}function zg(e,a,r,l){e=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(r,l),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(r,l),a.state!==e&&Ld.enqueueReplaceState(a,a.state,null)}function ur(e,a){var r=a;if("ref"in a){r={};for(var l in a)l!=="ref"&&(r[l]=a[l])}if(e=e.defaultProps){r===a&&(r=b({},r));for(var c in e)r[c]===void 0&&(r[c]=e[c])}return r}function kg(e){Mo(e)}function Lg(e){console.error(e)}function Vg(e){Mo(e)}function $o(e,a){try{var r=e.onUncaughtError;r(a.value,{componentStack:a.stack})}catch(l){setTimeout(function(){throw l})}}function Bg(e,a,r){try{var l=e.onCaughtError;l(r.value,{componentStack:r.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Vd(e,a,r){return r=pi(r),r.tag=3,r.payload={element:null},r.callback=function(){$o(e,a)},r}function Ug(e){return e=pi(e),e.tag=3,e}function Hg(e,a,r,l){var c=r.type.getDerivedStateFromError;if(typeof c=="function"){var f=l.value;e.payload=function(){return c(f)},e.callback=function(){Bg(a,r,l)}}var v=r.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(e.callback=function(){Bg(a,r,l),typeof c!="function"&&(wi===null?wi=new Set([this]):wi.add(this));var S=l.stack;this.componentDidCatch(l.value,{componentStack:S!==null?S:""})})}function Bw(e,a,r,l,c){if(r.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(a=r.alternate,a!==null&&Xr(a,r,c,!0),r=yn.current,r!==null){switch(r.tag){case 31:case 13:return Ln===null?uu():r.alternate===null&&Tt===0&&(Tt=3),r.flags&=-257,r.flags|=65536,r.lanes=c,l===Bo?r.flags|=16384:(a=r.updateQueue,a===null?r.updateQueue=new Set([l]):a.add(l),uf(e,l,c)),!1;case 22:return r.flags|=65536,l===Bo?r.flags|=16384:(a=r.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([l])},r.updateQueue=a):(r=a.retryQueue,r===null?a.retryQueue=new Set([l]):r.add(l)),uf(e,l,c)),!1}throw Error(s(435,r.tag))}return uf(e,l,c),uu(),!1}if(Pe)return a=yn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=c,l!==nd&&(e=Error(s(422),{cause:l}),Js(Nn(e,r)))):(l!==nd&&(a=Error(s(423),{cause:l}),Js(Nn(a,r))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,l=Nn(l,r),c=Vd(e.stateNode,l,c),hd(e,c),Tt!==4&&(Tt=2)),!1;var f=Error(s(520),{cause:l});if(f=Nn(f,r),vl===null?vl=[f]:vl.push(f),Tt!==4&&(Tt=2),a===null)return!0;l=Nn(l,r),r=a;do{switch(r.tag){case 3:return r.flags|=65536,e=c&-c,r.lanes|=e,e=Vd(r.stateNode,l,e),hd(r,e),!1;case 1:if(a=r.type,f=r.stateNode,(r.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(wi===null||!wi.has(f))))return r.flags|=65536,c&=-c,r.lanes|=c,c=Ug(c),Hg(c,e,r,l),hd(r,c),!1}r=r.return}while(r!==null);return!1}var Bd=Error(s(461)),Nt=!1;function Pt(e,a,r,l){a.child=e===null?Pp(a,null,r,l):lr(a,e.child,r,l)}function Kg(e,a,r,l,c){r=r.render;var f=a.ref;if("ref"in l){var v={};for(var S in l)S!=="ref"&&(v[S]=l[S])}else v=l;return ar(a),l=bd(e,a,r,v,f,c),S=xd(),e!==null&&!Nt?(Sd(e,a,c),Ha(e,a,c)):(Pe&&S&&ed(a),a.flags|=1,Pt(e,a,l,c),a.child)}function Yg(e,a,r,l,c){if(e===null){var f=r.type;return typeof f=="function"&&!$c(f)&&f.defaultProps===void 0&&r.compare===null?(a.tag=15,a.type=f,Xg(e,a,f,l,c)):(e=No(r.type,null,l,a,a.mode,c),e.ref=a.ref,e.return=a,a.child=e)}if(f=e.child,!Zd(e,c)){var v=f.memoizedProps;if(r=r.compare,r=r!==null?r:Is,r(v,l)&&e.ref===a.ref)return Ha(e,a,c)}return a.flags|=1,e=za(f,l),e.ref=a.ref,e.return=a,a.child=e}function Xg(e,a,r,l,c){if(e!==null){var f=e.memoizedProps;if(Is(f,l)&&e.ref===a.ref)if(Nt=!1,a.pendingProps=l=f,Zd(e,c))(e.flags&131072)!==0&&(Nt=!0);else return a.lanes=e.lanes,Ha(e,a,c)}return Ud(e,a,r,l,c)}function Pg(e,a,r,l){var c=l.children,f=e!==null?e.memoizedState:null;if(e===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((a.flags&128)!==0){if(f=f!==null?f.baseLanes|r:r,e!==null){for(l=a.child=e.child,c=0;l!==null;)c=c|l.lanes|l.childLanes,l=l.sibling;l=c&~f}else l=0,a.child=null;return qg(e,a,f,r,l)}if((r&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&Lo(a,f!==null?f.cachePool:null),f!==null?Fp(a,f):pd(),Gp(a);else return l=a.lanes=536870912,qg(e,a,f!==null?f.baseLanes|r:r,r,l)}else f!==null?(Lo(a,f.cachePool),Fp(a,f),vi(),a.memoizedState=null):(e!==null&&Lo(a,null),pd(),vi());return Pt(e,a,c,r),a.child}function dl(e,a){return e!==null&&e.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function qg(e,a,r,l,c){var f=ud();return f=f===null?null:{parent:_t._currentValue,pool:f},a.memoizedState={baseLanes:r,cachePool:f},e!==null&&Lo(a,null),pd(),Gp(a),e!==null&&Xr(e,a,l,!0),a.childLanes=c,null}function Wo(e,a){return a=eu({mode:a.mode,children:a.children},e.mode),a.ref=e.ref,e.child=a,a.return=e,a}function Zg(e,a,r){return lr(a,e.child,null,r),e=Wo(a,a.pendingProps),e.flags|=2,vn(a),a.memoizedState=null,e}function Uw(e,a,r){var l=a.pendingProps,c=(a.flags&128)!==0;if(a.flags&=-129,e===null){if(Pe){if(l.mode==="hidden")return e=Wo(a,l),a.lanes=536870912,dl(null,e);if(yd(a),(e=pt)?(e=iv(e,kn),e=e!==null&&e.data==="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:ci!==null?{id:oa,overflow:ua}:null,retryLane:536870912,hydrationErrors:null},r=Rp(e),r.return=a,a.child=r,Yt=a,pt=null)):e=null,e===null)throw fi(a);return a.lanes=536870912,null}return Wo(a,l)}var f=e.memoizedState;if(f!==null){var v=f.dehydrated;if(yd(a),c)if(a.flags&256)a.flags&=-257,a=Zg(e,a,r);else if(a.memoizedState!==null)a.child=e.child,a.flags|=128,a=null;else throw Error(s(558));else if(Nt||Xr(e,a,r,!1),c=(r&e.childLanes)!==0,Nt||c){if(l=ut,l!==null&&(v=C(l,r),v!==0&&v!==f.retryLane))throw f.retryLane=v,Ji(e,v),fn(l,e,v),Bd;uu(),a=Zg(e,a,r)}else e=f.treeContext,pt=Vn(v.nextSibling),Yt=a,Pe=!0,di=null,kn=!1,e!==null&&Np(a,e),a=Wo(a,l),a.flags|=4096;return a}return e=za(e.child,{mode:l.mode,children:l.children}),e.ref=a.ref,a.child=e,e.return=a,e}function Jo(e,a){var r=a.ref;if(r===null)e!==null&&e.ref!==null&&(a.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(s(284));(e===null||e.ref!==r)&&(a.flags|=4194816)}}function Ud(e,a,r,l,c){return ar(a),r=bd(e,a,r,l,void 0,c),l=xd(),e!==null&&!Nt?(Sd(e,a,c),Ha(e,a,c)):(Pe&&l&&ed(a),a.flags|=1,Pt(e,a,r,c),a.child)}function Fg(e,a,r,l,c,f){return ar(a),a.updateQueue=null,r=Ip(a,l,r,c),Qp(e),l=xd(),e!==null&&!Nt?(Sd(e,a,f),Ha(e,a,f)):(Pe&&l&&ed(a),a.flags|=1,Pt(e,a,r,f),a.child)}function Gg(e,a,r,l,c){if(ar(a),a.stateNode===null){var f=Ur,v=r.contextType;typeof v=="object"&&v!==null&&(f=Xt(v)),f=new r(l,f),a.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Ld,a.stateNode=f,f._reactInternals=a,f=a.stateNode,f.props=l,f.state=a.memoizedState,f.refs={},dd(a),v=r.contextType,f.context=typeof v=="object"&&v!==null?Xt(v):Ur,f.state=a.memoizedState,v=r.getDerivedStateFromProps,typeof v=="function"&&(kd(a,r,v,l),f.state=a.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(v=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),v!==f.state&&Ld.enqueueReplaceState(f,f.state,null),sl(a,l,f,c),rl(),f.state=a.memoizedState),typeof f.componentDidMount=="function"&&(a.flags|=4194308),l=!0}else if(e===null){f=a.stateNode;var S=a.memoizedProps,A=ur(r,S);f.props=A;var L=f.context,X=r.contextType;v=Ur,typeof X=="object"&&X!==null&&(v=Xt(X));var q=r.getDerivedStateFromProps;X=typeof q=="function"||typeof f.getSnapshotBeforeUpdate=="function",S=a.pendingProps!==S,X||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(S||L!==v)&&zg(a,f,l,v),mi=!1;var B=a.memoizedState;f.state=B,sl(a,l,f,c),rl(),L=a.memoizedState,S||B!==L||mi?(typeof q=="function"&&(kd(a,r,q,l),L=a.memoizedState),(A=mi||Og(a,r,A,l,B,L,v))?(X||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"&&(a.flags|=4194308)):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=l,a.memoizedState=L),f.props=l,f.state=L,f.context=v,l=A):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),l=!1)}else{f=a.stateNode,fd(e,a),v=a.memoizedProps,X=ur(r,v),f.props=X,q=a.pendingProps,B=f.context,L=r.contextType,A=Ur,typeof L=="object"&&L!==null&&(A=Xt(L)),S=r.getDerivedStateFromProps,(L=typeof S=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(v!==q||B!==A)&&zg(a,f,l,A),mi=!1,B=a.memoizedState,f.state=B,sl(a,l,f,c),rl();var Y=a.memoizedState;v!==q||B!==Y||mi||e!==null&&e.dependencies!==null&&zo(e.dependencies)?(typeof S=="function"&&(kd(a,r,S,l),Y=a.memoizedState),(X=mi||Og(a,r,X,l,B,Y,A)||e!==null&&e.dependencies!==null&&zo(e.dependencies))?(L||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(l,Y,A),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(l,Y,A)),typeof f.componentDidUpdate=="function"&&(a.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof f.componentDidUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(a.flags|=1024),a.memoizedProps=l,a.memoizedState=Y),f.props=l,f.state=Y,f.context=A,l=X):(typeof f.componentDidUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(a.flags|=1024),l=!1)}return f=l,Jo(e,a),l=(a.flags&128)!==0,f||l?(f=a.stateNode,r=l&&typeof r.getDerivedStateFromError!="function"?null:f.render(),a.flags|=1,e!==null&&l?(a.child=lr(a,e.child,null,c),a.child=lr(a,null,r,c)):Pt(e,a,r,c),a.memoizedState=f.state,e=a.child):e=Ha(e,a,c),e}function Qg(e,a,r,l){return tr(),a.flags|=256,Pt(e,a,r,l),a.child}var Hd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Kd(e){return{baseLanes:e,cachePool:Bp()}}function Yd(e,a,r){return e=e!==null?e.childLanes&~r:0,a&&(e|=xn),e}function Ig(e,a,r){var l=a.pendingProps,c=!1,f=(a.flags&128)!==0,v;if((v=f)||(v=e!==null&&e.memoizedState===null?!1:(Mt.current&2)!==0),v&&(c=!0,a.flags&=-129),v=(a.flags&32)!==0,a.flags&=-33,e===null){if(Pe){if(c?yi(a):vi(),(e=pt)?(e=iv(e,kn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:ci!==null?{id:oa,overflow:ua}:null,retryLane:536870912,hydrationErrors:null},r=Rp(e),r.return=a,a.child=r,Yt=a,pt=null)):e=null,e===null)throw fi(a);return Af(e)?a.lanes=32:a.lanes=536870912,null}var S=l.children;return l=l.fallback,c?(vi(),c=a.mode,S=eu({mode:"hidden",children:S},c),l=er(l,c,r,null),S.return=a,l.return=a,S.sibling=l,a.child=S,l=a.child,l.memoizedState=Kd(r),l.childLanes=Yd(e,v,r),a.memoizedState=Hd,dl(null,l)):(yi(a),Xd(a,S))}var A=e.memoizedState;if(A!==null&&(S=A.dehydrated,S!==null)){if(f)a.flags&256?(yi(a),a.flags&=-257,a=Pd(e,a,r)):a.memoizedState!==null?(vi(),a.child=e.child,a.flags|=128,a=null):(vi(),S=l.fallback,c=a.mode,l=eu({mode:"visible",children:l.children},c),S=er(S,c,r,null),S.flags|=2,l.return=a,S.return=a,l.sibling=S,a.child=l,lr(a,e.child,null,r),l=a.child,l.memoizedState=Kd(r),l.childLanes=Yd(e,v,r),a.memoizedState=Hd,a=dl(null,l));else if(yi(a),Af(S)){if(v=S.nextSibling&&S.nextSibling.dataset,v)var L=v.dgst;v=L,l=Error(s(419)),l.stack="",l.digest=v,Js({value:l,source:null,stack:null}),a=Pd(e,a,r)}else if(Nt||Xr(e,a,r,!1),v=(r&e.childLanes)!==0,Nt||v){if(v=ut,v!==null&&(l=C(v,r),l!==0&&l!==A.retryLane))throw A.retryLane=l,Ji(e,l),fn(v,e,l),Bd;Ef(S)||uu(),a=Pd(e,a,r)}else Ef(S)?(a.flags|=192,a.child=e.child,a=null):(e=A.treeContext,pt=Vn(S.nextSibling),Yt=a,Pe=!0,di=null,kn=!1,e!==null&&Np(a,e),a=Xd(a,l.children),a.flags|=4096);return a}return c?(vi(),S=l.fallback,c=a.mode,A=e.child,L=A.sibling,l=za(A,{mode:"hidden",children:l.children}),l.subtreeFlags=A.subtreeFlags&65011712,L!==null?S=za(L,S):(S=er(S,c,r,null),S.flags|=2),S.return=a,l.return=a,l.sibling=S,a.child=l,dl(null,l),l=a.child,S=e.child.memoizedState,S===null?S=Kd(r):(c=S.cachePool,c!==null?(A=_t._currentValue,c=c.parent!==A?{parent:A,pool:A}:c):c=Bp(),S={baseLanes:S.baseLanes|r,cachePool:c}),l.memoizedState=S,l.childLanes=Yd(e,v,r),a.memoizedState=Hd,dl(e.child,l)):(yi(a),r=e.child,e=r.sibling,r=za(r,{mode:"visible",children:l.children}),r.return=a,r.sibling=null,e!==null&&(v=a.deletions,v===null?(a.deletions=[e],a.flags|=16):v.push(e)),a.child=r,a.memoizedState=null,r)}function Xd(e,a){return a=eu({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function eu(e,a){return e=gn(22,e,null,a),e.lanes=0,e}function Pd(e,a,r){return lr(a,e.child,null,r),e=Xd(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function $g(e,a,r){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a),rd(e.return,a,r)}function qd(e,a,r,l,c,f){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:l,tail:r,tailMode:c,treeForkCount:f}:(v.isBackwards=a,v.rendering=null,v.renderingStartTime=0,v.last=l,v.tail=r,v.tailMode=c,v.treeForkCount=f)}function Wg(e,a,r){var l=a.pendingProps,c=l.revealOrder,f=l.tail;l=l.children;var v=Mt.current,S=(v&2)!==0;if(S?(v=v&1|2,a.flags|=128):v&=1,Ee(Mt,v),Pt(e,a,l,r),l=Pe?Ws:0,!S&&e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&$g(e,r,a);else if(e.tag===19)$g(e,r,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(r=a.child,c=null;r!==null;)e=r.alternate,e!==null&&Yo(e)===null&&(c=r),r=r.sibling;r=c,r===null?(c=a.child,a.child=null):(c=r.sibling,r.sibling=null),qd(a,!1,c,r,f,l);break;case"backwards":case"unstable_legacy-backwards":for(r=null,c=a.child,a.child=null;c!==null;){if(e=c.alternate,e!==null&&Yo(e)===null){a.child=c;break}e=c.sibling,c.sibling=r,r=c,c=e}qd(a,!0,r,null,f,l);break;case"together":qd(a,!1,null,null,void 0,l);break;default:a.memoizedState=null}return a.child}function Ha(e,a,r){if(e!==null&&(a.dependencies=e.dependencies),Si|=a.lanes,(r&a.childLanes)===0)if(e!==null){if(Xr(e,a,r,!1),(r&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error(s(153));if(a.child!==null){for(e=a.child,r=za(e,e.pendingProps),a.child=r,r.return=a;e.sibling!==null;)e=e.sibling,r=r.sibling=za(e,e.pendingProps),r.return=a;r.sibling=null}return a.child}function Zd(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&zo(e)))}function Hw(e,a,r){switch(a.tag){case 3:Mn(a,a.stateNode.containerInfo),hi(a,_t,e.memoizedState.cache),tr();break;case 27:case 5:Ea(a);break;case 4:Mn(a,a.stateNode.containerInfo);break;case 10:hi(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,yd(a),null;break;case 13:var l=a.memoizedState;if(l!==null)return l.dehydrated!==null?(yi(a),a.flags|=128,null):(r&a.child.childLanes)!==0?Ig(e,a,r):(yi(a),e=Ha(e,a,r),e!==null?e.sibling:null);yi(a);break;case 19:var c=(e.flags&128)!==0;if(l=(r&a.childLanes)!==0,l||(Xr(e,a,r,!1),l=(r&a.childLanes)!==0),c){if(l)return Wg(e,a,r);a.flags|=128}if(c=a.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Ee(Mt,Mt.current),l)break;return null;case 22:return a.lanes=0,Pg(e,a,r,a.pendingProps);case 24:hi(a,_t,e.memoizedState.cache)}return Ha(e,a,r)}function Jg(e,a,r){if(e!==null)if(e.memoizedProps!==a.pendingProps)Nt=!0;else{if(!Zd(e,r)&&(a.flags&128)===0)return Nt=!1,Hw(e,a,r);Nt=(e.flags&131072)!==0}else Nt=!1,Pe&&(a.flags&1048576)!==0&&Dp(a,Ws,a.index);switch(a.lanes=0,a.tag){case 16:e:{var l=a.pendingProps;if(e=rr(a.elementType),a.type=e,typeof e=="function")$c(e)?(l=ur(e,l),a.tag=1,a=Gg(null,a,e,l,r)):(a.tag=0,a=Ud(null,a,e,l,r));else{if(e!=null){var c=e.$$typeof;if(c===F){a.tag=11,a=Kg(null,a,e,l,r);break e}else if(c===pe){a.tag=14,a=Yg(null,a,e,l,r);break e}}throw a=Ae(e)||e,Error(s(306,a,""))}}return a;case 0:return Ud(e,a,a.type,a.pendingProps,r);case 1:return l=a.type,c=ur(l,a.pendingProps),Gg(e,a,l,c,r);case 3:e:{if(Mn(a,a.stateNode.containerInfo),e===null)throw Error(s(387));l=a.pendingProps;var f=a.memoizedState;c=f.element,fd(e,a),sl(a,l,null,r);var v=a.memoizedState;if(l=v.cache,hi(a,_t,l),l!==f.cache&&sd(a,[_t],r,!0),rl(),l=v.element,f.isDehydrated)if(f={element:l,isDehydrated:!1,cache:v.cache},a.updateQueue.baseState=f,a.memoizedState=f,a.flags&256){a=Qg(e,a,l,r);break e}else if(l!==c){c=Nn(Error(s(424)),a),Js(c),a=Qg(e,a,l,r);break e}else{switch(e=a.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(pt=Vn(e.firstChild),Yt=a,Pe=!0,di=null,kn=!0,r=Pp(a,null,l,r),a.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(tr(),l===c){a=Ha(e,a,r);break e}Pt(e,a,l,r)}a=a.child}return a;case 26:return Jo(e,a),e===null?(r=cv(a.type,null,a.pendingProps,null))?a.memoizedState=r:Pe||(r=a.type,e=a.pendingProps,l=gu(tt.current).createElement(r),l[ne]=a,l[ge]=e,qt(l,r,e),Fe(l),a.stateNode=l):a.memoizedState=cv(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return Ea(a),e===null&&Pe&&(l=a.stateNode=lv(a.type,a.pendingProps,tt.current),Yt=a,kn=!0,c=pt,Ci(a.type)?(Cf=c,pt=Vn(l.firstChild)):pt=c),Pt(e,a,a.pendingProps.children,r),Jo(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&Pe&&((c=l=pt)&&(l=gT(l,a.type,a.pendingProps,kn),l!==null?(a.stateNode=l,Yt=a,pt=Vn(l.firstChild),kn=!1,c=!0):c=!1),c||fi(a)),Ea(a),c=a.type,f=a.pendingProps,v=e!==null?e.memoizedProps:null,l=f.children,Sf(c,f)?l=null:v!==null&&Sf(c,v)&&(a.flags|=32),a.memoizedState!==null&&(c=bd(e,a,Dw,null,null,r),Cl._currentValue=c),Jo(e,a),Pt(e,a,l,r),a.child;case 6:return e===null&&Pe&&((e=r=pt)&&(r=yT(r,a.pendingProps,kn),r!==null?(a.stateNode=r,Yt=a,pt=null,e=!0):e=!1),e||fi(a)),null;case 13:return Ig(e,a,r);case 4:return Mn(a,a.stateNode.containerInfo),l=a.pendingProps,e===null?a.child=lr(a,null,l,r):Pt(e,a,l,r),a.child;case 11:return Kg(e,a,a.type,a.pendingProps,r);case 7:return Pt(e,a,a.pendingProps,r),a.child;case 8:return Pt(e,a,a.pendingProps.children,r),a.child;case 12:return Pt(e,a,a.pendingProps.children,r),a.child;case 10:return l=a.pendingProps,hi(a,a.type,l.value),Pt(e,a,l.children,r),a.child;case 9:return c=a.type._context,l=a.pendingProps.children,ar(a),c=Xt(c),l=l(c),a.flags|=1,Pt(e,a,l,r),a.child;case 14:return Yg(e,a,a.type,a.pendingProps,r);case 15:return Xg(e,a,a.type,a.pendingProps,r);case 19:return Wg(e,a,r);case 31:return Uw(e,a,r);case 22:return Pg(e,a,r,a.pendingProps);case 24:return ar(a),l=Xt(_t),e===null?(c=ud(),c===null&&(c=ut,f=ld(),c.pooledCache=f,f.refCount++,f!==null&&(c.pooledCacheLanes|=r),c=f),a.memoizedState={parent:l,cache:c},dd(a),hi(a,_t,c)):((e.lanes&r)!==0&&(fd(e,a),sl(a,null,null,r),rl()),c=e.memoizedState,f=a.memoizedState,c.parent!==l?(c={parent:l,cache:l},a.memoizedState=c,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=c),hi(a,_t,l)):(l=f.cache,hi(a,_t,l),l!==c.cache&&sd(a,[_t],r,!0))),Pt(e,a,a.pendingProps.children,r),a.child;case 29:throw a.pendingProps}throw Error(s(156,a.tag))}function Ka(e){e.flags|=4}function Fd(e,a,r,l,c){if((a=(e.mode&32)!==0)&&(a=!1),a){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(Cy())e.flags|=8192;else throw sr=Bo,cd}else e.flags&=-16777217}function ey(e,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!pv(a))if(Cy())e.flags|=8192;else throw sr=Bo,cd}function tu(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?Ks():536870912,e.lanes|=a,ts|=a)}function fl(e,a){if(!Pe)switch(e.tailMode){case"hidden":a=e.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function gt(e){var a=e.alternate!==null&&e.alternate.child===e.child,r=0,l=0;if(a)for(var c=e.child;c!==null;)r|=c.lanes|c.childLanes,l|=c.subtreeFlags&65011712,l|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)r|=c.lanes|c.childLanes,l|=c.subtreeFlags,l|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=l,e.childLanes=r,a}function Kw(e,a,r){var l=a.pendingProps;switch(td(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gt(a),null;case 1:return gt(a),null;case 3:return r=a.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),Va(_t),St(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Yr(a)?Ka(a):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,ad())),gt(a),null;case 26:var c=a.type,f=a.memoizedState;return e===null?(Ka(a),f!==null?(gt(a),ey(a,f)):(gt(a),Fd(a,c,null,l,r))):f?f!==e.memoizedState?(Ka(a),gt(a),ey(a,f)):(gt(a),a.flags&=-16777217):(e=e.memoizedProps,e!==l&&Ka(a),gt(a),Fd(a,c,e,l,r)),null;case 27:if(ti(a),r=tt.current,c=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&Ka(a);else{if(!l){if(a.stateNode===null)throw Error(s(166));return gt(a),null}e=Xe.current,Yr(a)?Op(a):(e=lv(c,l,r),a.stateNode=e,Ka(a))}return gt(a),null;case 5:if(ti(a),c=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&Ka(a);else{if(!l){if(a.stateNode===null)throw Error(s(166));return gt(a),null}if(f=Xe.current,Yr(a))Op(a);else{var v=gu(tt.current);switch(f){case 1:f=v.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:f=v.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":f=v.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":f=v.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":f=v.createElement("div"),f.innerHTML="<script><\/script>
25",f=f.removeChild(f.firstChild);break;case"select":f=typeof l.is=="string"?v.createElement("select",{is:l.is}):v.createElement("select"),l.multiple?f.multiple=!0:l.size&&(f.size=l.size);break;default:f=typeof l.is=="string"?v.createElement(c,{is:l.is}):v.createElement(c)}}f[ne]=a,f[ge]=l;e:for(v=a.child;v!==null;){if(v.tag===5||v.tag===6)f.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===a)break e;for(;v.sibling===null;){if(v.return===null||v.return===a)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}a.stateNode=f;e:switch(qt(f,c,l),c){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Ka(a)}}return gt(a),Fd(a,a.type,e===null?null:e.memoizedProps,a.pendingProps,r),null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==l&&Ka(a);else{if(typeof l!="string"&&a.stateNode===null)throw Error(s(166));if(e=tt.current,Yr(a)){if(e=a.stateNode,r=a.memoizedProps,l=null,c=Yt,c!==null)switch(c.tag){case 27:case 5:l=c.memoizedProps}e[ne]=a,e=!!(e.nodeValue===r||l!==null&&l.suppressHydrationWarning===!0||Iy(e.nodeValue,r)),e||fi(a,!0)}else e=gu(e).createTextNode(l),e[ne]=a,a.stateNode=e}return gt(a),null;case 31:if(r=a.memoizedState,e===null||e.memoizedState!==null){if(l=Yr(a),r!==null){if(e===null){if(!l)throw Error(s(318));if(e=a.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[ne]=a}else tr(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;gt(a),e=!1}else r=ad(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return a.flags&256?(vn(a),a):(vn(a),null);if((a.flags&128)!==0)throw Error(s(558))}return gt(a),null;case 13:if(l=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Yr(a),l!==null&&l.dehydrated!==null){if(e===null){if(!c)throw Error(s(318));if(c=a.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(s(317));c[ne]=a}else tr(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;gt(a),c=!1}else c=ad(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return a.flags&256?(vn(a),a):(vn(a),null)}return vn(a),(a.flags&128)!==0?(a.lanes=r,a):(r=l!==null,e=e!==null&&e.memoizedState!==null,r&&(l=a.child,c=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(c=l.alternate.memoizedState.cachePool.pool),f=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(f=l.memoizedState.cachePool.pool),f!==c&&(l.flags|=2048)),r!==e&&r&&(a.child.flags|=8192),tu(a,a.updateQueue),gt(a),null);case 4:return St(),e===null&&gf(a.stateNode.containerInfo),gt(a),null;case 10:return Va(a.type),gt(a),null;case 19:if(Me(Mt),l=a.memoizedState,l===null)return gt(a),null;if(c=(a.flags&128)!==0,f=l.rendering,f===null)if(c)fl(l,!1);else{if(Tt!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(f=Yo(e),f!==null){for(a.flags|=128,fl(l,!1),e=f.updateQueue,a.updateQueue=e,tu(a,e),a.subtreeFlags=0,e=r,r=a.child;r!==null;)Mp(r,e),r=r.sibling;return Ee(Mt,Mt.current&1|2),Pe&&ka(a,l.treeForkCount),a.child}e=e.sibling}l.tail!==null&&Wt()>su&&(a.flags|=128,c=!0,fl(l,!1),a.lanes=4194304)}else{if(!c)if(e=Yo(f),e!==null){if(a.flags|=128,c=!0,e=e.updateQueue,a.updateQueue=e,tu(a,e),fl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!f.alternate&&!Pe)return gt(a),null}else 2*Wt()-l.renderingStartTime>su&&r!==536870912&&(a.flags|=128,c=!0,fl(l,!1),a.lanes=4194304);l.isBackwards?(f.sibling=a.child,a.child=f):(e=l.last,e!==null?e.sibling=f:a.child=f,l.last=f)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=Wt(),e.sibling=null,r=Mt.current,Ee(Mt,c?r&1|2:r&1),Pe&&ka(a,l.treeForkCount),e):(gt(a),null);case 22:case 23:return vn(a),gd(),l=a.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(a.flags|=8192):l&&(a.flags|=8192),l?(r&536870912)!==0&&(a.flags&128)===0&&(gt(a),a.subtreeFlags&6&&(a.flags|=8192)):gt(a),r=a.updateQueue,r!==null&&tu(a,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==r&&(a.flags|=2048),e!==null&&Me(ir),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),a.memoizedState.cache!==r&&(a.flags|=2048),Va(_t),gt(a
vendor: 20,219 bytes, line 25
25),null;case 25:return null;case 30:return null}throw Error(s(156,a.tag))}function Yw(e,a){switch(td(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return Va(_t),St(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return ti(a),null;case 31:if(a.memoizedState!==null){if(vn(a),a.alternate===null)throw Error(s(340));tr()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 13:if(vn(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(s(340));tr()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return Me(Mt),null;case 4:return St(),null;case 10:return Va(a.type),null;case 22:case 23:return vn(a),gd(),e!==null&&Me(ir),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return Va(_t),null;case 25:return null;default:return null}}function ty(e,a){switch(td(a),a.tag){case 3:Va(_t),St();break;case 26:case 27:case 5:ti(a);break;case 4:St();break;case 31:a.memoizedState!==null&&vn(a);break;case 13:vn(a);break;case 19:Me(Mt);break;case 10:Va(a.type);break;case 22:case 23:vn(a),gd(),e!==null&&Me(ir);break;case 24:Va(_t)}}function hl(e,a){try{var r=a.updateQueue,l=r!==null?r.lastEffect:null;if(l!==null){var c=l.next;r=c;do{if((r.tag&e)===e){l=void 0;var f=r.create,v=r.inst;l=f(),v.destroy=l}r=r.next}while(r!==c)}}catch(S){it(a,a.return,S)}}function bi(e,a,r){try{var l=a.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var f=c.next;l=f;do{if((l.tag&e)===e){var v=l.inst,S=v.destroy;if(S!==void 0){v.destroy=void 0,c=a;var A=r,L=S;try{L()}catch(X){it(c,A,X)}}}l=l.next}while(l!==f)}}catch(X){it(a,a.return,X)}}function ny(e){var a=e.updateQueue;if(a!==null){var r=e.stateNode;try{Zp(a,r)}catch(l){it(e,e.return,l)}}}function ay(e,a,r){r.props=ur(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(l){it(e,a,l)}}function ml(e,a){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof r=="function"?e.refCleanup=r(l):r.current=l}}catch(c){it(e,a,c)}}function ca(e,a){var r=e.ref,l=e.refCleanup;if(r!==null)if(typeof l=="function")try{l()}catch(c){it(e,a,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(c){it(e,a,c)}else r.current=null}function iy(e){var a=e.type,r=e.memoizedProps,l=e.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":r.autoFocus&&l.focus();break e;case"img":r.src?l.src=r.src:r.srcSet&&(l.srcset=r.srcSet)}}catch(c){it(e,e.return,c)}}function Gd(e,a,r){try{var l=e.stateNode;cT(l,e.type,r,a),l[ge]=a}catch(c){it(e,e.return,c)}}function ry(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ci(e.type)||e.tag===4}function Qd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ry(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&&Ci(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 Id(e,a,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,a?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,a):(a=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,a.appendChild(e),r=r._reactRootContainer,r!=null||a.onclick!==null||(a.onclick=Na));else if(l!==4&&(l===27&&Ci(e.type)&&(r=e.stateNode,a=null),e=e.child,e!==null))for(Id(e,a,r),e=e.sibling;e!==null;)Id(e,a,r),e=e.sibling}function nu(e,a,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,a?r.insertBefore(e,a):r.appendChild(e);else if(l!==4&&(l===27&&Ci(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(nu(e,a,r),e=e.sibling;e!==null;)nu(e,a,r),e=e.sibling}function sy(e){var a=e.stateNode,r=e.memoizedProps;try{for(var l=e.type,c=a.attributes;c.length;)a.removeAttributeNode(c[0]);qt(a,l,r),a[ne]=e,a[ge]=r}catch(f){it(e,e.return,f)}}var Ya=!1,Ot=!1,$d=!1,ly=typeof WeakSet=="function"?WeakSet:Set,Kt=null;function Xw(e,a){if(e=e.containerInfo,bf=Tu,e=bp(e),Pc(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var c=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{r.nodeType,f.nodeType}catch{r=null;break e}var v=0,S=-1,A=-1,L=0,X=0,q=e,B=null;t:for(;;){for(var Y;q!==r||c!==0&&q.nodeType!==3||(S=v+c),q!==f||l!==0&&q.nodeType!==3||(A=v+l),q.nodeType===3&&(v+=q.nodeValue.length),(Y=q.firstChild)!==null;)B=q,q=Y;for(;;){if(q===e)break t;if(B===r&&++L===c&&(S=v),B===f&&++X===l&&(A=v),(Y=q.nextSibling)!==null)break;q=B,B=q.parentNode}q=Y}r=S===-1||A===-1?null:{start:S,end:A}}else r=null}r=r||{start:0,end:0}}else r=null;for(xf={focusedElem:e,selectionRange:r},Tu=!1,Kt=a;Kt!==null;)if(a=Kt,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,Kt=e;else for(;Kt!==null;){switch(a=Kt,f=a.alternate,e=a.flags,a.tag){case 0:if((e&4)!==0&&(e=a.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)c=e[r],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&f!==null){e=void 0,r=a,c=f.memoizedProps,f=f.memoizedState,l=r.stateNode;try{var le=ur(r.type,c);e=l.getSnapshotBeforeUpdate(le,f),l.__reactInternalSnapshotBeforeUpdate=e}catch(we){it(r,r.return,we)}}break;case 3:if((e&1024)!==0){if(e=a.stateNode.containerInfo,r=e.nodeType,r===9)Tf(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Tf(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=a.sibling,e!==null){e.return=a.return,Kt=e;break}Kt=a.return}}function oy(e,a,r){var l=r.flags;switch(r.tag){case 0:case 11:case 15:Pa(e,r),l&4&&hl(5,r);break;case 1:if(Pa(e,r),l&4)if(e=r.stateNode,a===null)try{e.componentDidMount()}catch(v){it(r,r.return,v)}else{var c=ur(r.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(c,a,e.__reactInternalSnapshotBeforeUpdate)}catch(v){it(r,r.return,v)}}l&64&&ny(r),l&512&&ml(r,r.return);break;case 3:if(Pa(e,r),l&64&&(e=r.updateQueue,e!==null)){if(a=null,r.child!==null)switch(r.child.tag){case 27:case 5:a=r.child.stateNode;break;case 1:a=r.child.stateNode}try{Zp(e,a)}catch(v){it(r,r.return,v)}}break;case 27:a===null&&l&4&&sy(r);case 26:case 5:Pa(e,r),a===null&&l&4&&iy(r),l&512&&ml(r,r.return);break;case 12:Pa(e,r);break;case 31:Pa(e,r),l&4&&dy(e,r);break;case 13:Pa(e,r),l&4&&fy(e,r),l&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=Ww.bind(null,r),vT(e,r))));break;case 22:if(l=r.memoizedState!==null||Ya,!l){a=a!==null&&a.memoizedState!==null||Ot,c=Ya;var f=Ot;Ya=l,(Ot=a)&&!f?qa(e,r,(r.subtreeFlags&8772)!==0):Pa(e,r),Ya=c,Ot=f}break;case 30:break;default:Pa(e,r)}}function uy(e){var a=e.alternate;a!==null&&(e.alternate=null,uy(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&Qe(a)),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 bt=null,on=!1;function Xa(e,a,r){for(r=r.child;r!==null;)cy(e,a,r),r=r.sibling}function cy(e,a,r){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(ja,r)}catch{}switch(r.tag){case 26:Ot||ca(r,a),Xa(e,a,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Ot||ca(r,a);var l=bt,c=on;Ci(r.type)&&(bt=r.stateNode,on=!1),Xa(e,a,r),Tl(r.stateNode),bt=l,on=c;break;case 5:Ot||ca(r,a);case 6:if(l=bt,c=on,bt=null,Xa(e,a,r),bt=l,on=c,bt!==null)if(on)try{(bt.nodeType===9?bt.body:bt.nodeName==="HTML"?bt.ownerDocument.body:bt).removeChild(r.stateNode)}catch(f){it(r,a,f)}else try{bt.removeChild(r.stateNode)}catch(f){it(r,a,f)}break;case 18:bt!==null&&(on?(e=bt,nv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),us(e)):nv(bt,r.stateNode));break;case 4:l=bt,c=on,bt=r.stateNode.containerInfo,on=!0,Xa(e,a,r),bt=l,on=c;break;case 0:case 11:case 14:case 15:bi(2,r,a),Ot||bi(4,r,a),Xa(e,a,r);break;case 1:Ot||(ca(r,a),l=r.stateNode,typeof l.componentWillUnmount=="function"&&ay(r,a,l)),Xa(e,a,r);break;case 21:Xa(e,a,r);break;case 22:Ot=(l=Ot)||r.memoizedState!==null,Xa(e,a,r),Ot=l;break;default:Xa(e,a,r)}}function dy(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{us(e)}catch(r){it(a,a.return,r)}}}function fy(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{us(e)}catch(r){it(a,a.return,r)}}function Pw(e){switch(e.tag){case 31:case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new ly),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new ly),a;default:throw Error(s(435,e.tag))}}function au(e,a){var r=Pw(e);a.forEach(function(l){if(!r.has(l)){r.add(l);var c=Jw.bind(null,e,l);l.then(c,c)}})}function un(e,a){var r=a.deletions;if(r!==null)for(var l=0;l<r.length;l++){var c=r[l],f=e,v=a,S=v;e:for(;S!==null;){switch(S.tag){case 27:if(Ci(S.type)){bt=S.stateNode,on=!1;break e}break;case 5:bt=S.stateNode,on=!1;break e;case 3:case 4:bt=S.stateNode.containerInfo,on=!0;break e}S=S.return}if(bt===null)throw Error(s(160));cy(f,v,c),bt=null,on=!1,f=c.alternate,f!==null&&(f.return=null),c.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)hy(a,e),a=a.sibling}var Jn=null;function hy(e,a){var r=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:un(a,e),cn(e),l&4&&(bi(3,e,e.return),hl(3,e),bi(5,e,e.return));break;case 1:un(a,e),cn(e),l&512&&(Ot||r===null||ca(r,r.return)),l&64&&Ya&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?l:r.concat(l))));break;case 26:var c=Jn;if(un(a,e),cn(e),l&512&&(Ot||r===null||ca(r,r.return)),l&4){var f=r!==null?r.memoizedState:null;if(l=e.memoizedState,r===null)if(l===null)if(e.stateNode===null){e:{l=e.type,r=e.memoizedProps,c=c.ownerDocument||c;t:switch(l){case"title":f=c.getElementsByTagName("title")[0],(!f||f[Le]||f[ne]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=c.createElement(l),c.head.insertBefore(f,c.querySelector("head > title"))),qt(f,l,r),f[ne]=e,Fe(f),l=f;break e;case"link":var v=hv("link","href",c).get(l+(r.href||""));if(v){for(var S=0;S<v.length;S++)if(f=v[S],f.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&f.getAttribute("rel")===(r.rel==null?null:r.rel)&&f.getAttribute("title")===(r.title==null?null:r.title)&&f.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){v.splice(S,1);break t}}f=c.createElement(l),qt(f,l,r),c.head.appendChild(f);break;case"meta":if(v=hv("meta","content",c).get(l+(r.content||""))){for(S=0;S<v.length;S++)if(f=v[S],f.getAttribute("content")===(r.content==null?null:""+r.content)&&f.getAttribute("name")===(r.name==null?null:r.name)&&f.getAttribute("property")===(r.property==null?null:r.property)&&f.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&f.getAttribute("charset")===(r.charSet==null?null:r.charSet)){v.splice(S,1);break t}}f=c.createElement(l),qt(f,l,r),c.head.appendChild(f);break;default:throw Error(s(468,l))}f[ne]=e,Fe(f),l=f}e.stateNode=l}else mv(c,e.type,e.stateNode);else e.stateNode=fv(c,l,e.memoizedProps);else f!==l?(f===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):f.count--,l===null?mv(c,e.type,e.stateNode):fv(c,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Gd(e,e.memoizedProps,r.memoizedProps)}break;case 27:un(a,e),cn(e),l&512&&(Ot||r===null||ca(r,r.return)),r!==null&&l&4&&Gd(e,e.memoizedProps,r.memoizedProps);break;case 5:if(un(a,e),cn(e),l&512&&(Ot||r===null||ca(r,r.return)),e.flags&32){c=e.stateNode;try{Nr(c,"")}catch(le){it(e,e.return,le)}}l&4&&e.stateNode!=null&&(c=e.memoizedProps,Gd(e,c,r!==null?r.memoizedProps:c)),l&1024&&($d=!0);break;case 6:if(un(a,e),cn(e),l&4){if(e.stateNode===null)throw Error(s(162));l=e.memoizedProps,r=e.stateNode;try{r.nodeValue=l}catch(le){it(e,e.return,le)}}break;case 3:if(bu=null,c=Jn,Jn=yu(a.containerInfo),un(a,e),Jn=c,cn(e),l&4&&r!==null&&r.memoizedState.isDehydrated)try{us(a.containerInfo)}catch(le){it(e,e.return,le)}$d&&($d=!1,my(e));break;case 4:l=Jn,Jn=yu(e.stateNode.containerInfo),un(a,e),cn(e),Jn=l;break;case 12:un(a,e),cn(e);break;case 31:un(a,e),cn(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,au(e,l)));break;case 13:un(a,e),cn(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(ru=Wt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,au(e,l)));break;case 22:c=e.memoizedState!==null;var A=r!==null&&r.memoizedState!==null,L=Ya,X=Ot;if(Ya=L||c,Ot=X||A,un(a,e),Ot=X,Ya=L,cn(e),l&8192)e:for(a=e.stateNode,a._visibility=c?a._visibility&-2:a._visibility|1,c&&(r===null||A||Ya||Ot||cr(e)),r=null,a=e;;){if(a.tag===5||a.tag===26){if(r===null){A=r=a;try{if(f=A.stateNode,c)v=f.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{S=A.stateNode;var q=A.memoizedProps.style,B=q!=null&&q.hasOwnProperty("display")?q.display:null;S.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(le){it(A,A.return,le)}}}else if(a.tag===6){if(r===null){A=a;try{A.stateNode.nodeValue=c?"":A.memoizedProps}catch(le){it(A,A.return,le)}}}else if(a.tag===18){if(r===null){A=a;try{var Y=A.stateNode;c?av(Y,!0):av(A.stateNode,!1)}catch(le){it(A,A.return,le)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;r===a&&(r=null),a=a.return}r===a&&(r=null),a.sibling.return=a.return,a=a.sibling}l&4&&(l=e.updateQueue,l!==null&&(r=l.retryQueue,r!==null&&(l.retryQueue=null,au(e,r))));break;case 19:un(a,e),cn(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,au(e,l)));break;case 30:break;case 21:break;default:un(a,e),cn(e)}}function cn(e){var a=e.flags;if(a&2){try{for(var r,l=e.return;l!==null;){if(ry(l)){r=l;break}l=l.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var c=r.stateNode,f=Qd(e);nu(e,f,c);break;case 5:var v=r.stateNode;r.flags&32&&(Nr(v,""),r.flags&=-33);var S=Qd(e);nu(e,S,v);break;case 3:case 4:var A=r.stateNode.containerInfo,L=Qd(e);Id(e,L,A);break;default:throw Error(s(161))}}catch(X){it(e,e.return,X)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function my(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;my(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function Pa(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)oy(e,a.alternate,a),a=a.sibling}function cr(e){for(e=e.child;e!==null;){var a=e;switch(a.tag){case 0:case 11:case 14:case 15:bi(4,a,a.return),cr(a);break;case 1:ca(a,a.return);var r=a.stateNode;typeof r.componentWillUnmount=="function"&&ay(a,a.return,r),cr(a);break;case 27:Tl(a.stateNode);case 26:case 5:ca(a,a.return),cr(a);break;case 22:a.memoizedState===null&&cr(a);break;case 30:cr(a);break;default:cr(a)}e=e.sibling}}function qa(e,a,r){for(r=r&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var l=a.alternate,c=e,f=a,v=f.flags;switch(f.tag){case 0:case 11:case 15:qa(c,f,r),hl(4,f);break;case 1:if(qa(c,f,r),l=f,c=l.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(L){it(l,l.return,L)}if(l=f,c=l.updateQueue,c!==null){var S=l.stateNode;try{var A=c.shared.hiddenCallbacks;if(A!==null)for(c.shared.hiddenCallbacks=null,c=0;c<A.length;c++)qp(A[c],S)}catch(L){it(l,l.return,L)}}r&&v&64&&ny(f),ml(f,f.return);break;case 27:sy(f);case 26:case 5:qa(c,f,r),r&&l===null&&v&4&&iy(f),ml(f,f.return);break;case 12:qa(c,f,r);break;case 31:qa(c,f,r),r&&v&4&&dy(c,f);break;case 13:qa(c,f,r),r&&v&4&&fy(c,f);break;case 22:f.memoizedState===null&&qa(c,f,r),ml(f,f.return);break;case 30:break;default:qa(c,f,r)}a=a.sibling}}function Wd(e,a){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&el(r))}function Jd(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&el(e))}function ea(e,a,r,l){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)py(e,a,r,l),a=a.sibling}function py(e,a,r,l){var c=a.flags;switch(a.tag){case 0:case 11:case 15:ea(e,a,r,l),c&2048&&hl(9,a);break;case 1:ea(e,a,r,l);break;case 3:ea(e,a,r,l),c&2048&&(e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&el(e)));break;case 12:if(c&2048){ea(e,a,r,l),e=a.stateNode;try{var f=a.memoizedProps,v=f.id,S=f.onPostCommit;typeof S=="function"&&S(v,a.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(A){it(a,a.return,A)}}else ea(e,a,r,l);break;case 31:ea(e,a,r,l);break;case 13:ea(e,a,r,l);break;case 23:break;case 22:f=a.stateNode,v=a.alternate,a.memoizedState!==null?f._visibility&2?ea(e,a,r,l):pl(e,a):f._visibility&2?ea(e,a,r,l):(f._visibility|=2,Wr(e,a,r,l,(a.subtreeFlags&10256)!==0||!1)),c&2048&&Wd(v,a);break;case 24:ea(e,a,r,l),c&2048&&Jd(a.alternate,a);break;default:ea(e,a,r,l)}}function Wr(e,a,r,l,c){for(c=c&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var f=e,v=a,S=r,A=l,L=v.flags;switch(v.tag){case 0:case 11:case 15:Wr(f,v,S,A,c),hl(8,v);break;case 23:break;case 22:var X=v.stateNode;v.memoizedState!==null?X._visibility&2?Wr(f,v,S,A,c):pl(f,v):(X._visibility|=2,Wr(f,v,S,A,c)),c&&L&2048&&Wd(v.alternate,v);break;case 24:Wr(f,v,S,A,c),c&&L&2048&&Jd(v.alternate,v);break;default:Wr(f,v,S,A,c)}a=a.sibling}}function pl(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var r=e,l=a,c=l.flags;switch(l.tag){case 22:pl(r,l),c&2048&&Wd(l.alternate,l);break;case 24:pl(r,l),c&2048&&Jd(l.alternate,l);break;default:pl(r,l)}a=a.sibling}}var gl=8192;function Jr(e,a,r){if(e.subtreeFlags&gl)for(e=e.child;e!==null;)gy(e,a,r),e=e.sibling}function gy(e,a,r){switch(e.tag){case 26:Jr(e,a,r),e.flags&gl&&e.memoizedState!==null&&_T(r,Jn,e.memoizedState,e.memoizedProps);break;case 5:Jr(e,a,r);break;case 3:case 4:var l=Jn;Jn=yu(e.stateNode.containerInfo),Jr(e,a,r),Jn=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=gl,gl=16777216,Jr(e,a,r),gl=l):Jr(e,a,r));break;default:Jr(e,a,r)}}function yy(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function yl(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var r=0;r<a.length;r++){var l=a[r];Kt=l,by(l,e)}yy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)vy(e),e=e.sibling}function vy(e){switch(e.tag){case 0:case 11:case 15:yl(e),e.flags&2048&&bi(9,e,e.return);break;case 3:yl(e);break;case 12:yl(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&2&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,iu(e)):yl(e);break;default:yl(e)}}function iu(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var r=0;r<a.length;r++){var l=a[r];Kt=l,by(l,e)}yy(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:bi(8,a,a.return),iu(a);break;case 22:r=a.stateNode,r._visibility&2&&(r._visibility&=-3,iu(a));break;default:iu(a)}e=e.sibling}}function by(e,a){for(;Kt!==null;){var r=Kt;switch(r.tag){case 0:case 11:case 15:bi(8,r,a);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var l=r.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:el(r.memoizedState.cache)}if(l=r.child,l!==null)l.return=r,Kt=l;else e:for(r=e;Kt!==null;){l=Kt;var c=l.sibling,f=l.return;if(uy(l),l===r){Kt=null;break e}if(c!==null){c.return=f,Kt=c;break e}Kt=f}}}var qw={getCacheForType:function(e){var a=Xt(_t),r=a.data.get(e);return r===void 0&&(r=e(),a.data.set(e,r)),r},cacheSignal:function(){return Xt(_t).controller.signal}},Zw=typeof WeakMap=="function"?WeakMap:Map,Je=0,ut=null,Ue=null,Ke=0,at=0,bn=null,xi=!1,es=!1,ef=!1,Za=0,Tt=0,Si=0,dr=0,tf=0,xn=0,ts=0,vl=null,dn=null,nf=!1,ru=0,xy=0,su=1/0,lu=null,wi=null,
vendor: 4,280 bytes, line 25
25Lt=0,Ti=null,ns=null,Fa=0,af=0,rf=null,Sy=null,bl=0,sf=null;function Sn(){return(Je&2)!==0&&Ke!==0?Ke&-Ke:H.T!==null?ff():Z()}function wy(){if(xn===0)if((Ke&536870912)===0||Pe){var e=Ma;Ma<<=1,(Ma&3932160)===0&&(Ma=262144),xn=e}else xn=536870912;return e=yn.current,e!==null&&(e.flags|=32),xn}function fn(e,a,r){(e===ut&&(at===2||at===9)||e.cancelPendingCommit!==null)&&(as(e,0),Ei(e,Ke,xn,!1)),la(e,r),((Je&2)===0||e!==ut)&&(e===ut&&((Je&2)===0&&(dr|=r),Tt===4&&Ei(e,Ke,xn,!1)),da(e))}function Ty(e,a,r){if((Je&6)!==0)throw Error(s(327));var l=!r&&(a&127)===0&&(a&e.expiredLanes)===0||si(e,a),c=l?Qw(e,a):of(e,a,!0),f=l;do{if(c===0){es&&!l&&Ei(e,a,0,!1);break}else{if(r=e.current.alternate,f&&!Fw(r)){c=of(e,a,!1),f=!1;continue}if(c===2){if(f=a,e.errorRecoveryDisabledLanes&f)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){a=v;e:{var S=e;c=vl;var A=S.current.memoizedState.isDehydrated;if(A&&(as(S,v).flags|=256),v=of(S,v,!1),v!==2){if(ef&&!A){S.errorRecoveryDisabledLanes|=f,dr|=f,c=4;break e}f=dn,dn=c,f!==null&&(dn===null?dn=f:dn.push.apply(dn,f))}c=v}if(f=!1,c!==2)continue}}if(c===1){as(e,0),Ei(e,a,0,!0);break}e:{switch(l=e,f=c,f){case 0:case 1:throw Error(s(345));case 4:if((a&4194048)!==a)break;case 6:Ei(l,a,xn,!xi);break e;case 2:dn=null;break;case 3:case 5:break;default:throw Error(s(329))}if((a&62914560)===a&&(c=ru+300-Wt(),10<c)){if(Ei(l,a,xn,!xi),Cr(l,0,!0)!==0)break e;Fa=a,l.timeoutHandle=ev(Ey.bind(null,l,r,dn,lu,nf,a,xn,dr,ts,xi,f,"Throttled",-0,0),c);break e}Ey(l,r,dn,lu,nf,a,xn,dr,ts,xi,f,null,-0,0)}}break}while(!0);da(e)}function Ey(e,a,r,l,c,f,v,S,A,L,X,q,B,Y){if(e.timeoutHandle=-1,q=a.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Na},gy(a,f,q);var le=(f&62914560)===f?ru-Wt():(f&4194048)===f?xy-Wt():0;if(le=DT(q,le),le!==null){Fa=f,e.cancelPendingCommit=le(Ny.bind(null,e,a,f,r,l,c,v,S,A,X,q,null,B,Y)),Ei(e,f,v,!L);return}}Ny(e,a,f,r,l,c,v,S,A)}function Fw(e){for(var a=e;;){var r=a.tag;if((r===0||r===11||r===15)&&a.flags&16384&&(r=a.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var l=0;l<r.length;l++){var c=r[l],f=c.getSnapshot;c=c.value;try{if(!pn(f(),c))return!1}catch{return!1}}if(r=a.child,a.subtreeFlags&16384&&r!==null)r.return=a,a=r;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ei(e,a,r,l){a&=~tf,a&=~dr,e.suspendedLanes|=a,e.pingedLanes&=~a,l&&(e.warmLanes|=a),l=e.expirationTimes;for(var c=a;0<c;){var f=31-Qt(c),v=1<<f;l[f]=-1,c&=~v}r!==0&&bo(e,r,a)}function ou(){return(Je&6)===0?(xl(0),!1):!0}function lf(){if(Ue!==null){if(at===0)var e=Ue.return;else e=Ue,La=nr=null,wd(e),Fr=null,nl=0,e=Ue;for(;e!==null;)ty(e.alternate,e),e=e.return;Ue=null}}function as(e,a){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,hT(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Fa=0,lf(),ut=e,Ue=r=za(e.current,null),Ke=a,at=0,bn=null,xi=!1,es=si(e,a),ef=!1,ts=xn=tf=dr=Si=Tt=0,dn=vl=null,nf=!1,(a&8)!==0&&(a|=a&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=a;0<l;){var c=31-Qt(l),f=1<<c;a|=e[c],l&=~f}return Za=a,Ro(),r}function Ay(e,a){Oe=null,H.H=cl,a===Zr||a===Vo?(a=Kp(),at=3):a===cd?(a=Kp(),at=4):at=a===Bd?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,bn=a,Ue===null&&(Tt=1,$o(e,Nn(a,e.current)))}function Cy(){var e=yn.current;return e===null?!0:(Ke&4194048)===Ke?Ln===null:(Ke&62914560)===Ke||(Ke&536870912)!==0?e===Ln:!1}function jy(){var e=H.H;return H.H=cl,e===null?cl:e}function My(){var e=H.A;return H.A=qw,e}function uu(){Tt=4,xi||(Ke&4194048)!==Ke&&yn.current!==null||(es=!0),(Si&134217727)===0&&(dr&134217727)===0||ut===null||Ei(ut,Ke,xn,!1)}function of(e,a,r){var l=Je;Je|=2;var c=jy(),f=My();(ut!==e||Ke!==a)&&(lu=null,as(e,a)),a=!1;var v=Tt;e:do try{if(at!==0&&Ue!==null){var S=Ue,A=bn;switch(at){case 8:lf(),v=6;break e;case 3:case 2:case 9:case 6:yn.current===null&&(a=!0);var L=at;if(at=0,bn=null,is(e,S,A,L),r&&es){v=0;break e}break;default:L=at,at=0,bn=null,is(e,S,A,L)}}Gw(),v=Tt;break}catch(X){Ay(e,X)}while(!0);return a&&e.shellSuspendCounter++,La=nr=null,Je=l,H.H=c,H.A=f,Ue===null&&(ut
vendor: 4,736 bytes, line 25
25=null,Ke=0,Ro()),v}function Gw(){for(;Ue!==null;)Ry(Ue)}function Qw(e,a){var r=Je;Je|=2;var l=jy(),c=My();ut!==e||Ke!==a?(lu=null,su=Wt()+500,as(e,a)):es=si(e,a);e:do try{if(at!==0&&Ue!==null){a=Ue;var f=bn;t:switch(at){case 1:at=0,bn=null,is(e,a,f,1);break;case 2:case 9:if(Up(f)){at=0,bn=null,_y(a);break}a=function(){at!==2&&at!==9||ut!==e||(at=7),da(e)},f.then(a,a);break e;case 3:at=7;break e;case 4:at=5;break e;case 7:Up(f)?(at=0,bn=null,_y(a)):(at=0,bn=null,is(e,a,f,7));break;case 5:var v=null;switch(Ue.tag){case 26:v=Ue.memoizedState;case 5:case 27:var S=Ue;if(v?pv(v):S.stateNode.complete){at=0,bn=null;var A=S.sibling;if(A!==null)Ue=A;else{var L=S.return;L!==null?(Ue=L,cu(L)):Ue=null}break t}}at=0,bn=null,is(e,a,f,5);break;case 6:at=0,bn=null,is(e,a,f,6);break;case 8:lf(),Tt=6;break e;default:throw Error(s(462))}}Iw();break}catch(X){Ay(e,X)}while(!0);return La=nr=null,H.H=l,H.A=c,Je=r,Ue!==null?0:(ut=null,Ke=0,Ro(),Tt)}function Iw(){for(;Ue!==null&&!Ec();)Ry(Ue)}function Ry(e){var a=Jg(e.alternate,e,Za);e.memoizedProps=e.pendingProps,a===null?cu(e):Ue=a}function _y(e){var a=e,r=a.alternate;switch(a.tag){case 15:case 0:a=Fg(r,a,a.pendingProps,a.type,void 0,Ke);break;case 11:a=Fg(r,a,a.pendingProps,a.type.render,a.ref,Ke);break;case 5:wd(a);default:ty(r,a),a=Ue=Mp(a,Za),a=Jg(r,a,Za)}e.memoizedProps=e.pendingProps,a===null?cu(e):Ue=a}function is(e,a,r,l){La=nr=null,wd(a),Fr=null,nl=0;var c=a.return;try{if(Bw(e,c,a,r,Ke)){Tt=1,$o(e,Nn(r,e.current)),Ue=null;return}}catch(f){if(c!==null)throw Ue=c,f;Tt=1,$o(e,Nn(r,e.current)),Ue=null;return}a.flags&32768?(Pe||l===1?e=!0:es||(Ke&536870912)!==0?e=!1:(xi=e=!0,(l===2||l===9||l===3||l===6)&&(l=yn.current,l!==null&&l.tag===13&&(l.flags|=16384))),Dy(a,e)):cu(a)}function cu(e){var a=e;do{if((a.flags&32768)!==0){Dy(a,xi);return}e=a.return;var r=Kw(a.alternate,a,Za);if(r!==null){Ue=r;return}if(a=a.sibling,a!==null){Ue=a;return}Ue=a=e}while(a!==null);Tt===0&&(Tt=5)}function Dy(e,a){do{var r=Yw(e.alternate,e);if(r!==null){r.flags&=32767,Ue=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!a&&(e=e.sibling,e!==null)){Ue=e;return}Ue=e=r}while(e!==null);Tt=6,Ue=null}function Ny(e,a,r,l,c,f,v,S,A){e.cancelPendingCommit=null;do du();while(Lt!==0);if((Je&6)!==0)throw Error(s(327));if(a!==null){if(a===e.current)throw Error(s(177));if(f=a.lanes|a.childLanes,f|=Qc,vo(e,r,f,v,S,A),e===ut&&(Ue=ut=null,Ke=0),ns=a,Ti=e,Fa=r,af=f,rf=c,Sy=l,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,eT(ri,function(){return Vy(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||l){l=H.T,H.T=null,c=G.p,G.p=2,v=Je,Je|=4;try{Xw(e,a,r)}finally{Je=v,G.p=c,H.T=l}}Lt=1,Oy(),zy(),ky()}}function Oy(){if(Lt===1){Lt=0;var e=Ti,a=ns,r=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||r){r=H.T,H.T=null;var l=G.p;G.p=2;var c=Je;Je|=4;try{hy(a,e);var f=xf,v=bp(e.containerInfo),S=f.focusedElem,A=f.selectionRange;if(v!==S&&S&&S.ownerDocument&&vp(S.ownerDocument.documentElement,S)){if(A!==null&&Pc(S)){var L=A.start,X=A.end;if(X===void 0&&(X=L),"selectionStart"in S)S.selectionStart=L,S.selectionEnd=Math.min(X,S.value.length);else{var q=S.ownerDocument||document,B=q&&q.defaultView||window;if(B.getSelection){var Y=B.getSelection(),le=S.textContent.length,we=Math.min(A.start,le),lt=A.end===void 0?we:Math.min(A.end,le);!Y.extend&&we>lt&&(v=lt,lt=we,we=v);var N=yp(S,we),R=yp(S,lt);if(N&&R&&(Y.rangeCount!==1||Y.anchorNode!==N.node||Y.anchorOffset!==N.offset||Y.focusNode!==R.node||Y.focusOffset!==R.offset)){var k=q.createRange();k.setStart(N.node,N.offset),Y.removeAllRanges(),we>lt?(Y.addRange(k),Y.extend(R.node,R.offset)):(k.setEnd(R.node,R.offset),Y.addRange(k))}}}}for(q=[],Y=S;Y=Y.parentNode;)Y.nodeType===1&&q.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<q.length;S++){var P=q[S];P.element.scrollLeft=P.left,P.element.scrollTop=P.top}}Tu=!!bf,xf=bf=null}finally{Je=c,G.p=l,H.T=r}}e.current=a,Lt=2}}function zy(){if(Lt===2){Lt=0;var e=Ti,a=ns,r=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||r){r=H.T,H.T=null;var l=G.p;G.p=2;var c=Je;Je|=4;try{oy(e,a.alternate,a)}finally{Je=c,G.p=l,H.T=r}}Lt=3}}function ky(){if(Lt===4||Lt===3){Lt=0,Ac();var e=Ti,a=ns,r=Fa,l=Sy;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?Lt=5:(Lt=0,ns=Ti=null,Ly(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(wi=null),z(r),a=a.stateNode,Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(ja,a,void 0,(a.current.flags&128)===128)}catch{}if(l!==null){a=H.T,c=G.p,G.p=2,H.T=null;try{for(var f=e.onRecoverableError,v=0;v<l.length;v++){var S=l[v];f(S.value,{componentStack:S.stack})}}finally{H.T=a,G.p=c}}
vendor: 8,654 bytes, line 25
25(Fa&3)!==0&&du(),da(e),c=e.pendingLanes,(r&261930)!==0&&(c&42)!==0?e===sf?bl++:(bl=0,sf=e):bl=0,xl(0)}}function Ly(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,el(a)))}function du(){return Oy(),zy(),ky(),Vy()}function Vy(){if(Lt!==5)return!1;var e=Ti,a=af;af=0;var r=z(Fa),l=H.T,c=G.p;try{G.p=32>r?32:r,H.T=null,r=rf,rf=null;var f=Ti,v=Fa;if(Lt=0,ns=Ti=null,Fa=0,(Je&6)!==0)throw Error(s(331));var S=Je;if(Je|=4,vy(f.current),py(f,f.current,v,r),Je=S,xl(0,!1),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(ja,f)}catch{}return!0}finally{G.p=c,H.T=l,Ly(e,a)}}function By(e,a,r){a=Nn(r,a),a=Vd(e.stateNode,a,2),e=gi(e,a,2),e!==null&&(la(e,2),da(e))}function it(e,a,r){if(e.tag===3)By(e,e,r);else for(;a!==null;){if(a.tag===3){By(a,e,r);break}else if(a.tag===1){var l=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(wi===null||!wi.has(l))){e=Nn(r,e),r=Ug(2),l=gi(a,r,2),l!==null&&(Hg(r,l,a,e),la(l,2),da(l));break}}a=a.return}}function uf(e,a,r){var l=e.pingCache;if(l===null){l=e.pingCache=new Zw;var c=new Set;l.set(a,c)}else c=l.get(a),c===void 0&&(c=new Set,l.set(a,c));c.has(r)||(ef=!0,c.add(r),e=$w.bind(null,e,a,r),a.then(e,e))}function $w(e,a,r){var l=e.pingCache;l!==null&&l.delete(a),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,ut===e&&(Ke&r)===r&&(Tt===4||Tt===3&&(Ke&62914560)===Ke&&300>Wt()-ru?(Je&2)===0&&as(e,0):tf|=r,ts===Ke&&(ts=0)),da(e)}function Uy(e,a){a===0&&(a=Ks()),e=Ji(e,a),e!==null&&(la(e,a),da(e))}function Ww(e){var a=e.memoizedState,r=0;a!==null&&(r=a.retryLane),Uy(e,r)}function Jw(e,a){var r=0;switch(e.tag){case 31:case 13:var l=e.stateNode,c=e.memoizedState;c!==null&&(r=c.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(s(314))}l!==null&&l.delete(a),Uy(e,r)}function eT(e,a){return Ar(e,a)}var fu=null,rs=null,cf=!1,hu=!1,df=!1,Ai=0;function da(e){e!==rs&&e.next===null&&(rs===null?fu=rs=e:rs=rs.next=e),hu=!0,cf||(cf=!0,nT())}function xl(e,a){if(!df&&hu){df=!0;do for(var r=!1,l=fu;l!==null;){if(e!==0){var c=l.pendingLanes;if(c===0)var f=0;else{var v=l.suspendedLanes,S=l.pingedLanes;f=(1<<31-Qt(42|e)+1)-1,f&=c&~(v&~S),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(r=!0,Xy(l,f))}else f=Ke,f=Cr(l,l===ut?f:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(f&3)===0||si(l,f)||(r=!0,Xy(l,f));l=l.next}while(r);df=!1}}function tT(){Hy()}function Hy(){hu=cf=!1;var e=0;Ai!==0&&fT()&&(e=Ai);for(var a=Wt(),r=null,l=fu;l!==null;){var c=l.next,f=Ky(l,a);f===0?(l.next=null,r===null?fu=c:r.next=c,c===null&&(rs=r)):(r=l,(e!==0||(f&3)!==0)&&(hu=!0)),l=c}Lt!==0&&Lt!==5||xl(e),Ai!==0&&(Ai=0)}function Ky(e,a){for(var r=e.suspendedLanes,l=e.pingedLanes,c=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var v=31-Qt(f),S=1<<v,A=c[v];A===-1?((S&r)===0||(S&l)!==0)&&(c[v]=Rc(S,a)):A<=a&&(e.expiredLanes|=S),f&=~S}if(a=ut,r=Ke,r=Cr(e,e===a?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,r===0||e===a&&(at===2||at===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Us(l),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||si(e,r)){if(a=r&-r,a===e.callbackPriority)return a;switch(l!==null&&Us(l),z(r)){case 2:case 8:r=Hs;break;case 32:r=ri;break;case 268435456:r=Rn;break;default:r=ri}return l=Yy.bind(null,e),r=Ar(r,l),e.callbackPriority=a,e.callbackNode=r,a}return l!==null&&l!==null&&Us(l),e.callbackPriority=2,e.callbackNode=null,2}function Yy(e,a){if(Lt!==0&&Lt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(du()&&e.callbackNode!==r)return null;var l=Ke;return l=Cr(e,e===ut?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Ty(e,l,a),Ky(e,Wt()),e.callbackNode!=null&&e.callbackNode===r?Yy.bind(null,e):null)}function Xy(e,a){if(du())return null;Ty(e,a,!0)}function nT(){mT(function(){(Je&6)!==0?Ar(ii,tT):Hy()})}function ff(){if(Ai===0){var e=Pr;e===0&&(e=Gi,Gi<<=1,(Gi&261888)===0&&(Gi=256)),Ai=e}return Ai}function Py(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:So(""+e)}function qy(e,a){var r=a.ownerDocument.createElement("input");return r.name=a.name,r.value=a.value,e.id&&r.setAttribute("form",e.id),a.parentNode.insertBefore(r,a),e=new FormData(e),r.parentNode.removeChild(r),e}function aT(e,a,r,l,c){if(a==="submit"&&r&&r.stateNode===c){var f=Py((c[ge]||null).action),v=l.submitter;v&&(a=(a=v[ge]||null)?Py(a.formAction):v.getAttribute("formAction"),a!==null&&(f=a,v=null));var S=new Ao("action","action",null,l,c);e.push({event:S,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ai!==0){var A=v?qy(c,v):new FormData(c);Dd(r,{pending:!0,data:A,method:c.method,action:f},null,A)}}else typeof f=="function"&&(S.preventDefault(),A=v?qy(c,v):new FormData(c),Dd(r,{pending:!0,data:A,method:c.method,action:f},f,A))},currentTarget:c}]})}}for(var hf=0;hf<Gc.length;hf++){var mf=Gc[hf],iT=mf.toLowerCase(),rT=mf[0].toUpperCase()+mf.slice(1);Wn(iT,"on"+rT)}Wn(wp,"onAnimationEnd"),Wn(Tp,"onAnimationIteration"),Wn(Ep,"onAnimationStart"),Wn("dblclick","onDoubleClick"),Wn("focusin","onFocus"),Wn("focusout","onBlur"),Wn(Sw,"onTransitionRun"),Wn(ww,"onTransitionStart"),Wn(Tw,"onTransitionCancel"),Wn(Ap,"onTransitionEnd"),en("onMouseEnter",["mouseout","mouseover"]),en("onMouseLeave",["mouseout","mouseover"]),en("onPointerEnter",["pointerout","pointerover"]),en("onPointerLeave",["pointerout","pointerover"]),sn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),sn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),sn("onBeforeInput",["compositionend","keypress","textInput","paste"]),sn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),sn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),sn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sl="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(" "),sT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sl));function Zy(e,a){a=(a&4)!==0;for(var r=0;r<e.length;r++){var l=e[r],c=l.event;l=l.listeners;e:{var f=void 0;if(a)for(var v=l.length-1;0<=v;v--){var S=l[v],A=S.instance,L=S.currentTarget;if(S=S.listener,A!==f&&c.isPropagationStopped())break e;f=S,c.currentTarget=L;try{f(c)}catch(X){Mo(X)}c.currentTarget=null,f=A}else for(v=0;v<l.length;v++){if(S=l[v],A=S.instance,L=S.currentTarget,S=S.listener,A!==f&&c.isPropagationStopped())break e;f=S,c.currentTarget=L;try{f(c)}catch(X){Mo(X)}c.currentTarget=null,f=A}}}}function He(e,a){var r=a[he];r===void 0&&(r=a[he]=new Set);var l=e+"__bubble";r.has(l)||(Fy(a,e,2,!1),r.add(l))}function pf(e,a,r){var l=0;a&&(l|=4),Fy(r,e,l,a)}var mu="_reactListening"+Math.random().toString(36).slice(2);function gf(e){if(!e[mu]){e[mu]=!0,oi.forEach(function(r){r!=="selectionchange"&&(sT.has(r)||pf(r,!1,e),pf(r,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[mu]||(a[mu]=!0,pf("selectionchange",!1,a))}}function Fy(e,a,r,l){switch(wv(a)){case 2:var c=zT;break;case 8:c=kT;break;default:c=Df}r=c.bind(null,a,r,e),c=void 0,!kc||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(c=!0),l?c!==void 0?e.addEventListener(a,r,{capture:!0,passive:c}):e.addEventListener(a,r,!0):c!==void 0?e.addEventListener(a,r,{passive:c}):e.addEventListener(a,r,!1)}function yf(e,a,r,l,c){var f=l;if((a&1)===0&&(a&2)===0&&l!==null)e:for(;;){if(l===null)return;var v=l.tag;if(v===3||v===4){var S=l.stateNode.containerInfo;if(S===c)break;if(v===4)for(v=l.return;v!==null;){var A=v.tag;if((A===3||A===4)&&v.stateNode.containerInfo===c)return;v=v.return}for(;S!==null;){if(v=mt(S),v===null)return;if(A=v.tag,A===5||A===6||A===26||A===27){l=f=v;continue e}S=S.parentNode}}l=l.return}Wm(function(){var L=f,X=Oc(r),q=[];e:{var B=Cp.get(e);if(B!==void 0){var Y=Ao,le=e;switch(e){case"keypress":if(To(r)===0)break e;case"keydown":case"keyup":Y=JS;break;case"focusin":le="focus",Y=Uc;break;case"focusout":le="blur",Y=Uc;break;case"beforeblur":case"afterblur":Y=Uc;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=tp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y
vendor: 1,823 bytes, line 25
25=KS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=nw;break;case wp:case Tp:case Ep:Y=PS;break;case Ap:Y=iw;break;case"scroll":case"scrollend":Y=US;break;case"wheel":Y=sw;break;case"copy":case"cut":case"paste":Y=ZS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=ap;break;case"toggle":case"beforetoggle":Y=ow}var we=(a&4)!==0,lt=!we&&(e==="scroll"||e==="scrollend"),N=we?B!==null?B+"Capture":null:B;we=[];for(var R=L,k;R!==null;){var P=R;if(k=P.stateNode,P=P.tag,P!==5&&P!==26&&P!==27||k===null||N===null||(P=Xs(R,N),P!=null&&we.push(wl(R,P,k))),lt)break;R=R.return}0<we.length&&(B=new Y(B,le,null,r,X),q.push({event:B,listeners:we}))}}if((a&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",Y=e==="mouseout"||e==="pointerout",B&&r!==Nc&&(le=r.relatedTarget||r.fromElement)&&(mt(le)||le[te]))break e;if((Y||B)&&(B=X.window===X?X:(B=X.ownerDocument)?B.defaultView||B.parentWindow:window,Y?(le=r.relatedTarget||r.toElement,Y=L,le=le?mt(le):null,le!==null&&(lt=u(le),we=le.tag,le!==lt||we!==5&&we!==27&&we!==6)&&(le=null)):(Y=null,le=L),Y!==le)){if(we=tp,P="onMouseLeave",N="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(we=ap,P="onPointerLeave",N="onPointerEnter",R="pointer"),lt=Y==null?B:Ze(Y),k=le==null?B:Ze(le),B=new we(P,R+"leave",Y,r,X),B.target=lt,B.relatedTarget=k,P=null,mt(X)===L&&(we=new we(N,R+"enter",le,r,X),we.target=k,we.relatedTarget=lt,P=we),lt=P,Y&&le)t:{for(we=lT,N=Y,R=le,k=0,P=N;P;P=we(P))k++;P=0;for(var xe=R;xe;xe=we(xe))P++;for(;0<k-P;)N=we(N),k--;for(;0<P-k;)R=we(R),P--;for(;k--;){if(N===R||R!==null&&N===R.alternate){we=N;break t}N=we(N),R=we(R)}we=null}else we=null;Y!==null&&Gy(q,B,Y,we,!1),le!==null&&lt!==null&&Gy(q,lt,le,we,!0)}}
vendor: 5,189 bytes, lines 25-26
25e:{if(B=L?Ze(L):window,Y=B.nodeName&&B.nodeName.toLowerCase(),Y==="select"||Y==="input"&&B.type==="file")var Ie=dp;else if(up(B))if(fp)Ie=vw;else{Ie=gw;var fe=pw}else Y=B.nodeName,!Y||Y.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?L&&Dc(L.elementType)&&(Ie=dp):Ie=yw;if(Ie&&(Ie=Ie(e,L))){cp(q,Ie,r,X);break e}fe&&fe(e,B,L),e==="focusout"&&L&&B.type==="number"&&L.memoizedProps.value!=null&&_c(B,"number",B.value)}switch(fe=L?Ze(L):window,e){case"focusin":(up(fe)||fe.contentEditable==="true")&&(Lr=fe,qc=L,$s=null);break;case"focusout":$s=qc=Lr=null;break;case"mousedown":Zc=!0;break;case"contextmenu":case"mouseup":case"dragend":Zc=!1,xp(q,r,X);break;case"selectionchange":if(xw)break;case"keydown":case"keyup":xp(q,r,X)}var ze;if(Kc)e:{switch(e){case"compositionstart":var Ye="onCompositionStart";break e;case"compositionend":Ye="onCompositionEnd";break e;case"compositionupdate":Ye="onCompositionUpdate";break e}Ye=void 0}else kr?lp(e,r)&&(Ye="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(Ye="onCompositionStart");Ye&&(ip&&r.locale!=="ko"&&(kr||Ye!=="onCompositionStart"?Ye==="onCompositionEnd"&&kr&&(ze=Jm()):(ui=X,Lc="value"in ui?ui.value:ui.textContent,kr=!0)),fe=pu(L,Ye),0<fe.length&&(Ye=new np(Ye,e,null,r,X),q.push({event:Ye,listeners:fe}),ze?Ye.data=ze:(ze=op(r),ze!==null&&(Ye.data=ze)))),(ze=cw?dw(e,r):fw(e,r))&&(Ye=pu(L,"onBeforeInput"),0<Ye.length&&(fe=new np("onBeforeInput","beforeinput",null,r,X),q.push({event:fe,listeners:Ye}),fe.data=ze)),aT(q,e,L,r,X)}Zy(q,a)})}function wl(e,a,r){return{instance:e,listener:a,currentTarget:r}}function pu(e,a){for(var r=a+"Capture",l=[];e!==null;){var c=e,f=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||f===null||(c=Xs(e,r),c!=null&&l.unshift(wl(e,c,f)),c=Xs(e,a),c!=null&&l.push(wl(e,c,f))),e.tag===3)return l;e=e.return}return[]}function lT(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Gy(e,a,r,l,c){for(var f=a._reactName,v=[];r!==null&&r!==l;){var S=r,A=S.alternate,L=S.stateNode;if(S=S.tag,A!==null&&A===l)break;S!==5&&S!==26&&S!==27||L===null||(A=L,c?(L=Xs(r,f),L!=null&&v.unshift(wl(r,L,A))):c||(L=Xs(r,f),L!=null&&v.push(wl(r,L,A)))),r=r.return}v.length!==0&&e.push({event:a,listeners:v})}var oT=/\r\n?/g,uT=/\u0000|\uFFFD/g;function Qy(e){return(typeof e=="string"?e:""+e).replace(oT,`
26`).replace(uT,"")}function Iy(e,a){return a=Qy(a),Qy(e)===a}function st(e,a,r,l,c,f){switch(r){case"children":typeof l=="string"?a==="body"||a==="textarea"&&l===""||Nr(e,l):(typeof l=="number"||typeof l=="bigint")&&a!=="body"&&Nr(e,""+l);break;case"className":_a(e,"class",l);break;case"tabIndex":_a(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":_a(e,r,l);break;case"style":Im(e,l,f);break;case"data":if(a!=="object"){_a(e,"data",l);break}case"src":case"href":if(l===""&&(a!=="a"||r!=="href")){e.removeAttribute(r);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=So(""+l),e.setAttribute(r,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(r==="formAction"?(a!=="input"&&st(e,a,"name",c.name,c,null),st(e,a,"formEncType",c.formEncType,c,null),st(e,a,"formMethod",c.formMethod,c,null),st(e,a,"formTarget",c.formTarget,c,null)):(st(e,a,"encType",c.encType,c,null),st(e,a,"method",c.method,c,null),st(e,a,"target",c.target,c,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=So(""+l),e.setAttribute(r,l);break;case"onClick":l!=null&&(e.onclick=Na);break;case"onScroll":l!=null&&He("scroll",e);break;case"onScrollEnd":l!=null&&He("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(r=l.__html,r!=null){if(c.children!=null)throw Error(s(60));e.innerHTML=r}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}r=So(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,""+l):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
26ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":l===!0?e.setAttribute(r,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,l):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(r,l):e.removeAttribute(r);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(r):e.setAttribute(r,l);break;case"popover":He("beforetoggle",e),He("toggle",e),Ra(e,"popover",l);break;case"xlinkActuate":Re(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Re(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Re(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Re(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Re(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Re(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Re(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Re(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Re(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Ra(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=VS.get(r)||r,Ra(e,r,l))}}function vf(e,a,r,l,c,f){switch(r){case"style":Im(e,l,f);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(r=l.__html,r!=null){if(c.children!=null)throw Error(s(60));e.innerHTML=r}}break;case"children":typeof l=="string"?Nr(e,l):(typeof l=="number"||typeof l=="bigint")&&Nr(e,""+l);break;case"onScroll":l!=null&&He("scroll",e);break;case"onScrollEnd":l!=null&&He("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Na);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qn.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(c=r.endsWith("Capture"),a=r.slice(2,c?r.length-7:void 0),f=e[ge]||null,f=f!=null?f[r]:null,typeof f=="function"&&e.removeEventListener(a,f,c),typeof l=="function")){typeof f!="function"&&f!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(a,l,c);break e}r in e?e[r]=l:l===!0?e.setAttribute(r,""):Ra(e,r,l)}}}function qt(e,a,r){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":He("error",e),He("load",e);var l=!1,c=!1,f;for(f in r)if(r.hasOwnProperty(f)){var v=r[f];if(v!=null)switch(f){case"src":l=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,a));default:st(e,a,f,v,r,null)}}c&&st(e,a,"srcSet",r.srcSet,r,null),l&&st(e,a,"src",r.src,r,null);return;case"input":He("invalid",e);var S=f=v=c=null,A=null,L=null;for(l in r)if(r.hasOwnProperty(l)){var X=r[l];if(X!=null)switch(l){case"name":c=X;break;case"type":v=X;break;case"checked":A=X;break;case"defaultChecked":L=X;break;case"value":f=X;break;case"defaultValue":S=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(s(137,a));break;default:st(e,a,l,X,r,null)}}Zm(e,f,S,A,L,v,c,!1);return;case"select":He("invalid",e),l=v=f=null;for(c in r)if(r.hasOwnProperty(c)&&(S=r[c],S!=null))switch(c){case"value":f=S;break;case"defaultValue":v=S;break;case"multiple":l=S;default:st(e,a,c,S,r,null)}a=f,r=v,e.multiple=!!l,a!=null?Dr(e,!!l,a,!1):r!=null&&Dr(e,!!l,r,!0);return;case"textarea":He("invalid",e),f=c=l=null;for(v in r)if(r.hasOwnProperty(v)&&(S=r[v],S!=null))switch(v){case"value":l=S;break;case"defaultValue":c=S;break;case"children":f=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(s(91));break;default:st(e,a,v,S,r,null)}Gm(e,l,c,f);return;case"option":for(A in r)if(r.hasOwnProperty(A)&&(l=r[A],l!=null))switch(A){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:st(e,a,A,l,r,null)}return;case"dialog":He("beforetoggle",e),He("toggle",e),He("cancel",e),He("close",e);break;case"iframe":case"object":He("load",e);break;case"video":case"audio":for(l=0;l<Sl.length;l++)He(Sl[l],e);break;case"image":He("error",e),He("load",e);break;case"details":He("toggle",e);break;case"embed":case"source":case"link":He("error",e),He("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 r)if(r.hasOwnProperty(L)&&(l=r[L],l!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,a));default:st(e,a,L,l,r,null)}return;default:if(Dc(a)){for(X in r)r.hasOwnProperty(X)&&(l=r[X],l!==void 0&&vf(e,a,X,l,r,void 0));return}}for(S in r)r.hasOwnProperty(S)&&(l=r[S],l!=null&&st(e,a,S,l,r,null))}function cT(e,a,r,l){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,f=null,v=null,S=null,A=null,L=null,X=null;for(Y in r){var q=r[Y];if(r.hasOwnProperty(Y)&&q!=null)switch(Y){case"checked":break;case"value":break;case"defaultValue":A=q;default:l.hasOwnProperty(Y)||st(e,a,Y,null,l,q)}}for(var B in l){var Y=l[B];if(q=r[B],l.hasOwnProperty(B)&&(Y!=null||q!=null))switch(B){case"type":f=Y;break;case"name":c=Y;break;case"checked":L=Y;break;case"defaultChecked":X=Y;break;case"value":v=Y;break;case"defaultValue":S=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(s(137,a));break;default:Y!==q&&st(e,a,B,Y,l,q)}}Ys(e,v,S,A,L,X,f,c);return;case"select":Y=v=S=B=null;for(f in r)if(A=r[f],r.hasOwnProperty(f)&&A!=null)switch(f){case"value":break;case"multiple":Y=A;default:l.hasOwnProperty(f)||st(e,a,f,null,l,A)}for(c in l)if(f=l[c],A=r[c],l.hasOwnProperty(c)&&(f!=null||A!=null))switch(c){case"value":B=f;break;case"defaultValue":S=f;break;case"multiple":v=f;default:f!==A&&st(e,a,c,f,l,A)}a=S,r=v,l=Y,B!=null?Dr(e,!!r,B,!1):!!l!=!!r&&(a!=null?Dr(e,!!r,a,!0):Dr(e,!!r,r?[]:"",!1));return;case"textarea":Y=B=null;for(S in r)if(c=r[S],r.hasOwnProperty(S)&&c!=null&&!l.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:st(e,a,S,null,l,c)}for(v in l)if(c=l[v],f=r[v],l.hasOwnProperty(v)&&(c!=null||f!=null))switch(v){case"value":B=c;break;case"defaultValue":Y=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(s(91));break;default:c!==f&&st(e,a,v,c,l,f)}Fm(e,B,Y);return;case"option":for(var le in r)if(B=r[le],r.hasOwnProperty(le)&&B!=null&&!l.hasOwnProperty(le))switch(le){case"selected":e.selected=!1;break;default:st(e,a,le,null,l,B)}for(A in l)if(B=l[A],Y=r[A],l.hasOwnProperty(A)&&B!==Y&&(B!=null||Y!=null))switch(A){case"selected":e.selected=B&&typeof B!="function"&&typeof B!="symbol";break;default:st(e,a,A,B,l,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 we in r)B=r[we],r.hasOwnProperty(we)&&B!=null&&!l.hasOwnProperty(we)&&st(e,a,we,null,l,B);for(L in l)if(B=l[L],Y=r[L],l.hasOwnProperty(L)&&B!==Y&&(B!=null||Y!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(s(137,a));break;default:st(e,a,L,B,l,Y)}return;default:if(Dc(a)){for(var lt in r)B=r[lt],r.hasOwnProperty(lt)&&B!==void 0&&!l.hasOwnProperty(lt)&&vf(e,a,lt,void 0,l,B);for(X in l)B=l[X],Y=r[X],!l.hasOwnProperty(X)||B===Y||B===void 0&&Y===void 0||vf(e,a,X,B,l,Y);return}}for(var N in r)B=r[N],r.hasOwnProperty(N)&&B!=null&&!l.hasOwnProperty(N)&&st(e,a,N,null,l,B);for(q in l)B=l[q],Y=r[q],!l.hasOwnProperty(q)||B===Y||B==null&&Y==null||st(e,a,q,B,l,Y)}function $y(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dT(){if(typeof performance.getEntriesByType=="function"){for(var e=0,a=0,r=performance.getEntriesByType("resource"),l=0;l<r.length;l++){var c=r[l],f=c.transferSize,v=c.initiatorType,S=c.duration;if(f&&S&&$y(v)){for(v=0,S=c.responseEnd,l+=1;l<r.length;l++){var A=r[l],L=A.startTime;if(L>S)break;var X=A.transferSize,q=A.initiatorType;X&&$y(q)&&(A=A.responseEnd,v+=X*(A<S?1:(S-L)/(A-L)))}if(--l,a+=8*(f+v)/(c.duration/1e3),e++,10<e)break}}if(0<e)return a/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var bf=null,xf=null;
vendor: 14,014 bytes, line 26
26function gu(e){return e.nodeType===9?e:e.ownerDocument}function Wy(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 Jy(e,a){if(e===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&a==="foreignObject"?0:e}function Sf(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var wf=null;function fT(){var e=window.event;return e&&e.type==="popstate"?e===wf?!1:(wf=e,!0):(wf=null,!1)}var ev=typeof setTimeout=="function"?setTimeout:void 0,hT=typeof clearTimeout=="function"?clearTimeout:void 0,tv=typeof Promise=="function"?Promise:void 0,mT=typeof queueMicrotask=="function"?queueMicrotask:typeof tv<"u"?function(e){return tv.resolve(null).then(e).catch(pT)}:ev;function pT(e){setTimeout(function(){throw e})}function Ci(e){return e==="head"}function nv(e,a){var r=a,l=0;do{var c=r.nextSibling;if(e.removeChild(r),c&&c.nodeType===8)if(r=c.data,r==="/$"||r==="/&"){if(l===0){e.removeChild(c),us(a);return}l--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")l++;else if(r==="html")Tl(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,Tl(r);for(var f=r.firstChild;f;){var v=f.nextSibling,S=f.nodeName;f[Le]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&f.rel.toLowerCase()==="stylesheet"||r.removeChild(f),f=v}}else r==="body"&&Tl(e.ownerDocument.body);r=c}while(r);us(a)}function av(e,a){var r=e;e=0;do{var l=r.nextSibling;if(r.nodeType===1?a?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(a?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),l&&l.nodeType===8)if(r=l.data,r==="/$"){if(e===0)break;e--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||e++;r=l}while(r)}function Tf(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var r=a;switch(a=a.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Tf(r),Qe(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function gT(e,a,r,l){for(;e.nodeType===1;){var c=r;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Le])switch(a){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!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){var f=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=Vn(e.nextSibling),e===null)break}return null}function yT(e,a,r){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=Vn(e.nextSibling),e===null))return null;return e}function iv(e,a){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Vn(e.nextSibling),e===null))return null;return e}function Ef(e){return e.data==="$?"||e.data==="$~"}function Af(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function vT(e,a){var r=e.ownerDocument;if(e.data==="$~")e._reactRetry=a;else if(e.data!=="$?"||r.readyState!=="loading")a();else{var l=function(){a(),r.removeEventListener("DOMContentLoaded",l)};r.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Vn(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return e}var Cf=null;function rv(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(a===0)return Vn(e.nextSibling);a--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||a++}e=e.nextSibling}return null}function sv(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(a===0)return e;a--}else r!=="/$"&&r!=="/&"||a++}e=e.previousSibling}return null}function lv(e,a,r){switch(a=gu(r),e){case"html":if(e=a.documentElement,!e)throw Error(s(452));return e;case"head":if(e=a.head,!e)throw Error(s(453));return e;case"body":if(e=a.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function Tl(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);Qe(e)}var Bn=new Map,ov=new Set;function yu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Ga=G.d;G.d={f:bT,r:xT,D:ST,C:wT,L:TT,m:ET,X:CT,S:AT,M:jT};function bT(){var e=Ga.f(),a=ou();return e||a}function xT(e){var a=et(e);a!==null&&a.tag===5&&a.type==="form"?Ag(a):Ga.r(e)}var ss=typeof document>"u"?null:document;function uv(e,a,r){var l=ss;if(l&&typeof a=="string"&&a){var c=tn(a);c='link[rel="'+e+'"][href="'+c+'"]',typeof r=="string"&&(c+='[crossorigin="'+r+'"]'),ov.has(c)||(ov.add(c),e={rel:e,crossOrigin:r,href:a},l.querySelector(c)===null&&(a=l.createElement("link"),qt(a,"link",e),Fe(a),l.head.appendChild(a)))}}function ST(e){Ga.D(e),uv("dns-prefetch",e,null)}function wT(e,a){Ga.C(e,a),uv("preconnect",e,a)}function TT(e,a,r){Ga.L(e,a,r);var l=ss;if(l&&e&&a){var c='link[rel="preload"][as="'+tn(a)+'"]';a==="image"&&r&&r.imageSrcSet?(c+='[imagesrcset="'+tn(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(c+='[imagesizes="'+tn(r.imageSizes)+'"]')):c+='[href="'+tn(e)+'"]';var f=c;switch(a){case"style":f=ls(e);break;case"script":f=os(e)}Bn.has(f)||(e=b({rel:"preload",href:a==="image"&&r&&r.imageSrcSet?void 0:e,as:a},r),Bn.set(f,e),l.querySelector(c)!==null||a==="style"&&l.querySelector(El(f))||a==="script"&&l.querySelector(Al(f))||(a=l.createElement("link"),qt(a,"link",e),Fe(a),l.head.appendChild(a)))}}function ET(e,a){Ga.m(e,a);var r=ss;if(r&&e){var l=a&&typeof a.as=="string"?a.as:"script",c='link[rel="modulepreload"][as="'+tn(l)+'"][href="'+tn(e)+'"]',f=c;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=os(e)}if(!Bn.has(f)&&(e=b({rel:"modulepreload",href:e},a),Bn.set(f,e),r.querySelector(c)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Al(f)))return}l=r.createElement("link"),qt(l,"link",e),Fe(l),r.head.appendChild(l)}}}function AT(e,a,r){Ga.S(e,a,r);var l=ss;if(l&&e){var c=jt(l).hoistableStyles,f=ls(e);a=a||"default";var v=c.get(f);if(!v){var S={loading:0,preload:null};if(v=l.querySelector(El(f)))S.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":a},r),(r=Bn.get(f))&&jf(e,r);var A=v=l.createElement("link");Fe(A),qt(A,"link",e),A._p=new Promise(function(L,X){A.onload=L,A.onerror=X}),A.addEventListener("load",function(){S.loading|=1}),A.addEventListener("error",function(){S.loading|=2}),S.loading|=4,vu(v,a,l)}v={type:"stylesheet",instance:v,count:1,state:S},c.set(f,v)}}}function CT(e,a){Ga.X(e,a);var r=ss;if(r&&e){var l=jt(r).hoistableScripts,c=os(e),f=l.get(c);f||(f=r.querySelector(Al(c)),f||(e=b({src:e,async:!0},a),(a=Bn.get(c))&&Mf(e,a),f=r.createElement("script"),Fe(f),qt(f,"link",e),r.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},l.set(c,f))}}function jT(e,a){Ga.M(e,a);var r=ss;if(r&&e){var l=jt(r).hoistableScripts,c=os(e),f=l.get(c);f||(f=r.querySelector(Al(c)),f||(e=b({src:e,async:!0,type:"module"},a),(a=Bn.get(c))&&Mf(e,a),f=r.createElement("script"),Fe(f),qt(f,"link",e),r.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},l.set(c,f))}}function cv(e,a,r,l){var c=(c=tt.current)?yu(c):null;if(!c)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(a=ls(r.href),r=jt(c).hoistableStyles,l=r.get(a),l||(l={type:"style",instance:null,count:0,state:null},r.set(a,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=ls(r.href);var f=jt(c).hoistableStyles,v=f.get(e);if(v||(c=c.ownerDocument||c,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(e,v),(f=c.querySelector(El(e)))&&!f._p&&(v.instance=f,v.state.loading=5),Bn.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},Bn.set(e,r),f||MT(c,e,r,v.state))),a&&l===null)throw Error(s(528,""));return v}if(a&&l!==null)throw Error(s(529,""));return null;case"script":return a=r.async,r=r.src,typeof r=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=os(r),r=jt(c).hoistableScripts,l=r.get(a),l||(l={type:"script",instance:null,count:0,state:null},r.set(a,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function ls(e){return'href="'+tn(e)+'"'}function El(e){return'link[rel="stylesheet"]['+e+"]"}function dv(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function MT(e,a,r,l){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=e.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),qt(a,"link",r),Fe(a),e.head.appendChild(a))}function os(e){return'[src="'+tn(e)+'"]'}function Al(e){return"script[async]"+e}function fv(e,a,r){if(a.count++,a.instance===null)switch(a.type){case"style":var l=e.querySelector('style[data-href~="'+tn(r.href)+'"]');if(l)return a.instance=l,Fe(l),l;var c=b({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),Fe(l),qt(l,"style",c),vu(l,r.precedence,e),a.instance=l;case"stylesheet":c=ls(r.href);var f=e.querySelector(El(c));if(f)return a.state.loading|=4,a.instance=f,Fe(f),f;l=dv(r),(c=Bn.get(c))&&jf(l,c),f=(e.ownerDocument||e).createElement("link"),Fe(f);var v=f;return v._p=new Promise(function(S,A){v.onload=S,v.onerror=A}),qt(f,"link",l),a.state.loading|=4,vu(f,r.precedence,e),a.instance=f;case"script":return f=os(r.src),(c=e.querySelector(Al(f)))?(a.instance=c,Fe(c),c):(l=r,(c=Bn.get(f))&&(l=b({},r),Mf(l,c)),e=e.ownerDocument||e,c=e.createElement("script"),Fe(c),qt(c,"link",l),e.head.appendChild(c),a.instance=c);case"void":return null;default:throw Error(s(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(l=a.instance,a.state.loading|=4,vu(l,r.precedence,e));return a.instance}function vu(e,a,r){for(var l=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=l.length?l[l.length-1]:null,f=c,v=0;v<l.length;v++){var S=l[v];if(S.dataset.precedence===a)f=S;else if(f!==c)break}f?f.parentNode.insertBefore(e,f.nextSibling):(a=r.nodeType===9?r.head:r,a.insertBefore(e,a.firstChild))}function jf(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function Mf(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var bu=null;function hv(e,a,r){if(bu===null){var l=new Map,c=bu=new Map;c.set(r,l)}else c=bu,l=c.get(r),l||(l=new Map,c.set(r,l));if(l.has(e))return l;for(l.set(e,null),r=r.getElementsByTagName(e),c=0;c<r.length;c++){var f=r[c];if(!(f[Le]||f[ne]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var v=f.getAttribute(a)||"";v=e+v;var S=l.get(v);S?S.push(f):l.set(v,[f])}}return l}function mv(e,a,r){e=e.ownerDocument||e,e.head.insertBefore(r,a==="title"?e.querySelector("head > title"):null)}function RT(e,a,r){if(r===1||a.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return e=a.disabled,typeof a.precedence=="string"&&e==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function pv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function _T(e,a,r,l){if(r.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var c=ls(l.href),f=a.querySelector(El(c));if(f){a=f._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(e.count++,e=xu.bind(e),a.then(e,e)),r.state.loading|=4,r.instance=f,Fe(f);return}f=a.ownerDocument||a,l=dv(l),(c=Bn.get(c))&&jf(l,c),f=f.createElement("link"),Fe(f);var v=f;v._p=new Promise(function(S,A){v.onload=S,v.onerror=A}),qt(f,"link",l),r.instance=f}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,a),(a=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=xu.bind(e),a.addEventListener("load",r),a.addEventListener("error",r))}}var Rf=0;function DT(e,a){return e.stylesheets&&e.count===0&&wu(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var l=setTimeout(function(){if(e.stylesheets&&wu(e,e.stylesheets),e.unsu
vendor: 10,520 bytes, line 26
26spend){var f=e.unsuspend;e.unsuspend=null,f()}},6e4+a);0<e.imgBytes&&Rf===0&&(Rf=62500*dT());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&wu(e,e.stylesheets),e.unsuspend)){var f=e.unsuspend;e.unsuspend=null,f()}},(e.imgBytes>Rf?50:800)+a);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(c)}}:null}function xu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)wu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Su=null;function wu(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Su=new Map,a.forEach(NT,e),Su=null,xu.call(e))}function NT(e,a){if(!(a.state.loading&4)){var r=Su.get(e);if(r)var l=r.get(null);else{r=new Map,Su.set(e,r);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<c.length;f++){var v=c[f];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(r.set(v.dataset.precedence,v),l=v)}l&&r.set(null,l)}c=a.instance,v=c.getAttribute("data-precedence"),f=r.get(v)||l,f===l&&r.set(null,c),r.set(v,c),this.count++,l=xu.bind(this),c.addEventListener("load",l),c.addEventListener("error",l),f?f.parentNode.insertBefore(c,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),a.state.loading|=4}}var Cl={$$typeof:U,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function OT(e,a,r,l,c,f,v,S,A){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=li(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=li(0),this.hiddenUpdates=li(null),this.identifierPrefix=l,this.onUncaughtError=c,this.onCaughtError=f,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function gv(e,a,r,l,c,f,v,S,A,L,X,q){return e=new OT(e,a,r,v,A,L,X,q,S),a=1,f===!0&&(a|=24),f=gn(3,null,null,a),e.current=f,f.stateNode=e,a=ld(),a.refCount++,e.pooledCache=a,a.refCount++,f.memoizedState={element:l,isDehydrated:r,cache:a},dd(f),e}function yv(e){return e?(e=Ur,e):Ur}function vv(e,a,r,l,c,f){c=yv(c),l.context===null?l.context=c:l.pendingContext=c,l=pi(a),l.payload={element:r},f=f===void 0?null:f,f!==null&&(l.callback=f),r=gi(e,l,a),r!==null&&(fn(r,e,a),il(r,e,a))}function bv(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<a?r:a}}function _f(e,a){bv(e,a),(e=e.alternate)&&bv(e,a)}function xv(e){if(e.tag===13||e.tag===31){var a=Ji(e,67108864);a!==null&&fn(a,e,67108864),_f(e,67108864)}}function Sv(e){if(e.tag===13||e.tag===31){var a=Sn();a=_(a);var r=Ji(e,a);r!==null&&fn(r,e,a),_f(e,a)}}var Tu=!0;function zT(e,a,r,l){var c=H.T;H.T=null;var f=G.p;try{G.p=2,Df(e,a,r,l)}finally{G.p=f,H.T=c}}function kT(e,a,r,l){var c=H.T;H.T=null;var f=G.p;try{G.p=8,Df(e,a,r,l)}finally{G.p=f,H.T=c}}function Df(e,a,r,l){if(Tu){var c=Nf(l);if(c===null)yf(e,a,l,Eu,r),Tv(e,l);else if(VT(c,e,a,r,l))l.stopPropagation();else if(Tv(e,l),a&4&&-1<LT.indexOf(e)){for(;c!==null;){var f=et(c);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var v=Gn(f.pendingLanes);if(v!==0){var S=f;for(S.pendingLanes|=2,S.entangledLanes|=2;v;){var A=1<<31-Qt(v);S.entanglements[1]|=A,v&=~A}da(f),(Je&6)===0&&(su=Wt()+500,xl(0))}}break;case 31:case 13:S=Ji(f,2),S!==null&&fn(S,f,2),ou(),_f(f,2)}if(f=Nf(l),f===null&&yf(e,a,l,Eu,r),f===c)break;c=f}c!==null&&l.stopPropagation()}else yf(e,a,l,null,r)}}function Nf(e){return e=Oc(e),Of(e)}var Eu=null;function Of(e){if(Eu=null,e=mt(e),e!==null){var a=u(e);if(a===null)e=null;else{var r=a.tag;if(r===13){if(e=d(a),e!==null)return e;e=null}else if(r===31){if(e=h(a),e!==null)return e;e=null}else if(r===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return Eu=e,null}function wv(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(Ca()){case ii:return 2;case Hs:return 8;case ri:case Fn:return 32;case Rn:return 268435456;default:return 32}default:return 32}}var zf=!1,ji=null,Mi=null,Ri=null,jl=new Map,Ml=new Map,_i=[],LT="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 Tv(e,a){switch(e){case"focusin":case"focusout":ji=null;break;case"dragenter":case"dragleave":Mi=null;break;case"mouseover":case"mouseout":Ri=null;break;case"pointerover":case"pointerout":jl.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ml.delete(a.pointerId)}}function Rl(e,a,r,l,c,f){return e===null||e.nativeEvent!==f?(e={blockedOn:a,domEventName:r,eventSystemFlags:l,nativeEvent:f,targetContainers:[c]},a!==null&&(a=et(a),a!==null&&xv(a)),e):(e.eventSystemFlags|=l,a=e.targetContainers,c!==null&&a.indexOf(c)===-1&&a.push(c),e)}function VT(e,a,r,l,c){switch(a){case"focusin":return ji=Rl(ji,e,a,r,l,c),!0;case"dragenter":return Mi=Rl(Mi,e,a,r,l,c),!0;case"mouseover":return Ri=Rl(Ri,e,a,r,l,c),!0;case"pointerover":var f=c.pointerId;return jl.set(f,Rl(jl.get(f)||null,e,a,r,l,c)),!0;case"gotpointercapture":return f=c.pointerId,Ml.set(f,Rl(Ml.get(f)||null,e,a,r,l,c)),!0}return!1}function Ev(e){var a=mt(e.target);if(a!==null){var r=u(a);if(r!==null){if(a=r.tag,a===13){if(a=d(r),a!==null){e.blockedOn=a,I(e.priority,function(){Sv(r)});return}}else if(a===31){if(a=h(r),a!==null){e.blockedOn=a,I(e.priority,function(){Sv(r)});return}}else if(a===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Au(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var r=Nf(e.nativeEvent);if(r===null){r=e.nativeEvent;var l=new r.constructor(r.type,r);Nc=l,r.target.dispatchEvent(l),Nc=null}else return a=et(r),a!==null&&xv(a),e.blockedOn=r,!1;a.shift()}return!0}function Av(e,a,r){Au(e)&&r.delete(a)}function BT(){zf=!1,ji!==null&&Au(ji)&&(ji=null),Mi!==null&&Au(Mi)&&(Mi=null),Ri!==null&&Au(Ri)&&(Ri=null),jl.forEach(Av),Ml.forEach(Av)}function Cu(e,a){e.blockedOn===a&&(e.blockedOn=null,zf||(zf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,BT)))}var ju=null;function Cv(e){ju!==e&&(ju=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){ju===e&&(ju=null);for(var a=0;a<e.length;a+=3){var r=e[a],l=e[a+1],c=e[a+2];if(typeof l!="function"){if(Of(l||r)===null)continue;break}var f=et(r);f!==null&&(e.splice(a,3),a-=3,Dd(f,{pending:!0,data:c,method:r.method,action:l},l,c))}}))}function us(e){function a(A){return Cu(A,e)}ji!==null&&Cu(ji,e),Mi!==null&&Cu(Mi,e),Ri!==null&&Cu(Ri,e),jl.forEach(a),Ml.forEach(a);for(var r=0;r<_i.length;r++){var l=_i[r];l.blockedOn===e&&(l.blockedOn=null)}for(;0<_i.length&&(r=_i[0],r.blockedOn===null);)Ev(r),r.blockedOn===null&&_i.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(l=0;l<r.length;l+=3){var c=r[l],f=r[l+1],v=c[ge]||null;if(typeof f=="function")v||Cv(r);else if(v){var S=null;if(f&&f.hasAttribute("formAction")){if(c=f,v=f[ge]||null)S=v.formAction;else if(Of(c)!==null)continue}else S=v.action;typeof S=="function"?r[l+1]=S:(r.splice(l,3),l-=3),Cv(r)}}}function jv(){function e(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(v){return c=v})},focusReset:"manual",scroll:"manual"})}function a(){c!==null&&(c(),c=null),l||setTimeout(r,20)}function r(){if(!l&&!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 l=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(r,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),c!==null&&(c(),c=null)}}}function kf(e){this._internalRoot=e}Mu.prototype.render=kf.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(s(409));var r=a.current,l=Sn();vv(r,l,e,a,null,null)},Mu.prototype.unmount=kf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;vv(e.current,2,null,e,null,null),ou(),a[te]=null}};function Mu(e){this._internalRoot=e}Mu.prototype.unstable_scheduleHydration=function(e){if(e){var a=Z();e={blockedOn:null,target:e,priority:a};for(var r=0;r<_i.length&&a!==0&&a<_i[r].priority;r++);_i.splice(r,0,e),r===0&&Ev(e)}};var Mv=n.version;if(Mv!=="19.2.5")throw Error(s(527,Mv,"19.2.5"));G.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=p(a),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var UT={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.5"};
26if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ru.isDisabled&&Ru.supportsFiber)try{ja=Ru.inject(UT),Jt=Ru}catch{}}return _l.createRoot=function(e,a){if(!o(e))throw Error(s(299));var r=!1,l="",c=kg,f=Lg,v=Vg;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(f=a.onCaughtError),a.onRecoverableError!==void 0&&(v=a.onRecoverableError)),a=gv(e,1,!1,null,null,r,l,null,c,f,v,jv),e[te]=a.current,gf(e),new kf(a)},_l.hydrateRoot=function(e,a,r){if(!o(e))throw Error(s(299));var l=!1,c="",f=kg,v=Lg,S=Vg,A=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(v=r.onCaughtError),r.onRecoverableError!==void 0&&(S=r.onRecoverableError),r.formState!==void 0&&(A=r.formState)),a=gv(e,1,!0,a,r??null,l,c,A,f,v,S,jv),a.context=yv(null),r=a.current,l=Sn(),l=_(l),c=pi(l),c.callback=null,gi(r,c,l),r=l,a.current.lanes=r,la(a,r),da(a),e[te]=a.current,gf(e),new Mu(a)},_l.version="19.2.5",_l}var Nv;function IT(){if(Nv)return Lf.exports;Nv=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),Lf.exports=QT(),Lf.exports}var Ov=IT();let Ft=(function(t){return t.CHARSET="charset",t.CSS_TEXT="cssText",t.HREF="href",t.HTTPEQUIV="http-equiv",t.INNER_HTML="innerHTML",t.ITEM_PROP="itemprop",t.NAME="name",t.PROPERTY="property",t.REL="rel",t.SRC="src",t.TARGET="target",t})({}),ct=(function(t){return t.BASE="base",t.BODY="body",t.FRAGMENT="Symbol(react.fragment)",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t})({});const Uf={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"]}},zv=Object.values(ct),em={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Fl=(()=>{const t={};for(const[n,i]of Object.entries(em))t[i]=n;return t})(),Ja="data-rh",$T=!!(typeof window<"u"&&window.document.createElement);function Ts(t,n){for(let i=t.length-1;i>=0;--i){const s=t[i][1][n];if(s!==void 0)return s}}function WT(t){let n=Ts(t,ct.TITLE);const i=Ts(t,"titleTemplate");if(Array.isArray(n)&&(n=n.join("")),i&&n)return i.replace(/%s/g,()=>n);const s=Ts(t,"defaultTitle");return(n||s)??void 0}function Hf(t,n){const i={};for(const s of n){const o=s[1][t];o&&Object.assign(i,o)}return i}function JT(t){for(let n=t.length-1;n>=0;--n){const i=t[n][1].base;if(i!=null&&i.href||i!=null&&i.target)return i}}function eE(t,n){let i;for(const s of Object.keys(t)){const o=s;n.includes(o)&&!(i===Ft.REL&&t[i].toLowerCase()==="canonical")&&!(o===Ft.REL&&t[o].toLowerCase()==="stylesheet")&&(i=o),n.includes(o)&&(o===Ft.INNER_HTML||o===Ft.CSS_TEXT||o===Ft.ITEM_PROP)&&(i=o)}return i??null}function Dl(t,n,i){const s={};return i.map(([,o])=>o).filter(o=>Array.isArray(o[t])?!0:(typeof o[t]<"u"&&console.warn(`Helmet: ${t} should be of type "Array". Instead found type "${typeof o[t]}"`),!1)).map(o=>o[t]).reverse().reduce((o,u)=>{const d={};u.filter(m=>{const p=eE(m,n);if(!p||!m[p])return!1;const g=m[p].toLowerCase();return s[p]||(s[p]={}),d[p]||(d[p]={}),s[p][g]?!1:(d[p][g]=!0,!0)}).reverse().forEach(m=>{o.push(m)});const h=Object.keys(d);for(const m of h){const p={...s[m],...d[m]};s[m]=p}return o},[]).reverse()}function tE(t,n){for(const[,i]of t)if(i[n])return!0;return!1}function Wb(t){return Array.isArray(t)?t.join(""):t}function nE(t,n){var i;for(const s of Object.keys(t))if((i=n[s])!=null&&i.includes(t[s]))return!0;return!1}function Kf(t,n){const i={default:Array(),priority:Array()};if(t)for(const s of t)nE(s,n)?i.priority.push(s):i.default.push(s);return i}function aE(t){const n={};for(const[i,s]of Object.entries(t))n[i]=Array.isArray(s)?s.slice():s;return n}function iE(t,n){const i=t;for(const[s,o]of Object.entries(n))if(Array.isArray(o)){const u=i[s];i[s]=u?u.concat(o):o}else i[s]=o}function Yf(t,n,i){const s=t[n];s?s.push(i):t[n]=[i]}function mh(t){let n=Dl(ct.LINK,[Ft.REL,Ft.HREF],t),i=Dl("meta",[Ft.NAME,"charSet","httpEquiv",Ft.PROPERTY,"itemProp"],t),s=Dl("script",[Ft.SRC,Ft.INNER_HTML],t);const o=tE(t,"prioritizeSeoTags");let u;if(o){const d=Kf(n,Uf.link);n=d.default;const h=Kf(i,Uf.meta);i=h.default;const m=Kf(s,Uf.script);s=m.default,u={links:d.priority,meta:h.priority,script:m.priority}}return{base:JT(t),bodyAttributes:Hf("bodyAttributes",t),defer:Ts(t,"defer"),encodeSpecialCharacters:Ts(t,"encodeSpecialCharacters")??!0,htmlAttributes:Hf("htmlAttributes",t),links:n,meta:i,noscript:Dl("noscript",[Ft.INNER_HTML],t),onChangeClientState:Ts(t,"onChangeClientState"),priority:u,script:s,style:Dl("style",[Ft.CSS_TEXT],t),title:WT(t),titleAttributes:Hf("titleAttributes",t)}}function rE(t){return Fl[t]??t}function cs(t,n){const i=document.head||document.querySelector(ct.HEAD),s=i.querySelectorAll(`${t}[${Ja}]`),o=[],u=[...s],d=[];
26for(const h of n){const m=document.createElement(t);for(const[g,b]of Object.entries(h))if(Object.prototype.hasOwnProperty.call(h,g)){const x=Fl[g]??g;x===Ft.INNER_HTML?m.innerHTML=b:x===Ft.CSS_TEXT?m.styleSheet?m.styleSheet.cssText=h.cssText:m.appendChild(document.createTextNode(h.cssText)):m.setAttribute(x,b??"")}m.setAttribute(Ja,"true");const p={};for(const{name:g,value:b}of m.attributes)p[g]=b;o.push(p);for(let g=0;;++g){if(m.isEqualNode(u[g])){u.splice(g,1);break}if(g>=u.length){d.push(m);break}}}return u.forEach(h=>{var m;(m=h.parentNode)==null||m.removeChild(h)}),d.forEach(h=>{i.appendChild(h)}),{allTags:o,newTags:d,oldTags:u}}function ph(t,n){const[i]=document.getElementsByTagName(t);if(!i)return;const s=i.getAttribute(Ja),o=s?s.split(","):[],u=[...o],d=[];for(const h of Object.keys(n))d.push(Fl[h]??h);for(const[h,m]of Object.entries(n)){const p=Fl[h]??h;i.getAttribute(p)!==m&&i.setAttribute(p,m??""),o.includes(p)||o.push(p);const g=u.indexOf(p);g!==-1&&u.splice(g,1)}for(let h=u.length-1;h>=0;h-=1)i.removeAttribute(u[h]);o.length===u.length?i.removeAttribute(Ja):i.getAttribute(Ja)!==d.join(",")&&i.setAttribute(Ja,d.join(","))}function sE(t,n){t!==void 0&&document.title!==t&&(document.title=Wb(t)),ph(ct.TITLE,n)}function kv(t,n){const{base:i,bodyAttributes:s,defer:o,htmlAttributes:u,links:d,meta:h,noscript:m,onChangeClientState:p,priority:g,script:b,style:x,title:w,titleAttributes:T}=t;ph(ct.BODY,s??{}),ph(ct.HTML,u??{}),sE(w,T);const D={baseTag:cs(ct.BASE,i?[i]:[]),linkTags:cs(ct.LINK,[...(g==null?void 0:g.links)??[],...d??[]]),metaTags:cs(ct.META,[...(g==null?void 0:g.meta)??[],...h??[]]),noscriptTags:cs(ct.NOSCRIPT,m??[]),scriptTags:cs(ct.SCRIPT,[...(g==null?void 0:g.script)??[],...b??[]]),styleTags:cs(ct.STYLE,x??[])},j={baseTag:[],bodyAttributes:{},defer:o??!1,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],onChangeClientState:p??(()=>{}),scriptTags:[],styleTags:[],title:w??"",titleAttributes:{}},O={},V={};Object.keys(D).forEach(U=>{const{allTags:F,newTags:Q,oldTags:K}=D[U];j[U]=F,Q.length&&(O[U]=Q),K.length&&(V[U]=D[U].oldTags)}),(n||Object.keys(O).length||Object.keys(V).length)&&(p==null||p(j,O,V))}const lE=[ct.NOSCRIPT,ct.SCRIPT,ct.STYLE],Jb=(t,n=!0)=>n?t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"):t;function gh(t){let n="";for(const[i,s]of Object.entries(t)){const o=rE(i),u=s===void 0?o:`${o}="${s}"`;u&&n&&(n+=" "),n+=u}return n}const oE=(t,n,i)=>{let s=gh(n);s&&(s=` ${s}`);const o=Wb(t);return`<title ${Ja}="true"${s}>${Jb(o,i)}</title>`};function Qa(t,n,i){let s="";for(const o of n){let u="";const d=Object.entries(o);for(const[p,g]of d)if(!(p===Ft.INNER_HTML||p===Ft.CSS_TEXT)){const b=Fl[p]??p;let x;if(g===void 0)x=b;else{const w=typeof g=="string"?g:String(g);x=`${b}="${Jb(w,i)}"`}u?u+=` ${x}`:u=x}const h=o.innerHTML??o.cssText??"",m=!lE.includes(t);s+=`<${t} ${Ja}="true" ${u}${m?"/>":`>${h}</${t}>`}`}return s}function $u(t,n={}){const i={};n.addHelmetDataAttr&&(i[Ja]=!0),n.addKey!==void 0&&(i.key=n.addKey);for(const[s,o]of Object.entries(t)){const u=em[s]??s;switch(u){case"cssText":case"innerHTML":i.dangerouslySetInnerHTML={__html:o};break;default:i[u]=o}}return i}function uE(t,n){return[y.jsx("title",{...$u(n,{addHelmetDataAttr:!0}),children:t},t)]}function cE(t,n,i){return E.createElement(t,$u(n,{addHelmetDataAttr:!0,addKey:i}))}function Ia(t,n){const i=[];for(let s=0;s<n.length;++s)i.push(cE(t,n[s],s));return i}function dE(t){const n=()=>(t.state??(t.state=mh(t.helmets)),t.state);return{base:{toComponent(){const i=n().base;return i?Ia("base",[i]):[]},toString(){const i=n();return i.base?Qa("base",[i.base],i.encodeSpecialCharacters):""}},bodyAttributes:{toComponent(){const i=n().bodyAttributes;return $u(i??{})},toString(){const i=n().bodyAttributes;return gh(i??{})}},htmlAttributes:{toComponent(){const i=n().htmlAttributes;return $u(i??{})},toString(){const i=n().htmlAttributes;return gh(i??{})}},link:{toComponent(){return Ia("link",n().links??[])},toString(){const i=n();return Qa("link",i.links??[],i.encodeSpecialCharacters)}},meta:{toComponent(){return Ia("meta",n().meta??[])},toString(){const i=n();return Qa("meta",i.meta??[],i.encodeSpecialCharacters)}},noscript:{toComponent(){return Ia("noscript",n().noscript??[])},toString(){const i=n();return Qa("noscript",i.noscript??[],i.encodeSpecialCharacters)}},priority:{toComponent(){var s,o,u;const i=n();return[...Ia("meta",((s=i.priority)==null?void 0:s.meta)??[]),...Ia("link",((o=i.priority)==null?void 0:o.links)??[]),...Ia("script",((u=i.priority)==null?void 0:u.script)??[])]},toString(){var h,m,p;const i=n(),s=Qa("meta",((h=i.priority)==null?void 0:h.meta)??[],i.encodeSpecialCharacters),o=Qa("link",((m=i.priority)==null?void 0:m.links)??[],i.encodeSpecialCharacters),u=Qa("script",((p=i.priority)==null?void 0:p.script)??[],i.encodeSpecialCharacters);let d=s;
26return o&&(d&&(d+=" "),d+=o),u&&(d&&(d+=" "),d+=u),d}},script:{toComponent(){return Ia("script",n().script??[])},toString(){const i=n();return Qa("script",i.script??[],i.encodeSpecialCharacters)}},style:{toComponent(){return Ia("style",n().style??[])},toString(){const i=n();return Qa("style",i.style??[],i.encodeSpecialCharacters)}},title:{toComponent(){const i=n();return uE(i.title??"",i.titleAttributes??{})},toString(){const i=n();return oE(i.title??"",i.titleAttributes??{},i.encodeSpecialCharacters)}}}}const ex=E.createContext(void 0),fE=({children:t,context:n})=>{const{current:i}=E.useRef({firstRender:!0,helmets:[],state:void 0}),s=E.useRef(null);return s.current??(s.current={clientApply(){$T&&!i.state&&(i.state=mh(i.helmets),i.state.defer?i.nextAnimFrameId??(i.nextAnimFrameId=requestAnimationFrame(()=>{i.state??(i.state=mh(i.helmets)),kv(i.state,i.firstRender),i.firstRender=!1,delete i.nextAnimFrameId})):(i.nextAnimFrameId!==void 0&&(cancelAnimationFrame(i.nextAnimFrameId),delete i.nextAnimFrameId),kv(i.state,i.firstRender),i.firstRender=!1))},update(o,u){const d=i.helmets.findIndex(h=>h[0]===o);d>=0?(delete i.state,u?i.helmets[d][1]=u:i.helmets.splice(d,1)):u&&(delete i.state,i.helmets.push([o,u]))}}),n&&(!n.helmet||n.helmet!==i.serverState)&&(i.serverState??(i.serverState=dE(i)),n.helmet=i.serverState),y.jsx(ex,{value:s.current,children:t})};function hE(t,n){if(typeof t!="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(!zv.includes(t))throw Error(`Only elements types ${zv.join(", ")} are allowed. Helmet does not support rendering <${t}> elements. Refer to our API for more information.`);if(!(!n||typeof n=="string"||Array.isArray(n)))throw Error(`Helmet expects a string as a child of <${t}>. Did you forget to wrap your children in braces? ( <${t}>{\`\`}</${t}> ) Refer to our API for more information.`)}function Xf(t){const n=em[t];return n&&console.warn(`"${t}" is not a valid JSX prop, replace it by "${n}"`),n??t}function yh(t){const n=aE(t);for(const i of Object.values(t))if(Array.isArray(i)){for(const s of i)if(s)for(const o of Object.keys(s)){const u=Xf(o);u!==o&&(s[u]=s[o],delete s[o])}}else if(i&&typeof i=="object"){const s=i;for(const o of Object.keys(s)){const u=Xf(o);u!==o&&(s[u]=s[o],delete s[o])}}return E.Children.forEach(t.children,i=>{if(i==null)return;if(typeof i!="object"||!("props"in i))throw Error(`"${typeof i}" is not a valid <Helmet> descendant`);let s;const o={};if(i.props)for(const[h,m]of Object.entries(i.props))h==="children"?s=m:o[Xf(h)]=m;let{type:u}=i;typeof u=="symbol"&&(u=u.toString()),hE(u,s);function d(h){typeof h!="string"&&console.error(`child of ${u} element should be a string`)}switch(u){case ct.BASE:n.base=o;break;case ct.BODY:n.bodyAttributes=o;break;case ct.FRAGMENT:iE(n,yh({children:s}));break;case ct.HTML:n.htmlAttributes=o;break;case ct.LINK:case ct.META:if(s)throw Error(`<${u} /> elements are self-closing and can not contain children. Refer to our API for more information.`);Yf(n,u,o);break;case ct.NOSCRIPT:case ct.SCRIPT:s!==void 0&&(d(s),o.innerHTML=s),Yf(n,u,o);break;case ct.STYLE:d(s),o.cssText=s,Yf(n,u,o);break;case ct.TITLE:n.titleAttributes=o,typeof s=="string"?n.title=s:Array.isArray(s)&&(n.title=s.join(""));break;case ct.HEAD:}}),delete n.children,n}const Ns=t=>{const n=E.use(ex);if(!n)throw Error("<Helmet> component must be within a <HelmetProvider> children tree");const i=E.useId();return n.update(i,yh(t)),E.useEffect(()=>{n.update(i,yh(t)),n.clientApply()}),E.useEffect(()=>()=>{n.update(i,void 0),n.clientApply()},[n,i]),null},mE="modulepreload",pE=function(t){return"/"+t},Lv={},gE=function(n,i,s){let o=Promise.resolve();if(i&&i.length>0){let d=function(p){return Promise.all(p.map(g=>Promise.resolve(g).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),m=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));o=d(i.map(p=>{if(p=pE(p),p in Lv)return;Lv[p]=!0;const g=p.endsWith(".css"),b=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${b}`))return;const x=document.createElement("link");if(x.rel=g?"stylesheet":mE,g||(x.as="script"),x.crossOrigin="",x.href=p,m&&x.setAttribute("nonce",m),document.head.appendChild(x),g)return new Promise((w,T)=>
26{x.addEventListener("load",w),x.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${p}`)))})}))}function u(d){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=d,window.dispatchEvent(h),!h.defaultPrevented)throw d}return o.then(d=>{for(const h of d||[])h.status==="rejected"&&u(h.reason);return n().catch(u)})};/**
27 * react-router v7.18.0
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 tx=t=>{throw TypeError(t)},nx=(t,n,i)=>n.has(t)||tx("Cannot "+i),Hn=(t,n,i)=>(nx(t,n,"read from private field"),i?i.call(t):n.get(t)),Bl=(t,n,i)=>n.has(t)?tx("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,i),fa=(t,n,i,s)=>(nx(t,n,"write to private field"),n.set(t,i),i),mc=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,tm=/^[\\/]{2}/;function ax(t,n){return n+t.replace(/\\/g,"/")}var Vv="popstate";function Bv(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function yE(t={}){function n(s,o){var p;let u=(p=o.state)==null?void 0:p.masked,{pathname:d,search:h,hash:m}=u||s.location;return Gl("",{pathname:d,search:h,hash:m},o.state&&o.state.usr||null,o.state&&o.state.key||"default",u?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function i(s,o){return typeof o=="string"?o:xa(o)}return bE(n,i,null,t)}function Ve(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function Ct(t,n){if(!t){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function vE(){return Math.random().toString(36).substring(2,10)}function Uv(t,n){return{usr:t.state,key:t.key,idx:n,masked:t.mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function Gl(t,n,i=null,s,o){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof n=="string"?wa(n):n,state:i,key:n&&n.key||s||vE(),mask:o}}function xa({pathname:t="/",search:n="",hash:i=""}){return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function wa(t){let n={};if(t){let i=t.indexOf("#");i>=0&&(n.hash=t.substring(i),t=t.substring(0,i));let s=t.indexOf("?");s>=0&&(n.search=t.substring(s),t=t.substring(0,s)),t&&(n.pathname=t)}return n}function bE(t,n,i,s={}){let{window:o=document.defaultView,v5Compat:u=!1}=s,d=o.history,h="POP",m=null,p=g();p==null&&(p=0,d.replaceState({...d.state,idx:p},""));function g(){return(d.state||{idx:null}).idx}function b(){h="POP";let j=g(),O=j==null?null:j-p;p=j,m&&m({action:h,location:D.location,delta:O})}function x(j,O){h="PUSH";let V=Bv(j)?j:Gl(D.location,j,O);p=g()+1;let U=Uv(V,p),F=D.createHref(V.mask||V);try{d.pushState(U,"",F)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;o.location.assign(F)}u&&m&&m({action:h,location:D.location,delta:1})}function w(j,O){h="REPLACE";let V=Bv(j)?j:Gl(D.location,j,O);p=g();let U=Uv(V,p),F=D.createHref(V.mask||V);d.replaceState(U,"",F),u&&m&&m({action:h,location:D.location,delta:0})}function T(j){return ix(o,j)}let D={get action(){return h},get location(){return t(o,d)},listen(j){if(m)throw new Error("A history only accepts one active listener");return o.addEventListener(Vv,b),m=j,()=>{o.removeEventListener(Vv,b),m=null}},createHref(j){return n(o,j)},createURL:T,encodeLocation(j){let O=T(j);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:x,replace:w,go(j){return d.go(j)}};return D}function ix(t,n,i=!1){let s="http://localhost";t&&(s=t.location.origin!=="null"?t.location.origin:t.location.href),Ve(s,"No window.location.(origin|href) available to create URL");let o=typeof n=="string"?n:xa(n);return o=o.replace(/ $/,"%20"),!i&&tm.test(o)&&(o=s+o),new URL(o,s)}var Ul,Hv=class{constructor(t){if(Bl(this,Ul,new Map),t)for(let[n,i]of t)this.set(n,i)}get(t){if(Hn(this,Ul).has(t))return Hn(this,Ul).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,n){Hn(this,Ul).set(t,n)}};Ul=new WeakMap;
35var xE=new Set(["lazy","caseSensitive","path","id","index","children"]);function SE(t){return xE.has(t)}var wE=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function TE(t){return wE.has(t)}function EE(t){return t.index===!0}function Ql(t,n,i=[],s={},o=!1){return t.map((u,d)=>{let h=[...i,String(d)],m=typeof u.id=="string"?u.id:h.join("-");if(Ve(u.index!==!0||!u.children,"Cannot specify children on an index route"),Ve(o||!s[m],`Found a route id collision on id "${m}".  Route id's must be globally unique within Data Router usages`),EE(u)){let p={...u,id:m};return s[m]=Kv(p,n(p)),p}else{let p={...u,id:m,children:void 0};return s[m]=Kv(p,n(p)),u.children&&(p.children=Ql(u.children,n,h,s,o)),p}})}function Kv(t,n){return Object.assign(t,{...n,...typeof n.lazy=="object"&&n.lazy!=null?{lazy:{...t.lazy,...n.lazy}}:{}})}function rx(t,n,i="/"){return ia(t,n,i,!1)}function ia(t,n,i,s,o){let u=typeof n=="string"?wa(n):n,d=An(u.pathname||"/",i);if(d==null)return null;let h=o??Uu(t),m=null,p=kE(d);for(let g=0;m==null&&g<h.length;++g)m=zE(h[g],p,s);return m}function sx(t,n){let{route:i,pathname:s,params:o}=t;return{id:i.id,pathname:s,params:o,data:n[i.id],loaderData:n[i.id],handle:i.handle}}function Uu(t){let n=lx(t);return AE(n),n}function lx(t,n=[],i=[],s="",o=!1){let u=(d,h,m=o,p)=>{let g={relativePath:p===void 0?d.path||"":p,caseSensitive:d.caseSensitive===!0,childrenIndex:h,route:d};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(s)&&m)return;Ve(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 b=Xn([s,g.relativePath]),x=i.concat(g);d.children&&d.children.length>0&&(Ve(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),lx(d.children,n,x,b,m)),!(d.path==null&&!d.index)&&n.push({path:b,score:NE(b,d.index),routesMeta:x.map((w,T)=>{let[D,j]=cx(w.relativePath,w.caseSensitive,T===x.length-1);return{...w,matcher:D,compiledParams:j}})})};return t.forEach((d,h)=>{var m;if(d.path===""||!((m=d.path)!=null&&m.includes("?")))u(d,h);else for(let p of ox(d.path))u(d,h,!0,p)}),n}function ox(t){let n=t.split("/");if(n.length===0)return[];let[i,...s]=n,o=i.endsWith("?"),u=i.replace(/\?$/,"");if(s.length===0)return o?[u,""]:[u];let d=ox(s.join("/")),h=[];return h.push(...d.map(m=>m===""?u:[u,m].join("/"))),o&&h.push(...d),h.map(m=>t.startsWith("/")&&m===""?"/":m)}function AE(t){t.sort((n,i)=>n.score!==i.score?i.score-n.score:OE(n.routesMeta.map(s=>s.childrenIndex),i.routesMeta.map(s=>s.childrenIndex)))}var CE=/^:[\w-]+$/,jE=3,ME=2,RE=1,_E=10,DE=-2,Yv=t=>t==="*";function NE(t,n){let i=t.split("/"),s=i.length;return i.some(Yv)&&(s+=DE),n&&(s+=ME),i.filter(o=>!Yv(o)).reduce((o,u)=>o+(CE.test(u)?jE:u===""?RE:_E),s)}function OE(t,n){return t.length===n.length&&t.slice(0,-1).every((s,o)=>s===n[o])?t[t.length-1]-n[n.length-1]:0}function zE(t,n,i=!1){let{routesMeta:s}=t,o={},u="/",d=[];for(let h=0;h<s.length;++h){let m=s[h],p=h===s.length-1,g=u==="/"?n:n.slice(u.length)||"/",b={path:m.relativePath,caseSensitive:m.caseSensitive,end:p},x=m.matcher&&m.compiledParams?ux(b,g,m.matcher,m.compiledParams):Wu(b,g),w=m.route;if(!x&&p&&i&&!s[s.length-1].route.index&&(x=Wu({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},g)),!x)return null;
35Object.assign(o,x.params),d.push({params:o,pathname:Xn([u,x.pathname]),pathnameBase:BE(Xn([u,x.pathnameBase])),route:w}),x.pathnameBase!=="/"&&(u=Xn([u,x.pathnameBase]))}return d}function Wu(t,n){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[i,s]=cx(t.path,t.caseSensitive,t.end);return ux(t,n,i,s)}function ux(t,n,i,s){let o=n.match(i);if(!o)return null;let u=o[0],d=u.replace(/(.)\/+$/,"$1"),h=o.slice(1);return{params:s.reduce((p,{paramName:g,isOptional:b},x)=>{if(g==="*"){let T=h[x]||"";d=u.slice(0,u.length-T.length).replace(/(.)\/+$/,"$1")}const w=h[x];return b&&!w?p[g]=void 0:p[g]=(w||"").replace(/%2F/g,"/"),p},{}),pathname:u,pathnameBase:d,pattern:t}}function cx(t,n=!1,i=!0){Ct(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let s=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,h,m,p,g)=>{if(s.push({paramName:h,isOptional:m!=null}),m){let b=g.charAt(p+d.length);return b&&b!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(s.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,n?void 0:"i"),s]}function kE(t){try{return t.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return Ct(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),t}}function An(t,n){if(n==="/")return t;if(!t.toLowerCase().startsWith(n.toLowerCase()))return null;let i=n.endsWith("/")?n.length-1:n.length,s=t.charAt(i);return s&&s!=="/"?null:t.slice(i)||"/"}function LE({basename:t,pathname:n}){return n==="/"?t:Xn([t,n])}var nm=t=>mc.test(t);function VE(t,n="/"){let{pathname:i,search:s="",hash:o=""}=typeof t=="string"?wa(t):t,u;return i?(i=im(i),i.startsWith("/")?u=Xv(i.substring(1),"/"):u=Xv(i,n)):u=n,{pathname:u,search:UE(s),hash:HE(o)}}function Xv(t,n){let i=Ju(n).split("/");return t.split("/").forEach(o=>{o===".."?i.length>1&&i.pop():o!=="."&&i.push(o)}),i.length>1?i.join("/"):"/"}function Pf(t,n,i,s){return`Cannot include a '${t}' character in a manually specified \`to.${n}\` field [${JSON.stringify(s)}].  Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function dx(t){return t.filter((n,i)=>i===0||n.route.path&&n.route.path.length>0)}function am(t){let n=dx(t);return n.map((i,s)=>s===n.length-1?i.pathname:i.pathnameBase)}function pc(t,n,i,s=!1){let o;typeof t=="string"?o=wa(t):(o={...t},Ve(!o.pathname||!o.pathname.includes("?"),Pf("?","pathname","search",o)),Ve(!o.pathname||!o.pathname.includes("#"),Pf("#","pathname","hash",o)),Ve(!o.search||!o.search.includes("#"),Pf("#","search","hash",o)));let u=t===""||o.pathname==="",d=u?"/":o.pathname,h;if(d==null)h=i;else{let b=n.length-1;if(!s&&d.startsWith("..")){let x=d.split("/");for(;x[0]==="..";)x.shift(),b-=1;o.pathname=x.join("/")}h=b>=0?n[b]:"/"}let m=VE(o,h),p=d&&d!=="/"&&d.endsWith("/"),g=(u||d===".")&&i.endsWith("/");return!m.pathname.endsWith("/")&&(p||g)&&(m.pathname+="/"),m}var im=t=>t.replace(/[\\/]{2,}/g,"/"),Xn=t=>im(t.join("/")),Ju=t=>t.replace(/\/+$/,""),BE=t=>Ju(t).replace(/^\/*/,"/"),UE=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,HE=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,KE=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],io=class{constructor(t,n,i,s=!1){this.status=t,this.statusText=n||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function Il(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function ro(t){let n=t.map(i=>
35i.route.path).filter(Boolean);return Xn(n)||"/"}var fx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function hx(t,n){let i=t;if(typeof i!="string"||!mc.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let s=i,o=!1;if(fx)try{let u=new URL(window.location.href),d=tm.test(i)?new URL(ax(i,u.protocol)):new URL(i),h=An(d.pathname,n);d.origin===u.origin&&h!=null?i=h+d.search+d.hash:o=!0}catch{Ct(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:o,to:i}}var Ui=Symbol("Uninstrumented");function YE(t,n){let i={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};t.forEach(o=>o({id:n.id,index:n.index,path:n.path,instrument(u){let d=Object.keys(i);for(let h of d)u[h]&&i[h].push(u[h])}}));let s={};if(typeof n.lazy=="function"&&i.lazy.length>0){let o=bs(i.lazy,n.lazy,()=>{});o&&(s.lazy=o)}if(typeof n.lazy=="object"){let o=n.lazy;["middleware","loader","action"].forEach(u=>{let d=o[u],h=i[`lazy.${u}`];if(typeof d=="function"&&h.length>0){let m=bs(h,d,()=>{});m&&(s.lazy=Object.assign(s.lazy||{},{[u]:m}))}})}return["loader","action"].forEach(o=>{let u=n[o];if(typeof u=="function"&&i[o].length>0){let d=u[Ui]??u,h=bs(i[o],d,(...m)=>Pv(m[0]));h&&(o==="loader"&&d.hydrate===!0&&(h.hydrate=!0),h[Ui]=d,s[o]=h)}}),n.middleware&&n.middleware.length>0&&i.middleware.length>0&&(s.middleware=n.middleware.map(o=>{let u=o[Ui]??o,d=bs(i.middleware,u,(...h)=>Pv(h[0]));return d?(d[Ui]=u,d):o})),s}function XE(t,n){let i={navigate:[],fetch:[]};if(n.forEach(s=>s({instrument(o){let u=Object.keys(o);for(let d of u)o[d]&&i[d].push(o[d])}})),i.navigate.length>0){let s=t.navigate[Ui]??t.navigate,o=bs(i.navigate,s,(...u)=>{let[d,h]=u;return{to:typeof d=="number"||typeof d=="string"?d:d?xa(d):".",...qv(t,h??{})}});o&&(o[Ui]=s,t.navigate=o)}if(i.fetch.length>0){let s=t.fetch[Ui]??t.fetch,o=bs(i.fetch,s,(...u)=>{let[d,,h,m]=u;return{href:h??".",fetcherKey:d,...qv(t,m??{})}});o&&(o[Ui]=s,t.fetch=o)}return t}function bs(t,n,i){return t.length===0?null:async(...s)=>{let o=await mx(t,i(...s),()=>n(...s),t.length-1);if(o.type==="error")throw o.value;return o.value}}async function mx(t,n,i,s){let o=t[s],u;if(o){let d,h=async()=>(d?console.error("You cannot call instrumented handlers more than once"):d=mx(t,n,i,s-1),u=await d,Ve(u,"Expected a result"),u.type==="error"&&u.value instanceof Error?{status:"error",error:u.value}:{status:"success",error:void 0});try{await o(h,n)}catch(m){console.error("An instrumentation function threw an error:",m)}d||await h(),await d}else try{u={type:"success",value:await i()}}catch(d){u={type:"error",value:d}}return u||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function Pv(t){let{request:n,context:i,params:s,pattern:o}=t;return{request:PE(n),params:{...s},pattern:o,context:qE(i)}}function qv(t,n){return{currentUrl:xa(t.state.location),..."formMethod"in n?{formMethod:n.formMethod}:{},..."formEncType"in n?{formEncType:n.formEncType}:{},..."formData"in n?{formData:n.formData}:{},..."body"in n?{body:n.body}:{}}}function PE(t){return{method:t.method,url:t.url,headers:{get:(...n)=>t.headers.get(...n)}}}function qE(t){if(FE(t)){let n={...t};return Object.freeze(n),n}else return{get:n=>t.get(n)}}var ZE=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function FE(t){if(t===null||typeof t!="object")return!1;const n=Object.getPrototypeOf(t);return n===Object.prototype||n===null||Object.getOwnPropertyNames(n).sort().join("\0")===ZE}var px=["POST","PUT","PATCH","DELETE"],GE=new Set(px),QE=["GET",...px],IE=new Set(QE),gx=new Set([301,302,303,307,308]),$E=new Set([307,308]),qf={state:"idle",location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},WE={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Nl={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},JE=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),yx="remix-router-transitions",vx=Symbol("ResetLoaderData"),gr,hs,zi,ms,eA=class{constructor(t){Bl(this,gr),Bl(this,hs),Bl(this,zi),Bl(this,ms),fa(this,gr,t),fa(this,hs,Uu(t))}get stableRoutes(){return Hn(this,gr)}get activeRoutes(){return Hn(this,zi)??Hn(this,gr)}get branches(){return Hn(this,ms)??Hn(this,hs)}get hasHMRRoutes(){return Hn(this,zi)!=null}setRoutes(t){fa(this,gr,t),fa(this,hs,Uu(t))}setHmrRoutes(t){fa(this,zi,t),fa(this,ms,Uu(t))}commitHmrRoutes(){Hn(this,zi)&&(fa(this,gr,Hn(this,zi)),fa(this,hs,Hn(this,ms)),fa(this,zi,void 0),fa(this,ms,void 0))}};gr=new WeakMap;hs=new WeakMap;zi=new WeakMap;ms=new WeakMap;function tA(t){const n=t.window?t.window:typeof window<"u"?window:void 0,i=typeof n<"u"&&typeof n.document<"u"&&typeof n.document.createElement<"u";Ve(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=t.hydrationRouteProperties||[],o=t.mapRouteProperties||JE,u=o;if(t.instrumentations){let C=t.instrumentations;u=_=>({...o(_),...YE(C.map(z=>
35z.route).filter(Boolean),_)})}let d={},h=new eA(Ql(t.routes,u,void 0,d)),m=t.basename||"/";m.startsWith("/")||(m=`/${m}`);let p=t.dataStrategy||sA,g={...t.future},b=null,x=new Set,w=null,T=null,D=null,j=null,O=t.hydrationData!=null,V=ia(h.activeRoutes,t.history.location,m,!1,h.branches),U=!1,F=null,Q,K;if(V==null&&!t.patchRoutesOnNavigation){let C=Kn(404,{pathname:t.history.location.pathname}),{matches:_,route:z}=_u(h.activeRoutes);Q=!0,K=!Q,V=_,F={[z.id]:C}}else if(V&&!t.hydrationData&&li(V,h.activeRoutes,t.history.location.pathname).active&&(V=null),V)if(V.some(C=>C.route.lazy))Q=!1,K=!Q;else if(!V.some(C=>rm(C.route)))Q=!0,K=!Q;else{let C=t.hydrationData?t.hydrationData.loaderData:null,_=t.hydrationData?t.hydrationData.errors:null,z=V;if(_){let Z=V.findIndex(I=>_[I.route.id]!==void 0);z=z.slice(0,Z+1)}K=!1,Q=!0,z.forEach(Z=>{let I=bx(Z.route,C,_);K=K||I.renderFallback,Q=Q&&!I.shouldLoad})}else{Q=!1,K=!Q,V=[];let C=li(null,h.activeRoutes,t.history.location.pathname);C.active&&C.matches&&(U=!0,V=C.matches)}let pe,M={historyAction:t.history.action,location:t.history.location,matches:V,initialized:Q,renderFallback:K,navigation:qf,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||F,fetchers:new Map,blockers:new Map},ce="POP",$=null,Se=!1,ee,qe=!1,Ae=new Map,je=null,H=!1,G=!1,W=new Set,ae=new Map,ve=0,be=-1,Me=new Map,Ee=new Set,Xe=new Map,ft=new Map,tt=new Set,Bt=new Map,Mn,St=null;function Ea(){if(b=t.history.listen(({action:C,location:_,delta:z})=>{if(Mn){Mn(),Mn=void 0;return}Ct(Bt.size===0||z!=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 Z=Qi({currentLocation:M.location,nextLocation:_,historyAction:C});if(Z&&z!=null){let I=new Promise(se=>{Mn=se});t.history.go(z*-1),Ma(Z,{state:"blocked",location:_,proceed(){Ma(Z,{state:"proceeding",proceed:void 0,reset:void 0,location:_}),I.then(()=>t.history.go(z))},reset(){let se=new Map(M.blockers);se.set(Z,Nl),ht({blockers:se})}}),$==null||$.resolve(),$=null;return}return Zn(C,_)}),i){AA(n,Ae);let C=()=>CA(n,Ae);n.addEventListener("pagehide",C),je=()=>n.removeEventListener("pagehide",C)}return M.initialized||Zn("POP",M.location,{initialHydration:!0}),pe}function ti(){b&&b(),je&&je(),x.clear(),ee&&ee.abort(),M.fetchers.forEach((C,_)=>ja(M.fetchers,_)),M.blockers.forEach((C,_)=>Gi(_))}function ni(C){if(x.add(C),w){let{newErrors:_}=w;w=null,C(M,{deletedFetchers:[],newErrors:_,viewTransitionOpts:void 0,flushSync:!1})}return()=>x.delete(C)}function ht(C,_={}){C.matches&&(C.matches=C.matches.map(I=>{let se=d[I.route.id],ne=I.route;return ne.element!==se.element||ne.errorElement!==se.errorElement||ne.hydrateFallbackElement!==se.hydrateFallbackElement?{...I,route:se}:I})),M={...M,...C};let z=[],Z=[];M.fetchers.forEach((I,se)=>{I.state==="idle"&&(tt.has(se)?z.push(se):Z.push(se))}),tt.forEach(I=>{!M.fetchers.has(I)&&!ae.has(I)&&z.push(I)}),x.size===0&&(w={newErrors:C.errors??null}),[...x].forEach(I=>I(M,{deletedFetchers:z,newErrors:C.errors??null,viewTransitionOpts:_.viewTransitionOpts,flushSync:_.flushSync===!0})),z.forEach(I=>ja(M.fetchers,I)),Z.forEach(I=>M.fetchers.delete(I))}function Ut(C,_,{flushSync:z}={}){var Te,Ne;let Z=M.actionData!=null&&M.navigation.formMethod!=null&&$t(M.navigation.formMethod)&&M.navigation.state==="loading"&&((Te=C.state)==null?void 0:Te._isRedirect)!==!0,I;_.actionData?Object.keys(_.actionData).length>0?I=_.actionData:I=null:Z?I=M.actionData:I=null;let se=_.loaderData?t0(M.loaderData,_.loaderData,_.matches||[],_.errors):M.loaderData,ne=M.blockers;ne.size>0&&(ne=new Map(ne),ne.forEach((ye,Le)=>ne.set(Le,Nl)));let ge=H?!1:Ks(C,_.matches||M.matches),te=Se===!0||M.navigation.formMethod!=null&&$t(M.navigation.formMethod)&&((Ne=C.state)==null?void 0:Ne._isRedirect)!==!0;h.commitHmrRoutes(),H||ce==="POP"||(ce==="PUSH"?t.history.push(C,C.state):ce==="REPLACE"&&t.history.replace(C,C.state));let he;if(ce==="POP"){let ye=Ae.get(M.location.pathname);ye&&ye.has(C.pathname)?he={currentLocation:M.location,nextLocation:C}
35:Ae.has(C.pathname)&&(he={currentLocation:C,nextLocation:M.location})}else if(qe){let ye=Ae.get(M.location.pathname);ye?ye.add(C.pathname):(ye=new Set([C.pathname]),Ae.set(M.location.pathname,ye)),he={currentLocation:M.location,nextLocation:C}}ht({..._,actionData:I,loaderData:se,historyAction:ce,location:C,initialized:!0,renderFallback:!1,navigation:qf,revalidation:"idle",restoreScrollPosition:ge,preventScrollReset:te,blockers:ne},{viewTransitionOpts:he,flushSync:z===!0}),ce="POP",Se=!1,qe=!1,H=!1,G=!1,$==null||$.resolve(),$=null,St==null||St.resolve(),St=null}async function Aa(C,_){if($==null||$.resolve(),$=null,typeof C=="number"){$||($=r0());let Qe=$.promise;return t.history.go(C),Qe}let z=vh(M.location,M.matches,m,C,_==null?void 0:_.fromRouteId,_==null?void 0:_.relative),{path:Z,submission:I,error:se}=Zv(!1,z,_),ne;_!=null&&_.mask&&(ne={pathname:"",search:"",hash:"",...typeof _.mask=="string"?wa(_.mask):{...M.location.mask,..._.mask}});let ge=M.location,te=Gl(ge,Z,_&&_.state,void 0,ne);te={...te,...t.history.encodeLocation(te)};let he=_&&_.replace!=null?_.replace:void 0,Te="PUSH";he===!0?Te="REPLACE":he===!1||I!=null&&$t(I.formMethod)&&I.formAction===M.location.pathname+M.location.search&&(Te="REPLACE");let Ne=_&&"preventScrollReset"in _?_.preventScrollReset===!0:void 0,ye=(_&&_.flushSync)===!0,Le=Qi({currentLocation:ge,nextLocation:te,historyAction:Te});if(Le){Ma(Le,{state:"blocked",location:te,proceed(){Ma(Le,{state:"proceeding",proceed:void 0,reset:void 0,location:te}),Aa(C,_)},reset(){let Qe=new Map(M.blockers);Qe.set(Le,Nl),ht({blockers:Qe})}});return}await Zn(Te,te,{submission:I,pendingError:se,preventScrollReset:Ne,replace:_&&_.replace,enableViewTransition:_&&_.viewTransition,flushSync:ye,callSiteDefaultShouldRevalidate:_&&_.defaultShouldRevalidate})}function ai(){St||(St=r0()),ri(),ht({revalidation:"loading"});let C=St.promise;return M.navigation.state==="submitting"?C:M.navigation.state==="idle"?(Zn(M.historyAction,M.location,{startUninterruptedRevalidation:!0}),C):(Zn(ce||M.historyAction,M.navigation.location,{overrideNavigation:M.navigation,enableViewTransition:qe===!0}),C)}async function Zn(C,_,z){ee&&ee.abort(),ee=null,ce=C,H=(z&&z.startUninterruptedRevalidation)===!0,Rc(M.location,M.matches),Se=(z&&z.preventScrollReset)===!0,qe=(z&&z.enableViewTransition)===!0;let Z=h.activeRoutes,I=z!=null&&z.initialHydration&&M.matches&&M.matches.length>0&&!U?M.matches:ia(Z,_,m,!1,h.branches),se=(z&&z.flushSync)===!0;if(I&&M.initialized&&!G&&pA(M.location,_)&&!(z&&z.submission&&$t(z.submission.formMethod))){Ut(_,{matches:I},{flushSync:se});return}let ne=li(I,Z,_.pathname);if(ne.active&&ne.matches&&(I=ne.matches),!I){let{error:et,notFoundMatches:Ze,route:jt}=Gn(_.pathname);Ut(_,{matches:Ze,loaderData:{},errors:{[jt.id]:et}},{flushSync:se});return}let ge=z&&z.overrideNavigation?{...z.overrideNavigation,matches:I,historyAction:C}:void 0;ee=new AbortController;let te=ps(t.history,_,ee.signal,z&&z.submission),he=t.getContext?await t.getContext():new Hv,Te;if(z&&z.pendingError)Te=[Bi(I).route.id,{type:"error",error:z.pendingError}];else if(z&&z.submission&&$t(z.submission.formMethod)){let et=await po(te,_,z.submission,I,C,he,ne.active,z&&z.initialHydration===!0,{replace:z.replace,flushSync:se});if(et.shortCircuited)return;if(et.pendingActionResult){let[Ze,jt]=et.pendingActionResult;if(Tn(jt)&&Il(jt.error)&&jt.error.status===404){ee=null,Ut(_,{matches:et.matches,loaderData:{},errors:{[Ze]:jt.error}});return}}I=et.matches||I,Te=et.pendingActionResult,ge=Zf(_,I,C,z.submission),se=!1,ne.active=!1,te=ps(t.history,te.url,te.signal)}let{shortCircuited:Ne,matches:ye,loaderData:Le,errors:Qe,workingFetchers:mt}=await Bs(te,_,I,C,he,ne.active,ge,z&&z.submission,z&&z.fetcherSubmission,z&&z.replace,z&&z.initialHydration===!0,se,Te,z&&z.callSiteDefaultShouldRevalidate);Ne||(ee=null,Ut(_,{matches:ye||I,...n0(Te),loaderData:Le,errors:Qe,...mt?{fetchers:mt}:{}}))}async function po(C,_,z,Z,I,se,ne,ge,te={}){ri();let he=TA(_,Z,I,z);if(ht({navigation:he},{flushSync:te.flushSync===!0}),ne){let ye=await la(Z,_.pathname,C.signal);if(ye.type==="aborted")return{shortCircuited:!0};if(ye.type==="error"){if(ye.partialMatches.length===0){let{matches:Qe,route:mt}=_u(h.activeRoutes);return{matches:Qe,pendingActionResult:[mt.id,{type:"error",error:ye.error}]}}let Le=Bi(ye.partialMatches).route.id;return{matches:ye.partialMatches,pendingActionResult:[Le,{type:"error",error:ye.error}]}}else if(ye.matches)Z=ye.matches;else{let{notFoundMatches:Le,error:Qe,route:mt}=Gn(_.pathname);return{matches:Le,pendingActionResult:[mt.id,{type:"error",error:Qe}]}}}let Te,Ne=Hu(Z,_);if(!Ne.route.action&&!Ne.route.lazy)Te={type:"error",error:Kn(405,{method:C.method,pathname:_.pathname,routeId:Ne.route.id})};else{let ye=Es(u,d,C,_,Z,Ne,ge?[]:s,se),Le=await ii(C,_,ye,se,null);if(Te=Le[Ne.route.id],!Te){for(let Qe of Z)if(Le[Qe.route.id]){Te=Le[Qe.route.id];break}}if(C.signal.aborted)return{shortCircuited:!0}}if(vr(Te)){let ye;return te&&te.replace!=null?ye=te.replace:ye=Wv(Te.response.headers.get("Location"),new URL(C.url),m,t.history)===M.location.pathname+M.location.search,await Ca(C,Te,!0,{submission:z,replace:ye}),{shortCircuited:!0}}if(Tn(Te)){let ye=Bi(Z,Ne.route.id);return(te&&te.replace)!==!0&&(ce="PUSH"),{matches:Z,pendingActionResult:[ye.route.id,Te,Ne.route.id]}}return{matches:Z,pendingActionResult:[Ne.route.id,Te]}}async function Bs(C,_,z,Z,I,se,ne,ge,te,he,Te,Ne,ye,Le){let Qe=ne||Zf(_,z,Z,ge),mt=ge||te||i0(Qe),et=!H&&!Te;if(se){if(et){let ot=Ar(ye);ht({navigation:Qe,...ot!==void 0?{actionData:ot}:{}},{flushSync:Ne})}let Re=await la(z,_.pathname,C.signal);if(Re.type==="aborted")return{shortCircuited:!0};if(Re.type==="error"){if(Re.partialMatches.length===0){let{matches:mn,route:$n}=_u(h.activeRoutes);return{matches:mn,loaderData:{},errors:{[$n.id]:Re.error}}}let ot=Bi(Re.partialMatches).route.id;return{matches:Re.partialMatches,loaderData:{},errors:{[ot]:Re.error}}}else if(Re.matches)z=Re.matches;else{let{error:ot,notFoundMatches:mn,route:$n}=Gn(_.pathname);return{matches:mn,loaderData:{},errors:{[$n.id]:ot}}}}let Ze=h.activeRoutes,{dsMatches:jt,revalidatingFetchers:Fe}=Fv(C,I,u,d,t.history,M,z,mt,_,Te?[]:s,Te===!0,G,W,tt,Xe,Ee,Ze,m,t.patchRoutesOnNavigation!=null,h.branches,ye,Le);if(be=++ve,!t.dataStrategy&&!jt.some(Re=>Re.shouldLoad)&&!jt.some(Re=>Re.route.middleware&&Re.route.middleware.length>0)&&Fe.length===0){let Re=new Map(M.fetchers),ot=go(Re);return Ut(_,{matches:z,loaderData:{},errors:ye&&Tn(ye[1])?{[ye[0]]:ye[1].error}:null,...n0(ye),...ot?{fetchers:Re}:{}},{flushSync:Ne}),{shortCircuited:!0}}if(et){let Re={};if(!se){Re.navigation=Qe;let ot=Ar(ye);ot!==void 0&&(Re.actionData=ot)}Fe.length>0&&(Re.fetchers=Us(Fe)),ht(Re,{flushSync:Ne})}Fe.forEach(Re=>{Ht(Re.key),Re.controller&&ae.set(Re.key,Re.controller)});let oi=()=>Fe.forEach(Re=>
35Ht(Re.key));ee&&ee.signal.addEventListener("abort",oi);let{loaderResults:Qn,fetcherResults:sn}=await Hs(jt,Fe,C,_,I);if(C.signal.aborted)return{shortCircuited:!0};ee&&ee.signal.removeEventListener("abort",oi),Fe.forEach(Re=>ae.delete(Re.key));let en=Du(Qn);if(en)return await Ca(C,en.result,!0,{replace:he}),{shortCircuited:!0};if(en=Du(sn),en)return Ee.add(en.key),await Ca(C,en.result,!0,{replace:he}),{shortCircuited:!0};let _n=new Map(M.fetchers),{loaderData:jr,errors:In}=e0(M,z,Qn,ye,Fe,sn,_n);Te&&M.errors&&(In={...M.errors,...In});let Mr=go(_n),Ra=yo(be,_n),_a=Mr||Ra||Fe.length>0;return{matches:z,loaderData:jr,errors:In,..._a?{workingFetchers:_n}:{}}}function Ar(C){if(C&&!Tn(C[1]))return{[C[0]]:C[1].data};if(M.actionData)return Object.keys(M.actionData).length===0?null:M.actionData}function Us(C){let _=new Map(M.fetchers);return C.forEach(z=>{let Z=_.get(z.key),I=Ol(void 0,Z?Z.data:void 0);_.set(z.key,I)}),_}async function Ec(C,_,z,Z){Ht(C);let I=(Z&&Z.flushSync)===!0,se=h.activeRoutes,ne=vh(M.location,M.matches,m,z,_,Z==null?void 0:Z.relative),ge=ia(se,ne,m,!1,h.branches),te=li(ge,se,ne);if(te.active&&te.matches&&(ge=te.matches),!ge){Rn(C,_,Kn(404,{pathname:ne}),{flushSync:I});return}let{path:he,submission:Te,error:Ne}=Zv(!0,ne,Z);if(Ne){Rn(C,_,Ne,{flushSync:I});return}let ye=t.getContext?await t.getContext():new Hv,Le=(Z&&Z.preventScrollReset)===!0;if(Te&&$t(Te.formMethod)){await Ac(C,_,he,ge,ye,te.active,I,Le,Te,Z&&Z.defaultShouldRevalidate);return}Xe.set(C,{routeId:_,path:he}),await Wt(C,_,he,ge,ye,te.active,I,Le,Te)}async function Ac(C,_,z,Z,I,se,ne,ge,te,he){ri(),Xe.delete(C);let Te=M.fetchers.get(C);Fn(C,EA(te,Te),{flushSync:ne});let Ne=new AbortController,ye=ps(t.history,z,Ne.signal,te);if(se){let nt=await la(Z,new URL(ye.url).pathname,ye.signal,C);if(nt.type==="aborted")return;if(nt.type==="error"){Rn(C,_,nt.error,{flushSync:ne});return}else if(nt.matches)Z=nt.matches;else{Rn(C,_,Kn(404,{pathname:z}),{flushSync:ne});return}}let Le=Hu(Z,z);if(!Le.route.action&&!Le.route.lazy){let nt=Kn(405,{method:te.formMethod,pathname:z,routeId:_});Rn(C,_,nt,{flushSync:ne});return}ae.set(C,Ne);let Qe=ve,mt=Es(u,d,ye,z,Z,Le,s,I),et=await ii(ye,z,mt,I,C),Ze=et[Le.route.id];if(!Ze){for(let nt of mt)if(et[nt.route.id]){Ze=et[nt.route.id];break}}if(ye.signal.aborted){ae.get(C)===Ne&&ae.delete(C);return}if(tt.has(C)){if(vr(Ze)||Tn(Ze)){Fn(C,ma(void 0));return}}else{if(vr(Ze))if(ae.delete(C),be>Qe){Fn(C,ma(void 0));return}else return Ee.add(C),Fn(C,Ol(te)),Ca(ye,Ze,!1,{fetcherSubmission:te,preventScrollReset:ge});if(Tn(Ze)){Rn(C,_,Ze.error);return}}let jt=M.navigation.location||M.location,Fe=ps(t.history,jt,Ne.signal),oi=h.activeRoutes,Qn=M.navigation.state!=="idle"?ia(oi,M.navigation.location,m,!1,h.branches):M.matches;Ve(Qn,"Didn't find any matches after fetcher action");let sn=++ve;Me.set(C,sn);let{dsMatches:en,revalidatingFetchers:_n}=Fv(Fe,I,u,d,t.history,M,Qn,te,jt,s,!1,G,W,tt,Xe,Ee,oi,m,t.patchRoutesOnNavigation!=null,h.branches,[Le.route.id,Ze],he),jr=Ol(te,Ze.data),In=new Map(M.fetchers);In.set(C,jr),_n.filter(nt=>nt.key!==C).forEach(nt=>{let Da=nt.key,tn=In.get(Da),Ys=Ol(void 0,tn?tn.data:void 0);In.set(Da,Ys),Ht(Da),nt.controller&&ae.set(Da,nt.controller)}),ht({fetchers:In});let Mr=()=>_n.forEach(nt=>Ht(nt.key));Ne.signal.addEventListener("abort",Mr);let{loaderResults:Ra,fetcherResults:_a}=await Hs(en,_n,Fe,jt,I);if(Ne.signal.aborted)return;Ne.signal.removeEventListener("abort",Mr),Me.delete(C),ae.delete(C),_n.forEach(nt=>ae.delete(nt.key));let Re=M.fetchers.has(C),ot=nt=>{if(!Re)return nt;let Da=new Map(nt.fetchers);return Da.set(C,ma(Ze.data)),{...nt,fetchers:Da}},mn=Du(Ra);if(mn)return M=ot(M),Ca(Fe,mn.result,!1,{preventScrollReset:ge});if(mn=Du(_a),mn)return Ee.add(mn.key),M=ot(M),Ca(Fe,mn.result,!1,{preventScrollReset:ge});let $n=new Map(M.fetchers);Re&&$n.set(C,ma(Ze.data));let{loaderData:Rr,errors:_r}=e0(M,Qn,Ra,void 0,_n,_a,$n);yo(sn,$n),M.navigation.state==="loading"&&sn>be?(Ve(ce,"Expected pending action"),ee&&ee.abort(),Ut(M.navigation.location,{matches:Qn,loaderData:Rr,errors:_r,fetchers:$n})):(ht({errors:_r,loaderData:t0(M.loaderData,Rr,Qn,_r),fetchers:$n}),G=!1)}async function Wt(C,_,z,Z,I,se,ne,ge,te){let he=M.fetchers.get(C);Fn(C,Ol(te,he?he.data:void 0),{flushSync:ne});let Te=new AbortController,Ne=ps(t.history,z,Te.signal);if(se){let Ze=await la(Z,new URL(Ne.url).pathname,Ne.signal,C);if(Ze.type==="aborted")return;if(Ze.type==="error"){Rn(C,_,Ze.error,{flushSync:ne});return}else if(Ze.matches)Z=Ze.matches;else{Rn(C,_,Kn(404,{pathname:z}),{flushSync:ne});return}}let ye=Hu(Z,z);ae.set(C,Te);let Le=ve,Qe=Es(u,d,Ne,z,Z,ye,s,I),mt=await ii(Ne,z,Qe,I,C),et=mt[ye.route.id];if(!et){for(let Ze of Z)if(mt[Ze.route.id]){et=mt[Ze.route.id];break}}if(ae.get(C)===Te&&ae.delete(C),!Ne.signal.aborted){if(tt.has(C)){Fn(C,ma(void 0));return}if(vr(et))if(be>Le){Fn(C,ma(void 0));return}else{Ee.add(C),await Ca(Ne,et,!1,{preventScrollReset:ge});return}if(Tn(et)){Rn(C,_,et.error);return}Fn(C,ma(et.data))}}async function Ca(C,_,z,{submission:Z,fetcherSubmission:I,preventScrollReset:se,replace:ne}={}){z||($==null||$.resolve(),$=null),_.response.headers.has("X-Remix-Revalidate")&&(G=!0);let ge=_.response.headers.get("Location");Ve(ge,"Expected a Location header on the redirect Response"),ge=Wv(ge,new URL(C.url),m,t.history);let te=Gl(M.location,ge,{_isRedirect:!0});if(i){let Qe=!1;if(_.response.headers.has("X-Remix-Reload-Document"))Qe=!0;else if(nm(ge)){const mt=ix(n,ge,!0);Qe=mt.origin!==n.location.origin||An(mt.pathname,m)==null}if(Qe){ne?n.location.replace(ge):n.location.assign(ge);return}}ee=null;let he=ne===!0||_.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Te,formAction:Ne,formEncType:ye}=M.navigation;!Z&&!I&&Te&&Ne&&ye&&(Z=i0(M.navigation));let Le=Z||I;if($E.has(_.response.status)&&Le&&$t(Le.formMethod))await Zn(he,te,{submission:{...Le,formAction:ge},preventScrollReset:se||Se,enableViewTransition:z?qe:void 0});else{let Qe=Zf(te,[],he,Z);await Zn(he,te,{overrideNavigation:Qe,fetcherSubmission:I,preventScrollReset:se||Se,enableViewTransition:z?qe:void 0})}}async function ii(C,_,z,Z,I){var ge;let se,ne={};try{se=await oA(p,C,_,z,I,Z,!1)}catch(te){return z.filter(he=>
35he.shouldLoad).forEach(he=>{ne[he.route.id]={type:"error",error:te}}),ne}if(C.signal.aborted)return ne;if(!$t(C.method))for(let te of z){if(((ge=se[te.route.id])==null?void 0:ge.type)==="error")break;!se.hasOwnProperty(te.route.id)&&!M.loaderData.hasOwnProperty(te.route.id)&&(!M.errors||!M.errors.hasOwnProperty(te.route.id))&&te.shouldCallHandler()&&(se[te.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${te.route.id}`)})}for(let[te,he]of Object.entries(se))if(bA(he)){let Te=he.result;ne[te]={type:"redirect",response:fA(Te,C,te,z,m)}}else ne[te]=await dA(he);return ne}async function Hs(C,_,z,Z,I){let se=ii(z,Z,C,I,null),ne=Promise.all(_.map(async he=>{if(he.matches&&he.match&&he.request&&he.controller){let Ne=(await ii(he.request,he.path,he.matches,I,he.key))[he.match.route.id];return{[he.key]:Ne}}else return Promise.resolve({[he.key]:{type:"error",error:Kn(404,{pathname:he.path})}})})),ge=await se,te=(await ne).reduce((he,Te)=>Object.assign(he,Te),{});return{loaderResults:ge,fetcherResults:te}}function ri(){G=!0,Xe.forEach((C,_)=>{ae.has(_)&&W.add(_),Ht(_)})}function Fn(C,_,z={}){let Z=new Map(M.fetchers);Z.set(C,_),ht({fetchers:Z},{flushSync:(z&&z.flushSync)===!0})}function Rn(C,_,z,Z={}){let I=Bi(M.matches,_),se=new Map(M.fetchers);ja(se,C),ht({errors:{[I.route.id]:z},fetchers:se},{flushSync:(Z&&Z.flushSync)===!0})}function Cc(C){return ft.set(C,(ft.get(C)||0)+1),tt.has(C)&&tt.delete(C),M.fetchers.get(C)||WE}function jc(C,_){Ht(C,_==null?void 0:_.reason),Fn(C,ma(null))}function ja(C,_){let z=M.fetchers.get(_);ae.has(_)&&!(z&&z.state==="loading"&&Me.has(_))&&Ht(_),Xe.delete(_),Me.delete(_),Ee.delete(_),tt.delete(_),W.delete(_),C.delete(_)}function Jt(C){let _=(ft.get(C)||0)-1;_<=0?(ft.delete(C),tt.add(C)):ft.set(C,_),ht({fetchers:new Map(M.fetchers)})}function Ht(C,_){let z=ae.get(C);z&&(z.abort(_),ae.delete(C))}function Qt(C,_){for(let z of C){let Z=_.get(z);Ve(Z,`Expected fetcher: ${z}`);let I=ma(Z.data);_.set(z,I)}}function go(C){let _=[],z=!1;for(let Z of Ee){let I=C.get(Z);Ve(I,`Expected fetcher: ${Z}`),I.state==="loading"&&(Ee.delete(Z),_.push(Z),z=!0)}return Qt(_,C),z}function yo(C,_){let z=[];for(let[Z,I]of Me)if(I<C){let se=_.get(Z);Ve(se,`Expected fetcher: ${Z}`),se.state==="loading"&&(Ht(Z),Me.delete(Z),z.push(Z))}return Qt(z,_),z.length>0}function Mc(C,_){let z=M.blockers.get(C)||Nl;return Bt.get(C)!==_&&Bt.set(C,_),z}function Gi(C){M.blockers.delete(C),Bt.delete(C)}function Ma(C,_){let z=M.blockers.get(C)||Nl;Ve(z.state==="unblocked"&&_.state==="blocked"||z.state==="blocked"&&_.state==="blocked"||z.state==="blocked"&&_.state==="proceeding"||z.state==="blocked"&&_.state==="unblocked"||z.state==="proceeding"&&_.state==="unblocked",`Invalid blocker state transition: ${z.state} -> ${_.state}`);let Z=new Map(M.blockers);Z.set(C,_),ht({blockers:Z})}function Qi({currentLocation:C,nextLocation:_,historyAction:z}){if(Bt.size===0)return;Bt.size>1&&Ct(!1,"A router only supports one blocker at a time");let Z=Array.from(Bt.entries()),[I,se]=Z[Z.length-1],ne=M.blockers.get(I);if(!(ne&&ne.state==="proceeding")&&se({currentLocation:C,nextLocation:_,historyAction:z}))return I}function Gn(C){let _=Kn(404,{pathname:C}),z=h.activeRoutes,{matches:Z,route:I}=_u(z);return{notFoundMatches:Z,route:I,error:_}}function Cr(C,_,z){if(T=C,j=_,D=z||null,!O&&M.navigation===qf){O=!0;let Z=Ks(M.location,M.matches);Z!=null&&ht({restoreScrollPosition:Z})}return()=>{T=null,j=null,D=null}}function si(C,_){return D&&D(C,_.map(Z=>sx(Z,M.loaderData)))||C.key}function Rc(C,_){if(T&&j){let z=si(C,_);T[z]=j()}}function Ks(C,_){if(T){let z=si(C,_),Z=T[z];if(typeof Z=="number")return Z}return null}function li(C,_,z){if(t.patchRoutesOnNavigation){let Z=h.branches;if(C){if(Object.keys(C[0].params).length>0)return{active:!0,matches:ia(_,z,m,!0,Z)}}else return{active:!0,matches:ia(_,z,m,!0,Z)||[]}}return{active:!1,matches:null}}async function la(C,_,z,Z){if(!t.patchRoutesOnNavigation)return{type:"success",matches:C};let I=C;for(;;){let se=d;try{await t.patchRoutesOnNavigation({signal:z,path:_,matches:I,fetcherKey:Z,patch:(he,Te)=>{z.aborted||Gv(he,Te,h,se,u,!1)}})}catch(he){return{type:"error",error:he,partialMatches:I}}if(z.aborted)return{type:"aborted"};let ne=h.branches,ge=ia(h.activeRoutes,_,m,!1,ne),te=null;if(ge){if(Object.keys(ge[0].params).length===0)return{type:"success",matches:ge};if(te=ia(h.activeRoutes,_,m,!0,ne),!(te&&I.length<te.length&&vo(I,te.slice(0,I.length))))return{type:"success",matches:ge}}if(te||(te=ia(h.activeRoutes,_,m,!0,ne)),!te||vo(I,te))return{type:"success",matches:null};I=te}}function vo(C,_){return C.length===_.length&&C.every((z,Z)=>z.route.id===_[Z].route.id)}function bo(C){d={},h.setHmrRoutes(Ql(C,u,void 0,d))}function xo(C,_,z=!1){Gv(C,_,h,d,u,z),h.hasHMRRoutes||ht({})}return pe={get basename(){return m},get future(){return g},get state(){return M},get routes(){return h.stableRoutes},get branches(){return h.branches},get manifest(){return d},get window(){return n},initialize:Ea,subscribe:ni,enableScrollRestoration:Cr,navigate:Aa,fetch:Ec,revalidate:ai,createHref:C=>t.history.createHref(C),encodeLocation:C=>t.history.encodeLocation(C),getFetcher:Cc,resetFetcher:jc,deleteFetcher:Jt,dispose:ti,getBlocker:Mc,deleteBlocker:Gi,patchRoutes:xo,_internalFetchControllers:ae,_internalSetRoutes:bo,_internalSetStateDoNotUseOrYouWillBreakYourApp(C){ht(C)}},t.instrumentations&&(pe=XE(pe,t.instrumentations.map(C=>
35C.router).filter(Boolean))),pe}function nA(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function vh(t,n,i,s,o,u){let d,h;if(o){d=[];for(let p of n)if(d.push(p),p.route.id===o){h=p;break}}else d=n,h=n[n.length-1];let m=pc(s||".",am(d),An(t.pathname,i)||t.pathname,u==="path");if(s==null&&(m.search=t.search,m.hash=t.hash),(s==null||s===""||s===".")&&h){let p=lm(m.search);if(h.route.index&&!p)m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&p){let g=new URLSearchParams(m.search),b=g.getAll("index");g.delete("index"),b.filter(w=>w).forEach(w=>g.append("index",w));let x=g.toString();m.search=x?`?${x}`:""}}return i!=="/"&&(m.pathname=LE({basename:i,pathname:m.pathname})),xa(m)}function Zv(t,n,i){if(!i||!nA(i))return{path:n};if(i.formMethod&&!wA(i.formMethod))return{path:n,error:Kn(405,{method:i.formMethod})};let s=()=>({path:n,error:Kn(400,{type:"invalid-body"})}),u=(i.formMethod||"get").toUpperCase(),d=Cx(n);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!$t(u))return s();let b=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((x,[w,T])=>`${x}${w}=${T}
36`,""):String(i.body);return{path:n,submission:{formMethod:u,formAction:d,formEncType:i.formEncType,formData:void 0,json:void 0,text:b}}}else if(i.formEncType==="application/json"){if(!$t(u))return s();try{let b=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:n,submission:{formMethod:u,formAction:d,formEncType:i.formEncType,formData:void 0,json:b,text:void 0}}}catch{return s()}}}Ve(typeof FormData=="function","FormData is not available in this environment");let h,m;if(i.formData)h=Sh(i.formData),m=i.formData;else if(i.body instanceof FormData)h=Sh(i.body),m=i.body;else if(i.body instanceof URLSearchParams)h=i.body,m=Jv(h);else if(i.body==null)h=new URLSearchParams,m=new FormData;else try{h=new URLSearchParams(i.body),m=Jv(h)}catch{return s()}let p={formMethod:u,formAction:d,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if($t(p.formMethod))return{path:n,submission:p};let g=wa(n);return t&&g.search&&lm(g.search)&&h.append("index",""),g.search=`?${h}`,{path:xa(g),submission:p}}function Fv(t,n,i,s,o,u,d,h,m,p,g,b,x,w,T,D,j,O,V,U,F,Q){var H;let K=F?Tn(F[1])?F[1].error:F[1].data:void 0,pe=o.createURL(u.location),M=o.createURL(m),ce;if(g&&u.errors){let G=Object.keys(u.errors)[0];ce=d.findIndex(W=>W.route.id===G)}else if(F&&Tn(F[1])){let G=F[0];ce=d.findIndex(W=>W.route.id===G)-1}let $=F?F[1].statusCode:void 0,Se=$&&$>=400,ee={currentUrl:pe,currentParams:((H=u.matches[0])==null?void 0:H.params)||{},nextUrl:M,nextParams:d[0].params,...h,actionResult:K,actionStatus:$},qe=ro(d),Ae=d.map((G,W)=>{let{route:ae}=G,ve=null;if(ce!=null&&W>ce)ve=!1;else if(ae.lazy)ve=!0;else if(!rm(ae))ve=!1;else if(g){let{shouldLoad:Xe}=bx(ae,u.loaderData,u.errors);ve=Xe}else aA(u.loaderData,u.matches[W],G)&&(ve=!0);if(ve!==null)return bh(i,s,t,m,qe,G,p,n,ve);let be=!1;typeof Q=="boolean"?be=Q:Se?be=!1:(b||pe.pathname+pe.search===M.pathname+M.search||pe.search!==M.search||iA(u.matches[W],G))&&(be=!0);let Me={...ee,defaultShouldRevalidate:be},Ee=Yl(G,Me);return bh(i,s,t,m,qe,G,p,n,Ee,Me,Q)}),je=[];return T.forEach((G,W)=>{if(g||!d.some(tt=>tt.route.id===G.routeId)||w.has(W))return;let ae=u.fetchers.get(W),ve=ae&&ae.state!=="idle"&&ae.data===void 0,be=ia(j,G.path,O??"/",!1,U);if(!be){if(V&&ve)return;je.push({key:W,routeId:G.routeId,path:G.path,matches:null,match:null,request:null,controller:null});return}if(D.has(W))return;let Me=Hu(be,G.path),Ee=new AbortController,Xe=ps(o,G.path,Ee.signal),ft=null;if(x.has(W))x.delete(W),ft=Es(i,s,Xe,G.path,be,Me,p,n);else if(ve)b&&(ft=Es(i,s,Xe,G.path,be,Me,p,n));else{let tt;typeof Q=="boolean"?tt=Q:Se?tt=!1:tt=b;let Bt={...ee,defaultShouldRevalidate:tt};Yl(Me,Bt)&&(ft=Es(i,s,Xe,G.path,be,Me,p,n,Bt))}ft&&je.push({key:W,routeId:G.routeId,path:G.path,matches:ft,match:Me,request:Xe,controller:Ee})}),{dsMatches:Ae,revalidatingFetchers:je}}function rm(t){return t.loader!=null||t.middleware!=null&&t.middleware.length>0}function bx(t,n,i){if(t.lazy)return{shouldLoad:!0,renderFallback:!0};if(!rm(t))return{shouldLoad:!1,renderFallback:!1};let s=n!=null&&t.id in n,o=i!=null&&i[t.id]!==void 0;if(!s&&o)return{shouldLoad:!1,renderFallback:!1};if(typeof t.loader=="function"&&t.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!s};let u=!s&&!o;return{shouldLoad:u,renderFallback:u}}function aA(t,n,i){let s=!n||i.route.id!==n.route.id,o=!t.hasOwnProperty(i.route.id);return s||o}function iA(t,n){let i=t.route.path;return t.pathname!==n.pathname||i!=null&&i.endsWith("*")&&t.params["*"]!==n.params["*"]}function Yl(t,n){if(t.route.shouldRevalidate){let i=t.route.shouldRevalidate(n);if(typeof i=="boolean")return i}return n.defaultShouldRevalidate}function Gv(t,n,i,s,o,u){let d;if(t){let p=s[t];Ve(p,`No route found to patch children into: routeId = ${t}`),p.children||(p.children=[]),d=p.children}else d=i.activeRoutes;let h=[],m=[];
36if(n.forEach(p=>{let g=d.find(b=>xx(p,b));g?m.push({existingRoute:g,newRoute:p}):h.push(p)}),h.length>0){let p=Ql(h,o,[t||"_","patch",String((d==null?void 0:d.length)||"0")],s);d.push(...p)}if(u&&m.length>0)for(let p=0;p<m.length;p++){let{existingRoute:g,newRoute:b}=m[p],x=g,[w]=Ql([b],o,[],{},!0);Object.assign(x,{element:w.element?w.element:x.element,errorElement:w.errorElement?w.errorElement:x.errorElement,hydrateFallbackElement:w.hydrateFallbackElement?w.hydrateFallbackElement:x.hydrateFallbackElement})}i.hasHMRRoutes||i.setRoutes([...i.activeRoutes])}function xx(t,n){var i;return"id"in t&&"id"in n&&t.id===n.id?!0:t.index===n.index&&t.path===n.path&&t.caseSensitive===n.caseSensitive?(!t.children||t.children.length===0)&&(!n.children||n.children.length===0)?!0:((i=t.children)==null?void 0:i.every((s,o)=>{var u;return(u=n.children)==null?void 0:u.some(d=>xx(s,d))}))??!1:!1}var Qv=new WeakMap,Sx=({key:t,route:n,manifest:i,mapRouteProperties:s})=>{let o=i[n.id];if(Ve(o,"No route found in manifest"),!o.lazy||typeof o.lazy!="object")return;let u=o.lazy[t];if(!u)return;let d=Qv.get(o);d||(d={},Qv.set(o,d));let h=d[t];if(h)return h;let m=(async()=>{let p=SE(t),b=o[t]!==void 0&&t!=="hasErrorBoundary";if(p)Ct(!p,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),d[t]=Promise.resolve();else if(b)Ct(!1,`Route "${o.id}" has a static property "${t}" defined. The lazy property will be ignored.`);else{let x=await u();x!=null&&(Object.assign(o,{[t]:x}),Object.assign(o,s(o)))}typeof o.lazy=="object"&&(o.lazy[t]=void 0,Object.values(o.lazy).every(x=>x===void 0)&&(o.lazy=void 0))})();return d[t]=m,m},Iv=new WeakMap;function rA(t,n,i,s,o){let u=i[t.id];if(Ve(u,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let g=Iv.get(u);if(g)return{lazyRoutePromise:g,lazyHandlerPromise:g};let b=(async()=>{Ve(typeof t.lazy=="function","No lazy route function found");let x=await t.lazy(),w={};for(let T in x){let D=x[T];if(D===void 0)continue;let j=TE(T),V=u[T]!==void 0&&T!=="hasErrorBoundary";j?Ct(!j,"Route property "+T+" is not a supported property to be returned from a lazy route function. This property will be ignored."):V?Ct(!V,`Route "${u.id}" has a static property "${T}" defined but its lazy function is also returning a value for this property. The lazy route property "${T}" will be ignored.`):w[T]=D}Object.assign(u,w),Object.assign(u,{...s(u),lazy:void 0})})();return Iv.set(u,b),b.catch(()=>{}),{lazyRoutePromise:b,lazyHandlerPromise:b}}let d=Object.keys(t.lazy),h=[],m;for(let g of d){if(o&&o.includes(g))continue;let b=Sx({key:g,route:t,manifest:i,mapRouteProperties:s});b&&(h.push(b),g===n&&(m=b))}let p=h.length>0?Promise.all(h).then(()=>{}):void 0;return p==null||p.catch(()=>{}),m==null||m.catch(()=>{}),{lazyRoutePromise:p,lazyHandlerPromise:m}}async function $v(t){let n=t.matches.filter(o=>o.shouldLoad),i={};return(await Promise.all(n.map(o=>o.resolve()))).forEach((o,u)=>{i[n[u].route.id]=o}),i}async function sA(t){return t.matches.some(n=>n.route.middleware)?wx(t,()=>$v(t)):$v(t)}function wx(t,n){return lA(t,n,s=>{if(SA(s))throw s;return s},yA,i);function i(s,o,u){if(u)return Promise.resolve(Object.assign(u.value,{[o]:{type:"error",result:s}}));{let{matches:d}=t,h=Math.min(Math.max(d.findIndex(p=>p.route.id===o),0),Math.max(d.findIndex(p=>p.shouldCallHandler()),0)),m=Bi(d,d[h].route.id).route.id;return Promise.resolve({[m]:{type:"error",result:s}})}}}async function lA(t,n,i,s,o){let{matches:u,...d}=t,h=u.flatMap(p=>p.route.middleware?p.route.middleware.map(g=>[p.route.id,g]):[]);return await Tx(d,h,n,i,s,o)}async function Tx(t,n,i,s,o,u,d=0){let{request:h}=t;if(h.signal.aborted)throw h.signal.reason??new Error(`Request aborted: ${h.method} ${h.url}`);let m=n[d];if(!m)return await i();let[p,g]=m,b,x=async()=>{if(b)throw new Error("You may only call `next()` once per middleware");try{return b={value:await Tx(t,n,i,s,o,u,d+1)},b.value}catch(w){return b={value:await u(w,p,b)},b.value}};try{let w=await g(t,x),T=w!=null?s(w):void 0;return o(T)?T:b?T??b.value:(b={value:await x()},b.value)}catch(w){return await u(w,p,b)}}function Ex(t,n,i,s,o){let u=Sx({key:"middleware",route:s.route,manifest:n,mapRouteProperties:t}),d=rA(s.route,$t(i.method)?"action":"loader",n,t,o);return{middleware:u,route:d.lazyRoutePromise,handler:d.lazyHandlerPromise}}function bh(t,n,i,s,o,u,d,h,m,p=null,g){let b=!1,x=Ex(t,n,i,u,d);return{...u,_lazyPromises:x,shouldLoad:m,shouldRevalidateArgs:p,shouldCallHandler(w){return b=!0,p?typeof g=="boolean"?Yl(u,{...p,defaultShouldRevalidate:g}):typeof w=="boolean"?Yl(u,{...p,defaultShouldRevalidate:w}):Yl(u,p):m},resolve(w){let{lazy:T,loader:D,middleware:j}=u.route,O=b||m||w&&!$t(i.method)&&(T||D),V=j&&j.length>0&&!D&&!T;return O&&($t(i.method)||!V)?uA({request:i,path:s,pattern:o,match:u,lazyHandlerPromise:x==null?void 0:x.handler,lazyRoutePromise:x==null?void 0:x.route,handlerOverride:w,scopedContext:h}):Promise.resolve({type:"data",result:void 0})}}}function Es(t,n,i,s,o,u,d,h,m=null){return o.map(p=>p.route.id!==u.route.id?{...p,shouldLoad:!1,shouldRevalidateArgs:m,shouldCallHandler:()=>!1,_lazyPromises:Ex(t,n,i,p,d),resolve:()=>Promise.resolve({type:"data",result:void 0})}:bh(t,n,i,s,ro(o),p,d,h,!0,m))}async function oA(t,n,i,s,o,u,d){s.some(g=>{var b;return(b=g._lazyPromises)==null?void 0:b.middleware})&&await Promise.all(s.map(g=>{var b;return(b=g._lazyPromises)==null?void 0:b.middleware}));let h={request:n,url:Ax(n,i),pattern:ro(s),params:s[0].params,context:u,matches:s},p=await t({...h,fetcherKey:o,runClientMiddleware:g=>{let b=h;return wx(b,()=>g({...b,fetcherKey:o,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(s.flatMap(g=>{var b,x;return[(b=g._lazyPromises)==null?void 0:b.handler,(x=g._lazyPromises)==null?void 0:x.route]}))}catch{}return p}async function uA({request:t,path:n,pattern:i,match:s,lazyHandlerPromise:o,lazyRoutePromise:u,handlerOverride:d,scopedContext:h}){let m,p,g=$t(t.method),b=g?"action":"loader",x=w=>{let T,D=new Promise((V,U)=>T=U);p=()=>T(),t.signal.addEventListener("abort",p);let j=V=>typeof w!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${b}" [routeId: ${s.route.id}]`)):w({request:t,url:Ax(t,n),pattern:i,params:s.params,context:h},...V!==void 0?[V]:[]),O=(async()=>{try{return{type:"data",result:await(d?d(U=>j(U)):j())}}catch(V){return{type:"error",result:V}}})();return Promise.race([O,D])};try{let w=g?s.route.action:s.route.loader;if(o||u)if(w){let T,[D]=await Promise.all([x(w).catch(j=>{T=j}),o,u]);if(T!==void 0)throw T;m=D}else{await o;let T=g?s.route.action:s.route.loader;if(T)[m]=await Promise.all([x(T),u]);else if(b==="action"){let D=new URL(t.url),j=D.pathname+D.search;throw Kn(405,{method:t.method,pathname:j,routeId:s.route.id})}else return{type:"data",result:void 0}}else if(w)m=await x(w);else{let T=new URL(t.url),D=T.pathname+T.search;throw Kn(404,{pathname:D})}}catch(w){return{type:"error",result:w}}finally{p&&t.signal.removeEventListener("abort",p)}return m}async function cA(t){let n=t.headers.get("Content-Type");return n&&/\bapplication\/json\b/.test(n)?t.body==null?null:t.json():t.text()}async function dA(t){var s,o,u,d,h;let{result:n,type:i}=t;if(sm(n)){let m;try{m=await cA(n)}catch(p){return{type:"error",error:p}}return i==="error"?{type:"error",error:new io(n.status,n.statusText,m),statusCode:n.status,headers:n.headers}:{type:"data",data:m,statusCode:n.status,headers:n.headers}}return i==="error"?a0(n)?n.data instanceof Error?{type:"error",error:n.data,statusCode:(s=n.init)==null?void 0:s.status,headers:(o=n.init)!=null&&o.headers?new Headers(n.init.headers):void 0}:{type:"error",error:gA(n),statusCode:Il(n)?n.status:void 0,headers:(u=n.init)!=null&&u.headers?new Headers(n.init.headers):void 0}:{type:"error",error:n,statusCode:Il(n)?n.status:void 0}:a0(n)?{type:"data",data:n.data,statusCode:(d=n.init)==null?void 0:d.status,headers:(h=n.init)!=null&&h.headers?new Headers(n.init.headers):void 0}:{type:"data",data:n}}function fA(t,n,i,s,o){let u=t.headers.get("Location");if(Ve(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!nm(u)){let d=s.slice(0,s.findIndex(h=>h.route.id===i)+1);u=vh(new URL(n.url),d,o,u),t.headers.set("Location",u)}return t}var hA=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function xh(t){try{return hA.includes(new URL(t).protocol)}catch{return!1}}function Wv(t,n,i,s){if(nm(t)){let o=t,u=tm.test(o)?new URL(ax(o,n.protocol)):new URL(o);if(xh(u.toString()))throw new Error("Invalid redirect location");let d=An(u.pathname,i)!=null;if(u.origin===n.origin&&d)return im(u.pathname)+u.search+u.hash}try{let o=s.createURL(t);
36if(xh(o.toString()))throw new Error("Invalid redirect location")}catch{}return t}function ps(t,n,i,s){let o=t.createURL(Cx(n)).toString(),u={signal:i};if(s&&$t(s.formMethod)){let{formMethod:d,formEncType:h}=s;u.method=d.toUpperCase(),h==="application/json"?(u.headers=new Headers({"Content-Type":h}),u.body=JSON.stringify(s.json)):h==="text/plain"?u.body=s.text:h==="application/x-www-form-urlencoded"&&s.formData?u.body=Sh(s.formData):u.body=s.formData}return new Request(o,u)}function Ax(t,n){let i=new URL(t.url),s=typeof n=="string"?wa(n):n;if(i.pathname=s.pathname||"/",s.search){let o=new URLSearchParams(s.search),u=o.getAll("index");o.delete("index");for(let d of u.filter(Boolean))o.append("index",d);i.search=o.size?`?${o.toString()}`:""}else i.search="";return i.hash=s.hash||"",i}function Sh(t){let n=new URLSearchParams;for(let[i,s]of t.entries())n.append(i,typeof s=="string"?s:s.name);return n}function Jv(t){let n=new FormData;for(let[i,s]of t.entries())n.append(i,s);return n}function mA(t,n,i,s=!1,o=!1){let u={},d=null,h,m=!1,p={},g=i&&Tn(i[1])?i[1].error:void 0;return t.forEach(b=>{if(!(b.route.id in n))return;let x=b.route.id,w=n[x];if(Ve(!vr(w),"Cannot handle redirect results in processLoaderData"),Tn(w)){let T=w.error;if(g!==void 0&&(T=g,g=void 0),d=d||{},o)d[x]=T;else{let D=Bi(t,x);d[D.route.id]==null&&(d[D.route.id]=T)}s||(u[x]=vx),m||(m=!0,h=Il(w.error)?w.error.status:500),w.headers&&(p[x]=w.headers)}else u[x]=w.data,w.statusCode&&w.statusCode!==200&&!m&&(h=w.statusCode),w.headers&&(p[x]=w.headers)}),g!==void 0&&i&&(d={[i[0]]:g},i[2]&&(u[i[2]]=void 0)),{loaderData:u,errors:d,statusCode:h||200,loaderHeaders:p}}function e0(t,n,i,s,o,u,d){let{loaderData:h,errors:m}=mA(n,i,s);return o.filter(p=>!p.matches||p.matches.some(g=>g.shouldLoad)).forEach(p=>{let{key:g,match:b,controller:x}=p;if(x&&x.signal.aborted)return;let w=u[g];if(Ve(w,"Did not find corresponding fetcher result"),Tn(w)){let T=Bi(t.matches,b==null?void 0:b.route.id);m&&m[T.route.id]||(m={...m,[T.route.id]:w.error}),d.delete(g)}else if(vr(w))Ve(!1,"Unhandled fetcher revalidation redirect");else{let T=ma(w.data);d.set(g,T)}}),{loaderData:h,errors:m}}function t0(t,n,i,s){let o=Object.entries(n).filter(([,u])=>u!==vx).reduce((u,[d,h])=>(u[d]=h,u),{});for(let u of i){let d=u.route.id;if(!n.hasOwnProperty(d)&&t.hasOwnProperty(d)&&u.route.loader&&(o[d]=t[d]),s&&s.hasOwnProperty(d))break}return o}function n0(t){return t?Tn(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function Bi(t,n){return(n?t.slice(0,t.findIndex(s=>s.route.id===n)+1):[...t]).reverse().find(s=>s.route.hasErrorBoundary===!0)||t[0]}function _u(t){let n=t.length===1?t[0]:t.find(i=>i.index||!i.path||i.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:n}],route:n}}function Kn(t,{pathname:n,routeId:i,method:s,type:o,message:u}={}){let d="Unknown Server Error",h="Unknown @remix-run/router error";return t===400?(d="Bad Request",s&&n&&i?h=`You made a ${s} request to "${n}" but did not provide a \`loader\` for route "${i}", so there is no way to handle the request.`:o==="invalid-body"&&(h="Unable to encode submission body")):t===403?(d="Forbidden",h=`Route "${i}" does not match URL "${n}"`):t===404?(d="Not Found",h=`No route matches URL "${n}"`):t===405&&(d="Method Not Allowed",s&&n&&i?h=`You made a ${s.toUpperCase()} request to "${n}" but did not provide an \`action\` for route "${i}", so there is no way to handle the request.`:s&&(h=`Invalid request method "${s.toUpperCase()}"`)),new io(t||500,d,new Error(h),!0)}function Du(t){let n=Object.entries(t);for(let i=n.length-1;i>=0;i--){let[s,o]=n[i];if(vr(o))return{key:s,result:o}}}function Cx(t){let n=typeof t=="string"?wa(t):t;return xa({...n,hash:""})}function pA(t,n){return t.pathname!==n.pathname||t.search!==n.search?!1:t.hash===""?n.hash!=="":t.hash===n.hash?!0:n.hash!==""}function gA(t){var n,i;return new io(((n=t.init)==null?void 0:n.status)??500,((i=t.init)==null?void 0:i.statusText)??"Internal Server Error",t.data)}function yA(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([n,i])=>typeof n=="string"&&vA(i))}function vA(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function bA(t){return sm(t.result)&&gx.has(t.result.status)}function Tn(t){return t.type==="error"}function vr(t){return(t&&t.type)==="redirect"}function a0(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function sm(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function xA(t){return gx.has(t)}function SA(t){return sm(t)&&xA(t.status)&&t.headers.has("Location")}function wA(t){return IE.has(t.toUpperCase())}function $t(t){return GE.has(t.toUpperCase())}function lm(t){return new URLSearchParams(t).getAll("index").some(n=>n==="")}function Hu(t,n){let i=typeof n=="string"?wa(n).search:n.search;if(t[t.length-1].route.index&&lm(i||""))return t[t.length-1];let s=dx(t);return s[s.length-1]}function i0(t){let{formMethod:n,formAction:i,formEncType:s,text:o,formData:u,json:d}=t;
36if(!(!n||!i||!s)){if(o!=null)return{formMethod:n,formAction:i,formEncType:s,formData:void 0,json:void 0,text:o};if(u!=null)return{formMethod:n,formAction:i,formEncType:s,formData:u,json:void 0,text:void 0};if(d!==void 0)return{formMethod:n,formAction:i,formEncType:s,formData:void 0,json:d,text:void 0}}}function Zf(t,n,i,s){return s?{state:"loading",location:t,matches:n,historyAction:i,formMethod:s.formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}:{state:"loading",location:t,matches:n,historyAction:i,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function TA(t,n,i,s){return{state:"submitting",location:t,matches:n,historyAction:i,formMethod:s.formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}}function Ol(t,n){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:n}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:n}}function EA(t,n){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:n?n.data:void 0}}function ma(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function AA(t,n){try{let i=t.sessionStorage.getItem(yx);if(i){let s=JSON.parse(i);for(let[o,u]of Object.entries(s||{}))u&&Array.isArray(u)&&n.set(o,new Set(u||[]))}}catch{}}function CA(t,n){if(n.size>0){let i={};for(let[s,o]of n)i[s]=[...o];try{t.sessionStorage.setItem(yx,JSON.stringify(i))}catch(s){Ct(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function r0(){let t,n,i=new Promise((s,o)=>{t=async u=>{s(u);try{await i}catch{}},n=async u=>{o(u);try{await i}catch{}}});return{promise:i,resolve:t,reject:n}}var Er=E.createContext(null);Er.displayName="DataRouter";var Os=E.createContext(null);Os.displayName="DataRouterState";var jx=E.createContext(!1);function Mx(){return E.useContext(jx)}var om=E.createContext({isTransitioning:!1});om.displayName="ViewTransition";var Rx=E.createContext(new Map);Rx.displayName="Fetchers";var jA=E.createContext(null);jA.displayName="Await";var hn=E.createContext(null);hn.displayName="Navigation";var gc=E.createContext(null);gc.displayName="Location";var Ta=E.createContext({outlet:null,matches:[],isDataRoute:!1});Ta.displayName="Route";var um=E.createContext(null);um.displayName="RouteError";var _x="REACT_ROUTER_ERROR",MA="REDIRECT",RA="ROUTE_ERROR_RESPONSE";function _A(t){if(t.startsWith(`${_x}:${MA}:{`))try{let n=JSON.parse(t.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function DA(t){if(t.startsWith(`${_x}:${RA}:{`))try{let n=JSON.parse(t.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new io(n.status,n.statusText,n.data)}catch{}}function NA(t,{relative:n}={}){Ve(so(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:s}=E.useContext(hn),{hash:o,pathname:u,search:d}=lo(t,{relative:n}),h=u;return i!=="/"&&(h=u==="/"?i:Xn([i,u])),s.createHref({pathname:h,search:d,hash:o})}function so(){return E.useContext(gc)!=null}function jn(){return Ve(so(),"useLocation() may be used only in the context of a <Router> component."),E.useContext(gc).location}var Dx="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Nx(t){E.useContext(hn).static||E.useLayoutEffect(t)}function OA(){let{isDataRoute:t}=E.useContext(Ta);return t?GA():zA()}function zA(){Ve(so(),"useNavigate() may be used only in the context of a <Router> component.");let t=E.useContext(Er),{basename:n,navigator:i}=E.useContext(hn),{matches:s}=E.useContext(Ta),{pathname:o}=jn(),u=JSON.stringify(am(s)),d=E.useRef(!1);return Nx(()=>{d.current=!0}),E.useCallback((m,p={})=>
36{if(Ct(d.current,Dx),!d.current)return;if(typeof m=="number"){i.go(m);return}let g=pc(m,JSON.parse(u),o,p.relative==="path");t==null&&n!=="/"&&(g.pathname=g.pathname==="/"?n:Xn([n,g.pathname])),(p.replace?i.replace:i.push)(g,p.state,p)},[n,i,u,o,t])}var kA=E.createContext(null);function LA(t){let n=E.useContext(Ta).outlet;return E.useMemo(()=>n&&E.createElement(kA.Provider,{value:t},n),[n,t])}function lo(t,{relative:n}={}){let{matches:i}=E.useContext(Ta),{pathname:s}=jn(),o=JSON.stringify(am(i));return E.useMemo(()=>pc(t,JSON.parse(o),s,n==="path"),[t,o,s,n])}function VA(t,n,i){Ve(so(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=E.useContext(hn),{matches:o}=E.useContext(Ta),u=o[o.length-1],d=u?u.params:{},h=u?u.pathname:"/",m=u?u.pathnameBase:"/",p=u&&u.route;{let j=p&&p.path||"";kx(h,!p||j.endsWith("*")||j.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${j}">) 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="${j}"> to <Route path="${j==="/"?"*":`${j}/*`}">.`)}let g=jn(),b;b=g;let x=b.pathname||"/",w=x;if(m!=="/"){let j=m.replace(/^\//,"").split("/");w="/"+x.replace(/^\//,"").split("/").slice(j.length).join("/")}let T=i&&i.state.matches.length?i.state.matches.map(j=>Object.assign(j,{route:i.manifest[j.route.id]||j.route})):rx(t,{pathname:w});return Ct(p||T!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),Ct(T==null||T[T.length-1].route.element!==void 0||T[T.length-1].route.Component!==void 0||T[T.length-1].route.lazy!==void 0,`Matched leaf route at location "${b.pathname}${b.search}${b.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.`),YA(T&&T.map(j=>Object.assign({},j,{params:Object.assign({},d,j.params),pathname:Xn([m,s.encodeLocation?s.encodeLocation(j.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?m:Xn([m,s.encodeLocation?s.encodeLocation(j.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathnameBase])})),o,i)}function BA(){let t=FA(),n=Il(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),i=t instanceof Error?t.stack:null,s="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:s},u={padding:"2px 4px",backgroundColor:s},d=null;return console.error("Error handled by React Router default ErrorBoundary:",t),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:u},"ErrorBoundary")," or"," ",E.createElement("code",{style:u},"errorElement")," prop on your route.")),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},n),i?E.createElement("pre",{style:o},i):null,d)}var UA=E.createElement(BA,null),Ox=class extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){this.props.onError?this.props.onError(t,n):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const i=DA(t.digest);i&&(t=i)}let n=t!==void 0?E.createElement(Ta.Provider,{value:this.props.routeContext},E.createElement(um.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?E.createElement(HA,{error:t},n):n}};Ox.contextType=jx;var Ff=new WeakMap;function HA({children:t,error:n}){let{basename:i}=E.useContext(hn);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let s=_A(n.digest);if(s){let o=Ff.get(n);if(o)throw o;let u=hx(s.location,i),d=u.absoluteURL||u.to;if(xh(d))throw new Error("Invalid redirect location");if(fx&&!Ff.get(n))if(u.isExternal||s.reloadDocument)window.location.href=d;else{const h=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:s.replace}));throw Ff.set(n,h),h}return E.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d}`})}}return t}function KA({routeContext:t,match:n,children:i}){let s=E.useContext(Er);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(Ta.Provider,{value:t},i)}function YA(t,n=[],i){let s=i==null?void 0:i.state;if(t==null){if(!s)return null;if(s.errors)t=s.matches;else if(n.length===0&&!s.initialized&&s.matches.length>0)t=s.matches;else return null}let o=t,u=s==null?void 0:s.errors;if(u!=null){let g=o.findIndex(b=>b.route.id&&(u==null?void 0:u[b.route.id])!==void 0);Ve(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),o=o.slice(0,Math.min(o.length,g+1))}let d=!1,h=-1;if(i&&s){d=s.renderFallback;for(let g=0;g<o.length;g++){let b=o[g];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(h=g),b.route.id){let{loaderData:x,errors:w}
38=s,T=b.route.loader&&!x.hasOwnProperty(b.route.id)&&(!w||w[b.route.id]===void 0);if(b.route.lazy||T){i.isStatic&&(d=!0),h>=0?o=o.slice(0,h+1):o=[o[0]];break}}}}let m=i==null?void 0:i.onError,p=s&&m?(g,b)=>{var x,w;m(g,{location:s.location,params:((w=(x=s.matches)==null?void 0:x[0])==null?void 0:w.params)??{},pattern:ro(s.matches),errorInfo:b})}:void 0;return o.reduceRight((g,b,x)=>{let w,T=!1,D=null,j=null;s&&(w=u&&b.route.id?u[b.route.id]:void 0,D=b.route.errorElement||UA,d&&(h<0&&x===0?(kx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,j=null):h===x&&(T=!0,j=b.route.hydrateFallbackElement||null)));let O=n.concat(o.slice(0,x+1)),V=()=>{let U;return w?U=D:T?U=j:b.route.Component?U=E.createElement(b.route.Component,null):b.route.element?U=b.route.element:U=g,E.createElement(KA,{match:b,routeContext:{outlet:g,matches:O,isDataRoute:s!=null},children:U})};return s&&(b.route.ErrorBoundary||b.route.errorElement||x===0)?E.createElement(Ox,{location:s.location,revalidation:s.revalidation,component:D,error:w,children:V(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:p}):V()},null)}function cm(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function XA(t){let n=E.useContext(Er);return Ve(n,cm(t)),n}function dm(t){let n=E.useContext(Os);return Ve(n,cm(t)),n}function PA(t){let n=E.useContext(Ta);return Ve(n,cm(t)),n}function fm(t){let n=PA(t),i=n.matches[n.matches.length-1];return Ve(i.route.id,`${t} can only be used on routes that contain a unique "id"`),i.route.id}function qA(){return fm("useRouteId")}function ZA(){let t=dm("useNavigation");return E.useMemo(()=>{let{matches:n,historyAction:i,...s}=t.navigation;return s},[t.navigation])}function zx(){let{matches:t,loaderData:n}=dm("useMatches");return E.useMemo(()=>t.map(i=>sx(i,n)),[t,n])}function FA(){var s;let t=E.useContext(um),n=dm("useRouteError"),i=fm("useRouteError");return t!==void 0?t:(s=n.errors)==null?void 0:s[i]}function GA(){let{router:t}=XA("useNavigate"),n=fm("useNavigate"),i=E.useRef(!1);return Nx(()=>{i.current=!0}),E.useCallback(async(o,u={})=>{Ct(i.current,Dx),i.current&&(typeof o=="number"?await t.navigate(o):await t.navigate(o,{fromRouteId:n,...u}))},[t,n])}var s0={};function kx(t,n,i){!n&&!s0[t]&&(s0[t]=!0,Ct(!1,i))}var l0={};function o0(t,n){!t&&!l0[n]&&(l0[n]=!0,console.warn(n))}var QA="useOptimistic",u0=YT[QA],IA=()=>{};function $A(t){return u0?u0(t):[t,IA]}function WA(t){let n={hasErrorBoundary:t.hasErrorBoundary||t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&(t.element&&Ct(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(n,{element:E.createElement(t.Component),Component:void 0})),t.HydrateFallback&&(t.hydrateFallbackElement&&Ct(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(n,{hydrateFallbackElement:E.createElement(t.HydrateFallback),HydrateFallback:void 0})),t.ErrorBoundary&&(t.errorElement&&Ct(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(n,{errorElement:E.createElement(t.ErrorBoundary),ErrorBoundary:void 0})),n}var JA=["HydrateFallback","hydrateFallbackElement"],eC=class{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=i=>{this.status==="pending"&&(this.status="resolved",t(i))},this.reject=i=>{this.status==="pending"&&(this.status="rejected",n(i))}})}};function tC({router:t,flushSync:n,onError:i,useTransitions:s}){s=Mx()||s;let[u,d]=E.useState(t.state),[h,m]=$A(u),[p,g]=E.useState(),[b,x]=E.useState({isTransitioning:!1}),[w,T]=E.useState(),[D,j]=E.useState(),[O,V]=E.useState(),U=E.useRef(new Map),F=E.useCallback((M,{deletedFetchers:ce,newErrors:$,flushSync:Se,viewTransitionOpts:ee})=>{$&&i&&Object.values($).forEach(Ae=>{var je;return i(Ae,{location:M.location,params:((je=M.matches[0])==null?void 0:je.params)??{},pattern:ro(M.matches)})}
38),M.fetchers.forEach((Ae,je)=>{Ae.data!==void 0&&U.current.set(je,Ae.data)}),ce.forEach(Ae=>U.current.delete(Ae)),o0(Se===!1||n!=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 qe=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(o0(ee==null||qe,"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||!qe){n&&Se?n(()=>d(M)):s===!1?d(M):E.startTransition(()=>{s===!0&&m(Ae=>c0(Ae,M)),d(M)});return}if(n&&Se){n(()=>{D&&(w==null||w.resolve(),D.skipTransition()),x({isTransitioning:!0,flushSync:!0,currentLocation:ee.currentLocation,nextLocation:ee.nextLocation})});let Ae=t.window.document.startViewTransition(()=>{n(()=>d(M))});Ae.finished.finally(()=>{n(()=>{T(void 0),j(void 0),g(void 0),x({isTransitioning:!1})})}),n(()=>j(Ae));return}D?(w==null||w.resolve(),D.skipTransition(),V({state:M,currentLocation:ee.currentLocation,nextLocation:ee.nextLocation})):(g(M),x({isTransitioning:!0,flushSync:!1,currentLocation:ee.currentLocation,nextLocation:ee.nextLocation}))},[t.window,n,D,w,s,m,i]);E.useLayoutEffect(()=>t.subscribe(F),[t,F]),E.useEffect(()=>{b.isTransitioning&&!b.flushSync&&T(new eC)},[b]),E.useEffect(()=>{if(w&&p&&t.window){let M=p,ce=w.promise,$=t.window.document.startViewTransition(async()=>{s===!1?d(M):E.startTransition(()=>{s===!0&&m(Se=>c0(Se,M)),d(M)}),await ce});$.finished.finally(()=>{T(void 0),j(void 0),g(void 0),x({isTransitioning:!1})}),j($)}},[p,w,t.window,s,m]),E.useEffect(()=>{w&&p&&h.location.key===p.location.key&&w.resolve()},[w,D,h.location,p]),E.useEffect(()=>{!b.isTransitioning&&O&&(g(O.state),x({isTransitioning:!0,flushSync:!1,currentLocation:O.currentLocation,nextLocation:O.nextLocation}),V(void 0))},[b.isTransitioning,O]);let Q=E.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:M=>t.navigate(M),push:(M,ce,$)=>t.navigate(M,{state:ce,preventScrollReset:$==null?void 0:$.preventScrollReset}),replace:(M,ce,$)=>t.navigate(M,{replace:!0,state:ce,preventScrollReset:$==null?void 0:$.preventScrollReset})}),[t]),K=t.basename||"/",pe=E.useMemo(()=>({router:t,navigator:Q,static:!1,basename:K,onError:i}),[t,Q,K,i]);return E.createElement(E.Fragment,null,E.createElement(Er.Provider,{value:pe},E.createElement(Os.Provider,{value:h},E.createElement(Rx.Provider,{value:U.current},E.createElement(om.Provider,{value:b},E.createElement(rC,{basename:K,location:h.location,navigationType:h.historyAction,navigator:Q,useTransitions:s},E.createElement(nC,{routes:t.routes,manifest:t.manifest,future:t.future,state:h,isStatic:!1,onError:i})))))),null)}function c0(t,n){return{...t,navigation:n.navigation.state!=="idle"?n.navigation:t.navigation,revalidation:n.revalidation!=="idle"?n.revalidation:t.revalidation,actionData:n.navigation.state!=="submitting"?n.actionData:t.actionData,fetchers:n.fetchers}}var nC=E.memo(aC);function aC({routes:t,manifest:n,future:i,state:s,isStatic:o,onError:u}){return VA(t,void 0,{manifest:n,state:s,isStatic:o,onError:u})}function iC(t){return LA(t.context)}function rC({basename:t="/",children:n=null,location:i,navigationType:s="POP",navigator:o,static:u=!1,useTransitions:d}){Ve(!so(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=t.replace(/^\/*/,"/"),m=E.useMemo(()=>({basename:h,navigator:o,static:u,useTransitions:d,future:{}}),[h,o,u,d]);typeof i=="string"&&(i=wa(i));let{pathname:p="/",search:g="",hash:b="",state:x=null,key:w="default",mask:T}=i,D=E.useMemo(()=>{let j=An(p,h);return j==null?null:{location:{pathname:j,search:g,hash:b,state:x,key:w,mask:T},navigationType:s}},[h,p,g,b,x,w,s,T]);return Ct(D!=null,`<Router basename="${h}"> is not able to match the URL "${p}${g}${b}
38" because it does not start with the basename, so the <Router> won't render anything.`),D==null?null:E.createElement(hn.Provider,{value:m},E.createElement(gc.Provider,{children:n,value:D}))}var Ku="get",Yu="application/x-www-form-urlencoded";function yc(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function sC(t){return yc(t)&&t.tagName.toLowerCase()==="button"}function lC(t){return yc(t)&&t.tagName.toLowerCase()==="form"}function oC(t){return yc(t)&&t.tagName.toLowerCase()==="input"}function uC(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function cC(t,n){return t.button===0&&(!n||n==="_self")&&!uC(t)}var Nu=null;function dC(){if(Nu===null)try{new FormData(document.createElement("form"),0),Nu=!1}catch{Nu=!0}return Nu}var fC=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Gf(t){return t!=null&&!fC.has(t)?(Ct(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Yu}"`),null):t}function hC(t,n){let i,s,o,u,d;if(lC(t)){let h=t.getAttribute("action");s=h?An(h,n):null,i=t.getAttribute("method")||Ku,o=Gf(t.getAttribute("enctype"))||Yu,u=new FormData(t)}else if(sC(t)||oC(t)&&(t.type==="submit"||t.type==="image")){let h=t.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=t.getAttribute("formaction")||h.getAttribute("action");if(s=m?An(m,n):null,i=t.getAttribute("formmethod")||h.getAttribute("method")||Ku,o=Gf(t.getAttribute("formenctype"))||Gf(h.getAttribute("enctype"))||Yu,u=new FormData(h,t),!dC()){let{name:p,type:g,value:b}=t;if(g==="image"){let x=p?`${p}.`:"";u.append(`${x}x`,"0"),u.append(`${x}y`,"0")}else p&&u.append(p,b)}}else{if(yc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Ku,s=null,o=Yu,d=t}return u&&o==="text/plain"&&(d=u,u=void 0),{action:s,method:i.toLowerCase(),encType:o,formData:u,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var mC={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},pC=/[&><\u2028\u2029]/g;function d0(t){return t.replace(pC,n=>mC[n])}function hm(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function Lx(t,n,i,s){let o=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return i?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${s}`:o.pathname=`${o.pathname}.${s}`:o.pathname==="/"?o.pathname=`_root.${s}`:n&&An(o.pathname,n)==="/"?o.pathname=`${Ju(n)}/_root.${s}`:o.pathname=`${Ju(o.pathname)}.${s}`,o}async function gC(t,n){if(t.id in n)return n[t.id];try{let i=await import(t.module);return n[t.id]=i,i}catch(i){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function yC(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function vC(t,n,i){let s=await Promise.all(t.map(async o=>{let u=n.routes[o.route.id];if(u){let d=await gC(u,i);return d.links?d.links():[]}return[]}));return wC(s.flat(1).filter(yC).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function f0(t,n,i,s,o,u){let d=(m,p)=>i[p]?m.route.id!==i[p].route.id:!0,h=(m,p)=>{var g;return i[p].pathname!==m.pathname||((g=i[p].route.path)==null?void 0:g.endsWith("*"))&&i[p].params["*"]!==m.params["*"]};return u==="assets"?n.filter((m,p)=>d(m,p)||h(m,p)):u==="data"?n.filter((m,p)=>{var b;let g=s.routes[m.route.id];if(!g||!g.hasLoader)return!1;if(d(m,p)||h(m,p))return!0;if(m.route.shouldRevalidate){let x=m.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((b=i[0])==null?void 0:b.params)||{},nextUrl:new URL(t,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function bC(t,n,{includeHydrateFallback:i}={}){return xC(t.map(s=>{let o=n.routes[s.route.id];if(!o)return[];let u=[o.module];return o.clientActionModule&&(u=u.concat(o.clientActionModule)),o.clientLoaderModule&&(u=u.concat(o.clientLoaderModule)),i&&o.hydrateFallbackModule&&(u=u.concat(o.hydrateFallbackModule)),o.imports&&(u=u.concat(o.imports)),u}).flat(1))}function xC(t){return[...new Set(t)]}function SC(t){let n={},i=Object.keys(t).sort();for(let s of i)n[s]=t[s];return n}function wC(t,n){let i=new Set;return new Set(n),t.reduce((s,o)=>{let u=JSON.stringify(SC(o));return i.has(u)||(i.add(u),s.push({key:u,link:o})),s},[])}function mm(){let t=E.useContext(Er);return hm(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function TC(){let t=E.useContext(Os);return hm(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var vc=E.createContext(void 0);vc.displayName="FrameworkContext";function bc(){let t=E.useContext(vc);return hm(t,"You must render this element inside a <HydratedRouter> element"),t}function EC(t,n){let i=E.useContext(vc),[s,o]=E.useState(!1),[u,d]=E.useState(!1),{onFocus:h,onBlur:m,onMouseEnter:p,onMouseLeave:g,onTouchStart:b}=n,x=E.useRef(null);E.useEffect(()=>{if(t==="render"&&d(!0),t==="viewport"){let D=O=>{O.forEach(V=>{d(V.isIntersecting)})},j=new IntersectionObserver(D,{threshold:.5});return x.current&&j.observe(x.current),()=>{j.disconnect()}}},[t]),E.useEffect(()=>{if(s){let D=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(D)}}},[s]);let w=()=>{o(!0)},T=()=>{o(!1),d(!1)};return i?t!=="intent"?[u,x,{}]:[u,x,{onFocus:zl(h,w),onBlur:zl(m,T),onMouseEnter:zl(p,w),onMouseLeave:zl(g,T),onTouchStart:zl(b,w)}]:[!1,x,{}]}function zl(t,n){return i=>{t&&t(i),i.defaultPrevented||n(i)}}function AC({page:t,...n}){let i=Mx(),{nonce:s}=bc(),{router:o}=mm(),u=E.useMemo(()=>rx(o.routes,t,o.basename),[o.routes,t,o.basename]);return u?(n.nonce==null&&s&&(n={...n,nonce:s}),i?E.createElement(jC,{page:t,matches:u,...n}):E.createElement(MC,{page:t,matches:u,...n})):null}function CC(t){let{manifest:n,routeModules:i}=bc(),[s,o]=E.useState([]);return E.useEffect(()=>{let u=!1;return vC(t,n,i).then(d=>{u||o(d)}),()=>{u=!0}},[t,n,i]),s}function jC({page:t,matches:n,...i}){let s=jn(),{future:o}=bc(),{basename:u}=mm(),d=E.useMemo(()=>
38{if(t===s.pathname+s.search+s.hash)return[];let h=Lx(t,u,o.v8_trailingSlashAwareDataRequests,"rsc"),m=!1,p=[];for(let g of n)typeof g.route.shouldRevalidate=="function"?m=!0:p.push(g.route.id);return m&&p.length>0&&h.searchParams.set("_routes",p.join(",")),[h.pathname+h.search]},[u,o.v8_trailingSlashAwareDataRequests,t,s,n]);return E.createElement(E.Fragment,null,d.map(h=>E.createElement("link",{key:h,rel:"prefetch",as:"fetch",href:h,...i})))}function MC({page:t,matches:n,...i}){let s=jn(),{future:o,manifest:u,routeModules:d}=bc(),{basename:h}=mm(),{loaderData:m,matches:p}=TC(),g=E.useMemo(()=>f0(t,n,p,u,s,"data"),[t,n,p,u,s]),b=E.useMemo(()=>f0(t,n,p,u,s,"assets"),[t,n,p,u,s]),x=E.useMemo(()=>{if(t===s.pathname+s.search+s.hash)return[];let D=new Set,j=!1;if(n.forEach(V=>{var F;let U=u.routes[V.route.id];!U||!U.hasLoader||(!g.some(Q=>Q.route.id===V.route.id)&&V.route.id in m&&((F=d[V.route.id])!=null&&F.shouldRevalidate)||U.hasClientLoader?j=!0:D.add(V.route.id))}),D.size===0)return[];let O=Lx(t,h,o.v8_trailingSlashAwareDataRequests,"data");return j&&D.size>0&&O.searchParams.set("_routes",n.filter(V=>D.has(V.route.id)).map(V=>V.route.id).join(",")),[O.pathname+O.search]},[h,o.v8_trailingSlashAwareDataRequests,m,s,u,g,n,t,d]),w=E.useMemo(()=>bC(b,u),[b,u]),T=CC(b);return E.createElement(E.Fragment,null,x.map(D=>E.createElement("link",{key:D,rel:"prefetch",as:"fetch",href:D,...i})),w.map(D=>E.createElement("link",{key:D,rel:"modulepreload",href:D,...i})),T.map(({key:D,link:j})=>E.createElement("link",{key:D,nonce:i.nonce,...j,crossOrigin:j.crossOrigin??i.crossOrigin})))}function RC(...t){return n=>{t.forEach(i=>{typeof i=="function"?i(n):i!=null&&(i.current=n)})}}var _C=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{_C&&(window.__reactRouterVersion="7.18.0")}catch{}function DC(t,n){return tA({basename:n==null?void 0:n.basename,getContext:n==null?void 0:n.getContext,future:n==null?void 0:n.future,history:yE({window:n==null?void 0:n.window}),hydrationData:NC(),routes:t,mapRouteProperties:WA,hydrationRouteProperties:JA,dataStrategy:n==null?void 0:n.dataStrategy,patchRoutesOnNavigation:n==null?void 0:n.patchRoutesOnNavigation,window:n==null?void 0:n.window,instrumentations:n==null?void 0:n.instrumentations}).initialize()}function NC(){let t=window==null?void 0:window.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:OC(t.errors)}),t}function OC(t){if(!t)return null;let n=Object.entries(t),i={};for(let[s,o]of n)if(o&&o.__type==="RouteErrorResponse")i[s]=new io(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(typeof o.__subType=="string"&&KE.includes(o.__subType)){let u=window[o.__subType];if(typeof u=="function")try{let d=new u(o.message);d.stack="",i[s]=d}catch{}}if(i[s]==null){let u=new Error(o.message);u.stack="",i[s]=u}}else i[s]=o;return i}var ya=E.forwardRef(function({onClick:n,discover:i="render",prefetch:s="none",relative:o,reloadDocument:u,replace:d,mask:h,state:m,target:p,to:g,preventScrollReset:b,viewTransition:x,defaultShouldRevalidate:w,...T},D){let{basename:j,navigator:O,useTransitions:V}=E.useContext(hn),U=typeof g=="string"&&mc.test(g),F=hx(g,j);g=F.to;let Q=NA(g,{relative:o}),K=jn(),pe=null;if(h){let je=pc(h,[],K.mask?K.mask.pathname:"/",!0);j!=="/"&&(je.pathname=je.pathname==="/"?j:Xn([j,je.pathname])),pe=O.createHref(je)}let[M,ce,$]=EC(s,T),Se=VC(g,{replace:d,mask:h,state:m,target:p,preventScrollReset:b,relative:o,viewTransition:x,defaultShouldRevalidate:w,useTransitions:V});function ee(je){n&&n(je),je.defaultPrevented||Se(je)}let qe=!(F.isExternal||u),Ae=E.createElement("a",{...T,...$,href:(qe?pe:void 0)||F.absoluteURL||Q,onClick:qe?ee:n,ref:RC(D,ce),target:p,"data-discover":!U&&i==="render"?"true":void 0});return M&&!U?E.createElement(E.Fragment,null,Ae,E.createElement(AC,{page:Q})):Ae});ya.displayName="Link";var zC=E.forwardRef(function({"aria-current":n="page",caseSensitive:i=!1,className:s="",end:o=!1,style:u,to:d,viewTransition:h,children:m,...p},g){let b=lo(d,{relative:p.relative}),x=jn(),w=E.useContext(Os),{navigator:T,basename:D}=E.useContext(hn),j=w!=null&&PC(b)&&h===!0,O=T.encodeLocation?T.encodeLocation(b).pathname:b.pathname,V=x.pathname,U=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;i||(V=V.toLowerCase(),U=U?U.toLowerCase():null,O=O.toLowerCase()),U&&D&&(U=An(U,D)||U);const F=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let Q=V===O||!o&&V.startsWith(O)&&V.charAt(F)==="/",K=U!=null&&(U===O||!o&&U.startsWith(O)&&U.charAt(O.length)==="/"),pe={isActive:Q,isPending:K,isTransitioning:j},M=Q?n:void 0,ce;typeof s=="function"?ce=s(pe):ce=[s,Q?"active":null,K?"pending":null,j?"transitioning":null].filter(
38Boolean).join(" ");let $=typeof u=="function"?u(pe):u;return E.createElement(ya,{...p,"aria-current":M,className:ce,ref:g,style:$,to:d,viewTransition:h},typeof m=="function"?m(pe):m)});zC.displayName="NavLink";var kC=E.forwardRef(({discover:t="render",fetcherKey:n,navigate:i,reloadDocument:s,replace:o,state:u,method:d=Ku,action:h,onSubmit:m,relative:p,preventScrollReset:g,viewTransition:b,defaultShouldRevalidate:x,...w},T)=>{let{useTransitions:D}=E.useContext(hn),j=HC(),O=KC(h,{relative:p}),V=d.toLowerCase()==="get"?"get":"post",U=typeof h=="string"&&mc.test(h),F=Q=>{if(m&&m(Q),Q.defaultPrevented)return;Q.preventDefault();let K=Q.nativeEvent.submitter,pe=(K==null?void 0:K.getAttribute("formmethod"))||d,M=()=>j(K||Q.currentTarget,{fetcherKey:n,method:pe,navigate:i,replace:o,state:u,relative:p,preventScrollReset:g,viewTransition:b,defaultShouldRevalidate:x});D&&i!==!1?E.startTransition(()=>M()):M()};return E.createElement("form",{ref:T,method:V,action:O,onSubmit:s?m:F,...w,"data-discover":!U&&t==="render"?"true":void 0})});kC.displayName="Form";function Vx({getKey:t,storageKey:n,...i}){let s=E.useContext(vc),{basename:o}=E.useContext(hn),u=jn(),d=zx();YC({getKey:t,storageKey:n});let h=E.useMemo(()=>{if(!s||!t)return null;let p=Th(u,d,o,t);return p!==u.key?p:null},[]);if(!s||s.isSpaMode)return null;let m=((p,g)=>{if(!window.history.state||!window.history.state.key){let b=Math.random().toString(32).slice(2);window.history.replaceState({key:b},"")}try{let x=JSON.parse(sessionStorage.getItem(p)||"{}")[g||window.history.state.key];typeof x=="number"&&window.scrollTo(0,x)}catch(b){console.error(b),sessionStorage.removeItem(p)}}).toString();return i.nonce==null&&(s!=null&&s.nonce)&&(i.nonce=s.nonce),E.createElement("script",{...i,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${m})(${d0(JSON.stringify(n||wh))}, ${d0(JSON.stringify(h))})`}})}Vx.displayName="ScrollRestoration";function Bx(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function pm(t){let n=E.useContext(Er);return Ve(n,Bx(t)),n}function LC(t){let n=E.useContext(Os);return Ve(n,Bx(t)),n}function VC(t,{target:n,replace:i,mask:s,state:o,preventScrollReset:u,relative:d,viewTransition:h,defaultShouldRevalidate:m,useTransitions:p}={}){let g=OA(),b=jn(),x=lo(t,{relative:d});return E.useCallback(w=>{if(cC(w,n)){w.preventDefault();let T=i!==void 0?i:xa(b)===xa(x),D=()=>g(t,{replace:T,mask:s,state:o,preventScrollReset:u,relative:d,viewTransition:h,defaultShouldRevalidate:m});p?E.startTransition(()=>D()):D()}},[b,g,x,i,s,o,n,t,u,d,h,m,p])}var BC=0,UC=()=>`__${String(++BC)}__`;function HC(){let{router:t}=pm("useSubmit"),{basename:n}=E.useContext(hn),i=qA(),s=t.fetch,o=t.navigate;return E.useCallback(async(u,d={})=>{let{action:h,method:m,encType:p,formData:g,body:b}=hC(u,n);if(d.navigate===!1){let x=d.fetcherKey||UC();await s(x,i,d.action||h,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:g,body:b,formMethod:d.method||m,formEncType:d.encType||p,flushSync:d.flushSync})}else await o(d.action||h,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:g,body:b,formMethod:d.method||m,formEncType:d.encType||p,replace:d.replace,state:d.state,fromRouteId:i,flushSync:d.flushSync,viewTransition:d.viewTransition})},[s,o,n,i])}function KC(t,{relative:n}={}){let{basename:i}=E.useContext(hn),s=E.useContext(Ta);Ve(s,"useFormAction must be used inside a RouteContext");let[o]=s.matches.slice(-1),u={...lo(t||".",{relative:n})},d=jn();if(t==null){u.search=d.search;let h=new URLSearchParams(u.search),m=h.getAll("index");if(m.some(g=>g==="")){h.delete("index"),m.filter(b=>b).forEach(b=>h.append("index",b));let g=h.toString();u.search=g?`?${g}`:""}}return(!t||t===".")&&o.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(u.pathname=u.pathname==="/"?i:Xn([i,u.pathname])),xa(u)}var wh="react-router-scroll-positions",Ou={};function Th(t,n,i,s){let o=null;return s&&(i!=="/"?o=s({...t,pathname:An(t.pathname,i)||t.pathname},n):o=s(t,n)),o==null&&(o=t.key),o}function YC({getKey:t,storageKey:n}={}){let{router:i}=pm("useScrollRestoration"),{restoreScrollPosition:s,preventScrollReset:o}
38=LC("useScrollRestoration"),{basename:u}=E.useContext(hn),d=jn(),h=zx(),m=ZA();E.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),XC(E.useCallback(()=>{if(m.state==="idle"){let p=Th(d,h,u,t);Ou[p]=window.scrollY}try{sessionStorage.setItem(n||wh,JSON.stringify(Ou))}catch(p){Ct(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${p}).`)}window.history.scrollRestoration="auto"},[m.state,t,u,d,h,n])),typeof document<"u"&&(E.useLayoutEffect(()=>{try{let p=sessionStorage.getItem(n||wh);p&&(Ou=JSON.parse(p))}catch{}},[n]),E.useLayoutEffect(()=>{let p=i==null?void 0:i.enableScrollRestoration(Ou,()=>window.scrollY,t?(g,b)=>Th(g,b,u,t):void 0);return()=>p&&p()},[i,u,t]),E.useLayoutEffect(()=>{if(s!==!1){if(typeof s=="number"){window.scrollTo(0,s);return}try{if(d.hash){let p=document.getElementById(decodeURIComponent(d.hash.slice(1)));if(p){p.scrollIntoView();return}}}catch{Ct(!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 XC(t,n){let{capture:i}={};E.useEffect(()=>{let s=i!=null?{capture:i}:void 0;return window.addEventListener("pagehide",t,s),()=>{window.removeEventListener("pagehide",t,s)}},[t,i])}function PC(t,{relative:n}={}){let i=E.useContext(om);Ve(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=pm("useViewTransitionState"),o=lo(t,{relative:n});if(!i.isTransitioning)return!1;let u=An(i.currentLocation.pathname,s)||i.currentLocation.pathname,d=An(i.nextLocation.pathname,s)||i.nextLocation.pathname;return Wu(o.pathname,d)!=null||Wu(o.pathname,u)!=null}function qC(t){return E.createElement(tC,{flushSync:ZT.flushSync,...t})}class ZC extends E.Component{constructor(n){super(n),this.state={hasError:!1}}static getDerivedStateFromError(n){return{hasError:!0}}componentDidCatch(n,i){console.warn("CookieBanner error boundary caught an error:",n,i)}render(){return this.state.hasError?null:this.props.children}}function FC(){const t=jn(),n=new Date().getFullYear();return t.pathname==="/"?null:y.jsx("footer",{className:"mt-auto",style:{background:"#0a0a0a"},children:y.jsxs("div",{className:"container mx-auto px-6 md:px-10 py-10",children:[y.jsx("div",{className:"w-full mb-8",style:{height:"1px",background:"#C9A84C",opacity:.6}}),y.jsxs("div",{className:"flex flex-col items-center gap-4 text-center",children:[y.jsx("p",{className:"text-xs tracking-widest uppercase",style:{color:"#888888",letterSpacing:"0.2em"},children:"Build Your Brand.  Expand Your Xposure.  Keep Your Control."}),y.jsxs("p",{className:"text-xs",style:{color:"#555555"},children:["© ",n," Xposure Modeling. All rights reserved."]})]})]})})}const GC={overrides:{}};function gm(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}function QC(t){return t==="bound-expression"||t==="content-key"||t==="content-key-template"}function IC(t){return gm(t)?typeof t.file=="string"&&typeof t.tagName=="string"&&QC(t.sourceKind)&&(t.contentKey===void 0||t.contentKey===null||typeof t.contentKey=="string")&&(t.contentKeyTemplate===void 0||t.contentKeyTemplate===null||typeof t.contentKeyTemplate=="string")&&(t.expressionHash===void 0||t.expressionHash===null||typeof t.expressionHash=="string"):!1}function $C(t){return gm(t)?(t.bold===void 0||typeof t.bold=="boolean")&&(t.italic===void 0||typeof t.italic=="boolean")&&(t.color===void 0||t.color===null||typeof t.color=="string"):!1}function WC(t){return gm(t)?IC(t.target)&&$C(t.marks)&&typeof t.updatedAt=="string":!1}function ds(t){return t??null}function JC(t){const n=t.replace(/\\/g,"/"),i=n.indexOf("/src/");return i!==-1?n.slice(i+1):n.replace(/^\/+/,"")}function e2(t){const n=t.split("/");return n.some(i=>!/^[a-zA-Z0-9_-]+$/.test(i))?null:n.map(i=>i.toLowerCase()).join("/")}function t2(t){const n=JC(t),i=/^src\/pages\/(.+)\.[jt]sx?$/.exec(n);if(!(i!=null&&i[1]))return{key:"shared",filePath:"format-overrides/shared.json"};const s=e2(i[1]);return s?{key:`pages/${s}`,filePath:`format-overrides/pages/${s}.json`}:{key:"shared",filePath:"format-overrides/shared.json"}}function n2(t,n){return t.file===n.file&&t.tagName===n.tagName&&t.sourceKind===n.sourceKind&&ds(t.contentKey)===ds(n.contentKey)&&ds(t.contentKeyTemplate)===ds(n.contentKeyTemplate)&&ds(t.expressionH
38ash)===ds(n.expressionHash)}function a2(t,n,i){const s=t2(i.file),u=(t.scopes[s.key]??GC).overrides[n];return u?WC(u)?n2(u.target,i)?{status:"applicable",marks:u.marks}:{status:"guard-mismatch",expected:u.target,actual:i}:(s.key,{status:"missing"}):{status:"missing"}}function i2(t){return{...t.bold?{fontWeight:700}:{},...t.italic?{fontStyle:"italic"}:{},...t.color?{color:t.color}:{}}}const r2={version:1,scopes:{}},h0=new Set;let s2=r2;function m0(){return s2}function l2(t){return h0.add(t),()=>{h0.delete(t)}}function o2(){return E.useSyncExternalStore(l2,m0,m0)}function Ce({devId:t,guard:n,children:i}){const s=o2(),o=a2(s,t,n);if(o.status==="missing")return y.jsx(y.Fragment,{children:i});if(o.status==="guard-mismatch")return y.jsx(y.Fragment,{children:i});const u=o.marks;return y.jsx("span",{"data-airo-formatted-bound-text":"true","data-airo-format-bold":u.bold?"true":void 0,"data-airo-format-italic":u.italic?"true":void 0,"data-airo-format-color":u.color||void 0,style:i2(u),children:i})}/**
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 u2=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ux=(...t)=>t.filter((n,i,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===i).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 c2={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 d2=E.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:o="",children:u,iconNode:d,...h},m)=>E.createElement("svg",{ref:m,...c2,width:n,height:n,stroke:t,strokeWidth:s?Number(i)*24/Number(n):i,className:Ux("lucide",o),...h},[...d.map(([p,g])=>E.createElement(p,g)),...Array.isArray(u)?u:[u]]));/**
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 Hx=(t,n)=>{const i=E.forwardRef(({className:s,...o},u)=>E.createElement(d2,{ref:u,iconNode:n,className:Ux(`lucide-${u2(t)}`,s),...o}));return i.displayName=`${t}`,i};/**
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 f2=Hx("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"}]]);/**
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 h2=Hx("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function m2(){const t=jn(),[n,i]=E.useState(!1);if(t.pathname==="/")return null;const s=[{href:"/about",label:"About"},{href:"/projects",label:"Projects"},{href:"/process",label:"The Process"},{href:"/contact",label:"Contact"}];return y.jsxs("header",{className:"sticky top-0 z-50",style:{background:"#0a0a0a",borderBottom:"1px solid #C9A84C"},children:[y.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[y.jsxs("div",{className:"flex h-20 items-center justify-between",children:[y.jsx(ya,{to:"/",className:"flex items-center shrink-0",children:y.jsx("img",{src:"/assets/Xposure Modeling premium brand logo.png",alt:"Xposure Modeling",style:{height:"44px",width:"auto",maxWidth:"260px",objectFit:"contain",display:"block"}})}),y.jsx("nav",{className:"hidden md:flex items-center gap-10","aria-label":"Main navigation",children:s.map(o=>y.jsxs(ya,{to:o.href,className:"nav-link relative text-xs font-medium tracking-widest uppercase text-white transition-colors",style:{color:t.pathname===o.href?"#C9A84C":"#ffffff"},children:[o.label,y.jsx("span",{className:"nav-underline absolute -bottom-1 left-0 h-px bg-primary transition-all duration-300",style:{width:t.pathname===o.href?"100%":"
680%"}})]},o.href))}),y.jsx("button",{onClick:()=>i(!n),className:"md:hidden p-2 text-white hover:text-primary transition-colors","aria-label":"Toggle menu",children:y.jsx(Ce,{devId:"8d9cf6",guard:{file:"src/layouts/parts/Header.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:6fcb81ba25fe213d913e92eb4d549248b9d34ad0fa0375ac596d77bf713ce7f7"},children:n?y.jsx(h2,{size:20}):y.jsx(f2,{size:20})})})]}),n&&y.jsx("div",{className:"md:hidden py-6",style:{borderTop:"1px solid #2a2a2a"},children:y.jsx("nav",{className:"flex flex-col gap-4","aria-label":"Mobile navigation",children:s.map(o=>y.jsx(ya,{to:o.href,className:"text-xs font-medium tracking-widest uppercase py-2 transition-colors",style:{color:t.pathname===o.href?"#C9A84C":"#ffffff"},onClick:()=>i(!1),children:o.label},o.href))})})]}),y.jsx("style",{children:`
69        .nav-link:hover {
70          color: #C9A84C !important;
71        }
72        .nav-link:hover .nav-underline {
73          width: 100% !important;
74        }
75      `})]})}function Kx(t){var n,i,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(i=Kx(t[n]))&&(s&&(s+=" "),s+=i)}else for(i in t)t[i]&&(s&&(s+=" "),s+=i);return s}function p2(){for(var t,n,i=0,s="",o=arguments.length;i<o;i++)(t=arguments[i])&&(n=Kx(t))&&(s&&(s+=" "),s+=n);return s}const ym="-",g2=t=>{const n=v2(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:d=>{const h=d.split(ym);return h[0]===""&&h.length!==1&&h.shift(),Yx(h,n)||y2(d)},getConflictingClassGroupIds:(d,h)=>{const m=i[d]||[];return h&&s[d]?[...m,...s[d]]:m}}},Yx=(t,n)=>{var d;if(t.length===0)return n.classGroupId;const i=t[0],s=n.nextPart.get(i),o=s?Yx(t.slice(1),s):void 0;if(o)return o;if(n.validators.length===0)return;const u=t.join(ym);return(d=n.validators.find(({validator:h})=>h(u)))==null?void 0:d.classGroupId},p0=/^\[(.+)\]$/,y2=t=>{if(p0.test(t)){const n=p0.exec(t)[1],i=n==null?void 0:n.substring(0,n.indexOf(":"));if(i)return"arbitrary.."+i}},v2=t=>{const{theme:n,prefix:i}=t,s={nextPart:new Map,validators:[]};return x2(Object.entries(t.classGroups),i).forEach(([u,d])=>{Eh(d,s,u,n)}),s},Eh=(t,n,i,s)=>{t.forEach(o=>{if(typeof o=="string"){const u=o===""?n:g0(n,o);u.classGroupId=i;return}if(typeof o=="function"){if(b2(o)){Eh(o(s),n,i,s);return}n.validators.push({validator:o,classGroupId:i});return}Object.entries(o).forEach(([u,d])=>{Eh(d,g0(n,u),i,s)})})},g0=(t,n)=>{let i=t;return n.split(ym).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i},b2=t=>t.isThemeGetter,x2=(t,n)=>n?t.map(([i,s])=>{const o=s.map(u=>typeof u=="string"?n+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([d,h])=>[n+d,h])):u);return[i,o]}):t,S2=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,i=new Map,s=new Map;const o=(u,d)=>{i.set(u,d),n++,n>t&&(n=0,s=i,i=new Map)};return{get(u){let d=i.get(u);if(d!==void 0)return d;if((d=s.get(u))!==void 0)return o(u,d),d},set(u,d){i.has(u)?i.set(u,d):o(u,d)}}}
vendor: 4,197 bytes, line 75
75,Xx="!",w2=t=>{const{separator:n,experimentalParseClassName:i}=t,s=n.length===1,o=n[0],u=n.length,d=h=>{const m=[];let p=0,g=0,b;for(let j=0;j<h.length;j++){let O=h[j];if(p===0){if(O===o&&(s||h.slice(j,j+u)===n)){m.push(h.slice(g,j)),g=j+u;continue}if(O==="/"){b=j;continue}}O==="["?p++:O==="]"&&p--}const x=m.length===0?h:h.substring(g),w=x.startsWith(Xx),T=w?x.substring(1):x,D=b&&b>g?b-g:void 0;return{modifiers:m,hasImportantModifier:w,baseClassName:T,maybePostfixModifierPosition:D}};return i?h=>i({className:h,parseClassName:d}):d},T2=t=>{if(t.length<=1)return t;const n=[];let i=[];return t.forEach(s=>{s[0]==="["?(n.push(...i.sort(),s),i=[]):i.push(s)}),n.push(...i.sort()),n},E2=t=>({cache:S2(t.cacheSize),parseClassName:w2(t),...g2(t)}),A2=/\s+/,C2=(t,n)=>{const{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:o}=n,u=[],d=t.trim().split(A2);let h="";for(let m=d.length-1;m>=0;m-=1){const p=d[m],{modifiers:g,hasImportantModifier:b,baseClassName:x,maybePostfixModifierPosition:w}=i(p);let T=!!w,D=s(T?x.substring(0,w):x);if(!D){if(!T){h=p+(h.length>0?" "+h:h);continue}if(D=s(x),!D){h=p+(h.length>0?" "+h:h);continue}T=!1}const j=T2(g).join(":"),O=b?j+Xx:j,V=O+D;if(u.includes(V))continue;u.push(V);const U=o(D,T);for(let F=0;F<U.length;++F){const Q=U[F];u.push(O+Q)}h=p+(h.length>0?" "+h:h)}return h};function j2(){let t=0,n,i,s="";for(;t<arguments.length;)(n=arguments[t++])&&(i=Px(n))&&(s&&(s+=" "),s+=i);return s}const Px=t=>{if(typeof t=="string")return t;let n,i="";for(let s=0;s<t.length;s++)t[s]&&(n=Px(t[s]))&&(i&&(i+=" "),i+=n);return i};function M2(t,...n){let i,s,o,u=d;function d(m){const p=n.reduce((g,b)=>b(g),t());return i=E2(p),s=i.cache.get,o=i.cache.set,u=h,h(m)}function h(m){const p=s(m);if(p)return p;const g=C2(m,i);return o(m,g),g}return function(){return u(j2.apply(null,arguments))}}const yt=t=>{const n=i=>i[t]||[];return n.isThemeGetter=!0,n},qx=/^\[(?:([a-z-]+):)?(.+)\]$/i,R2=/^\d+\/\d+$/,_2=new Set(["px","full","screen"]),D2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,N2=/\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$/,O2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,z2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,k2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$a=t=>As(t)||_2.has(t)||R2.test(t),Ni=t=>zs(t,"length",X2),As=t=>!!t&&!Number.isNaN(Number(t)),Qf=t=>zs(t,"number",As),kl=t=>!!t&&Number.isInteger(Number(t)),L2=t=>t.endsWith("%")&&As(t.slice(0,-1)),ke=t=>qx.test(t),Oi=t=>D2.test(t),V2=new Set(["length","size","percentage"]),B2=t=>zs(t,V2,Zx),U2=t=>zs(t,"position",Zx),H2=new Set(["image","url"]),K2=t=>zs(t,H2,q2),Y2=t=>zs(t,"",P2),Ll=()=>!0,zs=(t,n,i)=>{const s=qx.exec(t);return s?s[1]?typeof n=="string"?s[1]===n:n.has(s[1]):i(s[2]):!1},X2=t=>N2.test(t)&&!O2.test(t),Zx=()=>!1,P2=t=>z2.test(t),q2=t=>k2.test(t),Z2=()=>{const t=yt("colors"),n=yt("spacing"),i=yt("blur"),s=yt("brightness"),o=yt("borderColor"),u=yt("borderRadius"),d=yt("borderSpacing"),h=yt("borderWidth"),m=yt("contrast"),p=yt("grayscale"),g=yt("hueRotate"),b=yt("invert"),x=yt("gap"),w=yt("gradientColorStops"),T=yt("gradientColorStopPositions"),D=yt("inset"),j=yt("margin"),O=yt("opacity"),V=yt("padding"),U=yt("saturate"),F=yt("scale"),Q=yt("sepia"),K=yt("skew"),pe=yt("space"),M=yt("translate"),ce=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],Se=()=>["auto",ke,n],ee=()=>[ke,n],qe=()=>["",$a,Ni],Ae=()=>["auto",As,ke],je=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>["start","end","center","between","around","evenly","stretch"],ae=()=>["","0",ke],ve=()=>["auto","avoid","all","avoid-page","page","left","right","column"],be=()=>[As,ke];return{cacheSize:500,separator:":",theme:{colors:[Ll],spacing:[$a,Ni],blur:["none","",Oi,ke],brightness:be(),borderColor:[t],borderRadius:["n
75one","","full",Oi,ke],borderSpacing:ee(),borderWidth:qe(),contrast:be(),grayscale:ae(),hueRotate:be(),invert:ae(),gap:ee(),gradientColorStops:[t],gradientColorStopPositions:[L2,Ni],inset:Se(),margin:Se(),opacity:be(),padding:ee(),saturate:be(),scale:be(),sepia:ae(),skew:be(),space:ee(),translate:ee()},classGroups:{aspect:[{aspect:["auto","square","video",ke]}],container:["container"],columns:[{columns:[Oi]}],"break-after":[{"break-after":ve()}],"break-before":[{"break-before":ve()}],"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:[...je(),ke]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[D]}],"inset-x":[{"inset-x":[D]}],"inset-y":[{"inset-y":[D]}],start:[{start:[D]}],end:[{end:[D]}],top:[{top:[D]}],right:[{right:[D]}],bottom:[{bottom:[D]}],left:[{left:[D]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",kl,ke]}],basis:[{basis:Se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ke]}],grow:[{grow:ae()}],shrink:[{shrink:ae()}],order:[{order:["first","last","none",kl,ke]}],"grid-cols":[{"grid-cols":[Ll]}],"col-start-end":[{col:["auto",{span:["full",kl,ke]},ke]}],"col-start":[{"col-start":Ae()}],"col-end":[{"col-end":Ae()}],"grid-rows":[{"grid-rows":[Ll]}],"row-start-end":[{row:["auto",{span:[kl,ke]},ke]}],"row-start":[{"row-start":Ae()}],"row-end":[{"row-end":Ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ke]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ke]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[V]}],px:[{px:[V]}],py:[{py:[V]}],ps:[{ps:[V]}],pe:[{pe:[V]}],pt:[{pt:[V]}],pr:[{pr:[V]}],pb:[{pb:[V]}],pl:[{pl:[V]}],m:[{m:[j]}],mx:[{mx:[j]}],my:[{my:[j]}],ms:[{ms:[j]}],me:[{me:[j]}],mt:[{mt:[j]}],mr:[{mr:[j]}],mb:[{mb:[j]}],ml:[{ml:[j]}],"space-x":[{"space-x":[pe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[pe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ke,n]}],"min-w":[{"min-w":[ke,n,"min","max","fit"]}],"max-w":[{"max-w":[ke,n,"none","full","min","max","fit","prose",{screen:[Oi]},Oi]}],h:[{h:[ke,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ke,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ke,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ke,n,"auto","min","max","fit"]}],"font-size":[{text:["base",Oi,Ni]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Qf]}],"font-family":[{font:[Ll]}],"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",ke]}],"line-clamp":[{"line-clamp":["none",As,Qf]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$a,ke]}],"list-image":[{"list-image":["none",ke]}],"list-style-type":[{list:["none","disc","decimal",ke]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[O]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[O]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$a,Ni]}],"underline-offset":[{"underline-offset":["auto",$a,ke]}],"text-decoration-color":[{decoration:[t]}],"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",ke]}],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",ke]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[O]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...je(),U2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",B2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},K2]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[T]}
vendor: 5,201 bytes, line 75
75],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"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":[O]}],"border-style":[{border:[...H(),"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":[O]}],"divide-style":[{divide:H()}],"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:["",...H()]}],"outline-offset":[{"outline-offset":[$a,ke]}],"outline-w":[{outline:[$a,Ni]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:qe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[O]}],"ring-offset-w":[{"ring-offset":[$a,Ni]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Oi,Y2]}],"shadow-color":[{shadow:[Ll]}],opacity:[{opacity:[O]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[s]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",Oi,ke]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[b]}],saturate:[{saturate:[U]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[O]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"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",ke]}],duration:[{duration:be()}],ease:[{ease:["linear","in","out","in-out",ke]}],delay:[{delay:be()}],animate:[{animate:["none","spin","ping","pulse","bounce",ke]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[kl,ke]}],"translate-x":[{"translate-x":[M]}],"translate-y":[{"translate-y":[M]}],"skew-x":[{"skew-x":[K]}],"skew-y":[{"skew-y":[K]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ke]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ke]}],"caret-color":[{caret:[t]}],"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"]}
75],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",ke]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[$a,Ni,Qf]}],stroke:[{stroke:[t,"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"]}}},F2=M2(Z2);function G2(...t){return F2(p2(t))}function Q2({children:t,config:n={},className:i}){const{layout:s={maxWidth:"full",padding:"md",background:"default",minHeight:!0}}=n,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 y.jsx("div",{className:G2(s.minHeight!==!1&&"min-h-screen",o(),"flex flex-col",i),children:t})}function I2({children:t}){return y.jsxs(Q2,{children:[y.jsxs(Ns,{children:[y.jsx("title",{children:"Xposure Modeling — Talent Development & Representation"}),y.jsx("meta",{name:"description",content:"Xposure Modeling is an adult talent development and representation agency helping independent creators build their brands, expand their audiences, and secure professional opportunities."})]}),y.jsx(Vx,{}),y.jsx(m2,{}),t,y.jsx(FC,{})]})}function $2({className:t}){return y.jsx("div",{className:`inline-block ${t||""}`,children:y.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:[y.jsx("circle",{className:"opacity-10",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),y.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 Fx=E.createContext({});function W2(t){const n=E.useRef(null);return n.current===null&&(n.current=t()),n.current}const J2=typeof window<"u",ej=J2?E.useLayoutEffect:E.useEffect,vm=E.createContext(null);function bm(t,n){t.indexOf(n)===-1&&t.push(n)}function ec(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}const Sa=(t,n,i)=>i>n?n:i<t?t:i;let xm=()=>{};const Xi={},Gx=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function Qx(t){return typeof t=="object"&&t!==null}const Ix=t=>/^0[^.\s]+$/u.test(t);function $x(t){let n;return()=>(n===void 0&&(n=t()),n)}const Pn=t=>t,tj=(t,n)=>i=>n(t(i)),oo=(...t)=>t.reduce(tj),$l=(t,n,i)=>{const s=n-t;return s===0?1:(i-t)/s};class Sm{constructor(){this.subscriptions=[]}add(n){return bm(this.subscriptions,n),()=>ec(this.subscriptions,n)}notify(n,i,s){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](n,i,s);else for(let u=0;u<o;u++){const d=this.subscriptions[u];d&&d(n,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const En=t=>t*1e3,Yn=t=>t/1e3;function Wx(t,n){return n?t*(1e3/n):0}const Jx=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,nj=1e-7,aj=12;function ij(t,n,i,s,o){let u,d,h=0;do d=n+(i-n)/2,u=Jx(d,s,o)-t,u>0?i=d:n=d;while(Math.abs(u)>nj&&++h<aj);return d}function uo(t,n,i,s){if(t===n&&i===s)return Pn;const o=u=>ij(u,0,1,t,i);return u=>u===0||u===1?u:Jx(o(u),n,s)}const e1=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,t1=t=>n=>1-t(1-n),n1=uo(.33,1.53,.69,.99),wm=t1(n1),a1=e1(wm),i1=t=>t>=1?1:(t*=2)<1?.5*wm(t):.5*(2-Math.pow(2,-10*(t-1))),Tm=t=>1-Math.sin(Math.acos(t)),r1=t1(Tm),s1=e1(Tm),rj=uo(.42,0,1,1),sj=uo(0,0,.58,1),l1=uo(.42,0,.58,1),lj=t=>Array.isArray(t)&&typeof t[0]!="number",o1=t=>Array.isArray(t)&&typeof t[0]=="number",oj={linear:Pn,easeIn:rj,easeInOut:l1,easeOut:sj,circIn:Tm,circInOut:s1,circOut:r1,backIn:wm,backInOut:a1,backOut:n1,anticipate:i1},uj=t=>typeof t=="string",y0=t=>{if(o1(t)){xm(t.length===4);const[n,i,s,o]=t;return uo(n,i,s,o)}else if(uj(t))return oj[t];return t},zu=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function cj(t,n){let i=new Set,s=new Set,o=!1,u=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function m(g){d.has(g)&&(p.schedule(g),t()),g(h)}const p={schedule:(g,b=!1,x=!1)=>{const T=x&&o?i:s;return b&&d.add(g),T.add(g),g},cancel:g=>{s.delete(g),d.delete(g)},process:g=>{if(h=g,o){u=!0;return}o=!0;const b=i;
vendor: 26,462 bytes, line 75
75i=s,s=b,i.forEach(m),i.clear(),o=!1,u&&(u=!1,p.process(g))}};return p}const dj=40;function u1(t,n){let i=!1,s=!0;const o={delta:0,timestamp:0,isProcessing:!1},u=()=>i=!0,d=zu.reduce((U,F)=>(U[F]=cj(u),U),{}),{setup:h,read:m,resolveKeyframes:p,preUpdate:g,update:b,preRender:x,render:w,postRender:T}=d,D=()=>{const U=Xi.useManualTiming,F=U?o.timestamp:performance.now();i=!1,U||(o.delta=s?1e3/60:Math.max(Math.min(F-o.timestamp,dj),1)),o.timestamp=F,o.isProcessing=!0,h.process(o),m.process(o),p.process(o),g.process(o),b.process(o),x.process(o),w.process(o),T.process(o),o.isProcessing=!1,i&&n&&(s=!1,t(D))},j=()=>{i=!0,s=!0,o.isProcessing||t(D)};return{schedule:zu.reduce((U,F)=>{const Q=d[F];return U[F]=(K,pe=!1,M=!1)=>(i||j(),Q.schedule(K,pe,M)),U},{}),cancel:U=>{for(let F=0;F<zu.length;F++)d[zu[F]].cancel(U)},state:o,steps:d}}const{schedule:dt,cancel:Pi,state:Zt,steps:If}=u1(typeof requestAnimationFrame<"u"?requestAnimationFrame:Pn,!0);let Xu;function fj(){Xu=void 0}const an={now:()=>(Xu===void 0&&an.set(Zt.isProcessing||Xi.useManualTiming?Zt.timestamp:performance.now()),Xu),set:t=>{Xu=t,queueMicrotask(fj)}},c1=t=>n=>typeof n=="string"&&n.startsWith(t),d1=c1("--"),hj=c1("var(--"),Em=t=>hj(t)?mj.test(t.split("/*")[0].trim()):!1,mj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function v0(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const ks={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Wl={...ks,transform:t=>Sa(0,1,t)},ku={...ks,default:1},Xl=t=>Math.round(t*1e5)/1e5,Am=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function pj(t){return t==null}const gj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Cm=(t,n)=>i=>!!(typeof i=="string"&&gj.test(i)&&i.startsWith(t)||n&&!pj(i)&&Object.prototype.hasOwnProperty.call(i,n)),f1=(t,n,i)=>s=>{if(typeof s!="string")return s;const[o,u,d,h]=s.match(Am);return{[t]:parseFloat(o),[n]:parseFloat(u),[i]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},yj=t=>Sa(0,255,t),$f={...ks,transform:t=>Math.round(yj(t))},br={test:Cm("rgb","red"),parse:f1("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:s=1})=>"rgba("+$f.transform(t)+", "+$f.transform(n)+", "+$f.transform(i)+", "+Xl(Wl.transform(s))+")"};function vj(t){let n="",i="",s="",o="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),o=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),o=t.substring(4,5),n+=n,i+=i,s+=s,o+=o),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:o?parseInt(o,16)/255:1}}const Ah={test:Cm("#"),parse:vj,transform:br.transform},co=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),ki=co("deg"),va=co("%"),ue=co("px"),bj=co("vh"),xj=co("vw"),b0={...va,parse:t=>va.parse(t)/100,transform:t=>va.transform(t*100)},xs={test:Cm("hsl","hue"),parse:f1("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+va.transform(Xl(n))+", "+va.transform(Xl(i))+", "+Xl(Wl.transform(s))+")"},zt={test:t=>br.test(t)||Ah.test(t)||xs.test(t),parse:t=>br.test(t)?br.parse(t):xs.test(t)?xs.parse(t):Ah.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?br.transform(t):xs.transform(t),getAnimatableNone:t=>{const n=zt.parse(t);return n.alpha=0,zt.transform(n)}},Sj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function wj(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(Am))==null?void 0:n.length)||0)+(((i=t.match(Sj))==null?void 0:i.length)||0)>0}const h1="number",m1="color",Tj="var",Ej="var(",x0="${}",Aj=/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 Cs(t){const n=t.toString(),i=[],s={color:[],number:[],var:[]},o=[];let u=0;const h=n.replace(Aj,m=>(zt.test(m)?(s.color.push(u),o.push(m1),i.push(zt.parse(m))):m.startsWith(Ej)?(s.var.push(u),o.push(Tj),i.push(m)):(s.number.push(u),o.push(h1),i.push(parseFloat(m))),++u,x0)).split(x0);return{values:i,split:h,indexes:s,types:o}}function Cj(t){return Cs(t).values}function p1({split:t,types:n}){const i=t.length;return s=>{let o="";for(let u=0;u<i;u++)if(o+=t[u],s[u]!==void 0){const d=n[u];d===h1?o+=Xl(s[u]):d===m1?o+=zt.transform(s[u]):o+=s[u]}return o}}function jj(t){return p1(Cs(t))}const Mj=t=>typeof t=="number"?0:zt.test(t)?zt.getAnimatableNone(t):t,Rj=(t,n)=>typeof t=="number"?n!=null&&n.trim().endsWith("/")?t:0:Mj(t);function _j(t){const n=Cs(t);return p1(n)(n.values.map((s,o)=>Rj(s,n.split[o])))}const sa={test:wj,parse:Cj,createTransformer:jj,getAnimatableNone:_j};function Wf(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}function Dj({hue:t,saturation:n,lightness:i,alpha:s}){t/=360,n/=100,i/=100;let o=0,u=0,d=0;if(!n)o=u=d=i;else{const h=i<.5?i*(1+n):i+n-i*n,m=2*i-h;o=Wf(m,h,t+1/3),u=Wf(m,h,t),d=Wf(m,h,t-1/3)}return{red:Math.round(o*255),green:Math.round(u*255),blue:Math.round(d*255),alpha:s}}function tc(t,n){return i=>i>0?n:t}const vt=(t,n,i)=>t+(n-t)*i,Jf=(t,n,i)=>{const s=t*t,o=i*(n*n-s)+s;return o<0?0:Math.sqrt(o)},Nj=[Ah,br,xs],Oj=t=>Nj.find(n=>n.test(t));function S0(t){const n=Oj(t);if(!n)return!1;let i=n.parse(t);return n===xs&&(i=Dj(i)),i}const w0=(t,n)=>{const i=S0(t),s=S0(n);if(!i||!s)return tc(t,n);const o={...i};return u=>(o.red=Jf(i.red,s.red,u),o.green=Jf(i.green,s.green,u),o.blue=Jf(i.blue,s.blue,u),o.alpha=vt(i.alpha,s.alpha,u),br.transform(o))},Ch=new Set(["none","hidden"]);function zj(t,n){return Ch.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function kj(t,n){return i=>vt(t,n,i)}function jm(t){return typeof t=="number"?kj:typeof t=="string"?Em(t)?tc:zt.test(t)?w0:Bj:Array.isArray(t)?g1:typeof t=="object"?zt.test(t)?w0:Lj:tc}function g1(t,n){const i=[...t],s=i.length,o=t.map((u,d)=>jm(u)(u,n[d]));return u=>{for(let d=0;d<s;d++)i[d]=o[d](u);return i}}function Lj(t,n){const i={...t,...n},s={};for(const o in i)t[o]!==void 0&&n[o]!==void 0&&(s[o]=jm(t[o])(t[o],n[o]));return o=>{for(const u in s)i[u]=s[u](o);return i}}function Vj(t,n){const i=[],s={color:0,var:0,number:0};for(let o=0;o<n.values.length;o++){const u=n.types[o],d=t.indexes[u][s[u]],h=t.values[d]??0;i[o]=h,s[u]++}return i}const Bj=(t,n)=>{const i=sa.createTransformer(n),s=Cs(t),o=Cs(n);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?Ch.has(t)&&!o.values.length||Ch.has(n)&&!s.values.length?zj(t,n):oo(g1(Vj(s,o),o.values),i):tc(t,n)};function y1(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?vt(t,n,i):jm(t)(t,n)}const Uj=t=>{const n=({timestamp:i})=>t(i);return{start:(i=!0)=>dt.update(n,i),stop:()=>Pi(n),now:()=>Zt.isProcessing?Zt.timestamp:an.now()}},v1=(t,n,i=10)=>{let s="";const o=Math.max(Math.round(n/i),2);for(let u=0;u<o;u++)s+=Math.round(t(u/(o-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},nc=2e4;function Mm(t){let n=0;const i=50;let s=t.next(n);for(;!s.done&&n<nc;)n+=i,s=t.next(n);return n>=nc?1/0:n}function Hj(t,n=100,i){const s=i({...t,keyframes:[0,n]}),o=Math.min(Mm(s),nc);return{type:"keyframes",ease:u=>s.next(o*u).value/n,duration:Yn(o)}}const At={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function jh(t,n){return t*Math.sqrt(1-n*n)}const Kj=12;function Yj(t,n,i){let s=i;for(let o=1;o<Kj;o++)s=s-t(s)/n(s);return s}const eh=.001;function Xj({duration:t=At.duration,bounce:n=At.bounce,velocity:i=At.velocity,mass:s=At.mass}){let o,u,d=1-n;d=Sa(At.minDamping,At.maxDamping,d),t=Sa(At.minDuration,At.maxDuration,Yn(t)),d<1?(o=p=>{const g=p*d,b=g*t,x=g-i,w=jh(p,d),T=Math.exp(-b);return eh-x/w*T},u=p=>{const b=p*d*t,x=b*i+i,w=Math.pow(d,2)*Math.pow(p,2)*t,T=Math.exp(-b),D=jh(Math.pow(p,2),d);return(-o(p)+eh>0?-1:1)*((x-w)*T)/D}):(o=p=>{const g=Math.exp(-p*t),b=(p-i)*t+1;return-eh+g*b},u=p=>{const g=Math.exp(-p*t),b=(i-p)*(t*t);return g*b});const h=5/t,m=Yj(o,u,h);if(t=En(t),isNaN(m))return{stiffness:At.stiffness,damping:At.damping,duration:t};{const p=Math.pow(m,2)*s;return{stiffness:p,damping:d*2*Math.sqrt(s*p),duration:t}}}const Pj=["duration","bounce"],qj=["stiffness","damping","mass"];function T0(t,n){return n.some(i=>t[i]!==void 0)}function Zj(t){let n={velocity:At.velocity,stiffness:At.stiffness,damping:At.damping,mass:At.mass,isResolvedFromDuration:!1,...t};if(!T0(t,qj)&&T0(t,Pj))if(n.velocity=0,t.visualDuration){const i=t.visualDuration,s=2*Math.PI/(i*1.2),o=s*s,u=2*Sa(.05,1,1-(t.bounce||0))*Math.sqrt(o);n={...n,mass:At.mass,stiffness:o,damping:u}}else{const i=Xj({...t,velocity:0});n={...n,...i,mass:At.mass},n.isResolvedFromDuration=!0}return n}function ac(t=At.visualDuration,n=At.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:s,restDelta:o}=i;const u=i.keyframes[0],d=i.keyframes[i.keyframes.length-1],h={done:!1,value:u},{stiffness:m,damping:p,mass:g,duration:b,velocity:x,isResolvedFromDuration:w}=Zj({...i,velocity:-Yn(i.velocity||0)}),T=x||0,D=p/(2*Math.sqrt(m*g)),j=d-u,O=Yn(Math.sqrt(m/g)),V=Math.abs(j)<5;s||(s=V?At.restSpeed.granular:At.restSpeed.default),o||(o=V?At.restDelta.granular:At.restDelta.default);let U,F,Q,K,pe,M;if(D<1)Q=jh(O,D),K=(T+D*O*j)/Q,U=$=>{const Se=Math.exp(-D*O*$);return d-Se*(K*Math.sin(Q*$)+j*Math.cos(Q*$))},pe=D*O*K+j*Q,M=D*O*j-K*Q,F=$=>Math.exp(-D*O*$)*(pe*Math.sin(Q*$)+M*Math.cos(Q*$));else if(D===1){U=Se=>d-Math.exp(-O*Se)*(j+(T+O*j)*Se);const $=T+O*j;F=Se=>Math.exp(-O*Se)*(O*$*Se-T)}else{const $=O*Math.sqrt(D*D-1);U=Ae=>{const je=Math.exp(-D*O*Ae),H=Math.min($*Ae,300);return d-je*((T+D*O*j)*Math.sinh(H)+$*j*Math.cosh(H))/$};const Se=(T+D*O*j)/$,ee=D*O*Se-j*$,qe=D*O*j-Se*$;F=Ae=>{const je=Math.exp(-D*O*Ae),H=Math.min($*Ae,300);return je*(ee*Math.sinh(H)+qe*Math.cosh(H))}}const ce={calculatedDuration:w&&b||null,velocity:$=>En(F($)),next:$=>{if(!w&&D<1){const ee=Math.exp(-D*O*$),qe=Math.sin(Q*$),Ae=Math.cos(Q*$),je=d-ee*(K*qe+j*Ae),H=En(ee*(pe*qe+M*Ae));return h.done=Math.abs(H)<=s&&Math.abs(d-je)<=o,h.value=h.done?d:je,h}const Se=U($);if(w)h.done=$>=b;else{const ee=En(F($));h.done=Math.abs(ee)<=s&&Math.abs(d-Se)<=o}return h.value=h.done?d:Se,h},toString:()=>{const $=Math.min(Mm(ce),nc),Se=v1(ee=>ce.next($*ee).value,$,30);return $+"ms "+Se},toTransition:()=>{}};return ce}ac.applyToOptions=t=>{const n=Hj(t,100,ac);return t.ease=n.ease,t.duration=En(n.duration),t.type="keyframes",t};const Fj=5;function b1(t,n,i){const s=Math.max(n-Fj,0);return Wx(i-t(s),n-s)}function Mh({keyframes:t,velocity:n=0,power:i=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:u=500,modifyTarget:d,min:h,max:m,restDelta:p=.5,restSpeed:g}){const b=t[0],x={done:!1,value:b},w=M=>h!==void 0&&M<h||m!==void 0&&M>m,T=M=>h===void 0?m:m===void 0||Math.abs(h-M)<Math.abs(m-M)?h:m;let D=i*n;const j=b+D,O=d===void 0?j:d(j);O!==j&&(D=O-b);const V=M=>-D*Math.exp(-M/s),U=M=>O+V(M),F=M=>{const ce=V(M),$=U(M);x.done=Math.abs(ce)<=p,x.value=x.done?O:$};let Q,K;const pe=M=>{w(x.value)&&(Q=M,K=ac({keyframes:[x.value,T(x.value)],velocity:b1(U,M,x.value),damping:o,stiffness:u,restDelta:p,restSpeed:g}))};return pe(0),{calculatedDuration:null,next:M=>{let ce=!1;return!K&&Q===void 0&&(ce=!0,F(M),pe(M)),Q!==void 0&&M>=Q?K.next(M-Q):(!ce&&F(M),x)}}}function Gj(t,n,i){const s=[],o=i||Xi.mix||y1,u=t.length-1;for(let d=0;d<u;d++){let h=o(t[d],t[d+1]);if(n){const m=Array.isArray(n)?n[d]||Pn:n;h=oo(m,h)}s.push(h)}return s}function Qj(t,n,{clamp:i=!0,ease:s,mixer:o}={}){const u=t.length;if(xm(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const d=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),n=[...n].reverse());const h=Gj(n,s,o),m=h.length,p=g=>{if(d&&g<t[0])return n[0];let b=0;if(m>1)for(;b<t.length-2&&!(g<t[b+1]);b++);const x=$l(t[b],t[b+1],g);return h[b](x)};return i?g=>p(Sa(t[0],t[u-1],g)):p}function Ij(t,n){const i=t[t.length-1];for(let s=1;s<=n;s++){const o=$l(0,n,s);t.push(vt(i,1,o))}}function $j(t){const n=[0];return Ij(n,t.length-1),n}function Wj(t,n){return t.map(i=>i*n)}function Jj(t,n){return t.map(()=>n||l1).splice(0,t.length-1)}function Pl({duration:t=300,keyframes:n,times:i,ease:s="easeInOut"}){const o=lj(s)?s.map(y0):y0(s),u={done:!1,value:n[0]},d=Wj(i&&i.length===n.length?i:$j(n),t),h=Qj(d,n,{ease:Array.isArray(o)?o:Jj(n,o)});return{calculatedDuration:t,next:m=>(u.value=h(m),u.done=m>=t,u)}}const eM=t=>t!==null;function xc(t,{repeat:n,repeatType:i="loop"},s,o=1){const u=t.filter(eM),h=o<0||n&&i!=="loop"&&n%2===1?0:u.length-1;return!h||s===void 0?u[h]:s}const tM={decay:Mh,inertia:Mh,tween:Pl,keyframes:Pl,spring:ac};function x1(t){typeof t.type=="string"&&(t.type=tM[t.type])}class Rm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,i){return this.finished.then(n,i)}}const nM=t=>t/100;class ic extends Rm{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var s,o;const{motionValue:i}=this.options;i&&i.updatedAt!==an.now()&&this.tick(an.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(s=this.options).onStop)==null||o.call(s))},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;x1(n);const{type:i=Pl,repeat:s=0,repeatDelay:o=0,repeatType:u,velocity:d=0}=n;let{keyframes:h}=n;const m=i||Pl;m!==Pl&&typeof h[0]!="number"&&(this.mixKeyframes=oo(nM,y1(h[0],h[1])),h=[0,100]);const p=m({...n,keyframes:h});u==="mirror"&&(this.mirroredGenerator=m({...n,keyframes:[...h].reverse(),velocity:-d})),p.calculatedDuration===null&&(p.calculatedDuration=Mm(p));const{calculatedDuration:g}=p;this.calculatedDuration=g,this.resolvedDuration=g+o,this.totalDuration=this.resolvedDuration*(s+1)-o,this.generator=p}updateTime(n){const i=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(n,i=!1){const{generator:s,totalDuration:o,mixKeyframes:u,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:m}=this;if(this.startTime===null)return s.next(0);const{delay:p=0,keyframes:g,repeat:b,repeatType:x,repeatDelay:w,type:T,onUpdate:D,finalKeyframe:j}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-o/this.speed,this.startTime)),i?this.currentTime=n:this.updateTime(n);const O=this.currentTime-p*(this.playbackSpeed>=0?1:-1),V=this.playbackSpeed>=0?O<0:O>o;this.currentTime=Math.max(O,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let U=this.currentTime,F=s;if(b){const M=Math.min(this.currentTime,o)/h;let ce=Math.floor(M),$=M%1;!$&&M>=1&&($=1),$===1&&ce--,ce=Math.min(ce,b+1),!!(ce%2)&&(x==="reverse"?($=1-$,w&&($-=w/h)):x==="mirror"&&(F=d)),U=Sa(0,1,$)*h}let Q;V?(this.delayState.value=g[0],Q=this.delayState):Q=F.next(U),u&&!V&&(Q.value=u(Q.value));let{done:K}=Q;!V&&m!==null&&(K=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const pe=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&K);return pe&&T!==Mh&&(Q.value=xc(g,this.options,j,this.speed)),D&&D(Q.value),pe&&this.finish(),Q}then(n,i){return this.finished.then(n,i)}get duration(){return Yn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Yn(n)}get time(){return Yn(this.currentTime)}set time(n){n=En(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=n,this.tick(n))}getGeneratorVelocity(){const n=this.currentTime;if(n<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(n);const i=this.generator.next(n).value;return b1(s=>this.generator.next(s).value,n,i)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;i&&this.driver&&this.updateTime(an.now()),this.playbackSpeed=n,i&&this.driver&&(this.time=Yn(this.currentTime))}play(){var o,u;if(this.isStopped)return;const{driver:n=Uj,startTime:i}=this.options;this.driver||(this.driver=n(d=>this.tick(d))),(u=(o=this.options).onPlay)==null||u.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=i??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(an.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var n,i;this.notifyFinished(),this.teardown(),this.state="finished",(i=(n=this.options).onComplete)==null||i.call(n)}cancel(){var n,i;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(i=(n=this.options).onCancel)==null||i.call(n)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){var i;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(i=this.driver)==null||i.stop(),n.observe(this)}}function aM(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const xr=t=>t*180/Math.PI,Rh=t=>{const n=xr(Math.atan2(t[1],t[0]));return _h(n)},iM={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Rh,rotateZ:Rh,skewX:t=>xr(Math.atan(t[1])),skewY:t=>xr(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},_h=t=>(t=t%360,t<0&&(t+=360),t),E0=Rh,A0=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),C0=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),rM={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:A0,scaleY:C0,scale:t=>(A0(t)+C0(t))/2,rotateX:t=>_h(xr(Math.atan2(t[6],t[5]))),rotateY:t=>_h(xr(Math.atan2(-t[2],t[0]))),rotateZ:E0,rotate:E0,skewX:t=>xr(Math.atan(t[4])),skewY:t=>xr(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Dh(t){return t.includes("scale")?1:0}function Nh(t,n){if(!t||t==="none")return Dh(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,o;if(i)s=rM,o=i;else{const h=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=iM,o=h}if(!o)return Dh(n);const u=s[n],d=o[1].split(",").map(lM);return typeof u=="function"?u(d):d[u]}const sM=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return Nh(i,n)};function lM(t){return parseFloat(t.trim())}const Ls=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Vs=new Set(Ls),j0=t=>t===ks||t===ue,oM=new Set(["x","y","z"]),uM=Ls.filter(t=>!oM.has(t));function cM(t){const n=[];return uM.forEach(i=>{const s=t.getValue(i);s!==void 0&&(n.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),n}const Hi={width:({x:t},{paddingLeft:n="0",paddingRight:i="0",boxSizing:s})=>{const o=t.max-t.min;return s==="border-box"?o:o-parseFloat(n)-parseFloat(i)},height:({y:t},{paddingTop:n="0",paddingBottom:i="0",boxSizing:s})=>{const o=t.max-t.min;return s==="border-box"?o:o-parseFloat(n)-parseFloat(i)},top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>Nh(n,"x"),y:(t,{transform:n})=>Nh(n,"y")};Hi.translateX=Hi.x;Hi.translateY=Hi.y;const Sr=new Set;let Oh=!1,zh=!1,kh=!1;function S1(){if(zh){const t=Array.from(Sr).filter(s=>s.needsMeasurement),n=new Set(t.map(s=>s.element)),i=new Map;n.forEach(s=>{const o=cM(s);o.length&&(i.set(s,o),s.render())}),t.forEach(s=>s.measureInitialState()),n.forEach(s=>{s.render();const o=i.get(s);o&&o.forEach(([u,d])=>{var h;(h=s.getValue(u))==null||h.set(d)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}zh=!1,Oh=!1,Sr.forEach(t=>t.complete(kh)),Sr.clear()}function w1(){Sr.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(zh=!0)})}function dM(){kh=!0,w1(),S1(),kh=!1}class _m{constructor(n,i,s,o,u,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=s,this.motionValue=o,this.element=u,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(Sr.add(this),Oh||(Oh=!0,dt.read(w1),dt.resolveKeyframes(S1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:s,motionValue:o}=this;if(n[0]===null){const u=o==null?void 0:o.get(),d=n[n.length-1];if(u!==void 0)n[0]=u;else if(s&&i){const h=s.readValue(i,d);h!=null&&(n[0]=h)}n[0]===void 0&&(n[0]=d),o&&u===void 0&&o.set(n[0])}aM(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),Sr.delete(this)}cancel(){this.state==="scheduled"&&(Sr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const fM=t=>t.startsWith("--");function T1(t,n,i){fM(n)?t.style.setProperty(n,i):t.style[n]=i}const hM={};function E1(t,n){const i=$x(t);return()=>hM[n]??i()}const mM=E1(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),A1=E1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Hl=([t,n,i,s])=>`cubic-bezier(${t}, ${n}, ${i}, ${s})`,M0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Hl([0,.65,.55,1]),circOut:Hl([.55,0,1,.45]),backIn:Hl([.31,.01,.66,-.59]),backOut:Hl([.33,1.53,.69,.99])};function C1(t,n){if(t)return typeof t=="function"?A1()?v1(t,n):"ease-out":o1(t)?Hl(t):Array.isArray(t)?t.map(i=>C1(i,n)||M0.easeOut):M0[t]}function pM(t,n,i,{delay:s=0,duration:o=300,repeat:u=0,repeatType:d="loop",ease:h="easeOut",times:m}={},p=void 0){const g={[n]:i};m&&(g.offset=m);const b=C1(h,o);Array.isArray(b)&&(g.easing=b);const x={delay:s,duration:o,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:u+1,direction:d==="reverse"?"alternate":"normal"};return p&&(x.pseudoElement=p),t.animate(g,x)}function j1(t){return typeof t=="function"&&"applyToOptions"in t}function gM({type:t,...n}){return j1(t)&&A1()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class M1 extends Rm{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:i,name:s,keyframes:o,pseudoElement:u,allowFlatten:d=!1,finalKeyframe:h,onComplete:m}=n;this.isPseudoElement=!!u,this.allowFlatten=d,this.options=n,xm(typeof n.type!="string");const p=gM(n);this.animation=pM(i,s,o,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const g=xc(o,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(g),T1(i,s,g),this.animation.cancel()}m==null||m(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var n,i;(i=(n=this.animation).finish)==null||i.call(n)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var i,s,o;const n=(i=this.options)==null?void 0:i.element;!this.isPseudoElement&&(n!=null&&n.isConnected)&&((o=(s=this.animation).commitStyles)==null||o.call(s))}get duration(){var i,s;const n=((s=(i=this.animation.effect)==null?void 0:i.getComputedTiming)==null?void 0:s.call(i).duration)||0;return Yn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Yn(n)}get time(){return Yn(Number(this.animation.currentTime)||0)}set time(n){const i=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=En(n),i&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,rangeStart:i,rangeEnd:s,observe:o}){var u;return this.allowFlatten&&((u=this.animation.effect)==null||u.updateTiming({easing:"linear"})),this.animation.onfinish=null,n&&mM()?(this.animation.timeline=n,i&&(this.animation.rangeStart=i),s&&(this.animation.rangeEnd=s),Pn):o(this)}}const R1={anticipate:i1,backInOut:a1,circInOut:s1};function yM(t){return t in R1}function vM(t){typeof t.ease=="string"&&yM(t.ease)&&(t.ease=R1[t.ease])}const th=10;class bM extends M1{constructor(n){vM(n),x1(n),super(n),n.startTime!==void 0&&n.autoplay!==!1&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:i,onUpdate:s,onComplete:o,element:u,...d}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const h=new ic({...d,autoplay:!1}),m=Math.max(th,an.now()-this.startTime),p=Sa(0,th,m-th),g=h.sample(m).value,{name:b}=this.options;u&&b&&T1(u,b,g),i.setWithVelocity(h.sample(Math.max(0,m-p)).value,g,p),h.stop()}}const R0=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(sa.test(t)||t==="0")&&!t.startsWith("url("));function xM(t){const n=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}function SM(t,n,i,s){const o=t[0];if(o===null)return!1;if(n==="display"||n==="visibility")return!0;const u=t[t.length-1],d=R0(o,n),h=R0(u,n);
75return!d||!h?!1:xM(t)||(i==="spring"||j1(i))&&s}function Lh(t){t.duration=0,t.type="keyframes"}const _1=new Set(["opacity","clipPath","filter","transform"]),wM=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function TM(t){for(let n=0;n<t.length;n++)if(typeof t[n]=="string"&&wM.test(t[n]))return!0;return!1}const EM=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),AM=$x(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function CM(t){var b;const{motionValue:n,name:i,repeatDelay:s,repeatType:o,damping:u,type:d,keyframes:h}=t;if(!(((b=n==null?void 0:n.owner)==null?void 0:b.current)instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=n.owner.getProps();return AM()&&i&&(_1.has(i)||EM.has(i)&&TM(h))&&(i!=="transform"||!g)&&!p&&!s&&o!=="mirror"&&u!==0&&d!=="inertia"}const jM=40;class MM extends Rm{constructor({autoplay:n=!0,delay:i=0,type:s="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:d="loop",keyframes:h,name:m,motionValue:p,element:g,...b}){var T;super(),this.stop=()=>{var D,j;this._animation&&(this._animation.stop(),(D=this.stopTimeline)==null||D.call(this)),(j=this.keyframeResolver)==null||j.cancel()},this.createdAt=an.now();const x={autoplay:n,delay:i,type:s,repeat:o,repeatDelay:u,repeatType:d,name:m,motionValue:p,element:g,...b},w=(g==null?void 0:g.KeyframeResolver)||_m;this.keyframeResolver=new w(h,(D,j,O)=>this.onKeyframesResolved(D,j,x,!O),m,p,g),(T=this.keyframeResolver)==null||T.scheduleResolve()}onKeyframesResolved(n,i,s,o){var O,V;this.keyframeResolver=void 0;const{name:u,type:d,velocity:h,delay:m,isHandoff:p,onUpdate:g}=s;this.resolvedAt=an.now();let b=!0;SM(n,u,d,h)||(b=!1,(Xi.instantAnimations||!m)&&(g==null||g(xc(n,s,i))),n[0]=n[n.length-1],Lh(s),s.repeat=0);const w={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>jM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:n},T=b&&!p&&CM(w),D=(V=(O=w.motionValue)==null?void 0:O.owner)==null?void 0:V.current;let j;if(T)try{j=new bM({...w,element:D})}catch{j=new ic(w)}else j=new ic(w);j.finished.then(()=>{this.notifyFinished()}).catch(Pn),this.pendingTimeline&&(this.stopTimeline=j.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=j}get finished(){return this._animation?this.animation.finished:this._finished}then(n,i){return this.finished.finally(n).then(()=>{})}get animation(){var n;return this._animation||((n=this.keyframeResolver)==null||n.resume(),dM()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var n;this._animation&&this.animation.cancel(),(n=this.keyframeResolver)==null||n.cancel()}}function D1(t,n,i,s=0,o=1){const u=Array.from(t).sort((p,g)=>p.sortNodePosition(g)).indexOf(n),d=t.size,h=(d-1)*s;return typeof i=="function"?i(u,d):o===1?u*s:h-u*s}const RM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function _M(t){const n=RM.exec(t);if(!n)return[,];const[,i,s,o]=n;return[`--${i??s}`,o]}function N1(t,n,i=1){const[s,o]=_M(t);if(!s)return;const u=window.getComputedStyle(n).getPropertyValue(s);if(u){const d=u.trim();return Gx(d)?parseFloat(d):d}return Em(o)?N1(o,n,i+1):o}const DM={type:"spring",stiffness:500,damping:25,restSpeed:10},NM=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),OM={type:"keyframes",duration:.8},zM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},kM=(t,{keyframes:n})=>n.length>2?OM:Vs.has(t)?t.startsWith("scale")?NM(n[1]):DM:zM;function O1(t,n){if(t!=null&&t.inherit&&n){const{inherit:i,...s}=t;return{...n,...s}}return t}function Dm(t,n){const i=(t==null?void 0:t[n])??(t==null?void 0:t.default)??t;return i!==t?O1(i,t):i}const LM=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);
vendor: 9,023 bytes, line 75
75function VM(t){for(const n in t)if(!LM.has(n))return!0;return!1}const Nm=(t,n,i,s={},o,u)=>d=>{const h=Dm(s,t)||{},m=h.delay||s.delay||0;let{elapsed:p=0}=s;p=p-En(m);const g={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...h,delay:-p,onUpdate:x=>{n.set(x),h.onUpdate&&h.onUpdate(x)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:t,motionValue:n,element:u?void 0:o};VM(h)||Object.assign(g,kM(t,g)),g.duration&&(g.duration=En(g.duration)),g.repeatDelay&&(g.repeatDelay=En(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let b=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Lh(g),g.delay===0&&(b=!0)),(Xi.instantAnimations||Xi.skipAnimations||o!=null&&o.shouldSkipAnimations)&&(b=!0,Lh(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,b&&!u&&n.get()!==void 0){const x=xc(g.keyframes,h);if(x!==void 0){dt.update(()=>{g.onUpdate(x),g.onComplete()});return}}return h.isSync?new ic(g):new MM(g)};function _0(t){const n=[{},{}];return t==null||t.values.forEach((i,s)=>{n[0][s]=i.get(),n[1][s]=i.getVelocity()}),n}function Om(t,n,i,s){if(typeof n=="function"){const[o,u]=_0(s);n=n(i!==void 0?i:t.custom,o,u)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[o,u]=_0(s);n=n(i!==void 0?i:t.custom,o,u)}return n}function wr(t,n,i){const s=t.getProps();return Om(s,n,i!==void 0?i:s.custom,t)}const z1=new Set(["width","height","top","left","right","bottom",...Ls]),D0=30,BM=t=>!isNaN(parseFloat(t));class UM{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var u;const o=an.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((u=this.events.change)==null||u.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=an.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=BM(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new Sm);const s=this.events[n].add(i);return n==="change"?()=>{s(),dt.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-s}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var n;(n=this.events.change)==null||n.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=an.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>D0)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,D0);return Wx(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var n,i;(n=this.dependents)==null||n.clear(),(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function js(t,n){return new UM(t,n)}const Vh=t=>Array.isArray(t);function HM(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,js(i))}function KM(t){return Vh(t)?t[t.length-1]||0:t}function YM(t,n){const i=wr(t,n);let{transitionEnd:s={},transition:o={},...u}=i||{};u={...u,...s};for(const d in u){const h=KM(u[d]);HM(t,d,h)}}const Gt=t=>!!(t&&t.getVelocity);function XM(t){return!!(Gt(t)&&t.add)}function Bh(t,n){const i=t.getValue("willChange");if(XM(i))return i.add(n);if(!i&&Xi.WillChange){const s=new Xi.WillChange("auto");t.addValue("willChange",s),s.add(n)}}function zm(t){return t.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const PM="framerAppearId",k1="data-"+zm(PM);function L1(t){return t.props[k1]}function qM({protectedKeys:t,needsAnimating:n},i){const s=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,s}function V1(t,n,{delay:i=0,transitionOverride:s,type:o}={}){let{transition:u,transitionEnd:d,...h}=n;const m=t.getDefaultTransition();u=u?O1(u,m):m;const p=u==null?void 0:u.reduceMotion;s&&(u=s);const g=[],b=o&&t.animationState&&t.animationState.getState()[o];for(const x in h){const w=t.getValue(x,t.latestValues[x]??null),T=h[x];if(T===void 0||b&&qM(b,x))continue;const D={delay:i,...Dm(u||{},x)},j=w.get();if(j!==void 0&&!w.isAnimating()&&!Array.isArray(T)&&T===j&&!D.velocity){dt.update(()=>w.set(T));continue}let O=!1;if(window.MotionHandoffAnimation){const F=L1(t);if(F){const Q=window.MotionHandoffAnimation(F,x,dt);Q!==null&&(D.startTime=Q,O=!0)}}Bh(t,x);const V=p??t.shouldReduceMotion;w.start(Nm(x,w,T,V&&z1.has(x)?{type:!1}:D,t,O));const U=w.animation;U&&g.push(U)}if(d){const x=()=>dt.update(()=>{d&&YM(t,d)});g.length?Promise.all(g).then(x):x()}return g}function Uh(t,n,i={}){var m;const s=wr(t,n,i.type==="exit"?(m=t.presenceContext)==null?void 0:m.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(o=i.transitionOverride);const u=s?()=>Promise.all(V1(t,s,i)):()=>Promise.resolve(),d=t.variantChildren&&t.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:b,staggerDirection:x}=o;return ZM(t,n,p,g,b,x,i)}:()=>Promise.resolve(),{when:h}=o;if(h){const[p,g]=h==="beforeChildren"?[u,d]:[d,u];return p().then(()=>g())}else return Promise.all([u(),d(i.delay)])}function ZM(t,n,i=0,s=0,o=0,u=1,d){const h=[];for(const m of t.variantChildren)m.notify("AnimationStart",n),h.push(Uh(m,n,{...d,delay:i+(typeof s=="function"?0:s)+D1(t.variantChildren,m,s,o,u)}).then(()=>m.notify("AnimationComplete",n)));return Promise.all(h)}function FM(t,n,i={}){t.notify("AnimationStart",n);let s;if(Array.isArray(n)){const o=n.map(u=>Uh(t,u,i));s=Promise.all(o)}else if(typeof n=="string")s=Uh(t,n,i);else{const o=typeof n=="function"?wr(t,n,i.custom):n;s=Promise.all(V1(t,o,i))}return s.then(()=>{t.notify("AnimationComplete",n)})}const GM={test:t=>t==="auto",parse:t=>t},B1=t=>n=>n.test(t),U1=[ks,ue,va,ki,xj,bj,GM],N0=t=>U1.find(B1(t));function QM(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Ix(t):!0}const IM=new Set(["brightness","contrast","saturate","opacity"]);function $M(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[s]=i.match(Am)||[];if(!s)return t;const o=i.replace(s,"");let u=IM.has(n)?1:0;return s!==i&&(u*=100),n+"("+u+o+")"}const WM=/\b([a-z-]*)\(.*?\)/gu,Hh={...sa,getAnimatableNone:t=>{const n=t.match(WM);return n?n.map($M).join(" "):t}},Kh={...sa,getAnimatableNone:t=>{const n=sa.parse(t);return sa.createTransformer(t)(n.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},O0={...ks,transform:Math.round},JM={rotate:ki,rotateX:ki,rotateY:ki,rotateZ:ki,scale:ku,scaleX:ku,scaleY:ku,scaleZ:ku,skew:ki,skewX:ki,skewY:ki,distance:ue,translateX:ue,translateY:ue,translateZ:ue,x:ue,y:ue,z:ue,perspective:ue,transformPerspective:ue,opacity:Wl,originX:b0,originY:b0,originZ:ue},km={borderWidth:ue,borderTopWidth:ue,borderRightWidth:ue,borderBottomWidth:ue,borderLeftWidth:ue,borderRadius:ue,borderTopLeftRadius:ue,borderTopRightRadius:ue,borderBottomRightRadius:ue,borderBottomLeftRadius:ue,width:ue,maxWidth:ue,height:ue,maxHeight:ue,top:ue,right:ue,bottom:ue,left:ue,inset:ue,insetBlock:ue,insetBlockStart:ue,insetBlockEnd:ue,insetInline:ue,insetInlineStart:ue,insetInlineEnd:ue,padding:ue,paddingTop:ue,paddingRight:ue,paddingBottom:ue,paddingLeft:ue,paddingBlock:ue,paddingBlockStart:ue,paddingBlockEnd:ue,paddingInline:ue,paddingInlineStart:ue,paddingInlineEnd:ue,margin:ue,marginTop:ue,marginRight:ue,marginBottom:ue,marginLeft:ue,marginBlock:ue,marginBlockStart:ue,marginBlockEnd:ue,marginInline:ue,marginInlineStart:ue,marginInlineEnd:ue,fontSize:ue,backgroundPositionX:ue,backgroundPositionY:ue,...JM,zIndex:O0,fillOpacity:Wl,strokeOpacity:Wl,numOctaves:O0},eR={...km,color:zt,backgroundColor:zt,outlineColor:zt,fill:zt,stroke:zt,borderColor:zt,borderTopColor:zt,borderRightColor:zt,borderBottomColor:zt,borderLeftColor:zt,filter:Hh,WebkitFilter:Hh,mask:Kh,WebkitMask:Kh},H1=t=>eR[t],tR=new Set([Hh,Kh]);function K1(t,n){let i=H1(t);return tR.has(i)||(i=sa),i.getAnimatableNone?i.getAnimatableNone(n):void 0}
vendor: 1,717 bytes, line 75
75const nR=new Set(["auto","none","0"]);function aR(t,n,i){let s=0,o;for(;s<t.length&&!o;){const u=t[s];typeof u=="string"&&!nR.has(u)&&Cs(u).values.length&&(o=t[s]),s++}if(o&&i)for(const u of n)t[u]=K1(i,o)}class iR extends _m{constructor(n,i,s,o,u){super(n,i,s,o,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let g=0;g<n.length;g++){let b=n[g];if(typeof b=="string"&&(b=b.trim(),Em(b))){const x=N1(b,i.current);x!==void 0&&(n[g]=x),g===n.length-1&&(this.finalKeyframe=b)}}if(this.resolveNoneKeyframes(),!z1.has(s)||n.length!==2)return;const[o,u]=n,d=N0(o),h=N0(u),m=v0(o),p=v0(u);if(m!==p&&Hi[s]){this.needsMeasurement=!0;return}if(d!==h)if(j0(d)&&j0(h))for(let g=0;g<n.length;g++){const b=n[g];typeof b=="string"&&(n[g]=parseFloat(b))}else Hi[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,s=[];for(let o=0;o<n.length;o++)(n[o]===null||QM(n[o]))&&s.push(o);s.length&&aR(n,s,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:s}=this;if(!n||!n.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Hi[s](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const o=i[i.length-1];o!==void 0&&n.getValue(s,o).jump(o,!1)}measureEndState(){var h;const{element:n,name:i,unresolvedKeyframes:s}=this;if(!n||!n.current)return;const o=n.getValue(i);o&&o.jump(this.measuredOrigin,!1);const u=s.length-1,d=s[u];s[u]=Hi[i](n.measureViewportBox(),window.getComputedStyle(n.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEac
vendor: 40,927 bytes, line 75
75h(([m,p])=>{n.getValue(m).set(p)}),this.resolveNoneKeyframes()}}function Y1(t,n,i){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const o=(i==null?void 0:i[t])??s.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t).filter(s=>s!=null)}const X1=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function rR(t){return Qx(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:Lm}=u1(queueMicrotask,!1),ra={x:!1,y:!1};function P1(){return ra.x||ra.y}function sR(t){return t==="x"||t==="y"?ra[t]?null:(ra[t]=!0,()=>{ra[t]=!1}):ra.x||ra.y?null:(ra.x=ra.y=!0,()=>{ra.x=ra.y=!1})}function q1(t,n){const i=Y1(t),s=new AbortController,o={passive:!0,...n,signal:s.signal};return[i,o,()=>s.abort()]}function lR(t){return!(t.pointerType==="touch"||P1())}function oR(t,n,i={}){const[s,o,u]=q1(t,i);return s.forEach(d=>{let h=!1,m=!1,p;const g=()=>{d.removeEventListener("pointerleave",T)},b=j=>{p&&(p(j),p=void 0),g()},x=j=>{h=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),m&&(m=!1,b(j))},w=()=>{h=!0,window.addEventListener("pointerup",x,o),window.addEventListener("pointercancel",x,o)},T=j=>{if(j.pointerType!=="touch"){if(h){m=!0;return}b(j)}},D=j=>{if(!lR(j))return;m=!1;const O=n(d,j);typeof O=="function"&&(p=O,d.addEventListener("pointerleave",T,o))};d.addEventListener("pointerenter",D,o),d.addEventListener("pointerdown",w,o)}),u}const Z1=(t,n)=>n?t===n?!0:Z1(t,n.parentElement):!1,Vm=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,uR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function cR(t){return uR.has(t.tagName)||t.isContentEditable===!0}const dR=new Set(["INPUT","SELECT","TEXTAREA"]);function fR(t){return dR.has(t.tagName)||t.isContentEditable===!0}const Pu=new WeakSet;function z0(t){return n=>{n.key==="Enter"&&t(n)}}function nh(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const hR=(t,n)=>{const i=t.currentTarget;if(!i)return;const s=z0(()=>{if(Pu.has(i))return;nh(i,"down");const o=z0(()=>{nh(i,"up")}),u=()=>nh(i,"cancel");i.addEventListener("keyup",o,n),i.addEventListener("blur",u,n)});i.addEventListener("keydown",s,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),n)};function k0(t){return Vm(t)&&!P1()}const L0=new WeakSet;function mR(t,n,i={}){const[s,o,u]=q1(t,i),d=h=>{const m=h.currentTarget;if(!k0(h)||L0.has(h))return;Pu.add(m),i.stopPropagation&&L0.add(h);const p=n(m,h),g=(w,T)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",x),Pu.has(m)&&Pu.delete(m),k0(w)&&typeof p=="function"&&p(w,{success:T})},b=w=>{g(w,m===window||m===document||i.useGlobalTarget||Z1(m,w.target))},x=w=>{g(w,!1)};window.addEventListener("pointerup",b,o),window.addEventListener("pointercancel",x,o)};return s.forEach(h=>{(i.useGlobalTarget?window:h).addEventListener("pointerdown",d,o),rR(h)&&(h.addEventListener("focus",p=>hR(p,o)),!cR(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),u}function Bm(t){return Qx(t)&&"ownerSVGElement"in t}const qu=new WeakMap;let Li;const F1=(t,n,i)=>(s,o)=>o&&o[0]?o[0][t+"Size"]:Bm(s)&&"getBBox"in s?s.getBBox()[n]:s[i],pR=F1("inline","width","offsetWidth"),gR=F1("block","height","offsetHeight");function yR({target:t,borderBoxSize:n}){var i;(i=qu.get(t))==null||i.forEach(s=>{s(t,{get width(){return pR(t,n)},get height(){return gR(t,n)}})})}function vR(t){t.forEach(yR)}function bR(){typeof ResizeObserver>"u"||(Li=new ResizeObserver(vR))}function xR(t,n){Li||bR();const i=Y1(t);return i.forEach(s=>{let o=qu.get(s);o||(o=new Set,qu.set(s,o)),o.add(n),Li==null||Li.observe(s)}),()=>{i.forEach(s=>{const o=qu.get(s);o==null||o.delete(n),o!=null&&o.size||Li==null||Li.unobserve(s)})}}const Zu=new Set;let Ss;function SR(){Ss=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};Zu.forEach(n=>n(t))},window.addEventListener("resize",Ss)}function wR(t){return Zu.add(t),Ss||SR(),()=>{Zu.delete(t),!Zu.size&&typeof Ss=="function"&&(window.removeEventListener("resize",Ss),Ss=void 0)}}function V0(t,n){return typeof t=="function"?wR(t):xR(t,n)}function TR(t){return Bm(t)&&t.tagName==="svg"}const ER=[...U1,zt,sa],AR=t=>ER.find(B1(t)),B0=()=>({translate:0,scale:1,origin:0,originPoint:0}),ws=()=>({x:B0(),y:B0()}),U0=()=>({min:0,max:0}),Vt=()=>({x:U0(),y:U0()}),CR=new WeakMap;function Sc(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Jl(t){return typeof t=="string"||Array.isArray(t)}const Um=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hm=["initial",...Um];function wc(t){return Sc(t.animate)||Hm.some(n=>Jl(t[n]))}function G1(t){return!!(wc(t)||t.variants)}function jR(t,n,i){for(const s in n){const o=n[s],u=i[s];if(Gt(o))t.addValue(s,o);else if(Gt(u))t.addValue(s,js(o,{owner:t}));else if(u!==o)if(t.hasValue(s)){const d=t.getValue(s);d.liveStyle===!0?d.jump(o):d.hasAnimated||d.set(o)}else{const d=t.getStaticValue(s);t.addValue(s,js(d!==void 0?d:o,{owner:t}))}}for(const s in i)n[s]===void 0&&t.removeValue(s);return n}const Yh={current:null},Q1={current:!1},MR=typeof window<"u";function RR(){if(Q1.current=!0,!!MR)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>Yh.current=t.matches;t.addEventListener("change",n),n()}else Yh.current=!1}const H0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let rc={};function I1(t){rc=t}function _R(){return rc}class DR{scrapeMotionValuesFromProps(n,i,s){return{}}constructor({parent:n,props:i,presenceContext:s,reducedMotionConfig:o,skipAnimations:u,blockInitialAnimation:d,visualState:h},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=_m,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=an.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,dt.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=h;this.latestValues=p,this.baseTarget={...p},this.initialValues=i.initial?{...p}:{},this.renderState=g,this.parent=n,this.props=i,this.presenceContext=s,this.depth=n?n.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=u,this.options=m,this.blockInitialAnimation=!!d,this.isControllingVariants=wc(i),this.isVariantNode=G1(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:b,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const w in x){const T=x[w];p[w]!==void 0&&Gt(T)&&T.set(p[w])}}mount(n){var i,s;if(this.hasBeenMounted)for(const o in this.initialValues)(i=this.values.get(o))==null||i.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=n,CR.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,u)=>this.bindToMotionValue(u,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Q1.current||RR(),this.shouldReduceMotion=Yh.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(s=this.parent)==null||s.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var n;this.projection&&this.projection.unmount(),Pi(this.notifyUpdate),Pi(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(n=this.parent)==null||n.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const s=this.features[i];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,i){if(this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)(),i.accelerate&&_1.has(n)&&this.current instanceof HTMLElement){const{factory:d,keyframes:h,times:m,ease:p,duration:g}=i.accelerate,b=new M1({element:this.current,name:n,keyframes:h,times:m,ease:p,duration:En(g)}),x=d(b);this.valueSubscriptions.set(n,()=>{x(),b.cancel()});return}const s=Vs.has(n);s&&this.onBindTransform&&this.onBindTransform();const o=i.on("change",d=>{this.latestValues[n]=d,this.props.onUpdate&&dt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{o(),u&&u(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in rc){const i=rc[n];if(!i)continue;const{isEnabled:s,Feature:o}=i;if(!this.features[n]&&o&&s(this.props)&&(this.features[n]=new o(this)),this.features[n]){const u=this.features[n];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Vt()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<H0.length;s++){const o=H0[s];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const u="on"+o,d=n[u];d&&(this.propEventSubscriptions[o]=this.on(o,d))}this.prevMotionValues=jR(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]: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(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const s=this.values.get(n);i!==s&&(s&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let s=this.values.get(n);return s===void 0&&i!==void 0&&(s=js(i===null?void 0:i,{owner:this}),this.addValue(n,s)),s}readValue(n,i){let s=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return s!=null&&(typeof s=="string"&&(Gx(s)||Ix(s))?s=parseFloat(s):!AR(s)&&sa.test(i)&&(s=K1(n,i)),this.setBaseTarget(n,Gt(s)?s.get():s)),Gt(s)?s.get():s}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){var u;const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const d=Om(this.props,i,(u=this.presenceContext)==null?void 0:u.custom);d&&(s=d[n])}if(i&&s!==void 0)return s;const o=this.getBaseTargetFromProps(this.props,n);return o!==void 0&&!Gt(o)?o:this.initialValues[n]!==void 0&&s===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new Sm),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){Lm.render(this.render)}}class $1 extends DR{constructor(){super(...arguments),this.KeyframeResolver=iR}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){const s=n.style;return s?s[i]:void 0}removeValueFromRenderState(n,{vars:i,style:s}){delete i[n],delete s[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Gt(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class Fi{constructor(n){this.isMounted=!1,this.node=n}update(){}}function W1({top:t,left:n,right:i,bottom:s}){return{x:{min:n,max:i},y:{min:t,max:s}}}function NR({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function OR(t,n){if(!n)return t;const i=n({x:t.left,y:t.top}),s=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function ah(t){return t===void 0||t===1}function Xh({scale:t,scaleX:n,scaleY:i}){return!ah(t)||!ah(n)||!ah(i)}function yr(t){return Xh(t)||J1(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function J1(t){return K0(t.x)||K0(t.y)}function K0(t){return t&&t!=="0%"}function sc(t,n,i){const s=t-i,o=n*s;return i+o}function Y0(t,n,i,s,o){return o!==void 0&&(t=sc(t,o,s)),sc(t,i,s)+n}function Ph(t,n=0,i=1,s,o){t.min=Y0(t.min,n,i,s,o),t.max=Y0(t.max,n,i,s,o)}function eS(t,{x:n,y:i}){Ph(t.x,n.translate,n.scale,n.originPoint),Ph(t.y,i.translate,i.scale,i.originPoint)}const X0=.999999999999,P0=1.0000000000001;function zR(t,n,i,s=!1){var h;const o=i.length;if(!o)return;n.x=n.y=1;let u,d;for(let m=0;m<o;m++){u=i[m],d=u.projectionDelta;const{visualElement:p}=u.options;p&&p.props.style&&p.props.style.display==="contents"||(s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(ga(t.x,-u.scroll.offset.x),ga(t.y,-u.scroll.offset.y)),d&&(n.x*=d.x.scale,n.y*=d.y.scale,eS(t,d)),s&&yr(u.latestValues)&&Fu(t,u.latestValues,(h=u.layout)==null?void 0:h.layoutBox))}n.x<P0&&n.x>X0&&(n.x=1),n.y<P0&&n.y>X0&&(n.y=1)}function ga(t,n){t.min+=n,t.max+=n}function q0(t,n,i,s,o=.5){const u=vt(t.min,t.max,o);Ph(t,n,i,u,s)}function Z0(t,n){return typeof t=="string"?parseFloat(t)/100*(n.max-n.min):t}function Fu(t,n,i){const s=i??t;q0(t.x,Z0(n.x,s.x),n.scaleX,n.scale,n.originX),q0(t.y,Z0(n.y,s.y),n.scaleY,n.scale,n.originY)}function tS(t,n){return W1(OR(t.getBoundingClientRect(),n))}function kR(t,n,i){const s=tS(t,i),{scroll:o}=n;return o&&(ga(s.x,o.offset.x),ga(s.y,o.offset.y)),s}const LR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VR=Ls.length;function BR(t,n,i){let s="",o=!0;for(let u=0;u<VR;u++){const d=Ls[u],h=t[d];if(h===void 0)continue;let m=!0;if(typeof h=="number")m=h===(d.startsWith("scale")?1:0);else{const p=parseFloat(h);m=d.startsWith("scale")?p===1:p===0}if(!m||i){const p=X1(h,km[d]);if(!m){o=!1;const g=LR[d]||d;s+=`${g}(${p}) `}i&&(n[d]=p)}}return s=s.trim(),i?s=i(n,o?"":s):o&&(s="none"),s}function Km(t,n,i){const{style:s,vars:o,transformOrigin:u}=t;let d=!1,h=!1;for(const m in n){const p=n[m];if(Vs.has(m)){d=!0;continue}else if(d1(m)){o[m]=p;continue}else{const g=X1(p,km[m]);m.startsWith("origin")?(h=!0,u[m]=g):s[m]=g}}if(n.transform||(d||i?s.transform=BR(n,t.transform,i):s.transform&&(s.transform="none")),h){const{originX:m="50%",originY:p="50%",originZ:g=0}=u;s.transformOrigin=`${m} ${p} ${g}`}}function nS(t,{style:n,vars:i},s,o){const u=t.style;let d;for(d in n)u[d]=n[d];o==null||o.applyProjectionStyles(u,s);for(d in i)u.setProperty(d,i[d])}function F0(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const Vl={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(ue.test(t))t=parseFloat(t);else return t;const i=F0(t,n.target.x),s=F0(t,n.target.y);return`${i}% ${s}%`}},UR={correct:(t,{treeScale:n,projectionDelta:i})=>{const s=t,o=sa.parse(t);if(o.length>5)return s;const u=sa.createTransformer(t),d=typeof o[0]!="number"?1:0,h=i.x.scale*n.x,m=i.y.scale*n.y;o[0+d]/=h,o[1+d]/=m;const p=vt(h,m,.5);return typeof o[2+d]=="number"&&(o[2+d]/=p),typeof o[3+d]=="number"&&(o[3+d]/=p),u(o)}},qh={borderRadius:{...Vl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Vl,borderTopRightRadius:Vl,borderBottomLeftRadius:Vl,borderBottomRightRadius:Vl,boxShadow:UR};function aS(t,{layout:n,layoutId:i}){return Vs.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!qh[t]||t==="opacity")}function Ym(t,n,i){var d;const s=t.style,o=n==null?void 0:n.style,u={};if(!s)return u;for(const h in s)(Gt(s[h])||o&&Gt(o[h])||aS(h,t)||((d=i==null?void 0:i.getValue(h))==null?void 0:d.liveStyle)!==void 0)&&(u[h]=s[h]);return u}function HR(t){return window.getComputedStyle(t)}class KR extends $1{constructor(){super(...arguments),this.type="html",this.renderInstance=nS}readValueFromInstance(n,i){var s;if(Vs.has(i))return(s=this.projection)!=null&&s.isProjecting?Dh(i):sM(n,i);{const o=HR(n),u=(d1(i)?o.getPropertyValue(i):o[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(n,{transformPagePoint:i}){return tS(n,i)}build(n,i,s){Km(n,i,s.transformTemplate)}scrapeMotionValuesFromProps(n,i,s){return Ym(n,i,s)}}const YR={offset:"stroke-dashoffset",array:"stroke-dasharray"},XR={offset:"strokeDashoffset",array:"strokeDasharray"};function PR(t,n,i=1,s=0,o=!0){t.pathLength=1;const u=o?YR:XR;t[u.offset]=`${-s}`,t[u.array]=`${n} ${i}`}const qR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function iS(t,{attrX:n,attrY:i,attrScale:s,pathLength:o,pathSpacing:u=1,pathOffset:d=0,...h},m,p,g){if(Km(t,h,p),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:b,style:x}=t;b.transform&&(x.transform=b.transform,delete b.transform),(x.transform||b.transformOrigin)&&(x.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),x.transform&&(x.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete b.transformBox);for(const w of qR)b[w]!==void 0&&(x[w]=b[w],delete b[w]);n!==void 0&&(b.x=n),i!==void 0&&(b.y=i),s!==void 0&&(b.scale=s),o!==void 0&&PR(b,o,u,d,!1)}const rS=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"]),sS=t=>typeof t=="string"&&t.toLowerCase()==="svg";function ZR(t,n,i,s){nS(t,n,void 0,s);for(const o in n.attrs)t.setAttribute(rS.has(o)?o:zm(o),n.attrs[o])}function lS(t,n,i){const s=Ym(t,n,i);for(const o in t)if(Gt(t[o])||Gt(n[o])){const u=Ls.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;s[u]=t[o]}return s}class FR extends $1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Vt}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(Vs.has(i)){const s=H1(i);return s&&s.default||0}return i=rS.has(i)?i:zm(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,s){return lS(n,i,s)}build(n,i,s){iS(n,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(n,i,s,o){ZR(n,i,s,o)}mount(n){this.isSVGTag=sS(n.tagName),super.mount(n)}}const GR=Hm.length;function oS(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?oS(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<GR;i++){const s=Hm[i],o=t.props[s];(Jl(o)||o===!1)&&(n[s]=o)}return n}function uS(t,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(n[s]!==t[s])return!1;return!0}const QR=[...Um].reverse(),IR=Um.length;function $R(t){return n=>Promise.all(n.map(({animation:i,options:s})=>FM(t,i,s)))}function WR(t){let n=$R(t),i=G0(),s=!0,o=!1;const u=p=>(g,b)=>{var w;const x=wr(t,b,p==="exit"?(w=t.presenceContext)==null?void 0:w.custom:void 0);if(x){const{transition:T,transitionEnd:D,...j}=x;g={...g,...j,...D}}return g};function d(p){n=p(t)}function h(p){const{props:g}=t,b=oS(t.parent)||{},x=[],w=new Set;let T={},D=1/0;for(let O=0;O<IR;O++){const V=QR[O],U=i[V],F=g[V]!==void 0?g[V]:b[V],Q=Jl(F),K=V===p?U.isActive:null;K===!1&&(D=O);let pe=F===b[V]&&F!==g[V]&&Q;if(pe&&(s||o)&&t.manuallyAnimateOnMount&&(pe=!1),U.protectedKeys={...T},!U.isActive&&K===null||!F&&!U.prevProp||Sc(F)||typeof F=="boolean")continue;if(V==="exit"&&U.isActive&&K!==!0){U.prevResolvedValues&&(T={...T,...U.prevResolvedValues});continue}const M=JR(U.prevProp,F);let ce=M||V===p&&U.isActive&&!pe&&Q||O>D&&Q,$=!1;const Se=Array.isArray(F)?F:[F];let ee=Se.reduce(u(V),{});K===!1&&(ee={});const{prevResolvedValues:qe={}}=U,Ae={...qe,...ee},je=W=>{ce=!0,w.has(W)&&($=!0,w.delete(W)),U.needsAnimating[W]=!0;const ae=t.getValue(W);ae&&(ae.liveStyle=!1)};for(const W in Ae){const ae=ee[W],ve=qe[W];if(T.hasOwnProperty(W))continue;let be=!1;Vh(ae)&&Vh(ve)?be=!uS(ae,ve):be=ae!==ve,be?ae!=null?je(W):w.add(W):ae!==void 0&&w.has(W)?je(W):U.protectedKeys[W]=!0}U.prevProp=F,U.prevResolvedValues=ee,U.isActive&&(T={...T,...ee}),(s||o)&&t.blockInitialAnimation&&(ce=!1);const H=pe&&M;ce&&(!H||$)&&x.push(...Se.map(W=>{const ae={type:V};if(typeof W=="string"&&(s||o)&&!H&&t.manuallyAnimateOnMount&&t.parent){const{parent:ve}=t,be=wr(ve,W);if(ve.enteringChildren&&be){const{delayChildren:Me}=be.transition||{};ae.delay=D1(ve.enteringChildren,t,Me)}}return{animation:W,options:ae}}))}if(w.size){const O={};if(typeof g.initial!="boolean"){const V=wr(t,Array.isArray(g.initial)?g.initial[0]:g.initial);V&&V.transition&&(O.transition=V.transition)}w.forEach(V=>{const U=t.getBaseTarget(V),F=t.getValue(V);F&&(F.liveStyle=!0),O[V]=U??null}),x.push({animation:O})}let j=!!x.length;return s&&(g.initial===!1||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(j=!1),s=!1,o=!1,j?n(x):Promise.resolve()}function m(p,g){var x;if(i[p].isActive===g)return Promise.resolve();(x=t.variantChildren)==null||x.forEach(w=>{var T;return(T=w.animationState)==null?void 0:T.setActive(p,g)}),i[p].isActive=g;const b=h(p);for(const w in i)i[w].protectedKeys={};return b}return{animateChanges:h,setActive:m,setAnimateFunction:d,getState:()=>i,reset:()=>{i=G0(),o=!0}}}function JR(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!uS(n,t):!1}function fr(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function G0(){return{animate:fr(!0),whileInView:fr(),whileHover:fr(),whileTap:fr(),whileDrag:fr(),whileFocus:fr(),exit:fr()}}function Zh(t,n){t.min=n.min,t.max=n.max}function ta(t,n){Zh(t.x,n.x),Zh(t.y,n.y)}function Q0(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}const cS=1e-4,e_=1-cS,t_=1+cS,dS=.01,n_=0-dS,a_=0+dS;function rn(t){return t.max-t.min}function i_(t,n,i){return Math.abs(t-n)<=i}function I0(t,n,i,s=.5){t.origin=s,t.originPoint=vt(n.min,n.max,t.origin),t.scale=rn(i)/rn(n),t.translate=vt(i.min,i.max,t.origin)-t.originPoint,(t.scale>=e_&&t.scale<=t_||isNaN(t.scale))&&(t.scale=1),(t.translate>=n_&&t.translate<=a_||isNaN(t.translate))&&(t.translate=0)}function ql(t,n,i,s){I0(t.x,n.x,i.x,s?s.originX:void 0),I0(t.y,n.y,i.y,s?s.originY:void 0)}function $0(t,n,i,s=0){const o=s?vt(i.min,i.max,s):i.min;t.min=o+n.min,t.max=t.min+rn(n)}function r_(t,n,i,s){$0(t.x,n.x,i.x,s==null?void 0:s.x),$0(t.y,n.y,i.y,s==null?void 0:s.y)}function W0(t,n,i,s=0){const o=s?vt(i.min,i.max,s):i.min;t.min=n.min-o,t.max=t.min+rn(n)}function lc(t,n,i,s){W0(t.x,n.x,i.x,s==null?void 0:s.x),W0(t.y,n.y,i.y,s==null?void 0:s.y)}function J0(t,n,i,s,o){return t-=n,t=sc(t,1/i,s),o!==void 0&&(t=sc(t,1/o,s)),t}function s_(t,n=0,i=1,s=.5,o,u=t,d=t){if(va.test(n)&&(n=parseFloat(n),n=vt(d.min,d.max,n/100)-d.min),typeof n!="number")return;let h=vt(u.min,u.max,s);t===u&&(h-=n),t.min=J0(t.min,n,i,h,o),t.max=J0(t.max,n,i,h,o)}function eb(t,n,[i,s,o],u,d){s_(t,n[i],n[s],n[o],n.scale,u,d)}const l_=["x","scaleX","originX"],o_=["y","scaleY","originY"];function tb(t,n,i,s){eb(t.x,n,l_,i?i.x:void 0,s?s.x:void 0),eb(t.y,n,o_,i?i.y:void 0,s?s.y:void 0)}function nb(t){return t.translate===0&&t.scale===1}function fS(t){return nb(t.x)&&nb(t.y)}function ab(t,n){return t.min===n.min&&t.max===n.max}function u_(t,n){return ab(t.x,n.x)&&ab(t.y,n.y)}function ib(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function hS(t,n){return ib(t.x,n.x)&&ib(t.y,n.y)}function rb(t){return rn(t.x)/rn(t.y)}function sb(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}function pa(t){return[t("x"),t("y")]}function c_(t,n,i){let s="";const o=t.x.translate/n.x,u=t.y.translate/n.y,d=(i==null?void 0:i.z)||0;if((o||u||d)&&(s=`translate3d(${o}px, ${u}px, ${d}px) `),(n.x!==1||n.y!==1)&&(s+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:p,rotate:g,rotateX:b,rotateY:x,skewX:w,skewY:T}=i;p&&(s=`perspective(${p}px) ${s}`),g&&(s+=`rotate(${g}deg) `),b&&(s+=`rotateX(${b}deg) `),x&&(s+=`rotateY(${x}deg) `),w&&(s+=`skewX(${w}deg) `),T&&(s+=`skewY(${T}deg) `)}const h=t.x.scale*n.x,m=t.y.scale*n.y;return(h!==1||m!==1)&&(s+=`scale(${h}, ${m})`),s||"none"}const mS=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],d_=mS.length,lb=t=>typeof t=="string"?parseFloat(t):t,ob=t=>typeof t=="number"||ue.test(t);function f_(t,n,i,s,o,u){o?(t.opacity=vt(0,i.opacity??1,h_(s)),t.opacityExit=vt(n.opacity??1,0,m_(s))):u&&(t.opacity=vt(n.opacity??1,i.opacity??1,s));for(let d=0;d<d_;d++){const h=mS[d];let m=ub(n,h),p=ub(i,h);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||ob(m)===ob(p)?(t[h]=Math.max(vt(lb(m),lb(p),s),0),(va.test(p)||va.test(m))&&(t[h]+="%")):t[h]=p}(n.rotate||i.rotate)&&(t.rotate=vt(n.rotate||0,i.rotate||0,s))}function ub(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const h_=pS(0,.5,r1),m_=pS(.5,.95,Pn);function pS(t,n,i){return s=>s<t?0:s>n?1:i($l(t,n,s))}function p_(t,n,i){const s=Gt(t)?t:js(t);return s.start(Nm("",s,n,i)),s.animation}function eo(t,n,i,s={passive:!0}){return t.addEventListener(n,i,s),()=>t.removeEventListener(n,i)}const g_=(t,n)=>t.depth-n.depth;class y_{constructor(){this.children=[],this.isDirty=!1}add(n){bm(this.children,n),this.isDirty=!0}remove(n){ec(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(g_),this.isDirty=!1,this.children.forEach(n)}}function v_(t,n){const i=an.now(),s=({timestamp:o})=>{const u=o-i;u>=n&&(Pi(s),t(u-n))};return dt.setup(s,!0),()=>Pi(s)}function Gu(t){return Gt(t)?t.get():t}class b_{constructor(){this.members=[]}add(n){bm(this.members,n);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===n||s===this.lead||s===this.prevLead)continue;const o=s.instance;(!o||o.isConnected===!1)&&!s.snapshot&&(ec(this.members,s),s.unmount())}n.scheduleRender()}remove(n){if(ec(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){var i;for(let s=this.members.indexOf(n)-1;s>=0;s--){const o=this.members[s];if(o.isPresent!==!1&&((i=o.instance)==null?void 0:i.isConnected)!==!1)return this.promote(o),!0}return!1}promote(n,i){var o;const s=this.lead;if(n!==s&&(this.prevLead=s,this.lead=n,n.show(),s)){s.updateSnapshot(),n.scheduleRender();const{layoutDependency:u}=s.options,{layoutDependency:d}=n.options;(u===void 0||u!==d)&&(n.resumeFrom=s,i&&(s.preserveOpacity=!0),s.snapshot&&(n.snapshot=s.snapshot,n.snapshot.latestValues=s.animationValues||s.latestValues),(o=n.root)!=null&&o.isUpdating&&(n.isLayoutDirty=!0)),n.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(n=>{var i,s,o,u,d;(s=(i=n.options).onExitComplete)==null||s.call(i),(d=(o=n.resumingFrom)==null?void 0:(u=o.options).onExitComplete)==null||d.call(u)})}scheduleRender(){this.members.forEach(n=>n.instance&&n.scheduleRender(!1))}removeLeadSnapshot(){var n;(n=this.lead)!=null&&n.snapshot&&(this.lead.snapshot=void 0)}}const Qu={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ih=["","X","Y","Z"],x_=1e3;let S_=0;function rh(t,n,i,s){const{latestValues:o}=n;o[t]&&(i[t]=o[t],n.setStaticValue(t,0),s&&(s[t]=0))}function gS(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=L1(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:o,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",dt,!(o||u))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&gS(s)}function yS({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(d={},h=n==null?void 0:n()){this.id=S_++,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(E_),this.nodes.forEach(__),this.nodes.forEach(D_),this.nodes.forEach(A_)},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 m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new y_)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new Sm),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const m=this.eventHandlers.get(d);m&&m.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=Bm(d)&&!TR(d),this.instance=d;const{layoutId:h,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||h)&&(this.isLayoutDirty=!0),t){let g,b=0;const x=()=>this.root.updateBlockedByResize=!1;dt.read(()=>{b=window.innerWidth}),t(d,()=>{const w=window.innerWidth;w!==b&&(b=w,this.root.updateBlockedByResize=!0,g&&g(),g=v_(x,250),Qu.hasAnimatedSinceResize&&(Qu.hasAnimatedSinceResize=!1,this.nodes.forEach(fb)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&p&&(h||m)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:b,hasRelativeLayoutChanged:x,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const T=this.options.transition||p.getDefaultTransition()||L_,{onLayoutAnimationStart:D,onLayoutAnimationComplete:j}=p.getProps(),O=!this.targetLayout||!hS(this.targetLayout,w),V=!b&&x;if(this.options.layoutRoot||this.resumeFrom||V||b&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const U={...Dm(T,"layout"),onPlay:D,onComplete:j};(p.shouldReduceMotion||this.options.layoutRoot)&&(U.delay=0,U.type=!1),this.startAnimation(U),this.setAnimationOrigin(g,V)}else b||fb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}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(),Pi(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(N_),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&&gS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const b=this.path[g];b.shouldResetTransform=!0,(typeof b.latestValues.x=="string"||typeof b.latestValues.y=="string")&&(b.isLayoutDirty=!0),b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:h,layout:m}=this.options;if(h===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const m=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),m&&this.nodes.forEach(j_),this.nodes.forEach(cb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(db);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(M_),this.nodes.forEach(R_),this.nodes.forEach(w_),this.nodes.forEach(T_)):this.nodes.forEach(db),this.clearAllSnapshots();const h=an.now();Zt.delta=Sa(0,1e3/60,h-Zt.timestamp),Zt.timestamp=h,Zt.isProcessing=!0,If.update.process(Zt),If.preRender.process(Zt),If.render.process(Zt),Zt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Lm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(C_),this.sharedNodes.forEach(O_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,dt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){dt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!rn(this.snapshot.measuredBox.x)&&!rn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Vt()),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 m=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:m,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!o)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!fS(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;d&&this.instance&&(h||yr(this.latestValues)||g)&&(o(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let m=this.removeElementScroll(h);return d&&(m=this.removeTransform(m)),V_(m),{animationId:this.root.animationId,measuredBox:h,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){var p;const{visualElement:d}=this.options;if(!d)return Vt();const h=d.measureViewportBox();if(!(((p=this.scroll)==null?void 0:p.wasRoot)||this.path.some(B_))){const{scroll:g}=this.root;g&&(ga(h.x,g.offset.x),ga(h.y,g.offset.y))}return h}removeElementScroll(d){var m;const h=Vt();if(ta(h,d),(m=this.scroll)!=null&&m.wasRoot)return h;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:b,options:x}=g;g!==this.root&&b&&x.layoutScroll&&(b.wasRoot&&ta(h,d),ga(h.x,b.offset.x),ga(h.y,b.offset.y))}return h}applyTransform(d,h=!1,m){var g,b;const p=m||Vt();ta(p,d);for(let x=0;x<this.path.length;x++){const w=this.path[x];!h&&w.options.layoutScroll&&w.scroll&&w!==w.root&&(ga(p.x,-w.scroll.offset.x),ga(p.y,-w.scroll.offset.y)),yr(w.latestValues)&&Fu(p,w.latestValues,(g=w.layout)==null?void 0:g.layoutBox)}return yr(this.latestValues)&&Fu(p,this.latestValues,(b=this.layout)==null?void 0:b.layoutBox),p}removeTransform(d){var m;const h=Vt();ta(h,d);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!yr(g.latestValues))continue;let b;g.instance&&(Xh(g.latestValues)&&g.updateSnapshot(),b=Vt(),ta(b,g.measurePageBox())),tb(h,g.latestValues,(m=g.snapshot)==null?void 0:m.layoutBox,b)}return yr(this.latestValues)&&tb(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 w;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==h;if(!(d||m&&this.isSharedProjectionDirty||this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:b}=this.options;if(!this.layout||!(g||b))return;this.resolvedRelativeTargetAt=Zt.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Vt(),this.targetWithTransforms=Vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r_(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ta(this.target,this.layout.layoutBox),eS(this.target,this.targetDelta)):ta(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Xh(this.parent.latestValues)||J1(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,m){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),lc(this.relativeTargetOrigin,h,m,this.options.layoutAnchor||void 0),ta(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var T;const d=this.getLead(),h=!!this.resumingFrom||this!==d;let m=!0;if((this.isProjectionDirty||(T=this.parent)!=null&&T.isProjectionDirty)&&
vendor: 5,333 bytes, line 75
75(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Zt.timestamp&&(m=!1),m)return;const{layout:p,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||!(p||g))return;ta(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,x=this.treeScale.y;zR(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=Vt());const{target:w}=d;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Q0(this.prevProjectionDelta.x,this.projectionDelta.x),Q0(this.prevProjectionDelta.y,this.projectionDelta.y)),ql(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==x||!sb(this.projectionDelta.x,this.prevProjectionDelta.x)||!sb(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),d){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ws(),this.projectionDelta=ws(),this.projectionDeltaWithTransform=ws()}setAnimationOrigin(d,h=!1){const m=this.snapshot,p=m?m.latestValues:{},g={...this.latestValues},b=ws();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const x=Vt(),w=m?m.source:void 0,T=this.layout?this.layout.source:void 0,D=w!==T,j=this.getStack(),O=!j||j.members.length<=1,V=!!(D&&!O&&this.options.crossfade===!0&&!this.path.some(k_));this.animationProgress=0;let U;this.mixTargetDelta=F=>{const Q=F/1e3;hb(b.x,d.x,Q),hb(b.y,d.y,Q),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(lc(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),z_(this.relativeTarget,this.relativeTargetOrigin,x,Q),U&&u_(this.relativeTarget,U)&&(this.isProjectionDirty=!1),U||(U=Vt()),ta(U,this.relativeTarget)),D&&(this.animationValues=g,f_(g,p,this.latestValues,Q,V,O)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Q},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var h,m,p;this.notifyListeners("animationStart"),(h=this.currentAnimation)==null||h.stop(),(p=(m=this.resumingFrom)==null?void 0:m.currentAnimation)==null||p.stop(),this.pendingAnimation&&(Pi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=dt.update(()=>{Qu.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=js(0)),this.motionValue.jump(0,!1),this.currentAnimation=p_(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(x_),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:m,layout:p,latestValues:g}=d;if(!(!h||!m||!p)){if(this!==d&&this.layout&&p&&vS(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||Vt();const b=rn(this.layout.layoutBox.x);m.x.min=d.target.x.min,m.x.max=m.x.min+b;const x=rn(this.layout.layoutBox.y);m.y.min=d.target.y.min,m.y.max=m.y.min+x}ta(h,m),Fu(h,g),ql(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new b_),this.sharedNodes.get(d).add(h);const p=h.options.initialPromotionConfig;h.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.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:m}={}){const p=this.getStack();p&&p.promote(this,m),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: 31,795 bytes, line 75
75resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:m}=d;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(h=!0),!h)return;const p={};m.z&&rh("z",d,p,this.animationValues);for(let g=0;g<ih.length;g++)rh(`rotate${ih[g]}`,d,p,this.animationValues),rh(`skew${ih[g]}`,d,p,this.animationValues);d.render();for(const g in p)d.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=Gu(h==null?void 0:h.pointerEvents)||"",d.transform=m?m(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=Gu(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!yr(this.latestValues)&&(d.transform=m?m({},""):"none",this.hasProjected=!1);return}d.visibility="";const g=p.animationValues||p.latestValues;this.applyTransformsToTarget();let b=c_(this.projectionDeltaWithTransform,this.treeScale,g);m&&(b=m(g,b)),d.transform=b;const{x,y:w}=this.projectionDelta;d.transformOrigin=`${x.origin*100}% ${w.origin*100}% 0`,p.animationValues?d.opacity=p===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:d.opacity=p===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const T in qh){if(g[T]===void 0)continue;const{correct:D,applyTo:j,isCSSVariable:O}=qh[T],V=b==="none"?g[T]:D(g[T],p);if(j){const U=j.length;for(let F=0;F<U;F++)d[j[F]]=V}else O?this.options.visualElement.renderState.vars[T]=V:d[T]=V}this.options.layoutId&&(d.pointerEvents=p===this?Gu(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(cb),this.root.sharedNodes.clear()}}}function w_(t){t.updateLayout()}function T_(t){var i;const n=((i=t.resumeFrom)==null?void 0:i.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:o}=t.layout,{animationType:u}=t.options,d=n.source!==t.layout.source;if(u==="size")pa(b=>{const x=d?n.measuredBox[b]:n.layoutBox[b],w=rn(x);x.min=s[b].min,x.max=x.min+w});else if(u==="x"||u==="y"){const b=u==="x"?"y":"x";Zh(d?n.measuredBox[b]:n.layoutBox[b],s[b])}else vS(u,n.layoutBox,s)&&pa(b=>{const x=d?n.measuredBox[b]:n.layoutBox[b],w=rn(s[b]);x.max=x.min+w,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[b].max=t.relativeTarget[b].min+w)});const h=ws();ql(h,s,n.layoutBox);const m=ws();d?ql(m,t.applyTransform(o,!0),n.measuredBox):ql(m,s,n.layoutBox);const p=!fS(h);let g=!1;if(!t.resumeFrom){const b=t.getClosestProjectingParent();if(b&&!b.resumeFrom){const{snapshot:x,layout:w}=b;if(x&&w){const T=t.options.layoutAnchor||void 0,D=Vt();lc(D,n.layoutBox,x.layoutBox,T);const j=Vt();lc(j,s,w.layoutBox,T),hS(D,j)||(g=!0),b.options.layoutRoot&&(t.relativeTarget=j,t.relativeTargetOrigin=D,t.relativeParent=b)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:m,layoutDelta:h,hasLayoutChanged:p,hasRelativeLayoutChanged:g})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function E_(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function A_(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function C_(t){t.clearSnapshot()}function cb(t){t.clearMeasurements()}function j_(t){t.isLayoutDirty=!0,t.updateLayout()}function db(t){t.isLayoutDirty=!1}function M_(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function R_(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function fb(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function __(t){t.resolveTargetDelta()}function D_(t){t.calcProjection()}function N_(t){t.resetSkewAndRotation()}function O_(t){t.removeLeadSnapshot()}function hb(t,n,i){t.translate=vt(n.translate,0,i),t.scale=vt(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function mb(t,n,i,s){t.min=vt(n.min,i.min,s),t.max=vt(n.max,i.max,s)}function z_(t,n,i,s){mb(t.x,n.x,i.x,s),mb(t.y,n.y,i.y,s)}function k_(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const L_={duration:.45,ease:[.4,0,.1,1]},pb=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),gb=pb("applewebkit/")&&!pb("chrome/")?Math.round:Pn;function yb(t){t.min=gb(t.min),t.max=gb(t.max)}function V_(t){yb(t.x),yb(t.y)}function vS(t,n,i){return t==="position"||t==="preserve-aspect"&&!i_(rb(n),rb(i),.2)}function B_(t){var n;return t!==t.root&&((n=t.scroll)==null?void 0:n.wasRoot)}const U_=yS({attachResizeListener:(t,n)=>eo(t,"resize",n),measureScroll:()=>{var t,n;return{x:document.documentElement.scrollLeft||((t=document.body)==null?void 0:t.scrollLeft)||0,y:document.documentElement.scrollTop||((n=document.body)==null?void 0:n.scrollTop)||0}},checkIsScrollRoot:()=>!0}),sh={current:void 0},bS=yS({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!sh.current){const t=new U_({});t.mount(window),t.setOptions({layoutScroll:!0}),sh.current=t}return sh.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),xS=E.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function H_(t=!0){const n=E.useContext(vm);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:o}=n,u=E.useId();E.useEffect(()=>{if(t)return o(u)},[t]);const d=E.useCallback(()=>t&&s&&s(u),[u,s,t]);return!i&&s?[!1,d]:[!0]}const SS=E.createContext({strict:!1}),vb={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 bb=!1;function K_(){if(bb)return;const t={};for(const n in vb)t[n]={isEnabled:i=>vb[n].some(s=>!!i[s])};I1(t),bb=!0}function wS(){return K_(),_R()}function Y_(t){const n=wS();for(const i in t)n[i]={...n[i],...t[i]};I1(n)}const X_=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function oc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||X_.has(t)}let TS=t=>!oc(t);function P_(t){typeof t=="function"&&(TS=n=>n.startsWith("on")?!oc(n):t(n))}try{P_(require("@emotion/is-prop-valid").default)}catch{}function q_(t,n,i){const s={};for(const o in t)o==="values"&&typeof t.values=="object"||Gt(t[o])||(TS(o)||i===!0&&oc(o)||!n&&!oc(o)||t.draggable&&o.startsWith("onDrag"))&&(s[o]=t[o]);return s}const Tc=E.createContext({});function Z_(t,n){if(wc(t)){const{initial:i,animate:s}=t;return{initial:i===!1||Jl(i)?i:void 0,animate:Jl(s)?s:void 0}}return t.inherit!==!1?n:{}}function F_(t){const{initial:n,animate:i}=Z_(t,E.useContext(Tc));return E.useMemo(()=>({initial:n,animate:i}),[xb(n),xb(i)])}function xb(t){return Array.isArray(t)?t.join(" "):t}const Xm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ES(t,n,i){for(const s in n)!Gt(n[s])&&!aS(s,i)&&(t[s]=n[s])}function G_({transformTemplate:t},n){return E.useMemo(()=>{const i=Xm();return Km(i,n,t),Object.assign({},i.vars,i.style)},[n])}function Q_(t,n){const i=t.style||{},s={};return ES(s,i,t),Object.assign(s,G_(t,n)),s}function I_(t,n){const i={},s=Q_(t,n);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=s,i}const AS=()=>({...Xm(),attrs:{}});function $_(t,n,i,s){const o=E.useMemo(()=>{const u=AS();return iS(u,n,sS(s),t.transformTemplate,t.style),{...u.attrs,style:{...u.style}}},[n]);if(t.style){const u={};ES(u,t.style,t),o.style={...u,...o.style}}return o}const W_=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Pm(t){return typeof t!="string"||t.includes("-")?!1:!!(W_.indexOf(t)>-1||/[A-Z]/u.test(t))}function J_(t,n,i,{latestValues:s},o,u=!1,d){const m=(d??Pm(t)?$_:I_)(n,s,o,t),p=q_(n,typeof t=="string",u),g=t!==E.Fragment?{...p,...m,ref:i}:{},{children:b}=n,x=E.useMemo(()=>Gt(b)?b.get():b,[b]);return E.createElement(t,{...g,children:x})}function eD({scrapeMotionValuesFromProps:t,createRenderState:n},i,s,o){return{latestValues:tD(i,s,o,t),renderState:n()}}function tD(t,n,i,s){const o={},u=s(t,{});for(const x in u)o[x]=Gu(u[x]);let{initial:d,animate:h}=t;const m=wc(t),p=G1(t);n&&p&&!m&&t.inherit!==!1&&(d===void 0&&(d=n.initial),h===void 0&&(h=n.animate));let g=i?i.initial===!1:!1;g=g||d===!1;const b=g?h:d;if(b&&typeof b!="boolean"&&!Sc(b)){const x=Array.isArray(b)?b:[b];for(let w=0;w<x.length;w++){const T=Om(t,x[w]);if(T){const{transitionEnd:D,transition:j,...O}=T;for(const V in O){let U=O[V];if(Array.isArray(U)){const F=g?U.length-1:0;U=U[F]}U!==null&&(o[V]=U)}for(const V in D)o[V]=D[V]}}}return o}const CS=t=>(n,i)=>{const s=E.useContext(Tc),o=E.useContext(vm),u=()=>eD(t,n,s,o);return i?u():W2(u)},nD=CS({scrapeMotionValuesFromProps:Ym,createRenderState:Xm}),aD=CS({scrapeMotionValuesFromProps:lS,createRenderState:AS}),iD=Symbol.for("motionComponentSymbol");function rD(t,n,i){const s=E.useRef(i);E.useInsertionEffect(()=>{s.current=i});const o=E.useRef(null);return E.useCallback(u=>{var h;u&&((h=t.onMount)==null||h.call(t,u));const d=s.current;if(typeof d=="function")if(u){const m=d(u);typeof m=="function"&&(o.current=m)}else o.current?(o.current(),o.current=null):d(u);else d&&(d.current=u);n&&(u?n.mount(u):n.unmount())},[n])}const jS=E.createContext({});function gs(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function sD(t,n,i,s,o,u){var U,F;const{visualElement:d}=E.useContext(Tc),h=E.useContext(SS),m=E.useContext(vm),p=E.useContext(xS),g=p.reducedMotion,b=p.skipAnimations,x=E.useRef(null),w=E.useRef(!1);s=s||h.renderer,!x.current&&s&&(x.current=s(t,{visualState:n,parent:d,props:i,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g,skipAnimations:b,isSVG:u}),w.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));const T=x.current,D=E.useContext(jS);T&&!T.projection&&o&&(T.type==="html"||T.type==="svg")&&lD(x.current,i,o,D);const j=E.useRef(!1);E.useInsertionEffect(()=>{T&&j.current&&T.update(i,m)});const O=i[k1],V=E.useRef(!!O&&typeof window<"u"&&!((U=window.MotionHandoffIsComplete)!=null&&U.call(window,O))&&((F=window.MotionHasOptimisedAnimation)==null?void 0:F.call(window,O)));return ej(()=>{w.current=!0,T&&(j.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),T.scheduleRenderMicrotask(),V.current&&T.animationState&&T.animationState.animateChanges())}),E.useEffect(()=>{T&&(!V.current&&T.animationState&&T.animationState.animateChanges(),V.current&&(queueMicrotask(()=>{var Q;(Q=window.MotionHandoffMarkAsComplete)==null||Q.call(window,O)}),V.current=!1),T.enteringChildren=void 0)}),T}function lD(t,n,i,s){const{layoutId:o,layout:u,drag:d,dragConstraints:h,layoutScroll:m,layoutRoot:p,layoutAnchor:g,layoutCrossfade:b}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:MS(t.parent)),t.projection.setOptions({layoutId:o,layout:u,alwaysMeasureLayout:!!d||h&&gs(h),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:s,crossfade:b,layoutScroll:m,layoutRoot:p,layoutAnchor:g})}function MS(t){if(t)return t.options.allowProjection!==!1?t.projection:MS(t.parent)}function lh(t,{forwardMotionProps:n=!1,type:i}={},s,o){s&&Y_(s);const u=i?i==="svg":Pm(t),d=u?aD:nD;function h(p,g){let b;const x={...E.useContext(xS),...p,layoutId:oD(p)},{isStatic:w}=x,T=F_(p),D=d(p,w);if(!w&&typeof window<"u"){uD();const j=cD(x);b=j.MeasureLayout,T.visualElement=sD(t,D,x,o,j.ProjectionNode,u)}return y.jsxs(Tc.Provider,{value:T,children:[b&&T.visualElement?y.jsx(b,{visualElement:T.visualElement,...x}):null,J_(t,p,rD(D,T.visualElement,g),D,w,n,u)]})}h.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const m=E.forwardRef(h);return m[iD]=t,m}function oD({layoutId:t}){const n=E.useContext(Fx).id;return n&&t!==void 0?n+"-"+t:t}function uD(t,n){E.useContext(SS).strict}function cD(t){const n=wS(),{drag:i,layout:s}=n;if(!i&&!s)return{};const o={...i,...s};return{MeasureLayout:i!=null&&i.isEnabled(t)||s!=null&&s.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function dD(t,n){if(typeof Proxy>"u")return lh;const i=new Map,s=(u,d)=>lh(u,d,t,n),o=(u,d)=>s(u,d);return new Proxy(o,{get:(u,d)=>d==="create"?s:(i.has(d)||i.set(d,lh(d,void 0,t,n)),i.get(d))})}const fD=(t,n)=>n.isSVG??Pm(t)?new FR(n):new KR(n,{allowProjection:t!==E.Fragment});class hD extends Fi{constructor(n){super(n),n.animationState||(n.animationState=WR(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Sc(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)==null||n.call(this)}}let mD=0;class pD extends Fi{constructor(){super(...arguments),this.id=mD++,this.isExitComplete=!1}update(){var u;if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===s)return;if(n&&s===!1){if(this.isExitComplete){const{initial:d,custom:h}=this.node.getProps();if(typeof d=="string"){const m=wr(this.node,d,h);if(m){const{transition:p,transitionEnd:g,...b}=m;for(const x in b)(u=this.node.getValue(x))==null||u.jump(b[x])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!n);i&&!n&&o.then(()=>{this.isExitComplete=!0,i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const gD={animation:{Feature:hD},exit:{Feature:pD}};function fo(t){return{point:{x:t.pageX,y:t.pageY}}}const yD=t=>n=>Vm(n)&&t(n,fo(n));function Zl(t,n,i,s){return eo(t,n,yD(i),s)}const RS=({current:t})=>t?t.ownerDocument.defaultView:null,Sb=(t,n)=>Math.abs(t-n);function vD(t,n){const i=Sb(t.x,n.x),s=Sb(t.y,n.y);return Math.sqrt(i**2+s**2)}const wb=new Set(["auto","scroll"]);class _S{constructor(n,i,{transformPagePoint:s,contextWindow:o=window,dragSnapToOrigin:u=!1,distanceThreshold:d=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=w=>{this.handleScroll(w.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Lu(this.lastRawMoveEventInfo,this.transformPagePoint));const w=oh(this.lastMoveEventInfo,this.history),T=this.startEvent!==null,D=vD(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!T&&!D)return;const{point:j}=w,{timestamp:O}=Zt;this.history.push({...j,timestamp:O});const{onStart:V,onMove:U}=this.handlers;T||(V&&V(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),U&&U(this.lastMoveEvent,w)},this.handlePointerMove=(w,T)=>{this.lastMoveEvent=w,this.lastRawMoveEventInfo=T,this.lastMoveEventInfo=Lu(T,this.transformPagePoint),dt.update(this.updatePoint,!0)},this.handlePointerUp=(w,T)=>{this.end();const{onEnd:D,onSessionEnd:j,resumeAnimation:O}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&O&&O(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const V=oh(w.type==="pointercancel"?this.lastMoveEventInfo:Lu(T,this.transformPagePoint),this.history);this.startEvent&&D&&D(w,V),j&&j(w,V)},!Vm(n))return;this.dragSnapToOrigin=u,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=d,this.contextWindow=o||window;const m=fo(n),p=Lu(m,this.transformPagePoint),{point:g}=p,{timestamp:b}=Zt;this.history=[{...g,timestamp:b}];const{onSessionStart:x}=i;x&&x(n,oh(p,this.history)),this.removeListeners=oo(Zl(this.contextWindow,"pointermove",this.handlePointerMove),Zl(this.contextWindow,"pointerup",this.handlePointerUp),Zl(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(n){let i=n.parentElement;for(;i;){const s=getComputedStyle(i);(wb.has(s.overflowX)||wb.has(s.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const i=this.scrollPositions.get(n);if(!i)return;const s=n===window,o=s?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},u={x:o.x-i.x,y:o.y-i.y};u.x===0&&u.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(n,o),dt.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Pi(this.updatePoint)}}function Lu(t,n){return n?{point:n(t.point)}:t}function Tb(t,n){return{x:t.x-n.x,y:t.y-n.y}}function oh({point:t},n){return{point:t,delta:Tb(t,DS(n)),offset:Tb(t,bD(n)),velocity:xD(n,.1)}}function bD(t){return t[0]}function DS(t){return t[t.length-1]}function xD(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null;const o=DS(t);for(;i>=0&&(s=t[i],!(o.timestamp-s.timestamp>En(n)));)i--;if(!s)return{x:0,y:0};s===t[0]&&t.length>2&&o.timestamp-s.timestamp>En(n)*2&&(s=t[1]);const u=Yn(o.timestamp-s.timestamp);if(u===0)return{x:0,y:0};const d={x:(o.x-s.x)/u,y:(o.y-s.y)/u};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function SD(t,{min:n,max:i},s){return n!==void 0&&t<n?t=s?vt(n,t,s.min):Math.max(t,n):i!==void 0&&t>i&&(t=s?vt(i,t,s.max):Math.min(t,i)),t}function Eb(t,n,i){return{min:n!==void 0?t.min+n:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function wD(t,{top:n,left:i,bottom:s,right:o}){return{x:Eb(t.x,i,o),y:Eb(t.y,n,s)}}function Ab(t,n){let i=n.min-t.min,s=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function TD(t,n){return{x:Ab(t.x,n.x),y:Ab(t.y,n.y)}}function ED(t,n){let i=.5;const s=rn(t),o=rn(n);return o>s?i=$l(n.min,n.max-s,t.min):s>o&&(i=$l(t.min,t.max-o,n.min)),Sa(0,1,i)}function AD(t,n){const i={};return n.min!==void 0&&(i.min=n.min-t.min),n.max!==void 0&&(i.max=n.max-t.min),i}const Fh=.35;function CD(t=Fh){return t===!1?t=0:t===!0&&(t=Fh),{x:Cb(t,"left","right"),y:Cb(t,"top","bottom")}}function Cb(t,n,i){return{min:jb(t,n),max:jb(t,i)}}function jb(t,n){return typeof t=="number"?t:t[n]||0}const jD=new WeakMap;class MD{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Vt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:i=!1,distanceThreshold:s}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const u=b=>{i&&this.snapToCursor(fo(b).point),this.stopAnimation()},d=(b,x)=>{const{drag:w,dragPropagation:T,onDragStart:D}=this.getProps();if(w&&!T&&(this.openDragLock&&this.openDragLock(),this.openDragLock=sR(w),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),pa(O=>{let V=this.getAxisMotionValue(O).get()||0;if(va.test(V)){const{projection:U}=this.visualElement;if(U&&U.layout){const F=U.layout.layoutBox[O];F&&(V=rn(F)*(parseFloat(V)/100))}}this.originPoint[O]=V}),D&&dt.update(()=>D(b,x),!1,!0),Bh(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},h=(b,x)=>{this.latestPointerEvent=b,this.latestPanInfo=x;const{dragPropagation:w,dragDirectionLock:T,onDirectionLock:D,onDrag:j}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:O}=x;if(T&&this.currentDirection===null){this.currentDirection=_D(O),this.currentDirection!==null&&D&&D(this.currentDirection);return}this.updateAxis("x",x.point,O),this.updateAxis("y",x.point,O),this.visualElement.render(),j&&dt.update(()=>j(b,x),!1,!0)},m=(b,x)=>{this.latestPointerEvent=b,this.latestPanInfo=x,this.stop(b,x),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:b}=this.getProps();(b||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new _S(n,{onSessionStart:u,onStart:d,onMove:h,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:s,contextWindow:RS(this.visualElement),element:this.visualElement.current})}stop(n,i){const s=n||this.latestPointerEvent,o=i||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!o||!s)return;const{velocity:d}=o;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&dt.postRender(()=>h(s,o))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(n,i,s){const{drag:o}=this.getProps();if(!s||!Vu(n,o,this.currentDirection))return;const u=this.getAxisMotionValue(n);let d=this.originPoint[n]+s[n];this.constraints&&this.constraints[n]&&(d=SD(d,this.constraints[n],this.elastic[n])),u.set(d)}resolveConstraints(){var u;const{dragConstraints:n,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(u=this.visualElement.projection)==null?void 0:u.layout,o=this.constraints;n&&gs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=wD(s.layoutBox,n):this.constraints=!1,this.elastic=CD(i),o!==this.constraints&&!gs(n)&&s&&this.constraints&&!this.hasMutatedConstraints&&pa(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=AD(s.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!gs(n))return!1;const s=n.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const u=kR(s,o.root,this.visualElement.getTransformPagePoint());let d=TD(o.layout.layoutBox,u);if(i){const h=i(NR(d));this.hasMutatedConstraints=!!h,h&&(d=W1(h))}return d}startAnimation(n){const{drag:i,dragMomentum:s,dragElastic:o,dragTransition:u,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),m=this.constraints||{},p=pa(g=>{if(!Vu(g,i,this.currentDirection))return;let b=m&&m[g]||{};(d===!0||d===g)&&(b={min:0,max:0});const x=o?200:1e6,w=o?40:1e7,T={type:"inertia",velocity:s?n[g]:0,bounceStiffness:x,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...u,...b};return this.startAxisValueAnimation(g,T)});return Promise.all(p).then(h)}startAxisValueAnimation(n,i){const s=this.getAxisMotionValue(n);return Bh(this.visualElement,n),s.start(Nm(n,s,0,i,this.visualElement,!1))}stopAnimation(){pa(n=>this.getAxisMotionValue(n).stop())}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,s=this.visualElement.getProps(),o=s[i];return o||this.visualElement.getValue(n,(s.initial?s.initial[n]:void 0)||0)}snapToCursor(n){pa(i=>{const{drag:s}=this.getProps();if(!Vu(i,s,this.currentDirection))return;const{projection:o}=this.visualElement,u=this.getAxisMotionValue(i);if(o&&o.layout){const{min:d,max:h}=o.layout.layoutBox[i],m=u.get()||0;u.set(n[i]-vt(d,h,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!gs(i)||!s||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};pa(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const m=h.get();o[d]=ED({min:m,max:m},this.constraints[d])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),pa(d=>{if(!Vu(d,n,null))return;const h=this.getAxisMotionValue(d),{min:m,max:p}=this.constraints[d];h.set(vt(m,p,o[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;jD.set(this.visualElement,this);const n=this.visualElement.current,i=Zl(n,"pointerdown",p=>{const{drag:g,dragListener:b=!0}=this.getProps(),x=p.target,w=x!==n&&fR(x);g&&b&&!w&&this.start(p)});let s;const o=()=>{const{dragConstraints:p}=this.getProps();gs(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),s||(s=RD(n,p.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,d=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),dt.read(o);const h=eo(window,"resize",()=>this.scalePositionWithinConstraints()),m=u.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(pa(b=>{const x=this.getAxisMotionValue(b);x&&(this.originPoint[b]+=p[b].translate,x.set(x.get()+p[b].translate))}),this.visualElement.render())}));return()=>{h(),i(),d(),m&&m(),s&&s()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:o=!1,dragConstraints:u=!1,dragElastic:d=Fh,dragMomentum:h=!0}=n;return{...n,drag:i,dragDirectionLock:s,dragPropagation:o,dragConstraints:u,dragElastic:d,dragMomentum:h}}}function Mb(t){let n=!0;return()=>{if(n){n=!1;return}t()}}function RD(t,n,i){const s=V0(t,Mb(i)),o=V0(n,Mb(i));return()=>{s(),o()}}function Vu(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function _D(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class DD extends Fi{constructor(n){super(n),this.removeGroupControls=Pn,this.removeListeners=Pn,this.controls=new MD(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Pn}update(){const{dragControls:n}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};n!==i&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const uh=t=>(n,i)=>{t&&dt.update(()=>t(n,i),!1,!0)};class ND extends Fi{constructor(){super(...arguments),this.removePointerDownListener=Pn}onPointerDown(n){this.session=new _S(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:RS(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:s,onPanEnd:o}=this.node.getProps();return{onSessionStart:uh(n),onStart:uh(i),onMove:uh(s),onEnd:(u,d)=>{delete this.session,o&&dt.postRender(()=>o(u,d))}}}mount(){this.removePointerDownListener=Zl(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ch=!1;class OD extends E.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s,layoutId:o}=this.props,{projection:u}=n;u&&(i.group&&i.group.add(u),s&&s.register&&o&&s.register(u),ch&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Qu.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:s,drag:o,isPresent:u}=this.props,{projection:d}=s;return d&&(d.isPresent=u,n.layoutDependency!==i&&d.setOptions({...d.options,layoutDependency:i}),ch=!0,o||n.layoutDependency!==i||i===void 0||n.isPresent!==u?d.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?d.promote():d.relegate()||dt.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:n,layoutAnchor:i}=this.props,{projection:s}=n;s&&(s.options.layoutAnchor=i,s.root.didUpdate(),Lm.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:o}=n;ch=!0,o&&(o.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(o),s&&s.deregister&&s.deregister(o))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function NS(t){const[n,i]=H_(),s=E.useContext(Fx);return y.jsx(OD,{...t,layoutGroup:s,switchLayoutGroup:E.useContext(jS),isPresent:n,safeToRemove:i})}const zD={pan:{Feature:ND},drag:{Feature:DD,ProjectionNode:bS,MeasureLayout:NS}};function Rb(t,n,i){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",i==="Start");const o="onHover"+i,u=s[o];u&&dt.postRender(()=>u(n,fo(n)))}class kD extends Fi{mount(){const{current:n}=this.node;n&&(this.unmount=oR(n,(i,s)=>(Rb(this.node,s,"Start"),o=>Rb(this.node,o,"End"))))}unmount(){}}class LD extends Fi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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)}
vendor: 4,011 bytes, line 75
75mount(){this.unmount=oo(eo(this.node.current,"focus",()=>this.onFocus()),eo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function _b(t,n,i){const{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",i==="Start");const o="onTap"+(i==="End"?"":i),u=s[o];u&&dt.postRender(()=>u(n,fo(n)))}class VD extends Fi{mount(){const{current:n}=this.node;if(!n)return;const{globalTapTarget:i,propagate:s}=this.node.props;this.unmount=mR(n,(o,u)=>(_b(this.node,u,"Start"),(d,{success:h})=>_b(this.node,d,h?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:(s==null?void 0:s.tap)===!1})}unmount(){}}const Gh=new WeakMap,dh=new WeakMap,BD=t=>{const n=Gh.get(t.target);n&&n(t)},UD=t=>{t.forEach(BD)};function HD({root:t,...n}){const i=t||document;dh.has(i)||dh.set(i,{});const s=dh.get(i),o=JSON.stringify(n);return s[o]||(s[o]=new IntersectionObserver(UD,{root:t,...n})),s[o]}function KD(t,n,i){const s=HD(n);return Gh.set(t,i),s.observe(t),()=>{Gh.delete(t),s.unobserve(t)}}const YD={some:0,all:1};class XD extends Fi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var m;(m=this.stopObserver)==null||m.call(this);const{viewport:n={}}=this.node.getProps(),{root:i,margin:s,amount:o="some",once:u}=n,d={root:i?i.current:void 0,rootMargin:s,threshold:typeof o=="number"?o:YD[o]},h=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,u&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:b,onViewportLeave:x}=this.node.getProps(),w=g?b:x;w&&w(p)};this.stopObserver=KD(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(PD(n,i))&&this.startObserver()}unmount(){var n;(n=this.stopObserver)==null||n.call(this),this.hasEnteredView=!1,this.isInView=!1}}function PD({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const qD={inView:{Feature:XD},tap:{Feature:VD},focus:{Feature:LD},hover:{Feature:kD}},ZD={layout:{ProjectionNode:bS,MeasureLayout:NS}},FD={...gD,...qD,...zD,...ZD},oe=dD(FD,fD);var We;(function(t){t.assertEqual=o=>{};function n(o){}t.assertIs=n;function i(o){throw new Error}t.assertNever=i,t.arrayToEnum=o=>{const u={};for(const d of o)u[d]=d;return u},t.getValidEnumValues=o=>{const u=t.objectKeys(o).filter(h=>typeof o[o[h]]!="number"),d={};for(const h of u)d[h]=o[h];return t.objectValues(d)},t.objectValues=o=>t.objectKeys(o).map(function(u){return o[u]}),t.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const u=[];for(const d in o)Object.prototype.hasOwnProperty.call(o,d)&&u.push(d);return u},t.find=(o,u)=>{for(const d of o)if(u(d))return d},t.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&Number.isFinite(o)&&Math.floor(o)===o;function s(o,u=" | "){return o.map(d=>typeof d=="string"?`'${d}'`:d).join(u)}t.joinValues=s,t.jsonStringifyReplacer=(o,u)=>typeof u=="bigint"?u.toString():u})(We||(We={}));var Db;(function(t){t.mergeShapes=(n,i)=>({...n,...i})})(Db||(Db={}));const de=We.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Vi=t=>{switch(typeof t){case"undefined":return de.undefined;case"string":return de.string;case"number":return Number.isNaN(t)?de.nan:de.number;case"boolean":return de.boolean;case"function":return de.function;case"bigint":return de.bigint;case"symbol":return de.symbol;case"object":return Array.isArray(t)?de.array:t===null?de.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?de.promise:typeof Map<"u"&&t instanceof Map?de.map:typeof Set<"u"&&t instanceof Set?de.set:typeof Date<"u"&&t instanceof Date?de.date:de.object;default:return de.unknown}}
vendor: 4,365 bytes, line 75
75,J=We.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ei extends Error{get errors(){return this.issues}constructor(n){super(),this.issues=[],this.addIssue=s=>{this.issues=[...this.issues,s]},this.addIssues=(s=[])=>{this.issues=[...this.issues,...s]};const i=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,i):this.__proto__=i,this.name="ZodError",this.issues=n}format(n){const i=n||function(u){return u.message},s={_errors:[]},o=u=>{for(const d of u.issues)if(d.code==="invalid_union")d.unionErrors.map(o);else if(d.code==="invalid_return_type")o(d.returnTypeError);else if(d.code==="invalid_arguments")o(d.argumentsError);else if(d.path.length===0)s._errors.push(i(d));else{let h=s,m=0;for(;m<d.path.length;){const p=d.path[m];m===d.path.length-1?(h[p]=h[p]||{_errors:[]},h[p]._errors.push(i(d))):h[p]=h[p]||{_errors:[]},h=h[p],m++}}};return o(this),s}static assert(n){if(!(n instanceof ei))throw new Error(`Not a ZodError: ${n}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,We.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(n=i=>i.message){const i={},s=[];for(const o of this.issues)if(o.path.length>0){const u=o.path[0];i[u]=i[u]||[],i[u].push(n(o))}else s.push(n(o));return{formErrors:s,fieldErrors:i}}get formErrors(){return this.flatten()}}ei.create=t=>new ei(t);const Qh=(t,n)=>{let i;switch(t.code){case J.invalid_type:t.received===de.undefined?i="Required":i=`Expected ${t.expected}, received ${t.received}`;break;case J.invalid_literal:i=`Invalid literal value, expected ${JSON.stringify(t.expected,We.jsonStringifyReplacer)}`;break;case J.unrecognized_keys:i=`Unrecognized key(s) in object: ${We.joinValues(t.keys,", ")}`;break;case J.invalid_union:i="Invalid input";break;case J.invalid_union_discriminator:i=`Invalid discriminator value. Expected ${We.joinValues(t.options)}`;break;case J.invalid_enum_value:i=`Invalid enum value. Expected ${We.joinValues(t.options)}, received '${t.received}'`;break;case J.invalid_arguments:i="Invalid function arguments";break;case J.invalid_return_type:i="Invalid function return type";break;case J.invalid_date:i="Invalid date";break;case J.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(i=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(i=`${i} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?i=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?i=`Invalid input: must end with "${t.validation.endsWith}"`:We.assertNever(t.validation):t.validation!=="regex"?i=`Invalid ${t.validation}`:i="Invalid";break;case J.too_small:t.type==="array"?i=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?i=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?i=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?i=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?i=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:i="Invalid input";break;case J.too_big:t.type==="array"?i=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?i=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?i=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?i=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?i=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:i="Invalid input";break;case J.custom:i="Invalid input";break;
vendor: 7,530 bytes, line 75
75case J.invalid_intersection_types:i="Intersection results could not be merged";break;case J.not_multiple_of:i=`Number must be a multiple of ${t.multipleOf}`;break;case J.not_finite:i="Number must be finite";break;default:i=n.defaultError,We.assertNever(t)}return{message:i}};let GD=Qh;function QD(){return GD}const ID=t=>{const{data:n,path:i,errorMaps:s,issueData:o}=t,u=[...i,...o.path||[]],d={...o,path:u};if(o.message!==void 0)return{...o,path:u,message:o.message};let h="";const m=s.filter(p=>!!p).slice().reverse();for(const p of m)h=p(d,{data:n,defaultError:h}).message;return{...o,path:u,message:h}};function re(t,n){const i=QD(),s=ID({issueData:n,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,i,i===Qh?void 0:Qh].filter(o=>!!o)});t.common.issues.push(s)}class Cn{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(n,i){const s=[];for(const o of i){if(o.status==="aborted")return _e;o.status==="dirty"&&n.dirty(),s.push(o.value)}return{status:n.value,value:s}}static async mergeObjectAsync(n,i){const s=[];for(const o of i){const u=await o.key,d=await o.value;s.push({key:u,value:d})}return Cn.mergeObjectSync(n,s)}static mergeObjectSync(n,i){const s={};for(const o of i){const{key:u,value:d}=o;if(u.status==="aborted"||d.status==="aborted")return _e;u.status==="dirty"&&n.dirty(),d.status==="dirty"&&n.dirty(),u.value!=="__proto__"&&(typeof d.value<"u"||o.alwaysSet)&&(s[u.value]=d.value)}return{status:n.value,value:s}}}const _e=Object.freeze({status:"aborted"}),Kl=t=>({status:"dirty",value:t}),qn=t=>({status:"valid",value:t}),Nb=t=>t.status==="aborted",Ob=t=>t.status==="dirty",Ms=t=>t.status==="valid",uc=t=>typeof Promise<"u"&&t instanceof Promise;var me;(function(t){t.errToObj=n=>typeof n=="string"?{message:n}:n||{},t.toString=n=>typeof n=="string"?n:n==null?void 0:n.message})(me||(me={}));class qi{constructor(n,i,s,o){this._cachedPath=[],this.parent=n,this.data=i,this._path=s,this._key=o}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const zb=(t,n)=>{if(Ms(n))return{success:!0,data:n.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const i=new ei(t.common.issues);return this._error=i,this._error}}};function Be(t){if(!t)return{};const{errorMap:n,invalid_type_error:i,required_error:s,description:o}=t;if(n&&(i||s))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return n?{errorMap:n,description:o}:{errorMap:(d,h)=>{const{message:m}=t;return d.code==="invalid_enum_value"?{message:m??h.defaultError}:typeof h.data>"u"?{message:m??s??h.defaultError}:d.code!=="invalid_type"?{message:h.defaultError}:{message:m??i??h.defaultError}},description:o}}class Ge{get description(){return this._def.description}_getType(n){return Vi(n.data)}_getOrReturnCtx(n,i){return i||{common:n.parent.common,data:n.data,parsedType:Vi(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}_processInputParams(n){return{status:new Cn,ctx:{common:n.parent.common,data:n.data,parsedType:Vi(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}}_parseSync(n){const i=this._parse(n);if(uc(i))throw new Error("Synchronous parse encountered promise.");return i}_parseAsync(n){const i=this._parse(n);return Promise.resolve(i)}parse(n,i){const s=this.safeParse(n,i);if(s.success)return s.data;throw s.error}safeParse(n,i){const s={common:{issues:[],async:(i==null?void 0:i.async)??!1,contextualErrorMap:i==null?void 0:i.errorMap},path:(i==null?void 0:i.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:Vi(n)},o=this._parseSync({data:n,path:s.path,parent:s});return zb(s,o)}"~validate"(n){var s,o;const i={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:Vi(n)};if(!this["~standard"].async)try{const u=this._parseSync({data:n,path:[],parent:i});return Ms(u)?{value:u.value}:{issues:i.common.issues}}catch(u){(o=(s=u==null?void 0:u.message)==null?void 0:s.toLowerCase())!=null&&o.includes("encountered")&&(this["~standard"].async=!0),i.common={issues:[],async:!0}}return this._parseAsync({data:n,path:[],parent:i}).then(u=>Ms(u)?{value:u.value}:{issues:i.common.issues})}async parseAsync(n,i){const s=await this.safeParseAsync(n,i);if(s.success)return s.data;throw s.error}async safeParseAsync(n,i){const s={common:{issues:[],contextualErrorMap:i==null?void 0:i.errorMap,async:!0},path:(i==null?void 0:i.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:Vi(n)},o=this._parse({data:n,path:s.path,parent:s}),u=await(uc(o)?o:Promise.resolve(o));return zb(s,u)}refine(n,i){const s=o=>typeof i=="string"||typeof i>"u"?{message:i}:typeof i=="function"?i(o):i;return this._refinement((o,u)=>{const d=n(o),h=()=>u.addIssue({code:J.custom,...s(o)});return typeof Promise<"u"&&d instanceof Promise?d.then(m=>m?!0:(h(),!1)):d?!0:(h(),!1)})}refinement(n,i){return this._refinement((s,o)=>n(s)?!0:(o.addIssue(typeof i=="function"?i(s,o):i),!1))}_refinement(n){return new _s({schema:this,typeName:De.ZodEffects,effect:{type:"refinement",refinement:n}})}superRefine(n){return this._refinement(n)}constructor(n){this.spa=this.safeParseAsync,this._def=n,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:i=>this["~validate"](i)}}optional(){return Yi.create(this,this._def)}nullable(){return Ds.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ba.create(this)}promise(){return hc.create(this,this._def)}or(n){return dc.create([this,n],this._def)}and(n){return fc.create(this,n,this._def)}transform(n){return new _s({...Be(this._def),schema:this,typeName:De.ZodEffects,effect:{type:"transform",transform:n}})}default(n){const i=typeof n=="function"?n:()=>n;return new $h({...Be(this._def),innerType:this,defaultValue:i,typeName:De.ZodDefault})}brand(){return new bN({typeName:De.ZodBranded,type:this,...Be(this._def)})}catch(n){const i=typeof n=="function"?n:()=>n;return new Wh({...Be(this._def),innerType:this,catchValue:i,typeName:De.ZodCatch})}describe(n){const i=this.constructor;return new i({...this._def,description:n})}pipe(n){return qm.create(this,n)}readonly(){return Jh.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const $D=/^c[^\s-]{8,}
vendor: 7,128 bytes, line 75
75$/i,WD=/^[0-9a-z]+$/,JD=/^[0-9A-HJKMNP-TV-Z]{26}$/i,eN=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,tN=/^[a-z0-9_-]{21}$/i,nN=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,aN=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,iN=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,rN="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let fh;const sN=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,lN=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,oN=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,uN=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,cN=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,dN=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,OS="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",fN=new RegExp(`^${OS}$`);function zS(t){let n="[0-5]\\d";t.precision?n=`${n}\\.\\d{${t.precision}}`:t.precision==null&&(n=`${n}(\\.\\d+)?`);const i=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${n})${i}`}function hN(t){return new RegExp(`^${zS(t)}$`)}function mN(t){let n=`${OS}T${zS(t)}`;const i=[];return i.push(t.local?"Z?":"Z"),t.offset&&i.push("([+-]\\d{2}:?\\d{2})"),n=`${n}(${i.join("|")})`,new RegExp(`^${n}$`)}function pN(t,n){return!!((n==="v4"||!n)&&sN.test(t)||(n==="v6"||!n)&&oN.test(t))}function gN(t,n){if(!nN.test(t))return!1;try{const[i]=t.split(".");if(!i)return!1;const s=i.replace(/-/g,"+").replace(/_/g,"/").padEnd(i.length+(4-i.length%4)%4,"="),o=JSON.parse(atob(s));return!(typeof o!="object"||o===null||"typ"in o&&(o==null?void 0:o.typ)!=="JWT"||!o.alg||n&&o.alg!==n)}catch{return!1}}function yN(t,n){return!!((n==="v4"||!n)&&lN.test(t)||(n==="v6"||!n)&&uN.test(t))}class Ki extends Ge{_parse(n){if(this._def.coerce&&(n.data=String(n.data)),this._getType(n)!==de.string){const u=this._getOrReturnCtx(n);return re(u,{code:J.invalid_type,expected:de.string,received:u.parsedType}),_e}const s=new Cn;let o;for(const u of this._def.checks)if(u.kind==="min")n.data.length<u.value&&(o=this._getOrReturnCtx(n,o),re(o,{code:J.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),s.dirty());else if(u.kind==="max")n.data.length>u.value&&(o=this._getOrReturnCtx(n,o),re(o,{code:J.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),s.dirty());else if(u.kind==="length"){const d=n.data.length>u.value,h=n.data.length<u.value;(d||h)&&(o=this._getOrReturnCtx(n,o),d?re(o,{code:J.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}):h&&re(o,{code:J.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}),s.dirty())}else if(u.kind==="email")iN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"email",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="emoji")fh||(fh=new RegExp(rN,"u")),fh.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"emoji",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="uuid")eN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"uuid",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="nanoid")tN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"nanoid",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="cuid")$D.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"cuid",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="cuid2")WD.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"cuid2",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="ulid")JD.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"ulid",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="url")try{new URL(n.data)}catch{o=this._getOrReturnCtx(n,o),re(o,{validation:"url",code:J.invalid_string,message:u.message}),s.dirty()}else u.kind==="regex"?(u.regex.lastIndex=0,u.regex.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"regex",code:J.invalid_string,message:u.message}),s.dirty())):u.kind==="trim"?n.data=n.data.trim():u.kind==="includes"?n.data.includes(u.value,u.position)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:{includes:u.value,position:u.position},message:u.message}),s.dirty()):u.kind==="toLowerCase"?n.data=n.data.toLowerCase():u.kind==="toUpperCase"?n.data=n.data.toUpperCase():u.kind==="startsWith"?n.data.startsWith(u.value)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:{startsWith:u.value},message:u.message}),s.dirty()):u.kind==="endsWith"?n.data.endsWith(u.value)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:{endsWith:u.value},message:u.message}),s.dirty()):u.kind==="datetime"?mN(u).test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:"datetime",message:u.message}),s.dirty()):u.kind==="date"?fN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:"date",message:u.message}),s.dirty()):u.kind==="time"?hN(u).test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:"time",message:u.message}),s.dirty()):u.kind==="duration"?aN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"duration",code:J.invalid_string,message:u.message}
vendor: 14,862 bytes, line 75
75),s.dirty()):u.kind==="ip"?pN(n.data,u.version)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"ip",code:J.invalid_string,message:u.message}),s.dirty()):u.kind==="jwt"?gN(n.data,u.alg)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"jwt",code:J.invalid_string,message:u.message}),s.dirty()):u.kind==="cidr"?yN(n.data,u.version)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"cidr",code:J.invalid_string,message:u.message}),s.dirty()):u.kind==="base64"?cN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"base64",code:J.invalid_string,message:u.message}),s.dirty()):u.kind==="base64url"?dN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"base64url",code:J.invalid_string,message:u.message}),s.dirty()):We.assertNever(u);return{status:s.value,value:n.data}}_regex(n,i,s){return this.refinement(o=>n.test(o),{validation:i,code:J.invalid_string,...me.errToObj(s)})}_addCheck(n){return new Ki({...this._def,checks:[...this._def.checks,n]})}email(n){return this._addCheck({kind:"email",...me.errToObj(n)})}url(n){return this._addCheck({kind:"url",...me.errToObj(n)})}emoji(n){return this._addCheck({kind:"emoji",...me.errToObj(n)})}uuid(n){return this._addCheck({kind:"uuid",...me.errToObj(n)})}nanoid(n){return this._addCheck({kind:"nanoid",...me.errToObj(n)})}cuid(n){return this._addCheck({kind:"cuid",...me.errToObj(n)})}cuid2(n){return this._addCheck({kind:"cuid2",...me.errToObj(n)})}ulid(n){return this._addCheck({kind:"ulid",...me.errToObj(n)})}base64(n){return this._addCheck({kind:"base64",...me.errToObj(n)})}base64url(n){return this._addCheck({kind:"base64url",...me.errToObj(n)})}jwt(n){return this._addCheck({kind:"jwt",...me.errToObj(n)})}ip(n){return this._addCheck({kind:"ip",...me.errToObj(n)})}cidr(n){return this._addCheck({kind:"cidr",...me.errToObj(n)})}datetime(n){return typeof n=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:n}):this._addCheck({kind:"datetime",precision:typeof(n==null?void 0:n.precision)>"u"?null:n==null?void 0:n.precision,offset:(n==null?void 0:n.offset)??!1,local:(n==null?void 0:n.local)??!1,...me.errToObj(n==null?void 0:n.message)})}date(n){return this._addCheck({kind:"date",message:n})}time(n){return typeof n=="string"?this._addCheck({kind:"time",precision:null,message:n}):this._addCheck({kind:"time",precision:typeof(n==null?void 0:n.precision)>"u"?null:n==null?void 0:n.precision,...me.errToObj(n==null?void 0:n.message)})}duration(n){return this._addCheck({kind:"duration",...me.errToObj(n)})}regex(n,i){return this._addCheck({kind:"regex",regex:n,...me.errToObj(i)})}includes(n,i){return this._addCheck({kind:"includes",value:n,position:i==null?void 0:i.position,...me.errToObj(i==null?void 0:i.message)})}startsWith(n,i){return this._addCheck({kind:"startsWith",value:n,...me.errToObj(i)})}endsWith(n,i){return this._addCheck({kind:"endsWith",value:n,...me.errToObj(i)})}min(n,i){return this._addCheck({kind:"min",value:n,...me.errToObj(i)})}max(n,i){return this._addCheck({kind:"max",value:n,...me.errToObj(i)})}length(n,i){return this._addCheck({kind:"length",value:n,...me.errToObj(i)})}nonempty(n){return this.min(1,me.errToObj(n))}trim(){return new Ki({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ki({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ki({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(n=>n.kind==="datetime")}get isDate(){return!!this._def.checks.find(n=>n.kind==="date")}get isTime(){return!!this._def.checks.find(n=>n.kind==="time")}get isDuration(){return!!this._def.checks.find(n=>n.kind==="duration")}get isEmail(){return!!this._def.checks.find(n=>n.kind==="email")}get isURL(){return!!this._def.checks.find(n=>n.kind==="url")}get isEmoji(){return!!this._def.checks.find(n=>n.kind==="emoji")}get isUUID(){return!!this._def.checks.find(n=>n.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(n=>n.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(n=>n.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(n=>n.kind==="cuid2")}get isULID(){return!!this._def.checks.find(n=>n.kind==="ulid")}get isIP(){return!!this._def.checks.find(n=>n.kind==="ip")}get isCIDR(){return!!this._def.checks.find(n=>n.kind==="cidr")}get isBase64(){return!!this._def.checks.find(n=>n.kind==="base64")}get isBase64url(){return!!this._def.checks.find(n=>n.kind==="base64url")}get minLength(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxLength(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}}Ki.create=t=>new Ki({checks:[],typeName:De.ZodString,coerce:(t==null?void 0:t.coerce)??!1,...Be(t)});function vN(t,n){const i=(t.toString().split(".")[1]||"").length,s=(n.toString().split(".")[1]||"").length,o=i>s?i:s,u=Number.parseInt(t.toFixed(o).replace(".","")),d=Number.parseInt(n.toFixed(o).replace(".",""));return u%d/10**o}class to extends Ge{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(n){if(this._def.coerce&&(n.data=Number(n.data)),this._getType(n)!==de.number){const u=this._getOrReturnCtx(n);return re(u,{code:J.invalid_type,expected:de.number,received:u.parsedType}),_e}let s;const o=new Cn;for(const u of this._def.checks)u.kind==="int"?We.isInteger(n.data)||(s=this._getOrReturnCtx(n,s),re(s,{code:J.invalid_type,expected:"integer",received:"float",message:u.message}),o.dirty()):u.kind==="min"?(u.inclusive?n.data<u.value:n.data<=u.value)&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.too_small,minimum:u.value,type:"number",inclusive:u.inclusive,exact:!1,message:u.message}),o.dirty()):u.kind==="max"?(u.inclusive?n.data>u.value:n.data>=u.value)&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.too_big,maximum:u.value,type:"number",inclusive:u.inclusive,exact:!1,message:u.message}),o.dirty()):u.kind==="multipleOf"?vN(n.data,u.value)!==0&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.not_multiple_of,multipleOf:u.value,message:u.message}),o.dirty()):u.kind==="finite"?Number.isFinite(n.data)||(s=this._getOrReturnCtx(n,s),re(s,{code:J.not_finite,message:u.message}),o.dirty()):We.assertNever(u);return{status:o.value,value:n.data}}gte(n,i){return this.setLimit("min",n,!0,me.toString(i))}gt(n,i){return this.setLimit("min",n,!1,me.toString(i))}lte(n,i){return this.setLimit("max",n,!0,me.toString(i))}lt(n,i){return this.setLimit("max",n,!1,me.toString(i))}setLimit(n,i,s,o){return new to({...this._def,checks:[...this._def.checks,{kind:n,value:i,inclusive:s,message:me.toString(o)}]})}_addCheck(n){return new to({...this._def,checks:[...this._def.checks,n]})}int(n){return this._addCheck({kind:"int",message:me.toString(n)})}positive(n){return this._addCheck({kind:"min",value:0,inclusive:!1,message:me.toString(n)})}negative(n){return this._addCheck({kind:"max",value:0,inclusive:!1,message:me.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:0,inclusive:!0,message:me.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:0,inclusive:!0,message:me.toString(n)})}multipleOf(n,i){return this._addCheck({kind:"multipleOf",value:n,message:me.toString(i)})}finite(n){return this._addCheck({kind:"finite",message:me.toString(n)})}safe(n){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:me.toString(n)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:me.toString(n)})}get minValue(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxValue(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}get isInt(){return!!this._def.checks.find(n=>n.kind==="int"||n.kind==="multipleOf"&&We.isInteger(n.value))}get isFinite(){let n=null,i=null;for(const s of this._def.checks){if(s.kind==="finite"||s.kind==="int"||s.kind==="multipleOf")return!0;s.kind==="min"?(i===null||s.value>i)&&(i=s.value):s.kind==="max"&&(n===null||s.value<n)&&(n=s.value)}return Number.isFinite(i)&&Number.isFinite(n)}}to.create=t=>new to({checks:[],typeName:De.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...Be(t)});class no extends Ge{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(n){if(this._def.coerce)try{n.data=BigInt(n.data)}catch{return this._getInvalidInput(n)}if(this._getType(n)!==de.bigint)return this._getInvalidInput(n);let s;const o=new Cn;for(const u of this._def.checks)u.kind==="min"?(u.inclusive?n.data<u.value:n.data<=u.value)&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.too_small,type:"bigint",minimum:u.value,inclusive:u.inclusive,message:u.message}),o.dirty()):u.kind==="max"?(u.inclusive?n.data>u.value:n.data>=u.value)&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.too_big,type:"bigint",maximum:u.value,inclusive:u.inclusive,message:u.message}),o.dirty()):u.kind==="multipleOf"?n.data%u.value!==BigInt(0)&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.not_multiple_of,multipleOf:u.value,message:u.message}),o.dirty()):We.assertNever(u);return{status:o.value,value:n.data}}_getInvalidInput(n){const i=this._getOrReturnCtx(n);return re(i,{code:J.invalid_type,expected:de.bigint,received:i.parsedType}),_e}gte(n,i){return this.setLimit("min",n,!0,me.toString(i))}gt(n,i){return this.setLimit("min",n,!1,me.toString(i))}lte(n,i){return this.setLimit("max",n,!0,me.toString(i))}lt(n,i){return this.setLimit("max",n,!1,me.toString(i))}setLimit(n,i,s,o){return new no({...this._def,checks:[...this._def.checks,{kind:n,value:i,inclusive:s,message:me.toString(o)}]})}_addCheck(n){return new no({...this._def,checks:[...this._def.checks,n]})}positive(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:me.toString(n)})}negative(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:me.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:me.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:me.toString(n)})}multipleOf(n,i){return this._addCheck({kind:"multipleOf",value:n,message:me.toString(i)})}get minValue(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxValue(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}}no.create=t=>new no({checks:[],typeName:De.ZodBigInt,coerce:(t==null?void 0:t.coerce)??!1,...Be(t)});class kb extends Ge{_parse(n){if(this._def.coerce&&(n.data=!!n.data),this._getType(n)!==de.boolean){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.boolean,received:s.parsedType}),_e}return qn(n.data)}}kb.create=t=>new kb({typeName:De.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...Be(t)});class cc extends Ge{_parse(n){if(this._def.coerce&&(n.data=new Date(n.data)),this._getType(n)!==de.date){const u=this._getOrReturnCtx(n);return re(u,{code:J.invalid_type,expected:de.date,received:u.parsedType}),_e}if(Number.isNaN(n.data.getTime())){const u=this._getOrReturnCtx(n);return re(u,{code:J.invalid_date}),_e}const s=new Cn;let o;for(const u of this._def.checks)u.kind==="min"?n.data.getTime()<u.value&&(o=this._getOrReturnCtx(n,o),re(o,{code:J.too_small,message:u.message,inclusive:!0,exact:!1,minimum:u.value,type:"date"}),s.dirty()):u.kind==="max"?n.data.getTime()>u.value&&(o=this._getOrReturnCtx(n,o),re(o,{code:J.too_big,message:u.message,inclusive:!0,exact:!1,maximum:u.value,type:"date"}),s.dirty()):We.assertNever(u);return{status:s.value,value:new Date(n.data.getTime())}}_addCheck(n){return new cc({...this._def,checks:[...this._def.checks,n]})}min(n,i){return this._addCheck({kind:"min",value:n.getTime(),message:me.toString(i)})}max(n,i){return this._addCheck({kind:"max",value:n.getTime(),message:me.toString(i)})}get minDate(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n!=null?new Date(n):null}get maxDate(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n!=null?new Date(n):null}}cc.create=t=>new cc({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:De.ZodDate,...Be(t)});class Lb extends Ge{_parse(n){if(this._getType(n)!==de.symbol){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.symbol,received:s.parsedType}),_e}return qn(n.data)}}Lb.create=t=>new Lb({typeName:De.ZodSymbol,...Be(t)});class Vb extends Ge{_parse(n){if(this._getType(n)!==de.undefined){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.undefined,received:s.parsedType}),_e}return qn(n.data)}}Vb.create=t=>new Vb({typeName:De.ZodUndefined,...Be(t)});class Bb extends Ge{_parse(n){if(this._getType(n)!==de.null){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.null,received:s.parsedType}),_e}return qn(n.data)}}Bb.create=t=>new Bb({typeName:De.ZodNull,...Be(t)});class Ub extends Ge{constructor(){super(...arguments),this._any=!0}_parse(n){return qn(n.data)}}Ub.create=t=>new Ub({typeName:De.ZodAny,...Be(t)});class Hb extends Ge{constructor(){super(...arguments),this._unknown=!0}_parse(n){return qn(n.data)}}Hb.create=t=>new Hb({typeName:De.ZodUnknown,...Be(t)});class Zi extends Ge{_parse(n){const i=this._getOrReturnCtx(n);return re(i,{code:J.invalid_type,expected:de.never,received:i.parsedType}),_e}}Zi.create=t=>new Zi({typeName:De.ZodNever,...Be(t)});class Kb extends Ge{_parse(n){if(this._getType(n)!==de.undefined){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.void,received:s.parsedType}),_e}return qn(n.data)}}Kb.create=t=>new Kb({typeName:De.ZodVoid,...Be(t)});class ba extends Ge{_parse(n){const{ctx:i,status:s}=this._processInputParams(n),o=this._def;if(i.parsedType!==de.array)return re(i,{code:J.invalid_type,expected:de.array,received:i.parsedType}),_e;if(o.exactLength!==null){const d=i.data.length>o.exactLength.value,h=i.data.length<o.exactLength.value;(d||h)&&(re(i,{code:d?J.too_big:J.too_small,minimum:h?o.exactLength.value:void 0,maximum:d?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),s.dirty())}if(o.minLength!==null&&i.data.length<o.minLength.value&&(re(i,{code:J.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),s.dirty()),o.maxLength!==null&&i.data.length>o.maxLength.value&&(re(i,{code:J.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),s.dirty()),i.common.async)return Promise.all([...i.data].map((d,h)=>o.type._parseAsync(new qi(i,d,i.path,h)))).then(d=>Cn.mergeArray(s,d));const u=[...i.data].map((d,h)=>o.type._parseSync(new qi(i,d,i.path,h)));return Cn.mergeArray(s,u)}
vendor: 12,004 bytes, line 75
75get element(){return this._def.type}min(n,i){return new ba({...this._def,minLength:{value:n,message:me.toString(i)}})}max(n,i){return new ba({...this._def,maxLength:{value:n,message:me.toString(i)}})}length(n,i){return new ba({...this._def,exactLength:{value:n,message:me.toString(i)}})}nonempty(n){return this.min(1,n)}}ba.create=(t,n)=>new ba({type:t,minLength:null,maxLength:null,exactLength:null,typeName:De.ZodArray,...Be(n)});function ys(t){if(t instanceof kt){const n={};for(const i in t.shape){const s=t.shape[i];n[i]=Yi.create(ys(s))}return new kt({...t._def,shape:()=>n})}else return t instanceof ba?new ba({...t._def,type:ys(t.element)}):t instanceof Yi?Yi.create(ys(t.unwrap())):t instanceof Ds?Ds.create(ys(t.unwrap())):t instanceof Tr?Tr.create(t.items.map(n=>ys(n))):t}class kt extends Ge{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const n=this._def.shape(),i=We.objectKeys(n);return this._cached={shape:n,keys:i},this._cached}_parse(n){if(this._getType(n)!==de.object){const p=this._getOrReturnCtx(n);return re(p,{code:J.invalid_type,expected:de.object,received:p.parsedType}),_e}const{status:s,ctx:o}=this._processInputParams(n),{shape:u,keys:d}=this._getCached(),h=[];if(!(this._def.catchall instanceof Zi&&this._def.unknownKeys==="strip"))for(const p in o.data)d.includes(p)||h.push(p);const m=[];for(const p of d){const g=u[p],b=o.data[p];m.push({key:{status:"valid",value:p},value:g._parse(new qi(o,b,o.path,p)),alwaysSet:p in o.data})}if(this._def.catchall instanceof Zi){const p=this._def.unknownKeys;if(p==="passthrough")for(const g of h)m.push({key:{status:"valid",value:g},value:{status:"valid",value:o.data[g]}});else if(p==="strict")h.length>0&&(re(o,{code:J.unrecognized_keys,keys:h}),s.dirty());else if(p!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const p=this._def.catchall;for(const g of h){const b=o.data[g];m.push({key:{status:"valid",value:g},value:p._parse(new qi(o,b,o.path,g)),alwaysSet:g in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const p=[];for(const g of m){const b=await g.key,x=await g.value;p.push({key:b,value:x,alwaysSet:g.alwaysSet})}return p}).then(p=>Cn.mergeObjectSync(s,p)):Cn.mergeObjectSync(s,m)}get shape(){return this._def.shape()}strict(n){return me.errToObj,new kt({...this._def,unknownKeys:"strict",...n!==void 0?{errorMap:(i,s)=>{var u,d;const o=((d=(u=this._def).errorMap)==null?void 0:d.call(u,i,s).message)??s.defaultError;return i.code==="unrecognized_keys"?{message:me.errToObj(n).message??o}:{message:o}}}:{}})}strip(){return new kt({...this._def,unknownKeys:"strip"})}passthrough(){return new kt({...this._def,unknownKeys:"passthrough"})}extend(n){return new kt({...this._def,shape:()=>({...this._def.shape(),...n})})}merge(n){return new kt({unknownKeys:n._def.unknownKeys,catchall:n._def.catchall,shape:()=>({...this._def.shape(),...n._def.shape()}),typeName:De.ZodObject})}setKey(n,i){return this.augment({[n]:i})}catchall(n){return new kt({...this._def,catchall:n})}pick(n){const i={};for(const s of We.objectKeys(n))n[s]&&this.shape[s]&&(i[s]=this.shape[s]);return new kt({...this._def,shape:()=>i})}omit(n){const i={};for(const s of We.objectKeys(this.shape))n[s]||(i[s]=this.shape[s]);return new kt({...this._def,shape:()=>i})}deepPartial(){return ys(this)}partial(n){const i={};for(const s of We.objectKeys(this.shape)){const o=this.shape[s];n&&!n[s]?i[s]=o:i[s]=o.optional()}return new kt({...this._def,shape:()=>i})}required(n){const i={};for(const s of We.objectKeys(this.shape))if(n&&!n[s])i[s]=this.shape[s];else{let u=this.shape[s];for(;u instanceof Yi;)u=u._def.innerType;i[s]=u}return new kt({...this._def,shape:()=>i})}keyof(){return kS(We.objectKeys(this.shape))}}kt.create=(t,n)=>new kt({shape:()=>t,unknownKeys:"strip",catchall:Zi.create(),typeName:De.ZodObject,...Be(n)});kt.strictCreate=(t,n)=>new kt({shape:()=>t,unknownKeys:"strict",catchall:Zi.create(),typeName:De.ZodObject,...Be(n)});kt.lazycreate=(t,n)=>new kt({shape:t,unknownKeys:"strip",catchall:Zi.create(),typeName:De.ZodObject,...Be(n)});class dc extends Ge{_parse(n){const{ctx:i}=this._processInputParams(n),s=this._def.options;function o(u){for(const h of u)if(h.result.status==="valid")return h.result;for(const h of u)if(h.result.status==="dirty")return i.common.issues.push(...h.ctx.common.issues),h.result;const d=u.map(h=>new ei(h.ctx.common.issues));return re(i,{code:J.invalid_union,unionErrors:d}),_e}if(i.common.async)return Promise.all(s.map(async u=>{const d={...i,common:{...i.common,issues:[]},parent:null};return{result:await u._parseAsync({data:i.data,path:i.path,parent:d}),ctx:d}})).then(o);{let u;const d=[];for(const m of s){const p={...i,common:{...i.common,issues:[]},parent:null},g=m._parseSync({data:i.data,path:i.path,parent:p});if(g.status==="valid")return g;g.status==="dirty"&&!u&&(u={result:g,ctx:p}),p.common.issues.length&&d.push(p.common.issues)}if(u)return i.common.issues.push(...u.ctx.common.issues),u.result;const h=d.map(m=>new ei(m));return re(i,{code:J.invalid_union,unionErrors:h}),_e}}get options(){return this._def.options}}dc.create=(t,n)=>new dc({options:t,typeName:De.ZodUnion,...Be(n)});function Ih(t,n){const i=Vi(t),s=Vi(n);if(t===n)return{valid:!0,data:t};if(i===de.object&&s===de.object){const o=We.objectKeys(n),u=We.objectKeys(t).filter(h=>o.indexOf(h)!==-1),d={...t,...n};for(const h of u){const m=Ih(t[h],n[h]);if(!m.valid)return{valid:!1};d[h]=m.data}return{valid:!0,data:d}}else if(i===de.array&&s===de.array){if(t.length!==n.length)return{valid:!1};const o=[];for(let u=0;u<t.length;u++){const d=t[u],h=n[u],m=Ih(d,h);if(!m.valid)return{valid:!1};o.push(m.data)}return{valid:!0,data:o}}else return i===de.date&&s===de.date&&+t==+n?{valid:!0,data:t}:{valid:!1}}class fc extends Ge{_parse(n){const{status:i,ctx:s}=this._processInputParams(n),o=(u,d)=>{if(Nb(u)||Nb(d))return _e;const h=Ih(u.value,d.value);return h.valid?((Ob(u)||Ob(d))&&i.dirty(),{status:i.value,value:h.data}):(re(s,{code:J.invalid_intersection_types}),_e)};return s.common.async?Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then(([u,d])=>o(u,d)):o(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}fc.create=(t,n,i)=>new fc({left:t,right:n,typeName:De.ZodIntersection,...Be(i)});class Tr extends Ge{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==de.array)return re(s,{code:J.invalid_type,expected:de.array,received:s.parsedType}),_e;if(s.data.length<this._def.items.length)return re(s,{code:J.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),_e;!this._def.rest&&s.data.length>this._def.items.length&&(re(s,{code:J.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),i.dirty());const u=[...s.data].map((d,h)=>{const m=this._def.items[h]||this._def.rest;return m?m._parse(new qi(s,d,s.path,h)):null}).filter(d=>!!d);return s.common.async?Promise.all(u).then(d=>Cn.mergeArray(i,d)):Cn.mergeArray(i,u)}get items(){return this._def.items}rest(n){return new Tr({...this._def,rest:n})}}Tr.create=(t,n)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Tr({items:t,typeName:De.ZodTuple,rest:null,...Be(n)})};class Yb extends Ge{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==de.map)return re(s,{code:J.invalid_type,expected:de.map,received:s.parsedType}),_e;const o=this._def.keyType,u=this._def.valueType,d=[...s.data.entries()].map(([h,m],p)=>({key:o._parse(new qi(s,h,s.path,[p,"key"])),value:u._parse(new qi(s,m,s.path,[p,"value"]))}));if(s.common.async){const h=new Map;return Promise.resolve().then(async()=>{for(const m of d){const p=await m.key,g=await m.value;if(p.status==="aborted"||g.status==="aborted")return _e;(p.status==="dirty"||g.status==="dirty")&&i.dirty(),h.set(p.value,g.value)}return{status:i.value,value:h}})}else{const h=new Map;for(const m of d){const p=m.key,g=m.value;if(p.status==="aborted"||g.status==="aborted")return _e;(p.status==="dirty"||g.status==="dirty")&&i.dirty(),h.set(p.value,g.value)}return{status:i.value,value:h}}}}Yb.create=(t,n,i)=>new Yb({valueType:n,keyType:t,typeName:De.ZodMap,...Be(i)});class ao extends Ge{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==de.set)return re(s,{code:J.invalid_type,expected:de.set,received:s.parsedType}),_e;const o=this._def;o.minSize!==null&&s.data.size<o.minSize.value&&(re(s,{code:J.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),i.dirty()),o.maxSize!==null&&s.data.size>o.maxSize.value&&(re(s,{code:J.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),i.dirty());const u=this._def.valueType;function d(m){const p=new Set;for(const g of m){if(g.status==="aborted")return _e;g.status==="dirty"&&i.dirty(),p.add(g.value)}return{status:i.value,value:p}}const h=[...s.data.values()].map((m,p)=>u._parse(new qi(s,m,s.path,p)));return s.common.async?Promise.all(h).then(m=>d(m)):d(h)}min(n,i){return new ao({...this._def,minSize:{value:n,message:me.toString(i)}})}max(n,i){return new ao({...this._def,maxSize:{value:n,message:me.toString(i)}})}size(n,i){return this.min(n,i).max(n,i)}nonempty(n){return this.min(1,n)}}ao.create=(t,n)=>new ao({valueType:t,minSize:null,maxSize:null,typeName:De.ZodSet,...Be(n)});class Xb extends Ge{get schema(){return this._def.getter()}_parse(n){const{ctx:i}=this._processInputParams(n);return this._def.getter()._parse({data:i.data,path:i.path,parent:i})}}Xb.create=(t,n)=>new Xb({getter:t,typeName:De.ZodLazy,...Be(n)});class Pb extends Ge{_parse(n){if(n.data!==this._def.value){const i=this._getOrReturnCtx(n);return re(i,{received:i.data,code:J.invalid_literal,expected:this._def.value}),_e}return{status:"valid",value:n.data}}get value(){return this._def.value}}Pb.create=(t,n)=>new Pb({value:t,typeName:De.ZodLiteral,...Be(n)});function kS(t,n){return new Rs({values:t,typeName:De.ZodEnum,...Be(n)})}class Rs extends Ge{_parse(n){if(typeof n.data!="string"){const i=this._getOrReturnCtx(n),s=this._def.values;return re(i,{expected:We.joinValues(s),received:i.parsedType,code:J.invalid_type}),_e}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(n.data)){const i=this._getOrReturnCtx(n),s=this._def.values;return re(i,{received:i.data,code:J.invalid_enum_value,options:s}),_e}return qn(n.data)}get options(){return this._def.values}get enum(){const n={};for(const i of this._def.values)n[i]=i;return n}get Values(){const n={};for(const i of this._def.values)n[i]=i;return n}get Enum(){const n={};for(const i of this._def.values)n[i]=i;return n}extract(n,i=this._def){return Rs.create(n,{...this._def,...i})}exclude(n,i=this._def){return Rs.create(this.options.filter(s=>!n.includes(s)),{...this._def,...i})}}Rs.create=kS;class qb extends Ge{_parse(n){const i=We.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(n);if(s.parsedType!==de.string&&s.parsedType!==de.number){const o=We.objectValues(i);return re(s,{expected:We.joinValues(o),received:s.parsedType,code:J.invalid_type}),_e}if(this._cache||(this._cache=new Set(We.getValidEnumValues(this._def.values))),!this._cache.has(n.data)){const o=We.objectValues(i);return re(s,{received:s.data,code:J.invalid_enum_value,options:o}),_e}return qn(n.data)}get enum(){return this._def.values}}qb.create=(t,n)=>new qb({values:t,typeName:De.ZodNativeEnum,...Be(n)});class hc extends Ge{unwrap(){return this._def.type}_parse(n){const{ctx:i}=this._processInputParams(n);if(i.parsedType!==de.promise&&i.common.async===!1)return re(i,{code:J.invalid_type,expected:de.promise,received:i.parsedType}),_e;
vendor: 4,097 bytes, line 75
75const s=i.parsedType===de.promise?i.data:Promise.resolve(i.data);return qn(s.then(o=>this._def.type.parseAsync(o,{path:i.path,errorMap:i.common.contextualErrorMap})))}}hc.create=(t,n)=>new hc({type:t,typeName:De.ZodPromise,...Be(n)});class _s extends Ge{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===De.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(n){const{status:i,ctx:s}=this._processInputParams(n),o=this._def.effect||null,u={addIssue:d=>{re(s,d),d.fatal?i.abort():i.dirty()},get path(){return s.path}};if(u.addIssue=u.addIssue.bind(u),o.type==="preprocess"){const d=o.transform(s.data,u);if(s.common.async)return Promise.resolve(d).then(async h=>{if(i.value==="aborted")return _e;const m=await this._def.schema._parseAsync({data:h,path:s.path,parent:s});return m.status==="aborted"?_e:m.status==="dirty"||i.value==="dirty"?Kl(m.value):m});{if(i.value==="aborted")return _e;const h=this._def.schema._parseSync({data:d,path:s.path,parent:s});return h.status==="aborted"?_e:h.status==="dirty"||i.value==="dirty"?Kl(h.value):h}}if(o.type==="refinement"){const d=h=>{const m=o.refinement(h,u);if(s.common.async)return Promise.resolve(m);if(m instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return h};if(s.common.async===!1){const h=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});return h.status==="aborted"?_e:(h.status==="dirty"&&i.dirty(),d(h.value),{status:i.value,value:h.value})}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(h=>h.status==="aborted"?_e:(h.status==="dirty"&&i.dirty(),d(h.value).then(()=>({status:i.value,value:h.value}))))}if(o.type==="transform")if(s.common.async===!1){const d=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!Ms(d))return _e;const h=o.transform(d.value,u);if(h instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:i.value,value:h}}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(d=>Ms(d)?Promise.resolve(o.transform(d.value,u)).then(h=>({status:i.value,value:h})):_e);We.assertNever(o)}}_s.create=(t,n,i)=>new _s({schema:t,typeName:De.ZodEffects,effect:n,...Be(i)});_s.createWithPreprocess=(t,n,i)=>new _s({schema:n,effect:{type:"preprocess",transform:t},typeName:De.ZodEffects,...Be(i)});class Yi extends Ge{_parse(n){return this._getType(n)===de.undefined?qn(void 0):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}}Yi.create=(t,n)=>new Yi({innerType:t,typeName:De.ZodOptional,...Be(n)});class Ds extends Ge{_parse(n){return this._getType(n)===de.null?qn(null):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}}Ds.create=(t,n)=>new Ds({innerType:t,typeName:De.ZodNullable,...Be(n)});class $h extends Ge{_parse(n){const{ctx:i}=this._processInputParams(n);let s=i.data;return i.parsedType===de.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:i.path,parent:i})}removeDefault(){return this._def.innerType}}$h.create=(t,n)=>new $h({innerType:t,typeName:De.ZodDefault,defaultValue:typeof n.default=="function"?n.default:()=>n.default,...Be(n)});class Wh extends Ge{_parse(n){const{ctx:i}=this._processInputParams(n),s={...i,common:{...i.common,issues:[]}},o=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});return uc(o)?o.then(u=>({status:"valid",value:u.status==="valid"?u.value:this._def.catchValue({get error(){return new ei(s.common.issues)},input:s.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new ei(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}Wh.create=(t,n)=>new Wh({innerType:t,typeName:De.ZodCatch,catchValue:typeof n.catch=="function"?n.catch:()=>n.catch,...Be(n)});class Zb extends Ge{_parse(n){if(this._getType(n)!==de.nan){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.nan,received:s.parsedType}),_e}
75return{status:"valid",value:n.data}}}Zb.create=t=>new Zb({typeName:De.ZodNaN,...Be(t)});class bN extends Ge{_parse(n){const{ctx:i}=this._processInputParams(n),s=i.data;return this._def.type._parse({data:s,path:i.path,parent:i})}unwrap(){return this._def.type}}class qm extends Ge{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.common.async)return(async()=>{const u=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});return u.status==="aborted"?_e:u.status==="dirty"?(i.dirty(),Kl(u.value)):this._def.out._parseAsync({data:u.value,path:s.path,parent:s})})();{const o=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return o.status==="aborted"?_e:o.status==="dirty"?(i.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:s.path,parent:s})}}static create(n,i){return new qm({in:n,out:i,typeName:De.ZodPipeline})}}class Jh extends Ge{_parse(n){const i=this._def.innerType._parse(n),s=o=>(Ms(o)&&(o.value=Object.freeze(o.value)),o);return uc(i)?i.then(o=>s(o)):s(i)}unwrap(){return this._def.innerType}}Jh.create=(t,n)=>new Jh({innerType:t,typeName:De.ZodReadonly,...Be(n)});var De;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(De||(De={}));const ie=Ki.create;Zi.create;const hr=ba.create,Et=kt.create;dc.create;fc.create;Tr.create;Rs.create;hc.create;Yi.create;Ds.create;const ho={home:Et({tagline:ie(),enterLabel:ie()}),about:Et({hero:Et({eyebrow:ie(),heading:ie(),subheading:ie()}),intro:Et({heading:ie(),body:ie()}),europe:Et({heading:ie(),body:ie()}),projects:Et({heading:ie(),body:ie()}),pillars:hr(Et({id:ie(),label:ie(),description:ie()})),cta:Et({heading:ie(),body:ie(),buttonLabel:ie(),buttonHref:ie()}),tagline:ie()}),projects:Et({hero:Et({eyebrow:ie(),heading:ie(),subheading:ie(),notice:ie()}),projects:hr(Et({id:ie(),slug:ie(),title:ie(),description:ie(),idealLabel:ie(),idealTraits:hr(Et({id:ie(),trait:ie()}))})),cta:Et({heading:ie(),body:ie(),buttonLabel:ie(),buttonHref:ie()})}),contact:Et({hero:Et({eyebrow:ie(),heading:ie(),subheading:ie(),notice:ie()}),sections:Et({contactInfo:ie(),socialProfiles:ie(),socialNotice:ie(),projectInterest:ie(),aboutYou:ie(),questions:ie(),photos:ie(),photosInstructions:ie(),photosRequirements:hr(Et({id:ie(),text:ie()})),photosWarning:ie(),photosWarningDetail:ie(),photosFormats:ie(),confirmations:ie(),confirmationsNotice:ie(),submitLabel:ie(),successHeading:ie(),successBody:ie()}),projectOptions:hr(Et({id:ie(),value:ie(),label:ie()})),confirmationItems:hr(Et({id:ie(),text:ie()}))}),process:Et({hero:Et({eyebrow:ie(),heading:ie(),subheading:ie()}),steps:hr(Et({id:ie(),number:ie(),title:ie(),body:ie(),note:ie()})),closing:ie(),tagline:ie()})},mo={parse:t=>t},wn=(ho.about??mo).parse({hero:{eyebrow:"About Us",heading:"Independent Talent. Professional Representation.",subheading:"Xposure Modeling is an adult talent development and representation agency helping independent creators build their brands, expand their audiences, secure professional opportunities, and establish themselves within the adult entertainment industry."},intro:{heading:"Who We Work With",body:"We work exclusively with adults aged 18 and older, including established creators who operate their own subscription platforms and emerging talent entering the industry for the first time. Unlike traditional agencies and management companies, our goal is not to take control of a creator's content or career. We provide the professional guidance, industry connections, brand development, and representation independent talent needs to compete at the highest level while maintaining ownership and creative control."},europe:{heading:"European Talent. American Market.",body:"With connections in both Europe and the United States, we specialize in helping European content creators position themselves for the American market. We help talent understand American audiences, develop a marketable brand, expand their visibility, and connect with opportunities that may otherwise be difficult to access from abroad."},projects:{heading:"Startup Projects",body:"Xposure Modeling also develops and supports select startup projects designed to explore emerging and underserved areas of the adult market. From time to time, we recruit independent talent for these projects, creating opportunities to collaborate, gain professional experience, increase visibility, and help shape new ventures from the beginning."},pillars:[{id:"p1",label:"Brand Development",description:"We help you build a marketable identity that resonates with your target audience and stands out in a competitive market."},{id:"p2",label:"Industry Connections",description:"Access our network of professional contacts across Europe and the United States to unlock opportunities that are difficult to reach independently."},{id:"p3",label:"Creator Independence",description:"We never take control of your content or career. You retain full ownership and creative control at every stage."},{id:"p4",label:"Market Positioning",description:"We help European creators understand American audiences and develop strategies to expand their visibility in the US market."}],cta:{heading:"Ready to Expand Your Xposure?",body:"Whether you are an established creator or entering the industry for the first time, we want to hear from you.",buttonLabel:"Get in Touch",buttonHref:"/contact"},tagline:"Build Your Brand. Expand Your Xposure. Keep Your Control."}),xt=(ho.contact??mo).parse({hero:{eyebrow:"Apply",heading:"Contact Xposure Modeling",subheading:"Interested in working with Xposure Modeling or being considered for one of our current projects? Complete the application below and tell us a little about yourself.",notice:"We work exclusively with adults aged 18 and older. Previous experience and a large social media following are not required. We welcome both established creators and individuals entering the industry for the first time."},sections:{contactInfo:"Contact Information",socialProfiles:"Social Media and Creator Profiles",socialNotice:"Please provide links to any accounts you currently use. If you are new to content creation and do not yet have any accounts, you may leave this section blank.",projectInterest:"Project Interest",aboutYou:"Tell Us About Yourself",questions:"Questions or Additional Information",photos:"Submit Three Photographs",photosInstructions:"Please upload three recent, unedited photographs that clearly show what you currently look like:",photosRequirements:[{id:"ph-1",text:"One professional or professional-quality photograph"},{id:"ph-2",text:"One clear, clothed selfie"},{id:"ph-3",text:"One additional clear, clothed selfie or casual photograph"}],photosWarning:"No Nude Images",photosWarningDetail:"We do not accept nude, sexually explicit, or suggestive photographs through this form. Applications containing this material will not be reviewed.",photosFormats:"Accepted file formats: JPG, JPEG, PNG, or HEIC.",confirmations:"Required Confirmations",confirmationsNotice:"Applicants must check each box before submitting the application.",submitLabel:"Submit Your Application",successHeading:"Ap
75plication Received",successBody:"Thank you for contacting Xposure Modeling. Your application has been received. If your profile appears to be a potential fit for our agency or one of our current projects, a member of our team will contact you."},projectOptions:[{id:"po-1",value:"Straight Appeal",label:"Straight Appeal"},{id:"po-2",value:"The Nerd Next Door",label:"The Nerd Next Door"},{id:"po-3",value:"Natural Beauty",label:"Natural Beauty"},{id:"po-4",value:"General Representation",label:"General Representation"},{id:"po-5",value:"Other",label:"Other"}],confirmationItems:[{id:"conf-1",text:"I confirm that I am at least 18 years old and legally permitted to apply for adult-industry representation in my country of residence."},{id:"conf-2",text:"I confirm that the information and photographs submitted are accurate and belong to me."},{id:"conf-3",text:"I understand that Xposure Modeling does not accept nude, sexually explicit, or suggestive photographs through this form."},{id:"conf-4",text:"I understand that submitting this application does not guarantee representation or participation in a project."},{id:"conf-5",text:"I consent to Xposure Modeling reviewing my application and contacting me regarding representation and relevant opportunities."}]}),Fb=(ho.home??mo).parse({tagline:"Build Your Brand. Expand Your Xposure. Keep Your Control.",enterLabel:"Enter"}),vs=(ho.process??mo).parse({hero:{eyebrow:"How It Works",heading:"Our Process",subheading:"At Xposure Modeling, we want every applicant to understand exactly what happens if they are selected. There are no upfront costs for the talent, and every stage is discussed clearly before any commitment is made."},steps:[{id:"step-1",number:"01",title:"Application Review",body:"The process begins when you submit an application through our website. Our team reviews your photographs, social media profiles, creator accounts, experience, goals, and suitability for the project you selected.",note:"Submitting an application does not guarantee an interview or representation."},{id:"step-2",number:"02",title:"Initial Conversation",body:"If we believe you may be a good fit, a member of our team will c
75ontact you for an initial video conversation. This gives us an opportunity to learn more about you, discuss your goals, explain the project, and answer your questions.",note:"We will also confirm that you are at least 18 years old before proceeding further."},{id:"step-3",number:"03",title:"In-Person Interview",body:"Applicants who advance beyond the initial conversation may be invited to Frankfurt or Budapest for an in-person interview.",coveredLabel:"Xposure Modeling will arrange and pay for:",covered:[{id:"cov-1",text:"Round-trip airfare"},{id:"cov-2",text:"Your hotel room"},{id:"cov-3",text:"Approved travel associated with the interview"}],coveredNote:"You will not be asked to pay these costs upfront.",details:"During the interview, we will verify your identity and age using valid government-issued identification. You will also have an opportunity to meet with our team, learn more about the proposed project, discuss expectations, and determine whether Xposure Modeling is right for you.",note:"You will not be required to surrender your passport or identification, and you remain free to leave the process at any time. Attending an interview does not obligate either you or Xposure Modeling to enter into an agreement."},{id:"step-4",number:"04",title:"Selection and Agreement",body:"If you are selected following the in-person interview, we will present you with a written agreement explaining the project, services, responsibilities, revenue structure, contract term, and your rights as an independent creator.",note:"You will be given time to review the agreement and may obtain independent legal advice before signing. No work begins until the agreement has been reviewed and signed by everyone involved."},{id:"step-5",number:"05",title:"Creative Development",body:"Once the agreement is in place, we begin creative development. This stage usually takes three to four weeks.",coveredLabel:"Depending on the project, creative development may include:",covered:[{id:"cd-1",text:"Brand positioning and creator identity"},{id:"cd-2",text:"Audience and market strategy"},{id:"cd-3",text:"Visual direction"},{id:"cd-4",text:"Profile and platform development"},{id:"cd-5",text:"Content planning"},{id:"cd-6",text:"Promotional strategy"},{id:"cd-7",text:"Social media positioning"},{id:"cd-8",text:"Launch preparation"}],coveredNote:"",details:"Our goal is to create a professional, distinctive brand that can stand out in a highly competitive market while allowing the creator to maintain control over their content and career.",note:""},{id:"step-6",number:"06",title:"First-Year Partnership",body:"There is no upfront cost to the talent. Xposure Modeling covers the approved initial costs required to develop and launch the project.",splitLabel:"During the first year:",split:[{id:"sp1-1",party:"Creator",share:"60%",description:"of project revenue"},{id:"sp1-2",party:"Xposure Modeling",share:"40%",description:"agency fee"}],note:"The first-year rate reflects the agency's financial investment, creative development, project launch, management, marketing, and ongoing professional support. The exact definition and distribution of project revenue will be clearly stated in the written agreement.",disclaimer:"Income is never guaranteed. Earnings depend on audience response, content performance, market conditions, and the creator's continued participation."},{id:"step-7",number:"07",title:"After the First Year",body:"After the first year, the revenue structure changes.",splitLabel:"From year two onward:",split:[{id:"sp2-1",party:"Creator",share:"75%",description:"of project revenue"},{id:"sp2-2",party:"Xposure Modeling",share:"25%",description:"agency fee"}],note:"The agency fee is reduced because the initial development and launch costs have already been covered, the brand is established, and the project should be better positioned to support its continuing operations.",details:"This is also when opportunities such as brand partnerships, endorsements, collaborations, appearances, and other professional opportunities may become more accessible. These opportunities cannot be guaranteed, but Xposure Modeling will continue working to identify and develop them."},{id:"step-8",number:"08",title:"Your Choice to Continue",body:"Talent is not required to continue for a second year. At the end of the initial contract term, you may choose to renew the partnership or conclude your relationship with Xposure Modeling in accordance with the written agreement.",note:"Creators who choose not to continue will no longer receive the agency's ongoing management, strategic support, brand development, representation, or assistance securing endorsements and professional opportunities. The agreement will clearly explain what happens to existing accounts, content, branding, revenue, and other project assets when the relationship ends."}],closing:"Throughout the process, our principle remains the same:",tagline:"Build Your Brand. Expand Your Xposure. Keep Your Control."}),Wa=(ho.projects??mo).parse({hero:{eyebrow:"Current Projects",heading:"Open Opportunities",subheading:"Xposure Modeling regularly develops new projects designed to reach emerging and underserved areas of the adult market. We are currently seeking independent adult talent for the following opportunities.",notice:"All applicants must be at least 18 years old and able to provide valid identification. Participation is always voluntary, and project expectations will be discussed clearly before any commitment is made."},projects:[{id:"proj-1",slug:"straight-appeal",title:"Straight Appeal",description:`We are seeking attractive straight or bisexual male talent with an authentic "boy next door" or "athlete next door" appeal for content marketed primarily to a gay male audience.
76
77We are especially interested in footballers and other athletic European men who have a natural, masculine presence and feel comfortable building a following among gay fans. Previous adult-content experience is not required. The right personality, appearance, and willingness to engage with the audience are what matter most.`,idealLabel:"Ideal talent may include:",idealTraits:[{id:"sa-1",trait:"Footballers and other athletes"},{id:"sa-2",trait:"Fitness-focused creators"},{id:"sa-3",trait:'Masculine "boy next door" personalities'},{id:"sa-4",trait:"Straight or bisexual men comfortable appealing to a gay audie
77nce"},{id:"sa-5",trait:"European creators interested in reaching the American market"}]},{id:"proj-2",slug:"nerd-next-door",title:"The Nerd Next Door",description:`We are seeking an adult bisexual male creator with a slim, youthful "nerd twink" aesthetic. This project is designed around someone who feels intelligent, slightly awkward, playful, and naturally charming.
78
79The ideal talent will have a distinctive personality and be comfortable developing a recognizable character-driven brand. Glasses, gaming, technology, comics, academics, or other genuine "nerdy" interests are welcome, but authenticity is essential.`,idealLabel:"Ideal talent may include:",idealTraits:[{id:"nn-1",trait:"Slim, youthful appearance with a nerd or twink aesthetic"},{id:"nn-2",trait:"Genuine interests in gaming, technology, comics, or academics"},{id:"nn-3",trait:"Playful, intelligent, and naturally charming personality"},{id:"nn-4",trait:"Comfortable developing a character-driven personal brand"},{id:"nn-5",trait:"Authenticity is essential — no manufactured personas"}]},{id:"proj-3",slug:"natural-beauty",title:"Natural Beauty",description:`We are seeking an adult female creator with an approachable, all-natural appearance and a sweet, wholesome "girl next door" presence.
80
81The ideal talent will have a warm personality, natural confidence, and an authentic appearance without relying on a heavily manufactured or overly polished image. Previous experience is not required. This project is especially suited to someone who wants professional guidance while developing her brand and maintaining control of her content.`,idealLabel:"Ideal talent may include:",idealTraits:[{id:"nb-1",trait:"All-natural appearance with a wholesome, approachable presence"},{id:"nb-2",trait:"Warm personality and natural confidence"},{id:"nb-3",trait:"No previous experience required"},{id:"nb-4",trait:"Comfortable developing her brand with professional guidance"},{id:"nb-5",trait:"Committed to maintaining creative control of her content"}]}],cta:{heading:"Interested in a Project?",body:`If you believe you may be a good fit, we would like to hear from you. Submit a brief introduction, your location, age, current social media or creator-platform links, and the project that interests you.
82
83Joining Xposure Modeling does not mean giving up your independence. We help you develop your brand, understand the market, and access professional opportunities while you retain control over your career and content.`,buttonLabel:"Submit Your Application",buttonHref:"/contact"}});function xN(){return y.jsxs(y.Fragment,{children:[y.jsxs(Ns,{children:[y.jsx("title",{children:"Xposure Modeling — Talent Development & Representation"}),y.jsx("meta",{name:"description",content:"Xposure Modeling is an adult talent development and representation agency helping independent creators build their brands, expand their audiences, and secure professional opportunities."}),y.jsx("link",{rel:"canonical",href:"https://xposuremodeling.com/"}),y.jsx("meta",{property:"og:title",content:"Xposure Modeling — Talent Development & Representation"}),y.jsx("meta",{property:"og:description",content:"Build Your Brand. Expand Your Xposure. Keep Your Control."}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:"https://xposuremodeling.com/"}),y.jsx("meta",{property:"og:image",content:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:image",content:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://xposuremodeling.com/#website",name:"Xposure Modeling",url:"https://xposuremodeling.com/"},{"@type":"Organization","@id":"https://xposuremodeling.com/#organization",name:"Xposure Modeling",url:"https://xposuremodeling.com/",logo:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png",description:"Adult talent development and representation agency helping independent creators build their brands, expand their audiences, and secure professional opportunities."},{"@type":"WebPage","@id":"https://xposuremodeling.com/#webpage",url:"https://xposuremodeling.com/",name:"Xposure Modeling — Talent Development & Representation",isPartOf:{"@id":"https://xposuremodeling.com/#website"},about:{"@id":"https://xposuremodeling.com/#organization"},datePublished:"2026-07-13",dateModified:"2026-07-13"}]})})]}),y.jsxs("main",{className:"relative flex flex-col items-center justify-center",style:{minHeight:"100dvh",background:"#0a0a0a",overflow:"hidden"},children:[y.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px)",backgroundSize:"80px 80px"}}),y.jsxs(oe.div,{className:"relative z-10 flex flex-col items-center gap-10 px-8",initial:{opacity:0}
83,animate:{opacity:1},transition:{duration:1.8,ease:"easeOut"},children:[y.jsx("h1",{className:"sr-only",children:"Xposure Modeling — Talent Development & Representation"}),y.jsx("img",{src:"/airo-assets/images/brand/logo-main",alt:"Xposure Modeling",className:"w-auto object-contain",style:{maxWidth:"min(480px, 80vw)",maxHeight:"40vh"},fetchPriority:"high"}),y.jsx(oe.p,{className:"text-center text-xs tracking-widest uppercase",style:{color:"#888888",letterSpacing:"0.25em",fontFamily:"var(--font-sans)"},initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:1.4,delay:.8,ease:"easeOut"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"de4812",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.tagline",contentKeyTemplate:null,expressionHash:null},children:Fb.tagline})})}),y.jsx(oe.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1.2,delay:1.6,ease:"easeOut"},children:y.jsxs(ya,{to:"/about",className:"group flex flex-col items-center gap-3 transition-colors","aria-label":"Enter site",children:[y.jsx("span",{className:"text-xs tracking-widest uppercase transition-colors group-hover:text-primary",style:{color:"#555555",letterSpacing:"0.3em",fontFamily:"var(--font-sans)"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"f205a7",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.enterLabel",contentKeyTemplate:null,expressionHash:null},children:Fb.enterLabel})})}),y.jsx("span",{className:"block transition-all duration-500 group-hover:opacity-100",style:{width:"1px",height:"32px",background:"linear-gradient(to bottom, #C9A84C, transparent)",opacity:.5}})]})})]})]})]})}const It={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.7,ease:"easeOut"}}},fs={hidden:{},visible:{transition:{staggerChildren:.12}}};function SN(){const n="https://xposuremodeling.com/about";return y.jsxs(y.Fragment,{children:[y.jsxs(Ns,{children:[y.jsx("title",{children:"About — Xposure Modeling"}),y.jsx("meta",{name:"description",content:"Xposure Modeling is an adult talent development and representation agency helping independent creators build their brands and secure professional opportunities."}),y.jsx("link",{rel:"canonical",href:n}),y.jsx("meta",{property:"og:title",content:"About — Xposure Modeling"}),y.jsx("meta",{property:"og:description",content:"Professional guidance, industry connections, and representation — without taking control of your career."}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:n}),y.jsx("meta",{property:"og:image",content:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:image",content:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"AboutPage","@id":`${n}#webpage`,name:"About — Xposure Modeling",url:n,description:"Adult talent development and representation agency helping independent creators build their brands and secure professional opportunities.",isPartOf:{"@id":"https://xposuremodeling.com/#website"},about:{"@id":"https://xposuremodeling.com/#organization"}})})]}),y.jsxs("main",{style:{background:"#0a0a0a",color:"#f5f5f5"},children:[y.jsxs("section",{className:"relative overflow-hidden",style:{paddingTop:"7rem",paddingBottom:"6rem"},children:[y.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px)",backgroundSize:"80px 80px"}}),y.jsx("div",{className:"container mx-auto px-6 md:px-10 relative z-10",children:y.jsxs(oe.div,{variants:fs,initial:"hidden",animate:"visible",className:"max-w-3xl",children:[y.jsx(oe.p,{variants:It,className:"text-xs tracking-widest uppercase mb-6",style:{color:"#C9A84C",letterSpacing:"0.25em"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"67c470",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.hero.eyebrow",contentKeyTemplate:null,expressionH
83ash:null},children:wn.hero.eyebrow})})}),y.jsx(oe.h1,{variants:It,className:"mb-8",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(2rem, 5vw, 3.5rem)",fontWeight:700,lineHeight:1.15,color:"#ffffff"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"5da8f9",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.hero.heading",contentKeyTemplate:null,expressionHash:null},children:wn.hero.heading})})}),y.jsx(oe.p,{variants:It,style:{fontSize:"1.05rem",lineHeight:1.8,color:"#aaaaaa",maxWidth:"640px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"a99951",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.hero.subheading",contentKeyTemplate:null,expressionHash:null},children:wn.hero.subheading})})})]})})]}),y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsx("div",{style:{height:"1px",background:"linear-gradient(to right, #C9A84C, transparent)",opacity:.5}})}),y.jsx("section",{style:{padding:"6rem 0"},children:y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 md:gap-24",children:[y.jsxs(oe.div,{variants:fs,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[y.jsx(oe.p,{variants:It,className:"text-xs tracking-widest uppercase mb-5",style:{color:"#C9A84C",letterSpacing:"0.2em"},children:y.jsx("span",{children:"Who We Work With"})}),y.jsx(oe.h2,{variants:It,className:"mb-6",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(1.4rem, 3vw, 2rem)",fontWeight:700,color:"#ffffff",lineHeight:1.25},children:y.jsx("span",{children:y.jsx(Ce,{devId:"9212ae",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.intro.heading",contentKeyTemplate:null,expressionHash:null},children:wn.intro.heading})})}),y.jsx(oe.p,{variants:It,style:{color:"#999999",lineHeight:1.85,fontSize:"0.95rem"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"f0af65",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.intro.body",contentKeyTemplate:null,expressionHash:null},children:wn.intro.body})})})]}),y.jsxs(oe.div,{variants:fs,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[y.jsx(oe.p,{variants:It,className:"text-xs tracking-widest uppercase mb-5",style:{color:"#C9A84C",letterSpacing:"0.2em"},children:y.jsx("span",{children:"Reach"})}),y.jsx(oe.h2,{variants:It,className:"mb-6",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(1.4rem, 3vw, 2rem)",fontWeight:700,color:"#ffffff",lineHeight:1.25},children:y.jsx("span",{children:y.jsx(Ce,{devId:"b9410f",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.europe.heading",contentKeyTemplate:null,expressionHash:null},children:wn.europe.heading})})}),y.jsx(oe.p,{variants:It,style:{color:"#999999",lineHeight:1.85,fontSize:"0.95rem"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"cb15a6",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.europe.body",contentKeyTemplate:null,expressionHash:null},children:wn.europe.body})})})]})]})})}),y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsx("div",{style:{height:"1px",background:"linear-gradient(to right, transparent, #C9A84C, transparent)",opacity:.4}})}),y.jsx("section",{style:{padding:"6rem 0"},children:y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsxs(oe.div,{variants:fs,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"max-w-2xl",children:[y.jsx(oe.p,{variants:It,className:"text-xs tracking-widest uppercase mb-5",style:{color:"#C9A84C",letterSpacing:"0.2em"},children:y.jsx("span",{children:"Projects"})}),y.jsx(oe.h2,{variants:It,className:"mb-6",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(1.4rem, 3vw, 2rem)",fontWeight:700,color:"#ffffff",lineHeight:1.25},children:y.jsx("span",{children:y.jsx(Ce,{devId:"1a779b",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.projects.heading",contentKeyTemplate:null,expressionH
83ash:null},children:wn.projects.heading})})}),y.jsx(oe.p,{variants:It,style:{color:"#999999",lineHeight:1.85,fontSize:"0.95rem"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"59aab2",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.projects.body",contentKeyTemplate:null,expressionHash:null},children:wn.projects.body})})})]})})}),y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsx("div",{style:{height:"1px",background:"linear-gradient(to right, #C9A84C, transparent)",opacity:.5}})}),y.jsx("section",{style:{padding:"6rem 0"},children:y.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[y.jsx(oe.p,{className:"text-xs tracking-widest uppercase mb-14",style:{color:"#C9A84C",letterSpacing:"0.25em"},initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.6},children:y.jsx("span",{children:"What We Offer"})}),y.jsx(oe.div,{className:"grid grid-cols-1 md:grid-cols-2 gap-px",style:{border:"1px solid #1e1e1e"},variants:fs,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:wn.pillars.map(i=>y.jsxs(oe.div,{variants:It,className:"p-8 md:p-10",style:{background:"#0f0f0f",borderBottom:"1px solid #1e1e1e"},children:[y.jsx("div",{className:"w-8 mb-6",style:{height:"1px",background:"#C9A84C"}}),y.jsx("h3",{className:"mb-4 text-sm tracking-widest uppercase",style:{color:"#ffffff",letterSpacing:"0.15em",fontFamily:"var(--font-sans)",fontWeight:600},children:y.jsx("span",{children:i.label})}),y.jsx("p",{style:{color:"#888888",lineHeight:1.8,fontSize:"0.9rem"},children:y.jsx("span",{children:i.description})})]},i.id))})]})}),y.jsx("section",{style:{padding:"6rem 0 8rem"},children:y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsxs(oe.div,{className:"max-w-xl",variants:fs,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[y.jsx(oe.h2,{variants:It,className:"mb-6",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(1.6rem, 3.5vw, 2.4rem)",fontWeight:700,color:"#ffffff",lineHeight:1.2},children:y.jsx("span",{children:y.jsx(Ce,{devId:"04791d",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.cta.heading",contentKeyTemplate:null,expressionHash:null},children:wn.cta.heading})})}),y.jsx(oe.p,{variants:It,className:"mb-10",style:{color:"#999999",lineHeight:1.8,fontSize:"0.95rem"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"26af13",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.cta.body",contentKeyTemplate:null,expressionHash:null},children:wn.cta.body})})}),y.jsx(oe.div,{variants:It,children:y.jsx(ya,{to:"/contact",className:"inline-block text-xs tracking-widest uppercase px-8 py-4 transition-all duration-300",style:{border:"1px solid #C9A84C",color:"#C9A84C",letterSpacing:"0.2em",fontFamily:"var(--font-sans)",fontWeight:500},onMouseEnter:i=>{i.currentTarget.style.background="#C9A84C",i.currentTarget.style.color="#0a0a0a"},onMouseLeave:i=>{i.currentTarget.style.background="transparent",i.currentTarget.style.color="#C9A84C"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"d5b965",guard:{file:"src/pages/about.tsx",tagName:"span",sourceKind:"content-key",contentKey:"about.cta.buttonLabel",contentKeyTemplate:null,expressionHash:null},children:wn.cta.buttonLabel})})})})]})})})]})]})}const na={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.7,ease:"easeOut"}}},hh={hidden:{},visible:{transition:{staggerChildren:.12}}};function wN(){const n="https://xposuremodeling.com/projects";return y.jsxs(y.Fragment,{children:[y.jsxs(Ns,{children:[y.jsx("title",{children:"Current Projects — Xposure Modeling"}),y.jsx("meta",{name:"description",content:"Xposure Modeling is currently seeking independent adult talent for select projects. View open opportunities and submit your application."}),y.jsx("link",{rel:"canonical",href:n}),y.jsx("meta",{property:"og:title",content:"Current Projects — Xposure Modeling"}),y.jsx("meta",{property:"og:description",content:"Open opportunities for independent adult talent. View current projects and apply."}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:n}),y.jsx("meta",{property:"og:image",content:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:image",content:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebPage","@id":`${n}#webpage`,name:"Current Projects — Xposure Modeling",url:n,description:"Open opportunities for independent adult talent. Straight Appeal, The Nerd Next Door, and Natural Beauty.",isPartOf:{"@id":"https://xposuremodeling.com/#website"},about:{"@id":"https://xposuremodeling.com/#organization"}})})]}),y.jsxs("main",{style:{background:"#0a0a0a",color:"#f5f5f5"},children:[y.jsxs("section",{className:"relative overflow-hidden",style:{paddingTop:"7rem",paddingBottom:"6rem"},children:[y.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px)",backgroundSize:"80px 80px"}}),y.jsx("div",{className:"container mx-auto px-6 md:px-10 relative z-10",children:y.jsxs(oe.div,{variants:hh,initial:"hidden",animate:"visible",className:"max-w-3xl",children:[y.jsx(oe.p,{variants:na,className:"text-xs tracking-widest uppercase mb-6",style:{color:"#C9A84C",letterSpacing:"0.25em"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"551fff",guard:{file:"src/pages/projects.tsx",tagName:"span",sourceKind:"content-key",contentKey:"projects.hero.eyebrow",contentKeyTemplate:null,expressionH
83ash:null},children:Wa.hero.eyebrow})})}),y.jsx(oe.h1,{variants:na,className:"mb-8",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(2rem, 5vw, 3.5rem)",fontWeight:700,lineHeight:1.15,color:"#ffffff"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"f67668",guard:{file:"src/pages/projects.tsx",tagName:"span",sourceKind:"content-key",contentKey:"projects.hero.heading",contentKeyTemplate:null,expressionHash:null},children:Wa.hero.heading})})}),y.jsx(oe.p,{variants:na,className:"mb-8",style:{fontSize:"1.05rem",lineHeight:1.8,color:"#aaaaaa",maxWidth:"640px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"96f4e0",guard:{file:"src/pages/projects.tsx",tagName:"span",sourceKind:"content-key",contentKey:"projects.hero.subheading",contentKeyTemplate:null,expressionHash:null},children:Wa.hero.subheading})})}),y.jsx(oe.div,{variants:na,className:"px-6 py-5",style:{borderLeft:"2px solid #C9A84C",background:"rgba(201,168,76,0.05)"},children:y.jsx("p",{style:{color:"#888888",fontSize:"0.875rem",lineHeight:1.75},children:y.jsx("span",{children:y.jsx(Ce,{devId:"0d9393",guard:{file:"src/pages/projects.tsx",tagName:"span",sourceKind:"content-key",contentKey:"projects.hero.notice",contentKeyTemplate:null,expressionHash:null},children:Wa.hero.notice})})})})]})})]}),y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsx("div",{style:{height:"1px",background:"linear-gradient(to right, #C9A84C, transparent)",opacity:.5}})}),y.jsx("section",{style:{padding:"6rem 0"},children:y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsx("div",{className:"flex flex-col gap-0",children:Wa.projects.map((i,s)=>y.jsx(oe.div,{variants:hh,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"relative",style:{paddingTop:s===0?"0":"5rem",paddingBottom:"5rem",borderBottom:s<Wa.projects.length-1?"1px solid #1e1e1e":"none"},children:y.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-20",children:[y.jsxs("div",{children:[y.jsxs(oe.div,{variants:na,className:"flex items-center gap-4 mb-6",children:[y.jsx("span",{className:"text-xs tracking-widest uppercase",style:{color:"#C9A84C",letterSpacing:"0.2em"},children:y.jsxs("span",{children:["0",s+1]})}),y.jsx("div",{style:{flex:1,height:"1px",background:"#2a2a2a"}})]}),y.jsx(oe.h2,{variants:na,className:"mb-8",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(1.6rem, 3.5vw, 2.4rem)",fontWeight:700,color:"#ffffff",lineHeight:1.2},children:y.jsx("span",{children:i.title})}),y.jsx(oe.div,{variants:na,children:i.description.split(`
84
85`).map((o,u)=>y.jsx("p",{className:u>0?"mt-5":"",style:{color:"#999999",lineHeight:1.85,fontSize:"0.95rem"},children:y.jsx("span",{children:o})},u))})]}),y.jsxs(oe.div,{variants:na,children:[y.jsx("p",{className:"text-xs tracking-widest uppercase mb-6",style:{color:"#C9A84C",letterSpacing:"0.2em"},children:y.jsx("span",{children:i.idealLabel})}),y.jsx("ul",{className:"flex flex-col gap-4",children:i.idealTraits.map(o=>y.jsxs("li",{className:"flex items-start gap-4",children:[y.jsx("span",{className:"mt-2 shrink-0",style:{width:"20px",height:"1px",background:"#C9A84C",display:"block",marginTop:"10px"}}),y.jsx("span",{style:{color:"#aaaaaa",lineHeight:1.7,fontSize:"0.9rem"},children:o.trait})]},o.id))})]})]})},i.id))})})}),y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsx("div",{style:{height:"1px",background:"linear-gradient(to right, transparent, #C9A84C, transparent)",opacity:.4}})}),y.jsx("section",{style:{padding:"6rem 0 8rem"},children:y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsxs(oe.div,{className:"max-w-2xl",variants:hh,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[y.jsx(oe.h2,{variants:na,className:"mb-6",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(1.6rem, 3.5vw, 2.4rem)",fontWeight:700,color:"#ffffff",lineHeight:1.2},children:y.jsx("span",{children:y.jsx(Ce,{devId:"b3450a",guard:{file:"src/pages/projects.tsx",tagName:"span",sourceKind:"content-key",contentKey:"projects.cta.heading",contentKeyTemplate:null,expressionHash:null},children:Wa.cta.heading})})}),y.jsx(oe.div,{variants:na,children:Wa.cta.body.split(`
86
87`).map((i,s)=>y.jsx("p",{className:s>0?"mt-5":"",style:{color:"#999999",lineHeight:1.85,fontSize:"0.95rem"},children:y.jsx("span",{children:i})}
87,s))}),y.jsx(oe.div,{variants:na,className:"mt-10",children:y.jsx(ya,{to:"/contact",className:"inline-block text-xs tracking-widest uppercase px-8 py-4 transition-all duration-300",style:{border:"1px solid #C9A84C",color:"#C9A84C",letterSpacing:"0.2em",fontFamily:"var(--font-sans)",fontWeight:500},onMouseEnter:i=>{i.currentTarget.style.background="#C9A84C",i.currentTarget.style.color="#0a0a0a"},onMouseLeave:i=>{i.currentTarget.style.background="transparent",i.currentTarget.style.color="#C9A84C"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"9b9013",guard:{file:"src/pages/projects.tsx",tagName:"span",sourceKind:"content-key",contentKey:"projects.cta.buttonLabel",contentKeyTemplate:null,expressionHash:null},children:Wa.cta.buttonLabel})})})})]})})})]})]})}const Un={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.7,ease:"easeOut"}}},Gb={hidden:{},visible:{transition:{staggerChildren:.1}}},ha={width:"100%",background:"#111111",border:"1px solid #2a2a2a",color:"#f5f5f5",padding:"12px 16px",fontSize:"0.9rem",outline:"none",fontFamily:"var(--font-sans)",transition:"border-color 0.2s"},aa={display:"block",fontSize:"0.75rem",letterSpacing:"0.15em",textTransform:"uppercase",color:"#888888",marginBottom:"8px",fontFamily:"var(--font-sans)"},mr={fontFamily:"var(--font-heading)",fontSize:"1.1rem",fontWeight:700,color:"#ffffff",marginBottom:"24px"};function TN(){const n="https://xposuremodeling.com/contact",[i,s]=E.useState(!1),[o,u]=E.useState(!1),[d,h]=E.useState(""),[m,p]=E.useState(""),[g,b]=E.useState(""),[x,w]=E.useState({}),[T,D]=E.useState([null,null,null]),[j,O]=E.useState([]),V=E.useRef(null),U=xt.confirmationItems.every(K=>x[K.id]);function F(K,pe){var ce;const M=((ce=pe.target.files)==null?void 0:ce[0])??null;D($=>{const Se=[...$];return Se[K]=M,Se})}async function Q(K){var ae,ve,be,Me,Ee,Xe,ft,tt,Bt,Mn;if(K.preventDefault(),(ae=V.current)!=null&&ae.value)return;const pe=K.currentTarget,M=new FormData(pe),ce=((ve=M.get("fullName"))==null?void 0:ve.trim())??"",$=((be=M.get("email"))==null?void 0:be.trim())??"",Se=((Me=M.get("country"))==null?void 0:Me.trim())??"",ee=((Ee=M.get("instagram"))==null?void 0:Ee.trim())??"",qe=((Xe=M.get("twitter"))==null?void 0:Xe.trim())??"",Ae=((ft=M.get("onlyfans"))==null?void 0:ft.trim())??"",je=((tt=M.get("otherSocial"))==null?void 0:tt.trim())??"",H=((Bt=M.get("aboutYou"))==null?void 0:Bt.trim())??"",G=((Mn=M.get("questions"))==null?void 0:Mn.trim())??"",W=[];if(T.forEach((St,Ea)=>{St||W.push(`Photo ${Ea+1} is required.`)}),W.length>0){O(W);return}if(O([]),!U){h("Please check all required confirmation boxes before submitting.");return}u(!0),h("");try{const St=[];for(let ht=0;ht<T.length;ht++){const Ut=T[ht];if(!Ut)continue;const Aa=new FormData;Aa.append("file",Ut);const ai=await fetch("/api/upload-photo",{method:"POST",body:Aa});if(ai.ok){const{filename:Zn}=await ai.json();St.push(Zn)}else St.push(Ut.name)}const Ea=m==="Other"?`Other: ${g}`:m,ti={conversation:{messages_attributes:[{body:H||"New application submitted"}],data:{__gd_contact_form_title:"Xposure Modeling Application","Country of Residence":Se,"Project Interest":Ea,"Instagram Profile":ee||"Not provided","X (Twitter) Profile":qe||"Not provided","OnlyFans Profile":Ae||"Not provided","Other Social / Creator Platform":je||"Not provided","Questions or Additional Information":G||"None","Submitted Photos":St.join(", ")||"See attachments","Age Confirmed (18+)":"Yes","Information Accurate":"Yes","No Nude Photos Confirmed":"Yes","No Guarantee Acknowledged":"Yes","Consent to Contact":"Yes"}},user:{email:$,name:ce}},ni=await fetch("/api/contact/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ti)});if(!ni.ok){const ht=await ni.json().catch(()=>({}));throw new Error(ht.error??"Submission failed. Please try again.")}s(!0)}catch(St){h(St instanceof Error?St.message:"Something went wrong. Please try again.")}finally{u(!1)}}return y.jsxs(y.Fragment,{children:[y.jsxs(Ns,{children:[y.jsx("title",{children:"Apply — Xposure Modeling"}),y.jsx("meta",{name:"description",content:"Apply to work with Xposure Modeling. Submit your application for talent representation or one of our current projects."}),y.jsx("link",{rel:"canonical",href:n}),y.jsx("meta",{property:"og:title",content:"Apply — Xposure Modeling"}),y.jsx("meta",{property:"og:description",content:"Apply to work with Xposure Modeling. We welcome both established creators and individuals entering the industry for the first time."}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:n}),y.jsx("meta",{property:"og:image",content:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:image",content:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"ContactPage","@id":`${n}#webpage`,name:"Apply — Xposure Modeling",url:n,description:"Submit your application for talent representation or one of our current projects.",isPartOf:{"@id":"https://xposuremodeling.com/#website"},about:{"@id":"https://xposuremodeling.com/#organization"}})})]}),y.jsxs("main",{style:{background:"#0a0a0a",color:"#f5f5f5"},children:[y.jsxs("section",{className:"relative overflow-hidden",style:{paddingTop:"7rem",paddingBottom:"5rem"},children:[y.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px)",backgroundSize:"80px 80px"}}),y.jsx("div",{className:"container mx-auto px-6 md:px-10 relative z-10",children:y.jsxs(oe.div,{variants:Gb,initial:"hidden",animate:"visible",className:"max-w-3xl",children:[y.jsx(oe.p,{variants:Un,className:"text-xs tracking-widest uppercase mb-6",style:{color:"#C9A84C",letterSpacing:"0.25em"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"7aba61",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.hero.eyebrow",contentKeyTemplate:null,expressionH
87ash:null},children:xt.hero.eyebrow})})}),y.jsx(oe.h1,{variants:Un,className:"mb-8",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(2rem, 5vw, 3.5rem)",fontWeight:700,lineHeight:1.15,color:"#ffffff"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"cf5d0a",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.hero.heading",contentKeyTemplate:null,expressionHash:null},children:xt.hero.heading})})}),y.jsx(oe.p,{variants:Un,className:"mb-6",style:{fontSize:"1.05rem",lineHeight:1.8,color:"#aaaaaa",maxWidth:"640px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"bc8f42",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.hero.subheading",contentKeyTemplate:null,expressionHash:null},children:xt.hero.subheading})})}),y.jsx(oe.p,{variants:Un,style:{fontSize:"0.9rem",lineHeight:1.75,color:"#777777",maxWidth:"600px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"fe6423",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.hero.notice",contentKeyTemplate:null,expressionHash:null},children:xt.hero.notice})})})]})})]}),y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsx("div",{style:{height:"1px",background:"linear-gradient(to right, #C9A84C, transparent)",opacity:.5}})}),y.jsx("section",{style:{padding:"5rem 0 8rem"},children:y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:i?y.jsxs(oe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7},className:"max-w-xl",children:[y.jsx("div",{className:"w-8 mb-8",style:{height:"1px",background:"#C9A84C"}}),y.jsx("h2",{style:{fontFamily:"var(--font-heading)",fontSize:"clamp(1.6rem, 3vw, 2.2rem)",fontWeight:700,color:"#ffffff",marginBottom:"20px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"f88887",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.successHeading",contentKeyTemplate:null,expressionHash:null},children:xt.sections.successHeading})})}),y.jsx("p",{style:{color:"#999999",lineHeight:1.85,fontSize:"0.95rem"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"c1793d",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.successBody",contentKeyTemplate:null,expressionHash:null},children:xt.sections.successBody})})})]}):y.jsxs(oe.form,{onSubmit:Q,variants:Gb,initial:"hidden",animate:"visible",className:"max-w-2xl",noValidate:!0,children:[y.jsx("input",{type:"text",name:"_gotcha",ref:V,tabIndex:-1,autoComplete:"off",style:{position:"absolute",left:"-9999px"},"aria-hidden":"true"}),y.jsxs(oe.div,{variants:Un,className:"mb-12",children:[y.jsx("h2",{style:mr,children:y.jsx("span",{children:y.jsx(Ce,{devId:"cdb6d0",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.contactInfo",contentKeyTemplate:null,expressionHash:null},children:xt.sections.contactInfo})})}),y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsxs("div",{children:[y.jsxs("label",{htmlFor:"fullName",style:aa,children:["Full Name ",y.jsx("span",{style:{color:"#C9A84C"},children:"*"})]}),y.jsx("input",{id:"fullName",name:"fullName",type:"text",required:!0,placeholder:"Enter your full name.",style:ha,onFocus:K=>K.target.style.borderColor="#C9A84C",onBlur:K=>K.target.style.borderColor="#2a2a2a"})]}),y.jsxs("div",{children:[y.jsxs("label",{htmlFor:"email",style:aa,children:["Email Address ",y.jsx("span",{style:{color:"#C9A84C"},children:"*"})]}),y.jsx("input",{id:"email",name:"email",type:"email",required:!0,placeholder:"Enter the email address where we can contact you.",style:ha,onFocus:K=>K.target.style.borderColor="#C9A84C",onBlur:K=>K.target.style.borderColor="#2a2a2a"})]}),y.jsxs("div",{children:[y.jsxs("label",{htmlFor:"country",style:aa,children:["Country of Residence ",y.jsx("span",{style:{color:"#C9A84C"},children:"*"})]}),y.jsx("input",{id:"country",name:"country",type:"text",required:!0,placeholder:"Enter the country where you currently live.",style:ha,onFocus:K=>K.target.style.borderColor="#C9A84C",onBlur:K=>K.target.style.borderColor="#2a2a2a"})]})]})]}),y.jsx("div",{style:{height:"1px",background:"#1e1e1e",marginBottom:"48px"}}),y.jsxs(oe.div,{variants:Un,className:"mb-12",children:[y.jsx("h2",{style:mr,children:y.jsx("span",{children:y.jsx(Ce,{devId:"2cc051",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.socialProfiles",contentKeyTemplate:null,expressionH
87ash:null},children:xt.sections.socialProfiles})})}),y.jsx("p",{style:{color:"#777777",fontSize:"0.875rem",lineHeight:1.7,marginBottom:"24px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"08dfc7",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.socialNotice",contentKeyTemplate:null,expressionHash:null},children:xt.sections.socialNotice})})}),y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsxs("div",{children:[y.jsx("label",{htmlFor:"instagram",style:aa,children:"Instagram Profile"}),y.jsx("input",{id:"instagram",name:"instagram",type:"text",placeholder:"Enter your Instagram username or profile link.",style:ha,onFocus:K=>K.target.style.borderColor="#C9A84C",onBlur:K=>K.target.style.borderColor="#2a2a2a"})]}),y.jsxs("div",{children:[y.jsx("label",{htmlFor:"twitter",style:aa,children:"X Profile"}),y.jsx("input",{id:"twitter",name:"twitter",type:"text",placeholder:"Enter your X username or profile link.",style:ha,onFocus:K=>K.target.style.borderColor="#C9A84C",onBlur:K=>K.target.style.borderColor="#2a2a2a"})]}),y.jsxs("div",{children:[y.jsx("label",{htmlFor:"onlyfans",style:aa,children:"OnlyFans Profile"}),y.jsx("input",{id:"onlyfans",name:"onlyfans",type:"text",placeholder:"Enter your OnlyFans username or profile link.",style:ha,onFocus:K=>K.target.style.borderColor="#C9A84C",onBlur:K=>K.target.style.borderColor="#2a2a2a"})]}),y.jsxs("div",{children:[y.jsx("label",{htmlFor:"otherSocial",style:aa,children:"Other Social Media or Creator Platform"}),y.jsx("textarea",{id:"otherSocial",name:"otherSocial",rows:3,placeholder:"Provide links to any other relevant profiles, websites, or creator platforms.",style:{...ha,resize:"vertical"},onFocus:K=>K.target.style.borderColor="#C9A84C",onBlur:K=>K.target.style.borderColor="#2a2a2a"})]})]})]}),y.jsx("div",{style:{height:"1px",background:"#1e1e1e",marginBottom:"48px"}}),y.jsxs(oe.div,{variants:Un,className:"mb-12",children:[y.jsx("h2",{style:mr,children:y.jsx("span",{children:y.jsx(Ce,{devId:"8bc9d2",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.projectInterest",contentKeyTemplate:null,expressionHash:null},children:xt.sections.projectInterest})})}),y.jsx("p",{style:{color:"#777777",fontSize:"0.8rem",letterSpacing:"0.1em",textTransform:"uppercase",marginBottom:"16px"},children:y.jsx("span",{children:"Which project are you interested in?"})}),y.jsx("div",{className:"flex flex-col gap-3 mb-6",children:xt.projectOptions.map(K=>y.jsxs("label",{className:"flex items-center gap-4 cursor-pointer group",style:{padding:"14px 16px",border:`1px solid ${m===K.value?"#C9A84C":"#2a2a2a"}`,background:m===K.value?"rgba(201,168,76,0.05)":"#111111",transition:"all 0.2s"},children:[y.jsx("input",{type:"radio",name:"projectInterest",value:K.value,checked:m===K.value,onChange:()=>p(K.value),style:{accentColor:"#C9A84C",width:"16px",height:"16px",flexShrink:0}}),y.jsx("span",{style:{color:m===K.value?"#ffffff":"#aaaaaa",fontSize:"0.9rem",fontFamily:"var(--font-sans)"},children:K.label})]},K.id))}),m==="Other"&&y.jsxs("div",{children:[y.jsx("label",{htmlFor:"otherProject",style:aa,children:"Please describe the type of opportunity that interests you."}),y.jsx("textarea",{id:"otherProject",value:g,onChange:K=>b(K.target.value),rows:3,style:{...ha,resize:"vertical"},onFocus:K=>K.target.style.borderColor="#C9A84C",onBlur:K=>K.target.style.borderColor="#2a2a2a"})]})]}),y.jsx("div",{style:{height:"1px",background:"#1e1e1e",marginBottom:"48px"}}),y.jsxs(oe.div,{variants:Un,className:"mb-12",children:[y.jsx("h2",{style:mr,children:y.jsx("span",{children:y.jsx(Ce,{devId:"ead353",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.aboutYou",contentKeyTemplate:null,expressionHash:null},children:xt.sections.aboutYou})})}),y.jsxs("label",{htmlFor:"aboutYou",style:{...aa,marginBottom:"12px"},children:["Why do you believe you would be a good fit for Xposure Modeling? ",y.jsx("span",{style:{color:"#C9A84C"},children:"*"})]}),y.jsx("p",{style:{color:"#666666",fontSize:"0.8rem",lineHeight:1.6,marginBottom:"12px"},children:"Tell us a little about yourself, your goals, any relevant experience, the audience you would like to reach, and what you hope to accomplish by working with our agency."}
87),y.jsx("textarea",{id:"aboutYou",name:"aboutYou",required:!0,rows:7,style:{...ha,resize:"vertical"},onFocus:K=>K.target.style.borderColor="#C9A84C",onBlur:K=>K.target.style.borderColor="#2a2a2a"})]}),y.jsx("div",{style:{height:"1px",background:"#1e1e1e",marginBottom:"48px"}}),y.jsxs(oe.div,{variants:Un,className:"mb-12",children:[y.jsx("h2",{style:mr,children:y.jsx("span",{children:y.jsx(Ce,{devId:"49dcd4",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.questions",contentKeyTemplate:null,expressionHash:null},children:xt.sections.questions})})}),y.jsx("label",{htmlFor:"questions",style:{...aa,marginBottom:"12px"},children:"Use this space to ask any questions or share anything else you would like us to know."}),y.jsx("textarea",{id:"questions",name:"questions",rows:5,style:{...ha,resize:"vertical"},onFocus:K=>K.target.style.borderColor="#C9A84C",onBlur:K=>K.target.style.borderColor="#2a2a2a"})]}),y.jsx("div",{style:{height:"1px",background:"#1e1e1e",marginBottom:"48px"}}),y.jsxs(oe.div,{variants:Un,className:"mb-12",children:[y.jsx("h2",{style:mr,children:y.jsx("span",{children:y.jsx(Ce,{devId:"a8e655",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.photos",contentKeyTemplate:null,expressionHash:null},children:xt.sections.photos})})}),y.jsx("p",{style:{color:"#999999",fontSize:"0.9rem",lineHeight:1.75,marginBottom:"16px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"d6554b",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.photosInstructions",contentKeyTemplate:null,expressionHash:null},children:xt.sections.photosInstructions})})}),y.jsx("ul",{className:"flex flex-col gap-2 mb-6",children:xt.sections.photosRequirements.map(K=>y.jsxs("li",{className:"flex items-start gap-3",children:[y.jsx("span",{className:"mt-2 shrink-0",style:{width:"16px",height:"1px",background:"#C9A84C",display:"block",marginTop:"10px"}}),y.jsx("span",{style:{color:"#aaaaaa",fontSize:"0.875rem",lineHeight:1.7},children:K.text})]},K.id))}),y.jsxs("div",{className:"mb-6 px-5 py-4",style:{border:"1px solid rgba(201,168,76,0.3)",background:"rgba(201,168,76,0.04)"},children:[y.jsx("p",{style:{color:"#C9A84C",fontSize:"0.75rem",fontWeight:600,letterSpacing:"0.15em",textTransform:"uppercase",marginBottom:"6px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"2c91df",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.photosWarning",contentKeyTemplate:null,expressionHash:null},children:xt.sections.photosWarning})})}),y.jsx("p",{style:{color:"#888888",fontSize:"0.85rem",lineHeight:1.7},children:y.jsx("span",{children:y.jsx(Ce,{devId:"6e66c0",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.photosWarningDetail",contentKeyTemplate:null,expressionHash:null},children:xt.sections.photosWarningDetail})})})]}),y.jsx("p",{style:{color:"#666666",fontSize:"0.8rem",marginBottom:"20px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"182a2c",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.photosFormats",contentKeyTemplate:null,expressionHash:null},children:xt.sections.photosFormats})})}),y.jsx("div",{className:"flex flex-col gap-4",children:[0,1,2].map(K=>y.jsxs("div",{children:[y.jsxs("label",{style:aa,children:["Photo ",K+1," ",y.jsx("span",{style:{color:"#C9A84C"},children:"*"})]}),y.jsxs("div",{style:{border:`1px dashed ${T[K]?"#C9A84C":"#2a2a2a"}`,background:"#111111",padding:"20px",cursor:"pointer",transition:"border-color 0.2s"},children:[y.jsx("input",{type:"file",accept:".jpg,.jpeg,.png,.heic",onChange:pe=>F(K,pe),style:{display:"none"},id:`photo-${K}`}),y.jsx("label",{htmlFor:`photo-${K}`,style:{cursor:"pointer",display:"block"},children:T[K]?y.jsx("span",{style:{color:"#C9A84C",fontSize:"0.875rem"},children:T[K].name}):y.jsx("span",{style:{color:"#555555",fontSize:"0.875rem"},children:"Click to select a file — JPG, JPEG, PNG, or HEIC"})})]}),j[K]&&y.jsx("p",{style:{color:"#ef4444",fontSize:"0.8rem",marginTop:"6px"},children:j[K]})]},K))})]}),y.jsx("div",{style:{height:"1px",background:"#1e1e1e",marginBottom:"48px"}}),y.jsxs(oe.div,{variants:Un,className:"mb-12",children:[y.jsx("h2",{style:mr,children:y.jsx("span",{children:y.jsx(Ce,{devId:"07efd6",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.confirmations",contentKeyTemplate:null,expressionH
87ash:null},children:xt.sections.confirmations})})}),y.jsx("p",{style:{color:"#777777",fontSize:"0.875rem",lineHeight:1.7,marginBottom:"20px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"c9b2ac",guard:{file:"src/pages/contact.tsx",tagName:"span",sourceKind:"content-key",contentKey:"contact.sections.confirmationsNotice",contentKeyTemplate:null,expressionHash:null},children:xt.sections.confirmationsNotice})})}),y.jsx("div",{className:"flex flex-col gap-4",children:xt.confirmationItems.map(K=>y.jsxs("label",{className:"flex items-start gap-4 cursor-pointer",style:{padding:"14px 16px",border:`1px solid ${x[K.id]?"#C9A84C":"#2a2a2a"}`,background:x[K.id]?"rgba(201,168,76,0.04)":"#111111",transition:"all 0.2s"},children:[y.jsx("input",{type:"checkbox",checked:!!x[K.id],onChange:pe=>w(M=>({...M,[K.id]:pe.target.checked})),style:{accentColor:"#C9A84C",width:"16px",height:"16px",flexShrink:0,marginTop:"2px"}}),y.jsx("span",{style:{color:x[K.id]?"#cccccc":"#888888",fontSize:"0.875rem",lineHeight:1.7,fontFamily:"var(--font-sans)"},children:K.text})]},K.id))})]}),d&&y.jsx(oe.p,{initial:{opacity:0}
87,animate:{opacity:1},style:{color:"#ef4444",fontSize:"0.875rem",marginBottom:"24px",padding:"12px 16px",border:"1px solid rgba(239,68,68,0.3)",background:"rgba(239,68,68,0.05)"},children:y.jsx(Ce,{devId:"56ca8f",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:ca00fccfb408989eddc401062c4d1219a6aceb6b9b55412357f1790862e8f178"},children:d})}),y.jsx(oe.div,{variants:Un,children:y.jsx("button",{type:"submit",disabled:o||!U,className:"text-xs tracking-widest uppercase px-10 py-5 transition-all duration-300",style:{border:"1px solid #C9A84C",color:o||!U?"#555555":"#C9A84C",borderColor:o||!U?"#333333":"#C9A84C",background:"transparent",letterSpacing:"0.2em",fontFamily:"var(--font-sans)",fontWeight:500,cursor:o||!U?"not-allowed":"pointer",width:"100%"},children:y.jsx(Ce,{devId:"69f216",guard:{file:"src/pages/contact.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:abc09a22b7194450d69ded22a05f5a1fabd88e4a5d4e179e096a701dab02780f"},children:o?"Submitting…":xt.sections.submitLabel})})})]})})})]})]})}const Qb=vs.steps,pr={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.7,ease:"easeOut"}}},Ib={hidden:{},visible:{transition:{staggerChildren:.12}}},EN="https://xposuremodeling.com",Bu=`${EN}/process`;function AN(){return y.jsxs(y.Fragment,{children:[y.jsxs(Ns,{children:[y.jsx("title",{children:"Our Process — Xposure Modeling"}),y.jsx("meta",{name:"description",content:"Learn exactly how Xposure Modeling works — from application review through creative development, revenue structure, and your choice to continue."}),y.jsx("link",{rel:"canonical",href:Bu}),y.jsx("meta",{property:"og:title",content:"Our Process — Xposure Modeling"}),y.jsx("meta",{property:"og:description",content:"No upfront costs. Every stage discussed clearly before any commitment is made."}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:Bu}),y.jsx("meta",{property:"og:image",content:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:image",content:"https://xposuremodeling.com/assets/Xposure Modeling premium brand logo.png"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebPage","@id":`${Bu}#webpage`,name:"Our Process — Xposure Modeling",url:Bu,description:"How Xposure Modeling works — application, interview, agreement, creative development, and revenue structure.",isPartOf:{"@id":"https://xposuremodeling.com/#website"},about:{"@id":"https://xposuremodeling.com/#organization"}})})]}),y.jsxs("main",{style:{background:"#0a0a0a",color:"#f5f5f5"},children:[y.jsxs("section",{className:"relative overflow-hidden",style:{paddingTop:"7rem",paddingBottom:"5rem"},children:[y.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px)",backgroundSize:"80px 80px"}}),y.jsx("div",{className:"container mx-auto px-6 md:px-10 relative z-10",children:y.jsxs(oe.div,{variants:Ib,initial:"hidden",animate:"visible",className:"max-w-3xl",children:[y.jsx(oe.p,{variants:pr,className:"text-xs tracking-widest uppercase mb-6",style:{color:"#C9A84C",letterSpacing:"0.25em"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"85d8f4",guard:{file:"src/pages/process.tsx",tagName:"span",sourceKind:"content-key",contentKey:"process.hero.eyebrow",contentKeyTemplate:null,expressionHash:null},children:vs.hero.eyebrow})})}),y.jsx(oe.h1,{variants:pr,className:"mb-8",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(2.2rem, 5vw, 3.8rem)",fontWeight:700,lineHeight:1.1,color:"#ffffff"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"3e4dfd",guard:{file:"src/pages/process.tsx",tagName:"span",sourceKind:"content-key",contentKey:"process.hero.heading",contentKeyTemplate:null,expressionH
87ash:null},children:vs.hero.heading})})}),y.jsx(oe.p,{variants:pr,style:{fontSize:"1.05rem",lineHeight:1.85,color:"#aaaaaa",maxWidth:"640px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"c7add5",guard:{file:"src/pages/process.tsx",tagName:"span",sourceKind:"content-key",contentKey:"process.hero.subheading",contentKeyTemplate:null,expressionHash:null},children:vs.hero.subheading})})})]})})]}),y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsx("div",{style:{height:"1px",background:"linear-gradient(to right, #C9A84C, transparent)",opacity:.5}})}),y.jsx("section",{style:{padding:"6rem 0"},children:y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsx("div",{className:"flex flex-col",style:{gap:"0"},children:Qb.map((t,n)=>y.jsxs(oe.div,{variants:pr,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},className:"grid md:grid-cols-[200px_1fr] gap-8 md:gap-16",style:{padding:"4rem 0",borderBottom:n<Qb.length-1?"1px solid #1a1a1a":"none"},children:[y.jsxs("div",{className:"flex md:flex-col md:items-start items-center gap-4",children:[y.jsx("span",{style:{fontFamily:"var(--font-heading)",fontSize:"clamp(3rem, 6vw, 4.5rem)",fontWeight:700,color:"#1e1e1e",lineHeight:1,letterSpacing:"-0.02em",userSelect:"none"},children:t.number}),y.jsx("div",{className:"hidden md:block",style:{width:"32px",height:"1px",background:"#C9A84C",marginTop:"8px"}})]}),y.jsxs("div",{className:"max-w-2xl",children:[y.jsx("h2",{style:{fontFamily:"var(--font-heading)",fontSize:"clamp(1.3rem, 2.5vw, 1.75rem)",fontWeight:700,color:"#ffffff",marginBottom:"20px",lineHeight:1.2},children:y.jsx("span",{children:t.title})}),y.jsx("p",{style:{color:"#aaaaaa",lineHeight:1.85,fontSize:"0.95rem",marginBottom:"20px"},children:y.jsx("span",{children:t.body})}),t.coveredLabel&&y.jsxs("div",{className:"mb-6",children:[y.jsx("p",{style:{color:"#888888",fontSize:"0.8rem",letterSpacing:"0.12em",textTransform:"uppercase",marginBottom:"14px"},children:y.jsx("span",{children:String(t.coveredLabel)})}),y.jsx("ul",{className:"flex flex-col gap-3",children:(t.covered??[]).map(i=>y.jsxs("li",{className:"flex items-start gap-3",children:[y.jsx("span",{style:{width:"16px",height:"1px",background:"#C9A84C",display:"block",flexShrink:0,marginTop:"10px"}}),y.jsx("span",{style:{color:"#cccccc",fontSize:"0.9rem",lineHeight:1.7},children:i.text})]},i.id))}),t.coveredNote&&y.jsx("p",{style:{color:"#666666",fontSize:"0.85rem",marginTop:"14px",fontStyle:"italic"},children:y.jsx("span",{children:String(t.coveredNote)})})]}),t.details&&y.jsx("p",{style:{color:"#888888",lineHeight:1.85,fontSize:"0.9rem",marginBottom:"20px"},children:y.jsx("span",{children:String(t.details)})}),t.split&&y.jsxs("div",{className:"mb-6",children:[t.splitLabel&&y.jsx("p",{style:{color:"#888888",fontSize:"0.8rem",letterSpacing:"0.12em",textTransform:"uppercase",marginBottom:"16px"},children:y.jsx("span",{children:String(t.splitLabel)})}),y.jsx("div",{className:"grid grid-cols-2 gap-4",children:(t.split??[]).map(i=>y.jsxs("div",{style:{border:"1px solid #2a2a2a",background:"#111111",padding:"20px 24px"},children:[y.jsx("div",{style:{fontFamily:"var(--font-heading)",fontSize:"clamp(2rem, 4vw, 2.8rem)",fontWeight:700,color:"#C9A84C",lineHeight:1,marginBottom:"8px"},children:y.jsx("span",{children:i.share})}),y.jsx("div",{style:{color:"#ffffff",fontSize:"0.85rem",fontWeight:600,marginBottom:"4px"},children:y.jsx("span",{children:i.party})}),y.jsx("div",{style:{color:"#666666",fontSize:"0.8rem"},children:y.jsx("span",{children:i.description})})]},i.id))})]}),t.disclaimer&&y.jsx("p",{style:{color:"#555555",fontSize:"0.8rem",lineHeight:1.7,marginBottom:"16px",fontStyle:"italic"},children:y.jsx("span",{children:String(t.disclaimer)})}),t.note&&y.jsx("div",{style:{borderLeft:"2px solid #C9A84C",paddingLeft:"20px",marginTop:"20px"},children:y.jsx("p",{style:{color:"#777777",fontSize:"0.875rem",lineHeight:1.8},children:y.jsx("span",{children:String(t.note)})})})]})]},t.id))})})}),y.jsx("section",{style:{padding:"6rem 0 8rem",borderTop:"1px solid #1a1a1a"},children:y.jsx("div",{className:"container mx-auto px-6 md:px-10",children:y.jsxs(oe.div,{variants:Ib,initial:"hidden",
87whileInView:"visible",viewport:{once:!0},className:"max-w-2xl",children:[y.jsx(oe.p,{variants:pr,style:{color:"#666666",fontSize:"0.875rem",marginBottom:"16px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"35ea55",guard:{file:"src/pages/process.tsx",tagName:"span",sourceKind:"content-key",contentKey:"process.closing",contentKeyTemplate:null,expressionHash:null},children:vs.closing})})}),y.jsx(oe.p,{variants:pr,style:{fontFamily:"var(--font-heading)",fontSize:"clamp(1.2rem, 2.5vw, 1.6rem)",fontWeight:700,color:"#C9A84C",lineHeight:1.4,marginBottom:"48px"},children:y.jsx("span",{children:y.jsx(Ce,{devId:"77bf36",guard:{file:"src/pages/process.tsx",tagName:"span",sourceKind:"content-key",contentKey:"process.tagline",contentKeyTemplate:null,expressionHash:null},children:vs.tagline})})}),y.jsx(oe.div,{variants:pr,children:y.jsx(ya,{to:"/contact",className:"inline-block text-xs tracking-widest uppercase px-10 py-4 transition-all duration-300",style:{border:"1px solid #C9A84C",color:"#C9A84C",letterSpacing:"0.2em",fontFamily:"var(--font-sans)",fontWeight:500},onMouseEnter:t=>{t.currentTarget.style.background="#C9A84C",t.currentTarget.style.color="#0a0a0a"},onMouseLeave:t=>{t.currentTarget.style.background="transparent",t.currentTarget.style.color="#C9A84C"},children:"Apply Now"})})]})})})]})]})}const CN=ya;function jN(){return y.jsx("div",{className:"min-h-screen flex items-center justify-center",style:{background:"linear-gradient(to bottom right, hsl(var(--primary)), hsl(var(--secondary)))"},children:y.jsx("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:y.jsxs("div",{className:"space-y-8",children:[y.jsxs("div",{className:"space-y-4",children:[y.jsx("h1",{className:"text-6xl font-bold text-white/90",children:"404"}),y.jsx("h2",{className:"text-2xl font-semibold text-white/90",children:"Page Not Found"}),y.jsx("p",{className:"text-white/90",children:"Sorry, the page you're looking for doesn't exist or has been moved."})]}),y.jsxs("div",{className:"flex justify-center gap-4",children:[y.jsx(CN,{to:"/",children:y.jsx("button",{className:"px-8 py-3 bg-white font-semibold rounded-lg shadow-lg hover:shadow-xl transition-all hover:scale-105",style:{color:"hsl(var(--primary))"},children:"🏠 Go Home"})}),y.jsx("button",{className:"px-8 py-3 bg-white font-semibold rounded-lg shadow-lg hover:shadow-xl transition-all hover:scale-105",style:{color:"hsl(var(--primary))"},onClick:()=>window.history.back(),children:"← Go Back"})]})]})})})}const MN=jN,RN=[{path:"/",element:y.jsx(xN,{})},{path:"/about",element:y.jsx(SN,{})},{path:"/projects",element:y.jsx(wN,{})},{path:"/contact",element:y.jsx(TN,{})},{path:"/process",element:y.jsx(AN,{})},{path:"*",element:y.jsx(MN,{})}],_N=E.lazy(()=>gE(()=>import("./CookieBanner-BNTHc9mE.js"),__vite__mapDeps([0,1,2,3])).catch(t=>(console.warn("Failed to load CookieBanner:",t),{default:()=>null}))),DN=()=>y.jsx("div",{className:"flex justify-center py-8 h-screen items-center",children:y.jsx($2,{})}),NN=y.jsx(E.Suspense,{fallback:y.jsx(DN,{}),children:y.jsx(I2,{children:y.jsx(iC,{})})}),ON=[{element:NN,children:RN}],zN=DC(ON);function kN(){return y.jsxs(y.Fragment,{children:[y.jsx(qC,{router:zN}),y.jsx(ZC,{children:y.jsx(E.Suspense,{fallback:null,children:y.jsx(_N,{})})})]})}const LN=new XT({defaultOptions:{queries:{staleTime:1e3*60*5,gcTime:1e3*60*10,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}}),Iu=document.getElementById("app");if(!Iu)throw new Error("Root element not found");const VN=y.jsx(fE,{children:y.jsx(PT,{client:LN,children:y.jsx(kN,{})})}),$b=y.jsx(E.StrictMode,{children:VN});Iu.firstElementChild?Ov.hydrateRoot(Iu,$b):Ov.createRoot(Iu).render($b);export{G2 as a,p2 as c};

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.