PageSourceSearch

https://tgtree.com/assets/index-Dmwy_2jW.js

js tgtree.com collected 2026-10-05 18:20:31 UTC 658,302 bytes, 387 lines download raw bytes

vendor: 9,575 bytes, lines 1-18
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CookieBanner-DfZ3DJ0b.js","assets/query-DYVpeFO3.js","assets/radix-ui-BrXWnT8S.js","assets/react-vendor-DYU0Rr6N.js"])))=>i.map(i=>d[i]);
2var qT=Object.defineProperty;var cx=t=>{throw TypeError(t)};var XT=(t,n,i)=>n in t?qT(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i;var ea=(t,n,i)=>XT(t,typeof n!="symbol"?n+"":n,i),ux=(t,n,i)=>n.has(t)||cx("Cannot "+i);var wn=(t,n,i)=>(ux(t,n,"read from private field"),i?i.call(t):n.get(t)),bs=(t,n,i)=>n.has(t)?cx("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,i),ta=(t,n,i,s)=>(ux(t,n,"write to private field"),s?s.call(t,i):n.set(t,i),i);import{a as WT,j as h,r as E,Q as $T,b as QT}from"./query-DYVpeFO3.js";import{r as JT}from"./react-vendor-DYU0Rr6N.js";import{r as eE}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 c of o)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(o){if(o.ep)return;o.ep=!0;const c=i(o);fetch(o.href,c)}})();var oh={exports:{}},Il={},ch={exports:{}},uh={};/**
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 dx;function tE(){return dx||(dx=1,(function(t){function n(V,q){var Q=V.length;V.push(q);e:for(;0<Q;){var se=Q-1>>>1,be=V[se];if(0<o(be,q))V[se]=q,V[Q]=be,Q=se;else break e}}function i(V){return V.length===0?null:V[0]}function s(V){if(V.length===0)return null;var q=V[0],Q=V.pop();if(Q!==q){V[0]=Q;e:for(var se=0,be=V.length,Se=be>>>1;se<Se;){var De=2*(se+1)-1,Ce=V[De],Je=De+1,bt=V[Je];if(0>o(Ce,Q))Je<be&&0>o(bt,Ce)?(V[se]=bt,V[Je]=Q,se=Je):(V[se]=Ce,V[De]=Q,se=De);else if(Je<be&&0>o(bt,Q))V[se]=bt,V[Je]=Q,se=Je;else break e}}return q}function o(V,q){var Q=V.sortIndex-q.sortIndex;return Q!==0?Q:V.id-q.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var d=Date,m=d.now();t.unstable_now=function(){return d.now()-m}}var p=[],g=[],y=1,x=null,b=3,w=!1,T=!1,M=!1,j=!1,k=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;function I(V){for(var q=i(g);q!==null;){if(q.callback===null)s(g);else if(q.startTime<=V)s(g),q.sortIndex=q.expirationTime,n(p,q);else break;q=i(g)}}function K(V){if(M=!1,I(V),!T)if(i(p)!==null)T=!0,oe||(oe=!0,ne());else{var q=i(g);q!==null&&ze(K,q.startTime-V)}}var oe=!1,te=-1,D=5,ee=-1;function $(){return j?!0:!(t.unstable_now()-ee<D)}function ge(){if(j=!1,oe){var V=t.unstable_now();ee=V;var q=!0;try{e:{T=!1,M&&(M=!1,U(te),te=-1),w=!0;var Q=b;try{t:{for(I(V),x=i(p);x!==null&&!(x.expirationTime>V&&$());){var se=x.callback;if(typeof se=="function"){x.callback=null,b=x.priorityLevel;var be=se(x.expirationTime<=V);if(V=t.unstable_now(),typeof be=="function"){x.callback=be,I(V),q=!0;break t}x===i(p)&&s(p),I(V)}else s(p);x=i(p)}if(x!==null)q=!0;else{var Se=i(g);Se!==null&&ze(K,Se.startTime-V),q=!1}}break e}finally{x=null,b=Q,w=!1}q=void 0}}finally{q?ne():oe=!1}}}var ne;if(typeof H=="function")ne=function(){H(ge)};else if(typeof MessageChannel<"u"){var Me=new MessageChannel,Be=Me.port2;Me.port1.onmessage=ge,ne=function(){Be.postMessage(null)}}else ne=function(){k(ge,0)};function ze(V,q){te=k(function(){V(t.unstable_now())},q)}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(V){V.callback=null},t.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<V?Math.floor(1e3/V):5},t.unstable_getCurrentPriorityLevel=function(){return b},t.unstable_next=function(V){switch(b){case 1:case 2:case 3:var q=3;break;default:q=b}var Q=b;b=q;try{return V()}finally{b=Q}},t.unstable_requestPaint=function(){j=!0},t.unstable_runWithPriority=function(V,q){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var Q=b;b=V;try{return q()}finally{b=Q}},t.unstable_scheduleCallback=function(V,q,Q){var se=t.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?se+Q:se):Q=se,V){case 1:var be=-1;break;case 2:be=250;break;case 5:be=1073741823;break;case 4:be=1e4;break;default:be=5e3}return be=Q+be,V={id:y++,callback:q,priorityLevel:V,startTime:Q,expirationTime:be,sortIndex:-1},Q>se?(V.sortIndex=Q,n(g,V),i(p)===null&&V===i(g)&&(M?(U(te),te=-1):M=!0,ze(K,Q-se))):(V.sortIndex=be,n(p,V),T||w||(T=!0,oe||(oe=!0,ne()))),V},t.unstable_shouldYield=$,t.unstable_wrapCallback=function(V){var q=b;return function(){var Q=b;b=q;try{return V.apply(this,arguments)}finally{b=Q}}}})(uh)),uh}var fx;function nE(){return fx||(fx=1,ch.exports=tE()),ch.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 hx;function aE(){if(hx)return Il;hx=1;var t=nE(),n=WT(),i=JT();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 c(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 m(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 p(e){if(c(e)!==e)throw Error(s(188))}function g(e){var a=e.alternate;if(!a){if(a=c(e),a===null)throw Error(s(188));return a!==e?null:e}for(var r=e,l=a;;){var u=r.return;if(u===null)break;var f=u.alternate;if(f===null){if(l=u.return,l!==null){r=l;continue}break}if(u.child===f.child){for(f=u.child;f;){if(f===r)return p(u),e;if(f===l)return p(u),a;f=f.sibling}throw Error(s(188))}if(r.return!==l.return)r=u,l=f;else{for(var v=!1,S=u.child;S;){if(S===r){v=!0,r=u,l=f;break}if(S===l){v=!0,l=u,r=f;break}S=S.sibling}if(!v){for(S=f.child;S;){if(S===r){v=!0,r=f,l=u;break}if(S===l){v=!0,l=f,r=u;break}S=S.sibling}if(!v)throw Error(s(189))}}if(r.alternate!==l)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?e:a}function y(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=y(e),a!==null)return a;e=e.sibling}return null}var x=Object.assign,b=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),H=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),ee=Symbol.for("react.activity"),$=Symbol.for("react.memo_cache_sentinel"),ge=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=ge&&e[ge]||e["@@iterator"],typeof e=="function"?e:null)}var Me=Symbol.for("react.client.reference");function Be(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Me?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case M:return"Fragment";case k:return"Profiler";case j:return"StrictMode";case K:return"Suspense";case oe:return"SuspenseList";case ee:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case H:return e.displayName||"Context";case U:return(e._context.displayName||"Context")+".Consumer";case I: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 D:a=e._payload,e=e._init;try{return Be(e(a))}catch{}}return null}var ze=Array.isArray,V=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},se=[],be=-1;function Se(e){return{current:e}}function De(e){0>be||(e.current=se[be],se[be]=null,be--)}function Ce(e,a){be++,se[be]=e.current,e.current=a}var Je=Se(null),bt=Se(null),ft=Se(null),$t=Se(null);function Ta(e,a){switch(Ce(ft,a),Ce(bt,e),Ce(Je,null),a.nodeType){case 9:case 11:e=(e
vendor: 11,287 bytes, lines 18-25
18=a.documentElement)&&(e=e.namespaceURI)?_v(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=_v(a),e=Ov(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}De(Je),Ce(Je,e)}function an(){De(Je),De(bt),De(ft)}function Ws(e){e.memoizedState!==null&&Ce($t,e);var a=Je.current,r=Ov(a,e.type);a!==r&&(Ce(bt,e),Ce(Je,r))}function zr(e){bt.current===e&&(De(Je),De(bt)),$t.current===e&&(De($t),Hl._currentValue=Q)}var $s,kt;function rn(e){if($s===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);$s=a&&a[1]||"",kt=-1<r.stack.indexOf(`
19    at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
20`+$s+e+kt}var Br=!1;function Qs(e,a){if(!e||Br)return"";Br=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(a){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(F){var B=F}Reflect.construct(e,[],Y)}else{try{Y.call()}catch(F){B=F}e.call(Y.prototype)}}else{try{throw Error()}catch(F){B=F}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(F){if(F&&B&&typeof F.stack=="string")return[F.stack,B.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=l.DetermineComponentFrameRoot(),v=f[0],S=f[1];if(v&&S){var C=v.split(`
21`),z=S.split(`
22`);for(u=l=0;l<C.length&&!C[l].includes("DetermineComponentFrameRoot");)l++;for(;u<z.length&&!z[u].includes("DetermineComponentFrameRoot");)u++;if(l===C.length||u===z.length)for(l=C.length-1,u=z.length-1;1<=l&&0<=u&&C[l]!==z[u];)u--;for(;1<=l&&0<=u;l--,u--)if(C[l]!==z[u]){if(l!==1||u!==1)do if(l--,u--,0>u||C[l]!==z[u]){var G=`
23`+C[l].replace(" at new "," at ");return e.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",e.displayName)),G}while(1<=l&&0<=u);break}}}finally{Br=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?rn(r):""}function Ea(e,a){switch(e.tag){case 26:case 27:case 5:return rn(e.type);case 16:return rn("Lazy");case 13:return e.child!==a&&a!==null?rn("Suspense Fallback"):rn("Suspense");case 19:return rn("SuspenseList");case 0:case 15:return Qs(e.type,!1);case 11:return Qs(e.type.render,!1);case 1:return Qs(e.type,!0);case 31:return rn("Activity");default:return""}}function Lo(e){try{var a="",r=null;do a+=Ea(e,r),r=e,e=e.return;while(e);return a}catch(l){return`
24Error generating stack: `+l.message+`
25`+l.stack}}var Js=Object.prototype.hasOwnProperty,Ur=t.unstable_scheduleCallback,el=t.unstable_cancelCallback,Xu=t.unstable_shouldYield,Wu=t.unstable_requestPaint,Qt=t.unstable_now,Aa=t.unstable_getCurrentPriorityLevel,ri=t.unstable_ImmediatePriority,tl=t.unstable_UserBlockingPriority,si=t.unstable_NormalPriority,qn=t.unstable_LowPriority,Dn=t.unstable_IdlePriority,$u=t.log,Qu=t.unstable_setDisableYieldValue,Ca=null,Jt=null;function Ut(e){if(typeof $u=="function"&&Qu(e),Jt&&typeof Jt.setStrictMode=="function")try{Jt.setStrictMode(Ca,e)}catch{}}var Xt=Math.clz32?Math.clz32:Ju,zo=Math.log,Bo=Math.LN2;function Ju(e){return e>>>=0,e===0?32:31-(zo(e)/Bo|0)|0}var Qi=256,ja=262144,Ji=4194304;function Xn(e){var a=e&42;if(a!==0)return a;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Vr(e,a,r){var l=e.pendingLanes;if(l===0)return 0;var u=0,f=e.suspendedLanes,v=e.pingedLanes;e=e.warmLanes;var S=l&134217727;return S!==0?(l=S&~f,l!==0?u=Xn(l):(v&=S,v!==0?u=Xn(v):r||(r=S&~e,r!==0&&(u=Xn(r))))):(S=l&~f,S!==0?u=Xn(S):v!==0?u=Xn(v):r||(r=l&~e,r!==0&&(u=Xn(r)))),u===0?0:a!==0&&a!==u&&(a&f)===0&&(f=u&-u,r=a&-a,f>=r||f===32&&(r&4194048)!==0)?a:u}function li(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function ed(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 nl(){var e=Ji;return Ji<<=1,(Ji&62914560)===0&&(Ji=4194304),e}function oi(e){for(var a=[],r=0;31>r;r++)a.push(e);return a}function sa(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Uo(e,a,r,l,u,f){var v=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var S=e.entanglements,C=e.expirationTimes,z=e.hiddenUpdates;for(r=v&~r;0<r;){var G=31-Xt(r),Y=1<<G;S[G]=0,C[G]=-1;var B=z[G];if(B!==null)for(z[G]=null,G=0;G<B.length;G++){var F=B[G];F!==null&&(F.lane&=-536870913)}r&=~Y}l!==0&&Vo(e,l,0),f!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=f&~(v&~a))}function Vo(e,a,r){e.pendingLanes|=a,e.suspendedLanes&=~a;var l=31-Xt(a);e.entangledLanes|=a,e.entanglements[l]=e.entanglements[l]|1073741824|r&261930}function Ho(e,a){var r=e.entangledLanes|=a;for(e=e.entanglements;r;){var l=31-Xt(r),u=1<<l;u&a|e[l]&a&&(e[l]|=a),r&=~u}}function A(e,a){var r=a&-a;return r=(r&42)!==0?1:N(r),(r&(e.suspendedLanes|a))!==0?0:r}function N(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 O(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Z(){var e=q.p;return e!==0?e:(e=window.event,e===void 0?32:nx(e.type))}function X(e,a){var r=q.p;try{return q.p=e,a()}finally{q.p=r}}var ce=Math.random().toString(36).slice(2),ie="__reactFiber$"+ce,re="__reactProps$"+ce,ae="__reactContainer$"+ce,xe="__reactEvents$"+ce,we="__reactListeners$"+ce,ye="__reactHandles$"+ce,Ee="__reactResources$"+ce,tt="__reactMarker$"+ce;function Ie(e){delete e[ie],delete e[re],delete e[xe],delete e[we],delete e[ye]}function ot(e){var a=e[ie];if(a)return a;for(var r=e.parentNode;r;){if(a=r[ae]||r[ie]){if(r=a.alternate,a.child!==null||r!==null&&r.child!==null)for(e=Hv(e);e!==null;){if(r=e[ie])return r;e=Hv(e)}return a}e=r,r=e.parentNode}return null}function Ae(e){if(e=e[ie]||e[ae]){var a=e.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return e}return null}function Vt(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(s(33))}function St(e){var a=e[Ee];return a||(a=e[Ee]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function We(e){e[tt]=!0}var Wn=new Set,la={};function Mn(e,a){Lt(e,a),Lt(e+"Capture",a)}function Lt(e,a){for(la[e]=a,e=0;e<a.length;e++)Wn.add(a[e])}var ci=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]*$"),Na={},Ra={};function Hr(e){return Js.call(Ra,e)?!0:Js.call(Na,e)?!1:ci.test(e)?Ra[e]=!0:(Na[e]=!0,!1)}function Da(e,a,r){if(Hr(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 Ma(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 je(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 $e(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _n(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function ui(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 u=l.get,f=l.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return u.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 er(e){if(!e._valueTracker){var a=_n(e)?"checked":"value";e._valueTracker=ui(e,a,""+e[a])}}function mt(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var r=a.getValue(),l="";return e&&(l=_n(e)?e.checked?"true":"false":e.value),e=l,e!==r?(a.setValue(e),!0):!1}function On(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 Fo=/[\n"\\]/g;function sn(e){return e.replace(Fo,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function td(e,a,r,l,u,f,v,S){e.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.type=v:e.removeAttribute("type"),a!=null?v==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+$e(a)):e.value!==""+$e(a)&&(e.value=""+$e(a)):v!=="submit"&&v!=="reset"||e.removeAttribute("value"),a!=null?nd(e,v,$e(a)):r!=null?nd(e,v,$e(r)):l!=null&&e.removeAttribute("value"),u==null&&f!=null&&(e.defaultChecked=!!f),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.name=""+$e(S):e.removeAttribute("name")}function Cp(e,a,r,l,u,f,v,S){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.type=f),a!=null||r!=null){if(!(f!=="submit"&&f!=="reset"||a!=null)){er(e);return}r=r!=null?""+$e(r):"",a=a!=null?""+$e(a):r,S||a===e.value||(e.value=a),e.defaultValue=a}l=l??u,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=S?e.checked:!!l,e.defaultChecked=!!l,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.name=v),er(e)}function nd(e,a,r){a==="number"&&On(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Fr(e,a,r,l){if(e=e.options,a){a={};for(var u=0;u<r.length;
vendor: 4,900 bytes, line 25
25u++)a["$"+r[u]]=!0;for(r=0;r<e.length;r++)u=a.hasOwnProperty("$"+e[r].value),e[r].selected!==u&&(e[r].selected=u),u&&l&&(e[r].defaultSelected=!0)}else{for(r=""+$e(r),a=null,u=0;u<e.length;u++){if(e[u].value===r){e[u].selected=!0,l&&(e[u].defaultSelected=!0);return}a!==null||e[u].disabled||(a=e[u])}a!==null&&(a.selected=!0)}}function jp(e,a,r){if(a!=null&&(a=""+$e(a),a!==e.value&&(e.value=a),r==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=r!=null?""+$e(r):""}function Np(e,a,r,l){if(a==null){if(l!=null){if(r!=null)throw Error(s(92));if(ze(l)){if(1<l.length)throw Error(s(93));l=l[0]}r=l}r==null&&(r=""),a=r}r=$e(a),e.defaultValue=r,l=e.textContent,l===r&&l!==""&&l!==null&&(e.value=l),er(e)}function Gr(e,a){if(a){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=a;return}}e.textContent=a}var Pw=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 Rp(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||Pw.has(a)?a==="float"?e.cssFloat=r:e[a]=(""+r).trim():e[a]=r+"px"}function Dp(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 u in a)l=a[u],a.hasOwnProperty(u)&&r[u]!==l&&Rp(e,u,l)}else for(var f in a)a.hasOwnProperty(f)&&Rp(e,f,a[f])}function ad(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 Iw=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
25-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Yw=/^[\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 Go(e){return Yw.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function _a(){}var id=null;function rd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pr=null,Ir=null;function Mp(e){var a=Ae(e);if(a&&(e=a.stateNode)){var r=e[re]||null;e:switch(e=a.stateNode,a.type){case"input":if(td(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="'+sn(""+a)+'"][type="radio"]'),a=0;a<r.length;a++){var l=r[a];if(l!==e&&l.form===e.form){var u=l[re]||null;if(!u)throw Error(s(90));td(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(a=0;a<r.length;a++)l=r[a],l.form===e.form&&mt(l)}break e;case"textarea":jp(e,r.value,r.defaultValue);break e;case"select":a=r.value,a!=null&&Fr(e,!!r.multiple,a,!1)}}}var sd=!1;function _p(e,a,r){if(sd)return e(a,r);sd=!0;try{var l=e(a);return l}finally{if(sd=!1,(Pr!==null||Ir!==null)&&(Rc(),Pr&&(a=Pr,e=Ir,Ir=Pr=null,Mp(a),e)))for(a=0;a<e.length;a++)Mp(e[a])}}function al(e,a){var r=e.stateNode;if(r===null)return null;var l=r[re]||null;if(l===null)return null;r=l[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(s(231,a,typeof r));return r}var Oa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ld=!1;if(Oa)try{var il={};Object.defineProperty(il,"passive",{get:function(){ld=!0}}),window.addEventListener("test",il,il),window.removeEventListener("test",il,il)}catch{ld=!1}var di=null,od=null,Po=null;function Op(){if(Po)return Po;var e,a=od,r=a.length,l,u="value"in di?di.value:di.textContent,f=u.length;for(e=0;e<r&&a[e]===u[e];e++);var v=r-e;for(l=1;l<=v&&a[r-l]===u[f-l];l++);return Po=u.slice(e,1<l?1-l:void 0)}function Io(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 Yo(){return!0}function kp(){return!1}function ln(e){function a(r,l,u,f,v){this._reactName=r,this._targetInst=u,this.type=l,this.nativeEvent=f,this.target=v,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(r=e[S],this[S]=r?r(f):f[S]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Yo:kp,this.isPropagationStopped=kp,this}return x(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=Yo)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Yo)},persist:function(){},isPersistent:Yo}),a}var tr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ko=ln(tr),rl=x({},tr,{view:0,detail:0}),Kw=ln(rl),cd,ud,sl,Zo=x({},rl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fd,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!==sl&&(sl&&e.type==="mousemove"?(cd=e.screenX-sl.screenX,ud=e.screenY-sl.screenY):ud=cd=0,sl=e),cd)},movementY:function(e){return"movementY"in e?e.movementY:ud}}
vendor: 4,758 bytes, line 25
25),Lp=ln(Zo),Zw=x({},Zo,{dataTransfer:0}),qw=ln(Zw),Xw=x({},rl,{relatedTarget:0}),dd=ln(Xw),Ww=x({},tr,{animationName:0,elapsedTime:0,pseudoElement:0}),$w=ln(Ww),Qw=x({},tr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jw=ln(Qw),e2=x({},tr,{data:0}),zp=ln(e2),t2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},n2={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"},a2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function i2(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=a2[e])?!!a[e]:!1}function fd(){return i2}var r2=x({},rl,{key:function(e){if(e.key){var a=t2[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=Io(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?n2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fd,charCode:function(e){return e.type==="keypress"?Io(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Io(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),s2=ln(r2),l2=x({},Zo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bp=ln(l2),o2=x({},rl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fd}),c2=ln(o2),u2=x({},tr,{propertyName:0,elapsedTime:0,pseudoElement:0}),d2=ln(u2),f2=x({},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}),h2=ln(f2),m2=x({},tr,{newState:0,oldState:0}),p2=ln(m2),g2=[9,13,27,32],hd=Oa&&"CompositionEvent"in window,ll=null;Oa&&"documentMode"in document&&(ll=document.documentMode);var y2=Oa&&"TextEvent"in window&&!ll,Up=Oa&&(!hd||ll&&8<ll&&11>=ll),Vp=" ",Hp=!1;function Fp(e,a){switch(e){case"keyup":return g2.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yr=!1;function v2(e,a){switch(e){case"compositionend":return Gp(a);case"keypress":return a.which!==32?null:(Hp=!0,Vp);case"textInput":return e=a.data,e===Vp&&Hp?null:e;default:return null}}function x2(e,a){if(Yr)return e==="compositionend"||!hd&&Fp(e,a)?(e=Op(),Po=od=di=null,Yr=!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 Up&&a.locale!=="ko"?null:a.data;default:return null}}var b2={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 Pp(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!b2[e.type]:a==="textarea"}function Ip(e,a,r,l){Pr?Ir?Ir.push(l):Ir=[l]:Pr=l,a=zc(a,"onChange"),0<a.length&&(r=new Ko("onChange","change",null,r,l),e.push({event:r,listeners:a}))}var ol=null,cl=null;function S2(e){Cv(e,0)}function qo(e){var a=Vt(e);if(mt(a))return e}function Yp(e,a){if(e==="change")return a}var Kp=!1;if(Oa){var md;if(Oa){var pd="oninput"in document;if(!pd){var Zp=document.createElement("div");Zp.setAttribute("oninput","return;"),pd=typeof Zp.oninput=="function"}md=pd}else md=!1;Kp=md&&(!document.documentMode||9<document.documentMode)}function qp(){ol&&(ol.detachEvent("onpropertychange",Xp),cl=ol=null)}function Xp(e){if(e.propertyName==="value"&&qo(cl)){var a=[];Ip(a,cl,e,rd(e)),_p(S2,a)}}function w2(e,a,r){e==="focusin"?(qp(),ol=a,cl=r,ol.attachEvent("onpropertychange",Xp)):e==="focusout"&&qp()}function T2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return qo(cl)}function E2(e,a){if(e==="click")return qo(a)}function A2(e,a){if(e==="input"||e==="change")return qo(a)}function C2(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var pn=typeof Object.is=="function"?Object.is:C2;function ul(e,a){if(pn(e,a))return!0;
vendor: 22,089 bytes, line 25
25if(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 u=r[l];if(!Js.call(a,u)||!pn(e[u],a[u]))return!1}return!0}function Wp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $p(e,a){var r=Wp(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=Wp(r)}}function Qp(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?Qp(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function Jp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=On(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=On(e.document)}return a}function gd(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 j2=Oa&&"documentMode"in document&&11>=document.documentMode,Kr=null,yd=null,dl=null,vd=!1;function eg(e,a,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;vd||Kr==null||Kr!==On(l)||(l=Kr,"selectionStart"in l&&gd(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),dl&&ul(dl,l)||(dl=l,l=zc(yd,"onSelect"),0<l.length&&(a=new Ko("onSelect","select",null,a,r),e.push({event:a,listeners:l}),a.target=Kr)))}function nr(e,a){var r={};return r[e.toLowerCase()]=a.toLowerCase(),r["Webkit"+e]="webkit"+a,r["Moz"+e]="moz"+a,r}var Zr={animationend:nr("Animation","AnimationEnd"),animationiteration:nr("Animation","AnimationIteration"),animationstart:nr("Animation","AnimationStart"),transitionrun:nr("Transition","TransitionRun"),transitionstart:nr("Transition","TransitionStart"),transitioncancel:nr("Transition","TransitionCancel"),transitionend:nr("Transition","TransitionEnd")},xd={},tg={};Oa&&(tg=document.createElement("div").style,"AnimationEvent"in window||(delete Zr.animationend.animation,delete Zr.animationiteration.animation,delete Zr.animationstart.animation),"TransitionEvent"in window||delete Zr.transitionend.transition);function ar(e){if(xd[e])return xd[e];if(!Zr[e])return e;var a=Zr[e],r;for(r in a)if(a.hasOwnProperty(r)&&r in tg)return xd[e]=a[r];return e}var ng=ar("animationend"),ag=ar("animationiteration"),ig=ar("animationstart"),N2=ar("transitionrun"),R2=ar("transitionstart"),D2=ar("transitioncancel"),rg=ar("transitionend"),sg=new Map,bd="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(" ");bd.push("scrollEnd");function $n(e,a){sg.set(e,a),Mn(a,[e])}var Xo=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)},kn=[],qr=0,Sd=0;function Wo(){for(var e=qr,a=Sd=qr=0;a<e;){var r=kn[a];kn[a++]=null;var l=kn[a];kn[a++]=null;var u=kn[a];kn[a++]=null;var f=kn[a];if(kn[a++]=null,l!==null&&u!==null){var v=l.pending;v===null?u.next=u:(u.next=v.next,v.next=u),l.pending=u}f!==0&&lg(r,u,f)}}function $o(e,a,r,l){kn[qr++]=e,kn[qr++]=a,kn[qr++]=r,kn[qr++]=l,Sd|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function wd(e,a,r,l){return $o(e,a,r,l),Qo(e)}function ir(e,a){return $o(e,null,null,a),Qo(e)}function lg(e,a,r){e.lanes|=r;var l=e.alternate;l!==null&&(l.lanes|=r);for(var u=!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||(u=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,u&&a!==null&&(u=31-Xt(r),e=f.hiddenUpdates,l=e[u],l===null?e[u]=[a]:l.push(a),a.lane=r|536870912),f):null}function Qo(e){if(50<Ol)throw Ol=0,_f=null,Error(s(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var Xr={};function M2(e,a,r,l){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gn(e,a,r,l){return new M2(e,a,r,l)}function Td(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ka(e,a){var r=e.alternate;return r===null?(r=gn(e.tag,a,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=a,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,a=e.dependencies,r.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function og(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 Jo(e,a,r,l,u,f){var v=0;if(l=e,typeof e=="function")Td(e)&&(v=1);else if(typeof e=="string")v=zT(e,r,Je.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ee:return e=gn(31,r,a,u),e.elementType=ee,e.lanes=f,e;case M:return rr(r.children,u,f,a);case j:v=8,u|=24;break;case k:return e=gn(12,r,a,u|2),e.elementType=k,e.lanes=f,e;case K:return e=gn(13,r,a,u),e.elementType=K,e.lanes=f,e;case oe:return e=gn(19,r,a,u),e.elementType=oe,e.lanes=f,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case H:v=10;break e;case U:v=9;break e;case I:v=11;break e;case te:v=14;break e;case D:v=16,l=null;break e}v=29,r=Error(s(130,e===null?"null":typeof e,"")),l=null}return a=gn(v,r,a,u),a.elementType=e,a.type=l,a.lanes=f,a}function rr(e,a,r,l){return e=gn(7,e,l,a),e.lanes=r,e}function Ed(e,a,r){return e=gn(6,e,null,a),e.lanes=r,e}function cg(e){var a=gn(18,null,null,0);return a.stateNode=e,a}function Ad(e,a,r){return a=gn(4,e.children!==null?e.children:[],e.key,a),a.lanes=r,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}var ug=new WeakMap;function Ln(e,a){if(typeof e=="object"&&e!==null){var r=ug.get(e);return r!==void 0?r:(a={value:e,source:a,stack:Lo(a)},ug.set(e,a),a)}return{value:e,source:a,stack:Lo(a)}}var Wr=[],$r=0,ec=null,fl=0,zn=[],Bn=0,fi=null,oa=1,ca="";function La(e,a){Wr[$r++]=fl,Wr[$r++]=ec,ec=e,fl=a}function dg(e,a,r){zn[Bn++]=oa,zn[Bn++]=ca,zn[Bn++]=fi,fi=e;var l=oa;e=ca;var u=32-Xt(l)-1;l&=~(1<<u),r+=1;var f=32-Xt(a)+u;if(30<f){var v=u-u%5;f=(l&(1<<v)-1).toString(32),l>>=v,u-=v,oa=1<<32-Xt(a)+u|r<<u|l,ca=f+e}else oa=1<<f|r<<u|l,ca=e}function Cd(e){e.return!==null&&(La(e,1),dg(e,1,0))}function jd(e){for(;e===ec;)ec=Wr[--$r],Wr[$r]=null,fl=Wr[--$r],Wr[$r]=null;for(;e===fi;)fi=zn[--Bn],zn[Bn]=null,ca=zn[--Bn],zn[Bn]=null,oa=zn[--Bn],zn[Bn]=null}function fg(e,a){zn[Bn++]=oa,zn[Bn++]=ca,zn[Bn++]=fi,oa=a.id,ca=a.overflow,fi=e}var Ft=null,pt=null,Pe=!1,hi=null,Un=!1,Nd=Error(s(519));function mi(e){var a=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw hl(Ln(a,e)),Nd}function hg(e){var a=e.stateNode,r=e.type,l=e.memoizedProps;switch(a[ie]=e,a[re]=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<Ll.length;r++)He(Ll[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),Cp(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),Np(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||Dv(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=_a),a=!0):a=!1,a||mi(e,!0)}function mg(e){for(Ft=e.return;Ft;)switch(Ft.tag){case 5:case 31:case 13:Un=!1;return;case 27:case 3:Un=!0;return;default:Ft=Ft.return}}function Qr(e){if(e!==Ft)return!1;if(!Pe)return mg(e),Pe=!0,!1;var a=e.tag,r;if((r=a!==3&&a!==27)&&((r=a===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Zf(e.type,e.memoizedProps)),r=!r),r&&pt&&mi(e),mg(e),a===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));pt=Vv(e)}else if(a===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));pt=Vv(e)}else a===27?(a=pt,Ni(e.type)?(e=Qf,Qf=null,pt=e):pt=a):pt=Ft?Hn(e.stateNode.nextSibling):null;return!0}function sr(){pt=Ft=null,Pe=!1}function Rd(){var e=hi;return e!==null&&(dn===null?dn=e:dn.push.apply(dn,e),hi=null),e}function hl(e){hi===null?hi=[e]:hi.push(e)}var Dd=Se(null),lr=null,za=null;function pi(e,a,r){Ce(Dd,a._currentValue),a._currentValue=r}function Ba(e){e._currentValue=Dd.current,De(Dd)}function Md(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 _d(e,a,r,l){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var f=u.dependencies;if(f!==null){var v=u.child;f=f.firstContext;e:for(;f!==null;){var S=f;f=u;for(var C=0;C<a.length;C++)if(S.context===a[C]){f.lanes|=r,S=f.alternate,S!==null&&(S.lanes|=r),Md(f.return,r,e),l||(v=null);break e}f=S.next}}else if(u.tag===18){if(v=u.return,v===null)throw Error(s(341));v.lanes|=r,f=v.alternate,f!==null&&(f.lanes|=r),Md(v,r,e),v=null}else v=u.child;if(v!==null)v.return=u;else for(v=u;v!==null;){if(v===e){v=null;break}if(u=v.sibling,u!==null){u.return=v.return,v=u;break}v=v.return}u=v}}function Jr(e,a,r,l){e=null;for(var u=a,f=!1;u!==null;){if(!f){if((u.flags&524288)!==0)f=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var v=u.alternate;if(v===null)throw Error(s(387));if(v=v.memoizedProps,v!==null){var S=u.type;pn(u.pendingProps.value,v.value)||(e!==null?e.push(S):e=[S])}}else if(u===$t.current){if(v=u.alternate,v===null)throw Error(s(387));v.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(Hl):e=[Hl])}u=u.return}e!==null&&_d(a,e,r,l),a.flags|=262144}function tc(e){for(e=e.firstContext;e!==null;){if(!pn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function or(e){lr=e,za=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Gt(e){return pg(lr,e)}function nc(e,a){return lr===null&&or(e),pg(e,a)}function pg(e,a){var r=a._currentValue;if(a={context:a,memoizedValue:r,next:null},za===null){if(e===null)throw Error(s(308));za=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else za=za.next=a;return r}var _2=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()})}},O2=t.unstable_scheduleCallback,k2=t.unstable_NormalPriority,jt={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Od(){return{controller:new _2,data:new Map,refCount:0}}function ml(e){e.refCount--,e.refCount===0&&O2(k2,function(){e.controller.abort()})}var pl=null,kd=0,es=0,ts=null;function L2(e,a){if(pl===null){var r=pl=[];kd=0,es=Uf(),ts={status:"pending",value:void 0,then:function(l){r.push(l)}}}return kd++,a.then(gg,gg),a}function gg(){if(--kd===0&&pl!==null){ts!==null&&(ts.status="fulfilled");var e=pl;pl=null,es=0,ts=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function z2(e,a){var r=[],l={status:"pending",value:null,reason:null,then:function(u){r.push(u)}};return e.then(function(){l.status="fulfilled",l.value=a;for(var u=0;u<r.length;u++)(0,r[u])(a)},function(u){for(l.status="rejected",l.reason=u,u=0;u<r.length;u++)(0,r[u])(void 0)}),l}var yg=V.S;V.S=function(e,a){ev=Qt(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&L2(e,a),yg!==null&&yg(e,a)};var cr=Se(null);function Ld(){var e=cr.current;return e!==null?e:ct.pooledCache}function ac(e,a){a===null?Ce(cr,cr.current):Ce(cr,a.pool)}function vg(){var e=Ld();return e===null?null:{parent:jt._currentValue,pool:e}}var ns=Error(s(460)),zd=Error(s(474)),ic=Error(s(542)),rc={then:function(){}};function xg(e){return e=e.status,e==="fulfilled"||e==="rejected"}function bg(e,a,r){switch(r=e[r],r===void 0?e.push(a):r!==a&&(a.then(_a,_a),a=r),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,wg(e),e;default:if(typeof a.status=="string")a.then(_a,_a);else{if(e=ct,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=a,e.status="pending",e.then(function(l){if(a.status==="pending"){var u=a;u.status="fulfilled",u.value=l}},function(l){if(a.status==="pending"){var u=a;u.status="rejected",u.reason=l}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,wg(e),e}throw dr=a,ns}}function ur(e){try{var a=e._init;return a(e._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(dr=r,ns):r}}var dr=null;function Sg(){if(dr===null)throw Error(s(459));var e=dr;return dr=null,e}function wg(e){if(e===ns||e===ic)throw Error(s(483))}var as=null,gl=0;function sc(e){var a=gl;return gl+=1,as===null&&(as=[]),bg(as,e,a)}function yl(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function lc(e,a){throw a.$$typeof===b?Error(s(525)):(e=Object.prototype.toString.call(a),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function Tg(e){function a(_,R){if(e){var L=_.deletions;L===null?(_.deletions=[R],_.flags|=16):L.push(R)}}function r(_,R){if(!e)return null;for(;R!==null;)a(_,R),R=R.sibling;return null}function l(_){for(var R=new Map;_!==null;)_.key!==null?R.set(_.key,_):R.set(_.index,_),_=_.sibling;return R}function u(_,R){return _=ka(_,R),_.index=0,_.sibling=null,_}function f(_,R,L){return _.index=L,e?(L=_.alternate,L!==null?(L=L.index,L<R?(_.flags|=67108866,R):L):(_.flags|=67108866,R)):(_.flags|=1048576,R)}function v(_){return e&&_.alternate===null&&(_.flags|=67108866),_}function S(_,R,L,P){return R===null||R.tag!==6?(R=Ed(L,_.mode,P),R.return=_,R):(R=u(R,L),R.return=_,R)}function C(_,R,L,P){var ve=L.type;return ve===M?G(_,R,L.props.children,P,L.key):R!==null&&(R.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===D&&ur(ve)===R.type)?(R=u(R,L.props),yl(R,L),R.return=_,R):(R=Jo(L.type,L.key,L.props,null,_.mode,P),yl(R,L),R.return=_,R)}function z(_,R,L,P){return R===null||R.tag!==4||R.stateNode.containerInfo!==L.containerInfo||R.stateNode.implementation!==L.implementation?(R=Ad(L,_.mode,P),R.return=_,R):(R=u(R,L.children||[]),R.return=_,R)}function G(_,R,L,P,ve){return R===null||R.tag!==7?(R=rr(L,_.mode,P,ve),R.return=_,R):(R=u(R,L),R.return=_,R)}function Y(_,R,L){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=Ed(""+R,_.mode,L),R.return=_,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case w:return L=Jo(R.type,R.key,R.props,null,_.mode,L),yl(L,R),L.return=_,L;case T:return R=Ad(R,_.mode,L),R.return=_,R;case D:return R=ur(R),Y(_,R,L)}if(ze(R)||ne(R))return R=rr(R,_.mode,L,null),R.return=_,R;if(typeof R.then=="function")return Y(_,sc(R),L);if(R.$$typeof===H)return Y(_,nc(_,R),L);lc(_,R)}return null}function B(_,R,L,P){var ve=R!==null?R.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return ve!==null?null:S(_,R,""+L,P);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case w:return L.key===ve?C(_,R,L,P):null;case T:return L.key===ve?z(_,R,L,P):null;case D:return L=ur(L),B(_,R,L,P)}if(ze(L)||ne(L))return ve!==null?null:G(_,R,L,P,null);if(typeof L.then=="function")return B(_,R,sc(L),P);if(L.$$typeof===H)return B(_,R,nc(_,L),P);lc(_,L)}return null}function F(_,R,L,P,ve){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return _=_.get(L)||null,S(R,_,""+P,ve);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case w:return _=_.get(P.key===null?L:P.key)||null,C(R,_,P,ve);case T:return _=_.get(P.key===null?L:P.key)||null,z(R,_,P,ve);case D:return P=ur(P),F(_,R,L,P,ve)}if(ze(P)||ne(P))return _=_.get(L)||null,G(R,_,P,ve,null);if(typeof P.then=="function")return F(_,R,L,sc(P),ve);if(P.$$typeof===H)return F(_,R,L,nc(R,P),ve);lc(R,P)}return null}function ue(_,R,L,P){for(var ve=null,Ke=null,he=R,Oe=R=0,Ge=null;he!==null&&Oe<L.length;Oe++){he.index>Oe?(Ge=he,he=null):Ge=he.sibling;var Ze=B(_,he,L[Oe],P);if(Ze===null){he===null&&(he=Ge);break}e&&he&&Ze.alternate===null&&a(_,he),R=f(Ze,R,Oe),Ke===null?ve=Ze:Ke.sibling=Ze,Ke=Ze,he=Ge}if(Oe===L.length)return r(_,he),Pe&&La(_,Oe),ve;if(he===null){for(;Oe<L.length;Oe++)he=Y(_,L[Oe],P),he!==null&&(R=f(he,R,Oe),Ke===null?ve=he:Ke.sibling=he,Ke=he);return Pe&&La(_,Oe),ve}for(he=l(he);Oe<L.length;Oe++)Ge=F(he,_,Oe,L[Oe],P),Ge!==null&&(e&&Ge.alternate!==null&&he.delete(Ge.key===null?Oe:Ge.key),R=f(Ge,R,Oe),Ke===null?ve=Ge:Ke.sibling=Ge,Ke=Ge);return e&&he.forEach(function(Oi){return a(_,Oi)}),Pe&&La(_,Oe),ve}function Te(_,R,L,P){if(L==null)throw Error(s(151));for(var ve=null,Ke=null,he=R,Oe=R=0,Ge=null,Ze=L.next();he!==null&&!Ze.done;Oe++,Ze=L.next()){he.index>Oe?(Ge=he,he=null):Ge=he.sibling;var Oi=B(_,he,Ze.value,P);if(Oi===null){he===null&&(he=Ge);break}e&&he&&Oi.alternate===null&&a(_,he),R=f(Oi,R,Oe),Ke===null?ve=Oi:Ke.sibling=Oi,Ke=Oi,he=Ge}if(Ze.done)return r(_,he),Pe&&La(_,Oe),ve;if(he===null){for(;!Ze.done;Oe++,Ze=L.next())Ze=Y(_,Ze.value,P),Ze!==null&&(R=f(Ze,R,Oe),Ke===null?ve=Ze:Ke.sibling=Ze,Ke=Ze);return Pe&&La(_,Oe),ve}for(he=l(he);!Ze.done;Oe++,Ze=L.next())Ze=F(he,_,Oe,Ze.value,P),Ze!==null&&(e&&Ze.alternate!==null&&he.delete(Ze.key===null?Oe:Ze.key),R=f(Ze,R,Oe),Ke===null?ve=Ze:Ke.sibling=Ze,Ke=Ze);return e&&he.forEach(function(ZT){return a(_,ZT)}),Pe&&La(_,Oe),ve}function st(_,R,L,P){if(typeof L=="object"&&L!==null&&L.type===M&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case w:e:{for(var ve=L.key;R!==null;){if(R.key===ve){if(ve=L.type,ve===M){if(R.tag===7){r(_,R.sibling),P=u(R,L.props.children),P.return=_,_=P;break e}}else if(R.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===D&&ur(ve)===R.type){r(_,R.sibling),P=u(R,L.props),yl(P,L),P.return=_,_=P;break e}r(_,R);break}else a(_,R);R=R.sibling}L.type===M?(P=rr(L.props.children,_.mode,P,L.key),P.return=_,_=P):(P=Jo(L.type,L.key,L.props,null,_.mode,P),yl(P,L),P.return=_,_=P)}return v(_);case T:e:{for(ve=L.key;R!==null;){if(R.key===ve)if(R.tag===4&&R.stateNode.containerInfo===L.containerInfo&&R.stateNode.implementation===L.implementation){r(_,R.sibling),P=u(R,L.children||[]),P.return=_,_=P;break e}else{r(_,R);break}else a(_,R);R=R.sibling}P=Ad(L,_.mode,P),P.return=_,_=P}return v(_);case D:return L=ur(L),st(_,R,L,P)}if(ze(L))return ue(_,R,L,P);if(ne(L)){if(ve=ne(L),typeof ve!="function")throw Error(s(150));return L=ve.call(L),Te(_,R,L,P)}if(typeof L.then=="function")return st(_,R,sc(L),P);if(L.$$typeof===H)return st(_,R,nc(_,L),P);lc(_,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(L=""+L,R!==null&&R.tag===6?(r(_,R.sibling),P=u(R,L),P.return=_,_=P):(r(_,R),P=Ed(L,_.mode,P),P.return=_,_=P),v(_)):r(_,R)}return function(_,R,L,P){try{gl=0;var ve=st(_,R,L,P);return as=null,ve}catch(he){if(he===ns||he===ic)throw he;var Ke=gn(29,he,null,_.mode);return Ke.lanes=P,Ke.return=_,Ke}finally{}}}var fr=Tg(!0),Eg=Tg(!1),gi=!1;function Bd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ud(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 yi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function vi(e,a,r){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Qe&2)!==0){var u=l.pending;return u===null?a.next=a:(a.next=u.next,u.next=a),l.pending=a,a=Qo(e),lg(e,null,r),a}return $o(e,l,a,r),Qo(e)}function vl(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,Ho(e,r)}}function Vd(e,a){var r=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var u=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?u=f=v:f=f.next=v,r=r.next}
vendor: 6,729 bytes, line 25
25while(r!==null);f===null?u=f=a:f=f.next=a}else u=f=a;r={baseState:l.baseState,firstBaseUpdate:u,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 Hd=!1;function xl(){if(Hd){var e=ts;if(e!==null)throw e}}function bl(e,a,r,l){Hd=!1;var u=e.updateQueue;gi=!1;var f=u.firstBaseUpdate,v=u.lastBaseUpdate,S=u.shared.pending;if(S!==null){u.shared.pending=null;var C=S,z=C.next;C.next=null,v===null?f=z:v.next=z,v=C;var G=e.alternate;G!==null&&(G=G.updateQueue,S=G.lastBaseUpdate,S!==v&&(S===null?G.firstBaseUpdate=z:S.next=z,G.lastBaseUpdate=C))}if(f!==null){var Y=u.baseState;v=0,G=z=C=null,S=f;do{var B=S.lane&-536870913,F=B!==S.lane;if(F?(Fe&B)===B:(l&B)===B){B!==0&&B===es&&(Hd=!0),G!==null&&(G=G.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var ue=e,Te=S;B=a;var st=r;switch(Te.tag){case 1:if(ue=Te.payload,typeof ue=="function"){Y=ue.call(st,Y,B);break e}Y=ue;break e;case 3:ue.flags=ue.flags&-65537|128;case 0:if(ue=Te.payload,B=typeof ue=="function"?ue.call(st,Y,B):ue,B==null)break e;Y=x({},Y,B);break e;case 2:gi=!0}}B=S.callback,B!==null&&(e.flags|=64,F&&(e.flags|=8192),F=u.callbacks,F===null?u.callbacks=[B]:F.push(B))}else F={lane:B,tag:S.tag,payload:S.payload,callback:S.callback,next:null},G===null?(z=G=F,C=Y):G=G.next=F,v|=B;if(S=S.next,S===null){if(S=u.shared.pending,S===null)break;F=S,S=F.next,F.next=null,u.lastBaseUpdate=F,u.shared.pending=null}}while(!0);G===null&&(C=Y),u.baseState=C,u.firstBaseUpdate=z,u.lastBaseUpdate=G,f===null&&(u.shared.lanes=0),Ti|=v,e.lanes=v,e.memoizedState=Y}}function Ag(e,a){if(typeof e!="function")throw Error(s(191,e));e.call(a)}function Cg(e,a){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)Ag(r[e],a)}var is=Se(null),oc=Se(0);function jg(e,a){e=Ka,Ce(oc,e),Ce(is,a),Ka=e|a.baseLanes}function Fd(){Ce(oc,Ka),Ce(is,is.current)}function Gd(){Ka=oc.current,De(is),De(oc)}var yn=Se(null),Vn=null;function xi(e){var a=e.alternate;Ce(At,At.current&1),Ce(yn,e),Vn===null&&(a===null||is.current!==null||a.memoizedState!==null)&&(Vn=e)}function Pd(e){Ce(At,At.current),Ce(yn,e),Vn===null&&(Vn=e)}function Ng(e){e.tag===22?(Ce(At,At.current),Ce(yn,e),Vn===null&&(Vn=e)):bi()}function bi(){Ce(At,At.current),Ce(yn,yn.current)}function vn(e){De(yn),Vn===e&&(Vn=null),De(At)}var At=Se(0);function cc(e){for(var a=e;a!==null;){if(a.tag===13){var r=a.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Wf(r)||$f(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 Ua=0,_e=null,it=null,Nt=null,uc=!1,rs=!1,hr=!1,dc=0,Sl=0,ss=null,B2=0;function wt(){throw Error(s(321))}function Id(e,a){if(a===null)return!1;for(var r=0;r<a.length&&r<e.length;r++)if(!pn(e[r],a[r]))return!1;return!0}function Yd(e,a,r,l,u,f){return Ua=f,_e=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,V.H=e===null||e.memoizedState===null?dy:lf,hr=!1,f=r(l,u),hr=!1,rs&&(f=Dg(a,r,l,u)),Rg(e),f}function Rg(e){V.H=El;var a=it!==null&&it.next!==null;if(Ua=0,Nt=it=_e=null,uc=!1,Sl=0,ss=null,a)throw Error(s(300));e===null||Rt||(e=e.dependencies,e!==null&&tc(e)&&(Rt=!0))}function Dg(e,a,r,l){_e=e;var u=0;do{if(rs&&(ss=null),Sl=0,rs=!1,25<=u)throw Error(s(301));if(u+=1,Nt=it=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}V.H=fy,f=a(r,l)}while(rs);return f}function U2(){var e=V.H,a=e.useState()[0];return a=typeof a.then=="function"?wl(a):a,e=e.useState()[0],(it!==null?it.memoizedState:null)!==e&&(_e.flags|=1024),a}function Kd(){var e=dc!==0;return dc=0,e}function Zd(e,a,r){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~r}function qd(e){if(uc){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}uc=!1}Ua=0,Nt=it=_e=null,rs=!1,Sl=dc=0,ss=null}function en(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nt===null?_e.memoizedState=Nt=e:Nt=Nt.next=e,Nt}function Ct(){if(it===null){var e=_e.alternate;e=e!==null?e.memoizedState:null}else e=it.next;var a=Nt===null?_e.memoizedState:Nt.next;if(a!==null)Nt=a,it=e;else{if(e===null)throw _e.alternate===null?Error(s(467)):Error(s(310));it=e,e={memoizedState:it.memoizedState,baseState:it.baseState,baseQueue:it.baseQueue,queue:it.queue,next:null},Nt===null?_e.memoizedState=Nt=e:Nt=Nt.next=e}return Nt}function fc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function wl(e){var a=Sl;return Sl+=1,ss===null&&(ss=[]),e=bg(ss,e,a),a=_e,(Nt===null?a.memoizedState:Nt.next)===null&&(a=a.alternate,V.H=a===null||a.memoizedState===null?dy:lf),e}function hc(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return wl(e);if(e.$$typeof===H)return Gt(e)}throw Error(s(438,String(e)))}function Xd(e){var a=null,r=_e.updateQueue;if(r!==null&&(a=r.memoCache),a==null){var l=_e.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(a={data:l.data.map(function(u){return u.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),r===null&&(r=fc(),_e.updateQueue=r),r.memoCache=a,r=a.data[a.index],r===void 0)for(r=a.data[a.index]=Array(e),l=0;l<e;l++)r[l]=$;return a.index++,r}function Va(e,a){return typeof a=="function"?a(e):a}function mc(e){var a=Ct();return Wd(a,it,e)}function Wd(e,a,r){var l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=r;var u=e.baseQueue,f=l.pending;if(f!==null){if(u!==null){var v=u.next;u.next=f.next,f.next=v}a.baseQueue=u=f,l.pending=null}if(f=e.baseState,u===null)e.memoizedState=f;else{a=u.next;var S=v=null,C=null,z=a,G=!1;do{var Y=z.lane&-536870913;if(Y!==z.lane?(Fe&Y)===Y:(Ua&Y)===Y){var B=z.revertLane;if(B===0)C!==null&&(C=C.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),Y===es&&(G=!0);else if((Ua&B)===B){z=z.next,B===es&&(G=!0);continue}else Y={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},C===null?(S=C=Y,v=f):C=C.next=Y,_e.lanes|=B,Ti|=B;Y=z.action,hr&&r(f,Y),f=z.hasEagerState?z.eagerState:r(f,Y)}else B={lane:Y,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},C===null?(S=C=B,v=f):C=C.next=B,_e.lanes|=Y,Ti|=Y;z=z.next}
vendor: 9,513 bytes, line 25
25while(z!==null&&z!==a);if(C===null?v=f:C.next=S,!pn(f,e.memoizedState)&&(Rt=!0,G&&(r=ts,r!==null)))throw r;e.memoizedState=f,e.baseState=v,e.baseQueue=C,l.lastRenderedState=f}return u===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function $d(e){var a=Ct(),r=a.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=e;var l=r.dispatch,u=r.pending,f=a.memoizedState;if(u!==null){r.pending=null;var v=u=u.next;do f=e(f,v.action),v=v.next;while(v!==u);pn(f,a.memoizedState)||(Rt=!0),a.memoizedState=f,a.baseQueue===null&&(a.baseState=f),r.lastRenderedState=f}return[f,l]}function Mg(e,a,r){var l=_e,u=Ct(),f=Pe;if(f){if(r===void 0)throw Error(s(407));r=r()}else r=a();var v=!pn((it||u).memoizedState,r);if(v&&(u.memoizedState=r,Rt=!0),u=u.queue,ef(kg.bind(null,l,u,e),[e]),u.getSnapshot!==a||v||Nt!==null&&Nt.memoizedState.tag&1){if(l.flags|=2048,ls(9,{destroy:void 0},Og.bind(null,l,u,r,a),null),ct===null)throw Error(s(349));f||(Ua&127)!==0||_g(l,a,r)}return r}function _g(e,a,r){e.flags|=16384,e={getSnapshot:a,value:r},a=_e.updateQueue,a===null?(a=fc(),_e.updateQueue=a,a.stores=[e]):(r=a.stores,r===null?a.stores=[e]:r.push(e))}function Og(e,a,r,l){a.value=r,a.getSnapshot=l,Lg(a)&&zg(e)}function kg(e,a,r){return r(function(){Lg(a)&&zg(e)})}function Lg(e){var a=e.getSnapshot;e=e.value;try{var r=a();return!pn(e,r)}catch{return!0}}function zg(e){var a=ir(e,2);a!==null&&fn(a,e,2)}function Qd(e){var a=en();if(typeof e=="function"){var r=e;if(e=r(),hr){Ut(!0);try{r()}finally{Ut(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:e},a}function Bg(e,a,r,l){return e.baseState=r,Wd(e,it,typeof l=="function"?l:Va)}function V2(e,a,r,l,u){if(yc(e))throw Error(s(485));if(e=a.action,e!==null){var f={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){f.listeners.push(v)}};V.T!==null?r(!0):f.isTransition=!1,l(f),r=a.pending,r===null?(f.next=a.pending=f,Ug(a,f)):(f.next=r.next,a.pending=r.next=f)}}function Ug(e,a){var r=a.action,l=a.payload,u=e.state;if(a.isTransition){var f=V.T,v={};V.T=v;try{var S=r(u,l),C=V.S;C!==null&&C(v,S),Vg(e,a,S)}catch(z){Jd(e,a,z)}finally{f!==null&&v.types!==null&&(f.types=v.types),V.T=f}}else try{f=r(u,l),Vg(e,a,f)}catch(z){Jd(e,a,z)}}function Vg(e,a,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(l){Hg(e,a,l)},function(l){return Jd(e,a,l)}):Hg(e,a,r)}function Hg(e,a,r){a.status="fulfilled",a.value=r,Fg(a),e.state=r,a=e.pending,a!==null&&(r=a.next,r===a?e.pending=null:(r=r.next,a.next=r,Ug(e,r)))}function Jd(e,a,r){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do a.status="rejected",a.reason=r,Fg(a),a=a.next;while(a!==l)}e.action=null}function Fg(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function Gg(e,a){return a}function Pg(e,a){if(Pe){var r=ct.formState;if(r!==null){e:{var l=_e;if(Pe){if(pt){t:{for(var u=pt,f=Un;u.nodeType!==8;){if(!f){u=null;break t}if(u=Hn(u.nextSibling),u===null){u=null;break t}}f=u.data,u=f==="F!"||f==="F"?u:null}if(u){pt=Hn(u.nextSibling),l=u.data==="F!";break e}}mi(l)}l=!1}l&&(a=r[0])}}return r=en(),r.memoizedState=r.baseState=a,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gg,lastRenderedState:a},r.queue=l,r=oy.bind(null,_e,l),l.dispatch=r,l=Qd(!1),f=sf.bind(null,_e,!1,l.queue),l=en(),u={state:a,dispatch:null,action:e,pending:null},l.queue=u,r=V2.bind(null,_e,u,f,r),u.dispatch=r,l.memoizedState=e,[a,r,!1]}function Ig(e){var a=Ct();return Yg(a,it,e)}function Yg(e,a,r){if(a=Wd(e,a,Gg)[0],e=mc(Va)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var l=wl(a)}catch(v){throw v===ns?ic:v}else l=a;a=Ct();var u=a.queue,f=u.dispatch;return r!==a.memoizedState&&(_e.flags|=2048,ls(9,{destroy:void 0},H2.bind(null,u,r),null)),[l,f,e]}function H2(e,a){e.action=a}function Kg(e){var a=Ct(),r=it;if(r!==null)return Yg(a,r,e);Ct(),a=a.memoizedState,r=Ct();var l=r.queue.dispatch;return r.memoizedState=e,[a,l,!1]}function ls(e,a,r,l){return e={tag:e,create:r,deps:l,inst:a,next:null},a=_e.updateQueue,a===null&&(a=fc(),_e.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 Zg(){return Ct().memoizedState}function pc(e,a,r,l){var u=en();_e.flags|=e,u.memoizedState=ls(1|a,{destroy:void 0},r,l===void 0?null:l)}function gc(e,a,r,l){var u=Ct();l=l===void 0?null:l;var f=u.memoizedState.inst;it!==null&&l!==null&&Id(l,it.memoizedState.deps)?u.memoizedState=ls(a,f,r,l):(_e.flags|=e,u.memoizedState=ls(1|a,f,r,l))}function qg(e,a){pc(8390656,8,e,a)}function ef(e,a){gc(2048,8,e,a)}function F2(e){_e.flags|=4;var a=_e.updateQueue;if(a===null)a=fc(),_e.updateQueue=a,a.events=[e];else{var r=a.events;r===null?a.events=[e]:r.push(e)}}function Xg(e){var a=Ct().memoizedState;return F2({ref:a,nextImpl:e}),function(){if((Qe&2)!==0)throw Error(s(440));return a.impl.apply(void 0,arguments)}}function Wg(e,a){return gc(4,2,e,a)}function $g(e,a){return gc(4,4,e,a)}function Qg(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 Jg(e,a,r){r=r!=null?r.concat([e]):null,gc(4,4,Qg.bind(null,a,e),r)}function tf(){}function ey(e,a){var r=Ct();a=a===void 0?null:a;var l=r.memoizedState;return a!==null&&Id(a,l[1])?l[0]:(r.memoizedState=[e,a],e)}function ty(e,a){var r=Ct();a=a===void 0?null:a;var l=r.memoizedState;if(a!==null&&Id(a,l[1]))return l[0];if(l=e(),hr){Ut(!0);try{e()}finally{Ut(!1)}}return r.memoizedState=[l,a],l}function nf(e,a,r){return r===void 0||(Ua&1073741824)!==0&&(Fe&261930)===0?e.memoizedState=a:(e.memoizedState=r,e=nv(),_e.lanes|=e,Ti|=e,r)}function ny(e,a,r,l){return pn(r,a)?r:is.current!==null?(e=nf(e,r,l),pn(e,a)||(Rt=!0),e):(Ua&42)===0||(Ua&1073741824)!==0&&(Fe&261930)===0?(Rt=!0,e.memoizedState=r):(e=nv(),_e.lanes|=e,Ti|=e,a)}function ay(e,a,r,l,u){var f=q.p;q.p=f!==0&&8>f?f:8;var v=V.T,S={};V.T=S,sf(e,!1,a,r);try{var C=u(),z=V.S;if(z!==null&&z(S,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var G=z2(C,l);Tl(e,a,G,Sn(e))}else Tl(e,a,l,Sn(e))}catch(Y){Tl(e,a,{then:function(){},status:"rejected",reason:Y},Sn())}finally{q.p=f,v!==null&&S.types!==null&&(v.types=S.types),V.T=v}}function G2(){}function af(e,a,r,l){if(e.tag!==5)throw Error(s(476));var u=iy(e).queue;ay(e,u,a,Q,r===null?G2:function(){return ry(e),r(l)})}function iy(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:Q},next:null};var r={};return a.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:r},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function ry(e){var a=iy(e);a.next===null&&(a=e.alternate.memoizedState),Tl(e,a.next.queue,{},Sn())}function rf(){return Gt(Hl)}function sy(){return Ct().memoizedState}function ly(){return Ct().memoizedState}function P2(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var r=Sn();e=yi(r);var l=vi(a,e,r);l!==null&&(fn(l,a,r),vl(l,a,r)),a={cache:Od()},e.payload=a;return}a=a.return}}function I2(e,a,r){var l=Sn();r={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},yc(e)?cy(a,r):(r=wd(e,a,r,l),r!==null&&(fn(r,e,l),uy(r,a,l)))}function oy(e,a,r){var l=Sn();Tl(e,a,r,l)}function Tl(e,a,r,l){var u={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(yc(e))cy(a,u);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=a.lastRenderedReducer,f!==null))try{var v=a.lastRenderedState,S=f(v,r);if(u.hasEagerState=!0,u.eagerState=S,pn(S,v))return $o(e,a,u,0),ct===null&&Wo(),!1}catch{}finally{}if(r=wd(e,a,u,l),r!==null)return fn(r,e,l),uy(r,a,l),!0}return!1}function sf(e,a,r,l){if(l={lane:2,revertLane:Uf(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},yc(e)){if(a)throw Error(s(479))}else a=wd(e,r,l,2),a!==null&&fn(a,e,2)}function yc(e){var a=e.alternate;return e===_e||a!==null&&a===_e}function cy(e,a){rs=uc=!0;var r=e.pending;r===null?a.next=a:(a.next=r.next,r.next=a),e.pending=a}function uy(e,a,r){if((r&4194048)!==0){var l=a.lanes;l&=e.pendingLanes,r|=l,a.lanes=r,Ho(e,r)}}var El={readContext:Gt,use:hc,useCallback:wt,useContext:wt,useEffect:wt,useImperativeHandle:wt,useLayoutEffect:wt,useInsertionEffect:wt,useMemo:wt,useReducer:wt,useRef:wt,useState:wt,useDebugValue:wt,useDeferredValue:wt,useTransition:wt,useSyncExternalStore:wt,useId:wt,useHostTransitionStatus:wt,useFormState:wt,useActionState:wt,useOptimistic:wt,useMemoCache:wt,useCacheRefresh:wt};El.useEffectEvent=wt;var dy={readContext:Gt,use:hc,useCallback:function(e,a){return en().memoizedState=[e,a===void 0?null:a],e},useContext:Gt,useEffect:qg,useImperativeHandle:function(e,a,r){r=r!=null?r.concat([e]):null,pc(4194308,4,Qg.bind(null,a,e),r)},useLayoutEffect:function(e,a){return pc(4194308,4,e,a)},useInsertionEffect:function(e,a){pc(4,2,e,a)},useMemo:function(e,a){var r=en();a=a===void 0?null:a;var l=e();if(hr){Ut(!0);try{e()}finally{Ut(!1)}}return r.memoizedState=[l,a],l},useReducer:function(e,a,r){var l=en();if(r!==void 0){var u=r(a);if(hr){Ut(!0);try{r(a)}finally{Ut(!1)}}}else u=a;return l.memoizedState=l.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},l.queue=e,e=e.dispatch=I2.bind(null,_e,e),[l.memoizedState,e]}
vendor: 16,607 bytes, line 25
25,useRef:function(e){var a=en();return e={current:e},a.memoizedState=e},useState:function(e){e=Qd(e);var a=e.queue,r=oy.bind(null,_e,a);return a.dispatch=r,[e.memoizedState,r]},useDebugValue:tf,useDeferredValue:function(e,a){var r=en();return nf(r,e,a)},useTransition:function(){var e=Qd(!1);return e=ay.bind(null,_e,e.queue,!0,!1),en().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,r){var l=_e,u=en();if(Pe){if(r===void 0)throw Error(s(407));r=r()}else{if(r=a(),ct===null)throw Error(s(349));(Fe&127)!==0||_g(l,a,r)}u.memoizedState=r;var f={value:r,getSnapshot:a};return u.queue=f,qg(kg.bind(null,l,f,e),[e]),l.flags|=2048,ls(9,{destroy:void 0},Og.bind(null,l,f,r,a),null),r},useId:function(){var e=en(),a=ct.identifierPrefix;if(Pe){var r=ca,l=oa;r=(l&~(1<<32-Xt(l)-1)).toString(32)+r,a="_"+a+"R_"+r,r=dc++,0<r&&(a+="H"+r.toString(32)),a+="_"}else r=B2++,a="_"+a+"r_"+r.toString(32)+"_";return e.memoizedState=a},useHostTransitionStatus:rf,useFormState:Pg,useActionState:Pg,useOptimistic:function(e){var a=en();a.memoizedState=a.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=r,a=sf.bind(null,_e,!0,r),r.dispatch=a,[e,a]},useMemoCache:Xd,useCacheRefresh:function(){return en().memoizedState=P2.bind(null,_e)},useEffectEvent:function(e){var a=en(),r={impl:e};return a.memoizedState=r,function(){if((Qe&2)!==0)throw Error(s(440));return r.impl.apply(void 0,arguments)}}},lf={readContext:Gt,use:hc,useCallback:ey,useContext:Gt,useEffect:ef,useImperativeHandle:Jg,useInsertionEffect:Wg,useLayoutEffect:$g,useMemo:ty,useReducer:mc,useRef:Zg,useState:function(){return mc(Va)},useDebugValue:tf,useDeferredValue:function(e,a){var r=Ct();return ny(r,it.memoizedState,e,a)},useTransition:function(){var e=mc(Va)[0],a=Ct().memoizedState;return[typeof e=="boolean"?e:wl(e),a]},useSyncExternalStore:Mg,useId:sy,useHostTransitionStatus:rf,useFormState:Ig,useActionState:Ig,useOptimistic:function(e,a){var r=Ct();return Bg(r,it,e,a)},useMemoCache:Xd,useCacheRefresh:ly};lf.useEffectEvent=Xg;var fy={readContext:Gt,use:hc,useCallback:ey,useContext:Gt,useEffect:ef,useImperativeHandle:Jg,useInsertionEffect:Wg,useLayoutEffect:$g,useMemo:ty,useReducer:$d,useRef:Zg,useState:function(){return $d(Va)},useDebugValue:tf,useDeferredValue:function(e,a){var r=Ct();return it===null?nf(r,e,a):ny(r,it.memoizedState,e,a)},useTransition:function(){var e=$d(Va)[0],a=Ct().memoizedState;return[typeof e=="boolean"?e:wl(e),a]},useSyncExternalStore:Mg,useId:sy,useHostTransitionStatus:rf,useFormState:Kg,useActionState:Kg,useOptimistic:function(e,a){var r=Ct();return it!==null?Bg(r,it,e,a):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:Xd,useCacheRefresh:ly};fy.useEffectEvent=Xg;function of(e,a,r,l){a=e.memoizedState,r=r(l,a),r=r==null?a:x({},a,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var cf={enqueueSetState:function(e,a,r){e=e._reactInternals;var l=Sn(),u=yi(l);u.payload=a,r!=null&&(u.callback=r),a=vi(e,u,l),a!==null&&(fn(a,e,l),vl(a,e,l))},enqueueReplaceState:function(e,a,r){e=e._reactInternals;var l=Sn(),u=yi(l);u.tag=1,u.payload=a,r!=null&&(u.callback=r),a=vi(e,u,l),a!==null&&(fn(a,e,l),vl(a,e,l))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var r=Sn(),l=yi(r);l.tag=2,a!=null&&(l.callback=a),a=vi(e,l,r),a!==null&&(fn(a,e,r),vl(a,e,r))}};function hy(e,a,r,l,u,f,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,f,v):a.prototype&&a.prototype.isPureReactComponent?!ul(r,l)||!ul(u,f):!0}function my(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&&cf.enqueueReplaceState(a,a.state,null)}function mr(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=x({},r));for(var u in e)r[u]===void 0&&(r[u]=e[u])}return r}function py(e){Xo(e)}function gy(e){console.error(e)}function yy(e){Xo(e)}function vc(e,a){try{var r=e.onUncaughtError;r(a.value,{componentStack:a.stack})}catch(l){setTimeout(function(){throw l})}}function vy(e,a,r){try{var l=e.onCaughtError;l(r.value,{componentStack:r.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function uf(e,a,r){return r=yi(r),r.tag=3,r.payload={element:null},r.callback=function(){vc(e,a)},r}function xy(e){return e=yi(e),e.tag=3,e}function by(e,a,r,l){var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var f=l.value;e.payload=function(){return u(f)},e.callback=function(){vy(a,r,l)}}var v=r.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(e.callback=function(){vy(a,r,l),typeof u!="function"&&(Ei===null?Ei=new Set([this]):Ei.add(this));var S=l.stack;this.componentDidCatch(l.value,{componentStack:S!==null?S:""})})}function Y2(e,a,r,l,u){if(r.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(a=r.alternate,a!==null&&Jr(a,r,u,!0),r=yn.current,r!==null){switch(r.tag){case 31:case 13:return Vn===null?Dc():r.alternate===null&&Tt===0&&(Tt=3),r.flags&=-257,r.flags|=65536,r.lanes=u,l===rc?r.flags|=16384:(a=r.updateQueue,a===null?r.updateQueue=new Set([l]):a.add(l),Lf(e,l,u)),!1;case 22:return r.flags|=65536,l===rc?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)),Lf(e,l,u)),!1}throw Error(s(435,r.tag))}return Lf(e,l,u),Dc(),!1}if(Pe)return a=yn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=u,l!==Nd&&(e=Error(s(422),{cause:l}),hl(Ln(e,r)))):(l!==Nd&&(a=Error(s(423),{cause:l}),hl(Ln(a,r))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,l=Ln(l,r),u=uf(e.stateNode,l,u),Vd(e,u),Tt!==4&&(Tt=2)),!1;var f=Error(s(520),{cause:l});if(f=Ln(f,r),_l===null?_l=[f]:_l.push(f),Tt!==4&&(Tt=2),a===null)return!0;l=Ln(l,r),r=a;do{switch(r.tag){case 3:return r.flags|=65536,e=u&-u,r.lanes|=e,e=uf(r.stateNode,l,e),Vd(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"&&(Ei===null||!Ei.has(f))))return r.flags|=65536,u&=-u,r.lanes|=u,u=xy(u),by(u,e,r,l),Vd(r,u),!1}r=r.return}while(r!==null);return!1}var df=Error(s(461)),Rt=!1;function Pt(e,a,r,l){a.child=e===null?Eg(a,null,r,l):fr(a,e.child,r,l)}function Sy(e,a,r,l,u){r=r.render;var f=a.ref;if("ref"in l){var v={};for(var S in l)S!=="ref"&&(v[S]=l[S])}else v=l;return or(a),l=Yd(e,a,r,v,f,u),S=Kd(),e!==null&&!Rt?(Zd(e,a,u),Ha(e,a,u)):(Pe&&S&&Cd(a),a.flags|=1,Pt(e,a,l,u),a.child)}function wy(e,a,r,l,u){if(e===null){var f=r.type;return typeof f=="function"&&!Td(f)&&f.defaultProps===void 0&&r.compare===null?(a.tag=15,a.type=f,Ty(e,a,f,l,u)):(e=Jo(r.type,null,l,a,a.mode,u),e.ref=a.ref,e.return=a,a.child=e)}if(f=e.child,!xf(e,u)){var v=f.memoizedProps;if(r=r.compare,r=r!==null?r:ul,r(v,l)&&e.ref===a.ref)return Ha(e,a,u)}return a.flags|=1,e=ka(f,l),e.ref=a.ref,e.return=a,a.child=e}function Ty(e,a,r,l,u){if(e!==null){var f=e.memoizedProps;if(ul(f,l)&&e.ref===a.ref)if(Rt=!1,a.pendingProps=l=f,xf(e,u))(e.flags&131072)!==0&&(Rt=!0);else return a.lanes=e.lanes,Ha(e,a,u)}return ff(e,a,r,l,u)}function Ey(e,a,r,l){var u=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,u=0;l!==null;)u=u|l.lanes|l.childLanes,l=l.sibling;l=u&~f}else l=0,a.child=null;return Ay(e,a,f,r,l)}if((r&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&ac(a,f!==null?f.cachePool:null),f!==null?jg(a,f):Fd(),Ng(a);else return l=a.lanes=536870912,Ay(e,a,f!==null?f.baseLanes|r:r,r,l)}else f!==null?(ac(a,f.cachePool),jg(a,f),bi(),a.memoizedState=null):(e!==null&&ac(a,null),Fd(),bi());return Pt(e,a,u,r),a.child}function Al(e,a){return e!==null&&e.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function Ay(e,a,r,l,u){var f=Ld();return f=f===null?null:{parent:jt._currentValue,pool:f},a.memoizedState={baseLanes:r,cachePool:f},e!==null&&ac(a,null),Fd(),Ng(a),e!==null&&Jr(e,a,l,!0),a.childLanes=u,null}function xc(e,a){return a=Sc({mode:a.mode,children:a.children},e.mode),a.ref=e.ref,e.child=a,a.return=e,a}function Cy(e,a,r){return fr(a,e.child,null,r),e=xc(a,a.pendingProps),e.flags|=2,vn(a),a.memoizedState=null,e}function K2(e,a,r){var l=a.pendingProps,u=(a.flags&128)!==0;if(a.flags&=-129,e===null){if(Pe){if(l.mode==="hidden")return e=xc(a,l),a.lanes=536870912,Al(null,e);if(Pd(a),(e=pt)?(e=Uv(e,Un),e=e!==null&&e.data==="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:fi!==null?{id:oa,overflow:ca}:null,retryLane:536870912,hydrationErrors:null},r=cg(e),r.return=a,a.child=r,Ft=a,pt=null)):e=null,e===null)throw mi(a);return a.lanes=536870912,null}return xc(a,l)}var f=e.memoizedState;if(f!==null){var v=f.dehydrated;if(Pd(a),u)if(a.flags&256)a.flags&=-257,a=Cy(e,a,r);else if(a.memoizedState!==null)a.child=e.child,a.flags|=128,a=null;else throw Error(s(558));else if(Rt||Jr(e,a,r,!1),u=(r&e.childLanes)!==0,Rt||u){if(l=ct,l!==null&&(v=A(l,r),v!==0&&v!==f.retryLane))throw f.retryLane=v,ir(e,v),fn(l,e,v),df;Dc(),a=Cy(e,a,r)}else e=f.treeContext,pt=Hn(v.nextSibling),Ft=a,Pe=!0,hi=null,Un=!1,e!==null&&fg(a,e),a=xc(a,l),a.flags|=4096;return a}return e=ka(e.child,{mode:l.mode,children:l.children}),e.ref=a.ref,a.child=e,e.return=a,e}function bc(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 ff(e,a,r,l,u){return or(a),r=Yd(e,a,r,l,void 0,u),l=Kd(),e!==null&&!Rt?(Zd(e,a,u),Ha(e,a,u)):(Pe&&l&&Cd(a),a.flags|=1,Pt(e,a,r,u),a.child)}function jy(e,a,r,l,u,f){return or(a),a.updateQueue=null,r=Dg(a,l,r,u),Rg(e),l=Kd(),e!==null&&!Rt?(Zd(e,a,f),Ha(e,a,f)):(Pe&&l&&Cd(a),a.flags|=1,Pt(e,a,r,f),a.child)}function Ny(e,a,r,l,u){if(or(a),a.stateNode===null){var f=Xr,v=r.contextType;typeof v=="object"&&v!==null&&(f=Gt(v)),f=new r(l,f),a.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=cf,a.stateNode=f,f._reactInternals=a,f=a.stateNode,f.props=l,f.state=a.memoizedState,f.refs={},Bd(a),v=r.contextType,f.context=typeof v=="object"&&v!==null?Gt(v):Xr,f.state=a.memoizedState,v=r.getDerivedStateFromProps,typeof v=="function"&&(of(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&&cf.enqueueReplaceState(f,f.state,null),bl(a,l,f,u),xl(),f.state=a.memoizedState),typeof f.componentDidMount=="function"&&(a.flags|=4194308),l=!0}else if(e===null){f=a.stateNode;var S=a.memoizedProps,C=mr(r,S);f.props=C;var z=f.context,G=r.contextType;v=Xr,typeof G=="object"&&G!==null&&(v=Gt(G));var Y=r.getDerivedStateFromProps;G=typeof Y=="function"||typeof f.getSnapshotBeforeUpdate=="function",S=a.pendingProps!==S,G||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(S||z!==v)&&my(a,f,l,v),gi=!1;var B=a.memoizedState;f.state=B,bl(a,l,f,u),xl(),z=a.memoizedState,S||B!==z||gi?(typeof Y=="function"&&(of(a,r,Y,l),z=a.memoizedState),(C=gi||hy(a,r,C,l,B,z,v))?(G||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=z),f.props=l,f.state=z,f.context=v,l=C):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),l=!1)}else{f=a.stateNode,Ud(e,a),v=a.memoizedProps,G=mr(r,v),f.props=G,Y=a.pendingProps,B=f.context,z=r.contextType,C=Xr,typeof z=="object"&&z!==null&&(C=Gt(z)),S=r.getDerivedStateFromProps,(z=typeof S=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(v!==Y||B!==C)&&my(a,f,l,C),gi=!1,B=a.memoizedState,f.state=B,bl(a,l,f,u),xl();var F=a.memoizedState;v!==Y||B!==F||gi||e!==null&&e.dependencies!==null&&tc(e.dependencies)?(typeof S=="function"&&(of(a,r,S,l),F=a.memoizedState),(G=gi||hy(a,r,G,l,B,F,C)||e!==null&&e.dependencies!==null&&tc(e.dependencies))?(z||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(l,F,C),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(l,F,C)),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=F),f.props=l,f.state=F,f.context=C,l=G):(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,bc(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=fr(a,e.child,null,u),a.child=fr(a,null,r,u)):Pt(e,a,r,u),a.memoizedState=f.state,e=a.child):e=Ha(e,a,u),e}function Ry(e,a,r,l){return sr(),a.flags|=256,Pt(e,a,r,l),a.child}var hf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function mf(e){return{baseLanes:e,cachePool:vg()}}function pf(e,a,r){return e=e!==null?e.childLanes&~r:0,a&&(e|=bn),e}function Dy(e,a,r){var l=a.pendingProps,u=!1,f=(a.flags&128)!==0,v;if((v=f)||(v=e!==null&&e.memoizedState===null?!1:(At.current&2)!==0),v&&(u=!0,a.flags&=-129),v=(a.flags&32)!==0,a.flags&=-33,e===null){if(Pe){if(u?xi(a):bi(),(e=pt)?(e=Uv(e,Un),e=e!==null&&e.data!=="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:fi!==null?{id:oa,overflow:ca}:null,retryLane:536870912,hydrationErrors:null},r=cg(e),r.return=a,a.child=r,Ft=a,pt=null)):e=null,e===null)throw mi(a);return $f(e)?a.lanes=32:a.lanes=536870912,null}var S=l.children;return l=l.fallback,u?(bi(),u=a.mode,S=Sc({mode:"hidden",children:S},u),l=rr(l,u,r,null),S.return=a,l.return=a,S.sibling=l,a.child=S,l=a.child,l.memoizedState=mf(r),l.childLanes=pf(e,v,r),a.memoizedState=hf,Al(null,l)):(xi(a),gf(a,S))}var C=e.memoizedState;if(C!==null&&(S=C.dehydrated,S!==null)){if(f)a.flags&256?(xi(a),a.flags&=-257,a=yf(e,a,r)):a.memoizedState!==null?(bi(),a.child=e.child,a.flags|=128,a=null):(bi(),S=l.fallback,u=a.mode,l=Sc({mode:"visible",children:l.children},u),S=rr(S,u,r,null),S.flags|=2,l.return=a,S.return=a,l.sibling=S,a.child=l,fr(a,e.child,null,r),l=a.child,l.memoizedState=mf(r),l.childLanes=pf(e,v,r),a.memoizedState=hf,a=Al(null,l));else if(xi(a),$f(S)){if(v=S.nextSibling&&S.nextSibling.dataset,v)var z=v.dgst;v=z,l=Error(s(419)),l.stack="",l.digest=v,hl({value:l,source:null,stack:null}),a=yf(e,a,r)}else if(Rt||Jr(e,a,r,!1),v=(r&e.childLanes)!==0,Rt||v){if(v=ct,v!==null&&(l=A(v,r),l!==0&&l!==C.retryLane))throw C.retryLane=l,ir(e,l),fn(v,e,l),df;Wf(S)||Dc(),a=yf(e,a,r)}else Wf(S)?(a.flags|=192,a.child=e.child,a=null):(e=C.treeContext,pt=Hn(S.nextSibling),Ft=a,Pe=!0,hi=null,Un=!1,e!==null&&fg(a,e),a=gf(a,l.children),a.flags|=4096);return a}return u?(bi(),S=l.fallback,u=a.mode,C=e.child,z=C.sibling,l=ka(C,{mode:"hidden",children:l.children}),l.subtreeFlags=C.subtreeFlags&65011712,z!==null?S=ka(z,S):(S=rr(S,u,r,null),S.flags|=2),S.return=a,l.return=a,l.sibling=S,a.child=l,Al(null,l),l=a.child,S=e.child.memoizedState,S===null?S=mf(r):(u=S.cachePool,u!==null?(C=jt._currentValue,u=u.parent!==C?{parent:C,pool:C}:u):u=vg(),S={baseLanes:S.baseLanes|r,cachePool:u}),l.memoizedState=S,l.childLanes=pf(e,v,r),a.memoizedState=hf,Al(e.child,l)):(xi(a),r=e.child,e=r.sibling,r=ka(r,{mode:"visible",children:l.children}),r.return=a,r.sibling=null,e!==null&&(v=a.deletions,v===null?(a.deleti
vendor: 8,408 bytes, line 25
25ons=[e],a.flags|=16):v.push(e)),a.child=r,a.memoizedState=null,r)}function gf(e,a){return a=Sc({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function Sc(e,a){return e=gn(22,e,null,a),e.lanes=0,e}function yf(e,a,r){return fr(a,e.child,null,r),e=gf(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function My(e,a,r){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a),Md(e.return,a,r)}function vf(e,a,r,l,u,f){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:l,tail:r,tailMode:u,treeForkCount:f}:(v.isBackwards=a,v.rendering=null,v.renderingStartTime=0,v.last=l,v.tail=r,v.tailMode=u,v.treeForkCount=f)}function _y(e,a,r){var l=a.pendingProps,u=l.revealOrder,f=l.tail;l=l.children;var v=At.current,S=(v&2)!==0;if(S?(v=v&1|2,a.flags|=128):v&=1,Ce(At,v),Pt(e,a,l,r),l=Pe?fl:0,!S&&e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&My(e,r,a);else if(e.tag===19)My(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(u){case"forwards":for(r=a.child,u=null;r!==null;)e=r.alternate,e!==null&&cc(e)===null&&(u=r),r=r.sibling;r=u,r===null?(u=a.child,a.child=null):(u=r.sibling,r.sibling=null),vf(a,!1,u,r,f,l);break;case"backwards":case"unstable_legacy-backwards":for(r=null,u=a.child,a.child=null;u!==null;){if(e=u.alternate,e!==null&&cc(e)===null){a.child=u;break}e=u.sibling,u.sibling=r,r=u,u=e}vf(a,!0,r,null,f,l);break;case"together":vf(a,!1,null,null,void 0,l);break;default:a.memoizedState=null}return a.child}function Ha(e,a,r){if(e!==null&&(a.dependencies=e.dependencies),Ti|=a.lanes,(r&a.childLanes)===0)if(e!==null){if(Jr(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=ka(e,e.pendingProps),a.child=r,r.return=a;e.sibling!==null;)e=e.sibling,r=r.sibling=ka(e,e.pendingProps),r.return=a;r.sibling=null}return a.child}function xf(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&tc(e)))}function Z2(e,a,r){switch(a.tag){case 3:Ta(a,a.stateNode.containerInfo),pi(a,jt,e.memoizedState.cache),sr();break;case 27:case 5:Ws(a);break;case 4:Ta(a,a.stateNode.containerInfo);break;case 10:pi(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Pd(a),null;break;case 13:var l=a.memoizedState;if(l!==null)return l.dehydrated!==null?(xi(a),a.flags|=128,null):(r&a.child.childLanes)!==0?Dy(e,a,r):(xi(a),e=Ha(e,a,r),e!==null?e.sibling:null);xi(a);break;case 19:var u=(e.flags&128)!==0;if(l=(r&a.childLanes)!==0,l||(Jr(e,a,r,!1),l=(r&a.childLanes)!==0),u){if(l)return _y(e,a,r);a.flags|=128}if(u=a.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),Ce(At,At.current),l)break;return null;case 22:return a.lanes=0,Ey(e,a,r,a.pendingProps);case 24:pi(a,jt,e.memoizedState.cache)}return Ha(e,a,r)}function Oy(e,a,r){if(e!==null)if(e.memoizedProps!==a.pendingProps)Rt=!0;else{if(!xf(e,r)&&(a.flags&128)===0)return Rt=!1,Z2(e,a,r);Rt=(e.flags&131072)!==0}else Rt=!1,Pe&&(a.flags&1048576)!==0&&dg(a,fl,a.index);switch(a.lanes=0,a.tag){case 16:e:{var l=a.pendingProps;if(e=ur(a.elementType),a.type=e,typeof e=="function")Td(e)?(l=mr(e,l),a.tag=1,a=Ny(null,a,e,l,r)):(a.tag=0,a=ff(null,a,e,l,r));else{if(e!=null){var u=e.$$typeof;if(u===I){a.tag=11,a=Sy(null,a,e,l,r);break e}else if(u===te){a.tag=14,a=wy(null,a,e,l,r);break e}}throw a=Be(e)||e,Error(s(306,a,""))}}return a;case 0:return ff(e,a,a.type,a.pendingProps,r);case 1:return l=a.type,u=mr(l,a.pendingProps),Ny(e,a,l,u,r);case 3:e:{if(Ta(a,a.stateNode.containerInfo),e===null)throw Error(s(387));l=a.pendingProps;var f=a.memoizedState;u=f.element,Ud(e,a),bl(a,l,null,r);var v=a.memoizedState;if(l=v.cache,pi(a,jt,l),l!==f.cache&&_d(a,[jt],r,!0),xl(),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=Ry(e,a,l,r);break e}else if(l!==u){u=Ln(Error(s(424)),a),hl(u),a=Ry(e,a,l,r);break e}else{switch(e=a.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(pt=Hn(e.firstChild),Ft=a,Pe=!0,hi=null,Un=!0,r=Eg(a,null,l,r),a.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(sr(),l===u){a=Ha(e,a,r);break e}Pt(e,a,l,r)}a=a.child}return a;case 26:return bc(e,a),e===null?(r=Iv(a.type,null,a.pendingProps,null))?a.memoizedState=r:Pe||(r=a.type,e=a.pendingProps,l=Bc(ft.current).createElement(r),l[ie]=a,l[re]=e,It(l,r,e),We(l),a.stateNode=l):a.memoizedState=Iv(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return Ws(a),e===null&&Pe&&(l=a.stateNode=Fv(a.type,a.pendingProps,ft.current),Ft=a,Un=!0,u=pt,Ni(a.type)?(Qf=u,pt=Hn(l.firstChild)):pt=u),Pt(e,a,a.pendingProps.children,r),bc(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&Pe&&((u=l=pt)&&(l=TT(l,a.type,a.pendingProps,Un),l!==null?(a.stateNode=l,Ft=a,pt=Hn(l.firstChild),Un=!1,u=!0):u=!1),u||mi(a)),Ws(a),u=a.type,f=a.pendingProps,v=e!==null?e.memoizedProps:null,l=f.children,Zf(u,f)?l=null:v!==null&&Zf(u,v)&&(a.flags|=32),a.memoizedState!==null&&(u=Yd(e,a,U2,null,null,r),Hl._currentValue=u),bc(e,a),Pt(e,a,l,r),a.child;case 6:return e===null&&Pe&&((e=r=pt)&&(r=ET(r,a.pendingProps,Un),r!==null?(a.stateNode=r,Ft=a,pt=null,e=!0):e=!1),e||mi(a)),null;case 13:return Dy(e,a,r);case 4:return Ta(a,a.stateNode.containerInfo),l=a.pendingProps,e===null?a.child=fr(a,null,l,r):Pt(e,a,l,r),a.child;case 11:return Sy(e,a,a.type,a.pendingProps,r);case 7:return Pt(e,a,a.pendingProps,r),a.child;case 8:return Pt(e,a,a.pendingProps.children,r),a.child;case 12:return Pt(e,a,a.pendingProps.children,r),a.child;case 10:return l=a.pendingProps,pi(a,a.type,l.value),Pt(e,a,l.children,r),a.child;case 9:return u=a.type._context,l=a.pendingProps.children,or(a),u=Gt(u),l=l(u),a.flags|=1,Pt(e,a,l,r),a.child;case 14:return wy(e,a,a.type,a.pendingProps,r);case 15:return Ty(e,a,a.type,a.pendingProps,r);case 19:return _y(e,a,r);case 31:return K2(e,a,r);case 22:return Ey(e,a,r,a.pendingProps);case 24:return or(a),l=Gt(jt),e===null?(u=Ld(),u===null&&(u=ct,f=Od(),u.pooledCache=f,f.refCount++,f!==null&&(u.pooledCacheLanes|=r),u=f),a.memoizedState={parent:l,cache:u},Bd(a),pi(a,jt,u)):((e.lanes&r)!==0&&(Ud(e,a),bl(a,null,null,r),xl()),u=e.memoizedState,f=a.memoizedState,u.parent!==l?(u={parent:l,cache:l},a.memoizedState=u,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=u),pi(a,jt,l)):(l=f.cache,pi(a,jt,l),l!==u.cache&&_d(a,[jt],r,!0))),Pt(e,a,a.pendingProps.children,r),a.child;case 29:throw a.pendingProps}throw Error(s(156,a.tag))}function Fa(e){e.flags|=4}function bf(e,a,r,l,u){if((a=(e.mode&32)!==0)&&(a=!1),a){if(e.flags|=16777216,(u&335544128)===u)if(e.stateNode.complete)e.flags|=8192;else if(sv())e.flags|=8192;else throw dr=rc,zd}else e.flags&=-16777217}function ky(e,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Xv(a))if(sv())e.flags|=8192;else throw dr=rc,zd}function wc(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?nl():536870912,e.lanes|=a,ds|=a)}function Cl(e,a){if(!Pe)switch(e.tailMode){case"hidden":a=e.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function gt(e){var a=e.alternate!==null&&e.alternate.child===e.child,r=0,l=0;if(a)for(var u=e.child;u!==null;)r|=u.lanes|u.childLanes,l|=u.subtreeFlags&65011712,l|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)r|=u.lanes|u.childLanes,l|=u.subtreeFlags,l|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=l,e.childLanes=r,a}function q2(e,a,r){var l=a.pendingProps;switch(jd(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gt(a),null;case 1:return gt(a),null;case 3:return r=a.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),Ba(jt),an(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Qr(a)?Fa(a):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Rd())
vendor: 1,084 bytes, line 25
25),gt(a),null;case 26:var u=a.type,f=a.memoizedState;return e===null?(Fa(a),f!==null?(gt(a),ky(a,f)):(gt(a),bf(a,u,null,l,r))):f?f!==e.memoizedState?(Fa(a),gt(a),ky(a,f)):(gt(a),a.flags&=-16777217):(e=e.memoizedProps,e!==l&&Fa(a),gt(a),bf(a,u,e,l,r)),null;case 27:if(zr(a),r=ft.current,u=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&Fa(a);else{if(!l){if(a.stateNode===null)throw Error(s(166));return gt(a),null}e=Je.current,Qr(a)?hg(a):(e=Fv(u,l,r),a.stateNode=e,Fa(a))}return gt(a),null;case 5:if(zr(a),u=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&Fa(a);else{if(!l){if(a.stateNode===null)throw Error(s(166));return gt(a),null}if(f=Je.current,Qr(a))hg(a);else{var v=Bc(ft.current);switch(f){case 1:f=v.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:f=v.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":f=v.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":f=v.createElementNS("http://www.w3.org/1998/Math/MathML",u);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(u,{is:l.is}):v.createElement(u)}}f[ie]=a,f[re]=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(It(f,u,l),u){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Fa(a)}}return gt(a),bf(a,a.type,e===null?null:e.memoizedProps,a.pendingProps,r),null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==l&&Fa(a);else{if(typeof l!="string"&&a.stateNode===null)throw Error(s(166));if(e=ft.current,Qr(a)){if(e=a.stateNode,r=a.memoizedProps,l=null,u=Ft,u!==null)switch(u.tag){case 27:case 5:l=u.memoizedProps}e[ie]=a,e=!!(e.nodeValue===r||l!==null&&l.suppressHydrationWarning===!0||Dv(e.nodeValue,r)),e||mi(a,!0)}else e=Bc(e).createTextNode(l),e[ie]=a,a.stateNode=e}return gt(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[ie]=a}else sr(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;gt(a),e=!1}else r=Rd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return a.flags&256?(vn(a),a):(vn(a),null);if((a.flags&128)!==0)throw Error(s(558))}return gt(a),null;case 13:if(l=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Qr(a),l!==null&&l.dehydrated!==null){if(e===null){if(!u)throw Error(s(318));if(u=a.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(s(317));u[ie]=a}else sr(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;gt(a),u=!1}else u=Rd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return a.flags&256?(vn(a),a):(vn(a),null)}return vn(a),(a.flags&128)!==0?(a.lanes=r,a):(r=l!==null,e=e!==null&&e.memoizedState!==null,r&&(l=a.child,u=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(u=l.alternate.memoizedState.cachePool.pool),f=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(f=l.memoizedState.cachePool.pool),f!==u&&(l.flags|=2048)),r!==e&&r&&(a.child.flags|=8192),wc(a,a.updateQueue),gt(a),null);case 4:return an(),e===null&&Gf(a.stateNode.containerInfo),gt(a),null;case 10:return Ba(a.type),gt(a),null;case 19:if(De(At),l=a.memoizedState,l===null)return gt(a),null;if(u=(a.flags&128)!==0,f=l.rendering,f===null)if(u)Cl(l,!1);else{if(Tt!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(f=cc(e),f!==null){for(a.flags|=128,Cl(l,!1),e=f.updateQueue,a.updateQueue=e,wc(a,e),a.subtreeFlags=0,e=r,r=a.child;r!==null;)og(r,e),r=r.sibling;return Ce(At,At.current&1|2),Pe&&La(a,l.treeForkCount),a.child}e=e.sibling}l.tail!==null&&Qt()>jc&&(a.flags|=128,u=!0,Cl(l,!1),a.lanes=4194304)}else{if(!u)if(e=cc(f),e!==null){if(a.flags|=128,u=!0,e=e.updateQueue,a.updateQueue=e,wc(a,e),Cl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!f.alternate&&!Pe)return gt(a),null}else 2*Qt()-l.renderingStartTime>jc&&r!==536870912&&(a.flags|=128,u=!0,Cl(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=Qt(),e.sibling=null,r=At.current,Ce(At,u?r&1|2:r&1),Pe&&La(a,l.treeForkCount),e):(gt(a),null);case 22:case 23:return vn(a),Gd(),l=a.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(a.flags|=8192):l&&(a.flags|=8192),l?(r&536870912)!==0&&(a.flags&128)===0&&(gt(a),a.subtreeFlags&6&&(a.flags|=8192)):gt(a),r=a.updateQueue,r!==null&&wc(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&&De(cr),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),a.memoizedState.cache!==r&&(a.flags|=2048),Ba(jt),gt(a),null;case 25:return null;case 30:return null}throw Error(s(156,a.tag))}function X2(e,a){switch(jd(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return Ba(jt),an(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return zr(a),null;case 31:if(a.memoizedState!==null){if(vn(a),a.alternate===null)throw Error(s(340));sr()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 13:if(vn(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(s(340));sr()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return De(At),null;case 4:return an(),null;case 10:return Ba(a.type),null;case 22:case 23:return vn(a),Gd(),e!==null&&De(cr),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return Ba(jt),null;case 25:return null;default:return null}}function Ly(e,a){switch(jd(a),a.tag){case 3:Ba(jt),an();break;case 26:case 27:case 5:zr(a);break;case 4:an();break;case 31:a.memoizedState!==null&&vn(a);break;case 13:vn(a);break;case 19:De(At);break;case 10:Ba(a.type);break;case 22:case 23:vn(a),Gd(),e!==null&&De(cr);break;case 24:Ba(jt)}}function jl(e,a){try{var r=a.updateQueue,l=r!==null?r.lastEffect:null;if(l!==null){var u=l.next;r=u;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: 19,502 bytes, line 25
25while(r!==u)}}catch(S){at(a,a.return,S)}}function Si(e,a,r){try{var l=a.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var f=u.next;l=f;do{if((l.tag&e)===e){var v=l.inst,S=v.destroy;if(S!==void 0){v.destroy=void 0,u=a;var C=r,z=S;try{z()}catch(G){at(u,C,G)}}}l=l.next}while(l!==f)}}catch(G){at(a,a.return,G)}}function zy(e){var a=e.updateQueue;if(a!==null){var r=e.stateNode;try{Cg(a,r)}catch(l){at(e,e.return,l)}}}function By(e,a,r){r.props=mr(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(l){at(e,a,l)}}function Nl(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(u){at(e,a,u)}}function ua(e,a){var r=e.ref,l=e.refCleanup;if(r!==null)if(typeof l=="function")try{l()}catch(u){at(e,a,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(u){at(e,a,u)}else r.current=null}function Uy(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(u){at(e,e.return,u)}}function Sf(e,a,r){try{var l=e.stateNode;yT(l,e.type,r,a),l[re]=a}catch(u){at(e,e.return,u)}}function Vy(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ni(e.type)||e.tag===4}function wf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vy(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&&Ni(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 Tf(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=_a));else if(l!==4&&(l===27&&Ni(e.type)&&(r=e.stateNode,a=null),e=e.child,e!==null))for(Tf(e,a,r),e=e.sibling;e!==null;)Tf(e,a,r),e=e.sibling}function Tc(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&&Ni(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(Tc(e,a,r),e=e.sibling;e!==null;)Tc(e,a,r),e=e.sibling}function Hy(e){var a=e.stateNode,r=e.memoizedProps;try{for(var l=e.type,u=a.attributes;u.length;)a.removeAttributeNode(u[0]);It(a,l,r),a[ie]=e,a[re]=r}catch(f){at(e,e.return,f)}}var Ga=!1,Dt=!1,Ef=!1,Fy=typeof WeakSet=="function"?WeakSet:Set,Ht=null;function W2(e,a){if(e=e.containerInfo,Yf=Ic,e=Jp(e),gd(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 u=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{r.nodeType,f.nodeType}catch{r=null;break e}var v=0,S=-1,C=-1,z=0,G=0,Y=e,B=null;t:for(;;){for(var F;Y!==r||u!==0&&Y.nodeType!==3||(S=v+u),Y!==f||l!==0&&Y.nodeType!==3||(C=v+l),Y.nodeType===3&&(v+=Y.nodeValue.length),(F=Y.firstChild)!==null;)B=Y,Y=F;for(;;){if(Y===e)break t;if(B===r&&++z===u&&(S=v),B===f&&++G===l&&(C=v),(F=Y.nextSibling)!==null)break;Y=B,B=Y.parentNode}Y=F}r=S===-1||C===-1?null:{start:S,end:C}}else r=null}r=r||{start:0,end:0}}else r=null;for(Kf={focusedElem:e,selectionRange:r},Ic=!1,Ht=a;Ht!==null;)if(a=Ht,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,Ht=e;else for(;Ht!==null;){switch(a=Ht,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++)u=e[r],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&f!==null){e=void 0,r=a,u=f.memoizedProps,f=f.memoizedState,l=r.stateNode;try{var ue=mr(r.type,u);e=l.getSnapshotBeforeUpdate(ue,f),l.__reactInternalSnapshotBeforeUpdate=e}catch(Te){at(r,r.return,Te)}}break;case 3:if((e&1024)!==0){if(e=a.stateNode.containerInfo,r=e.nodeType,r===9)Xf(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Xf(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,Ht=e;break}Ht=a.return}}function Gy(e,a,r){var l=r.flags;switch(r.tag){case 0:case 11:case 15:Ia(e,r),l&4&&jl(5,r);break;case 1:if(Ia(e,r),l&4)if(e=r.stateNode,a===null)try{e.componentDidMount()}catch(v){at(r,r.return,v)}else{var u=mr(r.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(u,a,e.__reactInternalSnapshotBeforeUpdate)}catch(v){at(r,r.return,v)}}l&64&&zy(r),l&512&&Nl(r,r.return);break;case 3:if(Ia(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{Cg(e,a)}catch(v){at(r,r.return,v)}}break;case 27:a===null&&l&4&&Hy(r);case 26:case 5:Ia(e,r),a===null&&l&4&&Uy(r),l&512&&Nl(r,r.return);break;case 12:Ia(e,r);break;case 31:Ia(e,r),l&4&&Yy(e,r);break;case 13:Ia(e,r),l&4&&Ky(e,r),l&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=rT.bind(null,r),AT(e,r))));break;case 22:if(l=r.memoizedState!==null||Ga,!l){a=a!==null&&a.memoizedState!==null||Dt,u=Ga;var f=Dt;Ga=l,(Dt=a)&&!f?Ya(e,r,(r.subtreeFlags&8772)!==0):Ia(e,r),Ga=u,Dt=f}break;case 30:break;default:Ia(e,r)}}function Py(e){var a=e.alternate;a!==null&&(e.alternate=null,Py(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&Ie(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 xt=null,on=!1;function Pa(e,a,r){for(r=r.child;r!==null;)Iy(e,a,r),r=r.sibling}function Iy(e,a,r){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(Ca,r)}catch{}switch(r.tag){case 26:Dt||ua(r,a),Pa(e,a,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Dt||ua(r,a);var l=xt,u=on;Ni(r.type)&&(xt=r.stateNode,on=!1),Pa(e,a,r),Bl(r.stateNode),xt=l,on=u;break;case 5:Dt||ua(r,a);case 6:if(l=xt,u=on,xt=null,Pa(e,a,r),xt=l,on=u,xt!==null)if(on)try{(xt.nodeType===9?xt.body:xt.nodeName==="HTML"?xt.ownerDocument.body:xt).removeChild(r.stateNode)}catch(f){at(r,a,f)}else try{xt.removeChild(r.stateNode)}catch(f){at(r,a,f)}break;case 18:xt!==null&&(on?(e=xt,zv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),xs(e)):zv(xt,r.stateNode));break;case 4:l=xt,u=on,xt=r.stateNode.containerInfo,on=!0,Pa(e,a,r),xt=l,on=u;break;case 0:case 11:case 14:case 15:Si(2,r,a),Dt||Si(4,r,a),Pa(e,a,r);break;case 1:Dt||(ua(r,a),l=r.stateNode,typeof l.componentWillUnmount=="function"&&By(r,a,l)),Pa(e,a,r);break;case 21:Pa(e,a,r);break;case 22:Dt=(l=Dt)||r.memoizedState!==null,Pa(e,a,r),Dt=l;break;default:Pa(e,a,r)}}function Yy(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{xs(e)}catch(r){at(a,a.return,r)}}}function Ky(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{xs(e)}catch(r){at(a,a.return,r)}}function $2(e){switch(e.tag){case 31:case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new Fy),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new Fy),a;default:throw Error(s(435,e.tag))}}function Ec(e,a){var r=$2(e);a.forEach(function(l){if(!r.has(l)){r.add(l);var u=sT.bind(null,e,l);l.then(u,u)}})}function cn(e,a){var r=a.deletions;if(r!==null)for(var l=0;l<r.length;l++){var u=r[l],f=e,v=a,S=v;e:for(;S!==null;){switch(S.tag){case 27:if(Ni(S.type)){xt=S.stateNode,on=!1;break e}break;case 5:xt=S.stateNode,on=!1;break e;case 3:case 4:xt=S.stateNode.containerInfo,on=!0;break e}S=S.return}if(xt===null)throw Error(s(160));Iy(f,v,u),xt=null,on=!1,f=u.alternate,f!==null&&(f.return=null),u.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Zy(a,e),a=a.sibling}var Qn=null;function Zy(e,a){var r=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:cn(a,e),un(e),l&4&&(Si(3,e,e.return),jl(3,e),Si(5,e,e.return));break;case 1:cn(a,e),un(e),l&512&&(Dt||r===null||ua(r,r.return)),l&64&&Ga&&(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 u=Qn;if(cn(a,e),un(e),l&512&&(Dt||r===null||ua(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,u=u.ownerDocument||u;t:switch(l){case"title":f=u.getElementsByTagName("title")[0],(!f||f[tt]||f[ie]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=u.createElement(l),u.head.insertBefore(f,u.querySelector("head > title"))),It(f,l,r),f[ie]=e,We(f),l=f;break e;case"link":var v=Zv("link","href",u).get(l+(r.href||""));if(v){for(var S=0;S<v.length;S++)if(f=v[S],f.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&f.getAttribute("rel")===(r.rel==null?null:r.rel)&&f.getAttribute("title")===(r.title==null?null:r.title)&&f.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){v.splice(S,1);break t}}f=u.createElement(l),It(f,l,r),u.head.appendChild(f);break;case"meta":if(v=Zv("meta","content",u).get(l+(r.content||""))){for(S=0;S<v.length;S++)if(f=v[S],f.getAttribute("content")===(r.content==null?null:""+r.content)&&f.getAttribute("name")===(r.name==null?null:r.name)&&f.getAttribute("property")===(r.property==null?null:r.property)&&f.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&f.getAttribute("charset")===(r.charSet==null?null:r.charSet)){v.splice(S,1);break t}}f=u.createElement(l),It(f,l,r),u.head.appendChild(f);break;default:throw Error(s(468,l))}f[ie]=e,We(f),l=f}e.stateNode=l}else qv(u,e.type,e.stateNode);else e.stateNode=Kv(u,l,e.memoizedProps);else f!==l?(f===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):f.count--,l===null?qv(u,e.type,e.stateNode):Kv(u,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Sf(e,e.memoizedProps,r.memoizedProps)}break;case 27:cn(a,e),un(e),l&512&&(Dt||r===null||ua(r,r.return)),r!==null&&l&4&&Sf(e,e.memoizedProps,r.memoizedProps);break;case 5:if(cn(a,e),un(e),l&512&&(Dt||r===null||ua(r,r.return)),e.flags&32){u=e.stateNode;try{Gr(u,"")}catch(ue){at(e,e.return,ue)}}l&4&&e.stateNode!=null&&(u=e.memoizedProps,Sf(e,u,r!==null?r.memoizedProps:u)),l&1024&&(Ef=!0);break;case 6:if(cn(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(ue){at(e,e.return,ue)}}break;case 3:if(Hc=null,u=Qn,Qn=Uc(a.containerInfo),cn(a,e),Qn=u,un(e),l&4&&r!==null&&r.memoizedState.isDehydrated)try{xs(a.containerInfo)}catch(ue){at(e,e.return,ue)}Ef&&(Ef=!1,qy(e));break;case 4:l=Qn,Qn=Uc(e.stateNode.containerInfo),cn(a,e),un(e),Qn=l;break;case 12:cn(a,e),un(e);break;case 31:cn(a,e),un(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Ec(e,l)));break;case 13:cn(a,e),un(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Cc=Qt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Ec(e,l)));break;case 22:u=e.memoizedState!==null;var C=r!==null&&r.memoizedState!==null,z=Ga,G=Dt;if(Ga=z||u,Dt=G||C,cn(a,e),Dt=G,Ga=z,un(e),l&8192)e:for(a=e.stateNode,a._visibility=u?a._visibility&-2:a._visibility|1,u&&(r===null||C||Ga||Dt||pr(e)),r=null,a=e;;){if(a.tag===5||a.tag===26){if(r===null){C=r=a;try{if(f=C.stateNode,u)v=f.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{S=C.stateNode;var Y=C.memoizedProps.style,B=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;S.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(ue){at(C,C.return,ue)}}}else if(a.tag===6){if(r===null){C=a;try{C.stateNode.nodeValue=u?"":C.memoizedProps}catch(ue){at(C,C.return,ue)}}}else if(a.tag===18){if(r===null){C=a;try{var F=C.stateNode;u?Bv(F,!0):Bv(C.stateNode,!1)}catch(ue){at(C,C.return,ue)}}}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,Ec(e,r))));break;case 19:cn(a,e),un(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Ec(e,l)));break;case 30:break;case 21:break;default:cn(a,e),un(e)}}function un(e){var a=e.flags;if(a&2){try{for(var r,l=e.return;l!==null;){if(Vy(l)){r=l;break}l=l.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var u=r.stateNode,f=wf(e);Tc(e,f,u);break;case 5:var v=r.stateNode;r.flags&32&&(Gr(v,""),r.flags&=-33);var S=wf(e);Tc(e,S,v);break;case 3:case 4:var C=r.stateNode.containerInfo,z=wf(e);Tf(e,z,C);break;default:throw Error(s(161))}}catch(G){at(e,e.return,G)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function qy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;qy(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function Ia(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Gy(e,a.alternate,a),a=a.sibling}function pr(e){for(e=e.child;e!==null;){var a=e;switch(a.tag){case 0:case 11:case 14:case 15:Si(4,a,a.return),pr(a);break;case 1:ua(a,a.return);var r=a.stateNode;typeof r.componentWillUnmount=="function"&&By(a,a.return,r),pr(a);break;case 27:Bl(a.stateNode);case 26:case 5:ua(a,a.return),pr(a);break;case 22:a.memoizedState===null&&pr(a);break;case 30:pr(a);break;default:pr(a)}e=e.sibling}}function Ya(e,a,r){for(r=r&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var l=a.alternate,u=e,f=a,v=f.flags;switch(f.tag){case 0:case 11:case 15:Ya(u,f,r),jl(4,f);break;case 1:if(Ya(u,f,r),l=f,u=l.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(z){at(l,l.return,z)}if(l=f,u=l.updateQueue,u!==null){var S=l.stateNode;try{var C=u.shared.hiddenCallbacks;if(C!==null)for(u.shared.hiddenCallbacks=null,u=0;u<C.length;u++)Ag(C[u],S)}catch(z){at(l,l.return,z)}}r&&v&64&&zy(f),Nl(f,f.return);break;case 27:Hy(f);case 26:case 5:Ya(u,f,r),r&&l===null&&v&4&&Uy(f),Nl(f,f.return);break;case 12:Ya(u,f,r);break;case 31:Ya(u,f,r),r&&v&4&&Yy(u,f);break;case 13:Ya(u,f,r),r&&v&4&&Ky(u,f);break;case 22:f.memoizedState===null&&Ya(u,f,r),Nl(f,f.return);break;case 30:break;default:Ya(u,f,r)}a=a.sibling}}function Af(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&&ml(r))}function Cf(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&ml(e))}function Jn(e,a,r,l){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Xy(e,a,r,l),a=a.sibling}function Xy(e,a,r,l){var u=a.flags;switch(a.tag){case 0:case 11:case 15:Jn(e,a,r,l),u&2048&&jl(9,a);break;case 1:Jn(e,a,r,l);break;case 3:Jn(e,a,r,l),u&2048&&(e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&ml(e)));break;case 12:if(u&2048){Jn(e,a,r,l),e=a.stateNode;try{var f=a.memoizedProps,v=f.id,S=f.onPostCommit;typeof S=="function"&&S(v,a.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(C){at(a,a.return,C)}}else Jn(e,a,r,l);break;case 31:Jn(e,a,r,l);break;case 13:Jn(e,a,r,l);break;case 23:break;case 22:f=a.stateNode,v=a.alternate,a.memoizedState!==null?f._visibility&2?Jn(e,a,r,l):Rl(e,a):f._visibility&2?Jn(e,a,r,l):(f._visibility|=2,os(e,a,r,l,(a.subtreeFlags&10256)!==0||!1)),u&2048&&Af(v,a);break;case 24:Jn(e,a,r,l),u&2048&&Cf(a.alternate,a);break;default:Jn(e,a,r,l)}}function os(e,a,r,l,u){for(u=u&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var f=e,v=a,S=r,C=l,z=v.flags;switch(v.tag){case 0:case 11:case 15:os(f,v,S,C,u),jl(8,v);break;case 23:break;case 22:var G=v.stateNode;v.memoizedState!==null?G._visibility&2?os(f,v,S,C,u):Rl(f,v):(G._visibility|=2,os(f,v,S,C,u)),u&&z&2048&&Af(v.alternate,v);break;case 24:os(f,v,S,C,u),u&&z&2048&&Cf(v.alternate,v);break;default:os(f,v,S,C,u)}a=a.sibling}}function Rl(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var r=e,l=a,u=l.flags;switch(l.tag){case 22:Rl(r,l),u&2048&&Af(l.alternate,l);break;case 24:Rl(r,l),u&2048&&Cf(l.alternate,l);break;default:Rl(r,l)}a=a.sibling}}var Dl=8192;function cs(e,a,r){if(e.subtreeFlags&Dl)for(e=e.child;e!==null;)Wy(e,a,r),e=e.sibling}function Wy(e,a,r){switch(e.tag){case 26:cs(e,a,r),e.flags&Dl&&e.memoizedState!==null&&BT(r,Qn,e.memoizedState,e.memoizedProps);break;case 5:cs(e,a,r);break;case 3:case 4:var l=Qn;Qn=Uc(e.stateNode.containerInfo),cs(e,a,r),Qn=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Dl,Dl=16777216,cs(e,a,r),Dl=l):cs(e,a,r));break;default:cs(e,a,r)}}function $y(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 Ml(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];Ht=l,Jy(l,e)}$y(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Qy(e),e=e.sibling}function Qy(e){switch(e.tag){case 0:case 11:case 15:Ml(e),e.flags&2048&&Si(9,e,e.return);break;case 3:Ml(e);break;case 12:Ml(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&2&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,Ac(e)):Ml(e);break;default:Ml(e)}}function Ac(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];Ht=l,Jy(l,e)}$y(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:Si(8,a,a.return),Ac(a);break;case 22:r=a.stateNode,r._visibility&2&&(r._visibility&=-3,Ac(a));break;default:Ac(a)}e=e.sibling}}function Jy(e,a){for(;Ht!==null;){var r=Ht;switch(r.tag){case 0:case 11:case 15:Si(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:ml(r.memoizedState.cache)}if(l=r.child,l!==null)l.return=r,Ht=l;else e:for(r=e;Ht!==null;){l=Ht;var u=l.sibling,f=l.return;if(Py(l),l===r){Ht=null;break e}if(u!==null){u.return=f,Ht=u;break e}Ht=f}}}var Q2={getCacheForType:function(e){var a=Gt(jt),r=a.data.get(e);return r===void 0&&(r=e(),a.data.set(e,r)),r},cacheSignal:function(){return Gt(jt).controller.signal}},J2=typeof WeakMap=="function"?WeakMap:Map,Qe=0,ct=null,Ve=null,Fe=0,nt=0,xn=null,wi=!1,us=!1,jf=!1,Ka=0,Tt=0,Ti=0,gr=0,Nf=0,bn=0,ds=0,_l=null,dn=null,Rf=!1,Cc=0,ev=0,jc=1/0,Nc=null,Ei=null,zt=0,Ai=null,fs=null,Za=0,Df=0,Mf=null,tv=null,Ol=0,_f=null;function Sn(){return(Qe&2)!==0&&Fe!==0?Fe&-Fe:V.T!==null?Uf():Z()}function nv(){if(bn===0)if((Fe&536870912)===0||Pe){var e=ja;ja<<=1,(ja&3932160)===0&&(ja=262144),bn=e}else bn=536870912;return e=yn.current,e!==null&&(e.flags|=32),bn}function fn(e,a,r){(e===ct&&(nt===2||nt===9)||e.cancelPendingCommit!==null)&&(hs(e,0),Ci(e,Fe,bn,!1)),sa(e,r),((Qe&2)===0||e!==ct)&&(e===ct&&((Qe&2)===0&&(gr|=r),Tt===4&&Ci(e,Fe,bn,!1)),da(e))}function av(e,a,r){if((Qe&6)!==0)throw Error(s(327));var l=!r&&(a&127)===0&&(a&e.expiredLanes)===0||li(e,a),u=l?nT(e,a):kf(e,a,!0),f=l;
vendor: 31,831 bytes, lines 25-26
25do{if(u===0){us&&!l&&Ci(e,a,0,!1);break}else{if(r=e.current.alternate,f&&!eT(r)){u=kf(e,a,!1),f=!1;continue}if(u===2){if(f=a,e.errorRecoveryDisabledLanes&f)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){a=v;e:{var S=e;u=_l;var C=S.current.memoizedState.isDehydrated;if(C&&(hs(S,v).flags|=256),v=kf(S,v,!1),v!==2){if(jf&&!C){S.errorRecoveryDisabledLanes|=f,gr|=f,u=4;break e}f=dn,dn=u,f!==null&&(dn===null?dn=f:dn.push.apply(dn,f))}u=v}if(f=!1,u!==2)continue}}if(u===1){hs(e,0),Ci(e,a,0,!0);break}e:{switch(l=e,f=u,f){case 0:case 1:throw Error(s(345));case 4:if((a&4194048)!==a)break;case 6:Ci(l,a,bn,!wi);break e;case 2:dn=null;break;case 3:case 5:break;default:throw Error(s(329))}if((a&62914560)===a&&(u=Cc+300-Qt(),10<u)){if(Ci(l,a,bn,!wi),Vr(l,0,!0)!==0)break e;Za=a,l.timeoutHandle=kv(iv.bind(null,l,r,dn,Nc,Rf,a,bn,gr,ds,wi,f,"Throttled",-0,0),u);break e}iv(l,r,dn,Nc,Rf,a,bn,gr,ds,wi,f,null,-0,0)}}break}while(!0);da(e)}function iv(e,a,r,l,u,f,v,S,C,z,G,Y,B,F){if(e.timeoutHandle=-1,Y=a.subtreeFlags,Y&8192||(Y&16785408)===16785408){Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:_a},Wy(a,f,Y);var ue=(f&62914560)===f?Cc-Qt():(f&4194048)===f?ev-Qt():0;if(ue=UT(Y,ue),ue!==null){Za=f,e.cancelPendingCommit=ue(fv.bind(null,e,a,f,r,l,u,v,S,C,G,Y,null,B,F)),Ci(e,f,v,!z);return}}fv(e,a,f,r,l,u,v,S,C)}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 u=r[l],f=u.getSnapshot;u=u.value;try{if(!pn(f(),u))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 Ci(e,a,r,l){a&=~Nf,a&=~gr,e.suspendedLanes|=a,e.pingedLanes&=~a,l&&(e.warmLanes|=a),l=e.expirationTimes;for(var u=a;0<u;){var f=31-Xt(u),v=1<<f;l[f]=-1,u&=~v}r!==0&&Vo(e,r,a)}function Rc(){return(Qe&6)===0?(kl(0),!1):!0}function Of(){if(Ve!==null){if(nt===0)var e=Ve.return;else e=Ve,za=lr=null,qd(e),as=null,gl=0,e=Ve;for(;e!==null;)Ly(e.alternate,e),e=e.return;Ve=null}}function hs(e,a){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,bT(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Za=0,Of(),ct=e,Ve=r=ka(e.current,null),Fe=a,nt=0,xn=null,wi=!1,us=li(e,a),jf=!1,ds=bn=Nf=gr=Ti=Tt=0,dn=_l=null,Rf=!1,(a&8)!==0&&(a|=a&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=a;0<l;){var u=31-Xt(l),f=1<<u;a|=e[u],l&=~f}return Ka=a,Wo(),r}function rv(e,a){_e=null,V.H=El,a===ns||a===ic?(a=Sg(),nt=3):a===zd?(a=Sg(),nt=4):nt=a===df?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,xn=a,Ve===null&&(Tt=1,vc(e,Ln(a,e.current)))}function sv(){var e=yn.current;return e===null?!0:(Fe&4194048)===Fe?Vn===null:(Fe&62914560)===Fe||(Fe&536870912)!==0?e===Vn:!1}function lv(){var e=V.H;return V.H=El,e===null?El:e}function ov(){var e=V.A;return V.A=Q2,e}function Dc(){Tt=4,wi||(Fe&4194048)!==Fe&&yn.current!==null||(us=!0),(Ti&134217727)===0&&(gr&134217727)===0||ct===null||Ci(ct,Fe,bn,!1)}function kf(e,a,r){var l=Qe;Qe|=2;var u=lv(),f=ov();(ct!==e||Fe!==a)&&(Nc=null,hs(e,a)),a=!1;var v=Tt;e:do try{if(nt!==0&&Ve!==null){var S=Ve,C=xn;switch(nt){case 8:Of(),v=6;break e;case 3:case 2:case 9:case 6:yn.current===null&&(a=!0);var z=nt;if(nt=0,xn=null,ms(e,S,C,z),r&&us){v=0;break e}break;default:z=nt,nt=0,xn=null,ms(e,S,C,z)}}tT(),v=Tt;break}catch(G){rv(e,G)}while(!0);return a&&e.shellSuspendCounter++,za=lr=null,Qe=l,V.H=u,V.A=f,Ve===null&&(ct=null,Fe=0,Wo()),v}function tT(){for(;Ve!==null;)cv(Ve)}function nT(e,a){var r=Qe;Qe|=2;var l=lv(),u=ov();ct!==e||Fe!==a?(Nc=null,jc=Qt()+500,hs(e,a)):us=li(e,a);e:do try{if(nt!==0&&Ve!==null){a=Ve;var f=xn;t:switch(nt){case 1:nt=0,xn=null,ms(e,a,f,1);break;case 2:case 9:if(xg(f)){nt=0,xn=null,uv(a);break}a=function(){nt!==2&&nt!==9||ct!==e||(nt=7),da(e)},f.then(a,a);break e;case 3:nt=7;break e;case 4:nt=5;break e;case 7:xg(f)?(nt=0,xn=null,uv(a)):(nt=0,xn=null,ms(e,a,f,7));break;case 5:var v=null;switch(Ve.tag){case 26:v=Ve.memoizedState;case 5:case 27:var S=Ve;if(v?Xv(v):S.stateNode.complete){nt=0,xn=null;var C=S.sibling;if(C!==null)Ve=C;else{var z=S.return;z!==null?(Ve=z,Mc(z)):Ve=null}break t}}nt=0,xn=null,ms(e,a,f,5);break;case 6:nt=0,xn=null,ms(e,a,f,6);break;case 8:Of(),Tt=6;break e;default:throw Error(s(462))}}aT();break}catch(G){rv(e,G)}while(!0);return za=lr=null,V.H=l,V.A=u,Qe=r,Ve!==null?0:(ct=null,Fe=0,Wo(),Tt)}function aT(){for(;Ve!==null&&!Xu();)cv(Ve)}function cv(e){var a=Oy(e.alternate,e,Ka);e.memoizedProps=e.pendingProps,a===null?Mc(e):Ve=a}function uv(e){var a=e,r=a.alternate;switch(a.tag){case 15:case 0:a=jy(r,a,a.pendingProps,a.type,void 0,Fe);break;case 11:a=jy(r,a,a.pendingProps,a.type.render,a.ref,Fe);break;case 5:qd(a);default:Ly(r,a),a=Ve=og(a,Ka),a=Oy(r,a,Ka)}e.memoizedProps=e.pendingProps,a===null?Mc(e):Ve=a}function ms(e,a,r,l){za=lr=null,qd(a),as=null,gl=0;var u=a.return;try{if(Y2(e,u,a,r,Fe)){Tt=1,vc(e,Ln(r,e.current)),Ve=null;return}}catch(f){if(u!==null)throw Ve=u,f;Tt=1,vc(e,Ln(r,e.current)),Ve=null;return}a.flags&32768?(Pe||l===1?e=!0:us||(Fe&536870912)!==0?e=!1:(wi=e=!0,(l===2||l===9||l===3||l===6)&&(l=yn.current,l!==null&&l.tag===13&&(l.flags|=16384))),dv(a,e)):Mc(a)}function Mc(e){var a=e;do{if((a.flags&32768)!==0){dv(a,wi);return}e=a.return;var r=q2(a.alternate,a,Ka);if(r!==null){Ve=r;return}if(a=a.sibling,a!==null){Ve=a;return}Ve=a=e}while(a!==null);Tt===0&&(Tt=5)}function dv(e,a){do{var r=X2(e.alternate,e);if(r!==null){r.flags&=32767,Ve=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!a&&(e=e.sibling,e!==null)){Ve=e;return}Ve=e=r}while(e!==null);Tt=6,Ve=null}function fv(e,a,r,l,u,f,v,S,C){e.cancelPendingCommit=null;do _c();while(zt!==0);if((Qe&6)!==0)throw Error(s(327));if(a!==null){if(a===e.current)throw Error(s(177));if(f=a.lanes|a.childLanes,f|=Sd,Uo(e,r,f,v,S,C),e===ct&&(Ve=ct=null,Fe=0),fs=a,Ai=e,Za=r,Df=f,Mf=u,tv=l,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,lT(si,function(){return yv(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||l){l=V.T,V.T=null,u=q.p,q.p=2,v=Qe,Qe|=4;try{W2(e,a,r)}finally{Qe=v,q.p=u,V.T=l}}zt=1,hv(),mv(),pv()}}function hv(){if(zt===1){zt=0;var e=Ai,a=fs,r=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||r){r=V.T,V.T=null;var l=q.p;q.p=2;var u=Qe;Qe|=4;try{Zy(a,e);var f=Kf,v=Jp(e.containerInfo),S=f.focusedElem,C=f.selectionRange;if(v!==S&&S&&S.ownerDocument&&Qp(S.ownerDocument.documentElement,S)){if(C!==null&&gd(S)){var z=C.start,G=C.end;if(G===void 0&&(G=z),"selectionStart"in S)S.selectionStart=z,S.selectionEnd=Math.min(G,S.value.length);else{var Y=S.ownerDocument||document,B=Y&&Y.defaultView||window;if(B.getSelection){var F=B.getSelection(),ue=S.textContent.length,Te=Math.min(C.start,ue),st=C.end===void 0?Te:Math.min(C.end,ue);!F.extend&&Te>st&&(v=st,st=Te,Te=v);var _=$p(S,Te),R=$p(S,st);if(_&&R&&(F.rangeCount!==1||F.anchorNode!==_.node||F.anchorOffset!==_.offset||F.focusNode!==R.node||F.focusOffset!==R.offset)){var L=Y.createRange();L.setStart(_.node,_.offset),F.removeAllRanges(),Te>st?(F.addRange(L),F.extend(R.node,R.offset)):(L.setEnd(R.node,R.offset),F.addRange(L))}}}}for(Y=[],F=S;F=F.parentNode;)F.nodeType===1&&Y.push({element:F,left:F.scrollLeft,top:F.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<Y.length;S++){var P=Y[S];P.element.scrollLeft=P.left,P.element.scrollTop=P.top}}Ic=!!Yf,Kf=Yf=null}finally{Qe=u,q.p=l,V.T=r}}e.current=a,zt=2}}function mv(){if(zt===2){zt=0;var e=Ai,a=fs,r=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||r){r=V.T,V.T=null;var l=q.p;q.p=2;var u=Qe;Qe|=4;try{Gy(e,a.alternate,a)}finally{Qe=u,q.p=l,V.T=r}}zt=3}}function pv(){if(zt===4||zt===3){zt=0,Wu();var e=Ai,a=fs,r=Za,l=tv;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?zt=5:(zt=0,fs=Ai=null,gv(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&(Ei=null),O(r),a=a.stateNode,Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(Ca,a,void 0,(a.current.flags&128)===128)}catch{}if(l!==null){a=V.T,u=q.p,q.p=2,V.T=null;try{for(var f=e.onRecoverableError,v=0;v<l.length;v++){var S=l[v];f(S.value,{componentStack:S.stack})}}finally{V.T=a,q.p=u}}(Za&3)!==0&&_c(),da(e),u=e.pendingLanes,(r&261930)!==0&&(u&42)!==0?e===_f?Ol++:(Ol=0,_f=e):Ol=0,kl(0)}}function gv(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,ml(a)))}function _c(){return hv(),mv(),pv(),yv()}function yv(){if(zt!==5)return!1;var e=Ai,a=Df;Df=0;var r=O(Za),l=V.T,u=q.p;try{q.p=32>r?32:r,V.T=null,r=Mf,Mf=null;var f=Ai,v=Za;if(zt=0,fs=Ai=null,Za=0,(Qe&6)!==0)throw Error(s(331));var S=Qe;if(Qe|=4,Qy(f.current),Xy(f,f.current,v,r),Qe=S,kl(0,!1),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(Ca,f)}catch{}return!0}finally{q.p=u,V.T=l,gv(e,a)}}function vv(e,a,r){a=Ln(r,a),a=uf(e.stateNode,a,2),e=vi(e,a,2),e!==null&&(sa(e,2),da(e))}function at(e,a,r){if(e.tag===3)vv(e,e,r);else for(;a!==null;){if(a.tag===3){vv(a,e,r);break}else if(a.tag===1){var l=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ei===null||!Ei.has(l))){e=Ln(r,e),r=xy(2),l=vi(a,r,2),l!==null&&(by(r,l,a,e),sa(l,2),da(l));break}}a=a.return}}function Lf(e,a,r){var l=e.pingCache;if(l===null){l=e.pingCache=new J2;var u=new Set;l.set(a,u)}else u=l.get(a),u===void 0&&(u=new Set,l.set(a,u));u.has(r)||(jf=!0,u.add(r),e=iT.bind(null,e,a,r),a.then(e,e))}function iT(e,a,r){var l=e.pingCache;l!==null&&l.delete(a),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,ct===e&&(Fe&r)===r&&(Tt===4||Tt===3&&(Fe&62914560)===Fe&&300>Qt()-Cc?(Qe&2)===0&&hs(e,0):Nf|=r,ds===Fe&&(ds=0)),da(e)}function xv(e,a){a===0&&(a=nl()),e=ir(e,a),e!==null&&(sa(e,a),da(e))}function rT(e){var a=e.memoizedState,r=0;a!==null&&(r=a.retryLane),xv(e,r)}function sT(e,a){var r=0;switch(e.tag){case 31:case 13:var l=e.stateNode,u=e.memoizedState;u!==null&&(r=u.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),xv(e,r)}function lT(e,a){return Ur(e,a)}var Oc=null,ps=null,zf=!1,kc=!1,Bf=!1,ji=0;function da(e){e!==ps&&e.next===null&&(ps===null?Oc=ps=e:ps=ps.next=e),kc=!0,zf||(zf=!0,cT())}function kl(e,a){if(!Bf&&kc){Bf=!0;do for(var r=!1,l=Oc;l!==null;){if(e!==0){var u=l.pendingLanes;if(u===0)var f=0;else{var v=l.suspendedLanes,S=l.pingedLanes;f=(1<<31-Xt(42|e)+1)-1,f&=u&~(v&~S),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(r=!0,Tv(l,f))}else f=Fe,f=Vr(l,l===ct?f:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(f&3)===0||li(l,f)||(r=!0,Tv(l,f));l=l.next}while(r);Bf=!1}}function oT(){bv()}function bv(){kc=zf=!1;var e=0;ji!==0&&xT()&&(e=ji);for(var a=Qt(),r=null,l=Oc;l!==null;){var u=l.next,f=Sv(l,a);f===0?(l.next=null,r===null?Oc=u:r.next=u,u===null&&(ps=r)):(r=l,(e!==0||(f&3)!==0)&&(kc=!0)),l=u}zt!==0&&zt!==5||kl(e),ji!==0&&(ji=0)}function Sv(e,a){for(var r=e.suspendedLanes,l=e.pingedLanes,u=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var v=31-Xt(f),S=1<<v,C=u[v];C===-1?((S&r)===0||(S&l)!==0)&&(u[v]=ed(S,a)):C<=a&&(e.expiredLanes|=S),f&=~S}if(a=ct,r=Fe,r=Vr(e,e===a?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,r===0||e===a&&(nt===2||nt===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&el(l),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||li(e,r)){if(a=r&-r,a===e.callbackPriority)return a;switch(l!==null&&el(l),O(r)){case 2:case 8:r=tl;break;case 32:r=si;break;case 268435456:r=Dn;break;default:r=si}return l=wv.bind(null,e),r=Ur(r,l),e.callbackPriority=a,e.callbackNode=r,a}return l!==null&&l!==null&&el(l),e.callbackPriority=2,e.callbackNode=null,2}function wv(e,a){if(zt!==0&&zt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(_c()&&e.callbackNode!==r)return null;var l=Fe;return l=Vr(e,e===ct?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(av(e,l,a),Sv(e,Qt()),e.callbackNode!=null&&e.callbackNode===r?wv.bind(null,e):null)}function Tv(e,a){if(_c())return null;av(e,a,!0)}function cT(){ST(function(){(Qe&6)!==0?Ur(ri,oT):bv()})}function Uf(){if(ji===0){var e=es;e===0&&(e=Qi,Qi<<=1,(Qi&261888)===0&&(Qi=256)),ji=e}return ji}function Ev(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Go(""+e)}function Av(e,a){var r=a.ownerDocument.createElement("input");return r.name=a.name,r.value=a.value,e.id&&r.setAttribute("form",e.id),a.parentNode.insertBefore(r,a),e=new FormData(e),r.parentNode.removeChild(r),e}function uT(e,a,r,l,u){if(a==="submit"&&r&&r.stateNode===u){var f=Ev((u[re]||null).action),v=l.submitter;v&&(a=(a=v[re]||null)?Ev(a.formAction):v.getAttribute("formAction"),a!==null&&(f=a,v=null));var S=new Ko("action","action",null,l,u);e.push({event:S,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(ji!==0){var C=v?Av(u,v):new FormData(u);af(r,{pending:!0,data:C,method:u.method,action:f},null,C)}}else typeof f=="function"&&(S.preventDefault(),C=v?Av(u,v):new FormData(u),af(r,{pending:!0,data:C,method:u.method,action:f},f,C))},currentTarget:u}]})}}for(var Vf=0;Vf<bd.length;Vf++){var Hf=bd[Vf],dT=Hf.toLowerCase(),fT=Hf[0].toUpperCase()+Hf.slice(1);$n(dT,"on"+fT)}$n(ng,"onAnimationEnd"),$n(ag,"onAnimationIteration"),$n(ig,"onAnimationStart"),$n("dblclick","onDoubleClick"),$n("focusin","onFocus"),$n("focusout","onBlur"),$n(N2,"onTransitionRun"),$n(R2,"onTransitionStart"),$n(D2,"onTransitionCancel"),$n(rg,"onTransitionEnd"),Lt("onMouseEnter",["mouseout","mouseover"]),Lt("onMouseLeave",["mouseout","mouseover"]),Lt("onPointerEnter",["pointerout","pointerover"]),Lt("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 Ll="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(" "),hT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ll));function Cv(e,a){a=(a&4)!==0;for(var r=0;r<e.length;r++){var l=e[r],u=l.event;l=l.listeners;e:{var f=void 0;if(a)for(var v=l.length-1;0<=v;v--){var S=l[v],C=S.instance,z=S.currentTarget;if(S=S.listener,C!==f&&u.isPropagationStopped())break e;f=S,u.currentTarget=z;try{f(u)}catch(G){Xo(G)}u.currentTarget=null,f=C}else for(v=0;v<l.length;v++){if(S=l[v],C=S.instance,z=S.currentTarget,S=S.listener,C!==f&&u.isPropagationStopped())break e;f=S,u.currentTarget=z;try{f(u)}catch(G){Xo(G)}u.currentTarget=null,f=C}}}}function He(e,a){var r=a[xe];r===void 0&&(r=a[xe]=new Set);var l=e+"__bubble";r.has(l)||(jv(a,e,2,!1),r.add(l))}function Ff(e,a,r){var l=0;a&&(l|=4),jv(r,e,l,a)}var Lc="_reactListening"+Math.random().toString(36).slice(2);function Gf(e){if(!e[Lc]){e[Lc]=!0,Wn.forEach(function(r){r!=="selectionchange"&&(hT.has(r)||Ff(r,!1,e),Ff(r,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[Lc]||(a[Lc]=!0,Ff("selectionchange",!1,a))}}function jv(e,a,r,l){switch(nx(a)){case 2:var u=FT;break;case 8:u=GT;break;default:u=ah}r=u.bind(null,a,r,e),u=void 0,!ld||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(u=!0),l?u!==void 0?e.addEventListener(a,r,{capture:!0,passive:u}):e.addEventListener(a,r,!0):u!==void 0?e.addEventListener(a,r,{passive:u}):e.addEventListener(a,r,!1)}function Pf(e,a,r,l,u){var f=l;if((a&1)===0&&(a&2)===0&&l!==null)e:for(;;){if(l===null)return;var v=l.tag;if(v===3||v===4){var S=l.stateNode.containerInfo;if(S===u)break;if(v===4)for(v=l.return;v!==null;){var C=v.tag;if((C===3||C===4)&&v.stateNode.containerInfo===u)return;v=v.return}for(;S!==null;){if(v=ot(S),v===null)return;if(C=v.tag,C===5||C===6||C===26||C===27){l=f=v;continue e}S=S.parentNode}}l=l.return}_p(function(){var z=f,G=rd(r),Y=[];e:{var B=sg.get(e);if(B!==void 0){var F=Ko,ue=e;switch(e){case"keypress":if(Io(r)===0)break e;case"keydown":case"keyup":F=s2;break;case"focusin":ue="focus",F=dd;break;case"focusout":ue="blur",F=dd;break;case"beforeblur":case"afterblur":F=dd;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":F=Lp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=qw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=c2;break;case ng:case ag:case ig:F=$w;break;case rg:F=d2;break;case"scroll":case"scrollend":F=Kw;break;case"wheel":F=h2;break;case"copy":case"cut":case"paste":F=Jw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=Bp;break;case"toggle":case"beforetoggle":F=p2}var Te=(a&4)!==0,st=!Te&&(e==="scroll"||e==="scrollend"),_=Te?B!==null?B+"Capture":null:B;Te=[];for(var R=z,L;R!==null;){var P=R;if(L=P.stateNode,P=P.tag,P!==5&&P!==26&&P!==27||L===null||_===null||(P=al(R,_),P!=null&&Te.push(zl(R,P,L))),st)break;R=R.return}0<Te.length&&(B=new F(B,ue,null,r,G),Y.push({event:B,listeners:Te}))}}if((a&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",F=e==="mouseout"||e==="pointerout",B&&r!==id&&(ue=r.relatedTarget||r.fromElement)&&(ot(ue)||ue[ae]))break e;if((F||B)&&(B=G.window===G?G:(B=G.ownerDocument)?B.defaultView||B.parentWindow:window,F?(ue=r.relatedTarget||r.toElement,F=z,ue=ue?ot(ue):null,ue!==null&&(st=c(ue),Te=ue.tag,ue!==st||Te!==5&&Te!==27&&Te!==6)&&(ue=null)):(F=null,ue=z),F!==ue)){if(Te=Lp,P="onMouseLeave",_="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(Te=Bp,P="onPointerLeave",_="onPointerEnter",R="pointer"),st=F==null?B:Vt(F),L=ue==null?B:Vt(ue),B=new Te(P,R+"leave",F,r,G),B.target=st,B.relatedTarget=L,P=null,ot(G)===z&&(Te=new Te(_,R+"enter",ue,r,G),Te.target=L,Te.relatedTarget=st,P=Te),st=P,F&&ue)t:{for(Te=mT,_=F,R=ue,L=0,P=_;P;P=Te(P))L++;P=0;for(var ve=R;ve;ve=Te(ve))P++;for(;0<L-P;)_=Te(_),L--;for(;0<P-L;)R=Te(R),P--;for(;L--;){if(_===R||R!==null&&_===R.alternate){Te=_;break t}_=Te(_),R=Te(R)}Te=null}else Te=null;F!==null&&Nv(Y,B,F,Te,!1),ue!==null&&st!==null&&Nv(Y,st,ue,Te,!0)}}e:{if(B=z?Vt(z):window,F=B.nodeName&&B.nodeName.toLowerCase(),F==="select"||F==="input"&&B.type==="file")var Ke=Yp;else if(Pp(B))if(Kp)Ke=A2;else{Ke=T2;var he=w2}else F=B.nodeName,!F||F.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?z&&ad(z.elementType)&&(Ke=Yp):Ke=E2;if(Ke&&(Ke=Ke(e,z))){Ip(Y,Ke,r,G);break e}he&&he(e,B,z),e==="focusout"&&z&&B.type==="number"&&z.memoizedProps.value!=null&&nd(B,"number",B.value)}switch(he=z?Vt(z):window,e){case"focusin":(Pp(he)||he.contentEditable==="true")&&(Kr=he,yd=z,dl=null);break;case"focusout":dl=yd=Kr=null;break;case"mousedown":vd=!0;break;case"contextmenu":case"mouseup":case"dragend":vd=!1,eg(Y,r,G);break;case"selectionchange":if(j2)break;case"keydown":case"keyup":eg(Y,r,G)}var Oe;if(hd)e:{switch(e){case"compositionstart":var Ge="onCompositionStart";break e;case"compositionend":Ge="onCompositionEnd";break e;case"compositionupdate":Ge="onCompositionUpdate";break e}Ge=void 0}else Yr?Fp(e,r)&&(Ge="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(Ge="onCompositionStart");Ge&&(Up&&r.locale!=="ko"&&(Yr||Ge!=="onCompositionStart"?Ge==="onCompositionEnd"&&Yr&&(Oe=Op()):(di=G,od="value"in di?di.value:di.textContent,Yr=!0)),he=zc(z,Ge),0<he.length&&(Ge=new zp(Ge,e,null,r,G),Y.push({event:Ge,listeners:he}),Oe?Ge.data=Oe:(Oe=Gp(r),Oe!==null&&(Ge.data=Oe)))),(Oe=y2?v2(e,r):x2(e,r))&&(Ge=zc(z,"onBeforeInput"),0<Ge.length&&(he=new zp("onBeforeInput","beforeinput",null,r,G),Y.push({event:he,listeners:Ge}),he.data=Oe)),uT(Y,e,z,r,G)}Cv(Y,a)})}function zl(e,a,r){return{instance:e,listener:a,currentTarget:r}}function zc(e,a){for(var r=a+"Capture",l=[];e!==null;){var u=e,f=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||f===null||(u=al(e,r),u!=null&&l.unshift(zl(e,u,f)),u=al(e,a),u!=null&&l.push(zl(e,u,f))),e.tag===3)return l;e=e.return}return[]}function mT(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Nv(e,a,r,l,u){for(var f=a._reactName,v=[];r!==null&&r!==l;){var S=r,C=S.alternate,z=S.stateNode;if(S=S.tag,C!==null&&C===l)break;S!==5&&S!==26&&S!==27||z===null||(C=z,u?(z=al(r,f),z!=null&&v.unshift(zl(r,z,C))):u||(z=al(r,f),z!=null&&v.push(zl(r,z,C)))),r=r.return}v.length!==0&&e.push({event:a,listeners:v})}var pT=/\r\n?/g,gT=/\u0000|\uFFFD/g;function Rv(e){return(typeof e=="string"?e:""+e).replace(pT,`
26`).replace(gT,"")}function Dv(e,a){return a=Rv(a),Rv(e)===a}function rt(e,a,r,l,u,f){switch(r){case"children":typeof l=="string"?a==="body"||a==="textarea"&&l===""||Gr(e,l):(typeof l=="number"||typeof l=="bigint")&&a!=="body"&&Gr(e,""+l);break;case"className":Ma(e,"class",l);break;case"tabIndex":Ma(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Ma(e,r,l);break;case"style":Dp(e,l,f);break;case"data":if(a!=="object"){Ma(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=Go(""+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"&&rt(e,a,"name",u.name,u,null),rt(e,a,"formEncType",u.formEncType,u,null),rt(e,a,"formMethod",u.formMethod,u,null),rt(e,a,"formTarget",u.formTarget,u,null)):(rt(e,a,"encType",u.encType,u,null),rt(e,a,"method",u.method,u,null),rt(e,a,"target",u.target,u,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=Go(""+l),e.setAttribute(r,l);break;case"onClick":l!=null&&(e.onclick=_a);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(u.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=Go(""+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"playsInline":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),Da(e,"popover",l);break;case"xlinkActuate":je(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":je(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":je(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":je(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":je(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":je(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":je(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":je(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":je(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Da(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=Iw.get(r)||r,Da(e,r,l))}}function If(e,a,r,l,u,f){switch(r){case"style":Dp(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(u.children!=null)throw Error(s(60));e.innerHTML=r}}break;case"children":typeof l=="string"?Gr(e,l):(typeof l=="number"||typeof l=="bigint")&&Gr(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=_a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!la.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(u=r.endsWith("Capture"),a=r.slice(2,u?r.length-7:void 0),f=e[re]||null,f=f!=null?f[r]:null,typeof f=="function"&&e.removeEventListener(a,f,u),typeof l=="function")){typeof f!="function"&&f!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(a,l,u);break e}r in e?e[r]=l:l===!0?e.setAttribute(r,""):Da(e,r,l)}}}function It(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,u=!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":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,a));default:rt(e,a,f,v,r,null)}}u&&rt(e,a,"srcSet",r.srcSet,r,null),l&&rt(e,a,"src",r.src,r,null);return;case"input":He("invalid",e);var S=f=v=u=null,C=null,z=null;for(l in r)if(r.hasOwnProperty(l)){var G=r[l];if(G!=null)switch(l){case"name":u=G;break;case"type":v=G;break;case"checked":C=G;break;case"defaultChecked":z=G;break;case"value":f=G;break;case"defaultValue":S=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(s(137,a));break;default:rt(e,a,l,G,r,null)}}Cp(e,f,S,C,z,v,u,!1);return;case"select":He("invalid",e),l=v=f=null;for(u in r)if(r.hasOwnProperty(u)&&(S=r[u],S!=null))switch(u){case"value":f=S;break;case"defaultValue":v=S;break;case"multiple":l=S;default:rt(e,a,u,S,r,null)}a=f,r=v,e.multiple=!!l,a!=null?Fr(e,!!l,a,!1):r!=null&&Fr(e,!!l,r,!0);return;case"textarea":He("invalid",e),f=u=l=null;for(v in r)if(r.hasOwnProperty(v)&&(S=r[v],S!=null))switch(v){case"value":l=S;break;case"defaultValue":u=S;break;case"children":f=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(s(91));break;default:rt(e,a,v,S,r,null)}Np(e,l,u,f);return;case"option":for(C in r)if(r.hasOwnProperty(C)&&(l=r[C],l!=null))switch(C){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:rt(e,a,C,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<Ll.length;l++)He(Ll[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(z in r)if(r.hasOwnProperty(z)&&(l=r[z],l!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,a));default:rt(e,a,z,l,r,null)}return;default:if(ad(a)){for(G in r)r.hasOwnProperty(G)&&(l=r[G],l!==void 0&&If(e,a,G,l,r,void 0));return}}for(S in r)r.hasOwnProperty(S)&&(l=r[S],l!=null&&rt(e,a,S,l,r,null))}function yT(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 u=null,f=null,v=null,S=null,C=null,z=null,G=null;for(F in r){var Y=r[F];if(r.hasOwnProperty(F)&&Y!=null)switch(F){case"checked":break;case"value":break;case"defaultValue":C=Y;default:l.hasOwnProperty(F)||rt(e,a,F,null,l,Y)}}for(var B in l){var F=l[B];if(Y=r[B],l.hasOwnProperty(B)&&(F!=null||Y!=null))switch(B){case"type":f=F;break;case"name":u=F;break;case"checked":z=F;break;case"defaultChecked":G=F;break;case"value":v=F;break;case"defaultValue":S=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(s(137,a));break;default:F!==Y&&rt(e,a,B,F,l,Y)}}td(e,v,S,C,z,G,f,u);return;case"select":F=v=S=B=null;for(f in r)if(C=r[f],r.hasOwnProperty(f)&&C!=null)switch(f){case"value":break;case"multiple":F=C;default:l.hasOwnProperty(f)||rt(e,a,f,null,l,C)}for(u in l)if(f=l[u],C=r[u],l.hasOwnProperty(u)&&(f!=null||C!=null))switch(u){case"value":B=f;break;case"defaultValue":S=f;break;case"multiple":v=f;default:f!==C&&rt(e,a,u,f,l,C)}a=S,r=v,l=F,B!=null?Fr(e,!!r,B,!1):!!l!=!!r&&(a!=null?Fr(e,!!r,a,!0):Fr(e,!!r,r?[]:"",!1));return;case"textarea":F=B=null;for(S in r)if(u=r[S],r.hasOwnProperty(S)&&u!=null&&!l.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:rt(e,a,S,null,l,u)}for(v in l)if(u=l[v],f=r[v],l.hasOwnProperty(v)&&(u!=null||f!=null))switch(v){case"value":B=u;break;case"defaultValue":F=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(s(91));break;default:u!==f&&rt(e,a,v,u,l,f)}jp(e,B,F);return;case"option":for(var ue in r)if(B=r[ue],r.hasOwnProperty(ue)&&B!=null&&!l.hasOwnProperty(ue))switch(ue){case"selected":e.selected=!1;break;default:rt(e,a,ue,null,l,B)}for(C in l)if(B=l[C],F=r[C],l.hasOwnProperty(C)&&B!==F&&(B!=null||F!=null))switch(C){case"selected":e.selected=B&&typeof B!="function"&&typeof B!="symbol";break;default:rt(e,a,C,B,l,F)}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 Te in r)B=r[Te],r.hasOwnProperty(Te)&&B!=null&&!l.hasOwnProperty(Te)&&rt(e,a,Te,null,l,B);for(z in l)if(B=l[z],F=r[z],l.hasOwnProperty(z)&&B!==F&&(B!=null||F!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(s(137,a));break;default:rt(e,a,z,B,l,F)}return;default:if(ad(a)){for(var st in r)B=r[st],r.hasOwnProperty(st)&&B!==void 0&&!l.hasOwnProperty(st)&&If(e,a,st,void 0,l,B);for(G in l)B=l[G],F=r[G],!l.hasOwnProperty(G)||B===F||B===void 0&&F===void 0||If(e,a,G,B,l,F);return}}for(var _ in r)B=r[_],r.hasOwnProperty(_)&&B!=null&&!l.hasOwnProperty(_)&&rt(e,a,_,null,l,B);
vendor: 14,807 bytes, line 26
26for(Y in l)B=l[Y],F=r[Y],!l.hasOwnProperty(Y)||B===F||B==null&&F==null||rt(e,a,Y,B,l,F)}function Mv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function vT(){if(typeof performance.getEntriesByType=="function"){for(var e=0,a=0,r=performance.getEntriesByType("resource"),l=0;l<r.length;l++){var u=r[l],f=u.transferSize,v=u.initiatorType,S=u.duration;if(f&&S&&Mv(v)){for(v=0,S=u.responseEnd,l+=1;l<r.length;l++){var C=r[l],z=C.startTime;if(z>S)break;var G=C.transferSize,Y=C.initiatorType;G&&Mv(Y)&&(C=C.responseEnd,v+=G*(C<S?1:(S-z)/(C-z)))}if(--l,a+=8*(f+v)/(u.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 Yf=null,Kf=null;function Bc(e){return e.nodeType===9?e:e.ownerDocument}function _v(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 Ov(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 Zf(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 qf=null;function xT(){var e=window.event;return e&&e.type==="popstate"?e===qf?!1:(qf=e,!0):(qf=null,!1)}var kv=typeof setTimeout=="function"?setTimeout:void 0,bT=typeof clearTimeout=="function"?clearTimeout:void 0,Lv=typeof Promise=="function"?Promise:void 0,ST=typeof queueMicrotask=="function"?queueMicrotask:typeof Lv<"u"?function(e){return Lv.resolve(null).then(e).catch(wT)}:kv;function wT(e){setTimeout(function(){throw e})}function Ni(e){return e==="head"}function zv(e,a){var r=a,l=0;do{var u=r.nextSibling;if(e.removeChild(r),u&&u.nodeType===8)if(r=u.data,r==="/$"||r==="/&"){if(l===0){e.removeChild(u),xs(a);return}l--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")l++;else if(r==="html")Bl(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,Bl(r);for(var f=r.firstChild;f;){var v=f.nextSibling,S=f.nodeName;f[tt]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&f.rel.toLowerCase()==="stylesheet"||r.removeChild(f),f=v}}else r==="body"&&Bl(e.ownerDocument.body);r=u}while(r);xs(a)}function Bv(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 Xf(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":Xf(r),Ie(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function TT(e,a,r,l){for(;e.nodeType===1;){var u=r;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[tt])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!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){var f=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=Hn(e.nextSibling),e===null)break}return null}function ET(e,a,r){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=Hn(e.nextSibling),e===null))return null;return e}function Uv(e,a){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Hn(e.nextSibling),e===null))return null;return e}function Wf(e){return e.data==="$?"||e.data==="$~"}function $f(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function AT(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 Hn(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 Qf=null;function Vv(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(a===0)return Hn(e.nextSibling);a--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||a++}e=e.nextSibling}return null}function Hv(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 Fv(e,a,r){switch(a=Bc(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 Bl(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);Ie(e)}var Fn=new Map,Gv=new Set;function Uc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var qa=q.d;q.d={f:CT,r:jT,D:NT,C:RT,L:DT,m:MT,X:OT,S:_T,M:kT};function CT(){var e=qa.f(),a=Rc();return e||a}function jT(e){var a=Ae(e);a!==null&&a.tag===5&&a.type==="form"?ry(a):qa.r(e)}var gs=typeof document>"u"?null:document;function Pv(e,a,r){var l=gs;if(l&&typeof a=="string"&&a){var u=sn(a);u='link[rel="'+e+'"][href="'+u+'"]',typeof r=="string"&&(u+='[crossorigin="'+r+'"]'),Gv.has(u)||(Gv.add(u),e={rel:e,crossOrigin:r,href:a},l.querySelector(u)===null&&(a=l.createElement("link"),It(a,"link",e),We(a),l.head.appendChild(a)))}}function NT(e){qa.D(e),Pv("dns-prefetch",e,null)}function RT(e,a){qa.C(e,a),Pv("preconnect",e,a)}function DT(e,a,r){qa.L(e,a,r);var l=gs;if(l&&e&&a){var u='link[rel="preload"][as="'+sn(a)+'"]';a==="image"&&r&&r.imageSrcSet?(u+='[imagesrcset="'+sn(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(u+='[imagesizes="'+sn(r.imageSizes)+'"]')):u+='[href="'+sn(e)+'"]';var f=u;switch(a){case"style":f=ys(e);break;case"script":f=vs(e)}Fn.has(f)||(e=x({rel:"preload",href:a==="image"&&r&&r.imageSrcSet?void 0:e,as:a},r),Fn.set(f,e),l.querySelector(u)!==null||a==="style"&&l.querySelector(Ul(f))||a==="script"&&l.querySelector(Vl(f))||(a=l.createElement("link"),It(a,"link",e),We(a),l.head.appendChild(a)))}}function MT(e,a){qa.m(e,a);var r=gs;if(r&&e){var l=a&&typeof a.as=="string"?a.as:"script",u='link[rel="modulepreload"][as="'+sn(l)+'"][href="'+sn(e)+'"]',f=u;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=vs(e)}if(!Fn.has(f)&&(e=x({rel:"modulepreload",href:e},a),Fn.set(f,e),r.querySelector(u)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Vl(f)))return}l=r.createElement("link"),It(l,"link",e),We(l),r.head.appendChild(l)}}}function _T(e,a,r){qa.S(e,a,r);var l=gs;if(l&&e){var u=St(l).hoistableStyles,f=ys(e);a=a||"default";var v=u.get(f);if(!v){var S={loading:0,preload:null};if(v=l.querySelector(Ul(f)))S.loading=5;else{e=x({rel:"stylesheet",href:e,"data-precedence":a},r),(r=Fn.get(f))&&Jf(e,r);var C=v=l.createElement("link");We(C),It(C,"link",e),C._p=new Promise(function(z,G){C.onload=z,C.onerror=G}),C.addEventListener("load",function(){S.loading|=1}),C.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Vc(v,a,l)}v={type:"stylesheet",instance:v,count:1,state:S},u.set(f,v)}}}function OT(e,a){qa.X(e,a);var r=gs;if(r&&e){var l=St(r).hoistableScripts,u=vs(e),f=l.get(u);f||(f=r.querySelector(Vl(u)),f||(e=x({src:e,async:!0},a),(a=Fn.get(u))&&eh(e,a),f=r.createElement("script"),We(f),It(f,"link",e),r.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},l.set(u,f))}}function kT(e,a){qa.M(e,a);var r=gs;if(r&&e){var l=St(r).hoistableScripts,u=vs(e),f=l.get(u);f||(f=r.querySelector(Vl(u)),f||(e=x({src:e,async:!0,type:"module"},a),(a=Fn.get(u))&&eh(e,a),f=r.createElement("script"),We(f),It(f,"link",e),r.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},l.set(u,f))}}function Iv(e,a,r,l){var u=(u=ft.current)?Uc(u):null;if(!u)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(a=ys(r.href),r=St(u).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=ys(r.href);var f=St(u).hoistableStyles,v=f.get(e);if(v||(u=u.ownerDocument||u,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(e,v),(f=u.querySelector(Ul(e)))&&!f._p&&(v.instance=f,v.state.loading=5),Fn.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},Fn.set(e,r),f||LT(u,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=vs(r),r=St(u).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 ys(e){return'href="'+sn(e)+'"'}function Ul(e){return'link[rel="stylesheet"]['+e+"]"}function Yv(e){return x({},e,{"data-precedence":e.precedence,precedence:null})}function LT(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}),It(a,"link",r),We(a),e.head.appendChild(a))}function vs(e){return'[src="'+sn(e)+'"]'}function Vl(e){return"script[async]"+e}function Kv(e,a,r){if(a.count++,a.instance===null)switch(a.type){case"style":var l=e.querySelector('style[data-href~="'+sn(r.href)+'"]');if(l)return a.instance=l,We(l),l;var u=x({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),We(l),It(l,"style",u),Vc(l,r.precedence,e),a.instance=l;case"stylesheet":u=ys(r.href);var f=e.querySelector(Ul(u));if(f)return a.state.loading|=4,a.instance=f,We(f),f;l=Yv(r),(u=Fn.get(u))&&Jf(l,u),f=(e.ownerDocument||e).createElement("link"),We(f);var v=f;return v._p=new Promise(function(S,C){v.onload=S,v.onerror=C}),It(f,"link",l),a.state.loading|=4,Vc(f,r.precedence,e),a.instance=f;case"script":return f=vs(r.src),(u=e.querySelector(Vl(f)))?(a.instance=u,We(u),u):(l=r,(u=Fn.get(f))&&(l=x({},r),eh(l,u)),e=e.ownerDocument||e,u=e.createElement("script"),We(u),It(u,"link",l),e.head.appendChild(u),a.instance=u);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,Vc(l,r.precedence,e));return a.instance}function Vc(e,a,r){for(var l=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=l.length?l[l.length-1]:null,f=u,v=0;v<l.length;v++){var S=l[v];if(S.dataset.precedence===a)f=S;else if(f!==u)break}f?f.parentNode.insertBefore(e,f.nextSibling):(a=r.nodeType===9?r.head:r,a.insertBefore(e,a.firstChild))}function Jf(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function eh(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var Hc=null;function Zv(e,a,r){if(Hc===null){var l=new Map,u=Hc=new Map;u.set(r,l)}else u=Hc,l=u.get(r),l||(l=new Map,u.set(r,l));if(l.has(e))return l;for(l.set(e,null),r=r.getElementsByTagName(e),u=0;u<r.length;u++){var f=r[u];if(!(f[tt]||f[ie]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var v=f.getAttribute(a)||"";v=e+v;var S=l.get(v);S?S.push(f):l.set(v,[f])}}return l}function qv(e,a,r){e=e.ownerDocument||e,e.head.insertBefore(r,a==="title"?e.querySelector("head > title"):null)}function zT(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 Xv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function BT(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 u=ys(l.href),f=a.querySelector(Ul(u));if(f){a=f._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(e.count++,e=Fc.bind(e),a.then(e,e)),r.state.loading|=4,r.instance=f,We(f);return}f=a.ownerDocument||a,l=Yv(l),(u=Fn.get(u))&&Jf(l,u),f=f.createElement("link"),We(f);var v=f;v._p=new Promise(function(S,C){v.onload=S,v.onerror=C}),It(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=Fc.bind(e),a.addEventListener("load",r),a.addEventListener("error",r))}}var th=0;function UT(e,a){return e.stylesheets&&e.count===0&&Pc(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var l=setTimeout(function(){if(e.stylesheets&&Pc(e,e.stylesheets),e.unsu
vendor: 4,267 bytes, line 26
26spend){var f=e.unsuspend;e.unsuspend=null,f()}},6e4+a);0<e.imgBytes&&th===0&&(th=62500*vT());var u=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Pc(e,e.stylesheets),e.unsuspend)){var f=e.unsuspend;e.unsuspend=null,f()}},(e.imgBytes>th?50:800)+a);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(u)}}:null}function Fc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Pc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Gc=null;function Pc(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Gc=new Map,a.forEach(VT,e),Gc=null,Fc.call(e))}function VT(e,a){if(!(a.state.loading&4)){var r=Gc.get(e);if(r)var l=r.get(null);else{r=new Map,Gc.set(e,r);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<u.length;f++){var v=u[f];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(r.set(v.dataset.precedence,v),l=v)}l&&r.set(null,l)}u=a.instance,v=u.getAttribute("data-precedence"),f=r.get(v)||l,f===l&&r.set(null,u),r.set(v,u),this.count++,l=Fc.bind(this),u.addEventListener("load",l),u.addEventListener("error",l),f?f.parentNode.insertBefore(u,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),a.state.loading|=4}}var Hl={$$typeof:H,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function HT(e,a,r,l,u,f,v,S,C){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=oi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oi(0),this.hiddenUpdates=oi(null),this.identifierPrefix=l,this.onUncaughtError=u,this.onCaughtError=f,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=C,this.incompleteTransitions=new Map}function Wv(e,a,r,l,u,f,v,S,C,z,G,Y){return e=new HT(e,a,r,v,C,z,G,Y,S),a=1,f===!0&&(a|=24),f=gn(3,null,null,a),e.current=f,f.stateNode=e,a=Od(),a.refCount++,e.pooledCache=a,a.refCount++,f.memoizedState={element:l,isDehydrated:r,cache:a},Bd(f),e}function $v(e){return e?(e=Xr,e):Xr}function Qv(e,a,r,l,u,f){u=$v(u),l.context===null?l.context=u:l.pendingContext=u,l=yi(a),l.payload={element:r},f=f===void 0?null:f,f!==null&&(l.callback=f),r=vi(e,l,a),r!==null&&(fn(r,e,a),vl(r,e,a))}function Jv(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<a?r:a}}function nh(e,a){Jv(e,a),(e=e.alternate)&&Jv(e,a)}function ex(e){if(e.tag===13||e.tag===31){var a=ir(e,67108864);a!==null&&fn(a,e,67108864),nh(e,67108864)}}function tx(e){if(e.tag===13||e.tag===31){var a=Sn();a=N(a);var r=ir(e,a);r!==null&&fn(r,e,a),nh(e,a)}}var Ic=!0;function FT(e,a,r,l){var u=V.T;V.T=null;var f=q.p;try{q.p=2,ah(e,a,r,l)}finally{q.p=f,V.T=u}}function GT(e,a,r,l){var u=V.T;V.T=null;var f=q.p;try{q.p=8,ah(e,a,r,l)}finally{q.p=f,V.T=u}}function ah(e,a,r,l){if(Ic){var u=ih(l);if(u===null)Pf(e,a,l,Yc,r),ax(e,l);else if(IT(u,e,a,r,l))l.stopPropagation();else if(ax(e,l),a&4&&-1<PT.indexOf(e)){for(;u!==null;){var f=Ae(u);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var v=Xn(f.pendingLanes);if(v!==0){var S=f;for(S.pendingLanes|=2,S.entangledLanes|=2;v;){var C=1<<31-Xt(v);S.entanglements[1]|=C,v&=~C}da(f),(Qe&6)===0&&(jc=Qt()+500,kl(0))}}break;case 31:case 13:S=ir(f,2),S!==null&&fn(S,f,2),Rc(),nh(f,2)}if(f=ih(l),f===null&&Pf(e,a,l,Yc,r),f===u)break;u=f}u!==null&&l.stopPropagation()}else Pf(e,a,l,null,r)}}function ih(e){return e=rd(e),rh(e)}var Yc=null;function rh(e){if(Yc=null,e=ot(e),e!==null){var a=c(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=m(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 Yc=e,null}function nx(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 4,179 bytes, line 26
26: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(Aa()){case ri:return 2;case tl:return 8;case si:case qn:return 32;case Dn:return 268435456;default:return 32}default:return 32}}var sh=!1,Ri=null,Di=null,Mi=null,Fl=new Map,Gl=new Map,_i=[],PT="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 ax(e,a){switch(e){case"focusin":case"focusout":Ri=null;break;case"dragenter":case"dragleave":Di=null;break;case"mouseover":case"mouseout":Mi=null;break;case"pointerover":case"pointerout":Fl.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gl.delete(a.pointerId)}}function Pl(e,a,r,l,u,f){return e===null||e.nativeEvent!==f?(e={blockedOn:a,domEventName:r,eventSystemFlags:l,nativeEvent:f,targetContainers:[u]},a!==null&&(a=Ae(a),a!==null&&ex(a)),e):(e.eventSystemFlags|=l,a=e.targetContainers,u!==null&&a.indexOf(u)===-1&&a.push(u),e)}function IT(e,a,r,l,u){switch(a){case"focusin":return Ri=Pl(Ri,e,a,r,l,u),!0;case"dragenter":return Di=Pl(Di,e,a,r,l,u),!0;case"mouseover":return Mi=Pl(Mi,e,a,r,l,u),!0;case"pointerover":var f=u.pointerId;return Fl.set(f,Pl(Fl.get(f)||null,e,a,r,l,u)),!0;case"gotpointercapture":return f=u.pointerId,Gl.set(f,Pl(Gl.get(f)||null,e,a,r,l,u)),!0}return!1}function ix(e){var a=ot(e.target);if(a!==null){var r=c(a);if(r!==null){if(a=r.tag,a===13){if(a=d(r),a!==null){e.blockedOn=a,X(e.priority,function(){tx(r)});return}}else if(a===31){if(a=m(r),a!==null){e.blockedOn=a,X(e.priority,function(){tx(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 Kc(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var r=ih(e.nativeEvent);if(r===null){r=e.nativeEvent;var l=new r.constructor(r.type,r);id=l,r.target.dispatchEvent(l),id=null}else return a=Ae(r),a!==null&&ex(a),e.blockedOn=r,!1;a.shift()}return!0}function rx(e,a,r){Kc(e)&&r.delete(a)}function YT(){sh=!1,Ri!==null&&Kc(Ri)&&(Ri=null),Di!==null&&Kc(Di)&&(Di=null),Mi!==null&&Kc(Mi)&&(Mi=null),Fl.forEach(rx),Gl.forEach(rx)}function Zc(e,a){e.blockedOn===a&&(e.blockedOn=null,sh||(sh=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,YT)))}var qc=null;function sx(e){qc!==e&&(qc=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){qc===e&&(qc=null);for(var a=0;a<e.length;a+=3){var r=e[a],l=e[a+1],u=e[a+2];if(typeof l!="function"){if(rh(l||r)===null)continue;break}var f=Ae(r);f!==null&&(e.splice(a,3),a-=3,af(f,{pending:!0,data:u,method:r.method,action:l},l,u))}}))}function xs(e){function a(C){return Zc(C,e)}Ri!==null&&Zc(Ri,e),Di!==null&&Zc(Di,e),Mi!==null&&Zc(Mi,e),Fl.forEach(a),Gl.forEach(a);for(var r=0;r<_i.length;r++){var l=_i[r];l.blockedOn===e&&(l.blockedOn=null)}for(;0<_i.length&&(r=_i[0],r.blockedOn===null);)ix(r),r.blockedOn===null&&_i.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(l=0;l<r.length;l+=3){var u=r[l],f=r[l+1],v=u[re]||null;
vendor: 4,068 bytes, line 26
26if(typeof f=="function")v||sx(r);else if(v){var S=null;if(f&&f.hasAttribute("formAction")){if(u=f,v=f[re]||null)S=v.formAction;else if(rh(u)!==null)continue}else S=v.action;typeof S=="function"?r[l+1]=S:(r.splice(l,3),l-=3),sx(r)}}}function lx(){function e(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(v){return u=v})},focusReset:"manual",scroll:"manual"})}function a(){u!==null&&(u(),u=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,u=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),u!==null&&(u(),u=null)}}}function lh(e){this._internalRoot=e}Xc.prototype.render=lh.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(s(409));var r=a.current,l=Sn();Qv(r,l,e,a,null,null)},Xc.prototype.unmount=lh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;Qv(e.current,2,null,e,null,null),Rc(),a[ae]=null}};function Xc(e){this._internalRoot=e}Xc.prototype.unstable_scheduleHydration=function(e){if(e){var a=Z();e={blockedOn:null,target:e,priority:a};for(var r=0;r<_i.length&&a!==0&&a<_i[r].priority;r++);_i.splice(r,0,e),r===0&&ix(e)}};var ox=n.version;if(ox!=="19.2.8")throw Error(s(527,ox,"19.2.8"));q.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=g(a),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var KT={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wc.isDisabled&&Wc.supportsFiber)try{Ca=Wc.inject(KT),Jt=Wc}catch{}}return Il.createRoot=function(e,a){if(!o(e))throw Error(s(299));var r=!1,l="",u=py,f=gy,v=yy;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(f=a.onCaughtError),a.onRecoverableError!==void 0&&(v=a.onRecoverableError)),a=Wv(e,1,!1,null,null,r,l,null,u,f,v,lx),e[ae]=a.current,Gf(e),new lh(a)},Il.hydrateRoot=function(e,a,r){if(!o(e))throw Error(s(299));var l=!1,u="",f=py,v=gy,S=yy,C=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(v=r.onCaughtError),r.onRecoverableError!==void 0&&(S=r.onRecoverableError),r.formState!==void 0&&(C=r.formState)),a=Wv(e,1,!0,a,r??null,l,u,C,f,v,S,lx),a.context=$v(null),r=a.current,l=Sn(),l=N(l),u=yi(l),u.callback=null,vi(r,u,l),r=l,a.current.lanes=r,sa(a,r),da(a),e[ae]=a.current,Gf(e),new Xc(a)},Il.version="19.2.8",Il}var mx;function iE(){if(mx)return oh.exports;mx=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(),oh.exports=aE(),oh.exports}var px=iE();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})({}),ut=(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 dh={link:{rel:["amphtml","canonical","alternate"]}
26,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"]}},gx=Object.values(ut),Mm={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},po=(()=>{const t={};for(const[n,i]of Object.entries(Mm))t[i]=n;return t})(),ni="data-rh",rE=!!(typeof window<"u"&&window.document.createElement);function _s(t,n){for(let i=t.length-1;i>=0;--i){const s=t[i][1][n];if(s!==void 0)return s}}function sE(t){let n=_s(t,ut.TITLE);const i=_s(t,"titleTemplate");if(Array.isArray(n)&&(n=n.join("")),i&&n)return i.replace(/%s/g,()=>n);const s=_s(t,"defaultTitle");return(n||s)??void 0}function fh(t,n){const i={};for(const s of n){const o=s[1][t];o&&Object.assign(i,o)}return i}function lE(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 oE(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 Yl(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,c)=>{const d={};c.filter(p=>{const g=oE(p,n);if(!g||!p[g])return!1;const y=p[g].toLowerCase();return s[g]||(s[g]={}),d[g]||(d[g]={}),s[g][y]?!1:(d[g][y]=!0,!0)}).reverse().forEach(p=>{o.push(p)});const m=Object.keys(d);for(const p of m){const g={...s[p],...d[p]};s[p]=g}return o},[]).reverse()}function cE(t,n){for(const[,i]of t)if(i[n])return!0;return!1}function i1(t){return Array.isArray(t)?t.join(""):t}function uE(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 hh(t,n){const i={default:Array(),priority:Array()};if(t)for(const s of t)uE(s,n)?i.priority.push(s):i.default.push(s);return i}function dE(t){const n={};for(const[i,s]of Object.entries(t))n[i]=Array.isArray(s)?s.slice():s;return n}function fE(t,n){const i=t;for(const[s,o]of Object.entries(n))if(Array.isArray(o)){const c=i[s];i[s]=c?c.concat(o):o}else i[s]=o}function mh(t,n,i){const s=t[n];s?s.push(i):t[n]=[i]}function Yh(t){let n=Yl(ut.LINK,[Kt.REL,Kt.HREF],t),i=Yl("meta",[Kt.NAME,"charSet","httpEquiv",Kt.PROPERTY,"itemProp"],t),s=Yl("script",[Kt.SRC,Kt.INNER_HTML],t);const o=cE(t,"prioritizeSeoTags");let c;if(o){const d=hh(n,dh.link);n=d.default;const m=hh(i,dh.meta);i=m.default;const p=hh(s,dh.script);s=p.default,c={links:d.priority,meta:m.priority,script:p.priority}}return{base:lE(t),bodyAttributes:fh("bodyAttributes",t),defer:_s(t,"defer"),encodeSpecialCharacters:_s(t,"encodeSpecialCharacters")??!0,htmlAttributes:fh("htmlAttributes",t),links:n,meta:i,noscript:Yl("noscript",[Kt.INNER_HTML],t),onChangeClientState:_s(t,"onChangeClientState"),priority:c,script:s,style:Yl("style",[Kt.CSS_TEXT],t),title:sE(t),titleAttributes:fh("titleAttributes",t)}}function hE(t){return po[t]??t}function Ss(t,n){const i=document.head||document.querySelector(ut.HEAD),s=i.querySelectorAll(`${t}[${ni}]`),o=[],c=[...s],d=[];for(const m of n){const p=document.createElement(t);for(const[y,x]of Object.entries(m))if(Object.prototype.hasOwnProperty.call(m,y)){const b=po[y]??y;b===Kt.INNER_HTML?p.innerHTML=x:b===Kt.CSS_TEXT?p.styleSheet?p.styleSheet.cssText=m.cssText:p.appendChild(document.createTextNode(m.cssText)):p.setAttribute(b,x??"")}p.setAttribute(ni,"true");const g={};for(const{name:y,value:x}of p.attributes)g[y]=x;o.push(g);for(let y=0;;++y){if(p.isEqualNode(c[y])){c.splice(y,1);break}if(y>=c.length){d.push(p);break}}}return c.forEach(m=>{var p;(p=m.parentNode)==null||p.removeChild(m)}),d.forEach(m=>{i.appendChild(m)}),{allTags:o,newTags:d,oldTags:c}}function Kh(t,n){const[i]=document.getElementsByTagName(t);if(!i)return;const s=i.getAttribute(ni),o=s?s.split(","):[],c=[...o],d=[];for(const m of Object.keys(n))d.push(po[m]??m);for(const[m,p]of Object.entries(n)){const g=po[m]??m;i.getAttribute(g)!==p&&i.setAttribute(g,p??""),o.includes(g)||o.push(g);const y=c.indexOf(g);y!==-1&&c.splice(y,1)}for(let m=c.length-1;m>=0;m-=1)i.removeAttribute(c[m]);o.length===c.length?i.removeAttribute(ni):i.getAttribute(ni)!==d.join(",")&&i.setAttribute(ni,d.join(","))}function mE(t,n){t!==void 0&&document.title!==t&&(document.title=i1(t)),Kh(ut.TITLE,n)}function yx(t,n){const{base:i,bodyAttributes:s,defer:o,htmlAttributes:c,links:d,meta:m,noscript:p,onChangeClientState:g,priority:y,script:x,style:b,title:w,titleAttributes:T}=t;Kh(ut.BODY,s??{}),Kh(ut.HTML,c??{}),mE(w,T);const M={baseTag:Ss(ut.BASE,i?[i]:[]),linkTags:Ss(ut.LINK,[...(y==null?void 0:y.links)??[],...d??[]]),metaTags:Ss(ut.META,[...(y==null?void 0:y.meta)??[],...m??[]]),noscriptTags:Ss(ut.NOSCRIPT,p??[]),scriptTags:Ss(ut.SCRIPT,[...(y==null?void 0:y.script)??[],...x??[]]),styleTags:Ss(ut.STYLE,b??[])},j={baseTag:[],bodyAttributes:{},defer:o??!1,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],onChangeClientState:g??(()=>{}),scriptTags:[],styleTags:[],title:w??"",titleAttributes:{}},k={},U={};
26Object.keys(M).forEach(H=>{const{allTags:I,newTags:K,oldTags:oe}=M[H];j[H]=I,K.length&&(k[H]=K),oe.length&&(U[H]=M[H].oldTags)}),(n||Object.keys(k).length||Object.keys(U).length)&&(g==null||g(j,k,U))}const pE=[ut.NOSCRIPT,ut.SCRIPT,ut.STYLE],r1=(t,n=!0)=>n?t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"):t;function Zh(t){let n="";for(const[i,s]of Object.entries(t)){const o=hE(i),c=s===void 0?o:`${o}="${s}"`;c&&n&&(n+=" "),n+=c}return n}const gE=(t,n,i)=>{let s=Zh(n);s&&(s=` ${s}`);const o=i1(t);return`<title ${ni}="true"${s}>${r1(o,i)}</title>`};function Xa(t,n,i){let s="";for(const o of n){let c="";const d=Object.entries(o);for(const[g,y]of d)if(!(g===Kt.INNER_HTML||g===Kt.CSS_TEXT)){const x=po[g]??g;let b;if(y===void 0)b=x;else{const w=typeof y=="string"?y:String(y);b=`${x}="${r1(w,i)}"`}c?c+=` ${b}`:c=b}const m=o.innerHTML??o.cssText??"",p=!pE.includes(t);s+=`<${t} ${ni}="true" ${c}${p?"/>":`>${m}</${t}>`}`}return s}function xu(t,n={}){const i={};n.addHelmetDataAttr&&(i[ni]=!0),n.addKey!==void 0&&(i.key=n.addKey);for(const[s,o]of Object.entries(t)){const c=Mm[s]??s;switch(c){case"cssText":case"innerHTML":i.dangerouslySetInnerHTML={__html:o};break;default:i[c]=o}}return i}function yE(t,n){return[h.jsx("title",{...xu(n,{addHelmetDataAttr:!0}),children:t},t)]}function vE(t,n,i){return E.createElement(t,xu(n,{addHelmetDataAttr:!0,addKey:i}))}function Wa(t,n){const i=[];for(let s=0;s<n.length;++s)i.push(vE(t,n[s],s));return i}function xE(t){const n=()=>(t.state??(t.state=Yh(t.helmets)),t.state);return{base:{toComponent(){const i=n().base;return i?Wa("base",[i]):[]},toString(){const i=n();return i.base?Xa("base",[i.base],i.encodeSpecialCharacters):""}},bodyAttributes:{toComponent(){const i=n().bodyAttributes;return xu(i??{})},toString(){const i=n().bodyAttributes;return Zh(i??{})}},htmlAttributes:{toComponent(){const i=n().htmlAttributes;return xu(i??{})},toString(){const i=n().htmlAttributes;return Zh(i??{})}},link:{toComponent(){return Wa("link",n().links??[])},toString(){const i=n();return Xa("link",i.links??[],i.encodeSpecialCharacters)}},meta:{toComponent(){return Wa("meta",n().meta??[])},toString(){const i=n();return Xa("meta",i.meta??[],i.encodeSpecialCharacters)}},noscript:{toComponent(){return Wa("noscript",n().noscript??[])},toString(){const i=n();return Xa("noscript",i.noscript??[],i.encodeSpecialCharacters)}},priority:{toComponent(){var s,o,c;const i=n();return[...Wa("meta",((s=i.priority)==null?void 0:s.meta)??[]),...Wa("link",((o=i.priority)==null?void 0:o.links)??[]),...Wa("script",((c=i.priority)==null?void 0:c.script)??[])]},toString(){var m,p,g;const i=n(),s=Xa("meta",((m=i.priority)==null?void 0:m.meta)??[],i.encodeSpecialCharacters),o=Xa("link",((p=i.priority)==null?void 0:p.links)??[],i.encodeSpecialCharacters),c=Xa("script",((g=i.priority)==null?void 0:g.script)??[],i.encodeSpecialCharacters);let d=s;return o&&(d&&(d+=" "),d+=o),c&&(d&&(d+=" "),d+=c),d}},script:{toComponent(){return Wa("script",n().script??[])},toString(){const i=n();return Xa("script",i.script??[],i.encodeSpecialCharacters)}},style:{toComponent(){return Wa("style",n().style??[])},toString(){const i=n();return Xa("style",i.style??[],i.encodeSpecialCharacters)}},title:{toComponent(){const i=n();return yE(i.title??"",i.titleAttributes??{})},toString(){const i=n();return gE(i.title??"",i.titleAttributes??{},i.encodeSpecialCharacters)}}}}const s1=E.createContext(void 0),bE=({children:t,context:n})=>{const{current:i}
26=E.useRef({firstRender:!0,helmets:[],state:void 0}),s=E.useRef(null);return s.current??(s.current={clientApply(){rE&&!i.state&&(i.state=Yh(i.helmets),i.state.defer?i.nextAnimFrameId??(i.nextAnimFrameId=requestAnimationFrame(()=>{i.state??(i.state=Yh(i.helmets)),yx(i.state,i.firstRender),i.firstRender=!1,delete i.nextAnimFrameId})):(i.nextAnimFrameId!==void 0&&(cancelAnimationFrame(i.nextAnimFrameId),delete i.nextAnimFrameId),yx(i.state,i.firstRender),i.firstRender=!1))},update(o,c){const d=i.helmets.findIndex(m=>m[0]===o);d>=0?(delete i.state,c?i.helmets[d][1]=c:i.helmets.splice(d,1)):c&&(delete i.state,i.helmets.push([o,c]))}}),n&&(!n.helmet||n.helmet!==i.serverState)&&(i.serverState??(i.serverState=xE(i)),n.helmet=i.serverState),h.jsx(s1,{value:s.current,children:t})};function SE(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(!gx.includes(t))throw Error(`Only elements types ${gx.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 ph(t){const n=Mm[t];return n&&console.warn(`"${t}" is not a valid JSX prop, replace it by "${n}"`),n??t}function qh(t){const n=dE(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 c=ph(o);c!==o&&(s[c]=s[o],delete s[o])}}else if(i&&typeof i=="object"){const s=i;for(const o of Object.keys(s)){const c=ph(o);c!==o&&(s[c]=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[m,p]of Object.entries(i.props))m==="children"?s=p:o[ph(m)]=p;let{type:c}=i;typeof c=="symbol"&&(c=c.toString()),SE(c,s);function d(m){typeof m!="string"&&console.error(`child of ${c} element should be a string`)}switch(c){case ut.BASE:n.base=o;break;case ut.BODY:n.bodyAttributes=o;break;case ut.FRAGMENT:fE(n,qh({children:s}));break;case ut.HTML:n.htmlAttributes=o;break;case ut.LINK:case ut.META:if(s)throw Error(`<${c} /> elements are self-closing and can not contain children. Refer to our API for more information.`);mh(n,c,o);break;case ut.NOSCRIPT:case ut.SCRIPT:s!==void 0&&(d(s),o.innerHTML=s),mh(n,c,o);break;case ut.STYLE:d(s),o.cssText=s,mh(n,c,o);break;case ut.TITLE:n.titleAttributes=o,typeof s=="string"?n.title=s:Array.isArray(s)&&(n.title=s.join(""));break;case ut.HEAD:}}),delete n.children,n}const ba=t=>{const n=E.use(s1);if(!n)throw Error("<Helmet> component must be within a <HelmetProvider> children tree");const i=E.useId();return n.update(i,qh(t)),E.useEffect(()=>{n.update(i,qh(t)),n.clientApply()}),E.useEffect(()=>()=>{n.update(i,void 0),n.clientApply()},[n,i]),null},wE="modulepreload",TE=function(t){return"/"+t},vx={},EE=function(n,i,s){let o=Promise.resolve();if(i&&i.length>0){let d=function(g){return Promise.all(g.map(y=>Promise.resolve(y).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};document.getElementsByTagName("link");const m=document.querySelector("meta[property=csp-nonce]"),p=(m==null?void 0:m.nonce)||(m==null?void 0:m.getAttribute("nonce"));o=d(i.map(g=>{if(g=TE(g),g in vx)return;vx[g]=!0;const y=g.endsWith(".css"),x=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${x}`))return;const b=document.createElement("link");if(b.rel=y?"stylesheet":wE,y||(b.as="script"),b.crossOrigin="",b.href=g,p&&b.setAttribute("nonce",p),document.head.appendChild(b),y)return new Promise((w,T)=>{b.addEventListener("load",w),b.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${g}`)))})}))}function c(d){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=d,window.dispatchEvent(m),!m.defaultPrevented)throw d}return o.then(d=>{for(const m of d||[])m.status==="rejected"&&c(m.reason);return n().catch(c)})};/**
27 * react-router v8.3.1
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 Bu=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Uu=/^[\\/]{2}/;function l1(t,n){return n+t.replace(/\\/g,"/")}/**
36 * react-router v8.3.1
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 xx="popstate";function bx(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function AE(t={}){function n(s,o){var g;let c=(g=o.state)==null?void 0:g.masked,{pathname:d,search:m,hash:p}=c||s.location;return go("",{pathname:d,search:m,hash:p},o.state&&o.state.usr||null,o.state&&o.state.key||"default",c?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}
44function i(s,o){return typeof o=="string"?o:mn(o)}return jE(n,i,null,t)}function Le(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 CE(){return Math.random().toString(36).substring(2,10)}function Sx(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 go(t,n,i=null,s,o){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof n=="string"?Sa(n):n,state:i,key:n&&n.key||s||CE(),mask:o}}function mn({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 Sa(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 jE(t,n,i,s={}){let{window:o=document.defaultView,v5Compat:c=!1}=s,d=o.history,m="POP",p=null,g=y();g==null&&(g=0,d.replaceState({...d.state,idx:g},""));function y(){return(d.state||{idx:null}).idx}function x(){m="POP";let j=y(),k=j==null?null:j-g;g=j,p&&p({action:m,location:M.location,delta:k})}function b(j,k){m="PUSH";let U=bx(j)?j:go(M.location,j,k);g=y()+1;let H=Sx(U,g),I=M.createHref(U.mask||U);try{d.pushState(H,"",I)}catch(K){if(K instanceof DOMException&&K.name==="DataCloneError")throw K;o.location.assign(I)}c&&p&&p({action:m,location:M.location,delta:1})}function w(j,k){m="REPLACE";let U=bx(j)?j:go(M.location,j,k);g=y();let H=Sx(U,g),I=M.createHref(U.mask||U);d.replaceState(H,"",I),c&&p&&p({action:m,location:M.location,delta:0})}function T(j){return o1(o,j)}let M={get action(){return m},get location(){return t(o,d)},listen(j){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(xx,x),p=j,()=>{o.removeEventListener(xx,x),p=null}},createHref(j){return n(o,j)},createURL:T,encodeLocation(j){let k=T(j);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:b,replace:w,go(j){return d.go(j)}};return M}function o1(t,n,i=!1){let s="http://localhost";t&&(s=t.location.origin!=="null"?t.location.origin:t.location.href),Le(s,"No window.location.(origin|href) available to create URL");let o=typeof n=="string"?n:mn(n);return o=o.replace(/ $/,"%20"),!i&&Uu.test(o)&&(o=s+o),new URL(o,s)}/**
45 * react-router v8.3.1
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 zs,G0,wx=(G0=class{constructor(t){bs(this,zs,new Map);if(t)for(let[n,i]of t)this.set(n,i)}get(t){if(wn(this,zs).has(t))return wn(this,zs).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,n){wn(this,zs).set(t,n)}},zs=new WeakMap,G0);const NE=new Set(["lazy","caseSensitive","path","id","index","children"]);function RE(t){return NE.has(t)}const DE=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function ME(t){return DE.has(t)}function _E(t){return t.index===!0}function c1(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 yo(t,n=c1,i=[],s={},o=!1){return t.map((c,d)=>{let m=[...i,String(d)],p=typeof c.id=="string"?c.id:m.join("-");if(Le(c.index!==!0||!c.children,"Cannot specify children on an index route"),Le(o||!s[p],`Found a route id collision on i
53d "${p}".  Route id's must be globally unique within Data Router usages`),_E(c)){let g={...c,id:p};return s[p]=Tx(g,n(g)),g}else{let g={...c,id:p,children:void 0};return s[p]=Tx(g,n(g)),c.children&&(g.children=yo(c.children,n,m,s,o)),g}})}function Tx(t,n){return Object.assign(t,{...n,...typeof n.lazy=="object"&&n.lazy!=null?{lazy:{...t.lazy,...n.lazy}}:{}})}function u1(t,n,i="/"){return aa(t,n,i,!1)}function aa(t,n,i,s,o){let c=Kn((typeof n=="string"?Sa(n):n).pathname||"/",i);if(c==null)return null;let d=o??su(t),m=null,p=YE(c);for(let g=0;m==null&&g<d.length;++g)m=IE(d[g],p,s);return m}function d1(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 su(t){let n=f1(t);return OE(n),n}function f1(t,n=[],i=[],s="",o=!1){let c=(d,m,p=o,g)=>{let y={relativePath:g===void 0?d.path||"":g,caseSensitive:d.caseSensitive===!0,childrenIndex:m,route:d};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(s)&&p)return;Le(y.relativePath.startsWith(s),`Absolute route path "${y.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(s.length)}let x=In([s,y.relativePath]),b=i.concat(y);d.children&&d.children.length>0&&(Le(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),f1(d.children,n,b,x,p)),!(d.path==null&&!d.index)&&n.push({path:x,score:GE(x,d.index),routesMeta:b.map((w,T)=>{let[M,j]=p1(w.relativePath,w.caseSensitive,T===b.length-1);return{...w,matcher:M,compiledParams:j}})})};return t.forEach((d,m)=>{var p;if(d.path===""||!((p=d.path)!=null&&p.includes("?")))c(d,m);else for(let g of h1(d.path))c(d,m,!0,g)}),n}function h1(t){let n=t.split("/");if(n.length===0)return[];let[i,...s]=n,o=i.endsWith("?"),c=i.replace(/\?$/,"");if(s.length===0)return o?[c,""]:[c];let d=h1(s.join("/")),m=[];return m.push(...d.map(p=>p===""?c:[c,p].join("/"))),o&&m.push(...d),m.map(p=>t.startsWith("/")&&p===""?"/":p)}function OE(t){t.sort((n,i)=>n.score!==i.score?i.score-n.score:PE(n.routesMeta.map(s=>s.childrenIndex),i.routesMeta.map(s=>s.childrenIndex)))}const kE=/^:[\w-]+$/,LE=/^:[\w-]+/,zE=3.5,BE=3,UE=2,VE=1,HE=10,FE=-2,Ex=t=>t==="*";function GE(t,n){let i=t.split("/"),s=i.length;return i.some(Ex)&&(s+=FE),n&&(s+=UE),i.filter(o=>!Ex(o)).reduce((o,c)=>o+(kE.test(c)?BE:LE.test(c)?zE:c===""?VE:HE),s)}function PE(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 IE(t,n,i=!1){let{routesMeta:s}=t,o={},c="/",d=[];for(let m=0;m<s.length;++m){let p=s[m],g=m===s.length-1,y=c==="/"?n:n.slice(c.length)||"/",x={path:p.relativePath,caseSensitive:p.caseSensitive,end:g},b=p.matcher&&p.compiledParams?m1(x,y,p.matcher,p.compiledParams):bu(x,y),w=p.route;if(!b&&g&&i&&!s[s.length-1].route.index&&(b=bu({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},y)),!b)return null;
53Object.assign(o,b.params),d.push({params:o,pathname:In([c,b.pathname]),pathnameBase:qE(In([c,b.pathnameBase])),route:w}),b.pathnameBase!=="/"&&(c=In([c,b.pathnameBase]))}return d}function bu(t,n){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[i,s]=p1(t.path,t.caseSensitive,t.end);return m1(t,n,i,s)}function m1(t,n,i,s){let o=n.match(i);if(!o)return null;let c=o[0],d=Su(c,1),m=o.slice(1);return{params:s.reduce((p,{paramName:g,isOptional:y},x)=>{if(g==="*"){let w=m[x]||"";d=Su(c.slice(0,c.length-w.length),1)}const b=m[x];return y&&!b?p[g]=void 0:p[g]=(b||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:d,pattern:t}}function p1(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,(c,d,m,p,g)=>{if(s.push({paramName:d,isOptional:m!=null}),m){let y=g.charAt(p+c.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}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 YE(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 KE({basename:t,pathname:n}){return n==="/"?t:In([t,n])}const _m=t=>Bu.test(t);function ZE(t,n="/"){let{pathname:i,search:s="",hash:o=""}=typeof t=="string"?Sa(t):t,c;return i?(i=km(i),i.startsWith("/")||i.startsWith("\\")?c=Ax(i.substring(1),"/"):c=Ax(i,n)):c=n,{pathname:c,search:XE(s),hash:WE(o)}}function Ax(t,n){let i=Su(n).split("/");return t.split("/").forEach(s=>{s===".."?i.length>1&&i.pop():s!=="."&&i.push(s)}),i.length>1?i.join("/"):"/"}function gh(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 g1(t){return t.filter((n,i)=>i===0||n.route.path&&n.route.path.length>0)}function Om(t){let n=g1(t);return n.map((i,s)=>s===n.length-1?i.pathname:i.pathnameBase)}function Vu(t,n,i,s=!1){let o;typeof t=="string"?o=Sa(t):(o={...t},Le(!o.pathname||!o.pathname.includes("?"),gh("?","pathname","search",o)),Le(!o.pathname||!o.pathname.includes("#"),gh("#","pathname","hash",o)),Le(!o.search||!o.search.includes("#"),gh("#","search","hash",o)));let c=t===""||o.pathname==="",d=c?"/":o.pathname,m;if(d==null)m=i;else{let x=n.length-1;if(!s&&d.startsWith("..")){let b=d.split("/");for(;b[0]==="..";)b.shift(),x-=1;o.pathname=b.join("/")}m=x>=0?n[x]:"/"}let p=ZE(o,m),g=d&&d!=="/"&&d.endsWith("/"),y=(c||d===".")&&i.endsWith("/");return!p.pathname.endsWith("/")&&(g||y)&&(p.pathname+="/"),p}const km=t=>t.replace(/[\\/]{2,}/g,"/"),In=t=>km(t.join("/"));function Su(t,n=0){let i=t.length;for(;i>n&&t.charCodeAt(i-1)===47;)i--;return i===t.length?t:t.slice(0,i)}const qE=t=>Su(t).replace(/^\/*/,"/"),XE=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,WE=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,$E=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"];var jo=class{constructor(t,n,i,s=!1){ea(this,"status");ea(this,"statusText");ea(this,"data");ea(this,"error");ea(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 vo(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Is(t){return In(t.map(n=>
53n.route.path).filter(Boolean))||"/"}function Lm(t,n){let i=new URL(typeof t=="string"||t instanceof URL?t:t.url),s=typeof n=="string"?Sa(n):n;if(i.pathname=s.pathname||"/",s.search){let o=new URLSearchParams(s.search),c=o.getAll("index");o.delete("index");for(let m of c.filter(Boolean))o.append("index",m);let d=o.toString();i.search=d?`?${d}`:""}else i.search="";return i.hash=s.hash||"",i}const y1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function v1(t,n){let i=t;if(typeof i!="string"||!Bu.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let s=i,o=!1;if(y1)try{let c=new URL(window.location.href),d=Uu.test(i)?new URL(l1(i,c.protocol)):new URL(i),m=Kn(d.pathname,n);d.origin===c.origin&&m!=null?i=m+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.1
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 x1=Symbol("Uninstrumented");let ro=new WeakMap;function QE(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(c){c.lazy!=null&&i.lazy.push(c.lazy),c["lazy.loader"]!=null&&i["lazy.loader"].push(c["lazy.loader"]),c["lazy.action"]!=null&&i["lazy.action"].push(c["lazy.action"]),c["lazy.middleware"]!=null&&i["lazy.middleware"].push(c["lazy.middleware"]),c.middleware!=null&&i.middleware.push(c.middleware),c.loader!=null&&i.loader.push(c.loader),c.action!=null&&i.action.push(c.action)}}));let s={};if(typeof n.lazy=="function"&&i.lazy.length>0){let o=n.lazy;s.lazy=async(...c)=>Ja(await pa(i.lazy,void 0,()=>o(...c),ei))}if(typeof n.lazy=="object"){let o=n.lazy;if(typeof o.middleware=="function"&&i["lazy.middleware"].length>0){let c=o.middleware;s.lazy=Object.assign(s.lazy||{},{middleware:async(...d)=>Ja(await pa(i["lazy.middleware"],void 0,()=>c(...d),ei))})}if(typeof o.loader=="function"&&i["lazy.loader"].length>0){let c=o.loader;s.lazy=Object.assign(s.lazy||{},{loader:async(...d)=>Ja(await pa(i["lazy.loader"],void 0,()=>c(...d),ei))})}if(typeof o.action=="function"&&i["lazy.action"].length>0){let c=o.action;s.lazy=Object.assign(s.lazy||{},{action:async(...d)=>Ja(await pa(i["lazy.action"],void 0,()=>c(...d),ei))})}}if(typeof n.loader=="function"&&i.loader.length>0){let o=so(n.loader),c=async(...d)=>Ja(await pa(i.loader,yh(d[0]),()=>o(...d),ei));o.hydrate===!0&&(c.hydrate=!0),lo(c,o),s.loader=c}if(typeof n.action=="function"&&i.action.length>0){let o=so(n.action),c=async(...d)=>Ja(await pa(i.action,yh(d[0]),()=>o(...d),ei));lo(c,o),s.action=c}return n.middleware&&n.middleware.length>0&&i.middleware.length>0&&(s.middleware=n.middleware.map(o=>{let c=so(o),d=async(...m)=>Ja(await pa(i.middleware,yh(m[0]),()=>c(...m),ei));return lo(d,c),d})),s}function JE(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=so(t.navigate),o=async(...c)=>{let[d,m]=c,p,g={to:typeof d=="number"||typeof d=="string"?d:d?mn(d):".",...Nx(t,m??{})};return Ja(await pa(i.navigate,g,async()=>{if(typeof d=="number")return await s(...c);let y=Cx(t,x=>{p=x});try{return await s(...c)}finally{y()}},y=>({...ei(y),meta:p})))};lo(o,s),t.navigate=o}if(i.fetch.length>0){let s=so(t.fetch),o=async(...c)=>{let[d,m,p,g]=c,y;return Ja(await pa(i.fetch,{href:p??".",fetcherKey:d,...Nx(t,g??{})},async()=>{let x=Cx(t,b=>{y=b});try{return await s(...c)}finally{x()}},x=>({...ei(x),meta:y})))};lo(o,s),t.fetch=o}return t}function so(t){return t[x1]??t}function lo(t,n){t[x1]=n}function Cx(t,n){return ro.set(t,n),()=>{ro.get(t)===n&&ro.delete(t)}}function jx(t){let n=ro.get(t);return ro.delete(t),n}function Ja(t){if(t.type==="error")throw t.value;return t.value}async function pa(t,n,i,s,o={result:null,innerResult:null},c=t.length-1){let d=t[c];if(d){let m,p=async()=>(m?console.error("You cannot call instrumented handlers more than once"):m=pa(t,n,i,s,o,c-1),await m,Le(o.innerResult,"Expected an inner result"),o.innerResult);try{await d(p,n)}catch(g){console.error("An instrumentation function threw an error:",g)}m||await p(),await m}else{try{o.result={type:"success",value:await i()}}catch(m){o.result={type:"error",value:m}}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 ei(t){return t.type==="error"&&t.value instanceof Error?{status:"error",error:t.value}:{status:"success",error:void 0}}function yh(t){let{request:n,context:i,params:s}=t;return{...t,request:eA(n),params:{...s},context:tA(i)}}function Nx(t,n){return{currentUrl:mn(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 eA(t){return{method:t.method,url:t.url,headers:{get:(...n)=>t.headers.get(...n)}}}function tA(t){return{get:n=>t.get(n)}}/**
63 * react-router v8.3.1
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 Rx=new URL("http://localhost");function b1(t){if(t.createURL)return t.createURL("/");try{return new URL(t.createHref("/"),Rx)}catch{return Rx}}function vh(t,n){return t.origin===n.origin&&(t.origin!=="null"||t.protocol===n.protocol&&t.host===n.host)}function nA(t,n){if(t.startsWith("//"))return!0;let i=n.protocol.toLowerCase();return t.toLowerCase().startsWith(i)?n.host===""||t.slice(i.length).startsWith("//"):!1}function oo(t,n,i,s){let o=null;try{o=t==null?null:new URL(t,i)}catch{}let c=new URL(n,i),d=o!=null&&!vh(o,i),m=!vh(c,i);if(s==="reject"){if(d||m)throw new Error("External navigation is not allowed")}else if(m&&(o==null||!nA(t,o)||!vh(o,c)))throw new Error("External navigation is not allowed")}/**
72 * react-router v8.3.1
73 *
74 * Copyright (c) Remix Software Inc.
75 *
76 * This source code is licensed under the MIT license found in the
77 * LICENSE.md file in the root directory of this source tree.
78 *
79 * @license MIT
80 */const S1=["POST","PUT","PATCH","DELETE"],aA=new Set(S1),iA=["GET",...S1],rA=new Set(iA),w1=new Set([301,302,303,307,308]),sA=new Set([307,308]),xh={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},lA={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Kl={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},T1="remix-router-transitions",E1=Symbol("ResetLoaderData");var Pi,Dr,ti,Mr,P0,oA=(P0=class{constructor(n){bs(this,Pi);bs(this,Dr);bs(this,ti);bs(this,Mr);ta(this,Pi,n),ta(this,Dr,su(n))}get stableRoutes(){return wn(this,Pi)}get activeRoutes(){return wn(this,ti)??wn(this,Pi)}get branches(){return wn(this,Mr)??wn(this,Dr)}get hasHMRRoutes(){return wn(this,ti)!=null}setRoutes(n){ta(this,Pi,n),ta(this,Dr,su(n))}setHmrRoutes(n){ta(this,ti,n),ta(this,Mr,su(n))}commitHmrRoutes(){wn(this,ti)&&(ta(this,Pi,wn(this,ti)),ta(this,Dr,wn(this,Mr)),ta(this,ti,void 0),ta(this,Mr,void 0))}},Pi=new WeakMap,Dr=new WeakMap,ti=new WeakMap,Mr=new WeakMap,P0);function cA(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";Le(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=t.hydrationRouteProperties||[],o=t.mapRouteProperties,c=o||(()=>({}));if(t.instrumentations){let A=t.instrumentations;c=N=>({...o==null?void 0:o(N),...QE(A.map(O=>
80O.route).filter(Boolean),N)})}let d={},m=new oA(yo(t.routes,c,void 0,d)),p=t.basename||"/";p.startsWith("/")||(p=`/${p}`);let g=t.dataStrategy||mA,y={...t.future},x=null,b=new Set,w=null,T=null,M=null,j=null,k=t.hydrationData!=null,U=aa(m.activeRoutes,t.history.location,p,!1,m.branches),H=!1,I=null,K,oe;if(U==null&&!t.patchRoutesOnNavigation){let A=Gn(404,{pathname:t.history.location.pathname}),{matches:N,route:O}=$c(m.activeRoutes);K=!0,oe=!K,U=N,I={[O.id]:A}}else if(U&&!t.hydrationData&&oi(U,m.activeRoutes,t.history.location.pathname).active&&(U=null),U)if(U.some(A=>A.route.lazy))K=!1,oe=!K;else if(!U.some(A=>zm(A.route)))K=!0,oe=!K;else{let A=t.hydrationData?t.hydrationData.loaderData:null,N=t.hydrationData?t.hydrationData.errors:null,O=U;if(N){let Z=U.findIndex(X=>N[X.route.id]!==void 0);O=O.slice(0,Z+1)}oe=!1,K=!0,O.forEach(Z=>{let X=A1(Z.route,A,N);oe=oe||X.renderFallback,K=K&&!X.shouldLoad})}else{K=!1,oe=!K,U=[];let A=oi(null,m.activeRoutes,t.history.location.pathname);A.active&&A.matches&&(H=!0,U=A.matches)}let te,D={historyAction:t.history.action,location:t.history.location,matches:U,initialized:K,renderFallback:oe,navigation:xh,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||I,fetchers:new Map,blockers:new Map},ee="POP",$=null,ge=!1,ne,Me=!1,Be=new Map,ze=null,V=!1,q=!1,Q=new Set,se=new Map,be=0,Se=-1,De=new Map,Ce=new Set,Je=new Map,bt=new Map,ft=new Set,$t=new Map,Ta,an=null;function Ws(){if(x=t.history.listen(({action:A,location:N,delta:O})=>{if(Ta){Ta(),Ta=void 0;return}qt($t.size===0||O!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let Z=Ji({currentLocation:D.location,nextLocation:N,historyAction:A});if(Z&&O!=null){let X=new Promise(ce=>{Ta=ce});t.history.go(O*-1),ja(Z,{state:"blocked",location:N,proceed(){ja(Z,{state:"proceeding",proceed:void 0,reset:void 0,location:N}),X.then(()=>t.history.go(O))},reset(){let ce=new Map(D.blockers);ce.set(Z,Kl),kt({blockers:ce})}}),$==null||$.resolve(),$=null;return}return Ea(A,N)}),i){OA(n,Be);let A=()=>kA(n,Be);n.addEventListener("pagehide",A),ze=()=>n.removeEventListener("pagehide",A)}return D.initialized||Ea("POP",D.location,{initialHydration:!0}),te}function zr(){x&&x(),ze&&ze(),b.clear(),ne&&ne.abort(),D.fetchers.forEach((A,N)=>Ca(D.fetchers,N)),D.blockers.forEach((A,N)=>Qi(N))}function $s(A){if(b.add(A),w){let{newErrors:N}=w;w=null,A(D,{deletedFetchers:[],newErrors:N,viewTransitionOpts:void 0,flushSync:!1})}return()=>b.delete(A)}function kt(A,N={}){A.matches&&(A.matches=A.matches.map(X=>{let ce=d[X.route.id],ie=X.route;return ie.element!==ce.element||ie.errorElement!==ce.errorElement||ie.hydrateFallbackElement!==ce.hydrateFallbackElement?{...X,route:ce}:X})),D={...D,...A};let O=[],Z=[];D.fetchers.forEach((X,ce)=>{X.state==="idle"&&(ft.has(ce)?O.push(ce):Z.push(ce))}),ft.forEach(X=>{!D.fetchers.has(X)&&!se.has(X)&&O.push(X)}),b.size===0&&(w={newErrors:A.errors??null}),[...b].forEach(X=>X(D,{deletedFetchers:O,newErrors:A.errors??null,viewTransitionOpts:N.viewTransitionOpts,flushSync:N.flushSync===!0})),O.forEach(X=>Ca(D.fetchers,X)),Z.forEach(X=>D.fetchers.delete(X))}function rn(A,N,{flushSync:O}={}){var we,ye;let Z=D.actionData!=null&&D.navigation.formMethod!=null&&Wt(D.navigation.formMethod)&&D.navigation.state==="loading"&&((we=A.state)==null?void 0:we._isRedirect)!==!0,X;N.actionData?Object.keys(N.actionData).length>0?X=N.actionData:X=null:Z?X=D.actionData:X=null;let ce=N.loaderData?Vx(D.loaderData,N.loaderData,N.matches||[],N.errors):D.loaderData,ie=D.blockers;ie.size>0&&!V&&(ie=new Map(ie),ie.forEach((Ee,tt)=>ie.set(tt,Kl)));let re=V?!1:nl(A,N.matches||D.matches),ae=ge===!0||D.navigation.formMethod!=null&&Wt(D.navigation.formMethod)&&((ye=A.state)==null?void 0:ye._isRedirect)!==!0;m.commitHmrRoutes(),V||ee==="POP"||(ee==="PUSH"?t.history.push(A,A.state):ee==="REPLACE"&&t.history.replace(A,A.state));let xe;
80if(ee==="POP"){let Ee=Be.get(D.location.pathname);Ee&&Ee.has(A.pathname)?xe={currentLocation:D.location,nextLocation:A}:Be.has(A.pathname)&&(xe={currentLocation:A,nextLocation:D.location})}else if(Me){let Ee=Be.get(D.location.pathname);Ee?Ee.add(A.pathname):(Ee=new Set([A.pathname]),Be.set(D.location.pathname,Ee)),xe={currentLocation:D.location,nextLocation:A}}kt({...N,actionData:X,loaderData:ce,historyAction:ee,location:A,initialized:!0,renderFallback:!1,navigation:xh,revalidation:"idle",restoreScrollPosition:re,preventScrollReset:ae,blockers:ie},{viewTransitionOpts:xe,flushSync:O===!0}),ee="POP",ge=!1,Me=!1,V=!1,q=!1,$==null||$.resolve(),$=null,an==null||an.resolve(),an=null}async function Br(A,N){if($==null||$.resolve(),$=null,typeof A=="number"){$||($=Ix());let Ie=$.promise;return t.history.go(A),Ie}let O=jx(te),{path:Z,submission:X,error:ce}=Dx(!1,Xh(D.location,D.matches,p,A,N==null?void 0:N.fromRouteId,N==null?void 0:N.relative),N),ie;if(N!=null&&N.mask){let Ie=typeof N.mask=="string"?Sa(N.mask):{...D.location.mask,...N.mask};if(ie={pathname:Ie.pathname??"",search:Ie.search??"",hash:Ie.hash??""},Uu.test(ie.pathname))throw new Error("External navigation is not allowed");ie.pathname.startsWith("\\")&&(ie.pathname=ie.pathname.replace(/^\\+/,"/")),oo(typeof N.mask=="str
80ing"?N.mask:mn(N.mask),mn(ie),t.history.createURL("/"),"reject")}let re=D.location,ae=go(re,Z,N&&N.state,void 0,ie);ae={...ae,...t.history.encodeLocation(ae)},oo(A==null?t.history.createHref(D.location):typeof A=="string"?A:mn(A),t.history.createHref(ae.mask||ae),t.history.createURL("/"),"reject");let xe=N&&N.replace!=null?N.replace:void 0,we="PUSH";xe===!0?we="REPLACE":xe===!1||X!=null&&Wt(X.formMethod)&&X.formAction===D.location.pathname+D.location.search&&(we="REPLACE");let ye=N&&"preventScrollReset"in N?N.preventScrollReset===!0:void 0,Ee=(N&&N.flushSync)===!0,tt=Ji({currentLocation:re,nextLocation:ae,historyAction:we});if(tt){ja(tt,{state:"blocked",location:ae,proceed(){ja(tt,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),Br(A,N)},reset(){let Ie=new Map(D.blockers);Ie.set(tt,Kl),kt({blockers:Ie})}});return}await Ea(we,ae,{submission:X,pendingError:ce,preventScrollReset:ye,replace:N&&N.replace,enableViewTransition:N&&N.viewTransition,flushSync:Ee,callSiteDefaultShouldRevalidate:N&&N.defaultShouldRevalidate,instrumentationNavigateMetaReceiver:O})}function Qs(){an||(an=Ix()),si(),kt({revalidation:"loading"});let A=an.promise;return D.navigation.state==="submitting"?A:D.navigation.state==="idle"?(Ea(D.historyAction,D.location,{startUninterruptedRevalidation:!0}),A):(Ea(ee||D.historyAction,D.navigation.location,{overrideNavigation:D.navigation,enableViewTransition:Me===!0}),A)}async function Ea(A,N,O){ne&&ne.abort(),ne=null,ee=A,V=(O&&O.startUninterruptedRevalidation)===!0,ed(D.location,D.matches),ge=(O&&O.preventScrollReset)===!0,Me=(O&&O.enableViewTransition)===!0;let Z=m.activeRoutes,X=O!=null&&O.initialHydration&&D.matches&&D.matches.length>0&&!H?D.matches:aa(Z,N,p,!1,m.branches),ce=(O&&O.flushSync)===!0;if(X&&D.initialized&&!q&&TA(D.location,N)&&!(O&&O.submission&&Wt(O.submission.formMethod))){rn(N,{matches:X},{flushSync:ce});return}let ie=oi(X,Z,N.pathname);if(ie.active&&ie.matches&&(X=ie.matches),O!=null&&O.instrumentationNavigateMetaReceiver){let Ae=Gx(t.history,N,X);O.instrumentationNavigateMetaReceiver(Ae)}if(!X){let{error:Ae,notFoundMatches:Vt,route:St}=Xn(N.pathname);rn(N,{matches:Vt,loaderData:{},errors:{[St.id]:Ae}},{flushSync:ce});return}let re=O&&O.overrideNavigation?{...O.overrideNavigation,matches:X,historyAction:A}:void 0;ne=new AbortController;let ae=Cs(t.history,N,ne.signal,O&&O.submission),xe=t.getContext?await t.getContext():new wx,we;if(O&&O.pendingError)we=[Gi(X).route.id,{type:"error",error:O.pendingError}];else if(O&&O.submission&&Wt(O.submission.formMethod)){let Ae=await Lo(ae,N,O.submission,X,A,xe,ie.active,O&&O.initialHydration===!0,{replace:O.replace,flushSync:ce});if(Ae.shortCircuited)return;if(Ae.pendingActionResult){let[Vt,St]=Ae.pendingActionResult;if(En(St)&&vo(St.error)&&St.error.status===404){ne=null,rn(N,{matches:Ae.matches,loaderData:{},errors:{[Vt]:St.error}});return}}X=Ae.matches||X,we=Ae.pendingActionResult,re=bh(N,X,A,O.submission),ce=!1,ie.active=!1,ae=Cs(t.history,ae.url,ae.signal)}let{shortCircuited:ye,matches:Ee,loaderData:tt,errors:Ie,workingFetchers:ot}=await Js(ae,N,X,A,xe,ie.active,re,O&&O.submission,O&&O.fetcherSubmission,O&&O.replace,O&&O.initialHydration===!0,ce,we,O&&O.callSiteDefaultShouldRevalidate);ye||(ne=null,rn(N,{matches:Ee||X,...Hx(we),loaderData:tt,errors:Ie,...ot?{fetchers:ot}:{}}))}async function Lo(A,N,O,Z,X,ce,ie,re,ae={}){if(si(),kt({navigation:MA(N,Z,X,O)},{flushSync:ae.flushSync===!0}),ie){let ye=await sa(Z,N.pathname,A.signal);if(ye.type==="aborted")return{shortCircuited:!0};if(ye.type==="error"){if(ye.partialMatches.length===0){let{matches:tt,route:Ie}=$c(m.activeRoutes);return{matches:tt,pendingActionResult:[Ie.id,{type:"error",error:ye.error}]}}let Ee=Gi(ye.partialMatches).route.id;return{matches:ye.partialMatches,pendingActionResult:[Ee,{type:"error",error:ye.error}]}}else if(ye.matches)Z=ye.matches;else{let{notFoundMatches:Ee,error:tt,route:Ie}=Xn(N.pathname);return{matches:Ee,pendingActionResult:[Ie.id,{type:"error",error:tt}]}}}let xe,we=lu(Z,N);if(!we.route.action&&!we.route.lazy)xe={type:"error",error:Gn(405,{method:A.method,pathname:N.pathname,routeId:we.route.id})};else{let ye=await ri(A,N,Os(c,d,A,N,Z,we,re?[]:s,ce),ce,null);if(xe=ye[we.route.id],!xe){for(let Ee of Z)if(ye[Ee.route.id]){xe=ye[Ee.route.id];break}}if(A.signal.aborted)return{shortCircuited:!0}}if(jr(xe)){let ye;return ae&&ae.replace!=null?ye=ae.replace:ye=zx(xe.response.headers.get("Location"),new URL(A.url),p,t.history)===D.location.pathname+D.location.search,await Aa(A,xe,!0,{submission:O,replace:ye}),{shortCircuited:!0}}if(En(xe)){let ye=Gi(Z,we.route.id);return(ae&&ae.replace)!==!0&&(ee="PUSH"),{matches:Z,pendingActionResult:[ye.route.id,xe,we.route.id]}}return{matches:Z,pendingActionResult:[we.route.id,xe]}}async function Js(A,N,O,Z,X,ce,ie,re,ae,xe,we,ye,Ee,tt){let Ie=ie||bh(N,O,Z,re),ot=re||ae||Px(Ie),Ae=!V&&!we;if(ce){if(Ae){let $e=Ur(Ee);kt({navigation:Ie,...$e!==void 0?{actionData:$e}:{}},{flushSync:ye})}let je=await sa(O,N.pathname,A.signal);if(je.type==="aborted")return{shortCircuited:!0};if(je.type==="error"){if(je.partialMatches.length===0){let{matches:_n,route:ui}=$c(m.activeRoutes);return{matches:_n,loaderData:{},errors:{[ui.id]:je.error}}}let $e=Gi(je.partialMatches).route.id;return{matches:je.partialMatches,loaderData:{},errors:{[$e]:je.error}}}else if(je.matches)O=je.matches;else{let{error:$e,notFoundMatches:_n,route:ui}=Xn(N.pathname);return{matches:_n,loaderData:{},errors:{[ui.id]:$e}}}}let Vt=m.activeRoutes,{dsMatches:St,revalidatingFetchers:We}=Mx(A,X,c,d,t.history,D,O,ot,N,we?[]:s,we===!0,q,Q,ft,Je,Ce,Vt,p,t.patchRoutesOnNavigation!=null,m.branches,Ee,tt);if(Se=++be,!t.dataStrategy&&!St.some(je=>je.shouldLoad)&&!St.some(je=>je.route.middleware&&je.route.middleware.length>0)&&We.length===0){let je=new Map(D.fetchers),$e=zo(je);return rn(N,{matches:O,loaderData:{},errors:Ee&&En(Ee[1])?{[Ee[0]]:Ee[1].error}:null,...Hx(Ee),...$e?{fetchers:je}:{}},{flushSync:ye}),{shortCircuited:!0}}if(Ae){let je={};if(!ce){je.navigation=Ie;let $e=Ur(Ee);$e!==void 0&&(je.actionData=$e)}We.length>0&&(je.fetchers=el(We)),kt(je,{flushSync:ye})}We.forEach(je=>{Ut(je.key),je.controller&&se.set(je.key,je.controller)});let Wn=()=>We.forEach(je=>Ut(je.key));ne&&ne.signal.addEventListener("abort",Wn);let{loaderResults:la,fetcherResults:Mn}=await tl(St,We,A,N,X);if(A.signal.aborted)return{shortCircuited:!0};ne&&ne.signal.removeEventListener("abort",Wn),We.forEach(je=>se.delete(je.key));let Lt=Qc(la);if(Lt)return await Aa(A,Lt.result,!0,{replace:xe}),{shortCircuited:!0};if(Lt=Qc(Mn),Lt)return Ce.add(Lt.key),await Aa(A,Lt.result,!0,{replace:xe}),{shortCircuited:!0};let ci=new Map(D.fetchers),{loaderData:Na,errors:Ra}=Ux(D,O,la,Ee,We,Mn,ci);we&&D.errors&&(Ra={...D.errors,...Ra});let Hr=zo(ci),Da=Bo(Se,ci),Ma=Hr||Da||We.length>0;return{matches:O,loaderData:Na,errors:Ra,...Ma?{workingFetchers:ci}:{}}}function Ur(A){if(A&&!En(A[1]))return{[A[0]]:A[1].data};if(D.actionData)return Object.keys(D.actionData).length===0?null:D.actionData}function el(A){let N=new Map(D.fetchers);return A.forEach(O=>{let Z=N.get(O.key),X=Zl(void 0,Z?Z.data:void 0);N.set(O.key,X)}),N}async function Xu(A,N,O,Z){Ut(A);let X=(Z&&Z.flushSync)===!0,ce=jx(te),ie=m.activeRoutes,re=Xh(D.location,D.matches,p,O,N,Z==null?void 0:Z.relative),ae=aa(ie,re,p,!1,m.branches),xe=oi(ae,ie,re);if(xe.active&&xe.matches&&(ae=xe.matches),ce&&ce(Gx(t.history,re,ae)),!ae){Dn(A,N,Gn(404,{pathname:re}),{flushSync:X});return}let{path:we,submission:ye,error:Ee}=Dx(!0,re,Z);if(Ee){Dn(A,N,Ee,{flushSync:X});return}let tt=t.getContext?await t.getContext():new wx,Ie=(Z&&Z.preventScrollReset)===!0;if(ye&&Wt(ye.formMethod)){await Wu(A,N,we,ae,tt,xe.active,X,Ie,ye,Z&&Z.defaultShouldRevalidate);return}Je.set(A,{routeId:N,path:we}),await Qt(A,N,we,ae,tt,xe.active,X,Ie,ye)}async function Wu(A,N,O,Z,X,ce,ie,re,ae,xe){si(),Je.delete(A),qn(A,_A(ae,D.fetchers.get(A)),{flushSync:ie});let we=new AbortController,ye=Cs(t.history,O,we.signal,ae);if(ce){let mt=await sa(Z,new URL(ye.url).pathname,ye.signal,A);if(mt.type==="aborted")return;if(mt.type==="error"){Dn(A,N,mt.error,{flushSync:ie});return}else if(mt.matches)Z=mt.matches;else{Dn(A,N,Gn(404,{pathname:O}),{flushSync:ie});return}}let Ee=lu(Z,O);if(!Ee.route.action&&!Ee.route.lazy){Dn(A,N,Gn(405,{method:ae.formMethod,pathname:O,routeId:N}),{flushSync:ie});return}se.set(A,we);let tt=be,Ie=Os(c,d,ye,O,Z,Ee,s,X),ot=await ri(ye,O,Ie,X,A),Ae=ot[Ee.route.id];if(!Ae){for(let mt of Ie)if(ot[mt.route.id]){Ae=ot[mt.route.id];break}}if(ye.signal.aborted){se.get(A)===we&&se.delete(A);return}if(ft.has(A)){if(jr(Ae)||En(Ae)){qn(A,ha(void 0));return}}else{if(jr(Ae))if(se.delete(A),Se>tt){qn(A,ha(void 0));return}else return Ce.add(A),qn(A,Zl(ae)),Aa(ye,Ae,!1,{fetcherSubmission:ae,preventScrollReset:re});if(En(Ae)){Dn(A,N,Ae.error);return}}
80let Vt=D.navigation.location||D.location,St=Cs(t.history,Vt,we.signal),We=m.activeRoutes,Wn=D.navigation.state!=="idle"?aa(We,D.navigation.location,p,!1,m.branches):D.matches;Le(Wn,"Didn't find any matches after fetcher action");let la=++be;De.set(A,la);let{dsMatches:Mn,revalidatingFetchers:Lt}=Mx(St,X,c,d,t.history,D,Wn,ae,Vt,s,!1,q,Q,ft,Je,Ce,We,p,t.patchRoutesOnNavigation!=null,m.branches,[Ee.route.id,Ae],xe),ci=Zl(ae,Ae.data),Na=new Map(D.fetchers);Na.set(A,ci),Lt.filter(mt=>mt.key!==A).forEach(mt=>{let On=mt.key,Fo=Na.get(On),sn=Zl(void 0,Fo?Fo.data:void 0);Na.set(On,sn),Ut(On),mt.controller&&se.set(On,mt.controller)}),kt({fetchers:Na});let Ra=()=>Lt.forEach(mt=>Ut(mt.key));we.signal.addEventListener("abort",Ra);let{loaderResults:Hr,fetcherResults:Da}=await tl(Mn,Lt,St,Vt,X);if(we.signal.aborted){De.get(A)===la&&De.delete(A);return}we.signal.removeEventListener("abort",Ra),De.delete(A),se.delete(A),Lt.forEach(mt=>se.delete(mt.key));let Ma=D.fetchers.has(A),je=mt=>{if(!Ma)return mt;let On=new Map(mt.fetchers);return On.set(A,ha(Ae.data)),{...mt,fetchers:On}},$e=Qc(Hr);if($e)return D=je(D),Aa(St,$e.result,!1,{preventScrollReset:re});if($e=Qc(Da),$e)return Ce.add($e.key),D=je(D),Aa(St,$e.result,!1,{preventScrollReset:re});let _n=new Map(D.fetchers);Ma&&_n.set(A,ha(Ae.data));let{loaderData:ui,errors:er}=Ux(D,Wn,Hr,void 0,Lt,Da,_n);Bo(la,_n),D.navigation.state==="loading"&&la>Se?(Le(ee,"Expected pending action"),ne&&ne.abort(),rn(D.navigation.location,{matches:Wn,loaderData:ui,errors:er,fetchers:_n})):(kt({errors:er,loaderData:Vx(D.loaderData,ui,Wn,er),fetchers:_n}),q=!1)}async function Qt(A,N,O,Z,X,ce,ie,re,ae){let xe=D.fetchers.get(A);qn(A,Zl(ae,xe?xe.data:void 0),{flushSync:ie});let we=new AbortController,ye=Cs(t.history,O,we.signal);if(ce){let Ae=await sa(Z,new URL(ye.url).pathname,ye.signal,A);if(Ae.type==="aborted")return;if(Ae.type==="error"){Dn(A,N,Ae.error,{flushSync:ie});return}else if(Ae.matches)Z=Ae.matches;else{Dn(A,N,Gn(404,{pathname:O}),{flushSync:ie});return}}let Ee=lu(Z,O);se.set(A,we);let tt=be,Ie=await ri(ye,O,Os(c,d,ye,O,Z,Ee,s,X),X,A),ot=Ie[Ee.route.id];if(!ot){for(let Ae of Z)if(Ie[Ae.route.id]){ot=Ie[Ae.route.id];break}}if(se.get(A)===we&&se.delete(A),!ye.signal.aborted){if(ft.has(A)){qn(A,ha(void 0));return}if(jr(ot))if(Se>tt){qn(A,ha(void 0));return}else{Ce.add(A),await Aa(ye,ot,!1,{preventScrollReset:re});return}if(En(ot)){Dn(A,N,ot.error);return}qn(A,ha(ot.data))}}async function Aa(A,N,O,{submission:Z,fetcherSubmission:X,preventScrollReset:ce,replace:ie}={}){O||($==null||$.resolve(),$=null),N.response.headers.has("X-Remix-Revalidate")&&(q=!0);let re=N.response.headers.get("Location");Le(re,"Expected a Location header on the redirect Response");let ae=re,xe=new URL(A.url);re=zx(re,xe,p,t.history),oo(ae,re,xe,"allow-explicit");let we=go(D.location,re,{_isRedirect:!0});if(i){let Ae=!1;if(N.response.headers.has("X-Remix-Reload-Document"))Ae=!0;else if(_m(re)){const Vt=o1(n,re,!0);Ae=Vt.origin!==n.location.origin||Kn(Vt.pathname,p)==null}if(Ae){ie?n.location.replace(re):n.location.assign(re);return}}ne=null;let ye=ie===!0||N.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ee,formAction:tt,formEncType:Ie}=D.navigation;!Z&&!X&&Ee&&tt&&Ie&&(Z=Px(D.navigation));let ot=Z||X;sA.has(N.response.status)&&ot&&Wt(ot.formMethod)?await Ea(ye,we,{submission:{...ot,formAction:re},preventScrollReset:ce||ge,enableViewTransition:O?Me:void 0}):await Ea(ye,we,{overrideNavigation:bh(we,[],ye,Z),fetcherSubmission:X,preventScrollReset:ce||ge,enableViewTransition:O?Me:void 0})}async function ri(A,N,O,Z,X){var re;let ce,ie={};try{ce=await gA(g,A,N,O,X,Z,!1)}catch(ae){return O.filter(xe=>xe.shouldLoad).forEach(xe=>{ie[xe.route.id]={type:"error",error:ae}}),ie}if(A.signal.aborted)return ie;if(!Wt(A.method))for(let ae of O){if(((re=ce[ae.route.id])==null?void 0:re.type)==="error")break;!ce.hasOwnProperty(ae.route.id)&&!D.loaderData.hasOwnProperty(ae.route.id)&&(!D.errors||!D.errors.hasOwnProperty(ae.route.id))&&ae.shouldCallHandler()&&(ce[ae.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${ae.route.id}`)})}for(let[ae,xe]of Object.entries(ce))if(jA(xe)){let we=xe.result;ie[ae]={type:"redirect",response:bA(we,A,ae,O,p)}}else ie[ae]=await xA(xe);return ie}async function tl(A,N,O,Z,X){let ce=ri(O,Z,A,X,null),ie=Promise.all(N.map(async re=>{if(re.matches&&re.match&&re.request&&re.controller){let ae=(await ri(re.request,re.path,re.matches,X,re.key))[re.match.route.id];return{[re.key]:ae}}else return Promise.resolve({[re.key]:{type:"error",error:Gn(404,{pathname:re.path})}})}));return{loaderResults:await ce,fetcherResults:(await ie).reduce((re,ae)=>Object.assign(re,ae),{})}}function si(){q=!0,Je.forEach((A,N)=>{se.has(N)&&Q.add(N),Ut(N)})}function qn(A,N,O={}){let Z=new Map(D.fetchers);Z.set(A,N),kt({fetchers:Z},{flushSync:(O&&O.flushSync)===!0})}function Dn(A,N,O,Z={}){let X=Gi(D.matches,N),ce=new Map(D.fetchers);Ca(ce,A),kt({errors:{[X.route.id]:O},fetchers:ce},{flushSync:(Z&&Z.flushSync)===!0})}function $u(A){return bt.set(A,(bt.get(A)||0)+1),ft.has(A)&&ft.delete(A),D.fetchers.get(A)||lA}function Qu(A,N){Ut(A,N==null?void 0:N.reason),qn(A,ha(null))}function Ca(A,N){let O=D.fetchers.get(N);se.has(N)&&!(O&&O.state==="loading"&&De.has(N))&&Ut(N),Je.delete(N),De.delete(N),Ce.delete(N),ft.delete(N),Q.delete(N),A.delete(N)}function Jt(A){let N=(bt.get(A)||0)-1;N<=0?(bt.delete(A),ft.add(A)):bt.set(A,N),kt({fetchers:new Map(D.fetchers)})}function Ut(A,N){let O=se.get(A);O&&(O.abort(N),se.delete(A))}function Xt(A,N){for(let O of A){let Z=N.get(O);Le(Z,`Expected fetcher: ${O}`);let X=ha(Z.data);N.set(O,X)}}function zo(A){let N=[],O=!1;for(let Z of Ce){let X=A.get(Z);Le(X,`Expected fetcher: ${Z}`),X.state==="loading"&&(Ce.delete(Z),N.push(Z),O=!0)}return Xt(N,A),O}function Bo(A,N){let O=[];for(let[Z,X]of De)if(X<A){let ce=N.get(Z);Le(ce,`Expected fetcher: ${Z}`),ce.state==="loading"&&(Ut(Z),De.delete(Z),O.push(Z))}return Xt(O,N),O.length>0}function Ju(A,N){let O=D.blockers.get(A)||Kl;return $t.get(A)!==N&&$t.set(A,N),O}function Qi(A){D.blockers.delete(A),$t.delete(A)}function ja(A,N){let O=D.blockers.get(A)||Kl;Le(O.state==="unblocked"&&N.state==="blocked"||O.state==="blocked"&&N.state==="blocked"||O.state==="blocked"&&N.state==="proceeding"||O.state==="blocked"&&N.state==="unblocked"||O.state==="proceeding"&&N.state==="unblocked",`Invalid blocker state transition: ${O.state} -> ${N.state}`);let Z=new Map(D.blockers);Z.set(A,N),kt({blockers:Z})}function Ji({currentLocation:A,nextLocation:N,historyAction:O}){if($t.size===0)return;$t.size>1&&qt(!1,"A router only supports one blocker at a time");let Z=Array.from($t.entries()),[X,ce]=Z[Z.length-1],ie=D.blockers.get(X);if(!(ie&&ie.state==="proceeding")&&ce({currentLocation:A,nextLocation:N,historyAction:O}))return X}function Xn(A){let N=Gn(404,{pathname:A}),O=m.activeRoutes,{matches:Z,route:X}=$c(O);return{notFoundMatches:Z,route:X,error:N}}function Vr(A,N,O){if(T=A,j=N,M=O||null,!k&&D.navigation===xh){k=!0;let Z=nl(D.location,D.matches);Z!=null&&kt({restoreScrollPosition:Z})}return()=>{T=null,j=null,M=null}}function li(A,N){return M&&M(A,N.map(O=>d1(O,D.loaderData)))||A.key}function ed(A,N){if(T&&j){let O=li(A,N);T[O]=j()}}function nl(A,N){if(T){let O=li(A,N),Z=T[O];if(typeof Z=="number")return Z}return null}function oi(A,N,O){if(t.patchRoutesOnNavigation){let Z=m.branches;if(A){if(Object.keys(A[0].params).length>0)return{active:!0,matches:aa(N,O,p,!0,Z)}}else return{active:!0,matches:aa(N,O,p,!0,Z)||[]}}return{active:!1,matches:null}}async function sa(A,N,O,Z){if(!t.patchRoutesOnNavigation)return{type:"success",matches:A};let X=A;for(;;){let ce=d;try{await t.patchRoutesOnNavigation({signal:O,path:N,matches:X,fetcherKey:Z,patch:(xe,we)=>{O.aborted||_x(xe,we,m,ce,c,!1)}})}catch(xe){return{type:"error",error:xe,partialMatches:X}}if(O.aborted)return{type:"aborted"};let ie=m.branches,re=aa(m.activeRoutes,N,p,!1,ie),ae=null;if(re){if(Object.keys(re[0].params).length===0)return{type:"success",matches:re};if(ae=aa(m.activeRoutes,N,p,!0,ie),!(ae&&X.length<ae.length&&Uo(X,ae.slice(0,X.length))))return{type:"success",matches:re}}if(ae||(ae=aa(m.activeRoutes,N,p,!0,ie)),!ae||Uo(X,ae))return{type:"success",matches:null};X=ae}}function Uo(A,N){return A.length===N.length&&A.every((O,Z)=>O.route.id===N[Z].route.id)}function Vo(A){d={},m.setHmrRoutes(yo(A,c,void 0,d))}
80function Ho(A,N,O=!1){_x(A,N,m,d,c,O),m.hasHMRRoutes||kt({})}return te={get basename(){return p},get future(){return y},get state(){return D},get routes(){return m.stableRoutes},get branches(){return m.branches},get manifest(){return d},get window(){return n},initialize:Ws,subscribe:$s,enableScrollRestoration:Vr,navigate:Br,fetch:Xu,revalidate:Qs,createHref:A=>t.history.createHref(A),createURL:A=>t.history.createURL(A),encodeLocation:A=>t.history.encodeLocation(A),getFetcher:$u,resetFetcher:Qu,deleteFetcher:Jt,dispose:zr,getBlocker:Ju,deleteBlocker:Qi,patchRoutes:Ho,_internalFetchControllers:se,_internalSetRoutes:Vo,_internalSetStateDoNotUseOrYouWillBreakYourApp(A){kt(A)}},t.instrumentations&&(te=JE(te,t.instrumentations.map(A=>A.router).filter(Boolean))),te}function uA(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function Xh(t,n,i,s,o,c){let d,m;if(o){d=[];for(let g of n)if(d.push(g),g.route.id===o){m=g;break}}else d=n,m=n[n.length-1];let p=Vu(s||".",Om(d),Kn(t.pathname,i)||t.pathname,c==="path");if(s==null&&(p.search=t.search,p.hash=t.hash),(s==null||s===""||s===".")&&m){let g=Um(p.search);if(m.route.index&&!g)p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index";else if(!m.route.index&&g){let y=new URLSearchParams(p.search),x=y.getAll("index");y.delete("index"),x.filter(w=>w).forEach(w=>y.append("index",w));let b=y.toString();p.search=b?`?${b}`:""}}return i!=="/"&&(p.pathname=KE({basename:i,pathname:p.pathname})),mn(p)}
80function Dx(t,n,i){if(!i||!uA(i))return{path:n};if(i.formMethod&&!DA(i.formMethod))return{path:n,error:Gn(405,{method:i.formMethod})};let s=()=>({path:n,error:Gn(400,{type:"invalid-body"})}),o=(i.formMethod||"get").toUpperCase(),c=M1(n);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!Wt(o))return s();let y=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((x,[b,w])=>`${x}${b}=${w}
81`,""):String(i.body);return{path:n,submission:{formMethod:o,formAction:c,formEncType:i.formEncType,formData:void 0,json:void 0,text:y}}}else if(i.formEncType==="application/json"){if(!Wt(o))return s();try{let y=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:n,submission:{formMethod:o,formAction:c,formEncType:i.formEncType,formData:void 0,json:y,text:void 0}}}catch{return s()}}}Le(typeof FormData=="function","FormData is not available in this environment");let d,m;if(i.formData)d=Qh(i.formData),m=i.formData;else if(i.body instanceof FormData)d=Qh(i.body),m=i.body;else if(i.body instanceof URLSearchParams)d=i.body,m=Bx(d);else if(i.body==null)d=new URLSearchParams,m=new FormData;else try{d=new URLSearchParams(i.body),m=Bx(d)}catch{return s()}let p={formMethod:o,formAction:c,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Wt(p.formMethod))return{path:n,submission:p};let g=Sa(n);return t&&g.search&&Um(g.search)&&d.append("index",""),g.search=`?${d}`,{path:mn(g),submission:p}}function Mx(t,n,i,s,o,c,d,m,p,g,y,x,b,w,T,M,j,k,U,H,I,K){var V;let oe=I?En(I[1])?I[1].error:I[1].data:void 0,te=o.createURL(c.location),D=o.createURL(p),ee;if(y&&c.errors){let q=Object.keys(c.errors)[0];ee=d.findIndex(Q=>Q.route.id===q)}else if(I&&En(I[1])){let q=I[0];ee=d.findIndex(Q=>Q.route.id===q)-1}let $=I?I[1].statusCode:void 0,ge=$&&$>=400,ne={currentUrl:te,currentParams:((V=c.matches[0])==null?void 0:V.params)||{},nextUrl:D,nextParams:d[0].params,...m,actionResult:oe,actionStatus:$},Me=Is(d),Be=d.map((q,Q)=>{let{route:se}=q,be=null;if(ee!=null&&Q>ee)be=!1;else if(se.lazy)be=!0;else if(!zm(se))be=!1;else if(y){let{shouldLoad:Ce}=A1(se,c.loaderData,c.errors);be=Ce}else dA(c.loaderData,c.matches[Q],q)&&(be=!0);if(be!==null)return Wh(i,s,t,p,Me,q,g,n,be);let Se=!1;typeof K=="boolean"?Se=K:ge?Se=!1:(x||te.pathname+te.search===D.pathname+D.search||te.search!==D.search||fA(c.matches[Q],q))&&(Se=!0);let De={...ne,defaultShouldRevalidate:Se};return Wh(i,s,t,p,Me,q,g,n,co(q,De),De,K)}),ze=[];return T.forEach((q,Q)=>{if(y||!d.some(ft=>ft.route.id===q.routeId)||w.has(Q))return;let se=c.fetchers.get(Q),be=se&&se.state!=="idle"&&se.data===void 0,Se=aa(j,q.path,k??"/",!1,H);if(!Se){if(U&&be)return;ze.push({key:Q,routeId:q.routeId,path:q.path,matches:null,match:null,request:null,controller:null});return}if(M.has(Q))return;let De=lu(Se,q.path),Ce=new AbortController,Je=Cs(o,q.path,Ce.signal),bt=null;if(b.has(Q))b.delete(Q),bt=Os(i,s,Je,q.path,Se,De,g,n);else if(be)x&&(bt=Os(i,s,Je,q.path,Se,De,g,n));else{let ft;typeof K=="boolean"?ft=K:ge?ft=!1:ft=x;let $t={...ne,defaultShouldRevalidate:ft};co(De,$t)&&(bt=Os(i,s,Je,q.path,Se,De,g,n,$t))}bt&&ze.push({key:Q,routeId:q.routeId,path:q.path,matches:bt,match:De,request:Je,controller:Ce})}),{dsMatches:Be,revalidatingFetchers:ze}}function zm(t){return t.loader!=null||t.middleware!=null&&t.middleware.length>0}function A1(t,n,i){if(t.lazy)return{shouldLoad:!0,renderFallback:!0};if(!zm(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 c=!s&&!o;return{shouldLoad:c,renderFallback:c}}function dA(t,n,i){let s=!n||i.route.id!==n.route.id,o=!t.hasOwnProperty(i.route.id);return s||o}function fA(t,n){let i=t.route.path;return t.pathname!==n.pathname||i!=null&&i.endsWith("*")&&t.params["*"]!==n.params["*"]}function co(t,n){if(t.route.shouldRevalidate){let i=t.route.shouldRevalidate(n);if(typeof i=="boolean")return i}return n.defaultShouldRevalidate}function _x(t,n,i,s,o,c){let d;if(t){let g=s[t];Le(g,`No route found to patch children into: routeId = ${t}`),g.children||(g.children=[]),d=g.children}else d=i.activeRoutes;let m=[],p=[];if(n.forEach(g=>{let y=d.find(x=>C1(g,x));y?p.push({existingRoute:y,newRoute:g}):m.push(g)}),m.length>0){let g=yo(m,o,[t||"_","patch",String((d==null?void 0:d.length)||"0")],s);d.push(...g)}if(c&&p.length>0)for(let g=0;g<p.length;g++){let{existingRoute:y,newRoute:x}=p[g],b=y,[w]=yo([x],o,[],{},!0);Object.assign(b,{element:w.element?w.element:b.element,errorElement:w.errorElement?w.errorElement:b.errorElement,hydrateFallbackElement:w.hydrateFallbackElement?w.hydrateFallbackElement:b.hydrateFallbackElement})}i.hasHMRRoutes||i.setRoutes([...i.activeRoutes])}function C1(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 c;return(c=n.children)==null?void 0:c.some(d=>C1(s,d))}))??!1:!1}const Ox=new WeakMap,j1=({key:t,route:n,manifest:i,mapRouteProperties:s})=>{let o=i[n.id];if(Le(o,"No route found in manifest"),!o.lazy||typeof o.lazy!="object")return;let c=o.lazy[t];if(!c)return;let d=Ox.get(o);d||(d={},Ox.set(o,d));let m=d[t];if(m)return m;let p=(async()=>{let g=RE(t),y=o[t]!==void 0;if(g)qt(!g,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),d[t]=Promise.resolve();else if(y)qt(!1,`Route "${o.id}" has a static property "${t}" defined. The lazy property will be ignored.`);else{let x=await c();x!=null&&(Object.assign(o,{[t]:x}),Object.assign(o,s(o)))}typeof o.lazy=="object"&&(o.lazy[t]=void 0,Object.values(o.lazy).every(x=>x===void 0)&&(o.lazy=void 0))})();return d[t]=p,p},kx=new WeakMap;function hA(t,n,i,s,o){let c=i[t.id];if(Le(c,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let y=kx.get(c);if(y)return{lazyRoutePromise:y,lazyHandlerPromise:y};let x=(async()=>{Le(typeof t.lazy=="function","No lazy route function found");let b=await t.lazy(),w={};for(let T in b){let M=b[T];
81if(M===void 0)continue;let j=ME(T),k=c[T]!==void 0;j?qt(!j,"Route property "+T+" is not a supported property to be returned from a lazy route function. This property will be ignored."):k?qt(!k,`Route "${c.id}" has a static property "${T}" defined but its lazy function is also returning a value for this property. The lazy route property "${T}" will be ignored.`):w[T]=M}Object.assign(c,w),Object.assign(c,{...s(c),lazy:void 0})})();return kx.set(c,x),x.catch(()=>{}),{lazyRoutePromise:x,lazyHandlerPromise:x}}let d=Object.keys(t.lazy),m=[],p;for(let y of d){if(o&&o.includes(y))continue;let x=j1({key:y,route:t,manifest:i,mapRouteProperties:s});x&&(m.push(x),y===n&&(p=x))}let g=m.length>0?Promise.all(m).then(()=>{}):void 0;return g==null||g.catch(()=>{}),p==null||p.catch(()=>{}),{lazyRoutePromise:g,lazyHandlerPromise:p}}async function Lx(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 mA(t){return t.matches.some(n=>n.route.middleware)?N1(t,()=>Lx(t)):Lx(t)}function N1(t,n){return pA(t,n,s=>{if(RA(s))throw s;return s},AA,i);async function i(s,o,c){var d;if(c)return Object.assign(c.value,{[o]:{type:"error",result:s}});{let{matches:m}=t,p=Math.min(Math.max(m.findIndex(y=>y.route.id===o),0),Math.max(m.findIndex(y=>y.shouldCallHandler()),0)),g=m[p].route.id;for(let y of m.slice(0,p+1))try{await((d=y._lazyPromises)==null?void 0:d.route)}catch{g=y.route.id;break}return{[Gi(m,g).route.id]:{type:"error",result:s}}}}}async function pA(t,n,i,s,o){let{matches:c,...d}=t;return await R1(d,c.flatMap(m=>m.route.middleware?m.route.middleware.map(p=>[m.route.id,p]):[]),n,i,s,o)}async function R1(t,n,i,s,o,c,d=0){let{request:m}=t;if(m.signal.aborted)throw m.signal.reason??new Error(`Request aborted: ${m.method} ${m.url}`);let p=n[d];if(!p)return await i();let[g,y]=p,x,b=async()=>{if(x)throw new Error("You may only call `next()` once per middleware");try{return x={value:await R1(t,n,i,s,o,c,d+1)},x.value}catch(w){return x={value:await c(w,g,x)},x.value}};try{let w=await y(t,b),T=w!=null?s(w):void 0;return o(T)?T:x?T??x.value:(x={value:await b()},x.value)}catch(w){return await c(w,g,x)}}function D1(t,n,i,s,o){let c=j1({key:"middleware",route:s.route,manifest:n,mapRouteProperties:t}),d=hA(s.route,Wt(i.method)?"action":"loader",n,t,o);return{middleware:c,route:d.lazyRoutePromise,handler:d.lazyHandlerPromise}}function Wh(t,n,i,s,o,c,d,m,p,g=null,y){let x=!1,b=D1(t,n,i,c,d);return{...c,_lazyPromises:b,shouldLoad:p,shouldRevalidateArgs:g,shouldCallHandler(w){return x=!0,g?typeof y=="boolean"?co(c,{...g,defaultShouldRevalidate:y}):typeof w=="boolean"?co(c,{...g,defaultShouldRevalidate:w}):co(c,g):p},resolve(w){let{lazy:T,loader:M,middleware:j}=c.route,k=x||p||w&&!Wt(i.method)&&(T||M),U=j&&j.length>0&&!M&&!T;return k&&(Wt(i.method)||!U)?yA({request:i,path:s,pattern:o,match:c,lazyHandlerPromise:b==null?void 0:b.handler,lazyRoutePromise:b==null?void 0:b.route,handlerOverride:w,scopedContext:m}):Promise.resolve({type:"data",result:void 0})}}}function Os(t,n,i,s,o,c,d,m,p=null){return o.map(g=>g.route.id!==c.route.id?{...g,shouldLoad:!1,shouldRevalidateArgs:p,shouldCallHandler:()=>!1,_lazyPromises:D1(t,n,i,g,d),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Wh(t,n,i,s,Is(o),g,d,m,!0,p))}async function gA(t,n,i,s,o,c,d){s.some(y=>{var x;return(x=y._lazyPromises)==null?void 0:x.middleware})&&await Promise.all(s.map(y=>{var x;return(x=y._lazyPromises)==null?void 0:x.middleware}));let m={request:n,url:Lm(n,i),pattern:Is(s),params:s[0].params,context:c,matches:s},g=await t({...m,fetcherKey:o,runClientMiddleware:y=>{let x=m;return N1(x,()=>y({...x,fetcherKey:o,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(s.flatMap(y=>{var x,b;return[(x=y._lazyPromises)==null?void 0:x.handler,(b=y._lazyPromises)==null?void 0:b.route]}))}catch{}return g}async function yA({request:t,path:n,pattern:i,match:s,lazyHandlerPromise:o,lazyRoutePromise:c,handlerOverride:d,scopedContext:m}){let p,g,y=Wt(t.method),x=y?"action":"loader",b=w=>{let T,M=new Promise((U,H)=>T=H);g=()=>T(),t.signal.addEventListener("abort",g);let j=U=>
81typeof w!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${x}" [routeId: ${s.route.id}]`)):w({request:t,url:Lm(t,n),pattern:i,params:s.params,context:m},...U!==void 0?[U]:[]),k=(async()=>{try{return{type:"data",result:await(d?d(U=>j(U)):j())}}catch(U){return{type:"error",result:U}}})();return Promise.race([k,M])};try{let w=y?s.route.action:s.route.loader;if(o||c)if(w){let T,[M]=await Promise.all([b(w).catch(j=>{T=j}),o,c]);if(T!==void 0)throw T;p=M}else{await o;let T=y?s.route.action:s.route.loader;if(T)[p]=await Promise.all([b(T),c]);else if(x==="action"){let M=new URL(t.url),j=M.pathname+M.search;throw Gn(405,{method:t.method,pathname:j,routeId:s.route.id})}else return{type:"data",result:void 0}}else if(w)p=await b(w);else{let T=new URL(t.url);throw Gn(404,{pathname:T.pathname+T.search})}}catch(w){return{type:"error",result:w}}finally{g&&t.signal.removeEventListener("abort",g)}return p}async function vA(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 xA(t){var s,o,c,d,m;let{result:n,type:i}=t;if(Bm(n)){let p;try{p=await vA(n)}catch(g){return{type:"error",error:g}}return i==="error"?{type:"error",error:new jo(n.status,n.statusText,p),statusCode:n.status,headers:n.headers}:{type:"data",data:p,statusCode:n.status,headers:n.headers}}return i==="error"?Fx(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:EA(n),statusCode:vo(n)?n.status:void 0,headers:(c=n.init)!=null&&c.headers?new Headers(n.init.headers):void 0}:{type:"error",error:n,statusCode:vo(n)?n.status:void 0}:Fx(n)?{type:"data",data:n.data,statusCode:(d=n.init)==null?void 0:d.status,headers:(m=n.init)!=null&&m.headers?new Headers(n.init.headers):void 0}:{type:"data",data:n}}function bA(t,n,i,s,o){let c=t.headers.get("Location");if(Le(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!_m(c)){let d=s.slice(0,s.findIndex(m=>m.route.id===i)+1);c=Xh(new URL(n.url),d,o,c),t.headers.set("Location",c)}return t}const SA=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function $h(t){try{return SA.includes(new URL(t).protocol)}catch{return!1}}function zx(t,n,i,s){if(_m(t)){let o=t,c=Uu.test(o)?new URL(l1(o,n.protocol)):new URL(o);if($h(c.toString()))throw new Error("Invalid redirect location");let d=Kn(c.pathname,i)!=null;if(c.origin===n.origin&&d)return km(c.pathname)+c.search+c.hash}try{if($h(s.createURL(t).toString()))throw new Error("Invalid redirect location")}catch{}return t}function Cs(t,n,i,s){let o=t.createURL(M1(n)).toString(),c={signal:i};if(s&&Wt(s.formMethod)){let{formMethod:d,formEncType:m}=s;c.method=d.toUpperCase(),m==="application/json"?(c.headers=new Headers({"Content-Type":m}),c.body=JSON.stringify(s.json)):m==="text/plain"?c.body=s.text:m==="application/x-www-form-urlencoded"&&s.formData?c.body=Qh(s.formData):c.body=s.formData}return new Request(o,c)}function Qh(t){let n=new URLSearchParams;for(let[i,s]of t.entries())n.append(i,typeof s=="string"?s:s.name);return n}function Bx(t){let n=new FormData;for(let[i,s]of t.entries())n.append(i,s);return n}function wA(t,n,i,s=!1,o=!1){let c={},d=null,m,p=!1,g={},y=i&&En(i[1])?i[1].error:void 0;return t.forEach(x=>{if(!(x.route.id in n))return;let b=x.route.id,w=n[b];if(Le(!jr(w),"Cannot handle redirect results in processLoaderData"),En(w)){let T=w.error;if(y!==void 0&&(T=y,y=void 0),d=d||{},o)d[b]=T;else{let M=Gi(t,b);d[M.route.id]==null&&(d[M.route.id]=T)}s||(c[b]=E1),p||(p=!0,m=vo(w.error)?w.error.status:500),w.headers&&(g[b]=w.headers)}else c[b]=w.data,w.statusCode&&w.statusCode!==200&&!p&&(m=w.statusCode),w.headers&&(g[b]=w.headers)}),y!==void 0&&i&&(d={[i[0]]:y},i[2]&&(c[i[2]]=void 0)),{loaderData:c,errors:d,statusCode:m||200,loaderHeaders:g}}function Ux(t,n,i,s,o,c,d){let{loaderData:m,errors:p}=wA(n,i,s);return o.filter(g=>!g.matches||g.matches.some(y=>
81y.shouldLoad)).forEach(g=>{let{key:y,match:x,controller:b}=g;if(b&&b.signal.aborted)return;let w=c[y];if(Le(w,"Did not find corresponding fetcher result"),En(w)){let T=Gi(t.matches,x==null?void 0:x.route.id);p&&p[T.route.id]||(p={...p,[T.route.id]:w.error}),d.delete(y)}else if(jr(w))Le(!1,"Unhandled fetcher revalidation redirect");else{let T=ha(w.data);d.set(y,T)}}),{loaderData:m,errors:p}}function Vx(t,n,i,s){let o=Object.entries(n).filter(([,c])=>c!==E1).reduce((c,[d,m])=>(c[d]=m,c),{});for(let c of i){let d=c.route.id;if(!n.hasOwnProperty(d)&&t.hasOwnProperty(d)&&c.route.loader&&(o[d]=t[d]),s&&s.hasOwnProperty(d))break}return o}function Hx(t){return t?En(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function Gi(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 $c(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 Gn(t,{pathname:n,routeId:i,method:s,type:o,message:c}={}){let d="Unknown Server Error",m="Unknown @remix-run/router error";return t===400?(d="Bad Request",s&&n&&i?m=`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"&&(m="Unable to encode submission body")):t===403?(d="Forbidden",m=`Route "${i}" does not match URL "${n}"`):t===404?(d="Not Found",m=`No route matches URL "${n}"`):t===405&&(d="Method Not Allowed",s&&n&&i?m=`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&&(m=`Invalid request method "${s.toUpperCase()}"`)),new jo(t||500,d,new Error(m),!0)}function Qc(t){let n=Object.entries(t);for(let i=n.length-1;i>=0;i--){let[s,o]=n[i];if(jr(o))return{key:s,result:o}}}function M1(t){return mn({...typeof t=="string"?Sa(t):t,hash:""})}function TA(t,n){return t.pathname!==n.pathname||t.search!==n.search?!1:t.hash===""?n.hash!=="":t.hash===n.hash?!0:n.hash!==""}function EA(t){var n,i;return new jo(((n=t.init)==null?void 0:n.status)??500,((i=t.init)==null?void 0:i.statusText)??"Internal Server Error",t.data)}function AA(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([n,i])=>typeof n=="string"&&CA(i))}function CA(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function jA(t){return Bm(t.result)&&w1.has(t.result.status)}function En(t){return t.type==="error"}function jr(t){return(t&&t.type)==="redirect"}function Fx(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 NA(t){return w1.has(t)}function RA(t){return Bm(t)&&NA(t.status)&&t.headers.has("Location")}function DA(t){return rA.has(t.toUpperCase())}function Wt(t){return aA.has(t.toUpperCase())}function Um(t){return new URLSearchParams(t).getAll("index").some(n=>n==="")}function lu(t,n){let i=typeof n=="string"?Sa(n).search:n.search;if(t[t.length-1].route.index&&Um(i||""))return t[t.length-1];let s=g1(t);return s[s.length-1]}function Gx(t,n,i){var s;return{url:Lm(t.createURL(n),n),pattern:i?Is(i):"",params:(s=i==null?void 0:i[0])!=null&&s.params?{...i[0].params}:{}}}function Px(t){let{formMethod:n,formAction:i,formEncType:s,text:o,formData:c,json:d}=t;
81if(!(!n||!i||!s)){if(o!=null)return{formMethod:n,formAction:i,formEncType:s,formData:void 0,json:void 0,text:o};if(c!=null)return{formMethod:n,formAction:i,formEncType:s,formData:c,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 bh(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 MA(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 Zl(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 _A(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 ha(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 OA(t,n){try{let i=t.sessionStorage.getItem(T1);if(i){let s=JSON.parse(i);for(let[o,c]of Object.entries(s||{}))c&&Array.isArray(c)&&n.set(o,new Set(c||[]))}}catch{}}function kA(t,n){if(n.size>0){let i={};for(let[s,o]of n)i[s]=[...o];try{t.sessionStorage.setItem(T1,JSON.stringify(i))}catch(s){qt(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function Ix(){let t,n,i=new Promise((s,o)=>{t=async c=>{s(c);try{await i}catch{}},n=async c=>{o(c);try{await i}catch{}}});return{promise:i,resolve:t,reject:n}}/**
82 * react-router v8.3.1
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 Lr=E.createContext(null);Lr.displayName="DataRouter";const Ys=E.createContext(null);Ys.displayName="DataRouterState";const _1=E.createContext(!1);function O1(){return E.useContext(_1)}const Vm=E.createContext({isTransitioning:!1});Vm.displayName="ViewTransition";const k1=E.createContext(new Map);k1.displayName="Fetchers";const LA=E.createContext(null);LA.displayName="Await";const Nn=E.createContext(null);Nn.displayName="Navigation";const Hu=E.createContext(null);Hu.displayName="Location";const wa=E.createContext({outlet:null,matches:[],isDataRoute:!1});wa.displayName="Route";const Hm=E.createContext(null);Hm.displayName="RouteError";/**
91 * react-router v8.3.1
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 */const L1="REACT_ROUTER_ERROR",zA="REDIRECT",BA="ROUTE_ERROR_RESPONSE";function UA(t){if(t.startsWith(`${L1}:${zA}:{`))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 VA(t){if(t.startsWith(`${L1}:${BA}:{`))try{let n=JSON.parse(t.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new jo(n.status,n.statusText,n.data)}catch{}}/**
100 * react-router v8.3.1
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 */function HA(t,{relative:n}={}){Le(No(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:s}=E.useContext(Nn),{hash:o,pathname:c,search:d}=Ro(t,{relative:n}),m=c;return i!=="/"&&(m=c==="/"?i:In([i,c])),s.createHref({pathname:m,search:d,hash:o})}function No(){return E.useContext(Hu)!=null}function Rn(){return Le(No(),"useLocation() may be used only in the context of a <Router> component."),E.useContext(Hu).location}const z1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function FA(){let{isDataRoute:t}=E.useContext(wa);return t?aC():GA()}
108function GA(){Le(No(),"useNavigate() may be used only in the context of a <Router> component.");let t=E.useContext(Lr),{basename:n,navigator:i}=E.useContext(Nn),{matches:s}=E.useContext(wa),{pathname:o}=Rn(),c=JSON.stringify(Om(s)),d=E.useRef(!1);return E.useLayoutEffect(()=>{d.current=!0}),E.useCallback((m,p={})=>{if(qt(d.current,z1),!d.current)return;if(typeof m=="number"){i.go(m);return}let g=Vu(m,JSON.parse(c),o,p.relative==="path");t==null&&n!=="/"&&(g.pathname=g.pathname==="/"?n:In([n,g.pathname])),oo(typeof m=="string"?m:mn(m),i.createHref(g),b1(i),"reject"),(p.replace?i.replace:i.push)(g,p.state,p)},[n,i,c,o,t])}const PA=E.createContext(null);function IA(t){let n=E.useContext(wa).outlet;return E.useMemo(()=>n&&E.createElement(PA.Provider,{value:t},n),[n,t])}function Ro(t,{relative:n}={}){let{matches:i}=E.useContext(wa),{pathname:s}=Rn(),o=JSON.stringify(Om(i));return E.useMemo(()=>Vu(t,JSON.parse(o),s,n==="path"),[t,o,s,n])}function YA(t,n,i){Le(No(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=E.useContext(Nn),{matches:o}=E.useContext(wa),c=o[o.length-1],d=c?c.params:{};c&&c.pathname;let m=c?c.pathnameBase:"/";c&&c.route;let p=Rn(),g;g=p;let y=g.pathname||"/",x=y;if(m!=="/"){let T=m.replace(/^\//,"").split("/");x="/"+y.replace(/^\//,"").split("/").slice(T.length).join("/")}let b=i&&i.state.matches.length?i.state.matches.map(T=>Object.assign(T,{route:i.manifest[T.route.id]||T.route})):u1(t,{pathname:x});return $A(b&&b.map(T=>Object.assign({},T,{params:Object.assign({},d,T.params),pathname:In([m,s.encodeLocation?s.encodeLocation(T.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?m:In([m,s.encodeLocation?s.encodeLocation(T.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathnameBase])})),o,i)}function KA(){let t=nC(),n=vo(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 ZA=E.createElement(KA,null);var Ih,qA=(Ih=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=VA(t.digest);i&&(t=i)}let n=t!==void 0?E.createElement(wa.Provider,{value:this.props.routeContext},E.createElement(Hm.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?E.createElement(XA,{error:t},n):n}},ea(Ih,"contextType",_1),Ih);const Sh=new WeakMap;function XA({children:t,error:n}){let{basename:i,navigator:s}=E.useContext(Nn);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let o=UA(n.digest);if(o){let c=Sh.get(n);if(c)throw c;let d=v1(o.location,i),m=d.absoluteURL||d.to;if(oo(o.location,m,b1(s),"allow-explicit"),$h(m))throw new Error("Invalid redirect location");if(y1&&!Sh.get(n))if(d.isExternal||o.reloadDocument)window.location.href=m;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:o.replace}));throw Sh.set(n,p),p}return E.createElement("meta",{httpEquiv:"refresh",content:`0;url=${m}`})}}return t}function WA({routeContext:t,match:n,children:i}){let s=E.useContext(Lr);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(wa.Provider,{value:t},i)}function $A(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,c=s==null?void 0:s.errors;if(c!=null){let y=o.findIndex(x=>x.route.id&&(c==null?void 0:c[x.route.id])!==void 0);Le(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),o=o.slice(0,Math.min(o.length,y+1))}let d=!1,m=-1;if(i&&s){d=s.renderFallback;for(let y=0;y<o.length;y++){let x=o[y];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(m=y),x.route.id){let{loaderData:b,errors:w}
108=s,T=x.route.loader&&!b.hasOwnProperty(x.route.id)&&(!w||w[x.route.id]===void 0);if(x.route.lazy||T){i.isStatic&&(d=!0),m>=0?o=o.slice(0,m+1):o=[o[0]];break}}}}let p=i==null?void 0:i.onError,g=s&&p?(y,x)=>{var b,w;p(y,{location:s.location,params:((w=(b=s.matches)==null?void 0:b[0])==null?void 0:w.params)??{},pattern:Is(s.matches),errorInfo:x})}:void 0;return o.reduceRight((y,x,b)=>{let w,T=!1,M=null,j=null;s&&(w=c&&x.route.id?c[x.route.id]:void 0,M=x.route.errorElement||ZA,d&&(m<0&&b===0?(iC("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,j=null):m===b&&(T=!0,j=x.route.hydrateFallbackElement||null)));let k=n.concat(o.slice(0,b+1)),U=()=>{let H;return w?H=M:T?H=j:x.route.Component?H=E.createElement(x.route.Component,null):x.route.element?H=x.route.element:H=y,E.createElement(WA,{match:x,routeContext:{outlet:y,matches:k,isDataRoute:s!=null},children:H})};return s&&(x.route.ErrorBoundary||x.route.errorElement||b===0)?E.createElement(qA,{location:s.location,revalidation:s.revalidation,component:M,error:w,children:U(),routeC
108ontext:{outlet:null,matches:k,isDataRoute:!0},onError:g}):U()},null)}function Fm(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function QA(t){let n=E.useContext(Lr);return Le(n,Fm(t)),n}function Gm(t){let n=E.useContext(Ys);return Le(n,Fm(t)),n}function JA(t){let n=E.useContext(wa);return Le(n,Fm(t)),n}function Pm(t){let n=JA(t),i=n.matches[n.matches.length-1];return Le(i.route.id,`${t} can only be used on routes that contain a unique "id"`),i.route.id}function eC(){return Pm("useRouteId")}function tC(){let t=Gm("useNavigation");return E.useMemo(()=>{let{matches:n,historyAction:i,...s}=t.navigation;return s},[t.navigation])}function B1(){let{matches:t,loaderData:n}=Gm("useMatches");return E.useMemo(()=>t.map(i=>d1(i,n)),[t,n])}function nC(){var s;let t=E.useContext(Hm),n=Gm("useRouteError"),i=Pm("useRouteError");return t!==void 0?t:(s=n.errors)==null?void 0:s[i]}function aC(){let{router:t}=QA("useNavigate"),n=Pm("useNavigate"),i=E.useRef(!1);return E.useLayoutEffect(()=>{i.current=!0}),E.useCallback(async(s,o={})=>{qt(i.current,z1),i.current&&(typeof s=="number"?await t.navigate(s):await t.navigate(s,{fromRouteId:n,...o}))},[t,n])}const Yx={};function iC(t,n,i){Yx[t]||(Yx[t]=!0,qt(!1,i))}/**
109 * react-router v8.3.1
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 Kx={};function Zx(t,n){!t&&!Kx[n]&&(Kx[n]=!0,console.warn(n))}/**
118 * react-router v8.3.1
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 rC=["HydrateFallback","hydrateFallbackElement"];var sC=class{constructor(){ea(this,"status","pending");ea(this,"promise");ea(this,"resolve");ea(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 lC({router:t,flushSync:n,onError:i,useTransitions:s}){s=O1()||s;let[o,c]=E.useState(t.state),[d,m]=E.useOptimistic(o),[p,g]=E.useState(),[y,x]=E.useState({isTransitioning:!1}),[b,w]=E.useState(),[T,M]=E.useState(),[j,k]=E.useState(),U=E.useRef(new Map),H=E.useCallback((te,{deletedFetchers:D,newErrors:ee,flushSync:$,viewTransitionOpts:ge})=>{ee&&i&&Object.values(ee).forEach(Me=>{var Be;return i(Me,{location:te.location,params:((Be=te.matches[0])==null?void 0:Be.params)??{},pattern:Is(te.matches)})}),te.fetchers.forEach((Me,Be)=>{Me.data!==void 0&&U.current.set(Be,Me.data)}),D.forEach(Me=>U.current.delete(Me)),Zx($===!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 ne=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(Zx(ge==null||ne,"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."),!ge||!ne){n&&$?n(()=>c(te)):s===!1?c(te):E.startTransition(()=>{s===!0&&m(Me=>qx(Me,te)),c(te)});return}if(n&&$){n(()=>{T&&(b==null||b.resolve(),T.skipTransition()),x({isTransitioning:!0,flushSync:!0,currentLocation:ge.currentLocation,nextLocation:ge.nextLocation})});let Me=t.window.document.startViewTransition(()=>{n(()=>c(te))});Me.finished.finally(()=>{n(()=>{w(void 0),M(void 0),g(void 0),x({isTransitioning:!1})})}),n(()=>M(Me));return}T?(b==null||b.resolve(),T.skipTransition(),k({state:te,currentLocation:ge.currentLocation,nextLocation:ge.nextLocation})):(g(te),x({isTransitioning:!0,flushSync:!1,currentLocation:ge.currentLocation,nextLocation:ge.nextLocation}))},[t.window,n,T,b,s,m,i]);E.useLayoutEffect(()=>t.subscribe(H),[t,H]),E.useEffect(()=>{y.isTransitioning&&!y.flushSync&&w(new sC)},[y]),E.useEffect(()=>{if(b&&p&&t.window){let te=p,D=b.promise,ee=t.window.document.startViewTransition(async()=>{s===!1?c(te):E.startTransition(()=>{s===!0&&m($=>qx($,te)),c(te)}),await D});ee.finished.finally(()=>{w(void 0),M(void 0),g(void 0),x({isTransitioning:!1})}),M(ee)}},[p,b,t.window,s,m]),E.useEffect(()=>{b&&p&&d.location.key===p.location.key&&b.resolve()},[b,T,d.location,p]),E.useEffect(()=>{!y.isTransitioning&&j&&(g(j.state),x({isTransitioning:!0,flushSync:!1,currentLocation:j.currentLocation,nextLocation:j.nextLocation}),k(void 0))},[y.isTransitioning,j]);let I=E.useMemo(()=>({createHref:t.createHref,createURL:t.createURL,encodeLocation:t.encodeLocation,go:te=>t.navigate(te),push:(te,D,ee)=>t.navigate(te,{state:D,preventScrollReset:ee==null?void 0:ee.preventScrollReset}),replace:(te,D,ee)=>t.navigate(te,{replace:!0,state:D,preventScrollReset:ee==null?void 0:ee.preventScrollReset})}),[t]),K=t.basename||"/",oe=E.useMemo(()=>({router:t,navigator:I,static:!1,basename:K,onError:i}),[t,I,K,i]);return E.createElement(E.Fragment,null,E.createElement(Lr.Provider,{value:oe},E.createElement(Ys.Provider,{value:d},E.createElement(k1.Provider,{value:U.current},E.createElement(Vm.Provider,{value:y},E.createElement(dC,{basename:K,location:d.location,navigationType:d.historyAction,navigator:I,useTransitions:s},E.createElement(oC,{routes:t.routes,manifest:t.manifest,future:t.future,state:d,isStatic:!1,onError:i})))))),null)}function qx(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 oC=E.memo(cC);function cC({routes:t,manifest:n,future:i,state:s,isStatic:o,onError:c}){return YA(t,void 0,{manifest:n,state:s,isStatic:o,onError:c})}function uC(t){return IA(t.context)}function dC({basename:t="/",children:n=null,location:i,navigationType:s="POP",navigator:o,static:c=!1,useTransitions:d}){Le(!No(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=t.replace(/^\/*/,"/"),p=E.useMemo(()=>({basename:m,navigator:o,static:c,useTransitions:d,future:{}}),[m,o,c,d]);typeof i=="string"&&(i=Sa(i));let{pathname:g="/",search:y="",hash:x="",state:b=null,key:w="default",mask:T}=i,M=E.useMemo(()=>{let j=Kn(g,m);return j==null?null:{location:{pathname:j,search:y,hash:x,state:b,key:w,mask:T},navigationType:s}},[m,g,y,x,b,w,s,T]);
126return qt(M!=null,`<Router basename="${m}"> is not able to match the URL "${g}${y}${x}" because it does not start with the basename, so the <Router> won't render anything.`),M==null?null:E.createElement(Nn.Provider,{value:p},E.createElement(Hu.Provider,{children:n,value:M}))}/**
127 * react-router v8.3.1
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 */const ou="application/x-www-form-urlencoded";function Fu(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function fC(t){return Fu(t)&&t.tagName.toLowerCase()==="button"}function hC(t){return Fu(t)&&t.tagName.toLowerCase()==="form"}function mC(t){return Fu(t)&&t.tagName.toLowerCase()==="input"}function pC(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function gC(t,n){return t.button===0&&(!n||n==="_self")&&!pC(t)}let Jc=null;function yC(){if(Jc===null)try{new FormData(document.createElement("form"),0),Jc=!1}catch{Jc=!0}return Jc}const vC=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function wh(t){return t!=null&&!vC.has(t)?(qt(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ou}"`),null):t}function xC(t,n){let i,s,o,c,d;if(hC(t)){let m=t.getAttribute("action");s=m?Kn(m,n):null,i=t.getAttribute("method")||"get",o=wh(t.getAttribute("enctype"))||ou,c=new FormData(t)}else if(fC(t)||mC(t)&&(t.type==="submit"||t.type==="image")){let m=t.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=t.getAttribute("formaction")||m.getAttribute("action");if(s=p?Kn(p,n):null,i=t.getAttribute("formmethod")||m.getAttribute("method")||"get",o=wh(t.getAttribute("formenctype"))||wh(m.getAttribute("enctype"))||ou,c=new FormData(m,t),!yC()){let{name:g,type:y,value:x}=t;if(y==="image"){let b=g?`${g}.`:"";c.append(`${b}x`,"0"),c.append(`${b}y`,"0")}else g&&c.append(g,x)}}else{if(Fu(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i="get",s=null,o=ou,d=t}return c&&o==="text/plain"&&(d=c,c=void 0),{action:s,method:i.toLowerCase(),encType:o,formData:c,body:d}}/**
136 * react-router v8.3.1
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 */function Im(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}/**
145 * react-router v8.3.1
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 */const bC={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},SC=/[&><\u2028\u2029]/g;function Xx(t){return t.replace(SC,n=>bC[n])}/**
154 * react-router v8.3.1
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 */function U1(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}/**
163 * react-router v8.3.1
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 */async function wC(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(()=>{})}}/**
172 * react-router v8.3.1
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 TC(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 EC(t,n,i){return NC((await Promise.all(t.map(async s=>{let o=n.routes[s.route.id];if(o){let c=await wC(o,i);return c.links?c.links():[]}return[]}))).flat(1).filter(TC).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function Wx(t,n,i,s,o,c){let d=(p,g)=>i[g]?p.route.id!==i[g].route.id:!0,m=(p,g)=>{var y;return i[g].pathname!==p.pathname||((y=i[g].route.path)==null?void 0:y.endsWith("*"))&&i[g].params["*"]!==p.params["*"]};return c==="assets"?n.filter((p,g)=>d(p,g)||m(p,g)):c==="data"?n.filter((p,g)=>{var x;let y=s.routes[p.route.id];if(!y||!y.hasLoader)return!1;if(d(p,g)||m(p,g))return!0;
180if(p.route.shouldRevalidate){let b=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((x=i[0])==null?void 0:x.params)||{},nextUrl:new URL(t,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function AC(t,n,{includeHydrateFallback:i}={}){return CC(t.map(s=>{let o=n.routes[s.route.id];if(!o)return[];let c=[o.module];return o.clientActionModule&&(c=c.concat(o.clientActionModule)),o.clientLoaderModule&&(c=c.concat(o.clientLoaderModule)),i&&o.hydrateFallbackModule&&(c=c.concat(o.hydrateFallbackModule)),o.imports&&(c=c.concat(o.imports)),c}).flat(1))}function CC(t){return[...new Set(t)]}function jC(t){let n={},i=Object.keys(t).sort();for(let s of i)n[s]=t[s];return n}function NC(t,n){let i=new Set;return new Set(n),t.reduce((s,o)=>{let c=JSON.stringify(jC(o));return i.has(c)||(i.add(c),s.push({key:c,link:o})),s},[])}/**
181 * react-router v8.3.1
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 */function RC(){let t=E.useContext(Lr);return Im(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function DC(){let t=E.useContext(Ys);return Im(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}const Gu=E.createContext(void 0);Gu.displayName="FrameworkContext";function Ym(){let t=E.useContext(Gu);return Im(t,"You must render this element inside a <HydratedRouter> element"),t}function MC(t,n){let i=E.useContext(Gu),[s,o]=E.useState(!1),[c,d]=E.useState(!1),{onFocus:m,onBlur:p,onMouseEnter:g,onMouseLeave:y,onTouchStart:x}=n,b=E.useRef(null);E.useEffect(()=>{if(t==="render"&&d(!0),t==="viewport"){let M=k=>{k.forEach(U=>{d(U.isIntersecting)})},j=new IntersectionObserver(M,{threshold:.5});return b.current&&j.observe(b.current),()=>{j.disconnect()}}},[t]),E.useEffect(()=>{if(s){let M=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(M)}}},[s]);let w=()=>{o(!0)},T=()=>{o(!1),d(!1)};return i?t!=="intent"?[c,b,{}]:[c,b,{onFocus:ql(m,w),onBlur:ql(p,T),onMouseEnter:ql(g,w),onMouseLeave:ql(y,T),onTouchStart:ql(x,w)}]:[!1,b,{}]}function ql(t,n){return i=>{t&&t(i),i.defaultPrevented||n(i)}}function _C({page:t,...n}){let i=O1(),{nonce:s}=Ym(),{router:o}=RC(),c=E.useMemo(()=>u1(o.routes,t,o.basename),[o.routes,t,o.basename]);return c?(n.nonce==null&&s&&(n={...n,nonce:s}),i?E.createElement(kC,{page:t,matches:c,...n}):E.createElement(LC,{page:t,matches:c,...n})):null}function OC(t){let{manifest:n,routeModules:i}=Ym(),[s,o]=E.useState([]);return E.useEffect(()=>{let c=!1;return EC(t,n,i).then(d=>{c||o(d)}),()=>{c=!0}},[t,n,i]),s}function kC({page:t,matches:n,...i}){let s=Rn(),o=E.useMemo(()=>{if(t===s.pathname+s.search+s.hash)return[];let c=U1(t,"rsc"),d=!1,m=[];for(let p of n)typeof p.route.shouldRevalidate=="function"?d=!0:m.push(p.route.id);return d&&m.length>0&&c.searchParams.set("_routes",m.join(",")),[c.pathname+c.search]},[t,s,n]);return E.createElement(E.Fragment,null,o.map(c=>E.createElement("link",{key:c,rel:"prefetch",as:"fetch",href:c,...i})))}function LC({page:t,matches:n,...i}){let s=Rn(),{manifest:o,routeModules:c}=Ym(),{loaderData:d,matches:m}=DC(),p=E.useMemo(()=>Wx(t,n,m,o,s,"data"),[t,n,m,o,s]),g=E.useMemo(()=>Wx(t,n,m,o,s,"assets"),[t,n,m,o,s]),y=E.useMemo(()=>{if(t===s.pathname+s.search+s.hash)return[];let w=new Set,T=!1;if(n.forEach(j=>{var U;let k=o.routes[j.route.id];!k||!k.hasLoader||(!p.some(H=>H.route.id===j.route.id)&&j.route.id in d&&((U=c[j.route.id])!=null&&U.shouldRevalidate)||k.hasClientLoader?T=!0:w.add(j.route.id))}),w.size===0)return[];let M=U1(t,"data");return T&&w.size>0&&M.searchParams.set("_routes",n.filter(j=>w.has(j.route.id)).map(j=>j.route.id).join(",")),[M.pathname+M.search]},[d,s,o,p,n,t,c]),x=E.useMemo(()=>AC(g,o),[g,o]),b=OC(g);return E.createElement(E.Fragment,null,y.map(w=>E.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...i})),x.map(w=>E.createElement("link",{key:w,rel:"modulepreload",href:w,...i})),b.map(({key:w,link:T})=>E.createElement("link",{key:w,nonce:i.nonce,...T,crossOrigin:T.crossOrigin??i.crossOrigin})))}function zC(...t){return n=>{t.forEach(i=>
189{typeof i=="function"?i(n):i!=null&&(i.current=n)})}}/**
190 * react-router v8.3.1
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 */const BC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{BC&&(window.__reactRouterVersion="8")}catch{}function UC(t,n){return cA({basename:n==null?void 0:n.basename,getContext:n==null?void 0:n.getContext,future:n==null?void 0:n.future,history:AE({window:n==null?void 0:n.window}),hydrationData:VC(),routes:t,mapRouteProperties:c1,hydrationRouteProperties:rC,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 VC(){let t=window==null?void 0:window.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:HC(t.errors)}),t}function HC(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 jo(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(typeof o.__subType=="string"&&$E.includes(o.__subType)){let c=window[o.__subType];if(typeof c=="function")try{let d=new c(o.message);d.stack="",i[s]=d}catch{}}if(i[s]==null){let c=new Error(o.message);c.stack="",i[s]=c}}else i[s]=o;return i}const ks=E.forwardRef(function({onClick:n,discover:i="render",prefetch:s="none",relative:o,reloadDocument:c,replace:d,mask:m,state:p,target:g,to:y,preventScrollReset:x,viewTransition:b,defaultShouldRevalidate:w,...T},M){let{basename:j,navigator:k,useTransitions:U}=E.useContext(Nn),H=typeof y=="string"&&Bu.test(y),I=v1(y,j);y=I.to;let K=HA(y,{relative:o}),oe=Rn(),te=null;if(m){let ze=Vu(m,[],oe.mask?oe.mask.pathname:"/",!0);j!=="/"&&(ze.pathname=ze.pathname==="/"?j:In([j,ze.pathname])),te=k.createHref(ze)}let[D,ee,$]=MC(s,T),ge=IC(y,{replace:d,mask:m,state:p,target:g,preventScrollReset:x,relative:o,viewTransition:b,defaultShouldRevalidate:w,useTransitions:U});function ne(ze){n&&n(ze),ze.defaultPrevented||ge(ze)}let Me=!(I.isExternal||c),Be=E.createElement("a",{...T,...$,href:(Me?te:void 0)||I.absoluteURL||K,onClick:Me?ne:n,ref:zC(M,ee),target:g,"data-discover":!H&&i==="render"?"true":void 0});return D&&!H?E.createElement(E.Fragment,null,Be,E.createElement(_C,{page:K})):Be});ks.displayName="Link";const FC=E.forwardRef(function({"aria-current":n="page",caseSensitive:i=!1,className:s="",end:o=!1,style:c,to:d,viewTransition:m,children:p,...g},y){let x=Ro(d,{relative:g.relative}),b=Rn(),w=E.useContext(Ys),{navigator:T,basename:M}=E.useContext(Nn),j=w!=null&&QC(x)&&m===!0,k=T.encodeLocation?T.encodeLocation(x).pathname:x.pathname,U=b.pathname,H=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;i||(U=U.toLowerCase(),H=H?H.toLowerCase():null,k=k.toLowerCase()),H&&M&&(H=Kn(H,M)||H);const I=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let K=U===k||!o&&U.startsWith(k)&&U.charAt(I)==="/",oe=H!=null&&(H===k||!o&&H.startsWith(k)&&H.charAt(I)==="/"),te={isActive:K,isPending:oe,isTransitioning:j},D=K?n:void 0,ee;typeof s=="function"?ee=s(te):ee=[s,K?"active":null,oe?"pending":null,j?"transitioning":null].filter(Boolean).join(" ");let $=typeof c=="function"?c(te):c;return E.createElement(ks,{...g,"aria-current":D,className:ee,ref:y,style:$,to:d,viewTransition:m},typeof p=="function"?p(te):p)});FC.displayName="NavLink";const GC=E.forwardRef(({discover:t="render",fetcherKey:n,navigate:i,reloadDocument:s,replace:o,state:c,method:d="get",action:m,onSubmit:p,relative:g,preventScrollReset:y,viewTransition:x,defaultShouldRevalidate:b,...w},T)=>{let{useTransitions:M}=E.useContext(Nn),j=ZC(),k=qC(m,{relative:g}),U=d.toLowerCase()==="get"?"get":"post",H=typeof m=="string"&&Bu.test(m),I=K=>{if(p&&p(K),K.defaultPrevented)return;K.preventDefault();let oe=K.nativeEvent.submitter,te=(oe==null?void 0:oe.getAttribute("formmethod"))||d,D=()=>j(oe||K.currentTarget,{fetcherKey:n,method:te,navigate:i,replace:o,state:c,relative:g,preventScrollReset:y,viewTransition:x,defaultShouldRevalidate:b});M&&i!==!1?E.startTransition(()=>D()):D()};return E.createElement("form",{ref:T,method:U,action:k,onSubmit:s?p:I,...w,"data-discover":!H&&t==="render"?"true":void 0})});GC.displayName="Form";function V1({getKey:t,storageKey:n,...i}
198){let s=E.useContext(Gu),{basename:o}=E.useContext(Nn),c=Rn(),d=B1();XC({getKey:t,storageKey:n});let m=E.useMemo(()=>{if(!s||!t)return null;let g=em(c,d,o,t);return g!==c.key?g:null},[]);if(!s||s.isSpaMode)return null;let p=((g,y)=>{if(!window.history.state||!window.history.state.key){let x=Math.random().toString(32).slice(2);window.history.replaceState({key:x},"")}try{let x=JSON.parse(sessionStorage.getItem(g)||"{}")[y||window.history.state.key];typeof x=="number"&&window.scrollTo(0,x)}catch(x){console.error(x),sessionStorage.removeItem(g)}}).toString();return i.nonce==null&&(s!=null&&s.nonce)&&(i.nonce=s.nonce),E.createElement("script",{...i,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${p})(${Xx(JSON.stringify(n||Jh))}, ${Xx(JSON.stringify(m))})`}})}V1.displayName="ScrollRestoration";function H1(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Km(t){let n=E.useContext(Lr);return Le(n,H1(t)),n}function PC(t){let n=E.useContext(Ys);return Le(n,H1(t)),n}function IC(t,{target:n,replace:i,mask:s,state:o,preventScrollReset:c,relative:d,viewTransition:m,defaultShouldRevalidate:p,useTransitions:g}={}){let y=FA(),x=Rn(),b=Ro(t,{relative:d});return E.useCallback(w=>{if(gC(w,n)){w.preventDefault();let T=i!==void 0?i:mn(x)===mn(b),M=()=>y(t,{replace:T,mask:s,state:o,preventScrollReset:c,relative:d,viewTransition:m,defaultShouldRevalidate:p});g?E.startTransition(()=>M()):M()}},[x,y,b,i,s,o,n,t,c,d,m,p,g])}let YC=0,KC=()=>`__${String(++YC)}__`;function ZC(){let{router:t}=Km("useSubmit"),{basename:n}=E.useContext(Nn),i=eC(),s=t.fetch,o=t.navigate;return E.useCallback(async(c,d={})=>{let{action:m,method:p,encType:g,formData:y,body:x}=xC(c,n);d.navigate===!1?await s(d.fetcherKey||KC(),i,d.action||m,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,relative:d.relative,formData:y,body:x,formMethod:d.method||p,formEncType:d.encType||g,flushSync:d.flushSync}):await o(d.action||m,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,relative:d.relative,formData:y,body:x,formMethod:d.method||p,formEncType:d.encType||g,replace:d.replace,state:d.state,fromRouteId:i,flushSync:d.flushSync,viewTransition:d.viewTransition})},[s,o,n,i])}function qC(t,{relative:n}={}){let{basename:i}=E.useContext(Nn),s=E.useContext(wa);Le(s,"useFormAction must be used inside a RouteContext");let[o]=s.matches.slice(-1),c={...Ro(t||".",{relative:n})},d=Rn();if(t==null){c.search=d.search;let m=new URLSearchParams(c.search),p=m.getAll("index");if(p.some(g=>g==="")){m.delete("index"),p.filter(y=>y).forEach(y=>m.append("index",y));let g=m.toString();c.search=g?`?${g}`:""}}return(!t||t===".")&&o.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:In([i,c.pathname])),mn(c)}const Jh="react-router-scroll-positions";let eu={};function em(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 XC({getKey:t,storageKey:n}={}){let{router:i}=Km("useScrollRestoration"),{restoreScrollPosition:s,preventScrollReset:o}=PC("useScrollRestoration"),{basename:c}=E.useContext(Nn),d=Rn(),m=B1(),p=tC();E.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),$C(E.useCallback(g=>{g.persisted&&(window.history.scrollRestoration="manual")},[])),WC(E.useCallback(()=>
198{if(p.state==="idle"){let g=em(d,m,c,t);eu[g]=window.scrollY}try{sessionStorage.setItem(n||Jh,JSON.stringify(eu))}catch(g){qt(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${g}).`)}window.history.scrollRestoration="auto"},[p.state,t,c,d,m,n])),typeof document<"u"&&(E.useLayoutEffect(()=>{try{let g=sessionStorage.getItem(n||Jh);g&&(eu=JSON.parse(g))}catch{}},[n]),E.useLayoutEffect(()=>{let g=i==null?void 0:i.enableScrollRestoration(eu,()=>window.scrollY,t?(y,x)=>em(y,x,c,t):void 0);return()=>g&&g()},[i,c,t]),E.useLayoutEffect(()=>{if(s!==!1){if(typeof s=="number"){window.scrollTo(0,s);return}try{if(d.hash){let g=document.getElementById(decodeURIComponent(d.hash.slice(1)));if(g){g.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 WC(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 $C(t,n){let{capture:i}={};E.useEffect(()=>{let s=i!=null?{capture:i}:void 0;return window.addEventListener("pageshow",t,s),()=>{window.removeEventListener("pageshow",t,s)}},[t,i])}function QC(t,{relative:n}={}){let i=E.useContext(Vm);Le(i!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=Km("useViewTransitionState"),o=Ro(t,{relative:n});if(!i.isTransitioning)return!1;let c=Kn(i.currentLocation.pathname,s)||i.currentLocation.pathname,d=Kn(i.nextLocation.pathname,s)||i.nextLocation.pathname;return bu(o.pathname,d)!=null||bu(o.pathname,c)!=null}/**
199 * react-router v8.3.1
200 *
201 * Copyright (c) Remix Software Inc.
202 *
203 * This source code is licensed under the MIT license found in the
204 * LICENSE.md file in the root directory of this source tree.
205 *
206 * @license MIT
207 */function JC(t){return E.createElement(lC,{flushSync:eE.flushSync,...t})}class ej 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}}/**
208 * @license lucide-react v0.454.0 - ISC
209 *
210 * This source code is licensed under the ISC license.
211 * See the LICENSE file in the root directory of this source tree.
212 */const tj=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),F1=(...t)=>t.filter((n,i,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===i).join(" ").trim();/**
213 * @license lucide-react v0.454.0 - ISC
214 *
215 * This source code is licensed under the ISC license.
216 * See the LICENSE file in the root directory of this source tree.
217 */var nj={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"};/**
218 * @license lucide-react v0.454.0 - ISC
219 *
220 * This source code is licensed under the ISC license.
221 * See the LICENSE file in the root directory of this source tree.
222 */const aj=E.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:o="",children:c,iconNode:d,...m},p)=>E.createElement("svg",{ref:p,...nj,width:n,height:n,stroke:t,strokeWidth:s?Number(i)*24/Number(n):i,className:F1("lucide",o),...m},[...d.map(([g,y])=>E.createElement(g,y)),...Array.isArray(c)?c:[c]]));/**
223 * @license lucide-react v0.454.0 - ISC
224 *
225 * This source code is licensed under the ISC license.
226 * See the LICENSE file in the root directory of this source tree.
227 */const et=(t,n)=>{const i=E.forwardRef(({className:s,...o},c)=>E.createElement(aj,{ref:c,iconNode:n,className:F1(`lucide-${tj(t)}`,s),...o}));return i.displayName=`${t}`,i};/**
228 * @license lucide-react v0.454.0 - ISC
229 *
230 * This source code is licensed under the ISC license.
231 * See the LICENSE file in the root directory of this source tree.
232 */const An=et("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
233 * @license lucide-react v0.454.0 - ISC
234 *
235 * This source code is licensed under the ISC license.
236 * See the LICENSE file in the root directory of this source tree.
237 */const G1=et("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
238 * @license lucide-react v0.454.0 - ISC
239 *
240 * This source code is licensed under the ISC license.
241 * See the LICENSE file in the root directory of this source tree.
242 */const ij=et("Calendar",[["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"}]]);/**
243 * @license lucide-react v0.454.0 - ISC
244 *
245 * This source code is licensed under the ISC license.
246 * See the LICENSE file in the root directory of this source tree.
247 */const $x=et("Candy",[["path",{d:"m9.5 7.5-2 2a4.95 4.95 0 1 0 7 7l2-2a4.95 4.95 0 1 0-7-7Z",key:"ue6khb"}],["path",{d:"M14 6.5v10",key:"5xnk7c"}],["path",{d:"M10 7.5v10",key:"1uew51"}],["path",{d:"m16 7 1-5 1.37.68A3 3 0 0 0 19.7 3H21v1.3c0 .46.1.92.32 1.33L22 7l-5 1",key:"b9cp6k"}],["path",{d:"m8 17-1 5-1.37-.68A3 3 0 0 0 4.3 21H3v-1.3a3 3 0 0 0-.32-1.33L2 17l5-1",key:"5lney8"}]]);/**
248 * @license lucide-react v0.454.0 - ISC
249 *
250 * This source code is licensed under the ISC license.
251 * See the LICENSE file in the root directory of this source tree.
252 */const rj=et("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
253 * @license lucide-react v0.454.0 - ISC
254 *
255 * This source code is licensed under the ISC license.
256 * See the LICENSE file in the root directory of this source tree.
257 */const sj=et("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
258 * @license lucide-react v0.454.0 - ISC
259 *
260 * This source code is licensed under the ISC license.
261 * See the LICENSE file in the root directory of this source tree.
262 */const Pu=et("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
263 * @license lucide-react v0.454.0 - ISC
264 *
265 * This source code is licensed under the ISC license.
266 * See the LICENSE file in the root directory of this source tree.
267 */const P1=et("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",ke
267y:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/**
268 * @license lucide-react v0.454.0 - ISC
269 *
270 * This source code is licensed under the ISC license.
271 * See the LICENSE file in the root directory of this source tree.
272 */const I1=et("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"}]]);/**
273 * @license lucide-react v0.454.0 - ISC
274 *
275 * This source code is licensed under the ISC license.
276 * See the LICENSE file in the root directory of this source tree.
277 */const Y1=et("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
278 * @license lucide-react v0.454.0 - ISC
279 *
280 * This source code is licensed under the ISC license.
281 * See the LICENSE file in the root directory of this source tree.
282 */const lj=et("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/**
283 * @license lucide-react v0.454.0 - ISC
284 *
285 * This source code is licensed under the ISC license.
286 * See the LICENSE file in the root directory of this source tree.
287 */const oj=et("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);/**
288 * @license lucide-react v0.454.0 - ISC
289 *
290 * This source code is licensed under the ISC license.
291 * See the LICENSE file in the root directory of this source tree.
292 */const cj=et("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
293 * @license lucide-react v0.454.0 - ISC
294 *
295 * This source code is licensed under the ISC license.
296 * See the LICENSE file in the root directory of this source tree.
297 */const K1=et("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
298 * @license lucide-react v0.454.0 - ISC
299 *
300 * This source code is licensed under the ISC license.
301 * See the LICENSE file in the root directory of this source tree.
302 */const wu=et("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/**
303 * @license lucide-react v0.454.0 - ISC
304 *
305 * This source code is licensed under the ISC license.
306 * See the LICENSE file in the root directory of this source tree.
307 */const uj=et("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
308 * @license lucide-react v0.454.0 - ISC
309 *
310 * This source code is licensed under the ISC license.
311 * See the LICENSE file in the root directory of this source tree.
312 */const xo=et("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"}]]);/**
313 * @license lucide-react v0.454.0 - ISC
314 *
315 * This source code is licensed under the ISC license.
316 * See the LICENSE file in the root directory of this source tree.
317 */const dj=et("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"}]]);/**
318 * @license lucide-react v0.454.0 - ISC
319 *
320 * This source code is licensed under the ISC license.
321 * See the LICENSE file in the root directory of this source tree.
322 */const fj=et("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
323 * @license lucide-react v0.454.0 - ISC
324 *
325 * This source code is licensed under the ISC license.
326 * See the LICENSE file in the root directory of this source tree.
327 */const hj=et("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
328 * @license lucide-react v0.454.0 - ISC
329 *
330 * This source code is licensed under the ISC license.
331 * See the LICENSE file in the root directory of this source tree.
332 */const Z1=et("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"}]]);/**
333 * @license lucide-react v0.454.0 - ISC
334 *
335 * This source code is licensed under the ISC license.
336 * See the LICENSE file in the root directory of this source tree.
337 */const mj=et("Pill",[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]]);/**
338 * @license lucide-react v0.454.0 - ISC
339 *
340 * This source code is licensed under the ISC license.
341 * See the LICENSE file in the root directory of this source tree.
342 */const pj=et("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
343 * @license lucide-react v0.454.0 - ISC
344 *
345 * This source code is licensed under the ISC license.
346 * See the LICENSE file in the root directory of this source tree.
347 */const Zm=et("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);/**
348 * @license lucide-react v0.454.0 - ISC
349 *
350 * This source code is licensed under the ISC license.
351 * See the LICENSE file in the root directory of this source tree.
352 */const gj=et("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
353 * @license lucide-react v0.454.0 - ISC
354 *
355 * This source code is licensed under the ISC license.
356 * See the LICENSE file in the root directory of this source tree.
357 */const yj=et("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
358 * @license lucide-react v0.454.0 - ISC
359 *
360 * This source code is licensed under the ISC license.
361 * See the LICENSE file in the root directory of this source tree.
362 */const cu=et("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
363 * @license lucide-react v0.454.0 - ISC
364 *
365 * This source code is licensed under the ISC license.
366 * See the LICENSE file in the root directory of this source tree.
367 */const vj=et("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/**
368 * @license lucide-react v0.454.0 - ISC
369 *
370 * This source code is licensed under the ISC license.
371 * See the LICENSE file in the root directory of this source tree.
372 */const xj=et("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
373 * @license lucide-react v0.454.0 - ISC
374 *
375 * This source code is licensed under the ISC license.
376 * See the LICENSE file in the root directory of this source tree.
377 */const bj=et("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Sj(){const t=new Date().getFullYear();return h.jsx("footer",{className:"bg-foreground text-background",children:h.jsxs("div",{className:"container mx-auto px-4 py-12",children:[h.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-10",children:[h.jsxs("div",{className:"flex flex-col gap-4",children:[h.jsx("img",{src:"/assets/images/3845d0236da95a1d4bb7e6a636c47ca5.png",alt:"The Giving Tree of Denver",className:"h-14 w-auto object-contain shrink-0 brightness-0 invert",width:208,he
377ight:99}),h.jsx("p",{className:"text-sm text-background/70 leading-relaxed",style:{fontFamily:"var(--font-sans)"},children:"Family-owned & independently operated neighborhood dispensary since 2009. Serving adult use recreational & medical. 21+"})]}),h.jsxs("div",{className:"flex flex-col gap-3",children:[h.jsx("h3",{style:{fontFamily:"var(--font-heading)"},className:"text-sm font-bold tracking-widest text-primary mb-1",children:"VISIT US"}),h.jsxs("div",{className:"flex items-start gap-2 text-sm text-background/80",children:[h.jsx(xo,{size:15,className:"mt-0.5 shrink-0 text-primary"}),h.jsxs("span",{children:["2707 W 38th Ave",h.jsx("br",{}),"Denver, CO 80211",h.jsx("br",{}),"Highlands / Sunnyside"]})]}),h.jsxs("div",{className:"flex items-center gap-2 text-sm text-background/80",children:[h.jsx(Pu,{size:15,className:"shrink-0 text-primary"}),h.jsx("span",{children:"Open Every Day · 8AM – 9:50PM"})]}),h.jsxs("div",{className:"flex items-center gap-2 text-sm text-background/80",children:[h.jsx(Z1,{size:15,className:"shrink-0 text-primary"}),h.jsx("span",{children:"(303) 477-8888"})]})]}),h.jsxs("div",{className:"flex flex-col gap-3",children:[h.jsx("h3",{style:{fontFamily:"var(--font-heading)"},className:"text-sm font-bold tracking-widest text-primary mb-1",children:"QUICK LINKS"}),h.jsx("div",{className:"flex flex-col gap-2",children:[{label:"Order Online",href:"https://dutchie.com/dispensary/the-giving-tree-denver",target:"_blank"},{label:"Weekly Deals",href:"/deals"},{label:"About Us",href:"/about"},{label:"Contact",href:"/contact"},{label:"Get Directions",href:"https://maps.google.com/?q=2707+W+38th+Ave+Denver+CO+80211",target:"_blank"}].map(n=>h.jsx("a",{href:n.href,target:n.target,rel:n.target?"noopener noreferrer":void 0,style:{fontFamily:"var(--font-sans)"},className:"text-sm text-background/70 hover:text-primary transition-colors",children:n.label},n.label))})]})]}),h.jsxs("div",{className:"border-t border-background/10 mt-10 pt-6 flex flex-col md:flex-row justify-between items-center gap-3",children:[h.jsxs("p",{className:"text-xs text-background/50",style:{fontFamily:"var(--font-sans)"},children:["© ",t," The Giving Tree of Denver. All rights reserved. Must be 21+ to purchase."]}),h.jsx("p",{className:"text-xs text-background/40",style:{fontFamily:"var(--font-sans)"},children:"For use by adults 21 and older. Keep out of reach of children."})]})]})})}const wj={overrides:{}};function qm(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}function Tj(t){return t==="bound-expression"||t==="content-key"||t==="content-key-template"}function Ej(t){return qm(t)?typeof t.file=="string"&&typeof t.tagName=="string"&&Tj(t.sourceKind)&&(t.contentKey===void 0||t.contentKey===null||typeof t.contentKey=="string")&&(t.contentKeyTemplate===void 0||t.contentKeyTemplate===null||typeof t.contentKeyTemplate=="string")&&(t.expressionHash===void 0||t.expressionHash===null||typeof t.expressionHash=="string"):!1}function Aj(t){return qm(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 Cj(t){return qm(t)?Ej(t.target)&&Aj(t.marks)&&typeof t.updatedAt=="string":!1}function ws(t){return t??null}function jj(t){const n=t.replace(/\\/g,"/"),i=n.indexOf("/src/");return i!==-1?n.slice(i+1):n.replace(/^\/+/,"")}function Nj(t){const n=t.split("/");return n.some(i=>!/^[a-zA-Z0-9_-]+$/.test(i))?null:n.map(i=>i.toLowerCase()).join("/")}function Rj(t){const n=jj(t),i=/^src\/pages\/(.+)\.[jt]sx?$/.exec(n);if(!(i!=null&&i[1]))return{key:"shared",filePath:"format-overrides/shared.json"};const s=Nj(i[1]);return s?{key:`pages/${s}`,filePath:`format-overrides/pages/${s}.json`}:{key:"shared",filePath:"format-overrides/shared.json"}}function Dj(t,n){return t.file===n.file&&t.tagName===n.tagName&&t.sourceKind===n.sourceKind&&ws(t.contentKey)===ws(n.contentKey)&&ws(t.contentKeyTemplate)===ws(n.contentKeyTemplate)&&ws(t.expressionHash)===ws(n.expressionH
377ash)}function Mj(t,n,i){const s=Rj(i.file),c=(t.scopes[s.key]??wj).overrides[n];return c?Cj(c)?Dj(c.target,i)?{status:"applicable",marks:c.marks}:{status:"guard-mismatch",expected:c.target,actual:i}:(s.key,{status:"missing"}):{status:"missing"}}const _j={"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 Oj(t){const n=t.fontSize?_j[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 kj={version:1,scopes:{"pages/index":{overrides:{"1ef4db":{marks:{bold:!1,color:"#ccff00",italic:!1},target:{contentKey:"home.info_bar.hours",contentKeyTemplate:null,expressionHash:null,file:"src/pages/index.tsx",sourceKind:"content-key",tagName:"span"},updatedAt:"2026-07-11T21:07:28.542Z"},"3ad2f6":{marks:{bold:!1,color:"#ccff00",italic:!1},target:{contentKey:"home.info_bar.directions_label",contentKeyTemplate:null,expressionHash:null,file:"src/pages/index.tsx",sourceKind:"content-key",tagName:"a"},updatedAt:"2026-07-11T21:09:21.094Z"},"60c9bc":{marks:{bold:!1,color:"#ffffff",italic:!1},target:{contentKey:"home.info_bar.address",contentKeyTemplate:null,expressionHash:null,file:"src/pages/index.tsx",sourceKind:"content-key",tagName:"span"},updatedAt:"2026-07-11T21:07:56.307Z"}},version:1}}},Qx=new Set;let Lj=kj;function Jx(){return Lj}function zj(t){return Qx.add(t),()=>{Qx.delete(t)}}function Bj(){return E.useSyncExternalStore(zj,Jx,Jx)}function ht({devId:t,guard:n,children:i}){const s=Bj(),o=Mj(s,t,n);if(o.status==="missing")return h.jsx(h.Fragment,{children:i});if(o.status==="guard-mismatch")return h.jsx(h.Fragment,{children:i});const c=o.marks;return h.jsx("span",{"data-airo-formatted-bound-text":"true","data-airo-format-bold":c.bold?"true":void 0,"data-airo-format-italic":c.italic?"true":void 0,"data-airo-format-color":c.color||void 0,"data-airo-format-size":c.fontSize||void 0,style:Oj(c),children:i})}function Uj(){const t=Rn(),[n,i]=E.useState(!1),s=[{href:"/",label:"Home"},{href:"/recreational-items",label:"Recreational"},{href:"/medicinal-items",label:"Medicinal"},{href:"/awards-accolades",label:"Awards"},{href:"/menu",label:"Menu"},{href:"/deals",label:"Deals"},{href:"/about",label:"About"},{href:"/contact",label:"Contact"}];return h.jsxs("header",{className:"sticky top-0 z-50 bg-background/95 backdrop-blur-sm border-b border-border shadow-sm",children:[h.jsxs("div",{className:"bg-primary text-primary-foreground text-xs py-1.5 text-center flex items-center justify-center gap-2",children:[h.jsx(Pu,{size:12}),h.jsx("span",{style:{fontFamily:"var(--font-heading)"},className:"tracking-widest font-semibold",children:"OPEN EVERYDAY 8AM–9:50PM · 2707 W 38TH AVE, DENVER CO 80211"})]}),h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs("div",{className:"flex h-20 items-center justify-between",children:[h.jsx(ks,{to:"/",className:"flex items-center shrink-0 -ml-2",children:h.jsx("img",{src:"/airo-assets/images/layouts/header/the-giving-tree-of-denver",alt:"The Giving Tree of Denver",className:"h-20 w-auto object-contain shrink-0 opacity-90 hover:opacity-100 transition-opacity",width:208,he
377ight:99})}),h.jsxs("nav",{className:"hidden md:flex items-center gap-6",children:[s.map(o=>h.jsx(ks,{to:o.href,style:{fontFamily:"var(--font-heading)"},className:`text-sm font-semibold tracking-wider transition-colors hover:text-primary ${t.pathname===o.href?"text-primary":"text-foreground"}`,children:o.label},o.href)),h.jsx("a",{href:"https://dutchie.com/dispensary/the-giving-tree-denver",target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--font-heading)"},className:"bg-primary text-primary-foreground px-5 py-2 rounded-md text-sm font-bold tracking-widest hover:bg-primary/90 transition-colors",children:"ORDER NOW"})]}),h.jsx("button",{onClick:()=>i(!n),className:"md:hidden p-2 hover:bg-muted rounded-md transition-colors","aria-label":"Toggle menu",children:h.jsx(ht,{devId:"c2c2d7",guard:{file:"src/layouts/parts/Header.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:b3e78efccf3741859addf847ccd3401fcd474b190bd3f98661200b4087eafc38"},children:n?h.jsx(bj,{size:22}):h.jsx(dj,{size:22})})})]}),n&&h.jsx("div",{className:"md:hidden border-t border-border py-4",children:h.jsxs("nav",{className:"flex flex-col gap-1",children:[s.map(o=>h.jsx(ks,{to:o.href,style:{fontFamily:"var(--font-heading)"},className:`text-sm font-semibold tracking-wider transition-colors hover:text-primary py-2.5 px-2 rounded ${t.pathname===o.href?"text-primary bg-muted":"text-foreground"}`,onClick:()=>i(!1),children:o.label},o.href)),h.jsx("a",{href:"https://dutchie.com/dispensary/the-giving-tree-denver",target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--font-heading)"},className:"mt-2 bg-primary text-primary-foreground px-5 py-2.5 rounded-md text-sm font-bold tracking-widest text-center",children:"ORDER NOW"})]})})]})]})}const Vj=[],eb={urls:Vj};function Hj(){return(Array.isArray(eb.urls)?eb.urls:[]).filter(n=>typeof n=="string"&&n.length>0)}function Fj(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=Hj();return s.length>0&&(i.sameAs=s),i}function Gj(t){return{"@context":"https://schema.org",...Fj({siteUrl:t.siteUrl,name:t.organizationName})}}const Pj=E.createContext(void 0);function Ij(){const t=E.useContext(Pj);return t||(typeof window<"u"?window.location.origin:"")}const Yj={name:"The Giving Tree of Denver"};function Kj(){const t=Rn(),n=Ij();if(t.pathname!=="/"||!n)return null;const i=Gj({siteUrl:n,organizationName:Yj.name.trim()||new globalThis.URL(n).hostname});return h.jsx(ba,{children:h.jsx("script",{type:"application/ld+json",children:JSON.stringify(i).replace(/</g,"\\u003c")})})}function q1(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=q1(t[n]))&&(s&&(s+=" "),s+=i)}else for(i in t)t[i]&&(s&&(s+=" "),s+=i);return s}function Zj(){for(var t,n,i=0,s="",o=arguments.length;i<o;i++)(t=arguments[i])&&(n=q1(t))&&(s&&(s+=" "),s+=n);return s}const Xm="-",qj=t=>{const n=Wj(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:d=>{const m=d.split(Xm);return m[0]===""&&m.length!==1&&m.shift(),X1(m,n)||Xj(d)},getConflictingClassGroupIds:(d,m)=>{const p=i[d]||[];return m&&s[d]?[...p,...s[d]]:p}}},X1=(t,n)=>{var d;if(t.length===0)return n.classGroupId;const i=t[0],s=n.nextPart.get(i),o=s?X1(t.slice(1),s):void 0;if(o)return o;if(n.validators.length===0)return;const c=t.join(Xm);return(d=n.validators.find(({validator:m})=>m(c)))==null?void 0:d.classGroupId},tb=/^\[(.+)\]$/,Xj=t=>{if(tb.test(t)){const n=tb.exec(t)[1],i=n==null?void 0:n.substring(0,n.indexOf(":"));if(i)return"arbitrary.."+i}},Wj=t=>{const{theme:n,prefix:i}=t,s={nextPart:new Map,validators:[]};return Qj(Object.entries(t.classGroups),i).forEach(([c,d])=>{tm(d,s,c,n)}),s},tm=(t,n,i,s)=>{t.forEach(o=>{if(typeof o=="string"){const c=o===""?n:nb(n,o);c.classGroupId=i;return}if(typeof o=="function"){if($j(o)){tm(o(s),n,i,s);return}n.validators.push({validator:o,classGroupId:i});return}
vendor: 4,299 bytes, line 377
377Object.entries(o).forEach(([c,d])=>{tm(d,nb(n,c),i,s)})})},nb=(t,n)=>{let i=t;return n.split(Xm).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i},$j=t=>t.isThemeGetter,Qj=(t,n)=>n?t.map(([i,s])=>{const o=s.map(c=>typeof c=="string"?n+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([d,m])=>[n+d,m])):c);return[i,o]}):t,Jj=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,i=new Map,s=new Map;const o=(c,d)=>{i.set(c,d),n++,n>t&&(n=0,s=i,i=new Map)};return{get(c){let d=i.get(c);if(d!==void 0)return d;if((d=s.get(c))!==void 0)return o(c,d),d},set(c,d){i.has(c)?i.set(c,d):o(c,d)}}},W1="!",eN=t=>{const{separator:n,experimentalParseClassName:i}=t,s=n.length===1,o=n[0],c=n.length,d=m=>{const p=[];let g=0,y=0,x;for(let j=0;j<m.length;j++){let k=m[j];if(g===0){if(k===o&&(s||m.slice(j,j+c)===n)){p.push(m.slice(y,j)),y=j+c;continue}if(k==="/"){x=j;continue}}k==="["?g++:k==="]"&&g--}const b=p.length===0?m:m.substring(y),w=b.startsWith(W1),T=w?b.substring(1):b,M=x&&x>y?x-y:void 0;return{modifiers:p,hasImportantModifier:w,baseClassName:T,maybePostfixModifierPosition:M}};return i?m=>i({className:m,parseClassName:d}):d},tN=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},nN=t=>({cache:Jj(t.cacheSize),parseClassName:eN(t),...qj(t)}),aN=/\s+/,iN=(t,n)=>{const{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:o}=n,c=[],d=t.trim().split(aN);let m="";for(let p=d.length-1;p>=0;p-=1){const g=d[p],{modifiers:y,hasImportantModifier:x,baseClassName:b,maybePostfixModifierPosition:w}=i(g);let T=!!w,M=s(T?b.substring(0,w):b);if(!M){if(!T){m=g+(m.length>0?" "+m:m);continue}if(M=s(b),!M){m=g+(m.length>0?" "+m:m);continue}T=!1}const j=tN(y).join(":"),k=x?j+W1:j,U=k+M;if(c.includes(U))continue;c.push(U);const H=o(M,T);for(let I=0;I<H.length;++I){const K=H[I];c.push(k+K)}m=g+(m.length>0?" "+m:m)}return m};function rN(){let t=0,n,i,s="";for(;t<arguments.length;)(n=arguments[t++])&&(i=$1(n))&&(s&&(s+=" "),s+=i);return s}const $1=t=>{if(typeof t=="string")return t;let n,i="";for(let s=0;s<t.length;s++)t[s]&&(n=$1(t[s]))&&(i&&(i+=" "),i+=n);return i};function sN(t,...n){let i,s,o,c=d;function d(p){const g=n.reduce((y,x)=>x(y),t());return i=nN(g),s=i.cache.get,o=i.cache.set,c=m,m(p)}function m(p){const g=s(p);if(g)return g;const y=iN(p,i);return o(p,y),y}return function(){return c(rN.apply(null,arguments))}}const yt=t=>{const n=i=>i[t]||[];return n.isThemeGetter=!0,n},Q1=/^\[(?:([a-z-]+):)?(.+)\]$/i,lN=/^\d+\/\d+$/,oN=new Set(["px","full","screen"]),cN=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,uN=/\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$/,dN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,fN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,hN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$a=t=>Ls(t)||oN.has(t)||lN.test(t),ki=t=>Ks(t,"length",SN),Ls=t=>!!t&&!Number.isNaN(Number(t)),Th=t=>Ks(t,"number",Ls),Xl=t=>!!t&&Number.isInteger(Number(t)),mN=t=>t.endsWith("%")&&Ls(t.slice(0,-1)),ke=t=>Q1.test(t),Li=t=>cN.test(t),pN=new Set(["length","size","percentage"]),gN=t=>Ks(t,pN,J1),yN=t=>Ks(t,"position",J1),vN=new Set(["image","url"]),xN=t=>Ks(t,vN,TN),bN=t=>Ks(t,"",wN),Wl=()=>!0,Ks=(t,n,i)=>{const s=Q1.exec(t);return s?s[1]?typeof n=="string"?s[1]===n:n.has(s[1]):i(s[2]):!1},SN=t=>uN.test(t)&&!dN.test(t),J1=()=>!1,wN=t=>fN.test(t),TN=t=>hN.test(t),EN=()=>{const t=yt("colors"),n=yt("spacing"),i=yt("blur"),s=yt("brightness"),o=yt("borderColor"),c=yt("borderRadius"),d=yt("borderSpacing"),m=yt("borderWidth"),p=yt("contrast"),g=yt("grayscale"),y=yt("hueRotate"),x=yt("invert"),b=yt("gap"),w=yt("gradientColorStops"),T=yt("gradientColorStopPositions"),M=yt("inset"),j=yt("margin"),k=yt("opacity"),U=yt("padding"),H=yt("saturate"),I=yt("scale"),K=yt("sepia"),oe=yt("skew"),te=yt("space"),D=yt("translate"),ee=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",ke,n],ne=()=>[ke,n],Me=()=>["",$a,ki],Be=()=>["auto",Ls,ke],ze=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],
vendor: 12,132 bytes, line 377
377V=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Q=()=>["start","end","center","between","around","evenly","stretch"],se=()=>["","0",ke],be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Se=()=>[Ls,ke];return{cacheSize:500,separator:":",theme:{colors:[Wl],spacing:[$a,ki],blur:["none","",Li,ke],brightness:Se(),borderColor:[t],borderRadius:["none","","full",Li,ke],borderSpacing:ne(),borderWidth:Me(),contrast:Se(),grayscale:se(),hueRotate:Se(),invert:se(),gap:ne(),gradientColorStops:[t],gradientColorStopPositions:[mN,ki],inset:ge(),margin:ge(),opacity:Se(),padding:ne(),saturate:Se(),scale:Se(),sepia:se(),skew:Se(),space:ne(),translate:ne()},classGroups:{aspect:[{aspect:["auto","square","video",ke]}],container:["container"],columns:[{columns:[Li]}],"break-after":[{"break-after":be()}],"break-before":[{"break-before":be()}],"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:[...ze(),ke]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[M]}],"inset-x":[{"inset-x":[M]}],"inset-y":[{"inset-y":[M]}],start:[{start:[M]}],end:[{end:[M]}],top:[{top:[M]}],right:[{right:[M]}],bottom:[{bottom:[M]}],left:[{left:[M]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Xl,ke]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ke]}],grow:[{grow:se()}],shrink:[{shrink:se()}],order:[{order:["first","last","none",Xl,ke]}],"grid-cols":[{"grid-cols":[Wl]}],"col-start-end":[{col:["auto",{span:["full",Xl,ke]},ke]}],"col-start":[{"col-start":Be()}],"col-end":[{"col-end":Be()}],"grid-rows":[{"grid-rows":[Wl]}],"row-start-end":[{row:["auto",{span:[Xl,ke]},ke]}],"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",ke]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ke]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...Q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[U]}],px:[{px:[U]}],py:[{py:[U]}],ps:[{ps:[U]}],pe:[{pe:[U]}],pt:[{pt:[U]}],pr:[{pr:[U]}],pb:[{pb:[U]}],pl:[{pl:[U]}],m:[{m:[j]}],mx:[{mx:[j]}],my:[{my:[j]}],ms:[{ms:[j]}],me:[{me:[j]}],mt:[{mt:[j]}],mr:[{mr:[j]}],mb:[{mb:[j]}],ml:[{ml:[j]}],"space-x":[{"space-x":[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",ke,n]}],"min-w":[{"min-w":[ke,n,"min","max","fit"]}],"max-w":[{"max-w":[ke,n,"none","full","min","max","fit","prose",{screen:[Li]},Li]}],h:[{h:[ke,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ke,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ke,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ke,n,"auto","min","max","fit"]}],"font-size":[{text:["base",Li,ki]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Th]}],"font-family":[{font:[Wl]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ke]}],"line-clamp":[{"line-clamp":["none",Ls,Th]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$a,ke]}],"list-image":[{"list-image":["none",ke]}],"list-style-type":[{list:["none","disc","decimal",ke]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$a,ki]}],"underline-offset":[{"underline-offset":["auto",$a,ke]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ne()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ke]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ke]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ze(),yN]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gN]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},xN]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[T]}],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[c]}],"rounded-s":[{"rounded-s":[c]}],"rounded-e":[{"rounded-e":[c]}],"rounded-t":[{"rounded-t":[c]}],"rounded-r":[{"rounded-r":[c]}],"rounded-b":[{"rounded-b":[c]}],"rounded-l":[{"rounded-l":[c]}],"rounded-ss":[{"rounded-ss":[c]}],"rounded-se":[{"rounded-se":[c]}],"rounded-ee":[{"rounded-ee":[c]}],"rounded-es":[{"rounded-es":[c]}],"rounded-tl":[{"rounded-tl":[c]}],"rounded-tr":[{"rounded-tr":[c]}],"rounded-br":[{"rounded-br":[c]}],"rounded-bl":[{"rounded-bl":[c]}],"border-w":[{border:[m]}],"border-w-x":[{"border-x":[m]}],"border-w-y":[{"border-y":[m]}],"border-w-s":[{"border-s":[m]}],"border-w-e":[{"border-e":[m]}],"border-w-t":[{"border-t":[m]}],"border-w-r":[{"border-r":[m]}],"border-w-b":[{"border-b":[m]}],"border-w-l":[{"border-l":[m]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[m]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[m]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:V()}],"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:["",...V()]}],"outline-offset":[{"outline-offset":[$a,ke]}],"outline-w":[{outline:[$a,ki]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Me()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[$a,ki]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Li,bN]}],"shadow-color":[{shadow:[Wl]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[s]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",Li,ke]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[x]}],saturate:[{saturate:[H]}],sepia:[{sepia:[K]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[H]}],"backdrop-sepia":[{"backdrop-sepia":[K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ke]}],duration:[{duration:Se()}],ease:[{ease:["linear","in","out","in-out",ke]}],delay:[{delay:Se()}],animate:[{animate:["none","spin","ping","pulse","bounce",ke]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[I]}],"scale-x":[{"scale-x":[I]}],"scale-y":[{"scale-y":[I]}],rotate:[{rotate:[Xl,ke]}],"translate-x":[{"translate-x":[D]}],"translate-y":[{"translate-y":[D]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ke]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ke]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ne()}],"scroll-mx":[{"scroll-mx":ne()}],"scroll-my":[{"scroll-my":ne()}],"scroll-ms":[{"scroll-ms":ne()}],"scroll-me":[{"scroll-me":ne()}],"scroll-mt":[{"scroll-mt":ne()}],"scroll-mr":[{"scroll-mr":ne()}],"scroll-mb":[{"scroll-mb":ne()}],"scroll-ml":[{"scroll-ml":ne()}],"scroll-p":[{"scroll-p":ne()}],"scroll-px":[{"scroll-px":ne()}],"scroll-py":[{"scroll-py":ne()}],"scroll-ps":[{"scroll-ps":ne()}],"scroll-pe":[{"scroll-pe":ne()}],"scroll-pt":[{"scroll-pt":ne()}],"scroll-pr":[{"scroll-pr":ne()}],"scroll-pb":[{"scroll-pb":ne()}],"scroll-pl":[{"scroll-pl":ne()}],"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"]}
377],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ke]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[$a,ki,Th]}],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"]}}},AN=sN(EN);function CN(...t){return AN(Zj(t))}function jN({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 h.jsx("div",{className:CN(s.minHeight!==!1&&"min-h-screen",o(),"flex flex-col",i),children:t})}function NN({children:t}){return h.jsxs(jN,{children:[h.jsxs(ba,{children:[h.jsx("title",{children:"The Giving Tree of Denver | Cannabis Dispensary — Highlands & Sunnyside"}),h.jsx("meta",{name:"description",content:"Family-owned cannabis dispensary in Denver's Highlands/Sunnyside neighborhood. Open daily 8AM–9:50PM at 2707 W 38th Ave. Recreational & medical. Colorado's largest edible selection."}),h.jsx("meta",{property:"og:site_name",content:"The Giving Tree of Denver"}),h.jsx("meta",{property:"og:type",content:"website"}),h.jsx("meta",{property:"og:locale",content:"en_US"}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"})]}),h.jsx(Kj,{}),h.jsx(V1,{}),h.jsx(Uj,{}),t,h.jsx(Sj,{})]})}function RN({className:t}){return h.jsx("div",{className:`inline-block ${t||""}`,children:h.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:[h.jsx("circle",{className:"opacity-10",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),h.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 Wm=E.createContext({});function $m(t){const n=E.useRef(null);return n.current===null&&(n.current=t()),n.current}const DN=typeof window<"u",eS=DN?E.useLayoutEffect:E.useEffect,Iu=E.createContext(null);function Qm(t,n){t.indexOf(n)===-1&&t.push(n)}function Tu(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}const xa=(t,n,i)=>i>n?n:i<t?t:i;let Jm=()=>{};const Zi={},tS=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function nS(t){return typeof t=="object"&&t!==null}const aS=t=>/^0[^.\s]+$/u.test(t);function iS(t){let n;return()=>(n===void 0&&(n=t()),n)}const Yn=t=>t,MN=(t,n)=>i=>n(t(i)),Do=(...t)=>t.reduce(MN),bo=(t,n,i)=>{const s=n-t;return s===0?1:(i-t)/s};class ep{constructor(){this.subscriptions=[]}add(n){return Qm(this.subscriptions,n),()=>Tu(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 c=0;c<o;c++){const d=this.subscriptions[c];d&&d(n,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Cn=t=>t*1e3,Pn=t=>t/1e3;function rS(t,n){return n?t*(1e3/n):0}const sS=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,_N=1e-7,ON=12;function kN(t,n,i,s,o){let c,d,m=0;do d=n+(i-n)/2,c=sS(d,s,o)-t,c>0?i=d:n=d;while(Math.abs(c)>_N&&++m<ON);return d}function Mo(t,n,i,s){if(t===n&&i===s)return Yn;const o=c=>kN(c,0,1,t,i);return c=>c===0||c===1?c:sS(o(c),n,s)}const lS=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,oS=t=>n=>1-t(1-n),cS=Mo(.33,1.53,.69,.99),tp=oS(cS),uS=lS(tp),dS=t=>t>=1?1:(t*=2)<1?.5*tp(t):.5*(2-Math.pow(2,-10*(t-1))),np=t=>1-Math.sin(Math.acos(t)),fS=oS(np),hS=lS(np),LN=Mo(.42,0,1,1),zN=Mo(0,0,.58,1),mS=Mo(.42,0,.58,1),BN=t=>Array.isArray(t)&&typeof t[0]!="number",pS=t=>Array.isArray(t)&&typeof t[0]=="number",UN={linear:Yn,easeIn:LN,easeInOut:mS,easeOut:zN,circIn:np,circInOut:hS,circOut:fS,backIn:tp,backInOut:uS,backOut:cS,anticipate:dS},VN=t=>typeof t=="string",ab=t=>{if(pS(t)){Jm(t.length===4);const[n,i,s,o]=t;return Mo(n,i,s,o)}else if(VN(t))return UN[t];return t},tu=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function HN(t,n){let i=new Set,s=new Set,o=!1,c=!1;const d=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function p(y){d.has(y)&&(g.schedule(y),t()),y(m)}const g={schedule:(y,x=!1,b=!1)=>{const T=b&&o?i:s;return x&&d.add(y),T.add(y),y},cancel:y=>{s.delete(y),d.delete(y)},process:y=>{if(m=y,o){c=!0;return}o=!0;const x=i;
vendor: 26,477 bytes, line 377
377i=s,s=x,i.forEach(p),i.clear(),o=!1,c&&(c=!1,g.process(y))}};return g}const FN=40;function gS(t,n){let i=!1,s=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>i=!0,d=tu.reduce((H,I)=>(H[I]=HN(c),H),{}),{setup:m,read:p,resolveKeyframes:g,preUpdate:y,update:x,preRender:b,render:w,postRender:T}=d,M=()=>{const H=Zi.useManualTiming,I=H?o.timestamp:performance.now();i=!1,H||(o.delta=s?1e3/60:Math.max(Math.min(I-o.timestamp,FN),1)),o.timestamp=I,o.isProcessing=!0,m.process(o),p.process(o),g.process(o),y.process(o),x.process(o),b.process(o),w.process(o),T.process(o),o.isProcessing=!1,i&&n&&(s=!1,t(M))},j=()=>{i=!0,s=!0,o.isProcessing||t(M)};return{schedule:tu.reduce((H,I)=>{const K=d[I];return H[I]=(oe,te=!1,D=!1)=>(i||j(),K.schedule(oe,te,D)),H},{}),cancel:H=>{for(let I=0;I<tu.length;I++)d[tu[I]].cancel(H)},state:o,steps:d}}const{schedule:dt,cancel:qi,state:Yt,steps:Eh}=gS(typeof requestAnimationFrame<"u"?requestAnimationFrame:Yn,!0);let uu;function GN(){uu=void 0}const tn={now:()=>(uu===void 0&&tn.set(Yt.isProcessing||Zi.useManualTiming?Yt.timestamp:performance.now()),uu),set:t=>{uu=t,queueMicrotask(GN)}},yS=t=>n=>typeof n=="string"&&n.startsWith(t),vS=yS("--"),PN=yS("var(--"),ap=t=>PN(t)?IN.test(t.split("/*")[0].trim()):!1,IN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ib(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const Zs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},So={...Zs,transform:t=>xa(0,1,t)},nu={...Zs,default:1},uo=t=>Math.round(t*1e5)/1e5,ip=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function YN(t){return t==null}const KN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,rp=(t,n)=>i=>!!(typeof i=="string"&&KN.test(i)&&i.startsWith(t)||n&&!YN(i)&&Object.prototype.hasOwnProperty.call(i,n)),xS=(t,n,i)=>s=>{if(typeof s!="string")return s;const[o,c,d,m]=s.match(ip);return{[t]:parseFloat(o),[n]:parseFloat(c),[i]:parseFloat(d),alpha:m!==void 0?parseFloat(m):1}},ZN=t=>xa(0,255,t),Ah={...Zs,transform:t=>Math.round(ZN(t))},Nr={test:rp("rgb","red"),parse:xS("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:s=1})=>"rgba("+Ah.transform(t)+", "+Ah.transform(n)+", "+Ah.transform(i)+", "+uo(So.transform(s))+")"};function qN(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 nm={test:rp("#"),parse:qN,transform:Nr.transform},_o=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),Vi=_o("deg"),ya=_o("%"),de=_o("px"),XN=_o("vh"),WN=_o("vw"),rb={...ya,parse:t=>ya.parse(t)/100,transform:t=>ya.transform(t*100)},Rs={test:rp("hsl","hue"),parse:xS("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+ya.transform(uo(n))+", "+ya.transform(uo(i))+", "+uo(So.transform(s))+")"},_t={test:t=>Nr.test(t)||nm.test(t)||Rs.test(t),parse:t=>Nr.test(t)?Nr.parse(t):Rs.test(t)?Rs.parse(t):nm.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Nr.transform(t):Rs.transform(t),getAnimatableNone:t=>{const n=_t.parse(t);return n.alpha=0,_t.transform(n)}},$N=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function QN(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(ip))==null?void 0:n.length)||0)+(((i=t.match($N))==null?void 0:i.length)||0)>0}const bS="number",SS="color",JN="var",eR="var(",sb="${}",tR=/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 Bs(t){const n=t.toString(),i=[],s={color:[],number:[],var:[]},o=[];let c=0;const m=n.replace(tR,p=>(_t.test(p)?(s.color.push(c),o.push(SS),i.push(_t.parse(p))):p.startsWith(eR)?(s.var.push(c),o.push(JN),i.push(p)):(s.number.push(c),o.push(bS),i.push(parseFloat(p))),++c,sb)).split(sb);return{values:i,split:m,indexes:s,types:o}}function nR(t){return Bs(t).values}function wS({split:t,types:n}){const i=t.length;return s=>{let o="";for(let c=0;c<i;c++)if(o+=t[c],s[c]!==void 0){const d=n[c];d===bS?o+=uo(s[c]):d===SS?o+=_t.transform(s[c]):o+=s[c]}return o}}function aR(t){return wS(Bs(t))}const iR=t=>typeof t=="number"?0:_t.test(t)?_t.getAnimatableNone(t):t,rR=(t,n)=>typeof t=="number"?n!=null&&n.trim().endsWith("/")?t:0:iR(t);function sR(t){const n=Bs(t);return wS(n)(n.values.map((s,o)=>rR(s,n.split[o])))}const ra={test:QN,parse:nR,createTransformer:aR,getAnimatableNone:sR};function Ch(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 lR({hue:t,saturation:n,lightness:i,alpha:s}){t/=360,n/=100,i/=100;let o=0,c=0,d=0;if(!n)o=c=d=i;else{const m=i<.5?i*(1+n):i+n-i*n,p=2*i-m;o=Ch(p,m,t+1/3),c=Ch(p,m,t),d=Ch(p,m,t-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(d*255),alpha:s}}function Eu(t,n){return i=>i>0?n:t}const vt=(t,n,i)=>t+(n-t)*i,jh=(t,n,i)=>{const s=t*t,o=i*(n*n-s)+s;return o<0?0:Math.sqrt(o)},oR=[nm,Nr,Rs],cR=t=>oR.find(n=>n.test(t));function lb(t){const n=cR(t);if(!n)return!1;let i=n.parse(t);return n===Rs&&(i=lR(i)),i}const ob=(t,n)=>{const i=lb(t),s=lb(n);if(!i||!s)return Eu(t,n);const o={...i};return c=>(o.red=jh(i.red,s.red,c),o.green=jh(i.green,s.green,c),o.blue=jh(i.blue,s.blue,c),o.alpha=vt(i.alpha,s.alpha,c),Nr.transform(o))},am=new Set(["none","hidden"]);function uR(t,n){return am.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function dR(t,n){return i=>vt(t,n,i)}function sp(t){return typeof t=="number"?dR:typeof t=="string"?ap(t)?Eu:_t.test(t)?ob:mR:Array.isArray(t)?TS:typeof t=="object"?_t.test(t)?ob:fR:Eu}function TS(t,n){const i=[...t],s=i.length,o=t.map((c,d)=>sp(c)(c,n[d]));return c=>{for(let d=0;d<s;d++)i[d]=o[d](c);return i}}function fR(t,n){const i={...t,...n},s={};for(const o in i)t[o]!==void 0&&n[o]!==void 0&&(s[o]=sp(t[o])(t[o],n[o]));return o=>{for(const c in s)i[c]=s[c](o);return i}}function hR(t,n){const i=[],s={color:0,var:0,number:0};for(let o=0;o<n.values.length;o++){const c=n.types[o],d=t.indexes[c][s[c]],m=t.values[d]??0;i[o]=m,s[c]++}return i}const mR=(t,n)=>{const i=ra.createTransformer(n),s=Bs(t),o=Bs(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?am.has(t)&&!o.values.length||am.has(n)&&!s.values.length?uR(t,n):Do(TS(hR(s,o),o.values),i):Eu(t,n)};function ES(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?vt(t,n,i):sp(t)(t,n)}const pR=t=>{const n=({timestamp:i})=>t(i);return{start:(i=!0)=>dt.update(n,i),stop:()=>qi(n),now:()=>Yt.isProcessing?Yt.timestamp:tn.now()}},AS=(t,n,i=10)=>{let s="";const o=Math.max(Math.round(n/i),2);for(let c=0;c<o;c++)s+=Math.round(t(c/(o-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},Au=2e4;function lp(t){let n=0;const i=50;let s=t.next(n);for(;!s.done&&n<Au;)n+=i,s=t.next(n);return n>=Au?1/0:n}function gR(t,n=100,i){const s=i({...t,keyframes:[0,n]}),o=Math.min(lp(s),Au);return{type:"keyframes",ease:c=>s.next(o*c).value/n,duration:Pn(o)}}const Et={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 im(t,n){return t*Math.sqrt(1-n*n)}const yR=12;function vR(t,n,i){let s=i;for(let o=1;o<yR;o++)s=s-t(s)/n(s);return s}const Nh=.001;function xR({duration:t=Et.duration,bounce:n=Et.bounce,velocity:i=Et.velocity,mass:s=Et.mass}){let o,c,d=1-n;d=xa(Et.minDamping,Et.maxDamping,d),t=xa(Et.minDuration,Et.maxDuration,Pn(t)),d<1?(o=g=>{const y=g*d,x=y*t,b=y-i,w=im(g,d),T=Math.exp(-x);return Nh-b/w*T},c=g=>{const x=g*d*t,b=x*i+i,w=Math.pow(d,2)*Math.pow(g,2)*t,T=Math.exp(-x),M=im(Math.pow(g,2),d);return(-o(g)+Nh>0?-1:1)*((b-w)*T)/M}):(o=g=>{const y=Math.exp(-g*t),x=(g-i)*t+1;return-Nh+y*x},c=g=>{const y=Math.exp(-g*t),x=(i-g)*(t*t);return y*x});const m=5/t,p=vR(o,c,m);if(t=Cn(t),isNaN(p))return{stiffness:Et.stiffness,damping:Et.damping,duration:t};{const g=Math.pow(p,2)*s;return{stiffness:g,damping:d*2*Math.sqrt(s*g),duration:t}}}const bR=["duration","bounce"],SR=["stiffness","damping","mass"];function cb(t,n){return n.some(i=>t[i]!==void 0)}function wR(t){let n={velocity:Et.velocity,stiffness:Et.stiffness,damping:Et.damping,mass:Et.mass,isResolvedFromDuration:!1,...t};if(!cb(t,SR)&&cb(t,bR))if(n.velocity=0,t.visualDuration){const i=t.visualDuration,s=2*Math.PI/(i*1.2),o=s*s,c=2*xa(.05,1,1-(t.bounce||0))*Math.sqrt(o);n={...n,mass:Et.mass,stiffness:o,damping:c}}else{const i=xR({...t,velocity:0});n={...n,...i,mass:Et.mass},n.isResolvedFromDuration=!0}return n}function Cu(t=Et.visualDuration,n=Et.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:s,restDelta:o}=i;const c=i.keyframes[0],d=i.keyframes[i.keyframes.length-1],m={done:!1,value:c},{stiffness:p,damping:g,mass:y,duration:x,velocity:b,isResolvedFromDuration:w}=wR({...i,velocity:-Pn(i.velocity||0)}),T=b||0,M=g/(2*Math.sqrt(p*y)),j=d-c,k=Pn(Math.sqrt(p/y)),U=Math.abs(j)<5;s||(s=U?Et.restSpeed.granular:Et.restSpeed.default),o||(o=U?Et.restDelta.granular:Et.restDelta.default);let H,I,K,oe,te,D;if(M<1)K=im(k,M),oe=(T+M*k*j)/K,H=$=>{const ge=Math.exp(-M*k*$);return d-ge*(oe*Math.sin(K*$)+j*Math.cos(K*$))},te=M*k*oe+j*K,D=M*k*j-oe*K,I=$=>Math.exp(-M*k*$)*(te*Math.sin(K*$)+D*Math.cos(K*$));else if(M===1){H=ge=>d-Math.exp(-k*ge)*(j+(T+k*j)*ge);const $=T+k*j;I=ge=>Math.exp(-k*ge)*(k*$*ge-T)}else{const $=k*Math.sqrt(M*M-1);H=Be=>{const ze=Math.exp(-M*k*Be),V=Math.min($*Be,300);return d-ze*((T+M*k*j)*Math.sinh(V)+$*j*Math.cosh(V))/$};const ge=(T+M*k*j)/$,ne=M*k*ge-j*$,Me=M*k*j-ge*$;I=Be=>{const ze=Math.exp(-M*k*Be),V=Math.min($*Be,300);return ze*(ne*Math.sinh(V)+Me*Math.cosh(V))}}const ee={calculatedDuration:w&&x||null,velocity:$=>Cn(I($)),next:$=>{if(!w&&M<1){const ne=Math.exp(-M*k*$),Me=Math.sin(K*$),Be=Math.cos(K*$),ze=d-ne*(oe*Me+j*Be),V=Cn(ne*(te*Me+D*Be));return m.done=Math.abs(V)<=s&&Math.abs(d-ze)<=o,m.value=m.done?d:ze,m}const ge=H($);if(w)m.done=$>=x;else{const ne=Cn(I($));m.done=Math.abs(ne)<=s&&Math.abs(d-ge)<=o}return m.value=m.done?d:ge,m},toString:()=>{const $=Math.min(lp(ee),Au),ge=AS(ne=>ee.next($*ne).value,$,30);return $+"ms "+ge},toTransition:()=>{}};return ee}Cu.applyToOptions=t=>{const n=gR(t,100,Cu);return t.ease=n.ease,t.duration=Cn(n.duration),t.type="keyframes",t};const TR=5;function CS(t,n,i){const s=Math.max(n-TR,0);return rS(i-t(s),n-s)}function rm({keyframes:t,velocity:n=0,power:i=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:d,min:m,max:p,restDelta:g=.5,restSpeed:y}){const x=t[0],b={done:!1,value:x},w=D=>m!==void 0&&D<m||p!==void 0&&D>p,T=D=>m===void 0?p:p===void 0||Math.abs(m-D)<Math.abs(p-D)?m:p;let M=i*n;const j=x+M,k=d===void 0?j:d(j);k!==j&&(M=k-x);const U=D=>-M*Math.exp(-D/s),H=D=>k+U(D),I=D=>{const ee=U(D),$=H(D);b.done=Math.abs(ee)<=g,b.value=b.done?k:$};let K,oe;const te=D=>{w(b.value)&&(K=D,oe=Cu({keyframes:[b.value,T(b.value)],velocity:CS(H,D,b.value),damping:o,stiffness:c,restDelta:g,restSpeed:y}))};return te(0),{calculatedDuration:null,next:D=>{let ee=!1;return!oe&&K===void 0&&(ee=!0,I(D),te(D)),K!==void 0&&D>=K?oe.next(D-K):(!ee&&I(D),b)}}}function ER(t,n,i){const s=[],o=i||Zi.mix||ES,c=t.length-1;for(let d=0;d<c;d++){let m=o(t[d],t[d+1]);if(n){const p=Array.isArray(n)?n[d]||Yn:n;m=Do(p,m)}s.push(m)}return s}function AR(t,n,{clamp:i=!0,ease:s,mixer:o}={}){const c=t.length;if(Jm(c===n.length),c===1)return()=>n[0];if(c===2&&n[0]===n[1])return()=>n[1];const d=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),n=[...n].reverse());const m=ER(n,s,o),p=m.length,g=y=>{if(d&&y<t[0])return n[0];let x=0;if(p>1)for(;x<t.length-2&&!(y<t[x+1]);x++);const b=bo(t[x],t[x+1],y);return m[x](b)};return i?y=>g(xa(t[0],t[c-1],y)):g}function CR(t,n){const i=t[t.length-1];for(let s=1;s<=n;s++){const o=bo(0,n,s);t.push(vt(i,1,o))}}function jR(t){const n=[0];return CR(n,t.length-1),n}function NR(t,n){return t.map(i=>i*n)}function RR(t,n){return t.map(()=>n||mS).splice(0,t.length-1)}function fo({duration:t=300,keyframes:n,times:i,ease:s="easeInOut"}){const o=BN(s)?s.map(ab):ab(s),c={done:!1,value:n[0]},d=NR(i&&i.length===n.length?i:jR(n),t),m=AR(d,n,{ease:Array.isArray(o)?o:RR(n,o)});return{calculatedDuration:t,next:p=>(c.value=m(p),c.done=p>=t,c)}}const DR=t=>t!==null;function Yu(t,{repeat:n,repeatType:i="loop"},s,o=1){const c=t.filter(DR),m=o<0||n&&i!=="loop"&&n%2===1?0:c.length-1;return!m||s===void 0?c[m]:s}const MR={decay:rm,inertia:rm,tween:fo,keyframes:fo,spring:Cu};function jS(t){typeof t.type=="string"&&(t.type=MR[t.type])}class op{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 _R=t=>t/100;class ju extends op{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!==tn.now()&&this.tick(tn.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;jS(n);const{type:i=fo,repeat:s=0,repeatDelay:o=0,repeatType:c,velocity:d=0}=n;let{keyframes:m}=n;const p=i||fo;p!==fo&&typeof m[0]!="number"&&(this.mixKeyframes=Do(_R,ES(m[0],m[1])),m=[0,100]);const g=p({...n,keyframes:m});c==="mirror"&&(this.mirroredGenerator=p({...n,keyframes:[...m].reverse(),velocity:-d})),g.calculatedDuration===null&&(g.calculatedDuration=lp(g));const{calculatedDuration:y}=g;this.calculatedDuration=y,this.resolvedDuration=y+o,this.totalDuration=this.resolvedDuration*(s+1)-o,this.generator=g}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:c,mirroredGenerator:d,resolvedDuration:m,calculatedDuration:p}=this;if(this.startTime===null)return s.next(0);const{delay:g=0,keyframes:y,repeat:x,repeatType:b,repeatDelay:w,type:T,onUpdate:M,finalKeyframe:j}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-o/this.speed,this.startTime)),i?this.currentTime=n:this.updateTime(n);const k=this.currentTime-g*(this.playbackSpeed>=0?1:-1),U=this.playbackSpeed>=0?k<0:k>o;this.currentTime=Math.max(k,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let H=this.currentTime,I=s;if(x){const D=Math.min(this.currentTime,o)/m;let ee=Math.floor(D),$=D%1;!$&&D>=1&&($=1),$===1&&ee--,ee=Math.min(ee,x+1),!!(ee%2)&&(b==="reverse"?($=1-$,w&&($-=w/m)):b==="mirror"&&(I=d)),H=xa(0,1,$)*m}let K;U?(this.delayState.value=y[0],K=this.delayState):K=I.next(H),c&&!U&&(K.value=c(K.value));let{done:oe}=K;!U&&p!==null&&(oe=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const te=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&oe);return te&&T!==rm&&(K.value=Yu(y,this.options,j,this.speed)),M&&M(K.value),te&&this.finish(),K}then(n,i){return this.finished.then(n,i)}get duration(){return Pn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Pn(n)}get time(){return Pn(this.currentTime)}set time(n){n=Cn(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 CS(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(tn.now()),this.playbackSpeed=n,i&&this.driver&&(this.time=Pn(this.currentTime))}play(){var o,c;if(this.isStopped)return;const{driver:n=pR,startTime:i}=this.options;this.driver||(this.driver=n(d=>this.tick(d))),(c=(o=this.options).onPlay)==null||c.call(o);const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=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(tn.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 OR(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const Rr=t=>t*180/Math.PI,sm=t=>{const n=Rr(Math.atan2(t[1],t[0]));return lm(n)},kR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:sm,rotateZ:sm,skewX:t=>Rr(Math.atan(t[1])),skewY:t=>Rr(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},lm=t=>(t=t%360,t<0&&(t+=360),t),ub=sm,db=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),fb=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),LR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:db,scaleY:fb,scale:t=>(db(t)+fb(t))/2,rotateX:t=>lm(Rr(Math.atan2(t[6],t[5]))),rotateY:t=>lm(Rr(Math.atan2(-t[2],t[0]))),rotateZ:ub,rotate:ub,skewX:t=>Rr(Math.atan(t[4])),skewY:t=>Rr(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function om(t){return t.includes("scale")?1:0}function cm(t,n){if(!t||t==="none")return om(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,o;if(i)s=LR,o=i;else{const m=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=kR,o=m}if(!o)return om(n);const c=s[n],d=o[1].split(",").map(BR);return typeof c=="function"?c(d):d[c]}const zR=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return cm(i,n)};function BR(t){return parseFloat(t.trim())}const qs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xs=new Set(qs),hb=t=>t===Zs||t===de,UR=new Set(["x","y","z"]),VR=qs.filter(t=>!UR.has(t));function HR(t){const n=[];return VR.forEach(i=>{const s=t.getValue(i);s!==void 0&&(n.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),n}const Ii={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})=>cm(n,"x"),y:(t,{transform:n})=>cm(n,"y")};Ii.translateX=Ii.x;Ii.translateY=Ii.y;const _r=new Set;let um=!1,dm=!1,fm=!1;function NS(){if(dm){const t=Array.from(_r).filter(s=>s.needsMeasurement),n=new Set(t.map(s=>s.element)),i=new Map;n.forEach(s=>{const o=HR(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(([c,d])=>{var m;(m=s.getValue(c))==null||m.set(d)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}dm=!1,um=!1,_r.forEach(t=>t.complete(fm)),_r.clear()}function RS(){_r.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(dm=!0)})}function FR(){fm=!0,RS(),NS(),fm=!1}class cp{constructor(n,i,s,o,c,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=c,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(_r.add(this),um||(um=!0,dt.read(RS),dt.resolveKeyframes(NS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:s,motionValue:o}=this;if(n[0]===null){const c=o==null?void 0:o.get(),d=n[n.length-1];if(c!==void 0)n[0]=c;else if(s&&i){const m=s.readValue(i,d);m!=null&&(n[0]=m)}n[0]===void 0&&(n[0]=d),o&&c===void 0&&o.set(n[0])}OR(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),_r.delete(this)}cancel(){this.state==="scheduled"&&(_r.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const GR=t=>t.startsWith("--");function DS(t,n,i){GR(n)?t.style.setProperty(n,i):t.style[n]=i}const PR={};function MS(t,n){const i=iS(t);return()=>PR[n]??i()}const IR=MS(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),_S=MS(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ao=([t,n,i,s])=>`cubic-bezier(${t}, ${n}, ${i}, ${s})`,mb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ao([0,.65,.55,1]),circOut:ao([.55,0,1,.45]),backIn:ao([.31,.01,.66,-.59]),backOut:ao([.33,1.53,.69,.99])};function OS(t,n){if(t)return typeof t=="function"?_S()?AS(t,n):"ease-out":pS(t)?ao(t):Array.isArray(t)?t.map(i=>OS(i,n)||mb.easeOut):mb[t]}function YR(t,n,i,{delay:s=0,duration:o=300,repeat:c=0,repeatType:d="loop",ease:m="easeOut",times:p}={},g=void 0){const y={[n]:i};p&&(y.offset=p);const x=OS(m,o);Array.isArray(x)&&(y.easing=x);const b={delay:s,duration:o,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:c+1,direction:d==="reverse"?"alternate":"normal"};return g&&(b.pseudoElement=g),t.animate(y,b)}function kS(t){return typeof t=="function"&&"applyToOptions"in t}function KR({type:t,...n}){return kS(t)&&_S()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class LS extends op{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:i,name:s,keyframes:o,pseudoElement:c,allowFlatten:d=!1,finalKeyframe:m,onComplete:p}=n;this.isPseudoElement=!!c,this.allowFlatten=d,this.options=n,Jm(typeof n.type!="string");const g=KR(n);this.animation=YR(i,s,o,g,c),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const y=Yu(o,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(y),DS(i,s,y),this.animation.cancel()}p==null||p(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var 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 Pn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Pn(n)}get time(){return Pn(Number(this.animation.currentTime)||0)}set time(n){const i=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Cn(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 c;return this.allowFlatten&&((c=this.animation.effect)==null||c.updateTiming({easing:"linear"})),this.animation.onfinish=null,n&&IR()?(this.animation.timeline=n,i&&(this.animation.rangeStart=i),s&&(this.animation.rangeEnd=s),Yn):o(this)}}const zS={anticipate:dS,backInOut:uS,circInOut:hS};function ZR(t){return t in zS}function qR(t){typeof t.ease=="string"&&ZR(t.ease)&&(t.ease=zS[t.ease])}const Rh=10;class XR extends LS{constructor(n){qR(n),jS(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:c,...d}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const m=new ju({...d,autoplay:!1}),p=Math.max(Rh,tn.now()-this.startTime),g=xa(0,Rh,p-Rh),y=m.sample(p).value,{name:x}=this.options;c&&x&&DS(c,x,y),i.setWithVelocity(m.sample(Math.max(0,p-g)).value,y,g),m.stop()}}const pb=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(ra.test(t)||t==="0")&&!t.startsWith("url("));function WR(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 $R(t,n,i,s){const o=t[0];if(o===null)return!1;if(n==="display"||n==="visibility")return!0;const c=t[t.length-1],d=pb(o,n),m=pb(c,n);
377return!d||!m?!1:WR(t)||(i==="spring"||kS(i))&&s}function hm(t){t.duration=0,t.type="keyframes"}const BS=new Set(["opacity","clipPath","filter","transform"]),QR=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function JR(t){for(let n=0;n<t.length;n++)if(typeof t[n]=="string"&&QR.test(t[n]))return!0;return!1}const eD=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tD=iS(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function nD(t){var x;const{motionValue:n,name:i,repeatDelay:s,repeatType:o,damping:c,type:d,keyframes:m}=t;if(!(((x=n==null?void 0:n.owner)==null?void 0:x.current)instanceof HTMLElement))return!1;const{onUpdate:g,transformTemplate:y}=n.owner.getProps();return tD()&&i&&(BS.has(i)||eD.has(i)&&JR(m))&&(i!=="transform"||!y)&&!g&&!s&&o!=="mirror"&&c!==0&&d!=="inertia"}const aD=40;class iD extends op{constructor({autoplay:n=!0,delay:i=0,type:s="keyframes",repeat:o=0,repeatDelay:c=0,repeatType:d="loop",keyframes:m,name:p,motionValue:g,element:y,...x}){var T;super(),this.stop=()=>{var M,j;this._animation&&(this._animation.stop(),(M=this.stopTimeline)==null||M.call(this)),(j=this.keyframeResolver)==null||j.cancel()},this.createdAt=tn.now();const b={autoplay:n,delay:i,type:s,repeat:o,repeatDelay:c,repeatType:d,name:p,motionValue:g,element:y,...x},w=(y==null?void 0:y.KeyframeResolver)||cp;this.keyframeResolver=new w(m,(M,j,k)=>this.onKeyframesResolved(M,j,b,!k),p,g,y),(T=this.keyframeResolver)==null||T.scheduleResolve()}onKeyframesResolved(n,i,s,o){var k,U;this.keyframeResolver=void 0;const{name:c,type:d,velocity:m,delay:p,isHandoff:g,onUpdate:y}=s;this.resolvedAt=tn.now();let x=!0;$R(n,c,d,m)||(x=!1,(Zi.instantAnimations||!p)&&(y==null||y(Yu(n,s,i))),n[0]=n[n.length-1],hm(s),s.repeat=0);const w={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>aD?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:n},T=x&&!g&&nD(w),M=(U=(k=w.motionValue)==null?void 0:k.owner)==null?void 0:U.current;let j;if(T)try{j=new XR({...w,element:M})}catch{j=new ju(w)}else j=new ju(w);j.finished.then(()=>{this.notifyFinished()}).catch(Yn),this.pendingTimeline&&(this.stopTimeline=j.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=j}get finished(){return this._animation?this.animation.finished:this._finished}then(n,i){return this.finished.finally(n).then(()=>{})}get animation(){var n;return this._animation||((n=this.keyframeResolver)==null||n.resume(),FR()),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 US(t,n,i,s=0,o=1){const c=Array.from(t).sort((g,y)=>g.sortNodePosition(y)).indexOf(n),d=t.size,m=(d-1)*s;return typeof i=="function"?i(c,d):o===1?c*s:m-c*s}const rD=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function sD(t){const n=rD.exec(t);if(!n)return[,];const[,i,s,o]=n;return[`--${i??s}`,o]}function VS(t,n,i=1){const[s,o]=sD(t);if(!s)return;const c=window.getComputedStyle(n).getPropertyValue(s);if(c){const d=c.trim();return tS(d)?parseFloat(d):d}return ap(o)?VS(o,n,i+1):o}const lD={type:"spring",stiffness:500,damping:25,restSpeed:10},oD=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),cD={type:"keyframes",duration:.8},uD={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dD=(t,{keyframes:n})=>n.length>2?cD:Xs.has(t)?t.startsWith("scale")?oD(n[1]):lD:uD;function HS(t,n){if(t!=null&&t.inherit&&n){const{inherit:i,...s}=t;return{...n,...s}}return t}function up(t,n){const i=(t==null?void 0:t[n])??(t==null?void 0:t.default)??t;return i!==t?HS(i,t):i}const fD=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function hD(t){for(const n in t)if(!fD.has(n))return!0;return!1}const dp=(t,n,i,s={},o,c)=>d=>{const m=up(s,t)||{},p=m.delay||s.delay||0;let{elapsed:g=0}=s;g=g-Cn(p);const y={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...m,delay:-g,onUpdate:b=>{n.set(b),m.onUpdate&&m.onUpdate(b)},onComplete:()=>{d(),m.onComplete&&m.onComplete()},name:t,motionValue:n,element:c?void 0:o};hD(m)||Object.assign(y,dD(t,y)),y.duration&&(y.duration=Cn(y.duration)),y.repeatDelay&&(y.repeatDelay=Cn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let x=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(hm(y),y.delay===0&&(x=!0)),(Zi.instantAnimations||Zi.skipAnimations||o!=null&&o.shouldSkipAnimations)&&(x=!0,hm(y),y.delay=0),y.allowFlatten=!m.type&&!m.ease,x&&!c&&n.get()!==void 0){const b=Yu(y.keyframes,m);if(b!==void 0){dt.update(()=>{y.onUpdate(b),y.onComplete()});return}}return m.isSync?new ju(y):new iD(y)};function gb(t){const n=[{},{}];
vendor: 51,347 bytes, line 377
377return t==null||t.values.forEach((i,s)=>{n[0][s]=i.get(),n[1][s]=i.getVelocity()}),n}function fp(t,n,i,s){if(typeof n=="function"){const[o,c]=gb(s);n=n(i!==void 0?i:t.custom,o,c)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[o,c]=gb(s);n=n(i!==void 0?i:t.custom,o,c)}return n}function Or(t,n,i){const s=t.getProps();return fp(s,n,i!==void 0?i:s.custom,t)}const FS=new Set(["width","height","top","left","right","bottom",...qs]),yb=30,mD=t=>!isNaN(parseFloat(t));class pD{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var c;const o=tn.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((c=this.events.change)==null||c.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=tn.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=mD(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 ep);const s=this.events[n].add(i);return n==="change"?()=>{s(),dt.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-s}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var n;(n=this.events.change)==null||n.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=tn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>yb)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,yb);return rS(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 Us(t,n){return new pD(t,n)}const mm=t=>Array.isArray(t);function gD(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,Us(i))}function yD(t){return mm(t)?t[t.length-1]||0:t}function vD(t,n){const i=Or(t,n);let{transitionEnd:s={},transition:o={},...c}=i||{};c={...c,...s};for(const d in c){const m=yD(c[d]);gD(t,d,m)}}const Zt=t=>!!(t&&t.getVelocity);function xD(t){return!!(Zt(t)&&t.add)}function pm(t,n){const i=t.getValue("willChange");if(xD(i))return i.add(n);if(!i&&Zi.WillChange){const s=new Zi.WillChange("auto");t.addValue("willChange",s),s.add(n)}}function hp(t){return t.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const bD="framerAppearId",GS="data-"+hp(bD);function PS(t){return t.props[GS]}function SD({protectedKeys:t,needsAnimating:n},i){const s=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,s}function IS(t,n,{delay:i=0,transitionOverride:s,type:o}={}){let{transition:c,transitionEnd:d,...m}=n;const p=t.getDefaultTransition();c=c?HS(c,p):p;const g=c==null?void 0:c.reduceMotion;s&&(c=s);const y=[],x=o&&t.animationState&&t.animationState.getState()[o];for(const b in m){const w=t.getValue(b,t.latestValues[b]??null),T=m[b];if(T===void 0||x&&SD(x,b))continue;const M={delay:i,...up(c||{},b)},j=w.get();if(j!==void 0&&!w.isAnimating()&&!Array.isArray(T)&&T===j&&!M.velocity){dt.update(()=>w.set(T));continue}let k=!1;if(window.MotionHandoffAnimation){const I=PS(t);if(I){const K=window.MotionHandoffAnimation(I,b,dt);K!==null&&(M.startTime=K,k=!0)}}pm(t,b);const U=g??t.shouldReduceMotion;w.start(dp(b,w,T,U&&FS.has(b)?{type:!1}:M,t,k));const H=w.animation;H&&y.push(H)}if(d){const b=()=>dt.update(()=>{d&&vD(t,d)});y.length?Promise.all(y).then(b):b()}return y}function gm(t,n,i={}){var p;const s=Or(t,n,i.type==="exit"?(p=t.presenceContext)==null?void 0:p.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(o=i.transitionOverride);const c=s?()=>Promise.all(IS(t,s,i)):()=>Promise.resolve(),d=t.variantChildren&&t.variantChildren.size?(g=0)=>{const{delayChildren:y=0,staggerChildren:x,staggerDirection:b}=o;return wD(t,n,g,y,x,b,i)}:()=>Promise.resolve(),{when:m}=o;if(m){const[g,y]=m==="beforeChildren"?[c,d]:[d,c];return g().then(()=>y())}else return Promise.all([c(),d(i.delay)])}function wD(t,n,i=0,s=0,o=0,c=1,d){const m=[];for(const p of t.variantChildren)p.notify("AnimationStart",n),m.push(gm(p,n,{...d,delay:i+(typeof s=="function"?0:s)+US(t.variantChildren,p,s,o,c)}).then(()=>p.notify("AnimationComplete",n)));return Promise.all(m)}function TD(t,n,i={}){t.notify("AnimationStart",n);let s;if(Array.isArray(n)){const o=n.map(c=>gm(t,c,i));s=Promise.all(o)}else if(typeof n=="string")s=gm(t,n,i);else{const o=typeof n=="function"?Or(t,n,i.custom):n;s=Promise.all(IS(t,o,i))}return s.then(()=>{t.notify("AnimationComplete",n)})}const ED={test:t=>t==="auto",parse:t=>t},YS=t=>n=>n.test(t),KS=[Zs,de,ya,Vi,WN,XN,ED],vb=t=>KS.find(YS(t));function AD(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||aS(t):!0}const CD=new Set(["brightness","contrast","saturate","opacity"]);function jD(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[s]=i.match(ip)||[];if(!s)return t;const o=i.replace(s,"");let c=CD.has(n)?1:0;return s!==i&&(c*=100),n+"("+c+o+")"}const ND=/\b([a-z-]*)\(.*?\)/gu,ym={...ra,getAnimatableNone:t=>{const n=t.match(ND);return n?n.map(jD).join(" "):t}},vm={...ra,getAnimatableNone:t=>{const n=ra.parse(t);return ra.createTransformer(t)(n.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},xb={...Zs,transform:Math.round},RD={rotate:Vi,rotateX:Vi,rotateY:Vi,rotateZ:Vi,scale:nu,scaleX:nu,scaleY:nu,scaleZ:nu,skew:Vi,skewX:Vi,skewY:Vi,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:So,originX:rb,originY:rb,originZ:de},mp={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,top:de,right:de,bottom:de,left:de,inset:de,insetBlock:de,insetBlockStart:de,insetBlockEnd:de,insetInline:de,insetInlineStart:de,insetInlineEnd:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,paddingBlock:de,paddingBlockStart:de,paddingBlockEnd:de,paddingInline:de,paddingInlineStart:de,paddingInlineEnd:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,marginBlock:de,marginBlockStart:de,marginBlockEnd:de,marginInline:de,marginInlineStart:de,marginInlineEnd:de,fontSize:de,backgroundPositionX:de,backgroundPositionY:de,...RD,zIndex:xb,fillOpacity:So,strokeOpacity:So,numOctaves:xb},DD={...mp,color:_t,backgroundColor:_t,outlineColor:_t,fill:_t,stroke:_t,borderColor:_t,borderTopColor:_t,borderRightColor:_t,borderBottomColor:_t,borderLeftColor:_t,filter:ym,WebkitFilter:ym,mask:vm,WebkitMask:vm},ZS=t=>DD[t],MD=new Set([ym,vm]);function qS(t,n){let i=ZS(t);return MD.has(i)||(i=ra),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const _D=new Set(["auto","none","0"]);function OD(t,n,i){let s=0,o;for(;s<t.length&&!o;){const c=t[s];typeof c=="string"&&!_D.has(c)&&Bs(c).values.length&&(o=t[s]),s++}if(o&&i)for(const c of n)t[c]=qS(i,o)}class kD extends cp{constructor(n,i,s,o,c){super(n,i,s,o,c,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let y=0;y<n.length;y++){let x=n[y];if(typeof x=="string"&&(x=x.trim(),ap(x))){const b=VS(x,i.current);b!==void 0&&(n[y]=b),y===n.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!FS.has(s)||n.length!==2)return;const[o,c]=n,d=vb(o),m=vb(c),p=ib(o),g=ib(c);if(p!==g&&Ii[s]){this.needsMeasurement=!0;return}if(d!==m)if(hb(d)&&hb(m))for(let y=0;y<n.length;y++){const x=n[y];typeof x=="string"&&(n[y]=parseFloat(x))}else Ii[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,s=[];for(let o=0;o<n.length;o++)(n[o]===null||AD(n[o]))&&s.push(o);s.length&&OD(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=Ii[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 m;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 c=s.length-1,d=s[c];s[c]=Ii[i](n.measureViewportBox(),window.getComputedStyle(n.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),(m=this.removedTransforms)!=null&&m.length&&this.removedTransforms.forEach(([p,g])=>{n.getValue(p).set(g)}),this.resolveNoneKeyframes()}}function XS(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 WS=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function du(t){return nS(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:pp}=gS(queueMicrotask,!1),ia={x:!1,y:!1};function $S(){return ia.x||ia.y}function LD(t){return t==="x"||t==="y"?ia[t]?null:(ia[t]=!0,()=>{ia[t]=!1}):ia.x||ia.y?null:(ia.x=ia.y=!0,()=>{ia.x=ia.y=!1})}function QS(t,n){const i=XS(t),s=new AbortController,o={passive:!0,...n,signal:s.signal};return[i,o,()=>s.abort()]}function zD(t){return!(t.pointerType==="touch"||$S())}function BD(t,n,i={}){const[s,o,c]=QS(t,i);return s.forEach(d=>{let m=!1,p=!1,g;const y=()=>{d.removeEventListener("pointerleave",T)},x=j=>{g&&(g(j),g=void 0),y()},b=j=>{m=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),p&&(p=!1,x(j))},w=()=>{m=!0,window.addEventListener("pointerup",b,o),window.addEventListener("pointercancel",b,o)},T=j=>{if(j.pointerType!=="touch"){if(m){p=!0;return}x(j)}},M=j=>{if(!zD(j))return;p=!1;const k=n(d,j);typeof k=="function"&&(g=k,d.addEventListener("pointerleave",T,o))};d.addEventListener("pointerenter",M,o),d.addEventListener("pointerdown",w,o)}),c}const JS=(t,n)=>n?t===n?!0:JS(t,n.parentElement):!1,gp=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,UD=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function VD(t){return UD.has(t.tagName)||t.isContentEditable===!0}const HD=new Set(["INPUT","SELECT","TEXTAREA"]);function FD(t){return HD.has(t.tagName)||t.isContentEditable===!0}const fu=new WeakSet;function bb(t){return n=>{n.key==="Enter"&&t(n)}}function Dh(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const GD=(t,n)=>{const i=t.currentTarget;if(!i)return;const s=bb(()=>{if(fu.has(i))return;Dh(i,"down");const o=bb(()=>{Dh(i,"up")}),c=()=>Dh(i,"cancel");i.addEventListener("keyup",o,n),i.addEventListener("blur",c,n)});i.addEventListener("keydown",s,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),n)};function Sb(t){return gp(t)&&!$S()}const wb=new WeakSet;function PD(t,n,i={}){const[s,o,c]=QS(t,i),d=m=>{const p=m.currentTarget;if(!Sb(m)||wb.has(m))return;fu.add(p),i.stopPropagation&&wb.add(m);const g=n(p,m),y=(w,T)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",b),fu.has(p)&&fu.delete(p),Sb(w)&&typeof g=="function"&&g(w,{success:T})},x=w=>{y(w,p===window||p===document||i.useGlobalTarget||JS(p,w.target))},b=w=>{y(w,!1)};window.addEventListener("pointerup",x,o),window.addEventListener("pointercancel",b,o)};return s.forEach(m=>{(i.useGlobalTarget?window:m).addEventListener("pointerdown",d,o),du(m)&&(m.addEventListener("focus",g=>GD(g,o)),!VD(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),c}function yp(t){return nS(t)&&"ownerSVGElement"in t}const hu=new WeakMap;let Hi;const ew=(t,n,i)=>(s,o)=>o&&o[0]?o[0][t+"Size"]:yp(s)&&"getBBox"in s?s.getBBox()[n]:s[i],ID=ew("inline","width","offsetWidth"),YD=ew("block","height","offsetHeight");function KD({target:t,borderBoxSize:n}){var i;(i=hu.get(t))==null||i.forEach(s=>{s(t,{get width(){return ID(t,n)},get height(){return YD(t,n)}})})}function ZD(t){t.forEach(KD)}function qD(){typeof ResizeObserver>"u"||(Hi=new ResizeObserver(ZD))}function XD(t,n){Hi||qD();const i=XS(t);return i.forEach(s=>{let o=hu.get(s);o||(o=new Set,hu.set(s,o)),o.add(n),Hi==null||Hi.observe(s)}),()=>{i.forEach(s=>{const o=hu.get(s);o==null||o.delete(n),o!=null&&o.size||Hi==null||Hi.unobserve(s)})}}const mu=new Set;let Ds;function WD(){Ds=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};mu.forEach(n=>n(t))},window.addEventListener("resize",Ds)}function $D(t){return mu.add(t),Ds||WD(),()=>{mu.delete(t),!mu.size&&typeof Ds=="function"&&(window.removeEventListener("resize",Ds),Ds=void 0)}}function Tb(t,n){return typeof t=="function"?$D(t):XD(t,n)}function QD(t){return yp(t)&&t.tagName==="svg"}const JD=[...KS,_t,ra],eM=t=>JD.find(YS(t)),Eb=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ms=()=>({x:Eb(),y:Eb()}),Ab=()=>({min:0,max:0}),Bt=()=>({x:Ab(),y:Ab()}),tM=new WeakMap;function Ku(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function wo(t){return typeof t=="string"||Array.isArray(t)}const vp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],xp=["initial",...vp];function Zu(t){return Ku(t.animate)||xp.some(n=>wo(t[n]))}function tw(t){return!!(Zu(t)||t.variants)}function nM(t,n,i){for(const s in n){const o=n[s],c=i[s];if(Zt(o))t.addValue(s,o);else if(Zt(c))t.addValue(s,Us(o,{owner:t}));else if(c!==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,Us(d!==void 0?d:o,{owner:t}))}}for(const s in i)n[s]===void 0&&t.removeValue(s);return n}const xm={current:null},nw={current:!1},aM=typeof window<"u";function iM(){if(nw.current=!0,!!aM)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>xm.current=t.matches;t.addEventListener("change",n),n()}else xm.current=!1}const Cb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Nu={};function aw(t){Nu=t}function rM(){return Nu}class sM{scrapeMotionValuesFromProps(n,i,s){return{}}constructor({parent:n,props:i,presenceContext:s,reducedMotionConfig:o,skipAnimations:c,blockInitialAnimation:d,visualState:m},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=cp,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=tn.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,dt.render(this.render,!1,!0))};const{latestValues:g,renderState:y}=m;this.latestValues=g,this.baseTarget={...g},this.initialValues=i.initial?{...g}:{},this.renderState=y,this.parent=n,this.props=i,this.presenceContext=s,this.depth=n?n.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=c,this.options=p,this.blockInitialAnimation=!!d,this.isControllingVariants=Zu(i),this.isVariantNode=tw(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:x,...b}=this.scrapeMotionValuesFromProps(i,{},this);for(const w in b){const T=b[w];g[w]!==void 0&&Zt(T)&&T.set(g[w])}}mount(n){var i,s;if(this.hasBeenMounted)for(const o in this.initialValues)(i=this.values.get(o))==null||i.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=n,tM.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,c)=>this.bindToMotionValue(c,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(nw.current||iM(),this.shouldReduceMotion=xm.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&&BS.has(n)&&this.current instanceof HTMLElement){const{factory:d,keyframes:m,times:p,ease:g,duration:y}=i.accelerate,x=new LS({element:this.current,name:n,keyframes:m,times:p,ease:g,duration:Cn(y)}),b=d(x);this.valueSubscriptions.set(n,()=>{b(),x.cancel()});return}const s=Xs.has(n);s&&this.onBindTransform&&this.onBindTransform();const o=i.on("change",d=>{this.latestValues[n]=d,this.props.onUpdate&&dt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{o(),c&&c(),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 Nu){const i=Nu[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 c=this.features[n];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Bt()}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<Cb.length;s++){const o=Cb[s];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const c="on"+o,d=n[c];d&&(this.propEventSubscriptions[o]=this.on(o,d))}this.prevMotionValues=nM(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=Us(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"&&(tS(s)||aS(s))?s=parseFloat(s):!eM(s)&&ra.test(i)&&(s=qS(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 c;const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const d=fp(this.props,i,(c=this.presenceContext)==null?void 0:c.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 ep),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){pp.render(this.render)}}class iw extends sM{constructor(){super(...arguments),this.KeyframeResolver=kD}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 $i{constructor(n){this.isMounted=!1,this.node=n}update(){}}function rw({top:t,left:n,right:i,bottom:s}){return{x:{min:n,max:i},y:{min:t,max:s}}}function lM({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function oM(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 Mh(t){return t===void 0||t===1}function bm({scale:t,scaleX:n,scaleY:i}){return!Mh(t)||!Mh(n)||!Mh(i)}function Cr(t){return bm(t)||sw(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function sw(t){return jb(t.x)||jb(t.y)}function jb(t){return t&&t!=="0%"}function Ru(t,n,i){const s=t-i,o=n*s;return i+o}function Nb(t,n,i,s,o){return o!==void 0&&(t=Ru(t,o,s)),Ru(t,i,s)+n}function Sm(t,n=0,i=1,s,o){t.min=Nb(t.min,n,i,s,o),t.max=Nb(t.max,n,i,s,o)}function lw(t,{x:n,y:i}){Sm(t.x,n.translate,n.scale,n.originPoint),Sm(t.y,i.translate,i.scale,i.originPoint)}const Rb=.999999999999,Db=1.0000000000001;function cM(t,n,i,s=!1){var m;const o=i.length;if(!o)return;n.x=n.y=1;let c,d;for(let p=0;p<o;p++){c=i[p],d=c.projectionDelta;const{visualElement:g}=c.options;g&&g.props.style&&g.props.style.display==="contents"||(s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(ga(t.x,-c.scroll.offset.x),ga(t.y,-c.scroll.offset.y)),d&&(n.x*=d.x.scale,n.y*=d.y.scale,lw(t,d)),s&&Cr(c.latestValues)&&pu(t,c.latestValues,(m=c.layout)==null?void 0:m.layoutBox))}n.x<Db&&n.x>Rb&&(n.x=1),n.y<Db&&n.y>Rb&&(n.y=1)}function ga(t,n){t.min+=n,t.max+=n}function Mb(t,n,i,s,o=.5){const c=vt(t.min,t.max,o);Sm(t,n,i,c,s)}function _b(t,n){return typeof t=="string"?parseFloat(t)/100*(n.max-n.min):t}function pu(t,n,i){const s=i??t;Mb(t.x,_b(n.x,s.x),n.scaleX,n.scale,n.originX),Mb(t.y,_b(n.y,s.y),n.scaleY,n.scale,n.originY)}function ow(t,n){return rw(oM(t.getBoundingClientRect(),n))}function uM(t,n,i){const s=ow(t,i),{scroll:o}=n;return o&&(ga(s.x,o.offset.x),ga(s.y,o.offset.y)),s}const dM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fM=qs.length;function hM(t,n,i){let s="",o=!0;for(let c=0;c<fM;c++){const d=qs[c],m=t[d];if(m===void 0)continue;let p=!0;if(typeof m=="number")p=m===(d.startsWith("scale")?1:0);else{const g=parseFloat(m);p=d.startsWith("scale")?g===1:g===0}if(!p||i){const g=WS(m,mp[d]);if(!p){o=!1;const y=dM[d]||d;s+=`${y}(${g}) `}i&&(n[d]=g)}}return s=s.trim(),i?s=i(n,o?"":s):o&&(s="none"),s}function bp(t,n,i){const{style:s,vars:o,transformOrigin:c}=t;let d=!1,m=!1;for(const p in n){const g=n[p];if(Xs.has(p)){d=!0;continue}else if(vS(p)){o[p]=g;continue}else{const y=WS(g,mp[p]);p.startsWith("origin")?(m=!0,c[p]=y):s[p]=y}}if(n.transform||(d||i?s.transform=hM(n,t.transform,i):s.transform&&(s.transform="none")),m){const{originX:p="50%",originY:g="50%",originZ:y=0}=c;s.transformOrigin=`${p} ${g} ${y}`}}function cw(t,{style:n,vars:i},s,o){const c=t.style;let d;for(d in n)c[d]=n[d];o==null||o.applyProjectionStyles(c,s);for(d in i)c.setProperty(d,i[d])}function Ob(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const $l={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(de.test(t))t=parseFloat(t);else return t;const i=Ob(t,n.target.x),s=Ob(t,n.target.y);return`${i}% ${s}%`}},mM={correct:(t,{treeScale:n,projectionDelta:i})=>{const s=t,o=ra.parse(t);if(o.length>5)return s;const c=ra.createTransformer(t),d=typeof o[0]!="number"?1:0,m=i.x.scale*n.x,p=i.y.scale*n.y;o[0+d]/=m,o[1+d]/=p;const g=vt(m,p,.5);return typeof o[2+d]=="number"&&(o[2+d]/=g),typeof o[3+d]=="number"&&(o[3+d]/=g),c(o)}},wm={borderRadius:{...$l,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:$l,borderTopRightRadius:$l,borderBottomLeftRadius:$l,borderBottomRightRadius:$l,boxShadow:mM};function uw(t,{layout:n,layoutId:i}){return Xs.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!wm[t]||t==="opacity")}function Sp(t,n,i){var d;const s=t.style,o=n==null?void 0:n.style,c={};if(!s)return c;for(const m in s)(Zt(s[m])||o&&Zt(o[m])||uw(m,t)||((d=i==null?void 0:i.getValue(m))==null?void 0:d.liveStyle)!==void 0)&&(c[m]=s[m]);return c}function pM(t){return window.getComputedStyle(t)}class gM extends iw{constructor(){super(...arguments),this.type="html",this.renderInstance=cw}readValueFromInstance(n,i){var s;if(Xs.has(i))return(s=this.projection)!=null&&s.isProjecting?om(i):zR(n,i);{const o=pM(n),c=(vS(i)?o.getPropertyValue(i):o[i])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(n,{transformPagePoint:i}){return ow(n,i)}build(n,i,s){bp(n,i,s.transformTemplate)}scrapeMotionValuesFromProps(n,i,s){return Sp(n,i,s)}}const yM={offset:"stroke-dashoffset",array:"stroke-dasharray"},vM={offset:"strokeDashoffset",array:"strokeDasharray"};function xM(t,n,i=1,s=0,o=!0){t.pathLength=1;const c=o?yM:vM;t[c.offset]=`${-s}`,t[c.array]=`${n} ${i}`}const bM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function dw(t,{attrX:n,attrY:i,attrScale:s,pathLength:o,pathSpacing:c=1,pathOffset:d=0,...m},p,g,y){if(bp(t,m,g),p){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:x,style:b}=t;x.transform&&(b.transform=x.transform,delete x.transform),(b.transform||x.transformOrigin)&&(b.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),b.transform&&(b.transformBox=(y==null?void 0:y.transformBox)??"fill-box",delete x.transformBox);for(const w of bM)x[w]!==void 0&&(b[w]=x[w],delete x[w]);n!==void 0&&(x.x=n),i!==void 0&&(x.y=i),s!==void 0&&(x.scale=s),o!==void 0&&xM(x,o,c,d,!1)}const fw=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"]),hw=t=>typeof t=="string"&&t.toLowerCase()==="svg";function SM(t,n,i,s){cw(t,n,void 0,s);for(const o in n.attrs)t.setAttribute(fw.has(o)?o:hp(o),n.attrs[o])}function mw(t,n,i){const s=Sp(t,n,i);for(const o in t)if(Zt(t[o])||Zt(n[o])){const c=qs.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;s[c]=t[o]}return s}class wM extends iw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Bt}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(Xs.has(i)){const s=ZS(i);return s&&s.default||0}return i=fw.has(i)?i:hp(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,s){return mw(n,i,s)}build(n,i,s){dw(n,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(n,i,s,o){SM(n,i,s,o)}mount(n){this.isSVGTag=hw(n.tagName),super.mount(n)}}const TM=xp.length;function pw(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?pw(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<TM;i++){const s=xp[i],o=t.props[s];(wo(o)||o===!1)&&(n[s]=o)}return n}function gw(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 EM=[...vp].reverse(),AM=vp.length;function CM(t){return n=>Promise.all(n.map(({animation:i,options:s})=>TD(t,i,s)))}function jM(t){let n=CM(t),i=kb(),s=!0,o=!1;const c=g=>(y,x)=>{var w;const b=Or(t,x,g==="exit"?(w=t.presenceContext)==null?void 0:w.custom:void 0);if(b){const{transition:T,transitionEnd:M,...j}=b;y={...y,...j,...M}}return y};function d(g){n=g(t)}function m(g){const{props:y}=t,x=pw(t.parent)||{},b=[],w=new Set;let T={},M=1/0;for(let k=0;k<AM;k++){const U=EM[k],H=i[U],I=y[U]!==void 0?y[U]:x[U],K=wo(I),oe=U===g?H.isActive:null;oe===!1&&(M=k);let te=I===x[U]&&I!==y[U]&&K;if(te&&(s||o)&&t.manuallyAnimateOnMount&&(te=!1),H.protectedKeys={...T},!H.isActive&&oe===null||!I&&!H.prevProp||Ku(I)||typeof I=="boolean")continue;if(U==="exit"&&H.isActive&&oe!==!0){H.prevResolvedValues&&(T={...T,...H.prevResolvedValues});continue}const D=NM(H.prevProp,I);let ee=D||U===g&&H.isActive&&!te&&K||k>M&&K,$=!1;const ge=Array.isArray(I)?I:[I];let ne=ge.reduce(c(U),{});oe===!1&&(ne={});const{prevResolvedValues:Me={}}=H,Be={...Me,...ne},ze=Q=>{ee=!0,w.has(Q)&&($=!0,w.delete(Q)),H.needsAnimating[Q]=!0;const se=t.getValue(Q);se&&(se.liveStyle=!1)};for(const Q in Be){const se=ne[Q],be=Me[Q];if(T.hasOwnProperty(Q))continue;let Se=!1;mm(se)&&mm(be)?Se=!gw(se,be):Se=se!==be,Se?se!=null?ze(Q):w.add(Q):se!==void 0&&w.has(Q)?ze(Q):H.protectedKeys[Q]=!0}H.prevProp=I,H.prevResolvedValues=ne,H.isActive&&(T={...T,...ne}),(s||o)&&t.blockInitialAnimation&&(ee=!1);const V=te&&D;ee&&(!V||$)&&b.push(...ge.map(Q=>{const se={type:U};if(typeof Q=="string"&&(s||o)&&!V&&t.manuallyAnimateOnMount&&t.parent){const{parent:be}=t,Se=Or(be,Q);if(be.enteringChildren&&Se){const{delayChildren:De}=Se.transition||{};se.delay=US(be.enteringChildren,t,De)}}return{animation:Q,options:se}}))}if(w.size){const k={};if(typeof y.initial!="boolean"){const U=Or(t,Array.isArray(y.initial)?y.initial[0]:y.initial);U&&U.transition&&(k.transition=U.transition)}w.forEach(U=>{const H=t.getBaseTarget(U),I=t.getValue(U);I&&(I.liveStyle=!0),k[U]=H??null}),b.push({animation:k})}let j=!!b.length;return s&&(y.initial===!1||y.initial===y.animate)&&!t.manuallyAnimateOnMount&&(j=!1),s=!1,o=!1,j?n(b):Promise.resolve()}function p(g,y){var b;if(i[g].isActive===y)return Promise.resolve();(b=t.variantChildren)==null||b.forEach(w=>{var T;return(T=w.animationState)==null?void 0:T.setActive(g,y)}),i[g].isActive=y;const x=m(g);for(const w in i)i[w].protectedKeys={};return x}return{animateChanges:m,setActive:p,setAnimateFunction:d,getState:()=>i,reset:()=>{i=kb(),o=!0}}}function NM(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!gw(n,t):!1}function yr(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function kb(){return{animate:yr(!0),whileInView:yr(),whileHover:yr(),whileTap:yr(),whileDrag:yr(),whileFocus:yr(),exit:yr()}}function Tm(t,n){t.min=n.min,t.max=n.max}function na(t,n){Tm(t.x,n.x),Tm(t.y,n.y)}function Lb(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}const yw=1e-4,RM=1-yw,DM=1+yw,vw=.01,MM=0-vw,_M=0+vw;function nn(t){return t.max-t.min}function OM(t,n,i){return Math.abs(t-n)<=i}function zb(t,n,i,s=.5){t.origin=s,t.originPoint=vt(n.min,n.max,t.origin),t.scale=nn(i)/nn(n),t.translate=vt(i.min,i.max,t.origin)-t.originPoint,(t.scale>=RM&&t.scale<=DM||isNaN(t.scale))&&(t.scale=1),(t.translate>=MM&&t.translate<=_M||isNaN(t.translate))&&(t.translate=0)}function ho(t,n,i,s){zb(t.x,n.x,i.x,s?s.originX:void 0),zb(t.y,n.y,i.y,s?s.originY:void 0)}function Bb(t,n,i,s=0){const o=s?vt(i.min,i.max,s):i.min;t.min=o+n.min,t.max=t.min+nn(n)}function kM(t,n,i,s){Bb(t.x,n.x,i.x,s==null?void 0:s.x),Bb(t.y,n.y,i.y,s==null?void 0:s.y)}function Ub(t,n,i,s=0){const o=s?vt(i.min,i.max,s):i.min;t.min=n.min-o,t.max=t.min+nn(n)}function Du(t,n,i,s){Ub(t.x,n.x,i.x,s==null?void 0:s.x),Ub(t.y,n.y,i.y,s==null?void 0:s.y)}function Vb(t,n,i,s,o){return t-=n,t=Ru(t,1/i,s),o!==void 0&&(t=Ru(t,1/o,s)),t}function LM(t,n=0,i=1,s=.5,o,c=t,d=t){if(ya.test(n)&&(n=parseFloat(n),n=vt(d.min,d.max,n/100)-d.min),typeof n!="number")return;let m=vt(c.min,c.max,s);t===c&&(m-=n),t.min=Vb(t.min,n,i,m,o),t.max=Vb(t.max,n,i,m,o)}function Hb(t,n,[i,s,o],c,d){LM(t,n[i],n[s],n[o],n.scale,c,d)}const zM=["x","scaleX","originX"],BM=["y","scaleY","originY"];function Fb(t,n,i,s){Hb(t.x,n,zM,i?i.x:void 0,s?s.x:void 0),Hb(t.y,n,BM,i?i.y:void 0,s?s.y:void 0)}function Gb(t){return t.translate===0&&t.scale===1}function xw(t){return Gb(t.x)&&Gb(t.y)}function Pb(t,n){return t.min===n.min&&t.max===n.max}function UM(t,n){return Pb(t.x,n.x)&&Pb(t.y,n.y)}function Ib(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function bw(t,n){return Ib(t.x,n.x)&&Ib(t.y,n.y)}function Yb(t){return nn(t.x)/nn(t.y)}function Kb(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}function ma(t){return[t("x"),t("y")]}function VM(t,n,i){let s="";const o=t.x.translate/n.x,c=t.y.translate/n.y,d=(i==null?void 0:i.z)||0;if((o||c||d)&&(s=`translate3d(${o}px, ${c}px, ${d}px) `),(n.x!==1||n.y!==1)&&(s+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:g,rotate:y,rotateX:x,rotateY:b,skewX:w,skewY:T}=i;g&&(s=`perspective(${g}px) ${s}`),y&&(s+=`rotate(${y}deg) `),x&&(s+=`rotateX(${x}deg) `),b&&(s+=`rotateY(${b}deg) `),w&&(s+=`skewX(${w}deg) `),T&&(s+=`skewY(${T}deg) `)}const m=t.x.scale*n.x,p=t.y.scale*n.y;return(m!==1||p!==1)&&(s+=`scale(${m}, ${p})`),s||"none"}const Sw=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],HM=Sw.length,Zb=t=>typeof t=="string"?parseFloat(t):t,qb=t=>typeof t=="number"||de.test(t);function FM(t,n,i,s,o,c){o?(t.opacity=vt(0,i.opacity??1,GM(s)),t.opacityExit=vt(n.opacity??1,0,PM(s))):c&&(t.opacity=vt(n.opacity??1,i.opacity??1,s));for(let d=0;d<HM;d++){const m=Sw[d];let p=Xb(n,m),g=Xb(i,m);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||qb(p)===qb(g)?(t[m]=Math.max(vt(Zb(p),Zb(g),s),0),(ya.test(g)||ya.test(p))&&(t[m]+="%")):t[m]=g}(n.rotate||i.rotate)&&(t.rotate=vt(n.rotate||0,i.rotate||0,s))}function Xb(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const GM=ww(0,.5,fS),PM=ww(.5,.95,Yn);function ww(t,n,i){return s=>s<t?0:s>n?1:i(bo(t,n,s))}function IM(t,n,i){const s=Zt(t)?t:Us(t);return s.start(dp("",s,n,i)),s.animation}function To(t,n,i,s={passive:!0}){return t.addEventListener(n,i,s),()=>t.removeEventListener(n,i)}const YM=(t,n)=>t.depth-n.depth;class KM{constructor(){this.children=[],this.isDirty=!1}add(n){Qm(this.children,n),this.isDirty=!0}remove(n){Tu(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(YM),this.isDirty=!1,this.children.forEach(n)}}function ZM(t,n){const i=tn.now(),s=({timestamp:o})=>{const c=o-i;c>=n&&(qi(s),t(c-n))};return dt.setup(s,!0),()=>qi(s)}function gu(t){return Zt(t)?t.get():t}class qM{constructor(){this.members=[]}add(n){Qm(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&&(Tu(this.members,s),s.unmount())}n.scheduleRender()}remove(n){if(Tu(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:c}=s.options,{layoutDependency:d}=n.options;(c===void 0||c!==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,c,d;(s=(i=n.options).onExitComplete)==null||s.call(i),(d=(o=n.resumingFrom)==null?void 0:(c=o.options).onExitComplete)==null||d.call(c)})}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 yu={hasAnimatedSinceResize:!0,hasEverUpdated:!1},_h=["","X","Y","Z"],XM=1e3;let WM=0;function Oh(t,n,i,s){const{latestValues:o}=n;o[t]&&(i[t]=o[t],n.setStaticValue(t,0),s&&(s[t]=0))}function Tw(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=PS(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:o,layoutId:c}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",dt,!(o||c))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&Tw(s)}function Ew({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(d={},m=n==null?void 0:n()){this.id=WM++,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(JM),this.nodes.forEach(r_),this.nodes.forEach(s_),this.nodes.forEach(e_)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new KM)}addEventListener(d,m){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new ep),this.eventHandlers.get(d).add(m)}notifyListeners(d,...m){const p=this.eventHandlers.get(d);p&&p.notify(...m)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=yp(d)&&!QD(d),this.instance=d;const{layoutId:m,layout:p,visualElement:g}=this.options;if(g&&!g.current&&g.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||m)&&(this.isLayoutDirty=!0),t){let y,x=0;const b=()=>this.root.updateBlockedByResize=!1;dt.read(()=>{x=window.innerWidth}),t(d,()=>{const w=window.innerWidth;w!==x&&(x=w,this.root.updateBlockedByResize=!0,y&&y(),y=ZM(b,250),yu.hasAnimatedSinceResize&&(yu.hasAnimatedSinceResize=!1,this.nodes.forEach(Qb)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&g&&(m||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:x,hasRelativeLayoutChanged:b,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const T=this.options.transition||g.getDefaultTransition()||d_,{onLayoutAnimationStart:M,onLayoutAnimationComplete:j}=g.getProps(),k=!this.targetLayout||!bw(this.targetLayout,w),U=!x&&b;if(this.options.layoutRoot||this.resumeFrom||U||x&&(k||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const H={...up(T,"layout"),onPlay:M,onComplete:j};(g.shouldReduceMotion||this.options.layoutRoot)&&(H.delay=0,H.type=!1),this.startAnimation(H),this.setAnimationOrigin(y,U)}else x||Qb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),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(l_),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&&Tw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const x=this.path[y];x.shouldResetTransform=!0,(typeof x.latestValues.x=="string"||typeof x.latestValues.y=="string")&&(x.isLayoutDirty=!0),x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:m,layout:p}=this.options;if(m===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const p=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),p&&this.nodes.forEach(n_),this.nodes.forEach(Wb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach($b);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(a_),this.nodes.forEach(i_),this.nodes.forEach($M),this.nodes.forEach(QM)):this.nodes.forEach($b),this.clearAllSnapshots();const m=tn.now();Yt.delta=xa(0,1e3/60,m-Yt.timestamp),Yt.timestamp=m,Yt.isProcessing=!0,Eh.update.process(Yt),Eh.preRender.process(Yt),Eh.render.process(Yt),Yt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,pp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(t_),this.sharedNodes.forEach(o_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,dt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){dt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!nn(this.snapshot.measuredBox.x)&&!nn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Bt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(m=!1),m&&this.instance){const p=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!o)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!xw(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;d&&this.instance&&(m||Cr(this.latestValues)||y)&&(o(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const m=this.measurePageBox();let p=this.removeElementScroll(m);return d&&(p=this.removeTransform(p)),f_(p),{animationId:this.root.animationId,measuredBox:m,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var g;const{visualElement:d}=this.options;if(!d)return Bt();const m=d.measureViewportBox();if(!(((g=this.scroll)==null?void 0:g.wasRoot)||this.path.some(h_))){const{scroll:y}=this.root;y&&(ga(m.x,y.offset.x),ga(m.y,y.offset.y))}return m}removeElementScroll(d){var p;const m=Bt();if(na(m,d),(p=this.scroll)!=null&&p.wasRoot)return m;for(let g=0;g<this.path.length;g++){const y=this.path[g],{scroll:x,options:b}=y;y!==this.root&&x&&b.layoutScroll&&(x.wasRoot&&na(m,d),ga(m.x,x.offset.x),ga(m.y,x.offset.y))}return m}applyTransform(d,m=!1,p){var y,x;const g=p||Bt();na(g,d);for(let b=0;b<this.path.length;b++){const w=this.path[b];!m&&w.options.layoutScroll&&w.scroll&&w!==w.root&&(ga(g.x,-w.scroll.offset.x),ga(g.y,-w.scroll.offset.y)),Cr(w.latestValues)&&pu(g,w.latestValues,(y=w.layout)==null?void 0:y.layoutBox)}return Cr(this.latestValues)&&pu(g,this.latestValues,(x=this.layout)==null?void 0:x.layoutBox),g}removeTransform(d){var p;const m=Bt();na(m,d);for(let g=0;g<this.path.length;g++){const y=this.path[g];if(!Cr(y.latestValues))continue;let x;y.instance&&(bm(y.latestValues)&&y.updateSnapshot(),x=Bt(),na(x,y.measurePageBox())),Fb(m,y.latestValues,(p=y.snapshot)==null?void 0:p.layoutBox,x)}return Cr(this.latestValues)&&Fb(m,this.latestValues),m}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!==Yt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var w;const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==m;if(!(d||p&&this.isSharedProjectionDirty||this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:x}=this.options;if(!this.layout||!(y||x))return;this.resolvedRelativeTargetAt=Yt.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Bt(),this.targetWithTransforms=Bt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),kM(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):na(this.target,this.layout.layoutBox),lw(this.target,this.targetDelta)):na(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||bm(this.parent.latestValues)||sw(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,m,p){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Bt(),this.relativeTargetOrigin=Bt(),Du(this.relativeTargetOrigin,m,p,this.options.layoutAnchor||void 0),na(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var T;const d=this.getLead(),m=!!this.resumingFrom||this!==d;let p=!0;if((this.isProjectionDirty||(T=this.parent)!=null&&T.isProjectionDirty)&&(p=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===Yt.timestamp&&(p=!1),p)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;na(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,b=this.treeScale.y;cM(this.layoutCorrected,this.treeScale,this.path,m),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Bt
vendor: 4,683 bytes, line 377
377());const{target:w}=d;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Lb(this.prevProjectionDelta.x,this.projectionDelta.x),Lb(this.prevProjectionDelta.y,this.projectionDelta.y)),ho(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==b||!Kb(this.projectionDelta.x,this.prevProjectionDelta.x)||!Kb(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var m;if((m=this.options.visualElement)==null||m.scheduleRender(),d){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ms(),this.projectionDelta=Ms(),this.projectionDeltaWithTransform=Ms()}setAnimationOrigin(d,m=!1){const p=this.snapshot,g=p?p.latestValues:{},y={...this.latestValues},x=Ms();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const b=Bt(),w=p?p.source:void 0,T=this.layout?this.layout.source:void 0,M=w!==T,j=this.getStack(),k=!j||j.members.length<=1,U=!!(M&&!k&&this.options.crossfade===!0&&!this.path.some(u_));this.animationProgress=0;let H;this.mixTargetDelta=I=>{const K=I/1e3;Jb(x.x,d.x,K),Jb(x.y,d.y,K),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Du(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),c_(this.relativeTarget,this.relativeTargetOrigin,b,K),H&&UM(this.relativeTarget,H)&&(this.isProjectionDirty=!1),H||(H=Bt()),na(H,this.relativeTarget)),M&&(this.animationValues=y,FM(y,g,this.latestValues,K,U,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=K},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var m,p,g;this.notifyListeners("animationStart"),(m=this.currentAnimation)==null||m.stop(),(g=(p=this.resumingFrom)==null?void 0:p.currentAnimation)==null||g.stop(),this.pendingAnimation&&(qi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=dt.update(()=>{yu.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Us(0)),this.motionValue.jump(0,!1),this.currentAnimation=IM(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:y=>{this.mixTargetDelta(y),d.onUpdate&&d.onUpdate(y)},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(XM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:m,target:p,layout:g,latestValues:y}=d;if(!(!m||!p||!g)){if(this!==d&&this.layout&&g&&Aw(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||Bt();const x=nn(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+x;const b=nn(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+b}na(m,p),pu(m,y),ho(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(d,m){this.sharedNodes.has(d)||this.sharedNodes.set(d,new qM),this.sharedNodes.get(d).add(m);const g=m.options.initialPromotionConfig;m.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(m):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var m;const{layoutId:d}=this.options;return d?((m=this.getStack())==null?void 0:m.lead)||this:this}getPrevLead(){var m;const{layoutId:d}=this.options;return d?(m=this.getStack())==null?void 0:m.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:m,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}
vendor: 4,506 bytes, line 377
377resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let m=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(m=!0),!m)return;const g={};p.z&&Oh("z",d,g,this.animationValues);for(let y=0;y<_h.length;y++)Oh(`rotate${_h[y]}`,d,g,this.animationValues),Oh(`skew${_h[y]}`,d,g,this.animationValues);d.render();for(const y in g)d.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);d.scheduleRender()}applyProjectionStyles(d,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=gu(m==null?void 0:m.pointerEvents)||"",d.transform=p?p(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=gu(m==null?void 0:m.pointerEvents)||""),this.hasProjected&&!Cr(this.latestValues)&&(d.transform=p?p({},""):"none",this.hasProjected=!1);return}d.visibility="";const y=g.animationValues||g.latestValues;this.applyTransformsToTarget();let x=VM(this.projectionDeltaWithTransform,this.treeScale,y);p&&(x=p(y,x)),d.transform=x;const{x:b,y:w}=this.projectionDelta;d.transformOrigin=`${b.origin*100}% ${w.origin*100}% 0`,g.animationValues?d.opacity=g===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:d.opacity=g===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const T in wm){if(y[T]===void 0)continue;const{correct:M,applyTo:j,isCSSVariable:k}=wm[T],U=x==="none"?y[T]:M(y[T],g);if(j){const H=j.length;for(let I=0;I<H;I++)d[j[I]]=U}else k?this.options.visualElement.renderState.vars[T]=U:d[T]=U}this.options.layoutId&&(d.pointerEvents=g===this?gu(m==null?void 0:m.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var m;return(m=d.currentAnimation)==null?void 0:m.stop()}),this.root.nodes.forEach(Wb),this.root.sharedNodes.clear()}}}function $M(t){t.updateLayout()}function QM(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:c}=t.options,d=n.source!==t.layout.source;if(c==="size")ma(x=>{const b=d?n.measuredBox[x]:n.layoutBox[x],w=nn(b);b.min=s[x].min,b.max=b.min+w});else if(c==="x"||c==="y"){const x=c==="x"?"y":"x";Tm(d?n.measuredBox[x]:n.layoutBox[x],s[x])}else Aw(c,n.layoutBox,s)&&ma(x=>{const b=d?n.measuredBox[x]:n.layoutBox[x],w=nn(s[x]);b.max=b.min+w,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[x].max=t.relativeTarget[x].min+w)});const m=Ms();ho(m,s,n.layoutBox);const p=Ms();d?ho(p,t.applyTransform(o,!0),n.measuredBox):ho(p,s,n.layoutBox);const g=!xw(m);let y=!1;if(!t.resumeFrom){const x=t.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:b,layout:w}=x;if(b&&w){const T=t.options.layoutAnchor||void 0,M=Bt();Du(M,n.layoutBox,b.layoutBox,T);const j=Bt();Du(j,s,w.layoutBox,T),bw(M,j)||(y=!0),x.options.layoutRoot&&(t.relativeTarget=j,t.relativeTargetOrigin=M,t.relativeParent=x)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:p,layoutDelta:m,hasLayoutChanged:g,hasRelativeLayoutChanged:y})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function JM(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 e_(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function t_(t){t.clearSnapshot()}function Wb(t){t.clearMeasurements()}function n_(t){t.isLayoutDirty=!0,t.updateLayout()}function $b(t){t.isLayoutDirty=!1}function a_(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function i_(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function Qb(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function r_(t){t.resolveTargetDelta()}function s_(t){t.calcProjection()}
377function l_(t){t.resetSkewAndRotation()}function o_(t){t.removeLeadSnapshot()}function Jb(t,n,i){t.translate=vt(n.translate,0,i),t.scale=vt(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function e0(t,n,i,s){t.min=vt(n.min,i.min,s),t.max=vt(n.max,i.max,s)}function c_(t,n,i,s){e0(t.x,n.x,i.x,s),e0(t.y,n.y,i.y,s)}function u_(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const d_={duration:.45,ease:[.4,0,.1,1]},t0=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),n0=t0("applewebkit/")&&!t0("chrome/")?Math.round:Yn;function a0(t){t.min=n0(t.min),t.max=n0(t.max)}function f_(t){a0(t.x),a0(t.y)}function Aw(t,n,i){return t==="position"||t==="preserve-aspect"&&!OM(Yb(n),Yb(i),.2)}function h_(t){var n;return t!==t.root&&((n=t.scroll)==null?void 0:n.wasRoot)}const m_=Ew({attachResizeListener:(t,n)=>To(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}),kh={current:void 0},Cw=Ew({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!kh.current){const t=new m_({});t.mount(window),t.setOptions({layoutScroll:!0}),kh.current=t}return kh.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),wp=E.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function i0(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function p_(...t){return n=>{let i=!1;const s=t.map(o=>{const c=i0(o,n);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let o=0;o<s.length;o++){const c=s[o];typeof c=="function"?c():i0(t[o],null)}}}}function g_(...t){return E.useCallback(p_(...t),t)}class y_ extends E.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(du(i)&&n.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=i.offsetParent,o=du(s)&&s.offsetWidth||0,c=du(s)&&s.offsetHeight||0,d=getComputedStyle(i),m=this.props.sizeRef.current;m.height=parseFloat(d.height),m.width=parseFloat(d.width),m.top=i.offsetTop,m.left=i.offsetLeft,m.right=o-m.width-m.left,m.bottom=c-m.height-m.top}return null}componentDidUpdate(){}render(){return this.props.children}}function v_({children:t,isPresent:n,anchorX:i,anchorY:s,root:o,pop:c}){var b;const d=E.useId(),m=E.useRef(null),p=E.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:g}=E.useContext(wp),y=((b=t.props)==null?void 0:b.ref)??(t==null?void 0:t.ref),x=g_(m,y);return E.useInsertionEffect(()=>{const{width:w,height:T,top:M,left:j,right:k,bottom:U}=p.current;if(n||c===!1||!m.current||!w||!T)return;const H=i==="left"?`left: ${j}`:`right: ${k}`,I=s==="bottom"?`bottom: ${U}`:`top: ${M}`;m.current.dataset.motionPopId=d;const K=document.createElement("style");g&&(K.nonce=g);const oe=o??document.head;return oe.appendChild(K),K.sheet&&K.sheet.insertRule(`
378          [data-motion-pop-id="${d}"] {
379            position: absolute !important;
380            width: ${w}px !important;
381            height: ${T}px !important;
382            ${H}px !important;
383            ${I}px !important;
384          }
385        `),()=>{var te;(te=m.current)==null||te.removeAttribute("data-motion-pop-id"),oe.contains(K)&&oe.removeChild(K)}},[n]),h.jsx(y_,{isPresent:n,childRef:m,sizeRef:p,pop:c,children:c===!1?t:E.cloneElement(t,{ref:x})})}const x_=({children:t,initial:n,isPresent:i,onExitComplete:s,custom:o,presenceAffectsLayout:c,mode:d,anchorX:m,anchorY:p,root:g})=>{const y=$m(b_),x=E.useId();let b=!0,w=E.useMemo(()=>(b=!1,{id:x,initial:n,isPresent:i,custom:o,onExitComplete:T=>{y.set(T,!0);for(const M of y.values())if(!M)return;s&&s()},register:T=>(y.set(T,!1),()=>y.delete(T))}),[i,y,s]);return c&&b&&(w={...w}),E.useMemo(()=>{y.forEach((T,M)=>y.set(M,!1))},[i]),E.useEffect(()=>{!i&&!y.size&&s&&s()},[i]),t=h.jsx(v_,{pop:d==="popLayout",isPresent:i,anchorX:m,anchorY:p,root:g,children:t}),h.jsx(Iu.Provider,{value:w,children:t})};function b_(){return new Map}function jw(t=!0){const n=E.useContext(Iu);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:o}=n,c=E.useId();E.useEffect(()=>{if(t)return o(c)},[t]);const d=E.useCallback(()=>t&&s&&s(c),[c,s,t]);return!i&&s?[!1,d]:[!0]}const au=t=>t.key||"";function r0(t){const n=[];
vendor: 5,119 bytes, line 385
385return E.Children.forEach(t,i=>{E.isValidElement(i)&&n.push(i)}),n}const S_=({children:t,custom:n,initial:i=!0,onExitComplete:s,presenceAffectsLayout:o=!0,mode:c="sync",propagate:d=!1,anchorX:m="left",anchorY:p="top",root:g})=>{const[y,x]=jw(d),b=E.useMemo(()=>r0(t),[t]),w=d&&!y?[]:b.map(au),T=E.useRef(!0),M=E.useRef(b),j=$m(()=>new Map),k=E.useRef(new Set),[U,H]=E.useState(b),[I,K]=E.useState(b);eS(()=>{T.current=!1,M.current=b;for(let D=0;D<I.length;D++){const ee=au(I[D]);w.includes(ee)?(j.delete(ee),k.current.delete(ee)):j.get(ee)!==!0&&j.set(ee,!1)}},[I,w.length,w.join("-")]);const oe=[];if(b!==U){let D=[...b];for(let ee=0;ee<I.length;ee++){const $=I[ee],ge=au($);w.includes(ge)||(D.splice(ee,0,$),oe.push($))}return c==="wait"&&oe.length&&(D=oe),K(r0(D)),H(b),null}const{forceRender:te}=E.useContext(Wm);return h.jsx(h.Fragment,{children:I.map(D=>{const ee=au(D),$=d&&!y?!1:b===I||w.includes(ee),ge=()=>{if(k.current.has(ee))return;if(j.has(ee))k.current.add(ee),j.set(ee,!0);else return;let ne=!0;j.forEach(Me=>{Me||(ne=!1)}),ne&&(te==null||te(),K(M.current),d&&(x==null||x()),s&&s())};return h.jsx(x_,{isPresent:$,initial:!T.current||i?void 0:!1,custom:n,presenceAffectsLayout:o,mode:c,root:g,onExitComplete:$?void 0:ge,anchorX:m,anchorY:p,children:D},ee)})})},Nw=E.createContext({strict:!1}),s0={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 l0=!1;function w_(){if(l0)return;const t={};for(const n in s0)t[n]={isEnabled:i=>s0[n].some(s=>!!i[s])};aw(t),l0=!0}function Rw(){return w_(),rM()}function T_(t){const n=Rw();for(const i in t)n[i]={...n[i],...t[i]};aw(n)}const E_=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 Mu(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||E_.has(t)}let Dw=t=>!Mu(t);function A_(t){typeof t=="function"&&(Dw=n=>n.startsWith("on")?!Mu(n):t(n))}try{A_(require("@emotion/is-prop-valid").default)}catch{}function C_(t,n,i){const s={};for(const o in t)o==="values"&&typeof t.values=="object"||Zt(t[o])||(Dw(o)||i===!0&&Mu(o)||!n&&!Mu(o)||t.draggable&&o.startsWith("onDrag"))&&(s[o]=t[o]);return s}const qu=E.createContext({});function j_(t,n){if(Zu(t)){const{initial:i,animate:s}=t;return{initial:i===!1||wo(i)?i:void 0,animate:wo(s)?s:void 0}}return t.inherit!==!1?n:{}}function N_(t){const{initial:n,animate:i}=j_(t,E.useContext(qu));return E.useMemo(()=>({initial:n,animate:i}),[o0(n),o0(i)])}function o0(t){return Array.isArray(t)?t.join(" "):t}const Tp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Mw(t,n,i){for(const s in n)!Zt(n[s])&&!uw(s,i)&&(t[s]=n[s])}function R_({transformTemplate:t},n){return E.useMemo(()=>{const i=Tp();return bp(i,n,t),Object.assign({},i.vars,i.style)},[n])}function D_(t,n){const i=t.style||{},s={};return Mw(s,i,t),Object.assign(s,R_(t,n)),s}function M_(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 _w=()=>({...Tp(),attrs:{}});function __(t,n,i,s){const o=E.useMemo(()=>{const c=_w();return dw(c,n,hw(s),t.transformTemplate,t.style),{...c.attrs,style:{...c.style}}},[n]);if(t.style){const c={};Mw(c,t.style,t),o.style={...c,...o.style}}return o}const O_=["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 Ep(t){return typeof t!="string"||t.includes("-")?!1:!!(O_.indexOf(t)>-1||/[A-Z]/u.test(t))}function k_(t,n,i,{latestValues:s},o,c=!1,d){const p=(d??Ep(t)?__:M_)(n,s,o,t),g=C_(n,typeof t=="string",c),y=t!==E.Fragment?{...g,...p,ref:i}:{},{children:x}=n,b=E.useMemo(()=>Zt(x)?x.get():x,[x]);return E.createElement(t,{...y,children:b})}function L_({scrapeMotionValuesFromProps:t,createRenderState:n},i,s,o){return{latestValues:z_(i,s,o,t),renderState:n()}}function z_(t,n,i,s){const o={},c=s(t,{});for(const b in c)o[b]=gu(c[b]);let{initial:d,animate:m}=t;const p=Zu(t),g=tw(t);n&&g&&!p&&t.inherit!==!1&&(d===void 0&&(d=n.initial),m===void 0&&(m=n.animate));let y=i?i.initial===!1:!1;y=y||d===!1;const x=y?m:d;
vendor: 21,649 bytes, line 385
385if(x&&typeof x!="boolean"&&!Ku(x)){const b=Array.isArray(x)?x:[x];for(let w=0;w<b.length;w++){const T=fp(t,b[w]);if(T){const{transitionEnd:M,transition:j,...k}=T;for(const U in k){let H=k[U];if(Array.isArray(H)){const I=y?H.length-1:0;H=H[I]}H!==null&&(o[U]=H)}for(const U in M)o[U]=M[U]}}}return o}const Ow=t=>(n,i)=>{const s=E.useContext(qu),o=E.useContext(Iu),c=()=>L_(t,n,s,o);return i?c():$m(c)},B_=Ow({scrapeMotionValuesFromProps:Sp,createRenderState:Tp}),U_=Ow({scrapeMotionValuesFromProps:mw,createRenderState:_w}),V_=Symbol.for("motionComponentSymbol");function H_(t,n,i){const s=E.useRef(i);E.useInsertionEffect(()=>{s.current=i});const o=E.useRef(null);return E.useCallback(c=>{var m;c&&((m=t.onMount)==null||m.call(t,c));const d=s.current;if(typeof d=="function")if(c){const p=d(c);typeof p=="function"&&(o.current=p)}else o.current?(o.current(),o.current=null):d(c);else d&&(d.current=c);n&&(c?n.mount(c):n.unmount())},[n])}const kw=E.createContext({});function js(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function F_(t,n,i,s,o,c){var H,I;const{visualElement:d}=E.useContext(qu),m=E.useContext(Nw),p=E.useContext(Iu),g=E.useContext(wp),y=g.reducedMotion,x=g.skipAnimations,b=E.useRef(null),w=E.useRef(!1);s=s||m.renderer,!b.current&&s&&(b.current=s(t,{visualState:n,parent:d,props:i,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:y,skipAnimations:x,isSVG:c}),w.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const T=b.current,M=E.useContext(kw);T&&!T.projection&&o&&(T.type==="html"||T.type==="svg")&&G_(b.current,i,o,M);const j=E.useRef(!1);E.useInsertionEffect(()=>{T&&j.current&&T.update(i,p)});const k=i[GS],U=E.useRef(!!k&&typeof window<"u"&&!((H=window.MotionHandoffIsComplete)!=null&&H.call(window,k))&&((I=window.MotionHasOptimisedAnimation)==null?void 0:I.call(window,k)));return eS(()=>{w.current=!0,T&&(j.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),T.scheduleRenderMicrotask(),U.current&&T.animationState&&T.animationState.animateChanges())}),E.useEffect(()=>{T&&(!U.current&&T.animationState&&T.animationState.animateChanges(),U.current&&(queueMicrotask(()=>{var K;(K=window.MotionHandoffMarkAsComplete)==null||K.call(window,k)}),U.current=!1),T.enteringChildren=void 0)}),T}function G_(t,n,i,s){const{layoutId:o,layout:c,drag:d,dragConstraints:m,layoutScroll:p,layoutRoot:g,layoutAnchor:y,layoutCrossfade:x}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:Lw(t.parent)),t.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!d||m&&js(m),visualElement:t,animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,crossfade:x,layoutScroll:p,layoutRoot:g,layoutAnchor:y})}function Lw(t){if(t)return t.options.allowProjection!==!1?t.projection:Lw(t.parent)}function Lh(t,{forwardMotionProps:n=!1,type:i}={},s,o){s&&T_(s);const c=i?i==="svg":Ep(t),d=c?U_:B_;function m(g,y){let x;const b={...E.useContext(wp),...g,layoutId:P_(g)},{isStatic:w}=b,T=N_(g),M=d(g,w);if(!w&&typeof window<"u"){I_();const j=Y_(b);x=j.MeasureLayout,T.visualElement=F_(t,M,b,o,j.ProjectionNode,c)}return h.jsxs(qu.Provider,{value:T,children:[x&&T.visualElement?h.jsx(x,{visualElement:T.visualElement,...b}):null,k_(t,g,H_(M,T.visualElement,y),M,w,n,c)]})}m.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const p=E.forwardRef(m);return p[V_]=t,p}function P_({layoutId:t}){const n=E.useContext(Wm).id;return n&&t!==void 0?n+"-"+t:t}function I_(t,n){E.useContext(Nw).strict}function Y_(t){const n=Rw(),{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 K_(t,n){if(typeof Proxy>"u")return Lh;const i=new Map,s=(c,d)=>Lh(c,d,t,n),o=(c,d)=>s(c,d);return new Proxy(o,{get:(c,d)=>d==="create"?s:(i.has(d)||i.set(d,Lh(d,void 0,t,n)),i.get(d))})}const Z_=(t,n)=>n.isSVG??Ep(t)?new wM(n):new gM(n,{allowProjection:t!==E.Fragment});class q_ extends $i{constructor(n){super(n),n.animationState||(n.animationState=jM(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Ku(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 X_=0;class W_ extends $i{constructor(){super(...arguments),this.id=X_++,this.isExitComplete=!1}update(){var c;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:m}=this.node.getProps();if(typeof d=="string"){const p=Or(this.node,d,m);if(p){const{transition:g,transitionEnd:y,...x}=p;for(const b in x)(c=this.node.getValue(b))==null||c.jump(x[b])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!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:q_},exit:{Feature:W_}};function Oo(t){return{point:{x:t.pageX,y:t.pageY}}}const Q_=t=>n=>gp(n)&&t(n,Oo(n));function mo(t,n,i,s){return To(t,n,Q_(i),s)}const zw=({current:t})=>t?t.ownerDocument.defaultView:null,c0=(t,n)=>Math.abs(t-n);function J_(t,n){const i=c0(t.x,n.x),s=c0(t.y,n.y);return Math.sqrt(i**2+s**2)}const u0=new Set(["auto","scroll"]);class Bw{constructor(n,i,{transformPagePoint:s,contextWindow:o=window,dragSnapToOrigin:c=!1,distanceThreshold:d=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=w=>{this.handleScroll(w.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=iu(this.lastRawMoveEventInfo,this.transformPagePoint));const w=zh(this.lastMoveEventInfo,this.history),T=this.startEvent!==null,M=J_(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!T&&!M)return;const{point:j}=w,{timestamp:k}=Yt;this.history.push({...j,timestamp:k});const{onStart:U,onMove:H}=this.handlers;T||(U&&U(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),H&&H(this.lastMoveEvent,w)},this.handlePointerMove=(w,T)=>{this.lastMoveEvent=w,this.lastRawMoveEventInfo=T,this.lastMoveEventInfo=iu(T,this.transformPagePoint),dt.update(this.updatePoint,!0)},this.handlePointerUp=(w,T)=>{this.end();const{onEnd:M,onSessionEnd:j,resumeAnimation:k}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&k&&k(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const U=zh(w.type==="pointercancel"?this.lastMoveEventInfo:iu(T,this.transformPagePoint),this.history);this.startEvent&&M&&M(w,U),j&&j(w,U)},!gp(n))return;this.dragSnapToOrigin=c,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=d,this.contextWindow=o||window;const p=Oo(n),g=iu(p,this.transformPagePoint),{point:y}=g,{timestamp:x}=Yt;this.history=[{...y,timestamp:x}];const{onSessionStart:b}=i;b&&b(n,zh(g,this.history)),this.removeListeners=Do(mo(this.contextWindow,"pointermove",this.handlePointerMove),mo(this.contextWindow,"pointerup",this.handlePointerUp),mo(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(n){let i=n.parentElement;for(;i;){const s=getComputedStyle(i);(u0.has(s.overflowX)||u0.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},c={x:o.x-i.x,y:o.y-i.y};c.x===0&&c.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=c.x,this.lastMoveEventInfo.point.y+=c.y):this.history.length>0&&(this.history[0].x-=c.x,this.history[0].y-=c.y),this.scrollPositions.set(n,o),dt.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 iu(t,n){return n?{point:n(t.point)}:t}function d0(t,n){return{x:t.x-n.x,y:t.y-n.y}}function zh({point:t},n){return{point:t,delta:d0(t,Uw(n)),offset:d0(t,eO(n)),velocity:tO(n,.1)}}function eO(t){return t[0]}function Uw(t){return t[t.length-1]}function tO(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null;const o=Uw(t);for(;i>=0&&(s=t[i],!(o.timestamp-s.timestamp>Cn(n)));)i--;if(!s)return{x:0,y:0};s===t[0]&&t.length>2&&o.timestamp-s.timestamp>Cn(n)*2&&(s=t[1]);const c=Pn(o.timestamp-s.timestamp);if(c===0)return{x:0,y:0};const d={x:(o.x-s.x)/c,y:(o.y-s.y)/c};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function nO(t,{min:n,max:i},s){return n!==void 0&&t<n?t=s?vt(n,t,s.min):Math.max(t,n):i!==void 0&&t>i&&(t=s?vt(i,t,s.max):Math.min(t,i)),t}function f0(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 aO(t,{top:n,left:i,bottom:s,right:o}){return{x:f0(t.x,i,o),y:f0(t.y,n,s)}}function h0(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 iO(t,n){return{x:h0(t.x,n.x),y:h0(t.y,n.y)}}function rO(t,n){let i=.5;const s=nn(t),o=nn(n);return o>s?i=bo(n.min,n.max-s,t.min):s>o&&(i=bo(t.min,t.max-o,n.min)),xa(0,1,i)}function sO(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 Em=.35;function lO(t=Em){return t===!1?t=0:t===!0&&(t=Em),{x:m0(t,"left","right"),y:m0(t,"top","bottom")}}function m0(t,n,i){return{min:p0(t,n),max:p0(t,i)}}function p0(t,n){return typeof t=="number"?t:t[n]||0}const oO=new WeakMap;class cO{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=Bt(),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 c=x=>{i&&this.snapToCursor(Oo(x).point),this.stopAnimation()},d=(x,b)=>{const{drag:w,dragPropagation:T,onDragStart:M}=this.getProps();if(w&&!T&&(this.openDragLock&&this.openDragLock(),this.openDragLock=LD(w),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ma(k=>{let U=this.getAxisMotionValue(k).get()||0;if(ya.test(U)){const{projection:H}=this.visualElement;if(H&&H.layout){const I=H.layout.layoutBox[k];I&&(U=nn(I)*(parseFloat(U)/100))}}this.originPoint[k]=U}),M&&dt.update(()=>M(x,b),!1,!0),pm(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},m=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b;const{dragPropagation:w,dragDirectionLock:T,onDirectionLock:M,onDrag:j}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:k}=b;if(T&&this.currentDirection===null){this.currentDirection=dO(k),this.currentDirection!==null&&M&&M(this.currentDirection);return}this.updateAxis("x",b.point,k),this.updateAxis("y",b.point,k),this.visualElement.render(),j&&dt.update(()=>j(x,b),!1,!0)},p=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b,this.stop(x,b),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>{const{dragSnapToOrigin:x}=this.getProps();(x||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new Bw(n,{onSessionStart:c,onStart:d,onMove:m,onSessionEnd:p,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:s,contextWindow:zw(this.visualElement),element:this.visualElement.current})}stop(n,i){const s=n||this.latestPointerEvent,o=i||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!o||!s)return;const{velocity:d}=o;this.startAnimation(d);const{onDragEnd:m}=this.getProps();m&&dt.postRender(()=>m(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||!ru(n,o,this.currentDirection))return;const c=this.getAxisMotionValue(n);let d=this.originPoint[n]+s[n];this.constraints&&this.constraints[n]&&(d=nO(d,this.constraints[n],this.elastic[n])),c.set(d)}resolveConstraints(){var c;const{dragConstraints:n,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(c=this.visualElement.projection)==null?void 0:c.layout,o=this.constraints;n&&js(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=aO(s.layoutBox,n):this.constraints=!1,this.elastic=lO(i),o!==this.constraints&&!js(n)&&s&&this.constraints&&!this.hasMutatedConstraints&&ma(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=sO(s.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!js(n))return!1;const s=n.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const c=uM(s,o.root,this.visualElement.getTransformPagePoint());let d=iO(o.layout.layoutBox,c);if(i){const m=i(lM(d));this.hasMutatedConstraints=!!m,m&&(d=rw(m))}return d}startAnimation(n){const{drag:i,dragMomentum:s,dragElastic:o,dragTransition:c,dragSnapToOrigin:d,onDragTransitionEnd:m}=this.getProps(),p=this.constraints||{},g=ma(y=>{if(!ru(y,i,this.currentDirection))return;let x=p&&p[y]||{};(d===!0||d===y)&&(x={min:0,max:0});const b=o?200:1e6,w=o?40:1e7,T={type:"inertia",velocity:s?n[y]:0,bounceStiffness:b,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...c,...x};return this.startAxisValueAnimation(y,T)});return Promise.all(g).then(m)}startAxisValueAnimation(n,i){const s=this.getAxisMotionValue(n);return pm(this.visualElement,n),s.start(dp(n,s,0,i,this.visualElement,!1))}stopAnimation(){ma(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){ma(i=>{const{drag:s}=this.getProps();if(!ru(i,s,this.currentDirection))return;const{projection:o}=this.visualElement,c=this.getAxisMotionValue(i);if(o&&o.layout){const{min:d,max:m}=o.layout.layoutBox[i],p=c.get()||0;c.set(n[i]-vt(d,m,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!js(i)||!s||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};ma(d=>{const m=this.getAxisMotionValue(d);if(m&&this.constraints!==!1){const p=m.get();o[d]=rO({min:p,max:p},this.constraints[d])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),ma(d=>{if(!ru(d,n,null))return;const m=this.getAxisMotionValue(d),{min:p,max:g}=this.constraints[d];m.set(vt(p,g,o[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;oO.set(this.visualElement,this);const n=this.visualElement.current,i=mo(n,"pointerdown",g=>{const{drag:y,dragListener:x=!0}=this.getProps(),b=g.target,w=b!==n&&FD(b);y&&x&&!w&&this.start(g)});let s;const o=()=>{const{dragConstraints:g}=this.getProps();js(g)&&g.current&&(this.constraints=this.resolveRefConstraints(),s||(s=uO(n,g.current,()=>this.scalePositionWithinConstraints())))},{projection:c}=this.visualElement,d=c.addEventListener("measure",o);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),dt.read(o);const m=To(window,"resize",()=>this.scalePositionWithinConstraints()),p=c.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:y})=>{this.isDragging&&y&&(ma(x=>{const b=this.getAxisMotionValue(x);b&&(this.originPoint[x]+=g[x].translate,b.set(b.get()+g[x].translate))}),this.visualElement.render())}));return()=>{m(),i(),d(),p&&p(),s&&s()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:o=!1,dragConstraints:c=!1,dragElastic:d=Em,dragMomentum:m=!0}=n;return{...n,drag:i,dragDirectionLock:s,dragPropagation:o,dragConstraints:c,dragElastic:d,dragMomentum:m}}}function g0(t){let n=!0;return()=>{if(n){n=!1;return}t()}}function uO(t,n,i){const s=Tb(t,g0(i)),o=Tb(n,g0(i));return()=>{s(),o()}}function ru(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function dO(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class fO extends $i{constructor(n){super(n),this.removeGroupControls=Yn,this.removeListeners=Yn,this.controls=new cO(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Yn}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 Bh=t=>(n,i)=>{t&&dt.update(()=>t(n,i),!1,!0)};class hO extends $i{constructor(){super(...arguments),this.removePointerDownListener=Yn}onPointerDown(n){this.session=new Bw(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:zw(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:s,onPanEnd:o}=this.node.getProps();return{onSessionStart:Bh(n),onStart:Bh(i),onMove:Bh(s),onEnd:(c,d)=>{delete this.session,o&&dt.postRender(()=>o(c,d))}}}mount(){this.removePointerDownListener=mo(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 Uh=!1;class mO extends E.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s,layoutId:o}=this.props,{projection:c}=n;c&&(i.group&&i.group.add(c),s&&s.register&&o&&s.register(c),Uh&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),yu.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:s,drag:o,isPresent:c}=this.props,{projection:d}=s;return d&&(d.isPresent=c,n.layoutDependency!==i&&d.setOptions({...d.options,layoutDependency:i}),Uh=!0,o||n.layoutDependency!==i||i===void 0||n.isPresent!==c?d.willUpdate():this.safeToRemove(),n.isPresent!==c&&(c?d.promote():d.relegate()||dt.postRender(()=>{const m=d.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:n,layoutAnchor:i}=this.props,{projection:s}=n;s&&(s.options.layoutAnchor=i,s.root.didUpdate(),pp.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:o}=n;Uh=!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 Vw(t){const[n,i]=jw(),s=E.useContext(Wm);return h.jsx(mO,{...t,layoutGroup:s,switchLayoutGroup:E.useContext(kw),isPresent:n,safeToRemove:i})}const pO={pan:{Feature:hO},drag:{Feature:fO,ProjectionNode:Cw,MeasureLayout:Vw}};function y0(t,n,i){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",i==="Start");const o="onHover"+i,c=s[o];c&&dt.postRender(()=>c(n,Oo(n)))}class gO extends $i{mount(){const{current:n}=this.node;n&&(this.unmount=BD(n,(i,s)=>(y0(this.node,s,"Start"),o=>y0(this.node,o,"End"))))}unmount(){}}class yO extends $i{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}
vendor: 4,011 bytes, line 385
385mount(){this.unmount=Do(To(this.node.current,"focus",()=>this.onFocus()),To(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function v0(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),c=s[o];c&&dt.postRender(()=>c(n,Oo(n)))}class vO extends $i{mount(){const{current:n}=this.node;if(!n)return;const{globalTapTarget:i,propagate:s}=this.node.props;this.unmount=PD(n,(o,c)=>(v0(this.node,c,"Start"),(d,{success:m})=>v0(this.node,d,m?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:(s==null?void 0:s.tap)===!1})}unmount(){}}const Am=new WeakMap,Vh=new WeakMap,xO=t=>{const n=Am.get(t.target);n&&n(t)},bO=t=>{t.forEach(xO)};function SO({root:t,...n}){const i=t||document;Vh.has(i)||Vh.set(i,{});const s=Vh.get(i),o=JSON.stringify(n);return s[o]||(s[o]=new IntersectionObserver(bO,{root:t,...n})),s[o]}function wO(t,n,i){const s=SO(n);return Am.set(t,i),s.observe(t),()=>{Am.delete(t),s.unobserve(t)}}const TO={some:0,all:1};class EO extends $i{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var p;(p=this.stopObserver)==null||p.call(this);const{viewport:n={}}=this.node.getProps(),{root:i,margin:s,amount:o="some",once:c}=n,d={root:i?i.current:void 0,rootMargin:s,threshold:typeof o=="number"?o:TO[o]},m=g=>{const{isIntersecting:y}=g;if(this.isInView===y||(this.isInView=y,c&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:x,onViewportLeave:b}=this.node.getProps(),w=y?x:b;w&&w(g)};this.stopObserver=wO(this.node.current,d,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(AO(n,i))&&this.startObserver()}unmount(){var n;(n=this.stopObserver)==null||n.call(this),this.hasEnteredView=!1,this.isInView=!1}}function AO({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const CO={inView:{Feature:EO},tap:{Feature:vO},focus:{Feature:yO},hover:{Feature:gO}},jO={layout:{ProjectionNode:Cw,MeasureLayout:Vw}},NO={...$_,...CO,...pO,...jO},pe=K_(NO,Z_);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 c={};for(const d of o)c[d]=d;return c},t.getValidEnumValues=o=>{const c=t.objectKeys(o).filter(m=>typeof o[o[m]]!="number"),d={};for(const m of c)d[m]=o[m];return t.objectValues(d)},t.objectValues=o=>t.objectKeys(o).map(function(c){return o[c]}),t.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const c=[];for(const d in o)Object.prototype.hasOwnProperty.call(o,d)&&c.push(d);return c},t.find=(o,c)=>{for(const d of o)if(c(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,c=" | "){return o.map(d=>typeof d=="string"?`'${d}'`:d).join(c)}t.joinValues=s,t.jsonStringifyReplacer=(o,c)=>typeof c=="bigint"?c.toString():c})(Xe||(Xe={}));var x0;(function(t){t.mergeShapes=(n,i)=>({...n,...i})})(x0||(x0={}));const fe=Xe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Fi=t=>{switch(typeof t){case"undefined":return fe.undefined;case"string":return fe.string;case"number":return Number.isNaN(t)?fe.nan:fe.number;case"boolean":return fe.boolean;case"function":return fe.function;case"bigint":return fe.bigint;case"symbol":return fe.symbol;case"object":return Array.isArray(t)?fe.array:t===null?fe.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?fe.promise:typeof Map<"u"&&t instanceof Map?fe.map:typeof Set<"u"&&t instanceof Set?fe.set:typeof Date<"u"&&t instanceof Date?fe.date:fe.object;default:return fe.unknown}}
vendor: 4,365 bytes, line 385
385,J=Xe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ai 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(c){return c.message},s={_errors:[]},o=c=>{for(const d of c.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 m=s,p=0;for(;p<d.path.length;){const g=d.path[p];p===d.path.length-1?(m[g]=m[g]||{_errors:[]},m[g]._errors.push(i(d))):m[g]=m[g]||{_errors:[]},m=m[g],p++}}};return o(this),s}static assert(n){if(!(n instanceof ai))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 c=o.path[0];i[c]=i[c]||[],i[c].push(n(o))}else s.push(n(o));return{formErrors:s,fieldErrors:i}}get formErrors(){return this.flatten()}}ai.create=t=>new ai(t);const Cm=(t,n)=>{let i;switch(t.code){case J.invalid_type:t.received===fe.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 385
385case 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 RO=Cm;function DO(){return RO}const MO=t=>{const{data:n,path:i,errorMaps:s,issueData:o}=t,c=[...i,...o.path||[]],d={...o,path:c};if(o.message!==void 0)return{...o,path:c,message:o.message};let m="";const p=s.filter(g=>!!g).slice().reverse();for(const g of p)m=g(d,{data:n,defaultError:m}).message;return{...o,path:c,message:m}};function le(t,n){const i=DO(),s=MO({issueData:n,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,i,i===Cm?void 0:Cm].filter(o=>!!o)});t.common.issues.push(s)}class jn{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 Ne;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 c=await o.key,d=await o.value;s.push({key:c,value:d})}return jn.mergeObjectSync(n,s)}static mergeObjectSync(n,i){const s={};for(const o of i){const{key:c,value:d}=o;if(c.status==="aborted"||d.status==="aborted")return Ne;c.status==="dirty"&&n.dirty(),d.status==="dirty"&&n.dirty(),c.value!=="__proto__"&&(typeof d.value<"u"||o.alwaysSet)&&(s[c.value]=d.value)}return{status:n.value,value:s}}}const Ne=Object.freeze({status:"aborted"}),io=t=>({status:"dirty",value:t}),Zn=t=>({status:"valid",value:t}),b0=t=>t.status==="aborted",S0=t=>t.status==="dirty",Vs=t=>t.status==="valid",_u=t=>typeof Promise<"u"&&t instanceof Promise;var me;(function(t){t.errToObj=n=>typeof n=="string"?{message:n}:n||{},t.toString=n=>typeof n=="string"?n:n==null?void 0:n.message})(me||(me={}));class Xi{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 w0=(t,n)=>{if(Vs(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 ai(t.common.issues);return this._error=i,this._error}}};function Ue(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,m)=>{const{message:p}=t;return d.code==="invalid_enum_value"?{message:p??m.defaultError}:typeof m.data>"u"?{message:p??s??m.defaultError}:d.code!=="invalid_type"?{message:m.defaultError}:{message:p??i??m.defaultError}},description:o}}class Ye{get description(){return this._def.description}_getType(n){return Fi(n.data)}_getOrReturnCtx(n,i){return i||{common:n.parent.common,data:n.data,parsedType:Fi(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}_processInputParams(n){return{status:new jn,ctx:{common:n.parent.common,data:n.data,parsedType:Fi(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}}_parseSync(n){const i=this._parse(n);if(_u(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:Fi(n)},o=this._parseSync({data:n,path:s.path,parent:s});return w0(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:Fi(n)};if(!this["~standard"].async)try{const c=this._parseSync({data:n,path:[],parent:i});return Vs(c)?{value:c.value}:{issues:i.common.issues}}catch(c){(o=(s=c==null?void 0:c.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(c=>Vs(c)?{value:c.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:Fi(n)},o=this._parse({data:n,path:s.path,parent:s}),c=await(_u(o)?o:Promise.resolve(o));return w0(s,c)}refine(n,i){const s=o=>typeof i=="string"||typeof i>"u"?{message:i}:typeof i=="function"?i(o):i;return this._refinement((o,c)=>{const d=n(o),m=()=>c.addIssue({code:J.custom,...s(o)});return typeof Promise<"u"&&d instanceof Promise?d.then(p=>p?!0:(m(),!1)):d?!0:(m(),!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 Fs({schema:this,typeName:Re.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 Gs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return va.create(this)}promise(){return zu.create(this,this._def)}or(n){return ku.create([this,n],this._def)}and(n){return Lu.create(this,n,this._def)}transform(n){return new Fs({...Ue(this._def),schema:this,typeName:Re.ZodEffects,effect:{type:"transform",transform:n}})}default(n){const i=typeof n=="function"?n:()=>n;return new Nm({...Ue(this._def),innerType:this,defaultValue:i,typeName:Re.ZodDefault})}brand(){return new e3({typeName:Re.ZodBranded,type:this,...Ue(this._def)})}catch(n){const i=typeof n=="function"?n:()=>n;return new Rm({...Ue(this._def),innerType:this,catchValue:i,typeName:Re.ZodCatch})}describe(n){const i=this.constructor;return new i({...this._def,description:n})}pipe(n){return Ap.create(this,n)}readonly(){return Dm.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const _O=/^c[^\s-]{8,}
vendor: 21,990 bytes, line 385
385$/i,OO=/^[0-9a-z]+$/,kO=/^[0-9A-HJKMNP-TV-Z]{26}$/i,LO=/^[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,zO=/^[a-z0-9_-]{21}$/i,BO=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,UO=/^[-+]?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)?)??$/,VO=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,HO="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Hh;const FO=/^(?:(?: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])$/,GO=/^(?:(?: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])$/,PO=/^(([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]))$/,IO=/^(([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])$/,YO=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,KO=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Hw="((\\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])))",ZO=new RegExp(`^${Hw}$`);function Fw(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 qO(t){return new RegExp(`^${Fw(t)}$`)}function XO(t){let n=`${Hw}T${Fw(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 WO(t,n){return!!((n==="v4"||!n)&&FO.test(t)||(n==="v6"||!n)&&PO.test(t))}function $O(t,n){if(!BO.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 QO(t,n){return!!((n==="v4"||!n)&&GO.test(t)||(n==="v6"||!n)&&IO.test(t))}class Yi extends Ye{_parse(n){if(this._def.coerce&&(n.data=String(n.data)),this._getType(n)!==fe.string){const c=this._getOrReturnCtx(n);return le(c,{code:J.invalid_type,expected:fe.string,received:c.parsedType}),Ne}const s=new jn;let o;for(const c of this._def.checks)if(c.kind==="min")n.data.length<c.value&&(o=this._getOrReturnCtx(n,o),le(o,{code:J.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!1,message:c.message}),s.dirty());else if(c.kind==="max")n.data.length>c.value&&(o=this._getOrReturnCtx(n,o),le(o,{code:J.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!1,message:c.message}),s.dirty());else if(c.kind==="length"){const d=n.data.length>c.value,m=n.data.length<c.value;(d||m)&&(o=this._getOrReturnCtx(n,o),d?le(o,{code:J.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}):m&&le(o,{code:J.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}),s.dirty())}else if(c.kind==="email")VO.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"email",code:J.invalid_string,message:c.message}),s.dirty());else if(c.kind==="emoji")Hh||(Hh=new RegExp(HO,"u")),Hh.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"emoji",code:J.invalid_string,message:c.message}),s.dirty());else if(c.kind==="uuid")LO.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"uuid",code:J.invalid_string,message:c.message}),s.dirty());else if(c.kind==="nanoid")zO.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"nanoid",code:J.invalid_string,message:c.message}),s.dirty());else if(c.kind==="cuid")_O.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"cuid",code:J.invalid_string,message:c.message}),s.dirty());else if(c.kind==="cuid2")OO.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"cuid2",code:J.invalid_string,message:c.message}),s.dirty());else if(c.kind==="ulid")kO.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"ulid",code:J.invalid_string,message:c.message}),s.dirty());else if(c.kind==="url")try{new URL(n.data)}catch{o=this._getOrReturnCtx(n,o),le(o,{validation:"url",code:J.invalid_string,message:c.message}),s.dirty()}else c.kind==="regex"?(c.regex.lastIndex=0,c.regex.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"regex",code:J.invalid_string,message:c.message}),s.dirty())):c.kind==="trim"?n.data=n.data.trim():c.kind==="includes"?n.data.includes(c.value,c.position)||(o=this._getOrReturnCtx(n,o),le(o,{code:J.invalid_string,validation:{includes:c.value,position:c.position},message:c.message}),s.dirty()):c.kind==="toLowerCase"?n.data=n.data.toLowerCase():c.kind==="toUpperCase"?n.data=n.data.toUpperCase():c.kind==="startsWith"?n.data.startsWith(c.value)||(o=this._getOrReturnCtx(n,o),le(o,{code:J.invalid_string,validation:{startsWith:c.value},message:c.message}),s.dirty()):c.kind==="endsWith"?n.data.endsWith(c.value)||(o=this._getOrReturnCtx(n,o),le(o,{code:J.invalid_string,validation:{endsWith:c.value},message:c.message}),s.dirty()):c.kind==="datetime"?XO(c).test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{code:J.invalid_string,validation:"datetime",message:c.message}),s.dirty()):c.kind==="date"?ZO.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{code:J.invalid_string,validation:"date",message:c.message}),s.dirty()):c.kind==="time"?qO(c).test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{code:J.invalid_string,validation:"time",message:c.message}),s.dirty()):c.kind==="duration"?UO.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"duration",code:J.invalid_string,message:c.message}),s.dirty()):c.kind==="ip"?WO(n.data,c.version)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"ip",code:J.invalid_string,message:c.message}),s.dirty()):c.kind==="jwt"?$O(n.data,c.alg)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"jwt",code:J.invalid_string,message:c.message}),s.dirty()):c.kind==="cidr"?QO(n.data,c.version)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"cidr",code:J.invalid_string,message:c.message}),s.dirty()):c.kind==="base64"?YO.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"base64",code:J.invalid_string,message:c.message}),s.dirty()):c.kind==="base64url"?KO.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"base64url",code:J.invalid_string,message:c.message}),s.dirty()):Xe.assertNever(c);return{status:s.value,value:n.data}}_regex(n,i,s){return this.refinement(o=>n.test(o),{validation:i,code:J.invalid_string,...me.errToObj(s)})}_addCheck(n){return new Yi({...this._def,checks:[...this._def.checks,n]})}email(n){return this._addCheck({kind:"email",...me.errToObj(n)})}url(n){return this._addCheck({kind:"url",...me.errToObj(n)})}emoji(n){return this._addCheck({kind:"emoji",...me.errToObj(n)})}uuid(n){return this._addCheck({kind:"uuid",...me.errToObj(n)})}nanoid(n){return this._addCheck({kind:"nanoid",...me.errToObj(n)})}cuid(n){return this._addCheck({kind:"cuid",...me.errToObj(n)})}cuid2(n){return this._addCheck({kind:"cuid2",...me.errToObj(n)})}ulid(n){return this._addCheck({kind:"ulid",...me.errToObj(n)})}base64(n){return this._addCheck({kind:"base64",...me.errToObj(n)})}base64url(n){return this._addCheck({kind:"base64url",...me.errToObj(n)})}jwt(n){return this._addCheck({kind:"jwt",...me.errToObj(n)})}ip(n){return this._addCheck({kind:"ip",...me.errToObj(n)})}cidr(n){return this._addCheck({kind:"cidr",...me.errToObj(n)})}datetime(n){return typeof n=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:n}):this._addCheck({kind:"datetime",precision:typeof(n==null?void 0:n.precision)>"u"?null:n==null?void 0:n.precision,offset:(n==null?void 0:n.offset)??!1,local:(n==null?void 0:n.local)??!1,...me.errToObj(n==null?void 0:n.message)})}date(n){return this._addCheck({kind:"date",message:n})}time(n){return typeof n=="string"?this._addCheck({kind:"time",precision:null,message:n}):this._addCheck({kind:"time",precision:typeof(n==null?void 0:n.precision)>"u"?null:n==null?void 0:n.precision,...me.errToObj(n==null?void 0:n.message)})}duration(n){return this._addCheck({kind:"duration",...me.errToObj(n)})}regex(n,i){return this._addCheck({kind:"regex",regex:n,...me.errToObj(i)})}includes(n,i){return this._addCheck({kind:"includes",value:n,position:i==null?void 0:i.position,...me.errToObj(i==null?void 0:i.message)})}startsWith(n,i){return this._addCheck({kind:"startsWith",value:n,...me.errToObj(i)})}endsWith(n,i){return this._addCheck({kind:"endsWith",value:n,...me.errToObj(i)})}min(n,i){return this._addCheck({kind:"min",value:n,...me.errToObj(i)})}max(n,i){return this._addCheck({kind:"max",value:n,...me.errToObj(i)})}length(n,i){return this._addCheck({kind:"length",value:n,...me.errToObj(i)})}nonempty(n){return this.min(1,me.errToObj(n))}trim(){return new Yi({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Yi({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Yi({...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}}Yi.create=t=>new Yi({checks:[],typeName:Re.ZodString,coerce:(t==null?void 0:t.coerce)??!1,...Ue(t)});function JO(t,n){const i=(t.toString().split(".")[1]||"").length,s=(n.toString().split(".")[1]||"").length,o=i>s?i:s,c=Number.parseInt(t.toFixed(o).replace(".","")),d=Number.parseInt(n.toFixed(o).replace(".",""));return c%d/10**o}class Eo extends Ye{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)!==fe.number){const c=this._getOrReturnCtx(n);return le(c,{code:J.invalid_type,expected:fe.number,received:c.parsedType}),Ne}let s;const o=new jn;for(const c of this._def.checks)c.kind==="int"?Xe.isInteger(n.data)||(s=this._getOrReturnCtx(n,s),le(s,{code:J.invalid_type,expected:"integer",received:"float",message:c.message}),o.dirty()):c.kind==="min"?(c.inclusive?n.data<c.value:n.data<=c.value)&&(s=this._getOrReturnCtx(n,s),le(s,{code:J.too_small,minimum:c.value,type:"number",inclusive:c.inclusive,exact:!1,message:c.message}),o.dirty()):c.kind==="max"?(c.inclusive?n.data>c.value:n.data>=c.value)&&(s=this._getOrReturnCtx(n,s),le(s,{code:J.too_big,maximum:c.value,type:"number",inclusive:c.inclusive,exact:!1,message:c.message}),o.dirty()):c.kind==="multipleOf"?JO(n.data,c.value)!==0&&(s=this._getOrReturnCtx(n,s),le(s,{code:J.not_multiple_of,multipleOf:c.value,message:c.message}),o.dirty()):c.kind==="finite"?Number.isFinite(n.data)||(s=this._getOrReturnCtx(n,s),le(s,{code:J.not_finite,message:c.message}),o.dirty()):Xe.assertNever(c);return{status:o.value,value:n.data}}gte(n,i){return this.setLimit("min",n,!0,me.toString(i))}gt(n,i){return this.setLimit("min",n,!1,me.toString(i))}lte(n,i){return this.setLimit("max",n,!0,me.toString(i))}lt(n,i){return this.setLimit("max",n,!1,me.toString(i))}setLimit(n,i,s,o){return new Eo({...this._def,checks:[...this._def.checks,{kind:n,value:i,inclusive:s,message:me.toString(o)}]})}_addCheck(n){return new Eo({...this._def,checks:[...this._def.checks,n]})}int(n){return this._addCheck({kind:"int",message:me.toString(n)})}positive(n){return this._addCheck({kind:"min",value:0,inclusive:!1,message:me.toString(n)})}negative(n){return this._addCheck({kind:"max",value:0,inclusive:!1,message:me.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:0,inclusive:!0,message:me.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:0,inclusive:!0,message:me.toString(n)})}multipleOf(n,i){return this._addCheck({kind:"multipleOf",value:n,message:me.toString(i)})}finite(n){return this._addCheck({kind:"finite",message:me.toString(n)})}safe(n){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:me.toString(n)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:me.toString(n)})}get minValue(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxValue(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}get isInt(){return!!this._def.checks.find(n=>n.kind==="int"||n.kind==="multipleOf"&&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)}}Eo.create=t=>new Eo({checks:[],typeName:Re.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...Ue(t)});class Ao extends Ye{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)!==fe.bigint)return this._getInvalidInput(n);let s;const o=new jn;for(const c of this._def.checks)c.kind==="min"?(c.inclusive?n.data<c.value:n.data<=c.value)&&(s=this._getOrReturnCtx(n,s),le(s,{code:J.too_small,type:"bigint",minimum:c.value,inclusive:c.inclusive,message:c.message}),o.dirty()):c.kind==="max"?(c.inclusive?n.data>c.value:n.data>=c.value)&&(s=this._getOrReturnCtx(n,s),le(s,{code:J.too_big,type:"bigint",maximum:c.value,inclusive:c.inclusive,message:c.message}),o.dirty()):c.kind==="multipleOf"?n.data%c.value!==BigInt(0)&&(s=this._getOrReturnCtx(n,s),le(s,{code:J.not_multiple_of,multipleOf:c.value,message:c.message}),o.dirty()):Xe.assertNever(c);return{status:o.value,value:n.data}}_getInvalidInput(n){const i=this._getOrReturnCtx(n);return le(i,{code:J.invalid_type,expected:fe.bigint,received:i.parsedType}),Ne}gte(n,i){return this.setLimit("min",n,!0,me.toString(i))}gt(n,i){return this.setLimit("min",n,!1,me.toString(i))}lte(n,i){return this.setLimit("max",n,!0,me.toString(i))}lt(n,i){return this.setLimit("max",n,!1,me.toString(i))}setLimit(n,i,s,o){return new Ao({...this._def,checks:[...this._def.checks,{kind:n,value:i,inclusive:s,message:me.toString(o)}]})}_addCheck(n){return new Ao({...this._def,checks:[...this._def.checks,n]})}positive(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:me.toString(n)})}negative(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:me.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:me.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:me.toString(n)})}multipleOf(n,i){return this._addCheck({kind:"multipleOf",value:n,message:me.toString(i)})}get minValue(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxValue(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}}Ao.create=t=>new Ao({checks:[],typeName:Re.ZodBigInt,coerce:(t==null?void 0:t.coerce)??!1,...Ue(t)});class T0 extends Ye{_parse(n){if(this._def.coerce&&(n.data=!!n.data),this._getType(n)!==fe.boolean){const s=this._getOrReturnCtx(n);return le(s,{code:J.invalid_type,expected:fe.boolean,received:s.parsedType}),Ne}return Zn(n.data)}}T0.create=t=>new T0({typeName:Re.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...Ue(t)});class Ou extends Ye{_parse(n){if(this._def.coerce&&(n.data=new Date(n.data)),this._getType(n)!==fe.date){const c=this._getOrReturnCtx(n);return le(c,{code:J.invalid_type,expected:fe.date,received:c.parsedType}),Ne}if(Number.isNaN(n.data.getTime())){const c=this._getOrReturnCtx(n);return le(c,{code:J.invalid_date}),Ne}const s=new jn;let o;for(const c of this._def.checks)c.kind==="min"?n.data.getTime()<c.value&&(o=this._getOrReturnCtx(n,o),le(o,{code:J.too_small,message:c.message,inclusive:!0,exact:!1,minimum:c.value,type:"date"}),s.dirty()):c.kind==="max"?n.data.getTime()>c.value&&(o=this._getOrReturnCtx(n,o),le(o,{code:J.too_big,message:c.message,inclusive:!0,exact:!1,maximum:c.value,type:"date"}),s.dirty()):Xe.assertNever(c);return{status:s.value,value:new Date(n.data.getTime())}}_addCheck(n){return new Ou({...this._def,checks:[...this._def.checks,n]})}min(n,i){return this._addCheck({kind:"min",value:n.getTime(),message:me.toString(i)})}max(n,i){return this._addCheck({kind:"max",value:n.getTime(),message:me.toString(i)})}get minDate(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n!=null?new Date(n):null}get maxDate(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n!=null?new Date(n):null}}Ou.create=t=>new Ou({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:Re.ZodDate,...Ue(t)});class E0 extends Ye{_parse(n){if(this._getType(n)!==fe.symbol){const s=this._getOrReturnCtx(n);return le(s,{code:J.invalid_type,expected:fe.symbol,received:s.parsedType}),Ne}return Zn(n.data)}}E0.create=t=>new E0({typeName:Re.ZodSymbol,...Ue(t)});class A0 extends Ye{_parse(n){if(this._getType(n)!==fe.undefined){const s=this._getOrReturnCtx(n);return le(s,{code:J.invalid_type,expected:fe.undefined,received:s.parsedType}),Ne}return Zn(n.data)}}A0.create=t=>new A0({typeName:Re.ZodUndefined,...Ue(t)});class C0 extends Ye{_parse(n){if(this._getType(n)!==fe.null){const s=this._getOrReturnCtx(n);return le(s,{code:J.invalid_type,expected:fe.null,received:s.parsedType}),Ne}return Zn(n.data)}}C0.create=t=>new C0({typeName:Re.ZodNull,...Ue(t)});class j0 extends Ye{constructor(){super(...arguments),this._any=!0}_parse(n){return Zn(n.data)}}j0.create=t=>new j0({typeName:Re.ZodAny,...Ue(t)});class N0 extends Ye{constructor(){super(...arguments),this._unknown=!0}_parse(n){return Zn(n.data)}}N0.create=t=>new N0({typeName:Re.ZodUnknown,...Ue(t)});class Wi extends Ye{_parse(n){const i=this._getOrReturnCtx(n);return le(i,{code:J.invalid_type,expected:fe.never,received:i.parsedType}),Ne}}Wi.create=t=>new Wi({typeName:Re.ZodNever,...Ue(t)});class R0 extends Ye{_parse(n){if(this._getType(n)!==fe.undefined){const s=this._getOrReturnCtx(n);return le(s,{code:J.invalid_type,expected:fe.void,received:s.parsedType}),Ne}return Zn(n.data)}}R0.create=t=>new R0({typeName:Re.ZodVoid,...Ue(t)});class va extends Ye{_parse(n){const{ctx:i,status:s}=this._processInputParams(n),o=this._def;if(i.parsedType!==fe.array)return le(i,{code:J.invalid_type,expected:fe.array,received:i.parsedType}),Ne;if(o.exactLength!==null){const d=i.data.length>o.exactLength.value,m=i.data.length<o.exactLength.value;(d||m)&&(le(i,{code:d?J.too_big:J.too_small,minimum:m?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&&(le(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&&(le(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,m)=>o.type._parseAsync(new Xi(i,d,i.path,m)))).then(d=>jn.mergeArray(s,d));const c=[...i.data].map((d,m)=>o.type._parseSync(new Xi(i,d,i.path,m)));return jn.mergeArray(s,c)}
vendor: 5,947 bytes, line 385
385get element(){return this._def.type}min(n,i){return new va({...this._def,minLength:{value:n,message:me.toString(i)}})}max(n,i){return new va({...this._def,maxLength:{value:n,message:me.toString(i)}})}length(n,i){return new va({...this._def,exactLength:{value:n,message:me.toString(i)}})}nonempty(n){return this.min(1,n)}}va.create=(t,n)=>new va({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Re.ZodArray,...Ue(n)});function Ns(t){if(t instanceof Ot){const n={};for(const i in t.shape){const s=t.shape[i];n[i]=Ki.create(Ns(s))}return new Ot({...t._def,shape:()=>n})}else return t instanceof va?new va({...t._def,type:Ns(t.element)}):t instanceof Ki?Ki.create(Ns(t.unwrap())):t instanceof Gs?Gs.create(Ns(t.unwrap())):t instanceof kr?kr.create(t.items.map(n=>Ns(n))):t}class Ot extends Ye{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)!==fe.object){const g=this._getOrReturnCtx(n);return le(g,{code:J.invalid_type,expected:fe.object,received:g.parsedType}),Ne}const{status:s,ctx:o}=this._processInputParams(n),{shape:c,keys:d}=this._getCached(),m=[];if(!(this._def.catchall instanceof Wi&&this._def.unknownKeys==="strip"))for(const g in o.data)d.includes(g)||m.push(g);const p=[];for(const g of d){const y=c[g],x=o.data[g];p.push({key:{status:"valid",value:g},value:y._parse(new Xi(o,x,o.path,g)),alwaysSet:g in o.data})}if(this._def.catchall instanceof Wi){const g=this._def.unknownKeys;if(g==="passthrough")for(const y of m)p.push({key:{status:"valid",value:y},value:{status:"valid",value:o.data[y]}});else if(g==="strict")m.length>0&&(le(o,{code:J.unrecognized_keys,keys:m}),s.dirty());else if(g!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const g=this._def.catchall;for(const y of m){const x=o.data[y];p.push({key:{status:"valid",value:y},value:g._parse(new Xi(o,x,o.path,y)),alwaysSet:y in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const g=[];for(const y of p){const x=await y.key,b=await y.value;g.push({key:x,value:b,alwaysSet:y.alwaysSet})}return g}).then(g=>jn.mergeObjectSync(s,g)):jn.mergeObjectSync(s,p)}get shape(){return this._def.shape()}strict(n){return me.errToObj,new Ot({...this._def,unknownKeys:"strict",...n!==void 0?{errorMap:(i,s)=>{var c,d;const o=((d=(c=this._def).errorMap)==null?void 0:d.call(c,i,s).message)??s.defaultError;return i.code==="unrecognized_keys"?{message:me.errToObj(n).message??o}:{message:o}}}:{}})}strip(){return new Ot({...this._def,unknownKeys:"strip"})}passthrough(){return new Ot({...this._def,unknownKeys:"passthrough"})}extend(n){return new Ot({...this._def,shape:()=>({...this._def.shape(),...n})})}merge(n){return new Ot({unknownKeys:n._def.unknownKeys,catchall:n._def.catchall,shape:()=>({...this._def.shape(),...n._def.shape()}),typeName:Re.ZodObject})}setKey(n,i){return this.augment({[n]:i})}catchall(n){return new Ot({...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 Ot({...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 Ot({...this._def,shape:()=>i})}deepPartial(){return Ns(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 Ot({...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 c=this.shape[s];for(;c instanceof Ki;)c=c._def.innerType;i[s]=c}return new Ot({...this._def,shape:()=>i})}keyof(){return Gw(Xe.objectKeys(this.shape))}}Ot.create=(t,n)=>new Ot({shape:()=>t,unknownKeys:"strip",catchall:Wi.create(),typeName:Re.ZodObject,...Ue(n)});Ot.strictCreate=(t,n)=>new Ot({shape:()=>t,unknownKeys:"strict",catchall:Wi.create(),typeName:Re.ZodObject,...Ue(n)});Ot.lazycreate=(t,n)=>new Ot({shape:t,unknownKeys:"strip",catchall:Wi.create(),typeName:Re.ZodObject,...Ue(n)});class ku extends Ye{_parse(n){const{ctx:i}=this._processInputParams(n),s=this._def.options;function o(c){for(const m of c)if(m.result.status==="valid")return m.result;for(const m of c)if(m.result.status==="dirty")return i.common.issues.push(...m.ctx.common.issues),m.result;const d=c.map(m=>new ai(m.ctx.common.issues));return le(i,{code:J.invalid_union,unionErrors:d}),Ne}if(i.common.async)return Promise.all(s.map(async c=>{const d={...i,common:{...i.common,issues:[]},parent:null};return{result:await c._parseAsync({data:i.data,path:i.path,parent:d}),ctx:d}})).then(o);{let c;const d=[];for(const p of s){const g={...i,common:{...i.common,issues:[]},parent:null},y=p._parseSync({data:i.data,path:i.path,parent:g});if(y.status==="valid")return y;y.status==="dirty"&&!c&&(c={result:y,ctx:g}),g.common.issues.length&&d.push(g.common.issues)}if(c)return i.common.issues.push(...c.ctx.common.issues),c.result;const m=d.map(p=>new ai(p));return le(i,{code:J.invalid_union,unionErrors:m}),Ne}}get options(){return this._def.options}}ku.create=(t,n)=>new ku({options:t,typeName:Re.ZodUnion,...Ue(n)});function jm(t,n){const i=Fi(t),s=Fi(n);if(t===n)return{valid:!0,data:t};if(i===fe.object&&s===fe.object){const o=Xe.objectKeys(n),c=Xe.objectKeys(t).filter(m=>o.indexOf(m)!==-1),d={...t,...n};for(const m of c){const p=jm(t[m],n[m]);if(!p.valid)return{valid:!1};d[m]=p.data}return{valid:!0,data:d}}else if(i===fe.array&&s===fe.array){if(t.length!==n.length)return{valid:!1};const o=[];for(let c=0;c<t.length;c++){const d=t[c],m=n[c],p=jm(d,m);if(!p.valid)return{valid:!1};o.push(p.data)}return{valid:!0,data:o}}else return i===fe.date&&s===fe.date&&+t==+n?{valid:!0,data:t}:{valid:!1}}class Lu extends Ye{_parse(n){const{status:i,ctx:s}=this._processInputParams(n),o=(c,d)=>
vendor: 4,172 bytes, line 385
385{if(b0(c)||b0(d))return Ne;const m=jm(c.value,d.value);return m.valid?((S0(c)||S0(d))&&i.dirty(),{status:i.value,value:m.data}):(le(s,{code:J.invalid_intersection_types}),Ne)};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(([c,d])=>o(c,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}))}}Lu.create=(t,n,i)=>new Lu({left:t,right:n,typeName:Re.ZodIntersection,...Ue(i)});class kr extends Ye{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==fe.array)return le(s,{code:J.invalid_type,expected:fe.array,received:s.parsedType}),Ne;if(s.data.length<this._def.items.length)return le(s,{code:J.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Ne;!this._def.rest&&s.data.length>this._def.items.length&&(le(s,{code:J.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),i.dirty());const c=[...s.data].map((d,m)=>{const p=this._def.items[m]||this._def.rest;return p?p._parse(new Xi(s,d,s.path,m)):null}).filter(d=>!!d);return s.common.async?Promise.all(c).then(d=>jn.mergeArray(i,d)):jn.mergeArray(i,c)}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:Re.ZodTuple,rest:null,...Ue(n)})};class D0 extends Ye{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!==fe.map)return le(s,{code:J.invalid_type,expected:fe.map,received:s.parsedType}),Ne;const o=this._def.keyType,c=this._def.valueType,d=[...s.data.entries()].map(([m,p],g)=>({key:o._parse(new Xi(s,m,s.path,[g,"key"])),value:c._parse(new Xi(s,p,s.path,[g,"value"]))}));if(s.common.async){const m=new Map;return Promise.resolve().then(async()=>{for(const p of d){const g=await p.key,y=await p.value;if(g.status==="aborted"||y.status==="aborted")return Ne;(g.status==="dirty"||y.status==="dirty")&&i.dirty(),m.set(g.value,y.value)}return{status:i.value,value:m}})}else{const m=new Map;for(const p of d){const g=p.key,y=p.value;if(g.status==="aborted"||y.status==="aborted")return Ne;(g.status==="dirty"||y.status==="dirty")&&i.dirty(),m.set(g.value,y.value)}return{status:i.value,value:m}}}}D0.create=(t,n,i)=>new D0({valueType:n,keyType:t,typeName:Re.ZodMap,...Ue(i)});class Co extends Ye{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==fe.set)return le(s,{code:J.invalid_type,expected:fe.set,received:s.parsedType}),Ne;const o=this._def;o.minSize!==null&&s.data.size<o.minSize.value&&(le(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&&(le(s,{code:J.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),i.dirty());const c=this._def.valueType;function d(p){const g=new Set;for(const y of p){if(y.status==="aborted")return Ne;y.status==="dirty"&&i.dirty(),g.add(y.value)}return{status:i.value,value:g}}const m=[...s.data.values()].map((p,g)=>c._parse(new Xi(s,p,s.path,g)));return s.common.async?Promise.all(m).then(p=>d(p)):d(m)}min(n,i){return new Co({...this._def,minSize:{value:n,message:me.toString(i)}})}max(n,i){return new Co({...this._def,maxSize:{value:n,message:me.toString(i)}})}size(n,i){return this.min(n,i).max(n,i)}nonempty(n){return this.min(1,n)}}Co.create=(t,n)=>new Co({valueType:t,minSize:null,maxSize:null,typeName:Re.ZodSet,...Ue(n)});class M0 extends Ye{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})}}M0.create=(t,n)=>new M0({getter:t,typeName:Re.ZodLazy,...Ue(n)});class _0 extends Ye{_parse(n){if(n.data!==this._def.value){const i=this._getOrReturnCtx(n);return le(i,{received:i.data,code:J.invalid_literal,expected:this._def.value}),Ne}
vendor: 8,578 bytes, line 385
385return{status:"valid",value:n.data}}get value(){return this._def.value}}_0.create=(t,n)=>new _0({value:t,typeName:Re.ZodLiteral,...Ue(n)});function Gw(t,n){return new Hs({values:t,typeName:Re.ZodEnum,...Ue(n)})}class Hs extends Ye{_parse(n){if(typeof n.data!="string"){const i=this._getOrReturnCtx(n),s=this._def.values;return le(i,{expected:Xe.joinValues(s),received:i.parsedType,code:J.invalid_type}),Ne}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 le(i,{received:i.data,code:J.invalid_enum_value,options:s}),Ne}return Zn(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 Hs.create(n,{...this._def,...i})}exclude(n,i=this._def){return Hs.create(this.options.filter(s=>!n.includes(s)),{...this._def,...i})}}Hs.create=Gw;class O0 extends Ye{_parse(n){const i=Xe.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(n);if(s.parsedType!==fe.string&&s.parsedType!==fe.number){const o=Xe.objectValues(i);return le(s,{expected:Xe.joinValues(o),received:s.parsedType,code:J.invalid_type}),Ne}if(this._cache||(this._cache=new Set(Xe.getValidEnumValues(this._def.values))),!this._cache.has(n.data)){const o=Xe.objectValues(i);return le(s,{received:s.data,code:J.invalid_enum_value,options:o}),Ne}return Zn(n.data)}get enum(){return this._def.values}}O0.create=(t,n)=>new O0({values:t,typeName:Re.ZodNativeEnum,...Ue(n)});class zu extends Ye{unwrap(){return this._def.type}_parse(n){const{ctx:i}=this._processInputParams(n);if(i.parsedType!==fe.promise&&i.common.async===!1)return le(i,{code:J.invalid_type,expected:fe.promise,received:i.parsedType}),Ne;const s=i.parsedType===fe.promise?i.data:Promise.resolve(i.data);return Zn(s.then(o=>this._def.type.parseAsync(o,{path:i.path,errorMap:i.common.contextualErrorMap})))}}zu.create=(t,n)=>new zu({type:t,typeName:Re.ZodPromise,...Ue(n)});class Fs extends Ye{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Re.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(n){const{status:i,ctx:s}=this._processInputParams(n),o=this._def.effect||null,c={addIssue:d=>{le(s,d),d.fatal?i.abort():i.dirty()},get path(){return s.path}};if(c.addIssue=c.addIssue.bind(c),o.type==="preprocess"){const d=o.transform(s.data,c);if(s.common.async)return Promise.resolve(d).then(async m=>{if(i.value==="aborted")return Ne;const p=await this._def.schema._parseAsync({data:m,path:s.path,parent:s});return p.status==="aborted"?Ne:p.status==="dirty"||i.value==="dirty"?io(p.value):p});{if(i.value==="aborted")return Ne;const m=this._def.schema._parseSync({data:d,path:s.path,parent:s});return m.status==="aborted"?Ne:m.status==="dirty"||i.value==="dirty"?io(m.value):m}}if(o.type==="refinement"){const d=m=>{const p=o.refinement(m,c);if(s.common.async)return Promise.resolve(p);if(p instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return m};if(s.common.async===!1){const m=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});return m.status==="aborted"?Ne:(m.status==="dirty"&&i.dirty(),d(m.value),{status:i.value,value:m.value})}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(m=>m.status==="aborted"?Ne:(m.status==="dirty"&&i.dirty(),d(m.value).then(()=>({status:i.value,value:m.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(!Vs(d))return Ne;const m=o.transform(d.value,c);if(m instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:i.value,value:m}}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(d=>Vs(d)?Promise.resolve(o.transform(d.value,c)).then(m=>({status:i.value,value:m})):Ne);Xe.assertNever(o)}}Fs.create=(t,n,i)=>new Fs({schema:t,typeName:Re.ZodEffects,effect:n,...Ue(i)});Fs.createWithPreprocess=(t,n,i)=>new Fs({schema:n,effect:{type:"preprocess",transform:t},typeName:Re.ZodEffects,...Ue(i)});class Ki extends Ye{_parse(n){return this._getType(n)===fe.undefined?Zn(void 0):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}}Ki.create=(t,n)=>new Ki({innerType:t,typeName:Re.ZodOptional,...Ue(n)});class Gs extends Ye{_parse(n){return this._getType(n)===fe.null?Zn(null):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}}Gs.create=(t,n)=>new Gs({innerType:t,typeName:Re.ZodNullable,...Ue(n)});class Nm extends Ye{_parse(n){const{ctx:i}=this._processInputParams(n);let s=i.data;return i.parsedType===fe.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:i.path,parent:i})}removeDefault(){return this._def.innerType}}Nm.create=(t,n)=>new Nm({innerType:t,typeName:Re.ZodDefault,defaultValue:typeof n.default=="function"?n.default:()=>n.default,...Ue(n)});class Rm extends Ye{_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 _u(o)?o.then(c=>({status:"valid",value:c.status==="valid"?c.value:this._def.catchValue({get error(){return new ai(s.common.issues)},input:s.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new ai(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}Rm.create=(t,n)=>new Rm({innerType:t,typeName:Re.ZodCatch,catchValue:typeof n.catch=="function"?n.catch:()=>n.catch,...Ue(n)});class k0 extends Ye{_parse(n){if(this._getType(n)!==fe.nan){const s=this._getOrReturnCtx(n);return le(s,{code:J.invalid_type,expected:fe.nan,received:s.parsedType}),Ne}return{status:"valid",value:n.data}}}k0.create=t=>new k0({typeName:Re.ZodNaN,...Ue(t)});class e3 extends Ye{_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 Ap extends Ye{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.common.async)return(async()=>{const c=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});return c.status==="aborted"?Ne:c.status==="dirty"?(i.dirty(),io(c.value)):this._def.out._parseAsync({data:c.value,path:s.path,parent:s})})();{const o=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return o.status==="aborted"?Ne: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 Ap({in:n,out:i,typeName:Re.ZodPipeline})}}class Dm extends Ye{_parse(n){const i=this._def.innerType._parse(n),s=o=>(Vs(o)&&(o.value=Object.freeze(o.value)),o);return _u(i)?i.then(o=>s(o)):s(i)}unwrap(){return this._def.innerType}}Dm.create=(t,n)=>new Dm({innerType:t,typeName:Re.ZodReadonly,...Ue(n)});var Re;(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"})(Re||(Re={}));const W=Yi.create;Wi.create;const Mt=va.create,qe=Ot.create;ku.create;Lu.create;kr.create;Hs.create;zu.create;Ki.create;Gs.create;const lt={recreational_strains:Mt(qe({id:W(),name:W(),lineage:W()})),rec_edibles:Mt(qe({id:W(),category:W(),name:W(),desc:W()})),rec_vapes:Mt(qe({id:W(),category:W(),name:W(),desc:W()})),med_strains:Mt(qe({id:W(),name:W(),lineage:W()})),med_edibles:Mt(qe({id:W(),brand:W(),brand_desc:W().optional(),item1_name:W(),item1_desc:W(),item2_name:W(),item2_desc:W(),item3_name:W(),item3_desc:W()}
385)),med_cartridges:Mt(qe({id:W(),brand:W(),item1_name:W(),item1_desc:W(),item2_name:W(),item2_desc:W()})),med_concentrates:Mt(qe({id:W(),brand:W(),item1_name:W(),item1_desc:W(),item2_name:W(),item2_desc:W(),item3_name:W(),item3_desc:W()})),home:qe({hero:qe({tagline:W(),cta_primary:W(),cta_secondary:W()}),info_bar:qe({hours:W(),address:W(),directions_label:W()}),specials:qe({eyebrow:W(),title:W(),subtitle:W()})}),home_deals:Mt(qe({id:W(),eyebrow:W(),time:W(),emoji:W(),headline:W(),subheadline:W(),desc:W(),disclaimer:W()})),deals:Mt(qe({id:W(),tag:W(),brand:W(),offer:W(),highlight:W()})),about:qe({stats:Mt(qe({value:W(),label:W(),id:W()})),values:Mt(qe({title:W(),body:W(),id:W()})),timeline:Mt(qe({year:W(),event:W(),id:W()}))}),contact:qe({hours:Mt(qe({day:W(),time:W(),id:W()})),infoCards:Mt(qe({label:W(),lines:Mt(W()),action:qe({text:W(),href:W()}).nullable(),id:W()}))}),menu:qe({categories:Mt(qe({label:W(),description:W(),tags:Mt(W()),id:W()})),deals:Mt(qe({label:W(),detail:W(),id:W()}))}),pages:{awards_accolades:qe({hero:qe({eyebrow:W(),heading:W(),subheading:W()}),intro:qe({heading:W(),body:W()}),mediaSection:qe({heading:W(),subheading:W()}),westwordSection:qe({heading:W(),subheading:W()}),legacy:qe({years:W(),tagline:W()}),mediaFeatures:Mt(qe({id:W(),name:W()})),westwordAwards:Mt(qe({id:W(),award:W()}))})}},hn={parse:t=>t};var I0,Y0,K0,Z0,q0;const ko={about:(((I0=lt.pages)==null?void 0:I0.about)??lt.about??hn).parse({stats:[{value:"2009",label:"Founded",id:"xneEtLXmb4a328KdQCevF"},{value:"15+",label:"Years Serving Denver",id:"LMIY1melLij7w2XIuuakU"},{value:"30+",label:"Flower Strains",id:"Q47aqBkAemGu-HUYDDW5S"},{value:"50+",label:"Edible Brands",id:"lJQ0WiT6KnjsnRw5QBX5Z"}],values:[{title:"Community First",body:"We've been a neighborhood staple in the Highlands / Sunnyside community since 2009. Family-owned and independently operated, we answer to our customers, not a corporate office.",id:"YLHBrQ-OcNclF6NRqVZsE"},{title:"Quality Selection",body:"We hand-pick every product on our shelves. From exotic flower genetics to Colorado's best edible brands, we carry what we'd recommend to our own family.",id:"Y5sv0yjJ1cWzulihN3ErB"},{title:"Expert Staff",body:"Our budtenders are passionate, knowledgeable, and patient. Whether you're a first-time visitor or a seasoned connoisseur, we'll help you find exactly what you're looking for.",id:"y6zR9T7jUXmoeXFIHOY4Z"},{title:"Award-Winning",body:"Recognized by Westword's Best of Denver multiple years running and featured in national outlets including CNN, The New York Times, and HuffPost.",id:"q8hm-YxkDSwxUZ5ZQaJl3"}],timeline:[{year:"2009",event:"The Giving Tree opens its doors in the Highlands neighborhood of Denver, one of the first dispensaries in the city.",id:"0d5dIGoRKDN20p1FX3Pla"},{year:"2012",event:"Expanded our flower selection to 20+ strains and launched our medical patient program with dedicated EPC discounts.",id:"nZGAiHxVJ3slaEoblrmrH"},{year:"2016",event:"Colorado recreational cannabis goes mainstream. We grow our edibles selection to 10+ brands to meet demand.",id:"xXBkDSaJMBzJfFP7x09xT"},{year:"2019",event:"First Westword Best of Denver award, recognized for Best Dispensary for Customer Service.",id:"8zcgo6MI9uL4HoamBOZcf"},{year:"2021",event:"Westword Best of Denver sweep — six categories including Best Dispensary Bargains, Best for Tourists, and Best Selection.",id:"h6RMxq7J5sJTXF6fTOqGo"},{year:"Today",event:"Still family-owned, still in the same neighborhood, still committed to the same values that opened our doors 15+ years ago.",id:"s9MAOKYnIpg51anP7x3df"}]}),awards_accolades:(((Y0=lt.pages)==null?void 0:Y0.awards_accolades)??lt.awards_accolades??hn).parse({hero:{eyebrow:"CELEBRATING 16+ YEARS OF EXCELLENCE",heading:"AWARDS & ACCOLADES",subheading:"Honored by our community, recognized nationally, since 2009"},intro:{heading:"THE GIVING TREE OF DENVER",body:"We are honored to receive an array of awards and accolades that reflect our commitment to unparalleled quality, innovation, and customer satisfaction. Proudly serving Denver since 2008, The Giving Tree of Denver is one of the city's longest-standing neighborhood family-owned and operated cannabis shops. Our commitment to quality, compassion, and education has made us a trusted name in the community for over 16 years and has earned us national recognition."},mediaSection:{heading:"TALK OF THE TOWN",subheading:"We've been proudly featured in some of the world's most recognized publications and media outlets."},westwordSection:{heading:"WESTWORD READERS' CHOICE",subheading:"Best of Denver 2021, voted by Denver readers across six categories"},legacy:{years:"16+ YEARS",tagline:"OF SERVING THE DENVER COMMUNITY"},mediaFeatures:[{id:"mf1",name:"CNN"},{id:"mf2",name:"Yahoo News"},{id:"mf3",name:"The New York Times"},{id:"mf4",name:"HuffPost"},{id:"mf5",name:"Thrillist"},{id:"mf6",name:"Buzzfeed"}
385,{id:"mf7",name:"Highsnobiety"},{id:"mf8",name:"Zagat"},{id:"mf9",name:"MG Cannabis Industry News Magazine"},{id:"mf10",name:"Denver Westword"}],westwordAwards:[{id:"wa1",award:"Best Dispensary Bargains"},{id:"wa2",award:"Best Dispensary for a Stoner"},{id:"wa3",award:"Best Dispensary for a Tourist"},{id:"wa4",award:"Best Dispensary for Classic Strains"},{id:"wa5",award:"Best Dispensary for Customer Service"},{id:"wa6",award:"Best Selection at a Dispensary"}]}),contact:(((K0=lt.pages)==null?void 0:K0.contact)??lt.contact??hn).parse({hours:[{day:"Open 7 Days a Week",time:"8:00 AM – 9:50 PM",id:"GC60BEuwQQorGN2psxGag"}],infoCards:[{label:"Address",lines:["2707 W 38th Ave","Denver, CO 80211"],action:{text:"Get Directions",href:"https://maps.google.com/?q=2707+W+38th+Ave+Denver+CO+80211"},id:"LrlwXULyRggt-pMpjXUhu"},{label:"Phone",lines:["(303) 477-8888"],action:{text:"Call Us",href:"tel:+13034778888"},id:"0XkXVhYlHIdGRHKjQDr1Q"},{label:"Email",lines:["[email protected]"],action:{text:"Send Email",href:"mailto:[email protected]"},id:"LYaqKKRYVy0JEm7s0uScH"},{label:"Hours",lines:["Open Every Day","8:00 AM – 9:50 PM"],action:null,id:"u6UpzD0c85AaF9BiL6JJD"}]}),home:(((Z0=lt.pages)==null?void 0:Z0.home)??lt.home??hn).parse({hero:{tagline:"FAMILY OWNED & OPERATED NEIGHBORHOOD DISPENSARY SINCE 2009",cta_primary:"ORDER NOW",cta_secondary:"DIRECTIONS"},info_bar:{hours:"OPEN EVERYDAY 8AM–9:50PM",address:"2707 W 38TH AVE DENVER, CO 80211",directions_label:"GET DIRECTIONS →"},specials:{eyebrow:"GIVING TREE SPECIALS",title:"SEPTEMBER SPECIALS",subtitle:"DEALS ALL MONTH LONG!"}}),menu:(((q0=lt.pages)==null?void 0:q0.menu)??lt.menu??hn).parse({categories:[{label:"Flower",description:"Recreational and medicinal strains including Specimen X, Tally Mon, Georgia Pie, Acapulco Gold, Super Boof, Pineapple Cake, Starburst OG, Bruce Banner, Motor Breath, Papaya Scone, and more.",tags:["Indica","Sativa","Hybrid","Medical","30+ Strains"],id:"6FPKSGkF4u4ZMq4Cch6gC"},{label:"Pre-Rolls & Infused Joints",description:"Ready-to-go singles and infused joints from Fuego Farms, Grasshopper Farms, and TS Labs.",tags:["Fuego Farms","Grasshopper Farms","TS Labs","Infused"],id:"EjzPcvPs3aOWUKA5AKzpm"},{label:"Edibles — Gummies",description:"Wide selection of gummies from C
385olorado's top brands.",tags:["WYLD","Wana","Incredibles","Dialed In","Ript","Candaze"],id:"-BSB9OdRFWohviwdfJ6kn"},{label:"Edibles — Chocolates & More",description:"Premium chocolates, baked goods, candy, beverages, tablets, and tinctures.",tags:["Retro","Nove","Incredibles","Coda","Love's Oven","Keef Soda"],id:"_4PjZYjCxVn8caLnrlv4E"},{label:"LSD Drops",description:"Fast-acting sublingual drops for precise, reliable dosing.",tags:["Retro","Sublingual","Fast-Acting"],id:"jmKVIoSODHWpJBFC2nYqq"},{label:"Vapes & Cartridges",description:"Live rosin, live resin, liquid diamond, distillate, and AIO disposables from top Colorado producers.",tags:["Olio","Green Dot","Bud Fox","Dabble Extracts","Rove","Pax"],id:"GjgOvQYTL93k9cQrMCvbR"},{label:"Concentrates",description:"Hash, wax, shatter, live rosin, and more from trusted Colorado extractors.",tags:["Ten Six","White Mousse","Sunshine","Greenery Hash Factory"],id:"eXDLVRGz6yvw3Wqtz5U-K"},{label:"Pet Care",description:"CBD products formulated specifically for your furry companions. Does not contain THC.",tags:["Care Division","CBD","500mg"],id:"G_PN81vI4jlqMSHbankNE"}],deals:[{label:"Early Bird Special",detail:"10% off any products 
385· 8AM–10AM daily",id:"S3dpKwr9jnW1Yl-zqSgLb"},{label:"EPC Patient Discount",detail:"Ongoing savings for medical patients",id:"yccutQijjHscshSfwRTE2"},{label:"First-Time Customer",detail:"10% off your first visit",id:"eSeH80DZGpOdPqvfublrI"},{label:"BOGO Deals",detail:"Rotating buy-one-get-one offers on select products",id:"oBuHf5yVQhHDHGSoVPJLG"}]})};var X0,W0,$0,Q0,J0,e1,t1,n1,a1;const ii={deals:(((X0=lt.data)==null?void 0:X0.deals)??lt.deals??hn).parse([{id:"1",tag:"EDIBLES",brand:"CANDAZE",offer:"BUY 2 GET 1",highlight:"$.01"},{id:"2",tag:"EDIBLES",brand:"CHEEBA CHEWS",offer:"ALL CHEEBA CHEWS",highlight:"20% OFF"},{id:"3",tag:"EDIBLES",brand:"KOALA CHOCOLATE BARS",offer:"BUY ONE, GET ONE",highlight:"50% OFF"},{id:"4",tag:"EDIBLES",brand:"STRATOS TABLETS",offer:"BUY ONE, GET ONE",highlight:"50% OFF"},{id:"5",tag:"EDIBLES",brand:"MAJOR BEVERAGES",offer:"BUY ONE, GET ONE",highlight:"50% OFF"},{id:"6",tag:"FLOWER",brand:"HOUSE SHAKE",offer:"1 OZ.",highlight:"$35 OTD"},{id:"7",tag:"FLOWER",brand:"TOP SHELF OUNCE",offer:"FULL OUNCE",highlight:"$125 OTD"},{id:"8",tag:"FLOWER",brand:"HALF OUNCE POPCORN",offer:"½ OZ $45 · 1 OZ",highlight:"$80 OTD"},{id:"9",tag:"PRE-ROLLS",brand:"HOUSE JOINTS",offer:"(28) FOR $90 OUT THE DOOR",highlight:"5 FOR $20"},{id:"10",tag:"PRE-ROLLS",brand:"EPIC REMEDY INFUSED PRE-ROLLS",offer:"BUY ONE, GET ONE",highlight:"50% OFF"},{id:"11",tag:"PRE-ROLLS",brand:"FOG CUTTER INFUSED PRE-ROLLS",offer:"BUY ONE, GET ONE",highlight:"50% OFF"},{id:"12",tag:"CONCENTRATES",brand:"WAX OR SUGARWAX",offer:"4G BUCKETS",highlight:"$40 OTD"},{id:"13",tag:"CONCENTRATES",brand:"2G BUCKET OF KEEF",offer:"BUY ONE, GET ONE",highlight:"50% OFF"},{id:"14",tag:"TOPICALS",brand:"ESCAPE ARTISTS",offer:"ALL ESCAPE ARTISTS",highlight:"25% OFF"},{id:"15",tag:"TOPICALS",brand:"TRANSDERMAL PATCHES",offer:"ALL TRANSDERMAL PATCHES",highlight:"10% OFF"},{id:"16",tag:"VAPE",brand:"PLUG PLAY CARTRIDGES",offer:"BUY ANY TWO, GET A BATTERY",highlight:"$.01"},{id:"17",tag:"VAPE",brand:"PLUGPLAY ALL-IN-ONE DISPOSABLES",offer:"ANY PLUGPLAY AIO",highlight:"$5 OFF"},{id:"18",tag:"VAPE",brand:"PACKS ALL-IN-ONE DISPOSABLES",offer:"ANY PACKS AIO",highlight:"$5 OFF"}]),home_deals:(((W0=lt.data)==null?void 0:W0.home_deals)??lt.home_deals??hn).parse([{id:"1",eyebrow:"",time:"ALL DAY",emoji:"🌿",headline:"TOP SHELF OUNCE",subheadline:"$125 OTD",desc:"Choose from two hand-selected top shelf strains. Ask your budtender what's featured today.",disclaimer:"Out the door price. While supplies last. Strains rotate daily."},{id:"2",eyebrow:"",time:"ALL DAY",emoji:"🌱",headline:"POPCORN 1/2 OZ",subheadline:"$45 OTD",desc:"Half ounce of premium popcorn flower — same great quality, smaller buds, unbeatable price.",disclaimer:"Out the door price. While supplies last. Selection may vary."},{id:"3",eyebrow:"",time:"ALL DAY",emoji:"💨",headline:"SHAKE OUNCE",subheadline:"$35 OTD",desc:"Full ounce of shake — perfect for rolling, cooking, or stocking up. Best value in Denver.",disclaimer:"Out the door price. While supplies last. Selection may vary."},{id:"4",eyebrow:"",time:"ALL DAY",emoji:"🍬",headline:"100MG GUMMIES",subheadline:"2 for $25  /  4 for $40  /  8 for $80",desc:"Ript or Incredibles 100mg gummies — mix and match any flavors you want.",disclaimer:"While supplies last. Select flavors only. Cannot be combined with other offers."},{id:"5",eyebrow:"",time:"ALL DAY",emoji:"🧪",headline:"MAX OUT BUNDLES",subheadline:"10% OFF CONCENTRATES & EDIBLES",desc:"Mix and match concentrates and edibles to build your perfect bundle and save 10% off your entire order.",disclaimer:"While supplies last. Cannot be combined with other offers. Restrictions may apply."},{id:"6",eyebrow:"",time:"ALL DAY",emoji:"🎖️",headline:"10% OFF",subheadline:`INDUSTRY WORKERS
386VETERANS
387SENIORS 65+`,desc:"We proudly honor Veterans, Cannabis Industry Workers, and Seniors 65+ with 10% off every day.",disclaimer:"Valid ID or proof of service required. Cannot be combined with other offers."}]),med_cartridges:((($0=lt.data)==null?void 0:$0.med_cartridges)??lt.med_cartridges??hn).parse([{id:"1",brand:"Dabble Extracts",item1_name:"Cartridges",item1_desc:"Assorted strains and cannabinoid profiles · 1 gram",item2_name:"",item2_desc:""}]),med_concentrates:(((Q0=lt.data)==null?void 0:Q0.med_concentrates)??lt.med_concentrates??hn).parse([{id:"1",brand:"Ten Six",item1_name:"Concentrates",item1_desc:"Assorted extract types and strains",item2_name:"",item2_desc:"",item3_name:"",item3_desc:""},{id:"2",brand:"White Mousse",item1_name:"Concentrates",item1_desc:"Assorted wax, shatter, and sugar varieties",item2_name:"",item2_desc:"",item3_name:"",item3_desc:""},{id:"3",brand:"Sunshine",item1_name:"Live Rosin",item1_desc:"Assorted strains and potencies",item2_name:"",item2_desc:"",item3_name:"",item3_desc:""}]),med_edibles:(((J0=lt.data)==null?void 0:J0.med_edibles)??lt.med_edibles??hn).parse([{id:"1",brand:"WYLD",brand_desc:"Real fruit gummies crafted with broad-spectrum hemp extract and targeted cannabinoid blends for every mood and moment.",item1_name:"Gummies",item1_desc:"Elderberry 5:1 THC:CBN · Raspberry · Huckleberry · Pear 1:1 THC:CBG · Marionberry · Peach 1:1 THC:CBD",item2_name:"",item2_desc:"",item3_name:"",item3_desc:""},{id:"2",brand:"Retro",brand_desc:"Colorado-made artisan chocolates blending premium cannabis with indulgent flavors — from everyday treats to targeted sleep formulas.",item1_name:"Chocolates",item1_desc:"White Chocolate & Strawberry · SLEEP (Raspberries & Milk Chocolate) · Coffee and Donuts · Peanut Butter Milk Chocolate",item2_name:"",item2_desc:"",item3_name:"",item3_desc:""},{id:"3",brand:"Incredibles",brand_desc:"Award-winning Colorado edibles known for c
387onsistent potency, bold flavors, and a wide range of gummies and chocolate bars.",item1_name:"Gummies",item1_desc:"Mon Cherry · Snoozzze Berry",item2_name:"Chocolate Bars",item2_desc:"Boulder Bar · Peanut Budda Buddha · Strawberry Crunch · Monkey Bar",item3_name:"",item3_desc:""},{id:"4",brand:"Nove",brand_desc:"Small-batch, chef-inspired cannabis chocolates made with premium ingredients and a focus on elevated flavor profiles.",item1_name:"Chocolates",item1_desc:"Honey Peanut Butter · Sea Salt Caramel",item2_name:"",item2_desc:"",item3_name:"",item3_desc:""},{id:"5",brand:"Koala Bars",brand_desc:"Dessert-inspired cannabis chocolate bars delivering rich, indulgent flavors with consistent, reliable dosing.",item1_name:"Chocolate Bars",item1_desc:"Banana Pudding · Strawberry Cheese Cake",item2_name:"",item2_desc:"",item3_name:"",item3_desc:""},{id:"6",brand:"Dosd",brand_desc:"Precisely dosed gummies engineered for specific effects — daytime energy, fast-acting nano delivery, and restful nights.",item1_name:"Gummies",item1_desc:"Day Vibes · Nano Bites · Night Vibes",item2_name:"",item2_desc:"",item3_name:"",item3_desc:""},{id:"7",brand:"Mixtape",brand_desc:"Vibe-forward gummies blending THC with complementary cannabinoids — CBD, CBG, and more — for a full-spectrum experience.",item1_name:"Gummies",item1_desc:"Duet CBD & THC · Cruisin Hybrid ft CBD · Dance Party Sativa ft CBG",item2_name:"",item2_desc:"",item3_name:"",item3_desc:""},{id:"8",brand:"Smokies",brand_desc:"Soft, chewy fruit chews in classic and sour varieties — a familiar candy format with a reliable cannabis kick.",item1_name:"Fruit Chews",item1_desc:"Blue Raspberry · Peach · Watermelon — available in original & sour",item2_name:"",item2_desc:"",item3_name:"",item3_desc:""}]),med_strains:(((e1=lt.data)==null?void 0:e1.med_strains)??lt.med_strains??hn).parse([{id:"1",name:"Bruce Banner",lineage:"OG Kush x Strawberry Diesel"},{id:"2",name:"Motor Breath",lineage:"Chemdog x SFV OG Kush"},{id:"3",name:"Papaya Scone",lineage:"Papaya x Scone"},{id:"4",name:"Sherb Cream Pie",lineage:"Sunset Sherbet x Cream Pie"},{id:"5",name:"Garlic Gravity",lineage:"GMO x Gravity"},{id:"6",name:"Tally Mon",lineage:"Jamaican x Afghani"},{id:"7",name:"Zkittles Glue",lineage:"Zkittlez x Original Glue"},{id:"8",name:"Yellow Zushi",lineage:"Zkittlez x Sushi"},{id:"9",name:"Grease Monkey",lineage:"Gorilla Glue #4 x Cookies & Cream"},{id:"10",name:"Punch Breath",lineage:"Purple Punch x Mendo Breath"}]),rec_edibles:(((t1=lt.data)==null?void 0:t1.rec_edibles)??lt.rec_edibles??hn).parse([{id:"e1",category:"BAKED GOODS",name:"Love's Oven",desc:"Denver's beloved cannabis bakery. Handcrafted brownies, cookies, and treats made with real ingredients and precisely dosed THC. Comfort food elevated."},{id:"e2",category:"BAKED GOODS",name:"Chaos Krispies",desc:"THC-infused cereal treats in a variety of bold flavors. Nostalgic, delicious, and consistently dosed — a fan favorite at The Giving Tree."},{id:"e3",category:"HARD & SOFT CANDY",name:"Mountain High Suckers",desc:"Colorado's iconic cannabis lollipops available in 26+ flavors. CBD-enriched with precise THC dosing — a classic, long-lasting treat for any occasion."},{id:"e4",category:"HARD & SOFT CANDY",name:"Joybombs",desc:"Cannabis-infused fruit chews at 2 MG per dose — perfect for microdosing. Flavors: Dream Blend CBN:THC · Sour Fruit · Original Fruit · Tropical Fruit · Berry Blend CBD:THC · Sour Fruit CBD:THC."},{id:"e5",category:"HARD & SOFT CANDY",name:"Cheba Chews",desc:"Soft, taffy-style cannabis chews in a range of flavors and potencies. One of Colorado's most trusted edible brands with consistent, reliable effects."},{id:"e6",category:"TABLETS & MINTS",name:"Riplets",desc:"Fast-acting dissolvable tablets designed for quick onset. Discreet, portable, and precisely dosed — ideal for on-the-go consumers who want control."},{id:"e7",category:"TABLETS & MINTS",name:"Stratos",desc:"Science-backed cannabis tablets formulated for specific effects — Energy, Sleep, and Relax. Precise 10 MG dosing with consistent, reliable results every time."},{id:"e8",category:"TABLETS & MINTS",name:"Nove Mints",desc:"Sleek, discreet cannabis mints with a clean, refreshing flavor. Low-dose and easy to carry — perfect for subtle, social consumption throughout the day."},{id:"e9",category:"TABLETS & MINTS",name:"Incredible Mints",desc:"Micro-dosed cannabis mints from the trusted Incredibles brand. Consistent 2.5 MG dosing in a breath-freshening format that fits in any pocket."},{id:"e10",category:"TABLETS & MINTS",name:"Ripple Dissolvable",desc:"Flavorless, odorless dissolvable powder that mixes into any beverage or food. 10 MG THC per packet — fast-acting and completely undetectable in your drink."},{id:"e11",category:"TABLETS & MINTS",name:"Ripz",desc:"Thin, fast-dissolving cannabis strips that melt on your tongue in seconds. Discreet, portable, and precisely dosed for a quick, consistent experience."},{id:"e16",category:"TINCTURES",name:"Conscious Medz",desc:"Thoughtfully formulated cannabis tinctures and sublingual drops. Available in THC, CBD, and balanced ratios — precise dosing for wellness-focused consumers."},{id:"e17",category:"BEVERAGES",name:"Major",desc:"Cannabis-infused sparkling beverages with a clean, refreshing taste. Fast-acting nano-emulsified THC for a drink-like onset — social, sessionable, and fun."},{id:"e18",category:"BEVERAGES",name:"Mary Jones",desc:"The official cannabis beverage of Jones Soda. Iconic flavors you know and love, now infused with THC. A nostalgic, delicious way to consume cannabis."},{id:"e19",category:"BEVERAGES",name:"Keef Soda",desc:"Colorado's original cannabis soda available in Classic 10 MG and Xtreme 100 MG. Assorted flavors with a familiar soda experience and reliable effects."},{id:"e20",category:"CHOCOLATE",name:"Sinsere",desc:"Artisan cannabis chocolate crafted with premium cacao. Flavors: Peanut Butter Bites — rich, indulgent, and precisely dosed."},{id:"e21",category:"CHOCOLATE",name:"Koala Bars",desc:"Dessert-inspired cannabis chocolate bars with consistent dosing. Flavors: Banana Pudding · Strawberry Cheesecake · Classic."},{id:"e22",category:"CHOCOLATE",name:"Coda",desc:"Premium cannabis chocolate bars with signature flavor pairings. Flavors: Coffee & Donuts CBD:THC · Coffee & Donuts · Cream and Crumble CBD:THC · Cream and Crumble · Toffee and Sea Salt."},{id:"e23",category:"CHOCOLATE",name:"Nove",desc:"Elegant small-batch cannabis chocolates with refined flavor profiles. Flavors: Glacier Mint · Cafe Cappuccino · Island Coconut · Raspberry Bramble · Sea Salt Caramel · Honey Peanut Butter."},{id:"e24",category:"CHOCOLATE",name:"Incredibles",desc:"Colorado's iconic 100 MG cannabis chocolate bars. Flavors: Strawberry Crunch · Swirled Famous Banana Pudding · Cookies and Cream · Black Cherry · Peanut Budda Buddha · Boulder Bar · S'mores."},{id:"e25",category:"GUMMIES",name:"Wana",desc:"Colorado's award-winning pectin-based, vegan-friendly cannabis gummies. Flavors: Limoncello · Peach Bellini · Piña Colada · Strawberry Margarita — available in THC, CBD, and Hybrid formulations."},{id:"e26",category:"GUMMIES",name:"Candaze",desc:"Vibrant, indulgent cannabis gummies with bold flavor combinations. Flavors: Caramel Green Apple · Chocolate Dipped Cherry · Chocolate Dipped Strawberry · Strawberry Shortcake · Peanut Butter & Grape Jelly."},{id:"e27",category:"GUMMIES",name:"Dialed In",desc:"Small-batch live rosin gummies with targeted cannabinoid blends. Flavors: Blood Orange CBC:THCv:THC · Pomegranate CBG:THC · Rocket Berry CBD:THC · Sleep THC:CBN:CBD — in Sativa, Indica, and Hybrid options."},{id:"e28",category:"GUMMIES",name:"Ript",desc:"Bold cannabis gummies in sweet, sour, and cannabinoid-blended varieties. Flavors: Wild Cherry · Blazed Blue Razz · Faded Fruit Punch · Knockout THC:CBN:CBD · Crushed Pinea
387pple THC:CBD · Strawberry Fieldtrip THC:CBG:CBD · Smashed Watermelon · Baked Apple · Puckered Punch."},{id:"e29",category:"GUMMIES",name:"Incredibles",desc:"Trusted cannabis gummies from one of Colorado's most recognized brands. Flavors: Snoozzze Berry · Strahhhh Berry · Mon Cherry · Watermelon Smash · Summer Peach — consistent 10 MG dosing per piece."},{id:"e30",category:"GUMMIES",name:"Wyld",desc:"Real fruit-flavored cannabis gummies in 15+ flavor combinations. Flavors include Elderberry, Raspberry, Huckleberry, Pear, Marionberry, Peach, and Boysenberry — with THC, CBD, CBN, and CBG options for every occasion."},{id:"e31",category:"GUMMIES",name:"Coda",desc:"Premium cannabis gummies with clean ingredients and precise dosing. Flavors: Cherry Cola · Watermelon & Kiwi · Passion Fruit & Guava — delivering consistent effects across a variety of cannabinoid profiles."},{id:"e32",category:"WELLNESS & RECOVERY",name:"Nove Bath Salts",desc:"Luxurious cannabis-infused bath salts for a deeply relaxing soak. Blended with essential oils and THC/CBD for full-body relief and a spa-like experience at home."},{id:"e33",category:"WELLNESS & RECOVERY",name:"Escape Artists",desc:"Targeted topical cannabis relief for sore muscles and joints. Fast-absorbing creams and balms with high-potency THC and CBD for localized, non-psychoactive relief."},{id:"e34",category:"WELLNESS & RECOVERY",name:"Care Division",desc:"Thoughtfully formulated THC and CBD topical creams designed for daily wellness. Carefree Cream delivers 500 MG CBD and 500 MG THC for powerful localized relief."},{id:"e35",category:"WELLNESS & RECOVERY",name:"Nordic Goddess",desc:"Cannabis wellness topicals inspired by Nordic botanical traditions. Clean ingredients, soothing formulas, and effective cannabinoid blends for body and skin care."},{id:"e36",category:"WELLNESS & RECOVERY",name:"Conscious Medz",desc:"Intentionally crafted cannabis topical remedies for targeted relief. Balms, salves, and creams formulated with THC, CBD, and complementary botanicals."},{id:"e37",category:"WELLNESS & RECOVERY",name:"Mary Jane's Medicinals",desc:"Herbal cannabis topicals blending time-tested plant medicine with cannabinoids. Salves, tinctures, and creams trusted by Colorado consumers for over a decade."},{id:"e38",category:"WELLNESS & RECOVERY",name:"Wrangler's Relief",desc:"Heavy-duty cannabis relief cream built for hard-working bodies. High-potency THC and CBD formula targets deep muscle and joint discomfort where you need it most."}]),rec_vapes:(((n1=lt.data)==null?void 0:n1.rec_vapes)??lt.rec_vapes??hn).parse([{id:"v1",category:"LIVE ROSIN",name:"Olio",desc:".5g 510 thread cartridge. Solventless live rosin extracted from fresh-frozen flower — full-spectrum terpenes, rich flavor, and a smooth, clean hit."},{id:"v2",category:"LIVE ROSIN",name:"Olio",desc:"1g all-in-one disposable. Same premium solventless live rosin in a convenient, rechargeable AIO format. No cartridge, no battery needed."},{id:"v3",category:"LIVE ROSIN",name:"Dabble Extracts",desc:".5g 510 thread cartridge. Colorado-made live rosin cart with bold, strain-specific terpene profiles and a clean solventless extraction process."},{id:"v4",category:"LIVE ROSIN",name:"Pax Reload Pods",desc:"Live rosin pods designed for Pax Era devices. Precise temperature control unlocks the full terpene profile — ideal for flavor-forward sessions."},{id:"v5",category:"LIVE RESIN",name:"Green Dot",desc:"510 thread cartridge. Award-winning Colorado brand using hydrocarbon-extracted live resin for an authentic, strain-true experience with vibrant flavor."},{id:"v6",category:"LIVE RESIN",name:"Bud Fox",desc:"510 thread cartridge. Small-batch live resin carts crafted from fresh-frozen Colorado flower. Expect robust terpenes and a potent, flavorful draw."},{id:"v7",category:"LIVE RESIN",name:"Seed & Smith",desc:"510 thread cartridge. Seed & Smith's vertically integrated grow-to-cart process ensures exceptional live resin quality from seed to shelf."},{id:"v8",category:"AIO DISPOSABLES",name:"Olio",desc:"Rechargeable all-in-one disposable loaded with Olio's signature oil. Sleek, portable, and ready to use right out of the box — no setup required."},{id:"v9",category:"AIO DISPOSABLES",name:"Binske",desc:"Farm-to-vape all-in-one disposable. Binske sources single-origin Colorado cannabis for clean, consistent oil with a refined, upscale experience."}
387,{id:"v10",category:"AIO DISPOSABLES",name:"Packs",desc:"2 gram all-in-one disposable — double the oil, double the sessions. Great value for regular consumers who want a long-lasting, no-fuss option."},{id:"v11",category:"AIO DISPOSABLES",name:"Eureka",desc:"All-in-one disposable with California-born, Colorado-crafted oil. Known for consistent potency, smooth airflow, and a wide variety of strain options."},{id:"v12",category:"AIO DISPOSABLES",name:"Bud Fox",desc:"All-in-one disposable featuring small-batch Colorado oil. Compact and discreet with the same quality terpene-rich extract as their 510 cartridges."},{id:"v13",category:"LIQUID DIAMOND",name:"Rove",desc:"All-in-one device with refill pods. Rove's liquid diamond pods combine THCA crystalline with terpene-rich sauce for an ultra-potent, flavorful experience."},{id:"v14",category:"LIQUID DIAMOND",name:"Orbital",desc:"All-in-one disposable. Orbital's liquid diamond formula delivers high-potency THCA diamonds suspended in live terpenes for a next-level concentrate vape."},{id:"v15",category:"LIQUID BADDER",name:"Harmony Extracts",desc:"510 thread cartridge. Liquid badder oil captures the creamy, terpene-dense consistency of badder concentrate in a convenient vape format. Rich flavor, smooth pull."},{id:"v16",category:"DISTILLATE",name:"Oil 4g",desc:"4 gram distillate cartridge — exceptional value for high-volume consumers. Highly refined THC distillate with added terpenes for flavor and effect."},{id:"v17",category:"DISTILLATE",name:"Eureka",desc:"Distillate cartridge with a reputation for consistent potency and smooth draws. Available in a wide range of strain-inspired terpene profiles."},{id:"v18",category:"DISTILLATE",name:"X Vape",desc:"Affordable, reliable distillate cartridge. Clean oil, solid hardware, and a variety of strain options make this a go-to for everyday consumers."},{id:"v19",category:"DISTILLATE",name:"Dabble Extracts",desc:"Colorado-crafted distillate cartridge from a trusted local extractor. Consistent quality with strain-specific terpene blends for a familiar, enjoyable experience."},{id:"v20",category:"DISTILLATE",name:"Pyramid",desc:"Distillate cartridge offering great potency at an accessible price point. A solid everyday option with multiple strain varieties to suit any preference."},{id:"v21",category:"HASH & CONCENTRATES",name:"Greenery Hash Factory",desc:"Colorado's premier hash house crafting traditional and modern hash styles. Dry sift, bubble hash, and pressed varieties — old-school craft meets modern quality."},{id:"v22",category:"HASH & CONCENTRATES",name:"Colorado Best Dabs",desc:"Premium Colorado-grown concentrates including shatter, wax, and live resin. Locally produced with a focus on potency, purity, and strain-specific flavor."},{id:"v23",category:"HASH & CONCENTRATES",name:"Denver Dab Company",desc:"Homegrown Denver concentrates crafted with care. A wide selection of extracts from classic BHO to solventless options — supporting local Colorado cannabis culture."},{id:"v24",category:"HASH & CONCENTRATES",name:"The Flower Collective",desc:"Small-batch, craft hash and extracts made from single-source Colorado flower. Emphasis on terroir and terpene preservation for a true connoisseur experience."}]),recreational_strains:(((a1=lt.data)==null?void 0:a1.recreational_strains)??lt.recreational_strains??hn).parse([{id:"1",name:"Specimen X",lineage:"Project 4516 × Devil Driver"},{id:"2",name:"Mantanuska TF",lineage:"Matanuska Tundra phenotype"},{id:"3",name:"Durbindu Kush",lineage:"Durban Poison × Hindu Kush"},{id:"4",name:"Tally Mon",lineage:"Jamaican × Afghani"},{id:"5",name:"Sour Tsunami",lineage:"Sour Diesel × NYC Diesel · High CBD"},{id:"6",name:"Georgia Pie",lineage:"Gelatti × Kush Mints"},{id:"7",name:"Acapulco Gold",lineage:"Landrace Sativa · Guerrero, Mexico"},{id:"8",name:"Super Boof",lineage:"Black Cherry Punch × Tropicana Cookies"},{id:"9",name:"Sherbaccio",lineage:"Sherbert × Bacio Gelato"},{id:"10",name:"Pineapple Cake",lineage:"Pineapple × Wedding Cake"},{id:"11",name:"Fried Strawberries",lineage:"Strawberry Shortcake × Fried Apples"},{id:"12",name:"Platinum Silk x Grape Guava",lineage:"Platinum Silk × Grape Guava"},{id:"13",name:"Party Cake",lineage:"Wedding Cake × Kush Mints"},{id:"14",name:"Starburst OG",lineage:"OG Kush × Starburst"},{id:"15",name:"Apricot Scone",lineage:"Apricot Gelato × Biscotti"},{id:"16",name:"Lemon Tree",lineage:"Lemon Skunk × Sour Diesel"}])},Fh=ko.about,Tn=ko.awards_accolades,L0=ko.contact,Qa=ko.home,z0=ko.menu,B0=ii.deals,Gh=ii.home_deals,t3=ii.med_cartridges,n3=ii.med_concentrates,a3=ii.med_edibles,i3=ii.med_strains,r3=ii.rec_edibles,s3=ii.rec_vapes,l3=ii.recreational_strains;function Ps({field:t,className:n,children:i}){if(!t)return n?h.jsx("div",{className:n,children:i}):i;const s=E.Children.toArray(i);if(s.length===1&&E.isValidElement(s[0])){const c=s[0],d=E.Children.toArray(c.props.children);if(d.length>1){const m=d.map((p,g)=>U0(p,g));return h.jsx("div",{"data-dev-content-list":t,className:n,style:n?void 0:{display:"contents"},children:E.cloneElement(c,{},m)})}}const o=s.map((c,d)=>U0(c,d));return h.jsx("div",{"data-dev-content-list":t,className:n,style:n?void 0:{display:"contents"},children:o})}function U0(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 Ts="https://dutchie.com/dispensary/the-giving-tree-denver",V0="https://maps.google.com/?q=2707+W+38th+Ave+Denver+CO+80211",o3="https://www.facebook.com/givingtreedenver",c3="https://www.instagram.com/thegivingtreeden";function zi(t=0){return{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t,ease:"easeOut"}}}function u3(){const[t,n]=E.useState(0),[i,s]=E.useState(1),[o,c]=E.useState(!1),d=Gh.length;E.useEffect(()=>{if(o)return;const w=setInterval(()=>{s(1),n(T=>(T+1)%d)},5e3);return()=>clearInterval(w)},[d,o]);const m=E.useCallback(w=>{s(w>t?1:-1),n((w+d)%d)},[t,d]),p="https://www.tgtree.com",g="The Giving Tree of Denver | Cannabis Dispensary in Highlands & Sunnyside",y="The Giving Tree of Denver — family-owned cannabis dispensary at 2707 W 38th Ave in Denver's Highlands/Sunnyside neighborhood. Colorado's largest edible selection, daily deals, recreational & medical. Open every day 8AM–9:50PM. Call (303) 477-8888.",x={"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":`${p}/#website`,name:"The Giving Tree of Denver",url:`${p}/`,potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:`${p}/menu?q={search_term_string}`},"query-input":"required name=search_term_string"}},{"@type":["LocalBusiness","Store"],"@id":`${p}/#organization`,name:"The Giving Tree of Denver",alternateName:"Giving Tree Denver",url:`${p}/`,logo:`${p}/assets/images/a12b0a209e37e2ebea1a2714f35647d9.png`,image:`${p}/airo-assets/images/pages/home/hero`,description:"Family-owned cannabis dispensary in Denver's Highlands/Sunnyside neighborhood. Colorado's largest edible selection. Serving recreational and medical patients since 2009.",telephone:"+1-303-477-8888",email:"[email protected]",foundingDate:"2009",priceRange:"$$",currenciesAccepted:"USD",paymentAccepted:"Cash, Debit",address:{"@type":"PostalAddress",streetAddress:"2707 W 38th Ave",addressLocality:"Denver",addressRegion:"CO",postalCode:"80211",addressCountry:"US"},geo:{"@type":"GeoCoordinates",latitude:39.7695,longitude:-105.0355},hasMap:"https://maps.google.com/?q=2707+W+38th+Ave+Denver+CO+80211",openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Frid
387ay","Saturday","Sunday"],opens:"08:00",closes:"21:50"}],sameAs:["https://www.facebook.com/givingtreedenver","https://www.instagram.com/thegivingtreeden"],areaServed:[{"@type":"City",name:"Denver"},{"@type":"Neighborhood",name:"Highlands"},{"@type":"Neighborhood",name:"Sunnyside"},{"@type":"Neighborhood",name:"LoHi"},{"@type":"Neighborhood",name:"Berkeley"}],award:["Westword Best of Denver — Best Dispensary Bargains 2021","Westword Best of Denver — Best Dispensary for Customer Service 2021","Westword Best of Denver — Best Selection at a Dispensary 2021"]},{"@type":"WebPage","@id":`${p}/#webpage`,url:`${p}/`,name:g,isPartOf:{"@id":`${p}/#website`},about:{"@id":`${p}/#organization`},datePublished:"2009-01-01",dateModified:"2026-09-16"}]},b={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"What are the hours at The Giving Tree of Denver?",acceptedAnswer:{"@type":"Answer",text:"The Giving Tree of Denver is open every day from 8:00 AM to 9:50 PM, including weekends and holidays. Located at 2707 W 38th Ave, Denver, CO 80211."}},{"@type":"Question",name:"Does The Giving Tree of Denver sell medical cannabis?",acceptedAnswer:{"@type":"Answer",text:"Yes. The Giving Tree of Denver serves both recreational (21+) and medical patients. We offer the lowest EPC (Extended Plant Count) prices in Denver for red card holders."}},{"@type":"Question",name:"What makes The Giving Tree of Denver the best dispensary in Denver?",acceptedAnswer:{"@type":"Answer",text:"The Giving Tree of Denver is a family-owned, independently operated dispensary that has served the Highlands/Sunnyside neighborhood since 2009. We carry Colorado's largest edible selection, offer daily deals, and have won multiple Westword Best of Denver awards including Best Dispensary Bargains, Best Customer Service, and Best Selection."}},{"@type":"Question",name:"Can I order cannabis online for pickup at The Giving Tree of Denver?",acceptedAnswer:{"@type":"Answer",text:"Yes. You can browse our full menu and place an order online at dutchie.com/dispensary/the-giving-tree-denver for fast in-store pickup at 2707 W 38th Ave, Denver, CO 80211."}},{"@type":"Question",name:"What cannabis deals does The Giving Tree of Denver offer?",acceptedAnswer:{"@type":"Answer",text:"We offer daily deals including Munchie Mondays (edibles), Thirsty Thursdays (beverages & tinctures), and Faded Fridays (concentrates). We also have an Early Bird Special — 10% off any purchase between 8AM and 10AM every day. Visit our Deals page for current monthly specials."}}]};return h.jsxs(h.Fragment,{children:[h.jsxs(ba,{children:[h.jsx("title",{children:g}),h.jsx("meta",{name:"description",content:y}),h.jsx("link",{rel:"canonical",href:`${p}/`}),h.jsx("meta",{property:"og:title",content:g}),h.jsx("meta",{property:"og:description",content:y}),h.jsx("meta",{property:"og:type",content:"website"}),h.jsx("meta",{property:"og:url",content:`${p}/`}),h.jsx("meta",{property:"og:image",content:`${p}/airo-assets/images/pages/home/hero`}),h.jsx("meta",{property:"og:locale",content:"en_US"}),h.jsx("meta",{property:"og:site_name",content:"The Giving Tree of Denver"}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),h.jsx("meta",{name:"twitter:title",content:g}),h.jsx("meta",{name:"twitter:description",content:y}),h.jsx("meta",{name:"twitter:image",content:`${p}/airo-assets/images/pages/home/hero`}),h.jsx("script",{type:"application/ld+json",children:JSON.stringify(x).replace(/</g,"\\u003c")}),h.jsx("script",{type:"application/ld+json",children:JSON.stringify(b).replace(/</g,"\\u003c")}),h.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),h.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),h.jsx("link",{href:"https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap",rel:"stylesheet"})]}),h.jsx("h1",{style:{position:"absolute",left:"-9999px",width:"1px",height:"1px",overflow:"hidden"},children:"The Giving Tree of Denver — Family-Owned Neighborhood Cannabis Dispensary Since 2009"}),h.jsx("div",{className:"bg-foreground text-background py-3 px-4",children:h.jsxs("div",{className:"container mx-auto flex flex-col sm:flex-row items-center justify-between gap-2 text-xs",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(Pu,{size:13,className:"text-primary"}),h.jsx("span",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"font-bold tracking-widest text-primary",children:h.jsx(ht,{devId:"1ef4db",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.info_bar.hours",contentKeyTemplate:null,expressionH
387ash:null},children:Qa.info_bar.hours})})]}),h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(xo,{size:13,className:"text-background/60"}),h.jsx("span",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-background/70 tracking-wide",children:h.jsx(ht,{devId:"60c9bc",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.info_bar.address",contentKeyTemplate:null,expressionHash:null},children:Qa.info_bar.address})})]}),h.jsx("a",{href:V0,target:"_blank",rel:"noopener noreferrer",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-primary font-bold tracking-widest hover:underline text-xs",children:h.jsx(ht,{devId:"3ad2f6",guard:{file:"src/pages/index.tsx",tagName:"a",sourceKind:"content-key",contentKey:"home.info_bar.directions_label",contentKeyTemplate:null,expressionHash:null},children:Qa.info_bar.directions_label})})]})}),h.jsx("section",{className:"bg-foreground py-12 px-4 text-center border-b border-background/10",children:h.jsxs(pe.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6},className:"container mx-auto max-w-4xl flex flex-col items-center gap-6",children:[h.jsx("img",{src:"/assets/images/a12b0a209e37e2ebea1a2714f35647d9.png",alt:"The Giving Tree of Denver",className:"h-24 md:h-32 w-auto object-contain",width:458,height:218,loading:"eager",fetchPriority:"high"}),h.jsx("div",{className:"flex flex-wrap justify-center gap-x-8 gap-y-1",children:h.jsx("span",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-background text-sm md:text-base font-black tracking-widest",children:h.jsx(ht,{devId:"42acf1",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.hero.tagline",contentKeyTemplate:null,expressionHash:null},children:Qa.hero.tagline})})}),h.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 mt-2",children:[h.jsxs("a",{href:Ts,style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center justify-center gap-2 bg-primary text-primary-foreground px-8 py-3.5 rounded-md font-black tracking-widest text-sm hover:bg-primary/90 transition-colors shadow-lg",children:[h.jsx("span",{style:{whiteSpace:"pre-line"},children:h.jsx(ht,{devId:"5da1e4",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.hero.cta_primary",contentKeyTemplate:null,expressionHash:null},children:Qa.hero.cta_primary})})," ",h.jsx(An,{size:15})]}),h.jsxs("a",{href:V0,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center justify-center gap-2 border border-background/20 text-background px-8 py-3.5 rounded-md font-bold tracking-widest text-sm hover:bg-background/10 transition-colors",children:[h.jsx(xo,{size:15}),h.jsx("span",{style:{whiteSpace:"pre-line"},children:h.jsx(ht,{devId:"9f76c5",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.hero.cta_secondary",contentKeyTemplate:null,expressionHash:null},children:Qa.hero.cta_secondary})})]})]})]})}),h.jsx("section",{className:"bg-foreground py-14 px-4",children:h.jsxs("div",{className:"container mx-auto max-w-6xl",children:[h.jsxs(pe.div,{...zi(),className:"text-center mb-2",children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"'Oswald', Impact, sans-serif",color:"#6c7d3b",letterSpacing:"0.2em"},className:"text-xs font-bold mb-1",children:h.jsx(ht,{devId:"5555ef",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.specials.eyebrow",contentKeyTemplate:null,expressionHash:null},children:Qa.specials.eyebrow})}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"'Oswald', Impact, sans-serif"},className:"text-3xl md:text-4xl font-black tracking-widest text-white mb-1",children:h.jsx(ht,{devId:"5555f0",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.specials.title",contentKeyTemplate:null,expressionHash:null},children:Qa.specials.title})}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"'Oswald', Impact, sans-serif",color:"#6c7d3b"},className:"text-base font-bold tracking-widest",children:h.jsx(ht,{devId:"5555f1",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.specials.subtitle",contentKeyTemplate:null,expressionH
387ash:null},children:Qa.specials.subtitle})})]}),h.jsx(pe.a,{href:Ts,...zi(.05),whileHover:{scale:1.01},className:"block mx-auto max-w-5xl",children:h.jsx("img",{src:"/airo-assets/images/pages/home/july-specials-flyer",alt:"September Specials — Fresh Deals All Month Long at The Giving Tree of Denver",className:"w-full rounded-2xl shadow-2xl",width:1320,height:743,loading:"eager"})}),h.jsx(pe.div,{...zi(.1),className:"text-center mt-10",children:h.jsxs("a",{href:Ts,style:{fontFamily:"'Oswald', Impact, sans-serif",background:"#ccff00",color:"#111111",fontWeight:700,letterSpacing:"0.15em",display:"inline-flex",alignItems:"center",gap:"8px",padding:"14px 40px",borderRadius:"6px",fontSize:"clamp(12px, 1.4vw, 14px)"},children:["ORDER SEPTEMBER DEALS NOW ",h.jsx(An,{size:16})]})})]})}),h.jsx("section",{className:"bg-background py-14 px-4 border-b border-border",children:h.jsxs("div",{className:"container mx-auto max-w-5xl",children:[h.jsxs(pe.div,{...zi(),className:"text-center mb-10",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary text-xs font-bold tracking-widest mb-2",children:"GIVING TREE SPECIALS"}),h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black tracking-widest text-foreground",children:"DAILY DEALS & PROMOTIONS"})]}),h.jsx("div",{className:"relative",children:h.jsxs("div",{className:"relative rounded-2xl shadow-2xl overflow-hidden",onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onFocus:()=>c(!0),onBlur:()=>c(!1),children:[h.jsx(Ps,{field:"home_deals",children:h.jsx(S_,{mode:"wait",initial:!1,custom:i,children:Gh.map((w,T)=>T!==t?null:h.jsxs(pe.div,{custom:i,initial:{opacity:0,x:i*80},animate:{opacity:1,x:0},exit:{opacity:0,x:i*-80},transition:{duration:.45,ease:"easeInOut"},className:"relative w-full",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-foreground via-foreground to-primary/80 pointer-events-none"}),h.jsx("div",{className:"absolute inset-0 opacity-10 pointer-events-none",children:[...Array(8)].map((M,j)=>h.jsx("div",{className:"absolute top-0 right-0 w-px bg-primary",style:{height:"200%",transform:`rotate(${j*22.5}deg) translateX(-50%)`,transformOrigin:"bottom right"}},j))}),h.jsxs("div",{className:"relative z-10 flex flex-col md:flex-row items-center gap-4 md:gap-8 p-5 sm:p-7 md:p-12",children:[h.jsx("div",{className:"flex-shrink-0 flex flex-col items-center justify-center bg-primary rounded-xl w-16 h-16 md:w-20 md:h-20 shadow-xl",children:h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-primary-foreground text-[10px] md:text-xs font-black tracking-widest text-center leading-tight px-1",children:w.time})}),h.jsxs("div",{className:"flex flex-col gap-2 text-center md:text-left flex-1 min-w-0",children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-primary text-[10px] md:text-xs font-bold tracking-widest",children:w.eyebrow}),h.jsxs("p",{style:{fontFamily:"var(--font-heading)"},className:"text-white text-xl sm:text-2xl md:text-4xl font-black tracking-wide leading-tight break-words",children:[w.headline,h.jsx("br",{}),h.jsx("span",{className:"text-primary",style:{whiteSpace:"pre-line"},children:w.subheadline})]}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-white/60 text-xs sm:text-sm tracking-wide",children:w.desc}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-white/40 text-[10px] sm:text-xs",children:w.disclaimer})]}),h.jsx("div",{className:"flex-shrink-0 w-full md:w-auto",children:h.jsxs("a",{href:Ts,style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center justify-center gap-2 bg-primary text-primary-foreground w-full md:w-auto px-5 md:px-8 py-3 md:py-4 rounded-md font-black tracking-widest text-xs md:text-sm hover:bg-primary/90 transition-colors shadow-lg pointer-events-auto",children:["ORDER NOW ",h.jsx(An,{size:14})]})})]})]},w.id))})}),h.jsx("button",{onClick:()=>m(t-1),className:"absolute left-3 top-1/2 -translate-y-1/2 z-20 bg-black/30 hover:bg-black/50 text-white rounded-full p-2 transition-colors","aria-label":"Previous deal",children:h.jsx(rj,{size:20})}),h.jsx("button",{onClick:()=>m(t+1),className:"absolute right-3 top-1/2 -translate-y-1/2 z-20 bg-black/30 hover:bg-black/50 text-white rounded-full p-2 transition-colors","aria-label":"Next deal",children:h.jsx(sj,{size:20})}),h.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 z-20 flex items-center gap-2",children:Gh.map((w,T)=>h.jsx("button",{onClick:()=>m(T),className:`h-2 rounded-full transition-all ${T===t?"bg-primary w-5":"bg-white/40 w-2"}`,"aria-label":`Go to deal ${T+1}`},w.id))}),h.jsx("button",{onClick:()=>c(w=>!w),className:"absolute top-3 right-3 z-20 bg-black/30 hover:bg-black/50 text-white rounded-full p-2 transition-colors","aria-label":o?"Play carousel":"Pause carousel",children:h.jsx(ht,{devId:"ad514d",guard:{file:"src/pages/index.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
387ash:"sha256:fafc0d18277d72bdaee4ec4260f5311755f581d2712b9b0a2982ca139aa001ab"},children:o?h.jsx(pj,{size:14}):h.jsx(hj,{size:14})})})]})})]})}),h.jsx("section",{className:"bg-background py-16 px-4",children:h.jsxs("div",{className:"container mx-auto max-w-5xl",children:[h.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[h.jsxs(pe.div,{...zi(0),className:"relative rounded-2xl overflow-hidden shadow-lg min-h-[260px] flex flex-col justify-end",children:[h.jsx("img",{src:"/airo-assets/images/pages/home/hero",alt:"Family owned dispensary",className:"absolute inset-0 w-full h-full object-cover",width:600,height:400,loading:"lazy"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-gray-900/90 via-gray-900/50 to-transparent"}),h.jsxs("div",{className:"relative z-10 p-6 flex flex-col gap-3",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)",color:"#ffffff"},className:"text-white font-black text-lg tracking-widest leading-tight",children:"FAMILY OWNED & OPERATED"}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary font-bold text-sm tracking-widest",children:"NOW ACCEPTING EPC PATIENTS"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-white/70 text-xs",children:"LOWEST EPC PRICE IN DENVER!"}),h.jsxs("a",{href:Ts,style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-1.5 bg-primary text-primary-foreground px-5 py-2.5 rounded-md text-xs font-bold tracking-widest hover:bg-primary/90 transition-colors w-fit",children:["ORDER NOW ",h.jsx(An,{size:12})]})]})]}),h.jsxs(pe.div,{...zi(.08),className:"relative rounded-2xl overflow-hidden shadow-lg min-h-[260px] flex flex-col justify-end",children:[h.jsx("img",{src:"/airo-assets/images/pages/home/cannabis-flower",alt:"Cannabis flower",className:"absolute inset-0 w-full h-full object-cover",width:600,height:400,loading:"lazy"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-gray-900/90 via-gray-900/50 to-transparent"}),h.jsxs("div",{className:"relative z-10 p-6 flex flex-col gap-3",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)",color:"#ccff00"},className:"text-primary font-black text-sm tracking-widest",children:"AT THE GIVING TREE"}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-white font-black text-xl tracking-widest leading-tight",children:"10% OFF YOUR FIRST VISIT"}),h.jsxs("a",{href:Ts,style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-1.5 bg-primary text-primary-foreground px-5 py-2.5 rounded-md text-xs font-bold tracking-widest hover:bg-primary/90 transition-colors w-fit",children:["ORDER NOW ",h.jsx(An,{size:12})]})]})]}),h.jsxs(pe.div,{...zi(.16),className:"bg-foreground rounded-2xl shadow-lg p-6 flex flex-col gap-4 justify-between min-h-[260px]",children:[h.jsxs("div",{className:"flex flex-col gap-3",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary text-xs font-bold tracking-widest",children:"ABOUT US"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/80 text-sm leading-relaxed",children:"WE ARE A SMALL FAMILY OWNED DISPENSARY WITH A PASSION FOR CANNABIS. WE STRIVE TO PROVIDE THE HIGHEST QUALITY FLOWER & EDIBLES AROUND."}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/60 text-xs leading-relaxed",children:"WE HAVE COLORADO'S LARGEST EDIBLE SELECTION & HAVE BEEN AROUND FOR OVER 15 YEARS SERVING OUR COMMUNITY."})]}),h.jsxs("div",{className:"flex flex-col gap-3",children:[h.jsx("div",{className:"flex items-center justify-center bg-white rounded-xl p-4",children:h.jsx("img",{src:"/assets/images/a12b0a209e37e2ebea1a2714f35647d9.png",alt:"The Giving Tree of Denver",className:"h-12 w-auto object-contain",width:200,height:96,loading:"lazy"})}),h.jsxs("a",{href:"/about",style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-1.5 bg-primary text-primary-foreground px-5 py-2.5 rounded-md text-xs font-bold tracking-widest hover:bg-primary/90 transition-colors w-fit",children:["OUR STORY ",h.jsx(An,{size:12})]})]})]})]}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-center text-muted-foreground text-xs mt-6",children:"DISCOUNTS CANNOT BE COMBINED | ONLINE ORDERS ARE FOR IN-STORE PICK-UP ONLY | RESTRICTIONS MAY APPLY"})]})}),h.jsx("section",{className:"bg-foreground py-10 px-4",children:h.jsx("div",{className:"container mx-auto max-w-4xl",children:h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6 text-center",children:[{label:"NEAREST CROSS-STREET",value:"38TH AVE & CLAY ST"},{label:"NEIGHBORHOODS",value:"HIGHLANDS / SUNNYSIDE"},{label:"FROM THE AIRPORT",value:"20 MIN DRIVE"}].map(({label:w,value:T})=>h.jsxs("div",{className:"flex flex-col gap-1",children:[h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/40 text-xs tracking-widest",children:w}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-background font-black text-sm tracking-widest",children:T})]},w))})})}),h.jsx("section",{className:"bg-primary py-12 px-4",children:h.jsx("div",{className:"container mx-auto text-center",children:h.jsxs(pe.div,{...zi(),className:"flex flex-col items-center gap-5",children:[h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-xl md:text-2xl font-black tracking-widest text-primary-foreground",children:"FOLLOW US FOR EXCLUSIVE DEALS"}),h.jsxs("div",{className:"flex items-center gap-5",children:[h.jsx("a",{href:o3,target:"_blank",rel:"noopener noreferrer","aria-label":"Follow us on Facebook",className:"bg-primary-foreground
387/10 hover:bg-primary-foreground/20 text-primary-foreground rounded-full p-3 transition-colors",children:h.jsx(Y1,{size:22})}),h.jsx("a",{href:c3,target:"_blank",rel:"noopener noreferrer","aria-label":"Follow us on Instagram",className:"bg-primary-foreground/10 hover:bg-primary-foreground/20 text-primary-foreground rounded-full p-3 transition-colors",children:h.jsx(K1,{size:22})})]}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-primary-foreground/70 text-sm",children:"@givingtreedenver · @thegivingtreeden"})]})})})]})}const d3="https://dutchie.com/dispensary/the-giving-tree-denver",vr="https://www.tgtree.com",f3=[{name:"Care Division",desc:"Does NOT contain THC. 500 MG bottle. Calming & comfort. Used most often during fireworks. Great for: anxiety, stress & pain relief."}];function Ql({label:t,sub:n}){return h.jsxs("div",{className:"flex flex-col gap-2 mb-8",children:[h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black tracking-widest text-foreground",children:h.jsx(ht,{devId:"890f8b",guard:{file:"src/pages/recreational-items.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:1aca80e8b55c802f7b43740da2990e1b5735bbb323d93eb5ebda8395b04025e2"},children:t})}),n&&h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-sm",children:h.jsx(ht,{devId:"a73021",guard:{file:"src/pages/recreational-items.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:ddc6e2b224d0fd821669202258386936fc9ce2899e215eec6322b95f8dd96d6a"},children:n})}),h.jsx("div",{className:"w-12 h-1 bg-primary rounded-full mt-1"})]})}function Jl(){return h.jsxs("a",{href:d3,style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-2 bg-primary text-primary-foreground px-6 py-2.5 rounded-md text-xs font-bold tracking-widest hover:bg-primary/90 transition-colors mt-4",children:["SHOP ONLINE ",h.jsx(An,{size:13})]})}function Es(t=0){return{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t}}}function h3(){const t="Recreational Cannabis | The Giving Tree of Denver — Highlands, Denver CO",n="Shop recreational cannabis at The Giving Tree of Denver — 30+ flower strains, edibles, vapes, pre-rolls, concentrates, and topicals. Colorado's largest edible selection at 2707 W 38th Ave, Denver. Adult use 21+. Order online for pickup.",i=`${vr}/recreational-items`,s={"@context":"https://schema.org","@graph":[{"@type":["LocalBusiness","Store"],"@id":`${vr}/#organization`,name:"The Giving Tree of Denver",url:`${vr}/`,telephone:"+1-303-477-8888",address:{"@type":"PostalAddress",streetAddress:"2707 W 38th Ave",addressLocality:"Denver",addressRegion:"CO",postalCode:"80211",addressCountry:"US"}},{"@type":"WebPage","@id":`${i}#webpage`,name:t,url:i,description:n,isPartOf:{"@id":`${vr}/#website`},about:{"@id":`${vr}/#organization`},dateModified:"2026-09-16"},{"@type":"ItemList",name:"Recreational Cannabis Categories — The Giving Tree of Denver",description:"Recreational cannabis product categories available at The Giving Tree of Denver, 2707 W 38th Ave, Denver CO.",itemListElement:[{"@type":"ListItem",position:1,name:"Cannabis Flower — 30+ Strains"},{"@type":"ListItem",position:2,name:"Pre-Rolls & Joints"},{"@type":"ListItem",position:3,name:"Edibles — Gummies, Chocolates, Beverages"},{"@type":"ListItem",position:4,name:"Vapes & Disposables"},{"@type":"ListItem",position:5,name:"Concentrates & Live Resin"},{"@type":"ListItem",position:6,name:"Topicals & Wellness"},{"@type":"ListItem",position:7,name:"Pet CBD Care"}]}]};return h.jsxs(h.Fragment,{children:[h.jsxs(ba,{children:[h.jsx("title",{children:t}),h.jsx("meta",{name:"description",content:n}),h.jsx("link",{rel:"canonical",href:i}),h.jsx("meta",{property:"og:title",content:t}),h.jsx("meta",{property:"og:description",content:n}),h.jsx("meta",{property:"og:type",content:"website"}),h.jsx("meta",{property:"og:url",content:i}),h.jsx("meta",{property:"og:image",content:`${vr}/airo-assets/images/pages/recreational/hero`}),h.jsx("meta",{property:"og:site_name",content:"The Giving Tree of Denver"}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),h.jsx("meta",{name:"twitter:title",content:t}),h.jsx("meta",{name:"twitter:description",content:n}),h.jsx("meta",{name:"twitter:image",content:`${vr}/airo-assets/images/pages/recreational/hero`}),h.jsx("script",{type:"application/ld+json",children:JSON.stringify(s).replace(/</g,"\\u003c")})]}),h.jsxs("section",{className:"relative text-background py-28 px-4 text-center overflow-hidden min-h-[420px] flex items-center",children:[h.jsx("img",{src:"/airo-assets/images/pages/recreational/flower",alt:"Recreational cannabis at The Giving Tree of Denver",className:"absolute inset-0 w-full h-full object-cover object-[center_30%]",loading:"eager",fetchPriority:"high",width:1400,height:600}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-gray-900/70 via-gray-900/60 to-gray-900/75 pointer-events-none"}),h.jsx("div",{className:"relative z-10 container mx-auto max-w-3xl",children:h.jsxs(pe.div,{...Es(),children:[h.jsx("span",{style:{fontFamily:"var(--font-heading)"},className:"inline-block bg-primary text-primary-foreground text-xs font-bold tracking-widest px-4 py-1.5 rounded-full mb-5",children:"ADULT USE · 21+"}),h.jsx("h1",{style:{fontFamily:"var(--font-heading)"},className:"text-4xl md:text-5xl font-black text-white tracking-widest drop-shadow-xl mb-4",children:"RECREATIONAL ITEMS"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-white/80 text-base max-w-xl mx-auto",children:"Over 200 products to choose from, flower, edibles, vapes, topicals & more"})]})})]}),h.jsx("section",{className:"bg-primary text-primary-foreground py-5",children:h.jsxs("div",{className:"container mx-auto px-4 text-center",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-sm font-bold tracking-widest",children:"WAKE AND BAKE SPECIALS 8AM–10AM: 10% OFF ALL CANNABIS, EDIBLES, VAPES & CONCENTRATES*"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"}
387,className:"text-primary-foreground/70 text-xs mt-1",children:"*Cannot be combined with other discounts. Restrictions may apply."})]})}),h.jsxs("div",{className:"container mx-auto px-4 py-12 flex flex-col gap-12",children:[h.jsxs(pe.section,{...Es(),className:"border-b border-border pb-12",children:[h.jsx(Ql,{label:"FLOWER",sub:"Out the door prices on select recreational flower 1/8th & ounce deals!"}),h.jsxs("div",{className:"bg-foreground text-background rounded-2xl p-6 mb-6",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary text-xs font-bold tracking-widest mb-1",children:"ALL REC STRAINS"}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-background font-black text-lg tracking-wide mb-3",children:"OVER 30 STRAINS TO CHOOSE FROM WITH NEW LOWER PRICES!"}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2",children:l3.map(o=>h.jsxs("div",{className:"border border-background/10 rounded-lg p-3",children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-background text-sm font-bold",children:o.name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-background/50 text-xs mt-0.5",children:o.lineage})]},o.id))}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/40 text-xs mt-4",children:"All strains & deals are while supplies last."})]}),h.jsx(Jl,{})]}),h.jsxs(pe.section,{...Es(.05),className:"border-b border-border pb-12",children:[h.jsx(Ql,{label:"JOINTS & SMOKES",sub:"Come check out all the pre-rolls & other smokable products we carry!"}),h.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[h.jsxs("div",{className:"bg-muted/50 border border-border rounded-2xl p-6",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-foreground font-black tracking-widest text-sm mb-1",children:"FUEGO FARMS"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-sm",children:"1 Gram Pre-Rolls, Buy (2), Get a 3rd for $.01"})]}),h.jsxs("div",{className:"bg-muted/50 border border-border rounded-2xl p-6",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-foreground font-black tracking-widest text-sm mb-1",children:"Grasshopper Farms"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-sm",children:"(5) 1 Gram Pre-Rolls $20 · Strain: Hell Cat, Runtz, Van Helsing"})]})]}),h.jsx(Jl,{})]}),h.jsxs(pe.section,{...Es(.05),className:"border-b border-border pb-12",children:[h.jsx(Ql,{label:"EDIBLES & EXTRAS",sub:"Come check out the LARGEST edible selection in Denver, with treats from sweet to savory, we carry it all!"}),(()=>{const o=["BAKED GOODS","HARD & SOFT CANDY","TABLETS & MINTS","TINCTURES","BEVERAGES","CHOCOLATE","GUMMIES","WELLNESS & RECOVERY"];return h.jsx("div",{className:"flex flex-col gap-0 rounded-2xl overflow-hidden border border-border",children:h.jsx(Ps,{field:"rec_edibles",children:o.map((c,d)=>h.jsxs("div",{className:`px-6 py-6 ${d%2===1?"bg-foreground":"bg-background"}`,children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:`text-xs font-black tracking-widest mb-3 border-b pb-2 ${d%2===1?"text-primary border-background/20":"text-primary border-border"}`,children:c}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",children:r3.filter(m=>m.category===c).map(m=>h.jsxs("div",{className:`border rounded-xl p-4 flex flex-col gap-1 ${d%2===1?"bg-background/10 border-background/10":"bg-muted/40 border-border"}`,children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(Zm,{size:14,className:"text-primary shrink-0"}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:`text-sm font-black tracking-wide ${d%2===1?"text-background":"text-foreground"}`,children:m.name})]}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:`text-xs leading-relaxed ${d%2===1?"text-background/60":"text-muted-foreground"}`,children:m.desc})]},m.id))})]},c))})})})(),h.jsx(Jl,{})]}),h.jsxs(pe.section,{...Es(.05),className:"border-b border-border pb-12",children:[h.jsx(Ql,{label:"DISPOSABLES & CARTRIDGES",sub:"Come check out some of our favorite disposables & all-in-one cartridges with Live Resin!"}),(()=>{const o=["LIVE ROSIN","LIVE RESIN","AIO DISPOSABLES","LIQUID DIAMOND","LIQUID BADDER","DISTILLATE","HASH & CONCENTRATES"];return h.jsx("div",{className:"flex flex-col gap-0 rounded-2xl overflow-hidden border border-border",children:h.jsx(Ps,{field:"rec_vapes",children:o.map((c,d)=>h.jsxs("div",{className:`px-6 py-6 ${d%2===1?"bg-foreground":"bg-background"}`,children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:`text-xs font-black tracking-widest mb-3 border-b pb-2 ${d%2===1?"text-primary border-background/20":"text-primary border-border"}`,children:c}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",children:s3.filter(m=>m.category===c).map(m=>h.jsxs("div",{className:`border rounded-xl p-4 ${d%2===1?"bg-background/10 border-background/10":"bg-muted/40 border-border"}`,children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:`text-sm font-black tracking-wide mb-1 ${d%2===1?"text-background":"text-foreground"}`,children:m.name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:`text-xs leading-relaxed ${d%2===1?"text-background/60":"text-muted-foreground"}`,children:m.desc})]},m.id))})]},c))})})})(),h.jsx(Jl,{})]}),h.jsxs(pe.section,{...Es(.05),children:[h.jsx(Ql,{label:"PET CARE",sub:"CBD wellness products for your furry friends."}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:f3.map(o=>h.jsxs("div",{className:"bg-muted/40 border border-border rounded-xl p-5",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-foreground text-sm font-black tracking-wide mb-2",children:o.name}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed",children:o.desc})]},o.name))}),h.jsx(Jl,{})]})]}),h.jsx("div",{className:"bg-muted/30 border-t border-border py-8",children:h.jsx("div",{className:"container mx-auto px-4 text-center",children:h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed max-w-2xl mx-auto",children:"While supplies last. Deals are subject to change. Discounts cannot be combined. Online orders are for in-store pick-up only. Restrictions may apply. Must be 21+ to purchase."})})})]})}const xr="https://www.tgtree.com";function br(t=0){return{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55,delay:t,ease:"easeOut"}}}function m3(){const t="Awards & Accolades | The Giving Tree of Denver — Best Dispensary in Denver",n="The Giving Tree of Denver has won multiple Westword Best of Denver awards and earned national recognition from CNN, The New York Times, and HuffPost. Denver's most awarded neighborhood cannabis dispensary since 2009.",i=`${xr}/awards-accolades`,s={"@context":"https://schema.org","@graph":[{"@type":["LocalBusiness","Store"],"@id":`${xr}/#organization`,name:"The Giving Tree of Denver",url:`${xr}/`,telephone:"+1-303-477-8888",foundingDate:"2009",award:["Westword Best of Denver — Best Dispensary Bargains 2021","Westword Best of Denver — Best Dispensary for a Stoner 2021","Westword Best of Denver — Best Dispensary for a Tourist 2021","Westword Best of Denver — Best Dispensary for Classic Strains 2021","Westword Best of Denver — Best Dispensary for Customer Service 2021","Westword Best of Denver — Best Selection at a Dispensary 2021"],address:{"@type":"PostalAddress",streetAddress:"2707 W 38th Ave",addressLocality:"Denver",addressRegion:"CO",postalCode:"80211",addressCountry:"US"}},{"@type":"WebPage","@id":`${i}#webpage`,name:t,url:i,description:n,isPartOf:{"@id":`${xr}/#website`},about:{"@id":`${xr}/#organization`},dateModified:"2026-09-16"}]};return h.jsxs(h.Fragment,{children:[h.jsxs(ba,{children:[h.jsx("title",{children:t}),h.jsx("meta",{name:"description",content:n}),h.jsx("link",{rel:"canonical",href:i}),h.jsx("meta",{property:"og:title",content:t}),h.jsx("meta",{property:"og:description",content:n}),h.jsx("meta",{property:"og:type",content:"website"}),h.jsx("meta",{property:"og:url",content:i}),h.jsx("meta",{property:"og:image",content:`${xr}/airo-assets/images/pages/awards/hero`}),h.jsx("meta",{property:"og:site_name",content:"The Giving Tree of Denver"}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),h.jsx("meta",{name:"twitter:title",content:t}),h.jsx("meta",{name:"twitter:description",content:n}),h.jsx("meta",{name:"twitter:image",content:`${xr}/airo-assets/images/pages/awards/hero`}),h.jsx("script",{type:"application/ld+json",children:JSON.stringify(s).replace(/</g,"\\u003c")})]}),h.jsxs("section",{className:"relative h-72 md:h-96 flex items-center justify-center overflow-hidden",children:[h.jsx("img",{src:"/airo-assets/images/pages/awards/hero",alt:"Awards and accolades",className:"absolute inset-0 w-full h-full object-cover",width:1440,height:500,loading:"eager",fetchPriority:"high"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-gray-900/70 via-gray-900/60 to-gray-900/85"}),h.jsx("div",{className:"relative z-10 text-center px-4",children:h.jsxs(pe.div,{...br(),children:[h.jsx("div",{className:"flex items-center justify-center gap-2 mb-4",children:h.jsx("span",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"inline-block bg-primary text-primary-foreground text-xs font-bold tracking-widest px-4 py-1.5 rounded-full",children:h.jsx(ht,{devId:"add8dc",guard:{file:"src/pages/awards-accolades.tsx",tagName:"span",sourceKind:"content-key",contentKey:"awards_accolades.hero.eyebrow",contentKeyTemplate:null,expressionH
387ash:null},children:Tn.hero.eyebrow})})}),h.jsx("h1",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-4xl md:text-5xl font-black text-white tracking-widest drop-shadow-xl mb-3",children:h.jsx(ht,{devId:"e8b56f",guard:{file:"src/pages/awards-accolades.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"awards_accolades.hero.heading",contentKeyTemplate:null,expressionHash:null},children:Tn.hero.heading})}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-white/80 text-base max-w-xl mx-auto",children:h.jsx(ht,{devId:"f7a9a6",guard:{file:"src/pages/awards-accolades.tsx",tagName:"p",sourceKind:"content-key",contentKey:"awards_accolades.hero.subheading",contentKeyTemplate:null,expressionHash:null},children:Tn.hero.subheading})})]})})]}),h.jsx("section",{className:"container mx-auto px-4 py-16 max-w-3xl text-center",children:h.jsxs(pe.div,{...br(),children:[h.jsx(G1,{size:40,className:"text-primary mx-auto mb-5"}),h.jsx("h2",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black tracking-widest text-foreground mb-4",children:h.jsx(ht,{devId:"34a49b",guard:{file:"src/pages/awards-accolades.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"awards_accolades.intro.heading",contentKeyTemplate:null,expressionHash:null}
387,children:Tn.intro.heading})}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-base leading-relaxed",children:h.jsx(ht,{devId:"ac6331",guard:{file:"src/pages/awards-accolades.tsx",tagName:"p",sourceKind:"content-key",contentKey:"awards_accolades.intro.body",contentKeyTemplate:null,expressionHash:null},children:Tn.intro.body})})]})}),h.jsx("section",{className:"bg-foreground text-background py-16",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs(pe.div,{...br(),className:"text-center mb-12",children:[h.jsxs("div",{className:"flex items-center justify-center gap-3 mb-3",children:[h.jsx(fj,{size:22,className:"text-primary"}),h.jsx("h2",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black tracking-widest text-background",children:h.jsx(ht,{devId:"894ac3",guard:{file:"src/pages/awards-accolades.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"awards_accolades.mediaSection.heading",contentKeyTemplate:null,expressionHash:null}
387,children:Tn.mediaSection.heading})})]}),h.jsx("div",{className:"w-12 h-1 bg-primary rounded-full mx-auto mt-2 mb-4"}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-background/60 text-sm max-w-lg mx-auto",children:h.jsx(ht,{devId:"e18785",guard:{file:"src/pages/awards-accolades.tsx",tagName:"p",sourceKind:"content-key",contentKey:"awards_accolades.mediaSection.subheading",contentKeyTemplate:null,expressionHash:null},children:Tn.mediaSection.subheading})})]}),h.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 gap-4 max-w-4xl mx-auto",children:h.jsx(Ps,{field:"awards_accolades.mediaFeatures",children:Tn.mediaFeatures.map((o,c)=>h.jsx(pe.div,{...br(c*.05),className:"bg-background/5 border border-background/10 rounded-xl px-4 py-5 flex items-center justify-center text-center hover:bg-primary/20 hover:border-primary/40 transition-colors",children:h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-background text-xs font-bold tracking-wide leading-snug",children:o.name})},o.id))})})]})}),h.jsxs("section",{className:"container mx-auto px-4 py-16",children:[h.jsxs(pe.div,{...br(),className:"text-center mb-12",children:[h.jsxs("div",{className:"flex items-center justify-center gap-3 mb-3",children:[h.jsx(yj,{size:22,className:"text-primary"}),h.jsx("h2",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black tracking-widest text-foreground",children:h.jsx(ht,{devId:"6accef",guard:{file:"src/pages/awards-accolades.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"awards_accolades.westwordSection.heading",contentKeyTemplate:null,expressionHash:null}
387,children:Tn.westwordSection.heading})})]}),h.jsx("div",{className:"w-12 h-1 bg-primary rounded-full mx-auto mt-2 mb-4"}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-sm max-w-lg mx-auto",children:h.jsx(ht,{devId:"ac6331",guard:{file:"src/pages/awards-accolades.tsx",tagName:"p",sourceKind:"content-key",contentKey:"awards_accolades.westwordSection.subheading",contentKeyTemplate:null,expressionHash:null},children:Tn.westwordSection.subheading})})]}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5 max-w-4xl mx-auto",children:h.jsx(Ps,{field:"awards_accolades.westwordAwards",children:Tn.westwordAwards.map((o,c)=>h.jsxs(pe.div,{...br(c*.07),className:"bg-muted/40 border border-border rounded-2xl p-6 flex items-start gap-4 hover:border-primary/50 transition-colors",children:[h.jsx("div",{className:"bg-primary/10 rounded-full p-2.5 shrink-0",children:h.jsx(vj,{size:18,className:"text-primary"})}),h.jsxs("div",{children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-sm font-black tracking-wide leading-snug",children:o.award}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs mt-1",children:"Westword Best of Denver 2021"})]})]},o.id))})})]}),h.jsx("section",{className:"bg-primary text-primary-foreground py-14",children:h.jsx("div",{className:"container mx-auto px-4 text-center",children:h.jsxs(pe.div,{...br(),children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-4xl md:text-6xl font-black tracking-widest mb-3",children:h.jsx(ht,{devId:"e18785",guard:{file:"src/pages/awards-accolades.tsx",tagName:"p",sourceKind:"content-key",contentKey:"awards_accolades.legacy.years",contentKeyTemplate:null,expressionHash:null}
387,children:Tn.legacy.years})}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-lg md:text-xl font-bold tracking-widest text-primary-foreground/80 mb-6",children:h.jsx(ht,{devId:"e18786",guard:{file:"src/pages/awards-accolades.tsx",tagName:"p",sourceKind:"content-key",contentKey:"awards_accolades.legacy.tagline",contentKeyTemplate:null,expressionHash:null},children:Tn.legacy.tagline})}),h.jsxs("div",{className:"flex flex-wrap justify-center gap-6 text-sm font-bold tracking-widest text-primary-foreground/70 mb-8",children:[h.jsx("span",{style:{fontFamily:"var(--font-heading)"},children:"HIGHLANDS"}),h.jsx("span",{className:"text-primary-foreground/30",children:"·"}),h.jsx("span",{style:{fontFamily:"var(--font-heading)"},children:"SUNNYSIDE"}),h.jsx("span",{className:"text-primary-foreground/30",children:"·"}),h.jsx("span",{style:{fontFamily:"var(--font-heading)"},children:"DENVER, CO"}),h.jsx("span",{className:"text-primary-foreground/30",children:"·"}),h.jsx("span",{style:{fontFamily:"var(--font-heading)"},children:"SINCE 2009"})]}),h.jsxs("a",{href:"https://dutchie.com/dispensary/the-giving-tree-denver",target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-2 bg-primary-foreground text-primary px-10 py-4 rounded-md font-black tracking-widest text-sm hover:bg-primary-foreground/90 transition-colors shadow-lg",children:["ORDER NOW ",h.jsx(An,{size:15})]})]})})})]})}const Sr="https://www.tgtree.com",p3="https://dutchie.com/dispensary/the-giving-tree-denver";function As(t=0){return{initial:{opacity:0,y:22},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t,ease:"easeOut"}}}function eo({label:t,sub:n}){return h.jsxs("div",{className:"flex flex-col gap-2 mb-8",children:[h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black tracking-widest text-foreground",children:h.jsx(ht,{devId:"d908f8",guard:{file:"src/pages/medicinal-items.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:1aca80e8b55c802f7b43740da2990e1b5735bbb323d93eb5ebda8395b04025e2"},children:t})}),n&&h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-sm",children:h.jsx(ht,{devId:"f72fee",guard:{file:"src/pages/medicinal-items.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:ddc6e2b224d0fd821669202258386936fc9ce2899e215eec6322b95f8dd96d6a"},children:n})}),h.jsx("div",{className:"w-12 h-1 bg-primary rounded-full mt-1"})]})}function to(){return h.jsxs("a",{href:p3,style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-2 bg-primary text-primary-foreground px-6 py-2.5 rounded-md text-xs font-bold tracking-widest hover:bg-primary/90 transition-colors mt-6",children:["SHOP ONLINE ",h.jsx(An,{size:13})]})}function g3(){const t="Medical Cannabis Denver | The Giving Tree of Denver — Lowest EPC Prices",n="Medical cannabis dispensary in Denver's Highlands neighborhood. The Giving Tree of Denver offers the lowest EPC prices in Denver — flower, edibles, cartridges, and concentrates for red card patients. 2707 W 38th Ave. Open daily 8AM–9:50PM.",i=`${Sr}/medicinal-items`,s={"@context":"https://schema.org","@graph":[{"@type":["LocalBusiness","Store"],"@id":`${Sr}/#organization`,name:"The Giving Tree of Denver",url:`${Sr}/`,telephone:"+1-303-477-8888",address:{"@type":"PostalAddress",streetAddress:"2707 W 38th Ave",addressLocality:"Denver",addressRegion:"CO",postalCode:"80211",addressCountry:"US"}},{"@type":"WebPage","@id":`${i}#webpage`,name:t,url:i,description:n,isPartOf:{"@id":`${Sr}/#website`},about:{"@id":`${Sr}/#organization`},dateModified:"2026-09-16"},{"@type":"ItemList",name:"Medical Cannabis Categories — The Giving Tree of Denver",description:"Medical cannabis product categories for red card patients at The Giving Tree of Denver, Denver CO.",itemListElement:[{"@type":"ListItem",position:1,name:"Medical Cannabis Flower — 20+ Strains"},{"@type":"ListItem",position:2,name:"Infused Joints by TS Labs"},{"@type":"ListItem",position:3,name:"Medical Edibles"},{"@type":"ListItem",position:4,name:"Medical Cartridges & Vapes"},{"@type":"ListItem",position:5,name:"Concentrates & Extracts"}]}]};return h.jsxs(h.Fragment,{children:[h.jsxs(ba,{children:[h.jsx("title",{children:t}),h.jsx("meta",{name:"description",content:n}),h.jsx("link",{rel:"canonical",href:i}),h.jsx("meta",{property:"og:title",content:t}),h.jsx("meta",{property:"og:description",content:n}),h.jsx("meta",{property:"og:type",content:"website"}),h.jsx("meta",{property:"og:url",content:i}),h.jsx("meta",{property:"og:image",content:`${Sr}/airo-assets/images/pages/medicinal/lsd-drops`}),h.jsx("meta",{property:"og:site_name",content:"The Giving Tree of Denver"}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),h.jsx("meta",{name:"twitter:title",content:t}),h.jsx("meta",{name:"twitter:description",content:n}),h.jsx("meta",{name:"twitter:image",content:`${Sr}/airo-assets/images/pages/medicinal/lsd-drops`}),h.jsx("script",{type:"application/ld+json",children:JSON.stringify(s).replace(/</g,"\\u003c")})]}),h.jsxs("section",{className:"relative text-background py-28 px-4 text-center overflow-hidden min-h-[420px] flex items-center",children:[h.jsx("img",{src:"/airo-assets/images/pages/medicinal/lsd-drops",alt:"Medicinal cannabis products at The Giving Tree of Denver",className:"absolute inset-0 w-full h-full object-cover object-center",loading:"eager",fetchPriority:"high",width:1400,height:600}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-gray-900/70 via-gray-900/60 to-gray-900/75 pointer-events-none"}),h.jsx("div",{className:"relative z-10 container mx-auto max-w-3xl",children:h.jsxs(pe.div,{...As(),children:[h.jsx("span",{style:{fontFamily:"var(--font-heading)"},className:"inline-block bg-primary text-primary-foreground text-xs font-bold tracking-widest px-4 py-1.5 rounded-full mb-5",children:"MEDICAL PATIENTS · MED CARD REQUIRED"}),h.jsx("h1",{style:{fontFamily:"var(--font-heading)"},className:"text-4xl md:text-5xl font-black text-white tracking-widest drop-shadow-xl mb-4",children:"MEDICINAL ITEMS"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-white/80 text-base max-w-xl mx-auto",children:"Over 200 products to choose from, flower, edibles, cartridges, concentrates & more"})]})})]}),h.jsx("section",{className:"bg-primary text-primary-foreground py-5",children:h.jsx("div",{className:"container mx-auto px-4 text-center",children:h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-sm font-bold tracking-widest",children:"NOW ACCEPTING EPC PATIENTS — THE LOWEST EPC PRICE IN DENVER!"})})}),h.jsxs("div",{className:"container mx-auto px-4 py-16 flex flex-col gap-20",children:[h.jsxs(pe.section,{...As(),children:[h.jsx(eo,{label:"FLOWER",sub:"Prices are before taxes on these select medicinal flower 1/8ths."}),h.jsxs("div",{className:"bg-foreground text-background rounded-2xl p-6 mb-6",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary text-xs font-bold tracking-widest mb-1",children:"ALL MED STRAINS"}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-background font-black text-lg tracking-wide mb-4",children:"OVER 20+ STRAINS TO CHOOSE FROM"}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2",children:i3.map(o=>h.jsxs("div",{className:"border border-background/10 rounded-lg p-3",children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-background text-sm font-bold",children:o.name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-background/50 text-xs mt-0.5",children:o.lineage})]},o.id))}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/40 text-xs mt-4",children:"All strains & deals are while supplies last."})]}),h.jsx(to,{})]}),h.jsxs(pe.section,{...As(.05),children:[h.jsx(eo,{label:"INFUSED JOINTS",sub:"Come try all of our different infused joint varieties!"}),h.jsxs("div",{className:"bg-muted/40 border border-border rounded-2xl p-6 max-w-lg",children:[h.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[h.jsx(cu,{size:15,className:"text-primary shrink-0"}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-foreground text-sm font-black tracking-wide",children:"TS LABS — INFUSED JOINTS"})]}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed",children:"Assorted strains and infusion varieties"})]}),h.jsx(to,{})]}),h.jsxs(pe.section,{...As(.05),children:[h.jsx(eo,{label:"EDIBLES",sub:"Come try all of our different edible varieties!"}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",children:a3.map(o=>h.jsxs("div",{className:"bg-muted/40 border border-border rounded-2xl p-5 flex flex-col gap-3",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(Zm,{size:15,className:"text-primary shrink-0"}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-sm font-black tracking-widest",children:o.brand})]}),o.brand_desc?h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed -mt-1 italic",children:o.brand_desc}):null,h.jsxs("div",{children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-xs font-bold",children:o.item1_name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed mt-0.5",children:o.item1_desc})]}),o.item2_name?h.jsxs("div",{children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-xs font-bold",children:o.item2_name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed mt-0.5",children:o.item2_desc})]}):null,o.item3_name?h.jsxs("div",{children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-xs font-bold",children:o.item3_name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed mt-0.5",children:o.item3_desc})]}):null]},o.id))}),h.jsx(to,{})]}),h.jsxs(pe.section,{...As(.05),children:[h.jsx(eo,{label:"CARTRIDGES & CONCENTRATES",sub:"Come try all of our different cartridge and concentrate varieties!"}),h.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
3875",children:[t3.map(o=>h.jsxs("div",{className:"bg-muted/40 border border-border rounded-2xl p-5 flex flex-col gap-3",children:[h.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[h.jsx(wu,{size:15,className:"text-primary shrink-0"}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-sm font-black tracking-widest",children:o.brand})]}),h.jsx("span",{className:"inline-block self-start text-[10px] font-bold tracking-widest px-2 py-0.5 rounded-full bg-primary/10 text-primary",style:{fontFamily:"var(--font-heading)"},children:"CARTRIDGES"}),h.jsxs("div",{children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-xs font-bold",children:o.item1_name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed mt-0.5",children:o.item1_desc})]}),o.item2_name?h.jsxs("div",{children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-xs font-bold",children:o.item2_name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed mt-0.5",children:o.item2_desc})]}):null]},o.id)),n3.map(o=>h.jsxs("div",{className:"bg-muted/40 border border-border rounded-2xl p-5 flex flex-col gap-3",children:[h.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[h.jsx(oj,{size:15,className:"text-primary shrink-0"}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-sm font-black tracking-widest",children:o.brand})]}),h.jsx("span",{className:"inline-block self-start text-[10px] font-bold tracking-widest px-2 py-0.5 rounded-full bg-accent/10 text-accent",style:{fontFamily:"var(--font-heading)"},children:"CONCENTRATES"}),h.jsxs("div",{children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-xs font-bold",children:o.item1_name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed mt-0.5",children:o.item1_desc})]}),o.item2_name?h.jsxs("div",{children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-xs font-bold",children:o.item2_name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed mt-0.5",children:o.item2_desc})]}):null,o.item3_name?h.jsxs("div",{children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-foreground text-xs font-bold",children:o.item3_name}),h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed mt-0.5",children:o.item3_desc})]}):null]},o.id))]}),h.jsx(to,{})]}),h.jsxs(pe.section,{...As(.05),children:[h.jsx(eo,{label:"LSD DROPS",sub:"Fast-acting sublingual drops for precise dosing."}),h.jsxs("div",{className:"bg-muted/40 border border-border rounded-2xl p-6 max-w-sm",children:[h.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[h.jsx(P1,{size:15,className:"text-primary shrink-0"}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-foreground text-sm font-black tracking-widest",children:"RETRO"})]}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-foreground text-xs font-bold",children:"LSD Drops"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed mt-0.5",children:"Sublingual drops — fast-acting, precise dosing"})]}),h.jsx(to,{})]})]}),h.jsx("div",{className:"bg-muted/30 border-t border-border py-8",children:h.jsx("div",{className:"container mx-auto px-4 text-center",children:h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-xs leading-relaxed max-w-2xl mx-auto",children:"While supplies last. Deals are subject to change. Valid Colorado Medical Marijuana Registry card required for all medicinal purchases. Must be 18+ with a valid red card, or 21+ for recreational. Restrictions may apply."})})})]})}const wr="https://www.tgtree.com",Ph="https://dutchie.com/dispensary/the-giving-tree-denver";function no(t=0){return{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55,delay:t,ease:"easeOut"}}}const y3=[{icon:wu},{icon:lj},{icon:$x},{icon:$x},{icon:P1},{icon:gj},{icon:mj},{icon:wu}];function v3(){const t="Cannabis Menu | The Giving Tree of Denver — Order Online, Pickup in Denver",n="Browse The Giving Tree of Denver's full cannabis menu — 30+ flower strains, gummies, chocolates, LSD drops, vapes, concentrates, pre-rolls, and pet care. Order online for fast pickup at 2707 W 38th Ave, Denver CO 80211.",i=`${wr}/menu`,s={"@context":"https://schema.org","@graph":[{"@type":["LocalBusiness","Store"],"@id":`${wr}/#organization`,name:"The Giving Tree of Denver",url:`${wr}/`,telephone:"+1-303-477-8888",address:{"@type":"PostalAddress",streetAddress:"2707 W 38th Ave",addressLocality:"Denver",addressRegion:"CO",postalCode:"80211",addressCountry:"US"}},{"@type":"WebPage","@id":`${i}#webpage`,name:t,url:i,description:n,isPartOf:{"@id":`${wr}/#website`},about:{"@id":`${wr}/#organization`},dateModified:"2026-09-16"},{"@type":"ItemList",name:"Cannabis Menu Categories — The Giving Tree of Denver",description:"Full cannabis menu at The Giving Tree of Denver, 2707 W 38th Ave, Denver CO 80211.",itemListElement:[{"@type":"ListItem",position:1,name:"Cannabis Flower — 30+ Recreational & Medicinal Strains"},{"@type":"ListItem",position:2,name:"Pre-Rolls & Infused Joints — Fuego Farms, Grasshopper Farms, TS Labs"},{"@type":"ListItem",position:3,name:"Edibles — Gummies: WYLD, Wana, Incredibles, Dialed In, Ript, Candaze"},{"@type":"ListItem",position:4,name:"Edibles — Chocolates & More: Retro, Nove, Incredibles, Coda, Love's Oven"},{"@type":"ListItem",position:5,name:"LSD Drops by Retro"},{"@type":"ListItem",position:6,name:"Vapes & Cartridges — Olio, Green Dot, Bud Fox, Dabble Extracts, Rove, Pax"},{"@type":"ListItem",position:7,name:"Concentrates — Ten Six, White Mousse, Sunshine, Greenery Hash Factory"},{"@type":"ListItem",position:8,name:"Pet Care — Care Division CBD"}]}]};return h.jsxs(h.Fragment,{children:[h.jsxs(ba,{children:[h.jsx("title",{children:t}),h.jsx("meta",{name:"description",content:n}),h.jsx("link",{rel:"canonical",href:i}),h.jsx("meta",{property:"og:title",content:t}),h.jsx("meta",{property:"og:description",content:n}),h.jsx("meta",{property:"og:url",content:i}),h.jsx("meta",{property:"og:type",content:"website"}),h.jsx("meta",{property:"og:image",content:`${wr}/airo-assets/images/pages/home/hero`}),h.jsx("meta",{property:"og:site_name",content:"The Giving Tree of Denver"}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),h.jsx("meta",{name:"twitter:title",content:t}),h.jsx("meta",{name:"twitter:description",content:n}),h.jsx("meta",{name:"twitter:image",content:`${wr}/airo-assets/images/pages/home/hero`}),h.jsx("script",{type:"application/ld+json",children:JSON.stringify(s).replace(/</g,"\\u003c")})]}),h.jsxs("section",{className:"bg-foreground text-background py-20 px-4 text-center relative overflow-hidden",children:[h.jsx("div",{className:"absolute inset-0 opacity-5 bg-[radial-gradient(circle_at_30%_50%,hsl(var(--primary)),transparent_60%),radial-gradient(circle_at_70%_50%,hsl(var(--primary)),transparent_60%)]"}),h.jsx("div",{className:"relative z-10 container mx-auto max-w-3xl",children:h.jsxs(pe.div,{...no(),children:[h.jsx("span",{style:{fontFamily:"var(--font-heading)"},className:"inline-block bg-primary text-primary-foreground text-xs font-bold tracking-widest px-4 py-1.5 rounded-full mb-5",children:"ORDER ONLINE · IN-STORE PICKUP"}),h.jsx("h1",{style:{fontFamily:"var(--font-heading)"},className:"text-4xl md:text-5xl font-black text-background tracking-widest drop-shadow-xl mb-4",children:"OUR MENU"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/70 text-base max-w-xl mx-auto mb-8",children:"Denver's largest edible selection plus flower, concentrates, vapes, and more. Order online for fast in-store pickup."}),h.jsxs(pe.a,{...no(.1),href:Ph,target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.04},style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-2 bg-primary text-primary-foreground px-10 py-4 rounded-md font-black tracking-widest text-sm hover:bg-primary/90 transition-colors shadow-lg",children:["ORDER ONLINE ",h.jsx(I1,{size:15})]})]})})]}),h.jsx("section",{className:"bg-primary py-4 px-4",children:h.jsx("div",{className:"container mx-auto",children:h.jsx("div",{className:"flex flex-wrap justify-center gap-x-8 gap-y-2",children:z0.deals.map(o=>h.jsxs("div",{className:"flex items-center gap-2 text-primary-foreground",children:[h.jsx("span",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",fontWeight:700,fontSize:"clamp(10px, 1.4vw, 13px)",letterSpacing:"0.1em"},children:o.label}
387),h.jsxs("span",{className:"text-primary-foreground/60 text-xs hidden sm:inline",style:{fontFamily:"var(--font-sans)"},children:["· ",o.detail]})]},o.label))})})}),h.jsx("section",{className:"bg-background py-16 px-4",children:h.jsxs("div",{className:"container mx-auto max-w-6xl",children:[h.jsxs(pe.div,{...no(),className:"text-center mb-12",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)",letterSpacing:"0.2em"},className:"text-primary text-xs font-bold mb-2",children:"BROWSE BY CATEGORY"}),h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black text-foreground tracking-widest",children:"WHAT WE CARRY"})]}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-5",children:z0.categories.map((o,c)=>{const d=y3[c].icon;return h.jsxs(pe.a,{href:Ph,target:"_blank",rel:"noopener noreferrer",...no(c*.05),whileHover:{y:-4,scale:1.02},className:"group block rounded-2xl border border-border bg-card p-6 hover:border-primary transition-all shadow-sm hover:shadow-md",children:[h.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[h.jsx("div",{className:"w-9 h-9 rounded-lg bg-primary/10 flex items-center justify-center shrink-0 group-hover:bg-primary/20 transition-colors",children:h.jsx(d,{size:18,className:"text-primary"})}),h.jsx("h3",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",letterSpacing:"0.05em"},className:"text-foreground font-black text-base",children:o.label})]}),h.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-4",style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},children:o.description}),h.jsx("div",{className:"flex flex-wrap gap-1.5",children:o.tags.map(m=>h.jsx("span",{className:"text-xs px-2 py-0.5 rounded-full bg-primary/10 text-primary font-semibold",style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},children:m},m))})]},o.label)})})]})}),h.jsx("section",{className:"bg-primary text-primary-foreground py-14 px-4",children:h.jsx("div",{className:"container mx-auto px-4 text-center",children:h.jsxs(pe.div,{...no(),children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-4xl md:text-6xl font-black tracking-widest mb-3",children:"ORDER ONLINE"}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-lg md:text-xl font-bold tracking-widest text-primary-foreground/80 mb-6",children:"SKIP THE WAIT · IN-STORE PICKUP IN MINUTES"}),h.jsxs("div",{className:"flex flex-wrap justify-center gap-6 text-sm font-bold tracking-widest text-primary-foreground/70 mb-8",children:[h.jsx("span",{style:{fontFamily:"var(--font-heading)"},children:"2707 W 38TH AVE"}),h.jsx("span",{className:"text-primary-foreground/30",children:"·"}),h.jsx("span",{style:{fontFamily:"var(--font-heading)"},children:"DENVER, CO 80211"}),h.jsx("span",{className:"text-primary-foreground/30",children:"·"}),h.jsx("span",{style:{fontFamily:"var(--font-heading)"},children:"OPEN DAILY 8AM–9:50PM"})]}),h.jsxs("a",{href:Ph,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-2 bg-primary-foreground text-primary px-10 py-4 rounded-md font-black tracking-widest text-sm hover:bg-primary-foreground/90 transition-colors shadow-lg",children:["VIEW FULL MENU & ORDER ",h.jsx(An,{size:16})]})]})})})]})}const Tr="https://www.tgtree.com",x3=["https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3067.5","!2d-105.0355!3d39.7695!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1","!3m3!1m2!1s0x876c7e5b5b5b5b5b%3A0x0!2s2707+W+38th+Ave%2C+Denver%2C+CO+80211","!5e0!3m2!1sen!2sus!4v1234567890"].join("");function Bi(t=0){return{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55,delay:t,ease:"easeOut"}}}const b3=[{icon:xo},{icon:Z1},{icon:uj},{icon:Pu}];function S3(){const t="Visit Us | The Giving Tree of Denver — 2707 W 38th Ave, Denver CO 80211",n="Find The Giving Tree of Denver at 2707 W 38th Ave in the Highlands/Sunnyside neighborhood. Open every day 8AM–9:50PM. Call (303) 477-8888. Recreational & medical cannabis dispensary serving Denver since 2009.",i=`${Tr}/contact`,s={"@context":"https://schema.org","@graph":[{"@type":["LocalBusiness","Store"],"@id":`${Tr}/#organization`,name:"The Giving Tree of Denver",url:`${Tr}/`,telephone:"+1-303-477-8888",email:"[email protected]",priceRange:"$$",address:{"@type":"PostalAddress",streetAddress:"2707 W 38th Ave",addressLocality:"Denver",addressRegion:"CO",postalCode:"80211",addressCountry:"US"},geo:{"@type":"GeoCoordinates",latitude:39.7695,longitude:-105.0355},hasMap:"https://maps.google.com/?q=2707+W+38th+Ave+Denver+CO+80211",openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Frid
387ay","Saturday","Sunday"],opens:"08:00",closes:"21:50"}],sameAs:["https://www.facebook.com/givingtreedenver","https://www.instagram.com/thegivingtreeden"]},{"@type":"ContactPage","@id":`${i}#webpage`,name:t,url:i,description:n,isPartOf:{"@id":`${Tr}/#website`},about:{"@id":`${Tr}/#organization`}}]};return h.jsxs(h.Fragment,{children:[h.jsxs(ba,{children:[h.jsx("title",{children:t}),h.jsx("meta",{name:"description",content:n}),h.jsx("link",{rel:"canonical",href:i}),h.jsx("meta",{property:"og:title",content:t}),h.jsx("meta",{property:"og:description",content:n}),h.jsx("meta",{property:"og:url",content:i}),h.jsx("meta",{property:"og:type",content:"website"}),h.jsx("meta",{property:"og:image",content:`${Tr}/airo-assets/images/pages/home/hero`}),h.jsx("meta",{property:"og:site_name",content:"The Giving Tree of Denver"}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),h.jsx("meta",{name:"twitter:title",content:t}),h.jsx("meta",{name:"twitter:description",content:n}),h.jsx("meta",{name:"twitter:image",content:`${Tr}/airo-assets/images/pages/home/hero`}),h.jsx("script",{type:"application/ld+json",children:JSON.stringify(s).replace(/</g,"\\u003c")})]}),h.jsxs("section",{className:"bg-foreground text-background py-20 px-4 text-center relative overflow-hidden",children:[h.jsx("div",{className:"absolute inset-0 opacity-5 bg-[radial-gradient(circle_at_30%_50%,hsl(var(--primary)),transparent_60%),radial-gradient(circle_at_70%_50%,hsl(var(--primary)),transparent_60%)]"}),h.jsx("div",{className:"relative z-10 container mx-auto max-w-3xl",children:h.jsxs(pe.div,{...Bi(),children:[h.jsx("span",{style:{fontFamily:"var(--font-heading)"},className:"inline-block bg-primary text-primary-foreground text-xs font-bold tracking-widest px-4 py-1.5 rounded-full mb-5",children:"HIGHLANDS / SUNNYSIDE · DENVER, CO"}),h.jsx("h1",{style:{fontFamily:"var(--font-heading)"},className:"text-4xl md:text-5xl font-black text-background tracking-widest drop-shadow-xl mb-4",children:"VISIT US"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/70 text-base max-w-xl mx-auto",children:"Family-owned neighborhood dispensary in the Highlands / Sunnyside neighborhood. Open every day, no appointment needed."})]})})]}),h.jsx("section",{className:"bg-background py-16 px-4",children:h.jsxs("div",{className:"container mx-auto max-w-5xl",children:[h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
3875 mb-14",children:L0.infoCards.map((o,c)=>{const d=b3[c].icon;return h.jsxs(pe.div,{...Bi(c*.08),className:"rounded-2xl border border-border bg-card p-6 flex flex-col gap-3",children:[h.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:h.jsx(d,{size:20,className:"text-primary"})}),h.jsxs("div",{children:[h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",letterSpacing:"0.1em"},className:"text-xs font-bold text-muted-foreground mb-1 uppercase",children:o.label}),o.lines.map(m=>h.jsx("p",{className:"text-foreground font-semibold text-sm",style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},children:m},m))]}),o.action&&h.jsxs("a",{href:o.action.href,target:o.action.href.startsWith("http")?"_blank":void 0,rel:o.action.href.startsWith("http")?"noopener noreferrer":void 0,style:{fontFamily:"var(--font-heading)",letterSpacing:"0.1em"},className:"mt-auto inline-flex items-center gap-1.5 text-xs font-bold text-primary hover:underline",children:[o.action.text," ",h.jsx(I1,{size:11})]})]},o.label)})}),h.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[h.jsxs(pe.div,{...Bi(),className:"rounded-2xl border border-border bg-card p-8",children:[h.jsx("h2",{style:{fontFamily:"var(--font-heading)",letterSpacing:"0.1em"},className:"text-xl font-black text-foreground mb-6 tracking-widest",children:"STORE HOURS"}),h.jsx("div",{className:"flex flex-col gap-3",children:L0.hours.map(o=>h.jsxs("div",{className:"flex justify-between items-center py-3 border-b border-border last:border-0",children:[h.jsx("span",{className:"text-foreground font-semibold text-sm",style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},children:o.day}),h.jsx("span",{className:"text-primary font-black text-sm",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",letterSpacing:"0.05em"},children:o.time})]},o.day))}),h.jsxs("div",{className:"mt-6 rounded-2xl bg-primary/10 border border-primary/20 p-4",children:[h.jsx("p",{className:"text-primary font-black text-xs tracking-widest mb-1",style:{fontFamily:"var(--font-heading)"},children:"EARLY BIRD SPECIAL"}),h.jsxs("p",{className:"text-foreground text-sm",style:{fontFamily:"var(--font-sans)"},children:["Shop between ",h.jsx("strong",{children:"8AM – 10AM"})," and get ",h.jsx("strong",{children:"10% off"})," any products. Every day, no code needed."]})]}),h.jsx("div",{className:"mt-4 rounded-2xl bg-muted p-4",children:h.jsxs("p",{className:"text-muted-foreground text-xs",style:{fontFamily:"var(--font-sans)"},children:["Must be ",h.jsx("strong",{children:"21+"})," with valid government-issued ID. Medical patients welcome with valid red card."]})})]}),h.jsx(pe.div,{...Bi(.1),className:"rounded-2xl border border-border overflow-hidden shadow-sm min-h-[320px]",children:h.jsx("iframe",{title:"The Giving Tree of Denver location",src:x3,width:"100%",height:"100%",style:{border:0,minHeight:"320px",display:"block"},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})})]})]})}),h.jsx("section",{className:"bg-muted py-12 px-4 border-t border-border",children:h.jsxs("div",{className:"container mx-auto max-w-4xl text-center",children:[h.jsx(pe.h2,{...Bi(),style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black text-foreground tracking-widest mb-3",children:"EASY TO FIND"}),h.jsx(pe.p,{...Bi(.1),className:"text-muted-foreground text-sm md:text-base max-w-2xl mx-auto mb-6",style:{fontFamily:"var(--font-sans)"},children:"Located at the corner of W 38th Ave & Osceola St in the Highlands / Sunnyside neighborhood. Just 20 minutes from Denver International Airport. Street parking available."}),h.jsx(pe.div,{...Bi(.2),className:"flex flex-wrap justify-center gap-3",children:["Highlands","Sunnyside","LoHi","Berkeley","Sloan Lake"].map(o=>h.jsx("span",{className:"px-4 py-1.5 rounded-full bg-background border border-border text-sm text-foreground font-semibold",style:{fontFamily:"var(--font-sans)"},children:o},o))})]})}),h.jsx("section",{className:"bg-primary py-14 px-4",children:h.jsx("div",{className:"container mx-auto max-w-2xl text-center",children:h.jsxs(pe.div,{...Bi(),children:[h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black text-primary-foreground tracking-widest mb-2",children:"FOLLOW US"}
387),h.jsx("p",{className:"text-primary-foreground/70 text-sm mb-8",style:{fontFamily:"var(--font-sans)"},children:"Stay up to date on deals, new products, and events."}),h.jsxs("div",{className:"flex justify-center gap-4",children:[h.jsxs("a",{href:"https://www.facebook.com/thegivingtreeofdenver",target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--font-heading)",letterSpacing:"0.1em"},className:"inline-flex items-center gap-2 bg-primary-foreground text-primary px-6 py-3 rounded-md font-black text-sm hover:bg-primary-foreground/90 transition-colors",children:[h.jsx(Y1,{size:16})," FACEBOOK"]}),h.jsxs("a",{href:"https://www.instagram.com/thegivingtreeofdenver",target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--font-heading)",letterSpacing:"0.1em"},className:"inline-flex items-center gap-2 bg-primary-foreground text-primary px-6 py-3 rounded-md font-black text-sm hover:bg-primary-foreground/90 transition-colors",children:[h.jsx(K1,{size:16})," INSTAGRAM"]})]})]})})})]})}const Er="https://www.tgtree.com",w3="https://dutchie.com/dispensary/the-giving-tree-denver";function Ui(t=0){return{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55,delay:t,ease:"easeOut"}}}const T3=[{icon:cj},{icon:wu},{icon:xj},{icon:G1}];function E3(){const t="About Us | The Giving Tree of Denver — Family-Owned Since 2009",n="The Giving Tree of Denver is a family-owned cannabis dispensary in Denver's Highlands/Sunnyside neighborhood. Award-winning, community-focused, and independently operated since 2009. Serving recreational and medical patients at 2707 W 38th Ave.",i=`${Er}/about`,s={"@context":"https://schema.org","@graph":[{"@type":["LocalBusiness","Store"],"@id":`${Er}/#organization`,name:"The Giving Tree of Denver",foundingDate:"2009",url:`${Er}/`,telephone:"+1-303-477-8888",address:{"@type":"PostalAddress",streetAddress:"2707 W 38th Ave",addressLocality:"Denver",addressRegion:"CO",postalCode:"80211",addressCountry:"US"},areaServed:[{"@type":"City",name:"Denver"},{"@type":"Neighborhood",name:"Highlands"},{"@type":"Neighborhood",name:"Sunnyside"},{"@type":"Neighborhood",name:"LoHi"}]},{"@type":"AboutPage","@id":`${i}#webpage`,name:t,url:i,description:n,isPartOf:{"@id":`${Er}/#website`},about:{"@id":`${Er}/#organization`},datePublished:"2009-01-01",dateModified:"2026-09-16"}]};return h.jsxs(h.Fragment,{children:[h.jsxs(ba,{children:[h.jsx("title",{children:t}),h.jsx("meta",{name:"description",content:n}),h.jsx("link",{rel:"canonical",href:i}),h.jsx("meta",{property:"og:title",content:t}),h.jsx("meta",{property:"og:description",content:n}),h.jsx("meta",{property:"og:url",content:i}),h.jsx("meta",{property:"og:type",content:"website"}),h.jsx("meta",{property:"og:image",content:`${Er}/airo-assets/images/pages/about/hero`}),h.jsx("meta",{property:"og:site_name",content:"The Giving Tree of Denver"}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),h.jsx("meta",{name:"twitter:title",content:t}),h.jsx("meta",{name:"twitter:description",content:n}),h.jsx("meta",{name:"twitter:image",content:`${Er}/airo-assets/images/pages/about/hero`}),h.jsx("script",{type:"application/ld+json",children:JSON.stringify(s).replace(/</g,"\\u003c")})]}),h.jsxs("section",{className:"relative text-background py-28 px-4 text-center overflow-hidden min-h-[420px] flex items-center",children:[h.jsx("img",{src:"/airo-assets/images/pages/about/hero",alt:"The Giving Tree of Denver dispensary",className:"absolute inset-0 w-full h-full object-cover object-[center_60%]",loading:"eager",fetchPriority:"high",width:1400,height:600}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-gray-900/70 via-gray-900/60 to-gray-900/75 pointer-events-none"}),h.jsx("div",{className:"relative z-10 container mx-auto max-w-3xl",children:h.jsxs(pe.div,{...Ui(),children:[h.jsx("span",{style:{fontFamily:"var(--font-heading)"},className:"inline-block bg-primary text-primary-foreground text-xs font-bold tracking-widest px-4 py-1.5 rounded-full mb-5",children:"FAMILY OWNED & OPERATED SINCE 2009"}),h.jsx("h1",{style:{fontFamily:"var(--font-heading)"},className:"text-4xl md:text-5xl font-black text-white tracking-widest drop-shadow-xl mb-4",children:"OUR STORY"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-white/80 text-base max-w-2xl mx-auto leading-relaxed",children:"Family-owned and independently operated since 2009. We started as a neighborhood dis
387pensary in Denver's Highlands and have grown into one of the city's most recognized and trusted cannabis retailers, without ever losing sight of what matters most: our community."})]})})]}),h.jsx("section",{className:"bg-primary py-10 px-4",children:h.jsx("div",{className:"container mx-auto max-w-4xl",children:h.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 text-center",children:Fh.stats.map((o,c)=>h.jsxs(pe.div,{...Ui(c*.08),children:[h.jsx("div",{style:{fontFamily:"var(--font-heading)",color:"hsl(var(--primary-foreground))"},className:"text-4xl md:text-5xl font-black tracking-tight mb-1",children:o.value}),h.jsx("div",{className:"text-primary-foreground/70 text-xs tracking-widest uppercase",style:{fontFamily:"var(--font-heading)",letterSpacing:"0.15em"},children:o.label})]},o.label))})})}),h.jsx("section",{className:"bg-background py-20 px-4",children:h.jsx("div",{className:"container mx-auto max-w-5xl",children:h.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-14 items-center",children:[h.jsxs(pe.div,{...Ui(),children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)",letterSpacing:"0.2em"},className:"text-primary text-xs font-bold mb-3",children:"WHO WE ARE"}),h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black text-foreground tracking-widest mb-5",children:"MORE THAN A DISPENSARY"}),h.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-4",style:{fontFamily:"var(--font-sans)"},children:"The Giving Tree of Denver was founded on a simple belief: everyone deserves access to quality cannabis and honest, knowledgeable guidance. We opened our doors in 2009, before recreational cannabis was even legal in Colorado, and we've been serving our community ever since."}),h.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-4",style:{fontFamily:"var(--font-sans)"},children:"We're not a chain. We're not backed by a hedge fund. We're a brother and sister that live and work in the same neighborhood we serve. That means every decision we make, from the products we carry to the prices we charge, is made with our customers in mind."}),h.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",style:{fontFamily:"var(--font-sans)"},children:"We serve both recreational and medical patients, and we're proud to offer ongoing discounts for EPC cardholders, veterans, first-time customers, and early birds who shop before 10AM."})]}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:Fh.values.map((o,c)=>{const d=T3[c].icon;return h.jsxs(pe.div,{...Ui(c*.08),className:"rounded-2xl border border-border bg-card p-5",children:[h.jsx("div",{className:"w-9 h-9 rounded-lg bg-primary/10 flex items-center justify-center mb-3",children:h.jsx(d,{size:17,className:"text-primary"})}),h.jsx("h3",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",letterSpacing:"0.05em"},className:"text-foreground font-black text-sm mb-2",children:o.title}),h.jsx("p",{className:"text-muted-foreground text-xs leading-relaxed",style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},children:o.body})]},o.title)})})]})})}),h.jsx("section",{className:"bg-muted py-20 px-4 border-t border-border",children:h.jsxs("div",{className:"container mx-auto max-w-3xl",children:[h.jsxs(pe.div,{...Ui(),className:"text-center mb-12",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)",letterSpacing:"0.2em"},className:"text-primary text-xs font-bold mb-2",children:"OUR HISTORY"}),h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black text-foreground tracking-widest",children:"15+ YEARS IN DENVER"})]}),h.jsxs("div",{className:"relative",children:[h.jsx("div",{className:"absolute left-[28px] top-0 bottom-0 w-px bg-border hidden sm:block"}),h.jsx("div",{className:"flex flex-col gap-8",children:Fh.timeline.map((o,c)=>h.jsxs(pe.div,{...Ui(c*.07),className:"flex gap-6 items-start",children:[h.jsx("div",{className:"shrink-0 w-14 h-14 rounded-full bg-primary flex items-center justify-center z-10",style:{fontFamily:"var(--font-heading)",color:"hsl(var(--primary-foreground))",fontWeight:700,fontSize:"11px",letterSpacing:"0.05em",textAlign:"center",lineHeight:1.2},children:o.year}),h.jsx("div",{className:"pt-3 flex-1",children:h.jsx("p",{className:"text-foreground text-sm leading-relaxed",style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},children:o.event})})]},o.year))})]})]})}),h.jsx("section",{className:"bg-primary text-primary-foreground py-14 px-4",children:h.jsx("div",{className:"container mx-auto max-w-4xl",children:h.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-8 text-center md:text-left",children:[h.jsxs(pe.div,{...Ui(),children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)",letterSpacing:"0.2em"}
387,className:"text-primary-foreground/70 text-xs font-bold mb-2",children:"COME SEE US"}),h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black text-primary-foreground tracking-widest mb-2",children:"HIGHLANDS / SUNNYSIDE"}),h.jsxs("div",{className:"flex items-center gap-2 text-primary-foreground/70 text-sm justify-center md:justify-start",style:{fontFamily:"var(--font-sans)"},children:[h.jsx(xo,{size:14,className:"text-primary-foreground/70 shrink-0"}),"2707 W 38th Ave, Denver, CO 80211"]}),h.jsx("p",{className:"text-primary-foreground/60 text-xs mt-1",style:{fontFamily:"var(--font-sans)"},children:"Open Every Day · 8AM – 9:50PM · 21+ with valid ID"})]}),h.jsxs(pe.div,{...Ui(.1),className:"flex flex-col sm:flex-row gap-3",children:[h.jsx("a",{href:"/contact",style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-2 bg-primary-foreground text-primary px-7 py-3 rounded-md text-sm font-black tracking-widest hover:bg-primary-foreground/90 transition-colors",children:"GET DIRECTIONS"}),h.jsxs("a",{href:w3,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-2 border-2 border-primary-foreground text-primary-foreground px-7 py-3 rounded-md text-sm font-black tracking-widest hover:bg-primary-foreground/10 transition-colors",children:["ORDER ONLINE ",h.jsx(An,{size:13})]})]})]})})})]})}const Ar="https://www.tgtree.com",H0="https://dutchie.com/dispensary/the-giving-tree-denver";function fa(t=0){return{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55,delay:t,ease:"easeOut"}}}function A3(){const t="Deals & Specials | The Giving Tree of Denver — Denver Cannabis Dispensary",n="Current deals and specials at The Giving Tree of Denver — Denver's neighborhood cannabis dispensary at 2707 W 38th Ave. Rotating offers on edibles, vapes, flower, pre-rolls, and concentrates. Order online for fast in-store pickup.",i=`${Ar}/deals`,s={"@context":"https://schema.org","@graph":[{"@type":["LocalBusiness","Store"],"@id":`${Ar}/#organization`,name:"The Giving Tree of Denver",url:`${Ar}/`,telephone:"+1-303-477-8888",address:{"@type":"PostalAddress",streetAddress:"2707 W 38th Ave",addressLocality:"Denver",addressRegion:"CO",postalCode:"80211",addressCountry:"US"}},{"@type":"WebPage","@id":`${i}#webpage`,name:t,url:i,description:n,isPartOf:{"@id":`${Ar}/#website`},about:{"@id":`${Ar}/#organization`},dateModified:"2026-09-16"}]};return h.jsxs(h.Fragment,{children:[h.jsxs(ba,{children:[h.jsx("title",{children:t}),h.jsx("meta",{name:"description",content:n}),h.jsx("link",{rel:"canonical",href:i}),h.jsx("meta",{property:"og:title",content:t}),h.jsx("meta",{property:"og:description",content:n}),h.jsx("meta",{property:"og:url",content:i}),h.jsx("meta",{property:"og:type",content:"website"}),h.jsx("meta",{property:"og:image",content:`${Ar}/airo-assets/images/pages/deals/july-deals-and-specials-at-the-giving-tr`}),h.jsx("meta",{property:"og:site_name",content:"The Giving Tree of Denver"}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),h.jsx("meta",{name:"twitter:title",content:t}),h.jsx("meta",{name:"twitter:description",content:n}),h.jsx("meta",{name:"twitter:image",content:`${Ar}/airo-assets/images/pages/deals/july-deals-and-specials-at-the-giving-tr`}),h.jsx("script",{type:"application/ld+json",children:JSON.stringify(s).replace(/</g,"\\u003c")})]}),h.jsxs("section",{className:"relative h-72 md:h-96 flex items-center justify-center overflow-hidden",children:[h.jsx("img",{src:"/airo-assets/images/pages/deals/july-deals-and-specials-at-the-giving-tr",alt:"September Deals and Specials at The Giving Tree of Denver",className:"absolute inset-0 w-full h-full object-cover",width:1440,height:500,loading:"eager",fetchPriority:"high"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-gray-900/70 via-gray-900/60 to-gray-900/85"}),h.jsx("div",{className:"relative z-10 text-center px-4",children:h.jsxs(pe.div,{...fa(),children:[h.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[h.jsx(cu,{size:18,className:"text-primary"}),h.jsx("span",{style:{fontFamily:"var(--font-heading)"},className:"inline-block bg-primary text-primary-foreground text-xs font-bold tracking-widest px-4 py-1.5 rounded-full",children:"VALID THROUGH SEPTEMBER 30, 2026"}),h.jsx(cu,{size:18,className:"text-primary"})]}),h.jsx("h1",{style:{fontFamily:"var(--font-heading)"},className:"text-4xl md:text-5xl font-black text-white tracking-widest drop-shadow-xl mb-3",children:"SEPTEMBER SPECIALS"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-white/80 text-base max-w-xl mx-auto",children:"Fresh deals all month long, while supplies last"})]})})]}),h.jsx("section",{className:"container mx-auto px-4 py-16 max-w-3xl text-center",children:h.jsxs(pe.div,{...fa(),children:[h.jsx(Zm,{size:40,className:"text-primary mx-auto mb-5"}),h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black tracking-widest text-foreground mb-4",children:"THIS MONTH'S BEST DEALS"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-muted-foreground text-base leading-relaxed",children:"18 deals running all of September across edibles, flower, vapes, pre-rolls, topicals, and concentrates — plus recurring weekly specials every Monday, Thursday, and Friday. Order online for fast in-store pickup, skip the wait and save big."})]})}),h.jsx("section",{className:"bg-foreground text-background py-16",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs(pe.div,{...fa(),className:"text-center mb-12",children:[h.jsxs("div",{className:"flex items-center justify-center gap-3 mb-3",children:[h.jsx(cu,{size:22,className:"text-primary"}),h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black tracking-widest text-background",children:"SEPTEMBER DEALS"})]}),h.jsx("div",{className:"w-12 h-1 bg-primary rounded-full mx-auto mt-2 mb-4"}),h.jsx("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/60 text-sm max-w-lg mx-auto",children:"All deals while supplies last. Cannot be combined with other offers. Taxes not included."})]}),h.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-
3875 max-w-6xl mx-auto",children:[h.jsx(Ps,{field:"deals",children:B0.map((o,c)=>h.jsxs(pe.a,{href:H0,target:"_blank",rel:"noopener noreferrer",...fa(c*.07),whileHover:{y:-6,scale:1.03},className:"block rounded-2xl overflow-hidden transition-all shadow-xl bg-background/5 border border-background/10 hover:border-primary/40 hover:bg-primary/10",children:[h.jsx("div",{className:"bg-primary px-4 py-1.5",children:h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-primary-foreground text-xs font-bold tracking-widest",children:o.tag})}),h.jsx("div",{className:"px-5 py-4 border-b border-background/10",children:h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-background font-black tracking-wide leading-tight text-base md:text-lg",children:o.brand})}),h.jsxs("div",{className:"px-5 py-6 text-center",children:[o.offer?h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},className:"text-background/60 text-xs font-bold tracking-widest mb-2",children:o.offer}):null,h.jsx("p",{style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",fontSize:"clamp(32px, 4.5vw, 50px)"},className:"text-primary font-black tracking-wide leading-none",children:o.highlight})]}),h.jsxs("div",{className:"bg-primary/10 border-t border-primary/20 px-5 py-3 flex items-center justify-center gap-2",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary text-xs font-bold tracking-widest",children:"ORDER NOW"}),h.jsx(An,{size:12,className:"text-primary"})]})]},o.id))}),h.jsx(pe.div,{...fa(B0.length*.07),className:"rounded-2xl overflow-hidden shadow-xl flex items-center justify-center bg-primary/10 border border-primary/20 p-8 text-center",children:h.jsxs("div",{children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-sm text-background/40 tracking-widest mb-3",children:"FAMILY OWNED · COMMUNITY FOCUSED"}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-background font-black tracking-wide leading-snug text-xl md:text-2xl",children:"THANK YOU FOR SUPPORTING LOCAL"})]})})]})]})}),h.jsx("section",{className:"bg-background py-16 px-4 border-t border-border",children:h.jsxs("div",{className:"container mx-auto max-w-4xl",children:[h.jsxs(pe.div,{...fa(),className:"text-center mb-10",children:[h.jsx(ij,{size:36,className:"text-primary mx-auto mb-4"}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-xs font-bold tracking-widest text-primary mb-2",children:"EVERY WEEK"}),h.jsx("h2",{style:{fontFamily:"var(--font-heading)"},className:"text-2xl md:text-3xl font-black tracking-widest text-foreground mb-3",children:"DAILY DEALS"}),h.jsx("div",{className:"w-12 h-1 bg-primary rounded-full mx-auto"})]}),h.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[h.jsxs(pe.div,{...fa(.05),className:"rounded-2xl overflow-hidden shadow-lg border border-border",children:[h.jsx("div",{className:"bg-primary px-5 py-3 text-center",children:h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary-foreground text-xs font-bold tracking-widest",children:"EVERY MONDAY"})}),h.jsxs("div",{className:"bg-foreground px-5 py-6 text-center",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary font-black tracking-widest text-2xl mb-2",children:"MUNCHIE MONDAYS"}),h.jsxs("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/70 text-sm leading-relaxed",children:["Buy one featured edible,",h.jsx("br",{}),"get one ",h.jsx("span",{className:"text-primary font-bold",children:"50% off"})]})]})]}),h.jsxs(pe.div,{...fa(.1),className:"rounded-2xl overflow-hidden shadow-lg border border-border",children:[h.jsx("div",{className:"bg-primary px-5 py-3 text-center",children:h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary-foreground text-xs font-bold tracking-widest",children:"EVERY THURSDAY"})}),h.jsxs("div",{className:"bg-foreground px-5 py-6 text-center",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary font-black tracking-widest text-2xl mb-2",children:"THIRSTY THURSDAYS"}),h.jsxs("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/70 text-sm leading-relaxed",children:["Buy one featured beverage,",h.jsx("br",{}),"get one ",h.jsx("span",{className:"text-primary font-bold",children:"50% off"})]})]})]}),h.jsxs(pe.div,{...fa(.15),className:"rounded-2xl overflow-hidden shadow-lg border border-border",children:[h.jsx("div",{className:"bg-primary px-5 py-3 text-center",children:h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary-foreground text-xs font-bold tracking-widest",children:"EVERY FRIDAY"})}),h.jsxs("div",{className:"bg-foreground px-5 py-6 text-center",children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-primary font-black tracking-widest text-2xl mb-2",children:"FADED FRIDAYS"}),h.jsxs("p",{style:{fontFamily:"var(--font-sans)"},className:"text-background/70 text-sm leading-relaxed",children:["Buy one featured vape cart,",h.jsx("br",{}),"get one ",h.jsx("span",{className:"text-primary font-bold",children:"50% off"})]})]})]})]})]})}),h.jsx("section",{className:"bg-primary text-primary-foreground py-14",children:h.jsx("div",{className:"container mx-auto px-4 text-center",children:h.jsxs(pe.div,{...fa(),children:[h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-4xl md:text-6xl font-black tracking-widest mb-3",children:"ORDER ONLINE"}),h.jsx("p",{style:{fontFamily:"var(--font-heading)"},className:"text-lg md:text-xl font-bold tracking-widest text-primary-foreground
387/80 mb-6",children:"SKIP THE WAIT · IN-STORE PICKUP IN MINUTES"}),h.jsxs("div",{className:"flex flex-wrap justify-center gap-6 text-sm font-bold tracking-widest text-primary-foreground/70 mb-8",children:[h.jsx("span",{style:{fontFamily:"var(--font-heading)"},children:"2707 W 38TH AVE"}),h.jsx("span",{className:"text-primary-foreground/30",children:"·"}),h.jsx("span",{style:{fontFamily:"var(--font-heading)"},children:"DENVER, CO 80211"}),h.jsx("span",{className:"text-primary-foreground/30",children:"·"}),h.jsx("span",{style:{fontFamily:"var(--font-heading)"},children:"OPEN DAILY 8AM–9:50PM"})]}),h.jsxs("a",{href:H0,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--font-heading)"},className:"inline-flex items-center gap-2 bg-primary-foreground text-primary px-10 py-4 rounded-md font-black tracking-widest text-sm hover:bg-primary-foreground/90 transition-colors shadow-lg",children:["VIEW FULL MENU & ORDER ",h.jsx(An,{size:16})]})]})})}),h.jsx("section",{className:"bg-muted py-8 px-4 border-t border-border",children:h.jsx("div",{className:"container mx-auto max-w-4xl text-center",children:h.jsx("p",{className:"text-muted-foreground text-xs leading-relaxed",style:{fontFamily:"var(--font-sans)"},children:"DEALS WHILE SUPPLIES LAST · CANNOT BE COMBINED WITH OTHER DISCOUNTS · TAXES NOT INCLUDED · MUST BE 21+ WITH VALID ID · ONLINE ORDERS FOR IN-STORE PICKUP ONLY"})})})]})}const C3=ks;function j3(){return h.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:h.jsx("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:h.jsxs("div",{className:"space-y-8",children:[h.jsxs("div",{className:"space-y-4",children:[h.jsx("h1",{className:"text-6xl font-bold text-white/90",children:"404"}),h.jsx("h2",{className:"text-2xl font-semibold text-white/90",children:"Page Not Found"}),h.jsx("p",{className:"text-white/90",children:"Sorry, the page you're looking for doesn't exist or has been moved."})]}),h.jsxs("div",{className:"flex justify-center gap-4",children:[h.jsx(C3,{to:"/",children:h.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"})}),h.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 N3=j3,R3=[{path:"/",element:h.jsx(u3,{})},{path:"/recreational-items",element:h.jsx(h3,{})},{path:"/awards-accolades",element:h.jsx(m3,{})},{path:"/medicinal-items",element:h.jsx(g3,{})},{path:"/menu",element:h.jsx(v3,{})},{path:"/contact",element:h.jsx(S3,{})},{path:"/about",element:h.jsx(E3,{})},{path:"/deals",element:h.jsx(A3,{})},{path:"*",element:h.jsx(N3,{})}],D3=E.lazy(()=>EE(()=>import("./CookieBanner-DfZ3DJ0b.js"),__vite__mapDeps([0,1,2,3])).catch(t=>(console.warn("Failed to load CookieBanner:",t),{default:()=>null}))),M3=()=>h.jsx("div",{className:"flex justify-center py-8 h-screen items-center",children:h.jsx(RN,{})}),_3=h.jsx(E.Suspense,{fallback:h.jsx(M3,{}),children:h.jsx(NN,{children:h.jsx(uC,{})})}),O3=[{element:_3,children:R3}],k3=UC(O3);function L3(){return h.jsxs(h.Fragment,{children:[h.jsx(JC,{router:k3}),h.jsx(ej,{children:h.jsx(E.Suspense,{fallback:null,children:h.jsx(D3,{})})})]})}const z3=new $T({defaultOptions:{queries:{staleTime:1e3*60*5,gcTime:1e3*60*10,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}}),vu=document.getElementById("app");if(!vu)throw new Error("Root element not found");const B3=h.jsx(bE,{children:h.jsx(QT,{client:z3,children:h.jsx(L3,{})})}),F0=h.jsx(E.StrictMode,{children:B3});vu.firstElementChild?px.hydrateRoot(vu,F0):px.createRoot(vu).render(F0);export{CN as a,Zj 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.