PageSourceSearch

https://turkuazbrasserie.co.uk/assets/index-DNC5nyHc.js

js turkuazbrasserie.co.uk collected 2026-10-02 02:09:49 UTC 591,306 bytes, 278 lines download raw bytes

vendor: 9,242 bytes, lines 1-18
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CookieBanner-BT8wZ2NR.js","assets/query-DYVpeFO3.js","assets/radix-ui-BrXWnT8S.js","assets/react-vendor-DYU0Rr6N.js"])))=>i.map(i=>d[i]);
2var v2=Object.defineProperty;var Xv=t=>{throw TypeError(t)};var b2=(t,n,i)=>n in t?v2(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i;var Jn=(t,n,i)=>b2(t,typeof n!="symbol"?n+"":n,i),Qv=(t,n,i)=>n.has(t)||Xv("Cannot "+i);var xn=(t,n,i)=>(Qv(t,n,"read from private field"),i?i.call(t):n.get(t)),fs=(t,n,i)=>n.has(t)?Xv("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,i),In=(t,n,i,s)=>(Qv(t,n,"write to private field"),s?s.call(t,i):n.set(t,i),i);import{a as x2,j as y,r as E,Q as w2,b as S2}from"./query-DYVpeFO3.js";import{r as T2}from"./react-vendor-DYU0Rr6N.js";import{r as E2}from"./radix-ui-BrXWnT8S.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function s(o){if(o.ep)return;o.ep=!0;const u=i(o);fetch(o.href,u)}})();var Uf={exports:{}},Rl={},Hf={exports:{}},Gf={};/**
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 $v;function A2(){return $v||($v=1,(function(t){function n(U,P){var $=U.length;U.push(P);e:for(;0<$;){var ie=$-1>>>1,ve=U[ie];if(0<o(ve,P))U[ie]=P,U[$]=ve,$=ie;else break e}}function i(U){return U.length===0?null:U[0]}function s(U){if(U.length===0)return null;var P=U[0],$=U.pop();if($!==P){U[0]=$;e:for(var ie=0,ve=U.length,be=ve>>>1;ie<be;){var Re=2*(ie+1)-1,Ae=U[Re],We=Re+1,yt=U[We];if(0>o(Ae,$))We<ve&&0>o(yt,Ae)?(U[ie]=yt,U[We]=$,ie=We):(U[ie]=Ae,U[Re]=$,ie=Re);else if(We<ve&&0>o(yt,$))U[ie]=yt,U[We]=$,ie=We;else break e}}return P}function o(U,P){var $=U.sortIndex-P.sortIndex;return $!==0?$:U.id-P.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var d=Date,h=d.now();t.unstable_now=function(){return d.now()-h}}var m=[],p=[],g=1,b=null,x=3,S=!1,T=!1,C=!1,z=!1,L=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,G=typeof setImmediate<"u"?setImmediate:null;function F(U){for(var P=i(p);P!==null;){if(P.callback===null)s(p);else if(P.startTime<=U)s(p),P.sortIndex=P.expirationTime,n(m,P);else break;P=i(p)}}function Q(U){if(C=!1,F(U),!T)if(i(m)!==null)T=!0,me||(me=!0,ee());else{var P=i(p);P!==null&&Le(Q,P.startTime-U)}}var me=!1,te=-1,R=5,oe=-1;function I(){return z?!0:!(t.unstable_now()-oe<R)}function we(){if(z=!1,me){var U=t.unstable_now();oe=U;var P=!0;try{e:{T=!1,C&&(C=!1,V(te),te=-1),S=!0;var $=x;try{t:{for(F(U),b=i(m);b!==null&&!(b.expirationTime>U&&I());){var ie=b.callback;if(typeof ie=="function"){b.callback=null,x=b.priorityLevel;var ve=ie(b.expirationTime<=U);if(U=t.unstable_now(),typeof ve=="function"){b.callback=ve,F(U),P=!0;break t}b===i(m)&&s(m),F(U)}else s(m);b=i(m)}if(b!==null)P=!0;else{var be=i(p);be!==null&&Le(Q,be.startTime-U),P=!1}}break e}finally{b=null,x=$,S=!1}P=void 0}}finally{P?ee():me=!1}}}var ee;if(typeof G=="function")ee=function(){G(we)};else if(typeof MessageChannel<"u"){var De=new MessageChannel,Be=De.port2;De.port1.onmessage=we,ee=function(){Be.postMessage(null)}}else ee=function(){L(we,0)};function Le(U,P){te=L(function(){U(t.unstable_now())},P)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(U){U.callback=null},t.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<U?Math.floor(1e3/U):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_next=function(U){switch(x){case 1:case 2:case 3:var P=3;break;default:P=x}var $=x;x=P;try{return U()}finally{x=$}},t.unstable_requestPaint=function(){z=!0},t.unstable_runWithPriority=function(U,P){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var $=x;x=U;try{return P()}finally{x=$}},t.unstable_scheduleCallback=function(U,P,$){var ie=t.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?ie+$:ie):$=ie,U){case 1:var ve=-1;break;case 2:ve=250;break;case 5:ve=1073741823;break;case 4:ve=1e4;break;default:ve=5e3}return ve=$+ve,U={id:g++,callback:P,priorityLevel:U,startTime:$,expirationTime:ve,sortIndex:-1},$>ie?(U.sortIndex=$,n(p,U),i(m)===null&&U===i(p)&&(C?(V(te),te=-1):C=!0,Le(Q,$-ie))):(U.sortIndex=ve,n(m,U),T||S||(T=!0,me||(me=!0,ee()))),U},t.unstable_shouldYield=I,t.unstable_wrapCallback=function(U){var P=x;return function(){var $=x;x=P;try{return U.apply(this,arguments)}finally{x=$}}}})(Gf)),Gf}var Jv;function k2(){return Jv||(Jv=1,Hf.exports=A2()),Hf.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 Iv;function M2(){if(Iv)return Rl;Iv=1;var t=k2(),n=x2(),i=T2();function s(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)a+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var a=e,r=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(r=a.return),e=a.return;while(e)}return a.tag===3?r:null}function d(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function h(e){if(e.tag===31){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function m(e){if(u(e)!==e)throw Error(s(188))}function p(e){var a=e.alternate;if(!a){if(a=u(e),a===null)throw Error(s(188));return a!==e?null:e}for(var r=e,l=a;;){var c=r.return;if(c===null)break;var f=c.alternate;if(f===null){if(l=c.return,l!==null){r=l;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===r)return m(c),e;if(f===l)return m(c),a;f=f.sibling}throw Error(s(188))}if(r.return!==l.return)r=c,l=f;else{for(var v=!1,w=c.child;w;){if(w===r){v=!0,r=c,l=f;break}if(w===l){v=!0,l=c,r=f;break}w=w.sibling}if(!v){for(w=f.child;w;){if(w===r){v=!0,r=f,l=c;break}if(w===l){v=!0,l=f,r=c;break}w=w.sibling}if(!v)throw Error(s(189))}}if(r.alternate!==l)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?e:a}function g(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=g(e),a!==null)return a;e=e.sibling}return null}var b=Object.assign,x=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),V=Symbol.for("react.consumer"),G=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),me=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),I=Symbol.for("react.memo_cache_sentinel"),we=Symbol.iterator;function ee(e){return e===null||typeof e!="object"?null:(e=we&&e[we]||e["@@iterator"],typeof e=="function"?e:null)}var De=Symbol.for("react.client.reference");function Be(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===De?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case L:return"Profiler";case z:return"StrictMode";case Q:return"Suspense";case me:return"SuspenseList";case oe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case G:return e.displayName||"Context";case V:return(e._context.displayName||"Context")+".Consumer";case F:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case te:return a=e.displayName||null,a!==null?a:Be(e.type)||"Memo";case R:a=e._payload,e=e._init;try{return Be(e(a))}catch{}}return null}var Le=Array.isArray,U=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pen
vendor: 4,228 bytes, lines 18-25
18ding:!1,data:null,method:null,action:null},ie=[],ve=-1;function be(e){return{current:e}}function Re(e){0>ve||(e.current=ie[ve],ie[ve]=null,ve--)}function Ae(e,a){ve++,ie[ve]=e.current,e.current=a}var We=be(null),yt=be(null),ut=be(null),Qt=be(null);function xa(e,a){switch(Ae(ut,a),Ae(yt,e),Ae(We,null),a.nodeType){case 9:case 11:e=(e=a.documentElement)&&(e=e.namespaceURI)?yv(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=yv(a),e=vv(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Re(We),Ae(We,e)}function nn(){Re(We),Re(yt),Re(ut)}function Bs(e){e.memoizedState!==null&&Ae(Qt,e);var a=We.current,r=vv(a,e.type);a!==r&&(Ae(yt,e),Ae(We,r))}function jr(e){yt.current===e&&(Re(We),Re(yt)),Qt.current===e&&(Re(Qt),Ml._currentValue=$)}var Vs,Ct;function an(e){if(Vs===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);Vs=a&&a[1]||"",Ct=-1<r.stack.indexOf(`
19    at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
20`+Vs+e+Ct}var zr=!1;function Us(e,a){if(!e||zr)return"";zr=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(a){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(H){var B=H}Reflect.construct(e,[],q)}else{try{q.call()}catch(H){B=H}e.call(q.prototype)}}else{try{throw Error()}catch(H){B=H}(q=e())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(H){if(H&&B&&typeof H.stack=="string")return[H.stack,B.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=l.DetermineComponentFrameRoot(),v=f[0],w=f[1];if(v&&w){var A=v.split(`
21`),O=w.split(`
22`);for(c=l=0;l<A.length&&!A[l].includes("DetermineComponentFrameRoot");)l++;for(;c<O.length&&!O[c].includes("DetermineComponentFrameRoot");)c++;if(l===A.length||c===O.length)for(l=A.length-1,c=O.length-1;1<=l&&0<=c&&A[l]!==O[c];)c--;for(;1<=l&&0<=c;l--,c--)if(A[l]!==O[c]){if(l!==1||c!==1)do if(l--,c--,0>c||A[l]!==O[c]){var K=`
23`+A[l].replace(" at new "," at ");return e.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",e.displayName)),K}while(1<=l&&0<=c);break}}}finally{zr=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?an(r):""}function wa(e,a){switch(e.tag){case 26:case 27:case 5:return an(e.type);case 16:return an("Lazy");case 13:return e.child!==a&&a!==null?an("Suspense Fallback"):an("Suspense");case 19:return an("SuspenseList");case 0:case 15:return Us(e.type,!1);case 11:return Us(e.type.render,!1);case 1:return Us(e.type,!0);case 31:return an("Activity");default:return""}}function yo(e){try{var a="",r=null;do a+=wa(e,r),r=e,e=e.return;while(e);return a}catch(l){return`
24Error generating stack: `+l.message+`
25`+l.stack}}var Hs=Object.prototype.hasOwnProperty,Cr=t.unstable_scheduleCallback,Gs=t.unstable_cancelCallback,kc=t.unstable_shouldYield,Mc=t.unstable_requestPaint,$t=t.unstable_now,Sa=t.unstable_getCurrentPriorityLevel,ni=t.unstable_ImmediatePriority,Ks=t.unstable_UserBlockingPriority,ai=t.unstable_NormalPriority,Yn=t.unstable_LowPriority,kn=t.unstable_IdlePriority,jc=t.log,zc=t.unstable_setDisableYieldValue,Ta=null,Jt=null;function Dt(e){if(typeof jc=="function"&&zc(e),Jt&&typeof Jt.setStrictMode=="function")try{Jt.setStrictMode(Ta,e)}catch{}}var Yt=Math.clz32?Math.clz32:Cc,vo=Math.log,bo=Math.LN2;function Cc(e){return e>>>=0,e===0?32:31-(vo(e)/bo|0)|0}var Qi=256,Ea=262144,$i=4194304;function Fn(e){var a=e&42;if(a!==0)return a;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;
vendor: 6,113 bytes, line 25
25case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Rr(e,a,r){var l=e.pendingLanes;if(l===0)return 0;var c=0,f=e.suspendedLanes,v=e.pingedLanes;e=e.warmLanes;var w=l&134217727;return w!==0?(l=w&~f,l!==0?c=Fn(l):(v&=w,v!==0?c=Fn(v):r||(r=w&~e,r!==0&&(c=Fn(r))))):(w=l&~f,w!==0?c=Fn(w):v!==0?c=Fn(v):r||(r=l&~e,r!==0&&(c=Fn(r)))),c===0?0:a!==0&&a!==c&&(a&f)===0&&(f=c&-c,r=a&-a,f>=r||f===32&&(r&4194048)!==0)?a:c}function ii(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function Rc(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zs(){var e=$i;return $i<<=1,($i&62914560)===0&&($i=4194304),e}function ri(e){for(var a=[],r=0;31>r;r++)a.push(e);return a}function ia(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function xo(e,a,r,l,c,f){var v=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var w=e.entanglements,A=e.expirationTimes,O=e.hiddenUpdates;for(r=v&~r;0<r;){var K=31-Yt(r),q=1<<K;w[K]=0,A[K]=-1;var B=O[K];if(B!==null)for(O[K]=null,K=0;K<B.length;K++){var H=B[K];H!==null&&(H.lane&=-536870913)}r&=~q}l!==0&&wo(e,l,0),f!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=f&~(v&~a))}function wo(e,a,r){e.pendingLanes|=a,e.suspendedLanes&=~a;var l=31-Yt(a);e.entangledLanes|=a,e.entanglements[l]=e.entanglements[l]|1073741824|r&261930}function So(e,a){var r=e.entangledLanes|=a;for(e=e.entanglements;r;){var l=31-Yt(r),c=1<<l;c&a|e[l]&a&&(e[l]|=a),r&=~c}}function k(e,a){var r=a&-a;return r=(r&42)!==0?1:j(r),(r&(e.suspendedLanes|a))!==0?0:r}function j(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 N(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Y(){var e=P.p;return e!==0?e:(e=window.event,e===void 0?32:Gv(e.type))}function X(e,a){var r=P.p;try{return P.p=e,a()}finally{P.p=r}}var se=Math.random().toString(36).slice(2),ne="__reactFiber$"+se,ae="__reactProps$"+se,W="__reactContainer$"+se,pe="__reactEvents$"+se,Te="__reactListeners$"+se,ye="__reactHandles$"+se,Ee="__reactResources$"+se,Qe="__reactMarker$"+se;function Ye(e){delete e[ne],delete e[ae],delete e[pe],delete e[Te],delete e[ye]}function ct(e){var a=e[ne];if(a)return a;for(var r=e.parentNode;r;){if(a=r[W]||r[ne]){if(r=a.alternate,a.child!==null||r!==null&&r.child!==null)for(e=Av(e);e!==null;){if(r=e[ne])return r;e=Av(e)}return a}e=r,r=e.parentNode}return null}function ze(e){if(e=e[ne]||e[W]){var a=e.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return e}return null}function It(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(s(33))}function vt(e){var a=e[Ee];return a||(a=e[Ee]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function $e(e){e[Qe]=!0}var Pn=new Set,Aa={};function Mn(e,a){Rt(e,a),Rt(e+"Capture",a)}function Rt(e,a){for(Aa[e]=a,e=0;e<a.length;e++)Pn.add(a[e])}var si=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]*$"),ka={},Ma={};function _r(e){return Hs.call(Ma,e)?!0:Hs.call(ka,e)?!1:si.test(e)?Ma[e]=!0:(ka[e]=!0,!1)}function ja(e,a,r){if(_r(a))if(r===null)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var l=a.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(a);return}}e.setAttribute(a,""+r)}}function za(e,a,r){if(r===null)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttribute(a,""+r)}}function ke(e,a,r,l){if(l===null)e.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(a,r,""+l)}}function Je(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jn(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function li(e,a,r){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,a);if(!e.hasOwnProperty(a)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var c=l.get,f=l.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return c.call(this)},set:function(v){r=""+v,f.call(this,v)}}),Object.defineProperty(e,a,{enumerable:l.enumerable}),{getValue:function(){return r},setValue:function(v){r=""+v},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function Ji(e){if(!e._valueTracker){var a=jn(e)?"checked":"value";e._valueTracker=li(e,a,""+e[a])}}function dt(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var r=a.getValue(),l="";return e&&(l=jn(e)?e.checked?"true":"false":e.value),e=l,e!==r?(a.setValue(e),!0):!1}function zn(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 To=/[\n"\\]/g;function rn(e){return e.replace(To,function(a){return"\\"+a.charCo
vendor: 4,418 bytes, line 25
25deAt(0).toString(16)+" "})}function _c(e,a,r,l,c,f,v,w){e.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.type=v:e.removeAttribute("type"),a!=null?v==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+Je(a)):e.value!==""+Je(a)&&(e.value=""+Je(a)):v!=="submit"&&v!=="reset"||e.removeAttribute("value"),a!=null?Nc(e,v,Je(a)):r!=null?Nc(e,v,Je(r)):l!=null&&e.removeAttribute("value"),c==null&&f!=null&&(e.defaultChecked=!!f),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?e.name=""+Je(w):e.removeAttribute("name")}function dp(e,a,r,l,c,f,v,w){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.type=f),a!=null||r!=null){if(!(f!=="submit"&&f!=="reset"||a!=null)){Ji(e);return}r=r!=null?""+Je(r):"",a=a!=null?""+Je(a):r,w||a===e.value||(e.value=a),e.defaultValue=a}l=l??c,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=w?e.checked:!!l,e.defaultChecked=!!l,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.name=v),Ji(e)}function Nc(e,a,r){a==="number"&&zn(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Nr(e,a,r,l){if(e=e.options,a){a={};for(var c=0;c<r.length;c++)a["$"+r[c]]=!0;for(r=0;r<e.length;r++)c=a.hasOwnProperty("$"+e[r].value),e[r].selected!==c&&(e[r].selected=c),c&&l&&(e[r].defaultSelected=!0)}else{for(r=""+Je(r),a=null,c=0;c<e.length;c++){if(e[c].value===r){e[c].selected=!0,l&&(e[c].defaultSelected=!0);return}a!==null||e[c].disabled||(a=e[c])}a!==null&&(a.selected=!0)}}function fp(e,a,r){if(a!=null&&(a=""+Je(a),a!==e.value&&(e.value=a),r==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=r!=null?""+Je(r):""}function hp(e,a,r,l){if(a==null){if(l!=null){if(r!=null)throw Error(s(92));if(Le(l)){if(1<l.length)throw Error(s(93));l=l[0]}r=l}r==null&&(r=""),a=r}r=Je(a),e.defaultValue=r,l=e.textContent,l===r&&l!==""&&l!==null&&(e.value=l),Ji(e)}function Dr(e,a){if(a){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=a;return}}e.textContent=a}var hS=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 mp(e,a,r){var l=a.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?l?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":l?e.setProperty(a,r):typeof r!="number"||r===0||hS.has(a)?a==="float"?e.cssFloat=r:e[a]=(""+r).trim():e[a]=r+"px"}function pp(e,a,r){if(a!=null&&typeof a!="object")throw Error(s(62));if(e=e.style,r!=null){for(var l in r)!r.hasOwnProperty(l)||a!=null&&a.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var c in a)l=a[c],a.hasOwnProperty(c)&&r[c]!==l&&mp(e,c,l)}else for(var f in a)a.hasOwnProperty(f)&&mp(e,f,a[f])}function Dc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var mS=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
25dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),pS=/^[\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 Eo(e){return pS.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ca(){}var Oc=null;function Lc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Or=null,Lr=null;function gp(e){var a=ze(e);if(a&&(e=a.stateNode)){var r=e[ae]||null;e:switch(e=a.stateNode,a.type){case"input":if(_c(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),a=r.name,r.type==="radio"&&a!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+rn(""+a)+'"][type="radio"]'),a=0;a<r.length;a++){var l=r[a];if(l!==e&&l.form===e.form){var c=l[ae]||null;if(!c)throw Error(s(90));_c(l,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(a=0;a<r.length;a++)l=r[a],l.form===e.form&&dt(l)}break e;case"textarea":fp(e,r.value,r.defaultValue);break e;case"select":a=r.value,a!=null&&Nr(e,!!r.multiple,a,!1)}}}var Bc=!1;function yp(e,a,r){if(Bc)return e(a,r);Bc=!0;try{var l=e(a);return l}finally{if(Bc=!1,(Or!==null||Lr!==null)&&(du(),Or&&(a=Or,e=Lr,Lr=Or=null,gp(a),e)))for(a=0;a<e.length;a++)gp(e[a])}}function qs(e,a){var r=e.stateNode;if(r===null)return null;var l=r[ae]||null;if(l===null)return null;r=l[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(s(231,a,typeof r));return r}var Ra=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vc=!1;if(Ra)try{var Ys={};Object.defineProperty(Ys,"passive",{get:function(){Vc=!0}}),window.addEventListener("test",Ys,Ys),window.removeEventListener("test",Ys,Ys)}catch{Vc=!1}var oi=null,Uc=null,Ao=null;function vp(){if(Ao)return Ao;var e,a=Uc,r=a.length,l,c="value"in oi?oi.value:oi.textContent,f=c.length;for(e=0;e<r&&a[e]===c[e];e++);var v=r-e;for(l=1;l<=v&&a[r-l]===c[f-l];l++);return Ao=c.slice(e,1<l?1-l:void 0)}function ko(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function Mo(){return!0}function bp(){return!1}function sn(e){function a(r,l,c,f,v){this._reactName=r,this._targetInst=c,this.type=l,this.nativeEvent=f,this.target=v,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(r=e[w],this[w]=r?r(f):f[w]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Mo:bp,this.isPropagationStopped=bp,this}return b(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Mo)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Mo)},persist:function(){},isPersistent:Mo}),a}var Ii={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},jo=sn(Ii),Fs=b({},Ii,{view:0,detail:0}),gS=sn(Fs),Hc,Gc,Ps,zo=b({},Fs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zc,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!==Ps&&(Ps&&e.type==="mousemove"?(Hc=e.screenX-Ps.screenX,Gc=e.screenY-Ps.screenY):Gc=Hc=0,Ps=e),Hc)},movementY:function(e){return"movementY"in e?e.movementY:Gc}}),xp=sn(zo),yS=b({},zo,{dataTransfer:0}),vS=sn(yS),bS=b({},Fs,{relatedTarget:0}),Kc=sn(bS),xS=b({},Ii,{animationName:0,elapsedTime:0,pseudoElement:0}),wS=sn(xS),SS=b({},Ii,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),TS=sn(SS),ES=b({},Ii,{data:0}),wp=sn(ES),AS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kS={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"},MS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jS(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=MS[e])?!!a[e]:!1}
vendor: 5,306 bytes, line 25
25function Zc(){return jS}var zS=b({},Fs,{key:function(e){if(e.key){var a=AS[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=ko(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?kS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zc,charCode:function(e){return e.type==="keypress"?ko(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ko(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),CS=sn(zS),RS=b({},zo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Sp=sn(RS),_S=b({},Fs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zc}),NS=sn(_S),DS=b({},Ii,{propertyName:0,elapsedTime:0,pseudoElement:0}),OS=sn(DS),LS=b({},zo,{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}),BS=sn(LS),VS=b({},Ii,{newState:0,oldState:0}),US=sn(VS),HS=[9,13,27,32],qc=Ra&&"CompositionEvent"in window,Xs=null;Ra&&"documentMode"in document&&(Xs=document.documentMode);var GS=Ra&&"TextEvent"in window&&!Xs,Tp=Ra&&(!qc||Xs&&8<Xs&&11>=Xs),Ep=" ",Ap=!1;function kp(e,a){switch(e){case"keyup":return HS.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Br=!1;function KS(e,a){switch(e){case"compositionend":return Mp(a);case"keypress":return a.which!==32?null:(Ap=!0,Ep);case"textInput":return e=a.data,e===Ep&&Ap?null:e;default:return null}}function ZS(e,a){if(Br)return e==="compositionend"||!qc&&kp(e,a)?(e=vp(),Ao=Uc=oi=null,Br=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Tp&&a.locale!=="ko"?null:a.data;default:return null}}var qS={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 jp(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!qS[e.type]:a==="textarea"}function zp(e,a,r,l){Or?Lr?Lr.push(l):Lr=[l]:Or=l,a=vu(a,"onChange"),0<a.length&&(r=new jo("onChange","change",null,r,l),e.push({event:r,listeners:a}))}var Qs=null,$s=null;function YS(e){dv(e,0)}function Co(e){var a=It(e);if(dt(a))return e}function Cp(e,a){if(e==="change")return a}var Rp=!1;if(Ra){var Yc;if(Ra){var Fc="oninput"in document;if(!Fc){var _p=document.createElement("div");_p.setAttribute("oninput","return;"),Fc=typeof _p.oninput=="function"}Yc=Fc}else Yc=!1;Rp=Yc&&(!document.documentMode||9<document.documentMode)}function Np(){Qs&&(Qs.detachEvent("onpropertychange",Dp),$s=Qs=null)}function Dp(e){if(e.propertyName==="value"&&Co($s)){var a=[];zp(a,$s,e,Lc(e)),yp(YS,a)}}function FS(e,a,r){e==="focusin"?(Np(),Qs=a,$s=r,Qs.attachEvent("onpropertychange",Dp)):e==="focusout"&&Np()}function PS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Co($s)}function XS(e,a){if(e==="click")return Co(a)}function QS(e,a){if(e==="input"||e==="change")return Co(a)}function $S(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var hn=typeof Object.is=="function"?Object.is:$S;function Js(e,a){if(hn(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var r=Object.keys(e),l=Object.keys(a);if(r.length!==l.length)return!1;for(l=0;l<r.length;l++){var c=r[l];if(!Hs.call(a,c)||!hn(e[c],a[c]))return!1}return!0}function Op(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lp(e,a){var r=Op(e);e=0;for(var l;r;){if(r.nodeType===3){if(l=e+r.textContent.length,e<=a&&l>=a)return{node:r,offset:a-e};e=l}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Op(r)}}function Bp(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?Bp(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function Vp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=zn(e.document);a instanceof e.HTMLIFrameElement;){try{var r=typeof a.contentWindow.location.href=="string"}catch{r=!1}if(r)e=a.contentWindow;else break;a=zn(e.document)}return a}function Pc(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}var JS=Ra&&"documentMode"in document&&11>=document.documentMode,Vr=null,Xc=null,Is=null,Qc=!1;function Up(e,a,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Qc||Vr==null||Vr!==zn(l)||(l=Vr,"selectionStart"in l&&Pc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focu
vendor: 19,011 bytes, line 25
25sNode:l.focusNode,focusOffset:l.focusOffset}),Is&&Js(Is,l)||(Is=l,l=vu(Xc,"onSelect"),0<l.length&&(a=new jo("onSelect","select",null,a,r),e.push({event:a,listeners:l}),a.target=Vr)))}function Wi(e,a){var r={};return r[e.toLowerCase()]=a.toLowerCase(),r["Webkit"+e]="webkit"+a,r["Moz"+e]="moz"+a,r}var Ur={animationend:Wi("Animation","AnimationEnd"),animationiteration:Wi("Animation","AnimationIteration"),animationstart:Wi("Animation","AnimationStart"),transitionrun:Wi("Transition","TransitionRun"),transitionstart:Wi("Transition","TransitionStart"),transitioncancel:Wi("Transition","TransitionCancel"),transitionend:Wi("Transition","TransitionEnd")},$c={},Hp={};Ra&&(Hp=document.createElement("div").style,"AnimationEvent"in window||(delete Ur.animationend.animation,delete Ur.animationiteration.animation,delete Ur.animationstart.animation),"TransitionEvent"in window||delete Ur.transitionend.transition);function er(e){if($c[e])return $c[e];if(!Ur[e])return e;var a=Ur[e],r;for(r in a)if(a.hasOwnProperty(r)&&r in Hp)return $c[e]=a[r];return e}var Gp=er("animationend"),Kp=er("animationiteration"),Zp=er("animationstart"),IS=er("transitionrun"),WS=er("transitionstart"),eT=er("transitioncancel"),qp=er("transitionend"),Yp=new Map,Jc="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(" ");Jc.push("scrollEnd");function Xn(e,a){Yp.set(e,a),Mn(a,[e])}var Ro=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Cn=[],Hr=0,Ic=0;function _o(){for(var e=Hr,a=Ic=Hr=0;a<e;){var r=Cn[a];Cn[a++]=null;var l=Cn[a];Cn[a++]=null;var c=Cn[a];Cn[a++]=null;var f=Cn[a];if(Cn[a++]=null,l!==null&&c!==null){var v=l.pending;v===null?c.next=c:(c.next=v.next,v.next=c),l.pending=c}f!==0&&Fp(r,c,f)}}function No(e,a,r,l){Cn[Hr++]=e,Cn[Hr++]=a,Cn[Hr++]=r,Cn[Hr++]=l,Ic|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Wc(e,a,r,l){return No(e,a,r,l),Do(e)}function tr(e,a){return No(e,null,null,a),Do(e)}function Fp(e,a,r){e.lanes|=r;var l=e.alternate;l!==null&&(l.lanes|=r);for(var c=!1,f=e.return;f!==null;)f.childLanes|=r,l=f.alternate,l!==null&&(l.childLanes|=r),f.tag===22&&(e=f.stateNode,e===null||e._visibility&1||(c=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,c&&a!==null&&(c=31-Yt(r),e=f.hiddenUpdates,l=e[c],l===null?e[c]=[a]:l.push(a),a.lane=r|536870912),f):null}function Do(e){if(50<xl)throw xl=0,uf=null,Error(s(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var Gr={};function tT(e,a,r,l){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mn(e,a,r,l){return new tT(e,a,r,l)}function ed(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _a(e,a){var r=e.alternate;return r===null?(r=mn(e.tag,a,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=a,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,a=e.dependencies,r.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function Pp(e,a){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,a=r.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),e}function Oo(e,a,r,l,c,f){var v=0;if(l=e,typeof e=="function")ed(e)&&(v=1);else if(typeof e=="string")v=s2(e,r,We.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case oe:return e=mn(31,r,a,c),e.elementType=oe,e.lanes=f,e;case C:return nr(r.children,c,f,a);case z:v=8,c|=24;break;case L:return e=mn(12,r,a,c|2),e.elementType=L,e.lanes=f,e;case Q:return e=mn(13,r,a,c),e.elementType=Q,e.lanes=f,e;case me:return e=mn(19,r,a,c),e.elementType=me,e.lanes=f,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case G:v=10;break e;case V:v=9;break e;case F:v=11;break e;case te:v=14;break e;case R:v=16,l=null;break e}v=29,r=Error(s(130,e===null?"null":typeof e,"")),l=null}return a=mn(v,r,a,c),a.elementType=e,a.type=l,a.lanes=f,a}function nr(e,a,r,l){return e=mn(7,e,l,a),e.lanes=r,e}function td(e,a,r){return e=mn(6,e,null,a),e.lanes=r,e}function Xp(e){var a=mn(18,null,null,0);return a.stateNode=e,a}function nd(e,a,r){return a=mn(4,e.children!==null?e.children:[],e.key,a),a.lanes=r,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}var Qp=new WeakMap;function Rn(e,a){if(typeof e=="object"&&e!==null){var r=Qp.get(e);return r!==void 0?r:(a={value:e,source:a,stack:yo(a)},Qp.set(e,a),a)}return{value:e,source:a,stack:yo(a)}}var Kr=[],Zr=0,Lo=null,Ws=0,_n=[],Nn=0,ui=null,ra=1,sa="";function Na(e,a){Kr[Zr++]=Ws,Kr[Zr++]=Lo,Lo=e,Ws=a}function $p(e,a,r){_n[Nn++]=ra,_n[Nn++]=sa,_n[Nn++]=ui,ui=e;var l=ra;e=sa;var c=32-Yt(l)-1;l&=~(1<<c),r+=1;var f=32-Yt(a)+c;if(30<f){var v=c-c%5;f=(l&(1<<v)-1).toString(32),l>>=v,c-=v,ra=1<<32-Yt(a)+c|r<<c|l,sa=f+e}else ra=1<<f|r<<c|l,sa=e}function ad(e){e.return!==null&&(Na(e,1),$p(e,1,0))}function id(e){for(;e===Lo;)Lo=Kr[--Zr],Kr[Zr]=null,Ws=Kr[--Zr],Kr[Zr]=null;for(;e===ui;)ui=_n[--Nn],_n[Nn]=null,sa=_n[--Nn],_n[Nn]=null,ra=_n[--Nn],_n[Nn]=null}function Jp(e,a){_n[Nn++]=ra,_n[Nn++]=sa,_n[Nn++]=ui,ra=a.id,sa=a.overflow,ui=e}var Bt=null,ft=null,Ze=!1,ci=null,Dn=!1,rd=Error(s(519));function di(e){var a=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw el(Rn(a,e)),rd}function Ip(e){var a=e.stateNode,r=e.type,l=e.memoizedProps;switch(a[ne]=e,a[ae]=l,r){case"dialog":He("cancel",a),He("close",a);break;case"iframe":case"object":case"embed":He("load",a);break;case"video":case"audio":for(r=0;r<Sl.length;r++)He(Sl[r],a);break;case"source":He("error",a);break;case"img":case"image":case"link":He("error",a),He("load",a);break;case"details":He("toggle",a);break;case"input":He("invalid",a),dp(a,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":He("invalid",a);break;case"textarea":He("invalid",a),hp(a,l.value,l.defaultValue,l.children)}r=l.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||a.textContent===""+r||l.suppressHydrationWarning===!0||pv(a.textContent,r)?(l.popover!=null&&(He("beforetoggle",a),He("toggle",a)),l.onScroll!=null&&He("scroll",a),l.onScrollEnd!=null&&He("scrollend",a),l.onClick!=null&&(a.onclick=Ca),a=!0):a=!1,a||di(e,!0)}function Wp(e){for(Bt=e.return;Bt;)switch(Bt.tag){case 5:case 31:case 13:Dn=!1;return;case 27:case 3:Dn=!0;return;default:Bt=Bt.return}}function qr(e){if(e!==Bt)return!1;if(!Ze)return Wp(e),Ze=!0,!1;var a=e.tag,r;if((r=a!==3&&a!==27)&&((r=a===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Ef(e.type,e.memoizedProps)),r=!r),r&&ft&&di(e),Wp(e),a===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));ft=Ev(e)}else if(a===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));ft=Ev(e)}else a===27?(a=ft,Ai(e.type)?(e=zf,zf=null,ft=e):ft=a):ft=Bt?Ln(e.stateNode.nextSibling):null;return!0}function ar(){ft=Bt=null,Ze=!1}function sd(){var e=ci;return e!==null&&(cn===null?cn=e:cn.push.apply(cn,e),ci=null),e}function el(e){ci===null?ci=[e]:ci.push(e)}var ld=be(null),ir=null,Da=null;function fi(e,a,r){Ae(ld,a._currentValue),a._currentValue=r}function Oa(e){e._currentValue=ld.current,Re(ld)}function od(e,a,r){for(;e!==null;){var l=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,l!==null&&(l.childLanes|=a)):l!==null&&(l.childLanes&a)!==a&&(l.childLanes|=a),e===r)break;e=e.return}}function ud(e,a,r,l){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var f=c.dependencies;if(f!==null){var v=c.child;f=f.firstContext;e:for(;f!==null;){var w=f;f=c;for(var A=0;A<a.length;A++)if(w.context===a[A]){f.lanes|=r,w=f.alternate,w!==null&&(w.lanes|=r),od(f.return,r,e),l||(v=null);break e}f=w.next}}else if(c.tag===18){if(v=c.return,v===null)throw Error(s(341));v.lanes|=r,f=v.alternate,f!==null&&(f.lanes|=r),od(v,r,e),v=null}else v=c.child;if(v!==null)v.return=c;else for(v=c;v!==null;){if(v===e){v=null;break}if(c=v.sibling,c!==null){c.return=v.return,v=c;break}v=v.return}c=v}}function Yr(e,a,r,l){e=null;for(var c=a,f=!1;c!==null;){if(!f){if((c.flags&524288)!==0)f=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var v=c.alternate;if(v===null)throw Error(s(387));if(v=v.memoizedProps,v!==null){var w=c.type;hn(c.pendingProps.value,v.value)||(e!==null?e.push(w):e=[w])}}else if(c===Qt.current){if(v=c.alternate,v===null)throw Error(s(387));v.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Ml):e=[Ml])}c=c.return}e!==null&&ud(a,e,r,l),a.flags|=262144}function Bo(e){for(e=e.firstContext;e!==null;){if(!hn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rr(e){ir=e,Da=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Vt(e){return eg(ir,e)}function Vo(e,a){return ir===null&&rr(e),eg(e,a)}function eg(e,a){var r=a._currentValue;if(a={context:a,memoizedValue:r,next:null},Da===null){if(e===null)throw Error(s(308));Da=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else Da=Da.next=a;return r}var nT=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(r,l){e.push(l)}};this.abort=function(){a.aborted=!0,e.forEach(function(r){return r()})}},aT=t.unstable_scheduleCallback,iT=t.unstable_NormalPriority,Et={$$typeof:G,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function cd(){return{controller:new nT,data:new Map,refCount:0}}function tl(e){e.refCount--,e.refCount===0&&aT(iT,function(){e.controller.abort()})}var nl=null,dd=0,Fr=0,Pr=null;function rT(e,a){if(nl===null){var r=nl=[];dd=0,Fr=pf(),Pr={status:"pending",value:void 0,then:function(l){r.push(l)}}}return dd++,a.then(tg,tg),a}function tg(){if(--dd===0&&nl!==null){Pr!==null&&(Pr.status="fulfilled");var e=nl;nl=null,Fr=0,Pr=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function sT(e,a){var r=[],l={status:"pending",value:null,reason:null,then:function(c){r.push(c)}};return e.then(function(){l.status="fulfilled",l.value=a;for(var c=0;c<r.length;c++)(0,r[c])(a)},function(c){for(l.status="rejected",l.reason=c,c=0;c<r.length;c++)(0,r[c])(void 0)}),l}var ng=U.S;U.S=function(e,a){Uy=$t(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&rT(e,a),ng!==null&&ng(e,a)};var sr=be(null);function fd(){var e=sr.current;return e!==null?e:rt.pooledCache}function Uo(e,a){a===null?Ae(sr,sr.current):Ae(sr,a.pool)}function ag(){var e=fd();return e===null?null:{parent:Et._currentValue,pool:e}}var Xr=Error(s(460)),hd=Error(s(474)),Ho=Error(s(542)),Go={then:function(){}};function ig(e){return e=e.status,e==="fulfilled"||e==="rejected"}function rg(e,a,r){switch(r=e[r],r===void 0?e.push(a):r!==a&&(a.then(Ca,Ca),a=r),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,lg(e),e;default:if(typeof a.status=="string")a.then(Ca,Ca);else{if(e=rt,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=a,e.status="pending",e.then(function(l){if(a.status==="pending"){var c=a;c.status="fulfilled",c.value=l}},function(l){if(a.status==="pending"){var c=a;c.status="rejected",c.reason=l}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,lg(e),e}throw or=a,Xr}}function lr(e){try{var a=e._init;return a(e._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(or=r,Xr):r}}var or=null;function sg(){if(or===null)throw Error(s(459));var e=or;return or=null,e}function lg(e){if(e===Xr||e===Ho)throw Error(s(483))}var Qr=null,al=0;function Ko(e){var a=al;return al+=1,Qr===null&&(Qr=[]),rg(Qr,e,a)}function il(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function Zo(e,a){throw a.$$typeof===x?Error(s(525)):(e=Object.prototype.toString.call(a),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function og(e){function a(_,M){if(e){var D=_.deletions;D===null?(_.deletions=[M],_.flags|=16):D.push(M)}}function r(_,M){if(!e)return null;for(;M!==null;)a(_,M),M=M.sibling;return null}function l(_){for(var M=new Map;_!==null;)_.key!==null?M.set(_.key,_):M.set(_.index,_),_=_.sibling;return M}function c(_,M){return _=_a(_,M),_.index=0,_.sibling=null,_}function f(_,M,D){return _.index=D,e?(D=_.alternate,D!==null?(D=D.index,D<M?(_.flags|=67108866,M):D):(_.flags|=67108866,M)):(_.flags|=1048576,M)}function v(_){return e&&_.alternate===null&&(_.flags|=67108866),_}function w(_,M,D,Z){return M===null||M.tag!==6?(M=td(D,_.mode,Z),M.return=_,M):(M=c(M,D),M.return=_,M)}function A(_,M,D,Z){var ge=D.type;return ge===C?K(_,M,D.props.children,Z,D.key):M!==null&&(M.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===R&&lr(ge)===M.type)?(M=c(M,D.props),il(M,D),M.return=_,M):(M=Oo(D.type,D.key,D.props,null,_.mode,Z),il(M,D),M.return=_,M)}function O(_,M,D,Z){return M===null||M.tag!==4||M.stateNode.containerInfo!==D.containerInfo||M.stateNode.implementation!==D.implementation?(M=nd(D,_.mode,Z),M.return=_,M):(M=c(M,D.children||[]),M.return=_,M)}function K(_,M,D,Z,ge){return M===null||M.tag!==7?(M=nr(D,_.mode,Z,ge),M.return=_,M):(M=c(M,D),M.return=_,M)}function q(_,M,D){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=td(""+M,_.mode,D),M.return=_,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case S:return D=Oo(M.type,M.key,M.props,null,_.mode,D),il(D,M),D.return=_,D;case T:return M=nd(M,_.mode,D),M.return=_,M;case R:return M=lr(M),q(_,M,D)}if(Le(M)||ee(M))return M=nr(M,_.mode,D,null),M.return=_,M;if(typeof M.then=="function")return q(_,Ko(M),D);if(M.$$typeof===G)return q(_,Vo(_,M),D);Zo(_,M)}return null}function B(_,M,D,Z){var ge=M!==null?M.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return ge!==null?null:w(_,M,""+D,Z);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case S:return D.key===ge?A(_,M,D,Z):null;case T:return D.key===ge?O(_,M,D,Z):null;case R:return D=lr(D),B(_,M,D,Z)}if(Le(D)||ee(D))return ge!==null?null:K(_,M,D,Z,null);if(typeof D.then=="function")return B(_,M,Ko(D),Z);if(D.$$typeof===G)return B(_,M,Vo(_,D),Z);Zo(_,D)}return null}function H(_,M,D,Z,ge){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return _=_.get(D)||null,w(M,_,""+Z,ge);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case S:return _=_.get(Z.key===null?D:Z.key)||null,A(M,_,Z,ge);case T:return _=_.get(Z.key===null?D:Z.key)||null,O(M,_,Z,ge);case R:return Z=lr(Z),H(_,M,D,Z,ge)}if(Le(Z)||ee(Z))return _=_.get(D)||null,K(M,_,Z,ge,null);if(typeof Z.then=="function")return H(_,M,D,Ko(Z),ge);if(Z.$$typeof===G)return H(_,M,D,Vo(M,Z),ge);Zo(M,Z)}return null}function le(_,M,D,Z){for(var ge=null,Fe=null,fe=M,_e=M=0,Ke=null;fe!==null&&_e<D.length;_e++){fe.index>_e?(Ke=fe,fe=null):Ke=fe.sibling;var Pe=B(_,fe,D[_e],Z);if(Pe===null){fe===null&&(fe=Ke);break}e&&fe&&Pe.alternate===null&&a(_,fe),M=f(Pe,M,_e),Fe===null?ge=Pe:Fe.sibling=Pe,Fe=Pe,fe=Ke}if(_e===D.length)return r(_,fe),Ze&&Na(_,_e),ge;if(fe===null){for(;_e<D.length;_e++)fe=q(_,D[_e],Z),fe!==null&&(M=f(fe,M,_e),Fe===null?ge=fe:Fe.sibling=fe,Fe=fe);return Ze&&Na(_,_e),ge}for(fe=l(fe);_e<D.length;_e++)Ke=H(fe,_,_e,D[_e],Z),Ke!==null&&(e&&Ke.alternate!==null&&fe.delete(Ke.key===null?_e:Ke.key),M=f(Ke,M,_e),Fe===null?ge=Ke:Fe.sibling=Ke,Fe=Ke);return e&&fe.forEach(function(Ci){return a(_,Ci)}),Ze&&Na(_,_e),ge}function Se(_,M,D,Z){if(D==null)throw Error(s(151));for(var ge=null,Fe=null,fe=M,_e=M=0,Ke=null,Pe=D.next();fe!==null&&!Pe.done;_e++,Pe=D.next()){fe.index>_e?(Ke=fe,fe=null):Ke=fe.sibling;var Ci=B(_,fe,Pe.value,Z);if(Ci===null){fe===null&&(fe=Ke);break}e&&fe&&Ci.alternate===null&&a(_,fe),M=f(Ci,M,_e),Fe===null?ge=Ci:Fe.sibling=Ci,Fe=Ci,fe=Ke}if(Pe.done)return r(_,fe),Ze&&Na(_,_e),ge;if(fe===null){for(;!Pe.done;_e++,Pe=D.next())Pe=q(_,Pe.value,Z),Pe!==null&&(M=f(Pe,M,_e),Fe===null?ge=Pe:Fe.sibling=Pe,Fe=Pe);return Ze&&Na(_,_e),ge}for(fe=l(fe);!Pe.done;_e++,Pe=D.next())Pe=H(fe,_,_e,Pe.value,Z),Pe!==null&&(e&&Pe.alternate!==null&&fe.delete(Pe.key===null?_e:Pe.key),M=f(Pe,M,_e),Fe===null?ge=Pe:Fe.sibling=Pe,Fe=Pe);return e&&fe.forEach(function(y2){return a(_,y2)}),Ze&&Na(_,_e),ge}function it(_,M,D,Z){if(typeof D=="object"&&D!==null&&D.type===C&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case S:e:{for(var ge=D.key;M!==null;){if(M.key===ge){if(ge=D.type,ge===C){if(M.tag===7){r(_,M.sibling),Z=c(M,D.props.children),Z.return=_,_=Z;break e}}else if(M.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===R&&lr(ge)===M.type){r(_,M.sibling),Z=c(M,D.props),il(Z,D),Z.return=_,_=Z;break e}r(_,M);break}else a(_,M);M=M.sibling}D.type===C?(Z=nr(D.props.children,_.mode,Z,D.key),Z.return=_,_=Z):(Z=Oo(D.type,D.key,D.props,null,_.mode,Z),il(Z,D),Z.return=_,_=Z)}return v(_);case T:e:{for(ge=D.key;M!==null;){if(M.key===ge)if(M.tag===4&&M.stateNode.containerInfo===D.containerInfo&&M.stateNode.implementation===D.implementation){r(_,M.sibling),Z=c(M,D.children||[]),Z.return=_,_=Z;break e}else{r(_,M);break}else a(_,M);M=M.sibling}Z=nd(D,_.mode,Z),Z.return=_,_=Z}return v(_);case R:return D=lr(D),it(_,M,D,Z)}if(Le(D))return le(_,M,D,Z);if(ee(D)){if(ge=ee(D),typeof ge!="function")throw Error(s(150));return D=ge.call(D),Se(_,M,D,Z)}if(typeof D.then=="function")return it(_,M,Ko(D),Z);if(D.$$typeof===G)return it(_,M,Vo(_,D),Z);Zo(_,D)}
vendor: 4,920 bytes, line 25
25return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,M!==null&&M.tag===6?(r(_,M.sibling),Z=c(M,D),Z.return=_,_=Z):(r(_,M),Z=td(D,_.mode,Z),Z.return=_,_=Z),v(_)):r(_,M)}return function(_,M,D,Z){try{al=0;var ge=it(_,M,D,Z);return Qr=null,ge}catch(fe){if(fe===Xr||fe===Ho)throw fe;var Fe=mn(29,fe,null,_.mode);return Fe.lanes=Z,Fe.return=_,Fe}finally{}}}var ur=og(!0),ug=og(!1),hi=!1;function md(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function pd(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function mi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function pi(e,a,r){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Ie&2)!==0){var c=l.pending;return c===null?a.next=a:(a.next=c.next,c.next=a),l.pending=a,a=Do(e),Fp(e,null,r),a}return No(e,l,a,r),Do(e)}function rl(e,a,r){if(a=a.updateQueue,a!==null&&(a=a.shared,(r&4194048)!==0)){var l=a.lanes;l&=e.pendingLanes,r|=l,a.lanes=r,So(e,r)}}function gd(e,a){var r=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var c=null,f=null;if(r=r.firstBaseUpdate,r!==null){do{var v={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};f===null?c=f=v:f=f.next=v,r=r.next}while(r!==null);f===null?c=f=a:f=f.next=a}else c=f=a;r={baseState:l.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:l.shared,callbacks:l.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=a:e.next=a,r.lastBaseUpdate=a}var yd=!1;function sl(){if(yd){var e=Pr;if(e!==null)throw e}}function ll(e,a,r,l){yd=!1;var c=e.updateQueue;hi=!1;var f=c.firstBaseUpdate,v=c.lastBaseUpdate,w=c.shared.pending;if(w!==null){c.shared.pending=null;var A=w,O=A.next;A.next=null,v===null?f=O:v.next=O,v=A;var K=e.alternate;K!==null&&(K=K.updateQueue,w=K.lastBaseUpdate,w!==v&&(w===null?K.firstBaseUpdate=O:w.next=O,K.lastBaseUpdate=A))}if(f!==null){var q=c.baseState;v=0,K=O=A=null,w=f;do{var B=w.lane&-536870913,H=B!==w.lane;if(H?(Ge&B)===B:(l&B)===B){B!==0&&B===Fr&&(yd=!0),K!==null&&(K=K.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});e:{var le=e,Se=w;B=a;var it=r;switch(Se.tag){case 1:if(le=Se.payload,typeof le=="function"){q=le.call(it,q,B);break e}q=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=Se.payload,B=typeof le=="function"?le.call(it,q,B):le,B==null)break e;q=b({},q,B);break e;case 2:hi=!0}}B=w.callback,B!==null&&(e.flags|=64,H&&(e.flags|=8192),H=c.callbacks,H===null?c.callbacks=[B]:H.push(B))}else H={lane:B,tag:w.tag,payload:w.payload,callback:w.callback,next:null},K===null?(O=K=H,A=q):K=K.next=H,v|=B;if(w=w.next,w===null){if(w=c.shared.pending,w===null)break;H=w,w=H.next,H.next=null,c.lastBaseUpdate=H,c.shared.pending=null}}while(!0);K===null&&(A=q),c.baseState=A,c.firstBaseUpdate=O,c.lastBaseUpdate=K,f===null&&(c.shared.lanes=0),xi|=v,e.lanes=v,e.memoizedState=q}}function cg(e,a){if(typeof e!="function")throw Error(s(191,e));e.call(a)}function dg(e,a){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)cg(r[e],a)}var $r=be(null),qo=be(0);function fg(e,a){e=qa,Ae(qo,e),Ae($r,a),qa=e|a.baseLanes}function vd(){Ae(qo,qa),Ae($r,$r.current)}function bd(){qa=qo.current,Re($r),Re(qo)}var pn=be(null),On=null;function gi(e){var a=e.alternate;Ae(St,St.current&1),Ae(pn,e),On===null&&(a===null||$r.current!==null||a.memoizedState!==null)&&(On=e)}function xd(e){Ae(St,St.current),Ae(pn,e),On===null&&(On=e)}function hg(e){e.tag===22?(Ae(St,St.current),Ae(pn,e),On===null&&(On=e)):yi()}function yi(){Ae(St,St.current),Ae(pn,pn.current)}function gn(e){Re(pn),On===e&&(On=null),Re(St)}var St=be(0);function Yo(e){for(var a=e;a!==null;){if(a.tag===13){var r=a.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Mf(r)||jf(r)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var La=0,Ce=null,nt=null,At=null,Fo=!1,Jr=!1,cr=!1,Po=0,ol=0,Ir=null,lT=0;function bt(){throw Error(s(321))}function wd(e,a){if(a===null)return!1;for(var r=0;r<a.length&&r<e.length;r++)if(!hn(e[r],a[r]))return!1;return!0}function Sd(e,a,r,l,c,f){return La=f,Ce=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,U.H=e===null||e.memoizedState===null?$g:Bd,cr=!1,f=r(l,c),cr=!1,Jr&&(f=pg(a,r,l,c)),mg(e),f}function mg(e){U.H=dl;var a=nt!==null&&nt.next!==null;if(La=0,At=nt=Ce=null,Fo=!1,ol=0,Ir=null,a)throw Error(s(300));
vendor: 19,998 bytes, line 25
25e===null||kt||(e=e.dependencies,e!==null&&Bo(e)&&(kt=!0))}function pg(e,a,r,l){Ce=e;var c=0;do{if(Jr&&(Ir=null),ol=0,Jr=!1,25<=c)throw Error(s(301));if(c+=1,At=nt=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}U.H=Jg,f=a(r,l)}while(Jr);return f}function oT(){var e=U.H,a=e.useState()[0];return a=typeof a.then=="function"?ul(a):a,e=e.useState()[0],(nt!==null?nt.memoizedState:null)!==e&&(Ce.flags|=1024),a}function Td(){var e=Po!==0;return Po=0,e}function Ed(e,a,r){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~r}function Ad(e){if(Fo){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}Fo=!1}La=0,At=nt=Ce=null,Jr=!1,ol=Po=0,Ir=null}function Wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return At===null?Ce.memoizedState=At=e:At=At.next=e,At}function Tt(){if(nt===null){var e=Ce.alternate;e=e!==null?e.memoizedState:null}else e=nt.next;var a=At===null?Ce.memoizedState:At.next;if(a!==null)At=a,nt=e;else{if(e===null)throw Ce.alternate===null?Error(s(467)):Error(s(310));nt=e,e={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},At===null?Ce.memoizedState=At=e:At=At.next=e}return At}function Xo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ul(e){var a=ol;return ol+=1,Ir===null&&(Ir=[]),e=rg(Ir,e,a),a=Ce,(At===null?a.memoizedState:At.next)===null&&(a=a.alternate,U.H=a===null||a.memoizedState===null?$g:Bd),e}function Qo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ul(e);if(e.$$typeof===G)return Vt(e)}throw Error(s(438,String(e)))}function kd(e){var a=null,r=Ce.updateQueue;if(r!==null&&(a=r.memoCache),a==null){var l=Ce.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(a={data:l.data.map(function(c){return c.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),r===null&&(r=Xo(),Ce.updateQueue=r),r.memoCache=a,r=a.data[a.index],r===void 0)for(r=a.data[a.index]=Array(e),l=0;l<e;l++)r[l]=I;return a.index++,r}function Ba(e,a){return typeof a=="function"?a(e):a}function $o(e){var a=Tt();return Md(a,nt,e)}function Md(e,a,r){var l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=r;var c=e.baseQueue,f=l.pending;if(f!==null){if(c!==null){var v=c.next;c.next=f.next,f.next=v}a.baseQueue=c=f,l.pending=null}if(f=e.baseState,c===null)e.memoizedState=f;else{a=c.next;var w=v=null,A=null,O=a,K=!1;do{var q=O.lane&-536870913;if(q!==O.lane?(Ge&q)===q:(La&q)===q){var B=O.revertLane;if(B===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),q===Fr&&(K=!0);else if((La&B)===B){O=O.next,B===Fr&&(K=!0);continue}else q={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},A===null?(w=A=q,v=f):A=A.next=q,Ce.lanes|=B,xi|=B;q=O.action,cr&&r(f,q),f=O.hasEagerState?O.eagerState:r(f,q)}else B={lane:q,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},A===null?(w=A=B,v=f):A=A.next=B,Ce.lanes|=q,xi|=q;O=O.next}while(O!==null&&O!==a);if(A===null?v=f:A.next=w,!hn(f,e.memoizedState)&&(kt=!0,K&&(r=Pr,r!==null)))throw r;e.memoizedState=f,e.baseState=v,e.baseQueue=A,l.lastRenderedState=f}return c===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function jd(e){var a=Tt(),r=a.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=e;var l=r.dispatch,c=r.pending,f=a.memoizedState;if(c!==null){r.pending=null;var v=c=c.next;do f=e(f,v.action),v=v.next;while(v!==c);hn(f,a.memoizedState)||(kt=!0),a.memoizedState=f,a.baseQueue===null&&(a.baseState=f),r.lastRenderedState=f}return[f,l]}function gg(e,a,r){var l=Ce,c=Tt(),f=Ze;if(f){if(r===void 0)throw Error(s(407));r=r()}else r=a();var v=!hn((nt||c).memoizedState,r);if(v&&(c.memoizedState=r,kt=!0),c=c.queue,Rd(bg.bind(null,l,c,e),[e]),c.getSnapshot!==a||v||At!==null&&At.memoizedState.tag&1){if(l.flags|=2048,Wr(9,{destroy:void 0},vg.bind(null,l,c,r,a),null),rt===null)throw Error(s(349));f||(La&127)!==0||yg(l,a,r)}return r}function yg(e,a,r){e.flags|=16384,e={getSnapshot:a,value:r},a=Ce.updateQueue,a===null?(a=Xo(),Ce.updateQueue=a,a.stores=[e]):(r=a.stores,r===null?a.stores=[e]:r.push(e))}function vg(e,a,r,l){a.value=r,a.getSnapshot=l,xg(a)&&wg(e)}function bg(e,a,r){return r(function(){xg(a)&&wg(e)})}function xg(e){var a=e.getSnapshot;e=e.value;try{var r=a();return!hn(e,r)}catch{return!0}}function wg(e){var a=tr(e,2);a!==null&&dn(a,e,2)}function zd(e){var a=Wt();if(typeof e=="function"){var r=e;if(e=r(),cr){Dt(!0);try{r()}finally{Dt(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ba,lastRenderedState:e},a}function Sg(e,a,r,l){return e.baseState=r,Md(e,nt,typeof l=="function"?l:Ba)}function uT(e,a,r,l,c){if(Wo(e))throw Error(s(485));if(e=a.action,e!==null){var f={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){f.listeners.push(v)}};U.T!==null?r(!0):f.isTransition=!1,l(f),r=a.pending,r===null?(f.next=a.pending=f,Tg(a,f)):(f.next=r.next,a.pending=r.next=f)}}function Tg(e,a){var r=a.action,l=a.payload,c=e.state;if(a.isTransition){var f=U.T,v={};U.T=v;try{var w=r(c,l),A=U.S;A!==null&&A(v,w),Eg(e,a,w)}catch(O){Cd(e,a,O)}finally{f!==null&&v.types!==null&&(f.types=v.types),U.T=f}}else try{f=r(c,l),Eg(e,a,f)}catch(O){Cd(e,a,O)}}function Eg(e,a,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(l){Ag(e,a,l)},function(l){return Cd(e,a,l)}):Ag(e,a,r)}function Ag(e,a,r){a.status="fulfilled",a.value=r,kg(a),e.state=r,a=e.pending,a!==null&&(r=a.next,r===a?e.pending=null:(r=r.next,a.next=r,Tg(e,r)))}function Cd(e,a,r){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do a.status="rejected",a.reason=r,kg(a),a=a.next;while(a!==l)}e.action=null}function kg(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function Mg(e,a){return a}function jg(e,a){if(Ze){var r=rt.formState;if(r!==null){e:{var l=Ce;if(Ze){if(ft){t:{for(var c=ft,f=Dn;c.nodeType!==8;){if(!f){c=null;break t}if(c=Ln(c.nextSibling),c===null){c=null;break t}}f=c.data,c=f==="F!"||f==="F"?c:null}if(c){ft=Ln(c.nextSibling),l=c.data==="F!";break e}}di(l)}l=!1}l&&(a=r[0])}}return r=Wt(),r.memoizedState=r.baseState=a,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mg,lastRenderedState:a},r.queue=l,r=Pg.bind(null,Ce,l),l.dispatch=r,l=zd(!1),f=Ld.bind(null,Ce,!1,l.queue),l=Wt(),c={state:a,dispatch:null,action:e,pending:null},l.queue=c,r=uT.bind(null,Ce,c,f,r),c.dispatch=r,l.memoizedState=e,[a,r,!1]}function zg(e){var a=Tt();return Cg(a,nt,e)}function Cg(e,a,r){if(a=Md(e,a,Mg)[0],e=$o(Ba)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var l=ul(a)}catch(v){throw v===Xr?Ho:v}else l=a;a=Tt();var c=a.queue,f=c.dispatch;return r!==a.memoizedState&&(Ce.flags|=2048,Wr(9,{destroy:void 0},cT.bind(null,c,r),null)),[l,f,e]}function cT(e,a){e.action=a}function Rg(e){var a=Tt(),r=nt;if(r!==null)return Cg(a,r,e);Tt(),a=a.memoizedState,r=Tt();var l=r.queue.dispatch;return r.memoizedState=e,[a,l,!1]}function Wr(e,a,r,l){return e={tag:e,create:r,deps:l,inst:a,next:null},a=Ce.updateQueue,a===null&&(a=Xo(),Ce.updateQueue=a),r=a.lastEffect,r===null?a.lastEffect=e.next=e:(l=r.next,r.next=e,e.next=l,a.lastEffect=e),e}function _g(){return Tt().memoizedState}function Jo(e,a,r,l){var c=Wt();Ce.flags|=e,c.memoizedState=Wr(1|a,{destroy:void 0},r,l===void 0?null:l)}function Io(e,a,r,l){var c=Tt();l=l===void 0?null:l;var f=c.memoizedState.inst;nt!==null&&l!==null&&wd(l,nt.memoizedState.deps)?c.memoizedState=Wr(a,f,r,l):(Ce.flags|=e,c.memoizedState=Wr(1|a,f,r,l))}function Ng(e,a){Jo(8390656,8,e,a)}function Rd(e,a){Io(2048,8,e,a)}function dT(e){Ce.flags|=4;var a=Ce.updateQueue;if(a===null)a=Xo(),Ce.updateQueue=a,a.events=[e];else{var r=a.events;r===null?a.events=[e]:r.push(e)}}function Dg(e){var a=Tt().memoizedState;return dT({ref:a,nextImpl:e}),function(){if((Ie&2)!==0)throw Error(s(440));return a.impl.apply(void 0,arguments)}}function Og(e,a){return Io(4,2,e,a)}function Lg(e,a){return Io(4,4,e,a)}function Bg(e,a){if(typeof a=="function"){e=e();var r=a(e);return function(){typeof r=="function"?r():a(null)}}if(a!=null)return e=e(),a.current=e,function(){a.current=null}}function Vg(e,a,r){r=r!=null?r.concat([e]):null,Io(4,4,Bg.bind(null,a,e),r)}function _d(){}function Ug(e,a){var r=Tt();a=a===void 0?null:a;var l=r.memoizedState;return a!==null&&wd(a,l[1])?l[0]:(r.memoizedState=[e,a],e)}function Hg(e,a){var r=Tt();a=a===void 0?null:a;var l=r.memoizedState;if(a!==null&&wd(a,l[1]))return l[0];if(l=e(),cr){Dt(!0);try{e()}finally{Dt(!1)}}return r.memoizedState=[l,a],l}function Nd(e,a,r){return r===void 0||(La&1073741824)!==0&&(Ge&261930)===0?e.memoizedState=a:(e.memoizedState=r,e=Gy(),Ce.lanes|=e,xi|=e,r)}function Gg(e,a,r,l){return hn(r,a)?r:$r.current!==null?(e=Nd(e,r,l),hn(e,a)||(kt=!0),e):(La&42)===0||(La&1073741824)!==0&&(Ge&261930)===0?(kt=!0,e.memoizedState=r):(e=Gy(),Ce.lanes|=e,xi|=e,a)}function Kg(e,a,r,l,c){var f=P.p;P.p=f!==0&&8>f?f:8;var v=U.T,w={};U.T=w,Ld(e,!1,a,r);try{var A=c(),O=U.S;if(O!==null&&O(w,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var K=sT(A,l);cl(e,a,K,bn(e))}else cl(e,a,l,bn(e))}catch(q){cl(e,a,{then:function(){},status:"rejected",reason:q},bn())}finally{P.p=f,v!==null&&w.types!==null&&(v.types=w.types),U.T=v}}function fT(){}function Dd(e,a,r,l){if(e.tag!==5)throw Error(s(476));var c=Zg(e).queue;Kg(e,c,a,$,r===null?fT:function(){return qg(e),r(l)})}function Zg(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ba,lastRenderedState:$},next:null};var r={};return a.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ba,lastRenderedState:r},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function qg(e){var a=Zg(e);a.next===null&&(a=e.alternate.memoizedState),cl(e,a.next.queue,{},bn())}function Od(){return Vt(Ml)}function Yg(){return Tt().memoizedState}function Fg(){return Tt().memoizedState}function hT(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var r=bn();e=mi(r);var l=pi(a,e,r);l!==null&&(dn(l,a,r),rl(l,a,r)),a={cache:cd()},e.payload=a;return}a=a.return}}function mT(e,a,r){var l=bn();r={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Wo(e)?Xg(a,r):(r=Wc(e,a,r,l),r!==null&&(dn(r,e,l),Qg(r,a,l)))}function Pg(e,a,r){var l=bn();cl(e,a,r,l)}function cl(e,a,r,l){var c={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Wo(e))Xg(a,c);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=a.lastRenderedReducer,f!==null))try{var v=a.lastRenderedState,w=f(v,r);if(c.hasEagerState=!0,c.eagerState=w,hn(w,v))return No(e,a,c,0),rt===null&&_o(),!1}catch{}finally{}if(r=Wc(e,a,c,l),r!==null)return dn(r,e,l),Qg(r,a,l),!0}return!1}function Ld(e,a,r,l){if(l={lane:2,revertLane:pf(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Wo(e)){if(a)throw Error(s(479))}else a=Wc(e,r,l,2),a!==null&&dn(a,e,2)}function Wo(e){var a=e.alternate;return e===Ce||a!==null&&a===Ce}function Xg(e,a){Jr=Fo=!0;var r=e.pending;r===null?a.next=a:(a.next=r.next,r.next=a),e.pending=a}function Qg(e,a,r){if((r&4194048)!==0){var l=a.lanes;l&=e.pendingLanes,r|=l,a.lanes=r,So(e,r)}}var dl={readContext:Vt,use:Qo,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useLayoutEffect:bt,useInsertionEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useSyncExternalStore:bt,useId:bt,useHostTransitionStatus:bt,useFormState:bt,useActionState:bt,useOptimistic:bt,useMemoCache:bt,useCacheRefresh:bt};dl.useEffectEvent=bt;var $g={readContext:Vt,use:Qo,useCallback:function(e,a){return Wt().memoizedState=[e,a===void 0?null:a],e},useContext:Vt,useEffect:Ng,useImperativeHandle:function(e,a,r){r=r!=null?r.concat([e]):null,Jo(4194308,4,Bg.bind(null,a,e),r)},useLayoutEffect:function(e,a){return Jo(4194308,4,e,a)},useInsertionEffect:function(e,a){Jo(4,2,e,a)},useMemo:function(e,a){var r=Wt();a=a===void 0?null:a;var l=e();if(cr){Dt(!0);try{e()}finally{Dt(!1)}}return r.memoizedState=[l,a],l},useReducer:function(e,a,r){var l=Wt();if(r!==void 0){var c=r(a);if(cr){Dt(!0);try{r(a)}finally{Dt(!1)}}}else c=a;return l.memoizedState=l.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},l.queue=e,e=e.dispatch=mT.bind(null,Ce,e),[l.memoizedState,e]},useRef:function(e){var a=Wt();return e={current:e},a.memoizedState=e},useState:function(e){e=zd(e);var a=e.queue,r=Pg.bind(null,Ce,a);return a.dispatch=r,[e.memoizedState,r]},useDebugValue:_d,useDeferredValue:function(e,a){var r=Wt();return Nd(r,e,a)},useTransition:function(){var e=zd(!1);return e=Kg.bind(null,Ce,e.queue,!0,!1),Wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,r){var l=Ce,c=Wt();if(Ze){if(r===void 0)throw Error(s(407));r=r()}else{if(r=a(),rt===null)throw Error(s(349));(Ge&127)!==0||yg(l,a,r)}c.memoizedState=r;var f={value:r,getSnapshot:a};return c.queue=f,Ng(bg.bind(null,l,f,e),[e]),l.flags|=2048,Wr(9,{destroy:void 0},vg.bind(null,l,f,r,a),null),r},useId:function(){var e=Wt(),a=rt.identifierPrefix;if(Ze){var r=sa,l=ra;r=(l&~(1<<32-Yt(l)-1)).toString(32)+r,a="_"+a+"R_"+r,r=Po++,0<r&&(a+="H"+r.toString(32)),a+="_"}else r=lT++,a="_"+a+"r_"+r.toString(32)+"_";return e.memoizedState=a},useHostTransitionStatus:Od,useFormState:jg,useActionState:jg,useOptimistic:function(e){var a=Wt();a.memoizedState=a.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=r,a=Ld.bind(null,Ce,!0,r),r.dispatch=a,[e,a]},useMemoCache:kd,useCacheRefresh:function(){return Wt().memoizedState=hT.bind(null,Ce)},useEffectEvent:function(e){var a=Wt(),r={impl:e};return a.memoizedState=r,function(){if((Ie&2)!==0)throw Error(s(440));return r.impl.apply(void 0,arguments)}}},Bd={readContext:Vt,use:Qo,useCallback:Ug,useContext:Vt,useEffect:Rd,useImperativeHandle:Vg,useInsertionEffect:Og,useLayoutEffect:Lg,useMemo:Hg,useReducer:$o,useRef:_g,useState:function(){return $o(Ba)},useDebugValue:_d,useDeferredValue:function(e,a){var r=Tt();return Gg(r,nt.memoizedState,e,a)},useTransition:function(){var e=$o(Ba)[0],a=Tt().memoizedState;return[typeof e=="boolean"?e:ul(e),a]},useSyncExternalStore:gg,useId:Yg,useHostTransitionStatus:Od,useFormState:zg,useActionState:zg,useOptimistic:function(e,a){var r=Tt();return Sg(r,nt,e,a)},useMemoCache:kd,useCacheRefresh:Fg};Bd.useEffectEvent=Dg;var Jg={readContext:Vt,use:Qo,useCallback:Ug,useContext:Vt,useEffect:Rd,useImperativeHandle:Vg,useInsertionEffect:Og,useLayoutEffect:Lg,useMemo:Hg,useReducer:jd,useRef:_g,useState:function(){return jd(Ba)},useDebugValue:_d,useDeferredValue:function(e,a){var r=Tt();return nt===null?Nd(r,e,a):Gg(r,nt.memoizedState,e,a)},useTransition:function(){var e=jd(Ba)[0],a=Tt().memoizedState;return[typeof e=="boolean"?e:ul(e),a]},useSyncExternalStore:gg,useId:Yg,useHostTransitionStatus:Od,useFormState:Rg,useActionState:Rg,useOptimistic:function(e,a){var r=Tt();return nt!==null?Sg(r,nt,e,a):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:kd,useCacheRefresh:Fg};Jg.useEffectEvent=Dg;function Vd(e,a,r,l){a=e.memoizedState,r=r(l,a),r=r==null?a:b({},a,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Ud={enqueueSetState:function(e,a,r){e=e._reactInternals;var l=bn(),c=mi(l);c.payload=a,r!=null&&(c.callback=r),a=pi(e,c,l),a!==null&&(dn(a,e,l),rl(a,e,l))},enqueueReplaceState:function(e,a,r){e=e._reactInternals;var l=bn(),c=mi(l);c.tag=1,c.payload=a,r!=null&&(c.callback=r),a=pi(e,c,l),a!==null&&(dn(a,e,l),rl(a,e,l))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var r=bn(),l=mi(r);l.tag=2,a!=null&&(l.callback=a),a=pi(e,l,r),a!==null&&(dn(a,e,r),rl(a,e,r))}};function Ig(e,a,r,l,c,f,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,f,v):a.prototype&&a.prototype.isPureReactComponent?!Js(r,l)||!Js(c,f):!0}function Wg(e,a,r,l){e=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(r,l),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(r,l),a.state!==e&&Ud.enqueueReplaceState(a,a.state,null)}function dr(e,a){var r=a;if("ref"in a){r={};for(var l in a)l!=="ref"&&(r[l]=a[l])}if(e=e.defaultProps){r===a&&(r=b({},r));for(var c in e)r[c]===void 0&&(r[c]=e[c])}return r}function ey(e){Ro(e)}function ty(e){console.error(e)}function ny(e){Ro(e)}function eu(e,a){try{var r=e.onUncaughtError;r(a.value,{componentStack:a.stack})}catch(l){setTimeout(function(){throw l})}}function ay(e,a,r){try{var l=e.onCaughtError;l(r.value,{componentStack:r.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Hd(e,a,r){return r=mi(r),r.tag=3,r.payload={element:null},r.callback=function(){eu(e,a)},r}function iy(e){return e=mi(e),e.tag=3,e}function ry(e,a,r,l){var c=r.type.getDerivedStateFromError;if(typeof c=="function"){var f=l.value;e.payload=function(){return c(f)},e.callback=function(){ay(a,r,l)}}var v=r.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(e.callback=function(){ay(a,r,l),typeof c!="function"&&(wi===null?wi=new Set([this]):wi.add(this));var w=l.stack;this.componentDidCatch(l.value,{componentStack:w!==null?w:""})})}function pT(e,a,r,l,c){if(r.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(a=r.alternate,a!==null&&Yr(a,r,c,!0),r=pn.current,r!==null){switch(r.tag){case 31:case 13:return On===null?fu():r.alternate===null&&xt===0&&(xt=3),r.flags&=-257,r.flags|=65536,r.lanes=c,l===Go?r.flags|=16384:(a=r.updateQueue,a===null?r.updateQueue=new Set([l]):a.add(l),ff(e,l,c)),!1;case 22:return r.flags|=65536,l===Go?r.flags|=16384:(a=r.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([l])},r.updateQueue=a):(r=a.retryQueue,r===null?a.retryQueue=new Set([l]):r.add(l)),ff(e,l,c)),!1}throw Error(s(435,r.tag))}return ff(e,l,c),fu(),!1}if(Ze)return a=pn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=c,l!==rd&&(e=Error(s(422),{cause:l}),el(Rn(e,r)))):(l!==rd&&(a=Error(s(423),{cause:l}),el(Rn(a,r))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,l=Rn(l,r),c=Hd(e.stateNode,l,c),gd(e,c),xt!==4&&(xt=2)),!1;var f=Error(s(520),{cause:l});if(f=Rn(f,r),bl===null?bl=[f]:bl.push(f),xt!==4&&(xt=2),a===null)return!0;l=Rn(l,r),r=a;do{switch(r.tag){case 3:return r.flags|=65536,e=c&-c,r.lanes|=e,e=Hd(r.stateNode,l,e),gd(r,e),!1;case 1:if(a=r.type,f=r.stateNode,(r.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(wi===null||!wi.has(f))))return r.flags|=65536,c&=-c,r.lanes|=c,c=iy(c),ry(c,e,r,l),gd(r,c),!1}r=r.return}while(r!==null);return!1}var Gd=Error(s(461)),kt=!1;function Ut(e,a,r,l){a.child=e===null?ug(a,null,r,l):ur(a,e.child,r,l)}function sy(e,a,r,l,c){r=r.render;var f=a.ref;if("ref"in l){var v={};for(var w in l)w!=="ref"&&(v[w]=l[w])}else v=l;return rr(a),l=Sd(e,a,r,v,f,c),w=Td(),e!==null&&!kt?(Ed(e,a,c),Va(e,a,c)):(Ze&&w&&ad(a),a.flags|=1,Ut(e,a,l,c),a.child)}function ly(e,a,r,l,c){if(e===null){var f=r.type;return typeof f=="function"&&!ed(f)&&f.defaultProps===void 0&&r.compare===null?(a.tag=15,a.type=f,oy(e,a,f,l,c)):(e=Oo(r.type,null,l,a,a.mode,c),e.ref=a.ref,e.return=a,a.child=e)}if(f=e.child,!Qd(e,c)){var v=f.memoizedProps;if(r=r.compare,r=r!==null?r:Js,r(v,l)&&e.ref===a.ref)return Va(e,a,c)}return a.flags|=1,e=_a(f,l),e.ref=a.ref,e.return=a,a.child=e}function oy(e,a,r,l,c){if(e!==null){var f=e.memoizedProps;if(Js(f,l)&&e.ref===a.ref)if(kt=!1,a.pendingProps=l=f,Qd(e,c))(e.flags&131072)!==0&&(kt=!0);
vendor: 9,366 bytes, line 25
25else return a.lanes=e.lanes,Va(e,a,c)}return Kd(e,a,r,l,c)}function uy(e,a,r,l){var c=l.children,f=e!==null?e.memoizedState:null;if(e===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((a.flags&128)!==0){if(f=f!==null?f.baseLanes|r:r,e!==null){for(l=a.child=e.child,c=0;l!==null;)c=c|l.lanes|l.childLanes,l=l.sibling;l=c&~f}else l=0,a.child=null;return cy(e,a,f,r,l)}if((r&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&Uo(a,f!==null?f.cachePool:null),f!==null?fg(a,f):vd(),hg(a);else return l=a.lanes=536870912,cy(e,a,f!==null?f.baseLanes|r:r,r,l)}else f!==null?(Uo(a,f.cachePool),fg(a,f),yi(),a.memoizedState=null):(e!==null&&Uo(a,null),vd(),yi());return Ut(e,a,c,r),a.child}function fl(e,a){return e!==null&&e.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function cy(e,a,r,l,c){var f=fd();return f=f===null?null:{parent:Et._currentValue,pool:f},a.memoizedState={baseLanes:r,cachePool:f},e!==null&&Uo(a,null),vd(),hg(a),e!==null&&Yr(e,a,l,!0),a.childLanes=c,null}function tu(e,a){return a=au({mode:a.mode,children:a.children},e.mode),a.ref=e.ref,e.child=a,a.return=e,a}function dy(e,a,r){return ur(a,e.child,null,r),e=tu(a,a.pendingProps),e.flags|=2,gn(a),a.memoizedState=null,e}function gT(e,a,r){var l=a.pendingProps,c=(a.flags&128)!==0;if(a.flags&=-129,e===null){if(Ze){if(l.mode==="hidden")return e=tu(a,l),a.lanes=536870912,fl(null,e);if(xd(a),(e=ft)?(e=Tv(e,Dn),e=e!==null&&e.data==="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:ui!==null?{id:ra,overflow:sa}:null,retryLane:536870912,hydrationErrors:null},r=Xp(e),r.return=a,a.child=r,Bt=a,ft=null)):e=null,e===null)throw di(a);return a.lanes=536870912,null}return tu(a,l)}var f=e.memoizedState;if(f!==null){var v=f.dehydrated;if(xd(a),c)if(a.flags&256)a.flags&=-257,a=dy(e,a,r);else if(a.memoizedState!==null)a.child=e.child,a.flags|=128,a=null;else throw Error(s(558));else if(kt||Yr(e,a,r,!1),c=(r&e.childLanes)!==0,kt||c){if(l=rt,l!==null&&(v=k(l,r),v!==0&&v!==f.retryLane))throw f.retryLane=v,tr(e,v),dn(l,e,v),Gd;fu(),a=dy(e,a,r)}else e=f.treeContext,ft=Ln(v.nextSibling),Bt=a,Ze=!0,ci=null,Dn=!1,e!==null&&Jp(a,e),a=tu(a,l),a.flags|=4096;return a}return e=_a(e.child,{mode:l.mode,children:l.children}),e.ref=a.ref,a.child=e,e.return=a,e}function nu(e,a){var r=a.ref;if(r===null)e!==null&&e.ref!==null&&(a.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(s(284));(e===null||e.ref!==r)&&(a.flags|=4194816)}}function Kd(e,a,r,l,c){return rr(a),r=Sd(e,a,r,l,void 0,c),l=Td(),e!==null&&!kt?(Ed(e,a,c),Va(e,a,c)):(Ze&&l&&ad(a),a.flags|=1,Ut(e,a,r,c),a.child)}function fy(e,a,r,l,c,f){return rr(a),a.updateQueue=null,r=pg(a,l,r,c),mg(e),l=Td(),e!==null&&!kt?(Ed(e,a,f),Va(e,a,f)):(Ze&&l&&ad(a),a.flags|=1,Ut(e,a,r,f),a.child)}function hy(e,a,r,l,c){if(rr(a),a.stateNode===null){var f=Gr,v=r.contextType;typeof v=="object"&&v!==null&&(f=Vt(v)),f=new r(l,f),a.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Ud,a.stateNode=f,f._reactInternals=a,f=a.stateNode,f.props=l,f.state=a.memoizedState,f.refs={},md(a),v=r.contextType,f.context=typeof v=="object"&&v!==null?Vt(v):Gr,f.state=a.memoizedState,v=r.getDerivedStateFromProps,typeof v=="function"&&(Vd(a,r,v,l),f.state=a.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(v=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),v!==f.state&&Ud.enqueueReplaceState(f,f.state,null),ll(a,l,f,c),sl(),f.state=a.memoizedState),typeof f.componentDidMount=="function"&&(a.flags|=4194308),l=!0}else if(e===null){f=a.stateNode;var w=a.memoizedProps,A=dr(r,w);f.props=A;var O=f.context,K=r.contextType;v=Gr,typeof K=="object"&&K!==null&&(v=Vt(K));var q=r.getDerivedStateFromProps;K=typeof q=="function"||typeof f.getSnapshotBeforeUpdate=="function",w=a.pendingProps!==w,K||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(w||O!==v)&&Wg(a,f,l,v),hi=!1;var B=a.memoizedState;f.state=B,ll(a,l,f,c),sl(),O=a.memoizedState,w||B!==O||hi?(typeof q=="function"&&(Vd(a,r,q,l),O=a.memoizedState),(A=hi||Ig(a,r,A,l,B,O,v))?(K||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(a.flags|=4194308)):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=l,a.memoizedState=O),f.props=l,f.state=O,f.context=v,l=A):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),l=!1)}else{f=a.stateNode,pd(e,a),v=a.memoizedProps,K=dr(r,v),f.props=K,q=a.pendingProps,B=f.context,O=r.contextType,A=Gr,typeof O=="object"&&O!==null&&(A=Vt(O)),w=r.getDerivedStateFromProps,(O=typeof w=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(v!==q||B!==A)&&Wg(a,f,l,A),hi=!1,B=a.memoizedState,f.state=B,ll(a,l,f,c),sl();var H=a.memoizedState;v!==q||B!==H||hi||e!==null&&e.dependencies!==null&&Bo(e.dependencies)?(typeof w=="function"&&(Vd(a,r,w,l),H=a.memoizedState),(K=hi||Ig(a,r,K,l,B,H,A)||e!==null&&e.dependencies!==null&&Bo(e.dependencies))?(O||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(l,H,A),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(l,H,A)),typeof f.componentDidUpdate=="function"&&(a.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof f.componentDidUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(a.flags|=1024),a.memoizedProps=l,a.memoizedState=H),f.props=l,f.state=H,f.context=A,l=K):(typeof f.componentDidUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&B===e.memoizedState||(a.flags|=1024),l=!1)}return f=l,nu(e,a),l=(a.flags&128)!==0,f||l?(f=a.stateNode,r=l&&typeof r.getDerivedStateFromError!="function"?null:f.render(),a.flags|=1,e!==null&&l?(a.child=ur(a,e.child,null,c),a.child=ur(a,null,r,c)):Ut(e,a,r,c),a.memoizedState=f.state,e=a.child):e=Va(e,a,c),e}function my(e,a,r,l){return ar(),a.flags|=256,Ut(e,a,r,l),a.child}var Zd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function qd(e){return{baseLanes:e,cachePool:ag()}}function Yd(e,a,r){return e=e!==null?e.childLanes&~r:0,a&&(e|=vn),e}function py(e,a,r){var l=a.pendingProps,c=!1,f=(a.flags&128)!==0,v;if((v=f)||(v=e!==null&&e.memoizedState===null?!1:(St.current&2)!==0),v&&(c=!0,a.flags&=-129),v=(a.flags&32)!==0,a.flags&=-33,e===null){if(Ze){if(c?gi(a):yi(),(e=ft)?(e=Tv(e,Dn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:ui!==null?{id:ra,overflow:sa}:null,retryLane:536870912,hydrationErrors:null},r=Xp(e),r.return=a,a.child=r,Bt=a,ft=null)):e=null,e===null)throw di(a);return jf(e)?a.lanes=32:a.lanes=536870912,null}var w=l.children;return l=l.fallback,c?(yi(),c=a.mode,w=au({mode:"hidden",children:w},c),l=nr(l,c,r,null),w.return=a,l.return=a,w.sibling=l,a.child=w,l=a.child,l.memoizedState=qd(r),l.childLanes=Yd(e,v,r),a.memoizedState=Zd,fl(null,l)):(gi(a),Fd(a,w))}var A=e.memoizedState;if(A!==null&&(w=A.dehydrated,w!==null)){if(f)a.flags&256?(gi(a),a.flags&=-257,a=Pd(e,a,r)):a.memoizedState!==null?(yi(),a.child=e.child,a.flags|=128,a=null):(yi(),w=l.fallback,c=a.mode,l=au({mode:"visible",children:l.children},c),w=nr(w,c,r,null),w.flags|=2,l.return=a,w.return=a,l.sibling=w,a.child=l,ur(a,e.child,null,r),l=a.child,l.memoizedState=qd(r),l.childLanes=Yd(e,v,r),a.memoizedState=Zd,a=fl(null,l));else if(gi(a),jf(w)){if(v=w.nextSibling&&w.nextSibling.dataset,v)var O=v.dgst;v=O,l=Error(s(419)),l.stack="",l.digest=v,el({value:l,source:null,stack:null}),a=Pd(e,a,r)}else if(kt||Yr(e,a,r,!1),v=(r&e.childLanes)!==0,kt||v){if(v=rt,v!==null&&(l=k(v,r),l!==0&&l!==A.retryLane))throw A.retryLane=l,tr(e,l),dn(v,e,l),Gd;Mf(w)||fu(),a=Pd(e,a,r)}else Mf(w)?(a.flags|=192,a.child=e.child,a=null):(e=A.treeContext,ft=Ln(w.nextSibling),Bt=a,Ze=!0,ci=null,Dn=!1,e!==null&&Jp(a,e),a=Fd(a,l.children),a.flags|=4096);return a}return c?(yi(),w=l.fallback,c=a.mode,A=e.child,O=A.sibling,l=_a(A,{mode:"hidden",children:l.children}),l.subtreeFlags=A.subtreeFlags&65011712,O!==null?w=_a(O,w):(w=nr(w,c,r,null),w.flags|=2),w.return=a,l.return=a,l.sibling=w,a.child=l,fl(null,l),l=a.child,w=e.child.memoizedState,w===null?w=qd(r):(c=w.cachePool,c!==null?(A=Et._currentValue,c=c.parent!==A?{parent:A,pool:A}:c):c=ag(),w={baseLanes:w.baseLanes|r,cachePool:c}),l.memoizedState=w,l.childLanes=Yd(e,v,r),a.memoizedState=Zd,fl(e.child,l)):(gi(a),r=e.child,e=r.sibling,r=_a(r,{mode:"visible",children:l.children}),r.return=a,r.sibling=null,e!==null&&(v=a.deletions,v===null?(a.deleti
vendor: 4,683 bytes, line 25
25ons=[e],a.flags|=16):v.push(e)),a.child=r,a.memoizedState=null,r)}function Fd(e,a){return a=au({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function au(e,a){return e=mn(22,e,null,a),e.lanes=0,e}function Pd(e,a,r){return ur(a,e.child,null,r),e=Fd(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function gy(e,a,r){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a),od(e.return,a,r)}function Xd(e,a,r,l,c,f){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:l,tail:r,tailMode:c,treeForkCount:f}:(v.isBackwards=a,v.rendering=null,v.renderingStartTime=0,v.last=l,v.tail=r,v.tailMode=c,v.treeForkCount=f)}function yy(e,a,r){var l=a.pendingProps,c=l.revealOrder,f=l.tail;l=l.children;var v=St.current,w=(v&2)!==0;if(w?(v=v&1|2,a.flags|=128):v&=1,Ae(St,v),Ut(e,a,l,r),l=Ze?Ws:0,!w&&e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&gy(e,r,a);else if(e.tag===19)gy(e,r,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(r=a.child,c=null;r!==null;)e=r.alternate,e!==null&&Yo(e)===null&&(c=r),r=r.sibling;r=c,r===null?(c=a.child,a.child=null):(c=r.sibling,r.sibling=null),Xd(a,!1,c,r,f,l);break;case"backwards":case"unstable_legacy-backwards":for(r=null,c=a.child,a.child=null;c!==null;){if(e=c.alternate,e!==null&&Yo(e)===null){a.child=c;break}e=c.sibling,c.sibling=r,r=c,c=e}Xd(a,!0,r,null,f,l);break;case"together":Xd(a,!1,null,null,void 0,l);break;default:a.memoizedState=null}return a.child}function Va(e,a,r){if(e!==null&&(a.dependencies=e.dependencies),xi|=a.lanes,(r&a.childLanes)===0)if(e!==null){if(Yr(e,a,r,!1),(r&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error(s(153));if(a.child!==null){for(e=a.child,r=_a(e,e.pendingProps),a.child=r,r.return=a;e.sibling!==null;)e=e.sibling,r=r.sibling=_a(e,e.pendingProps),r.return=a;r.sibling=null}return a.child}function Qd(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&Bo(e)))}function yT(e,a,r){switch(a.tag){case 3:xa(a,a.stateNode.containerInfo),fi(a,Et,e.memoizedState.cache),ar();break;case 27:case 5:Bs(a);break;case 4:xa(a,a.stateNode.containerInfo);break;case 10:fi(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,xd(a),null;break;case 13:var l=a.memoizedState;if(l!==null)return l.dehydrated!==null?(gi(a),a.flags|=128,null):(r&a.child.childLanes)!==0?py(e,a,r):(gi(a),e=Va(e,a,r),e!==null?e.sibling:null);gi(a);break;case 19:var c=(e.flags&128)!==0;if(l=(r&a.childLanes)!==0,l||(Yr(e,a,r,!1),l=(r&a.childLanes)!==0),c){if(l)return yy(e,a,r);a.flags|=128}if(c=a.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Ae(St,St.current),l)break;return null;case 22:return a.lanes=0,uy(e,a,r,a.pendingProps);case 24:fi(a,Et,e.memoizedState.cache)}return Va(e,a,r)}function vy(e,a,r){if(e!==null)if(e.memoizedProps!==a.pendingProps)kt=!0;else{if(!Qd(e,r)&&(a.flags&128)===0)return kt=!1,yT(e,a,r);kt=(e.flags&131072)!==0}else kt=!1,Ze&&(a.flags&1048576)!==0&&$p(a,Ws,a.index);switch(a.lanes=0,a.tag){case 16:e:{var l=a.pendingProps;if(e=lr(a.elementType),a.type=e,typeof e=="function")ed(e)?(l=dr(e,l),a.tag=1,a=hy(null,a,e,l,r)):(a.tag=0,a=Kd(null,a,e,l,r));else{if(e!=null){var c=e.$$typeof;if(c===F){a.tag=11,a=sy(null,a,e,l,r);break e}else if(c===te){a.tag=14,a=ly(null,a,e,l,r);break e}}throw a=Be(e)||e,Error(s(306,a,""))}}return a;case 0:return Kd(e,a,a.type,a.pendingProps,r);case 1:return l=a.type,c=dr(l,a.pendingProps),hy(e,a,l,c,r);case 3:e:{if(xa(a,a.stateNode.containerInfo),e===null)throw Error(s(387));l=a.pendingProps;var f=a.memoizedState;c=f.element,pd(e,a),ll(a,l,null,r);var v=a.memoizedState;if(l=v.cache,fi(a,Et,l),l!==f.cache&&ud(a,[Et],r,!0),sl(),l=v.element,f.isDehydrated)if(f={element:l,isDehydrated:!1,cache:v.cache},a.updateQueue.baseState=f,a.memoizedState=f,a.flags&256){a=my(e,a,l,r);break e}else if(l!==c){c=Rn(Error(s(424)),a),el(c),a=my(e,a,l,r);break e}else{switch(e=a.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(ft=Ln(e.firstChild),Bt=a,Ze=!0,ci=null,Dn=!0,r=ug(a,null,l,r),a.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(ar(),l===c){a=Va(e,a,r);break e}Ut(e,a,l,r)}a=a.child}return a;case 26:return nu(e,a),e===null?(r=zv(a.type,null,a.pendingProps,null))?a.memoizedState=r:Ze||(r=a.type,e=a.pendingProps,l=bu(ut.current).createElement(r),l[ne]=a,l[ae]=e,Ht(l,r,e),$e(l),a.stateNode=l):a.memoizedState=zv(
vendor: 4,809 bytes, line 25
25a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return Bs(a),e===null&&Ze&&(l=a.stateNode=kv(a.type,a.pendingProps,ut.current),Bt=a,Dn=!0,c=ft,Ai(a.type)?(zf=c,ft=Ln(l.firstChild)):ft=c),Ut(e,a,a.pendingProps.children,r),nu(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&Ze&&((c=l=ft)&&(l=PT(l,a.type,a.pendingProps,Dn),l!==null?(a.stateNode=l,Bt=a,ft=Ln(l.firstChild),Dn=!1,c=!0):c=!1),c||di(a)),Bs(a),c=a.type,f=a.pendingProps,v=e!==null?e.memoizedProps:null,l=f.children,Ef(c,f)?l=null:v!==null&&Ef(c,v)&&(a.flags|=32),a.memoizedState!==null&&(c=Sd(e,a,oT,null,null,r),Ml._currentValue=c),nu(e,a),Ut(e,a,l,r),a.child;case 6:return e===null&&Ze&&((e=r=ft)&&(r=XT(r,a.pendingProps,Dn),r!==null?(a.stateNode=r,Bt=a,ft=null,e=!0):e=!1),e||di(a)),null;case 13:return py(e,a,r);case 4:return xa(a,a.stateNode.containerInfo),l=a.pendingProps,e===null?a.child=ur(a,null,l,r):Ut(e,a,l,r),a.child;case 11:return sy(e,a,a.type,a.pendingProps,r);case 7:return Ut(e,a,a.pendingProps,r),a.child;case 8:return Ut(e,a,a.pendingProps.children,r),a.child;case 12:return Ut(e,a,a.pendingProps.children,r),a.child;case 10:return l=a.pendingProps,fi(a,a.type,l.value),Ut(e,a,l.children,r),a.child;case 9:return c=a.type._context,l=a.pendingProps.children,rr(a),c=Vt(c),l=l(c),a.flags|=1,Ut(e,a,l,r),a.child;case 14:return ly(e,a,a.type,a.pendingProps,r);case 15:return oy(e,a,a.type,a.pendingProps,r);case 19:return yy(e,a,r);case 31:return gT(e,a,r);case 22:return uy(e,a,r,a.pendingProps);case 24:return rr(a),l=Vt(Et),e===null?(c=fd(),c===null&&(c=rt,f=cd(),c.pooledCache=f,f.refCount++,f!==null&&(c.pooledCacheLanes|=r),c=f),a.memoizedState={parent:l,cache:c},md(a),fi(a,Et,c)):((e.lanes&r)!==0&&(pd(e,a),ll(a,null,null,r),sl()),c=e.memoizedState,f=a.memoizedState,c.parent!==l?(c={parent:l,cache:l},a.memoizedState=c,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=c),fi(a,Et,l)):(l=f.cache,fi(a,Et,l),l!==c.cache&&ud(a,[Et],r,!0))),Ut(e,a,a.pendingProps.children,r),a.child;case 29:throw a.pendingProps}throw Error(s(156,a.tag))}function Ua(e){e.flags|=4}function $d(e,a,r,l,c){if((a=(e.mode&32)!==0)&&(a=!1),a){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(Yy())e.flags|=8192;else throw or=Go,hd}else e.flags&=-16777217}function by(e,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Dv(a))if(Yy())e.flags|=8192;else throw or=Go,hd}function iu(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?Zs():536870912,e.lanes|=a,as|=a)}function hl(e,a){if(!Ze)switch(e.tailMode){case"hidden":a=e.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function ht(e){var a=e.alternate!==null&&e.alternate.child===e.child,r=0,l=0;if(a)for(var c=e.child;c!==null;)r|=c.lanes|c.childLanes,l|=c.subtreeFlags&65011712,l|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)r|=c.lanes|c.childLanes,l|=c.subtreeFlags,l|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=l,e.childLanes=r,a}function vT(e,a,r){var l=a.pendingProps;switch(id(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(a),null;case 1:return ht(a),null;case 3:return r=a.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),Oa(Et),nn(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(qr(a)?Ua(a):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,sd())),ht(a),null;case 26:var c=a.type,f=a.memoizedState;return e===null?(Ua(a),f!==null?(ht(a),by(a,f)):(ht(a),$d(a,c,null,l,r))):f?f!==e.memoizedState?(Ua(a),ht(a),by(a,f)):(ht(a),a.flags&=-16777217):(e=e.memoizedProps,e!==l&&Ua(a),ht(a),$d(a,c,e,l,r)),null;case 27:if(jr(a),r=ut.current,c=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&Ua(a);else{if(!l){if(a.stateNode===null)throw Error(s(166));return ht(a),null}e=We.current,qr(a)?Ip(a):(e=kv(c,l,r),a.stateNode=e,Ua(a))}return ht(a),null;case 5:if(jr(a),c=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&Ua(a);else{if(!l){if(a.stateNode===null)throw Error(s(166));return ht(a),null}if(f=We.current,qr(a))Ip(a);else{var v=bu(ut.current);switch(f){case 1:f=v.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:f=v.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":f=v.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":f=v.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":f=v.createElement("div"),f.innerHTML="<script><\/script>
25",f=f.removeChild(f.firstChild);break;case"select":f=typeof l.is=="string"?v.createElement("select",{is:l.is}):v.createElement("select"),l.multiple?f.multiple=!0:l.size&&(f.size=l.size);break;default:f=typeof l.is=="string"?v.createElement(c,{is:l.is}):v.createElement(c)}}f[ne]=a,f[ae]=l;e:for(v=a.child;v!==null;){if(v.tag===5||v.tag===6)f.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===a)break e;for(;v.sibling===null;){if(v.return===null||v.return===a)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}a.stateNode=f;e:switch(Ht(f,c,l),c){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Ua(a)}}return ht(a),$d(a,a.type,e===null?null:e.memoizedProps,a.pendingProps,r),null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==l&&Ua(a);else{if(typeof l!="string"&&a.stateNode===null)throw Error(s(166));if(e=ut.current,qr(a)){if(e=a.stateNode,r=a.memoizedProps,l=null,c=Bt,c!==null)switch(c.tag){case 27:case 5:l=c.memoizedProps}e[ne]=a,e=!!(e.nodeValue===r||l!==null&&l.suppressHydrationWarning===!0||pv(e.nodeValue,r)),e||di(a,!0)}else e=bu(e).createTextNode(l),e[ne]=a,a.stateNode=e}return ht(a),null;case 31:if(r=a.memoizedState,e===null||e.memoizedState!==null){if(l=qr(a),r!==null){if(e===null){if(!l)throw Error(s(318));if(e=a.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[ne]=a}else ar(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;ht(a),e=!1}else r=sd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return a.flags&256?(gn(a),a):(gn(a),null);if((a.flags&128)!==0)throw Error(s(558))}return ht(a),null;case 13:if(l=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=qr(a),l!==null&&l.dehydrated!==null){if(e===null){if(!c)throw Error(s(318));if(c=a.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(s(317));c[ne]=a}else ar(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;ht(a),c=!1}else c=sd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return a.flags&256?(gn(a),a):(gn(a),null)}return gn(a),(a.flags&128)!==0?(a.lanes=r,a):(r=l!==null,e=e!==null&&e.memoizedState!==null,r&&(l=a.child,c=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(c=l.alternate.memoizedState.cachePool.pool),f=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(f=l.memoizedState.cachePool.pool),f!==c&&(l.flags|=2048)),r!==e&&r&&(a.child.flags|=8192),iu(a,a.updateQueue),ht(a),null);case 4:return nn(),e===null&&bf(a.stateNode.containerInfo),ht(a),null;case 10:return Oa(a.type),ht(a),null;case 19:if(Re(St),l=a.memoizedState,l===null)return ht(a),null;if(c=(a.flags&128)!==0,f=l.rendering,f===null)if(c)hl(l,!1);else{if(xt!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(f=Yo(e),f!==null){for(a.flags|=128,hl(l,!1),e=f.updateQueue,a.updateQueue=e,iu(a,e),a.subtreeFlags=0,e=r,r=a.child;r!==null;)Pp(r,e),r=r.sibling;return Ae(St,St.current&1|2),Ze&&Na(a,l.treeForkCount),a.child}e=e.sibling}l.tail!==null&&$t()>uu&&(a.flags|=128,c=!0,hl(l,!1),a.lanes=4194304)}else{if(!c)if(e=Yo(f),e!==null){if(a.flags|=128,c=!0,e=e.updateQueue,a.updateQueue=e,iu(a,e),hl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!f.alternate&&!Ze)return ht(a),null}else 2*$t()-l.renderingStartTime>uu&&r!==536870912&&(a.flags|=128,c=!0,hl(l,!1),a.lanes=4194304);l.isBackwards?(f.sibling=a.child,a.child=f):(e=l.last,e!==null?e.sibling=f:a.child=f,l.last=f)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=$t(),e.sibling=null,r=St.current,Ae(St,c?r&1|2:r&1),Ze&&Na(a,l.treeForkCount),e):(ht(a),null);case 22:case 23:return gn(a),bd(),l=a.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(a.flags|=8192):l&&(a.flags|=8192),l?(r&536870912)!==0&&(a.flags&128)===0&&(ht(a),a.subtreeFlags&6&&(a.flags|=8192)):ht(a),r=a.updateQueue,r!==null&&iu(a,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==r&&(a.flags|=2048),e!==null&&Re(sr),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),a.memoizedState.cache!==r&&(a.flags|=2048),Oa(Et),ht(a),null;case 25:return null;case 30:return null}throw Error(s(156,a.tag))}function bT(e,a){switch(id(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return Oa(Et),nn(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return jr(a),null;case 31:if(a.memoizedState!==null){if(gn(a),a.alternate===null)throw Error(s(340));ar()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 13:if(gn(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(s(340));ar()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return Re(St),null;case 4:return nn(),null;case 10:return Oa(a.type),null;case 22:case 23:return gn(a),bd(),e!==null&&Re(sr),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return Oa(Et),null;case 25:return null;default:return null}}function xy(e,a){switch(id(a),a.tag){case 3:Oa(Et),nn();break;case 26:case 27:case 5:jr(a);break;case 4:nn();break;case 31:a.memoizedState!==null&&gn(a);break;case 13:gn(a);break;case 19:Re(St);break;case 10:Oa(a.type);break;case 22:case 23:gn(a),bd(),e!==null&&Re(sr);break;case 24:Oa(Et)}}function ml(e,a){try{var r=a.updateQueue,l=r!==null?r.lastEffect:null;if(l!==null){var c=l.next;r=c;do{if((r.tag&e)===e){l=void 0;var f=r.create,v=r.inst;l=f(),v.destroy=l}r=r.next}
vendor: 20,222 bytes, line 25
25while(r!==c)}}catch(w){tt(a,a.return,w)}}function vi(e,a,r){try{var l=a.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var f=c.next;l=f;do{if((l.tag&e)===e){var v=l.inst,w=v.destroy;if(w!==void 0){v.destroy=void 0,c=a;var A=r,O=w;try{O()}catch(K){tt(c,A,K)}}}l=l.next}while(l!==f)}}catch(K){tt(a,a.return,K)}}function wy(e){var a=e.updateQueue;if(a!==null){var r=e.stateNode;try{dg(a,r)}catch(l){tt(e,e.return,l)}}}function Sy(e,a,r){r.props=dr(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(l){tt(e,a,l)}}function pl(e,a){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof r=="function"?e.refCleanup=r(l):r.current=l}}catch(c){tt(e,a,c)}}function la(e,a){var r=e.ref,l=e.refCleanup;if(r!==null)if(typeof l=="function")try{l()}catch(c){tt(e,a,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(c){tt(e,a,c)}else r.current=null}function Ty(e){var a=e.type,r=e.memoizedProps,l=e.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":r.autoFocus&&l.focus();break e;case"img":r.src?l.src=r.src:r.srcSet&&(l.srcset=r.srcSet)}}catch(c){tt(e,e.return,c)}}function Jd(e,a,r){try{var l=e.stateNode;GT(l,e.type,r,a),l[ae]=a}catch(c){tt(e,e.return,c)}}function Ey(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ai(e.type)||e.tag===4}function Id(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ey(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&&Ai(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 Wd(e,a,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,a?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,a):(a=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,a.appendChild(e),r=r._reactRootContainer,r!=null||a.onclick!==null||(a.onclick=Ca));else if(l!==4&&(l===27&&Ai(e.type)&&(r=e.stateNode,a=null),e=e.child,e!==null))for(Wd(e,a,r),e=e.sibling;e!==null;)Wd(e,a,r),e=e.sibling}function ru(e,a,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,a?r.insertBefore(e,a):r.appendChild(e);else if(l!==4&&(l===27&&Ai(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(ru(e,a,r),e=e.sibling;e!==null;)ru(e,a,r),e=e.sibling}function Ay(e){var a=e.stateNode,r=e.memoizedProps;try{for(var l=e.type,c=a.attributes;c.length;)a.removeAttributeNode(c[0]);Ht(a,l,r),a[ne]=e,a[ae]=r}catch(f){tt(e,e.return,f)}}var Ha=!1,Mt=!1,ef=!1,ky=typeof WeakSet=="function"?WeakSet:Set,Ot=null;function xT(e,a){if(e=e.containerInfo,Sf=ku,e=Vp(e),Pc(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var c=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{r.nodeType,f.nodeType}catch{r=null;break e}var v=0,w=-1,A=-1,O=0,K=0,q=e,B=null;t:for(;;){for(var H;q!==r||c!==0&&q.nodeType!==3||(w=v+c),q!==f||l!==0&&q.nodeType!==3||(A=v+l),q.nodeType===3&&(v+=q.nodeValue.length),(H=q.firstChild)!==null;)B=q,q=H;for(;;){if(q===e)break t;if(B===r&&++O===c&&(w=v),B===f&&++K===l&&(A=v),(H=q.nextSibling)!==null)break;q=B,B=q.parentNode}q=H}r=w===-1||A===-1?null:{start:w,end:A}}else r=null}r=r||{start:0,end:0}}else r=null;for(Tf={focusedElem:e,selectionRange:r},ku=!1,Ot=a;Ot!==null;)if(a=Ot,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,Ot=e;else for(;Ot!==null;){switch(a=Ot,f=a.alternate,e=a.flags,a.tag){case 0:if((e&4)!==0&&(e=a.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)c=e[r],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&f!==null){e=void 0,r=a,c=f.memoizedProps,f=f.memoizedState,l=r.stateNode;try{var le=dr(r.type,c);e=l.getSnapshotBeforeUpdate(le,f),l.__reactInternalSnapshotBeforeUpdate=e}catch(Se){tt(r,r.return,Se)}}break;case 3:if((e&1024)!==0){if(e=a.stateNode.containerInfo,r=e.nodeType,r===9)kf(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":kf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(s(163))}if(e=a.sibling,e!==null){e.return=a.return,Ot=e;break}Ot=a.return}}function My(e,a,r){var l=r.flags;switch(r.tag){case 0:case 11:case 15:Ka(e,r),l&4&&ml(5,r);break;case 1:if(Ka(e,r),l&4)if(e=r.stateNode,a===null)try{e.componentDidMount()}catch(v){tt(r,r.return,v)}else{var c=dr(r.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(c,a,e.__reactInternalSnapshotBeforeUpdate)}catch(v){tt(r,r.return,v)}}l&64&&wy(r),l&512&&pl(r,r.return);break;case 3:if(Ka(e,r),l&64&&(e=r.updateQueue,e!==null)){if(a=null,r.child!==null)switch(r.child.tag){case 27:case 5:a=r.child.stateNode;break;case 1:a=r.child.stateNode}try{dg(e,a)}catch(v){tt(r,r.return,v)}}break;case 27:a===null&&l&4&&Ay(r);case 26:case 5:Ka(e,r),a===null&&l&4&&Ty(r),l&512&&pl(r,r.return);break;case 12:Ka(e,r);break;case 31:Ka(e,r),l&4&&Cy(e,r);break;case 13:Ka(e,r),l&4&&Ry(e,r),l&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=zT.bind(null,r),QT(e,r))));break;case 22:if(l=r.memoizedState!==null||Ha,!l){a=a!==null&&a.memoizedState!==null||Mt,c=Ha;var f=Mt;Ha=l,(Mt=a)&&!f?Za(e,r,(r.subtreeFlags&8772)!==0):Ka(e,r),Ha=c,Mt=f}break;case 30:break;default:Ka(e,r)}}function jy(e){var a=e.alternate;a!==null&&(e.alternate=null,jy(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&Ye(a)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var gt=null,ln=!1;function Ga(e,a,r){for(r=r.child;r!==null;)zy(e,a,r),r=r.sibling}function zy(e,a,r){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(Ta,r)}catch{}switch(r.tag){case 26:Mt||la(r,a),Ga(e,a,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Mt||la(r,a);var l=gt,c=ln;Ai(r.type)&&(gt=r.stateNode,ln=!1),Ga(e,a,r),El(r.stateNode),gt=l,ln=c;break;case 5:Mt||la(r,a);case 6:if(l=gt,c=ln,gt=null,Ga(e,a,r),gt=l,ln=c,gt!==null)if(ln)try{(gt.nodeType===9?gt.body:gt.nodeName==="HTML"?gt.ownerDocument.body:gt).removeChild(r.stateNode)}catch(f){tt(r,a,f)}else try{gt.removeChild(r.stateNode)}catch(f){tt(r,a,f)}break;case 18:gt!==null&&(ln?(e=gt,wv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),ds(e)):wv(gt,r.stateNode));break;case 4:l=gt,c=ln,gt=r.stateNode.containerInfo,ln=!0,Ga(e,a,r),gt=l,ln=c;break;case 0:case 11:case 14:case 15:vi(2,r,a),Mt||vi(4,r,a),Ga(e,a,r);break;case 1:Mt||(la(r,a),l=r.stateNode,typeof l.componentWillUnmount=="function"&&Sy(r,a,l)),Ga(e,a,r);break;case 21:Ga(e,a,r);break;case 22:Mt=(l=Mt)||r.memoizedState!==null,Ga(e,a,r),Mt=l;break;default:Ga(e,a,r)}}function Cy(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ds(e)}catch(r){tt(a,a.return,r)}}}function Ry(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ds(e)}catch(r){tt(a,a.return,r)}}function wT(e){switch(e.tag){case 31:case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new ky),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new ky),a;default:throw Error(s(435,e.tag))}}function su(e,a){var r=wT(e);a.forEach(function(l){if(!r.has(l)){r.add(l);var c=CT.bind(null,e,l);l.then(c,c)}})}function on(e,a){var r=a.deletions;if(r!==null)for(var l=0;l<r.length;l++){var c=r[l],f=e,v=a,w=v;e:for(;w!==null;){switch(w.tag){case 27:if(Ai(w.type)){gt=w.stateNode,ln=!1;break e}break;case 5:gt=w.stateNode,ln=!1;break e;case 3:case 4:gt=w.stateNode.containerInfo,ln=!0;break e}w=w.return}if(gt===null)throw Error(s(160));zy(f,v,c),gt=null,ln=!1,f=c.alternate,f!==null&&(f.return=null),c.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)_y(a,e),a=a.sibling}var Qn=null;function _y(e,a){var r=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:on(a,e),un(e),l&4&&(vi(3,e,e.return),ml(3,e),vi(5,e,e.return));break;case 1:on(a,e),un(e),l&512&&(Mt||r===null||la(r,r.return)),l&64&&Ha&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?l:r.concat(l))));break;case 26:var c=Qn;if(on(a,e),un(e),l&512&&(Mt||r===null||la(r,r.return)),l&4){var f=r!==null?r.memoizedState:null;if(l=e.memoizedState,r===null)if(l===null)if(e.stateNode===null){e:{l=e.type,r=e.memoizedProps,c=c.ownerDocument||c;t:switch(l){case"title":f=c.getElementsByTagName("title")[0],(!f||f[Qe]||f[ne]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=c.createElement(l),c.head.insertBefore(f,c.querySelector("head > title"))),Ht(f,l,r),f[ne]=e,$e(f),l=f;break e;case"link":var v=_v("link","href",c).get(l+(r.href||""));if(v){for(var w=0;w<v.length;w++)if(f=v[w],f.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&f.getAttribute("rel")===(r.rel==null?null:r.rel)&&f.getAttribute("title")===(r.title==null?null:r.title)&&f.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){v.splice(w,1);break t}}f=c.createElement(l),Ht(f,l,r),c.head.appendChild(f);break;case"meta":if(v=_v("meta","content",c).get(l+(r.content||""))){for(w=0;w<v.length;w++)if(f=v[w],f.getAttribute("content")===(r.content==null?null:""+r.content)&&f.getAttribute("name")===(r.name==null?null:r.name)&&f.getAttribute("property")===(r.property==null?null:r.property)&&f.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&f.getAttribute("charset")===(r.charSet==null?null:r.charSet)){v.splice(w,1);break t}}f=c.createElement(l),Ht(f,l,r),c.head.appendChild(f);break;default:throw Error(s(468,l))}f[ne]=e,$e(f),l=f}e.stateNode=l}else Nv(c,e.type,e.stateNode);else e.stateNode=Rv(c,l,e.memoizedProps);else f!==l?(f===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):f.count--,l===null?Nv(c,e.type,e.stateNode):Rv(c,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Jd(e,e.memoizedProps,r.memoizedProps)}break;case 27:on(a,e),un(e),l&512&&(Mt||r===null||la(r,r.return)),r!==null&&l&4&&Jd(e,e.memoizedProps,r.memoizedProps);break;case 5:if(on(a,e),un(e),l&512&&(Mt||r===null||la(r,r.return)),e.flags&32){c=e.stateNode;try{Dr(c,"")}catch(le){tt(e,e.return,le)}}l&4&&e.stateNode!=null&&(c=e.memoizedProps,Jd(e,c,r!==null?r.memoizedProps:c)),l&1024&&(ef=!0);break;case 6:if(on(a,e),un(e),l&4){if(e.stateNode===null)throw Error(s(162));l=e.memoizedProps,r=e.stateNode;try{r.nodeValue=l}catch(le){tt(e,e.return,le)}}break;case 3:if(Su=null,c=Qn,Qn=xu(a.containerInfo),on(a,e),Qn=c,un(e),l&4&&r!==null&&r.memoizedState.isDehydrated)try{ds(a.containerInfo)}catch(le){tt(e,e.return,le)}ef&&(ef=!1,Ny(e));break;case 4:l=Qn,Qn=xu(e.stateNode.containerInfo),on(a,e),un(e),Qn=l;break;case 12:on(a,e),un(e);break;case 31:on(a,e),un(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,su(e,l)));break;case 13:on(a,e),un(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(ou=$t()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,su(e,l)));break;case 22:c=e.memoizedState!==null;var A=r!==null&&r.memoizedState!==null,O=Ha,K=Mt;if(Ha=O||c,Mt=K||A,on(a,e),Mt=K,Ha=O,un(e),l&8192)e:for(a=e.stateNode,a._visibility=c?a._visibility&-2:a._visibility|1,c&&(r===null||A||Ha||Mt||fr(e)),r=null,a=e;;){if(a.tag===5||a.tag===26){if(r===null){A=r=a;try{if(f=A.stateNode,c)v=f.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{w=A.stateNode;var q=A.memoizedProps.style,B=q!=null&&q.hasOwnProperty("display")?q.display:null;w.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(le){tt(A,A.return,le)}}}else if(a.tag===6){if(r===null){A=a;try{A.stateNode.nodeValue=c?"":A.memoizedProps}catch(le){tt(A,A.return,le)}}}else if(a.tag===18){if(r===null){A=a;try{var H=A.stateNode;c?Sv(H,!0):Sv(A.stateNode,!1)}catch(le){tt(A,A.return,le)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;r===a&&(r=null),a=a.return}r===a&&(r=null),a.sibling.return=a.return,a=a.sibling}l&4&&(l=e.updateQueue,l!==null&&(r=l.retryQueue,r!==null&&(l.retryQueue=null,su(e,r))));break;case 19:on(a,e),un(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,su(e,l)));break;case 30:break;case 21:break;default:on(a,e),un(e)}}function un(e){var a=e.flags;if(a&2){try{for(var r,l=e.return;l!==null;){if(Ey(l)){r=l;break}l=l.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var c=r.stateNode,f=Id(e);ru(e,f,c);break;case 5:var v=r.stateNode;r.flags&32&&(Dr(v,""),r.flags&=-33);var w=Id(e);ru(e,w,v);break;case 3:case 4:var A=r.stateNode.containerInfo,O=Id(e);Wd(e,O,A);break;default:throw Error(s(161))}}catch(K){tt(e,e.return,K)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function Ny(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;Ny(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function Ka(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)My(e,a.alternate,a),a=a.sibling}function fr(e){for(e=e.child;e!==null;){var a=e;switch(a.tag){case 0:case 11:case 14:case 15:vi(4,a,a.return),fr(a);break;case 1:la(a,a.return);var r=a.stateNode;typeof r.componentWillUnmount=="function"&&Sy(a,a.return,r),fr(a);break;case 27:El(a.stateNode);case 26:case 5:la(a,a.return),fr(a);break;case 22:a.memoizedState===null&&fr(a);break;case 30:fr(a);break;default:fr(a)}e=e.sibling}}function Za(e,a,r){for(r=r&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var l=a.alternate,c=e,f=a,v=f.flags;switch(f.tag){case 0:case 11:case 15:Za(c,f,r),ml(4,f);break;case 1:if(Za(c,f,r),l=f,c=l.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(O){tt(l,l.return,O)}if(l=f,c=l.updateQueue,c!==null){var w=l.stateNode;try{var A=c.shared.hiddenCallbacks;if(A!==null)for(c.shared.hiddenCallbacks=null,c=0;c<A.length;c++)cg(A[c],w)}catch(O){tt(l,l.return,O)}}r&&v&64&&wy(f),pl(f,f.return);break;case 27:Ay(f);case 26:case 5:Za(c,f,r),r&&l===null&&v&4&&Ty(f),pl(f,f.return);break;case 12:Za(c,f,r);break;case 31:Za(c,f,r),r&&v&4&&Cy(c,f);break;case 13:Za(c,f,r),r&&v&4&&Ry(c,f);break;case 22:f.memoizedState===null&&Za(c,f,r),pl(f,f.return);break;case 30:break;default:Za(c,f,r)}a=a.sibling}}function tf(e,a){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&tl(r))}function nf(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&tl(e))}function $n(e,a,r,l){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Dy(e,a,r,l),a=a.sibling}function Dy(e,a,r,l){var c=a.flags;switch(a.tag){case 0:case 11:case 15:$n(e,a,r,l),c&2048&&ml(9,a);break;case 1:$n(e,a,r,l);break;case 3:$n(e,a,r,l),c&2048&&(e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&tl(e)));break;case 12:if(c&2048){$n(e,a,r,l),e=a.stateNode;try{var f=a.memoizedProps,v=f.id,w=f.onPostCommit;typeof w=="function"&&w(v,a.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(A){tt(a,a.return,A)}}else $n(e,a,r,l);break;case 31:$n(e,a,r,l);break;case 13:$n(e,a,r,l);break;case 23:break;case 22:f=a.stateNode,v=a.alternate,a.memoizedState!==null?f._visibility&2?$n(e,a,r,l):gl(e,a):f._visibility&2?$n(e,a,r,l):(f._visibility|=2,es(e,a,r,l,(a.subtreeFlags&10256)!==0||!1)),c&2048&&tf(v,a);break;case 24:$n(e,a,r,l),c&2048&&nf(a.alternate,a);break;default:$n(e,a,r,l)}}function es(e,a,r,l,c){for(c=c&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var f=e,v=a,w=r,A=l,O=v.flags;switch(v.tag){case 0:case 11:case 15:es(f,v,w,A,c),ml(8,v);break;case 23:break;case 22:var K=v.stateNode;v.memoizedState!==null?K._visibility&2?es(f,v,w,A,c):gl(f,v):(K._visibility|=2,es(f,v,w,A,c)),c&&O&2048&&tf(v.alternate,v);break;case 24:es(f,v,w,A,c),c&&O&2048&&nf(v.alternate,v);break;default:es(f,v,w,A,c)}a=a.sibling}}function gl(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var r=e,l=a,c=l.flags;switch(l.tag){case 22:gl(r,l),c&2048&&tf(l.alternate,l);break;case 24:gl(r,l),c&2048&&nf(l.alternate,l);break;default:gl(r,l)}a=a.sibling}}var yl=8192;function ts(e,a,r){if(e.subtreeFlags&yl)for(e=e.child;e!==null;)Oy(e,a,r),e=e.sibling}function Oy(e,a,r){switch(e.tag){case 26:ts(e,a,r),e.flags&yl&&e.memoizedState!==null&&l2(r,Qn,e.memoizedState,e.memoizedProps);break;case 5:ts(e,a,r);break;case 3:case 4:var l=Qn;Qn=xu(e.stateNode.containerInfo),ts(e,a,r),Qn=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=yl,yl=16777216,ts(e,a,r),yl=l):ts(e,a,r));break;default:ts(e,a,r)}}function Ly(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function vl(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var r=0;r<a.length;r++){var l=a[r];Ot=l,Vy(l,e)}Ly(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)By(e),e=e.sibling}function By(e){switch(e.tag){case 0:case 11:case 15:vl(e),e.flags&2048&&vi(9,e,e.return);break;case 3:vl(e);break;case 12:vl(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&2&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,lu(e)):vl(e);break;default:vl(e)}}function lu(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var r=0;r<a.length;r++){var l=a[r];Ot=l,Vy(l,e)}Ly(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:vi(8,a,a.return),lu(a);break;case 22:r=a.stateNode,r._visibility&2&&(r._visibility&=-3,lu(a));break;default:lu(a)}e=e.sibling}}function Vy(e,a){for(;Ot!==null;){var r=Ot;switch(r.tag){case 0:case 11:case 15:vi(8,r,a);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var l=r.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:tl(r.memoizedState.cache)}if(l=r.child,l!==null)l.return=r,Ot=l;else e:for(r=e;Ot!==null;){l=Ot;var c=l.sibling,f=l.return;if(jy(l),l===r){Ot=null;break e}if(c!==null){c.return=f,Ot=c;break e}Ot=f}}}var ST={getCacheForType:function(e){var a=Vt(Et),r=a.data.get(e);return r===void 0&&(r=e(),a.data.set(e,r)),r},cacheSignal:function(){return Vt(Et).controller.signal}},TT=typeof WeakMap=="function"?WeakMap:Map,Ie=0,rt=null,Ue=null,Ge=0,et=0,yn=null,bi=!1,ns=!1,af=!1,qa=0,xt=0,xi=0,hr=0,rf=0,vn=0,as=0,bl=null,cn=null,sf=!1,ou=0,Uy=0,uu=1/0,cu=null,wi=null,_t=0,Si=null,is=null,Ya=0,lf=0,of=null,Hy=null,xl=0,uf=null;function bn(){return(Ie&2)!==0&&Ge!==0?Ge&-Ge:U.T!==null?pf():Y()}function Gy(){if(vn===0)if((Ge&536870912)===0||Ze){var e=Ea;Ea<<=1,(Ea&3932160)===0&&(Ea=262144),vn=e}else vn=536870912;return e=pn.current,e!==null&&(e.flags|=32),vn}function dn(e,a,r){(e===rt&&(et===2||et===9)||e.cancelPendingCommit!==null)&&(rs(e,0),Ti(e,Ge,vn,!1)),ia(e,r),((Ie&2)===0||e!==rt)&&(e===rt&&((Ie&2)===0&&(hr|=r),xt===4&&Ti(e,Ge,vn,!1)),oa(e))}function Ky(e,a,r){if((Ie&6)!==0)throw Error(s(327));var l=!r&&(a&127)===0&&(a&e.expiredLanes)===0||ii(e,a),c=l?kT(e,a):df(e,a,!0),f=l;do{if(c===0){ns&&!l&&Ti(e,a,0,!1);break}else{if(r=e.current.alternate,f&&!ET(r)){c=df(e,a,!1),f=!1;continue}if(c===2){if(f=a,e.errorRecoveryDisabledLanes&f)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){a=v;e:{var w=e;c=bl;var A=w.current.memoizedState.isDehydrated;if(A&&(rs(w,v).flags|=256),v=df(w,v,!1),v!==2){if(af&&!A){w.errorRecoveryDisabledLanes|=f,hr|=f,c=4;break e}f=cn,cn=c,f!==null&&(cn===null?cn=f:cn.push.apply(cn,f))}c=v}if(f=!1,c!==2)continue}}if(c===1){rs(e,0),Ti(e,a,0,!0);break}e:{switch(l=e,f=c,f){case 0:case 1:throw Error(s(345));case 4:if((a&4194048)!==a)break;case 6:Ti(l,a,vn,!bi);break e;case 2:cn=null;break;case 3:case 5:break;default:throw Error(s(329))}
vendor: 10,601 bytes, line 25
25if((a&62914560)===a&&(c=ou+300-$t(),10<c)){if(Ti(l,a,vn,!bi),Rr(l,0,!0)!==0)break e;Ya=a,l.timeoutHandle=bv(Zy.bind(null,l,r,cn,cu,sf,a,vn,hr,as,bi,f,"Throttled",-0,0),c);break e}Zy(l,r,cn,cu,sf,a,vn,hr,as,bi,f,null,-0,0)}}break}while(!0);oa(e)}function Zy(e,a,r,l,c,f,v,w,A,O,K,q,B,H){if(e.timeoutHandle=-1,q=a.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ca},Oy(a,f,q);var le=(f&62914560)===f?ou-$t():(f&4194048)===f?Uy-$t():0;if(le=o2(q,le),le!==null){Ya=f,e.cancelPendingCommit=le(Jy.bind(null,e,a,f,r,l,c,v,w,A,K,q,null,B,H)),Ti(e,f,v,!O);return}}Jy(e,a,f,r,l,c,v,w,A)}function ET(e){for(var a=e;;){var r=a.tag;if((r===0||r===11||r===15)&&a.flags&16384&&(r=a.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var l=0;l<r.length;l++){var c=r[l],f=c.getSnapshot;c=c.value;try{if(!hn(f(),c))return!1}catch{return!1}}if(r=a.child,a.subtreeFlags&16384&&r!==null)r.return=a,a=r;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ti(e,a,r,l){a&=~rf,a&=~hr,e.suspendedLanes|=a,e.pingedLanes&=~a,l&&(e.warmLanes|=a),l=e.expirationTimes;for(var c=a;0<c;){var f=31-Yt(c),v=1<<f;l[f]=-1,c&=~v}r!==0&&wo(e,r,a)}function du(){return(Ie&6)===0?(wl(0),!1):!0}function cf(){if(Ue!==null){if(et===0)var e=Ue.return;else e=Ue,Da=ir=null,Ad(e),Qr=null,al=0,e=Ue;for(;e!==null;)xy(e.alternate,e),e=e.return;Ue=null}}function rs(e,a){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,qT(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Ya=0,cf(),rt=e,Ue=r=_a(e.current,null),Ge=a,et=0,yn=null,bi=!1,ns=ii(e,a),af=!1,as=vn=rf=hr=xi=xt=0,cn=bl=null,sf=!1,(a&8)!==0&&(a|=a&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=a;0<l;){var c=31-Yt(l),f=1<<c;a|=e[c],l&=~f}return qa=a,_o(),r}function qy(e,a){Ce=null,U.H=dl,a===Xr||a===Ho?(a=sg(),et=3):a===hd?(a=sg(),et=4):et=a===Gd?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,yn=a,Ue===null&&(xt=1,eu(e,Rn(a,e.current)))}function Yy(){var e=pn.current;return e===null?!0:(Ge&4194048)===Ge?On===null:(Ge&62914560)===Ge||(Ge&536870912)!==0?e===On:!1}function Fy(){var e=U.H;return U.H=dl,e===null?dl:e}function Py(){var e=U.A;return U.A=ST,e}function fu(){xt=4,bi||(Ge&4194048)!==Ge&&pn.current!==null||(ns=!0),(xi&134217727)===0&&(hr&134217727)===0||rt===null||Ti(rt,Ge,vn,!1)}function df(e,a,r){var l=Ie;Ie|=2;var c=Fy(),f=Py();(rt!==e||Ge!==a)&&(cu=null,rs(e,a)),a=!1;var v=xt;e:do try{if(et!==0&&Ue!==null){var w=Ue,A=yn;switch(et){case 8:cf(),v=6;break e;case 3:case 2:case 9:case 6:pn.current===null&&(a=!0);var O=et;if(et=0,yn=null,ss(e,w,A,O),r&&ns){v=0;break e}break;default:O=et,et=0,yn=null,ss(e,w,A,O)}}AT(),v=xt;break}catch(K){qy(e,K)}while(!0);return a&&e.shellSuspendCounter++,Da=ir=null,Ie=l,U.H=c,U.A=f,Ue===null&&(rt=null,Ge=0,_o()),v}function AT(){for(;Ue!==null;)Xy(Ue)}function kT(e,a){var r=Ie;Ie|=2;var l=Fy(),c=Py();rt!==e||Ge!==a?(cu=null,uu=$t()+500,rs(e,a)):ns=ii(e,a);e:do try{if(et!==0&&Ue!==null){a=Ue;var f=yn;t:switch(et){case 1:et=0,yn=null,ss(e,a,f,1);break;case 2:case 9:if(ig(f)){et=0,yn=null,Qy(a);break}a=function(){et!==2&&et!==9||rt!==e||(et=7),oa(e)},f.then(a,a);break e;case 3:et=7;break e;case 4:et=5;break e;case 7:ig(f)?(et=0,yn=null,Qy(a)):(et=0,yn=null,ss(e,a,f,7));break;case 5:var v=null;switch(Ue.tag){case 26:v=Ue.memoizedState;case 5:case 27:var w=Ue;if(v?Dv(v):w.stateNode.complete){et=0,yn=null;var A=w.sibling;if(A!==null)Ue=A;else{var O=w.return;O!==null?(Ue=O,hu(O)):Ue=null}break t}}et=0,yn=null,ss(e,a,f,5);break;case 6:et=0,yn=null,ss(e,a,f,6);break;case 8:cf(),xt=6;break e;default:throw Error(s(462))}}MT();break}catch(K){qy(e,K)}while(!0);return Da=ir=null,U.H=l,U.A=c,Ie=r,Ue!==null?0:(rt=null,Ge=0,_o(),xt)}function MT(){for(;Ue!==null&&!kc();)Xy(Ue)}function Xy(e){var a=vy(e.alternate,e,qa);e.memoizedProps=e.pendingProps,a===null?hu(e):Ue=a}function Qy(e){var a=e,r=a.alternate;switch(a.tag){case 15:case 0:a=fy(r,a,a.pendingProps,a.type,void 0,Ge);break;case 11:a=fy(r,a,a.pendingProps,a.type.render,a.ref,Ge);break;case 5:Ad(a);default:xy(r,a),a=Ue=Pp(a,qa),a=vy(r,a,qa)}e.memoizedProps=e.pendingProps,a===null?hu(e):Ue=a}function ss(e,a,r,l){Da=ir=null,Ad(a),Qr=null,al=0;var c=a.return;try{if(pT(e,c,a,r,Ge)){xt=1,eu(e,Rn(r,e.current)),Ue=null;return}}catch(f){if(c!==null)throw Ue=c,f;xt=1,eu(e,Rn(r,e.current)),Ue=null;return}a.flags&32768?(Ze||l===1?e=!0:ns||(Ge&536870912)!==0?e=!1:(bi=e=!0,(l===2||l===9||l===3||l===6)&&(l=pn.current,l!==null&&l.tag===13&&(l.flags|=16384))),$y(a,e)):hu(a)}function hu(e){var a=e;do{if((a.flags&32768)!==0){$y(a,bi);return}e=a.return;var r=vT(a.alternate,a,qa);if(r!==null){Ue=r;return}if(a=a.sibling,a!==null){Ue=a;return}Ue=a=e}while(a!==null);xt===0&&(xt=5)}function $y(e,a){do{var r=bT(e.alternate,e);if(r!==null){r.flags&=32767,Ue=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!a&&(e=e.sibling,e!==null)){Ue=e;return}Ue=e=r}while(e!==null);xt=6,Ue=null}function Jy(e,a,r,l,c,f,v,w,A){e.cancelPendingCommit=null;do mu();while(_t!==0);if((Ie&6)!==0)throw Error(s(327));if(a!==null){if(a===e.current)throw Error(s(177));if(f=a.lanes|a.childLanes,f|=Ic,xo(e,r,f,v,w,A),e===rt&&(Ue=rt=null,Ge=0),is=a,Si=e,Ya=r,lf=f,of=c,Hy=l,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,RT(ai,function(){return nv(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||l){l=U.T,U.T=null,c=P.p,P.p=2,v=Ie,Ie|=4;try{xT(e,a,r)}finally{Ie=v,P.p=c,U.T=l}}_t=1,Iy(),Wy(),ev()}}function Iy(){if(_t===1){_t=0;var e=Si,a=is,r=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||r){r=U.T,U.T=null;var l=P.p;P.p=2;var c=Ie;Ie|=4;try{_y(a,e);var f=Tf,v=Vp(e.containerInfo),w=f.focusedElem,A=f.selectionRange;if(v!==w&&w&&w.ownerDocument&&Bp(w.ownerDocument.documentElement,w)){if(A!==null&&Pc(w)){var O=A.start,K=A.end;if(K===void 0&&(K=O),"selectionStart"in w)w.selectionStart=O,w.selectionEnd=Math.min(K,w.value.length);else{var q=w.ownerDocument||document,B=q&&q.defaultView||window;if(B.getSelection){var H=B.getSelection(),le=w.textContent.length,Se=Math.min(A.start,le),it=A.end===void 0?Se:Math.min(A.end,le);!H.extend&&Se>it&&(v=it,it=Se,Se=v);var _=Lp(w,Se),M=Lp(w,it);if(_&&M&&(H.rangeCount!==1||H.anchorNode!==_.node||H.anchorOffset!==_.offset||H.focusNode!==M.node||H.focusOffset!==M.offset)){var D=q.createRange();D.setStart(_.node,_.offset),H.removeAllRanges(),Se>it?(H.addRange(D),H.extend(M.node,M.offset)):(D.setEnd(M.node,M.offset),H.addRange(D))}}}}for(q=[],H=w;H=H.parentNode;)H.nodeType===1&&q.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<q.length;w++){var Z=q[w];Z.element.scrollLeft=Z.left,Z.element.scrollTop=Z.top}}ku=!!Sf,Tf=Sf=null}finally{Ie=c,P.p=l,U.T=r}}e.current=a,_t=2}}function Wy(){if(_t===2){_t=0;var e=Si,a=is,r=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||r){r=U.T,U.T=null;var l=P.p;P.p=2;var c=Ie;Ie|=4;try{My(e,a.alternate,a)}finally{Ie=c,P.p=l,U.T=r}}_t=3}}function ev(){if(_t===4||_t===3){_t=0,Mc();var e=Si,a=is,r=Ya,l=Hy;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?_t=5:(_t=0,is=Si=null,tv(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(wi=null),N(r),a=a.stateNode,Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(Ta,a,void 0,(a.current.flags&128)===128)}catch{}if(l!==null){a=U.T,c=P.p,P.p=2,U.T=null;try{for(var f=e.onRecoverableError,v=0;v<l.length;v++){var w=l[v];f(w.value,{componentStack:w.stack})}}finally{U.T=a,P.p=c}}(Ya&3)!==0&&mu(),oa(e),c=e.pendingLanes,(r&261930)!==0&&(c&42)!==0?e===uf?xl++:(xl=0,uf=e):xl=0,wl(0)}}function tv(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,tl(a)))}function mu(){return Iy(),Wy(),ev(),nv()}function nv(){if(_t!==5)return!1;var e=Si,a=lf;lf=0;var r=N(Ya),l=U.T,c=P.p;try{P.p=32>r?32:r,U.T=null,r=of,of=null;var f=Si,v=Ya;if(_t=0,is=Si=null,Ya=0,(Ie&6)!==0)throw Error(s(331));var w=Ie;if(Ie|=4,By(f.current),Dy(f,f.current,v,r),Ie=w,wl(0,!1),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(Ta,f)}catch{}return!0}finally{P.p=c,U.T=l,tv(e,a)}}function av(e,a,r){a=Rn(r,a),a=Hd(e.stateNode,a,2),e=pi(e,a,2),e!==null&&(ia(e,2),oa(e))}function tt(e,a,r){if(e.tag===3)av(e,e,r);else for(;a!==null;){if(a.tag===3){av(a,e,r);break}else if(a.tag===1){var l=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(wi===null||!wi.has(l))){e=Rn(r,e),r=iy(2),l=pi(a,r,2),l!==null&&(ry(r,l,a,e),ia(l,2),oa(l));break}}a=a.return}}function ff(e,a,r){var l=e.pingCache;if(l===null){l=e.pingCache=new TT;var c=new Set;l.set(a,c)}else c=l.get(a),c===void 0&&(c=new Set,l.set(a,c));c.has(r)||(af=!0,c.add(r),e=jT.bind(null,e,a,r),a.then(e,e))}function jT(e,a,r){var l=e.pingCache;l!==null&&l.delete(a),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,rt===e&&(Ge&r)===r&&(xt===4||xt===3&&(Ge&62914560)===Ge&&300>$t()-ou?(Ie&2)===0&&rs(e,0):rf|=r,as===Ge&&(as=0)),oa(e)}function iv(e,a){a===0&&(a=Zs()),e=tr(e,a),e!==null&&(ia(e,a),oa(e))}function zT(e){var a=e.memoizedState,r=0;a!==null&&(r=a.retryLane),iv(e,r)}function CT(e,a){var r=0;switch(e.tag){case 31:case 13:var l=e.stateNode,c=e.memoizedState;c!==null&&(r=c.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(s(314))}l!==null&&l.delete(a),iv(e,r)}function RT(e,a){return Cr(e,a)}var pu=null,ls=null,hf=!1,gu=!1,mf=!1,Ei=0;function oa(e){e!==ls&&e.next===null&&(ls===null?pu=ls=e:ls=ls.next=e),gu=!0,hf||(hf=!0,NT())}function wl(e,a){if(!mf&&gu){mf=!0;do for(var r=!1,l=pu;l!==null;){if(e!==0){var c=l.pendingLanes;if(c===0)var f=0;else{var v=l.suspendedLanes,w=l.pingedLanes;f=(1<<31-Yt(42|e)+1)-1,f&=c&~(v&~w),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(r=!0,ov(l,f))}else f=Ge,f=Rr(l,l===rt?f:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(f&3)===0||ii(l,f)||(r=!0,ov(l,f));l=l.next}while(r);mf=!1}}function _T(){rv()}function rv(){gu=hf=!1;var e=0;Ei!==0&&ZT()&&(e=Ei);for(var a=$t(),r=null,l=pu;l!==null;){var c=l.next,f=sv(l,a);f===0?(l.next=null,r===null?pu=c:r.next=c,c===null&&(ls=r)):(r=l,(e!==0||(f&3)!==0)&&(gu=!0)),l=c}_t!==0&&_t!==5||wl(e),Ei!==0&&(Ei=0)}function sv(e,a){for(var r=e.suspendedLanes,l=e.pingedLanes,c=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var v=31-Yt(f),w=1<<v,A=c[v];A===-1?((w&r)===0||(w&l)!==0)&&(c[v]=Rc(w,a)):A<=a&&(e.expiredLanes|=w),f&=~w}
vendor: 1,263 bytes, line 25
25if(a=rt,r=Ge,r=Rr(e,e===a?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,r===0||e===a&&(et===2||et===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Gs(l),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||ii(e,r)){if(a=r&-r,a===e.callbackPriority)return a;switch(l!==null&&Gs(l),N(r)){case 2:case 8:r=Ks;break;case 32:r=ai;break;case 268435456:r=kn;break;default:r=ai}return l=lv.bind(null,e),r=Cr(r,l),e.callbackPriority=a,e.callbackNode=r,a}return l!==null&&l!==null&&Gs(l),e.callbackPriority=2,e.callbackNode=null,2}function lv(e,a){if(_t!==0&&_t!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(mu()&&e.callbackNode!==r)return null;var l=Ge;return l=Rr(e,e===rt?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Ky(e,l,a),sv(e,$t()),e.callbackNode!=null&&e.callbackNode===r?lv.bind(null,e):null)}function ov(e,a){if(mu())return null;Ky(e,a,!0)}function NT(){YT(function(){(Ie&6)!==0?Cr(ni,_T):rv()})}function pf(){if(Ei===0){var e=Fr;e===0&&(e=Qi,Qi<<=1,(Qi&261888)===0&&(Qi=256)),Ei=e}return Ei}function uv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Eo(""+e)}function cv(e,a){var r=a.ownerDocument.createElement("input");
vendor: 4,991 bytes, line 25
25return r.name=a.name,r.value=a.value,e.id&&r.setAttribute("form",e.id),a.parentNode.insertBefore(r,a),e=new FormData(e),r.parentNode.removeChild(r),e}function DT(e,a,r,l,c){if(a==="submit"&&r&&r.stateNode===c){var f=uv((c[ae]||null).action),v=l.submitter;v&&(a=(a=v[ae]||null)?uv(a.formAction):v.getAttribute("formAction"),a!==null&&(f=a,v=null));var w=new jo("action","action",null,l,c);e.push({event:w,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ei!==0){var A=v?cv(c,v):new FormData(c);Dd(r,{pending:!0,data:A,method:c.method,action:f},null,A)}}else typeof f=="function"&&(w.preventDefault(),A=v?cv(c,v):new FormData(c),Dd(r,{pending:!0,data:A,method:c.method,action:f},f,A))},currentTarget:c}]})}}for(var gf=0;gf<Jc.length;gf++){var yf=Jc[gf],OT=yf.toLowerCase(),LT=yf[0].toUpperCase()+yf.slice(1);Xn(OT,"on"+LT)}Xn(Gp,"onAnimationEnd"),Xn(Kp,"onAnimationIteration"),Xn(Zp,"onAnimationStart"),Xn("dblclick","onDoubleClick"),Xn("focusin","onFocus"),Xn("focusout","onBlur"),Xn(IS,"onTransitionRun"),Xn(WS,"onTransitionStart"),Xn(eT,"onTransitionCancel"),Xn(qp,"onTransitionEnd"),Rt("onMouseEnter",["mouseout","mouseover"]),Rt("onMouseLeave",["mouseout","mouseover"]),Rt("onPointerEnter",["pointerout","pointerover"]),Rt("onPointerLeave",["pointerout","pointerover"]),Mn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Mn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Mn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Mn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Mn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Mn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),BT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sl));function dv(e,a){a=(a&4)!==0;for(var r=0;r<e.length;r++){var l=e[r],c=l.event;l=l.listeners;e:{var f=void 0;if(a)for(var v=l.length-1;0<=v;v--){var w=l[v],A=w.instance,O=w.currentTarget;if(w=w.listener,A!==f&&c.isPropagationStopped())break e;f=w,c.currentTarget=O;try{f(c)}catch(K){Ro(K)}c.currentTarget=null,f=A}else for(v=0;v<l.length;v++){if(w=l[v],A=w.instance,O=w.currentTarget,w=w.listener,A!==f&&c.isPropagationStopped())break e;f=w,c.currentTarget=O;try{f(c)}catch(K){Ro(K)}c.currentTarget=null,f=A}}}}function He(e,a){var r=a[pe];r===void 0&&(r=a[pe]=new Set);var l=e+"__bubble";r.has(l)||(fv(a,e,2,!1),r.add(l))}function vf(e,a,r){var l=0;a&&(l|=4),fv(r,e,l,a)}var yu="_reactListening"+Math.random().toString(36).slice(2);function bf(e){if(!e[yu]){e[yu]=!0,Pn.forEach(function(r){r!=="selectionchange"&&(BT.has(r)||vf(r,!1,e),vf(r,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[yu]||(a[yu]=!0,vf("selectionchange",!1,a))}}function fv(e,a,r,l){switch(Gv(a)){case 2:var c=d2;break;case 8:c=f2;break;default:c=Df}r=c.bind(null,a,r,e),c=void 0,!Vc||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(c=!0),l?c!==void 0?e.addEventListener(a,r,{capture:!0,passive:c}):e.addEventListener(a,r,!0):c!==void 0?e.addEventListener(a,r,{passive:c}):e.addEventListener(a,r,!1)}function xf(e,a,r,l,c){var f=l;if((a&1)===0&&(a&2)===0&&l!==null)e:for(;;){if(l===null)return;var v=l.tag;if(v===3||v===4){var w=l.stateNode.containerInfo;if(w===c)break;if(v===4)for(v=l.return;v!==null;){var A=v.tag;if((A===3||A===4)&&v.stateNode.containerInfo===c)return;v=v.return}for(;w!==null;){if(v=ct(w),v===null)return;if(A=v.tag,A===5||A===6||A===26||A===27){l=f=v;continue e}w=w.parentNode}}l=l.return}yp(function(){var O=f,K=Lc(r),q=[];e:{var B=Yp.get(e);if(B!==void 0){var H=jo,le=e;switch(e){case"keypress":if(ko(r)===0)break e;case"keydown":case"keyup":H=CS;break;case"focusin":le="focus",H=Kc;break;case"focusout":le="blur",H=Kc;break;case"beforeblur":case"afterblur":H=Kc;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=xp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=vS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=NS;break;case Gp:case Kp:case Zp:H=wS;break;case qp:H=OS;break;case"scroll":case"scrollend":H=gS;break;case"wheel":H=BS;break;case"copy":case"cut":case"paste":H=TS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=Sp;break;case"toggle":case"beforetoggle":H=US}var Se=(a&4)!==0,it=!Se&&(e==="scroll"||e==="scrollend"),_=Se?B!==null?B+"
25Capture":null:B;Se=[];for(var M=O,D;M!==null;){var Z=M;if(D=Z.stateNode,Z=Z.tag,Z!==5&&Z!==26&&Z!==27||D===null||_===null||(Z=qs(M,_),Z!=null&&Se.push(Tl(M,Z,D))),it)break;M=M.return}0<Se.length&&(B=new H(B,le,null,r,K),q.push({event:B,listeners:Se}))}}if((a&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",H=e==="mouseout"||e==="pointerout",B&&r!==Oc&&(le=r.relatedTarget||r.fromElement)&&(ct(le)||le[W]))break e;if((H||B)&&(B=K.window===K?K:(B=K.ownerDocument)?B.defaultView||B.parentWindow:window,H?(le=r.relatedTarget||r.toElement,H=O,le=le?ct(le):null,le!==null&&(it=u(le),Se=le.tag,le!==it||Se!==5&&Se!==27&&Se!==6)&&(le=null)):(H=null,le=O),H!==le)){if(Se=xp,Z="onMouseLeave",_="onMouseEnter",M="mouse",(e==="pointerout"||e==="pointerover")&&(Se=Sp,Z="onPointerLeave",_="onPointerEnter",M="pointer"),it=H==null?B:It(H),D=le==null?B:It(le),B=new Se(Z,M+"leave",H,r,K),B.target=it,B.relatedTarget=D,Z=null,ct(K)===O&&(Se=new Se(_,M+"enter",le,r,K),Se.target=D,Se.relatedTarget=it,Z=Se),it=Z,H&&le)t:{for(Se=VT,_=H,M=le,D=0,Z=_;Z;Z=Se(Z))D++;Z=0;for(var ge=M;ge;ge=Se(ge))Z++;for(;0<D-Z;)_=Se(_),D--;for(;0<Z-D;)M=Se(M),Z--;for(;D--;){if(_===M||M!==null&&_===M.alternate){Se=_;break t}_=Se(_),M=Se(M)}Se=null}else Se=null;H!==null&&hv(q,B,H,Se,!1),le!==null&&it!==null&&hv(q,it,le,Se,!0)}}
vendor: 5,189 bytes, lines 25-26
25e:{if(B=O?It(O):window,H=B.nodeName&&B.nodeName.toLowerCase(),H==="select"||H==="input"&&B.type==="file")var Fe=Cp;else if(jp(B))if(Rp)Fe=QS;else{Fe=PS;var fe=FS}else H=B.nodeName,!H||H.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?O&&Dc(O.elementType)&&(Fe=Cp):Fe=XS;if(Fe&&(Fe=Fe(e,O))){zp(q,Fe,r,K);break e}fe&&fe(e,B,O),e==="focusout"&&O&&B.type==="number"&&O.memoizedProps.value!=null&&Nc(B,"number",B.value)}switch(fe=O?It(O):window,e){case"focusin":(jp(fe)||fe.contentEditable==="true")&&(Vr=fe,Xc=O,Is=null);break;case"focusout":Is=Xc=Vr=null;break;case"mousedown":Qc=!0;break;case"contextmenu":case"mouseup":case"dragend":Qc=!1,Up(q,r,K);break;case"selectionchange":if(JS)break;case"keydown":case"keyup":Up(q,r,K)}var _e;if(qc)e:{switch(e){case"compositionstart":var Ke="onCompositionStart";break e;case"compositionend":Ke="onCompositionEnd";break e;case"compositionupdate":Ke="onCompositionUpdate";break e}Ke=void 0}else Br?kp(e,r)&&(Ke="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(Ke="onCompositionStart");Ke&&(Tp&&r.locale!=="ko"&&(Br||Ke!=="onCompositionStart"?Ke==="onCompositionEnd"&&Br&&(_e=vp()):(oi=K,Uc="value"in oi?oi.value:oi.textContent,Br=!0)),fe=vu(O,Ke),0<fe.length&&(Ke=new wp(Ke,e,null,r,K),q.push({event:Ke,listeners:fe}),_e?Ke.data=_e:(_e=Mp(r),_e!==null&&(Ke.data=_e)))),(_e=GS?KS(e,r):ZS(e,r))&&(Ke=vu(O,"onBeforeInput"),0<Ke.length&&(fe=new wp("onBeforeInput","beforeinput",null,r,K),q.push({event:fe,listeners:Ke}),fe.data=_e)),DT(q,e,O,r,K)}dv(q,a)})}function Tl(e,a,r){return{instance:e,listener:a,currentTarget:r}}function vu(e,a){for(var r=a+"Capture",l=[];e!==null;){var c=e,f=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||f===null||(c=qs(e,r),c!=null&&l.unshift(Tl(e,c,f)),c=qs(e,a),c!=null&&l.push(Tl(e,c,f))),e.tag===3)return l;e=e.return}return[]}function VT(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function hv(e,a,r,l,c){for(var f=a._reactName,v=[];r!==null&&r!==l;){var w=r,A=w.alternate,O=w.stateNode;if(w=w.tag,A!==null&&A===l)break;w!==5&&w!==26&&w!==27||O===null||(A=O,c?(O=qs(r,f),O!=null&&v.unshift(Tl(r,O,A))):c||(O=qs(r,f),O!=null&&v.push(Tl(r,O,A)))),r=r.return}v.length!==0&&e.push({event:a,listeners:v})}var UT=/\r\n?/g,HT=/\u0000|\uFFFD/g;function mv(e){return(typeof e=="string"?e:""+e).replace(UT,`
26`).replace(HT,"")}function pv(e,a){return a=mv(a),mv(e)===a}function at(e,a,r,l,c,f){switch(r){case"children":typeof l=="string"?a==="body"||a==="textarea"&&l===""||Dr(e,l):(typeof l=="number"||typeof l=="bigint")&&a!=="body"&&Dr(e,""+l);break;case"className":za(e,"class",l);break;case"tabIndex":za(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":za(e,r,l);break;case"style":pp(e,l,f);break;case"data":if(a!=="object"){za(e,"data",l);break}case"src":case"href":if(l===""&&(a!=="a"||r!=="href")){e.removeAttribute(r);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=Eo(""+l),e.setAttribute(r,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(r==="formAction"?(a!=="input"&&at(e,a,"name",c.name,c,null),at(e,a,"formEncType",c.formEncType,c,null),at(e,a,"formMethod",c.formMethod,c,null),at(e,a,"formTarget",c.formTarget,c,null)):(at(e,a,"encType",c.encType,c,null),at(e,a,"method",c.method,c,null),at(e,a,"target",c.target,c,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=Eo(""+l),e.setAttribute(r,l);break;case"onClick":l!=null&&(e.onclick=Ca);break;case"onScroll":l!=null&&He("scroll",e);break;case"onScrollEnd":l!=null&&He("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(r=l.__html,r!=null){if(c.children!=null)throw Error(s(60));e.innerHTML=r}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}r=Eo(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,""+l):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
26ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":l===!0?e.setAttribute(r,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,l):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(r,l):e.removeAttribute(r);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(r):e.setAttribute(r,l);break;case"popover":He("beforetoggle",e),He("toggle",e),ja(e,"popover",l);break;case"xlinkActuate":ke(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":ke(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":ke(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":ke(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":ke(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":ke(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":ke(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":ke(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":ke(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":ja(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=mS.get(r)||r,ja(e,r,l))}}function wf(e,a,r,l,c,f){switch(r){case"style":pp(e,l,f);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(r=l.__html,r!=null){if(c.children!=null)throw Error(s(60));e.innerHTML=r}}break;case"children":typeof l=="string"?Dr(e,l):(typeof l=="number"||typeof l=="bigint")&&Dr(e,""+l);break;case"onScroll":l!=null&&He("scroll",e);break;case"onScrollEnd":l!=null&&He("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Ca);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Aa.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(c=r.endsWith("Capture"),a=r.slice(2,c?r.length-7:void 0),f=e[ae]||null,f=f!=null?f[r]:null,typeof f=="function"&&e.removeEventListener(a,f,c),typeof l=="function")){typeof f!="function"&&f!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(a,l,c);break e}r in e?e[r]=l:l===!0?e.setAttribute(r,""):ja(e,r,l)}}}function Ht(e,a,r){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":He("error",e),He("load",e);var l=!1,c=!1,f;for(f in r)if(r.hasOwnProperty(f)){var v=r[f];if(v!=null)switch(f){case"src":l=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,a));default:at(e,a,f,v,r,null)}}c&&at(e,a,"srcSet",r.srcSet,r,null),l&&at(e,a,"src",r.src,r,null);return;case"input":He("invalid",e);var w=f=v=c=null,A=null,O=null;for(l in r)if(r.hasOwnProperty(l)){var K=r[l];if(K!=null)switch(l){case"name":c=K;break;case"type":v=K;break;case"checked":A=K;break;case"defaultChecked":O=K;break;case"value":f=K;break;case"defaultValue":w=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(s(137,a));break;default:at(e,a,l,K,r,null)}}dp(e,f,w,A,O,v,c,!1);return;case"select":He("invalid",e),l=v=f=null;for(c in r)if(r.hasOwnProperty(c)&&(w=r[c],w!=null))switch(c){case"value":f=w;break;case"defaultValue":v=w;break;case"multiple":l=w;default:at(e,a,c,w,r,null)}a=f,r=v,e.multiple=!!l,a!=null?Nr(e,!!l,a,!1):r!=null&&Nr(e,!!l,r,!0);return;case"textarea":He("invalid",e),f=c=l=null;for(v in r)if(r.hasOwnProperty(v)&&(w=r[v],w!=null))switch(v){case"value":l=w;break;case"defaultValue":c=w;break;case"children":f=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(s(91));break;default:at(e,a,v,w,r,null)}hp(e,l,c,f);return;case"option":for(A in r)if(r.hasOwnProperty(A)&&(l=r[A],l!=null))switch(A){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:at(e,a,A,l,r,null)}return;case"dialog":He("beforetoggle",e),He("toggle",e),He("cancel",e),He("close",e);break;case"iframe":case"object":He("load",e);break;case"video":case"audio":for(l=0;l<Sl.length;l++)He(Sl[l],e);break;case"image":He("error",e),He("load",e);break;case"details":He("toggle",e);break;case"embed":case"source":case"link":He("error",e),He("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(O in r)if(r.hasOwnProperty(O)&&(l=r[O],l!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,a));default:at(e,a,O,l,r,null)}return;default:if(Dc(a)){for(K in r)r.hasOwnProperty(K)&&(l=r[K],l!==void 0&&wf(e,a,K,l,r,void 0));return}}for(w in r)r.hasOwnProperty(w)&&(l=r[w],l!=null&&at(e,a,w,l,r,null))}function GT(e,a,r,l){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,f=null,v=null,w=null,A=null,O=null,K=null;for(H in r){var q=r[H];if(r.hasOwnProperty(H)&&q!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":A=q;default:l.hasOwnProperty(H)||at(e,a,H,null,l,q)}}for(var B in l){var H=l[B];if(q=r[B],l.hasOwnProperty(B)&&(H!=null||q!=null))switch(B){case"type":f=H;break;case"name":c=H;break;case"checked":O=H;break;case"defaultChecked":K=H;break;case"value":v=H;break;case"defaultValue":w=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(s(137,a));break;default:H!==q&&at(e,a,B,H,l,q)}}_c(e,v,w,A,O,K,f,c);return;case"select":H=v=w=B=null;for(f in r)if(A=r[f],r.hasOwnProperty(f)&&A!=null)switch(f){case"value":break;case"multiple":H=A;default:l.hasOwnProperty(f)||at(e,a,f,null,l,A)}for(c in l)if(f=l[c],A=r[c],l.hasOwnProperty(c)&&(f!=null||A!=null))switch(c){case"value":B=f;break;case"defaultValue":w=f;break;case"multiple":v=f;default:f!==A&&at(e,a,c,f,l,A)}a=w,r=v,l=H,B!=null?Nr(e,!!r,B,!1):!!l!=!!r&&(a!=null?Nr(e,!!r,a,!0):Nr(e,!!r,r?[]:"",!1));return;case"textarea":H=B=null;for(w in r)if(c=r[w],r.hasOwnProperty(w)&&c!=null&&!l.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:at(e,a,w,null,l,c)}for(v in l)if(c=l[v],f=r[v],l.hasOwnProperty(v)&&(c!=null||f!=null))switch(v){case"value":B=c;break;case"defaultValue":H=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(s(91));break;default:c!==f&&at(e,a,v,c,l,f)}fp(e,B,H);return;case"option":for(var le in r)if(B=r[le],r.hasOwnProperty(le)&&B!=null&&!l.hasOwnProperty(le))switch(le){case"selected":e.selected=!1;break;default:at(e,a,le,null,l,B)}for(A in l)if(B=l[A],H=r[A],l.hasOwnProperty(A)&&B!==H&&(B!=null||H!=null))switch(A){case"selected":e.selected=B&&typeof B!="function"&&typeof B!="symbol";break;default:at(e,a,A,B,l,H)}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 Se in r)B=r[Se],r.hasOwnProperty(Se)&&B!=null&&!l.hasOwnProperty(Se)&&at(e,a,Se,null,l,B);for(O in l)if(B=l[O],H=r[O],l.hasOwnProperty(O)&&B!==H&&(B!=null||H!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(s(137,a));break;default:at(e,a,O,B,l,H)}return;default:if(Dc(a)){for(var it in r)B=r[it],r.hasOwnProperty(it)&&B!==void 0&&!l.hasOwnProperty(it)&&wf(e,a,it,void 0,l,B);for(K in l)B=l[K],H=r[K],!l.hasOwnProperty(K)||B===H||B===void 0&&H===void 0||wf(e,a,K,B,l,H);return}}for(var _ in r)B=r[_],r.hasOwnProperty(_)&&B!=null&&!l.hasOwnProperty(_)&&at(e,a,_,null,l,B);for(q in l)B=l[q],H=r[q],!l.hasOwnProperty(q)||B===H||B==null&&H==null||at(e,a,q,B,l,H)}
vendor: 14,719 bytes, line 26
26function gv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function KT(){if(typeof performance.getEntriesByType=="function"){for(var e=0,a=0,r=performance.getEntriesByType("resource"),l=0;l<r.length;l++){var c=r[l],f=c.transferSize,v=c.initiatorType,w=c.duration;if(f&&w&&gv(v)){for(v=0,w=c.responseEnd,l+=1;l<r.length;l++){var A=r[l],O=A.startTime;if(O>w)break;var K=A.transferSize,q=A.initiatorType;K&&gv(q)&&(A=A.responseEnd,v+=K*(A<w?1:(w-O)/(A-O)))}if(--l,a+=8*(f+v)/(c.duration/1e3),e++,10<e)break}}if(0<e)return a/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Sf=null,Tf=null;function bu(e){return e.nodeType===9?e:e.ownerDocument}function yv(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 vv(e,a){if(e===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&a==="foreignObject"?0:e}function Ef(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Af=null;function ZT(){var e=window.event;return e&&e.type==="popstate"?e===Af?!1:(Af=e,!0):(Af=null,!1)}var bv=typeof setTimeout=="function"?setTimeout:void 0,qT=typeof clearTimeout=="function"?clearTimeout:void 0,xv=typeof Promise=="function"?Promise:void 0,YT=typeof queueMicrotask=="function"?queueMicrotask:typeof xv<"u"?function(e){return xv.resolve(null).then(e).catch(FT)}:bv;function FT(e){setTimeout(function(){throw e})}function Ai(e){return e==="head"}function wv(e,a){var r=a,l=0;do{var c=r.nextSibling;if(e.removeChild(r),c&&c.nodeType===8)if(r=c.data,r==="/$"||r==="/&"){if(l===0){e.removeChild(c),ds(a);return}l--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")l++;else if(r==="html")El(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,El(r);for(var f=r.firstChild;f;){var v=f.nextSibling,w=f.nodeName;f[Qe]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&f.rel.toLowerCase()==="stylesheet"||r.removeChild(f),f=v}}else r==="body"&&El(e.ownerDocument.body);r=c}while(r);ds(a)}function Sv(e,a){var r=e;e=0;do{var l=r.nextSibling;if(r.nodeType===1?a?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(a?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),l&&l.nodeType===8)if(r=l.data,r==="/$"){if(e===0)break;e--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||e++;r=l}while(r)}function kf(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var r=a;switch(a=a.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":kf(r),Ye(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function PT(e,a,r,l){for(;e.nodeType===1;){var c=r;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Qe])switch(a){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(f=e.getAttribute("rel"),f==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(f!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){var f=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=Ln(e.nextSibling),e===null)break}return null}function XT(e,a,r){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=Ln(e.nextSibling),e===null))return null;return e}function Tv(e,a){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Ln(e.nextSibling),e===null))return null;return e}function Mf(e){return e.data==="$?"||e.data==="$~"}function jf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function QT(e,a){var r=e.ownerDocument;if(e.data==="$~")e._reactRetry=a;else if(e.data!=="$?"||r.readyState!=="loading")a();else{var l=function(){a(),r.removeEventListener("DOMContentLoaded",l)};r.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Ln(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return e}var zf=null;function Ev(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(a===0)return Ln(e.nextSibling);a--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||a++}e=e.nextSibling}return null}function Av(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(a===0)return e;a--}else r!=="/$"&&r!=="/&"||a++}e=e.previousSibling}return null}function kv(e,a,r){switch(a=bu(r),e){case"html":if(e=a.documentElement,!e)throw Error(s(452));return e;case"head":if(e=a.head,!e)throw Error(s(453));return e;case"body":if(e=a.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function El(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);Ye(e)}var Bn=new Map,Mv=new Set;function xu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Fa=P.d;P.d={f:$T,r:JT,D:IT,C:WT,L:e2,m:t2,X:a2,S:n2,M:i2};function $T(){var e=Fa.f(),a=du();return e||a}function JT(e){var a=ze(e);a!==null&&a.tag===5&&a.type==="form"?qg(a):Fa.r(e)}var os=typeof document>"u"?null:document;function jv(e,a,r){var l=os;if(l&&typeof a=="string"&&a){var c=rn(a);c='link[rel="'+e+'"][href="'+c+'"]',typeof r=="string"&&(c+='[crossorigin="'+r+'"]'),Mv.has(c)||(Mv.add(c),e={rel:e,crossOrigin:r,href:a},l.querySelector(c)===null&&(a=l.createElement("link"),Ht(a,"link",e),$e(a),l.head.appendChild(a)))}}function IT(e){Fa.D(e),jv("dns-prefetch",e,null)}function WT(e,a){Fa.C(e,a),jv("preconnect",e,a)}function e2(e,a,r){Fa.L(e,a,r);var l=os;if(l&&e&&a){var c='link[rel="preload"][as="'+rn(a)+'"]';a==="image"&&r&&r.imageSrcSet?(c+='[imagesrcset="'+rn(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(c+='[imagesizes="'+rn(r.imageSizes)+'"]')):c+='[href="'+rn(e)+'"]';var f=c;switch(a){case"style":f=us(e);break;case"script":f=cs(e)}Bn.has(f)||(e=b({rel:"preload",href:a==="image"&&r&&r.imageSrcSet?void 0:e,as:a},r),Bn.set(f,e),l.querySelector(c)!==null||a==="style"&&l.querySelector(Al(f))||a==="script"&&l.querySelector(kl(f))||(a=l.createElement("link"),Ht(a,"link",e),$e(a),l.head.appendChild(a)))}}function t2(e,a){Fa.m(e,a);var r=os;if(r&&e){var l=a&&typeof a.as=="string"?a.as:"script",c='link[rel="modulepreload"][as="'+rn(l)+'"][href="'+rn(e)+'"]',f=c;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=cs(e)}if(!Bn.has(f)&&(e=b({rel:"modulepreload",href:e},a),Bn.set(f,e),r.querySelector(c)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(kl(f)))return}l=r.createElement("link"),Ht(l,"link",e),$e(l),r.head.appendChild(l)}}}function n2(e,a,r){Fa.S(e,a,r);var l=os;if(l&&e){var c=vt(l).hoistableStyles,f=us(e);a=a||"default";var v=c.get(f);if(!v){var w={loading:0,preload:null};if(v=l.querySelector(Al(f)))w.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":a},r),(r=Bn.get(f))&&Cf(e,r);var A=v=l.createElement("link");$e(A),Ht(A,"link",e),A._p=new Promise(function(O,K){A.onload=O,A.onerror=K}),A.addEventListener("load",function(){w.loading|=1}),A.addEventListener("error",function(){w.loading|=2}),w.loading|=4,wu(v,a,l)}v={type:"stylesheet",instance:v,count:1,state:w},c.set(f,v)}}}function a2(e,a){Fa.X(e,a);var r=os;if(r&&e){var l=vt(r).hoistableScripts,c=cs(e),f=l.get(c);f||(f=r.querySelector(kl(c)),f||(e=b({src:e,async:!0},a),(a=Bn.get(c))&&Rf(e,a),f=r.createElement("script"),$e(f),Ht(f,"link",e),r.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},l.set(c,f))}}function i2(e,a){Fa.M(e,a);var r=os;if(r&&e){var l=vt(r).hoistableScripts,c=cs(e),f=l.get(c);f||(f=r.querySelector(kl(c)),f||(e=b({src:e,async:!0,type:"module"},a),(a=Bn.get(c))&&Rf(e,a),f=r.createElement("script"),$e(f),Ht(f,"link",e),r.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},l.set(c,f))}}function zv(e,a,r,l){var c=(c=ut.current)?xu(c):null;if(!c)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(a=us(r.href),r=vt(c).hoistableStyles,l=r.get(a),l||(l={type:"style",instance:null,count:0,state:null},r.set(a,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=us(r.href);var f=vt(c).hoistableStyles,v=f.get(e);if(v||(c=c.ownerDocument||c,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(e,v),(f=c.querySelector(Al(e)))&&!f._p&&(v.instance=f,v.state.loading=5),Bn.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},Bn.set(e,r),f||r2(c,e,r,v.state))),a&&l===null)throw Error(s(528,""));return v}if(a&&l!==null)throw Error(s(529,""));return null;case"script":return a=r.async,r=r.src,typeof r=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=cs(r),r=vt(c).hoistableScripts,l=r.get(a),l||(l={type:"script",instance:null,count:0,state:null},r.set(a,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function us(e){return'href="'+rn(e)+'"'}function Al(e){return'link[rel="stylesheet"]['+e+"]"}function Cv(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function r2(e,a,r,l){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=e.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),Ht(a,"link",r),$e(a),e.head.appendChild(a))}function cs(e){return'[src="'+rn(e)+'"]'}function kl(e){return"script[async]"+e}function Rv(e,a,r){if(a.count++,a.instance===null)switch(a.type){case"style":var l=e.querySelector('style[data-href~="'+rn(r.href)+'"]');if(l)return a.instance=l,$e(l),l;var c=b({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),$e(l),Ht(l,"style",c),wu(l,r.precedence,e),a.instance=l;case"stylesheet":c=us(r.href);var f=e.querySelector(Al(c));if(f)return a.state.loading|=4,a.instance=f,$e(f),f;l=Cv(r),(c=Bn.get(c))&&Cf(l,c),f=(e.ownerDocument||e).createElement("link"),$e(f);var v=f;return v._p=new Promise(function(w,A){v.onload=w,v.onerror=A}),Ht(f,"link",l),a.state.loading|=4,wu(f,r.precedence,e),a.instance=f;case"script":return f=cs(r.src),(c=e.querySelector(kl(f)))?(a.instance=c,$e(c),c):(l=r,(c=Bn.get(f))&&(l=b({},r),Rf(l,c)),e=e.ownerDocument||e,c=e.createElement("script"),$e(c),Ht(c,"link",l),e.head.appendChild(c),a.instance=c);case"void":return null;default:throw Error(s(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(l=a.instance,a.state.loading|=4,wu(l,r.precedence,e));return a.instance}function wu(e,a,r){for(var l=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=l.length?l[l.length-1]:null,f=c,v=0;v<l.length;v++){var w=l[v];if(w.dataset.precedence===a)f=w;else if(f!==c)break}f?f.parentNode.insertBefore(e,f.nextSibling):(a=r.nodeType===9?r.head:r,a.insertBefore(e,a.firstChild))}function Cf(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function Rf(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var Su=null;function _v(e,a,r){if(Su===null){var l=new Map,c=Su=new Map;c.set(r,l)}else c=Su,l=c.get(r),l||(l=new Map,c.set(r,l));if(l.has(e))return l;for(l.set(e,null),r=r.getElementsByTagName(e),c=0;c<r.length;c++){var f=r[c];if(!(f[Qe]||f[ne]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var v=f.getAttribute(a)||"";v=e+v;var w=l.get(v);w?w.push(f):l.set(v,[f])}}return l}function Nv(e,a,r){e=e.ownerDocument||e,e.head.insertBefore(r,a==="title"?e.querySelector("head > title"):null)}function s2(e,a,r){if(r===1||a.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return e=a.disabled,typeof a.precedence=="string"&&e==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Dv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function l2(e,a,r,l){if(r.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var c=us(l.href),f=a.querySelector(Al(c));if(f){a=f._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(e.count++,e=Tu.bind(e),a.then(e,e)),r.state.loading|=4,r.instance=f,$e(f);return}f=a.ownerDocument||a,l=Cv(l),(c=Bn.get(c))&&Cf(l,c),f=f.createElement("link"),$e(f);var v=f;v._p=new Promise(function(w,A){v.onload=w,v.onerror=A}),Ht(f,"link",l),r.instance=f}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,a),(a=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=Tu.bind(e),a.addEventListener("load",r),a.addEventListener("error",r))}}var _f=0;function o2(e,a){return e.stylesheets&&e.count===0&&Au(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var l=setTimeout(function(){if(e.stylesheets&&Au(e,e.stylesheets),e.unsu
vendor: 10,519 bytes, line 26
26spend){var f=e.unsuspend;e.unsuspend=null,f()}},6e4+a);0<e.imgBytes&&_f===0&&(_f=62500*KT());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Au(e,e.stylesheets),e.unsuspend)){var f=e.unsuspend;e.unsuspend=null,f()}},(e.imgBytes>_f?50:800)+a);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(c)}}:null}function Tu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Au(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Eu=null;function Au(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Eu=new Map,a.forEach(u2,e),Eu=null,Tu.call(e))}function u2(e,a){if(!(a.state.loading&4)){var r=Eu.get(e);if(r)var l=r.get(null);else{r=new Map,Eu.set(e,r);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<c.length;f++){var v=c[f];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(r.set(v.dataset.precedence,v),l=v)}l&&r.set(null,l)}c=a.instance,v=c.getAttribute("data-precedence"),f=r.get(v)||l,f===l&&r.set(null,c),r.set(v,c),this.count++,l=Tu.bind(this),c.addEventListener("load",l),c.addEventListener("error",l),f?f.parentNode.insertBefore(c,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),a.state.loading|=4}}var Ml={$$typeof:G,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function c2(e,a,r,l,c,f,v,w,A){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ri(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ri(0),this.hiddenUpdates=ri(null),this.identifierPrefix=l,this.onUncaughtError=c,this.onCaughtError=f,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Ov(e,a,r,l,c,f,v,w,A,O,K,q){return e=new c2(e,a,r,v,A,O,K,q,w),a=1,f===!0&&(a|=24),f=mn(3,null,null,a),e.current=f,f.stateNode=e,a=cd(),a.refCount++,e.pooledCache=a,a.refCount++,f.memoizedState={element:l,isDehydrated:r,cache:a},md(f),e}function Lv(e){return e?(e=Gr,e):Gr}function Bv(e,a,r,l,c,f){c=Lv(c),l.context===null?l.context=c:l.pendingContext=c,l=mi(a),l.payload={element:r},f=f===void 0?null:f,f!==null&&(l.callback=f),r=pi(e,l,a),r!==null&&(dn(r,e,a),rl(r,e,a))}function Vv(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<a?r:a}}function Nf(e,a){Vv(e,a),(e=e.alternate)&&Vv(e,a)}function Uv(e){if(e.tag===13||e.tag===31){var a=tr(e,67108864);a!==null&&dn(a,e,67108864),Nf(e,67108864)}}function Hv(e){if(e.tag===13||e.tag===31){var a=bn();a=j(a);var r=tr(e,a);r!==null&&dn(r,e,a),Nf(e,a)}}var ku=!0;function d2(e,a,r,l){var c=U.T;U.T=null;var f=P.p;try{P.p=2,Df(e,a,r,l)}finally{P.p=f,U.T=c}}function f2(e,a,r,l){var c=U.T;U.T=null;var f=P.p;try{P.p=8,Df(e,a,r,l)}finally{P.p=f,U.T=c}}function Df(e,a,r,l){if(ku){var c=Of(l);if(c===null)xf(e,a,l,Mu,r),Kv(e,l);else if(m2(c,e,a,r,l))l.stopPropagation();else if(Kv(e,l),a&4&&-1<h2.indexOf(e)){for(;c!==null;){var f=ze(c);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var v=Fn(f.pendingLanes);if(v!==0){var w=f;for(w.pendingLanes|=2,w.entangledLanes|=2;v;){var A=1<<31-Yt(v);w.entanglements[1]|=A,v&=~A}oa(f),(Ie&6)===0&&(uu=$t()+500,wl(0))}}break;case 31:case 13:w=tr(f,2),w!==null&&dn(w,f,2),du(),Nf(f,2)}if(f=Of(l),f===null&&xf(e,a,l,Mu,r),f===c)break;c=f}c!==null&&l.stopPropagation()}else xf(e,a,l,null,r)}}function Of(e){return e=Lc(e),Lf(e)}var Mu=null;function Lf(e){if(Mu=null,e=ct(e),e!==null){var a=u(e);if(a===null)e=null;else{var r=a.tag;if(r===13){if(e=d(a),e!==null)return e;e=null}else if(r===31){if(e=h(a),e!==null)return e;e=null}else if(r===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return Mu=e,null}function Gv(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(Sa()){case ni:return 2;case Ks:return 8;case ai:case Yn:return 32;case kn:return 268435456;default:return 32}default:return 32}}var Bf=!1,ki=null,Mi=null,ji=null,jl=new Map,zl=new Map,zi=[],h2="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 Kv(e,a){switch(e){case"focusin":case"focusout":ki=null;break;case"dragenter":case"dragleave":Mi=null;break;case"mouseover":case"mouseout":ji=null;break;case"pointerover":case"pointerout":jl.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":zl.delete(a.pointerId)}}function Cl(e,a,r,l,c,f){return e===null||e.nativeEvent!==f?(e={blockedOn:a,domEventName:r,eventSystemFlags:l,nativeEvent:f,targetContainers:[c]},a!==null&&(a=ze(a),a!==null&&Uv(a)),e):(e.eventSystemFlags|=l,a=e.targetContainers,c!==null&&a.indexOf(c)===-1&&a.push(c),e)}function m2(e,a,r,l,c){switch(a){case"focusin":return ki=Cl(ki,e,a,r,l,c),!0;case"dragenter":return Mi=Cl(Mi,e,a,r,l,c),!0;case"mouseover":return ji=Cl(ji,e,a,r,l,c),!0;case"pointerover":var f=c.pointerId;return jl.set(f,Cl(jl.get(f)||null,e,a,r,l,c)),!0;case"gotpointercapture":return f=c.pointerId,zl.set(f,Cl(zl.get(f)||null,e,a,r,l,c)),!0}return!1}function Zv(e){var a=ct(e.target);if(a!==null){var r=u(a);if(r!==null){if(a=r.tag,a===13){if(a=d(r),a!==null){e.blockedOn=a,X(e.priority,function(){Hv(r)});return}}else if(a===31){if(a=h(r),a!==null){e.blockedOn=a,X(e.priority,function(){Hv(r)});return}}else if(a===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ju(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var r=Of(e.nativeEvent);if(r===null){r=e.nativeEvent;var l=new r.constructor(r.type,r);Oc=l,r.target.dispatchEvent(l),Oc=null}else return a=ze(r),a!==null&&Uv(a),e.blockedOn=r,!1;a.shift()}return!0}function qv(e,a,r){ju(e)&&r.delete(a)}function p2(){Bf=!1,ki!==null&&ju(ki)&&(ki=null),Mi!==null&&ju(Mi)&&(Mi=null),ji!==null&&ju(ji)&&(ji=null),jl.forEach(qv),zl.forEach(qv)}function zu(e,a){e.blockedOn===a&&(e.blockedOn=null,Bf||(Bf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,p2)))}var Cu=null;function Yv(e){Cu!==e&&(Cu=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Cu===e&&(Cu=null);for(var a=0;a<e.length;a+=3){var r=e[a],l=e[a+1],c=e[a+2];if(typeof l!="function"){if(Lf(l||r)===null)continue;break}var f=ze(r);f!==null&&(e.splice(a,3),a-=3,Dd(f,{pending:!0,data:c,method:r.method,action:l},l,c))}}))}function ds(e){function a(A){return zu(A,e)}ki!==null&&zu(ki,e),Mi!==null&&zu(Mi,e),ji!==null&&zu(ji,e),jl.forEach(a),zl.forEach(a);for(var r=0;r<zi.length;r++){var l=zi[r];l.blockedOn===e&&(l.blockedOn=null)}for(;0<zi.length&&(r=zi[0],r.blockedOn===null);)Zv(r),r.blockedOn===null&&zi.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(l=0;l<r.length;l+=3){var c=r[l],f=r[l+1],v=c[ae]||null;if(typeof f=="function")v||Yv(r);else if(v){var w=null;if(f&&f.hasAttribute("formAction")){if(c=f,v=f[ae]||null)w=v.formAction;else if(Lf(c)!==null)continue}else w=v.action;typeof w=="function"?r[l+1]=w:(r.splice(l,3),l-=3),Yv(r)}}}function Fv(){function e(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(v){return c=v})},focusReset:"manual",scroll:"manual"})}function a(){c!==null&&(c(),c=null),l||setTimeout(r,20)}function r(){if(!l&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(r,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),c!==null&&(c(),c=null)}}}function Vf(e){this._internalRoot=e}Ru.prototype.render=Vf.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(s(409));var r=a.current,l=bn();Bv(r,l,e,a,null,null)},Ru.prototype.unmount=Vf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;Bv(e.current,2,null,e,null,null),du(),a[W]=null}};function Ru(e){this._internalRoot=e}Ru.prototype.unstable_scheduleHydration=function(e){if(e){var a=Y();e={blockedOn:null,target:e,priority:a};for(var r=0;r<zi.length&&a!==0&&a<zi[r].priority;r++);zi.splice(r,0,e),r===0&&Zv(e)}};var Pv=n.version;if(Pv!=="19.2.8")throw Error(s(527,Pv,"19.2.8"));P.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=p(a),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var g2={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.8"};
26if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var _u=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_u.isDisabled&&_u.supportsFiber)try{Ta=_u.inject(g2),Jt=_u}catch{}}return Rl.createRoot=function(e,a){if(!o(e))throw Error(s(299));var r=!1,l="",c=ey,f=ty,v=ny;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(f=a.onCaughtError),a.onRecoverableError!==void 0&&(v=a.onRecoverableError)),a=Ov(e,1,!1,null,null,r,l,null,c,f,v,Fv),e[W]=a.current,bf(e),new Vf(a)},Rl.hydrateRoot=function(e,a,r){if(!o(e))throw Error(s(299));var l=!1,c="",f=ey,v=ty,w=ny,A=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(v=r.onCaughtError),r.onRecoverableError!==void 0&&(w=r.onRecoverableError),r.formState!==void 0&&(A=r.formState)),a=Ov(e,1,!0,a,r??null,l,c,A,f,v,w,Fv),a.context=Lv(null),r=a.current,l=bn(),l=j(l),c=mi(l),c.callback=null,pi(r,c,l),r=l,a.current.lanes=r,ia(a,r),oa(a),e[W]=a.current,bf(e),new Ru(a)},Rl.version="19.2.8",Rl}var Wv;function j2(){if(Wv)return Uf.exports;Wv=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),Uf.exports=M2(),Uf.exports}var e0=j2();let Kt=(function(t){return t.CHARSET="charset",t.CSS_TEXT="cssText",t.HREF="href",t.HTTPEQUIV="http-equiv",t.INNER_HTML="innerHTML",t.ITEM_PROP="itemprop",t.NAME="name",t.PROPERTY="property",t.REL="rel",t.SRC="src",t.TARGET="target",t})({}),st=(function(t){return t.BASE="base",t.BODY="body",t.FRAGMENT="Symbol(react.fragment)",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t})({});const Kf={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"]}},t0=Object.values(st),dm={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Il=(()=>{const t={};for(const[n,i]of Object.entries(dm))t[i]=n;return t})(),ei="data-rh",z2=!!(typeof window<"u"&&window.document.createElement);function ws(t,n){for(let i=t.length-1;i>=0;--i){const s=t[i][1][n];if(s!==void 0)return s}}function C2(t){let n=ws(t,st.TITLE);const i=ws(t,"titleTemplate");if(Array.isArray(n)&&(n=n.join("")),i&&n)return i.replace(/%s/g,()=>n);const s=ws(t,"defaultTitle");return(n||s)??void 0}function Zf(t,n){const i={};for(const s of n){const o=s[1][t];o&&Object.assign(i,o)}return i}function R2(t){for(let n=t.length-1;n>=0;--n){const i=t[n][1].base;if(i!=null&&i.href||i!=null&&i.target)return i}}function _2(t,n){let i;for(const s of Object.keys(t)){const o=s;n.includes(o)&&!(i===Kt.REL&&t[i].toLowerCase()==="canonical")&&!(o===Kt.REL&&t[o].toLowerCase()==="stylesheet")&&(i=o),n.includes(o)&&(o===Kt.INNER_HTML||o===Kt.CSS_TEXT||o===Kt.ITEM_PROP)&&(i=o)}return i??null}function _l(t,n,i){const s={};return i.map(([,o])=>o).filter(o=>Array.isArray(o[t])?!0:(typeof o[t]<"u"&&console.warn(`Helmet: ${t} should be of type "Array". Instead found type "${typeof o[t]}"`),!1)).map(o=>o[t]).reverse().reduce((o,u)=>{const d={};u.filter(m=>{const p=_2(m,n);if(!p||!m[p])return!1;const g=m[p].toLowerCase();return s[p]||(s[p]={}),d[p]||(d[p]={}),s[p][g]?!1:(d[p][g]=!0,!0)}).reverse().forEach(m=>{o.push(m)});const h=Object.keys(d);for(const m of h){const p={...s[m],...d[m]};s[m]=p}return o},[]).reverse()}function N2(t,n){for(const[,i]of t)if(i[n])return!0;return!1}function zx(t){return Array.isArray(t)?t.join(""):t}function D2(t,n){var i;for(const s of Object.keys(t))if((i=n[s])!=null&&i.includes(t[s]))return!0;return!1}function qf(t,n){const i={default:Array(),priority:Array()};if(t)for(const s of t)D2(s,n)?i.priority.push(s):i.default.push(s);return i}function O2(t){const n={};for(const[i,s]of Object.entries(t))n[i]=Array.isArray(s)?s.slice():s;return n}function L2(t,n){const i=t;for(const[s,o]of Object.entries(n))if(Array.isArray(o)){const u=i[s];i[s]=u?u.concat(o):o}else i[s]=o}function Yf(t,n,i){const s=t[n];s?s.push(i):t[n]=[i]}function wh(t){let n=_l(st.LINK,[Kt.REL,Kt.HREF],t),i=_l("meta",[Kt.NAME,"charSet","httpEquiv",Kt.PROPERTY,"itemProp"],t),s=_l("script",[Kt.SRC,Kt.INNER_HTML],t);const o=N2(t,"prioritizeSeoTags");let u;if(o){const d=qf(n,Kf.link);n=d.default;const h=qf(i,Kf.meta);i=h.default;const m=qf(s,Kf.script);s=m.default,u={links:d.priority,meta:h.priority,script:m.priority}}return{base:R2(t),bodyAttributes:Zf("bodyAttributes",t),defer:ws(t,"defer"),encodeSpecialCharacters:ws(t,"encodeSpecialCharacters")??!0,htmlAttributes:Zf("htmlAttributes",t),links:n,meta:i,noscript:_l("noscript",[Kt.INNER_HTML],t),onChangeClientState:ws(t,"onChangeClientState"),priority:u,script:s,style:_l("style",[Kt.CSS_TEXT],t),title:C2(t),titleAttributes:Zf("titleAttributes",t)}}function B2(t){return Il[t]??t}function hs(t,n){const i=document.head||document.querySelector(st.HEAD),s=i.querySelectorAll(`${t}[${ei}]`),o=[],u=[...s],d=[];
26for(const h of n){const m=document.createElement(t);for(const[g,b]of Object.entries(h))if(Object.prototype.hasOwnProperty.call(h,g)){const x=Il[g]??g;x===Kt.INNER_HTML?m.innerHTML=b:x===Kt.CSS_TEXT?m.styleSheet?m.styleSheet.cssText=h.cssText:m.appendChild(document.createTextNode(h.cssText)):m.setAttribute(x,b??"")}m.setAttribute(ei,"true");const p={};for(const{name:g,value:b}of m.attributes)p[g]=b;o.push(p);for(let g=0;;++g){if(m.isEqualNode(u[g])){u.splice(g,1);break}if(g>=u.length){d.push(m);break}}}return u.forEach(h=>{var m;(m=h.parentNode)==null||m.removeChild(h)}),d.forEach(h=>{i.appendChild(h)}),{allTags:o,newTags:d,oldTags:u}}function Sh(t,n){const[i]=document.getElementsByTagName(t);if(!i)return;const s=i.getAttribute(ei),o=s?s.split(","):[],u=[...o],d=[];for(const h of Object.keys(n))d.push(Il[h]??h);for(const[h,m]of Object.entries(n)){const p=Il[h]??h;i.getAttribute(p)!==m&&i.setAttribute(p,m??""),o.includes(p)||o.push(p);const g=u.indexOf(p);g!==-1&&u.splice(g,1)}for(let h=u.length-1;h>=0;h-=1)i.removeAttribute(u[h]);o.length===u.length?i.removeAttribute(ei):i.getAttribute(ei)!==d.join(",")&&i.setAttribute(ei,d.join(","))}function V2(t,n){t!==void 0&&document.title!==t&&(document.title=zx(t)),Sh(st.TITLE,n)}function n0(t,n){const{base:i,bodyAttributes:s,defer:o,htmlAttributes:u,links:d,meta:h,noscript:m,onChangeClientState:p,priority:g,script:b,style:x,title:S,titleAttributes:T}=t;Sh(st.BODY,s??{}),Sh(st.HTML,u??{}),V2(S,T);const C={baseTag:hs(st.BASE,i?[i]:[]),linkTags:hs(st.LINK,[...(g==null?void 0:g.links)??[],...d??[]]),metaTags:hs(st.META,[...(g==null?void 0:g.meta)??[],...h??[]]),noscriptTags:hs(st.NOSCRIPT,m??[]),scriptTags:hs(st.SCRIPT,[...(g==null?void 0:g.script)??[],...b??[]]),styleTags:hs(st.STYLE,x??[])},z={baseTag:[],bodyAttributes:{},defer:o??!1,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],onChangeClientState:p??(()=>{}),scriptTags:[],styleTags:[],title:S??"",titleAttributes:{}},L={},V={};Object.keys(C).forEach(G=>{const{allTags:F,newTags:Q,oldTags:me}=C[G];z[G]=F,Q.length&&(L[G]=Q),me.length&&(V[G]=C[G].oldTags)}),(n||Object.keys(L).length||Object.keys(V).length)&&(p==null||p(z,L,V))}const U2=[st.NOSCRIPT,st.SCRIPT,st.STYLE],Cx=(t,n=!0)=>n?t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"):t;function Th(t){let n="";for(const[i,s]of Object.entries(t)){const o=B2(i),u=s===void 0?o:`${o}="${s}"`;u&&n&&(n+=" "),n+=u}return n}const H2=(t,n,i)=>{let s=Th(n);s&&(s=` ${s}`);const o=zx(t);return`<title ${ei}="true"${s}>${Cx(o,i)}</title>`};function Pa(t,n,i){let s="";for(const o of n){let u="";const d=Object.entries(o);for(const[p,g]of d)if(!(p===Kt.INNER_HTML||p===Kt.CSS_TEXT)){const b=Il[p]??p;let x;if(g===void 0)x=b;else{const S=typeof g=="string"?g:String(g);x=`${b}="${Cx(S,i)}"`}u?u+=` ${x}`:u=x}const h=o.innerHTML??o.cssText??"",m=!U2.includes(t);s+=`<${t} ${ei}="true" ${u}${m?"/>":`>${h}</${t}>`}`}return s}function Wu(t,n={}){const i={};n.addHelmetDataAttr&&(i[ei]=!0),n.addKey!==void 0&&(i.key=n.addKey);for(const[s,o]of Object.entries(t)){const u=dm[s]??s;switch(u){case"cssText":case"innerHTML":i.dangerouslySetInnerHTML={__html:o};break;default:i[u]=o}}return i}function G2(t,n){return[y.jsx("title",{...Wu(n,{addHelmetDataAttr:!0}),children:t},t)]}function K2(t,n,i){return E.createElement(t,Wu(n,{addHelmetDataAttr:!0,addKey:i}))}function Xa(t,n){const i=[];for(let s=0;s<n.length;++s)i.push(K2(t,n[s],s));return i}function Z2(t){const n=()=>(t.state??(t.state=wh(t.helmets)),t.state);return{base:{toComponent(){const i=n().base;return i?Xa("base",[i]):[]},toString(){const i=n();return i.base?Pa("base",[i.base],i.encodeSpecialCharacters):""}},bodyAttributes:{toComponent(){const i=n().bodyAttributes;return Wu(i??{})},toString(){const i=n().bodyAttributes;return Th(i??{})}},htmlAttributes:{toComponent(){const i=n().htmlAttributes;return Wu(i??{})},toString(){const i=n().htmlAttributes;return Th(i??{})}},link:{toComponent(){return Xa("link",n().links??[])},toString(){const i=n();return Pa("link",i.links??[],i.encodeSpecialCharacters)}},meta:{toComponent(){return Xa("meta",n().meta??[])},toString(){const i=n();return Pa("meta",i.meta??[],i.encodeSpecialCharacters)}},noscript:{toComponent(){return Xa("noscript",n().noscript??[])},toString(){const i=n();return Pa("noscript",i.noscript??[],i.encodeSpecialCharacters)}},priority:{toComponent(){var s,o,u;const i=n();return[...Xa("meta",((s=i.priority)==null?void 0:s.meta)??[]),...Xa("link",((o=i.priority)==null?void 0:o.links)??[]),...Xa("script",((u=i.priority)==null?void 0:u.script)??[])]},toString(){var h,m,p;const i=n(),s=Pa("meta",((h=i.priority)==null?void 0:h.meta)??[],i.encodeSpecialCharacters),o=Pa("link",((m=i.priority)==null?void 0:m.links)??[],i.encodeSpecialCharacters),u=Pa("script",((p=i.priority)==null?void 0:p.script)??[],i.encodeSpecialCharacters);let d=s;
26return o&&(d&&(d+=" "),d+=o),u&&(d&&(d+=" "),d+=u),d}},script:{toComponent(){return Xa("script",n().script??[])},toString(){const i=n();return Pa("script",i.script??[],i.encodeSpecialCharacters)}},style:{toComponent(){return Xa("style",n().style??[])},toString(){const i=n();return Pa("style",i.style??[],i.encodeSpecialCharacters)}},title:{toComponent(){const i=n();return G2(i.title??"",i.titleAttributes??{})},toString(){const i=n();return H2(i.title??"",i.titleAttributes??{},i.encodeSpecialCharacters)}}}}const Rx=E.createContext(void 0),q2=({children:t,context:n})=>{const{current:i}=E.useRef({firstRender:!0,helmets:[],state:void 0}),s=E.useRef(null);return s.current??(s.current={clientApply(){z2&&!i.state&&(i.state=wh(i.helmets),i.state.defer?i.nextAnimFrameId??(i.nextAnimFrameId=requestAnimationFrame(()=>{i.state??(i.state=wh(i.helmets)),n0(i.state,i.firstRender),i.firstRender=!1,delete i.nextAnimFrameId})):(i.nextAnimFrameId!==void 0&&(cancelAnimationFrame(i.nextAnimFrameId),delete i.nextAnimFrameId),n0(i.state,i.firstRender),i.firstRender=!1))},update(o,u){const d=i.helmets.findIndex(h=>h[0]===o);d>=0?(delete i.state,u?i.helmets[d][1]=u:i.helmets.splice(d,1)):u&&(delete i.state,i.helmets.push([o,u]))}}),n&&(!n.helmet||n.helmet!==i.serverState)&&(i.serverState??(i.serverState=Z2(i)),n.helmet=i.serverState),y.jsx(Rx,{value:s.current,children:t})};function Y2(t,n){if(typeof t!="string")throw Error("You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.");if(!t0.includes(t))throw Error(`Only elements types ${t0.join(", ")} are allowed. Helmet does not support rendering <${t}> elements. Refer to our API for more information.`);if(!(!n||typeof n=="string"||Array.isArray(n)))throw Error(`Helmet expects a string as a child of <${t}>. Did you forget to wrap your children in braces? ( <${t}>{\`\`}</${t}> ) Refer to our API for more information.`)}function Ff(t){const n=dm[t];return n&&console.warn(`"${t}" is not a valid JSX prop, replace it by "${n}"`),n??t}function Eh(t){const n=O2(t);for(const i of Object.values(t))if(Array.isArray(i)){for(const s of i)if(s)for(const o of Object.keys(s)){const u=Ff(o);u!==o&&(s[u]=s[o],delete s[o])}}else if(i&&typeof i=="object"){const s=i;for(const o of Object.keys(s)){const u=Ff(o);u!==o&&(s[u]=s[o],delete s[o])}}return E.Children.forEach(t.children,i=>{if(i==null)return;if(typeof i!="object"||!("props"in i))throw Error(`"${typeof i}" is not a valid <Helmet> descendant`);let s;const o={};if(i.props)for(const[h,m]of Object.entries(i.props))h==="children"?s=m:o[Ff(h)]=m;let{type:u}=i;typeof u=="symbol"&&(u=u.toString()),Y2(u,s);function d(h){typeof h!="string"&&console.error(`child of ${u} element should be a string`)}switch(u){case st.BASE:n.base=o;break;case st.BODY:n.bodyAttributes=o;break;case st.FRAGMENT:L2(n,Eh({children:s}));break;case st.HTML:n.htmlAttributes=o;break;case st.LINK:case st.META:if(s)throw Error(`<${u} /> elements are self-closing and can not contain children. Refer to our API for more information.`);Yf(n,u,o);break;case st.NOSCRIPT:case st.SCRIPT:s!==void 0&&(d(s),o.innerHTML=s),Yf(n,u,o);break;case st.STYLE:d(s),o.cssText=s,Yf(n,u,o);break;case st.TITLE:n.titleAttributes=o,typeof s=="string"?n.title=s:Array.isArray(s)&&(n.title=s.join(""));break;case st.HEAD:}}),delete n.children,n}const Pi=t=>{const n=E.use(Rx);if(!n)throw Error("<Helmet> component must be within a <HelmetProvider> children tree");const i=E.useId();return n.update(i,Eh(t)),E.useEffect(()=>{n.update(i,Eh(t)),n.clientApply()}),E.useEffect(()=>()=>{n.update(i,void 0),n.clientApply()},[n,i]),null},F2="modulepreload",P2=function(t){return"/"+t},a0={},X2=function(n,i,s){let o=Promise.resolve();if(i&&i.length>0){let d=function(p){return Promise.all(p.map(g=>Promise.resolve(g).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),m=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));o=d(i.map(p=>{if(p=P2(p),p in a0)return;a0[p]=!0;const g=p.endsWith(".css"),b=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${b}`))return;const x=document.createElement("link");if(x.rel=g?"stylesheet":F2,g||(x.as="script"),x.crossOrigin="",x.href=p,m&&x.setAttribute("nonce",m),document.head.appendChild(x),g)return new Promise((S,T)=>{x.addEventListener("load",S),x.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${p}`)))})}))}function u(d){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=d,window.dispatchEvent(h),!h.defaultPrevented)throw d}return o.then(d=>{for(const h of d||[])h.status==="rejected"&&u(h.reason);return n().catch(u)})};/**
27 * react-router v8.3.0
28 *
29 * Copyright (c) Remix Software Inc.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE.md file in the root directory of this source tree.
33 *
34 * @license MIT
35 */const gc=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,fm=/^[\\/]{2}/;function _x(t,n){return n+t.replace(/\\/g,"/")}/**
36 * react-router v8.3.0
37 *
38 * Copyright (c) Remix Software Inc.
39 *
40 * This source code is licensed under the MIT license found in the
41 * LICENSE.md file in the root directory of this source tree.
42 *
43 * @license MIT
44 */const i0="popstate";function r0(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function Q2(t={}){function n(s,o){var p;let u=(p=o.state)==null?void 0:p.masked,{pathname:d,search:h,hash:m}=u||s.location;return Wl("",{pathname:d,search:h,hash:m},o.state&&o.state.usr||null,o.state&&o.state.key||"default",u?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}
44function i(s,o){return typeof o=="string"?o:ya(o)}return J2(n,i,null,t)}function Oe(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function qt(t,n){if(!t){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function $2(){return Math.random().toString(36).substring(2,10)}function s0(t,n){return{usr:t.state,key:t.key,idx:n,masked:t.mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function Wl(t,n,i=null,s,o){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof n=="string"?ba(n):n,state:i,key:n&&n.key||s||$2(),mask:o}}function ya({pathname:t="/",search:n="",hash:i=""}){return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function ba(t){let n={};if(t){let i=t.indexOf("#");i>=0&&(n.hash=t.substring(i),t=t.substring(0,i));let s=t.indexOf("?");s>=0&&(n.search=t.substring(s),t=t.substring(0,s)),t&&(n.pathname=t)}return n}function J2(t,n,i,s={}){let{window:o=document.defaultView,v5Compat:u=!1}=s,d=o.history,h="POP",m=null,p=g();p==null&&(p=0,d.replaceState({...d.state,idx:p},""));function g(){return(d.state||{idx:null}).idx}function b(){h="POP";let z=g(),L=z==null?null:z-p;p=z,m&&m({action:h,location:C.location,delta:L})}function x(z,L){h="PUSH";let V=r0(z)?z:Wl(C.location,z,L);p=g()+1;let G=s0(V,p),F=C.createHref(V.mask||V);try{d.pushState(G,"",F)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;o.location.assign(F)}u&&m&&m({action:h,location:C.location,delta:1})}function S(z,L){h="REPLACE";let V=r0(z)?z:Wl(C.location,z,L);p=g();let G=s0(V,p),F=C.createHref(V.mask||V);d.replaceState(G,"",F),u&&m&&m({action:h,location:C.location,delta:0})}function T(z){return Nx(o,z)}let C={get action(){return h},get location(){return t(o,d)},listen(z){if(m)throw new Error("A history only accepts one active listener");return o.addEventListener(i0,b),m=z,()=>{o.removeEventListener(i0,b),m=null}},createHref(z){return n(o,z)},createURL:T,encodeLocation(z){let L=T(z);return{pathname:L.pathname,search:L.search,hash:L.hash}},push:x,replace:S,go(z){return d.go(z)}};return C}function Nx(t,n,i=!1){let s="http://localhost";t&&(s=t.location.origin!=="null"?t.location.origin:t.location.href),Oe(s,"No window.location.(origin|href) available to create URL");let o=typeof n=="string"?n:ya(n);return o=o.replace(/ $/,"%20"),!i&&fm.test(o)&&(o=s+o),new URL(o,s)}/**
45 * react-router v8.3.0
46 *
47 * Copyright (c) Remix Software Inc.
48 *
49 * This source code is licensed under the MIT license found in the
50 * LICENSE.md file in the root directory of this source tree.
51 *
52 * @license MIT
53 */var Es,Sx,l0=(Sx=class{constructor(t){fs(this,Es,new Map);if(t)for(let[n,i]of t)this.set(n,i)}get(t){if(xn(this,Es).has(t))return xn(this,Es).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,n){xn(this,Es).set(t,n)}},Es=new WeakMap,Sx);const I2=new Set(["lazy","caseSensitive","path","id","index","children"]);function W2(t){return I2.has(t)}const eE=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function tE(t){return eE.has(t)}function nE(t){return t.index===!0}function Dx(t){let n={};return t.Component&&Object.assign(n,{element:E.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(n,{hydrateFallbackElement:E.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(n,{errorElement:E.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),n}function eo(t,n=Dx,i=[],s={},o=!1){return t.map((u,d)=>{let h=[...i,String(d)],m=typeof u.id=="string"?u.id:h.join("-");if(Oe(u.index!==!0||!u.children,"Cannot specify children on an index route"),Oe(o||!s[m],`Found a route id collision on i
53d "${m}".  Route id's must be globally unique within Data Router usages`),nE(u)){let p={...u,id:m};return s[m]=o0(p,n(p)),p}else{let p={...u,id:m,children:void 0};return s[m]=o0(p,n(p)),u.children&&(p.children=eo(u.children,n,h,s,o)),p}})}function o0(t,n){return Object.assign(t,{...n,...typeof n.lazy=="object"&&n.lazy!=null?{lazy:{...t.lazy,...n.lazy}}:{}})}function hm(t,n,i="/"){return ea(t,n,i,!1)}function ea(t,n,i,s,o){let u=Kn((typeof n=="string"?ba(n):n).pathname||"/",i);if(u==null)return null;let d=o??Ku(t),h=null,m=pE(u);for(let p=0;h==null&&p<d.length;++p)h=mE(d[p],m,s);return h}function Ox(t,n){let{route:i,pathname:s,params:o}=t;return{id:i.id,pathname:s,params:o,loaderData:n[i.id],handle:i.handle}}function Ku(t){let n=Lx(t);return aE(n),n}function Lx(t,n=[],i=[],s="",o=!1){let u=(d,h,m=o,p)=>{let g={relativePath:p===void 0?d.path||"":p,caseSensitive:d.caseSensitive===!0,childrenIndex:h,route:d};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(s)&&m)return;Oe(g.relativePath.startsWith(s),`Absolute route path "${g.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(s.length)}let b=Hn([s,g.relativePath]),x=i.concat(g);d.children&&d.children.length>0&&(Oe(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),Lx(d.children,n,x,b,m)),!(d.path==null&&!d.index)&&n.push({path:b,score:fE(b,d.index),routesMeta:x.map((S,T)=>{let[C,z]=Ux(S.relativePath,S.caseSensitive,T===x.length-1);return{...S,matcher:C,compiledParams:z}})})};return t.forEach((d,h)=>{var m;if(d.path===""||!((m=d.path)!=null&&m.includes("?")))u(d,h);else for(let p of Bx(d.path))u(d,h,!0,p)}),n}function Bx(t){let n=t.split("/");if(n.length===0)return[];let[i,...s]=n,o=i.endsWith("?"),u=i.replace(/\?$/,"");if(s.length===0)return o?[u,""]:[u];let d=Bx(s.join("/")),h=[];return h.push(...d.map(m=>m===""?u:[u,m].join("/"))),o&&h.push(...d),h.map(m=>t.startsWith("/")&&m===""?"/":m)}function aE(t){t.sort((n,i)=>n.score!==i.score?i.score-n.score:hE(n.routesMeta.map(s=>s.childrenIndex),i.routesMeta.map(s=>s.childrenIndex)))}const iE=/^:[\w-]+$/,rE=/^:[\w-]+/,sE=3.5,lE=3,oE=2,uE=1,cE=10,dE=-2,u0=t=>t==="*";function fE(t,n){let i=t.split("/"),s=i.length;return i.some(u0)&&(s+=dE),n&&(s+=oE),i.filter(o=>!u0(o)).reduce((o,u)=>o+(iE.test(u)?lE:rE.test(u)?sE:u===""?uE:cE),s)}function hE(t,n){return t.length===n.length&&t.slice(0,-1).every((i,s)=>i===n[s])?t[t.length-1]-n[n.length-1]:0}function mE(t,n,i=!1){let{routesMeta:s}=t,o={},u="/",d=[];for(let h=0;h<s.length;++h){let m=s[h],p=h===s.length-1,g=u==="/"?n:n.slice(u.length)||"/",b={path:m.relativePath,caseSensitive:m.caseSensitive,end:p},x=m.matcher&&m.compiledParams?Vx(b,g,m.matcher,m.compiledParams):ec(b,g),S=m.route;if(!x&&p&&i&&!s[s.length-1].route.index&&(x=ec({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},g)),!x)return null;
53Object.assign(o,x.params),d.push({params:o,pathname:Hn([u,x.pathname]),pathnameBase:vE(Hn([u,x.pathnameBase])),route:S}),x.pathnameBase!=="/"&&(u=Hn([u,x.pathnameBase]))}return d}function ec(t,n){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[i,s]=Ux(t.path,t.caseSensitive,t.end);return Vx(t,n,i,s)}function Vx(t,n,i,s){let o=n.match(i);if(!o)return null;let u=o[0],d=u.replace(/(.)\/+$/,"$1"),h=o.slice(1);return{params:s.reduce((m,{paramName:p,isOptional:g},b)=>{if(p==="*"){let S=h[b]||"";d=u.slice(0,u.length-S.length).replace(/(.)\/+$/,"$1")}const x=h[b];return g&&!x?m[p]=void 0:m[p]=(x||"").replace(/%2F/g,"/"),m},{}),pathname:u,pathnameBase:d,pattern:t}}function Ux(t,n=!1,i=!0){qt(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let s=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,h,m,p)=>{if(s.push({paramName:d,isOptional:h!=null}),h){let g=p.charAt(m+u.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return t.endsWith("*")?(s.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,n?void 0:"i"),s]}function pE(t){try{return t.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return qt(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),t}}function Kn(t,n){if(n==="/")return t;if(!t.toLowerCase().startsWith(n.toLowerCase()))return null;let i=n.endsWith("/")?n.length-1:n.length,s=t.charAt(i);return s&&s!=="/"?null:t.slice(i)||"/"}function gE({basename:t,pathname:n}){return n==="/"?t:Hn([t,n])}const mm=t=>gc.test(t);function yE(t,n="/"){let{pathname:i,search:s="",hash:o=""}=typeof t=="string"?ba(t):t,u;return i?(i=gm(i),i.startsWith("/")?u=c0(i.substring(1),"/"):u=c0(i,n)):u=n,{pathname:u,search:bE(s),hash:xE(o)}}function c0(t,n){let i=Gx(n).split("/");return t.split("/").forEach(s=>{s===".."?i.length>1&&i.pop():s!=="."&&i.push(s)}),i.length>1?i.join("/"):"/"}function Pf(t,n,i,s){return`Cannot include a '${t}' character in a manually specified \`to.${n}\` field [${JSON.stringify(s)}].  Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Hx(t){return t.filter((n,i)=>i===0||n.route.path&&n.route.path.length>0)}function pm(t){let n=Hx(t);return n.map((i,s)=>s===n.length-1?i.pathname:i.pathnameBase)}function yc(t,n,i,s=!1){let o;typeof t=="string"?o=ba(t):(o={...t},Oe(!o.pathname||!o.pathname.includes("?"),Pf("?","pathname","search",o)),Oe(!o.pathname||!o.pathname.includes("#"),Pf("#","pathname","hash",o)),Oe(!o.search||!o.search.includes("#"),Pf("#","search","hash",o)));let u=t===""||o.pathname==="",d=u?"/":o.pathname,h;if(d==null)h=i;else{let b=n.length-1;if(!s&&d.startsWith("..")){let x=d.split("/");for(;x[0]==="..";)x.shift(),b-=1;o.pathname=x.join("/")}h=b>=0?n[b]:"/"}let m=yE(o,h),p=d&&d!=="/"&&d.endsWith("/"),g=(u||d===".")&&i.endsWith("/");return!m.pathname.endsWith("/")&&(p||g)&&(m.pathname+="/"),m}const gm=t=>t.replace(/[\\/]{2,}/g,"/"),Hn=t=>gm(t.join("/")),Gx=t=>t.replace(/\/+$/,""),vE=t=>Gx(t).replace(/^\/*/,"/"),bE=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,xE=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,wE=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"];var uo=class{constructor(t,n,i,s=!1){Jn(this,"status");Jn(this,"statusText");Jn(this,"data");Jn(this,"error");Jn(this,"internal");this.status=t,this.statusText=n||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function to(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Rs(t){return Hn(t.map(n=>
53n.route.path).filter(Boolean))||"/"}function ym(t,n){let i=new URL(typeof t=="string"||t instanceof URL?t:t.url),s=typeof n=="string"?ba(n):n;if(i.pathname=s.pathname||"/",s.search){let o=new URLSearchParams(s.search),u=o.getAll("index");o.delete("index");for(let h of u.filter(Boolean))o.append("index",h);let d=o.toString();i.search=d?`?${d}`:""}else i.search="";return i.hash=s.hash||"",i}const Kx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Zx(t,n){let i=t;if(typeof i!="string"||!gc.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let s=i,o=!1;if(Kx)try{let u=new URL(window.location.href),d=fm.test(i)?new URL(_x(i,u.protocol)):new URL(i),h=Kn(d.pathname,n);d.origin===u.origin&&h!=null?i=h+d.search+d.hash:o=!0}catch{qt(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:o,to:i}}/**
54 * react-router v8.3.0
55 *
56 * Copyright (c) Remix Software Inc.
57 *
58 * This source code is licensed under the MIT license found in the
59 * LICENSE.md file in the root directory of this source tree.
60 *
61 * @license MIT
62 */const qx=Symbol("Uninstrumented");let ql=new WeakMap;function SE(t,n){let i={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};t.forEach(o=>o({id:n.id,index:n.index,path:n.path,instrument(u){u.lazy!=null&&i.lazy.push(u.lazy),u["lazy.loader"]!=null&&i["lazy.loader"].push(u["lazy.loader"]),u["lazy.action"]!=null&&i["lazy.action"].push(u["lazy.action"]),u["lazy.middleware"]!=null&&i["lazy.middleware"].push(u["lazy.middleware"]),u.middleware!=null&&i.middleware.push(u.middleware),u.loader!=null&&i.loader.push(u.loader),u.action!=null&&i.action.push(u.action)}}));let s={};if(typeof n.lazy=="function"&&i.lazy.length>0){let o=n.lazy;s.lazy=async(...u)=>Ja(await ha(i.lazy,void 0,()=>o(...u),Ia))}if(typeof n.lazy=="object"){let o=n.lazy;if(typeof o.middleware=="function"&&i["lazy.middleware"].length>0){let u=o.middleware;s.lazy=Object.assign(s.lazy||{},{middleware:async(...d)=>Ja(await ha(i["lazy.middleware"],void 0,()=>u(...d),Ia))})}if(typeof o.loader=="function"&&i["lazy.loader"].length>0){let u=o.loader;s.lazy=Object.assign(s.lazy||{},{loader:async(...d)=>Ja(await ha(i["lazy.loader"],void 0,()=>u(...d),Ia))})}if(typeof o.action=="function"&&i["lazy.action"].length>0){let u=o.action;s.lazy=Object.assign(s.lazy||{},{action:async(...d)=>Ja(await ha(i["lazy.action"],void 0,()=>u(...d),Ia))})}}if(typeof n.loader=="function"&&i.loader.length>0){let o=Yl(n.loader),u=async(...d)=>Ja(await ha(i.loader,Xf(d[0]),()=>o(...d),Ia));o.hydrate===!0&&(u.hydrate=!0),Fl(u,o),s.loader=u}if(typeof n.action=="function"&&i.action.length>0){let o=Yl(n.action),u=async(...d)=>Ja(await ha(i.action,Xf(d[0]),()=>o(...d),Ia));Fl(u,o),s.action=u}return n.middleware&&n.middleware.length>0&&i.middleware.length>0&&(s.middleware=n.middleware.map(o=>{let u=Yl(o),d=async(...h)=>Ja(await ha(i.middleware,Xf(h[0]),()=>u(...h),Ia));return Fl(d,u),d})),s}function TE(t,n){let i={navigate:[],fetch:[]};if(n.forEach(s=>s({instrument(o){o.navigate!=null&&i.navigate.push(o.navigate),o.fetch!=null&&i.fetch.push(o.fetch)}})),i.navigate.length>0){let s=Yl(t.navigate),o=async(...u)=>{let[d,h]=u,m,p={to:typeof d=="number"||typeof d=="string"?d:d?ya(d):".",...h0(t,h??{})};return Ja(await ha(i.navigate,p,async()=>{if(typeof d=="number")return await s(...u);let g=d0(t,b=>{m=b});try{return await s(...u)}finally{g()}},g=>({...Ia(g),meta:m})))};Fl(o,s),t.navigate=o}if(i.fetch.length>0){let s=Yl(t.fetch),o=async(...u)=>{let[d,h,m,p]=u,g;return Ja(await ha(i.fetch,{href:m??".",fetcherKey:d,...h0(t,p??{})},async()=>{let b=d0(t,x=>{g=x});try{return await s(...u)}finally{b()}},b=>({...Ia(b),meta:g})))};Fl(o,s),t.fetch=o}return t}function Yl(t){return t[qx]??t}function Fl(t,n){t[qx]=n}function d0(t,n){return ql.set(t,n),()=>{ql.get(t)===n&&ql.delete(t)}}function f0(t){let n=ql.get(t);return ql.delete(t),n}function Ja(t){if(t.type==="error")throw t.value;return t.value}async function ha(t,n,i,s,o={result:null,innerResult:null},u=t.length-1){let d=t[u];
62if(d){let h,m=async()=>(h?console.error("You cannot call instrumented handlers more than once"):h=ha(t,n,i,s,o,u-1),await h,Oe(o.innerResult,"Expected an inner result"),o.innerResult);try{await d(m,n)}catch(p){console.error("An instrumentation function threw an error:",p)}h||await m(),await h}else{try{o.result={type:"success",value:await i()}}catch(h){o.result={type:"error",value:h}}o.innerResult=s(o.result,n)}return o.result||(o.result={type:"error",value:new Error("No result assigned in instrumentation chain.")},o.innerResult=s(o.result,n)),o.result}function Ia(t){return t.type==="error"&&t.value instanceof Error?{status:"error",error:t.value}:{status:"success",error:void 0}}function Xf(t){let{request:n,context:i,params:s}=t;return{...t,request:EE(n),params:{...s},context:AE(i)}}function h0(t,n){return{currentUrl:ya(t.state.location),..."formMethod"in n?{formMethod:n.formMethod}:{},..."formEncType"in n?{formEncType:n.formEncType}:{},..."formData"in n?{formData:n.formData}:{},..."body"in n?{body:n.body}:{}}}function EE(t){return{method:t.method,url:t.url,headers:{get:(...n)=>t.headers.get(...n)}}}function AE(t){return{get:n=>t.get(n)}}/**
63 * react-router v8.3.0
64 *
65 * Copyright (c) Remix Software Inc.
66 *
67 * This source code is licensed under the MIT license found in the
68 * LICENSE.md file in the root directory of this source tree.
69 *
70 * @license MIT
71 */const Yx=["POST","PUT","PATCH","DELETE"],kE=new Set(Yx),ME=["GET",...Yx],jE=new Set(ME),Fx=new Set([301,302,303,307,308]),zE=new Set([307,308]),Qf={state:"idle",location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},CE={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Nl={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Px="remix-router-transitions",Xx=Symbol("ResetLoaderData");var Ui,Sr,Wa,Tr,Tx,RE=(Tx=class{constructor(n){fs(this,Ui);fs(this,Sr);fs(this,Wa);fs(this,Tr);In(this,Ui,n),In(this,Sr,Ku(n))}get stableRoutes(){return xn(this,Ui)}get activeRoutes(){return xn(this,Wa)??xn(this,Ui)}get branches(){return xn(this,Tr)??xn(this,Sr)}get hasHMRRoutes(){return xn(this,Wa)!=null}setRoutes(n){In(this,Ui,n),In(this,Sr,Ku(n))}setHmrRoutes(n){In(this,Wa,n),In(this,Tr,Ku(n))}commitHmrRoutes(){xn(this,Wa)&&(In(this,Ui,xn(this,Wa)),In(this,Sr,xn(this,Tr)),In(this,Wa,void 0),In(this,Tr,void 0))}},Ui=new WeakMap,Sr=new WeakMap,Wa=new WeakMap,Tr=new WeakMap,Tx);function _E(t){const n=t.window?t.window:typeof window<"u"?window:void 0,i=typeof n<"u"&&typeof n.document<"u"&&typeof n.document.createElement<"u";Oe(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=t.hydrationRouteProperties||[],o=t.mapRouteProperties,u=o||(()=>({}));if(t.instrumentations){let k=t.instrumentations;u=j=>({...o==null?void 0:o(j),...SE(k.map(N=>N.route).filter(Boolean),j)})}let d={},h=new RE(eo(t.routes,u,void 0,d)),m=t.basename||"/";m.startsWith("/")||(m=`/${m}`);let p=t.dataStrategy||BE,g={...t.future},b=null,x=new Set,S=null,T=null,C=null,z=null,L=t.hydrationData!=null,V=ea(h.activeRoutes,t.history.location,m,!1,h.branches),G=!1,F=null,Q,me;if(V==null&&!t.patchRoutesOnNavigation){let k=Vn(404,{pathname:t.history.location.pathname}),{matches:j,route:N}=Nu(h.activeRoutes);Q=!0,me=!Q,V=j,F={[N.id]:k}}else if(V&&!t.hydrationData&&ri(V,h.activeRoutes,t.history.location.pathname).active&&(V=null),V)if(V.some(k=>k.route.lazy))Q=!1,me=!Q;else if(!V.some(k=>vm(k.route)))Q=!0,me=!Q;else{let k=t.hydrationData?t.hydrationData.loaderData:null,j=t.hydrationData?t.hydrationData.errors:null,N=V;if(j){let Y=V.findIndex(X=>j[X.route.id]!==void 0);N=N.slice(0,Y+1)}me=!1,Q=!0,N.forEach(Y=>{let X=Qx(Y.route,k,j);me=me||X.renderFallback,Q=Q&&!X.shouldLoad})}else{Q=!1,me=!Q,V=[];let k=ri(null,h.activeRoutes,t.history.location.pathname);k.active&&k.matches&&(G=!0,V=k.matches)}let te,R={historyAction:t.history.action,location:t.history.location,matches:V,initialized:Q,renderFallback:me,navigation:Qf,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||F,fetchers:new Map,blockers:new Map},oe="POP",I=null,we=!1,ee,De=!1,Be=new Map,Le=null,U=!1,P=!1,$=new Set,ie=new Map,ve=0,be=-1,Re=new Map,Ae=new Set,We=new Map,yt=new Map,ut=new Set,Qt=new Map,xa,nn=null;function Bs(){if(b=t.history.listen(({action:k,location:j,delta:N})=>{if(xa){xa(),xa=void 0;return}qt(Qt.size===0||N!=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 Y=$i({currentLocation:R.location,nextLocation:j,historyAction:k});if(Y&&N!=null){let X=new Promise(se=>{xa=se});t.history.go(N*-1),Ea(Y,{state:"blocked",location:j,proceed(){Ea(Y,{state:"proceeding",proceed:void 0,reset:void 0,location:j}),X.then(()=>t.history.go(N))},reset(){let se=new Map(R.blockers);se.set(Y,Nl),Ct({blockers:se})}}),I==null||I.resolve(),I=null;return}return wa(k,j)}),i){nA(n,Be);let k=()=>aA(n,Be);n.addEventListener("pagehide",k),Le=()=>n.removeEventListener("pagehide",k)}return R.initialized||wa("POP",R.location,{initialHydration:!0}),te}function jr(){b&&b(),Le&&Le(),x.clear(),ee&&ee.abort(),R.fetchers.forEac
71h((k,j)=>Ta(R.fetchers,j)),R.blockers.forEach((k,j)=>Qi(j))}function Vs(k){if(x.add(k),S){let{newErrors:j}=S;S=null,k(R,{deletedFetchers:[],newErrors:j,viewTransitionOpts:void 0,flushSync:!1})}return()=>x.delete(k)}function Ct(k,j={}){k.matches&&(k.matches=k.matches.map(X=>{let se=d[X.route.id],ne=X.route;return ne.element!==se.element||ne.errorElement!==se.errorElement||ne.hydrateFallbackElement!==se.hydrateFallbackElement?{...X,route:se}:X})),R={...R,...k};let N=[],Y=[];R.fetchers.forEach((X,se)=>{X.state==="idle"&&(ut.has(se)?N.push(se):Y.push(se))}),ut.forEach(X=>{!R.fetchers.has(X)&&!ie.has(X)&&N.push(X)}),x.size===0&&(S={newErrors:k.errors??null}),[...x].forEach(X=>X(R,{deletedFetchers:N,newErrors:k.errors??null,viewTransitionOpts:j.viewTransitionOpts,flushSync:j.flushSync===!0})),N.forEach(X=>Ta(R.fetchers,X)),Y.forEach(X=>R.fetchers.delete(X))}function an(k,j,{flushSync:N}={}){var Te,ye;let Y=R.actionData!=null&&R.navigation.formMethod!=null&&Pt(R.navigation.formMethod)&&R.navigation.state==="loading"&&((Te=k.state)==null?void 0:Te._isRedirect)!==!0,X;j.actionData?Object.keys(j.actionData).length>0?X=j.actionData:X=null:Y?X=R.actionData:X=null;let se=j.loaderData?T0(R.loaderData,j.loaderData,j.matches||[],j.errors):R.loaderData,ne=R.blockers;ne.size>0&&!U&&(ne=new Map(ne),ne.forEach((Ee,Qe)=>ne.set(Qe,Nl)));let ae=U?!1:Zs(k,j.matches||R.matches),W=we===!0||R.navigation.formMethod!=null&&Pt(R.navigation.formMethod)&&((ye=k.state)==null?void 0:ye._isRedirect)!==!0;h.commitHmrRoutes(),U||oe==="POP"||(oe==="PUSH"?t.history.push(k,k.state):oe==="REPLACE"&&t.history.replace(k,k.state));let pe;if(oe==="POP"){let Ee=Be.get(R.location.pathname);Ee&&Ee.has(k.pathname)?pe={currentLocation:R.location,nextLocation:k}:Be.has(k.pathname)&&(pe={currentLocation:k,nextLocation:R.location})}else if(De){let Ee=Be.get(R.location.pathname);Ee?Ee.add(k.pathname):(Ee=new Set([k.pathname]),Be.set(R.location.pathname,Ee)),pe={currentLocation:R.location,nextLocation:k}}Ct({...j,actionData:X,loaderData:se,historyAction:oe,location:k,initialized:!0,renderFallback:!1,navigation:Qf,revalidation:"idle",restoreScrollPosition:ae,preventScrollReset:W,blockers:ne},{viewTransitionOpts:pe,flushSync:N===!0}),oe="POP",we=!1,De=!1,U=!1,P=!1,I==null||I.resolve(),I=null,nn==null||nn.resolve(),nn=null}async function zr(k,j){if(I==null||I.resolve(),I=null,typeof k=="number"){I||(I=j0());let Ye=I.promise;return t.history.go(k),Ye}let N=f0(te),{path:Y,submission:X,error:se}=m0(!1,Ah(R.location,R.matches,m,k,j==null?void 0:j.fromRouteId,j==null?void 0:j.relative),j),ne;j!=null&&j.mask&&(ne={pathname:"",search:"",hash:"",...typeof j.mask=="str
71ing"?ba(j.mask):{...R.location.mask,...j.mask}});let ae=R.location,W=Wl(ae,Y,j&&j.state,void 0,ne);W={...W,...t.history.encodeLocation(W)};let pe=j&&j.replace!=null?j.replace:void 0,Te="PUSH";pe===!0?Te="REPLACE":pe===!1||X!=null&&Pt(X.formMethod)&&X.formAction===R.location.pathname+R.location.search&&(Te="REPLACE");let ye=j&&"preventScrollReset"in j?j.preventScrollReset===!0:void 0,Ee=(j&&j.flushSync)===!0,Qe=$i({currentLocation:ae,nextLocation:W,historyAction:Te});if(Qe){Ea(Qe,{state:"blocked",location:W,proceed(){Ea(Qe,{state:"proceeding",proceed:void 0,reset:void 0,location:W}),zr(k,j)},reset(){let Ye=new Map(R.blockers);Ye.set(Qe,Nl),Ct({blockers:Ye})}});return}await wa(Te,W,{submission:X,pendingError:se,preventScrollReset:ye,replace:j&&j.replace,enableViewTransition:j&&j.viewTransition,flushSync:Ee,callSiteDefaultShouldRevalidate:j&&j.defaultShouldRevalidate,instrumentationNavigateMetaReceiver:N})}function Us(){nn||(nn=j0()),ai(),Ct({revalidation:"loading"});let k=nn.promise;return R.navigation.state==="submitting"?k:R.navigation.state==="idle"?(wa(R.historyAction,R.location,{startUninterruptedRevalidation:!0}),k):(wa(oe||R.historyAction,R.navigation.location,{overrideNavigation:R.navigation,enableViewTransition:De===!0}),k)}async function wa(k,j,N){ee&&ee.abort(),ee=null,oe=k,U=(N&&N.startUninterruptedRevalidation)===!0,Rc(R.location,R.matches),we=(N&&N.preventScrollReset)===!0,De=(N&&N.enableViewTransition)===!0;let Y=h.activeRoutes,X=N!=null&&N.initialHydration&&R.matches&&R.matches.length>0&&!G?R.matches:ea(Y,j,m,!1,h.branches),se=(N&&N.flushSync)===!0;if(X&&R.initialized&&!P&&FE(R.location,j)&&!(N&&N.submission&&Pt(N.submission.formMethod))){an(j,{matches:X},{flushSync:se});return}let ne=ri(X,Y,j.pathname);if(ne.active&&ne.matches&&(X=ne.matches),N!=null&&N.instrumentationNavigateMetaReceiver){let ze=k0(t.history,j,X);N.instrumentationNavigateMetaReceiver(ze)}if(!X){let{error:ze,notFoundMatches:It,route:vt}=Fn(j.pathname);an(j,{matches:It,loaderData:{},errors:{[vt.id]:ze}},{flushSync:se});return}let ae=N&&N.overrideNavigation?{...N.overrideNavigation,matches:X,historyAction:k}:void 0;ee=new AbortController;let W=ps(t.history,j,ee.signal,N&&N.submission),pe=t.getContext?await t.getContext():new l0,Te;if(N&&N.pendingError)Te=[Vi(X).route.id,{type:"error",error:N.pendingError}];else if(N&&N.submission&&Pt(N.submission.formMethod)){let ze=await yo(W,j,N.submission,X,k,pe,ne.active,N&&N.initialHydration===!0,{replace:N.replace,flushSync:se});if(ze.shortCircuited)return;if(ze.pendingActionResult){let[It,vt]=ze.pendingActionResult;if(wn(vt)&&to(vt.error)&&vt.error.status===404){ee=null,an(j,{matches:ze.matches,loaderData:{},errors:{[It]:vt.error}});return}}X=ze.matches||X,Te=ze.pendingActionResult,ae=$f(j,X,k,N.submission),se=!1,ne.active=!1,W=ps(t.history,W.url,W.signal)}let{shortCircuited:ye,matches:Ee,loaderData:Qe,errors:Ye,workingFetchers:ct}=await Hs(W,j,X,k,pe,ne.active,ae,N&&N.submission,N&&N.fetcherSubmission,N&&N.replace,N&&N.initialHydration===!0,se,Te,N&&N.callSiteDefaultShouldRevalidate);ye||(ee=null,an(j,{matches:Ee||X,...E0(Te),loaderData:Qe,errors:Ye,...ct?{fetchers:ct}:{}}))}async function yo(k,j,N,Y,X,se,ne,ae,W={}){if(ai(),Ct({navigation:eA(j,Y,X,N)},{flushSync:W.flushSync===!0}),ne){let ye=await ia(Y,j.pathname,k.signal);if(ye.type==="aborted")return{shortCircuited:!0};if(ye.type==="error"){if(ye.partialMatches.length===0){let{matches:Qe,route:Ye}=Nu(h.activeRoutes);return{matches:Qe,pendingActionResult:[Ye.id,{type:"error",error:ye.error}]}}let Ee=Vi(ye.partialMatches).route.id;return{matches:ye.partialMatches,pendingActionResult:[Ee,{type:"error",error:ye.error}]}}else if(ye.matches)Y=ye.matches;else{let{notFoundMatches:Ee,error:Qe,route:Ye}=Fn(j.pathname);return{matches:Ee,pendingActionResult:[Ye.id,{type:"error",error:Qe}]}}}let pe,Te=Zu(Y,j);if(!Te.route.action&&!Te.route.lazy)pe={type:"error",error:Vn(405,{method:k.method,pathname:j.pathname,routeId:Te.route.id})};else{let ye=await ni(k,j,Ss(u,d,k,j,Y,Te,ae?[]:s,se),se,null);if(pe=ye[Te.route.id],!pe){for(let Ee of Y)if(ye[Ee.route.id]){pe=ye[Ee.route.id];break}}if(k.signal.aborted)return{shortCircuited:!0}}if(br(pe)){let ye;return W&&W.replace!=null?ye=W.replace:ye=x0(pe.response.headers.get("Location"),new URL(k.url),m,t.history)===R.location.pathname+R.location.search,await Sa(k,pe,!0,{submission:N,replace:ye}),{shortCircuited:!0}}if(wn(pe)){let ye=Vi(Y,Te.route.id);return(W&&W.replace)!==!0&&(oe="PUSH"),{matches:Y,pendingActionResult:[ye.route.id,pe,Te.route.id]}}return{matches:Y,pendingActionResult:[Te.route.id,pe]}}async function Hs(k,j,N,Y,X,se,ne,ae,W,pe,Te,ye,Ee,Qe){let Ye=ne||$f(j,N,Y,ae),ct=ae||W||M0(Ye),ze=!U&&!Te;if(se){if(ze){let Je=Cr(Ee);Ct({navigation:Ye,...Je!==void 0?{actionData:Je}:{}},{flushSync:ye})}let ke=await ia(N,j.pathname,k.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){if(ke.partialMatches.length===0){let{matches:jn,route:li}=Nu(h.activeRoutes);return{matches:jn,loaderData:{},errors:{[li.id]:ke.error}}}let Je=Vi(ke.partialMatches).route.id;return{matches:ke.partialMatches,loaderData:{},errors:{[Je]:ke.error}}}else if(ke.matches)N=ke.matches;else{let{error:Je,notFoundMatches:jn,route:li}=Fn(j.pathname);return{matches:jn,loaderData:{},errors:{[li.id]:Je}}}}let It=h.activeRoutes,{dsMatches:vt,revalidatingFetchers:$e}=p0(k,X,u,d,t.history,R,N,ct,j,Te?[]:s,Te===!0,P,$,ut,We,Ae,It,m,t.patchRoutesOnNavigation!=null,h.branches,Ee,Qe);if(be=++ve,!t.dataStrategy&&!vt.some(ke=>ke.shouldLoad)&&!vt.some(ke=>ke.route.middleware&&ke.route.middleware.length>0)&&$e.length===0){let ke=new Map(R.fetchers),Je=vo(ke);return an(j,{matches:N,loaderData:{},errors:Ee&&wn(Ee[1])?{[Ee[0]]:Ee[1].error}:null,...E0(Ee),...Je?{fetchers:ke}:{}},{flushSync:ye}),{shortCircuited:!0}}if(ze){let ke={};if(!se){ke.navigation=Ye;let Je=Cr(Ee);Je!==void 0&&(ke.actionData=Je)}$e.length>0&&(ke.fetchers=Gs($e)),Ct(ke,{flushSync:ye})}$e.forEach(ke=>
71{Dt(ke.key),ke.controller&&ie.set(ke.key,ke.controller)});let Pn=()=>$e.forEach(ke=>Dt(ke.key));ee&&ee.signal.addEventListener("abort",Pn);let{loaderResults:Aa,fetcherResults:Mn}=await Ks(vt,$e,k,j,X);if(k.signal.aborted)return{shortCircuited:!0};ee&&ee.signal.removeEventListener("abort",Pn),$e.forEach(ke=>ie.delete(ke.key));let Rt=Du(Aa);if(Rt)return await Sa(k,Rt.result,!0,{replace:pe}),{shortCircuited:!0};if(Rt=Du(Mn),Rt)return Ae.add(Rt.key),await Sa(k,Rt.result,!0,{replace:pe}),{shortCircuited:!0};let si=new Map(R.fetchers),{loaderData:ka,errors:Ma}=S0(R,N,Aa,Ee,$e,Mn,si);Te&&R.errors&&(Ma={...R.errors,...Ma});let _r=vo(si),ja=bo(be,si),za=_r||ja||$e.length>0;return{matches:N,loaderData:ka,errors:Ma,...za?{workingFetchers:si}:{}}}function Cr(k){if(k&&!wn(k[1]))return{[k[0]]:k[1].data};if(R.actionData)return Object.keys(R.actionData).length===0?null:R.actionData}function Gs(k){let j=new Map(R.fetchers);return k.forEach(N=>{let Y=j.get(N.key),X=Dl(void 0,Y?Y.data:void 0);j.set(N.key,X)}),j}async function kc(k,j,N,Y){Dt(k);let X=(Y&&Y.flushSync)===!0,se=f0(te),ne=h.activeRoutes,ae=Ah(R.location,R.matches,m,N,j,Y==null?void 0:Y.relative),W=ea(ne,ae,m,!1,h.branches),pe=ri(W,ne,ae);if(pe.active&&pe.matches&&(W=pe.matches),se&&se(k0(t.history,ae,W)),!W){kn(k,j,Vn(404,{pathname:ae}),{flushSync:X});return}let{path:Te,submission:ye,error:Ee}=m0(!0,ae,Y);if(Ee){kn(k,j,Ee,{flushSync:X});return}let Qe=t.getContext?await t.getContext():new l0,Ye=(Y&&Y.preventScrollReset)===!0;if(ye&&Pt(ye.formMethod)){await Mc(k,j,Te,W,Qe,pe.active,X,Ye,ye,Y&&Y.defaultShouldRevalidate);return}We.set(k,{routeId:j,path:Te}),await $t(k,j,Te,W,Qe,pe.active,X,Ye,ye)}async function Mc(k,j,N,Y,X,se,ne,ae,W,pe){ai(),We.delete(k),Yn(k,tA(W,R.fetchers.get(k)),{flushSync:ne});let Te=new AbortController,ye=ps(t.history,N,Te.signal,W);if(se){let dt=await ia(Y,new URL(ye.url).pathname,ye.signal,k);if(dt.type==="aborted")return;if(dt.type==="error"){kn(k,j,dt.error,{flushSync:ne});return}else if(dt.matches)Y=dt.matches;else{kn(k,j,Vn(404,{pathname:N}),{flushSync:ne});return}}let Ee=Zu(Y,N);if(!Ee.route.action&&!Ee.route.lazy){kn(k,j,Vn(405,{method:W.formMethod,pathname:N,routeId:j}),{flushSync:ne});return}ie.set(k,Te);let Qe=ve,Ye=Ss(u,d,ye,N,Y,Ee,s,X),ct=await ni(ye,N,Ye,X,k),ze=ct[Ee.route.id];if(!ze){for(let dt of Ye)if(ct[dt.route.id]){ze=ct[dt.route.id];break}}if(ye.signal.aborted){ie.get(k)===Te&&ie.delete(k);return}if(ut.has(k)){if(br(ze)||wn(ze)){Yn(k,ca(void 0));return}}else{if(br(ze))if(ie.delete(k),be>Qe){Yn(k,ca(void 0));return}else return Ae.add(k),Yn(k,Dl(W)),Sa(ye,ze,!1,{fetcherSubmission:W,preventScrollReset:ae});if(wn(ze)){kn(k,j,ze.error);return}}let It=R.navigation.location||R.location,vt=ps(t.history,It,Te.signal),$e=h.activeRoutes,Pn=R.navigation.state!=="idle"?ea($e,R.navigation.location,m,!1,h.branches):R.matches;Oe(Pn,"Didn't find any matches after fetcher action");let Aa=++ve;Re.set(k,Aa);let{dsMatches:Mn,revalidatingFetchers:Rt}=p0(vt,X,u,d,t.history,R,Pn,W,It,s,!1,P,$,ut,We,Ae,$e,m,t.patchRoutesOnNavigation!=null,h.branches,[Ee.route.id,ze],pe),si=Dl(W,ze.data),ka=new Map(R.fetchers);ka.set(k,si),Rt.filter(dt=>dt.key!==k).forEach(dt=>{let zn=dt.key,To=ka.get(zn),rn=Dl(void 0,To?To.data:void 0);ka.set(zn,rn),Dt(zn),dt.controller&&ie.set(zn,dt.controller)}),Ct({fetchers:ka});let Ma=()=>Rt.forEach(dt=>Dt(dt.key));Te.signal.addEventListener("abort",Ma);let{loaderResults:_r,fetcherResults:ja}=await Ks(Mn,Rt,vt,It,X);if(Te.signal.aborted)return;Te.signal.removeEventListener("abort",Ma),Re.delete(k),ie.delete(k),Rt.forEach(dt=>ie.delete(dt.key));let za=R.fetchers.has(k),ke=dt=>{if(!za)return dt;let zn=new Map(dt.fetchers);return zn.set(k,ca(ze.data)),{...dt,fetchers:zn}},Je=Du(_r);if(Je)return R=ke(R),Sa(vt,Je.result,!1,{preventScrollReset:ae});if(Je=Du(ja),Je)return Ae.add(Je.key),R=ke(R),Sa(vt,Je.result,!1,{preventScrollReset:ae});let jn=new Map(R.fetchers);za&&jn.set(k,ca(ze.data));let{loaderData:li,errors:Ji}=S0(R,Pn,_r,void 0,Rt,ja,jn);bo(Aa,jn),R.navigation.state==="loading"&&Aa>be?(Oe(oe,"Expected pending action"),ee&&ee.abort(),an(R.navigation.location,{matches:Pn,loaderData:li,errors:Ji,fetchers:jn})):(Ct({errors:Ji,loaderData:T0(R.loaderData,li,Pn,Ji),fetchers:jn}),P=!1)}async function $t(k,j,N,Y,X,se,ne,ae,W){let pe=R.fetchers.get(k);Yn(k,Dl(W,pe?pe.data:void 0),{flushSync:ne});let Te=new AbortController,ye=ps(t.history,N,Te.signal);if(se){let ze=await ia(Y,new URL(ye.url).pathname,ye.signal,k);if(ze.type==="aborted")return;if(ze.type==="error"){kn(k,j,ze.error,{flushSync:ne});return}else if(ze.matches)Y=ze.matches;else{kn(k,j,Vn(404,{pathname:N}),{flushSync:ne});return}}let Ee=Zu(Y,N);ie.set(k,Te);let Qe=ve,Ye=await ni(ye,N,Ss(u,d,ye,N,Y,Ee,s,X),X,k),ct=Ye[Ee.route.id];if(!ct){for(let ze of Y)if(Ye[ze.route.id]){ct=Ye[ze.route.id];break}}if(ie.get(k)===Te&&ie.delete(k),!ye.signal.aborted){if(ut.has(k)){Yn(k,ca(void 0));return}if(br(ct))if(be>Qe){Yn(k,ca(void 0));return}else{Ae.add(k),await Sa(ye,ct,!1,{preventScrollReset:ae});return}if(wn(ct)){kn(k,j,ct.error);return}Yn(k,ca(ct.data))}}async function Sa(k,j,N,{submission:Y,fetcherSubmission:X,preventScrollReset:se,replace:ne}={}){N||(I==null||I.resolve(),I=null),j.response.headers.has("X-Remix-Revalidate")&&(P=!0);let ae=j.response.headers.get("Location");Oe(ae,"Expected a Location header on the redirect Response"),ae=x0(ae,new URL(k.url),m,t.history);let W=Wl(R.location,ae,{_isRedirect:!0});if(i){let Ye=!1;if(j.response.headers.has("X-Remix-Reload-Document"))Ye=!0;else if(mm(ae)){const ct=Nx(n,ae,!0);Ye=ct.origin!==n.location.origin||Kn(ct.pathname,m)==null}if(Ye){ne?n.location.replace(ae):n.location.assign(ae);return}}ee=null;let pe=ne===!0||j.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Te,formAction:ye,formEncType:Ee}=R.navigation;!Y&&!X&&Te&&ye&&Ee&&(Y=M0(R.navigation));let Qe=Y||X;zE.has(j.response.status)&&Qe&&Pt(Qe.formMethod)?await wa(pe,W,{submission:{...Qe,formAction:ae},preventScrollReset:se||we,enableViewTransition:N?De:void 0}):await wa(pe,W,{overrideNavigation:$f(W,[],pe,Y),fetcherSubmission:X,preventScrollReset:se||we,enableViewTransition:N?De:void 0})}async function ni(k,j,N,Y,X){var ae;let se,ne={};try{se=await UE(p,k,j,N,X,Y,!1)}catch(W){return N.filter(pe=>
71pe.shouldLoad).forEach(pe=>{ne[pe.route.id]={type:"error",error:W}}),ne}if(k.signal.aborted)return ne;if(!Pt(k.method))for(let W of N){if(((ae=se[W.route.id])==null?void 0:ae.type)==="error")break;!se.hasOwnProperty(W.route.id)&&!R.loaderData.hasOwnProperty(W.route.id)&&(!R.errors||!R.errors.hasOwnProperty(W.route.id))&&W.shouldCallHandler()&&(se[W.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${W.route.id}`)})}for(let[W,pe]of Object.entries(se))if($E(pe)){let Te=pe.result;ne[W]={type:"redirect",response:ZE(Te,k,W,N,m)}}else ne[W]=await KE(pe);return ne}async function Ks(k,j,N,Y,X){let se=ni(N,Y,k,X,null),ne=Promise.all(j.map(async ae=>{if(ae.matches&&ae.match&&ae.request&&ae.controller){let W=(await ni(ae.request,ae.path,ae.matches,X,ae.key))[ae.match.route.id];return{[ae.key]:W}}else return Promise.resolve({[ae.key]:{type:"error",error:Vn(404,{pathname:ae.path})}})}));return{loaderResults:await se,fetcherResults:(await ne).reduce((ae,W)=>Object.assign(ae,W),{})}}function ai(){P=!0,We.forEach((k,j)=>{ie.has(j)&&$.add(j),Dt(j)})}function Yn(k,j,N={}){let Y=new Map(R.fetchers);Y.set(k,j),Ct({fetchers:Y},{flushSync:(N&&N.flushSync)===!0})}function kn(k,j,N,Y={}){let X=Vi(R.matches,j),se=new Map(R.fetchers);Ta(se,k),Ct({errors:{[X.route.id]:N},fetchers:se},{flushSync:(Y&&Y.flushSync)===!0})}function jc(k){return yt.set(k,(yt.get(k)||0)+1),ut.has(k)&&ut.delete(k),R.fetchers.get(k)||CE}function zc(k,j){Dt(k,j==null?void 0:j.reason),Yn(k,ca(null))}function Ta(k,j){let N=R.fetchers.get(j);ie.has(j)&&!(N&&N.state==="loading"&&Re.has(j))&&Dt(j),We.delete(j),Re.delete(j),Ae.delete(j),ut.delete(j),$.delete(j),k.delete(j)}function Jt(k){let j=(yt.get(k)||0)-1;j<=0?(yt.delete(k),ut.add(k)):yt.set(k,j),Ct({fetchers:new Map(R.fetchers)})}function Dt(k,j){let N=ie.get(k);N&&(N.abort(j),ie.delete(k))}function Yt(k,j){for(let N of k){let Y=j.get(N);Oe(Y,`Expected fetcher: ${N}`);let X=ca(Y.data);j.set(N,X)}}function vo(k){let j=[],N=!1;for(let Y of Ae){let X=k.get(Y);Oe(X,`Expected fetcher: ${Y}`),X.state==="loading"&&(Ae.delete(Y),j.push(Y),N=!0)}return Yt(j,k),N}function bo(k,j){let N=[];for(let[Y,X]of Re)if(X<k){let se=j.get(Y);Oe(se,`Expected fetcher: ${Y}`),se.state==="loading"&&(Dt(Y),Re.delete(Y),N.push(Y))}return Yt(N,j),N.length>0}function Cc(k,j){let N=R.blockers.get(k)||Nl;return Qt.get(k)!==j&&Qt.set(k,j),N}function Qi(k){R.blockers.delete(k),Qt.delete(k)}function Ea(k,j){let N=R.blockers.get(k)||Nl;Oe(N.state==="unblocked"&&j.state==="blocked"||N.state==="blocked"&&j.state==="blocked"||N.state==="blocked"&&j.state==="proceeding"||N.state==="blocked"&&j.state==="unblocked"||N.state==="proceeding"&&j.state==="unblocked",`Invalid blocker state transition: ${N.state} -> ${j.state}`);let Y=new Map(R.blockers);Y.set(k,j),Ct({blockers:Y})}function $i({currentLocation:k,nextLocation:j,historyAction:N}){if(Qt.size===0)return;Qt.size>1&&qt(!1,"A router only supports one blocker at a time");let Y=Array.from(Qt.entries()),[X,se]=Y[Y.length-1],ne=R.blockers.get(X);if(!(ne&&ne.state==="proceeding")&&se({currentLocation:k,nextLocation:j,historyAction:N}))return X}function Fn(k){let j=Vn(404,{pathname:k}),N=h.activeRoutes,{matches:Y,route:X}=Nu(N);return{notFoundMatches:Y,route:X,error:j}}function Rr(k,j,N){if(T=k,z=j,C=N||null,!L&&R.navigation===Qf){L=!0;let Y=Zs(R.location,R.matches);Y!=null&&Ct({restoreScrollPosition:Y})}return()=>{T=null,z=null,C=null}}function ii(k,j){return C&&C(k,j.map(N=>Ox(N,R.loaderData)))||k.key}function Rc(k,j){if(T&&z){let N=ii(k,j);T[N]=z()}}function Zs(k,j){if(T){let N=ii(k,j),Y=T[N];if(typeof Y=="number")return Y}return null}function ri(k,j,N){if(t.patchRoutesOnNavigation){let Y=h.branches;if(k){if(Object.keys(k[0].params).length>0)return{active:!0,matches:ea(j,N,m,!0,Y)}}else return{active:!0,matches:ea(j,N,m,!0,Y)||[]}}return{active:!1,matches:null}}async function ia(k,j,N,Y){if(!t.patchRoutesOnNavigation)return{type:"success",matches:k};let X=k;for(;;){let se=d;try{await t.patchRoutesOnNavigation({signal:N,path:j,matches:X,fetcherKey:Y,patch:(pe,Te)=>{N.aborted||g0(pe,Te,h,se,u,!1)}})}catch(pe){return{type:"error",error:pe,partialMatches:X}}if(N.aborted)return{type:"aborted"};let ne=h.branches,ae=ea(h.activeRoutes,j,m,!1,ne),W=null;if(ae){if(Object.keys(ae[0].params).length===0)return{type:"success",matches:ae};if(W=ea(h.activeRoutes,j,m,!0,ne),!(W&&X.length<W.length&&xo(X,W.slice(0,X.length))))return{type:"success",matches:ae}}if(W||(W=ea(h.activeRoutes,j,m,!0,ne)),!W||xo(X,W))return{type:"success",matches:null};X=W}}function xo(k,j){return k.length===j.length&&k.every((N,Y)=>N.route.id===j[Y].route.id)}function wo(k){d={},h.setHmrRoutes(eo(k,u,void 0,d))}function So(k,j,N=!1){g0(k,j,h,d,u,N),h.hasHMRRoutes||Ct({})}return te={get basename(){return m},get future(){return g},get state(){return R},get routes(){return h.stableRoutes},get branches(){return h.branches},get manifest(){return d},get window(){return n},initialize:Bs,subscribe:Vs,enableScrollRestoration:Rr,navigate:zr,fetch:kc,revalidate:Us,createHref:k=>t.history.createHref(k),encodeLocation:k=>t.history.encodeLocation(k),getFetcher:jc,resetFetcher:zc,deleteFetcher:Jt,dispose:jr,getBlocker:Cc,deleteBlocker:Qi,patchRoutes:So,_internalFetchControllers:ie,_internalSetRoutes:wo,_internalSetStateDoNotUseOrYouWillBreakYourApp(k){Ct(k)}},t.instrumentations&&(te=TE(te,t.instrumentations.map(k=>
71k.router).filter(Boolean))),te}function NE(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function Ah(t,n,i,s,o,u){let d,h;if(o){d=[];for(let p of n)if(d.push(p),p.route.id===o){h=p;break}}else d=n,h=n[n.length-1];let m=yc(s||".",pm(d),Kn(t.pathname,i)||t.pathname,u==="path");if(s==null&&(m.search=t.search,m.hash=t.hash),(s==null||s===""||s===".")&&h){let p=xm(m.search);if(h.route.index&&!p)m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&p){let g=new URLSearchParams(m.search),b=g.getAll("index");g.delete("index"),b.filter(S=>S).forEach(S=>g.append("index",S));let x=g.toString();m.search=x?`?${x}`:""}}return i!=="/"&&(m.pathname=gE({basename:i,pathname:m.pathname})),ya(m)}function m0(t,n,i){if(!i||!NE(i))return{path:n};if(i.formMethod&&!WE(i.formMethod))return{path:n,error:Vn(405,{method:i.formMethod})};let s=()=>({path:n,error:Vn(400,{type:"invalid-body"})}),o=(i.formMethod||"get").toUpperCase(),u=t1(n);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!Pt(o))return s();let g=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((b,[x,S])=>`${b}${x}=${S}
72`,""):String(i.body);return{path:n,submission:{formMethod:o,formAction:u,formEncType:i.formEncType,formData:void 0,json:void 0,text:g}}}else if(i.formEncType==="application/json"){if(!Pt(o))return s();try{let g=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:n,submission:{formMethod:o,formAction:u,formEncType:i.formEncType,formData:void 0,json:g,text:void 0}}}catch{return s()}}}Oe(typeof FormData=="function","FormData is not available in this environment");let d,h;if(i.formData)d=jh(i.formData),h=i.formData;else if(i.body instanceof FormData)d=jh(i.body),h=i.body;else if(i.body instanceof URLSearchParams)d=i.body,h=w0(d);else if(i.body==null)d=new URLSearchParams,h=new FormData;else try{d=new URLSearchParams(i.body),h=w0(d)}catch{return s()}let m={formMethod:o,formAction:u,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:h,json:void 0,text:void 0};if(Pt(m.formMethod))return{path:n,submission:m};let p=ba(n);return t&&p.search&&xm(p.search)&&d.append("index",""),p.search=`?${d}`,{path:ya(p),submission:m}}function p0(t,n,i,s,o,u,d,h,m,p,g,b,x,S,T,C,z,L,V,G,F,Q){var U;let me=F?wn(F[1])?F[1].error:F[1].data:void 0,te=o.createURL(u.location),R=o.createURL(m),oe;if(g&&u.errors){let P=Object.keys(u.errors)[0];oe=d.findIndex($=>$.route.id===P)}else if(F&&wn(F[1])){let P=F[0];oe=d.findIndex($=>$.route.id===P)-1}let I=F?F[1].statusCode:void 0,we=I&&I>=400,ee={currentUrl:te,currentParams:((U=u.matches[0])==null?void 0:U.params)||{},nextUrl:R,nextParams:d[0].params,...h,actionResult:me,actionStatus:I},De=Rs(d),Be=d.map((P,$)=>{let{route:ie}=P,ve=null;if(oe!=null&&$>oe)ve=!1;else if(ie.lazy)ve=!0;else if(!vm(ie))ve=!1;else if(g){let{shouldLoad:Ae}=Qx(ie,u.loaderData,u.errors);ve=Ae}else DE(u.loaderData,u.matches[$],P)&&(ve=!0);if(ve!==null)return kh(i,s,t,m,De,P,p,n,ve);let be=!1;typeof Q=="boolean"?be=Q:we?be=!1:(b||te.pathname+te.search===R.pathname+R.search||te.search!==R.search||OE(u.matches[$],P))&&(be=!0);let Re={...ee,defaultShouldRevalidate:be};return kh(i,s,t,m,De,P,p,n,Pl(P,Re),Re,Q)}),Le=[];return T.forEach((P,$)=>{if(g||!d.some(ut=>ut.route.id===P.routeId)||S.has($))return;let ie=u.fetchers.get($),ve=ie&&ie.state!=="idle"&&ie.data===void 0,be=ea(z,P.path,L??"/",!1,G);if(!be){if(V&&ve)return;Le.push({key:$,routeId:P.routeId,path:P.path,matches:null,match:null,request:null,controller:null});return}if(C.has($))return;let Re=Zu(be,P.path),Ae=new AbortController,We=ps(o,P.path,Ae.signal),yt=null;if(x.has($))x.delete($),yt=Ss(i,s,We,P.path,be,Re,p,n);else if(ve)b&&(yt=Ss(i,s,We,P.path,be,Re,p,n));else{let ut;typeof Q=="boolean"?ut=Q:we?ut=!1:ut=b;let Qt={...ee,defaultShouldRevalidate:ut};Pl(Re,Qt)&&(yt=Ss(i,s,We,P.path,be,Re,p,n,Qt))}yt&&Le.push({key:$,routeId:P.routeId,path:P.path,matches:yt,match:Re,request:We,controller:Ae})}),{dsMatches:Be,revalidatingFetchers:Le}}function vm(t){return t.loader!=null||t.middleware!=null&&t.middleware.length>0}function Qx(t,n,i){if(t.lazy)return{shouldLoad:!0,renderFallback:!0};if(!vm(t))return{shouldLoad:!1,renderFallback:!1};let s=n!=null&&t.id in n,o=i!=null&&i[t.id]!==void 0;if(!s&&o)return{shouldLoad:!1,renderFallback:!1};if(typeof t.loader=="function"&&t.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!s};let u=!s&&!o;return{shouldLoad:u,renderFallback:u}}function DE(t,n,i){let s=!n||i.route.id!==n.route.id,o=!t.hasOwnProperty(i.route.id);return s||o}function OE(t,n){let i=t.route.path;return t.pathname!==n.pathname||i!=null&&i.endsWith("*")&&t.params["*"]!==n.params["*"]}function Pl(t,n){if(t.route.shouldRevalidate){let i=t.route.shouldRevalidate(n);if(typeof i=="boolean")return i}return n.defaultShouldRevalidate}
72function g0(t,n,i,s,o,u){let d;if(t){let p=s[t];Oe(p,`No route found to patch children into: routeId = ${t}`),p.children||(p.children=[]),d=p.children}else d=i.activeRoutes;let h=[],m=[];if(n.forEach(p=>{let g=d.find(b=>$x(p,b));g?m.push({existingRoute:g,newRoute:p}):h.push(p)}),h.length>0){let p=eo(h,o,[t||"_","patch",String((d==null?void 0:d.length)||"0")],s);d.push(...p)}if(u&&m.length>0)for(let p=0;p<m.length;p++){let{existingRoute:g,newRoute:b}=m[p],x=g,[S]=eo([b],o,[],{},!0);Object.assign(x,{element:S.element?S.element:x.element,errorElement:S.errorElement?S.errorElement:x.errorElement,hydrateFallbackElement:S.hydrateFallbackElement?S.hydrateFallbackElement:x.hydrateFallbackElement})}i.hasHMRRoutes||i.setRoutes([...i.activeRoutes])}function $x(t,n){var i;return"id"in t&&"id"in n&&t.id===n.id?!0:t.index===n.index&&t.path===n.path&&t.caseSensitive===n.caseSensitive?(!t.children||t.children.length===0)&&(!n.children||n.children.length===0)?!0:((i=t.children)==null?void 0:i.every((s,o)=>{var u;return(u=n.children)==null?void 0:u.some(d=>$x(s,d))}))??!1:!1}const y0=new WeakMap,Jx=({key:t,route:n,manifest:i,mapRouteProperties:s})=>{let o=i[n.id];if(Oe(o,"No route found in manifest"),!o.lazy||typeof o.lazy!="object")return;let u=o.lazy[t];if(!u)return;let d=y0.get(o);d||(d={},y0.set(o,d));let h=d[t];if(h)return h;let m=(async()=>{let p=W2(t),g=o[t]!==void 0;if(p)qt(!p,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),d[t]=Promise.resolve();else if(g)qt(!1,`Route "${o.id}" has a static property "${t}" defined. The lazy property will be ignored.`);else{let b=await u();b!=null&&(Object.assign(o,{[t]:b}),Object.assign(o,s(o)))}typeof o.lazy=="object"&&(o.lazy[t]=void 0,Object.values(o.lazy).every(b=>b===void 0)&&(o.lazy=void 0))})();return d[t]=m,m},v0=new WeakMap;function LE(t,n,i,s,o){let u=i[t.id];if(Oe(u,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let g=v0.get(u);if(g)return{lazyRoutePromise:g,lazyHandlerPromise:g};let b=(async()=>{Oe(typeof t.lazy=="function","No lazy route function found");let x=await t.lazy(),S={};for(let T in x){let C=x[T];if(C===void 0)continue;let z=tE(T),L=u[T]!==void 0;z?qt(!z,"Route property "+T+" is not a supported property to be returned from a lazy route function. This property will be ignored."):L?qt(!L,`Route "${u.id}" has a static property "${T}" defined but its lazy function is also returning a value for this property. The lazy route property "${T}" will be ignored.`):S[T]=C}Object.assign(u,S),Object.assign(u,{...s(u),lazy:void 0})})();return v0.set(u,b),b.catch(()=>{}),{lazyRoutePromise:b,lazyHandlerPromise:b}}let d=Object.keys(t.lazy),h=[],m;for(let g of d){if(o&&o.includes(g))continue;let b=Jx({key:g,route:t,manifest:i,mapRouteProperties:s});b&&(h.push(b),g===n&&(m=b))}let p=h.length>0?Promise.all(h).then(()=>{}):void 0;return p==null||p.catch(()=>{}),m==null||m.catch(()=>{}),{lazyRoutePromise:p,lazyHandlerPromise:m}}async function b0(t){let n=t.matches.filter(s=>s.shouldLoad),i={};return(await Promise.all(n.map(s=>s.resolve()))).forEach((s,o)=>{i[n[o].route.id]=s}),i}async function BE(t){return t.matches.some(n=>n.route.middleware)?Ix(t,()=>b0(t)):b0(t)}function Ix(t,n){return VE(t,n,s=>{if(IE(s))throw s;return s},XE,i);async function i(s,o,u){var d;if(u)return Object.assign(u.value,{[o]:{type:"error",result:s}});{let{matches:h}=t,m=Math.min(Math.max(h.findIndex(g=>g.route.id===o),0),Math.max(h.findIndex(g=>g.shouldCallHandler()),0)),p=h[m].route.id;for(let g of h.slice(0,m+1))try{await((d=g._lazyPromises)==null?void 0:d.route)}catch{p=g.route.id;break}return{[Vi(h,p).route.id]:{type:"error",result:s}}}}}async function VE(t,n,i,s,o){let{matches:u,...d}=t;return await Wx(d,u.flatMap(h=>h.route.middleware?h.route.middleware.map(m=>[h.route.id,m]):[]),n,i,s,o)}async function Wx(t,n,i,s,o,u,d=0){let{request:h}=t;if(h.signal.aborted)throw h.signal.reason??new Error(`Request aborted: ${h.method} ${h.url}`);let m=n[d];if(!m)return await i();let[p,g]=m,b,x=async()=>
72{if(b)throw new Error("You may only call `next()` once per middleware");try{return b={value:await Wx(t,n,i,s,o,u,d+1)},b.value}catch(S){return b={value:await u(S,p,b)},b.value}};try{let S=await g(t,x),T=S!=null?s(S):void 0;return o(T)?T:b?T??b.value:(b={value:await x()},b.value)}catch(S){return await u(S,p,b)}}function e1(t,n,i,s,o){let u=Jx({key:"middleware",route:s.route,manifest:n,mapRouteProperties:t}),d=LE(s.route,Pt(i.method)?"action":"loader",n,t,o);return{middleware:u,route:d.lazyRoutePromise,handler:d.lazyHandlerPromise}}function kh(t,n,i,s,o,u,d,h,m,p=null,g){let b=!1,x=e1(t,n,i,u,d);return{...u,_lazyPromises:x,shouldLoad:m,shouldRevalidateArgs:p,shouldCallHandler(S){return b=!0,p?typeof g=="boolean"?Pl(u,{...p,defaultShouldRevalidate:g}):typeof S=="boolean"?Pl(u,{...p,defaultShouldRevalidate:S}):Pl(u,p):m},resolve(S){let{lazy:T,loader:C,middleware:z}=u.route,L=b||m||S&&!Pt(i.method)&&(T||C),V=z&&z.length>0&&!C&&!T;return L&&(Pt(i.method)||!V)?HE({request:i,path:s,pattern:o,match:u,lazyHandlerPromise:x==null?void 0:x.handler,lazyRoutePromise:x==null?void 0:x.route,handlerOverride:S,scopedContext:h}):Promise.resolve({type:"data",result:void 0})}}}function Ss(t,n,i,s,o,u,d,h,m=null){return o.map(p=>p.route.id!==u.route.id?{...p,shouldLoad:!1,shouldRevalidateArgs:m,shouldCallHandler:()=>!1,_lazyPromises:e1(t,n,i,p,d),resolve:()=>Promise.resolve({type:"data",result:void 0})}:kh(t,n,i,s,Rs(o),p,d,h,!0,m))}async function UE(t,n,i,s,o,u,d){s.some(g=>{var b;return(b=g._lazyPromises)==null?void 0:b.middleware})&&await Promise.all(s.map(g=>{var b;return(b=g._lazyPromises)==null?void 0:b.middleware}));let h={request:n,url:ym(n,i),pattern:Rs(s),params:s[0].params,context:u,matches:s},p=await t({...h,fetcherKey:o,runClientMiddleware:g=>{let b=h;return Ix(b,()=>g({...b,fetcherKey:o,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(s.flatMap(g=>{var b,x;return[(b=g._lazyPromises)==null?void 0:b.handler,(x=g._lazyPromises)==null?void 0:x.route]}))}catch{}return p}async function HE({request:t,path:n,pattern:i,match:s,lazyHandlerPromise:o,lazyRoutePromise:u,handlerOverride:d,scopedContext:h}){let m,p,g=Pt(t.method),b=g?"action":"loader",x=S=>{let T,C=new Promise((V,G)=>T=G);p=()=>T(),t.signal.addEventListener("abort",p);let z=V=>typeof S!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${b}" [routeId: ${s.route.id}]`)):S({request:t,url:ym(t,n),pattern:i,params:s.params,context:h},...V!==void 0?[V]:[]),L=(async()=>{try{return{type:"data",result:await(d?d(V=>z(V)):z())}}catch(V){return{type:"error",result:V}}})();return Promise.race([L,C])};try{let S=g?s.route.action:s.route.loader;if(o||u)if(S){let T,[C]=await Promise.all([x(S).catch(z=>{T=z}),o,u]);if(T!==void 0)throw T;m=C}else{await o;let T=g?s.route.action:s.route.loader;if(T)[m]=await Promise.all([x(T),u]);else if(b==="action"){let C=new URL(t.url),z=C.pathname+C.search;throw Vn(405,{method:t.method,pathname:z,routeId:s.route.id})}else return{type:"data",result:void 0}}else if(S)m=await x(S);else{let T=new URL(t.url);throw Vn(404,{pathname:T.pathname+T.search})}}catch(S){return{type:"error",result:S}}finally{p&&t.signal.removeEventListener("abort",p)}return m}async function GE(t){let n=t.headers.get("Content-Type");return n&&/\bapplication\/json\b/.test(n)?t.body==null?null:t.json():t.text()}async function KE(t){var s,o,u,d,h;let{result:n,type:i}=t;if(bm(n)){let m;try{m=await GE(n)}catch(p){return{type:"error",error:p}}return i==="error"?{type:"error",error:new uo(n.status,n.statusText,m),statusCode:n.status,headers:n.headers}:{type:"data",data:m,statusCode:n.status,headers:n.headers}}return i==="error"?A0(n)?n.data instanceof Error?{type:"error",error:n.data,statusCode:(s=n.init)==null?void 0:s.status,headers:(o=n.init)!=null&&o.headers?new Headers(n.init.headers):void 0}:{type:"error",error:PE(n),statusCode:to(n)?n.status:void 0,headers:(u=n.init)!=null&&u.headers?new Headers(n.init.headers):void 0}:{type:"error",error:n,statusCode:to(n)?n.status:void 0}:A0(n)?{type:"data",data:n.data,statusCode:(d=n.init)==null?void 0:d.status,headers:(h=n.init)!=null&&h.headers?new Headers(n.init.headers):void 0}:{type:"data",data:n}}function ZE(t,n,i,s,o){let u=t.headers.get("Location");if(Oe(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!mm(u)){let d=s.slice(0,s.findIndex(h=>h.route.id===i)+1);u=Ah(new URL(n.url),d,o,u),t.headers.set("Location",u)}return t}const qE=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Mh(t){try{return qE.includes(new URL(t).protocol)}catch{return!1}}function x0(t,n,i,s){if(mm(t)){let o=t,u=fm.test(o)?new URL(_x(o,n.protocol)):new URL(o);if(Mh(u.toString()))throw new Error("Invalid redirect location");let d=Kn(u.pathname,i)!=null;if(u.origin===n.origin&&d)return gm(u.pathname)+u.search+u.hash}try{if(Mh(s.createURL(t).toString()))throw new Error("Invalid redirect location")}catch{}return t}function ps(t,n,i,s){let o=t.createURL(t1(n)).toString(),u={signal:i};if(s&&Pt(s.formMethod)){let{formMethod:d,formEncType:h}=s;u.method=d.toUpperCase(),h==="application/json"?(u.headers=new Headers({"Content-Type":h}),u.body=JSON.stringify(s.json)):h==="text/plain"?u.body=s.text:h==="application/x-www-form-urlencoded"&&s.formData?u.body=jh(s.formData):u.body=s.formData}
72return new Request(o,u)}function jh(t){let n=new URLSearchParams;for(let[i,s]of t.entries())n.append(i,typeof s=="string"?s:s.name);return n}function w0(t){let n=new FormData;for(let[i,s]of t.entries())n.append(i,s);return n}function YE(t,n,i,s=!1,o=!1){let u={},d=null,h,m=!1,p={},g=i&&wn(i[1])?i[1].error:void 0;return t.forEach(b=>{if(!(b.route.id in n))return;let x=b.route.id,S=n[x];if(Oe(!br(S),"Cannot handle redirect results in processLoaderData"),wn(S)){let T=S.error;if(g!==void 0&&(T=g,g=void 0),d=d||{},o)d[x]=T;else{let C=Vi(t,x);d[C.route.id]==null&&(d[C.route.id]=T)}s||(u[x]=Xx),m||(m=!0,h=to(S.error)?S.error.status:500),S.headers&&(p[x]=S.headers)}else u[x]=S.data,S.statusCode&&S.statusCode!==200&&!m&&(h=S.statusCode),S.headers&&(p[x]=S.headers)}),g!==void 0&&i&&(d={[i[0]]:g},i[2]&&(u[i[2]]=void 0)),{loaderData:u,errors:d,statusCode:h||200,loaderHeaders:p}}function S0(t,n,i,s,o,u,d){let{loaderData:h,errors:m}=YE(n,i,s);return o.filter(p=>!p.matches||p.matches.some(g=>g.shouldLoad)).forEach(p=>{let{key:g,match:b,controller:x}=p;if(x&&x.signal.aborted)return;let S=u[g];if(Oe(S,"Did not find corresponding fetcher result"),wn(S)){let T=Vi(t.matches,b==null?void 0:b.route.id);m&&m[T.route.id]||(m={...m,[T.route.id]:S.error}),d.delete(g)}else if(br(S))Oe(!1,"Unhandled fetcher revalidation redirect");else{let T=ca(S.data);d.set(g,T)}}),{loaderData:h,errors:m}}function T0(t,n,i,s){let o=Object.entries(n).filter(([,u])=>u!==Xx).reduce((u,[d,h])=>(u[d]=h,u),{});for(let u of i){let d=u.route.id;if(!n.hasOwnProperty(d)&&t.hasOwnProperty(d)&&u.route.loader&&(o[d]=t[d]),s&&s.hasOwnProperty(d))break}return o}function E0(t){return t?wn(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function Vi(t,n){return(n?t.slice(0,t.findIndex(i=>i.route.id===n)+1):[...t]).reverse().find(i=>i.route.ErrorBoundary!=null||i.route.errorElement!=null)||t[0]}function Nu(t){let n=t.length===1?t[0]:t.find(i=>i.index||!i.path||i.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:n}],route:n}}function Vn(t,{pathname:n,routeId:i,method:s,type:o,message:u}={}){let d="Unknown Server Error",h="Unknown @remix-run/router error";return t===400?(d="Bad Request",s&&n&&i?h=`You made a ${s} request to "${n}" but did not provide a \`loader\` for route "${i}", so there is no way to handle the request.`:o==="invalid-body"&&(h="Unable to encode submission body")):t===403?(d="Forbidden",h=`Route "${i}" does not match URL "${n}"`):t===404?(d="Not Found",h=`No route matches URL "${n}"`):t===405&&(d="Method Not Allowed",s&&n&&i?h=`You made a ${s.toUpperCase()} request to "${n}" but did not provide an \`action\` for route "${i}", so there is no way to handle the request.`:s&&(h=`Invalid request method "${s.toUpperCase()}"`)),new uo(t||500,d,new Error(h),!0)}function Du(t){let n=Object.entries(t);for(let i=n.length-1;i>=0;i--){let[s,o]=n[i];if(br(o))return{key:s,result:o}}}function t1(t){return ya({...typeof t=="string"?ba(t):t,hash:""})}function FE(t,n){return t.pathname!==n.pathname||t.search!==n.search?!1:t.hash===""?n.hash!=="":t.hash===n.hash?!0:n.hash!==""}function PE(t){var n,i;return new uo(((n=t.init)==null?void 0:n.status)??500,((i=t.init)==null?void 0:i.statusText)??"Internal Server Error",t.data)}function XE(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([n,i])=>typeof n=="string"&&QE(i))}function QE(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function $E(t){return bm(t.result)&&Fx.has(t.result.status)}function wn(t){return t.type==="error"}function br(t){return(t&&t.type)==="redirect"}function A0(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function bm(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function JE(t){return Fx.has(t)}function IE(t){return bm(t)&&JE(t.status)&&t.headers.has("Location")}function WE(t){return jE.has(t.toUpperCase())}function Pt(t){return kE.has(t.toUpperCase())}function xm(t){return new URLSearchParams(t).getAll("index").some(n=>n==="")}function Zu(t,n){let i=typeof n=="string"?ba(n).search:n.search;if(t[t.length-1].route.index&&xm(i||""))return t[t.length-1];let s=Hx(t);return s[s.length-1]}function k0(t,n,i){var s;return{url:ym(t.createURL(n),n),pattern:i?Rs(i):"",params:(s=i==null?void 0:i[0])!=null&&s.params?{...i[0].params}:{}}}function M0(t){let{formMethod:n,formAction:i,formEncType:s,text:o,formData:u,json:d}=t;
72if(!(!n||!i||!s)){if(o!=null)return{formMethod:n,formAction:i,formEncType:s,formData:void 0,json:void 0,text:o};if(u!=null)return{formMethod:n,formAction:i,formEncType:s,formData:u,json:void 0,text:void 0};if(d!==void 0)return{formMethod:n,formAction:i,formEncType:s,formData:void 0,json:d,text:void 0}}}function $f(t,n,i,s){return s?{state:"loading",location:t,matches:n,historyAction:i,formMethod:s.formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}:{state:"loading",location:t,matches:n,historyAction:i,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function eA(t,n,i,s){return{state:"submitting",location:t,matches:n,historyAction:i,formMethod:s.formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}}function Dl(t,n){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:n}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:n}}function tA(t,n){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:n?n.data:void 0}}function ca(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function nA(t,n){try{let i=t.sessionStorage.getItem(Px);if(i){let s=JSON.parse(i);for(let[o,u]of Object.entries(s||{}))u&&Array.isArray(u)&&n.set(o,new Set(u||[]))}}catch{}}function aA(t,n){if(n.size>0){let i={};for(let[s,o]of n)i[s]=[...o];try{t.sessionStorage.setItem(Px,JSON.stringify(i))}catch(s){qt(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function j0(){let t,n,i=new Promise((s,o)=>{t=async u=>{s(u);try{await i}catch{}},n=async u=>{o(u);try{await i}catch{}}});return{promise:i,resolve:t,reject:n}}/**
73 * react-router v8.3.0
74 *
75 * Copyright (c) Remix Software Inc.
76 *
77 * This source code is licensed under the MIT license found in the
78 * LICENSE.md file in the root directory of this source tree.
79 *
80 * @license MIT
81 */const Mr=E.createContext(null);Mr.displayName="DataRouter";const _s=E.createContext(null);_s.displayName="DataRouterState";const n1=E.createContext(!1);function a1(){return E.useContext(n1)}const wm=E.createContext({isTransitioning:!1});wm.displayName="ViewTransition";const i1=E.createContext(new Map);i1.displayName="Fetchers";const iA=E.createContext(null);iA.displayName="Await";const En=E.createContext(null);En.displayName="Navigation";const vc=E.createContext(null);vc.displayName="Location";
81const aa=E.createContext({outlet:null,matches:[],isDataRoute:!1});aa.displayName="Route";const Sm=E.createContext(null);Sm.displayName="RouteError";/**
82 * react-router v8.3.0
83 *
84 * Copyright (c) Remix Software Inc.
85 *
86 * This source code is licensed under the MIT license found in the
87 * LICENSE.md file in the root directory of this source tree.
88 *
89 * @license MIT
90 */const r1="REACT_ROUTER_ERROR",rA="REDIRECT",sA="ROUTE_ERROR_RESPONSE";function lA(t){if(t.startsWith(`${r1}:${rA}:{`))try{let n=JSON.parse(t.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function oA(t){if(t.startsWith(`${r1}:${sA}:{`))try{let n=JSON.parse(t.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new uo(n.status,n.statusText,n.data)}catch{}}/**
91 * react-router v8.3.0
92 *
93 * Copyright (c) Remix Software Inc.
94 *
95 * This source code is licensed under the MIT license found in the
96 * LICENSE.md file in the root directory of this source tree.
97 *
98 * @license MIT
99 */function uA(t,{relative:n}={}){Oe(co(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:s}=E.useContext(En),{hash:o,pathname:u,search:d}=fo(t,{relative:n}),h=u;return i!=="/"&&(h=u==="/"?i:Hn([i,u])),s.createHref({pathname:h,search:d,hash:o})}function co(){return E.useContext(vc)!=null}function An(){return Oe(co(),"useLocation() may be used only in the context of a <Router> component."),E.useContext(vc).location}const s1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function cA(){let{isDataRoute:t}=E.useContext(aa);return t?MA():dA()}function dA(){Oe(co(),"useNavigate() may be used only in the context of a <Router> component.");let t=E.useContext(Mr),{basename:n,navigator:i}=E.useContext(En),{matches:s}=E.useContext(aa),{pathname:o}=An(),u=JSON.stringify(pm(s)),d=E.useRef(!1);return E.useLayoutEffect(()=>{d.current=!0}),E.useCallback((h,m={})=>{if(qt(d.current,s1),!d.current)return;if(typeof h=="number"){i.go(h);return}let p=yc(h,JSON.parse(u),o,m.relative==="path");t==null&&n!=="/"&&(p.pathname=p.pathname==="/"?n:Hn([n,p.pathname])),(m.replace?i.replace:i.push)(p,m.state,m)},[n,i,u,o,t])}const fA=E.createContext(null);function hA(t){let n=E.useContext(aa).outlet;return E.useMemo(()=>n&&E.createElement(fA.Provider,{value:t},n),[n,t])}function mA(){var n;let{matches:t}=E.useContext(aa);return((n=t[t.length-1])==null?void 0:n.params)??{}}function fo(t,{relative:n}={}){let{matches:i}=E.useContext(aa),{pathname:s}=An(),o=JSON.stringify(pm(i));return E.useMemo(()=>yc(t,JSON.parse(o),s,n==="path"),[t,o,s,n])}function pA(t,n,i){Oe(co(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=E.useContext(En),{matches:o}=E.useContext(aa),u=o[o.length-1],d=u?u.params:{};u&&u.pathname;let h=u?u.pathnameBase:"/";u&&u.route;let m=An(),p;p=m;let g=p.pathname||"/",b=g;if(h!=="/"){let T=h.replace(/^\//,"").split("/");b="/"+g.replace(/^\//,"").split("/").slice(T.length).join("/")}let x=i&&i.state.matches.length?i.state.matches.map(T=>Object.assign(T,{route:i.manifest[T.route.id]||T.route})):hm(t,{pathname:b});return wA(x&&x.map(T=>Object.assign({},T,{params:Object.assign({},d,T.params),pathname:Hn([h,s.encodeLocation?s.encodeLocation(T.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?h:Hn([h,s.encodeLocation?s.encodeLocation(T.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathnameBase])})),o,i)}function gA(){let t=kA(),n=to(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),i=t instanceof Error?t.stack:null;return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},n),i?E.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},i):null,null)}const yA=E.createElement(gA,null);
99var xh,vA=(xh=class extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){this.props.onError?this.props.onError(t,n):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const i=oA(t.digest);i&&(t=i)}let n=t!==void 0?E.createElement(aa.Provider,{value:this.props.routeContext},E.createElement(Sm.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?E.createElement(bA,{error:t},n):n}},Jn(xh,"contextType",n1),xh);const Jf=new WeakMap;function bA({children:t,error:n}){let{basename:i}=E.useContext(En);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let s=lA(n.digest);if(s){let o=Jf.get(n);if(o)throw o;let u=Zx(s.location,i),d=u.absoluteURL||u.to;if(Mh(d))throw new Error("Invalid redirect location");if(Kx&&!Jf.get(n))if(u.isExternal||s.reloadDocument)window.location.href=d;else{const h=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:s.replace}));throw Jf.set(n,h),h}return E.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d}`})}}return t}function xA({routeContext:t,match:n,children:i}){let s=E.useContext(Mr);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(aa.Provider,{value:t},i)}function wA(t,n=[],i){let s=i==null?void 0:i.state;if(t==null){if(!s)return null;if(s.errors)t=s.matches;else if(n.length===0&&!s.initialized&&s.matches.length>0)t=s.matches;else return null}let o=t,u=s==null?void 0:s.errors;if(u!=null){let g=o.findIndex(b=>b.route.id&&(u==null?void 0:u[b.route.id])!==void 0);Oe(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),o=o.slice(0,Math.min(o.length,g+1))}let d=!1,h=-1;if(i&&s){d=s.renderFallback;for(let g=0;g<o.length;g++){let b=o[g];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(h=g),b.route.id){let{loaderData:x,errors:S}=s,T=b.route.loader&&!x.hasOwnProperty(b.route.id)&&(!S||S[b.route.id]===void 0);if(b.route.lazy||T){i.isStatic&&(d=!0),h>=0?o=o.slice(0,h+1):o=[o[0]];break}}}}let m=i==null?void 0:i.onError,p=s&&m?(g,b)=>{var x,S;m(g,{location:s.location,params:((S=(x=s.matches)==null?void 0:x[0])==null?void 0:S.params)??{},pattern:Rs(s.matches),errorInfo:b})}:void 0;return o.reduceRight((g,b,x)=>{let S,T=!1,C=null,z=null;s&&(S=u&&b.route.id?u[b.route.id]:void 0,C=b.route.errorElement||yA,d&&(h<0&&x===0?(jA("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,z=null):h===x&&(T=!0,z=b.route.hydrateFallbackElement||null)));let L=n.concat(o.slice(0,x+1)),V=()=>{let G;return S?G=C:T?G=z:b.route.Component?G=E.createElement(b.route.Component,null):b.route.element?G=b.route.element:G=g,E.createElement(xA,{match:b,routeContext:{outlet:g,matches:L,isDataRoute:s!=null},children:G})};return s&&(b.route.ErrorBoundary||b.route.errorElement||x===0)?E.createElement(vA,{location:s.location,revalidation:s.revalidation,component:C,error:S,children:V(),routeContext:{outlet:null,matches:L,isDataRoute:!0},onError:p}):V()},null)}function Tm(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function SA(t){let n=E.useContext(Mr);return Oe(n,Tm(t)),n}function Em(t){let n=E.useContext(_s);return Oe(n,Tm(t)),n}function TA(t){let n=E.useContext(aa);return Oe(n,Tm(t)),n}function Am(t){let n=TA(t),i=n.matches[n.matches.length-1];return Oe(i.route.id,`${t} can only be used on routes that contain a unique "id"`),i.route.id}function EA(){return Am("useRouteId")}function AA(){let t=Em("useNavigation");return E.useMemo(()=>{let{matches:n,historyAction:i,...s}=t.navigation;return s},[t.navigation])}function l1(){let{matches:t,loaderData:n}=Em("useMatches");return E.useMemo(()=>t.map(i=>Ox(i,n)),[t,n])}function kA(){var s;let t=E.useContext(Sm),n=Em("useRouteError"),i=Am("useRouteError");return t!==void 0?t:(s=n.errors)==null?void 0:s[i]}function MA(){let{router:t}=SA("useNavigate"),n=Am("useNavigate"),i=E.useRef(!1);return E.useLayoutEffect(()=>{i.current=!0}),E.useCallback(async(s,o={})=>{qt(i.current,s1),i.current&&(typeof s=="number"?await t.navigate(s):await t.navigate(s,{fromRouteId:n,...o}))},[t,n])}const z0={};function jA(t,n,i){z0[t]||(z0[t]=!0,qt(!1,i))}/**
100 * react-router v8.3.0
101 *
102 * Copyright (c) Remix Software Inc.
103 *
104 * This source code is licensed under the MIT license found in the
105 * LICENSE.md file in the root directory of this source tree.
106 *
107 * @license MIT
108 */const C0={};function R0(t,n){!t&&!C0[n]&&(C0[n]=!0,console.warn(n))}/**
109 * react-router v8.3.0
110 *
111 * Copyright (c) Remix Software Inc.
112 *
113 * This source code is licensed under the MIT license found in the
114 * LICENSE.md file in the root directory of this source tree.
115 *
116 * @license MIT
117 */const zA=["HydrateFallback","hydrateFallbackElement"];
117var CA=class{constructor(){Jn(this,"status","pending");Jn(this,"promise");Jn(this,"resolve");Jn(this,"reject");this.promise=new Promise((t,n)=>{this.resolve=i=>{this.status==="pending"&&(this.status="resolved",t(i))},this.reject=i=>{this.status==="pending"&&(this.status="rejected",n(i))}})}};function RA({router:t,flushSync:n,onError:i,useTransitions:s}){s=a1()||s;let[o,u]=E.useState(t.state),[d,h]=E.useOptimistic(o),[m,p]=E.useState(),[g,b]=E.useState({isTransitioning:!1}),[x,S]=E.useState(),[T,C]=E.useState(),[z,L]=E.useState(),V=E.useRef(new Map),G=E.useCallback((te,{deletedFetchers:R,newErrors:oe,flushSync:I,viewTransitionOpts:we})=>{oe&&i&&Object.values(oe).forEach(De=>{var Be;return i(De,{location:te.location,params:((Be=te.matches[0])==null?void 0:Be.params)??{},pattern:Rs(te.matches)})}),te.fetchers.forEach((De,Be)=>{De.data!==void 0&&V.current.set(Be,De.data)}),R.forEach(De=>V.current.delete(De)),R0(I===!1||n!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable.  Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let ee=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(R0(we==null||ee,"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."),!we||!ee){n&&I?n(()=>u(te)):s===!1?u(te):E.startTransition(()=>{s===!0&&h(De=>_0(De,te)),u(te)});return}if(n&&I){n(()=>{T&&(x==null||x.resolve(),T.skipTransition()),b({isTransitioning:!0,flushSync:!0,currentLocation:we.currentLocation,nextLocation:we.nextLocation})});let De=t.window.document.startViewTransition(()=>{n(()=>u(te))});De.finished.finally(()=>{n(()=>{S(void 0),C(void 0),p(void 0),b({isTransitioning:!1})})}),n(()=>C(De));return}T?(x==null||x.resolve(),T.skipTransition(),L({state:te,currentLocation:we.currentLocation,nextLocation:we.nextLocation})):(p(te),b({isTransitioning:!0,flushSync:!1,currentLocation:we.currentLocation,nextLocation:we.nextLocation}))},[t.window,n,T,x,s,h,i]);E.useLayoutEffect(()=>t.subscribe(G),[t,G]),E.useEffect(()=>{g.isTransitioning&&!g.flushSync&&S(new CA)},[g]),E.useEffect(()=>{if(x&&m&&t.window){let te=m,R=x.promise,oe=t.window.document.startViewTransition(async()=>{s===!1?u(te):E.startTransition(()=>{s===!0&&h(I=>_0(I,te)),u(te)}),await R});oe.finished.finally(()=>{S(void 0),C(void 0),p(void 0),b({isTransitioning:!1})}),C(oe)}},[m,x,t.window,s,h]),E.useEffect(()=>{x&&m&&d.location.key===m.location.key&&x.resolve()},[x,T,d.location,m]),E.useEffect(()=>{!g.isTransitioning&&z&&(p(z.state),b({isTransitioning:!0,flushSync:!1,currentLocation:z.currentLocation,nextLocation:z.nextLocation}),L(void 0))},[g.isTransitioning,z]);let F=E.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:te=>t.navigate(te),push:(te,R,oe)=>t.navigate(te,{state:R,preventScrollReset:oe==null?void 0:oe.preventScrollReset}),replace:(te,R,oe)=>t.navigate(te,{replace:!0,state:R,preventScrollReset:oe==null?void 0:oe.preventScrollReset})}),[t]),Q=t.basename||"/",me=E.useMemo(()=>({router:t,navigator:F,static:!1,basename:Q,onError:i}),[t,F,Q,i]);return E.createElement(E.Fragment,null,E.createElement(Mr.Provider,{value:me},E.createElement(_s.Provider,{value:d},E.createElement(i1.Provider,{value:V.current},E.createElement(wm.Provider,{value:g},E.createElement(OA,{basename:Q,location:d.location,navigationType:d.historyAction,navigator:F,useTransitions:s},E.createElement(_A,{routes:t.routes,manifest:t.manifest,future:t.future,state:d,isStatic:!1,onError:i})))))),null)}function _0(t,n){return{...t,navigation:n.navigation.state!=="idle"?n.navigation:t.navigation,revalidation:n.revalidation!=="idle"?n.revalidation:t.revalidation,actionData:n.navigation.state!=="submitting"?n.actionData:t.actionData,fetchers:n.fetchers}}const _A=E.memo(NA);function NA({routes:t,manifest:n,future:i,state:s,isStatic:o,onError:u}){return pA(t,void 0,{manifest:n,state:s,isStatic:o,onError:u})}function DA(t){return hA(t.context)}function OA({basename:t="/",children:n=null,location:i,navigationType:s="POP",navigator:o,static:u=!1,useTransitions:d}){Oe(!co(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=t.replace(/^\/*/,"/"),m=E.useMemo(()=>({basename:h,navigator:o,static:u,useTransitions:d,future:{}}),[h,o,u,d]);typeof i=="string"&&(i=ba(i));let{pathname:p="/",search:g="",hash:b="",state:x=null,key:S="default",mask:T}=i,C=E.useMemo(()=>{let z=Kn(p,h);return z==null?null:{location:{pathname:z,search:g,hash:b,state:x,key:S,mask:T},navigationType:s}},[h,p,g,b,x,S,s,T]);
117return qt(C!=null,`<Router basename="${h}"> is not able to match the URL "${p}${g}${b}" because it does not start with the basename, so the <Router> won't render anything.`),C==null?null:E.createElement(En.Provider,{value:m},E.createElement(vc.Provider,{children:n,value:C}))}/**
118 * react-router v8.3.0
119 *
120 * Copyright (c) Remix Software Inc.
121 *
122 * This source code is licensed under the MIT license found in the
123 * LICENSE.md file in the root directory of this source tree.
124 *
125 * @license MIT
126 */const qu="application/x-www-form-urlencoded";function bc(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function LA(t){return bc(t)&&t.tagName.toLowerCase()==="button"}function BA(t){return bc(t)&&t.tagName.toLowerCase()==="form"}function VA(t){return bc(t)&&t.tagName.toLowerCase()==="input"}function UA(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function HA(t,n){return t.button===0&&(!n||n==="_self")&&!UA(t)}let Ou=null;function GA(){if(Ou===null)try{new FormData(document.createElement("form"),0),Ou=!1}catch{Ou=!0}return Ou}const KA=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function If(t){return t!=null&&!KA.has(t)?(qt(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${qu}"`),null):t}function ZA(t,n){let i,s,o,u,d;if(BA(t)){let h=t.getAttribute("action");s=h?Kn(h,n):null,i=t.getAttribute("method")||"get",o=If(t.getAttribute("enctype"))||qu,u=new FormData(t)}else if(LA(t)||VA(t)&&(t.type==="submit"||t.type==="image")){let h=t.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=t.getAttribute("formaction")||h.getAttribute("action");if(s=m?Kn(m,n):null,i=t.getAttribute("formmethod")||h.getAttribute("method")||"get",o=If(t.getAttribute("formenctype"))||If(h.getAttribute("enctype"))||qu,u=new FormData(h,t),!GA()){let{name:p,type:g,value:b}=t;if(g==="image"){let x=p?`${p}.`:"";u.append(`${x}x`,"0"),u.append(`${x}y`,"0")}else p&&u.append(p,b)}}else{if(bc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i="get",s=null,o=qu,d=t}return u&&o==="text/plain"&&(d=u,u=void 0),{action:s,method:i.toLowerCase(),encType:o,formData:u,body:d}}/**
127 * react-router v8.3.0
128 *
129 * Copyright (c) Remix Software Inc.
130 *
131 * This source code is licensed under the MIT license found in the
132 * LICENSE.md file in the root directory of this source tree.
133 *
134 * @license MIT
135 */function km(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}/**
136 * react-router v8.3.0
137 *
138 * Copyright (c) Remix Software Inc.
139 *
140 * This source code is licensed under the MIT license found in the
141 * LICENSE.md file in the root directory of this source tree.
142 *
143 * @license MIT
144 */const qA={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},YA=/[&><\u2028\u2029]/g;function N0(t){return t.replace(YA,n=>qA[n])}/**
145 * react-router v8.3.0
146 *
147 * Copyright (c) Remix Software Inc.
148 *
149 * This source code is licensed under the MIT license found in the
150 * LICENSE.md file in the root directory of this source tree.
151 *
152 * @license MIT
153 */function o1(t,n){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${n}`:i.pathname=`${i.pathname}.${n}`,i}/**
154 * react-router v8.3.0
155 *
156 * Copyright (c) Remix Software Inc.
157 *
158 * This source code is licensed under the MIT license found in the
159 * LICENSE.md file in the root directory of this source tree.
160 *
161 * @license MIT
162 */async function FA(t,n){if(t.id in n)return n[t.id];try{let i=await import(t.module);return n[t.id]=i,i}catch(i){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}/**
163 * react-router v8.3.0
164 *
165 * Copyright (c) Remix Software Inc.
166 *
167 * This source code is licensed under the MIT license found in the
168 * LICENSE.md file in the root directory of this source tree.
169 *
170 * @license MIT
171 */function PA(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function XA(t,n,i){return IA((await Promise.all(t.map(async s=>{let o=n.routes[s.route.id];if(o){let u=await FA(o,i);return u.links?u.links():[]}return[]}))).flat(1).filter(PA).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function D0(t,n,i,s,o,u){let d=(m,p)=>i[p]?m.route.id!==i[p].route.id:!0,h=(m,p)=>{var g;return i[p].pathname!==m.pathname||((g=i[p].route.path)==null?void 0:g.endsWith("*"))&&i[p].params["*"]!==m.params["*"]};return u==="assets"?n.filter((m,p)=>d(m,p)||h(m,p)):u==="data"?n.filter((m,p)=>{var b;let g=s.routes[m.route.id];if(!g||!g.hasLoader)return!1;if(d(m,p)||h(m,p))return!0;
171if(m.route.shouldRevalidate){let x=m.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((b=i[0])==null?void 0:b.params)||{},nextUrl:new URL(t,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function QA(t,n,{includeHydrateFallback:i}={}){return $A(t.map(s=>{let o=n.routes[s.route.id];if(!o)return[];let u=[o.module];return o.clientActionModule&&(u=u.concat(o.clientActionModule)),o.clientLoaderModule&&(u=u.concat(o.clientLoaderModule)),i&&o.hydrateFallbackModule&&(u=u.concat(o.hydrateFallbackModule)),o.imports&&(u=u.concat(o.imports)),u}).flat(1))}function $A(t){return[...new Set(t)]}function JA(t){let n={},i=Object.keys(t).sort();for(let s of i)n[s]=t[s];return n}function IA(t,n){let i=new Set;return new Set(n),t.reduce((s,o)=>{let u=JSON.stringify(JA(o));return i.has(u)||(i.add(u),s.push({key:u,link:o})),s},[])}/**
172 * react-router v8.3.0
173 *
174 * Copyright (c) Remix Software Inc.
175 *
176 * This source code is licensed under the MIT license found in the
177 * LICENSE.md file in the root directory of this source tree.
178 *
179 * @license MIT
180 */function WA(){let t=E.useContext(Mr);return km(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function ek(){let t=E.useContext(_s);return km(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}const xc=E.createContext(void 0);xc.displayName="FrameworkContext";function Mm(){let t=E.useContext(xc);return km(t,"You must render this element inside a <HydratedRouter> element"),t}function tk(t,n){let i=E.useContext(xc),[s,o]=E.useState(!1),[u,d]=E.useState(!1),{onFocus:h,onBlur:m,onMouseEnter:p,onMouseLeave:g,onTouchStart:b}=n,x=E.useRef(null);E.useEffect(()=>{if(t==="render"&&d(!0),t==="viewport"){let C=L=>{L.forEach(V=>{d(V.isIntersecting)})},z=new IntersectionObserver(C,{threshold:.5});return x.current&&z.observe(x.current),()=>{z.disconnect()}}},[t]),E.useEffect(()=>{if(s){let C=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(C)}}},[s]);let S=()=>{o(!0)},T=()=>{o(!1),d(!1)};return i?t!=="intent"?[u,x,{}]:[u,x,{onFocus:Ol(h,S),onBlur:Ol(m,T),onMouseEnter:Ol(p,S),onMouseLeave:Ol(g,T),onTouchStart:Ol(b,S)}]:[!1,x,{}]}function Ol(t,n){return i=>{t&&t(i),i.defaultPrevented||n(i)}}function nk({page:t,...n}){let i=a1(),{nonce:s}=Mm(),{router:o}=WA(),u=E.useMemo(()=>hm(o.routes,t,o.basename),[o.routes,t,o.basename]);return u?(n.nonce==null&&s&&(n={...n,nonce:s}),i?E.createElement(ik,{page:t,matches:u,...n}):E.createElement(rk,{page:t,matches:u,...n})):null}function ak(t){let{manifest:n,routeModules:i}=Mm(),[s,o]=E.useState([]);return E.useEffect(()=>{let u=!1;return XA(t,n,i).then(d=>{u||o(d)}),()=>{u=!0}},[t,n,i]),s}function ik({page:t,matches:n,...i}){let s=An(),o=E.useMemo(()=>{if(t===s.pathname+s.search+s.hash)return[];let u=o1(t,"rsc"),d=!1,h=[];for(let m of n)typeof m.route.shouldRevalidate=="function"?d=!0:h.push(m.route.id);return d&&h.length>0&&u.searchParams.set("_routes",h.join(",")),[u.pathname+u.search]},[t,s,n]);return E.createElement(E.Fragment,null,o.map(u=>E.createElement("link",{key:u,rel:"prefetch",as:"fetch",href:u,...i})))}function rk({page:t,matches:n,...i}){let s=An(),{manifest:o,routeModules:u}=Mm(),{loaderData:d,matches:h}=ek(),m=E.useMemo(()=>D0(t,n,h,o,s,"data"),[t,n,h,o,s]),p=E.useMemo(()=>D0(t,n,h,o,s,"assets"),[t,n,h,o,s]),g=E.useMemo(()=>{if(t===s.pathname+s.search+s.hash)return[];let S=new Set,T=!1;if(n.forEach(z=>{var V;let L=o.routes[z.route.id];!L||!L.hasLoader||(!m.some(G=>G.route.id===z.route.id)&&z.route.id in d&&((V=u[z.route.id])!=null&&V.shouldRevalidate)||L.hasClientLoader?T=!0:S.add(z.route.id))}),S.size===0)return[];let C=o1(t,"data");return T&&S.size>0&&C.searchParams.set("_routes",n.filter(z=>S.has(z.route.id)).map(z=>z.route.id).join(",")),[C.pathname+C.search]},[d,s,o,m,n,t,u]),b=E.useMemo(()=>QA(p,o),[p,o]),x=ak(p);return E.createElement(E.Fragment,null,g.map(S=>E.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...i})),b.map(S=>E.createElement("link",{key:S,rel:"modulepreload",href:S,...i})),x.map(({key:S,link:T})=>E.createElement("link",{key:S,nonce:i.nonce,...T,crossOrigin:T.crossOrigin??i.crossOrigin})))}function sk(...t){return n=>{t.forEach(i=>
180{typeof i=="function"?i(n):i!=null&&(i.current=n)})}}/**
181 * react-router v8.3.0
182 *
183 * Copyright (c) Remix Software Inc.
184 *
185 * This source code is licensed under the MIT license found in the
186 * LICENSE.md file in the root directory of this source tree.
187 *
188 * @license MIT
189 */const lk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{lk&&(window.__reactRouterVersion="8.3.0")}catch{}function ok(t,n){return _E({basename:n==null?void 0:n.basename,getContext:n==null?void 0:n.getContext,future:n==null?void 0:n.future,history:Q2({window:n==null?void 0:n.window}),hydrationData:(n==null?void 0:n.hydrationData)||uk(),routes:t,mapRouteProperties:Dx,hydrationRouteProperties:zA,dataStrategy:n==null?void 0:n.dataStrategy,patchRoutesOnNavigation:n==null?void 0:n.patchRoutesOnNavigation,window:n==null?void 0:n.window,instrumentations:n==null?void 0:n.instrumentations}).initialize()}function uk(){let t=window==null?void 0:window.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:ck(t.errors)}),t}function ck(t){if(!t)return null;let n=Object.entries(t),i={};for(let[s,o]of n)if(o&&o.__type==="RouteErrorResponse")i[s]=new uo(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(typeof o.__subType=="string"&&wE.includes(o.__subType)){let u=window[o.__subType];if(typeof u=="function")try{let d=new u(o.message);d.stack="",i[s]=d}catch{}}if(i[s]==null){let u=new Error(o.message);u.stack="",i[s]=u}}else i[s]=o;return i}const Xt=E.forwardRef(function({onClick:n,discover:i="render",prefetch:s="none",relative:o,reloadDocument:u,replace:d,mask:h,state:m,target:p,to:g,preventScrollReset:b,viewTransition:x,defaultShouldRevalidate:S,...T},C){let{basename:z,navigator:L,useTransitions:V}=E.useContext(En),G=typeof g=="string"&&gc.test(g),F=Zx(g,z);g=F.to;let Q=uA(g,{relative:o}),me=An(),te=null;if(h){let Le=yc(h,[],me.mask?me.mask.pathname:"/",!0);z!=="/"&&(Le.pathname=Le.pathname==="/"?z:Hn([z,Le.pathname])),te=L.createHref(Le)}let[R,oe,I]=tk(s,T),we=mk(g,{replace:d,mask:h,state:m,target:p,preventScrollReset:b,relative:o,viewTransition:x,defaultShouldRevalidate:S,useTransitions:V});function ee(Le){n&&n(Le),Le.defaultPrevented||we(Le)}let De=!(F.isExternal||u),Be=E.createElement("a",{...T,...I,href:(De?te:void 0)||F.absoluteURL||Q,onClick:De?ee:n,ref:sk(C,oe),target:p,"data-discover":!G&&i==="render"?"true":void 0});return R&&!G?E.createElement(E.Fragment,null,Be,E.createElement(nk,{page:Q})):Be});Xt.displayName="Link";const dk=E.forwardRef(function({"aria-current":n="page",caseSensitive:i=!1,className:s="",end:o=!1,style:u,to:d,viewTransition:h,children:m,...p},g){let b=fo(d,{relative:p.relative}),x=An(),S=E.useContext(_s),{navigator:T,basename:C}=E.useContext(En),z=S!=null&&wk(b)&&h===!0,L=T.encodeLocation?T.encodeLocation(b).pathname:b.pathname,V=x.pathname,G=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;i||(V=V.toLowerCase(),G=G?G.toLowerCase():null,L=L.toLowerCase()),G&&C&&(G=Kn(G,C)||G);const F=L!=="/"&&L.endsWith("/")?L.length-1:L.length;let Q=V===L||!o&&V.startsWith(L)&&V.charAt(F)==="/",me=G!=null&&(G===L||!o&&G.startsWith(L)&&G.charAt(F)==="/"),te={isActive:Q,isPending:me,isTransitioning:z},R=Q?n:void 0,oe;typeof s=="function"?oe=s(te):oe=[s,Q?"active":null,me?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let I=typeof u=="function"?u(te):u;return E.createElement(Xt,{...p,"aria-current":R,className:oe,ref:g,style:I,to:d,viewTransition:h},typeof m=="function"?m(te):m)});dk.displayName="NavLink";const fk=E.forwardRef(({discover:t="render",fetcherKey:n,navigate:i,reloadDocument:s,replace:o,state:u,method:d="get",action:h,onSubmit:m,relative:p,preventScrollReset:g,viewTransition:b,defaultShouldRevalidate:x,...S},T)=>{let{useTransitions:C}=E.useContext(En),z=yk(),L=vk(h,{relative:p}),V=d.toLowerCase()==="get"?"get":"post",G=typeof h=="string"&&gc.test(h),F=Q=>{if(m&&m(Q),Q.defaultPrevented)return;Q.preventDefault();let me=Q.nativeEvent.submitter,te=(me==null?void 0:me.getAttribute("formmethod"))||d,R=()=>z(me||Q.currentTarget,{fetcherKey:n,method:te,navigate:i,replace:o,state:u,relative:p,preventScrollReset:g,viewTransition:b,defaultShouldRevalidate:x});C&&i!==!1?E.startTransition(()=>R()):R()};return E.createElement("form",{ref:T,method:V,action:L,onSubmit:s?m:F,...S,"data-discover":!G&&t==="render"?"true":void 0})});fk.displayName="Form";function u1({getKey:t,storageKey:n,...i}){let s=E.useContext(xc),{basename:o}=E.useContext(En),u=An(),d=l1();bk({getKey:t,storageKey:n});let h=E.useMemo(()=>
189{if(!s||!t)return null;let p=Ch(u,d,o,t);return p!==u.key?p:null},[]);if(!s||s.isSpaMode)return null;let m=((p,g)=>{if(!window.history.state||!window.history.state.key){let b=Math.random().toString(32).slice(2);window.history.replaceState({key:b},"")}try{let b=JSON.parse(sessionStorage.getItem(p)||"{}")[g||window.history.state.key];typeof b=="number"&&window.scrollTo(0,b)}catch(b){console.error(b),sessionStorage.removeItem(p)}}).toString();return i.nonce==null&&(s!=null&&s.nonce)&&(i.nonce=s.nonce),E.createElement("script",{...i,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${m})(${N0(JSON.stringify(n||zh))}, ${N0(JSON.stringify(h))})`}})}u1.displayName="ScrollRestoration";function c1(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function jm(t){let n=E.useContext(Mr);return Oe(n,c1(t)),n}function hk(t){let n=E.useContext(_s);return Oe(n,c1(t)),n}function mk(t,{target:n,replace:i,mask:s,state:o,preventScrollReset:u,relative:d,viewTransition:h,defaultShouldRevalidate:m,useTransitions:p}={}){let g=cA(),b=An(),x=fo(t,{relative:d});return E.useCallback(S=>{if(HA(S,n)){S.preventDefault();let T=i!==void 0?i:ya(b)===ya(x),C=()=>g(t,{replace:T,mask:s,state:o,preventScrollReset:u,relative:d,viewTransition:h,defaultShouldRevalidate:m});p?E.startTransition(()=>C()):C()}},[b,g,x,i,s,o,n,t,u,d,h,m,p])}let pk=0,gk=()=>`__${String(++pk)}__`;function yk(){let{router:t}=jm("useSubmit"),{basename:n}=E.useContext(En),i=EA(),s=t.fetch,o=t.navigate;return E.useCallback(async(u,d={})=>{let{action:h,method:m,encType:p,formData:g,body:b}=ZA(u,n);d.navigate===!1?await s(d.fetcherKey||gk(),i,d.action||h,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:g,body:b,formMethod:d.method||m,formEncType:d.encType||p,flushSync:d.flushSync}):await o(d.action||h,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:g,body:b,formMethod:d.method||m,formEncType:d.encType||p,replace:d.replace,state:d.state,fromRouteId:i,flushSync:d.flushSync,viewTransition:d.viewTransition})},[s,o,n,i])}function vk(t,{relative:n}={}){let{basename:i}=E.useContext(En),s=E.useContext(aa);Oe(s,"useFormAction must be used inside a RouteContext");let[o]=s.matches.slice(-1),u={...fo(t||".",{relative:n})},d=An();if(t==null){u.search=d.search;let h=new URLSearchParams(u.search),m=h.getAll("index");if(m.some(p=>p==="")){h.delete("index"),m.filter(g=>g).forEach(g=>h.append("index",g));let p=h.toString();u.search=p?`?${p}`:""}}return(!t||t===".")&&o.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(u.pathname=u.pathname==="/"?i:Hn([i,u.pathname])),ya(u)}const zh="react-router-scroll-positions";let Lu={};function Ch(t,n,i,s){let o=null;return s&&(i!=="/"?o=s({...t,pathname:Kn(t.pathname,i)||t.pathname},n):o=s(t,n)),o==null&&(o=t.key),o}function bk({getKey:t,storageKey:n}={}){let{router:i}=jm("useScrollRestoration"),{restoreScrollPosition:s,preventScrollReset:o}=hk("useScrollRestoration"),{basename:u}=E.useContext(En),d=An(),h=l1(),m=AA();E.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),xk(E.useCallback(()=>{if(m.state==="idle"){let p=Ch(d,h,u,t);Lu[p]=window.scrollY}try{sessionStorage.setItem(n||zh,JSON.stringify(Lu))}catch(p){qt(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${p}).`)}window.history.scrollRestoration="auto"},[m.state,t,u,d,h,n])),typeof document<"u"&&(E.useLayoutEffect(()=>{try{let p=sessionStorage.getItem(n||zh);p&&(Lu=JSON.parse(p))}catch{}},[n]),E.useLayoutEffect(()=>{let p=i==null?void 0:i.enableScrollRestoration(Lu,()=>window.scrollY,t?(g,b)=>Ch(g,b,u,t):void 0);return()=>p&&p()},[i,u,t]),E.useLayoutEffect(()=>{if(s!==!1){if(typeof s=="number"){window.scrollTo(0,s);return}try{if(d.hash){let p=document.getElementById(decodeURIComponent(d.hash.slice(1)));if(p){p.scrollIntoView();return}}}catch{qt(!1,`"${d.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}o!==!0&&window.scrollTo(0,0)}},[d,s,o]))}function xk(t,n){let{capture:i}={};E.useEffect(()=>{let s=i!=null?{capture:i}:void 0;return window.addEventListener("pagehide",t,s),()=>{window.removeEventListener("pagehide",t,s)}},[t,i])}function wk(t,{relative:n}={}){let i=E.useContext(wm);Oe(i!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=jm("useViewTransitionState"),o=fo(t,{relative:n});if(!i.isTransitioning)return!1;let u=Kn(i.currentLocation.pathname,s)||i.currentLocation.pathname,d=Kn(i.nextLocation.pathname,s)||i.nextLocation.pathname;return ec(o.pathname,d)!=null||ec(o.pathname,u)!=null}/**
190 * react-router v8.3.0
191 *
192 * Copyright (c) Remix Software Inc.
193 *
194 * This source code is licensed under the MIT license found in the
195 * LICENSE.md file in the root directory of this source tree.
196 *
197 * @license MIT
198 */function Sk(t){return E.createElement(RA,{flushSync:E2.flushSync,...t})}const Tk=["http://","https://","//","mailto:","tel:","data:","javascript:"],Ek=/^[\t\n\f\r ]+|[\t\n\f\r ]+$/g;function zm(t){return t.replace(Ek,"")}function d1(t){const n=zm(t).toLowerCase();return Tk.some(i=>n.startsWith(i))}function Ak(t){const n=zm(t);return n.startsWith("#")||n.startsWith("/#")}function f1(t){const n=zm(t).split("#")[0].split("?")[0];return n===""?"/":n}function kk(t){return d1(t)?!1:!f1(t).startsWith("/")}function Cm(t){return t instanceof Element&&t.localName==="a"}
198function Mk(t){const n=t.split("/").filter(Boolean).pop()??"";return/\.[a-z0-9]+$/i.test(n)}function jk(t,n){if(d1(t)||Ak(t)||kk(t))return null;const i=f1(t);if(Mk(i)||i==="/api"||i.startsWith("/api/"))return null;const s=n.matches(i);if(s===null||s)return null;const o=i.split("/").filter(Boolean),u=o[o.length-1]??"";return u===""?null:`/#${u}`}function Rh(t,n,i){const s=t.getAttribute("href");if(s===null)return;const o=i.get(t);if((o==null?void 0:o.replacementHref)===s)return;o!==void 0&&i.delete(t);const u=jk(s,n);u!==null&&(i.set(t,{originalHref:s,replacementHref:u}),t.setAttribute("href",u))}function O0(t,n,i){Cm(t)&&Rh(t,n,i),!(!(t instanceof Element)&&!(t instanceof globalThis.Document))&&t.querySelectorAll("a[href]").forEach(s=>{Rh(s,n,i)})}function zk(t,n){Cm(t)&&n.add(t),t instanceof Element&&t.querySelectorAll("a[href]").forEach(i=>{n.add(i)})}function Ck(t){return t instanceof Element?t.closest("a[href]"):null}function Rk(t){return t.metaKey||t.ctrlKey||t.shiftKey||t.altKey}function _k(t){const n=(t.getAttribute("target")??"").trim().toLowerCase();return n===""||n==="_self"}function Nk(t,n=document,i=s=>window.location.assign(s)){const s=new Map;O0(n,t,s);const o=new globalThis.MutationObserver(d=>{const h=new Set;for(const m of d){for(const p of m.removedNodes)zk(p,h);m.type==="attributes"&&Cm(m.target)&&Rh(m.target,t,s);for(const p of m.addedNodes)O0(p,t,s)}h.forEach(m=>{m.isConnected||s.delete(m)})});o.observe(n,{attributeFilter:["href"],attributes:!0,childList:!0,subtree:!0});const u=d=>{if(d.button!==0||Rk(d))return;const h=Ck(d.target);if(h===null||!_k(h))return;const m=s.get(h);m!==void 0&&(d.preventDefault(),d.stopPropagation(),i(m.replacementHref))};return n.addEventListener("click",u,!0),()=>
198{o.disconnect(),n.removeEventListener("click",u,!0),s.forEach((d,h)=>{h.getAttribute("href")===d.replacementHref&&h.setAttribute("href",d.originalHref)}),s.clear()}}const Rm=new WeakMap,vr=new Map,Dk=new Set,Ll={uninstall:null};function h1(t){return t.map(n=>({caseSensitive:n.caseSensitive??null,children:n.children?h1(n.children):null,id:n.id??null,index:n.index??null,path:n.path??null}))}function _m(t){return JSON.stringify(h1(t))}function tc(t){return t.path==="*"||t.path==="/*"}function Nm(t){return t.flatMap(n=>[n,...n.children?Nm(n.children):[]])}function _h(t,n){return t.flatMap(i=>n!==null&&i.id===n?[]:i.children?[{...i,children:_h(i.children,n)}]:[i])}function m1(t){return t.flatMap(n=>tc(n)?[]:n.children?[{...n,children:m1(n.children)}]:[n])}function Ok(t,n){if(n===null)return!1;const i=Nm(t),s=i.filter(tc),o=i.filter(u=>u.id===n);return s.length===1&&o.length===0}function Lk(t,n){const i=Nm(t),s=i.filter(tc);if(n===null)return s.length===0?_h(t,null):null;const o=i.filter(u=>u.id===n);return o.length!==1||!tc(o[0])||s.length!==1?null:_h(t,n)}function Nh(t){return(!t.invalid||t.legacyFallbackAllowed)&&(t.invalid=!0,t.legacyFallbackAllowed=!1,Dh()),null}function L0(t,n,i,s,o){function u(d,h){return!s()||_m(t.routes)!==n?o():hm(i,d,h)!==null}return{matches(d){return u(d,t.basename??"/")},matchesRoutePath(d){return u(d,"/")}}}function Bk(){if(vr.size!==1)return null;const n=vr.keys().next();if(n.done)return null;const i=Rm.get(n.value);return!i||_m(n.value.routes)!==i.topology?i?Nh(i):null:i.publishedRegistry}function Vk(){var n;if((n=Ll.uninstall)==null||n.call(Ll),Ll.uninstall=null,typeof document>"u")return;const t=Bk();t!==null&&(Ll.uninstall=Nk(t))}function Dh(){Dk.forEach(t=>t()),Vk()}function Uk(t,n){const{notFoundRouteId:i,patchRoutesOnNavigation:s,...o}=n;if(s!==void 0)throw new Error("createAiroBrowserRouter does not support patchRoutesOnNavigation");const u=ok(t,o),d=_m(u.routes),h=Lk(u.routes,i),m=h===null&&Ok(u.routes,i),p=h??(m?m1(u.routes):null),g={invalid:h===null,legacyFallbackAllowed:m,matchableRoutes:h??[],publishedRegistry:p===null?null:L0(u,d,p,()=>!g.invalid||g.legacyFallbackAllowed,()=>Nh(g)),registry:L0(u,d,h??[],()=>!g.invalid,()=>Nh(g)),topology:d};return Rm.set(u,g),u}function Hk(t){return Rm.has(t)?(vr.set(t,(vr.get(t)??0)+1),Dh(),()=>{const n=(vr.get(t)??1)-1;n===0?vr.delete(t):vr.set(t,n),Dh()}):()=>{}}function Gk({router:t,...n}){return E.useEffect(()=>Hk(t),[t]),y.jsx(Sk,{router:t,...n})}class Kk extends E.Component{constructor(n){super(n),this.state={hasError:!1}}static getDerivedStateFromError(n){return{hasError:!0}}componentDidCatch(n,i){console.warn("CookieBanner error boundary caught an error:",n,i)}render(){return this.state.hasError?null:this.props.children}}const Zk=[],B0={urls:Zk};function qk(){return(Array.isArray(B0.urls)?B0.urls:[]).filter(n=>typeof n=="string"&&n.length>0)}function Yk(t){const i={"@type":t.businessType??"Organization","@id":`${t.siteUrl}/#organization`,name:t.name,url:`${t.siteUrl}/`};t.logo&&(i.logo=t.logo);const s=qk();return s.length>0&&(i.sameAs=s),i}function Fk(t){return{"@context":"https://schema.org",...Yk({siteUrl:t.siteUrl,name:t.organizationName})}}const Pk=E.createContext(void 0);function Xk(){const t=E.useContext(Pk);return t||(typeof window<"u"?window.location.origin:"")}const Qk={name:"Turkuaz Brasserie"};function $k(){const t=An(),n=Xk();if(t.pathname!=="/"||!n)return null;const i=Fk({siteUrl:n,organizationName:Qk.name.trim()||new globalThis.URL(n).hostname});return y.jsx(Pi,{children:y.jsx("script",{type:"application/ld+json",children:JSON.stringify(i).replace(/</g,"\\u003c")})})}const Jk=[{label:"Home",href:"/"},{label:"Menus",href:"/menus"},{label:"Gallery",href:"/gallery"},{label:"Contact Us",href:"/contact"}];function Ik(){return y.jsx("footer",{style:{background:"hsl(var(--footer-bg))"},className:"text-white",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-16",children:[y.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-12",children:[y.jsxs("div",{className:"flex flex-col gap-5",children:[y.jsx(Xt,{to:"/",children:y.jsx("img",{src:"/airo-assets/images/logo/horizontal",alt:"Turkuaz Brasserie",className:"block h-auto max-h-14 w-auto max-w-[180px] object-contain"})}),y.jsx("p",{className:"text-white/60 text-sm leading-relaxed max-w-xs",children:"Turkish & Mediterranean dining in the heart of Highgate, London."})]}),y.jsxs("div",{children:[y.jsx("h3",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-5",children:"Navigate"}),y.jsx("nav",{"aria-label":"Footer links",className:"flex flex-col gap-3",children:Jk.map(t=>y.jsx(Xt,{to:t.href,className:"text-white/70 hover:text-white text-sm transition-colors duration-200",children:t.label},t.href))})]}),y.jsxs("div",{children:[y.jsx("h3",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-5",children:"Find Us"}),y.jsxs("address",{className:"not-italic flex flex-col gap-3 text-sm text-white/70",children:[y.jsxs("span",{children:["6 South Grove",y.jsx("br",{}),"London N6 6BS"]}),y.jsx("a",{href:"tel:02082922370",className:"hover:text-white transition-colors",children:"020 8292 2370"}),y.jsx("a",{href:"https://www.turkuazbrasserie.co.uk",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"www.turkuazbrasserie.co.uk"})]})]})]}),y.jsxs("div",{className:"mt-12 pt-8 border-t border-white/10 flex flex-col md:flex-row items-center justify-between gap-4",children:[y.jsxs("p",{className:"text-white/40 text-xs",children:["© ",new Date().getFullYear()," Turkuaz Brasserie. All rights reserved."]}),y.jsx("p",{className:"text-white/30 text-xs",children:"Highgate, London"})]})]})})}const Wk={overrides:{}};function Dm(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}function eM(t){return t==="bound-expression"||t==="content-key"||t==="content-key-template"}function tM(t){return Dm(t)?typeof t.file=="string"&&typeof t.tagName=="string"&&eM(t.sourceKind)&&(t.contentKey===void 0||t.contentKey===null||typeof t.contentKey=="string")&&(t.contentKeyTemplate===void 0||t.contentKeyTemplate===null||typeof t.contentKeyTemplate=="string")&&(t.expressionH
198ash===void 0||t.expressionHash===null||typeof t.expressionHash=="string"):!1}function nM(t){return Dm(t)?(t.bold===void 0||typeof t.bold=="boolean")&&(t.italic===void 0||typeof t.italic=="boolean")&&(t.color===void 0||t.color===null||typeof t.color=="string")&&(t.fontSize===void 0||typeof t.fontSize=="string"):!1}function aM(t){return Dm(t)?tM(t.target)&&nM(t.marks)&&typeof t.updatedAt=="string":!1}function ms(t){return t??null}function iM(t){const n=t.replace(/\\/g,"/"),i=n.indexOf("/src/");return i!==-1?n.slice(i+1):n.replace(/^\/+/,"")}function rM(t){const n=t.split("/");return n.some(i=>!/^[a-zA-Z0-9_-]+$/.test(i))?null:n.map(i=>i.toLowerCase()).join("/")}function sM(t){const n=iM(t),i=/^src\/pages\/(.+)\.[jt]sx?$/.exec(n);if(!(i!=null&&i[1]))return{key:"shared",filePath:"format-overrides/shared.json"};const s=rM(i[1]);return s?{key:`pages/${s}`,filePath:`format-overrides/pages/${s}.json`}:{key:"shared",filePath:"format-overrides/shared.json"}}function lM(t,n){return t.file===n.file&&t.tagName===n.tagName&&t.sourceKind===n.sourceKind&&ms(t.contentKey)===ms(n.contentKey)&&ms(t.contentKeyTemplate)===ms(n.contentKeyTemplate)&&ms(t.expressionHash)===ms(n.expressionH
198ash)}function oM(t,n,i){const s=sM(i.file),u=(t.scopes[s.key]??Wk).overrides[n];return u?aM(u)?lM(u.target,i)?{status:"applicable",marks:u.marks}:{status:"guard-mismatch",expected:u.target,actual:i}:(s.key,{status:"missing"}):{status:"missing"}}const uM={"0.75rem":"1rem","0.875rem":"1.25rem","1rem":"1.5rem","1.125rem":"1.75rem","1.25rem":"1.75rem","1.5rem":"2rem","1.875rem":"2.25rem","2.25rem":"2.5rem","3rem":"1","3.75rem":"1","4.5rem":"1","6rem":"1","8rem":"1"};function cM(t){const n=t.fontSize?uM[t.fontSize]:void 0;return{...t.bold?{fontWeight:700}:{},...t.italic?{fontStyle:"italic"}:{},...t.color?{color:t.color}:{},...t.fontSize?{fontSize:t.fontSize}:{},...n?{lineHeight:n}:{}}}const dM={version:1,scopes:{}},V0=new Set;let fM=dM;function U0(){return fM}function hM(t){return V0.add(t),()=>{V0.delete(t)}}function mM(){return E.useSyncExternalStore(hM,U0,U0)}function lt({devId:t,guard:n,children:i}){const s=mM(),o=oM(s,t,n);if(o.status==="missing")return y.jsx(y.Fragment,{children:i});if(o.status==="guard-mismatch")return y.jsx(y.Fragment,{children:i});const u=o.marks;return y.jsx("span",{"data-airo-formatted-bound-text":"true","data-airo-format-bold":u.bold?"true":void 0,"data-airo-format-italic":u.italic?"true":void 0,"data-airo-format-color":u.color||void 0,"data-airo-format-size":u.fontSize||void 0,style:cM(u),children:i})}/**
199 * @license lucide-react v0.454.0 - ISC
200 *
201 * This source code is licensed under the ISC license.
202 * See the LICENSE file in the root directory of this source tree.
203 */const pM=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),p1=(...t)=>t.filter((n,i,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===i).join(" ").trim();/**
204 * @license lucide-react v0.454.0 - ISC
205 *
206 * This source code is licensed under the ISC license.
207 * See the LICENSE file in the root directory of this source tree.
208 */var gM={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"};/**
209 * @license lucide-react v0.454.0 - ISC
210 *
211 * This source code is licensed under the ISC license.
212 * See the LICENSE file in the root directory of this source tree.
213 */const yM=E.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:o="",children:u,iconNode:d,...h},m)=>E.createElement("svg",{ref:m,...gM,width:n,height:n,stroke:t,strokeWidth:s?Number(i)*24/Number(n):i,className:p1("lucide",o),...h},[...d.map(([p,g])=>E.createElement(p,g)),...Array.isArray(u)?u:[u]]));/**
214 * @license lucide-react v0.454.0 - ISC
215 *
216 * This source code is licensed under the ISC license.
217 * See the LICENSE file in the root directory of this source tree.
218 */const Zn=(t,n)=>{const i=E.forwardRef(({className:s,...o},u)=>E.createElement(yM,{ref:u,iconNode:n,className:p1(`lucide-${pM(t)}`,s),...o}));return i.displayName=`${t}`,i};/**
219 * @license lucide-react v0.454.0 - ISC
220 *
221 * This source code is licensed under the ISC license.
222 * See the LICENSE file in the root directory of this source tree.
223 */const vM=Zn("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
224 * @license lucide-react v0.454.0 - ISC
225 *
226 * This source code is licensed under the ISC license.
227 * See the LICENSE file in the root directory of this source tree.
228 */const bM=Zn("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
229 * @license lucide-react v0.454.0 - ISC
230 *
231 * This source code is licensed under the ISC license.
232 * See the LICENSE file in the root directory of this source tree.
233 */const xM=Zn("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
234 * @license lucide-react v0.454.0 - ISC
235 *
236 * This source code is licensed under the ISC license.
237 * See the LICENSE file in the root directory of this source tree.
238 */const wM=Zn("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
239 * @license lucide-react v0.454.0 - ISC
240 *
241 * This source code is licensed under the ISC license.
242 * See the LICENSE file in the root directory of this source tree.
243 */const SM=Zn("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
244 * @license lucide-react v0.454.0 - ISC
245 *
246 * This source code is licensed under the ISC license.
247 * See the LICENSE file in the root directory of this source tree.
248 */const TM=Zn("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
249 * @license lucide-react v0.454.0 - ISC
250 *
251 * This source code is licensed under the ISC license.
252 * See the LICENSE file in the root directory of this source tree.
253 */const EM=Zn("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
254 * @license lucide-react v0.454.0 - ISC
255 *
256 * This source code is licensed under the ISC license.
257 * See the LICENSE file in the root directory of this source tree.
258 */const AM=Zn("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
259 * @license lucide-react v0.454.0 - ISC
260 *
261 * This source code is licensed under the ISC license.
262 * See the LICENSE file in the root directory of this source tree.
263 */const kM=Zn("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"}]]);/**
264 * @license lucide-react v0.454.0 - ISC
265 *
266 * This source code is licensed under the ISC license.
267 * See the LICENSE file in the root directory of this source tree.
268 */const MM=Zn("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"}]]);/**
269 * @license lucide-react v0.454.0 - ISC
270 *
271 * This source code is licensed under the ISC license.
272 * See the LICENSE file in the root directory of this source tree.
273 */const jM=Zn("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"}]]);/**
274 * @license lucide-react v0.454.0 - ISC
275 *
276 * This source code is licensed under the ISC license.
277 * See the LICENSE file in the root directory of this source tree.
278 */const zM=Zn("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),H0=[{label:"Home",href:"/"},{label:"Menus",href:"/menus"},{label:"Gallery",href:"/gallery"},{label:"Contact Us",href:"/contact"}];function CM(){const[t,n]=E.useState(!1),[i,s]=E.useState(!1),o=An();return E.useEffect(()=>{const u=()=>s(window.scrollY>40);return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),E.useEffect(()=>{n(!1)},[o.pathname]),y.jsxs("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${i?"bg-white shadow-sm py-3":"bg-white/95 backdrop-blur-sm py-4"}`,children:[y.jsxs("div",{className:"max-w-7xl mx-auto px-6 flex items-center justify-between",children:[y.jsx(Xt,{to:"/",className:"shrink-0 flex items-center",children:y.jsx("img",{src:"/airo-assets/images/logo/horizontal",alt:"Turkuaz Brasserie",className:"block h-auto max-h-14 w-auto max-w-[200px] object-contain"})}),y.jsxs("nav",{"aria-label":"Main navigation",className:"hidden md:flex items-center gap-8",children:[H0.map(u=>{const d=o.pathname===u.href;return y.jsxs(Xt,{to:u.href,className:`text-sm font-medium tracking-wide transition-colors duration-200 relative group ${d?"text-primary":"text-foreground/80 hover:text-primary"}`,children:[u.label,y.jsx("span",{className:`absolute -bottom-1 left-0 h-0.5 bg-secondary transition-all duration-300 ${d?"w-full":"w-0 group-hover:w-full"}`})]},u.href)}),y.jsx("a",{href:"https://online.turkuazbrasserie.co.uk/",target:"_blank",rel:"noopener noreferrer",className:"ml-2 px-5 py-2.5 bg-secondary text-white text-sm font-medium tracking-wide hover:bg-secondary/90 transition-colors duration-200",children:"Order Online"}),y.jsx("a",{href:"https://book.turkuazbrasserie.co.uk/",target:"_blank",rel:"noopener noreferrer",className:"ml-2 px-5 py-2.5 bg-primary text-primary-foreground text-sm font-medium tracking-wide hover:bg-primary/90 transition-colors duration-200",children:"Book a Table"})]}),y.jsx("button",{className:"md:hidden p-2 text-foreground",onClick:()=>n(!t),"aria-label":t?"Close menu":"Open menu",children:y.jsx(lt,{devId:"4e02e2",guard:{file:"src/layouts/parts/Header.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
vendor: 7,200 bytes, line 278
278ash:"sha256:005b9449fa438fb26a6852839aba6b498ea4871d8ac96eae16c173e758547863"},children:t?y.jsx(zM,{size:24}):y.jsx(MM,{size:24})})})]}),t&&y.jsxs("div",{className:"md:hidden bg-white border-t border-border px-6 py-6 flex flex-col gap-5",children:[y.jsx("nav",{"aria-label":"Mobile navigation",className:"flex flex-col gap-4",children:H0.map(u=>y.jsx(Xt,{to:u.href,className:"text-base font-medium text-foreground hover:text-primary transition-colors",children:u.label},u.href))}),y.jsx("a",{href:"https://online.turkuazbrasserie.co.uk/",target:"_blank",rel:"noopener noreferrer",className:"mt-2 px-5 py-3 bg-secondary text-white text-sm font-medium text-center tracking-wide",children:"Order Online"}),y.jsx("a",{href:"https://book.turkuazbrasserie.co.uk/",target:"_blank",rel:"noopener noreferrer",className:"mt-2 px-5 py-3 bg-primary text-primary-foreground text-sm font-medium text-center tracking-wide",children:"Book a Table"})]})]})}function g1(t){var n,i,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(i=g1(t[n]))&&(s&&(s+=" "),s+=i)}else for(i in t)t[i]&&(s&&(s+=" "),s+=i);return s}function RM(){for(var t,n,i=0,s="",o=arguments.length;i<o;i++)(t=arguments[i])&&(n=g1(t))&&(s&&(s+=" "),s+=n);return s}const Om="-",_M=t=>{const n=DM(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:d=>{const h=d.split(Om);return h[0]===""&&h.length!==1&&h.shift(),y1(h,n)||NM(d)},getConflictingClassGroupIds:(d,h)=>{const m=i[d]||[];return h&&s[d]?[...m,...s[d]]:m}}},y1=(t,n)=>{var d;if(t.length===0)return n.classGroupId;const i=t[0],s=n.nextPart.get(i),o=s?y1(t.slice(1),s):void 0;if(o)return o;if(n.validators.length===0)return;const u=t.join(Om);return(d=n.validators.find(({validator:h})=>h(u)))==null?void 0:d.classGroupId},G0=/^\[(.+)\]$/,NM=t=>{if(G0.test(t)){const n=G0.exec(t)[1],i=n==null?void 0:n.substring(0,n.indexOf(":"));if(i)return"arbitrary.."+i}},DM=t=>{const{theme:n,prefix:i}=t,s={nextPart:new Map,validators:[]};return LM(Object.entries(t.classGroups),i).forEach(([u,d])=>{Oh(d,s,u,n)}),s},Oh=(t,n,i,s)=>{t.forEach(o=>{if(typeof o=="string"){const u=o===""?n:K0(n,o);u.classGroupId=i;return}if(typeof o=="function"){if(OM(o)){Oh(o(s),n,i,s);return}n.validators.push({validator:o,classGroupId:i});return}Object.entries(o).forEach(([u,d])=>{Oh(d,K0(n,u),i,s)})})},K0=(t,n)=>{let i=t;return n.split(Om).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i},OM=t=>t.isThemeGetter,LM=(t,n)=>n?t.map(([i,s])=>{const o=s.map(u=>typeof u=="string"?n+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([d,h])=>[n+d,h])):u);return[i,o]}):t,BM=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,i=new Map,s=new Map;const o=(u,d)=>{i.set(u,d),n++,n>t&&(n=0,s=i,i=new Map)};return{get(u){let d=i.get(u);if(d!==void 0)return d;if((d=s.get(u))!==void 0)return o(u,d),d},set(u,d){i.has(u)?i.set(u,d):o(u,d)}}},v1="!",VM=t=>{const{separator:n,experimentalParseClassName:i}=t,s=n.length===1,o=n[0],u=n.length,d=h=>{const m=[];let p=0,g=0,b;for(let z=0;z<h.length;z++){let L=h[z];if(p===0){if(L===o&&(s||h.slice(z,z+u)===n)){m.push(h.slice(g,z)),g=z+u;continue}if(L==="/"){b=z;continue}}L==="["?p++:L==="]"&&p--}const x=m.length===0?h:h.substring(g),S=x.startsWith(v1),T=S?x.substring(1):x,C=b&&b>g?b-g:void 0;return{modifiers:m,hasImportantModifier:S,baseClassName:T,maybePostfixModifierPosition:C}};return i?h=>i({className:h,parseClassName:d}):d},UM=t=>{if(t.length<=1)return t;const n=[];let i=[];return t.forEach(s=>{s[0]==="["?(n.push(...i.sort(),s),i=[]):i.push(s)}),n.push(...i.sort()),n},HM=t=>({cache:BM(t.cacheSize),parseClassName:VM(t),..._M(t)}),GM=/\s+/,KM=(t,n)=>{const{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:o}=n,u=[],d=t.trim().split(GM);let h="";for(let m=d.length-1;m>=0;m-=1){const p=d[m],{modifiers:g,hasImportantModifier:b,baseClassName:x,maybePostfixModifierPosition:S}=i(p);let T=!!S,C=s(T?x.substring(0,S):x);if(!C){if(!T){h=p+(h.length>0?" "+h:h);continue}if(C=s(x),!C){h=p+(h.length>0?" "+h:h);continue}T=!1}const z=UM(g).join(":"),L=b?z+v1:z,V=L+C;if(u.includes(V))continue;u.push(V);const G=o(C,T);for(let F=0;F<G.length;++F){const Q=G[F];u.push(L+Q)}h=p+(h.length>0?" "+h:h)}return h};function ZM(){let t=0,n,i,s="";for(;t<arguments.length;)(n=arguments[t++])&&(i=b1(n))&&(s&&(s+=" "),s+=i);return s}const b1=t=>{if(typeof t=="string")return t;let n,i="";for(let s=0;s<t.length;s++)t[s]&&(n=b1(t[s]))&&(i&&(i+=" "),i+=n);return i};function qM(t,...n){let i,s,o,u=d;function d(m){const p=n.reduce((g,b)=>b(g),t());return i=HM(p),s=i.cache.get,o=i.cache.set,u=h,h(m)}function h(m){const p=s(m);if(p)return p;const g=KM(m,i);return o(m,g),g}return function(){return u(ZM.apply(null,arguments))}}const mt=t=>{const n=i=>i[t]||[];return n.isThemeGetter=!0,n},x1=/^\[(?:([a-z-]+):)?(.+)\]$/i,YM=/^\d+\/\d+$/,FM=new Set(["px","full","screen"]),PM=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,XM=/\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$/,QM=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,JM=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Qa=t=>Ts(t)||FM.has(t)||YM.test(t),Ri=t=>Ns(t,"length",rj),Ts=t=>!!t&&!Number.isNaN(Number(t)),Wf=t=>Ns(t,"number",Ts),Bl=t=>!!t&&Number.isInteger(Number(t)),IM=t=>t.endsWith("%")&&Ts(t.slice(0,-1)),Ne=t=>x1.test(t),_i=t=>PM.test(t),WM=new Set(["length","size","percentage"]),ej=t=>Ns(t,WM,w1),tj=t=>Ns(t,"position",w1),nj=new Set(["image","url"]),aj=t=>Ns(t,nj,lj),ij=t=>Ns(t,"",sj),Vl=()=>!0,Ns=(t,n,i)=>{const s=x1.exec(t);return s?s[1]?typeof n=="string"?s[1]===n:n.has(s[1]):i(s[2]):!1},rj=t=>XM.test(t)&&!QM.test(t),w1=()=>!1,sj=t=>$M.test(t),lj=t=>JM.test(t),oj=()=>{const t=mt("colors"),n=mt("spacing"),i=mt("blur"),s=mt("brightness"),o=mt("borderColor"),u=mt("borderRadius"),d=mt("borderSpacing"),h=mt("borderWidth"),m=mt("contrast"),p=mt("grayscale"),g=mt("hueRotate"),b=mt("invert"),x=mt("gap"),S=mt("gradientColorStops"),T=mt("gradientColorStopPositions"),C=mt("inset"),z=mt("margin"),L=mt("opacity"),V=mt("padding"),G=mt("saturate"),F=mt("scale"),Q=mt("sepia"),me=mt("skew"),te=mt("space"),R=mt("translate"),oe=()=>["auto","contain","none"],I=()=>["auto","hidden","clip","visible","scroll"],we=()=>["auto",Ne,n],ee=()=>[Ne,n],De=()=>["",Qa,Ri],Be=()=>["auto",Ts,Ne],Le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],P=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],ie=()=>["","0",Ne],ve=()=>["auto","avoid","all","avoid-page","page","left","right","column"],be=()=>[Ts,Ne];return{cacheSize:500,separator:":",theme:{colors:[Vl],spacing:[Qa,Ri],blur:["none","",_i,Ne],brightness:be(),borderColor:[t],borderRadius:["n
278one","","full",_i,Ne],borderSpacing:ee(),borderWidth:De(),contrast:be(),grayscale:ie(),hueRotate:be(),invert:ie(),gap:ee(),gradientColorStops:[t],gradientColorStopPositions:[IM,Ri],inset:we(),margin:we(),opacity:be(),padding:ee(),saturate:be(),scale:be(),sepia:ie(),skew:be(),space:ee(),translate:ee()},classGroups:{aspect:[{aspect:["auto","square","video",Ne]}],container:["container"],columns:[{columns:[_i]}],"break-after":[{"break-after":ve()}],"break-before":[{"break-before":ve()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Le(),Ne]}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Bl,Ne]}],basis:[{basis:we()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ne]}],grow:[{grow:ie()}],shrink:[{shrink:ie()}],order:[{order:["first","last","none",Bl,Ne]}],"grid-cols":[{"grid-cols":[Vl]}],"col-start-end":[{col:["auto",{span:["full",Bl,Ne]},Ne]}],"col-start":[{"col-start":Be()}],"col-end":[{"col-end":Be()}],"grid-rows":[{"grid-rows":[Vl]}],"row-start-end":[{row:["auto",{span:[Bl,Ne]},Ne]}],"row-start":[{"row-start":Be()}],"row-end":[{"row-end":Be()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ne]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ne]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[V]}],px:[{px:[V]}],py:[{py:[V]}],ps:[{ps:[V]}],pe:[{pe:[V]}],pt:[{pt:[V]}],pr:[{pr:[V]}],pb:[{pb:[V]}],pl:[{pl:[V]}],m:[{m:[z]}],mx:[{mx:[z]}],my:[{my:[z]}],ms:[{ms:[z]}],me:[{me:[z]}],mt:[{mt:[z]}],mr:[{mr:[z]}],mb:[{mb:[z]}],ml:[{ml:[z]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ne,n]}],"min-w":[{"min-w":[Ne,n,"min","max","fit"]}],"max-w":[{"max-w":[Ne,n,"none","full","min","max","fit","prose",{screen:[_i]},_i]}],h:[{h:[Ne,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ne,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ne,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ne,n,"auto","min","max","fit"]}],"font-size":[{text:["base",_i,Ri]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Wf]}],"font-family":[{font:[Vl]}],"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",Ne]}],"line-clamp":[{"line-clamp":["none",Ts,Wf]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Qa,Ne]}],"list-image":[{"list-image":["none",Ne]}],"list-style-type":[{list:["none","disc","decimal",Ne]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[L]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Qa,Ri]}],"underline-offset":[{"underline-offset":["auto",Qa,Ne]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ee()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ne]}],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",Ne]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[L]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Le(),tj]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ej]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},aj]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[T]}
vendor: 5,203 bytes, line 278
278],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"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":[L]}],"border-style":[{border:[...U(),"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":[L]}],"divide-style":[{divide:U()}],"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:["",...U()]}],"outline-offset":[{"outline-offset":[Qa,Ne]}],"outline-w":[{outline:[Qa,Ri]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:De()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[L]}],"ring-offset-w":[{"ring-offset":[Qa,Ri]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",_i,ij]}],"shadow-color":[{shadow:[Vl]}],opacity:[{opacity:[L]}],"mix-blend":[{"mix-blend":[...P(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":P()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[s]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",_i,Ne]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[b]}],saturate:[{saturate:[G]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[L]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ne]}],duration:[{duration:be()}],ease:[{ease:["linear","in","out","in-out",Ne]}],delay:[{delay:be()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ne]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[Bl,Ne]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[me]}],"skew-y":[{"skew-y":[me]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ne]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ne]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ee()}],"scroll-mx":[{"scroll-mx":ee()}],"scroll-my":[{"scroll-my":ee()}],"scroll-ms":[{"scroll-ms":ee()}],"scroll-me":[{"scroll-me":ee()}],"scroll-mt":[{"scroll-mt":ee()}],"scroll-mr":[{"scroll-mr":ee()}],"scroll-mb":[{"scroll-mb":ee()}],"scroll-ml":[{"scroll-ml":ee()}],"scroll-p":[{"scroll-p":ee()}],"scroll-px":[{"scroll-px":ee()}],"scroll-py":[{"scroll-py":ee()}],"scroll-ps":[{"scroll-ps":ee()}],"scroll-pe":[{"scroll-pe":ee()}],"scroll-pt":[{"scroll-pt":ee()}],"scroll-pr":[{"scroll-pr":ee()}],"scroll-pb":[{"scroll-pb":ee()}],"scroll-pl":[{"scroll-pl":ee()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
278],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",Ne]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Qa,Ri,Wf]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},uj=qM(oj);function cj(...t){return uj(RM(t))}function dj({children:t,config:n={},className:i}){const{layout:s={maxWidth:"full",padding:"md",background:"default",minHeight:!0}}=n,o=()=>{switch(s.background){case"muted":return"bg-muted";case"gradient":return"bg-gradient-to-b from-background to-muted/20";default:return"bg-background"}};return y.jsx("div",{className:cj(s.minHeight!==!1&&"min-h-screen",o(),"flex flex-col",i),children:t})}function fj({children:t}){return y.jsxs(dj,{children:[y.jsxs(Pi,{children:[y.jsx("title",{children:"Mediterranean Restaurant in Highgate | Turkuaz Brasserie"}),y.jsx("meta",{name:"description",content:"Discover Turkuaz Brasserie, a Mediterranean restaurant in Highgate serving delicious Turkish cuisine, fresh mezze, grilled dishes and Mediterranean flavours in North London."})]}),y.jsx($k,{}),y.jsx(u1,{}),y.jsx(CM,{}),t,y.jsx(Ik,{})]})}function hj({className:t}){return y.jsx("div",{className:`inline-block ${t||""}`,children:y.jsxs("svg",{className:"animate-spin h-8 w-8 text-gray-600",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[y.jsx("circle",{className:"opacity-10",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),y.jsx("path",{className:"opacity-20",fill:"currentColor",d:"m4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})}const S1=E.createContext({});function mj(t){const n=E.useRef(null);return n.current===null&&(n.current=t()),n.current}const pj=typeof window<"u",gj=pj?E.useLayoutEffect:E.useEffect,Lm=E.createContext(null);function Bm(t,n){t.indexOf(n)===-1&&t.push(n)}function nc(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}const va=(t,n,i)=>i>n?n:i<t?t:i;let Vm=()=>{};const Zi={},T1=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function E1(t){return typeof t=="object"&&t!==null}const A1=t=>/^0[^.\s]+$/u.test(t);function k1(t){let n;return()=>(n===void 0&&(n=t()),n)}const Gn=t=>t,yj=(t,n)=>i=>n(t(i)),ho=(...t)=>t.reduce(yj),no=(t,n,i)=>{const s=n-t;return s===0?1:(i-t)/s};class Um{constructor(){this.subscriptions=[]}add(n){return Bm(this.subscriptions,n),()=>nc(this.subscriptions,n)}notify(n,i,s){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](n,i,s);else for(let u=0;u<o;u++){const d=this.subscriptions[u];d&&d(n,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Sn=t=>t*1e3,Un=t=>t/1e3;function M1(t,n){return n?t*(1e3/n):0}const j1=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,vj=1e-7,bj=12;function xj(t,n,i,s,o){let u,d,h=0;do d=n+(i-n)/2,u=j1(d,s,o)-t,u>0?i=d:n=d;while(Math.abs(u)>vj&&++h<bj);return d}function mo(t,n,i,s){if(t===n&&i===s)return Gn;const o=u=>xj(u,0,1,t,i);return u=>u===0||u===1?u:j1(o(u),n,s)}const z1=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,C1=t=>n=>1-t(1-n),R1=mo(.33,1.53,.69,.99),Hm=C1(R1),_1=z1(Hm),N1=t=>t>=1?1:(t*=2)<1?.5*Hm(t):.5*(2-Math.pow(2,-10*(t-1))),Gm=t=>1-Math.sin(Math.acos(t)),D1=C1(Gm),O1=z1(Gm),wj=mo(.42,0,1,1),Sj=mo(0,0,.58,1),L1=mo(.42,0,.58,1),Tj=t=>Array.isArray(t)&&typeof t[0]!="number",B1=t=>Array.isArray(t)&&typeof t[0]=="number",Ej={linear:Gn,easeIn:wj,easeInOut:L1,easeOut:Sj,circIn:Gm,circInOut:O1,circOut:D1,backIn:Hm,backInOut:_1,backOut:R1,anticipate:N1},Aj=t=>typeof t=="string",Z0=t=>{if(B1(t)){Vm(t.length===4);const[n,i,s,o]=t;return mo(n,i,s,o)}else if(Aj(t))return Ej[t];return t},Bu=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function kj(t,n){let i=new Set,s=new Set,o=!1,u=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function m(g){d.has(g)&&(p.schedule(g),t()),g(h)}const p={schedule:(g,b=!1,x=!1)=>{const T=x&&o?i:s;return b&&d.add(g),T.add(g),g},cancel:g=>{s.delete(g),d.delete(g)},process:g=>{if(h=g,o){u=!0;return}o=!0;const b=i;
vendor: 26,477 bytes, line 278
278i=s,s=b,i.forEach(m),i.clear(),o=!1,u&&(u=!1,p.process(g))}};return p}const Mj=40;function V1(t,n){let i=!1,s=!0;const o={delta:0,timestamp:0,isProcessing:!1},u=()=>i=!0,d=Bu.reduce((G,F)=>(G[F]=kj(u),G),{}),{setup:h,read:m,resolveKeyframes:p,preUpdate:g,update:b,preRender:x,render:S,postRender:T}=d,C=()=>{const G=Zi.useManualTiming,F=G?o.timestamp:performance.now();i=!1,G||(o.delta=s?1e3/60:Math.max(Math.min(F-o.timestamp,Mj),1)),o.timestamp=F,o.isProcessing=!0,h.process(o),m.process(o),p.process(o),g.process(o),b.process(o),x.process(o),S.process(o),T.process(o),o.isProcessing=!1,i&&n&&(s=!1,t(C))},z=()=>{i=!0,s=!0,o.isProcessing||t(C)};return{schedule:Bu.reduce((G,F)=>{const Q=d[F];return G[F]=(me,te=!1,R=!1)=>(i||z(),Q.schedule(me,te,R)),G},{}),cancel:G=>{for(let F=0;F<Bu.length;F++)d[Bu[F]].cancel(G)},state:o,steps:d}}const{schedule:ot,cancel:qi,state:Gt,steps:eh}=V1(typeof requestAnimationFrame<"u"?requestAnimationFrame:Gn,!0);let Yu;function jj(){Yu=void 0}const en={now:()=>(Yu===void 0&&en.set(Gt.isProcessing||Zi.useManualTiming?Gt.timestamp:performance.now()),Yu),set:t=>{Yu=t,queueMicrotask(jj)}},U1=t=>n=>typeof n=="string"&&n.startsWith(t),H1=U1("--"),zj=U1("var(--"),Km=t=>zj(t)?Cj.test(t.split("/*")[0].trim()):!1,Cj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function q0(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const Ds={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},ao={...Ds,transform:t=>va(0,1,t)},Vu={...Ds,default:1},Xl=t=>Math.round(t*1e5)/1e5,Zm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Rj(t){return t==null}const _j=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,qm=(t,n)=>i=>!!(typeof i=="string"&&_j.test(i)&&i.startsWith(t)||n&&!Rj(i)&&Object.prototype.hasOwnProperty.call(i,n)),G1=(t,n,i)=>s=>{if(typeof s!="string")return s;const[o,u,d,h]=s.match(Zm);return{[t]:parseFloat(o),[n]:parseFloat(u),[i]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},Nj=t=>va(0,255,t),th={...Ds,transform:t=>Math.round(Nj(t))},xr={test:qm("rgb","red"),parse:G1("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:s=1})=>"rgba("+th.transform(t)+", "+th.transform(n)+", "+th.transform(i)+", "+Xl(ao.transform(s))+")"};function Dj(t){let n="",i="",s="",o="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),o=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),o=t.substring(4,5),n+=n,i+=i,s+=s,o+=o),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:o?parseInt(o,16)/255:1}}const Lh={test:qm("#"),parse:Dj,transform:xr.transform},po=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),Oi=po("deg"),pa=po("%"),ue=po("px"),Oj=po("vh"),Lj=po("vw"),Y0={...pa,parse:t=>pa.parse(t)/100,transform:t=>pa.transform(t*100)},vs={test:qm("hsl","hue"),parse:G1("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+pa.transform(Xl(n))+", "+pa.transform(Xl(i))+", "+Xl(ao.transform(s))+")"},jt={test:t=>xr.test(t)||Lh.test(t)||vs.test(t),parse:t=>xr.test(t)?xr.parse(t):vs.test(t)?vs.parse(t):Lh.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?xr.transform(t):vs.transform(t),getAnimatableNone:t=>{const n=jt.parse(t);return n.alpha=0,jt.transform(n)}},Bj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Vj(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(Zm))==null?void 0:n.length)||0)+(((i=t.match(Bj))==null?void 0:i.length)||0)>0}const K1="number",Z1="color",Uj="var",Hj="var(",F0="${}",Gj=/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 As(t){const n=t.toString(),i=[],s={color:[],number:[],var:[]},o=[];let u=0;const h=n.replace(Gj,m=>(jt.test(m)?(s.color.push(u),o.push(Z1),i.push(jt.parse(m))):m.startsWith(Hj)?(s.var.push(u),o.push(Uj),i.push(m)):(s.number.push(u),o.push(K1),i.push(parseFloat(m))),++u,F0)).split(F0);return{values:i,split:h,indexes:s,types:o}}function Kj(t){return As(t).values}function q1({split:t,types:n}){const i=t.length;return s=>{let o="";for(let u=0;u<i;u++)if(o+=t[u],s[u]!==void 0){const d=n[u];d===K1?o+=Xl(s[u]):d===Z1?o+=jt.transform(s[u]):o+=s[u]}return o}}function Zj(t){return q1(As(t))}const qj=t=>typeof t=="number"?0:jt.test(t)?jt.getAnimatableNone(t):t,Yj=(t,n)=>typeof t=="number"?n!=null&&n.trim().endsWith("/")?t:0:qj(t);function Fj(t){const n=As(t);return q1(n)(n.values.map((s,o)=>Yj(s,n.split[o])))}const na={test:Vj,parse:Kj,createTransformer:Zj,getAnimatableNone:Fj};function nh(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}function Pj({hue:t,saturation:n,lightness:i,alpha:s}){t/=360,n/=100,i/=100;let o=0,u=0,d=0;if(!n)o=u=d=i;else{const h=i<.5?i*(1+n):i+n-i*n,m=2*i-h;o=nh(m,h,t+1/3),u=nh(m,h,t),d=nh(m,h,t-1/3)}return{red:Math.round(o*255),green:Math.round(u*255),blue:Math.round(d*255),alpha:s}}function ac(t,n){return i=>i>0?n:t}const pt=(t,n,i)=>t+(n-t)*i,ah=(t,n,i)=>{const s=t*t,o=i*(n*n-s)+s;return o<0?0:Math.sqrt(o)},Xj=[Lh,xr,vs],Qj=t=>Xj.find(n=>n.test(t));function P0(t){const n=Qj(t);if(!n)return!1;let i=n.parse(t);return n===vs&&(i=Pj(i)),i}const X0=(t,n)=>{const i=P0(t),s=P0(n);if(!i||!s)return ac(t,n);const o={...i};return u=>(o.red=ah(i.red,s.red,u),o.green=ah(i.green,s.green,u),o.blue=ah(i.blue,s.blue,u),o.alpha=pt(i.alpha,s.alpha,u),xr.transform(o))},Bh=new Set(["none","hidden"]);function $j(t,n){return Bh.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function Jj(t,n){return i=>pt(t,n,i)}function Ym(t){return typeof t=="number"?Jj:typeof t=="string"?Km(t)?ac:jt.test(t)?X0:ez:Array.isArray(t)?Y1:typeof t=="object"?jt.test(t)?X0:Ij:ac}function Y1(t,n){const i=[...t],s=i.length,o=t.map((u,d)=>Ym(u)(u,n[d]));return u=>{for(let d=0;d<s;d++)i[d]=o[d](u);return i}}function Ij(t,n){const i={...t,...n},s={};for(const o in i)t[o]!==void 0&&n[o]!==void 0&&(s[o]=Ym(t[o])(t[o],n[o]));return o=>{for(const u in s)i[u]=s[u](o);return i}}function Wj(t,n){const i=[],s={color:0,var:0,number:0};for(let o=0;o<n.values.length;o++){const u=n.types[o],d=t.indexes[u][s[u]],h=t.values[d]??0;i[o]=h,s[u]++}return i}const ez=(t,n)=>{const i=na.createTransformer(n),s=As(t),o=As(n);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?Bh.has(t)&&!o.values.length||Bh.has(n)&&!s.values.length?$j(t,n):ho(Y1(Wj(s,o),o.values),i):ac(t,n)};function F1(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?pt(t,n,i):Ym(t)(t,n)}const tz=t=>{const n=({timestamp:i})=>t(i);return{start:(i=!0)=>ot.update(n,i),stop:()=>qi(n),now:()=>Gt.isProcessing?Gt.timestamp:en.now()}},P1=(t,n,i=10)=>{let s="";const o=Math.max(Math.round(n/i),2);for(let u=0;u<o;u++)s+=Math.round(t(u/(o-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},ic=2e4;function Fm(t){let n=0;const i=50;let s=t.next(n);for(;!s.done&&n<ic;)n+=i,s=t.next(n);return n>=ic?1/0:n}function nz(t,n=100,i){const s=i({...t,keyframes:[0,n]}),o=Math.min(Fm(s),ic);return{type:"keyframes",ease:u=>s.next(o*u).value/n,duration:Un(o)}}const wt={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 Vh(t,n){return t*Math.sqrt(1-n*n)}const az=12;function iz(t,n,i){let s=i;for(let o=1;o<az;o++)s=s-t(s)/n(s);return s}const ih=.001;function rz({duration:t=wt.duration,bounce:n=wt.bounce,velocity:i=wt.velocity,mass:s=wt.mass}){let o,u,d=1-n;d=va(wt.minDamping,wt.maxDamping,d),t=va(wt.minDuration,wt.maxDuration,Un(t)),d<1?(o=p=>{const g=p*d,b=g*t,x=g-i,S=Vh(p,d),T=Math.exp(-b);return ih-x/S*T},u=p=>{const b=p*d*t,x=b*i+i,S=Math.pow(d,2)*Math.pow(p,2)*t,T=Math.exp(-b),C=Vh(Math.pow(p,2),d);return(-o(p)+ih>0?-1:1)*((x-S)*T)/C}):(o=p=>{const g=Math.exp(-p*t),b=(p-i)*t+1;return-ih+g*b},u=p=>{const g=Math.exp(-p*t),b=(i-p)*(t*t);return g*b});const h=5/t,m=iz(o,u,h);if(t=Sn(t),isNaN(m))return{stiffness:wt.stiffness,damping:wt.damping,duration:t};{const p=Math.pow(m,2)*s;return{stiffness:p,damping:d*2*Math.sqrt(s*p),duration:t}}}const sz=["duration","bounce"],lz=["stiffness","damping","mass"];function Q0(t,n){return n.some(i=>t[i]!==void 0)}function oz(t){let n={velocity:wt.velocity,stiffness:wt.stiffness,damping:wt.damping,mass:wt.mass,isResolvedFromDuration:!1,...t};if(!Q0(t,lz)&&Q0(t,sz))if(n.velocity=0,t.visualDuration){const i=t.visualDuration,s=2*Math.PI/(i*1.2),o=s*s,u=2*va(.05,1,1-(t.bounce||0))*Math.sqrt(o);n={...n,mass:wt.mass,stiffness:o,damping:u}}else{const i=rz({...t,velocity:0});n={...n,...i,mass:wt.mass},n.isResolvedFromDuration=!0}return n}function rc(t=wt.visualDuration,n=wt.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:s,restDelta:o}=i;const u=i.keyframes[0],d=i.keyframes[i.keyframes.length-1],h={done:!1,value:u},{stiffness:m,damping:p,mass:g,duration:b,velocity:x,isResolvedFromDuration:S}=oz({...i,velocity:-Un(i.velocity||0)}),T=x||0,C=p/(2*Math.sqrt(m*g)),z=d-u,L=Un(Math.sqrt(m/g)),V=Math.abs(z)<5;s||(s=V?wt.restSpeed.granular:wt.restSpeed.default),o||(o=V?wt.restDelta.granular:wt.restDelta.default);let G,F,Q,me,te,R;if(C<1)Q=Vh(L,C),me=(T+C*L*z)/Q,G=I=>{const we=Math.exp(-C*L*I);return d-we*(me*Math.sin(Q*I)+z*Math.cos(Q*I))},te=C*L*me+z*Q,R=C*L*z-me*Q,F=I=>Math.exp(-C*L*I)*(te*Math.sin(Q*I)+R*Math.cos(Q*I));else if(C===1){G=we=>d-Math.exp(-L*we)*(z+(T+L*z)*we);const I=T+L*z;F=we=>Math.exp(-L*we)*(L*I*we-T)}else{const I=L*Math.sqrt(C*C-1);G=Be=>{const Le=Math.exp(-C*L*Be),U=Math.min(I*Be,300);return d-Le*((T+C*L*z)*Math.sinh(U)+I*z*Math.cosh(U))/I};const we=(T+C*L*z)/I,ee=C*L*we-z*I,De=C*L*z-we*I;F=Be=>{const Le=Math.exp(-C*L*Be),U=Math.min(I*Be,300);return Le*(ee*Math.sinh(U)+De*Math.cosh(U))}}const oe={calculatedDuration:S&&b||null,velocity:I=>Sn(F(I)),next:I=>{if(!S&&C<1){const ee=Math.exp(-C*L*I),De=Math.sin(Q*I),Be=Math.cos(Q*I),Le=d-ee*(me*De+z*Be),U=Sn(ee*(te*De+R*Be));return h.done=Math.abs(U)<=s&&Math.abs(d-Le)<=o,h.value=h.done?d:Le,h}const we=G(I);if(S)h.done=I>=b;else{const ee=Sn(F(I));h.done=Math.abs(ee)<=s&&Math.abs(d-we)<=o}return h.value=h.done?d:we,h},toString:()=>{const I=Math.min(Fm(oe),ic),we=P1(ee=>oe.next(I*ee).value,I,30);return I+"ms "+we},toTransition:()=>{}};return oe}rc.applyToOptions=t=>{const n=nz(t,100,rc);return t.ease=n.ease,t.duration=Sn(n.duration),t.type="keyframes",t};const uz=5;function X1(t,n,i){const s=Math.max(n-uz,0);return M1(i-t(s),n-s)}function Uh({keyframes:t,velocity:n=0,power:i=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:u=500,modifyTarget:d,min:h,max:m,restDelta:p=.5,restSpeed:g}){const b=t[0],x={done:!1,value:b},S=R=>h!==void 0&&R<h||m!==void 0&&R>m,T=R=>h===void 0?m:m===void 0||Math.abs(h-R)<Math.abs(m-R)?h:m;let C=i*n;const z=b+C,L=d===void 0?z:d(z);L!==z&&(C=L-b);const V=R=>-C*Math.exp(-R/s),G=R=>L+V(R),F=R=>{const oe=V(R),I=G(R);x.done=Math.abs(oe)<=p,x.value=x.done?L:I};let Q,me;const te=R=>{S(x.value)&&(Q=R,me=rc({keyframes:[x.value,T(x.value)],velocity:X1(G,R,x.value),damping:o,stiffness:u,restDelta:p,restSpeed:g}))};return te(0),{calculatedDuration:null,next:R=>{let oe=!1;return!me&&Q===void 0&&(oe=!0,F(R),te(R)),Q!==void 0&&R>=Q?me.next(R-Q):(!oe&&F(R),x)}}}function cz(t,n,i){const s=[],o=i||Zi.mix||F1,u=t.length-1;for(let d=0;d<u;d++){let h=o(t[d],t[d+1]);if(n){const m=Array.isArray(n)?n[d]||Gn:n;h=ho(m,h)}s.push(h)}return s}function dz(t,n,{clamp:i=!0,ease:s,mixer:o}={}){const u=t.length;if(Vm(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const d=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),n=[...n].reverse());const h=cz(n,s,o),m=h.length,p=g=>{if(d&&g<t[0])return n[0];let b=0;if(m>1)for(;b<t.length-2&&!(g<t[b+1]);b++);const x=no(t[b],t[b+1],g);return h[b](x)};return i?g=>p(va(t[0],t[u-1],g)):p}function fz(t,n){const i=t[t.length-1];for(let s=1;s<=n;s++){const o=no(0,n,s);t.push(pt(i,1,o))}}function hz(t){const n=[0];return fz(n,t.length-1),n}function mz(t,n){return t.map(i=>i*n)}function pz(t,n){return t.map(()=>n||L1).splice(0,t.length-1)}function Ql({duration:t=300,keyframes:n,times:i,ease:s="easeInOut"}){const o=Tj(s)?s.map(Z0):Z0(s),u={done:!1,value:n[0]},d=mz(i&&i.length===n.length?i:hz(n),t),h=dz(d,n,{ease:Array.isArray(o)?o:pz(n,o)});return{calculatedDuration:t,next:m=>(u.value=h(m),u.done=m>=t,u)}}const gz=t=>t!==null;function wc(t,{repeat:n,repeatType:i="loop"},s,o=1){const u=t.filter(gz),h=o<0||n&&i!=="loop"&&n%2===1?0:u.length-1;return!h||s===void 0?u[h]:s}const yz={decay:Uh,inertia:Uh,tween:Ql,keyframes:Ql,spring:rc};function Q1(t){typeof t.type=="string"&&(t.type=yz[t.type])}class Pm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,i){return this.finished.then(n,i)}}const vz=t=>t/100;class sc extends Pm{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var s,o;const{motionValue:i}=this.options;i&&i.updatedAt!==en.now()&&this.tick(en.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(s=this.options).onStop)==null||o.call(s))},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;Q1(n);const{type:i=Ql,repeat:s=0,repeatDelay:o=0,repeatType:u,velocity:d=0}=n;let{keyframes:h}=n;const m=i||Ql;m!==Ql&&typeof h[0]!="number"&&(this.mixKeyframes=ho(vz,F1(h[0],h[1])),h=[0,100]);const p=m({...n,keyframes:h});u==="mirror"&&(this.mirroredGenerator=m({...n,keyframes:[...h].reverse(),velocity:-d})),p.calculatedDuration===null&&(p.calculatedDuration=Fm(p));const{calculatedDuration:g}=p;this.calculatedDuration=g,this.resolvedDuration=g+o,this.totalDuration=this.resolvedDuration*(s+1)-o,this.generator=p}updateTime(n){const i=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(n,i=!1){const{generator:s,totalDuration:o,mixKeyframes:u,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:m}=this;if(this.startTime===null)return s.next(0);const{delay:p=0,keyframes:g,repeat:b,repeatType:x,repeatDelay:S,type:T,onUpdate:C,finalKeyframe:z}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-o/this.speed,this.startTime)),i?this.currentTime=n:this.updateTime(n);const L=this.currentTime-p*(this.playbackSpeed>=0?1:-1),V=this.playbackSpeed>=0?L<0:L>o;this.currentTime=Math.max(L,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let G=this.currentTime,F=s;if(b){const R=Math.min(this.currentTime,o)/h;let oe=Math.floor(R),I=R%1;!I&&R>=1&&(I=1),I===1&&oe--,oe=Math.min(oe,b+1),!!(oe%2)&&(x==="reverse"?(I=1-I,S&&(I-=S/h)):x==="mirror"&&(F=d)),G=va(0,1,I)*h}let Q;V?(this.delayState.value=g[0],Q=this.delayState):Q=F.next(G),u&&!V&&(Q.value=u(Q.value));let{done:me}=Q;!V&&m!==null&&(me=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const te=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&me);return te&&T!==Uh&&(Q.value=wc(g,this.options,z,this.speed)),C&&C(Q.value),te&&this.finish(),Q}then(n,i){return this.finished.then(n,i)}get duration(){return Un(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Un(n)}get time(){return Un(this.currentTime)}set time(n){n=Sn(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=n,this.tick(n))}getGeneratorVelocity(){const n=this.currentTime;if(n<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(n);const i=this.generator.next(n).value;return X1(s=>this.generator.next(s).value,n,i)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;i&&this.driver&&this.updateTime(en.now()),this.playbackSpeed=n,i&&this.driver&&(this.time=Un(this.currentTime))}play(){var o,u;if(this.isStopped)return;const{driver:n=tz,startTime:i}=this.options;this.driver||(this.driver=n(d=>this.tick(d))),(u=(o=this.options).onPlay)==null||u.call(o);const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=i??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(en.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var n,i;this.notifyFinished(),this.teardown(),this.state="finished",(i=(n=this.options).onComplete)==null||i.call(n)}cancel(){var n,i;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(i=(n=this.options).onCancel)==null||i.call(n)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){var i;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(i=this.driver)==null||i.stop(),n.observe(this)}}function bz(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const wr=t=>t*180/Math.PI,Hh=t=>{const n=wr(Math.atan2(t[1],t[0]));return Gh(n)},xz={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Hh,rotateZ:Hh,skewX:t=>wr(Math.atan(t[1])),skewY:t=>wr(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Gh=t=>(t=t%360,t<0&&(t+=360),t),$0=Hh,J0=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),I0=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),wz={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:J0,scaleY:I0,scale:t=>(J0(t)+I0(t))/2,rotateX:t=>Gh(wr(Math.atan2(t[6],t[5]))),rotateY:t=>Gh(wr(Math.atan2(-t[2],t[0]))),rotateZ:$0,rotate:$0,skewX:t=>wr(Math.atan(t[4])),skewY:t=>wr(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Kh(t){return t.includes("scale")?1:0}function Zh(t,n){if(!t||t==="none")return Kh(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,o;if(i)s=wz,o=i;else{const h=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=xz,o=h}if(!o)return Kh(n);const u=s[n],d=o[1].split(",").map(Tz);return typeof u=="function"?u(d):d[u]}const Sz=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return Zh(i,n)};function Tz(t){return parseFloat(t.trim())}const Os=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ls=new Set(Os),W0=t=>t===Ds||t===ue,Ez=new Set(["x","y","z"]),Az=Os.filter(t=>!Ez.has(t));function kz(t){const n=[];return Az.forEach(i=>{const s=t.getValue(i);s!==void 0&&(n.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),n}const Hi={width:({x:t},{paddingLeft:n="0",paddingRight:i="0",boxSizing:s})=>{const o=t.max-t.min;return s==="border-box"?o:o-parseFloat(n)-parseFloat(i)},height:({y:t},{paddingTop:n="0",paddingBottom:i="0",boxSizing:s})=>{const o=t.max-t.min;return s==="border-box"?o:o-parseFloat(n)-parseFloat(i)},top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>Zh(n,"x"),y:(t,{transform:n})=>Zh(n,"y")};Hi.translateX=Hi.x;Hi.translateY=Hi.y;const Er=new Set;let qh=!1,Yh=!1,Fh=!1;function $1(){if(Yh){const t=Array.from(Er).filter(s=>s.needsMeasurement),n=new Set(t.map(s=>s.element)),i=new Map;n.forEach(s=>{const o=kz(s);o.length&&(i.set(s,o),s.render())}),t.forEach(s=>s.measureInitialState()),n.forEach(s=>{s.render();const o=i.get(s);o&&o.forEach(([u,d])=>{var h;(h=s.getValue(u))==null||h.set(d)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Yh=!1,qh=!1,Er.forEach(t=>t.complete(Fh)),Er.clear()}function J1(){Er.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Yh=!0)})}function Mz(){Fh=!0,J1(),$1(),Fh=!1}class Xm{constructor(n,i,s,o,u,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=s,this.motionValue=o,this.element=u,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(Er.add(this),qh||(qh=!0,ot.read(J1),ot.resolveKeyframes($1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:s,motionValue:o}=this;if(n[0]===null){const u=o==null?void 0:o.get(),d=n[n.length-1];if(u!==void 0)n[0]=u;else if(s&&i){const h=s.readValue(i,d);h!=null&&(n[0]=h)}n[0]===void 0&&(n[0]=d),o&&u===void 0&&o.set(n[0])}bz(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),Er.delete(this)}cancel(){this.state==="scheduled"&&(Er.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const jz=t=>t.startsWith("--");function I1(t,n,i){jz(n)?t.style.setProperty(n,i):t.style[n]=i}const zz={};function W1(t,n){const i=k1(t);return()=>zz[n]??i()}const Cz=W1(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),ew=W1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Gl=([t,n,i,s])=>`cubic-bezier(${t}, ${n}, ${i}, ${s})`,eb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Gl([0,.65,.55,1]),circOut:Gl([.55,0,1,.45]),backIn:Gl([.31,.01,.66,-.59]),backOut:Gl([.33,1.53,.69,.99])};function tw(t,n){if(t)return typeof t=="function"?ew()?P1(t,n):"ease-out":B1(t)?Gl(t):Array.isArray(t)?t.map(i=>tw(i,n)||eb.easeOut):eb[t]}function Rz(t,n,i,{delay:s=0,duration:o=300,repeat:u=0,repeatType:d="loop",ease:h="easeOut",times:m}={},p=void 0){const g={[n]:i};m&&(g.offset=m);const b=tw(h,o);Array.isArray(b)&&(g.easing=b);const x={delay:s,duration:o,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:u+1,direction:d==="reverse"?"alternate":"normal"};return p&&(x.pseudoElement=p),t.animate(g,x)}function nw(t){return typeof t=="function"&&"applyToOptions"in t}function _z({type:t,...n}){return nw(t)&&ew()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class aw extends Pm{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:i,name:s,keyframes:o,pseudoElement:u,allowFlatten:d=!1,finalKeyframe:h,onComplete:m}=n;this.isPseudoElement=!!u,this.allowFlatten=d,this.options=n,Vm(typeof n.type!="string");const p=_z(n);this.animation=Rz(i,s,o,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const g=wc(o,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(g),I1(i,s,g),this.animation.cancel()}m==null||m(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var n,i;(i=(n=this.animation).finish)==null||i.call(n)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var i,s,o;const n=(i=this.options)==null?void 0:i.element;!this.isPseudoElement&&(n!=null&&n.isConnected)&&((o=(s=this.animation).commitStyles)==null||o.call(s))}get duration(){var i,s;const n=((s=(i=this.animation.effect)==null?void 0:i.getComputedTiming)==null?void 0:s.call(i).duration)||0;return Un(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Un(n)}get time(){return Un(Number(this.animation.currentTime)||0)}set time(n){const i=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Sn(n),i&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,rangeStart:i,rangeEnd:s,observe:o}){var u;return this.allowFlatten&&((u=this.animation.effect)==null||u.updateTiming({easing:"linear"})),this.animation.onfinish=null,n&&Cz()?(this.animation.timeline=n,i&&(this.animation.rangeStart=i),s&&(this.animation.rangeEnd=s),Gn):o(this)}}const iw={anticipate:N1,backInOut:_1,circInOut:O1};function Nz(t){return t in iw}function Dz(t){typeof t.ease=="string"&&Nz(t.ease)&&(t.ease=iw[t.ease])}const rh=10;class Oz extends aw{constructor(n){Dz(n),Q1(n),super(n),n.startTime!==void 0&&n.autoplay!==!1&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:i,onUpdate:s,onComplete:o,element:u,...d}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const h=new sc({...d,autoplay:!1}),m=Math.max(rh,en.now()-this.startTime),p=va(0,rh,m-rh),g=h.sample(m).value,{name:b}=this.options;u&&b&&I1(u,b,g),i.setWithVelocity(h.sample(Math.max(0,m-p)).value,g,p),h.stop()}}const tb=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(na.test(t)||t==="0")&&!t.startsWith("url("));function Lz(t){const n=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}function Bz(t,n,i,s){const o=t[0];if(o===null)return!1;if(n==="display"||n==="visibility")return!0;const u=t[t.length-1],d=tb(o,n),h=tb(u,n);
278return!d||!h?!1:Lz(t)||(i==="spring"||nw(i))&&s}function Ph(t){t.duration=0,t.type="keyframes"}const rw=new Set(["opacity","clipPath","filter","transform"]),Vz=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Uz(t){for(let n=0;n<t.length;n++)if(typeof t[n]=="string"&&Vz.test(t[n]))return!0;return!1}const Hz=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Gz=k1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Kz(t){var b;const{motionValue:n,name:i,repeatDelay:s,repeatType:o,damping:u,type:d,keyframes:h}=t;if(!(((b=n==null?void 0:n.owner)==null?void 0:b.current)instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=n.owner.getProps();return Gz()&&i&&(rw.has(i)||Hz.has(i)&&Uz(h))&&(i!=="transform"||!g)&&!p&&!s&&o!=="mirror"&&u!==0&&d!=="inertia"}const Zz=40;class qz extends Pm{constructor({autoplay:n=!0,delay:i=0,type:s="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:d="loop",keyframes:h,name:m,motionValue:p,element:g,...b}){var T;super(),this.stop=()=>{var C,z;this._animation&&(this._animation.stop(),(C=this.stopTimeline)==null||C.call(this)),(z=this.keyframeResolver)==null||z.cancel()},this.createdAt=en.now();const x={autoplay:n,delay:i,type:s,repeat:o,repeatDelay:u,repeatType:d,name:m,motionValue:p,element:g,...b},S=(g==null?void 0:g.KeyframeResolver)||Xm;this.keyframeResolver=new S(h,(C,z,L)=>this.onKeyframesResolved(C,z,x,!L),m,p,g),(T=this.keyframeResolver)==null||T.scheduleResolve()}onKeyframesResolved(n,i,s,o){var L,V;this.keyframeResolver=void 0;const{name:u,type:d,velocity:h,delay:m,isHandoff:p,onUpdate:g}=s;this.resolvedAt=en.now();let b=!0;Bz(n,u,d,h)||(b=!1,(Zi.instantAnimations||!m)&&(g==null||g(wc(n,s,i))),n[0]=n[n.length-1],Ph(s),s.repeat=0);const S={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>Zz?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:n},T=b&&!p&&Kz(S),C=(V=(L=S.motionValue)==null?void 0:L.owner)==null?void 0:V.current;let z;if(T)try{z=new Oz({...S,element:C})}catch{z=new sc(S)}else z=new sc(S);z.finished.then(()=>{this.notifyFinished()}).catch(Gn),this.pendingTimeline&&(this.stopTimeline=z.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=z}get finished(){return this._animation?this.animation.finished:this._finished}then(n,i){return this.finished.finally(n).then(()=>{})}get animation(){var n;return this._animation||((n=this.keyframeResolver)==null||n.resume(),Mz()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var n;this._animation&&this.animation.cancel(),(n=this.keyframeResolver)==null||n.cancel()}}function sw(t,n,i,s=0,o=1){const u=Array.from(t).sort((p,g)=>p.sortNodePosition(g)).indexOf(n),d=t.size,h=(d-1)*s;return typeof i=="function"?i(u,d):o===1?u*s:h-u*s}const Yz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Fz(t){const n=Yz.exec(t);if(!n)return[,];const[,i,s,o]=n;return[`--${i??s}`,o]}function lw(t,n,i=1){const[s,o]=Fz(t);if(!s)return;const u=window.getComputedStyle(n).getPropertyValue(s);if(u){const d=u.trim();return T1(d)?parseFloat(d):d}return Km(o)?lw(o,n,i+1):o}const Pz={type:"spring",stiffness:500,damping:25,restSpeed:10},Xz=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Qz={type:"keyframes",duration:.8},$z={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Jz=(t,{keyframes:n})=>n.length>2?Qz:Ls.has(t)?t.startsWith("scale")?Xz(n[1]):Pz:$z;function ow(t,n){if(t!=null&&t.inherit&&n){const{inherit:i,...s}=t;return{...n,...s}}return t}function Qm(t,n){const i=(t==null?void 0:t[n])??(t==null?void 0:t.default)??t;return i!==t?ow(i,t):i}const Iz=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Wz(t){for(const n in t)if(!Iz.has(n))return!0;return!1}const $m=(t,n,i,s={},o,u)=>d=>{const h=Qm(s,t)||{},m=h.delay||s.delay||0;let{elapsed:p=0}=s;p=p-Sn(m);const g={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...h,delay:-p,onUpdate:x=>{n.set(x),h.onUpdate&&h.onUpdate(x)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:t,motionValue:n,element:u?void 0:o};Wz(h)||Object.assign(g,Jz(t,g)),g.duration&&(g.duration=Sn(g.duration)),g.repeatDelay&&(g.repeatDelay=Sn(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let b=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Ph(g),g.delay===0&&(b=!0)),(Zi.instantAnimations||Zi.skipAnimations||o!=null&&o.shouldSkipAnimations)&&(b=!0,Ph(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,b&&!u&&n.get()!==void 0){const x=wc(g.keyframes,h);if(x!==void 0){ot.update(()=>{g.onUpdate(x),g.onComplete()});return}}return h.isSync?new sc(g):new qz(g)};function nb(t){const n=[{},{}];
vendor: 8,048 bytes, line 278
278return t==null||t.values.forEach((i,s)=>{n[0][s]=i.get(),n[1][s]=i.getVelocity()}),n}function Jm(t,n,i,s){if(typeof n=="function"){const[o,u]=nb(s);n=n(i!==void 0?i:t.custom,o,u)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[o,u]=nb(s);n=n(i!==void 0?i:t.custom,o,u)}return n}function Ar(t,n,i){const s=t.getProps();return Jm(s,n,i!==void 0?i:s.custom,t)}const uw=new Set(["width","height","top","left","right","bottom",...Os]),ab=30,eC=t=>!isNaN(parseFloat(t));class tC{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var u;const o=en.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((u=this.events.change)==null||u.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=en.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=eC(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new Um);const s=this.events[n].add(i);return n==="change"?()=>{s(),ot.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-s}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var n;(n=this.events.change)==null||n.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=en.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>ab)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,ab);return M1(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var n,i;(n=this.dependents)==null||n.clear(),(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ks(t,n){return new tC(t,n)}const Xh=t=>Array.isArray(t);function nC(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,ks(i))}function aC(t){return Xh(t)?t[t.length-1]||0:t}function iC(t,n){const i=Ar(t,n);let{transitionEnd:s={},transition:o={},...u}=i||{};u={...u,...s};for(const d in u){const h=aC(u[d]);nC(t,d,h)}}const Zt=t=>!!(t&&t.getVelocity);function rC(t){return!!(Zt(t)&&t.add)}function Qh(t,n){const i=t.getValue("willChange");if(rC(i))return i.add(n);if(!i&&Zi.WillChange){const s=new Zi.WillChange("auto");t.addValue("willChange",s),s.add(n)}}function Im(t){return t.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const sC="framerAppearId",cw="data-"+Im(sC);function dw(t){return t.props[cw]}function lC({protectedKeys:t,needsAnimating:n},i){const s=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,s}function fw(t,n,{delay:i=0,transitionOverride:s,type:o}={}){let{transition:u,transitionEnd:d,...h}=n;const m=t.getDefaultTransition();u=u?ow(u,m):m;const p=u==null?void 0:u.reduceMotion;s&&(u=s);const g=[],b=o&&t.animationState&&t.animationState.getState()[o];for(const x in h){const S=t.getValue(x,t.latestValues[x]??null),T=h[x];if(T===void 0||b&&lC(b,x))continue;const C={delay:i,...Qm(u||{},x)},z=S.get();if(z!==void 0&&!S.isAnimating()&&!Array.isArray(T)&&T===z&&!C.velocity){ot.update(()=>S.set(T));continue}let L=!1;if(window.MotionHandoffAnimation){const F=dw(t);if(F){const Q=window.MotionHandoffAnimation(F,x,ot);Q!==null&&(C.startTime=Q,L=!0)}}Qh(t,x);const V=p??t.shouldReduceMotion;S.start($m(x,S,T,V&&uw.has(x)?{type:!1}:C,t,L));const G=S.animation;G&&g.push(G)}if(d){const x=()=>ot.update(()=>{d&&iC(t,d)});g.length?Promise.all(g).then(x):x()}return g}function $h(t,n,i={}){var m;const s=Ar(t,n,i.type==="exit"?(m=t.presenceContext)==null?void 0:m.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(o=i.transitionOverride);const u=s?()=>Promise.all(fw(t,s,i)):()=>Promise.resolve(),d=t.variantChildren&&t.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:b,staggerDirection:x}=o;return oC(t,n,p,g,b,x,i)}:()=>Promise.resolve(),{when:h}=o;if(h){const[p,g]=h==="beforeChildren"?[u,d]:[d,u];return p().then(()=>g())}else return Promise.all([u(),d(i.delay)])}function oC(t,n,i=0,s=0,o=0,u=1,d){const h=[];for(const m of t.variantChildren)m.notify("AnimationStart",n),h.push($h(m,n,{...d,delay:i+(typeof s=="function"?0:s)+sw(t.variantChildren,m,s,o,u)}).then(()=>m.notify("AnimationComplete",n)));return Promise.all(h)}function uC(t,n,i={}){t.notify("AnimationStart",n);let s;if(Array.isArray(n)){const o=n.map(u=>$h(t,u,i));s=Promise.all(o)}else if(typeof n=="string")s=$h(t,n,i);else{const o=typeof n=="function"?Ar(t,n,i.custom):n;s=Promise.all(fw(t,o,i))}return s.then(()=>{t.notify("AnimationComplete",n)})}const cC={test:t=>t==="auto",parse:t=>t},hw=t=>n=>n.test(t),mw=[Ds,ue,pa,Oi,Lj,Oj,cC],ib=t=>mw.find(hw(t));function dC(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||A1(t):!0}const fC=new Set(["brightness","contrast","saturate","opacity"]);function hC(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[s]=i.match(Zm)||[];if(!s)return t;const o=i.replace(s,"");let u=fC.has(n)?1:0;return s!==i&&(u*=100),n+"("+u+o+")"}const mC=/\b([a-z-]*)\(.*?\)/gu,Jh={...na,getAnimatableNone:t=>{const n=t.match(mC);return n?n.map(hC).join(" "):t}},Ih={...na,getAnimatableNone:t=>{const n=na.parse(t);return na.createTransformer(t)(n.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},rb={...Ds,transform:Math.round},pC={rotate:Oi,rotateX:Oi,rotateY:Oi,rotateZ:Oi,scale:Vu,scaleX:Vu,scaleY:Vu,scaleZ:Vu,skew:Oi,skewX:Oi,skewY:Oi,distance:ue,translateX:ue,translateY:ue,translateZ:ue,x:ue,y:ue,z:ue,perspective:ue,transformPerspective:ue,opacity:ao,originX:Y0,originY:Y0,originZ:ue},Wm={borderWidth:ue,borderTopWidth:ue,borderRightWidth:ue,borderBottomWidth:ue,borderLeftWidth:ue,borderRadius:ue,borderTopLeftRadius:ue,borderTopRightRadius:ue,borderBottomRightRadius:ue,borderBottomLeftRadius:ue,width:ue,maxWidth:ue,height:ue,maxHeight:ue,top:ue,right:ue,bottom:ue,left:ue,inset:ue,insetBlock:ue,insetBlockStart:ue,insetBlockEnd:ue,insetInline:ue,insetInlineStart:ue,insetInlineEnd:ue,padding:ue,paddingTop:ue,paddingRight:ue,paddingBottom:ue,paddingLeft:ue,paddingBlock:ue,paddingBlockStart:ue,paddingBlockEnd:ue,paddingInline:ue,paddingInlineStart:ue,paddingInlineEnd:ue,margin:ue,marginTop:ue,marginRight:ue,marginBottom:ue,marginLeft:ue,marginBlock:ue,marginBlockStart:ue,marginBlockEnd:ue,marginInline:ue,marginInlineStart:ue,marginInlineEnd:ue,fontSize:ue,backgroundPositionX:ue,backgroundPositionY:ue,...pC,zIndex:rb,fillOpacity:ao,strokeOpacity:ao,numOctaves:rb},gC={...Wm,color:jt,backgroundColor:jt,outlineColor:jt,fill:jt,stroke:jt,borderColor:jt,borderTopColor:jt,borderRightColor:jt,borderBottomColor:jt,borderLeftColor:jt,filter:Jh,WebkitFilter:Jh,mask:Ih,WebkitMask:Ih},pw=t=>gC[t],yC=new Set([Jh,Ih]);function gw(t,n){let i=pw(t);return yC.has(i)||(i=na),i.getAnimatableNone?i.getAnimatableNone(n):void 0}
vendor: 1,717 bytes, line 278
278const vC=new Set(["auto","none","0"]);function bC(t,n,i){let s=0,o;for(;s<t.length&&!o;){const u=t[s];typeof u=="string"&&!vC.has(u)&&As(u).values.length&&(o=t[s]),s++}if(o&&i)for(const u of n)t[u]=gw(i,o)}class xC extends Xm{constructor(n,i,s,o,u){super(n,i,s,o,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let g=0;g<n.length;g++){let b=n[g];if(typeof b=="string"&&(b=b.trim(),Km(b))){const x=lw(b,i.current);x!==void 0&&(n[g]=x),g===n.length-1&&(this.finalKeyframe=b)}}if(this.resolveNoneKeyframes(),!uw.has(s)||n.length!==2)return;const[o,u]=n,d=ib(o),h=ib(u),m=q0(o),p=q0(u);if(m!==p&&Hi[s]){this.needsMeasurement=!0;return}if(d!==h)if(W0(d)&&W0(h))for(let g=0;g<n.length;g++){const b=n[g];typeof b=="string"&&(n[g]=parseFloat(b))}else Hi[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,s=[];for(let o=0;o<n.length;o++)(n[o]===null||dC(n[o]))&&s.push(o);s.length&&bC(n,s,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:s}=this;if(!n||!n.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Hi[s](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const o=i[i.length-1];o!==void 0&&n.getValue(s,o).jump(o,!1)}measureEndState(){var h;const{element:n,name:i,unresolvedKeyframes:s}=this;if(!n||!n.current)return;const o=n.getValue(i);o&&o.jump(this.measuredOrigin,!1);const u=s.length-1,d=s[u];s[u]=Hi[i](n.measureViewportBox(),window.getComputedStyle(n.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEac
vendor: 40,932 bytes, line 278
278h(([m,p])=>{n.getValue(m).set(p)}),this.resolveNoneKeyframes()}}function yw(t,n,i){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const o=(i==null?void 0:i[t])??s.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t).filter(s=>s!=null)}const vw=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function wC(t){return E1(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:ep}=V1(queueMicrotask,!1),ta={x:!1,y:!1};function bw(){return ta.x||ta.y}function SC(t){return t==="x"||t==="y"?ta[t]?null:(ta[t]=!0,()=>{ta[t]=!1}):ta.x||ta.y?null:(ta.x=ta.y=!0,()=>{ta.x=ta.y=!1})}function xw(t,n){const i=yw(t),s=new AbortController,o={passive:!0,...n,signal:s.signal};return[i,o,()=>s.abort()]}function TC(t){return!(t.pointerType==="touch"||bw())}function EC(t,n,i={}){const[s,o,u]=xw(t,i);return s.forEach(d=>{let h=!1,m=!1,p;const g=()=>{d.removeEventListener("pointerleave",T)},b=z=>{p&&(p(z),p=void 0),g()},x=z=>{h=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),m&&(m=!1,b(z))},S=()=>{h=!0,window.addEventListener("pointerup",x,o),window.addEventListener("pointercancel",x,o)},T=z=>{if(z.pointerType!=="touch"){if(h){m=!0;return}b(z)}},C=z=>{if(!TC(z))return;m=!1;const L=n(d,z);typeof L=="function"&&(p=L,d.addEventListener("pointerleave",T,o))};d.addEventListener("pointerenter",C,o),d.addEventListener("pointerdown",S,o)}),u}const ww=(t,n)=>n?t===n?!0:ww(t,n.parentElement):!1,tp=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,AC=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function kC(t){return AC.has(t.tagName)||t.isContentEditable===!0}const MC=new Set(["INPUT","SELECT","TEXTAREA"]);function jC(t){return MC.has(t.tagName)||t.isContentEditable===!0}const Fu=new WeakSet;function sb(t){return n=>{n.key==="Enter"&&t(n)}}function sh(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const zC=(t,n)=>{const i=t.currentTarget;if(!i)return;const s=sb(()=>{if(Fu.has(i))return;sh(i,"down");const o=sb(()=>{sh(i,"up")}),u=()=>sh(i,"cancel");i.addEventListener("keyup",o,n),i.addEventListener("blur",u,n)});i.addEventListener("keydown",s,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),n)};function lb(t){return tp(t)&&!bw()}const ob=new WeakSet;function CC(t,n,i={}){const[s,o,u]=xw(t,i),d=h=>{const m=h.currentTarget;if(!lb(h)||ob.has(h))return;Fu.add(m),i.stopPropagation&&ob.add(h);const p=n(m,h),g=(S,T)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",x),Fu.has(m)&&Fu.delete(m),lb(S)&&typeof p=="function"&&p(S,{success:T})},b=S=>{g(S,m===window||m===document||i.useGlobalTarget||ww(m,S.target))},x=S=>{g(S,!1)};window.addEventListener("pointerup",b,o),window.addEventListener("pointercancel",x,o)};return s.forEach(h=>{(i.useGlobalTarget?window:h).addEventListener("pointerdown",d,o),wC(h)&&(h.addEventListener("focus",p=>zC(p,o)),!kC(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),u}function np(t){return E1(t)&&"ownerSVGElement"in t}const Pu=new WeakMap;let Li;const Sw=(t,n,i)=>(s,o)=>o&&o[0]?o[0][t+"Size"]:np(s)&&"getBBox"in s?s.getBBox()[n]:s[i],RC=Sw("inline","width","offsetWidth"),_C=Sw("block","height","offsetHeight");function NC({target:t,borderBoxSize:n}){var i;(i=Pu.get(t))==null||i.forEach(s=>{s(t,{get width(){return RC(t,n)},get height(){return _C(t,n)}})})}function DC(t){t.forEach(NC)}function OC(){typeof ResizeObserver>"u"||(Li=new ResizeObserver(DC))}function LC(t,n){Li||OC();const i=yw(t);return i.forEach(s=>{let o=Pu.get(s);o||(o=new Set,Pu.set(s,o)),o.add(n),Li==null||Li.observe(s)}),()=>{i.forEach(s=>{const o=Pu.get(s);o==null||o.delete(n),o!=null&&o.size||Li==null||Li.unobserve(s)})}}const Xu=new Set;let bs;function BC(){bs=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};Xu.forEach(n=>n(t))},window.addEventListener("resize",bs)}function VC(t){return Xu.add(t),bs||BC(),()=>{Xu.delete(t),!Xu.size&&typeof bs=="function"&&(window.removeEventListener("resize",bs),bs=void 0)}}function ub(t,n){return typeof t=="function"?VC(t):LC(t,n)}function UC(t){return np(t)&&t.tagName==="svg"}const HC=[...mw,jt,na],GC=t=>HC.find(hw(t)),cb=()=>({translate:0,scale:1,origin:0,originPoint:0}),xs=()=>({x:cb(),y:cb()}),db=()=>({min:0,max:0}),Nt=()=>({x:db(),y:db()}),KC=new WeakMap;function Sc(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function io(t){return typeof t=="string"||Array.isArray(t)}const ap=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ip=["initial",...ap];function Tc(t){return Sc(t.animate)||ip.some(n=>io(t[n]))}function Tw(t){return!!(Tc(t)||t.variants)}function ZC(t,n,i){for(const s in n){const o=n[s],u=i[s];if(Zt(o))t.addValue(s,o);else if(Zt(u))t.addValue(s,ks(o,{owner:t}));else if(u!==o)if(t.hasValue(s)){const d=t.getValue(s);d.liveStyle===!0?d.jump(o):d.hasAnimated||d.set(o)}else{const d=t.getStaticValue(s);t.addValue(s,ks(d!==void 0?d:o,{owner:t}))}}for(const s in i)n[s]===void 0&&t.removeValue(s);return n}const Wh={current:null},Ew={current:!1},qC=typeof window<"u";function YC(){if(Ew.current=!0,!!qC)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>Wh.current=t.matches;t.addEventListener("change",n),n()}else Wh.current=!1}const fb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let lc={};function Aw(t){lc=t}function FC(){return lc}class PC{scrapeMotionValuesFromProps(n,i,s){return{}}constructor({parent:n,props:i,presenceContext:s,reducedMotionConfig:o,skipAnimations:u,blockInitialAnimation:d,visualState:h},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Xm,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=en.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,ot.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=h;this.latestValues=p,this.baseTarget={...p},this.initialValues=i.initial?{...p}:{},this.renderState=g,this.parent=n,this.props=i,this.presenceContext=s,this.depth=n?n.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=u,this.options=m,this.blockInitialAnimation=!!d,this.isControllingVariants=Tc(i),this.isVariantNode=Tw(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:b,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const S in x){const T=x[S];p[S]!==void 0&&Zt(T)&&T.set(p[S])}}mount(n){var i,s;if(this.hasBeenMounted)for(const o in this.initialValues)(i=this.values.get(o))==null||i.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=n,KC.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,u)=>this.bindToMotionValue(u,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Ew.current||YC(),this.shouldReduceMotion=Wh.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(s=this.parent)==null||s.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var n;this.projection&&this.projection.unmount(),qi(this.notifyUpdate),qi(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(n=this.parent)==null||n.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const s=this.features[i];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,i){if(this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)(),i.accelerate&&rw.has(n)&&this.current instanceof HTMLElement){const{factory:d,keyframes:h,times:m,ease:p,duration:g}=i.accelerate,b=new aw({element:this.current,name:n,keyframes:h,times:m,ease:p,duration:Sn(g)}),x=d(b);this.valueSubscriptions.set(n,()=>{x(),b.cancel()});return}const s=Ls.has(n);s&&this.onBindTransform&&this.onBindTransform();const o=i.on("change",d=>{this.latestValues[n]=d,this.props.onUpdate&&ot.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{o(),u&&u(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in lc){const i=lc[n];if(!i)continue;const{isEnabled:s,Feature:o}=i;if(!this.features[n]&&o&&s(this.props)&&(this.features[n]=new o(this)),this.features[n]){const u=this.features[n];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Nt()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<fb.length;s++){const o=fb[s];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const u="on"+o,d=n[u];d&&(this.propEventSubscriptions[o]=this.on(o,d))}this.prevMotionValues=ZC(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const s=this.values.get(n);i!==s&&(s&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let s=this.values.get(n);return s===void 0&&i!==void 0&&(s=ks(i===null?void 0:i,{owner:this}),this.addValue(n,s)),s}readValue(n,i){let s=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return s!=null&&(typeof s=="string"&&(T1(s)||A1(s))?s=parseFloat(s):!GC(s)&&na.test(i)&&(s=gw(n,i)),this.setBaseTarget(n,Zt(s)?s.get():s)),Zt(s)?s.get():s}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){var u;const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const d=Jm(this.props,i,(u=this.presenceContext)==null?void 0:u.custom);d&&(s=d[n])}if(i&&s!==void 0)return s;const o=this.getBaseTargetFromProps(this.props,n);return o!==void 0&&!Zt(o)?o:this.initialValues[n]!==void 0&&s===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new Um),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){ep.render(this.render)}}class kw extends PC{constructor(){super(...arguments),this.KeyframeResolver=xC}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){const s=n.style;return s?s[i]:void 0}removeValueFromRenderState(n,{vars:i,style:s}){delete i[n],delete s[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Zt(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class Xi{constructor(n){this.isMounted=!1,this.node=n}update(){}}function Mw({top:t,left:n,right:i,bottom:s}){return{x:{min:n,max:i},y:{min:t,max:s}}}function XC({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function QC(t,n){if(!n)return t;const i=n({x:t.left,y:t.top}),s=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function lh(t){return t===void 0||t===1}function em({scale:t,scaleX:n,scaleY:i}){return!lh(t)||!lh(n)||!lh(i)}function yr(t){return em(t)||jw(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function jw(t){return hb(t.x)||hb(t.y)}function hb(t){return t&&t!=="0%"}function oc(t,n,i){const s=t-i,o=n*s;return i+o}function mb(t,n,i,s,o){return o!==void 0&&(t=oc(t,o,s)),oc(t,i,s)+n}function tm(t,n=0,i=1,s,o){t.min=mb(t.min,n,i,s,o),t.max=mb(t.max,n,i,s,o)}function zw(t,{x:n,y:i}){tm(t.x,n.translate,n.scale,n.originPoint),tm(t.y,i.translate,i.scale,i.originPoint)}const pb=.999999999999,gb=1.0000000000001;function $C(t,n,i,s=!1){var h;const o=i.length;if(!o)return;n.x=n.y=1;let u,d;for(let m=0;m<o;m++){u=i[m],d=u.projectionDelta;const{visualElement:p}=u.options;p&&p.props.style&&p.props.style.display==="contents"||(s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(ma(t.x,-u.scroll.offset.x),ma(t.y,-u.scroll.offset.y)),d&&(n.x*=d.x.scale,n.y*=d.y.scale,zw(t,d)),s&&yr(u.latestValues)&&Qu(t,u.latestValues,(h=u.layout)==null?void 0:h.layoutBox))}n.x<gb&&n.x>pb&&(n.x=1),n.y<gb&&n.y>pb&&(n.y=1)}function ma(t,n){t.min+=n,t.max+=n}function yb(t,n,i,s,o=.5){const u=pt(t.min,t.max,o);tm(t,n,i,u,s)}function vb(t,n){return typeof t=="string"?parseFloat(t)/100*(n.max-n.min):t}function Qu(t,n,i){const s=i??t;yb(t.x,vb(n.x,s.x),n.scaleX,n.scale,n.originX),yb(t.y,vb(n.y,s.y),n.scaleY,n.scale,n.originY)}function Cw(t,n){return Mw(QC(t.getBoundingClientRect(),n))}function JC(t,n,i){const s=Cw(t,i),{scroll:o}=n;return o&&(ma(s.x,o.offset.x),ma(s.y,o.offset.y)),s}const IC={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},WC=Os.length;function eR(t,n,i){let s="",o=!0;for(let u=0;u<WC;u++){const d=Os[u],h=t[d];if(h===void 0)continue;let m=!0;if(typeof h=="number")m=h===(d.startsWith("scale")?1:0);else{const p=parseFloat(h);m=d.startsWith("scale")?p===1:p===0}if(!m||i){const p=vw(h,Wm[d]);if(!m){o=!1;const g=IC[d]||d;s+=`${g}(${p}) `}i&&(n[d]=p)}}return s=s.trim(),i?s=i(n,o?"":s):o&&(s="none"),s}function rp(t,n,i){const{style:s,vars:o,transformOrigin:u}=t;let d=!1,h=!1;for(const m in n){const p=n[m];if(Ls.has(m)){d=!0;continue}else if(H1(m)){o[m]=p;continue}else{const g=vw(p,Wm[m]);m.startsWith("origin")?(h=!0,u[m]=g):s[m]=g}}if(n.transform||(d||i?s.transform=eR(n,t.transform,i):s.transform&&(s.transform="none")),h){const{originX:m="50%",originY:p="50%",originZ:g=0}=u;s.transformOrigin=`${m} ${p} ${g}`}}function Rw(t,{style:n,vars:i},s,o){const u=t.style;let d;for(d in n)u[d]=n[d];o==null||o.applyProjectionStyles(u,s);for(d in i)u.setProperty(d,i[d])}function bb(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const Ul={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(ue.test(t))t=parseFloat(t);else return t;const i=bb(t,n.target.x),s=bb(t,n.target.y);return`${i}% ${s}%`}},tR={correct:(t,{treeScale:n,projectionDelta:i})=>{const s=t,o=na.parse(t);if(o.length>5)return s;const u=na.createTransformer(t),d=typeof o[0]!="number"?1:0,h=i.x.scale*n.x,m=i.y.scale*n.y;o[0+d]/=h,o[1+d]/=m;const p=pt(h,m,.5);return typeof o[2+d]=="number"&&(o[2+d]/=p),typeof o[3+d]=="number"&&(o[3+d]/=p),u(o)}},nm={borderRadius:{...Ul,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ul,borderTopRightRadius:Ul,borderBottomLeftRadius:Ul,borderBottomRightRadius:Ul,boxShadow:tR};function _w(t,{layout:n,layoutId:i}){return Ls.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!nm[t]||t==="opacity")}function sp(t,n,i){var d;const s=t.style,o=n==null?void 0:n.style,u={};if(!s)return u;for(const h in s)(Zt(s[h])||o&&Zt(o[h])||_w(h,t)||((d=i==null?void 0:i.getValue(h))==null?void 0:d.liveStyle)!==void 0)&&(u[h]=s[h]);return u}function nR(t){return window.getComputedStyle(t)}class aR extends kw{constructor(){super(...arguments),this.type="html",this.renderInstance=Rw}readValueFromInstance(n,i){var s;if(Ls.has(i))return(s=this.projection)!=null&&s.isProjecting?Kh(i):Sz(n,i);{const o=nR(n),u=(H1(i)?o.getPropertyValue(i):o[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(n,{transformPagePoint:i}){return Cw(n,i)}build(n,i,s){rp(n,i,s.transformTemplate)}scrapeMotionValuesFromProps(n,i,s){return sp(n,i,s)}}const iR={offset:"stroke-dashoffset",array:"stroke-dasharray"},rR={offset:"strokeDashoffset",array:"strokeDasharray"};function sR(t,n,i=1,s=0,o=!0){t.pathLength=1;const u=o?iR:rR;t[u.offset]=`${-s}`,t[u.array]=`${n} ${i}`}const lR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Nw(t,{attrX:n,attrY:i,attrScale:s,pathLength:o,pathSpacing:u=1,pathOffset:d=0,...h},m,p,g){if(rp(t,h,p),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:b,style:x}=t;b.transform&&(x.transform=b.transform,delete b.transform),(x.transform||b.transformOrigin)&&(x.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),x.transform&&(x.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete b.transformBox);for(const S of lR)b[S]!==void 0&&(x[S]=b[S],delete b[S]);n!==void 0&&(b.x=n),i!==void 0&&(b.y=i),s!==void 0&&(b.scale=s),o!==void 0&&sR(b,o,u,d,!1)}const Dw=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"]),Ow=t=>typeof t=="string"&&t.toLowerCase()==="svg";function oR(t,n,i,s){Rw(t,n,void 0,s);for(const o in n.attrs)t.setAttribute(Dw.has(o)?o:Im(o),n.attrs[o])}function Lw(t,n,i){const s=sp(t,n,i);for(const o in t)if(Zt(t[o])||Zt(n[o])){const u=Os.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;s[u]=t[o]}return s}class uR extends kw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Nt}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(Ls.has(i)){const s=pw(i);return s&&s.default||0}return i=Dw.has(i)?i:Im(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,s){return Lw(n,i,s)}build(n,i,s){Nw(n,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(n,i,s,o){oR(n,i,s,o)}mount(n){this.isSVGTag=Ow(n.tagName),super.mount(n)}}const cR=ip.length;function Bw(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?Bw(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<cR;i++){const s=ip[i],o=t.props[s];(io(o)||o===!1)&&(n[s]=o)}return n}function Vw(t,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(n[s]!==t[s])return!1;return!0}const dR=[...ap].reverse(),fR=ap.length;function hR(t){return n=>Promise.all(n.map(({animation:i,options:s})=>uC(t,i,s)))}function mR(t){let n=hR(t),i=xb(),s=!0,o=!1;const u=p=>(g,b)=>{var S;const x=Ar(t,b,p==="exit"?(S=t.presenceContext)==null?void 0:S.custom:void 0);if(x){const{transition:T,transitionEnd:C,...z}=x;g={...g,...z,...C}}return g};function d(p){n=p(t)}function h(p){const{props:g}=t,b=Bw(t.parent)||{},x=[],S=new Set;let T={},C=1/0;for(let L=0;L<fR;L++){const V=dR[L],G=i[V],F=g[V]!==void 0?g[V]:b[V],Q=io(F),me=V===p?G.isActive:null;me===!1&&(C=L);let te=F===b[V]&&F!==g[V]&&Q;if(te&&(s||o)&&t.manuallyAnimateOnMount&&(te=!1),G.protectedKeys={...T},!G.isActive&&me===null||!F&&!G.prevProp||Sc(F)||typeof F=="boolean")continue;if(V==="exit"&&G.isActive&&me!==!0){G.prevResolvedValues&&(T={...T,...G.prevResolvedValues});continue}const R=pR(G.prevProp,F);let oe=R||V===p&&G.isActive&&!te&&Q||L>C&&Q,I=!1;const we=Array.isArray(F)?F:[F];let ee=we.reduce(u(V),{});me===!1&&(ee={});const{prevResolvedValues:De={}}=G,Be={...De,...ee},Le=$=>{oe=!0,S.has($)&&(I=!0,S.delete($)),G.needsAnimating[$]=!0;const ie=t.getValue($);ie&&(ie.liveStyle=!1)};for(const $ in Be){const ie=ee[$],ve=De[$];if(T.hasOwnProperty($))continue;let be=!1;Xh(ie)&&Xh(ve)?be=!Vw(ie,ve):be=ie!==ve,be?ie!=null?Le($):S.add($):ie!==void 0&&S.has($)?Le($):G.protectedKeys[$]=!0}G.prevProp=F,G.prevResolvedValues=ee,G.isActive&&(T={...T,...ee}),(s||o)&&t.blockInitialAnimation&&(oe=!1);const U=te&&R;oe&&(!U||I)&&x.push(...we.map($=>{const ie={type:V};if(typeof $=="string"&&(s||o)&&!U&&t.manuallyAnimateOnMount&&t.parent){const{parent:ve}=t,be=Ar(ve,$);if(ve.enteringChildren&&be){const{delayChildren:Re}=be.transition||{};ie.delay=sw(ve.enteringChildren,t,Re)}}return{animation:$,options:ie}}))}if(S.size){const L={};if(typeof g.initial!="boolean"){const V=Ar(t,Array.isArray(g.initial)?g.initial[0]:g.initial);V&&V.transition&&(L.transition=V.transition)}S.forEach(V=>{const G=t.getBaseTarget(V),F=t.getValue(V);F&&(F.liveStyle=!0),L[V]=G??null}),x.push({animation:L})}let z=!!x.length;return s&&(g.initial===!1||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(z=!1),s=!1,o=!1,z?n(x):Promise.resolve()}function m(p,g){var x;if(i[p].isActive===g)return Promise.resolve();(x=t.variantChildren)==null||x.forEach(S=>{var T;return(T=S.animationState)==null?void 0:T.setActive(p,g)}),i[p].isActive=g;const b=h(p);for(const S in i)i[S].protectedKeys={};return b}return{animateChanges:h,setActive:m,setAnimateFunction:d,getState:()=>i,reset:()=>{i=xb(),o=!0}}}function pR(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!Vw(n,t):!1}function mr(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function xb(){return{animate:mr(!0),whileInView:mr(),whileHover:mr(),whileTap:mr(),whileDrag:mr(),whileFocus:mr(),exit:mr()}}function am(t,n){t.min=n.min,t.max=n.max}function Wn(t,n){am(t.x,n.x),am(t.y,n.y)}function wb(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}const Uw=1e-4,gR=1-Uw,yR=1+Uw,Hw=.01,vR=0-Hw,bR=0+Hw;function tn(t){return t.max-t.min}function xR(t,n,i){return Math.abs(t-n)<=i}function Sb(t,n,i,s=.5){t.origin=s,t.originPoint=pt(n.min,n.max,t.origin),t.scale=tn(i)/tn(n),t.translate=pt(i.min,i.max,t.origin)-t.originPoint,(t.scale>=gR&&t.scale<=yR||isNaN(t.scale))&&(t.scale=1),(t.translate>=vR&&t.translate<=bR||isNaN(t.translate))&&(t.translate=0)}function $l(t,n,i,s){Sb(t.x,n.x,i.x,s?s.originX:void 0),Sb(t.y,n.y,i.y,s?s.originY:void 0)}function Tb(t,n,i,s=0){const o=s?pt(i.min,i.max,s):i.min;t.min=o+n.min,t.max=t.min+tn(n)}function wR(t,n,i,s){Tb(t.x,n.x,i.x,s==null?void 0:s.x),Tb(t.y,n.y,i.y,s==null?void 0:s.y)}function Eb(t,n,i,s=0){const o=s?pt(i.min,i.max,s):i.min;t.min=n.min-o,t.max=t.min+tn(n)}function uc(t,n,i,s){Eb(t.x,n.x,i.x,s==null?void 0:s.x),Eb(t.y,n.y,i.y,s==null?void 0:s.y)}function Ab(t,n,i,s,o){return t-=n,t=oc(t,1/i,s),o!==void 0&&(t=oc(t,1/o,s)),t}function SR(t,n=0,i=1,s=.5,o,u=t,d=t){if(pa.test(n)&&(n=parseFloat(n),n=pt(d.min,d.max,n/100)-d.min),typeof n!="number")return;let h=pt(u.min,u.max,s);t===u&&(h-=n),t.min=Ab(t.min,n,i,h,o),t.max=Ab(t.max,n,i,h,o)}function kb(t,n,[i,s,o],u,d){SR(t,n[i],n[s],n[o],n.scale,u,d)}const TR=["x","scaleX","originX"],ER=["y","scaleY","originY"];function Mb(t,n,i,s){kb(t.x,n,TR,i?i.x:void 0,s?s.x:void 0),kb(t.y,n,ER,i?i.y:void 0,s?s.y:void 0)}function jb(t){return t.translate===0&&t.scale===1}function Gw(t){return jb(t.x)&&jb(t.y)}function zb(t,n){return t.min===n.min&&t.max===n.max}function AR(t,n){return zb(t.x,n.x)&&zb(t.y,n.y)}function Cb(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function Kw(t,n){return Cb(t.x,n.x)&&Cb(t.y,n.y)}function Rb(t){return tn(t.x)/tn(t.y)}function _b(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}function da(t){return[t("x"),t("y")]}function kR(t,n,i){let s="";const o=t.x.translate/n.x,u=t.y.translate/n.y,d=(i==null?void 0:i.z)||0;if((o||u||d)&&(s=`translate3d(${o}px, ${u}px, ${d}px) `),(n.x!==1||n.y!==1)&&(s+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:p,rotate:g,rotateX:b,rotateY:x,skewX:S,skewY:T}=i;p&&(s=`perspective(${p}px) ${s}`),g&&(s+=`rotate(${g}deg) `),b&&(s+=`rotateX(${b}deg) `),x&&(s+=`rotateY(${x}deg) `),S&&(s+=`skewX(${S}deg) `),T&&(s+=`skewY(${T}deg) `)}const h=t.x.scale*n.x,m=t.y.scale*n.y;return(h!==1||m!==1)&&(s+=`scale(${h}, ${m})`),s||"none"}const Zw=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],MR=Zw.length,Nb=t=>typeof t=="string"?parseFloat(t):t,Db=t=>typeof t=="number"||ue.test(t);function jR(t,n,i,s,o,u){o?(t.opacity=pt(0,i.opacity??1,zR(s)),t.opacityExit=pt(n.opacity??1,0,CR(s))):u&&(t.opacity=pt(n.opacity??1,i.opacity??1,s));for(let d=0;d<MR;d++){const h=Zw[d];let m=Ob(n,h),p=Ob(i,h);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||Db(m)===Db(p)?(t[h]=Math.max(pt(Nb(m),Nb(p),s),0),(pa.test(p)||pa.test(m))&&(t[h]+="%")):t[h]=p}(n.rotate||i.rotate)&&(t.rotate=pt(n.rotate||0,i.rotate||0,s))}function Ob(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const zR=qw(0,.5,D1),CR=qw(.5,.95,Gn);function qw(t,n,i){return s=>s<t?0:s>n?1:i(no(t,n,s))}function RR(t,n,i){const s=Zt(t)?t:ks(t);return s.start($m("",s,n,i)),s.animation}function ro(t,n,i,s={passive:!0}){return t.addEventListener(n,i,s),()=>t.removeEventListener(n,i)}const _R=(t,n)=>t.depth-n.depth;class NR{constructor(){this.children=[],this.isDirty=!1}add(n){Bm(this.children,n),this.isDirty=!0}remove(n){nc(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(_R),this.isDirty=!1,this.children.forEach(n)}}function DR(t,n){const i=en.now(),s=({timestamp:o})=>{const u=o-i;u>=n&&(qi(s),t(u-n))};return ot.setup(s,!0),()=>qi(s)}function $u(t){return Zt(t)?t.get():t}class OR{constructor(){this.members=[]}add(n){Bm(this.members,n);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===n||s===this.lead||s===this.prevLead)continue;const o=s.instance;(!o||o.isConnected===!1)&&!s.snapshot&&(nc(this.members,s),s.unmount())}n.scheduleRender()}remove(n){if(nc(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){var i;for(let s=this.members.indexOf(n)-1;s>=0;s--){const o=this.members[s];if(o.isPresent!==!1&&((i=o.instance)==null?void 0:i.isConnected)!==!1)return this.promote(o),!0}return!1}promote(n,i){var o;const s=this.lead;if(n!==s&&(this.prevLead=s,this.lead=n,n.show(),s)){s.updateSnapshot(),n.scheduleRender();const{layoutDependency:u}=s.options,{layoutDependency:d}=n.options;(u===void 0||u!==d)&&(n.resumeFrom=s,i&&(s.preserveOpacity=!0),s.snapshot&&(n.snapshot=s.snapshot,n.snapshot.latestValues=s.animationValues||s.latestValues),(o=n.root)!=null&&o.isUpdating&&(n.isLayoutDirty=!0)),n.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(n=>{var i,s,o,u,d;(s=(i=n.options).onExitComplete)==null||s.call(i),(d=(o=n.resumingFrom)==null?void 0:(u=o.options).onExitComplete)==null||d.call(u)})}scheduleRender(){this.members.forEach(n=>n.instance&&n.scheduleRender(!1))}removeLeadSnapshot(){var n;(n=this.lead)!=null&&n.snapshot&&(this.lead.snapshot=void 0)}}const Ju={hasAnimatedSinceResize:!0,hasEverUpdated:!1},oh=["","X","Y","Z"],LR=1e3;let BR=0;function uh(t,n,i,s){const{latestValues:o}=n;o[t]&&(i[t]=o[t],n.setStaticValue(t,0),s&&(s[t]=0))}function Yw(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=dw(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:o,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",ot,!(o||u))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&Yw(s)}function Fw({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(d={},h=n==null?void 0:n()){this.id=BR++,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(HR),this.nodes.forEach(FR),this.nodes.forEach(PR),this.nodes.forEach(GR)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new NR)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new Um),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const m=this.eventHandlers.get(d);m&&m.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=np(d)&&!UC(d),this.instance=d;const{layoutId:h,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||h)&&(this.isLayoutDirty=!0),t){let g,b=0;const x=()=>this.root.updateBlockedByResize=!1;ot.read(()=>{b=window.innerWidth}),t(d,()=>{const S=window.innerWidth;S!==b&&(b=S,this.root.updateBlockedByResize=!0,g&&g(),g=DR(x,250),Ju.hasAnimatedSinceResize&&(Ju.hasAnimatedSinceResize=!1,this.nodes.forEach(Vb)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&p&&(h||m)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:b,hasRelativeLayoutChanged:x,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const T=this.options.transition||p.getDefaultTransition()||IR,{onLayoutAnimationStart:C,onLayoutAnimationComplete:z}=p.getProps(),L=!this.targetLayout||!Kw(this.targetLayout,S),V=!b&&x;if(this.options.layoutRoot||this.resumeFrom||V||b&&(L||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const G={...Qm(T,"layout"),onPlay:C,onComplete:z};(p.shouldReduceMotion||this.options.layoutRoot)&&(G.delay=0,G.type=!1),this.startAnimation(G),this.setAnimationOrigin(g,V)}else b||Vb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),qi(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(XR),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Yw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const b=this.path[g];b.shouldResetTransform=!0,(typeof b.latestValues.x=="string"||typeof b.latestValues.y=="string")&&(b.isLayoutDirty=!0),b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:h,layout:m}=this.options;if(h===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const m=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),m&&this.nodes.forEach(ZR),this.nodes.forEach(Lb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Bb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(qR),this.nodes.forEach(YR),this.nodes.forEach(VR),this.nodes.forEach(UR)):this.nodes.forEach(Bb),this.clearAllSnapshots();const h=en.now();Gt.delta=va(0,1e3/60,h-Gt.timestamp),Gt.timestamp=h,Gt.isProcessing=!0,eh.update.process(Gt),eh.preRender.process(Gt),eh.render.process(Gt),Gt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ep.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(KR),this.sharedNodes.forEach(QR)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ot.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ot.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!tn(this.snapshot.measuredBox.x)&&!tn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=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,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h&&this.instance){const m=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:m,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!o)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!Gw(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;d&&this.instance&&(h||yr(this.latestValues)||g)&&(o(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let m=this.removeElementScroll(h);return d&&(m=this.removeTransform(m)),WR(m),{animationId:this.root.animationId,measuredBox:h,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){var p;const{visualElement:d}=this.options;if(!d)return Nt();const h=d.measureViewportBox();if(!(((p=this.scroll)==null?void 0:p.wasRoot)||this.path.some(e_))){const{scroll:g}=this.root;g&&(ma(h.x,g.offset.x),ma(h.y,g.offset.y))}return h}removeElementScroll(d){var m;const h=Nt();if(Wn(h,d),(m=this.scroll)!=null&&m.wasRoot)return h;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:b,options:x}=g;g!==this.root&&b&&x.layoutScroll&&(b.wasRoot&&Wn(h,d),ma(h.x,b.offset.x),ma(h.y,b.offset.y))}return h}applyTransform(d,h=!1,m){var g,b;const p=m||Nt();Wn(p,d);for(let x=0;x<this.path.length;x++){const S=this.path[x];!h&&S.options.layoutScroll&&S.scroll&&S!==S.root&&(ma(p.x,-S.scroll.offset.x),ma(p.y,-S.scroll.offset.y)),yr(S.latestValues)&&Qu(p,S.latestValues,(g=S.layout)==null?void 0:g.layoutBox)}return yr(this.latestValues)&&Qu(p,this.latestValues,(b=this.layout)==null?void 0:b.layoutBox),p}removeTransform(d){var m;const h=Nt();Wn(h,d);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!yr(g.latestValues))continue;let b;g.instance&&(em(g.latestValues)&&g.updateSnapshot(),b=Nt(),Wn(b,g.measurePageBox())),Mb(h,g.latestValues,(m=g.snapshot)==null?void 0:m.layoutBox,b)}return yr(this.latestValues)&&Mb(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Gt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var S;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==h;if(!(d||m&&this.isSharedProjectionDirty||this.isProjectionDirty||(S=this.parent)!=null&&S.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:b}=this.options;if(!this.layout||!(g||b))return;this.resolvedRelativeTargetAt=Gt.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Nt(),this.targetWithTransforms=Nt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),wR(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Wn(this.target,this.layout.layoutBox),zw(this.target,this.targetDelta)):Wn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||em(this.parent.latestValues)||jw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,h,m){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Nt(),this.relativeTargetOrigin=Nt(),uc(this.relativeTargetOrigin,h,m,this.options.layoutAnchor||void 0),Wn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var T;const d=this.getLead(),h=!!this.resumingFrom||this!==d;let m=!0;if((this.isProjectionDirty||(T=this.parent)!=null&&T.isProjectionDirty)&&
vendor: 5,333 bytes, line 278
278(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Gt.timestamp&&(m=!1),m)return;const{layout:p,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||g))return;Wn(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,x=this.treeScale.y;$C(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Nt());const{target:S}=d;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(wb(this.prevProjectionDelta.x,this.projectionDelta.x),wb(this.prevProjectionDelta.y,this.projectionDelta.y)),$l(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==x||!_b(this.projectionDelta.x,this.prevProjectionDelta.x)||!_b(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),d){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=xs(),this.projectionDelta=xs(),this.projectionDeltaWithTransform=xs()}setAnimationOrigin(d,h=!1){const m=this.snapshot,p=m?m.latestValues:{},g={...this.latestValues},b=xs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const x=Nt(),S=m?m.source:void 0,T=this.layout?this.layout.source:void 0,C=S!==T,z=this.getStack(),L=!z||z.members.length<=1,V=!!(C&&!L&&this.options.crossfade===!0&&!this.path.some(JR));this.animationProgress=0;let G;this.mixTargetDelta=F=>{const Q=F/1e3;Ub(b.x,d.x,Q),Ub(b.y,d.y,Q),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(uc(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),$R(this.relativeTarget,this.relativeTargetOrigin,x,Q),G&&AR(this.relativeTarget,G)&&(this.isProjectionDirty=!1),G||(G=Nt()),Wn(G,this.relativeTarget)),C&&(this.animationValues=g,jR(g,p,this.latestValues,Q,V,L)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Q},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var h,m,p;this.notifyListeners("animationStart"),(h=this.currentAnimation)==null||h.stop(),(p=(m=this.resumingFrom)==null?void 0:m.currentAnimation)==null||p.stop(),this.pendingAnimation&&(qi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ot.update(()=>{Ju.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ks(0)),this.motionValue.jump(0,!1),this.currentAnimation=RR(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),d.onUpdate&&d.onUpdate(g)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(LR),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:m,layout:p,latestValues:g}=d;if(!(!h||!m||!p)){if(this!==d&&this.layout&&p&&Pw(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||Nt();const b=tn(this.layout.layoutBox.x);m.x.min=d.target.x.min,m.x.max=m.x.min+b;const x=tn(this.layout.layoutBox.y);m.y.min=d.target.y.min,m.y.max=m.y.min+x}Wn(h,m),Qu(h,g),$l(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new OR),this.sharedNodes.get(d).add(h);const p=h.options.initialPromotionConfig;h.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var h;const{layoutId:d}=this.options;return d?((h=this.getStack())==null?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:d}=this.options;return d?(h=this.getStack())==null?void 0:h.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:m}={}){const p=this.getStack();p&&p.promote(this,m),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}
vendor: 34,310 bytes, line 278
278resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:m}=d;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(h=!0),!h)return;const p={};m.z&&uh("z",d,p,this.animationValues);for(let g=0;g<oh.length;g++)uh(`rotate${oh[g]}`,d,p,this.animationValues),uh(`skew${oh[g]}`,d,p,this.animationValues);d.render();for(const g in p)d.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=$u(h==null?void 0:h.pointerEvents)||"",d.transform=m?m(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=$u(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!yr(this.latestValues)&&(d.transform=m?m({},""):"none",this.hasProjected=!1);return}d.visibility="";const g=p.animationValues||p.latestValues;this.applyTransformsToTarget();let b=kR(this.projectionDeltaWithTransform,this.treeScale,g);m&&(b=m(g,b)),d.transform=b;const{x,y:S}=this.projectionDelta;d.transformOrigin=`${x.origin*100}% ${S.origin*100}% 0`,p.animationValues?d.opacity=p===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:d.opacity=p===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const T in nm){if(g[T]===void 0)continue;const{correct:C,applyTo:z,isCSSVariable:L}=nm[T],V=b==="none"?g[T]:C(g[T],p);if(z){const G=z.length;for(let F=0;F<G;F++)d[z[F]]=V}else L?this.options.visualElement.renderState.vars[T]=V:d[T]=V}this.options.layoutId&&(d.pointerEvents=p===this?$u(h==null?void 0:h.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var h;return(h=d.currentAnimation)==null?void 0:h.stop()}),this.root.nodes.forEach(Lb),this.root.sharedNodes.clear()}}}function VR(t){t.updateLayout()}function UR(t){var i;const n=((i=t.resumeFrom)==null?void 0:i.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:o}=t.layout,{animationType:u}=t.options,d=n.source!==t.layout.source;if(u==="size")da(b=>{const x=d?n.measuredBox[b]:n.layoutBox[b],S=tn(x);x.min=s[b].min,x.max=x.min+S});else if(u==="x"||u==="y"){const b=u==="x"?"y":"x";am(d?n.measuredBox[b]:n.layoutBox[b],s[b])}else Pw(u,n.layoutBox,s)&&da(b=>{const x=d?n.measuredBox[b]:n.layoutBox[b],S=tn(s[b]);x.max=x.min+S,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[b].max=t.relativeTarget[b].min+S)});const h=xs();$l(h,s,n.layoutBox);const m=xs();d?$l(m,t.applyTransform(o,!0),n.measuredBox):$l(m,s,n.layoutBox);const p=!Gw(h);let g=!1;if(!t.resumeFrom){const b=t.getClosestProjectingParent();if(b&&!b.resumeFrom){const{snapshot:x,layout:S}=b;if(x&&S){const T=t.options.layoutAnchor||void 0,C=Nt();uc(C,n.layoutBox,x.layoutBox,T);const z=Nt();uc(z,s,S.layoutBox,T),Kw(C,z)||(g=!0),b.options.layoutRoot&&(t.relativeTarget=z,t.relativeTargetOrigin=C,t.relativeParent=b)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:m,layoutDelta:h,hasLayoutChanged:p,hasRelativeLayoutChanged:g})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function HR(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function GR(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function KR(t){t.clearSnapshot()}function Lb(t){t.clearMeasurements()}function ZR(t){t.isLayoutDirty=!0,t.updateLayout()}function Bb(t){t.isLayoutDirty=!1}function qR(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function YR(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function Vb(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function FR(t){t.resolveTargetDelta()}function PR(t){t.calcProjection()}function XR(t){t.resetSkewAndRotation()}function QR(t){t.removeLeadSnapshot()}function Ub(t,n,i){t.translate=pt(n.translate,0,i),t.scale=pt(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function Hb(t,n,i,s){t.min=pt(n.min,i.min,s),t.max=pt(n.max,i.max,s)}function $R(t,n,i,s){Hb(t.x,n.x,i.x,s),Hb(t.y,n.y,i.y,s)}function JR(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const IR={duration:.45,ease:[.4,0,.1,1]},Gb=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Kb=Gb("applewebkit/")&&!Gb("chrome/")?Math.round:Gn;function Zb(t){t.min=Kb(t.min),t.max=Kb(t.max)}function WR(t){Zb(t.x),Zb(t.y)}function Pw(t,n,i){return t==="position"||t==="preserve-aspect"&&!xR(Rb(n),Rb(i),.2)}function e_(t){var n;return t!==t.root&&((n=t.scroll)==null?void 0:n.wasRoot)}const t_=Fw({attachResizeListener:(t,n)=>ro(t,"resize",n),measureScroll:()=>{var t,n;return{x:document.documentElement.scrollLeft||((t=document.body)==null?void 0:t.scrollLeft)||0,y:document.documentElement.scrollTop||((n=document.body)==null?void 0:n.scrollTop)||0}},checkIsScrollRoot:()=>!0}),ch={current:void 0},Xw=Fw({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ch.current){const t=new t_({});t.mount(window),t.setOptions({layoutScroll:!0}),ch.current=t}return ch.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Qw=E.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function n_(t=!0){const n=E.useContext(Lm);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:o}=n,u=E.useId();E.useEffect(()=>{if(t)return o(u)},[t]);const d=E.useCallback(()=>t&&s&&s(u),[u,s,t]);return!i&&s?[!1,d]:[!0]}const $w=E.createContext({strict:!1}),qb={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 Yb=!1;function a_(){if(Yb)return;const t={};for(const n in qb)t[n]={isEnabled:i=>qb[n].some(s=>!!i[s])};Aw(t),Yb=!0}function Jw(){return a_(),FC()}function i_(t){const n=Jw();for(const i in t)n[i]={...n[i],...t[i]};Aw(n)}const r_=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 cc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||r_.has(t)}let Iw=t=>!cc(t);function s_(t){typeof t=="function"&&(Iw=n=>n.startsWith("on")?!cc(n):t(n))}try{s_(require("@emotion/is-prop-valid").default)}catch{}function l_(t,n,i){const s={};for(const o in t)o==="values"&&typeof t.values=="object"||Zt(t[o])||(Iw(o)||i===!0&&cc(o)||!n&&!cc(o)||t.draggable&&o.startsWith("onDrag"))&&(s[o]=t[o]);return s}const Ec=E.createContext({});function o_(t,n){if(Tc(t)){const{initial:i,animate:s}=t;return{initial:i===!1||io(i)?i:void 0,animate:io(s)?s:void 0}}return t.inherit!==!1?n:{}}function u_(t){const{initial:n,animate:i}=o_(t,E.useContext(Ec));return E.useMemo(()=>({initial:n,animate:i}),[Fb(n),Fb(i)])}function Fb(t){return Array.isArray(t)?t.join(" "):t}const lp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ww(t,n,i){for(const s in n)!Zt(n[s])&&!_w(s,i)&&(t[s]=n[s])}function c_({transformTemplate:t},n){return E.useMemo(()=>{const i=lp();return rp(i,n,t),Object.assign({},i.vars,i.style)},[n])}function d_(t,n){const i=t.style||{},s={};return Ww(s,i,t),Object.assign(s,c_(t,n)),s}function f_(t,n){const i={},s=d_(t,n);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=s,i}const eS=()=>({...lp(),attrs:{}});function h_(t,n,i,s){const o=E.useMemo(()=>{const u=eS();return Nw(u,n,Ow(s),t.transformTemplate,t.style),{...u.attrs,style:{...u.style}}},[n]);if(t.style){const u={};Ww(u,t.style,t),o.style={...u,...o.style}}return o}const m_=["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 op(t){return typeof t!="string"||t.includes("-")?!1:!!(m_.indexOf(t)>-1||/[A-Z]/u.test(t))}function p_(t,n,i,{latestValues:s},o,u=!1,d){const m=(d??op(t)?h_:f_)(n,s,o,t),p=l_(n,typeof t=="string",u),g=t!==E.Fragment?{...p,...m,ref:i}:{},{children:b}=n,x=E.useMemo(()=>Zt(b)?b.get():b,[b]);return E.createElement(t,{...g,children:x})}function g_({scrapeMotionValuesFromProps:t,createRenderState:n},i,s,o){return{latestValues:y_(i,s,o,t),renderState:n()}}function y_(t,n,i,s){const o={},u=s(t,{});for(const x in u)o[x]=$u(u[x]);let{initial:d,animate:h}=t;const m=Tc(t),p=Tw(t);n&&p&&!m&&t.inherit!==!1&&(d===void 0&&(d=n.initial),h===void 0&&(h=n.animate));let g=i?i.initial===!1:!1;g=g||d===!1;const b=g?h:d;if(b&&typeof b!="boolean"&&!Sc(b)){const x=Array.isArray(b)?b:[b];for(let S=0;S<x.length;S++){const T=Jm(t,x[S]);if(T){const{transitionEnd:C,transition:z,...L}=T;for(const V in L){let G=L[V];if(Array.isArray(G)){const F=g?G.length-1:0;G=G[F]}G!==null&&(o[V]=G)}for(const V in C)o[V]=C[V]}}}return o}const tS=t=>(n,i)=>{const s=E.useContext(Ec),o=E.useContext(Lm),u=()=>g_(t,n,s,o);return i?u():mj(u)},v_=tS({scrapeMotionValuesFromProps:sp,createRenderState:lp}),b_=tS({scrapeMotionValuesFromProps:Lw,createRenderState:eS}),x_=Symbol.for("motionComponentSymbol");function w_(t,n,i){const s=E.useRef(i);E.useInsertionEffect(()=>{s.current=i});const o=E.useRef(null);return E.useCallback(u=>{var h;u&&((h=t.onMount)==null||h.call(t,u));const d=s.current;if(typeof d=="function")if(u){const m=d(u);typeof m=="function"&&(o.current=m)}else o.current?(o.current(),o.current=null):d(u);else d&&(d.current=u);n&&(u?n.mount(u):n.unmount())},[n])}const nS=E.createContext({});function gs(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function S_(t,n,i,s,o,u){var G,F;const{visualElement:d}=E.useContext(Ec),h=E.useContext($w),m=E.useContext(Lm),p=E.useContext(Qw),g=p.reducedMotion,b=p.skipAnimations,x=E.useRef(null),S=E.useRef(!1);s=s||h.renderer,!x.current&&s&&(x.current=s(t,{visualState:n,parent:d,props:i,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g,skipAnimations:b,isSVG:u}),S.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));const T=x.current,C=E.useContext(nS);T&&!T.projection&&o&&(T.type==="html"||T.type==="svg")&&T_(x.current,i,o,C);const z=E.useRef(!1);E.useInsertionEffect(()=>{T&&z.current&&T.update(i,m)});const L=i[cw],V=E.useRef(!!L&&typeof window<"u"&&!((G=window.MotionHandoffIsComplete)!=null&&G.call(window,L))&&((F=window.MotionHasOptimisedAnimation)==null?void 0:F.call(window,L)));return gj(()=>{S.current=!0,T&&(z.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),T.scheduleRenderMicrotask(),V.current&&T.animationState&&T.animationState.animateChanges())}),E.useEffect(()=>{T&&(!V.current&&T.animationState&&T.animationState.animateChanges(),V.current&&(queueMicrotask(()=>{var Q;(Q=window.MotionHandoffMarkAsComplete)==null||Q.call(window,L)}),V.current=!1),T.enteringChildren=void 0)}),T}function T_(t,n,i,s){const{layoutId:o,layout:u,drag:d,dragConstraints:h,layoutScroll:m,layoutRoot:p,layoutAnchor:g,layoutCrossfade:b}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:aS(t.parent)),t.projection.setOptions({layoutId:o,layout:u,alwaysMeasureLayout:!!d||h&&gs(h),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:s,crossfade:b,layoutScroll:m,layoutRoot:p,layoutAnchor:g})}function aS(t){if(t)return t.options.allowProjection!==!1?t.projection:aS(t.parent)}function dh(t,{forwardMotionProps:n=!1,type:i}={},s,o){s&&i_(s);const u=i?i==="svg":op(t),d=u?b_:v_;function h(p,g){let b;const x={...E.useContext(Qw),...p,layoutId:E_(p)},{isStatic:S}=x,T=u_(p),C=d(p,S);if(!S&&typeof window<"u"){A_();const z=k_(x);b=z.MeasureLayout,T.visualElement=S_(t,C,x,o,z.ProjectionNode,u)}return y.jsxs(Ec.Provider,{value:T,children:[b&&T.visualElement?y.jsx(b,{visualElement:T.visualElement,...x}):null,p_(t,p,w_(C,T.visualElement,g),C,S,n,u)]})}h.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const m=E.forwardRef(h);return m[x_]=t,m}function E_({layoutId:t}){const n=E.useContext(S1).id;return n&&t!==void 0?n+"-"+t:t}function A_(t,n){E.useContext($w).strict}function k_(t){const n=Jw(),{drag:i,layout:s}=n;if(!i&&!s)return{};const o={...i,...s};return{MeasureLayout:i!=null&&i.isEnabled(t)||s!=null&&s.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function M_(t,n){if(typeof Proxy>"u")return dh;const i=new Map,s=(u,d)=>dh(u,d,t,n),o=(u,d)=>s(u,d);return new Proxy(o,{get:(u,d)=>d==="create"?s:(i.has(d)||i.set(d,dh(d,void 0,t,n)),i.get(d))})}const j_=(t,n)=>n.isSVG??op(t)?new uR(n):new aR(n,{allowProjection:t!==E.Fragment});class z_ extends Xi{constructor(n){super(n),n.animationState||(n.animationState=mR(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Sc(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)==null||n.call(this)}}let C_=0;class R_ extends Xi{constructor(){super(...arguments),this.id=C_++,this.isExitComplete=!1}update(){var u;if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===s)return;if(n&&s===!1){if(this.isExitComplete){const{initial:d,custom:h}=this.node.getProps();if(typeof d=="string"){const m=Ar(this.node,d,h);if(m){const{transition:p,transitionEnd:g,...b}=m;for(const x in b)(u=this.node.getValue(x))==null||u.jump(b[x])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!n);i&&!n&&o.then(()=>{this.isExitComplete=!0,i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const __={animation:{Feature:z_},exit:{Feature:R_}};function go(t){return{point:{x:t.pageX,y:t.pageY}}}const N_=t=>n=>tp(n)&&t(n,go(n));function Jl(t,n,i,s){return ro(t,n,N_(i),s)}const iS=({current:t})=>t?t.ownerDocument.defaultView:null,Pb=(t,n)=>Math.abs(t-n);function D_(t,n){const i=Pb(t.x,n.x),s=Pb(t.y,n.y);return Math.sqrt(i**2+s**2)}const Xb=new Set(["auto","scroll"]);class rS{constructor(n,i,{transformPagePoint:s,contextWindow:o=window,dragSnapToOrigin:u=!1,distanceThreshold:d=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Uu(this.lastRawMoveEventInfo,this.transformPagePoint));const S=fh(this.lastMoveEventInfo,this.history),T=this.startEvent!==null,C=D_(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!T&&!C)return;const{point:z}=S,{timestamp:L}=Gt;this.history.push({...z,timestamp:L});const{onStart:V,onMove:G}=this.handlers;T||(V&&V(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),G&&G(this.lastMoveEvent,S)},this.handlePointerMove=(S,T)=>{this.lastMoveEvent=S,this.lastRawMoveEventInfo=T,this.lastMoveEventInfo=Uu(T,this.transformPagePoint),ot.update(this.updatePoint,!0)},this.handlePointerUp=(S,T)=>{this.end();const{onEnd:C,onSessionEnd:z,resumeAnimation:L}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&L&&L(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const V=fh(S.type==="pointercancel"?this.lastMoveEventInfo:Uu(T,this.transformPagePoint),this.history);this.startEvent&&C&&C(S,V),z&&z(S,V)},!tp(n))return;this.dragSnapToOrigin=u,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=d,this.contextWindow=o||window;const m=go(n),p=Uu(m,this.transformPagePoint),{point:g}=p,{timestamp:b}=Gt;this.history=[{...g,timestamp:b}];const{onSessionStart:x}=i;x&&x(n,fh(p,this.history)),this.removeListeners=ho(Jl(this.contextWindow,"pointermove",this.handlePointerMove),Jl(this.contextWindow,"pointerup",this.handlePointerUp),Jl(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(n){let i=n.parentElement;for(;i;){const s=getComputedStyle(i);(Xb.has(s.overflowX)||Xb.has(s.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const i=this.scrollPositions.get(n);if(!i)return;const s=n===window,o=s?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},u={x:o.x-i.x,y:o.y-i.y};u.x===0&&u.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(n,o),ot.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),qi(this.updatePoint)}}function Uu(t,n){return n?{point:n(t.point)}:t}function Qb(t,n){return{x:t.x-n.x,y:t.y-n.y}}function fh({point:t},n){return{point:t,delta:Qb(t,sS(n)),offset:Qb(t,O_(n)),velocity:L_(n,.1)}}function O_(t){return t[0]}function sS(t){return t[t.length-1]}function L_(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null;const o=sS(t);for(;i>=0&&(s=t[i],!(o.timestamp-s.timestamp>Sn(n)));)i--;if(!s)return{x:0,y:0};s===t[0]&&t.length>2&&o.timestamp-s.timestamp>Sn(n)*2&&(s=t[1]);const u=Un(o.timestamp-s.timestamp);if(u===0)return{x:0,y:0};const d={x:(o.x-s.x)/u,y:(o.y-s.y)/u};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function B_(t,{min:n,max:i},s){return n!==void 0&&t<n?t=s?pt(n,t,s.min):Math.max(t,n):i!==void 0&&t>i&&(t=s?pt(i,t,s.max):Math.min(t,i)),t}function $b(t,n,i){return{min:n!==void 0?t.min+n:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function V_(t,{top:n,left:i,bottom:s,right:o}){return{x:$b(t.x,i,o),y:$b(t.y,n,s)}}function Jb(t,n){let i=n.min-t.min,s=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function U_(t,n){return{x:Jb(t.x,n.x),y:Jb(t.y,n.y)}}function H_(t,n){let i=.5;const s=tn(t),o=tn(n);return o>s?i=no(n.min,n.max-s,t.min):s>o&&(i=no(t.min,t.max-o,n.min)),va(0,1,i)}function G_(t,n){const i={};return n.min!==void 0&&(i.min=n.min-t.min),n.max!==void 0&&(i.max=n.max-t.min),i}const im=.35;function K_(t=im){return t===!1?t=0:t===!0&&(t=im),{x:Ib(t,"left","right"),y:Ib(t,"top","bottom")}}function Ib(t,n,i){return{min:Wb(t,n),max:Wb(t,i)}}function Wb(t,n){return typeof t=="number"?t:t[n]||0}const Z_=new WeakMap;class q_{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Nt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:i=!1,distanceThreshold:s}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const u=b=>{i&&this.snapToCursor(go(b).point),this.stopAnimation()},d=(b,x)=>{const{drag:S,dragPropagation:T,onDragStart:C}=this.getProps();if(S&&!T&&(this.openDragLock&&this.openDragLock(),this.openDragLock=SC(S),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),da(L=>{let V=this.getAxisMotionValue(L).get()||0;if(pa.test(V)){const{projection:G}=this.visualElement;if(G&&G.layout){const F=G.layout.layoutBox[L];F&&(V=tn(F)*(parseFloat(V)/100))}}this.originPoint[L]=V}),C&&ot.update(()=>C(b,x),!1,!0),Qh(this.visualElement,"transform");const{animationState:z}=this.visualElement;z&&z.setActive("whileDrag",!0)},h=(b,x)=>{this.latestPointerEvent=b,this.latestPanInfo=x;const{dragPropagation:S,dragDirectionLock:T,onDirectionLock:C,onDrag:z}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:L}=x;if(T&&this.currentDirection===null){this.currentDirection=F_(L),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",x.point,L),this.updateAxis("y",x.point,L),this.visualElement.render(),z&&ot.update(()=>z(b,x),!1,!0)},m=(b,x)=>{this.latestPointerEvent=b,this.latestPanInfo=x,this.stop(b,x),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:b}=this.getProps();(b||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new rS(n,{onSessionStart:u,onStart:d,onMove:h,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:s,contextWindow:iS(this.visualElement),element:this.visualElement.current})}stop(n,i){const s=n||this.latestPointerEvent,o=i||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!o||!s)return;const{velocity:d}=o;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&ot.postRender(()=>h(s,o))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(n,i,s){const{drag:o}=this.getProps();if(!s||!Hu(n,o,this.currentDirection))return;const u=this.getAxisMotionValue(n);let d=this.originPoint[n]+s[n];this.constraints&&this.constraints[n]&&(d=B_(d,this.constraints[n],this.elastic[n])),u.set(d)}resolveConstraints(){var u;const{dragConstraints:n,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(u=this.visualElement.projection)==null?void 0:u.layout,o=this.constraints;n&&gs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=V_(s.layoutBox,n):this.constraints=!1,this.elastic=K_(i),o!==this.constraints&&!gs(n)&&s&&this.constraints&&!this.hasMutatedConstraints&&da(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=G_(s.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!gs(n))return!1;const s=n.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const u=JC(s,o.root,this.visualElement.getTransformPagePoint());let d=U_(o.layout.layoutBox,u);if(i){const h=i(XC(d));this.hasMutatedConstraints=!!h,h&&(d=Mw(h))}return d}startAnimation(n){const{drag:i,dragMomentum:s,dragElastic:o,dragTransition:u,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),m=this.constraints||{},p=da(g=>{if(!Hu(g,i,this.currentDirection))return;let b=m&&m[g]||{};(d===!0||d===g)&&(b={min:0,max:0});const x=o?200:1e6,S=o?40:1e7,T={type:"inertia",velocity:s?n[g]:0,bounceStiffness:x,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...u,...b};return this.startAxisValueAnimation(g,T)});return Promise.all(p).then(h)}startAxisValueAnimation(n,i){const s=this.getAxisMotionValue(n);return Qh(this.visualElement,n),s.start($m(n,s,0,i,this.visualElement,!1))}stopAnimation(){da(n=>this.getAxisMotionValue(n).stop())}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,s=this.visualElement.getProps(),o=s[i];return o||this.visualElement.getValue(n,(s.initial?s.initial[n]:void 0)||0)}snapToCursor(n){da(i=>{const{drag:s}=this.getProps();if(!Hu(i,s,this.currentDirection))return;const{projection:o}=this.visualElement,u=this.getAxisMotionValue(i);if(o&&o.layout){const{min:d,max:h}=o.layout.layoutBox[i],m=u.get()||0;u.set(n[i]-pt(d,h,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!gs(i)||!s||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};da(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const m=h.get();o[d]=H_({min:m,max:m},this.constraints[d])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),da(d=>{if(!Hu(d,n,null))return;const h=this.getAxisMotionValue(d),{min:m,max:p}=this.constraints[d];h.set(pt(m,p,o[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Z_.set(this.visualElement,this);const n=this.visualElement.current,i=Jl(n,"pointerdown",p=>{const{drag:g,dragListener:b=!0}=this.getProps(),x=p.target,S=x!==n&&jC(x);g&&b&&!S&&this.start(p)});let s;const o=()=>{const{dragConstraints:p}=this.getProps();gs(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),s||(s=Y_(n,p.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,d=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),ot.read(o);const h=ro(window,"resize",()=>this.scalePositionWithinConstraints()),m=u.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(da(b=>{const x=this.getAxisMotionValue(b);x&&(this.originPoint[b]+=p[b].translate,x.set(x.get()+p[b].translate))}),this.visualElement.render())}));return()=>{h(),i(),d(),m&&m(),s&&s()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:o=!1,dragConstraints:u=!1,dragElastic:d=im,dragMomentum:h=!0}=n;return{...n,drag:i,dragDirectionLock:s,dragPropagation:o,dragConstraints:u,dragElastic:d,dragMomentum:h}}}function ex(t){let n=!0;return()=>{if(n){n=!1;return}t()}}function Y_(t,n,i){const s=ub(t,ex(i)),o=ub(n,ex(i));return()=>{s(),o()}}function Hu(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function F_(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class P_ extends Xi{constructor(n){super(n),this.removeGroupControls=Gn,this.removeListeners=Gn,this.controls=new q_(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Gn}update(){const{dragControls:n}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};n!==i&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const hh=t=>(n,i)=>{t&&ot.update(()=>t(n,i),!1,!0)};class X_ extends Xi{constructor(){super(...arguments),this.removePointerDownListener=Gn}onPointerDown(n){this.session=new rS(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:iS(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:s,onPanEnd:o}=this.node.getProps();return{onSessionStart:hh(n),onStart:hh(i),onMove:hh(s),onEnd:(u,d)=>{delete this.session,o&&ot.postRender(()=>o(u,d))}}}mount(){this.removePointerDownListener=Jl(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let mh=!1;class Q_ extends E.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s,layoutId:o}=this.props,{projection:u}=n;u&&(i.group&&i.group.add(u),s&&s.register&&o&&s.register(u),mh&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ju.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:s,drag:o,isPresent:u}=this.props,{projection:d}=s;return d&&(d.isPresent=u,n.layoutDependency!==i&&d.setOptions({...d.options,layoutDependency:i}),mh=!0,o||n.layoutDependency!==i||i===void 0||n.isPresent!==u?d.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?d.promote():d.relegate()||ot.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:n,layoutAnchor:i}=this.props,{projection:s}=n;s&&(s.options.layoutAnchor=i,s.root.didUpdate(),ep.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:o}=n;mh=!0,o&&(o.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(o),s&&s.deregister&&s.deregister(o))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function lS(t){const[n,i]=n_(),s=E.useContext(S1);return y.jsx(Q_,{...t,layoutGroup:s,switchLayoutGroup:E.useContext(nS),isPresent:n,safeToRemove:i})}const $_={pan:{Feature:X_},drag:{Feature:P_,ProjectionNode:Xw,MeasureLayout:lS}};function tx(t,n,i){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",i==="Start");const o="onHover"+i,u=s[o];u&&ot.postRender(()=>u(n,go(n)))}class J_ extends Xi{mount(){const{current:n}=this.node;n&&(this.unmount=EC(n,(i,s)=>(tx(this.node,s,"Start"),o=>tx(this.node,o,"End"))))}unmount(){}}class I_ extends Xi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ho(ro(this.node.current,"focus",()=>this.onFocus()),ro(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function nx(t,n,i){const{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",i==="Start");const o="onTap"+(i==="End"?"":i),u=s[o];u&&ot.postRender(()=>u(n,go(n)))}class W_ extends Xi{mount(){const{current:n}=this.node;if(!n)return;const{globalTapTarget:i,propagate:s}=this.node.props;this.unmount=CC(n,(o,u)=>(nx(this.node,u,"Start"),(d,{success:h})=>nx(this.node,d,h?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:(s==null?void 0:s.tap)===!1})}unmount(){}}const rm=new WeakMap,ph=new WeakMap,eN=t=>{const n=rm.get(t.target);n&&n(t)},tN=t=>{t.forEach(eN)};function nN({root:t,...n}){const i=t||document;ph.has(i)||ph.set(i,{});const s=ph.get(i),o=JSON.stringify(n);return s[o]||(s[o]=new IntersectionObserver(tN,{root:t,...n})),s[o]}function aN(t,n,i){const s=nN(n);return rm.set(t,i),s.observe(t),()=>{rm.delete(t),s.unobserve(t)}}const iN={some:0,all:1};class rN extends Xi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var m;(m=this.stopObserver)==null||m.call(this);const{viewport:n={}}=this.node.getProps(),{root:i,margin:s,amount:o="some",once:u}=n,d={root:i?i.current:void 0,rootMargin:s,threshold:typeof o=="number"?o:iN[o]},h=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,u&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:b,onViewportLeave:x}=this.node.getProps(),S=g?b:x;S&&S(p)};this.stopObserver=aN(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(sN(n,i))&&this.startObserver()}unmount(){var n;(n=this.stopObserver)==null||n.call(this),this.hasEnteredView=!1,this.isInView=!1}}function sN({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const lN={inView:{Feature:rN},tap:{Feature:W_},focus:{Feature:I_},hover:{Feature:J_}},oN={layout:{ProjectionNode:Xw,MeasureLayout:lS}},uN={...__,...lN,...$_,...oN},ce=M_(uN,j_),cN={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5};function dN({rating:t}){return y.jsx("div",{className:"flex gap-0.5","aria-label":`${t} out of 5 stars`,children:[1,2,3,4,5].map(n=>y.jsx("svg",{className:`h-4 w-4 ${n<=t?"text-secondary":"text-border"}
278`,fill:"currentColor",viewBox:"0 0 20 20","aria-hidden":"true",children:y.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})},n))})}function fN({reviews:t,title:n="What Our Customers Say",maxVisible:i=6,className:s=""}){const o=t.slice(0,i);return o.length===0?null:y.jsx("section",{className:`py-20 md:py-28 ${s}`,children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[y.jsxs(ce.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},children:[y.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-4",children:"Guest Reviews"}),y.jsx("h2",{className:"font-heading text-4xl md:text-5xl text-foreground mb-5",children:y.jsx(lt,{devId:"b0fc99",guard:{file:"src/components/GoogleReviews.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:aaf2320646108059a87ab5017a86aee454f5378ed95003dbb2e12f4ca5266e0e"},children:n})}),y.jsx("div",{className:"w-12 h-0.5 bg-accent mx-auto"})]}),y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:o.map((u,d)=>{const h=cN[u.starRating]??5,m=new Date(u.createTime).toLocaleDateString("en-GB",{year:"numeric",month:"long",day:"numeric"}),p=u.reviewer.displayName.charAt(0).toUpperCase();return y.jsxs(ce.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:d*.1,ease:"easeOut"},className:"bg-card border border-border flex flex-col gap-5 p-8",children:[y.jsx(dN,{rating:h}),u.comment&&y.jsxs("p",{className:"text-muted-foreground text-sm leading-relaxed flex-1",children:['"',u.comment,'"']}),y.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-border",children:[u.reviewer.profilePhotoUrl?y.jsx("img",{src:u.reviewer.profilePhotoUrl,alt:u.reviewer.displayName,className:"h-10 w-10 object-cover",style:{borderRadius:0}}):y.jsx("div",{className:"h-10 w-10 flex items-center justify-center text-primary-foreground text-sm font-semibold shrink-0",style:{background:"hsl(var(--primary))"},children:p}),y.jsxs("div",{className:"min-w-0",children:[y.jsx("p",{className:"font-semibold text-sm text-foreground truncate",children:u.reviewer.displayName}),y.jsx("p",{className:"text-xs text-muted-foreground",children:m})]}),y.jsxs("div",{className:"ml-auto flex items-center gap-1 text-xs text-muted-foreground shrink-0",children:[y.jsxs("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24","aria-hidden":"true",children:[y.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),y.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),y.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),y.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),y.jsx("span",{children:"Google"})]})]})]},u.reviewId)})})]})})}var Xe;(function(t){t.assertEqual=o=>{};function n(o){}t.assertIs=n;function i(o){throw new Error}t.assertNever=i,t.arrayToEnum=o=>{const u={};for(const d of o)u[d]=d;return u},t.getValidEnumValues=o=>{const u=t.objectKeys(o).filter(h=>typeof o[o[h]]!="number"),d={};for(const h of u)d[h]=o[h];return t.objectValues(d)},t.objectValues=o=>t.objectKeys(o).map(function(u){return o[u]}),t.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const u=[];for(const d in o)Object.prototype.hasOwnProperty.call(o,d)&&u.push(d);return u},t.find=(o,u)=>{for(const d of o)if(u(d))return d},t.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&Number.isFinite(o)&&Math.floor(o)===o;function s(o,u=" | "){return o.map(d=>
vendor: 1,173 bytes, line 278
278typeof d=="string"?`'${d}'`:d).join(u)}t.joinValues=s,t.jsonStringifyReplacer=(o,u)=>typeof u=="bigint"?u.toString():u})(Xe||(Xe={}));var ax;(function(t){t.mergeShapes=(n,i)=>({...n,...i})})(ax||(ax={}));const de=Xe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Bi=t=>{switch(typeof t){case"undefined":return de.undefined;case"string":return de.string;case"number":return Number.isNaN(t)?de.nan:de.number;case"boolean":return de.boolean;case"function":return de.function;case"bigint":return de.bigint;case"symbol":return de.symbol;case"object":return Array.isArray(t)?de.array:t===null?de.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?de.promise:typeof Map<"u"&&t instanceof Map?de.map:typeof Set<"u"&&t instanceof Set?de.set:typeof Date<"u"&&t instanceof Date?de.date:de.object;default:return de.unknown}},J=Xe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invali
278d_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ti extends Error{get errors(){return this.issues}constructor(n){super(),this.issues=[],this.addIssue=s=>{this.issues=[...this.issues,s]},this.addIssues=(s=[])=>{this.issues=[...this.issues,...s]};const i=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,i):this.__proto__=i,this.name="ZodError",this.issues=n}format(n){const i=n||function(u){return u.message},s={_errors:[]},o=u=>{for(const d of u.issues)if(d.code==="invalid_union")d.unionErrors.map(o);else if(d.code==="invalid_return_type")o(d.returnTypeError);else if(d.code==="invalid_arguments")o(d.argumentsError);else if(d.path.length===0)s._errors.push(i(d));else{let h=s,m=0;for(;m<d.path.length;){const p=d.path[m];m===d.path.length-1?(h[p]=h[p]||{_errors:[]},h[p]._errors.push(i(d))):h[p]=h[p]||{_errors:[]},h=h[p],m++}}};return o(this),s}static assert(n){if(!(n instanceof ti))throw new Error(`Not a ZodError: ${n}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Xe.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(n=i=>i.message){const i={},s=[];for(const o of this.issues)if(o.path.length>0){const u=o.path[0];i[u]=i[u]||[],i[u].push(n(o))}else s.push(n(o));return{formErrors:s,fieldErrors:i}}get formErrors(){return this.flatten()}}ti.create=t=>new ti(t);const sm=(t,n)=>{let i;switch(t.code){case J.invalid_type:t.received===de.undefined?i="Required":i=`Expected ${t.expected}, received ${t.received}`;break;case J.invalid_literal:i=`Invalid literal value, expected ${JSON.stringify(t.expected,Xe.jsonStringifyReplacer)}`;break;case J.unrecognized_keys:i=`Unrecognized key(s) in object: ${Xe.joinValues(t.keys,", ")}`;break;case J.invalid_union:i="Invalid input";break;case J.invalid_union_discriminator:i=`Invalid discriminator value. Expected ${Xe.joinValues(t.options)}`;break;case J.invalid_enum_value:i=`Invalid enum value. Expected ${Xe.joinValues(t.options)}, received '${t.received}'`;break;case J.invalid_arguments:i="Invalid function arguments";break;case J.invalid_return_type:i="Invalid function return type";break;case J.invalid_date:i="Invalid date";break;case J.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(i=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(i=`${i} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?i=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?i=`Invalid input: must end with "${t.validation.endsWith}"`:Xe.assertNever(t.validation):t.validation!=="regex"?i=`Invalid ${t.validation}`:i="Invalid";break;case J.too_small:t.type==="array"?i=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?i=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?i=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?i=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?i=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:i="Invalid input";break;case J.too_big:t.type==="array"?i=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?i=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?i=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?i=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?i=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:i="Invalid input";break;case J.custom:i="Invalid input";break;
vendor: 7,530 bytes, line 278
278case J.invalid_intersection_types:i="Intersection results could not be merged";break;case J.not_multiple_of:i=`Number must be a multiple of ${t.multipleOf}`;break;case J.not_finite:i="Number must be finite";break;default:i=n.defaultError,Xe.assertNever(t)}return{message:i}};let hN=sm;function mN(){return hN}const pN=t=>{const{data:n,path:i,errorMaps:s,issueData:o}=t,u=[...i,...o.path||[]],d={...o,path:u};if(o.message!==void 0)return{...o,path:u,message:o.message};let h="";const m=s.filter(p=>!!p).slice().reverse();for(const p of m)h=p(d,{data:n,defaultError:h}).message;return{...o,path:u,message:h}};function re(t,n){const i=mN(),s=pN({issueData:n,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,i,i===sm?void 0:sm].filter(o=>!!o)});t.common.issues.push(s)}class Tn{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(n,i){const s=[];for(const o of i){if(o.status==="aborted")return Me;o.status==="dirty"&&n.dirty(),s.push(o.value)}return{status:n.value,value:s}}static async mergeObjectAsync(n,i){const s=[];for(const o of i){const u=await o.key,d=await o.value;s.push({key:u,value:d})}return Tn.mergeObjectSync(n,s)}static mergeObjectSync(n,i){const s={};for(const o of i){const{key:u,value:d}=o;if(u.status==="aborted"||d.status==="aborted")return Me;u.status==="dirty"&&n.dirty(),d.status==="dirty"&&n.dirty(),u.value!=="__proto__"&&(typeof d.value<"u"||o.alwaysSet)&&(s[u.value]=d.value)}return{status:n.value,value:s}}}const Me=Object.freeze({status:"aborted"}),Kl=t=>({status:"dirty",value:t}),qn=t=>({status:"valid",value:t}),ix=t=>t.status==="aborted",rx=t=>t.status==="dirty",Ms=t=>t.status==="valid",dc=t=>typeof Promise<"u"&&t instanceof Promise;var he;(function(t){t.errToObj=n=>typeof n=="string"?{message:n}:n||{},t.toString=n=>typeof n=="string"?n:n==null?void 0:n.message})(he||(he={}));class Yi{constructor(n,i,s,o){this._cachedPath=[],this.parent=n,this.data=i,this._path=s,this._key=o}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const sx=(t,n)=>{if(Ms(n))return{success:!0,data:n.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const i=new ti(t.common.issues);return this._error=i,this._error}}};function Ve(t){if(!t)return{};const{errorMap:n,invalid_type_error:i,required_error:s,description:o}=t;if(n&&(i||s))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return n?{errorMap:n,description:o}:{errorMap:(d,h)=>{const{message:m}=t;return d.code==="invalid_enum_value"?{message:m??h.defaultError}:typeof h.data>"u"?{message:m??s??h.defaultError}:d.code!=="invalid_type"?{message:h.defaultError}:{message:m??i??h.defaultError}},description:o}}class qe{get description(){return this._def.description}_getType(n){return Bi(n.data)}_getOrReturnCtx(n,i){return i||{common:n.parent.common,data:n.data,parsedType:Bi(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}_processInputParams(n){return{status:new Tn,ctx:{common:n.parent.common,data:n.data,parsedType:Bi(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}}_parseSync(n){const i=this._parse(n);if(dc(i))throw new Error("Synchronous parse encountered promise.");return i}_parseAsync(n){const i=this._parse(n);return Promise.resolve(i)}parse(n,i){const s=this.safeParse(n,i);if(s.success)return s.data;throw s.error}safeParse(n,i){const s={common:{issues:[],async:(i==null?void 0:i.async)??!1,contextualErrorMap:i==null?void 0:i.errorMap},path:(i==null?void 0:i.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:Bi(n)},o=this._parseSync({data:n,path:s.path,parent:s});return sx(s,o)}"~validate"(n){var s,o;const i={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:Bi(n)};if(!this["~standard"].async)try{const u=this._parseSync({data:n,path:[],parent:i});return Ms(u)?{value:u.value}:{issues:i.common.issues}}catch(u){(o=(s=u==null?void 0:u.message)==null?void 0:s.toLowerCase())!=null&&o.includes("encountered")&&(this["~standard"].async=!0),i.common={issues:[],async:!0}}return this._parseAsync({data:n,path:[],parent:i}).then(u=>Ms(u)?{value:u.value}:{issues:i.common.issues})}async parseAsync(n,i){const s=await this.safeParseAsync(n,i);if(s.success)return s.data;throw s.error}async safeParseAsync(n,i){const s={common:{issues:[],contextualErrorMap:i==null?void 0:i.errorMap,async:!0},path:(i==null?void 0:i.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:Bi(n)},o=this._parse({data:n,path:s.path,parent:s}),u=await(dc(o)?o:Promise.resolve(o));return sx(s,u)}refine(n,i){const s=o=>typeof i=="string"||typeof i>"u"?{message:i}:typeof i=="function"?i(o):i;return this._refinement((o,u)=>{const d=n(o),h=()=>u.addIssue({code:J.custom,...s(o)});return typeof Promise<"u"&&d instanceof Promise?d.then(m=>m?!0:(h(),!1)):d?!0:(h(),!1)})}refinement(n,i){return this._refinement((s,o)=>n(s)?!0:(o.addIssue(typeof i=="function"?i(s,o):i),!1))}_refinement(n){return new zs({schema:this,typeName:je.ZodEffects,effect:{type:"refinement",refinement:n}})}superRefine(n){return this._refinement(n)}constructor(n){this.spa=this.safeParseAsync,this._def=n,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:i=>this["~validate"](i)}}optional(){return Ki.create(this,this._def)}nullable(){return Cs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ga.create(this)}promise(){return pc.create(this,this._def)}or(n){return hc.create([this,n],this._def)}and(n){return mc.create(this,n,this._def)}transform(n){return new zs({...Ve(this._def),schema:this,typeName:je.ZodEffects,effect:{type:"transform",transform:n}})}default(n){const i=typeof n=="function"?n:()=>n;return new om({...Ve(this._def),innerType:this,defaultValue:i,typeName:je.ZodDefault})}brand(){return new VN({typeName:je.ZodBranded,type:this,...Ve(this._def)})}catch(n){const i=typeof n=="function"?n:()=>n;return new um({...Ve(this._def),innerType:this,catchValue:i,typeName:je.ZodCatch})}describe(n){const i=this.constructor;return new i({...this._def,description:n})}pipe(n){return up.create(this,n)}readonly(){return cm.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const gN=/^c[^\s-]{8,}
vendor: 7,128 bytes, line 278
278$/i,yN=/^[0-9a-z]+$/,vN=/^[0-9A-HJKMNP-TV-Z]{26}$/i,bN=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,xN=/^[a-z0-9_-]{21}$/i,wN=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,SN=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,TN=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,EN="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let gh;const AN=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,kN=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,MN=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,jN=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,zN=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,CN=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,oS="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",RN=new RegExp(`^${oS}$`);function uS(t){let n="[0-5]\\d";t.precision?n=`${n}\\.\\d{${t.precision}}`:t.precision==null&&(n=`${n}(\\.\\d+)?`);const i=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${n})${i}`}function _N(t){return new RegExp(`^${uS(t)}$`)}function NN(t){let n=`${oS}T${uS(t)}`;const i=[];return i.push(t.local?"Z?":"Z"),t.offset&&i.push("([+-]\\d{2}:?\\d{2})"),n=`${n}(${i.join("|")})`,new RegExp(`^${n}$`)}function DN(t,n){return!!((n==="v4"||!n)&&AN.test(t)||(n==="v6"||!n)&&MN.test(t))}function ON(t,n){if(!wN.test(t))return!1;try{const[i]=t.split(".");if(!i)return!1;const s=i.replace(/-/g,"+").replace(/_/g,"/").padEnd(i.length+(4-i.length%4)%4,"="),o=JSON.parse(atob(s));return!(typeof o!="object"||o===null||"typ"in o&&(o==null?void 0:o.typ)!=="JWT"||!o.alg||n&&o.alg!==n)}catch{return!1}}function LN(t,n){return!!((n==="v4"||!n)&&kN.test(t)||(n==="v6"||!n)&&jN.test(t))}class Gi extends qe{_parse(n){if(this._def.coerce&&(n.data=String(n.data)),this._getType(n)!==de.string){const u=this._getOrReturnCtx(n);return re(u,{code:J.invalid_type,expected:de.string,received:u.parsedType}),Me}const s=new Tn;let o;for(const u of this._def.checks)if(u.kind==="min")n.data.length<u.value&&(o=this._getOrReturnCtx(n,o),re(o,{code:J.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),s.dirty());else if(u.kind==="max")n.data.length>u.value&&(o=this._getOrReturnCtx(n,o),re(o,{code:J.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),s.dirty());else if(u.kind==="length"){const d=n.data.length>u.value,h=n.data.length<u.value;(d||h)&&(o=this._getOrReturnCtx(n,o),d?re(o,{code:J.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}):h&&re(o,{code:J.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}),s.dirty())}else if(u.kind==="email")TN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"email",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="emoji")gh||(gh=new RegExp(EN,"u")),gh.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"emoji",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="uuid")bN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"uuid",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="nanoid")xN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"nanoid",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="cuid")gN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"cuid",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="cuid2")yN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"cuid2",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="ulid")vN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"ulid",code:J.invalid_string,message:u.message}),s.dirty());else if(u.kind==="url")try{new URL(n.data)}catch{o=this._getOrReturnCtx(n,o),re(o,{validation:"url",code:J.invalid_string,message:u.message}),s.dirty()}else u.kind==="regex"?(u.regex.lastIndex=0,u.regex.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"regex",code:J.invalid_string,message:u.message}),s.dirty())):u.kind==="trim"?n.data=n.data.trim():u.kind==="includes"?n.data.includes(u.value,u.position)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:{includes:u.value,position:u.position},message:u.message}),s.dirty()):u.kind==="toLowerCase"?n.data=n.data.toLowerCase():u.kind==="toUpperCase"?n.data=n.data.toUpperCase():u.kind==="startsWith"?n.data.startsWith(u.value)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:{startsWith:u.value},message:u.message}),s.dirty()):u.kind==="endsWith"?n.data.endsWith(u.value)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:{endsWith:u.value},message:u.message}),s.dirty()):u.kind==="datetime"?NN(u).test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:"datetime",message:u.message}),s.dirty()):u.kind==="date"?RN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:"date",message:u.message}),s.dirty()):u.kind==="time"?_N(u).test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{code:J.invalid_string,validation:"time",message:u.message}),s.dirty()):u.kind==="duration"?SN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"duration",code:J.invalid_string,message:u.message}
vendor: 14,862 bytes, line 278
278),s.dirty()):u.kind==="ip"?DN(n.data,u.version)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"ip",code:J.invalid_string,message:u.message}),s.dirty()):u.kind==="jwt"?ON(n.data,u.alg)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"jwt",code:J.invalid_string,message:u.message}),s.dirty()):u.kind==="cidr"?LN(n.data,u.version)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"cidr",code:J.invalid_string,message:u.message}),s.dirty()):u.kind==="base64"?zN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"base64",code:J.invalid_string,message:u.message}),s.dirty()):u.kind==="base64url"?CN.test(n.data)||(o=this._getOrReturnCtx(n,o),re(o,{validation:"base64url",code:J.invalid_string,message:u.message}),s.dirty()):Xe.assertNever(u);return{status:s.value,value:n.data}}_regex(n,i,s){return this.refinement(o=>n.test(o),{validation:i,code:J.invalid_string,...he.errToObj(s)})}_addCheck(n){return new Gi({...this._def,checks:[...this._def.checks,n]})}email(n){return this._addCheck({kind:"email",...he.errToObj(n)})}url(n){return this._addCheck({kind:"url",...he.errToObj(n)})}emoji(n){return this._addCheck({kind:"emoji",...he.errToObj(n)})}uuid(n){return this._addCheck({kind:"uuid",...he.errToObj(n)})}nanoid(n){return this._addCheck({kind:"nanoid",...he.errToObj(n)})}cuid(n){return this._addCheck({kind:"cuid",...he.errToObj(n)})}cuid2(n){return this._addCheck({kind:"cuid2",...he.errToObj(n)})}ulid(n){return this._addCheck({kind:"ulid",...he.errToObj(n)})}base64(n){return this._addCheck({kind:"base64",...he.errToObj(n)})}base64url(n){return this._addCheck({kind:"base64url",...he.errToObj(n)})}jwt(n){return this._addCheck({kind:"jwt",...he.errToObj(n)})}ip(n){return this._addCheck({kind:"ip",...he.errToObj(n)})}cidr(n){return this._addCheck({kind:"cidr",...he.errToObj(n)})}datetime(n){return typeof n=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:n}):this._addCheck({kind:"datetime",precision:typeof(n==null?void 0:n.precision)>"u"?null:n==null?void 0:n.precision,offset:(n==null?void 0:n.offset)??!1,local:(n==null?void 0:n.local)??!1,...he.errToObj(n==null?void 0:n.message)})}date(n){return this._addCheck({kind:"date",message:n})}time(n){return typeof n=="string"?this._addCheck({kind:"time",precision:null,message:n}):this._addCheck({kind:"time",precision:typeof(n==null?void 0:n.precision)>"u"?null:n==null?void 0:n.precision,...he.errToObj(n==null?void 0:n.message)})}duration(n){return this._addCheck({kind:"duration",...he.errToObj(n)})}regex(n,i){return this._addCheck({kind:"regex",regex:n,...he.errToObj(i)})}includes(n,i){return this._addCheck({kind:"includes",value:n,position:i==null?void 0:i.position,...he.errToObj(i==null?void 0:i.message)})}startsWith(n,i){return this._addCheck({kind:"startsWith",value:n,...he.errToObj(i)})}endsWith(n,i){return this._addCheck({kind:"endsWith",value:n,...he.errToObj(i)})}min(n,i){return this._addCheck({kind:"min",value:n,...he.errToObj(i)})}max(n,i){return this._addCheck({kind:"max",value:n,...he.errToObj(i)})}length(n,i){return this._addCheck({kind:"length",value:n,...he.errToObj(i)})}nonempty(n){return this.min(1,he.errToObj(n))}trim(){return new Gi({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Gi({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Gi({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(n=>n.kind==="datetime")}get isDate(){return!!this._def.checks.find(n=>n.kind==="date")}get isTime(){return!!this._def.checks.find(n=>n.kind==="time")}get isDuration(){return!!this._def.checks.find(n=>n.kind==="duration")}get isEmail(){return!!this._def.checks.find(n=>n.kind==="email")}get isURL(){return!!this._def.checks.find(n=>n.kind==="url")}get isEmoji(){return!!this._def.checks.find(n=>n.kind==="emoji")}get isUUID(){return!!this._def.checks.find(n=>n.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(n=>n.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(n=>n.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(n=>n.kind==="cuid2")}get isULID(){return!!this._def.checks.find(n=>n.kind==="ulid")}get isIP(){return!!this._def.checks.find(n=>n.kind==="ip")}get isCIDR(){return!!this._def.checks.find(n=>n.kind==="cidr")}get isBase64(){return!!this._def.checks.find(n=>n.kind==="base64")}get isBase64url(){return!!this._def.checks.find(n=>n.kind==="base64url")}get minLength(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxLength(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}}Gi.create=t=>new Gi({checks:[],typeName:je.ZodString,coerce:(t==null?void 0:t.coerce)??!1,...Ve(t)});function BN(t,n){const i=(t.toString().split(".")[1]||"").length,s=(n.toString().split(".")[1]||"").length,o=i>s?i:s,u=Number.parseInt(t.toFixed(o).replace(".","")),d=Number.parseInt(n.toFixed(o).replace(".",""));return u%d/10**o}class so extends qe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(n){if(this._def.coerce&&(n.data=Number(n.data)),this._getType(n)!==de.number){const u=this._getOrReturnCtx(n);return re(u,{code:J.invalid_type,expected:de.number,received:u.parsedType}),Me}let s;const o=new Tn;for(const u of this._def.checks)u.kind==="int"?Xe.isInteger(n.data)||(s=this._getOrReturnCtx(n,s),re(s,{code:J.invalid_type,expected:"integer",received:"float",message:u.message}),o.dirty()):u.kind==="min"?(u.inclusive?n.data<u.value:n.data<=u.value)&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.too_small,minimum:u.value,type:"number",inclusive:u.inclusive,exact:!1,message:u.message}),o.dirty()):u.kind==="max"?(u.inclusive?n.data>u.value:n.data>=u.value)&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.too_big,maximum:u.value,type:"number",inclusive:u.inclusive,exact:!1,message:u.message}),o.dirty()):u.kind==="multipleOf"?BN(n.data,u.value)!==0&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.not_multiple_of,multipleOf:u.value,message:u.message}),o.dirty()):u.kind==="finite"?Number.isFinite(n.data)||(s=this._getOrReturnCtx(n,s),re(s,{code:J.not_finite,message:u.message}),o.dirty()):Xe.assertNever(u);return{status:o.value,value:n.data}}gte(n,i){return this.setLimit("min",n,!0,he.toString(i))}gt(n,i){return this.setLimit("min",n,!1,he.toString(i))}lte(n,i){return this.setLimit("max",n,!0,he.toString(i))}lt(n,i){return this.setLimit("max",n,!1,he.toString(i))}setLimit(n,i,s,o){return new so({...this._def,checks:[...this._def.checks,{kind:n,value:i,inclusive:s,message:he.toString(o)}]})}_addCheck(n){return new so({...this._def,checks:[...this._def.checks,n]})}int(n){return this._addCheck({kind:"int",message:he.toString(n)})}positive(n){return this._addCheck({kind:"min",value:0,inclusive:!1,message:he.toString(n)})}negative(n){return this._addCheck({kind:"max",value:0,inclusive:!1,message:he.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:0,inclusive:!0,message:he.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:0,inclusive:!0,message:he.toString(n)})}multipleOf(n,i){return this._addCheck({kind:"multipleOf",value:n,message:he.toString(i)})}finite(n){return this._addCheck({kind:"finite",message:he.toString(n)})}safe(n){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:he.toString(n)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:he.toString(n)})}get minValue(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxValue(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}get isInt(){return!!this._def.checks.find(n=>n.kind==="int"||n.kind==="multipleOf"&&Xe.isInteger(n.value))}get isFinite(){let n=null,i=null;for(const s of this._def.checks){if(s.kind==="finite"||s.kind==="int"||s.kind==="multipleOf")return!0;s.kind==="min"?(i===null||s.value>i)&&(i=s.value):s.kind==="max"&&(n===null||s.value<n)&&(n=s.value)}return Number.isFinite(i)&&Number.isFinite(n)}}so.create=t=>new so({checks:[],typeName:je.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...Ve(t)});class lo extends qe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(n){if(this._def.coerce)try{n.data=BigInt(n.data)}catch{return this._getInvalidInput(n)}if(this._getType(n)!==de.bigint)return this._getInvalidInput(n);let s;const o=new Tn;for(const u of this._def.checks)u.kind==="min"?(u.inclusive?n.data<u.value:n.data<=u.value)&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.too_small,type:"bigint",minimum:u.value,inclusive:u.inclusive,message:u.message}),o.dirty()):u.kind==="max"?(u.inclusive?n.data>u.value:n.data>=u.value)&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.too_big,type:"bigint",maximum:u.value,inclusive:u.inclusive,message:u.message}),o.dirty()):u.kind==="multipleOf"?n.data%u.value!==BigInt(0)&&(s=this._getOrReturnCtx(n,s),re(s,{code:J.not_multiple_of,multipleOf:u.value,message:u.message}),o.dirty()):Xe.assertNever(u);return{status:o.value,value:n.data}}_getInvalidInput(n){const i=this._getOrReturnCtx(n);return re(i,{code:J.invalid_type,expected:de.bigint,received:i.parsedType}),Me}gte(n,i){return this.setLimit("min",n,!0,he.toString(i))}gt(n,i){return this.setLimit("min",n,!1,he.toString(i))}lte(n,i){return this.setLimit("max",n,!0,he.toString(i))}lt(n,i){return this.setLimit("max",n,!1,he.toString(i))}setLimit(n,i,s,o){return new lo({...this._def,checks:[...this._def.checks,{kind:n,value:i,inclusive:s,message:he.toString(o)}]})}_addCheck(n){return new lo({...this._def,checks:[...this._def.checks,n]})}positive(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:he.toString(n)})}negative(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:he.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:he.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:he.toString(n)})}multipleOf(n,i){return this._addCheck({kind:"multipleOf",value:n,message:he.toString(i)})}get minValue(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxValue(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}}lo.create=t=>new lo({checks:[],typeName:je.ZodBigInt,coerce:(t==null?void 0:t.coerce)??!1,...Ve(t)});class lx extends qe{_parse(n){if(this._def.coerce&&(n.data=!!n.data),this._getType(n)!==de.boolean){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.boolean,received:s.parsedType}),Me}return qn(n.data)}}lx.create=t=>new lx({typeName:je.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...Ve(t)});class fc extends qe{_parse(n){if(this._def.coerce&&(n.data=new Date(n.data)),this._getType(n)!==de.date){const u=this._getOrReturnCtx(n);return re(u,{code:J.invalid_type,expected:de.date,received:u.parsedType}),Me}if(Number.isNaN(n.data.getTime())){const u=this._getOrReturnCtx(n);return re(u,{code:J.invalid_date}),Me}const s=new Tn;let o;for(const u of this._def.checks)u.kind==="min"?n.data.getTime()<u.value&&(o=this._getOrReturnCtx(n,o),re(o,{code:J.too_small,message:u.message,inclusive:!0,exact:!1,minimum:u.value,type:"date"}),s.dirty()):u.kind==="max"?n.data.getTime()>u.value&&(o=this._getOrReturnCtx(n,o),re(o,{code:J.too_big,message:u.message,inclusive:!0,exact:!1,maximum:u.value,type:"date"}),s.dirty()):Xe.assertNever(u);return{status:s.value,value:new Date(n.data.getTime())}}_addCheck(n){return new fc({...this._def,checks:[...this._def.checks,n]})}min(n,i){return this._addCheck({kind:"min",value:n.getTime(),message:he.toString(i)})}max(n,i){return this._addCheck({kind:"max",value:n.getTime(),message:he.toString(i)})}get minDate(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n!=null?new Date(n):null}get maxDate(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n!=null?new Date(n):null}}fc.create=t=>new fc({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:je.ZodDate,...Ve(t)});class ox extends qe{_parse(n){if(this._getType(n)!==de.symbol){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.symbol,received:s.parsedType}),Me}return qn(n.data)}}ox.create=t=>new ox({typeName:je.ZodSymbol,...Ve(t)});class ux extends qe{_parse(n){if(this._getType(n)!==de.undefined){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.undefined,received:s.parsedType}),Me}return qn(n.data)}}ux.create=t=>new ux({typeName:je.ZodUndefined,...Ve(t)});class cx extends qe{_parse(n){if(this._getType(n)!==de.null){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.null,received:s.parsedType}),Me}return qn(n.data)}}cx.create=t=>new cx({typeName:je.ZodNull,...Ve(t)});class dx extends qe{constructor(){super(...arguments),this._any=!0}_parse(n){return qn(n.data)}}dx.create=t=>new dx({typeName:je.ZodAny,...Ve(t)});class fx extends qe{constructor(){super(...arguments),this._unknown=!0}_parse(n){return qn(n.data)}}fx.create=t=>new fx({typeName:je.ZodUnknown,...Ve(t)});class Fi extends qe{_parse(n){const i=this._getOrReturnCtx(n);return re(i,{code:J.invalid_type,expected:de.never,received:i.parsedType}),Me}}Fi.create=t=>new Fi({typeName:je.ZodNever,...Ve(t)});class hx extends qe{_parse(n){if(this._getType(n)!==de.undefined){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.void,received:s.parsedType}),Me}return qn(n.data)}}hx.create=t=>new hx({typeName:je.ZodVoid,...Ve(t)});class ga extends qe{_parse(n){const{ctx:i,status:s}=this._processInputParams(n),o=this._def;if(i.parsedType!==de.array)return re(i,{code:J.invalid_type,expected:de.array,received:i.parsedType}),Me;if(o.exactLength!==null){const d=i.data.length>o.exactLength.value,h=i.data.length<o.exactLength.value;(d||h)&&(re(i,{code:d?J.too_big:J.too_small,minimum:h?o.exactLength.value:void 0,maximum:d?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),s.dirty())}if(o.minLength!==null&&i.data.length<o.minLength.value&&(re(i,{code:J.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),s.dirty()),o.maxLength!==null&&i.data.length>o.maxLength.value&&(re(i,{code:J.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),s.dirty()),i.common.async)return Promise.all([...i.data].map((d,h)=>o.type._parseAsync(new Yi(i,d,i.path,h)))).then(d=>Tn.mergeArray(s,d));const u=[...i.data].map((d,h)=>o.type._parseSync(new Yi(i,d,i.path,h)));return Tn.mergeArray(s,u)}
vendor: 4,469 bytes, line 278
278get element(){return this._def.type}min(n,i){return new ga({...this._def,minLength:{value:n,message:he.toString(i)}})}max(n,i){return new ga({...this._def,maxLength:{value:n,message:he.toString(i)}})}length(n,i){return new ga({...this._def,exactLength:{value:n,message:he.toString(i)}})}nonempty(n){return this.min(1,n)}}ga.create=(t,n)=>new ga({type:t,minLength:null,maxLength:null,exactLength:null,typeName:je.ZodArray,...Ve(n)});function ys(t){if(t instanceof zt){const n={};for(const i in t.shape){const s=t.shape[i];n[i]=Ki.create(ys(s))}return new zt({...t._def,shape:()=>n})}else return t instanceof ga?new ga({...t._def,type:ys(t.element)}):t instanceof Ki?Ki.create(ys(t.unwrap())):t instanceof Cs?Cs.create(ys(t.unwrap())):t instanceof kr?kr.create(t.items.map(n=>ys(n))):t}class zt extends qe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const n=this._def.shape(),i=Xe.objectKeys(n);return this._cached={shape:n,keys:i},this._cached}_parse(n){if(this._getType(n)!==de.object){const p=this._getOrReturnCtx(n);return re(p,{code:J.invalid_type,expected:de.object,received:p.parsedType}),Me}const{status:s,ctx:o}=this._processInputParams(n),{shape:u,keys:d}=this._getCached(),h=[];if(!(this._def.catchall instanceof Fi&&this._def.unknownKeys==="strip"))for(const p in o.data)d.includes(p)||h.push(p);const m=[];for(const p of d){const g=u[p],b=o.data[p];m.push({key:{status:"valid",value:p},value:g._parse(new Yi(o,b,o.path,p)),alwaysSet:p in o.data})}if(this._def.catchall instanceof Fi){const p=this._def.unknownKeys;if(p==="passthrough")for(const g of h)m.push({key:{status:"valid",value:g},value:{status:"valid",value:o.data[g]}});else if(p==="strict")h.length>0&&(re(o,{code:J.unrecognized_keys,keys:h}),s.dirty());else if(p!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const p=this._def.catchall;for(const g of h){const b=o.data[g];m.push({key:{status:"valid",value:g},value:p._parse(new Yi(o,b,o.path,g)),alwaysSet:g in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const p=[];for(const g of m){const b=await g.key,x=await g.value;p.push({key:b,value:x,alwaysSet:g.alwaysSet})}return p}).then(p=>Tn.mergeObjectSync(s,p)):Tn.mergeObjectSync(s,m)}get shape(){return this._def.shape()}strict(n){return he.errToObj,new zt({...this._def,unknownKeys:"strict",...n!==void 0?{errorMap:(i,s)=>{var u,d;const o=((d=(u=this._def).errorMap)==null?void 0:d.call(u,i,s).message)??s.defaultError;return i.code==="unrecognized_keys"?{message:he.errToObj(n).message??o}:{message:o}}}:{}})}strip(){return new zt({...this._def,unknownKeys:"strip"})}passthrough(){return new zt({...this._def,unknownKeys:"passthrough"})}extend(n){return new zt({...this._def,shape:()=>({...this._def.shape(),...n})})}merge(n){return new zt({unknownKeys:n._def.unknownKeys,catchall:n._def.catchall,shape:()=>({...this._def.shape(),...n._def.shape()}),typeName:je.ZodObject})}setKey(n,i){return this.augment({[n]:i})}catchall(n){return new zt({...this._def,catchall:n})}pick(n){const i={};for(const s of Xe.objectKeys(n))n[s]&&this.shape[s]&&(i[s]=this.shape[s]);return new zt({...this._def,shape:()=>i})}omit(n){const i={};for(const s of Xe.objectKeys(this.shape))n[s]||(i[s]=this.shape[s]);return new zt({...this._def,shape:()=>i})}deepPartial(){return ys(this)}partial(n){const i={};for(const s of Xe.objectKeys(this.shape)){const o=this.shape[s];n&&!n[s]?i[s]=o:i[s]=o.optional()}return new zt({...this._def,shape:()=>i})}required(n){const i={};for(const s of Xe.objectKeys(this.shape))if(n&&!n[s])i[s]=this.shape[s];else{let u=this.shape[s];for(;u instanceof Ki;)u=u._def.innerType;i[s]=u}return new zt({...this._def,shape:()=>i})}keyof(){return cS(Xe.objectKeys(this.shape))}}zt.create=(t,n)=>new zt({shape:()=>t,unknownKeys:"strip",catchall:Fi.create(),typeName:je.ZodObject,...Ve(n)});zt.strictCreate=(t,n)=>new zt({shape:()=>t,unknownKeys:"strict",catchall:Fi.create(),typeName:je.ZodObject,...Ve(n)});zt.lazycreate=(t,n)=>new zt({shape:t,unknownKeys:"strip",catchall:Fi.create(),typeName:je.ZodObject,...Ve(n)});class hc extends qe{_parse(n){const{ctx:i}=this._processInputParams(n),s=this._def.options;function o(u){for(const h of u)if(h.result.status==="valid")return h.result;for(const h of u)if(h.result.status==="dirty")return i.common.issues.push(...h.ctx.common.issues),h.result;const d=u.map(h=>
vendor: 5,650 bytes, line 278
278new ti(h.ctx.common.issues));return re(i,{code:J.invalid_union,unionErrors:d}),Me}if(i.common.async)return Promise.all(s.map(async u=>{const d={...i,common:{...i.common,issues:[]},parent:null};return{result:await u._parseAsync({data:i.data,path:i.path,parent:d}),ctx:d}})).then(o);{let u;const d=[];for(const m of s){const p={...i,common:{...i.common,issues:[]},parent:null},g=m._parseSync({data:i.data,path:i.path,parent:p});if(g.status==="valid")return g;g.status==="dirty"&&!u&&(u={result:g,ctx:p}),p.common.issues.length&&d.push(p.common.issues)}if(u)return i.common.issues.push(...u.ctx.common.issues),u.result;const h=d.map(m=>new ti(m));return re(i,{code:J.invalid_union,unionErrors:h}),Me}}get options(){return this._def.options}}hc.create=(t,n)=>new hc({options:t,typeName:je.ZodUnion,...Ve(n)});function lm(t,n){const i=Bi(t),s=Bi(n);if(t===n)return{valid:!0,data:t};if(i===de.object&&s===de.object){const o=Xe.objectKeys(n),u=Xe.objectKeys(t).filter(h=>o.indexOf(h)!==-1),d={...t,...n};for(const h of u){const m=lm(t[h],n[h]);if(!m.valid)return{valid:!1};d[h]=m.data}return{valid:!0,data:d}}else if(i===de.array&&s===de.array){if(t.length!==n.length)return{valid:!1};const o=[];for(let u=0;u<t.length;u++){const d=t[u],h=n[u],m=lm(d,h);if(!m.valid)return{valid:!1};o.push(m.data)}return{valid:!0,data:o}}else return i===de.date&&s===de.date&&+t==+n?{valid:!0,data:t}:{valid:!1}}class mc extends qe{_parse(n){const{status:i,ctx:s}=this._processInputParams(n),o=(u,d)=>{if(ix(u)||ix(d))return Me;const h=lm(u.value,d.value);return h.valid?((rx(u)||rx(d))&&i.dirty(),{status:i.value,value:h.data}):(re(s,{code:J.invalid_intersection_types}),Me)};return s.common.async?Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then(([u,d])=>o(u,d)):o(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}mc.create=(t,n,i)=>new mc({left:t,right:n,typeName:je.ZodIntersection,...Ve(i)});class kr extends qe{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==de.array)return re(s,{code:J.invalid_type,expected:de.array,received:s.parsedType}),Me;if(s.data.length<this._def.items.length)return re(s,{code:J.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Me;!this._def.rest&&s.data.length>this._def.items.length&&(re(s,{code:J.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),i.dirty());const u=[...s.data].map((d,h)=>{const m=this._def.items[h]||this._def.rest;return m?m._parse(new Yi(s,d,s.path,h)):null}).filter(d=>!!d);return s.common.async?Promise.all(u).then(d=>Tn.mergeArray(i,d)):Tn.mergeArray(i,u)}get items(){return this._def.items}rest(n){return new kr({...this._def,rest:n})}}kr.create=(t,n)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new kr({items:t,typeName:je.ZodTuple,rest:null,...Ve(n)})};class mx extends qe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==de.map)return re(s,{code:J.invalid_type,expected:de.map,received:s.parsedType}),Me;const o=this._def.keyType,u=this._def.valueType,d=[...s.data.entries()].map(([h,m],p)=>({key:o._parse(new Yi(s,h,s.path,[p,"key"])),value:u._parse(new Yi(s,m,s.path,[p,"value"]))}));if(s.common.async){const h=new Map;return Promise.resolve().then(async()=>{for(const m of d){const p=await m.key,g=await m.value;if(p.status==="aborted"||g.status==="aborted")return Me;(p.status==="dirty"||g.status==="dirty")&&i.dirty(),h.set(p.value,g.value)}return{status:i.value,value:h}})}else{const h=new Map;for(const m of d){const p=m.key,g=m.value;if(p.status==="aborted"||g.status==="aborted")return Me;(p.status==="dirty"||g.status==="dirty")&&i.dirty(),h.set(p.value,g.value)}return{status:i.value,value:h}}}}mx.create=(t,n,i)=>new mx({valueType:n,keyType:t,typeName:je.ZodMap,...Ve(i)});class oo extends qe{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==de.set)return re(s,{code:J.invalid_type,expected:de.set,received:s.parsedType}),Me;const o=this._def;o.minSize!==null&&s.data.size<o.minSize.value&&(re(s,{code:J.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),i.dirty()),o.maxSize!==null&&s.data.size>o.maxSize.value&&(re(s,{code:J.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),i.dirty());const u=this._def.valueType;function d(m){const p=new Set;for(const g of m){if(g.status==="aborted")return Me;g.status==="dirty"&&i.dirty(),p.add(g.value)}return{status:i.value,value:p}}const h=[...s.data.values()].map((m,p)=>u._parse(new Yi(s,m,s.path,p)));return s.common.async?Promise.all(h).then(m=>d(m)):d(h)}min(n,i){return new oo({...this._def,minSize:{value:n,message:he.toString(i)}})}max(n,i){return new oo({...this._def,maxSize:{value:n,message:he.toString(i)}})}size(n,i){return this.min(n,i).max(n,i)}nonempty(n){return this.min(1,n)}}oo.create=(t,n)=>new oo({valueType:t,minSize:null,maxSize:null,typeName:je.ZodSet,...Ve(n)});class px extends qe{get schema(){return this._def.getter()}_parse(n){const{ctx:i}=this._processInputParams(n);return this._def.getter()._parse({data:i.data,path:i.path,parent:i})}}px.create=(t,n)=>new px({getter:t,typeName:je.ZodLazy,...Ve(n)});class gx extends qe{_parse(n){if(n.data!==this._def.value){const i=this._getOrReturnCtx(n);return re(i,{received:i.data,code:J.invalid_literal,expected:this._def.value}),Me}
vendor: 5,380 bytes, line 278
278return{status:"valid",value:n.data}}get value(){return this._def.value}}gx.create=(t,n)=>new gx({value:t,typeName:je.ZodLiteral,...Ve(n)});function cS(t,n){return new js({values:t,typeName:je.ZodEnum,...Ve(n)})}class js extends qe{_parse(n){if(typeof n.data!="string"){const i=this._getOrReturnCtx(n),s=this._def.values;return re(i,{expected:Xe.joinValues(s),received:i.parsedType,code:J.invalid_type}),Me}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(n.data)){const i=this._getOrReturnCtx(n),s=this._def.values;return re(i,{received:i.data,code:J.invalid_enum_value,options:s}),Me}return qn(n.data)}get options(){return this._def.values}get enum(){const n={};for(const i of this._def.values)n[i]=i;return n}get Values(){const n={};for(const i of this._def.values)n[i]=i;return n}get Enum(){const n={};for(const i of this._def.values)n[i]=i;return n}extract(n,i=this._def){return js.create(n,{...this._def,...i})}exclude(n,i=this._def){return js.create(this.options.filter(s=>!n.includes(s)),{...this._def,...i})}}js.create=cS;class yx extends qe{_parse(n){const i=Xe.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(n);if(s.parsedType!==de.string&&s.parsedType!==de.number){const o=Xe.objectValues(i);return re(s,{expected:Xe.joinValues(o),received:s.parsedType,code:J.invalid_type}),Me}if(this._cache||(this._cache=new Set(Xe.getValidEnumValues(this._def.values))),!this._cache.has(n.data)){const o=Xe.objectValues(i);return re(s,{received:s.data,code:J.invalid_enum_value,options:o}),Me}return qn(n.data)}get enum(){return this._def.values}}yx.create=(t,n)=>new yx({values:t,typeName:je.ZodNativeEnum,...Ve(n)});class pc extends qe{unwrap(){return this._def.type}_parse(n){const{ctx:i}=this._processInputParams(n);if(i.parsedType!==de.promise&&i.common.async===!1)return re(i,{code:J.invalid_type,expected:de.promise,received:i.parsedType}),Me;const s=i.parsedType===de.promise?i.data:Promise.resolve(i.data);return qn(s.then(o=>this._def.type.parseAsync(o,{path:i.path,errorMap:i.common.contextualErrorMap})))}}pc.create=(t,n)=>new pc({type:t,typeName:je.ZodPromise,...Ve(n)});class zs extends qe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===je.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(n){const{status:i,ctx:s}=this._processInputParams(n),o=this._def.effect||null,u={addIssue:d=>{re(s,d),d.fatal?i.abort():i.dirty()},get path(){return s.path}};if(u.addIssue=u.addIssue.bind(u),o.type==="preprocess"){const d=o.transform(s.data,u);if(s.common.async)return Promise.resolve(d).then(async h=>{if(i.value==="aborted")return Me;const m=await this._def.schema._parseAsync({data:h,path:s.path,parent:s});return m.status==="aborted"?Me:m.status==="dirty"||i.value==="dirty"?Kl(m.value):m});{if(i.value==="aborted")return Me;const h=this._def.schema._parseSync({data:d,path:s.path,parent:s});return h.status==="aborted"?Me:h.status==="dirty"||i.value==="dirty"?Kl(h.value):h}}if(o.type==="refinement"){const d=h=>{const m=o.refinement(h,u);if(s.common.async)return Promise.resolve(m);if(m instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return h};if(s.common.async===!1){const h=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});return h.status==="aborted"?Me:(h.status==="dirty"&&i.dirty(),d(h.value),{status:i.value,value:h.value})}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(h=>h.status==="aborted"?Me:(h.status==="dirty"&&i.dirty(),d(h.value).then(()=>({status:i.value,value:h.value}))))}if(o.type==="transform")if(s.common.async===!1){const d=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!Ms(d))return Me;const h=o.transform(d.value,u);if(h instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:i.value,value:h}}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(d=>Ms(d)?Promise.resolve(o.transform(d.value,u)).then(h=>({status:i.value,value:h})):Me);Xe.assertNever(o)}}zs.create=(t,n,i)=>new zs({schema:t,typeName:je.ZodEffects,effect:n,...Ve(i)});zs.createWithPreprocess=(t,n,i)=>new zs({schema:n,effect:{type:"preprocess",transform:t},typeName:je.ZodEffects,...Ve(i)});class Ki extends qe{_parse(n){return this._getType(n)===de.undefined?qn(void 0):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}}Ki.create=(t,n)=>new Ki({innerType:t,typeName:je.ZodOptional,...Ve(n)});class Cs extends qe{_parse(n){return this._getType(n)===de.null?qn(null):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}}Cs.create=(t,n)=>new Cs({innerType:t,typeName:je.ZodNullable,...Ve(n)});class om extends qe{_parse(n){const{ctx:i}=this._processInputParams(n);let s=i.data;return i.parsedType===de.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:i.path,parent:i})}removeDefault(){return this._def.innerType}}om.create=(t,n)=>new om({innerType:t,typeName:je.ZodDefault,defaultValue:typeof n.default=="function"?n.default:()=>n.default,...Ve(n)});class um extends qe{_parse(n){const{ctx:i}=this._processInputParams(n),s={...i,common:{...i.common,issues:[]}},o=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});return dc(o)?o.then(u=>
278({status:"valid",value:u.status==="valid"?u.value:this._def.catchValue({get error(){return new ti(s.common.issues)},input:s.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new ti(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}um.create=(t,n)=>new um({innerType:t,typeName:je.ZodCatch,catchValue:typeof n.catch=="function"?n.catch:()=>n.catch,...Ve(n)});class vx extends qe{_parse(n){if(this._getType(n)!==de.nan){const s=this._getOrReturnCtx(n);return re(s,{code:J.invalid_type,expected:de.nan,received:s.parsedType}),Me}return{status:"valid",value:n.data}}}vx.create=t=>new vx({typeName:je.ZodNaN,...Ve(t)});class VN extends qe{_parse(n){const{ctx:i}=this._processInputParams(n),s=i.data;return this._def.type._parse({data:s,path:i.path,parent:i})}unwrap(){return this._def.type}}class up extends qe{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.common.async)return(async()=>{const u=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});return u.status==="aborted"?Me:u.status==="dirty"?(i.dirty(),Kl(u.value)):this._def.out._parseAsync({data:u.value,path:s.path,parent:s})})();{const o=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return o.status==="aborted"?Me:o.status==="dirty"?(i.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:s.path,parent:s})}}static create(n,i){return new up({in:n,out:i,typeName:je.ZodPipeline})}}class cm extends qe{_parse(n){const i=this._def.innerType._parse(n),s=o=>(Ms(o)&&(o.value=Object.freeze(o.value)),o);return dc(i)?i.then(o=>s(o)):s(i)}unwrap(){return this._def.innerType}}cm.create=(t,n)=>new cm({innerType:t,typeName:je.ZodReadonly,...Ve(n)});var je;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(je||(je={}));const xe=Gi.create;Fi.create;const pr=ga.create,fn=zt.create;hc.create;mc.create;kr.create;js.create;pc.create;Ki.create;Cs.create;const fa={pages:{home:fn({hero:fn({strapline:xe(),cta_primary:xe(),cta_secondary:xe()}),about:fn({eyebrow:xe(),heading:xe(),body:pr(fn({id:xe(),text:xe()})),cta:xe()}),highlights:pr(fn({id:xe(),label:xe(),description:xe()})),neighbourhood_callout:xe(),gallery_heading:xe(),gallery_cta:xe(),visit:fn({heading:xe(),address:xe(),phone:xe(),website:xe(),book_cta:xe()})}),menus:fn({eyebrow:xe(),heading:xe(),intro:xe(),menus:pr(fn({id:xe(),title:xe(),description:xe(),pdf:xe(),badge:xe()}))}),gallery:fn({eyebrow:xe(),heading:xe(),intro:xe(),images:pr(fn({id:xe(),src:xe(),alt:xe(),category:xe()}))}),contact:fn({eyebrow:xe(),heading:xe(),intro:xe(),address:xe(),phone:xe(),website:xe(),hours:xe()})},data:{posts:pr(fn({id:xe(),slug:xe(),title:xe(),excerpt:xe(),date:xe(),image:xe(),imageAlt:xe(),sections:pr(fn({id:xe(),heading:xe(),body:pr(fn({id:xe(),text:xe()}))}))}))}},Zl={parse:t=>t};var Ex,Ax,kx,Mx;const Ac={contact:(((Ex=fa.pages)==null?void 0:Ex.contact)??fa.contact??Zl).parse({eyebrow:"Get in Touch",heading:"Contact Us",intro:"We'd love to hear from you. Make a reservation, ask a question, or just say hello.",address:"6 South Grove, London N6 6BS",phone:"020 8292 2370",website:"www.turkuazbrasserie.co.uk",hours:"Open daily 09:00 – 22:30"}),gallery:(((Ax=fa.pages)==null?void 0:Ax.gallery)??fa.gallery??Zl).parse({eyebrow:"Gallery",heading:"A Feast for the Eyes",intro:"A glimpse into the warmth, colour and flavour of Turkuaz Brasserie.",images:[{id:"g1",src:"/airo-assets/images/pages/gallery/upload-stew",alt:"Spiced chicken stew in a clay bowl",category:"food"},{id:"g2",src:"/airo-assets/images/pages/gallery/upload-wings",alt:"Grilled chicken wings with rice and salad",category:"food"},{id:"g3",src:"/airo-assets/images/pages/gallery/upload-casserole",alt:"Roasted pepper and tomato casserole with rice",category:"food"},{id:"g4",src:"/airo-assets/images/pages/gallery/upload-interior",alt:"The Turkuaz Brasserie dining room",category:"interior"}
278,{id:"g5",src:"/airo-assets/images/pages/gallery/upload-n5-grills",alt:"Grilled lamb chops with pomegranate salad",category:"food"},{id:"g6",src:"/airo-assets/images/pages/gallery/upload-n4-bar",alt:"The Turkuaz bar with gold shelving and teal tiles",category:"interior"},{id:"g7",src:"/airo-assets/images/pages/gallery/upload-n3-awning",alt:"Turkuaz Brasserie blue awning",category:"interior"},{id:"g8",src:"/airo-assets/images/pages/gallery/upload-n2-exterior",alt:"Turkuaz Brasserie exterior with outdoor seating",category:"interior"},{id:"g9",src:"/airo-assets/images/pages/gallery/upload-n1-dining",alt:"Guests dining inside Turkuaz Brasserie",category:"interior"},{id:"g10",src:"/airo-assets/images/pages/gallery/upload-dsc8482-wings",alt:"Grilled chicken wings with pomegranate salad",category:"food"},{id:"g11",src:"/airo-assets/images/pages/gallery/upload-dsc8479-casserole",alt:"Chicken and pepper casserole in a cast iron pan with bread",category:"food"},{id:"g12",src:"/airo-assets/images/pages/gallery/upload-dsc8477-curry-bowl",alt:"Spiced chicken in tomato sauce with roasted tomatoes",category:"food"},{id:"g13",src:"/airo-assets/images/pages/gallery/upload-dsc8498-cheesecake-slice",alt:"Cheesecake slice with caramel drizzle and cream",category:"food"},{id:"g14",src:"/airo-assets/images/pages/gallery/upload-dsc8494-chicken-rice",alt:"Braised chicken in tomato sauce with steamed rice",category:"food"},{id:"g15",src:"/airo-assets/images/pages/gallery/upload-n14-cheesecake-whole",alt:"Caramel cheesecake with whipped cream on a blue plate",category:"food"},{id:"g16",src:"/airo-assets/images/pages/gallery/upload-2-salad",alt:"Fresh tomato and cucumber salad with lemon",category:"food"},{id:"g17",src:"/airo-assets/images/pages/gallery/upload-n11-yogurt-meat",alt:"Spiced lamb with yogurt, pine nuts and herbs",category:"food"},{id:"g18",src:"/airo-assets/images/pages/gallery/upload-10-dip",alt:"Creamy yogurt dip with pomegranate and herbs",category:"food"},{id:"g19",src:"/airo-assets/images/pages/gallery/upload-dsc8335-interior",alt:"Turkuaz Brasserie vaulted dining room with gold accents",category:"interior"},{id:"g20",src:"/airo-assets/images/pages/gallery/upload-dsc8417-full-breakfast",alt:"Full English and American breakfast plates on blue ceramic",category:"food"},{id:"g21",src:"/airo-assets/images/pages/gallery/upload-dsc8427-eggs-benedict-close",alt:"Eggs Benedict with smoked salmon and hollandaise, close up",category:"food"},{id:"g22",src:"/airo-assets/images/pages/gallery/upload-dsc8424-eggs-benedict-wide",alt:"Eggs Benedict with smoked salmon and fresh salad",category:"food"},{id:"g23",src:"/airo-assets/images/pages/gallery/upload-dsc8419-breakfast-plate",alt:"Full breakfast with beans, mushrooms, bacon and toast",category:"food"},{id:"g24",src:"/airo-assets/images/pages/gallery/upload-dsc8442-grilled-meat-rice",alt:"Grilled meat skewers with rice and pomegranate salad",category:"food"},{id:"g25",src:"/airo-assets/images/pages/gallery/upload-dsc8434-flatbread-dips",alt:"Grilled flatbread with tabbouleh and yogurt dip",category:"food"},{id:"g26",src:"/airo-assets/images/pages/gallery/upload-dsc8429-eggs-benedict-macro",alt:"Eggs Benedict with smoked salmon, hollandaise and mixed salad",category:"food"},{id:"g27",src:"/airo-assets/images/pages/gallery/upload-dsc8471-lamb-chops",alt:"Grilled lamb chops with pomegranate and herb salad",category:"food"},{id:"g28",src:"/airo-assets/images/pages/gallery/upload-dsc8465-pancakes",alt:"Pancakes with honey, Nutella, fruit and yogurt",category:"food"}]}),home:(((kx=fa.pages)==null?void 0:kx.home)??fa.home??Zl).parse({hero:{strapline:"Turkish & Mediterranean · Highgate, London",cta_primary:"View Menus",cta_secondary:"Book a Table"},about:{eyebrow:"Our Story",heading:"A neighbourhood brasserie with a Mediterranean soul",body:[{id:"ab1",text:"Tucked into the leafy streets of Highgate, Turkuaz Brasserie brings the warmth and colour of the Turkish and Mediterranean table to North London."},{id:"ab2",text:"From vibrant mezze and charcoal-grilled favourites to all-day breakfasts and handcrafted cocktails — every visit feels like a long, unhurried lunch in the sun."},{id:"ab3",text:"Come as you are. Stay as long as you like."}],cta:"View Our Menus"},highlights:[{id:"h1",label:"Mezze",description:"Small plates, big flavours — share the table."},{id:"h2",label:"Grills",description:"Charcoal-fired meats, cooked to perfection."},{id:"h3",label:"Cocktails",description:"Handcrafted drinks for every occasion."},{id:"h4",label:"Breakfast",description:"A proper breakfast, all day long."}],neighbourhood_callout:"A taste of the Mediterranean in the heart of Highgate.",gallery_heading:"A Feast for the Eyes",gallery_cta:"View Full Gallery",visit:{heading:"Come & Find Us",address:"6 South Grove, London N6 6BS",phone:"020 8292 2370",website:"www.turkuazbrasserie.co.uk",book_cta:"Book a Table"}}),menus:(((Mx=fa.pages)==null?void 0:Mx.menus)??fa.menus??Zl).parse({eyebrow:"Our Menus",heading:"Something for Every Occasion",intro:"From a leisurely Turkish breakfast to an evening feast or a takeaway at home — explore everything Turkuaz has to offer.",menus:[{id:"m1",title:"Breakfast and Day Menu",description:"Start your day the Turkish way. Our breakfast menu features traditional spreads, eggs dishes, pastries and more — served every morning.",pdf:"/data/Turkishbreakfast.pdf",badge:"Served daily"},{id:"m2",title:"Evening Menu",description:"A celebration of Turkish and Mediterranean flavours. Mezze, grills, mains and desserts crafted with care for a memorable evening.",pdf:"/data/EveningMenu.pdf",badge:"Dinner"},{id:"m3",title:"Takeaway Menu",description:"Bring the Turkuaz experience home. Our full takeaway selection is available for collection — all your favourites, ready to go.",pdf:"/data/TakeawayMenu.pdf",badge:"Collection"}]})};var jx;const UN={posts:(((jx=fa.data)==null?void 0:jx.posts)??fa.posts??Zl).parse([{id:"turkish-food-highgate",slug:"turkish-food-highgate",title:"Turkish Food in Highgate: Discover Turkuaz Brasserie",excerpt:"If you are searching for Turkish food in Highgate, Turkuaz Brasserie offers a welcoming dining experience where traditional Turkish flavours meet the relaxed atmosphere of a modern brasserie.",date:"2026-09-20",image:"/airo-assets/images/posts/turkish-food-highgate/hero",imageAlt:"Charcoal-gr
278illed lamb chops with pomegranate salad at Turkuaz Brasserie Highgate",sections:[{id:"s1",heading:"Authentic Turkish Cuisine in Highgate",body:[{id:"p1",text:"Turkish food combines influences from the Mediterranean, Middle East and Anatolia, creating a diverse cuisine with something to suit every taste."},{id:"p2",text:"From freshly prepared mezze and traditional appetisers to charcoal-grilled meats, Turkish cuisine is perfect for both casual dining and special occasions. At Turkuaz Brasserie, our menu celebrates these traditional flavours while providing a contemporary dining experience."},{id:"p3",text:"Whether you are looking for a relaxed lunch, a family dinner or an evening meal with friends, our Turkish menu offers a variety of dishes to enjoy and share."}]},{id:"s2",heading:"Turkish Mezze: Perfect for Sharing",body:[{id:"p4",text:"One of the most enjoyable parts of Turkish dining is mezze. These small, flavourful dishes are traditionally served to share, allowing guests to experience several different tastes during one meal."},{id:"p5",text:"Turkish mezze can include fresh salads, dips, vegetables and other delicious appetisers. Sharing mezze around the table creates a social dining experience that is perfect for families, groups and friends."},{id:"p6",text:"At Turkuaz Brasserie Highgate, guests can explore a selection of Mediterranean and Turkish flavours and create their own combination of dishes."}]},{id:"s3",heading:"Traditional Turkish Grilled Food",body:[{id:"p7",text:"Turkish cuisine is particularly famous for its charc
278oal-grilled dishes. From succulent kebabs and grilled meats to chicken and other specialities, cooking over charcoal gives Turkish food its distinctive smoky flavour."},{id:"p8",text:"Our grilled dishes are prepared with carefully selected ingredients and cooked to order, making them a popular choice for anyone looking for authentic Turkish grilled food in Highgate."},{id:"p9",text:"Whether you enjoy kebabs, grilled chicken or other Turkish specialities, Turkuaz Brasserie offers a delicious way to experience the flavours of Turkish cuisine."}]},{id:"s4",heading:"Turkish and Mediterranean Flavours",body:[{id:"p10",text:"Turkish cuisine shares many characteristics with the wider Mediterranean culinary tradition. Fresh vegetables, herbs, olive oil, grilled meats and seafood all play an important role."},{id:"p11",text:"This combination makes Turkish food a great choice for anyone who enjoys Mediterranean cuisine in Highgate. At Turkuaz Brasserie, our menu brings together Turkish and Mediterranean influences, giving guests a wide selection of fresh and flavourful dishes."}]},{id:"s5",heading:"A Turkish Restaurant for Every Occasion",body:[{id:"p12",text:"Turkuaz Brasserie is a great destination for different occasions. Whether you are meeting friends, enjoying a family meal, celebrating a special occasion or simply looking for a delicious dinner in Highgate, our restaurant provides a relaxed and welcoming environment."},{id:"p13",text:"With sharing dishes, mezze and grilled specialities, Turkish dining is naturally suited to groups and social occasions."}]},{id:"s6",heading:"Experience Turkish Food in Highgate",body:[{id:"p14",text:"If you are looking for a Turkish restaurant in Highgate, Turkuaz Brasserie invites you to discover the flavours and traditions of Turkish cuisine."},{id:"p15",text:"Enjoy delicious Turkish food, Mediterranean-inspired dishes, fresh mezze and charcoal-grilled specialities in a welcoming North London setting."},{id:"p16",text:"Visit Turkuaz Brasserie Highgate and discover why Turkish cuisine is loved for its fresh ingredients, generous flavours and tradition of bringing people together around the table."}]}]},{id:"mediterranean-food-highgate",slug:"mediterranean-food-highgate",title:"Mediterranean Food in Highgate: Discover Turkuaz Brasserie",excerpt:"If you are looking for a Mediterranean restaurant in Highgate offering fresh flavours, delicious grilled dishes and a welcoming atmosphere, Turkuaz Brasserie is the perfect place.",date:"2026-09-20",image:"/airo-assets/images/posts/mediterranean-food-highgate/hero",imageAlt:"Charcoal-grilled meat skewers with rice and fresh salad at Turkuaz Brasserie",sections:[{id:"s1",heading:"Authentic Mediterranean Food in Highgate",body:[{id:"p1",text:"Mediterranean cuisine is known for its fresh ingredients, colourful dishes and balanced flavours. From freshly prepared mezze and seasonal vegetables to charcoal-grilled meats and seafood, Mediterranean food offers something for everyone."},{id:"p2",text:"At Turkuaz Brasserie, our menu includes a selection of Mediterranean dishes, prepared with carefully selected ingredients and traditional cooking techniques. Whether you are joining us for lunch, dinner or a relaxed meal with friends and family, you can enjoy a variety of flavours inspired by the Mediterranean."},{id:"p3",text:"Our dishes are ideal for sharing, making Turkuaz Brasserie a great choice for family meals, celebrations, business lunches and evenings with friends."}]},{id:"s2",heading:"Turkish and Mediterranean Flavours",body:[{id:"p4",text:"Turkish cuisine is an important part of the wider Mediterranean culinary tradition, combining fresh vegetables, herbs, spices, olive oil, grilled meats and traditional recipes."},{id:"p5",text:"At Turkuaz Brasserie, guests can discover the flavours of Turkish and Mediterranean cuisine in Highgate, with dishes designed to bring people together around the table."},{id:"p6",text:"From delicious mezze and appetisers to expertly grilled dishes, every meal is an opportunity to experience the flavours and hospitality of the Mediterranean."}]},{id:"s3",heading:"Fresh Mediterranean Mezze",body:[{id:"p7",text:"No Mediterranean dining experience is complete without mezze. These small dishes are perfect for sharing and allow you to enjoy a selection of different flavours during one meal."},{id:"p8",text:"Mediterranean mezze can include dips, salads, vegetables, cheeses and other traditional appetisers. Sharing several dishes with your table makes mezze an ideal choice when dining with family or friends."},{id:"p9",text:"Whether you prefer vegetarian dishes, grilled specialities or traditional Turkish flavours, our menu provides plenty of choices to explore."}]},{id:"s4",heading:"Charcoal-Grilled Mediterranean Dishes",body:[{id:"p10",text:"Charcoal grilling is an important part of Mediterranean and Turkish cuisine. Cooking meat, chicken and other ingredients over charcoal creates a distinctive smoky flavour while allowing the natural taste of the ingredients to shine."},{id:"p11",text:"At Turkuaz Brasserie, our grilled dishes are prepared to order, making them a popular choice for guests looking for a satisfying Mediterranean meal in Highgate."}]},{id:"s5",heading:"Mediterranean Dining for Every Occasion",body:[{id:"p12",text:"Turkuaz Brasserie is suitable for a wide range of occasions. Whether you are planning a casual lunch, a family dinner, a special celebration or an evening meal with friends, our welcoming restaurant provides a relaxed setting to enjoy Mediterranean food."},{id:"p13",text:"Our sharing-style dishes also make it easy for groups to try different flavours and create a memorable dining experience together."}]},{id:"s6",heading:"Visit Turkuaz Brasserie in Highgate",body:[{id:"p14",text:"If you are searching for Mediterranean food in Highgate, Turkish food in Highgate, or a welcoming Mediterranean restaurant in North London, Turkuaz Brasserie inv
278ites you to discover our menu."},{id:"p15",text:"Enjoy fresh ingredients, traditional Mediterranean flavours and delicious Turkish-inspired dishes in a relaxed brasserie setting. Visit Turkuaz Brasserie Highgate and experience the flavours of the Mediterranean in the heart of North London."}]}]}])},$a=Ac.contact,Hl=Ac.gallery,Ft=Ac.home,Gu=Ac.menus,cp=UN.posts,HN=["/airo-assets/images/pages/home/mezze","/airo-assets/images/pages/home/grills","/airo-assets/images/pages/home/cocktails","/airo-assets/images/pages/home/breakfast"],GN=["/airo-assets/images/pages/home/gallery-1","/airo-assets/images/pages/home/gallery-2","/airo-assets/images/pages/home/gallery-3"],Lt={hidden:{opacity:0,y:32},visible:{opacity:1,y:0,transition:{duration:.7,ease:"easeOut"}}},gr={hidden:{},visible:{transition:{staggerChildren:.15}}};function KN(){const t="https://www.turkuazbrasserie.co.uk",n=`${t}/og-image.jpg`,i={"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":`${t}/#website`,name:"Turkuaz Brasserie",url:`${t}/`},{"@type":["Restaurant","FoodEstablishment"],"@id":`${t}/#organization`,name:"Turkuaz Brasserie",url:`${t}/`,logo:`${t}/airo-assets/images/logo/horizontal`,image:n,description:"Turkuaz Brasserie is a Turkish and Mediterranean restaurant and lounge in Highgate, London. Renowned for mezze, kebab, charcoal grills, burgers, all-day breakfast, fine dining and handcrafted cocktails in a relaxed brasserie setting.",servesCuisine:["Turkish","Mediterranean","Middle Eastern","Kebab","Mezze","Grills","Breakfast","Cocktails"],keywords:"Turkish restaurant Highgate, Mediterranean restaurant London, mezze, kebab, grills, burgers, cocktails, breakfast, fine dining, lounge, Turkuaz Brasserie, N6",priceRange:"££",telephone:"+442082922370",email:"[email protected]",address:{"@type":"PostalAddress",streetAddress:"6 South Grove",addressLocality:"Highgate",addressRegion:"London",postalCode:"N6 6BS",addressCountry:"GB"},geo:{"@type":"GeoCoordinates",latitude:51.5714,longitude:-.1469},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday"],opens:"09:00",closes:"22:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Friday","Saturday"],opens:"09:00",closes:"23:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Sunday"],opens:"09:00",closes:"21:00"}],hasMenu:`${t}/menus`,reservations:"https://book.turkuazbrasserie.co.uk/",acceptsReservations:!0,sameAs:["https://www.facebook.com/turkuazbrasserie","https://www.instagram.com/turkuazbrasserie","https://www.tripadvisor.co.uk/Restaurant_Review-g186338-d3210640-Reviews-Turkuaz_Brasserie-London_England.html"]},{"@type":"WebPage","@id":`${t}/#webpage`,url:`${t}/`,name:"Turkuaz Brasserie — Turkish & Mediterranean Restaurant, Highgate London",isPartOf:{"@id":`${t}/#website`},about:{"@id":`${t}/#organization`},datePublished:"2026-09-18",dateModified:"2026-09-19"}]};return y.jsxs(y.Fragment,{children:[y.jsxs(Pi,{children:[y.jsx("title",{children:"Mediterranean Restaurant in Highgate | Turkuaz Brasserie"}),y.jsx("meta",{name:"description",content:"Discover Turkuaz Brasserie, a Mediterranean restaurant in Highgate serving delicious Turkish cuisine, fresh mezze, grilled dishes and Mediterranean flavours in North London."}),y.jsx("link",{rel:"canonical",href:t}),y.jsx("meta",{property:"og:title",content:"Turkuaz Brasserie — Kebab, Mezze, Grills & Cocktails | Highgate London"}),y.jsx("meta",{property:"og:description",content:"Mezze, kebab, charcoal grills, burgers, all-day breakfast and handcrafted cocktails in the heart of Highgate, London."}),y.jsx("meta",{property:"og:type",content:"restaurant"}),y.jsx("meta",{property:"og:url",content:t}),y.jsx("meta",{property:"og:image",content:n}),y.jsx("meta",{property:"og:locale",content:"en_GB"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:"Turkuaz Brasserie — Kebab, Mezze, Grills & Cocktails | Highgate London"}),y.jsx("meta",{name:"twitter:description",content:"Mezze, kebab, charcoal grills, burgers, all-day breakfast and handcrafted cocktails in the heart of Highgate, London."}),y.jsx("meta",{name:"twitter:image",content:n}),y.jsx("meta",{name:"keywords",content:"Turkish restaurant Highgate, Mediterranean restaurant London, mezze, kebab, grills, burgers, cocktails, breakfast, fine dining, lounge, Turkuaz Brasserie, N6, Highgate restaurant"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(i).replace(/</g,"\\u003c")})]}),y.jsxs("main",{children:[y.jsxs("section",{className:"relative min-h-[90vh] flex items-center justify-center overflow-hidden",children:[y.jsx(ce.div,{className:"absolute inset-0",initial:{scale:1.06},animate:{scale:1},transition:{duration:8,ease:"easeOut"},children:y.jsx("img",{src:"/airo-assets/images/pages/home/hero",alt:"Turkuaz Brasserie — Turkish and Mediterranean restaurant in Highgate",className:"w-full h-full object-cover",fetchPriority:"high",loading:"eager",width:1920,height:1080})}),y.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent pointer-events-none"}),y.jsxs("div",{className:"relative z-10 text-center text-white px-6 max-w-3xl mx-auto flex flex-col items-center gap-6",children:[y.jsx(ce.img,{src:"/airo-assets/images/logo/horizontal",alt:"Turkuaz Brasserie",className:"block h-auto max-h-24 md:max-h-32 w-auto max-w-[280px] md:max-w-[360px] object-contain drop-shadow-lg",initial:{opacity:0,y:-20}
278,animate:{opacity:1,y:0},transition:{duration:1,ease:"easeOut"}}),y.jsx(ce.p,{className:"text-base md:text-lg tracking-[0.2em] uppercase font-light text-white/90",initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.4},"data-dev-bound-text":"true","data-dev-id":"hero01","data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"352552",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.hero.strapline",contentKeyTemplate:null,expressionHash:null},children:Ft.hero.strapline})}),y.jsxs(ce.div,{className:"flex flex-col sm:flex-row gap-4 mt-2",initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.8,delay:.7},children:[y.jsx(Xt,{to:"/menus",className:"px-8 py-3.5 bg-primary text-primary-foreground text-sm font-medium tracking-widest uppercase hover:bg-primary/90 transition-colors duration-200",children:Ft.hero.cta_primary}),y.jsx("a",{href:"https://online.turkuazbrasserie.co.uk/",target:"_blank",rel:"noopener noreferrer",className:"px-8 py-3.5 bg-secondary text-white text-sm font-medium tracking-widest uppercase hover:bg-secondary/90 transition-colors duration-200",children:"Order Online"}),y.jsx("a",{href:"https://book.turkuazbrasserie.co.uk/",target:"_blank",rel:"noopener noreferrer",className:"px-8 py-3.5 border-2 border-secondary text-white text-sm font-medium tracking-widest uppercase hover:bg-secondary hover:text-white transition-colors duration-200",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"a8a818",guard:{file:"src/pages/index.tsx",tagName:"a",sourceKind:"content-key",contentKey:"home.hero.cta_secondary",contentKeyTemplate:null,expressionHash:null},children:Ft.hero.cta_secondary})})]})]})]}),y.jsx("section",{className:"bg-white py-24 md:py-32",children:y.jsx("div",{className:"max-w-7xl mx-auto px-6",children:y.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 md:gap-20 items-center",children:[y.jsxs(ce.div,{className:"flex flex-col gap-6",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},variants:gr,children:[y.jsx(ce.p,{variants:Lt,className:"text-xs font-semibold tracking-widest uppercase text-secondary","data-dev-bound-text":"true","data-dev-id":"ab_ey","data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"599f1e",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.about.eyebrow",contentKeyTemplate:null,expressionHash:null},children:Ft.about.eyebrow})}),y.jsx(ce.h1,{variants:Lt,className:"font-heading text-4xl md:text-5xl leading-tight text-foreground","data-dev-bound-text":"true","data-dev-id":"ab_h1","data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"8959e7",guard:{file:"src/pages/index.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"home.about.heading",contentKeyTemplate:null,expressionHash:null},children:Ft.about.heading})}),y.jsx("div",{className:"w-12 h-0.5 bg-accent"}),y.jsx(ce.div,{variants:Lt,className:"flex flex-col gap-4",children:Ft.about.body.map(s=>y.jsx("p",{className:"text-muted-foreground text-base md:text-lg leading-relaxed",style:{whiteSpace:"pre-line"},children:s.text},s.id))}),y.jsx(ce.div,{variants:Lt,children:y.jsx(Xt,{to:"/menus",className:"inline-block mt-2 px-7 py-3.5 bg-primary text-primary-foreground text-sm font-medium tracking-widest uppercase hover:bg-primary/90 transition-colors duration-200","data-dev-bound-text":"true","data-dev-id":"ab_ct","data-dev-file":"/app/src/pages/index.tsx",children:Ft.about.cta})})]}),y.jsxs(ce.div,{className:"relative overflow-hidden",initial:{opacity:0,x:40},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.3},transition:{duration:.8,ease:"easeOut"},children:[y.jsx("img",{src:"/airo-assets/images/pages/home/about",alt:"Elegant dining room at Turkuaz Brasserie",className:"w-full h-[500px] md:h-[620px] object-cover",loading:"lazy",width:800,height:620}),y.jsx("div",{className:"absolute bottom-0 left-0 w-16 h-1 bg-secondary"})]})]})})}),y.jsx("section",{className:"py-24 md:py-32",style:{background:"hsl(var(--muted))"},children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[y.jsxs(ce.div,{className:"text-center mb-16",initial:"hidden",
278whileInView:"visible",viewport:{once:!0,amount:.3},variants:Lt,children:[y.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-3",children:"What We Do"}),y.jsx("h2",{className:"font-heading text-4xl md:text-5xl text-foreground",children:"Something for every moment"})]}),y.jsx(ce.div,{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},variants:gr,children:Ft.highlights.map((s,o)=>y.jsxs(ce.div,{variants:Lt,className:"group relative overflow-hidden bg-white",children:[y.jsx("div",{className:"overflow-hidden",children:y.jsx("img",{src:HN[o],alt:s.label,className:"w-full h-64 object-cover transition-transform duration-700 group-hover:scale-105",loading:"lazy",width:400,height:256})}),y.jsxs("div",{className:"p-6",children:[y.jsx("div",{className:"w-8 h-0.5 bg-accent mb-3"}),y.jsx("h3",{className:"font-heading text-2xl text-foreground mb-2","data-dev-bound-text":"true","data-dev-id":`hl_lb${o}`,"data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:s.label}),y.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed","data-dev-bound-text":"true","data-dev-id":`hl_ds${o}`,"data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:s.description})]})]},s.id))})]})}),y.jsx("section",{className:"bg-white py-20 md:py-28",children:y.jsx("div",{className:"max-w-5xl mx-auto px-6 text-center",children:y.jsxs(ce.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.5},variants:Lt,children:[y.jsx("div",{className:"w-24 h-px bg-secondary mx-auto mb-10"}),y.jsxs("blockquote",{className:"font-heading text-3xl md:text-5xl lg:text-6xl leading-tight text-foreground italic","data-dev-bound-text":"true","data-dev-id":"nb_qt","data-dev-file":"/app/src/pages/index.tsx",children:['"',Ft.neighbourhood_callout,'"']}),y.jsx("div",{className:"w-24 h-px bg-secondary mx-auto mt-10"})]})})}),y.jsx("section",{className:"py-24 md:py-32",style:{background:"hsl(var(--muted))"},children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[y.jsxs(ce.div,{className:"flex flex-col md:flex-row md:items-end justify-between gap-6 mb-12",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},variants:gr,children:[y.jsxs("div",{children:[y.jsx(ce.p,{variants:Lt,className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-3",children:"Gallery"}),y.jsx(ce.h2,{variants:Lt,className:"font-heading text-4xl md:text-5xl text-foreground","data-dev-bound-text":"true","data-dev-id":"gl_hd","data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"046d8b",guard:{file:"src/pages/index.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"home.gallery_heading",contentKeyTemplate:null,expressionHash:null},children:Ft.gallery_heading})})]}),y.jsx(ce.div,{variants:Lt,children:y.jsx(Xt,{to:"/gallery",className:"inline-block px-7 py-3.5 border-2 border-primary text-primary text-sm font-medium tracking-widest uppercase hover:bg-primary hover:text-primary-foreground transition-colors duration-200","data-dev-bound-text":"true","data-dev-id":"gl_ct","data-dev-file":"/app/src/pages/index.tsx",children:Ft.gallery_cta})})]}),y.jsx(ce.div,{className:"grid grid-cols-1 md:grid-cols-3 gap-4",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},variants:gr,children:GN.map((s,o)=>y.jsx(ce.div,{variants:Lt,className:"overflow-hidden group",children:y.jsx("img",{src:s,alt:`Turkuaz Brasserie gallery image ${o+1}`,className:"w-full h-64 md:h-80 object-cover transition-transform duration-700 group-hover:scale-105",loading:"lazy",width:600,height:320})},o))})]})}),y.jsx(fN,{reviews:[{reviewId:"r1",reviewer:{displayName:"Omur Amy Dugan"},starRating:"FIVE",comment:"Wow! The food was amazing and soooo tasty. Me and my partner had sea bass and chicken cubes. The quality of the food was really good and the meat was very juicy. We also liked the atmosphere, such a big place with lots of nice seats to choose, it's like a maze inside with a secret little garden. Definitely visit and have a meal there!!!",createTime:"2026-08-10T12:00:00Z",updateTime:"2026-08-10T12:00:00Z"},{reviewId:"r2",reviewer:{displayName:"Mayya"},starRating:"FIVE",comment:"The food here is delicious! I had the most delicious lamb shish in the world. The Turkish coffee and baklava were amazing.",createTime:"2026-07-22T12:00:00Z",updateTime:"2026-07-22T12:00:00Z"},{reviewId:"r3",reviewer:{displayName:"Kyle Misk"},starRating:"FIVE",comment:"What an incredible place… in all honesty - one of the best restaurants we've been to.. the food is truly excellent, great portions and you can feel that it's made with a lot of love (huge c
278ompliments to the chef!)",createTime:"2026-06-15T12:00:00Z",updateTime:"2026-06-15T12:00:00Z"}],title:"What Our Guests Say",maxVisible:3,className:"bg-muted"}),y.jsx("section",{className:"bg-primary py-20 md:py-28",children:y.jsx("div",{className:"max-w-7xl mx-auto px-6",children:y.jsxs(ce.div,{className:"grid grid-cols-1 md:grid-cols-3 gap-10 md:gap-16 items-start",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},variants:gr,children:[y.jsxs(ce.div,{variants:Lt,className:"md:col-span-1",children:[y.jsx("h2",{className:"font-heading text-4xl md:text-5xl text-white leading-tight","data-dev-bound-text":"true","data-dev-id":"vs_hd","data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"eb33ac",guard:{file:"src/pages/index.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"home.visit.heading",contentKeyTemplate:null,expressionHash:null},children:Ft.visit.heading})}),y.jsx("div",{className:"w-12 h-0.5 bg-secondary mt-6"})]}),y.jsxs(ce.div,{variants:Lt,className:"flex flex-col gap-5",children:[y.jsxs("div",{children:[y.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-2",children:"Address"}),y.jsx("address",{className:"not-italic text-white/80 text-base leading-relaxed",children:y.jsx("span",{"data-dev-bound-text":"true","data-dev-id":"vs_ad","data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"8542d0",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.visit.address",contentKeyTemplate:null,expressionHash:null},children:Ft.visit.address})})})]}),y.jsxs("div",{children:[y.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-2",children:"Phone"}),y.jsx("a",{href:"tel:02082922370",className:"text-white/80 hover:text-white text-base transition-colors","data-dev-bound-text":"true","data-dev-id":"vs_ph","data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"1300a9",guard:{file:"src/pages/index.tsx",tagName:"a",sourceKind:"content-key",contentKey:"home.visit.phone",contentKeyTemplate:null,expressionHash:null},children:Ft.visit.phone})})]}),y.jsxs("div",{children:[y.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-2",children:"Website"}),y.jsx("a",{href:"https://www.turkuazbrasserie.co.uk",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 hover:text-white text-base transition-colors","data-dev-bound-text":"true","data-dev-id":"vs_wb","data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"25192a",guard:{file:"src/pages/index.tsx",tagName:"a",sourceKind:"content-key",contentKey:"home.visit.website",contentKeyTemplate:null,expressionHash:null},children:Ft.visit.website})})]})]}),y.jsxs(ce.div,{variants:Lt,className:"flex flex-col gap-4",children:[y.jsx("p",{className:"text-white/70 text-base leading-relaxed",children:"Nestled in the leafy streets of Highgate, we're easy to reach and always worth the journey."}),y.jsx("a",{href:"https://book.turkuazbrasserie.co.uk/",target:"_blank",rel:"noopener noreferrer",className:"inline-block mt-2 px-7 py-3.5 bg-secondary text-white text-sm font-medium tracking-widest uppercase hover:bg-secondary/90 transition-colors duration-200 self-start","data-dev-bound-text":"true","data-dev-id":"vs_ct","data-dev-file":"/app/src/pages/index.tsx",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"78c555",guard:{file:"src/pages/index.tsx",tagName:"a",sourceKind:"content-key",contentKey:"home.visit.book_cta",contentKeyTemplate:null,expressionHash:null},children:Ft.visit.book_cta})})]})]})})}),y.jsx("section",{className:"py-xxl bg-muted",children:y.jsxs("div",{className:"max-w-content mx-auto px-6",children:[y.jsxs(ce.div,{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-6 mb-12",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},variants:gr,children:[y.jsxs("div",{children:[y.jsx(ce.p,{variants:Lt,className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-3",children:"From our kitchen"}),y.jsx(ce.h2,{variants:Lt,className:"font-heading text-4xl md:text-5xl text-foreground",children:"Latest Posts"})]}),y.jsx(ce.div,{variants:Lt,children:y.jsx(Xt,{to:"/posts",className:"inline-block px-7 py-3.5 border-2 border-primary text-primary text-sm font-medium tracking-widest uppercase hover:bg-primary hover:text-primary-foreground transition-colors duration-200",children:"View All Posts"})})]}),y.jsx(ce.div,{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-base",initial:"hidden",
278whileInView:"visible",viewport:{once:!0,amount:.2},variants:gr,children:cp.slice(0,3).map(s=>y.jsx(ce.article,{variants:Lt,className:"group bg-card rounded-xl overflow-hidden border border-border hover:shadow-lg transition-shadow duration-300",children:y.jsxs(Xt,{to:`/posts/${s.slug}`,className:"block",children:[y.jsx("div",{className:"aspect-[16/9] overflow-hidden",children:y.jsx("img",{src:s.image,alt:s.imageAlt,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy",width:640,height:360})}),y.jsxs("div",{className:"p-6",children:[y.jsx("time",{dateTime:s.date,className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-3 block",children:new Date(s.date).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})}),y.jsx("h3",{className:"font-heading text-xl text-foreground mb-3 leading-snug group-hover:text-primary transition-colors",style:{whiteSpace:"pre-line"},children:s.title}),y.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",style:{whiteSpace:"pre-line"},children:s.excerpt})]})]})},s.id))})]})})]})]})}const yh={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};function ZN(){return y.jsxs(y.Fragment,{children:[y.jsxs(Pi,{children:[y.jsx("title",{children:"Menus — Kebab, Mezze, Grills, Breakfast & Cocktails | Turkuaz Brasserie Highgate"}),y.jsx("meta",{name:"description",content:"Explore Turkuaz Brasserie's menus — Turkish breakfast, mezze, kebab, charcoal grills, burgers, fine dining and cocktails in Highgate, London. View or download our PDFs."}),y.jsx("link",{rel:"canonical",href:"https://www.turkuazbrasserie.co.uk/menus"}),y.jsx("meta",{property:"og:title",content:"Menus — Kebab, Mezze, Grills & Breakfast | Turkuaz Brasserie"}),y.jsx("meta",{property:"og:description",content:"Turkish breakfast, mezze, kebab, charcoal grills, burgers and cocktail menus at Turkuaz Brasserie, Highgate London."}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:"https://www.turkuazbrasserie.co.uk/menus"}),y.jsx("meta",{property:"og:image",content:"https://www.turkuazbrasserie.co.uk/og-image.jpg"}),y.jsx("meta",{property:"og:locale",content:"en_GB"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:"Menus — Kebab, Mezze, Grills & Breakfast | Turkuaz Brasserie"}),y.jsx("meta",{name:"twitter:description",content:"Turkish breakfast, mezze, kebab, charcoal grills, burgers and cocktail menus at Turkuaz Brasserie, Highgate London."}),y.jsx("meta",{name:"twitter:image",content:"https://www.turkuazbrasserie.co.uk/og-image.jpg"}),y.jsx("meta",{name:"keywords",content:"Turkish menu Highgate, mezze menu London, kebab menu, grills menu, breakfast menu, cocktail menu, fine dining menu, Turkuaz Brasserie menu"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebPage","@id":"https://www.turkuazbrasserie.co.uk/menus#webpage",name:"Menus — Turkuaz Brasserie",url:"https://www.turkuazbrasserie.co.uk/menus",isPartOf:{"@id":"https://www.turkuazbrasserie.co.uk/#website"},about:{"@id":"https://www.turkuazbrasserie.co.uk/#organization"},description:"Turkish breakfast, mezze, kebab, charcoal grills, burgers, fine dining and cocktail menus for Turkuaz Brasserie, Highgate London.",keywords:"mezze, kebab, grills, burgers, breakfast, cocktails, fine dining, lounge, Turkish menu, Mediterranean menu"}).replace(/</g,"\\u003c")})]}),y.jsx("section",{className:"pt-36 pb-14 bg-background text-center",children:y.jsxs(ce.div,{initial:"hidden",animate:"visible",variants:{visible:{transition:{staggerChildren:.1}}},className:"max-w-2xl mx-auto px-6",children:[y.jsx(ce.p,{variants:yh,className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-4",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"b0f08f",guard:{file:"src/pages/menus.tsx",tagName:"p",sourceKind:"content-key",contentKey:"menus.eyebrow",contentKeyTemplate:null,expressionHash:null},children:Gu.eyebrow})}),y.jsx(ce.h1,{variants:yh,className:"font-heading text-5xl md:text-6xl text-foreground mb-5",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"cad978",guard:{file:"src/pages/menus.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"menus.heading",contentKeyTemplate:null,expressionH
278ash:null},children:Gu.heading})}),y.jsx("div",{className:"w-12 h-0.5 bg-accent mx-auto mb-6"}),y.jsx(ce.p,{variants:yh,className:"text-muted-foreground text-lg leading-relaxed",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"b0f090",guard:{file:"src/pages/menus.tsx",tagName:"p",sourceKind:"content-key",contentKey:"menus.intro",contentKeyTemplate:null,expressionHash:null},children:Gu.intro})})]})}),y.jsx("section",{className:"pb-24 bg-background",children:y.jsx("div",{className:"max-w-5xl mx-auto px-6",children:y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:Gu.menus.map((t,n)=>y.jsxs(ce.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:n*.1,ease:"easeOut"},className:"flex flex-col border border-border bg-card",children:[y.jsx("div",{className:"h-1.5 bg-primary w-full"}),y.jsxs("div",{className:"flex flex-col flex-1 p-8 gap-6",children:[y.jsxs("div",{className:"flex items-start justify-between",children:[y.jsx("div",{className:"w-12 h-12 flex items-center justify-center bg-primary/10 text-primary",children:y.jsx(EM,{size:22})}),y.jsx("span",{className:"text-xs font-semibold tracking-widest uppercase text-secondary border border-secondary/40 px-3 py-1",style:{whiteSpace:"pre-line"},children:t.badge})]}),y.jsxs("div",{className:"flex-1",children:[y.jsx("h2",{className:"font-heading text-2xl text-foreground mb-3",style:{whiteSpace:"pre-line"},children:t.title}),y.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",style:{whiteSpace:"pre-line"},children:t.description})]}),y.jsxs("div",{className:"flex flex-col gap-3 pt-2 border-t border-border",children:[y.jsxs("a",{href:t.pdf,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 px-5 py-3 bg-primary text-primary-foreground text-xs font-semibold tracking-widest uppercase hover:bg-primary/90 transition-colors duration-200",children:[y.jsx(TM,{size:14}),"View Menu"]}),y.jsxs("a",{href:t.pdf,download:!0,className:"flex items-center justify-center gap-2 px-5 py-3 border border-primary text-primary text-xs font-semibold tracking-widest uppercase hover:bg-primary hover:text-primary-foreground transition-colors duration-200",children:[y.jsx(SM,{size:14}),"Download PDF"]})]})]})]},t.id))})})}),y.jsx("section",{className:"py-20",style:{background:"hsl(var(--primary))"},children:y.jsxs(ce.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},className:"max-w-2xl mx-auto px-6 text-center",children:[y.jsx("h2",{className:"font-heading text-4xl text-primary-foreground mb-4",children:"Ready to Dine With Us?"}),y.jsx("p",{className:"text-primary-foreground/80 text-lg mb-8",children:"Reserve your table at Turkuaz Brasserie and let us take care of the rest."}),y.jsx("a",{href:"https://book.turkuazbrasserie.co.uk/",target:"_blank",rel:"noopener noreferrer",className:"inline-block px-10 py-4 bg-white text-primary text-xs font-semibold tracking-widest uppercase hover:bg-white/90 transition-colors duration-200",children:"Book a Table"})]})})]})}const qN=[{id:"all",label:"All"},{id:"food",label:"Food & Mezze"},{id:"drinks",label:"Drinks"},{id:"interior",label:"The Restaurant"}],vh={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};function YN(){const[t,n]=E.useState("all");return y.jsxs(y.Fragment,{children:[y.jsxs(Pi,{children:[y.jsx("title",{children:"Gallery — Mezze, Kebab, Grills & Lounge | Turkuaz Brasserie Highgate London"}),y.jsx("meta",{name:"description",content:"Browse photos from Turkuaz Brasserie — mezze, kebab, charcoal grills, burgers, cocktails, breakfast and our warm lounge dining room in Highgate, London N6."}),y.jsx("link",{rel:"canonical",href:"https://www.turkuazbrasserie.co.uk/gallery"}),y.jsx("meta",{property:"og:title",content:"Gallery — Mezze, Kebab, Grills & Lounge | Turkuaz Brasserie"}),y.jsx("meta",{property:"og:description",content:"Photos of mezze, kebab, grills, cocktails, breakfast and our lounge dining room at Turkuaz Brasserie, Highgate London."}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:"https://www.turkuazbrasserie.co.uk/gallery"}),y.jsx("meta",{property:"og:image",content:"https://www.turkuazbrasserie.co.uk/og-image.jpg"}),y.jsx("meta",{property:"og:locale",content:"en_GB"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:"Gallery — Mezze, Kebab, Grills & Lounge | Turkuaz Brasserie"}),y.jsx("meta",{name:"twitter:description",content:"Photos of mezze, kebab, grills, cocktails, breakfast and our lounge dining room at Turkuaz Brasserie, Highgate London."}),y.jsx("meta",{name:"twitter:image",content:"https://www.turkuazbrasserie.co.uk/og-image.jpg"}),y.jsx("meta",{name:"keywords",content:"Turkuaz Brasserie gallery, mezze photos, kebab, grills, cocktails, breakfast, lou
278nge, fine dining, Highgate restaurant photos"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"ImageGallery","@id":"https://www.turkuazbrasserie.co.uk/gallery#webpage",name:"Gallery — Turkuaz Brasserie",url:"https://www.turkuazbrasserie.co.uk/gallery",isPartOf:{"@id":"https://www.turkuazbrasserie.co.uk/#website"},about:{"@id":"https://www.turkuazbrasserie.co.uk/#organization"},description:"Photos of mezze, kebab, charcoal grills, burgers, cocktails, breakfast and the lounge dining room at Turkuaz Brasserie, Highgate, London.",keywords:"mezze, kebab, grills, cocktails, breakfast, lounge, fine dining, Turkish restaurant photos"}).replace(/</g,"\\u003c")})]}),y.jsx("section",{className:"pt-36 pb-14 bg-background text-center",children:y.jsxs(ce.div,{initial:"hidden",animate:"visible",variants:{visible:{transition:{staggerChildren:.1}}},className:"max-w-3xl mx-auto px-6",children:[y.jsx(ce.p,{variants:vh,className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-4",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"dfef77",guard:{file:"src/pages/gallery.tsx",tagName:"p",sourceKind:"content-key",contentKey:"gallery.eyebrow",contentKeyTemplate:null,expressionHash:null},children:Hl.eyebrow})}),y.jsx(ce.h1,{variants:vh,className:"font-heading text-5xl md:text-6xl text-foreground mb-5",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"d9b560",guard:{file:"src/pages/gallery.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"gallery.heading",contentKeyTemplate:null,expressionHash:null},children:Hl.heading})}),y.jsx("div",{className:"w-12 h-0.5 bg-accent mx-auto mb-6"}),y.jsx(ce.p,{variants:vh,className:"text-muted-foreground text-lg leading-relaxed",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"dfef78",guard:{file:"src/pages/gallery.tsx",tagName:"p",sourceKind:"content-key",contentKey:"gallery.intro",contentKeyTemplate:null,expressionHash:null},children:Hl.intro})})]})}),y.jsx("section",{className:"pb-10 bg-background",children:y.jsx("div",{className:"max-w-6xl mx-auto px-6",children:y.jsx("div",{role:"group","aria-label":"Filter gallery by category",className:"flex flex-wrap justify-center gap-2",children:qN.map(i=>y.jsx("button",{onClick:()=>n(i.id),className:`px-5 py-2 text-xs font-semibold tracking-widest uppercase transition-colors duration-200 border ${t===i.id?"bg-primary text-primary-foreground border-primary":"bg-transparent text-foreground border-border hover:border-primary hover:text-primary"}`,children:i.label},i.id))})})}),y.jsx("section",{className:"pb-24 bg-background",children:y.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[Hl.images.length===0&&y.jsx("p",{className:"text-center text-muted-foreground py-16",children:"Photos coming soon."}),y.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:Hl.images.map((i,s)=>y.jsx(ce.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.4,delay:s*.04,ease:"easeOut"},className:`overflow-hidden group aspect-[4/3] bg-muted${t!=="all"&&i.category!==t?" hidden":""}`,children:y.jsx("img",{src:i.src,alt:i.alt,loading:s<6?"eager":"lazy",fetchPriority:s===0?"high":"auto",width:800,height:600,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"})},i.id))})]})})]})}function FN(){const[t,n]=E.useState("idle"),[i,s]=E.useState("");async function o(u){u.preventDefault();const d=u.currentTarget,h=new FormData(d);if(h.get("_gotcha"))return;const m=String(h.get("name")??"").trim(),p=String(h.get("email")??"").trim(),g=String(h.get("phone")??"").trim(),b=String(h.get("subject")??"").trim(),x=String(h.get("message")??"").trim();n("sending"),s("");try{const T=await(await fetch("/api/contact/contact-us",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({conversation:{messages_attributes:[{body:x||"New enquiry from website"}],data:{__gd_contact_form_title:"Contact Turkuaz Brasserie",...g?{"Phone Number":g}:{},...b?{Subject:b}:{}}},user:{email:p,name:m}})})).json();if(T.success)n("success"),d.reset();else throw new Error(T.error||"Something went wrong.")}catch(S){n("error"),s(S instanceof Error?S.message:"Something went wrong. Please try again.")}}return y.jsxs("form",{onSubmit:o,className:"flex flex-col gap-5",noValidate:!0,children:[y.jsx("input",{type:"text",name:"_gotcha",tabIndex:-1,autoComplete:"off",style:{position:"absolute",left:"-9999px"},"aria-hidden":"true"}),y.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[y.jsxs("div",{className:"flex flex-col gap-1.5",children:[y.jsxs("label",{htmlFor:"cf-name",className:"text-xs font-semibold tracking-widest uppercase text-foreground
278/70",children:["Name ",y.jsx("span",{className:"text-accent",children:"*"})]}),y.jsx("input",{id:"cf-name",name:"name",type:"text",required:!0,autoComplete:"name",placeholder:"Your name",className:"w-full border border-border bg-white px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-primary transition-colors"})]}),y.jsxs("div",{className:"flex flex-col gap-1.5",children:[y.jsxs("label",{htmlFor:"cf-email",className:"text-xs font-semibold tracking-widest uppercase text-foreground/70",children:["Email ",y.jsx("span",{className:"text-accent",children:"*"})]}),y.jsx("input",{id:"cf-email",name:"email",type:"email",required:!0,autoComplete:"email",placeholder:"[email protected]",className:"w-full border border-border bg-white px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-primary transition-colors"})]})]}),y.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[y.jsxs("div",{className:"flex flex-col gap-1.5",children:[y.jsx("label",{htmlFor:"cf-phone",className:"text-xs font-semibold tracking-widest uppercase text-foreground/70",children:"Phone"}),y.jsx("input",{id:"cf-phone",name:"phone",type:"tel",autoComplete:"tel",placeholder:"020 0000 0000",className:"w-full border border-border bg-white px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-primary transition-colors"})]}),y.jsxs("div",{className:"flex flex-col gap-1.5",children:[y.jsx("label",{htmlFor:"cf-subject",className:"text-xs font-semibold tracking-widest uppercase text-foreground/70",children:"Subject"}),y.jsxs("select",{id:"cf-subject",name:"subject",className:"w-full border border-border bg-white px-4 py-3 text-sm text-foreground focus:outline-none focus:border-primary transition-colors appearance-none",children:[y.jsx("option",{value:"",children:"Select a subject…"}),y.jsx("option",{value:"Table Reservation",children:"Table Reservation"}),y.jsx("option",{value:"Private Dining",children:"Private Dining"}),y.jsx("option",{value:"General Enquiry",children:"General Enquiry"}),y.jsx("option",{value:"Feedback",children:"Feedback"}),y.jsx("option",{value:"Other",children:"Other"})]})]})]}),y.jsxs("div",{className:"flex flex-col gap-1.5",children:[y.jsxs("label",{htmlFor:"cf-message",className:"text-xs font-semibold tracking-widest uppercase text-foreground/70",children:["Message ",y.jsx("span",{className:"text-accent",children:"*"})]}),y.jsx("textarea",{id:"cf-message",name:"message",rows:5,required:!0,placeholder:"How can we help you?",className:"w-full border border-border bg-white px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-primary transition-colors resize-none"})]}),t==="error"&&y.jsx("p",{role:"alert",className:"text-sm text-destructive",children:y.jsx(lt,{devId:"e9a3e0",guard:{file:"src/components/ContactForm.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:1c0238d2a5401216440d3a40ef09cf8a641cbbc703bbdb0cfe4af2625e4564c6"},children:i})}),y.jsx("div",{children:y.jsx("button",{type:"submit",disabled:t==="sending",className:"px-8 py-3.5 bg-primary text-primary-foreground text-sm font-medium tracking-widest uppercase hover:bg-primary/90 transition-colors duration-200 disabled:opacity-60 disabled:cursor-not-allowed",children:y.jsx(lt,{devId:"b97243",guard:{file:"src/components/ContactForm.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:35c459170381ed100b39b9d83ce97ee40a04369361ecc531fb720363d7b4fb3a"},children:t==="sending"?"Sending…":"Send Enquiry"})})}),t==="success"&&y.jsx("p",{role:"status",className:"text-sm font-medium text-primary",children:"Thank you — we'll be in touch shortly."})]})}const Ni={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};function PN(){return y.jsxs(y.Fragment,{children:[y.jsxs(Pi,{children:[y.jsx("title",{children:"Contact Us — Turkuaz Brasserie | Kebab, Mezze & Grills, Highgate London N6"}),y.jsx("meta",{name:"description",content:"Contact Turkuaz Brasserie — mezze, kebab, grills, burgers, cocktails, breakfast and fine dining lounge in Highgate. Visit 6 South Grove, London N6 6BS or call 020 8292 2370."}),y.jsx("link",{rel:"canonical",href:"https://www.turkuazbrasserie.co.uk/contact"}),y.jsx("meta",{property:"og:title",content:"Contact Us — Turkuaz Brasserie | Highgate, London N6 6BS"}),y.jsx("meta",{property:"og:description",content:"Visit us at 6 South Grove, Highgate, London N6 6BS. Mezze, kebab, grills, cocktails, breakfast and fine dining lounge."}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:"https://www.turkuazbrasserie.co.uk/contact"}),y.jsx("meta",{property:"og:image",content:"https://www.turkuazbrasserie.co.uk/og-image.jpg"}),y.jsx("meta",{property:"og:locale",content:"en_GB"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:"Contact Us — Turkuaz Brasserie | Highgate, London N6 6BS"}),y.jsx("meta",{name:"twitter:description",content:"Visit us at 6 South Grove, Highgate, London N6 6BS or call 020 8292 2370."}),y.jsx("meta",{name:"twitter:image",content:"https://www.turkuazbrasserie.co.uk/og-image.jpg"}),y.jsx("meta",{name:"keywords",content:"Turkuaz Brasserie contact, Turkish restaurant Highgate address, mezze, kebab, grills, cocktails, breakfast, fine dining, lounge, N6 6BS"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"ContactPage","@id":"https://www.turkuazbrasserie.co.uk/contact#webpage",name:"Contact Us — Turkuaz Brasserie",url:"https://www.turkuazbrasserie.co.uk/contact",isPartOf:{"@id":"https://www.turkuazbrasserie.co.uk/#website"},about:{"@id":"https://www.turkuazbrasserie.co.uk/#organization"},description:"Contact Turkuaz Brasserie — mezze, kebab, grills, cocktails, breakfast and fine dining lounge at 6 South Grove, Highgate, London N6 6BS."}).replace(/</g,"\\u003c")})]}),y.jsx("section",{className:"pt-36 pb-14 bg-background text-center",children:y.jsxs(ce.div,{initial:"hidden",animate:"visible",variants:{visible:{transition:{staggerChildren:.1}}},className:"max-w-2xl mx-auto px-6",children:[y.jsx(ce.p,{variants:Ni,className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-4",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"28db53",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"content-key",contentKey:"contact.eyebrow",contentKeyTemplate:null,expressionH
278ash:null},children:$a.eyebrow})}),y.jsx(ce.h1,{variants:Ni,className:"font-heading text-5xl md:text-6xl text-foreground mb-5",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"401cbc",guard:{file:"src/pages/contact.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"contact.heading",contentKeyTemplate:null,expressionHash:null},children:$a.heading})}),y.jsx("div",{className:"w-12 h-0.5 bg-accent mx-auto mb-6"}),y.jsx(ce.p,{variants:Ni,className:"text-muted-foreground text-lg leading-relaxed",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"28db54",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"content-key",contentKey:"contact.intro",contentKeyTemplate:null,expressionHash:null},children:$a.intro})})]})}),y.jsx("section",{className:"pb-24 bg-background",children:y.jsx("div",{className:"max-w-6xl mx-auto px-6",children:y.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16",children:[y.jsxs(ce.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:{visible:{transition:{staggerChildren:.1}}},className:"flex flex-col gap-8",children:[y.jsxs(ce.div,{variants:Ni,className:"flex gap-4",children:[y.jsx("div",{className:"w-10 h-10 shrink-0 flex items-center justify-center bg-primary/10 text-primary",children:y.jsx(kM,{size:18})}),y.jsxs("div",{children:[y.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-1",children:"Address"}),y.jsx("p",{className:"text-foreground leading-relaxed",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"464525",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"content-key",contentKey:"contact.address",contentKeyTemplate:null,expressionHash:null},children:$a.address})})]})]}),y.jsxs(ce.div,{variants:Ni,className:"flex gap-4",children:[y.jsx("div",{className:"w-10 h-10 shrink-0 flex items-center justify-center bg-primary/10 text-primary",children:y.jsx(jM,{size:18})}),y.jsxs("div",{children:[y.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-1",children:"Phone"}),y.jsx("a",{href:`tel:${$a.phone.replace(/\s/g,"")}`,className:"text-foreground hover:text-primary transition-colors",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"a2ba96",guard:{file:"src/pages/contact.tsx",tagName:"a",sourceKind:"content-key",contentKey:"contact.phone",contentKeyTemplate:null,expressionHash:null},children:$a.phone})})]})]}),y.jsxs(ce.div,{variants:Ni,className:"flex gap-4",children:[y.jsx("div",{className:"w-10 h-10 shrink-0 flex items-center justify-center bg-primary/10 text-primary",children:y.jsx(AM,{size:18})}),y.jsxs("div",{children:[y.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-1",children:"Website"}),y.jsx("a",{href:`https://${$a.website}`,target:"_blank",rel:"noopener noreferrer",className:"text-foreground hover:text-primary transition-colors",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"ff6fd7",guard:{file:"src/pages/contact.tsx",tagName:"a",sourceKind:"content-key",contentKey:"contact.website",contentKeyTemplate:null,expressionHash:null},children:$a.website})})]})]}),y.jsxs(ce.div,{variants:Ni,className:"flex gap-4",children:[y.jsx("div",{className:"w-10 h-10 shrink-0 flex items-center justify-center bg-primary/10 text-primary",children:y.jsx(wM,{size:18})}),y.jsxs("div",{children:[y.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-1",children:"Opening Hours"}),y.jsx("p",{className:"text-foreground",style:{whiteSpace:"pre-line"},children:y.jsx(lt,{devId:"5c64e8",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"content-key",contentKey:"contact.hours",contentKeyTemplate:null,expressionHash:null},children:$a.hours})})]})]}),y.jsx(ce.div,{variants:Ni,className:"w-full aspect-[4/3] overflow-hidden border border-border",children:y.jsx("iframe",{title:"Turkuaz Brasserie location map",src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2479.6!2d-0.1465!3d51.5718!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x48761b7c3b3b3b3b%3A0x0!2s6+South+Grove%2C+London+N6+6BS!5e0!3m2!1sen!2suk!4v1",width:"100%",height:"100%",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})})]}),y.jsxs(ce.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},children:[y.jsx("h2",{className:"font-heading text-3xl text-foreground mb-8",children:"Send Us a Message"}),y.jsx(FN,{})]})]})})})]})}function dS({field:t,className:n,children:i}){if(!t)return n?y.jsx("div",{className:n,children:i}):i;const s=E.Children.toArray(i);if(s.length===1&&E.isValidElement(s[0])){const u=s[0],d=E.Children.toArray(u.props.children);if(d.length>1){const h=d.map((m,p)=>bx(m,p));return y.jsx("div",{"data-dev-content-list":t,className:n,style:n?void 0:{display:"contents"},children:E.cloneElement(u,{},h)})}}const o=s.map((u,d)=>bx(u,d));return y.jsx("div",{"data-dev-content-list":t,className:n,style:n?void 0:{display:"contents"},children:o})}function bx(t,n){if(!E.isValidElement(t))return t;const i=t.props["data-dev-content-list-index"];return E.cloneElement(t,{"data-dev-content-list-index":i??n})}const bh={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}},Di="https://www.turkuazbrasserie.co.uk";function XN(){return y.jsxs(y.Fragment,{children:[y.jsxs(Pi,{children:[y.jsx("title",{children:"Posts — Mediterranean Restaurant in Highgate | Turkuaz Brasserie"}),y.jsx("meta",{name:"description",content:"Read the latest posts from Turkuaz Brasserie — Mediterranean food in Highgate, Turkish cuisine, mezze, grills and more from our kitchen in North London."}),y.jsx("link",{rel:"canonical",href:`${Di}/posts`}),y.jsx("meta",{property:"og:title",content:"Posts — Turkuaz Brasserie"}),y.jsx("meta",{property:"og:description",content:"Read the latest posts from Turkuaz Brasserie — Mediterranean food, Turkish cuisine, mezze and grills in Highgate, North London."}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:`${Di}/posts`}),y.jsx("meta",{property:"og:image",content:`${Di}/og-image.jpg`}),y.jsx("meta",{property:"og:locale",content:"en_GB"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:"Posts — Turkuaz Brasserie"}),y.jsx("meta",{name:"twitter:description",content:"Read the latest posts from Turkuaz Brasserie — Mediterranean food, Turkish cuisine, mezze and grills in Highgate."}),y.jsx("meta",{name:"twitter:image",content:`${Di}/og-image.jpg`}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"CollectionPage","@id":`${Di}/posts#webpage`,name:"Posts — Turkuaz Brasserie",url:`${Di}/posts`,isPartOf:{"@id":`${Di}/#website`},about:{"@id":`${Di}/#organization`},description:"Articles and posts about Mediterranean and Turkish food from Turkuaz Brasserie, Highgate, London."}).replace(/</g,"\\u003c")})]}),y.jsx("section",{className:"pt-36 pb-14 bg-background text-center",children:y.jsxs(ce.div,{initial:"hidden",animate:"visible",variants:{visible:{transition:{staggerChildren:.1}}},className:"max-w-2xl mx-auto px-6",children:[y.jsx(ce.p,{variants:bh,className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-4",children:"From our kitchen"}),y.jsx(ce.h1,{variants:bh,className:"font-heading text-5xl md:text-6xl text-foreground mb-5",children:"Posts"}),y.jsx("div",{className:"w-12 h-0.5 bg-accent mx-auto mb-6"}),y.jsx(ce.p,{variants:bh,className:"text-muted-foreground text-lg leading-relaxed",children:"Stories, guides and inspiration from Turkuaz Brasserie — exploring Mediterranean and Turkish food in the heart of Highgate."})]})}),y.jsx("section",{className:"py-xxl bg-background",children:y.jsx("div",{className:"max-w-content mx-auto px-6",children:y.jsx(dS,{field:"posts",children:y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-base",children:cp.map(t=>y.jsx(ce.article,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},className:"group bg-card rounded-xl overflow-hidden border border-border hover:shadow-lg transition-shadow duration-300",children:y.jsxs(Xt,{to:`/posts/${t.slug}`,className:"block",children:[y.jsx("div",{className:"aspect-[16/9] overflow-hidden",children:y.jsx("img",{src:t.image,alt:t.imageAlt,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy",width:640,height:360})}),y.jsxs("div",{className:"p-6",children:[y.jsx("time",{dateTime:t.date,className:"text-xs font-semibold tracking-widest uppercase text-secondary mb-3 block",children:new Date(t.date).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})}),y.jsx("h2",{className:"font-heading text-xl text-foreground mb-3 leading-snug group-hover:text-primary transition-colors",style:{whiteSpace:"pre-line"},children:t.title}),y.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-4",style:{whiteSpace:"pre-line"},children:t.excerpt}),y.jsxs("span",{className:"inline-flex items-center gap-1.5 text-sm font-semibold text-primary group-hover:gap-2.5 transition-all",children:["Read more ",y.jsx(bM,{className:"w-4 h-4"})]})]})]})},t.id))})})})})]})}const ua="https://www.turkuazbrasserie.co.uk";function QN(){const{slug:t}=mA();return y.jsx(dS,{field:"posts",children:cp.map(n=>y.jsxs("div",{className:n.slug===t?void 0:"hidden",children:[y.jsxs(Pi,{children:[y.jsxs("title",{children:[n.title," | Turkuaz Brasserie"]}),y.jsx("meta",{name:"description",content:n.excerpt}),y.jsx("link",{rel:"canonical",href:`${ua}/posts/${n.slug}`}),y.jsx("meta",{property:"og:title",content:n.title}),y.jsx("meta",{property:"og:description",content:n.excerpt}),y.jsx("meta",{property:"og:type",content:"article"}),y.jsx("meta",{property:"og:url",content:`${ua}/posts/${n.slug}`}),y.jsx("meta",{property:"og:image",content:`${ua}${n.image}`}),y.jsx("meta",{property:"og:locale",content:"en_GB"}),y.jsx("meta",{property:"article:published_time",content:n.date}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:n.title}),y.jsx("meta",{name:"twitter:description",content:n.excerpt}),y.jsx("meta",{name:"twitter:image",content:`${ua}${n.image}`}),y.jsx("meta",{name:"keywords",content:"Turkish restaurant Highgate, Turkish food Highgate, Turkish cuisine Highgate, Turkish restaurant North London, Turkish food North London, Mediterranean restaurant Highgate, Turkish mezze Highgate, Turkish kebab Highgate, Turkish grilled food Highgate, restaurants in Highgate"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BlogPosting","@id":`${ua}/posts/${n.slug}
278#webpage`,headline:n.title,description:n.excerpt,url:`${ua}/posts/${n.slug}`,datePublished:n.date,dateModified:n.date,image:`${ua}${n.image}`,author:{"@type":"Organization","@id":`${ua}/#organization`,name:"Turkuaz Brasserie"},publisher:{"@type":"Organization","@id":`${ua}/#organization`,name:"Turkuaz Brasserie"},isPartOf:{"@id":`${ua}/#website`},keywords:"Turkish restaurant Highgate, Turkish food Highgate, Turkish cuisine Highgate, Turkish restaurant North London, Mediterranean restaurant Highgate, Turkish mezze Highgate, Turkish kebab Highgate, Turkish grilled food Highgate"}).replace(/</g,"\\u003c")})]}),y.jsxs("div",{className:"relative pt-24 bg-background",children:[y.jsx("div",{className:"max-w-content mx-auto px-6 pt-10",children:y.jsx(ce.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},children:y.jsxs(Xt,{to:"/posts",className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-primary transition-colors mb-8",children:[y.jsx(vM,{className:"w-4 h-4"})," Back to posts"]})})}),y.jsx(ce.div,{initial:{opacity:0,scale:1.02},animate:{opacity:1,scale:1},transition:{duration:.6,ease:"easeOut"},className:"max-w-content mx-auto px-6",children:y.jsx("figure",{children:y.jsx("img",{src:n.image,alt:n.imageAlt,className:"w-full aspect-[21/9] object-cover rounded-2xl",loading:"eager",fetchPriority:"high",width:1200,height:514})})})]}),y.jsx("main",{className:"py-xxl bg-background",children:y.jsx("div",{className:"max-w-3xl mx-auto px-6",children:y.jsxs(ce.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1,ease:"easeOut"},children:[y.jsxs("div",{className:"flex items-center gap-2 text-secondary text-sm font-semibold mb-6",children:[y.jsx(xM,{className:"w-4 h-4"}),y.jsx("time",{dateTime:n.date,children:new Date(n.date).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})})]}),y.jsx("h1",{className:"font-heading text-4xl md:text-5xl text-foreground leading-tight mb-8",style:{whiteSpace:"pre-line"},children:n.title}),y.jsx("div",{className:"w-12 h-0.5 bg-accent mb-10"}),y.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-10 font-medium",style:{whiteSpace:"pre-line"},children:n.excerpt}),n.sections.map(i=>y.jsxs(ce.section,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},className:"mb-10",children:[y.jsx("h2",{className:"font-heading text-2xl md:text-3xl text-foreground mb-4",style:{whiteSpace:"pre-line"},children:i.heading}),i.body.map(s=>y.jsx("p",{className:"text-foreground leading-relaxed mb-4",style:{whiteSpace:"pre-line"},children:s.text},s.id))]},i.id)),y.jsxs("div",{className:"mt-14 pt-10 border-t border-border flex flex-col sm:flex-row gap-4",children:[y.jsx("a",{href:"https://book.turkuazbrasserie.co.uk/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center px-8 py-3 rounded-full bg-primary text-primary-foreground font-semibold hover:opacity-90 transition-opacity",children:"Book a Table"}),y.jsx(Xt,{to:"/menus",className:"inline-flex items-center justify-center px-8 py-3 rounded-full border border-primary text-primary font-semibold hover:bg-primary hover:text-primary-foreground transition-colors",children:"View Menus"})]})]})})})]},n.id))})}const $N=Xt;function JN(){return y.jsx("div",{className:"min-h-screen flex items-center justify-center",style:{background:"linear-gradient(to bottom right, hsl(var(--primary)), hsl(var(--secondary)))"},children:y.jsx("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:y.jsxs("div",{className:"space-y-8",children:[y.jsxs("div",{className:"space-y-4",children:[y.jsx("h1",{className:"text-6xl font-bold text-white/90",children:"404"}),y.jsx("h2",{className:"text-2xl font-semibold text-white/90",children:"Page Not Found"}),y.jsx("p",{className:"text-white/90",children:"Sorry, the page you're looking for doesn't exist or has been moved."})]}),y.jsxs("div",{className:"flex justify-center gap-4",children:[y.jsx($N,{to:"/",children:y.jsx("button",{className:"px-8 py-3 bg-white font-semibold rounded-lg shadow-lg hover:shadow-xl transition-all hover:scale-105",style:{color:"hsl(var(--primary))"},children:"🏠 Go Home"})}),y.jsx("button",{className:"px-8 py-3 bg-white font-semibold rounded-lg shadow-lg hover:shadow-xl transition-all hover:scale-105",style:{color:"hsl(var(--primary))"},onClick:()=>window.history.back(),children:"← Go Back"})]})]})})})}const IN=JN,WN=[{path:"/",element:y.jsx(KN,{})},{path:"/menus",element:y.jsx(ZN,{})},{path:"/gallery",element:y.jsx(YN,{})},{path:"/contact",element:y.jsx(PN,{})},{path:"/posts",element:y.jsx(XN,{})},{path:"/posts/:slug",element:y.jsx(QN,{})},{id:"airo-not-found",path:"*",element:y.jsx(IN,{})}],e3=E.lazy(()=>X2(()=>import("./CookieBanner-BT8wZ2NR.js"),__vite__mapDeps([0,1,2,3])).catch(t=>(console.warn("Failed to load CookieBanner:",t),{default:()=>null}))),t3=()=>y.jsx("div",{className:"flex justify-center py-8 h-screen items-center",children:y.jsx(hj,{})}),n3=y.jsx(E.Suspense,{fallback:y.jsx(t3,{}),children:y.jsx(fj,{children:y.jsx(DA,{})})}),a3=[{element:n3,children:WN}],fS=Uk(a3,{notFoundRouteId:"airo-not-found"}),xx={lastPath:null};fS.subscribe(t=>
278{if(t.navigation.state!=="idle"||!window._allowCT)return;const{pathname:n}=t.location;n!==xx.lastPath&&(xx.lastPath=n,window._signalsDataLayer=window._signalsDataLayer||[],window._signalsDataLayer.push({schema:"add_virtual_page_view",version:"v1",data:{virtualPath:n}}))});function i3(){return y.jsxs(y.Fragment,{children:[y.jsx(Gk,{router:fS}),y.jsx(Kk,{children:y.jsx(E.Suspense,{fallback:null,children:y.jsx(e3,{})})})]})}const r3=new w2({defaultOptions:{queries:{staleTime:1e3*60*5,gcTime:1e3*60*10,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}}),Iu=document.getElementById("app");if(!Iu)throw new Error("Root element not found");const s3=y.jsx(q2,{children:y.jsx(S2,{client:r3,children:y.jsx(i3,{})})}),wx=y.jsx(E.StrictMode,{children:s3});Iu.firstElementChild?e0.hydrateRoot(Iu,wx):e0.createRoot(Iu).render(wx);export{cj as a,RM 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.