vendor: 7,977 bytes, lines 1-25
1function V_(e,t){for(var a=0;a<t.length;a++){const r=t[a];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const c=Object.getOwnPropertyDescriptor(r,o);c&&Object.defineProperty(e,o,c.get?c:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(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"&&r(d)}).observe(document,{childList:!0,subtree:!0});function a(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 r(o){if(o.ep)return;o.ep=!0;const c=a(o);fetch(o.href,c)}})();function bj(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nm={exports:{}},Xo={};/** 2 * @license React 3 * react-jsx-runtime.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var m0;function P_(){if(m0)return Xo;m0=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(r,o,c){var d=null;if(c!==void 0&&(d=""+c),o.key!==void 0&&(d=""+o.key),"key"in o){c={};for(var f in o)f!=="key"&&(c[f]=o[f])}else c=o;return o=c.ref,{$$typeof:e,type:r,key:d,ref:o!==void 0?o:null,props:c}}return Xo.Fragment=t,Xo.jsx=a,Xo.jsxs=a,Xo}var p0;function z_(){return p0||(p0=1,nm.exports=P_()),nm.exports}var l=z_(),am={exports:{}},Qo={},sm={exports:{}},rm={};/** 10 * @license React 11 * scheduler.production.js 12 * 13 * Copyright (c) Meta Platforms, Inc. and affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var g0;function L_(){return g0||(g0=1,(function(e){function t(P,$){var B=P.length;P.push($);e:for(;0<B;){var le=B-1>>>1,Se=P[le];if(0<o(Se,$))P[le]=$,P[B]=Se,B=le;else break e}}function a(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var $=P[0],B=P.pop();if(B!==$){P[0]=B;e:for(var le=0,Se=P.length,M=Se>>>1;le<M;){var Z=2*(le+1)-1,ee=P[Z],se=Z+1,Ee=P[se];if(0>o(ee,B))se<Se&&0>o(Ee,ee)?(P[le]=Ee,P[se]=B,le=se):(P[le]=ee,P[Z]=B,le=Z);else if(se<Se&&0>o(Ee,B))P[le]=Ee,P[se]=B,le=se;else break e}}return $}function o(P,$){var B=P.sortIndex-$.sortIndex;return B!==0?B:P.id-$.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var d=Date,f=d.now();e.unstable_now=function(){return d.now()-f}}var m=[],p=[],y=1,v=null,w=3,S=!1,E=!1,j=!1,C=!1,A=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function D(P){for(var $=a(p);$!==null;){if($.callback===null)r(p);else if($.startTime<=P)r(p),$.sortIndex=$.expirationTime,t(m,$);else break;$=a(p)}}function V(P){if(j=!1,D(P),!E)if(a(m)!==null)E=!0,G||(G=!0,oe());else{var $=a(p);$!==null&&fe(V,$.startTime-P)}}var G=!1,z=-1,I=5,ae=-1;function ue(){return C?!0:!(e.unstable_now()-ae<I)}function ge(){if(C=!1,G){var P=e.unstable_now();ae=P;var $=!0;try{e:{E=!1,j&&(j=!1,T(z),z=-1),S=!0;var B=w;try{t:{for(D(P),v=a(m);v!==null&&!(v.expirationTime>P&&ue());){var le=v.callback;if(typeof le=="function"){v.callback=null,w=v.priorityLevel;var Se=le(v.expirationTime<=P);if(P=e.unstable_now(),typeof Se=="function"){v.callback=Se,D(P),$=!0;break t}v===a(m)&&r(m),D(P)}else r(m);v=a(m)}if(v!==null)$=!0;else{var M=a(p);M!==null&&fe(V,M.startTime-P),$=!1}}break e}finally{v=null,w=B,S=!1}$=void 0}}finally{$?oe():G=!1}}}var oe;if(typeof _=="function")oe=function(){_(ge)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,J=de.port2;de.port1.onmessage=ge,oe=function(){J.postMessage(null)}}else oe=function(){A(ge,0)};function fe(P,$){z=A(function(){P(e.unstable_now())},$)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_next=function(P){switch(w){case 1:case 2:case 3:var $=3;break;default:$=w}var B=w;w=$;try{return P()}finally{w=B}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(P,$){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var B=w;w=P;try{return $()}finally{w=B}},e.unstable_scheduleCallback=function(P,$,B){var le=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?le+B:le):B=le,P){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=B+Se,P={id:y++,callback:$,priorityLevel:P,startTime:B,expirationTime:Se,sortIndex:-1},B>le?(P.sortIndex=B,t(p,P),a(m)===null&&P===a(p)&&(j?(T(z),z=-1):j=!0,fe(V,B-le))):(P.sortIndex=Se,t(m,P),E||S||(E=!0,G||(G=!0,oe()))),P},e.unstable_shouldYield=ue,e.unstable_wrapCallback=function(P){var $=w;return function(){var B=w;w=$;try{return P.apply(this,arguments)}finally{w=B}}}})(rm)),rm}var y0;function B_(){return y0||(y0=1,sm.exports=L_()),sm.exports}var im={exports:{}},Ve={};/** 18 * @license React 19 * react.production.js 20 * 21 * Copyright (c) Meta Platforms, Inc. and affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var x0;function U_(){if(x0)return Ve;x0=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),d=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),w=Symbol.iterator;function S(M){return M===null||typeof M!="object"?null:(M=w&&M[w]||M["@@iterator"],typeof M=="function"?M:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,C={};function A(M,Z,ee){this.props=M,this.context=Z,this.refs=C,this.updater=ee||E}A.prototype.isReactComponent={},A.prototype.setState=function(M,Z){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,Z,"setState")},A.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function T(){}T.prototype=A.prototype;function _(M,Z,ee){this.props=M,this.context=Z,this.refs=C,this.updater=ee||E}var D=_.prototype=new T;D.constructor=_,j(D,A.prototype),D.isPureReactComponent=!0;var V=Array.isArray;function G(){}var z={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function ae(M,Z,ee){var se=ee.ref;return{$$typeof:e,type:M,key:Z,ref:se!==void 0?se:null,props:ee}}function ue(M,Z){return ae(M.type,Z,M.props)}function ge(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function oe(M){var Z={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(ee){return Z[ee]})}var de=/\/+/g;function J(M,Z){return typeof M=="object"&&M!==null&&M.key!=null?oe(""+M.key):Z.toString(36)}
vendor: 15,029 bytes, lines 25-43
25function fe(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(G,G):(M.status="pending",M.then(function(Z){M.status==="pending"&&(M.status="fulfilled",M.value=Z)},function(Z){M.status==="pending"&&(M.status="rejected",M.reason=Z)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function P(M,Z,ee,se,Ee){var ke=typeof M;(ke==="undefined"||ke==="boolean")&&(M=null);var te=!1;if(M===null)te=!0;else switch(ke){case"bigint":case"string":case"number":te=!0;break;case"object":switch(M.$$typeof){case e:case t:te=!0;break;case y:return te=M._init,P(te(M._payload),Z,ee,se,Ee)}}if(te)return Ee=Ee(M),te=se===""?"."+J(M,0):se,V(Ee)?(ee="",te!=null&&(ee=te.replace(de,"$&/")+"/"),P(Ee,Z,ee,"",function(Fe){return Fe})):Ee!=null&&(ge(Ee)&&(Ee=ue(Ee,ee+(Ee.key==null||M&&M.key===Ee.key?"":(""+Ee.key).replace(de,"$&/")+"/")+te)),Z.push(Ee)),1;te=0;var De=se===""?".":se+":";if(V(M))for(var Oe=0;Oe<M.length;Oe++)se=M[Oe],ke=De+J(se,Oe),te+=P(se,Z,ee,ke,Ee);else if(Oe=S(M),typeof Oe=="function")for(M=Oe.call(M),Oe=0;!(se=M.next()).done;)se=se.value,ke=De+J(se,Oe++),te+=P(se,Z,ee,ke,Ee);else if(ke==="object"){if(typeof M.then=="function")return P(fe(M),Z,ee,se,Ee);throw Z=String(M),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}return te}function $(M,Z,ee){if(M==null)return M;var se=[],Ee=0;return P(M,se,"","",function(ke){return Z.call(ee,ke,Ee++)}),se}function B(M){if(M._status===-1){var Z=M._result;Z=Z(),Z.then(function(ee){(M._status===0||M._status===-1)&&(M._status=1,M._result=ee)},function(ee){(M._status===0||M._status===-1)&&(M._status=2,M._result=ee)}),M._status===-1&&(M._status=0,M._result=Z)}if(M._status===1)return M._result.default;throw M._result}var le=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(Z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)},Se={map:$,forEach:function(M,Z,ee){$(M,function(){Z.apply(this,arguments)},ee)},count:function(M){var Z=0;return $(M,function(){Z++}),Z},toArray:function(M){return $(M,function(Z){return Z})||[]},only:function(M){if(!ge(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};return Ve.Activity=v,Ve.Children=Se,Ve.Component=A,Ve.Fragment=a,Ve.Profiler=o,Ve.PureComponent=_,Ve.StrictMode=r,Ve.Suspense=m,Ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=z,Ve.__COMPILER_RUNTIME={__proto__:null,c:function(M){return z.H.useMemoCache(M)}},Ve.cache=function(M){return function(){return M.apply(null,arguments)}},Ve.cacheSignal=function(){return null},Ve.cloneElement=function(M,Z,ee){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var se=j({},M.props),Ee=M.key;if(Z!=null)for(ke in Z.key!==void 0&&(Ee=""+Z.key),Z)!I.call(Z,ke)||ke==="key"||ke==="__self"||ke==="__source"||ke==="ref"&&Z.ref===void 0||(se[ke]=Z[ke]);var ke=arguments.length-2;if(ke===1)se.children=ee;else if(1<ke){for(var te=Array(ke),De=0;De<ke;De++)te[De]=arguments[De+2];se.children=te}return ae(M.type,Ee,se)},Ve.createContext=function(M){return M={$$typeof:d,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:c,_context:M},M},Ve.createElement=function(M,Z,ee){var se,Ee={},ke=null;if(Z!=null)for(se in Z.key!==void 0&&(ke=""+Z.key),Z)I.call(Z,se)&&se!=="key"&&se!=="__self"&&se!=="__source"&&(Ee[se]=Z[se]);var te=arguments.length-2;if(te===1)Ee.children=ee;else if(1<te){for(var De=Array(te),Oe=0;Oe<te;Oe++)De[Oe]=arguments[Oe+2];Ee.children=De}if(M&&M.defaultProps)for(se in te=M.defaultProps,te)Ee[se]===void 0&&(Ee[se]=te[se]);return ae(M,ke,Ee)},Ve.createRef=function(){return{current:null}},Ve.forwardRef=function(M){return{$$typeof:f,render:M}},Ve.isValidElement=ge,Ve.lazy=function(M){return{$$typeof:y,_payload:{_status:-1,_result:M},_init:B}},Ve.memo=function(M,Z){return{$$typeof:p,type:M,compare:Z===void 0?null:Z}},Ve.startTransition=function(M){var Z=z.T,ee={};z.T=ee;try{var se=M(),Ee=z.S;Ee!==null&&Ee(ee,se),typeof se=="object"&&se!==null&&typeof se.then=="function"&&se.then(G,le)}catch(ke){le(ke)}finally{Z!==null&&ee.types!==null&&(Z.types=ee.types),z.T=Z}},Ve.unstable_useCacheRefresh=function(){return z.H.useCacheRefresh()},Ve.use=function(M){return z.H.use(M)},Ve.useActionState=function(M,Z,ee){return z.H.useActionState(M,Z,ee)},Ve.useCallback=function(M,Z){return z.H.useCallback(M,Z)},Ve.useContext=function(M){return z.H.useContext(M)},Ve.useDebugValue=function(){},Ve.useDeferredValue=function(M,Z){return z.H.useDeferredValue(M,Z)},Ve.useEffect=function(M,Z){return z.H.useEffect(M,Z)},Ve.useEffectEvent=function(M){return z.H.useEffectEvent(M)},Ve.useId=function(){return z.H.useId()},Ve.useImperativeHandle=function(M,Z,ee){return z.H.useImperativeHandle(M,Z,ee)},Ve.useInsertionEffect=function(M,Z){return z.H.useInsertionEffect(M,Z)},Ve.useLayoutEffect=function(M,Z){return z.H.useLayoutEffect(M,Z)},Ve.useMemo=function(M,Z){return z.H.useMemo(M,Z)},Ve.useOptimistic=function(M,Z){return z.H.useOptimistic(M,Z)},Ve.useReducer=function(M,Z,ee){return z.H.useReducer(M,Z,ee)},Ve.useRef=function(M){return z.H.useRef(M)},Ve.useState=function(M){return z.H.useState(M)},Ve.useSyncExternalStore=function(M,Z,ee){return z.H.useSyncExternalStore(M,Z,ee)},Ve.useTransition=function(){return z.H.useTransition()},Ve.version="19.2.0",Ve}var v0;function od(){return v0||(v0=1,im.exports=U_()),im.exports}var om={exports:{}},Wt={};/** 26 * @license React 27 * react-dom.production.js 28 * 29 * Copyright (c) Meta Platforms, Inc. and affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var b0;function I_(){if(b0)return Wt;b0=1;var e=od();function t(m){var p="https://react.dev/errors/"+m;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var r={d:{f:a,r:function(){throw Error(t(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},o=Symbol.for("react.portal");function c(m,p,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:v==null?null:""+v,children:m,containerInfo:p,implementation:y}}var d=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(m,p){if(m==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Wt.createPortal=function(m,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return c(m,p,null,y)},Wt.flushSync=function(m){var p=d.T,y=r.p;try{if(d.T=null,r.p=2,m)return m()}finally{d.T=p,r.p=y,r.d.f()}},Wt.preconnect=function(m,p){typeof m=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(m,p))},Wt.prefetchDNS=function(m){typeof m=="string"&&r.d.D(m)},Wt.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var y=p.as,v=f(y,p.crossOrigin),w=typeof p.integrity=="string"?p.integrity:void 0,S=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?r.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:w,fetchPriority:S}):y==="script"&&r.d.X(m,{crossOrigin:v,integrity:w,fetchPriority:S,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Wt.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=f(p.as,p.crossOrigin);r.d.M(m,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(m)},Wt.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,v=f(y,p.crossOrigin);r.d.L(m,y,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Wt.preloadModule=function(m,p){if(typeof m=="string")if(p){var y=f(p.as,p.crossOrigin);r.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(m)},Wt.requestFormReset=function(m){r.d.r(m)},Wt.unstable_batchedUpdates=function(m,p){return m(p)},Wt.useFormState=function(m,p,y){return d.H.useFormState(m,p,y)},Wt.useFormStatus=function(){return d.H.useHostTransitionStatus()},Wt.version="19.2.0",Wt}var w0;function wj(){if(w0)return om.exports;w0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),om.exports=I_(),om.exports}/** 34 * @license React 35 * react-dom-client.production.js 36 * 37 * Copyright (c) Meta Platforms, Inc. and affiliates. 38 * 39 * This source code is licensed under the MIT license found in the 40 * LICENSE file in the root directory of this source tree. 41 */var j0;function F_(){if(j0)return Qo;j0=1;var e=B_(),t=od(),a=wj();function r(n){var s="https://react.dev/errors/"+n;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)s+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+n+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function c(n){var s=n,i=n;if(n.alternate)for(;s.return;)s=s.return;else{n=s;do s=n,(s.flags&4098)!==0&&(i=s.return),n=s.return;while(n)}return s.tag===3?i:null}function d(n){if(n.tag===13){var s=n.memoizedState;if(s===null&&(n=n.alternate,n!==null&&(s=n.memoizedState)),s!==null)return s.dehydrated}return null}function f(n){if(n.tag===31){var s=n.memoizedState;if(s===null&&(n=n.alternate,n!==null&&(s=n.memoizedState)),s!==null)return s.dehydrated}return null}function m(n){if(c(n)!==n)throw Error(r(188))}function p(n){var s=n.alternate;if(!s){if(s=c(n),s===null)throw Error(r(188));return s!==n?null:n}for(var i=n,u=s;;){var h=i.return;if(h===null)break;var g=h.alternate;if(g===null){if(u=h.return,u!==null){i=u;continue}break}if(h.child===g.child){for(g=h.child;g;){if(g===i)return m(h),n;if(g===u)return m(h),s;g=g.sibling}throw Error(r(188))}if(i.return!==u.return)i=h,u=g;else{for(var b=!1,N=h.child;N;){if(N===i){b=!0,i=h,u=g;break}if(N===u){b=!0,u=h,i=g;break}N=N.sibling}if(!b){for(N=g.child;N;){if(N===i){b=!0,i=g,u=h;break}if(N===u){b=!0,u=g,i=h;break}N=N.sibling}if(!b)throw Error(r(189))}}if(i.alternate!==u)throw Error(r(190))}if(i.tag!==3)throw Error(r(188));return i.stateNode.current===i?n:s}function y(n){var s=n.tag;if(s===5||s===26||s===27||s===6)return n;for(n=n.child;n!==null;){if(s=y(n),s!==null)return s;n=n.sibling}return null}var v=Object.assign,w=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),_=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),ue=Symbol.for("react.memo_cache_sentinel"),ge=Symbol.iterator;function oe(n){return n===null||typeof n!="object"?null:(n=ge&&n[ge]||n["@@iterator"],typeof n=="function"?n:null)}var de=Symbol.for("react.client.reference");function J(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===de?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case j:return"Fragment";case A:return"Profiler";case C:return"StrictMode";case V:return"Suspense";case G:return"SuspenseList";case ae:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case E:return"Portal";case _:return n.displayName||"Context";case T:return(n._context.displayName||"Context")+".Consumer";case D:var s=n.render;return n=n.displayName,n||(n=s.displayName||s.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case z:return s=n.displayName||null,s!==null?s:J(n.type)||"Memo";case I:s=n._payload,n=n._init;try{return J(n(s))}catch{}}return null}var fe=Array.isArray,P=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},le=[],Se=-1;function M(n){return{current:n}}function Z(n){0>Se||(n.current=le[Se],le[Se]=null,Se--)}function ee(n,s){Se++,le[Se]=n.current,n.current=s}var se=M(null),Ee=M(null),ke=M(null),te=M(null);function De(n,s){switch(ee(ke,s),ee(Ee,n),ee(se,null),s.nodeType){case 9:case 11:n=(n=s.documentElement)&&(n=n.namespaceURI)?zb(n):0;break;default:if(n=s.tagName,s=s.namespaceURI)s=zb(s),n=Lb(s,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Z(se),ee(se,n)}function Oe(){Z(se),Z(Ee),Z(ke)}function Fe(n){n.memoizedState!==null&&ee(te,n);var s=se.current,i=Lb(s,n.type);s!==i&&(ee(Ee,n),ee(se,i))}function Ke(n){Ee.current===n&&(Z(se),Z(Ee)),te.current===n&&(Z(te),Go._currentValue=B)}var et,It;function Lt(n){if(et===void 0)try{throw Error()}catch(i){var s=i.stack.trim().match(/\n( *(at )?)/);et=s&&s[1]||"",It=-1<i.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+et+n+It}var oa=!1;function Ea(n,s){if(!n||oa)return"";oa=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(s){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(Y){var q=Y}Reflect.construct(n,[],W)}else{try{W.call()}catch(Y){q=Y}n.call(W.prototype)}}else{try{throw Error()}catch(Y){q=Y}(W=n())&&typeof W.catch=="function"&&W.catch(function(){})}}
vendor: 10,796 bytes, lines 43-48
43catch(Y){if(Y&&q&&typeof Y.stack=="string")return[Y.stack,q.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=u.DetermineComponentFrameRoot(),b=g[0],N=g[1];if(b&&N){var R=b.split(` 44`),F=N.split(` 45`);for(h=u=0;u<R.length&&!R[u].includes("DetermineComponentFrameRoot");)u++;for(;h<F.length&&!F[h].includes("DetermineComponentFrameRoot");)h++;if(u===R.length||h===F.length)for(u=R.length-1,h=F.length-1;1<=u&&0<=h&&R[u]!==F[h];)h--;for(;1<=u&&0<=h;u--,h--)if(R[u]!==F[h]){if(u!==1||h!==1)do if(u--,h--,0>h||R[u]!==F[h]){var K=` 46`+R[u].replace(" at new "," at ");return n.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",n.displayName)),K}while(1<=u&&0<=h);break}}}finally{oa=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?Lt(i):""}function Ws(n,s){switch(n.tag){case 26:case 27:case 5:return Lt(n.type);case 16:return Lt("Lazy");case 13:return n.child!==s&&s!==null?Lt("Suspense Fallback"):Lt("Suspense");case 19:return Lt("SuspenseList");case 0:case 15:return Ea(n.type,!1);case 11:return Ea(n.type.render,!1);case 1:return Ea(n.type,!0);case 31:return Lt("Activity");default:return""}}function Ud(n){try{var s="",i=null;do s+=Ws(n,i),i=n,n=n.return;while(n);return s}catch(u){return` 47Error generating stack: `+u.message+` 48`+u.stack}}var Dr=Object.prototype.hasOwnProperty,k=e.unstable_scheduleCallback,H=e.unstable_cancelCallback,X=e.unstable_shouldYield,he=e.unstable_requestPaint,ne=e.unstable_now,re=e.unstable_getCurrentPriorityLevel,Te=e.unstable_ImmediatePriority,tt=e.unstable_UserBlockingPriority,rt=e.unstable_NormalPriority,ln=e.unstable_LowPriority,Js=e.unstable_IdlePriority,la=e.log,Id=e.unstable_setDisableYieldValue,Ta=null,Ft=null;function ca(n){if(typeof la=="function"&&Id(n),Ft&&typeof Ft.setStrictMode=="function")try{Ft.setStrictMode(Ta,n)}catch{}}var Qt=Math.clz32?Math.clz32:wT,Fd=Math.log,Il=Math.LN2;function wT(n){return n>>>=0,n===0?32:31-(Fd(n)/Il|0)|0}var Fl=256,Hl=262144,ql=4194304;function er(n){var s=n&42;if(s!==0)return s;switch(n&-n){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 n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function $l(n,s,i){var u=n.pendingLanes;if(u===0)return 0;var h=0,g=n.suspendedLanes,b=n.pingedLanes;n=n.warmLanes;var N=u&134217727;return N!==0?(u=N&~g,u!==0?h=er(u):(b&=N,b!==0?h=er(b):i||(i=N&~n,i!==0&&(h=er(i))))):(N=u&~g,N!==0?h=er(N):b!==0?h=er(b):i||(i=u&~n,i!==0&&(h=er(i)))),h===0?0:s!==0&&s!==h&&(s&g)===0&&(g=h&-h,i=s&-s,g>=i||g===32&&(i&4194048)!==0)?s:h}function so(n,s){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&s)===0}function jT(n,s){switch(n){case 1:case 2:case 4:case 8:case 64:return s+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 s+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 xy(){var n=ql;return ql<<=1,(ql&62914560)===0&&(ql=4194304),n}function Hd(n){for(var s=[],i=0;31>i;i++)s.push(n);return s}function ro(n,s){n.pendingLanes|=s,s!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function NT(n,s,i,u,h,g){var b=n.pendingLanes;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=i,n.entangledLanes&=i,n.errorRecoveryDisabledLanes&=i,n.shellSuspendCounter=0;var N=n.entanglements,R=n.expirationTimes,F=n.hiddenUpdates;for(i=b&~i;0<i;){var K=31-Qt(i),W=1<<K;N[K]=0,R[K]=-1;var q=F[K];if(q!==null)for(F[K]=null,K=0;K<q.length;K++){var Y=q[K];Y!==null&&(Y.lane&=-536870913)}i&=~W}u!==0&&vy(n,u,0),g!==0&&h===0&&n.tag!==0&&(n.suspendedLanes|=g&~(b&~s))}function vy(n,s,i){n.pendingLanes|=s,n.suspendedLanes&=~s;var u=31-Qt(s);n.entangledLanes|=s,n.entanglements[u]=n.entanglements[u]|1073741824|i&261930}function by(n,s){var i=n.entangledLanes|=s;for(n=n.entanglements;i;){var u=31-Qt(i),h=1<<u;h&s|n[u]&s&&(n[u]|=s),i&=~h}}function wy(n,s){var i=s&-s;return i=(i&42)!==0?1:qd(i),(i&(n.suspendedLanes|s))!==0?0:i}function qd(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function $d(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function jy(){var n=$.p;return n!==0?n:(n=window.event,n===void 0?32:o0(n.type))}function Ny(n,s){var i=$.p;try{return $.p=n,s()}finally{$.p=i}}var as=Math.random().toString(36).slice(2),Ht="__reactFiber$"+as,cn="__reactProps$"+as,Vr="__reactContainer$"+as,Gd="__reactEvents$"+as,ST="__reactListeners$"+as,CT="__reactHandles$"+as,Sy="__reactResources$"+as,io="__reactMarker$"+as;function Yd(n){delete n[Ht],delete n[cn],delete n[Gd],delete n[ST],delete n[CT]}function Pr(n){var s=n[Ht];if(s)return s;for(var i=n.parentNode;i;){if(s=i[Vr]||i[Ht]){if(i=s.alternate,s.child!==null||i!==null&&i.child!==null)for(n=$b(n);n!==null;){if(i=n[Ht])return i;n=$b(n)}return s}n=i,i=n.parentNode}return null}function zr(n){if(n=n[Ht]||n[Vr]){var s=n.tag;if(s===5||s===6||s===13||s===31||s===26||s===27||s===3)return n}return null}function oo(n){var s=n.tag;if(s===5||s===26||s===27||s===6)return n.stateNode;throw Error(r(33))}function Lr(n){var s=n[Sy];return s||(s=n[Sy]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Bt(n){n[io]=!0}var Cy=new Set,Ey={};function tr(n,s){Br(n,s),Br(n+"Capture",s)}function Br(n,s){for(Ey[n]=s,n=0;n<s.length;n++)Cy.add(s[n])}var ET=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]*$"),Ty={},Ay={};function TT(n){return Dr.call(Ay,n)?!0:Dr.call(Ty,n)?!1:ET.test(n)?Ay[n]=!0:(Ty[n]=!0,!1)}function Gl(n,s,i){if(TT(s))if(i===null)n.removeAttribute(s);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(s);return;case"boolean":var u=s.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){n.removeAttribute(s);return}}n.setAttribute(s,""+i)}}function Yl(n,s,i){if(i===null)n.removeAttribute(s);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(s);return}n.setAttribute(s,""+i)}}function Aa(n,s,i,u){if(u===null)n.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(s,i,""+u)}}function Mn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function _y(n){var s=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function AT(n,s,i){var u=Object.getOwnPropertyDescriptor(n.constructor.prototype,s);if(!n.hasOwnProperty(s)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var h=u.get,g=u.set;return Object.defineProperty(n,s,{configurable:!0,get:function(){return h.call(this)},set:function(b){i=""+b,g.call(this,b)}}),Object.defineProperty(n,s,{enumerable:u.enumerable}),{getValue:function(){return i},setValue:function(b){i=""+b},stopTracking:function(){n._valueTracker=null,delete n[s]}}}}function Zd(n){if(!n._valueTracker){var s=_y(n)?"checked":"value";n._valueTracker=AT(n,s,""+n[s])}}function Ry(n){if(!n)return!1;var s=n._valueTracker;if(!s)return!0;var i=s.getValue(),u="";return n&&(u=_y(n)?n.checked?"true":"false":n.value),n=u,n!==i?(s.setValue(n),!0):!1}function Zl(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var _T=/[\n"\\]/g;function On(n){return n.replace(_T,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Kd(n,s,i,u,h,g,b,N){n.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?n.type=b:n.removeAttribute("type"),s!=null?b==="number"?(s===0&&n.value===""||n.value!=s)&&(n.value=""+Mn(s)):n.value!==""+Mn(s)&&(n.value=""+Mn(s)):b!=="submit"&&b!=="reset"||n.removeAttribute("value"),s!=null?Xd(n,b,Mn(s)):i!=null?Xd(n,b,Mn(i)):u!=null&&n.removeAttribute("value"),h==null&&g!=null&&(n.defaultChecked=!!g),h!=null&&(n.checked=h&&typeof h!="function"&&typeof h!="symbol"),N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?n.name=""+Mn(N):n.removeAttribute("name")}function ky(n,s,i,u,h,g,b,N){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.type=g),s!=null||i!=null){if(!(g!=="submit"&&g!=="reset"||s!=null)){Zd(n);return}i=i!=null?""+Mn(i):"",s=s!=null?""+Mn(s):i,N||s===n.value||(n.value=s),n.defaultValue=s}u=u??h,u=typeof u!="function"&&typeof u!="symbol"&&!!u,n.checked=N?n.checked:!!u,n.defaultChecked=!!u,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(n.name=b),Zd(n)}function Xd(n,s,i){s==="number"&&Zl(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function Ur(n,s,i,u){if(n=n.options,s){s={};for(var h=0;h<i.length;h++)s["$"+i[h]]=!0;for(i=0;i<n.length;i++)h=s.hasOwnProperty("$"+n[i].value),n[i].selected!==h&&(n[i].selected=h),h&&u&&(n[i].defaultSelected=!0)}else{for(i=""+Mn(i),s=null,h=0;h<n.length;h++){if(n[h].value===i){n[h].selected=!0,u&&(n[h].defaultSelected=!0);return}s!==null||n[h].disabled||(s=n[h])}s!==null&&(s.selected=!0)}}function My(n,s,i){if(s!=null&&(s=""+Mn(s),s!==n.value&&(n.value=s),i==null)){n.defaultValue!==s&&(n.defaultValue=s);return}n.defaultValue=i!=null?""+Mn(i):""}function Oy(n,s,i,u){if(s==null){if(u!=null){if(i!=null)throw Error(r(92));if(fe(u)){if(1<u.length)throw Error(r(93));u=u[0]}i=u}i==null&&(i=""),s=i}i=Mn(s),n.defaultValue=i,u=n.textContent,u===i&&u!==""&&u!==null&&(n.value=u),Zd(n)}
vendor: 4,182 bytes, line 48
48function Ir(n,s){if(s){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=s;return}}n.textContent=s}var RT=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 Dy(n,s,i){var u=s.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?u?n.setProperty(s,""):s==="float"?n.cssFloat="":n[s]="":u?n.setProperty(s,i):typeof i!="number"||i===0||RT.has(s)?s==="float"?n.cssFloat=i:n[s]=(""+i).trim():n[s]=i+"px"}function Vy(n,s,i){if(s!=null&&typeof s!="object")throw Error(r(62));if(n=n.style,i!=null){for(var u in i)!i.hasOwnProperty(u)||s!=null&&s.hasOwnProperty(u)||(u.indexOf("--")===0?n.setProperty(u,""):u==="float"?n.cssFloat="":n[u]="");for(var h in s)u=s[h],s.hasOwnProperty(h)&&i[h]!==u&&Dy(n,h,u)}else for(var g in s)s.hasOwnProperty(g)&&Dy(n,g,s[g])}function Qd(n){if(n.indexOf("-")===-1)return!1;switch(n){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 kT=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
48-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"]]),MT=/^[\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 Kl(n){return MT.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function _a(){}var Wd=null;function Jd(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Fr=null,Hr=null;function Py(n){var s=zr(n);if(s&&(n=s.stateNode)){var i=n[cn]||null;e:switch(n=s.stateNode,s.type){case"input":if(Kd(n,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),s=i.name,i.type==="radio"&&s!=null){for(i=n;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+On(""+s)+'"][type="radio"]'),s=0;s<i.length;s++){var u=i[s];if(u!==n&&u.form===n.form){var h=u[cn]||null;if(!h)throw Error(r(90));Kd(u,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(s=0;s<i.length;s++)u=i[s],u.form===n.form&&Ry(u)}break e;case"textarea":My(n,i.value,i.defaultValue);break e;case"select":s=i.value,s!=null&&Ur(n,!!i.multiple,s,!1)}}}var ef=!1;function zy(n,s,i){if(ef)return n(s,i);ef=!0;try{var u=n(s);return u}finally{if(ef=!1,(Fr!==null||Hr!==null)&&(Pc(),Fr&&(s=Fr,n=Hr,Hr=Fr=null,Py(s),n)))for(s=0;s<n.length;s++)Py(n[s])}}function lo(n,s){var i=n.stateNode;if(i===null)return null;var u=i[cn]||null;if(u===null)return null;i=u[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error(r(231,s,typeof i));return i}var Ra=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tf=!1;if(Ra)try{var co={};Object.defineProperty(co,"passive",{get:function(){tf=!0}}),window.addEventListener("test",co,co),window.removeEventListener("test",co,co)}catch{tf=!1}var ss=null,nf=null,Xl=null;function Ly(){if(Xl)return Xl;var n,s=nf,i=s.length,u,h="value"in ss?ss.value:ss.textContent,g=h.length;for(n=0;n<i&&s[n]===h[n];n++);var b=i-n;for(u=1;u<=b&&s[i-u]===h[g-u];u++);return Xl=h.slice(n,1<u?1-u:void 0)}function Ql(n){var s=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&s===13&&(n=13)):n=s,n===10&&(n=13),32<=n||n===13?n:0}function Wl(){return!0}function By(){return!1}function un(n){function s(i,u,h,g,b){this._reactName=i,this._targetInst=h,this.type=u,this.nativeEvent=g,this.target=b,this.currentTarget=null;for(var N in n)n.hasOwnProperty(N)&&(i=n[N],this[N]=i?i(g):g[N]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Wl:By,this.isPropagationStopped=By,this}return v(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Wl)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Wl)},persist:function(){},isPersistent:Wl}),s}var nr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jl=un(nr),uo=v({},nr,{view:0,detail:0}),OT=un(uo),af,sf,fo,ec=v({},uo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:of,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==fo&&(fo&&n.type==="mousemove"?(af=n.screenX-fo.screenX,sf=n.screenY-fo.screenY):sf=af=0,fo=n),af)},movementY:function(n){return"movementY"in n?n.movementY:sf}}),Uy=un(ec),DT=v({},ec,{dataTransfer:0}),VT=un(DT),PT=v({},uo,{relatedTarget:0}),rf=un(PT),zT=v({},nr,{animationName:0,elapsedTime:0,pseudoElement:0}),LT=un(zT),BT=v({},nr,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),UT=un(BT),IT=v({},nr,{data:0}),Iy=un(IT),FT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},HT={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"},qT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $T(n){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(n):(n=qT[n])?!!s[n]:!1}function of(){return $T}var GT=v({},uo,{key:function(n){if(n.key){var s=FT[n.key]||n.key;if(s!=="Unidentified")return s}
vendor: 5,186 bytes, line 48
48return n.type==="keypress"?(n=Ql(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?HT[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:of,charCode:function(n){return n.type==="keypress"?Ql(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Ql(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),YT=un(GT),ZT=v({},ec,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Fy=un(ZT),KT=v({},uo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:of}),XT=un(KT),QT=v({},nr,{propertyName:0,elapsedTime:0,pseudoElement:0}),WT=un(QT),JT=v({},ec,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),eA=un(JT),tA=v({},nr,{newState:0,oldState:0}),nA=un(tA),aA=[9,13,27,32],lf=Ra&&"CompositionEvent"in window,ho=null;Ra&&"documentMode"in document&&(ho=document.documentMode);var sA=Ra&&"TextEvent"in window&&!ho,Hy=Ra&&(!lf||ho&&8<ho&&11>=ho),qy=" ",$y=!1;function Gy(n,s){switch(n){case"keyup":return aA.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yy(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var qr=!1;function rA(n,s){switch(n){case"compositionend":return Yy(s);case"keypress":return s.which!==32?null:($y=!0,qy);case"textInput":return n=s.data,n===qy&&$y?null:n;default:return null}}function iA(n,s){if(qr)return n==="compositionend"||!lf&&Gy(n,s)?(n=Ly(),Xl=nf=ss=null,qr=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Hy&&s.locale!=="ko"?null:s.data;default:return null}}var oA={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 Zy(n){var s=n&&n.nodeName&&n.nodeName.toLowerCase();return s==="input"?!!oA[n.type]:s==="textarea"}function Ky(n,s,i,u){Fr?Hr?Hr.push(u):Hr=[u]:Fr=u,s=Hc(s,"onChange"),0<s.length&&(i=new Jl("onChange","change",null,i,u),n.push({event:i,listeners:s}))}var mo=null,po=null;function lA(n){kb(n,0)}function tc(n){var s=oo(n);if(Ry(s))return n}function Xy(n,s){if(n==="change")return s}var Qy=!1;if(Ra){var cf;if(Ra){var uf="oninput"in document;if(!uf){var Wy=document.createElement("div");Wy.setAttribute("oninput","return;"),uf=typeof Wy.oninput=="function"}cf=uf}else cf=!1;Qy=cf&&(!document.documentMode||9<document.documentMode)}function Jy(){mo&&(mo.detachEvent("onpropertychange",ex),po=mo=null)}function ex(n){if(n.propertyName==="value"&&tc(po)){var s=[];Ky(s,po,n,Jd(n)),zy(lA,s)}}function cA(n,s,i){n==="focusin"?(Jy(),mo=s,po=i,mo.attachEvent("onpropertychange",ex)):n==="focusout"&&Jy()}function uA(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return tc(po)}function dA(n,s){if(n==="click")return tc(s)}function fA(n,s){if(n==="input"||n==="change")return tc(s)}function hA(n,s){return n===s&&(n!==0||1/n===1/s)||n!==n&&s!==s}var xn=typeof Object.is=="function"?Object.is:hA;function go(n,s){if(xn(n,s))return!0;if(typeof n!="object"||n===null||typeof s!="object"||s===null)return!1;var i=Object.keys(n),u=Object.keys(s);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var h=i[u];if(!Dr.call(s,h)||!xn(n[h],s[h]))return!1}return!0}function tx(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function nx(n,s){var i=tx(n);n=0;for(var u;i;){if(i.nodeType===3){if(u=n+i.textContent.length,n<=s&&u>=s)return{node:i,offset:s-n};n=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=tx(i)}}function ax(n,s){return n&&s?n===s?!0:n&&n.nodeType===3?!1:s&&s.nodeType===3?ax(n,s.parentNode):"contains"in n?n.contains(s):n.compareDocumentPosition?!!(n.compareDocumentPosition(s)&16):!1:!1}function sx(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var s=Zl(n.document);s instanceof n.HTMLIFrameElement;){try{var i=typeof s.contentWindow.location.href=="string"}catch{i=!1}if(i)n=s.contentWindow;else break;s=Zl(n.document)}return s}function df(n){var s=n&&n.nodeName&&n.nodeName.toLowerCase();return s&&(s==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||s==="textarea"||n.contentEditable==="true")}var mA=Ra&&"documentMode"in document&&11>=document.documentMode,$r=null,ff=null,yo=null,hf=!1;function rx(n,s,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;hf||$r==null||$r!==Zl(u)||(u=$r,"selectionStart"in u&&df(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focu
vendor: 20,701 bytes, line 48
48sNode:u.focusNode,focusOffset:u.focusOffset}),yo&&go(yo,u)||(yo=u,u=Hc(ff,"onSelect"),0<u.length&&(s=new Jl("onSelect","select",null,s,i),n.push({event:s,listeners:u}),s.target=$r)))}function ar(n,s){var i={};return i[n.toLowerCase()]=s.toLowerCase(),i["Webkit"+n]="webkit"+s,i["Moz"+n]="moz"+s,i}var Gr={animationend:ar("Animation","AnimationEnd"),animationiteration:ar("Animation","AnimationIteration"),animationstart:ar("Animation","AnimationStart"),transitionrun:ar("Transition","TransitionRun"),transitionstart:ar("Transition","TransitionStart"),transitioncancel:ar("Transition","TransitionCancel"),transitionend:ar("Transition","TransitionEnd")},mf={},ix={};Ra&&(ix=document.createElement("div").style,"AnimationEvent"in window||(delete Gr.animationend.animation,delete Gr.animationiteration.animation,delete Gr.animationstart.animation),"TransitionEvent"in window||delete Gr.transitionend.transition);function sr(n){if(mf[n])return mf[n];if(!Gr[n])return n;var s=Gr[n],i;for(i in s)if(s.hasOwnProperty(i)&&i in ix)return mf[n]=s[i];return n}var ox=sr("animationend"),lx=sr("animationiteration"),cx=sr("animationstart"),pA=sr("transitionrun"),gA=sr("transitionstart"),yA=sr("transitioncancel"),ux=sr("transitionend"),dx=new Map,pf="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(" ");pf.push("scrollEnd");function Yn(n,s){dx.set(n,s),tr(s,[n])}var nc=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Dn=[],Yr=0,gf=0;function ac(){for(var n=Yr,s=gf=Yr=0;s<n;){var i=Dn[s];Dn[s++]=null;var u=Dn[s];Dn[s++]=null;var h=Dn[s];Dn[s++]=null;var g=Dn[s];if(Dn[s++]=null,u!==null&&h!==null){var b=u.pending;b===null?h.next=h:(h.next=b.next,b.next=h),u.pending=h}g!==0&&fx(i,h,g)}}function sc(n,s,i,u){Dn[Yr++]=n,Dn[Yr++]=s,Dn[Yr++]=i,Dn[Yr++]=u,gf|=u,n.lanes|=u,n=n.alternate,n!==null&&(n.lanes|=u)}function yf(n,s,i,u){return sc(n,s,i,u),rc(n)}function rr(n,s){return sc(n,null,null,s),rc(n)}function fx(n,s,i){n.lanes|=i;var u=n.alternate;u!==null&&(u.lanes|=i);for(var h=!1,g=n.return;g!==null;)g.childLanes|=i,u=g.alternate,u!==null&&(u.childLanes|=i),g.tag===22&&(n=g.stateNode,n===null||n._visibility&1||(h=!0)),n=g,g=g.return;return n.tag===3?(g=n.stateNode,h&&s!==null&&(h=31-Qt(i),n=g.hiddenUpdates,u=n[h],u===null?n[h]=[s]:u.push(s),s.lane=i|536870912),g):null}function rc(n){if(50<Bo)throw Bo=0,Eh=null,Error(r(185));for(var s=n.return;s!==null;)n=s,s=n.return;return n.tag===3?n.stateNode:null}var Zr={};function xA(n,s,i,u){this.tag=n,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vn(n,s,i,u){return new xA(n,s,i,u)}function xf(n){return n=n.prototype,!(!n||!n.isReactComponent)}function ka(n,s){var i=n.alternate;return i===null?(i=vn(n.tag,s,n.key,n.mode),i.elementType=n.elementType,i.type=n.type,i.stateNode=n.stateNode,i.alternate=n,n.alternate=i):(i.pendingProps=s,i.type=n.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=n.flags&65011712,i.childLanes=n.childLanes,i.lanes=n.lanes,i.child=n.child,i.memoizedProps=n.memoizedProps,i.memoizedState=n.memoizedState,i.updateQueue=n.updateQueue,s=n.dependencies,i.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},i.sibling=n.sibling,i.index=n.index,i.ref=n.ref,i.refCleanup=n.refCleanup,i}function hx(n,s){n.flags&=65011714;var i=n.alternate;return i===null?(n.childLanes=0,n.lanes=s,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,s=i.dependencies,n.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),n}function ic(n,s,i,u,h,g){var b=0;if(u=n,typeof n=="function")xf(n)&&(b=1);else if(typeof n=="string")b=N_(n,i,se.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case ae:return n=vn(31,i,s,h),n.elementType=ae,n.lanes=g,n;case j:return ir(i.children,h,g,s);case C:b=8,h|=24;break;case A:return n=vn(12,i,s,h|2),n.elementType=A,n.lanes=g,n;case V:return n=vn(13,i,s,h),n.elementType=V,n.lanes=g,n;case G:return n=vn(19,i,s,h),n.elementType=G,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case _:b=10;break e;case T:b=9;break e;case D:b=11;break e;case z:b=14;break e;case I:b=16,u=null;break e}b=29,i=Error(r(130,n===null?"null":typeof n,"")),u=null}return s=vn(b,i,s,h),s.elementType=n,s.type=u,s.lanes=g,s}function ir(n,s,i,u){return n=vn(7,n,u,s),n.lanes=i,n}function vf(n,s,i){return n=vn(6,n,null,s),n.lanes=i,n}function mx(n){var s=vn(18,null,null,0);return s.stateNode=n,s}function bf(n,s,i){return s=vn(4,n.children!==null?n.children:[],n.key,s),s.lanes=i,s.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},s}var px=new WeakMap;function Vn(n,s){if(typeof n=="object"&&n!==null){var i=px.get(n);return i!==void 0?i:(s={value:n,source:s,stack:Ud(s)},px.set(n,s),s)}return{value:n,source:s,stack:Ud(s)}}var Kr=[],Xr=0,oc=null,xo=0,Pn=[],zn=0,rs=null,ua=1,da="";function Ma(n,s){Kr[Xr++]=xo,Kr[Xr++]=oc,oc=n,xo=s}function gx(n,s,i){Pn[zn++]=ua,Pn[zn++]=da,Pn[zn++]=rs,rs=n;var u=ua;n=da;var h=32-Qt(u)-1;u&=~(1<<h),i+=1;var g=32-Qt(s)+h;if(30<g){var b=h-h%5;g=(u&(1<<b)-1).toString(32),u>>=b,h-=b,ua=1<<32-Qt(s)+h|i<<h|u,da=g+n}else ua=1<<g|i<<h|u,da=n}function wf(n){n.return!==null&&(Ma(n,1),gx(n,1,0))}function jf(n){for(;n===oc;)oc=Kr[--Xr],Kr[Xr]=null,xo=Kr[--Xr],Kr[Xr]=null;for(;n===rs;)rs=Pn[--zn],Pn[zn]=null,da=Pn[--zn],Pn[zn]=null,ua=Pn[--zn],Pn[zn]=null}function yx(n,s){Pn[zn++]=ua,Pn[zn++]=da,Pn[zn++]=rs,ua=s.id,da=s.overflow,rs=n}var qt=null,mt=null,Xe=!1,is=null,Ln=!1,Nf=Error(r(519));function os(n){var s=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw vo(Vn(s,n)),Nf}function xx(n){var s=n.stateNode,i=n.type,u=n.memoizedProps;switch(s[Ht]=n,s[cn]=u,i){case"dialog":Ge("cancel",s),Ge("close",s);break;case"iframe":case"object":case"embed":Ge("load",s);break;case"video":case"audio":for(i=0;i<Io.length;i++)Ge(Io[i],s);break;case"source":Ge("error",s);break;case"img":case"image":case"link":Ge("error",s),Ge("load",s);break;case"details":Ge("toggle",s);break;case"input":Ge("invalid",s),ky(s,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":Ge("invalid",s);break;case"textarea":Ge("invalid",s),Oy(s,u.value,u.defaultValue,u.children)}i=u.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||s.textContent===""+i||u.suppressHydrationWarning===!0||Vb(s.textContent,i)?(u.popover!=null&&(Ge("beforetoggle",s),Ge("toggle",s)),u.onScroll!=null&&Ge("scroll",s),u.onScrollEnd!=null&&Ge("scrollend",s),u.onClick!=null&&(s.onclick=_a),s=!0):s=!1,s||os(n,!0)}function vx(n){for(qt=n.return;qt;)switch(qt.tag){case 5:case 31:case 13:Ln=!1;return;case 27:case 3:Ln=!0;return;default:qt=qt.return}}function Qr(n){if(n!==qt)return!1;if(!Xe)return vx(n),Xe=!0,!1;var s=n.tag,i;if((i=s!==3&&s!==27)&&((i=s===5)&&(i=n.type,i=!(i!=="form"&&i!=="button")||Ih(n.type,n.memoizedProps)),i=!i),i&&mt&&os(n),vx(n),s===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));mt=qb(n)}else if(s===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));mt=qb(n)}else s===27?(s=mt,ws(n.type)?(n=Gh,Gh=null,mt=n):mt=s):mt=qt?Un(n.stateNode.nextSibling):null;return!0}function or(){mt=qt=null,Xe=!1}function Sf(){var n=is;return n!==null&&(mn===null?mn=n:mn.push.apply(mn,n),is=null),n}function vo(n){is===null?is=[n]:is.push(n)}var Cf=M(null),lr=null,Oa=null;function ls(n,s,i){ee(Cf,s._currentValue),s._currentValue=i}function Da(n){n._currentValue=Cf.current,Z(Cf)}function Ef(n,s,i){for(;n!==null;){var u=n.alternate;if((n.childLanes&s)!==s?(n.childLanes|=s,u!==null&&(u.childLanes|=s)):u!==null&&(u.childLanes&s)!==s&&(u.childLanes|=s),n===i)break;n=n.return}}function Tf(n,s,i,u){var h=n.child;for(h!==null&&(h.return=n);h!==null;){var g=h.dependencies;if(g!==null){var b=h.child;g=g.firstContext;e:for(;g!==null;){var N=g;g=h;for(var R=0;R<s.length;R++)if(N.context===s[R]){g.lanes|=i,N=g.alternate,N!==null&&(N.lanes|=i),Ef(g.return,i,n),u||(b=null);break e}g=N.next}}else if(h.tag===18){if(b=h.return,b===null)throw Error(r(341));b.lanes|=i,g=b.alternate,g!==null&&(g.lanes|=i),Ef(b,i,n),b=null}else b=h.child;if(b!==null)b.return=h;else for(b=h;b!==null;){if(b===n){b=null;break}if(h=b.sibling,h!==null){h.return=b.return,b=h;break}b=b.return}h=b}}function Wr(n,s,i,u){n=null;for(var h=s,g=!1;h!==null;){if(!g){if((h.flags&524288)!==0)g=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var b=h.alternate;if(b===null)throw Error(r(387));if(b=b.memoizedProps,b!==null){var N=h.type;xn(h.pendingProps.value,b.value)||(n!==null?n.push(N):n=[N])}}else if(h===te.current){if(b=h.alternate,b===null)throw Error(r(387));b.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(n!==null?n.push(Go):n=[Go])}h=h.return}n!==null&&Tf(s,n,i,u),s.flags|=262144}function lc(n){for(n=n.firstContext;n!==null;){if(!xn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function cr(n){lr=n,Oa=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function $t(n){return bx(lr,n)}function cc(n,s){return lr===null&&cr(n),bx(n,s)}function bx(n,s){var i=s._currentValue;if(s={context:s,memoizedValue:i,next:null},Oa===null){if(n===null)throw Error(r(308));Oa=s,n.dependencies={lanes:0,firstContext:s},n.flags|=524288}else Oa=Oa.next=s;return i}var vA=typeof AbortController<"u"?AbortController:function(){var n=[],s=this.signal={aborted:!1,addEventListener:function(i,u){n.push(u)}};this.abort=function(){s.aborted=!0,n.forEach(function(i){return i()})}},bA=e.unstable_scheduleCallback,wA=e.unstable_NormalPriority,Et={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Af(){return{controller:new vA,data:new Map,refCount:0}}function bo(n){n.refCount--,n.refCount===0&&bA(wA,function(){n.controller.abort()})}var wo=null,_f=0,Jr=0,ei=null;function jA(n,s){if(wo===null){var i=wo=[];_f=0,Jr=Mh(),ei={status:"pending",value:void 0,then:function(u){i.push(u)}}}return _f++,s.then(wx,wx),s}function wx(){if(--_f===0&&wo!==null){ei!==null&&(ei.status="fulfilled");var n=wo;wo=null,Jr=0,ei=null;for(var s=0;s<n.length;s++)(0,n[s])()}}function NA(n,s){var i=[],u={status:"pending",value:null,reason:null,then:function(h){i.push(h)}};return n.then(function(){u.status="fulfilled",u.value=s;for(var h=0;h<i.length;h++)(0,i[h])(s)},function(h){for(u.status="rejected",u.reason=h,h=0;h<i.length;h++)(0,i[h])(void 0)}),u}var jx=P.S;P.S=function(n,s){rb=ne(),typeof s=="object"&&s!==null&&typeof s.then=="function"&&jA(n,s),jx!==null&&jx(n,s)};var ur=M(null);function Rf(){var n=ur.current;return n!==null?n:ht.pooledCache}function uc(n,s){s===null?ee(ur,ur.current):ee(ur,s.pool)}function Nx(){var n=Rf();return n===null?null:{parent:Et._currentValue,pool:n}}var ti=Error(r(460)),kf=Error(r(474)),dc=Error(r(542)),fc={then:function(){}};function Sx(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Cx(n,s,i){switch(i=n[i],i===void 0?n.push(s):i!==s&&(s.then(_a,_a),s=i),s.status){case"fulfilled":return s.value;case"rejected":throw n=s.reason,Tx(n),n;default:if(typeof s.status=="string")s.then(_a,_a);else{if(n=ht,n!==null&&100<n.shellSuspendCounter)throw Error(r(482));n=s,n.status="pending",n.then(function(u){if(s.status==="pending"){var h=s;h.status="fulfilled",h.value=u}},function(u){if(s.status==="pending"){var h=s;h.status="rejected",h.reason=u}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw n=s.reason,Tx(n),n}throw fr=s,ti}}function dr(n){try{var s=n._init;return s(n._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(fr=i,ti):i}}var fr=null;function Ex(){if(fr===null)throw Error(r(459));var n=fr;return fr=null,n}function Tx(n){if(n===ti||n===dc)throw Error(r(483))}var ni=null,jo=0;function hc(n){var s=jo;return jo+=1,ni===null&&(ni=[]),Cx(ni,n,s)}function No(n,s){s=s.props.ref,n.ref=s!==void 0?s:null}function mc(n,s){throw s.$$typeof===w?Error(r(525)):(n=Object.prototype.toString.call(s),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":n)))}function Ax(n){function s(L,O){if(n){var U=L.deletions;U===null?(L.deletions=[O],L.flags|=16):U.push(O)}}function i(L,O){if(!n)return null;for(;O!==null;)s(L,O),O=O.sibling;return null}function u(L){for(var O=new Map;L!==null;)L.key!==null?O.set(L.key,L):O.set(L.index,L),L=L.sibling;return O}function h(L,O){return L=ka(L,O),L.index=0,L.sibling=null,L}function g(L,O,U){return L.index=U,n?(U=L.alternate,U!==null?(U=U.index,U<O?(L.flags|=67108866,O):U):(L.flags|=67108866,O)):(L.flags|=1048576,O)}function b(L){return n&&L.alternate===null&&(L.flags|=67108866),L}function N(L,O,U,Q){return O===null||O.tag!==6?(O=vf(U,L.mode,Q),O.return=L,O):(O=h(O,U),O.return=L,O)}function R(L,O,U,Q){var Ae=U.type;return Ae===j?K(L,O,U.props.children,Q,U.key):O!==null&&(O.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===I&&dr(Ae)===O.type)?(O=h(O,U.props),No(O,U),O.return=L,O):(O=ic(U.type,U.key,U.props,null,L.mode,Q),No(O,U),O.return=L,O)}function F(L,O,U,Q){return O===null||O.tag!==4||O.stateNode.containerInfo!==U.containerInfo||O.stateNode.implementation!==U.implementation?(O=bf(U,L.mode,Q),O.return=L,O):(O=h(O,U.children||[]),O.return=L,O)}function K(L,O,U,Q,Ae){return O===null||O.tag!==7?(O=ir(U,L.mode,Q,Ae),O.return=L,O):(O=h(O,U),O.return=L,O)}function W(L,O,U){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=vf(""+O,L.mode,U),O.return=L,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case S:return U=ic(O.type,O.key,O.props,null,L.mode,U),No(U,O),U.return=L,U;case E:return O=bf(O,L.mode,U),O.return=L,O;case I:return O=dr(O),W(L,O,U)}if(fe(O)||oe(O))return O=ir(O,L.mode,U,null),O.return=L,O;if(typeof O.then=="function")return W(L,hc(O),U);if(O.$$typeof===_)return W(L,cc(L,O),U);mc(L,O)}return null}function q(L,O,U,Q){var Ae=O!==null?O.key:null;if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return Ae!==null?null:N(L,O,""+U,Q);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case S:return U.key===Ae?R(L,O,U,Q):null;case E:return U.key===Ae?F(L,O,U,Q):null;case I:return U=dr(U),q(L,O,U,Q)}if(fe(U)||oe(U))return Ae!==null?null:K(L,O,U,Q,null);if(typeof U.then=="function")return q(L,O,hc(U),Q);if(U.$$typeof===_)return q(L,O,cc(L,U),Q);mc(L,U)}return null}function Y(L,O,U,Q,Ae){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return L=L.get(U)||null,N(O,L,""+Q,Ae);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case S:return L=L.get(Q.key===null?U:Q.key)||null,R(O,L,Q,Ae);case E:return L=L.get(Q.key===null?U:Q.key)||null,F(O,L,Q,Ae);case I:return Q=dr(Q),Y(L,O,U,Q,Ae)}if(fe(Q)||oe(Q))return L=L.get(U)||null,K(O,L,Q,Ae,null);if(typeof Q.then=="function")return Y(L,O,U,hc(Q),Ae);if(Q.$$typeof===_)return Y(L,O,U,cc(O,Q),Ae);mc(O,Q)}return null}function ye(L,O,U,Q){for(var Ae=null,nt=null,we=O,Ie=O=0,Ze=null;we!==null&&Ie<U.length;Ie++){we.index>Ie?(Ze=we,we=null):Ze=we.sibling;var at=q(L,we,U[Ie],Q);if(at===null){we===null&&(we=Ze);break}n&&we&&at.alternate===null&&s(L,we),O=g(at,O,Ie),nt===null?Ae=at:nt.sibling=at,nt=at,we=Ze}if(Ie===U.length)return i(L,we),Xe&&Ma(L,Ie),Ae;if(we===null){for(;Ie<U.length;Ie++)we=W(L,U[Ie],Q),we!==null&&(O=g(we,O,Ie),nt===null?Ae=we:nt.sibling=we,nt=we);return Xe&&Ma(L,Ie),Ae}for(we=u(we);Ie<U.length;Ie++)Ze=Y(we,L,Ie,U[Ie],Q),Ze!==null&&(n&&Ze.alternate!==null&&we.delete(Ze.key===null?Ie:Ze.key),O=g(Ze,O,Ie),nt===null?Ae=Ze:nt.sibling=Ze,nt=Ze);return n&&we.forEach(function(Es){return s(L,Es)}),Xe&&Ma(L,Ie),Ae}function Re(L,O,U,Q){if(U==null)throw Error(r(151));for(var Ae=null,nt=null,we=O,Ie=O=0,Ze=null,at=U.next();we!==null&&!at.done;Ie++,at=U.next()){we.index>Ie?(Ze=we,we=null):Ze=we.sibling;var Es=q(L,we,at.value,Q);if(Es===null){we===null&&(we=Ze);break}n&&we&&Es.alternate===null&&s(L,we),O=g(Es,O,Ie),nt===null?Ae=Es:nt.sibling=Es,nt=Es,we=Ze}if(at.done)return i(L,we),Xe&&Ma(L,Ie),Ae;if(we===null){for(;!at.done;Ie++,at=U.next())at=W(L,at.value,Q),at!==null&&(O=g(at,O,Ie),nt===null?Ae=at:nt.sibling=at,nt=at);return Xe&&Ma(L,Ie),Ae}for(we=u(we);!at.done;Ie++,at=U.next())at=Y(we,L,Ie,at.value,Q),at!==null&&(n&&at.alternate!==null&&we.delete(at.key===null?Ie:at.key),O=g(at,O,Ie),nt===null?Ae=at:nt.sibling=at,nt=at);return n&&we.forEach(function(D_){return s(L,D_)}),Xe&&Ma(L,Ie),Ae}function ft(L,O,U,Q){if(typeof U=="object"&&U!==null&&U.type===j&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case S:e:{for(var Ae=U.key;O!==null;){if(O.key===Ae){if(Ae=U.type,Ae===j){if(O.tag===7){i(L,O.sibling),Q=h(O,U.props.children),Q.return=L,L=Q;break e}}else if(O.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===I&&dr(Ae)===O.type){i(L,O.sibling),Q=h(O,U.props),No(Q,U),Q.return=L,L=Q;break e}i(L,O);break}else s(L,O);O=O.sibling}U.type===j?(Q=ir(U.props.children,L.mode,Q,U.key),Q.return=L,L=Q):(Q=ic(U.type,U.key,U.props,null,L.mode,Q),No(Q,U),Q.return=L,L=Q)}return b(L);case E:e:{for(Ae=U.key;O!==null;){if(O.key===Ae)if(O.tag===4&&O.stateNode.containerInfo===U.containerInfo&&O.stateNode.implementation===U.implementation){i(L,O.sibling),Q=h(O,U.children||[]),Q.return=L,L=Q;break e}else{i(L,O);break}else s(L,O);O=O.sibling}Q=bf(U,L.mode,Q),Q.return=L,L=Q}return b(L);case I:return U=dr(U),ft(L,O,U,Q)}if(fe(U))return ye(L,O,U,Q);if(oe(U)){if(Ae=oe(U),typeof Ae!="function")throw Error(r(150));return U=Ae.call(U),Re(L,O,U,Q)}if(typeof U.then=="function")return ft(L,O,hc(U),Q);if(U.$$typeof===_)return ft(L,O,cc(L,U),Q);mc(L,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,O!==null&&O.tag===6?(i(L,O.sibling),Q=h(O,U),Q.return=L,L=Q):(i(L,O),Q=vf(U,L.mode,Q),Q.return=L,L=Q),b(L)):i(L,O)}return function(L,O,U,Q){try{jo=0;var Ae=ft(L,O,U,Q);return ni=null,Ae}catch(we){if(we===ti||we===dc)throw we;var nt=vn(29,we,null,L.mode);return nt.lanes=Q,nt.return=L,nt}finally{}}}var hr=Ax(!0),_x=Ax(!1),cs=!1;function Mf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Of(n,s){n=n.updateQueue,s.updateQueue===n&&(s.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function us(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function ds(n,s,i){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,(it&2)!==0){var h=u.pending;return h===null?s.next=s:(s.next=h.next,h.next=s),u.pending=s,s=rc(n),fx(n,null,i),s}return sc(n,u,s,i),rc(n)}function So(n,s,i){if(s=s.updateQueue,s!==null&&(s=s.shared,(i&4194048)!==0)){var u=s.lanes;u&=n.pendingLanes,i|=u,s.lanes=i,by(n,i)}}function Df(n,s){var i=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,i===u)){var h=null,g=null;if(i=i.firstBaseUpdate,i!==null){do{var b={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};g===null?h=g=b:g=g.next=b,i=i.next}while(i!==null);g===null?h=g=s:g=g.next=s}else h=g=s;i={baseState:u.baseState,firstBaseUpdate:h,lastBaseUpdate:g,shared:u.shared,callbacks:u.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=s:n.next=s,i.lastBaseUpdate=s}var Vf=!1;
vendor: 7,243 bytes, line 48
48function Co(){if(Vf){var n=ei;if(n!==null)throw n}}function Eo(n,s,i,u){Vf=!1;var h=n.updateQueue;cs=!1;var g=h.firstBaseUpdate,b=h.lastBaseUpdate,N=h.shared.pending;if(N!==null){h.shared.pending=null;var R=N,F=R.next;R.next=null,b===null?g=F:b.next=F,b=R;var K=n.alternate;K!==null&&(K=K.updateQueue,N=K.lastBaseUpdate,N!==b&&(N===null?K.firstBaseUpdate=F:N.next=F,K.lastBaseUpdate=R))}if(g!==null){var W=h.baseState;b=0,K=F=R=null,N=g;do{var q=N.lane&-536870913,Y=q!==N.lane;if(Y?(Ye&q)===q:(u&q)===q){q!==0&&q===Jr&&(Vf=!0),K!==null&&(K=K.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});e:{var ye=n,Re=N;q=s;var ft=i;switch(Re.tag){case 1:if(ye=Re.payload,typeof ye=="function"){W=ye.call(ft,W,q);break e}W=ye;break e;case 3:ye.flags=ye.flags&-65537|128;case 0:if(ye=Re.payload,q=typeof ye=="function"?ye.call(ft,W,q):ye,q==null)break e;W=v({},W,q);break e;case 2:cs=!0}}q=N.callback,q!==null&&(n.flags|=64,Y&&(n.flags|=8192),Y=h.callbacks,Y===null?h.callbacks=[q]:Y.push(q))}else Y={lane:q,tag:N.tag,payload:N.payload,callback:N.callback,next:null},K===null?(F=K=Y,R=W):K=K.next=Y,b|=q;if(N=N.next,N===null){if(N=h.shared.pending,N===null)break;Y=N,N=Y.next,Y.next=null,h.lastBaseUpdate=Y,h.shared.pending=null}}while(!0);K===null&&(R=W),h.baseState=R,h.firstBaseUpdate=F,h.lastBaseUpdate=K,g===null&&(h.shared.lanes=0),gs|=b,n.lanes=b,n.memoizedState=W}}function Rx(n,s){if(typeof n!="function")throw Error(r(191,n));n.call(s)}function kx(n,s){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;n<i.length;n++)Rx(i[n],s)}var ai=M(null),pc=M(0);function Mx(n,s){n=Ha,ee(pc,n),ee(ai,s),Ha=n|s.baseLanes}function Pf(){ee(pc,Ha),ee(ai,ai.current)}function zf(){Ha=pc.current,Z(ai),Z(pc)}var bn=M(null),Bn=null;function fs(n){var s=n.alternate;ee(St,St.current&1),ee(bn,n),Bn===null&&(s===null||ai.current!==null||s.memoizedState!==null)&&(Bn=n)}function Lf(n){ee(St,St.current),ee(bn,n),Bn===null&&(Bn=n)}function Ox(n){n.tag===22?(ee(St,St.current),ee(bn,n),Bn===null&&(Bn=n)):hs()}function hs(){ee(St,St.current),ee(bn,bn.current)}function wn(n){Z(bn),Bn===n&&(Bn=null),Z(St)}var St=M(0);function gc(n){for(var s=n;s!==null;){if(s.tag===13){var i=s.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||qh(i)||$h(i)))return s}else if(s.tag===19&&(s.memoizedProps.revealOrder==="forwards"||s.memoizedProps.revealOrder==="backwards"||s.memoizedProps.revealOrder==="unstable_legacy-backwards"||s.memoizedProps.revealOrder==="together")){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===n)break;for(;s.sibling===null;){if(s.return===null||s.return===n)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Va=0,Be=null,ut=null,Tt=null,yc=!1,si=!1,mr=!1,xc=0,To=0,ri=null,SA=0;function bt(){throw Error(r(321))}function Bf(n,s){if(s===null)return!1;for(var i=0;i<s.length&&i<n.length;i++)if(!xn(n[i],s[i]))return!1;return!0}function Uf(n,s,i,u,h,g){return Va=g,Be=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,P.H=n===null||n.memoizedState===null?gv:th,mr=!1,g=i(u,h),mr=!1,si&&(g=Vx(s,i,u,h)),Dx(n),g}function Dx(n){P.H=Ro;var s=ut!==null&&ut.next!==null;if(Va=0,Tt=ut=Be=null,yc=!1,To=0,ri=null,s)throw Error(r(300));n===null||At||(n=n.dependencies,n!==null&&lc(n)&&(At=!0))}function Vx(n,s,i,u){Be=n;var h=0;do{if(si&&(ri=null),To=0,si=!1,25<=h)throw Error(r(301));if(h+=1,Tt=ut=null,n.updateQueue!=null){var g=n.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}P.H=yv,g=s(i,u)}while(si);return g}function CA(){var n=P.H,s=n.useState()[0];return s=typeof s.then=="function"?Ao(s):s,n=n.useState()[0],(ut!==null?ut.memoizedState:null)!==n&&(Be.flags|=1024),s}function If(){var n=xc!==0;return xc=0,n}function Ff(n,s,i){s.updateQueue=n.updateQueue,s.flags&=-2053,n.lanes&=~i}function Hf(n){if(yc){for(n=n.memoizedState;n!==null;){var s=n.queue;s!==null&&(s.pending=null),n=n.next}yc=!1}Va=0,Tt=ut=Be=null,si=!1,To=xc=0,ri=null}function nn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Tt===null?Be.memoizedState=Tt=n:Tt=Tt.next=n,Tt}function Ct(){if(ut===null){var n=Be.alternate;n=n!==null?n.memoizedState:null}else n=ut.next;var s=Tt===null?Be.memoizedState:Tt.next;if(s!==null)Tt=s,ut=n;else{if(n===null)throw Be.alternate===null?Error(r(467)):Error(r(310));ut=n,n={memoizedState:ut.memoizedState,baseState:ut.baseState,baseQueue:ut.baseQueue,queue:ut.queue,next:null},Tt===null?Be.memoizedState=Tt=n:Tt=Tt.next=n}return Tt}function vc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ao(n){var s=To;return To+=1,ri===null&&(ri=[]),n=Cx(ri,n,s),s=Be,(Tt===null?s.memoizedState:Tt.next)===null&&(s=s.alternate,P.H=s===null||s.memoizedState===null?gv:th),n}function bc(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Ao(n);if(n.$$typeof===_)return $t(n)}throw Error(r(438,String(n)))}function qf(n){var s=null,i=Be.updateQueue;if(i!==null&&(s=i.memoCache),s==null){var u=Be.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(s={data:u.data.map(function(h){return h.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),i===null&&(i=vc(),Be.updateQueue=i),i.memoCache=s,i=s.data[s.index],i===void 0)for(i=s.data[s.index]=Array(n),u=0;u<n;u++)i[u]=ue;return s.index++,i}function Pa(n,s){return typeof s=="function"?s(n):s}function wc(n){var s=Ct();return $f(s,ut,n)}function $f(n,s,i){var u=n.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=i;var h=n.baseQueue,g=u.pending;if(g!==null){if(h!==null){var b=h.next;h.next=g.next,g.next=b}s.baseQueue=h=g,u.pending=null}if(g=n.baseState,h===null)n.memoizedState=g;else{s=h.next;var N=b=null,R=null,F=s,K=!1;do{var W=F.lane&-536870913;if(W!==F.lane?(Ye&W)===W:(Va&W)===W){var q=F.revertLane;if(q===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),W===Jr&&(K=!0);else if((Va&q)===q){F=F.next,q===Jr&&(K=!0);continue}else W={lane:0,revertLane:F.revertLane,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},R===null?(N=R=W,b=g):R=R.next=W,Be.lanes|=q,gs|=q;W=F.action,mr&&i(g,W),g=F.hasEagerState?F.eagerState:i(g,W)}else q={lane:W,revertLane:F.revertLane,gesture:F.gesture,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},R===null?(N=R=q,b=g):R=R.next=q,Be.lanes|=W,gs|=W;F=F.next}while(F!==null&&F!==s);if(R===null?b=g:R.next=N,!xn(g,n.memoizedState)&&(At=!0,K&&(i=ei,i!==null)))throw i;n.memoizedState=g,n.baseState=b,n.baseQueue=R,u.lastRenderedState=g}return h===null&&(u.lanes=0),[n.memoizedState,u.dispatch]}function Gf(n){var s=Ct(),i=s.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=n;var u=i.dispatch,h=i.pending,g=s.memoizedState;if(h!==null){i.pending=null;var b=h=h.next;do g=n(g,b.action),b=b.next;while(b!==h);xn(g,s.memoizedState)||(At=!0),s.memoizedState=g,s.baseQueue===null&&(s.baseState=g),i.lastRenderedState=g}return[g,u]}function Px(n,s,i){var u=Be,h=Ct(),g=Xe;if(g){if(i===void 0)throw Error(r(407));i=i()}else i=s();var b=!xn((ut||h).memoizedState,i);if(b&&(h.memoizedState=i,At=!0),h=h.queue,Kf(Bx.bind(null,u,h,n),[n]),h.get
vendor: 15,298 bytes, line 48
48Snapshot!==s||b||Tt!==null&&Tt.memoizedState.tag&1){if(u.flags|=2048,ii(9,{destroy:void 0},Lx.bind(null,u,h,i,s),null),ht===null)throw Error(r(349));g||(Va&127)!==0||zx(u,s,i)}return i}function zx(n,s,i){n.flags|=16384,n={getSnapshot:s,value:i},s=Be.updateQueue,s===null?(s=vc(),Be.updateQueue=s,s.stores=[n]):(i=s.stores,i===null?s.stores=[n]:i.push(n))}function Lx(n,s,i,u){s.value=i,s.getSnapshot=u,Ux(s)&&Ix(n)}function Bx(n,s,i){return i(function(){Ux(s)&&Ix(n)})}function Ux(n){var s=n.getSnapshot;n=n.value;try{var i=s();return!xn(n,i)}catch{return!0}}function Ix(n){var s=rr(n,2);s!==null&&pn(s,n,2)}function Yf(n){var s=nn();if(typeof n=="function"){var i=n;if(n=i(),mr){ca(!0);try{i()}finally{ca(!1)}}}return s.memoizedState=s.baseState=n,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:n},s}function Fx(n,s,i,u){return n.baseState=i,$f(n,ut,typeof u=="function"?u:Pa)}function EA(n,s,i,u,h){if(Sc(n))throw Error(r(485));if(n=s.action,n!==null){var g={payload:h,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){g.listeners.push(b)}};P.T!==null?i(!0):g.isTransition=!1,u(g),i=s.pending,i===null?(g.next=s.pending=g,Hx(s,g)):(g.next=i.next,s.pending=i.next=g)}}function Hx(n,s){var i=s.action,u=s.payload,h=n.state;if(s.isTransition){var g=P.T,b={};P.T=b;try{var N=i(h,u),R=P.S;R!==null&&R(b,N),qx(n,s,N)}catch(F){Zf(n,s,F)}finally{g!==null&&b.types!==null&&(g.types=b.types),P.T=g}}else try{g=i(h,u),qx(n,s,g)}catch(F){Zf(n,s,F)}}function qx(n,s,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(u){$x(n,s,u)},function(u){return Zf(n,s,u)}):$x(n,s,i)}function $x(n,s,i){s.status="fulfilled",s.value=i,Gx(s),n.state=i,s=n.pending,s!==null&&(i=s.next,i===s?n.pending=null:(i=i.next,s.next=i,Hx(n,i)))}function Zf(n,s,i){var u=n.pending;if(n.pending=null,u!==null){u=u.next;do s.status="rejected",s.reason=i,Gx(s),s=s.next;while(s!==u)}n.action=null}function Gx(n){n=n.listeners;for(var s=0;s<n.length;s++)(0,n[s])()}function Yx(n,s){return s}function Zx(n,s){if(Xe){var i=ht.formState;if(i!==null){e:{var u=Be;if(Xe){if(mt){t:{for(var h=mt,g=Ln;h.nodeType!==8;){if(!g){h=null;break t}if(h=Un(h.nextSibling),h===null){h=null;break t}}g=h.data,h=g==="F!"||g==="F"?h:null}if(h){mt=Un(h.nextSibling),u=h.data==="F!";break e}}os(u)}u=!1}u&&(s=i[0])}}return i=nn(),i.memoizedState=i.baseState=s,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yx,lastRenderedState:s},i.queue=u,i=hv.bind(null,Be,u),u.dispatch=i,u=Yf(!1),g=eh.bind(null,Be,!1,u.queue),u=nn(),h={state:s,dispatch:null,action:n,pending:null},u.queue=h,i=EA.bind(null,Be,h,g,i),h.dispatch=i,u.memoizedState=n,[s,i,!1]}function Kx(n){var s=Ct();return Xx(s,ut,n)}function Xx(n,s,i){if(s=$f(n,s,Yx)[0],n=wc(Pa)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var u=Ao(s)}catch(b){throw b===ti?dc:b}else u=s;s=Ct();var h=s.queue,g=h.dispatch;return i!==s.memoizedState&&(Be.flags|=2048,ii(9,{destroy:void 0},TA.bind(null,h,i),null)),[u,g,n]}function TA(n,s){n.action=s}function Qx(n){var s=Ct(),i=ut;if(i!==null)return Xx(s,i,n);Ct(),s=s.memoizedState,i=Ct();var u=i.queue.dispatch;return i.memoizedState=n,[s,u,!1]}function ii(n,s,i,u){return n={tag:n,create:i,deps:u,inst:s,next:null},s=Be.updateQueue,s===null&&(s=vc(),Be.updateQueue=s),i=s.lastEffect,i===null?s.lastEffect=n.next=n:(u=i.next,i.next=n,n.next=u,s.lastEffect=n),n}function Wx(){return Ct().memoizedState}function jc(n,s,i,u){var h=nn();Be.flags|=n,h.memoizedState=ii(1|s,{destroy:void 0},i,u===void 0?null:u)}function Nc(n,s,i,u){var h=Ct();u=u===void 0?null:u;var g=h.memoizedState.inst;ut!==null&&u!==null&&Bf(u,ut.memoizedState.deps)?h.memoizedState=ii(s,g,i,u):(Be.flags|=n,h.memoizedState=ii(1|s,g,i,u))}function Jx(n,s){jc(8390656,8,n,s)}function Kf(n,s){Nc(2048,8,n,s)}function AA(n){Be.flags|=4;var s=Be.updateQueue;if(s===null)s=vc(),Be.updateQueue=s,s.events=[n];else{var i=s.events;i===null?s.events=[n]:i.push(n)}}function ev(n){var s=Ct().memoizedState;return AA({ref:s,nextImpl:n}),function(){if((it&2)!==0)throw Error(r(440));return s.impl.apply(void 0,arguments)}}function tv(n,s){return Nc(4,2,n,s)}function nv(n,s){return Nc(4,4,n,s)}function av(n,s){if(typeof s=="function"){n=n();var i=s(n);return function(){typeof i=="function"?i():s(null)}}if(s!=null)return n=n(),s.current=n,function(){s.current=null}}function sv(n,s,i){i=i!=null?i.concat([n]):null,Nc(4,4,av.bind(null,s,n),i)}function Xf(){}function rv(n,s){var i=Ct();s=s===void 0?null:s;var u=i.memoizedState;return s!==null&&Bf(s,u[1])?u[0]:(i.memoizedState=[n,s],n)}function iv(n,s){var i=Ct();s=s===void 0?null:s;var u=i.memoizedState;if(s!==null&&Bf(s,u[1]))return u[0];if(u=n(),mr){ca(!0);try{n()}finally{ca(!1)}}return i.memoizedState=[u,s],u}function Qf(n,s,i){return i===void 0||(Va&1073741824)!==0&&(Ye&261930)===0?n.memoizedState=s:(n.memoizedState=i,n=ob(),Be.lanes|=n,gs|=n,i)}function ov(n,s,i,u){return xn(i,s)?i:ai.current!==null?(n=Qf(n,i,u),xn(n,s)||(At=!0),n):(Va&42)===0||(Va&1073741824)!==0&&(Ye&261930)===0?(At=!0,n.memoizedState=i):(n=ob(),Be.lanes|=n,gs|=n,s)}function lv(n,s,i,u,h){var g=$.p;$.p=g!==0&&8>g?g:8;var b=P.T,N={};P.T=N,eh(n,!1,s,i);try{var R=h(),F=P.S;if(F!==null&&F(N,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var K=NA(R,u);_o(n,s,K,Sn(n))}else _o(n,s,u,Sn(n))}catch(W){_o(n,s,{then:function(){},status:"rejected",reason:W},Sn())}finally{$.p=g,b!==null&&N.types!==null&&(b.types=N.types),P.T=b}}function _A(){}function Wf(n,s,i,u){if(n.tag!==5)throw Error(r(476));var h=cv(n).queue;lv(n,h,s,B,i===null?_A:function(){return uv(n),i(u)})}function cv(n){var s=n.memoizedState;if(s!==null)return s;s={memoizedState:B,baseState:B,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:B},next:null};var i={};return s.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:i},next:null},n.memoizedState=s,n=n.alternate,n!==null&&(n.memoizedState=s),s}function uv(n){var s=cv(n);s.next===null&&(s=n.alternate.memoizedState),_o(n,s.next.queue,{},Sn())}function Jf(){return $t(Go)}function dv(){return Ct().memoizedState}function fv(){return Ct().memoizedState}function RA(n){for(var s=n.return;s!==null;){switch(s.tag){case 24:case 3:var i=Sn();n=us(i);var u=ds(s,n,i);u!==null&&(pn(u,s,i),So(u,s,i)),s={cache:Af()},n.payload=s;return}s=s.return}}function kA(n,s,i){var u=Sn();i={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Sc(n)?mv(s,i):(i=yf(n,s,i,u),i!==null&&(pn(i,n,u),pv(i,s,u)))}function hv(n,s,i){var u=Sn();_o(n,s,i,u)}function _o(n,s,i,u){var h={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Sc(n))mv(s,h);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=s.lastRenderedReducer,g!==null))try{var b=s.lastRenderedState,N=g(b,i);if(h.hasEagerState=!0,h.eagerState=N,xn(N,b))return sc(n,s,h,0),ht===null&&ac(),!1}catch{}finally{}if(i=yf(n,s,h,u),i!==null)return pn(i,n,u),pv(i,s,u),!0}return!1}function eh(n,s,i,u){if(u={lane:2,revertLane:Mh(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Sc(n)){if(s)throw Error(r(479))}else s=yf(n,i,u,2),s!==null&&pn(s,n,2)}function Sc(n){var s=n.alternate;return n===Be||s!==null&&s===Be}function mv(n,s){si=yc=!0;var i=n.pending;i===null?s.next=s:(s.next=i.next,i.next=s),n.pending=s}function pv(n,s,i){if((i&4194048)!==0){var u=s.lanes;u&=n.pendingLanes,i|=u,s.lanes=i,by(n,i)}}var Ro={readContext:$t,use:bc,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useLayoutEffect:bt,useInsertionEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useSyncExternalStore:bt,useId:bt,useHostTransitionStatus:bt,useFormState:bt,useActionState:bt,useOptimistic:bt,useMemoCache:bt,useCacheRefresh:bt};Ro.useEffectEvent=bt;var gv={readContext:$t,use:bc,useCallback:function(n,s){return nn().memoizedState=[n,s===void 0?null:s],n},useContext:$t,useEffect:Jx,useImperativeHandle:function(n,s,i){i=i!=null?i.concat([n]):null,jc(4194308,4,av.bind(null,s,n),i)},useLayoutEffect:function(n,s){return jc(4194308,4,n,s)},useInsertionEffect:function(n,s){jc(4,2,n,s)},useMemo:function(n,s){var i=nn();s=s===void 0?null:s;var u=n();if(mr){ca(!0);try{n()}finally{ca(!1)}}return i.memoizedState=[u,s],u},useReducer:function(n,s,i){var u=nn();if(i!==void 0){var h=i(s);if(mr){ca(!0);try{i(s)}finally{ca(!1)}}}else h=s;return u.memoizedState=u.baseState=h,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:h},u.queue=n,n=n.dispatch=kA.bind(null,Be,n),[u.memoizedState,n]},useRef:function(n){var s=nn();return n={current:n},s.memoizedState=n},useState:function(n){n=Yf(n);var s=n.queue,i=hv.bind(null,Be,s);return s.dispatch=i,[n.memoizedState,i]},useDebugValue:Xf,useDeferredValue:function(n,s){var i=nn();return Qf(i,n,s)},useTransition:function(){var n=Yf(!1);return n=lv.bind(null,Be,n.queue,!0,!1),nn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,s,i){var u=Be,h=nn();if(Xe){if(i===void 0)throw Error(r(407));i=i()}else{if(i=s(),ht===null)throw Error(r(349));(Ye&127)!==0||zx(u,s,i)}h.memoizedState=i;var g={value:i,getSnapshot:s};return h.queue=g,Jx(Bx.bind(null,u,g,n),[n]),u.flags|=2048,ii(9,{destroy:void 0},Lx.bind(null,u,g,i,s),null),i},useId:function(){var n=nn(),s=ht.identifierPrefix;if(Xe){var i=da,u=ua;i=(u&~(1<<32-Qt(u)-1)).toString(32)+i,s="_"+s+"R_"+i,i=xc++,0<i&&(s+="H"+i.toString(32)),s+="_"}else i=SA++,s="_"+s+"r_"+i.toString(32)+"_";return n.memoizedState=s},useHostTransitionStatus:Jf,useFormState:Zx,useActionState:Zx,useOptimistic:function(n){var s=nn();s.memoizedState=s.baseState=n;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=i,s=eh.bind(null,Be,!0,i),i.dispatch=s,[n,s]},useMemoCache:qf,useCacheRefresh:function(){return nn().memoizedState=RA.bind(null,Be)},useEffectEvent:function(n){var s=nn(),i={impl:n};return s.memoizedState=i,function(){if((it&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}},th={readContext:$t,use:bc,useCallback:rv,useContext:$t,useEffect:Kf,useImperativeHandle:sv,useInsertionEffect:tv,useLayoutEffect:nv,useMemo:iv,useReducer:wc,useRef:Wx,useState:function(){return wc(Pa)},useDebugValue:Xf,useDeferredValue:function(n,s){var i=Ct();return ov(i,ut.memoizedState,n,s)},useTransition:function(){var n=wc(Pa)[0],s=Ct().memoizedState;return[typeof n=="boolean"?n:Ao(n),s]},useSyncExternalStore:Px,useId:dv,useHostTransitionStatus:Jf,useFormState:Kx,useActionState:Kx,useOptimistic:function(n,s){var i=Ct();return Fx(i,ut,n,s)},useMemoCache:qf,useCacheRefresh:fv};th.useEffectEvent=ev;var yv={readContext:$t,use:bc,useCallback:rv,useContext:$t,useEffect:Kf,useImperativeHandle:sv,useInsertionEffect:tv,useLayoutEffect:nv,useMemo:iv,useReducer:Gf,useRef:Wx,useState:function(){return Gf(Pa)},useDebugValue:Xf,useDeferredValue:function(n,s){var i=Ct();return ut===null?Qf(i,n,s):ov(i,ut.memoizedState,n,s)},useTransition:function(){var n=Gf(Pa)[0],s=Ct().memoizedState;return[typeof n=="boolean"?n:Ao(n),s]},useSyncExternalStore:Px,useId:dv,useHostTransitionStatus:Jf,useFormState:Qx,useActionState:Qx,useOptimistic:function(n,s){var i=Ct();return ut!==null?Fx(i,ut,n,s):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:qf,useCacheRefresh:fv};yv.useEffectEvent=ev;function nh(n,s,i,u){s=n.memoizedState,i=i(u,s),i=i==null?s:v({},s,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var ah={enqueueSetState:function(n,s,i){n=n._reactInternals;var u=Sn(),h=us(u);h.payload=s,i!=null&&(h.callback=i),s=ds(n,h,u),s!==null&&(pn(s,n,u),So(s,n,u))},enqueueReplaceState:function(n,s,i){n=n._reactInternals;var u=Sn(),h=us(u);h.tag=1,h.payload=s,i!=null&&(h.callback=i),s=ds(n,h,u),s!==null&&(pn(s,n,u),So(s,n,u))},enqueueForceUpdate:function(n,s){n=n._reactInternals;var i=Sn(),u=us(i);u.tag=2,s!=null&&(u.callback=s),s=ds(n,u,i),s!==null&&(pn(s,n,i),So(s,n,i))}};function xv(n,s,i,u,h,g,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,g,b):s.prototype&&s.prototype.isPureReactComponent?!go(i,u)||!go(h,g):!0}function vv(n,s,i,u){n=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(i,u),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(i,u),s.state!==n&&ah.enqueueReplaceState(s,s.state,null)}function pr(n,s){var i=s;if("ref"in s){i={};for(var u in s)u!=="ref"&&(i[u]=s[u])}if(n=n.defaultProps){i===s&&(i=v({},i));for(var h in n)i[h]===void 0&&(i[h]=n[h])}return i}function bv(n){nc(n)}function wv(n){console.error(n)}function jv(n){nc(n)}function Cc(n,s){try{var i=n.onUncaughtError;i(s.value,{componentStack:s.stack})}catch(u){setTimeout(function(){throw u})}}function Nv(n,s,i){try{var u=n.onCaughtError;u(i.value,{componentStack:i.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function sh(n,s,i){return i=us(i),i.tag=3,i.payload={element:null},i.callback=function(){Cc(n,s)},i}function Sv(n){return n=us(n),n.tag=3,n}function Cv(n,s,i,u){var h=i.type.getDerivedStateFromError;if(typeof h=="function"){var g=u.value;n.payload=function(){return h(g)},n.callback=function(){Nv(s,i,u)}}var b=i.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(n.callback=function(){Nv(s,i,u),typeof h!="function"&&(ys===null?ys=new Set([this]):ys.add(this));var N=u.stack;this.componentDidCatch(u.value,{componentStack:N!==null?N:""})})}function MA(n,s,i,u,h){if(i.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(s=i.alternate,s!==null&&Wr(s,i,h,!0),i=bn.current,i!==null){switch(i.tag){case 31:case 13:return Bn===null?zc():i.alternate===null&&wt===0&&(wt=3),i.flags&=-257,i.flags|=65536,i.lanes=h,u===fc?i.flags|=16384:(s=i.updateQueue,s===null?i.updateQueue=new Set([u]):s.add(u),_h(n,u,h)),!1;case 22:return i.flags|=65536,u===fc?i.flags|=16384:(s=i.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([u])},i.updateQueue=s):(i=s.retryQueue,i===null?s.retryQueue=new Set([u]):i.add(u)),_h(n,u,h)),!1}throw Error(r(435,i.tag))}return _h(n,u,h),zc(),!1}if(Xe)return s=bn.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=h,u!==Nf&&(n=Error(r(422),{cause:u}),vo(Vn(n,i)))):(u!==Nf&&(s=Error(r(423),{cause:u}),vo(Vn(s,i))),n=n.current.alternate,n.flags|=65536,h&=-h,n.lanes|=h,u=Vn(u,i),h=sh(n.stateNode,u,h),Df(n,h),wt!==4&&(wt=2)),!1;var g=Error(r(520),{cause:u});if(g=Vn(g,i),Lo===null?Lo=[g]:Lo.push(g),wt!==4&&(wt=2),s===null)return!0;u=Vn(u,i),i=s;do{switch(i.tag){case 3:return i.flags|=65536,n=h&-h,i.lanes|=n,n=sh(i.stateNode,u,n),Df(i,n),!1;case 1:if(s=i.type,g=i.stateNode,(i.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(ys===null||!ys.has(g))))return i.flags|=65536,h&=-h,i.lanes|=h,h=Sv(h),Cv(h,n,i,u),Df(i,h),!1}i=i.return}while(i!==null);return!1}var rh=Error(r(461)),At=!1;function Gt(n,s,i,u){s.child=n===null?_x(s,null,i,u):hr(s,n.child,i,u)}function Ev(n,s,i,u,h){i=i.render;var g=s.ref;if("ref"in u){var b={};for(var N in u)N!=="ref"&&(b[N]=u[N])}else b=u;
vendor: 14,316 bytes, line 48
48return cr(s),u=Uf(n,s,i,b,g,h),N=If(),n!==null&&!At?(Ff(n,s,h),za(n,s,h)):(Xe&&N&&wf(s),s.flags|=1,Gt(n,s,u,h),s.child)}function Tv(n,s,i,u,h){if(n===null){var g=i.type;return typeof g=="function"&&!xf(g)&&g.defaultProps===void 0&&i.compare===null?(s.tag=15,s.type=g,Av(n,s,g,u,h)):(n=ic(i.type,null,u,s,s.mode,h),n.ref=s.ref,n.return=s,s.child=n)}if(g=n.child,!hh(n,h)){var b=g.memoizedProps;if(i=i.compare,i=i!==null?i:go,i(b,u)&&n.ref===s.ref)return za(n,s,h)}return s.flags|=1,n=ka(g,u),n.ref=s.ref,n.return=s,s.child=n}function Av(n,s,i,u,h){if(n!==null){var g=n.memoizedProps;if(go(g,u)&&n.ref===s.ref)if(At=!1,s.pendingProps=u=g,hh(n,h))(n.flags&131072)!==0&&(At=!0);else return s.lanes=n.lanes,za(n,s,h)}return ih(n,s,i,u,h)}function _v(n,s,i,u){var h=u.children,g=n!==null?n.memoizedState:null;if(n===null&&s.stateNode===null&&(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((s.flags&128)!==0){if(g=g!==null?g.baseLanes|i:i,n!==null){for(u=s.child=n.child,h=0;u!==null;)h=h|u.lanes|u.childLanes,u=u.sibling;u=h&~g}else u=0,s.child=null;return Rv(n,s,g,i,u)}if((i&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},n!==null&&uc(s,g!==null?g.cachePool:null),g!==null?Mx(s,g):Pf(),Ox(s);else return u=s.lanes=536870912,Rv(n,s,g!==null?g.baseLanes|i:i,i,u)}else g!==null?(uc(s,g.cachePool),Mx(s,g),hs(),s.memoizedState=null):(n!==null&&uc(s,null),Pf(),hs());return Gt(n,s,h,i),s.child}function ko(n,s){return n!==null&&n.tag===22||s.stateNode!==null||(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.sibling}function Rv(n,s,i,u,h){var g=Rf();return g=g===null?null:{parent:Et._currentValue,pool:g},s.memoizedState={baseLanes:i,cachePool:g},n!==null&&uc(s,null),Pf(),Ox(s),n!==null&&Wr(n,s,u,!0),s.childLanes=h,null}function Ec(n,s){return s=Ac({mode:s.mode,children:s.children},n.mode),s.ref=n.ref,n.child=s,s.return=n,s}function kv(n,s,i){return hr(s,n.child,null,i),n=Ec(s,s.pendingProps),n.flags|=2,wn(s),s.memoizedState=null,n}function OA(n,s,i){var u=s.pendingProps,h=(s.flags&128)!==0;if(s.flags&=-129,n===null){if(Xe){if(u.mode==="hidden")return n=Ec(s,u),s.lanes=536870912,ko(null,n);if(Lf(s),(n=mt)?(n=Hb(n,Ln),n=n!==null&&n.data==="&"?n:null,n!==null&&(s.memoizedState={dehydrated:n,treeContext:rs!==null?{id:ua,overflow:da}:null,retryLane:536870912,hydrationErrors:null},i=mx(n),i.return=s,s.child=i,qt=s,mt=null)):n=null,n===null)throw os(s);return s.lanes=536870912,null}return Ec(s,u)}var g=n.memoizedState;if(g!==null){var b=g.dehydrated;if(Lf(s),h)if(s.flags&256)s.flags&=-257,s=kv(n,s,i);else if(s.memoizedState!==null)s.child=n.child,s.flags|=128,s=null;else throw Error(r(558));else if(At||Wr(n,s,i,!1),h=(i&n.childLanes)!==0,At||h){if(u=ht,u!==null&&(b=wy(u,i),b!==0&&b!==g.retryLane))throw g.retryLane=b,rr(n,b),pn(u,n,b),rh;zc(),s=kv(n,s,i)}else n=g.treeContext,mt=Un(b.nextSibling),qt=s,Xe=!0,is=null,Ln=!1,n!==null&&yx(s,n),s=Ec(s,u),s.flags|=4096;return s}return n=ka(n.child,{mode:u.mode,children:u.children}),n.ref=s.ref,s.child=n,n.return=s,n}function Tc(n,s){var i=s.ref;if(i===null)n!==null&&n.ref!==null&&(s.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(r(284));(n===null||n.ref!==i)&&(s.flags|=4194816)}}function ih(n,s,i,u,h){return cr(s),i=Uf(n,s,i,u,void 0,h),u=If(),n!==null&&!At?(Ff(n,s,h),za(n,s,h)):(Xe&&u&&wf(s),s.flags|=1,Gt(n,s,i,h),s.child)}function Mv(n,s,i,u,h,g){return cr(s),s.updateQueue=null,i=Vx(s,u,i,h),Dx(n),u=If(),n!==null&&!At?(Ff(n,s,g),za(n,s,g)):(Xe&&u&&wf(s),s.flags|=1,Gt(n,s,i,g),s.child)}function Ov(n,s,i,u,h){if(cr(s),s.stateNode===null){var g=Zr,b=i.contextType;typeof b=="object"&&b!==null&&(g=$t(b)),g=new i(u,g),s.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=ah,s.stateNode=g,g._reactInternals=s,g=s.stateNode,g.props=u,g.state=s.memoizedState,g.refs={},Mf(s),b=i.contextType,g.context=typeof b=="object"&&b!==null?$t(b):Zr,g.state=s.memoizedState,b=i.getDerivedStateFromProps,typeof b=="function"&&(nh(s,i,b,u),g.state=s.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(b=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),b!==g.state&&ah.enqueueReplaceState(g,g.state,null),Eo(s,u,g,h),Co(),g.state=s.memoizedState),typeof g.componentDidMount=="function"&&(s.flags|=4194308),u=!0}else if(n===null){g=s.stateNode;var N=s.memoizedProps,R=pr(i,N);g.props=R;var F=g.context,K=i.contextType;b=Zr,typeof K=="object"&&K!==null&&(b=$t(K));var W=i.getDerivedStateFromProps;K=typeof W=="function"||typeof g.getSnapshotBeforeUpdate=="function",N=s.pendingProps!==N,K||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(N||F!==b)&&vv(s,g,u,b),cs=!1;var q=s.memoizedState;g.state=q,Eo(s,u,g,h),Co(),F=s.memoizedState,N||q!==F||cs?(typeof W=="function"&&(nh(s,i,W,u),F=s.memoizedState),(R=cs||xv(s,i,R,u,q,F,b))?(K||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(s.flags|=4194308)):(typeof g.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=u,s.memoizedState=F),g.props=u,g.state=F,g.context=b,u=R):(typeof g.componentDidMount=="function"&&(s.flags|=4194308),u=!1)}else{g=s.stateNode,Of(n,s),b=s.memoizedProps,K=pr(i,b),g.props=K,W=s.pendingProps,q=g.context,F=i.contextType,R=Zr,typeof F=="object"&&F!==null&&(R=$t(F)),N=i.getDerivedStateFromProps,(F=typeof N=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(b!==W||q!==R)&&vv(s,g,u,R),cs=!1,q=s.memoizedState,g.state=q,Eo(s,u,g,h),Co();var Y=s.memoizedState;b!==W||q!==Y||cs||n!==null&&n.dependencies!==null&&lc(n.dependencies)?(typeof N=="function"&&(nh(s,i,N,u),Y=s.memoizedState),(K=cs||xv(s,i,K,u,q,Y,R)||n!==null&&n.dependencies!==null&&lc(n.dependencies))?(F||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,Y,R),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,Y,R)),typeof g.componentDidUpdate=="function"&&(s.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof g.componentDidUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(s.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(s.flags|=1024),s.memoizedProps=u,s.memoizedState=Y),g.props=u,g.state=Y,g.context=R,u=K):(typeof g.componentDidUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(s.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(s.flags|=1024),u=!1)}return g=u,Tc(n,s),u=(s.flags&128)!==0,g||u?(g=s.stateNode,i=u&&typeof i.getDerivedStateFromError!="function"?null:g.render(),s.flags|=1,n!==null&&u?(s.child=hr(s,n.child,null,h),s.child=hr(s,null,i,h)):Gt(n,s,i,h),s.memoizedState=g.state,n=s.child):n=za(n,s,h),n}function Dv(n,s,i,u){return or(),s.flags|=256,Gt(n,s,i,u),s.child}var oh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function lh(n){return{baseLanes:n,cachePool:Nx()}}function ch(n,s,i){return n=n!==null?n.childLanes&~i:0,s&&(n|=Nn),n}function Vv(n,s,i){var u=s.pendingProps,h=!1,g=(s.flags&128)!==0,b;if((b=g)||(b=n!==null&&n.memoizedState===null?!1:(St.current&2)!==0),b&&(h=!0,s.flags&=-129),b=(s.flags&32)!==0,s.flags&=-33,n===null){if(Xe){if(h?fs(s):hs(),(n=mt)?(n=Hb(n,Ln),n=n!==null&&n.data!=="&"?n:null,n!==null&&(s.memoizedState={dehydrated:n,treeContext:rs!==null?{id:ua,overflow:da}:null,retryLane:536870912,hydrationErrors:null},i=mx(n),i.return=s,s.child=i,qt=s,mt=null)):n=null,n===null)throw os(s);return $h(n)?s.lanes=32:s.lanes=536870912,null}var N=u.children;return u=u.fallback,h?(hs(),h=s.mode,N=Ac({mode:"hidden",children:N},h),u=ir(u,h,i,null),N.return=s,u.return=s,N.sibling=u,s.child=N,u=s.child,u.memoizedState=lh(i),u.childLanes=ch(n,b,i),s.memoizedState=oh,ko(null,u)):(fs(s),uh(s,N))}var R=n.memoizedState;if(R!==null&&(N=R.dehydrated,N!==null)){if(g)s.flags&256?(fs(s),s.flags&=-257,s=dh(n,s,i)):s.memoizedState!==null?(hs(),s.child=n.child,s.flags|=128,s=null):(hs(),N=u.fallback,h=s.mode,u=Ac({mode:"visible",children:u.children},h),N=ir(N,h,i,null),N.flags|=2,u.return=s,N.return=s,u.sibling=N,s.child=u,hr(s,n.child,null,i),u=s.child,u.memoizedState=lh(i),u.childLanes=ch(n,b,i),s.memoizedState=oh,s=ko(null,u));else if(fs(s),$h(N)){if(b=N.nextSibling&&N.nextSibling.dataset,b)var F=b.dgst;b=F,u=Error(r(419)),u.stack="",u.digest=b,vo({value:u,source:null,stack:null}),s=dh(n,s,i)}else if(At||Wr(n,s,i,!1),b=(i&n.childLanes)!==0,At||b){if(b=ht,b!==null&&(u=wy(b,i),u!==0&&u!==R.retryLane))throw R.retryLane=u,rr(n,u),pn(b,n,u),rh;qh(N)||zc(),s=dh(n,s,i)}else qh(N)?(s.flags|=192,s.child=n.child,s=null):(n=R.treeContext,mt=Un(N.nextSibling),qt=s,Xe=!0,is=null,Ln=!1,n!==null&&yx(s,n),s=uh(s,u.children),s.flags|=4096);return s}return h?(hs(),N=u.fallback,h=s.mode,R=n.child,F=R.sibling,u=ka(R,{mode:"hidden",children:u.children}),u.subtreeFlags=R.subtreeFlags&65011712,F!==null?N=ka(F,N):(N=ir(N,h,i,null),N.flags|=2),N.return=s,u.return=s,u.sibling=N,s.child=u,ko(null,u),u=s.child,N=n.child.memoizedState,N===null?N=lh(i):(h=N.cachePool,h!==null?(R=Et._currentValue,h=h.parent!==R?{parent:R,pool:R}:h):h=Nx(),N={baseLanes:N.baseLanes|i,cachePool:h}),u.memoizedState=N,u.childLanes=ch(n,b,i),s.memoizedState=oh,ko(n.child,u)):(fs(s),i=n.child,n=i.sibling,i=ka(i,{mode:"visible",children:u.children}),i.return=s,i.sibling=null,n!==null&&(b=s.deletions,b===null?(s.deletions=[n],s.flags|=16):b.push(n)),s.child=i,s.memoizedState=null,i)}function uh(n,s){return s=Ac({mode:"visible",children:s},n.mode),s.return=n,n.child=s}function Ac(n,s){return n=vn(22,n,null,s),n.lanes=0,n}function dh(n,s,i){return hr(s,n.child,null,i),n=uh(s,s.pendingProps.children),n.flags|=2,s.memoizedState=null,n}function Pv(n,s,i){n.lanes|=s;var u=n.alternate;u!==null&&(u.lanes|=s),Ef(n.return,s,i)}function fh(n,s,i,u,h,g){var b=n.memoizedState;b===null?n.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:h,treeForkCount:g}:(b.isBackwards=s,b.rendering=null,b.renderingStartTime=0,b.last=u,b.tail=i,b.tailMode=h,b.treeForkCount=g)}function zv(n,s,i){var u=s.pendingProps,h=u.revealOrder,g=u.tail;u=u.children;var b=St.current,N=(b&2)!==0;if(N?(b=b&1|2,s.flags|=128):b&=1,ee(St,b),Gt(n,s,u,i),u=Xe?xo:0,!N&&n!==null&&(n.flags&128)!==0)e:for(n=s.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Pv(n,i,s);else if(n.tag===19)Pv(n,i,s);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===s)break e;for(;n.sibling===null;){if(n.return===null||n.return===s)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(h){case"forwards":for(i=s.child,h=null;i!==null;)n=i.alternate,n!==null&&gc(n)===null&&(h=i),i=i.sibling;i=h,i===null?(h=s.child,s.child=null):(h=i.sibling,i.sibling=null),fh(s,!1,h,i,g,u);break;case"backwards":case"unstable_legacy-backwards":for(i=null,h=s.child,s.child=null;h!==null;){if(n=h.alternate,n!==null&&gc(n)===null){s.child=h;break}n=h.sibling,h.sibling=i,i=h,h=n}fh(s,!0,i,null,g,u);break;case"together":fh(s,!1,null,null,void 0,u);break;default:s.memoizedState=null}return s.child}function za(n,s,i){if(n!==null&&(s.dependencies=n.dependencies),gs|=s.lanes,(i&s.childLanes)===0)if(n!==null){if(Wr(n,s,i,!1),(i&s.childLanes)===0)return null}else return null;if(n!==null&&s.child!==n.child)throw Error(r(153));if(s.child!==null){for(n=s.child,i=ka(n,n.pendingProps),s.child=i,i.return=s;n.sibling!==null;)n=n.sibling,i=i.sibling=ka(n,n.pendingProps),i.return=s;i.sibling=null}return s.child}function hh(n,s){return(n.lanes&s)!==0?!0:(n=n.dependencies,!!(n!==null&&lc(n)))}function DA(n,s,i){switch(s.tag){case 3:De(s,s.stateNode.containerInfo),ls(s,Et,n.memoizedState.cache),or();break;case 27:case 5:Fe(s);break;case 4:De(s,s.stateNode.containerInfo);break;case 10:ls(s,s.type,s.memoizedProps.value);break;case 31:if(s.memoizedState!==null)return s.flags|=128,Lf(s),null;break;case 13:var u=s.memoizedState;if(u!==null)return u.dehydrated!==null?(fs(s),s.flags|=128,null):(i&s.child.childLanes)!==0?Vv(n,s,i):(fs(s),n=za(n,s,i),n!==null?n.sibling:null);fs(s);break;case 19:var h=(n.flags&128)!==0;if(u=(i&s.childLanes)!==0,u||(Wr(n,s,i,!1),u=(i&s.childLanes)!==0),h){if(u)return zv(n,s,i);s.flags|=128}if(h=s.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),ee(St,St.current),u)break;return null;case 22:return s.lanes=0,_v(n,s,i,s.pendingProps);case 24:ls(s,Et,n.memoizedState.cache)}return za(n,s,i)}function Lv(n,s,i){if(n!==null)if(n.memoizedProps!==s.pendingProps)At=!0;else{if(!hh(n,i)&&(s.flags&128)===0)return At=!1,DA(n,s,i);At=(n.flags&131072)!==0}else At=!1,Xe&&(s.flags&1048576)!==0&&gx(s,xo,s.index);switch(s.lanes=0,s.tag){case 16:e:{var u=s.pendingProps;if(n=dr(s.elementType),s.type=n,typeof n=="function")xf(n)?(u=pr(n,u),s.tag=1,s=Ov(null,s,n,u,i)):(s.tag=0,s=ih(null,s,n,u,i));else{if(n!=null){var h=n.$$typeof;if(h===D){s.tag=11,s=Ev(null,s,n,u,i);break e}else if(h===z){s.tag=14,s=Tv(null,s,n,u,i);break e}}throw s=J(n)||n,Error(r(306,s,""))}}return s;case 0:return ih(n,s,s.type,s.pendingProps,i);case 1:return u=s.type,h=pr(u,s.pendingProps),Ov(n,s,u,h,i);case 3:e:{if(De(s,s.stateNode.containerInfo),n===null)throw Error(r(387));u=s.pendingProps;var g=s.memoizedState;h=g.element,Of(n,s),Eo(s,u,null,i);var b=s.memoizedState;if(u=b.cache,ls(s,Et,u),u!==g.cache&&Tf(s,[Et],i,!0),Co(),u=b.element,g.isDehydrated)if(g={element:u,isDehydrated:!1,cache:b.cache},s.updateQueue.baseState=g,s.memoizedState=g,s.flags&256){s=Dv(n,s,u,i);break e}else if(u!==h){h=Vn(Error(r(424)),s),vo(h),s=Dv(n,s,u,i);break e}else{switch(n=s.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}
vendor: 2,348 bytes, line 48
48for(mt=Un(n.firstChild),qt=s,Xe=!0,is=null,Ln=!0,i=_x(s,null,u,i),s.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(or(),u===h){s=za(n,s,i);break e}Gt(n,s,u,i)}s=s.child}return s;case 26:return Tc(n,s),n===null?(i=Kb(s.type,null,s.pendingProps,null))?s.memoizedState=i:Xe||(i=s.type,n=s.pendingProps,u=qc(ke.current).createElement(i),u[Ht]=s,u[cn]=n,Yt(u,i,n),Bt(u),s.stateNode=u):s.memoizedState=Kb(s.type,n.memoizedProps,s.pendingProps,n.memoizedState),null;case 27:return Fe(s),n===null&&Xe&&(u=s.stateNode=Gb(s.type,s.pendingProps,ke.current),qt=s,Ln=!0,h=mt,ws(s.type)?(Gh=h,mt=Un(u.firstChild)):mt=h),Gt(n,s,s.pendingProps.children,i),Tc(n,s),n===null&&(s.flags|=4194304),s.child;case 5:return n===null&&Xe&&((h=u=mt)&&(u=u_(u,s.type,s.pendingProps,Ln),u!==null?(s.stateNode=u,qt=s,mt=Un(u.firstChild),Ln=!1,h=!0):h=!1),h||os(s)),Fe(s),h=s.type,g=s.pendingProps,b=n!==null?n.memoizedProps:null,u=g.children,Ih(h,g)?u=null:b!==null&&Ih(h,b)&&(s.flags|=32),s.memoizedState!==null&&(h=Uf(n,s,CA,null,null,i),Go._currentValue=h),Tc(n,s),Gt(n,s,u,i),s.child;case 6:return n===null&&Xe&&((n=i=mt)&&(i=d_(i,s.pendingProps,Ln),i!==null?(s.stateNode=i,qt=s,mt=null,n=!0):n=!1),n||os(s)),null;case 13:return Vv(n,s,i);case 4:return De(s,s.stateNode.containerInfo),u=s.pendingProps,n===null?s.child=hr(s,null,u,i):Gt(n,s,u,i),s.child;case 11:return Ev(n,s,s.type,s.pendingProps,i);case 7:return Gt(n,s,s.pendingProps,i),s.child;case 8:return Gt(n,s,s.pendingProps.children,i),s.child;case 12:return Gt(n,s,s.pendingProps.children,i),s.child;case 10:return u=s.pendingProps,ls(s,s.type,u.value),Gt(n,s,u.children,i),s.child;case 9:return h=s.type._context,u=s.pendingProps.children,cr(s),h=$t(h),u=u(h),s.flags|=1,Gt(n,s,u,i),s.child;case 14:return Tv(n,s,s.type,s.pendingProps,i);case 15:return Av(n,s,s.type,s.pendingProps,i);case 19:return zv(n,s,i);case 31:return OA(n,s,i);case 22:return _v(n,s,i,s.pendingProps);case 24:return cr(s),u=$t(Et),n===null?(h=Rf(),h===null&&(h=ht,g=Af(),h.pooledCache=g,g.refCount++,g!==null&&(h.pooledCacheLanes|=i),h=g),s.memoizedState={parent:u,cache:h},Mf(s),ls(s,Et,h)):((n.lanes&i)!==0&&(Of(n,s),Eo(s,null,null,i),Co()),h=n.memoizedState,g=s.memoizedState,h.parent!==u?(h={parent:u,cache:u},s.memoizedState=h,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=h),ls(s,Et,u)):(u=g.cache,ls(s,Et,u),u!==h.c
vendor: 9,096 bytes, line 48
48ache&&Tf(s,[Et],i,!0))),Gt(n,s,s.pendingProps.children,i),s.child;case 29:throw s.pendingProps}throw Error(r(156,s.tag))}function La(n){n.flags|=4}function mh(n,s,i,u,h){if((s=(n.mode&32)!==0)&&(s=!1),s){if(n.flags|=16777216,(h&335544128)===h)if(n.stateNode.complete)n.flags|=8192;else if(db())n.flags|=8192;else throw fr=fc,kf}else n.flags&=-16777217}function Bv(n,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!e0(s))if(db())n.flags|=8192;else throw fr=fc,kf}function _c(n,s){s!==null&&(n.flags|=4),n.flags&16384&&(s=n.tag!==22?xy():536870912,n.lanes|=s,ui|=s)}function Mo(n,s){if(!Xe)switch(n.tailMode){case"hidden":s=n.tail;for(var i=null;s!==null;)s.alternate!==null&&(i=s),s=s.sibling;i===null?n.tail=null:i.sibling=null;break;case"collapsed":i=n.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?s||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function pt(n){var s=n.alternate!==null&&n.alternate.child===n.child,i=0,u=0;if(s)for(var h=n.child;h!==null;)i|=h.lanes|h.childLanes,u|=h.subtreeFlags&65011712,u|=h.flags&65011712,h.return=n,h=h.sibling;else for(h=n.child;h!==null;)i|=h.lanes|h.childLanes,u|=h.subtreeFlags,u|=h.flags,h.return=n,h=h.sibling;return n.subtreeFlags|=u,n.childLanes=i,s}function VA(n,s,i){var u=s.pendingProps;switch(jf(s),s.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(s),null;case 1:return pt(s),null;case 3:return i=s.stateNode,u=null,n!==null&&(u=n.memoizedState.cache),s.memoizedState.cache!==u&&(s.flags|=2048),Da(Et),Oe(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(Qr(s)?La(s):n===null||n.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,Sf())),pt(s),null;case 26:var h=s.type,g=s.memoizedState;return n===null?(La(s),g!==null?(pt(s),Bv(s,g)):(pt(s),mh(s,h,null,u,i))):g?g!==n.memoizedState?(La(s),pt(s),Bv(s,g)):(pt(s),s.flags&=-16777217):(n=n.memoizedProps,n!==u&&La(s),pt(s),mh(s,h,n,u,i)),null;case 27:if(Ke(s),i=ke.current,h=s.type,n!==null&&s.stateNode!=null)n.memoizedProps!==u&&La(s);else{if(!u){if(s.stateNode===null)throw Error(r(166));return pt(s),null}n=se.current,Qr(s)?xx(s):(n=Gb(h,u,i),s.stateNode=n,La(s))}return pt(s),null;case 5:if(Ke(s),h=s.type,n!==null&&s.stateNode!=null)n.memoizedProps!==u&&La(s);else{if(!u){if(s.stateNode===null)throw Error(r(166));return pt(s),null}if(g=se.current,Qr(s))xx(s);else{var b=qc(ke.current);switch(g){case 1:g=b.createElementNS("http://www.w3.org/2000/svg",h);break;case 2:g=b.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;default:switch(h){case"svg":g=b.createElementNS("http://www.w3.org/2000/svg",h);break;case"math":g=b.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;case"script":g=b.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof u.is=="string"?b.createElement("select",{is:u.is}):b.createElement("select"),u.multiple?g.multiple=!0:u.size&&(g.size=u.size);break;default:g=typeof u.is=="string"?b.createElement(h,{is:u.is}):b.createElement(h)}}g[Ht]=s,g[cn]=u;e:for(b=s.child;b!==null;){if(b.tag===5||b.tag===6)g.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===s)break e;for(;b.sibling===null;){if(b.return===null||b.return===s)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}s.stateNode=g;e:switch(Yt(g,h,u),h){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&La(s)}}return pt(s),mh(s,s.type,n===null?null:n.memoizedProps,s.pendingProps,i),null;case 6:if(n&&s.stateNode!=null)n.memoizedProps!==u&&La(s);else{if(typeof u!="string"&&s.stateNode===null)throw Error(r(166));if(n=ke.current,Qr(s)){if(n=s.stateNode,i=s.memoizedProps,u=null,h=qt,h!==null)switch(h.tag){case 27:case 5:u=h.memoizedProps}n[Ht]=s,n=!!(n.nodeValue===i||u!==null&&u.suppressHydrationWarning===!0||Vb(n.nodeValue,i)),n||os(s,!0)}else n=qc(n).createTextNode(u),n[Ht]=s,s.stateNode=n}return pt(s),null;case 31:if(i=s.memoizedState,n===null||n.memoizedState!==null){if(u=Qr(s),i!==null){if(n===null){if(!u)throw Error(r(318));if(n=s.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(557));n[Ht]=s}else or(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;pt(s),n=!1}else i=Sf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return s.flags&256?(wn(s),s):(wn(s),null);if((s.flags&128)!==0)throw Error(r(558))}return pt(s),null;case 13:if(u=s.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(h=Qr(s),u!==null&&u.dehydrated!==null){if(n===null){if(!h)throw Error(r(318));if(h=s.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(r(317));h[Ht]=s}else or(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;pt(s),h=!1}else h=Sf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=h),h=!0;if(!h)return s.flags&256?(wn(s),s):(wn(s),null)}return wn(s),(s.flags&128)!==0?(s.lanes=i,s):(i=u!==null,n=n!==null&&n.memoizedState!==null,i&&(u=s.child,h=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(h=u.alternate.memoizedState.cachePool.pool),g=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(g=u.memoizedState.cachePool.pool),g!==h&&(u.flags|=2048)),i!==n&&i&&(s.child.flags|=8192),_c(s,s.updateQueue),pt(s),null);case 4:return Oe(),n===null&&Ph(s.stateNode.containerInfo),pt(s),null;case 10:return Da(s.type),pt(s),null;case 19:if(Z(St),u=s.memoizedState,u===null)return pt(s),null;if(h=(s.flags&128)!==0,g=u.rendering,g===null)if(h)Mo(u,!1);else{if(wt!==0||n!==null&&(n.flags&128)!==0)for(n=s.child;n!==null;){if(g=gc(n),g!==null){for(s.flags|=128,Mo(u,!1),n=g.updateQueue,s.updateQueue=n,_c(s,n),s.subtreeFlags=0,n=i,i=s.child;i!==null;)hx(i,n),i=i.sibling;return ee(St,St.current&1|2),Xe&&Ma(s,u.treeForkCount),s.child}n=n.sibling}u.tail!==null&&ne()>Dc&&(s.flags|=128,h=!0,Mo(u,!1),s.lanes=4194304)}else{if(!h)if(n=gc(g),n!==null){if(s.flags|=128,h=!0,n=n.updateQueue,s.updateQueue=n,_c(s,n),Mo(u,!0),u.tail===null&&u.tailMode==="hidden"&&!g.alternate&&!Xe)return pt(s),null}else 2*ne()-u.renderingStartTime>Dc&&i!==536870912&&(s.flags|=128,h=!0,Mo(u,!1),s.lanes=4194304);u.isBackwards?(g.sibling=s.child,s.child=g):(n=u.last,n!==null?n.sibling=g:s.child=g,u.last=g)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=ne(),n.sibling=null,i=St.current,ee(St,h?i&1|2:i&1),Xe&&Ma(s,u.treeForkCount),n):(pt(s),null);case 22:case 23:return wn(s),zf(),u=s.memoizedState!==null,n!==null?n.memoizedState!==null!==u&&(s.flags|=8192):u&&(s.flags|=8192),u?(i&536870912)!==0&&(s.flags&128)===0&&(pt(s),s.subtreeFlags&6&&(s.flags|=8192)):pt(s),i=s.updateQueue,i!==null&&_c(s,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),u=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(u=s.memoizedState.cachePool.pool),u!==i&&(s.flags|=2048),n!==null&&Z(ur),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),s.memoizedState.cache!==i&&(s.flags|=2048),Da(Et),pt(s),null;case 25:return null;case 30:return null}throw Error(r(156,s.tag))}function PA(n,s){switch(jf(s),s.tag){case 1:return n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 3:return Da(Et),Oe(),n=s.flags,(n&65536)!==0&&(n&128)===0?(s.flags=n&-65537|128,s):null;case 26:case 27:case 5:return Ke(s),null;case 31:if(s.memoizedState!==null){if(wn(s),s.alternate===null)throw Error(r(340));or()}return n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 13:if(wn(s),n=s.memoizedState,n!==null&&n.dehydrated!==null){if(s.alternate===null)throw Error(r(340));or()}return n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 19:return Z(St),null;case 4:return Oe(),null;case 10:return Da(s.type),null;case 22:case 23:return wn(s),zf(),n!==null&&Z(ur),n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 24:return Da(Et),null;case 25:return null;default:return null}}function Uv(n,s){switch(jf(s),s.tag){case 3:Da(Et),Oe();break;case 26:case 27:case 5:Ke(s);break;case 4:Oe();break;case 31:s.memoizedState!==null&&wn(s);break;case 13:wn(s);break;case 19:Z(St);break;case 10:Da(s.type);break;case 22:case 23:wn(s),zf(),n!==null&&Z(ur);break;case 24:Da(Et)}}function Oo(n,s){try{var i=s.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var h=u.next;i=h;do{if((i.tag&n)===n){u=void 0;var g=i.create,b=i.inst;u=g(),b.destroy=u}i=i.next}while(i!==h)}}catch(N){lt(s,s.return,N)}}function ms(n,s,i){try{var u=s.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var g=h.next;u=g;do{if((u.tag&n)===n){var b=u.inst,N=b.destroy;if(N!==void 0){b.destroy=void 0,h=s;var R=i,F=N;try{F()}catch(K){lt(h,R,K)}}}u=u.next}while(u!==g)}}catch(K){lt(s,s.return,K)}}function Iv(n){var s=n.updateQueue;if(s!==null){var i=n.stateNode;try{kx(s,i)}catch(u){lt(n,n.return,u)}}}function Fv(n,s,i){i.props=pr(n.type,n.memoizedProps),i.state=n.memoizedState;
vendor: 18,675 bytes, line 48
48try{i.componentWillUnmount()}catch(u){lt(n,s,u)}}function Do(n,s){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var u=n.stateNode;break;case 30:u=n.stateNode;break;default:u=n.stateNode}typeof i=="function"?n.refCleanup=i(u):i.current=u}}catch(h){lt(n,s,h)}}function fa(n,s){var i=n.ref,u=n.refCleanup;if(i!==null)if(typeof u=="function")try{u()}catch(h){lt(n,s,h)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(h){lt(n,s,h)}else i.current=null}function Hv(n){var s=n.type,i=n.memoizedProps,u=n.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":i.autoFocus&&u.focus();break e;case"img":i.src?u.src=i.src:i.srcSet&&(u.srcset=i.srcSet)}}catch(h){lt(n,n.return,h)}}function ph(n,s,i){try{var u=n.stateNode;s_(u,n.type,i,s),u[cn]=s}catch(h){lt(n,n.return,h)}}function qv(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ws(n.type)||n.tag===4}function gh(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||qv(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&ws(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function yh(n,s,i){var u=n.tag;if(u===5||u===6)n=n.stateNode,s?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(n,s):(s=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,s.appendChild(n),i=i._reactRootContainer,i!=null||s.onclick!==null||(s.onclick=_a));else if(u!==4&&(u===27&&ws(n.type)&&(i=n.stateNode,s=null),n=n.child,n!==null))for(yh(n,s,i),n=n.sibling;n!==null;)yh(n,s,i),n=n.sibling}function Rc(n,s,i){var u=n.tag;if(u===5||u===6)n=n.stateNode,s?i.insertBefore(n,s):i.appendChild(n);else if(u!==4&&(u===27&&ws(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(Rc(n,s,i),n=n.sibling;n!==null;)Rc(n,s,i),n=n.sibling}function $v(n){var s=n.stateNode,i=n.memoizedProps;try{for(var u=n.type,h=s.attributes;h.length;)s.removeAttributeNode(h[0]);Yt(s,u,i),s[Ht]=n,s[cn]=i}catch(g){lt(n,n.return,g)}}var Ba=!1,_t=!1,xh=!1,Gv=typeof WeakSet=="function"?WeakSet:Set,Ut=null;function zA(n,s){if(n=n.containerInfo,Bh=Qc,n=sx(n),df(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else e:{i=(i=n.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var h=u.anchorOffset,g=u.focusNode;u=u.focusOffset;try{i.nodeType,g.nodeType}catch{i=null;break e}var b=0,N=-1,R=-1,F=0,K=0,W=n,q=null;t:for(;;){for(var Y;W!==i||h!==0&&W.nodeType!==3||(N=b+h),W!==g||u!==0&&W.nodeType!==3||(R=b+u),W.nodeType===3&&(b+=W.nodeValue.length),(Y=W.firstChild)!==null;)q=W,W=Y;for(;;){if(W===n)break t;if(q===i&&++F===h&&(N=b),q===g&&++K===u&&(R=b),(Y=W.nextSibling)!==null)break;W=q,q=W.parentNode}W=Y}i=N===-1||R===-1?null:{start:N,end:R}}else i=null}i=i||{start:0,end:0}}else i=null;for(Uh={focusedElem:n,selectionRange:i},Qc=!1,Ut=s;Ut!==null;)if(s=Ut,n=s.child,(s.subtreeFlags&1028)!==0&&n!==null)n.return=s,Ut=n;else for(;Ut!==null;){switch(s=Ut,g=s.alternate,n=s.flags,s.tag){case 0:if((n&4)!==0&&(n=s.updateQueue,n=n!==null?n.events:null,n!==null))for(i=0;i<n.length;i++)h=n[i],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&g!==null){n=void 0,i=s,h=g.memoizedProps,g=g.memoizedState,u=i.stateNode;try{var ye=pr(i.type,h);n=u.getSnapshotBeforeUpdate(ye,g),u.__reactInternalSnapshotBeforeUpdate=n}catch(Re){lt(i,i.return,Re)}}break;case 3:if((n&1024)!==0){if(n=s.stateNode.containerInfo,i=n.nodeType,i===9)Hh(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Hh(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(r(163))}if(n=s.sibling,n!==null){n.return=s.return,Ut=n;break}Ut=s.return}}function Yv(n,s,i){var u=i.flags;switch(i.tag){case 0:case 11:case 15:Ia(n,i),u&4&&Oo(5,i);break;case 1:if(Ia(n,i),u&4)if(n=i.stateNode,s===null)try{n.componentDidMount()}catch(b){lt(i,i.return,b)}else{var h=pr(i.type,s.memoizedProps);s=s.memoizedState;try{n.componentDidUpdate(h,s,n.__reactInternalSnapshotBeforeUpdate)}catch(b){lt(i,i.return,b)}}u&64&&Iv(i),u&512&&Do(i,i.return);break;case 3:if(Ia(n,i),u&64&&(n=i.updateQueue,n!==null)){if(s=null,i.child!==null)switch(i.child.tag){case 27:case 5:s=i.child.stateNode;break;case 1:s=i.child.stateNode}try{kx(n,s)}catch(b){lt(i,i.return,b)}}break;case 27:s===null&&u&4&&$v(i);case 26:case 5:Ia(n,i),s===null&&u&4&&Hv(i),u&512&&Do(i,i.return);break;case 12:Ia(n,i);break;case 31:Ia(n,i),u&4&&Xv(n,i);break;case 13:Ia(n,i),u&4&&Qv(n,i),u&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=GA.bind(null,i),f_(n,i))));break;case 22:if(u=i.memoizedState!==null||Ba,!u){s=s!==null&&s.memoizedState!==null||_t,h=Ba;var g=_t;Ba=u,(_t=s)&&!g?Fa(n,i,(i.subtreeFlags&8772)!==0):Ia(n,i),Ba=h,_t=g}break;case 30:break;default:Ia(n,i)}}function Zv(n){var s=n.alternate;s!==null&&(n.alternate=null,Zv(s)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(s=n.stateNode,s!==null&&Yd(s)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var yt=null,dn=!1;function Ua(n,s,i){for(i=i.child;i!==null;)Kv(n,s,i),i=i.sibling}function Kv(n,s,i){if(Ft&&typeof Ft.onCommitFiberUnmount=="function")try{Ft.onCommitFiberUnmount(Ta,i)}catch{}switch(i.tag){case 26:_t||fa(i,s),Ua(n,s,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:_t||fa(i,s);var u=yt,h=dn;ws(i.type)&&(yt=i.stateNode,dn=!1),Ua(n,s,i),Ho(i.stateNode),yt=u,dn=h;break;case 5:_t||fa(i,s);case 6:if(u=yt,h=dn,yt=null,Ua(n,s,i),yt=u,dn=h,yt!==null)if(dn)try{(yt.nodeType===9?yt.body:yt.nodeName==="HTML"?yt.ownerDocument.body:yt).removeChild(i.stateNode)}catch(g){lt(i,s,g)}else try{yt.removeChild(i.stateNode)}catch(g){lt(i,s,g)}break;case 18:yt!==null&&(dn?(n=yt,Ib(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),xi(n)):Ib(yt,i.stateNode));break;case 4:u=yt,h=dn,yt=i.stateNode.containerInfo,dn=!0,Ua(n,s,i),yt=u,dn=h;break;case 0:case 11:case 14:case 15:ms(2,i,s),_t||ms(4,i,s),Ua(n,s,i);break;case 1:_t||(fa(i,s),u=i.stateNode,typeof u.componentWillUnmount=="function"&&Fv(i,s,u)),Ua(n,s,i);break;case 21:Ua(n,s,i);break;case 22:_t=(u=_t)||i.memoizedState!==null,Ua(n,s,i),_t=u;break;default:Ua(n,s,i)}}function Xv(n,s){if(s.memoizedState===null&&(n=s.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{xi(n)}catch(i){lt(s,s.return,i)}}}function Qv(n,s){if(s.memoizedState===null&&(n=s.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{xi(n)}catch(i){lt(s,s.return,i)}}function LA(n){switch(n.tag){case 31:case 13:case 19:var s=n.stateNode;return s===null&&(s=n.stateNode=new Gv),s;case 22:return n=n.stateNode,s=n._retryCache,s===null&&(s=n._retryCache=new Gv),s;default:throw Error(r(435,n.tag))}}function kc(n,s){var i=LA(n);s.forEach(function(u){if(!i.has(u)){i.add(u);var h=YA.bind(null,n,u);u.then(h,h)}})}function fn(n,s){var i=s.deletions;if(i!==null)for(var u=0;u<i.length;u++){var h=i[u],g=n,b=s,N=b;e:for(;N!==null;){switch(N.tag){case 27:if(ws(N.type)){yt=N.stateNode,dn=!1;break e}break;case 5:yt=N.stateNode,dn=!1;break e;case 3:case 4:yt=N.stateNode.containerInfo,dn=!0;break e}N=N.return}if(yt===null)throw Error(r(160));Kv(g,b,h),yt=null,dn=!1,g=h.alternate,g!==null&&(g.return=null),h.return=null}if(s.subtreeFlags&13886)for(s=s.child;s!==null;)Wv(s,n),s=s.sibling}var Zn=null;function Wv(n,s){var i=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:fn(s,n),hn(n),u&4&&(ms(3,n,n.return),Oo(3,n),ms(5,n,n.return));break;case 1:fn(s,n),hn(n),u&512&&(_t||i===null||fa(i,i.return)),u&64&&Ba&&(n=n.updateQueue,n!==null&&(u=n.callbacks,u!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?u:i.concat(u))));break;case 26:var h=Zn;if(fn(s,n),hn(n),u&512&&(_t||i===null||fa(i,i.return)),u&4){var g=i!==null?i.memoizedState:null;if(u=n.memoizedState,i===null)if(u===null)if(n.stateNode===null){e:{u=n.type,i=n.memoizedProps,h=h.ownerDocument||h;t:switch(u){case"title":g=h.getElementsByTagName("title")[0],(!g||g[io]||g[Ht]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=h.createElement(u),h.head.insertBefore(g,h.querySelector("head > title"))),Yt(g,u,i),g[Ht]=n,Bt(g),u=g;break e;case"link":var b=Wb("link","href",h).get(u+(i.href||""));if(b){for(var N=0;N<b.length;N++)if(g=b[N],g.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&g.getAttribute("rel")===(i.rel==null?null:i.rel)&&g.getAttribute("title")===(i.title==null?null:i.title)&&g.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){b.splice(N,1);break t}}g=h.createElement(u),Yt(g,u,i),h.head.appendChild(g);break;case"meta":if(b=Wb("meta","content",h).get(u+(i.content||""))){for(N=0;N<b.length;N++)if(g=b[N],g.getAttribute("content")===(i.content==null?null:""+i.content)&&g.getAttribute("name")===(i.name==null?null:i.name)&&g.getAttribute("property")===(i.property==null?null:i.property)&&g.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&g.getAttribute("charset")===(i.charSet==null?null:i.charSet)){b.splice(N,1);break t}}g=h.createElement(u),Yt(g,u,i),h.head.appendChild(g);break;default:throw Error(r(468,u))}g[Ht]=n,Bt(g),u=g}n.stateNode=u}else Jb(h,n.type,n.stateNode);else n.stateNode=Qb(h,u,n.memoizedProps);else g!==u?(g===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):g.count--,u===null?Jb(h,n.type,n.stateNode):Qb(h,u,n.memoizedProps)):u===null&&n.stateNode!==null&&ph(n,n.memoizedProps,i.memoizedProps)}break;case 27:fn(s,n),hn(n),u&512&&(_t||i===null||fa(i,i.return)),i!==null&&u&4&&ph(n,n.memoizedProps,i.memoizedProps);break;case 5:if(fn(s,n),hn(n),u&512&&(_t||i===null||fa(i,i.return)),n.flags&32){h=n.stateNode;try{Ir(h,"")}catch(ye){lt(n,n.return,ye)}}u&4&&n.stateNode!=null&&(h=n.memoizedProps,ph(n,h,i!==null?i.memoizedProps:h)),u&1024&&(xh=!0);break;case 6:if(fn(s,n),hn(n),u&4){if(n.stateNode===null)throw Error(r(162));u=n.memoizedProps,i=n.stateNode;try{i.nodeValue=u}catch(ye){lt(n,n.return,ye)}}break;case 3:if(Yc=null,h=Zn,Zn=$c(s.containerInfo),fn(s,n),Zn=h,hn(n),u&4&&i!==null&&i.memoizedState.isDehydrated)try{xi(s.containerInfo)}catch(ye){lt(n,n.return,ye)}xh&&(xh=!1,Jv(n));break;case 4:u=Zn,Zn=$c(n.stateNode.containerInfo),fn(s,n),hn(n),Zn=u;break;case 12:fn(s,n),hn(n);break;case 31:fn(s,n),hn(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,kc(n,u)));break;case 13:fn(s,n),hn(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Oc=ne()),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,kc(n,u)));break;case 22:h=n.memoizedState!==null;var R=i!==null&&i.memoizedState!==null,F=Ba,K=_t;if(Ba=F||h,_t=K||R,fn(s,n),_t=K,Ba=F,hn(n),u&8192)e:for(s=n.stateNode,s._visibility=h?s._visibility&-2:s._visibility|1,h&&(i===null||R||Ba||_t||gr(n)),i=null,s=n;;){if(s.tag===5||s.tag===26){if(i===null){R=i=s;try{if(g=R.stateNode,h)b=g.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{N=R.stateNode;var W=R.memoizedProps.style,q=W!=null&&W.hasOwnProperty("display")?W.display:null;N.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(ye){lt(R,R.return,ye)}}}else if(s.tag===6){if(i===null){R=s;try{R.stateNode.nodeValue=h?"":R.memoizedProps}catch(ye){lt(R,R.return,ye)}}}else if(s.tag===18){if(i===null){R=s;try{var Y=R.stateNode;h?Fb(Y,!0):Fb(R.stateNode,!1)}catch(ye){lt(R,R.return,ye)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===n)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===n)break e;for(;s.sibling===null;){if(s.return===null||s.return===n)break e;i===s&&(i=null),s=s.return}i===s&&(i=null),s.sibling.return=s.return,s=s.sibling}u&4&&(u=n.updateQueue,u!==null&&(i=u.retryQueue,i!==null&&(u.retryQueue=null,kc(n,i))));break;case 19:fn(s,n),hn(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,kc(n,u)));break;case 30:break;case 21:break;default:fn(s,n),hn(n)}}function hn(n){var s=n.flags;if(s&2){try{for(var i,u=n.return;u!==null;){if(qv(u)){i=u;break}u=u.return}if(i==null)throw Error(r(160));switch(i.tag){case 27:var h=i.stateNode,g=gh(n);Rc(n,g,h);break;case 5:var b=i.stateNode;i.flags&32&&(Ir(b,""),i.flags&=-33);var N=gh(n);Rc(n,N,b);break;case 3:case 4:var R=i.stateNode.containerInfo,F=gh(n);yh(n,F,R);break;default:throw Error(r(161))}}catch(K){lt(n,n.return,K)}n.flags&=-3}s&4096&&(n.flags&=-4097)}function Jv(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var s=n;Jv(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),n=n.sibling}}function Ia(n,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)Yv(n,s.alternate,s),s=s.sibling}function gr(n){for(n=n.child;n!==null;){var s=n;switch(s.tag){case 0:case 11:case 14:case 15:ms(4,s,s.return),gr(s);break;case 1:fa(s,s.return);var i=s.stateNode;typeof i.componentWillUnmount=="function"&&Fv(s,s.return,i),gr(s);break;case 27:Ho(s.stateNode);case 26:case 5:fa(s,s.return),gr(s);break;case 22:s.memoizedState===null&&gr(s);break;case 30:gr(s);break;default:gr(s)}n=n.sibling}}function Fa(n,s,i){for(i=i&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var u=s.alternate,h=n,g=s,b=g.flags;switch(g.tag){case 0:case 11:case 15:Fa(h,g,i),Oo(4,g);break;case 1:if(Fa(h,g,i),u=g,h=u.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(F){lt(u,u.return,F)}if(u=g,h=u.updateQueue,h!==null){var N=u.stateNode;try{var R=h.shared.hiddenCallbacks;if(R!==null)for(h.shared.hiddenCallbacks=null,h=0;h<R.length;h++)Rx(R[h],N)}catch(F){lt(u,u.return,F)}}i&&b&64&&Iv(g),Do(g,g.return);break;case 27:$v(g);case 26:case 5:Fa(h,g,i),i&&u===null&&b&4&&Hv(g),Do(g,g.return);break;case 12:Fa(h,g,i);break;case 31:Fa(h,g,i),i&&b&4&&Xv(h,g);break;case 13:Fa(h,g,i),i&&b&4&&Qv(h,g);break;case 22:g.memoizedState===null&&Fa(h,g,i),Do(g,g.return);break;case 30:break;default:Fa(h,g,i)}s=s.sibling}}function vh(n,s){var i=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),n=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(n=s.memoizedState.cachePool.pool),n!==i&&(n!=null&&n.refCount++,i!=null&&bo(i))}function bh(n,s){n=null,s.alternate!==null&&(n=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==n&&(s.refCount++,n!=null&&bo(n))}function Kn(n,s,i,u){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)eb(n,s,i,u),s=s.sibling}function eb(n,s,i,u){var h=s.flags;switch(s.tag){case 0:case 11:case 15:Kn(n,s,i,u),h&2048&&Oo(9,s);break;case 1:Kn(n,s,i,u);break;case 3:Kn(n,s,i,u),h&2048&&(n=null,s.alternate!==null&&(n=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==n&&(s.refCount++,n!=null&&bo(n)));break;case 12:if(h&2048){Kn(n,s,i,u),n=s.stateNode;try{var g=s.memoizedProps,b=g.id,N=g.onPostCommit;typeof N=="function"&&N(b,s.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(R){lt(s,s.return,R)}}else Kn(n,s,i,u);break;case 31:Kn(n,s,i,u);break;case 13:Kn(n,s,i,u);break;case 23:break;case 22:g=s.stateNode,b=s.alternate,s.memoizedState!==null?g._visibility&2?Kn(n,s,i,u):Vo(n,s):g._visibility&2?Kn(n,s,i,u):(g._visibility|=2,oi(n,s,i,u,(s.subtreeFlags&10256)!==0||!1)),h&2048&&vh(b,s);break;case 24:Kn(n,s,i,u),h&2048&&bh(s.alternate,s);break;default:Kn(n,s,i,u)}}function oi(n,s,i,u,h){for(h=h&&((s.subtreeFlags&10256)!==0||!1),s=s.child;s!==null;){var g=n,b=s,N=i,R=u,F=b.flags;switch(b.tag){case 0:case 11:case 15:oi(g,b,N,R,h),Oo(8,b);break;case 23:break;case 22:var K=b.stateNode;b.memoizedState!==null?K._visibility&2?oi(g,b,N,R,h):Vo(g,b):(K._visibility|=2,oi(g,b,N,R,h)),h&&F&2048&&vh(b.alternate,b);break;case 24:oi(g,b,N,R,h),h&&F&2048&&bh(b.alternate,b);break;default:oi(g,b,N,R,h)}s=s.sibling}}function Vo(n,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var i=n,u=s,h=u.flags;switch(u.tag){case 22:Vo(i,u),h&2048&&vh(u.alternate,u);break;case 24:Vo(i,u),h&2048&&bh(u.alternate,u);break;default:Vo(i,u)}s=s.sibling}}var Po=8192;function li(n,s,i){if(n.subtreeFlags&Po)for(n=n.child;n!==null;)tb(n,s,i),n=n.sibling}function tb(n,s,i){switch(n.tag){case 26:li(n,s,i),n.flags&Po&&n.memoizedState!==null&&S_(i,Zn,n.memoizedState,n.memoizedProps);break;case 5:li(n,s,i);break;case 3:case 4:var u=Zn;Zn=$c(n.stateNode.containerInfo),li(n,s,i),Zn=u;break;case 22:n.memoizedState===null&&(u=n.alternate,u!==null&&u.memoizedState!==null?(u=Po,Po=16777216,li(n,s,i),Po=u):li(n,s,i));break;default:li(n,s,i)}}function nb(n){var s=n.alternate;if(s!==null&&(n=s.child,n!==null)){s.child=null;do s=n.sibling,n.sibling=null,n=s;while(n!==null)}}function zo(n){var s=n.deletions;if((n.flags&16)!==0){if(s!==null)for(var i=0;i<s.length;i++){var u=s[i];Ut=u,sb(u,n)}nb(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)ab(n),n=n.sibling}function ab(n){switch(n.tag){case 0:case 11:case 15:zo(n),n.flags&2048&&ms(9,n,n.return);break;case 3:zo(n);break;case 12:zo(n);break;case 22:var s=n.stateNode;n.memoizedState!==null&&s._visibility&2&&(n.return===null||n.return.tag!==13)?(s._visibility&=-3,Mc(n)):zo(n);break;default:zo(n)}}function Mc(n){var s=n.deletions;if((n.flags&16)!==0){if(s!==null)for(var i=0;i<s.length;i++){var u=s[i];Ut=u,sb(u,n)}nb(n)}for(n=n.child;n!==null;){switch(s=n,s.tag){case 0:case 11:case 15:ms(8,s,s.return),Mc(s);break;case 22:i=s.stateNode,i._visibility&2&&(i._visibility&=-3,Mc(s));break;default:Mc(s)}n=n.sibling}}function sb(n,s){for(;Ut!==null;){var i=Ut;switch(i.tag){case 0:case 11:case 15:ms(8,i,s);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var u=i.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:bo(i.memoizedState.cache)}if(u=i.child,u!==null)u.return=i,Ut=u;else e:for(i=n;Ut!==null;){u=Ut;var h=u.sibling,g=u.return;if(Zv(u),u===i){Ut=null;break e}if(h!==null){h.return=g,Ut=h;break e}Ut=g}}}var BA={getCacheForType:function(n){var s=$t(Et),i=s.data.get(n);return i===void 0&&(i=n(),s.data.set(n,i)),i},cacheSignal:function(){return $t(Et).controller.signal}},UA=typeof WeakMap=="function"?WeakMap:Map,it=0,ht=null,$e=null,Ye=0,ot=0,jn=null,ps=!1,ci=!1,wh=!1,Ha=0,wt=0,gs=0,yr=0,jh=0,Nn=0,ui=0,Lo=null,mn=null,Nh=!1,Oc=0,rb=0,Dc=1/0,Vc=null,ys=null,Dt=0,xs=null,di=null,qa=0,Sh=0,Ch=null,ib=null,Bo=0,Eh=null;function Sn(){return(it&2)!==0&&Ye!==0?Ye&-Ye:P.T!==null?Mh():jy()}function ob(){if(Nn===0)if((Ye&536870912)===0||Xe){var n=Hl;Hl<<=1,(Hl&3932160)===0&&(Hl=262144),Nn=n}else Nn=536870912;return n=bn.current,n!==null&&(n.flags|=32),Nn}
vendor: 16,547 bytes, line 48
48function pn(n,s,i){(n===ht&&(ot===2||ot===9)||n.cancelPendingCommit!==null)&&(fi(n,0),vs(n,Ye,Nn,!1)),ro(n,i),((it&2)===0||n!==ht)&&(n===ht&&((it&2)===0&&(yr|=i),wt===4&&vs(n,Ye,Nn,!1)),ha(n))}function lb(n,s,i){if((it&6)!==0)throw Error(r(327));var u=!i&&(s&127)===0&&(s&n.expiredLanes)===0||so(n,s),h=u?HA(n,s):Ah(n,s,!0),g=u;do{if(h===0){ci&&!u&&vs(n,s,0,!1);break}else{if(i=n.current.alternate,g&&!IA(i)){h=Ah(n,s,!1),g=!1;continue}if(h===2){if(g=s,n.errorRecoveryDisabledLanes&g)var b=0;else b=n.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){s=b;e:{var N=n;h=Lo;var R=N.current.memoizedState.isDehydrated;if(R&&(fi(N,b).flags|=256),b=Ah(N,b,!1),b!==2){if(wh&&!R){N.errorRecoveryDisabledLanes|=g,yr|=g,h=4;break e}g=mn,mn=h,g!==null&&(mn===null?mn=g:mn.push.apply(mn,g))}h=b}if(g=!1,h!==2)continue}}if(h===1){fi(n,0),vs(n,s,0,!0);break}e:{switch(u=n,g=h,g){case 0:case 1:throw Error(r(345));case 4:if((s&4194048)!==s)break;case 6:vs(u,s,Nn,!ps);break e;case 2:mn=null;break;case 3:case 5:break;default:throw Error(r(329))}if((s&62914560)===s&&(h=Oc+300-ne(),10<h)){if(vs(u,s,Nn,!ps),$l(u,0,!0)!==0)break e;qa=s,u.timeoutHandle=Bb(cb.bind(null,u,i,mn,Vc,Nh,s,Nn,yr,ui,ps,g,"Throttled",-0,0),h);break e}cb(u,i,mn,Vc,Nh,s,Nn,yr,ui,ps,g,null,-0,0)}}break}while(!0);ha(n)}function cb(n,s,i,u,h,g,b,N,R,F,K,W,q,Y){if(n.timeoutHandle=-1,W=s.subtreeFlags,W&8192||(W&16785408)===16785408){W={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:_a},tb(s,g,W);var ye=(g&62914560)===g?Oc-ne():(g&4194048)===g?rb-ne():0;if(ye=C_(W,ye),ye!==null){qa=g,n.cancelPendingCommit=ye(yb.bind(null,n,s,g,i,u,h,b,N,R,K,W,null,q,Y)),vs(n,g,b,!F);return}}yb(n,s,g,i,u,h,b,N,R)}function IA(n){for(var s=n;;){var i=s.tag;if((i===0||i===11||i===15)&&s.flags&16384&&(i=s.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var u=0;u<i.length;u++){var h=i[u],g=h.getSnapshot;h=h.value;try{if(!xn(g(),h))return!1}catch{return!1}}if(i=s.child,s.subtreeFlags&16384&&i!==null)i.return=s,s=i;else{if(s===n)break;for(;s.sibling===null;){if(s.return===null||s.return===n)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function vs(n,s,i,u){s&=~jh,s&=~yr,n.suspendedLanes|=s,n.pingedLanes&=~s,u&&(n.warmLanes|=s),u=n.expirationTimes;for(var h=s;0<h;){var g=31-Qt(h),b=1<<g;u[g]=-1,h&=~b}i!==0&&vy(n,i,s)}function Pc(){return(it&6)===0?(Uo(0),!1):!0}function Th(){if($e!==null){if(ot===0)var n=$e.return;else n=$e,Oa=lr=null,Hf(n),ni=null,jo=0,n=$e;for(;n!==null;)Uv(n.alternate,n),n=n.return;$e=null}}function fi(n,s){var i=n.timeoutHandle;i!==-1&&(n.timeoutHandle=-1,o_(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),qa=0,Th(),ht=n,$e=i=ka(n.current,null),Ye=s,ot=0,jn=null,ps=!1,ci=so(n,s),wh=!1,ui=Nn=jh=yr=gs=wt=0,mn=Lo=null,Nh=!1,(s&8)!==0&&(s|=s&32);var u=n.entangledLanes;if(u!==0)for(n=n.entanglements,u&=s;0<u;){var h=31-Qt(u),g=1<<h;s|=n[h],u&=~g}return Ha=s,ac(),i}function ub(n,s){Be=null,P.H=Ro,s===ti||s===dc?(s=Ex(),ot=3):s===kf?(s=Ex(),ot=4):ot=s===rh?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,jn=s,$e===null&&(wt=1,Cc(n,Vn(s,n.current)))}function db(){var n=bn.current;return n===null?!0:(Ye&4194048)===Ye?Bn===null:(Ye&62914560)===Ye||(Ye&536870912)!==0?n===Bn:!1}function fb(){var n=P.H;return P.H=Ro,n===null?Ro:n}function hb(){var n=P.A;return P.A=BA,n}function zc(){wt=4,ps||(Ye&4194048)!==Ye&&bn.current!==null||(ci=!0),(gs&134217727)===0&&(yr&134217727)===0||ht===null||vs(ht,Ye,Nn,!1)}function Ah(n,s,i){var u=it;it|=2;var h=fb(),g=hb();(ht!==n||Ye!==s)&&(Vc=null,fi(n,s)),s=!1;var b=wt;e:do try{if(ot!==0&&$e!==null){var N=$e,R=jn;switch(ot){case 8:Th(),b=6;break e;case 3:case 2:case 9:case 6:bn.current===null&&(s=!0);var F=ot;if(ot=0,jn=null,hi(n,N,R,F),i&&ci){b=0;break e}break;default:F=ot,ot=0,jn=null,hi(n,N,R,F)}}FA(),b=wt;break}catch(K){ub(n,K)}while(!0);return s&&n.shellSuspendCounter++,Oa=lr=null,it=u,P.H=h,P.A=g,$e===null&&(ht=null,Ye=0,ac()),b}function FA(){for(;$e!==null;)mb($e)}function HA(n,s){var i=it;it|=2;var u=fb(),h=hb();ht!==n||Ye!==s?(Vc=null,Dc=ne()+500,fi(n,s)):ci=so(n,s);e:do try{if(ot!==0&&$e!==null){s=$e;var g=jn;t:switch(ot){case 1:ot=0,jn=null,hi(n,s,g,1);break;case 2:case 9:if(Sx(g)){ot=0,jn=null,pb(s);break}s=function(){ot!==2&&ot!==9||ht!==n||(ot=7),ha(n)},g.then(s,s);break e;case 3:ot=7;break e;case 4:ot=5;break e;case 7:Sx(g)?(ot=0,jn=null,pb(s)):(ot=0,jn=null,hi(n,s,g,7));break;case 5:var b=null;switch($e.tag){case 26:b=$e.memoizedState;case 5:case 27:var N=$e;if(b?e0(b):N.stateNode.complete){ot=0,jn=null;var R=N.sibling;if(R!==null)$e=R;else{var F=N.return;F!==null?($e=F,Lc(F)):$e=null}break t}}ot=0,jn=null,hi(n,s,g,5);break;case 6:ot=0,jn=null,hi(n,s,g,6);break;case 8:Th(),wt=6;break e;default:throw Error(r(462))}}qA();break}catch(K){ub(n,K)}while(!0);return Oa=lr=null,P.H=u,P.A=h,it=i,$e!==null?0:(ht=null,Ye=0,ac(),wt)}function qA(){for(;$e!==null&&!X();)mb($e)}function mb(n){var s=Lv(n.alternate,n,Ha);n.memoizedProps=n.pendingProps,s===null?Lc(n):$e=s}function pb(n){var s=n,i=s.alternate;switch(s.tag){case 15:case 0:s=Mv(i,s,s.pendingProps,s.type,void 0,Ye);break;case 11:s=Mv(i,s,s.pendingProps,s.type.render,s.ref,Ye);break;case 5:Hf(s);default:Uv(i,s),s=$e=hx(s,Ha),s=Lv(i,s,Ha)}n.memoizedProps=n.pendingProps,s===null?Lc(n):$e=s}function hi(n,s,i,u){Oa=lr=null,Hf(s),ni=null,jo=0;var h=s.return;try{if(MA(n,h,s,i,Ye)){wt=1,Cc(n,Vn(i,n.current)),$e=null;return}}catch(g){if(h!==null)throw $e=h,g;wt=1,Cc(n,Vn(i,n.current)),$e=null;return}s.flags&32768?(Xe||u===1?n=!0:ci||(Ye&536870912)!==0?n=!1:(ps=n=!0,(u===2||u===9||u===3||u===6)&&(u=bn.current,u!==null&&u.tag===13&&(u.flags|=16384))),gb(s,n)):Lc(s)}function Lc(n){var s=n;do{if((s.flags&32768)!==0){gb(s,ps);return}n=s.return;var i=VA(s.alternate,s,Ha);if(i!==null){$e=i;return}if(s=s.sibling,s!==null){$e=s;return}$e=s=n}while(s!==null);wt===0&&(wt=5)}function gb(n,s){do{var i=PA(n.alternate,n);if(i!==null){i.flags&=32767,$e=i;return}if(i=n.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!s&&(n=n.sibling,n!==null)){$e=n;return}$e=n=i}while(n!==null);wt=6,$e=null}function yb(n,s,i,u,h,g,b,N,R){n.cancelPendingCommit=null;do Bc();while(Dt!==0);if((it&6)!==0)throw Error(r(327));if(s!==null){if(s===n.current)throw Error(r(177));if(g=s.lanes|s.childLanes,g|=gf,NT(n,i,g,b,N,R),n===ht&&($e=ht=null,Ye=0),di=s,xs=n,qa=i,Sh=g,Ch=h,ib=u,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,ZA(rt,function(){return jb(),null})):(n.callbackNode=null,n.callbackPriority=0),u=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||u){u=P.T,P.T=null,h=$.p,$.p=2,b=it,it|=4;try{zA(n,s,i)}finally{it=b,$.p=h,P.T=u}}Dt=1,xb(),vb(),bb()}}function xb(){if(Dt===1){Dt=0;var n=xs,s=di,i=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||i){i=P.T,P.T=null;var u=$.p;$.p=2;var h=it;it|=4;try{Wv(s,n);var g=Uh,b=sx(n.containerInfo),N=g.focusedElem,R=g.selectionRange;if(b!==N&&N&&N.ownerDocument&&ax(N.ownerDocument.documentElement,N)){if(R!==null&&df(N)){var F=R.start,K=R.end;if(K===void 0&&(K=F),"selectionStart"in N)N.selectionStart=F,N.selectionEnd=Math.min(K,N.value.length);else{var W=N.ownerDocument||document,q=W&&W.defaultView||window;if(q.getSelection){var Y=q.getSelection(),ye=N.textContent.length,Re=Math.min(R.start,ye),ft=R.end===void 0?Re:Math.min(R.end,ye);!Y.extend&&Re>ft&&(b=ft,ft=Re,Re=b);var L=nx(N,Re),O=nx(N,ft);if(L&&O&&(Y.rangeCount!==1||Y.anchorNode!==L.node||Y.anchorOffset!==L.offset||Y.focusNode!==O.node||Y.focusOffset!==O.offset)){var U=W.createRange();U.setStart(L.node,L.offset),Y.removeAllRanges(),Re>ft?(Y.addRange(U),Y.extend(O.node,O.offset)):(U.setEnd(O.node,O.offset),Y.addRange(U))}}}}for(W=[],Y=N;Y=Y.parentNode;)Y.nodeType===1&&W.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;N<W.length;N++){var Q=W[N];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}Qc=!!Bh,Uh=Bh=null}finally{it=h,$.p=u,P.T=i}}n.current=s,Dt=2}}function vb(){if(Dt===2){Dt=0;var n=xs,s=di,i=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||i){i=P.T,P.T=null;var u=$.p;$.p=2;var h=it;it|=4;try{Yv(n,s.alternate,s)}finally{it=h,$.p=u,P.T=i}}Dt=3}}function bb(){if(Dt===4||Dt===3){Dt=0,he();var n=xs,s=di,i=qa,u=ib;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?Dt=5:(Dt=0,di=xs=null,wb(n,n.pendingLanes));var h=n.pendingLanes;if(h===0&&(ys=null),$d(i),s=s.stateNode,Ft&&typeof Ft.onCommitFiberRoot=="function")try{Ft.onCommitFiberRoot(Ta,s,void 0,(s.current.flags&128)===128)}catch{}if(u!==null){s=P.T,h=$.p,$.p=2,P.T=null;try{for(var g=n.onRecoverableError,b=0;b<u.length;b++){var N=u[b];g(N.value,{componentStack:N.stack})}}finally{P.T=s,$.p=h}}(qa&3)!==0&&Bc(),ha(n),h=n.pendingLanes,(i&261930)!==0&&(h&42)!==0?n===Eh?Bo++:(Bo=0,Eh=n):Bo=0,Uo(0)}}function wb(n,s){(n.pooledCacheLanes&=s)===0&&(s=n.pooledCache,s!=null&&(n.pooledCache=null,bo(s)))}function Bc(){return xb(),vb(),bb(),jb()}function jb(){if(Dt!==5)return!1;var n=xs,s=Sh;Sh=0;var i=$d(qa),u=P.T,h=$.p;try{$.p=32>i?32:i,P.T=null,i=Ch,Ch=null;var g=xs,b=qa;if(Dt=0,di=xs=null,qa=0,(it&6)!==0)throw Error(r(331));var N=it;if(it|=4,ab(g.current),eb(g,g.current,b,i),it=N,Uo(0,!1),Ft&&typeof Ft.onPostCommitFiberRoot=="function")try{Ft.onPostCommitFiberRoot(Ta,g)}catch{}return!0}finally{$.p=h,P.T=u,wb(n,s)}}function Nb(n,s,i){s=Vn(i,s),s=sh(n.stateNode,s,2),n=ds(n,s,2),n!==null&&(ro(n,2),ha(n))}function lt(n,s,i){if(n.tag===3)Nb(n,n,i);else for(;s!==null;){if(s.tag===3){Nb(s,n,i);break}else if(s.tag===1){var u=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ys===null||!ys.has(u))){n=Vn(i,n),i=Sv(2),u=ds(s,i,2),u!==null&&(Cv(i,u,s,n),ro(u,2),ha(u));break}}s=s.return}}function _h(n,s,i){var u=n.pingCache;if(u===null){u=n.pingCache=new UA;var h=new Set;u.set(s,h)}else h=u.get(s),h===void 0&&(h=new Set,u.set(s,h));h.has(i)||(wh=!0,h.add(i),n=$A.bind(null,n,s,i),s.then(n,n))}function $A(n,s,i){var u=n.pingCache;u!==null&&u.delete(s),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,ht===n&&(Ye&i)===i&&(wt===4||wt===3&&(Ye&62914560)===Ye&&300>ne()-Oc?(it&2)===0&&fi(n,0):jh|=i,ui===Ye&&(ui=0)),ha(n)}function Sb(n,s){s===0&&(s=xy()),n=rr(n,s),n!==null&&(ro(n,s),ha(n))}function GA(n){var s=n.memoizedState,i=0;s!==null&&(i=s.retryLane),Sb(n,i)}function YA(n,s){var i=0;switch(n.tag){case 31:case 13:var u=n.stateNode,h=n.memoizedState;h!==null&&(i=h.retryLane);break;case 19:u=n.stateNode;break;case 22:u=n.stateNode._retryCache;break;default:throw Error(r(314))}u!==null&&u.delete(s),Sb(n,i)}function ZA(n,s){return k(n,s)}var Uc=null,mi=null,Rh=!1,Ic=!1,kh=!1,bs=0;function ha(n){n!==mi&&n.next===null&&(mi===null?Uc=mi=n:mi=mi.next=n),Ic=!0,Rh||(Rh=!0,XA())}function Uo(n,s){if(!kh&&Ic){kh=!0;do for(var i=!1,u=Uc;u!==null;){if(n!==0){var h=u.pendingLanes;if(h===0)var g=0;else{var b=u.suspendedLanes,N=u.pingedLanes;g=(1<<31-Qt(42|n)+1)-1,g&=h&~(b&~N),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(i=!0,Ab(u,g))}else g=Ye,g=$l(u,u===ht?g:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(g&3)===0||so(u,g)||(i=!0,Ab(u,g));u=u.next}while(i);kh=!1}}function KA(){Cb()}function Cb(){Ic=Rh=!1;var n=0;bs!==0&&i_()&&(n=bs);for(var s=ne(),i=null,u=Uc;u!==null;){var h=u.next,g=Eb(u,s);g===0?(u.next=null,i===null?Uc=h:i.next=h,h===null&&(mi=i)):(i=u,(n!==0||(g&3)!==0)&&(Ic=!0)),u=h}Dt!==0&&Dt!==5||Uo(n),bs!==0&&(bs=0)}function Eb(n,s){for(var i=n.suspendedLanes,u=n.pingedLanes,h=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var b=31-Qt(g),N=1<<b,R=h[b];R===-1?((N&i)===0||(N&u)!==0)&&(h[b]=jT(N,s)):R<=s&&(n.expiredLanes|=N),g&=~N}if(s=ht,i=Ye,i=$l(n,n===s?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u=n.callbackNode,i===0||n===s&&(ot===2||ot===9)||n.cancelPendingCommit!==null)return u!==null&&u!==null&&H(u),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||so(n,i)){if(s=i&-i,s===n.callbackPriority)return s;switch(u!==null&&H(u),$d(i)){case 2:case 8:i=tt;break;case 32:i=rt;break;case 268435456:i=Js;break;default:i=rt}return u=Tb.bind(null,n),i=k(i,u),n.callbackPriority=s,n.callbackNode=i,s}return u!==null&&u!==null&&H(u),n.callbackPriority=2,n.callbackNode=null,2}function Tb(n,s){if(Dt!==0&&Dt!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(Bc()&&n.callbackNode!==i)return null;var u=Ye;return u=$l(n,n===ht?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u===0?null:(lb(n,u,s),Eb(n,ne()),n.callbackNode!=null&&n.callbackNode===i?Tb.bind(null,n):null)}function Ab(n,s){if(Bc())return null;lb(n,s,!0)}function XA(){l_(function(){(it&6)!==0?k(Te,KA):Cb()})}function Mh(){if(bs===0){var n=Jr;n===0&&(n=Fl,Fl<<=1,(Fl&261888)===0&&(Fl=256)),bs=n}return bs}function _b(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Kl(""+n)}function Rb(n,s){var i=s.ownerDocument.createElement("input");return i.name=s.name,i.value=s.value,n.id&&i.setAttribute("form",n.id),s.parentNode.insertBefore(i,s),n=new FormData(n),i.parentNode.removeChild(i),n}function QA(n,s,i,u,h){if(s==="submit"&&i&&i.stateNode===h){var g=_b((h[cn]||null).action),b=u.submitter;b&&(s=(s=b[cn]||null)?_b(s.formAction):b.getAttribute("formAction"),s!==null&&(g=s,b=null));var N=new Jl("action","action",null,u,h);n.push({event:N,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(bs!==0){var R=b?Rb(h,b):new FormData(h);Wf(i,{pending:!0,data:R,method:h.method,action:g},null,R)}}else typeof g=="function"&&(N.preventDefault(),R=b?Rb(h,b):new FormData(h),Wf(i,{pending:!0,data:R,method:h.method,action:g},g,R))},currentTarget:h}]})}}for(var Oh=0;Oh<pf.length;Oh++){var Dh=pf[Oh],WA=Dh.toLowerCase(),JA=Dh[0].toUpperCase()+Dh.slice(1);Yn(WA,"on"+JA)}Yn(ox,"onAnimationEnd"),Yn(lx,"onAnimationIteration"),Yn(cx,"onAnimationStart"),Yn("dblclick","onDoubleClick"),Yn("focusin","onFocus"),Yn("focusout","onBlur"),Yn(pA,"onTransitionRun"),Yn(gA,"onTransitionStart"),Yn(yA,"onTransitionCancel"),Yn(ux,"onTransitionEnd"),Br("onMouseEnter",["mouseout","mouseover"]),Br("onMouseLeave",["mouseout","mouseover"]),Br("onPointerEnter",["pointerout","pointerover"]),Br("onPointerLeave",["pointerout","pointerover"]),tr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),tr("onBeforeInput",["compositionend","keypress","textInput","paste"]),tr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Io="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(" "),e_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Io));function kb(n,s){s=(s&4)!==0;for(var i=0;i<n.length;i++){var u=n[i],h=u.event;u=u.listeners;e:{var g=void 0;if(s)for(var b=u.length-1;0<=b;b--){var N=u[b],R=N.instance,F=N.currentTarget;if(N=N.listener,R!==g&&h.isPropagationStopped())break e;g=N,h.currentTarget=F;try{g(h)}catch(K){nc(K)}h.currentTarget=null,g=R}else for(b=0;b<u.length;b++){if(N=u[b],R=N.instance,F=N.currentTarget,N=N.listener,R!==g&&h.isPropagationStopped())break e;g=N,h.currentTarget=F;try{g(h)}catch(K){nc(K)}h.currentTarget=null,g=R}}}}function Ge(n,s){var i=s[Gd];i===void 0&&(i=s[Gd]=new Set);var u=n+"__bubble";i.has(u)||(Mb(s,n,2,!1),i.add(u))}function Vh(n,s,i){var u=0;s&&(u|=4),Mb(i,n,u,s)}var Fc="_reactListening"+Math.random().toString(36).slice(2);function Ph(n){if(!n[Fc]){n[Fc]=!0,Cy.forEach(function(i){i!=="selectionchange"&&(e_.has(i)||Vh(i,!1,n),Vh(i,!0,n))});var s=n.nodeType===9?n:n.ownerDocument;s===null||s[Fc]||(s[Fc]=!0,Vh("selectionchange",!1,s))}}function Mb(n,s,i,u){switch(o0(s)){case 2:var h=A_;break;case 8:h=__;break;default:h=Qh}i=h.bind(null,s,i,n),h=void 0,!tf||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(h=!0),u?h!==void 0?n.addEventListener(s,i,{capture:!0,passive:h}):n.addEventListener(s,i,!0):h!==void 0?n.addEventListener(s,i,{passive:h}):n.addEventListener(s,i,!1)}function zh(n,s,i,u,h){var g=u;if((s&1)===0&&(s&2)===0&&u!==null)e:for(;;){if(u===null)return;var b=u.tag;if(b===3||b===4){var N=u.stateNode.containerInfo;
vendor: 2,649 bytes, line 48
48if(N===h)break;if(b===4)for(b=u.return;b!==null;){var R=b.tag;if((R===3||R===4)&&b.stateNode.containerInfo===h)return;b=b.return}for(;N!==null;){if(b=Pr(N),b===null)return;if(R=b.tag,R===5||R===6||R===26||R===27){u=g=b;continue e}N=N.parentNode}}u=u.return}zy(function(){var F=g,K=Jd(i),W=[];e:{var q=dx.get(n);if(q!==void 0){var Y=Jl,ye=n;switch(n){case"keypress":if(Ql(i)===0)break e;case"keydown":case"keyup":Y=YT;break;case"focusin":ye="focus",Y=rf;break;case"focusout":ye="blur",Y=rf;break;case"beforeblur":case"afterblur":Y=rf;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=Uy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=VT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=XT;break;case ox:case lx:case cx:Y=LT;break;case ux:Y=WT;break;case"scroll":case"scrollend":Y=OT;break;case"wheel":Y=eA;break;case"copy":case"cut":case"paste":Y=UT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=Fy;break;case"toggle":case"beforetoggle":Y=nA}var Re=(s&4)!==0,ft=!Re&&(n==="scroll"||n==="scrollend"),L=Re?q!==null?q+"Capture":null:q;Re=[];for(var O=F,U;O!==null;){var Q=O;if(U=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||U===null||L===null||(Q=lo(O,L),Q!=null&&Re.push(Fo(O,Q,U))),ft)break;O=O.return}0<Re.length&&(q=new Y(q,ye,null,i,K),W.push({event:q,listeners:Re}))}}if((s&7)===0){e:{if(q=n==="mouseover"||n==="pointerover",Y=n==="mouseout"||n==="pointerout",q&&i!==Wd&&(ye=i.relatedTarget||i.fromElement)&&(Pr(ye)||ye[Vr]))break e;if((Y||q)&&(q=K.window===K?K:(q=K.ownerDocument)?q.defaultView||q.parentWindow:window,Y?(ye=i.relatedTarget||i.toElement,Y=F,ye=ye?Pr(ye):null,ye!==null&&(ft=c(ye),Re=ye.tag,ye!==ft||Re!==5&&Re!==27&&Re!==6)&&(ye=null)):(Y=null,ye=F),Y!==ye)){if(Re=Uy,Q="onMouseLeave",L="onMouseEnter",O="mouse",(n==="pointerout"||n==="pointerover")&&(Re=Fy,Q="onPointerLeave",L="onPointerEnter",O="pointer"),ft=Y==null?q:oo(Y),U=ye==null?q:oo(ye),q=new Re(Q,O+"leave",Y,i,K),q.target=ft,q.relatedTarget=U,Q=null,Pr(K)===F&&(Re=new Re(L,O+"enter",ye,i,K),Re.target=U,Re.relatedTarget=ft,Q=Re),ft=Q,Y&&ye)t:{for(Re=t_,L=Y,O=ye,U=0,Q=L;Q;Q=Re(Q))U++;Q=0;for(var Ae=O;Ae;Ae=Re(Ae))Q++;for(;0<U-Q;)L=Re(L),U--;for(;0<Q-U;)O=Re(O),Q--;for(;U--;){if(L===O||O!==null&&L===O.alternate){Re=L;break t}L=Re(L),O=Re(O)}Re=null}else Re=null;Y!==null&&Ob(W,q,Y,Re,!1),ye!==null&&ft!==null&&Ob(W,ft,ye,Re,!0)}}
vendor: 5,189 bytes, lines 48-49
48e:{if(q=F?oo(F):window,Y=q.nodeName&&q.nodeName.toLowerCase(),Y==="select"||Y==="input"&&q.type==="file")var nt=Xy;else if(Zy(q))if(Qy)nt=fA;else{nt=uA;var we=cA}else Y=q.nodeName,!Y||Y.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?F&&Qd(F.elementType)&&(nt=Xy):nt=dA;if(nt&&(nt=nt(n,F))){Ky(W,nt,i,K);break e}we&&we(n,q,F),n==="focusout"&&F&&q.type==="number"&&F.memoizedProps.value!=null&&Xd(q,"number",q.value)}switch(we=F?oo(F):window,n){case"focusin":(Zy(we)||we.contentEditable==="true")&&($r=we,ff=F,yo=null);break;case"focusout":yo=ff=$r=null;break;case"mousedown":hf=!0;break;case"contextmenu":case"mouseup":case"dragend":hf=!1,rx(W,i,K);break;case"selectionchange":if(mA)break;case"keydown":case"keyup":rx(W,i,K)}var Ie;if(lf)e:{switch(n){case"compositionstart":var Ze="onCompositionStart";break e;case"compositionend":Ze="onCompositionEnd";break e;case"compositionupdate":Ze="onCompositionUpdate";break e}Ze=void 0}else qr?Gy(n,i)&&(Ze="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(Ze="onCompositionStart");Ze&&(Hy&&i.locale!=="ko"&&(qr||Ze!=="onCompositionStart"?Ze==="onCompositionEnd"&&qr&&(Ie=Ly()):(ss=K,nf="value"in ss?ss.value:ss.textContent,qr=!0)),we=Hc(F,Ze),0<we.length&&(Ze=new Iy(Ze,n,null,i,K),W.push({event:Ze,listeners:we}),Ie?Ze.data=Ie:(Ie=Yy(i),Ie!==null&&(Ze.data=Ie)))),(Ie=sA?rA(n,i):iA(n,i))&&(Ze=Hc(F,"onBeforeInput"),0<Ze.length&&(we=new Iy("onBeforeInput","beforeinput",null,i,K),W.push({event:we,listeners:Ze}),we.data=Ie)),QA(W,n,F,i,K)}kb(W,s)})}function Fo(n,s,i){return{instance:n,listener:s,currentTarget:i}}function Hc(n,s){for(var i=s+"Capture",u=[];n!==null;){var h=n,g=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||g===null||(h=lo(n,i),h!=null&&u.unshift(Fo(n,h,g)),h=lo(n,s),h!=null&&u.push(Fo(n,h,g))),n.tag===3)return u;n=n.return}return[]}function t_(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Ob(n,s,i,u,h){for(var g=s._reactName,b=[];i!==null&&i!==u;){var N=i,R=N.alternate,F=N.stateNode;if(N=N.tag,R!==null&&R===u)break;N!==5&&N!==26&&N!==27||F===null||(R=F,h?(F=lo(i,g),F!=null&&b.unshift(Fo(i,F,R))):h||(F=lo(i,g),F!=null&&b.push(Fo(i,F,R)))),i=i.return}b.length!==0&&n.push({event:s,listeners:b})}var n_=/\r\n?/g,a_=/\u0000|\uFFFD/g;function Db(n){return(typeof n=="string"?n:""+n).replace(n_,` 49`).replace(a_,"")}function Vb(n,s){return s=Db(s),Db(n)===s}function dt(n,s,i,u,h,g){switch(i){case"children":typeof u=="string"?s==="body"||s==="textarea"&&u===""||Ir(n,u):(typeof u=="number"||typeof u=="bigint")&&s!=="body"&&Ir(n,""+u);break;case"className":Yl(n,"class",u);break;case"tabIndex":Yl(n,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Yl(n,i,u);break;case"style":Vy(n,u,g);break;case"data":if(s!=="object"){Yl(n,"data",u);break}case"src":case"href":if(u===""&&(s!=="a"||i!=="href")){n.removeAttribute(i);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(i);break}u=Kl(""+u),n.setAttribute(i,u);break;case"action":case"formAction":if(typeof u=="function"){n.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(i==="formAction"?(s!=="input"&&dt(n,s,"name",h.name,h,null),dt(n,s,"formEncType",h.formEncType,h,null),dt(n,s,"formMethod",h.formMethod,h,null),dt(n,s,"formTarget",h.formTarget,h,null)):(dt(n,s,"encType",h.encType,h,null),dt(n,s,"method",h.method,h,null),dt(n,s,"target",h.target,h,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(i);break}u=Kl(""+u),n.setAttribute(i,u);break;case"onClick":u!=null&&(n.onclick=_a);break;case"onScroll":u!=null&&Ge("scroll",n);break;case"onScrollEnd":u!=null&&Ge("scrollend",n);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(r(61));if(i=u.__html,i!=null){if(h.children!=null)throw Error(r(60));n.innerHTML=i}}break;case"multiple":n.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":n.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){n.removeAttribute("xlink:href");break}i=Kl(""+u),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(i,""+u):n.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":u===!0?n.setAttribute(i,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(i,u):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?n.setAttribute(i,u):n.removeAttribute(i);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?n.removeAttribute(i):n.setAttribute(i,u);break;case"popover":Ge("beforetoggle",n),Ge("toggle",n),Gl(n,"popover",u);break;case"xlinkActuate":Aa(n,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":Aa(n,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":Aa(n,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":Aa(n,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":Aa(n,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":Aa(n,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":Aa(n,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":Aa(n,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":Aa(n,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Gl(n,"is",u);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=kT.get(i)||i,Gl(n,i,u))}}function Lh(n,s,i,u,h,g){switch(i){case"style":Vy(n,u,g);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(r(61));if(i=u.__html,i!=null){if(h.children!=null)throw Error(r(60));n.innerHTML=i}}break;case"children":typeof u=="string"?Ir(n,u):(typeof u=="number"||typeof u=="bigint")&&Ir(n,""+u);break;case"onScroll":u!=null&&Ge("scroll",n);break;case"onScrollEnd":u!=null&&Ge("scrollend",n);break;case"onClick":u!=null&&(n.onclick=_a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ey.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(h=i.endsWith("Capture"),s=i.slice(2,h?i.length-7:void 0),g=n[cn]||null,g=g!=null?g[i]:null,typeof g=="function"&&n.removeEventListener(s,g,h),typeof u=="function")){typeof g!="function"&&g!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(s,u,h);break e}i in n?n[i]=u:u===!0?n.setAttribute(i,""):Gl(n,i,u)}}}function Yt(n,s,i){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ge("error",n),Ge("load",n);var u=!1,h=!1,g;for(g in i)if(i.hasOwnProperty(g)){var b=i[g];if(b!=null)switch(g){case"src":u=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,s));default:dt(n,s,g,b,i,null)}}h&&dt(n,s,"srcSet",i.srcSet,i,null),u&&dt(n,s,"src",i.src,i,null);return;case"input":Ge("invalid",n);var N=g=b=h=null,R=null,F=null;for(u in i)if(i.hasOwnProperty(u)){var K=i[u];if(K!=null)switch(u){case"name":h=K;break;case"type":b=K;break;case"checked":R=K;break;case"defaultChecked":F=K;break;case"value":g=K;break;case"defaultValue":N=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(r(137,s));break;default:dt(n,s,u,K,i,null)}}ky(n,g,N,R,F,b,h,!1);return;case"select":Ge("invalid",n),u=b=g=null;for(h in i)if(i.hasOwnProperty(h)&&(N=i[h],N!=null))switch(h){case"value":g=N;break;case"defaultValue":b=N;break;case"multiple":u=N;default:dt(n,s,h,N,i,null)}s=g,i=b,n.multiple=!!u,s!=null?Ur(n,!!u,s,!1):i!=null&&Ur(n,!!u,i,!0);return;case"textarea":Ge("invalid",n),g=h=u=null;for(b in i)if(i.hasOwnProperty(b)&&(N=i[b],N!=null))switch(b){case"value":u=N;break;case"defaultValue":h=N;break;case"children":g=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error(r(91));break;default:dt(n,s,b,N,i,null)}Oy(n,u,h,g);return;case"option":for(R in i)if(i.hasOwnProperty(R)&&(u=i[R],u!=null))switch(R){case"selected":n.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:dt(n,s,R,u,i,null)}return;case"dialog":Ge("beforetoggle",n),Ge("toggle",n),Ge("cancel",n),Ge("close",n);break;case"iframe":case"object":Ge("load",n);break;case"video":case"audio":for(u=0;
vendor: 4,157 bytes, line 49
49u<Io.length;u++)Ge(Io[u],n);break;case"image":Ge("error",n),Ge("load",n);break;case"details":Ge("toggle",n);break;case"embed":case"source":case"link":Ge("error",n),Ge("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(F in i)if(i.hasOwnProperty(F)&&(u=i[F],u!=null))switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,s));default:dt(n,s,F,u,i,null)}return;default:if(Qd(s)){for(K in i)i.hasOwnProperty(K)&&(u=i[K],u!==void 0&&Lh(n,s,K,u,i,void 0));return}}for(N in i)i.hasOwnProperty(N)&&(u=i[N],u!=null&&dt(n,s,N,u,i,null))}function s_(n,s,i,u){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,g=null,b=null,N=null,R=null,F=null,K=null;for(Y in i){var W=i[Y];if(i.hasOwnProperty(Y)&&W!=null)switch(Y){case"checked":break;case"value":break;case"defaultValue":R=W;default:u.hasOwnProperty(Y)||dt(n,s,Y,null,u,W)}}for(var q in u){var Y=u[q];if(W=i[q],u.hasOwnProperty(q)&&(Y!=null||W!=null))switch(q){case"type":g=Y;break;case"name":h=Y;break;case"checked":F=Y;break;case"defaultChecked":K=Y;break;case"value":b=Y;break;case"defaultValue":N=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(r(137,s));break;default:Y!==W&&dt(n,s,q,Y,u,W)}}Kd(n,b,N,R,F,K,g,h);return;case"select":Y=b=N=q=null;for(g in i)if(R=i[g],i.hasOwnProperty(g)&&R!=null)switch(g){case"value":break;case"multiple":Y=R;default:u.hasOwnProperty(g)||dt(n,s,g,null,u,R)}for(h in u)if(g=u[h],R=i[h],u.hasOwnProperty(h)&&(g!=null||R!=null))switch(h){case"value":q=g;break;case"defaultValue":N=g;break;case"multiple":b=g;default:g!==R&&dt(n,s,h,g,u,R)}s=N,i=b,u=Y,q!=null?Ur(n,!!i,q,!1):!!u!=!!i&&(s!=null?Ur(n,!!i,s,!0):Ur(n,!!i,i?[]:"",!1));return;case"textarea":Y=q=null;for(N in i)if(h=i[N],i.hasOwnProperty(N)&&h!=null&&!u.hasOwnProperty(N))switch(N){case"value":break;case"children":break;default:dt(n,s,N,null,u,h)}for(b in u)if(h=u[b],g=i[b],u.hasOwnProperty(b)&&(h!=null||g!=null))switch(b){case"value":q=h;break;case"defaultValue":Y=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(r(91));break;default:h!==g&&dt(n,s,b,h,u,g)}My(n,q,Y);return;case"option":for(var ye in i)if(q=i[ye],i.hasOwnProperty(ye)&&q!=null&&!u.hasOwnProperty(ye))switch(ye){case"selected":n.selected=!1;break;default:dt(n,s,ye,null,u,q)}for(R in u)if(q=u[R],Y=i[R],u.hasOwnProperty(R)&&q!==Y&&(q!=null||Y!=null))switch(R){case"selected":n.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:dt(n,s,R,q,u,Y)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Re in i)q=i[Re],i.hasOwnProperty(Re)&&q!=null&&!u.hasOwnProperty(Re)&&dt(n,s,Re,null,u,q);for(F in u)if(q=u[F],Y=i[F],u.hasOwnProperty(F)&&q!==Y&&(q!=null||Y!=null))switch(F){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,s));break;default:dt(n,s,F,q,u,Y)}return;default:if(Qd(s)){for(var ft in i)q=i[ft],i.hasOwnProperty(ft)&&q!==void 0&&!u.hasOwnProperty(ft)&&Lh(n,s,ft,void 0,u,q);for(K in u)q=u[K],Y=i[K],!u.hasOwnProperty(K)||q===Y||q===void 0&&Y===void 0||Lh(n,s,K,q,u,Y);return}}for(var L in i)q=i[L],i.hasOwnProperty(L)&&q!=null&&!u.hasOwnProperty(L)&&dt(n,s,L,null,u,q);for(W in u)q=u[W],Y=i[W],!u.hasOwnProperty(W)||q===Y||q==null&&Y==null||dt(n,s,W,q,u,Y)}function Pb(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function r_(){if(typeof performance.getEntriesByType=="function"){for(var n=0,s=0,i=performance.getEntriesByType("resource"),u=0;u<i.length;u++){var h=i[u],g=h.transferSize,b=h.initiatorType,N=h.duration;if(g&&N&&Pb(b)){for(b=0,N=h.responseEnd,u+=1;u<i.length;u++){var R=i[u],F=R.startTime;if(F>N)break;var K=R.transferSize,W=R.initiatorType;K&&Pb(W)&&(R=R.responseEnd,b+=K*(R<N?1:(N-F)/(R-F)))}if(--u,s+=8*(g+b)/(h.duration/1e3),n++,10<n)break}}if(0<n)return s/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?
vendor: 14,708 bytes, line 49
49n:5}var Bh=null,Uh=null;function qc(n){return n.nodeType===9?n:n.ownerDocument}function zb(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Lb(n,s){if(n===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&s==="foreignObject"?0:n}function Ih(n,s){return n==="textarea"||n==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Fh=null;function i_(){var n=window.event;return n&&n.type==="popstate"?n===Fh?!1:(Fh=n,!0):(Fh=null,!1)}var Bb=typeof setTimeout=="function"?setTimeout:void 0,o_=typeof clearTimeout=="function"?clearTimeout:void 0,Ub=typeof Promise=="function"?Promise:void 0,l_=typeof queueMicrotask=="function"?queueMicrotask:typeof Ub<"u"?function(n){return Ub.resolve(null).then(n).catch(c_)}:Bb;function c_(n){setTimeout(function(){throw n})}function ws(n){return n==="head"}function Ib(n,s){var i=s,u=0;do{var h=i.nextSibling;if(n.removeChild(i),h&&h.nodeType===8)if(i=h.data,i==="/$"||i==="/&"){if(u===0){n.removeChild(h),xi(s);return}u--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")u++;else if(i==="html")Ho(n.ownerDocument.documentElement);else if(i==="head"){i=n.ownerDocument.head,Ho(i);for(var g=i.firstChild;g;){var b=g.nextSibling,N=g.nodeName;g[io]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&g.rel.toLowerCase()==="stylesheet"||i.removeChild(g),g=b}}else i==="body"&&Ho(n.ownerDocument.body);i=h}while(i);xi(s)}function Fb(n,s){var i=n;n=0;do{var u=i.nextSibling;if(i.nodeType===1?s?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(s?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),u&&u.nodeType===8)if(i=u.data,i==="/$"){if(n===0)break;n--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||n++;i=u}while(i)}function Hh(n){var s=n.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var i=s;switch(s=s.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":Hh(i),Yd(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function u_(n,s,i,u){for(;n.nodeType===1;){var h=i;if(n.nodeName.toLowerCase()!==s.toLowerCase()){if(!u&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(u){if(!n[io])switch(s){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(g=n.getAttribute("rel"),g==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(g!==h.rel||n.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||n.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||n.getAttribute("title")!==(h.title==null?null:h.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(g=n.getAttribute("src"),(g!==(h.src==null?null:h.src)||n.getAttribute("type")!==(h.type==null?null:h.type)||n.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&g&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(s==="input"&&n.type==="hidden"){var g=h.name==null?null:""+h.name;if(h.type==="hidden"&&n.getAttribute("name")===g)return n}else return n;if(n=Un(n.nextSibling),n===null)break}return null}function d_(n,s,i){if(s==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!i||(n=Un(n.nextSibling),n===null))return null;return n}function Hb(n,s){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!s||(n=Un(n.nextSibling),n===null))return null;return n}function qh(n){return n.data==="$?"||n.data==="$~"}function $h(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function f_(n,s){var i=n.ownerDocument;if(n.data==="$~")n._reactRetry=s;else if(n.data!=="$?"||i.readyState!=="loading")s();else{var u=function(){s(),i.removeEventListener("DOMContentLoaded",u)};i.addEventListener("DOMContentLoaded",u),n._reactRetry=u}}function Un(n){for(;n!=null;n=n.nextSibling){var s=n.nodeType;if(s===1||s===3)break;if(s===8){if(s=n.data,s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"||s==="F!"||s==="F")break;if(s==="/$"||s==="/&")return null}}return n}var Gh=null;function qb(n){n=n.nextSibling;for(var s=0;n;){if(n.nodeType===8){var i=n.data;if(i==="/$"||i==="/&"){if(s===0)return Un(n.nextSibling);s--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||s++}n=n.nextSibling}return null}function $b(n){n=n.previousSibling;for(var s=0;n;){if(n.nodeType===8){var i=n.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(s===0)return n;s--}else i!=="/$"&&i!=="/&"||s++}n=n.previousSibling}return null}function Gb(n,s,i){switch(s=qc(i),n){case"html":if(n=s.documentElement,!n)throw Error(r(452));return n;case"head":if(n=s.head,!n)throw Error(r(453));return n;case"body":if(n=s.body,!n)throw Error(r(454));return n;default:throw Error(r(451))}}function Ho(n){for(var s=n.attributes;s.length;)n.removeAttributeNode(s[0]);Yd(n)}var In=new Map,Yb=new Set;function $c(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var $a=$.d;$.d={f:h_,r:m_,D:p_,C:g_,L:y_,m:x_,X:b_,S:v_,M:w_};function h_(){var n=$a.f(),s=Pc();return n||s}function m_(n){var s=zr(n);s!==null&&s.tag===5&&s.type==="form"?uv(s):$a.r(n)}var pi=typeof document>"u"?null:document;function Zb(n,s,i){var u=pi;if(u&&typeof s=="string"&&s){var h=On(s);h='link[rel="'+n+'"][href="'+h+'"]',typeof i=="string"&&(h+='[crossorigin="'+i+'"]'),Yb.has(h)||(Yb.add(h),n={rel:n,crossOrigin:i,href:s},u.querySelector(h)===null&&(s=u.createElement("link"),Yt(s,"link",n),Bt(s),u.head.appendChild(s)))}}function p_(n){$a.D(n),Zb("dns-prefetch",n,null)}function g_(n,s){$a.C(n,s),Zb("preconnect",n,s)}function y_(n,s,i){$a.L(n,s,i);var u=pi;if(u&&n&&s){var h='link[rel="preload"][as="'+On(s)+'"]';s==="image"&&i&&i.imageSrcSet?(h+='[imagesrcset="'+On(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(h+='[imagesizes="'+On(i.imageSizes)+'"]')):h+='[href="'+On(n)+'"]';var g=h;switch(s){case"style":g=gi(n);break;case"script":g=yi(n)}In.has(g)||(n=v({rel:"preload",href:s==="image"&&i&&i.imageSrcSet?void 0:n,as:s},i),In.set(g,n),u.querySelector(h)!==null||s==="style"&&u.querySelector(qo(g))||s==="script"&&u.querySelector($o(g))||(s=u.createElement("link"),Yt(s,"link",n),Bt(s),u.head.appendChild(s)))}}function x_(n,s){$a.m(n,s);var i=pi;if(i&&n){var u=s&&typeof s.as=="string"?s.as:"script",h='link[rel="modulepreload"][as="'+On(u)+'"][href="'+On(n)+'"]',g=h;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=yi(n)}if(!In.has(g)&&(n=v({rel:"modulepreload",href:n},s),In.set(g,n),i.querySelector(h)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector($o(g)))return}u=i.createElement("link"),Yt(u,"link",n),Bt(u),i.head.appendChild(u)}}}function v_(n,s,i){$a.S(n,s,i);var u=pi;if(u&&n){var h=Lr(u).hoistableStyles,g=gi(n);s=s||"default";var b=h.get(g);if(!b){var N={loading:0,preload:null};if(b=u.querySelector(qo(g)))N.loading=5;else{n=v({rel:"stylesheet",href:n,"data-precedence":s},i),(i=In.get(g))&&Yh(n,i);var R=b=u.createElement("link");Bt(R),Yt(R,"link",n),R._p=new Promise(function(F,K){R.onload=F,R.onerror=K}),R.addEventListener("load",function(){N.loading|=1}),R.addEventListener("error",function(){N.loading|=2}),N.loading|=4,Gc(b,s,u)}b={type:"stylesheet",instance:b,count:1,state:N},h.set(g,b)}}}function b_(n,s){$a.X(n,s);var i=pi;if(i&&n){var u=Lr(i).hoistableScripts,h=yi(n),g=u.get(h);g||(g=i.querySelector($o(h)),g||(n=v({src:n,async:!0},s),(s=In.get(h))&&Zh(n,s),g=i.createElement("script"),Bt(g),Yt(g,"link",n),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(h,g))}}function w_(n,s){$a.M(n,s);var i=pi;if(i&&n){var u=Lr(i).hoistableScripts,h=yi(n),g=u.get(h);g||(g=i.querySelector($o(h)),g||(n=v({src:n,async:!0,type:"module"},s),(s=In.get(h))&&Zh(n,s),g=i.createElement("script"),Bt(g),Yt(g,"link",n),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(h,g))}}function Kb(n,s,i,u){var h=(h=ke.current)?$c(h):null;if(!h)throw Error(r(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(s=gi(i.href),i=Lr(h).hoistableStyles,u=i.get(s),u||(u={type:"style",instance:null,count:0,state:null},i.set(s,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=gi(i.href);var g=Lr(h).hoistableStyles,b=g.get(n);if(b||(h=h.ownerDocument||h,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(n,b),(g=h.querySelector(qo(n)))&&!g._p&&(b.instance=g,b.state.loading=5),In.has(n)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},In.set(n,i),g||j_(h,n,i,b.state))),s&&u===null)throw Error(r(528,""));return b}if(s&&u!==null)throw Error(r(529,""));return null;case"script":return s=i.async,i=i.src,typeof i=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=yi(i),i=Lr(h).hoistableScripts,u=i.get(s),u||(u={type:"script",instance:null,count:0,state:null},i.set(s,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,n))}}function gi(n){return'href="'+On(n)+'"'}function qo(n){return'link[rel="stylesheet"]['+n+"]"}function Xb(n){return v({},n,{"data-precedence":n.precedence,precedence:null})}function j_(n,s,i,u){n.querySelector('link[rel="preload"][as="style"]['+s+"]")?u.loading=1:(s=n.createElement("link"),u.preload=s,s.addEventListener("load",function(){return u.loading|=1}),s.addEventListener("error",function(){return u.loading|=2}),Yt(s,"link",i),Bt(s),n.head.appendChild(s))}function yi(n){return'[src="'+On(n)+'"]'}function $o(n){return"script[async]"+n}function Qb(n,s,i){if(s.count++,s.instance===null)switch(s.type){case"style":var u=n.querySelector('style[data-href~="'+On(i.href)+'"]');if(u)return s.instance=u,Bt(u),u;var h=v({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return u=(n.ownerDocument||n).createElement("style"),Bt(u),Yt(u,"style",h),Gc(u,i.precedence,n),s.instance=u;case"stylesheet":h=gi(i.href);var g=n.querySelector(qo(h));if(g)return s.state.loading|=4,s.instance=g,Bt(g),g;u=Xb(i),(h=In.get(h))&&Yh(u,h),g=(n.ownerDocument||n).createElement("link"),Bt(g);var b=g;return b._p=new Promise(function(N,R){b.onload=N,b.onerror=R}),Yt(g,"link",u),s.state.loading|=4,Gc(g,i.precedence,n),s.instance=g;case"script":return g=yi(i.src),(h=n.querySelector($o(g)))?(s.instance=h,Bt(h),h):(u=i,(h=In.get(g))&&(u=v({},i),Zh(u,h)),n=n.ownerDocument||n,h=n.createElement("script"),Bt(h),Yt(h,"link",u),n.head.appendChild(h),s.instance=h);case"void":return null;default:throw Error(r(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(u=s.instance,s.state.loading|=4,Gc(u,i.precedence,n));return s.instance}function Gc(n,s,i){for(var u=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=u.length?u[u.length-1]:null,g=h,b=0;b<u.length;b++){var N=u[b];if(N.dataset.precedence===s)g=N;else if(g!==h)break}g?g.parentNode.insertBefore(n,g.nextSibling):(s=i.nodeType===9?i.head:i,s.insertBefore(n,s.firstChild))}function Yh(n,s){n.crossOrigin==null&&(n.crossOrigin=s.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=s.referrerPolicy),n.title==null&&(n.title=s.title)}function Zh(n,s){n.crossOrigin==null&&(n.crossOrigin=s.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=s.referrerPolicy),n.integrity==null&&(n.integrity=s.integrity)}var Yc=null;function Wb(n,s,i){if(Yc===null){var u=new Map,h=Yc=new Map;h.set(i,u)}else h=Yc,u=h.get(i),u||(u=new Map,h.set(i,u));if(u.has(n))return u;for(u.set(n,null),i=i.getElementsByTagName(n),h=0;h<i.length;h++){var g=i[h];if(!(g[io]||g[Ht]||n==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var b=g.getAttribute(s)||"";b=n+b;var N=u.get(b);N?N.push(g):u.set(b,[g])}}return u}function Jb(n,s,i){n=n.ownerDocument||n,n.head.insertBefore(i,s==="title"?n.querySelector("head > title"):null)}function N_(n,s,i){if(i===1||s.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;switch(s.rel){case"stylesheet":return n=s.disabled,typeof s.precedence=="string"&&n==null;default:return!0}case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function e0(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function S_(n,s,i,u){if(i.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var h=gi(u.href),g=s.querySelector(qo(h));if(g){s=g._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(n.count++,n=Zc.bind(n),s.then(n,n)),i.state.loading|=4,i.instance=g,Bt(g);return}g=s.ownerDocument||s,u=Xb(u),(h=In.get(h))&&Yh(u,h),g=g.createElement("link"),Bt(g);var b=g;b._p=new Promise(function(N,R){b.onload=N,b.onerror=R}),Yt(g,"link",u),i.instance=g}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,s),(s=i.state.preload)&&(i.state.loading&3)===0&&(n.count++,i=Zc.bind(n),s.addEventListener("load",i),s.addEventListener("error",i))}}var Kh=0;function C_(n,s){return n.stylesheets&&n.count===0&&Xc(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var u=setTimeout(function(){if(n.stylesheets&&Xc(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4+s);0<n.imgBytes&&Kh===0&&(Kh=62500*r_());var h=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Xc(n,n.stylesheets),n.unsuspend)){var g=n.unsuspend;n.unsuspend=null,g()}},(n.imgBytes>Kh?50:800)+s);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(u),clearTimeout(h)}}:null}function Zc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Kc=null;function Xc(n,s){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Kc=new Map,s.forEac
vendor: 5,902 bytes, line 49
49h(E_,n),Kc=null,Zc.call(n))}function E_(n,s){if(!(s.state.loading&4)){var i=Kc.get(n);if(i)var u=i.get(null);else{i=new Map,Kc.set(n,i);for(var h=n.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<h.length;g++){var b=h[g];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(i.set(b.dataset.precedence,b),u=b)}u&&i.set(null,u)}h=s.instance,b=h.getAttribute("data-precedence"),g=i.get(b)||u,g===u&&i.set(null,h),i.set(b,h),this.count++,u=Zc.bind(this),h.addEventListener("load",u),h.addEventListener("error",u),g?g.parentNode.insertBefore(h,g.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(h,n.firstChild)),s.state.loading|=4}}var Go={$$typeof:_,Provider:null,Consumer:null,_currentValue:B,_currentValue2:B,_threadCount:0};function T_(n,s,i,u,h,g,b,N,R){this.tag=1,this.containerInfo=n,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=Hd(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hd(0),this.hiddenUpdates=Hd(null),this.identifierPrefix=u,this.onUncaughtError=h,this.onCaughtError=g,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function t0(n,s,i,u,h,g,b,N,R,F,K,W){return n=new T_(n,s,i,b,R,F,K,W,N),s=1,g===!0&&(s|=24),g=vn(3,null,null,s),n.current=g,g.stateNode=n,s=Af(),s.refCount++,n.pooledCache=s,s.refCount++,g.memoizedState={element:u,isDehydrated:i,cache:s},Mf(g),n}function n0(n){return n?(n=Zr,n):Zr}function a0(n,s,i,u,h,g){h=n0(h),u.context===null?u.context=h:u.pendingContext=h,u=us(s),u.payload={element:i},g=g===void 0?null:g,g!==null&&(u.callback=g),i=ds(n,u,s),i!==null&&(pn(i,n,s),So(i,n,s))}function s0(n,s){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<s?i:s}}function Xh(n,s){s0(n,s),(n=n.alternate)&&s0(n,s)}function r0(n){if(n.tag===13||n.tag===31){var s=rr(n,67108864);s!==null&&pn(s,n,67108864),Xh(n,67108864)}}function i0(n){if(n.tag===13||n.tag===31){var s=Sn();s=qd(s);var i=rr(n,s);i!==null&&pn(i,n,s),Xh(n,s)}}var Qc=!0;function A_(n,s,i,u){var h=P.T;P.T=null;var g=$.p;try{$.p=2,Qh(n,s,i,u)}finally{$.p=g,P.T=h}}function __(n,s,i,u){var h=P.T;P.T=null;var g=$.p;try{$.p=8,Qh(n,s,i,u)}finally{$.p=g,P.T=h}}function Qh(n,s,i,u){if(Qc){var h=Wh(u);if(h===null)zh(n,s,u,Wc,i),l0(n,u);else if(k_(h,n,s,i,u))u.stopPropagation();else if(l0(n,u),s&4&&-1<R_.indexOf(n)){for(;h!==null;){var g=zr(h);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var b=er(g.pendingLanes);if(b!==0){var N=g;for(N.pendingLanes|=2,N.entangledLanes|=2;b;){var R=1<<31-Qt(b);N.entanglements[1]|=R,b&=~R}ha(g),(it&6)===0&&(Dc=ne()+500,Uo(0))}}break;case 31:case 13:N=rr(g,2),N!==null&&pn(N,g,2),Pc(),Xh(g,2)}if(g=Wh(u),g===null&&zh(n,s,u,Wc,i),g===h)break;h=g}h!==null&&u.stopPropagation()}else zh(n,s,u,null,i)}}function Wh(n){return n=Jd(n),Jh(n)}var Wc=null;function Jh(n){if(Wc=null,n=Pr(n),n!==null){var s=c(n);if(s===null)n=null;else{var i=s.tag;if(i===13){if(n=d(s),n!==null)return n;n=null}else if(i===31){if(n=f(s),n!==null)return n;n=null}else if(i===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;n=null}else s!==n&&(n=null)}}return Wc=n,null}function o0(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(re()){case Te:return 2;case tt:return 8;case rt:case ln:return 32;case Js:return 268435456;default:return 32}default:return 32}}var em=!1,js=null,Ns=null,Ss=null,Yo=new Map,Zo=new Map,Cs=[],R_="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 l0(n,s){switch(n){case"focusin":case"focusout":js=null;break;case"dragenter":case"dragleave":Ns=null;break;case"mouseover":case"mouseout":Ss=null;break;case"pointerover":case"pointerout":Yo.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zo.delete(s.pointerId)}}function Ko(n,s,i,u,h,g){return n===null||n.nativeEvent!==g?(n={blockedOn:s,domEventName:i,eventSystemFlags:u,nativeEvent:g,targetContainers:[h]},s!==null&&(s=zr(s),s!==null&&r0(s)),n):(n.eventSystemFlags|=u,s=n.targetContainers,h!==null&&s.indexOf(h)===-1&&s.push(h),n)}function k_(n,s,i,u,h){switch(s){case"focusin":return js=Ko(js,n,s,i,u,h),!0;case"dragenter":return Ns=Ko(Ns,n,s,i,u,h),!0;case"mouseover":return Ss=Ko(Ss,n,s,i,u,h),!0;case"pointerover":var g=h.pointerId;
vendor: 6,446 bytes, lines 49-57
49return Yo.set(g,Ko(Yo.get(g)||null,n,s,i,u,h)),!0;case"gotpointercapture":return g=h.pointerId,Zo.set(g,Ko(Zo.get(g)||null,n,s,i,u,h)),!0}return!1}function c0(n){var s=Pr(n.target);if(s!==null){var i=c(s);if(i!==null){if(s=i.tag,s===13){if(s=d(i),s!==null){n.blockedOn=s,Ny(n.priority,function(){i0(i)});return}}else if(s===31){if(s=f(i),s!==null){n.blockedOn=s,Ny(n.priority,function(){i0(i)});return}}else if(s===3&&i.stateNode.current.memoizedState.isDehydrated){n.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Jc(n){if(n.blockedOn!==null)return!1;for(var s=n.targetContainers;0<s.length;){var i=Wh(n.nativeEvent);if(i===null){i=n.nativeEvent;var u=new i.constructor(i.type,i);Wd=u,i.target.dispatchEvent(u),Wd=null}else return s=zr(i),s!==null&&r0(s),n.blockedOn=i,!1;s.shift()}return!0}function u0(n,s,i){Jc(n)&&i.delete(s)}function M_(){em=!1,js!==null&&Jc(js)&&(js=null),Ns!==null&&Jc(Ns)&&(Ns=null),Ss!==null&&Jc(Ss)&&(Ss=null),Yo.forEach(u0),Zo.forEach(u0)}function eu(n,s){n.blockedOn===s&&(n.blockedOn=null,em||(em=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,M_)))}var tu=null;function d0(n){tu!==n&&(tu=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){tu===n&&(tu=null);for(var s=0;s<n.length;s+=3){var i=n[s],u=n[s+1],h=n[s+2];if(typeof u!="function"){if(Jh(u||i)===null)continue;break}var g=zr(i);g!==null&&(n.splice(s,3),s-=3,Wf(g,{pending:!0,data:h,method:i.method,action:u},u,h))}}))}function xi(n){function s(R){return eu(R,n)}js!==null&&eu(js,n),Ns!==null&&eu(Ns,n),Ss!==null&&eu(Ss,n),Yo.forEach(s),Zo.forEach(s);for(var i=0;i<Cs.length;i++){var u=Cs[i];u.blockedOn===n&&(u.blockedOn=null)}for(;0<Cs.length&&(i=Cs[0],i.blockedOn===null);)c0(i),i.blockedOn===null&&Cs.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(u=0;u<i.length;u+=3){var h=i[u],g=i[u+1],b=h[cn]||null;if(typeof g=="function")b||d0(i);else if(b){var N=null;if(g&&g.hasAttribute("formAction")){if(h=g,b=g[cn]||null)N=b.formAction;else if(Jh(h)!==null)continue}else N=b.action;typeof N=="function"?i[u+1]=N:(i.splice(u,3),u-=3),d0(i)}}}function f0(){function n(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(b){return h=b})},focusReset:"manual",scroll:"manual"})}function s(){h!==null&&(h(),h=null),u||setTimeout(i,20)}function i(){if(!u&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,h=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",s),navigation.addEventListener("navigateerror",s),setTimeout(i,100),function(){u=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",s),navigation.removeEventListener("navigateerror",s),h!==null&&(h(),h=null)}}}function tm(n){this._internalRoot=n}nu.prototype.render=tm.prototype.render=function(n){var s=this._internalRoot;if(s===null)throw Error(r(409));var i=s.current,u=Sn();a0(i,u,n,s,null,null)},nu.prototype.unmount=tm.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var s=n.containerInfo;a0(n.current,2,null,n,null,null),Pc(),s[Vr]=null}};function nu(n){this._internalRoot=n}nu.prototype.unstable_scheduleHydration=function(n){if(n){var s=jy();n={blockedOn:null,target:n,priority:s};for(var i=0;i<Cs.length&&s!==0&&s<Cs[i].priority;i++);Cs.splice(i,0,n),i===0&&c0(n)}};var h0=t.version;if(h0!=="19.2.0")throw Error(r(527,h0,"19.2.0"));$.findDOMNode=function(n){var s=n._reactInternals;if(s===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=p(s),n=n!==null?y(n):null,n=n===null?null:n.stateNode,n};var O_={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:P,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!au.isDisabled&&au.supportsFiber)try{Ta=au.inject(O_),Ft=au}catch{}}return Qo.createRoot=function(n,s){if(!o(n))throw Error(r(299));var i=!1,u="",h=bv,g=wv,b=jv;return s!=null&&(s.unstable_strictMode===!0&&(i=!0),s.identifierPrefix!==void 0&&(u=s.identifierPrefix),s.onUncaughtError!==void 0&&(h=s.onUncaughtError),s.onCaughtError!==void 0&&(g=s.onCaughtError),s.onRecoverableError!==void 0&&(b=s.onRecoverableError)),s=t0(n,1,!1,null,null,i,u,null,h,g,b,f0),n[Vr]=s.current,Ph(n),new tm(s)},Qo.hydrateRoot=function(n,s,i){if(!o(n))throw Error(r(299));var u=!1,h="",g=bv,b=wv,N=jv,R=null;return i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(h=i.identifierPrefix),i.onUncaughtError!==void 0&&(g=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(N=i.onRecoverableError),i.formState!==void 0&&(R=i.formState)),s=t0(n,1,!0,s,i??null,u,h,R,g,b,N,f0),s.context=n0(null),i=s.current,u=Sn(),u=qd(u),h=us(u),h.callback=null,ds(i,h,u),i=u,s.current.lanes=i,ro(s,i),ha(s),n[Vr]=s.current,Ph(n),new nu(s)},Qo.version="19.2.0",Qo}var N0;function H_(){if(N0)return am.exports;N0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),am.exports=F_(),am.exports}var q_=H_();function $_(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var a,r,o,c,d=[],f="",m=e.split("/");for(m[0]||m.shift();o=m.shift();)a=o[0],a==="*"?(d.push(a),f+=o[1]==="?"?"(?:/(.*))?":"/(.*)"):a===":"?(r=o.indexOf("?",1),c=o.indexOf(".",1),d.push(o.substring(1,~r?r:~c?c:o.length)),f+=~r&&!~c?"(?:/([^/]+?))?":"/([^/]+?)",~c&&(f+=(~r?"?":"")+"\\"+o.substring(c))):f+="/"+o;return{keys:d,pattern:new RegExp("^"+f+(t?"(?=$|/)":"/?$"),"i")}}var x=od();const je=bj(x),$s=V_({__proto__:null,default:je},[x]);var lm={exports:{}},cm={};/** 50 * @license React 51 * use-sync-external-store-shim.production.js 52 * 53 * Copyright (c) Meta Platforms, Inc. and affiliates. 54 * 55 * This source code is licensed under the MIT license found in the 56 * LICENSE file in the root directory of this source tree. 57 */var S0;function G_(){if(S0)return cm;S0=1;var e=od();function t(v,w){return v===w&&(v!==0||1/v===1/w)||v!==v&&w!==w}var a=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,c=e.useLayoutEffect,d=e.useDebugValue;
57function f(v,w){var S=w(),E=r({inst:{value:S,getSnapshot:w}}),j=E[0].inst,C=E[1];return c(function(){j.value=S,j.getSnapshot=w,m(j)&&C({inst:j})},[v,S,w]),o(function(){return m(j)&&C({inst:j}),v(function(){m(j)&&C({inst:j})})},[v]),d(S),S}function m(v){var w=v.getSnapshot;v=v.value;try{var S=w();return!a(v,S)}catch{return!0}}function p(v,w){return w()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:f;return cm.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:y,cm}var C0;function Y_(){return C0||(C0=1,lm.exports=G_()),lm.exports}var Z_=Y_();const K_=$s.useInsertionEffect,X_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Q_=X_?x.useLayoutEffect:x.useEffect,W_=K_||Q_,jj=e=>{const t=x.useRef([e,(...a)=>t[0](...a)]).current;return W_(()=>{t[0]=e}),t[1]},J_="popstate",Zp="pushState",Kp="replaceState",eR="hashchange",E0=[J_,Zp,Kp,eR],tR=e=>{for(const t of E0)addEventListener(t,e);return()=>{for(const t of E0)removeEventListener(t,e)}},Nj=(e,t)=>Z_.useSyncExternalStore(tR,e,t),nR=()=>location.search,aR=({ssrSearch:e=""}={})=>Nj(nR,()=>e),T0=()=>location.pathname,sR=({ssrPath:e}={})=>Nj(T0,e?()=>e:T0),rR=(e,{replace:t=!1,state:a=null}={})=>history[t?Kp:Zp](a,"",e),iR=(e={})=>[sR(e),rR],A0=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[A0]>"u"){for(const e of[Zp,Kp]){const t=history[e];history[e]=function(){const a=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),a}}Object.defineProperty(window,A0,{value:!0})}const oR=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",Sj=(e="")=>e==="/"?"":e,lR=(e,t)=>e[0]==="~"?e.slice(1):Sj(t)+e,cR=(e="",t)=>oR($m(Sj(e)),$m(t)),uR=e=>e[0]==="?"?e.slice(1):e,$m=e=>{try{return decodeURI(e)}catch{return e}},dR=e=>$m(uR(e)),Cj={hook:iR,searchHook:aR,parser:$_,base:"",ssrPath:void 0,ssrSearch:void 0,hrefs:e=>e},Ej=x.createContext(Cj),Zi=()=>x.useContext(Ej),Tj={},Aj=x.createContext(Tj),fR=()=>x.useContext(Aj),ld=e=>{const[t,a]=e.hook(e);return[cR(e.base,t),jj((r,o)=>a(lR(r,e.base),o))]},cd=()=>ld(Zi()),hR=()=>{const e=Zi();return dR(e.searchHook(e))},_j=(e,t,a,r)=>{const{pattern:o,keys:c}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),d=o.exec(a)||[],[f,...m]=d;return f!==void 0?[!0,(()=>{const p=c!==!1?Object.fromEntries(c.map((v,w)=>[v,m[w]])):d.groups;let y={...m};return p&&Object.assign(y,p),y})(),...r?[f]:[]]:[!1,null]},mR=({children:e,...t})=>{const a=Zi(),r=t.hook?Cj:a;let o=r;const[c,d]=t.ssrPath?.split("?")??[];d&&(t.ssrSearch=d,t.ssrPath=c),t.hrefs=t.hrefs??t.hook?.hrefs;let f=x.useRef({}),m=f.current,p=m;for(let y in r){const v=y==="base"?r[y]+(t[y]||""):t[y]||r[y];m===p&&v!==p[y]&&(f.current=p={...p}),p[y]=v,v!==r[y]&&(o=p)}return x.createElement(Ej.Provider,{value:o,children:e})},_0=({children:e,component:t},a)=>t?x.createElement(t,{params:a}):typeof e=="function"?e(a):e,pR=e=>{let t=x.useRef(Tj),a=t.current;for(const r in e)e[r]!==a[r]&&(a=e);return Object.keys(e).length===0&&(a=e),t.current=a},Zt=({path:e,nest:t,match:a,...r})=>{const o=Zi(),[c]=ld(o),[d,f,m]=a??_j(o.parser,e,c,t),p=pR({...fR(),...f});if(!d)return null;const y=m?x.createElement(mR,{base:m},_0(r,p)):_0(r,p);return x.createElement(Aj.Provider,{value:p,children:y})},_e=x.forwardRef((e,t)=>{const a=Zi(),[r,o]=ld(a),{to:c="",href:d=c,onClick:f,asChild:m,children:p,className:y,replace:v,state:w,...S}=e,E=jj(C=>{C.ctrlKey||C.metaKey||C.altKey||C.shiftKey||C.button!==0||(f?.(C),C.defaultPrevented||(C.preventDefault(),o(d,e)))}),j=a.hrefs(d[0]==="~"?d.slice(1):a.base+d,a);return m&&x.isValidElement(p)?x.cloneElement(p,{onClick:E,href:j}):x.createElement("a",{...S,onClick:E,href:j,className:y?.call?y(r===d):y,children:p,ref:t})}),Rj=e=>Array.isArray(e)?e.flatMap(t=>Rj(t&&t.type===x.Fragment?t.props.children:t)):[e],gR=({children:e,location:t})=>{const a=Zi(),[r]=ld(a);for(const o of Rj(e)){let c=0;if(x.isValidElement(o)&&(c=_j(a.parser,o.props.path,t||r,o.props.nest))[0])return x.cloneElement(o,{match:c})}return null};var ud=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},dd=typeof window>"u"||"Deno"in globalThis;function Jn(){}function yR(e,t){return typeof e=="function"?e(t):e}function xR(e){return typeof e=="number"&&e>=0&&e!==1/0}function vR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function R0(e,t){return typeof e=="function"?e(t):e}function bR(e,t){return typeof e=="function"?e(t):e}function k0(e,t){const{type:a="all",exact:r,fetchStatus:o,predicate:c,queryKey:d,stale:f}=e;if(d){if(r){if(t.queryHash!==Xp(d,t.options))return!1}else if(!yl(t.queryKey,d))return!1}if(a!=="all"){const m=t.isActive();if(a==="active"&&!m||a==="inactive"&&m)return!1}return!(typeof f=="boolean"&&t.isStale()!==f||o&&o!==t.state.fetchStatus||c&&!c(t))}function M0(e,t){const{exact:a,status:r,predicate:o,mutationKey:c}=e;if(c){if(!t.options.mutationKey)return!1;if(a){if(gl(t.options.mutationKey)!==gl(c))return!1}else if(!yl(t.options.mutationKey,c))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Xp(e,t){return(t?.queryKeyHashFn||gl)(e)}function gl(e){return JSON.stringify(e,(t,a)=>Gm(a)?Object.keys(a).sort().reduce((r,o)=>(r[o]=a[o],r),{}):a)}function yl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(a=>!yl(e[a],t[a])):!1}function kj(e,t){if(e===t)return e;const a=O0(e)&&O0(t);if(a||Gm(e)&&Gm(t)){const r=a?e:Object.keys(e),o=r.length,c=a?t:Object.keys(t),d=c.length,f=a?[]:{};let m=0;for(let p=0;p<d;p++){const y=a?p:c[p];(!a&&r.includes(y)||a)&&e[y]===void 0&&t[y]===void 0?(f[y]=void 0,m++):(f[y]=kj(e[y],t[y]),f[y]===e[y]&&e[y]!==void 0&&m++)}return o===d&&m===o?e:f}return t}function O0(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Gm(e){if(!D0(e))return!1;const t=e.constructor;if(t===void 0)return!0;const a=t.prototype;return!(!D0(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function D0(e){return Object.prototype.toString.call(e)==="[object Object]"}function wR(e){return new Promise(t=>{setTimeout(t,e)})}function jR(e,t,a){return typeof a.structuralSharing=="function"?a.structuralSharing(e,t):a.structuralSharing!==!1?kj(e,t):t}function NR(e,t,a=0){const r=[...e,t];return a&&r.length>a?r.slice(1):r}function SR(e,t,a=0){const r=[t,...e];return a&&r.length>a?r.slice(0,-1):r}var Qp=Symbol();function Mj(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Qp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var CR=class extends ud{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!dd&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();
vendor: 17,577 bytes, line 57
57this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Oj=new CR,ER=class extends ud{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!dd&&window.addEventListener){const t=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(a=>{a(e)}))}isOnline(){return this.#e}},ku=new ER;function TR(){let e,t;const a=new Promise((o,c)=>{e=o,t=c});a.status="pending",a.catch(()=>{});function r(o){Object.assign(a,o),delete a.resolve,delete a.reject}return a.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},a.reject=o=>{r({status:"rejected",reason:o}),t(o)},a}function AR(e){return Math.min(1e3*2**e,3e4)}function Dj(e){return(e??"online")==="online"?ku.isOnline():!0}var Vj=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function um(e){return e instanceof Vj}function Pj(e){let t=!1,a=0,r=!1,o;const c=TR(),d=j=>{r||(w(new Vj(j)),e.abort?.())},f=()=>{t=!0},m=()=>{t=!1},p=()=>Oj.isFocused()&&(e.networkMode==="always"||ku.isOnline())&&e.canRun(),y=()=>Dj(e.networkMode)&&e.canRun(),v=j=>{r||(r=!0,e.onSuccess?.(j),o?.(),c.resolve(j))},w=j=>{r||(r=!0,e.onError?.(j),o?.(),c.reject(j))},S=()=>new Promise(j=>{o=C=>{(r||p())&&j(C)},e.onPause?.()}).then(()=>{o=void 0,r||e.onContinue?.()}),E=()=>{if(r)return;let j;const C=a===0?e.initialPromise:void 0;try{j=C??e.fn()}catch(A){j=Promise.reject(A)}Promise.resolve(j).then(v).catch(A=>{if(r)return;const T=e.retry??(dd?0:3),_=e.retryDelay??AR,D=typeof _=="function"?_(a,A):_,V=T===!0||typeof T=="number"&&a<T||typeof T=="function"&&T(a,A);if(t||!V){w(A);return}a++,e.onFail?.(a,A),wR(D).then(()=>p()?void 0:S()).then(()=>{t?w(A):E()})})};return{promise:c,cancel:d,continue:()=>(o?.(),c),cancelRetry:f,continueRetry:m,canStart:y,start:()=>(y()?E():S().then(E),c)}}function _R(){let e=[],t=0,a=f=>{f()},r=f=>{f()},o=f=>setTimeout(f,0);const c=f=>{t?e.push(f):o(()=>{a(f)})},d=()=>{const f=e;e=[],f.length&&o(()=>{r(()=>{f.forEach(m=>{a(m)})})})};return{batch:f=>{let m;t++;try{m=f()}finally{t--,t||d()}return m},batchCalls:f=>(...m)=>{c(()=>{f(...m)})},schedule:c,setNotifyFunction:f=>{a=f},setBatchNotifyFunction:f=>{r=f},setScheduler:f=>{o=f}}}var sn=_R(),zj=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),xR(this.gcTime)&&(this.#e=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(dd?1/0:300*1e3))}clearGcTimeout(){this.#e&&(clearTimeout(this.#e),this.#e=void 0)}},RR=class extends zj{#e;#t;#n;#a;#i;#r;constructor(e){super(),this.#r=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#n=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=MR(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(e){this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const a=jR(this.state.data,e,this.options);return this.#s({data:a,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),a}setState(e,t){this.#s({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(Jn).catch(Jn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>bR(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Qp||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(e=0){return this.state.isInvalidated||this.state.data===void 0||!vR(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#r?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}fetch(e,t){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(m=>m.options.queryFn);f&&this.setOptions(f.options)}const a=new AbortController,r=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#r=!0,a.signal)})},o=()=>{const f=Mj(this.options,t),m={queryKey:this.queryKey,meta:this.meta};return r(m),this.#r=!1,this.options.persister?this.options.persister(f,m,this):f(m)},c={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};r(c),this.options.behavior?.onFetch(c,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#s({type:"fetch",meta:c.fetchOptions?.meta});const d=f=>{um(f)&&f.silent||this.#s({type:"error",error:f}),um(f)||(this.#n.config.onError?.(f,this),this.#n.config.onSettled?.(this.state.data,f,this)),this.scheduleGc()};return this.#a=Pj({initialPromise:t?.initialPromise,fn:c.fetchFn,abort:a.abort.bind(a),onSuccess:f=>{if(f===void 0){d(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(m){d(m);return}this.#n.config.onSuccess?.(f,this),this.#n.config.onSettled?.(f,this.state.error,this),this.scheduleGc()},onError:d,onFail:(f,m)=>{this.#s({type:"failed",failureCount:f,error:m})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0}),this.#a.start()}#s(e){const t=a=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...kR(a.data,this.options),fetchMeta:e.meta??null};case"success":return{...a,data:e.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=e.error;return um(r)&&r.revert&&this.#t?{...this.#t,fetchStatus:"idle"}:{...a,error:r,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=t(this.state),sn.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function kR(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Dj(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function MR(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,a=t!==void 0,r=a?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:a?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var OR=class extends ud{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,a){const r=t.queryKey,o=t.queryHash??Xp(r,t);let c=this.get(o);return c||(c=new RR({cache:this,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:a,defaultOptions:e.getQueryDefaults(r)}),this.add(c)),c}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){sn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(a=>k0(t,a))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(a=>k0(e,a)):t}notify(e){sn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){sn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){sn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},DR=class extends zj{#e;#t;#n;constructor(e){super(),this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#e=[],this.state=e.state||VR(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(e){this.#n=Pj({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(r,o)=>{this.#a({type:"failed",failureCount:r,error:o})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const t=this.state.status==="pending",a=!this.#n.canStart();try{if(!t){this.#a({type:"pending",variables:e,isPaused:a}),await this.#t.config.onMutate?.(e,this);const o=await this.options.onMutate?.(e);o!==this.state.context&&this.#a({type:"pending",context:o,variables:e,isPaused:a})}const r=await this.#n.start();return await this.#t.config.onSuccess?.(r,e,this.state.context,this),await this.options.onSuccess?.(r,e,this.state.context),await this.#t.config.onSettled?.(r,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(r,null,e,this.state.context),this.#a({type:"success",data:r}),r}catch(r){try{throw await this.#t.config.onError?.(r,e,this.state.context,this),await this.options.onError?.(r,e,this.state.context),await this.#t.config.onSettled?.(void 0,r,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,r,e,this.state.context),r}finally{this.#a({type:"error",error:r})}}finally{this.#t.runNext(this)}}#a(e){const t=a=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),sn.batch(()=>{this.#e.forEach(a=>{a.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function VR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var PR=class extends ud{constructor(e={}){super(),this.config=e,this.#e=new Map,this.#t=Date.now()}#e;#t;build(e,t,a){const r=new DR({mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(t),state:a});return this.add(r),r}add(e){const t=su(e),a=this.#e.get(t)??[];a.push(e),this.#e.set(t,a),this.notify({type:"added",mutation:e})}remove(e){const t=su(e);if(this.#e.has(t)){const a=this.#e.get(t)?.filter(r=>r!==e);a&&(a.length===0?this.#e.delete(t):this.#e.set(t,a))}this.notify({type:"removed",mutation:e})}canRun(e){const t=this.#e.get(su(e))?.find(a=>a.state.status==="pending");return!t||t===e}runNext(e){return this.#e.get(su(e))?.find(a=>a!==e&&a.state.isPaused)?.continue()??Promise.resolve()}clear(){sn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...this.#e.values()].flat()}find(e){const t={exact:!0,...e};return this.getAll().find(a=>M0(t,a))}findAll(e={}){return this.getAll().filter(t=>M0(e,t))}notify(e){sn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return sn.batch(()=>Promise.all(e.map(t=>t.continue().catch(Jn))))}};function su(e){return e.options.scope?.id??String(e.mutationId)}function V0(e){return{onFetch:(t,a)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,c=t.state.data?.pages||[],d=t.state.data?.pageParams||[];let f={pages:[],pageParams:[]},m=0;const p=async()=>{let y=!1;const v=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},w=Mj(t.options,t.fetchOptions),S=async(E,j,C)=>{if(y)return Promise.reject();if(j==null&&E.pages.length)return Promise.resolve(E);const A={queryKey:t.queryKey,pageParam:j,direction:C?"backward":"forward",meta:t.options.meta};v(A);const T=await w(A),{maxPages:_}=t.options,D=C?SR:NR;return{pages:D(E.pages,T,_),pageParams:D(E.pageParams,j,_)}};if(o&&c.length){const E=o==="backward",j=E?zR:P0,C={pages:c,pageParams:d},A=j(r,C);f=await S(C,A,E)}else{const E=e??c.length;do{const j=m===0?d[0]??r.initialPageParam:P0(r,f);if(m>0&&j==null)break;f=await S(f,j),m++}while(m<E)}return f};t.options.persister?t.fetchFn=()=>t.options.persister?.(p,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},a):t.fetchFn=p}}}function P0(e,{pages:t,pageParams:a}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,a[r],a):void 0}function zR(e,{pages:t,pageParams:a}){return t.length>0?e.getPreviousPageParam?.(t[0],t,a[0],a):void 0}var LR=class{#e;#t;#n;#a;#i;#r;#s;#o;constructor(e={}){this.#e=e.queryCache||new OR,this.#t=e.mutationCache||new PR,this.#n=e.defaultOptions||{},this.#a=new Map,this.#i=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#s=Oj.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#o=ku.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#s?.(),this.#s=void 0,this.#o?.(),this.#o=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const a=this.defaultQueryOptions(e),r=this.#e.build(this,a);return e.revalidateIfStale&&r.isStaleByTime(R0(a.staleTime,r))&&this.prefetchQuery(a),Promise.resolve(t)}}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:a})=>{const r=a.data;return[t,r]})}setQueryData(e,t,a){const r=this.defaultQueryOptions({queryKey:e}),c=this.#e.get(r.queryHash)?.state.data,d=yR(t,c);if(d!==void 0)return this.#e.build(this,r).setData(d,{...a,manual:!0})}setQueriesData(e,t,a){return sn.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,a)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;sn.batch(()=>{t.findAll(e).forEach(a=>{t.remove(a)})})}resetQueries(e,t){const a=this.#e,r={type:"active",...e};return sn.batch(()=>(a.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const a={revert:!0,...t},r=sn.batch(()=>this.#e.findAll(e).map(o=>o.cancel(a)));return Promise.all(r).then(Jn).catch(Jn)}invalidateQueries(e={},t={}){return sn.batch(()=>{if(this.#e.findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const a={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(a,t)})}refetchQueries(e={},t){const a={...t,cancelRefetch:t?.cancelRefetch??!0},r=sn.batch(()=>this.#e.findAll(e).filter(o=>!o.isDisabled()).map(o=>{let c=o.fetch(void 0,a);return a.throwOnError||(c=c.catch(Jn)),o.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(r).then(Jn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const a=this.#e.build(this,t);return a.isStaleByTime(R0(t.staleTime,a))?a.fetch(t):Promise.resolve(a.state.data)}
57prefetchQuery(e){return this.fetchQuery(e).then(Jn).catch(Jn)}fetchInfiniteQuery(e){return e.behavior=V0(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Jn).catch(Jn)}ensureInfiniteQueryData(e){return e.behavior=V0(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ku.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#a.set(gl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#a.values()];let a={};return t.forEach(r=>{yl(e,r.queryKey)&&(a={...a,...r.defaultOptions})}),a}setMutationDefaults(e,t){this.#i.set(gl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#i.values()];let a={};return t.forEach(r=>{yl(e,r.mutationKey)&&(a={...a,...r.defaultOptions})}),a}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Xp(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===Qp&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},BR=x.createContext(void 0),UR=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(BR.Provider,{value:e,children:t}));async function IR(e){if(!e.ok){const t=await e.text()||e.statusText;throw new Error(`${e.status}: ${t}`)}}const FR=({on401:e})=>async({queryKey:t})=>{const a=await fetch(t.join("/"),{credentials:"include"});return await IR(a),await a.json()},HR=new LR({defaultOptions:{queries:{queryFn:FR({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),qR=1,$R=1e6;let dm=0;function GR(){return dm=(dm+1)%Number.MAX_SAFE_INTEGER,dm.toString()}const fm=new Map,z0=e=>{if(fm.has(e))return;const t=setTimeout(()=>{fm.delete(e),il({type:"REMOVE_TOAST",toastId:e})},$R);fm.set(e,t)},YR=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,qR)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{const{toastId:a}=t;return a?z0(a):e.toasts.forEach(r=>{z0(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===a||a===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},bu=[];let wu={toasts:[]};function il(e){wu=YR(wu,e),bu.forEach(t=>{t(wu)})}function ZR({...e}){const t=GR(),a=o=>il({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>il({type:"DISMISS_TOAST",toastId:t});return il({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:a}}function KR(){const[e,t]=x.useState(wu);return x.useEffect(()=>(bu.push(t),()=>{const a=bu.indexOf(t);a>-1&&bu.splice(a,1)}),[e]),{...e,toast:ZR,dismiss:a=>il({type:"DISMISS_TOAST",toastId:a})}}var Or=wj();const Lj=bj(Or);function Tn(e,t,{checkForDefaultPrevented:a=!0}={}){return function(o){if(e?.(o),a===!1||!o.defaultPrevented)return t?.(o)}}function L0(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Gs(...e){return t=>{let a=!1;const r=e.map(o=>{const c=L0(o,t);return!a&&typeof c=="function"&&(a=!0),c});if(a)return()=>{for(let o=0;o<r.length;o++){const c=r[o];typeof c=="function"?c():L0(e[o],null)}}}}function Qe(...e){return x.useCallback(Gs(...e),e)}function XR(e,t){const a=x.createContext(t),r=c=>{const{children:d,...f}=c,m=x.useMemo(()=>f,Object.values(f));return l.jsx(a.Provider,{value:m,children:d})};r.displayName=e+"Provider";function o(c){const d=x.useContext(a);if(d)return d;if(t!==void 0)return t;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[r,o]}function ja(e,t=[]){let a=[];function r(c,d){const f=x.createContext(d),m=a.length;a=[...a,d];const p=v=>{const{scope:w,children:S,...E}=v,j=w?.[e]?.[m]||f,C=x.useMemo(()=>E,Object.values(E));return l.jsx(j.Provider,{value:C,children:S})};p.displayName=c+"Provider";function y(v,w){const S=w?.[e]?.[m]||f,E=x.useContext(S);if(E)return E;if(d!==void 0)return d;throw new Error(`\`${v}\` must be used within \`${c}\``)}return[p,y]}const o=()=>{const c=a.map(d=>x.createContext(d));return function(f){const m=f?.[e]||c;return x.useMemo(()=>({[`__scope${e}`]:{...f,[e]:m}}),[f,m])}};return o.scopeName=e,[r,QR(o,...t)]}function QR(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const d=r.reduce((f,{useScope:m,scopeName:p})=>{const v=m(c)[`__scope${p}`];return{...f,...v}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:d}),[d])}};return a.scopeName=t.scopeName,a}function Ym(e){const t=WR(e),a=x.forwardRef((r,o)=>{const{children:c,...d}=r,f=x.Children.toArray(c),m=f.find(e4);if(m){const p=m.props.children,y=f.map(v=>v===m?x.Children.count(p)>1?x.Children.only(null):x.isValidElement(p)?p.props.children:null:v);return l.jsx(t,{...d,ref:o,children:x.isValidElement(p)?x.cloneElement(p,void 0,y):null})}return l.jsx(t,{...d,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}function WR(e){const t=x.forwardRef((a,r)=>{const{children:o,...c}=a;if(x.isValidElement(o)){const d=n4(o),f=t4(c,o.props);return o.type!==x.Fragment&&(f.ref=r?Gs(r,d):d),x.cloneElement(o,f)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var JR=Symbol("radix.slottable");function e4(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===JR}function t4(e,t){const a={...t};for(const r in t){const o=e[r],c=t[r];/^on[A-Z]/.test(r)?o&&c?a[r]=(...f)=>{c(...f),o(...f)}:o&&(a[r]=o):r==="style"?a[r]={...o,...c}
vendor: 1,428 bytes, line 57
57:r==="className"&&(a[r]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function n4(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function a4(e){const t=e+"CollectionProvider",[a,r]=ja(t),[o,c]=a(t,{collectionRef:{current:null},itemMap:new Map}),d=j=>{const{scope:C,children:A}=j,T=je.useRef(null),_=je.useRef(new Map).current;return l.jsx(o,{scope:C,itemMap:_,collectionRef:T,children:A})};d.displayName=t;const f=e+"CollectionSlot",m=Ym(f),p=je.forwardRef((j,C)=>{const{scope:A,children:T}=j,_=c(f,A),D=Qe(C,_.collectionRef);return l.jsx(m,{ref:D,children:T})});p.displayName=f;const y=e+"CollectionItemSlot",v="data-radix-collection-item",w=Ym(y),S=je.forwardRef((j,C)=>{const{scope:A,children:T,..._}=j,D=je.useRef(null),V=Qe(C,D),G=c(y,A);return je.useEffect(()=>(G.itemMap.set(D,{ref:D,..._}),()=>void G.itemMap.delete(D))),l.jsx(w,{[v]:"",ref:V,children:T})});S.displayName=y;function E(j){const C=c(e+"CollectionConsumer",j);return je.useCallback(()=>{const T=C.collectionRef.current;if(!T)return[];const _=Array.from(T.querySelectorAll(`[${v}]`));return Array.from(C.itemMap.values()).sort((G,z)=>_.indexOf(G.ref.current)-_.indexOf(z.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:d,Slot:p,ItemSlot:S}
vendor: 4,180 bytes, line 57
57,E,r]}var s4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Na=s4.reduce((e,t)=>{const a=Ym(`Primitive.${t}`),r=x.forwardRef((o,c)=>{const{asChild:d,...f}=o,m=d?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(m,{...f,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Bj(e,t){e&&Or.flushSync(()=>e.dispatchEvent(t))}function on(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...a)=>t.current?.(...a),[])}function Uj(e,t=globalThis?.document){const a=on(e);x.useEffect(()=>{const r=o=>{o.key==="Escape"&&a(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[a,t])}var r4="DismissableLayer",Zm="dismissableLayer.update",i4="dismissableLayer.pointerDownOutside",o4="dismissableLayer.focusOutside",B0,Ij=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Fj=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:c,onInteractOutside:d,onDismiss:f,...m}=e,p=x.useContext(Ij),[y,v]=x.useState(null),w=y?.ownerDocument??globalThis?.document,[,S]=x.useState({}),E=Qe(t,z=>v(z)),j=Array.from(p.layers),[C]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),A=j.indexOf(C),T=y?j.indexOf(y):-1,_=p.layersWithOutsidePointerEventsDisabled.size>0,D=T>=A,V=c4(z=>{const I=z.target,ae=[...p.branches].some(ue=>ue.contains(I));!D||ae||(o?.(z),d?.(z),z.defaultPrevented||f?.())},w),G=u4(z=>{const I=z.target;[...p.branches].some(ue=>ue.contains(I))||(c?.(z),d?.(z),z.defaultPrevented||f?.())},w);return Uj(z=>{T===p.layers.size-1&&(r?.(z),!z.defaultPrevented&&f&&(z.preventDefault(),f()))},w),x.useEffect(()=>{if(y)return a&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(B0=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(y)),p.layers.add(y),U0(),()=>{a&&p.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=B0)}},[y,w,a,p]),x.useEffect(()=>()=>{y&&(p.layers.delete(y),p.layersWithOutsidePointerEventsDisabled.delete(y),U0())},[y,p]),x.useEffect(()=>{const z=()=>S({});return document.addEventListener(Zm,z),()=>document.removeEventListener(Zm,z)},[]),l.jsx(Na.div,{...m,ref:E,style:{pointerEvents:_?D?"auto":"none":void 0,...e.style},onFocusCapture:Tn(e.onFocusCapture,G.onFocusCapture),onBlurCapture:Tn(e.onBlurCapture,G.onBlurCapture),onPointerDownCapture:Tn(e.onPointerDownCapture,V.onPointerDownCapture)})});Fj.displayName=r4;var l4="DismissableLayerBranch",Hj=x.forwardRef((e,t)=>{const a=x.useContext(Ij),r=x.useRef(null),o=Qe(t,r);return x.useEffect(()=>{const c=r.current;if(c)return a.branches.add(c),()=>{a.branches.delete(c)}},[a.branches]),l.jsx(Na.div,{...e,ref:o})});Hj.displayName=l4;function c4(e,t=globalThis?.document){const a=on(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const c=f=>{if(f.target&&!r.current){let m=function(){qj(i4,a,p,{discrete:!0})};const p={originalEvent:f};f.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=m,t.addEventListener("click",o.current,{once:!0})):m()}else t.removeEventListener("click",o.current);r.current=!1},d=window.setTimeout(()=>{t.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(d),t.removeEventListener("pointerdown",c),t.removeEventListener("click",o.current)}},[t,a]),{onPointerDownCapture:()=>r.current=!0}}function u4(e,t=globalThis?.document){const a=on(e),r=x.useRef(!1);return x.useEffect(()=>{const o=c=>{c.target&&!r.current&&qj(o4,a,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,a]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function U0(){const e=new CustomEvent(Zm);document.dispatchEvent(e)}function qj(e,t,a,{discrete:r}){const o=a.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});t&&o.addEventListener(e,t,{once:!0}),r?Bj(o,c):o.dispatchEvent(c)}var d4=Fj,f4=Hj,gt=globalThis?.document?x.useLayoutEffect:()=>{},h4="Portal",$j=x.forwardRef((e,t)=>
vendor: 1,794 bytes, line 57
57{const{container:a,...r}=e,[o,c]=x.useState(!1);gt(()=>c(!0),[]);const d=a||o&&globalThis?.document?.body;return d?Lj.createPortal(l.jsx(Na.div,{...r,ref:t}),d):null});$j.displayName=h4;function m4(e,t){return x.useReducer((a,r)=>t[a][r]??a,e)}var Gj=e=>{const{present:t,children:a}=e,r=p4(t),o=typeof a=="function"?a({present:r.isPresent}):x.Children.only(a),c=Qe(r.ref,g4(o));return typeof a=="function"||r.isPresent?x.cloneElement(o,{ref:c}):null};Gj.displayName="Presence";function p4(e){const[t,a]=x.useState(),r=x.useRef({}),o=x.useRef(e),c=x.useRef("none"),d=e?"mounted":"unmounted",[f,m]=m4(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const p=ru(r.current);c.current=f==="mounted"?p:"none"},[f]),gt(()=>{const p=r.current,y=o.current;if(y!==e){const w=c.current,S=ru(p);e?m("MOUNT"):S==="none"||p?.display==="none"?m("UNMOUNT"):m(y&&w!==S?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,m]),gt(()=>{if(t){let p;const y=t.ownerDocument.defaultView??window,v=S=>{const j=ru(r.current).includes(S.animationName);if(S.target===t&&j&&(m("ANIMATION_END"),!o.current)){const C=t.style.animationFillMode;t.style.animationFillMode="forwards",p=y.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=C)})}},w=S=>{S.target===t&&(c.current=ru(r.current))};return t.addEventListener("animationstart",w),t.addEventListener("animationcancel",v),t.addEventListener("animationend",v),()=>{y.clearTimeout(p),t.removeEventListener("animationstart",w),t.removeEventListener("animationcancel",v),t.removeEventListener("animationend",v)}}else m("ANIMATION_END")},[t,m]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:x.useCallback(p=>
57{p&&(r.current=getComputedStyle(p)),a(p)},[])}}function ru(e){return e?.animationName||"none"}function g4(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function y4({prop:e,defaultProp:t,onChange:a=()=>{}}){const[r,o]=x4({defaultProp:t,onChange:a}),c=e!==void 0,d=c?e:r,f=on(a),m=x.useCallback(p=>{if(c){const v=typeof p=="function"?p(e):p;v!==e&&f(v)}else o(p)},[c,e,o,f]);return[d,m]}function x4({defaultProp:e,onChange:t}){const a=x.useState(e),[r]=a,o=x.useRef(r),c=on(t);return x.useEffect(()=>{o.current!==r&&(c(r),o.current=r)},[r,o,c]),a}var v4="VisuallyHidden",Wp=x.forwardRef((e,t)=>l.jsx(Na.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Wp.displayName=v4;var Jp="ToastProvider",[eg,b4,w4]=a4("Toast"),[Yj]=ja("Toast",[w4]),[j4,fd]=Yj(Jp),Zj=e=>{const{__scopeToast:t,label:a="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:c=50,children:d}=e,[f,m]=x.useState(null),[p,y]=x.useState(0),v=x.useRef(!1),w=x.useRef(!1);return a.trim()||console.error(`Invalid prop \`label\` supplied to \`${Jp}\`. Expected non-empty \`string\`.`),l.jsx(eg.Provider,{scope:t,children:l.jsx(j4,{scope:t,label:a,duration:r,swipeDirection:o,swipeThreshold:c,toastCount:p,viewport:f,onViewportChange:m,onToastAdd:x.useCallback(()=>y(S=>S+1),[]),onToastRemove:x.useCallback(()=>y(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:w,children:d})})};Zj.displayName=Jp;var Kj="ToastViewport",N4=["F8"],Km="toast.viewportPause",Xm="toast.viewportResume",Xj=x.forwardRef((e,t)=>{const{__scopeToast:a,hotkey:r=N4,label:o="Notifications ({hotkey})",...c}=e,d=fd(Kj,a),f=b4(a),m=x.useRef(null),p=x.useRef(null),y=x.useRef(null),v=x.useRef(null),w=Qe(t,v,d.onViewportChange),S=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=d.toastCount>0;x.useEffect(()=>{const C=A=>{r.length!==0&&r.every(_=>A[_]||A.code===_)&&v.current?.focus()};return document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)},[r]),x.useEffect(()=>{const C=m.current,A=v.current;if(E&&C&&A){const T=()=>{if(!d.isClosePausedRef.current){const G=new CustomEvent(Km);A.dispatchEvent(G),d.isClosePausedRef.current=!0}},_=()=>{if(d.isClosePausedRef.current){const G=new CustomEvent(Xm);A.dispatchEvent(G),d.isClosePausedRef.current=!1}},D=G=>{!C.contains(G.relatedTarget)&&_()},V=()=>{C.contains(document.activeElement)||_()};return C.addEventListener("focusin",T),C.addEventListener("focusout",D),C.addEventListener("pointermove",T),C.addEventListener("pointerleave",V),window.addEventListener("blur",T),window.addEventListener("focus",_),()=>{C.removeEventListener("focusin",T),C.removeEventListener("focusout",D),C.removeEventListener("pointermove",T),C.removeEventListener("pointerleave",V),window.removeEventListener("blur",T),window.removeEventListener("focus",_)}}},[E,d.isClosePausedRef]);const j=x.useCallback(({tabbingDirection:C})=>{const T=f().map(_=>{const D=_.ref.current,V=[D,...P4(D)];return C==="forwards"?V:V.reverse()});return(C==="forwards"?T.reverse():T).flat()},[f]);return x.useEffect(()=>{const C=v.current;if(C){const A=T=>{const _=T.altKey||T.ctrlKey||T.metaKey;if(T.key==="Tab"&&!_){const V=document.activeElement,G=T.shiftKey;if(T.target===C&&G){p.current?.focus();return}const ae=j({tabbingDirection:G?"backwards":"forwards"}),ue=ae.findIndex(ge=>ge===V);hm(ae.slice(ue+1))?T.preventDefault():G?p.current?.focus():y.current?.focus()}};return C.addEventListener("keydown",A),()=>C.removeEventListener("keydown",A)}},[f,j]),l.jsxs(f4,{ref:m,role:"region","aria-label":o.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:E?void 0:"none"},children:[E&&l.jsx(Qm,{ref:p,onFocusFromOutsideViewport:()=>{const C=j({tabbingDirection:"forwards"});hm(C)}}),l.jsx(eg.Slot,{scope:a,children:l.jsx(Na.ol,{tabIndex:-1,...c,ref:w})}),E&&l.jsx(Qm,{ref:y,onFocusFromOutsideViewport:()=>{const C=j({tabbingDirection:"backwards"});hm(C)}})]})});Xj.displayName=Kj;var Qj="ToastFocusProxy",Qm=x.forwardRef((e,t)=>
vendor: 5,036 bytes, line 57
57{const{__scopeToast:a,onFocusFromOutsideViewport:r,...o}=e,c=fd(Qj,a);return l.jsx(Wp,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:d=>{const f=d.relatedTarget;!c.viewport?.contains(f)&&r()}})});Qm.displayName=Qj;var hd="Toast",S4="toast.swipeStart",C4="toast.swipeMove",E4="toast.swipeCancel",T4="toast.swipeEnd",Wj=x.forwardRef((e,t)=>{const{forceMount:a,open:r,defaultOpen:o,onOpenChange:c,...d}=e,[f=!0,m]=y4({prop:r,defaultProp:o,onChange:c});return l.jsx(Gj,{present:a||f,children:l.jsx(R4,{open:f,...d,ref:t,onClose:()=>m(!1),onPause:on(e.onPause),onResume:on(e.onResume),onSwipeStart:Tn(e.onSwipeStart,p=>{p.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Tn(e.onSwipeMove,p=>{const{x:y,y:v}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","move"),p.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${y}px`),p.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:Tn(e.onSwipeCancel,p=>{p.currentTarget.setAttribute("data-swipe","cancel"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Tn(e.onSwipeEnd,p=>{const{x:y,y:v}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","end"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${y}px`),p.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),m(!1)})})})});Wj.displayName=hd;var[A4,_4]=Yj(hd,{onClose(){}}),R4=x.forwardRef((e,t)=>{const{__scopeToast:a,type:r="foreground",duration:o,open:c,onClose:d,onEscapeKeyDown:f,onPause:m,onResume:p,onSwipeStart:y,onSwipeMove:v,onSwipeCancel:w,onSwipeEnd:S,...E}=e,j=fd(hd,a),[C,A]=x.useState(null),T=Qe(t,J=>A(J)),_=x.useRef(null),D=x.useRef(null),V=o||j.duration,G=x.useRef(0),z=x.useRef(V),I=x.useRef(0),{onToastAdd:ae,onToastRemove:ue}=j,ge=on(()=>{C?.contains(document.activeElement)&&j.viewport?.focus(),d()}),oe=x.useCallback(J=>{!J||J===1/0||(window.clearTimeout(I.current),G.current=new Date().getTime(),I.current=window.setTimeout(ge,J))},[ge]);x.useEffect(()=>{const J=j.viewport;if(J){const fe=()=>{oe(z.current),p?.()},P=()=>{const $=new Date().getTime()-G.current;z.current=z.current-$,window.clearTimeout(I.current),m?.()};return J.addEventListener(Km,P),J.addEventListener(Xm,fe),()=>{J.removeEventListener(Km,P),J.removeEventListener(Xm,fe)}}},[j.viewport,V,m,p,oe]),x.useEffect(()=>{c&&!j.isClosePausedRef.current&&oe(V)},[c,V,j.isClosePausedRef,oe]),x.useEffect(()=>(ae(),()=>ue()),[ae,ue]);const de=x.useMemo(()=>C?rN(C):null,[C]);return j.viewport?l.jsxs(l.Fragment,{children:[de&&l.jsx(k4,{__scopeToast:a,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:de}),l.jsx(A4,{scope:a,onClose:ge,children:Or.createPortal(l.jsx(eg.ItemSlot,{scope:a,children:l.jsx(d4,{asChild:!0,onEscapeKeyDown:Tn(f,()=>{j.isFocusedToastEscapeKeyDownRef.current||ge(),j.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(Na.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":c?"open":"closed","data-swipe-direction":j.swipeDirection,...E,ref:T,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Tn(e.onKeyDown,J=>{J.key==="Escape"&&(f?.(J.nativeEvent),J.nativeEvent.defaultPrevented||(j.isFocusedToastEscapeKeyDownRef.current=!0,ge()))}),onPointerDown:Tn(e.onPointerDown,J=>{J.button===0&&(_.current={x:J.clientX,y:J.clientY})}),onPointerMove:Tn(e.onPointerMove,J=>{if(!_.current)return;const fe=J.clientX-_.current.x,P=J.clientY-_.current.y,$=!!D.current,B=["left","right"].includes(j.swipeDirection),le=["left","up"].includes(j.swipeDirection)?Math.min:Math.max,Se=B?le(0,fe):0,M=B?0:le(0,P),Z=J.pointerType==="touch"?10:2,ee={x:Se,y:M},se={originalEvent:J,delta:ee};$?(D.current=ee,iu(C4,v,se,{discrete:!1})):I0(ee,j.swipeDirection,Z)?(D.current=ee,iu(S4,y,se,{discrete:!1}),J.target.setPointerCapture(J.pointerId)):(Math.abs(fe)>Z||Math.abs(P)>Z)&&(_.current=null)}),onPointerUp:Tn(e.onPointerUp,J=>{const fe=D.current,P=J.target;if(P.hasPointerCapture(J.pointerId)&&P.releasePointerCapture(J.pointerId),D.current=null,_.current=null,fe){const $=J.currentTarget,B={originalEvent:J,delta:fe};I0(fe,j.swipeDirection,j.swipeThreshold)?iu(T4,S,B,{discrete:!0}):iu(E4,w,B,{discrete:!0}),$.addEventListener("click",le=>le.preventDefault(),{once:!0})}})})})}),j.viewport)})]}):null}),k4=e=>{const{__scopeToast:t,children:a,...r}=e,o=fd(hd,t),[c,d]=x.useState(!1),[f,m]=x.useState(!1);return D4(()=>d(!0)),x.useEffect(()=>{const p=window.setTimeout(()=>m(!0),1e3);return()=>window.clearTimeout(p)},[]),f?null:l.jsx($j,{asChild:!0,children:l.jsx(Wp,{...r,children:c&&l.jsxs(l.Fragment,{children:[o.label," ",a]})})})},M4="ToastTitle",Jj=x.forwardRef((e,t)=>
vendor: 4,677 bytes, lines 57-72
57{const{__scopeToast:a,...r}=e;return l.jsx(Na.div,{...r,ref:t})});Jj.displayName=M4;var O4="ToastDescription",eN=x.forwardRef((e,t)=>{const{__scopeToast:a,...r}=e;return l.jsx(Na.div,{...r,ref:t})});eN.displayName=O4;var tN="ToastAction",nN=x.forwardRef((e,t)=>{const{altText:a,...r}=e;return a.trim()?l.jsx(sN,{altText:a,asChild:!0,children:l.jsx(tg,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${tN}\`. Expected non-empty \`string\`.`),null)});nN.displayName=tN;var aN="ToastClose",tg=x.forwardRef((e,t)=>{const{__scopeToast:a,...r}=e,o=_4(aN,a);return l.jsx(sN,{asChild:!0,children:l.jsx(Na.button,{type:"button",...r,ref:t,onClick:Tn(e.onClick,o.onClose)})})});tg.displayName=aN;var sN=x.forwardRef((e,t)=>{const{__scopeToast:a,altText:r,...o}=e;return l.jsx(Na.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function rN(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),V4(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",c=r.dataset.radixToastAnnounceExclude==="";if(!o)if(c){const d=r.dataset.radixToastAnnounceAlt;d&&t.push(d)}else t.push(...rN(r))}}),t}function iu(e,t,a,{discrete:r}){const o=a.originalEvent.currentTarget,c=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:a});t&&o.addEventListener(e,t,{once:!0}),r?Bj(o,c):o.dispatchEvent(c)}var I0=(e,t,a=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),c=r>o;return t==="left"||t==="right"?c&&r>a:!c&&o>a};function D4(e=()=>{}){const t=on(e);gt(()=>{let a=0,r=0;return a=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(a),window.cancelAnimationFrame(r)}},[t])}function V4(e){return e.nodeType===e.ELEMENT_NODE}function P4(e){const t=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)t.push(a.currentNode);return t}function hm(e){const t=document.activeElement;return e.some(a=>a===t?!0:(a.focus(),document.activeElement!==t))}var z4=Zj,iN=Xj,oN=Wj,lN=Jj,cN=eN,uN=nN,dN=tg;function fN(e){var t,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(a=fN(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function hN(){for(var e,t,a=0,r="",o=arguments.length;a<o;a++)(e=arguments[a])&&(t=fN(e))&&(r&&(r+=" "),r+=t);return r}const F0=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,H0=hN,Al=(e,t)=>a=>{var r;if(t?.variants==null)return H0(e,a?.class,a?.className);const{variants:o,defaultVariants:c}=t,d=Object.keys(o).map(p=>{const y=a?.[p],v=c?.[p];if(y===null)return null;const w=F0(y)||F0(v);return o[p][w]}),f=a&&Object.entries(a).reduce((p,y)=>{let[v,w]=y;return w===void 0||(p[v]=w),p},{}),m=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((p,y)=>{let{class:v,className:w,...S}=y;return Object.entries(S).every(E=>{let[j,C]=E;return Array.isArray(C)?C.includes({...c,...f}[j]):{...c,...f}[j]===C})?[...p,v,w]:p},[]);return H0(e,d,m,a?.class,a?.className)};/** 58 * @license lucide-react v0.545.0 - ISC 59 * 60 * This source code is licensed under the ISC license. 61 * See the LICENSE file in the root directory of this source tree. 62 */const L4=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),B4=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,r)=>r?r.toUpperCase():a.toLowerCase()),q0=e=>{const t=B4(e);return t.charAt(0).toUpperCase()+t.slice(1)},mN=(...e)=>e.filter((t,a,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===a).join(" ").trim(),U4=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/** 63 * @license lucide-react v0.545.0 - ISC 64 * 65 * This source code is licensed under the ISC license. 66 * See the LICENSE file in the root directory of this source tree. 67 */var I4={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"};/** 68 * @license lucide-react v0.545.0 - ISC 69 * 70 * This source code is licensed under the ISC license. 71 * See the LICENSE file in the root directory of this source tree. 72 */const F4=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:r,className:o="",children:c,iconNode:d,...f},m)=>x.createElement("svg",{ref:m,...I4,width:t,height:t,stroke:e,strokeWidth:r?Number(a)*24/Number(t):a,className:mN("lucide",o),...!c&&!U4(f)&&{"aria-hidden":"true"},...f},[...d.map(([p,y])=>
vendor: 8,000 bytes, lines 72-177
72x.createElement(p,y)),...Array.isArray(c)?c:[c]]));/** 73 * @license lucide-react v0.545.0 - ISC 74 * 75 * This source code is licensed under the ISC license. 76 * See the LICENSE file in the root directory of this source tree. 77 */const Ce=(e,t)=>{const a=x.forwardRef(({className:r,...o},c)=>x.createElement(F4,{ref:c,iconNode:t,className:mN(`lucide-${L4(q0(e))}`,`lucide-${e}`,r),...o}));return a.displayName=q0(e),a};/** 78 * @license lucide-react v0.545.0 - ISC 79 * 80 * This source code is licensed under the ISC license. 81 * See the LICENSE file in the root directory of this source tree. 82 */const H4=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],Mu=Ce("activity",H4);/** 83 * @license lucide-react v0.545.0 - ISC 84 * 85 * This source code is licensed under the ISC license. 86 * See the LICENSE file in the root directory of this source tree. 87 */const q4=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],md=Ce("arrow-left",q4);/** 88 * @license lucide-react v0.545.0 - ISC 89 * 90 * This source code is licensed under the ISC license. 91 * See the LICENSE file in the root directory of this source tree. 92 */const $4=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],_l=Ce("arrow-right",$4);/** 93 * @license lucide-react v0.545.0 - ISC 94 * 95 * This source code is licensed under the ISC license. 96 * See the LICENSE file in the root directory of this source tree. 97 */const G4=[["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"}]],Wm=Ce("award",G4);/** 98 * @license lucide-react v0.545.0 - ISC 99 * 100 * This source code is licensed under the ISC license. 101 * See the LICENSE file in the root directory of this source tree. 102 */const Y4=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],$0=Ce("book-open",Y4);/** 103 * @license lucide-react v0.545.0 - ISC 104 * 105 * This source code is licensed under the ISC license. 106 * See the LICENSE file in the root directory of this source tree. 107 */const Z4=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],G0=Ce("box",Z4);/** 108 * @license lucide-react v0.545.0 - ISC 109 * 110 * This source code is licensed under the ISC license. 111 * See the LICENSE file in the root directory of this source tree. 112 */const K4=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],pN=Ce("brain",K4);/** 113 * @license lucide-react v0.545.0 - ISC 114 * 115 * This source code is licensed under the ISC license. 116 * See the LICENSE file in the root directory of this source tree. 117 */const X4=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],Ou=Ce("briefcase",X4);/** 118 * @license lucide-react v0.545.0 - ISC 119 * 120 * This source code is licensed under the ISC license. 121 * See the LICENSE file in the root directory of this source tree. 122 */const Q4=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],ga=Ce("building-2",Q4);/** 123 * @license lucide-react v0.545.0 - ISC 124 * 125 * This source code is licensed under the ISC license. 126 * See the LICENSE file in the root directory of this source tree. 127 */const W4=[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],J4=Ce("building",W4);/** 128 * @license lucide-react v0.545.0 - ISC 129 * 130 * This source code is licensed under the ISC license. 131 * See the LICENSE file in the root directory of this source tree. 132 */const ek=[["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"}]],Rl=Ce("calendar",ek);/** 133 * @license lucide-react v0.545.0 - ISC 134 * 135 * This source code is licensed under the ISC license. 136 * See the LICENSE file in the root directory of this source tree. 137 */const tk=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],Du=Ce("chart-line",tk);/** 138 * @license lucide-react v0.545.0 - ISC 139 * 140 * This source code is licensed under the ISC license. 141 * See the LICENSE file in the root directory of this source tree. 142 */const nk=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ol=Ce("check",nk);/** 143 * @license lucide-react v0.545.0 - ISC 144 * 145 * This source code is licensed under the ISC license. 146 * See the LICENSE file in the root directory of this source tree. 147 */const ak=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],pd=Ce("chevron-down",ak);/** 148 * @license lucide-react v0.545.0 - ISC 149 * 150 * This source code is licensed under the ISC license. 151 * See the LICENSE file in the root directory of this source tree. 152 */const sk=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],rk=Ce("chevron-up",sk);/** 153 * @license lucide-react v0.545.0 - ISC 154 * 155 * This source code is licensed under the ISC license. 156 * See the LICENSE file in the root directory of this source tree. 157 */const ik=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],ok=Ce("circle-alert",ik);/** 158 * @license lucide-react v0.545.0 - ISC 159 * 160 * This source code is licensed under the ISC license. 161 * See the LICENSE file in the root directory of this source tree. 162 */const lk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ea=Ce("circle-check",lk);/** 163 * @license lucide-react v0.545.0 - ISC 164 * 165 * This source code is licensed under the ISC license. 166 * See the LICENSE file in the root directory of this source tree. 167 */const ck=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Ei=Ce("circle-check-big",ck);/** 168 * @license lucide-react v0.545.0 - ISC 169 * 170 * This source code is licensed under the ISC license. 171 * See the LICENSE file in the root directory of this source tree. 172 */const uk=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ys=Ce("clock",uk);/** 173 * @license lucide-react v0.545.0 - ISC 174 * 175 * This source code is licensed under the ISC license. 176 * See the LICENSE file in the root directory of this source tree. 177 */const dk=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}
177],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],fk=Ce("cpu",dk);/** 178 * @license lucide-react v0.545.0 - ISC 179 * 180 * This source code is licensed under the ISC license. 181 * See the LICENSE file in the root directory of this source tree. 182 */const hk=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],gN=Ce("database",hk);/** 183 * @license lucide-react v0.545.0 - ISC 184 * 185 * This source code is licensed under the ISC license. 186 * See the LICENSE file in the root directory of this source tree. 187 */const mk=[["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"}]],pk=Ce("external-link",mk);/** 188 * @license lucide-react v0.545.0 - ISC 189 * 190 * This source code is licensed under the ISC license. 191 * See the LICENSE file in the root directory of this source tree. 192 */const gk=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],yk=Ce("eye",gk);/** 193 * @license lucide-react v0.545.0 - ISC 194 * 195 * This source code is licensed under the ISC license. 196 * See the LICENSE file in the root directory of this source tree. 197 */const xk=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],yN=Ce("facebook",xk);/** 198 * @license lucide-react v0.545.0 - ISC 199 * 200 * This source code is licensed under the ISC license. 201 * See the LICENSE file in the root directory of this source tree. 202 */const vk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],xN=Ce("globe",vk);/** 203 * @license lucide-react v0.545.0 - ISC 204 * 205 * This source code is licensed under the ISC license. 206 * See the LICENSE file in the root directory of this source tree. 207 */const bk=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],wk=Ce("graduation-cap",bk);/** 208 * @license lucide-react v0.545.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 jk=[["path",{d:"M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5",key:"1p9q5i"}],["path",{d:"M14 6a6 6 0 0 1 6 6v3",key:"1hnv84"}],["path",{d:"M4 15v-3a6 6 0 0 1 6-6",key:"9ciidu"}],["rect",{x:"2",y:"15",width:"20",height:"4",rx:"1",key:"g3x8cw"}]],ng=Ce("hard-hat",jk);/** 213 * @license lucide-react v0.545.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 */const Nk=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],ju=Ce("heart",Nk);/** 218 * @license lucide-react v0.545.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 Sk=[["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"}]],vN=Ce("instagram",Sk);/** 223 * @license lucide-react v0.545.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 Ck=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.12 2.198a2 2 0 0 1 1.76.006l7.866 3.847c.476.233.31.949-.22.949H3.474c-.53 0-.695-.716-.22-.949z",key:"1m329m"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],gd=Ce("landmark",Ck);/** 228 * @license lucide-react v0.545.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 Ek=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],Jm=Ce("laptop",Ek);/** 233 * @license lucide-react v0.545.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 Tk=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],ag=Ce("layers",Tk);/** 238 * @license lucide-react v0.545.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 Ak=[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]],bN=Ce("layout-template",Ak);/** 243 * @license lucide-react v0.545.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 _k=[["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"}]],ep=Ce("leaf",_k);/** 248 * @license lucide-react v0.545.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 Rk=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Y0=Ce("lightbulb",Rk);/** 253 * @license lucide-react v0.545.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 kk=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],wN=Ce("linkedin",kk);/** 258 * @license lucide-react v0.545.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 Mk=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Ok=Ce("loader-circle",Mk);/** 263 * @license lucide-react v0.545.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 Dk=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}
267],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],Z0=Ce("log-in",Dk);/** 268 * @license lucide-react v0.545.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 Vk=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Pk=Ce("lock",Vk);/** 273 * @license lucide-react v0.545.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 zk=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],jN=Ce("mail",zk);/** 278 * @license lucide-react v0.545.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 Lk=[["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"}]],Li=Ce("map-pin",Lk);/** 283 * @license lucide-react v0.545.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 Bk=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Uk=Ce("menu",Bk);/** 288 * @license lucide-react v0.545.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 Ik=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],NN=Ce("message-circle",Ik);/** 293 * @license lucide-react v0.545.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 Fk=[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z",key:"1n2ejm"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1",key:"1qfcsi"}]],Hk=Ce("messages-square",Fk);/** 298 * @license lucide-react v0.545.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 qk=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],SN=Ce("palette",qk);/** 303 * @license lucide-react v0.545.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 $k=[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]],sg=Ce("scale",$k);/** 308 * @license lucide-react v0.545.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 Gk=[["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M18 5v16",key:"1ethyx"}],["path",{d:"m4 6 7.106-3.79a2 2 0 0 1 1.788 0L20 6",key:"zywc2d"}],["path",{d:"m6 11-3.52 2.147a1 1 0 0 0-.48.854V19a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a1 1 0 0 0-.48-.853L18 11",key:"1d4ql0"}],["path",{d:"M6 5v16",key:"1sn0nx"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}]],Yk=Ce("school",Gk);/** 313 * @license lucide-react v0.545.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 Zk=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],tp=Ce("search",Zk);/** 318 * @license lucide-react v0.545.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 Kk=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}
322]],np=Ce("server",Kk);/** 323 * @license lucide-react v0.545.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 Xk=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Qa=Ce("shield-check",Xk);/** 328 * @license lucide-react v0.545.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 Qk=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Wk=Ce("shield",Qk);/** 333 * @license lucide-react v0.545.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 Jk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],CN=Ce("smile",Jk);/** 338 * @license lucide-react v0.545.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 eM=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
vendor: 4,654 bytes, lines 342-367
342],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],tM=Ce("sparkles",eM);/** 343 * @license lucide-react v0.545.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 nM=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],EN=Ce("trending-up",nM);/** 348 * @license lucide-react v0.545.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 aM=[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["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"}]],sM=Ce("user-check",aM);/** 353 * @license lucide-react v0.545.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 rM=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],_n=Ce("users",rM);/** 358 * @license lucide-react v0.545.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 iM=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],rg=Ce("x",iM);/** 363 * @license lucide-react v0.545.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 oM=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],TN=Ce("zap",oM),lM=(e,t)=>{const a=new Array(e.length+t.length);for(let r=0;r<e.length;r++)a[r]=e[r];for(let r=0;r<t.length;r++)a[e.length+r]=t[r];return a},cM=(e,t)=>({classGroupId:e,validator:t}),AN=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),Vu="-",K0=[],uM="arbitrary..",dM=e=>{const t=hM(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return fM(d);const f=d.split(Vu),m=f[0]===""&&f.length>1?1:0;return _N(f,m,t)},getConflictingClassGroupIds:(d,f)=>{if(f){const m=r[d],p=a[d];return m?p?lM(p,m):m:p||K0}return a[d]||K0}}},_N=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;const o=e[t],c=a.nextPart.get(o);if(c){const p=_N(e,t+1,c);if(p)return p}const d=a.validators;if(d===null)return;const f=t===0?e.join(Vu):e.slice(t).join(Vu),m=d.length;for(let p=0;p<m;p++){const y=d[p];if(y.validator(f))return y.classGroupId}},fM=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),a=t.indexOf(":"),r=t.slice(0,a);return r?uM+r:void 0})(),hM=e=>{const{theme:t,classGroups:a}=e;return mM(a,t)},mM=(e,t)=>{const a=AN();for(const r in e){const o=e[r];ig(o,a,r,t)}return a},ig=(e,t,a,r)=>{const o=e.length;for(let c=0;c<o;c++){const d=e[c];pM(d,t,a,r)}},pM=(e,t,a,r)=>{if(typeof e=="string"){gM(e,t,a);return}if(typeof e=="function"){yM(e,t,a,r);return}xM(e,t,a,r)},gM=(e,t,a)=>{const r=e===""?t:RN(t,e);r.classGroupId=a},yM=(e,t,a,r)=>{if(vM(e)){ig(e(r),t,a,r);return}t.validators===null&&(t.validators=[]),t.validators.push(cM(a,e))},xM=(e,t,a,r)=>{const o=Object.entries(e),c=o.length;for(let d=0;d<c;d++){const[f,m]=o[d];ig(m,RN(t,f),a,r)}},RN=(e,t)=>{let a=e;const r=t.split(Vu),o=r.length;for(let c=0;c<o;c++){const d=r[c];let f=a.nextPart.get(d);f||(f=AN(),a.nextPart.set(d,f)),a=f}return a},vM=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,bM=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=Object.create(null),r=Object.create(null);const o=(c,d)=>{a[c]=d,t++,t>e&&(t=0,r=a,a=Object.create(null))};return{get(c){let d=a[c];if(d!==void 0)return d;if((d=r[c])!==void 0)return o(c,d),d},set(c,d){c in a?a[c]=d:o(c,d)}}},ap="!",X0=":",wM=[],Q0=(e,t,a,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:r,isExternal:o}),jM=e=>{const{prefix:t,experimentalParseClassName:a}=e;let r=o=>{const c=[];let d=0,f=0,m=0,p;const y=o.length;for(let j=0;j<y;j++){const C=o[j];if(d===0&&f===0){if(C===X0){c.push(o.slice(m,j)),m=j+1;continue}if(C==="/"){p=j;continue}}C==="["?d++:C==="]"?d--:C==="("?f++:C===")"&&f--}const v=c.length===0?o:o.slice(m);let w=v,S=!1;v.endsWith(ap)?(w=v.slice(0,-1),S=!0):v.startsWith(ap)&&(w=v.slice(1),S=!0);const E=p&&p>m?p-m:void 0;return Q0(c,S,w,E)};if(t){const o=t+X0,c=r;r=d=>d.startsWith(o)?c(d.slice(o.length)):Q0(wM,!1,d,void 0,!0)}
vendor: 5,114 bytes, line 367
367if(a){const o=r;r=c=>a({className:c,parseClassName:o})}return r},NM=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((a,r)=>{t.set(a,1e6+r)}),a=>{const r=[];let o=[];for(let c=0;c<a.length;c++){const d=a[c],f=d[0]==="[",m=t.has(d);f||m?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(d)):o.push(d)}return o.length>0&&(o.sort(),r.push(...o)),r}},SM=e=>({cache:bM(e.cacheSize),parseClassName:jM(e),sortModifiers:NM(e),...dM(e)}),CM=/\s+/,EM=(e,t)=>{const{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:c}=t,d=[],f=e.trim().split(CM);let m="";for(let p=f.length-1;p>=0;p-=1){const y=f[p],{isExternal:v,modifiers:w,hasImportantModifier:S,baseClassName:E,maybePostfixModifierPosition:j}=a(y);if(v){m=y+(m.length>0?" "+m:m);continue}let C=!!j,A=r(C?E.substring(0,j):E);if(!A){if(!C){m=y+(m.length>0?" "+m:m);continue}if(A=r(E),!A){m=y+(m.length>0?" "+m:m);continue}C=!1}const T=w.length===0?"":w.length===1?w[0]:c(w).join(":"),_=S?T+ap:T,D=_+A;if(d.indexOf(D)>-1)continue;d.push(D);const V=o(A,C);for(let G=0;G<V.length;++G){const z=V[G];d.push(_+z)}m=y+(m.length>0?" "+m:m)}return m},TM=(...e)=>{let t=0,a,r,o="";for(;t<e.length;)(a=e[t++])&&(r=kN(a))&&(o&&(o+=" "),o+=r);return o},kN=e=>{if(typeof e=="string")return e;let t,a="";for(let r=0;r<e.length;r++)e[r]&&(t=kN(e[r]))&&(a&&(a+=" "),a+=t);return a},AM=(e,...t)=>{let a,r,o,c;const d=m=>{const p=t.reduce((y,v)=>v(y),e());return a=SM(p),r=a.cache.get,o=a.cache.set,c=f,f(m)},f=m=>{const p=r(m);if(p)return p;const y=EM(m,a);return o(m,y),y};return c=d,(...m)=>c(TM(...m))},_M=[],Vt=e=>{const t=a=>a[e]||_M;return t.isThemeGetter=!0,t},MN=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ON=/^\((?:(\w[\w-]*):)?(.+)\)$/i,RM=/^\d+\/\d+$/,kM=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,MM=/\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$/,OM=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,DM=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,VM=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,vi=e=>RM.test(e),He=e=>!!e&&!Number.isNaN(Number(e)),Ts=e=>!!e&&Number.isInteger(Number(e)),mm=e=>e.endsWith("%")&&He(e.slice(0,-1)),Ga=e=>kM.test(e),PM=()=>!0,zM=e=>MM.test(e)&&!OM.test(e),DN=()=>!1,LM=e=>DM.test(e),BM=e=>VM.test(e),UM=e=>!xe(e)&&!ve(e),IM=e=>Ki(e,zN,DN),xe=e=>MN.test(e),xr=e=>Ki(e,LN,zM),pm=e=>Ki(e,GM,He),W0=e=>Ki(e,VN,DN),FM=e=>Ki(e,PN,BM),ou=e=>Ki(e,BN,LM),ve=e=>ON.test(e),Wo=e=>Xi(e,LN),HM=e=>Xi(e,YM),J0=e=>Xi(e,VN),qM=e=>Xi(e,zN),$M=e=>Xi(e,PN),lu=e=>Xi(e,BN,!0),Ki=(e,t,a)=>{const r=MN.exec(e);return r?r[1]?t(r[1]):a(r[2]):!1},Xi=(e,t,a=!1)=>{const r=ON.exec(e);return r?r[1]?t(r[1]):a:!1},VN=e=>e==="position"||e==="percentage",PN=e=>e==="image"||e==="url",zN=e=>e==="length"||e==="size"||e==="bg-size",LN=e=>e==="length",GM=e=>e==="number",YM=e=>e==="family-name",BN=e=>e==="shadow",ZM=()=>{const e=Vt("color"),t=Vt("font"),a=Vt("text"),r=Vt("font-weight"),o=Vt("tracking"),c=Vt("leading"),d=Vt("breakpoint"),f=Vt("container"),m=Vt("spacing"),p=Vt("radius"),y=Vt("shadow"),v=Vt("inset-shadow"),w=Vt("text-shadow"),S=Vt("drop-shadow"),E=Vt("blur"),j=Vt("perspective"),C=Vt("aspect"),A=Vt("ease"),T=Vt("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],V=()=>[...D(),ve,xe],G=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto","contain","none"],I=()=>[ve,xe,m],ae=()=>[vi,"full","auto",...I()],ue=()=>[Ts,"none","subgrid",ve,xe],ge=()=>["auto",{span:["full",Ts,ve,xe]},Ts,ve,xe],oe=()=>[Ts,"auto",ve,xe],de=()=>["auto","min","max","fr",ve,xe],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],fe=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...I()],$=()=>[vi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],B=()=>[e,ve,xe],le=()=>[...D(),J0,W0,{position:[ve,xe]}],Se=()=>["no-repeat",{repeat:["","x","y","space","round"]}],M=()=>["auto","cover","contain",qM,IM,{size:[ve,xe]}],Z=()=>[mm,Wo,xr],ee=()=>["","none","full",p,ve,xe],se=()=>["",He,Wo,xr],Ee=()=>["solid","dashed","dotted","double"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>[He,mm,J0,W0],De=()=>["","none",E,ve,xe],Oe=()=>["none",He,ve,xe],Fe=()=>["none",He,ve,xe],Ke=()=>[He,ve,xe],et=()=>[vi,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ga],breakpoint:[Ga],color:[PM],container:[Ga],"drop-shadow":[Ga],ease:["in","out","in-out"],font:[UM],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ga],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ga
vendor: 5,827 bytes, line 367
367],shadow:[Ga],spacing:["px",He],text:[Ga],"text-shadow":[Ga],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",vi,xe,ve,C]}],container:["container"],columns:[{columns:[He,xe,ve,f]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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"],sr:["sr-only","not-sr-only"],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:V()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ae()}],"inset-x":[{"inset-x":ae()}],"inset-y":[{"inset-y":ae()}],start:[{start:ae()}],end:[{end:ae()}],top:[{top:ae()}],right:[{right:ae()}],bottom:[{bottom:ae()}],left:[{left:ae()}],visibility:["visible","invisible","collapse"],z:[{z:[Ts,"auto",ve,xe]}],basis:[{basis:[vi,"full","auto",f,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[He,vi,"auto","initial","none",xe]}],grow:[{grow:["",He,ve,xe]}],shrink:[{shrink:["",He,ve,xe]}],order:[{order:[Ts,"first","last","none",ve,xe]}],"grid-cols":[{"grid-cols":ue()}],"col-start-end":[{col:ge()}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":ue()}],"row-start-end":[{row:ge()}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":de()}],"auto-rows":[{"auto-rows":de()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...fe(),"normal"]}],"justify-self":[{"justify-self":["auto",...fe()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...fe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...fe(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...fe(),"baseline"]}],"place-self":[{"place-self":["auto",...fe()]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],w:[{w:[f,"screen",...$()]}],"min-w":[{"min-w":[f,"screen","none",...$()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[d]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",a,Wo,xr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ve,pm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",mm,xe]}],"font-family":[{font:[HM,xe,t]}],"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:[o,ve,xe]}],"line-clamp":[{"line-clamp":[He,"none",ve,pm]}],leading:[{leading:[c,...I()]}],"list-image":[{"list-image":["none",ve,xe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ve,xe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ee(),"wavy"]}],"text-decoration-thickness":[{decoration:[He,"from-font","auto",ve,xr]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[He,"auto",ve,xe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ve,xe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ve,xe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:le()}],"bg-repeat":[{bg:Se()}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ts,ve,xe],radial:["",ve,xe],conic:[Ts,ve,xe]},$M,FM]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:Z()}
367],"gradient-via-pos":[{via:Z()}],"gradient-to-pos":[{to:Z()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:ee()}],"rounded-s":[{"rounded-s":ee()}],"rounded-e":[{"rounded-e":ee()}],"rounded-t":[{"rounded-t":ee()}],"rounded-r":[{"rounded-r":ee()}],"rounded-b":[{"rounded-b":ee()}],"rounded-l":[{"rounded-l":ee()}],"rounded-ss":[{"rounded-ss":ee()}],"rounded-se":[{"rounded-se":ee()}],"rounded-ee":[{"rounded-ee":ee()}],"rounded-es":[{"rounded-es":ee()}],"rounded-tl":[{"rounded-tl":ee()}],"rounded-tr":[{"rounded-tr":ee()}],"rounded-br":[{"rounded-br":ee()}],"rounded-bl":[{"rounded-bl":ee()}],"border-w":[{border:se()}],"border-w-x":[{"border-x":se()}],"border-w-y":[{"border-y":se()}],"border-w-s":[{"border-s":se()}],"border-w-e":[{"border-e":se()}],"border-w-t":[{"border-t":se()}],"border-w-r":[{"border-r":se()}],"border-w-b":[{"border-b":se()}],"border-w-l":[{"border-l":se()}],"divide-x":[{"divide-x":se()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":se()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ee(),"hidden","none"]}],"divide-style":[{divide:[...Ee(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}
vendor: 5,757 bytes, line 367
367],"divide-color":[{divide:B()}],"outline-style":[{outline:[...Ee(),"none","hidden"]}],"outline-offset":[{"outline-offset":[He,ve,xe]}],"outline-w":[{outline:["",He,Wo,xr]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",y,lu,ou]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",v,lu,ou]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[He,xr]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":se()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",w,lu,ou]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[He,ve,xe]}],"mix-blend":[{"mix-blend":[...ke(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ke()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[He]}],"mask-image-linear-from-pos":[{"mask-linear-from":te()}],"mask-image-linear-to-pos":[{"mask-linear-to":te()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":te()}],"mask-image-t-to-pos":[{"mask-t-to":te()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":te()}],"mask-image-r-to-pos":[{"mask-r-to":te()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":te()}],"mask-image-b-to-pos":[{"mask-b-to":te()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":te()}],"mask-image-l-to-pos":[{"mask-l-to":te()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":te()}],"mask-image-x-to-pos":[{"mask-x-to":te()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":te()}],"mask-image-y-to-pos":[{"mask-y-to":te()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[ve,xe]}],"mask-image-radial-from-pos":[{"mask-radial-from":te()}],"mask-image-radial-to-pos":[{"mask-radial-to":te()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":D()}],"mask-image-conic-pos":[{"mask-conic":[He]}],"mask-image-conic-from-pos":[{"mask-conic-from":te()}],"mask-image-conic-to-pos":[{"mask-conic-to":te()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:le()}],"mask-repeat":[{mask:Se()}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ve,xe]}],filter:[{filter:["","none",ve,xe]}],blur:[{blur:De()}],brightness:[{brightness:[He,ve,xe]}],contrast:[{contrast:[He,ve,xe]}],"drop-shadow":[{"drop-shadow":["","none",S,lu,ou]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",He,ve,xe]}],"hue-rotate":[{"hue-rotate":[He,ve,xe]}],invert:[{invert:["",He,ve,xe]}],saturate:[{saturate:[He,ve,xe]}],sepia:[{sepia:["",He,ve,xe]}],"backdrop-filter":[{"backdrop-filter":["","none",ve,xe]}],"backdrop-blur":[{"backdrop-blur":De()}],"backdrop-brightness":[{"backdrop-brightness":[He,ve,xe]}],"backdrop-contrast":[{"backdrop-contrast":[He,ve,xe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",He,ve,xe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[He,ve,xe]}],"backdrop-invert":[{"backdrop-invert":["",He,ve,xe]}],"backdrop-opacity":[{"backdrop-opacity":[He,ve,xe]}],"backdrop-saturate":[{"backdrop-saturate":[He,ve,xe]}],"backdrop-sepia":[{"backdrop-sepia":["",He,ve,xe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ve,xe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[He,"initial",ve,xe]}],ease:[{ease:["linear","initial",A,ve,xe]}],delay:[{delay:[He,ve,xe]}],animate:[{animate:["none",T,ve,xe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,ve,xe]}],"perspective-origin":[{"perspective-origin":V()}],rotate:[{rotate:Oe()}],"rotate-x":[{"rotate-x":Oe()}],"rotate-y":[{"rotate-y":Oe()}],"rotate-z":[{"rotate-z":Oe()}],scale:[{scale:Fe()}],"scale-x":[{"scale-x":Fe()}],"scale-y":[{"scale-y":Fe()}],"scale-z":[{"scale-z":Fe()}],"scale-3d":["scale-3d"],skew:[{skew:Ke()}],"skew-x":[{"skew-x":Ke()}],"skew-y":[{"skew-y":Ke()}],transform:[{transform:[ve,xe,"","none","gpu","cpu"]}],"transform-origin":[{origin:V()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:et()}],"translate-x":[{"translate-x":et()}],"translate-y":[{"translate-y":et()}],"translate-z":[{"translate-z":et()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}
vendor: 5,723 bytes, line 367
367],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",ve,xe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],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",ve,xe]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[He,Wo,xr,pm]}],stroke:[{stroke:["none",...B()]}],"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-x","border-w-y","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-x","border-color-y","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},KM=AM(ZM);function Le(...e){return KM(hN(e))}const XM=z4,UN=x.forwardRef(({className:e,...t},a)=>l.jsx(iN,{ref:a,className:Le("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));UN.displayName=iN.displayName;const QM=Al("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),IN=x.forwardRef(({className:e,variant:t,...a},r)=>l.jsx(oN,{ref:r,className:Le(QM({variant:t}),e),...a}));IN.displayName=oN.displayName;const WM=x.forwardRef(({className:e,...t},a)=>
vendor: 10,272 bytes, line 367
367l.jsx(uN,{ref:a,className:Le("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));WM.displayName=uN.displayName;const FN=x.forwardRef(({className:e,...t},a)=>l.jsx(dN,{ref:a,className:Le("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(rg,{className:"h-4 w-4"})}));FN.displayName=dN.displayName;const HN=x.forwardRef(({className:e,...t},a)=>l.jsx(lN,{ref:a,className:Le("text-sm font-semibold",e),...t}));HN.displayName=lN.displayName;const qN=x.forwardRef(({className:e,...t},a)=>l.jsx(cN,{ref:a,className:Le("text-sm opacity-90",e),...t}));qN.displayName=cN.displayName;function JM(){const{toasts:e}=KR();return l.jsxs(XM,{children:[e.map(function({id:t,title:a,description:r,action:o,...c}){return l.jsxs(IN,{...c,children:[l.jsxs("div",{className:"grid gap-1",children:[a&&l.jsx(HN,{children:a}),r&&l.jsx(qN,{children:r})]}),o,l.jsx(FN,{})]},t)}),l.jsx(UN,{})]})}function bi(e,t,{checkForDefaultPrevented:a=!0}={}){return function(o){if(e?.(o),a===!1||!o.defaultPrevented)return t?.(o)}}function gm(e,t,{checkForDefaultPrevented:a=!0}={}){return function(o){if(e?.(o),a===!1||!o.defaultPrevented)return t?.(o)}}function eO(e){const t=tO(e),a=x.forwardRef((r,o)=>{const{children:c,...d}=r,f=x.Children.toArray(c),m=f.find(aO);if(m){const p=m.props.children,y=f.map(v=>v===m?x.Children.count(p)>1?x.Children.only(null):x.isValidElement(p)?p.props.children:null:v);return l.jsx(t,{...d,ref:o,children:x.isValidElement(p)?x.cloneElement(p,void 0,y):null})}return l.jsx(t,{...d,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}function tO(e){const t=x.forwardRef((a,r)=>{const{children:o,...c}=a;if(x.isValidElement(o)){const d=rO(o),f=sO(c,o.props);return o.type!==x.Fragment&&(f.ref=r?Gs(r,d):d),x.cloneElement(o,f)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var nO=Symbol("radix.slottable");function aO(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===nO}function sO(e,t){const a={...t};for(const r in t){const o=e[r],c=t[r];/^on[A-Z]/.test(r)?o&&c?a[r]=(...f)=>{const m=c(...f);return o(...f),m}:o&&(a[r]=o):r==="style"?a[r]={...o,...c}:r==="className"&&(a[r]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function rO(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var iO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],We=iO.reduce((e,t)=>{const a=eO(`Primitive.${t}`),r=x.forwardRef((o,c)=>{const{asChild:d,...f}=o,m=d?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(m,{...f,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function oO(e,t){e&&Or.flushSync(()=>e.dispatchEvent(t))}var lO="DismissableLayer",sp="dismissableLayer.update",cO="dismissableLayer.pointerDownOutside",uO="dismissableLayer.focusOutside",ew,$N=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kl=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:c,onInteractOutside:d,onDismiss:f,...m}=e,p=x.useContext($N),[y,v]=x.useState(null),w=y?.ownerDocument??globalThis?.document,[,S]=x.useState({}),E=Qe(t,z=>v(z)),j=Array.from(p.layers),[C]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),A=j.indexOf(C),T=y?j.indexOf(y):-1,_=p.layersWithOutsidePointerEventsDisabled.size>0,D=T>=A,V=hO(z=>{const I=z.target,ae=[...p.branches].some(ue=>ue.contains(I));!D||ae||(o?.(z),d?.(z),z.defaultPrevented||f?.())},w),G=mO(z=>{const I=z.target;[...p.branches].some(ue=>ue.contains(I))||(c?.(z),d?.(z),z.defaultPrevented||f?.())},w);return Uj(z=>{T===p.layers.size-1&&(r?.(z),!z.defaultPrevented&&f&&(z.preventDefault(),f()))},w),x.useEffect(()=>{if(y)return a&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(ew=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(y)),p.layers.add(y),tw(),()=>{a&&p.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=ew)}},[y,w,a,p]),x.useEffect(()=>()=>{y&&(p.layers.delete(y),p.layersWithOutsidePointerEventsDisabled.delete(y),tw())},[y,p]),x.useEffect(()=>{const z=()=>S({});return document.addEventListener(sp,z),()=>document.removeEventListener(sp,z)},[]),l.jsx(We.div,{...m,ref:E,style:{pointerEvents:_?D?"auto":"none":void 0,...e.style},onFocusCapture:gm(e.onFocusCapture,G.onFocusCapture),onBlurCapture:gm(e.onBlurCapture,G.onBlurCapture),onPointerDownCapture:gm(e.onPointerDownCapture,V.onPointerDownCapture)})});kl.displayName=lO;var dO="DismissableLayerBranch",fO=x.forwardRef((e,t)=>{const a=x.useContext($N),r=x.useRef(null),o=Qe(t,r);return x.useEffect(()=>{const c=r.current;if(c)return a.branches.add(c),()=>{a.branches.delete(c)}},[a.branches]),l.jsx(We.div,{...e,ref:o})});fO.displayName=dO;function hO(e,t=globalThis?.document){const a=on(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const c=f=>{if(f.target&&!r.current){let m=function(){GN(cO,a,p,{discrete:!0})};const p={originalEvent:f};f.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=m,t.addEventListener("click",o.current,{once:!0})):m()}else t.removeEventListener("click",o.current);r.current=!1},d=window.setTimeout(()=>{t.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(d),t.removeEventListener("pointerdown",c),t.removeEventListener("click",o.current)}},[t,a]),{onPointerDownCapture:()=>r.current=!0}}function mO(e,t=globalThis?.document){const a=on(e),r=x.useRef(!1);return x.useEffect(()=>{const o=c=>{c.target&&!r.current&&GN(uO,a,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,a]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function tw(){const e=new CustomEvent(sp);document.dispatchEvent(e)}function GN(e,t,a,{discrete:r}){const o=a.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});t&&o.addEventListener(e,t,{once:!0}),r?oO(o,c):o.dispatchEvent(c)}var pO=$s[" useId ".trim().toString()]||(()=>{}),gO=0;function Ps(e){const[t,a]=x.useState(pO());return gt(()=>{a(r=>r??String(gO++))},[e]),t?`radix-${t}`:""}const yO=["top","right","bottom","left"],Bs=Math.min,En=Math.max,Pu=Math.round,cu=Math.floor,ya=e=>({x:e,y:e}),xO={left:"right",right:"left",bottom:"top",top:"bottom"},vO={start:"end",end:"start"};function rp(e,t,a){return En(e,Bs(t,a))}function Wa(e,t){return typeof e=="function"?e(t):e}function Ja(e){return e.split("-")[0]}function Qi(e){return e.split("-")[1]}function og(e){return e==="x"?"y":"x"}function lg(e){return e==="y"?"height":"width"}const bO=new Set(["top","bottom"]);function pa(e){return bO.has(Ja(e))?"y":"x"}function cg(e){return og(pa(e))}function wO(e,t,a){a===void 0&&(a=!1);const r=Qi(e),o=cg(e),c=lg(o);let d=o==="x"?r===(a?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(d=zu(d)),[d,zu(d)]}function jO(e){const t=zu(e);return[ip(e),t,ip(t)]}function ip(e){return e.replace(/start|end/g,t=>vO[t])}const nw=["left","right"],aw=["right","left"],NO=["top","bottom"],SO=["bottom","top"];function CO(e,t,a){switch(e){case"top":case"bottom":return a?t?aw:nw:t?nw:aw;case"left":case"right":return t?NO:SO;default:return[]}}function EO(e,t,a,r){const o=Qi(e);let c=CO(Ja(e),a==="start",r);return o&&(c=c.map(d=>d+"-"+o),t&&(c=c.concat(c.map(ip)))),c}function zu(e){return e.replace(/left|right|bottom|top/g,t=>xO[t])}function TO(e){return{top:0,right:0,bottom:0,left:0,...e}}function YN(e){return typeof e!="number"?TO(e):{top:e,right:e,bottom:e,left:e}}function Lu(e){const{x:t,y:a,width:r,height:o}=e;return{width:r,height:o,top:a,left:t,right:t+r,bottom:a+o,x:t,y:a}}function sw(e,t,a){let{reference:r,floating:o}=e;const c=pa(t),d=cg(t),f=lg(d),m=Ja(t),p=c==="y",y=r.x+r.width/2-o.width/2,v=r.y+r.height/2-o.height/2,w=r[f]/2-o[f]/2;let S;switch(m){case"top":S={x:y,y:r.y-o.height};break;case"bottom":S={x:y,y:r.y+r.height};break;case"right":S={x:r.x+r.width,y:v};break;case"left":S={x:r.x-o.width,y:v};break;default:S={x:r.x,y:r.y}}switch(Qi(t)){case"start":S[d]-=w*(a&&p?-1:1);break;case"end":S[d]+=w*(a&&p?-1:1);break}return S}const AO=async(e,t,a)=>{const{placement:r="bottom",strategy:o="absolute",middleware:c=[],platform:d}=a,f=c.filter(Boolean),m=await(d.isRTL==null?void 0:d.isRTL(t));let p=await d.getElementRects({reference:e,floating:t,strategy:o}),{x:y,y:v}=sw(p,r,m),w=r,S={},E=0;for(let j=0;j<f.length;j++){const{name:C,fn:A}=f[j],{x:T,y:_,data:D,reset:V}=await A({x:y,y:v,initialPlacement:r,placement:w,strategy:o,middlewareData:S,rects:p,platform:d,elements:{reference:e,floating:t}});y=T??y,v=_??v,S={...S,[C]:{...S[C],...D}},V&&E<=50&&(E++,typeof V=="object"&&(V.placement&&(w=V.placement),V.rects&&(p=V.rects===!0?await d.getElementRects({reference:e,floating:t,strategy:o}):V.rects),{x:y,y:v}=sw(p,w,m)),j=-1)}return{x:y,y:v,placement:w,strategy:o,middlewareData:S}};async function xl(e,t){var a;t===void 0&&(t={});const{x:r,y:o,platform:c,rects:d,elements:f,strategy:m}=e,{boundary:p="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:w=!1,padding:S=0}=Wa(t,e),E=YN(S),C=f[w?v==="floating"?"reference":"floating":v],A=Lu(await c.getClippingRect
vendor: 13,521 bytes, line 367
367({element:(a=await(c.isElement==null?void 0:c.isElement(C)))==null||a?C:C.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(f.floating)),boundary:p,rootBoundary:y,strategy:m})),T=v==="floating"?{x:r,y:o,width:d.floating.width,height:d.floating.height}:d.reference,_=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f.floating)),D=await(c.isElement==null?void 0:c.isElement(_))?await(c.getScale==null?void 0:c.getScale(_))||{x:1,y:1}:{x:1,y:1},V=Lu(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:T,offsetParent:_,strategy:m}):T);return{top:(A.top-V.top+E.top)/D.y,bottom:(V.bottom-A.bottom+E.bottom)/D.y,left:(A.left-V.left+E.left)/D.x,right:(V.right-A.right+E.right)/D.x}}const _O=e=>({name:"arrow",options:e,async fn(t){const{x:a,y:r,placement:o,rects:c,platform:d,elements:f,middlewareData:m}=t,{element:p,padding:y=0}=Wa(e,t)||{};if(p==null)return{};const v=YN(y),w={x:a,y:r},S=cg(o),E=lg(S),j=await d.getDimensions(p),C=S==="y",A=C?"top":"left",T=C?"bottom":"right",_=C?"clientHeight":"clientWidth",D=c.reference[E]+c.reference[S]-w[S]-c.floating[E],V=w[S]-c.reference[S],G=await(d.getOffsetParent==null?void 0:d.getOffsetParent(p));let z=G?G[_]:0;(!z||!await(d.isElement==null?void 0:d.isElement(G)))&&(z=f.floating[_]||c.floating[E]);const I=D/2-V/2,ae=z/2-j[E]/2-1,ue=Bs(v[A],ae),ge=Bs(v[T],ae),oe=ue,de=z-j[E]-ge,J=z/2-j[E]/2+I,fe=rp(oe,J,de),P=!m.arrow&&Qi(o)!=null&&J!==fe&&c.reference[E]/2-(J<oe?ue:ge)-j[E]/2<0,$=P?J<oe?J-oe:J-de:0;return{[S]:w[S]+$,data:{[S]:fe,centerOffset:J-fe-$,...P&&{alignmentOffset:$}},reset:P}}}),RO=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var a,r;const{placement:o,middlewareData:c,rects:d,initialPlacement:f,platform:m,elements:p}=t,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:w,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:j=!0,...C}=Wa(e,t);if((a=c.arrow)!=null&&a.alignmentOffset)return{};const A=Ja(o),T=pa(f),_=Ja(f)===f,D=await(m.isRTL==null?void 0:m.isRTL(p.floating)),V=w||(_||!j?[zu(f)]:jO(f)),G=E!=="none";!w&&G&&V.push(...EO(f,j,E,D));const z=[f,...V],I=await xl(t,C),ae=[];let ue=((r=c.flip)==null?void 0:r.overflows)||[];if(y&&ae.push(I[A]),v){const J=wO(o,d,D);ae.push(I[J[0]],I[J[1]])}if(ue=[...ue,{placement:o,overflows:ae}],!ae.every(J=>J<=0)){var ge,oe;const J=(((ge=c.flip)==null?void 0:ge.index)||0)+1,fe=z[J];if(fe&&(!(v==="alignment"?T!==pa(fe):!1)||ue.every(B=>pa(B.placement)===T?B.overflows[0]>0:!0)))return{data:{index:J,overflows:ue},reset:{placement:fe}};let P=(oe=ue.filter($=>$.overflows[0]<=0).sort(($,B)=>$.overflows[1]-B.overflows[1])[0])==null?void 0:oe.placement;if(!P)switch(S){case"bestFit":{var de;const $=(de=ue.filter(B=>{if(G){const le=pa(B.placement);return le===T||le==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(le=>le>0).reduce((le,Se)=>le+Se,0)]).sort((B,le)=>B[1]-le[1])[0])==null?void 0:de[0];$&&(P=$);break}case"initialPlacement":P=f;break}if(o!==P)return{reset:{placement:P}}}return{}}}};function rw(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function iw(e){return yO.some(t=>e[t]>=0)}const kO=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:a}=t,{strategy:r="referenceHidden",...o}=Wa(e,t);switch(r){case"referenceHidden":{const c=await xl(t,{...o,elementContext:"reference"}),d=rw(c,a.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:iw(d)}}}case"escaped":{const c=await xl(t,{...o,altBoundary:!0}),d=rw(c,a.floating);return{data:{escapedOffsets:d,escaped:iw(d)}}}default:return{}}}}},ZN=new Set(["left","top"]);async function MO(e,t){const{placement:a,platform:r,elements:o}=e,c=await(r.isRTL==null?void 0:r.isRTL(o.floating)),d=Ja(a),f=Qi(a),m=pa(a)==="y",p=ZN.has(d)?-1:1,y=c&&m?-1:1,v=Wa(t,e);let{mainAxis:w,crossAxis:S,alignmentAxis:E}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return f&&typeof E=="number"&&(S=f==="end"?E*-1:E),m?{x:S*y,y:w*p}:{x:w*p,y:S*y}}const OO=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var a,r;const{x:o,y:c,placement:d,middlewareData:f}=t,m=await MO(t,e);return d===((a=f.offset)==null?void 0:a.placement)&&(r=f.arrow)!=null&&r.alignmentOffset?{}:{x:o+m.x,y:c+m.y,data:{...m,placement:d}}}}},DO=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:r,placement:o}=t,{mainAxis:c=!0,crossAxis:d=!1,limiter:f={fn:C=>{let{x:A,y:T}=C;return{x:A,y:T}}},...m}=Wa(e,t),p={x:a,y:r},y=await xl(t,m),v=pa(Ja(o)),w=og(v);let S=p[w],E=p[v];if(c){const C=w==="y"?"top":"left",A=w==="y"?"bottom":"right",T=S+y[C],_=S-y[A];S=rp(T,S,_)}if(d){const C=v==="y"?"top":"left",A=v==="y"?"bottom":"right",T=E+y[C],_=E-y[A];E=rp(T,E,_)}const j=f.fn({...t,[w]:S,[v]:E});return{...j,data:{x:j.x-a,y:j.y-r,enabled:{[w]:c,[v]:d}}}}}},VO=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:a,y:r,placement:o,rects:c,middlewareData:d}=t,{offset:f=0,mainAxis:m=!0,crossAxis:p=!0}=Wa(e,t),y={x:a,y:r},v=pa(o),w=og(v);let S=y[w],E=y[v];const j=Wa(f,t),C=typeof j=="number"?{mainAxis:j,crossAxis:0}:{mainAxis:0,crossAxis:0,...j};if(m){const _=w==="y"?"height":"width",D=c.reference[w]-c.floating[_]+C.mainAxis,V=c.reference[w]+c.reference[_]-C.mainAxis;S<D?S=D:S>V&&(S=V)}if(p){var A,T;const _=w==="y"?"width":"height",D=ZN.has(Ja(o)),V=c.reference[v]-c.floating[_]+(D&&((A=d.offset)==null?void 0:A[v])||0)+(D?0:C.crossAxis),G=c.reference[v]+c.reference[_]+(D?0:((T=d.offset)==null?void 0:T[v])||0)-(D?C.crossAxis:0);E<V?E=V:E>G&&(E=G)}return{[w]:S,[v]:E}}}},PO=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var a,r;const{placement:o,rects:c,platform:d,elements:f}=t,{apply:m=()=>{},...p}=Wa(e,t),y=await xl(t,p),v=Ja(o),w=Qi(o),S=pa(o)==="y",{width:E,height:j}=c.floating;let C,A;v==="top"||v==="bottom"?(C=v,A=w===(await(d.isRTL==null?void 0:d.isRTL(f.floating))?"start":"end")?"left":"right"):(A=v,C=w==="end"?"top":"bottom");const T=j-y.top-y.bottom,_=E-y.left-y.right,D=Bs(j-y[C],T),V=Bs(E-y[A],_),G=!t.middlewareData.shift;let z=D,I=V;if((a=t.middlewareData.shift)!=null&&a.enabled.x&&(I=_),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(z=T),G&&!w){const ue=En(y.left,0),ge=En(y.right,0),oe=En(y.top,0),de=En(y.bottom,0);S?I=E-2*(ue!==0||ge!==0?ue+ge:En(y.left,y.right)):z=j-2*(oe!==0||de!==0?oe+de:En(y.top,y.bottom))}await m({...t,availableWidth:I,availableHeight:z});const ae=await d.getDimensions(f.floating);return E!==ae.width||j!==ae.height?{reset:{rects:!0}}:{}}}};function yd(){return typeof window<"u"}function Wi(e){return KN(e)?(e.nodeName||"").toLowerCase():"#document"}function Rn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Sa(e){var t;return(t=(KN(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function KN(e){return yd()?e instanceof Node||e instanceof Rn(e).Node:!1}function sa(e){return yd()?e instanceof Element||e instanceof Rn(e).Element:!1}function wa(e){return yd()?e instanceof HTMLElement||e instanceof Rn(e).HTMLElement:!1}function ow(e){return!yd()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rn(e).ShadowRoot}const zO=new Set(["inline","contents"]);function Ml(e){const{overflow:t,overflowX:a,overflowY:r,display:o}=ra(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+a)&&!zO.has(o)}const LO=new Set(["table","td","th"]);function BO(e){return LO.has(Wi(e))}const UO=[":popover-open",":modal"];function xd(e){return UO.some(t=>{try{return e.matches(t)}catch{return!1}})}const IO=["transform","translate","scale","rotate","perspective"],FO=["transform","translate","scale","rotate","perspective","filter"],HO=["paint","layout","strict","content"];function ug(e){const t=dg(),a=sa(e)?ra(e):e;return IO.some(r=>a[r]?a[r]!=="none":!1)||(a.containerType?a.containerType!=="normal":!1)||!t&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!t&&(a.filter?a.filter!=="none":!1)||FO.some(r=>(a.willChange||"").includes(r))||HO.some(r=>(a.contain||"").includes(r))}function qO(e){let t=Us(e);for(;wa(t)&&!Bi(t);){if(ug(t))return t;if(xd(t))return null;t=Us(t)}return null}function dg(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const $O=new Set(["html","body","#document"]);function Bi(e){return $O.has(Wi(e))}function ra(e){return Rn(e).getComputedStyle(e)}function vd(e){return sa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Us(e){if(Wi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ow(e)&&e.host||Sa(e);return ow(t)?t.host:t}function XN(e){const t=Us(e);return Bi(t)?e.ownerDocument?e.ownerDocument.body:e.body:wa(t)&&Ml(t)?t:XN(t)}function vl(e,t,a){var r;t===void 0&&(t=[]),a===void 0&&(a=!0);const o=XN(e),c=o===((r=e.ownerDocument)==null?void 0:r.body),d=Rn(o);if(c){const f=op(d);return t.concat(d,d.visualViewport||[],Ml(o)?o:[],f&&a?vl(f):[])}return t.concat(o,vl(o,[],a))}function op(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function QN(e){const t=ra(e);let a=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=wa(e),c=o?e.offsetWidth:a,d=o?e.offsetHeight:r,f=Pu(a)!==c||Pu(r)!==d;return f&&(a=c,r=d),{width:a,height:r,$:f}}function fg(e){return sa(e)?e:e.contextElement}function Vi(e){const t=fg(e);if(!wa(t))return ya(1);const a=t.getBoundingClientRect(),{width:r,height:o,$:c}=QN(t);let d=(c?Pu(a.width):a.width)/r,f=(c?Pu(a.height):a.height)/o;return(!d||!Number.isFinite(d))&&(d=1),(!f||!Number.isFinite(f))&&(f=1),{x:d,y:f}}const GO=ya(0);function WN(e){const t=Rn(e);return!dg()||!t.visualViewport?GO:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function YO(e,t,a){return t===void 0&&(t=!1),!a||t&&a!==Rn(e)?!1:t}function Ar(e,t,a,r){t===void 0&&(t=!1),a===void 0&&(a=!1);const o=e.getBoundingClientRect(),c=fg(e);let d=ya(1);t&&(r?sa(r)&&(d=Vi(r)):d=Vi(e));const f=YO(c,a,r)?WN(c):ya(0);let m=(o.left+f.x)/d.x,p=(o.top+f.y)/d.y,y=o.width/d.x,v=o.height/d.y;if(c){const w=Rn(c),S=r&&sa(r)?Rn(r):r;let E=w,j=op(E);for(;j&&r&&S!==E;){const C=Vi(j),A=j.getBoundingClientRect(),T=ra(j),_=A.left+(j.clientLeft+parseFloat(T.paddingLeft))*C.x,D=A.top+(j.clientTop+parseFloat(T.paddingTop))*C.y;m*=C.x,p*=C.y,y*=C.x,v*=C.y,m+=_,p+=D,E=Rn(j),j=op(E)}}return Lu({width:y,height:v,x:m,y:p})}function bd(e,t){const a=vd(e).scrollLeft;return t?t.left+a:Ar(Sa(e)).left+a}function JN(e,t){const a=e.getBoundingClientRect(),r=a.left+t.scrollLeft-bd(e,a),o=a.top+t.scrollTop;return{x:r,y:o}}function ZO(e){let{elements:t,rect:a,offsetParent:r,strategy:o}=e;const c=o==="fixed",d=Sa(r),f=t?xd(t.floating):!1;if(r===d||f&&c)return a;let m={scrollLeft:0,scrollTop:0},p=ya(1);const y=ya(0),v=wa(r);if((v||!v&&!c)&&((Wi(r)!=="body"||Ml(d))&&(m=vd(r)),wa(r))){const S=Ar(r);p=Vi(r),y.x=S.x+r.clientLeft,y.y=S.y+r.clientTop}const w=d&&!v&&!c?JN(d,m):ya(0);return{width:a.width*p.x,height:a.height*p.y,x:a.x*p.x-m.scrollLeft*p.x+y.x+w.x,y:a.y*p.y-m.scrollTop*p.y+y.y+w.y}}function KO(e){return Array.from(e.getClientRects())}function XO(e){const t=Sa(e),a=vd(e),r=e.ownerDocument.body,o=En(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),c=En(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let d=-a.scrollLeft+bd(e);const f=-a.scrollTop;return ra(r).direction==="rtl"&&(d+=En(t.clientWidth,r.clientWidth)-o),{width:o,height:c,x:d,y:f}}const lw=25;function QO(e,t){const a=Rn(e),r=Sa(e),o=a.visualViewport;let c=r.clientWidth,d=r.clientHeight,f=0,m=0;if(o){c=o.width,d=o.height;const y=dg();(!y||y&&t==="fixed")&&(f=o.offsetLeft,m=o.offsetTop)}const p=bd(r);if(p<=0){const y=r.ownerDocument,v=y.body,w=getComputedStyle(v),S=y.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,E=Math.abs(r.clientWidth-v.clientWidth-S);E<=lw&&(c-=E)}else p<=lw&&(c+=p);return{width:c,height:d,x:f,y:m}}const WO=new Set(["absolute","fixed"]);function JO(e,t){const a=Ar(e,!0,t==="fixed"),r=a.top+e.clientTop,o=a.left+e.clientLeft,c=wa(e)?Vi(e):ya(1),d=e.clientWidth*c.x,f=e.clientHeight*c.y,m=o*c.x,p=r*c.y;return{width:d,height:f,x:m,y:p}}function cw(e,t,a){let r;if(t==="viewport")r=QO(e,a);else if(t==="document")r=XO(Sa(e));else if(sa(t))r=JO(t,a);else{const o=WN(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Lu(r)}function eS(e,t){const a=Us(e);return a===t||!sa(a)||Bi(a)?!1:ra(a).position==="fixed"||eS(a,t)}function eD(e,t){const a=t.get(e);if(a)return a;let r=vl(e,[],!1).filter(f=>sa(f)&&Wi(f)!=="body"),o=null;const c=ra(e).position==="fixed";let d=c?Us(e):e;for(;sa(d)&&!Bi(d);){const f=ra(d),m=ug(d);!m&&f.position==="fixed"&&(o=null),(c?!m&&!o:!m&&f.position==="static"&&!!o&&WO.has(o.position)||Ml(d)&&!m&&eS(e,d))?r=r.filter(y=>y!==d):o=f,d=Us(d)}return t.set(e,r),r}function tD(e){let{element:t,boundary:a,rootBoundary:r,strategy:o}=e;const d=[...a==="clippingAncestors"?xd(t)?[]:eD(t,this._c):[].concat(a),r],f=d[0],m=d.reduce((p,y)=>{const v=cw(t,y,o);return p.top=En(v.top,p.top),p.right=Bs(v.right,p.right),p.bottom=Bs(v.bottom,p.bottom),p.left=En(v.left,p.left),p},cw(t,f,o));return{width:m.right-m.left,height:m.bottom-m.top,x:m.left,y:m.top}}function nD(e){const{width:t,height:a}=QN(e);return{width:t,height:a}}function aD(e,t,a){const r=wa(t),o=Sa(t),c=a==="fixed",d=Ar(e,!0,c,t);let f={scrollLeft:0,scrollTop:0};const m=ya(0);function p(){m.x=bd(o)}
vendor: 13,351 bytes, line 367
367if(r||!r&&!c)if((Wi(t)!=="body"||Ml(o))&&(f=vd(t)),r){const S=Ar(t,!0,c,t);m.x=S.x+t.clientLeft,m.y=S.y+t.clientTop}else o&&p();c&&!r&&o&&p();const y=o&&!r&&!c?JN(o,f):ya(0),v=d.left+f.scrollLeft-m.x-y.x,w=d.top+f.scrollTop-m.y-y.y;return{x:v,y:w,width:d.width,height:d.height}}function ym(e){return ra(e).position==="static"}function uw(e,t){if(!wa(e)||ra(e).position==="fixed")return null;if(t)return t(e);let a=e.offsetParent;return Sa(e)===a&&(a=a.ownerDocument.body),a}function tS(e,t){const a=Rn(e);if(xd(e))return a;if(!wa(e)){let o=Us(e);for(;o&&!Bi(o);){if(sa(o)&&!ym(o))return o;o=Us(o)}return a}let r=uw(e,t);for(;r&&BO(r)&&ym(r);)r=uw(r,t);return r&&Bi(r)&&ym(r)&&!ug(r)?a:r||qO(e)||a}const sD=async function(e){const t=this.getOffsetParent||tS,a=this.getDimensions,r=await a(e.floating);return{reference:aD(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function rD(e){return ra(e).direction==="rtl"}const iD={convertOffsetParentRelativeRectToViewportRelativeRect:ZO,getDocumentElement:Sa,getClippingRect:tD,getOffsetParent:tS,getElementRects:sD,getClientRects:KO,getDimensions:nD,getScale:Vi,isElement:sa,isRTL:rD};function nS(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function oD(e,t){let a=null,r;const o=Sa(e);function c(){var f;clearTimeout(r),(f=a)==null||f.disconnect(),a=null}function d(f,m){f===void 0&&(f=!1),m===void 0&&(m=1),c();const p=e.getBoundingClientRect(),{left:y,top:v,width:w,height:S}=p;if(f||t(),!w||!S)return;const E=cu(v),j=cu(o.clientWidth-(y+w)),C=cu(o.clientHeight-(v+S)),A=cu(y),_={rootMargin:-E+"px "+-j+"px "+-C+"px "+-A+"px",threshold:En(0,Bs(1,m))||1};let D=!0;function V(G){const z=G[0].intersectionRatio;if(z!==m){if(!D)return d();z?d(!1,z):r=setTimeout(()=>{d(!1,1e-7)},1e3)}z===1&&!nS(p,e.getBoundingClientRect())&&d(),D=!1}try{a=new IntersectionObserver(V,{..._,root:o.ownerDocument})}catch{a=new IntersectionObserver(V,_)}a.observe(e)}return d(!0),c}function lD(e,t,a,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:c=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:f=typeof IntersectionObserver=="function",animationFrame:m=!1}=r,p=fg(e),y=o||c?[...p?vl(p):[],...vl(t)]:[];y.forEach(A=>{o&&A.addEventListener("scroll",a,{passive:!0}),c&&A.addEventListener("resize",a)});const v=p&&f?oD(p,a):null;let w=-1,S=null;d&&(S=new ResizeObserver(A=>{let[T]=A;T&&T.target===p&&S&&(S.unobserve(t),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var _;(_=S)==null||_.observe(t)})),a()}),p&&!m&&S.observe(p),S.observe(t));let E,j=m?Ar(e):null;m&&C();function C(){const A=Ar(e);j&&!nS(j,A)&&a(),j=A,E=requestAnimationFrame(C)}return a(),()=>{var A;y.forEach(T=>{o&&T.removeEventListener("scroll",a),c&&T.removeEventListener("resize",a)}),v?.(),(A=S)==null||A.disconnect(),S=null,m&&cancelAnimationFrame(E)}}const cD=OO,uD=DO,dD=RO,fD=PO,hD=kO,dw=_O,mD=VO,pD=(e,t,a)=>{const r=new Map,o={platform:iD,...a},c={...o.platform,_c:r};return AO(e,t,{...o,platform:c})};var gD=typeof document<"u",yD=function(){},Nu=gD?x.useLayoutEffect:yD;function Bu(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let a,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(a=e.length,a!==t.length)return!1;for(r=a;r--!==0;)if(!Bu(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),a=o.length,a!==Object.keys(t).length)return!1;for(r=a;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=a;r--!==0;){const c=o[r];if(!(c==="_owner"&&e.$$typeof)&&!Bu(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function aS(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fw(e,t){const a=aS(e);return Math.round(t*a)/a}function xm(e){const t=x.useRef(e);return Nu(()=>{t.current=e}),t}function xD(e){e===void 0&&(e={});const{placement:t="bottom",strategy:a="absolute",middleware:r=[],platform:o,elements:{reference:c,floating:d}={},transform:f=!0,whileElementsMounted:m,open:p}=e,[y,v]=x.useState({x:0,y:0,strategy:a,placement:t,middlewareData:{},isPositioned:!1}),[w,S]=x.useState(r);Bu(w,r)||S(r);const[E,j]=x.useState(null),[C,A]=x.useState(null),T=x.useCallback(B=>{B!==G.current&&(G.current=B,j(B))},[]),_=x.useCallback(B=>{B!==z.current&&(z.current=B,A(B))},[]),D=c||E,V=d||C,G=x.useRef(null),z=x.useRef(null),I=x.useRef(y),ae=m!=null,ue=xm(m),ge=xm(o),oe=xm(p),de=x.useCallback(()=>{if(!G.current||!z.current)return;const B={placement:t,strategy:a,middleware:w};ge.current&&(B.platform=ge.current),pD(G.current,z.current,B).then(le=>{const Se={...le,isPositioned:oe.current!==!1};J.current&&!Bu(I.current,Se)&&(I.current=Se,Or.flushSync(()=>{v(Se)}))})},[w,t,a,ge,oe]);Nu(()=>{p===!1&&I.current.isPositioned&&(I.current.isPositioned=!1,v(B=>({...B,isPositioned:!1})))},[p]);const J=x.useRef(!1);Nu(()=>(J.current=!0,()=>{J.current=!1}),[]),Nu(()=>{if(D&&(G.current=D),V&&(z.current=V),D&&V){if(ue.current)return ue.current(D,V,de);de()}},[D,V,de,ue,ae]);const fe=x.useMemo(()=>({reference:G,floating:z,setReference:T,setFloating:_}),[T,_]),P=x.useMemo(()=>({reference:D,floating:V}),[D,V]),$=x.useMemo(()=>{const B={position:a,left:0,top:0};if(!P.floating)return B;const le=fw(P.floating,y.x),Se=fw(P.floating,y.y);return f?{...B,transform:"translate("+le+"px, "+Se+"px)",...aS(P.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:le,top:Se}},[a,f,P.floating,y.x,y.y]);return x.useMemo(()=>({...y,update:de,refs:fe,elements:P,floatingStyles:$}),[y,de,fe,P,$])}const vD=e=>{function t(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){const{element:r,padding:o}=typeof e=="function"?e(a):e;return r&&t(r)?r.current!=null?dw({element:r.current,padding:o}).fn(a):{}:r?dw({element:r,padding:o}).fn(a):{}}}},bD=(e,t)=>({...cD(e),options:[e,t]}),wD=(e,t)=>({...uD(e),options:[e,t]}),jD=(e,t)=>({...mD(e),options:[e,t]}),ND=(e,t)=>({...dD(e),options:[e,t]}),SD=(e,t)=>({...fD(e),options:[e,t]}),CD=(e,t)=>({...hD(e),options:[e,t]}),ED=(e,t)=>({...vD(e),options:[e,t]});var TD="Arrow",sS=x.forwardRef((e,t)=>{const{children:a,width:r=10,height:o=5,...c}=e;return l.jsx(We.svg,{...c,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});sS.displayName=TD;var AD=sS;function rS(e){const[t,a]=x.useState(void 0);return gt(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const c=o[0];let d,f;if("borderBoxSize"in c){const m=c.borderBoxSize,p=Array.isArray(m)?m[0]:m;d=p.inlineSize,f=p.blockSize}else d=e.offsetWidth,f=e.offsetHeight;a({width:d,height:f})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else a(void 0)},[e]),t}var hg="Popper",[iS,Ji]=ja(hg),[_D,oS]=iS(hg),lS=e=>{const{__scopePopper:t,children:a}=e,[r,o]=x.useState(null);return l.jsx(_D,{scope:t,anchor:r,onAnchorChange:o,children:a})};lS.displayName=hg;var cS="PopperAnchor",uS=x.forwardRef((e,t)=>{const{__scopePopper:a,virtualRef:r,...o}=e,c=oS(cS,a),d=x.useRef(null),f=Qe(t,d),m=x.useRef(null);return x.useEffect(()=>{const p=m.current;m.current=r?.current||d.current,p!==m.current&&c.onAnchorChange(m.current)}),r?null:l.jsx(We.div,{...o,ref:f})});uS.displayName=cS;var mg="PopperContent",[RD,kD]=iS(mg),dS=x.forwardRef((e,t)=>{const{__scopePopper:a,side:r="bottom",sideOffset:o=0,align:c="center",alignOffset:d=0,arrowPadding:f=0,avoidCollisions:m=!0,collisionBoundary:p=[],collisionPadding:y=0,sticky:v="partial",hideWhenDetached:w=!1,updatePositionStrategy:S="optimized",onPlaced:E,...j}=e,C=oS(mg,a),[A,T]=x.useState(null),_=Qe(t,te=>T(te)),[D,V]=x.useState(null),G=rS(D),z=G?.width??0,I=G?.height??0,ae=r+(c!=="center"?"-"+c:""),ue=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ge=Array.isArray(p)?p:[p],oe=ge.length>0,de={padding:ue,boundary:ge.filter(OD),altBoundary:oe},{refs:J,floatingStyles:fe,placement:P,isPositioned:$,middlewareData:B}=xD({strategy:"fixed",placement:ae,whileElementsMounted:(...te)=>lD(...te,{animationFrame:S==="always"}),elements:{reference:C.anchor},middleware:[bD({mainAxis:o+I,alignmentAxis:d}),m&&wD({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?jD():void 0,...de}),m&&ND({...de}),SD({...de,apply:({elements:te,rects:De,availableWidth:Oe,availableHeight:Fe})=>{const{width:Ke,height:et}=De.reference,It=te.floating.style;It.setProperty("--radix-popper-available-width",`${Oe}px`),It.setProperty("--radix-popper-available-height",`${Fe}px`),It.setProperty("--radix-popper-anchor-width",`${Ke}px`),It.setProperty("--radix-popper-anchor-height",`${et}px`)}}),D&&ED({element:D,padding:f}),DD({arrowWidth:z,arrowHeight:I}),w&&CD({strategy:"referenceHidden",...de})]}),[le,Se]=mS(P),M=on(E);gt(()=>{$&&M?.()},[$,M]);const Z=B.arrow?.x,ee=B.arrow?.y,se=B.arrow?.centerOffset!==0,[Ee,ke]=x.useState();return gt(()=>{A&&ke(window.getComputedStyle(A).zIndex)},[A]),l.jsx("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...fe,transform:$?fe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ee,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(RD,{scope:a,placedSide:le,onArrowChange:V,arrowX:Z,arrowY:ee,shouldHideArrow:se,children:l.jsx(We.div,{"data-side":le,"data-align":Se,...j,ref:_,style:{...j.style,animation:$?void 0:"none"}})})})});dS.displayName=mg;var fS="PopperArrow",MD={top:"bottom",right:"left",bottom:"top",left:"right"},hS=x.forwardRef(function(t,a){const{__scopePopper:r,...o}=t,c=kD(fS,r),d=MD[c.placedSide];return l.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[d]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:l.jsx(AD,{...o,ref:a,style:{...o.style,display:"block"}})})});hS.displayName=fS;function OD(e){return e!==null}var DD=e=>({name:"transformOrigin",options:e,fn(t){const{placement:a,rects:r,middlewareData:o}=t,d=o.arrow?.centerOffset!==0,f=d?0:e.arrowWidth,m=d?0:e.arrowHeight,[p,y]=mS(a),v={start:"0%",center:"50%",end:"100%"}[y],w=(o.arrow?.x??0)+f/2,S=(o.arrow?.y??0)+m/2;let E="",j="";return p==="bottom"?(E=d?v:`${w}px`,j=`${-m}px`):p==="top"?(E=d?v:`${w}px`,j=`${r.floating.height+m}px`):p==="right"?(E=`${-m}px`,j=d?v:`${S}px`):p==="left"&&(E=`${r.floating.width+m}px`,j=d?v:`${S}px`),{data:{x:E,y:j}}}});function mS(e){const[t,a="center"]=e.split("-");return[t,a]}var pS=lS,wd=uS,pg=dS,gg=hS,VD="Portal",Ol=x.forwardRef((e,t)=>{const{container:a,...r}=e,[o,c]=x.useState(!1);gt(()=>c(!0),[]);const d=a||o&&globalThis?.document?.body;return d?Lj.createPortal(l.jsx(We.div,{...r,ref:t}),d):null});Ol.displayName=VD;function PD(e,t){return x.useReducer((a,r)=>t[a][r]??a,e)}var Ca=e=>{const{present:t,children:a}=e,r=zD(t),o=typeof a=="function"?a({present:r.isPresent}):x.Children.only(a),c=Qe(r.ref,LD(o));return typeof a=="function"||r.isPresent?x.cloneElement(o,{ref:c}):null};Ca.displayName="Presence";function zD(e){const[t,a]=x.useState(),r=x.useRef(null),o=x.useRef(e),c=x.useRef("none"),d=e?"mounted":"unmounted",[f,m]=PD(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const p=uu(r.current);c.current=f==="mounted"?p:"none"},[f]),gt(()=>{const p=r.current,y=o.current;if(y!==e){const w=c.current,S=uu(p);e?m("MOUNT"):S==="none"||p?.display==="none"?m("UNMOUNT"):m(y&&w!==S?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,m]),gt(()=>{if(t){let p;const y=t.ownerDocument.defaultView??window,v=S=>{const j=uu(r.current).includes(CSS.escape(S.animationName));if(S.target===t&&j&&(m("ANIMATION_END"),!o.current)){const C=t.style.animationFillMode;t.style.animationFillMode="forwards",p=y.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=C)})}},w=S=>{S.target===t&&(c.current=uu(r.current))};return t.addEventListener("animationstart",w),t.addEventListener("animationcancel",v),t.addEventListener("animationend",v),()=>{y.clearTimeout(p),t.removeEventListener("animationstart",w),t.removeEventListener("animationcancel",v),t.removeEventListener("animationend",v)}}else m("ANIMATION_END")},[t,m]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:x.useCallback(p=>{r.current=p?getComputedStyle(p):null,a(p)},[])}}function uu(e){return e?.animationName||"none"}function LD(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var BD=Symbol("radix.slottable");function UD(e){const t=({children:a})=>l.jsx(l.Fragment,{children:a});return t.displayName=`${e}.Slottable`,t.__radixId=BD,t}var gS=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),ID="VisuallyHidden",yS=x.forwardRef((e,t)=>
vendor: 9,633 bytes, line 367
367l.jsx(We.span,{...e,ref:t,style:{...gS,...e.style}}));yS.displayName=ID;var FD=yS,[jd]=ja("Tooltip",[Ji]),yg=Ji(),xS="TooltipProvider",HD=700,hw="tooltip.open",[qD,vS]=jd(xS),bS=e=>{const{__scopeTooltip:t,delayDuration:a=HD,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:c}=e,d=x.useRef(!0),f=x.useRef(!1),m=x.useRef(0);return x.useEffect(()=>{const p=m.current;return()=>window.clearTimeout(p)},[]),l.jsx(qD,{scope:t,isOpenDelayedRef:d,delayDuration:a,onOpen:x.useCallback(()=>{window.clearTimeout(m.current),d.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>d.current=!0,r)},[r]),isPointerInTransitRef:f,onPointerInTransitChange:x.useCallback(p=>{f.current=p},[]),disableHoverableContent:o,children:c})};bS.displayName=xS;var wS="Tooltip",[gU,Dl]=jd(wS),lp="TooltipTrigger",$D=x.forwardRef((e,t)=>{const{__scopeTooltip:a,...r}=e,o=Dl(lp,a),c=vS(lp,a),d=yg(a),f=x.useRef(null),m=Qe(t,f,o.onTriggerChange),p=x.useRef(!1),y=x.useRef(!1),v=x.useCallback(()=>p.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),l.jsx(wd,{asChild:!0,...d,children:l.jsx(We.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:m,onPointerMove:bi(e.onPointerMove,w=>{w.pointerType!=="touch"&&!y.current&&!c.isPointerInTransitRef.current&&(o.onTriggerEnter(),y.current=!0)}),onPointerLeave:bi(e.onPointerLeave,()=>{o.onTriggerLeave(),y.current=!1}),onPointerDown:bi(e.onPointerDown,()=>{o.open&&o.onClose(),p.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:bi(e.onFocus,()=>{p.current||o.onOpen()}),onBlur:bi(e.onBlur,o.onClose),onClick:bi(e.onClick,o.onClose)})})});$D.displayName=lp;var xg="TooltipPortal",[GD,YD]=jd(xg,{forceMount:void 0}),jS=e=>{const{__scopeTooltip:t,forceMount:a,children:r,container:o}=e,c=Dl(xg,t);return l.jsx(GD,{scope:t,forceMount:a,children:l.jsx(Ca,{present:a||c.open,children:l.jsx(Ol,{asChild:!0,container:o,children:r})})})};jS.displayName=xg;var Ui="TooltipContent",NS=x.forwardRef((e,t)=>{const a=YD(Ui,e.__scopeTooltip),{forceMount:r=a.forceMount,side:o="top",...c}=e,d=Dl(Ui,e.__scopeTooltip);return l.jsx(Ca,{present:r||d.open,children:d.disableHoverableContent?l.jsx(SS,{side:o,...c,ref:t}):l.jsx(ZD,{side:o,...c,ref:t})})}),ZD=x.forwardRef((e,t)=>{const a=Dl(Ui,e.__scopeTooltip),r=vS(Ui,e.__scopeTooltip),o=x.useRef(null),c=Qe(t,o),[d,f]=x.useState(null),{trigger:m,onClose:p}=a,y=o.current,{onPointerInTransitChange:v}=r,w=x.useCallback(()=>{f(null),v(!1)},[v]),S=x.useCallback((E,j)=>{const C=E.currentTarget,A={x:E.clientX,y:E.clientY},T=JD(A,C.getBoundingClientRect()),_=e3(A,T),D=t3(j.getBoundingClientRect()),V=a3([..._,...D]);f(V),v(!0)},[v]);return x.useEffect(()=>()=>w(),[w]),x.useEffect(()=>{if(m&&y){const E=C=>S(C,y),j=C=>S(C,m);return m.addEventListener("pointerleave",E),y.addEventListener("pointerleave",j),()=>{m.removeEventListener("pointerleave",E),y.removeEventListener("pointerleave",j)}}},[m,y,S,w]),x.useEffect(()=>{if(d){const E=j=>{const C=j.target,A={x:j.clientX,y:j.clientY},T=m?.contains(C)||y?.contains(C),_=!n3(A,d);T?w():_&&(w(),p())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[m,y,d,p,w]),l.jsx(SS,{...e,ref:c})}),[KD,XD]=jd(wS,{isInside:!1}),QD=UD("TooltipContent"),SS=x.forwardRef((e,t)=>{const{__scopeTooltip:a,children:r,"aria-label":o,onEscapeKeyDown:c,onPointerDownOutside:d,...f}=e,m=Dl(Ui,a),p=yg(a),{onClose:y}=m;return x.useEffect(()=>(document.addEventListener(hw,y),()=>document.removeEventListener(hw,y)),[y]),x.useEffect(()=>{if(m.trigger){const v=w=>{w.target?.contains(m.trigger)&&y()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[m.trigger,y]),l.jsx(kl,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:v=>v.preventDefault(),onDismiss:y,children:l.jsxs(pg,{"data-state":m.stateAttribute,...p,...f,ref:t,style:{...f.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(QD,{children:r}),l.jsx(KD,{scope:a,isInside:!0,children:l.jsx(FD,{id:m.contentId,role:"tooltip",children:o||r})})]})})});NS.displayName=Ui;var CS="TooltipArrow",WD=x.forwardRef((e,t)=>{const{__scopeTooltip:a,...r}=e,o=yg(a);return XD(CS,a).isInside?null:l.jsx(gg,{...o,...r,ref:t})});WD.displayName=CS;function JD(e,t){const a=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),c=Math.abs(t.left-e.x);switch(Math.min(a,r,o,c)){case c:return"left";case o:return"right";case a:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function e3(e,t,a=5){const r=[];switch(t){case"top":r.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":r.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":r.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":r.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return r}function t3(e){const{top:t,right:a,bottom:r,left:o}=e;return[{x:o,y:t},{x:a,y:t},{x:a,y:r},{x:o,y:r}]}function n3(e,t){const{x:a,y:r}=e;let o=!1;for(let c=0,d=t.length-1;c<t.length;d=c++){const f=t[c],m=t[d],p=f.x,y=f.y,v=m.x,w=m.y;y>r!=w>r&&a<(v-p)*(r-y)/(w-y)+p&&(o=!o)}return o}function a3(e){const t=e.slice();return t.sort((a,r)=>a.x<r.x?-1:a.x>r.x?1:a.y<r.y?-1:a.y>r.y?1:0),s3(t)}function s3(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const c=t[t.length-1],d=t[t.length-2];if((c.x-d.x)*(o.y-d.y)>=(c.y-d.y)*(o.x-d.x))t.pop();else break}t.push(o)}t.pop();const a=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;a.length>=2;){const c=a[a.length-1],d=a[a.length-2];if((c.x-d.x)*(o.y-d.y)>=(c.y-d.y)*(o.x-d.x))a.pop();else break}a.push(o)}return a.pop(),t.length===1&&a.length===1&&t[0].x===a[0].x&&t[0].y===a[0].y?t:t.concat(a)}var r3=bS,i3=jS,ES=NS;const o3=r3,l3=x.forwardRef(({className:e,sideOffset:t=4,...a},r)=>l.jsx(i3,{children:l.jsx(ES,{ref:r,sideOffset:t,className:Le("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",e),...a})}));l3.displayName=ES.displayName;const TS=x.forwardRef(({className:e,...t},a)=>l.jsx("div",{ref:a,className:Le("rounded-xl border bg-card text-card-foreground shadow",e),...t}));TS.displayName="Card";const c3=x.forwardRef(({className:e,...t},a)=>l.jsx("div",{ref:a,className:Le("flex flex-col space-y-1.5 p-6",e),...t}));c3.displayName="CardHeader";const u3=x.forwardRef(({className:e,...t},a)=>l.jsx("div",{ref:a,className:Le("font-semibold leading-none tracking-tight",e),...t}));u3.displayName="CardTitle";const d3=x.forwardRef(({className:e,...t},a)=>l.jsx("div",{ref:a,className:Le("text-sm text-muted-foreground",e),...t}));d3.displayName="CardDescription";const AS=x.forwardRef(({className:e,...t},a)=>l.jsx("div",{ref:a,className:Le("p-6 pt-0",e),...t}));AS.displayName="CardContent";const f3=x.forwardRef(({className:e,...t},a)=>l.jsx("div",{ref:a,className:Le("flex items-center p-6 pt-0",e),...t}));f3.displayName="CardFooter";function h3(){return l.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:l.jsx(TS,{className:"w-full max-w-md mx-4",children:l.jsxs(AS,{className:"pt-6",children:[l.jsxs("div",{className:"flex mb-4 gap-2",children:[l.jsx(ok,{className:"h-8 w-8 text-red-500"}),l.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),l.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}var m3=Symbol.for("react.lazy"),Uu=$s[" use ".trim().toString()];function p3(e){return typeof e=="object"&&e!==null&&"then"in e}function _S(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===m3&&"_payload"in e&&p3(e._payload)}function RS(e){const t=g3(e),a=x.forwardRef((r,o)=>{let{children:c,...d}=r;_S(c)&&typeof Uu=="function"&&(c=Uu(c._payload));const f=x.Children.toArray(c),m=f.find(x3);if(m){const p=m.props.children,y=f.map(v=>v===m?x.Children.count(p)>1?x.Children.only(null):x.isValidElement(p)?p.props.children:null:v);return l.jsx(t,{...d,ref:o,children:x.isValidElement(p)?x.cloneElement(p,void 0,y):null})}return l.jsx(t,{...d,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}var kS=RS("Slot");function g3(e){const t=x.forwardRef((a,r)=>{let{children:o,...c}=a;if(_S(o)&&typeof Uu=="function"&&(o=Uu(o._payload)),x.isValidElement(o)){const d=b3(o),f=v3(c,o.props);return o.type!==x.Fragment&&(f.ref=r?Gs(r,d):d),x.cloneElement(o,f)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var y3=Symbol("radix.slottable");function x3(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===y3}function v3(e,t){const a={...t};for(const r in t){const o=e[r],c=t[r];/^on[A-Z]/.test(r)?o&&c?a[r]=(...f)=>{const m=c(...f);return o(...f),m}:o&&(a[r]=o):r==="style"?a[r]={...o,...c}
vendor: 4,070 bytes, line 367
367:r==="className"&&(a[r]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function b3(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}const w3=Al("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover-elevate active-elevate-2",{variants:{variant:{default:"bg-primary text-primary-foreground border border-primary-border",destructive:"bg-destructive text-destructive-foreground shadow-sm border-destructive-border",outline:" border [border-color:var(--button-outline)] shadow-xs active:shadow-none ",secondary:"border bg-secondary text-secondary-foreground border border-secondary-border ",ghost:"border border-transparent",link:"text-primary underline-offset-4 hover:underline"},size:{default:"min-h-9 px-4 py-2",sm:"min-h-8 rounded-md px-3 text-xs",lg:"min-h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Ue=x.forwardRef(({className:e,variant:t,size:a,asChild:r=!1,...o},c)=>{const d=r?kS:"button";return l.jsx(d,{className:Le(w3({variant:t,size:a,className:e})),ref:c,...o})});Ue.displayName="Button";function ll(e,t,{checkForDefaultPrevented:a=!0}={}){return function(o){if(e?.(o),a===!1||!o.defaultPrevented)return t?.(o)}}var j3=$s[" useInsertionEffect ".trim().toString()]||gt;function N3({prop:e,defaultProp:t,onChange:a=()=>{},caller:r}){const[o,c,d]=S3({defaultProp:t,onChange:a}),f=e!==void 0,m=f?e:o;{const y=x.useRef(e!==void 0);x.useEffect(()=>{const v=y.current;v!==f&&console.warn(`${r} is changing from ${v?"controlled":"uncontrolled"} to ${f?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=f},[f,r])}const p=x.useCallback(y=>{if(f){const v=C3(y)?y(e):y;v!==e&&d.current?.(v)}else c(y)},[f,e,c,d]);return[m,p]}function S3({defaultProp:e,onChange:t}){const[a,r]=x.useState(e),o=x.useRef(a),c=x.useRef(t);return j3(()=>{c.current=t},[t]),x.useEffect(()=>{o.current!==a&&(c.current?.(a),o.current=a)},[a,o]),[a,r,c]}function C3(e){return typeof e=="function"}var vm="focusScope.autoFocusOnMount",bm="focusScope.autoFocusOnUnmount",mw={bubbles:!1,cancelable:!0},E3="FocusScope",Nd=x.forwardRef((e,t)=>{const{loop:a=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:c,...d}=e,[f,m]=x.useState(null),p=on(o),y=on(c),v=x.useRef(null),w=Qe(t,j=>m(j)),S=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(r){let j=function(_){if(S.paused||!f)return;const D=_.target;f.contains(D)?v.current=D:Rs(v.current,{select:!0})},C=function(_){if(S.paused||!f)return;const D=_.relatedTarget;D!==null&&(f.contains(D)||Rs(v.current,{select:!0}))},A=function(_){if(document.activeElement===document.body)for(const V of _)V.removedNodes.length>0&&Rs(f)};document.addEventListener("focusin",j),document.addEventListener("focusout",C);const T=new MutationObserver(A);return f&&T.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",j),document.removeEventListener("focusout",C),T.disconnect()}}},[r,f,S.paused]),x.useEffect(()=>{if(f){gw.add(S);const j=document.activeElement;if(!f.contains(j)){const A=new CustomEvent(vm,mw);f.addEventListener(vm,p),f.dispatchEvent(A),A.defaultPrevented||(T3(M3(MS(f)),{select:!0}),document.activeElement===j&&Rs(f))}return()=>{f.removeEventListener(vm,p),setTimeout(()=>{const A=new CustomEvent(bm,mw);f.addEventListener(bm,y),f.dispatchEvent(A),A.defaultPrevented||Rs(j??document.body,{select:!0}),f.removeEventListener(bm,y),gw.remove(S)},0)}}},[f,p,y,S]);const E=x.useCallback(j=>{if(!a&&!r||S.paused)return;
vendor: 4,274 bytes, line 367
367const C=j.key==="Tab"&&!j.altKey&&!j.ctrlKey&&!j.metaKey,A=document.activeElement;if(C&&A){const T=j.currentTarget,[_,D]=A3(T);_&&D?!j.shiftKey&&A===D?(j.preventDefault(),a&&Rs(_,{select:!0})):j.shiftKey&&A===_&&(j.preventDefault(),a&&Rs(D,{select:!0})):A===T&&j.preventDefault()}},[a,r,S.paused]);return l.jsx(We.div,{tabIndex:-1,...d,ref:w,onKeyDown:E})});Nd.displayName=E3;function T3(e,{select:t=!1}={}){const a=document.activeElement;for(const r of e)if(Rs(r,{select:t}),document.activeElement!==a)return}function A3(e){const t=MS(e),a=pw(t,e),r=pw(t.reverse(),e);return[a,r]}function MS(e){const t=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)t.push(a.currentNode);return t}function pw(e,t){for(const a of e)if(!_3(a,{upTo:t}))return a}function _3(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function R3(e){return e instanceof HTMLInputElement&&"select"in e}function Rs(e,{select:t=!1}={}){if(e&&e.focus){const a=document.activeElement;e.focus({preventScroll:!0}),e!==a&&R3(e)&&t&&e.select()}}var gw=k3();function k3(){let e=[];return{add(t){const a=e[0];t!==a&&a?.pause(),e=yw(e,t),e.unshift(t)},remove(t){e=yw(e,t),e[0]?.resume()}}}function yw(e,t){const a=[...e],r=a.indexOf(t);return r!==-1&&a.splice(r,1),a}function M3(e){return e.filter(t=>t.tagName!=="A")}var wm=0;function vg(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??xw()),document.body.insertAdjacentElement("beforeend",e[1]??xw()),wm++,()=>{wm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),wm--}},[])}function xw(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ma=function(){return ma=Object.assign||function(t){for(var a,r=1,o=arguments.length;r<o;r++){a=arguments[r];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(t[c]=a[c])}return t},ma.apply(this,arguments)};function OS(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(a[r[o]]=e[r[o]]);return a}function O3(e,t,a){if(a||arguments.length===2)for(var r=0,o=t.length,c;r<o;r++)(c||!(r in t))&&(c||(c=Array.prototype.slice.call(t,0,r)),c[r]=t[r]);return e.concat(c||Array.prototype.slice.call(t))}var Su="right-scroll-bar-position",Cu="width-before-scroll-bar",D3="with-scroll-bars-hidden",V3="--removed-body-scroll-bar-size";function jm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function P3(e,t){var a=x.useState(function(){return{value:e,callback:t,facade:{get current(){return a.value},set current(r){var o=a.value;o!==r&&(a.value=r,a.callback(r,o))}}}})[0];return a.callback=t,a.facade}var z3=typeof window<"u"?x.useLayoutEffect:x.useEffect,vw=new WeakMap;function L3(e,t){var a=P3(null,function(r){return e.forEach(function(o){return jm(o,r)})});return z3(function(){var r=vw.get(a);if(r){var o=new Set(r),c=new Set(e),d=a.current;o.forEach(function(f){c.has(f)||jm(f,null)}),c.forEach(function(f){o.has(f)||jm(f,d)})}vw.set(a,e)},[e]),a}function B3(e){return e}function U3(e,t){t===void 0&&(t=B3);var a=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:e},useMedium:function(c){var d=t(c,r);return a.push(d),function(){a=a.filter(function(f){return f!==d})}},assignSyncMedium:function(c){for(r=!0;a.length;){var d=a;a=[],d.forEach(c)}a={push:function(f){return c(f)},filter:function(){return a}}},assignMedium:function(c){r=!0;var d=[];if(a.length){var f=a;a=[],f.forEach(c),d=a}var m=function(){var y=d;
vendor: 11,590 bytes, lines 367-407
367d=[],y.forEach(c)},p=function(){return Promise.resolve().then(m)};p(),a={push:function(y){d.push(y),p()},filter:function(y){return d=d.filter(y),a}}}};return o}function I3(e){e===void 0&&(e={});var t=U3(null);return t.options=ma({async:!0,ssr:!1},e),t}var DS=function(e){var t=e.sideCar,a=OS(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return x.createElement(r,ma({},a))};DS.isSideCarExport=!0;function F3(e,t){return e.useMedium(t),DS}var VS=I3(),Nm=function(){},Sd=x.forwardRef(function(e,t){var a=x.useRef(null),r=x.useState({onScrollCapture:Nm,onWheelCapture:Nm,onTouchMoveCapture:Nm}),o=r[0],c=r[1],d=e.forwardProps,f=e.children,m=e.className,p=e.removeScrollBar,y=e.enabled,v=e.shards,w=e.sideCar,S=e.noIsolation,E=e.inert,j=e.allowPinchZoom,C=e.as,A=C===void 0?"div":C,T=e.gapMode,_=OS(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=w,V=L3([a,t]),G=ma(ma({},_),o);return x.createElement(x.Fragment,null,y&&x.createElement(D,{sideCar:VS,removeScrollBar:p,shards:v,noIsolation:S,inert:E,setCallbacks:c,allowPinchZoom:!!j,lockRef:a,gapMode:T}),d?x.cloneElement(x.Children.only(f),ma(ma({},G),{ref:V})):x.createElement(A,ma({},G,{className:m,ref:V}),f))});Sd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Sd.classNames={fullWidth:Cu,zeroRight:Su};var H3=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function q3(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=H3();return t&&e.setAttribute("nonce",t),e}function $3(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function G3(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Y3=function(){var e=0,t=null;return{add:function(a){e==0&&(t=q3())&&($3(t,a),G3(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Z3=function(){var e=Y3();return function(t,a){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&a])}},PS=function(){var e=Z3(),t=function(a){var r=a.styles,o=a.dynamic;return e(r,o),null};return t},K3={left:0,top:0,right:0,gap:0},Sm=function(e){return parseInt(e||"",10)||0},X3=function(e){var t=window.getComputedStyle(document.body),a=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Sm(a),Sm(r),Sm(o)]},Q3=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return K3;var t=X3(e),a=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-a+t[2]-t[0])}},W3=PS(),Pi="data-scroll-locked",J3=function(e,t,a,r){var o=e.left,c=e.top,d=e.right,f=e.gap;return a===void 0&&(a="margin"),` 368 .`.concat(D3,` { 369 overflow: hidden `).concat(r,`; 370 padding-right: `).concat(f,"px ").concat(r,`; 371 } 372 body[`).concat(Pi,`] { 373 overflow: hidden `).concat(r,`; 374 overscroll-behavior: contain; 375 `).concat([t&&"position: relative ".concat(r,";"),a==="margin"&&` 376 padding-left: `.concat(o,`px; 377 padding-top: `).concat(c,`px; 378 padding-right: `).concat(d,`px; 379 margin-left:0; 380 margin-top:0; 381 margin-right: `).concat(f,"px ").concat(r,`; 382 `),a==="padding"&&"padding-right: ".concat(f,"px ").concat(r,";")].filter(Boolean).join(""),` 383 } 384 385 .`).concat(Su,` { 386 right: `).concat(f,"px ").concat(r,`; 387 } 388 389 .`).concat(Cu,` { 390 margin-right: `).concat(f,"px ").concat(r,`; 391 } 392 393 .`).concat(Su," .").concat(Su,` { 394 right: 0 `).concat(r,`; 395 } 396 397 .`).concat(Cu," .").concat(Cu,` { 398 margin-right: 0 `).concat(r,`; 399 } 400 401 body[`).concat(Pi,`] { 402 `).concat(V3,": ").concat(f,`px; 403 } 404`)},bw=function(){var e=parseInt(document.body.getAttribute(Pi)||"0",10);return isFinite(e)?e:0},e5=function(){x.useEffect(function(){return document.body.setAttribute(Pi,(bw()+1).toString()),function(){var e=bw()-1;e<=0?document.body.removeAttribute(Pi):document.body.setAttribute(Pi,e.toString())}},[])},t5=function(e){var t=e.noRelative,a=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;e5();var c=x.useMemo(function(){return Q3(o)},[o]);return x.createElement(W3,{styles:J3(c,!t,o,a?"":"!important")})},cp=!1;if(typeof window<"u")try{var du=Object.defineProperty({},"passive",{get:function(){return cp=!0,!0}});window.addEventListener("test",du,du),window.removeEventListener("test",du,du)}catch{cp=!1}var wi=cp?{passive:!1}:!1,n5=function(e){return e.tagName==="TEXTAREA"},zS=function(e,t){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[t]!=="hidden"&&!(a.overflowY===a.overflowX&&!n5(e)&&a[t]==="visible")},a5=function(e){return zS(e,"overflowY")},s5=function(e){return zS(e,"overflowX")},ww=function(e,t){var a=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=LS(e,r);if(o){var c=BS(e,r),d=c[1],f=c[2];if(d>f)return!0}r=r.parentNode}while(r&&r!==a.body);return!1},r5=function(e){var t=e.scrollTop,a=e.scrollHeight,r=e.clientHeight;return[t,a,r]},i5=function(e){var t=e.scrollLeft,a=e.scrollWidth,r=e.clientWidth;return[t,a,r]},LS=function(e,t){return e==="v"?a5(t):s5(t)},BS=function(e,t){return e==="v"?r5(t):i5(t)},o5=function(e,t){return e==="h"&&t==="rtl"?-1:1},l5=function(e,t,a,r,o){var c=o5(e,window.getComputedStyle(t).direction),d=c*r,f=a.target,m=t.contains(f),p=!1,y=d>0,v=0,w=0;do{var S=BS(e,f),E=S[0],j=S[1],C=S[2],A=j-C-c*E;(E||A)&&LS(e,f)&&(v+=A,w+=E),f instanceof ShadowRoot?f=f.host:f=f.parentNode}while(!m&&f!==document.body||m&&(t.contains(f)||t===f));return(y&&Math.abs(v)<1||!y&&Math.abs(w)<1)&&(p=!0),p},fu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},jw=function(e){return[e.deltaX,e.deltaY]},Nw=function(e){return e&&"current"in e?e.current:e},c5=function(e,t){return e[0]===t[0]&&e[1]===t[1]},u5=function(e){return` 405 .block-interactivity-`.concat(e,` {pointer-events: none;} 406 .allow-interactivity-`).concat(e,` {pointer-events: all;} 407`)},d5=0,ji=[];function f5(e){var t=x.useRef([]),a=x.useRef([0,0]),r=x.useRef(),o=x.useState(d5++)[0],c=x.useState(PS)[0],d=x.useRef(e);x.useEffect(function(){d.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var j=O3([e.lockRef.current],(e.shards||[]).map(Nw),!0).filter(Boolean);return j.forEach(function(C){return C.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),j.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var f=x.useCallback(function(j,C){if("touches"in j&&j.touches.length===2||j.type==="wheel"&&j.ctrlKey)return!d.current.allowPinchZoom;var A=fu(j),T=a.current,_="deltaX"in j?j.deltaX:T[0]-A[0],D="deltaY"in j?j.deltaY:T[1]-A[1],V,G=j.target,z=Math.abs(_)>Math.abs(D)?"h":"v";if("touches"in j&&z==="h"&&G.type==="range")return!1;var I=ww(z,G);if(!I)return!0;if(I?V=z:(V=z==="v"?"h":"v",I=ww(z,G)),!I)return!1;if(!r.current&&"changedTouches"in j&&(_||D)&&(r.current=V),!V)return!0;var ae=r.current||V;return l5(ae,C,j,ae==="h"?_:D)},[]),m=x.useCallback(function(j){var C=j;if(!(!ji.length||ji[ji.length-1]!==c)){var A="deltaY"in C?jw(C):fu(C),T=t.current.filter(function(V){return V.name===C.type&&(V.target===C.target||C.target===V.shadowParent)&&c5(V.delta,A)})[0];if(T&&T.should){C.cancelable&&C.preventDefault();return}if(!T){var _=(d.current.shards||[]).map(Nw).filter(Boolean).filter(function(V){return V.contains(C.target)}),D=_.length>0?f(C,_[0]):!d.current.noIsolation;D&&C.cancelable&&C.preventDefault()}}},[]),p=x.useCallback(function(j,C,A,T){var _={name:j,delta:C,target:A,should:T,shadowParent:h5(A)};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(D){return D!==_})},1)},[]),y=x.useCallback(function(j){a.current=fu(j),r.current=void 0},[]),v=x.useCallback(function(j){p(j.type,jw(j),j.target,f(j,e.lockRef.current))},[]),w=x.useCallback(function(j){p(j.type,fu(j),j.target,f(j,e.lockRef.current))},[]);x.useEffect(function(){return ji.push(c),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:w}),document.addEventListener("wheel",m,wi),document.addEventListener("touchmove",m,wi),document.addEventListener("touchstart",y,wi),function(){ji=ji.filter(function(j){return j!==c}),document.removeEventListener("wheel",m,wi),document.removeEventListener("touchmove",m,wi),document.removeEventListener("touchstart",y,wi)}},[]);var S=e.removeScrollBar,E=e.inert;return x.createElement(x.Fragment,null,E?x.createElement(c,{styles:u5(o)}):null,S?x.createElement(t5,{gapMode:e.gapMode}):null)}function h5(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const m5=F3(VS,f5);var Cd=x.forwardRef(function(e,t){return x.createElement(Sd,ma({},e,{ref:t,sideCar:m5}))});Cd.classNames=Sd.classNames;var p5=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ni=new WeakMap,hu=new WeakMap,mu={},Cm=0,US=function(e){return e&&(e.host||US(e.parentNode))},g5=function(e,t){return t.map(function(a){if(e.contains(a))return a;var r=US(a);return r&&e.contains(r)?r:(console.error("aria-hidden",a,"in not contained inside",e,". Doing nothing"),null)}).filter(function(a){return!!a})},y5=function(e,t,a,r){var o=g5(t,Array.isArray(e)?e:[e]);mu[a]||(mu[a]=new WeakMap);var c=mu[a],d=[],f=new Set,m=new Set(o),p=function(v){!v||f.has(v)||(f.add(v),p(v.parentNode))};o.forEach(p);var y=function(v){!v||m.has(v)||Array.prototype.forEach.call(v.children,function(w){if(f.has(w))y(w);else try{var S=w.getAttribute(r),E=S!==null&&S!=="false",j=(Ni.get(w)||0)+1,C=(c.get(w)||0)+1;Ni.set(w,j),c.set(w,C),d.push(w),j===1&&E&&hu.set(w,!0),C===1&&w.setAttribute(a,"true"),E||w.setAttribute(r,"true")}catch(A){console.error("aria-hidden: cannot operate on ",w,A)}})};return y(t),f.clear(),Cm++,function(){d.forEach(function(v){var w=Ni.get(v)-1,S=c.get(v)-1;Ni.set(v,w),c.set(v,S),w||(hu.has(v)||v.removeAttribute(r),hu.delete(v)),S||v.removeAttribute(a)}),Cm--,Cm||(Ni=new WeakMap,Ni=new WeakMap,hu=new WeakMap,mu={})}},bg=function(e,t,a){a===void 0&&(a="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=p5(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),y5(r,o,a,"aria-hidden")):function(){return null}};function x5(e){const t=v5(e),a=x.forwardRef((r,o)=>{const{children:c,...d}=r,f=x.Children.toArray(c),m=f.find(w5);if(m){const p=m.props.children,y=f.map(v=>v===m?x.Children.count(p)>1?x.Children.only(null):x.isValidElement(p)?p.props.children:null:v);return l.jsx(t,{...d,ref:o,children:x.isValidElement(p)?x.cloneElement(p,void 0,y):null})}return l.jsx(t,{...d,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}function v5(e){const t=x.forwardRef((a,r)=>{const{children:o,...c}=a;if(x.isValidElement(o)){const d=N5(o),f=j5(c,o.props);return o.type!==x.Fragment&&(f.ref=r?Gs(r,d):d),x.cloneElement(o,f)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var b5=Symbol("radix.slottable");function w5(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===b5}function j5(e,t){const a={...t};for(const r in t){const o=e[r],c=t[r];/^on[A-Z]/.test(r)?o&&c?a[r]=(...f)=>{const m=c(...f);return o(...f),m}:o&&(a[r]=o):r==="style"?a[r]={...o,...c}
vendor: 4,220 bytes, line 407
407:r==="className"&&(a[r]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function N5(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var Ed="Dialog",[IS]=ja(Ed),[S5,ia]=IS(Ed),FS=e=>{const{__scopeDialog:t,children:a,open:r,defaultOpen:o,onOpenChange:c,modal:d=!0}=e,f=x.useRef(null),m=x.useRef(null),[p,y]=N3({prop:r,defaultProp:o??!1,onChange:c,caller:Ed});return l.jsx(S5,{scope:t,triggerRef:f,contentRef:m,contentId:Ps(),titleId:Ps(),descriptionId:Ps(),open:p,onOpenChange:y,onOpenToggle:x.useCallback(()=>y(v=>!v),[y]),modal:d,children:a})};FS.displayName=Ed;var HS="DialogTrigger",qS=x.forwardRef((e,t)=>{const{__scopeDialog:a,...r}=e,o=ia(HS,a),c=Qe(t,o.triggerRef);return l.jsx(We.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Ng(o.open),...r,ref:c,onClick:ll(e.onClick,o.onOpenToggle)})});qS.displayName=HS;var wg="DialogPortal",[C5,$S]=IS(wg,{forceMount:void 0}),GS=e=>{const{__scopeDialog:t,forceMount:a,children:r,container:o}=e,c=ia(wg,t);return l.jsx(C5,{scope:t,forceMount:a,children:x.Children.map(r,d=>l.jsx(Ca,{present:a||c.open,children:l.jsx(Ol,{asChild:!0,container:o,children:d})}))})};GS.displayName=wg;var Iu="DialogOverlay",YS=x.forwardRef((e,t)=>{const a=$S(Iu,e.__scopeDialog),{forceMount:r=a.forceMount,...o}=e,c=ia(Iu,e.__scopeDialog);return c.modal?l.jsx(Ca,{present:r||c.open,children:l.jsx(T5,{...o,ref:t})}):null});YS.displayName=Iu;var E5=x5("DialogOverlay.RemoveScroll"),T5=x.forwardRef((e,t)=>{const{__scopeDialog:a,...r}=e,o=ia(Iu,a);return l.jsx(Cd,{as:E5,allowPinchZoom:!0,shards:[o.contentRef],children:l.jsx(We.div,{"data-state":Ng(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),_r="DialogContent",ZS=x.forwardRef((e,t)=>{const a=$S(_r,e.__scopeDialog),{forceMount:r=a.forceMount,...o}=e,c=ia(_r,e.__scopeDialog);return l.jsx(Ca,{present:r||c.open,children:c.modal?l.jsx(A5,{...o,ref:t}):l.jsx(_5,{...o,ref:t})})});ZS.displayName=_r;var A5=x.forwardRef((e,t)=>{const a=ia(_r,e.__scopeDialog),r=x.useRef(null),o=Qe(t,a.contentRef,r);return x.useEffect(()=>{const c=r.current;if(c)return bg(c)},[]),l.jsx(KS,{...e,ref:o,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ll(e.onCloseAutoFocus,c=>{c.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:ll(e.onPointerDownOutside,c=>{const d=c.detail.originalEvent,f=d.button===0&&d.ctrlKey===!0;(d.button===2||f)&&c.preventDefault()}),onFocusOutside:ll(e.onFocusOutside,c=>c.preventDefault())})}),_5=x.forwardRef((e,t)=>{const a=ia(_r,e.__scopeDialog),r=x.useRef(!1),o=x.useRef(!1);return l.jsx(KS,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{e.onCloseAutoFocus?.(c),c.defaultPrevented||(r.current||a.triggerRef.current?.focus(),c.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(r.current=!0,c.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const d=c.target;a.triggerRef.current?.contains(d)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&o.current&&c.preventDefault()}})}),KS=x.forwardRef((e,t)=>{const{__scopeDialog:a,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:c,...d}=e,f=ia(_r,a),m=x.useRef(null),p=Qe(t,m);return vg(),l.jsxs(l.Fragment,{children:[l.jsx(Nd,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:c,children:l.jsx(kl,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":Ng(f.open),...d,ref:p,onDismiss:()=>f.onOpenChange(!1)})}),l.jsxs(l.Fragment,{children:[l.jsx(R5,{titleId:f.titleId}),l.jsx(M5,{contentRef:m,descriptionId:f.descriptionId})]})]})}),jg="DialogTitle",XS=x.forwardRef((e,t)=>{const{__scopeDialog:a,...r}=e,o=ia(jg,a);return l.jsx(We.h2,{id:o.titleId,...r,ref:t})});XS.displayName=jg;var QS="DialogDescription",WS=x.forwardRef((e,t)=>{const{__scopeDialog:a,...r}=e,o=ia(QS,a);return l.jsx(We.p,{id:o.descriptionId,...r,ref:t})});WS.displayName=QS;var JS="DialogClose",e2=x.forwardRef((e,t)=>
407{const{__scopeDialog:a,...r}=e,o=ia(JS,a);return l.jsx(We.button,{type:"button",...r,ref:t,onClick:ll(e.onClick,()=>o.onOpenChange(!1))})});e2.displayName=JS;function Ng(e){return e?"open":"closed"}var t2="DialogTitleWarning",[yU,n2]=XR(t2,{contentName:_r,titleName:jg,docsSlug:"dialog"}),R5=({titleId:e})=>{const t=n2(t2),a=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 408 409If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 410 411For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},k5="DialogDescriptionWarning",M5=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n2(k5).contentName}}.`;return x.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},O5=FS,D5=qS,V5=GS,a2=YS,s2=ZS,r2=XS,i2=WS,P5=e2;const z5=O5,L5=D5,B5=V5,o2=x.forwardRef(({className:e,...t},a)=>l.jsx(a2,{className:Le("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));o2.displayName=a2.displayName;const U5=Al("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),l2=x.forwardRef(({side:e="right",className:t,children:a,...r},o)=>l.jsxs(B5,{children:[l.jsx(o2,{}),l.jsxs(s2,{ref:o,className:Le(U5({side:e}),t),...r,children:[l.jsxs(P5,{className:"absolute right-4 top-4 roun
411ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[l.jsx(rg,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]}),a]})]}));l2.displayName=s2.displayName;const I5=x.forwardRef(({className:e,...t},a)=>l.jsx(r2,{ref:a,className:Le("text-lg font-semibold text-foreground",e),...t}));I5.displayName=r2.displayName;const F5=x.forwardRef(({className:e,...t},a)=>l.jsx(i2,{ref:a,className:Le("text-sm text-muted-foreground",e),...t}));F5.displayName=i2.displayName;function cl(e,t,{checkForDefaultPrevented:a=!0}={}){return function(o){if(e?.(o),a===!1||!o.defaultPrevented)return t?.(o)}}function H5(e){const t=q5(e),a=x.forwardRef((r,o)=>{const{children:c,...d}=r,f=x.Children.toArray(c),m=f.find(G5);if(m){const p=m.props.children,y=f.map(v=>v===m?x.Children.count(p)>1?x.Children.only(null):x.isValidElement(p)?p.props.children:null:v);return l.jsx(t,{...d,ref:o,children:x.isValidElement(p)?x.cloneElement(p,void 0,y):null})}return l.jsx(t,{...d,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}function q5(e){const t=x.forwardRef((a,r)=>{const{children:o,...c}=a;if(x.isValidElement(o)){const d=Z5(o),f=Y5(c,o.props);return o.type!==x.Fragment&&(f.ref=r?Gs(r,d):d),x.cloneElement(o,f)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var $5=Symbol("radix.slottable");function G5(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$5}function Y5(e,t){const a={...t};for(const r in t){const o=e[r],c=t[r];/^on[A-Z]/.test(r)?o&&c?a[r]=(...f)=>{const m=c(...f);return o(...f),m}:o&&(a[r]=o):r==="style"?a[r]={...o,...c}:r==="className"&&(a[r]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function Z5(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var K5=$s[" useInsertionEffect ".trim().toString()]||gt;function X5({prop:e,defaultProp:t,onChange:a=()=>{},caller:r}){const[o,c,d]=Q5({defaultProp:t,onChange:a}),f=e!==void 0,m=f?e:o;{const y=x.useRef(e!==void 0);x.useEffect(()=>{const v=y.current;v!==f&&console.warn(`${r} is changing from ${v?"controlled":"uncontrolled"} to ${f?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=f},[f,r])}const p=x.useCallback(y=>{if(f){const v=W5(y)?y(e):y;v!==e&&d.current?.(v)}else c(y)},[f,e,c,d]);return[m,p]}function Q5({defaultProp:e,onChange:t}){const[a,r]=x.useState(e),o=x.useRef(a),c=x.useRef(t);return K5(()=>{c.current=t},[t]),x.useEffect(()=>{o.current!==a&&(c.current?.(a),o.current=a)},[a,o]),[a,r,c]}function W5(e){return typeof e=="function"}var Td="Popover",[c2]=ja(Td,[Ji]),Vl=Ji(),[J5,Zs]=c2(Td),u2=e=>{const{__scopePopover:t,children:a,open:r,defaultOpen:o,onOpenChange:c,modal:d=!1}=e,f=Vl(t),m=x.useRef(null),[p,y]=x.useState(!1),[v,w]=X5({prop:r,defaultProp:o??!1,onChange:c,caller:Td});return l.jsx(pS,{...f,children:l.jsx(J5,{scope:t,contentId:Ps(),triggerRef:m,open:v,onOpenChange:w,onOpenToggle:x.useCallback(()=>w(S=>!S),[w]),hasCustomAnchor:p,onCustomAnchorAdd:x.useCallback(()=>y(!0),[]),onCustomAnchorRemove:x.useCallback(()=>y(!1),[]),modal:d,children:a})})};u2.displayName=Td;var d2="PopoverAnchor",e6=x.forwardRef((e,t)=>{const{__scopePopover:a,...r}=e,o=Zs(d2,a),c=Vl(a),{onCustomAnchorAdd:d,onCustomAnchorRemove:f}=o;return x.useEffect(()=>(d(),()=>f()),[d,f]),l.jsx(wd,{...c,...r,ref:t})});e6.displayName=d2;var f2="PopoverTrigger",h2=x.forwardRef((e,t)=>{const{__scopePopover:a,...r}=e,o=Zs(f2,a),c=Vl(a),d=Qe(t,o.triggerRef),f=l.jsx(We.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":x2(o.open),...r,ref:d,onClick:cl(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?f:l.jsx(wd,{asChild:!0,...c,children:f})});h2.displayName=f2;var Sg="PopoverPortal",[t6,n6]=c2(Sg,{forceMount:void 0}),m2=e=>{const{__scopePopover:t,forceMount:a,children:r,container:o}=e,c=Zs(Sg,t);return l.jsx(t6,{scope:t,forceMount:a,children:l.jsx(Ca,{present:a||c.open,children:l.jsx(Ol,{asChild:!0,container:o,children:r})})})};m2.displayName=Sg;var Ii="PopoverContent",p2=x.forwardRef((e,t)=>
411{const a=n6(Ii,e.__scopePopover),{forceMount:r=a.forceMount,...o}=e,c=Zs(Ii,e.__scopePopover);return l.jsx(Ca,{present:r||c.open,children:c.modal?l.jsx(s6,{...o,ref:t}):l.jsx(r6,{...o,ref:t})})});p2.displayName=Ii;var a6=H5("PopoverContent.RemoveScroll"),s6=x.forwardRef((e,t)=>{const a=Zs(Ii,e.__scopePopover),r=x.useRef(null),o=Qe(t,r),c=x.useRef(!1);return x.useEffect(()=>{const d=r.current;if(d)return bg(d)},[]),l.jsx(Cd,{as:a6,allowPinchZoom:!0,children:l.jsx(g2,{...e,ref:o,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:cl(e.onCloseAutoFocus,d=>{d.preventDefault(),c.current||a.triggerRef.current?.focus()}),onPointerDownOutside:cl(e.onPointerDownOutside,d=>{const f=d.detail.originalEvent,m=f.button===0&&f.ctrlKey===!0,p=f.button===2||m;c.current=p},{checkForDefaultPrevented:!1}),onFocusOutside:cl(e.onFocusOutside,d=>d.preventDefault(),{checkForDefaultPrevented:!1})})})}),r6=x.forwardRef((e,t)=>{const a=Zs(Ii,e.__scopePopover),r=x.useRef(!1),o=x.useRef(!1);return l.jsx(g2,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{e.onCloseAutoFocus?.(c),c.defaultPrevented||(r.current||a.triggerRef.current?.focus(),c.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(r.current=!0,c.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const d=c.target;a.triggerRef.current?.contains(d)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&o.current&&c.preventDefault()}})}),g2=x.forwardRef((e,t)=>{const{__scopePopover:a,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:c,disableOutsidePointerEvents:d,onEscapeKeyDown:f,onPointerDownOutside:m,onFocusOutside:p,onInteractOutside:y,...v}=e,w=Zs(Ii,a),S=Vl(a);return vg(),l.jsx(Nd,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:c,children:l.jsx(kl,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:y,onEscapeKeyDown:f,onPointerDownOutside:m,onFocusOutside:p,onDismiss:()=>w.onOpenChange(!1),children:l.jsx(pg,{"data-state":x2(w.open),role:"dialog",id:w.contentId,...S,...v,ref:t,style:{...v.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),y2="PopoverClose",i6=x.forwardRef((e,t)=>{const{__scopePopover:a,...r}=e,o=Zs(y2,a);return l.jsx(We.button,{type:"button",...r,ref:t,onClick:cl(e.onClick,()=>o.onOpenChange(!1))})});i6.displayName=y2;var o6="PopoverArrow",l6=x.forwardRef((e,t)=>{const{__scopePopover:a,...r}=e,o=Vl(a);return l.jsx(gg,{...o,...r,ref:t})});l6.displayName=o6;function x2(e){return e?"open":"closed"}var c6=u2,u6=h2,d6=m2,v2=p2;const Em=c6,Tm=u6,Eu=x.forwardRef(({className:e,align:t="center",sideOffset:a=4,...r},o)=>l.jsx(d6,{children:l.jsx(v2,{ref:o,align:t,sideOffset:a,className:Le("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",e),...r})}));Eu.displayName=v2.displayName;const b2="/assets/acorn-management-full-color_1787770096496-CToABxv9.svg",Cg=x.createContext({});function Eg(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const Tg=typeof window<"u",w2=Tg?x.useLayoutEffect:x.useEffect,Ad=x.createContext(null);function Ag(e,t){e.indexOf(t)===-1&&e.push(t)}function _g(e,t){const a=e.indexOf(t);a>-1&&e.splice(a,1)}const es=(e,t,a)=>a>t?t:a<e?e:a;let Rg=()=>{};const ts={},j2=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function N2(e){return typeof e=="object"&&e!==null}const S2=e=>/^0[^.\s]+$/u.test(e);function kg(e){let t;return()=>(t===void 0&&(t=e()),t)}const $n=e=>e,f6=(e,t)=>a=>t(e(a)),Pl=(...e)=>e.reduce(f6),bl=(e,t,a)=>{const r=t-e;return r===0?1:(a-e)/r};class Mg{constructor(){this.subscriptions=[]}add(t){return Ag(this.subscriptions,t),()=>_g(this.subscriptions,t)}notify(t,a,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,a,r);else for(let c=0;c<o;c++){const d=this.subscriptions[c];d&&d(t,a,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const xa=e=>e*1e3,qn=e=>e/1e3;function C2(e,t){return t?e*(1e3/t):0}const E2=(e,t,a)=>(((1-3*a+3*t)*e+(3*a-6*t))*e+3*t)*e,h6=1e-7,m6=12;function p6(e,t,a,r,o){let c,d,f=0;do d=t+(a-t)/2,c=E2(d,r,o)-e,c>0?a=d:t=d;while(Math.abs(c)>h6&&++f<m6);return d}function zl(e,t,a,r){if(e===t&&a===r)return $n;const o=c=>p6(c,0,1,e,a);return c=>c===0||c===1?c:E2(o(c),t,r)}const T2=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,A2=e=>t=>1-e(1-t),_2=zl(.33,1.53,.69,.99),Og=A2(_2),R2=T2(Og),k2=e=>(e*=2)<1?.5*Og(e):.5*(2-Math.pow(2,-10*(e-1))),Dg=e=>1-Math.sin(Math.acos(e)),M2=A2(Dg),O2=T2(Dg),g6=zl(.42,0,1,1),y6=zl(0,0,.58,1),D2=zl(.42,0,.58,1),x6=e=>Array.isArray(e)&&typeof e[0]!="number",V2=e=>Array.isArray(e)&&typeof e[0]=="number",v6={linear:$n,easeIn:g6,easeInOut:D2,easeOut:y6,circIn:Dg,circInOut:O2,circOut:M2,backIn:Og,backInOut:R2,backOut:_2,anticipate:k2},b6=e=>typeof e=="string",Sw=e=>{if(V2(e)){Rg(e.length===4);const[t,a,r,o]=e;return zl(t,a,r,o)}else if(b6(e))return v6[e];return e},pu=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function w6(e,t){let a=new Set,r=new Set,o=!1,c=!1;const d=new WeakSet;let f={delta:0,timestamp:0,isProcessing:!1};function m(y){d.has(y)&&(p.schedule(y),e()),y(f)}const p={schedule:(y,v=!1,w=!1)=>{const E=w&&o?a:r;return v&&d.add(y),E.has(y)||E.add(y),y},cancel:y=>{r.delete(y),d.delete(y)},process:y=>{if(f=y,o){c=!0;return}o=!0,[a,r]=[r,a],a.forEach(m),a.clear(),o=!1,c&&(c=!1,p.process(y))}};return p}const j6=40;function P2(e,t){let a=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>a=!0,d=pu.reduce((_,D)=>(_[D]=w6(c),_),{}),{setup:f,read:m,resolveKeyframes:p,preUpdate:y,update:v,preRender:w,render:S,postRender:E}=d,j=()=>{const _=ts.useManualTiming?o.timestamp:performance.now();a=!1,ts.useManualTiming||(o.delta=r?1e3/60:Math.max(Math.min(_-o.timestamp,j6),1)),o.timestamp=_,o.isProcessing=!0,f.process(o),m.process(o),p.process(o),y.process(o),v.process(o),w.process(o),S.process(o),E.process(o),o.isProcessing=!1,a&&t&&(r=!1,e(j))},C=()=>{a=!0,r=!0,o.isProcessing||e(j)};return{schedule:pu.reduce((_,D)=>{const V=d[D];
vendor: 40,500 bytes, lines 411-419
411return _[D]=(G,z=!1,I=!1)=>(a||C(),V.schedule(G,z,I)),_},{}),cancel:_=>{for(let D=0;D<pu.length;D++)d[pu[D]].cancel(_)},state:o,steps:d}}const{schedule:xt,cancel:Is,state:Kt,steps:Am}=P2(typeof requestAnimationFrame<"u"?requestAnimationFrame:$n,!0);let Tu;function N6(){Tu=void 0}const yn={now:()=>(Tu===void 0&&yn.set(Kt.isProcessing||ts.useManualTiming?Kt.timestamp:performance.now()),Tu),set:e=>{Tu=e,queueMicrotask(N6)}},z2=e=>t=>typeof t=="string"&&t.startsWith(e),L2=z2("--"),S6=z2("var(--"),Vg=e=>S6(e)?C6.test(e.split("/*")[0].trim()):!1,C6=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,eo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},wl={...eo,transform:e=>es(0,1,e)},gu={...eo,default:1},ul=e=>Math.round(e*1e5)/1e5,Pg=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function E6(e){return e==null}const T6=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,zg=(e,t)=>a=>!!(typeof a=="string"&&T6.test(a)&&a.startsWith(e)||t&&!E6(a)&&Object.prototype.hasOwnProperty.call(a,t)),B2=(e,t,a)=>r=>{if(typeof r!="string")return r;const[o,c,d,f]=r.match(Pg);return{[e]:parseFloat(o),[t]:parseFloat(c),[a]:parseFloat(d),alpha:f!==void 0?parseFloat(f):1}},A6=e=>es(0,255,e),_m={...eo,transform:e=>Math.round(A6(e))},Nr={test:zg("rgb","red"),parse:B2("red","green","blue"),transform:({red:e,green:t,blue:a,alpha:r=1})=>"rgba("+_m.transform(e)+", "+_m.transform(t)+", "+_m.transform(a)+", "+ul(wl.transform(r))+")"};function _6(e){let t="",a="",r="",o="";return e.length>5?(t=e.substring(1,3),a=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),a=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,a+=a,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const up={test:zg("#"),parse:_6,transform:Nr.transform},Ll=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ks=Ll("deg"),va=Ll("%"),Me=Ll("px"),R6=Ll("vh"),k6=Ll("vw"),Cw={...va,parse:e=>va.parse(e)/100,transform:e=>va.transform(e*100)},Ri={test:zg("hsl","hue"),parse:B2("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:a,alpha:r=1})=>"hsla("+Math.round(e)+", "+va.transform(ul(t))+", "+va.transform(ul(a))+", "+ul(wl.transform(r))+")"},kt={test:e=>Nr.test(e)||up.test(e)||Ri.test(e),parse:e=>Nr.test(e)?Nr.parse(e):Ri.test(e)?Ri.parse(e):up.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Nr.transform(e):Ri.transform(e),getAnimatableNone:e=>{const t=kt.parse(e);return t.alpha=0,kt.transform(t)}},M6=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function O6(e){return isNaN(e)&&typeof e=="string"&&(e.match(Pg)?.length||0)+(e.match(M6)?.length||0)>0}const U2="number",I2="color",D6="var",V6="var(",Ew="${}",P6=/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 jl(e){const t=e.toString(),a=[],r={color:[],number:[],var:[]},o=[];let c=0;const f=t.replace(P6,m=>(kt.test(m)?(r.color.push(c),o.push(I2),a.push(kt.parse(m))):m.startsWith(V6)?(r.var.push(c),o.push(D6),a.push(m)):(r.number.push(c),o.push(U2),a.push(parseFloat(m))),++c,Ew)).split(Ew);return{values:a,split:f,indexes:r,types:o}}function F2(e){return jl(e).values}function H2(e){const{split:t,types:a}=jl(e),r=t.length;return o=>{let c="";for(let d=0;d<r;d++)if(c+=t[d],o[d]!==void 0){const f=a[d];f===U2?c+=ul(o[d]):f===I2?c+=kt.transform(o[d]):c+=o[d]}return c}}const z6=e=>typeof e=="number"?0:kt.test(e)?kt.getAnimatableNone(e):e;function L6(e){const t=F2(e);return H2(e)(t.map(z6))}const Fs={test:O6,parse:F2,createTransformer:H2,getAnimatableNone:L6};function Rm(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(t-e)*6*a:a<1/2?t:a<2/3?e+(t-e)*(2/3-a)*6:e}function B6({hue:e,saturation:t,lightness:a,alpha:r}){e/=360,t/=100,a/=100;let o=0,c=0,d=0;if(!t)o=c=d=a;else{const f=a<.5?a*(1+t):a+t-a*t,m=2*a-f;o=Rm(m,f,e+1/3),c=Rm(m,f,e),d=Rm(m,f,e-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(d*255),alpha:r}}function Fu(e,t){return a=>a>0?t:e}const vt=(e,t,a)=>e+(t-e)*a,km=(e,t,a)=>{const r=e*e,o=a*(t*t-r)+r;return o<0?0:Math.sqrt(o)},U6=[up,Nr,Ri],I6=e=>U6.find(t=>t.test(e));function Tw(e){const t=I6(e);if(!t)return!1;let a=t.parse(e);return t===Ri&&(a=B6(a)),a}const Aw=(e,t)=>{const a=Tw(e),r=Tw(t);if(!a||!r)return Fu(e,t);const o={...a};return c=>(o.red=km(a.red,r.red,c),o.green=km(a.green,r.green,c),o.blue=km(a.blue,r.blue,c),o.alpha=vt(a.alpha,r.alpha,c),Nr.transform(o))},dp=new Set(["none","hidden"]);function F6(e,t){return dp.has(e)?a=>a<=0?e:t:a=>a>=1?t:e}function H6(e,t){return a=>vt(e,t,a)}function Lg(e){return typeof e=="number"?H6:typeof e=="string"?Vg(e)?Fu:kt.test(e)?Aw:G6:Array.isArray(e)?q2:typeof e=="object"?kt.test(e)?Aw:q6:Fu}function q2(e,t){const a=[...e],r=a.length,o=e.map((c,d)=>Lg(c)(c,t[d]));return c=>{for(let d=0;d<r;d++)a[d]=o[d](c);return a}}function q6(e,t){const a={...e,...t},r={};for(const o in a)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Lg(e[o])(e[o],t[o]));return o=>{for(const c in r)a[c]=r[c](o);return a}}function $6(e,t){const a=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const c=t.types[o],d=e.indexes[c][r[c]],f=e.values[d]??0;a[o]=f,r[c]++}return a}const G6=(e,t)=>{const a=Fs.createTransformer(t),r=jl(e),o=jl(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?dp.has(e)&&!o.values.length||dp.has(t)&&!r.values.length?F6(e,t):Pl(q2($6(r,o),o.values),a):Fu(e,t)};function $2(e,t,a){return typeof e=="number"&&typeof t=="number"&&typeof a=="number"?vt(e,t,a):Lg(e)(e,t)}const Y6=e=>{const t=({timestamp:a})=>e(a);return{start:(a=!0)=>xt.update(t,a),stop:()=>Is(t),now:()=>Kt.isProcessing?Kt.timestamp:yn.now()}},G2=(e,t,a=10)=>{let r="";const o=Math.max(Math.round(t/a),2);for(let c=0;c<o;c++)r+=Math.round(e(c/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Hu=2e4;function Bg(e){let t=0;const a=50;let r=e.next(t);for(;!r.done&&t<Hu;)t+=a,r=e.next(t);return t>=Hu?1/0:t}function Z6(e,t=100,a){const r=a({...e,keyframes:[0,t]}),o=Math.min(Bg(r),Hu);return{type:"keyframes",ease:c=>r.next(o*c).value/t,duration:qn(o)}}const K6=5;function Y2(e,t,a){const r=Math.max(t-K6,0);return C2(a-e(r),t-r)}const jt={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},Mm=.001;function X6({duration:e=jt.duration,bounce:t=jt.bounce,velocity:a=jt.velocity,mass:r=jt.mass}){let o,c,d=1-t;d=es(jt.minDamping,jt.maxDamping,d),e=es(jt.minDuration,jt.maxDuration,qn(e)),d<1?(o=p=>{const y=p*d,v=y*e,w=y-a,S=fp(p,d),E=Math.exp(-v);return Mm-w/S*E},c=p=>{const v=p*d*e,w=v*a+a,S=Math.pow(d,2)*Math.pow(p,2)*e,E=Math.exp(-v),j=fp(Math.pow(p,2),d);return(-o(p)+Mm>0?-1:1)*((w-S)*E)/j}):(o=p=>{const y=Math.exp(-p*e),v=(p-a)*e+1;return-Mm+y*v},c=p=>{const y=Math.exp(-p*e),v=(a-p)*(e*e);return y*v});const f=5/e,m=W6(o,c,f);if(e=xa(e),isNaN(m))return{stiffness:jt.stiffness,damping:jt.damping,duration:e};{const p=Math.pow(m,2)*r;return{stiffness:p,damping:d*2*Math.sqrt(r*p),duration:e}}}const Q6=12;function W6(e,t,a){let r=a;for(let o=1;o<Q6;o++)r=r-e(r)/t(r);return r}function fp(e,t){return e*Math.sqrt(1-t*t)}const J6=["duration","bounce"],eV=["stiffness","damping","mass"];function _w(e,t){return t.some(a=>e[a]!==void 0)}function tV(e){let t={velocity:jt.velocity,stiffness:jt.stiffness,damping:jt.damping,mass:jt.mass,isResolvedFromDuration:!1,...e};if(!_w(e,eV)&&_w(e,J6))if(e.visualDuration){const a=e.visualDuration,r=2*Math.PI/(a*1.2),o=r*r,c=2*es(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:jt.mass,stiffness:o,damping:c}}else{const a=X6(e);t={...t,...a,mass:jt.mass},t.isResolvedFromDuration=!0}return t}function qu(e=jt.visualDuration,t=jt.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=a;const c=a.keyframes[0],d=a.keyframes[a.keyframes.length-1],f={done:!1,value:c},{stiffness:m,damping:p,mass:y,duration:v,velocity:w,isResolvedFromDuration:S}=tV({...a,velocity:-qn(a.velocity||0)}),E=w||0,j=p/(2*Math.sqrt(m*y)),C=d-c,A=qn(Math.sqrt(m/y)),T=Math.abs(C)<5;r||(r=T?jt.restSpeed.granular:jt.restSpeed.default),o||(o=T?jt.restDelta.granular:jt.restDelta.default);let _;if(j<1){const V=fp(A,j);_=G=>{const z=Math.exp(-j*A*G);return d-z*((E+j*A*C)/V*Math.sin(V*G)+C*Math.cos(V*G))}}else if(j===1)_=V=>d-Math.exp(-A*V)*(C+(E+A*C)*V);else{const V=A*Math.sqrt(j*j-1);_=G=>{const z=Math.exp(-j*A*G),I=Math.min(V*G,300);return d-z*((E+j*A*C)*Math.sinh(I)+V*C*Math.cosh(I))/V}}const D={calculatedDuration:S&&v||null,next:V=>{const G=_(V);if(S)f.done=V>=v;else{let z=V===0?E:0;j<1&&(z=V===0?xa(E):Y2(_,V,G));const I=Math.abs(z)<=r,ae=Math.abs(d-G)<=o;f.done=I&&ae}return f.value=f.done?d:G,f},toString:()=>{const V=Math.min(Bg(D),Hu),G=G2(z=>D.next(V*z).value,V,30);return V+"ms "+G},toTransition:()=>{}};return D}qu.applyToOptions=e=>{const t=Z6(e,100,qu);return e.ease=t.ease,e.duration=xa(t.duration),e.type="keyframes",e};function hp({keyframes:e,velocity:t=0,power:a=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:d,min:f,max:m,restDelta:p=.5,restSpeed:y}){const v=e[0],w={done:!1,value:v},S=I=>f!==void 0&&I<f||m!==void 0&&I>m,E=I=>f===void 0?m:m===void 0||Math.abs(f-I)<Math.abs(m-I)?f:m;let j=a*t;const C=v+j,A=d===void 0?C:d(C);A!==C&&(j=A-v);const T=I=>-j*Math.exp(-I/r),_=I=>A+T(I),D=I=>{const ae=T(I),ue=_(I);w.done=Math.abs(ae)<=p,w.value=w.done?A:ue};let V,G;const z=I=>{S(w.value)&&(V=I,G=qu({keyframes:[w.value,E(w.value)],velocity:Y2(_,I,w.value),damping:o,stiffness:c,restDelta:p,restSpeed:y}))};return z(0),{calculatedDuration:null,next:I=>{let ae=!1;return!G&&V===void 0&&(ae=!0,D(I),z(I)),V!==void 0&&I>=V?G.next(I-V):(!ae&&D(I),w)}}}function nV(e,t,a){const r=[],o=a||ts.mix||$2,c=e.length-1;for(let d=0;d<c;d++){let f=o(e[d],e[d+1]);if(t){const m=Array.isArray(t)?t[d]||$n:t;f=Pl(m,f)}r.push(f)}return r}function aV(e,t,{clamp:a=!0,ease:r,mixer:o}={}){const c=e.length;if(Rg(c===t.length),c===1)return()=>t[0];if(c===2&&t[0]===t[1])return()=>t[1];const d=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const f=nV(t,r,o),m=f.length,p=y=>{if(d&&y<e[0])return t[0];let v=0;if(m>1)for(;v<e.length-2&&!(y<e[v+1]);v++);const w=bl(e[v],e[v+1],y);return f[v](w)};return a?y=>p(es(e[0],e[c-1],y)):p}function sV(e,t){const a=e[e.length-1];for(let r=1;r<=t;r++){const o=bl(0,t,r);e.push(vt(a,1,o))}}function rV(e){const t=[0];return sV(t,e.length-1),t}function iV(e,t){return e.map(a=>a*t)}function oV(e,t){return e.map(()=>t||D2).splice(0,e.length-1)}function dl({duration:e=300,keyframes:t,times:a,ease:r="easeInOut"}){const o=x6(r)?r.map(Sw):Sw(r),c={done:!1,value:t[0]},d=iV(a&&a.length===t.length?a:rV(t),e),f=aV(d,t,{ease:Array.isArray(o)?o:oV(t,o)});return{calculatedDuration:e,next:m=>(c.value=f(m),c.done=m>=e,c)}}const lV=e=>e!==null;function Ug(e,{repeat:t,repeatType:a="loop"},r,o=1){const c=e.filter(lV),f=o<0||t&&a!=="loop"&&t%2===1?0:c.length-1;return!f||r===void 0?c[f]:r}const cV={decay:hp,inertia:hp,tween:dl,keyframes:dl,spring:qu};function Z2(e){typeof e.type=="string"&&(e.type=cV[e.type])}class Ig{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}}const uV=e=>e/100;class Fg extends Ig{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:a}=this.options;a&&a.updatedAt!==yn.now()&&this.tick(yn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Z2(t);const{type:a=dl,repeat:r=0,repeatDelay:o=0,repeatType:c,velocity:d=0}=t;let{keyframes:f}=t;const m=a||dl;m!==dl&&typeof f[0]!="number"&&(this.mixKeyframes=Pl(uV,$2(f[0],f[1])),f=[0,100]);const p=m({...t,keyframes:f});c==="mirror"&&(this.mirroredGenerator=m({...t,keyframes:[...f].reverse(),velocity:-d})),p.calculatedDuration===null&&(p.calculatedDuration=Bg(p));const{calculatedDuration:y}=p;this.calculatedDuration=y,this.resolvedDuration=y+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=p}updateTime(t){const a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){const{generator:r,totalDuration:o,mixKeyframes:c,mirroredGenerator:d,resolvedDuration:f,calculatedDuration:m}=this;if(this.startTime===null)return r.next(0);const{delay:p=0,keyframes:y,repeat:v,repeatType:w,repeatDelay:S,type:E,onUpdate:j,finalKeyframe:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);const A=this.currentTime-p*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?A<0:A>o;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let _=this.currentTime,D=r;if(v){const I=Math.min(this.currentTime,o)/f;let ae=Math.floor(I),ue=I%1;!ue&&I>=1&&(ue=1),ue===1&&ae--,ae=Math.min(ae,v+1),!!(ae%2)&&(w==="reverse"?(ue=1-ue,S&&(ue-=S/f)):w==="mirror"&&(D=d)),_=es(0,1,ue)*f}const V=T?{done:!1,value:y[0]}:D.next(_);c&&(V.value=c(V.value));let{done:G}=V;!T&&m!==null&&(G=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return z&&E!==hp&&(V.value=Ug(y,this.options,C,this.speed)),j&&j(V.value),z&&this.finish(),V}then(t,a){return this.finished.then(t,a)}get duration(){return qn(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+qn(t)}get time(){return qn(this.currentTime)}set time(t){t=xa(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(yn.now());const a=this.playbackSpeed!==t;this.playbackSpeed=t,a&&(this.time=qn(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Y6,startTime:a}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=a??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(yn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function dV(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Sr=e=>e*180/Math.PI,mp=e=>{const t=Sr(Math.atan2(e[1],e[0]));return pp(t)},fV={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:mp,rotateZ:mp,skewX:e=>Sr(Math.atan(e[1])),skewY:e=>Sr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},pp=e=>(e=e%360,e<0&&(e+=360),e),Rw=mp,kw=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Mw=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),hV={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:kw,scaleY:Mw,scale:e=>(kw(e)+Mw(e))/2,rotateX:e=>pp(Sr(Math.atan2(e[6],e[5]))),rotateY:e=>pp(Sr(Math.atan2(-e[2],e[0]))),rotateZ:Rw,rotate:Rw,skewX:e=>Sr(Math.atan(e[4])),skewY:e=>Sr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function gp(e){return e.includes("scale")?1:0}function yp(e,t){if(!e||e==="none")return gp(t);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(a)r=hV,o=a;else{const f=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=fV,o=f}if(!o)return gp(t);const c=r[t],d=o[1].split(",").map(pV);return typeof c=="function"?c(d):d[c]}const mV=(e,t)=>{const{transform:a="none"}=getComputedStyle(e);return yp(a,t)};function pV(e){return parseFloat(e.trim())}const to=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],no=new Set(to),Ow=e=>e===eo||e===Me,gV=new Set(["x","y","z"]),yV=to.filter(e=>!gV.has(e));function xV(e){const t=[];return yV.forEach(a=>{const r=e.getValue(a);r!==void 0&&(t.push([a,r.get()]),r.set(a.startsWith("scale")?1:0))}),t}const Er={width:({x:e},{paddingLeft:t="0",paddingRight:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),height:({y:e},{paddingTop:t="0",paddingBottom:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>yp(t,"x"),y:(e,{transform:t})=>yp(t,"y")};Er.translateX=Er.x;Er.translateY=Er.y;const Tr=new Set;let xp=!1,vp=!1,bp=!1;function K2(){if(vp){const e=Array.from(Tr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),a=new Map;t.forEach(r=>{const o=xV(r);o.length&&(a.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=a.get(r);o&&o.forEach(([c,d])=>{r.getValue(c)?.set(d)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}vp=!1,xp=!1,Tr.forEach(e=>e.complete(bp)),Tr.clear()}function X2(){Tr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(vp=!0)})}function vV(){bp=!0,X2(),K2(),bp=!1}class Hg{constructor(t,a,r,o,c,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=r,this.motionValue=o,this.element=c,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(Tr.add(this),xp||(xp=!0,xt.read(X2),xt.resolveKeyframes(K2))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:a,element:r,motionValue:o}=this;if(t[0]===null){const c=o?.get(),d=t[t.length-1];if(c!==void 0)t[0]=c;else if(r&&a){const f=r.readValue(a,d);f!=null&&(t[0]=f)}t[0]===void 0&&(t[0]=d),o&&c===void 0&&o.set(t[0])}dV(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Tr.delete(this)}cancel(){this.state==="scheduled"&&(Tr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const bV=e=>e.startsWith("--");function wV(e,t,a){bV(t)?e.style.setProperty(t,a):e.style[t]=a}const jV=kg(()=>window.ScrollTimeline!==void 0),NV={};function SV(e,t){const a=kg(e);return()=>NV[t]??a()}const Q2=SV(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),al=([e,t,a,r])=>`cubic-bezier(${e}, ${t}, ${a}, ${r})`,Dw={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:al([0,.65,.55,1]),circOut:al([.55,0,1,.45]),backIn:al([.31,.01,.66,-.59]),backOut:al([.33,1.53,.69,.99])};function W2(e,t){if(e)return typeof e=="function"?Q2()?G2(e,t):"ease-out":V2(e)?al(e):Array.isArray(e)?e.map(a=>W2(a,t)||Dw.easeOut):Dw[e]}function CV(e,t,a,{delay:r=0,duration:o=300,repeat:c=0,repeatType:d="loop",ease:f="easeOut",times:m}={},p=void 0){const y={[t]:a};m&&(y.offset=m);const v=W2(f,o);Array.isArray(v)&&(y.easing=v);const w={delay:r,duration:o,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:c+1,direction:d==="reverse"?"alternate":"normal"};return p&&(w.pseudoElement=p),e.animate(y,w)}function J2(e){return typeof e=="function"&&"applyToOptions"in e}function EV({type:e,...t}){return J2(e)&&Q2()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class TV extends Ig{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:a,name:r,keyframes:o,pseudoElement:c,allowFlatten:d=!1,finalKeyframe:f,onComplete:m}=t;this.isPseudoElement=!!c,this.allowFlatten=d,this.options=t,Rg(typeof t.type!="string");const p=EV(t);this.animation=CV(a,r,o,p,c),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const y=Ug(o,this.options,f,this.speed);this.updateMotionValue?this.updateMotionValue(y):wV(a,r,y),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return qn(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+qn(t)}get time(){return qn(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=xa(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:a}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&jV()?(this.animation.timeline=t,$n):a(this)}}const eC={anticipate:k2,backInOut:R2,circInOut:O2};function AV(e){return e in eC}function _V(e){typeof e.ease=="string"&&AV(e.ease)&&(e.ease=eC[e.ease])}const Vw=10;class RV extends TV{constructor(t){_V(t),Z2(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:a,onUpdate:r,onComplete:o,element:c,...d}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}const f=new Fg({...d,autoplay:!1}),m=xa(this.finishedTime??this.time);a.setWithVelocity(f.sample(m-Vw).value,f.sample(m).value,Vw),f.stop()}}const Pw=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Fs.test(e)||e==="0")&&!e.startsWith("url("));function kV(e){const t=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==t)return!0}function MV(e,t,a,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],d=Pw(o,t),f=Pw(c,t);return!d||!f?!1:kV(e)||(a==="spring"||J2(a))&&r}function wp(e){e.duration=0,e.type="keyframes"}const OV=new Set(["opacity","clipPath","filter","transform"]),DV=kg(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function VV(e){const{motionValue:t,name:a,repeatDelay:r,repeatType:o,damping:c,type:d}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:p}=t.owner.getProps();return DV()&&a&&OV.has(a)&&(a!=="transform"||!p)&&!m&&!r&&o!=="mirror"&&c!==0&&d!=="inertia"}const PV=40;class zV extends Ig{constructor({autoplay:t=!0,delay:a=0,type:r="keyframes",repeat:o=0,repeatDelay:c=0,repeatType:d="loop",keyframes:f,name:m,motionValue:p,element:y,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=yn.now();const w={autoplay:t,delay:a,type:r,repeat:o,repeatDelay:c,repeatType:d,name:m,motionValue:p,element:y,...v},S=y?.KeyframeResolver||Hg;this.keyframeResolver=new S(f,(E,j,C)=>this.onKeyframesResolved(E,j,w,!C),m,p,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,a,r,o){this.keyframeResolver=void 0;const{name:c,type:d,velocity:f,delay:m,isHandoff:p,onUpdate:y}=r;this.resolvedAt=yn.now(),MV(t,c,d,f)||((ts.instantAnimations||!m)&&y?.(Ug(t,r,a)),t[0]=t[t.length-1],wp(r),r.repeat=0);const w={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>PV?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...r,keyframes:t},S=!p&&VV(w)?new RV({...w,element:w.motionValue.owner.current}):new Fg(w);S.finished.then(()=>this.notifyFinished()).catch($n),this.pendingTimeline&&(this.stopTimeline=S.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=S}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),vV()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const LV=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function BV(e){const t=LV.exec(e);if(!t)return[,];const[,a,r,o]=t;return[`--${a??r}`,o]}function tC(e,t,a=1){const[r,o]=BV(e);if(!r)return;const c=window.getComputedStyle(t).getPropertyValue(r);if(c){const d=c.trim();return j2(d)?parseFloat(d):d}return Vg(o)?tC(o,t,a+1):o}function qg(e,t){return e?.[t]??e?.default??e}const nC=new Set(["width","height","top","left","right","bottom",...to]),UV={test:e=>e==="auto",parse:e=>e},aC=e=>t=>t.test(e),sC=[eo,Me,va,ks,k6,R6,UV],zw=e=>sC.find(aC(e));function IV(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||S2(e):!0}const FV=new Set(["brightness","contrast","saturate","opacity"]);function HV(e){const[t,a]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=a.match(Pg)||[];if(!r)return e;const o=a.replace(r,"");let c=FV.has(t)?1:0;return r!==a&&(c*=100),t+"("+c+o+")"}const qV=/\b([a-z-]*)\(.*?\)/gu,jp={...Fs,getAnimatableNone:e=>{const t=e.match(qV);return t?t.map(HV).join(" "):e}},Lw={...eo,transform:Math.round},$V={rotate:ks,rotateX:ks,rotateY:ks,rotateZ:ks,scale:gu,scaleX:gu,scaleY:gu,scaleZ:gu,skew:ks,skewX:ks,skewY:ks,distance:Me,translateX:Me,translateY:Me,translateZ:Me,x:Me,y:Me,z:Me,perspective:Me,transformPerspective:Me,opacity:wl,originX:Cw,originY:Cw,originZ:Me},$g={borderWidth:Me,borderTopWidth:Me,borderRightWidth:Me,borderBottomWidth:Me,borderLeftWidth:Me,borderRadius:Me,radius:Me,borderTopLeftRadius:Me,borderTopRightRadius:Me,borderBottomRightRadius:Me,borderBottomLeftRadius:Me,width:Me,maxWidth:Me,height:Me,maxHeight:Me,top:Me,right:Me,bottom:Me,left:Me,padding:Me,paddingTop:Me,paddingRight:Me,paddingBottom:Me,paddingLeft:Me,margin:Me,marginTop:Me,marginRight:Me,marginBottom:Me,marginLeft:Me,backgroundPositionX:Me,backgroundPositionY:Me,...$V,zIndex:Lw,fillOpacity:wl,strokeOpacity:wl,numOctaves:Lw},GV={...$g,color:kt,backgroundColor:kt,outlineColor:kt,fill:kt,stroke:kt,borderColor:kt,borderTopColor:kt,borderRightColor:kt,borderBottomColor:kt,borderLeftColor:kt,filter:jp,WebkitFilter:jp},rC=e=>GV[e];function iC(e,t){let a=rC(e);return a!==jp&&(a=Fs),a.getAnimatableNone?a.getAnimatableNone(t):void 0}const YV=new Set(["auto","none","0"]);function ZV(e,t,a){let r=0,o;for(;r<e.length&&!o;){const c=e[r];typeof c=="string"&&!YV.has(c)&&jl(c).values.length&&(o=e[r]),r++}if(o&&a)for(const c of t)e[c]=iC(a,o)}class KV extends Hg{constructor(t,a,r,o,c){super(t,a,r,o,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:a,name:r}=this;if(!a||!a.current)return;super.readKeyframes();for(let m=0;m<t.length;m++){let p=t[m];if(typeof p=="string"&&(p=p.trim(),Vg(p))){const y=tC(p,a.current);y!==void 0&&(t[m]=y),m===t.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!nC.has(r)||t.length!==2)return;const[o,c]=t,d=zw(o),f=zw(c);if(d!==f)if(Ow(d)&&Ow(f))for(let m=0;m<t.length;m++){const p=t[m];typeof p=="string"&&(t[m]=parseFloat(p))}else Er[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:a}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||IV(t[o]))&&r.push(o);r.length&&ZV(t,r,a)}measureInitialState(){const{element:t,unresolvedKeyframes:a,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Er[r](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;const o=a[a.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){const{element:t,name:a,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(a);o&&o.jump(this.measuredOrigin,!1);const c=r.length-1,d=r[c];r[c]=Er[a](t.measureViewportBox(),window.getComputedStyle(t.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),this.removedTransforms?.length&&this.removedTransforms.forEach(([f,m])=>{t.getValue(f).set(m)}),this.resolveNoneKeyframes()}}function XV(e,t,a){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const o=a?.[e]??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}const oC=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function lC(e){return N2(e)&&"offsetHeight"in e}const Bw=30,QV=e=>!isNaN(parseFloat(e));class WV{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const o=yn.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=yn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=QV(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new Mg);const r=this.events[t].add(a);return t==="change"?()=>{r(),xt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,a,r){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=yn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Bw)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,Bw);return C2(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),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(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Fi(e,t){return new WV(e,t)}const{schedule:Gg}=P2(queueMicrotask,!1),Qn={x:!1,y:!1};function cC(){return Qn.x||Qn.y}function JV(e){return e==="x"||e==="y"?Qn[e]?null:(Qn[e]=!0,()=>{Qn[e]=!1}):Qn.x||Qn.y?null:(Qn.x=Qn.y=!0,()=>{Qn.x=Qn.y=!1})}function uC(e,t){const a=XV(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[a,o,()=>r.abort()]}function Uw(e){return!(e.pointerType==="touch"||cC())}function eP(e,t,a={}){const[r,o,c]=uC(e,a),d=f=>{if(!Uw(f))return;const{target:m}=f,p=t(m,f);if(typeof p!="function"||!m)return;const y=v=>{Uw(v)&&(p(v),m.removeEventListener("pointerleave",y))};m.addEventListener("pointerleave",y,o)};return r.forEach(f=>{f.addEventListener("pointerenter",d,o)}),c}const dC=(e,t)=>t?e===t?!0:dC(e,t.parentElement):!1,Yg=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,tP=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function nP(e){return tP.has(e.tagName)||e.tabIndex!==-1}const Au=new WeakSet;function Iw(e){return t=>{t.key==="Enter"&&e(t)}}function Om(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const aP=(e,t)=>{const a=e.currentTarget;if(!a)return;const r=Iw(()=>{if(Au.has(a))return;Om(a,"down");const o=Iw(()=>{Om(a,"up")}),c=()=>Om(a,"cancel");a.addEventListener("keyup",o,t),a.addEventListener("blur",c,t)});a.addEventListener("keydown",r,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",r),t)};function Fw(e){return Yg(e)&&!cC()}function sP(e,t,a={}){const[r,o,c]=uC(e,a),d=f=>{const m=f.currentTarget;if(!Fw(f))return;Au.add(m);const p=t(m,f),y=(S,E)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",w),Au.has(m)&&Au.delete(m),Fw(S)&&typeof p=="function"&&p(S,{success:E})},v=S=>{y(S,m===window||m===document||a.useGlobalTarget||dC(m,S.target))},w=S=>{y(S,!1)};window.addEventListener("pointerup",v,o),window.addEventListener("pointercancel",w,o)};return r.forEach(f=>{(a.useGlobalTarget?window:f).addEventListener("pointerdown",d,o),lC(f)&&(f.addEventListener("focus",p=>aP(p,o)),!nP(f)&&!f.hasAttribute("tabindex")&&(f.tabIndex=0))}),c}function fC(e){return N2(e)&&"ownerSVGElement"in e}function rP(e){return fC(e)&&e.tagName==="svg"}const Jt=e=>!!(e&&e.getVelocity),iP=[...sC,kt,Fs],oP=e=>iP.find(aC(e)),Zg=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Hw(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function lP(...e){return t=>{let a=!1;const r=e.map(o=>{const c=Hw(o,t);return!a&&typeof c=="function"&&(a=!0),c});if(a)return()=>{for(let o=0;o<r.length;o++){const c=r[o];typeof c=="function"?c():Hw(e[o],null)}}}}function cP(...e){return x.useCallback(lP(...e),e)}class uP extends x.Component{getSnapshotBeforeUpdate(t){const a=this.props.childRef.current;if(a&&t.isPresent&&!this.props.isPresent){const r=a.offsetParent,o=lC(r)&&r.offsetWidth||0,c=this.props.sizeRef.current;c.height=a.offsetHeight||0,c.width=a.offsetWidth||0,c.top=a.offsetTop,c.left=a.offsetLeft,c.right=o-c.width-c.left}return null}componentDidUpdate(){}render(){return this.props.children}}function dP({children:e,isPresent:t,anchorX:a,root:r}){const o=x.useId(),c=x.useRef(null),d=x.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:f}=x.useContext(Zg),m=cP(c,e?.ref);return x.useInsertionEffect(()=>{const{width:p,height:y,top:v,left:w,right:S}=d.current;if(t||!c.current||!p||!y)return;const E=a==="left"?`left: ${w}`:`right: ${S}`;c.current.dataset.motionPopId=o;const j=document.createElement("style");f&&(j.nonce=f);const C=r??document.head;return C.appendChild(j),j.sheet&&j.sheet.insertRule(` 412 [data-motion-pop-id="${o}"] { 413 position: absolute !important; 414 width: ${p}px !important; 415 height: ${y}px !important; 416 ${E}px !important; 417 top: ${v}px !important; 418 } 419 `),()=>{C.contains(j)&&C.removeChild(j)}},[t]),l.jsx(uP,{isPresent:t,childRef:c,sizeRef:d,children:x.cloneElement(e,{ref:m})})}const fP=({children:e,initial:t,isPresent:a,onExitComplete:r,custom:o,presenceAffectsLayout:c,mode:d,anchorX:f,root:m})=>{const p=Eg(hP),y=x.useId();let v=!0,w=x.useMemo(()=>(v=!1,{id:y,initial:t,isPresent:a,custom:o,onExitComplete:S=>{p.set(S,!0);for(const E of p.values())if(!E)return;r&&r()},register:S=>(p.set(S,!1),()=>p.delete(S))}),[a,p,r]);return c&&v&&(w={...w}),x.useMemo(()=>{p.forEach((S,E)=>p.set(E,!1))},[a]),x.useEffect(()=>{!a&&!p.size&&r&&r()},[a]),d==="popLayout"&&(e=l.jsx(dP,{isPresent:a,anchorX:f,root:m,children:e})),l.jsx(Ad.Provider,{value:w,children:e})};function hP(){return new Map}function hC(e=!0){const t=x.useContext(Ad);if(t===null)return[!0,null];const{isPresent:a,onExitComplete:r,register:o}=t,c=x.useId();x.useEffect(()=>{if(e)return o(c)},[e]);const d=x.useCallback(()=>e&&r&&r(c),[c,r,e]);return!a&&r?[!1,d]:[!0]}const yu=e=>e.key||"";function qw(e){const t=[];return x.Children.forEach(e,a=>{x.isValidElement(a)&&t.push(a)}),t}const mC=({children:e,custom:t,initial:a=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:c="sync",propagate:d=!1,anchorX:f="left",root:m})=>{const[p,y]=hC(d),v=x.useMemo(()=>qw(e),[e]),w=d&&!p?[]:v.map(yu),S=x.useRef(!0),E=x.useRef(v),j=Eg(()=>new Map),[C,A]=x.useState(v),[T,_]=x.useState(v);w2(()=>{S.current=!1,E.current=v;for(let G=0;G<T.length;G++){const z=yu(T[G]);w.includes(z)?j.delete(z):j.get(z)!==!0&&j.set(z,!1)}},[T,w.length,w.join("-")]);const D=[];if(v!==C){let G=[...v];for(let z=0;z<T.length;z++){const I=T[z],ae=yu(I);w.includes(ae)||(G.splice(z,0,I),D.push(I))}return c==="wait"&&D.length&&(G=D),_(qw(G)),A(v),null}const{forceRender:V}=x.useContext(Cg);return l.jsx(l.Fragment,{children:T.map(G=>{const z=yu(G),I=d&&!p?!1:v===T||w.includes(z),ae=()=>{if(j.has(z))j.set(z,!0);else return;let ue=!0;j.forEach(ge=>{ge||(ue=!1)}),ue&&(V?.(),_(E.current),d&&y?.(),r&&r())};return l.jsx(fP,{isPresent:I,initial:!S.current||a?void 0:!1,custom:t,presenceAffectsLayout:o,mode:c,root:m,onExitComplete:I?void 0:ae,anchorX:f,children:G},z)})})},pC=x.createContext({strict:!1}),$w={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"]},Hi={};for(const e in $w)Hi[e]={isEnabled:t=>$w[e].some(a=>!!t[a])};function mP(e){for(const t in e)Hi[t]={...Hi[t],...e[t]}}const pP=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function $u(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||pP.has(e)}let gC=e=>!$u(e);function gP(e){typeof e=="function"&&(gC=t=>t.startsWith("on")?!$u(t):e(t))}try{gP(require("@emotion/is-prop-valid").default)}catch{}function yP(e,t,a){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(gC(o)||a===!0&&$u(o)||!t&&!$u(
vendor: 5,478 bytes, line 419
419o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const _d=x.createContext({});function Rd(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Nl(e){return typeof e=="string"||Array.isArray(e)}const Kg=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Xg=["initial",...Kg];function kd(e){return Rd(e.animate)||Xg.some(t=>Nl(e[t]))}function yC(e){return!!(kd(e)||e.variants)}function xP(e,t){if(kd(e)){const{initial:a,animate:r}=e;return{initial:a===!1||Nl(a)?a:void 0,animate:Nl(r)?r:void 0}}return e.inherit!==!1?t:{}}function vP(e){const{initial:t,animate:a}=xP(e,x.useContext(_d));return x.useMemo(()=>({initial:t,animate:a}),[Gw(t),Gw(a)])}function Gw(e){return Array.isArray(e)?e.join(" "):e}function Yw(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Jo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Me.test(e))e=parseFloat(e);else return e;const a=Yw(e,t.target.x),r=Yw(e,t.target.y);return`${a}% ${r}%`}},bP={correct:(e,{treeScale:t,projectionDelta:a})=>{const r=e,o=Fs.parse(e);if(o.length>5)return r;const c=Fs.createTransformer(e),d=typeof o[0]!="number"?1:0,f=a.x.scale*t.x,m=a.y.scale*t.y;o[0+d]/=f,o[1+d]/=m;const p=vt(f,m,.5);return typeof o[2+d]=="number"&&(o[2+d]/=p),typeof o[3+d]=="number"&&(o[3+d]/=p),c(o)}},Np={borderRadius:{...Jo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Jo,borderTopRightRadius:Jo,borderBottomLeftRadius:Jo,borderBottomRightRadius:Jo,boxShadow:bP};function xC(e,{layout:t,layoutId:a}){return no.has(e)||e.startsWith("origin")||(t||a!==void 0)&&(!!Np[e]||e==="opacity")}const wP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},jP=to.length;function NP(e,t,a){let r="",o=!0;for(let c=0;c<jP;c++){const d=to[c],f=e[d];if(f===void 0)continue;let m=!0;if(typeof f=="number"?m=f===(d.startsWith("scale")?1:0):m=parseFloat(f)===0,!m||a){const p=oC(f,$g[d]);if(!m){o=!1;const y=wP[d]||d;r+=`${y}(${p}) `}a&&(t[d]=p)}}return r=r.trim(),a?r=a(t,o?"":r):o&&(r="none"),r}function Qg(e,t,a){const{style:r,vars:o,transformOrigin:c}=e;let d=!1,f=!1;for(const m in t){const p=t[m];if(no.has(m)){d=!0;continue}else if(L2(m)){o[m]=p;continue}else{const y=oC(p,$g[m]);m.startsWith("origin")?(f=!0,c[m]=y):r[m]=y}}if(t.transform||(d||a?r.transform=NP(t,e.transform,a):r.transform&&(r.transform="none")),f){const{originX:m="50%",originY:p="50%",originZ:y=0}=c;r.transformOrigin=`${m} ${p} ${y}`}}const Wg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function vC(e,t,a){for(const r in t)!Jt(t[r])&&!xC(r,a)&&(e[r]=t[r])}function SP({transformTemplate:e},t){return x.useMemo(()=>{const a=Wg();return Qg(a,t,e),Object.assign({},a.vars,a.style)},[t])}function CP(e,t){const a=e.style||{},r={};return vC(r,a,e),Object.assign(r,SP(e,t)),r}function EP(e,t){const a={},r=CP(e,t);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=r,a}const TP={offset:"stroke-dashoffset",array:"stroke-dasharray"},AP={offset:"strokeDashoffset",array:"strokeDasharray"};function _P(e,t,a=1,r=0,o=!0){e.pathLength=1;const c=o?TP:AP;e[c.offset]=Me.transform(-r);const d=Me.transform(t),f=Me.transform(a);e[c.array]=`${d} ${f}`}function bC(e,{attrX:t,attrY:a,attrScale:r,pathLength:o,pathSpacing:c=1,pathOffset:d=0,...f},m,p,y){if(Qg(e,f,p),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:w}=e;v.transform&&(w.transform=v.transform,delete v.transform),(w.transform||v.transformOrigin)&&(w.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),w.transform&&(w.transformBox=y?.transformBox??"fill-box",delete v.transformBox),t!==void 0&&(v.x=t),a!==void 0&&(v.y=a),r!==void 0&&(v.scale=r),o!==void 0&&_P(v,o,c,d,!1)}const wC=()=>({...Wg(),attrs:{}}),jC=e=>typeof e=="string"&&e.toLowerCase()==="svg";function RP(e,t,a,r){const o=x.useMemo(()=>{const c=wC();return bC(c,t,jC(r),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[t]);if(e.style){const c={};vC(c,e.style,e),o.style={...c,...o.style}}return o}const kP=["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 Jg(e){return typeof e!="string"||e.includes("-")?!1:!!(kP.indexOf(e)>-1||/[A-Z]/u.test(e))}function MP(e,t,a,{latestValues:r},o,c=!1){const f=(Jg(e)?RP:EP)(t,r,o,e),m=yP(t,typeof e=="string",c),p=e!==x.Fragment?{...m,...f,ref:a}:{},{children:y}=t,v=x.useMemo(()=>Jt(y)?y.get():y,[y]);return x.createElement(e,{...p,children:v})}function Zw(e){const t=[{},{}];return e?.values.forEach((a,r)=>{t[0][r]=a.get(),t[1][r]=a.getVelocity()}),t}function ey(e,t,a,r){if(typeof t=="function"){const[o,c]=Zw(r);t=t(a!==void 0?a:e.custom,o,c)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,c]=Zw(r);t=t(a!==void 0?a:e.custom,o,c)}return t}function _u(e){return Jt(e)?e.get():e}function OP({scrapeMotionValuesFromProps:e,createRenderState:t},a,r,o){return{latestValues:DP(a,r,o,e),renderState:t()}}function DP(e,t,a,r){const o={},c=r(e,{});for(const w in c)o[w]=_u(c[w]);let{initial:d,animate:f}=e;const m=kd(e),p=yC(e);
vendor: 11,142 bytes, line 419
419t&&p&&!m&&e.inherit!==!1&&(d===void 0&&(d=t.initial),f===void 0&&(f=t.animate));let y=a?a.initial===!1:!1;y=y||d===!1;const v=y?f:d;if(v&&typeof v!="boolean"&&!Rd(v)){const w=Array.isArray(v)?v:[v];for(let S=0;S<w.length;S++){const E=ey(e,w[S]);if(E){const{transitionEnd:j,transition:C,...A}=E;for(const T in A){let _=A[T];if(Array.isArray(_)){const D=y?_.length-1:0;_=_[D]}_!==null&&(o[T]=_)}for(const T in j)o[T]=j[T]}}}return o}const NC=e=>(t,a)=>{const r=x.useContext(_d),o=x.useContext(Ad),c=()=>OP(e,t,r,o);return a?c():Eg(c)};function ty(e,t,a){const{style:r}=e,o={};for(const c in r)(Jt(r[c])||t.style&&Jt(t.style[c])||xC(c,e)||a?.getValue(c)?.liveStyle!==void 0)&&(o[c]=r[c]);return o}const VP=NC({scrapeMotionValuesFromProps:ty,createRenderState:Wg});function SC(e,t,a){const r=ty(e,t,a);for(const o in e)if(Jt(e[o])||Jt(t[o])){const c=to.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[c]=e[o]}return r}const PP=NC({scrapeMotionValuesFromProps:SC,createRenderState:wC}),zP=Symbol.for("motionComponentSymbol");function ki(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function LP(e,t,a){return x.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),a&&(typeof a=="function"?a(r):ki(a)&&(a.current=r))},[t])}const ny=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),BP="framerAppearId",CC="data-"+ny(BP),EC=x.createContext({});function UP(e,t,a,r,o){const{visualElement:c}=x.useContext(_d),d=x.useContext(pC),f=x.useContext(Ad),m=x.useContext(Zg).reducedMotion,p=x.useRef(null);r=r||d.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:c,props:a,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:m}));const y=p.current,v=x.useContext(EC);y&&!y.projection&&o&&(y.type==="html"||y.type==="svg")&&IP(p.current,a,o,v);const w=x.useRef(!1);x.useInsertionEffect(()=>{y&&w.current&&y.update(a,f)});const S=a[CC],E=x.useRef(!!S&&!window.MotionHandoffIsComplete?.(S)&&window.MotionHasOptimisedAnimation?.(S));return w2(()=>{y&&(w.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),E.current&&y.animationState&&y.animationState.animateChanges())}),x.useEffect(()=>{y&&(!E.current&&y.animationState&&y.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(S)}),E.current=!1),y.enteringChildren=void 0)}),y}function IP(e,t,a,r){const{layoutId:o,layout:c,drag:d,dragConstraints:f,layoutScroll:m,layoutRoot:p,layoutCrossfade:y}=t;e.projection=new a(e.latestValues,t["data-framer-portal-id"]?void 0:TC(e.parent)),e.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!d||f&&ki(f),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:r,crossfade:y,layoutScroll:m,layoutRoot:p})}function TC(e){if(e)return e.options.allowProjection!==!1?e.projection:TC(e.parent)}function Dm(e,{forwardMotionProps:t=!1}={},a,r){a&&mP(a);const o=Jg(e)?PP:VP;function c(f,m){let p;const y={...x.useContext(Zg),...f,layoutId:FP(f)},{isStatic:v}=y,w=vP(f),S=o(f,v);if(!v&&Tg){HP();const E=qP(y);p=E.MeasureLayout,w.visualElement=UP(e,S,y,r,E.ProjectionNode)}return l.jsxs(_d.Provider,{value:w,children:[p&&w.visualElement?l.jsx(p,{visualElement:w.visualElement,...y}):null,MP(e,f,LP(S,w.visualElement,m),S,v,t)]})}c.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const d=x.forwardRef(c);return d[zP]=e,d}function FP({layoutId:e}){const t=x.useContext(Cg).id;return t&&e!==void 0?t+"-"+e:e}function HP(e,t){x.useContext(pC).strict}function qP(e){const{drag:t,layout:a}=Hi;if(!t&&!a)return{};const r={...t,...a};return{MeasureLayout:t?.isEnabled(e)||a?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function $P(e,t){if(typeof Proxy>"u")return Dm;const a=new Map,r=(c,d)=>Dm(c,d,e,t),o=(c,d)=>r(c,d);return new Proxy(o,{get:(c,d)=>d==="create"?r:(a.has(d)||a.set(d,Dm(d,void 0,e,t)),a.get(d))})}function AC({top:e,left:t,right:a,bottom:r}){return{x:{min:t,max:a},y:{min:e,max:r}}}function GP({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function YP(e,t){if(!t)return e;const a=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:r.y,right:r.x}}function Vm(e){return e===void 0||e===1}function Sp({scale:e,scaleX:t,scaleY:a}){return!Vm(e)||!Vm(t)||!Vm(a)}function wr(e){return Sp(e)||_C(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function _C(e){return Kw(e.x)||Kw(e.y)}function Kw(e){return e&&e!=="0%"}function Gu(e,t,a){const r=e-a,o=t*r;return a+o}function Xw(e,t,a,r,o){return o!==void 0&&(e=Gu(e,o,r)),Gu(e,a,r)+t}function Cp(e,t=0,a=1,r,o){e.min=Xw(e.min,t,a,r,o),e.max=Xw(e.max,t,a,r,o)}function RC(e,{x:t,y:a}){Cp(e.x,t.translate,t.scale,t.originPoint),Cp(e.y,a.translate,a.scale,a.originPoint)}const Qw=.999999999999,Ww=1.0000000000001;function ZP(e,t,a,r=!1){const o=a.length;if(!o)return;t.x=t.y=1;let c,d;for(let f=0;f<o;f++){c=a[f],d=c.projectionDelta;const{visualElement:m}=c.options;m&&m.props.style&&m.props.style.display==="contents"||(r&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Oi(e,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),d&&(t.x*=d.x.scale,t.y*=d.y.scale,RC(e,d)),r&&wr(c.latestValues)&&Oi(e,c.latestValues))}t.x<Ww&&t.x>Qw&&(t.x=1),t.y<Ww&&t.y>Qw&&(t.y=1)}function Mi(e,t){e.min=e.min+t,e.max=e.max+t}function Jw(e,t,a,r,o=.5){const c=vt(e.min,e.max,o);Cp(e,t,a,c,r)}function Oi(e,t){Jw(e.x,t.x,t.scaleX,t.scale,t.originX),Jw(e.y,t.y,t.scaleY,t.scale,t.originY)}function kC(e,t){return AC(YP(e.getBoundingClientRect(),t))}function KP(e,t,a){const r=kC(e,a),{scroll:o}=t;return o&&(Mi(r.x,o.offset.x),Mi(r.y,o.offset.y)),r}const e1=()=>({translate:0,scale:1,origin:0,originPoint:0}),Di=()=>({x:e1(),y:e1()}),t1=()=>({min:0,max:0}),zt=()=>({x:t1(),y:t1()}),Ep={current:null},MC={current:!1};function XP(){if(MC.current=!0,!!Tg)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ep.current=e.matches;e.addEventListener("change",t),t()}else Ep.current=!1}const QP=new WeakMap;function WP(e,t,a){for(const r in t){const o=t[r],c=a[r];if(Jt(o))e.addValue(r,o);else if(Jt(c))e.addValue(r,Fi(o,{owner:e}));else if(c!==o)if(e.hasValue(r)){const d=e.getValue(r);d.liveStyle===!0?d.jump(o):d.hasAnimated||d.set(o)}else{const d=e.getStaticValue(r);e.addValue(r,Fi(d!==void 0?d:o,{owner:e}))}}for(const r in a)t[r]===void 0&&e.removeValue(r);return t}const n1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class JP{scrapeMotionValuesFromProps(t,a,r){return{}}constructor({parent:t,props:a,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:c,visualState:d},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Hg,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=yn.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,xt.render(this.render,!1,!0))};const{latestValues:m,renderState:p}=d;this.latestValues=m,this.baseTarget={...m},this.initialValues=a.initial?{...m}:{},this.renderState=p,this.parent=t,this.props=a,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=f,this.blockInitialAnimation=!!c,this.isControllingVariants=kd(a),this.isVariantNode=yC(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:y,...v}=this.scrapeMotionValuesFromProps(a,{},this);for(const w in v){const S=v[w];m[w]!==void 0&&Jt(S)&&S.set(m[w])}}mount(t){this.current=t,QP.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,r)=>this.bindToMotionValue(r,a)),MC.current||XP(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ep.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Is(this.notifyUpdate),Is(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const a=this.features[t];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,a){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=no.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=a.on("change",d=>{this.latestValues[t]=d,this.props.onUpdate&&xt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,t,a)),this.valueSubscriptions.set(t,()=>{o(),c&&c(),a.owner&&a.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Hi){const a=Hi[t];if(!a)continue;const{isEnabled:r,Feature:o}=a;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const c=this.features[t];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):zt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,a){this.latestValues[t]=a}update(t,a){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let r=0;r<n1.length;r++){const o=n1[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const c="on"+o,d=t[c];d&&(this.propEventSubscriptions[o]=this.on(o,d))}this.prevMotionValues=WP(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
vendor: 4,276 bytes, line 419
419addVariantChild(t){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(t),()=>a.variantChildren.delete(t)}addValue(t,a){const r=this.values.get(t);a!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,a),this.values.set(t,a),this.latestValues[t]=a.get())}removeValue(t){this.values.delete(t);const a=this.valueSubscriptions.get(t);a&&(a(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,a){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&a!==void 0&&(r=Fi(a===null?void 0:a,{owner:this}),this.addValue(t,r)),r}readValue(t,a){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(j2(r)||S2(r))?r=parseFloat(r):!oP(r)&&Fs.test(a)&&(r=iC(t,a)),this.setBaseTarget(t,Jt(r)?r.get():r)),Jt(r)?r.get():r}setBaseTarget(t,a){this.baseTarget[t]=a}getBaseTarget(t){const{initial:a}=this.props;let r;if(typeof a=="string"||typeof a=="object"){const c=ey(this.props,a,this.presenceContext?.custom);c&&(r=c[t])}if(a&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Jt(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,a){return this.events[t]||(this.events[t]=new Mg),this.events[t].add(a)}notify(t,...a){this.events[t]&&this.events[t].notify(...a)}scheduleRenderMicrotask(){Gg.render(this.render)}}class OC extends JP{constructor(){super(...arguments),this.KeyframeResolver=KV}sortInstanceNodePosition(t,a){return t.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(t,a){return t.style?t.style[a]:void 0}removeValueFromRenderState(t,{vars:a,style:r}){delete a[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Jt(t)&&(this.childSubscription=t.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}function DC(e,{style:t,vars:a},r,o){const c=e.style;let d;for(d in t)c[d]=t[d];o?.applyProjectionStyles(c,r);for(d in a)c.setProperty(d,a[d])}function e8(e){return window.getComputedStyle(e)}class t8 extends OC{constructor(){super(...arguments),this.type="html",this.renderInstance=DC}readValueFromInstance(t,a){if(no.has(a))return this.projection?.isProjecting?gp(a):mV(t,a);{const r=e8(t),o=(L2(a)?r.getPropertyValue(a):r[a])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:a}){return kC(t,a)}build(t,a,r){Qg(t,a,r.transformTemplate)}scrapeMotionValuesFromProps(t,a,r){return ty(t,a,r)}}const VC=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"]);function n8(e,t,a,r){DC(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(VC.has(o)?o:ny(o),t.attrs[o])}class a8 extends OC{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=zt}getBaseTargetFromProps(t,a){return t[a]}readValueFromInstance(t,a){if(no.has(a)){const r=rC(a);return r&&r.default||0}return a=VC.has(a)?a:ny(a),t.getAttribute(a)}scrapeMotionValuesFromProps(t,a,r){return SC(t,a,r)}build(t,a,r){bC(t,a,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,a,r,o){n8(t,a,r,o)}mount(t){this.isSVGTag=jC(t.tagName),super.mount(t)}}const s8=(e,t)=>Jg(e)?new a8(t):new t8(t,{allowProjection:e!==x.Fragment});function zi(e,t,a){const r=e.getProps();return ey(r,t,a!==void 0?a:r.custom,e)}const Tp=e=>Array.isArray(e);function r8(e,t,a){e.hasValue(t)?e.getValue(t).set(a):e.addValue(t,Fi(a))}function i8(e){return Tp(e)?e[e.length-1]||0:e}function o8(e,t){const a=zi(e,t);let{transitionEnd:r={},transition:o={},...c}=a||{};c={...c,...r};for(const d in c){const f=i8(c[d]);r8(e,d,f)}}function l8(e){return!!(Jt(e)&&e.add)}function Ap(e,t){const a=e.getValue("willChange");
vendor: 12,072 bytes, line 419
419if(l8(a))return a.add(t);if(!a&&ts.WillChange){const r=new ts.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function PC(e){return e.props[CC]}const c8=e=>e!==null;function u8(e,{repeat:t,repeatType:a="loop"},r){const o=e.filter(c8),c=t&&a!=="loop"&&t%2===1?0:o.length-1;return o[c]}const d8={type:"spring",stiffness:500,damping:25,restSpeed:10},f8=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),h8={type:"keyframes",duration:.8},m8={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},p8=(e,{keyframes:t})=>t.length>2?h8:no.has(e)?e.startsWith("scale")?f8(t[1]):d8:m8;function g8({when:e,delay:t,delayChildren:a,staggerChildren:r,staggerDirection:o,repeat:c,repeatType:d,repeatDelay:f,from:m,elapsed:p,...y}){return!!Object.keys(y).length}const ay=(e,t,a,r={},o,c)=>d=>{const f=qg(r,e)||{},m=f.delay||r.delay||0;let{elapsed:p=0}=r;p=p-xa(m);const y={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:t.getVelocity(),...f,delay:-p,onUpdate:w=>{t.set(w),f.onUpdate&&f.onUpdate(w)},onComplete:()=>{d(),f.onComplete&&f.onComplete()},name:e,motionValue:t,element:c?void 0:o};g8(f)||Object.assign(y,p8(e,y)),y.duration&&(y.duration=xa(y.duration)),y.repeatDelay&&(y.repeatDelay=xa(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(wp(y),y.delay===0&&(v=!0)),(ts.instantAnimations||ts.skipAnimations)&&(v=!0,wp(y),y.delay=0),y.allowFlatten=!f.type&&!f.ease,v&&!c&&t.get()!==void 0){const w=u8(y.keyframes,f);if(w!==void 0){xt.update(()=>{y.onUpdate(w),y.onComplete()});return}}return f.isSync?new Fg(y):new zV(y)};function y8({protectedKeys:e,needsAnimating:t},a){const r=e.hasOwnProperty(a)&&t[a]!==!0;return t[a]=!1,r}function zC(e,t,{delay:a=0,transitionOverride:r,type:o}={}){let{transition:c=e.getDefaultTransition(),transitionEnd:d,...f}=t;r&&(c=r);const m=[],p=o&&e.animationState&&e.animationState.getState()[o];for(const y in f){const v=e.getValue(y,e.latestValues[y]??null),w=f[y];if(w===void 0||p&&y8(p,y))continue;const S={delay:a,...qg(c||{},y)},E=v.get();if(E!==void 0&&!v.isAnimating&&!Array.isArray(w)&&w===E&&!S.velocity)continue;let j=!1;if(window.MotionHandoffAnimation){const A=PC(e);if(A){const T=window.MotionHandoffAnimation(A,y,xt);T!==null&&(S.startTime=T,j=!0)}}Ap(e,y),v.start(ay(y,v,w,e.shouldReduceMotion&&nC.has(y)?{type:!1}:S,e,j));const C=v.animation;C&&m.push(C)}return d&&Promise.all(m).then(()=>{xt.update(()=>{d&&o8(e,d)})}),m}function LC(e,t,a,r=0,o=1){const c=Array.from(e).sort((p,y)=>p.sortNodePosition(y)).indexOf(t),d=e.size,f=(d-1)*r;return typeof a=="function"?a(c,d):o===1?c*r:f-c*r}function _p(e,t,a={}){const r=zi(e,t,a.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};a.transitionOverride&&(o=a.transitionOverride);const c=r?()=>Promise.all(zC(e,r,a)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:p=0,staggerChildren:y,staggerDirection:v}=o;return x8(e,t,m,p,y,v,a)}:()=>Promise.resolve(),{when:f}=o;if(f){const[m,p]=f==="beforeChildren"?[c,d]:[d,c];return m().then(()=>p())}else return Promise.all([c(),d(a.delay)])}function x8(e,t,a=0,r=0,o=0,c=1,d){const f=[];for(const m of e.variantChildren)m.notify("AnimationStart",t),f.push(_p(m,t,{...d,delay:a+(typeof r=="function"?0:r)+LC(e.variantChildren,m,r,o,c)}).then(()=>m.notify("AnimationComplete",t)));return Promise.all(f)}function v8(e,t,a={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(c=>_p(e,c,a));r=Promise.all(o)}else if(typeof t=="string")r=_p(e,t,a);else{const o=typeof t=="function"?zi(e,t,a.custom):t;r=Promise.all(zC(e,o,a))}return r.then(()=>{e.notify("AnimationComplete",t)})}function BC(e,t){if(!Array.isArray(t))return!1;const a=t.length;if(a!==e.length)return!1;for(let r=0;r<a;r++)if(t[r]!==e[r])return!1;return!0}const b8=Xg.length;function UC(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?UC(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const t={};for(let a=0;a<b8;a++){const r=Xg[a],o=e.props[r];(Nl(o)||o===!1)&&(t[r]=o)}return t}const w8=[...Kg].reverse(),j8=Kg.length;function N8(e){return t=>Promise.all(t.map(({animation:a,options:r})=>v8(e,a,r)))}function S8(e){let t=N8(e),a=a1(),r=!0;const o=m=>(p,y)=>{const v=zi(e,y,m==="exit"?e.presenceContext?.custom:void 0);if(v){const{transition:w,transitionEnd:S,...E}=v;p={...p,...E,...S}}return p};function c(m){t=m(e)}function d(m){const{props:p}=e,y=UC(e.parent)||{},v=[],w=new Set;let S={},E=1/0;for(let C=0;C<j8;C++){const A=w8[C],T=a[A],_=p[A]!==void 0?p[A]:y[A],D=Nl(_),V=A===m?T.isActive:null;V===!1&&(E=C);let G=_===y[A]&&_!==p[A]&&D;if(G&&r&&e.manuallyAnimateOnMount&&(G=!1),T.protectedKeys={...S},!T.isActive&&V===null||!_&&!T.prevProp||Rd(_)||typeof _=="boolean")continue;const z=C8(T.prevProp,_);let I=z||A===m&&T.isActive&&!G&&D||C>E&&D,ae=!1;const ue=Array.isArray(_)?_:[_];let ge=ue.reduce(o(A),{});V===!1&&(ge={});const{prevResolvedValues:oe={}}=T,de={...oe,...ge},J=$=>{I=!0,w.has($)&&(ae=!0,w.delete($)),T.needsAnimating[$]=!0;const B=e.getValue($);B&&(B.liveStyle=!1)};for(const $ in de){const B=ge[$],le=oe[$];if(S.hasOwnProperty($))continue;let Se=!1;Tp(B)&&Tp(le)?Se=!BC(B,le):Se=B!==le,Se?B!=null?J($):w.add($):B!==void 0&&w.has($)?J($):T.protectedKeys[$]=!0}T.prevProp=_,T.prevResolvedValues=ge,T.isActive&&(S={...S,...ge}),r&&e.blockInitialAnimation&&(I=!1);const fe=G&&z;I&&(!fe||ae)&&v.push(...ue.map($=>{const B={type:A};if(typeof $=="string"&&r&&!fe&&e.manuallyAnimateOnMount&&e.parent){const{parent:le}=e,Se=zi(le,$);if(le.enteringChildren&&Se){const{delayChildren:M}=Se.transition||{};B.delay=LC(le.enteringChildren,e,M)}}return{animation:$,options:B}}))}if(w.size){const C={};if(typeof p.initial!="boolean"){const A=zi(e,Array.isArray(p.initial)?p.initial[0]:p.initial);A&&A.transition&&(C.transition=A.transition)}w.forEach(A=>{const T=e.getBaseTarget(A),_=e.getValue(A);_&&(_.liveStyle=!0),C[A]=T??null}),v.push({animation:C})}let j=!!v.length;return r&&(p.initial===!1||p.initial===p.animate)&&!e.manuallyAnimateOnMount&&(j=!1),r=!1,j?t(v):Promise.resolve()}function f(m,p){if(a[m].isActive===p)return Promise.resolve();e.variantChildren?.forEach(v=>v.animationState?.setActive(m,p)),a[m].isActive=p;const y=d(m);for(const v in a)a[v].protectedKeys={};return y}return{animateChanges:d,setActive:f,setAnimateFunction:c,getState:()=>a,reset:()=>{a=a1()}}}function C8(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!BC(t,e):!1}function vr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function a1(){return{animate:vr(!0),whileInView:vr(),whileHover:vr(),whileTap:vr(),whileDrag:vr(),whileFocus:vr(),exit:vr()}}class Ks{constructor(t){this.isMounted=!1,this.node=t}update(){}}class E8 extends Ks{constructor(t){super(t),t.animationState||(t.animationState=S8(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Rd(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:a}=this.node.prevProps||{};t!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let T8=0;class A8 extends Ks{constructor(){super(...arguments),this.id=T8++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:a}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);a&&!t&&o.then(()=>{a(this.id)})}mount(){const{register:t,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const _8={animation:{Feature:E8},exit:{Feature:A8}};function Sl(e,t,a,r={passive:!0}){return e.addEventListener(t,a,r),()=>e.removeEventListener(t,a)}function Bl(e){return{point:{x:e.pageX,y:e.pageY}}}const R8=e=>t=>Yg(t)&&e(t,Bl(t));function fl(e,t,a,r){return Sl(e,t,R8(a),r)}const IC=1e-4,k8=1-IC,M8=1+IC,FC=.01,O8=0-FC,D8=0+FC;function rn(e){return e.max-e.min}function V8(e,t,a){return Math.abs(e-t)<=a}function s1(e,t,a,r=.5){e.origin=r,e.originPoint=vt(t.min,t.max,e.origin),e.scale=rn(a)/rn(t),e.translate=vt(a.min,a.max,e.origin)-e.originPoint,(e.scale>=k8&&e.scale<=M8||isNaN(e.scale))&&(e.scale=1),(e.translate>=O8&&e.translate<=D8||isNaN(e.translate))&&(e.translate=0)}function hl(e,t,a,r){s1(e.x,t.x,a.x,r?r.originX:void 0),s1(e.y,t.y,a.y,r?r.originY:void 0)}function r1(e,t,a){e.min=a.min+t.min,e.max=e.min+rn(t)}function P8(e,t,a){r1(e.x,t.x,a.x),r1(e.y,t.y,a.y)}function i1(e,t,a){e.min=t.min-a.min,e.max=e.min+rn(t)}function Yu(e,t,a){i1(e.x,t.x,a.x),i1(e.y,t.y,a.y)}function Fn(e){return[e("x"),e("y")]}const HC=({current:e})=>e?e.ownerDocument.defaultView:null,o1=(e,t)=>Math.abs(e-t);function z8(e,t){const a=o1(e.x,t.x),r=o1(e.y,t.y);return Math.sqrt(a**2+r**2)}class qC{constructor(t,a,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:c=!1,distanceThreshold:d=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=zm(this.lastMoveEventInfo,this.history),S=this.startEvent!==null,E=z8(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!S&&!E)return;const{point:j}=w,{timestamp:C}=Kt;this.history.push({...j,timestamp:C});const{onStart:A,onMove:T}=this.handlers;S||(A&&A(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),T&&T(this.lastMoveEvent,w)},this.handlePointerMove=(w,S)=>{this.lastMoveEvent=w,this.lastMoveEventInfo=Pm(S,this.transformPagePoint),xt.update(this.updatePoint,!0)},this.handlePointerUp=(w,S)=>{this.end();const{onEnd:E,onSessionEnd:j,resumeAnimation:C}=this.handlers;if(this.dragSnapToOrigin&&C&&C(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const A=zm(w.type==="pointercancel"?this.lastMoveEventInfo:Pm(S,this.transformPagePoint),this.history);this.startEvent&&E&&E(w,A),j&&j(w,A)},!Yg(t))return;this.dragSnapToOrigin=c,this.handlers=a,this.transformPagePoint=r,this.distanceThreshold=d,this.contextWindow=o||window;const f=Bl(t),m=Pm(f,this.transformPagePoint),{point:p}=m,{timestamp:y}=Kt;this.history=[{...p,timestamp:y}];const{onSessionStart:v}=a;v&&v(t,zm(m,this.history)),this.removeListeners=Pl(fl(this.contextWindow,"pointermove",this.handlePointerMove),fl(this.contextWindow,"pointerup",this.handlePointerUp),fl(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Is(this.updatePoint)}}function Pm(e,t){return t?{point:t(e.point)}:e}function l1(e,t){return{x:e.x-t.x,y:e.y-t.y}}function zm({point:e},t){return{point:e,delta:l1(e,$C(t)),offset:l1(e,L8(t)),velocity:B8(t,.1)}}function L8(e){return e[0]}function $C(e){return e[e.length-1]}function B8(e,t){if(e.length<2)return{x:0,y:0};let a=e.length-1,r=null;const o=$C(e);for(;a>=0&&(r=e[a],!(o.timestamp-r.timestamp>xa(t)));)a--;if(!r)return{x:0,y:0};const c=qn(o.timestamp-r.timestamp);if(c===0)return{x:0,y:0};const d={x:(o.x-r.x)/c,y:(o.y-r.y)/c};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function U8(e,{min:t,max:a},r){return t!==void 0&&e<t?e=r?vt(t,e,r.min):Math.max(e,t):a!==void 0&&e>a&&(e=r?vt(a,e,r.max):Math.min(e,a)),e}function c1(e,t,a){return{min:t!==void 0?e.min+t:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function I8(e,{top:t,left:a,bottom:r,right:o}){return{x:c1(e.x,a,o),y:c1(e.y,t,r)}}function u1(e,t){let a=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([a,r]=[r,a]),{min:a,max:r}}function F8(e,t){return{x:u1(e.x,t.x),y:u1(e.y,t.y)}}function H8(e,t){let a=.5;const r=rn(e),o=rn(t);return o>r?a=bl(t.min,t.max-r,e.min):r>o&&(a=bl(e.min,e.max-o,t.min)),es(0,1,a)}function q8(e,t){const a={};return t.min!==void 0&&(a.min=t.min-e.min),t.max!==void 0&&(a.max=t.max-e.min),a}const Rp=.35;function $8(e=Rp){return e===!1?e=0:e===!0&&(e=Rp),{x:d1(e,"left","right"),y:d1(e,"to
419p","bottom")}}function d1(e,t,a){return{min:f1(e,t),max:f1(e,a)}}function f1(e,t){return typeof e=="number"?e:e[t]||0}const G8=new WeakMap;class Y8{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=zt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:a=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const c=v=>{const{dragSnapToOrigin:w}=this.getProps();w?this.pauseAnimation():this.stopAnimation(),a&&this.snapToCursor(Bl(v).point)},d=(v,w)=>{const{drag:S,dragPropagation:E,onDragStart:j}=this.getProps();if(S&&!E&&(this.openDragLock&&this.openDragLock(),this.openDragLock=JV(S),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=w,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Fn(A=>{let T=this.getAxisMotionValue(A).get()||0;if(va.test(T)){const{projection:_}=this.visualElement;if(_&&_.layout){const D=_.layout.layoutBox[A];D&&(T=rn(D)*(parseFloat(T)/100))}}this.originPoint[A]=T}),j&&xt.postRender(()=>j(v,w)),Ap(this.visualElement,"transform");const{animationState:C}=this.visualElement;C&&C.setActive("whileDrag",!0)},f=(v,w)=>{this.latestPointerEvent=v,this.latestPanInfo=w;const{dragPropagation:S,dragDirectionLock:E,onDirectionLock:j,onDrag:C}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:A}=w;if(E&&this.currentDirection===null){this.currentDirection=Z8(A),this.currentDirection!==null&&j&&j(this.currentDirection);return}this.updateAxis("x",w.point,A),this.updateAxis("y",w.point,A),this.visualElement.render(),C&&C(v,w)},m=(v,w)=>{this.latestPointerEvent=v,this.latestPanInfo=w,this.stop(v,w),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>Fn(v=>this.getAnimationState(v)==="paused"&&this.getAxisMotionValue(v).animation?.play()),{dragSnapToOrigin:y}=this.getProps();this.panSession=new qC(t,{onSessionStart:c,onStart:d,onMove:f,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:r,contextWindow:HC(this.visualElement)})}stop(t,a){const r=t||this.latestPointerEvent,o=a||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!o||!r)return;const{velocity:d}=o;this.startAnimation(d);const{onDragEnd:f}=this.getProps();f&&xt.postRender(()=>f(r,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:a}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}updateAxis(t,a,r){const{drag:o}=this.getProps();if(!r||!xu(t,o,this.currentDirection))return;const c=this.getAxisMotionValue(t);let d=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(d=U8(d,this.constraints[t],this.elastic[t])),c.set(d)}resolveConstraints(){const{dragConstraints:t,dragElastic:a}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&ki(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=I8(r.layoutBox,t):this.constraints=!1,this.elastic=$8(a),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Fn(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=q8(r.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:a}=this.getProps();if(!t||!ki(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const c=KP(r,o.root,this.visualElement.getTransformPagePoint());let d=F8(o.layout.layoutBox,c);if(a){const f=a(GP(d));this.hasMutatedConstraints=!!f,f&&(d=AC(f))}return d}startAnimation(t){const{drag:a,dragMomentum:r,dragElastic:o,dragTransition:c,dragSnapToOrigin:d,onDragTransitionEnd:f}=this.getProps(),m=this.constraints||{},p=Fn(y=>{if(!xu(y,a,this.currentDirection))return;let v=m&&m[y]||{};d&&(v={min:0,max:0});const w=o?200:1e6,S=o?40:1e7,E={type:"inertia",velocity:r?t[y]:0,bounceStiffness:w,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(y,E)});return Promise.all(p).then(f)}startAxisValueAnimation(t,a){const r=this.getAxisMotionValue(t);return Ap(this.visualElement,t),r.start(ay(t,r,0,a,this.visualElement,!1))}stopAnimation(){Fn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Fn(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const a=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[a];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Fn(a=>{const{drag:r}=this.getProps();if(!xu(a,r,this.currentDirection))return;const{projection:o}=this.visualElement,c=this.getAxisMotionValue(a);if(o&&o.layout){const{min:d,max:f}=o.layout.layoutBox[a];c.set(t[a]-vt(d,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:a}=this.getProps(),{projection:r}=this.visualElement;if(!ki(a)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Fn(d=>{const f=this.getAxisMotionValue(d);if(f&&this.constraints!==!1){const m=f.get();o[d]=H8({min:m,max:m},this.constraints[d])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Fn(d=>
vendor: 4,211 bytes, line 419
419{if(!xu(d,t,null))return;const f=this.getAxisMotionValue(d),{min:m,max:p}=this.constraints[d];f.set(vt(m,p,o[d]))})}addListeners(){if(!this.visualElement.current)return;G8.set(this.visualElement,this);const t=this.visualElement.current,a=fl(t,"pointerdown",m=>{const{drag:p,dragListener:y=!0}=this.getProps();p&&y&&this.start(m)}),r=()=>{const{dragConstraints:m}=this.getProps();ki(m)&&m.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,c=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),xt.read(r);const d=Sl(window,"resize",()=>this.scalePositionWithinConstraints()),f=o.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:p})=>{this.isDragging&&p&&(Fn(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=m[y].translate,v.set(v.get()+m[y].translate))}),this.visualElement.render())}));return()=>{d(),a(),c(),f&&f()}}getProps(){const t=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:c=!1,dragElastic:d=Rp,dragMomentum:f=!0}=t;return{...t,drag:a,dragDirectionLock:r,dragPropagation:o,dragConstraints:c,dragElastic:d,dragMomentum:f}}}function xu(e,t,a){return(t===!0||t===e)&&(a===null||a===e)}function Z8(e,t=10){let a=null;return Math.abs(e.y)>t?a="y":Math.abs(e.x)>t&&(a="x"),a}class K8 extends Ks{constructor(t){super(t),this.removeGroupControls=$n,this.removeListeners=$n,this.controls=new Y8(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||$n}unmount(){this.removeGroupControls(),this.removeListeners()}}const h1=e=>(t,a)=>{e&&xt.postRender(()=>e(t,a))};class X8 extends Ks{constructor(){super(...arguments),this.removePointerDownListener=$n}onPointerDown(t){this.session=new qC(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:HC(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:a,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:h1(t),onStart:h1(a),onMove:r,onEnd:(c,d)=>{delete this.session,o&&xt.postRender(()=>o(c,d))}}}mount(){this.removePointerDownListener=fl(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Ru={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Lm=!1;class Q8 extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:r,layoutId:o}=this.props,{projection:c}=t;c&&(a.group&&a.group.add(c),r&&r.register&&o&&r.register(c),Lm&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),Ru.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:a,visualElement:r,drag:o,isPresent:c}=this.props,{projection:d}=r;return d&&(d.isPresent=c,Lm=!0,o||t.layoutDependency!==a||a===void 0||t.isPresent!==c?d.willUpdate():this.safeToRemove(),t.isPresent!==c&&(c?d.promote():d.relegate()||xt.postRender(()=>{const f=d.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Gg.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:r}=this.props,{projection:o}=t;Lm=!0,o&&(o.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function GC(e){const[t,a]=hC(),r=x.useContext(Cg);return l.jsx(Q8,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(EC),isPresent:t,safeToRemove:a})}function W8(e,t,a){const r=Jt(e)?e:Fi(e);return r.start(ay("",r,t,a)),r.animation}const J8=(e,t)=>e.depth-t.depth;class ez{constructor(){this.children=[],this.isDirty=!1}add(t){Ag(this.children,t),this.isDirty=!0}remove(t){_g(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(J8),this.isDirty=!1,this.children.forEac
vendor: 4,211 bytes, line 419
419h(t)}}function tz(e,t){const a=yn.now(),r=({timestamp:o})=>{const c=o-a;c>=t&&(Is(r),e(c-t))};return xt.setup(r,!0),()=>Is(r)}const YC=["TopLeft","TopRight","BottomLeft","BottomRight"],nz=YC.length,m1=e=>typeof e=="string"?parseFloat(e):e,p1=e=>typeof e=="number"||Me.test(e);function az(e,t,a,r,o,c){o?(e.opacity=vt(0,a.opacity??1,sz(r)),e.opacityExit=vt(t.opacity??1,0,rz(r))):c&&(e.opacity=vt(t.opacity??1,a.opacity??1,r));for(let d=0;d<nz;d++){const f=`border${YC[d]}Radius`;let m=g1(t,f),p=g1(a,f);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||p1(m)===p1(p)?(e[f]=Math.max(vt(m1(m),m1(p),r),0),(va.test(p)||va.test(m))&&(e[f]+="%")):e[f]=p}(t.rotate||a.rotate)&&(e.rotate=vt(t.rotate||0,a.rotate||0,r))}function g1(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const sz=ZC(0,.5,M2),rz=ZC(.5,.95,$n);function ZC(e,t,a){return r=>r<e?0:r>t?1:a(bl(e,t,r))}function y1(e,t){e.min=t.min,e.max=t.max}function Xn(e,t){y1(e.x,t.x),y1(e.y,t.y)}function x1(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function v1(e,t,a,r,o){return e-=t,e=Gu(e,1/a,r),o!==void 0&&(e=Gu(e,1/o,r)),e}function iz(e,t=0,a=1,r=.5,o,c=e,d=e){if(va.test(t)&&(t=parseFloat(t),t=vt(d.min,d.max,t/100)-d.min),typeof t!="number")return;let f=vt(c.min,c.max,r);e===c&&(f-=t),e.min=v1(e.min,t,a,f,o),e.max=v1(e.max,t,a,f,o)}function b1(e,t,[a,r,o],c,d){iz(e,t[a],t[r],t[o],t.scale,c,d)}const oz=["x","scaleX","originX"],lz=["y","scaleY","originY"];function w1(e,t,a,r){b1(e.x,t,oz,a?a.x:void 0,r?r.x:void 0),b1(e.y,t,lz,a?a.y:void 0,r?r.y:void 0)}function j1(e){return e.translate===0&&e.scale===1}function KC(e){return j1(e.x)&&j1(e.y)}function N1(e,t){return e.min===t.min&&e.max===t.max}function cz(e,t){return N1(e.x,t.x)&&N1(e.y,t.y)}function S1(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function XC(e,t){return S1(e.x,t.x)&&S1(e.y,t.y)}function C1(e){return rn(e.x)/rn(e.y)}function E1(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class uz{constructor(){this.members=[]}add(t){Ag(this.members,t),t.scheduleRender()}remove(t){if(_g(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(t){const a=this.members.findIndex(o=>t===o);if(a===0)return!1;let r;for(let o=a;o>=0;o--){const c=this.members[o];if(c.isPresent!==!1){r=c;break}}return r?(this.promote(r),!0):!1}promote(t,a){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,a&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:a,resumingFrom:r}=t;a.onExitComplete&&a.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function dz(e,t,a){let r="";const o=e.x.translate/t.x,c=e.y.translate/t.y,d=a?.z||0;if((o||c||d)&&(r=`translate3d(${o}px, ${c}px, ${d}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),a){const{transformPerspective:p,rotate:y,rotateX:v,rotateY:w,skewX:S,skewY:E}=a;p&&(r=`perspective(${p}px) ${r}`),y&&(r+=`rotate(${y}deg) `),v&&(r+=`rotateX(${v}deg) `),w&&(r+=`rotateY(${w}deg) `),S&&(r+=`skewX(${S}deg) `),E&&(r+=`skewY(${E}deg) `)}const f=e.x.scale*t.x,m=e.y.scale*t.y;return(f!==1||m!==1)&&(r+=`scale(${f}, ${m})`),r||"none"}const Bm=["","X","Y","Z"],fz=1e3;let hz=0;function Um(e,t,a,r){const{latestValues:o}=t;o[e]&&(a[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function QC(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const a=PC(t);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:o,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",xt,!(o||c))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&QC(r)}
vendor: 20,627 bytes, line 419
419function WC({attachResizeListener:e,defaultParent:t,measureScroll:a,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(d={},f=t?.()){this.id=hz++,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(gz),this.nodes.forEach(bz),this.nodes.forEach(wz),this.nodes.forEach(yz)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=f?f.root||f:this,this.path=f?[...f.path,f]:[],this.parent=f,this.depth=f?f.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new ez)}addEventListener(d,f){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new Mg),this.eventHandlers.get(d).add(f)}notifyListeners(d,...f){const m=this.eventHandlers.get(d);m&&m.notify(...f)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=fC(d)&&!rP(d),this.instance=d;const{layoutId:f,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||f)&&(this.isLayoutDirty=!0),e){let y,v=0;const w=()=>this.root.updateBlockedByResize=!1;xt.read(()=>{v=window.innerWidth}),e(d,()=>{const S=window.innerWidth;S!==v&&(v=S,this.root.updateBlockedByResize=!0,y&&y(),y=tz(w,250),Ru.hasAnimatedSinceResize&&(Ru.hasAnimatedSinceResize=!1,this.nodes.forEach(_1)))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&p&&(f||m)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:w,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||p.getDefaultTransition()||Ez,{onLayoutAnimationStart:j,onLayoutAnimationComplete:C}=p.getProps(),A=!this.targetLayout||!XC(this.targetLayout,S),T=!v&&w;if(this.options.layoutRoot||this.resumeFrom||T||v&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...qg(E,"layout"),onPlay:j,onComplete:C};(p.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(y,T)}else v||_1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Is(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(jz),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&&QC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:f,layout:m}=this.options;if(f===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(T1);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(A1);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(vz),this.nodes.forEach(mz),this.nodes.forEach(pz)):this.nodes.forEach(A1),this.clearAllSnapshots();const f=yn.now();Kt.delta=es(0,1e3/60,f-Kt.timestamp),Kt.timestamp=f,Kt.isProcessing=!0,Am.update.process(Kt),Am.preRender.process(Kt),Am.render.process(Kt),Kt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Gg.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(xz),this.sharedNodes.forEach(Nz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,xt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){xt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!rn(this.snapshot.measuredBox.x)&&!rn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=zt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:f}=this.options;f&&f.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(f=!1),f&&this.instance){const m=r(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:m,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!o)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!KC(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,y=p!==this.prevTransformTemplateValue;d&&this.instance&&(f||wr(this.latestValues)||y)&&(o(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const f=this.measurePageBox();let m=this.removeElementScroll(f);return d&&(m=this.removeTransform(m)),Tz(m),{animationId:this.root.animationId,measuredBox:f,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:d}=this.options;if(!d)return zt();const f=d.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Az))){const{scroll:p}=this.root;p&&(Mi(f.x,p.offset.x),Mi(f.y,p.offset.y))}return f}removeElementScroll(d){const f=zt();if(Xn(f,d),this.scroll?.wasRoot)return f;for(let m=0;m<this.path.length;m++){const p=this.path[m],{scroll:y,options:v}=p;p!==this.root&&y&&v.layoutScroll&&(y.wasRoot&&Xn(f,d),Mi(f.x,y.offset.x),Mi(f.y,y.offset.y))}return f}applyTransform(d,f=!1){const m=zt();Xn(m,d);for(let p=0;p<this.path.length;p++){const y=this.path[p];!f&&y.options.layoutScroll&&y.scroll&&y!==y.root&&Oi(m,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),wr(y.latestValues)&&Oi(m,y.latestValues)}return wr(this.latestValues)&&Oi(m,this.latestValues),m}removeTransform(d){const f=zt();Xn(f,d);for(let m=0;m<this.path.length;m++){const p=this.path[m];if(!p.instance||!wr(p.latestValues))continue;Sp(p.latestValues)&&p.updateSnapshot();const y=zt(),v=p.measurePageBox();Xn(y,v),w1(f,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,y)}return wr(this.latestValues)&&w1(f,this.latestValues),f}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!==Kt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==f;if(!(d||m&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:v}=this.options;if(!this.layout||!(y||v))return;this.resolvedRelativeTargetAt=Kt.timestamp;const w=this.getClosestProjectingParent();w&&this.linkedParentVersion!==w.layoutVersion&&!w.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(w&&w.layout?this.createRelativeTarget(w,this.layout.layoutBox,w.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=zt(),this.targetWithTransforms=zt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),P8(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Xn(this.target,this.layout.layoutBox),RC(this.target,this.targetDelta)):Xn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?this.createRelativeTarget(w,this.target,w.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Sp(this.parent.latestValues)||_C(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,f,m){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=zt(),this.relativeTargetOrigin=zt(),Yu(this.relativeTargetOrigin,f,m),Xn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const d=this.getLead(),f=!!this.resumingFrom||this!==d;let m=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Kt.timestamp&&(m=!1),m)return;const{layout:p,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||!(p||y))return;Xn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,w=this.treeScale.y;ZP(this.layoutCorrected,this.treeScale,this.path,f),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=zt());const{target:S}=d;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(x1(this.prevProjectionDelta.x,this.projectionDelta.x),x1(this.prevProjectionDelta.y,this.projectionDelta.y)),hl(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==w||!E1(this.projectionDelta.x,this.prevProjectionDelta.x)||!E1(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){if(this.options.visualElement?.scheduleRender(),d){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Di(),this.projectionDelta=Di(),this.projectionDeltaWithTransform=Di()}setAnimationOrigin(d,f=!1){const m=this.snapshot,p=m?m.latestValues:{},y={...this.latestValues},v=Di();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const w=zt(),S=m?m.source:void 0,E=this.layout?this.layout.source:void 0,j=S!==E,C=this.getStack(),A=!C||C.members.length<=1,T=!!(j&&!A&&this.options.crossfade===!0&&!this.path.some(Cz));this.animationProgress=0;let _;this.mixTargetDelta=D=>{const V=D/1e3;R1(v.x,d.x,V),R1(v.y,d.y,V),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Yu(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Sz(this.relativeTarget,this.relativeTargetOrigin,w,V),_&&cz(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=zt()),Xn(_,this.relativeTarget)),j&&(this.animationValues=y,az(y,p,this.latestValues,V,T,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=V},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Is(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xt.update(()=>{Ru.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Fi(0)),this.currentAnimation=W8(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:f=>{this.mixTargetDelta(f),d.onUpdate&&d.onUpdate(f)},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(fz),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:f,target:m,layout:p,latestValues:y}=d;if(!(!f||!m||!p)){if(this!==d&&this.layout&&p&&JC(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||zt();const v=rn(this.layout.layoutBox.x);m.x.min=d.target.x.min,m.x.max=m.x.min+v;const w=rn(this.layout.layoutBox.y);m.y.min=d.target.y.min,m.y.max=m.y.min+w}Xn(f,m),Oi(f,y),hl(this.projectionDeltaWithTransform,this.layoutCorrected,f,y)}}registerSharedNode(d,f){this.sharedNodes.has(d)||this.sharedNodes.set(d,new uz),this.sharedNodes.get(d).add(f);const p=f.options.initialPromotionConfig;f.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(f):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){const{layoutId:d}=this.options;return d?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:d}=this.options;return d?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:f,preserveFollowOpacity:m}={}){const p=this.getStack();p&&p.promote(this,m),d&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let f=!1;const{latestValues:m}=d;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(f=!0),!f)return;const p={};m.z&&Um("z",d,p,this.animationValues);for(let y=0;y<Bm.length;y++)Um(`rotate${Bm[y]}`,d,p,this.animationValues),Um(`skew${Bm[y]}`,d,p,this.animationValues);d.render();for(const y in p)d.setStaticValue(y,p[y]),this.animationValues&&(this.animationValues[y]=p[y]);d.scheduleRender()}applyProjectionStyles(d,f){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=_u(f?.pointerEvents)||"",d.transform=m?m(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=_u(f?.pointerEvents)||""),this.hasProjected&&!wr(this.latestValues)&&(d.transform=m?m({},""):"none",this.hasProjected=!1);return}d.visibility="";const y=p.animationValues||p.latestValues;this.applyTransformsToTarget();let v=dz(this.projectionDeltaWithTransform,this.treeScale,y);m&&(v=m(y,v)),d.transform=v;const{x:w,y:S}=this.projectionDelta;d.transformOrigin=`${w.origin*100}% ${S.origin*100}% 0`,p.animationValues?d.opacity=p===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:d.opacity=p===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const E in Np){if(y[E]===void 0)continue;const{correct:j,applyTo:C,isCSSVariable:A}=Np[E],T=v==="none"?y[E]:j(y[E],p);if(C){const _=C.length;for(let D=0;D<_;D++)d[C[D]]=T}else A?this.options.visualElement.renderState.vars[E]=T:d[E]=T}this.options.layoutId&&(d.pointerEvents=p===this?_u(f?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>d.currentAnimation?.stop()),this.root.nodes.forEach(T1),this.root.sharedNodes.clear()}}}function mz(e){e.updateLayout()}function pz(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:r}=e.layout,{animationType:o}=e.options,c=t.source!==e.layout.source;o==="size"?Fn(y=>{const v=c?t.measuredBox[y]:t.layoutBox[y],w=rn(v);v.min=a[y].min,v.max=v.min+w}):JC(o,t.layoutBox,a)&&Fn(y=>{const v=c?t.measuredBox[y]:t.layoutBox[y],w=rn(a[y]);v.max=v.min+w,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[y].max=e.relativeTarget[y].min+w)});const d=Di();hl(d,a,t.layoutBox);const f=Di();c?hl(f,e.applyTransform(r,!0),t.measuredBox):hl(f,a,t.layoutBox);const m=!KC(d);let p=!1;if(!e.resumeFrom){const y=e.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:v,layout:w}=y;if(v&&w){const S=zt();Yu(S,t.layoutBox,v.layoutBox);const E=zt();Yu(E,a,w.layoutBox),XC(S,E)||(p=!0),y.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=S,e.relativeParent=y)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:t,delta:f,layoutDelta:d,hasLayoutChanged:m,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function gz(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function yz(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function xz(e){e.clearSnapshot()}function T1(e){e.clearMeasurements()}function A1(e){e.isLayoutDirty=!1}function vz(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function _1(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function bz(e){e.resolveTargetDelta()}function wz(e){e.calcProjection()}
vendor: 4,757 bytes, line 419
419function jz(e){e.resetSkewAndRotation()}function Nz(e){e.removeLeadSnapshot()}function R1(e,t,a){e.translate=vt(t.translate,0,a),e.scale=vt(t.scale,1,a),e.origin=t.origin,e.originPoint=t.originPoint}function k1(e,t,a,r){e.min=vt(t.min,a.min,r),e.max=vt(t.max,a.max,r)}function Sz(e,t,a,r){k1(e.x,t.x,a.x,r),k1(e.y,t.y,a.y,r)}function Cz(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Ez={duration:.45,ease:[.4,0,.1,1]},M1=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),O1=M1("applewebkit/")&&!M1("chrome/")?Math.round:$n;function D1(e){e.min=O1(e.min),e.max=O1(e.max)}function Tz(e){D1(e.x),D1(e.y)}function JC(e,t,a){return e==="position"||e==="preserve-aspect"&&!V8(C1(t),C1(a),.2)}function Az(e){return e!==e.root&&e.scroll?.wasRoot}const _z=WC({attachResizeListener:(e,t)=>Sl(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Im={current:void 0},eE=WC({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Im.current){const e=new _z({});e.mount(window),e.setOptions({layoutScroll:!0}),Im.current=e}return Im.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Rz={pan:{Feature:X8},drag:{Feature:K8,ProjectionNode:eE,MeasureLayout:GC}};function V1(e,t,a){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",a==="Start");const o="onHover"+a,c=r[o];c&&xt.postRender(()=>c(t,Bl(t)))}class kz extends Ks{mount(){const{current:t}=this.node;t&&(this.unmount=eP(t,(a,r)=>(V1(this.node,r,"Start"),o=>V1(this.node,o,"End"))))}unmount(){}}class Mz extends Ks{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Pl(Sl(this.node.current,"focus",()=>this.onFocus()),Sl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function P1(e,t,a){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",a==="Start");const o="onTap"+(a==="End"?"":a),c=r[o];c&&xt.postRender(()=>c(t,Bl(t)))}class Oz extends Ks{mount(){const{current:t}=this.node;t&&(this.unmount=sP(t,(a,r)=>(P1(this.node,r,"Start"),(o,{success:c})=>P1(this.node,o,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const kp=new WeakMap,Fm=new WeakMap,Dz=e=>{const t=kp.get(e.target);t&&t(e)},Vz=e=>{e.forEach(Dz)};function Pz({root:e,...t}){const a=e||document;Fm.has(a)||Fm.set(a,{});const r=Fm.get(a),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Vz,{root:e,...t})),r[o]}function zz(e,t,a){const r=Pz(t);return kp.set(e,a),r.observe(e),()=>{kp.delete(e),r.unobserve(e)}}const Lz={some:0,all:1};class Bz extends Ks{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:a,margin:r,amount:o="some",once:c}=t,d={root:a?a.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:Lz[o]},f=m=>{const{isIntersecting:p}=m;if(this.isInView===p||(this.isInView=p,c&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),w=p?y:v;w&&w(m)};return zz(this.node.current,d,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:a}=this.node;["amount","margin","root"].some(Uz(t,a))&&this.startObserver()}unmount(){}}function Uz({viewport:e={}},{viewport:t={}}={}){return a=>e[a]!==t[a]}const Iz={inView:{Feature:Bz},tap:{Feature:Oz},focus:{Feature:Mz},hover:{Feature:kz}},Fz={layout:{ProjectionNode:eE,MeasureLayout:GC}},Hz={..._8,...Iz,...Rz,...Fz},me=$P(Hz,s8),Zu="/assets/construction_site_manager_reviewing_plans-B2HEJo5F.png",Ku="/assets/architectural_plans_and_materials_workspace-BIgmAtmg.png",Xu="/assets/modular_building_assembly_time_lapse_style-DcXpk9wf.png",Qu="/assets/modern_classroom_wit_8a41a211-C5oPi_Cj.jpg",z1=({className:e})=>l.jsx("img",{src:b2,alt:"Acorn Early Education Management",className:Le("h-14 md:h-[70px] w-auto object-contain",e)}),qz=({className:e})=>l.jsx("img",{src:b2,alt:"Acorn Early Education Management",className:Le("h-20 w-auto object-contain",e)}
419),$z=[{title:"Home",description:"Acorn Early Education Management â vertically integrated childcare infrastructure platform",href:"/",category:"Pages"},{title:"About Acorn",description:"Our mission, leadership team, governance, and approach to childcare delivery",href:"/about",category:"Pages"},{title:"Platform",description:"Physical delivery, licensed operations, and technology systems",href:"/platform",category:"Pages"},{title:"Delivery Model",description:"How Acorn delivers modular childcare facilities at speed and scale",href:"/delivery-model",category:"Pages"},{title:"Technology",description:"Acorn Connect â the operational technology powering childcare management",href:"/technology",category:"Pages"},{title:"Academy",description:"Educator certification, professional development, and training programs",href:"/academy",category:"Pages"},{title:"Portfolio",description:"Operating centres, development pipeline, and demand validation",href:"/portfolio",category:"Pages"},{title:"Partnerships",description:"Public sector, school districts, and capital partner engagement",href:"/partnerships",category:"Pages"},{title:"Contact",description:"Get in touch â request a partnership call or general inquiry",href:"/contact",category:"Pages"},{title:"Insights",description:"Perspectives on childcare infrastructure, delivery models, and policy",href:"/insights",category:"Pages"},{title:"Parkland Players",description:"Operating centre in Coquitlam, BC â 100 spaces, 40+ years of history",href:"/portfolio",category:"Locations"},{title:"Meadowbrook Players",description:"School age care in Coquitlam, BC â 24 spaces at Meadowbrook Elementary",href:"/portfolio",category:"Locations"},{title:"Lumi Academy",description:"Development site in Port Moody, BC â 48-space multi-age childcare facility",href:"/portfolio",category:"Locations"},{title:"Montclair Port Moody",description:"Future 96-space licensed childcare location in Port Moody, opening 2027",href:"/portfolio",category:"Locations"},{title:"Lumi",description:"Partnership project on the North Shore â 48 spaces, opening 2028",href:"/portfolio",category:"Locations"},{title:"Acorn Connect",description:"Login to the Acorn Connect management platform",href:"https://connect.myacorn.ca",category:"Tools"},{title:"Acorn Academy Login",description:"Login to the Acorn Academy educator portal",href:"https://academy.myacorn.ca/login",category:"Tools"}];function Gz({isOpen:e,onClose:t}){const[a,r]=x.useState(""),o=x.useRef(null),[,c]=cd();x.useEffect(()=>{e&&(setTimeout(()=>o.current?.focus(),100),r(""))},[e]),x.useEffect(()=>{const m=p=>{p.key==="Escape"&&e&&t(),(p.metaKey||p.ctrlKey)&&p.key==="k"&&(p.preventDefault(),t())};return window.addEventListener("keydown",m),()=>window.removeEventListener("keydown",m)},[e,t]);const d=x.useMemo(()=>{if(!a.trim())return[];const m=a.toLowerCase();return $z.filter(p=>p.title.toLowerCase().includes(m)||p.description.toLowerCase().includes(m))},[a]),f=x.useCallback(m=>{t(),m.startsWith("http")?window.open(m,"_blank"):c(m)},[t,c]);return e?l.jsxs("div",{className:"fixed inset-0 z-[100] flex items-start justify-center pt-[15vh]","data-testid":"search-overlay",children:[l.jsx("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-sm",onClick:t}),l.jsxs("div",{className:"relative w-full max-w-lg mx-4 bg-white rounded-xl shadow-2xl border border-border overflow-hidden",children:[l.jsxs("div",{className:"flex items-center gap-3 px-4 py-3 border-b border-border",children:[l.jsx(tp,{className:"w-5 h-5 text-muted-foreground flex-shrink-0"}),l.jsx("input",{ref:o,type:"text",value:a,onChange:m=>r(m.target.value),placeholder:"Search pages, locations, tools...",className:"flex-1 bg-transparent text-base text-foreground placeholder:text-muted-foreground outline-none","data-testid":"input-search"}),l.jsx("button",{onClick:t,className:"text-muted-foreground hover:text-foreground transition-colors","data-testid":"button-search-close",children:l.jsx(rg,{className:"w-5 h-5"})})]}),a.trim()&&l.jsx("div",{className:"max-h-80 overflow-y-auto py-2",children:d.length===0?l.jsxs("p",{className:"px-4 py-6 text-sm text-muted-foreground text-center",children:['No results found for "',a,'"']}):l.jsx(l.Fragment,{children:["Pages","Locations","Tools"].map(m=>{const p=d.filter(y=>y.category===m);return p.length===0?null:l.jsxs("div",{children:[l.jsx("p",{className:"px-4 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wide",children:m}),p.map((y,v)=>l.jsxs("button",{onClick:()=>f(y.href),className:"w-full text-left px-4 py-3 hover:bg-muted/50 transition-colors flex flex-col gap-0.5","data-testid":`search-result-${v}`,children:[l.jsx("span",{className:"text-sm font-medium text-primary",children:y.title}),l.jsx("span",{className:"text-xs text-muted-foreground line-clamp-1",children:y.description})]},v))]},m)})})}),!a.trim()&&l.jsxs("div",{className:"px-4 py-6 text-center",children:[l.jsx("p",{className:"text-sm text-muted-foreground",children:"Start typing to search across all pages and content"}),l.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Press ",l.jsx("kbd",{className:"px-1.5 py-0.5 bg-muted rounded text-xs font-mono",children:"Esc"})," to close"]})]})]})]}):null}
419function en(){const[e,t]=x.useState(!1),[a,r]=x.useState(!1),[o]=cd();x.useEffect(()=>{const f=()=>t(window.scrollY>20);return window.addEventListener("scroll",f),()=>window.removeEventListener("scroll",f)},[]),x.useEffect(()=>{const f=m=>{(m.metaKey||m.ctrlKey)&&m.key==="k"&&(m.preventDefault(),r(p=>!p))};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[]);const c=[{name:"Technology",href:"/technology"},{name:"Academy",href:"/academy"},{name:"Portfolio",href:"/portfolio"},{name:"Partnerships",href:"/partnerships"}],d=[{name:"About Acorn",href:"/about"},{name:"Platform",href:"/platform"},{name:"Delivery Model",href:"/delivery-model"},{name:"Insights",href:"/insights"}];return l.jsxs("nav",{className:Le("fixed top-0 left-0 right-0 z-50 transition-all duration-300 bg-white/95 backdrop-blur-md border-b border-border/50"),children:[l.jsx("div",{className:"bg-primary w-full",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6 flex items-center gap-4 py-1.5",children:[l.jsx("a",{href:"mailto:[email protected]","aria-label":"Email",className:"text-white/70 hover:text-white transition-colors",children:l.jsx(jN,{className:"w-3.5 h-3.5"})}),l.jsx("a",{href:"https://instagram.com/acornedumngt",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"text-white/70 hover:text-white transition-colors",children:l.jsx(vN,{className:"w-3.5 h-3.5"})}),l.jsx("a",{href:"https://linkedin.com/company/myacornedu",target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",className:"text-white/70 hover:text-white transition-colors",children:l.jsx(wN,{className:"w-3.5 h-3.5"})}),l.jsx("a",{href:"https://facebook.com/profile.php?id=61558600180482",target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"text-white/70 hover:text-white transition-colors",children:l.jsx(yN,{className:"w-3.5 h-3.5"})})]})}),l.jsxs("div",{className:"container mx-auto px-4 md:px-6 flex items-center justify-between py-4",children:[l.jsx(_e,{href:"/",className:"hover:opacity-90 transition-opacity",children:l.jsx(z1,{})}),l.jsxs("div",{className:"hidden lg:flex items-center gap-6",children:[l.jsxs(Em,{children:[l.jsx(Tm,{asChild:!0,children:l.jsxs("button",{className:Le("text-sm font-medium transition-colors relative py-2 cursor-pointer flex items-center gap-1",d.some(f=>o===f.href)?"text-primary":"text-slate-600 hover:text-primary"),children:["About",l.jsx(pd,{className:"w-3 h-3"}),d.some(f=>o===f.href)&&l.jsx(me.div,{layoutId:"navbar-indicator",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-primary",initial:{opacity:0}
419,animate:{opacity:1},transition:{duration:.3}})]})}),l.jsx(Eu,{className:"w-48 p-2",align:"start",children:l.jsx("div",{className:"flex flex-col gap-1",children:d.map(f=>l.jsx(_e,{href:f.href,className:Le("px-3 py-2 rounded-md text-sm font-medium transition-colors",o===f.href?"text-primary bg-primary/5":"text-slate-600 hover:text-primary hover:bg-primary/5"),children:f.name},f.name))})})]}),c.map(f=>{const m=o===f.href;return l.jsxs(_e,{href:f.href,className:Le("text-sm font-medium transition-colors relative py-2 cursor-pointer",m?"text-primary":"text-slate-600 hover:text-primary"),children:[f.name,m&&l.jsx(me.div,{layoutId:"navbar-indicator",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-primary",initial:{opacity:0},animate:{opacity:1},transition:{duration:.3}})]},f.name)}),l.jsxs("div",{className:"flex items-center gap-3 ml-4",children:[l.jsx(Ue,{variant:"ghost",size:"icon",className:"text-slate-600 hover:text-primary",onClick:()=>r(!0),"data-testid":"button-search",children:l.jsx(tp,{className:"w-5 h-5"})}),l.jsxs(Em,{children:[l.jsx(Tm,{asChild:!0,children:l.jsxs(Ue,{variant:"outline",className:"rounded-md px-4 font-semibold gap-2","data-testid":"button-login",children:[l.jsx(Z0,{className:"w-4 h-4"}),"Login"]})}),l.jsx(Eu,{className:"w-56 p-2",align:"end",children:l.jsxs("div",{className:"flex flex-col gap-1",children:[l.jsxs("a",{href:"https://connect.myacorn.ca",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 px-3 py-2 rounded-md text-sm font-medium text-primary hover:bg-primary/5 transition-colors","data-testid":"login-option-connect",children:[l.jsx("div",{className:"w-2 h-2 rounded-full bg-primary"}),"Acorn Connect"]}),l.jsxs("a",{href:"https://academy.myacorn.ca/login",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 px-3 py-2 rounded-md text-sm font-medium text-primary hover:bg-primary/5 transition-colors","data-testid":"login-option-academy",children:[l.jsx("div",{className:"w-2 h-2 rounded-full bg-secondary"}),"Acorn Academy"]})]})})]}),l.jsx(Ue,{asChild:!0,className:"rounded-md px-4 font-semibold bg-primary text-white hover:bg-primary/90 shadow-sm transition-all",children:l.jsx(_e,{href:"/contact",children:"Contact"})})]})]}),l.jsxs("div",{className:"lg:hidden flex items-center gap-2",children:[l.jsx(Ue,{variant:"ghost",size:"icon",className:"text-primary",onClick:()=>r(!0),"data-testid":"button-search-mobile",children:l.jsx(tp,{className:"w-5 h-5"})}),l.jsxs(Em,{children:[l.jsx(Tm,{asChild:!0,children:l.jsx(Ue,{variant:"outline",size:"icon",className:"text-primary","data-testid":"button-login-mobile",children:l.jsx(Z0,{className:"w-5 h-5"})})}),l.jsx(Eu,{className:"w-56 p-2",align:"end",children:l.jsxs("div",{className:"flex flex-col gap-1",children:[l.jsxs("a",{href:"https://connect.myacorn.ca",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 px-3 py-3 rounded-md text-sm font-medium text-primary hover:bg-primary/5 transition-colors","data-testid":"login-option-connect-mobile",children:[l.jsx("div",{className:"w-2 h-2 rounded-full bg-primary"}),"Acorn Connect"]}),l.jsxs("a",{href:"https://academy.myacorn.ca/login",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 px-3 py-3 rounded-md text-sm font-medium text-primary hover:bg-primary/5 transition-colors","data-testid":"login-option-academy-mobile",children:[l.jsx("div",{className:"w-2 h-2 rounded-full bg-secondary"}),"Acorn Academy"]})]})})]}),l.jsxs(z5,{children:[l.jsx(L5,{asChild:!0,children:l.jsx(Ue,{variant:"ghost",size:"icon",className:"text-primary",children:l.jsx(Uk,{className:"w-6 h-6"})})}),l.jsx(l2,{side:"right",className:"w-[300px] sm:w-[400px] bg-background/95 backdrop-blur-xl border-l-primary/10 overflow-y-auto",children:l.jsxs("div",{className:"flex flex-col gap-6 mt-10 pb-10",children:[l.jsx(_e,{href:"/",className:"self-center mb-4",children:l.jsx(z1,{className:"h-12"})}),l.jsx(_e,{href:"/",className:"text-lg font-medium text-slate-600 hover:text-primary transition-colors text-center cursor-pointer",children:"Home"}),l.jsxs("div",{className:"border-t border-border/30 pt-4",children:[l.jsx("p",{className:"text-xs font-semibold text-muted-foreground mb-2 text-center uppercase tracking-wide",children:"About"}),d.map(f=>l.jsx(_e,{href:f.href,className:"text-lg font-medium text-slate-600 hover:text-primary transition-colors text-center cursor-pointer block py-2",children:f.name},f.name))]}),c.map(f=>l.jsx(_e,{href:f.href,className:"text-lg font-medium text-slate-600 hover:text-primary transition-colors text-center cursor-pointer",children:f.name},f.name)),l.jsxs("div",{className:"flex flex-col gap-3 mt-4",children:[l.jsx(Ue,{asChild:!0,className:"w-full rounded-md font-semibold",children:l.jsx(_e,{href:"/contact",children:"Request a Partnership Call"})}),l.jsx(Ue,{asChild:!0,variant:"outline",className:"w-full rounded-md font-semibold",children:l.jsx(_e,{href:"/contact#contact-info",children:"Contact"})})]}),l.jsxs("div",{className:"border-t border-border/50 pt-4 mt-4",children:[l.jsx("p",{className:"text-sm font-semibold text-muted-foreground mb-3 text-center",children:"Login"}),l.jsxs("div",{className:"flex flex-col gap-2",children:[l.jsxs("a",{href:"https://connect.myacorn.ca",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 px-3 py-2 rounded-md text-sm font-medium text-primary hover:bg-primary/5 transition-colors",children:[l.jsx("div",{className:"w-2 h-2 rounded-full bg-primary"}),"Acorn Connect"]}),l.jsxs("a",{href:"https://academy.myacorn.ca/login",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 px-3 py-2 rounded-md text-sm font-medium text-primary hover:bg-primary/5 transition-colors",children:[l.jsx("div",{className:"w-2 h-2 rounded-full bg-secondary"}),"Acorn Academy"]})]})]})]})})]})]})]}),l.jsx(Gz,{isOpen:a,onClose:()=>r(!1)})]})}function tn(){cd();const e=[{title:"The Acorn Experience: Reggio Emilia in a Modern Context",date:"November 15, 2025",image:Qu,href:"/insights/reggio-emilia-approach"}
419,{title:"Childcare as infrastructure, not a service",date:"August 15, 2025",image:Zu,href:"/insights/childcare-as-infrastructure"},{title:"Why fragmented delivery models struggle at scale",date:"May 15, 2025",image:Ku,href:"/insights/fragmented-delivery-models"},{title:"Speed to market without regulatory compromise",date:"February 15, 2025",image:Xu,href:"/insights/speed-to-market"}];return l.jsx("footer",{className:"bg-white border-t border-border py-16",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"border-b border-border pb-8 mb-12",children:[l.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-6 mb-8",children:[l.jsxs("div",{children:[l.jsx("h4",{className:"font-bold text-primary text-lg mb-1",children:"Insights"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Perspectives on childcare infrastructure and delivery."})]}),l.jsxs(_e,{href:"/insights",className:"text-primary font-bold hover:text-primary/80 transition-colors text-sm flex items-center gap-2",children:["View all insights ",l.jsx(_l,{className:"w-4 h-4"})]})]}),l.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-6",children:e.map((t,a)=>l.jsxs(_e,{href:t.href,className:"group block h-full",children:[l.jsx("div",{className:"mb-3 overflow-hidden rounded-md border border-border aspect-[3/2]",children:l.jsx("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover grayscale transition-transform duration-500 group-hover:scale-105 group-hover:grayscale-0"})}),l.jsxs("div",{className:"space-y-1",children:[l.jsx("p",{className:"text-[10px] font-semibold text-secondary uppercase tracking-wider",children:t.date}),l.jsx("h5",{className:"font-bold text-primary text-sm leading-tight group-hover:text-secondary transition-colors line-clamp-2",children:t.title})]})]},a))})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[l.jsxs("div",{className:"col-span-1 md:col-span-1 space-y-6",children:[l.jsx(_e,{href:"/",className:"hover:opacity-90 transition-opacity inline-block",children:l.jsx(qz,{className:"h-12 md:h-16"})}),l.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed max-w-xs",children:"A vertically integrated technology platform delivering modular education environments and operational excellence at scale."})]}),l.jsxs("div",{children:[l.jsx(_e,{href:"/platform",className:"font-bold mb-4 text-sm text-primary uppercase tracking-wide hover:text-primary/80 transition-colors block",children:"Platform"}),l.jsxs("ul",{className:"space-y-3 text-sm text-muted-foreground",children:[l.jsx("li",{children:l.jsx(_e,{href:"/platform",className:"hover:text-primary transition-colors",children:"Physical Delivery"})}),l.jsx("li",{children:l.jsx(_e,{href:"/platform",className:"hover:text-primary transition-colors",children:"Licensed Operations"})}),l.jsx("li",{children:l.jsx(_e,{href:"/platform",className:"hover:text-primary transition-colors",children:"Technology Systems"})})]})]}),l.jsxs("div",{children:[l.jsx(_e,{href:"/partnerships",className:"font-bold mb-4 text-sm text-primary uppercase tracking-wide hover:text-primary/80 transition-colors block",children:"Partnerships"}),l.jsxs("ul",{className:"space-y-3 text-sm text-muted-foreground",children:[l.jsx("li",{children:l.jsx(_e,{href:"/partnerships",className:"hover:text-primary transition-colors",children:"Public Sector"})}),l.jsx("li",{children:l.jsx(_e,{href:"/partnerships",className:"hover:text-primary transition-colors",children:"School Districts"})}),l.jsx("li",{children:l.jsx(_e,{href:"/partnerships",className:"hover:text-primary transition-colors",children:"Capital & Developers"})})]})]}),l.jsxs("div",{children:[l.jsx("h4",{className:"font-bold mb-4 text-sm text-primary uppercase tracking-wide",children:"Company"}),l.jsxs("ul",{className:"space-y-3 text-sm text-muted-foreground",children:[l.jsx("li",{children:l.jsx(_e,{href:"/about",className:"hover:text-primary transition-colors",children:"About"})}),l.jsx("li",{children:l.jsx(_e,{href:"/about",className:"hover:text-primary transition-colors",children:"Team"})}),l.jsx("li",{children:l.jsx(_e,{href:"/about#governance",className:"hover:text-primary transition-colors",children:"Governance"})}),l.jsx("li",{children:l.jsx(_e,{href:"/what-we-do",className:"hover:text-primary transition-colors",children:"What We Do"})}),l.jsx("li",{children:l.jsx(_e,{href:"/insights",className:"hover:text-primary transition-colors",children:"Insights"})}),l.jsx("li",{children:l.jsx(_e,{href:"/legal",className:"hover:text-primary transition-colors",children:"Legal / Privacy"})})]})]})]}),l.jsxs("div",{className:"border-t border-border pt-8 flex flex-col md:flex-row justify-between items-center gap-4 text-sm text-muted-foreground",children:[l.jsxs("div",{className:"flex flex-col md:flex-row gap-4 items-center",children:[l.jsx("p",{children:"© 2025 Acorn Early Education Management."}),l.jsx(_e,{href:"/contact",className:"hover:text-primary transition-colors",children:"Contact"})]}),l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("a",{href:"https://www.instagram.com/acornedumngt/",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-primary transition-colors","data-testid":"link-social-instagram",children:l.jsx(vN,{className:"w-5 h-5"})}),l.jsx("a",{href:"https://www.facebook.com/profile.php?id=61558600180482",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-primary transition-colors","data-testid":"link-social-facebook",children:l.jsx(yN,{className:"w-5 h-5"})}),l.jsx("a",{href:"https://www.linkedin.com/company/myacornedu/",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-primary transition-colors","data-testid":"link-social-linkedin",children:l.jsx(wN,{className:"w-5 h-5"})})]})]})]})})}const Yz=Al("whitespace-nowrap inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 hover-elevate ",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow-xs",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-destructive-foreground shadow-xs",outline:"text-foreground border [border-color:var(--badge-outline)]"}},defaultVariants:{variant:"default"}});function Xa({className:e,variant:t,...a}){return l.jsx("div",{className:Le(Yz({variant:t}),e),...a})}const Zz="/assets/modern_modular_childcare_facility_exterior-BBw8ApvY.png",Kz="/assets/grayscale_modular_childcare_center_with_direct_playground_access-BC5juuR8.png",Mp="/assets/icon-reversed_1782690483760-30UUe31R.png",el={initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5}},tl=[{icon:pN,title:"Thinking & Problem-Solving"},{icon:Mu,title:"Physical Growth"},{icon:ju,title:"Social & Emotional"},{icon:NN,title:"Language & Communication"},{icon:SN,title:"Creativity & Expression"},{icon:CN,title:"Health & Well-being"},{icon:xN,title:"Cultural Awareness"},{icon:Jm,title:"Tech & Innovation"},{icon:_n,title:"Community & Responsibility"}];
419function Xz(){const[e,t]=x.useState(0),[a,r]=x.useState(null);x.useEffect(()=>{const d=setInterval(()=>{a===null&&t(f=>(f+1)%tl.length)},2500);return()=>clearInterval(d)},[a]);const o=a!==null?a:e,c=tl[o].icon;return l.jsx("section",{className:"py-24 bg-white border-t border-border",id:"education",children:l.jsx("div",{className:"container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsx("div",{className:"relative",children:l.jsxs("div",{className:"relative w-full aspect-square max-w-lg mx-auto",children:[l.jsx("div",{className:"absolute inset-0",children:tl.map((d,f)=>{const m=f*360/tl.length-90,p=42,y=50+p*Math.cos(m*Math.PI/180),v=50+p*Math.sin(m*Math.PI/180),w=d.icon,S=o===f;return l.jsx(me.button,{className:`absolute w-14 h-14 -ml-7 -mt-7 rounded-full flex items-center justify-center transition-all duration-300 ${S?"bg-primary text-white scale-125 shadow-lg z-10":"bg-slate-100 text-slate-600 hover:bg-primary/10 hover:text-primary"}`,style:{left:`${y}%`,top:`${v}%`},onMouseEnter:()=>r(f),onMouseLeave:()=>r(null),onClick:()=>t(f),whileHover:{scale:S?1.25:1.1},children:l.jsx(w,{className:"w-6 h-6"})},f)})}),l.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:l.jsxs(me.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.3},className:"text-center p-8 max-w-[200px]",children:[l.jsx("div",{className:"w-20 h-20 mx-auto mb-4 rounded-2xl bg-secondary text-white flex items-center justify-center shadow-lg",children:l.jsx(c,{className:"w-10 h-10"})}),l.jsx("h4",{className:"font-bold text-primary text-lg leading-tight",children:tl[o].title})]},o)}),l.jsx("svg",{className:"absolute inset-0 w-full h-full pointer-events-none",viewBox:"0 0 100 100",children:l.jsx("circle",{cx:"50",cy:"50",r:"28",fill:"none",stroke:"currentColor",className:"text-slate-200",strokeWidth:"0.5",strokeDasharray:"2 2"})})]})}),l.jsxs("div",{className:"space-y-8",children:[l.jsxs("div",{children:[l.jsx(Xa,{variant:"outline",className:"text-secondary border-secondary/20 bg-secondary/5 mb-4",children:"The Acorn Development Framework"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary mb-6",children:"Nine Domains of Whole-Child Growth"}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Every activity at Acorn intentionally engages these interconnected learning domains. Together with our foundational building blocks, they form a complete architecture for development â ensuring no dimension of growth is left behind."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("p",{className:"text-sm font-semibold text-primary uppercase tracking-wide",children:"Powered by proven pedagogy & intelligent technology"}),l.jsx("div",{className:"grid grid-cols-2 gap-4",children:[{label:"Reggio Emilia",desc:"Child-led, inquiry-based learning"},{label:"AI-Enhanced",desc:"Personalized learning journeys & smart documentation"},{label:"Environment as Teacher",desc:"Spaces designed to inspire"},{label:"11 Building Blocks",desc:"Foundational capabilities for whole-child growth"}].map((d,f)=>l.jsxs("div",{className:"bg-slate-50 p-4 rounded-lg border border-slate-100",children:[l.jsx("h5",{className:"font-bold text-primary text-sm",children:d.label}),l.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:d.desc})]},f))})]}),l.jsx("div",{className:"bg-primary/5 p-4 rounded-lg border border-primary/10",children:l.jsxs("p",{className:"text-sm text-muted-foreground",children:[l.jsx("span",{className:"font-semibold text-primary",children:"AI-Powered Education:"})," Our intelligent technology enhances curriculum planning, streamlines documentation, and delivers personalized learning experiences â empowering educators to unlock every child's full potential."]})}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[l.jsx(Ue,{asChild:!0,size:"lg",className:"rounded-md px-8",children:l.jsx("a",{href:"/academy",children:"Explore Our Education Model"})}),l.jsx(Ue,{asChild:!0,variant:"outline",size:"lg",className:"rounded-md px-8",children:l.jsx("a",{href:"/academy#framework",children:"View All 9 Domains"})})]})]})]})})})}function Qz(){return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative pt-32 pb-20 md:pt-48 md:pb-32 overflow-hidden min-h-[80vh] flex items-center",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:Zz,alt:"Modern Childcare Facility",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white via-white/95 to-white/60"})]}),l.jsx("div",{className:"container relative z-10 mx-auto px-4 md:px-6",children:l.jsx("div",{className:"max-w-3xl",children:l.jsxs(me.div,{initial:{opacity:0,y:20}
419,animate:{opacity:1,y:0},transition:{duration:.6},className:"space-y-10",children:[l.jsxs("div",{className:"space-y-6",children:[l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight text-primary leading-[1.1]",children:["Building Tomorrow's ",l.jsx("span",{className:"text-secondary",children:"Childcare Solutions"})]}),l.jsxs("div",{className:"space-y-4 border-l-2 border-secondary/30 pl-6",children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-medium text-foreground/80",children:"Vertically integrated technology delivering licensed capacity."}),l.jsx("h3",{className:"text-lg md:text-xl text-muted-foreground font-medium",children:"We revolutionize childcare through technology-driven solutions, modular design, and community partnerships."})]})]}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 pt-2",children:[l.jsx(Ue,{asChild:!0,size:"lg",className:"rounded-md h-12 px-8 bg-primary text-white hover:bg-primary/90 font-semibold shadow-sm",children:l.jsx("a",{href:"/contact",children:"Request a Partnership Call"})}),l.jsx(Ue,{asChild:!0,size:"lg",variant:"outline",className:"rounded-md h-12 px-8 border-input hover:bg-muted font-semibold bg-white/50 backdrop-blur-sm",children:l.jsx("a",{href:"/delivery-model",children:"View the model"})})]}),l.jsxs("div",{className:"pt-8 border-t border-border/50",children:[l.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-4",children:"Trusted by leading public and private partners"}),l.jsxs("div",{className:"flex flex-wrap gap-x-8 gap-y-4 text-sm font-semibold text-primary/80",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(ol,{className:"w-4 h-4 text-secondary"})," 40+ Year Track Record"]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(ol,{className:"w-4 h-4 text-secondary"})," Multi-site Operations"]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(ol,{className:"w-4 h-4 text-secondary"})," Regulatory Compliance"]})]})]})]})})})]}),l.jsx("section",{className:"border-y border-border bg-muted/30 py-24",id:"impact",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-12 text-center max-w-3xl mx-auto",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Measurable impact"}),l.jsx("p",{className:"text-lg text-muted-foreground",children:"Integrated technology drives efficie
419ncy and quality across the platform."})]}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:[{icon:Du,value:"+30%",label:"Productivity increase",desc:"Zero admin work for educators, allowing full focus on child development."},{icon:_n,value:"-70%",label:"Staff turnover",desc:"Focus on improvement and education leads to higher retention."},{icon:ga,value:"-30%",label:"Real estate costs",desc:"Optimized footprints and lower lease costs through data-driven site selection."},{icon:Ou,value:"-15%",label:"Energy costs",desc:"Modular efficiency and smart systems reduce ongoing utility overhead."}].map((e,t)=>l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1,duration:.5},className:"bg-white p-8 rounded-xl border border-border shadow-sm hover:border-secondary/50 transition-all group",children:[l.jsxs("div",{className:"flex items-center justify-between mb-6",children:[l.jsx(e.icon,{className:"w-8 h-8 text-secondary group-hover:scale-110 transition-transform"}),l.jsx("div",{className:"text-3xl font-bold text-primary",children:e.value})]}),l.jsx("h3",{className:"text-lg font-bold text-primary mb-2",children:e.label}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.desc})]},t))})]})}),l.jsxs("section",{className:"py-24 container mx-auto px-4 md:px-6",id:"platform",children:[l.jsx("div",{className:"mb-16",children:l.jsxs("h2",{className:"text-3xl font-bold text-primary mb-4",children:["One platform. Three layers. ",l.jsx("br",{}),"Built for regulated delivery."]})}),l.jsxs("div",{className:"grid lg:grid-cols-3 gap-12 items-center",children:[l.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[l.jsxs(me.div,{variants:el,className:"p-8 rounded-lg border border-border bg-white shadow-sm hover:shadow-md transition-shadow flex gap-6 items-start",children:[l.jsx("div",{className:"bg-primary/5 p-3 rounded-md",children:l.jsx(gN,{className:"w-6 h-6 text-primary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:"Technology Systems"}),l.jsx("ul",{className:"space-y-2",children:["Standardized workflows","Data and oversight","Multi site continuity"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-secondary"}),e]},t))})]})]}),l.jsxs(me.div,{variants:el,className:"p-8 rounded-lg border border-border bg-white shadow-sm hover:shadow-md transition-shadow flex gap-6 items-start",children:[l.jsx("div",{className:"bg-primary/5 p-3 rounded-md",children:l.jsx(Qa,{className:"w-6 h-6 text-primary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:"Licensed Operations"}),l.jsx("ul",{className:"space-y-2",children:["Staffing and ratio management","Program governance and quality","Compliance and reporting readiness"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-secondary"}),e]},t))})]})]}),l.jsxs(me.div,{variants:el,className:"p-8 rounded-lg border border-border bg-white shadow-sm hover:shadow-md transition-shadow flex gap-6 items-start",children:[l.jsx("div",{className:"bg-primary/5 p-3 rounded-md",children:l.jsx(ga,{className:"w-6 h-6 text-primary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:"Physical Delivery"}),l.jsx("ul",{className:"space-y-2",children:["Site selection and partnerships","Modular and rapid deployment pathways","Facility configuration for 36 to 48 space footprints"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-secondary"}),e]},t))})]})]})]}),l.jsxs("div",{className:"lg:col-span-1 space-y-6",children:[l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Acornâs advantage is vertical integration. Physical delivery, licensed operations, and technology systems are designed together, reducing execution risk and accelerating timelines."}),l.jsx(Ue,{variant:"link",className:"p-0 text-primary font-semibold hover:no-underline group",asChild:!0,children:l.jsxs("a",{href:"/platform",children:["Explore the platform ",l.jsx(_l,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})})]})]})]}),l.jsx("section",{className:"py-24 bg-muted/30",id:"speed",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-16 max-w-2xl",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Faster capacity, lower delivery friction."}),l.jsx("p",{className:"text-muted-foreground text-lg",children:"Designed to support fast deployment without compromising licensing requirements."})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:[{title:"Repeatable delivery model",desc:"Standardized planning, licensing readiness, and launch playbooks.",icon:ag},{title:"Right sized footprints",desc:"Optimized for 36 to 48 space centres on constrained sites while maintaining quality.",icon:Li},{title:"Built for regulatory reality",desc:"Systems and workflows designed around compliance and oversight.",icon:Qa}].map((e,t)=>l.jsxs(me.div,{variants:el,className:"bg-white p-8 rounded-lg border border-border shadow-sm hover:shadow-md transition-all",children:[l.jsx(e.icon,{className:"w-8 h-8 text-secondary mb-6"}),l.jsx("h3",{className:"text-lg font-bold text-primary mb-3",children:e.title}),l.jsx("p",{className:"text-muted-foreground leading-relaxed text-sm",children:e.desc})]},t))}),l.jsx("div",{className:"mt-12",children:l.jsx(Ue,{asChild:!0,className:"rounded-md font-semibold px-6",children:l.jsx("a",{href:"/contact",children:"Talk to Acorn about a site"})})})]})}),l.jsxs("section",{className:"py-24 container mx-auto px-4 md:px-6",id:"partners",children:[l.jsx("div",{className:"mb-16",children:l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Built to partner:"})}),l.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[[{title:"Public sector & Non-profits",desc:"Capacity expansion, delivery partnerships, oversight ready reporting.",icon:gd},{title:"School districts",desc:"Co-location and shared-use agreements on education lands.",icon:ga},{title:"Institutional and private capital",desc:"Stable, scalable operating platform with clear delivery mechanics.",icon:Du},{title:"Landowners and developers",desc:"Site activation model aligned with community infrastru
419cture outcomes.",icon:ng},{title:"Employers",desc:"Workforce support through reliable childcare capacity.",icon:Ou}].map((e,t)=>l.jsx(me.div,{variants:el,className:"group p-6 rounded-lg border border-border hover:border-primary/20 hover:bg-muted/30 transition-all cursor-pointer",children:l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx(e.icon,{className:"w-5 h-5 text-muted-foreground group-hover:text-primary transition-colors mt-1"}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-bold text-primary mb-2",children:e.title}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.desc})]})]})},t)),l.jsx("div",{className:"flex items-center justify-center p-6",children:l.jsx(Ue,{asChild:!0,size:"lg",className:"w-full rounded-md font-semibold",children:l.jsx("a",{href:"/contact",children:"Request a partnership call"})})})]})]}),l.jsx("section",{className:"py-24 bg-muted/30",id:"about",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsx("div",{className:"mb-16",children:l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"A platform built on experience."})}),l.jsx("div",{className:"grid md:grid-cols-3 gap-12",children:[{title:"Operating heritage",desc:"Built on decades of licensed childcare operation and direct delivery experience."},{title:"Community credibility",desc:"Recognized for community building and long-term engagement."},{title:"Financial discipline",desc:"A model designed to attract and retain long-term institutional capital."}].map((e,t)=>l.jsxs("div",{className:"space-y-4 border-l-2 border-secondary pl-6",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:e.title}),l.jsx("p",{className:"text-muted-foreground",children:e.desc})]},t))})]})}),l.jsx(Xz,{}),l.jsx("section",{className:"py-24 container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center rounded-2xl bg-primary text-white p-8 md:p-12 shadow-2xl overflow-hidden relative",children:[l.jsx("div",{className:"absolute inset-0 opacity-10 bg-[radial-gradient(#fff_1px,transparent_1px)] [background-size:16px_16px]"}),l.jsxs("div",{className:"relative z-10 space-y-8",children:[l.jsxs("div",{children:[l.jsx("p",{className:"text-secondary font-bold tracking-wide uppercase text-sm mb-2",children:"Example Delivery Outcome"}),l.jsxs("div",{className:"flex items-center gap-4 mb-3",children:[l.jsx("img",{src:Mp,alt:"Lumi Academy",className:"h-12 w-auto object-contain"}),l.jsxs("div",{children:[l.jsx("a",{href:"https://lumiacademy.ca/",target:"_blank",rel:"noopener noreferrer",className:"text-3xl font-bold hover:text-secondary transition-colors",children:"Lumi Academy"}),l.jsx("p",{className:"text-white/80 text-sm",children:"2901 St. John St., Port Moody, BC"})]})]})]}),l.jsx("div",{className:"space-y-6",children:[{label:"Configuration",value:"48 spaces"},{label:"Timeline",value:"Design, build, and operative in 5 months"},{label:"Status",value:"Under construction / Opening 2026"}].map((e,t)=>l.jsxs("div",{className:"border-b border-white/10 pb-4 last:border-0",children:[l.jsx("p",{className:"text-white/60 text-sm mb-1",children:e.label}),l.jsx("p",{className:"text-lg font-medium",children:e.value})]},t))}),l.jsx(Ue,{variant:"secondary",className:"font-semibold text-primary",asChild:!0,children:l.jsxs("a",{href:"https://www.google.com/maps/search/?api=1&query=2901+St.+John+St.+Port+Moody",target:"_blank",rel:"noopener noreferrer",children:[l.jsx(Li,{className:"w-4 h-4 mr-2"}),"View Location"]})})]}),l.jsx("div",{className:"relative z-10 h-full min-h-[300px] rounded-lg overflow-hidden bg-white/10 backdrop-blur-sm border border-white/20 p-2",children:l.jsx("img",{src:Kz,alt:"2901 St. John St. Blueprint Visualization",className:"w-full h-full object-cover rounded mix-blend-screen opacity-90"})})]})}),l.jsxs("section",{className:"py-32 container mx-auto px-4 md:px-6 text-center",id:"contact",children:[l.jsx("h2",{className:"text-4xl font-bold text-primary mb-8",children:"Partner with Acorn to deliver childcare capacity."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(Ue,{asChild:!0,size:"lg",className:"rounded-md h-14 px-8 bg-primary text-white hover:bg-primary/90 font-semibold text-lg shadow-sm",children:l.jsx("a",{href:"/contact",children:"Request a Partnership Call"})}),l.jsx(Ue,{asChild:!0,size:"lg",variant:"outline",className:"rounded-md h-14 px-8 border-input hover:bg-muted font-semibold text-lg",children:l.jsx("a",{href:"/contact#contact-info",children:"Contact"})})]})]}),l.jsx(tn,{})]})}const Wz="/assets/happy_children_and_teachers_in_sunlit_modern_classroom-BfmsqJGp.mp4",Jz="/assets/minimalist_modern_wooden_modular_daycare_exterior-BMRgnmgd.mp4",eL="/assets/futuristic_childcare_management_dashboard_interface-Ctb73Hqu.mp4",L1={initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6}},tL=()=>{const e=[Jz,Wz,eL],[t,a]=x.useState(0),r=x.useRef(null),o=()=>{a(c=>(c+1)%e.length)};return x.useEffect(()=>{r.current&&(r.current.load(),r.current.play().catch(c=>console.log("Autoplay prevented:",c)))},[t]),l.jsxs("div",{className:"absolute inset-0 z-0 bg-black",children:[l.jsx(mC,{mode:"wait",children:l.jsx(me.div,{initial:{opacity:0}
419,animate:{opacity:1},exit:{opacity:0},transition:{duration:1},className:"absolute inset-0",children:l.jsx("video",{ref:r,src:e[t],autoPlay:!0,muted:!0,playsInline:!0,onEnded:o,className:"w-full h-full object-cover"})},t)}),l.jsx("div",{className:"absolute inset-0 bg-black/40 z-10"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-primary/90 via-primary/20 to-primary/40 mix-blend-multiply z-10"})]})},nL=()=>{const e=["Creative thinkers","Curious explorers","Present and mindful learners","Confident risk-takers","Empathetic and generous individuals","Social, connected humans","Their true selves"],[t,a]=x.useState(0);return x.useEffect(()=>{const r=setInterval(()=>{a(o=>(o+1)%e.length)},3e3);return()=>clearInterval(r)},[]),l.jsx("div",{className:"h-20 md:h-24 relative overflow-hidden px-4",children:l.jsx(mC,{mode:"wait",children:l.jsx(me.div,{initial:{y:40,opacity:0},animate:{y:0,opacity:1},exit:{y:-40,opacity:0},transition:{duration:.5,ease:"easeOut"},className:"absolute inset-0 flex items-center justify-center w-full",children:l.jsx("span",{className:"text-white font-bold text-2xl md:text-4xl lg:text-5xl drop-shadow-md text-center leading-tight",children:e[t]})},t)})})};function aL(){return l.jsxs("div",{className:"min-h-screen bg-background font-sans selection:bg-secondary/30 selection:text-primary",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative h-screen min-h-[600px] flex items-center justify-center overflow-hidden",children:[l.jsx(tL,{}),l.jsx("div",{className:"container mx-auto px-4 md:px-6 relative z-10 pt-20",children:l.jsx("div",{className:"max-w-6xl mx-auto text-center text-white",children:l.jsxs(me.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},children:[l.jsx(Xa,{variant:"outline",className:"mb-6 px-4 py-1.5 border-white/30 text-white bg-white/10 backdrop-blur-md rounded-full text-sm font-bold tracking-wide",children:"Reimagining Early Education"}),l.jsx("h1",{className:"text-3xl md:text-5xl lg:text-6xl font-display font-extrabold tracking-tight leading-[1.1] mb-2 text-secondary drop-shadow-lg whitespace-nowrap overflow-visible",children:"We create space for children to be:"}),l.jsx("div",{className:"mb-12",children:l.jsx(nL,{})}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[l.jsx(Ue,{size:"lg",className:"rounded-full text-lg px-10 h-16 bg-secondary text-primary hover:bg-white hover:text-primary shadow-xl hover:shadow-2xl transition-all font-bold",children:"Partner With Us"}),l.jsxs("div",{className:"flex items-center gap-3 text-white/90 text-sm font-medium px-4 py-2 rounded-full bg-black/20 backdrop-blur-sm border border-white/10",children:[l.jsx("div",{className:"w-8 h-8 rounded-full bg-white/20 flex items-center justify-center animate-pulse",children:l.jsx(tM,{className:"w-4 h-4 text-secondary"})}),l.jsx("span",{children:"Where technology enables the growth of childcares and their children"})]})]})]})})}),l.jsxs(me.div,{initial:{opacity:0}
419,animate:{opacity:1},transition:{delay:1,duration:1},className:"absolute bottom-10 left-1/2 -translate-x-1/2 text-white/50 flex flex-col items-center gap-2",children:[l.jsx("span",{className:"text-xs uppercase tracking-widest",children:"Scroll"}),l.jsx("div",{className:"w-0.5 h-12 bg-white/20 rounded-full overflow-hidden",children:l.jsx("div",{className:"w-full h-1/2 bg-white/80 rounded-full animate-bounce"})})]})]}),l.jsx("section",{className:"py-24 bg-white",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-16",children:[l.jsx("h2",{className:"text-4xl font-display font-bold text-primary mb-6",children:"Our Core Solutions"}),l.jsx("p",{className:"text-xl text-muted-foreground",children:"Combining physical infrastructure with digital intelligence."})]}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[l.jsxs(me.div,{variants:L1,initial:"initial",whileInView:"whileInView",className:"group bg-white p-10 rounded-[2rem] border border-border hover:shadow-2xl hover:shadow-primary/5 transition-all duration-300",children:[l.jsx("div",{className:"w-16 h-16 rounded-2xl bg-primary/5 flex items-center justify-center mb-8 text-primary",children:l.jsx(fk,{className:"w-8 h-8"})}),l.jsx("h3",{className:"text-2xl font-display font-bold text-primary mb-4",children:"Acorn Connect"}),l.jsx("p",{className:"text-muted-foreground mb-8 leading-relaxed h-24",children:"Our AI-powered operating system handles enrollment, billing, staffing, and compliance automaticallyâgiving operators time back."}),l.jsx("ul",{className:"space-y-3 mb-8",children:["Automated Compliance","Smart Staffing","Parent Engagement"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-3 text-sm font-medium text-primary/80",children:[l.jsx(ea,{className:"w-4 h-4 text-secondary"}),e]},t))})]}),l.jsxs(me.div,{variants:L1,initial:"initial",whileInView:"whileInView",className:"group bg-white p-10 rounded-[2rem] border border-border hover:shadow-2xl hover:shadow-secondary/10 transition-all duration-300",children:[l.jsx("div",{className:"w-16 h-16 rounded-2xl bg-secondary/10 flex items-center justify-center mb-8 text-secondary",children:l.jsx(ga,{className:"w-8 h-8"})}),l.jsx("h3",{className:"text-2xl font-display font-bold text-primary mb-4",children:"Acorn Modular"}),l.jsx("p",{className:"text-muted-foreground mb-8 leading-relaxed h-24",children:"We treat buildings as a technology solution. Our modular centers are pre-integrated with Acorn Connect and deployed in months, not years."}),l.jsx("ul",{className:"space-y-3 mb-8",children:["Rapid Deployment","Tech-Integrated Design","CSA Certified"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-3 text-sm font-medium text-primary/80",children:[l.jsx(ea,{className:"w-4 h-4 text-primary"}),e]},t))})]})]})]})}),l.jsx(tn,{})]})}const sL="/assets/platform_layers_isometric-BaZ2UIRM.png",rL="/assets/transformation_of_residential_lot_to_nature-based_modular_daycare-3VEnPvVO.mp4",iL="/assets/architectural_bluepr_981b25df-BoQ2sxFu.jpg",Si={initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5}};function oL(){return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative pt-32 pb-20 md:pt-48 md:pb-24 overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:iL,alt:"Platform Architecture Blueprints",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white via-white/95 to-white/70"})]}),l.jsx("div",{className:"container relative z-10 mx-auto px-4 md:px-6",children:l.jsx("div",{className:"max-w-4xl",children:l.jsxs(me.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"space-y-6",children:[l.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight text-primary leading-[1.1]",children:"A vertically integrated education infrastructure platform."}),l.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground leading-relaxed max-w-3xl",children:"Acorn delivers licensed childcare capacity through an integrated system of physical delivery, operations, and modular technology, designed for speed, compliance, and scale."}),l.jsx("p",{className:"text-sm font-semibold tracking-wide text-secondary uppercase",children:"Education infrastru
419cture first. Childcare delivery as the application."})]})})})]}),l.jsx("section",{className:"py-24 border-t border-border bg-muted/30",children:l.jsx("div",{className:"container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[l.jsxs(me.div,{variants:Si,initial:"initial",whileInView:"whileInView",viewport:{once:!0},children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-6",children:"What the Acorn Platform actually is"}),l.jsxs("div",{className:"space-y-6 text-lg text-muted-foreground leading-relaxed",children:[l.jsx("p",{children:"The Acorn Platform is not a single product or piece of software. It is a coordinated system that brings together physical infrastructure, licensed operations, and modular technology to reliably deliver childcare capacity in regulated environments."}),l.jsx("p",{children:"This allows governments and partners to move from planning to operation with significantly reduced delivery risk."})]})]}),l.jsx(me.div,{variants:Si,initial:"initial",whileInView:"whileInView",viewport:{once:!0},className:"flex justify-center",children:l.jsx("video",{src:rL,className:"w-full h-auto object-cover rounded-xl shadow-2xl aspect-video",autoPlay:!0,loop:!0,muted:!0,playsInline:!0})})]})})}),l.jsxs("section",{className:"py-24 container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-16",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Platform architecture"}),l.jsx("p",{className:"text-muted-foreground mt-2",children:"A coordinated system of physical, operational, and digital layers."})]}),l.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 items-start",children:[l.jsx("div",{className:"lg:col-span-4 lg:sticky lg:top-32 hidden lg:block",children:l.jsxs("div",{className:"p-8 bg-muted/10 rounded-2xl border border-border/50",children:[l.jsx("img",{src:sL,alt:"Acorn Platform Architecture Stack",className:"w-full h-auto object-contain drop-shadow-xl"}),l.jsxs("div",{className:"mt-8 space-y-4 text-center",children:[l.jsx("div",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"System Architecture"}),l.jsxs("div",{className:"flex flex-col gap-2",children:[l.jsx("div",{className:"px-3 py-2 bg-white border border-border rounded text-sm font-medium text-primary shadow-sm",children:"Layer 3: Technology"}),l.jsx("div",{className:"px-3 py-2 bg-white border border-border rounded text-sm font-medium text-primary shadow-sm",children:"Layer 2: Operations"}),l.jsx("div",{className:"px-3 py-2 bg-white border border-border rounded text-sm font-medium text-primary shadow-sm",children:"Layer 1: Infrastructure"})]})]})]})}),l.jsxs("div",{className:"lg:col-span-8 space-y-8",children:[l.jsx(me.div,{variants:Si,className:"group p-8 rounded-lg border border-border bg-white shadow-sm hover:border-primary/20 transition-all",children:l.jsxs("div",{className:"flex items-start gap-6",children:[l.jsx("div",{className:"bg-primary/5 p-3 rounded-md shrink-0",children:l.jsx(ga,{className:"w-8 h-8 text-primary"})}),l.jsxs("div",{className:"space-y-4 w-full",children:[l.jsxs("div",{className:"flex justify-between items-start",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary",children:"Physical education infrastructure"}),l.jsx(Xa,{variant:"secondary",className:"bg-secondary/10 text-secondary hover:bg-secondary/20",children:"Layer 1"})]}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-x-12 gap-y-4",children:[l.jsx("ul",{className:"space-y-3",children:["Site identification and partnership models","Standardized footprints optimized for 36 to 48 space centres"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[l.jsx(Ei,{className:"w-4 h-4 text-secondary shrink-0"}),e]},t))}),l.jsx("ul",{className:"space-y-3",children:["Modular and rapid deployment pathways","Adaptable to constrained sites, including single-family lots"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[l.jsx(Ei,{className:"w-4 h-4 text-secondary shrink-0"}),e]},t))})]}),l.jsx("div",{className:"pt-4 border-t border-border mt-4",children:l.jsx("p",{className:"text-sm italic text-muted-foreground",children:"Note: This layer focuses on speed and repeatability, not bespoke construction."})})]})]})}),l.jsx(me.div,{variants:Si,className:"group p-8 rounded-lg border border-border bg-white shadow-sm hover:border-primary/20 transition-all",children:l.jsxs("div",{className:"flex items-start gap-6",children:[l.jsx("div",{className:"bg-primary/5 p-3 rounded-md shrink-0",children:l.jsx(Qa,{className:"w-8 h-8 text-primary"})}),l.jsxs("div",{className:"space-y-4 w-full",children:[l.jsxs("div",{className:"flex justify-between items-start",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary",children:"Licensed childcare operations"}),l.jsx(Xa,{variant:"secondary",className:"bg-secondary/10 text-secondary hover:bg-secondary/20",children:"Layer 2"})]}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-x-12 gap-y-4",children:[l.jsx("ul",{className:"space-y-3",children:["Staffing and workforce models","Ratio and compliance management"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[l.jsx(Ei,{className:"w-4 h-4 text-secondary shrink-0"}),e]},t))}),l.jsx("ul",{className:"space-y-3",children:["Program governance and quality oversight","Daily operational execution"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[l.jsx(Ei,{className:"w-4 h-4 text-secondary shrink-0"}),e]},t))})]}),l.jsx("div",{className:"pt-4 border-t border-border mt-4",children:l.jsx("p",{className:"text-sm font-medium text-primary",children:"Acorn operates childcare directly. The platform supports operations; it does not replace them."})})]})]})}),l.jsx(me.div,{variants:Si,className:"group p-8 rounded-lg border border-border bg-white shadow-sm hover:border-primary/20 transition-all",children:l.jsxs("div",{className:"flex items-start gap-6",children:[l.jsx("div",{className:"bg-primary/5 p-3 rounded-md shrink-0",children:l.jsx(gN,{className:"w-8 h-8 text-primary"})}),l.jsxs("div",{className:"space-y-8 w-full",children:[l.jsxs("div",{className:"flex justify-between items-start",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary",children:"Technology systems (modular by design)"}),l.jsx(Xa,{variant:"secondary",className:"bg-secondary/10 text-secondary hover:bg-secondary/20",children:"Layer 3"})]}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-12",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(np,{className:"w-5 h-5 text-secondary"}),l.jsx("h4",{className:"font-bold text-primary",children:"Acorn Connect"})]}),l.jsx("ul",{className:"space-y-2",children:["Proprietary software systems developed to support licensed childcare delivery","Compliance workflows and documentation","Operational visibility and reporting","Continuity across multiple sites"].map((e,t)=>l.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-border mt-1.5"}),e]},t))}),l.jsx("p",{className:"text-sm font-medium text-primary pt-2",children:"Acorn Connect is the softw
419are backbone that standardizes operations and supports oversight."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(ag,{className:"w-5 h-5 text-secondary"}),l.jsx("h4",{className:"font-bold text-primary",children:"Beyond software"})]}),l.jsx("ul",{className:"space-y-2",children:["Technology-enabled delivery methods","Modular systems supporting rapid deployment","Integrated operational tooling beyond software alone"].map((e,t)=>l.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-border mt-1.5"}),e]},t))}),l.jsx("p",{className:"text-sm font-medium text-primary pt-2",children:"Technology at Acorn includes both digital systems and physical delivery enablement."})]})]})]})]})})]})]})]}),l.jsx("section",{className:"py-24 bg-muted/30 border-y border-border",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsx("div",{className:"mb-16",children:l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Why vertical integration matters"})}),l.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:[{title:"Speed",desc:"Fragmented delivery slows capacity creation. Acorn integrates planning, delivery, and operations to reduce timelines.",icon:Ys},{title:"Compliance",desc:"Regulatory complexity increases risk. Acornâs platform is built around licensed delivery realities.",icon:Qa},{title:"Scale",desc:"Independent operators do not scale easily. Acornâs system is designed for repeatable expansion.",icon:sg}].map((e,t)=>l.jsxs(me.div,{variants:Si,className:"bg-white p-8 rounded-lg border border-border shadow-sm",children:[l.jsx(e.icon,{className:"w-8 h-8 text-secondary mb-6"}),l.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:e.title}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e.desc})]},t))})]})}),l.jsx("section",{className:"py-24 container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16",children:[l.jsxs("div",{children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-6",children:"Built for public and long-term partners"}),l.jsx("div",{className:"space-y-4",children:[{label:"Provincial and federal agencies",icon:gd},{label:"Cities and municipalities",icon:ga},{label:"Non-profits and community organizations",icon:_n},{label:"Institutional and private capital",icon:Du},{label:"Landowners and developers",icon:ng},{label:"Employers seeking workforce childcare solutions",icon:Ou}].map((e,t)=>l.jsxs("div",{className:"flex items-center gap-4 p-4 rounded-lg hover:bg-muted/50 transition-colors border border-transparent hover:border-border",children:[l.jsx(e.icon,{className:"w-5 h-5 text-secondary"}),l.jsx("span",{className:"font-medium text-primary",children:e.label})]},t))})]}),l.jsxs("div",{className:"bg-primary/5 rounded-2xl p-8 border border-primary/10",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary mb-6",children:"Proven concept, modern execution"}),l.jsx("p",{className:"text-muted-foreground mb-6 leading-relaxed",children:"The platform builds on a proven operating foundation while enabling modern delivery at scale. Our systems are designed to support growth without increasing operational risk."}),l.jsxs("div",{className:"p-6 bg-white rounded-lg border border-primary/10 shadow-sm",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[l.jsx(Ei,{className:"w-5 h-5 text-secondary"}),l.jsx("h4",{className:"font-bold text-primary",children:"Operating Heritage"})]}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Based on over 40 years of licensed childcare delivery experience."})]}),l.jsx("div",{className:"mt-6",children:l.jsx(Ue,{variant:"link",asChild:!0,className:"p-0 h-auto text-primary font-semibold",children:l.jsxs(_e,{href:"/portfolio",children:["View detailed operating proof ",l.jsx(_l,{className:"w-4 h-4 ml-2"})]})})})]})]})}),l.jsx("section",{className:"py-32 bg-primary text-white text-center",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"Explore how the platform is delivered"}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(Ue,{size:"lg",variant:"secondary",className:"rounded-md h-14 px-8 font-semibold text-lg",asChild:!0,children:l.jsx(_e,{href:"/delivery-model",children:"View delivery model"})}),l.jsx(Ue,{size:"lg",variant:"outline",className:"rounded-md h-14 px-8 border-white/20 hover:bg-white/10 text-white font-semibold text-lg",asChild:!0,children:l.jsx(_e,{href:"/contact",children:"Talk to Acorn"})})]})]})}),l.jsx(tn,{})]})}const lL="/assets/modular_building_mid-assembly_with_crane-ChmdpK0O.png",vu={initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5}},B1=[{step:"01",title:"Site identification and partnership",shortTitle:"Identify & Partner",content:["Collaboration with governments, cities, landowners, and employers","Assessment of zoning, constraints, and community needs","Selection of sites suitable for standardized footprints"],outcome:"Sites aligned with rapid delivery and regulatory feasibility.",icon:Li},{step:"02",title:"Facility configuration and deployment",shortTitle:"Configure & Deploy",content:["Standardized centre footprints optimized for 36 to 48 spaces","Modular and rapid deployment pathways","Adaptation for constrained sites, including single-family lots"],outcome:"Physical delivery pathways selected early to avoid redesign and delay.",icon:bN},{step:"03",title:"Licensing and compliance readiness",shortTitle:"License & Comply",content:["Early alignment with licensing requirements","Integration of regulatory constraints into facility and operations planning","Preparation of documentation and compliance workflows"],outcome:"Licensing readiness progresses in parallel with physical delivery.",icon:Qa},{step:"04",title:"Operational setup",shortTitle:"Staff & Setup",content:["Staffing models aligned with centre scale","Ratio management and workforce planning","Program governance and quality frameworks"],outcome:"Centres are operationally ready at launch, not retrofitted after.",icon:_n},{step:"05",title:"Technology enablement and launch",shortTitle:"Tech & Launch",content:["Activation of Acorn Connect for operational continuity","Reporting and oversight structures in place","Transition to steady-state operations"],outcome:"Centres launch with systems, oversight, and visibility from day one.",icon:TN}];function cL(){return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative pt-32 pb-20 md:pt-48 md:pb-24 overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:lL,alt:"Construction Site",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white via-white/95 to-white/70"})]}),l.jsx("div",{className:"container relative z-10 mx-auto px-4 md:px-6",children:l.jsx("div",{className:"max-w-4xl",children:l.jsxs(me.div,{initial:{opacity:0,y:20}
419,animate:{opacity:1,y:0},transition:{duration:.6},className:"space-y-6",children:[l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight text-primary leading-[1.1]",children:["From site to licensed operation, ",l.jsx("span",{className:"text-secondary",children:"delivered as one system."})]}),l.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground leading-relaxed max-w-3xl",children:"Acornâs delivery model integrates planning, physical deployment, licensing, operations, and technology to bring childcare capacity online faster and with lower execution risk."}),l.jsx("p",{className:"text-sm font-semibold tracking-wide text-secondary uppercase",children:"Speed to market is a result of integration, not shortcuts."})]})})})]}),l.jsx("section",{className:"py-24 border-t border-border bg-muted/30",children:l.jsx("div",{className:"container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"max-w-3xl",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-6",children:"The Acorn delivery model"}),l.jsxs("div",{className:"space-y-6 text-lg text-muted-foreground leading-relaxed",children:[l.jsx("p",{children:"Most childcare capacity fails to materialize due to fragmented responsibilities across planning, construction, licensing, and operations. Acorn addresses this by delivering childcare through a single, vertically integrated model."}),l.jsx("p",{children:"This reduces handoffs, compresses timelines, and improves accountability."})]})]})})}),l.jsxs("section",{className:"py-24 container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-16",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Delivery stages"}),l.jsx("p",{className:"text-muted-foreground mt-2",children:"End-to-end execution from identification to steady-state operation."})]}),l.jsxs("div",{className:"hidden lg:block mb-24 relative",children:[l.jsx("div",{className:"absolute top-10 left-0 right-0 h-0.5 bg-border -z-10"}),l.jsx("div",{className:"grid grid-cols-5 gap-4",children:B1.map((e,t)=>l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1,duration:.5},className:"flex flex-col items-center text-center group cursor-default",children:[l.jsxs("div",{className:"w-20 h-20 rounded-full bg-white border-2 border-secondary/20 flex items-center justify-center text-secondary shadow-sm mb-6 group-hover:border-secondary group-hover:scale-110 transition-all duration-300 relative z-10",children:[l.jsx(e.icon,{className:"w-8 h-8"}),l.jsx("div",{className:"absolute -top-2 -right-2 w-6 h-6 rounded-full bg-secondary text-white text-xs font-bold flex items-center justify-center",children:e.step})]}),l.jsx("h3",{className:"font-bold text-primary uppercase text-sm tracking-wider mb-2",children:e.shortTitle}),l.jsx("div",{className:"h-1 w-12 bg-secondary/30 rounded-full group-hover:w-full group-hover:bg-secondary transition-all duration-500"})]},t))})]}),l.jsx("div",{className:"relative space-y-12 before:absolute before:inset-0 before:ml-6 before:md:ml-8 before:w-0.5 before:-translate-x-1/2 before:bg-gradient-to-b before:from-secondary before:via-border before:to-transparent before:h-full",children:B1.map((e,t)=>l.jsxs(me.div,{variants:vu,initial:"initial",whileInView:"whileInView",viewport:{once:!0},className:"relative flex items-start gap-6 md:gap-12",children:[l.jsx("div",{className:"flex items-center justify-center w-12 h-12 md:w-16 md:h-16 rounded-full bg-white border-2 border-secondary text-secondary font-bold text-lg md:text-xl shrink-0 z-10 shadow-sm",children:e.step}),l.jsxs("div",{className:"flex-1 bg-white p-6 md:p-8 rounded-lg border border-border shadow-sm hover:border-primary/20 transition-all",children:[l.jsxs("div",{className:"flex items-start justify-between mb-4",children:[l.jsx("h3",{className:"text-xl md:text-2xl font-bold text-primary",children:e.title}),l.jsx(e.icon,{className:"w-6 h-6 text-muted-foreground/50"})]}),l.jsx("ul",{className:"space-y-3 mb-6",children:e.content.map((a,r)=>l.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-border mt-1.5 shrink-0"}),a]},r))}),l.jsxs("div",{className:"pt-4 border-t border-border flex items-center gap-2",children:[l.jsx(Ei,{className:"w-4 h-4 text-secondary shrink-0"}),l.jsx("span",{className:"text-sm font-medium text-primary",children:e.outcome})]})]})]},t))})]}),l.jsx("section",{className:"py-24 bg-muted/30 border-y border-border",id:"speed",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-16",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"How speed to market is achieved"}),l.jsx("p",{className:"text-sm font-semibold text-secondary uppercase tracking-wide",children:"Speed is achieved through design, not pressure."})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:[{title:"Parallel execution",desc:"Physical delivery, licensing, and operations are advanced concurrently rather than sequentially.",icon:ag},{title:"Standardization",desc:"Repeatable footprints, workflows, and systems reduce variability and rework.",icon:bN},{title:"Single accountability",desc:"One operator responsible from planning through operation.",icon:Qa}].map((e,t)=>l.jsxs(me.div,{variants:vu,className:"bg-white p-8 rounded-lg border border-border shadow-sm",children:[l.jsx(e.icon,{className:"w-8 h-8 text-secondary mb-6"}),l.jsx("h3",{className:"text-xl font-bold text-primary mb-3",children:e.title}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e.desc})]},t))})]})}),l.jsx("section",{className:"py-24 container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16",children:[l.jsxs(me.div,{variants:vu,className:"space-y-6",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Reducing delivery risk
419in a regulated environment"}),l.jsx("ul",{className:"space-y-4",children:["Fewer handoffs between parties","Early regulatory alignment","Proven operational playbooks","Integrated technology and reporting"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-3 p-4 rounded-lg bg-muted/30 border border-transparent",children:[l.jsx(Qa,{className:"w-5 h-5 text-secondary"}),l.jsx("span",{className:"font-medium text-primary",children:e})]},t))})]}),l.jsxs(me.div,{variants:vu,className:"space-y-6 bg-primary/5 p-8 rounded-xl border border-primary/10",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Designed to scale across sites and jurisdictions"}),l.jsx("ul",{className:"space-y-4",children:["Centres ranging from 24 to 100 spaces","Optimized focus on 36 to 48 space deployments","Consistent delivery approach adaptable to local conditions"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-3",children:[l.jsx(sg,{className:"w-5 h-5 text-secondary"}),l.jsx("span",{className:"font-medium text-primary",children:e})]},t))}),l.jsx("p",{className:"text-sm text-muted-foreground pt-4 border-t border-primary/10 mt-4",children:"Scale without loss of quality is a core design requirement."})]})]})}),l.jsx("section",{className:"py-24 bg-primary text-white text-center",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6 max-w-4xl",children:[l.jsx("h2",{className:"text-3xl font-bold mb-6",children:"How the delivery model connects to the platform"}),l.jsx("p",{className:"text-xl text-white/80 leading-relaxed mb-10",children:"The delivery model is the execution layer of the Acorn Platform. Physical infrastructure, licensed operations, and technology systems are designed together to support repeatable delivery at scale."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(Ue,{size:"lg",variant:"secondary",className:"rounded-md h-14 px-8 font-semibold text-lg",asChild:!0,children:l.jsx(_e,{href:"/platform",children:"View the platform"})}),l.jsx(Ue,{size:"lg",variant:"outline",className:"rounded-md h-14 px-8 border-white/20 hover:bg-white/10 text-white font-semibold text-lg",asChild:!0,children:l.jsx(_e,{href:"/contact",children:"Talk to Acorn"})})]})]})}),l.jsx(tn,{})]})}const uL="/assets/modern_tablet_use_for_data_analysis-CkntQgIZ.png",dL="/assets/Acorn_OS_1766041850219-8rirswqX.png",As={initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5}};function fL(){return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative pt-32 pb-20 md:pt-48 md:pb-24 overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:uL,alt:"Professional using Tablet",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white via-white/95 to-white/70"})]}),l.jsx("div",{className:"container relative z-10 mx-auto px-4 md:px-6",children:l.jsx("div",{className:"max-w-4xl",children:l.jsxs(me.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"space-y-6",children:[l.jsx("div",{className:"flex items-center gap-2 mb-4",children:l.jsx(Xa,{variant:"outline",className:"text-secondary border-secondary/20 bg-secondary/5",children:"Systems for Regulated Scale"})}),l.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight text-primary leading-[1.1]",children:"Technology designed for regulated education infrastructure."}),l.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground leading-relaxed max-w-3xl",children:"Acornâs technology is not a single product or software tool. It is an integrated system designed to support the reliable delivery of licensed childcare infrastructure in regulated environments."}),l.jsx("div",{className:"pt-6",children:l.jsx(Ue,{asChild:!0,size:"lg",className:"rounded-md px-8","data-testid":"button-acorn-connect",children:l.jsx("a",{href:"https://connect.myacorn.ca",target:"_blank",rel:"noopener noreferrer",children:"Acorn Connect"})})})]})})})]}),l.jsx("section",{className:"py-24 border-t border-border bg-white",children:l.jsx("div",{className:"container mx-auto px-4 md:px-6 max-w-4xl text-center",children:l.jsxs(me.div,{variants:As,initial:"initial",whileInView:"whileInView",viewport:{once:!0},children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-6",children:"A systems approach, not a software product"}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Childcare delivery at scale fails when technology is treated as an add-on. Acorn takes a different approach. Technology is embedded across physical delivery, operations, and governance, creating continuity from site planning through to steady-state operation."}),l.jsx("div",{className:"mt-8 flex justify-center",children:l.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-secondary/10 text-secondary font-medium text-sm",children:[l.jsx(TN,{className:"w-4 h-4"}),"Allows Acorn to move faster without compromising regulatory requirements."]})})]})})}),l.jsx("section",{className:"py-24 border-t border-border bg-muted/30",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-16 text-center max-w-3xl mx-auto",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Technology architecture"}),l.jsx("p",{className:"text-lg text-muted-foreground",children:"Acorn Connect ties operations and delivery together into a unified system, creating a feedback loop between physical infrastru
419cture and daily management."})]}),l.jsxs(me.div,{variants:As,initial:"initial",whileInView:"whileInView",viewport:{once:!0},className:"relative max-w-5xl mx-auto bg-white rounded-xl shadow-lg border border-border p-8 md:p-12 overflow-hidden",children:[l.jsx("div",{className:"absolute top-0 left-0 w-full h-2 bg-gradient-to-r from-secondary/50 via-secondary to-secondary/50"}),l.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[l.jsxs("div",{className:"order-2 lg:order-1 space-y-8",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-2xl font-bold text-primary mb-2",children:"Acorn Connect Core"}),l.jsx("p",{className:"text-muted-foreground",children:"The central nervous system for regulated operations."})]}),l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{className:"flex gap-4",children:[l.jsx("div",{className:"w-10 h-10 rounded-full bg-blue-50 flex items-center justify-center shrink-0",children:l.jsx(np,{className:"w-5 h-5 text-blue-600"})}),l.jsxs("div",{children:[l.jsx("h4",{className:"font-semibold text-primary",children:"Operational Backbone"}),l.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Standardizes workflows and compliance data across all sites."})]})]}),l.jsxs("div",{className:"flex gap-4",children:[l.jsx("div",{className:"w-10 h-10 rounded-full bg-emerald-50 flex items-center justify-center shrink-0",children:l.jsx(G0,{className:"w-5 h-5 text-emerald-600"})}),l.jsxs("div",{children:[l.jsx("h4",{className:"font-semibold text-primary",children:"Delivery Integration"}),l.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Connects physical facility data directly to operational planning."})]})]}),l.jsxs("div",{className:"flex gap-4",children:[l.jsx("div",{className:"w-10 h-10 rounded-full bg-purple-50 flex items-center justify-center shrink-0",children:l.jsx(Mu,{className:"w-5 h-5 text-purple-600"})}),l.jsxs("div",{children:[l.jsx("h4",{className:"font-semibold text-primary",children:"Governance Layer"}),l.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Automated oversight and reporting for regulatory stakeholders."})]})]})]})]}),l.jsx("div",{className:"order-1 lg:order-2 flex justify-center",children:l.jsx("img",{src:dL,alt:"Acorn OS Tablet Interface",className:"w-full max-w-md h-auto object-cover rounded-lg shadow-md"})})]})]})]})}),l.jsx("section",{className:"py-24 bg-white border-b border-border",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-16",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Measurable impact"}),l.jsx("p",{className:"text-muted-foreground mt-2",children:"How integrated technology drives efficie
419ncy and quality."})]}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:[{icon:EN,value:"+30%",label:"Productivity increase",desc:"Zero admin work for educators, allowing full focus on child development."},{icon:_n,value:"-70%",label:"Staff turnover",desc:"Focus on improvement and education leads to higher retention and value generation."},{icon:J4,value:"-30%",label:"Real estate costs",desc:"Optimized footprints and lower lease costs through data-driven site selection."},{icon:ep,value:"-15%",label:"Energy costs",desc:"Modular efficiency and smart systems reduce ongoing utility overhead."}].map((e,t)=>l.jsxs(me.div,{variants:As,whileHover:{y:-5},className:"p-8 bg-muted/20 rounded-xl border border-border hover:border-secondary/50 transition-all group",children:[l.jsxs("div",{className:"flex items-center justify-between mb-6",children:[l.jsx(e.icon,{className:"w-8 h-8 text-secondary group-hover:scale-110 transition-transform"}),l.jsx("div",{className:"text-3xl font-bold text-primary",children:e.value})]}),l.jsx("h3",{className:"text-lg font-bold text-primary mb-2",children:e.label}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.desc})]},t))})]})}),l.jsx("section",{className:"py-24 bg-muted/30",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-16",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"System components"}),l.jsx("p",{className:"text-muted-foreground mt-2",children:"Deep dive into the two core layers of the Acorn platform."})]}),l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-start",children:[l.jsxs("div",{className:"space-y-8",children:[l.jsxs(me.div,{variants:As,initial:"initial",whileInView:"whileInView",viewport:{once:!0},children:[l.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[l.jsx(np,{className:"w-8 h-8 text-secondary"}),l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Acorn Connect"})]}),l.jsx("h3",{className:"text-xl font-medium text-primary mb-4",children:"Software systems for operational continuity"}),l.jsx("div",{className:"space-y-6 text-lg text-muted-foreground leading-relaxed",children:l.jsx("p",{children:"Acorn Connect is the proprietary software backbone supporting Acornâs licensed childcare operations. It is designed to standardize workflows, provide operational visibility, and support oversight across multiple sites."})})]}),l.jsx("div",{className:"space-y-4",children:[{title:"Operational workflows",desc:"Aligned with licensed childcare delivery requirements."},{title:"Compliance documentation",desc:"Reporting readiness for regulatory bodies."},{title:"Workforce oversight",desc:"Ratio management and staffing continuity."},{title:"Consistency",desc:"Standardized operations across sites and jurisdictions."}].map((e,t)=>l.jsxs(me.div,{variants:As,className:"flex gap-4 p-4 bg-white rounded-lg border border-border shadow-sm",children:[l.jsx("div",{className:"mt-1",children:l.jsx(ea,{className:"w-5 h-5 text-secondary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-bold text-primary",children:e.title}),l.jsx("p",{className:"text-sm text-muted-foreground",children:e.desc})]})]},t))})]}),l.jsxs("div",{className:"space-y-8",children:[l.jsxs(me.div,{variants:As,initial:"initial",whileInView:"whileInView",viewport:{once:!0},children:[l.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[l.jsx(G0,{className:"w-8 h-8 text-secondary"}),l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Modular technology systems"})]}),l.jsx("h3",{className:"text-xl font-medium text-primary mb-4",children:"Beyond software"}),l.jsx("div",{className:"space-y-6 text-lg text-muted-foreground leading-relaxed",children:l.jsx("p",{children:"Technology at Acorn extends beyond digital systems. This includes technology-enabled delivery methods and standardized physical systems that support rapid deployment and repeatability."})})]}),l.jsx("div",{className:"space-y-4",children:[{title:"Standardized facility configurations",desc:"Optimized layouts for licensed care environments."},{title:"Modular deployment pathways",desc:"Rapid setup and activation of new sites."},{title:"Embedded operational tooling",desc:"Integrated directly within physical environments."}
419,{title:"Repeatable infrastructure",desc:"Components designed specifically for regulated use."}].map((e,t)=>l.jsxs(me.div,{variants:As,className:"flex gap-4 p-4 bg-white rounded-lg border border-border shadow-sm",children:[l.jsx("div",{className:"mt-1",children:l.jsx(ea,{className:"w-5 h-5 text-secondary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-bold text-primary",children:e.title}),l.jsx("p",{className:"text-sm text-muted-foreground",children:e.desc})]})]},t))})]})]})]})}),l.jsx("section",{className:"py-24 bg-white",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsx("div",{className:"mb-16",children:l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Why this matters"})}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:[{icon:Qa,title:"Built for compliance",desc:"Regulatory requirements are embedded into Acornâs systems from the start. Technology supports documentation, oversight, and reporting rather than attempting to automate regulatory judgment."},{icon:sg,title:"Designed for scale",desc:"Independent childcare operations struggle to scale due to fragmentation. Acornâs systems are designed to support multi-site delivery without increasing operational complexity."},{icon:Mu,title:"Focused on risk reduction",desc:"Technology at Acorn reduces handoffs, improves visibility, and supports early issue identification, lowering execution and operational risk for partners."},{icon:Pk,title:"Hard to replicate by design",desc:"Acornâs technology systems are the result of long-term operational experience. They have been refined through decades of childcare delivery and direct operational accountability."}].map((e,t)=>l.jsxs(me.div,{variants:As,className:"group p-6 rounded-lg border border-border bg-white shadow-sm hover:border-primary/20 transition-all",children:[l.jsx(e.icon,{className:"w-8 h-8 text-secondary mb-4"}),l.jsx("h3",{className:"text-lg font-bold text-primary mb-3",children:e.title}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.desc})]},t))})]})}),l.jsx("section",{className:"py-24 bg-primary text-white",children:l.jsx("div",{className:"container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"max-w-3xl",children:[l.jsx("h2",{className:"text-3xl font-bold mb-6",children:"Technology as an enabler, not the product"}),l.jsx("p",{className:"text-white/80 text-lg leading-relaxed mb-8",children:"At Acorn, technology exists to support people, operations, and governance. It does not replace educators, operators, or regulators. It supports them."}),l.jsx("div",{className:"grid sm:grid-cols-3 gap-6 border-t border-white/20 pt-8",children:["Faster delivery without shortcuts","Consistent quality across sites","Clear oversight for public and capital partners"].map((e,t)=>l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-secondary mt-2 shrink-0"}),l.jsx("span",{className:"font-medium",children:e})]},t))})]})})}),l.jsx("section",{className:"py-32 bg-white text-center border-t border-border",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsx("h2",{className:"text-4xl font-bold mb-8 text-primary",children:"Next steps"}),l.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto mb-12 text-lg",children:"To understand how these systems are applied in practice, explore the platform or view our delivery model."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(Ue,{size:"lg",variant:"secondary",className:"rounded-md h-14 px-8 font-semibold text-lg",asChild:!0,children:l.jsx(_e,{href:"/delivery-model",children:"View delivery model"})}),l.jsx(Ue,{size:"lg",variant:"outline",className:"rounded-md h-14 px-8 border-input hover:bg-muted font-semibold text-lg text-primary",asChild:!0,children:l.jsx(_e,{href:"/platform",children:"Explore the platform"})})]})]})}),l.jsx(tn,{})]})}const hL="/assets/modern_sustainable_w_5c65e0d5-a_CG8nn7.jpg",U1="/assets/parkland_icon_1773948573147-tKVT8MVs.png",mL="/assets/acornmanagement-logo-mark-full-color-rgb-900px-w-72ppi_1766038913153-Ck-D12l4.png",pL="/assets/fav_icon_1773948758445-COrYZUUR.png";function gL(){const e={initial:{opacity:0,y:20}
419,animate:{opacity:1,y:0},transition:{duration:.5}},t=[{label:"Operating centres",value:"4",subtext:"Currently serving families",icon:ga,color:"bg-primary/10 text-primary"},{label:"Pipeline sites",value:"3",subtext:"In active development",icon:Li,color:"bg-primary/10 text-primary"},{label:"Waitlist demand",value:"1,000+",subtext:"Verified local need",icon:_n,color:"bg-primary/10 text-primary"},{label:"Experience",value:"40+",subtext:"Years of operation",icon:Ys,color:"bg-primary/10 text-primary"}],a=[{name:"Parkland Players",location:"Coquitlam, BC",status:"Operating",type:"Licensed Childcare",capacity:"100 Spaces",desc:"The foundational operating centre with over 40 years of history serving the Tri-Cities community.",logo:U1,website:"https://parklandplayers.com"},{name:"Meadowbrook Players",location:"Coquitlam, BC",status:"Operating",type:"School Age Care",capacity:"24 Spaces",desc:"Established in 1995, located at Meadowbrook Elementary School providing quality care and education.",logo:U1,website:"https://parklandplayers.com"},{name:"Lumi Academy",location:"Port Moody, BC",status:"Development",type:"Multi-age Childcare",capacity:"48 Spaces",desc:"New 48-space facility opening in 2026, delivering critical capacity to the region.",logo:Mp,website:"https://lumiacademy.ca/",dark:!0},{name:"Montclair Port Moody",location:"Port Moody, BC",status:"Development",type:"Licensed Childcare",capacity:"96 Spaces",desc:"Future location opening in 2027 to serve the growing Port Moody community.",logo:pL,website:"https://montclairacademy.ca/"},{name:"Lumi",location:"North Vancouver, BC",status:"Development",type:"Licensed Childcare",capacity:"48 Spaces",desc:"Upcoming partnership project delivering new spaces to the North Shore, opening 2028.",logo:Mp,dark:!0},{name:"A-Corn Early Education Society",location:"Various Locations",status:"Development",type:"Non-Profit Operator",capacity:"36 Spaces",desc:"New non-profit entity formed to manage future community-focused childcare operations, fully operational by 2027.",logo:mL,website:"https://acornedu.ca"}],r=["District of North Vancouver","City of Port Moody","City of Coquitlam"],o=[{title:"Operating track record",icon:l.jsx(ga,{className:"w-6 h-6 text-primary"}),content:"Acornâs delivery model builds on more than four decades of licensed childcare operation.",points:["40+ years of operating history underpinning the model","4 centres currently under operation","Licensed childcare delivery across multiple site configurations","Direct operator responsibility for day-to-day operations","Operating experience spans centres ranging from 24 to 100 licensed childcare space
419s, informing the platformâs approach to scale, compliance, and risk management."]},{title:"Delivery in practice",icon:l.jsx(ea,{className:"w-6 h-6 text-primary"}),content:"Acornâs platform is designed for repeatable delivery rather than bespoke execution.",points:["3 sites in active pipeline","Optimized focus on 36â48 space centres, including deployment on constrained sites such as single-family lots","Standardized facility and operational configurations to support predictability and speed","Delivery methods are selected to align physical deployment, licensing readiness, and operational setup rather than treating these as sequential activities."]},{title:"Demand validation",icon:l.jsx(_n,{className:"w-6 h-6 text-primary"}),content:"Demand for licensed childcare capacity across Acornâs operating footprint significantly exceeds available supply.",points:["Waitlists exceeding 1,000 children per location","Sustained demand across multiple communities","Consistent waitlist growth independent of marketing activity","Waitlists are generated through direct centre intake and reflect unmet local childcare need rather than speculative interest."]},{title:"Partnerships and operating context",icon:l.jsx(_n,{className:"w-6 h-6 text-primary"}),content:"Acornâs operating experience includes collaboration with community partners and established childcare operators, including Parkland Players, which provides a foundational operating reference for the platform.",points:["The delivery model is designed to integrate with public agencies, municipalities, and long-term partners while maintaining clear operational accountability."]},{title:"Leadership and external recognition",icon:l.jsx(Wm,{className:"w-6 h-6 text-primary"}),content:"Acornâs leadership and operating entities have received external recognition for community impact and service delivery.",points:["Chamber Member of the Year (2023)","Community Builder of the Year (2023)","Multiple Chamber award finalist recognitions for childcare operations","These recognitions reflect long-term engagement in community-based service delivery rather than short-term project outcomes."]},{title:"Financial and operating discipline",icon:l.jsx(EN,{className:"w-6 h-6 text-primary"}),content:"The platform is supported by private capital aligned with long-term infrastru
419cture delivery and operational sustainability.",points:["Stable operations","Scalable deployment","Long-term stewardship of childcare assets"]}];return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative pt-32 pb-16 overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:hL,alt:"Sustainable Building",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white via-white/95 to-white/70"})]}),l.jsx("div",{className:"container relative z-10 mx-auto px-4 md:px-6",children:l.jsxs(me.div,{initial:e.initial,animate:e.animate,transition:e.transition,className:"max-w-3xl",children:[l.jsxs("div",{className:"mb-6",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-primary tracking-tight mb-4",children:"Portfolio"}),l.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed",children:"Evidence of delivery, demand, and operating maturity."})]}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed max-w-2xl mb-12",children:"Acornâs platform is grounded in long-standing childcare operations and active delivery experience. The portfolio below reflects operating history, current deployment, and demonstrated demand."}),l.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 mb-12",children:t.map((c,d)=>l.jsxs(me.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2+d*.1,duration:.5},className:"bg-white/80 backdrop-blur-sm p-6 rounded-lg border border-border shadow-sm hover:shadow-md transition-all text-center md:text-left",children:[l.jsx("div",{className:`w-10 h-10 rounded-full ${c.color} flex items-center justify-center mb-4 mx-auto md:mx-0`,children:l.jsx(c.icon,{className:"w-5 h-5"})}),l.jsx("div",{className:"text-3xl font-bold text-primary mb-1",children:c.value}),l.jsx("div",{className:"text-sm font-semibold text-primary/80 uppercase tracking-wide mb-1",children:c.label}),l.jsx("div",{className:"text-xs text-muted-foreground",children:c.subtext})]},d))})]})})]}),l.jsx("section",{className:"py-12 bg-muted/30 border-y border-border",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-10",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Operating & Development Locations"}),l.jsx("p",{className:"text-muted-foreground",children:"Active footprint across the Lower Mainland."})]}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:a.map((c,d)=>l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:d*.1},className:`p-6 rounded-lg border shadow-sm ${c.dark?"bg-primary border-primary/80":"bg-white border-border"}`,children:[l.jsxs("div",{className:"flex justify-between items-start mb-4",children:[l.jsxs("div",{className:"flex flex-col gap-2",children:[c.logo&&l.jsx("div",{className:"mb-2 h-12 w-auto flex items-center",children:l.jsx("img",{src:c.logo,alt:`${c.name} Logo`,className:"h-full w-auto object-contain"})}),l.jsx(Xa,{variant:c.status==="Operating"?"default":"secondary",className:`w-fit ${c.dark?"bg-white/20 text-white border-white/20 hover:bg-white/20":""}`,children:c.status}),c.capacity&&l.jsx(Xa,{variant:"outline",className:`w-fit ${c.dark?"border-white/30 text-white/80":"border-primary/20 text-primary"}`,children:c.capacity})]}),l.jsx(Li,{className:`w-4 h-4 mt-1 ${c.dark?"text-white/50":"text-muted-foreground"}`})]}),c.website?l.jsxs("a",{href:c.website,target:"_blank",rel:"noopener noreferrer",className:`font-bold text-lg mb-1 hover:opacity-80 transition-opacity inline-flex items-center gap-1.5 group ${c.dark?"text-white":"text-primary hover:text-secondary"}`,"data-testid":`link-location-${d}`,children:[c.name,l.jsx(pk,{className:"w-3.5 h-3.5 opacity-0 group-hover:opacity-100 transition-opacity"})]}):l.jsx("h3",{className:`font-bold text-lg mb-1 ${c.dark?"text-white":"text-primary"}`,children:c.name}),l.jsx("p",{className:`text-sm font-medium mb-3 ${c.dark?"text-white/70":"text-secondary"}`,children:c.location}),l.jsx("p",{className:`text-sm leading-snug ${c.dark?"text-white/60":"text-muted-foreground"}`,children:c.desc})]},d))}),l.jsxs("div",{className:"mt-12",children:[l.jsx("h3",{className:"text-lg font-bold text-primary mb-6",children:"Municipal Partners"}),l.jsx("div",{className:"flex flex-wrap gap-4",children:r.map((c,d)=>l.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 bg-white rounded-full border border-border shadow-sm text-sm font-medium text-primary",children:[l.jsx(gd,{className:"w-4 h-4 text-secondary"}),c]},d))})]})]})}),l.jsxs("section",{className:"pb-24 pt-16 container mx-auto px-4 md:px-6",children:[l.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:o.map((c,d)=>l.jsxs(me.div,{initial:{opacity:0,y:20}
419,animate:{opacity:1,y:0},transition:{delay:.4+d*.1,duration:.5},className:"bg-slate-50 border border-slate-200 rounded-lg p-8 hover:border-primary/20 transition-colors",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[c.icon,l.jsx("h3",{className:"text-xl font-bold text-primary",children:c.title})]}),l.jsx("p",{className:"text-muted-foreground mb-6 leading-relaxed",children:c.content}),l.jsx("ul",{className:"space-y-3",children:c.points.map((f,m)=>l.jsxs("li",{className:"flex items-start gap-3 text-sm text-slate-700",children:[l.jsx("span",{className:"mt-1.5 h-1.5 w-1.5 rounded-full bg-secondary flex-shrink-0"}),l.jsx("span",{className:"leading-relaxed",children:f})]},m))})]},d))}),l.jsxs(me.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6,duration:.5},className:"mt-16 p-8 bg-primary/5 rounded-lg border border-primary/10 max-w-3xl",children:[l.jsx("h3",{className:"text-xl font-bold text-primary mb-4",children:"Summary"}),l.jsx("p",{className:"text-muted-foreground mb-6",children:"Together, these indicators demonstrate:"}),l.jsxs("ul",{className:"grid sm:grid-cols-2 gap-4 mb-8",children:[l.jsxs("li",{className:"flex items-center gap-2 font-medium text-primary",children:[l.jsx(ea,{className:"w-4 h-4 text-secondary"})," Proven operating capability"]}),l.jsxs("li",{className:"flex items-center gap-2 font-medium text-primary",children:[l.jsx(ea,{className:"w-4 h-4 text-secondary"})," Active delivery and pipeline execution"]}),l.jsxs("li",{className:"flex items-center gap-2 font-medium text-primary",children:[l.jsx(ea,{className:"w-4 h-4 text-secondary"})," Sustained demand for childcare capacity"]}),l.jsxs("li",{className:"flex items-center gap-2 font-medium text-primary",children:[l.jsx(ea,{className:"w-4 h-4 text-secondary"})," Platform designed to scale responsibly"]})]}),l.jsx("p",{className:"text-sm text-muted-foreground italic border-t border-primary/10 pt-4",children:"Acornâs model prioritizes evidence, repeatability, and accountability over growth at any cost."})]}),l.jsxs("div",{className:"mt-16 pt-8 border-t border-border flex flex-col md:flex-row gap-8 justify-between items-center",children:[l.jsxs("div",{children:[l.jsx("h4",{className:"font-bold text-primary mb-2",children:"For partners seeking further detail:"}),l.jsxs("div",{className:"flex gap-6 text-sm",children:[l.jsx(_e,{href:"/platform",className:"text-muted-foreground hover:text-primary transition-colors",children:"Review Platform"}),l.jsx(_e,{href:"/delivery-model",className:"text-muted-foreground hover:text-primary transition-colors",children:"Delivery Model"}),l.jsx(_e,{href:"/partnerships",className:"text-muted-foreground hover:text-primary transition-colors",children:"Partnerships"})]})]}),l.jsx(_e,{href:"/contact",children:l.jsx("button",{className:"bg-primary text-white px-6 py-3 rounded-md font-semibold hover:bg-primary/90 transition-colors",children:"Contact Acorn"})})]})]}),l.jsx(tn,{})]})}const tE="/assets/professional_busines_104fe712-N3jcV-0D.jpg",I1={initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5}};function yL(){return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative pt-32 pb-20 md:pt-48 md:pb-24 overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:tE,alt:"Business Partnership",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white via-white/95 to-white/70"})]}),l.jsx("div",{className:"container relative z-10 mx-auto px-4 md:px-6",children:l.jsx("div",{className:"max-w-4xl",children:l.jsxs(me.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"space-y-6",children:[l.jsx("div",{className:"flex items-center gap-2 mb-4",children:l.jsx(Xa,{variant:"outline",className:"text-secondary border-secondary/20 bg-secondary/5",children:"Building Together"})}),l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight text-primary leading-[1.1]",children:["Partnership models designed for ",l.jsx("span",{className:"text-secondary",children:"lasting community impact."})]}),l.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground leading-relaxed max-w-3xl",children:"Acorn partners with governments, cities, capital providers, and landholders to deliver licensed childcare infrastru
419cture at scale. Partnerships are structured to align accountability, reduce delivery risk, and support long-term outcomes in regulated environments."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 pt-4",children:[l.jsx(Ue,{size:"lg",className:"rounded-md h-14 px-8 font-semibold text-lg",asChild:!0,children:l.jsx(_e,{href:"/contact",children:"Start a Conversation"})}),l.jsx(Ue,{size:"lg",variant:"outline",className:"rounded-md h-14 px-8 font-semibold text-lg",asChild:!0,children:l.jsx(_e,{href:"/portfolio",children:"View Our Portfolio"})})]})]})})})]}),l.jsx("section",{className:"py-24 border-t border-border bg-white",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-16 max-w-3xl",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-6",children:"Who we partner with"}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Acornâs platform is designed to integrate with a range of public and private partners, each with distinct objectives and constraints."})]}),l.jsx("div",{className:"grid gap-12",children:[{icon:gd,title:"Public sector partners",purpose:"Expand licensed childcare capacity with governments, municipalities, and public agencies.",supports:["End-to-end delivery of childcare infrastructure","Alignment with local zoning and community objectives","Integrated licensing and operational readiness","Participation in government affordability grants (CCOF, CCFRI, $10/day)","Reduced execution risk through a single accountable operator"],outcomes:["Faster capacity creation","Community-aligned infrastructure","Long-term operational stability"]},{icon:_n,title:"Non-profit organizations",purpose:"Enable non-profits to deliver childcare without the burden of facility development or operations.",supports:["Full grant application and funding management on your behalf","Complete development and construction oversight","Turnkey facility delivery â we build it for you","Ongoing operational management under your non-profit banner","Compliance with all licensing and regulatory requirements"],outcomes:["Zero development burden","Mission-focused delivery","Sustainable community asset"]},{icon:Yk,title:"School districts and education boards",purpose:"Activate school grounds and surplus lands for seamless early learning integration.",supports:["Co-location of childcare with K-12 education","Shared-use agreements and facility integration","Seamless transition for children and families","Operational alignment with school calendars"],outcomes:["Enhanced community hubs","Improved school readiness","Efficient land utilization"]},{icon:Du,title:"Institutional and private capital",purpose:"Partner with an operating platform capable of delivering stable, scalable education infrastructure.",supports:["Proven operating model with decades of track record","Repeatable delivery and expansion framework","Integrated systems supporting oversight and governance","Alignment with long-term capital horizons"],outcomes:["Reduced operational volatility","Scalable deployment opportunities","Clear accountability and reporting"]},{icon:ga,title:"Landowners",purpose:"Turn underutilized land into stable, community-serving infrastructure with commercial-grade returns.",supports:["Single-family lot owners in strategic locations can unlock significant value","Commercial-level income potential â often exceeding single-family rental yields","Long-term lease structures providing predictable revenue","Community benefit while maximizing land value","Full site feasibility and development support"],outcomes:["Higher income than residential rental","Long-term stable returns","Meaningful community contribution"]},{icon:ng,title:"Developers",purpose:"Integrate childcare into mixed-use or residential projects with an experienced operating partner.",supports:["Delivery models compatible with constrained or unconventional sites","Integration with broader development or community plans","Operational partner from day one of occupancy","Support for municipal childcare contribution requirements"],outcomes:["Predictable site activation","Reduced delivery complexity","Value-add amenity for residents"]},{icon:Ou,title:"Employers and workforce partners",purpose:"Support workforce participation through reliable childcare capacity.",supports:["Delivery of licensed childcare aligned with workforce needs","Long-term operational management","Systems supporting consistency and oversight"],outcomes:["Improved workforce stability","Reduced childcare access barriers"]}].map((e,t)=>l.jsxs(me.div,{variants:I1,initial:"initial",whileInView:"whileInView",viewport:{once:!0},className:"grid md:grid-cols-12 gap-8 p-8 rounded-xl border border-border bg-white shadow-sm hover:border-primary/20 transition-all",children:[l.jsxs("div",{className:"md:col-span-4 space-y-4",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[l.jsx("div",{className:"bg-primary/5 p-2 rounded-md",children:l.jsx(e.icon,{className:"w-6 h-6 text-secondary"})}),l.jsx("h3",{className:"text-xl font-bold text-primary",children:e.title})]}),l.jsxs("div",{className:"bg-muted/30 p-4 rounded-lg",children:[l.jsx("p",{className:"text-sm font-medium text-primary mb-1 uppercase tracking-wide text-xs",children:"Purpose"}),l.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:e.purpose})]})]}),l.jsxs("div",{className:"md:col-span-4 space-y-3",children:[l.jsx("p",{className:"font-bold text-primary text-sm uppercase tracking-wide mb-2",children:"How Acorn Supports"}),l.jsx("ul",{className:"space-y-2",children:e.supports.map((a,r)=>
419l.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[l.jsx(ea,{className:"w-4 h-4 text-secondary shrink-0 mt-0.5"}),l.jsx("span",{children:a})]},r))})]}),l.jsxs("div",{className:"md:col-span-4 space-y-3",children:[l.jsx("p",{className:"font-bold text-primary text-sm uppercase tracking-wide mb-2",children:"Typical Outcomes"}),l.jsx("ul",{className:"space-y-2",children:e.outcomes.map((a,r)=>l.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-secondary mt-1.5 shrink-0"}),l.jsx("span",{children:a})]},r))}),l.jsx("div",{className:"pt-4",children:l.jsxs(_e,{href:"/contact",className:"inline-flex items-center gap-2 text-sm font-semibold text-primary hover:text-secondary transition-colors group",children:["Let's discuss your needs",l.jsx(_l,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})})]})]},t))})]})}),l.jsx("section",{className:"py-24 bg-muted/30 border-t border-border",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-16",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-6",children:"Partnership principles"}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed max-w-3xl",children:"All Acorn partnerships are guided by a consistent set of principles designed to ensure alignment and durability."})]}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:[{icon:_n,title:"Single-point accountability",desc:"Acorn remains responsible from delivery through operation."},{icon:yk,title:"Transparency and oversight",desc:"Systems are designed to support reporting, visibility, and governance."},{icon:Qa,title:"Regulatory alignment",desc:"Licensing and compliance are integrated into all partnership structures."},{icon:Ys,title:"Long-term orientation",desc:"Partnerships are structured for durability, not short-term delivery."}].map((e,t)=>l.jsxs(me.div,{variants:I1,className:"bg-white p-6 rounded-lg border border-border shadow-sm",children:[l.jsx(e.icon,{className:"w-8 h-8 text-secondary mb-4"}),l.jsx("h3",{className:"font-bold text-primary mb-2",children:e.title}),l.jsx("p",{className:"text-sm text-muted-foreground",children:e.desc})]},t))})]})}),l.jsx("section",{className:"py-24 container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs("div",{className:"space-y-6",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Structuring partnerships"}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Partnership structures vary by jurisdiction and partner objectives but typically include clearly defined roles, aligned risk allocation, integrated delivery timelines, and established governance frameworks."}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Acorn works collaboratively with partners to design structures that reflect local requirements while maintaining platform consistency."})]}),l.jsxs("div",{className:"bg-primary/5 rounded-2xl p-8 border border-primary/10",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary mb-6",children:"Proven through operation"}),l.jsx("p",{className:"text-muted-foreground mb-6 leading-relaxed",children:"Acornâs partnership approach is informed by decades of childcare delivery experience, existing operating centres, and an active pipeline of new sites."}),l.jsx("div",{className:"p-4 bg-white rounded-lg border border-primary/10 shadow-sm",children:l.jsx("p",{className:"text-sm font-medium text-primary",children:"The platform is designed to support growth through partnership without increasing operational or regulatory risk."})})]})]})}),l.jsx("section",{className:"py-32 bg-primary text-white text-center",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"Discuss a partnership opportunity"}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(Ue,{size:"lg",variant:"secondary",className:"rounded-md h-14 px-8 font-semibold text-lg",asChild:!0,children:l.jsx(_e,{href:"/contact",children:"Contact Acorn"})}),l.jsx(Ue,{size:"lg",variant:"outline",className:"rounded-md h-14 px-8 border-white/20 hover:bg-white/10 text-white font-semibold text-lg",asChild:!0,children:l.jsx(_e,{href:"/delivery-model",children:"View delivery model"})})]})]})}),l.jsx(tn,{})]})}const Ti=x.forwardRef(({className:e,type:t,...a},r)=>l.jsx("input",{type:t,className:Le("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...a}));Ti.displayName="Input";const nE=x.forwardRef(({className:e,...t},a)=>
vendor: 5,379 bytes, line 419
419l.jsx("textarea",{className:Le("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:a,...t}));nE.displayName="Textarea";function F1(e,t,{checkForDefaultPrevented:a=!0}={}){return function(o){if(e?.(o),a===!1||!o.defaultPrevented)return t?.(o)}}var xL=$s[" useInsertionEffect ".trim().toString()]||gt;function vL({prop:e,defaultProp:t,onChange:a=()=>{},caller:r}){const[o,c,d]=bL({defaultProp:t,onChange:a}),f=e!==void 0,m=f?e:o;{const y=x.useRef(e!==void 0);x.useEffect(()=>{const v=y.current;v!==f&&console.warn(`${r} is changing from ${v?"controlled":"uncontrolled"} to ${f?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=f},[f,r])}const p=x.useCallback(y=>{if(f){const v=wL(y)?y(e):y;v!==e&&d.current?.(v)}else c(y)},[f,e,c,d]);return[m,p]}function bL({defaultProp:e,onChange:t}){const[a,r]=x.useState(e),o=x.useRef(a),c=x.useRef(t);return xL(()=>{c.current=t},[t]),x.useEffect(()=>{o.current!==a&&(c.current?.(a),o.current=a)},[a,o]),[a,r,c]}function wL(e){return typeof e=="function"}function aE(e){const t=x.useRef({value:e,previous:e});return x.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Md="Checkbox",[jL]=ja(Md),[NL,sy]=jL(Md);function SL(e){const{__scopeCheckbox:t,checked:a,children:r,defaultChecked:o,disabled:c,form:d,name:f,onCheckedChange:m,required:p,value:y="on",internal_do_not_use_render:v}=e,[w,S]=vL({prop:a,defaultProp:o??!1,onChange:m,caller:Md}),[E,j]=x.useState(null),[C,A]=x.useState(null),T=x.useRef(!1),_=E?!!d||!!E.closest("form"):!0,D={checked:w,disabled:c,setChecked:S,control:E,setControl:j,name:f,form:d,value:y,hasConsumerStoppedPropagationRef:T,required:p,defaultChecked:zs(o)?!1:o,isFormControl:_,bubbleInput:C,setBubbleInput:A};return l.jsx(NL,{scope:t,...D,children:CL(v)?v(D):r})}var sE="CheckboxTrigger",rE=x.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:a,...r},o)=>{const{control:c,value:d,disabled:f,checked:m,required:p,setControl:y,setChecked:v,hasConsumerStoppedPropagationRef:w,isFormControl:S,bubbleInput:E}=sy(sE,e),j=Qe(o,y),C=x.useRef(m);return x.useEffect(()=>{const A=c?.form;if(A){const T=()=>v(C.current);return A.addEventListener("reset",T),()=>A.removeEventListener("reset",T)}},[c,v]),l.jsx(We.button,{type:"button",role:"checkbox","aria-checked":zs(m)?"mixed":m,"aria-required":p,"data-state":uE(m),"data-disabled":f?"":void 0,disabled:f,value:d,...r,ref:j,onKeyDown:F1(t,A=>{A.key==="Enter"&&A.preventDefault()}),onClick:F1(a,A=>{v(T=>zs(T)?!0:!T),E&&S&&(w.current=A.isPropagationStopped(),w.current||A.stopPropagation())})})});rE.displayName=sE;var ry=x.forwardRef((e,t)=>{const{__scopeCheckbox:a,name:r,checked:o,defaultChecked:c,required:d,disabled:f,value:m,onCheckedChange:p,form:y,...v}=e;return l.jsx(SL,{__scopeCheckbox:a,checked:o,defaultChecked:c,disabled:f,required:d,onCheckedChange:p,name:r,form:y,value:m,internal_do_not_use_render:({isFormControl:w})=>l.jsxs(l.Fragment,{children:[l.jsx(rE,{...v,ref:t,__scopeCheckbox:a}),w&&l.jsx(cE,{__scopeCheckbox:a})]})})});ry.displayName=Md;var iE="CheckboxIndicator",oE=x.forwardRef((e,t)=>{const{__scopeCheckbox:a,forceMount:r,...o}=e,c=sy(iE,a);return l.jsx(Ca,{present:r||zs(c.checked)||c.checked===!0,children:l.jsx(We.span,{"data-state":uE(c.checked),"data-disabled":c.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});oE.displayName=iE;var lE="CheckboxBubbleInput",cE=x.forwardRef(({__scopeCheckbox:e,...t},a)=>{const{control:r,hasConsumerStoppedPropagationRef:o,checked:c,defaultChecked:d,required:f,disabled:m,name:p,value:y,form:v,bubbleInput:w,setBubbleInput:S}=sy(lE,e),E=Qe(a,S),j=aE(c),C=rS(r);x.useEffect(()=>{const T=w;if(!T)return;const _=window.HTMLInputElement.prototype,V=Object.getOwnPropertyDescriptor(_,"checked").set,G=!o.current;if(j!==c&&V){const z=new Event("click",{bubbles:G});T.indeterminate=zs(c),V.call(T,zs(c)?!1:c),T.dispatchEvent(z)}},[w,j,c,o]);const A=x.useRef(zs(c)?!1:c);return l.jsx(We.input,{type:"checkbox","aria-hidden":!0,defaultChecked:d??A.current,required:f,disabled:m,name:p,value:y,form:v,...t,tabIndex:-1,ref:E,style:{...t.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});cE.displayName=lE;function CL(e){return typeof e=="function"}function zs(e){return e==="indeterminate"}function uE(e){return zs(e)?"indeterminate":e?"checked":"unchecked"}const dE=x.forwardRef(({className:e,...t},a)=>l.jsx(ry,{ref:a,className:Le("grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:l.jsx(oE,{className:Le("grid place-content-center text-current"),children:l.jsx(ol,{className:"h-4 w-4"})})}));dE.displayName=ry.displayName;function H1(e,[t,a]){return Math.min(a,Math.max(t,e))}function Xt(e,t,{checkForDefaultPrevented:a=!0}={}
vendor: 2,538 bytes, line 419
419){return function(o){if(e?.(o),a===!1||!o.defaultPrevented)return t?.(o)}}function q1(e){const t=EL(e),a=x.forwardRef((r,o)=>{const{children:c,...d}=r,f=x.Children.toArray(c),m=f.find(AL);if(m){const p=m.props.children,y=f.map(v=>v===m?x.Children.count(p)>1?x.Children.only(null):x.isValidElement(p)?p.props.children:null:v);return l.jsx(t,{...d,ref:o,children:x.isValidElement(p)?x.cloneElement(p,void 0,y):null})}return l.jsx(t,{...d,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}function EL(e){const t=x.forwardRef((a,r)=>{const{children:o,...c}=a;if(x.isValidElement(o)){const d=RL(o),f=_L(c,o.props);return o.type!==x.Fragment&&(f.ref=r?Gs(r,d):d),x.cloneElement(o,f)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var TL=Symbol("radix.slottable");function AL(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===TL}function _L(e,t){const a={...t};for(const r in t){const o=e[r],c=t[r];/^on[A-Z]/.test(r)?o&&c?a[r]=(...f)=>{const m=c(...f);return o(...f),m}:o&&(a[r]=o):r==="style"?a[r]={...o,...c}:r==="className"&&(a[r]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function RL(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function kL(e){const t=e+"CollectionProvider",[a,r]=ja(t),[o,c]=a(t,{collectionRef:{current:null},itemMap:new Map}),d=j=>{const{scope:C,children:A}=j,T=je.useRef(null),_=je.useRef(new Map).current;return l.jsx(o,{scope:C,itemMap:_,collectionRef:T,children:A})};d.displayName=t;const f=e+"CollectionSlot",m=q1(f),p=je.forwardRef((j,C)=>{const{scope:A,children:T}=j,_=c(f,A),D=Qe(C,_.collectionRef);return l.jsx(m,{ref:D,children:T})});p.displayName=f;const y=e+"CollectionItemSlot",v="data-radix-collection-item",w=q1(y),S=je.forwardRef((j,C)=>{const{scope:A,children:T,..._}=j,D=je.useRef(null),V=Qe(C,D),G=c(y,A);return je.useEffect(()=>(G.itemMap.set(D,{ref:D,..._}),()=>void G.itemMap.delete(D))),l.jsx(w,{[v]:"",ref:V,children:T})});S.displayName=y;function E(j){const C=c(e+"CollectionConsumer",j);return je.useCallback(()=>{const T=C.collectionRef.current;if(!T)return[];const _=Array.from(T.querySelectorAll(`[${v}]`));return Array.from(C.itemMap.values()).sort((G,z)=>_.indexOf(G.ref.current)-_.indexOf(z.ref.current))},[C.collectionRef,C.itemMap])}return[{Provider:d,Slot:p,ItemSlot:S}
vendor: 4,579 bytes, line 419
419,E,r]}var ML=x.createContext(void 0);function OL(e){const t=x.useContext(ML);return e||t||"ltr"}function DL(e){const t=VL(e),a=x.forwardRef((r,o)=>{const{children:c,...d}=r,f=x.Children.toArray(c),m=f.find(zL);if(m){const p=m.props.children,y=f.map(v=>v===m?x.Children.count(p)>1?x.Children.only(null):x.isValidElement(p)?p.props.children:null:v);return l.jsx(t,{...d,ref:o,children:x.isValidElement(p)?x.cloneElement(p,void 0,y):null})}return l.jsx(t,{...d,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}function VL(e){const t=x.forwardRef((a,r)=>{const{children:o,...c}=a;if(x.isValidElement(o)){const d=BL(o),f=LL(c,o.props);return o.type!==x.Fragment&&(f.ref=r?Gs(r,d):d),x.cloneElement(o,f)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var PL=Symbol("radix.slottable");function zL(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===PL}function LL(e,t){const a={...t};for(const r in t){const o=e[r],c=t[r];/^on[A-Z]/.test(r)?o&&c?a[r]=(...f)=>{const m=c(...f);return o(...f),m}:o&&(a[r]=o):r==="style"?a[r]={...o,...c}:r==="className"&&(a[r]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function BL(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var UL=$s[" useInsertionEffect ".trim().toString()]||gt;function $1({prop:e,defaultProp:t,onChange:a=()=>{},caller:r}){const[o,c,d]=IL({defaultProp:t,onChange:a}),f=e!==void 0,m=f?e:o;{const y=x.useRef(e!==void 0);x.useEffect(()=>{const v=y.current;v!==f&&console.warn(`${r} is changing from ${v?"controlled":"uncontrolled"} to ${f?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=f},[f,r])}const p=x.useCallback(y=>{if(f){const v=FL(y)?y(e):y;v!==e&&d.current?.(v)}else c(y)},[f,e,c,d]);return[m,p]}function IL({defaultProp:e,onChange:t}){const[a,r]=x.useState(e),o=x.useRef(a),c=x.useRef(t);return UL(()=>{c.current=t},[t]),x.useEffect(()=>{o.current!==a&&(c.current?.(a),o.current=a)},[a,o]),[a,r,c]}function FL(e){return typeof e=="function"}var HL=[" ","Enter","ArrowUp","ArrowDown"],qL=[" ","Enter"],Rr="Select",[Od,Dd,$L]=kL(Rr),[ao]=ja(Rr,[$L,Ji]),Vd=Ji(),[GL,Xs]=ao(Rr),[YL,ZL]=ao(Rr),fE=e=>{const{__scopeSelect:t,children:a,open:r,defaultOpen:o,onOpenChange:c,value:d,defaultValue:f,onValueChange:m,dir:p,name:y,autoComplete:v,disabled:w,required:S,form:E}=e,j=Vd(t),[C,A]=x.useState(null),[T,_]=x.useState(null),[D,V]=x.useState(!1),G=OL(p),[z,I]=$1({prop:r,defaultProp:o??!1,onChange:c,caller:Rr}),[ae,ue]=$1({prop:d,defaultProp:f,onChange:m,caller:Rr}),ge=x.useRef(null),oe=C?E||!!C.closest("form"):!0,[de,J]=x.useState(new Set),fe=Array.from(de).map(P=>P.props.value).join(";");return l.jsx(pS,{...j,children:l.jsxs(GL,{required:S,scope:t,trigger:C,onTriggerChange:A,valueNode:T,onValueNodeChange:_,valueNodeHasChildren:D,onValueNodeHasChildrenChange:V,contentId:Ps(),value:ae,onValueChange:ue,open:z,onOpenChange:I,dir:G,triggerPointerDownPosRef:ge,disabled:w,children:[l.jsx(Od.Provider,{scope:t,children:l.jsx(YL,{scope:e.__scopeSelect,onNativeOptionAdd:x.useCallback(P=>{J($=>new Set($).add(P))},[]),onNativeOptionRemove:x.useCallback(P=>{J($=>{const B=new Set($);return B.delete(P),B})},[]),children:a})}),oe?l.jsxs(PE,{"aria-hidden":!0,required:S,tabIndex:-1,name:y,autoComplete:v,value:ae,onChange:P=>ue(P.target.value),disabled:w,form:E,children:[ae===void 0?l.jsx("option",{value:""}):null,Array.from(de)]},fe):null]})})};fE.displayName=Rr;var hE="SelectTrigger",mE=x.forwardRef((e,t)=>{const{__scopeSelect:a,disabled:r=!1,...o}=e,c=Vd(a),d=Xs(hE,a),f=d.disabled||r,m=Qe(t,d.onTriggerChange),p=Dd(a),y=x.useRef("touch"),[v,w,S]=LE(j=>{const C=p().filter(_=>!_.disabled),A=C.find(_=>_.value===d.value),T=BE(C,j,A);T!==void 0&&d.onValueChange(T.value)}),E=j=>{f||(d.onOpenChange(!0),S()),j&&(d.triggerPointerDownPosRef.current={x:Math.round(j.pageX),y:Math.round(j.pageY)})};return l.jsx(wd,{asChild:!0,...c,children:l.jsx(We.button,{type:"button",role:"combobox","aria-controls":d.contentId,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:f,"data-disabled":f?"":void 0,"data-placeholder":zE(d.value)?"":void 0,...o,ref:m,onClick:Xt(o.onClick,j=>
vendor: 14,038 bytes, line 419
419{j.currentTarget.focus(),y.current!=="mouse"&&E(j)}),onPointerDown:Xt(o.onPointerDown,j=>{y.current=j.pointerType;const C=j.target;C.hasPointerCapture(j.pointerId)&&C.releasePointerCapture(j.pointerId),j.button===0&&j.ctrlKey===!1&&j.pointerType==="mouse"&&(E(j),j.preventDefault())}),onKeyDown:Xt(o.onKeyDown,j=>{const C=v.current!=="";!(j.ctrlKey||j.altKey||j.metaKey)&&j.key.length===1&&w(j.key),!(C&&j.key===" ")&&HL.includes(j.key)&&(E(),j.preventDefault())})})})});mE.displayName=hE;var pE="SelectValue",gE=x.forwardRef((e,t)=>{const{__scopeSelect:a,className:r,style:o,children:c,placeholder:d="",...f}=e,m=Xs(pE,a),{onValueNodeHasChildrenChange:p}=m,y=c!==void 0,v=Qe(t,m.onValueNodeChange);return gt(()=>{p(y)},[p,y]),l.jsx(We.span,{...f,ref:v,style:{pointerEvents:"none"},children:zE(m.value)?l.jsx(l.Fragment,{children:d}):c})});gE.displayName=pE;var KL="SelectIcon",yE=x.forwardRef((e,t)=>{const{__scopeSelect:a,children:r,...o}=e;return l.jsx(We.span,{"aria-hidden":!0,...o,ref:t,children:r||"â¼"})});yE.displayName=KL;var XL="SelectPortal",xE=e=>l.jsx(Ol,{asChild:!0,...e});xE.displayName=XL;var kr="SelectContent",vE=x.forwardRef((e,t)=>{const a=Xs(kr,e.__scopeSelect),[r,o]=x.useState();if(gt(()=>{o(new DocumentFragment)},[]),!a.open){const c=r;return c?Or.createPortal(l.jsx(bE,{scope:e.__scopeSelect,children:l.jsx(Od.Slot,{scope:e.__scopeSelect,children:l.jsx("div",{children:e.children})})}),c):null}return l.jsx(wE,{...e,ref:t})});vE.displayName=kr;var Wn=10,[bE,Qs]=ao(kr),QL="SelectContentImpl",WL=DL("SelectContent.RemoveScroll"),wE=x.forwardRef((e,t)=>{const{__scopeSelect:a,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:c,onPointerDownOutside:d,side:f,sideOffset:m,align:p,alignOffset:y,arrowPadding:v,collisionBoundary:w,collisionPadding:S,sticky:E,hideWhenDetached:j,avoidCollisions:C,...A}=e,T=Xs(kr,a),[_,D]=x.useState(null),[V,G]=x.useState(null),z=Qe(t,te=>D(te)),[I,ae]=x.useState(null),[ue,ge]=x.useState(null),oe=Dd(a),[de,J]=x.useState(!1),fe=x.useRef(!1);x.useEffect(()=>{if(_)return bg(_)},[_]),vg();const P=x.useCallback(te=>{const[De,...Oe]=oe().map(et=>et.ref.current),[Fe]=Oe.slice(-1),Ke=document.activeElement;for(const et of te)if(et===Ke||(et?.scrollIntoView({block:"nearest"}),et===De&&V&&(V.scrollTop=0),et===Fe&&V&&(V.scrollTop=V.scrollHeight),et?.focus(),document.activeElement!==Ke))return},[oe,V]),$=x.useCallback(()=>P([I,_]),[P,I,_]);x.useEffect(()=>{de&&$()},[de,$]);const{onOpenChange:B,triggerPointerDownPosRef:le}=T;x.useEffect(()=>{if(_){let te={x:0,y:0};const De=Fe=>{te={x:Math.abs(Math.round(Fe.pageX)-(le.current?.x??0)),y:Math.abs(Math.round(Fe.pageY)-(le.current?.y??0))}},Oe=Fe=>{te.x<=10&&te.y<=10?Fe.preventDefault():_.contains(Fe.target)||B(!1),document.removeEventListener("pointermove",De),le.current=null};return le.current!==null&&(document.addEventListener("pointermove",De),document.addEventListener("pointerup",Oe,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",De),document.removeEventListener("pointerup",Oe,{capture:!0})}}},[_,B,le]),x.useEffect(()=>{const te=()=>B(!1);return window.addEventListener("blur",te),window.addEventListener("resize",te),()=>{window.removeEventListener("blur",te),window.removeEventListener("resize",te)}},[B]);const[Se,M]=LE(te=>{const De=oe().filter(Ke=>!Ke.disabled),Oe=De.find(Ke=>Ke.ref.current===document.activeElement),Fe=BE(De,te,Oe);Fe&&setTimeout(()=>Fe.ref.current.focus())}),Z=x.useCallback((te,De,Oe)=>{const Fe=!fe.current&&!Oe;(T.value!==void 0&&T.value===De||Fe)&&(ae(te),Fe&&(fe.current=!0))},[T.value]),ee=x.useCallback(()=>_?.focus(),[_]),se=x.useCallback((te,De,Oe)=>{const Fe=!fe.current&&!Oe;(T.value!==void 0&&T.value===De||Fe)&&ge(te)},[T.value]),Ee=r==="popper"?Op:jE,ke=Ee===Op?{side:f,sideOffset:m,align:p,alignOffset:y,arrowPadding:v,collisionBoundary:w,collisionPadding:S,sticky:E,hideWhenDetached:j,avoidCollisions:C}:{};return l.jsx(bE,{scope:a,content:_,viewport:V,onViewportChange:G,itemRefCallback:Z,selectedItem:I,onItemLeave:ee,itemTextRefCallback:se,focusSelectedItem:$,selectedItemText:ue,position:r,isPositioned:de,searchRef:Se,children:l.jsx(Cd,{as:WL,allowPinchZoom:!0,children:l.jsx(Nd,{asChild:!0,trapped:T.open,onMountAutoFocus:te=>{te.preventDefault()},onUnmountAutoFocus:Xt(o,te=>{T.trigger?.focus({preventScroll:!0}),te.preventDefault()}),children:l.jsx(kl,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:te=>te.preventDefault(),onDismiss:()=>T.onOpenChange(!1),children:l.jsx(Ee,{role:"listbox",id:T.contentId,"data-state":T.open?"open":"closed",dir:T.dir,onContextMenu:te=>te.preventDefault(),...A,...ke,onPlaced:()=>J(!0),ref:z,style:{display:"flex",flexDirection:"column",outline:"none",...A.style},onKeyDown:Xt(A.onKeyDown,te=>{const De=te.ctrlKey||te.altKey||te.metaKey;if(te.key==="Tab"&&te.preventDefault(),!De&&te.key.length===1&&M(te.key),["ArrowUp","ArrowDown","Home","End"].includes(te.key)){let Fe=oe().filter(Ke=>!Ke.disabled).map(Ke=>Ke.ref.current);if(["ArrowUp","End"].includes(te.key)&&(Fe=Fe.slice().reverse()),["ArrowUp","ArrowDown"].includes(te.key)){const Ke=te.target,et=Fe.indexOf(Ke);Fe=Fe.slice(et+1)}setTimeout(()=>P(Fe)),te.preventDefault()}})})})})})})});wE.displayName=QL;var JL="SelectItemAlignedPosition",jE=x.forwardRef((e,t)=>{const{__scopeSelect:a,onPlaced:r,...o}=e,c=Xs(kr,a),d=Qs(kr,a),[f,m]=x.useState(null),[p,y]=x.useState(null),v=Qe(t,z=>y(z)),w=Dd(a),S=x.useRef(!1),E=x.useRef(!0),{viewport:j,selectedItem:C,selectedItemText:A,focusSelectedItem:T}=d,_=x.useCallback(()=>{if(c.trigger&&c.valueNode&&f&&p&&j&&C&&A){const z=c.trigger.getBoundingClientRect(),I=p.getBoundingClientRect(),ae=c.valueNode.getBoundingClientRect(),ue=A.getBoundingClientRect();if(c.dir!=="rtl"){const Ke=ue.left-I.left,et=ae.left-Ke,It=z.left-et,Lt=z.width+It,oa=Math.max(Lt,I.width),Ea=window.innerWidth-Wn,Ws=H1(et,[Wn,Math.max(Wn,Ea-oa)]);f.style.minWidth=Lt+"px",f.style.left=Ws+"px"}else{const Ke=I.right-ue.right,et=window.innerWidth-ae.right-Ke,It=window.innerWidth-z.right-et,Lt=z.width+It,oa=Math.max(Lt,I.width),Ea=window.innerWidth-Wn,Ws=H1(et,[Wn,Math.max(Wn,Ea-oa)]);f.style.minWidth=Lt+"px",f.style.right=Ws+"px"}const ge=w(),oe=window.innerHeight-Wn*2,de=j.scrollHeight,J=window.getComputedStyle(p),fe=parseInt(J.borderTopWidth,10),P=parseInt(J.paddingTop,10),$=parseInt(J.borderBottomWidth,10),B=parseInt(J.paddingBottom,10),le=fe+P+de+B+$,Se=Math.min(C.offsetHeight*5,le),M=window.getComputedStyle(j),Z=parseInt(M.paddingTop,10),ee=parseInt(M.paddingBottom,10),se=z.top+z.height/2-Wn,Ee=oe-se,ke=C.offsetHeight/2,te=C.offsetTop+ke,De=fe+P+te,Oe=le-De;if(De<=se){const Ke=ge.length>0&&C===ge[ge.length-1].ref.current;f.style.bottom="0px";const et=p.clientHeight-j.offsetTop-j.offsetHeight,It=Math.max(Ee,ke+(Ke?ee:0)+et+$),Lt=De+It;f.style.height=Lt+"px"}else{const Ke=ge.length>0&&C===ge[0].ref.current;f.style.top="0px";const It=Math.max(se,fe+j.offsetTop+(Ke?Z:0)+ke)+Oe;f.style.height=It+"px",j.scrollTop=De-se+j.offsetTop}f.style.margin=`${Wn}px 0`,f.style.minHeight=Se+"px",f.style.maxHeight=oe+"px",r?.(),requestAnimationFrame(()=>S.current=!0)}},[w,c.trigger,c.valueNode,f,p,j,C,A,c.dir,r]);gt(()=>_(),[_]);const[D,V]=x.useState();gt(()=>{p&&V(window.getComputedStyle(p).zIndex)},[p]);const G=x.useCallback(z=>{z&&E.current===!0&&(_(),T?.(),E.current=!1)},[_,T]);return l.jsx(t9,{scope:a,contentWrapper:f,shouldExpandOnScrollRef:S,onScrollButtonChange:G,children:l.jsx("div",{ref:m,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:D},children:l.jsx(We.div,{...o,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});jE.displayName=JL;var e9="SelectPopperPosition",Op=x.forwardRef((e,t)=>{const{__scopeSelect:a,align:r="start",collisionPadding:o=Wn,...c}=e,d=Vd(a);return l.jsx(pg,{...d,...c,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...c.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Op.displayName=e9;var[t9,iy]=ao(kr,{}),Dp="SelectViewport",NE=x.forwardRef((e,t)=>{const{__scopeSelect:a,nonce:r,...o}=e,c=Qs(Dp,a),d=iy(Dp,a),f=Qe(t,c.onViewportChange),m=x.useRef(0);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),l.jsx(Od.Slot,{scope:a,children:l.jsx(We.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:f,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:Xt(o.onScroll,p=>{const y=p.currentTarget,{contentWrapper:v,shouldExpandOnScrollRef:w}=d;if(w?.current&&v){const S=Math.abs(m.current-y.scrollTop);if(S>0){const E=window.innerHeight-Wn*2,j=parseFloat(v.style.minHeight),C=parseFloat(v.style.height),A=Math.max(j,C);if(A<E){const T=A+S,_=Math.min(E,T),D=T-_;v.style.height=_+"px",v.style.bottom==="0px"&&(y.scrollTop=D>0?D:0,v.style.justifyContent="flex-end")}}}m.current=y.scrollTop})})})]})});NE.displayName=Dp;var SE="SelectGroup",[n9,a9]=ao(SE),s9=x.forwardRef((e,t)=>{const{__scopeSelect:a,...r}=e,o=Ps();return l.jsx(n9,{scope:a,id:o,children:l.jsx(We.div,{role:"group","aria-labelledby":o,...r,ref:t})})});s9.displayName=SE;var CE="SelectLabel",EE=x.forwardRef((e,t)=>{const{__scopeSelect:a,...r}=e,o=a9(CE,a);return l.jsx(We.div,{id:o.id,...r,ref:t})});EE.displayName=CE;var Wu="SelectItem",[r9,TE]=ao(Wu),AE=x.forwardRef((e,t)=>{const{__scopeSelect:a,value:r,disabled:o=!1,textValue:c,...d}=e,f=Xs(Wu,a),m=Qs(Wu,a),p=f.value===r,[y,v]=x.useState(c??""),[w,S]=x.useState(!1),E=Qe(t,T=>m.itemRefCallback?.(T,r,o)),j=Ps(),C=x.useRef("touch"),A=()=>{o||(f.onValueChange(r),f.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return l.jsx(r9,{scope:a,value:r,disabled:o,textId:j,isSelected:p,onItemTextChange:x.useCallback(T=>{v(_=>_||(T?.textContent??"").trim())},[]),children:l.jsx(Od.ItemSlot,{scope:a,value:r,disabled:o,textValue:y,children:l.jsx(We.div,{role:"option","aria-labelledby":j,"data-highlighted":w?"":void 0,"aria-selected":p&&w,"data-state":p?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...d,ref:E,onFocus:Xt(d.onFocus,()=>S(!0)),onBlur:Xt(d.onBlur,()=>S(!1)),onClick:Xt(d.onClick,()=>{C.current!=="mouse"&&A()}),onPointerUp:Xt(d.onPointerUp,()=>{C.current==="mouse"&&A()}),onPointerDown:Xt(d.onPointerDown,T=>{C.current=T.pointerType}),onPointerMove:Xt(d.onPointerMove,T=>{C.current=T.pointerType,o?m.onItemLeave?.():C.current==="mouse"&&T.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Xt(d.onPointerLeave,T=>{T.currentTarget===document.activeElement&&m.onItemLeave?.()}),onKeyDown:Xt(d.onKeyDown,T=>{m.searchRef?.current!==""&&T.key===" "||(qL.includes(T.key)&&A(),T.key===" "&&T.preventDefault())})})})})});AE.displayName=Wu;var sl="SelectItemText",_E=x.forwardRef((e,t)=>{const{__scopeSelect:a,className:r,style:o,...c}=e,d=Xs(sl,a),f=Qs(sl,a),m=TE(sl,a),p=ZL(sl,a),[y,v]=x.useState(null),w=Qe(t,A=>v(A),m.onItemTextChange,A=>f.itemTextRefCallback?.(A,m.value,m.disabled)),S=y?.textContent,E=x.useMemo(()=>l.jsx("option",{value:m.value,disabled:m.disabled,children:S},m.value),[m.disabled,m.value,S]),{onNativeOptionAdd:j,onNativeOptionRemove:C}=p;return gt(()=>(j(E),()=>C(E)),[j,C,E]),l.jsxs(l.Fragment,{children:[l.jsx(We.span,{id:m.textId,...c,ref:w}),m.isSelected&&d.valueNode&&!d.valueNodeHasChildren?Or.createPortal(c.children,d.valueNode):null]})});_E.displayName=sl;var RE="SelectItemIndicator",kE=x.forwardRef((e,t)=>{const{__scopeSelect:a,...r}=e;return TE(RE,a).isSelected?l.jsx(We.span,{"aria-hidden":!0,...r,ref:t}):null});kE.displayName=RE;var Vp="SelectScrollUpButton",ME=x.forwardRef((e,t)=>{const a=Qs(Vp,e.__scopeSelect),r=iy(Vp,e.__scopeSelect),[o,c]=x.useState(!1),d=Qe(t,r.onScrollButtonChange);return gt(()=>{if(a.viewport&&a.isPositioned){let f=function(){const p=m.scrollTop>0;c(p)};const m=a.viewport;return f(),m.addEventListener("scroll",f),()=>m.removeEventListener("scroll",f)}},[a.viewport,a.isPositioned]),o?l.jsx(DE,{...e,ref:d,onAutoScroll:()=>{const{viewport:f,selectedItem:m}=a;f&&m&&(f.scrollTop=f.scrollTop-m.offsetHeight)}}):null});ME.displayName=Vp;var Pp="SelectScrollDownButton",OE=x.forwardRef((e,t)=>{const a=Qs(Pp,e.__scopeSelect),r=iy(Pp,e.__scopeSelect),[o,c]=x.useState(!1),d=Qe(t,r.onScrollButtonChange);return gt(()=>{if(a.viewport&&a.isPositioned){let f=function(){const p=m.scrollHeight-m.clientHeight,y=Math.ceil(m.scrollTop)<p;c(y)};const m=a.viewport;return f(),m.addEventListener("scroll",f),()=>m.removeEventListener("scroll",f)}},[a.viewport,a.isPositioned]),o?l.jsx(DE,{...e,ref:d,onAutoScroll:()=>{const{viewport:f,selectedItem:m}=a;f&&m&&(f.scrollTop=f.scrollTop+m.offsetHeight)}}):null});OE.displayName=Pp;var DE=x.forwardRef((e,t)=>{const{__scopeSelect:a,onAutoScroll:r,...o}=e,c=Qs("SelectScrollButton",a),d=x.useRef(null),f=Dd(a),m=x.useCallback(()=>{d.current!==null&&(window.clearInterval(d.current),d.current=null)},[]);return x.useEffect(()=>()=>m(),[m]),gt(()=>{f().find(y=>y.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[f]),l.jsx(We.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:Xt(o.onPointerDown,()=>{d.current===null&&(d.current=window.setInterval(r,50))}),onPointerMove:Xt(o.onPointerMove,()=>{c.onItemLeave?.(),d.current===null&&(d.current=window.setInterval(r,50))}),onPointerLeave:Xt(o.onPointerLeave,()=>{m()})})}),i9="SelectSeparator",VE=x.forwardRef((e,t)=>
419{const{__scopeSelect:a,...r}=e;return l.jsx(We.div,{"aria-hidden":!0,...r,ref:t})});VE.displayName=i9;var zp="SelectArrow",o9=x.forwardRef((e,t)=>{const{__scopeSelect:a,...r}=e,o=Vd(a),c=Xs(zp,a),d=Qs(zp,a);return c.open&&d.position==="popper"?l.jsx(gg,{...o,...r,ref:t}):null});o9.displayName=zp;var l9="SelectBubbleInput",PE=x.forwardRef(({__scopeSelect:e,value:t,...a},r)=>{const o=x.useRef(null),c=Qe(r,o),d=aE(t);return x.useEffect(()=>{const f=o.current;if(!f)return;const m=window.HTMLSelectElement.prototype,y=Object.getOwnPropertyDescriptor(m,"value").set;if(d!==t&&y){const v=new Event("change",{bubbles:!0});y.call(f,t),f.dispatchEvent(v)}},[d,t]),l.jsx(We.select,{...a,style:{...gS,...a.style},ref:c,defaultValue:t})});PE.displayName=l9;function zE(e){return e===""||e===void 0}function LE(e){const t=on(e),a=x.useRef(""),r=x.useRef(0),o=x.useCallback(d=>{const f=a.current+d;t(f),(function m(p){a.current=p,window.clearTimeout(r.current),p!==""&&(r.current=window.setTimeout(()=>m(""),1e3))})(f)},[t]),c=x.useCallback(()=>{a.current="",window.clearTimeout(r.current)},[]);return x.useEffect(()=>()=>window.clearTimeout(r.current),[]),[a,o,c]}function BE(e,t,a){const o=t.length>1&&Array.from(t).every(p=>p===t[0])?t[0]:t,c=a?e.indexOf(a):-1;let d=c9(e,Math.max(c,0));o.length===1&&(d=d.filter(p=>p!==a));const m=d.find(p=>p.textValue.toLowerCase().startsWith(o.toLowerCase()));return m!==a?m:void 0}function c9(e,t){return e.map((a,r)=>e[(t+r)%e.length])}var u9=fE,UE=mE,d9=gE,f9=yE,h9=xE,IE=vE,m9=NE,FE=EE,HE=AE,p9=_E,g9=kE,qE=ME,$E=OE,GE=VE;const y9=u9,x9=d9,YE=x.forwardRef(({className:e,children:t,...a},r)=>l.jsxs(UE,{ref:r,className:Le("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...a,children:[t,l.jsx(f9,{asChild:!0,children:l.jsx(pd,{className:"h-4 w-4 opacity-50"})})]}));YE.displayName=UE.displayName;const ZE=x.forwardRef(({className:e,...t},a)=>l.jsx(qE,{ref:a,className:Le("flex cursor-default items-center justify-center py-1",e),...t,children:l.jsx(rk,{className:"h-4 w-4"})}));ZE.displayName=qE.displayName;const KE=x.forwardRef(({className:e,...t},a)=>l.jsx($E,{ref:a,className:Le("flex cursor-default items-center justify-center py-1",e),...t,children:l.jsx(pd,{className:"h-4 w-4"})}));KE.displayName=$E.displayName;const XE=x.forwardRef(({className:e,children:t,position:a="popper",...r},o)=>l.jsx(h9,{children:l.jsxs(IE,{ref:o,className:Le("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,...r,children:[l.jsx(ZE,{}),l.jsx(m9,{className:Le("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),l.jsx(KE,{})]})}));XE.displayName=IE.displayName;const v9=x.forwardRef(({className:e,...t},a)=>l.jsx(FE,{ref:a,className:Le("px-2 py-1.5 text-sm font-semibold",e),...t}));v9.displayName=FE.displayName;const jr=x.forwardRef(({className:e,children:t,...a},r)=>l.jsxs(HE,{ref:r,className:Le("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[l.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(g9,{children:l.jsx(ol,{className:"h-4 w-4"})})}),l.jsx(p9,{children:t})]}));jr.displayName=HE.displayName;const b9=x.forwardRef(({className:e,...t},a)=>l.jsx(GE,{ref:a,className:Le("-mx-1 my-1 h-px bg-muted",e),...t}));b9.displayName=GE.displayName;var Ul=e=>e.type==="checkbox",Cr=e=>e instanceof Date,gn=e=>e==null;const QE=e=>typeof e=="object";var Ot=e=>!gn(e)&&!Array.isArray(e)&&QE(e)&&!Cr(e),WE=e=>Ot(e)&&e.target?Ul(e.target)?e.target.checked:e.target.value:e,w9=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,JE=(e,t)=>e.has(w9(t)),j9=e=>{const t=e.constructor&&e.constructor.prototype;return Ot(t)&&t.hasOwnProperty("isPrototypeOf")},oy=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Pt(e){let t;const a=Array.isArray(e),r=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(oy&&(e instanceof Blob||r))&&(a||Ot(e)))if(t=a?[]:Object.create(Object.getPrototypeOf(e)),!a&&!j9(e))t=e;else for(const o in e)e.hasOwnProperty(o)&&(t[o]=Pt(e[o]));else return e;return t}var Pd=e=>/^\w*$/.test(e),Nt=e=>e===void 0,ly=e=>Array.isArray(e)?e.filter(Boolean):[],cy=e=>ly(e.replace(/["|']|\]/g,"").split(/\.|\[/)),ce=(e,t,a)=>{if(!t||!Ot(e))return a;const r=(Pd(t)?[t]:cy(t)).reduce((o,c)=>gn(o)?o:o[c],e);
419return Nt(r)||r===e?Nt(e[t])?a:e[t]:r},Cn=e=>typeof e=="boolean",ct=(e,t,a)=>{let r=-1;const o=Pd(t)?[t]:cy(t),c=o.length,d=c-1;for(;++r<c;){const f=o[r];let m=a;if(r!==d){const p=e[f];m=Ot(p)||Array.isArray(p)?p:isNaN(+o[r+1])?{}:[]}if(f==="__proto__"||f==="constructor"||f==="prototype")return;e[f]=m,e=e[f]}};const Ju={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ta={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Ya={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},uy=je.createContext(null);uy.displayName="HookFormContext";const zd=()=>je.useContext(uy),N9=e=>{const{children:t,...a}=e;return je.createElement(uy.Provider,{value:a},t)};var eT=(e,t,a,r=!0)=>{const o={defaultValues:t._defaultValues};for(const c in e)Object.defineProperty(o,c,{get:()=>{const d=c;return t._proxyFormState[d]!==ta.all&&(t._proxyFormState[d]=!r||ta.all),a&&(a[d]=!0),e[d]}});return o};const dy=typeof window<"u"?je.useLayoutEffect:je.useEffect;function S9(e){const t=zd(),{control:a=t.control,disabled:r,name:o,exact:c}=e||{},[d,f]=je.useState(a._formState),m=je.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return dy(()=>a._subscribe({name:o,formState:m.current,exact:c,callback:p=>{!r&&f({...a._formState,...p})}}),[o,r,c]),je.useEffect(()=>{m.current.isValid&&a._setValid(!0)},[a]),je.useMemo(()=>eT(d,a,m.current,!1),[d,a])}var An=e=>typeof e=="string",Lp=(e,t,a,r,o)=>An(e)?(r&&t.watch.add(e),ce(a,e,o)):Array.isArray(e)?e.map(c=>(r&&t.watch.add(c),ce(a,c))):(r&&(t.watchAll=!0),a),Bp=e=>gn(e)||!QE(e);function na(e,t,a=new WeakSet){if(Bp(e)||Bp(t))return e===t;if(Cr(e)&&Cr(t))return e.getTime()===t.getTime();const r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;if(a.has(e)||a.has(t))return!0;a.add(e),a.add(t);for(const c of r){const d=e[c];if(!o.includes(c))return!1;if(c!=="ref"){const f=t[c];if(Cr(d)&&Cr(f)||Ot(d)&&Ot(f)||Array.isArray(d)&&Array.isArray(f)?!na(d,f,a):d!==f)return!1}}return!0}function C9(e){const t=zd(),{control:a=t.control,name:r,defaultValue:o,disabled:c,exact:d,compute:f}=e||{},m=je.useRef(o),p=je.useRef(f),y=je.useRef(void 0),v=je.useRef(a),w=je.useRef(r);p.current=f;const[S,E]=je.useState(()=>{const D=a._getWatch(r,m.current);return p.current?p.current(D):D}),j=je.useCallback(D=>{const V=Lp(r,a._names,D||a._formValues,!1,m.current);return p.current?p.current(V):V},[a._formValues,a._names,r]),C=je.useCallback(D=>{if(!c){const V=Lp(r,a._names,D||a._formValues,!1,m.current);if(p.current){const G=p.current(V);na(G,y.current)||(E(G),y.current=G)}else E(V)}},[a._formValues,a._names,c,r]);dy(()=>((v.current!==a||!na(w.current,r))&&(v.current=a,w.current=r,C()),a._subscribe({name:r,formState:{values:!0},exact:d,callback:D=>{C(D.values)}})),[a,d,r,C]),je.useEffect(()=>a._removeUnmounted());const A=v.current!==a,T=w.current,_=je.useMemo(()=>{if(c)return null;const D=!A&&!na(T,r);return A||D?j():null},[c,A,r,T,j]);return _!==null?_:S}function E9(e){const t=zd(),{name:a,disabled:r,control:o=t.control,shouldUnregister:c,defaultValue:d}=e,f=JE(o._names.array,a),m=je.useMemo(()=>ce(o._formValues,a,ce(o._defaultValues,a,d)),[o,a,d]),p=C9({control:o,name:a,defaultValue:m,exact:!0}),y=S9({control:o,name:a,exact:!0}),v=je.useRef(e),w=je.useRef(void 0),S=je.useRef(o.register(a,{...e.rules,value:p,...Cn(e.disabled)?{disabled:e.disabled}:{}}));v.current=e;const E=je.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!ce(y.errors,a)},isDirty:{enumerable:!0,get:()=>!!ce(y.dirtyFields,a)},isTouched:{enumerable:!0,get:()=>!!ce(y.touchedFields,a)},isValidating:{enumerable:!0,get:()=>!!ce(y.validatingFields,a)},error:{enumerable:!0,get:()=>ce(y.errors,a)}}),[y,a]),j=je.useCallback(_=>S.current.onChange({target:{value:WE(_),name:a},type:Ju.CHANGE}),[a]),C=je.useCallback(()=>S.current.onBlur({target:{value:ce(o._formValues,a),name:a},type:Ju.BLUR}),[a,o._formValues]),A=je.useCallback(_=>{const D=ce(o._fields,a);D&&_&&(D._f.ref={focus:()=>_.focus&&_.focus(),select:()=>_.select&&_.select(),setCustomValidity:V=>_.setCustomValidity(V),reportValidity:()=>_.reportValidity()})},[o._fields,a]),T=je.useMemo(()=>({name:a,value:p,...Cn(r)||y.disabled?{disabled:y.disabled||r}:{},onChange:j,onBlur:C,ref:A}),[a,r,y.disabled,j,C,A,p]);return je.useEffect(()=>{const _=o._options.shouldUnregister||c,D=w.current;D&&D!==a&&!f&&o.unregister(D),o.register(a,{...v.current.rules,...Cn(v.current.disabled)?{disabled:v.current.disabled}:{}});const V=(G,z)=>{const I=ce(o._fields,G);I&&I._f&&(I._f.mount=z)};if(V(a,!0),_){const G=Pt(ce(o._options.defaultValues,a,v.current.defaultValue));ct(o._defaultValues,a,G),Nt(ce(o._formValues,a))&&ct(o._formValues,a,G)}return!f&&o.register(a),w.current=a,()=>{(f?_&&!o._state.action:_)?o.unregister(a):V(a,!1)}},[a,o,f,c]),je.useEffect(()=>{o._setDisabledField({disabled:r,name:a})},[r,a,o]),je.useMemo(()=>({field:T,formState:y,fieldState:E}),[T,y,E])}const T9=e=>e.render(E9(e));var tT=(e,t,a,r,o)=>t?{...a[e],types:{...a[e]&&a[e].types?a[e].types:{},[r]:o||!0}}:{},ml=e=>Array.isArray(e)?e:[e],G1=()=>{let e=[];return{get observers(){return e},next:o=>{for(const c of e)c.next&&c.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(c=>c!==o)}}),unsubscribe:()=>{e=[]}}};function nT(e,t){const a={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r],c=t[r];if(o&&Ot(o)&&c){const d=nT(o,c);Ot(d)&&(a[r]=d)}else e[r]&&(a[r]=c)}return a}var an=e=>Ot(e)&&!Object.keys(e).length,fy=e=>e.type==="file",aa=e=>typeof e=="function",ed=e=>{if(!oy)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},aT=e=>e.type==="select-multiple",hy=e=>e.type==="radio",A9=e=>hy(e)||Ul(e),Hm=e=>ed(e)&&e.isConnected;function _9(e,t){const a=t.slice(0,-1).length;let r=0;for(;r<a;)e=Nt(e)?r++:e[t[r++]];return e}function R9(e){for(const t in e)if(e.hasOwnProperty(t)&&!Nt(e[t]))return!1;return!0}function Rt(e,t){const a=Array.isArray(t)?t:Pd(t)?[t]:cy(t),r=a.length===1?e:_9(e,a),o=a.length-1,c=a[o];return r&&delete r[c],o!==0&&(Ot(r)&&an(r)||Array.isArray(r)&&R9(r))&&Rt(e,a.slice(0,-1)),e}var k9=e=>{for(const t in e)if(aa(e[t]))return!0;return!1};function sT(e){return Array.isArray(e)||Ot(e)&&!k9(e)}function Up(e,t={}){for(const a in e)sT(e[a])?(t[a]=Array.isArray(e[a])?[]:{},Up(e[a],t[a])):Nt(e[a])||(t[a]=!0);return t}function Ai(e,t,a){a||(a=Up(t));for(const r in e)sT(e[r])?Nt(t)||Bp(a[r])?a[r]=Up(e[r],Array.isArray(e[r])?[]:{}):Ai(e[r],gn(t)?{}:t[r],a[r]):a[r]=!na(e[r],t[r]);return a}const Y1={value:!1,isValid:!1},Z1={value:!0,isValid:!0};var rT=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(a=>a&&a.checked&&!a.disabled).map(a=>a.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Nt(e[0].attributes.value)?Nt(e[0].value)||e[0].value===""?Z1:{value:e[0].value,isValid:!0}:Z1:Y1}return Y1},iT=(e,{valueAsNumber:t,valueAsDate:a,setValueAs:r})=>Nt(e)?e:t?e===""?NaN:e&&+e:a&&An(e)?new Date(e):r?r(e):e;const K1={isValid:!1,value:null};var oT=e=>Array.isArray(e)?e.reduce((t,a)=>a&&a.checked&&!a.disabled?{isValid:!0,value:a.value}:t,K1):K1;function X1(e){const t=e.ref;return fy(t)?t.files:hy(t)?oT(e.refs).value:aT(t)?[...t.selectedOptions].map(({value:a})=>a):Ul(t)?rT(e.refs).value:iT(Nt(t.value)?e.ref.value:t.value,e)}var M9=(e,t,a,r)=>{const o={};for(const c of e){const d=ce(t,c);d&&ct(o,c,d._f)}return{criteriaMode:a,names:[...e],fields:o,shouldUseNativeValidation:r}},td=e=>e instanceof RegExp,nl=e=>Nt(e)?e:td(e)?e.source:Ot(e)?td(e.value)?e.value.source:e.value:e,Q1=e=>({isOnSubmit:!e||e===ta.onSubmit,isOnBlur:e===ta.onBlur,isOnChange:e===ta.onChange,isOnAll:e===ta.all,isOnTouch:e===ta.onTouched});const W1="AsyncFunction";var O9=e=>!!e&&!!e.validate&&!!(aa(e.validate)&&e.validate.constructor.name===W1||Ot(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===W1)),D9=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),J1=(e,t,a)=>!a&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const pl=(e,t,a,r)=>{for(const o of a||Object.keys(e)){const c=ce(e,o);if(c){const{_f:d,...f}=c;if(d){if(d.refs&&d.refs[0]&&t(d.refs[0],o)&&!r)return!0;
vendor: 4,181 bytes, line 419
419if(d.ref&&t(d.ref,d.name)&&!r)return!0;if(pl(f,t))break}else if(Ot(f)&&pl(f,t))break}}};function ej(e,t,a){const r=ce(e,a);if(r||Pd(a))return{error:r,name:a};const o=a.split(".");for(;o.length;){const c=o.join("."),d=ce(t,c),f=ce(e,c);if(d&&!Array.isArray(d)&&a!==c)return{name:a};if(f&&f.type)return{name:c,error:f};if(f&&f.root&&f.root.type)return{name:`${c}.root`,error:f.root};o.pop()}return{name:a}}var V9=(e,t,a,r)=>{a(e);const{name:o,...c}=e;return an(c)||Object.keys(c).length>=Object.keys(t).length||Object.keys(c).find(d=>t[d]===(!r||ta.all))},P9=(e,t,a)=>!e||!t||e===t||ml(e).some(r=>r&&(a?r===t:r.startsWith(t)||t.startsWith(r))),z9=(e,t,a,r,o)=>o.isOnAll?!1:!a&&o.isOnTouch?!(t||e):(a?r.isOnBlur:o.isOnBlur)?!e:(a?r.isOnChange:o.isOnChange)?e:!0,L9=(e,t)=>!ly(ce(e,t)).length&&Rt(e,t),B9=(e,t,a)=>{const r=ml(ce(e,a));return ct(r,"root",t[a]),ct(e,a,r),e};function tj(e,t,a="validate"){if(An(e)||Array.isArray(e)&&e.every(An)||Cn(e)&&!e)return{type:a,message:An(e)?e:"",ref:t}}var Ci=e=>Ot(e)&&!td(e)?e:{value:e,message:""},nj=async(e,t,a,r,o,c)=>{const{ref:d,refs:f,required:m,maxLength:p,minLength:y,min:v,max:w,pattern:S,validate:E,name:j,valueAsNumber:C,mount:A}=e._f,T=ce(a,j);if(!A||t.has(j))return{};const _=f?f[0]:d,D=oe=>{o&&_.reportValidity&&(_.setCustomValidity(Cn(oe)?"":oe||""),_.reportValidity())},V={},G=hy(d),z=Ul(d),I=G||z,ae=(C||fy(d))&&Nt(d.value)&&Nt(T)||ed(d)&&d.value===""||T===""||Array.isArray(T)&&!T.length,ue=tT.bind(null,j,r,V),ge=(oe,de,J,fe=Ya.maxLength,P=Ya.minLength)=>{const $=oe?de:J;V[j]={type:oe?fe:P,message:$,ref:d,...ue(oe?fe:P,$)}};if(c?!Array.isArray(T)||!T.length:m&&(!I&&(ae||gn(T))||Cn(T)&&!T||z&&!rT(f).isValid||G&&!oT(f).isValid)){const{value:oe,message:de}=An(m)?{value:!!m,message:m}:Ci(m);if(oe&&(V[j]={type:Ya.required,message:de,ref:_,...ue(Ya.required,de)},!r))return D(de),V}if(!ae&&(!gn(v)||!gn(w))){let oe,de;const J=Ci(w),fe=Ci(v);if(!gn(T)&&!isNaN(T)){const P=d.valueAsNumber||T&&+T;gn(J.value)||(oe=P>J.value),gn(fe.value)||(de=P<fe.value)}else{const P=d.valueAsDate||new Date(T),$=Se=>new Date(new Date().toDateString()+" "+Se),B=d.type=="time",le=d.type=="week";An(J.value)&&T&&(oe=B?$(T)>$(J.value):le?T>J.value:P>new Date(J.value)),An(fe.value)&&T&&(de=B?$(T)<$(fe.value):le?T<fe.value:P<new Date(fe.value))}if((oe||de)&&(ge(!!oe,J.message,fe.message,Ya.max,Ya.min),!r))return D(V[j].message),V}if((p||y)&&!ae&&(An(T)||c&&Array.isArray(T))){const oe=Ci(p),de=Ci(y),J=!gn(oe.value)&&T.length>+oe.value,fe=!gn(de.value)&&T.length<+de.value;if((J||fe)&&(ge(J,oe.message,de.message),!r))return D(V[j].message),V}if(S&&!ae&&An(T)){const{value:oe,message:de}=Ci(S);if(td(oe)&&!T.match(oe)&&(V[j]={type:Ya.pattern,message:de,ref:d,...ue(Ya.pattern,de)},!r))return D(de),V}if(E){if(aa(E)){const oe=await E(T,a),de=tj(oe,_);if(de&&(V[j]={...de,...ue(Ya.validate,de.message)},!r))return D(de.message),V}else if(Ot(E)){let oe={};for(const de in E){if(!an(oe)&&!r)break;const J=tj(await E[de](T,a),_,de);J&&(oe={...J,...ue(de,J.message)},D(J.message),r&&(V[j]=oe))}if(!an(oe)&&(V[j]={ref:_,...oe},!r))return V}}return D(!0),V};const U9={mode:ta.onSubmit,reValidateMode:ta.onChange,shouldFocusError:!0};function I9(e={}){let t={...U9,...e},a={submitCount:0,isDirty:!1,isReady:!1,isLoading:aa(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},o=Ot(t.defaultValues)||Ot(t.values)?Pt(t.defaultValues||t.values)||{}:{},c=t.shouldUnregister?{}:Pt(o),d={action:!1,mount:!1,watch:!1},f={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},m,p=0;const y={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let v={...y};const w={array:G1(),state:G1()},S=t.criteriaMode===ta.all,E=k=>H=>{clearTimeout(p),p=setTimeout(k,H)},j=async k=>{if(!t.disabled&&(y.isValid||v.isValid||k)){const H=t.resolver?an((await z()).errors):await ae(r,!0);H!==a.isValid&&w.state.next({isValid:H})}},C=(k,H)=>{!t.disabled&&(y.isValidating||y.validatingFields||v.isValidating||v.validatingFields)&&((k||Array.from(f.mount)).forEac
vendor: 10,823 bytes, line 419
419h(X=>{X&&(H?ct(a.validatingFields,X,H):Rt(a.validatingFields,X))}),w.state.next({validatingFields:a.validatingFields,isValidating:!an(a.validatingFields)}))},A=(k,H=[],X,he,ne=!0,re=!0)=>{if(he&&X&&!t.disabled){if(d.action=!0,re&&Array.isArray(ce(r,k))){const Te=X(ce(r,k),he.argA,he.argB);ne&&ct(r,k,Te)}if(re&&Array.isArray(ce(a.errors,k))){const Te=X(ce(a.errors,k),he.argA,he.argB);ne&&ct(a.errors,k,Te),L9(a.errors,k)}if((y.touchedFields||v.touchedFields)&&re&&Array.isArray(ce(a.touchedFields,k))){const Te=X(ce(a.touchedFields,k),he.argA,he.argB);ne&&ct(a.touchedFields,k,Te)}(y.dirtyFields||v.dirtyFields)&&(a.dirtyFields=Ai(o,c)),w.state.next({name:k,isDirty:ge(k,H),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else ct(c,k,H)},T=(k,H)=>{ct(a.errors,k,H),w.state.next({errors:a.errors})},_=k=>{a.errors=k,w.state.next({errors:a.errors,isValid:!1})},D=(k,H,X,he)=>{const ne=ce(r,k);if(ne){const re=ce(c,k,Nt(X)?ce(o,k):X);Nt(re)||he&&he.defaultChecked||H?ct(c,k,H?re:X1(ne._f)):J(k,re),d.mount&&j()}},V=(k,H,X,he,ne)=>{let re=!1,Te=!1;const tt={name:k};if(!t.disabled){if(!X||he){(y.isDirty||v.isDirty)&&(Te=a.isDirty,a.isDirty=tt.isDirty=ge(),re=Te!==tt.isDirty);const rt=na(ce(o,k),H);Te=!!ce(a.dirtyFields,k),rt?Rt(a.dirtyFields,k):ct(a.dirtyFields,k,!0),tt.dirtyFields=a.dirtyFields,re=re||(y.dirtyFields||v.dirtyFields)&&Te!==!rt}if(X){const rt=ce(a.touchedFields,k);rt||(ct(a.touchedFields,k,X),tt.touchedFields=a.touchedFields,re=re||(y.touchedFields||v.touchedFields)&&rt!==X)}re&&ne&&w.state.next(tt)}return re?tt:{}},G=(k,H,X,he)=>{const ne=ce(a.errors,k),re=(y.isValid||v.isValid)&&Cn(H)&&a.isValid!==H;if(t.delayError&&X?(m=E(()=>T(k,X)),m(t.delayError)):(clearTimeout(p),m=null,X?ct(a.errors,k,X):Rt(a.errors,k)),(X?!na(ne,X):ne)||!an(he)||re){const Te={...he,...re&&Cn(H)?{isValid:H}:{},errors:a.errors,name:k};a={...a,...Te},w.state.next(Te)}},z=async k=>{C(k,!0);const H=await t.resolver(c,t.context,M9(k||f.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return C(k),H},I=async k=>{const{errors:H}=await z(k);if(k)for(const X of k){const he=ce(H,X);he?ct(a.errors,X,he):Rt(a.errors,X)}else a.errors=H;return H},ae=async(k,H,X={valid:!0})=>{for(const he in k){const ne=k[he];if(ne){const{_f:re,...Te}=ne;if(re){const tt=f.array.has(re.name),rt=ne._f&&O9(ne._f);rt&&y.validatingFields&&C([re.name],!0);const ln=await nj(ne,f.disabled,c,S,t.shouldUseNativeValidation&&!H,tt);if(rt&&y.validatingFields&&C([re.name]),ln[re.name]&&(X.valid=!1,H))break;!H&&(ce(ln,re.name)?tt?B9(a.errors,ln,re.name):ct(a.errors,re.name,ln[re.name]):Rt(a.errors,re.name))}!an(Te)&&await ae(Te,H,X)}}return X.valid},ue=()=>{for(const k of f.unMount){const H=ce(r,k);H&&(H._f.refs?H._f.refs.every(X=>!Hm(X)):!Hm(H._f.ref))&&te(k)}f.unMount=new Set},ge=(k,H)=>!t.disabled&&(k&&H&&ct(c,k,H),!na(Se(),o)),oe=(k,H,X)=>Lp(k,f,{...d.mount?c:Nt(H)?o:An(k)?{[k]:H}:H},X,H),de=k=>ly(ce(d.mount?c:o,k,t.shouldUnregister?ce(o,k,[]):[])),J=(k,H,X={})=>{const he=ce(r,k);let ne=H;if(he){const re=he._f;re&&(!re.disabled&&ct(c,k,iT(H,re)),ne=ed(re.ref)&&gn(H)?"":H,aT(re.ref)?[...re.ref.options].forEach(Te=>Te.selected=ne.includes(Te.value)):re.refs?Ul(re.ref)?re.refs.forEach(Te=>{(!Te.defaultChecked||!Te.disabled)&&(Array.isArray(ne)?Te.checked=!!ne.find(tt=>tt===Te.value):Te.checked=ne===Te.value||!!ne)}):re.refs.forEach(Te=>Te.checked=Te.value===ne):fy(re.ref)?re.ref.value="":(re.ref.value=ne,re.ref.type||w.state.next({name:k,values:Pt(c)})))}(X.shouldDirty||X.shouldTouch)&&V(k,ne,X.shouldTouch,X.shouldDirty,!0),X.shouldValidate&&le(k)},fe=(k,H,X)=>{for(const he in H){if(!H.hasOwnProperty(he))return;const ne=H[he],re=k+"."+he,Te=ce(r,re);(f.array.has(k)||Ot(ne)||Te&&!Te._f)&&!Cr(ne)?fe(re,ne,X):J(re,ne,X)}},P=(k,H,X={})=>{const he=ce(r,k),ne=f.array.has(k),re=Pt(H);ct(c,k,re),ne?(w.array.next({name:k,values:Pt(c)}),(y.isDirty||y.dirtyFields||v.isDirty||v.dirtyFields)&&X.shouldDirty&&w.state.next({name:k,dirtyFields:Ai(o,c),isDirty:ge(k,re)})):he&&!he._f&&!gn(re)?fe(k,re,X):J(k,re,X),J1(k,f)&&w.state.next({...a,name:k}),w.state.next({name:d.mount?k:void 0,values:Pt(c)})},$=async k=>{d.mount=!0;const H=k.target;let X=H.name,he=!0;const ne=ce(r,X),re=rt=>{he=Number.isNaN(rt)||Cr(rt)&&isNaN(rt.getTime())||na(rt,ce(c,X,rt))},Te=Q1(t.mode),tt=Q1(t.reValidateMode);if(ne){let rt,ln;const Js=H.type?X1(ne._f):WE(k),la=k.type===Ju.BLUR||k.type===Ju.FOCUS_OUT,Id=!D9(ne._f)&&!t.resolver&&!ce(a.errors,X)&&!ne._f.deps||z9(la,ce(a.touchedFields,X),a.isSubmitted,tt,Te),Ta=J1(X,f,la);ct(c,X,Js),la?(!H||!H.readOnly)&&(ne._f.onBlur&&ne._f.onBlur(k),m&&m(0)):ne._f.onChange&&ne._f.onChange(k);const Ft=V(X,Js,la),ca=!an(Ft)||Ta;if(!la&&w.state.next({name:X,type:k.type,values:Pt(c)}),Id)return(y.isValid||v.isValid)&&(t.mode==="onBlur"?la&&j():la||j()),ca&&w.state.next({name:X,...Ta?{}:Ft});if(!la&&Ta&&w.state.next({...a}),t.resolver){const{errors:Qt}=await z([X]);if(re(Js),he){const Fd=ej(a.errors,r,X),Il=ej(Qt,r,Fd.name||X);rt=Il.error,X=Il.name,ln=an(Qt)}}else C([X],!0),rt=(await nj(ne,f.disabled,c,S,t.shouldUseNativeValidation))[X],C([X]),re(Js),he&&(rt?ln=!1:(y.isValid||v.isValid)&&(ln=await ae(r,!0)));he&&(ne._f.deps&&(!Array.isArray(ne._f.deps)||ne._f.deps.length>0)&&le(ne._f.deps),G(X,ln,rt,Ft))}},B=(k,H)=>{if(ce(a.errors,H)&&k.focus)return k.focus(),1},le=async(k,H={})=>{let X,he;const ne=ml(k);if(t.resolver){const re=await I(Nt(k)?k:ne);X=an(re),he=k?!ne.some(Te=>ce(re,Te)):X}else k?(he=(await Promise.all(ne.map(async re=>{const Te=ce(r,re);return await ae(Te&&Te._f?{[re]:Te}:Te)}))).every(Boolean),!(!he&&!a.isValid)&&j()):he=X=await ae(r);return w.state.next({...!An(k)||(y.isValid||v.isValid)&&X!==a.isValid?{}:{name:k},...t.resolver||!k?{isValid:X}:{},errors:a.errors}),H.shouldFocus&&!he&&pl(r,B,k?ne:f.mount),he},Se=(k,H)=>{let X={...d.mount?c:o};return H&&(X=nT(H.dirtyFields?a.dirtyFields:a.touchedFields,X)),Nt(k)?X:An(k)?ce(X,k):k.map(he=>ce(X,he))},M=(k,H)=>({invalid:!!ce((H||a).errors,k),isDirty:!!ce((H||a).dirtyFields,k),error:ce((H||a).errors,k),isValidating:!!ce(a.validatingFields,k),isTouched:!!ce((H||a).touchedFields,k)}),Z=k=>{k&&ml(k).forEach(H=>Rt(a.errors,H)),w.state.next({errors:k?a.errors:{}})},ee=(k,H,X)=>{const he=(ce(r,k,{_f:{}})._f||{}).ref,ne=ce(a.errors,k)||{},{ref:re,message:Te,type:tt,...rt}=ne;ct(a.errors,k,{...rt,...H,ref:he}),w.state.next({name:k,errors:a.errors,isValid:!1}),X&&X.shouldFocus&&he&&he.focus&&he.focus()},se=(k,H)=>aa(k)?w.state.subscribe({next:X=>"values"in X&&k(oe(void 0,H),X)}):oe(k,H,!0),Ee=k=>w.state.subscribe({next:H=>{P9(k.name,H.name,k.exact)&&V9(H,k.formState||y,Ws,k.reRenderRoot)&&k.callback({values:{...c},...a,...H,defaultValues:o})}}).unsubscribe,ke=k=>(d.mount=!0,v={...v,...k.formState},Ee({...k,formState:v})),te=(k,H={})=>{for(const X of k?ml(k):f.mount)f.mount.delete(X),f.array.delete(X),H.keepValue||(Rt(r,X),Rt(c,X)),!H.keepError&&Rt(a.errors,X),!H.keepDirty&&Rt(a.dirtyFields,X),!H.keepTouched&&Rt(a.touchedFields,X),!H.keepIsValidating&&Rt(a.validatingFields,X),!t.shouldUnregister&&!H.keepDefaultValue&&Rt(o,X);w.state.next({values:Pt(c)}),w.state.next({...a,...H.keepDirty?{isDirty:ge()}:{}}),!H.keepIsValid&&j()},De=({disabled:k,name:H})=>{(Cn(k)&&d.mount||k||f.disabled.has(H))&&(k?f.disabled.add(H):f.disabled.delete(H))},Oe=(k,H={})=>{let X=ce(r,k);const he=Cn(H.disabled)||Cn(t.disabled);return ct(r,k,{...X||{},_f:{...X&&X._f?X._f:{ref:{name:k}},name:k,mount:!0,...H}}),f.mount.add(k),X?De({disabled:Cn(H.disabled)?H.disabled:t.disabled,name:k}):D(k,!0,H.value),{...he?{disabled:H.disabled||t.disabled}:{},...t.progressive?{required:!!H.required,min:nl(H.min),max:nl(H.max),minLength:nl(H.minLength),maxLength:nl(H.maxLength),pattern:nl(H.pattern)}:{},name:k,onChange:$,onBlur:$,ref:ne=>{if(ne){Oe(k,H),X=ce(r,k);const re=Nt(ne.value)&&ne.querySelectorAll&&ne.querySelectorAll("input,select,textarea")[0]||ne,Te=A9(re),tt=X._f.refs||[];if(Te?tt.find(rt=>rt===re):re===X._f.ref)return;ct(r,k,{_f:{...X._f,...Te?{refs:[...tt.filter(Hm),re,...Array.isArray(ce(o,k))?[{}]:[]],ref:{type:re.type,name:k}}:{ref:re}}}),D(k,!1,void 0,re)}else X=ce(r,k,{}),X._f&&(X._f.mount=!1),(t.shouldUnregister||H.shouldUnregister)&&!(JE(f.array,k)&&d.action)&&f.unMount.add(k)}}},Fe=()=>t.shouldFocusError&&pl(r,B,f.mount),Ke=k=>{Cn(k)&&(w.state.next({disabled:k}),pl(r,(H,X)=>{const he=ce(r,X);he&&(H.disabled=he._f.disabled||k,Array.isArray(he._f.refs)&&he._f.refs.forEach(ne=>{ne.disabled=he._f.disabled||k}))},0,!1))},et=(k,H)=>async X=>{let he;X&&(X.preventDefault&&X.preventDefault(),X.persist&&X.persist());let ne=Pt(c);if(w.state.next({isSubmitting:!0}),t.resolver){const{errors:re,values:Te}=await z();a.errors=re,ne=Pt(Te)}else await ae(r);if(f.disabled.size)for(const re of f.disabled)Rt(ne,re);if(Rt(a.errors,"root"),an(a.errors)){w.state.next({errors:{}});try{await k(ne,X)}catch(re){he=re}}else H&&await H({...a.errors},X),Fe(),setTimeout(Fe);if(w.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:an(a.errors)&&!he,submitCount:a.submitCount+1,errors:a.errors}),he)throw he},It=(k,H={})=>{ce(r,k)&&(Nt(H.defaultValue)?P(k,Pt(ce(o,k))):(P(k,H.defaultValue),ct(o,k,Pt(H.defaultValue))),H.keepTouched||Rt(a.touchedFields,k),H.keepDirty||(Rt(a.dirtyFields,k),a.isDirty=H.defaultValue?ge(k,Pt(ce(o,k))):ge()),H.keepError||(Rt(a.errors,k),y.isValid&&j()),w.state.next({...a}))},Lt=(k,H={})=>{const X=k?Pt(k):o,he=Pt(X),ne=an(k),re=ne?o:he;if(H.keepDefaultValues||(o=X),!H.keepValues){if(H.keepDirtyValues){const Te=new Set([...f.mount,...Object.keys(Ai(o,c))]);for(const tt of Array.from(Te))ce(a.dirtyFields,tt)?ct(re,tt,ce(c,tt)):P(tt,ce(re,tt))}else{if(oy&&Nt(k))for(const Te of f.mount){const tt=ce(r,Te);if(tt&&tt._f){const rt=Array.isArray(tt._f.refs)?tt._f.refs[0]:tt._f.ref;if(ed(rt)){const ln=rt.closest("form");if(ln){ln.reset();break}}}}if(H.keepFieldsRef)for(const Te of f.mount)P(Te,ce(re,Te));else r={}}c=t.shouldUnregister?H.keepDefaultValues?Pt(o):{}:Pt(re),w.array.next({values:{...re}}),w.state.next({values:{...re}})}f={mount:H.keepDirtyValues?f.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},d.mount=!y.isValid||!!H.keepIsValid||!!H.keepDirtyValues||!t.shouldUnregister&&!an(re),d.watch=!!t.shouldUnregister,w.state.next({submitCount:H.keepSubmitCount?a.submitCount:0,isDirty:ne?!1:H.keepDirty?a.isDirty:!!(H.keepDefaultValues&&!na(k,o)),isSubmitted:H.keepIsSubmitted?a.isSubmitted:!1,dirtyFields:ne?{}:H.keepDirtyValues?H.keepDefaultValues&&c?Ai(o,c):a.dirtyFields:H.keepDefaultValues&&k?Ai(o,k):H.keepDirty?a.dirtyFields:{},touchedFields:H.keepTouched?a.touchedFields:{},errors:H.keepErrors?a.errors:{},isSubmitSuccessful:H.keepIsSubmitSuccessful?a.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:o})},oa=(k,H)=>Lt(aa(k)?k(c):k,H),Ea=(k,H={})=>{const X=ce(r,k),he=X&&X._f;if(he){const ne=he.refs?he.refs[0]:he.ref;
419ne.focus&&(ne.focus(),H.shouldSelect&&aa(ne.select)&&ne.select())}},Ws=k=>{a={...a,...k}},Dr={control:{register:Oe,unregister:te,getFieldState:M,handleSubmit:et,setError:ee,_subscribe:Ee,_runSchema:z,_focusError:Fe,_getWatch:oe,_getDirty:ge,_setValid:j,_setFieldArray:A,_setDisabledField:De,_setErrors:_,_getFieldArray:de,_reset:Lt,_resetDefaultValues:()=>aa(t.defaultValues)&&t.defaultValues().then(k=>{oa(k,t.resetOptions),w.state.next({isLoading:!1})}),_removeUnmounted:ue,_disableForm:Ke,_subjects:w,_proxyFormState:y,get _fields(){return r},get _formValues(){return c},get _state(){return d},set _state(k){d=k},get _defaultValues(){return o},get _names(){return f},set _names(k){f=k},get _formState(){return a},get _options(){return t},set _options(k){t={...t,...k}}},subscribe:ke,trigger:le,register:Oe,handleSubmit:et,watch:se,setValue:P,getValues:Se,reset:oa,resetField:It,clearErrors:Z,unregister:te,setError:ee,setFocus:Ea,getFieldState:M};return{...Dr,formControl:Dr}}function F9(e={}){const t=je.useRef(void 0),a=je.useRef(void 0),[r,o]=je.useState({isDirty:!1,isValidating:!1,isLoading:aa(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:aa(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!aa(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:d,...f}=I9(e);t.current={...f,formState:r}}const c=t.current.control;return c._options=e,dy(()=>{const d=c._subscribe({formState:c._proxyFormState,callback:()=>o({...c._formState}),reRenderRoot:!0});return o(f=>({...f,isReady:!0})),c._formState.isReady=!0,d},[c]),je.useEffect(()=>c._disableForm(e.disabled),[c,e.disabled]),je.useEffect(()=>{e.mode&&(c._options.mode=e.mode),e.reValidateMode&&(c._options.reValidateMode=e.reValidateMode)},[c,e.mode,e.reValidateMode]),je.useEffect(()=>{e.errors&&(c._setErrors(e.errors),c._focusError())},[c,e.errors]),je.useEffect(()=>{e.shouldUnregister&&c._subjects.state.next({values:c._getWatch()})},[c,e.shouldUnregister]),je.useEffect(()=>{if(c._proxyFormState.isDirty){const d=c._getDirty();d!==r.isDirty&&c._subjects.state.next({isDirty:d})}},[c,r.isDirty]),je.useEffect(()=>{e.values&&!na(e.values,a.current)?(c._reset(e.values,{keepFieldsRef:!0,...c._options.resetOptions}),a.current=e.values,o(d=>({...d}))):c._resetDefaultValues()},[c,e.values]),je.useEffect(()=>{c._state.mount||(c._setValid(),c._state.mount=!0),c._state.watch&&(c._state.watch=!1,c._subjects.state.next({...c._formState})),c._removeUnmounted()}),t.current.formState=eT(r,c),t.current}var H9=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],q9=H9.reduce((e,t)=>{const a=RS(`Primitive.${t}`),r=x.forwardRef((o,c)=>{const{asChild:d,...f}=o,m=d?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(m,{...f,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),$9="Label",lT=x.forwardRef((e,t)=>l.jsx(q9.label,{...e,ref:t,onMouseDown:a=>{a.target.closest("button, input, select, textarea")||(e.onMouseDown?.(a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));lT.displayName=$9;var cT=lT;const G9=Al("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),uT=x.forwardRef(({className:e,...t},a)=>l.jsx(cT,{ref:a,className:Le(G9(),e),...t}));uT.displayName=cT.displayName;const Y9=N9,dT=x.createContext(null),_s=({...e})=>l.jsx(dT.Provider,{value:{name:e.name},children:l.jsx(T9,{...e})}),Ld=()=>{const e=x.useContext(dT),t=x.useContext(fT),{getFieldState:a,formState:r}=zd();if(!e)throw new Error("useFormField should be used within <FormField>");if(!t)throw new Error("useFormField should be used within <FormItem>");const o=a(e.name,r),{id:c}=t;return{id:c,name:e.name,formItemId:`${c}-form-item`,formDescriptionId:`${c}-form-item-description`,formMessageId:`${c}-form-item-message`,...o}},fT=x.createContext(null),Za=x.forwardRef(({className:e,...t},a)=>{const r=x.useId();return l.jsx(fT.Provider,{value:{id:r},children:l.jsx("div",{ref:a,className:Le("space-y-2",e),...t})})});Za.displayName="FormItem";const Ms=x.forwardRef(({className:e,...t},a)=>{const{error:r,formItemId:o}=Ld();return l.jsx(uT,{ref:a,className:Le(r&&"text-destructive",e),htmlFor:o,...t})});Ms.displayName="FormLabel";const Ka=x.forwardRef(({...e},t)=>{const{error:a,formItemId:r,formDescriptionId:o,formMessageId:c}=Ld();return l.jsx(kS,{ref:t,id:r,"aria-describedby":a?`${o} ${c}`:`${o}`,"aria-invalid":!!a,...e})});Ka.displayName="FormControl";const Z9=x.forwardRef(({className:e,...t},a)=>{const{formDescriptionId:r}=Ld();return l.jsx("p",{ref:a,id:r,className:Le("text-[0.8rem] text-muted-foreground",e),...t})});Z9.displayName="FormDescription";const Os=x.forwardRef(({className:e,children:t,...a},r)=>{const{error:o,formMessageId:c}=Ld(),d=o?String(o?.message??""):t;return d?l.jsx("p",{ref:r,id:c,className:Le("text-[0.8rem] font-medium text-destructive",e),...a,children:d}):null});Os.displayName="FormMessage";const aj=(e,t,a)=>{if(e&&"reportValidity"in e){const r=ce(a,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},hT=(e,t)=>{for(const a in t.fields){const r=t.fields[a];r&&r.ref&&"reportValidity"in r.ref?aj(r.ref,a,e):r.refs&&r.refs.forEac
vendor: 3,036 bytes, line 419
419h(o=>aj(o,a,e))}},K9=(e,t)=>{t.shouldUseNativeValidation&&hT(e,t);const a={};for(const r in e){const o=ce(t.fields,r),c=Object.assign(e[r]||{},{ref:o&&o.ref});if(X9(t.names||Object.keys(e),r)){const d=Object.assign({},ce(a,r));ct(d,"root",c),ct(a,r,d)}else ct(a,r,c)}return a},X9=(e,t)=>e.some(a=>a.startsWith(t+"."));var Q9=function(e,t){for(var a={};e.length;){var r=e[0],o=r.code,c=r.message,d=r.path.join(".");if(!a[d])if("unionErrors"in r){var f=r.unionErrors[0].errors[0];a[d]={message:f.message,type:f.code}}else a[d]={message:c,type:o};if("unionErrors"in r&&r.unionErrors.forEach(function(y){return y.errors.forEach(function(v){return e.push(v)})}),t){var m=a[d].types,p=m&&m[r.code];a[d]=tT(d,t,a,o,p?[].concat(p,r.message):r.message)}e.shift()}return a},W9=function(e,t,a){return a===void 0&&(a={}),function(r,o,c){try{return Promise.resolve((function(d,f){try{var m=Promise.resolve(e[a.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(p){return c.shouldUseNativeValidation&&hT({},c),{errors:{},values:a.raw?r:p}})}catch(p){return f(p)}return m&&m.then?m.then(void 0,f):m})(0,function(d){if((function(f){return Array.isArray(f?.errors)})(d))return{values:{},errors:K9(Q9(d.errors,!c.shouldUseNativeValidation&&c.criteriaMode==="all"),c)};throw d}))}catch(d){return Promise.reject(d)}}},st;(function(e){e.assertEqual=o=>{};function t(o){}e.assertIs=t;function a(o){throw new Error}e.assertNever=a,e.arrayToEnum=o=>{const c={};for(const d of o)c[d]=d;return c},e.getValidEnumValues=o=>{const c=e.objectKeys(o).filter(f=>typeof o[o[f]]!="number"),d={};for(const f of c)d[f]=o[f];return e.objectValues(d)},e.objectValues=o=>e.objectKeys(o).map(function(c){return o[c]}),e.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},e.find=(o,c)=>{for(const d of o)if(c(d))return d},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&Number.isFinite(o)&&Math.floor(o)===o;function r(o,c=" | "){return o.map(d=>typeof d=="string"?`'${d}'`:d).join(c)}e.joinValues=r,e.jsonStringifyReplacer=(o,c)=>typeof c=="bigint"?c.toString():c})(st||(st={}));var sj;(function(e){e.mergeShapes=(t,a)=>({...t,...a})})(sj||(sj={}));const be=st.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ds=e=>{switch(typeof e){case"undefined":return be.undefined;case"string":return be.string;case"number":return Number.isNaN(e)?be.nan:be.number;case"boolean":return be.boolean;case"function":return be.function;case"bigint":return be.bigint;case"symbol":return be.symbol;case"object":return Array.isArray(e)?be.array:e===null?be.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?be.promise:typeof Map<"u"&&e instanceof Map?be.map:typeof Set<"u"&&e instanceof Set?be.set:typeof Date<"u"&&e instanceof Date?be.date:be.object;default:return be.unknown}}
vendor: 39,484 bytes, line 419
419,ie=st.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 ns extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const a=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,a):this.__proto__=a,this.name="ZodError",this.issues=t}format(t){const a=t||function(c){return c.message},r={_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)r._errors.push(a(d));else{let f=r,m=0;for(;m<d.path.length;){const p=d.path[m];m===d.path.length-1?(f[p]=f[p]||{_errors:[]},f[p]._errors.push(a(d))):f[p]=f[p]||{_errors:[]},f=f[p],m++}}};return o(this),r}static assert(t){if(!(t instanceof ns))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,st.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=a=>a.message){const a={},r=[];for(const o of this.issues)if(o.path.length>0){const c=o.path[0];a[c]=a[c]||[],a[c].push(t(o))}else r.push(t(o));return{formErrors:r,fieldErrors:a}}get formErrors(){return this.flatten()}}ns.create=e=>new ns(e);const Ip=(e,t)=>{let a;switch(e.code){case ie.invalid_type:e.received===be.undefined?a="Required":a=`Expected ${e.expected}, received ${e.received}`;break;case ie.invalid_literal:a=`Invalid literal value, expected ${JSON.stringify(e.expected,st.jsonStringifyReplacer)}`;break;case ie.unrecognized_keys:a=`Unrecognized key(s) in object: ${st.joinValues(e.keys,", ")}`;break;case ie.invalid_union:a="Invalid input";break;case ie.invalid_union_discriminator:a=`Invalid discriminator value. Expected ${st.joinValues(e.options)}`;break;case ie.invalid_enum_value:a=`Invalid enum value. Expected ${st.joinValues(e.options)}, received '${e.received}'`;break;case ie.invalid_arguments:a="Invalid function arguments";break;case ie.invalid_return_type:a="Invalid function return type";break;case ie.invalid_date:a="Invalid date";break;case ie.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(a=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(a=`${a} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?a=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?a=`Invalid input: must end with "${e.validation.endsWith}"`:st.assertNever(e.validation):e.validation!=="regex"?a=`Invalid ${e.validation}`:a="Invalid";break;case ie.too_small:e.type==="array"?a=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?a=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?a=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?a=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?a=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:a="Invalid input";break;case ie.too_big:e.type==="array"?a=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?a=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?a=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?a=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?a=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:a="Invalid input";break;case ie.custom:a="Invalid input";break;case ie.invalid_intersection_types:a="Intersection results could not be merged";break;case ie.not_multiple_of:a=`Number must be a multiple of ${e.multipleOf}`;break;case ie.not_finite:a="Number must be finite";break;default:a=t.defaultError,st.assertNever(e)}return{message:a}};let J9=Ip;function eB(){return J9}const tB=e=>{const{data:t,path:a,errorMaps:r,issueData:o}=e,c=[...a,...o.path||[]],d={...o,path:c};if(o.message!==void 0)return{...o,path:c,message:o.message};let f="";const m=r.filter(p=>!!p).slice().reverse();for(const p of m)f=p(d,{data:t,defaultError:f}).message;return{...o,path:c,message:f}};function pe(e,t){const a=eB(),r=tB({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,a,a===Ip?void 0:Ip].filter(o=>!!o)});e.common.issues.push(r)}class kn{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,a){const r=[];for(const o of a){if(o.status==="aborted")return Pe;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,a){const r=[];for(const o of a){const c=await o.key,d=await o.value;r.push({key:c,value:d})}return kn.mergeObjectSync(t,r)}static mergeObjectSync(t,a){const r={};for(const o of a){const{key:c,value:d}=o;if(c.status==="aborted"||d.status==="aborted")return Pe;c.status==="dirty"&&t.dirty(),d.status==="dirty"&&t.dirty(),c.value!=="__proto__"&&(typeof d.value<"u"||o.alwaysSet)&&(r[c.value]=d.value)}return{status:t.value,value:r}}}const Pe=Object.freeze({status:"aborted"}),rl=e=>({status:"dirty",value:e}),Gn=e=>({status:"valid",value:e}),rj=e=>e.status==="aborted",ij=e=>e.status==="dirty",qi=e=>e.status==="valid",nd=e=>typeof Promise<"u"&&e instanceof Promise;var Ne;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(Ne||(Ne={}));class Hs{constructor(t,a,r,o){this._cachedPath=[],this.parent=t,this.data=a,this._path=r,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 oj=(e,t)=>{if(qi(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const a=new ns(e.common.issues);return this._error=a,this._error}}};function qe(e){if(!e)return{};const{errorMap:t,invalid_type_error:a,required_error:r,description:o}=e;if(t&&(a||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(d,f)=>{const{message:m}=e;return d.code==="invalid_enum_value"?{message:m??f.defaultError}:typeof f.data>"u"?{message:m??r??f.defaultError}:d.code!=="invalid_type"?{message:f.defaultError}:{message:m??a??f.defaultError}},description:o}}class Je{get description(){return this._def.description}_getType(t){return Ds(t.data)}_getOrReturnCtx(t,a){return a||{common:t.parent.common,data:t.data,parsedType:Ds(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new kn,ctx:{common:t.parent.common,data:t.data,parsedType:Ds(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const a=this._parse(t);if(nd(a))throw new Error("Synchronous parse encountered promise.");return a}_parseAsync(t){const a=this._parse(t);return Promise.resolve(a)}parse(t,a){const r=this.safeParse(t,a);if(r.success)return r.data;throw r.error}safeParse(t,a){const r={common:{issues:[],async:a?.async??!1,contextualErrorMap:a?.errorMap},path:a?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ds(t)},o=this._parseSync({data:t,path:r.path,parent:r});return oj(r,o)}"~validate"(t){const a={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ds(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:a});return qi(r)?{value:r.value}:{issues:a.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),a.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:a}).then(r=>qi(r)?{value:r.value}:{issues:a.common.issues})}async parseAsync(t,a){const r=await this.safeParseAsync(t,a);if(r.success)return r.data;throw r.error}async safeParseAsync(t,a){const r={common:{issues:[],contextualErrorMap:a?.errorMap,async:!0},path:a?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ds(t)},o=this._parse({data:t,path:r.path,parent:r}),c=await(nd(o)?o:Promise.resolve(o));return oj(r,c)}refine(t,a){const r=o=>typeof a=="string"||typeof a>"u"?{message:a}:typeof a=="function"?a(o):a;return this._refinement((o,c)=>{const d=t(o),f=()=>c.addIssue({code:ie.custom,...r(o)});return typeof Promise<"u"&&d instanceof Promise?d.then(m=>m?!0:(f(),!1)):d?!0:(f(),!1)})}refinement(t,a){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof a=="function"?a(r,o):a),!1))}_refinement(t){return new Gi({schema:this,typeName:ze.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,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:a=>this["~validate"](a)}}optional(){return Ls.create(this,this._def)}nullable(){return Yi.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ba.create(this)}promise(){return id.create(this,this._def)}or(t){return sd.create([this,t],this._def)}and(t){return rd.create(this,t,this._def)}transform(t){return new Gi({...qe(this._def),schema:this,typeName:ze.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const a=typeof t=="function"?t:()=>t;return new qp({...qe(this._def),innerType:this,defaultValue:a,typeName:ze.ZodDefault})}brand(){return new SB({typeName:ze.ZodBranded,type:this,...qe(this._def)})}catch(t){const a=typeof t=="function"?t:()=>t;return new $p({...qe(this._def),innerType:this,catchValue:a,typeName:ze.ZodCatch})}describe(t){const a=this.constructor;return new a({...this._def,description:t})}pipe(t){return my.create(this,t)}readonly(){return Gp.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const nB=/^c[^\s-]{8,}$/i,aB=/^[0-9a-z]+$/,sB=/^[0-9A-HJKMNP-TV-Z]{26}$/i,rB=/^[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,iB=/^[a-z0-9_-]{21}$/i,oB=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,lB=/^[-+]?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)?)??$/,cB=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,uB="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let qm;const dB=/^(?:(?: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])$/,fB=/^(?:(?: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])$/,hB=/^(([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]))$/,mB=/^(([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])$/,pB=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,gB=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,mT="((\\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])))",yB=new RegExp(`^${mT}$`);function pT(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const a=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${a}`}function xB(e){return new RegExp(`^${pT(e)}$`)}function vB(e){let t=`${mT}T${pT(e)}`;const a=[];return a.push(e.local?"Z?":"Z"),e.offset&&a.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${a.join("|")})`,new RegExp(`^${t}$`)}function bB(e,t){return!!((t==="v4"||!t)&&dB.test(e)||(t==="v6"||!t)&&hB.test(e))}function wB(e,t){if(!oB.test(e))return!1;try{const[a]=e.split(".");if(!a)return!1;const r=a.replace(/-/g,"+").replace(/_/g,"/").padEnd(a.length+(4-a.length%4)%4,"="),o=JSON.parse(atob(r));return!(typeof o!="object"||o===null||"typ"in o&&o?.typ!=="JWT"||!o.alg||t&&o.alg!==t)}catch{return!1}}function jB(e,t){return!!((t==="v4"||!t)&&fB.test(e)||(t==="v6"||!t)&&mB.test(e))}class Vs extends Je{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==be.string){const c=this._getOrReturnCtx(t);return pe(c,{code:ie.invalid_type,expected:be.string,received:c.parsedType}),Pe}const r=new kn;let o;for(const c of this._def.checks)if(c.kind==="min")t.data.length<c.value&&(o=this._getOrReturnCtx(t,o),pe(o,{code:ie.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!1,message:c.message}),r.dirty());else if(c.kind==="max")t.data.length>c.value&&(o=this._getOrReturnCtx(t,o),pe(o,{code:ie.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!1,message:c.message}),r.dirty());else if(c.kind==="length"){const d=t.data.length>c.value,f=t.data.length<c.value;(d||f)&&(o=this._getOrReturnCtx(t,o),d?pe(o,{code:ie.too_big,maximum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}):f&&pe(o,{code:ie.too_small,minimum:c.value,type:"string",inclusive:!0,exact:!0,message:c.message}),r.dirty())}else if(c.kind==="email")cB.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"email",code:ie.invalid_string,message:c.message}),r.dirty());else if(c.kind==="emoji")qm||(qm=new RegExp(uB,"u")),qm.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"emoji",code:ie.invalid_string,message:c.message}),r.dirty());else if(c.kind==="uuid")rB.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"uuid",code:ie.invalid_string,message:c.message}),r.dirty());else if(c.kind==="nanoid")iB.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"nanoid",code:ie.invalid_string,message:c.message}),r.dirty());else if(c.kind==="cuid")nB.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"cuid",code:ie.invalid_string,message:c.message}),r.dirty());else if(c.kind==="cuid2")aB.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"cuid2",code:ie.invalid_string,message:c.message}),r.dirty());else if(c.kind==="ulid")sB.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"ulid",code:ie.invalid_string,message:c.message}),r.dirty());else if(c.kind==="url")try{new URL(t.data)}catch{o=this._getOrReturnCtx(t,o),pe(o,{validation:"url",code:ie.invalid_string,message:c.message}),r.dirty()}else c.kind==="regex"?(c.regex.lastIndex=0,c.regex.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"regex",code:ie.invalid_string,message:c.message}),r.dirty())):c.kind==="trim"?t.data=t.data.trim():c.kind==="includes"?t.data.includes(c.value,c.position)||(o=this._getOrReturnCtx(t,o),pe(o,{code:ie.invalid_string,validation:{includes:c.value,position:c.position},message:c.message}),r.dirty()):c.kind==="toLowerCase"?t.data=t.data.toLowerCase():c.kind==="toUpperCase"?t.data=t.data.toUpperCase():c.kind==="startsWith"?t.data.startsWith(c.value)||(o=this._getOrReturnCtx(t,o),pe(o,{code:ie.invalid_string,validation:{startsWith:c.value},message:c.message}),r.dirty()):c.kind==="endsWith"?t.data.endsWith(c.value)||(o=this._getOrReturnCtx(t,o),pe(o,{code:ie.invalid_string,validation:{endsWith:c.value},message:c.message}),r.dirty()):c.kind==="datetime"?vB(c).test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{code:ie.invalid_string,validation:"datetime",message:c.message}),r.dirty()):c.kind==="date"?yB.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{code:ie.invalid_string,validation:"date",message:c.message}),r.dirty()):c.kind==="time"?xB(c).test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{code:ie.invalid_string,validation:"time",message:c.message}),r.dirty()):c.kind==="duration"?lB.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"duration",code:ie.invalid_string,message:c.message}),r.dirty()):c.kind==="ip"?bB(t.data,c.version)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"ip",code:ie.invalid_string,message:c.message}),r.dirty()):c.kind==="jwt"?wB(t.data,c.alg)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"jwt",code:ie.invalid_string,message:c.message}),r.dirty()):c.kind==="cidr"?jB(t.data,c.version)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"cidr",code:ie.invalid_string,message:c.message}),r.dirty()):c.kind==="base64"?pB.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"base64",code:ie.invalid_string,message:c.message}),r.dirty()):c.kind==="base64url"?gB.test(t.data)||(o=this._getOrReturnCtx(t,o),pe(o,{validation:"base64url",code:ie.invalid_string,message:c.message}),r.dirty()):st.assertNever(c);return{status:r.value,value:t.data}}_regex(t,a,r){return this.refinement(o=>t.test(o),{validation:a,code:ie.invalid_string,...Ne.errToObj(r)})}_addCheck(t){return new Vs({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Ne.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Ne.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Ne.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Ne.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Ne.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Ne.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Ne.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Ne.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Ne.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Ne.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Ne.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Ne.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Ne.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...Ne.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...Ne.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...Ne.errToObj(t)})}regex(t,a){return this._addCheck({kind:"regex",regex:t,...Ne.errToObj(a)})}includes(t,a){return this._addCheck({kind:"includes",value:t,position:a?.position,...Ne.errToObj(a?.message)})}startsWith(t,a){return this._addCheck({kind:"startsWith",value:t,...Ne.errToObj(a)})}endsWith(t,a){return this._addCheck({kind:"endsWith",value:t,...Ne.errToObj(a)})}min(t,a){return this._addCheck({kind:"min",value:t,...Ne.errToObj(a)})}max(t,a){return this._addCheck({kind:"max",value:t,...Ne.errToObj(a)})}length(t,a){return this._addCheck({kind:"length",value:t,...Ne.errToObj(a)})}nonempty(t){return this.min(1,Ne.errToObj(t))}trim(){return new Vs({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Vs({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Vs({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const a of this._def.checks)a.kind==="min"&&(t===null||a.value>t)&&(t=a.value);return t}get maxLength(){let t=null;for(const a of this._def.checks)a.kind==="max"&&(t===null||a.value<t)&&(t=a.value);return t}}Vs.create=e=>new Vs({checks:[],typeName:ze.ZodString,coerce:e?.coerce??!1,...qe(e)});function NB(e,t){const a=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=a>r?a:r,c=Number.parseInt(e.toFixed(o).replace(".","")),d=Number.parseInt(t.toFixed(o).replace(".",""));return c%d/10**o}class Cl extends Je{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==be.number){const c=this._getOrReturnCtx(t);return pe(c,{code:ie.invalid_type,expected:be.number,received:c.parsedType}),Pe}let r;const o=new kn;for(const c of this._def.checks)c.kind==="int"?st.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),pe(r,{code:ie.invalid_type,expected:"integer",received:"float",message:c.message}),o.dirty()):c.kind==="min"?(c.inclusive?t.data<c.value:t.data<=c.value)&&(r=this._getOrReturnCtx(t,r),pe(r,{code:ie.too_small,minimum:c.value,type:"number",inclusive:c.inclusive,exact:!1,message:c.message}),o.dirty()):c.kind==="max"?(c.inclusive?t.data>c.value:t.data>=c.value)&&(r=this._getOrReturnCtx(t,r),pe(r,{code:ie.too_big,maximum:c.value,type:"number",inclusive:c.inclusive,exact:!1,message:c.message}),o.dirty()):c.kind==="multipleOf"?NB(t.data,c.value)!==0&&(r=this._getOrReturnCtx(t,r),pe(r,{code:ie.not_multiple_of,multipleOf:c.value,message:c.message}),o.dirty()):c.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),pe(r,{code:ie.not_finite,message:c.message}),o.dirty()):st.assertNever(c);return{status:o.value,value:t.data}}gte(t,a){return this.setLimit("min",t,!0,Ne.toString(a))}gt(t,a){return this.setLimit("min",t,!1,Ne.toString(a))}lte(t,a){return this.setLimit("max",t,!0,Ne.toString(a))}lt(t,a){return this.setLimit("max",t,!1,Ne.toString(a))}setLimit(t,a,r,o){return new Cl({...this._def,checks:[...this._def.checks,{kind:t,value:a,inclusive:r,message:Ne.toString(o)}]})}_addCheck(t){return new Cl({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Ne.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ne.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ne.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ne.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ne.toString(t)})}multipleOf(t,a){return this._addCheck({kind:"multipleOf",value:t,message:Ne.toString(a)})}finite(t){return this._addCheck({kind:"finite",message:Ne.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ne.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ne.toString(t)})}get minValue(){let t=null;for(const a of this._def.checks)a.kind==="min"&&(t===null||a.value>t)&&(t=a.value);return t}get maxValue(){let t=null;for(const a of this._def.checks)a.kind==="max"&&(t===null||a.value<t)&&(t=a.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&st.isInteger(t.value))}get isFinite(){let t=null,a=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(a===null||r.value>a)&&(a=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(a)&&Number.isFinite(t)}}Cl.create=e=>new Cl({checks:[],typeName:ze.ZodNumber,coerce:e?.coerce||!1,...qe(e)});class El extends Je{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==be.bigint)return this._getInvalidInput(t);let r;const o=new kn;for(const c of this._def.checks)c.kind==="min"?(c.inclusive?t.data<c.value:t.data<=c.value)&&(r=this._getOrReturnCtx(t,r),pe(r,{code:ie.too_small,type:"bigint",minimum:c.value,inclusive:c.inclusive,message:c.message}),o.dirty()):c.kind==="max"?(c.inclusive?t.data>c.value:t.data>=c.value)&&(r=this._getOrReturnCtx(t,r),pe(r,{code:ie.too_big,type:"bigint",maximum:c.value,inclusive:c.inclusive,message:c.message}),o.dirty()):c.kind==="multipleOf"?t.data%c.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),pe(r,{code:ie.not_multiple_of,multipleOf:c.value,message:c.message}),o.dirty()):st.assertNever(c);return{status:o.value,value:t.data}}_getInvalidInput(t){const a=this._getOrReturnCtx(t);return pe(a,{code:ie.invalid_type,expected:be.bigint,received:a.parsedType}),Pe}gte(t,a){return this.setLimit("min",t,!0,Ne.toString(a))}gt(t,a){return this.setLimit("min",t,!1,Ne.toString(a))}lte(t,a){return this.setLimit("max",t,!0,Ne.toString(a))}lt(t,a){return this.setLimit("max",t,!1,Ne.toString(a))}setLimit(t,a,r,o){return new El({...this._def,checks:[...this._def.checks,{kind:t,value:a,inclusive:r,message:Ne.toString(o)}]})}_addCheck(t){return new El({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Ne.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Ne.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Ne.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Ne.toString(t)})}multipleOf(t,a){return this._addCheck({kind:"multipleOf",value:t,message:Ne.toString(a)})}get minValue(){let t=null;for(const a of this._def.checks)a.kind==="min"&&(t===null||a.value>t)&&(t=a.value);return t}get maxValue(){let t=null;for(const a of this._def.checks)a.kind==="max"&&(t===null||a.value<t)&&(t=a.value);return t}}El.create=e=>new El({checks:[],typeName:ze.ZodBigInt,coerce:e?.coerce??!1,...qe(e)});class Fp extends Je{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==be.boolean){const r=this._getOrReturnCtx(t);return pe(r,{code:ie.invalid_type,expected:be.boolean,received:r.parsedType}),Pe}return Gn(t.data)}}Fp.create=e=>new Fp({typeName:ze.ZodBoolean,coerce:e?.coerce||!1,...qe(e)});class ad extends Je{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==be.date){const c=this._getOrReturnCtx(t);return pe(c,{code:ie.invalid_type,expected:be.date,received:c.parsedType}),Pe}if(Number.isNaN(t.data.getTime())){const c=this._getOrReturnCtx(t);return pe(c,{code:ie.invalid_date}),Pe}const r=new kn;let o;for(const c of this._def.checks)c.kind==="min"?t.data.getTime()<c.value&&(o=this._getOrReturnCtx(t,o),pe(o,{code:ie.too_small,message:c.message,inclusive:!0,exact:!1,minimum:c.value,type:"date"}),r.dirty()):c.kind==="max"?t.data.getTime()>c.value&&(o=this._getOrReturnCtx(t,o),pe(o,{code:ie.too_big,message:c.message,inclusive:!0,exact:!1,maximum:c.value,type:"date"}),r.dirty()):st.assertNever(c);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new ad({...this._def,checks:[...this._def.checks,t]})}min(t,a){return this._addCheck({kind:"min",value:t.getTime(),message:Ne.toString(a)})}max(t,a){return this._addCheck({kind:"max",value:t.getTime(),message:Ne.toString(a)})}get minDate(){let t=null;for(const a of this._def.checks)a.kind==="min"&&(t===null||a.value>t)&&(t=a.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const a of this._def.checks)a.kind==="max"&&(t===null||a.value<t)&&(t=a.value);return t!=null?new Date(t):null}}ad.create=e=>new ad({checks:[],coerce:e?.coerce||!1,typeName:ze.ZodDate,...qe(e)});class lj extends Je{_parse(t){if(this._getType(t)!==be.symbol){const r=this._getOrReturnCtx(t);return pe(r,{code:ie.invalid_type,expected:be.symbol,received:r.parsedType}),Pe}return Gn(t.data)}}lj.create=e=>new lj({typeName:ze.ZodSymbol,...qe(e)});class cj extends Je{_parse(t){if(this._getType(t)!==be.undefined){const r=this._getOrReturnCtx(t);return pe(r,{code:ie.invalid_type,expected:be.undefined,received:r.parsedType}),Pe}return Gn(t.data)}}cj.create=e=>new cj({typeName:ze.ZodUndefined,...qe(e)});class uj extends Je{_parse(t){if(this._getType(t)!==be.null){const r=this._getOrReturnCtx(t);return pe(r,{code:ie.invalid_type,expected:be.null,received:r.parsedType}),Pe}return Gn(t.data)}}uj.create=e=>new uj({typeName:ze.ZodNull,...qe(e)});class dj extends Je{constructor(){super(...arguments),this._any=!0}_parse(t){return Gn(t.data)}}dj.create=e=>new dj({typeName:ze.ZodAny,...qe(e)});class fj extends Je{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Gn(t.data)}}fj.create=e=>new fj({typeName:ze.ZodUnknown,...qe(e)});class qs extends Je{_parse(t){const a=this._getOrReturnCtx(t);return pe(a,{code:ie.invalid_type,expected:be.never,received:a.parsedType}),Pe}}qs.create=e=>new qs({typeName:ze.ZodNever,...qe(e)});class hj extends Je{_parse(t){if(this._getType(t)!==be.undefined){const r=this._getOrReturnCtx(t);return pe(r,{code:ie.invalid_type,expected:be.void,received:r.parsedType}),Pe}return Gn(t.data)}}hj.create=e=>new hj({typeName:ze.ZodVoid,...qe(e)});class ba extends Je{_parse(t){const{ctx:a,status:r}=this._processInputParams(t),o=this._def;if(a.parsedType!==be.array)return pe(a,{code:ie.invalid_type,expected:be.array,received:a.parsedType}),Pe;if(o.exactLength!==null){const d=a.data.length>o.exactLength.value,f=a.data.length<o.exactLength.value;(d||f)&&(pe(a,{code:d?ie.too_big:ie.too_small,minimum:f?o.exactLength.value:void 0,maximum:d?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),r.dirty())}if(o.minLength!==null&&a.data.length<o.minLength.value&&(pe(a,{code:ie.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),r.dirty()),o.maxLength!==null&&a.data.length>o.maxLength.value&&(pe(a,{code:ie.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),a.common.async)return Promise.all([...a.data].map((d,f)=>o.type._parseAsync(new Hs(a,d,a.path,f)))).then(d=>kn.mergeArray(r,d));const c=[...a.data].map((d,f)=>o.type._parseSync(new Hs(a,d,a.path,f)));return kn.mergeArray(r,c)}get element(){return this._def.type}min(t,a){return new ba({...this._def,minLength:{value:t,message:Ne.toString(a)}})}max(t,a){return new ba({...this._def,maxLength:{value:t,message:Ne.toString(a)}})}length(t,a){return new ba({...this._def,exactLength:{value:t,message:Ne.toString(a)}})}nonempty(t){return this.min(1,t)}}ba.create=(e,t)=>new ba({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ze.ZodArray,...qe(t)});function _i(e){if(e instanceof Mt){const t={};for(const a in e.shape){const r=e.shape[a];t[a]=Ls.create(_i(r))}return new Mt({...e._def,shape:()=>t})}else return e instanceof ba?new ba({...e._def,type:_i(e.element)}):e instanceof Ls?Ls.create(_i(e.unwrap())):e instanceof Yi?Yi.create(_i(e.unwrap())):e instanceof Mr?Mr.create(e.items.map(t=>_i(t))):e}class Mt extends Je{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),a=st.objectKeys(t);return this._cached={shape:t,keys:a},this._cached}_parse(t){if(this._getType(t)!==be.object){const p=this._getOrReturnCtx(t);return pe(p,{code:ie.invalid_type,expected:be.object,received:p.parsedType}),Pe}const{status:r,ctx:o}=this._processInputParams(t),{shape:c,keys:d}=this._getCached(),f=[];if(!(this._def.catchall instanceof qs&&this._def.unknownKeys==="strip"))for(const p in o.data)d.includes(p)||f.push(p);const m=[];for(const p of d){const y=c[p],v=o.data[p];m.push({key:{status:"valid",value:p},value:y._parse(new Hs(o,v,o.path,p)),alwaysSet:p in o.data})}if(this._def.catchall instanceof qs){const p=this._def.unknownKeys;if(p==="passthrough")for(const y of f)m.push({key:{status:"valid",value:y},value:{status:"valid",value:o.data[y]}});else if(p==="strict")f.length>0&&(pe(o,{code:ie.unrecognized_keys,keys:f}),r.dirty());else if(p!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const p=this._def.catchall;for(const y of f){const v=o.data[y];m.push({key:{status:"valid",value:y},value:p._parse(new Hs(o,v,o.path,y)),alwaysSet:y in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const p=[];for(const y of m){const v=await y.key,w=await y.value;p.push({key:v,value:w,alwaysSet:y.alwaysSet})}return p}).then(p=>kn.mergeObjectSync(r,p)):kn.mergeObjectSync(r,m)}get shape(){return this._def.shape()}strict(t){return Ne.errToObj,new Mt({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(a,r)=>{const o=this._def.errorMap?.(a,r).message??r.defaultError;return a.code==="unrecognized_keys"?{message:Ne.errToObj(t).message??o}:{message:o}}}:{}})}strip(){return new Mt({...this._def,unknownKeys:"strip"})}passthrough(){return new Mt({...this._def,unknownKeys:"passthrough"})}extend(t){return new Mt({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Mt({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ze.ZodObject})}setKey(t,a){return this.augment({[t]:a})}catchall(t){return new Mt({...this._def,catchall:t})}pick(t){const a={};for(const r of st.objectKeys(t))t[r]&&this.shape[r]&&(a[r]=this.shape[r]);return new Mt({...this._def,shape:()=>a})}omit(t){const a={};for(const r of st.objectKeys(this.shape))t[r]||(a[r]=this.shape[r]);return new Mt({...this._def,shape:()=>a})}deepPartial(){return _i(this)}partial(t){const a={};for(const r of st.objectKeys(this.shape)){const o=this.shape[r];t&&!t[r]?a[r]=o:a[r]=o.optional()}return new Mt({...this._def,shape:()=>a})}required(t){const a={};for(const r of st.objectKeys(this.shape))if(t&&!t[r])a[r]=this.shape[r];else{let c=this.shape[r];for(;c instanceof Ls;)c=c._def.innerType;a[r]=c}return new Mt({...this._def,shape:()=>a})}keyof(){return gT(st.objectKeys(this.shape))}}Mt.create=(e,t)=>new Mt({shape:()=>e,unknownKeys:"strip",catchall:qs.create(),typeName:ze.ZodObject,...qe(t)});Mt.strictCreate=(e,t)=>new Mt({shape:()=>e,unknownKeys:"strict",catchall:qs.create(),typeName:ze.ZodObject,...qe(t)});Mt.lazycreate=(e,t)=>new Mt({shape:e,unknownKeys:"strip",catchall:qs.create(),typeName:ze.ZodObject,...qe(t)});class sd extends Je{_parse(t){const{ctx:a}=this._processInputParams(t),r=this._def.options;function o(c){for(const f of c)if(f.result.status==="valid")return f.result;for(const f of c)if(f.result.status==="dirty")return a.common.issues.push(...f.ctx.common.issues),f.result;const d=c.map(f=>new ns(f.ctx.common.issues));return pe(a,{code:ie.invalid_union,unionErrors:d}),Pe}if(a.common.async)return Promise.all(r.map(async c=>{const d={...a,common:{...a.common,issues:[]},parent:null};return{result:await c._parseAsync({data:a.data,path:a.path,parent:d}),ctx:d}})).then(o);{let c;const d=[];for(const m of r){const p={...a,common:{...a.common,issues:[]},parent:null},y=m._parseSync({data:a.data,path:a.path,parent:p});if(y.status==="valid")return y;y.status==="dirty"&&!c&&(c={result:y,ctx:p}),p.common.issues.length&&d.push(p.common.issues)}if(c)return a.common.issues.push(...c.ctx.common.issues),c.result;const f=d.map(m=>new ns(m));return pe(a,{code:ie.invalid_union,unionErrors:f}),Pe}}get options(){return this._def.options}}sd.create=(e,t)=>new sd({options:e,typeName:ze.ZodUnion,...qe(t)});function Hp(e,t){const a=Ds(e),r=Ds(t);if(e===t)return{valid:!0,data:e};if(a===be.object&&r===be.object){const o=st.objectKeys(t),c=st.objectKeys(e).filter(f=>o.indexOf(f)!==-1),d={...e,...t};for(const f of c){const m=Hp(e[f],t[f]);if(!m.valid)return{valid:!1};d[f]=m.data}return{valid:!0,data:d}}else if(a===be.array&&r===be.array){if(e.length!==t.length)return{valid:!1};const o=[];for(let c=0;c<e.length;c++){const d=e[c],f=t[c],m=Hp(d,f);if(!m.valid)return{valid:!1};o.push(m.data)}return{valid:!0,data:o}}else return a===be.date&&r===be.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class rd extends Je{_parse(t){const{status:a,ctx:r}=this._processInputParams(t),o=(c,d)=>
vendor: 1,535 bytes, line 419
419{if(rj(c)||rj(d))return Pe;const f=Hp(c.value,d.value);return f.valid?((ij(c)||ij(d))&&a.dirty(),{status:a.value,value:f.data}):(pe(r,{code:ie.invalid_intersection_types}),Pe)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([c,d])=>o(c,d)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}rd.create=(e,t,a)=>new rd({left:e,right:t,typeName:ze.ZodIntersection,...qe(a)});class Mr extends Je{_parse(t){const{status:a,ctx:r}=this._processInputParams(t);if(r.parsedType!==be.array)return pe(r,{code:ie.invalid_type,expected:be.array,received:r.parsedType}),Pe;if(r.data.length<this._def.items.length)return pe(r,{code:ie.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Pe;!this._def.rest&&r.data.length>this._def.items.length&&(pe(r,{code:ie.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),a.dirty());const c=[...r.data].map((d,f)=>{const m=this._def.items[f]||this._def.rest;return m?m._parse(new Hs(r,d,r.path,f)):null}).filter(d=>!!d);return r.common.async?Promise.all(c).then(d=>kn.mergeArray(a,d)):kn.mergeArray(a,c)}get items(){return this._def.items}rest(t){return new Mr({...this._def,rest:t})}}Mr.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Mr({items:e,typeName:ze.ZodTuple,rest:null,...qe(t)}
vendor: 4,249 bytes, line 419
419)};class mj extends Je{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:a,ctx:r}=this._processInputParams(t);if(r.parsedType!==be.map)return pe(r,{code:ie.invalid_type,expected:be.map,received:r.parsedType}),Pe;const o=this._def.keyType,c=this._def.valueType,d=[...r.data.entries()].map(([f,m],p)=>({key:o._parse(new Hs(r,f,r.path,[p,"key"])),value:c._parse(new Hs(r,m,r.path,[p,"value"]))}));if(r.common.async){const f=new Map;return Promise.resolve().then(async()=>{for(const m of d){const p=await m.key,y=await m.value;if(p.status==="aborted"||y.status==="aborted")return Pe;(p.status==="dirty"||y.status==="dirty")&&a.dirty(),f.set(p.value,y.value)}return{status:a.value,value:f}})}else{const f=new Map;for(const m of d){const p=m.key,y=m.value;if(p.status==="aborted"||y.status==="aborted")return Pe;(p.status==="dirty"||y.status==="dirty")&&a.dirty(),f.set(p.value,y.value)}return{status:a.value,value:f}}}}mj.create=(e,t,a)=>new mj({valueType:t,keyType:e,typeName:ze.ZodMap,...qe(a)});class Tl extends Je{_parse(t){const{status:a,ctx:r}=this._processInputParams(t);if(r.parsedType!==be.set)return pe(r,{code:ie.invalid_type,expected:be.set,received:r.parsedType}),Pe;const o=this._def;o.minSize!==null&&r.data.size<o.minSize.value&&(pe(r,{code:ie.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),a.dirty()),o.maxSize!==null&&r.data.size>o.maxSize.value&&(pe(r,{code:ie.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),a.dirty());const c=this._def.valueType;function d(m){const p=new Set;for(const y of m){if(y.status==="aborted")return Pe;y.status==="dirty"&&a.dirty(),p.add(y.value)}return{status:a.value,value:p}}const f=[...r.data.values()].map((m,p)=>c._parse(new Hs(r,m,r.path,p)));return r.common.async?Promise.all(f).then(m=>d(m)):d(f)}min(t,a){return new Tl({...this._def,minSize:{value:t,message:Ne.toString(a)}})}max(t,a){return new Tl({...this._def,maxSize:{value:t,message:Ne.toString(a)}})}size(t,a){return this.min(t,a).max(t,a)}nonempty(t){return this.min(1,t)}}Tl.create=(e,t)=>new Tl({valueType:e,minSize:null,maxSize:null,typeName:ze.ZodSet,...qe(t)});class pj extends Je{get schema(){return this._def.getter()}_parse(t){const{ctx:a}=this._processInputParams(t);return this._def.getter()._parse({data:a.data,path:a.path,parent:a})}}pj.create=(e,t)=>new pj({getter:e,typeName:ze.ZodLazy,...qe(t)});class gj extends Je{_parse(t){if(t.data!==this._def.value){const a=this._getOrReturnCtx(t);return pe(a,{received:a.data,code:ie.invalid_literal,expected:this._def.value}),Pe}return{status:"valid",value:t.data}}get value(){return this._def.value}}gj.create=(e,t)=>new gj({value:e,typeName:ze.ZodLiteral,...qe(t)});function gT(e,t){return new $i({values:e,typeName:ze.ZodEnum,...qe(t)})}class $i extends Je{_parse(t){if(typeof t.data!="string"){const a=this._getOrReturnCtx(t),r=this._def.values;return pe(a,{expected:st.joinValues(r),received:a.parsedType,code:ie.invalid_type}),Pe}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const a=this._getOrReturnCtx(t),r=this._def.values;return pe(a,{received:a.data,code:ie.invalid_enum_value,options:r}),Pe}return Gn(t.data)}get options(){return this._def.values}get enum(){const t={};for(const a of this._def.values)t[a]=a;return t}get Values(){const t={};for(const a of this._def.values)t[a]=a;return t}get Enum(){const t={};for(const a of this._def.values)t[a]=a;return t}extract(t,a=this._def){return $i.create(t,{...this._def,...a})}exclude(t,a=this._def){return $i.create(this.options.filter(r=>!t.includes(r)),{...this._def,...a})}}$i.create=gT;class yj extends Je{_parse(t){const a=st.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==be.string&&r.parsedType!==be.number){const o=st.objectValues(a);return pe(r,{expected:st.joinValues(o),received:r.parsedType,code:ie.invalid_type}),Pe}if(this._cache||(this._cache=new Set(st.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const o=st.objectValues(a);return pe(r,{received:r.data,code:ie.invalid_enum_value,options:o}),Pe}return Gn(t.data)}get enum(){return this._def.values}}yj.create=(e,t)=>
vendor: 4,106 bytes, line 419
419new yj({values:e,typeName:ze.ZodNativeEnum,...qe(t)});class id extends Je{unwrap(){return this._def.type}_parse(t){const{ctx:a}=this._processInputParams(t);if(a.parsedType!==be.promise&&a.common.async===!1)return pe(a,{code:ie.invalid_type,expected:be.promise,received:a.parsedType}),Pe;const r=a.parsedType===be.promise?a.data:Promise.resolve(a.data);return Gn(r.then(o=>this._def.type.parseAsync(o,{path:a.path,errorMap:a.common.contextualErrorMap})))}}id.create=(e,t)=>new id({type:e,typeName:ze.ZodPromise,...qe(t)});class Gi extends Je{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ze.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:a,ctx:r}=this._processInputParams(t),o=this._def.effect||null,c={addIssue:d=>{pe(r,d),d.fatal?a.abort():a.dirty()},get path(){return r.path}};if(c.addIssue=c.addIssue.bind(c),o.type==="preprocess"){const d=o.transform(r.data,c);if(r.common.async)return Promise.resolve(d).then(async f=>{if(a.value==="aborted")return Pe;const m=await this._def.schema._parseAsync({data:f,path:r.path,parent:r});return m.status==="aborted"?Pe:m.status==="dirty"||a.value==="dirty"?rl(m.value):m});{if(a.value==="aborted")return Pe;const f=this._def.schema._parseSync({data:d,path:r.path,parent:r});return f.status==="aborted"?Pe:f.status==="dirty"||a.value==="dirty"?rl(f.value):f}}if(o.type==="refinement"){const d=f=>{const m=o.refinement(f,c);if(r.common.async)return Promise.resolve(m);if(m instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return f};if(r.common.async===!1){const f=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return f.status==="aborted"?Pe:(f.status==="dirty"&&a.dirty(),d(f.value),{status:a.value,value:f.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(f=>f.status==="aborted"?Pe:(f.status==="dirty"&&a.dirty(),d(f.value).then(()=>({status:a.value,value:f.value}))))}if(o.type==="transform")if(r.common.async===!1){const d=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!qi(d))return Pe;const f=o.transform(d.value,c);if(f instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:a.value,value:f}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(d=>qi(d)?Promise.resolve(o.transform(d.value,c)).then(f=>({status:a.value,value:f})):Pe);st.assertNever(o)}}Gi.create=(e,t,a)=>new Gi({schema:e,typeName:ze.ZodEffects,effect:t,...qe(a)});Gi.createWithPreprocess=(e,t,a)=>new Gi({schema:t,effect:{type:"preprocess",transform:e},typeName:ze.ZodEffects,...qe(a)});class Ls extends Je{_parse(t){return this._getType(t)===be.undefined?Gn(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ls.create=(e,t)=>new Ls({innerType:e,typeName:ze.ZodOptional,...qe(t)});class Yi extends Je{_parse(t){return this._getType(t)===be.null?Gn(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Yi.create=(e,t)=>new Yi({innerType:e,typeName:ze.ZodNullable,...qe(t)});class qp extends Je{_parse(t){const{ctx:a}=this._processInputParams(t);let r=a.data;return a.parsedType===be.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:a.path,parent:a})}removeDefault(){return this._def.innerType}}qp.create=(e,t)=>new qp({innerType:e,typeName:ze.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...qe(t)});class $p extends Je{_parse(t){const{ctx:a}=this._processInputParams(t),r={...a,common:{...a.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return nd(o)?o.then(c=>({status:"valid",value:c.status==="valid"?c.value:this._def.catchValue({get error(){return new ns(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new ns(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}$p.create=(e,t)=>
419new $p({innerType:e,typeName:ze.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...qe(t)});class xj extends Je{_parse(t){if(this._getType(t)!==be.nan){const r=this._getOrReturnCtx(t);return pe(r,{code:ie.invalid_type,expected:be.nan,received:r.parsedType}),Pe}return{status:"valid",value:t.data}}}xj.create=e=>new xj({typeName:ze.ZodNaN,...qe(e)});class SB extends Je{_parse(t){const{ctx:a}=this._processInputParams(t),r=a.data;return this._def.type._parse({data:r,path:a.path,parent:a})}unwrap(){return this._def.type}}class my extends Je{_parse(t){const{status:a,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const c=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?Pe:c.status==="dirty"?(a.dirty(),rl(c.value)):this._def.out._parseAsync({data:c.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?Pe:o.status==="dirty"?(a.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,a){return new my({in:t,out:a,typeName:ze.ZodPipeline})}}class Gp extends Je{_parse(t){const a=this._def.innerType._parse(t),r=o=>(qi(o)&&(o.value=Object.freeze(o.value)),o);return nd(a)?a.then(o=>r(o)):r(a)}unwrap(){return this._def.innerType}}Gp.create=(e,t)=>new Gp({innerType:e,typeName:ze.ZodReadonly,...qe(t)});var ze;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(ze||(ze={}));const br=Vs.create,CB=Fp.create;qs.create;ba.create;const EB=Mt.create;sd.create;rd.create;Mr.create;$i.create;id.create;Ls.create;Yi.create;const TB="/assets/modern_office_recept_7530ba84-BglUbb1E.jpg";function AB(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}Array(12).fill(0);let Yp=1;class _B{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const a=this.subscribers.indexOf(t);this.subscribers.splice(a,1)}),this.publish=t=>{this.subscribers.forEach(a=>a(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var a;const{message:r,...o}=t,c=typeof t?.id=="number"||((a=t.id)==null?void 0:a.length)>0?t.id:Yp++,d=this.toasts.find(m=>m.id===c),f=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(c)&&this.dismissedToasts.delete(c),d?this.toasts=this.toasts.map(m=>m.id===c?(this.publish({...m,...t,id:c,title:r}),{...m,...t,id:c,dismissible:f,title:r}):m):this.addToast({title:r,...o,dismissible:f,id:c}),c},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(a=>a({id:t,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(r=>r({id:a.id,dismiss:!0}))}),t),this.message=(t,a)=>this.create({...a,message:t}),this.error=(t,a)=>this.create({...a,message:t,type:"error"}),this.success=(t,a)=>this.create({...a,type:"success",message:t}),this.info=(t,a)=>this.create({...a,type:"info",message:t}),this.warning=(t,a)=>this.create({...a,type:"warning",message:t}),this.loading=(t,a)=>this.create({...a,type:"loading",message:t}),this.promise=(t,a)=>{if(!a)return;let r;a.loading!==void 0&&(r=this.create({...a,promise:t,type:"loading",message:a.loading,description:typeof a.description!="function"?a.description:void 0}));const o=Promise.resolve(t instanceof Function?t():t);let c=r!==void 0,d;const f=o.then(async p=>{if(d=["resolve",p],je.isValidElement(p))c=!1,this.create({id:r,type:"default",message:p});else if(kB(p)&&!p.ok){c=!1;const v=typeof a.error=="function"?await a.error(`HTTP error! status: ${p.status}`):a.error,w=typeof a.description=="function"?await a.description(`HTTP error! status: ${p.status}`):a.description,E=typeof v=="object"&&!je.isValidElement(v)?v:{message:v};this.create({id:r,type:"error",description:w,...E})}else if(p instanceof Error){c=!1;const v=typeof a.error=="function"?await a.error(p):a.error,w=typeof a.description=="function"?await a.description(p):a.description,E=typeof v=="object"&&!je.isValidElement(v)?v:{message:v};this.create({id:r,type:"error",description:w,...E})}else if(a.success!==void 0){c=!1;const v=typeof a.success=="function"?await a.success(p):a.success,w=typeof a.description=="function"?await a.description(p):a.description,E=typeof v=="object"&&!je.isValidElement(v)?v:{message:v};this.create({id:r,type:"success",description:w,...E})}}).catch(async p=>{if(d=["reject",p],a.error!==void 0){c=!1;const y=typeof a.error=="function"?await a.error(p):a.error,v=typeof a.description=="function"?await a.description(p):a.description,S=typeof y=="object"&&!je.isValidElement(y)?y:{message:y};this.create({id:r,type:"error",description:v,...S})}}).finally(()=>{c&&(this.dismiss(r),r=void 0),a.finally==null||a.finally.call(a)}),m=()=>new Promise((p,y)=>f.then(()=>d[0]==="reject"?y(d[1]):p(d[1])).catch(y));return typeof r!="string"&&typeof r!="number"?{unwrap:m}:Object.assign(r,{unwrap:m})},this.custom=(t,a)=>{const r=a?.id||Yp++;return this.create({jsx:t(r),id:r,...a}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Hn=new _B,RB=(e,t)=>{const a=t?.id||Yp++;return Hn.addToast({title:e,...t,id:a}),a},kB=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",MB=RB,OB=()=>Hn.toasts,DB=()=>Hn.getActiveToasts(),vj=Object.assign(MB,{success:Hn.success,info:Hn.info,warning:Hn.warning,error:Hn.error,custom:Hn.custom,message:Hn.message,promise:Hn.promise,dismiss:Hn.dismiss,loading:Hn.loading},{getHistory:OB,getToasts:DB});AB
vendor: 4,787 bytes, line 419
419("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;
vendor: 10,077 bytes, line 419
419left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
419const VB=EB({name:br().min(2,"Name is required"),email:br().email("Invalid email address"),phone:br().min(10,"Phone number is required"),reason:br().min(1,"Please select a reason"),sector:br().optional(),message:br().min(10,"Message must be at least 10 characters"),captcha:CB().refine(e=>e===!0,{message:"Please confirm you are not a robot"}),honeypot:br().optional()});function PB(){const[e,t]=x.useState(!1),[a,r]=x.useState(!1),o=hR(),d=new URLSearchParams(o).get("reason")||"",f=F9({resolver:W9(VB),defaultValues:{name:"",email:"",phone:"",reason:d,sector:"",message:"",captcha:!1,honeypot:""}});x.useEffect(()=>{d&&f.setValue("reason",d)},[d,f]);async function m(y){if(!y.honeypot){t(!0);try{const v=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(y)}),w=await v.json();if(!v.ok)throw new Error(w.message||"Failed to send message");t(!1),r(!0),vj.success("Message sent successfully to [email protected]"),f.reset()}catch(v){t(!1),vj.error(v instanceof Error?v.message:"Failed to send message. Please try again.")}}}const p={initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5}};return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative pt-32 pb-16 overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:TB,alt:"Reception Area",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white via-white/95 to-white/70"})]}),l.jsx("div",{className:"container relative z-10 mx-auto px-4 md:px-6",children:l.jsxs(me.div,{initial:p.initial,animate:p.animate,transition:p.transition,className:"max-w-3xl",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-primary mb-6 tracking-tight",children:"Contact Acorn"}),l.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed",children:"For partnership, government, and institutional inquiries related to the delivery of childcare infrastructure."})]})})]}),l.jsx("section",{className:"pb-24 container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-start",children:[l.jsx(me.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.2},className:"bg-white p-8 rounded-xl border border-slate-200 shadow-sm",children:a?l.jsxs("div",{className:"text-center py-16 space-y-4",children:[l.jsx("div",{className:"w-16 h-16 bg-green-50 text-green-600 rounded-full flex items-center justify-center mx-auto mb-6",children:l.jsx(ea,{className:"w-8 h-8"})}),l.jsx("h3",{className:"text-2xl font-bold text-primary",children:"Message Sent"}),l.jsxs("p",{className:"text-muted-foreground max-w-sm mx-auto",children:["Thank you for contacting Acorn. We have received your inquiry and will respond to you shortly at ",f.getValues().email,"."]}),l.jsx(Ue,{onClick:()=>r(!1),variant:"outline",className:"mt-6",children:"Send another message"})]}):l.jsx(Y9,{...f,children:l.jsxs("form",{onSubmit:f.handleSubmit(m),className:"space-y-6",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary mb-6",children:"Send an Inquiry"}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsx(_s,{control:f.control,name:"name",render:({field:y})=>l.jsxs(Za,{children:[l.jsxs(Ms,{children:["Full Name ",l.jsx("span",{className:"text-red-500",children:"*"})]}),l.jsx(Ka,{children:l.jsx(Ti,{placeholder:"John Doe",...y})}),l.jsx(Os,{})]})}),l.jsx(_s,{control:f.control,name:"phone",render:({field:y})=>l.jsxs(Za,{children:[l.jsxs(Ms,{children:["Phone Number ",l.jsx("span",{className:"text-red-500",children:"*"})]}),l.jsx(Ka,{children:l.jsx(Ti,{placeholder:"(555) 555-5555",...y})}),l.jsx(Os,{})]})})]}),l.jsx(_s,{control:f.control,name:"email",render:({field:y})=>l.jsxs(Za,{children:[l.jsxs(Ms,{children:["Email Address ",l.jsx("span",{className:"text-red-500",children:"*"})]}),l.jsx(Ka,{children:l.jsx(Ti,{placeholder:"[email protected]",type:"email",...y})}),l.jsx(Os,{})]})}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsx(_s,{control:f.control,name:"reason",render:({field:y})=>l.jsxs(Za,{children:[l.jsxs(Ms,{children:["Reason for Contacting ",l.jsx("span",{className:"text-red-500",children:"*"})]}),l.jsxs(y9,{onValueChange:y.onChange,defaultValue:y.value,children:[l.jsx(Ka,{children:l.jsx(YE,{children:l.jsx(x9,{placeholder:"Select a reason"})})}),l.jsxs(XE,{children:[l.jsx(jr,{value:"partnership",children:"Partnership Inquiry"}),l.jsx(jr,{value:"government",children:"Government / Municipal"}),l.jsx(jr,{value:"school_district",children:"School District"}),l.jsx(jr,{value:"developer",children:"Landowner / Developer"}),l.jsx(jr,{value:"academy",children:"Academy Certification"}),l.jsx(jr,{value:"other",children:"Other Inquiry"})]})]}),l.jsx(Os,{})]})}),l.jsx(_s,{control:f.control,name:"sector",render:({field:y})=>l.jsxs(Za,{children:[l.jsxs(Ms,{children:["Sector ",l.jsx("span",{className:"text-muted-foreground text-xs font-normal",children:"(Optional)"})]}),l.jsx(Ka,{children:l.jsx(Ti,{placeholder:"e.g. Education, Public Sector",...y})}),l.jsx(Os,{})]})})]}),l.jsx(_s,{control:f.control,name:"message",render:({field:y})=>l.jsxs(Za,{children:[l.jsxs(Ms,{children:["Message ",l.jsx("span",{className:"text-red-500",children:"*"})]}),l.jsx(Ka,{children:l.jsx(nE,{placeholder:"How can we help you?",className:"min-h-[120px]",...y})}),l.jsx(Os,{})]})}),l.jsx(_s,{control:f.control,name:"honeypot",render:({field:y})=>l.jsx(Za,{className:"hidden",children:l.jsx(Ka,{children:l.jsx(Ti,{type:"text",...y})})})}),l.jsx("div",{className:"bg-slate-50 p-4 rounded-lg border border-slate-200 flex items-center gap-3",children:l.jsx(_s,{control:f.control,name:"captcha",render:({field:y})=>l.jsxs(Za,{className:"flex items-center space-y-0 gap-3",children:[l.jsx(Ka,{children:l.jsx(dE,{checked:y.value,onCheckedChange:y.onChange,className:"w-5 h-5 border-2 border-slate-300 data-[state=checked]:bg-green-600 data-[state=checked]:border-green-600"})}),l.jsx(Ms,{className:"text-sm text-slate-600 font-normal m-0 cursor-pointer",children:"I am not a robot"}),l.jsx(Os,{className:"ml-2"})]})})}),l.jsx(Ue,{type:"submit",className:"w-full md:w-auto",disabled:e,children:e?l.jsxs(l.Fragment,{children:[l.jsx(Ok,{className:"mr-2 h-4 w-4 animate-spin"}),"Sending..."]}):"Send Message"})]})})}),l.jsxs(me.div,{initial:{opacity:0,x:20}
419,animate:{opacity:1,x:0},transition:{delay:.4},className:"space-y-8 lg:pl-12 pt-8",children:[l.jsxs("div",{id:"contact-info",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary mb-6",children:"Contact Information"}),l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center shrink-0",children:l.jsx(jN,{className:"w-5 h-5 text-primary"})}),l.jsxs("div",{children:[l.jsx("h4",{className:"font-semibold text-primary",children:"Email Us"}),l.jsx("p",{className:"text-muted-foreground mb-1",children:"General Inquiries"}),l.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline font-medium",children:"[email protected]"})]})]}),l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center shrink-0",children:l.jsx(Li,{className:"w-5 h-5 text-primary"})}),l.jsxs("div",{children:[l.jsx("h4",{className:"font-semibold text-primary",children:"Headquarters"}),l.jsx("p",{className:"text-muted-foreground",children:"Vancouver, British Columbia"})]})]})]})]}),l.jsxs("div",{className:"bg-slate-50 p-6 rounded-xl border border-slate-100",children:[l.jsx("h4",{className:"font-bold text-primary mb-2",children:"Partnership Inquiries"}),l.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-4",children:"Acorn partners with public sector agencies, school districts, and developers to deliver high-quality childcare infrastructure."}),l.jsxs("ul",{className:"space-y-2 text-sm text-slate-600",children:[l.jsxs("li",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-secondary"}),"Capacity expansion projects"]}),l.jsxs("li",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-secondary"}),"School ground activation"]}),l.jsxs("li",{className:"flex items-center gap-2",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-secondary"}),"Institutional partnerships"]})]})]})]})]})}),l.jsx(tn,{})]})}const zB="/assets/navid_1766041775697-BXQ7StAt.jpg",LB="/assets/amin_1766041775693-CGkO2BfU.jpg",BB="/assets/shohreh_1766041775699-Dra8jmcq.jpg",UB="/assets/anna_1766041775694-B4bM88mL.jpg",IB="/assets/erika_1766041775695-CPIh8hBM.jpg",FB="/assets/marha_1766041775696-DSdyU81f.jpg",HB="/assets/acorn_and_yuki_professional-CdFIl4K4.png";function qB(){const e={initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5}};return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative pt-32 pb-20 md:pt-48 md:pb-24 overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:tE,alt:"Professional Business Environment",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white via-white/95 to-white/70"})]}),l.jsx("div",{className:"container relative z-10 mx-auto px-4 md:px-6",children:l.jsx("div",{className:"max-w-4xl",children:l.jsxs(me.div,{initial:e.initial,animate:e.animate,transition:e.transition,className:"space-y-6",children:[l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary tracking-tight leading-[1.1]",children:["About ",l.jsx("span",{className:"text-secondary",children:"Acorn"})]}),l.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground leading-relaxed max-w-3xl",children:"Acorn is an education infrastructure platform focused on the delivery and operation of licensed childcare at scale."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 pt-2",children:[l.jsx(Ue,{asChild:!0,size:"lg",className:"rounded-md px-8",children:l.jsx(_e,{href:"/platform",children:"Our Platform"})}),l.jsx(Ue,{asChild:!0,variant:"outline",size:"lg",className:"rounded-md px-8",children:l.jsx(_e,{href:"/delivery-model",children:"Delivery Model"})})]})]})})})]}),l.jsx("section",{className:"pb-24 container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"grid lg:grid-cols-3 gap-16",children:[l.jsxs("div",{className:"lg:col-span-2 space-y-16",children:[l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"space-y-6",children:[l.jsx("p",{className:"text-lg leading-relaxed text-muted-foreground",children:"The organization was established to address a structural gap in childcare delivery: the disconnect between physical infrastru
419cture, licensed operations, and systems required to scale responsibly in regulated environments."}),l.jsx("p",{className:"text-lg leading-relaxed text-muted-foreground",children:"Acorn brings these elements together into a single, integrated platform designed for public-sector partnership and long-term operation."})]}),l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"space-y-6",children:[l.jsx("h2",{className:"text-2xl font-bold text-primary",children:"Mandate"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Acornâs mandate is to enable governments, cities, and partners to expand childcare capacity in a way that is:"}),l.jsxs("ul",{className:"space-y-3 mt-4 ml-4 list-disc pl-4 text-muted-foreground",children:[l.jsx("li",{children:"Operationally sound"}),l.jsx("li",{children:"Regulatory-aligned"}),l.jsx("li",{children:"Scalable and repeatable"}),l.jsx("li",{children:"Sustainable over the long term"})]}),l.jsx("p",{className:"text-muted-foreground leading-relaxed pt-2",children:"Childcare delivery is treated as essential community infrastructure, not a standalone service."})]}),l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"space-y-6",children:[l.jsx("h2",{className:"text-2xl font-bold text-primary",children:"Operating foundation"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Acornâs platform builds on a long-standing operating foundation in childcare delivery."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The organization draws on more than three decades of experience across licensed childcare operations, facility management, and community-based delivery. This operational history informs Acornâs approach to system design, risk management, and execution discipline."})]}),l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"space-y-6",children:[l.jsx("h2",{className:"text-2xl font-bold text-primary",children:"Platform-first approach"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Rather than relying on fragmented operators or ad hoc delivery models, Acorn was designed as a platform from the outset."}),l.jsx("p",{className:"text-muted-foreground font-medium",children:"This means:"}),l.jsxs("ul",{className:"space-y-3 ml-4 list-disc pl-4 text-muted-foreground",children:[l.jsx("li",{children:"Physical delivery, operations, and technology are developed together"}),l.jsx("li",{children:"Regulatory realities are embedded into system design"}),l.jsx("li",{children:"Accountability remains with a single operating entity"})]}),l.jsx("p",{className:"text-muted-foreground leading-relaxed pt-2",children:"This approach reduces delivery risk and supports consistent outcomes across sites and jurisdictions."})]}),l.jsxs("div",{id:"governance",className:"pt-16 border-t border-border",children:[l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"space-y-6",children:[l.jsx("div",{className:"flex items-center gap-2 mb-2",children:l.jsx("span",{className:"text-xs font-bold text-secondary uppercase tracking-wider",children:"Governance"})}),l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Governance principles"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Acorn operates with a governance framework appropriate for regulated, public-facing infrastructure delivery."}),l.jsxs("div",{className:"bg-muted/30 p-8 rounded-lg border border-border my-8",children:[l.jsx("h3",{className:"font-bold text-primary mb-4",children:"Key principles include:"}),l.jsx("ul",{className:"space-y-4",children:["Clear accountability for delivery and operations","Separation between governance oversight and day-to-day execution","Alignment with public-sector expectations for transparency and reporting","Long-term stewardship over short-term optimization"].map((t,a)=>l.jsxs("li",{className:"flex gap-3 text-muted-foreground",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-secondary mt-2 shrink-0"}),l.jsx("span",{children:t})]},a))})]}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Governance structures are designed to support partnership with public agencies, municipalities, and institutional capital."})]}),l.jsxs(me.div,{id:"leadership",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"space-y-6 mt-12",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Leadership and oversight"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Acornâs leadership combines operational experience, community engagement, and infrastru
419cture delivery expertise."}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-8 my-8",children:[l.jsxs("div",{className:"bg-white p-6 rounded-lg border border-border shadow-sm",children:[l.jsx("div",{className:"mb-4 aspect-[3/4] overflow-hidden rounded-md",children:l.jsx("img",{src:zB,alt:"Navid Morawej",className:"w-full h-full object-cover object-top"})}),l.jsx("h4",{className:"font-bold text-primary text-lg",children:"Navid Morawej"}),l.jsx("p",{className:"text-sm font-medium text-secondary mb-3",children:"Founder / Vision & Strategy"}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"A community-focused leader known for his work in education and local economic growth. Navid brings strong relationships with municipalities and a practical understanding of childcare operations to scale modern solutions."})]}),l.jsxs("div",{className:"bg-white p-6 rounded-lg border border-border shadow-sm",children:[l.jsx("div",{className:"mb-4 aspect-[3/4] overflow-hidden rounded-md",children:l.jsx("img",{src:LB,alt:"Amin Eskooch",className:"w-full h-full object-cover object-top"})}),l.jsx("h4",{className:"font-bold text-primary text-lg",children:"Amin Eskooch"}),l.jsx("p",{className:"text-sm font-medium text-secondary mb-3",children:"Founder / Technology & Systems"}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Amin brings extensive experience in technology, automation, and financial management. He provides the technical vision and systems architecture behind Acorn's centralized operations model."})]})]}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-6 my-8",children:[l.jsxs("div",{className:"bg-white p-4 rounded-lg border border-border shadow-sm flex flex-col h-full",children:[l.jsx("div",{className:"mb-3 aspect-square overflow-hidden rounded-md",children:l.jsx("img",{src:BB,alt:"Shohreh",className:"w-full h-full object-cover object-top"})}),l.jsx("h4",{className:"font-bold text-primary text-base",children:"Shohreh"}),l.jsx("p",{className:"text-xs font-medium text-secondary mb-2",children:"Education & Program Lead"}),l.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed line-clamp-4 hover:line-clamp-none transition-all",children:"Shohreh is a seasoned early childhood leader with more than 40 years of experience in program development, educator mentorship, and centre operations. She is widely respected for her ability to design enriching learning environments rooted in strong pedagogical practice. Her deep understanding of curriculum, classroom flow, and educator support forms the foundation of Acornâs educational standards and program quality across all centres."})]}),l.jsxs("div",{className:"bg-white p-4 rounded-lg border border-border shadow-sm flex flex-col h-full",children:[l.jsx("div",{className:"mb-3 aspect-square overflow-hidden rounded-md",children:l.jsx("img",{src:UB,alt:"Anna",className:"w-full h-full object-cover object-top"})}),l.jsx("h4",{className:"font-bold text-primary text-base",children:"Anna"}),l.jsx("p",{className:"text-xs font-medium text-secondary mb-2",children:"Center Operations & Culture Lead"}),l.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed line-clamp-4 hover:line-clamp-none transition-all",children:"Anna is a childcare operations leader who sets the tone for Acornâs centers. With a strong background in team management and family relations, she creates warm, organized, and positive environments for children, staff, and parents. Her leadership shapes daily flow, supports educators, and builds the atmosphere that defines Acornâs culture."})]}),l.jsxs("div",{className:"bg-white p-4 rounded-lg border border-border shadow-sm flex flex-col h-full",children:[l.jsx("div",{className:"mb-3 aspect-square overflow-hidden rounded-md",children:l.jsx("img",{src:IB,alt:"Erika",className:"w-full h-full object-cover object-top"})}),l.jsx("h4",{className:"font-bold text-primary text-base",children:"Erika"}),l.jsx("p",{className:"text-xs font-medium text-secondary mb-2",children:"Finance, Billing & Compliance Lead"}),l.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed line-clamp-4 hover:line-clamp-none transition-all",children:"Erika manages Acornâs financial and administrative foundation. She oversees b
419illing, reconciliation, payroll coordination, and funding processes with accuracy and consistency. She also supports compliance by maintaining documentation and preparing licensing and audit materials. Her steady, organized approach keeps operations running smoothly across all centers."})]}),l.jsxs("div",{className:"bg-white p-4 rounded-lg border border-border shadow-sm flex flex-col h-full",children:[l.jsx("div",{className:"mb-3 aspect-square overflow-hidden rounded-md",children:l.jsx("img",{src:FB,alt:"Marharyta",className:"w-full h-full object-cover object-top"})}),l.jsx("h4",{className:"font-bold text-primary text-base",children:"Marharyta"}),l.jsx("p",{className:"text-xs font-medium text-secondary mb-2",children:"Creative Arts / Program Experience"}),l.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed line-clamp-4 hover:line-clamp-none transition-all",children:"Marharyta designs engaging arts programs that inspire children and enhance learning. She works with educators to integrate creativity into the curriculum, fostering self-expression. Her strong organizational skills ensure smooth project execution, creating a thriving creative environment."})]}),l.jsxs("div",{className:"bg-white p-4 rounded-lg border border-border shadow-sm flex flex-col h-full",children:[l.jsx("div",{className:"mb-3 aspect-square overflow-hidden rounded-md",children:l.jsx("img",{src:HB,alt:"Acorn & Yuki",className:"w-full h-full object-cover object-center"})}),l.jsx("h4",{className:"font-bold text-primary text-base",children:"Acorn & Yuki"}),l.jsx("p",{className:"text-xs font-medium text-secondary mb-2",children:"Chief Morale Officers"}),l.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed line-clamp-4 hover:line-clamp-none transition-all",children:"The heart and soul of the office. Acorn and Yuki specialize in boosting team morale, greeting visitors with enthusiasm, and ensuring strict adherence to the mandatory treat schedule. Their open-door policy involves naps and belly rubs."})]})]}),l.jsxs("div",{className:"bg-primary/5 p-6 rounded-lg border border-primary/10",children:[l.jsx("h4",{className:"font-bold text-primary mb-3",children:"Community Recognition"}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{children:[l.jsx("h5",{className:"font-bold text-primary text-sm mb-1",children:"Community Builder Award Winner"}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Our parent organization, Aultrust, was honored with the Community Builder Award, recognizing exceptional commitment to supporting the community through impactful business activities and engagement."})]}),l.jsxs("div",{children:[l.jsx("h5",{className:"font-bold text-primary text-sm mb-1",children:"Chamber of Commerce Recognition"}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Navid Morawej has been recognized by the Chamber of Commerce for his leadership and dedication to fostering strong community ties and economic growth."})]})]})]}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The organization maintains close alignment between leadership, platform design, and on-the-ground operations to ensure that systems reflect real delivery conditions rather than theoretical models."})]}),l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"space-y-6 mt-12",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Relationship to partners"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Acorn works collaboratively with governments, cities, capital partners, and other stakeholders to design partnership structures that reflect local requirements while maintaining platform consistency."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The organization does not pursue growth at the expense of regulatory alignment or operational quality."})]})]}),l.jsx("div",{className:"pt-16 border-t border-border",children:l.jsxs("p",{className:"text-sm text-muted-foreground italic",children:[l.jsx("span",{className:"font-semibold not-italic block mb-2 text-primary",children:"About this site"}),"This website is intended for governments, public agencies, capital partners, and institutional stakeholders. Information related to individual childcare centres, family enrollment, or location-specific operations is provided through separate, location-level websites."]})})]}),l.jsx("div",{className:"hidden lg:block",children:l.jsxs("div",{className:"sticky top-32 space-y-8",children:[l.jsxs("div",{children:[l.jsx("h4",{className:"font-bold text-primary mb-4 text-sm uppercase tracking-wide",children:"On this page"}),l.jsxs("nav",{className:"flex flex-col space-y-3 text-sm text-muted-foreground border-l border-border pl-4",children:[l.jsx("a",{href:"#",className:"hover:text-primary transition-colors",children:"About Acorn"}),l.jsx("a",{href:"#governance",className:"hover:text-primary transition-colors",children:"Governance"}),l.jsx("a",{href:"#leadership",className:"hover:text-primary transition-colors",children:"Leadership"})]})]}),l.jsxs("div",{className:"bg-primary/5 p-6 rounded-lg border border-primary/10",children:[l.jsx("h4",{className:"font-bold text-primary mb-2",children:"Partner with Acorn"}),l.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Discuss infrastru
419cture delivery or operating partnerships."}),l.jsx(_e,{href:"/contact",children:l.jsx("span",{className:"text-sm font-semibold text-secondary hover:underline cursor-pointer",children:"Contact Acorn â"})})]})]})})]})}),l.jsx(tn,{})]})}function $B(){const e={initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5}};return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsx("section",{className:"pt-32 pb-16 container mx-auto px-4 md:px-6",children:l.jsxs(me.div,{initial:e.initial,animate:e.animate,transition:e.transition,className:"max-w-3xl",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-primary tracking-tight mb-6",children:"Legal & Privacy"}),l.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed",children:"Legal notice and privacy statement for the Acorn website."})]})}),l.jsx("section",{className:"pb-24 container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"grid lg:grid-cols-3 gap-16",children:[l.jsxs("div",{className:"lg:col-span-2 space-y-16",children:[l.jsx("div",{id:"legal-notice",children:l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"space-y-8",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Legal notice"}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"This website is provided for general informational purposes only."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The information contained on this site does not constitute legal, financial, investment, or professional advice, and should not be relied upon as such. Any reliance on the information provided is at the userâs own risk."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Acorn makes no representations or warranties, express or implied, regarding the accuracy, completeness, or suitability of the information contained on this website for any particular purpose."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"No offer or solicitation"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Nothing on this website constitutes an offer, solicitation, or recommendation to invest, enter into a partnership, or engage in any transaction."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Any engagement with Acorn is subject to formal discussions, due diligence, and the execution of definitive agreements."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Intellectual property"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"All content on this website, including text, graphics, diagrams, and logos, is the property of Acorn or its licensors and is protected by applicable intellectual property laws."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"No content may be reproduced, distributed, or used without prior written consent, except as permitted by law."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Limitation of liability"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"To the fullest extent permitted by law, Acorn shall not be liable for any direct, indirect, incidental, consequential, or special damages arising out of or in connection with the use of this website or reliance on any information provided herein."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"External links"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"This website may contain links to third-party websites for convenience or informational purposes."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Acorn does not control and is not responsible for the content, accuracy, or privacy practices of third-party websites."})]})]})}),l.jsx("div",{id:"privacy-statement",className:"pt-16 border-t border-border",children:l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"space-y-8",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary",children:"Privacy statement"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Acorn respects the privacy of visitors to this website."}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Information collected"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"This website may collect limited personal information voluntarily provided through contact forms or direct inquiries, such as name, organization, email address, and message content."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"No personal information is collected automatically beyond standard technical data such as IP address, browser type, and access timestamps, which may be used for basic site analytics and security."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Use of information"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Information collected through this website is used solely to:"}),l.jsxs("ul",{className:"space-y-2 ml-4 list-disc pl-4 text-muted-foreground",children:[l.jsx("li",{children:"Respond to inquiries"}),l.jsx("li",{children:"Communicate regarding potential partnerships or engagements"}),l.jsx("li",{children:"Improve website functionality"})]}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Acorn does not sell or rent personal information."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Data sharing"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Personal information is not shared with third parties except where required by law or necessary to respond to an inquiry."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Data security"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Reasonable administrative and technical measures are used to protect information submitted through this website. However, no method of transmission or storage is completely secure."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Data retention"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Information submitted through this website is retained only for as long as necessary to address the relevant inquiry or comply with applicable requirements."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Changes to this notice"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Acorn may update this Legal and Privacy notice from time to time. Updates will be reflected on this page."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold text-primary",children:"Contact"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Questions regarding this Legal and Privacy notice may be directed through the Contact page."})]})]})})]}),l.jsx("div",{className:"hidden lg:block",children:l.jsx("div",{className:"sticky top-32 space-y-8",children:l.jsxs("div",{children:[l.jsx("h4",{className:"font-bold text-primary mb-4 text-sm uppercase tracking-wide",children:"On this page"}),l.jsxs("nav",{className:"flex flex-col space-y-3 text-sm text-muted-foreground border-l border-border pl-4",children:[l.jsx("a",{href:"#legal-notice",className:"hover:text-primary transition-colors",children:"Legal notice"}),l.jsx("a",{href:"#privacy-statement",className:"hover:text-primary transition-colors",children:"Privacy statement"})]})]})})})]})}),l.jsx(tn,{})]})}const GB="/assets/FAN2016823_1765866928389-BmBWoyoB.JPG";function YB(){const e={initial:{opacity:0,y:20}
419,animate:{opacity:1,y:0},transition:{duration:.5}},t=[{title:"The Acorn Experience: Reggio Emilia in a Modern Context",summary:"How we adapt the Reggio Emilia approach to modern childcare settings, focusing on child-led learning, the environment as the third teacher, and documented progress.",date:"November 15, 2025",readTime:"5 min read",image:Qu,href:"/insights/reggio-emilia-approach"},{title:"Childcare as infrastructure, not a service",summary:"Childcare delivery is often treated as a service layered onto communities. In practice, it functions more like infrastructure, requiring long-term planning, stable operations, and integrated systems.",date:"August 15, 2025",readTime:"5 min read",image:Zu,href:"/insights/childcare-as-infrastructure"},{title:"Why fragmented delivery models struggle at scale",summary:"Multiple handoffs across planning, construction, licensing, and operations introduce delays, risk, and accountability gaps. Vertical integration reduces friction in regulated environments.",date:"May 15, 2025",readTime:"4 min read",image:Ku,href:"/insights/fragmented-delivery-models"},{title:"Speed to market without regulatory compromise",summary:"Faster delivery is not achieved through shortcuts. It is achieved by designing systems that allow licensing, operations, and physical delivery to progress in parallel.",date:"February 15, 2025",readTime:"6 min read",image:Xu,href:"/insights/speed-to-market"}];return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative pt-32 pb-24 container mx-auto px-4 md:px-6 overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:GB,alt:"Hero Background",className:"w-full h-full object-cover opacity-10 grayscale"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-white via-white/80 to-white"})]}),l.jsxs(me.div,{initial:e.initial,animate:e.animate,transition:e.transition,className:"relative z-10 max-w-3xl",children:[l.jsxs("div",{className:"mb-6",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-primary tracking-tight mb-4",children:"Perspectives"}),l.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed",children:"Perspectives on childcare infrastructure and delivery."})]}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed max-w-2xl",children:"This section shares Acornâs perspectives on childcare delivery as essential community infrastructure. Insights are published selectively and reflect operational experience, regulatory realities, and system-level considerations."})]})]}),l.jsx("section",{className:"pb-24 container mx-auto px-4 md:px-6",children:l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:t.map((a,r)=>l.jsx(me.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:r*.1,duration:.5},className:"group cursor-pointer flex flex-col h-full",children:l.jsxs(_e,{href:a.href,children:[l.jsx("div",{className:"mb-6 overflow-hidden rounded-lg border border-border aspect-[16/9]",children:l.jsx("img",{src:a.image,alt:a.title,className:"w-full h-full object-cover grayscale transition-all duration-500 group-hover:scale-105 group-hover:grayscale-0"})}),l.jsxs("div",{className:"flex flex-col flex-grow",children:[l.jsxs("div",{className:"flex items-center gap-4 text-xs text-muted-foreground mb-3 font-medium uppercase tracking-wider",children:[l.jsxs("span",{className:"flex items-center gap-1",children:[l.jsx(Rl,{className:"w-3 h-3"})," ",a.date]}),l.jsxs("span",{className:"flex items-center gap-1",children:[l.jsx(Ys,{className:"w-3 h-3"})," ",a.readTime]})]}),l.jsx("h3",{className:"text-xl font-bold text-primary mb-3 group-hover:text-secondary transition-colors leading-tight",children:a.title}),l.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-6 line-clamp-3",children:a.summary}),l.jsx("div",{className:"mt-auto pt-4 border-t border-border/50",children:l.jsxs("span",{className:"text-sm font-semibold text-primary flex items-center gap-2 group-hover:gap-3 transition-all",children:["Read insight ",l.jsx(_l,{className:"w-4 h-4 text-secondary"})]})})]})]})},r))})}),l.jsx(tn,{})]})}function ZB(){return x.useEffect(()=>{const e={"@context":"https://schema.org","@type":"Article",headline:"Childcare as infrastru
419cture, not a service",description:"Childcare delivery is often treated as a service layered onto communities. In practice, it functions more like infrastructure, requiring long-term planning, stable operations, and integrated systems.",datePublished:"2024-10-12",image:[window.location.origin+Zu],author:{"@type":"Organization",name:"Acorn Early Education Management"},publisher:{"@type":"Organization",name:"Acorn Early Education Management"},mainEntityOfPage:window.location.origin+"/insights/childcare-as-infrastructure"},t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify(e),document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("article",{className:"pt-32 pb-24 container mx-auto px-4 md:px-6 max-w-4xl",children:[l.jsxs("div",{className:"mb-8",children:[l.jsx(_e,{href:"/insights",children:l.jsxs("span",{className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-primary transition-colors cursor-pointer mb-8",children:[l.jsx(md,{className:"w-4 h-4"})," Back to Insights"]})}),l.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-primary tracking-tight mb-6 leading-tight",children:"Childcare as infrastructure, not a service"}),l.jsxs("div",{className:"flex items-center gap-6 text-sm text-muted-foreground border-b border-border pb-8 mb-8",children:[l.jsxs("span",{className:"flex items-center gap-2",children:[l.jsx(Rl,{className:"w-4 h-4"})," October 12, 2024"]}),l.jsxs("span",{className:"flex items-center gap-2",children:[l.jsx(Ys,{className:"w-4 h-4"})," 5 min read"]})]})]}),l.jsx("div",{className:"mb-12 rounded-xl overflow-hidden border border-border",children:l.jsx("img",{src:Zu,alt:"Abstract architectural visualization",className:"w-full h-auto grayscale"})}),l.jsxs("div",{className:"prose prose-lg prose-slate max-w-none",children:[l.jsx("p",{className:"lead text-xl text-muted-foreground leading-relaxed mb-8 font-medium",children:"Childcare delivery is often treated as a service layered onto communities. In practice, it functions more like infrastructure, requiring long-term planning, stable operations, and integrated systems."}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"The Infrastructure Gap"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"For decades, childcare has been approached primarily as a service delivery challengeâa matter of funding spaces and staffing rooms. While these elements are critical, this service-first mindset overlooks the physical and systemic reality of childcare: it is essential community infrastructure, no less vital than libraries, schools, or transit hubs."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"When we treat childcare merely as a service, we solve for short-term capacity. We retrofit basements, lease temporary commercial units, and rely on fragmented operators to patch together solutions. The result is a fragile network that struggles to scale and fails to provide the long-term stability that families and communities require."}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"Characteristics of Infrastructure"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"To solve the capacity crisis, we must adopt an infrastructure mindset. True infrastructure is characterized by three key qualities:"}),l.jsxs("ul",{className:"list-disc pl-6 space-y-2 text-muted-foreground mb-8",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Permanence:"})," It is built to last for decades, not lease terms."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Integration:"})," It is planned alongside housing and transit, not added as an afterthought."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Systemic Stability:"})," It relies on standardized operating systems, not individual heroism."]})]}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"The Acorn Approach"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:'At Acorn, we design every project as permanent infrastru
419cture. This shifts our focus from "opening doors" to "building foundations." It means engaging with municipalities during the zoning phase, not just the permitting phase. It means designing facilities that can adapt to changing regulations without requiring structural overhauls. And most importantly, it means building an operating platform that ensures the quality of care remains consistent even as the network scales.'}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"By shifting the paradigm from service to infrastructure, we unlock the ability to deploy capital more effectively, reduce operational volatility, and ultimately, deliver the reliable capacity that our communities deserve."}),l.jsx("div",{className:"mt-16 pt-8 border-t border-border",children:l.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Insights reflect Acorn's experience and perspective and are intended to support informed discussion with partners and stakeholders."})})]})]}),l.jsx(tn,{})]})}function KB(){return x.useEffect(()=>{const e={"@context":"https://schema.org","@type":"Article",headline:"Why fragmented delivery models struggle at scale",description:"Multiple handoffs across planning, construction, licensing, and operations introduce delays, risk, and accountability gaps. Vertical integration reduces friction in regulated environments.",datePublished:"2024-09-24",image:[window.location.origin+Ku],author:{"@type":"Organization",name:"Acorn Early Education Management"},publisher:{"@type":"Organization",name:"Acorn Early Education Management"},mainEntityOfPage:window.location.origin+"/insights/fragmented-delivery-models"},t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify(e),document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("article",{className:"pt-32 pb-24 container mx-auto px-4 md:px-6 max-w-4xl",children:[l.jsxs("div",{className:"mb-8",children:[l.jsx(_e,{href:"/insights",children:l.jsxs("span",{className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-primary transition-colors cursor-pointer mb-8",children:[l.jsx(md,{className:"w-4 h-4"})," Back to Insights"]})}),l.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-primary tracking-tight mb-6 leading-tight",children:"Why fragmented delivery models struggle at scale"}),l.jsxs("div",{className:"flex items-center gap-6 text-sm text-muted-foreground border-b border-border pb-8 mb-8",children:[l.jsxs("span",{className:"flex items-center gap-2",children:[l.jsx(Rl,{className:"w-4 h-4"})," September 24, 2024"]}),l.jsxs("span",{className:"flex items-center gap-2",children:[l.jsx(Ys,{className:"w-4 h-4"})," 4 min read"]})]})]}),l.jsx("div",{className:"mb-12 rounded-xl overflow-hidden border border-border",children:l.jsx("img",{src:Ku,alt:"Conceptual diagram of systems",className:"w-full h-auto grayscale"})}),l.jsxs("div",{className:"prose prose-lg prose-slate max-w-none",children:[l.jsx("p",{className:"lead text-xl text-muted-foreground leading-relaxed mb-8 font-medium",children:"Multiple handoffs across planning, construction, licensing, and operations introduce delays, risk, and accountability gaps. Vertical integration reduces friction in regulated environments."}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"The Friction of Handoffs"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"The traditional path to opening a childcare centre is a relay race involving disparate runners who often don't speak the same language. A developer builds a shell. An architect designs a fit-out. A general contractor executes the build. A licensing officer inspects the result. And finally, an operator is handed the keys to run a business in a space they didn't design."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Every handoff in this chain creates friction. Interpretations of licensing requirements differ between architects and officers. Construction delays push back hiring timelines. Operational workflows are compromised by physical layout constraints that were locked in months prior."}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"The Cost of Fragmentation"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"In a fragmented model, risk is hot-potatoed down the line. The developer transfers risk to the tenant; the tenant absorbs the risk of licensing delays. This structure makes scaling incredibly difficult. An operator might successfully navigate this gauntlet once or twice through sheer force of will, but replicating that success across ten or twenty sites becomes exponentially harder."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Fragmentation is the primary reason why we see so few large-scale, high-quality childcare networks. The administrative and execution burden of managing these disconnected stakeholders caps growth."}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"Vertical Integration as the Solution"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Acorn addresses this by vertically integrating the delivery chain. By bringing physical delivery, licensing, and operations under one platform, we eliminate the friction of handoffs. Our operational team informs the design phase. Our licensing experts guide the construction phase."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"This integration aligns incentives. We don't just build to code; we build to operate. We don't just pass inspections; we design for long-term compliance. The result is a delivery model that is not only faster but significantly more reliable and scalable."}),l.jsx("div",{className:"mt-16 pt-8 border-t border-border",children:l.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Insights reflect Acorn's experience and perspective and are intended to support informed discussion
419with partners and stakeholders."})})]})]}),l.jsx(tn,{})]})}function XB(){return x.useEffect(()=>{const e={"@context":"https://schema.org","@type":"Article",headline:"Speed to market without regulatory compromise",description:"Faster delivery is not achieved through shortcuts. It is achieved by designing systems that allow licensing, operations, and physical delivery to progress in parallel.",datePublished:"2024-08-15",image:[window.location.origin+Xu],author:{"@type":"Organization",name:"Acorn Early Education Management"},publisher:{"@type":"Organization",name:"Acorn Early Education Management"},mainEntityOfPage:window.location.origin+"/insights/speed-to-market"},t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify(e),document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("article",{className:"pt-32 pb-24 container mx-auto px-4 md:px-6 max-w-4xl",children:[l.jsxs("div",{className:"mb-8",children:[l.jsx(_e,{href:"/insights",children:l.jsxs("span",{className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-primary transition-colors cursor-pointer mb-8",children:[l.jsx(md,{className:"w-4 h-4"})," Back to Insights"]})}),l.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-primary tracking-tight mb-6 leading-tight",children:"Speed to market without regulatory compromise"}),l.jsxs("div",{className:"flex items-center gap-6 text-sm text-muted-foreground border-b border-border pb-8 mb-8",children:[l.jsxs("span",{className:"flex items-center gap-2",children:[l.jsx(Rl,{className:"w-4 h-4"})," August 15, 2024"]}),l.jsxs("span",{className:"flex items-center gap-2",children:[l.jsx(Ys,{className:"w-4 h-4"})," 6 min read"]})]})]}),l.jsx("div",{className:"mb-12 rounded-xl overflow-hidden border border-border",children:l.jsx("img",{src:Xu,alt:"Abstract representation of speed",className:"w-full h-auto grayscale"})}),l.jsxs("div",{className:"prose prose-lg prose-slate max-w-none",children:[l.jsx("p",{className:"lead text-xl text-muted-foreground leading-relaxed mb-8 font-medium",children:"Faster delivery is not achieved through shortcuts. It is achieved by designing systems that allow licensing, operations, and physical delivery to progress in parallel."}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"The Fallacy of Shortcuts"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:'In the face of urgent demand for childcare space
419s, there is often pressure to "cut red tape" or accelerate timelines by bypassing standard procedures. However, in a highly regulated environment involving the safety of young children, shortcuts are illusory. A project rushed through planning often hits a wall during licensing. A site built without strict adherence to ratio requirements will require costly retrofits before it can open.'}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"True speed does not come from skipping steps. It comes from executing steps concurrently rather than sequentially."}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"Parallel Processing"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Acorn's delivery model is built on parallel processing. In a traditional linear model, you find a site, then design it, then permit it, then build it, then hire staff, then apply for a license. Each step waits for the previous one to complete."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"We overlap these phases. Because our physical layouts are standardized and pre-vetted against licensing requirements, we can initiate licensing discussions the moment a site is secured. Because our operational policies and staffing models are centralized, we can begin recruitment and training while construction is still underway."}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"Systemization Creates Velocity"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"This parallelism is only possible through rigorous systemization. You cannot parallel process if every site is a unique prototype. By treating childcare centres as productized infrastructureâusing consistent modular components, equipment lists, and room configurationsâwe remove the variables that cause delays."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Speed to market is the result of predictability. When you know exactly what the end product looks like before you break ground, you can move with confidence and velocity, delivering critical capacity to communities months or even years faster than traditional methods."}),l.jsx("div",{className:"mt-16 pt-8 border-t border-border",children:l.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Insights reflect Acorn's experience and perspective and are intended to support informed discussion with partners and stakeholders."})})]})]}),l.jsx(tn,{})]})}function QB(){return x.useEffect(()=>{const e={"@context":"https://schema.org","@type":"Article",headline:"The Acorn Experience: Reggio Emilia in a Modern Context",description:"At Acorn, our educational philosophy is grounded in the Reggio Emilia approachâa progressive, child-centered methodology that views children as capable, resilient, and rich with wonder.",datePublished:"2024-11-15",image:[window.location.origin+Qu],author:{"@type":"Organization",name:"Acorn Early Education Management"},publisher:{"@type":"Organization",name:"Acorn Early Education Management"},mainEntityOfPage:window.location.origin+"/insights/reggio-emilia-approach"},t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify(e),document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("article",{className:"pt-32 pb-24 container mx-auto px-4 md:px-6 max-w-4xl",children:[l.jsxs("div",{className:"mb-8",children:[l.jsx(_e,{href:"/insights",children:l.jsxs("span",{className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-primary transition-colors cursor-pointer mb-8",children:[l.jsx(md,{className:"w-4 h-4"})," Back to Insights"]})}),l.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-primary tracking-tight mb-6 leading-tight",children:"The Acorn Experience: Reggio Emilia in a Modern Context"}),l.jsxs("div",{className:"flex items-center gap-6 text-sm text-muted-foreground border-b border-border pb-8 mb-8",children:[l.jsxs("span",{className:"flex items-center gap-2",children:[l.jsx(Rl,{className:"w-4 h-4"})," November 15, 2024"]}),l.jsxs("span",{className:"flex items-center gap-2",children:[l.jsx(Ys,{className:"w-4 h-4"})," 5 min read"]})]})]}),l.jsx("div",{className:"mb-12 rounded-xl overflow-hidden border border-border",children:l.jsx("img",{src:Qu,alt:"Modern classroom environment",className:"w-full h-auto grayscale"})}),l.jsxs("div",{className:"prose prose-lg prose-slate max-w-none",children:[l.jsx("p",{className:"lead text-xl text-muted-foreground leading-relaxed mb-8 font-medium",children:"At Acorn, our educational philosophy is grounded in the Reggio Emilia approachâa progressive, child-centered methodology that views children as capable, resilient, and rich with wonder. We adapt this proven framework to modern childcare settings, creating environments that foster deep learning and community connection."}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"The Image of the Child"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:`Central to the Reggio Emilia approach is the "image of the child." We do not see children as empty vessels to be filled with facts, but as active constructors of their own knowledge. They are driven by curiosity and possess a natural potential to learn. Our educators act as co-learners and guides, observing children's interests and facilitating investigations that allow them to explore the world on their own terms.`}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"The Environment as the Third Teacher"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:'In our centres, the physical space is deliberatively designed to be the "third teacher." Every corner, material, and light source is chosen to inspire engagement.'}),l.jsxs("ul",{className:"list-disc pl-6 space-y-2 text-muted-foreground mb-8",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Natural Materials:"})," We prioritize wood, stone, and fabric over plastic, connecting children to the natural world."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Light and Transparency:"})," Large windows and open layouts create a sense of connection between spaces and the outdoors."]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Open-Ended Resources:"}),' "Loose parts" play allows children to use materials in infinite ways, fostering creativity and problem-solving.']})]}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"Documentation: Making Learning Visible"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"A
419key component of the Acorn experience is pedagogical documentation. Our educators carefully observe and record children's work through photos, transcripts, and displays. This isn't just about capturing memories; it's about making learning visible."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:'By revisiting these documents, children can see their own progress, educators can plan the next steps in a project, and parents can deeply understand the rich learning processes happening every day. It transforms childcare from simple "supervision" into a shared educational journey.'}),l.jsx("h2",{className:"text-2xl font-bold text-primary mt-12 mb-4",children:"Community and Connection"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Finally, the Reggio approach emphasizes that education is a communal activity. Our centres are not isolated islands; they are hubs of community. We actively involve families and link our curriculum to the local community contextâwhether that's exploring a nearby park, visiting local landmarks, or inviting community members into the classroom."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Through this integrated approach, Acorn prepares children not just for school, but for lifeâcultivating the critical thinking, collaboration, and creativity needed for the future."}),l.jsx("div",{className:"mt-16 pt-8 border-t border-border",children:l.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Insights reflect Acorn's experience and perspective and are intended to support informed discussion with partners and stakeholders."})})]})]}),l.jsx(tn,{})]})}const WB="/assets/soft_faded_light_physics_background-C4-3ZEyh.png",JB="/assets/modern_reggio_emilia_classroom_interior-DugOaHYn.png";function eU(e,t,{checkForDefaultPrevented:a=!0}={}){return function(o){if(e?.(o),a===!1||!o.defaultPrevented)return t?.(o)}}var tU=$s[" useInsertionEffect ".trim().toString()]||gt;function nU({prop:e,defaultProp:t,onChange:a=()=>{},caller:r}){const[o,c,d]=aU({defaultProp:t,onChange:a}),f=e!==void 0,m=f?e:o;{const y=x.useRef(e!==void 0);x.useEffect(()=>{const v=y.current;v!==f&&console.warn(`${r} is changing from ${v?"controlled":"uncontrolled"} to ${f?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=f},[f,r])}const p=x.useCallback(y=>{if(f){const v=sU(y)?y(e):y;v!==e&&d.current?.(v)}else c(y)},[f,e,c,d]);return[m,p]}function aU({defaultProp:e,onChange:t}){const[a,r]=x.useState(e),o=x.useRef(a),c=x.useRef(t);return tU(()=>{c.current=t},[t]),x.useEffect(()=>{o.current!==a&&(c.current?.(a),o.current=a)},[a,o]),[a,r,c]}function sU(e){return typeof e=="function"}var Bd="Collapsible",[rU]=ja(Bd),[iU,py]=rU(Bd),yT=x.forwardRef((e,t)=>{const{__scopeCollapsible:a,open:r,defaultOpen:o,disabled:c,onOpenChange:d,...f}=e,[m,p]=nU({prop:r,defaultProp:o??!1,onChange:d,caller:Bd});return l.jsx(iU,{scope:a,disabled:c,contentId:Ps(),open:m,onOpenToggle:x.useCallback(()=>p(y=>!y),[p]),children:l.jsx(We.div,{"data-state":yy(m),"data-disabled":c?"":void 0,...f,ref:t})})});yT.displayName=Bd;var xT="CollapsibleTrigger",vT=x.forwardRef((e,t)=>{const{__scopeCollapsible:a,...r}=e,o=py(xT,a);return l.jsx(We.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":yy(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:eU(e.onClick,o.onOpenToggle)})});vT.displayName=xT;var gy="CollapsibleContent",bT=x.forwardRef((e,t)=>{const{forceMount:a,...r}=e,o=py(gy,e.__scopeCollapsible);return l.jsx(Ca,{present:a||o.open,children:({present:c})=>l.jsx(oU,{...r,ref:t,present:c})})});bT.displayName=gy;var oU=x.forwardRef((e,t)=>{const{__scopeCollapsible:a,present:r,children:o,...c}=e,d=py(gy,a),[f,m]=x.useState(r),p=x.useRef(null),y=Qe(t,p),v=x.useRef(0),w=v.current,S=x.useRef(0),E=S.current,j=d.open||f,C=x.useRef(j),A=x.useRef(void 0);return x.useEffect(()=>{const T=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(T)},[]),gt(()=>{const T=p.current;if(T){A.current=A.current||{transitionDuration:T.style.transitionDuration,animationName:T.style.animationName},T.style.transitionDuration="0s",T.style.animationName="none";const _=T.getBoundingClientRect();v.current=_.height,S.current=_.width,C.current||(T.style.transitionDuration=A.current.transitionDuration,T.style.animationName=A.current.animationName),m(r)}},[d.open,r]),l.jsx(We.div,{"data-state":yy(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!j,...c,ref:y,style:{"--radix-collapsible-content-height":w?`${w}px`:void 0,"--radix-collapsible-content-width":E?`${E}px`:void 0,...e.style},children:j&&o})});function yy(e){return e?"open":"closed"}var lU=yT;const cU=lU,uU=vT,dU=bT;
419function fU(){const[e,t]=x.useState(!1),[a,r]=x.useState(0),o=[{icon:pN,title:"Thinking & Problem-Solving",desc:"Builds logic, reasoning, and problem-solving through hands-on exploration.",blocks:["Critical Thinking","Resilience & Adaptability","Creativity & Innovation"]},{icon:Mu,title:"Physical Growth",desc:"Enhances motor skills through movement, play, and hands-on activities.",blocks:["Physical Well-Being","Resilience & Adaptability","Mental Wellness"]},{icon:ju,title:"Social & Emotional Skills",desc:"Fosters empathy, teamwork, and self-awareness.",blocks:["Emotional Intelligence","Social Skills & Collaboration","Mental Wellness"]},{icon:NN,title:"Language & Communication",desc:"Strengthens speaking, listening, reading, and storytelling.",blocks:["Social Skills & Collaboration","Emotional Intelligence","Cultural Awareness"]},{icon:SN,title:"Creativity & Expression",desc:"Encourages imagination through art, music, and drama.",blocks:["Creativity & Innovation","Critical Thinking","Emotional Intelligence"]},{icon:CN,title:"Health & Well-being",desc:"Teaches hygiene, nutrition, and mindfulness.",blocks:["Mental Wellness","Physical Well-Being","Resilience & Adaptability"]},{icon:xN,title:"Cultural & Global Awareness",desc:"Introduces diversity, traditions, and sustainability.",blocks:["Cultural Awareness","Ethical Reasoning","Environmental Responsibility"]},{icon:Jm,title:"Tech & Innovation",desc:"Guides responsible technology use and problem-solving skills.",blocks:["Digital Literacy","Critical Thinking","Ethical Reasoning"]},{icon:_n,title:"Community & Responsibility",desc:"Develops leadership, kindness, and teamwork.",blocks:["Ethical Reasoning","Social Skills & Collaboration","Environmental Responsibility"]}],c=3;x.useEffect(()=>{const f=setInterval(()=>{r(m=>(m+1)%c)},5e3);return()=>clearInterval(f)},[]);const d=[{title:"Critical Thinking",desc:"Encouraging curiosity and logical reasoning to explore creative solutions."},{title:"Resilience & Adaptability",desc:"Helping children embrace change and cultivate a growth mindset."},{title:"Creativity & Innovation",desc:"Inspiring imagination and out-of-the-box thinking."},{title:"Emotional Intelligence",desc:"Developing self-awareness, empathy, and the ability to manage emotions."},{title:"Social Skills & Collaboration",desc:"Teaching cooperation, teamwork, and effective communication."},{title:"Mental Wellness",desc:"Supporting emotional balance with mindfulness practices."},{title:"Physical Well-Being",desc:"Promoting health through movement and outdoor play."},{title:"Cultural Awareness",desc:"Introducing diverse perspectives and global values."},{title:"Ethical Reasoning",desc:"Building moral understanding and responsible decision-making."},{title:"Digital Literacy",desc:"Teaching age-appropriate technology skills and responsible behavior."},{title:"Environmental Responsibility",desc:"Encouraging sustainability through gardening and recycling."}];return l.jsxs("div",{className:"min-h-screen bg-white font-sans text-foreground",children:[l.jsx(en,{}),l.jsxs("section",{className:"relative pt-32 pb-20 md:pt-48 md:pb-32 overflow-hidden min-h-[70vh] flex items-center",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:WB,alt:"Light physics and discovery",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-white via-white/90 to-white/50"})]}),l.jsx("div",{className:"container relative z-10 mx-auto px-4 md:px-6",children:l.jsxs(me.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-3xl space-y-6",children:[l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight text-primary leading-[1.1]",children:["Acorn ",l.jsx("span",{className:"text-secondary",children:"Academy"})]}),l.jsx("h2",{className:"text-2xl md:text-3xl font-medium text-muted-foreground",children:"Growing Human Potential in an AI-Transformed World"}),l.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed",children:"Preparing educators to guide children toward confident, capable futures."}),l.jsx("p",{className:"text-2xl font-bold text-primary pt-2",children:"Education for Tomorrow."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 pt-4",children:[l.jsx(Ue,{asChild:!0,size:"lg",className:"rounded-md px-8",children:l.jsx("a",{href:"https://academy.myacorn.ca/",target:"_blank",rel:"noopener noreferrer",children:"Acorn Academy App"})}),l.jsx(Ue,{asChild:!0,variant:"outline",size:"lg",className:"rounded-md px-8",children:l.jsx("a",{href:"/contact?reason=academy",children:"Start Your Certification"})})]})]})})]}),l.jsx("section",{className:"py-24 bg-white",children:l.jsx("div",{className:"container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"max-w-4xl mx-auto",children:[l.jsx(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-8",children:l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary mb-6",children:"About the Academy"})}),l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.1},className:"space-y-6 text-lg text-muted-foreground leading-relaxed",children:[l.jsx("p",{children:"Acorn Academy is a professional learning hub dedicated to supporting educators at every stage of their career. We provide online courses, interactive workshops, evidence-informed training, and recognized certifications designed to enhance practice in early childhood education, curriculum planning, documentation, and inquiry-based learning."}),l.jsx("p",{children:"Behind the scenes, we use thoughtful AI-supported tools to strengthen our learning design and better support educators, while keeping human connection at the center."}),l.jsx("div",{className:"pt-4",children:l.jsx(Ue,{asChild:!0,size:"lg",className:"rounded-md px-8",children:l.jsx("a",{href:"https://academy.myacorn.ca/",target:"_blank",rel:"noopener noreferrer",children:"Visit Academy App"})})})]})]})})}),l.jsxs("section",{className:"py-24 relative overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:JB,alt:"Professional educators",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-primary/85"})]}),l.jsxs("div",{className:"container mx-auto px-4 md:px-6 relative z-10",children:[l.jsxs("div",{className:"mb-12 text-center",children:[l.jsx("h2",{className:"text-3xl font-bold text-white mb-4",children:"Who Are Our C
419ourses For?"}),l.jsx("p",{className:"text-lg text-white/80",children:"Acorn Academy courses are designed for education professionals at every level"})]}),l.jsx("div",{className:"grid md:grid-cols-3 lg:grid-cols-5 gap-6",children:[{icon:wk,title:"Early Childhood Educators"},{icon:ga,title:"School Leaders & Administrators"},{icon:$0,title:"Curriculum Coordinators"},{icon:_n,title:"Education Support Staff"},{icon:Wm,title:"Practitioners Seeking Certification"}].map((f,m)=>l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:m*.1},className:"bg-white/95 backdrop-blur-sm p-6 rounded-xl border border-white/20 shadow-lg hover:shadow-xl hover:bg-white transition-all text-center",children:[l.jsx("div",{className:"bg-secondary/10 w-14 h-14 rounded-full flex items-center justify-center mx-auto mb-4",children:l.jsx(f.icon,{className:"w-7 h-7 text-secondary"})}),l.jsx("h3",{className:"text-base font-bold text-primary",children:f.title})]},m))}),l.jsx("div",{className:"mt-10 text-center",children:l.jsx(Ue,{asChild:!0,size:"lg",variant:"secondary",className:"rounded-md px-8 bg-white text-primary hover:bg-white/90",children:l.jsx("a",{href:"/contact?reason=academy",children:"Explore Our Courses"})})})]})]}),l.jsx("section",{className:"py-24 bg-white",id:"focus",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-12 text-center",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"What Our Academy Focuses On"}),l.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Skills for a World That Cannot Be Automated"})]}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4 max-w-4xl mx-auto",children:[{title:"Empathy & Emotional Intelligence",icon:ju},{title:"Communication & Collaboration",icon:Hk},{title:"Adaptability & Resilience",icon:ep},{title:"Confidence & Self Awareness",icon:sM},{title:"Ethical Thinking & Responsibility",icon:Wk},{title:"Creative Problem Solving",icon:Y0}].map((f,m)=>l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:m*.05},className:"p-5 rounded-xl border border-slate-200 bg-slate-50 flex items-center gap-4 hover:border-primary/30 transition-all",children:[l.jsx("div",{className:"bg-secondary/10 w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0",children:l.jsx(f.icon,{className:"w-5 h-5 text-secondary"})}),l.jsx("span",{className:"font-medium text-primary",children:f.title})]},m))}),l.jsx(me.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-lg text-muted-foreground text-center max-w-3xl mx-auto mt-10",children:"We combine inquiry-based practice, reflection, and carefully designed digital and AI-informed tools that help educators observe patterns, reflect more deeply, and respond intentionally."}),l.jsxs("div",{className:"mt-12",id:"framework",children:[l.jsxs("div",{className:"text-center mb-10",children:[l.jsx("h3",{className:"text-2xl font-bold text-primary mb-3",children:"The Acorn Development Framework"}),l.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Every activity at Acorn intentionally engages these nine learning domains."})]}),l.jsxs("div",{className:"mb-10",children:[l.jsx("h4",{className:"text-sm font-bold text-primary uppercase tracking-wide mb-4 text-center",children:"Nine Domains of Growth"}),l.jsx("div",{className:"grid grid-cols-3 md:grid-cols-9 gap-3",children:o.map((f,m)=>{const p=f.icon;return l.jsxs("div",{className:"bg-white p-4 rounded-xl border border-slate-200 hover:border-primary/30 hover:shadow-md transition-all text-center group cursor-default",children:[l.jsx("div",{className:"w-10 h-10 mx-auto rounded-lg bg-primary/10 text-primary flex items-center justify-center mb-2 group-hover:bg-primary group-hover:text-white transition-colors",children:l.jsx(p,{className:"w-5 h-5"})}),l.jsx("p",{className:"text-xs font-medium text-primary leading-tight",children:f.title})]},m)})})]}),l.jsxs(cU,{open:e,onOpenChange:t,className:"border border-slate-200 rounded-xl bg-white",children:[l.jsxs("div",{className:"p-5 flex items-center justify-between",children:[l.jsxs("div",{children:[l.jsx("h4",{className:"text-base font-bold text-primary",children:"11 Foundational Building Blocks"}),l.jsx("p",{className:"text-sm text-muted-foreground mt-0.5",children:"Essential capabilities woven into every learning experience."})]}),l.jsx(uU,{asChild:!0,children:l.jsxs(Ue,{variant:"ghost",size:"sm",className:"w-9 p-0",children:[l.jsx(pd,{className:`h-4 w-4 transition-transform duration-200 ${e?"transform rotate-180":""}`}),l.jsx("span",{className:"sr-only",children:"Toggle"})]})})]}),l.jsx(dU,{children:l.jsx("div",{className:"px-5 pb-5",children:l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-3",children:d.map((f,m)=>l.jsxs("div",{className:"flex items-start gap-2 p-3 bg-slate-50 rounded-lg border border-slate-100 hover:border-primary/20 transition-all group",children:[l.jsx("div",{className:"bg-secondary/10 text-secondary w-6 h-6 rounded-full flex items-center justify-center flex-shrink-0 text-xs font-bold group-hover:bg-secondary group-hover:text-white transition-colors",children:m+1}),l.jsx("span",{className:"font-medium text-primary text-sm",children:f.title})]},m))})})})]})]})]})}),l.jsx("section",{className:"py-24 bg-slate-50 border-y border-slate-200",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"mb-12 text-center",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"How It Works"}),l.jsx("p",{className:"text-lg text-muted-foreground",children:"Your path to professional growth in four simple steps"})]}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8 max-w-6xl mx-auto",children:[{step:"1",title:"Cho
419ose Your Path",desc:"Select from foundational courses, specialization modules, or full certification programs."},{step:"2",title:"Learn Online",desc:"Access video lessons, readings, reflective prompts, and interactive content from any device."},{step:"3",title:"Practice & Apply",desc:"Use tools, templates, and guided assignments to apply learning in real contexts."},{step:"4",title:"Earn Certification",desc:"Complete courses and assessments to earn certificates endorsed by Acorn Academy."}].map((f,m)=>l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:m*.1},className:"bg-white p-6 rounded-xl border border-slate-200 text-center",children:[l.jsx("div",{className:"w-12 h-12 rounded-full bg-primary text-white flex items-center justify-center text-xl font-bold mx-auto mb-4",children:f.step}),l.jsx("h3",{className:"text-lg font-bold text-primary mb-3",children:f.title}),l.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:f.desc})]},m))})]})}),l.jsx("section",{className:"py-24 bg-white",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[l.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-12",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Why Choose Acorn Academy?"}),l.jsx("p",{className:"text-lg text-muted-foreground",children:"Professional development that makes a real difference"})]}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-5xl mx-auto",children:[{icon:$0,title:"Research-Based Strategies",desc:"Practical strategies grounded in current early childhood research"},{icon:Jm,title:"Flexible Learning",desc:"Self-paced courses you can complete on your own schedule"},{icon:Wm,title:"Recognized Certification",desc:"End-of-course certification to support professional growth"},{icon:_n,title:"Expert-Designed",desc:"Courses designed by experienced educators in the field"},{icon:Y0,title:"Immediate Application",desc:"Resources educators can use immediately in their practice"},{icon:ju,title:"Community Support",desc:"Join a network of like-minded education professionals"}].map((f,m)=>l.jsxs(me.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:m*.1},className:"flex items-start gap-4 p-5 rounded-xl border border-slate-200 hover:border-primary/30 transition-all",children:[l.jsx("div",{className:"bg-secondary/10 w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0",children:l.jsx(f.icon,{className:"w-5 h-5 text-secondary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-bold text-primary mb-1",children:f.title}),l.jsx("p",{className:"text-sm text-muted-foreground",children:f.desc})]})]},m))})]})}),l.jsx("section",{className:"py-24 bg-slate-50",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6 max-w-4xl text-center",children:[l.jsx("h2",{className:"text-3xl font-bold text-primary mb-6",children:"Supporting Parents Through Change"}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-8",children:"We know parents want preparedness and values, confidence without fear, and curiosity instead of anxiety. Acorn is your partner in navigating this changing landscape, helping you feel grounded and informed."}),l.jsx(Ue,{asChild:!0,variant:"outline",className:"mt-4",children:l.jsx("a",{href:"/contact",children:"Start a conversation"})})]})}),l.jsx("section",{className:"py-32 bg-white container mx-auto px-4 md:px-6 text-center",children:l.jsxs("div",{className:"max-w-2xl mx-auto space-y-8",children:[l.jsx(ep,{className:"w-12 h-12 text-primary mx-auto opacity-20"}),l.jsx("h2",{className:"text-4xl font-serif text-primary",children:"Acorn. We Light the Way."}),l.jsx("p",{className:"text-xl text-muted-foreground font-medium",children:"This is the Acorn way."})]})}),l.jsx(tn,{})]})}function hU(){const[e]=cd();return x.useEffect(()=>{window.scrollTo(0,0)},[e]),null}function mU(){return l.jsxs(gR,{children:[l.jsx(Zt,{path:"/",component:Qz}),l.jsx(Zt,{path:"/platform",component:oL}),l.jsx(Zt,{path:"/delivery-model",component:cL}),l.jsx(Zt,{path:"/technology",component:fL}),l.jsx(Zt,{path:"/portfolio",component:gL}),l.jsx(Zt,{path:"/partnerships",component:yL}),l.jsx(Zt,{path:"/academy",component:fU}),l.jsx(Zt,{path:"/contact",component:PB}),l.jsx(Zt,{path:"/about",component:qB}),l.jsx(Zt,{path:"/legal",component:$B}),l.jsx(Zt,{path:"/insights",component:YB}
419),l.jsx(Zt,{path:"/insights/childcare-as-infrastructure",component:ZB}),l.jsx(Zt,{path:"/insights/fragmented-delivery-models",component:KB}),l.jsx(Zt,{path:"/insights/speed-to-market",component:XB}),l.jsx(Zt,{path:"/insights/reggio-emilia-approach",component:QB}),l.jsx(Zt,{path:"/what-we-do",component:aL}),l.jsx(Zt,{component:h3})]})}function pU(){return l.jsx(UR,{client:HR,children:l.jsxs(o3,{children:[l.jsx(hU,{}),l.jsx(JM,{}),l.jsx(mU,{})]})})}q_.createRoot(document.getElementById("root")).render(l.jsx(pU,{}));
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.