vendor: 9,070 bytes, lines 1-18
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CookieBanner-o7zyKtfR.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 oS,j as m,r as C,R as cS,Q as uS,b as fS}from"./query-Bf_KNblN.js";import{r as dS}from"./react-vendor-BXhMAbgd.js";import{r as hS}from"./radix-ui-CIsx_TBg.js";(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&r(f)}).observe(document,{childList:!0,subtree:!0});function l(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 r(o){if(o.ep)return;o.ep=!0;const u=l(o);fetch(o.href,u)}})();var vd={exports:{}},dr={},xd={exports:{}},bd={};/** 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 hv;function mS(){return hv||(hv=1,(function(n){function a(L,Z){var W=L.length;L.push(Z);e:for(;0<W;){var ne=W-1>>>1,he=L[ne];if(0<o(he,Z))L[ne]=Z,L[W]=he,W=ne;else break e}}function l(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var Z=L[0],W=L.pop();if(W!==Z){L[0]=W;e:for(var ne=0,he=L.length,xe=he>>>1;ne<xe;){var Ne=2*(ne+1)-1,be=L[Ne],Ue=Ne+1,ct=L[Ue];if(0>o(be,W))Ue<he&&0>o(ct,be)?(L[ne]=ct,L[Ue]=W,ne=Ue):(L[ne]=be,L[Ne]=W,ne=Ne);else if(Ue<he&&0>o(ct,W))L[ne]=ct,L[Ue]=W,ne=Ue;else break e}}return Z}function o(L,Z){var W=L.sortIndex-Z.sortIndex;return W!==0?W:L.id-Z.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;n.unstable_now=function(){return u.now()}}else{var f=Date,h=f.now();n.unstable_now=function(){return f.now()-h}}var p=[],y=[],v=1,x=null,b=3,S=!1,j=!1,N=!1,A=!1,k=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function X(L){for(var Z=l(y);Z!==null;){if(Z.callback===null)r(y);else if(Z.startTime<=L)r(y),Z.sortIndex=Z.expirationTime,a(p,Z);else break;Z=l(y)}}function Q(L){if(N=!1,X(L),!j)if(l(p)!==null)j=!0,se||(se=!0,I());else{var Z=l(y);Z!==null&&ge(Q,Z.startTime-L)}}var se=!1,pe=-1,z=5,ae=-1;function J(){return A?!0:!(n.unstable_now()-ae<z)}function de(){if(A=!1,se){var L=n.unstable_now();ae=L;var Z=!0;try{e:{j=!1,N&&(N=!1,U(pe),pe=-1),S=!0;var W=b;try{t:{for(X(L),x=l(p);x!==null&&!(x.expirationTime>L&&J());){var ne=x.callback;if(typeof ne=="function"){x.callback=null,b=x.priorityLevel;var he=ne(x.expirationTime<=L);if(L=n.unstable_now(),typeof he=="function"){x.callback=he,X(L),Z=!0;break t}x===l(p)&&r(p),X(L)}else r(p);x=l(p)}if(x!==null)Z=!0;else{var xe=l(y);xe!==null&&ge(Q,xe.startTime-L),Z=!1}}break e}finally{x=null,b=W,S=!1}Z=void 0}}finally{Z?I():se=!1}}}var I;if(typeof _=="function")I=function(){_(de)};else if(typeof MessageChannel<"u"){var ze=new MessageChannel,Ae=ze.port2;ze.port1.onmessage=de,I=function(){Ae.postMessage(null)}}else I=function(){k(de,0)};function ge(L,Z){pe=k(function(){L(n.unstable_now())},Z)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(L){L.callback=null},n.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<L?Math.floor(1e3/L):5},n.unstable_getCurrentPriorityLevel=function(){return b},n.unstable_next=function(L){switch(b){case 1:case 2:case 3:var Z=3;break;default:Z=b}var W=b;b=Z;try{return L()}finally{b=W}},n.unstable_requestPaint=function(){A=!0},n.unstable_runWithPriority=function(L,Z){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var W=b;b=L;try{return Z()}finally{b=W}},n.unstable_scheduleCallback=function(L,Z,W){var ne=n.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?ne+W:ne):W=ne,L){case 1:var he=-1;break;case 2:he=250;break;case 5:he=1073741823;break;case 4:he=1e4;break;default:he=5e3}return he=W+he,L={id:v++,callback:Z,priorityLevel:L,startTime:W,expirationTime:he,sortIndex:-1},W>ne?(L.sortIndex=W,a(y,L),l(p)===null&&L===l(y)&&(N?(U(pe),pe=-1):N=!0,ge(Q,W-ne))):(L.sortIndex=he,a(p,L),j||S||(j=!0,se||(se=!0,I()))),L},n.unstable_shouldYield=J,n.unstable_wrapCallback=function(L){var Z=b;return function(){var W=b;b=Z;try{return L.apply(this,arguments)}finally{b=W}}}})(bd)),bd}var mv;function pS(){return mv||(mv=1,xd.exports=mS()),xd.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 pv;function yS(){if(pv)return dr;pv=1;var n=pS(),a=oS(),l=dS();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(i=t.return),e=t.return;while(e)}return t.tag===3?i:null}function f(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(u(e)!==e)throw Error(r(188))}function y(e){var t=e.alternate;if(!t){if(t=u(e),t===null)throw Error(r(188));return t!==e?null:e}for(var i=e,s=t;;){var c=i.return;if(c===null)break;var d=c.alternate;if(d===null){if(s=c.return,s!==null){i=s;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===i)return p(c),e;if(d===s)return p(c),t;d=d.sibling}throw Error(r(188))}if(i.return!==s.return)i=c,s=d;else{for(var g=!1,w=c.child;w;){if(w===i){g=!0,i=c,s=d;break}if(w===s){g=!0,s=c,i=d;break}w=w.sibling}if(!g){for(w=d.child;w;){if(w===i){g=!0,i=d,s=c;break}if(w===s){g=!0,s=d,i=c;break}w=w.sibling}if(!g)throw Error(r(189))}}if(i.alternate!==s)throw Error(r(190))}if(i.tag!==3)throw Error(r(188));return i.stateNode.current===i?e:t}function v(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=v(e),t!==null)return t;e=e.sibling}return null}var x=Object.assign,b=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),_=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),se=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),J=Symbol.for("react.memo_cache_sentinel"),de=Symbol.iterator;function I(e){return e===null||typeof e!="object"?null:(e=de&&e[de]||e["@@iterator"],typeof e=="function"?e:null)}var ze=Symbol.for("react.client.reference");function Ae(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ze?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case N:return"Fragment";case k:return"Profiler";case A:return"StrictMode";case Q:return"Suspense";case se:return"SuspenseList";case ae:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case j:return"Portal";case _:return e.displayName||"Context";case U:return(e._context.displayName||"Context")+".Consumer";case X:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pe:return t=e.displayName||null,t!==null?t:Ae(e.type)||"Memo";case z:t=e._payload,e=e._init;try{return Ae(e(t))}catch{}}return null}var ge=Array.isArray,L=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},ne=[],he=-1;function xe(e){return{current:e}}function Ne(e){0>he||(e.current=ne[he],ne[he]=null,he--)}function be(e,t){he++,ne[he]=e.current,e.current=t}var Ue=xe(null),ct=xe(null),ut=xe(null),Tn=xe(null);function fa(e,t){switch(be(ut,t),be(ct,e),be(Ue,null),t.nodeType){case 9:case 11:e=(e
vendor: 11,847 bytes, lines 18-25
18=t.documentElement)&&(e=e.namespaceURI)?kg(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=kg(t),e=Vg(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Ne(Ue),be(Ue,e)}function Wt(){Ne(Ue),Ne(ct),Ne(ut)}function vs(e){e.memoizedState!==null&&be(Tn,e);var t=Ue.current,i=Vg(t,e.type);t!==i&&(be(ct,e),be(Ue,i))}function ul(e){ct.current===e&&(Ne(Ue),Ne(ct)),Tn.current===e&&(Ne(Tn),or._currentValue=W)}var xs,At;function It(e){if(xs===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);xs=t&&t[1]||"",At=-1<i.stack.indexOf(` 19 at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return` 20`+xs+e+At}var fl=!1;function bs(e,t){if(!e||fl)return"";fl=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(t){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(q){var H=q}Reflect.construct(e,[],Y)}else{try{Y.call()}catch(q){H=q}e.call(Y.prototype)}}else{try{throw Error()}catch(q){H=q}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(q){if(q&&H&&typeof q.stack=="string")return[q.stack,H.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=s.DetermineComponentFrameRoot(),g=d[0],w=d[1];if(g&&w){var T=g.split(` 21`),V=w.split(` 22`);for(c=s=0;s<T.length&&!T[s].includes("DetermineComponentFrameRoot");)s++;for(;c<V.length&&!V[c].includes("DetermineComponentFrameRoot");)c++;if(s===T.length||c===V.length)for(s=T.length-1,c=V.length-1;1<=s&&0<=c&&T[s]!==V[c];)c--;for(;1<=s&&0<=c;s--,c--)if(T[s]!==V[c]){if(s!==1||c!==1)do if(s--,c--,0>c||T[s]!==V[c]){var G=` 23`+T[s].replace(" at new "," at ");return e.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",e.displayName)),G}while(1<=s&&0<=c);break}}}finally{fl=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?It(i):""}function da(e,t){switch(e.tag){case 26:case 27:case 5:return It(e.type);case 16:return It("Lazy");case 13:return e.child!==t&&t!==null?It("Suspense Fallback"):It("Suspense");case 19:return It("SuspenseList");case 0:case 15:return bs(e.type,!1);case 11:return bs(e.type.render,!1);case 1:return bs(e.type,!0);case 31:return It("Activity");default:return""}}function Wr(e){try{var t="",i=null;do t+=da(e,i),i=e,e=e.return;while(e);return t}catch(s){return` 24Error generating stack: `+s.message+` 25`+s.stack}}var ws=Object.prototype.hasOwnProperty,dl=n.unstable_scheduleCallback,Ss=n.unstable_cancelCallback,su=n.unstable_shouldYield,ru=n.unstable_requestPaint,Pt=n.unstable_now,ha=n.unstable_getCurrentPriorityLevel,Pa=n.unstable_ImmediatePriority,Cs=n.unstable_UserBlockingPriority,Ya=n.unstable_NormalPriority,Un=n.unstable_LowPriority,En=n.unstable_IdlePriority,Ir=n.log,ou=n.unstable_setDisableYieldValue,ma=null,Yt=null;function Dt(e){if(typeof Ir=="function"&&ou(e),Yt&&typeof Yt.setStrictMode=="function")try{Yt.setStrictMode(ma,e)}catch{}}var Ht=Math.clz32?Math.clz32:cu,eo=Math.log,to=Math.LN2;function cu(e){return e>>>=0,e===0?32:31-(eo(e)/to|0)|0}var Fi=256,pa=262144,zi=4194304;function Hn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function hl(e,t,i){var s=e.pendingLanes;if(s===0)return 0;var c=0,d=e.suspendedLanes,g=e.pingedLanes;e=e.warmLanes;var w=s&134217727;return w!==0?(s=w&~d,s!==0?c=Hn(s):(g&=w,g!==0?c=Hn(g):i||(i=w&~e,i!==0&&(c=Hn(i))))):(w=s&~d,w!==0?c=Hn(w):g!==0?c=Hn(g):i||(i=s&~e,i!==0&&(c=Hn(i)))),c===0?0:t!==0&&t!==c&&(t&d)===0&&(d=c&-c,i=t&-t,d>=i||d===32&&(i&4194048)!==0)?t:c}function Xa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function uu(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ts(){var e=zi;return zi<<=1,(zi&62914560)===0&&(zi=4194304),e}function Ka(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function Zn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function no(e,t,i,s,c,d){var g=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var w=e.entanglements,T=e.expirationTimes,V=e.hiddenUpdates;for(i=g&~i;0<i;){var G=31-Ht(i),Y=1<<G;w[G]=0,T[G]=-1;var H=V[G];if(H!==null)for(V[G]=null,G=0;G<H.length;G++){var q=H[G];q!==null&&(q.lane&=-536870913)}i&=~Y}s!==0&&ao(e,s,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(g&~t))}function ao(e,t,i){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-Ht(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|i&261930}function io(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var s=31-Ht(i),c=1<<s;c&t|e[s]&t&&(e[s]|=t),i&=~c}}function E(e,t){var i=t&-t;return i=(i&42)!==0?1:D(i),(i&(e.suspendedLanes|t))!==0?0:i}function D(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function B(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function K(){var e=Z.p;return e!==0?e:(e=window.event,e===void 0?32:sv(e.type))}function $(e,t){var i=Z.p;try{return Z.p=e,t()}finally{Z.p=i}}var re=Math.random().toString(36).slice(2),ee="__reactFiber$"+re,oe="__reactProps$"+re,ie="__reactContainer$"+re,te="__reactEvents$"+re,ve="__reactListeners$"+re,fe="__reactHandles$"+re,Se="__reactResources$"+re,Ee="__reactMarker$"+re;function Je(e){delete e[ee],delete e[oe],delete e[te],delete e[ve],delete e[fe]}function Ye(e){var t=e[ee];if(t)return t;for(var i=e.parentNode;i;){if(t=i[ie]||i[ee]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=Pg(e);e!==null;){if(i=e[ee])return i;e=Pg(e)}return t}e=i,i=e.parentNode}return null}function rt(e){if(e=e[ee]||e[ie]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function De(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function bt(e){var t=e[Se];return t||(t=e[Se]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function et(e){e[Ee]=!0}var Qa=new Set,_n={};function Rt(e,t){Jn(e,t),Jn(e+"Capture",t)}function Jn(e,t){for(_n[e]=t,e=0;e<t.length;e++)Qa.add(t[e])}var Li=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]*$"),$n={},Oi={};function ml(e){return ws.call(Oi,e)?!0:ws.call($n,e)?!1:Li.test(e)?Oi[e]=!0:($n[e]=!0,!1)}function Me(e,t,i){if(ml(t))if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var s=t.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+i)}}function pt(e,t,i){if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+i)}}function _t(e,t,i,s){if(s===null)e.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(t,i,""+s)}}function wt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pl(e,t,i){var s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var c=s.get,d=s.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(g){i=""+g,d.call(this,g)}}),Object.defineProperty(e,t,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(g){i=""+g},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yl(e){if(!e._valueTracker){var t=tt(e)?"checked":"value";e._valueTracker=pl(e,t,""+e[t])}}function lo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),s="";return e&&(s=tt(e)?e.checked?"true":"false":e.value),e=s,e!==i?(t.setValue(e),!0):!1}function so(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 n2=/[\n"\\]/g;function jn(e){return e.replace(n2,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function fu(e,t,i,s,c,d,g,w){e.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.type=g:e.removeAttribute("type"),t!=null?g==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+wt(t)):e.value!==""+wt(t)&&(e.value=""+wt(t)):g!=="submit"&&g!=="reset"||e.removeAttribute("value"),t!=null?du(e,g,wt(t)):i!=null?du(e,g,wt(i)):s!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?e.name=""+wt(w):e.removeAttribute("name")}function Dm(e,t,i,s,c,d,g,w){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),t!=null||i!=null){if(!(d!=="submit"&&d!=="reset"||t!=null)){yl(e);return}i=i!=null?""+wt(i):"",t=t!=null?""+wt(t):i,w||t===e.value||(e.value=t),e.defaultValue=t}s=s??c,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=w?e.checked:!!s,e.defaultChecked=!!s,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.name=g),yl(e)}function du(e,t,i){t==="number"&&so(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function gl(e,t,i,s){if(e=e.options,t){t={};for(var c=0;c<i.length;c++)t["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=t.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&s&&(e[i].defaultSelected=!0)}else{for(i=""+wt(i),t=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,s&&(e[c].defaultSelected=!0);return}t!==null||e[c].disabled||(t=e[c])}t!==null&&(t.selected=!0)}}function Rm(e,t,i){if(t!=null&&(t=""+wt(t),t!==e.value&&(e.value=t),i==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=i!=null?""+wt(i):""}function Fm(e,t,i,s){if(t==null){if(s!=null){if(i!=null)throw Error(r(92));
vendor: 4,340 bytes, line 25
25if(ge(s)){if(1<s.length)throw Error(r(93));s=s[0]}i=s}i==null&&(i=""),t=i}i=wt(t),e.defaultValue=i,s=e.textContent,s===i&&s!==""&&s!==null&&(e.value=s),yl(e)}function vl(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var a2=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 zm(e,t,i){var s=t.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?s?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":s?e.setProperty(t,i):typeof i!="number"||i===0||a2.has(t)?t==="float"?e.cssFloat=i:e[t]=(""+i).trim():e[t]=i+"px"}function Lm(e,t,i){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,i!=null){for(var s in i)!i.hasOwnProperty(s)||t!=null&&t.hasOwnProperty(s)||(s.indexOf("--")===0?e.setProperty(s,""):s==="float"?e.cssFloat="":e[s]="");for(var c in t)s=t[c],t.hasOwnProperty(c)&&i[c]!==s&&zm(e,c,s)}else for(var d in t)t.hasOwnProperty(d)&&zm(e,d,t[d])}function hu(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 i2=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
25-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),l2=/^[\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 ro(e){return l2.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ya(){}var mu=null;function pu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xl=null,bl=null;function Om(e){var t=rt(e);if(t&&(e=t.stateNode)){var i=e[oe]||null;e:switch(e=t.stateNode,t.type){case"input":if(fu(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+jn(""+t)+'"][type="radio"]'),t=0;t<i.length;t++){var s=i[t];if(s!==e&&s.form===e.form){var c=s[oe]||null;if(!c)throw Error(r(90));fu(s,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(t=0;t<i.length;t++)s=i[t],s.form===e.form&&lo(s)}break e;case"textarea":Rm(e,i.value,i.defaultValue);break e;case"select":t=i.value,t!=null&&gl(e,!!i.multiple,t,!1)}}}var yu=!1;function km(e,t,i){if(yu)return e(t,i);yu=!0;try{var s=e(t);return s}finally{if(yu=!1,(xl!==null||bl!==null)&&(Zo(),xl&&(t=xl,e=bl,bl=xl=null,Om(t),e)))for(t=0;t<e.length;t++)Om(e[t])}}function Es(e,t){var i=e.stateNode;if(i===null)return null;var s=i[oe]||null;if(s===null)return null;i=s[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(r(231,t,typeof i));return i}var ga=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gu=!1;if(ga)try{var js={};Object.defineProperty(js,"passive",{get:function(){gu=!0}}),window.addEventListener("test",js,js),window.removeEventListener("test",js,js)}catch{gu=!1}var Za=null,vu=null,oo=null;function Vm(){if(oo)return oo;var e,t=vu,i=t.length,s,c="value"in Za?Za.value:Za.textContent,d=c.length;for(e=0;e<i&&t[e]===c[e];e++);var g=i-e;for(s=1;s<=g&&t[i-s]===c[d-s];s++);return oo=c.slice(e,1<s?1-s:void 0)}function co(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function uo(){return!0}function Bm(){return!1}function en(e){function t(i,s,c,d,g){this._reactName=i,this._targetInst=c,this.type=s,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(i=e[w],this[w]=i?i(d):d[w]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?uo:Bm,this.isPropagationStopped=Bm,this}return x(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=uo)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=uo)},persist:function(){},isPersistent:uo}),t}var ki={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fo=en(ki),As=x({},ki,{view:0,detail:0}),s2=en(As),xu,bu,Ms,ho=x({},As,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Su,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!==Ms&&(Ms&&e.type==="mousemove"?(xu=e.screenX-Ms.screenX,bu=e.screenY-Ms.screenY):bu=xu=0,Ms=e),xu)},movementY:function(e){return"movementY"in e?e.movementY:bu}}),Um=en(ho),r2=x({},ho,{dataTransfer:0}),o2=en(r2),c2=x({},As,{relatedTarget:0}),wu=en(c2),u2=x({},ki,{animationName:0,elapsedTime:0,pseudoElement:0}),f2=en(u2),d2=x({},ki,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),h2=en(d2),m2=x({},ki,{data:0}),Hm=en(m2),p2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},y2={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"},g2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function v2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=g2[e])?!!t[e]:!1}function Su(){return v2}var x2=x({},As,{key:function(e){if(e.key){var t=p2[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 5,186 bytes, line 25
25return e.type==="keypress"?(e=co(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?y2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Su,charCode:function(e){return e.type==="keypress"?co(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?co(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),b2=en(x2),w2=x({},ho,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_m=en(w2),S2=x({},As,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Su}),C2=en(S2),T2=x({},ki,{propertyName:0,elapsedTime:0,pseudoElement:0}),E2=en(T2),j2=x({},ho,{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}),A2=en(j2),M2=x({},ki,{newState:0,oldState:0}),N2=en(M2),D2=[9,13,27,32],Cu=ga&&"CompositionEvent"in window,Ns=null;ga&&"documentMode"in document&&(Ns=document.documentMode);var R2=ga&&"TextEvent"in window&&!Ns,qm=ga&&(!Cu||Ns&&8<Ns&&11>=Ns),Gm=" ",Pm=!1;function Ym(e,t){switch(e){case"keyup":return D2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var wl=!1;function F2(e,t){switch(e){case"compositionend":return Xm(t);case"keypress":return t.which!==32?null:(Pm=!0,Gm);case"textInput":return e=t.data,e===Gm&&Pm?null:e;default:return null}}function z2(e,t){if(wl)return e==="compositionend"||!Cu&&Ym(e,t)?(e=Vm(),oo=vu=Za=null,wl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return qm&&t.locale!=="ko"?null:t.data;default:return null}}var L2={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 Km(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!L2[e.type]:t==="textarea"}function Qm(e,t,i,s){xl?bl?bl.push(s):bl=[s]:xl=s,t=nc(t,"onChange"),0<t.length&&(i=new fo("onChange","change",null,i,s),e.push({event:i,listeners:t}))}var Ds=null,Rs=null;function O2(e){Dg(e,0)}function mo(e){var t=De(e);if(lo(t))return e}function Zm(e,t){if(e==="change")return t}var Jm=!1;if(ga){var Tu;if(ga){var Eu="oninput"in document;if(!Eu){var $m=document.createElement("div");$m.setAttribute("oninput","return;"),Eu=typeof $m.oninput=="function"}Tu=Eu}else Tu=!1;Jm=Tu&&(!document.documentMode||9<document.documentMode)}function Wm(){Ds&&(Ds.detachEvent("onpropertychange",Im),Rs=Ds=null)}function Im(e){if(e.propertyName==="value"&&mo(Rs)){var t=[];Qm(t,Rs,e,pu(e)),km(O2,t)}}function k2(e,t,i){e==="focusin"?(Wm(),Ds=t,Rs=i,Ds.attachEvent("onpropertychange",Im)):e==="focusout"&&Wm()}function V2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return mo(Rs)}function B2(e,t){if(e==="click")return mo(t)}function U2(e,t){if(e==="input"||e==="change")return mo(t)}function H2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var fn=typeof Object.is=="function"?Object.is:H2;function Fs(e,t){if(fn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),s=Object.keys(t);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var c=i[s];if(!ws.call(t,c)||!fn(e[c],t[c]))return!1}return!0}function ep(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tp(e,t){var i=ep(e);e=0;for(var s;i;){if(i.nodeType===3){if(s=e+i.textContent.length,e<=t&&s>=t)return{node:i,offset:t-e};e=s}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=ep(i)}}function np(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?np(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ap(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=so(e.document);t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=so(e.document)}return t}function ju(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var _2=ga&&"documentMode"in document&&11>=document.documentMode,Sl=null,Au=null,zs=null,Mu=!1;function ip(e,t,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Mu||Sl==null||Sl!==so(s)||(s=Sl,"selectionStart"in s&&ju(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focu
vendor: 22,188 bytes, line 25
25sNode:s.focusNode,focusOffset:s.focusOffset}),zs&&Fs(zs,s)||(zs=s,s=nc(Au,"onSelect"),0<s.length&&(t=new fo("onSelect","select",null,t,i),e.push({event:t,listeners:s}),t.target=Sl)))}function Vi(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var Cl={animationend:Vi("Animation","AnimationEnd"),animationiteration:Vi("Animation","AnimationIteration"),animationstart:Vi("Animation","AnimationStart"),transitionrun:Vi("Transition","TransitionRun"),transitionstart:Vi("Transition","TransitionStart"),transitioncancel:Vi("Transition","TransitionCancel"),transitionend:Vi("Transition","TransitionEnd")},Nu={},lp={};ga&&(lp=document.createElement("div").style,"AnimationEvent"in window||(delete Cl.animationend.animation,delete Cl.animationiteration.animation,delete Cl.animationstart.animation),"TransitionEvent"in window||delete Cl.transitionend.transition);function Bi(e){if(Nu[e])return Nu[e];if(!Cl[e])return e;var t=Cl[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in lp)return Nu[e]=t[i];return e}var sp=Bi("animationend"),rp=Bi("animationiteration"),op=Bi("animationstart"),q2=Bi("transitionrun"),G2=Bi("transitionstart"),P2=Bi("transitioncancel"),cp=Bi("transitionend"),up=new Map,Du="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(" ");Du.push("scrollEnd");function qn(e,t){up.set(e,t),Rt(t,[e])}var po=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},An=[],Tl=0,Ru=0;function yo(){for(var e=Tl,t=Ru=Tl=0;t<e;){var i=An[t];An[t++]=null;var s=An[t];An[t++]=null;var c=An[t];An[t++]=null;var d=An[t];if(An[t++]=null,s!==null&&c!==null){var g=s.pending;g===null?c.next=c:(c.next=g.next,g.next=c),s.pending=c}d!==0&&fp(i,c,d)}}function go(e,t,i,s){An[Tl++]=e,An[Tl++]=t,An[Tl++]=i,An[Tl++]=s,Ru|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function Fu(e,t,i,s){return go(e,t,i,s),vo(e)}function Ui(e,t){return go(e,null,null,t),vo(e)}function fp(e,t,i){e.lanes|=i;var s=e.alternate;s!==null&&(s.lanes|=i);for(var c=!1,d=e.return;d!==null;)d.childLanes|=i,s=d.alternate,s!==null&&(s.childLanes|=i),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&t!==null&&(c=31-Ht(i),e=d.hiddenUpdates,s=e[c],s===null?e[c]=[t]:s.push(t),t.lane=i|536870912),d):null}function vo(e){if(50<tr)throw tr=0,qf=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var El={};function Y2(e,t,i,s){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dn(e,t,i,s){return new Y2(e,t,i,s)}function zu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function va(e,t){var i=e.alternate;return i===null?(i=dn(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function dp(e,t){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,t=i.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function xo(e,t,i,s,c,d){var g=0;if(s=e,typeof e=="function")zu(e)&&(g=1);else if(typeof e=="string")g=Jw(e,i,Ue.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ae:return e=dn(31,i,t,c),e.elementType=ae,e.lanes=d,e;case N:return Hi(i.children,c,d,t);case A:g=8,c|=24;break;case k:return e=dn(12,i,t,c|2),e.elementType=k,e.lanes=d,e;case Q:return e=dn(13,i,t,c),e.elementType=Q,e.lanes=d,e;case se:return e=dn(19,i,t,c),e.elementType=se,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _:g=10;break e;case U:g=9;break e;case X:g=11;break e;case pe:g=14;break e;case z:g=16,s=null;break e}g=29,i=Error(r(130,e===null?"null":typeof e,"")),s=null}return t=dn(g,i,t,c),t.elementType=e,t.type=s,t.lanes=d,t}function Hi(e,t,i,s){return e=dn(7,e,s,t),e.lanes=i,e}function Lu(e,t,i){return e=dn(6,e,null,t),e.lanes=i,e}function hp(e){var t=dn(18,null,null,0);return t.stateNode=e,t}function Ou(e,t,i){return t=dn(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var mp=new WeakMap;function Mn(e,t){if(typeof e=="object"&&e!==null){var i=mp.get(e);return i!==void 0?i:(t={value:e,source:t,stack:Wr(t)},mp.set(e,t),t)}return{value:e,source:t,stack:Wr(t)}}var jl=[],Al=0,bo=null,Ls=0,Nn=[],Dn=0,Ja=null,Wn=1,In="";function xa(e,t){jl[Al++]=Ls,jl[Al++]=bo,bo=e,Ls=t}function pp(e,t,i){Nn[Dn++]=Wn,Nn[Dn++]=In,Nn[Dn++]=Ja,Ja=e;var s=Wn;e=In;var c=32-Ht(s)-1;s&=~(1<<c),i+=1;var d=32-Ht(t)+c;if(30<d){var g=c-c%5;d=(s&(1<<g)-1).toString(32),s>>=g,c-=g,Wn=1<<32-Ht(t)+c|i<<c|s,In=d+e}else Wn=1<<d|i<<c|s,In=e}function ku(e){e.return!==null&&(xa(e,1),pp(e,1,0))}function Vu(e){for(;e===bo;)bo=jl[--Al],jl[Al]=null,Ls=jl[--Al],jl[Al]=null;for(;e===Ja;)Ja=Nn[--Dn],Nn[Dn]=null,In=Nn[--Dn],Nn[Dn]=null,Wn=Nn[--Dn],Nn[Dn]=null}function yp(e,t){Nn[Dn++]=Wn,Nn[Dn++]=In,Nn[Dn++]=Ja,Wn=t.id,In=t.overflow,Ja=e}var zt=null,nt=null,ke=!1,$a=null,Rn=!1,Bu=Error(r(519));function Wa(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Os(Mn(t,e)),Bu}function gp(e){var t=e.stateNode,i=e.type,s=e.memoizedProps;switch(t[ee]=e,t[oe]=s,i){case"dialog":Fe("cancel",t),Fe("close",t);break;case"iframe":case"object":case"embed":Fe("load",t);break;case"video":case"audio":for(i=0;i<ar.length;i++)Fe(ar[i],t);break;case"source":Fe("error",t);break;case"img":case"image":case"link":Fe("error",t),Fe("load",t);break;case"details":Fe("toggle",t);break;case"input":Fe("invalid",t),Dm(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":Fe("invalid",t);break;case"textarea":Fe("invalid",t),Fm(t,s.value,s.defaultValue,s.children)}i=s.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||t.textContent===""+i||s.suppressHydrationWarning===!0||Lg(t.textContent,i)?(s.popover!=null&&(Fe("beforetoggle",t),Fe("toggle",t)),s.onScroll!=null&&Fe("scroll",t),s.onScrollEnd!=null&&Fe("scrollend",t),s.onClick!=null&&(t.onclick=ya),t=!0):t=!1,t||Wa(e,!0)}function vp(e){for(zt=e.return;zt;)switch(zt.tag){case 5:case 31:case 13:Rn=!1;return;case 27:case 3:Rn=!0;return;default:zt=zt.return}}function Ml(e){if(e!==zt)return!1;if(!ke)return vp(e),ke=!0,!1;var t=e.tag,i;if((i=t!==3&&t!==27)&&((i=t===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||ad(e.type,e.memoizedProps)),i=!i),i&&nt&&Wa(e),vp(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));nt=Gg(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));nt=Gg(e)}else t===27?(t=nt,di(e.type)?(e=od,od=null,nt=e):nt=t):nt=zt?zn(e.stateNode.nextSibling):null;return!0}function _i(){nt=zt=null,ke=!1}function Uu(){var e=$a;return e!==null&&(ln===null?ln=e:ln.push.apply(ln,e),$a=null),e}function Os(e){$a===null?$a=[e]:$a.push(e)}var Hu=xe(null),qi=null,ba=null;function Ia(e,t,i){be(Hu,t._currentValue),t._currentValue=i}function wa(e){e._currentValue=Hu.current,Ne(Hu)}function _u(e,t,i){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===i)break;e=e.return}}function qu(e,t,i,s){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var g=c.child;d=d.firstContext;e:for(;d!==null;){var w=d;d=c;for(var T=0;T<t.length;T++)if(w.context===t[T]){d.lanes|=i,w=d.alternate,w!==null&&(w.lanes|=i),_u(d.return,i,e),s||(g=null);break e}d=w.next}}else if(c.tag===18){if(g=c.return,g===null)throw Error(r(341));g.lanes|=i,d=g.alternate,d!==null&&(d.lanes|=i),_u(g,i,e),g=null}else g=c.child;if(g!==null)g.return=c;else for(g=c;g!==null;){if(g===e){g=null;break}if(c=g.sibling,c!==null){c.return=g.return,g=c;break}g=g.return}c=g}}function Nl(e,t,i,s){e=null;for(var c=t,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var g=c.alternate;if(g===null)throw Error(r(387));if(g=g.memoizedProps,g!==null){var w=c.type;fn(c.pendingProps.value,g.value)||(e!==null?e.push(w):e=[w])}}else if(c===Tn.current){if(g=c.alternate,g===null)throw Error(r(387));g.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(or):e=[or])}c=c.return}e!==null&&qu(t,e,i,s),t.flags|=262144}function wo(e){for(e=e.firstContext;e!==null;){if(!fn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Gi(e){qi=e,ba=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Lt(e){return xp(qi,e)}function So(e,t){return qi===null&&Gi(e),xp(e,t)}function xp(e,t){var i=t._currentValue;if(t={context:t,memoizedValue:i,next:null},ba===null){if(e===null)throw Error(r(308));ba=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ba=ba.next=t;return i}var X2=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(i,s){e.push(s)}};this.abort=function(){t.aborted=!0,e.forEach(function(i){return i()})}},K2=n.unstable_scheduleCallback,Q2=n.unstable_NormalPriority,St={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Gu(){return{controller:new X2,data:new Map,refCount:0}}function ks(e){e.refCount--,e.refCount===0&&K2(Q2,function(){e.controller.abort()})}var Vs=null,Pu=0,Dl=0,Rl=null;function Z2(e,t){if(Vs===null){var i=Vs=[];Pu=0,Dl=Qf(),Rl={status:"pending",value:void 0,then:function(s){i.push(s)}}}return Pu++,t.then(bp,bp),t}function bp(){if(--Pu===0&&Vs!==null){Rl!==null&&(Rl.status="fulfilled");var e=Vs;Vs=null,Dl=0,Rl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function J2(e,t){var i=[],s={status:"pending",value:null,reason:null,then:function(c){i.push(c)}};return e.then(function(){s.status="fulfilled",s.value=t;for(var c=0;c<i.length;c++)(0,i[c])(t)},function(c){for(s.status="rejected",s.reason=c,c=0;c<i.length;c++)(0,i[c])(void 0)}),s}var wp=L.S;L.S=function(e,t){ig=Pt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Z2(e,t),wp!==null&&wp(e,t)};var Pi=xe(null);function Yu(){var e=Pi.current;return e!==null?e:$e.pooledCache}function Co(e,t){t===null?be(Pi,Pi.current):be(Pi,t.pool)}function Sp(){var e=Yu();return e===null?null:{parent:St._currentValue,pool:e}}var Fl=Error(r(460)),Xu=Error(r(474)),To=Error(r(542)),Eo={then:function(){}};function Cp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Tp(e,t,i){switch(i=e[i],i===void 0?e.push(t):i!==t&&(t.then(ya,ya),t=i),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,jp(e),e;default:if(typeof t.status=="string")t.then(ya,ya);else{if(e=$e,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var c=t;c.status="fulfilled",c.value=s}},function(s){if(t.status==="pending"){var c=t;c.status="rejected",c.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,jp(e),e}throw Xi=t,Fl}}function Yi(e){try{var t=e._init;return t(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(Xi=i,Fl):i}}var Xi=null;function Ep(){if(Xi===null)throw Error(r(459));var e=Xi;return Xi=null,e}function jp(e){if(e===Fl||e===To)throw Error(r(483))}var zl=null,Bs=0;function jo(e){var t=Bs;return Bs+=1,zl===null&&(zl=[]),Tp(zl,e,t)}function Us(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ao(e,t){throw t.$$typeof===b?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Ap(e){function t(F,M){if(e){var O=F.deletions;O===null?(F.deletions=[M],F.flags|=16):O.push(M)}}function i(F,M){if(!e)return null;for(;M!==null;)t(F,M),M=M.sibling;return null}function s(F){for(var M=new Map;F!==null;)F.key!==null?M.set(F.key,F):M.set(F.index,F),F=F.sibling;return M}function c(F,M){return F=va(F,M),F.index=0,F.sibling=null,F}function d(F,M,O){return F.index=O,e?(O=F.alternate,O!==null?(O=O.index,O<M?(F.flags|=67108866,M):O):(F.flags|=67108866,M)):(F.flags|=1048576,M)}function g(F){return e&&F.alternate===null&&(F.flags|=67108866),F}function w(F,M,O,P){return M===null||M.tag!==6?(M=Lu(O,F.mode,P),M.return=F,M):(M=c(M,O),M.return=F,M)}function T(F,M,O,P){var me=O.type;return me===N?G(F,M,O.props.children,P,O.key):M!==null&&(M.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===z&&Yi(me)===M.type)?(M=c(M,O.props),Us(M,O),M.return=F,M):(M=xo(O.type,O.key,O.props,null,F.mode,P),Us(M,O),M.return=F,M)}function V(F,M,O,P){return M===null||M.tag!==4||M.stateNode.containerInfo!==O.containerInfo||M.stateNode.implementation!==O.implementation?(M=Ou(O,F.mode,P),M.return=F,M):(M=c(M,O.children||[]),M.return=F,M)}function G(F,M,O,P,me){return M===null||M.tag!==7?(M=Hi(O,F.mode,P,me),M.return=F,M):(M=c(M,O),M.return=F,M)}function Y(F,M,O){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Lu(""+M,F.mode,O),M.return=F,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case S:return O=xo(M.type,M.key,M.props,null,F.mode,O),Us(O,M),O.return=F,O;case j:return M=Ou(M,F.mode,O),M.return=F,M;case z:return M=Yi(M),Y(F,M,O)}if(ge(M)||I(M))return M=Hi(M,F.mode,O,null),M.return=F,M;if(typeof M.then=="function")return Y(F,jo(M),O);if(M.$$typeof===_)return Y(F,So(F,M),O);Ao(F,M)}return null}function H(F,M,O,P){var me=M!==null?M.key:null;if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return me!==null?null:w(F,M,""+O,P);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case S:return O.key===me?T(F,M,O,P):null;case j:return O.key===me?V(F,M,O,P):null;case z:return O=Yi(O),H(F,M,O,P)}if(ge(O)||I(O))return me!==null?null:G(F,M,O,P,null);if(typeof O.then=="function")return H(F,M,jo(O),P);if(O.$$typeof===_)return H(F,M,So(F,O),P);Ao(F,O)}return null}function q(F,M,O,P,me){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return F=F.get(O)||null,w(M,F,""+P,me);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case S:return F=F.get(P.key===null?O:P.key)||null,T(M,F,P,me);case j:return F=F.get(P.key===null?O:P.key)||null,V(M,F,P,me);case z:return P=Yi(P),q(F,M,O,P,me)}if(ge(P)||I(P))return F=F.get(O)||null,G(M,F,P,me,null);if(typeof P.then=="function")return q(F,M,O,jo(P),me);if(P.$$typeof===_)return q(F,M,O,So(M,P),me);Ao(M,P)}return null}function le(F,M,O,P){for(var me=null,Ve=null,ue=M,Ce=M=0,Oe=null;ue!==null&&Ce<O.length;Ce++){ue.index>Ce?(Oe=ue,ue=null):Oe=ue.sibling;var Be=H(F,ue,O[Ce],P);if(Be===null){ue===null&&(ue=Oe);break}e&&ue&&Be.alternate===null&&t(F,ue),M=d(Be,M,Ce),Ve===null?me=Be:Ve.sibling=Be,Ve=Be,ue=Oe}if(Ce===O.length)return i(F,ue),ke&&xa(F,Ce),me;if(ue===null){for(;Ce<O.length;Ce++)ue=Y(F,O[Ce],P),ue!==null&&(M=d(ue,M,Ce),Ve===null?me=ue:Ve.sibling=ue,Ve=ue);return ke&&xa(F,Ce),me}for(ue=s(ue);Ce<O.length;Ce++)Oe=q(ue,F,Ce,O[Ce],P),Oe!==null&&(e&&Oe.alternate!==null&&ue.delete(Oe.key===null?Ce:Oe.key),M=d(Oe,M,Ce),Ve===null?me=Oe:Ve.sibling=Oe,Ve=Oe);return e&&ue.forEach(function(gi){return t(F,gi)}),ke&&xa(F,Ce),me}function ye(F,M,O,P){if(O==null)throw Error(r(151));for(var me=null,Ve=null,ue=M,Ce=M=0,Oe=null,Be=O.next();ue!==null&&!Be.done;Ce++,Be=O.next()){ue.index>Ce?(Oe=ue,ue=null):Oe=ue.sibling;var gi=H(F,ue,Be.value,P);if(gi===null){ue===null&&(ue=Oe);break}e&&ue&&gi.alternate===null&&t(F,ue),M=d(gi,M,Ce),Ve===null?me=gi:Ve.sibling=gi,Ve=gi,ue=Oe}if(Be.done)return i(F,ue),ke&&xa(F,Ce),me;if(ue===null){for(;!Be.done;Ce++,Be=O.next())Be=Y(F,Be.value,P),Be!==null&&(M=d(Be,M,Ce),Ve===null?me=Be:Ve.sibling=Be,Ve=Be);return ke&&xa(F,Ce),me}for(ue=s(ue);!Be.done;Ce++,Be=O.next())Be=q(ue,F,Ce,Be.value,P),Be!==null&&(e&&Be.alternate!==null&&ue.delete(Be.key===null?Ce:Be.key),M=d(Be,M,Ce),Ve===null?me=Be:Ve.sibling=Be,Ve=Be);return e&&ue.forEach(function(rS){return t(F,rS)}),ke&&xa(F,Ce),me}function Qe(F,M,O,P){if(typeof O=="object"&&O!==null&&O.type===N&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case S:e:{for(var me=O.key;M!==null;){if(M.key===me){if(me=O.type,me===N){if(M.tag===7){i(F,M.sibling),P=c(M,O.props.children),P.return=F,F=P;break e}}else if(M.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===z&&Yi(me)===M.type){i(F,M.sibling),P=c(M,O.props),Us(P,O),P.return=F,F=P;break e}i(F,M);break}else t(F,M);M=M.sibling}O.type===N?(P=Hi(O.props.children,F.mode,P,O.key),P.return=F,F=P):(P=xo(O.type,O.key,O.props,null,F.mode,P),Us(P,O),P.return=F,F=P)}return g(F);case j:e:{for(me=O.key;M!==null;){if(M.key===me)if(M.tag===4&&M.stateNode.containerInfo===O.containerInfo&&M.stateNode.implementation===O.implementation){i(F,M.sibling),P=c(M,O.children||[]),P.return=F,F=P;break e}else{i(F,M);break}else t(F,M);M=M.sibling}P=Ou(O,F.mode,P),P.return=F,F=P}return g(F);case z:return O=Yi(O),Qe(F,M,O,P)}if(ge(O))return le(F,M,O,P);if(I(O)){if(me=I(O),typeof me!="function")throw Error(r(150));return O=me.call(O),ye(F,M,O,P)}if(typeof O.then=="function")return Qe(F,M,jo(O),P);if(O.$$typeof===_)return Qe(F,M,So(F,O),P);Ao(F,O)}return typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint"?(O=""+O,M!==null&&M.tag===6?(i(F,M.sibling),P=c(M,O),P.return=F,F=P):(i(F,M),P=Lu(O,F.mode,P),P.return=F,F=P),g(F)):i(F,M)}return function(F,M,O,P){try{Bs=0;var me=Qe(F,M,O,P);return zl=null,me}catch(ue){if(ue===Fl||ue===To)throw ue;var Ve=dn(29,ue,null,F.mode);return Ve.lanes=P,Ve.return=F,Ve}finally{}}}var Ki=Ap(!0),Mp=Ap(!1),ei=!1;function Ku(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Qu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ti(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ni(e,t,i){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(He&2)!==0){var c=s.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),s.pending=t,t=vo(e),fp(e,null,i),t}return go(e,s,t,i),vo(e)}function Hs(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194048)!==0)){var s=t.lanes;s&=e.pendingLanes,i|=s,t.lanes=i,io(e,i)}}function Zu(e,t){var i=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var c=null,d=null;if(i=i.firstBaseUpdate,i!==null){do{var g={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};d===null?c=d=g:d=d.next=g,i=i.next}while(i!==null);d===null?c=d=t:d=d.next=t}else c=d=t;i={baseState:s.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:s.shared,callbacks:s.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}var Ju=!1;function _s(){if(Ju){var e=Rl;if(e!==null)throw e}}function qs(e,t,i,s){Ju=!1;var c=e.updateQueue;ei=!1;var d=c.firstBaseUpdate,g=c.lastBaseUpdate,w=c.shared.pending;if(w!==null){c.shared.pending=null;var T=w,V=T.next;T.next=null,g===null?d=V:g.next=V,g=T;var G=e.alternate;G!==null&&(G=G.updateQueue,w=G.lastBaseUpdate,w!==g&&(w===null?G.firstBaseUpdate=V:w.next=V,G.lastBaseUpdate=T))}if(d!==null){var Y=c.baseState;g=0,G=V=T=null,w=d;do{var H=w.lane&-536870913,q=H!==w.lane;if(q?(Le&H)===H:(s&H)===H){H!==0&&H===Dl&&(Ju=!0),G!==null&&(G=G.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});e:{var le=e,ye=w;H=t;var Qe=i;switch(ye.tag){case 1:if(le=ye.payload,typeof le=="function"){Y=le.call(Qe,Y,H);break e}Y=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=ye.payload,H=typeof le=="function"?le.call(Qe,Y,H):le,H==null)break e;Y=x({},Y,H);break e;case 2:ei=!0}}H=w.callback,H!==null&&(e.flags|=64,q&&(e.flags|=8192),q=c.callbacks,q===null?c.callbacks=[H]:q.push(H))}else q={lane:H,tag:w.tag,payload:w.payload,callback:w.callback,next:null},G===null?(V=G=q,T=Y):G=G.next=q,g|=H;if(w=w.next,w===null){if(w=c.shared.pending,w===null)break;q=w,w=q.next,q.next=null,c.lastBaseUpdate=q,c.shared.pending=null}}while(!0);G===null&&(T=Y),c.baseState=T,c.firstBaseUpdate=V,c.lastBaseUpdate=G,d===null&&(c.shared.lanes=0),ri|=g,e.lanes=g,e.memoizedState=Y}}function Np(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function Dp(e,t){var i=e.callbacks;
vendor: 12,819 bytes, line 25
25if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)Np(i[e],t)}var Ll=xe(null),Mo=xe(0);function Rp(e,t){e=Da,be(Mo,e),be(Ll,t),Da=e|t.baseLanes}function $u(){be(Mo,Da),be(Ll,Ll.current)}function Wu(){Da=Mo.current,Ne(Ll),Ne(Mo)}var hn=xe(null),Fn=null;function ai(e){var t=e.alternate;be(yt,yt.current&1),be(hn,e),Fn===null&&(t===null||Ll.current!==null||t.memoizedState!==null)&&(Fn=e)}function Iu(e){be(yt,yt.current),be(hn,e),Fn===null&&(Fn=e)}function Fp(e){e.tag===22?(be(yt,yt.current),be(hn,e),Fn===null&&(Fn=e)):ii()}function ii(){be(yt,yt.current),be(hn,hn.current)}function mn(e){Ne(hn),Fn===e&&(Fn=null),Ne(yt)}var yt=xe(0);function No(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||sd(i)||rd(i)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Sa=0,we=null,Xe=null,Ct=null,Do=!1,Ol=!1,Qi=!1,Ro=0,Gs=0,kl=null,$2=0;function ft(){throw Error(r(321))}function ef(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!fn(e[i],t[i]))return!1;return!0}function tf(e,t,i,s,c,d){return Sa=d,we=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=e===null||e.memoizedState===null?py:gf,Qi=!1,d=i(s,c),Qi=!1,Ol&&(d=Lp(t,i,s,c)),zp(e),d}function zp(e){L.H=Xs;var t=Xe!==null&&Xe.next!==null;if(Sa=0,Ct=Xe=we=null,Do=!1,Gs=0,kl=null,t)throw Error(r(300));e===null||Tt||(e=e.dependencies,e!==null&&wo(e)&&(Tt=!0))}function Lp(e,t,i,s){we=e;var c=0;do{if(Ol&&(kl=null),Gs=0,Ol=!1,25<=c)throw Error(r(301));if(c+=1,Ct=Xe=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}L.H=yy,d=t(i,s)}while(Ol);return d}function W2(){var e=L.H,t=e.useState()[0];return t=typeof t.then=="function"?Ps(t):t,e=e.useState()[0],(Xe!==null?Xe.memoizedState:null)!==e&&(we.flags|=1024),t}function nf(){var e=Ro!==0;return Ro=0,e}function af(e,t,i){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i}function lf(e){if(Do){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Do=!1}Sa=0,Ct=Xe=we=null,Ol=!1,Gs=Ro=0,kl=null}function Xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ct===null?we.memoizedState=Ct=e:Ct=Ct.next=e,Ct}function gt(){if(Xe===null){var e=we.alternate;e=e!==null?e.memoizedState:null}else e=Xe.next;var t=Ct===null?we.memoizedState:Ct.next;if(t!==null)Ct=t,Xe=e;else{if(e===null)throw we.alternate===null?Error(r(467)):Error(r(310));Xe=e,e={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},Ct===null?we.memoizedState=Ct=e:Ct=Ct.next=e}return Ct}function Fo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ps(e){var t=Gs;return Gs+=1,kl===null&&(kl=[]),e=Tp(kl,e,t),t=we,(Ct===null?t.memoizedState:Ct.next)===null&&(t=t.alternate,L.H=t===null||t.memoizedState===null?py:gf),e}function zo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ps(e);if(e.$$typeof===_)return Lt(e)}throw Error(r(438,String(e)))}function sf(e){var t=null,i=we.updateQueue;if(i!==null&&(t=i.memoCache),t==null){var s=we.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(c){return c.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),i===null&&(i=Fo(),we.updateQueue=i),i.memoCache=t,i=t.data[t.index],i===void 0)for(i=t.data[t.index]=Array(e),s=0;s<e;s++)i[s]=J;return t.index++,i}function Ca(e,t){return typeof t=="function"?t(e):t}function Lo(e){var t=gt();return rf(t,Xe,e)}function rf(e,t,i){var s=e.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=i;var c=e.baseQueue,d=s.pending;if(d!==null){if(c!==null){var g=c.next;c.next=d.next,d.next=g}t.baseQueue=c=d,s.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{t=c.next;var w=g=null,T=null,V=t,G=!1;do{var Y=V.lane&-536870913;if(Y!==V.lane?(Le&Y)===Y:(Sa&Y)===Y){var H=V.revertLane;if(H===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),Y===Dl&&(G=!0);else if((Sa&H)===H){V=V.next,H===Dl&&(G=!0);continue}else Y={lane:0,revertLane:V.revertLane,gesture:null,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},T===null?(w=T=Y,g=d):T=T.next=Y,we.lanes|=H,ri|=H;Y=V.action,Qi&&i(d,Y),d=V.hasEagerState?V.eagerState:i(d,Y)}else H={lane:Y,revertLane:V.revertLane,gesture:V.gesture,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},T===null?(w=T=H,g=d):T=T.next=H,we.lanes|=Y,ri|=Y;V=V.next}while(V!==null&&V!==t);if(T===null?g=d:T.next=w,!fn(d,e.memoizedState)&&(Tt=!0,G&&(i=Rl,i!==null)))throw i;e.memoizedState=d,e.baseState=g,e.baseQueue=T,s.lastRenderedState=d}return c===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function of(e){var t=gt(),i=t.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=e;var s=i.dispatch,c=i.pending,d=t.memoizedState;if(c!==null){i.pending=null;var g=c=c.next;do d=e(d,g.action),g=g.next;while(g!==c);fn(d,t.memoizedState)||(Tt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),i.lastRenderedState=d}return[d,s]}function Op(e,t,i){var s=we,c=gt(),d=ke;if(d){if(i===void 0)throw Error(r(407));i=i()}else i=t();var g=!fn((Xe||c).memoizedState,i);if(g&&(c.memoizedState=i,Tt=!0),c=c.queue,ff(Bp.bind(null,s,c,e),[e]),c.getSnapshot!==t||g||Ct!==null&&Ct.memoizedState.tag&1){if(s.flags|=2048,Vl(9,{destroy:void 0},Vp.bind(null,s,c,i,t),null),$e===null)throw Error(r(349));d||(Sa&127)!==0||kp(s,t,i)}return i}function kp(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=we.updateQueue,t===null?(t=Fo(),we.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function Vp(e,t,i,s){t.value=i,t.getSnapshot=s,Up(t)&&Hp(e)}function Bp(e,t,i){return i(function(){Up(t)&&Hp(e)})}function Up(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!fn(e,i)}catch{return!0}}function Hp(e){var t=Ui(e,2);t!==null&&sn(t,e,2)}function cf(e){var t=Xt();if(typeof e=="function"){var i=e;if(e=i(),Qi){Dt(!0);try{i()}finally{Dt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:e},t}function _p(e,t,i,s){return e.baseState=i,rf(e,Xe,typeof s=="function"?s:Ca)}function I2(e,t,i,s,c){if(Vo(e))throw Error(r(485));if(e=t.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){d.listeners.push(g)}};L.T!==null?i(!0):d.isTransition=!1,s(d),i=t.pending,i===null?(d.next=t.pending=d,qp(t,d)):(d.next=i.next,t.pending=i.next=d)}}function qp(e,t){var i=t.action,s=t.payload,c=e.state;if(t.isTransition){var d=L.T,g={};L.T=g;try{var w=i(c,s),T=L.S;T!==null&&T(g,w),Gp(e,t,w)}catch(V){uf(e,t,V)}finally{d!==null&&g.types!==null&&(d.types=g.types),L.T=d}}else try{d=i(c,s),Gp(e,t,d)}catch(V){uf(e,t,V)}}function Gp(e,t,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){Pp(e,t,s)},function(s){return uf(e,t,s)}):Pp(e,t,i)}function Pp(e,t,i){t.status="fulfilled",t.value=i,Yp(t),e.state=i,t=e.pending,t!==null&&(i=t.next,i===t?e.pending=null:(i=i.next,t.next=i,qp(e,i)))}function uf(e,t,i){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=i,Yp(t),t=t.next;while(t!==s)}e.action=null}function Yp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Xp(e,t){return t}function Kp(e,t){if(ke){var i=$e.formState;if(i!==null){e:{var s=we;if(ke){if(nt){t:{for(var c=nt,d=Rn;c.nodeType!==8;){if(!d){c=null;break t}if(c=zn(c.nextSibling),c===null){c=null;break t}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){nt=zn(c.nextSibling),s=c.data==="F!";break e}}Wa(s)}s=!1}s&&(t=i[0])}}return i=Xt(),i.memoizedState=i.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xp,lastRenderedState:t},i.queue=s,i=dy.bind(null,we,s),s.dispatch=i,s=cf(!1),d=yf.bind(null,we,!1,s.queue),s=Xt(),c={state:t,dispatch:null,action:e,pending:null},s.queue=c,i=I2.bind(null,we,c,d,i),c.dispatch=i,s.memoizedState=e,[t,i,!1]}function Qp(e){var t=gt();return Zp(t,Xe,e)}function Zp(e,t,i){if(t=rf(e,t,Xp)[0],e=Lo(Ca)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=Ps(t)}catch(g){throw g===Fl?To:g}else s=t;t=gt();var c=t.queue,d=c.dispatch;return i!==t.memoizedState&&(we.flags|=2048,Vl(9,{destroy:void 0},ew.bind(null,c,i),null)),[s,d,e]}function ew(e,t){e.action=t}function Jp(e){var t=gt(),i=Xe;if(i!==null)return Zp(t,i,e);gt(),t=t.memoizedState,i=gt();var s=i.queue.dispatch;return i.memoizedState=e,[t,s,!1]}function Vl(e,t,i,s){return e={tag:e,create:i,deps:s,inst:t,next:null},t=we.updateQueue,t===null&&(t=Fo(),we.updateQueue=t),i=t.lastEffect,i===null?t.lastEffect=e.next=e:(s=i.next,i.next=e,e.next=s,t.lastEffect=e),e}function $p(){return gt().memoizedState}function Oo(e,t,i,s){var c=Xt();we.flags|=e,c.memoizedState=Vl(1|t,{destroy:void 0},i,s===void 0?null:s)}function ko(e,t,i,s){var c=gt();s=s===void 0?null:s;var d=c.memoizedState.inst;Xe!==null&&s!==null&&ef(s,Xe.memoizedState.deps)?c.memoizedState=Vl(t,d,i,s):(we.flags|=e,c.memoizedState=Vl(1|t,d,i,s))}function Wp(e,t){Oo(8390656,8,e,t)}function ff(e,t){ko(2048,8,e,t)}function tw(e){we.flags|=4;var t=we.updateQueue;if(t===null)t=Fo(),we.updateQueue=t,t.events=[e];else{var i=t.events;i===null?t.events=[e]:i.push(e)}}function Ip(e){var t=gt().memoizedState;return tw({ref:t,nextImpl:e}),function(){if((He&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function ey(e,t){return ko(4,2,e,t)}function ty(e,t){return ko(4,4,e,t)}function ny(e,t){if(typeof t=="function"){e=e();var i=t(e);return function(){typeof i=="function"?i():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ay(e,t,i){i=i!=null?i.concat([e]):null,ko(4,4,ny.bind(null,t,e),i)}function df(){}function iy(e,t){var i=gt();t=t===void 0?null:t;var s=i.memoizedState;return t!==null&&ef(t,s[1])?s[0]:(i.memoizedState=[e,t],e)}function ly(e,t){var i=gt();t=t===void 0?null:t;var s=i.memoizedState;if(t!==null&&ef(t,s[1]))return s[0];if(s=e(),Qi){Dt(!0);try{e()}finally{Dt(!1)}}return i.memoizedState=[s,t],s}function hf(e,t,i){return i===void 0||(Sa&1073741824)!==0&&(Le&261930)===0?e.memoizedState=t:(e.memoizedState=i,e=sg(),we.lanes|=e,ri|=e,i)}function sy(e,t,i,s){return fn(i,t)?i:Ll.current!==null?(e=hf(e,i,s),fn(e,t)||(Tt=!0),e):(Sa&42)===0||(Sa&1073741824)!==0&&(Le&261930)===0?(Tt=!0,e.memoizedState=i):(e=sg(),we.lanes|=e,ri|=e,t)}function ry(e,t,i,s,c){var d=Z.p;Z.p=d!==0&&8>d?d:8;var g=L.T,w={};L.T=w,yf(e,!1,t,i);try{var T=c(),V=L.S;if(V!==null&&V(w,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var G=J2(T,s);Ys(e,t,G,gn(e))}else Ys(e,t,s,gn(e))}catch(Y){Ys(e,t,{then:function(){},status:"rejected",reason:Y},gn())}finally{Z.p=d,g!==null&&w.types!==null&&(g.types=w.types),L.T=g}}function nw(){}function mf(e,t,i,s){if(e.tag!==5)throw Error(r(476));var c=oy(e).queue;ry(e,c,t,W,i===null?nw:function(){return cy(e),i(s)})}function oy(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:W},next:null};var i={};return t.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:i},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function cy(e){var t=oy(e);t.next===null&&(t=e.alternate.memoizedState),Ys(e,t.next.queue,{},gn())}function pf(){return Lt(or)}function uy(){return gt().memoizedState}function fy(){return gt().memoizedState}function aw(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var i=gn();e=ti(i);var s=ni(t,e,i);s!==null&&(sn(s,t,i),Hs(s,t,i)),t={cache:Gu()},e.payload=t;return}t=t.return}}function iw(e,t,i){var s=gn();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Vo(e)?hy(t,i):(i=Fu(e,t,i,s),i!==null&&(sn(i,e,s),my(i,t,s)))}function dy(e,t,i){var s=gn();Ys(e,t,i,s)}function Ys(e,t,i,s){var c={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Vo(e))hy(t,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var g=t.lastRenderedState,w=d(g,i);if(c.hasEagerState=!0,c.eagerState=w,fn(w,g))return go(e,t,c,0),$e===null&&yo(),!1}catch{}finally{}
vendor: 4,290 bytes, line 25
25if(i=Fu(e,t,c,s),i!==null)return sn(i,e,s),my(i,t,s),!0}return!1}function yf(e,t,i,s){if(s={lane:2,revertLane:Qf(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Vo(e)){if(t)throw Error(r(479))}else t=Fu(e,i,s,2),t!==null&&sn(t,e,2)}function Vo(e){var t=e.alternate;return e===we||t!==null&&t===we}function hy(e,t){Ol=Do=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function my(e,t,i){if((i&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,i|=s,t.lanes=i,io(e,i)}}var Xs={readContext:Lt,use:zo,useCallback:ft,useContext:ft,useEffect:ft,useImperativeHandle:ft,useLayoutEffect:ft,useInsertionEffect:ft,useMemo:ft,useReducer:ft,useRef:ft,useState:ft,useDebugValue:ft,useDeferredValue:ft,useTransition:ft,useSyncExternalStore:ft,useId:ft,useHostTransitionStatus:ft,useFormState:ft,useActionState:ft,useOptimistic:ft,useMemoCache:ft,useCacheRefresh:ft};Xs.useEffectEvent=ft;var py={readContext:Lt,use:zo,useCallback:function(e,t){return Xt().memoizedState=[e,t===void 0?null:t],e},useContext:Lt,useEffect:Wp,useImperativeHandle:function(e,t,i){i=i!=null?i.concat([e]):null,Oo(4194308,4,ny.bind(null,t,e),i)},useLayoutEffect:function(e,t){return Oo(4194308,4,e,t)},useInsertionEffect:function(e,t){Oo(4,2,e,t)},useMemo:function(e,t){var i=Xt();t=t===void 0?null:t;var s=e();if(Qi){Dt(!0);try{e()}finally{Dt(!1)}}return i.memoizedState=[s,t],s},useReducer:function(e,t,i){var s=Xt();if(i!==void 0){var c=i(t);if(Qi){Dt(!0);try{i(t)}finally{Dt(!1)}}}else c=t;return s.memoizedState=s.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},s.queue=e,e=e.dispatch=iw.bind(null,we,e),[s.memoizedState,e]},useRef:function(e){var t=Xt();return e={current:e},t.memoizedState=e},useState:function(e){e=cf(e);var t=e.queue,i=dy.bind(null,we,t);return t.dispatch=i,[e.memoizedState,i]},useDebugValue:df,useDeferredValue:function(e,t){var i=Xt();return hf(i,e,t)},useTransition:function(){var e=cf(!1);return e=ry.bind(null,we,e.queue,!0,!1),Xt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,i){var s=we,c=Xt();if(ke){if(i===void 0)throw Error(r(407));i=i()}else{if(i=t(),$e===null)throw Error(r(349));(Le&127)!==0||kp(s,t,i)}c.memoizedState=i;var d={value:i,getSnapshot:t};return c.queue=d,Wp(Bp.bind(null,s,d,e),[e]),s.flags|=2048,Vl(9,{destroy:void 0},Vp.bind(null,s,d,i,t),null),i},useId:function(){var e=Xt(),t=$e.identifierPrefix;if(ke){var i=In,s=Wn;i=(s&~(1<<32-Ht(s)-1)).toString(32)+i,t="_"+t+"R_"+i,i=Ro++,0<i&&(t+="H"+i.toString(32)),t+="_"}else i=$2++,t="_"+t+"r_"+i.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:pf,useFormState:Kp,useActionState:Kp,useOptimistic:function(e){var t=Xt();t.memoizedState=t.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=i,t=yf.bind(null,we,!0,i),i.dispatch=t,[e,t]},useMemoCache:sf,useCacheRefresh:function(){return Xt().memoizedState=aw.bind(null,we)},useEffectEvent:function(e){var t=Xt(),i={impl:e};return t.memoizedState=i,function(){if((He&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}},gf={readContext:Lt,use:zo,useCallback:iy,useContext:Lt,useEffect:ff,useImperativeHandle:ay,useInsertionEffect:ey,useLayoutEffect:ty,useMemo:ly,useReducer:Lo,useRef:$p,useState:function(){return Lo(Ca)},useDebugValue:df,useDeferredValue:function(e,t){var i=gt();return sy(i,Xe.memoizedState,e,t)},useTransition:function(){var e=Lo(Ca)[0],t=gt().memoizedState;return[typeof e=="boolean"?e:Ps(e),t]},useSyncExternalStore:Op,useId:uy,useHostTransitionStatus:pf,useFormState:Qp,useActionState:Qp,useOptimistic:function(e,t){var i=gt();return _p(i,Xe,e,t)},useMemoCache:sf,useCacheRefresh:fy};gf.useEffectEvent=Ip;var yy={readContext:Lt,use:zo,useCallback:iy,useContext:Lt,useEffect:ff,useImperativeHandle:ay,useInsertionEffect:ey,useLayoutEffect:ty,useMemo:ly,useReducer:of,useRef:$p,useState:function(){return of(Ca)},useDebugValue:df,useDeferredValue:function(e,t){var i=gt();return Xe===null?hf(i,e,t):sy(i,Xe.memoizedState,e,t)},useTransition:function(){var e=of(Ca)[0],t=gt().memoizedState;return[typeof e=="boolean"?e:Ps(e),t]},useSyncExternalStore:Op,useId:uy,useHostTransitionStatus:pf,useFormState:Jp,useActionState:Jp,useOptimistic:function(e,t){var i=gt();
vendor: 24,361 bytes, line 25
25return Xe!==null?_p(i,Xe,e,t):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:sf,useCacheRefresh:fy};yy.useEffectEvent=Ip;function vf(e,t,i,s){t=e.memoizedState,i=i(s,t),i=i==null?t:x({},t,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var xf={enqueueSetState:function(e,t,i){e=e._reactInternals;var s=gn(),c=ti(s);c.payload=t,i!=null&&(c.callback=i),t=ni(e,c,s),t!==null&&(sn(t,e,s),Hs(t,e,s))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var s=gn(),c=ti(s);c.tag=1,c.payload=t,i!=null&&(c.callback=i),t=ni(e,c,s),t!==null&&(sn(t,e,s),Hs(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=gn(),s=ti(i);s.tag=2,t!=null&&(s.callback=t),t=ni(e,s,i),t!==null&&(sn(t,e,i),Hs(t,e,i))}};function gy(e,t,i,s,c,d,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,d,g):t.prototype&&t.prototype.isPureReactComponent?!Fs(i,s)||!Fs(c,d):!0}function vy(e,t,i,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,s),t.state!==e&&xf.enqueueReplaceState(t,t.state,null)}function Zi(e,t){var i=t;if("ref"in t){i={};for(var s in t)s!=="ref"&&(i[s]=t[s])}if(e=e.defaultProps){i===t&&(i=x({},i));for(var c in e)i[c]===void 0&&(i[c]=e[c])}return i}function xy(e){po(e)}function by(e){console.error(e)}function wy(e){po(e)}function Bo(e,t){try{var i=e.onUncaughtError;i(t.value,{componentStack:t.stack})}catch(s){setTimeout(function(){throw s})}}function Sy(e,t,i){try{var s=e.onCaughtError;s(i.value,{componentStack:i.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function bf(e,t,i){return i=ti(i),i.tag=3,i.payload={element:null},i.callback=function(){Bo(e,t)},i}function Cy(e){return e=ti(e),e.tag=3,e}function Ty(e,t,i,s){var c=i.type.getDerivedStateFromError;if(typeof c=="function"){var d=s.value;e.payload=function(){return c(d)},e.callback=function(){Sy(t,i,s)}}var g=i.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(e.callback=function(){Sy(t,i,s),typeof c!="function"&&(oi===null?oi=new Set([this]):oi.add(this));var w=s.stack;this.componentDidCatch(s.value,{componentStack:w!==null?w:""})})}function lw(e,t,i,s,c){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=i.alternate,t!==null&&Nl(t,i,c,!0),i=hn.current,i!==null){switch(i.tag){case 31:case 13:return Fn===null?Jo():i.alternate===null&&dt===0&&(dt=3),i.flags&=-257,i.flags|=65536,i.lanes=c,s===Eo?i.flags|=16384:(t=i.updateQueue,t===null?i.updateQueue=new Set([s]):t.add(s),Yf(e,s,c)),!1;case 22:return i.flags|=65536,s===Eo?i.flags|=16384:(t=i.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([s])},i.updateQueue=t):(i=t.retryQueue,i===null?t.retryQueue=new Set([s]):i.add(s)),Yf(e,s,c)),!1}throw Error(r(435,i.tag))}return Yf(e,s,c),Jo(),!1}if(ke)return t=hn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=c,s!==Bu&&(e=Error(r(422),{cause:s}),Os(Mn(e,i)))):(s!==Bu&&(t=Error(r(423),{cause:s}),Os(Mn(t,i))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,s=Mn(s,i),c=bf(e.stateNode,s,c),Zu(e,c),dt!==4&&(dt=2)),!1;var d=Error(r(520),{cause:s});if(d=Mn(d,i),er===null?er=[d]:er.push(d),dt!==4&&(dt=2),t===null)return!0;s=Mn(s,i),i=t;do{switch(i.tag){case 3:return i.flags|=65536,e=c&-c,i.lanes|=e,e=bf(i.stateNode,s,e),Zu(i,e),!1;case 1:if(t=i.type,d=i.stateNode,(i.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(oi===null||!oi.has(d))))return i.flags|=65536,c&=-c,i.lanes|=c,c=Cy(c),Ty(c,e,i,s),Zu(i,c),!1}i=i.return}while(i!==null);return!1}var wf=Error(r(461)),Tt=!1;function Ot(e,t,i,s){t.child=e===null?Mp(t,null,i,s):Ki(t,e.child,i,s)}function Ey(e,t,i,s,c){i=i.render;var d=t.ref;if("ref"in s){var g={};for(var w in s)w!=="ref"&&(g[w]=s[w])}else g=s;return Gi(t),s=tf(e,t,i,g,d,c),w=nf(),e!==null&&!Tt?(af(e,t,c),Ta(e,t,c)):(ke&&w&&ku(t),t.flags|=1,Ot(e,t,s,c),t.child)}function jy(e,t,i,s,c){if(e===null){var d=i.type;return typeof d=="function"&&!zu(d)&&d.defaultProps===void 0&&i.compare===null?(t.tag=15,t.type=d,Ay(e,t,d,s,c)):(e=xo(i.type,null,s,t,t.mode,c),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,!Nf(e,c)){var g=d.memoizedProps;if(i=i.compare,i=i!==null?i:Fs,i(g,s)&&e.ref===t.ref)return Ta(e,t,c)}return t.flags|=1,e=va(d,s),e.ref=t.ref,e.return=t,t.child=e}function Ay(e,t,i,s,c){if(e!==null){var d=e.memoizedProps;if(Fs(d,s)&&e.ref===t.ref)if(Tt=!1,t.pendingProps=s=d,Nf(e,c))(e.flags&131072)!==0&&(Tt=!0);else return t.lanes=e.lanes,Ta(e,t,c)}return Sf(e,t,i,s,c)}function My(e,t,i,s){var c=s.children,d=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((t.flags&128)!==0){if(d=d!==null?d.baseLanes|i:i,e!==null){for(s=t.child=e.child,c=0;s!==null;)c=c|s.lanes|s.childLanes,s=s.sibling;s=c&~d}else s=0,t.child=null;return Ny(e,t,d,i,s)}if((i&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Co(t,d!==null?d.cachePool:null),d!==null?Rp(t,d):$u(),Fp(t);else return s=t.lanes=536870912,Ny(e,t,d!==null?d.baseLanes|i:i,i,s)}else d!==null?(Co(t,d.cachePool),Rp(t,d),ii(),t.memoizedState=null):(e!==null&&Co(t,null),$u(),ii());return Ot(e,t,c,i),t.child}function Ks(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ny(e,t,i,s,c){var d=Yu();return d=d===null?null:{parent:St._currentValue,pool:d},t.memoizedState={baseLanes:i,cachePool:d},e!==null&&Co(t,null),$u(),Fp(t),e!==null&&Nl(e,t,s,!0),t.childLanes=c,null}function Uo(e,t){return t=_o({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Dy(e,t,i){return Ki(t,e.child,null,i),e=Uo(t,t.pendingProps),e.flags|=2,mn(t),t.memoizedState=null,e}function sw(e,t,i){var s=t.pendingProps,c=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ke){if(s.mode==="hidden")return e=Uo(t,s),t.lanes=536870912,Ks(null,e);if(Iu(t),(e=nt)?(e=qg(e,Rn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ja!==null?{id:Wn,overflow:In}:null,retryLane:536870912,hydrationErrors:null},i=hp(e),i.return=t,t.child=i,zt=t,nt=null)):e=null,e===null)throw Wa(t);return t.lanes=536870912,null}return Uo(t,s)}var d=e.memoizedState;if(d!==null){var g=d.dehydrated;if(Iu(t),c)if(t.flags&256)t.flags&=-257,t=Dy(e,t,i);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(Tt||Nl(e,t,i,!1),c=(i&e.childLanes)!==0,Tt||c){if(s=$e,s!==null&&(g=E(s,i),g!==0&&g!==d.retryLane))throw d.retryLane=g,Ui(e,g),sn(s,e,g),wf;Jo(),t=Dy(e,t,i)}else e=d.treeContext,nt=zn(g.nextSibling),zt=t,ke=!0,$a=null,Rn=!1,e!==null&&yp(t,e),t=Uo(t,s),t.flags|=4096;return t}return e=va(e.child,{mode:s.mode,children:s.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ho(e,t){var i=t.ref;if(i===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(r(284));(e===null||e.ref!==i)&&(t.flags|=4194816)}}function Sf(e,t,i,s,c){return Gi(t),i=tf(e,t,i,s,void 0,c),s=nf(),e!==null&&!Tt?(af(e,t,c),Ta(e,t,c)):(ke&&s&&ku(t),t.flags|=1,Ot(e,t,i,c),t.child)}function Ry(e,t,i,s,c,d){return Gi(t),t.updateQueue=null,i=Lp(t,s,i,c),zp(e),s=nf(),e!==null&&!Tt?(af(e,t,d),Ta(e,t,d)):(ke&&s&&ku(t),t.flags|=1,Ot(e,t,i,d),t.child)}function Fy(e,t,i,s,c){if(Gi(t),t.stateNode===null){var d=El,g=i.contextType;typeof g=="object"&&g!==null&&(d=Lt(g)),d=new i(s,d),t.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=xf,t.stateNode=d,d._reactInternals=t,d=t.stateNode,d.props=s,d.state=t.memoizedState,d.refs={},Ku(t),g=i.contextType,d.context=typeof g=="object"&&g!==null?Lt(g):El,d.state=t.memoizedState,g=i.getDerivedStateFromProps,typeof g=="function"&&(vf(t,i,g,s),d.state=t.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(g=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),g!==d.state&&xf.enqueueReplaceState(d,d.state,null),qs(t,s,d,c),_s(),d.state=t.memoizedState),typeof d.componentDidMount=="function"&&(t.flags|=4194308),s=!0}else if(e===null){d=t.stateNode;var w=t.memoizedProps,T=Zi(i,w);d.props=T;var V=d.context,G=i.contextType;g=El,typeof G=="object"&&G!==null&&(g=Lt(G));var Y=i.getDerivedStateFromProps;G=typeof Y=="function"||typeof d.getSnapshotBeforeUpdate=="function",w=t.pendingProps!==w,G||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(w||V!==g)&&vy(t,d,s,g),ei=!1;var H=t.memoizedState;d.state=H,qs(t,s,d,c),_s(),V=t.memoizedState,w||H!==V||ei?(typeof Y=="function"&&(vf(t,i,Y,s),V=t.memoizedState),(T=ei||gy(t,i,T,s,H,V,g))?(G||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(t.flags|=4194308)):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=V),d.props=s,d.state=V,d.context=g,s=T):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{d=t.stateNode,Qu(e,t),g=t.memoizedProps,G=Zi(i,g),d.props=G,Y=t.pendingProps,H=d.context,V=i.contextType,T=El,typeof V=="object"&&V!==null&&(T=Lt(V)),w=i.getDerivedStateFromProps,(V=typeof w=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==Y||H!==T)&&vy(t,d,s,T),ei=!1,H=t.memoizedState,d.state=H,qs(t,s,d,c),_s();var q=t.memoizedState;g!==Y||H!==q||ei||e!==null&&e.dependencies!==null&&wo(e.dependencies)?(typeof w=="function"&&(vf(t,i,w,s),q=t.memoizedState),(G=ei||gy(t,i,G,s,H,q,T)||e!==null&&e.dependencies!==null&&wo(e.dependencies))?(V||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(s,q,T),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(s,q,T)),typeof d.componentDidUpdate=="function"&&(t.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=q),d.props=s,d.state=q,d.context=T,s=G):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),s=!1)}return d=s,Ho(e,t),s=(t.flags&128)!==0,d||s?(d=t.stateNode,i=s&&typeof i.getDerivedStateFromError!="function"?null:d.render(),t.flags|=1,e!==null&&s?(t.child=Ki(t,e.child,null,c),t.child=Ki(t,null,i,c)):Ot(e,t,i,c),t.memoizedState=d.state,e=t.child):e=Ta(e,t,c),e}function zy(e,t,i,s){return _i(),t.flags|=256,Ot(e,t,i,s),t.child}var Cf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Tf(e){return{baseLanes:e,cachePool:Sp()}}function Ef(e,t,i){return e=e!==null?e.childLanes&~i:0,t&&(e|=yn),e}function Ly(e,t,i){var s=t.pendingProps,c=!1,d=(t.flags&128)!==0,g;if((g=d)||(g=e!==null&&e.memoizedState===null?!1:(yt.current&2)!==0),g&&(c=!0,t.flags&=-129),g=(t.flags&32)!==0,t.flags&=-33,e===null){if(ke){if(c?ai(t):ii(),(e=nt)?(e=qg(e,Rn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ja!==null?{id:Wn,overflow:In}:null,retryLane:536870912,hydrationErrors:null},i=hp(e),i.return=t,t.child=i,zt=t,nt=null)):e=null,e===null)throw Wa(t);return rd(e)?t.lanes=32:t.lanes=536870912,null}var w=s.children;return s=s.fallback,c?(ii(),c=t.mode,w=_o({mode:"hidden",children:w},c),s=Hi(s,c,i,null),w.return=t,s.return=t,w.sibling=s,t.child=w,s=t.child,s.memoizedState=Tf(i),s.childLanes=Ef(e,g,i),t.memoizedState=Cf,Ks(null,s)):(ai(t),jf(t,w))}var T=e.memoizedState;if(T!==null&&(w=T.dehydrated,w!==null)){if(d)t.flags&256?(ai(t),t.flags&=-257,t=Af(e,t,i)):t.memoizedState!==null?(ii(),t.child=e.child,t.flags|=128,t=null):(ii(),w=s.fallback,c=t.mode,s=_o({mode:"visible",children:s.children},c),w=Hi(w,c,i,null),w.flags|=2,s.return=t,w.return=t,s.sibling=w,t.child=s,Ki(t,e.child,null,i),s=t.child,s.memoizedState=Tf(i),s.childLanes=Ef(e,g,i),t.memoizedState=Cf,t=Ks(null,s));else if(ai(t),rd(w)){if(g=w.nextSibling&&w.nextSibling.dataset,g)var V=g.dgst;g=V,s=Error(r(419)),s.stack="",s.digest=g,Os({value:s,source:null,stack:null}),t=Af(e,t,i)}else if(Tt||Nl(e,t,i,!1),g=(i&e.childLanes)!==0,Tt||g){if(g=$e,g!==null&&(s=E(g,i),s!==0&&s!==T.retryLane))throw T.retryLane=s,Ui(e,s),sn(g,e,s),wf;sd(w)||Jo(),t=Af(e,t,i)}else sd(w)?(t.flags|=192,t.child=e.child,t=null):(e=T.treeContext,nt=zn(w.nextSibling),zt=t,ke=!0,$a=null,Rn=!1,e!==null&&yp(t,e),t=jf(t,s.children),t.flags|=4096);return t}return c?(ii(),w=s.fallback,c=t.mode,T=e.child,V=T.sibling,s=va(T,{mode:"hidden",children:s.children}),s.subtreeFlags=T.subtreeFlags&65011712,V!==null?w=va(V,w):(w=Hi(w,c,i,null),w.flags|=2),w.return=t,s.return=t,s.sibling=w,t.child=s,Ks(null,s),s=t.child,w=e.child.memoizedState,w===null?w=Tf(i):(c=w.cachePool,c!==null?(T=St._currentValue,c=c.parent!==T?{parent:T,pool:T}:c):c=Sp(),w={baseLanes:w.baseLanes|i,cachePool:c}),s.memoizedState=w,s.childLanes=Ef(e,g,i),t.memoizedState=Cf,Ks(e.child,s)):(ai(t),i=e.child,e=i.sibling,i=va(i,{mode:"visible",children:s.children}),i.return=t,i.sibling=null,e!==null&&(g=t.deletions,g===null?(t.deletions=[e],t.flags|=16):g.push(e)),t.child=i,t.memoizedState=null,i)}function jf(e,t){return t=_o({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function _o(e,t){return e=dn(22,e,null,t),e.lanes=0,e}function Af(e,t,i){return Ki(t,e.child,null,i),e=jf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Oy(e,t,i){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),_u(e.return,t,i)}function Mf(e,t,i,s,c,d){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:c,treeForkCount:d}:(g.isBackwards=t,g.rendering=null,g.renderingStartTime=0,g.last=s,g.tail=i,g.tailMode=c,g.treeForkCount=d)}function ky(e,t,i){var s=t.pendingProps,c=s.revealOrder,d=s.tail;s=s.children;var g=yt.current,w=(g&2)!==0;if(w?(g=g&1|2,t.flags|=128):g&=1,be(yt,g),Ot(e,t,s,i),s=ke?Ls:0,!w&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Oy(e,i,t);else if(e.tag===19)Oy(e,i,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(i=t.child,c=null;i!==null;)e=i.alternate,e!==null&&No(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=t.child,t.child=null):(c=i.sibling,i.sibling=null),Mf(t,!1,c,i,d,s);break;case"backwards":case"unstable_legacy-backwards":for(i=null,c=t.child,t.child=null;c!==null;){if(e=c.alternate,e!==null&&No(e)===null){t.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}Mf(t,!0,i,null,d,s);break;case"together":Mf(t,!1,null,null,void 0,s);break;default:t.memoizedState=null}return t.child}function Ta(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),ri|=t.lanes,(i&t.childLanes)===0)if(e!==null){if(Nl(e,t,i,!1),(i&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,i=va(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=va(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function Nf(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&wo(e)))}function rw(e,t,i){switch(t.tag){case 3:fa(t,t.stateNode.containerInfo),Ia(t,St,e.memoizedState.cache),_i();break;case 27:case 5:vs(t);break;case 4:fa(t,t.stateNode.containerInfo);break;case 10:Ia(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Iu(t),null;break;case 13:var s=t.memoizedState;if(s!==null)return s.dehydrated!==null?(ai(t),t.flags|=128,null):(i&t.child.childLanes)!==0?Ly(e,t,i):(ai(t),e=Ta(e,t,i),e!==null?e.sibling:null);ai(t);break;case 19:var c=(e.flags&128)!==0;if(s=(i&t.childLanes)!==0,s||(Nl(e,t,i,!1),s=(i&t.childLanes)!==0),c){if(s)return ky(e,t,i);t.flags|=128}if(c=t.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),be(yt,yt.current),s)break;return null;case 22:return t.lanes=0,My(e,t,i,t.pendingProps);case 24:Ia(t,St,e.memoizedState.cache)}return Ta(e,t,i)}function Vy(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps)Tt=!0;else{if(!Nf(e,i)&&(t.flags&128)===0)return Tt=!1,rw(e,t,i);Tt=(e.flags&131072)!==0}else Tt=!1,ke&&(t.flags&1048576)!==0&&pp(t,Ls,t.index);switch(t.lanes=0,t.tag){case 16:e:{var s=t.pendingProps;if(e=Yi(t.elementType),t.type=e,typeof e=="function")zu(e)?(s=Zi(e,s),t.tag=1,t=Fy(null,t,e,s,i)):(t.tag=0,t=Sf(null,t,e,s,i));else{if(e!=null){var c=e.$$typeof;if(c===X){t.tag=11,t=Ey(null,t,e,s,i);break e}else if(c===pe){t.tag=14,t=jy(null,t,e,s,i);break e}}throw t=Ae(e)||e,Error(r(306,t,""))}}return t;case 0:return Sf(e,t,t.type,t.pendingProps,i);case 1:return s=t.type,c=Zi(s,t.pendingProps),Fy(e,t,s,c,i);case 3:e:{if(fa(t,t.stateNode.containerInfo),e===null)throw Error(r(387));s=t.pendingProps;var d=t.memoizedState;c=d.element,Qu(e,t),qs(t,s,null,i);var g=t.memoizedState;if(s=g.cache,Ia(t,St,s),s!==d.cache&&qu(t,[St],i,!0),_s(),s=g.element,d.isDehydrated)if(d={element:s,isDehydrated:!1,cache:g.cache},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){t=zy(e,t,s,i);break e}else if(s!==c){c=Mn(Error(r(424)),t),Os(c),t=zy(e,t,s,i);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(nt=zn(e.firstChild),zt=t,ke=!0,$a=null,Rn=!0,i=Mp(t,null,s,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(_i(),s===c){t=Ta(e,t,i);break e}Ot(e,t,s,i)}t=t.child}return t;case 26:return Ho(e,t),e===null?(i=Qg(t.type,null,t.pendingProps,null))?t.memoizedState=i:ke||(i=t.type,e=t.pendingProps,s=ac(ut.current).createElement(i),s[ee]=t,s[oe]=e,kt(s,i,e),et(s),t.stateNode=s):t.memoizedState=Qg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return vs(t),e===null&&ke&&(s=t.stateNode=Yg(t.type,t.pendingProps,ut.current),zt=t,Rn=!0,c=nt,di(t.type)?(od=c,nt=zn(s.firstChild)):nt=c),Ot(e,t,t.pendingProps.children,i),Ho(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ke&&((c=s=nt)&&(s=Vw(s,t.type,t.pendingProps,Rn),s!==null?(t.stateNode=s,zt=t,nt=zn(s.firstChild),Rn=!1,c=!0):c=!1),c||Wa(t)),vs(t),c=t.type,d=t.pendingProps,g=e!==null?e.memoizedProps:null,s=d.children,ad(c,d)?s=null:g!==null&&ad(c,g)&&(t.flags|=32),t.memoizedState!==null&&(c=tf(e,t,W2,null,null,i),or._currentValue=c),Ho(e,t),Ot(e,t,s,i),t.child;case 6:return e===null&&ke&&((e=i=nt)&&(i=Bw(i,t.pendingProps,Rn),i!==null?(t.stateNode=i,zt=t,nt=null,e=!0):e=!1),e||Wa(t)),null;case 13:return Ly(e,t,i);case 4:return fa(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=Ki(t,null,s,i):Ot(e,t,s,i),t.child;case 11:return Ey(e,t,t.type,t.pendingProps,i);case 7:return Ot(e,t,t.pendingProps,i),t.child;case 8:return Ot(e,t,t.pendingProps.children,i),t.child;case 12:return Ot(e,t,t.pendingProps.children,i),t.child;case 10:return s=t.pendingProps,Ia(t,t.type,s.value),Ot(e,t,s.children,i),t.child;case 9:return c=t.type._context,s=t.pendingProps.children,Gi(t),c=Lt(c),s=s(c),t.flags|=1,Ot(e,t,s,i),t.child;case 14:return jy(e,t,t.type,t.pendingProps,i);case 15:return Ay(e,t,t.type,t.pendingProps,i);case 19:return ky(e,t,i);case 31:return sw(e,t,i);case 22:return My(e,t,i,t.pendingProps);case 24:return Gi(t),s=Lt(St),e===null?(c=Yu(),c===null&&(c=$e,d=Gu(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=i),c=d),t.memoizedState={parent:s,cache:c},Ku(t),Ia(t,St,c)):((e.lanes&i)!==0&&(Qu(e,t),qs(t,null,null,i),_s()),c=e.memoizedState,d=t.memoizedState,c.parent!==s?(c={parent:s,cache:s},t.memoizedState=c,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=c),Ia(t,St,s)):(s=d.cache,Ia(t,St,s),s!==c.cache&&qu(t,[St],i,!0))),Ot(e,t,t.pendingProps.children,i),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function Ea(e){e.flags|=4}function Df(e,t,i,s,c){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(ug())e.flags|=8192;else throw Xi=Eo,Xu}else e.flags&=-16777217}function By(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Ig(t))if(ug())e.flags|=8192;else throw Xi=Eo,Xu}function qo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ts():536870912,e.lanes|=t,_l|=t)}function Qs(e,t){if(!ke)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function at(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,s=0;if(t)for(var c=e.child;c!==null;)i|=c.lanes|c.childLanes,s|=c.subtreeFlags&65011712,s|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)i|=c.lanes|c.childLanes,s|=c.subtreeFlags,s|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=s,e.childLanes=i,t}function ow(e,t,i){var s=t.pendingProps;switch(Vu(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return at(t),null;case 1:return at(t),null;case 3:return i=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),wa(St),Wt(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ml(t)?Ea(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Uu())),at(t),null;case 26:var c=t.type,d=t.memoizedState;return e===null?(Ea(t),d!==null?(at(t),By(t,d)):(at(t),Df(t,c,null,s,i))):d?d!==e.memoizedState?(Ea(t),at(t),By(t,d)):(at(t),t.flags&=-16777217):(e=e.memoizedProps,e!==s&&Ea(t),at(t),Df(t,c,e,s,i)),null;case 27:if(ul(t),i=ut.current,c=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Ea(t);else{if(!s){if(t.stateNode===null)throw Error(r(166));return at(t),null}e=Ue.current,Ml(t)?gp(t):(e=Yg(c,s,i),t.stateNode=e,Ea(t))}return at(t),null;case 5:if(ul(t),c=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Ea(t);else{if(!s){if(t.stateNode===null)throw Error(r(166));return at(t),null}if(d=Ue.current,Ml(t))gp(t);else{var g=ac(ut.current);switch(d){case 1:d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":d=g.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof s.is=="string"?g.createElement("select",{is:s.is}):g.createElement("select"),s.multiple?d.multiple=!0:s.size&&(d.size=s.size);break;default:d=typeof s.is=="string"?g.createElement(c,{is:s.is}):g.createElement(c)}}d[ee]=t,d[oe]=s;e:for(g=t.child;g!==null;){if(g.tag===5||g.tag===6)d.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===t)break e;for(;g.sibling===null;){if(g.return===null||g.return===t)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}t.stateNode=d;e:switch(kt(d,c,s),c){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&Ea(t)}}return at(t),Df(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,i),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&Ea(t);
vendor: 23,660 bytes, line 25
25else{if(typeof s!="string"&&t.stateNode===null)throw Error(r(166));if(e=ut.current,Ml(t)){if(e=t.stateNode,i=t.memoizedProps,s=null,c=zt,c!==null)switch(c.tag){case 27:case 5:s=c.memoizedProps}e[ee]=t,e=!!(e.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||Lg(e.nodeValue,i)),e||Wa(t,!0)}else e=ac(e).createTextNode(s),e[ee]=t,t.stateNode=e}return at(t),null;case 31:if(i=t.memoizedState,e===null||e.memoizedState!==null){if(s=Ml(t),i!==null){if(e===null){if(!s)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[ee]=t}else _i(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;at(t),e=!1}else i=Uu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return t.flags&256?(mn(t),t):(mn(t),null);if((t.flags&128)!==0)throw Error(r(558))}return at(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Ml(t),s!==null&&s.dehydrated!==null){if(e===null){if(!c)throw Error(r(318));if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(r(317));c[ee]=t}else _i(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;at(t),c=!1}else c=Uu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(mn(t),t):(mn(t),null)}return mn(t),(t.flags&128)!==0?(t.lanes=i,t):(i=s!==null,e=e!==null&&e.memoizedState!==null,i&&(s=t.child,c=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(c=s.alternate.memoizedState.cachePool.pool),d=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(d=s.memoizedState.cachePool.pool),d!==c&&(s.flags|=2048)),i!==e&&i&&(t.child.flags|=8192),qo(t,t.updateQueue),at(t),null);case 4:return Wt(),e===null&&Wf(t.stateNode.containerInfo),at(t),null;case 10:return wa(t.type),at(t),null;case 19:if(Ne(yt),s=t.memoizedState,s===null)return at(t),null;if(c=(t.flags&128)!==0,d=s.rendering,d===null)if(c)Qs(s,!1);else{if(dt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(d=No(e),d!==null){for(t.flags|=128,Qs(s,!1),e=d.updateQueue,t.updateQueue=e,qo(t,e),t.subtreeFlags=0,e=i,i=t.child;i!==null;)dp(i,e),i=i.sibling;return be(yt,yt.current&1|2),ke&&xa(t,s.treeForkCount),t.child}e=e.sibling}s.tail!==null&&Pt()>Ko&&(t.flags|=128,c=!0,Qs(s,!1),t.lanes=4194304)}else{if(!c)if(e=No(d),e!==null){if(t.flags|=128,c=!0,e=e.updateQueue,t.updateQueue=e,qo(t,e),Qs(s,!0),s.tail===null&&s.tailMode==="hidden"&&!d.alternate&&!ke)return at(t),null}else 2*Pt()-s.renderingStartTime>Ko&&i!==536870912&&(t.flags|=128,c=!0,Qs(s,!1),t.lanes=4194304);s.isBackwards?(d.sibling=t.child,t.child=d):(e=s.last,e!==null?e.sibling=d:t.child=d,s.last=d)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=Pt(),e.sibling=null,i=yt.current,be(yt,c?i&1|2:i&1),ke&&xa(t,s.treeForkCount),e):(at(t),null);case 22:case 23:return mn(t),Wu(),s=t.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(t.flags|=8192):s&&(t.flags|=8192),s?(i&536870912)!==0&&(t.flags&128)===0&&(at(t),t.subtreeFlags&6&&(t.flags|=8192)):at(t),i=t.updateQueue,i!==null&&qo(t,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),s=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),s!==i&&(t.flags|=2048),e!==null&&Ne(Pi),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),wa(St),at(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function cw(e,t){switch(Vu(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wa(St),Wt(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ul(t),null;case 31:if(t.memoizedState!==null){if(mn(t),t.alternate===null)throw Error(r(340));_i()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(mn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));_i()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ne(yt),null;case 4:return Wt(),null;case 10:return wa(t.type),null;case 22:case 23:return mn(t),Wu(),e!==null&&Ne(Pi),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return wa(St),null;case 25:return null;default:return null}}function Uy(e,t){switch(Vu(t),t.tag){case 3:wa(St),Wt();break;case 26:case 27:case 5:ul(t);break;case 4:Wt();break;case 31:t.memoizedState!==null&&mn(t);break;case 13:mn(t);break;case 19:Ne(yt);break;case 10:wa(t.type);break;case 22:case 23:mn(t),Wu(),e!==null&&Ne(Pi);break;case 24:wa(St)}}function Zs(e,t){try{var i=t.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var c=s.next;i=c;do{if((i.tag&e)===e){s=void 0;var d=i.create,g=i.inst;s=d(),g.destroy=s}i=i.next}while(i!==c)}}catch(w){Pe(t,t.return,w)}}function li(e,t,i){try{var s=t.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var d=c.next;s=d;do{if((s.tag&e)===e){var g=s.inst,w=g.destroy;if(w!==void 0){g.destroy=void 0,c=t;var T=i,V=w;try{V()}catch(G){Pe(c,T,G)}}}s=s.next}while(s!==d)}}catch(G){Pe(t,t.return,G)}}function Hy(e){var t=e.updateQueue;if(t!==null){var i=e.stateNode;try{Dp(t,i)}catch(s){Pe(e,e.return,s)}}}function _y(e,t,i){i.props=Zi(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(s){Pe(e,t,s)}}function Js(e,t){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var s=e.stateNode;break;case 30:s=e.stateNode;break;default:s=e.stateNode}typeof i=="function"?e.refCleanup=i(s):i.current=s}}catch(c){Pe(e,t,c)}}function ea(e,t){var i=e.ref,s=e.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(c){Pe(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(c){Pe(e,t,c)}else i.current=null}function qy(e){var t=e.type,i=e.memoizedProps,s=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&s.focus();break e;case"img":i.src?s.src=i.src:i.srcSet&&(s.srcset=i.srcSet)}}catch(c){Pe(e,e.return,c)}}function Rf(e,t,i){try{var s=e.stateNode;Rw(s,e.type,i,t),s[oe]=t}catch(c){Pe(e,e.return,c)}}function Gy(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&di(e.type)||e.tag===4}function Ff(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gy(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&&di(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 zf(e,t,i){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,t):(t=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,t.appendChild(e),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=ya));else if(s!==4&&(s===27&&di(e.type)&&(i=e.stateNode,t=null),e=e.child,e!==null))for(zf(e,t,i),e=e.sibling;e!==null;)zf(e,t,i),e=e.sibling}function Go(e,t,i){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(s!==4&&(s===27&&di(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(Go(e,t,i),e=e.sibling;e!==null;)Go(e,t,i),e=e.sibling}function Py(e){var t=e.stateNode,i=e.memoizedProps;try{for(var s=e.type,c=t.attributes;c.length;)t.removeAttributeNode(c[0]);kt(t,s,i),t[ee]=e,t[oe]=i}catch(d){Pe(e,e.return,d)}}var ja=!1,Et=!1,Lf=!1,Yy=typeof WeakSet=="function"?WeakSet:Set,Ft=null;function uw(e,t){if(e=e.containerInfo,td=uc,e=ap(e),ju(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var c=s.anchorOffset,d=s.focusNode;s=s.focusOffset;try{i.nodeType,d.nodeType}catch{i=null;break e}var g=0,w=-1,T=-1,V=0,G=0,Y=e,H=null;t:for(;;){for(var q;Y!==i||c!==0&&Y.nodeType!==3||(w=g+c),Y!==d||s!==0&&Y.nodeType!==3||(T=g+s),Y.nodeType===3&&(g+=Y.nodeValue.length),(q=Y.firstChild)!==null;)H=Y,Y=q;for(;;){if(Y===e)break t;if(H===i&&++V===c&&(w=g),H===d&&++G===s&&(T=g),(q=Y.nextSibling)!==null)break;Y=H,H=Y.parentNode}Y=q}i=w===-1||T===-1?null:{start:w,end:T}}else i=null}i=i||{start:0,end:0}}else i=null;for(nd={focusedElem:e,selectionRange:i},uc=!1,Ft=t;Ft!==null;)if(t=Ft,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ft=e;else for(;Ft!==null;){switch(t=Ft,d=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)c=e[i],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,i=t,c=d.memoizedProps,d=d.memoizedState,s=i.stateNode;try{var le=Zi(i.type,c);e=s.getSnapshotBeforeUpdate(le,d),s.__reactInternalSnapshotBeforeUpdate=e}catch(ye){Pe(i,i.return,ye)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,i=e.nodeType,i===9)ld(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ld(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(r(163))}if(e=t.sibling,e!==null){e.return=t.return,Ft=e;break}Ft=t.return}}function Xy(e,t,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:Ma(e,i),s&4&&Zs(5,i);break;case 1:if(Ma(e,i),s&4)if(e=i.stateNode,t===null)try{e.componentDidMount()}catch(g){Pe(i,i.return,g)}else{var c=Zi(i.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(c,t,e.__reactInternalSnapshotBeforeUpdate)}catch(g){Pe(i,i.return,g)}}s&64&&Hy(i),s&512&&Js(i,i.return);break;case 3:if(Ma(e,i),s&64&&(e=i.updateQueue,e!==null)){if(t=null,i.child!==null)switch(i.child.tag){case 27:case 5:t=i.child.stateNode;break;case 1:t=i.child.stateNode}try{Dp(e,t)}catch(g){Pe(i,i.return,g)}}break;case 27:t===null&&s&4&&Py(i);case 26:case 5:Ma(e,i),t===null&&s&4&&qy(i),s&512&&Js(i,i.return);break;case 12:Ma(e,i);break;case 31:Ma(e,i),s&4&&Zy(e,i);break;case 13:Ma(e,i),s&4&&Jy(e,i),s&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=xw.bind(null,i),Uw(e,i))));break;case 22:if(s=i.memoizedState!==null||ja,!s){t=t!==null&&t.memoizedState!==null||Et,c=ja;var d=Et;ja=s,(Et=t)&&!d?Na(e,i,(i.subtreeFlags&8772)!==0):Ma(e,i),ja=c,Et=d}break;case 30:break;default:Ma(e,i)}}function Ky(e){var t=e.alternate;t!==null&&(e.alternate=null,Ky(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Je(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ot=null,tn=!1;function Aa(e,t,i){for(i=i.child;i!==null;)Qy(e,t,i),i=i.sibling}function Qy(e,t,i){if(Yt&&typeof Yt.onCommitFiberUnmount=="function")try{Yt.onCommitFiberUnmount(ma,i)}catch{}switch(i.tag){case 26:Et||ea(i,t),Aa(e,t,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Et||ea(i,t);var s=ot,c=tn;di(i.type)&&(ot=i.stateNode,tn=!1),Aa(e,t,i),lr(i.stateNode),ot=s,tn=c;break;case 5:Et||ea(i,t);case 6:if(s=ot,c=tn,ot=null,Aa(e,t,i),ot=s,tn=c,ot!==null)if(tn)try{(ot.nodeType===9?ot.body:ot.nodeName==="HTML"?ot.ownerDocument.body:ot).removeChild(i.stateNode)}catch(d){Pe(i,t,d)}else try{ot.removeChild(i.stateNode)}catch(d){Pe(i,t,d)}break;case 18:ot!==null&&(tn?(e=ot,Hg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),Zl(e)):Hg(ot,i.stateNode));break;case 4:s=ot,c=tn,ot=i.stateNode.containerInfo,tn=!0,Aa(e,t,i),ot=s,tn=c;break;case 0:case 11:case 14:case 15:li(2,i,t),Et||li(4,i,t),Aa(e,t,i);break;case 1:Et||(ea(i,t),s=i.stateNode,typeof s.componentWillUnmount=="function"&&_y(i,t,s)),Aa(e,t,i);break;case 21:Aa(e,t,i);break;case 22:Et=(s=Et)||i.memoizedState!==null,Aa(e,t,i),Et=s;break;default:Aa(e,t,i)}}function Zy(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Zl(e)}catch(i){Pe(t,t.return,i)}}}function Jy(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Zl(e)}catch(i){Pe(t,t.return,i)}}function fw(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Yy),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Yy),t;default:throw Error(r(435,e.tag))}}function Po(e,t){var i=fw(e);t.forEach(function(s){if(!i.has(s)){i.add(s);var c=bw.bind(null,e,s);s.then(c,c)}})}function nn(e,t){var i=t.deletions;if(i!==null)for(var s=0;s<i.length;s++){var c=i[s],d=e,g=t,w=g;e:for(;w!==null;){switch(w.tag){case 27:if(di(w.type)){ot=w.stateNode,tn=!1;break e}break;case 5:ot=w.stateNode,tn=!1;break e;case 3:case 4:ot=w.stateNode.containerInfo,tn=!0;break e}w=w.return}if(ot===null)throw Error(r(160));Qy(d,g,c),ot=null,tn=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)$y(t,e),t=t.sibling}var Gn=null;function $y(e,t){var i=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:nn(t,e),an(e),s&4&&(li(3,e,e.return),Zs(3,e),li(5,e,e.return));break;case 1:nn(t,e),an(e),s&512&&(Et||i===null||ea(i,i.return)),s&64&&ja&&(e=e.updateQueue,e!==null&&(s=e.callbacks,s!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?s:i.concat(s))));break;case 26:var c=Gn;if(nn(t,e),an(e),s&512&&(Et||i===null||ea(i,i.return)),s&4){var d=i!==null?i.memoizedState:null;if(s=e.memoizedState,i===null)if(s===null)if(e.stateNode===null){e:{s=e.type,i=e.memoizedProps,c=c.ownerDocument||c;t:switch(s){case"title":d=c.getElementsByTagName("title")[0],(!d||d[Ee]||d[ee]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(s),c.head.insertBefore(d,c.querySelector("head > title"))),kt(d,s,i),d[ee]=e,et(d),s=d;break e;case"link":var g=$g("link","href",c).get(s+(i.href||""));if(g){for(var w=0;w<g.length;w++)if(d=g[w],d.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&d.getAttribute("rel")===(i.rel==null?null:i.rel)&&d.getAttribute("title")===(i.title==null?null:i.title)&&d.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){g.splice(w,1);break t}}d=c.createElement(s),kt(d,s,i),c.head.appendChild(d);break;case"meta":if(g=$g("meta","content",c).get(s+(i.content||""))){for(w=0;w<g.length;w++)if(d=g[w],d.getAttribute("content")===(i.content==null?null:""+i.content)&&d.getAttribute("name")===(i.name==null?null:i.name)&&d.getAttribute("property")===(i.property==null?null:i.property)&&d.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&d.getAttribute("charset")===(i.charSet==null?null:i.charSet)){g.splice(w,1);break t}}d=c.createElement(s),kt(d,s,i),c.head.appendChild(d);break;default:throw Error(r(468,s))}d[ee]=e,et(d),s=d}e.stateNode=s}else Wg(c,e.type,e.stateNode);else e.stateNode=Jg(c,s,e.memoizedProps);else d!==s?(d===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):d.count--,s===null?Wg(c,e.type,e.stateNode):Jg(c,s,e.memoizedProps)):s===null&&e.stateNode!==null&&Rf(e,e.memoizedProps,i.memoizedProps)}break;case 27:nn(t,e),an(e),s&512&&(Et||i===null||ea(i,i.return)),i!==null&&s&4&&Rf(e,e.memoizedProps,i.memoizedProps);break;case 5:if(nn(t,e),an(e),s&512&&(Et||i===null||ea(i,i.return)),e.flags&32){c=e.stateNode;try{vl(c,"")}catch(le){Pe(e,e.return,le)}}s&4&&e.stateNode!=null&&(c=e.memoizedProps,Rf(e,c,i!==null?i.memoizedProps:c)),s&1024&&(Lf=!0);break;case 6:if(nn(t,e),an(e),s&4){if(e.stateNode===null)throw Error(r(162));s=e.memoizedProps,i=e.stateNode;try{i.nodeValue=s}catch(le){Pe(e,e.return,le)}}break;case 3:if(sc=null,c=Gn,Gn=ic(t.containerInfo),nn(t,e),Gn=c,an(e),s&4&&i!==null&&i.memoizedState.isDehydrated)try{Zl(t.containerInfo)}catch(le){Pe(e,e.return,le)}Lf&&(Lf=!1,Wy(e));break;case 4:s=Gn,Gn=ic(e.stateNode.containerInfo),nn(t,e),an(e),Gn=s;break;case 12:nn(t,e),an(e);break;case 31:nn(t,e),an(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Po(e,s)));break;case 13:nn(t,e),an(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Xo=Pt()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Po(e,s)));break;case 22:c=e.memoizedState!==null;var T=i!==null&&i.memoizedState!==null,V=ja,G=Et;if(ja=V||c,Et=G||T,nn(t,e),Et=G,ja=V,an(e),s&8192)e:for(t=e.stateNode,t._visibility=c?t._visibility&-2:t._visibility|1,c&&(i===null||T||ja||Et||Ji(e)),i=null,t=e;;){if(t.tag===5||t.tag===26){if(i===null){T=i=t;try{if(d=T.stateNode,c)g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{w=T.stateNode;var Y=T.memoizedProps.style,H=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;w.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(le){Pe(T,T.return,le)}}}else if(t.tag===6){if(i===null){T=t;try{T.stateNode.nodeValue=c?"":T.memoizedProps}catch(le){Pe(T,T.return,le)}}}else if(t.tag===18){if(i===null){T=t;try{var q=T.stateNode;c?_g(q,!0):_g(T.stateNode,!1)}catch(le){Pe(T,T.return,le)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;i===t&&(i=null),t=t.return}i===t&&(i=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,Po(e,i))));break;case 19:nn(t,e),an(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Po(e,s)));break;case 30:break;case 21:break;default:nn(t,e),an(e)}}function an(e){var t=e.flags;if(t&2){try{for(var i,s=e.return;s!==null;){if(Gy(s)){i=s;break}s=s.return}if(i==null)throw Error(r(160));switch(i.tag){case 27:var c=i.stateNode,d=Ff(e);Go(e,d,c);break;case 5:var g=i.stateNode;i.flags&32&&(vl(g,""),i.flags&=-33);var w=Ff(e);Go(e,w,g);break;case 3:case 4:var T=i.stateNode.containerInfo,V=Ff(e);zf(e,V,T);break;default:throw Error(r(161))}}catch(G){Pe(e,e.return,G)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Wy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Wy(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ma(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Xy(e,t.alternate,t),t=t.sibling}function Ji(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:li(4,t,t.return),Ji(t);break;case 1:ea(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&_y(t,t.return,i),Ji(t);break;case 27:lr(t.stateNode);case 26:case 5:ea(t,t.return),Ji(t);break;case 22:t.memoizedState===null&&Ji(t);break;case 30:Ji(t);break;default:Ji(t)}e=e.sibling}}function Na(e,t,i){for(i=i&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var s=t.alternate,c=e,d=t,g=d.flags;switch(d.tag){case 0:case 11:case 15:Na(c,d,i),Zs(4,d);break;case 1:if(Na(c,d,i),s=d,c=s.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(V){Pe(s,s.return,V)}if(s=d,c=s.updateQueue,c!==null){var w=s.stateNode;try{var T=c.shared.hiddenCallbacks;if(T!==null)for(c.shared.hiddenCallbacks=null,c=0;c<T.length;c++)Np(T[c],w)}catch(V){Pe(s,s.return,V)}}i&&g&64&&Hy(d),Js(d,d.return);break;case 27:Py(d);case 26:case 5:Na(c,d,i),i&&s===null&&g&4&&qy(d),Js(d,d.return);break;case 12:Na(c,d,i);break;case 31:Na(c,d,i),i&&g&4&&Zy(c,d);break;case 13:Na(c,d,i),i&&g&4&&Jy(c,d);break;case 22:d.memoizedState===null&&Na(c,d,i),Js(d,d.return);break;case 30:break;default:Na(c,d,i)}t=t.sibling}}function Of(e,t){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&ks(i))}function kf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ks(e))}function Pn(e,t,i,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Iy(e,t,i,s),t=t.sibling}function Iy(e,t,i,s){var c=t.flags;switch(t.tag){case 0:case 11:case 15:Pn(e,t,i,s),c&2048&&Zs(9,t);break;case 1:Pn(e,t,i,s);break;case 3:Pn(e,t,i,s),c&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ks(e)));break;case 12:if(c&2048){Pn(e,t,i,s),e=t.stateNode;try{var d=t.memoizedProps,g=d.id,w=d.onPostCommit;typeof w=="function"&&w(g,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(T){Pe(t,t.return,T)}}else Pn(e,t,i,s);break;case 31:Pn(e,t,i,s);break;case 13:Pn(e,t,i,s);break;case 23:break;case 22:d=t.stateNode,g=t.alternate,t.memoizedState!==null?d._visibility&2?Pn(e,t,i,s):$s(e,t):d._visibility&2?Pn(e,t,i,s):(d._visibility|=2,Bl(e,t,i,s,(t.subtreeFlags&10256)!==0||!1)),c&2048&&Of(g,t);break;case 24:Pn(e,t,i,s),c&2048&&kf(t.alternate,t);break;default:Pn(e,t,i,s)}}function Bl(e,t,i,s,c){for(c=c&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var d=e,g=t,w=i,T=s,V=g.flags;switch(g.tag){case 0:case 11:case 15:Bl(d,g,w,T,c),Zs(8,g);break;case 23:break;case 22:var G=g.stateNode;g.memoizedState!==null?G._visibility&2?Bl(d,g,w,T,c):$s(d,g):(G._visibility|=2,Bl(d,g,w,T,c)),c&&V&2048&&Of(g.alternate,g);break;case 24:Bl(d,g,w,T,c),c&&V&2048&&kf(g.alternate,g);break;default:Bl(d,g,w,T,c)}t=t.sibling}}function $s(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var i=e,s=t,c=s.flags;switch(s.tag){case 22:$s(i,s),c&2048&&Of(s.alternate,s);break;case 24:$s(i,s),c&2048&&kf(s.alternate,s);break;default:$s(i,s)}t=t.sibling}}var Ws=8192;function Ul(e,t,i){if(e.subtreeFlags&Ws)for(e=e.child;e!==null;)eg(e,t,i),e=e.sibling}function eg(e,t,i){switch(e.tag){case 26:Ul(e,t,i),e.flags&Ws&&e.memoizedState!==null&&$w(i,Gn,e.memoizedState,e.memoizedProps);break;case 5:Ul(e,t,i);break;case 3:case 4:var s=Gn;Gn=ic(e.stateNode.containerInfo),Ul(e,t,i),Gn=s;break;case 22:e.memoizedState===null&&(s=e.alternate,s!==null&&s.memoizedState!==null?(s=Ws,Ws=16777216,Ul(e,t,i),Ws=s):Ul(e,t,i));break;default:Ul(e,t,i)}}function tg(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Is(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var s=t[i];Ft=s,ag(s,e)}tg(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ng(e),e=e.sibling}function ng(e){switch(e.tag){case 0:case 11:case 15:Is(e),e.flags&2048&&li(9,e,e.return);break;case 3:Is(e);break;case 12:Is(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Yo(e)):Is(e);break;default:Is(e)}}function Yo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var s=t[i];Ft=s,ag(s,e)}tg(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:li(8,t,t.return),Yo(t);break;case 22:i=t.stateNode,i._visibility&2&&(i._visibility&=-3,Yo(t));break;default:Yo(t)}e=e.sibling}}function ag(e,t){for(;Ft!==null;){var i=Ft;switch(i.tag){case 0:case 11:case 15:li(8,i,t);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var s=i.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:ks(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Ft=s;else e:for(i=e;Ft!==null;){s=Ft;var c=s.sibling,d=s.return;if(Ky(s),s===i){Ft=null;break e}if(c!==null){c.return=d,Ft=c;break e}Ft=d}}}var dw={getCacheForType:function(e){var t=Lt(St),i=t.data.get(e);return i===void 0&&(i=e(),t.data.set(e,i)),i},cacheSignal:function(){return Lt(St).controller.signal}},hw=typeof WeakMap=="function"?WeakMap:Map,He=0,$e=null,Re=null,Le=0,Ge=0,pn=null,si=!1,Hl=!1,Vf=!1,Da=0,dt=0,r
vendor: 16,216 bytes, line 25
25i=0,$i=0,Bf=0,yn=0,_l=0,er=null,ln=null,Uf=!1,Xo=0,ig=0,Ko=1/0,Qo=null,oi=null,Mt=0,ci=null,ql=null,Ra=0,Hf=0,_f=null,lg=null,tr=0,qf=null;function gn(){return(He&2)!==0&&Le!==0?Le&-Le:L.T!==null?Qf():K()}function sg(){if(yn===0)if((Le&536870912)===0||ke){var e=pa;pa<<=1,(pa&3932160)===0&&(pa=262144),yn=e}else yn=536870912;return e=hn.current,e!==null&&(e.flags|=32),yn}function sn(e,t,i){(e===$e&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)&&(Gl(e,0),ui(e,Le,yn,!1)),Zn(e,i),((He&2)===0||e!==$e)&&(e===$e&&((He&2)===0&&($i|=i),dt===4&&ui(e,Le,yn,!1)),ta(e))}function rg(e,t,i){if((He&6)!==0)throw Error(r(327));var s=!i&&(t&127)===0&&(t&e.expiredLanes)===0||Xa(e,t),c=s?yw(e,t):Pf(e,t,!0),d=s;do{if(c===0){Hl&&!s&&ui(e,t,0,!1);break}else{if(i=e.current.alternate,d&&!mw(i)){c=Pf(e,t,!1),d=!1;continue}if(c===2){if(d=t,e.errorRecoveryDisabledLanes&d)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){t=g;e:{var w=e;c=er;var T=w.current.memoizedState.isDehydrated;if(T&&(Gl(w,g).flags|=256),g=Pf(w,g,!1),g!==2){if(Vf&&!T){w.errorRecoveryDisabledLanes|=d,$i|=d,c=4;break e}d=ln,ln=c,d!==null&&(ln===null?ln=d:ln.push.apply(ln,d))}c=g}if(d=!1,c!==2)continue}}if(c===1){Gl(e,0),ui(e,t,0,!0);break}e:{switch(s=e,d=c,d){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:ui(s,t,yn,!si);break e;case 2:ln=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(c=Xo+300-Pt(),10<c)){if(ui(s,t,yn,!si),hl(s,0,!0)!==0)break e;Ra=t,s.timeoutHandle=Bg(og.bind(null,s,i,ln,Qo,Uf,t,yn,$i,_l,si,d,"Throttled",-0,0),c);break e}og(s,i,ln,Qo,Uf,t,yn,$i,_l,si,d,null,-0,0)}}break}while(!0);ta(e)}function og(e,t,i,s,c,d,g,w,T,V,G,Y,H,q){if(e.timeoutHandle=-1,Y=t.subtreeFlags,Y&8192||(Y&16785408)===16785408){Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ya},eg(t,d,Y);var le=(d&62914560)===d?Xo-Pt():(d&4194048)===d?ig-Pt():0;if(le=Ww(Y,le),le!==null){Ra=d,e.cancelPendingCommit=le(yg.bind(null,e,t,d,i,s,c,g,w,T,G,Y,null,H,q)),ui(e,d,g,!V);return}}yg(e,t,d,i,s,c,g,w,T)}function mw(e){for(var t=e;;){var i=t.tag;if((i===0||i===11||i===15)&&t.flags&16384&&(i=t.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var s=0;s<i.length;s++){var c=i[s],d=c.getSnapshot;c=c.value;try{if(!fn(d(),c))return!1}catch{return!1}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ui(e,t,i,s){t&=~Bf,t&=~$i,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var c=t;0<c;){var d=31-Ht(c),g=1<<d;s[d]=-1,c&=~g}i!==0&&ao(e,i,t)}function Zo(){return(He&6)===0?(nr(0),!1):!0}function Gf(){if(Re!==null){if(Ge===0)var e=Re.return;else e=Re,ba=qi=null,lf(e),zl=null,Bs=0,e=Re;for(;e!==null;)Uy(e.alternate,e),e=e.return;Re=null}}function Gl(e,t){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,Lw(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),Ra=0,Gf(),$e=e,Re=i=va(e.current,null),Le=t,Ge=0,pn=null,si=!1,Hl=Xa(e,t),Vf=!1,_l=yn=Bf=$i=ri=dt=0,ln=er=null,Uf=!1,(t&8)!==0&&(t|=t&32);var s=e.entangledLanes;if(s!==0)for(e=e.entanglements,s&=t;0<s;){var c=31-Ht(s),d=1<<c;t|=e[c],s&=~d}return Da=t,yo(),i}function cg(e,t){we=null,L.H=Xs,t===Fl||t===To?(t=Ep(),Ge=3):t===Xu?(t=Ep(),Ge=4):Ge=t===wf?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,pn=t,Re===null&&(dt=1,Bo(e,Mn(t,e.current)))}function ug(){var e=hn.current;return e===null?!0:(Le&4194048)===Le?Fn===null:(Le&62914560)===Le||(Le&536870912)!==0?e===Fn:!1}function fg(){var e=L.H;return L.H=Xs,e===null?Xs:e}function dg(){var e=L.A;return L.A=dw,e}function Jo(){dt=4,si||(Le&4194048)!==Le&&hn.current!==null||(Hl=!0),(ri&134217727)===0&&($i&134217727)===0||$e===null||ui($e,Le,yn,!1)}function Pf(e,t,i){var s=He;He|=2;var c=fg(),d=dg();($e!==e||Le!==t)&&(Qo=null,Gl(e,t)),t=!1;var g=dt;e:do try{if(Ge!==0&&Re!==null){var w=Re,T=pn;switch(Ge){case 8:Gf(),g=6;break e;case 3:case 2:case 9:case 6:hn.current===null&&(t=!0);var V=Ge;if(Ge=0,pn=null,Pl(e,w,T,V),i&&Hl){g=0;break e}break;default:V=Ge,Ge=0,pn=null,Pl(e,w,T,V)}}pw(),g=dt;break}catch(G){cg(e,G)}while(!0);return t&&e.shellSuspendCounter++,ba=qi=null,He=s,L.H=c,L.A=d,Re===null&&($e=null,Le=0,yo()),g}function pw(){for(;Re!==null;)hg(Re)}function yw(e,t){var i=He;He|=2;var s=fg(),c=dg();$e!==e||Le!==t?(Qo=null,Ko=Pt()+500,Gl(e,t)):Hl=Xa(e,t);e:do try{if(Ge!==0&&Re!==null){t=Re;var d=pn;t:switch(Ge){case 1:Ge=0,pn=null,Pl(e,t,d,1);break;case 2:case 9:if(Cp(d)){Ge=0,pn=null,mg(t);break}t=function(){Ge!==2&&Ge!==9||$e!==e||(Ge=7),ta(e)},d.then(t,t);break e;case 3:Ge=7;break e;case 4:Ge=5;break e;case 7:Cp(d)?(Ge=0,pn=null,mg(t)):(Ge=0,pn=null,Pl(e,t,d,7));break;case 5:var g=null;switch(Re.tag){case 26:g=Re.memoizedState;case 5:case 27:var w=Re;if(g?Ig(g):w.stateNode.complete){Ge=0,pn=null;var T=w.sibling;if(T!==null)Re=T;else{var V=w.return;V!==null?(Re=V,$o(V)):Re=null}break t}}Ge=0,pn=null,Pl(e,t,d,5);break;case 6:Ge=0,pn=null,Pl(e,t,d,6);break;case 8:Gf(),dt=6;break e;default:throw Error(r(462))}}gw();break}catch(G){cg(e,G)}while(!0);return ba=qi=null,L.H=s,L.A=c,He=i,Re!==null?0:($e=null,Le=0,yo(),dt)}function gw(){for(;Re!==null&&!su();)hg(Re)}function hg(e){var t=Vy(e.alternate,e,Da);e.memoizedProps=e.pendingProps,t===null?$o(e):Re=t}function mg(e){var t=e,i=t.alternate;switch(t.tag){case 15:case 0:t=Ry(i,t,t.pendingProps,t.type,void 0,Le);break;case 11:t=Ry(i,t,t.pendingProps,t.type.render,t.ref,Le);break;case 5:lf(t);default:Uy(i,t),t=Re=dp(t,Da),t=Vy(i,t,Da)}e.memoizedProps=e.pendingProps,t===null?$o(e):Re=t}function Pl(e,t,i,s){ba=qi=null,lf(t),zl=null,Bs=0;var c=t.return;try{if(lw(e,c,t,i,Le)){dt=1,Bo(e,Mn(i,e.current)),Re=null;return}}catch(d){if(c!==null)throw Re=c,d;dt=1,Bo(e,Mn(i,e.current)),Re=null;return}t.flags&32768?(ke||s===1?e=!0:Hl||(Le&536870912)!==0?e=!1:(si=e=!0,(s===2||s===9||s===3||s===6)&&(s=hn.current,s!==null&&s.tag===13&&(s.flags|=16384))),pg(t,e)):$o(t)}function $o(e){var t=e;do{if((t.flags&32768)!==0){pg(t,si);return}e=t.return;var i=ow(t.alternate,t,Da);if(i!==null){Re=i;return}if(t=t.sibling,t!==null){Re=t;return}Re=t=e}while(t!==null);dt===0&&(dt=5)}function pg(e,t){do{var i=cw(e.alternate,e);if(i!==null){i.flags&=32767,Re=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!t&&(e=e.sibling,e!==null)){Re=e;return}Re=e=i}while(e!==null);dt=6,Re=null}function yg(e,t,i,s,c,d,g,w,T){e.cancelPendingCommit=null;do Wo();while(Mt!==0);if((He&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(d=t.lanes|t.childLanes,d|=Ru,no(e,i,d,g,w,T),e===$e&&(Re=$e=null,Le=0),ql=t,ci=e,Ra=i,Hf=d,_f=c,lg=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ww(Ya,function(){return wg(),null})):(e.callbackNode=null,e.callbackPriority=0),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=L.T,L.T=null,c=Z.p,Z.p=2,g=He,He|=4;try{uw(e,t,i)}finally{He=g,Z.p=c,L.T=s}}Mt=1,gg(),vg(),xg()}}function gg(){if(Mt===1){Mt=0;var e=ci,t=ql,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=L.T,L.T=null;var s=Z.p;Z.p=2;var c=He;He|=4;try{$y(t,e);var d=nd,g=ap(e.containerInfo),w=d.focusedElem,T=d.selectionRange;if(g!==w&&w&&w.ownerDocument&&np(w.ownerDocument.documentElement,w)){if(T!==null&&ju(w)){var V=T.start,G=T.end;if(G===void 0&&(G=V),"selectionStart"in w)w.selectionStart=V,w.selectionEnd=Math.min(G,w.value.length);else{var Y=w.ownerDocument||document,H=Y&&Y.defaultView||window;if(H.getSelection){var q=H.getSelection(),le=w.textContent.length,ye=Math.min(T.start,le),Qe=T.end===void 0?ye:Math.min(T.end,le);!q.extend&&ye>Qe&&(g=Qe,Qe=ye,ye=g);var F=tp(w,ye),M=tp(w,Qe);if(F&&M&&(q.rangeCount!==1||q.anchorNode!==F.node||q.anchorOffset!==F.offset||q.focusNode!==M.node||q.focusOffset!==M.offset)){var O=Y.createRange();O.setStart(F.node,F.offset),q.removeAllRanges(),ye>Qe?(q.addRange(O),q.extend(M.node,M.offset)):(O.setEnd(M.node,M.offset),q.addRange(O))}}}}for(Y=[],q=w;q=q.parentNode;)q.nodeType===1&&Y.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<Y.length;w++){var P=Y[w];P.element.scrollLeft=P.left,P.element.scrollTop=P.top}}uc=!!td,nd=td=null}finally{He=c,Z.p=s,L.T=i}}e.current=t,Mt=2}}function vg(){if(Mt===2){Mt=0;var e=ci,t=ql,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=L.T,L.T=null;var s=Z.p;Z.p=2;var c=He;He|=4;try{Xy(e,t.alternate,t)}finally{He=c,Z.p=s,L.T=i}}Mt=3}}function xg(){if(Mt===4||Mt===3){Mt=0,ru();var e=ci,t=ql,i=Ra,s=lg;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Mt=5:(Mt=0,ql=ci=null,bg(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(oi=null),B(i),t=t.stateNode,Yt&&typeof Yt.onCommitFiberRoot=="function")try{Yt.onCommitFiberRoot(ma,t,void 0,(t.current.flags&128)===128)}catch{}if(s!==null){t=L.T,c=Z.p,Z.p=2,L.T=null;try{for(var d=e.onRecoverableError,g=0;g<s.length;g++){var w=s[g];d(w.value,{componentStack:w.stack})}}finally{L.T=t,Z.p=c}}(Ra&3)!==0&&Wo(),ta(e),c=e.pendingLanes,(i&261930)!==0&&(c&42)!==0?e===qf?tr++:(tr=0,qf=e):tr=0,nr(0)}}function bg(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ks(t)))}function Wo(){return gg(),vg(),xg(),wg()}function wg(){if(Mt!==5)return!1;var e=ci,t=Hf;Hf=0;var i=B(Ra),s=L.T,c=Z.p;try{Z.p=32>i?32:i,L.T=null,i=_f,_f=null;var d=ci,g=Ra;if(Mt=0,ql=ci=null,Ra=0,(He&6)!==0)throw Error(r(331));var w=He;if(He|=4,ng(d.current),Iy(d,d.current,g,i),He=w,nr(0,!1),Yt&&typeof Yt.onPostCommitFiberRoot=="function")try{Yt.onPostCommitFiberRoot(ma,d)}catch{}return!0}finally{Z.p=c,L.T=s,bg(e,t)}}function Sg(e,t,i){t=Mn(i,t),t=bf(e.stateNode,t,2),e=ni(e,t,2),e!==null&&(Zn(e,2),ta(e))}function Pe(e,t,i){if(e.tag===3)Sg(e,e,i);else for(;t!==null;){if(t.tag===3){Sg(t,e,i);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(oi===null||!oi.has(s))){e=Mn(i,e),i=Cy(2),s=ni(t,i,2),s!==null&&(Ty(i,s,t,e),Zn(s,2),ta(s));break}}t=t.return}}function Yf(e,t,i){var s=e.pingCache;if(s===null){s=e.pingCache=new hw;var c=new Set;s.set(t,c)}else c=s.get(t),c===void 0&&(c=new Set,s.set(t,c));c.has(i)||(Vf=!0,c.add(i),e=vw.bind(null,e,t,i),t.then(e,e))}function vw(e,t,i){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,$e===e&&(Le&i)===i&&(dt===4||dt===3&&(Le&62914560)===Le&&300>Pt()-Xo?(He&2)===0&&Gl(e,0):Bf|=i,_l===Le&&(_l=0)),ta(e)}function Cg(e,t){t===0&&(t=Ts()),e=Ui(e,t),e!==null&&(Zn(e,t),ta(e))}function xw(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),Cg(e,i)}function bw(e,t){var i=0;switch(e.tag){case 31:case 13:var s=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error(r(314))}s!==null&&s.delete(t),Cg(e,i)}function ww(e,t){return dl(e,t)}var Io=null,Yl=null,Xf=!1,ec=!1,Kf=!1,fi=0;function ta(e){e!==Yl&&e.next===null&&(Yl===null?Io=Yl=e:Yl=Yl.next=e),ec=!0,Xf||(Xf=!0,Cw())}function nr(e,t){if(!Kf&&ec){Kf=!0;do for(var i=!1,s=Io;s!==null;){if(e!==0){var c=s.pendingLanes;if(c===0)var d=0;else{var g=s.suspendedLanes,w=s.pingedLanes;d=(1<<31-Ht(42|e)+1)-1,d&=c&~(g&~w),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(i=!0,Ag(s,d))}else d=Le,d=hl(s,s===$e?d:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(d&3)===0||Xa(s,d)||(i=!0,Ag(s,d));s=s.next}while(i);Kf=!1}}function Sw(){Tg()}function Tg(){ec=Xf=!1;var e=0;fi!==0&&zw()&&(e=fi);for(var t=Pt(),i=null,s=Io;s!==null;){var c=s.next,d=Eg(s,t);d===0?(s.next=null,i===null?Io=c:i.next=c,c===null&&(Yl=i)):(i=s,(e!==0||(d&3)!==0)&&(ec=!0)),s=c}Mt!==0&&Mt!==5||nr(e),fi!==0&&(fi=0)}function Eg(e,t){for(var i=e.suspendedLanes,s=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var g=31-Ht(d),w=1<<g,T=c[g];T===-1?((w&i)===0||(w&s)!==0)&&(c[g]=uu(w,t)):T<=t&&(e.expiredLanes|=w),d&=~w}if(t=$e,i=Le,i=hl(e,e===t?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s=e.callbackNode,i===0||e===t&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)return s!==null&&s!==null&&Ss(s),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||Xa(e,i)){if(t=i&-i,t===e.callbackPriority)return t;switch(s!==null&&Ss(s),B(i)){case 2:case 8:i=Cs;break;case 32:i=Ya;break;case 268435456:i=En;break;default:i=Ya}return s=jg.bind(null,e),i=dl(i,s),e.callbackPriority=t,e.callbackNode=i,t}return s!==null&&s!==null&&Ss(s),e.callbackPriority=2,e.callbackNode=null,2}function jg(e,t){if(Mt!==0&&Mt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(Wo()&&e.callbackNode!==i)return null;var s=Le;return s=hl(e,e===$e?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s===0?null:(rg(e,s,t),Eg(e,Pt()),e.callbackNode!=null&&e.callbackNode===i?jg.bind(null,e):null)}function Ag(e,t){if(Wo())return null;rg(e,t,!0)}function Cw(){Ow(function(){(He&6)!==0?dl(Pa,Sw):Tg()})}function Qf(){if(fi===0){var e=Dl;e===0&&(e=Fi,Fi<<=1,(Fi&261888)===0&&(Fi=256)),fi=e}return fi}function Mg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ro(""+e)}function Ng(e,t){var i=t.ownerDocument.createElement("input");return i.name=t.name,i.value=t.value,e.id&&i.setAttribute("form",e.id),t.parentNode.insertBefore(i,t),e=new FormData(e),i.parentNode.removeChild(i),e}function Tw(e,t,i,s,c){if(t==="submit"&&i&&i.stateNode===c){var d=Mg((c[oe]||null).action),g=s.submitter;g&&(t=(t=g[oe]||null)?Mg(t.formAction):g.getAttribute("formAction"),t!==null&&(d=t,g=null));var w=new fo("action","action",null,s,c);e.push({event:w,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(fi!==0){var T=g?Ng(c,g):new FormData(c);mf(i,{pending:!0,data:T,method:c.method,action:d},null,T)}}else typeof d=="function"&&(w.preventDefault(),T=g?Ng(c,g):new FormData(c),mf(i,{pending:!0,data:T,method:c.method,action:d},d,T))},currentTarget:c}]})}}for(var Zf=0;Zf<Du.length;Zf++){var Jf=Du[Zf],Ew=Jf.toLowerCase(),jw=Jf[0].toUpperCase()+Jf.slice(1);qn(Ew,"on"+jw)}qn(sp,"onAnimationEnd"),qn(rp,"onAnimationIteration"),qn(op,"onAnimationStart"),qn("dblclick","onDoubleClick"),qn("focusin","onFocus"),qn("focusout","onBlur"),qn(q2,"onTransitionRun"),qn(G2,"onTransitionStart"),qn(P2,"onTransitionCancel"),qn(cp,"onTransitionEnd"),Jn("onMouseEnter",["mouseout","mouseover"]),Jn("onMouseLeave",["mouseout","mouseover"]),Jn("onPointerEnter",["pointerout","pointerover"]),Jn("onPointerLeave",["pointerout","pointerover"]),Rt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Rt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Rt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Rt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Rt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Rt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ar="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(" "),Aw=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ar));function Dg(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var s=e[i],c=s.event;s=s.listeners;e:{var d=void 0;if(t)for(var g=s.length-1;0<=g;g--){var w=s[g],T=w.instance,V=w.currentTarget;if(w=w.listener,T!==d&&c.isPropagationStopped())break e;d=w,c.currentTarget=V;try{d(c)}catch(G){po(G)}c.currentTarget=null,d=T}else for(g=0;g<s.length;g++){if(w=s[g],T=w.instance,V=w.currentTarget,w=w.listener,T!==d&&c.isPropagationStopped())break e;d=w,c.currentTarget=V;try{d(c)}catch(G){po(G)}c.currentTarget=null,d=T}}}}function Fe(e,t){var i=t[te];i===void 0&&(i=t[te]=new Set);var s=e+"__bubble";i.has(s)||(Rg(t,e,2,!1),i.add(s))}function $f(e,t,i){var s=0;t&&(s|=4),Rg(i,e,s,t)}var tc="_reactListening"+Math.random().toString(36).slice(2);
vendor: 3,356 bytes, line 25
25function Wf(e){if(!e[tc]){e[tc]=!0,Qa.forEach(function(i){i!=="selectionchange"&&(Aw.has(i)||$f(i,!1,e),$f(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[tc]||(t[tc]=!0,$f("selectionchange",!1,t))}}function Rg(e,t,i,s){switch(sv(t)){case 2:var c=tS;break;case 8:c=nS;break;default:c=hd}i=c.bind(null,t,i,e),c=void 0,!gu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(c=!0),s?c!==void 0?e.addEventListener(t,i,{capture:!0,passive:c}):e.addEventListener(t,i,!0):c!==void 0?e.addEventListener(t,i,{passive:c}):e.addEventListener(t,i,!1)}function If(e,t,i,s,c){var d=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var g=s.tag;if(g===3||g===4){var w=s.stateNode.containerInfo;if(w===c)break;if(g===4)for(g=s.return;g!==null;){var T=g.tag;if((T===3||T===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;w!==null;){if(g=Ye(w),g===null)return;if(T=g.tag,T===5||T===6||T===26||T===27){s=d=g;continue e}w=w.parentNode}}s=s.return}km(function(){var V=d,G=pu(i),Y=[];e:{var H=up.get(e);if(H!==void 0){var q=fo,le=e;switch(e){case"keypress":if(co(i)===0)break e;case"keydown":case"keyup":q=b2;break;case"focusin":le="focus",q=wu;break;case"focusout":le="blur",q=wu;break;case"beforeblur":case"afterblur":q=wu;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=Um;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=o2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=C2;break;case sp:case rp:case op:q=f2;break;case cp:q=E2;break;case"scroll":case"scrollend":q=s2;break;case"wheel":q=A2;break;case"copy":case"cut":case"paste":q=h2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=_m;break;case"toggle":case"beforetoggle":q=N2}var ye=(t&4)!==0,Qe=!ye&&(e==="scroll"||e==="scrollend"),F=ye?H!==null?H+"Capture":null:H;ye=[];for(var M=V,O;M!==null;){var P=M;if(O=P.stateNode,P=P.tag,P!==5&&P!==26&&P!==27||O===null||F===null||(P=Es(M,F),P!=null&&ye.push(ir(M,P,O))),Qe)break;M=M.return}0<ye.length&&(H=new q(H,le,null,i,G),Y.push({event:H,listeners:ye}))}}if((t&7)===0){e:{if(H=e==="mouseover"||e==="pointerover",q=e==="mouseout"||e==="pointerout",H&&i!==mu&&(le=i.relatedTarget||i.fromElement)&&(Ye(le)||le[ie]))break e;if((q||H)&&(H=G.window===G?G:(H=G.ownerDocument)?H.defaultView||H.parentWindow:window,q?(le=i.relatedTarget||i.toElement,q=V,le=le?Ye(le):null,le!==null&&(Qe=u(le),ye=le.tag,le!==Qe||ye!==5&&ye!==27&&ye!==6)&&(le=null)):(q=null,le=V),q!==le)){if(ye=Um,P="onMouseLeave",F="onMouseEnter",M="mouse",(e==="pointerout"||e==="pointerover")&&(ye=_m,P="onPointerLeave",F="onPointerEnter",M="pointer"),Qe=q==null?H:De(q),O=le==null?H:De(le),H=new ye(P,M+"leave",q,i,G),H.target=Qe,H.relatedTarget=O,P=null,Ye(G)===V&&(ye=new ye(F,M+"enter",le,i,G),ye.target=O,ye.relatedTarget=Qe,P=ye),Qe=P,q&&le)t:{for(ye=Mw,F=q,M=le,O=0,P=F;P;P=ye(P))O++;P=0;for(var me=M;me;me=ye(me))P++;for(;0<O-P;)F=ye(F),O--;for(;0<P-O;)M=ye(M),P--;for(;O--;){if(F===M||M!==null&&F===M.alternate){ye=F;break t}F=ye(F),M=ye(M)}ye=null}else ye=null;q!==null&&Fg(Y,H,q,ye,!1),le!==null&&Qe!==null&&Fg(Y,Qe,le,ye,!0)}}
vendor: 5,189 bytes, lines 25-26
25e:{if(H=V?De(V):window,q=H.nodeName&&H.nodeName.toLowerCase(),q==="select"||q==="input"&&H.type==="file")var Ve=Zm;else if(Km(H))if(Jm)Ve=U2;else{Ve=V2;var ue=k2}else q=H.nodeName,!q||q.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?V&&hu(V.elementType)&&(Ve=Zm):Ve=B2;if(Ve&&(Ve=Ve(e,V))){Qm(Y,Ve,i,G);break e}ue&&ue(e,H,V),e==="focusout"&&V&&H.type==="number"&&V.memoizedProps.value!=null&&du(H,"number",H.value)}switch(ue=V?De(V):window,e){case"focusin":(Km(ue)||ue.contentEditable==="true")&&(Sl=ue,Au=V,zs=null);break;case"focusout":zs=Au=Sl=null;break;case"mousedown":Mu=!0;break;case"contextmenu":case"mouseup":case"dragend":Mu=!1,ip(Y,i,G);break;case"selectionchange":if(_2)break;case"keydown":case"keyup":ip(Y,i,G)}var Ce;if(Cu)e:{switch(e){case"compositionstart":var Oe="onCompositionStart";break e;case"compositionend":Oe="onCompositionEnd";break e;case"compositionupdate":Oe="onCompositionUpdate";break e}Oe=void 0}else wl?Ym(e,i)&&(Oe="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(Oe="onCompositionStart");Oe&&(qm&&i.locale!=="ko"&&(wl||Oe!=="onCompositionStart"?Oe==="onCompositionEnd"&&wl&&(Ce=Vm()):(Za=G,vu="value"in Za?Za.value:Za.textContent,wl=!0)),ue=nc(V,Oe),0<ue.length&&(Oe=new Hm(Oe,e,null,i,G),Y.push({event:Oe,listeners:ue}),Ce?Oe.data=Ce:(Ce=Xm(i),Ce!==null&&(Oe.data=Ce)))),(Ce=R2?F2(e,i):z2(e,i))&&(Oe=nc(V,"onBeforeInput"),0<Oe.length&&(ue=new Hm("onBeforeInput","beforeinput",null,i,G),Y.push({event:ue,listeners:Oe}),ue.data=Ce)),Tw(Y,e,V,i,G)}Dg(Y,t)})}function ir(e,t,i){return{instance:e,listener:t,currentTarget:i}}function nc(e,t){for(var i=t+"Capture",s=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=Es(e,i),c!=null&&s.unshift(ir(e,c,d)),c=Es(e,t),c!=null&&s.push(ir(e,c,d))),e.tag===3)return s;e=e.return}return[]}function Mw(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Fg(e,t,i,s,c){for(var d=t._reactName,g=[];i!==null&&i!==s;){var w=i,T=w.alternate,V=w.stateNode;if(w=w.tag,T!==null&&T===s)break;w!==5&&w!==26&&w!==27||V===null||(T=V,c?(V=Es(i,d),V!=null&&g.unshift(ir(i,V,T))):c||(V=Es(i,d),V!=null&&g.push(ir(i,V,T)))),i=i.return}g.length!==0&&e.push({event:t,listeners:g})}var Nw=/\r\n?/g,Dw=/\u0000|\uFFFD/g;function zg(e){return(typeof e=="string"?e:""+e).replace(Nw,` 26`).replace(Dw,"")}function Lg(e,t){return t=zg(t),zg(e)===t}function Ke(e,t,i,s,c,d){switch(i){case"children":typeof s=="string"?t==="body"||t==="textarea"&&s===""||vl(e,s):(typeof s=="number"||typeof s=="bigint")&&t!=="body"&&vl(e,""+s);break;case"className":pt(e,"class",s);break;case"tabIndex":pt(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":pt(e,i,s);break;case"style":Lm(e,s,d);break;case"data":if(t!=="object"){pt(e,"data",s);break}case"src":case"href":if(s===""&&(t!=="a"||i!=="href")){e.removeAttribute(i);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(i);break}s=ro(""+s),e.setAttribute(i,s);break;case"action":case"formAction":if(typeof s=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(i==="formAction"?(t!=="input"&&Ke(e,t,"name",c.name,c,null),Ke(e,t,"formEncType",c.formEncType,c,null),Ke(e,t,"formMethod",c.formMethod,c,null),Ke(e,t,"formTarget",c.formTarget,c,null)):(Ke(e,t,"encType",c.encType,c,null),Ke(e,t,"method",c.method,c,null),Ke(e,t,"target",c.target,c,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(i);break}s=ro(""+s),e.setAttribute(i,s);break;case"onClick":s!=null&&(e.onclick=ya);break;case"onScroll":s!=null&&Fe("scroll",e);break;case"onScrollEnd":s!=null&&Fe("scrollend",e);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(i=s.__html,i!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=i}}break;case"multiple":e.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":e.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){e.removeAttribute("xlink:href");break}i=ro(""+s),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(i,""+s):e.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
26ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":s===!0?e.setAttribute(i,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(i,s):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?e.setAttribute(i,s):e.removeAttribute(i);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?e.removeAttribute(i):e.setAttribute(i,s);break;case"popover":Fe("beforetoggle",e),Fe("toggle",e),Me(e,"popover",s);break;case"xlinkActuate":_t(e,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":_t(e,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":_t(e,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":_t(e,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":_t(e,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":_t(e,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":_t(e,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":_t(e,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":_t(e,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Me(e,"is",s);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=i2.get(i)||i,Me(e,i,s))}}function ed(e,t,i,s,c,d){switch(i){case"style":Lm(e,s,d);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(i=s.__html,i!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=i}}break;case"children":typeof s=="string"?vl(e,s):(typeof s=="number"||typeof s=="bigint")&&vl(e,""+s);break;case"onScroll":s!=null&&Fe("scroll",e);break;case"onScrollEnd":s!=null&&Fe("scrollend",e);break;case"onClick":s!=null&&(e.onclick=ya);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!_n.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(c=i.endsWith("Capture"),t=i.slice(2,c?i.length-7:void 0),d=e[oe]||null,d=d!=null?d[i]:null,typeof d=="function"&&e.removeEventListener(t,d,c),typeof s=="function")){typeof d!="function"&&d!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(t,s,c);break e}i in e?e[i]=s:s===!0?e.setAttribute(i,""):Me(e,i,s)}}}function kt(e,t,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Fe("error",e),Fe("load",e);var s=!1,c=!1,d;for(d in i)if(i.hasOwnProperty(d)){var g=i[d];if(g!=null)switch(d){case"src":s=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ke(e,t,d,g,i,null)}}c&&Ke(e,t,"srcSet",i.srcSet,i,null),s&&Ke(e,t,"src",i.src,i,null);return;case"input":Fe("invalid",e);var w=d=g=c=null,T=null,V=null;for(s in i)if(i.hasOwnProperty(s)){var G=i[s];if(G!=null)switch(s){case"name":c=G;break;case"type":g=G;break;case"checked":T=G;break;case"defaultChecked":V=G;break;case"value":d=G;break;case"defaultValue":w=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(r(137,t));break;default:Ke(e,t,s,G,i,null)}}Dm(e,d,w,T,V,g,c,!1);return;case"select":Fe("invalid",e),s=g=d=null;for(c in i)if(i.hasOwnProperty(c)&&(w=i[c],w!=null))switch(c){case"value":d=w;break;case"defaultValue":g=w;break;case"multiple":s=w;default:Ke(e,t,c,w,i,null)}t=d,i=g,e.multiple=!!s,t!=null?gl(e,!!s,t,!1):i!=null&&gl(e,!!s,i,!0);return;case"textarea":Fe("invalid",e),d=c=s=null;for(g in i)if(i.hasOwnProperty(g)&&(w=i[g],w!=null))switch(g){case"value":s=w;break;case"defaultValue":c=w;break;case"children":d=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(91));break;default:Ke(e,t,g,w,i,null)}Fm(e,s,c,d);return;case"option":for(T in i)if(i.hasOwnProperty(T)&&(s=i[T],s!=null))switch(T){case"selected":e.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Ke(e,t,T,s,i,null)}return;case"dialog":Fe("beforetoggle",e),Fe("toggle",e),Fe("cancel",e),Fe("close",e);break;case"iframe":case"object":Fe("load",e);break;case"video":case"audio":for(s=0;s<ar.length;s++)Fe(ar[s],e);break;case"image":Fe("error",e),Fe("load",e);break;case"details":Fe("toggle",e);break;case"embed":case"source":case"link":Fe("error",e),Fe("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(V in i)if(i.hasOwnProperty(V)&&(s=i[V],s!=null))switch(V){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ke(e,t,V,s,i,null)}return;default:if(hu(t)){for(G in i)i.hasOwnProperty(G)&&(s=i[G],s!==void 0&&ed(e,t,G,s,i,void 0));return}}for(w in i)i.hasOwnProperty(w)&&(s=i[w],s!=null&&Ke(e,t,w,s,i,null))}function Rw(e,t,i,s){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,g=null,w=null,T=null,V=null,G=null;for(q in i){var Y=i[q];if(i.hasOwnProperty(q)&&Y!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":T=Y;default:s.hasOwnProperty(q)||Ke(e,t,q,null,s,Y)}}for(var H in s){var q=s[H];if(Y=i[H],s.hasOwnProperty(H)&&(q!=null||Y!=null))switch(H){case"type":d=q;break;case"name":c=q;break;case"checked":V=q;break;case"defaultChecked":G=q;break;case"value":g=q;break;case"defaultValue":w=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,t));break;default:q!==Y&&Ke(e,t,H,q,s,Y)}}fu(e,g,w,T,V,G,d,c);return;case"select":q=g=w=H=null;for(d in i)if(T=i[d],i.hasOwnProperty(d)&&T!=null)switch(d){case"value":break;case"multiple":q=T;default:s.hasOwnProperty(d)||Ke(e,t,d,null,s,T)}for(c in s)if(d=s[c],T=i[c],s.hasOwnProperty(c)&&(d!=null||T!=null))switch(c){case"value":H=d;break;case"defaultValue":w=d;break;case"multiple":g=d;default:d!==T&&Ke(e,t,c,d,s,T)}t=w,i=g,s=q,H!=null?gl(e,!!i,H,!1):!!s!=!!i&&(t!=null?gl(e,!!i,t,!0):gl(e,!!i,i?[]:"",!1));return;case"textarea":q=H=null;for(w in i)if(c=i[w],i.hasOwnProperty(w)&&c!=null&&!s.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:Ke(e,t,w,null,s,c)}for(g in s)if(c=s[g],d=i[g],s.hasOwnProperty(g)&&(c!=null||d!=null))switch(g){case"value":H=c;break;case"defaultValue":q=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==d&&Ke(e,t,g,c,s,d)}Rm(e,H,q);return;case"option":for(var le in i)if(H=i[le],i.hasOwnProperty(le)&&H!=null&&!s.hasOwnProperty(le))switch(le){case"selected":e.selected=!1;break;default:Ke(e,t,le,null,s,H)}for(T in s)if(H=s[T],q=i[T],s.hasOwnProperty(T)&&H!==q&&(H!=null||q!=null))switch(T){case"selected":e.selected=H&&typeof H!="function"&&typeof H!="symbol";break;default:Ke(e,t,T,H,s,q)}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 ye in i)H=i[ye],i.hasOwnProperty(ye)&&H!=null&&!s.hasOwnProperty(ye)&&Ke(e,t,ye,null,s,H);for(V in s)if(H=s[V],q=i[V],s.hasOwnProperty(V)&&H!==q&&(H!=null||q!=null))switch(V){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(r(137,t));break;default:Ke(e,t,V,H,s,q)}return;default:if(hu(t)){for(var Qe in i)H=i[Qe],i.hasOwnProperty(Qe)&&H!==void 0&&!s.hasOwnProperty(Qe)&&ed(e,t,Qe,void 0,s,H);for(G in s)H=s[G],q=i[G],!s.hasOwnProperty(G)||H===q||H===void 0&&q===void 0||ed(e,t,G,H,s,q);return}}for(var F in i)H=i[F],i.hasOwnProperty(F)&&H!=null&&!s.hasOwnProperty(F)&&Ke(e,t,F,null,s,H);for(Y in s)H=s[Y],q=i[Y],!s.hasOwnProperty(Y)||H===q||H==null&&q==null||Ke(e,t,Y,H,s,q)}function Og(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Fw(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,i=performance.getEntriesByType("resource"),s=0;s<i.length;s++){var c=i[s],d=c.transferSize,g=c.initiatorType,w=c.duration;if(d&&w&&Og(g)){for(g=0,w=c.responseEnd,s+=1;s<i.length;s++){var T=i[s],V=T.startTime;if(V>
vendor: 14,293 bytes, line 26
26w)break;var G=T.transferSize,Y=T.initiatorType;G&&Og(Y)&&(T=T.responseEnd,g+=G*(T<w?1:(w-V)/(T-V)))}if(--s,t+=8*(d+g)/(c.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var td=null,nd=null;function ac(e){return e.nodeType===9?e:e.ownerDocument}function kg(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 Vg(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function ad(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var id=null;function zw(){var e=window.event;return e&&e.type==="popstate"?e===id?!1:(id=e,!0):(id=null,!1)}var Bg=typeof setTimeout=="function"?setTimeout:void 0,Lw=typeof clearTimeout=="function"?clearTimeout:void 0,Ug=typeof Promise=="function"?Promise:void 0,Ow=typeof queueMicrotask=="function"?queueMicrotask:typeof Ug<"u"?function(e){return Ug.resolve(null).then(e).catch(kw)}:Bg;function kw(e){setTimeout(function(){throw e})}function di(e){return e==="head"}function Hg(e,t){var i=t,s=0;do{var c=i.nextSibling;if(e.removeChild(i),c&&c.nodeType===8)if(i=c.data,i==="/$"||i==="/&"){if(s===0){e.removeChild(c),Zl(t);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")lr(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,lr(i);for(var d=i.firstChild;d;){var g=d.nextSibling,w=d.nodeName;d[Ee]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&d.rel.toLowerCase()==="stylesheet"||i.removeChild(d),d=g}}else i==="body"&&lr(e.ownerDocument.body);i=c}while(i);Zl(t)}function _g(e,t){var i=e;e=0;do{var s=i.nextSibling;if(i.nodeType===1?t?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(t?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),s&&s.nodeType===8)if(i=s.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=s}while(i)}function ld(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var i=t;switch(t=t.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":ld(i),Je(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function Vw(e,t,i,s){for(;e.nodeType===1;){var c=i;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[Ee])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==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(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=zn(e.nextSibling),e===null)break}return null}function Bw(e,t,i){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=zn(e.nextSibling),e===null))return null;return e}function qg(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=zn(e.nextSibling),e===null))return null;return e}function sd(e){return e.data==="$?"||e.data==="$~"}function rd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Uw(e,t){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||i.readyState!=="loading")t();else{var s=function(){t(),i.removeEventListener("DOMContentLoaded",s)};i.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function zn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var od=null;function Gg(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(t===0)return zn(e.nextSibling);t--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||t++}e=e.nextSibling}return null}function Pg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(t===0)return e;t--}else i!=="/$"&&i!=="/&"||t++}e=e.previousSibling}return null}function Yg(e,t,i){switch(t=ac(i),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function lr(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Je(e)}var Ln=new Map,Xg=new Set;function ic(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Fa=Z.d;Z.d={f:Hw,r:_w,D:qw,C:Gw,L:Pw,m:Yw,X:Kw,S:Xw,M:Qw};function Hw(){var e=Fa.f(),t=Zo();return e||t}function _w(e){var t=rt(e);t!==null&&t.tag===5&&t.type==="form"?cy(t):Fa.r(e)}var Xl=typeof document>"u"?null:document;function Kg(e,t,i){var s=Xl;if(s&&typeof t=="string"&&t){var c=jn(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof i=="string"&&(c+='[crossorigin="'+i+'"]'),Xg.has(c)||(Xg.add(c),e={rel:e,crossOrigin:i,href:t},s.querySelector(c)===null&&(t=s.createElement("link"),kt(t,"link",e),et(t),s.head.appendChild(t)))}}function qw(e){Fa.D(e),Kg("dns-prefetch",e,null)}function Gw(e,t){Fa.C(e,t),Kg("preconnect",e,t)}function Pw(e,t,i){Fa.L(e,t,i);var s=Xl;if(s&&e&&t){var c='link[rel="preload"][as="'+jn(t)+'"]';t==="image"&&i&&i.imageSrcSet?(c+='[imagesrcset="'+jn(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(c+='[imagesizes="'+jn(i.imageSizes)+'"]')):c+='[href="'+jn(e)+'"]';var d=c;switch(t){case"style":d=Kl(e);break;case"script":d=Ql(e)}Ln.has(d)||(e=x({rel:"preload",href:t==="image"&&i&&i.imageSrcSet?void 0:e,as:t},i),Ln.set(d,e),s.querySelector(c)!==null||t==="style"&&s.querySelector(sr(d))||t==="script"&&s.querySelector(rr(d))||(t=s.createElement("link"),kt(t,"link",e),et(t),s.head.appendChild(t)))}}function Yw(e,t){Fa.m(e,t);var i=Xl;if(i&&e){var s=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+jn(s)+'"][href="'+jn(e)+'"]',d=c;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Ql(e)}if(!Ln.has(d)&&(e=x({rel:"modulepreload",href:e},t),Ln.set(d,e),i.querySelector(c)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(rr(d)))return}s=i.createElement("link"),kt(s,"link",e),et(s),i.head.appendChild(s)}}}function Xw(e,t,i){Fa.S(e,t,i);var s=Xl;if(s&&e){var c=bt(s).hoistableStyles,d=Kl(e);t=t||"default";var g=c.get(d);if(!g){var w={loading:0,preload:null};if(g=s.querySelector(sr(d)))w.loading=5;else{e=x({rel:"stylesheet",href:e,"data-precedence":t},i),(i=Ln.get(d))&&cd(e,i);var T=g=s.createElement("link");et(T),kt(T,"link",e),T._p=new Promise(function(V,G){T.onload=V,T.onerror=G}),T.addEventListener("load",function(){w.loading|=1}),T.addEventListener("error",function(){w.loading|=2}),w.loading|=4,lc(g,t,s)}g={type:"stylesheet",instance:g,count:1,state:w},c.set(d,g)}}}function Kw(e,t){Fa.X(e,t);var i=Xl;if(i&&e){var s=bt(i).hoistableScripts,c=Ql(e),d=s.get(c);d||(d=i.querySelector(rr(c)),d||(e=x({src:e,async:!0},t),(t=Ln.get(c))&&ud(e,t),d=i.createElement("script"),et(d),kt(d,"link",e),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},s.set(c,d))}}function Qw(e,t){Fa.M(e,t);var i=Xl;if(i&&e){var s=bt(i).hoistableScripts,c=Ql(e),d=s.get(c);d||(d=i.querySelector(rr(c)),d||(e=x({src:e,async:!0,type:"module"},t),(t=Ln.get(c))&&ud(e,t),d=i.createElement("script"),et(d),kt(d,"link",e),i.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},s.set(c,d))}}function Qg(e,t,i,s){var c=(c=ut.current)?ic(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(t=Kl(i.href),i=bt(c).hoistableStyles,s=i.get(t),s||(s={type:"style",instance:null,count:0,state:null},i.set(t,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=Kl(i.href);var d=bt(c).hoistableStyles,g=d.get(e);if(g||(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,g),(d=c.querySelector(sr(e)))&&!d._p&&(g.instance=d,g.state.loading=5),Ln.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Ln.set(e,i),d||Zw(c,e,i,g.state))),t&&s===null)throw Error(r(528,""));return g}if(t&&s!==null)throw Error(r(529,""));return null;case"script":return t=i.async,i=i.src,typeof i=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ql(i),i=bt(c).hoistableScripts,s=i.get(t),s||(s={type:"script",instance:null,count:0,state:null},i.set(t,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Kl(e){return'href="'+jn(e)+'"'}function sr(e){return'link[rel="stylesheet"]['+e+"]"}function Zg(e){return x({},e,{"data-precedence":e.precedence,precedence:null})}function Zw(e,t,i,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=1:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=1}),t.addEventListener("error",function(){return s.loading|=2}),kt(t,"link",i),et(t),e.head.appendChild(t))}function Ql(e){return'[src="'+jn(e)+'"]'}function rr(e){return"script[async]"+e}function Jg(e,t,i){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+jn(i.href)+'"]');if(s)return t.instance=s,et(s),s;var c=x({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),et(s),kt(s,"style",c),lc(s,i.precedence,e),t.instance=s;case"stylesheet":c=Kl(i.href);var d=e.querySelector(sr(c));if(d)return t.state.loading|=4,t.instance=d,et(d),d;s=Zg(i),(c=Ln.get(c))&&cd(s,c),d=(e.ownerDocument||e).createElement("link"),et(d);var g=d;return g._p=new Promise(function(w,T){g.onload=w,g.onerror=T}),kt(d,"link",s),t.state.loading|=4,lc(d,i.precedence,e),t.instance=d;case"script":return d=Ql(i.src),(c=e.querySelector(rr(d)))?(t.instance=c,et(c),c):(s=i,(c=Ln.get(d))&&(s=x({},i),ud(s,c)),e=e.ownerDocument||e,c=e.createElement("script"),et(c),kt(c,"link",s),e.head.appendChild(c),t.instance=c);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(s=t.instance,t.state.loading|=4,lc(s,i.precedence,e));return t.instance}function lc(e,t,i){for(var s=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=s.length?s[s.length-1]:null,d=c,g=0;g<s.length;g++){var w=s[g];if(w.dataset.precedence===t)d=w;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(t=i.nodeType===9?i.head:i,t.insertBefore(e,t.firstChild))}function cd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ud(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var sc=null;function $g(e,t,i){if(sc===null){var s=new Map,c=sc=new Map;c.set(i,s)}else c=sc,s=c.get(i),s||(s=new Map,c.set(i,s));if(s.has(e))return s;for(s.set(e,null),i=i.getElementsByTagName(e),c=0;c<i.length;c++){var d=i[c];if(!(d[Ee]||d[ee]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var g=d.getAttribute(t)||"";g=e+g;var w=s.get(g);w?w.push(d):s.set(g,[d])}}return s}function Wg(e,t,i){e=e.ownerDocument||e,e.head.insertBefore(i,t==="title"?e.querySelector("head > title"):null)}function Jw(e,t,i){if(i===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Ig(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function $w(e,t,i,s){if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var c=Kl(s.href),d=t.querySelector(sr(c));if(d){t=d._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=rc.bind(e),t.then(e,e)),i.state.loading|=4,i.instance=d,et(d);return}d=t.ownerDocument||t,s=Zg(s),(c=Ln.get(c))&&cd(s,c),d=d.createElement("link"),et(d);var g=d;g._p=new Promise(function(w,T){g.onload=w,g.onerror=T}),kt(d,"link",s),i.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=rc.bind(e),t.addEventListener("load",i),t.addEventListener("error",i))}}var fd=0;function Ww(e,t){return e.stylesheets&&e.count===0&&cc(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var s=setTimeout(function(){if(e.stylesheets&&cc(e,e.stylesheets),e.unsu
vendor: 10,520 bytes, line 26
26spend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+t);0<e.imgBytes&&fd===0&&(fd=62500*Fw());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&cc(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>fd?50:800)+t);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(s),clearTimeout(c)}}:null}function rc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)cc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var oc=null;function cc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,oc=new Map,t.forEach(Iw,e),oc=null,rc.call(e))}function Iw(e,t){if(!(t.state.loading&4)){var i=oc.get(e);if(i)var s=i.get(null);else{i=new Map,oc.set(e,i);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var g=c[d];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(i.set(g.dataset.precedence,g),s=g)}s&&i.set(null,s)}c=t.instance,g=c.getAttribute("data-precedence"),d=i.get(g)||s,d===s&&i.set(null,c),i.set(g,c),this.count++,s=rc.bind(this),c.addEventListener("load",s),c.addEventListener("error",s),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),t.state.loading|=4}}var or={$$typeof:_,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function eS(e,t,i,s,c,d,g,w,T){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ka(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ka(0),this.hiddenUpdates=Ka(null),this.identifierPrefix=s,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function ev(e,t,i,s,c,d,g,w,T,V,G,Y){return e=new eS(e,t,i,g,T,V,G,Y,w),t=1,d===!0&&(t|=24),d=dn(3,null,null,t),e.current=d,d.stateNode=e,t=Gu(),t.refCount++,e.pooledCache=t,t.refCount++,d.memoizedState={element:s,isDehydrated:i,cache:t},Ku(d),e}function tv(e){return e?(e=El,e):El}function nv(e,t,i,s,c,d){c=tv(c),s.context===null?s.context=c:s.pendingContext=c,s=ti(t),s.payload={element:i},d=d===void 0?null:d,d!==null&&(s.callback=d),i=ni(e,s,t),i!==null&&(sn(i,e,t),Hs(i,e,t))}function av(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function dd(e,t){av(e,t),(e=e.alternate)&&av(e,t)}function iv(e){if(e.tag===13||e.tag===31){var t=Ui(e,67108864);t!==null&&sn(t,e,67108864),dd(e,67108864)}}function lv(e){if(e.tag===13||e.tag===31){var t=gn();t=D(t);var i=Ui(e,t);i!==null&&sn(i,e,t),dd(e,t)}}var uc=!0;function tS(e,t,i,s){var c=L.T;L.T=null;var d=Z.p;try{Z.p=2,hd(e,t,i,s)}finally{Z.p=d,L.T=c}}function nS(e,t,i,s){var c=L.T;L.T=null;var d=Z.p;try{Z.p=8,hd(e,t,i,s)}finally{Z.p=d,L.T=c}}function hd(e,t,i,s){if(uc){var c=md(s);if(c===null)If(e,t,s,fc,i),rv(e,s);else if(iS(c,e,t,i,s))s.stopPropagation();else if(rv(e,s),t&4&&-1<aS.indexOf(e)){for(;c!==null;){var d=rt(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var g=Hn(d.pendingLanes);if(g!==0){var w=d;for(w.pendingLanes|=2,w.entangledLanes|=2;g;){var T=1<<31-Ht(g);w.entanglements[1]|=T,g&=~T}ta(d),(He&6)===0&&(Ko=Pt()+500,nr(0))}}break;case 31:case 13:w=Ui(d,2),w!==null&&sn(w,d,2),Zo(),dd(d,2)}if(d=md(s),d===null&&If(e,t,s,fc,i),d===c)break;c=d}c!==null&&s.stopPropagation()}else If(e,t,s,null,i)}}function md(e){return e=pu(e),pd(e)}var fc=null;function pd(e){if(fc=null,e=Ye(e),e!==null){var t=u(e);if(t===null)e=null;else{var i=t.tag;if(i===13){if(e=f(t),e!==null)return e;e=null}else if(i===31){if(e=h(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return fc=e,null}function sv(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(ha()){case Pa:return 2;case Cs:return 8;case Ya:case Un:return 32;case En:return 268435456;default:return 32}default:return 32}}var yd=!1,hi=null,mi=null,pi=null,cr=new Map,ur=new Map,yi=[],aS="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 rv(e,t){switch(e){case"focusin":case"focusout":hi=null;break;case"dragenter":case"dragleave":mi=null;break;case"mouseover":case"mouseout":pi=null;break;case"pointerover":case"pointerout":cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ur.delete(t.pointerId)}}function fr(e,t,i,s,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:i,eventSystemFlags:s,nativeEvent:d,targetContainers:[c]},t!==null&&(t=rt(t),t!==null&&iv(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,c!==null&&t.indexOf(c)===-1&&t.push(c),e)}function iS(e,t,i,s,c){switch(t){case"focusin":return hi=fr(hi,e,t,i,s,c),!0;case"dragenter":return mi=fr(mi,e,t,i,s,c),!0;case"mouseover":return pi=fr(pi,e,t,i,s,c),!0;case"pointerover":var d=c.pointerId;return cr.set(d,fr(cr.get(d)||null,e,t,i,s,c)),!0;case"gotpointercapture":return d=c.pointerId,ur.set(d,fr(ur.get(d)||null,e,t,i,s,c)),!0}return!1}function ov(e){var t=Ye(e.target);if(t!==null){var i=u(t);if(i!==null){if(t=i.tag,t===13){if(t=f(i),t!==null){e.blockedOn=t,$(e.priority,function(){lv(i)});return}}else if(t===31){if(t=h(i),t!==null){e.blockedOn=t,$(e.priority,function(){lv(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function dc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=md(e.nativeEvent);if(i===null){i=e.nativeEvent;var s=new i.constructor(i.type,i);mu=s,i.target.dispatchEvent(s),mu=null}else return t=rt(i),t!==null&&iv(t),e.blockedOn=i,!1;t.shift()}return!0}function cv(e,t,i){dc(e)&&i.delete(t)}function lS(){yd=!1,hi!==null&&dc(hi)&&(hi=null),mi!==null&&dc(mi)&&(mi=null),pi!==null&&dc(pi)&&(pi=null),cr.forEach(cv),ur.forEach(cv)}function hc(e,t){e.blockedOn===t&&(e.blockedOn=null,yd||(yd=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,lS)))}var mc=null;function uv(e){mc!==e&&(mc=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){mc===e&&(mc=null);for(var t=0;t<e.length;t+=3){var i=e[t],s=e[t+1],c=e[t+2];if(typeof s!="function"){if(pd(s||i)===null)continue;break}var d=rt(i);d!==null&&(e.splice(t,3),t-=3,mf(d,{pending:!0,data:c,method:i.method,action:s},s,c))}}))}function Zl(e){function t(T){return hc(T,e)}hi!==null&&hc(hi,e),mi!==null&&hc(mi,e),pi!==null&&hc(pi,e),cr.forEach(t),ur.forEach(t);for(var i=0;i<yi.length;i++){var s=yi[i];s.blockedOn===e&&(s.blockedOn=null)}for(;0<yi.length&&(i=yi[0],i.blockedOn===null);)ov(i),i.blockedOn===null&&yi.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(s=0;s<i.length;s+=3){var c=i[s],d=i[s+1],g=c[oe]||null;if(typeof d=="function")g||uv(i);else if(g){var w=null;if(d&&d.hasAttribute("formAction")){if(c=d,g=d[oe]||null)w=g.formAction;else if(pd(c)!==null)continue}else w=g.action;typeof w=="function"?i[s+1]=w:(i.splice(s,3),s-=3),uv(i)}}}function fv(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(g){return c=g})},focusReset:"manual",scroll:"manual"})}function t(){c!==null&&(c(),c=null),s||setTimeout(i,20)}function i(){if(!s&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(i,100),function(){s=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),c!==null&&(c(),c=null)}}}function gd(e){this._internalRoot=e}pc.prototype.render=gd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var i=t.current,s=gn();nv(i,s,e,t,null,null)},pc.prototype.unmount=gd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;nv(e.current,2,null,e,null,null),Zo(),t[ie]=null}};function pc(e){this._internalRoot=e}pc.prototype.unstable_scheduleHydration=function(e){if(e){var t=K();e={blockedOn:null,target:e,priority:t};for(var i=0;i<yi.length&&t!==0&&t<yi[i].priority;i++);yi.splice(i,0,e),i===0&&ov(e)}};var dv=a.version;if(dv!=="19.2.5")throw Error(r(527,dv,"19.2.5"));Z.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=y(t),e=e!==null?v(e):null,e=e===null?null:e.stateNode,e};var sS={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.5"};
26if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yc.isDisabled&&yc.supportsFiber)try{ma=yc.inject(sS),Yt=yc}catch{}}return dr.createRoot=function(e,t){if(!o(e))throw Error(r(299));var i=!1,s="",c=xy,d=by,g=wy;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(c=t.onUncaughtError),t.onCaughtError!==void 0&&(d=t.onCaughtError),t.onRecoverableError!==void 0&&(g=t.onRecoverableError)),t=ev(e,1,!1,null,null,i,s,null,c,d,g,fv),e[ie]=t.current,Wf(e),new gd(t)},dr.hydrateRoot=function(e,t,i){if(!o(e))throw Error(r(299));var s=!1,c="",d=xy,g=by,w=wy,T=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(d=i.onUncaughtError),i.onCaughtError!==void 0&&(g=i.onCaughtError),i.onRecoverableError!==void 0&&(w=i.onRecoverableError),i.formState!==void 0&&(T=i.formState)),t=ev(e,1,!0,t,i??null,s,c,T,d,g,w,fv),t.context=tv(null),i=t.current,s=gn(),s=D(s),c=ti(s),c.callback=null,ni(i,c,s),i=s,t.current.lanes=i,Zn(t,i),ta(t),e[ie]=t.current,Wf(e),new pc(t)},dr.version="19.2.5",dr}var yv;function gS(){if(yv)return vd.exports;yv=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),vd.exports=yS(),vd.exports}var gv=gS();let Bt=(function(n){return n.CHARSET="charset",n.CSS_TEXT="cssText",n.HREF="href",n.HTTPEQUIV="http-equiv",n.INNER_HTML="innerHTML",n.ITEM_PROP="itemprop",n.NAME="name",n.PROPERTY="property",n.REL="rel",n.SRC="src",n.TARGET="target",n})({}),We=(function(n){return n.BASE="base",n.BODY="body",n.FRAGMENT="Symbol(react.fragment)",n.HEAD="head",n.HTML="html",n.LINK="link",n.META="meta",n.NOSCRIPT="noscript",n.SCRIPT="script",n.STYLE="style",n.TITLE="title",n})({});const wd={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"]}},vv=Object.values(We),kh={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},kr=(()=>{const n={};for(const[a,l]of Object.entries(kh))n[l]=a;return n})(),qa="data-rh",vS=!!(typeof window<"u"&&window.document.createElement);function rs(n,a){for(let l=n.length-1;l>=0;--l){const r=n[l][1][a];if(r!==void 0)return r}}function xS(n){let a=rs(n,We.TITLE);const l=rs(n,"titleTemplate");if(Array.isArray(a)&&(a=a.join("")),l&&a)return l.replace(/%s/g,()=>a);const r=rs(n,"defaultTitle");return(a||r)??void 0}function Sd(n,a){const l={};for(const r of a){const o=r[1][n];o&&Object.assign(l,o)}return l}function bS(n){for(let a=n.length-1;a>=0;--a){const l=n[a][1].base;if(l!=null&&l.href||l!=null&&l.target)return l}}function wS(n,a){let l;for(const r of Object.keys(n)){const o=r;a.includes(o)&&!(l===Bt.REL&&n[l].toLowerCase()==="canonical")&&!(o===Bt.REL&&n[o].toLowerCase()==="stylesheet")&&(l=o),a.includes(o)&&(o===Bt.INNER_HTML||o===Bt.CSS_TEXT||o===Bt.ITEM_PROP)&&(l=o)}return l??null}function hr(n,a,l){const r={};return l.map(([,o])=>o).filter(o=>Array.isArray(o[n])?!0:(typeof o[n]<"u"&&console.warn(`Helmet: ${n} should be of type "Array". Instead found type "${typeof o[n]}"`),!1)).map(o=>o[n]).reverse().reduce((o,u)=>{const f={};u.filter(p=>{const y=wS(p,a);if(!y||!p[y])return!1;const v=p[y].toLowerCase();return r[y]||(r[y]={}),f[y]||(f[y]={}),r[y][v]?!1:(f[y][v]=!0,!0)}).reverse().forEach(p=>{o.push(p)});const h=Object.keys(f);for(const p of h){const y={...r[p],...f[p]};r[p]=y}return o},[]).reverse()}function SS(n,a){for(const[,l]of n)if(l[a])return!0;return!1}function Cx(n){return Array.isArray(n)?n.join(""):n}function CS(n,a){var l;for(const r of Object.keys(n))if((l=a[r])!=null&&l.includes(n[r]))return!0;return!1}function Cd(n,a){const l={default:Array(),priority:Array()};if(n)for(const r of n)CS(r,a)?l.priority.push(r):l.default.push(r);return l}function TS(n){const a={};for(const[l,r]of Object.entries(n))a[l]=Array.isArray(r)?r.slice():r;return a}function ES(n,a){const l=n;for(const[r,o]of Object.entries(a))if(Array.isArray(o)){const u=l[r];l[r]=u?u.concat(o):o}else l[r]=o}function Td(n,a,l){const r=n[a];r?r.push(l):n[a]=[l]}function th(n){let a=hr(We.LINK,[Bt.REL,Bt.HREF],n),l=hr("meta",[Bt.NAME,"charSet","httpEquiv",Bt.PROPERTY,"itemProp"],n),r=hr("script",[Bt.SRC,Bt.INNER_HTML],n);const o=SS(n,"prioritizeSeoTags");let u;if(o){const f=Cd(a,wd.link);a=f.default;const h=Cd(l,wd.meta);l=h.default;const p=Cd(r,wd.script);r=p.default,u={links:f.priority,meta:h.priority,script:p.priority}}return{base:bS(n),bodyAttributes:Sd("bodyAttributes",n),defer:rs(n,"defer"),encodeSpecialCharacters:rs(n,"encodeSpecialCharacters")??!0,htmlAttributes:Sd("htmlAttributes",n),links:a,meta:l,noscript:hr("noscript",[Bt.INNER_HTML],n),onChangeClientState:rs(n,"onChangeClientState"),priority:u,script:r,style:hr("style",[Bt.CSS_TEXT],n),title:xS(n),titleAttributes:Sd("titleAttributes",n)}}function jS(n){return kr[n]??n}function Jl(n,a){const l=document.head||document.querySelector(We.HEAD),r=l.querySelectorAll(`${n}[${qa}]`),o=[],u=[...r],f=[];for(const h of a){const p=document.createElement(n);for(const[v,x]of Object.entries(h))if(Object.prototype.hasOwnProperty.call(h,v)){const b=kr[v]??v;b===Bt.INNER_HTML?p.innerHTML=x:b===Bt.CSS_TEXT?p.styleSheet?p.styleSheet.cssText=h.cssText:p.appendChild(document.createTextNode(h.cssText)):p.setAttribute(b,x??"")}p.setAttribute(qa,"true");const y={};for(const{name:v,value:x}of p.attributes)y[v]=x;o.push(y);for(let v=0;;++v){if(p.isEqualNode(u[v])){u.splice(v,1);break}if(v>=u.length){f.push(p);break}}}return u.forEach(h=>{var p;(p=h.parentNode)==null||p.removeChild(h)}),f.forEach(h=>{l.appendChild(h)}),{allTags:o,newTags:f,oldTags:u}}function nh(n,a){const[l]=document.getElementsByTagName(n);if(!l)return;const r=l.getAttribute(qa),o=r?r.split(","):[],u=[...o],f=[];for(const h of Object.keys(a))f.push(kr[h]??h);for(const[h,p]of Object.entries(a)){const y=kr[h]??h;l.getAttribute(y)!==p&&l.setAttribute(y,p??""),o.includes(y)||o.push(y);const v=u.indexOf(y);v!==-1&&u.splice(v,1)}for(let h=u.length-1;h>=0;h-=1)l.removeAttribute(u[h]);o.length===u.length?l.removeAttribute(qa):l.getAttribute(qa)!==f.join(",")&&l.setAttribute(qa,f.join(","))}function AS(n,a){n!==void 0&&document.title!==n&&(document.title=Cx(n)),nh(We.TITLE,a)}function xv(n,a){const{base:l,bodyAttributes:r,defer:o,htmlAttributes:u,links:f,meta:h,noscript:p,onChangeClientState:y,priority:v,script:x,style:b,title:S,titleAttributes:j}=n;nh(We.BODY,r??{}),nh(We.HTML,u??{}),AS(S,j);const N={baseTag:Jl(We.BASE,l?[l]:[]),linkTags:Jl(We.LINK,[...(v==null?void 0:v.links)??[],...f??[]]),metaTags:Jl(We.META,[...(v==null?void 0:v.meta)??[],...h??[]]),noscriptTags:Jl(We.NOSCRIPT,p??[]),scriptTags:Jl(We.SCRIPT,[...(v==null?void 0:v.script)??[],...x??[]]),styleTags:Jl(We.STYLE,b??[])},A={baseTag:[],bodyAttributes:{},defer:o??!1,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],onChangeClientState:y??(()=>{}),scriptTags:[],styleTags:[],title:S??"",titleAttributes:{}},k={},U={};
26Object.keys(N).forEach(_=>{const{allTags:X,newTags:Q,oldTags:se}=N[_];A[_]=X,Q.length&&(k[_]=Q),se.length&&(U[_]=N[_].oldTags)}),(a||Object.keys(k).length||Object.keys(U).length)&&(y==null||y(A,k,U))}const MS=[We.NOSCRIPT,We.SCRIPT,We.STYLE],Tx=(n,a=!0)=>a?n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):n;function ah(n){let a="";for(const[l,r]of Object.entries(n)){const o=jS(l),u=r===void 0?o:`${o}="${r}"`;u&&a&&(a+=" "),a+=u}return a}const NS=(n,a,l)=>{let r=ah(a);r&&(r=` ${r}`);const o=Cx(n);return`<title ${qa}="true"${r}>${Tx(o,l)}</title>`};function za(n,a,l){let r="";for(const o of a){let u="";const f=Object.entries(o);for(const[y,v]of f)if(!(y===Bt.INNER_HTML||y===Bt.CSS_TEXT)){const x=kr[y]??y;let b;if(v===void 0)b=x;else{const S=typeof v=="string"?v:String(v);b=`${x}="${Tx(S,l)}"`}u?u+=` ${b}`:u=b}const h=o.innerHTML??o.cssText??"",p=!MS.includes(n);r+=`<${n} ${qa}="true" ${u}${p?"/>":`>${h}</${n}>`}`}return r}function Uc(n,a={}){const l={};a.addHelmetDataAttr&&(l[qa]=!0),a.addKey!==void 0&&(l.key=a.addKey);for(const[r,o]of Object.entries(n)){const u=kh[r]??r;switch(u){case"cssText":case"innerHTML":l.dangerouslySetInnerHTML={__html:o};break;default:l[u]=o}}return l}function DS(n,a){return[m.jsx("title",{...Uc(a,{addHelmetDataAttr:!0}),children:n},n)]}function RS(n,a,l){return C.createElement(n,Uc(a,{addHelmetDataAttr:!0,addKey:l}))}function La(n,a){const l=[];for(let r=0;r<a.length;++r)l.push(RS(n,a[r],r));return l}function FS(n){const a=()=>(n.state??(n.state=th(n.helmets)),n.state);return{base:{toComponent(){const l=a().base;return l?La("base",[l]):[]},toString(){const l=a();return l.base?za("base",[l.base],l.encodeSpecialCharacters):""}},bodyAttributes:{toComponent(){const l=a().bodyAttributes;return Uc(l??{})},toString(){const l=a().bodyAttributes;return ah(l??{})}},htmlAttributes:{toComponent(){const l=a().htmlAttributes;return Uc(l??{})},toString(){const l=a().htmlAttributes;return ah(l??{})}},link:{toComponent(){return La("link",a().links??[])},toString(){const l=a();return za("link",l.links??[],l.encodeSpecialCharacters)}},meta:{toComponent(){return La("meta",a().meta??[])},toString(){const l=a();return za("meta",l.meta??[],l.encodeSpecialCharacters)}},noscript:{toComponent(){return La("noscript",a().noscript??[])},toString(){const l=a();return za("noscript",l.noscript??[],l.encodeSpecialCharacters)}},priority:{toComponent(){var r,o,u;const l=a();return[...La("meta",((r=l.priority)==null?void 0:r.meta)??[]),...La("link",((o=l.priority)==null?void 0:o.links)??[]),...La("script",((u=l.priority)==null?void 0:u.script)??[])]},toString(){var h,p,y;const l=a(),r=za("meta",((h=l.priority)==null?void 0:h.meta)??[],l.encodeSpecialCharacters),o=za("link",((p=l.priority)==null?void 0:p.links)??[],l.encodeSpecialCharacters),u=za("script",((y=l.priority)==null?void 0:y.script)??[],l.encodeSpecialCharacters);let f=r;return o&&(f&&(f+=" "),f+=o),u&&(f&&(f+=" "),f+=u),f}},script:{toComponent(){return La("script",a().script??[])},toString(){const l=a();return za("script",l.script??[],l.encodeSpecialCharacters)}},style:{toComponent(){return La("style",a().style??[])},toString(){const l=a();return za("style",l.style??[],l.encodeSpecialCharacters)}},title:{toComponent(){const l=a();return DS(l.title??"",l.titleAttributes??{})},toString(){const l=a();return NS(l.title??"",l.titleAttributes??{},l.encodeSpecialCharacters)}}}}const Ex=C.createContext(void 0),zS=({children:n,context:a})=>{const{current:l}
26=C.useRef({firstRender:!0,helmets:[],state:void 0}),r=C.useRef(null);return r.current??(r.current={clientApply(){vS&&!l.state&&(l.state=th(l.helmets),l.state.defer?l.nextAnimFrameId??(l.nextAnimFrameId=requestAnimationFrame(()=>{l.state??(l.state=th(l.helmets)),xv(l.state,l.firstRender),l.firstRender=!1,delete l.nextAnimFrameId})):(l.nextAnimFrameId!==void 0&&(cancelAnimationFrame(l.nextAnimFrameId),delete l.nextAnimFrameId),xv(l.state,l.firstRender),l.firstRender=!1))},update(o,u){const f=l.helmets.findIndex(h=>h[0]===o);f>=0?(delete l.state,u?l.helmets[f][1]=u:l.helmets.splice(f,1)):u&&(delete l.state,l.helmets.push([o,u]))}}),a&&(!a.helmet||a.helmet!==l.serverState)&&(l.serverState??(l.serverState=FS(l)),a.helmet=l.serverState),m.jsx(Ex,{value:r.current,children:n})};function LS(n,a){if(typeof n!="string")throw Error("You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.");if(!vv.includes(n))throw Error(`Only elements types ${vv.join(", ")} are allowed. Helmet does not support rendering <${n}> elements. Refer to our API for more information.`);if(!(!a||typeof a=="string"||Array.isArray(a)))throw Error(`Helmet expects a string as a child of <${n}>. Did you forget to wrap your children in braces? ( <${n}>{\`\`}</${n}> ) Refer to our API for more information.`)}function Ed(n){const a=kh[n];return a&&console.warn(`"${n}" is not a valid JSX prop, replace it by "${a}"`),a??n}function ih(n){const a=TS(n);for(const l of Object.values(n))if(Array.isArray(l)){for(const r of l)if(r)for(const o of Object.keys(r)){const u=Ed(o);u!==o&&(r[u]=r[o],delete r[o])}}else if(l&&typeof l=="object"){const r=l;for(const o of Object.keys(r)){const u=Ed(o);u!==o&&(r[u]=r[o],delete r[o])}}return C.Children.forEach(n.children,l=>{if(l==null)return;if(typeof l!="object"||!("props"in l))throw Error(`"${typeof l}" is not a valid <Helmet> descendant`);let r;const o={};if(l.props)for(const[h,p]of Object.entries(l.props))h==="children"?r=p:o[Ed(h)]=p;let{type:u}=l;typeof u=="symbol"&&(u=u.toString()),LS(u,r);function f(h){typeof h!="string"&&console.error(`child of ${u} element should be a string`)}switch(u){case We.BASE:a.base=o;break;case We.BODY:a.bodyAttributes=o;break;case We.FRAGMENT:ES(a,ih({children:r}));break;case We.HTML:a.htmlAttributes=o;break;case We.LINK:case We.META:if(r)throw Error(`<${u} /> elements are self-closing and can not contain children. Refer to our API for more information.`);Td(a,u,o);break;case We.NOSCRIPT:case We.SCRIPT:r!==void 0&&(f(r),o.innerHTML=r),Td(a,u,o);break;case We.STYLE:f(r),o.cssText=r,Td(a,u,o);break;case We.TITLE:a.titleAttributes=o,typeof r=="string"?a.title=r:Array.isArray(r)&&(a.title=r.join(""));break;case We.HEAD:}}),delete a.children,a}const Ga=n=>{const a=C.use(Ex);if(!a)throw Error("<Helmet> component must be within a <HelmetProvider> children tree");const l=C.useId();return a.update(l,ih(n)),C.useEffect(()=>{a.update(l,ih(n)),a.clientApply()}),C.useEffect(()=>()=>{a.update(l,void 0),a.clientApply()},[a,l]),null},OS="modulepreload",kS=function(n){return"/"+n},bv={},VS=function(a,l,r){let o=Promise.resolve();if(l&&l.length>0){let f=function(y){return Promise.all(y.map(v=>Promise.resolve(v).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),p=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));o=f(l.map(y=>{if(y=kS(y),y in bv)return;bv[y]=!0;const v=y.endsWith(".css"),x=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${x}`))return;const b=document.createElement("link");if(b.rel=v?"stylesheet":OS,v||(b.as="script"),b.crossOrigin="",b.href=y,p&&b.setAttribute("nonce",p),document.head.appendChild(b),v)return new Promise((S,j)=>{b.addEventListener("load",S),b.addEventListener("error",()=>j(new Error(`Unable to preload CSS for ${y}`)))})}))}function u(f){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=f,window.dispatchEvent(h),!h.defaultPrevented)throw f}return o.then(f=>{for(const h of f||[])h.status==="rejected"&&u(h.reason);return a().catch(u)})};/** 27 * react-router v7.14.2 28 * 29 * Copyright (c) Remix Software Inc. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE.md file in the root directory of this source tree. 33 * 34 * @license MIT 35 */var jx=n=>{throw TypeError(n)},BS=(n,a,l)=>a.has(n)||jx("Cannot "+l),jd=(n,a,l)=>(BS(n,a,"read from private field"),l?l.call(n):a.get(n)),US=(n,a,l)=>a.has(n)?jx("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(n):a.set(n,l),wv="popstate";function Sv(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function HS(n={}){function a(r,o){var y;let u=(y=o.state)==null?void 0:y.masked,{pathname:f,search:h,hash:p}=u||r.location;return Vr("",{pathname:f,search:h,hash:p},o.state&&o.state.usr||null,o.state&&o.state.key||"default",u?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}
35function l(r,o){return typeof o=="string"?o:ra(o)}return qS(a,l,null,n)}function je(n,a){if(n===!1||n===null||typeof n>"u")throw new Error(a)}function mt(n,a){if(!n){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function _S(){return Math.random().toString(36).substring(2,10)}function Cv(n,a){return{usr:n.state,key:n.key,idx:a,masked:n.unstable_mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function Vr(n,a,l=null,r,o){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof a=="string"?ca(a):a,state:l,key:a&&a.key||r||_S(),unstable_mask:o}}function ra({pathname:n="/",search:a="",hash:l=""}){return a&&a!=="?"&&(n+=a.charAt(0)==="?"?a:"?"+a),l&&l!=="#"&&(n+=l.charAt(0)==="#"?l:"#"+l),n}function ca(n){let a={};if(n){let l=n.indexOf("#");l>=0&&(a.hash=n.substring(l),n=n.substring(0,l));let r=n.indexOf("?");r>=0&&(a.search=n.substring(r),n=n.substring(0,r)),n&&(a.pathname=n)}return a}function qS(n,a,l,r={}){let{window:o=document.defaultView,v5Compat:u=!1}=r,f=o.history,h="POP",p=null,y=v();y==null&&(y=0,f.replaceState({...f.state,idx:y},""));function v(){return(f.state||{idx:null}).idx}function x(){h="POP";let A=v(),k=A==null?null:A-y;y=A,p&&p({action:h,location:N.location,delta:k})}function b(A,k){h="PUSH";let U=Sv(A)?A:Vr(N.location,A,k);y=v()+1;let _=Cv(U,y),X=N.createHref(U.unstable_mask||U);try{f.pushState(_,"",X)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;o.location.assign(X)}u&&p&&p({action:h,location:N.location,delta:1})}function S(A,k){h="REPLACE";let U=Sv(A)?A:Vr(N.location,A,k);y=v();let _=Cv(U,y),X=N.createHref(U.unstable_mask||U);f.replaceState(_,"",X),u&&p&&p({action:h,location:N.location,delta:0})}function j(A){return Ax(A)}let N={get action(){return h},get location(){return n(o,f)},listen(A){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(wv,x),p=A,()=>{o.removeEventListener(wv,x),p=null}},createHref(A){return a(o,A)},createURL:j,encodeLocation(A){let k=j(A);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:b,replace:S,go(A){return f.go(A)}};return N}function Ax(n,a=!1){let l="http://localhost";
35typeof window<"u"&&(l=window.location.origin!=="null"?window.location.origin:window.location.href),je(l,"No window.location.(origin|href) available to create URL");let r=typeof n=="string"?n:ra(n);return r=r.replace(/ $/,"%20"),!a&&r.startsWith("//")&&(r=l+r),new URL(r,l)}var Mr,Tv=class{constructor(n){if(US(this,Mr,new Map),n)for(let[a,l]of n)this.set(a,l)}get(n){if(jd(this,Mr).has(n))return jd(this,Mr).get(n);if(n.defaultValue!==void 0)return n.defaultValue;throw new Error("No value found for context")}set(n,a){jd(this,Mr).set(n,a)}};Mr=new WeakMap;var GS=new Set(["lazy","caseSensitive","path","id","index","children"]);function PS(n){return GS.has(n)}var YS=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function XS(n){return YS.has(n)}function KS(n){return n.index===!0}function Br(n,a,l=[],r={},o=!1){return n.map((u,f)=>{let h=[...l,String(f)],p=typeof u.id=="string"?u.id:h.join("-");if(je(u.index!==!0||!u.children,"Cannot specify children on an index route"),je(o||!r[p],`Found a route id collision on i
35d "${p}". Route id's must be globally unique within Data Router usages`),KS(u)){let y={...u,id:p};return r[p]=Ev(y,a(y)),y}else{let y={...u,id:p,children:void 0};return r[p]=Ev(y,a(y)),u.children&&(y.children=Br(u.children,a,h,r,o)),y}})}function Ev(n,a){return Object.assign(n,{...a,...typeof a.lazy=="object"&&a.lazy!=null?{lazy:{...n.lazy,...a.lazy}}:{}})}function Ei(n,a,l="/"){return Nr(n,a,l,!1)}function Nr(n,a,l,r){let o=typeof a=="string"?ca(a):a,u=Cn(o.pathname||"/",l);if(u==null)return null;let f=Nx(n);QS(f);let h=null;for(let p=0;h==null&&p<f.length;++p){let y=lC(u);h=aC(f[p],y,r)}return h}function Mx(n,a){let{route:l,pathname:r,params:o}=n;return{id:l.id,pathname:r,params:o,data:a[l.id],loaderData:a[l.id],handle:l.handle}}function Nx(n,a=[],l=[],r="",o=!1){let u=(f,h,p=o,y)=>{let v={relativePath:y===void 0?f.path||"":y,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(r)&&p)return;je(v.relativePath.startsWith(r),`Absolute route path "${v.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(r.length)}let x=Vn([r,v.relativePath]),b=l.concat(v);f.children&&f.children.length>0&&(je(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),Nx(f.children,a,b,x,p)),!(f.path==null&&!f.index)&&a.push({path:x,score:tC(x,f.index),routesMeta:b})};return n.forEach((f,h)=>{var p;if(f.path===""||!((p=f.path)!=null&&p.includes("?")))u(f,h);else for(let y of Dx(f.path))u(f,h,!0,y)}),a}function Dx(n){let a=n.split("/");if(a.length===0)return[];let[l,...r]=a,o=l.endsWith("?"),u=l.replace(/\?$/,"");if(r.length===0)return o?[u,""]:[u];let f=Dx(r.join("/")),h=[];return h.push(...f.map(p=>p===""?u:[u,p].join("/"))),o&&h.push(...f),h.map(p=>n.startsWith("/")&&p===""?"/":p)}function QS(n){n.sort((a,l)=>a.score!==l.score?l.score-a.score:nC(a.routesMeta.map(r=>r.childrenIndex),l.routesMeta.map(r=>r.childrenIndex)))}var ZS=/^:[\w-]+$/,JS=3,$S=2,WS=1,IS=10,eC=-2,jv=n=>n==="*";function tC(n,a){let l=n.split("/"),r=l.length;return l.some(jv)&&(r+=eC),a&&(r+=$S),l.filter(o=>!jv(o)).reduce((o,u)=>o+(ZS.test(u)?JS:u===""?WS:IS),r)}function nC(n,a){return n.length===a.length&&n.slice(0,-1).every((r,o)=>r===a[o])?n[n.length-1]-a[a.length-1]:0}function aC(n,a,l=!1){let{routesMeta:r}=n,o={},u="/",f=[];for(let h=0;h<r.length;++h){let p=r[h],y=h===r.length-1,v=u==="/"?a:a.slice(u.length)||"/",x=Hc({path:p.relativePath,caseSensitive:p.caseSensitive,end:y},v),b=p.route;if(!x&&y&&l&&!r[r.length-1].route.index&&(x=Hc({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},v)),!x)return null;
35Object.assign(o,x.params),f.push({params:o,pathname:Vn([u,x.pathname]),pathnameBase:oC(Vn([u,x.pathnameBase])),route:b}),x.pathnameBase!=="/"&&(u=Vn([u,x.pathnameBase]))}return f}function Hc(n,a){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[l,r]=iC(n.path,n.caseSensitive,n.end),o=a.match(l);if(!o)return null;let u=o[0],f=u.replace(/(.)\/+$/,"$1"),h=o.slice(1);return{params:r.reduce((y,{paramName:v,isOptional:x},b)=>{if(v==="*"){let j=h[b]||"";f=u.slice(0,u.length-j.length).replace(/(.)\/+$/,"$1")}const S=h[b];return x&&!S?y[v]=void 0:y[v]=(S||"").replace(/%2F/g,"/"),y},{}),pathname:u,pathnameBase:f,pattern:n}}function iC(n,a=!1,l=!0){mt(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let r=[],o="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,h,p,y,v)=>{if(r.push({paramName:h,isOptional:p!=null}),p){let x=v.charAt(y+f.length);return x&&x!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(r.push({paramName:"*"}),o+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?o+="\\/*$":n!==""&&n!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,a?void 0:"i"),r]}function lC(n){try{return n.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return mt(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),n}}function Cn(n,a){if(a==="/")return n;if(!n.toLowerCase().startsWith(a.toLowerCase()))return null;let l=a.endsWith("/")?a.length-1:a.length,r=n.charAt(l);return r&&r!=="/"?null:n.slice(l)||"/"}function sC({basename:n,pathname:a}){return a==="/"?n:Vn([n,a])}var Rx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vh=n=>Rx.test(n);function rC(n,a="/"){let{pathname:l,search:r="",hash:o=""}=typeof n=="string"?ca(n):n,u;return l?(l=Uh(l),l.startsWith("/")?u=Av(l.substring(1),"/"):u=Av(l,a)):u=a,{pathname:u,search:cC(r),hash:uC(o)}}function Av(n,a){let l=_c(a).split("/");return n.split("/").forEach(o=>{o===".."?l.length>1&&l.pop():o!=="."&&l.push(o)}),l.length>1?l.join("/"):"/"}function Ad(n,a,l,r){return`Cannot include a '${n}' character in a manually specified \`to.${a}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${l}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Fx(n){return n.filter((a,l)=>l===0||a.route.path&&a.route.path.length>0)}function Bh(n){let a=Fx(n);return a.map((l,r)=>r===a.length-1?l.pathname:l.pathnameBase)}function Wc(n,a,l,r=!1){let o;typeof n=="string"?o=ca(n):(o={...n},je(!o.pathname||!o.pathname.includes("?"),Ad("?","pathname","search",o)),je(!o.pathname||!o.pathname.includes("#"),Ad("#","pathname","hash",o)),je(!o.search||!o.search.includes("#"),Ad("#","search","hash",o)));let u=n===""||o.pathname==="",f=u?"/":o.pathname,h;if(f==null)h=l;else{let x=a.length-1;if(!r&&f.startsWith("..")){let b=f.split("/");for(;b[0]==="..";)b.shift(),x-=1;o.pathname=b.join("/")}h=x>=0?a[x]:"/"}let p=rC(o,h),y=f&&f!=="/"&&f.endsWith("/"),v=(u||f===".")&&l.endsWith("/");return!p.pathname.endsWith("/")&&(y||v)&&(p.pathname+="/"),p}var Uh=n=>n.replace(/\/\/+/g,"/"),Vn=n=>Uh(n.join("/")),_c=n=>n.replace(/\/+$/,""),oC=n=>_c(n).replace(/^\/*/,"/"),cC=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,uC=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,Pr=class{constructor(n,a,l,r=!1){this.status=n,this.statusText=a||"",this.internal=r,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function Ur(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function Yr(n){let a=n.map(l=>l.route.path).filter(Boolean);return Vn(a)||"/"}var zx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Lx(n,a){let l=n;if(typeof l!="string"||!Rx.test(l))return{absoluteURL:void 0,isExternal:!1,to:l};let r=l,o=!1;if(zx)try{let u=new URL(window.location.href),f=l.startsWith("//")?new URL(u.protocol+l):new URL(l),h=Cn(f.pathname,a);f.origin===u.origin&&h!=null?l=h+f.search+f.hash:o=!0}catch{mt(!1,`<Link to="${l}">
35 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:l}}var Ai=Symbol("Uninstrumented");function fC(n,a){let l={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};n.forEach(o=>o({id:a.id,index:a.index,path:a.path,instrument(u){let f=Object.keys(l);for(let h of f)u[h]&&l[h].push(u[h])}}));let r={};if(typeof a.lazy=="function"&&l.lazy.length>0){let o=as(l.lazy,a.lazy,()=>{});o&&(r.lazy=o)}if(typeof a.lazy=="object"){let o=a.lazy;["middleware","loader","action"].forEach(u=>{let f=o[u],h=l[`lazy.${u}`];if(typeof f=="function"&&h.length>0){let p=as(h,f,()=>{});p&&(r.lazy=Object.assign(r.lazy||{},{[u]:p}))}})}return["loader","action"].forEach(o=>{let u=a[o];if(typeof u=="function"&&l[o].length>0){let f=u[Ai]??u,h=as(l[o],f,(...p)=>Mv(p[0]));h&&(o==="loader"&&f.hydrate===!0&&(h.hydrate=!0),h[Ai]=f,r[o]=h)}}),a.middleware&&a.middleware.length>0&&l.middleware.length>0&&(r.middleware=a.middleware.map(o=>{let u=o[Ai]??o,f=as(l.middleware,u,(...h)=>Mv(h[0]));return f?(f[Ai]=u,f):o})),r}function dC(n,a){let l={navigate:[],fetch:[]};if(a.forEach(r=>r({instrument(o){let u=Object.keys(o);for(let f of u)o[f]&&l[f].push(o[f])}})),l.navigate.length>0){let r=n.navigate[Ai]??n.navigate,o=as(l.navigate,r,(...u)=>{let[f,h]=u;return{to:typeof f=="number"||typeof f=="string"?f:f?ra(f):".",...Nv(n,h??{})}});o&&(o[Ai]=r,n.navigate=o)}if(l.fetch.length>0){let r=n.fetch[Ai]??n.fetch,o=as(l.fetch,r,(...u)=>{let[f,,h,p]=u;return{href:h??".",fetcherKey:f,...Nv(n,p??{})}});o&&(o[Ai]=r,n.fetch=o)}return n}function as(n,a,l){return n.length===0?null:async(...r)=>{let o=await Ox(n,l(...r),()=>a(...r),n.length-1);if(o.type==="error")throw o.value;return o.value}}async function Ox(n,a,l,r){let o=n[r],u;if(o){let f,h=async()=>(f?console.error("You cannot call instrumented handlers more than once"):f=Ox(n,a,l,r-1),u=await f,je(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,a)}catch(p){console.error("An instrumentation function threw an error:",p)}f||await h(),await f}else try{u={type:"success",value:await l()}}catch(f){u={type:"error",value:f}}return u||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function Mv(n){let{request:a,context:l,params:r,unstable_pattern:o}=n;return{request:hC(a),params:{...r},unstable_pattern:o,context:mC(l)}}function Nv(n,a){return{currentUrl:ra(n.state.location),..."formMethod"in a?{formMethod:a.formMethod}:{},..."formEncType"in a?{formEncType:a.formEncType}:{},..."formData"in a?{formData:a.formData}:{},..."body"in a?{body:a.body}:{}}}function hC(n){return{method:n.method,url:n.url,headers:{get:(...a)=>n.headers.get(...a)}}}function mC(n){if(yC(n)){let a={...n};return Object.freeze(a),a}else return{get:a=>n.get(a)}}var pC=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function yC(n){if(n===null||typeof n!="object")return!1;const a=Object.getPrototypeOf(n);return a===Object.prototype||a===null||Object.getOwnPropertyNames(a).sort().join("\0")===pC}var kx=["POST","PUT","PATCH","DELETE"],gC=new Set(kx),vC=["GET",...kx],xC=new Set(vC),Vx=new Set([301,302,303,307,308]),bC=new Set([307,308]),Md={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},wC={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},mr={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},SC=n=>({hasErrorBoundary:!!n.hasErrorBoundary}),Bx="remix-router-transitions",Ux=Symbol("ResetLoaderData");function CC(n){const a=n.window?n.window:typeof window<"u"?window:void 0,l=typeof a<"u"&&typeof a.document<"u"&&typeof a.document.createElement<"u";je(n.routes.length>0,"You must provide a non-empty routes array to createRouter");let r=n.hydrationRouteProperties||[],o=n.mapRouteProperties||SC,u=o;if(n.unstable_instrumentations){let E=n.unstable_instrumentations;u=D=>({...o(D),...fC(E.map(B=>
35B.route).filter(Boolean),D)})}let f={},h=Br(n.routes,u,void 0,f),p,y=n.basename||"/";y.startsWith("/")||(y=`/${y}`);let v=n.dataStrategy||MC,x={unstable_passThroughRequests:!1,...n.future},b=null,S=new Set,j=null,N=null,A=null,k=n.hydrationData!=null,U=Ei(h,n.history.location,y),_=!1,X=null,Q,se;if(U==null&&!n.patchRoutesOnNavigation){let E=On(404,{pathname:n.history.location.pathname}),{matches:D,route:B}=gc(h);Q=!0,se=!Q,U=D,X={[B.id]:E}}else if(U&&!n.hydrationData&&Ka(U,h,n.history.location.pathname).active&&(U=null),U)if(U.some(E=>E.route.lazy))Q=!1,se=!Q;else if(!U.some(E=>Hh(E.route)))Q=!0,se=!Q;else{let E=n.hydrationData?n.hydrationData.loaderData:null,D=n.hydrationData?n.hydrationData.errors:null,B=U;if(D){let K=U.findIndex($=>D[$.route.id]!==void 0);B=B.slice(0,K+1)}se=!1,Q=!0,B.forEach(K=>{let $=Hx(K.route,E,D);se=se||$.renderFallback,Q=Q&&!$.shouldLoad})}else{Q=!1,se=!Q,U=[];let E=Ka(null,h,n.history.location.pathname);E.active&&E.matches&&(_=!0,U=E.matches)}let pe,z={historyAction:n.history.action,location:n.history.location,matches:U,initialized:Q,renderFallback:se,navigation:Md,restoreScrollPosition:n.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:n.hydrationData&&n.hydrationData.loaderData||{},actionData:n.hydrationData&&n.hydrationData.actionData||null,errors:n.hydrationData&&n.hydrationData.errors||X,fetchers:new Map,blockers:new Map},ae="POP",J=null,de=!1,I,ze=!1,Ae=new Map,ge=null,L=!1,Z=!1,W=new Set,ne=new Map,he=0,xe=-1,Ne=new Map,be=new Set,Ue=new Map,ct=new Map,ut=new Set,Tn=new Map,fa,Wt=null;function vs(){if(b=n.history.listen(({action:E,location:D,delta:B})=>{if(fa){fa(),fa=void 0;return}mt(Tn.size===0||B!=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 K=zi({currentLocation:z.location,nextLocation:D,historyAction:E});if(K&&B!=null){let $=new Promise(re=>{fa=re});n.history.go(B*-1),pa(K,{state:"blocked",location:D,proceed(){pa(K,{state:"proceeding",proceed:void 0,reset:void 0,location:D}),$.then(()=>n.history.go(B))},reset(){let re=new Map(z.blockers);re.set(K,mr),At({blockers:re})}}),J==null||J.resolve(),J=null;return}return da(E,D)}),l){XC(a,Ae);let E=()=>KC(a,Ae);a.addEventListener("pagehide",E),ge=()=>a.removeEventListener("pagehide",E)}return z.initialized||da("POP",z.location,{initialHydration:!0}),pe}function ul(){b&&b(),ge&&ge(),S.clear(),I&&I.abort(),z.fetchers.forEach((E,D)=>ma(D)),z.blockers.forEach((E,D)=>Fi(D))}function xs(E){return S.add(E),()=>S.delete(E)}function At(E,D={}){E.matches&&(E.matches=E.matches.map($=>{let re=f[$.route.id],ee=$.route;return ee.element!==re.element||ee.errorElement!==re.errorElement||ee.hydrateFallbackElement!==re.hydrateFallbackElement?{...$,route:re}:$})),z={...z,...E};let B=[],K=[];z.fetchers.forEach(($,re)=>{$.state==="idle"&&(ut.has(re)?B.push(re):K.push(re))}),ut.forEach($=>{!z.fetchers.has($)&&!ne.has($)&&B.push($)}),[...S].forEach($=>$(z,{deletedFetchers:B,newErrors:E.errors??null,viewTransitionOpts:D.viewTransitionOpts,flushSync:D.flushSync===!0})),B.forEach($=>ma($)),K.forEach($=>z.fetchers.delete($))}function It(E,D,{flushSync:B}={}){var ve,fe;let K=z.actionData!=null&&z.navigation.formMethod!=null&&Gt(z.navigation.formMethod)&&z.navigation.state==="loading"&&((ve=E.state)==null?void 0:ve._isRedirect)!==!0,$;D.actionData?Object.keys(D.actionData).length>0?$=D.actionData:$=null:K?$=z.actionData:$=null;let re=D.loaderData?Hv(z.loaderData,D.loaderData,D.matches||[],D.errors):z.loaderData,ee=z.blockers;ee.size>0&&(ee=new Map(ee),ee.forEach((Se,Ee)=>ee.set(Ee,mr)));let oe=L?!1:Ts(E,D.matches||z.matches),ie=de===!0||z.navigation.formMethod!=null&&Gt(z.navigation.formMethod)&&((fe=E.state)==null?void 0:fe._isRedirect)!==!0;p&&(h=p,p=void 0),L||ae==="POP"||(ae==="PUSH"?n.history.push(E,E.state):ae==="REPLACE"&&n.history.replace(E,E.state));let te;if(ae==="POP"){let Se=Ae.get(z.location.pathname);Se&&Se.has(E.pathname)?te={currentLocation:z.location,nextLocation:E}:Ae.has(E.pathname)&&(te={currentLocation:E,nextLocation:z.location})}else if(ze){let Se=Ae.get(z.location.pathname);Se?Se.add(E.pathname):(Se=new Set([E.pathname]),Ae.set(z.location.pathname,Se)),te={currentLocation:z.location,nextLocation:E}}At({...D,actionData:$,loaderData:re,historyAction:ae,location:E,initialized:!0,renderFallback:!1,navigation:Md,revalidation:"idle",restoreScrollPosition:oe,preventScrollReset:ie,blockers:ee},{viewTransitionOpts:te,flushSync:B===!0}),ae="POP",de=!1,ze=!1,L=!1,Z=!1,J==null||J.resolve(),J=null,Wt==null||Wt.resolve(),Wt=null}async function fl(E,D){if(J==null||J.resolve(),J=null,typeof E=="number"){J||(J=Pv(
35));let Je=J.promise;return n.history.go(E),Je}let B=lh(z.location,z.matches,y,E,D==null?void 0:D.fromRouteId,D==null?void 0:D.relative),{path:K,submission:$,error:re}=Dv(!1,B,D),ee;D!=null&&D.unstable_mask&&(ee={pathname:"",search:"",hash:"",...typeof D.unstable_mask=="string"?ca(D.unstable_mask):{...z.location.unstable_mask,...D.unstable_mask}});let oe=z.location,ie=Vr(oe,K,D&&D.state,void 0,ee);ie={...ie,...n.history.encodeLocation(ie)};let te=D&&D.replace!=null?D.replace:void 0,ve="PUSH";te===!0?ve="REPLACE":te===!1||$!=null&&Gt($.formMethod)&&$.formAction===z.location.pathname+z.location.search&&(ve="REPLACE");let fe=D&&"preventScrollReset"in D?D.preventScrollReset===!0:void 0,Se=(D&&D.flushSync)===!0,Ee=zi({currentLocation:oe,nextLocation:ie,historyAction:ve});if(Ee){pa(Ee,{state:"blocked",location:ie,proceed(){pa(Ee,{state:"proceeding",proceed:void 0,reset:void 0,location:ie}),fl(E,D)},reset(){let Je=new Map(z.blockers);Je.set(Ee,mr),At({blockers:Je})}});return}await da(ve,ie,{submission:$,pendingError:re,preventScrollReset:fe,replace:D&&D.replace,enableViewTransition:D&&D.viewTransition,flushSync:Se,callSiteDefaultShouldRevalidate:D&&D.unstable_defaultShouldRevalidate})}function bs(){Wt||(Wt=Pv()),Ya(),At({revalidation:"loading"});let E=Wt.promise;return z.navigation.state==="submitting"?E:z.navigation.state==="idle"?(da(z.historyAction,z.location,{startUninterruptedRevalidation:!0}),E):(da(ae||z.historyAction,z.navigation.location,{overrideNavigation:z.navigation,enableViewTransition:ze===!0}),E)}async function da(E,D,B){I&&I.abort(),I=null,ae=E,L=(B&&B.startUninterruptedRevalidation)===!0,uu(z.location,z.matches),de=(B&&B.preventScrollReset)===!0,ze=(B&&B.enableViewTransition)===!0;let K=p||h,$=B&&B.overrideNavigation,re=B!=null&&B.initialHydration&&z.matches&&z.matches.length>0&&!_?z.matches:Ei(K,D,y),ee=(B&&B.flushSync)===!0;if(re&&z.initialized&&!Z&&kC(z.location,D)&&!(B&&B.submission&&Gt(B.submission.formMethod))){It(D,{matches:re},{flushSync:ee});return}let oe=Ka(re,K,D.pathname);if(oe.active&&oe.matches&&(re=oe.matches),!re){let{error:Ye,notFoundMatches:rt,route:De}=Hn(D.pathname);It(D,{matches:rt,loaderData:{},errors:{[De.id]:Ye}},{flushSync:ee});return}I=new AbortController;let ie=ts(n.history,D,I.signal,B&&B.submission),te=n.getContext?await n.getContext():new Tv,ve;if(B&&B.pendingError)ve=[ji(re).route.id,{type:"error",error:B.pendingError}];else if(B&&B.submission&&Gt(B.submission.formMethod)){let Ye=await Wr(ie,D,B.submission,re,te,oe.active,B&&B.initialHydration===!0,{replace:B.replace,flushSync:ee});if(Ye.shortCircuited)return;if(Ye.pendingActionResult){let[rt,De]=Ye.pendingActionResult;if(wn(De)&&Ur(De.error)&&De.error.status===404){I=null,It(D,{matches:Ye.matches,loaderData:{},errors:{[rt]:De.error}});return}}re=Ye.matches||re,ve=Ye.pendingActionResult,$=Nd(D,B.submission),ee=!1,oe.active=!1,ie=ts(n.history,ie.url,ie.signal)}let{shortCircuited:fe,matches:Se,loaderData:Ee,errors:Je}=await ws(ie,D,re,te,oe.active,$,B&&B.submission,B&&B.fetcherSubmission,B&&B.replace,B&&B.initialHydration===!0,ee,ve,B&&B.callSiteDefaultShouldRevalidate);fe||(I=null,It(D,{matches:Se||re,..._v(ve),loaderData:Ee,errors:Je}))}async function Wr(E,D,B,K,$,re,ee,oe={}){Ya();let ie=PC(D,B);if(At({navigation:ie},{flushSync:oe.flushSync===!0}),re){let fe=await Zn(K,D.pathname,E.signal);if(fe.type==="aborted")return{shortCircuited:!0};if(fe.type==="error"){if(fe.partialMatches.length===0){let{matches:Ee,route:Je}=gc(h);return{matches:Ee,pendingActionResult:[Je.id,{type:"error",error:fe.error}]}}let Se=ji(fe.partialMatches).route.id;return{matches:fe.partialMatches,pendingActionResult:[Se,{type:"error",error:fe.error}]}}else if(fe.matches)K=fe.matches;else{let{notFoundMatches:Se,error:Ee,route:Je}=Hn(D.pathname);return{matches:Se,pendingActionResult:[Je.id,{type:"error",error:Ee}]}}}let te,ve=Mc(K,D);if(!ve.route.action&&!ve.route.lazy)te={type:"error",error:On(405,{method:E.method,pathname:D.pathname,routeId:ve.route.id})};else{let fe=os(u,f,E,D,K,ve,ee?[]:r,$),Se=await Pa(E,D,fe,$,null);if(te=Se[ve.route.id],!te){for(let Ee of K)if(Se[Ee.route.id]){te=Se[
35Ee.route.id];break}}if(E.signal.aborted)return{shortCircuited:!0}}if(il(te)){let fe;return oe&&oe.replace!=null?fe=oe.replace:fe=Vv(te.response.headers.get("Location"),new URL(E.url),y,n.history)===z.location.pathname+z.location.search,await ha(E,te,!0,{submission:B,replace:fe}),{shortCircuited:!0}}if(wn(te)){let fe=ji(K,ve.route.id);return(oe&&oe.replace)!==!0&&(ae="PUSH"),{matches:K,pendingActionResult:[fe.route.id,te,ve.route.id]}}return{matches:K,pendingActionResult:[ve.route.id,te]}}async function ws(E,D,B,K,$,re,ee,oe,ie,te,ve,fe,Se){let Ee=re||Nd(D,ee),Je=ee||oe||Gv(Ee),Ye=!L&&!te;if($){if(Ye){let pt=dl(fe);At({navigation:Ee,...pt!==void 0?{actionData:pt}:{}},{flushSync:ve})}let Me=await Zn(B,D.pathname,E.signal);if(Me.type==="aborted")return{shortCircuited:!0};if(Me.type==="error"){if(Me.partialMatches.length===0){let{matches:_t,route:wt}=gc(h);return{matches:_t,loaderData:{},errors:{[wt.id]:Me.error}}}let pt=ji(Me.partialMatches).route.id;return{matches:Me.partialMatches,loaderData:{},errors:{[pt]:Me.error}}}else if(Me.matches)B=Me.matches;else{let{error:pt,notFoundMatches:_t,route:wt}=Hn(D.pathname);return{matches:_t,loaderData:{},errors:{[wt.id]:pt}}}}let rt=p||h,{dsMatches:De,revalidatingFetchers:bt}=Rv(E,K,u,f,n.history,z,B,Je,D,te?[]:r,te===!0,Z,W,ut,Ue,be,rt,y,n.patchRoutesOnNavigation!=null,fe,Se);if(xe=++he,!n.dataStrategy&&!De.some(Me=>Me.shouldLoad)&&!De.some(Me=>Me.route.middleware&&Me.route.middleware.length>0)&&bt.length===0){let Me=eo();return It(D,{matches:B,loaderData:{},errors:fe&&wn(fe[1])?{[fe[0]]:fe[1].error}:null,..._v(fe),...Me?{fetchers:new Map(z.fetchers)}:{}},{flushSync:ve}),{shortCircuited:!0}}if(Ye){let Me={};if(!$){Me.navigation=Ee;let pt=dl(fe);pt!==void 0&&(Me.actionData=pt)}bt.length>0&&(Me.fetchers=Ss(bt)),At(Me,{flushSync:ve})}bt.forEach(Me=>{Dt(Me.key),Me.controller&&ne.set(Me.key,Me.controller)});let et=()=>bt.forEach(Me=>Dt(Me.key));I&&I.signal.addEventListener("abort",et);let{loaderResults:Qa,fetcherResults:_n}=await Cs(De,bt,E,D,K);if(E.signal.aborted)return{shortCircuited:!0};I&&I.signal.removeEventListener("abort",et),bt.forEach(Me=>ne.delete(Me.key));let Rt=vc(Qa);if(Rt)return await ha(E,Rt.result,!0,{replace:ie}),{shortCircuited:!0};if(Rt=vc(_n),Rt)return be.add(Rt.key),await ha(E,Rt.result,!0,{replace:ie}),{shortCircuited:!0};let{loaderData:Jn,errors:Li}=Uv(z,B,Qa,fe,bt,_n);te&&z.errors&&(Li={...z.errors,...Li});let $n=eo(),Oi=to(xe),ml=$n||Oi||bt.length>0;return{matches:B,loaderData:Jn,errors:Li,...ml?{fetchers:new Map(z.fetchers)}:{}}}function dl(E){if(E&&!wn(E[1]))return{[E[0]]:E[1].data};if(z.actionData)return Object.keys(z.actionData).length===0?null:z.actionData}function Ss(E){return E.forEach(D=>{let B=z.fetchers.get(D.key),K=pr(void 0,B?B.data:void 0);z.fetchers.set(D.key,K)}),new Map(z.fetchers)}async function su(E,D,B,K){Dt(E);let $=(K&&K.flushSync)===!0,re=p||h,ee=lh(z.location,z.matches,y,B,D,K==null?void 0:K.relative),oe=Ei(re,ee,y),ie=Ka(oe,re,ee);if(ie.active&&ie.matches&&(oe=ie.matches),!oe){En(E,D,On(404,{pathname:ee}),{flushSync:$});return}let{path:te,submission:ve,error:fe}=Dv(!0,ee,K);if(fe){En(E,D,fe,{flushSync:$});return}let Se=n.getContext?await n.getContext():new Tv,Ee=(K&&K.preventScrollReset)===!0;if(ve&&Gt(ve.formMethod)){await ru(E,D,te,oe,Se,ie.active,$,Ee,ve,K&&K.unstable_defaultShouldRevalidate);return}Ue.set(E,{routeId:D,path:te}),await Pt(E,D,te,oe,Se,ie.active,$,Ee,ve)}async function ru(E,D,B,K,$,re,ee,oe,ie,te){Ya(),Ue.delete(E);let ve=z.fetchers.get(E);Un(E,YC(ie,ve),{flushSync:ee});let fe=new AbortController,Se=ts(n.history,B,fe.signal,ie);if(re){let tt=await Zn(K,new URL(Se.url).pathname,Se.signal,E);if(tt.type==="aborted")return;if(tt.type==="error"){En(E,D,tt.error,{flushSync:ee});return}else if(tt.matches)K=tt.matches;else{En(E,D,On(404,{pathname:B}),{flushSync:ee});return}}let Ee=Mc(K,B);if(!Ee.route.action&&!Ee.route.lazy){let tt=On(405,{method:ie.formMethod,pathname:B,routeId:D});En(E,D,tt,{flushSync:ee});return}ne.set(E,fe);let Je=he,Ye=os(u,f,Se,B,K,Ee,r,$),rt=await Pa(Se,B,Ye,$,E),De=rt[Ee.route.id];if(!De){for(let tt of Ye)if(rt[tt.route.id]){De=rt[tt.route.id];break}}if(Se.signal.aborted){ne.get(E)===fe&&ne.delete(E);return}if(ut.has(E)){if(il(De)||wn(De)){Un(E,_a(void 0));return}}else{if(il(De))if(ne.delete(E),xe>Je){Un(E,_a(void 0));return}else return be.add(E),Un(E,pr(ie)),ha(Se,De,!1,{fetcherSubmission:ie,preventScrollReset:oe});if(wn(De)){En(E,D,De.error);return}}let bt=z.navigation.location||z.location,et=ts(n.history,bt,fe.signal),Qa=p||h,_n=z.navigation.state!=="idle"?Ei(Qa,z.navigation.location,y):z.matches;je(_n,"Didn't find any matches after fetcher action");let Rt=++he;Ne.set(E,Rt);let Jn=pr(ie,De.data);z.fetchers.set(E,Jn);let{dsMatches:Li,revalidatingFetchers:$n}=Rv(et,$,u,f,n.history,z,_n,ie,bt,r,!1,Z,W,ut,Ue,be,Qa,y,n.patchRoutesOnNavigation!=null,[Ee.route.id,De],te);$n.filter(tt=>
35tt.key!==E).forEach(tt=>{let pl=tt.key,yl=z.fetchers.get(pl),lo=pr(void 0,yl?yl.data:void 0);z.fetchers.set(pl,lo),Dt(pl),tt.controller&&ne.set(pl,tt.controller)}),At({fetchers:new Map(z.fetchers)});let Oi=()=>$n.forEach(tt=>Dt(tt.key));fe.signal.addEventListener("abort",Oi);let{loaderResults:ml,fetcherResults:Me}=await Cs(Li,$n,et,bt,$);if(fe.signal.aborted)return;if(fe.signal.removeEventListener("abort",Oi),Ne.delete(E),ne.delete(E),$n.forEach(tt=>ne.delete(tt.key)),z.fetchers.has(E)){let tt=_a(De.data);z.fetchers.set(E,tt)}let pt=vc(ml);if(pt)return ha(et,pt.result,!1,{preventScrollReset:oe});if(pt=vc(Me),pt)return be.add(pt.key),ha(et,pt.result,!1,{preventScrollReset:oe});let{loaderData:_t,errors:wt}=Uv(z,_n,ml,void 0,$n,Me);to(Rt),z.navigation.state==="loading"&&Rt>xe?(je(ae,"Expected pending action"),I&&I.abort(),It(z.navigation.location,{matches:_n,loaderData:_t,errors:wt,fetchers:new Map(z.fetchers)})):(At({errors:wt,loaderData:Hv(z.loaderData,_t,_n,wt),fetchers:new Map(z.fetchers)}),Z=!1)}async function Pt(E,D,B,K,$,re,ee,oe,ie){let te=z.fetchers.get(E);Un(E,pr(ie,te?te.data:void 0),{flushSync:ee});let ve=new AbortController,fe=ts(n.history,B,ve.signal);if(re){let De=await Zn(K,new URL(fe.url).pathname,fe.signal,E);if(De.type==="aborted")return;if(De.type==="error"){En(E,D,De.error,{flushSync:ee});return}else if(De.matches)K=De.matches;else{En(E,D,On(404,{pathname:B}),{flushSync:ee});return}}let Se=Mc(K,B);ne.set(E,ve);let Ee=he,Je=os(u,f,fe,B,K,Se,r,$),Ye=await Pa(fe,B,Je,$,E),rt=Ye[Se.route.id];if(!rt){for(let De of K)if(Ye[De.route.id]){rt=Ye[De.route.id];break}}if(ne.get(E)===ve&&ne.delete(E),!fe.signal.aborted){if(ut.has(E)){Un(E,_a(void 0));return}if(il(rt))if(xe>Ee){Un(E,_a(void 0));return}else{be.add(E),await ha(fe,rt,!1,{preventScrollReset:oe});return}if(wn(rt)){En(E,D,rt.error);return}Un(E,_a(rt.data))}}async function ha(E,D,B,{submission:K,fetcherSubmission:$,preventScrollReset:re,replace:ee}={}){B||(J==null||J.resolve(),J=null),D.response.headers.has("X-Remix-Revalidate")&&(Z=!0);let oe=D.response.headers.get("Location");je(oe,"Expected a Location header on the redirect Response"),oe=Vv(oe,new URL(E.url),y,n.history);let ie=Vr(z.location,oe,{_isRedirect:!0});if(l){let Je=!1;if(D.response.headers.has("X-Remix-Reload-Document"))Je=!0;else if(Vh(oe)){const Ye=Ax(oe,!0);Je=Ye.origin!==a.location.origin||Cn(Ye.pathname,y)==null}if(Je){ee?a.location.replace(oe):a.location.assign(oe);return}}I=null;let te=ee===!0||D.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:ve,formAction:fe,formEncType:Se}=z.navigation;!K&&!$&&ve&&fe&&Se&&(K=Gv(z.navigation));let Ee=K||$;if(bC.has(D.response.status)&&Ee&&Gt(Ee.formMethod))await da(te,ie,{submission:{...Ee,formAction:oe},preventScrollReset:re||de,enableViewTransition:B?ze:void 0});else{let Je=Nd(ie,K);await da(te,ie,{overrideNavigation:Je,fetcherSubmission:$,preventScrollReset:re||de,enableViewTransition:B?ze:void 0})}}async function Pa(E,D,B,K,$){var oe;let re,ee={};try{re=await DC(v,E,D,B,$,K,!1)}catch(ie){return B.filter(te=>te.shouldLoad).forEach(te=>{ee[te.route.id]={type:"error",error:ie}}),ee}if(E.signal.aborted)return ee;if(!Gt(E.method))for(let ie of B){if(((oe=re[ie.route.id])==null?void 0:oe.type)==="error")break;!re.hasOwnProperty(ie.route.id)&&!z.loaderData.hasOwnProperty(ie.route.id)&&(!z.errors||!z.errors.hasOwnProperty(ie.route.id))&&ie.shouldCallHandler()&&(re[ie.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${ie.route.id}`)})}for(let[ie,te]of Object.entries(re))if(HC(te)){let ve=te.result;ee[ie]={type:"redirect",response:LC(ve,E,ie,B,y)}}else ee[ie]=await zC(te);return ee}async function Cs(E,D,B,K,$){let re=Pa(B,K,E,$,null),ee=Promise.all(D.map(async te=>{if(te.matches&&te.match&&te.request&&te.controller){let fe=(await Pa(te.request,te.path,te.matches,$,te.key))[te.match.route.id];return{[te.key]:fe}}else return Promise.resolve({[te.key]:{type:"error",error:On(404,{pathname:te.path})}})})),oe=await re,ie=(await ee).reduce((te,ve)=>Object.assign(te,ve),{});return{loaderResults:oe,fetcherResults:ie}}function Ya(){Z=!0,Ue.forEach((E,D)=>{ne.has(D)&&W.add(D),Dt(D)})}function Un(E,D,B={}){z.fetchers.set(E,D),At({fetchers:new Map(z.fetchers)},{flushSync:(B&&B.flushSync)===!0})}function En(E,D,B,K={}){let $=ji(z.matches,D);ma(E),At({errors:{[$.route.id]:B},fetchers:new Map(z.fetchers)},{flushSync:(K&&K.flushSync)===!0})}function Ir(E){return ct.set(E,(ct.get(E)||0)+1),ut.has(E)&&ut.delete(E),z.fetchers.get(E)||wC}function ou(E,D){Dt(E,D==null?void 0:D.reason),Un(E,_a(null))}function ma(E){let D=z.fetchers.get(E);ne.has(E)&&!(D&&D.state==="loading"&&Ne.has(E))&&Dt(E),Ue.delete(E),Ne.delete(E),be.delete(E),ut.delete(E),W.delete(E),z.fetchers.delete(E)}function Yt(E){let D=(ct.get(E)||0)-1;D<=0?(ct.delete(E),ut.add(E)):ct.set(E,D),At({fetchers:new Map(z.fetchers)})}function Dt(E,D){let B=ne.get(E);B&&(B.abort(D),ne.delete(E))}function Ht(E){for(let D of E){let B=Ir(D),K=_a(B.data);z.fetchers.set(D,K)}}function eo(){let E=[],D=!1;for(let B of be){let K=z.fetchers.get(B);je(K,`Expected fetcher: ${B}
35`),K.state==="loading"&&(be.delete(B),E.push(B),D=!0)}return Ht(E),D}function to(E){let D=[];for(let[B,K]of Ne)if(K<E){let $=z.fetchers.get(B);je($,`Expected fetcher: ${B}`),$.state==="loading"&&(Dt(B),Ne.delete(B),D.push(B))}return Ht(D),D.length>0}function cu(E,D){let B=z.blockers.get(E)||mr;return Tn.get(E)!==D&&Tn.set(E,D),B}function Fi(E){z.blockers.delete(E),Tn.delete(E)}function pa(E,D){let B=z.blockers.get(E)||mr;je(B.state==="unblocked"&&D.state==="blocked"||B.state==="blocked"&&D.state==="blocked"||B.state==="blocked"&&D.state==="proceeding"||B.state==="blocked"&&D.state==="unblocked"||B.state==="proceeding"&&D.state==="unblocked",`Invalid blocker state transition: ${B.state} -> ${D.state}`);let K=new Map(z.blockers);K.set(E,D),At({blockers:K})}function zi({currentLocation:E,nextLocation:D,historyAction:B}){if(Tn.size===0)return;Tn.size>1&&mt(!1,"A router only supports one blocker at a time");let K=Array.from(Tn.entries()),[$,re]=K[K.length-1],ee=z.blockers.get($);if(!(ee&&ee.state==="proceeding")&&re({currentLocation:E,nextLocation:D,historyAction:B}))return $}function Hn(E){let D=On(404,{pathname:E}),B=p||h,{matches:K,route:$}=gc(B);return{notFoundMatches:K,route:$,error:D}}function hl(E,D,B){if(j=E,A=D,N=B||null,!k&&z.navigation===Md){k=!0;let K=Ts(z.location,z.matches);K!=null&&At({restoreScrollPosition:K})}return()=>{j=null,A=null,N=null}}function Xa(E,D){return N&&N(E,D.map(K=>Mx(K,z.loaderData)))||E.key}function uu(E,D){if(j&&A){let B=Xa(E,D);j[B]=A()}}function Ts(E,D){if(j){let B=Xa(E,D),K=j[B];if(typeof K=="number")return K}return null}function Ka(E,D,B){if(n.patchRoutesOnNavigation)if(E){if(Object.keys(E[0].params).length>0)return{active:!0,matches:Nr(D,B,y,!0)}}else return{active:!0,matches:Nr(D,B,y,!0)||[]};return{active:!1,matches:null}}async function Zn(E,D,B,K){if(!n.patchRoutesOnNavigation)return{type:"success",matches:E};let $=E;for(;;){let re=p==null,ee=p||h,oe=f;try{await n.patchRoutesOnNavigation({signal:B,path:D,matches:$,fetcherKey:K,patch:(ve,fe)=>{B.aborted||Fv(ve,fe,ee,oe,u,!1)}})}catch(ve){return{type:"error",error:ve,partialMatches:$}}finally{re&&!B.aborted&&(h=[...h])}if(B.aborted)return{type:"aborted"};let ie=Ei(ee,D,y),te=null;if(ie){if(Object.keys(ie[0].params).length===0)return{type:"success",matches:ie};if(te=Nr(ee,D,y,!0),!(te&&$.length<te.length&&no($,te.slice(0,$.length))))return{type:"success",matches:ie}}if(te||(te=Nr(ee,D,y,!0)),!te||no($,te))return{type:"success",matches:null};$=te}}function no(E,D){return E.length===D.length&&E.every((B,K)=>B.route.id===D[K].route.id)}function ao(E){f={},p=Br(E,u,void 0,f)}function io(E,D,B=!1){let K=p==null;Fv(E,D,p||h,f,u,B),K&&(h=[...h],At({}))}return pe={get basename(){return y},get future(){return x},get state(){return z},get routes(){return h},get window(){return a},initialize:vs,subscribe:xs,enableScrollRestoration:hl,navigate:fl,fetch:su,revalidate:bs,createHref:E=>n.history.createHref(E),encodeLocation:E=>n.history.encodeLocation(E),getFetcher:Ir,resetFetcher:ou,deleteFetcher:Yt,dispose:ul,getBlocker:cu,deleteBlocker:Fi,patchRoutes:io,_internalFetchControllers:ne,_internalSetRoutes:ao,_internalSetStateDoNotUseOrYouWillBreakYourApp(E){At(E)}},n.unstable_instrumentations&&(pe=dC(pe,n.unstable_instrumentations.map(E=>E.router).filter(Boolean))),pe}function TC(n){return n!=null&&("formData"in n&&n.formData!=null||"body"in n&&n.body!==void 0)}function lh(n,a,l,r,o,u){let f,h;if(o){f=[];for(let y of a)if(f.push(y),y.route.id===o){h=y;break}}else f=a,h=a[a.length-1];let p=Wc(r||".",Bh(f),Cn(n.pathname,l)||n.pathname,u==="path");if(r==null&&(p.search=n.search,p.hash=n.hash),(r==null||r===""||r===".")&&h){let y=qh(p.search);if(h.route.index&&!y)p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&y){let v=new URLSearchParams(p.search),x=v.getAll("index");v.delete("index"),x.filter(S=>S).forEach(S=>v.append("index",S));let b=v.toString();p.search=b?`?${b}`:""}}return l!=="/"&&(p.pathname=sC({basename:l,pathname:p.pathname})),ra(p)}function Dv(n,a,l){if(!l||!TC(l))return{path:a};if(l.formMethod&&!GC(l.formMethod))return{path:a,error:On(405,{method:l.formMethod})};let r=()=>({path:a,error:On(400,{type:"invalid-body"})}),u=(l.formMethod||"get").toUpperCase(),f=Kx(a);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Gt(u))return r();
35let x=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((b,[S,j])=>`${b}${S}=${j} 36`,""):String(l.body);return{path:a,submission:{formMethod:u,formAction:f,formEncType:l.formEncType,formData:void 0,json:void 0,text:x}}}else if(l.formEncType==="application/json"){if(!Gt(u))return r();try{let x=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:a,submission:{formMethod:u,formAction:f,formEncType:l.formEncType,formData:void 0,json:x,text:void 0}}}catch{return r()}}}je(typeof FormData=="function","FormData is not available in this environment");let h,p;if(l.formData)h=rh(l.formData),p=l.formData;else if(l.body instanceof FormData)h=rh(l.body),p=l.body;else if(l.body instanceof URLSearchParams)h=l.body,p=Bv(h);else if(l.body==null)h=new URLSearchParams,p=new FormData;else try{h=new URLSearchParams(l.body),p=Bv(h)}catch{return r()}let y={formMethod:u,formAction:f,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:p,json:void 0,text:void 0};if(Gt(y.formMethod))return{path:a,submission:y};let v=ca(a);return n&&v.search&&qh(v.search)&&h.append("index",""),v.search=`?${h}`,{path:ra(v),submission:y}}function Rv(n,a,l,r,o,u,f,h,p,y,v,x,b,S,j,N,A,k,U,_,X){var ge;let Q=_?wn(_[1])?_[1].error:_[1].data:void 0,se=o.createURL(u.location),pe=o.createURL(p),z;if(v&&u.errors){let L=Object.keys(u.errors)[0];z=f.findIndex(Z=>Z.route.id===L)}else if(_&&wn(_[1])){let L=_[0];z=f.findIndex(Z=>Z.route.id===L)-1}let ae=_?_[1].statusCode:void 0,J=ae&&ae>=400,de={currentUrl:se,currentParams:((ge=u.matches[0])==null?void 0:ge.params)||{},nextUrl:pe,nextParams:f[0].params,...h,actionResult:Q,actionStatus:ae},I=Yr(f),ze=f.map((L,Z)=>{let{route:W}=L,ne=null;if(z!=null&&Z>z)ne=!1;else if(W.lazy)ne=!0;else if(!Hh(W))ne=!1;else if(v){let{shouldLoad:be}=Hx(W,u.loaderData,u.errors);ne=be}else EC(u.loaderData,u.matches[Z],L)&&(ne=!0);if(ne!==null)return sh(l,r,n,p,I,L,y,a,ne);let he=!1;typeof X=="boolean"?he=X:J?he=!1:(x||se.pathname+se.search===pe.pathname+pe.search||se.search!==pe.search||jC(u.matches[Z],L))&&(he=!0);let xe={...de,defaultShouldRevalidate:he},Ne=Rr(L,xe);return sh(l,r,n,p,I,L,y,a,Ne,xe,X)}),Ae=[];return j.forEach((L,Z)=>{if(v||!f.some(ct=>ct.route.id===L.routeId)||S.has(Z))return;let W=u.fetchers.get(Z),ne=W&&W.state!=="idle"&&W.data===void 0,he=Ei(A,L.path,k);if(!he){if(U&&ne)return;Ae.push({key:Z,routeId:L.routeId,path:L.path,matches:null,match:null,request:null,controller:null});return}if(N.has(Z))return;let xe=Mc(he,L.path),Ne=new AbortController,be=ts(o,L.path,Ne.signal),Ue=null;if(b.has(Z))b.delete(Z),Ue=os(l,r,be,L.path,he,xe,y,a);else if(ne)x&&(Ue=os(l,r,be,L.path,he,xe,y,a));else{let ct;typeof X=="boolean"?ct=X:J?ct=!1:ct=x;let ut={...de,defaultShouldRevalidate:ct};Rr(xe,ut)&&(Ue=os(l,r,be,L.path,he,xe,y,a,ut))}Ue&&Ae.push({key:Z,routeId:L.routeId,path:L.path,matches:Ue,match:xe,request:be,controller:Ne})}),{dsMatches:ze,revalidatingFetchers:Ae}}function Hh(n){return n.loader!=null||n.middleware!=null&&n.middleware.length>0}function Hx(n,a,l){if(n.lazy)return{shouldLoad:!0,renderFallback:!0};if(!Hh(n))return{shouldLoad:!1,renderFallback:!1};let r=a!=null&&n.id in a,o=l!=null&&l[n.id]!==void 0;if(!r&&o)return{shouldLoad:!1,renderFallback:!1};if(typeof n.loader=="function"&&n.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!r};let u=!r&&!o;return{shouldLoad:u,renderFallback:u}}function EC(n,a,l){let r=!a||l.route.id!==a.route.id,o=!n.hasOwnProperty(l.route.id);return r||o}function jC(n,a){let l=n.route.path;return n.pathname!==a.pathname||l!=null&&l.endsWith("*")&&n.params["*"]!==a.params["*"]}function Rr(n,a){if(n.route.shouldRevalidate){let l=n.route.shouldRevalidate(a);if(typeof l=="boolean")return l}return a.defaultShouldRevalidate}function Fv(n,a,l,r,o,u){let f;if(n){let y=r[n];je(y,`No route found to patch children into: routeId = ${n}`),y.children||(y.children=[]),f=y.children}else f=l;let h=[],p=[];if(a.forEach(y=>{let v=f.find(x=>_x(y,x));v?p.push({existingRoute:v,newRoute:y}):h.push(y)}),h.length>0){let y=Br(h,o,[n||"_","patch",String((f==null?void 0:f.length)||"0")],r);f.push(...y)}if(u&&p.length>0)for(let y=0;y<p.length;y++){let{existingRoute:v,newRoute:x}=p[y],b=v,[S]=Br([x],o,[],{},!0);Object.assign(b,{element:S.element?S.element:b.element,errorElement:S.errorElement?S.errorElement:b.errorElement,hydrateFallbackElement:S.hydrateFallbackElement?S.hydrateFallbackElement:b.hydrateFallbackElement})}}function _x(n,a){var l;return"id"in n&&"id"in a&&n.id===a.id?!0:n.index===a.index&&n.path===a.path&&n.caseSensitive===a.caseSensitive?(!n.children||n.children.length===0)&&(!a.children||a.children.length===0)?!0:((l=n.children)==null?void 0:l.every((r,o)=>{var u;return(u=a.children)==null?void 0:u.some(f=>_x(r,f))}))??!1:!1}var zv=new WeakMap,qx=({key:n,route:a,manifest:l,mapRouteProperties:r})=>{let o=l[a.id];if(je(o,"No route found in manifest"),!o.lazy||typeof o.lazy!="object")return;let u=o.lazy[n];if(!u)return;let f=zv.get(o);f||(f={},zv.set(o,f));let h=f[n];if(h)return h;let p=(async()=>{let y=PS(n),x=o[n]!==void 0&&n!=="hasErrorBoundary";if(y)mt(!y,"Route property "+n+" is not a supported lazy route property. This property will be ignored."),f[n]=Promise.resolve();else if(x)mt(!1,`Route "${o.id}" has a static property "${n}" defined. The lazy property will be ignored.`);else{let b=await u();b!=null&&(Object.assign(o,{[n]:b}),Object.assign(o,r(o)))}typeof o.lazy=="object"&&(o.lazy[n]=void 0,Object.values(o.lazy).every(b=>b===void 0)&&(o.lazy=void 0))})();return f[n]=p,p},Lv=new WeakMap;function AC(n,a,l,r,o){let u=l[n.id];if(je(u,"No route found in manifest"),!n.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof n.lazy=="function"){let v=Lv.get(u);if(v)return{lazyRoutePromise:v,lazyHandlerPromise:v};let x=(async()=>{je(typeof n.lazy=="function","No lazy route function found");let b=await n.lazy(),S={};for(let j in b){let N=b[j];if(N===void 0)continue;let A=XS(j),U=u[j]!==void 0&&j!=="hasErrorBoundary";A?mt(!A,"Route property "+j+" is not a supported property to be returned from a lazy route function. This property will be ignored."):U?mt(!U,`Route "${u.id}" has a static property "${j}" defined but its lazy function is also returning a value for this property. The lazy route property "${j}" will be ignored.`):S[j]=N}Object.assign(u,S),Object.assign(u,{...r(u),lazy:void 0})})();return Lv.set(u,x),x.catch(()=>{}),{lazyRoutePromise:x,lazyHandlerPromise:x}}let f=Object.keys(n.lazy),h=[],p;for(let v of f){if(o&&o.includes(v))continue;let x=qx({key:v,route:n,manifest:l,mapRouteProperties:r});x&&(h.push(x),v===a&&(p=x))}let y=h.length>0?Promise.all(h).then(()=>{}):void 0;return y==null||y.catch(()=>{}),p==null||p.catch(()=>{}),{lazyRoutePromise:y,lazyHandlerPromise:p}}async function Ov(n){let a=n.matches.filter(o=>o.shouldLoad),l={};return(await Promise.all(a.map(o=>
36o.resolve()))).forEach((o,u)=>{l[a[u].route.id]=o}),l}async function MC(n){return n.matches.some(a=>a.route.middleware)?Gx(n,()=>Ov(n)):Ov(n)}function Gx(n,a){return NC(n,a,r=>{if(qC(r))throw r;return r},BC,l);function l(r,o,u){if(u)return Promise.resolve(Object.assign(u.value,{[o]:{type:"error",result:r}}));{let{matches:f}=n,h=Math.min(Math.max(f.findIndex(y=>y.route.id===o),0),Math.max(f.findIndex(y=>y.shouldCallHandler()),0)),p=ji(f,f[h].route.id).route.id;return Promise.resolve({[p]:{type:"error",result:r}})}}}async function NC(n,a,l,r,o){let{matches:u,...f}=n,h=u.flatMap(y=>y.route.middleware?y.route.middleware.map(v=>[y.route.id,v]):[]);return await Px(f,h,a,l,r,o)}async function Px(n,a,l,r,o,u,f=0){let{request:h}=n;if(h.signal.aborted)throw h.signal.reason??new Error(`Request aborted: ${h.method} ${h.url}`);let p=a[f];if(!p)return await l();let[y,v]=p,x,b=async()=>{if(x)throw new Error("You may only call `next()` once per middleware");try{return x={value:await Px(n,a,l,r,o,u,f+1)},x.value}catch(S){return x={value:await u(S,y,x)},x.value}};try{let S=await v(n,b),j=S!=null?r(S):void 0;return o(j)?j:x?j??x.value:(x={value:await b()},x.value)}catch(S){return await u(S,y,x)}}function Yx(n,a,l,r,o){let u=qx({key:"middleware",route:r.route,manifest:a,mapRouteProperties:n}),f=AC(r.route,Gt(l.method)?"action":"loader",a,n,o);return{middleware:u,route:f.lazyRoutePromise,handler:f.lazyHandlerPromise}}function sh(n,a,l,r,o,u,f,h,p,y=null,v){let x=!1,b=Yx(n,a,l,u,f);return{...u,_lazyPromises:b,shouldLoad:p,shouldRevalidateArgs:y,shouldCallHandler(S){return x=!0,y?typeof v=="boolean"?Rr(u,{...y,defaultShouldRevalidate:v}):typeof S=="boolean"?Rr(u,{...y,defaultShouldRevalidate:S}):Rr(u,y):p},resolve(S){let{lazy:j,loader:N,middleware:A}=u.route,k=x||p||S&&!Gt(l.method)&&(j||N),U=A&&A.length>0&&!N&&!j;return k&&(Gt(l.method)||!U)?RC({request:l,path:r,unstable_pattern:o,match:u,lazyHandlerPromise:b==null?void 0:b.handler,lazyRoutePromise:b==null?void 0:b.route,handlerOverride:S,scopedContext:h}):Promise.resolve({type:"data",result:void 0})}}}function os(n,a,l,r,o,u,f,h,p=null){return o.map(y=>y.route.id!==u.route.id?{...y,shouldLoad:!1,shouldRevalidateArgs:p,shouldCallHandler:()=>!1,_lazyPromises:Yx(n,a,l,y,f),resolve:()=>Promise.resolve({type:"data",result:void 0})}:sh(n,a,l,r,Yr(o),y,f,h,!0,p))}async function DC(n,a,l,r,o,u,f){r.some(v=>{var x;return(x=v._lazyPromises)==null?void 0:x.middleware})&&await Promise.all(r.map(v=>{var x;return(x=v._lazyPromises)==null?void 0:x.middleware}));let h={request:a,unstable_url:Xx(a,l),unstable_pattern:Yr(r),params:r[0].params,context:u,matches:r},y=await n({...h,fetcherKey:o,runClientMiddleware:v=>{let x=h;return Gx(x,()=>v({...x,fetcherKey:o,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(r.flatMap(v=>{var x,b;return[(x=v._lazyPromises)==null?void 0:x.handler,(b=v._lazyPromises)==null?void 0:b.route]}))}catch{}return y}async function RC({request:n,path:a,unstable_pattern:l,match:r,lazyHandlerPromise:o,lazyRoutePromise:u,handlerOverride:f,scopedContext:h}){let p,y,v=Gt(n.method),x=v?"action":"loader",b=S=>{let j,N=new Promise((U,_)=>j=_);y=()=>j(),n.signal.addEventListener("abort",y);let A=U=>typeof S!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${x}" [routeId: ${r.route.id}]`)):S({request:n,unstable_url:Xx(n,a),unstable_pattern:l,params:r.params,context:h},...U!==void 0?[U]:[]),k=(async()=>{try{return{type:"data",result:await(f?f(_=>A(_)):A())}}catch(U){return{type:"error",result:U}}})();return Promise.race([k,N])};try{let S=v?r.route.action:r.route.loader;if(o||u)if(S){let j,[N]=await Promise.all([b(S).catch(A=>{j=A}),o,u]);if(j!==void 0)throw j;p=N}else{await o;let j=v?r.route.action:r.route.loader;if(j)[p]=await Promise.all([b(j),u]);else if(x==="action"){let N=new URL(n.url),A=N.pathname+N.search;throw On(405,{method:n.method,pathname:A,routeId:r.route.id})}else return{type:"data",result:void 0}}else if(S)p=await b(S);else{let j=new URL(n.url),N=j.pathname+j.search;throw On(404,{pathname:N})}}catch(S){return{type:"error",result:S}}finally{y&&n.signal.removeEventListener("abort",y)}return p}async function FC(n){let a=n.headers.get("Content-Type");return a&&/\bapplication\/json\b/.test(a)?n.body==null?null:n.json():n.text()}async function zC(n){var r,o,u,f,h;let{result:a,type:l}=n;if(_h(a)){let p;try{p=await FC(a)}catch(y){return{type:"error",error:y}}return l==="error"?{type:"error",error:new Pr(a.status,a.statusText,p),statusCode:a.status,headers:a.headers}:{type:"data",data:p,statusCode:a.status,headers:a.headers}}return l==="error"?qv(a)?a.data instanceof Error?{type:"error",error:a.data,statusCode:(r=a.init)==null?void 0:r.status,headers:(o=a.init)!=null&&o.headers?new Headers(a.init.headers):void 0}:{type:"error",error:VC(a),statusCode:Ur(a)?a.status:void 0,headers:(u=a.init)!=null&&u.headers?new Headers(a.init.headers):void 0}:{type:"error",error:a,statusCode:Ur(a)?a.status:void 0}:qv(a)?{type:"data",data:a.data,statusCode:(f=a.init)==null?void 0:f.status,headers:(h=a.init)!=null&&h.headers?new Headers(a.init.headers):void 0}:{type:"data",data:a}}function LC(n,a,l,r,o){let u=n.headers.get("Location");if(je(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!Vh(u)){let f=r.slice(0,r.findIndex(h=>h.route.id===l)+1);u=lh(new URL(a.url),f,o,u),n.headers.set("Location",u)}return n}var kv=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Vv(n,a,l,r){if(Vh(n)){let o=n,u=o.startsWith("//")?new URL(a.protocol+o):new URL(o);if(kv.includes(u.protocol))throw new Error("Invalid redirect location");let f=Cn(u.pathname,l)!=null;if(u.origin===a.origin&&f)return Uh(u.pathname)+u.search+u.hash}try{let o=r.createURL(n);if(kv.includes(o.protocol))throw new Error("Invalid redirect location")}catch{}return n}function ts(n,a,l,r){let o=n.createURL(Kx(a)).toString(),u={signal:l};if(r&&Gt(r.formMethod)){let{formMethod:f,formEncType:h}=r;u.method=f.toUpperCase(),h==="application/json"?(u.headers=new Headers({"Content-Type":h}),u.body=JSON.stringify(r.json)):h==="text/plain"?u.body=r.text:h==="application/x-www-form-urlencoded"&&r.formData?u.body=rh(r.formData):u.body=r.formData}
36return new Request(o,u)}function Xx(n,a){let l=new URL(n.url),r=typeof a=="string"?ca(a):a;if(l.pathname=r.pathname||"/",r.search){let o=new URLSearchParams(r.search),u=o.getAll("index");o.delete("index");for(let f of u.filter(Boolean))o.append("index",f);l.search=o.size?`?${o.toString()}`:""}else l.search="";return l.hash=r.hash||"",l}function rh(n){let a=new URLSearchParams;for(let[l,r]of n.entries())a.append(l,typeof r=="string"?r:r.name);return a}function Bv(n){let a=new FormData;for(let[l,r]of n.entries())a.append(l,r);return a}function OC(n,a,l,r=!1,o=!1){let u={},f=null,h,p=!1,y={},v=l&&wn(l[1])?l[1].error:void 0;return n.forEach(x=>{if(!(x.route.id in a))return;let b=x.route.id,S=a[b];if(je(!il(S),"Cannot handle redirect results in processLoaderData"),wn(S)){let j=S.error;if(v!==void 0&&(j=v,v=void 0),f=f||{},o)f[b]=j;else{let N=ji(n,b);f[N.route.id]==null&&(f[N.route.id]=j)}r||(u[b]=Ux),p||(p=!0,h=Ur(S.error)?S.error.status:500),S.headers&&(y[b]=S.headers)}else u[b]=S.data,S.statusCode&&S.statusCode!==200&&!p&&(h=S.statusCode),S.headers&&(y[b]=S.headers)}),v!==void 0&&l&&(f={[l[0]]:v},l[2]&&(u[l[2]]=void 0)),{loaderData:u,errors:f,statusCode:h||200,loaderHeaders:y}}function Uv(n,a,l,r,o,u){let{loaderData:f,errors:h}=OC(a,l,r);return o.filter(p=>!p.matches||p.matches.some(y=>y.shouldLoad)).forEach(p=>{let{key:y,match:v,controller:x}=p;if(x&&x.signal.aborted)return;let b=u[y];if(je(b,"Did not find corresponding fetcher result"),wn(b)){let S=ji(n.matches,v==null?void 0:v.route.id);h&&h[S.route.id]||(h={...h,[S.route.id]:b.error}),n.fetchers.delete(y)}else if(il(b))je(!1,"Unhandled fetcher revalidation redirect");else{let S=_a(b.data);n.fetchers.set(y,S)}}),{loaderData:f,errors:h}}function Hv(n,a,l,r){let o=Object.entries(a).filter(([,u])=>u!==Ux).reduce((u,[f,h])=>(u[f]=h,u),{});for(let u of l){let f=u.route.id;if(!a.hasOwnProperty(f)&&n.hasOwnProperty(f)&&u.route.loader&&(o[f]=n[f]),r&&r.hasOwnProperty(f))break}return o}function _v(n){return n?wn(n[1])?{actionData:{}}:{actionData:{[n[0]]:n[1].data}}:{}}function ji(n,a){return(a?n.slice(0,n.findIndex(r=>r.route.id===a)+1):[...n]).reverse().find(r=>r.route.hasErrorBoundary===!0)||n[0]}function gc(n){let a=n.length===1?n[0]:n.find(l=>l.index||!l.path||l.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function On(n,{pathname:a,routeId:l,method:r,type:o,message:u}={}){let f="Unknown Server Error",h="Unknown @remix-run/router error";return n===400?(f="Bad Request",r&&a&&l?h=`You made a ${r} request to "${a}" but did not provide a \`loader\` for route "${l}", so there is no way to handle the request.`:o==="invalid-body"&&(h="Unable to encode submission body")):n===403?(f="Forbidden",h=`Route "${l}" does not match URL "${a}"`):n===404?(f="Not Found",h=`No route matches URL "${a}"`):n===405&&(f="Method Not Allowed",r&&a&&l?h=`You made a ${r.toUpperCase()} request to "${a}" but did not provide an \`action\` for route "${l}", so there is no way to handle the request.`:r&&(h=`Invalid request method "${r.toUpperCase()}"`)),new Pr(n||500,f,new Error(h),!0)}function vc(n){let a=Object.entries(n);for(let l=a.length-1;l>=0;l--){let[r,o]=a[l];if(il(o))return{key:r,result:o}}}function Kx(n){let a=typeof n=="string"?ca(n):n;return ra({...a,hash:""})}function kC(n,a){return n.pathname!==a.pathname||n.search!==a.search?!1:n.hash===""?a.hash!=="":n.hash===a.hash?!0:a.hash!==""}function VC(n){var a,l;return new Pr(((a=n.init)==null?void 0:a.status)??500,((l=n.init)==null?void 0:l.statusText)??"Internal Server Error",n.data)}function BC(n){return n!=null&&typeof n=="object"&&Object.entries(n).every(([a,l])=>typeof a=="string"&&UC(l))}function UC(n){return n!=null&&typeof n=="object"&&"type"in n&&"result"in n&&(n.type==="data"||n.type==="error")}function HC(n){return _h(n.result)&&Vx.has(n.result.status)}function wn(n){return n.type==="error"}function il(n){return(n&&n.type)==="redirect"}function qv(n){return typeof n=="object"&&n!=null&&"type"in n&&"data"in n&&"init"in n&&n.type==="DataWithResponseInit"}function _h(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.headers=="object"&&typeof n.body<"u"}function _C(n){return Vx.has(n)}function qC(n){return _h(n)&&_C(n.status)&&n.headers.has("Location")}function GC(n){return xC.has(n.toUpperCase())}function Gt(n){return gC.has(n.toUpperCase())}function qh(n){return new URLSearchParams(n).getAll("index").some(a=>a==="")}
36function Mc(n,a){let l=typeof a=="string"?ca(a).search:a.search;if(n[n.length-1].route.index&&qh(l||""))return n[n.length-1];let r=Fx(n);return r[r.length-1]}function Gv(n){let{formMethod:a,formAction:l,formEncType:r,text:o,formData:u,json:f}=n;if(!(!a||!l||!r)){if(o!=null)return{formMethod:a,formAction:l,formEncType:r,formData:void 0,json:void 0,text:o};if(u!=null)return{formMethod:a,formAction:l,formEncType:r,formData:u,json:void 0,text:void 0};if(f!==void 0)return{formMethod:a,formAction:l,formEncType:r,formData:void 0,json:f,text:void 0}}}function Nd(n,a){return a?{state:"loading",location:n,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}:{state:"loading",location:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function PC(n,a){return{state:"submitting",location:n,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}function pr(n,a){return n?{state:"loading",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:a}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function YC(n,a){return{state:"submitting",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:a?a.data:void 0}}function _a(n){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:n}}function XC(n,a){try{let l=n.sessionStorage.getItem(Bx);if(l){let r=JSON.parse(l);for(let[o,u]of Object.entries(r||{}))u&&Array.isArray(u)&&a.set(o,new Set(u||[]))}}catch{}}function KC(n,a){if(a.size>0){let l={};for(let[r,o]of a)l[r]=[...o];try{n.sessionStorage.setItem(Bx,JSON.stringify(l))}catch(r){mt(!1,`Failed to save applied view transitions in sessionStorage (${r}).`)}}}function Pv(){let n,a,l=new Promise((r,o)=>{n=async u=>{r(u);try{await l}catch{}},a=async u=>{o(u);try{await l}catch{}}});return{promise:l,resolve:n,reject:a}}var cl=C.createContext(null);cl.displayName="DataRouter";var hs=C.createContext(null);hs.displayName="DataRouterState";var Qx=C.createContext(!1);function Zx(){return C.useContext(Qx)}var Gh=C.createContext({isTransitioning:!1});Gh.displayName="ViewTransition";var Jx=C.createContext(new Map);Jx.displayName="Fetchers";var QC=C.createContext(null);QC.displayName="Await";var un=C.createContext(null);un.displayName="Navigation";var Ic=C.createContext(null);Ic.displayName="Location";var ua=C.createContext({outlet:null,matches:[],isDataRoute:!1});ua.displayName="Route";var Ph=C.createContext(null);Ph.displayName="RouteError";var $x="REACT_ROUTER_ERROR",ZC="REDIRECT",JC="ROUTE_ERROR_RESPONSE";function $C(n){if(n.startsWith(`${$x}:${ZC}:{`))try{let a=JSON.parse(n.slice(28));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.location=="string"&&typeof a.reloadDocument=="boolean"&&typeof a.replace=="boolean")return a}catch{}}function WC(n){if(n.startsWith(`${$x}:${JC}:{`))try{let a=JSON.parse(n.slice(40));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string")return new Pr(a.status,a.statusText,a.data)}catch{}}function IC(n,{relative:a}={}){je(Xr(),"useHref() may be used only in the context of a <Router> component.");let{basename:l,navigator:r}=C.useContext(un),{hash:o,pathname:u,search:f}=Kr(n,{relative:a}),h=u;return l!=="/"&&(h=u==="/"?l:Vn([l,u])),r.createHref({pathname:h,search:f,hash:o})}function Xr(){return C.useContext(Ic)!=null}function Qn(){return je(Xr(),"useLocation() may be used only in the context of a <Router> component."),C.useContext(Ic).location}var Wx="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ix(n){C.useContext(un).static||C.useLayoutEffect(n)}function eT(){let{isDataRoute:n}=C.useContext(ua);return n?pT():tT()}function tT(){je(Xr(),"useNavigate() may be used only in the context of a <Router> component.");let n=C.useContext(cl),{basename:a,navigator:l}=C.useContext(un),{matches:r}=C.useContext(ua),{pathname:o}=Qn(),u=JSON.stringify(Bh(r)),f=C.useRef(!1);return Ix(()=>{f.current=!0}
36),C.useCallback((p,y={})=>{if(mt(f.current,Wx),!f.current)return;if(typeof p=="number"){l.go(p);return}let v=Wc(p,JSON.parse(u),o,y.relative==="path");n==null&&a!=="/"&&(v.pathname=v.pathname==="/"?a:Vn([a,v.pathname])),(y.replace?l.replace:l.push)(v,y.state,y)},[a,l,u,o,n])}var nT=C.createContext(null);function aT(n){let a=C.useContext(ua).outlet;return C.useMemo(()=>a&&C.createElement(nT.Provider,{value:n},a),[a,n])}function Kr(n,{relative:a}={}){let{matches:l}=C.useContext(ua),{pathname:r}=Qn(),o=JSON.stringify(Bh(l));return C.useMemo(()=>Wc(n,JSON.parse(o),r,a==="path"),[n,o,r,a])}function iT(n,a,l){je(Xr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=C.useContext(un),{matches:o}=C.useContext(ua),u=o[o.length-1],f=u?u.params:{},h=u?u.pathname:"/",p=u?u.pathnameBase:"/",y=u&&u.route;{let A=y&&y.path||"";nb(h,!y||A.endsWith("*")||A.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${A}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 37 38Please change the parent <Route path="${A}"> to <Route path="${A==="/"?"*":`${A}/*`}">.`)}let v=Qn(),x;x=v;let b=x.pathname||"/",S=b;if(p!=="/"){let A=p.replace(/^\//,"").split("/");S="/"+b.replace(/^\//,"").split("/").slice(A.length).join("/")}let j=Ei(n,{pathname:S});return mt(y||j!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),mt(j==null||j[j.length-1].route.element!==void 0||j[j.length-1].route.Component!==void 0||j[j.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.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.`),cT(j&&j.map(A=>Object.assign({},A,{params:Object.assign({},f,A.params),pathname:Vn([p,r.encodeLocation?r.encodeLocation(A.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathname]),pathnameBase:A.pathnameBase==="/"?p:Vn([p,r.encodeLocation?r.encodeLocation(A.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathnameBase])})),o,l)}function lT(){let n=mT(),a=Ur(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),l=n instanceof Error?n.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},u={padding:"2px 4px",backgroundColor:r},f=null;return console.error("Error handled by React Router default ErrorBoundary:",n),f=C.createElement(C.Fragment,null,C.createElement("p",null,"ð¿ Hey developer ð"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:u},"ErrorBoundary")," or"," ",C.createElement("code",{style:u},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},a),l?C.createElement("pre",{style:o},l):null,f)}var sT=C.createElement(lT,null),eb=class extends C.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,a){return a.location!==n.location||a.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:a.error,location:a.location,revalidation:n.revalidation||a.revalidation}}componentDidCatch(n,a){this.props.onError?this.props.onError(n,a):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const l=WC(n.digest);l&&(n=l)}let a=n!==void 0?C.createElement(ua.Provider,{value:this.props.routeContext},C.createElement(Ph.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?C.createElement(rT,{error:n},a):a}};eb.contextType=Qx;var Dd=new WeakMap;function rT({children:n,error:a}){let{basename:l}=C.useContext(un);if(typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){let r=$C(a.digest);if(r){let o=Dd.get(a);if(o)throw o;let u=Lx(r.location,l);if(zx&&!Dd.get(a))if(u.isExternal||r.reloadDocument)window.location.href=u.absoluteURL||u.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:r.replace}));throw Dd.set(a,f),f}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u.absoluteURL||u.to}`})}}return n}function oT({routeContext:n,match:a,children:l}){let r=C.useContext(cl);return r&&r.static&&r.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=a.route.id),C.createElement(ua.Provider,{value:n},l)}function cT(n,a=[],l){let r=l==null?void 0:l.state;if(n==null){if(!r)return null;if(r.errors)n=r.matches;else if(a.length===0&&!r.initialized&&r.matches.length>0)n=r.matches;else return null}let o=n,u=r==null?void 0:r.errors;if(u!=null){let v=o.findIndex(x=>x.route.id&&(u==null?void 0:u[x.route.id])!==void 0);je(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),o=o.slice(0,Math.min(o.length,v+1))}let f=!1,h=-1;if(l&&r){f=r.renderFallback;for(let v=0;v<o.length;v++){let x=o[v];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(h=v),x.route.id){let{loaderData:b,errors:S}
38=r,j=x.route.loader&&!b.hasOwnProperty(x.route.id)&&(!S||S[x.route.id]===void 0);if(x.route.lazy||j){l.isStatic&&(f=!0),h>=0?o=o.slice(0,h+1):o=[o[0]];break}}}}let p=l==null?void 0:l.onError,y=r&&p?(v,x)=>{var b,S;p(v,{location:r.location,params:((S=(b=r.matches)==null?void 0:b[0])==null?void 0:S.params)??{},unstable_pattern:Yr(r.matches),errorInfo:x})}:void 0;return o.reduceRight((v,x,b)=>{let S,j=!1,N=null,A=null;r&&(S=u&&x.route.id?u[x.route.id]:void 0,N=x.route.errorElement||sT,f&&(h<0&&b===0?(nb("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),j=!0,A=null):h===b&&(j=!0,A=x.route.hydrateFallbackElement||null)));let k=a.concat(o.slice(0,b+1)),U=()=>{let _;return S?_=N:j?_=A:x.route.Component?_=C.createElement(x.route.Component,null):x.route.element?_=x.route.element:_=v,C.createElement(oT,{match:x,routeContext:{outlet:v,matches:k,isDataRoute:r!=null},children:_})};return r&&(x.route.ErrorBoundary||x.route.errorElement||b===0)?C.createElement(eb,{location:r.location,revalidation:r.revalidation,component:N,error:S,children:U(),routeC
38ontext:{outlet:null,matches:k,isDataRoute:!0},onError:y}):U()},null)}function Yh(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function uT(n){let a=C.useContext(cl);return je(a,Yh(n)),a}function Xh(n){let a=C.useContext(hs);return je(a,Yh(n)),a}function fT(n){let a=C.useContext(ua);return je(a,Yh(n)),a}function Kh(n){let a=fT(n),l=a.matches[a.matches.length-1];return je(l.route.id,`${n} can only be used on routes that contain a unique "id"`),l.route.id}function dT(){return Kh("useRouteId")}function hT(){return Xh("useNavigation").navigation}function tb(){let{matches:n,loaderData:a}=Xh("useMatches");return C.useMemo(()=>n.map(l=>Mx(l,a)),[n,a])}function mT(){var r;let n=C.useContext(Ph),a=Xh("useRouteError"),l=Kh("useRouteError");return n!==void 0?n:(r=a.errors)==null?void 0:r[l]}function pT(){let{router:n}=uT("useNavigate"),a=Kh("useNavigate"),l=C.useRef(!1);return Ix(()=>{l.current=!0}),C.useCallback(async(o,u={})=>{mt(l.current,Wx),l.current&&(typeof o=="number"?await n.navigate(o):await n.navigate(o,{fromRouteId:a,...u}))},[n,a])}var Yv={};function nb(n,a,l){!a&&!Yv[n]&&(Yv[n]=!0,mt(!1,l))}var Xv={};function Kv(n,a){!n&&!Xv[a]&&(Xv[a]=!0,console.warn(a))}var yT="useOptimistic",Qv=cS[yT],gT=()=>{};function vT(n){return Qv?Qv(n):[n,gT]}function xT(n){let a={hasErrorBoundary:n.hasErrorBoundary||n.ErrorBoundary!=null||n.errorElement!=null};return n.Component&&(n.element&&mt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(a,{element:C.createElement(n.Component),Component:void 0})),n.HydrateFallback&&(n.hydrateFallbackElement&&mt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(a,{hydrateFallbackElement:C.createElement(n.HydrateFallback),HydrateFallback:void 0})),n.ErrorBoundary&&(n.errorElement&&mt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(a,{errorElement:C.createElement(n.ErrorBoundary),ErrorBoundary:void 0})),a}var bT=["HydrateFallback","hydrateFallbackElement"],wT=class{constructor(){this.status="pending",this.promise=new Promise((n,a)=>{this.resolve=l=>{this.status==="pending"&&(this.status="resolved",n(l))},this.reject=l=>{this.status==="pending"&&(this.status="rejected",a(l))}})}};function ST({router:n,flushSync:a,onError:l,unstable_useTransitions:r}){r=Zx()||r;let[u,f]=C.useState(n.state),[h,p]=vT(u),[y,v]=C.useState(),[x,b]=C.useState({isTransitioning:!1}),[S,j]=C.useState(),[N,A]=C.useState(),[k,U]=C.useState(),_=C.useRef(new Map),X=C.useCallback((ae,{deletedFetchers:J,newErrors:de,flushSync:I,viewTransitionOpts:ze})=>{de&&l&&Object.values(de).forEach(ge=>{var L;return l(ge,{location:ae.location,params:((L=ae.matches[0])==null?void 0:L.params)??{},unstable_pattern:Yr(ae.matches)})}),ae.fetchers.forEach((ge,L)=>{ge.data!==void 0&&_.current.set(L,ge.data)}),J.forEach(ge=>_.current.delete(ge)),Kv(I===!1||a!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let Ae=n.window!=null&&n.window.document!=null&&typeof n.window.document.startViewTransition=="function";if(Kv(ze==null||Ae,"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."),!ze||!Ae){a&&I?a(()=>f(ae)):r===!1?f(ae):C.startTransition(()=>{r===!0&&p(ge=>Zv(ge,ae)),f(ae)});return}if(a&&I){a(()=>{N&&(S==null||S.resolve(),N.skipTransition()),b({isTransitioning:!0,flushSync:!0,currentLocation:ze.currentLocation,nextLocation:ze.nextLocation})});let ge=n.window.document.startViewTransition(()=>{a(()=>f(ae))});ge.finished.finally(()=>{a(()=>{j(void 0),A(void 0),v(void 0),b({isTransitioning:!1})})}),a(()=>A(ge));return}N?(S==null||S.resolve(),N.skipTransition(),U({state:ae,currentLocation:ze.currentLocation,nextLocation:ze.nextLocation})):(v(ae),b({isTransitioning:!0,flushSync:!1,currentLocation:ze.currentLocation,nextLocation:ze.nextLocation}))},[n.window,a,N,S,r,p,l]);C.useLayoutEffect(()=>n.subscribe(X),[n,X]);let Q=h.initialized;C.useLayoutEffect(()=>{!Q&&n.state.initialized&&X(n.state,{deletedFetchers:[],flushSync:!1,newErrors:null})},[Q,X,n.state]),C.useEffect(()=>{x.isTransitioning&&!x.flushSync&&j(new wT)},[x]),C.useEffect(()=>{if(S&&y&&n.window){let ae=y,J=S.promise,de=n.window.document.startViewTransition(async()=>{r===!1?f(ae):C.startTransition(()=>{r===!0&&p(I=>Zv(I,ae)),f(ae)}
38),await J});de.finished.finally(()=>{j(void 0),A(void 0),v(void 0),b({isTransitioning:!1})}),A(de)}},[y,S,n.window,r,p]),C.useEffect(()=>{S&&y&&h.location.key===y.location.key&&S.resolve()},[S,N,h.location,y]),C.useEffect(()=>{!x.isTransitioning&&k&&(v(k.state),b({isTransitioning:!0,flushSync:!1,currentLocation:k.currentLocation,nextLocation:k.nextLocation}),U(void 0))},[x.isTransitioning,k]);let se=C.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:ae=>n.navigate(ae),push:(ae,J,de)=>n.navigate(ae,{state:J,preventScrollReset:de==null?void 0:de.preventScrollReset}),replace:(ae,J,de)=>n.navigate(ae,{replace:!0,state:J,preventScrollReset:de==null?void 0:de.preventScrollReset})}),[n]),pe=n.basename||"/",z=C.useMemo(()=>({router:n,navigator:se,static:!1,basename:pe,onError:l}),[n,se,pe,l]);return C.createElement(C.Fragment,null,C.createElement(cl.Provider,{value:z},C.createElement(hs.Provider,{value:h},C.createElement(Jx.Provider,{value:_.current},C.createElement(Gh.Provider,{value:x},C.createElement(jT,{basename:pe,location:h.location,navigationType:h.historyAction,navigator:se,unstable_useTransitions:r},C.createElement(CT,{routes:n.routes,future:n.future,state:h,isStatic:!1,onError:l})))))),null)}function Zv(n,a){return{...n,navigation:a.navigation.state!=="idle"?a.navigation:n.navigation,revalidation:a.revalidation!=="idle"?a.revalidation:n.revalidation,actionData:a.navigation.state!=="submitting"?a.actionData:n.actionData,fetchers:a.fetchers}}var CT=C.memo(TT);function TT({routes:n,future:a,state:l,isStatic:r,onError:o}){return iT(n,void 0,{state:l,isStatic:r,onError:o})}function ET(n){return aT(n.context)}function jT({basename:n="/",children:a=null,location:l,navigationType:r="POP",navigator:o,static:u=!1,unstable_useTransitions:f}){je(!Xr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),p=C.useMemo(()=>({basename:h,navigator:o,static:u,unstable_useTransitions:f,future:{}}),[h,o,u,f]);typeof l=="string"&&(l=ca(l));let{pathname:y="/",search:v="",hash:x="",state:b=null,key:S="default",unstable_mask:j}=l,N=C.useMemo(()=>{let A=Cn(y,h);return A==null?null:{location:{pathname:A,search:v,hash:x,state:b,key:S,unstable_mask:j},navigationType:r}},[h,y,v,x,b,S,r,j]);return mt(N!=null,`<Router basename="${h}"> is not able to match the URL "${y}${v}${x}" because it does not start with the basename, so the <Router> won't render anything.`),N==null?null:C.createElement(un.Provider,{value:p},C.createElement(Ic.Provider,{children:a,value:N}))}var Nc="get",Dc="application/x-www-form-urlencoded";function eu(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function AT(n){return eu(n)&&n.tagName.toLowerCase()==="button"}function MT(n){return eu(n)&&n.tagName.toLowerCase()==="form"}function NT(n){return eu(n)&&n.tagName.toLowerCase()==="input"}function DT(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function RT(n,a){return n.button===0&&(!a||a==="_self")&&!DT(n)}var xc=null;function FT(){if(xc===null)try{new FormData(document.createElement("form"),0),xc=!1}catch{xc=!0}return xc}var zT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Rd(n){return n!=null&&!zT.has(n)?(mt(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Dc}"`),null):n}function LT(n,a){let l,r,o,u,f;if(MT(n)){let h=n.getAttribute("action");r=h?Cn(h,a):null,l=n.getAttribute("method")||Nc,o=Rd(n.getAttribute("enctype"))||Dc,u=new FormData(n)}else if(AT(n)||NT(n)&&(n.type==="submit"||n.type==="image")){let h=n.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=n.getAttribute("formaction")||h.getAttribute("action");if(r=p?Cn(p,a):null,l=n.getAttribute("formmethod")||h.getAttribute("method")||Nc,o=Rd(n.getAttribute("formenctype"))||Rd(h.getAttribute("enctype"))||Dc,u=new FormData(h,n),!FT()){let{name:y,type:v,value:x}=n;if(v==="image"){let b=y?`${y}.`:"";u.append(`${b}x`,"0"),u.append(`${b}y`,"0")}else y&&u.append(y,x)}}else{if(eu(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');l=Nc,r=null,o=Dc,f=n}return u&&o==="text/plain"&&(f=u,u=void 0),{action:r,method:l.toLowerCase(),encType:o,formData:u,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var OT={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},kT=/[&><\u2028\u2029]/g;function Jv(n){return n.replace(kT,a=>OT[a])}function Qh(n,a){if(n===!1||n===null||typeof n>"u")throw new Error(a)}function ab(n,a,l,r){let o=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return l?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:o.pathname==="/"?o.pathname=`_root.${r}`:a&&Cn(o.pathname,a)==="/"?o.pathname=`${_c(a)}/_root.${r}`:o.pathname=`${_c(o.pathname)}.${r}`,o}async function VT(n,a){if(n.id in a)return a[n.id];try{let l=await import(n.module);return a[n.id]=l,l}catch(l){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(l),window.__reactRouterContext&&window.__reactRouterContext.
38isSpaMode,window.location.reload(),new Promise(()=>{})}}function BT(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function UT(n,a,l){let r=await Promise.all(n.map(async o=>{let u=a.routes[o.route.id];if(u){let f=await VT(u,l);return f.links?f.links():[]}return[]}));return GT(r.flat(1).filter(BT).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function $v(n,a,l,r,o,u){let f=(p,y)=>l[y]?p.route.id!==l[y].route.id:!0,h=(p,y)=>{var v;return l[y].pathname!==p.pathname||((v=l[y].route.path)==null?void 0:v.endsWith("*"))&&l[y].params["*"]!==p.params["*"]};return u==="assets"?a.filter((p,y)=>f(p,y)||h(p,y)):u==="data"?a.filter((p,y)=>{var x;let v=r.routes[p.route.id];if(!v||!v.hasLoader)return!1;if(f(p,y)||h(p,y))return!0;if(p.route.shouldRevalidate){let b=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((x=l[0])==null?void 0:x.params)||{},nextUrl:new URL(n,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function HT(n,a,{includeHydrateFallback:l}={}){return _T(n.map(r=>{let o=a.routes[r.route.id];if(!o)return[];let u=[o.module];return o.clientActionModule&&(u=u.concat(o.clientActionModule)),o.clientLoaderModule&&(u=u.concat(o.clientLoaderModule)),l&&o.hydrateFallbackModule&&(u=u.concat(o.hydrateFallbackModule)),o.imports&&(u=u.concat(o.imports)),u}).flat(1))}function _T(n){return[...new Set(n)]}function qT(n){let a={},l=Object.keys(n).sort();for(let r of l)a[r]=n[r];return a}function GT(n,a){let l=new Set;
38return new Set(a),n.reduce((r,o)=>{let u=JSON.stringify(qT(o));return l.has(u)||(l.add(u),r.push({key:u,link:o})),r},[])}function Zh(){let n=C.useContext(cl);return Qh(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function PT(){let n=C.useContext(hs);return Qh(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var tu=C.createContext(void 0);tu.displayName="FrameworkContext";function Jh(){let n=C.useContext(tu);return Qh(n,"You must render this element inside a <HydratedRouter> element"),n}function YT(n,a){let l=C.useContext(tu),[r,o]=C.useState(!1),[u,f]=C.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:y,onMouseLeave:v,onTouchStart:x}=a,b=C.useRef(null);C.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let N=k=>{k.forEach(U=>{f(U.isIntersecting)})},A=new IntersectionObserver(N,{threshold:.5});return b.current&&A.observe(b.current),()=>{A.disconnect()}}},[n]),C.useEffect(()=>{if(r){let N=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(N)}}},[r]);let S=()=>{o(!0)},j=()=>{o(!1),f(!1)};return l?n!=="intent"?[u,b,{}]:[u,b,{onFocus:yr(h,S),onBlur:yr(p,j),onMouseEnter:yr(y,S),onMouseLeave:yr(v,j),onTouchStart:yr(x,S)}]:[!1,b,{}]}function yr(n,a){return l=>{n&&n(l),l.defaultPrevented||a(l)}}function XT({page:n,...a}){let l=Zx(),{router:r}=Zh(),o=C.useMemo(()=>Ei(r.routes,n,r.basename),[r.routes,n,r.basename]);return o?l?C.createElement(QT,{page:n,matches:o,...a}):C.createElement(ZT,{page:n,matches:o,...a}):null}function KT(n){let{manifest:a,routeModules:l}=Jh(),[r,o]=C.useState([]);return C.useEffect(()=>{let u=!1;return UT(n,a,l).then(f=>{u||o(f)}),()=>{u=!0}},[n,a,l]),r}function QT({page:n,matches:a,...l}){let r=Qn(),{future:o}=Jh(),{basename:u}=Zh(),f=C.useMemo(()=>{if(n===r.pathname+r.search+r.hash)return[];let h=ab(n,u,o.unstable_trailingSlashAwareDataRequests,"rsc"),p=!1,y=[];for(let v of a)typeof v.route.shouldRevalidate=="function"?p=!0:y.push(v.route.id);return p&&y.length>0&&h.searchParams.set("_routes",y.join(",")),[h.pathname+h.search]},[u,o.unstable_trailingSlashAwareDataRequests,n,r,a]);return C.createElement(C.Fragment,null,f.map(h=>C.createElement("link",{key:h,rel:"prefetch",as:"fetch",href:h,...l})))}function ZT({page:n,matches:a,...l}){let r=Qn(),{future:o,manifest:u,routeModules:f}=Jh(),{basename:h}=Zh(),{loaderData:p,matches:y}=PT(),v=C.useMemo(()=>$v(n,a,y,u,r,"data"),[n,a,y,u,r]),x=C.useMemo(()=>$v(n,a,y,u,r,"assets"),[n,a,y,u,r]),b=C.useMemo(()=>{if(n===r.pathname+r.search+r.hash)return[];let N=new Set,A=!1;if(a.forEach(U=>{var X;let _=u.routes[U.route.id];!_||!_.hasLoader||(!v.some(Q=>Q.route.id===U.route.id)&&U.route.id in p&&((X=f[U.route.id])!=null&&X.shouldRevalidate)||_.hasClientLoader?A=!0:N.add(U.route.id))}),N.size===0)return[];let k=ab(n,h,o.unstable_trailingSlashAwareDataRequests,"data");return A&&N.size>0&&k.searchParams.set("_routes",a.filter(U=>N.has(U.route.id)).map(U=>U.route.id).join(",")),[k.pathname+k.search]},[h,o.unstable_trailingSlashAwareDataRequests,p,r,u,v,a,n,f]),S=C.useMemo(()=>HT(x,u),[x,u]),j=KT(x);return C.createElement(C.Fragment,null,b.map(N=>C.createElement("link",{key:N,rel:"prefetch",as:"fetch",href:N,...l})),S.map(N=>C.createElement("link",{key:N,rel:"modulepreload",href:N,...l})),j.map(({key:N,link:A})=>C.createElement("link",{key:N,nonce:l.nonce,...A,crossOrigin:A.crossOrigin??l.crossOrigin})))}function JT(...n){return a=>{n.forEach(l=>{typeof l=="function"?l(a):l!=null&&(l.current=a)})}}var $T=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{$T&&(window.__reactRouterVersion="7.14.2")}catch{}function WT(n,a){return CC({basename:a==null?void 0:a.basename,getContext:a==null?void 0:a.getContext,future:a==null?void 0:a.future,history:HS({window:a==null?void 0:a.window}),hydrationData:IT(),routes:n,mapRouteProperties:xT,hydrationRouteProperties:bT,dataStrategy:a==null?void 0:a.dataStrategy,patchRoutesOnNavigation:a==null?void 0:a.patchRoutesOnNavigation,window:a==null?void 0:a.window,unstable_instrumentations:a==null?void 0:a.unstable_instrumentations}).initialize()}function IT(){let n=window==null?void 0:window.__staticRouterHydrationData;return n&&n.errors&&(n={...n,errors:eE(n.errors)}),n}function eE(n){if(!n)return null;let a=Object.entries(n),l={};for(let[r,o]of a)if(o&&o.__type==="RouteErrorResponse")l[r]=new Pr(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let u=window[o.__subType];if(typeof u=="function")try{let f=new u(o.message);f.stack="",l[r]=f}catch{}}if(l[r]==null){let u=new Error(o.message);u.stack="",l[r]=u}}else l[r]=o;return l}var ib=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$h=C.forwardRef(function({onClick:a,discover:l="render",prefetch:r="none",relative:o,reloadDocument:u,replace:f,unstable_mask:h,state:p,target:y,to:v,preventScrollReset:x,viewTransition:b,unstable_defaultShouldRevalidate:S,...j},N){let{basename:A,navigator:k,unstable_useTransitions:U}=C.useContext(un),_=typeof v=="string"&&ib.test(v),X=Lx(v,A);v=X.to;let Q=IC(v,{relative:o}),se=Qn(),pe=null;if(h){let ge=Wc(h,[],se.unstable_mask?se.unstable_mask.pathname:"/",!0);A!=="/"&&(ge.pathname=ge.pathname==="/"?A:Vn([A,ge.pathname])),pe=k.createHref(ge)}let[z,ae,J]=YT(r,j),de=iE(v,{replace:f,unstable_mask:h,state:p,target:y,preventScrollReset:x,relative:o,viewTransition:b,unstable_defaultShouldRevalidate:S,unstable_useTransitions:U});function I(ge){a&&a(ge),ge.defaultPrevented||de(ge)}let ze=!(X.isExternal||u),Ae=C.createElement("a",{...j,...J,href:(ze?pe:void 0)||X.absoluteURL||Q,onClick:ze?I:a,ref:JT(N,ae),target:y,"data-discover":!_&&l==="render"?"true":void 0});return z&&!_?C.createElement(C.Fragment,null,Ae,C.createElement(XT,{page:Q})):Ae});$h.displayName="Link";var tE=C.forwardRef(function({"aria-current":a="page",caseSensitive:l=!1,className:r="",end:o=!1,style:u,to:f,viewTransition:h,children:p,...y},v){let x=Kr(f,{relative:y.relative}),b=Qn(),S=C.useContext(hs),{navigator:j,basename:N}=C.useContext(un),A=S!=null&&fE(x)&&h===!0,k=j.encodeLocation?j.encodeLocation(x).pathname:x.pathname,U=b.pathname,_=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;l||(U=U.toLowerCase(),_=_?_.toLowerCase():null,k=k.toLowerCase()),_&&N&&(_=Cn(_,N)||_);const X=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let Q=U===k||!o&&U.startsWith(k)&&U.charAt(X)==="/",se=_!=null&&(_===k||!o&&_.startsWith(k)&&_.charAt(k.length)==="/"),pe={isActive:Q,isPending:se,isTransitioning:A},z=Q?a:void 0,ae;typeof r=="function"?ae=r(pe):ae=[r,Q?"active":null,se?"pending":null,A?"transitioning":null].filter(
38Boolean).join(" ");let J=typeof u=="function"?u(pe):u;return C.createElement($h,{...y,"aria-current":z,className:ae,ref:v,style:J,to:f,viewTransition:h},typeof p=="function"?p(pe):p)});tE.displayName="NavLink";var nE=C.forwardRef(({discover:n="render",fetcherKey:a,navigate:l,reloadDocument:r,replace:o,state:u,method:f=Nc,action:h,onSubmit:p,relative:y,preventScrollReset:v,viewTransition:x,unstable_defaultShouldRevalidate:b,...S},j)=>{let{unstable_useTransitions:N}=C.useContext(un),A=rE(),k=oE(h,{relative:y}),U=f.toLowerCase()==="get"?"get":"post",_=typeof h=="string"&&ib.test(h),X=Q=>{if(p&&p(Q),Q.defaultPrevented)return;Q.preventDefault();let se=Q.nativeEvent.submitter,pe=(se==null?void 0:se.getAttribute("formmethod"))||f,z=()=>A(se||Q.currentTarget,{fetcherKey:a,method:pe,navigate:l,replace:o,state:u,relative:y,preventScrollReset:v,viewTransition:x,unstable_defaultShouldRevalidate:b});N&&l!==!1?C.startTransition(()=>z()):z()};return C.createElement("form",{ref:j,method:U,action:k,onSubmit:r?p:X,...S,"data-discover":!_&&n==="render"?"true":void 0})});nE.displayName="Form";function lb({getKey:n,storageKey:a,...l}){let r=C.useContext(tu),{basename:o}=C.useContext(un),u=Qn(),f=tb();cE({getKey:n,storageKey:a});let h=C.useMemo(()=>{if(!r||!n)return null;let y=ch(u,f,o,n);return y!==u.key?y:null},[]);if(!r||r.isSpaMode)return null;let p=((y,v)=>{if(!window.history.state||!window.history.state.key){let x=Math.random().toString(32).slice(2);window.history.replaceState({key:x},"")}try{let b=JSON.parse(sessionStorage.getItem(y)||"{}")[v||window.history.state.key];typeof b=="number"&&window.scrollTo(0,b)}catch(x){console.error(x),sessionStorage.removeItem(y)}}).toString();return C.createElement("script",{...l,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${p})(${Jv(JSON.stringify(a||oh))}, ${Jv(JSON.stringify(h))})`}})}lb.displayName="ScrollRestoration";function sb(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Wh(n){let a=C.useContext(cl);return je(a,sb(n)),a}function aE(n){let a=C.useContext(hs);return je(a,sb(n)),a}function iE(n,{target:a,replace:l,unstable_mask:r,state:o,preventScrollReset:u,relative:f,viewTransition:h,unstable_defaultShouldRevalidate:p,unstable_useTransitions:y}={}){let v=eT(),x=Qn(),b=Kr(n,{relative:f});return C.useCallback(S=>{if(RT(S,a)){S.preventDefault();let j=l!==void 0?l:ra(x)===ra(b),N=()=>v(n,{replace:j,unstable_mask:r,state:o,preventScrollReset:u,relative:f,viewTransition:h,unstable_defaultShouldRevalidate:p});y?C.startTransition(()=>N()):N()}},[x,v,b,l,r,o,a,n,u,f,h,p,y])}var lE=0,sE=()=>`__${String(++lE)}__`;function rE(){let{router:n}=Wh("useSubmit"),{basename:a}=C.useContext(un),l=dT(),r=n.fetch,o=n.navigate;return C.useCallback(async(u,f={})=>{let{action:h,method:p,encType:y,formData:v,body:x}=LT(u,a);if(f.navigate===!1){let b=f.fetcherKey||sE();await r(b,l,f.action||h,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:v,body:x,formMethod:f.method||p,formEncType:f.encType||y,flushSync:f.flushSync})}else await o(f.action||h,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:v,body:x,formMethod:f.method||p,formEncType:f.encType||y,replace:f.replace,state:f.state,fromRouteId:l,flushSync:f.flushSync,viewTransition:f.viewTransition})},[r,o,a,l])}function oE(n,{relative:a}={}){let{basename:l}=C.useContext(un),r=C.useContext(ua);je(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),u={...Kr(n||".",{relative:a})},f=Qn();if(n==null){u.search=f.search;let h=new URLSearchParams(u.search),p=h.getAll("index");if(p.some(v=>v==="")){h.delete("index"),p.filter(x=>x).forEach(x=>h.append("index",x));let v=h.toString();u.search=v?`?${v}`:""}}return(!n||n===".")&&o.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),l!=="/"&&(u.pathname=u.pathname==="/"?l:Vn([l,u.pathname])),ra(u)}var oh="react-router-scroll-positions",bc={};function ch(n,a,l,r){let o=null;return r&&(l!=="/"?o=r({...n,pathname:Cn(n.pathname,l)||n.pathname},a):o=r(n,a)),o==null&&(o=n.key),o}function cE({getKey:n,storageKey:a}={}){let{router:l}=Wh("useScrollRestoration"),{restoreScrollPosition:r,preventScrollReset:o}
38=aE("useScrollRestoration"),{basename:u}=C.useContext(un),f=Qn(),h=tb(),p=hT();C.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),uE(C.useCallback(()=>{if(p.state==="idle"){let y=ch(f,h,u,n);bc[y]=window.scrollY}try{sessionStorage.setItem(a||oh,JSON.stringify(bc))}catch(y){mt(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${y}).`)}window.history.scrollRestoration="auto"},[p.state,n,u,f,h,a])),typeof document<"u"&&(C.useLayoutEffect(()=>{try{let y=sessionStorage.getItem(a||oh);y&&(bc=JSON.parse(y))}catch{}},[a]),C.useLayoutEffect(()=>{let y=l==null?void 0:l.enableScrollRestoration(bc,()=>window.scrollY,n?(v,x)=>ch(v,x,u,n):void 0);return()=>y&&y()},[l,u,n]),C.useLayoutEffect(()=>{if(r!==!1){if(typeof r=="number"){window.scrollTo(0,r);return}try{if(f.hash){let y=document.getElementById(decodeURIComponent(f.hash.slice(1)));if(y){y.scrollIntoView();return}}}catch{mt(!1,`"${f.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}o!==!0&&window.scrollTo(0,0)}},[f,r,o]))}function uE(n,a){let{capture:l}={};C.useEffect(()=>{let r=l!=null?{capture:l}:void 0;return window.addEventListener("pagehide",n,r),()=>{window.removeEventListener("pagehide",n,r)}},[n,l])}function fE(n,{relative:a}={}){let l=C.useContext(Gh);je(l!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Wh("useViewTransitionState"),o=Kr(n,{relative:a});if(!l.isTransitioning)return!1;let u=Cn(l.currentLocation.pathname,r)||l.currentLocation.pathname,f=Cn(l.nextLocation.pathname,r)||l.nextLocation.pathname;return Hc(o.pathname,f)!=null||Hc(o.pathname,u)!=null}function dE(n){return C.createElement(ST,{flushSync:hS.flushSync,...n})}class hE extends C.Component{constructor(a){super(a),this.state={hasError:!1}}static getDerivedStateFromError(a){return{hasError:!0}}componentDidCatch(a,l){console.warn("CookieBanner error boundary caught an error:",a,l)}render(){return this.state.hasError?null:this.props.children}}const mE=[{label:"Home",href:"/"},{label:"About Us",href:"/#about"},{label:"Commercial",href:"/#services"},{label:"Service",href:"/commercial-service"},{label:"Process Piping",href:"/#process-piping"},{label:"Residential",href:"/#services"},{label:"Project Portfolio",href:"/recent-projects"},{label:"Employment",href:"/employment"},{label:"Contact Us",href:"/contact"}];function pE(){return m.jsxs("footer",{style:{backgroundColor:"#0099A8",color:"#FFFFFF"},children:[m.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16",children:m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12",children:[m.jsxs("div",{children:[m.jsx("a",{href:"/",className:"flex items-center mb-5",children:m.jsx("img",{src:"/assets/Aqualine_FINAL_Logoblack_7.11.png",alt:"Aqualine Piping",className:"h-20 w-auto object-contain shrink-0",style:{filter:"brightness(0) invert(1)"}})}),m.jsx("p",{className:"text-sm font-semibold",style:{color:"#FFFFFF",fontFamily:"var(--font-sans)"},children:"Family Owned & Operated"}),m.jsxs("p",{className:"text-sm mt-1",style:{color:"rgba(255,255,255,0.75)",fontFamily:"var(--font-sans)"},children:["2108 Bering Dr #C",m.jsx("br",{}),"San Jose, CA 95131"]}),m.jsx("div",{className:"mt-6 h-px w-12",style:{backgroundColor:"rgba(255,255,255,0.4)"}}),m.jsx("p",{className:"mt-4 text-sm",style:{color:"rgba(255,255,255,0.75)",fontFamily:"var(--font-sans)"},children:"Serving commercial, industrial, and residential clients in the Bay Area for over 50 years."})]}),m.jsxs("div",{children:[m.jsx("h3",{className:"text-xs font-semibold uppercase tracking-widest mb-5",style:{color:"#FFFFFF",fontFamily:"var(--font-sans)"},children:"Quick Links"}),m.jsx("ul",{className:"grid grid-cols-2 gap-x-4 gap-y-2",children:mE.map(n=>m.jsx("li",{children:m.jsx("a",{href:n.href,className:"text-sm transition-colors duration-200",style:{color:"rgba(255,255,255,0.75)",fontFamily:"var(--font-sans)"},onMouseEnter:a=>{a.target.style.color="#FFFFFF"},onMouseLeave:a=>{a.target.style.color="rgba(255,255,255,0.75)"},children:n.label})},n.label))})]})]})}),m.jsx("div",{className:"border-t",style:{borderColor:"rgba(255,255,255,0.25)"},children:m.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-5 flex flex-col sm:flex-row items-center justify-between gap-2",children:[m.jsxs("p",{className:"text-xs",style:{color:"rgba(255,255,255,0.65)",fontFamily:"var(--font-sans)"},children:["Copyright © ",new Date().getFullYear()," Aqualine Piping. All Rights Reserved."]}),m.jsx("p",{className:"text-xs",style:{color:"rgba(255,255,255,0.65)",fontFamily:"var(--font-sans)"},children:"San Jose, CA"})]})})]})}/** 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 yE=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),rb=(...n)=>n.filter((a,l,r)=>!!a&&a.trim()!==""&&r.indexOf(a)===l).join(" ").trim();/** 44 * @license lucide-react v0.454.0 - ISC 45 * 46 * This source code is licensed under the ISC license. 47 * See the LICENSE file in the root directory of this source tree. 48 */var gE={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 vE=C.forwardRef(({color:n="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:r,className:o="",children:u,iconNode:f,...h},p)=>C.createElement("svg",{ref:p,...gE,width:a,height:a,stroke:n,strokeWidth:r?Number(l)*24/Number(a):l,className:rb("lucide",o),...h},[...f.map(([y,v])=>C.createElement(y,v)),...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 st=(n,a)=>{const l=C.forwardRef(({className:r,...o},u)=>C.createElement(vE,{ref:u,iconNode:a,className:rb(`lucide-${yE(n)}`,r),...o}));return l.displayName=`${n}`,l};/** 59 * @license lucide-react v0.454.0 - ISC 60 * 61 * This source code is licensed under the ISC license. 62 * See the LICENSE file in the root directory of this source tree. 63 */const Zt=st("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 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 Wv=st("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
68],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** 69 * @license lucide-react v0.454.0 - ISC 70 * 71 * This source code is licensed under the ISC license. 72 * See the LICENSE file in the root directory of this source tree. 73 */const xE=st("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** 74 * @license lucide-react v0.454.0 - ISC 75 * 76 * This source code is licensed under the ISC license. 77 * See the LICENSE file in the root directory of this source tree. 78 */const cn=st("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 79 * @license lucide-react v0.454.0 - ISC 80 * 81 * This source code is licensed under the ISC license. 82 * See the LICENSE file in the root directory of this source tree. 83 */const ob=st("ClipboardList",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/** 84 * @license lucide-react v0.454.0 - ISC 85 * 86 * This source code is licensed under the ISC license. 87 * See the LICENSE file in the root directory of this source tree. 88 */const bE=st("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 89 * @license lucide-react v0.454.0 - ISC 90 * 91 * This source code is licensed under the ISC license. 92 * See the LICENSE file in the root directory of this source tree. 93 */const wE=st("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
93],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/** 94 * @license lucide-react v0.454.0 - ISC 95 * 96 * This source code is licensed under the ISC license. 97 * See the LICENSE file in the root directory of this source tree. 98 */const SE=st("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/** 99 * @license lucide-react v0.454.0 - ISC 100 * 101 * This source code is licensed under the ISC license. 102 * See the LICENSE file in the root directory of this source tree. 103 */const CE=st("Factory",[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]]);/** 104 * @license lucide-react v0.454.0 - ISC 105 * 106 * This source code is licensed under the ISC license. 107 * See the LICENSE file in the root directory of this source tree. 108 */const TE=st("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);/** 109 * @license lucide-react v0.454.0 - ISC 110 * 111 * This source code is licensed under the ISC license. 112 * See the LICENSE file in the root directory of this source tree. 113 */const EE=st("HardHat",[["path",{d:"M2 18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v2z",key:"1dej2m"}],["path",{d:"M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5",key:"1p9q5i"}],["path",{d:"M4 15v-3a6 6 0 0 1 6-6",key:"9ciidu"}],["path",{d:"M14 6a6 6 0 0 1 6 6v3",key:"1hnv84"}]]);/** 114 * @license lucide-react v0.454.0 - ISC 115 * 116 * This source code is licensed under the ISC license. 117 * See the LICENSE file in the root directory of this source tree. 118 */const jE=st("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** 119 * @license lucide-react v0.454.0 - ISC 120 * 121 * This source code is licensed under the ISC license. 122 * See the LICENSE file in the root directory of this source tree. 123 */const AE=st("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/** 124 * @license lucide-react v0.454.0 - ISC 125 * 126 * This source code is licensed under the ISC license. 127 * See the LICENSE file in the root directory of this source tree. 128 */const ME=st("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 129 * @license lucide-react v0.454.0 - ISC 130 * 131 * This source code is licensed under the ISC license. 132 * See the LICENSE file in the root directory of this source tree. 133 */const cb=st("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 134 * @license lucide-react v0.454.0 - ISC 135 * 136 * This source code is licensed under the ISC license. 137 * See the LICENSE file in the root directory of this source tree. 138 */const NE=st("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"}]]);/** 139 * @license lucide-react v0.454.0 - ISC 140 * 141 * This source code is licensed under the ISC license. 142 * See the LICENSE file in the root directory of this source tree. 143 */const DE=st("Microscope",[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}
143],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]]);/** 144 * @license lucide-react v0.454.0 - ISC 145 * 146 * This source code is licensed under the ISC license. 147 * See the LICENSE file in the root directory of this source tree. 148 */const uh=st("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 149 * @license lucide-react v0.454.0 - ISC 150 * 151 * This source code is licensed under the ISC license. 152 * See the LICENSE file in the root directory of this source tree. 153 */const RE=st("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 154 * @license lucide-react v0.454.0 - ISC 155 * 156 * This source code is licensed under the ISC license. 157 * See the LICENSE file in the root directory of this source tree. 158 */const qc=st("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 159 * @license lucide-react v0.454.0 - ISC 160 * 161 * This source code is licensed under the ISC license. 162 * See the LICENSE file in the root directory of this source tree. 163 */const Ih=st("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** 164 * @license lucide-react v0.454.0 - ISC 165 * 166 * This source code is licensed under the ISC license. 167 * See the LICENSE file in the root directory of this source tree. 168 */const em=st("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 169 * @license lucide-react v0.454.0 - ISC 170 * 171 * This source code is licensed under the ISC license. 172 * See the LICENSE file in the root directory of this source tree. 173 */const us=st("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/** 174 * @license lucide-react v0.454.0 - ISC 175 * 176 * This source code is licensed under the ISC license. 177 * See the LICENSE file in the root directory of this source tree. 178 */const FE=st("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 179 * @license lucide-react v0.454.0 - ISC 180 * 181 * This source code is licensed under the ISC license. 182 * See the LICENSE file in the root directory of this source tree. 183 */const tm=st("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),vi="#0099A8",Iv="#007080",e0=[{label:"Home",href:"/"},{label:"About Us",href:"/#about"},{label:"Commercial",href:"/commercial"},{label:"Service & Maintenance",href:"/commercial-service"},{label:"Process Piping",href:"/process-piping"},{label:"Residential",href:"/residential"},{label:"Project Portfolio",href:"/recent-projects"},{label:"Employment",href:"/employment"},{label:"Contact",href:"/contact"}];function zE(){const[n,a]=C.useState(!1),[l,r]=C.useState(!1);return C.useEffect(()=>{const o=()=>r(window.scrollY>20);return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)},[]),m.jsxs("header",{className:"w-full z-50 transition-shadow duration-300",style:{backgroundColor:"#FFFFFF",boxShadow:l?"0 2px 20px rgba(0,0,0,0.10)":"none"},children:[m.jsxs("div",{className:"w-full px-4 sm:px-6 py-2 flex items-center justify-end gap-6",style:{backgroundColor:vi},children:[m.jsxs("a",{href:"tel:4087457100",className:"flex items-center gap-2 text-sm font-medium transition-colors",style:{color:"rgba(255,255,255,0.90)",fontFamily:"var(--font-sans)"},onMouseEnter:o=>{o.currentTarget.style.color="#FFFFFF"},onMouseLeave:o=>{o.currentTarget.style.color="rgba(255,255,255,0.90)"},children:[m.jsx(uh,{className:"h-3.5 w-3.5"}),m.jsx("span",{children:"(408) 745-7100"})]}),m.jsx("span",{style:{color:"rgba(255,255,255,0.4)"},children:"|"}),m.jsxs("a",{href:"tel:4085985167",className:"flex items-center gap-2 text-sm font-medium transition-colors",style:{color:"#F5C97A",fontFamily:"var(--font-sans)"},onMouseEnter:o=>{o.currentTarget.style.color="#FFE0A0"},onMouseLeave:o=>{o.currentTarget.style.color="#F5C97A"},children:[m.jsx(uh,{className:"h-3.5 w-3.5"}),m.jsx("span",{children:"Emergency: (408) 598-5167"})]})]}),m.jsx("div",{className:"w-full px-4 sm:px-6",style:{borderBottom:"1px solid #E8F4F5"},children:m.jsxs("div",{className:"flex items-center justify-between h-32",children:[m.jsx("a",{href:"/",className:"shrink-0",children:m.jsx("img",{src:"/assets/Aqualine_FINAL_Logoblack_7.11.png",alt:"Aqualine Piping",style:{height:"80px",width:"auto",objectFit:"contain",display:"block"}})}),m.jsxs("nav",{className:"hidden lg:flex items-center gap-1",children:[e0.map(o=>m.jsx("a",{href:o.href,className:"px-4 py-2 text-base font-medium transition-colors duration-200 rounded",style:{color:vi,fontFamily:"var(--font-sans)"},onMouseEnter:u=>{u.target.style.color=Iv,u.target.style.backgroundColor="#EAF4F4"},onMouseLeave:u=>{u.target.style.color=vi,u.target.style.backgroundColor="transparent"},children:o.label},o.label)),m.jsx("a",{href:"/contact",className:"ml-3 px-6 py-3 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:vi,c
vendor: 8,983 bytes, line 183
183olor:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:o=>{o.target.style.backgroundColor=Iv},onMouseLeave:o=>{o.target.style.backgroundColor=vi},children:"Contact Us"})]}),m.jsx("button",{className:"lg:hidden p-2 rounded",style:{color:vi},onClick:()=>a(!n),"aria-label":"Toggle menu",children:n?m.jsx(FE,{className:"h-6 w-6"}):m.jsx(NE,{className:"h-6 w-6"})})]})}),m.jsx("div",{className:"w-full",style:{lineHeight:0},children:m.jsx("img",{src:"/assets/Water with white back ground.PNG",alt:"",style:{width:"100%",height:"auto",display:"block"}})}),n&&m.jsx("div",{className:"lg:hidden border-t",style:{backgroundColor:"#FFFFFF",borderColor:"#E8F4F5"},children:m.jsxs("div",{className:"px-4 py-4 flex flex-col gap-1",children:[e0.map(o=>m.jsx("a",{href:o.href,className:"px-3 py-2.5 text-sm font-medium rounded",style:{color:vi,fontFamily:"var(--font-sans)"},onClick:()=>a(!1),children:o.label},o.label)),m.jsx("a",{href:"/contact",className:"mt-2 px-5 py-3 text-sm font-semibold rounded text-center",style:{backgroundColor:vi,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onClick:()=>a(!1),children:"Contact Us"})]})})]})}function ub(n){var a,l,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n)){var o=n.length;for(a=0;a<o;a++)n[a]&&(l=ub(n[a]))&&(r&&(r+=" "),r+=l)}else for(l in n)n[l]&&(r&&(r+=" "),r+=l);return r}function LE(){for(var n,a,l=0,r="",o=arguments.length;l<o;l++)(n=arguments[l])&&(a=ub(n))&&(r&&(r+=" "),r+=a);return r}const nm="-",OE=n=>{const a=VE(n),{conflictingClassGroups:l,conflictingClassGroupModifiers:r}=n;return{getClassGroupId:f=>{const h=f.split(nm);return h[0]===""&&h.length!==1&&h.shift(),fb(h,a)||kE(f)},getConflictingClassGroupIds:(f,h)=>{const p=l[f]||[];return h&&r[f]?[...p,...r[f]]:p}}},fb=(n,a)=>{var f;if(n.length===0)return a.classGroupId;const l=n[0],r=a.nextPart.get(l),o=r?fb(n.slice(1),r):void 0;if(o)return o;if(a.validators.length===0)return;const u=n.join(nm);return(f=a.validators.find(({validator:h})=>h(u)))==null?void 0:f.classGroupId},t0=/^\[(.+)\]$/,kE=n=>{if(t0.test(n)){const a=t0.exec(n)[1],l=a==null?void 0:a.substring(0,a.indexOf(":"));if(l)return"arbitrary.."+l}},VE=n=>{const{theme:a,prefix:l}=n,r={nextPart:new Map,validators:[]};return UE(Object.entries(n.classGroups),l).forEach(([u,f])=>{fh(f,r,u,a)}),r},fh=(n,a,l,r)=>{n.forEach(o=>{if(typeof o=="string"){const u=o===""?a:n0(a,o);u.classGroupId=l;return}if(typeof o=="function"){if(BE(o)){fh(o(r),a,l,r);return}a.validators.push({validator:o,classGroupId:l});return}Object.entries(o).forEach(([u,f])=>{fh(f,n0(a,u),l,r)})})},n0=(n,a)=>{let l=n;return a.split(nm).forEach(r=>{l.nextPart.has(r)||l.nextPart.set(r,{nextPart:new Map,validators:[]}),l=l.nextPart.get(r)}),l},BE=n=>n.isThemeGetter,UE=(n,a)=>a?n.map(([l,r])=>{const o=r.map(u=>typeof u=="string"?a+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([f,h])=>[a+f,h])):u);return[l,o]}):n,HE=n=>{if(n<1)return{get:()=>{},set:()=>{}};let a=0,l=new Map,r=new Map;const o=(u,f)=>{l.set(u,f),a++,a>n&&(a=0,r=l,l=new Map)};return{get(u){let f=l.get(u);if(f!==void 0)return f;if((f=r.get(u))!==void 0)return o(u,f),f},set(u,f){l.has(u)?l.set(u,f):o(u,f)}}},db="!",_E=n=>{const{separator:a,experimentalParseClassName:l}=n,r=a.length===1,o=a[0],u=a.length,f=h=>{const p=[];let y=0,v=0,x;for(let A=0;A<h.length;A++){let k=h[A];if(y===0){if(k===o&&(r||h.slice(A,A+u)===a)){p.push(h.slice(v,A)),v=A+u;continue}if(k==="/"){x=A;continue}}k==="["?y++:k==="]"&&y--}const b=p.length===0?h:h.substring(v),S=b.startsWith(db),j=S?b.substring(1):b,N=x&&x>v?x-v:void 0;return{modifiers:p,hasImportantModifier:S,baseClassName:j,maybePostfixModifierPosition:N}};return l?h=>l({className:h,parseClassName:f}):f},qE=n=>{if(n.length<=1)return n;const a=[];let l=[];return n.forEach(r=>{r[0]==="["?(a.push(...l.sort(),r),l=[]):l.push(r)}),a.push(...l.sort()),a},GE=n=>({cache:HE(n.cacheSize),parseClassName:_E(n),...OE(n)}),PE=/\s+/,YE=(n,a)=>{const{parseClassName:l,getClassGroupId:r,getConflictingClassGroupIds:o}=a,u=[],f=n.trim().split(PE);let h="";for(let p=f.length-1;p>=0;p-=1){const y=f[p],{modifiers:v,hasImportantModifier:x,baseClassName:b,maybePostfixModifierPosition:S}=l(y);let j=!!S,N=r(j?b.substring(0,S):b);if(!N){if(!j){h=y+(h.length>0?" "+h:h);continue}if(N=r(b),!N){h=y+(h.length>0?" "+h:h);continue}j=!1}const A=qE(v).join(":"),k=x?A+db:A,U=k+N;if(u.includes(U))continue;u.push(U);const _=o(N,j);for(let X=0;X<_.length;++X){const Q=_[X];u.push(k+Q)}h=y+(h.length>0?" "+h:h)}return h};function XE(){let n=0,a,l,r="";for(;n<arguments.length;)(a=arguments[n++])&&(l=hb(a))&&(r&&(r+=" "),r+=l);return r}const hb=n=>{if(typeof n=="string")return n;let a,l="";for(let r=0;r<n.length;r++)n[r]&&(a=hb(n[r]))&&(l&&(l+=" "),l+=a);return l};function KE(n,...a){let l,r,o,u=f;function f(p){const y=a.reduce((v,x)=>x(v),n());return l=GE(y),r=l.cache.get,o=l.cache.set,u=h,h(p)}function h(p){const y=r(p);if(y)return y;const v=YE(p,l);return o(p,v),v}return function(){return u(XE.apply(null,arguments))}}const it=n=>{const a=l=>l[n]||[];return a.isThemeGetter=!0,a},mb=/^\[(?:([a-z-]+):)?(.+)\]$/i,QE=/^\d+\/\d+$/,ZE=new Set(["px","full","screen"]),JE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$E=/\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$/,WE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,IE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ej=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Oa=n=>cs(n)||ZE.has(n)||QE.test(n),xi=n=>ms(n,"length",oj),cs=n=>!!n&&!Number.isNaN(Number(n)),Fd=n=>ms(n,"number",cs),gr=n=>!!n&&Number.isInteger(Number(n)),tj=n=>n.endsWith("%")&&cs(n.slice(0,-1)),Te=n=>mb.test(n),bi=n=>JE.test(n),nj=new Set(["length","size","percentage"]),aj=n=>ms(n,nj,pb),ij=n=>ms(n,"position",pb),lj=new Set(["image","url"]),sj=n=>ms(n,lj,uj),rj=n=>ms(n,"",cj),vr=()=>!0,ms=(n,a,l)=>{const r=mb.exec(n);return r?r[1]?typeof a=="string"?r[1]===a:a.has(r[1]):l(r[2]):!1},oj=n=>$E.test(n)&&!WE.test(n),pb=()=>!1,cj=n=>IE.test(n),uj=n=>ej.test(n),fj=()=>{const n=it("colors"),a=it("spacing"),l=it("blur"),r=it("brightness"),o=it("borderColor"),u=it("borderRadius"),f=it("borderSpacing"),h=it("borderWidth"),p=it("contrast"),y=it("grayscale"),v=it("hueRotate"),x=it("invert"),b=it("gap"),S=it("gradientColorStops"),j=it("gradientColorStopPositions"),N=it("inset"),A=it("margin"),k=it("opacity"),U=it("padding"),_=it("saturate"),X=it("scale"),Q=it("sepia"),se=it("skew"),pe=it("space"),z=it("translate"),ae=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",Te,a],I=()=>[Te,a],ze=()=>["",Oa,xi],Ae=()=>["auto",cs,Te],ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],L=()=>["solid","dashed","dotted","double","none"],Z=()=>["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"],ne=()=>["","0",Te],he=()=>["auto","avoid","all","avoid-page","page","left","right","column"],xe=()=>[cs,Te];return{cacheSize:500,separator:":",theme:{colors:[vr],spacing:[Oa,xi],blur:["none","",bi,Te],brightness:xe(),borderColor:[n],borderRadius:["none","","full",bi,Te],borderSpacing:I(),borderWidth:ze(),contrast:xe(),grayscale:ne(),hueRotate:xe(),invert:ne(),gap:I(),gradientColorStops:[n],gradientColorStopPositions:[tj,xi],inset:de(),margin:de(),opacity:xe(),padding:I(),saturate:xe(),scale:xe(),sepia:ne(),skew:xe(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",Te]}],container:["container"],columns:[{columns:[bi]}],"break-after":[{"break-after":he()}],"break-before":[{"break-before":he()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ge(),Te]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:ae()}],"overscroll-x":[{"overscroll-x":ae()}],"overscroll-y":[{"overscroll-y":ae()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[N]}],"inset-x":[{"inset-x":[N]}],"inset-y":[{"inset-y":[N]}],start:[{start:[N]}],end:[{end:[N]}],top:[{top:[N]}
vendor: 9,962 bytes, line 183
183],right:[{right:[N]}],bottom:[{bottom:[N]}],left:[{left:[N]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",gr,Te]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Te]}],grow:[{grow:ne()}],shrink:[{shrink:ne()}],order:[{order:["first","last","none",gr,Te]}],"grid-cols":[{"grid-cols":[vr]}],"col-start-end":[{col:["auto",{span:["full",gr,Te]},Te]}],"col-start":[{"col-start":Ae()}],"col-end":[{"col-end":Ae()}],"grid-rows":[{"grid-rows":[vr]}],"row-start-end":[{row:["auto",{span:[gr,Te]},Te]}],"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",Te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Te]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"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:[U]}],px:[{px:[U]}],py:[{py:[U]}],ps:[{ps:[U]}],pe:[{pe:[U]}],pt:[{pt:[U]}],pr:[{pr:[U]}],pb:[{pb:[U]}],pl:[{pl:[U]}],m:[{m:[A]}],mx:[{mx:[A]}],my:[{my:[A]}],ms:[{ms:[A]}],me:[{me:[A]}],mt:[{mt:[A]}],mr:[{mr:[A]}],mb:[{mb:[A]}],ml:[{ml:[A]}],"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",Te,a]}],"min-w":[{"min-w":[Te,a,"min","max","fit"]}],"max-w":[{"max-w":[Te,a,"none","full","min","max","fit","prose",{screen:[bi]},bi]}],h:[{h:[Te,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Te,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Te,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Te,a,"auto","min","max","fit"]}],"font-size":[{text:["base",bi,xi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fd]}],"font-family":[{font:[vr]}],"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",Te]}],"line-clamp":[{"line-clamp":["none",cs,Fd]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Oa,Te]}],"list-image":[{"list-image":["none",Te]}],"list-style-type":[{list:["none","disc","decimal",Te]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...L(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Oa,xi]}],"underline-offset":[{"underline-offset":["auto",Oa,Te]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Te]}],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",Te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ge(),ij]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",aj]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},sj]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[j]}],"gradient-via-pos":[{via:[j]}],"gradient-to-pos":[{to:[j]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],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":[k]}],"border-style":[{border:[...L(),"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":[k]}],"divide-style":[{divide:L()}],"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:["",...L()]}],"outline-offset":[{"outline-offset":[Oa,Te]}],"outline-w":[{outline:[Oa,xi]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[Oa,xi]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",bi,rj]}],"shadow-color":[{shadow:[vr]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[l]}],brightness:[{brightness:[r]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",bi,Te]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[x]}],saturate:[{saturate:[_]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[l]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[f]}],"border-spacing-x":[{"border-spacing-x":[f]}],"border-spacing-y":[{"border-spacing-y":[f]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Te]}],duration:[{duration:xe()}],ease:[{ease:["linear","in","out","in-out",Te]}],delay:[{delay:xe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[X]}],"scale-x":[{"scale-x":[X]}],"scale-y":[{"scale-y":[X]}],rotate:[{rotate:[gr,Te]}],"translate-x":[{"translate-x":[z]}],"translate-y":[{"translate-y":[z]}],"skew-x":[{"skew-x":[se]}],"skew-y":[{"skew-y":[se]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Te]}],accent:[{accent:["auto",n]}],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",Te]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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"]}
183],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",Te]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Oa,xi,Fd]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},dj=KE(fj);function hj(...n){return dj(LE(n))}function mj({children:n,config:a={},className:l}){const{layout:r={maxWidth:"full",padding:"md",background:"default",minHeight:!0}}=a,o=()=>{switch(r.background){case"muted":return"bg-muted";case"gradient":return"bg-gradient-to-b from-background to-muted/20";default:return"bg-background"}};return m.jsx("div",{className:hj(r.minHeight!==!1&&"min-h-screen",o(),"flex flex-col",l),children:n})}function pj({children:n}){return m.jsxs(mj,{children:[m.jsxs(Ga,{children:[m.jsx("title",{children:"Aqualine Piping â Commercial, Process & Residential Plumbing | San Jose, CA"}),m.jsx("meta",{name:"description",content:"Aqualine Piping is a family-owned plumbing company in San Jose, CA with 40+ years of experience in commercial, process piping, and residential plumbing services."})]}),m.jsx(lb,{}),m.jsx(zE,{}),n,m.jsx(pE,{})]})}function yj({className:n}){return m.jsx("div",{className:`inline-block ${n||""}`,children:m.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:[m.jsx("circle",{className:"opacity-10",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),m.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 yb=C.createContext({});function gj(n){const a=C.useRef(null);return a.current===null&&(a.current=n()),a.current}const vj=typeof window<"u",xj=vj?C.useLayoutEffect:C.useEffect,am=C.createContext(null);function im(n,a){n.indexOf(a)===-1&&n.push(a)}function Gc(n,a){const l=n.indexOf(a);l>-1&&n.splice(l,1)}const oa=(n,a,l)=>l>a?a:l<n?n:l;let lm=()=>{};const Ni={},gb=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function vb(n){return typeof n=="object"&&n!==null}const xb=n=>/^0[^.\s]+$/u.test(n);function bb(n){let a;return()=>(a===void 0&&(a=n()),a)}const Bn=n=>n,bj=(n,a)=>l=>a(n(l)),Qr=(...n)=>n.reduce(bj),Hr=(n,a,l)=>{const r=a-n;return r===0?1:(l-n)/r};class sm{constructor(){this.subscriptions=[]}add(a){return im(this.subscriptions,a),()=>Gc(this.subscriptions,a)}notify(a,l,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](a,l,r);else for(let u=0;u<o;u++){const f=this.subscriptions[u];f&&f(a,l,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Sn=n=>n*1e3,kn=n=>n/1e3;function wb(n,a){return a?n*(1e3/a):0}const Sb=(n,a,l)=>(((1-3*l+3*a)*n+(3*l-6*a))*n+3*a)*n,wj=1e-7,Sj=12;function Cj(n,a,l,r,o){let u,f,h=0;do f=a+(l-a)/2,u=Sb(f,r,o)-n,u>0?l=f:a=f;
vendor: 27,986 bytes, line 183
183while(Math.abs(u)>wj&&++h<Sj);return f}function Zr(n,a,l,r){if(n===a&&l===r)return Bn;const o=u=>Cj(u,0,1,n,l);return u=>u===0||u===1?u:Sb(o(u),a,r)}const Cb=n=>a=>a<=.5?n(2*a)/2:(2-n(2*(1-a)))/2,Tb=n=>a=>1-n(1-a),Eb=Zr(.33,1.53,.69,.99),rm=Tb(Eb),jb=Cb(rm),Ab=n=>n>=1?1:(n*=2)<1?.5*rm(n):.5*(2-Math.pow(2,-10*(n-1))),om=n=>1-Math.sin(Math.acos(n)),Mb=Tb(om),Nb=Cb(om),Tj=Zr(.42,0,1,1),Ej=Zr(0,0,.58,1),Db=Zr(.42,0,.58,1),jj=n=>Array.isArray(n)&&typeof n[0]!="number",Rb=n=>Array.isArray(n)&&typeof n[0]=="number",Aj={linear:Bn,easeIn:Tj,easeInOut:Db,easeOut:Ej,circIn:om,circInOut:Nb,circOut:Mb,backIn:rm,backInOut:jb,backOut:Eb,anticipate:Ab},Mj=n=>typeof n=="string",a0=n=>{if(Rb(n)){lm(n.length===4);const[a,l,r,o]=n;return Zr(a,l,r,o)}else if(Mj(n))return Aj[n];return n},wc=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Nj(n,a){let l=new Set,r=new Set,o=!1,u=!1;const f=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function p(v){f.has(v)&&(y.schedule(v),n()),v(h)}const y={schedule:(v,x=!1,b=!1)=>{const j=b&&o?l:r;return x&&f.add(v),j.add(v),v},cancel:v=>{r.delete(v),f.delete(v)},process:v=>{if(h=v,o){u=!0;return}o=!0;const x=l;l=r,r=x,l.forEach(p),l.clear(),o=!1,u&&(u=!1,y.process(v))}};return y}const Dj=40;function Fb(n,a){let l=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},u=()=>l=!0,f=wc.reduce((_,X)=>(_[X]=Nj(u),_),{}),{setup:h,read:p,resolveKeyframes:y,preUpdate:v,update:x,preRender:b,render:S,postRender:j}=f,N=()=>{const _=Ni.useManualTiming,X=_?o.timestamp:performance.now();l=!1,_||(o.delta=r?1e3/60:Math.max(Math.min(X-o.timestamp,Dj),1)),o.timestamp=X,o.isProcessing=!0,h.process(o),p.process(o),y.process(o),v.process(o),x.process(o),b.process(o),S.process(o),j.process(o),o.isProcessing=!1,l&&a&&(r=!1,n(N))},A=()=>{l=!0,r=!0,o.isProcessing||n(N)};return{schedule:wc.reduce((_,X)=>{const Q=f[X];return _[X]=(se,pe=!1,z=!1)=>(l||A(),Q.schedule(se,pe,z)),_},{}),cancel:_=>{for(let X=0;X<wc.length;X++)f[wc[X]].cancel(_)},state:o,steps:f}}const{schedule:Ie,cancel:Di,state:Vt,steps:zd}=Fb(typeof requestAnimationFrame<"u"?requestAnimationFrame:Bn,!0);let Rc;function Rj(){Rc=void 0}const Jt={now:()=>(Rc===void 0&&Jt.set(Vt.isProcessing||Ni.useManualTiming?Vt.timestamp:performance.now()),Rc),set:n=>{Rc=n,queueMicrotask(Rj)}},zb=n=>a=>typeof a=="string"&&a.startsWith(n),Lb=zb("--"),Fj=zb("var(--"),cm=n=>Fj(n)?zj.test(n.split("/*")[0].trim()):!1,zj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function i0(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const ps={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},_r={...ps,transform:n=>oa(0,1,n)},Sc={...ps,default:1},Fr=n=>Math.round(n*1e5)/1e5,um=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Lj(n){return n==null}const Oj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,fm=(n,a)=>l=>!!(typeof l=="string"&&Oj.test(l)&&l.startsWith(n)||a&&!Lj(l)&&Object.prototype.hasOwnProperty.call(l,a)),Ob=(n,a,l)=>r=>{if(typeof r!="string")return r;const[o,u,f,h]=r.match(um);return{[n]:parseFloat(o),[a]:parseFloat(u),[l]:parseFloat(f),alpha:h!==void 0?parseFloat(h):1}},kj=n=>oa(0,255,n),Ld={...ps,transform:n=>Math.round(kj(n))},ll={test:fm("rgb","red"),parse:Ob("red","green","blue"),transform:({red:n,green:a,blue:l,alpha:r=1})=>"rgba("+Ld.transform(n)+", "+Ld.transform(a)+", "+Ld.transform(l)+", "+Fr(_r.transform(r))+")"};function Vj(n){let a="",l="",r="",o="";return n.length>5?(a=n.substring(1,3),l=n.substring(3,5),r=n.substring(5,7),o=n.substring(7,9)):(a=n.substring(1,2),l=n.substring(2,3),r=n.substring(3,4),o=n.substring(4,5),a+=a,l+=l,r+=r,o+=o),{red:parseInt(a,16),green:parseInt(l,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const dh={test:fm("#"),parse:Vj,transform:ll.transform},Jr=n=>({test:a=>typeof a=="string"&&a.endsWith(n)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${n}`}),Ci=Jr("deg"),sa=Jr("%"),ce=Jr("px"),Bj=Jr("vh"),Uj=Jr("vw"),l0={...sa,parse:n=>sa.parse(n)/100,transform:n=>sa.transform(n*100)},is={test:fm("hsl","hue"),parse:Ob("hue","saturation","lightness"),transform:({hue:n,saturation:a,lightness:l,alpha:r=1})=>"hsla("+Math.round(n)+", "+sa.transform(Fr(a))+", "+sa.transform(Fr(l))+", "+Fr(_r.transform(r))+")"},jt={test:n=>ll.test(n)||dh.test(n)||is.test(n),parse:n=>ll.test(n)?ll.parse(n):is.test(n)?is.parse(n):dh.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?ll.transform(n):is.transform(n),getAnimatableNone:n=>{const a=jt.parse(n);return a.alpha=0,jt.transform(a)}},Hj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function _j(n){var a,l;return isNaN(n)&&typeof n=="string"&&(((a=n.match(um))==null?void 0:a.length)||0)+(((l=n.match(Hj))==null?void 0:l.length)||0)>0}const kb="number",Vb="color",qj="var",Gj="var(",s0="${}",Pj=/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 fs(n){const a=n.toString(),l=[],r={color:[],number:[],var:[]},o=[];let u=0;const h=a.replace(Pj,p=>(jt.test(p)?(r.color.push(u),o.push(Vb),l.push(jt.parse(p))):p.startsWith(Gj)?(r.var.push(u),o.push(qj),l.push(p)):(r.number.push(u),o.push(kb),l.push(parseFloat(p))),++u,s0)).split(s0);return{values:l,split:h,indexes:r,types:o}}function Yj(n){return fs(n).values}function Bb({split:n,types:a}){const l=n.length;return r=>{let o="";for(let u=0;u<l;u++)if(o+=n[u],r[u]!==void 0){const f=a[u];f===kb?o+=Fr(r[u]):f===Vb?o+=jt.transform(r[u]):o+=r[u]}return o}}function Xj(n){return Bb(fs(n))}const Kj=n=>typeof n=="number"?0:jt.test(n)?jt.getAnimatableNone(n):n,Qj=(n,a)=>typeof n=="number"?a!=null&&a.trim().endsWith("/")?n:0:Kj(n);function Zj(n){const a=fs(n);return Bb(a)(a.values.map((r,o)=>Qj(r,a.split[o])))}const Kn={test:_j,parse:Yj,createTransformer:Xj,getAnimatableNone:Zj};function Od(n,a,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?n+(a-n)*6*l:l<1/2?a:l<2/3?n+(a-n)*(2/3-l)*6:n}function Jj({hue:n,saturation:a,lightness:l,alpha:r}){n/=360,a/=100,l/=100;let o=0,u=0,f=0;if(!a)o=u=f=l;else{const h=l<.5?l*(1+a):l+a-l*a,p=2*l-h;o=Od(p,h,n+1/3),u=Od(p,h,n),f=Od(p,h,n-1/3)}return{red:Math.round(o*255),green:Math.round(u*255),blue:Math.round(f*255),alpha:r}}function Pc(n,a){return l=>l>0?a:n}const lt=(n,a,l)=>n+(a-n)*l,kd=(n,a,l)=>{const r=n*n,o=l*(a*a-r)+r;return o<0?0:Math.sqrt(o)},$j=[dh,ll,is],Wj=n=>$j.find(a=>a.test(n));function r0(n){const a=Wj(n);if(!a)return!1;let l=a.parse(n);return a===is&&(l=Jj(l)),l}const o0=(n,a)=>{const l=r0(n),r=r0(a);if(!l||!r)return Pc(n,a);const o={...l};return u=>(o.red=kd(l.red,r.red,u),o.green=kd(l.green,r.green,u),o.blue=kd(l.blue,r.blue,u),o.alpha=lt(l.alpha,r.alpha,u),ll.transform(o))},hh=new Set(["none","hidden"]);function Ij(n,a){return hh.has(n)?l=>l<=0?n:a:l=>l>=1?a:n}function eA(n,a){return l=>lt(n,a,l)}function dm(n){return typeof n=="number"?eA:typeof n=="string"?cm(n)?Pc:jt.test(n)?o0:aA:Array.isArray(n)?Ub:typeof n=="object"?jt.test(n)?o0:tA:Pc}function Ub(n,a){const l=[...n],r=l.length,o=n.map((u,f)=>dm(u)(u,a[f]));return u=>{for(let f=0;f<r;f++)l[f]=o[f](u);return l}}function tA(n,a){const l={...n,...a},r={};for(const o in l)n[o]!==void 0&&a[o]!==void 0&&(r[o]=dm(n[o])(n[o],a[o]));return o=>{for(const u in r)l[u]=r[u](o);return l}}function nA(n,a){const l=[],r={color:0,var:0,number:0};for(let o=0;o<a.values.length;o++){const u=a.types[o],f=n.indexes[u][r[u]],h=n.values[f]??0;l[o]=h,r[u]++}return l}const aA=(n,a)=>{const l=Kn.createTransformer(a),r=fs(n),o=fs(a);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?hh.has(n)&&!o.values.length||hh.has(a)&&!r.values.length?Ij(n,a):Qr(Ub(nA(r,o),o.values),l):Pc(n,a)};function Hb(n,a,l){return typeof n=="number"&&typeof a=="number"&&typeof l=="number"?lt(n,a,l):dm(n)(n,a)}const iA=n=>{const a=({timestamp:l})=>n(l);return{start:(l=!0)=>Ie.update(a,l),stop:()=>Di(a),now:()=>Vt.isProcessing?Vt.timestamp:Jt.now()}},_b=(n,a,l=10)=>{let r="";const o=Math.max(Math.round(a/l),2);for(let u=0;u<o;u++)r+=Math.round(n(u/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Yc=2e4;function hm(n){let a=0;const l=50;let r=n.next(a);for(;!r.done&&a<Yc;)a+=l,r=n.next(a);return a>=Yc?1/0:a}function lA(n,a=100,l){const r=l({...n,keyframes:[0,a]}),o=Math.min(hm(r),Yc);return{type:"keyframes",ease:u=>r.next(o*u).value/a,duration:kn(o)}}const ht={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 mh(n,a){return n*Math.sqrt(1-a*a)}const sA=12;function rA(n,a,l){let r=l;for(let o=1;o<sA;o++)r=r-n(r)/a(r);return r}const Vd=.001;function oA({duration:n=ht.duration,bounce:a=ht.bounce,velocity:l=ht.velocity,mass:r=ht.mass}){let o,u,f=1-a;f=oa(ht.minDamping,ht.maxDamping,f),n=oa(ht.minDuration,ht.maxDuration,kn(n)),f<1?(o=y=>{const v=y*f,x=v*n,b=v-l,S=mh(y,f),j=Math.exp(-x);return Vd-b/S*j},u=y=>{const x=y*f*n,b=x*l+l,S=Math.pow(f,2)*Math.pow(y,2)*n,j=Math.exp(-x),N=mh(Math.pow(y,2),f);return(-o(y)+Vd>0?-1:1)*((b-S)*j)/N}):(o=y=>{const v=Math.exp(-y*n),x=(y-l)*n+1;return-Vd+v*x},u=y=>{const v=Math.exp(-y*n),x=(l-y)*(n*n);return v*x});const h=5/n,p=rA(o,u,h);if(n=Sn(n),isNaN(p))return{stiffness:ht.stiffness,damping:ht.damping,duration:n};{const y=Math.pow(p,2)*r;return{stiffness:y,damping:f*2*Math.sqrt(r*y),duration:n}}}const cA=["duration","bounce"],uA=["stiffness","damping","mass"];function c0(n,a){return a.some(l=>n[l]!==void 0)}function fA(n){let a={velocity:ht.velocity,stiffness:ht.stiffness,damping:ht.damping,mass:ht.mass,isResolvedFromDuration:!1,...n};if(!c0(n,uA)&&c0(n,cA))if(a.velocity=0,n.visualDuration){const l=n.visualDuration,r=2*Math.PI/(l*1.2),o=r*r,u=2*oa(.05,1,1-(n.bounce||0))*Math.sqrt(o);a={...a,mass:ht.mass,stiffness:o,damping:u}}else{const l=oA({...n,velocity:0});a={...a,...l,mass:ht.mass},a.isResolvedFromDuration=!0}return a}function Xc(n=ht.visualDuration,a=ht.bounce){const l=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:a}:n;let{restSpeed:r,restDelta:o}=l;const u=l.keyframes[0],f=l.keyframes[l.keyframes.length-1],h={done:!1,value:u},{stiffness:p,damping:y,mass:v,duration:x,velocity:b,isResolvedFromDuration:S}=fA({...l,velocity:-kn(l.velocity||0)}),j=b||0,N=y/(2*Math.sqrt(p*v)),A=f-u,k=kn(Math.sqrt(p/v)),U=Math.abs(A)<5;r||(r=U?ht.restSpeed.granular:ht.restSpeed.default),o||(o=U?ht.restDelta.granular:ht.restDelta.default);let _,X,Q,se,pe,z;if(N<1)Q=mh(k,N),se=(j+N*k*A)/Q,_=J=>{const de=Math.exp(-N*k*J);return f-de*(se*Math.sin(Q*J)+A*Math.cos(Q*J))},pe=N*k*se+A*Q,z=N*k*A-se*Q,X=J=>Math.exp(-N*k*J)*(pe*Math.sin(Q*J)+z*Math.cos(Q*J));else if(N===1){_=de=>f-Math.exp(-k*de)*(A+(j+k*A)*de);const J=j+k*A;X=de=>Math.exp(-k*de)*(k*J*de-j)}else{const J=k*Math.sqrt(N*N-1);_=Ae=>{const ge=Math.exp(-N*k*Ae),L=Math.min(J*Ae,300);return f-ge*((j+N*k*A)*Math.sinh(L)+J*A*Math.cosh(L))/J};const de=(j+N*k*A)/J,I=N*k*de-A*J,ze=N*k*A-de*J;X=Ae=>{const ge=Math.exp(-N*k*Ae),L=Math.min(J*Ae,300);return ge*(I*Math.sinh(L)+ze*Math.cosh(L))}}const ae={calculatedDuration:S&&x||null,velocity:J=>Sn(X(J)),next:J=>{if(!S&&N<1){const I=Math.exp(-N*k*J),ze=Math.sin(Q*J),Ae=Math.cos(Q*J),ge=f-I*(se*ze+A*Ae),L=Sn(I*(pe*ze+z*Ae));return h.done=Math.abs(L)<=r&&Math.abs(f-ge)<=o,h.value=h.done?f:ge,h}const de=_(J);if(S)h.done=J>=x;else{const I=Sn(X(J));h.done=Math.abs(I)<=r&&Math.abs(f-de)<=o}return h.value=h.done?f:de,h},toString:()=>{const J=Math.min(hm(ae),Yc),de=_b(I=>ae.next(J*I).value,J,30);return J+"ms "+de},toTransition:()=>{}};return ae}Xc.applyToOptions=n=>{const a=lA(n,100,Xc);return n.ease=a.ease,n.duration=Sn(a.duration),n.type="keyframes",n};const dA=5;function qb(n,a,l){const r=Math.max(a-dA,0);return wb(l-n(r),a-r)}function ph({keyframes:n,velocity:a=0,power:l=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:u=500,modifyTarget:f,min:h,max:p,restDelta:y=.5,restSpeed:v}){const x=n[0],b={done:!1,value:x},S=z=>h!==void 0&&z<h||p!==void 0&&z>p,j=z=>h===void 0?p:p===void 0||Math.abs(h-z)<Math.abs(p-z)?h:p;let N=l*a;const A=x+N,k=f===void 0?A:f(A);k!==A&&(N=k-x);const U=z=>-N*Math.exp(-z/r),_=z=>k+U(z),X=z=>{const ae=U(z),J=_(z);b.done=Math.abs(ae)<=y,b.value=b.done?k:J};let Q,se;const pe=z=>{S(b.value)&&(Q=z,se=Xc({keyframes:[b.value,j(b.value)],velocity:qb(_,z,b.value),damping:o,stiffness:u,restDelta:y,restSpeed:v}))};return pe(0),{calculatedDuration:null,next:z=>{let ae=!1;return!se&&Q===void 0&&(ae=!0,X(z),pe(z)),Q!==void 0&&z>=Q?se.next(z-Q):(!ae&&X(z),b)}}}function hA(n,a,l){const r=[],o=l||Ni.mix||Hb,u=n.length-1;for(let f=0;f<u;f++){let h=o(n[f],n[f+1]);if(a){const p=Array.isArray(a)?a[f]||Bn:a;h=Qr(p,h)}r.push(h)}return r}function mA(n,a,{clamp:l=!0,ease:r,mixer:o}={}){const u=n.length;if(lm(u===a.length),u===1)return()=>a[0];if(u===2&&a[0]===a[1])return()=>a[1];const f=n[0]===n[1];n[0]>n[u-1]&&(n=[...n].reverse(),a=[...a].reverse());const h=hA(a,r,o),p=h.length,y=v=>{if(f&&v<n[0])return a[0];let x=0;if(p>1)for(;x<n.length-2&&!(v<n[x+1]);x++);const b=Hr(n[x],n[x+1],v);return h[x](b)};return l?v=>y(oa(n[0],n[u-1],v)):y}function pA(n,a){const l=n[n.length-1];for(let r=1;r<=a;r++){const o=Hr(0,a,r);n.push(lt(l,1,o))}}function yA(n){const a=[0];return pA(a,n.length-1),a}function gA(n,a){return n.map(l=>l*a)}function vA(n,a){return n.map(()=>a||Db).splice(0,n.length-1)}function zr({duration:n=300,keyframes:a,times:l,ease:r="easeInOut"}){const o=jj(r)?r.map(a0):a0(r),u={done:!1,value:a[0]},f=gA(l&&l.length===a.length?l:yA(a),n),h=mA(f,a,{ease:Array.isArray(o)?o:vA(a,o)});return{calculatedDuration:n,next:p=>(u.value=h(p),u.done=p>=n,u)}}const xA=n=>n!==null;function nu(n,{repeat:a,repeatType:l="loop"},r,o=1){const u=n.filter(xA),h=o<0||a&&l!=="loop"&&a%2===1?0:u.length-1;return!h||r===void 0?u[h]:r}const bA={decay:ph,inertia:ph,tween:zr,keyframes:zr,spring:Xc};function Gb(n){typeof n.type=="string"&&(n.type=bA[n.type])}class mm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,l){return this.finished.then(a,l)}}const wA=n=>n/100;class Kc extends mm{constructor(a){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 r,o;const{motionValue:l}=this.options;l&&l.updatedAt!==Jt.now()&&this.tick(Jt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(r=this.options).onStop)==null||o.call(r))},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;Gb(a);const{type:l=zr,repeat:r=0,repeatDelay:o=0,repeatType:u,velocity:f=0}=a;let{keyframes:h}=a;const p=l||zr;p!==zr&&typeof h[0]!="number"&&(this.mixKeyframes=Qr(wA,Hb(h[0],h[1])),h=[0,100]);const y=p({...a,keyframes:h});u==="mirror"&&(this.mirroredGenerator=p({...a,keyframes:[...h].reverse(),velocity:-f})),y.calculatedDuration===null&&(y.calculatedDuration=hm(y));const{calculatedDuration:v}=y;this.calculatedDuration=v,this.resolvedDuration=v+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=y}updateTime(a){const l=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=l}tick(a,l=!1){const{generator:r,totalDuration:o,mixKeyframes:u,mirroredGenerator:f,resolvedDuration:h,calculatedDuration:p}=this;if(this.startTime===null)return r.next(0);const{delay:y=0,keyframes:v,repeat:x,repeatType:b,repeatDelay:S,type:j,onUpdate:N,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-o/this.speed,this.startTime)),l?this.currentTime=a:this.updateTime(a);const k=this.currentTime-y*(this.playbackSpeed>=0?1:-1),U=this.playbackSpeed>=0?k<0:k>o;this.currentTime=Math.max(k,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let _=this.currentTime,X=r;if(x){const z=Math.min(this.currentTime,o)/h;let ae=Math.floor(z),J=z%1;!J&&z>=1&&(J=1),J===1&&ae--,ae=Math.min(ae,x+1),!!(ae%2)&&(b==="reverse"?(J=1-J,S&&(J-=S/h)):b==="mirror"&&(X=f)),_=oa(0,1,J)*h}let Q;U?(this.delayState.value=v[0],Q=this.delayState):Q=X.next(_),u&&!U&&(Q.value=u(Q.value));let{done:se}=Q;!U&&p!==null&&(se=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const pe=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&se);return pe&&j!==ph&&(Q.value=nu(v,this.options,A,this.speed)),N&&N(Q.value),pe&&this.finish(),Q}then(a,l){return this.finished.then(a,l)}get duration(){return kn(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+kn(a)}get time(){return kn(this.currentTime)}set time(a){a=Sn(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=a,this.tick(a))}getGeneratorVelocity(){const a=this.currentTime;if(a<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(a);const l=this.generator.next(a).value;return qb(r=>this.generator.next(r).value,a,l)}get speed(){return this.playbackSpeed}set speed(a){const l=this.playbackSpeed!==a;l&&this.driver&&this.updateTime(Jt.now()),this.playbackSpeed=a,l&&this.driver&&(this.time=kn(this.currentTime))}play(){var o,u;if(this.isStopped)return;const{driver:a=iA,startTime:l}=this.options;this.driver||(this.driver=a(f=>this.tick(f))),(u=(o=this.options).onPlay)==null||u.call(o);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=l??r),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(Jt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var a,l;this.notifyFinished(),this.teardown(),this.state="finished",(l=(a=this.options).onComplete)==null||l.call(a)}cancel(){var a,l;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(l=(a=this.options).onCancel)==null||l.call(a)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){var l;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(l=this.driver)==null||l.stop(),a.observe(this)}}function SA(n){for(let a=1;a<n.length;a++)n[a]??(n[a]=n[a-1])}const sl=n=>n*180/Math.PI,yh=n=>{const a=sl(Math.atan2(n[1],n[0]));return gh(a)},CA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:yh,rotateZ:yh,skewX:n=>sl(Math.atan(n[1])),skewY:n=>sl(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},gh=n=>(n=n%360,n<0&&(n+=360),n),u0=yh,f0=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),d0=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),TA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:f0,scaleY:d0,scale:n=>(f0(n)+d0(n))/2,rotateX:n=>gh(sl(Math.atan2(n[6],n[5]))),rotateY:n=>gh(sl(Math.atan2(-n[2],n[0]))),rotateZ:u0,rotate:u0,skewX:n=>sl(Math.atan(n[4])),skewY:n=>sl(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function vh(n){return n.includes("scale")?1:0}function xh(n,a){if(!n||n==="none")return vh(a);const l=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(l)r=TA,o=l;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=CA,o=h}if(!o)return vh(a);const u=r[a],f=o[1].split(",").map(jA);return typeof u=="function"?u(f):f[u]}const EA=(n,a)=>{const{transform:l="none"}=getComputedStyle(n);return xh(l,a)};function jA(n){return parseFloat(n.trim())}const ys=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],gs=new Set(ys),h0=n=>n===ps||n===ce,AA=new Set(["x","y","z"]),MA=ys.filter(n=>!AA.has(n));function NA(n){const a=[];return MA.forEach(l=>{const r=n.getValue(l);r!==void 0&&(a.push([l,r.get()]),r.set(l.startsWith("scale")?1:0))}),a}const Mi={width:({x:n},{paddingLeft:a="0",paddingRight:l="0",boxSizing:r})=>{const o=n.max-n.min;return r==="border-box"?o:o-parseFloat(a)-parseFloat(l)},height:({y:n},{paddingTop:a="0",paddingBottom:l="0",boxSizing:r})=>{const o=n.max-n.min;return r==="border-box"?o:o-parseFloat(a)-parseFloat(l)},top:(n,{top:a})=>parseFloat(a),left:(n,{left:a})=>parseFloat(a),bottom:({y:n},{top:a})=>parseFloat(a)+(n.max-n.min),right:({x:n},{left:a})=>parseFloat(a)+(n.max-n.min),x:(n,{transform:a})=>xh(a,"x"),y:(n,{transform:a})=>xh(a,"y")};Mi.translateX=Mi.x;Mi.translateY=Mi.y;const rl=new Set;let bh=!1,wh=!1,Sh=!1;function Pb(){if(wh){const n=Array.from(rl).filter(r=>r.needsMeasurement),a=new Set(n.map(r=>r.element)),l=new Map;a.forEach(r=>{const o=NA(r);o.length&&(l.set(r,o),r.render())}),n.forEach(r=>r.measureInitialState()),a.forEach(r=>{r.render();const o=l.get(r);o&&o.forEach(([u,f])=>{var h;(h=r.getValue(u))==null||h.set(f)})}),n.forEach(r=>r.measureEndState()),n.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}wh=!1,bh=!1,rl.forEach(n=>n.complete(Sh)),rl.clear()}function Yb(){rl.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(wh=!0)})}function DA(){Sh=!0,Yb(),Pb(),Sh=!1}class pm{constructor(a,l,r,o,u,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=l,this.name=r,this.motionValue=o,this.element=u,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(rl.add(this),bh||(bh=!0,Ie.read(Yb),Ie.resolveKeyframes(Pb))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:l,element:r,motionValue:o}=this;if(a[0]===null){const u=o==null?void 0:o.get(),f=a[a.length-1];if(u!==void 0)a[0]=u;else if(r&&l){const h=r.readValue(l,f);h!=null&&(a[0]=h)}a[0]===void 0&&(a[0]=f),o&&u===void 0&&o.set(a[0])}SA(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),rl.delete(this)}cancel(){this.state==="scheduled"&&(rl.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const RA=n=>n.startsWith("--");function Xb(n,a,l){RA(a)?n.style.setProperty(a,l):n.style[a]=l}const FA={};function Kb(n,a){const l=bb(n);return()=>FA[a]??l()}const zA=Kb(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Qb=Kb(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Dr=([n,a,l,r])=>`cubic-bezier(${n}, ${a}, ${l}, ${r})`,m0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Dr([0,.65,.55,1]),circOut:Dr([.55,0,1,.45]),backIn:Dr([.31,.01,.66,-.59]),backOut:Dr([.33,1.53,.69,.99])};function Zb(n,a){if(n)return typeof n=="function"?Qb()?_b(n,a):"ease-out":Rb(n)?Dr(n):Array.isArray(n)?n.map(l=>Zb(l,a)||m0.easeOut):m0[n]}function LA(n,a,l,{delay:r=0,duration:o=300,repeat:u=0,repeatType:f="loop",ease:h="easeOut",times:p}={},y=void 0){const v={[a]:l};p&&(v.offset=p);const x=Zb(h,o);Array.isArray(x)&&(v.easing=x);const b={delay:r,duration:o,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:u+1,direction:f==="reverse"?"alternate":"normal"};return y&&(b.pseudoElement=y),n.animate(v,b)}function Jb(n){return typeof n=="function"&&"applyToOptions"in n}function OA({type:n,...a}){return Jb(n)&&Qb()?n.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class $b extends mm{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:l,name:r,keyframes:o,pseudoElement:u,allowFlatten:f=!1,finalKeyframe:h,onComplete:p}=a;this.isPseudoElement=!!u,this.allowFlatten=f,this.options=a,lm(typeof a.type!="string");const y=OA(a);this.animation=LA(l,r,o,y,u),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const v=nu(o,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(v),Xb(l,r,v),this.animation.cancel()}p==null||p(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var a,l;(l=(a=this.animation).finish)==null||l.call(a)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var l,r,o;const a=(l=this.options)==null?void 0:l.element;!this.isPseudoElement&&(a!=null&&a.isConnected)&&((o=(r=this.animation).commitStyles)==null||o.call(r))}get duration(){var l,r;const a=((r=(l=this.animation.effect)==null?void 0:l.getComputedTiming)==null?void 0:r.call(l).duration)||0;return kn(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+kn(a)}get time(){return kn(Number(this.animation.currentTime)||0)}set time(a){const l=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Sn(a),l&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,rangeStart:l,rangeEnd:r,observe:o}){var u;return this.allowFlatten&&((u=this.animation.effect)==null||u.updateTiming({easing:"linear"})),this.animation.onfinish=null,a&&zA()?(this.animation.timeline=a,l&&(this.animation.rangeStart=l),r&&(this.animation.rangeEnd=r),Bn):o(this)}}const Wb={anticipate:Ab,backInOut:jb,circInOut:Nb};function kA(n){return n in Wb}function VA(n){typeof n.ease=="string"&&kA(n.ease)&&(n.ease=Wb[n.ease])}const Bd=10;class BA extends $b{constructor(a){VA(a),Gb(a),super(a),a.startTime!==void 0&&a.autoplay!==!1&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:l,onUpdate:r,onComplete:o,element:u,...f}=this.options;if(!l)return;if(a!==void 0){l.set(a);return}const h=new Kc({...f,autoplay:!1}),p=Math.max(Bd,Jt.now()-this.startTime),y=oa(0,Bd,p-Bd),v=h.sample(p).value,{name:x}=this.options;u&&x&&Xb(u,x,v),l.setWithVelocity(h.sample(Math.max(0,p-y)).value,v,y),h.stop()}}const p0=(n,a)=>a==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(Kn.test(n)||n==="0")&&!n.startsWith("url("));function UA(n){const a=n[0];if(n.length===1)return!0;for(let l=0;l<n.length;l++)if(n[l]!==a)return!0}function HA(n,a,l,r){const o=n[0];if(o===null)return!1;if(a==="display"||a==="visibility")return!0;const u=n[n.length-1],f=p0(o,a),h=p0(u,a);return!f||!h?!1:UA(n)||(l==="spring"||Jb(l))&&r}function Ch(n){n.duration=0,n.type="keyframes"}const Ib=new Set(["opacity","clipPath","filter","transform"]),_A=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function qA(n){for(let a=0;a<n.length;a++)if(typeof n[a]=="string"&&_A.test(n[a]))return!0;return!1}
183const GA=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),PA=bb(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function YA(n){var x;const{motionValue:a,name:l,repeatDelay:r,repeatType:o,damping:u,type:f,keyframes:h}=n;if(!(((x=a==null?void 0:a.owner)==null?void 0:x.current)instanceof HTMLElement))return!1;const{onUpdate:y,transformTemplate:v}=a.owner.getProps();return PA()&&l&&(Ib.has(l)||GA.has(l)&&qA(h))&&(l!=="transform"||!v)&&!y&&!r&&o!=="mirror"&&u!==0&&f!=="inertia"}const XA=40;class KA extends mm{constructor({autoplay:a=!0,delay:l=0,type:r="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:f="loop",keyframes:h,name:p,motionValue:y,element:v,...x}){var j;super(),this.stop=()=>{var N,A;this._animation&&(this._animation.stop(),(N=this.stopTimeline)==null||N.call(this)),(A=this.keyframeResolver)==null||A.cancel()},this.createdAt=Jt.now();const b={autoplay:a,delay:l,type:r,repeat:o,repeatDelay:u,repeatType:f,name:p,motionValue:y,element:v,...x},S=(v==null?void 0:v.KeyframeResolver)||pm;this.keyframeResolver=new S(h,(N,A,k)=>this.onKeyframesResolved(N,A,b,!k),p,y,v),(j=this.keyframeResolver)==null||j.scheduleResolve()}onKeyframesResolved(a,l,r,o){var k,U;this.keyframeResolver=void 0;const{name:u,type:f,velocity:h,delay:p,isHandoff:y,onUpdate:v}=r;this.resolvedAt=Jt.now();let x=!0;HA(a,u,f,h)||(x=!1,(Ni.instantAnimations||!p)&&(v==null||v(nu(a,r,l))),a[0]=a[a.length-1],Ch(r),r.repeat=0);const S={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>XA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:l,...r,keyframes:a},j=x&&!y&&YA(S),N=(U=(k=S.motionValue)==null?void 0:k.owner)==null?void 0:U.current;let A;if(j)try{A=new BA({...S,element:N})}catch{A=new Kc(S)}else A=new Kc(S);A.finished.then(()=>{this.notifyFinished()}).catch(Bn),this.pendingTimeline&&(this.stopTimeline=A.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=A}get finished(){return this._animation?this.animation.finished:this._finished}then(a,l){return this.finished.finally(a).then(()=>{})}get animation(){var a;return this._animation||((a=this.keyframeResolver)==null||a.resume(),DA()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var a;this._animation&&this.animation.cancel(),(a=this.keyframeResolver)==null||a.cancel()}}function e1(n,a,l,r=0,o=1){const u=Array.from(n).sort((y,v)=>y.sortNodePosition(v)).indexOf(a),f=n.size,h=(f-1)*r;return typeof l=="function"?l(u,f):o===1?u*r:h-u*r}const QA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ZA(n){const a=QA.exec(n);if(!a)return[,];const[,l,r,o]=a;return[`--${l??r}`,o]}function t1(n,a,l=1){const[r,o]=ZA(n);if(!r)return;const u=window.getComputedStyle(a).getPropertyValue(r);if(u){const f=u.trim();return gb(f)?parseFloat(f):f}return cm(o)?t1(o,a,l+1):o}const JA={type:"spring",stiffness:500,damping:25,restSpeed:10},$A=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),WA={type:"keyframes",duration:.8},IA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},e5=(n,{keyframes:a})=>a.length>2?WA:gs.has(n)?n.startsWith("scale")?$A(a[1]):JA:IA;function n1(n,a){if(n!=null&&n.inherit&&a){const{inherit:l,...r}=n;return{...a,...r}}return n}function ym(n,a){const l=(n==null?void 0:n[a])??(n==null?void 0:n.default)??n;return l!==n?n1(l,n):l}const t5=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function n5(n){for(const a in n)if(!t5.has(a))return!0;return!1}const gm=(n,a,l,r={},o,u)=>f=>{const h=ym(r,n)||{},p=h.delay||r.delay||0;let{elapsed:y=0}=r;y=y-Sn(p);const v={keyframes:Array.isArray(l)?l:[null,l],ease:"easeOut",velocity:a.getVelocity(),...h,delay:-y,onUpdate:b=>{a.set(b),h.onUpdate&&h.onUpdate(b)},onComplete:()=>{f(),h.onComplete&&h.onComplete()},name:n,motionValue:a,element:u?void 0:o};n5(h)||Object.assign(v,e5(n,v)),v.duration&&(v.duration=Sn(v.duration)),v.repeatDelay&&(v.repeatDelay=Sn(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let x=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(Ch(v),v.delay===0&&(x=!0)),(Ni.instantAnimations||Ni.skipAnimations||o!=null&&o.shouldSkipAnimations)&&(x=!0,Ch(v),v.delay=0),v.allowFlatten=!h.type&&!h.ease,x&&!u&&a.get()!==void 0){const b=nu(v.keyframes,h);if(b!==void 0){Ie.update(()=>{v.onUpdate(b),v.onComplete()});return}}return h.isSync?new Kc(v):new KA(v)};function y0(n){const a=[{},{}];
vendor: 50,691 bytes, line 183
183return n==null||n.values.forEach((l,r)=>{a[0][r]=l.get(),a[1][r]=l.getVelocity()}),a}function vm(n,a,l,r){if(typeof a=="function"){const[o,u]=y0(r);a=a(l!==void 0?l:n.custom,o,u)}if(typeof a=="string"&&(a=n.variants&&n.variants[a]),typeof a=="function"){const[o,u]=y0(r);a=a(l!==void 0?l:n.custom,o,u)}return a}function ol(n,a,l){const r=n.getProps();return vm(r,a,l!==void 0?l:r.custom,n)}const a1=new Set(["width","height","top","left","right","bottom",...ys]),g0=30,a5=n=>!isNaN(parseFloat(n));class i5{constructor(a,l={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var u;const o=Jt.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((u=this.events.change)==null||u.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=l.owner}setCurrent(a){this.current=a,this.updatedAt=Jt.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=a5(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,l){this.events[a]||(this.events[a]=new sm);const r=this.events[a].add(l);return a==="change"?()=>{r(),Ie.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,l){this.passiveEffect=a,this.stopPassiveEffect=l}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,l,r){this.set(l),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-r}jump(a,l=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,l&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var a;(a=this.events.change)==null||a.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=Jt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>g0)return 0;const l=Math.min(this.updatedAt-this.prevUpdatedAt,g0);return wb(parseFloat(this.current)-parseFloat(this.prevFrameValue),l)}start(a){return this.stop(),new Promise(l=>{this.hasAnimated=!0,this.animation=a(l),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var a,l;(a=this.dependents)==null||a.clear(),(l=this.events.destroy)==null||l.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ds(n,a){return new i5(n,a)}const Th=n=>Array.isArray(n);function l5(n,a,l){n.hasValue(a)?n.getValue(a).set(l):n.addValue(a,ds(l))}function s5(n){return Th(n)?n[n.length-1]||0:n}function r5(n,a){const l=ol(n,a);let{transitionEnd:r={},transition:o={},...u}=l||{};u={...u,...r};for(const f in u){const h=s5(u[f]);l5(n,f,h)}}const Ut=n=>!!(n&&n.getVelocity);function o5(n){return!!(Ut(n)&&n.add)}function Eh(n,a){const l=n.getValue("willChange");if(o5(l))return l.add(a);if(!l&&Ni.WillChange){const r=new Ni.WillChange("auto");n.addValue("willChange",r),r.add(a)}}function xm(n){return n.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const c5="framerAppearId",i1="data-"+xm(c5);function l1(n){return n.props[i1]}function u5({protectedKeys:n,needsAnimating:a},l){const r=n.hasOwnProperty(l)&&a[l]!==!0;return a[l]=!1,r}function s1(n,a,{delay:l=0,transitionOverride:r,type:o}={}){let{transition:u,transitionEnd:f,...h}=a;const p=n.getDefaultTransition();u=u?n1(u,p):p;const y=u==null?void 0:u.reduceMotion;r&&(u=r);const v=[],x=o&&n.animationState&&n.animationState.getState()[o];for(const b in h){const S=n.getValue(b,n.latestValues[b]??null),j=h[b];if(j===void 0||x&&u5(x,b))continue;const N={delay:l,...ym(u||{},b)},A=S.get();if(A!==void 0&&!S.isAnimating()&&!Array.isArray(j)&&j===A&&!N.velocity){Ie.update(()=>S.set(j));continue}let k=!1;if(window.MotionHandoffAnimation){const X=l1(n);if(X){const Q=window.MotionHandoffAnimation(X,b,Ie);Q!==null&&(N.startTime=Q,k=!0)}}Eh(n,b);const U=y??n.shouldReduceMotion;S.start(gm(b,S,j,U&&a1.has(b)?{type:!1}:N,n,k));const _=S.animation;_&&v.push(_)}if(f){const b=()=>Ie.update(()=>{f&&r5(n,f)});v.length?Promise.all(v).then(b):b()}return v}function jh(n,a,l={}){var p;const r=ol(n,a,l.type==="exit"?(p=n.presenceContext)==null?void 0:p.custom:void 0);let{transition:o=n.getDefaultTransition()||{}}=r||{};l.transitionOverride&&(o=l.transitionOverride);const u=r?()=>Promise.all(s1(n,r,l)):()=>Promise.resolve(),f=n.variantChildren&&n.variantChildren.size?(y=0)=>{const{delayChildren:v=0,staggerChildren:x,staggerDirection:b}=o;return f5(n,a,y,v,x,b,l)}:()=>Promise.resolve(),{when:h}=o;if(h){const[y,v]=h==="beforeChildren"?[u,f]:[f,u];return y().then(()=>v())}else return Promise.all([u(),f(l.delay)])}function f5(n,a,l=0,r=0,o=0,u=1,f){const h=[];for(const p of n.variantChildren)p.notify("AnimationStart",a),h.push(jh(p,a,{...f,delay:l+(typeof r=="function"?0:r)+e1(n.variantChildren,p,r,o,u)}).then(()=>p.notify("AnimationComplete",a)));return Promise.all(h)}function d5(n,a,l={}){n.notify("AnimationStart",a);let r;if(Array.isArray(a)){const o=a.map(u=>jh(n,u,l));r=Promise.all(o)}else if(typeof a=="string")r=jh(n,a,l);else{const o=typeof a=="function"?ol(n,a,l.custom):a;r=Promise.all(s1(n,o,l))}return r.then(()=>{n.notify("AnimationComplete",a)})}const h5={test:n=>n==="auto",parse:n=>n},r1=n=>a=>a.test(n),o1=[ps,ce,sa,Ci,Uj,Bj,h5],v0=n=>o1.find(r1(n));function m5(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||xb(n):!0}const p5=new Set(["brightness","contrast","saturate","opacity"]);function y5(n){const[a,l]=n.slice(0,-1).split("(");if(a==="drop-shadow")return n;const[r]=l.match(um)||[];if(!r)return n;const o=l.replace(r,"");let u=p5.has(a)?1:0;return r!==l&&(u*=100),a+"("+u+o+")"}const g5=/\b([a-z-]*)\(.*?\)/gu,Ah={...Kn,getAnimatableNone:n=>{const a=n.match(g5);return a?a.map(y5).join(" "):n}},Mh={...Kn,getAnimatableNone:n=>{const a=Kn.parse(n);return Kn.createTransformer(n)(a.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},x0={...ps,transform:Math.round},v5={rotate:Ci,rotateX:Ci,rotateY:Ci,rotateZ:Ci,scale:Sc,scaleX:Sc,scaleY:Sc,scaleZ:Sc,skew:Ci,skewX:Ci,skewY:Ci,distance:ce,translateX:ce,translateY:ce,translateZ:ce,x:ce,y:ce,z:ce,perspective:ce,transformPerspective:ce,opacity:_r,originX:l0,originY:l0,originZ:ce},bm={borderWidth:ce,borderTopWidth:ce,borderRightWidth:ce,borderBottomWidth:ce,borderLeftWidth:ce,borderRadius:ce,borderTopLeftRadius:ce,borderTopRightRadius:ce,borderBottomRightRadius:ce,borderBottomLeftRadius:ce,width:ce,maxWidth:ce,height:ce,maxHeight:ce,top:ce,right:ce,bottom:ce,left:ce,inset:ce,insetBlock:ce,insetBlockStart:ce,insetBlockEnd:ce,insetInline:ce,insetInlineStart:ce,insetInlineEnd:ce,padding:ce,paddingTop:ce,paddingRight:ce,paddingBottom:ce,paddingLeft:ce,paddingBlock:ce,paddingBlockStart:ce,paddingBlockEnd:ce,paddingInline:ce,paddingInlineStart:ce,paddingInlineEnd:ce,margin:ce,marginTop:ce,marginRight:ce,marginBottom:ce,marginLeft:ce,marginBlock:ce,marginBlockStart:ce,marginBlockEnd:ce,marginInline:ce,marginInlineStart:ce,marginInlineEnd:ce,fontSize:ce,backgroundPositionX:ce,backgroundPositionY:ce,...v5,zIndex:x0,fillOpacity:_r,strokeOpacity:_r,numOctaves:x0},x5={...bm,color:jt,backgroundColor:jt,outlineColor:jt,fill:jt,stroke:jt,borderColor:jt,borderTopColor:jt,borderRightColor:jt,borderBottomColor:jt,borderLeftColor:jt,filter:Ah,WebkitFilter:Ah,mask:Mh,WebkitMask:Mh},c1=n=>x5[n],b5=new Set([Ah,Mh]);function u1(n,a){let l=c1(n);return b5.has(l)||(l=Kn),l.getAnimatableNone?l.getAnimatableNone(a):void 0}const w5=new Set(["auto","none","0"]);function S5(n,a,l){let r=0,o;for(;r<n.length&&!o;){const u=n[r];typeof u=="string"&&!w5.has(u)&&fs(u).values.length&&(o=n[r]),r++}if(o&&l)for(const u of a)n[u]=u1(l,o)}class C5 extends pm{constructor(a,l,r,o,u){super(a,l,r,o,u,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:l,name:r}=this;if(!l||!l.current)return;super.readKeyframes();for(let v=0;v<a.length;v++){let x=a[v];if(typeof x=="string"&&(x=x.trim(),cm(x))){const b=t1(x,l.current);b!==void 0&&(a[v]=b),v===a.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!a1.has(r)||a.length!==2)return;const[o,u]=a,f=v0(o),h=v0(u),p=i0(o),y=i0(u);if(p!==y&&Mi[r]){this.needsMeasurement=!0;return}if(f!==h)if(h0(f)&&h0(h))for(let v=0;v<a.length;v++){const x=a[v];typeof x=="string"&&(a[v]=parseFloat(x))}else Mi[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:l}=this,r=[];for(let o=0;o<a.length;o++)(a[o]===null||m5(a[o]))&&r.push(o);r.length&&S5(a,r,l)}measureInitialState(){const{element:a,unresolvedKeyframes:l,name:r}=this;if(!a||!a.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Mi[r](a.measureViewportBox(),window.getComputedStyle(a.current)),l[0]=this.measuredOrigin;const o=l[l.length-1];o!==void 0&&a.getValue(r,o).jump(o,!1)}measureEndState(){var h;const{element:a,name:l,unresolvedKeyframes:r}=this;if(!a||!a.current)return;const o=a.getValue(l);o&&o.jump(this.measuredOrigin,!1);const u=r.length-1,f=r[u];r[u]=Mi[l](a.measureViewportBox(),window.getComputedStyle(a.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEach(([p,y])=>{a.getValue(p).set(y)}),this.resolveNoneKeyframes()}}function f1(n,a,l){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let r=document;const o=(l==null?void 0:l[n])??r.querySelectorAll(n);return o?Array.from(o):[]}return Array.from(n).filter(r=>r!=null)}const d1=(n,a)=>a&&typeof n=="number"?a.transform(n):n;function T5(n){return vb(n)&&"offsetHeight"in n&&!("ownerSVGElement"in n)}const{schedule:wm}=Fb(queueMicrotask,!1),Xn={x:!1,y:!1};function h1(){return Xn.x||Xn.y}function E5(n){return n==="x"||n==="y"?Xn[n]?null:(Xn[n]=!0,()=>{Xn[n]=!1}):Xn.x||Xn.y?null:(Xn.x=Xn.y=!0,()=>{Xn.x=Xn.y=!1})}function m1(n,a){const l=f1(n),r=new AbortController,o={passive:!0,...a,signal:r.signal};return[l,o,()=>r.abort()]}function j5(n){return!(n.pointerType==="touch"||h1())}function A5(n,a,l={}){const[r,o,u]=m1(n,l);return r.forEach(f=>{let h=!1,p=!1,y;const v=()=>{f.removeEventListener("pointerleave",j)},x=A=>{y&&(y(A),y=void 0),v()},b=A=>{h=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),p&&(p=!1,x(A))},S=()=>{h=!0,window.addEventListener("pointerup",b,o),window.addEventListener("pointercancel",b,o)},j=A=>{if(A.pointerType!=="touch"){if(h){p=!0;return}x(A)}},N=A=>{if(!j5(A))return;p=!1;const k=a(f,A);typeof k=="function"&&(y=k,f.addEventListener("pointerleave",j,o))};f.addEventListener("pointerenter",N,o),f.addEventListener("pointerdown",S,o)}),u}const p1=(n,a)=>a?n===a?!0:p1(n,a.parentElement):!1,Sm=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,M5=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function N5(n){return M5.has(n.tagName)||n.isContentEditable===!0}const D5=new Set(["INPUT","SELECT","TEXTAREA"]);function R5(n){return D5.has(n.tagName)||n.isContentEditable===!0}const Fc=new WeakSet;function b0(n){return a=>{a.key==="Enter"&&n(a)}}function Ud(n,a){n.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const F5=(n,a)=>{const l=n.currentTarget;if(!l)return;const r=b0(()=>{if(Fc.has(l))return;Ud(l,"down");const o=b0(()=>{Ud(l,"up")}),u=()=>Ud(l,"cancel");l.addEventListener("keyup",o,a),l.addEventListener("blur",u,a)});l.addEventListener("keydown",r,a),l.addEventListener("blur",()=>l.removeEventListener("keydown",r),a)};function w0(n){return Sm(n)&&!h1()}const S0=new WeakSet;function z5(n,a,l={}){const[r,o,u]=m1(n,l),f=h=>{const p=h.currentTarget;if(!w0(h)||S0.has(h))return;Fc.add(p),l.stopPropagation&&S0.add(h);const y=a(p,h),v=(S,j)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",b),Fc.has(p)&&Fc.delete(p),w0(S)&&typeof y=="function"&&y(S,{success:j})},x=S=>{v(S,p===window||p===document||l.useGlobalTarget||p1(p,S.target))},b=S=>{v(S,!1)};window.addEventListener("pointerup",x,o),window.addEventListener("pointercancel",b,o)};return r.forEach(h=>{(l.useGlobalTarget?window:h).addEventListener("pointerdown",f,o),T5(h)&&(h.addEventListener("focus",y=>F5(y,o)),!N5(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),u}function Cm(n){return vb(n)&&"ownerSVGElement"in n}const zc=new WeakMap;let Ti;const y1=(n,a,l)=>(r,o)=>o&&o[0]?o[0][n+"Size"]:Cm(r)&&"getBBox"in r?r.getBBox()[a]:r[l],L5=y1("inline","width","offsetWidth"),O5=y1("block","height","offsetHeight");function k5({target:n,borderBoxSize:a}){var l;(l=zc.get(n))==null||l.forEach(r=>{r(n,{get width(){return L5(n,a)},get height(){return O5(n,a)}})})}function V5(n){n.forEach(k5)}function B5(){typeof ResizeObserver>"u"||(Ti=new ResizeObserver(V5))}function U5(n,a){Ti||B5();const l=f1(n);return l.forEach(r=>{let o=zc.get(r);o||(o=new Set,zc.set(r,o)),o.add(a),Ti==null||Ti.observe(r)}),()=>{l.forEach(r=>{const o=zc.get(r);o==null||o.delete(a),o!=null&&o.size||Ti==null||Ti.unobserve(r)})}}const Lc=new Set;let ls;function H5(){ls=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};Lc.forEach(a=>a(n))},window.addEventListener("resize",ls)}function _5(n){return Lc.add(n),ls||H5(),()=>{Lc.delete(n),!Lc.size&&typeof ls=="function"&&(window.removeEventListener("resize",ls),ls=void 0)}}function C0(n,a){return typeof n=="function"?_5(n):U5(n,a)}function q5(n){return Cm(n)&&n.tagName==="svg"}const G5=[...o1,jt,Kn],P5=n=>G5.find(r1(n)),T0=()=>({translate:0,scale:1,origin:0,originPoint:0}),ss=()=>({x:T0(),y:T0()}),E0=()=>({min:0,max:0}),Nt=()=>({x:E0(),y:E0()}),Y5=new WeakMap;function au(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function qr(n){return typeof n=="string"||Array.isArray(n)}const Tm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Em=["initial",...Tm];function iu(n){return au(n.animate)||Em.some(a=>qr(n[a]))}function g1(n){return!!(iu(n)||n.variants)}function X5(n,a,l){for(const r in a){const o=a[r],u=l[r];if(Ut(o))n.addValue(r,o);else if(Ut(u))n.addValue(r,ds(o,{owner:n}));else if(u!==o)if(n.hasValue(r)){const f=n.getValue(r);f.liveStyle===!0?f.jump(o):f.hasAnimated||f.set(o)}else{const f=n.getStaticValue(r);n.addValue(r,ds(f!==void 0?f:o,{owner:n}))}}for(const r in l)a[r]===void 0&&n.removeValue(r);return a}const Nh={current:null},v1={current:!1},K5=typeof window<"u";function Q5(){if(v1.current=!0,!!K5)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),a=()=>Nh.current=n.matches;n.addEventListener("change",a),a()}else Nh.current=!1}const j0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Qc={};function x1(n){Qc=n}function Z5(){return Qc}class J5{scrapeMotionValuesFromProps(a,l,r){return{}}constructor({parent:a,props:l,presenceContext:r,reducedMotionConfig:o,skipAnimations:u,blockInitialAnimation:f,visualState:h},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=pm,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=Jt.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,Ie.render(this.render,!1,!0))};const{latestValues:y,renderState:v}=h;this.latestValues=y,this.baseTarget={...y},this.initialValues=l.initial?{...y}:{},this.renderState=v,this.parent=a,this.props=l,this.presenceContext=r,this.depth=a?a.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=u,this.options=p,this.blockInitialAnimation=!!f,this.isControllingVariants=iu(l),this.isVariantNode=g1(l),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:x,...b}=this.scrapeMotionValuesFromProps(l,{},this);for(const S in b){const j=b[S];y[S]!==void 0&&Ut(j)&&j.set(y[S])}}mount(a){var l,r;if(this.hasBeenMounted)for(const o in this.initialValues)(l=this.values.get(o))==null||l.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=a,Y5.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,u)=>this.bindToMotionValue(u,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(v1.current||Q5(),this.shouldReduceMotion=Nh.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var a;this.projection&&this.projection.unmount(),Di(this.notifyUpdate),Di(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(a=this.parent)==null||a.removeChild(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const r=this.features[l];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,l){if(this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)(),l.accelerate&&Ib.has(a)&&this.current instanceof HTMLElement){const{factory:f,keyframes:h,times:p,ease:y,duration:v}=l.accelerate,x=new $b({element:this.current,name:a,keyframes:h,times:p,ease:y,duration:Sn(v)}),b=f(x);this.valueSubscriptions.set(a,()=>{b(),x.cancel()});return}const r=gs.has(a);r&&this.onBindTransform&&this.onBindTransform();const o=l.on("change",f=>{this.latestValues[a]=f,this.props.onUpdate&&Ie.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,a,l)),this.valueSubscriptions.set(a,()=>{o(),u&&u(),l.owner&&l.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in Qc){const l=Qc[a];if(!l)continue;const{isEnabled:r,Feature:o}=l;if(!this.features[a]&&o&&r(this.props)&&(this.features[a]=new o(this)),this.features[a]){const u=this.features[a];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Nt()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,l){this.latestValues[a]=l}update(a,l){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=l;for(let r=0;r<j0.length;r++){const o=j0[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const u="on"+o,f=a[u];f&&(this.propEventSubscriptions[o]=this.on(o,f))}this.prevMotionValues=X5(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(a){const l=this.getClosestVariantNode();if(l)return l.variantChildren&&l.variantChildren.add(a),()=>l.variantChildren.delete(a)}addValue(a,l){const r=this.values.get(a);l!==r&&(r&&this.removeValue(a),this.bindToMotionValue(a,l),this.values.set(a,l),this.latestValues[a]=l.get())}removeValue(a){this.values.delete(a);const l=this.valueSubscriptions.get(a);l&&(l(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,l){if(this.props.values&&this.props.values[a])return this.props.values[a];let r=this.values.get(a);return r===void 0&&l!==void 0&&(r=ds(l===null?void 0:l,{owner:this}),this.addValue(a,r)),r}readValue(a,l){let r=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return r!=null&&(typeof r=="string"&&(gb(r)||xb(r))?r=parseFloat(r):!P5(r)&&Kn.test(l)&&(r=u1(a,l)),this.setBaseTarget(a,Ut(r)?r.get():r)),Ut(r)?r.get():r}setBaseTarget(a,l){this.baseTarget[a]=l}getBaseTarget(a){var u;const{initial:l}=this.props;let r;if(typeof l=="string"||typeof l=="object"){const f=vm(this.props,l,(u=this.presenceContext)==null?void 0:u.custom);f&&(r=f[a])}if(l&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,a);return o!==void 0&&!Ut(o)?o:this.initialValues[a]!==void 0&&r===void 0?void 0:this.baseTarget[a]}on(a,l){return this.events[a]||(this.events[a]=new sm),this.events[a].add(l)}notify(a,...l){this.events[a]&&this.events[a].notify(...l)}scheduleRenderMicrotask(){wm.render(this.render)}}class b1 extends J5{constructor(){super(...arguments),this.KeyframeResolver=C5}sortInstanceNodePosition(a,l){return a.compareDocumentPosition(l)&2?1:-1}getBaseTargetFromProps(a,l){const r=a.style;return r?r[l]:void 0}removeValueFromRenderState(a,{vars:l,style:r}){delete l[a],delete r[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;Ut(a)&&(this.childSubscription=a.on("change",l=>{this.current&&(this.current.textContent=`${l}`)}))}}class Ri{constructor(a){this.isMounted=!1,this.node=a}update(){}}function w1({top:n,left:a,right:l,bottom:r}){return{x:{min:a,max:l},y:{min:n,max:r}}}function $5({x:n,y:a}){return{top:a.min,right:n.max,bottom:a.max,left:n.min}}function W5(n,a){if(!a)return n;const l=a({x:n.left,y:n.top}),r=a({x:n.right,y:n.bottom});return{top:l.y,left:l.x,bottom:r.y,right:r.x}}function Hd(n){return n===void 0||n===1}function Dh({scale:n,scaleX:a,scaleY:l}){return!Hd(n)||!Hd(a)||!Hd(l)}function al(n){return Dh(n)||S1(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function S1(n){return A0(n.x)||A0(n.y)}function A0(n){return n&&n!=="0%"}function Zc(n,a,l){const r=n-l,o=a*r;return l+o}function M0(n,a,l,r,o){return o!==void 0&&(n=Zc(n,o,r)),Zc(n,l,r)+a}function Rh(n,a=0,l=1,r,o){n.min=M0(n.min,a,l,r,o),n.max=M0(n.max,a,l,r,o)}function C1(n,{x:a,y:l}){Rh(n.x,a.translate,a.scale,a.originPoint),Rh(n.y,l.translate,l.scale,l.originPoint)}const N0=.999999999999,D0=1.0000000000001;function I5(n,a,l,r=!1){var h;const o=l.length;if(!o)return;a.x=a.y=1;let u,f;for(let p=0;p<o;p++){u=l[p],f=u.projectionDelta;const{visualElement:y}=u.options;y&&y.props.style&&y.props.style.display==="contents"||(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(la(n.x,-u.scroll.offset.x),la(n.y,-u.scroll.offset.y)),f&&(a.x*=f.x.scale,a.y*=f.y.scale,C1(n,f)),r&&al(u.latestValues)&&Oc(n,u.latestValues,(h=u.layout)==null?void 0:h.layoutBox))}a.x<D0&&a.x>N0&&(a.x=1),a.y<D0&&a.y>N0&&(a.y=1)}function la(n,a){n.min+=a,n.max+=a}function R0(n,a,l,r,o=.5){const u=lt(n.min,n.max,o);Rh(n,a,l,u,r)}function F0(n,a){return typeof n=="string"?parseFloat(n)/100*(a.max-a.min):n}function Oc(n,a,l){const r=l??n;R0(n.x,F0(a.x,r.x),a.scaleX,a.scale,a.originX),R0(n.y,F0(a.y,r.y),a.scaleY,a.scale,a.originY)}function T1(n,a){return w1(W5(n.getBoundingClientRect(),a))}function eM(n,a,l){const r=T1(n,l),{scroll:o}=a;return o&&(la(r.x,o.offset.x),la(r.y,o.offset.y)),r}const tM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nM=ys.length;function aM(n,a,l){let r="",o=!0;for(let u=0;u<nM;u++){const f=ys[u],h=n[f];if(h===void 0)continue;let p=!0;if(typeof h=="number")p=h===(f.startsWith("scale")?1:0);else{const y=parseFloat(h);p=f.startsWith("scale")?y===1:y===0}if(!p||l){const y=d1(h,bm[f]);if(!p){o=!1;const v=tM[f]||f;r+=`${v}(${y}) `}l&&(a[f]=y)}}return r=r.trim(),l?r=l(a,o?"":r):o&&(r="none"),r}function jm(n,a,l){const{style:r,vars:o,transformOrigin:u}=n;let f=!1,h=!1;for(const p in a){const y=a[p];if(gs.has(p)){f=!0;continue}else if(Lb(p)){o[p]=y;continue}else{const v=d1(y,bm[p]);p.startsWith("origin")?(h=!0,u[p]=v):r[p]=v}}if(a.transform||(f||l?r.transform=aM(a,n.transform,l):r.transform&&(r.transform="none")),h){const{originX:p="50%",originY:y="50%",originZ:v=0}=u;r.transformOrigin=`${p} ${y} ${v}`}}function E1(n,{style:a,vars:l},r,o){const u=n.style;let f;for(f in a)u[f]=a[f];o==null||o.applyProjectionStyles(u,r);for(f in l)u.setProperty(f,l[f])}function z0(n,a){return a.max===a.min?0:n/(a.max-a.min)*100}const xr={correct:(n,a)=>{if(!a.target)return n;if(typeof n=="string")if(ce.test(n))n=parseFloat(n);else return n;const l=z0(n,a.target.x),r=z0(n,a.target.y);return`${l}% ${r}%`}},iM={correct:(n,{treeScale:a,projectionDelta:l})=>{const r=n,o=Kn.parse(n);if(o.length>5)return r;const u=Kn.createTransformer(n),f=typeof o[0]!="number"?1:0,h=l.x.scale*a.x,p=l.y.scale*a.y;o[0+f]/=h,o[1+f]/=p;const y=lt(h,p,.5);return typeof o[2+f]=="number"&&(o[2+f]/=y),typeof o[3+f]=="number"&&(o[3+f]/=y),u(o)}},Fh={borderRadius:{...xr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:xr,borderTopRightRadius:xr,borderBottomLeftRadius:xr,borderBottomRightRadius:xr,boxShadow:iM};function j1(n,{layout:a,layoutId:l}){return gs.has(n)||n.startsWith("origin")||(a||l!==void 0)&&(!!Fh[n]||n==="opacity")}function Am(n,a,l){var f;const r=n.style,o=a==null?void 0:a.style,u={};if(!r)return u;for(const h in r)(Ut(r[h])||o&&Ut(o[h])||j1(h,n)||((f=l==null?void 0:l.getValue(h))==null?void 0:f.liveStyle)!==void 0)&&(u[h]=r[h]);return u}function lM(n){return window.getComputedStyle(n)}class sM extends b1{constructor(){super(...arguments),this.type="html",this.renderInstance=E1}readValueFromInstance(a,l){var r;if(gs.has(l))return(r=this.projection)!=null&&r.isProjecting?vh(l):EA(a,l);{const o=lM(a),u=(Lb(l)?o.getPropertyValue(l):o[l])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(a,{transformPagePoint:l}){return T1(a,l)}build(a,l,r){jm(a,l,r.transformTemplate)}scrapeMotionValuesFromProps(a,l,r){return Am(a,l,r)}}const rM={offset:"stroke-dashoffset",array:"stroke-dasharray"},oM={offset:"strokeDashoffset",array:"strokeDasharray"};function cM(n,a,l=1,r=0,o=!0){n.pathLength=1;const u=o?rM:oM;n[u.offset]=`${-r}`,n[u.array]=`${a} ${l}`}const uM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function A1(n,{attrX:a,attrY:l,attrScale:r,pathLength:o,pathSpacing:u=1,pathOffset:f=0,...h},p,y,v){if(jm(n,h,y),p){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:x,style:b}=n;x.transform&&(b.transform=x.transform,delete x.transform),(b.transform||x.transformOrigin)&&(b.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),b.transform&&(b.transformBox=(v==null?void 0:v.transformBox)??"fill-box",delete x.transformBox);for(const S of uM)x[S]!==void 0&&(b[S]=x[S],delete x[S]);a!==void 0&&(x.x=a),l!==void 0&&(x.y=l),r!==void 0&&(x.scale=r),o!==void 0&&cM(x,o,u,f,!1)}const M1=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"]),N1=n=>typeof n=="string"&&n.toLowerCase()==="svg";function fM(n,a,l,r){E1(n,a,void 0,r);for(const o in a.attrs)n.setAttribute(M1.has(o)?o:xm(o),a.attrs[o])}function D1(n,a,l){const r=Am(n,a,l);for(const o in n)if(Ut(n[o])||Ut(a[o])){const u=ys.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[u]=n[o]}return r}class dM extends b1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Nt}getBaseTargetFromProps(a,l){return a[l]}readValueFromInstance(a,l){if(gs.has(l)){const r=c1(l);return r&&r.default||0}return l=M1.has(l)?l:xm(l),a.getAttribute(l)}scrapeMotionValuesFromProps(a,l,r){return D1(a,l,r)}build(a,l,r){A1(a,l,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(a,l,r,o){fM(a,l,r,o)}mount(a){this.isSVGTag=N1(a.tagName),super.mount(a)}}const hM=Em.length;function R1(n){if(!n)return;if(!n.isControllingVariants){const l=n.parent?R1(n.parent)||{}:{};return n.props.initial!==void 0&&(l.initial=n.props.initial),l}const a={};for(let l=0;l<hM;l++){const r=Em[l],o=n.props[r];(qr(o)||o===!1)&&(a[r]=o)}return a}function F1(n,a){if(!Array.isArray(a))return!1;const l=a.length;if(l!==n.length)return!1;for(let r=0;r<l;r++)if(a[r]!==n[r])return!1;return!0}const mM=[...Tm].reverse(),pM=Tm.length;function yM(n){return a=>Promise.all(a.map(({animation:l,options:r})=>d5(n,l,r)))}function gM(n){let a=yM(n),l=L0(),r=!0,o=!1;const u=y=>(v,x)=>{var S;const b=ol(n,x,y==="exit"?(S=n.presenceContext)==null?void 0:S.custom:void 0);if(b){const{transition:j,transitionEnd:N,...A}=b;v={...v,...A,...N}}return v};function f(y){a=y(n)}function h(y){const{props:v}=n,x=R1(n.parent)||{},b=[],S=new Set;let j={},N=1/0;for(let k=0;k<pM;k++){const U=mM[k],_=l[U],X=v[U]!==void 0?v[U]:x[U],Q=qr(X),se=U===y?_.isActive:null;se===!1&&(N=k);let pe=X===x[U]&&X!==v[U]&&Q;if(pe&&(r||o)&&n.manuallyAnimateOnMount&&(pe=!1),_.protectedKeys={...j},!_.isActive&&se===null||!X&&!_.prevProp||au(X)||typeof X=="boolean")continue;if(U==="exit"&&_.isActive&&se!==!0){_.prevResolvedValues&&(j={...j,..._.prevResolvedValues});continue}const z=vM(_.prevProp,X);let ae=z||U===y&&_.isActive&&!pe&&Q||k>N&&Q,J=!1;const de=Array.isArray(X)?X:[X];let I=de.reduce(u(U),{});se===!1&&(I={});const{prevResolvedValues:ze={}}=_,Ae={...ze,...I},ge=W=>{ae=!0,S.has(W)&&(J=!0,S.delete(W)),_.needsAnimating[W]=!0;const ne=n.getValue(W);ne&&(ne.liveStyle=!1)};for(const W in Ae){const ne=I[W],he=ze[W];if(j.hasOwnProperty(W))continue;let xe=!1;Th(ne)&&Th(he)?xe=!F1(ne,he):xe=ne!==he,xe?ne!=null?ge(W):S.add(W):ne!==void 0&&S.has(W)?ge(W):_.protectedKeys[W]=!0}_.prevProp=X,_.prevResolvedValues=I,_.isActive&&(j={...j,...I}),(r||o)&&n.blockInitialAnimation&&(ae=!1);const L=pe&&z;ae&&(!L||J)&&b.push(...de.map(W=>{const ne={type:U};if(typeof W=="string"&&(r||o)&&!L&&n.manuallyAnimateOnMount&&n.parent){const{parent:he}=n,xe=ol(he,W);if(he.enteringChildren&&xe){const{delayChildren:Ne}=xe.transition||{};ne.delay=e1(he.enteringChildren,n,Ne)}}return{animation:W,options:ne}}))}if(S.size){const k={};if(typeof v.initial!="boolean"){const U=ol(n,Array.isArray(v.initial)?v.initial[0]:v.initial);U&&U.transition&&(k.transition=U.transition)}S.forEach(U=>{const _=n.getBaseTarget(U),X=n.getValue(U);X&&(X.liveStyle=!0),k[U]=_??null}),b.push({animation:k})}let A=!!b.length;return r&&(v.initial===!1||v.initial===v.animate)&&!n.manuallyAnimateOnMount&&(A=!1),r=!1,o=!1,A?a(b):Promise.resolve()}function p(y,v){var b;if(l[y].isActive===v)return Promise.resolve();(b=n.variantChildren)==null||b.forEach(S=>{var j;return(j=S.animationState)==null?void 0:j.setActive(y,v)}),l[y].isActive=v;const x=h(y);for(const S in l)l[S].protectedKeys={};return x}return{animateChanges:h,setActive:p,setAnimateFunction:f,getState:()=>l,reset:()=>{l=L0(),o=!0}}}function vM(n,a){return typeof a=="string"?a!==n:Array.isArray(a)?!F1(a,n):!1}function Wi(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function L0(){return{animate:Wi(!0),whileInView:Wi(),whileHover:Wi(),whileTap:Wi(),whileDrag:Wi(),whileFocus:Wi(),exit:Wi()}}function zh(n,a){n.min=a.min,n.max=a.max}function Yn(n,a){zh(n.x,a.x),zh(n.y,a.y)}function O0(n,a){n.translate=a.translate,n.scale=a.scale,n.originPoint=a.originPoint,n.origin=a.origin}const z1=1e-4,xM=1-z1,bM=1+z1,L1=.01,wM=0-L1,SM=0+L1;function $t(n){return n.max-n.min}function CM(n,a,l){return Math.abs(n-a)<=l}function k0(n,a,l,r=.5){n.origin=r,n.originPoint=lt(a.min,a.max,n.origin),n.scale=$t(l)/$t(a),n.translate=lt(l.min,l.max,n.origin)-n.originPoint,(n.scale>=xM&&n.scale<=bM||isNaN(n.scale))&&(n.scale=1),(n.translate>=wM&&n.translate<=SM||isNaN(n.translate))&&(n.translate=0)}function Lr(n,a,l,r){k0(n.x,a.x,l.x,r?r.originX:void 0),k0(n.y,a.y,l.y,r?r.originY:void 0)}function V0(n,a,l,r=0){const o=r?lt(l.min,l.max,r):l.min;n.min=o+a.min,n.max=n.min+$t(a)}function TM(n,a,l,r){V0(n.x,a.x,l.x,r==null?void 0:r.x),V0(n.y,a.y,l.y,r==null?void 0:r.y)}function B0(n,a,l,r=0){const o=r?lt(l.min,l.max,r):l.min;n.min=a.min-o,n.max=n.min+$t(a)}function Jc(n,a,l,r){B0(n.x,a.x,l.x,r==null?void 0:r.x),B0(n.y,a.y,l.y,r==null?void 0:r.y)}function U0(n,a,l,r,o){return n-=a,n=Zc(n,1/l,r),o!==void 0&&(n=Zc(n,1/o,r)),n}function EM(n,a=0,l=1,r=.5,o,u=n,f=n){if(sa.test(a)&&(a=parseFloat(a),a=lt(f.min,f.max,a/100)-f.min),typeof a!="number")return;let h=lt(u.min,u.max,r);n===u&&(h-=a),n.min=U0(n.min,a,l,h,o),n.max=U0(n.max,a,l,h,o)}function H0(n,a,[l,r,o],u,f){EM(n,a[l],a[r],a[o],a.scale,u,f)}const jM=["x","scaleX","originX"],AM=["y","scaleY","originY"];function _0(n,a,l,r){H0(n.x,a,jM,l?l.x:void 0,r?r.x:void 0),H0(n.y,a,AM,l?l.y:void 0,r?r.y:void 0)}function q0(n){return n.translate===0&&n.scale===1}function O1(n){return q0(n.x)&&q0(n.y)}function G0(n,a){return n.min===a.min&&n.max===a.max}function MM(n,a){return G0(n.x,a.x)&&G0(n.y,a.y)}function P0(n,a){return Math.round(n.min)===Math.round(a.min)&&Math.round(n.max)===Math.round(a.max)}function k1(n,a){return P0(n.x,a.x)&&P0(n.y,a.y)}function Y0(n){return $t(n.x)/$t(n.y)}function X0(n,a){return n.translate===a.translate&&n.scale===a.scale&&n.originPoint===a.originPoint}function ia(n){return[n("x"),n("y")]}function NM(n,a,l){let r="";const o=n.x.translate/a.x,u=n.y.translate/a.y,f=(l==null?void 0:l.z)||0;if((o||u||f)&&(r=`translate3d(${o}px, ${u}px, ${f}px) `),(a.x!==1||a.y!==1)&&(r+=`scale(${1/a.x}, ${1/a.y}) `),l){const{transformPerspective:y,rotate:v,rotateX:x,rotateY:b,skewX:S,skewY:j}=l;y&&(r=`perspective(${y}px) ${r}`),v&&(r+=`rotate(${v}deg) `),x&&(r+=`rotateX(${x}deg) `),b&&(r+=`rotateY(${b}deg) `),S&&(r+=`skewX(${S}deg) `),j&&(r+=`skewY(${j}deg) `)}const h=n.x.scale*a.x,p=n.y.scale*a.y;return(h!==1||p!==1)&&(r+=`scale(${h}, ${p})`),r||"none"}const V1=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],DM=V1.length,K0=n=>typeof n=="string"?parseFloat(n):n,Q0=n=>typeof n=="number"||ce.test(n);function RM(n,a,l,r,o,u){o?(n.opacity=lt(0,l.opacity??1,FM(r)),n.opacityExit=lt(a.opacity??1,0,zM(r))):u&&(n.opacity=lt(a.opacity??1,l.opacity??1,r));for(let f=0;f<DM;f++){const h=V1[f];let p=Z0(a,h),y=Z0(l,h);if(p===void 0&&y===void 0)continue;p||(p=0),y||(y=0),p===0||y===0||Q0(p)===Q0(y)?(n[h]=Math.max(lt(K0(p),K0(y),r),0),(sa.test(y)||sa.test(p))&&(n[h]+="%")):n[h]=y}(a.rotate||l.rotate)&&(n.rotate=lt(a.rotate||0,l.rotate||0,r))}function Z0(n,a){return n[a]!==void 0?n[a]:n.borderRadius}const FM=B1(0,.5,Mb),zM=B1(.5,.95,Bn);function B1(n,a,l){return r=>r<n?0:r>a?1:l(Hr(n,a,r))}function LM(n,a,l){const r=Ut(n)?n:ds(n);return r.start(gm("",r,a,l)),r.animation}function Gr(n,a,l,r={passive:!0}){return n.addEventListener(a,l,r),()=>n.removeEventListener(a,l)}const OM=(n,a)=>n.depth-a.depth;class kM{constructor(){this.children=[],this.isDirty=!1}add(a){im(this.children,a),this.isDirty=!0}remove(a){Gc(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(OM),this.isDirty=!1,this.children.forEach(a)}}function VM(n,a){const l=Jt.now(),r=({timestamp:o})=>{const u=o-l;u>=a&&(Di(r),n(u-a))};return Ie.setup(r,!0),()=>Di(r)}function kc(n){return Ut(n)?n.get():n}class BM{constructor(){this.members=[]}add(a){im(this.members,a);for(let l=this.members.length-1;l>=0;l--){const r=this.members[l];if(r===a||r===this.lead||r===this.prevLead)continue;const o=r.instance;(!o||o.isConnected===!1)&&!r.snapshot&&(Gc(this.members,r),r.unmount())}a.scheduleRender()}remove(a){if(Gc(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const l=this.members[this.members.length-1];l&&this.promote(l)}}relegate(a){var l;for(let r=this.members.indexOf(a)-1;r>=0;r--){const o=this.members[r];if(o.isPresent!==!1&&((l=o.instance)==null?void 0:l.isConnected)!==!1)return this.promote(o),!0}return!1}promote(a,l){var o;const r=this.lead;if(a!==r&&(this.prevLead=r,this.lead=a,a.show(),r)){r.updateSnapshot(),a.scheduleRender();const{layoutDependency:u}=r.options,{layoutDependency:f}=a.options;(u===void 0||u!==f)&&(a.resumeFrom=r,l&&(r.preserveOpacity=!0),r.snapshot&&(a.snapshot=r.snapshot,a.snapshot.latestValues=r.animationValues||r.latestValues),(o=a.root)!=null&&o.isUpdating&&(a.isLayoutDirty=!0)),a.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(a=>{var l,r,o,u,f;(r=(l=a.options).onExitComplete)==null||r.call(l),(f=(o=a.resumingFrom)==null?void 0:(u=o.options).onExitComplete)==null||f.call(u)})}scheduleRender(){this.members.forEach(a=>a.instance&&a.scheduleRender(!1))}removeLeadSnapshot(){var a;(a=this.lead)!=null&&a.snapshot&&(this.lead.snapshot=void 0)}}const Vc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},_d=["","X","Y","Z"],UM=1e3;let HM=0;function qd(n,a,l,r){const{latestValues:o}=a;o[n]&&(l[n]=o[n],a.setStaticValue(n,0),r&&(r[n]=0))}function U1(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:a}=n.options;if(!a)return;const l=l1(a);if(window.MotionHasOptimisedAnimation(l,"transform")){const{layout:o,layoutId:u}=n.options;window.MotionCancelOptimisedAnimation(l,"transform",Ie,!(o||u))}const{parent:r}=n;r&&!r.hasCheckedOptimisedAppear&&U1(r)}function H1({attachResizeListener:n,defaultParent:a,measureScroll:l,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(f={},h=a==null?void 0:a()){this.id=HM++,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(GM),this.nodes.forEach(ZM),this.nodes.forEach(JM),this.nodes.forEach(PM)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new kM)}addEventListener(f,h){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new sm),this.eventHandlers.get(f).add(h)}notifyListeners(f,...h){const p=this.eventHandlers.get(f);p&&p.notify(...h)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=Cm(f)&&!q5(f),this.instance=f;const{layoutId:h,layout:p,visualElement:y}=this.options;if(y&&!y.current&&y.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||h)&&(this.isLayoutDirty=!0),n){let v,x=0;const b=()=>this.root.updateBlockedByResize=!1;Ie.read(()=>{x=window.innerWidth}),n(f,()=>{const S=window.innerWidth;S!==x&&(x=S,this.root.updateBlockedByResize=!0,v&&v(),v=VM(b,250),Vc.hasAnimatedSinceResize&&(Vc.hasAnimatedSinceResize=!1,this.nodes.forEach(W0)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&y&&(h||p)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:x,hasRelativeLayoutChanged:b,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const j=this.options.transition||y.getDefaultTransition()||tN,{onLayoutAnimationStart:N,onLayoutAnimationComplete:A}=y.getProps(),k=!this.targetLayout||!k1(this.targetLayout,S),U=!x&&b;if(this.options.layoutRoot||this.resumeFrom||U||x&&(k||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...ym(j,"layout"),onPlay:N,onComplete:A};(y.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(v,U)}else x||W0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Di(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($M),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&U1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const x=this.path[v];x.shouldResetTransform=!0,(typeof x.latestValues.x=="string"||typeof x.latestValues.y=="string")&&(x.isLayoutDirty=!0),x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const p=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),p&&this.nodes.forEach(XM),this.nodes.forEach(J0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach($0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(KM),this.nodes.forEach(QM),this.nodes.forEach(_M),this.nodes.forEach(qM)):this.nodes.forEach($0),this.clearAllSnapshots();const h=Jt.now();Vt.delta=oa(0,1e3/60,h-Vt.timestamp),Vt.timestamp=h,Vt.isProcessing=!0,zd.update.process(Vt),zd.preRender.process(Vt),zd.render.process(Vt),Vt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,wm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(YM),this.sharedNodes.forEach(WM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ie.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ie.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!$t(this.snapshot.measuredBox.x)&&!$t(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Nt()),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,f?f.layoutBox:void 0)}updateScroll(f="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(h=!1),h&&this.instance){const p=r(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:p,offset:l(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!o)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!O1(this.projectionDelta),p=this.getTransformTemplate(),y=p?p(this.latestValues,""):void 0,v=y!==this.prevTransformTemplateValue;f&&this.instance&&(h||al(this.latestValues)||v)&&(o(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return f&&(p=this.removeTransform(p)),nN(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var y;const{visualElement:f}=this.options;if(!f)return Nt();const h=f.measureViewportBox();if(!(((y=this.scroll)==null?void 0:y.wasRoot)||this.path.some(aN))){const{scroll:v}=this.root;v&&(la(h.x,v.offset.x),la(h.y,v.offset.y))}return h}removeElementScroll(f){var p;const h=Nt();if(Yn(h,f),(p=this.scroll)!=null&&p.wasRoot)return h;for(let y=0;y<this.path.length;y++){const v=this.path[y],{scroll:x,options:b}=v;v!==this.root&&x&&b.layoutScroll&&(x.wasRoot&&Yn(h,f),la(h.x,x.offset.x),la(h.y,x.offset.y))}return h}applyTransform(f,h=!1,p){var v,x;const y=p||Nt();Yn(y,f);for(let b=0;b<this.path.length;b++){const S=this.path[b];!h&&S.options.layoutScroll&&S.scroll&&S!==S.root&&(la(y.x,-S.scroll.offset.x),la(y.y,-S.scroll.offset.y)),al(S.latestValues)&&Oc(y,S.latestValues,(v=S.layout)==null?void 0:v.layoutBox)}return al(this.latestValues)&&Oc(y,this.latestValues,(x=this.layout)==null?void 0:x.layoutBox),y}removeTransform(f){var p;const h=Nt();Yn(h,f);for(let y=0;y<this.path.length;y++){const v=this.path[y];if(!al(v.latestValues))continue;let x;v.instance&&(Dh(v.latestValues)&&v.updateSnapshot(),x=Nt(),Yn(x,v.measurePageBox())),_0(h,v.latestValues,(p=v.snapshot)==null?void 0:p.layoutBox,x)}return al(this.latestValues)&&_0(h,this.latestValues),h}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.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!==Vt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){var S;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==h;if(!(f||p&&this.isSharedProjectionDirty||this.isProjectionDirty||(S=this.parent)!=null&&S.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:x}=this.options;if(!this.layout||!(v||x))return;this.resolvedRelativeTargetAt=Vt.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Nt(),this.targetWithTransforms=Nt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),TM(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Yn(this.target,this.layout.layoutBox),C1(this.target,this.targetDelta)):Yn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Dh(this.parent.latestValues)||S1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,h,p){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Nt(),this.relativeTargetOrigin=Nt(),Jc(this.relativeTargetOrigin,h,p,this.options.layoutAnchor||void 0),Yn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var j;const f=this.getLead(),h=!!this.resumingFrom||this!==f;let p=!0;if((this.isProjectionDirty||(j=this.parent)!=null&&j.isProjectionDirty)&&
vendor: 5,333 bytes, line 183
183(p=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===Vt.timestamp&&(p=!1),p)return;const{layout:y,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||v))return;Yn(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,b=this.treeScale.y;I5(this.layoutCorrected,this.treeScale,this.path,h),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=Nt());const{target:S}=f;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(O0(this.prevProjectionDelta.x,this.projectionDelta.x),O0(this.prevProjectionDelta.y,this.projectionDelta.y)),Lr(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==b||!X0(this.projectionDelta.x,this.prevProjectionDelta.x)||!X0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),f){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ss(),this.projectionDelta=ss(),this.projectionDeltaWithTransform=ss()}setAnimationOrigin(f,h=!1){const p=this.snapshot,y=p?p.latestValues:{},v={...this.latestValues},x=ss();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const b=Nt(),S=p?p.source:void 0,j=this.layout?this.layout.source:void 0,N=S!==j,A=this.getStack(),k=!A||A.members.length<=1,U=!!(N&&!k&&this.options.crossfade===!0&&!this.path.some(eN));this.animationProgress=0;let _;this.mixTargetDelta=X=>{const Q=X/1e3;I0(x.x,f.x,Q),I0(x.y,f.y,Q),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Jc(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),IM(this.relativeTarget,this.relativeTargetOrigin,b,Q),_&&MM(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=Nt()),Yn(_,this.relativeTarget)),N&&(this.animationValues=v,RM(v,y,this.latestValues,Q,U,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Q},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){var h,p,y;this.notifyListeners("animationStart"),(h=this.currentAnimation)==null||h.stop(),(y=(p=this.resumingFrom)==null?void 0:p.currentAnimation)==null||y.stop(),this.pendingAnimation&&(Di(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ie.update(()=>{Vc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ds(0)),this.motionValue.jump(0,!1),this.currentAnimation=LM(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:v=>{this.mixTargetDelta(v),f.onUpdate&&f.onUpdate(v)},onStop:()=>{},onComplete:()=>{f.onComplete&&f.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 f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(UM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:h,target:p,layout:y,latestValues:v}=f;if(!(!h||!p||!y)){if(this!==f&&this.layout&&y&&_1(this.options.animationType,this.layout.layoutBox,y.layoutBox)){p=this.target||Nt();const x=$t(this.layout.layoutBox.x);p.x.min=f.target.x.min,p.x.max=p.x.min+x;const b=$t(this.layout.layoutBox.y);p.y.min=f.target.y.min,p.y.max=p.y.min+b}Yn(h,p),Oc(h,v),Lr(this.projectionDeltaWithTransform,this.layoutCorrected,h,v)}}registerSharedNode(f,h){this.sharedNodes.has(f)||this.sharedNodes.set(f,new BM),this.sharedNodes.get(f).add(h);const y=h.options.initialPromotionConfig;h.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(h):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){var h;const{layoutId:f}=this.options;return f?((h=this.getStack())==null?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:f}=this.options;return f?(h=this.getStack())==null?void 0:h.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:h,preserveFollowOpacity:p}={}){const y=this.getStack();y&&y.promote(this,p),f&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}
vendor: 32,571 bytes, line 183
183resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let h=!1;const{latestValues:p}=f;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const y={};p.z&&qd("z",f,y,this.animationValues);for(let v=0;v<_d.length;v++)qd(`rotate${_d[v]}`,f,y,this.animationValues),qd(`skew${_d[v]}`,f,y,this.animationValues);f.render();for(const v in y)f.setStaticValue(v,y[v]),this.animationValues&&(this.animationValues[v]=y[v]);f.scheduleRender()}applyProjectionStyles(f,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=kc(h==null?void 0:h.pointerEvents)||"",f.transform=p?p(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=kc(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!al(this.latestValues)&&(f.transform=p?p({},""):"none",this.hasProjected=!1);return}f.visibility="";const v=y.animationValues||y.latestValues;this.applyTransformsToTarget();let x=NM(this.projectionDeltaWithTransform,this.treeScale,v);p&&(x=p(v,x)),f.transform=x;const{x:b,y:S}=this.projectionDelta;f.transformOrigin=`${b.origin*100}% ${S.origin*100}% 0`,y.animationValues?f.opacity=y===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:f.opacity=y===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const j in Fh){if(v[j]===void 0)continue;const{correct:N,applyTo:A,isCSSVariable:k}=Fh[j],U=x==="none"?v[j]:N(v[j],y);if(A){const _=A.length;for(let X=0;X<_;X++)f[A[X]]=U}else k?this.options.visualElement.renderState.vars[j]=U:f[j]=U}this.options.layoutId&&(f.pointerEvents=y===this?kc(h==null?void 0:h.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>{var h;return(h=f.currentAnimation)==null?void 0:h.stop()}),this.root.nodes.forEach(J0),this.root.sharedNodes.clear()}}}function _M(n){n.updateLayout()}function qM(n){var l;const a=((l=n.resumeFrom)==null?void 0:l.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&a&&n.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=n.layout,{animationType:u}=n.options,f=a.source!==n.layout.source;if(u==="size")ia(x=>{const b=f?a.measuredBox[x]:a.layoutBox[x],S=$t(b);b.min=r[x].min,b.max=b.min+S});else if(u==="x"||u==="y"){const x=u==="x"?"y":"x";zh(f?a.measuredBox[x]:a.layoutBox[x],r[x])}else _1(u,a.layoutBox,r)&&ia(x=>{const b=f?a.measuredBox[x]:a.layoutBox[x],S=$t(r[x]);b.max=b.min+S,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[x].max=n.relativeTarget[x].min+S)});const h=ss();Lr(h,r,a.layoutBox);const p=ss();f?Lr(p,n.applyTransform(o,!0),a.measuredBox):Lr(p,r,a.layoutBox);const y=!O1(h);let v=!1;if(!n.resumeFrom){const x=n.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:b,layout:S}=x;if(b&&S){const j=n.options.layoutAnchor||void 0,N=Nt();Jc(N,a.layoutBox,b.layoutBox,j);const A=Nt();Jc(A,r,S.layoutBox,j),k1(N,A)||(v=!0),x.options.layoutRoot&&(n.relativeTarget=A,n.relativeTargetOrigin=N,n.relativeParent=x)}}}n.notifyListeners("didUpdate",{layout:r,snapshot:a,delta:p,layoutDelta:h,hasLayoutChanged:y,hasRelativeLayoutChanged:v})}else if(n.isLead()){const{onExitComplete:r}=n.options;r&&r()}n.options.transition=void 0}function GM(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function PM(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function YM(n){n.clearSnapshot()}function J0(n){n.clearMeasurements()}function XM(n){n.isLayoutDirty=!0,n.updateLayout()}function $0(n){n.isLayoutDirty=!1}function KM(n){n.isAnimationBlocked&&n.layout&&!n.isLayoutDirty&&(n.snapshot=n.layout,n.isLayoutDirty=!0)}function QM(n){const{visualElement:a}=n.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),n.resetTransform()}function W0(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function ZM(n){n.resolveTargetDelta()}function JM(n){n.calcProjection()}function $M(n){n.resetSkewAndRotation()}function WM(n){n.removeLeadSnapshot()}function I0(n,a,l){n.translate=lt(a.translate,0,l),n.scale=lt(a.scale,1,l),n.origin=a.origin,n.originPoint=a.originPoint}function ex(n,a,l,r){n.min=lt(a.min,l.min,r),n.max=lt(a.max,l.max,r)}function IM(n,a,l,r){ex(n.x,a.x,l.x,r),ex(n.y,a.y,l.y,r)}function eN(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const tN={duration:.45,ease:[.4,0,.1,1]},tx=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),nx=tx("applewebkit/")&&!tx("chrome/")?Math.round:Bn;function ax(n){n.min=nx(n.min),n.max=nx(n.max)}function nN(n){ax(n.x),ax(n.y)}function _1(n,a,l){return n==="position"||n==="preserve-aspect"&&!CM(Y0(a),Y0(l),.2)}function aN(n){var a;return n!==n.root&&((a=n.scroll)==null?void 0:a.wasRoot)}const iN=H1({attachResizeListener:(n,a)=>Gr(n,"resize",a),measureScroll:()=>{var n,a;return{x:document.documentElement.scrollLeft||((n=document.body)==null?void 0:n.scrollLeft)||0,y:document.documentElement.scrollTop||((a=document.body)==null?void 0:a.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Gd={current:void 0},q1=H1({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Gd.current){const n=new iN({});n.mount(window),n.setOptions({layoutScroll:!0}),Gd.current=n}return Gd.current},resetTransform:(n,a)=>{n.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),G1=C.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function lN(n=!0){const a=C.useContext(am);if(a===null)return[!0,null];const{isPresent:l,onExitComplete:r,register:o}=a,u=C.useId();C.useEffect(()=>{if(n)return o(u)},[n]);const f=C.useCallback(()=>n&&r&&r(u),[u,r,n]);return!l&&r?[!1,f]:[!0]}const P1=C.createContext({strict:!1}),ix={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 lx=!1;function sN(){if(lx)return;const n={};for(const a in ix)n[a]={isEnabled:l=>ix[a].some(r=>!!l[r])};x1(n),lx=!0}function Y1(){return sN(),Z5()}function rN(n){const a=Y1();for(const l in n)a[l]={...a[l],...n[l]};x1(a)}const oN=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 $c(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||oN.has(n)}let X1=n=>!$c(n);function cN(n){typeof n=="function"&&(X1=a=>a.startsWith("on")?!$c(a):n(a))}try{cN(require("@emotion/is-prop-valid").default)}catch{}function uN(n,a,l){const r={};for(const o in n)o==="values"&&typeof n.values=="object"||Ut(n[o])||(X1(o)||l===!0&&$c(o)||!a&&!$c(o)||n.draggable&&o.startsWith("onDrag"))&&(r[o]=n[o]);return r}const lu=C.createContext({});function fN(n,a){if(iu(n)){const{initial:l,animate:r}=n;return{initial:l===!1||qr(l)?l:void 0,animate:qr(r)?r:void 0}}return n.inherit!==!1?a:{}}function dN(n){const{initial:a,animate:l}=fN(n,C.useContext(lu));return C.useMemo(()=>({initial:a,animate:l}),[sx(a),sx(l)])}function sx(n){return Array.isArray(n)?n.join(" "):n}const Mm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function K1(n,a,l){for(const r in a)!Ut(a[r])&&!j1(r,l)&&(n[r]=a[r])}function hN({transformTemplate:n},a){return C.useMemo(()=>{const l=Mm();return jm(l,a,n),Object.assign({},l.vars,l.style)},[a])}function mN(n,a){const l=n.style||{},r={};return K1(r,l,n),Object.assign(r,hN(n,a)),r}function pN(n,a){const l={},r=mN(n,a);return n.drag&&n.dragListener!==!1&&(l.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(l.tabIndex=0),l.style=r,l}const Q1=()=>({...Mm(),attrs:{}});function yN(n,a,l,r){const o=C.useMemo(()=>{const u=Q1();return A1(u,a,N1(r),n.transformTemplate,n.style),{...u.attrs,style:{...u.style}}},[a]);if(n.style){const u={};K1(u,n.style,n),o.style={...u,...o.style}}return o}const gN=["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 Nm(n){return typeof n!="string"||n.includes("-")?!1:!!(gN.indexOf(n)>-1||/[A-Z]/u.test(n))}function vN(n,a,l,{latestValues:r},o,u=!1,f){const p=(f??Nm(n)?yN:pN)(a,r,o,n),y=uN(a,typeof n=="string",u),v=n!==C.Fragment?{...y,...p,ref:l}:{},{children:x}=a,b=C.useMemo(()=>Ut(x)?x.get():x,[x]);return C.createElement(n,{...v,children:b})}function xN({scrapeMotionValuesFromProps:n,createRenderState:a},l,r,o){return{latestValues:bN(l,r,o,n),renderState:a()}}function bN(n,a,l,r){const o={},u=r(n,{});for(const b in u)o[b]=kc(u[b]);let{initial:f,animate:h}=n;const p=iu(n),y=g1(n);a&&y&&!p&&n.inherit!==!1&&(f===void 0&&(f=a.initial),h===void 0&&(h=a.animate));let v=l?l.initial===!1:!1;v=v||f===!1;const x=v?h:f;if(x&&typeof x!="boolean"&&!au(x)){const b=Array.isArray(x)?x:[x];for(let S=0;S<b.length;S++){const j=vm(n,b[S]);if(j){const{transitionEnd:N,transition:A,...k}=j;for(const U in k){let _=k[U];if(Array.isArray(_)){const X=v?_.length-1:0;_=_[X]}_!==null&&(o[U]=_)}for(const U in N)o[U]=N[U]}}}return o}const Z1=n=>(a,l)=>{const r=C.useContext(lu),o=C.useContext(am),u=()=>xN(n,a,r,o);return l?u():gj(u)},wN=Z1({scrapeMotionValuesFromProps:Am,createRenderState:Mm}),SN=Z1({scrapeMotionValuesFromProps:D1,createRenderState:Q1}),CN=Symbol.for("motionComponentSymbol");function TN(n,a,l){const r=C.useRef(l);C.useInsertionEffect(()=>{r.current=l});const o=C.useRef(null);return C.useCallback(u=>{var h;u&&((h=n.onMount)==null||h.call(n,u));const f=r.current;if(typeof f=="function")if(u){const p=f(u);typeof p=="function"&&(o.current=p)}else o.current?(o.current(),o.current=null):f(u);else f&&(f.current=u);a&&(u?a.mount(u):a.unmount())},[a])}const J1=C.createContext({});function ns(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function EN(n,a,l,r,o,u){var _,X;const{visualElement:f}=C.useContext(lu),h=C.useContext(P1),p=C.useContext(am),y=C.useContext(G1),v=y.reducedMotion,x=y.skipAnimations,b=C.useRef(null),S=C.useRef(!1);r=r||h.renderer,!b.current&&r&&(b.current=r(n,{visualState:a,parent:f,props:l,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:v,skipAnimations:x,isSVG:u}),S.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const j=b.current,N=C.useContext(J1);j&&!j.projection&&o&&(j.type==="html"||j.type==="svg")&&jN(b.current,l,o,N);const A=C.useRef(!1);C.useInsertionEffect(()=>{j&&A.current&&j.update(l,p)});const k=l[i1],U=C.useRef(!!k&&typeof window<"u"&&!((_=window.MotionHandoffIsComplete)!=null&&_.call(window,k))&&((X=window.MotionHasOptimisedAnimation)==null?void 0:X.call(window,k)));return xj(()=>{S.current=!0,j&&(A.current=!0,window.MotionIsMounted=!0,j.updateFeatures(),j.scheduleRenderMicrotask(),U.current&&j.animationState&&j.animationState.animateChanges())}),C.useEffect(()=>{j&&(!U.current&&j.animationState&&j.animationState.animateChanges(),U.current&&(queueMicrotask(()=>{var Q;(Q=window.MotionHandoffMarkAsComplete)==null||Q.call(window,k)}),U.current=!1),j.enteringChildren=void 0)}),j}function jN(n,a,l,r){const{layoutId:o,layout:u,drag:f,dragConstraints:h,layoutScroll:p,layoutRoot:y,layoutAnchor:v,layoutCrossfade:x}=a;n.projection=new l(n.latestValues,a["data-framer-portal-id"]?void 0:$1(n.parent)),n.projection.setOptions({layoutId:o,layout:u,alwaysMeasureLayout:!!f||h&&ns(h),visualElement:n,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:x,layoutScroll:p,layoutRoot:y,layoutAnchor:v})}function $1(n){if(n)return n.options.allowProjection!==!1?n.projection:$1(n.parent)}function Pd(n,{forwardMotionProps:a=!1,type:l}={},r,o){r&&rN(r);const u=l?l==="svg":Nm(n),f=u?SN:wN;function h(y,v){let x;const b={...C.useContext(G1),...y,layoutId:AN(y)},{isStatic:S}=b,j=dN(y),N=f(y,S);if(!S&&typeof window<"u"){MN();const A=NN(b);x=A.MeasureLayout,j.visualElement=EN(n,N,b,o,A.ProjectionNode,u)}return m.jsxs(lu.Provider,{value:j,children:[x&&j.visualElement?m.jsx(x,{visualElement:j.visualElement,...b}):null,vN(n,y,TN(N,j.visualElement,v),N,S,a,u)]})}h.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const p=C.forwardRef(h);return p[CN]=n,p}function AN({layoutId:n}){const a=C.useContext(yb).id;return a&&n!==void 0?a+"-"+n:n}function MN(n,a){C.useContext(P1).strict}function NN(n){const a=Y1(),{drag:l,layout:r}=a;if(!l&&!r)return{};const o={...l,...r};return{MeasureLayout:l!=null&&l.isEnabled(n)||r!=null&&r.isEnabled(n)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function DN(n,a){if(typeof Proxy>"u")return Pd;const l=new Map,r=(u,f)=>Pd(u,f,n,a),o=(u,f)=>r(u,f);return new Proxy(o,{get:(u,f)=>f==="create"?r:(l.has(f)||l.set(f,Pd(f,void 0,n,a)),l.get(f))})}const RN=(n,a)=>a.isSVG??Nm(n)?new dM(a):new sM(a,{allowProjection:n!==C.Fragment});class FN extends Ri{constructor(a){super(a),a.animationState||(a.animationState=gM(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();au(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:l}=this.node.prevProps||{};a!==l&&this.updateAnimationControlsSubscription()}unmount(){var a;this.node.animationState.reset(),(a=this.unmountControls)==null||a.call(this)}}let zN=0;class LN extends Ri{constructor(){super(...arguments),this.id=zN++,this.isExitComplete=!1}update(){var u;if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:l}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===r)return;if(a&&r===!1){if(this.isExitComplete){const{initial:f,custom:h}=this.node.getProps();if(typeof f=="string"){const p=ol(this.node,f,h);if(p){const{transition:y,transitionEnd:v,...x}=p;for(const b in x)(u=this.node.getValue(b))==null||u.jump(x[b])}}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",!a);l&&!a&&o.then(()=>{this.isExitComplete=!0,l(this.id)})}mount(){const{register:a,onExitComplete:l}=this.node.presenceContext||{};l&&l(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const ON={animation:{Feature:FN},exit:{Feature:LN}};function $r(n){return{point:{x:n.pageX,y:n.pageY}}}const kN=n=>a=>Sm(a)&&n(a,$r(a));function Or(n,a,l,r){return Gr(n,a,kN(l),r)}const W1=({current:n})=>n?n.ownerDocument.defaultView:null,rx=(n,a)=>Math.abs(n-a);function VN(n,a){const l=rx(n.x,a.x),r=rx(n.y,a.y);return Math.sqrt(l**2+r**2)}const ox=new Set(["auto","scroll"]);class I1{constructor(a,l,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:u=!1,distanceThreshold:f=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=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Cc(this.lastRawMoveEventInfo,this.transformPagePoint));const S=Yd(this.lastMoveEventInfo,this.history),j=this.startEvent!==null,N=VN(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!j&&!N)return;const{point:A}=S,{timestamp:k}=Vt;this.history.push({...A,timestamp:k});const{onStart:U,onMove:_}=this.handlers;j||(U&&U(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),_&&_(this.lastMoveEvent,S)},this.handlePointerMove=(S,j)=>{this.lastMoveEvent=S,this.lastRawMoveEventInfo=j,this.lastMoveEventInfo=Cc(j,this.transformPagePoint),Ie.update(this.updatePoint,!0)},this.handlePointerUp=(S,j)=>{this.end();const{onEnd:N,onSessionEnd:A,resumeAnimation:k}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&k&&k(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const U=Yd(S.type==="pointercancel"?this.lastMoveEventInfo:Cc(j,this.transformPagePoint),this.history);this.startEvent&&N&&N(S,U),A&&A(S,U)},!Sm(a))return;this.dragSnapToOrigin=u,this.handlers=l,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=o||window;const p=$r(a),y=Cc(p,this.transformPagePoint),{point:v}=y,{timestamp:x}=Vt;this.history=[{...v,timestamp:x}];const{onSessionStart:b}=l;b&&b(a,Yd(y,this.history)),this.removeListeners=Qr(Or(this.contextWindow,"pointermove",this.handlePointerMove),Or(this.contextWindow,"pointerup",this.handlePointerUp),Or(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(a){let l=a.parentElement;for(;l;){const r=getComputedStyle(l);(ox.has(r.overflowX)||ox.has(r.overflowY))&&this.scrollPositions.set(l,{x:l.scrollLeft,y:l.scrollTop}),l=l.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const l=this.scrollPositions.get(a);if(!l)return;const r=a===window,o=r?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},u={x:o.x-l.x,y:o.y-l.y};u.x===0&&u.y===0||(r?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(a,o),Ie.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Di(this.updatePoint)}}function Cc(n,a){return a?{point:a(n.point)}:n}function cx(n,a){return{x:n.x-a.x,y:n.y-a.y}}function Yd({point:n},a){return{point:n,delta:cx(n,e2(a)),offset:cx(n,BN(a)),velocity:UN(a,.1)}}function BN(n){return n[0]}function e2(n){return n[n.length-1]}function UN(n,a){if(n.length<2)return{x:0,y:0};let l=n.length-1,r=null;const o=e2(n);for(;l>=0&&(r=n[l],!(o.timestamp-r.timestamp>Sn(a)));)l--;if(!r)return{x:0,y:0};r===n[0]&&n.length>2&&o.timestamp-r.timestamp>Sn(a)*2&&(r=n[1]);const u=kn(o.timestamp-r.timestamp);if(u===0)return{x:0,y:0};const f={x:(o.x-r.x)/u,y:(o.y-r.y)/u};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function HN(n,{min:a,max:l},r){return a!==void 0&&n<a?n=r?lt(a,n,r.min):Math.max(n,a):l!==void 0&&n>l&&(n=r?lt(l,n,r.max):Math.min(n,l)),n}function ux(n,a,l){return{min:a!==void 0?n.min+a:void 0,max:l!==void 0?n.max+l-(n.max-n.min):void 0}}function _N(n,{top:a,left:l,bottom:r,right:o}){return{x:ux(n.x,l,o),y:ux(n.y,a,r)}}function fx(n,a){let l=a.min-n.min,r=a.max-n.max;return a.max-a.min<n.max-n.min&&([l,r]=[r,l]),{min:l,max:r}}function qN(n,a){return{x:fx(n.x,a.x),y:fx(n.y,a.y)}}function GN(n,a){let l=.5;const r=$t(n),o=$t(a);return o>r?l=Hr(a.min,a.max-r,n.min):r>o&&(l=Hr(n.min,n.max-o,a.min)),oa(0,1,l)}function PN(n,a){const l={};return a.min!==void 0&&(l.min=a.min-n.min),a.max!==void 0&&(l.max=a.max-n.min),l}const Lh=.35;function YN(n=Lh){return n===!1?n=0:n===!0&&(n=Lh),{x:dx(n,"left","right"),y:dx(n,"top","bottom")}}function dx(n,a,l){return{min:hx(n,a),max:hx(n,l)}}function hx(n,a){return typeof n=="number"?n:n[a]||0}const XN=new WeakMap;class KN{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Nt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:l=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const u=x=>{l&&this.snapToCursor($r(x).point),this.stopAnimation()},f=(x,b)=>{const{drag:S,dragPropagation:j,onDragStart:N}=this.getProps();if(S&&!j&&(this.openDragLock&&this.openDragLock(),this.openDragLock=E5(S),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ia(k=>{let U=this.getAxisMotionValue(k).get()||0;if(sa.test(U)){const{projection:_}=this.visualElement;if(_&&_.layout){const X=_.layout.layoutBox[k];X&&(U=$t(X)*(parseFloat(U)/100))}}this.originPoint[k]=U}),N&&Ie.update(()=>N(x,b),!1,!0),Eh(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},h=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b;const{dragPropagation:S,dragDirectionLock:j,onDirectionLock:N,onDrag:A}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:k}=b;if(j&&this.currentDirection===null){this.currentDirection=ZN(k),this.currentDirection!==null&&N&&N(this.currentDirection);return}this.updateAxis("x",b.point,k),this.updateAxis("y",b.point,k),this.visualElement.render(),A&&Ie.update(()=>A(x,b),!1,!0)},p=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b,this.stop(x,b),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>{const{dragSnapToOrigin:x}=this.getProps();(x||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:v}=this.getProps();this.panSession=new I1(a,{onSessionStart:u,onStart:f,onMove:h,onSessionEnd:p,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:r,contextWindow:W1(this.visualElement),element:this.visualElement.current})}stop(a,l){const r=a||this.latestPointerEvent,o=l||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!o||!r)return;const{velocity:f}=o;this.startAnimation(f);const{onDragEnd:h}=this.getProps();h&&Ie.postRender(()=>h(r,o))}cancel(){this.isDragging=!1;const{projection:a,animationState:l}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),l&&l.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,l,r){const{drag:o}=this.getProps();if(!r||!Tc(a,o,this.currentDirection))return;const u=this.getAxisMotionValue(a);let f=this.originPoint[a]+r[a];this.constraints&&this.constraints[a]&&(f=HN(f,this.constraints[a],this.elastic[a])),u.set(f)}resolveConstraints(){var u;const{dragConstraints:a,dragElastic:l}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(u=this.visualElement.projection)==null?void 0:u.layout,o=this.constraints;a&&ns(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&r?this.constraints=_N(r.layoutBox,a):this.constraints=!1,this.elastic=YN(l),o!==this.constraints&&!ns(a)&&r&&this.constraints&&!this.hasMutatedConstraints&&ia(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=PN(r.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:l}=this.getProps();if(!a||!ns(a))return!1;const r=a.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const u=eM(r,o.root,this.visualElement.getTransformPagePoint());let f=qN(o.layout.layoutBox,u);if(l){const h=l($5(f));this.hasMutatedConstraints=!!h,h&&(f=w1(h))}return f}startAnimation(a){const{drag:l,dragMomentum:r,dragElastic:o,dragTransition:u,dragSnapToOrigin:f,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},y=ia(v=>{if(!Tc(v,l,this.currentDirection))return;let x=p&&p[v]||{};(f===!0||f===v)&&(x={min:0,max:0});const b=o?200:1e6,S=o?40:1e7,j={type:"inertia",velocity:r?a[v]:0,bounceStiffness:b,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...u,...x};return this.startAxisValueAnimation(v,j)});return Promise.all(y).then(h)}startAxisValueAnimation(a,l){const r=this.getAxisMotionValue(a);return Eh(this.visualElement,a),r.start(gm(a,r,0,l,this.visualElement,!1))}stopAnimation(){ia(a=>this.getAxisMotionValue(a).stop())}getAxisMotionValue(a){const l=`_drag${a.toUpperCase()}`,r=this.visualElement.getProps(),o=r[l];return o||this.visualElement.getValue(a,(r.initial?r.initial[a]:void 0)||0)}snapToCursor(a){ia(l=>{const{drag:r}=this.getProps();if(!Tc(l,r,this.currentDirection))return;const{projection:o}=this.visualElement,u=this.getAxisMotionValue(l);if(o&&o.layout){const{min:f,max:h}=o.layout.layoutBox[l],p=u.get()||0;u.set(a[l]-lt(f,h,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:l}=this.getProps(),{projection:r}=this.visualElement;if(!ns(l)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};ia(f=>{const h=this.getAxisMotionValue(f);if(h&&this.constraints!==!1){const p=h.get();o[f]=GN({min:p,max:p},this.constraints[f])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),ia(f=>{if(!Tc(f,a,null))return;const h=this.getAxisMotionValue(f),{min:p,max:y}=this.constraints[f];h.set(lt(p,y,o[f]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;XN.set(this.visualElement,this);const a=this.visualElement.current,l=Or(a,"pointerdown",y=>{const{drag:v,dragListener:x=!0}=this.getProps(),b=y.target,S=b!==a&&R5(b);v&&x&&!S&&this.start(y)});let r;const o=()=>{const{dragConstraints:y}=this.getProps();ns(y)&&y.current&&(this.constraints=this.resolveRefConstraints(),r||(r=QN(a,y.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,f=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),Ie.read(o);const h=Gr(window,"resize",()=>this.scalePositionWithinConstraints()),p=u.addEventListener("didUpdate",(({delta:y,hasLayoutChanged:v})=>{this.isDragging&&v&&(ia(x=>{const b=this.getAxisMotionValue(x);b&&(this.originPoint[x]+=y[x].translate,b.set(b.get()+y[x].translate))}),this.visualElement.render())}));return()=>{h(),l(),f(),p&&p(),r&&r()}}getProps(){const a=this.visualElement.getProps(),{drag:l=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:u=!1,dragElastic:f=Lh,dragMomentum:h=!0}=a;return{...a,drag:l,dragDirectionLock:r,dragPropagation:o,dragConstraints:u,dragElastic:f,dragMomentum:h}}}function mx(n){let a=!0;return()=>{if(a){a=!1;return}n()}}function QN(n,a,l){const r=C0(n,mx(l)),o=C0(a,mx(l));return()=>{r(),o()}}function Tc(n,a,l){return(a===!0||a===n)&&(l===null||l===n)}function ZN(n,a=10){let l=null;return Math.abs(n.y)>a?l="y":Math.abs(n.x)>a&&(l="x"),l}class JN extends Ri{constructor(a){super(a),this.removeGroupControls=Bn,this.removeListeners=Bn,this.controls=new KN(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Bn}update(){const{dragControls:a}=this.node.getProps(),{dragControls:l}=this.node.prevProps||{};a!==l&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Xd=n=>(a,l)=>{n&&Ie.update(()=>n(a,l),!1,!0)};class $N extends Ri{constructor(){super(...arguments),this.removePointerDownListener=Bn}onPointerDown(a){this.session=new I1(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:W1(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:l,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Xd(a),onStart:Xd(l),onMove:Xd(r),onEnd:(u,f)=>{delete this.session,o&&Ie.postRender(()=>o(u,f))}}}mount(){this.removePointerDownListener=Or(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Kd=!1;class WN extends C.Component{componentDidMount(){const{visualElement:a,layoutGroup:l,switchLayoutGroup:r,layoutId:o}=this.props,{projection:u}=a;u&&(l.group&&l.group.add(u),r&&r.register&&o&&r.register(u),Kd&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Vc.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:l,visualElement:r,drag:o,isPresent:u}=this.props,{projection:f}=r;return f&&(f.isPresent=u,a.layoutDependency!==l&&f.setOptions({...f.options,layoutDependency:l}),Kd=!0,o||a.layoutDependency!==l||l===void 0||a.isPresent!==u?f.willUpdate():this.safeToRemove(),a.isPresent!==u&&(u?f.promote():f.relegate()||Ie.postRender(()=>{const h=f.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:a,layoutAnchor:l}=this.props,{projection:r}=a;r&&(r.options.layoutAnchor=l,r.root.didUpdate(),wm.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:l,switchLayoutGroup:r}=this.props,{projection:o}=a;Kd=!0,o&&(o.scheduleCheckAfterUnmount(),l&&l.group&&l.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function t2(n){const[a,l]=lN(),r=C.useContext(yb);return m.jsx(WN,{...n,layoutGroup:r,switchLayoutGroup:C.useContext(J1),isPresent:a,safeToRemove:l})}const IN={pan:{Feature:$N},drag:{Feature:JN,ProjectionNode:q1,MeasureLayout:t2}};function px(n,a,l){const{props:r}=n;n.animationState&&r.whileHover&&n.animationState.setActive("whileHover",l==="Start");const o="onHover"+l,u=r[o];u&&Ie.postRender(()=>u(a,$r(a)))}class e4 extends Ri{mount(){const{current:a}=this.node;a&&(this.unmount=A5(a,(l,r)=>(px(this.node,r,"Start"),o=>px(this.node,o,"End"))))}unmount(){}}class t4 extends Ri{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Qr(Gr(this.node.current,"focus",()=>this.onFocus()),Gr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function yx(n,a,l){const{props:r}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&r.whileTap&&n.animationState.setActive("whileTap",l==="Start");const o="onTap"+(l==="End"?"":l),u=r[o];u&&Ie.postRender(()=>u(a,$r(a)))}class n4 extends Ri{mount(){const{current:a}=this.node;if(!a)return;const{globalTapTarget:l,propagate:r}=this.node.props;this.unmount=z5(a,(o,u)=>(yx(this.node,u,"Start"),(f,{success:h})=>yx(this.node,f,h?"End":"Cancel")),{useGlobalTarget:l,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Oh=new WeakMap,Qd=new WeakMap,a4=n=>{const a=Oh.get(n.target);a&&a(n)},i4=n=>
183{n.forEach(a4)};function l4({root:n,...a}){const l=n||document;Qd.has(l)||Qd.set(l,{});const r=Qd.get(l),o=JSON.stringify(a);return r[o]||(r[o]=new IntersectionObserver(i4,{root:n,...a})),r[o]}function s4(n,a,l){const r=l4(a);return Oh.set(n,l),r.observe(n),()=>{Oh.delete(n),r.unobserve(n)}}const r4={some:0,all:1};class o4 extends Ri{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var p;(p=this.stopObserver)==null||p.call(this);const{viewport:a={}}=this.node.getProps(),{root:l,margin:r,amount:o="some",once:u}=a,f={root:l?l.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:r4[o]},h=y=>{const{isIntersecting:v}=y;if(this.isInView===v||(this.isInView=v,u&&!v&&this.hasEnteredView))return;v&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",v);const{onViewportEnter:x,onViewportLeave:b}=this.node.getProps(),S=v?x:b;S&&S(y)};this.stopObserver=s4(this.node.current,f,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:l}=this.node;["amount","margin","root"].some(c4(a,l))&&this.startObserver()}unmount(){var a;(a=this.stopObserver)==null||a.call(this),this.hasEnteredView=!1,this.isInView=!1}}function c4({viewport:n={}},{viewport:a={}}={}){return l=>n[l]!==a[l]}const u4={inView:{Feature:o4},tap:{Feature:n4},focus:{Feature:t4},hover:{Feature:e4}},f4={layout:{ProjectionNode:q1,MeasureLayout:t2}},d4={...ON,...u4,...IN,...f4},R=DN(d4,RN),na="#0D2B35",wi="#2C4A52",br="#5A8A96",qe="#0099A8",wr="#C8922A",$l="#F2F9FA",gx="#E6F5F7",_e={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},qt={hidden:{},visible:{transition:{staggerChildren:.15}}};function h4(){return m.jsxs(m.Fragment,{children:[m.jsxs(Ga,{children:[m.jsx("title",{children:"Aqualine Piping â Commercial, Process & Residential Plumbing | San Jose, CA"}),m.jsx("meta",{name:"description",content:"Aqualine Piping is a family-owned plumbing company in San Jose, CA with 50+ years of experience in commercial, process piping, and residential plumbing services."})]}),m.jsxs("section",{className:"relative w-full flex",style:{minHeight:"600px"},children:[m.jsx("div",{className:"flex flex-col justify-center px-8 sm:px-12 lg:px-16 xl:px-20 py-8 w-full lg:w-1/2 shrink-0",style:{backgroundColor:"#EAF4F4"},children:m.jsxs(R.div,{variants:qt,initial:"hidden",animate:"visible",children:[m.jsx(R.p,{variants:_e,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:qe,fontFamily:"var(--font-sans)"},children:"Bay Area's Trusted Plumbing Experts"}),m.jsx(R.h1,{variants:_e,className:"text-4xl sm:text-5xl font-bold leading-tight mb-5",style:{fontFamily:"var(--font-heading)",color:na},children:"Commercial Plumbing Solutions Built on Experience, Quality & Service"}),m.jsx(R.p,{variants:_e,className:"text-base leading-relaxed mb-8",style:{color:wi,fontFamily:"var(--font-sans)"},children:"Commercial Construction ⢠Service & Maintenance ⢠Hydro Jetting ⢠Facility Support ⢠Process Piping"}),m.jsxs(R.div,{variants:_e,className:"flex flex-wrap items-center gap-4",children:[m.jsx("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:qe,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor="#007080"},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=qe},children:"Contact Us"}),m.jsxs("a",{href:"#services",className:"inline-flex items-center gap-2 text-base font-semibold transition-colors duration-200",style:{color:qe,fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.color="#007080"},onMouseLeave:n=>{n.currentTarget.style.color=qe},children:["Our Services ",m.jsx(Zt,{className:"h-4 w-4"})]})]})]})}),m.jsxs("div",{className:"hidden lg:block w-1/2 shrink-0 relative",style:{minHeight:"600px"},children:[m.jsx("img",{src:"/airo-assets/images/pages/home/hero",alt:"Plumbing engineers reviewing blueprints",className:"absolute inset-0 w-full h-full object-cover",style:{objectPosition:"50% 0%"},fetchPriority:"high"}),m.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, #EAF4F4 0%, rgba(234,244,244,0.4) 15%, rgba(234,244,244,0) 35%)"}})]}),m.jsx("div",{className:"absolute bottom-0 left-0 right-0",style:{lineHeight:0,zIndex:2},children:m.jsx("svg",{viewBox:"0 0 1440 50",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",style:{display:"block",width:"100%",height:"50px"},children:m.jsx("path",{d:"M0,0 C360,50 1080,0 1440,40 L1440,50 L0,50 Z",fill:"#0099A8"})})})]}),m.jsx("div",{className:"py-5 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:qe},children:m.jsxs("div",{className:"max-w-7xl mx-auto flex flex-wrap items-center gap-6",children:[m.jsxs("div",{className:"flex items-center gap-2 text-sm font-semibold",style:{color:"#FFFFFF",fontFamily:"var(--font-sans)"},children:[m.jsx(em,{className:"h-5 w-5"}),"Family Owned & Operated"]}),m.jsx("span",{style:{color:"rgba(255,255,255,0.35)"},children:"|"}),m.jsxs("div",{className:"flex items-center gap-2 text-sm font-medium",style:{color:"#FFFFFF",fontFamily:"var(--font-sans)"},children:[m.jsx(us,{className:"h-5 w-5"}),"50+ Years Experience"]})]})}),m.jsx("section",{id:"about",className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:$l},children:m.jsx("div",{className:"max-w-7xl mx-auto",children:m.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-start",children:[m.jsxs(R.div,{variants:qt,initial:"hidden",
183whileInView:"visible",viewport:{once:!0},children:[m.jsx(R.p,{variants:_e,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:qe,fontFamily:"var(--font-sans)"},children:"Who We Are"}),m.jsx(R.h2,{variants:_e,className:"text-4xl font-bold mb-6",style:{fontFamily:"var(--font-heading)",color:na},children:"Family-Owned. Experience-Driven. Built on Trust."}),m.jsx(R.div,{variants:qt,className:"flex flex-col gap-4",children:["Founded in 2011, Aqualine Piping is a family-owned and operated company built on more than 50 years of combined experience in commercial plumbing, process piping, industrial piping, and residential plumbing services.","We have successfully managed projects ranging from service and maintenance work to complex commercial and industrial installations. Our team is known for delivering quality workmanship, coordinating effectively with owners, property managers, and construction teams, and consistently completing projects safely, on time, and within budget.","At Aqualine Piping, customer service is at the core of everything we do. We offer in-house design services to help streamline projects and provide practical, cost-effective solutions. Unlike many service companies, our technicians are not paid on commission, ensuring recommendations are based solely on your needs, not sales quotas."].map((n,a)=>m.jsx(R.p,{variants:_e,className:"text-base leading-relaxed",style:{color:wi,fontFamily:"var(--font-sans)"},children:n},a))}),m.jsx(R.div,{variants:_e,className:"mt-8 grid grid-cols-1 sm:grid-cols-2 gap-3",children:["50+ Years of Combined Industry Experience","Family-Owned & Operated Since 2011","In-House Design Services","No Commission-Based Technicians","Commercial, Industrial & Residential Expertise","On-Time, Within-Budget Project Delivery"].map(n=>m.jsxs("div",{className:"flex items-start gap-3",children:[m.jsx(cn,{className:"h-5 w-5 shrink-0 mt-0.5",style:{color:qe}}),m.jsx("span",{className:"text-sm font-medium",style:{color:wi,fontFamily:"var(--font-sans)"},children:n})]},n))})]}),m.jsx(R.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.7,ease:"easeOut"},className:"relative flex items-center justify-center",children:m.jsxs("div",{className:"relative select-none",children:[m.jsx("span",{className:"block font-bold leading-none",style:{fontFamily:"var(--font-heading)",fontSize:"clamp(140px, 18vw, 220px)",color:qe,opacity:.08,lineHeight:1},children:"50"}),m.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[m.jsx("span",{className:"text-7xl font-bold",style:{fontFamily:"var(--font-heading)",color:qe},children:"50+"}),m.jsx("span",{className:"text-xl font-semibold mt-2 text-center",style:{fontFamily:"var(--font-sans)",color:na},children:"Years of Experience"}),m.jsx("div",{className:"mt-4 h-1 w-16 rounded",style:{backgroundColor:wr}}),m.jsx("span",{className:"mt-4 text-sm text-center max-w-xs",style:{color:br,fontFamily:"var(--font-sans)"},children:"Serving the Bay Area since 2011"})]})]})})]})})}),m.jsx("div",{style:{backgroundColor:$l,lineHeight:0,fontSize:0},children:m.jsx("svg",{viewBox:"0 0 1440 80",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",style:{display:"block",width:"100%",height:"80px"},children:m.jsx("path",{d:"M0,40 C240,0 480,80 720,40 C960,0 1200,80 1440,40 L1440,80 L0,80 Z",fill:"#FFFFFF"})})}),m.jsx("section",{id:"services",className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:"#FFFFFF"},children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs(R.div,{variants:qt,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"mb-14",children:[m.jsx(R.p,{variants:_e,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:qe,fontFamily:"var(--font-sans)"},children:"What We Do"}),m.jsx(R.h2,{variants:_e,className:"text-4xl font-bold mb-4",style:{fontFamily:"var(--font-heading)",color:na},children:"Our Services"}),m.jsx(R.p,{variants:_e,className:"text-lg max-w-2xl",style:{color:br,fontFamily:"var(--font-sans)"},children:"Our customers are our priority and we pride ourselves on building long-term relationships."})]}
183),m.jsxs(R.div,{variants:qt,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[m.jsxs(R.div,{variants:_e,className:"group relative overflow-hidden rounded-2xl md:col-span-2",style:{minHeight:"360px"},children:[m.jsx("img",{src:"/assets/IMG_5049.jpeg",alt:"Aqualine Piping hydro jetting trailer with service vans â commercial drain cleaning and preventive maintenance fleet",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",style:{objectPosition:"center 40%"}}),m.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(0,60,75,0.93) 0%, rgba(0,60,75,0.70) 50%, rgba(0,60,75,0.40) 100%)"}}),m.jsxs("div",{className:"absolute top-0 left-0 bottom-0 flex flex-col justify-center p-10 max-w-xl",children:[m.jsx("span",{className:"text-xs font-semibold uppercase tracking-widest mb-3",style:{color:"#F5C97A",fontFamily:"var(--font-sans)"},children:"Service & Maintenance"}),m.jsx("h3",{className:"text-3xl font-bold text-white mb-3",style:{fontFamily:"var(--font-heading)"},children:"Commercial Plumbing Service & Maintenance"}),m.jsx("p",{className:"text-sm text-white/80 mb-6",style:{fontFamily:"var(--font-sans)"},children:"Responsive commercial plumbing service, preventative maintenance programs, hydro jetting, drain cleaning, emergency repairs, and ongoing facility support for commercial and industrial properties."}),m.jsxs("a",{href:"/commercial-service",className:"inline-flex items-center gap-2 px-6 py-3 text-sm font-semibold rounded self-start transition-all duration-200",style:{backgroundColor:wr,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor="#B07820"},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=wr},children:["View Services ",m.jsx(Zt,{className:"h-4 w-4"})]})]})]}),m.jsxs(R.div,{variants:_e,className:"group relative overflow-hidden rounded-2xl md:col-span-2",style:{minHeight:"360px"},children:[m.jsx("img",{src:"/airo-assets/images/services/process-piping",alt:"Industrial process piping services",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),m.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(0,90,105,0.92) 0%, rgba(0,90,105,0.55) 50%, transparent 100%)"}}),m.jsxs("div",{className:"absolute top-0 left-0 bottom-0 flex flex-col justify-center p-10 max-w-xl",children:[m.jsx("span",{className:"text-xs font-semibold uppercase tracking-widest mb-3",style:{color:"#F5C97A",fontFamily:"var(--font-sans)"},children:"Our Specialty"}),m.jsx("h3",{className:"text-3xl font-bold text-white mb-3",style:{fontFamily:"var(--font-heading)"},children:"Process Piping"}),m.jsx("p",{className:"text-sm text-white/80 mb-6",style:{fontFamily:"var(--font-sans)"},children:"Industrial-grade process piping for manufacturing facilities, from consultation through project completion."}),m.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-2 px-6 py-3 text-sm font-semibold rounded self-start transition-all duration-200",style:{backgroundColor:wr,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor="#B07820"},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=wr},children:["Contact Us ",m.jsx(Zt,{className:"h-4 w-4"})]})]})]}),m.jsxs(R.div,{variants:_e,className:"group relative overflow-hidden rounded-2xl",style:{minHeight:"320px"},children:[m.jsx("img",{src:"/airo-assets/images/services/commercial-plumbing",alt:"Commercial plumbing and piping services",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),m.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(13,43,53,0.92) 0%, rgba(13,43,53,0.35) 60%, transparent 100%)"}}),m.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-8",children:[m.jsx("h3",{className:"text-2xl font-bold text-white mb-2",style:{fontFamily:"var(--font-heading)"},children:"Commercial Plumbing & Piping"}),m.jsx("p",{className:"text-sm text-white/80 mb-4",style:{fontFamily:"var(--font-sans)"},children:"Comprehensive commercial plumbing services for businesses and property managers."}),m.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-1 text-sm font-semibold",style:{color:"#F5C97A",fontFamily:"var(--font-sans)"},children:["Contact Us ",m.jsx(Zt,{className:"h-4 w-4"})]})]})]}),m.jsxs(R.div,{variants:_e,className:"group relative overflow-hidden rounded-2xl",style:{minHeight:"320px"},children:[m.jsx("img",{src:"/airo-assets/images/services/residential-piping",alt:"Residential plumbing and piping services",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),m.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(0,100,115,0.88) 0%, rgba(0,100,115,0.3) 60%, transparent 100%)"}}),m.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-8",children:[m.jsx("h3",{className:"text-2xl font-bold text-white mb-2",style:{fontFamily:"var(--font-heading)"},children:"Residential Piping & Plumbing"}),m.jsx("p",{className:"text-sm text-white/80 mb-4",style:{fontFamily:"var(--font-sans)"},children:"Expert residential plumbing solutions for your home â from repairs to full installations."}),m.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-1 text-sm font-semibold",style:{color:"#F5C97A",fontFamily:"var(--font-sans)"},children:["Contact Us ",m.jsx(Zt,{className:"h-4 w-4"})]})]})]})]})]})}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:"#FFFFFF"},children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs(R.div,{variants:qt,initial:"hidden",
183whileInView:"visible",viewport:{once:!0},className:"text-center mb-16",children:[m.jsxs(R.div,{variants:_e,className:"flex items-center justify-center gap-4 mb-6",children:[m.jsx("div",{className:"h-px w-16",style:{backgroundColor:qe}}),m.jsx("p",{className:"text-sm font-semibold uppercase tracking-widest",style:{color:qe,fontFamily:"var(--font-sans)"},children:"Our Clients"}),m.jsx("div",{className:"h-px w-16",style:{backgroundColor:qe}})]}),m.jsxs(R.h2,{variants:_e,className:"text-3xl sm:text-4xl font-bold mb-4",style:{fontFamily:"var(--font-heading)",color:na},children:["Trusted by Leading Organizations",m.jsx("br",{}),"Across Northern California"]})]}),m.jsxs(R.div,{variants:qt,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"mb-6",children:[m.jsx(R.p,{variants:_e,className:"text-xs font-semibold uppercase tracking-widest text-center mb-8",style:{color:br,fontFamily:"var(--font-sans)"},children:"Representative Clients"}),m.jsx(R.div,{variants:qt,className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-4",children:["Costco","Microsoft","Stanford Health Care","Rivian","Simon Company","Fortinet","OrangeTheory Fitness","Boudin Bakery","Bowlero"].map(n=>m.jsx(R.div,{variants:_e,className:"flex items-center justify-center px-4 py-5 rounded-lg border text-center",style:{borderColor:"#E5E7EB",backgroundColor:"#FAFAFA"},children:m.jsx("span",{className:"text-sm font-semibold",style:{color:na,fontFamily:"var(--font-sans)"},children:n})},n))})]}),m.jsx("div",{className:"my-16 h-px",style:{backgroundColor:"#E5E7EB"}}),m.jsxs(R.div,{variants:qt,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[m.jsx(R.p,{variants:_e,className:"text-xs font-semibold uppercase tracking-widest text-center mb-8",style:{color:br,fontFamily:"var(--font-sans)"},children:"Industries We Serve"}),m.jsx(R.div,{variants:qt,className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4 mb-14",children:[{label:"Semiconductor & Advanced Manufacturing",icon:"âï¸"},{label:"Healthcare & Medical Facilities",icon:"ð¥"},{label:"Commercial Real Estate",icon:"ð¢"},{label:"Retail & Hospitality",icon:"ð¨"},{label:"Education",icon:"ð"},{label:"Technology & Data Centers",icon:"ð»"},{label:"Automotive Facilities",icon:"ð"},{label:"Industrial Operations",icon:"ð"}].map(n=>m.jsxs(R.div,{variants:_e,className:"flex items-start gap-3 p-5 rounded-lg",style:{backgroundColor:$l},children:[m.jsx(cn,{className:"h-5 w-5 shrink-0 mt-0.5",style:{color:qe}}),m.jsx("span",{className:"text-sm font-medium leading-snug",style:{color:wi,fontFamily:"var(--font-sans)"},children:n.label})]},n.label))}),m.jsx(R.div,{variants:_e,className:"text-center max-w-3xl mx-auto px-6 py-8 rounded-xl",style:{backgroundColor:$l,borderLeft:`4px solid ${qe}`},children:m.jsx("p",{className:"text-base leading-relaxed italic",style:{color:wi,fontFamily:"var(--font-sans)"},children:"From routine service work to complex process piping installations, Aqualine Piping has earned the trust of organizations that require quality workmanship, safety, reliability, and responsive service."})})]})]})}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:$l},children:m.jsx("div",{className:"max-w-7xl mx-auto",children:m.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[m.jsxs(R.div,{variants:qt,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"rounded-xl p-8",style:{backgroundColor:"#FFFFFF",border:"1px solid #E5E7EB"},children:[m.jsxs(R.div,{variants:_e,className:"flex items-center gap-3 mb-6",children:[m.jsx("div",{className:"h-10 w-10 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:gx},children:m.jsx(Ih,{className:"h-5 w-5",style:{color:qe}})}),m.jsx("h3",{className:"text-lg font-bold",style:{fontFamily:"var(--font-heading)",color:na},children:"Licensed, Bonded & Insured"})]}),m.jsx(R.div,{variants:qt,className:"flex flex-col gap-4",children:[{label:"CSLB License",value:"#962056"},{label:"Fully Bonded",value:"Protected on every project"},{label:"Fully Insured",value:"Comprehensive coverage"},{label:"Prevailing Wage",value:"Experienced with public & prevailing wage projects"},{label:"Safety Commitment",value:"Strict safety protocols on every job site"}].map(n=>m.jsxs(R.div,{variants:_e,className:"flex items-start gap-3",children:[m.jsx(cn,{className:"h-5 w-5 shrink-0 mt-0.5",style:{color:qe}}),m.jsxs("div",{children:[m.jsx("span",{className:"text-sm font-semibold block",style:{color:na,fontFamily:"var(--font-sans)"},children:n.label}),m.jsx("span",{className:"text-sm",style:{color:wi,fontFamily:"var(--font-sans)"},children:n.value})]})]},n.label))})]}
183),m.jsxs(R.div,{variants:qt,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"rounded-xl p-8",style:{backgroundColor:"#FFFFFF",border:"1px solid #E5E7EB"},children:[m.jsxs(R.div,{variants:_e,className:"flex items-center gap-3 mb-6",children:[m.jsx("div",{className:"h-10 w-10 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:gx},children:m.jsx(cb,{className:"h-5 w-5",style:{color:qe}})}),m.jsx("h3",{className:"text-lg font-bold",style:{fontFamily:"var(--font-heading)",color:na},children:"Areas We Serve"})]}),m.jsx(R.div,{variants:qt,className:"grid grid-cols-2 gap-2",children:["San Jose","Santa Clara","Sunnyvale","Mountain View","Palo Alto","Fremont","Milpitas","San Mateo","Redwood City","South San Francisco"].map(n=>m.jsxs(R.div,{variants:_e,className:"flex items-center gap-2",children:[m.jsx("div",{className:"h-1.5 w-1.5 rounded-full shrink-0",style:{backgroundColor:qe}}),m.jsx("span",{className:"text-sm",style:{color:wi,fontFamily:"var(--font-sans)"},children:n})]},n))}),m.jsx(R.p,{variants:_e,className:"mt-6 text-xs",style:{color:br,fontFamily:"var(--font-sans)"},children:"Serving the greater San Francisco Bay Area and Northern California."})]}),m.jsxs(R.div,{variants:qt,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"rounded-xl p-8",style:{backgroundColor:qe},children:[m.jsxs(R.div,{variants:_e,className:"flex items-center gap-3 mb-6",children:[m.jsx("div",{className:"h-10 w-10 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:"rgba(255,255,255,0.15)"},children:m.jsx(tm,{className:"h-5 w-5 text-white"})}),m.jsx("h3",{className:"text-lg font-bold text-white",style:{fontFamily:"var(--font-heading)"},children:"Emergency & Service"})]}),m.jsx(R.p,{variants:_e,className:"text-sm text-white/80 mb-6 leading-relaxed",style:{fontFamily:"var(--font-sans)"},children:"Fast, responsive service when you need it most. We're ready to handle urgent commercial and residential plumbing needs."}),m.jsx(R.div,{variants:qt,className:"flex flex-col gap-3",children:["Fast, Responsive Service","Commercial Service Calls","Emergency Repairs","Preventative Maintenance","Tenant Improvements"].map(n=>m.jsxs(R.div,{variants:_e,className:"flex items-center gap-3",children:[m.jsx(cn,{className:"h-5 w-5 shrink-0 text-white/80"}),m.jsx("span",{className:"text-sm font-medium text-white",style:{fontFamily:"var(--font-sans)"},children:n})]},n))}),m.jsx(R.div,{variants:_e,className:"mt-8",children:m.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-2 px-6 py-3 text-sm font-semibold rounded transition-all duration-200",style:{backgroundColor:"#FFFFFF",color:qe,fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor="#EAF4F4"},onMouseLeave:n=>{n.currentTarget.style.backgroundColor="#FFFFFF"},children:["Contact Us ",m.jsx(Zt,{className:"h-4 w-4"})]})})]})]})})}),m.jsx("section",{id:"contact",className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:$l},children:m.jsx("div",{className:"max-w-7xl mx-auto",children:m.jsxs(R.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},className:"pl-8 border-l-4",style:{borderColor:qe},children:[m.jsx("p",{className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:qe,fontFamily:"var(--font-sans)"},children:"Get In Touch"}),m.jsx("h2",{className:"text-4xl sm:text-5xl font-bold mb-6 max-w-2xl",style:{fontFamily:"var(--font-heading)",color:na},children:"Your Commercial Plumbing Partner"}),m.jsx("p",{className:"text-lg mb-8 max-w-xl",style:{color:wi,fontFamily:"var(--font-sans)"},children:"From emergency service calls and preventive maintenance to large-scale construction and process piping projects, our team is ready to support your facility."}),m.jsxs("div",{className:"flex flex-wrap gap-4",children:[m.jsx("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:qe,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor="#007080"},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=qe},children:"Contact Us Today"}),m.jsx("a",{href:"tel:4087457100",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded border-2 transition-all duration-200",style:{borderColor:qe,color:qe,backgroundColor:"transparent",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor=qe,n.currentTarget.style.color="#FFFFFF"},onMouseLeave:n=>{n.currentTarget.style.backgroundColor="transparent",n.currentTarget.style.color=qe},children:"Call (408) 745-7100"})]})]})})})]})}const Zd="#0D2B35",m4="#2C4A52",vx="#0099A8",p4="#007080",xx="#C8922A",y4="#E6F5F7",Si={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},Jd={hidden:{},visible:{transition:{staggerChildren:.08}}},g4=[{title:"Commercial Plumbing",description:"Commercial plumbing installations including restrooms, lavatories, drinking fountains, service sinks, sanitary systems, domestic water systems, and tenant improvement projects.",photos:[{src:"/assets/IMG_4441.jpeg",alt:"Finished commercial restroom vanity and sink installation",caption:"Commercial restroom â finished vanity, countertop, and sink installation"},{src:"/assets/IMG_4442.jpeg",alt:"ADA-compliant commercial restroom installation",caption:"Commercial restroom â ADA-compliant wall-hung toilet with grab bars and flush valve"},{src:"/assets/IMG_4438.jpeg",alt:"Commercial drinking fountain installation",caption:"Tenant improvement â dual drinking fountain installation with floor drain"},{src:"/assets/IMG_7785.JPG",alt:"Commercial stainless steel service sink installation",caption:"Commercial tenant improvement â stainless steel service sink with supply and drain connections"},{src:"/assets/IMG_0483.JPG",alt:"Commercial break room sink and fixture installation",caption:"Tenant improvement â commercial break room sink, faucet, and appliance connections"},{src:"/assets/IMG_5533.JPG",alt:"Commercial lavatory wall-hung sink installation",caption:"Commercial restroom â wall-hung lavatory sinks with chrome supply and drain connections"},{src:"/assets/IMG_5539.JPG",alt:"Commercial urinal installation with flush valves",caption:"Commercial restroom â urinal installation with manual flush valves"},{src:"/assets/IMG_4440.jpeg",alt:"Commercial urinal rough-in with carrier system",caption:"Commercial restroom â urinal carrier and supply rough-in prior to tile and finish work"},{src:"/assets/IMG_5542.JPG",alt:"Commercial ADA wall-hung toilet with grab bars",caption:"Commercial restroom â ADA-compliant wall-hung toilet with grab bars and flush valve"}]},{title:"Plumbing Rough-In",description:"Behind every finished installation is a well-executed rough-in. These projects demonstrate our expertise in carrier systems, drainage, venting, water distribution, and coordinated in-wall plumbing construction.",ph
183otos:[{src:"/assets/IMG_5364.JPG",alt:"Wall-hung carrier rough-in installation in metal stud framing",caption:"Commercial rough-in â wall-hung carrier system with copper supply rough-in in metal stud framing"},{src:"/assets/IMG_1145.JPG",alt:"Overhead cast iron drain and waste piping rough-in",caption:"New construction â overhead cast iron drain and waste piping with no-hub couplings"}]},{title:"Underground Utilities",description:"Installation of underground sanitary sewer, storm drainage, domestic water systems, trench drains, and site utility infrastructure for commercial and industrial facilities.",photos:[{src:"/assets/IMG_0372.JPG",alt:"Underground grease interceptor installation",caption:"Retail center tenant improvement â underground grease interceptor installation"},{src:"/assets/IMG_5371.JPG",alt:"Underground cast iron no-hub drain fitting installation",caption:"Commercial construction â underground cast iron no-hub drain fitting and slab rough-in"},{src:"/assets/IMG_6572.JPG",alt:"Underground sewer trench with cast iron stacks",caption:"Commercial construction â underground sewer trench with cast iron waste and vent stacks"},{src:"/assets/IMG_3571.JPG",alt:"Commercial underground plumbing rough-in and slab preparation",caption:"New construction â underground plumbing rough-in and slab preparation for commercial facility"}]},{title:"Process & Mechanical Piping",description:"Specialized piping systems requiring precision installation, coordination, and quality workmanship for industrial, manufacturing, laboratory, and facility applications.",photos:[{src:"/assets/IMG_0300.JPG",alt:"Commercial mechanical room water heater installation with copper piping",caption:"Commercial facility â mechanical room water heater installation with copper piping and expansion tanks"},{src:"/assets/IMG_0303.JPG",alt:"Mechanical room domestic water system with booster pump",caption:"Mechanical room â copper piping, backflow prevention, booster pump, and pressure controls"},{src:"/assets/IMG_0462.JPG",alt:"Commercial mechanical room with insulated piping and backflow prevention",caption:"Commercial facility â mechanical room with insulated hot/cold piping, blend valve, and backflow prevention assembly"},{src:"/assets/IMG_2119.JPG",alt:"Commercial water softener system installation",caption:"Commercial facility â dual water softener system with copper supply piping"},{src:"/assets/Img 03.jpg",alt:"Commercial copper piping assembly with valves and gauges",caption:"Process piping â copper piping assembly with valves, gauges, and insulated supply piping"}]}];function v4({photo:n,onClose:a}){return m.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",style:{backgroundColor:"rgba(0,0,0,0.85)"},onClick:a,children:m.jsxs("div",{className:"relative max-w-4xl w-full",onClick:l=>l.stopPropagation(),children:[m.jsx("button",{onClick:a,className:"absolute -top-10 right-0 text-white text-sm font-semibold opacity-80 hover:opacity-100 transition-opacity",style:{fontFamily:"var(--font-sans)"},children:"Close â"}),m.jsx("img",{src:n.src,alt:n.alt,className:"w-full rounded-xl object-contain",style:{maxHeight:"75vh"}}),m.jsx("p",{className:"mt-3 text-center text-sm",style:{color:"rgba(255,255,255,0.80)",fontFamily:"var(--font-sans)"},children:n.caption})]})})}function x4(){const[n,a]=C.useState(null);return m.jsxs(m.Fragment,{children:[m.jsxs(Ga,{children:[m.jsx("title",{children:"Project Portfolio â Aqualine Piping | Bay Area, CA"}),m.jsx("meta",{name:"description",content:"Explore Aqualine Piping's project portfolio showcasing commercial plumbing, underground utilities, process piping, tenant improvements, and facility renovations throughout the San Francisco Bay Area."})]}),n&&m.jsx(v4,{photo:n,onClose:()=>a(null)}),m.jsx("section",{className:"relative flex items-center justify-center",style:{minHeight:"380px",backgroundColor:Zd,overflow:"hidden"},children:m.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-8 sm:px-12 lg:px-16 xl:px-24 py-20 w-full",children:m.jsxs(R.div,{variants:Jd,initial:"hidden",animate:"visible",children:[m.jsx(R.p,{variants:Si,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:"#7ACDDA",fontFamily:"var(--font-sans)"},children:"Our Work"}),m.jsx(R.h1,{variants:Si,className:"text-5xl font-bold mb-4 text-white",style:{fontFamily:"var(--font-heading)"},children:"Project Portfolio"}),m.jsx(R.div,{variants:Si,className:"h-1 w-16 rounded",style:{backgroundColor:xx}}),m.jsx(R.p,{variants:Si,className:"mt-6 text-lg max-w-2xl",style:{color:"rgba(255,255,255,0.80)",fontFamily:"var(--font-sans)"},children:"Explore a selection of Aqualine Piping projects showcasing our experience in commercial plumbing, underground utilities, process piping, tenant improvements, and facility renovations. From rough-in construction to completed installations, our portfolio highlights the quality workmanship, coordination, and attention to detail that clients have come to expect from Aqualine."})]})})}),g4.map((l,r)=>m.jsx("section",{className:"py-20 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:r%2===0?"#FFFFFF":y4},children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs(R.div,{variants:Jd,initial:"hidden",
183whileInView:"visible",viewport:{once:!0},className:"mb-10",children:[m.jsx(R.h2,{variants:Si,className:"text-3xl font-bold mb-3",style:{fontFamily:"var(--font-heading)",color:Zd},children:l.title}),m.jsx(R.div,{variants:Si,className:"h-1 w-12 rounded mb-4",style:{backgroundColor:xx}}),m.jsx(R.p,{variants:Si,className:"text-base max-w-2xl",style:{color:m4,fontFamily:"var(--font-sans)"},children:l.description})]}),m.jsx(R.div,{variants:Jd,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:`grid gap-5 ${l.photos.length===1?"grid-cols-1 max-w-2xl":l.photos.length===2?"grid-cols-1 sm:grid-cols-2":l.photos.length===3?"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4"}`,children:l.photos.map(o=>m.jsxs(R.div,{variants:Si,className:"group relative overflow-hidden rounded-xl cursor-pointer",style:{border:"1px solid #D6ECEE"},onClick:()=>a(o),children:[m.jsx("div",{className:"overflow-hidden",style:{aspectRatio:"4/3"},children:m.jsx("img",{src:o.src,alt:o.alt,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"})}),m.jsx("div",{className:"absolute inset-0 flex items-end opacity-0 group-hover:opacity-100 transition-opacity duration-300",style:{background:"linear-gradient(to top, rgba(13,43,53,0.85) 0%, transparent 55%)"},children:m.jsx("p",{className:"p-4 text-sm text-white leading-snug",style:{fontFamily:"var(--font-sans)"},children:o.caption})}),m.jsx("div",{className:"absolute top-3 right-3 h-8 w-8 rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300",style:{backgroundColor:"rgba(0,153,168,0.90)"},children:m.jsx("svg",{className:"h-4 w-4 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5v-4m0 4h-4m4 0l-5-5"})})})]},o.src))})]})},l.title)),m.jsx("section",{className:"py-20 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:Zd},children:m.jsx("div",{className:"max-w-7xl mx-auto text-center",children:m.jsxs(R.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},children:[m.jsx("h2",{className:"text-3xl font-bold mb-4 text-white",style:{fontFamily:"var(--font-heading)"},children:"Ready to Discuss Your Project?"}),m.jsx("p",{className:"text-base mb-8 max-w-xl mx-auto",style:{color:"rgba(255,255,255,0.75)",fontFamily:"var(--font-sans)"},children:"Contact Aqualine Piping today to discuss your commercial plumbing, process piping, or facility maintenance requirements."}),m.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[m.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:vx,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:l=>{l.currentTarget.style.backgroundColor=p4},onMouseLeave:l=>{l.currentTarget.style.backgroundColor=vx},children:["Request a Quote ",m.jsx(Zt,{className:"h-4 w-4"})]}),m.jsx("a",{href:"tel:4087457100",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded border-2 transition-all duration-200",style:{borderColor:"rgba(255,255,255,0.5)",color:"#FFFFFF",backgroundColor:"transparent",fontFamily:"var(--font-sans)"},onMouseEnter:l=>{l.currentTarget.style.borderColor="#FFFFFF"},onMouseLeave:l=>{l.currentTarget.style.borderColor="rgba(255,255,255,0.5)"},children:"Call (408) 745-7100"})]})]})})})]})}const Kt="#0D2B35",Ec="#2C4A52",b4="#5A8A96",vt="#0099A8",$d="#007080",Wl="#C8922A",Wd="#F2F9FA",Id="#E6F5F7",vn={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},Il={hidden:{},visible:{transition:{staggerChildren:.12}}},w4=["Competitive wages based on experience","Health benefits package","Paid time off","Ongoing training and certifications","Family-owned company culture","Stable, long-term employment","Diverse project types â commercial, residential, and process piping","Work with an experienced, supportive team"],S4=[{icon:ob,title:"Estimator",type:"Full-Time",description:"We are looking for an experienced Estimator to join our team. The ideal candidate will have a strong background in commercial and/or process piping estimating, the ability to read and interpret construction documents, and experience preparing detailed bid packages. Proficiency with estimating software and strong communication skills required."},{icon:us,title:"Journeyman Plumber",type:"Full-Time",description:"We are looking for experienced journeyman plumbers to join our commercial and residential teams. Valid CA plumbing license required. E
183xperience with process piping a plus."},{icon:EE,title:"Apprentice Plumber",type:"Full-Time",description:"Great opportunity for motivated individuals looking to start a career in plumbing. We will work with you through your apprenticeship program and help you grow your skills."},{icon:em,title:"Project Foreman",type:"Full-Time",description:"Experienced foreman needed to lead commercial and process piping projects. Must have strong communication skills and the ability to coordinate with construction teams."}];function C4(){const[n,a]=C.useState({firstName:"",lastName:"",email:"",phone:"",position:"",experience:"",message:""}),[l,r]=C.useState("idle"),o=h=>{a(p=>({...p,[h.target.name]:h.target.value}))},u=async h=>{h.preventDefault(),r("sending");try{(await fetch("/api/employment",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})).ok?(r("success"),a({firstName:"",lastName:"",email:"",phone:"",position:"",experience:"",message:""})):r("error")}catch{r("error")}},f={border:"1px solid #C8DEDE",backgroundColor:Wd,color:Kt,fontFamily:"var(--font-sans)"};return m.jsxs(m.Fragment,{children:[m.jsxs(Ga,{children:[m.jsx("title",{children:"Employment â Aqualine Piping | San Jose, CA"}),m.jsx("meta",{name:"description",content:"Join the Aqualine Piping team. We are a family-owned plumbing company in San Jose, CA with 50+ years of experience, looking for skilled plumbers, estimators, and apprentices."})]}),m.jsxs("section",{className:"relative",style:{minHeight:"480px",backgroundColor:Kt,overflow:"hidden"},children:[m.jsx("img",{src:"/airo-assets/images/pages/employment/hero",alt:"Plumbing professional at work",className:"absolute inset-0 w-full h-full object-cover",style:{opacity:.25}}),m.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-8 sm:px-12 lg:px-16 xl:px-24 py-24",children:m.jsxs(R.div,{variants:Il,initial:"hidden",animate:"visible",children:[m.jsx(R.p,{variants:vn,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:"#7ACDDA",fontFamily:"var(--font-sans)"},children:"Join Our Team"}),m.jsx(R.h1,{variants:vn,className:"text-5xl font-bold mb-4 text-white",style:{fontFamily:"var(--font-heading)"},children:"Employment Opportunities"}),m.jsx(R.div,{variants:vn,className:"h-1 w-16 rounded",style:{backgroundColor:Wl}}),m.jsx(R.p,{variants:vn,className:"mt-6 text-lg max-w-2xl",style:{color:"rgba(255,255,255,0.80)",fontFamily:"var(--font-sans)"},children:"Aqualine Piping is a family-owned company with over 50 years in the industry. We are always looking for skilled, dedicated professionals to grow with us."})]})})]}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:"#FFFFFF"},children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs(R.div,{variants:Il,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"mb-14",children:[m.jsx(R.p,{variants:vn,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:vt,fontFamily:"var(--font-sans)"},children:"Now Hiring"}),m.jsx(R.h2,{variants:vn,className:"text-4xl font-bold",style:{fontFamily:"var(--font-heading)",color:Kt},children:"Open Positions"})]}),m.jsx(R.div,{variants:Il,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"flex flex-col gap-6",children:S4.map(h=>m.jsxs(R.div,{variants:vn,className:"flex flex-col sm:flex-row items-start gap-6 rounded-2xl p-8",style:{backgroundColor:Wd,border:"1px solid #D6ECEE"},children:[m.jsx("div",{className:"flex items-center justify-center rounded-xl shrink-0",style:{width:"56px",height:"56px",backgroundColor:Id},children:m.jsx(h.icon,{className:"h-6 w-6",style:{color:vt}})}),m.jsxs("div",{className:"flex-1",children:[m.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-2",children:[m.jsx("h3",{className:"text-xl font-bold",style:{fontFamily:"var(--font-heading)",color:Kt},children:h.title}),m.jsx("span",{className:"text-xs font-semibold px-3 py-1 rounded-full",style:{backgroundColor:Id,color:vt,fontFamily:"var(--font-sans)"},children:h.type})]}),m.jsx("p",{className:"text-base leading-relaxed",style:{color:Ec,fontFamily:"var(--font-sans)"},children:h.description})]}),m.jsxs("a",{href:"#apply",className:"inline-flex items-center gap-2 px-6 py-3 text-sm font-semibold rounded shrink-0 transition-all duration-200",style:{backgroundColor:vt,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:p=>{p.currentTarget.style.backgroundColor=$d},onMouseLeave:p=>{p.currentTarget.style.backgroundColor=vt},children:["Apply ",m.jsx(Zt,{className:"h-4 w-4"})]})]},h.title))})]})}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:Id},children:m.jsx("div",{className:"max-w-7xl mx-auto",children:m.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[m.jsxs(R.div,{variants:Il,initial:"hidden",
183whileInView:"visible",viewport:{once:!0},children:[m.jsx(R.p,{variants:vn,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:vt,fontFamily:"var(--font-sans)"},children:"Why Work With Us"}),m.jsx(R.h2,{variants:vn,className:"text-4xl font-bold mb-8",style:{fontFamily:"var(--font-heading)",color:Kt},children:"Benefits of Joining Aqualine"}),m.jsx(R.div,{variants:Il,className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:w4.map(h=>m.jsxs(R.div,{variants:vn,className:"flex items-start gap-3",children:[m.jsx(cn,{className:"h-5 w-5 shrink-0 mt-0.5",style:{color:vt}}),m.jsx("span",{className:"text-sm leading-relaxed",style:{color:Ec,fontFamily:"var(--font-sans)"},children:h})]},h))})]}),m.jsx(R.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7,ease:"easeOut"},className:"flex flex-col gap-6",children:[{number:"50+",label:"Years in Business",sub:"A stable company with a long track record"},{number:"100%",label:"Family Owned",sub:"A culture that treats employees like family"},{number:"3",label:"Lines of Business",sub:"Commercial, process piping, and residential"}].map(h=>m.jsxs("div",{className:"rounded-2xl p-8 flex items-center gap-6",style:{backgroundColor:"#FFFFFF",border:"1px solid #D6ECEE"},children:[m.jsx("span",{className:"text-4xl font-bold shrink-0",style:{fontFamily:"var(--font-heading)",color:vt},children:h.number}),m.jsxs("div",{children:[m.jsx("p",{className:"font-semibold",style:{color:Kt,fontFamily:"var(--font-sans)"},children:h.label}),m.jsx("p",{className:"text-sm mt-0.5",style:{color:b4,fontFamily:"var(--font-sans)"},children:h.sub})]})]},h.label))})]})})}),m.jsx("section",{id:"apply",className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:"#FFFFFF"},children:m.jsxs("div",{className:"max-w-3xl mx-auto",children:[m.jsxs(R.div,{variants:Il,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"mb-12",children:[m.jsx(R.p,{variants:vn,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:vt,fontFamily:"var(--font-sans)"},children:"Get In Touch"}),m.jsx(R.h2,{variants:vn,className:"text-4xl font-bold mb-4",style:{fontFamily:"var(--font-heading)",color:Kt},children:"Apply Now"}),m.jsx(R.p,{variants:vn,className:"text-base",style:{color:Ec,fontFamily:"var(--font-sans)"},children:"Interested in joining our team? Fill out the form below and we will be in touch."})]}),l==="success"?m.jsxs(R.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"flex flex-col items-center justify-center py-16 text-center gap-4 roun
183ded-2xl",style:{backgroundColor:Wd,border:"1px solid #D6ECEE"},children:[m.jsx(cn,{className:"h-12 w-12",style:{color:vt}}),m.jsx("h3",{className:"text-xl font-bold",style:{fontFamily:"var(--font-heading)",color:Kt},children:"Application Received!"}),m.jsx("p",{className:"text-base max-w-sm",style:{color:Ec,fontFamily:"var(--font-sans)"},children:"Thank you for your interest in joining Aqualine Piping. Our team will review your application and be in touch."}),m.jsx("button",{onClick:()=>r("idle"),className:"mt-2 px-6 py-3 text-sm font-semibold rounded transition-all duration-200",style:{backgroundColor:vt,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:h=>{h.currentTarget.style.backgroundColor=$d},onMouseLeave:h=>{h.currentTarget.style.backgroundColor=vt},children:"Submit Another Application"})]}):m.jsxs(R.form,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},className:"flex flex-col gap-5",onSubmit:u,children:[m.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsxs("label",{htmlFor:"firstName",className:"text-sm font-medium",style:{color:Kt,fontFamily:"var(--font-sans)"},children:["First Name ",m.jsx("span",{style:{color:Wl},children:"*"})]}),m.jsx("input",{id:"firstName",name:"firstName",type:"text",required:!0,placeholder:"John",value:n.firstName,onChange:o,className:"px-4 py-3 rounded-lg text-sm outline-none transition-all duration-200",style:f,onFocus:h=>{h.currentTarget.style.borderColor=vt},onBlur:h=>{h.currentTarget.style.borderColor="#C8DEDE"}})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsxs("label",{htmlFor:"lastName",className:"text-sm font-medium",style:{color:Kt,fontFamily:"var(--font-sans)"},children:["Last Name ",m.jsx("span",{style:{color:Wl},children:"*"})]}),m.jsx("input",{id:"lastName",name:"lastName",type:"text",required:!0,placeholder:"Smith",value:n.lastName,onChange:o,className:"px-4 py-3 rounded-lg text-sm outline-none transition-all duration-200",style:f,onFocus:h=>{h.currentTarget.style.borderColor=vt},onBlur:h=>{h.currentTarget.style.borderColor="#C8DEDE"}})]})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsxs("label",{htmlFor:"email",className:"text-sm font-medium",style:{color:Kt,fontFamily:"var(--font-sans)"},children:["Email Address ",m.jsx("span",{style:{color:Wl},children:"*"})]}),m.jsx("input",{id:"email",name:"email",type:"email",required:!0,placeholder:"[email protected]",value:n.email,onChange:o,className:"px-4 py-3 rounded-lg text-sm outline-none transition-all duration-200",style:f,onFocus:h=>{h.currentTarget.style.borderColor=vt},onBlur:h=>{h.currentTarget.style.borderColor="#C8DEDE"}})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsxs("label",{htmlFor:"phone",className:"text-sm font-medium",style:{color:Kt,fontFamily:"var(--font-sans)"},children:["Phone Number ",m.jsx("span",{style:{color:Wl},children:"*"})]}),m.jsx("input",{id:"phone",name:"phone",type:"tel",required:!0,placeholder:"(408) 555-0100",value:n.phone,onChange:o,className:"px-4 py-3 rounded-lg text-sm outline-none transition-all duration-200",style:f,onFocus:h=>{h.currentTarget.style.borderColor=vt},onBlur:h=>{h.currentTarget.style.borderColor="#C8DEDE"}})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsxs("label",{htmlFor:"position",className:"text-sm font-medium",style:{color:Kt,fontFamily:"var(--font-sans)"},children:["Position of Interest ",m.jsx("span",{style:{color:Wl},children:"*"})]}),m.jsxs("select",{id:"position",name:"position",required:!0,value:n.position,onChange:o,className:"px-4 py-3 rounded-lg text-sm outline-none transition-all duration-200",style:f,onFocus:h=>{h.currentTarget.style.borderColor=vt},onBlur:h=>{h.currentTarget.style.borderColor="#C8DEDE"},children:[m.jsx("option",{value:"",children:"Select a position..."}),m.jsx("option",{children:"Estimator"}),m.jsx("option",{children:"Journeyman Plumber"}),m.jsx("option",{children:"Apprentice Plumber"}),m.jsx("option",{children:"Project Foreman"}),m.jsx("option",{children:"Other"})]})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsx("label",{htmlFor:"experience",className:"text-sm font-medium",style:{color:Kt,fontFamily:"var(--font-sans)"},children:"Years of Experience"}),m.jsx("input",{id:"experience",name:"experience",type:"text",placeholder:"e.g. 5 years",value:n.experience,onChange:o,className:"px-4 py-3 rounded-lg text-sm outline-none transition-all duration-200",style:f,onFocus:h=>{h.currentTarget.style.borderColor=vt},onBlur:h=>{h.currentTarget.style.borderColor="#C8DEDE"}})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsx("label",{htmlFor:"message",className:"text-sm font-medium",style:{color:Kt,fontFamily:"var(--font-sans)"},children:"Tell Us About Yourself"}),m.jsx("textarea",{id:"message",name:"message",rows:5,placeholder:"Briefly describe your experience and why you'd like to join Aqualine Piping...",value:n.message,onChange:o,className:"px-4 py-3 rounded-lg text-sm outline-none resize-none transition-all duration-200",style:f,onFocus:h=>{h.currentTarget.style.borderColor=vt},onBlur:h=>{h.currentTarget.style.borderColor="#C8DEDE"}})]}),l==="error"&&m.jsx("p",{className:"text-sm",style:{color:"#DC2626",fontFamily:"var(--font-sans)"},children:"Something went wrong. Please email your application directly to [email protected]."}),m.jsxs("button",{type:"submit",disabled:l==="sending",className:"inline-flex items-center justify-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200 self-start",style:{backgroundColor:vt,color:"#FFFFFF",fontFamily:"var(--font-sans)",opacity:l==="sending"?.7:1},onMouseEnter:h=>{l!=="sending"&&(h.currentTarget.style.backgroundColor=$d)},onMouseLeave:h=>{h.currentTarget.style.backgroundColor=vt},children:[l==="sending"?"Submitting...":"Submit Application"," ",m.jsx(Zt,{className:"h-4 w-4"})]})]})]})})]})}const xt="#0099A8",T4="#007080",rn="#0D2B35",on="#2C4A52",ka="#C8922A",Ii="#EAF4F4";function E4(){const[n,a]=C.useState({name:"",company:"",phone:"",email:"",message:""}),[l,r]=C.useState("idle"),o=f=>{a(h=>({...h,[f.target.name]:f.target.value}))},u=async f=>{f.preventDefault(),r("sending");try{(await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...n,source:"contact-page"})})).ok?(r("success"),a({name:"",company:"",phone:"",email:"",message:""})):r("error")}catch{r("error")}};return m.jsxs(m.Fragment,{children:[m.jsxs(Ga,{children:[m.jsx("title",{children:"Contact Us â Aqualine Piping | San Jose, CA"}),m.jsx("meta",{name:"description",content:"Contact Aqualine Piping for commercial plumbing, process piping, and residential plumbing services in the Bay Area. Call (408) 745-7100."})]}
183),m.jsx("section",{className:"py-16 px-8 sm:px-12 lg:px-16",style:{backgroundColor:Ii},children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsx("p",{className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:xt,fontFamily:"var(--font-sans)"},children:"Get In Touch"}),m.jsx("h1",{className:"text-4xl sm:text-5xl font-bold mb-4",style:{fontFamily:"var(--font-heading)",color:rn},children:"Contact Us"}),m.jsx("div",{className:"h-1 w-16 rounded mb-4",style:{backgroundColor:ka}}),m.jsx("p",{className:"text-base max-w-xl",style:{color:on,fontFamily:"var(--font-sans)"},children:"Ready to discuss your project? Reach out by phone, email, or fill out the form below and we'll get back to you promptly."})]})}),m.jsx("section",{className:"py-16 px-8 sm:px-12 lg:px-16",style:{backgroundColor:"#FFFFFF"},children:m.jsxs("div",{className:"max-w-7xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-12",children:[m.jsxs("div",{className:"flex flex-col gap-6",children:[m.jsxs("div",{className:"rounded-xl p-8",style:{backgroundColor:Ii},children:[m.jsx("h2",{className:"text-xl font-bold mb-6",style:{fontFamily:"var(--font-heading)",color:rn},children:"Contact Information"}),m.jsxs("div",{className:"flex flex-col gap-6",children:[m.jsxs("div",{className:"flex items-start gap-4",children:[m.jsx("div",{className:"h-10 w-10 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:xt},children:m.jsx(uh,{className:"h-5 w-5 text-white"})}),m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest mb-1",style:{color:xt,fontFamily:"var(--font-sans)"},children:"Main Office"}),m.jsx("a",{href:"tel:4087457100",className:"text-xl font-bold transition-colors",style:{color:rn,fontFamily:"var(--font-heading)"},onMouseEnter:f=>{f.currentTarget.style.color=xt},onMouseLeave:f=>{f.currentTarget.style.color=rn},children:"(408) 745-7100"})]})]}),m.jsxs("div",{className:"flex items-start gap-4",children:[m.jsx("div",{className:"h-10 w-10 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:ka},children:m.jsx(xE,{className:"h-5 w-5 text-white"})}),m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest mb-1",style:{color:ka,fontFamily:"var(--font-sans)"},children:"After-Hours Emergency"}),m.jsx("a",{href:"tel:4085985167",className:"text-xl font-bold transition-colors",style:{color:rn,fontFamily:"var(--font-heading)"},onMouseEnter:f=>{f.currentTarget.style.color=ka},onMouseLeave:f=>{f.currentTarget.style.color=rn},children:"(408) 598-5167"})]})]}),m.jsxs("div",{className:"flex items-start gap-4",children:[m.jsx("div",{className:"h-10 w-10 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:xt},children:m.jsx(ME,{className:"h-5 w-5 text-white"})}),m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest mb-1",style:{color:xt,fontFamily:"var(--font-sans)"},children:"Email"}),m.jsx("a",{href:"mailto:[email protected]",className:"text-base font-medium block transition-colors",style:{color:on,fontFamily:"var(--font-sans)"},onMouseEnter:f=>{f.currentTarget.style.color=xt},onMouseLeave:f=>{f.currentTarget.style.color=on},children:"[email protected]"}),m.jsx("a",{href:"mailto:[email protected]",className:"text-base font-medium block transition-colors mt-0.5",style:{color:on,fontFamily:"var(--font-sans)"},onMouseEnter:f=>{f.currentTarget.style.color=xt},onMouseLeave:f=>{f.currentTarget.style.color=on},children:"[email protected]"})]})]}),m.jsxs("div",{className:"flex items-start gap-4",children:[m.jsx("div",{className:"h-10 w-10 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:xt},children:m.jsx(cb,{className:"h-5 w-5 text-white"})}),m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest mb-1",style:{color:xt,fontFamily:"var(--font-sans)"},children:"Office Address"}),m.jsxs("p",{className:"text-base",style:{color:on,fontFamily:"var(--font-sans)"},children:["2108 Bering Dr #C",m.jsx("br",{}),"San Jose, CA 95131"]})]})]}),m.jsxs("div",{className:"flex items-start gap-4",children:[m.jsx("div",{className:"h-10 w-10 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:xt},children:m.jsx(bE,{className:"h-5 w-5 text-white"})}),m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest mb-1",style:{color:xt,fontFamily:"var(--font-sans)"},children:"Office Hours"}),m.jsxs("p",{className:"text-base",style:{color:on,fontFamily:"var(--font-sans)"},children:["Monday â Friday",m.jsx("br",{}),"7:00 AM â 5:00 PM"]}),m.jsx("p",{className:"text-sm mt-1 font-medium",style:{color:ka,fontFamily:"var(--font-sans)"},children:"After-hours emergency service available"})]})]})]})]}),m.jsxs("div",{className:"rounded-xl p-6 flex items-center gap-4",style:{backgroundColor:rn},children:[m.jsx(Ih,{className:"h-8 w-8 shrink-0 text-white"}),m.jsxs("div",{children:[m.jsx("p",{className:"text-white font-bold",style:{fontFamily:"var(--font-heading)"},children:"Licensed, Bonded & Insured"}),m.jsx("p",{className:"text-sm",style:{color:"rgba(255,255,255,0.75)",fontFamily:"var(--font-sans)"},children:"CSLB License #962056 · Prevailing Wage Experience"})]})]})]}),m.jsxs("div",{className:"rounded-xl p-8",style:{border:"1px solid #D6ECEE"},children:[m.jsx("h2",{className:"text-xl font-bold mb-2",style:{fontFamily:"var(--font-heading)",color:rn},children:"Send Us a Message"}),m.jsx("p",{className:"text-sm mb-6",style:{color:on,fontFamily:"var(--font-sans)"},children:"All inquiries are received by our service and estimating teams."}),l==="success"?m.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-center gap-4",children:[m.jsx(cn,{className:"h-12 w-12",style:{color:xt}}),m.jsx("h3",{className:"text-xl font-bold",style:{fontFamily:"var(--font-heading)",color:rn},children:"Message Received!"}),m.jsx("p",{className:"text-base",style:{color:on,fontFamily:"var(--font-sans)"}
183,children:"Thank you for reaching out. Our team will get back to you shortly."}),m.jsx("button",{onClick:()=>r("idle"),className:"mt-2 px-6 py-3 text-sm font-semibold rounded transition-all duration-200",style:{backgroundColor:xt,color:"#FFFFFF",fontFamily:"var(--font-sans)"},children:"Send Another Message"})]}):m.jsxs("form",{onSubmit:u,className:"flex flex-col gap-5",children:[m.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsxs("label",{htmlFor:"name",className:"text-sm font-semibold",style:{color:rn,fontFamily:"var(--font-sans)"},children:["Name ",m.jsx("span",{style:{color:ka},children:"*"})]}),m.jsx("input",{id:"name",name:"name",type:"text",required:!0,value:n.name,onChange:o,placeholder:"Your full name",className:"px-4 py-3 rounded-lg text-sm outline-none transition-all",style:{border:"1px solid #C8DEDE",backgroundColor:Ii,fontFamily:"var(--font-sans)",color:on},onFocus:f=>{f.currentTarget.style.borderColor=xt},onBlur:f=>{f.currentTarget.style.borderColor="#C8DEDE"}})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsx("label",{htmlFor:"company",className:"text-sm font-semibold",style:{color:rn,fontFamily:"var(--font-sans)"},children:"Company Name"}),m.jsx("input",{id:"company",name:"company",type:"text",value:n.company,onChange:o,placeholder:"Your company",className:"px-4 py-3 rounded-lg text-sm outline-none transition-all",style:{border:"1px solid #C8DEDE",backgroundColor:Ii,fontFamily:"var(--font-sans)",color:on},onFocus:f=>{f.currentTarget.style.borderColor=xt},onBlur:f=>{f.currentTarget.style.borderColor="#C8DEDE"}})]})]}),m.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsxs("label",{htmlFor:"phone",className:"text-sm font-semibold",style:{color:rn,fontFamily:"var(--font-sans)"},children:["Phone Number ",m.jsx("span",{style:{color:ka},children:"*"})]}),m.jsx("input",{id:"phone",name:"phone",type:"tel",required:!0,value:n.phone,onChange:o,placeholder:"(408) 000-0000",className:"px-4 py-3 rounded-lg text-sm outline-none transition-all",style:{border:"1px solid #C8DEDE",backgroundColor:Ii,fontFamily:"var(--font-sans)",color:on},onFocus:f=>{f.currentTarget.style.borderColor=xt},onBlur:f=>{f.currentTarget.style.borderColor="#C8DEDE"}})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsxs("label",{htmlFor:"email",className:"text-sm font-semibold",style:{color:rn,fontFamily:"var(--font-sans)"},children:["Email Address ",m.jsx("span",{style:{color:ka},children:"*"})]}),m.jsx("input",{id:"email",name:"email",type:"email",required:!0,value:n.email,onChange:o,placeholder:"[email protected]",className:"px-4 py-3 rounded-lg text-sm outline-none transition-all",style:{border:"1px solid #C8DEDE",backgroundColor:Ii,fontFamily:"var(--font-sans)",color:on},onFocus:f=>{f.currentTarget.style.borderColor=xt},onBlur:f=>{f.currentTarget.style.borderColor="#C8DEDE"}})]})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsxs("label",{htmlFor:"message",className:"text-sm font-semibold",style:{color:rn,fontFamily:"var(--font-sans)"},children:["Message ",m.jsx("span",{style:{color:ka},children:"*"})]}),m.jsx("textarea",{id:"message",name:"message",required:!0,rows:5,value:n.message,onChange:o,placeholder:"Tell us about your project...",className:"px-4 py-3 rounded-lg text-sm outline-none transition-all resize-none",style:{border:"1px solid #C8DEDE",backgroundColor:Ii,fontFamily:"var(--font-sans)",color:on},onFocus:f=>{f.currentTarget.style.borderColor=xt},onBlur:f=>{f.currentTarget.style.borderColor="#C8DEDE"}})]}),l==="error"&&m.jsx("p",{className:"text-sm",style:{color:"#DC2626",fontFamily:"var(--font-sans)"},children:"Something went wrong. Please call us at (408) 745-7100 or email [email protected]."}),m.jsx("button",{type:"submit",disabled:l==="sending",className:"w-full py-4 text-base font-semibold rounded-lg transition-all duration-200",style:{backgroundColor:xt,color:"#FFFFFF",fontFamily:"var(--font-sans)",opacity:l==="sending"?.7:1},onMouseEnter:f=>{l!=="sending"&&(f.currentTarget.style.backgroundColor=T4)},onMouseLeave:f=>{f.currentTarget.style.backgroundColor=xt},children:l==="sending"?"Sending...":"Send Message"})]})]})]})})]})}const aa="#0099A8",eh="#007080",es="#0D2B35",jc="#2C4A52",j4="#C8922A",A4="#EAF4F4",M4="#E6F5F7",Qt={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},Sr={hidden:{},visible:{transition:{staggerChildren:.1}}},N4=[{icon:us,title:"Commercial Plumbing Installations",desc:"Full-scope plumbing installations for new commercial construction, ground-up builds, and major renovations across the Bay Area."},{icon:Wv,title:"Tenant Improvements",desc:"Responsive plumbing support for tenant improvement projects â coordinating with general contractors to meet tight schedules and building requirements."},{icon:qc,title:"Commercial Remodels",desc:"Complete plumbing remodel services for office spaces, retail centers, restaurants, healthcare facilities, and industrial buildings."},{icon:tm,title:"Water, Sewer & Gas Piping",desc:"Installation, repair, and replacement of water supply, sewer, and gas piping systems for commercial properties of all sizes."},{icon:Ih,title:"Preventative Maintenance",desc:"Scheduled maintenance programs designed to identify issues before they become costly problems, protecting your building operations."},{icon:us,title:"Emergency Repairs",desc:"Responsive emergency plumbing repair services for commercial facilities. Fast response to minimize downtime, protect property, and restore operations as quickly as possible."},{icon:em,title:"Service Agreements",desc:"Customized service agreements for property managers and facility team
183s â predictable costs, priority scheduling, and dedicated support."},{icon:Wv,title:"Property Management Support",desc:"Ongoing plumbing support for commercial property owners and management companies managing single or multi-property portfolios."}],D4=["Office Buildings & Corporate Campuses","Retail Centers & Shopping Complexes","Healthcare & Medical Facilities","Industrial & Manufacturing Facilities","Restaurants & Food Service","Hotels & Hospitality","Educational Institutions","Multi-Tenant Commercial Properties"];function R4(){return m.jsxs(m.Fragment,{children:[m.jsxs(Ga,{children:[m.jsx("title",{children:"Commercial Plumbing & Piping â Aqualine Piping | Bay Area, CA"}),m.jsx("meta",{name:"description",content:"Aqualine Piping provides commercial plumbing installations, tenant improvements, preventative maintenance, and emergency repairs for Bay Area businesses. CSLB #962056."})]}),m.jsxs("section",{className:"relative",style:{minHeight:"420px",backgroundColor:es,overflow:"hidden"},children:[m.jsx("img",{src:"/airo-assets/images/services/commercial-plumbing",alt:"Commercial plumbing work",className:"absolute inset-0 w-full h-full object-cover",style:{opacity:.22}}),m.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-8 sm:px-12 lg:px-16 xl:px-24 py-24",children:m.jsxs(R.div,{variants:Sr,initial:"hidden",animate:"visible",children:[m.jsx(R.p,{variants:Qt,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:"#7ACDDA",fontFamily:"var(--font-sans)"},children:"Commercial Services"}),m.jsx(R.h1,{variants:Qt,className:"text-5xl font-bold mb-4 text-white",style:{fontFamily:"var(--font-heading)"},children:"Commercial Plumbing & Piping"}),m.jsx(R.div,{variants:Qt,className:"h-1 w-16 rounded",style:{backgroundColor:j4}}),m.jsx(R.p,{variants:Qt,className:"mt-6 text-lg max-w-2xl",style:{color:"rgba(255,255,255,0.80)",fontFamily:"var(--font-sans)"},children:"Aqualine Piping provides commercial plumbing, piping, maintenance, and emergency services for businesses, property managers, facility teams, and commercial property owners throughout Northern California. From new construction and tenant improvements to ongoing maintenance and emergency response, we deliver reliable solutions tailored to each facility's needs."}),m.jsxs(R.div,{variants:Qt,className:"mt-8 flex flex-wrap gap-4",children:[m.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:aa,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor=eh},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=aa},children:["Request a Quote ",m.jsx(Zt,{className:"h-4 w-4"})]}),m.jsx("a",{href:"tel:4087457100",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded border-2 transition-all duration-200",style:{borderColor:"rgba(255,255,255,0.5)",color:"#FFFFFF",backgroundColor:"transparent",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.borderColor="#FFFFFF"},onMouseLeave:n=>{n.currentTarget.style.borderColor="rgba(255,255,255,0.5)"},children:"Call (408) 745-7100"})]})]})})]}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:"#FFFFFF"},children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs(R.div,{variants:Sr,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"mb-14",children:[m.jsx(R.p,{variants:Qt,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:aa,fontFamily:"var(--font-sans)"},children:"What We Do"}),m.jsx(R.h2,{variants:Qt,className:"text-4xl font-bold",style:{fontFamily:"var(--font-heading)",color:es},children:"Commercial Plumbing Services"})]}),m.jsx(R.div,{variants:Sr,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:N4.map(n=>m.jsxs(R.div,{variants:Qt,className:"flex items-start gap-5 rounded-xl p-6",style:{backgroundColor:A4,border:"1px solid #D6ECEE"},children:[m.jsx("div",{className:"h-12 w-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:aa},children:m.jsx(n.icon,{className:"h-6 w-6 text-white"})}),m.jsxs("div",{children:[m.jsx("h3",{className:"text-base font-bold mb-1",style:{fontFamily:"var(--font-heading)",color:es},children:n.title}),m.jsx("p",{className:"text-sm leading-relaxed",style:{color:jc,fontFamily:"var(--font-sans)"},children:n.desc})]})]},n.title))})]})}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:M4},children:m.jsx("div",{className:"max-w-7xl mx-auto",children:m.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[m.jsxs(R.div,{variants:Sr,initial:"hidden",
183whileInView:"visible",viewport:{once:!0},children:[m.jsx(R.p,{variants:Qt,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:aa,fontFamily:"var(--font-sans)"},children:"Dedicated Support"}),m.jsx(R.h2,{variants:Qt,className:"text-4xl font-bold mb-6",style:{fontFamily:"var(--font-heading)",color:es},children:"Property Management & Facility Services"}),m.jsx(R.p,{variants:Qt,className:"text-base leading-relaxed mb-6",style:{color:jc,fontFamily:"var(--font-sans)"},children:"Aqualine Piping provides ongoing plumbing and piping support for commercial property owners, facility managers, and property management companies throughout Northern California. Our team delivers responsive service, preventative maintenance, tenant improvement support, emergency repairs, and long-term facility plumbing solutions designed to minimize downtime and protect building operations."}),m.jsx(R.p,{variants:Qt,className:"text-base leading-relaxed",style:{color:jc,fontFamily:"var(--font-sans)"},children:"We have extensive experience supporting office buildings, retail centers, industrial facilities, healthcare facilities, and multi-property portfolios â providing the consistent, reliable service that property managers and facility teams depend on."}),m.jsx(R.p,{variants:Qt,className:"text-base leading-relaxed",style:{color:jc,fontFamily:"var(--font-sans)"},children:"Our experience includes office campuses, healthcare facilities, retail centers, manufacturing operations, educational institutions, and multi-site commercial portfolios throughout Northern California. We understand the importance of minimizing downtime, maintaining tenant satisfaction, and keeping facilities operating efficiently."}),m.jsx(R.div,{variants:Qt,className:"mt-8",children:m.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:aa,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor=eh},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=aa},children:["Contact Our Team ",m.jsx(Zt,{className:"h-4 w-4"})]})})]}),m.jsx(R.div,{variants:Sr,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:D4.map(n=>m.jsxs(R.div,{variants:Qt,className:"flex items-center gap-3 rounded-lg p-4",style:{backgroundColor:"#FFFFFF",border:"1px solid #D6ECEE"},children:[m.jsx(cn,{className:"h-5 w-5 shrink-0",style:{color:aa}}),m.jsx("span",{className:"text-sm font-medium",style:{color:es,fontFamily:"var(--font-sans)"},children:n})]},n))})]})})}),m.jsx("section",{className:"py-20 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:es},children:m.jsx("div",{className:"max-w-7xl mx-auto text-center",children:m.jsxs(R.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},children:[m.jsx("h2",{className:"text-3xl font-bold mb-4 text-white",style:{fontFamily:"var(--font-heading)"},children:"Ready to Discuss Your Commercial Project?"}),m.jsx("p",{className:"text-lg mb-8 max-w-xl mx-auto",style:{color:"rgba(255,255,255,0.75)",fontFamily:"var(--font-sans)"},children:"Contact us today for a consultation or to request a quote."}),m.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[m.jsx("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:aa,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor=eh},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=aa},children:"Request a Quote"}),m.jsx("a",{href:"tel:4087457100",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded border-2 transition-all duration-200",style:{borderColor:"rgba(255,255,255,0.4)",color:"#FFFFFF",backgroundColor:"transparent",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.borderColor="#FFFFFF"},onMouseLeave:n=>{n.currentTarget.style.borderColor="rgba(255,255,255,0.4)"},children:"Call (408) 745-7100"})]})]})})})]})}const el="#0D2B35",tl="#2C4A52",Va="#0099A8",F4="#007080",nl="#C8922A",z4="#EAF4F4",L4="#
183E6F5F7",Ze={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},Ba={hidden:{},visible:{transition:{staggerChildren:.08}}},O4=["Commercial plumbing repairs","Leak detection and repair","Drain cleaning","Sewer line repairs","Fixture repair and replacement","Water heater service and replacement","Backflow testing and repair","Domestic water system repairs","Tenant improvement plumbing","Emergency plumbing service","Preventive maintenance programs"],k4=["Commercial Real Estate","Property Management","Retail Centers","Restaurants & Food Service","Healthcare Facilities","Educational Facilities","Industrial Facilities","Office Buildings","Multi-Property Portfolios"],V4=["Responsive service technicians","Preventive maintenance expertise","Multiple hydro jetting units","Commercial plumbing specialists","Family-owned and operated","50+ years of combined industry experience","Licensed, bonded, and insured"];function B4(){return m.jsxs(m.Fragment,{children:[m.jsxs(Ga,{children:[m.jsx("title",{children:"Commercial Service & Maintenance â Aqualine Piping | Northern California"}),m.jsx("meta",{name:"description",content:"Aqualine Piping provides commercial plumbing service, repairs, hydro jetting, and preventive maintenance programs for facilities throughout Northern California."})]}),m.jsx("section",{className:"relative flex items-center justify-center",style:{minHeight:"400px",backgroundColor:el},children:m.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-8 sm:px-12 lg:px-16 xl:px-24 py-20 w-full",children:m.jsxs(R.div,{variants:Ba,initial:"hidden",animate:"visible",children:[m.jsx(R.p,{variants:Ze,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:"#7ACDDA",fontFamily:"var(--font-sans)"},children:"Service & Maintenance"}),m.jsx(R.h1,{variants:Ze,className:"text-5xl font-bold mb-4 text-white",style:{fontFamily:"var(--font-heading)"},children:"Commercial Service & Maintenance"}),m.jsx(R.div,{variants:Ze,className:"h-1 w-16 rounded",style:{backgroundColor:nl}}),m.jsx(R.p,{variants:Ze,className:"mt-6 text-xl font-semibold",style:{color:"rgba(255,255,255,0.90)",fontFamily:"var(--font-heading)"},children:"Responsive Plumbing Solutions for Commercial Facilities"}),m.jsx(R.p,{variants:Ze,className:"mt-4 text-base max-w-2xl leading-relaxed",style:{color:"rgba(255,255,255,0.75)",fontFamily:"var(--font-sans)"},children:"Aqualine Piping provides commercial plumbing service, repairs, and preventive maintenance programs for office buildings, retail centers, industrial facilities, schools, healthcare facilities, restaurants, and property management companies throughout Northern California."}),m.jsx(R.p,{variants:Ze,className:"mt-4 text-base max-w-2xl leading-relaxed",style:{color:"rgba(255,255,255,0.75)",fontFamily:"var(--font-sans)"},children:"Our experienced service technicians help clients reduce downtime, prevent costly plumbing failures, and keep facilities operating efficiently through responsive service and long-term maintenance solutions."})]})})}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:"#FFFFFF"},children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs(R.div,{variants:Ba,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"mb-12",children:[m.jsx(R.p,{variants:Ze,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:Va,fontFamily:"var(--font-sans)"},children:"What We Do"}),m.jsx(R.h2,{variants:Ze,className:"text-4xl font-bold mb-3",style:{fontFamily:"var(--font-heading)",color:el},children:"Our Commercial Services"}),m.jsx(R.div,{variants:Ze,className:"h-1 w-12 rounded",style:{backgroundColor:nl}})]}),m.jsx(R.div,{variants:Ba,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:O4.map(n=>m.jsxs(R.div,{variants:Ze,className:"flex items-start gap-3 rounded-xl p-5",style:{backgroundColor:z4,border:"1px solid #D6ECEE"},children:[m.jsx(cn,{className:"h-5 w-5 shrink-0 mt-0.5",style:{color:Va}}),m.jsx("span",{className:"text-sm leading-relaxed",style:{color:tl,fontFamily:"var(--font-sans)"},children:n})]},n))})]})}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:L4},children:m.jsx("div",{className:"max-w-7xl mx-auto",children:m.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[m.jsxs(R.div,{variants:Ba,initial:"hidden",
183whileInView:"visible",viewport:{once:!0},children:[m.jsx(R.p,{variants:Ze,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:Va,fontFamily:"var(--font-sans)"},children:"Drain Maintenance"}),m.jsx(R.h2,{variants:Ze,className:"text-4xl font-bold mb-3",style:{fontFamily:"var(--font-heading)",color:el},children:"Hydro Jetting & Drain Maintenance"}),m.jsx(R.div,{variants:Ze,className:"h-1 w-12 rounded mb-6",style:{backgroundColor:nl}}),m.jsx(R.p,{variants:Ze,className:"text-base leading-relaxed mb-4",style:{color:tl,fontFamily:"var(--font-sans)"},children:"Aqualine operates multiple hydro jetting units to provide professional drain cleaning, sewer maintenance, grease line cleaning, and scheduled maintenance services for commercial facilities."}),m.jsx(R.p,{variants:Ze,className:"text-base leading-relaxed",style:{color:tl,fontFamily:"var(--font-sans)"},children:"Our hydro jetting services help remove grease, scale, sludge, roots, and debris buildup that can lead to costly backups and emergency service calls."})]}),m.jsxs(R.div,{variants:Ba,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[m.jsx(R.p,{variants:Ze,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:Va,fontFamily:"var(--font-sans)"},children:"Scheduled Programs"}),m.jsx(R.h2,{variants:Ze,className:"text-4xl font-bold mb-3",style:{fontFamily:"var(--font-heading)",color:el},children:"Preventive Maintenance Programs"}),m.jsx(R.div,{variants:Ze,className:"h-1 w-12 rounded mb-6",style:{backgroundColor:nl}}),m.jsx(R.p,{variants:Ze,className:"text-base leading-relaxed mb-4",style:{color:tl,fontFamily:"var(--font-sans)"},children:"Many of our clients rely on scheduled maintenance programs to keep their facilities operating smoothly year-round."}),m.jsx(R.p,{variants:Ze,className:"text-base leading-relaxed",style:{color:tl,fontFamily:"var(--font-sans)"},children:"Aqualine provides quarterly and customized maintenance programs designed to identify potential issues before they become major problems, helping clients reduce downtime, avoid costly repairs, and extend the life of their plumbing systems."})]})]})})}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:"#FFFFFF"},children:m.jsx("div",{className:"max-w-7xl mx-auto",children:m.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16",children:[m.jsxs(R.div,{variants:Ba,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[m.jsx(R.p,{variants:Ze,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:Va,fontFamily:"var(--font-sans)"},children:"Sectors"}),m.jsx(R.h2,{variants:Ze,className:"text-3xl font-bold mb-3",style:{fontFamily:"var(--font-heading)",color:el},children:"Industries We Serve"}),m.jsx(R.div,{variants:Ze,className:"h-1 w-12 rounded mb-8",style:{backgroundColor:nl}}),m.jsx(R.div,{variants:Ba,className:"flex flex-col gap-3",children:k4.map(n=>m.jsxs(R.div,{variants:Ze,className:"flex items-center gap-3",children:[m.jsx(cn,{className:"h-5 w-5 shrink-0",style:{color:Va}}),m.jsx("span",{className:"text-sm",style:{color:tl,fontFamily:"var(--font-sans)"},children:n})]},n))})]}),m.jsxs(R.div,{variants:Ba,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[m.jsx(R.p,{variants:Ze,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:Va,fontFamily:"var(--font-sans)"},children:"Our Commitment"}),m.jsx(R.h2,{variants:Ze,className:"text-3xl font-bold mb-3",style:{fontFamily:"var(--font-heading)",color:el},children:"Why Choose Aqualine"}),m.jsx(R.div,{variants:Ze,className:"h-1 w-12 rounded mb-8",style:{backgroundColor:nl}}),m.jsx(R.div,{variants:Ba,className:"flex flex-col gap-3",children:V4.map(n=>m.jsxs(R.div,{variants:Ze,className:"flex items-center gap-3",children:[m.jsx(cn,{className:"h-5 w-5 shrink-0",style:{color:nl}}),m.jsx("span",{className:"text-sm",style:{color:tl,fontFamily:"var(--font-sans)"},children:n})]},n))})]})]})})}),m.jsx("section",{className:"py-20 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:el},children:m.jsx("div",{className:"max-w-7xl mx-auto text-center",children:m.jsxs(R.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},children:[m.jsx("h2",{className:"text-3xl font-bold mb-4 text-white",style:{fontFamily:"var(--font-heading)"},children:"Ready to Discuss Your Service Needs?"}),m.jsx("p",{className:"text-base mb-8 max-w-xl mx-auto",style:{color:"rgba(255,255,255,0.75)",fontFamily:"var(--font-sans)"}
183,children:"Contact Aqualine Piping today to discuss your commercial plumbing service, maintenance program, or emergency service requirements."}),m.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[m.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:Va,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor=F4},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=Va},children:["Contact Us ",m.jsx(Zt,{className:"h-4 w-4"})]}),m.jsx("a",{href:"tel:4087457100",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded border-2 transition-all duration-200",style:{borderColor:"rgba(255,255,255,0.5)",color:"#FFFFFF",backgroundColor:"transparent",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.borderColor="#FFFFFF"},onMouseLeave:n=>{n.currentTarget.style.borderColor="rgba(255,255,255,0.5)"},children:"Call (408) 745-7100"})]})]})})})]})}const Ua="#0099A8",bx="#007080",Cr="#0D2B35",Ac="#2C4A52",U4="#C8922A",H4="#EAF4F4",_4="#E6F5F7",xn={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},Tr={hidden:{},visible:{transition:{staggerChildren:.1}}},q4=[{icon:us,title:"Plumbing Repairs",desc:"Fast, reliable repairs for leaks, broken fixtures, pipe damage, and all residential plumbing issues â done right the first time."},{icon:tm,title:"Water Heater Replacement",desc:"Installation and replacement of traditional tank and tankless water heaters. We help you choose the right system for your home and budget."},{icon:SE,title:"Sewer & Drain Services",desc:"Drain cleaning, sewer line inspection, and repair services to keep your home plumbing flowing freely and prevent costly backups."},{icon:qc,title:"Repiping",desc:"Complete whole-home repiping using modern materials. Ideal for older homes with galvanized or deteriorating pipes that need a full upgrade."},{icon:jE,title:"Fixture Installation",desc:"Professional installation of faucets, sinks, toilets, showers, and all plumbing fixtures â new installations and replacements."},{icon:RE,title:"Leak Detection",desc:"Advanced leak detection to locate hidden leaks behind walls, under slabs, and underground before they cause serious damage."},{icon:us,title:"Residential Remodels",desc:"Full plumbing support for kitchen and bathroom remodels â rough-in, fixture installation, and final connections."},{icon:qc,title:"Preventative Maintenance",desc:"Annual plumbing inspections and maintenance to catch small issues early and keep your home plumbing in top condition."}],G4=["Family-owned company with 50+ years of combined experience","Licensed, bonded, and insured â CSLB #962056","Serving the Bay Area since 2011","Clean, respectful crews who treat your home with care","Transparent pricing with no surprise charges","Quality workmanship backed by decades of industry experience"];function P4(){return m.jsxs(m.Fragment,{children:[m.jsxs(Ga,{children:[m.jsx("title",{children:"Residential Plumbing â Aqualine Piping | Bay Area, CA"}),m.jsx("meta",{name:"description",content:"Aqualine Piping provides residential plumbing repairs, repiping, water heater replacement, leak detection, and remodel services throughout the Bay Area. Call (408) 745-7100."})]}),m.jsxs("section",{className:"relative",style:{minHeight:"420px",backgroundColor:Cr,overflow:"hidden"},children:[m.jsx("img",{src:"/airo-assets/images/services/residential-piping",alt:"Residential plumbing",className:"absolute inset-0 w-full h-full object-cover",style:{opacity:.22}}),m.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-8 sm:px-12 lg:px-16 xl:px-24 py-24",children:m.jsxs(R.div,{variants:Tr,initial:"hidden",animate:"visible",children:[m.jsx(R.p,{variants:xn,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:"#7ACDDA",fontFamily:"var(--font-sans)"},children:"Residential Services"}),m.jsx(R.h1,{variants:xn,className:"text-5xl font-bold mb-4 text-white",style:{fontFamily:"var(--font-heading)"},children:"Residential Plumbing"}),m.jsx(R.div,{variants:xn,className:"h-1 w-16 rounded",style:{backgroundColor:U4}}),m.jsx(R.p,{variants:xn,className:"mt-6 text-lg max-w-2xl",style:{color:"rgba(255,255,255,0.80)",fontFamily:"var(--font-sans)"},children:"From routine repairs to whole-home repiping, Aqualine Piping provides homeowners with the same quality workmanship, professionalism, and attention to detail that has made us a trusted plumbing and piping contractor throughout Northern California."}),m.jsxs(R.div,{variants:xn,className:"mt-8 flex flex-wrap gap-4",children:[m.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:Ua,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor=bx},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=Ua},children:["Request Service ",m.jsx(Zt,{className:"h-4 w-4"})]}),m.jsx("a",{href:"tel:4087457100",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded border-2 transition-all duration-200",style:{borderColor:"rgba(255,255,255,0.5)",color:"#FFFFFF",backgroundColor:"transparent",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.borderColor="#FFFFFF"},onMouseLeave:n=>{n.currentTarget.style.borderColor="rgba(255,255,255,0.5)"},children:"Call (408) 745-7100"})]})]})})]}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:"#FFFFFF"},children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs(R.div,{variants:Tr,initial:"hidden",
183whileInView:"visible",viewport:{once:!0},className:"mb-14",children:[m.jsx(R.p,{variants:xn,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:Ua,fontFamily:"var(--font-sans)"},children:"Residential Services"}),m.jsx(R.h2,{variants:xn,className:"text-4xl font-bold",style:{fontFamily:"var(--font-heading)",color:Cr},children:"Home Plumbing Services"})]}),m.jsx(R.div,{variants:Tr,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:q4.map(n=>m.jsxs(R.div,{variants:xn,className:"flex items-start gap-5 rounded-xl p-6",style:{backgroundColor:H4,border:"1px solid #D6ECEE"},children:[m.jsx("div",{className:"h-12 w-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:Ua},children:m.jsx(n.icon,{className:"h-6 w-6 text-white"})}),m.jsxs("div",{children:[m.jsx("h3",{className:"text-base font-bold mb-1",style:{fontFamily:"var(--font-heading)",color:Cr},children:n.title}),m.jsx("p",{className:"text-sm leading-relaxed",style:{color:Ac,fontFamily:"var(--font-sans)"},children:n.desc})]})]},n.title))})]})}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:_4},children:m.jsxs("div",{className:"max-w-7xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[m.jsxs(R.div,{variants:Tr,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[m.jsx(R.p,{variants:xn,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:Ua,fontFamily:"var(--font-sans)"},children:"Why Aqualine"}),m.jsx(R.h2,{variants:xn,className:"text-4xl font-bold mb-6",style:{fontFamily:"var(--font-heading)",color:Cr},children:"Trusted by Bay Area Homeowners"}),m.jsx(R.p,{variants:xn,className:"text-base leading-relaxed mb-8",style:{color:Ac,fontFamily:"var(--font-sans)"},children:"When you invite Aqualine Piping into your home, you can expect the same level of professionalism and quality workmanship we bring to every commercial project. Our crews are clean, respectful, and committed to getting the job done right."}),m.jsx(R.p,{variants:xn,className:"text-base leading-relaxed mb-8",style:{color:Ac,fontFamily:"var(--font-sans)"},children:"As a family-owned company, we understand the importance of reliable service, clear communication, and treating your home with respect. Whether you need a simple repair, a plumbing upgrade, or a complete repiping project, our team is committed to delivering solutions that last."}),m.jsx(R.div,{variants:Tr,className:"flex flex-col gap-3",children:G4.map(n=>m.jsxs(R.div,{variants:xn,className:"flex items-start gap-3",children:[m.jsx(cn,{className:"h-5 w-5 shrink-0 mt-0.5",style:{color:Ua}}),m.jsx("span",{className:"text-sm leading-relaxed",style:{color:Ac,fontFamily:"var(--font-sans)"},children:n})]},n))})]}),m.jsxs(R.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7,ease:"easeOut"},className:"rounded-2xl p-10 text-center",style:{backgroundColor:Cr},children:[m.jsx("p",{className:"text-6xl font-bold mb-2",style:{fontFamily:"var(--font-heading)",color:Ua},children:"50+"}),m.jsx("p",{className:"text-xl font-semibold text-white mb-4",style:{fontFamily:"var(--font-heading)"},children:"Years of Combined Experience"}),m.jsx("div",{className:"h-px w-16 mx-auto mb-6",style:{backgroundColor:"rgba(255,255,255,0.2)"}}),m.jsx("p",{className:"text-base mb-8",style:{color:"rgba(255,255,255,0.75)",fontFamily:"var(--font-sans)"},children:"Family-owned and operated since 2011. Built on trust, quality workmanship, and responsive service."}),m.jsx("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:Ua,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor=bx},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=Ua},children:"Schedule Service"})]})]})})]})}const Ha="#0099A8",wx="#007080",Er="#0D2B35",jr="#2C4A52",Y4="#C8922A",X4="#EAF4F4",K4="#E6F5F7",bn={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},Ar={hidden:{},visible:{transition:{staggerChildren:.1}}},Q4=[{icon:CE,title:"Industrial Process Piping",desc:"Complete design and installation of industrial process piping systems for manufacturing, production, and distribution facilities."},{icon:AE,title:"Stainless Steel Piping Systems",desc:"Precision fabrication and installation of stainless steel piping systems for high-purity, sanitary, and corrosion-resistant applications."},{icon:wE,title:"Semiconductor Facilities",desc:"Specialized process piping for semiconductor and electronics manufacturing â ultra-high-purity systems meeting strict cleanroom standards."},{icon:TE,title:"Food & Beverage Facilities",desc:"Sanitary piping systems designed and installed to meet FDA, USDA, and industry hygiene standards for food and beverage production."},{icon:DE,title:"Laboratory & Research Facilities",desc:"Process piping for laboratory, pharmaceutical, and research environments requiring precision, purity, and regulatory compliance."},{icon:qc,title:"Manufacturing Facilities",desc:"Robust process piping solutions for general manufacturing, assembly, and production facilities across Northern California."},{icon:ob,title:"Design-Build Services",desc:"In-house design-build capabilities â our team handles engineering coordination, material selection, fabrication, and installation under one roof."},{icon:cn,title:"Installation, Testing & Project Management",desc:"Full-scope project management from pre-construction through final testing, commissioning, and turnover â on schedule and within budget."}],Z4=["High-purity & ultra-high-purity systems","Stainless steel, carbon steel & specialty alloys","Cleanroom-compatible installation methods","Pressure testing & system commissioning","Prevailing wage & public works experience","Coordination with GCs, engineers & owners","CSLB Licensed #962056","Bonded & insured"];function J4(){return m.jsxs(m.Fragment,{children:[m.jsxs(Ga,{children:[m.jsx("title",{children:"Process Piping â Aqualine Piping | Bay Area, CA"}),m.jsx("meta",{name:"description",content:"Aqualine Piping specializes in industrial process piping, stainless steel systems, semiconductor facilities, food & beverage, and design-build services in the Bay Area."})]}),m.jsxs("section",{className:"relative",style:{minHeight:"420px",backgroundColor:Er,overflow:"hidden"},children:[m.jsx("img",{src:"/airo-assets/images/services/process-piping",alt:"Process piping installation",className:"absolute inset-0 w-full h-full object-cover",style:{opacity:.22}}),m.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-8 sm:px-12 lg:px-16 xl:px-24 py-24",children:m.jsxs(R.div,{variants:Ar,initial:"hidden",animate:"visible",children:[m.jsx(R.p,{variants:bn,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:"#7ACDDA",fontFamily:"var(--font-sans)"},children:"Specialty Services"}),m.jsx(R.h1,{variants:bn,className:"text-5xl font-bold mb-4 text-white",style:{fontFamily:"var(--font-heading)"},children:"Process Piping"}),m.jsx(R.div,{variants:bn,className:"h-1 w-16 rounded",style:{backgroundColor:Y4}}),m.jsx(R.p,{variants:bn,className:"mt-6 text-lg max-w-2xl",style:{color:"rgba(255,255,255,0.80)",fontFamily:"var(--font-sans)"},children:"Aqualine Piping provides specialized process piping solutions for manufacturing, semiconductor, food & beverage, laboratory, and industrial facilities throughout Northern California. From stainless steel installations and high-purity systems to complex design-build projects, our team delivers safe, reliable, and precision-driven piping solutions tailored to each facility's operational requirements."}),m.jsxs(R.div,{variants:bn,className:"mt-8 flex flex-wrap gap-4",children:[m.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:Ha,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor=wx},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=Ha},children:["Request a Quote ",m.jsx(Zt,{className:"h-4 w-4"})]}),m.jsx("a",{href:"tel:4087457100",className:"inline-flex items-center gap-2 px-8 py-4 text-base font-semibold rounded border-2 transition-all duration-200",style:{borderColor:"rgba(255,255,255,0.5)",color:"#FFFFFF",backgroundColor:"transparent",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.borderColor="#FFFFFF"},onMouseLeave:n=>{n.currentTarget.style.borderColor="rgba(255,255,255,0.5)"},children:"Call (408) 745-7100"})]})]})})]}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:"#FFFFFF"},children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs(R.div,{variants:Ar,initial:"hidden",
183whileInView:"visible",viewport:{once:!0},className:"mb-14",children:[m.jsx(R.p,{variants:bn,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:Ha,fontFamily:"var(--font-sans)"},children:"Our Expertise"}),m.jsx(R.h2,{variants:bn,className:"text-4xl font-bold",style:{fontFamily:"var(--font-heading)",color:Er},children:"Process Piping Services"})]}),m.jsx(R.div,{variants:Ar,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:Q4.map(n=>m.jsxs(R.div,{variants:bn,className:"flex items-start gap-5 rounded-xl p-6",style:{backgroundColor:X4,border:"1px solid #D6ECEE"},children:[m.jsx("div",{className:"h-12 w-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:Ha},children:m.jsx(n.icon,{className:"h-6 w-6 text-white"})}),m.jsxs("div",{children:[m.jsx("h3",{className:"text-base font-bold mb-1",style:{fontFamily:"var(--font-heading)",color:Er},children:n.title}),m.jsx("p",{className:"text-sm leading-relaxed",style:{color:jr,fontFamily:"var(--font-sans)"},children:n.desc})]})]},n.title))})]})}),m.jsx("section",{className:"py-24 px-8 sm:px-12 lg:px-16 xl:px-24",style:{backgroundColor:K4},children:m.jsxs("div",{className:"max-w-7xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[m.jsxs(R.div,{variants:Ar,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[m.jsx(R.p,{variants:bn,className:"text-sm font-semibold uppercase tracking-widest mb-3",style:{color:Ha,fontFamily:"var(--font-sans)"},children:"Why Aqualine"}),m.jsx(R.h2,{variants:bn,className:"text-4xl font-bold mb-6",style:{fontFamily:"var(--font-heading)",color:Er},children:"Precision. Quality. Experience."}),m.jsx(R.p,{variants:bn,className:"text-base leading-relaxed mb-8",style:{color:jr,fontFamily:"var(--font-sans)"},children:"Our process piping expertise is built on decades of hands-on experience in some of the most demanding industrial environments in Northern California. We understand the precision, cleanliness, and documentation requirements that semiconductor, pharmaceutical, and food & beverage clients demand â and we deliver."}),m.jsx(R.p,{variants:bn,className:"text-base leading-relaxed mb-8",style:{color:jr,fontFamily:"var(--font-sans)"},children:"Our team has experience working within active manufacturing, technology, healthcare, research, and industrial environments where safety, coordination, documentation, and minimal disruption to operations are critical. We understand the unique challenges of working in occupied and operational facilities and deliver solutions that meet both project and production requirements."}),m.jsx(R.div,{variants:Ar,className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:Z4.map(n=>m.jsxs(R.div,{variants:bn,className:"flex items-start gap-3",children:[m.jsx(cn,{className:"h-5 w-5 shrink-0 mt-0.5",style:{color:Ha}}),m.jsx("span",{className:"text-sm leading-relaxed",style:{color:jr,fontFamily:"var(--font-sans)"},children:n})]},n))})]}),m.jsxs(R.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7,ease:"easeOut"},className:"flex flex-col gap-5",children:[[{label:"Semiconductor & Electronics",desc:"Ultra-high-purity piping for chip fabrication and electronics manufacturing"},{label:"Food & Beverage",desc:"Sanitary stainless steel systems meeting FDA and USDA standards"},{label:"Pharmaceutical & Lab",desc:"Precision piping for research, biotech, and pharmaceutical production"},{label:"General Manufacturing",desc:"Durable process piping for production and assembly operations"}].map(n=>m.jsxs("div",{className:"rounded-xl p-6 flex items-start gap-4",style:{backgroundColor:"#FFFFFF",border:"1px solid #D6ECEE"},children:[m.jsx("div",{className:"h-3 w-3 rounded-full shrink-0 mt-1.5",style:{backgroundColor:Ha}}),m.jsxs("div",{children:[m.jsx("p",{className:"font-bold text-sm",style:{color:Er,fontFamily:"var(--font-heading)"},children:n.label}),m.jsx("p",{className:"text-sm mt-0.5",style:{color:jr,fontFamily:"var(--font-sans)"},children:n.desc})]})]},n.label)),m.jsxs("a",{href:"/contact",className:"inline-flex items-center justify-center gap-2 px-8 py-4 text-base font-semibold rounded transition-all duration-200",style:{backgroundColor:Ha,color:"#FFFFFF",fontFamily:"var(--font-sans)"},onMouseEnter:n=>{n.currentTarget.style.backgroundColor=wx},onMouseLeave:n=>{n.currentTarget.style.backgroundColor=Ha},children:["Discuss Your Project ",m.jsx(Zt,{className:"h-4 w-4"})]})]})]})})]})}const $4=$h;function W4(){return m.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:m.jsx("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:m.jsxs("div",{className:"space-y-8",children:[m.jsxs("div",{className:"space-y-4",children:[m.jsx("h1",{className:"text-6xl font-bold text-white/90",children:"404"}),m.jsx("h2",{className:"text-2xl font-semibold text-white/90",children:"Page Not Found"}),m.jsx("p",{className:"text-white/90",children:"Sorry, the page you're looking for doesn't exist or has been moved."})]}),m.jsxs("div",{className:"flex justify-center gap-4",children:[m.jsx($4,{to:"/",children:m.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"})}),m.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 I4=W4,eD=[{path:"/",element:m.jsx(h4,{})},{path:"/recent-projects",element:m.jsx(x4,{})},{path:"/employment",element:m.jsx(C4,{})},{path:"/contact",element:m.jsx(E4,{})},{path:"/commercial",element:m.jsx(R4,{})},{path:"/commercial-service",element:m.jsx(B4,{})},{path:"/residential",element:m.jsx(P4,{})},{path:"/process-piping",element:m.jsx(J4,{})},{path:"*",element:m.jsx(I4,{})}],tD=C.lazy(()=>VS(()=>import("./CookieBanner-o7zyKtfR.js"),__vite__mapDeps([0,1,2,3])).catch(n=>(console.warn("Failed to load CookieBanner:",n),{default:()=>null}))),nD=()=>m.jsx("div",{className:"flex justify-center py-8 h-screen items-center",children:m.jsx(yj,{})}),aD=m.jsx(C.Suspense,{fallback:m.jsx(nD,{}),children:m.jsx(pj,{children:m.jsx(ET,{})})}),iD=[{element:aD,children:eD}],lD=WT(iD);function sD(){return m.jsxs(m.Fragment,{children:[m.jsx(dE,{router:lD}),m.jsx(hE,{children:m.jsx(C.Suspense,{fallback:null,children:m.jsx(tD,{})})})]})}const rD=new uS({defaultOptions:{queries:{staleTime:1e3*60*5,gcTime:1e3*60*10,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}}),Bc=document.getElementById("app");if(!Bc)throw new Error("Root element not found");const Sx=m.jsx(C.StrictMode,{children:m.jsx(zS,{children:m.jsx(fS,{client:rD,children:m.jsx(sD,{})})})});Bc.firstElementChild?gv.hydrateRoot(Bc,Sx):gv.createRoot(Bc).render(Sx);export{hj as a,LE 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.