PageSourceSearch

https://seo-template-reviews.lovable.app/assets/index-dWuK3dA_.js

js seo-template-reviews.lovable.app collected 2026-10-03 03:44:01 UTC 455,951 bytes, 185 lines download raw bytes

vendor: 5,228 bytes, lines 1-9
1var Qx=Object.defineProperty;var sh=e=>{throw TypeError(e)};var Kx=(e,t,n)=>t in e?Qx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ss=(e,t,n)=>Kx(e,typeof t!="symbol"?t+"":t,n),lc=(e,t,n)=>t.has(e)||sh("Cannot "+n);var d=(e,t,n)=>(lc(e,t,"read from private field"),n?n.call(e):t.get(e)),M=(e,t,n)=>t.has(e)?sh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),L=(e,t,n,r)=>(lc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),N=(e,t,n)=>(lc(e,t,"access private method"),n);var Ki=(e,t,n,r)=>({set _(o){L(e,t,o,n)},get _(){return d(e,t,r)}});function Yx(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{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 s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function bm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cm={exports:{}},Na={},Em={exports:{}},oe={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its 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 Di=Symbol.for("react.element"),qx=Symbol.for("react.portal"),Xx=Symbol.for("react.fragment"),Jx=Symbol.for("react.strict_mode"),Zx=Symbol.for("react.profiler"),ew=Symbol.for("react.provider"),tw=Symbol.for("react.context"),nw=Symbol.for("react.forward_ref"),rw=Symbol.for("react.suspense"),ow=Symbol.for("react.memo"),sw=Symbol.for("react.lazy"),ih=Symbol.iterator;function iw(e){return e===null||typeof e!="object"?null:(e=ih&&e[ih]||e["@@iterator"],typeof e=="function"?e:null)}var Nm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sm=Object.assign,km={};function gs(e,t,n){this.props=e,this.context=t,this.refs=km,this.updater=n||Nm}gs.prototype.isReactComponent={};gs.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};gs.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Am(){}Am.prototype=gs.prototype;function Ad(e,t,n){this.props=e,this.context=t,this.refs=km,this.updater=n||Nm}var jd=Ad.prototype=new Am;jd.constructor=Ad;Sm(jd,gs.prototype);jd.isPureReactComponent=!0;var lh=Array.isArray,jm=Object.prototype.hasOwnProperty,Pd={current:null},Pm={key:!0,ref:!0,__self:!0,__source:!0};function Tm(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)jm.call(t,r)&&!Pm.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Di,type:e,key:s,ref:i,props:o,_owner:Pd.current}}function lw(e,t){return{$$typeof:Di,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Td(e){return typeof e=="object"&&e!==null&&e.$$typeof===Di}function aw(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ah=/\/+/g;function ac(e,t){return typeof e=="object"&&e!==null&&e.key!=null?aw(""+e.key):t.toString(36)}function yl(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Di:case qx:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+ac(i,0):r,lh(o)?(n="",e!=null&&(n=e.replace(ah,"$&/")+"/"),yl(o,t,n,"",function(u){return u})):o!=null&&(Td(o)&&(o=lw(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(ah,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",lh(e))for(var l=0;l<e.length;l++){s=e[l];var c=r+ac(s,l);i+=yl(s,t,n,c,o)}else if(c=iw(e),typeof c=="function")for(e=c.call(e),l=0;!(s=e.next()).done;)s=s.value,c=r+ac(s,l++),i+=yl(s,t,n,c,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}
vendor: 6,093 bytes, lines 9-25
9function Yi(e,t,n){if(e==null)return e;var r=[],o=0;return yl(e,r,"","",function(s){return t.call(n,s,o++)}),r}function cw(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var tt={current:null},xl={transition:null},uw={ReactCurrentDispatcher:tt,ReactCurrentBatchConfig:xl,ReactCurrentOwner:Pd};function Rm(){throw Error("act(...) is not supported in production builds of React.")}oe.Children={map:Yi,forEach:function(e,t,n){Yi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Yi(e,function(){t++}),t},toArray:function(e){return Yi(e,function(t){return t})||[]},only:function(e){if(!Td(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};oe.Component=gs;oe.Fragment=Xx;oe.Profiler=Zx;oe.PureComponent=Ad;oe.StrictMode=Jx;oe.Suspense=rw;oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uw;oe.act=Rm;oe.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Sm({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=Pd.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)jm.call(t,c)&&!Pm.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Di,type:e.type,key:o,ref:s,props:r,_owner:i}};oe.createContext=function(e){return e={$$typeof:tw,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:ew,_context:e},e.Consumer=e};oe.createElement=Tm;oe.createFactory=function(e){var t=Tm.bind(null,e);return t.type=e,t};oe.createRef=function(){return{current:null}};oe.forwardRef=function(e){return{$$typeof:nw,render:e}};oe.isValidElement=Td;oe.lazy=function(e){return{$$typeof:sw,_payload:{_status:-1,_result:e},_init:cw}};oe.memo=function(e,t){return{$$typeof:ow,type:e,compare:t===void 0?null:t}};oe.startTransition=function(e){var t=xl.transition;xl.transition={};try{e()}finally{xl.transition=t}};oe.unstable_act=Rm;oe.useCallback=function(e,t){return tt.current.useCallback(e,t)};oe.useContext=function(e){return tt.current.useContext(e)};oe.useDebugValue=function(){};oe.useDeferredValue=function(e){return tt.current.useDeferredValue(e)};oe.useEffect=function(e,t){return tt.current.useEffect(e,t)};oe.useId=function(){return tt.current.useId()};oe.useImperativeHandle=function(e,t,n){return tt.current.useImperativeHandle(e,t,n)};oe.useInsertionEffect=function(e,t){return tt.current.useInsertionEffect(e,t)};oe.useLayoutEffect=function(e,t){return tt.current.useLayoutEffect(e,t)};oe.useMemo=function(e,t){return tt.current.useMemo(e,t)};oe.useReducer=function(e,t,n){return tt.current.useReducer(e,t,n)};oe.useRef=function(e){return tt.current.useRef(e)};oe.useState=function(e){return tt.current.useState(e)};oe.useSyncExternalStore=function(e,t,n){return tt.current.useSyncExternalStore(e,t,n)};oe.useTransition=function(){return tt.current.useTransition()};oe.version="18.3.1";Em.exports=oe;var w=Em.exports;const O=bm(w),Rd=Yx({__proto__:null,default:O},[w]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its 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 dw=w,fw=Symbol.for("react.element"),hw=Symbol.for("react.fragment"),pw=Object.prototype.hasOwnProperty,mw=dw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,gw={key:!0,ref:!0,__self:!0,__source:!0};function Im(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)pw.call(t,r)&&!gw.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:fw,type:e,key:s,ref:i,props:o,_owner:mw.current}}Na.Fragment=hw;Na.jsx=Im;Na.jsxs=Im;Cm.exports=Na;var a=Cm.exports,Lm={exports:{}},wt={},Om={exports:{}},_m={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its 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 */(function(e){function t(P,T){var R=P.length;P.push(T);e:for(;0<R;){var B=R-1>>>1,z=P[B];if(0<o(z,T))P[B]=T,P[R]=z,R=B;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var T=P[0],R=P.pop();if(R!==T){P[0]=R;e:for(var B=0,z=P.length,W=z>>>1;B<W;){var K=2*(B+1)-1,de=P[K],Ae=K+1,ne=P[Ae];if(0>o(de,R))Ae<z&&0>o(ne,de)?(P[B]=ne,P[Ae]=R,B=Ae):(P[B]=de,P[K]=R,B=K);else if(Ae<z&&0>o(ne,R))P[B]=ne,P[Ae]=R,B=Ae;else break e}}return T}function o(P,T){var R=P.sortIndex-T.sortIndex;return R!==0?R:P.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var c=[],u=[],f=1,h=null,g=3,p=!1,C=!1,x=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(P){for(var T=n(u);T!==null;){if(T.callback===null)r(u);else if(T.startTime<=P)r(u),T.sortIndex=T.expirationTime,t(c,T);else break;T=n(u)}}function E(P){if(x=!1,y(P),!C)if(n(c)!==null)C=!0,Q(S);else{var T=n(u);T!==null&&q(E,T.startTime-P)}}function S(P,T){C=!1,x&&(x=!1,v(I),I=-1),p=!0;var R=g;try{for(y(T),h=n(c);h!==null&&(!(h.expirationTime>T)||P&&!V());
vendor: 9,177 bytes, lines 25-34
25){var B=h.callback;if(typeof B=="function"){h.callback=null,g=h.priorityLevel;var z=B(h.expirationTime<=T);T=e.unstable_now(),typeof z=="function"?h.callback=z:h===n(c)&&r(c),y(T)}else r(c);h=n(c)}if(h!==null)var W=!0;else{var K=n(u);K!==null&&q(E,K.startTime-T),W=!1}return W}finally{h=null,g=R,p=!1}}var A=!1,j=null,I=-1,F=5,D=-1;function V(){return!(e.unstable_now()-D<F)}function G(){if(j!==null){var P=e.unstable_now();D=P;var T=!0;try{T=j(!0,P)}finally{T?te():(A=!1,j=null)}}else A=!1}var te;if(typeof m=="function")te=function(){m(G)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,Z=$.port2;$.port1.onmessage=G,te=function(){Z.postMessage(null)}}else te=function(){b(G,0)};function Q(P){j=P,A||(A=!0,te())}function q(P,T){I=b(function(){P(e.unstable_now())},T)}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_continueExecution=function(){C||p||(C=!0,Q(S))},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"):F=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(P){switch(g){case 1:case 2:case 3:var T=3;break;default:T=g}var R=g;g=T;try{return P()}finally{g=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,T){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var R=g;g=P;try{return T()}finally{g=R}},e.unstable_scheduleCallback=function(P,T,R){var B=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?B+R:B):R=B,P){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=R+z,P={id:f++,callback:T,priorityLevel:P,startTime:R,expirationTime:z,sortIndex:-1},R>B?(P.sortIndex=R,t(u,P),n(c)===null&&P===n(u)&&(x?(v(I),I=-1):x=!0,q(E,R-B))):(P.sortIndex=z,t(c,P),C||p||(C=!0,Q(S))),P},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(P){var T=g;return function(){var R=g;g=T;try{return P.apply(this,arguments)}finally{g=R}}}})(_m);Om.exports=_m;var vw=Om.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its 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 yw=w,yt=vw;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Dm=new Set,ri={};function po(e,t){ls(e,t),ls(e+"Capture",t)}function ls(e,t){for(ri[e]=t,e=0;e<t.length;e++)Dm.add(t[e])}var Un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qc=Object.prototype.hasOwnProperty,xw=/^[: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]*$/,ch={},uh={};function ww(e){return Qc.call(uh,e)?!0:Qc.call(ch,e)?!1:xw.test(e)?uh[e]=!0:(ch[e]=!0,!1)}function bw(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Cw(e,t,n,r){if(t===null||typeof t>"u"||bw(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function nt(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var Ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ge[e]=new nt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ge[t]=new nt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ge[e]=new nt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ge[e]=new nt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ge[e]=new nt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ge[e]=new nt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ge[e]=new nt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ge[e]=new nt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ge[e]=new nt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Id=/[\-:]([a-z])/g;function Ld(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Id,Ld);Ge[t]=new nt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Id,Ld);Ge[t]=new nt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Id,Ld);Ge[t]=new nt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ge[e]=new nt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ge.xlinkHref=new nt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ge[e]=new nt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Od(e,t,n,r){var o=Ge.hasOwnProperty(t)?Ge[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Cw(t,n,o,r)&&(n=null),r||o===null?ww(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Qn=yw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,qi=Symbol.for("react.element"),So=Symbol.for("react.portal"),ko=Symbol.for("react.fragment"),_d=Symbol.for("react.strict_mode"),Kc=Symbol.for("react.profiler"),Mm=Symbol.for("react.provider"),Fm=Symbol.for("react.context"),Dd=Symbol.for("react.forward_ref"),Yc=Symbol.for("react.suspense"),qc=Symbol.for("react.suspense_list"),Md=Symbol.for("react.memo"),sr=Symbol.for("react.lazy"),zm=Symbol.for("react.offscreen"),dh=Symbol.iterator;function ks(e){return e===null||typeof e!="object"?null:(e=dh&&e[dh]||e["@@iterator"],typeof e=="function"?e:null)}var Ne=Object.assign,cc;function zs(e){if(cc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);cc=t&&t[1]||""}return`
34`+cc+e}var uc=!1;function dc(e,t){if(!e||uc)return"";uc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 16,583 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),s=r.stack.split(`
36`),i=o.length-1,l=s.length-1;1<=i&&0<=l&&o[i]!==s[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==s[l]){if(i!==1||l!==1)do if(i--,l--,0>l||o[i]!==s[l]){var c=`
37`+o[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=i&&0<=l);break}}}finally{uc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?zs(e):""}function Ew(e){switch(e.tag){case 5:return zs(e.type);case 16:return zs("Lazy");case 13:return zs("Suspense");case 19:return zs("SuspenseList");case 0:case 2:case 15:return e=dc(e.type,!1),e;case 11:return e=dc(e.type.render,!1),e;case 1:return e=dc(e.type,!0),e;default:return""}}function Xc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ko:return"Fragment";case So:return"Portal";case Kc:return"Profiler";case _d:return"StrictMode";case Yc:return"Suspense";case qc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Fm:return(e.displayName||"Context")+".Consumer";case Mm:return(e._context.displayName||"Context")+".Provider";case Dd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Md:return t=e.displayName||null,t!==null?t:Xc(e.type)||"Memo";case sr:t=e._payload,e=e._init;try{return Xc(e(t))}catch{}}return null}function Nw(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Xc(t);case 8:return t===_d?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Pr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Bm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sw(e){var t=Bm(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Xi(e){e._valueTracker||(e._valueTracker=Sw(e))}function Um(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Bm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function zl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Jc(e,t){var n=t.checked;return Ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function fh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Pr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function $m(e,t){t=t.checked,t!=null&&Od(e,"checked",t,!1)}function Zc(e,t){$m(e,t);var n=Pr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?eu(e,t.type,n):t.hasOwnProperty("defaultValue")&&eu(e,t.type,Pr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function eu(e,t,n){(t!=="number"||zl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bs=Array.isArray;function Fo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Pr(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function tu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(_(91));return Ne({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ph(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(_(92));if(Bs(n)){if(1<n.length)throw Error(_(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Pr(n)}}function Gm(e,t){var n=Pr(t.value),r=Pr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function mh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Hm(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function nu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Hm(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ji,Wm=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ji=Ji||document.createElement("div"),Ji.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ji.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function oi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Vs={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},kw=["Webkit","ms","Moz","O"];Object.keys(Vs).forEach(function(e){kw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vs[t]=Vs[e]})});function Vm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Vs.hasOwnProperty(e)&&Vs[e]?(""+t).trim():t+"px"}function Qm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Vm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Aw=Ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ru(e,t){if(t){if(Aw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function ou(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var su=null;function Fd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var iu=null,zo=null,Bo=null;function gh(e){if(e=zi(e)){if(typeof iu!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Pa(t),iu(e.stateNode,e.type,t))}}function Km(e){zo?Bo?Bo.push(e):Bo=[e]:zo=e}function Ym(){if(zo){var e=zo,t=Bo;if(Bo=zo=null,gh(e),t)for(e=0;e<t.length;e++)gh(t[e])}}function qm(e,t){return e(t)}function Xm(){}var fc=!1;function Jm(e,t,n){if(fc)return e(t,n);fc=!0;try{return qm(e,t,n)}finally{fc=!1,(zo!==null||Bo!==null)&&(Xm(),Ym())}}function si(e,t){var n=e.stateNode;if(n===null)return null;var r=Pa(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(_(231,t,typeof n));return n}var lu=!1;if(Un)try{var As={};Object.defineProperty(As,"passive",{get:function(){lu=!0}}),window.addEventListener("test",As,As),window.removeEventListener("test",As,As)}catch{lu=!1}function jw(e,t,n,r,o,s,i,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var Qs=!1,Bl=null,Ul=!1,au=null,Pw={onError:function(e){Qs=!0,Bl=e}};function Tw(e,t,n,r,o,s,i,l,c){Qs=!1,Bl=null,jw.apply(Pw,arguments)}function Rw(e,t,n,r,o,s,i,l,c){if(Tw.apply(this,arguments),Qs){if(Qs){var u=Bl;Qs=!1,Bl=null}else throw Error(_(198));Ul||(Ul=!0,au=u)}}function mo(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Zm(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function vh(e){if(mo(e)!==e)throw Error(_(188))}function Iw(e){var t=e.alternate;if(!t){if(t=mo(e),t===null)throw Error(_(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return vh(o),e;if(s===r)return vh(o),t;s=s.sibling}throw Error(_(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=s;break}if(l===r){i=!0,r=o,n=s;break}l=l.sibling}if(!i){for(l=s.child;l;){if(l===n){i=!0,n=s,r=o;break}if(l===r){i=!0,r=s,n=o;break}l=l.sibling}if(!i)throw Error(_(189))}}if(n.alternate!==r)throw Error(_(190))}if(n.tag!==3)throw Error(_(188));return n.stateNode.current===n?e:t}function eg(e){return e=Iw(e),e!==null?tg(e):null}function tg(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=tg(e);if(t!==null)return t;e=e.sibling}return null}var ng=yt.unstable_scheduleCallback,yh=yt.unstable_cancelCallback,Lw=yt.unstable_shouldYield,Ow=yt.unstable_requestPaint,Pe=yt.unstable_now,_w=yt.unstable_getCurrentPriorityLevel,zd=yt.unstable_ImmediatePriority,rg=yt.unstable_UserBlockingPriority,$l=yt.unstable_NormalPriority,Dw=yt.unstable_LowPriority,og=yt.unstable_IdlePriority,Sa=null,vn=null;function Mw(e){if(vn&&typeof vn.onCommitFiberRoot=="function")try{vn.onCommitFiberRoot(Sa,e,void 0,(e.current.flags&128)===128)}catch{}}var en=Math.clz32?Math.clz32:Bw,Fw=Math.log,zw=Math.LN2;function Bw(e){return e>>>=0,e===0?32:31-(Fw(e)/zw|0)|0}var Zi=64,el=4194304;function Us(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Gl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var l=i&~o;l!==0?r=Us(l):(s&=i,s!==0&&(r=Us(s)))}else i=n&~o,i!==0?r=Us(i):s!==0&&(r=Us(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-en(t),o=1<<n,r|=e[n],t&=~o;return r}function Uw(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function $w(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-en(s),l=1<<i,c=o[i];c===-1?(!(l&n)||l&r)&&(o[i]=Uw(l,t)):c<=t&&(e.expiredLanes|=l),s&=~l}}function cu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function sg(){var e=Zi;return Zi<<=1,!(Zi&4194240)&&(Zi=64),e}function hc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Mi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-en(t),e[t]=n}function Gw(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-en(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function Bd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-en(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ae=0;function ig(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var lg,Ud,ag,cg,ug,uu=!1,tl=[],br=null,Cr=null,Er=null,ii=new Map,li=new Map,lr=[],Hw="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 submit".split(" ");function xh(e,t){switch(e){case"focusin":case"focusout":br=null;break;case"dragenter":case"dragleave":Cr=null;break;case"mouseover":case"mouseout":Er=null;break;case"pointerover":case"pointerout":ii.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":li.delete(t.pointerId)}}function js(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=zi(t),t!==null&&Ud(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Ww(e,t,n,r,o){switch(t){case"focusin":return br=js(br,e,t,n,r,o),!0;case"dragenter":return Cr=js(Cr,e,t,n,r,o),!0;case"mouseover":return Er=js(Er,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return ii.set(s,js(ii.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,li.set(s,js(li.get(s)||null,e,t,n,r,o)),!0}return!1}function dg(e){var t=Hr(e.target);if(t!==null){var n=mo(t);if(n!==null){if(t=n.tag,t===13){if(t=Zm(n),t!==null){e.blockedOn=t,ug(e.priority,function(){ag(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function wl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=du(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);su=r,n.target.dispatchEvent(r),su=null}else return t=zi(n),t!==null&&Ud(t),e.blockedOn=n,!1;t.shift()}return!0}
vendor: 13,772 bytes, line 37
37function wh(e,t,n){wl(e)&&n.delete(t)}function Vw(){uu=!1,br!==null&&wl(br)&&(br=null),Cr!==null&&wl(Cr)&&(Cr=null),Er!==null&&wl(Er)&&(Er=null),ii.forEach(wh),li.forEach(wh)}function Ps(e,t){e.blockedOn===t&&(e.blockedOn=null,uu||(uu=!0,yt.unstable_scheduleCallback(yt.unstable_NormalPriority,Vw)))}function ai(e){function t(o){return Ps(o,e)}if(0<tl.length){Ps(tl[0],e);for(var n=1;n<tl.length;n++){var r=tl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(br!==null&&Ps(br,e),Cr!==null&&Ps(Cr,e),Er!==null&&Ps(Er,e),ii.forEach(t),li.forEach(t),n=0;n<lr.length;n++)r=lr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<lr.length&&(n=lr[0],n.blockedOn===null);)dg(n),n.blockedOn===null&&lr.shift()}var Uo=Qn.ReactCurrentBatchConfig,Hl=!0;function Qw(e,t,n,r){var o=ae,s=Uo.transition;Uo.transition=null;try{ae=1,$d(e,t,n,r)}finally{ae=o,Uo.transition=s}}function Kw(e,t,n,r){var o=ae,s=Uo.transition;Uo.transition=null;try{ae=4,$d(e,t,n,r)}finally{ae=o,Uo.transition=s}}function $d(e,t,n,r){if(Hl){var o=du(e,t,n,r);if(o===null)Ec(e,t,r,Wl,n),xh(e,r);else if(Ww(o,e,t,n,r))r.stopPropagation();else if(xh(e,r),t&4&&-1<Hw.indexOf(e)){for(;o!==null;){var s=zi(o);if(s!==null&&lg(s),s=du(e,t,n,r),s===null&&Ec(e,t,r,Wl,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else Ec(e,t,r,null,n)}}var Wl=null;function du(e,t,n,r){if(Wl=null,e=Fd(r),e=Hr(e),e!==null)if(t=mo(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Zm(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Wl=e,null}function fg(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(_w()){case zd:return 1;case rg:return 4;case $l:case Dw:return 16;case og:return 536870912;default:return 16}default:return 16}}var vr=null,Gd=null,bl=null;function hg(){if(bl)return bl;var e,t=Gd,n=t.length,r,o="value"in vr?vr.value:vr.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[s-r];r++);return bl=o.slice(e,1<r?1-r:void 0)}function Cl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function nl(){return!0}function bh(){return!1}function bt(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(s):s[l]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?nl:bh,this.isPropagationStopped=bh,this}return Ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=nl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=nl)},persist:function(){},isPersistent:nl}),t}var vs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hd=bt(vs),Fi=Ne({},vs,{view:0,detail:0}),Yw=bt(Fi),pc,mc,Ts,ka=Ne({},Fi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ts&&(Ts&&e.type==="mousemove"?(pc=e.screenX-Ts.screenX,mc=e.screenY-Ts.screenY):mc=pc=0,Ts=e),pc)},movementY:function(e){return"movementY"in e?e.movementY:mc}}),Ch=bt(ka),qw=Ne({},ka,{dataTransfer:0}),Xw=bt(qw),Jw=Ne({},Fi,{relatedTarget:0}),gc=bt(Jw),Zw=Ne({},vs,{animationName:0,elapsedTime:0,pseudoElement:0}),e1=bt(Zw),t1=Ne({},vs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),n1=bt(t1),r1=Ne({},vs,{data:0}),Eh=bt(r1),o1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},s1={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"},i1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function l1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=i1[e])?!!t[e]:!1}function Wd(){return l1}var a1=Ne({},Fi,{key:function(e){if(e.key){var t=o1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Cl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?s1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wd,charCode:function(e){return e.type==="keypress"?Cl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Cl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),c1=bt(a1),u1=Ne({},ka,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Nh=bt(u1),d1=Ne({},Fi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wd}),f1=bt(d1),h1=Ne({},vs,{propertyName:0,elapsedTime:0,pseudoElement:0}),p1=bt(h1),m1=Ne({},ka,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),g1=bt(m1),v1=[9,13,27,32],Vd=Un&&"CompositionEvent"in window,Ks=null;Un&&"documentMode"in document&&(Ks=document.documentMode);var y1=Un&&"TextEvent"in window&&!Ks,pg=Un&&(!Vd||Ks&&8<Ks&&11>=Ks),Sh=" ",kh=!1;function mg(e,t){switch(e){case"keyup":return v1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ao=!1;function x1(e,t){switch(e){case"compositionend":return gg(t);case"keypress":return t.which!==32?null:(kh=!0,Sh);case"textInput":return e=t.data,e===Sh&&kh?null:e;default:return null}}function w1(e,t){if(Ao)return e==="compositionend"||!Vd&&mg(e,t)?(e=hg(),bl=Gd=vr=null,Ao=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return pg&&t.locale!=="ko"?null:t.data;default:return null}}var b1={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 Ah(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!b1[e.type]:t==="textarea"}function vg(e,t,n,r){Km(r),t=Vl(t,"onChange"),0<t.length&&(n=new Hd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ys=null,ci=null;function C1(e){jg(e,0)}function Aa(e){var t=To(e);if(Um(t))return e}function E1(e,t){if(e==="change")return t}var yg=!1;if(Un){var vc;if(Un){var yc="oninput"in document;if(!yc){var jh=document.createElement("div");jh.setAttribute("oninput","return;"),yc=typeof jh.oninput=="function"}vc=yc}else vc=!1;yg=vc&&(!document.documentMode||9<document.documentMode)}function Ph(){Ys&&(Ys.detachEvent("onpropertychange",xg),ci=Ys=null)}function xg(e){if(e.propertyName==="value"&&Aa(ci)){var t=[];vg(t,ci,e,Fd(e)),Jm(C1,t)}}function N1(e,t,n){e==="focusin"?(Ph(),Ys=t,ci=n,Ys.attachEvent("onpropertychange",xg)):e==="focusout"&&Ph()}function S1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Aa(ci)}function k1(e,t){if(e==="click")return Aa(t)}function A1(e,t){if(e==="input"||e==="change")return Aa(t)}function j1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nn=typeof Object.is=="function"?Object.is:j1;function ui(e,t){if(nn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Qc.call(t,o)||!nn(e[o],t[o]))return!1}return!0}function Th(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rh(e,t){var n=Th(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Th(n)}}function wg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bg(){for(var e=window,t=zl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=zl(e.document)}return t}function Qd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function P1(e){var t=bg(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&wg(n.ownerDocument.documentElement,n)){if(r!==null&&Qd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=Rh(n,s);var i=Rh(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var T1=Un&&"documentMode"in document&&11>=document.documentMode,jo=null,fu=null,qs=null,hu=!1;function Ih(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;hu||jo==null||jo!==zl(r)||(r=jo,"selectionStart"in r&&Qd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),qs&&ui(qs,r)||(qs=r,r=Vl(fu,"onSelect"),0<r.length&&(t=new Hd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=jo)))}function rl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Po={animationend:rl("Animation","AnimationEnd"),animationiteration:rl("Animation","AnimationIteration"),animationstart:rl("Animation","AnimationStart"),transitionend:rl("Transition","TransitionEnd")},xc={},Cg={};Un&&(Cg=document.createElement("div").style,"AnimationEvent"in window||(delete Po.animationend.animation,delete Po.animationiteration.animation,delete Po.animationstart.animation),"TransitionEvent"in window||delete Po.transitionend.transition);function ja(e){if(xc[e])return xc[e];if(!Po[e])return e;var t=Po[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Cg)return xc[e]=t[n];return e}var Eg=ja("animationend"),Ng=ja("animationiteration"),Sg=ja("animationstart"),kg=ja("transitionend"),Ag=new Map,Lh="abort auxClick 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(" ");function Or(e,t){Ag.set(e,t),po(t,[e])}for(var wc=0;wc<Lh.length;wc++){var bc=Lh[wc],R1=bc.toLowerCase(),I1=bc[0].toUpperCase()+bc.slice(1);
vendor: 4,662 bytes, line 37
37Or(R1,"on"+I1)}Or(Eg,"onAnimationEnd");Or(Ng,"onAnimationIteration");Or(Sg,"onAnimationStart");Or("dblclick","onDoubleClick");Or("focusin","onFocus");Or("focusout","onBlur");Or(kg,"onTransitionEnd");ls("onMouseEnter",["mouseout","mouseover"]);ls("onMouseLeave",["mouseout","mouseover"]);ls("onPointerEnter",["pointerout","pointerover"]);ls("onPointerLeave",["pointerout","pointerover"]);po("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));po("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));po("onBeforeInput",["compositionend","keypress","textInput","paste"]);po("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));po("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));po("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $s="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(" "),L1=new Set("cancel close invalid load scroll toggle".split(" ").concat($s));function Oh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Rw(r,t,void 0,e),e.currentTarget=null}function jg(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==s&&o.isPropagationStopped())break e;Oh(o,l,u),s=c}else for(i=0;i<r.length;i++){if(l=r[i],c=l.instance,u=l.currentTarget,l=l.listener,c!==s&&o.isPropagationStopped())break e;Oh(o,l,u),s=c}}}if(Ul)throw e=au,Ul=!1,au=null,e}function ve(e,t){var n=t[yu];n===void 0&&(n=t[yu]=new Set);var r=e+"__bubble";n.has(r)||(Pg(t,e,2,!1),n.add(r))}function Cc(e,t,n){var r=0;t&&(r|=4),Pg(n,e,r,t)}var ol="_reactListening"+Math.random().toString(36).slice(2);function di(e){if(!e[ol]){e[ol]=!0,Dm.forEach(function(n){n!=="selectionchange"&&(L1.has(n)||Cc(n,!1,e),Cc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ol]||(t[ol]=!0,Cc("selectionchange",!1,t))}}function Pg(e,t,n,r){switch(fg(t)){case 1:var o=Qw;break;case 4:o=Kw;break;default:o=$d}n=o.bind(null,t,n,e),o=void 0,!lu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ec(e,t,n,r,o){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;i=i.return}for(;l!==null;){if(i=Hr(l),i===null)return;if(c=i.tag,c===5||c===6){r=s=i;continue e}l=l.parentNode}}r=r.return}Jm(function(){var u=s,f=Fd(n),h=[];e:{var g=Ag.get(e);if(g!==void 0){var p=Hd,C=e;switch(e){case"keypress":if(Cl(n)===0)break e;case"keydown":case"keyup":p=c1;break;case"focusin":C="focus",p=gc;break;case"focusout":C="blur",p=gc;break;case"beforeblur":case"afterblur":p=gc;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Ch;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Xw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=f1;break;case Eg:case Ng:case Sg:p=e1;break;case kg:p=p1;break;case"scroll":p=Yw;break;case"wheel":p=g1;break;case"copy":case"cut":case"paste":p=n1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Nh}var x=(t&4)!==0,b=!x&&e==="scroll",v=x?g!==null?g+"Capture":null:g;x=[];for(var m=u,y;m!==null;){y=m;var E=y.stateNode;if(y.tag===5&&E!==null&&(y=E,v!==null&&(E=si(m,v),E!=null&&x.push(fi(m,E,y)))),b)break;m=m.return}0<x.length&&(g=new p(g,C,null,n,f),h.push({event:g,listeners:x}))}}if(!(t&7)){e:{if(g=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",g&&n!==su&&(C=n.relatedTarget||n.fromElement)&&(Hr(C)||C[$n]))break e;if((p||g)&&(g=f.window===f?f:(g=f.ownerDocument)?g.defaultView||g.parentWindow:window,p?(C=n.relatedTarget||n.toElement,p=u,C=C?Hr(C):null,C!==null&&(b=mo(C),C!==b||C.tag!==5&&C.tag!==6)&&(C=null)):(p=null,C=u),p!==C)){if
vendor: 6,148 bytes, lines 37-38
37(x=Ch,E="onMouseLeave",v="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(x=Nh,E="onPointerLeave",v="onPointerEnter",m="pointer"),b=p==null?g:To(p),y=C==null?g:To(C),g=new x(E,m+"leave",p,n,f),g.target=b,g.relatedTarget=y,E=null,Hr(f)===u&&(x=new x(v,m+"enter",C,n,f),x.target=y,x.relatedTarget=b,E=x),b=E,p&&C)t:{for(x=p,v=C,m=0,y=x;y;y=wo(y))m++;for(y=0,E=v;E;E=wo(E))y++;for(;0<m-y;)x=wo(x),m--;for(;0<y-m;)v=wo(v),y--;for(;m--;){if(x===v||v!==null&&x===v.alternate)break t;x=wo(x),v=wo(v)}x=null}else x=null;p!==null&&_h(h,g,p,x,!1),C!==null&&b!==null&&_h(h,b,C,x,!0)}}e:{if(g=u?To(u):window,p=g.nodeName&&g.nodeName.toLowerCase(),p==="select"||p==="input"&&g.type==="file")var S=E1;else if(Ah(g))if(yg)S=A1;else{S=S1;var A=N1}else(p=g.nodeName)&&p.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(S=k1);if(S&&(S=S(e,u))){vg(h,S,n,f);break e}A&&A(e,g,u),e==="focusout"&&(A=g._wrapperState)&&A.controlled&&g.type==="number"&&eu(g,"number",g.value)}switch(A=u?To(u):window,e){case"focusin":(Ah(A)||A.contentEditable==="true")&&(jo=A,fu=u,qs=null);break;case"focusout":qs=fu=jo=null;break;case"mousedown":hu=!0;break;case"contextmenu":case"mouseup":case"dragend":hu=!1,Ih(h,n,f);break;case"selectionchange":if(T1)break;case"keydown":case"keyup":Ih(h,n,f)}var j;if(Vd)e:{switch(e){case"compositionstart":var I="onCompositionStart";break e;case"compositionend":I="onCompositionEnd";break e;case"compositionupdate":I="onCompositionUpdate";break e}I=void 0}else Ao?mg(e,n)&&(I="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(I="onCompositionStart");I&&(pg&&n.locale!=="ko"&&(Ao||I!=="onCompositionStart"?I==="onCompositionEnd"&&Ao&&(j=hg()):(vr=f,Gd="value"in vr?vr.value:vr.textContent,Ao=!0)),A=Vl(u,I),0<A.length&&(I=new Eh(I,e,null,n,f),h.push({event:I,listeners:A}),j?I.data=j:(j=gg(n),j!==null&&(I.data=j)))),(j=y1?x1(e,n):w1(e,n))&&(u=Vl(u,"onBeforeInput"),0<u.length&&(f=new Eh("onBeforeInput","beforeinput",null,n,f),h.push({event:f,listeners:u}),f.data=j))}jg(h,t)})}function fi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vl(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=si(e,n),s!=null&&r.unshift(fi(e,s,o)),s=si(e,t),s!=null&&r.push(fi(e,s,o))),e=e.return}return r}function wo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function _h(e,t,n,r,o){for(var s=t._reactName,i=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,o?(c=si(n,s),c!=null&&i.unshift(fi(n,c,l))):o||(c=si(n,s),c!=null&&i.push(fi(n,c,l)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var O1=/\r\n?/g,_1=/\u0000|\uFFFD/g;function Dh(e){return(typeof e=="string"?e:""+e).replace(O1,`
38`).replace(_1,"")}function sl(e,t,n){if(t=Dh(t),Dh(e)!==t&&n)throw Error(_(425))}function Ql(){}var pu=null,mu=null;function gu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var vu=typeof setTimeout=="function"?setTimeout:void 0,D1=typeof clearTimeout=="function"?clearTimeout:void 0,Mh=typeof Promise=="function"?Promise:void 0,M1=typeof queueMicrotask=="function"?queueMicrotask:typeof Mh<"u"?function(e){return Mh.resolve(null).then(e).catch(F1)}:vu;function F1(e){setTimeout(function(){throw e})}function Nc(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),ai(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ai(t)}function Nr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Fh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ys=Math.random().toString(36).slice(2),mn="__reactFiber$"+ys,hi="__reactProps$"+ys,$n="__reactContainer$"+ys,yu="__reactEvents$"+ys,z1="__reactListeners$"+ys,B1="__reactHandles$"+ys;function Hr(e){var t=e[mn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$n]||n[mn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Fh(e);e!==null;){if(n=e[mn])return n;e=Fh(e)}return t}e=n,n=e.parentNode}return null}function zi(e){return e=e[mn]||e[$n],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function To(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(_(33))}function Pa(e){return e[hi]||null}var xu=[],Ro=-1;function _r(e){return{current:e}}function ye(e){0>Ro||(e.current=xu[Ro],xu[Ro]=null,Ro--)}function pe(e,t){Ro++,xu[Ro]=e.current,e.current=t}var Tr={},Ke=_r(Tr),at=_r(!1),lo=Tr;function as(e,t){var n=e.type.contextTypes;if(!n)return Tr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ct(e){return e=e.childContextTypes,e!=null}function Kl(){ye(at),ye(Ke)}function zh(e,t,n){if(Ke.current!==Tr)throw Error(_(168));pe(Ke,t),pe(at,n)}function Tg(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(_(108,Nw(e)||"Unknown",o));return Ne({},n,r)}function Yl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tr,lo=Ke.current,pe(Ke,e),pe(at,at.current),!0}function Bh(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=Tg(e,t,lo),r.__reactInternalMemoizedMergedChildContext=e,ye(at),ye(Ke),pe(Ke,e)):ye(at),pe(at,n)}var Tn=null,Ta=!1,Sc=!1;function Rg(e){Tn===null?Tn=[e]:Tn.push(e)}function U1(e){Ta=!0,Rg(e)}function Dr(){if(!Sc&&Tn!==null){Sc=!0;var e=0,t=ae;try{var n=Tn;for(ae=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Tn=null,Ta=!1}catch(o){throw Tn!==null&&(Tn=Tn.slice(e+1)),ng(zd,Dr),o}finally{ae=t,Sc=!1}
vendor: 27,650 bytes, lines 38-40
38}return null}var Io=[],Lo=0,ql=null,Xl=0,jt=[],Pt=0,ao=null,Mn=1,Fn="";function zr(e,t){Io[Lo++]=Xl,Io[Lo++]=ql,ql=e,Xl=t}function Ig(e,t,n){jt[Pt++]=Mn,jt[Pt++]=Fn,jt[Pt++]=ao,ao=e;var r=Mn;e=Fn;var o=32-en(r)-1;r&=~(1<<o),n+=1;var s=32-en(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Mn=1<<32-en(t)+o|n<<o|r,Fn=s+e}else Mn=1<<s|n<<o|r,Fn=e}function Kd(e){e.return!==null&&(zr(e,1),Ig(e,1,0))}function Yd(e){for(;e===ql;)ql=Io[--Lo],Io[Lo]=null,Xl=Io[--Lo],Io[Lo]=null;for(;e===ao;)ao=jt[--Pt],jt[Pt]=null,Fn=jt[--Pt],jt[Pt]=null,Mn=jt[--Pt],jt[Pt]=null}var gt=null,mt=null,be=!1,Zt=null;function Lg(e,t){var n=Tt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Uh(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,gt=e,mt=Nr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,gt=e,mt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ao!==null?{id:Mn,overflow:Fn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Tt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,gt=e,mt=null,!0):!1;default:return!1}}function wu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function bu(e){if(be){var t=mt;if(t){var n=t;if(!Uh(e,t)){if(wu(e))throw Error(_(418));t=Nr(n.nextSibling);var r=gt;t&&Uh(e,t)?Lg(r,n):(e.flags=e.flags&-4097|2,be=!1,gt=e)}}else{if(wu(e))throw Error(_(418));e.flags=e.flags&-4097|2,be=!1,gt=e}}}function $h(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;gt=e}function il(e){if(e!==gt)return!1;if(!be)return $h(e),be=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!gu(e.type,e.memoizedProps)),t&&(t=mt)){if(wu(e))throw Og(),Error(_(418));for(;t;)Lg(e,t),t=Nr(t.nextSibling)}if($h(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(_(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){mt=Nr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}mt=null}}else mt=gt?Nr(e.stateNode.nextSibling):null;return!0}function Og(){for(var e=mt;e;)e=Nr(e.nextSibling)}function cs(){mt=gt=null,be=!1}function qd(e){Zt===null?Zt=[e]:Zt.push(e)}var $1=Qn.ReactCurrentBatchConfig;function Rs(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(_(309));var r=n.stateNode}if(!r)throw Error(_(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var l=o.refs;i===null?delete l[s]:l[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(_(284));if(!n._owner)throw Error(_(290,e))}return e}function ll(e,t){throw e=Object.prototype.toString.call(t),Error(_(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Gh(e){var t=e._init;return t(e._payload)}function _g(e){function t(v,m){if(e){var y=v.deletions;y===null?(v.deletions=[m],v.flags|=16):y.push(m)}}function n(v,m){if(!e)return null;for(;m!==null;)t(v,m),m=m.sibling;return null}function r(v,m){for(v=new Map;m!==null;)m.key!==null?v.set(m.key,m):v.set(m.index,m),m=m.sibling;return v}function o(v,m){return v=jr(v,m),v.index=0,v.sibling=null,v}function s(v,m,y){return v.index=y,e?(y=v.alternate,y!==null?(y=y.index,y<m?(v.flags|=2,m):y):(v.flags|=2,m)):(v.flags|=1048576,m)}function i(v){return e&&v.alternate===null&&(v.flags|=2),v}function l(v,m,y,E){return m===null||m.tag!==6?(m=Ic(y,v.mode,E),m.return=v,m):(m=o(m,y),m.return=v,m)}function c(v,m,y,E){var S=y.type;return S===ko?f(v,m,y.props.children,E,y.key):m!==null&&(m.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===sr&&Gh(S)===m.type)?(E=o(m,y.props),E.ref=Rs(v,m,y),E.return=v,E):(E=Pl(y.type,y.key,y.props,null,v.mode,E),E.ref=Rs(v,m,y),E.return=v,E)}function u(v,m,y,E){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=Lc(y,v.mode,E),m.return=v,m):(m=o(m,y.children||[]),m.return=v,m)}function f(v,m,y,E,S){return m===null||m.tag!==7?(m=oo(y,v.mode,E,S),m.return=v,m):(m=o(m,y),m.return=v,m)}function h(v,m,y){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Ic(""+m,v.mode,y),m.return=v,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case qi:return y=Pl(m.type,m.key,m.props,null,v.mode,y),y.ref=Rs(v,null,m),y.return=v,y;case So:return m=Lc(m,v.mode,y),m.return=v,m;case sr:var E=m._init;return h(v,E(m._payload),y)}if(Bs(m)||ks(m))return m=oo(m,v.mode,y,null),m.return=v,m;ll(v,m)}return null}function g(v,m,y,E){var S=m!==null?m.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return S!==null?null:l(v,m,""+y,E);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case qi:return y.key===S?c(v,m,y,E):null;case So:return y.key===S?u(v,m,y,E):null;case sr:return S=y._init,g(v,m,S(y._payload),E)}if(Bs(y)||ks(y))return S!==null?null:f(v,m,y,E,null);ll(v,y)}return null}function p(v,m,y,E,S){if(typeof E=="string"&&E!==""||typeof E=="number")return v=v.get(y)||null,l(m,v,""+E,S);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case qi:return v=v.get(E.key===null?y:E.key)||null,c(m,v,E,S);case So:return v=v.get(E.key===null?y:E.key)||null,u(m,v,E,S);case sr:var A=E._init;return p(v,m,y,A(E._payload),S)}if(Bs(E)||ks(E))return v=v.get(y)||null,f(m,v,E,S,null);ll(m,E)}return null}function C(v,m,y,E){for(var S=null,A=null,j=m,I=m=0,F=null;j!==null&&I<y.length;I++){j.index>I?(F=j,j=null):F=j.sibling;var D=g(v,j,y[I],E);if(D===null){j===null&&(j=F);break}e&&j&&D.alternate===null&&t(v,j),m=s(D,m,I),A===null?S=D:A.sibling=D,A=D,j=F}if(I===y.length)return n(v,j),be&&zr(v,I),S;if(j===null){for(;I<y.length;I++)j=h(v,y[I],E),j!==null&&(m=s(j,m,I),A===null?S=j:A.sibling=j,A=j);return be&&zr(v,I),S}for(j=r(v,j);I<y.length;I++)F=p(j,v,I,y[I],E),F!==null&&(e&&F.alternate!==null&&j.delete(F.key===null?I:F.key),m=s(F,m,I),A===null?S=F:A.sibling=F,A=F);return e&&j.forEach(function(V){return t(v,V)}),be&&zr(v,I),S}function x(v,m,y,E){var S=ks(y);if(typeof S!="function")throw Error(_(150));if(y=S.call(y),y==null)throw Error(_(151));for(var A=S=null,j=m,I=m=0,F=null,D=y.next();j!==null&&!D.done;I++,D=y.next()){j.index>I?(F=j,j=null):F=j.sibling;var V=g(v,j,D.value,E);if(V===null){j===null&&(j=F);break}e&&j&&V.alternate===null&&t(v,j),m=s(V,m,I),A===null?S=V:A.sibling=V,A=V,j=F}if(D.done)return n(v,j),be&&zr(v,I),S;if(j===null){for(;!D.done;I++,D=y.next())D=h(v,D.value,E),D!==null&&(m=s(D,m,I),A===null?S=D:A.sibling=D,A=D);return be&&zr(v,I),S}for(j=r(v,j);!D.done;I++,D=y.next())D=p(j,v,I,D.value,E),D!==null&&(e&&D.alternate!==null&&j.delete(D.key===null?I:D.key),m=s(D,m,I),A===null?S=D:A.sibling=D,A=D);return e&&j.forEach(function(G){return t(v,G)}),be&&zr(v,I),S}function b(v,m,y,E){if(typeof y=="object"&&y!==null&&y.type===ko&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case qi:e:{for(var S=y.key,A=m;A!==null;){if(A.key===S){if(S=y.type,S===ko){if(A.tag===7){n(v,A.sibling),m=o(A,y.props.children),m.return=v,v=m;break e}}else if(A.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===sr&&Gh(S)===A.type){n(v,A.sibling),m=o(A,y.props),m.ref=Rs(v,A,y),m.return=v,v=m;break e}n(v,A);break}else t(v,A);A=A.sibling}y.type===ko?(m=oo(y.props.children,v.mode,E,y.key),m.return=v,v=m):(E=Pl(y.type,y.key,y.props,null,v.mode,E),E.ref=Rs(v,m,y),E.return=v,v=E)}return i(v);case So:e:{for(A=y.key;m!==null;){if(m.key===A)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(v,m.sibling),m=o(m,y.children||[]),m.return=v,v=m;break e}else{n(v,m);break}else t(v,m);m=m.sibling}m=Lc(y,v.mode,E),m.return=v,v=m}return i(v);case sr:return A=y._init,b(v,m,A(y._payload),E)}if(Bs(y))return C(v,m,y,E);if(ks(y))return x(v,m,y,E);ll(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(n(v,m.sibling),m=o(m,y),m.return=v,v=m):(n(v,m),m=Ic(y,v.mode,E),m.return=v,v=m),i(v)):n(v,m)}return b}var us=_g(!0),Dg=_g(!1),Jl=_r(null),Zl=null,Oo=null,Xd=null;function Jd(){Xd=Oo=Zl=null}function Zd(e){var t=Jl.current;ye(Jl),e._currentValue=t}function Cu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function $o(e,t){Zl=e,Xd=Oo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(lt=!0),e.firstContext=null)}function It(e){var t=e._currentValue;if(Xd!==e)if(e={context:e,memoizedValue:t,next:null},Oo===null){if(Zl===null)throw Error(_(308));Oo=e,Zl.dependencies={lanes:0,firstContext:e}}else Oo=Oo.next=e;return t}var Wr=null;function ef(e){Wr===null?Wr=[e]:Wr.push(e)}function Mg(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,ef(t)):(n.next=o.next,o.next=n),t.interleaved=n,Gn(e,r)}function Gn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ir=!1;function tf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fg(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Bn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Sr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ie&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Gn(e,n)}return o=r.interleaved,o===null?(t.next=t,ef(r)):(t.next=o.next,o.next=t),r.interleaved=t,Gn(e,n)}function El(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Bd(e,n)}}function Hh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ea(e,t,n,r){var o=e.updateQueue;ir=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var c=l,u=c.next;c.next=null,i===null?s=u:i.next=u,i=c;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==i&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=c))}if(s!==null){var h=o.baseState;i=0,f=u=c=null,l=s;do{var g=l.lane,p=l.eventTime;if((r&g)===g){f!==null&&(f=f.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var C=e,x=l;switch(g=t,p=n,x.tag){case 1:if(C=x.payload,typeof C=="function"){h=C.call(p,h,g);break e}h=C;break e;case 3:C.flags=C.flags&-65537|128;case 0:if(C=x.payload,g=typeof C=="function"?C.call(p,h,g):C,g==null)break e;h=Ne({},h,g);break e;case 2:ir=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,g=o.effects,g===null?o.effects=[l]:g.push(l))}else p={eventTime:p,lane:g,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=p,c=h):f=f.next=p,i|=g;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;g=l,l=g.next,g.next=null,o.lastBaseUpdate=g,o.shared.pending=null}}while(!0);if(f===null&&(c=h),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);uo|=i,e.lanes=i,e.memoizedState=h}}function Wh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(_(191,o));o.call(r)}}}var Bi={},yn=_r(Bi),pi=_r(Bi),mi=_r(Bi);function Vr(e){if(e===Bi)throw Error(_(174));return e}function nf(e,t){switch(pe(mi,t),pe(pi,e),pe(yn,Bi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:nu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=nu(t,e)}ye(yn),pe(yn,t)}function ds(){ye(yn),ye(pi),ye(mi)}function zg(e){Vr(mi.current);var t=Vr(yn.current),n=nu(t,e.type);t!==n&&(pe(pi,e),pe(yn,n))}function rf(e){pi.current===e&&(ye(yn),ye(pi))}var Ce=_r(0);function ta(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var kc=[];function of(){for(var e=0;e<kc.length;e++)kc[e]._workInProgressVersionPrimary=null;kc.length=0}var Nl=Qn.ReactCurrentDispatcher,Ac=Qn.ReactCurrentBatchConfig,co=0,Ee=null,Le=null,De=null,na=!1,Xs=!1,gi=0,G1=0;function He(){throw Error(_(321))}function sf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nn(e[n],t[n]))return!1;return!0}function lf(e,t,n,r,o,s){if(co=s,Ee=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Nl.current=e===null||e.memoizedState===null?Q1:K1,e=n(r,o),Xs){s=0;do{if(Xs=!1,gi=0,25<=s)throw Error(_(301));s+=1,De=Le=null,t.updateQueue=null,Nl.current=Y1,e=n(r,o)}while(Xs)}if(Nl.current=ra,t=Le!==null&&Le.next!==null,co=0,De=Le=Ee=null,na=!1,t)throw Error(_(300));return e}function af(){var e=gi!==0;return gi=0,e}function cn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return De===null?Ee.memoizedState=De=e:De=De.next=e,De}function Lt(){if(Le===null){var e=Ee.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var t=De===null?Ee.memoizedState:De.next;if(t!==null)De=t,Le=e;else{if(e===null)throw Error(_(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},De===null?Ee.memoizedState=De=e:De=De.next=e}return De}function vi(e,t){return typeof t=="function"?t(e):t}function jc(e){var t=Lt(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=Le,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var l=i=null,c=null,u=s;do{var f=u.lane;if((co&f)===f)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=h,i=r):c=c.next=h,Ee.lanes|=f,uo|=f}u=u.next}while(u!==null&&u!==s);c===null?i=r:c.next=l,nn(r,t.memoizedState)||(lt=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,Ee.lanes|=s,uo|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Pc(e){var t=Lt(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);nn(s,t.memoizedState)||(lt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Bg(){}function Ug(e,t){var n=Ee,r=Lt(),o=t(),s=!nn(r.memoizedState,o);if(s&&(r.memoizedState=o,lt=!0),r=r.queue,cf(Hg.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||De!==null&&De.memoizedState.tag&1){if(n.flags|=2048,yi(9,Gg.bind(null,n,r,o,t),void 0,null),Me===null)throw Error(_(349));co&30||$g(n,t,o)}return o}function $g(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ee.updateQueue,t===null?(t={lastEffect:null,stores:null},Ee.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Gg(e,t,n,r){t.value=n,t.getSnapshot=r,Wg(t)&&Vg(e)}function Hg(e,t,n){return n(function(){Wg(t)&&Vg(e)})}function Wg(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nn(e,n)}catch{return!0}}function Vg(e){var t=Gn(e,1);t!==null&&tn(t,e,1,-1)}function Vh(e){var t=cn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vi,lastRenderedState:e},t.queue=e,e=e.dispatch=V1.bind(null,Ee,e),[t.memoizedState,e]}function yi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ee.updateQueue,t===null?(t={lastEffect:null,stores:null},Ee.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Qg(){return Lt().memoizedState}function Sl(e,t,n,r){var o=cn();Ee.flags|=e,o.memoizedState=yi(1|t,n,void 0,r===void 0?null:r)}function Ra(e,t,n,r){var o=Lt();r=r===void 0?null:r;var s=void 0;if(Le!==null){var i=Le.memoizedState;if(s=i.destroy,r!==null&&sf(r,i.deps)){o.memoizedState=yi(t,n,s,r);return}}Ee.flags|=e,o.memoizedState=yi(1|t,n,s,r)}function Qh(e,t){return Sl(8390656,8,e,t)}function cf(e,t){return Ra(2048,8,e,t)}function Kg(e,t){return Ra(4,2,e,t)}function Yg(e,t){return Ra(4,4,e,t)}function qg(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Xg(e,t,n){return n=n!=null?n.concat([e]):null,Ra(4,4,qg.bind(null,t,e),n)}function uf(){}function Jg(e,t){var n=Lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&sf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Zg(e,t){var n=Lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&sf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ev(e,t,n){return co&21?(nn(n,t)||(n=sg(),Ee.lanes|=n,uo|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,lt=!0),e.memoizedState=n)}function H1(e,t){var n=ae;ae=n!==0&&4>n?n:4,e(!0);var r=Ac.transition;Ac.transition={};try{e(!1),t()}finally{ae=n,Ac.transition=r}}function tv(){return Lt().memoizedState}function W1(e,t,n){var r=Ar(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},nv(e))rv(t,n);else if(n=Mg(e,t,n,r),n!==null){var o=et();tn(n,e,r,o),ov(n,t,r)}}function V1(e,t,n){var r=Ar(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(nv(e))rv(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,l=s(i,n);if(o.hasEagerState=!0,o.eagerState=l,nn(l,i)){var c=t.interleaved;c===null?(o.next=o,ef(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=Mg(e,t,o,r),n!==null&&(o=et(),tn(n,e,r,o),ov(n,t,r))}}function nv(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function rv(e,t){Xs=na=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ov(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Bd(e,n)}}var ra={readContext:It,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useInsertionEffect:He,useLayoutEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useMutableSource:He,useSyncExternalStore:He,useId:He,unstable_isNewReconciler:!1},Q1={readContext:It,useCallback:function(e,t){return cn().memoizedState=[e,t===void 0?null:t],e},useContext:It,useEffect:Qh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Sl(4194308,4,qg.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Sl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Sl(4,2,e,t)},useMemo:function(e,t){var n=cn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=cn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=W1.bind(null,Ee,e),[r.memoizedState,e]},useRef:function(e){var t=cn();return e={current:e},t.memoizedState=e},useState:Vh,useDebugValue:uf,useDeferredValue:function(e){return cn().memoizedState=e},useTransition:function(){var e=Vh(!1),t=e[0];return e=H1.bind(null,e[1]),cn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ee,o=cn();if(be){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),Me===null)throw Error(_(349));co&30||$g(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,Qh(Hg.bind(null,r,s,e),[e]),r.flags|=2048,yi(9,Gg.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=cn(),t=Me.identifierPrefix;if(be){var n=Fn,r=Mn;n=(r&~(1<<32-en(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=gi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=G1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},K1={readContext:It,useCallback:Jg,useContext:It,useEffect:cf,useImperativeHandle:Xg,useInsertionEffect:Kg,useLayoutEffect:Yg,useMemo:Zg,useReducer:jc,useRef:Qg,useState:function(){return jc(vi)},useDebugValue:uf,useDeferredValue:function(e){var t=Lt();return ev(t,Le.memoizedState,e)},useTransition:function(){var e=jc(vi)[0],t=Lt().memoizedState;return[e,t]},useMutableSource:Bg,useSyncExternalStore:Ug,useId:tv,unstable_isNewReconciler:!1},Y1={readContext:It,useCallback:Jg,useContext:It,useEffect:cf,useImperativeHandle:Xg,useInsertionEffect:Kg,useLayoutEffect:Yg,useMemo:Zg,useReducer:Pc,useRef:Qg,useState:function(){return Pc(vi)},useDebugValue:uf,useDeferredValue:function(e){var t=Lt();return Le===null?t.memoizedState=e:ev(t,Le.memoizedState,e)},useTransition:function(){var e=Pc(vi)[0],t=Lt().memoizedState;return[e,t]},useMutableSource:Bg,useSyncExternalStore:Ug,useId:tv,unstable_isNewReconciler:!1};function $t(e,t){if(e&&e.defaultProps){t=Ne({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Eu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ne({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ia={isMounted:function(e){return(e=e._reactInternals)?mo(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=et(),o=Ar(e),s=Bn(r,o);s.payload=t,n!=null&&(s.callback=n),t=Sr(e,s,o),t!==null&&(tn(t,e,o,r),El(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=et(),o=Ar(e),s=Bn(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Sr(e,s,o),t!==null&&(tn(t,e,o,r),El(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=et(),r=Ar(e),o=Bn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Sr(e,o,r),t!==null&&(tn(t,e,r,n),El(t,e,r))}};function Kh(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!ui(n,r)||!ui(o,s):!0}function sv(e,t,n){var r=!1,o=Tr,s=t.contextType;return typeof s=="object"&&s!==null?s=It(s):(o=ct(t)?lo:Ke.current,r=t.contextTypes,s=(r=r!=null)?as(e,o):Tr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ia,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function Yh(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ia.enqueueReplaceState(t,t.state,null)}function Nu(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},tf(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=It(s):(s=ct(t)?lo:Ke.current,o.context=as(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Eu(e,t,s,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Ia.enqueueReplaceState(o,o.state,null),ea(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function fs(e,t){try{var n="",r=t;do n+=Ew(r),r=r.return;while(r);var o=n}catch(s){o=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:o,digest:null}}function Tc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Su(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var q1=typeof WeakMap=="function"?WeakMap:Map;function iv(e,t,n){n=Bn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){sa||(sa=!0,_u=r),Su(e,t)},n}function lv(e,t,n){n=Bn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Su(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Su(e,t),typeof r!="function"&&(kr===null?kr=new Set([this]):kr.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function qh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new q1;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=ub.bind(null,e,t,n),t.then(e,e))}function Xh(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Jh(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Bn(-1,1),t.tag=2,Sr(n,t,1))),n.lanes|=1),e)}var X1=Qn.ReactCurrentOwner,lt=!1;function Je(e,t,n,r){t.child=e===null?Dg(t,null,n,r):us(t,e.child,n,r)}function Zh(e,t,n,r,o){n=n.render;var s=t.ref;return $o(t,o),r=lf(e,t,n,r,s,o),n=af(),e!==null&&!lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hn(e,t,o)):(be&&n&&Kd(t),t.flags|=1,Je(e,t,r,o),t.child)}function ep(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!yf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,av(e,t,s,r,o)):(e=Pl(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:ui,n(i,r)&&e.ref===t.ref)return Hn(e,t,o)}return t.flags|=1,e=jr(s,r),e.ref=t.ref,e.return=t,t.child=e}function av(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(ui(s,r)&&e.ref===t.ref)if(lt=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(lt=!0);else return t.lanes=e.lanes,Hn(e,t,o)}return ku(e,t,n,r,o)}function cv(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},pe(Do,ht),ht|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,pe(Do,ht),ht|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,pe(Do,ht),ht|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,pe(Do,ht),ht|=r;return Je(e,t,o,n),t.child}function uv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 7,843 bytes, line 40
40function ku(e,t,n,r,o){var s=ct(n)?lo:Ke.current;return s=as(t,s),$o(t,o),n=lf(e,t,n,r,s,o),r=af(),e!==null&&!lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hn(e,t,o)):(be&&r&&Kd(t),t.flags|=1,Je(e,t,n,o),t.child)}function tp(e,t,n,r,o){if(ct(n)){var s=!0;Yl(t)}else s=!1;if($o(t,o),t.stateNode===null)kl(e,t),sv(t,n,r),Nu(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,l=t.memoizedProps;i.props=l;var c=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=It(u):(u=ct(n)?lo:Ke.current,u=as(t,u));var f=n.getDerivedStateFromProps,h=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function";h||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==r||c!==u)&&Yh(t,i,r,u),ir=!1;var g=t.memoizedState;i.state=g,ea(t,r,i,o),c=t.memoizedState,l!==r||g!==c||at.current||ir?(typeof f=="function"&&(Eu(t,n,f,r),c=t.memoizedState),(l=ir||Kh(t,n,l,r,g,c,u))?(h||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=u,r=l):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Fg(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:$t(t.type,l),i.props=u,h=t.pendingProps,g=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=It(c):(c=ct(n)?lo:Ke.current,c=as(t,c));var p=n.getDerivedStateFromProps;(f=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==h||g!==c)&&Yh(t,i,r,c),ir=!1,g=t.memoizedState,i.state=g,ea(t,r,i,o);var C=t.memoizedState;l!==h||g!==C||at.current||ir?(typeof p=="function"&&(Eu(t,n,p,r),C=t.memoizedState),(u=ir||Kh(t,n,u,r,g,C,c)||!1)?(f||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,C,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,C,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=C),i.props=r,i.state=C,i.context=c,r=u):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),r=!1)}return Au(e,t,n,r,s,o)}function Au(e,t,n,r,o,s){uv(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&Bh(t,n,!1),Hn(e,t,s);r=t.stateNode,X1.current=t;var l=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=us(t,e.child,null,s),t.child=us(t,null,l,s)):Je(e,t,l,s),t.memoizedState=r.state,o&&Bh(t,n,!0),t.child}function dv(e){var t=e.stateNode;t.pendingContext?zh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&zh(e,t.context,!1),nf(e,t.containerInfo)}function np(e,t,n,r,o){return cs(),qd(o),t.flags|=256,Je(e,t,n,r),t.child}var ju={dehydrated:null,treeContext:null,retryLane:0};function Pu(e){return{baseLanes:e,cachePool:null,transitions:null}}function fv(e,t,n){var r=t.pendingProps,o=Ce.current,s=!1,i=(t.flags&128)!==0,l;if((l=i)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),pe(Ce,o&1),e===null)return bu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=_a(i,r,0,null),e=oo(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Pu(n),t.memoizedState=ju,e):df(t,i));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return J1(e,t,i,r,l,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,l=o.sibling;var c={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=jr(o,c),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?s=jr(l,s):(s=oo(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?Pu(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=ju,r}return s=e.child,e=s.sibling,r=jr(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function df(e,t){return t=_a({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function al(e,t,n,r){return r!==null&&qd(r),us(t,e.child,null,n),e=df(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function J1(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=Tc(Error(_(422))),al(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=_a({mode:"visible",children:r.children},o,0,null),s=oo(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&us(t,e.child,null,i),t.child.memoizedState=Pu(i),t.memoizedState=ju,s);if(!(t.mode&1))return al(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,s=Error(_(419)),r=Tc(s,r,void 0),al(e,t,i,r)}if(l=(i&e.childLanes)!==0,lt||l){if(r=Me,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,Gn(e,o),tn(r,e,o,-1))}return vf(),r=Tc(Error(_(421))),al(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=db.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,mt=Nr(o.nextSibling),gt=t,be=!0,Zt=null,e!==null&&(jt[Pt++]=Mn,jt[Pt++]=Fn,jt[Pt++]=ao,Mn=e.id,Fn=e.overflow,ao=t),t=df(t,r.children),t.flags|=4096,t)}function rp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Cu(e.return,t,n)}function Rc(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function hv(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(Je(e,t,r.children,n),r=Ce.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&rp(e,n,t);else if(e.tag===19)rp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(pe(Ce,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&ta(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Rc(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ta(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Rc(t,!0,n,null,s);break;
vendor: 5,786 bytes, line 40
40case"together":Rc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function kl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),uo|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=jr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=jr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Z1(e,t,n){switch(t.tag){case 3:dv(t),cs();break;case 5:zg(t);break;case 1:ct(t.type)&&Yl(t);break;case 4:nf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;pe(Jl,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(pe(Ce,Ce.current&1),t.flags|=128,null):n&t.child.childLanes?fv(e,t,n):(pe(Ce,Ce.current&1),e=Hn(e,t,n),e!==null?e.sibling:null);pe(Ce,Ce.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return hv(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),pe(Ce,Ce.current),r)break;return null;case 22:case 23:return t.lanes=0,cv(e,t,n)}return Hn(e,t,n)}var pv,Tu,mv,gv;pv=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Tu=function(){};mv=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Vr(yn.current);var s=null;switch(n){case"input":o=Jc(e,o),r=Jc(e,r),s=[];break;case"select":o=Ne({},o,{value:void 0}),r=Ne({},r,{value:void 0}),s=[];break;case"textarea":o=tu(e,o),r=tu(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ql)}ru(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ri.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ri.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&ve("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};gv=function(e,t,n,r){n!==r&&(t.flags|=4)};function Is(e,t){if(!be)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function We(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function eb(e,t,n){var r=t.pendingProps;switch(Yd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(t),null;case 1:return ct(t.type)&&Kl(),We(t),null;case 3:return r=t.stateNode,ds(),ye(at),ye(Ke),of(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(il(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Zt!==null&&(Fu(Zt),Zt=null))),Tu(e,t),We(t),null;case 5:rf(t);var o=Vr(mi.current);if(n=t.type,e!==null&&t.stateNode!=null)mv(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(_(166));return We(t),null}if(e=Vr(yn.current),il(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[mn]=t,r[hi]=s,e=(t.mode&1)!==0,n){case"dialog":ve("cancel",r),ve("close",r);break;case"iframe":case"object":case"embed":ve("load",r);break;case"video":case"audio":for(o=0;o<$s.length;o++)ve($s[o],r);break;case"source":ve("error",r);break;case"img":case"image":case"link":ve("error",r),ve("load",r);break;case"details":ve("toggle",r);break;case"input":fh(r,s),ve("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ve("invalid",r);break;case"textarea":ph(r,s),ve("invalid",r)}ru(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="children"?typeof l=="string"?r.textContent!==l&&(s.suppressHydrationWarning!==!0&&sl(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&sl(r.textContent,l,e),o=["children",""+l]):ri.hasOwnProperty(i)&&l!=null&&i==="onScroll"&&ve("scroll",r)}switch(n){case"input":Xi(r),hh(r,s,!0);break;case"textarea":Xi(r),mh(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Ql)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Hm(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[mn]=t,e[hi]=r,pv(e,t,!1,!1),t.stateNode=e;e:{switch(i=ou(n,r),n){case"dialog":ve("cancel",e),ve("close",e),o=r;break;case"iframe":case"object":case"embed":ve("load",e),o=r;break;case"video":case"audio":for(o=0;o<$s.length;o++)ve($s[o],e);o=r;break;case"source":ve("error",e),o=r;break;case"img":case"image":case"link":ve("error",e),ve("load",e),o=r;break;case"details":ve("toggle",e),o=r;break;case"input":fh(e,r),o=Jc(e,r),ve("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ne({},r,{value:void 0}),ve("invalid",e);break;case"textarea":ph(e,r),o=tu(e,r),ve("invalid",e);break;default:o=r}ru(n,o),l=o;for(s in l)if(l.hasOwnProperty(s)){var c=l[s];s==="style"?Qm(e,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Wm(e,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&oi(e,c):typeof c=="number"&&oi(e,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(ri.hasOwnProperty(s)?c!=null&&s==="onScroll"&&ve("scroll",e):c!=null&&Od(e,s,c,i))}switch(n){case"input":Xi(e),hh(e,r,!1);break;case"textarea":Xi(e),mh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Pr(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Fo(e,!!r.multiple,s,!1):r.defaultValue!=null&&Fo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Ql)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return We(t),null;case 6:if(e&&t.stateNode!=null)gv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(_(166));if(n=Vr(mi.current),Vr(yn.current),il(t)){if(r=t.stateNode,n=t.memoizedProps,r[mn]=t,(s=r.nodeValue!==n)&&(e=gt,e!==null))switch(e.tag){case 3:sl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&sl(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[mn]=t,t.stateNode=r}return We(t),null;case 13:if(ye(Ce),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(be&&mt!==null&&t.mode&1&&!(t.flags&128))Og(),cs(),t.flags|=98560,s=!1;else if(s=il(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(_(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(_(317));s[mn]=t}else cs(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;We(t),s=!1}else Zt!==null&&(Fu(Zt),Zt=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ce.current&1?Oe===0&&(Oe=3):vf())),t.updateQueue!==null&&(t.flags|=4),We(t),null);case 4:return ds(),Tu(e,t),e===null&&di(t.stateNode.containerInfo),We(t),null;case 10:return Zd(t.type._context),We(t),null;case 17:return ct(t.type)&&Kl(),We(t),null;case 19:if(ye(Ce),s=t.memoizedState,s===null)return We(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)Is(s,!1);else{if(Oe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=ta(e),i!==null){for(t.flags|=128,Is(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return pe(Ce,Ce.current&1|2),t.child}e=e.sibling}s.tail!==null&&Pe()>hs&&(t.flags|=128,r=!0,Is(s,!1),t.lanes=4194304)}else{if(!r)if(e=ta(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Is(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!be)return We(t),null}else 2*Pe()-s.renderingStartTime>hs&&n!==1073741824&&(t.flags|=128,r=!0,Is(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Pe(),t.sibling=null,n=Ce.current,pe(Ce,r?n&1|2:n&1),t):(We(t),null);case 22:case 23:return gf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ht&10
vendor: 23,389 bytes, line 40
4073741824&&(We(t),t.subtreeFlags&6&&(t.flags|=8192)):We(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function tb(e,t){switch(Yd(t),t.tag){case 1:return ct(t.type)&&Kl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ds(),ye(at),ye(Ke),of(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return rf(t),null;case 13:if(ye(Ce),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));cs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ye(Ce),null;case 4:return ds(),null;case 10:return Zd(t.type._context),null;case 22:case 23:return gf(),null;case 24:return null;default:return null}}var cl=!1,Qe=!1,nb=typeof WeakSet=="function"?WeakSet:Set,H=null;function _o(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function Ru(e,t,n){try{n()}catch(r){ke(e,t,r)}}var op=!1;function rb(e,t){if(pu=Hl,e=bg(),Qd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,l=-1,c=-1,u=0,f=0,h=e,g=null;t:for(;;){for(var p;h!==n||o!==0&&h.nodeType!==3||(l=i+o),h!==s||r!==0&&h.nodeType!==3||(c=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(p=h.firstChild)!==null;)g=h,h=p;for(;;){if(h===e)break t;if(g===n&&++u===o&&(l=i),g===s&&++f===r&&(c=i),(p=h.nextSibling)!==null)break;h=g,g=h.parentNode}h=p}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(mu={focusedElem:e,selectionRange:n},Hl=!1,H=t;H!==null;)if(t=H,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var C=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(C!==null){var x=C.memoizedProps,b=C.memoizedState,v=t.stateNode,m=v.getSnapshotBeforeUpdate(t.elementType===t.type?x:$t(t.type,x),b);v.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(E){ke(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return C=op,op=!1,C}function Js(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&Ru(t,n,s)}o=o.next}while(o!==r)}}function La(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Iu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function vv(e){var t=e.alternate;t!==null&&(e.alternate=null,vv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[mn],delete t[hi],delete t[yu],delete t[z1],delete t[B1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function yv(e){return e.tag===5||e.tag===3||e.tag===4}function sp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Lu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ql));else if(r!==4&&(e=e.child,e!==null))for(Lu(e,t,n),e=e.sibling;e!==null;)Lu(e,t,n),e=e.sibling}function Ou(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ou(e,t,n),e=e.sibling;e!==null;)Ou(e,t,n),e=e.sibling}var Ue=null,Jt=!1;function Jn(e,t,n){for(n=n.child;n!==null;)xv(e,t,n),n=n.sibling}function xv(e,t,n){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(Sa,n)}catch{}switch(n.tag){case 5:Qe||_o(n,t);case 6:var r=Ue,o=Jt;Ue=null,Jn(e,t,n),Ue=r,Jt=o,Ue!==null&&(Jt?(e=Ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ue.removeChild(n.stateNode));break;case 18:Ue!==null&&(Jt?(e=Ue,n=n.stateNode,e.nodeType===8?Nc(e.parentNode,n):e.nodeType===1&&Nc(e,n),ai(e)):Nc(Ue,n.stateNode));break;case 4:r=Ue,o=Jt,Ue=n.stateNode.containerInfo,Jt=!0,Jn(e,t,n),Ue=r,Jt=o;break;case 0:case 11:case 14:case 15:if(!Qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Ru(n,t,i),o=o.next}while(o!==r)}Jn(e,t,n);break;case 1:if(!Qe&&(_o(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ke(n,t,l)}Jn(e,t,n);break;case 21:Jn(e,t,n);break;case 22:n.mode&1?(Qe=(r=Qe)||n.memoizedState!==null,Jn(e,t,n),Qe=r):Jn(e,t,n);break;default:Jn(e,t,n)}}function ip(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new nb),t.forEach(function(r){var o=fb.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function zt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,l=i;e:for(;l!==null;){switch(l.tag){case 5:Ue=l.stateNode,Jt=!1;break e;case 3:Ue=l.stateNode.containerInfo,Jt=!0;break e;case 4:Ue=l.stateNode.containerInfo,Jt=!0;break e}l=l.return}if(Ue===null)throw Error(_(160));xv(s,i,o),Ue=null,Jt=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(u){ke(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)wv(t,e),t=t.sibling}function wv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(zt(t,e),an(e),r&4){try{Js(3,e,e.return),La(3,e)}catch(x){ke(e,e.return,x)}try{Js(5,e,e.return)}catch(x){ke(e,e.return,x)}}break;case 1:zt(t,e),an(e),r&512&&n!==null&&_o(n,n.return);break;case 5:if(zt(t,e),an(e),r&512&&n!==null&&_o(n,n.return),e.flags&32){var o=e.stateNode;try{oi(o,"")}catch(x){ke(e,e.return,x)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&s.type==="radio"&&s.name!=null&&$m(o,s),ou(l,i);var u=ou(l,s);for(i=0;i<c.length;i+=2){var f=c[i],h=c[i+1];f==="style"?Qm(o,h):f==="dangerouslySetInnerHTML"?Wm(o,h):f==="children"?oi(o,h):Od(o,f,h,u)}switch(l){case"input":Zc(o,s);break;case"textarea":Gm(o,s);break;case"select":var g=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?Fo(o,!!s.multiple,p,!1):g!==!!s.multiple&&(s.defaultValue!=null?Fo(o,!!s.multiple,s.defaultValue,!0):Fo(o,!!s.multiple,s.multiple?[]:"",!1))}o[hi]=s}catch(x){ke(e,e.return,x)}}break;case 6:if(zt(t,e),an(e),r&4){if(e.stateNode===null)throw Error(_(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(x){ke(e,e.return,x)}}break;case 3:if(zt(t,e),an(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ai(t.containerInfo)}catch(x){ke(e,e.return,x)}break;case 4:zt(t,e),an(e);break;case 13:zt(t,e),an(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(pf=Pe())),r&4&&ip(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(Qe=(u=Qe)||f,zt(t,e),Qe=u):zt(t,e),an(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(H=e,f=e.child;f!==null;){for(h=H=f;H!==null;){switch(g=H,p=g.child,g.tag){case 0:case 11:case 14:case 15:Js(4,g,g.return);break;case 1:_o(g,g.return);var C=g.stateNode;if(typeof C.componentWillUnmount=="function"){r=g,n=g.return;try{t=r,C.props=t.memoizedProps,C.state=t.memoizedState,C.componentWillUnmount()}catch(x){ke(r,n,x)}}break;case 5:_o(g,g.return);break;case 22:if(g.memoizedState!==null){ap(h);continue}}p!==null?(p.return=g,H=p):ap(h)}f=f.sibling}e:for(f=null,h=e;;){if(h.tag===5){if(f===null){f=h;try{o=h.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=h.stateNode,c=h.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=Vm("display",i))}catch(x){ke(e,e.return,x)}}}else if(h.tag===6){if(f===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(x){ke(e,e.return,x)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;f===h&&(f=null),h=h.return}f===h&&(f=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:zt(t,e),an(e),r&4&&ip(e);break;case 21:break;default:zt(t,e),an(e)}}function an(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(yv(n)){var r=n;break e}n=n.return}throw Error(_(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(oi(o,""),r.flags&=-33);var s=sp(e);Ou(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,l=sp(e);Lu(e,l,i);break;default:throw Error(_(161))}}catch(c){ke(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ob(e,t,n){H=e,bv(e)}function bv(e,t,n){for(var r=(e.mode&1)!==0;H!==null;){var o=H,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||cl;if(!i){var l=o.alternate,c=l!==null&&l.memoizedState!==null||Qe;l=cl;var u=Qe;if(cl=i,(Qe=c)&&!u)for(H=o;H!==null;)i=H,c=i.child,i.tag===22&&i.memoizedState!==null?cp(o):c!==null?(c.return=i,H=c):cp(o);for(;s!==null;)H=s,bv(s),s=s.sibling;H=o,cl=l,Qe=u}lp(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,H=s):lp(e)}}function lp(e){for(;H!==null;){var t=H;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Qe||La(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Qe)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:$t(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Wh(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Wh(t,i,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var h=f.dehydrated;h!==null&&ai(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(_(163))}Qe||t.flags&512&&Iu(t)}catch(g){ke(t,t.return,g)}}if(t===e){H=null;break}if(n=t.sibling,n!==null){n.return=t.return,H=n;break}H=t.return}}function ap(e){for(;H!==null;){var t=H;if(t===e){H=null;break}var n=t.sibling;if(n!==null){n.return=t.return,H=n;break}H=t.return}}function cp(e){for(;H!==null;){var t=H;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{La(4,t)}catch(c){ke(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(c){ke(t,o,c)}}var s=t.return;try{Iu(t)}catch(c){ke(t,s,c)}break;case 5:var i=t.return;try{Iu(t)}catch(c){ke(t,i,c)}}}catch(c){ke(t,t.return,c)}if(t===e){H=null;break}var l=t.sibling;if(l!==null){l.return=t.return,H=l;break}H=t.return}}var sb=Math.ceil,oa=Qn.ReactCurrentDispatcher,ff=Qn.ReactCurrentOwner,Rt=Qn.ReactCurrentBatchConfig,ie=0,Me=null,Ie=null,$e=0,ht=0,Do=_r(0),Oe=0,xi=null,uo=0,Oa=0,hf=0,Zs=null,it=null,pf=0,hs=1/0,Pn=null,sa=!1,_u=null,kr=null,ul=!1,yr=null,ia=0,ei=0,Du=null,Al=-1,jl=0;function et(){return ie&6?Pe():Al!==-1?Al:Al=Pe()}function Ar(e){return e.mode&1?ie&2&&$e!==0?$e&-$e:$1.transition!==null?(jl===0&&(jl=sg()),jl):(e=ae,e!==0||(e=window.event,e=e===void 0?16:fg(e.type)),e):1}function tn(e,t,n,r){if(50<ei)throw ei=0,Du=null,Error(_(185));Mi(e,n,r),(!(ie&2)||e!==Me)&&(e===Me&&(!(ie&2)&&(Oa|=n),Oe===4&&ar(e,$e)),ut(e,r),n===1&&ie===0&&!(t.mode&1)&&(hs=Pe()+500,Ta&&Dr()))}function ut(e,t){var n=e.callbackNode;$w(e,t);var r=Gl(e,e===Me?$e:0);if(r===0)n!==null&&yh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&yh(n),t===1)e.tag===0?U1(up.bind(null,e)):Rg(up.bind(null,e)),M1(function(){!(ie&6)&&Dr()}),n=null;else{switch(ig(r)){case 1:n=zd;break;case 4:n=rg;break;case 16:n=$l;break;case 536870912:n=og;break;default:n=$l}n=Pv(n,Cv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Cv(e,t){if(Al=-1,jl=0,ie&6)throw Error(_(327));var n=e.callbackNode;if(Go()&&e.callbackNode!==n)return null;var r=Gl(e,e===Me?$e:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=la(e,r);else{t=r;var o=ie;ie|=2;var s=Nv();(Me!==e||$e!==t)&&(Pn=null,hs=Pe()+500,ro(e,t));do try{ab();break}catch(l){Ev(e,l)}while(!0);Jd(),oa.current=s,ie=o,Ie!==null?t=0:(Me=null,$e=0,t=Oe)}if(t!==0){if(t===2&&(o=cu(e),o!==0&&(r=o,t=Mu(e,o))),t===1)throw n=xi,ro(e,0),ar(e,r),ut(e,Pe()),n;if(t===6)ar(e,r);else{if(o=e.current.alternate,!(r&30)&&!ib(o)&&(t=la(e,r),t===2&&(s=cu(e),s!==0&&(r=s,t=Mu(e,s))),t===1))throw n=xi,ro(e,0),ar(e,r),ut(e,Pe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(_(345));case 2:Br(e,it,Pn);break;case 3:if(ar(e,r),(r&130023424)===r&&(t=pf+500-Pe(),10<t)){if(Gl(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){et(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=vu(Br.bind(null,e,it,Pn),t);break}Br(e,it,Pn);break;case 4:if(ar(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-en(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=Pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*sb(r/1960))-r,10<r){e.timeoutHandle=vu(Br.bind(null,e,it,Pn),r);break}Br(e,it,Pn);break;case 5:Br(e,it,Pn);break;default:throw Error(_(329))}}}return ut(e,Pe()),e.callbackNode===n?Cv.bind(null,e):null}function Mu(e,t){var n=Zs;return e.current.memoizedState.isDehydrated&&(ro(e,t).flags|=256),e=la(e,t),e!==2&&(t=it,it=n,t!==null&&Fu(t)),e}function Fu(e){it===null?it=e:it.push.apply(it,e)}function ib(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],s=o.getSnapshot;o=o.value;try{if(!nn(s(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ar(e,t){for(t&=~hf,t&=~Oa,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-en(t),r=1<<n;e[n]=-1,t&=~r}}function up(e){if(ie&6)throw Error(_(327));Go();var t=Gl(e,0);if(!(t&1))return ut(e,Pe()),null;var n=la(e,t);if(e.tag!==0&&n===2){var r=cu(e);r!==0&&(t=r,n=Mu(e,r))}if(n===1)throw n=xi,ro(e,0),ar(e,t),ut(e,Pe()),n;if(n===6)throw Error(_(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Br(e,it,Pn),ut(e,Pe()),null}function mf(e,t){var n=ie;ie|=1;try{return e(t)}finally{ie=n,ie===0&&(hs=Pe()+500,Ta&&Dr())}}function fo(e){yr!==null&&yr.tag===0&&!(ie&6)&&Go();var t=ie;ie|=1;var n=Rt.transition,r=ae;try{if(Rt.transition=null,ae=1,e)return e()}finally{ae=r,Rt.transition=n,ie=t,!(ie&6)&&Dr()}}function gf(){ht=Do.current,ye(Do)}function ro(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,D1(n)),Ie!==null)for(n=Ie.return;n!==null;){var r=n;switch(Yd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Kl();break;case 3:ds(),ye(at),ye(Ke),of();break;case 5:rf(r);break;case 4:ds();break;case 13:ye(Ce);break;case 19:ye(Ce);break;case 10:Zd(r.type._context);break;case 22:case 23:gf()}n=n.return}if(Me=e,Ie=e=jr(e.current,null),$e=ht=t,Oe=0,xi=null,hf=Oa=uo=0,it=Zs=null,Wr!==null){for(t=0;t<Wr.length;t++)if(n=Wr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}Wr=null}return e}function Ev(e,t){do{var n=Ie;try{if(Jd(),Nl.current=ra,na){for(var r=Ee.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}na=!1}if(co=0,De=Le=Ee=null,Xs=!1,gi=0,ff.current=null,n===null||n.return===null){Oe=1,xi=t,Ie=null;break}e:{var s=e,i=n.return,l=n,c=t;if(t=$e,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,f=l,h=f.tag;if(!(f.mode&1)&&(h===0||h===11||h===15)){var g=f.alternate;g?(f.updateQueue=g.updateQueue,f.memoizedState=g.memoizedState,f.lanes=g.lanes):(f.updateQueue=null,f.memoizedState=null)}var p=Xh(i);if(p!==null){p.flags&=-257,Jh(p,i,l,s,t),p.mode&1&&qh(s,u,t),t=p,c=u;var C=t.updateQueue;if(C===null){var x=new Set;x.add(c),t.updateQueue=x}else C.add(c);break e}else{if(!(t&1)){qh(s,u,t),vf();break e}c=Error(_(426))}}else if(be&&l.mode&1){var b=Xh(i);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Jh(b,i,l,s,t),qd(fs(c,l));break e}}s=c=fs(c,l),Oe!==4&&(Oe=2),Zs===null?Zs=[s]:Zs.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var v=iv(s,c,t);Hh(s,v);break e;case 1:l=c;var m=s.type,y=s.stateNode;if(!(s.flags&128)&&(typeof m.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(kr===null||!kr.has(y)))){s.flags|=65536,t&=-t,s.lanes|=t;var E=lv(s,l,t);Hh(s,E);break e}}s=s.return}while(s!==null)}kv(n)}catch(S){t=S,Ie===n&&n!==null&&(Ie=n=n.return);continue}break}while(!0)}function Nv(){var e=oa.current;return oa.current=ra,e===null?ra:e}function vf(){(Oe===0||Oe===3||Oe===2)&&(Oe=4),Me===null||!(uo&268435455)&&!(Oa&268435455)||ar(Me,$e)}function la(e,t){var n=ie;ie|=2;var r=Nv();(Me!==e||$e!==t)&&(Pn=null,ro(e,t));do try{lb();break}catch(o){Ev(e,o)}while(!0);if(Jd(),ie=n,oa.current=r,Ie!==null)throw Error(_(261));return Me=null,$e=0,Oe}function lb(){for(;Ie!==null;)Sv(Ie)}function ab(){for(;Ie!==null&&!Lw();)Sv(Ie)}function Sv(e){var t=jv(e.alternate,e,ht);e.memoizedProps=e.pendingProps,t===null?kv(e):Ie=t,ff.current=null}function kv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=tb(n,t),n!==null){n.flags&=32767,Ie=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Oe=6,Ie=null;return}}else if(n=eb(n,t,ht),n!==null){Ie=n;return}if(t=t.sibling,t!==null){Ie=t;return}Ie=t=e}while(t!==null);Oe===0&&(Oe=5)}function Br(e,t,n){var r=ae,o=Rt.transition;try{Rt.transition=null,ae=1,cb(e,t,n,r)}finally{Rt.transition=o,ae=r}return null}function cb(e,t,n,r){do Go();while(yr!==null);if(ie&6)throw Error(_(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(_(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Gw(e,s),e===Me&&(Ie=Me=null,$e=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ul||(ul=!0,Pv($l,function(){return Go(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=Rt.transition,Rt.transition=null;var i=ae;ae=1;var l=ie;ie|=4,ff.current=null,rb(e,n),wv(n,e),P1(mu),Hl=!!pu,mu=pu=null,e.current=n,ob(n),Ow(),ie=l,ae=i,Rt.transition=s}else e.current=n;if(ul&&(ul=!1,yr=e,ia=o),s=e.pendingLanes,s===0&&(kr=null),Mw(n.stateNode),ut(e,Pe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(sa)throw sa=!1,e=_u,_u=null,e;return ia&1&&e.tag!==0&&Go(),s=e.pendingLanes,s&1?e===Du?ei++:(ei=0,Du=e):ei=0,Dr(),null}function Go(){if(yr!==null){var e=ig(ia),t=Rt.transition,n=ae;try{if(Rt.transition=null,ae=16>e?16:e,yr===null)var r=!1;else{if(e=yr,yr=null,ia=0,ie&6)throw Error(_(331));var o=ie;for(ie|=4,H=e.current;H!==null;){var s=H,i=s.child;if(H.flags&16){var l=s.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(H=u;H!==null;){var f=H;switch(f.tag){case 0:case 11:case 15:Js(8,f,s)}var h=f.child;if(h!==null)h.return=f,H=h;else for(;H!==null;){f=H;var g=f.sibling,p=f.return;if(vv(f),f===u){H=null;break}if(g!==null){g.return=p,H=g;break}H=p}}}var C=s.alternate;if(C!==null){var x=C.child;if(x!==null){C.child=null;do{var b=x.sibling;x.sibling=null,x=b}while(x!==null)}}H=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,H=i;else e:for(;H!==null;){if(s=H,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Js(9,s,s.return)}var v=s.sibling;if(v!==null){v.return=s.return,H=v;break e}H=s.return}}var m=e.current;for(H=m;H!==null;){i=H;var y=i.child;if(i.subtreeFlags&2064&&y!==null)y.return=i,H=y;else e:for(i=m;H!==null;){if(l=H,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:La(9,l)}}catch(S){ke(l,l.return,S)}if(l===i){H=null;break e}var E=l.sibling;if(E!==null){E.return=l.return,H=E;break e}H=l.return}}if(ie=o,Dr(),vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(Sa,e)}catch{}r=!0}return r}finally{ae=n,Rt.transition=t}}return!1}function dp(e,t,n){t=fs(n,t),t=iv(e,t,1),e=Sr(e,t,1),t=et(),e!==null&&(Mi(e,1,t),ut(e,t))}function ke(e,t,n){if(e.tag===3)dp(e,e,n);else for(;t!==null;){if(t.tag===3){dp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(kr===null||!kr.has(r))){e=fs(n,e),e=lv(t,e,1),t=Sr(t,e,1),e=et(),t!==null&&(Mi(t,1,e),ut(t,e));break}}t=t.return}}function ub(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=et(),e.pingedLanes|=e.suspendedLanes&n,Me===e&&($e&n)===n&&(Oe===4||Oe===3&&($e&130023424)===$e&&500>Pe()-pf?ro(e,0):hf|=n),ut(e,t)}function Av(e,t){t===0&&(e.mode&1?(t=el,el<<=1,!(el&130023424)&&(el=4194304)):t=1);var n=et();e=Gn(e,t),e!==null&&(Mi(e,t,n),ut(e,n))}function db(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Av(e,n)}function fb(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),Av(e,n)}var jv;jv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||at.current)lt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return lt=!1,Z1(e,t,n);lt=!!(e.flags&131072)}else lt=!1,be&&t.flags&1048576&&Ig(t,Xl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;kl(e,t),e=t.pendingProps;var o=as(t,Ke.current);$o(t,n),o=lf(null,t,r,e,o,n);var s=af();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ct(r)?(s=!0,Yl(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,tf(t),o.updater=Ia,t.stateNode=o,o._reactInternals=t,Nu(t,r,e,n),t=Au(null,t,r,!0,s,n)):(t.tag=0,be&&s&&Kd(t),Je(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(kl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=pb(r),e=$t(r,e),o){case 0:t=ku(null,t,r,e,n);break e;case 1:t=tp(null,t,r,e,n);break e;case 11:t=Zh(null,t,r,e,n);break e;case 14:t=ep(null,t,r,$t(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),ku(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),tp(e,t,r,o,n);case 3:e:{if(dv(t),e===null)throw Error(_(387));
vendor: 8,088 bytes, line 40
40r=t.pendingProps,s=t.memoizedState,o=s.element,Fg(e,t),ea(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=fs(Error(_(423)),t),t=np(e,t,r,n,o);break e}else if(r!==o){o=fs(Error(_(424)),t),t=np(e,t,r,n,o);break e}else for(mt=Nr(t.stateNode.containerInfo.firstChild),gt=t,be=!0,Zt=null,n=Dg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(cs(),r===o){t=Hn(e,t,n);break e}Je(e,t,r,n)}t=t.child}return t;case 5:return zg(t),e===null&&bu(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,gu(r,o)?i=null:s!==null&&gu(r,s)&&(t.flags|=32),uv(e,t),Je(e,t,i,n),t.child;case 6:return e===null&&bu(t),null;case 13:return fv(e,t,n);case 4:return nf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=us(t,null,r,n):Je(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),Zh(e,t,r,o,n);case 7:return Je(e,t,t.pendingProps,n),t.child;case 8:return Je(e,t,t.pendingProps.children,n),t.child;case 12:return Je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,pe(Jl,r._currentValue),r._currentValue=i,s!==null)if(nn(s.value,i)){if(s.children===o.children&&!at.current){t=Hn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){i=s.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=Bn(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?c.next=c:(c.next=f.next,f.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Cu(s.return,n,t),l.lanes|=n;break}c=c.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(_(341));i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Cu(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Je(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,$o(t,n),o=It(o),r=r(o),t.flags|=1,Je(e,t,r,n),t.child;case 14:return r=t.type,o=$t(r,t.pendingProps),o=$t(r.type,o),ep(e,t,r,o,n);case 15:return av(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),kl(e,t),t.tag=1,ct(r)?(e=!0,Yl(t)):e=!1,$o(t,n),sv(t,r,o),Nu(t,r,o,n),Au(null,t,r,!0,e,n);case 19:return hv(e,t,n);case 22:return cv(e,t,n)}throw Error(_(156,t.tag))};function Pv(e,t){return ng(e,t)}function hb(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tt(e,t,n,r){return new hb(e,t,n,r)}function yf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pb(e){if(typeof e=="function")return yf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Dd)return 11;if(e===Md)return 14}return 2}function jr(e,t){var n=e.alternate;return n===null?(n=Tt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Pl(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")yf(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ko:return oo(n.children,o,s,t);case _d:i=8,o|=8;break;case Kc:return e=Tt(12,n,t,o|2),e.elementType=Kc,e.lanes=s,e;case Yc:return e=Tt(13,n,t,o),e.elementType=Yc,e.lanes=s,e;case qc:return e=Tt(19,n,t,o),e.elementType=qc,e.lanes=s,e;case zm:return _a(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Mm:i=10;break e;case Fm:i=9;break e;case Dd:i=11;break e;case Md:i=14;break e;case sr:i=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Tt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function oo(e,t,n,r){return e=Tt(7,e,r,t),e.lanes=n,e}function _a(e,t,n,r){return e=Tt(22,e,r,t),e.elementType=zm,e.lanes=n,e.stateNode={isHidden:!1},e}function Ic(e,t,n){return e=Tt(6,e,null,t),e.lanes=n,e}function Lc(e,t,n){return t=Tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function mb(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hc(0),this.expirationTimes=hc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function xf(e,t,n,r,o,s,i,l,c){return e=new mb(e,t,n,l,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Tt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},tf(s),e}function gb(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:So,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Tv(e){if(!e)return Tr;e=e._reactInternals;e:{if(mo(e)!==e||e.tag!==1)throw Error(_(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ct(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(_(171))}if(e.tag===1){var n=e.type;if(ct(n))return Tg(e,n,t)}return t}function Rv(e,t,n,r,o,s,i,l,c){return e=xf(n,r,!0,e,o,s,i,l,c),e.context=Tv(null),n=e.current,r=et(),o=Ar(n),s=Bn(r,o),s.callback=t??null,Sr(n,s,o),e.current.lanes=o,Mi(e,o,r),ut(e,r),e}function Da(e,t,n,r){var o=t.current,s=et(),i=Ar(o);return n=Tv(n),t.context===null?t.context=n:t.pendingContext=n,t=Bn(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Sr(o,t,i),e!==null&&(tn(e,o,i,s),El(e,o,i)),i}function aa(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function fp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function wf(e,t){fp(e,t),(e=e.alternate)&&fp(e,t)}function vb(){return null}var Iv=typeof reportError=="function"?reportError:function(e){console.error(e)};function bf(e){this._internalRoot=e}Ma.prototype.render=bf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(_(409));Da(e,t,null,null)};Ma.prototype.unmount=bf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;fo(function(){Da(null,e,null,null)}),t[$n]=null}};function Ma(e){this._internalRoot=e}Ma.prototype.unstable_scheduleHydration=function(e){if(e){var t=cg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<lr.length&&t!==0&&t<lr[n].priority;n++);lr.splice(n,0,e),n===0&&dg(e)}};function Cf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Fa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function hp(){}function yb(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=aa(i);s.call(u)}}var i=Rv(t,r,e,0,null,!1,!1,"",hp);return e._reactRootContainer=i,e[$n]=i.current,di(e.nodeType===8?e.parentNode:e),fo(),i}for(;
vendor: 4,929 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=aa(c);l.call(u)}}var c=xf(e,0,!1,null,null,!1,!1,"",hp);return e._reactRootContainer=c,e[$n]=c.current,di(e.nodeType===8?e.parentNode:e),fo(function(){Da(t,c,n,r)}),c}function za(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var l=o;o=function(){var c=aa(i);l.call(c)}}Da(t,i,e,o)}else i=yb(n,t,e,o,r);return aa(i)}lg=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Us(t.pendingLanes);n!==0&&(Bd(t,n|1),ut(t,Pe()),!(ie&6)&&(hs=Pe()+500,Dr()))}break;case 13:fo(function(){var r=Gn(e,1);if(r!==null){var o=et();tn(r,e,1,o)}}),wf(e,1)}};Ud=function(e){if(e.tag===13){var t=Gn(e,134217728);if(t!==null){var n=et();tn(t,e,134217728,n)}wf(e,134217728)}};ag=function(e){if(e.tag===13){var t=Ar(e),n=Gn(e,t);if(n!==null){var r=et();tn(n,e,t,r)}wf(e,t)}};cg=function(){return ae};ug=function(e,t){var n=ae;try{return ae=e,t()}finally{ae=n}};iu=function(e,t,n){switch(t){case"input":if(Zc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Pa(r);if(!o)throw Error(_(90));Um(r),Zc(r,o)}}}break;case"textarea":Gm(e,n);break;case"select":t=n.value,t!=null&&Fo(e,!!n.multiple,t,!1)}};qm=mf;Xm=fo;var xb={usingClientEntryPoint:!1,Events:[zi,To,Pa,Km,Ym,mf]},Ls={findFiberByHostInstance:Hr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},wb={bundleType:Ls.bundleType,version:Ls.version,rendererPackageName:Ls.rendererPackageName,rendererConfig:Ls.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Qn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=eg(e),e===null?null:e.stateNode},findFiberByHostInstance:Ls.findFiberByHostInstance||vb,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var dl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dl.isDisabled&&dl.supportsFiber)try{Sa=dl.inject(wb),vn=dl}catch{}}wt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xb;wt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Cf(t))throw Error(_(200));return gb(e,t,null,n)};wt.createRoot=function(e,t){if(!Cf(e))throw Error(_(299));var n=!1,r="",o=Iv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=xf(e,1,!1,null,null,n,!1,r,o),e[$n]=t.current,di(e.nodeType===8?e.parentNode:e),new bf(t)};wt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(_(188)):(e=Object.keys(e).join(","),Error(_(268,e)));return e=eg(t),e=e===null?null:e.stateNode,e};wt.flushSync=function(e){return fo(e)};wt.hydrate=function(e,t,n){if(!Fa(t))throw Error(_(200));return za(null,e,t,!0,n)};wt.hydrateRoot=function(e,t,n){if(!Cf(e))throw Error(_(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=Iv;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Rv(t,null,e,1,n??null,o,!1,s,i),e[$n]=t.current,di(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Ma(t)};wt.render=function(e,t,n){if(!Fa(t))throw Error(_(200));return za(null,e,t,!1,n)};wt.unmountComponentAtNode=function(e){if(!Fa(e))throw Error(_(40));return e._reactRootContainer?(fo(function(){za(null,null,e,!1,function(){e._reactRootContainer=null,e[$n]=null})}),!0):!1};wt.unstable_batchedUpdates=mf;wt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Fa(n))throw Error(_(200));if(e==null||e._reactInternals===void 0)throw Error(_(38));return za(e,t,n,!1,r)};wt.version="18.3.1-next-f1338f8080-20240426";function Lv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Lv)}catch(e){console.error(e)}}Lv(),Lm.exports=wt;var Ui=Lm.exports;const Ov=bm(Ui);var _v,pp=Ui;_v=pp.createRoot,pp.hydrateRoot;const bb=1,Cb=1e6;let Oc=0;function Eb(){return Oc=(Oc+1)%Number.MAX_SAFE_INTEGER,Oc.toString()}const _c=new Map,mp=e=>{if(_c.has(e))return;const t=setTimeout(()=>{_c.delete(e),ti({type:"REMOVE_TOAST",toastId:e})},Cb);_c.set(e,t)},Nb=(e,t)=>
40{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,bb)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?mp(n):e.toasts.forEach(r=>{mp(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Tl=[];let Rl={toasts:[]};function ti(e){Rl=Nb(Rl,e),Tl.forEach(t=>{t(Rl)})}function Sb({...e}){const t=Eb(),n=o=>ti({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>ti({type:"DISMISS_TOAST",toastId:t});return ti({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function kb(){const[e,t]=w.useState(Rl);return w.useEffect(()=>(Tl.push(t),()=>{const n=Tl.indexOf(t);n>-1&&Tl.splice(n,1)}),[e]),{...e,toast:Sb,dismiss:n=>ti({type:"DISMISS_TOAST",toastId:n})}}function Te(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function gp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Dv(...e){return t=>{let n=!1;const r=e.map(o=>{const s=gp(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():gp(e[o],null)}}}}function xt(...e){return w.useCallback(Dv(...e),e)}function xs(e,t=[]){let n=[];function r(s,i){const l=w.createContext(i),c=n.length;n=[...n,i];const u=h=>{var v;const{scope:g,children:p,...C}=h,x=((v=g==null?void 0:g[e])==null?void 0:v[c])||l,b=w.useMemo(()=>C,Object.values(C));return a.jsx(x.Provider,{value:b,children:p})};u.displayName=s+"Provider";function f(h,g){var x;const p=((x=g==null?void 0:g[e])==null?void 0:x[c])||l,C=w.useContext(p);if(C)return C;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[u,f]}const o=()=>{const s=n.map(i=>w.createContext(i));return function(l){const c=(l==null?void 0:l[e])||s;return w.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return o.scopeName=e,[r,Ab(o,...t)]}function Ab(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((l,{useScope:c,scopeName:u})=>{const h=c(s)[`__scope${u}`];return{...l,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function ca(e){const t=Pb(e),n=w.forwardRef((r,o)=>{const{children:s,...i}=r,l=w.Children.toArray(s),c=l.find(Rb);if(c){const u=c.props.children,f=l.map(h=>h===c?w.Children.count(u)>1?w.Children.only(null):w.isValidElement(u)?u.props.children:null:h);return a.jsx(t,{...i,ref:o,children:w.isValidElement(u)?w.cloneElement(u,void 0,f):null})}return a.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var jb=ca("Slot");function Pb(e){const t=w.forwardRef((n,r)=>{const{children:o,...s}=n;if(w.isValidElement(o)){const i=Lb(o),l=Ib(s,o.props);return o.type!==w.Fragment&&(l.ref=r?Dv(r,i):i),w.cloneElement(o,l)}return w.Children.count(o)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Mv=Symbol("radix.slottable");function Tb(e){const t=({children:n})=>a.jsx(a.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Mv,t}function Rb(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Mv}function Ib(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...l)=>{const c=s(...l);return o(...l),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Lb(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Fv(e){const t=e+"CollectionProvider",[n,r]=xs(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=x=>{const{scope:b,children:v}=x,m=O.useRef(null),y=O.useRef(new Map).current;return a.jsx(o,{scope:b,itemMap:y,collectionRef:m,children:v})};i.displayName=t;const l=e+"CollectionSlot",c=ca(l),u=O.forwardRef((x,b)=>{const{scope:v,children:m}
vendor: 9,477 bytes, line 40
40=x,y=s(l,v),E=xt(b,y.collectionRef);return a.jsx(c,{ref:E,children:m})});u.displayName=l;const f=e+"CollectionItemSlot",h="data-radix-collection-item",g=ca(f),p=O.forwardRef((x,b)=>{const{scope:v,children:m,...y}=x,E=O.useRef(null),S=xt(b,E),A=s(f,v);return O.useEffect(()=>(A.itemMap.set(E,{ref:E,...y}),()=>void A.itemMap.delete(E))),a.jsx(g,{[h]:"",ref:S,children:m})});p.displayName=f;function C(x){const b=s(e+"CollectionConsumer",x);return O.useCallback(()=>{const m=b.collectionRef.current;if(!m)return[];const y=Array.from(m.querySelectorAll(`[${h}]`));return Array.from(b.itemMap.values()).sort((A,j)=>y.indexOf(A.ref.current)-y.indexOf(j.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},C,r]}var Ob=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_e=Ob.reduce((e,t)=>{const n=ca(`Primitive.${t}`),r=w.forwardRef((o,s)=>{const{asChild:i,...l}=o,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(c,{...l,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function zv(e,t){e&&Ui.flushSync(()=>e.dispatchEvent(t))}function Rr(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function _b(e,t=globalThis==null?void 0:globalThis.document){const n=Rr(e);w.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Db="DismissableLayer",zu="dismissableLayer.update",Mb="dismissableLayer.pointerDownOutside",Fb="dismissableLayer.focusOutside",vp,Bv=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ef=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:l,...c}=e,u=w.useContext(Bv),[f,h]=w.useState(null),g=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=w.useState({}),C=xt(t,j=>h(j)),x=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),v=x.indexOf(b),m=f?x.indexOf(f):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,E=m>=v,S=Bb(j=>{const I=j.target,F=[...u.branches].some(D=>D.contains(I));!E||F||(o==null||o(j),i==null||i(j),j.defaultPrevented||l==null||l())},g),A=Ub(j=>{const I=j.target;[...u.branches].some(D=>D.contains(I))||(s==null||s(j),i==null||i(j),j.defaultPrevented||l==null||l())},g);return _b(j=>{m===u.layers.size-1&&(r==null||r(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},g),w.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(vp=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),yp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=vp)}},[f,g,n,u]),w.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),yp())},[f,u]),w.useEffect(()=>{const j=()=>p({});return document.addEventListener(zu,j),()=>document.removeEventListener(zu,j)},[]),a.jsx(_e.div,{...c,ref:C,style:{pointerEvents:y?E?"auto":"none":void 0,...e.style},onFocusCapture:Te(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Te(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Te(e.onPointerDownCapture,S.onPointerDownCapture)})});Ef.displayName=Db;var zb="DismissableLayerBranch",Uv=w.forwardRef((e,t)=>{const n=w.useContext(Bv),r=w.useRef(null),o=xt(t,r);return w.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),a.jsx(_e.div,{...e,ref:o})});Uv.displayName=zb;function Bb(e,t=globalThis==null?void 0:globalThis.document){const n=Rr(e),r=w.useRef(!1),o=w.useRef(()=>{});return w.useEffect(()=>{const s=l=>{if(l.target&&!r.current){let c=function(){$v(Mb,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Ub(e,t=globalThis==null?void 0:globalThis.document){const n=Rr(e),r=w.useRef(!1);return w.useEffect(()=>{const o=s=>{s.target&&!r.current&&$v(Fb,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function yp(){const e=new CustomEvent(zu);document.dispatchEvent(e)}function $v(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?zv(o,s):o.dispatchEvent(s)}var $b=Ef,Gb=Uv,wn=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},Hb="Portal",Gv=w.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,s]=w.useState(!1);wn(()=>s(!0),[]);const i=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return i?Ov.createPortal(a.jsx(_e.div,{...r,ref:t}),i):null});Gv.displayName=Hb;function Wb(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Ba=e=>{const{present:t,children:n}=e,r=Vb(t),o=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),s=xt(r.ref,Qb(o));return typeof n=="function"||r.isPresent?w.cloneElement(o,{ref:s}):null};Ba.displayName="Presence";function Vb(e){const[t,n]=w.useState(),r=w.useRef(null),o=w.useRef(e),s=w.useRef("none"),i=e?"mounted":"unmounted",[l,c]=Wb(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=fl(r.current);s.current=l==="mounted"?u:"none"},[l]),wn(()=>{const u=r.current,f=o.current;if(f!==e){const g=s.current,p=fl(u);e?c("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(f&&g!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),wn(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=p=>{const x=fl(r.current).includes(p.animationName);if(p.target===t&&x&&(c("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},g=p=>{p.target===t&&(s.current=fl(r.current))};return t.addEventListener("animationstart",g),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",g),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:w.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function fl(e){return(e==null?void 0:e.animationName)||"none"}function Qb(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Kb=Rd[" useInsertionEffect ".trim().toString()]||wn;function Ua({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=Yb({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:o;{const f=w.useRef(e!==void 0);w.useEffect(()=>{const h=f.current;h!==l&&console.warn(`${r} is changing from ${h?"controlled":"uncontrolled"} to ${l?"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.`),f.current=l},[l,r])}const u=w.useCallback(f=>{var h;if(l){const g=qb(f)?f(e):f;g!==e&&((h=i.current)==null||h.call(i,g))}else s(f)},[l,e,s,i]);return[c,u]}function Yb({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),o=w.useRef(n),s=w.useRef(t);return Kb(()=>{s.current=t},[t]),w.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function qb(e){return typeof e=="function"}var Xb=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"}),Jb="VisuallyHidden",$a=w.forwardRef((e,t)=>a.jsx(_e.span,{...e,ref:t,style:{...Xb,...e.style}}));$a.displayName=Jb;var Zb=$a,Nf="ToastProvider",[Sf,eC,tC]=Fv("Toast"),[Hv,KA]=xs("Toast",[tC]),[nC,Ga]=Hv(Nf),Wv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[l,c]=w.useState(null),[u,f]=w.useState(0),h=w.useRef(!1),g=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Nf}\`. Expected non-empty \`string\`.`),a.jsx(Sf.Provider,{scope:t,children:a.jsx(nC,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:w.useCallback(()=>f(p=>p+1),[]),onToastRemove:w.useCallback(()=>f(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:g,children:i})})};Wv.displayName=Nf;var Vv="ToastViewport",rC=["F8"],Bu="toast.viewportPause",Uu="toast.viewportResume",Qv=w.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=rC,label:o="Notifications ({hotkey})",...s}=e,i=Ga(Vv,n),l=eC(n),c=w.useRef(null),u=w.useRef(null),f=w.useRef(null),h=w.useRef(null),g=xt(t,h,i.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),C=i.toastCount>0;w.useEffect(()=>{const b=v=>{var y;r.length!==0&&r.every(E=>v[E]||v.code===E)&&((y=h.current)==null||y.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),w.useEffect(()=>{const b=c.current,v=h.current;if(C&&b&&v){const m=()=>{if(!i.isClosePausedRef.current){const A=new CustomEvent(Bu);v.dispatchEvent(A),i.isClosePausedRef.current=!0}},y=()=>{if(i.isClosePausedRef.current){const A=new CustomEvent(Uu);v.dispatchEvent(A),i.isClosePausedRef.current=!1}},E=A=>{!b.contains(A.relatedTarget)&&y()},S=()=>{b.contains(document.activeElement)||y()};return b.addEventListener("focusin",m),b.addEventListener("focusout",E),b.addEventListener("pointermove",m),b.addEventListener("pointerleave",S),window.addEventListener("blur",m),window.addEventListener("focus",y),()=>{b.removeEventListener("focusin",m),b.removeEventListener("focusout",E),b.removeEventListener("pointermove",m),b.removeEventListener("pointerleave",S),window.removeEventListener("blur",m),window.removeEventListener("focus",y)}}},[C,i.isClosePausedRef]);const x=w.useCallback(({tabbingDirection:b})=>{const m=l().map(y=>{const E=y.ref.current,S=[E,...gC(E)];return b==="forwards"?S:S.reverse()});return(b==="forwards"?m.reverse():m).flat()},[l]);return w.useEffect(()=>{const b=h.current;if(b){const v=m=>{var S,A,j;const y=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!y){const I=document.activeElement,F=m.shiftKey;if(m.target===b&&F){(S=u.current)==null||S.focus();return}const G=x({tabbingDirection:F?"backwards":"forwards"}),te=G.findIndex($=>$===I);Dc(G.slice(te+1))?m.preventDefault():F?(A=u.current)==null||A.focus():(j=f.current)==null||j.focus()}};return b.addEventListener("keydown",v),()=>b.removeEventListener("keydown",v)}},[l,x]),a.jsxs(Gb,{ref:c,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:C?void 0:"none"},children:[C&&a.jsx($u,{ref:u,onFocusFromOutsideViewport:()=>{const b=x({tabbingDirection:"forwards"});Dc(b)}}),a.jsx(Sf.Slot,{scope:n,children:a.jsx(_e.ol,{tabIndex:-1,...s,ref:g})}),C&&a.jsx($u,{ref:f,onFocusFromOutsideViewport:()=>{const b=x({tabbingDirection:"backwards"});Dc(b)}})]})});Qv.displayName=Vv;var Kv="ToastFocusProxy",$u=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=Ga(Kv,n);return a.jsx($a,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const l=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(l))&&r()}})});$u.displayName=Kv;var $i="Toast",oC="toast.swipeStart",sC="toast.swipeMove",iC="toast.swipeCancel",lC="toast.swipeEnd",Yv=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[l,c]=Ua({prop:r,defaultProp:o??!0,onChange:s,caller:$i});return a.jsx(Ba,{present:n||l,children:a.jsx(uC,{open:l,...i,ref:t,onClose:()=>c(!1),onPause:Rr(e.onPause),onResume:Rr(e.onResume),onSwipeStart:Te(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Te(e.onSwipeMove,u=>{const{x:f,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:Te(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Te(e.onSwipeEnd,u=>{const{x:f,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),c(!1)})})})});Yv.displayName=$i;var[aC,cC]=Hv($i,{onClose(){}}),uC=w.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:f,onSwipeMove:h,onSwipeCancel:g,onSwipeEnd:p,...C}=e,x=Ga($i,n),[b,v]=w.useState(null),m=xt(t,$=>v($)),y=w.useRef(null),E=w.useRef(null),S=o||x.duration,A=w.useRef(0),j=w.useRef(S),I=w.useRef(0),{onToastAdd:F,onToastRemove:D}=x,V=Rr(()=>{var Z;(b==null?void 0:b.contains(document.activeElement))&&((Z=x.viewport)==null||Z.focus()),i()}),G=w.useCallback($=>{!$||$===1/0||(window.clearTimeout(I.current),A.current=new Date().getTime(),I.current=window.setTimeout(V,$))},[V]);w.useEffect(()=>{const $=x.viewport;if($){const Z=()=>{G(j.current),u==null||u()},Q=()=>{const q=new Date().getTime()-A.current;j.current=j.current-q,window.clearTimeout(I.current),c==null||c()};return $.addEventListener(Bu,Q),$.addEventListener(Uu,Z),()=>{$.removeEventListener(Bu,Q),$.removeEventListener(Uu,Z)}}},[x.viewport,S,c,u,G]),w.useEffect(()=>{s&&!x.isClosePausedRef.current&&G(S)},[s,S,x.isClosePausedRef,G]),w.useEffect(()=>(F(),()=>D()),[F,D]);const te=w.useMemo(()=>b?ny(b):null,[b]);return x.viewport?a.jsxs(a.Fragment,{children:[te&&a.jsx(dC,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:te}),a.jsx(aC,{scope:n,onClose:V,children:Ui.createPortal(a.jsx(Sf.ItemSlot,{scope:n,children:a.jsx($b,{asChild:!0,onEscapeKeyDown:Te(l,()=>{x.isFocusedToastEscapeKeyDownRef.current||V(),x.isFocusedToastEscapeKeyDownRef.current=!1}),children:a.jsx(_e.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":x.swipeDirection,...C,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Te(e.onKeyDown,$=>{$.key==="Escape"&&(l==null||l($.nativeEvent),$.nativeEvent.defaultPrevented||(x.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:Te(e.onPointerDown,$=>{$.button===0&&(y.current={x:$.clientX,y:$.clientY})}),onPointerMove:Te(e.onPointerMove,$=>{if(!y.current)return;const Z=$.clientX-y.current.x,Q=$.clientY-y.current.y,q=!!E.current,P=["left","right"].includes(x.swipeDirection),T=["left","up"].includes(x.swipeDirection)?Math.min:Math.max,R=P?T(0,Z):0,B=P?0:T(0,Q),z=$.pointerType==="touch"?10:2,W={x:R,y:B},K={originalEvent:$,delta:W};q?(E.current=W,hl(sC,h,K,{discrete:!1})):xp(W,x.swipeDirection,z)?(E.current=W,hl(oC,f,K,{discrete:!1}),$.target.setPointerCapture($.pointerId)):(Math.abs(Z)>z||Math.abs(Q)>z)&&(y.current=null)}),onPointerUp:Te(e.onPointerUp,$=>{const Z=E.current,Q=$.target;if(Q.hasPointerCapture($.pointerId)&&Q.releasePointerCapture($.pointerId),E.current=null,y.current=null,Z){const q=$.currentTarget,P={originalEvent:$,delta:Z};xp(Z,x.swipeDirection,x.swipeThreshold)?hl(lC,p,P,{discrete:!0}):hl(iC,g,P,{discrete:!0}),q.addEventListener("click",T=>T.preventDefault(),{once:!0})}})})})}),x.viewport)})]}):null}),dC=e=>{const{__scopeToast:t,children:n,...r}=e,o=Ga($i,t),[s,i]=w.useState(!1),[l,c]=w.useState(!1);return pC(()=>i(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:a.jsx(Gv,{asChild:!0,children:a.jsx($a,{...r,children:s&&a.jsxs(a.Fragment,{children:[o.label," ",n]})})})},fC="ToastTitle",qv=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(_e.div,{...r,ref:t})});qv.displayName=fC;var hC="ToastDescription",Xv=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(_e.div,{...r,ref:t})});Xv.displayName=hC;var Jv="ToastAction",Zv=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?a.jsx(ty,{altText:n,asChild:!0,children:a.jsx(kf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Jv}\`. Expected non-empty \`string\`.`),null)});Zv.displayName=Jv;var ey="ToastClose",kf=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=cC(ey,n);return a.jsx(ty,{asChild:!0,children:a.jsx(_e.button,{type:"button",...r,ref:t,onClick:Te(e.onClick,o.onClose)})})});kf.displayName=ey;var ty=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return a.jsx(_e.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function ny(e){const t=[];
vendor: 9,809 bytes, lines 40-140
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),mC(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...ny(r))}}),t}function hl(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?zv(o,s):o.dispatchEvent(s)}var xp=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function pC(e=()=>{}){const t=Rr(e);wn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function mC(e){return e.nodeType===e.ELEMENT_NODE}function gC(e){const t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function Dc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var vC=Wv,ry=Qv,oy=Yv,sy=qv,iy=Xv,ly=Zv,ay=kf;function cy(e){var t,n,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]&&(n=cy(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function uy(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=cy(e))&&(r&&(r+=" "),r+=t);return r}const wp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,bp=uy,dy=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return bp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const f=n==null?void 0:n[u],h=s==null?void 0:s[u];if(f===null)return null;const g=wp(f)||wp(h);return o[u][g]}),l=n&&Object.entries(n).reduce((u,f)=>{let[h,g]=f;return g===void 0||(u[h]=g),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:h,className:g,...p}=f;return Object.entries(p).every(C=>{let[x,b]=C;return Array.isArray(b)?b.includes({...s,...l}[x]):{...s,...l}[x]===b})?[...u,h,g]:u},[]);return bp(e,i,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const yC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fy=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var xC={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"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const wC=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...l},c)=>w.createElement("svg",{ref:c,...xC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:fy("lucide",o),...l},[...i.map(([u,f])=>w.createElement(u,f)),...Array.isArray(s)?s:[s]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const Fe=(e,t)=>{const n=w.forwardRef(({className:r,...o},s)=>w.createElement(wC,{ref:s,iconNode:t,className:fy(`lucide-${yC(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const Cp=Fe("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const ua=Fe("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const so=Fe("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const bC=Fe("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const CC=Fe("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const EC=Fe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const Gu=Fe("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const Hu=Fe("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const NC=Fe("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const hy=Fe("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const py=Fe("GraduationCap",[["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"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const Ep=Fe("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const Wu=Fe("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const Vu=Fe("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const my=Fe("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const SC=Fe("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 5,376 bytes, lines 140-150
140y:"oel41y"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const Qu=Fe("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const Af=Fe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),jf="-",kC=e=>{const t=jC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const l=i.split(jf);return l[0]===""&&l.length!==1&&l.shift(),gy(l,t)||AC(i)},getConflictingClassGroupIds:(i,l)=>{const c=n[i]||[];return l&&r[i]?[...c,...r[i]]:c}}},gy=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?gy(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(jf);return(i=t.validators.find(({validator:l})=>l(s)))==null?void 0:i.classGroupId},Np=/^\[(.+)\]$/,AC=e=>{if(Np.test(e)){const t=Np.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},jC=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return TC(Object.entries(e.classGroups),n).forEach(([s,i])=>{Ku(i,r,s,t)}),r},Ku=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Sp(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(PC(o)){Ku(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{Ku(i,Sp(t,s),n,r)})})},Sp=(e,t)=>{let n=e;return t.split(jf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},PC=e=>e.isThemeGetter,TC=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,l])=>[t+i,l])):s);return[n,o]}):e,RC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},vy="!",IC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=l=>{const c=[];let u=0,f=0,h;for(let b=0;b<l.length;b++){let v=l[b];if(u===0){if(v===o&&(r||l.slice(b,b+s)===t)){c.push(l.slice(f,b)),f=b+s;continue}if(v==="/"){h=b;continue}}v==="["?u++:v==="]"&&u--}const g=c.length===0?l:l.substring(f),p=g.startsWith(vy),C=p?g.substring(1):g,x=h&&h>f?h-f:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:C,maybePostfixModifierPosition:x}};return n?l=>n({className:l,parseClassName:i}):i},LC=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},OC=e=>({cache:RC(e.cacheSize),parseClassName:IC(e),...kC(e)}),_C=/\s+/,DC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(_C);let l="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:f,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:p}=n(u);let C=!!p,x=r(C?g.substring(0,p):g);if(!x){if(!C){l=u+(l.length>0?" "+l:l);continue}if(x=r(g),!x){l=u+(l.length>0?" "+l:l);continue}C=!1}const b=LC(f).join(":"),v=h?b+vy:b,m=v+x;if(s.includes(m))continue;s.push(m);const y=o(x,C);for(let E=0;E<y.length;++E){const S=y[E];s.push(v+S)}l=u+(l.length>0?" "+l:l)}return l};function MC(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=yy(t))&&(r&&(r+=" "),r+=n);return r}const yy=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=yy(e[r]))&&(n&&(n+=" "),n+=t);return n};function FC(e,...t){let n,r,o,s=i;function i(c){const u=t.reduce((f,h)=>h(f),e());return n=OC(u),r=n.cache.get,o=n.cache.set,s=l,l(c)}function l(c){const u=r(c);if(u)return u;const f=DC(c,n);return o(c,f),f}return function(){return s(MC.apply(null,arguments))}}const me=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},xy=/^\[(?:([a-z-]+):)?(.+)\]$/i,zC=/^\d+\/\d+$/,BC=new Set(["px","full","screen"]),UC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$C=/\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$/,GC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,HC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,WC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Sn=e=>Ho(e)||BC.has(e)||zC.test(e),Zn=e=>ws(e,"length",ZC),Ho=e=>!!e&&!Number.isNaN(Number(e)),Mc=e=>ws(e,"number",Ho),Os=e=>!!e&&Number.isInteger(Number(e)),VC=e=>e.endsWith("%")&&Ho(e.slice(0,-1)),ee=e=>xy.test(e),er=e=>UC.test(e),QC=new Set(["length","size","percentage"]),KC=e=>ws(e,QC,wy),YC=e=>ws(e,"position",wy),qC=new Set(["image","url"]),XC=e=>ws(e,qC,tE),JC=e=>ws(e,"",eE),_s=()=>!0,ws=(e,t,n)=>{const r=xy.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},ZC=e=>$C.test(e)&&!GC.test(e),wy=()=>!1,eE=e=>HC.test(e),tE=e=>WC.test(e),nE=()=>{const e=me("colors"),t=me("spacing"),n=me("blur"),r=me("brightness"),o=me("borderColor"),s=me("borderRadius"),i=me("borderSpacing"),l=me("borderWidth"),c=me
vendor: 12,615 bytes, line 150
150("contrast"),u=me("grayscale"),f=me("hueRotate"),h=me("invert"),g=me("gap"),p=me("gradientColorStops"),C=me("gradientColorStopPositions"),x=me("inset"),b=me("margin"),v=me("opacity"),m=me("padding"),y=me("saturate"),E=me("scale"),S=me("sepia"),A=me("skew"),j=me("space"),I=me("translate"),F=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",ee,t],G=()=>[ee,t],te=()=>["",Sn,Zn],$=()=>["auto",Ho,ee],Z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Q=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",ee],R=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[Ho,ee];return{cacheSize:500,separator:":",theme:{colors:[_s],spacing:[Sn,Zn],blur:["none","",er,ee],brightness:B(),borderColor:[e],borderRadius:["none","","full",er,ee],borderSpacing:G(),borderWidth:te(),contrast:B(),grayscale:T(),hueRotate:B(),invert:T(),gap:G(),gradientColorStops:[e],gradientColorStopPositions:[VC,Zn],inset:V(),margin:V(),opacity:B(),padding:G(),saturate:B(),scale:B(),sepia:T(),skew:B(),space:G(),translate:G()},classGroups:{aspect:[{aspect:["auto","square","video",ee]}],container:["container"],columns:[{columns:[er]}],"break-after":[{"break-after":R()}],"break-before":[{"break-before":R()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Z(),ee]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Os,ee]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ee]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",Os,ee]}],"grid-cols":[{"grid-cols":[_s]}],"col-start-end":[{col:["auto",{span:["full",Os,ee]},ee]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[_s]}],"row-start-end":[{row:["auto",{span:[Os,ee]},ee]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ee]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ee]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ee,t]}],"min-w":[{"min-w":[ee,t,"min","max","fit"]}],"max-w":[{"max-w":[ee,t,"none","full","min","max","fit","prose",{screen:[er]},er]}],h:[{h:[ee,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ee,t,"auto","min","max","fit"]}],"font-size":[{text:["base",er,Zn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Mc]}],"font-family":[{font:[_s]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ee]}],"line-clamp":[{"line-clamp":["none",Ho,Mc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Sn,ee]}],"list-image":[{"list-image":["none",ee]}],"list-style-type":[{list:["none","disc","decimal",ee]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Sn,Zn]}],"underline-offset":[{"underline-offset":["auto",Sn,ee]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:G()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ee]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Z(),YC]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",KC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},XC]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...Q(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:Q()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...Q()]}],"outline-offset":[{"outline-offset":[Sn,ee]}],"outline-w":[{outline:[Sn,Zn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Sn,Zn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",er,JC]}],"shadow-color":[{shadow:[_s]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",er,ee]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[y]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"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:["none","all","","colors","opacity","shadow","transform",ee]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",ee]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",ee]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[Os,ee]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ee]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ee]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":G()}],"scroll-mx":[{"scroll-mx":G()}],"scroll-my":[{"scroll-my":G()}],"scroll-ms":[{"scroll-ms":G()}],"scroll-me":[{"scroll-me":G()}],"scroll-mt":[{"scroll-mt":G()}],"scroll-mr":[{"scroll-mr":G()}],"scroll-mb":[{"scroll-mb":G()}],"scroll-ml":[{"scroll-ml":G()}],"scroll-p":[{"scroll-p":G()}],"scroll-px":[{"scroll-px":G()}],"scroll-py":[{"scroll-py":G()}],"scroll-ps":[{"scroll-ps":G()}],"scroll-pe":[{"scroll-pe":G()}],"scroll-pt":[{"scroll-pt":G()}],"scroll-pr":[{"scroll-pr":G()}],"scroll-pb":[{"scroll-pb":G()}],"scroll-pl":[{"scroll-pl":G()}],"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"]}
vendor: 4,647 bytes, line 150
150],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",ee]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Sn,Zn,Mc]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},rE=FC(nE);function ze(...e){return rE(uy(e))}const oE=vC,by=w.forwardRef(({className:e,...t},n)=>a.jsx(ry,{ref:n,className:ze("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}));by.displayName=ry.displayName;const sE=dy("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"}}),Cy=w.forwardRef(({className:e,variant:t,...n},r)=>a.jsx(oy,{ref:r,className:ze(sE({variant:t}),e),...n}));Cy.displayName=oy.displayName;const iE=w.forwardRef(({className:e,...t},n)=>a.jsx(ly,{ref:n,className:ze("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));iE.displayName=ly.displayName;const Ey=w.forwardRef(({className:e,...t},n)=>a.jsx(ay,{ref:n,className:ze("absolute right-2 top-2 rounded-md p-1 text-foreground
150/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:a.jsx(Af,{className:"h-4 w-4"})}));Ey.displayName=ay.displayName;const Ny=w.forwardRef(({className:e,...t},n)=>a.jsx(sy,{ref:n,className:ze("text-sm font-semibold",e),...t}));Ny.displayName=sy.displayName;const Sy=w.forwardRef(({className:e,...t},n)=>a.jsx(iy,{ref:n,className:ze("text-sm opacity-90",e),...t}));Sy.displayName=iy.displayName;function lE(){const{toasts:e}=kb();return a.jsxs(oE,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return a.jsxs(Cy,{...s,children:[a.jsxs("div",{className:"grid gap-1",children:[n&&a.jsx(Ny,{children:n}),r&&a.jsx(Sy,{children:r})]}),o,a.jsx(Ey,{})]},t)}),a.jsx(by,{})]})}var kp=["light","dark"],aE="(prefers-color-scheme: dark)",cE=w.createContext(void 0),uE={setTheme:e=>{},themes:[]},dE=()=>{var e;return(e=w.useContext(cE))!=null?e:uE};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:l,nonce:c})=>{let u=s==="system",f=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(C=>`'${C}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=o?kp.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",g=(C,x=!1,b=!0)=>{let v=i?i[C]:C,m=x?C+"|| ''":`'${v}'`,y="";return o&&b&&!x&&kp.includes(C)&&(y+=`d.style.colorScheme = '${C}';`),n==="class"?x||v?y+=`c.add(${m})`:y+="null":v&&(y+=`d[s](n,${m})`),y},p=e?`!function(){${f}${g(e)}}()`:r?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${aE}',m=window.matchMedia(t);if(m.media!==t||m.matches){${g("dark")}}else{${g("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${g(i?"x[e]":"e",!0)}}${u?"":"else{"+g(s,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${g(i?"x[e]":"e",!0)}}else{${g(s,!1,!1)};}${h}}catch(t){}}();`;return w.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:p}})});var fE=e=>{switch(e){case"success":return mE;case"info":return vE;case"warning":return gE;case"error":return yE;default:return null}},hE=Array(12).fill(0),pE=({visible:e,className:t})=>O.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},O.createElement("div",{className:"sonner-spinner"},hE.map((n,r)=>O.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),mE=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),gE=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),vE=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),yE=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),xE=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},O.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),O.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),wE=()=>{let[e,t]=O.useState(document.hidden);return O.useEffect(()=>{let n=()=>{t(document.hidden)};
150return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Yu=1,bE=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Yu++,s=this.toasts.find(l=>l.id===o),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:i,title:n}):l):this.addToast({title:n,...r,dismissible:i,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
150this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,s,i=r.then(async c=>{if(s=["resolve",c],O.isValidElement(c))o=!1,this.create({id:n,type:"default",message:c});else if(EE(c)&&!c.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,f=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:f})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(c):t.success,f=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:f})}}).catch(async c=>{if(s=["reject",c],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(c):t.error,f=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:f})}}).finally(()=>{var c;o&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>i.then(()=>s[0]==="reject"?u(s[1]):c(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Yu++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},st=new bE,CE=(e,t)=>{let n=(t==null?void 0:t.id)||Yu++;return st.addToast({title:e,...t,id:n}),n},EE=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",NE=CE,SE=()=>st.toasts,kE=()=>st.getActiveToasts();Object.assign(NE,{success:st.success,info:st.info,warning:st.warning,error:st.error,custom:st.custom,message:st.message,promise:st.promise,dismiss:st.dismiss,loading:st.loading},{getHistory:SE,getToasts:kE});function AE(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}AE(`:where(html[dir="ltr"]),:where([data-sonner-toaster][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%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][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%)}:where([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:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([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);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([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 #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([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)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([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;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
150left: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);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-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
150:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([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}:where([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}:where([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, 0px)) translate(var(--swipe-amount-x, 0px));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{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{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{0%{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-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--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-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-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-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, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
150--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-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-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],[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],[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],[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],[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:nth-child(1){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)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{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%)}
151`);function pl(e){return e.label!==void 0}var jE=3,PE="32px",TE="16px",Ap=4e3,RE=356,IE=14,LE=20,OE=200;function Bt(...e){return e.filter(Boolean).join(" ")}function _E(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var DE=e=>{var t,n,r,o,s,i,l,c,u,f,h;let{invert:g,toast:p,unstyled:C,interacting:x,setHeights:b,visibleToasts:v,heights:m,index:y,toasts:E,expanded:S,removeToast:A,defaultRichColors:j,closeButton:I,style:F,cancelButtonStyle:D,actionButtonStyle:V,className:G="",descriptionClassName:te="",duration:$,position:Z,gap:Q,loadingIcon:q,expandByDefault:P,classNames:T,icons:R,closeButtonAriaLabel:B="Close toast",pauseWhenPageIsHidden:z}=e,[W,K]=O.useState(null),[de,Ae]=O.useState(null),[ne,En]=O.useState(!1),[Ot,ln]=O.useState(!1),[_t,Nn]=O.useState(!1),[Kn,Wi]=O.useState(!1),[rc,Vi]=O.useState(!1),[oc,Es]=O.useState(0),[go,Zf]=O.useState(0),Ns=O.useRef(p.duration||$||Ap),eh=O.useRef(null),Mr=O.useRef(null),Fx=y===0,zx=y+1<=v,Ct=p.type,vo=p.dism
151issible!==!1,Bx=p.className||"",Ux=p.descriptionClassName||"",Qi=O.useMemo(()=>m.findIndex(J=>J.toastId===p.id)||0,[m,p.id]),$x=O.useMemo(()=>{var J;return(J=p.closeButton)!=null?J:I},[p.closeButton,I]),th=O.useMemo(()=>p.duration||$||Ap,[p.duration,$]),sc=O.useRef(0),yo=O.useRef(0),nh=O.useRef(0),xo=O.useRef(null),[Gx,Hx]=Z.split("-"),rh=O.useMemo(()=>m.reduce((J,ce,xe)=>xe>=Qi?J:J+ce.height,0),[m,Qi]),oh=wE(),Wx=p.invert||g,ic=Ct==="loading";yo.current=O.useMemo(()=>Qi*Q+rh,[Qi,rh]),O.useEffect(()=>{Ns.current=th},[th]),O.useEffect(()=>{En(!0)},[]),O.useEffect(()=>{let J=Mr.current;if(J){let ce=J.getBoundingClientRect().height;return Zf(ce),b(xe=>[{toastId:p.id,height:ce,position:p.position},...xe]),()=>b(xe=>xe.filter(Dt=>Dt.toastId!==p.id))}},[b,p.id]),O.useLayoutEffect(()=>{if(!ne)return;let J=Mr.current,ce=J.style.height;J.style.height="auto";let xe=J.getBoundingClientRect().height;J.style.height=ce,Zf(xe),b(Dt=>Dt.find(Mt=>Mt.toastId===p.id)?Dt.map(Mt=>Mt.toastId===p.id?{...Mt,height:xe}:Mt):[{toastId:p.id,height:xe,position:p.position},...Dt])},[ne,p.title,p.description,b,p.id]);let Yn=O.useCallback(()=>{ln(!0),Es(yo.current),b(J=>J.filter(ce=>ce.toastId!==p.id)),setTimeout(()=>{A(p)},OE)},[p,A,b,yo]);O.useEffect(()=>{if(p.promise&&Ct==="loading"||p.duration===1/0||p.type==="loading")return;let J;return S||x||z&&oh?(()=>{if(nh.current<sc.current){let ce=new Date().getTime()-sc.current;Ns.current=Ns.current-ce}nh.current=new Date().getTime()})():Ns.current!==1/0&&(sc.current=new Date().getTime(),J=setTimeout(()=>{var ce;(ce=p.onAutoClose)==null||ce.call(p,p),Yn()},Ns.current)),()=>clearTimeout(J)},[S,x,p,Ct,z,oh,Yn]),O.useEffect(()=>{p.delete&&Yn()},[Yn,p.delete]);function Vx(){var J,ce,xe;return R!=null&&R.loading?O.createElement("div",{className:Bt(T==null?void 0:T.loader,(J=p==null?void 0:p.classNames)==null?void 0:J.loader,"sonner-loader"),"data-visible":Ct==="loading"},R.loading):q?O.createElement("div",{className:Bt(T==null?void 0:T.loader,(ce=p==null?void 0:p.classNames)==null?void 0:ce.loader,"sonner-loader"),"data-visible":Ct==="loading"},q):O.createElement(pE,{className:Bt(T==null?void 0:T.loader,(xe=p==null?void 0:p.classNames)==null?void 0:xe.loader),visible:Ct==="loading"})}return O.createElement("li",{tabIndex:0,ref:Mr,className:Bt(G,Bx,T==null?void 0:T.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,T==null?void 0:T.default,T==null?void 0:T[Ct],(n=p==null?void 0:p.classNames)==null?void 0:n[Ct]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:j,"data-styled":!(p.jsx||p.unstyled||C),"data-mounted":ne,"data-promise":!!p.promise,"data-swiped":rc,"data-removed":Ot,"data-visible":zx,"data-y-position":Gx,"data-x-position":Hx,"data-index":y,"data-front":Fx,"data-swiping":_t,"data-dismissible":vo,"data-type":Ct,"data-invert":Wx,"data-swipe-out":Kn,"data-swipe-direction":de,"data-expanded":!!(S||P&&ne),style:{"--index":y,"--toasts-before":y,"--z-index":E.length-y,"--offset":`${Ot?oc:yo.current}px`,"--initial-height":P?"auto":`${go}px`,...F,...p.style},onDragEnd:()=>{Nn(!1),K(null),xo.current=null},onPointerDown:J=>{ic||!vo||(eh.current=new Date,Es(yo.current),J.target.setPointerCapture(J.pointerId),J.target.tagName!=="BUTTON"&&(Nn(!0),xo.current={x:J.clientX,y:J.clientY}))},onPointerUp:()=>{var J,ce,xe,Dt;if(Kn||!vo)return;xo.current=null;let Mt=Number(((J=Mr.current)==null?void 0:J.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),qn=Number(((ce=Mr.current)==null?void 0:ce.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Fr=new Date().getTime()-((xe=eh.current)==null?void 0:xe.getTime()),Ft=W==="x"?Mt:qn,Xn=Math.abs(Ft)/Fr;if(Math.abs(Ft)>=LE||Xn>.11){Es(yo.current),(Dt=p.onDismiss)==null||Dt.call(p,p),Ae(W==="x"?Mt>0?"right":"left":qn>0?"down":"up"),Yn(),Wi(!0),Vi(!1);return}Nn(!1),K(null)},onPointerMove:J=>{var ce,xe,Dt,Mt;if(!xo.current||!vo||((ce=window.getSelection())==null?void 0:ce.toString().length)>0)return;let qn=J.clientY-xo.current.y,Fr=J.clientX-xo.current.x,Ft=(xe=e.swipeDirections)!=null?xe:_E(Z);!W&&(Math.abs(Fr)>1||Math.abs(qn)>1)&&K(Math.abs(Fr)>Math.abs(qn)?"x":"y");let Xn={x:0,y:0};W==="y"?(Ft.includes("top")||Ft.includes("bottom"))&&(Ft.includes("top")&&qn<0||Ft.includes("bottom")&&qn>0)&&(Xn.y=qn):W==="x"&&(Ft.includes("left")||Ft.includes("right"))&&(Ft.includes("left")&&Fr<0||Ft.includes("right")&&Fr>0)&&(Xn.x=Fr),(Math.abs(Xn.x)>0||Math.abs(Xn.y)>0)&&Vi(!0),(Dt=Mr.current)==null||Dt.style.setProperty("--swipe-amount-x",`${Xn.x}px`),(Mt=Mr.current)==null||Mt.style.setProperty("--swipe-amount-y",`${Xn.y}px`)}},$x&&!p.jsx?O.createElement("button",{"aria-label":B,"data-disabled":ic,"data-close-button":!0,onClick:ic||!vo?()=>{}:()=>{var J;Yn(),(J=p.onDismiss)==null||J.call(p,p)},className:Bt(T==null?void 0:T.closeButton,(o=p==null?void 0:p.classNames)==null?void 0:o.closeButton)},(s=R==null?void 0:R.close)!=null?s:xE):null,p.jsx||w.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:O.createElement(O.Fragment,null,Ct||p.icon||p.promise?O.createElement("div",{"data-icon":"",className:Bt(T==null?void 0:T.icon,(i=p==null?void 0:p.classNames)==null?void 0:i.icon)}
151,p.promise||p.type==="loading"&&!p.icon?p.icon||Vx():null,p.type!=="loading"?p.icon||(R==null?void 0:R[Ct])||fE(Ct):null):null,O.createElement("div",{"data-content":"",className:Bt(T==null?void 0:T.content,(l=p==null?void 0:p.classNames)==null?void 0:l.content)},O.createElement("div",{"data-title":"",className:Bt(T==null?void 0:T.title,(c=p==null?void 0:p.classNames)==null?void 0:c.title)},typeof p.title=="function"?p.title():p.title),p.description?O.createElement("div",{"data-description":"",className:Bt(te,Ux,T==null?void 0:T.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),w.isValidElement(p.cancel)?p.cancel:p.cancel&&pl(p.cancel)?O.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||D,onClick:J=>{var ce,xe;pl(p.cancel)&&vo&&((xe=(ce=p.cancel).onClick)==null||xe.call(ce,J),Yn())},className:Bt(T==null?void 0:T.cancelButton,(f=p==null?void 0:p.classNames)==null?void 0:f.cancelButton)},p.cancel.label):null,w.isValidElement(p.action)?p.action:p.action&&pl(p.action)?O.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||V,onClick:J=>{var ce,xe;pl(p.action)&&((xe=(ce=p.action).onClick)==null||xe.call(ce,J),!J.defaultPrevented&&Yn())},className:Bt(T==null?void 0:T.actionButton,(h=p==null?void 0:p.classNames)==null?void 0:h.actionButton)},p.action.label):null))};function jp(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function ME(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",l=s?TE:PE;function c(u){["top","right","bottom","left"].forEach(f=>{n[`${i}-${f}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=l:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var FE=w.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:l,offset:c,mobileOffset:u,theme:f="light",richColors:h,duration:g,style:p,visibleToasts:C=jE,toastOptions:x,dir:b=jp(),gap:v=IE,loadingIcon:m,icons:y,containerAriaLabel:E="Notifications",pauseWhenPageIsHidden:S}=e,[A,j]=O.useState([]),I=O.useMemo(()=>Array.from(new Set([r].concat(A.filter(z=>z.position).map(z=>z.position)))),[A,r]),[F,D]=O.useState([]),[V,G]=O.useState(!1),[te,$]=O.useState(!1),[Z,Q]=O.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),q=O.useRef(null),P=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),T=O.useRef(null),R=O.useRef(!1),B=O.useCallback(z=>{j(W=>{var K;return(K=W.find(de=>de.id===z.id))!=null&&K.delete||st.dismiss(z.id),W.filter(({id:de})=>de!==z.id)})},[]);return O.useEffect(()=>st.subscribe(z=>{if(z.dismiss){j(W=>W.map(K=>K.id===z.id?{...K,delete:!0}:K));return}setTimeout(()=>{Ov.flushSync(()=>{j(W=>{let K=W.findIndex(de=>de.id===z.id);return K!==-1?[...W.slice(0,K),{...W[K],...z},...W.slice(K+1)]:[z,...W]})})})}),[]),O.useEffect(()=>{if(f!=="system"){Q(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Q("dark"):Q("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:W})=>{Q(W?"dark":"light")})}catch{z.addListener(({matches:K})=>{try{Q(K?"dark":"light")}catch(de){console.error(de)}})}},[f]),O.useEffect(()=>{A.length<=1&&G(!1)},[A]),O.useEffect(()=>{let z=W=>{var K,de;o.every(Ae=>W[Ae]||W.code===Ae)&&(G(!0),(K=q.current)==null||K.focus()),W.code==="Escape"&&(document.activeElement===q.current||(de=q.current)!=null&&de.contains(document.activeElement))&&G(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[o]),O.useEffect(()=>{if(q.current)return()=>{T.current&&(T.current.focus({preventScroll:!0}),T.current=null,R.current=!1)}},[q.current]),O.createElement("section",{ref:t,"aria-label":`${E} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},I.map((z,W)=>{var K;let[de,Ae]=z.split("-");return A.length?O.createElement("ol",{key:z,dir:b==="auto"?jp():b,tabIndex:-1,ref:q,className:l,"data-sonner-toaster":!0,"data-theme":Z,"data-y-position":de,"data-lifted":V&&A.length>1&&!s,"data-x-position":Ae,style:{"--front-toast-height":`${((K=F[0])==null?void 0:K.height)||0}px`,"--width":`${RE}px`,"--gap":`${v}px`,...p,...ME(c,u)},onBlur:ne=>{R.current&&!ne.currentTarget.contains(ne.relatedTarget)&&(R.current=!1,T.current&&(T.current.focus({preventScroll:!0}),T.current=null))},onFocus:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||R.current||(R.current=!0,T.current=ne.relatedTarget)},onMouseEnter:()=>G(!0),onMouseMove:()=>G(!0),onMouseLeave:()=>{te||G(!1)},onDragEnd:()=>G(!1),onPointerDown:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||$(!0)},onPointerUp:()=>$(!1)},A.filter(ne=>!ne.position&&W===0||ne.position===z).map((ne,En)=>{var Ot,ln;return O.createElement(DE,{key:ne.id,icons:y,index:En,toast:ne,defaultRichColors:h,duration:(Ot=x==null?void 0:x.duration)!=null?Ot:g,className:x==null?void 0:x.className,descriptionClassName:x==null?void 0:x.descriptionClassName,invert:n,visibleToasts:C,closeButton:(ln=x==null?void 0:x.closeButton)!=null?ln:i,interacting:te,position:z,style:x==null?void 0:x.style,unstyled:x==null?void 0:x.unstyled,classNames:x==null?void 0:x.classNames,cancelButtonStyle:x==null?void 0:x.cancelButtonStyle,actionButtonStyle:x==null?void 0:x.actionButtonStyle,removeToast:B,toasts:A.filter(_t=>_t.position==ne.position),heights:F.filter(_t=>_t.position==ne.position),setHeights:D,expandByDefault:s,gap:v,loadingIcon:m,expanded:V,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const zE=({...e})=>{const{theme:t="system"}=dE();return a.jsx(FE,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var BE=Rd[" useId ".trim().toString()]||(()=>{}),UE=0;function ky(e){const[t,n]=w.useState(BE());return wn(()=>{n(r=>r??String(UE++))},[e]),t?`radix-${t}`:""}const $E=["top","right","bottom","left"],Ir=Math.min,pt=Math.max,da=Math.round,ml=Math.floor,xn=e=>({x:e,y:e}
vendor: 10,353 bytes, line 151
151),GE={left:"right",right:"left",bottom:"top",top:"bottom"},HE={start:"end",end:"start"};function qu(e,t,n){return pt(e,Ir(t,n))}function Wn(e,t){return typeof e=="function"?e(t):e}function Vn(e){return e.split("-")[0]}function bs(e){return e.split("-")[1]}function Pf(e){return e==="x"?"y":"x"}function Tf(e){return e==="y"?"height":"width"}const WE=new Set(["top","bottom"]);function gn(e){return WE.has(Vn(e))?"y":"x"}function Rf(e){return Pf(gn(e))}function VE(e,t,n){n===void 0&&(n=!1);const r=bs(e),o=Rf(e),s=Tf(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=fa(i)),[i,fa(i)]}function QE(e){const t=fa(e);return[Xu(e),t,Xu(t)]}function Xu(e){return e.replace(/start|end/g,t=>HE[t])}const Pp=["left","right"],Tp=["right","left"],KE=["top","bottom"],YE=["bottom","top"];function qE(e,t,n){switch(e){case"top":case"bottom":return n?t?Tp:Pp:t?Pp:Tp;case"left":case"right":return t?KE:YE;default:return[]}}function XE(e,t,n,r){const o=bs(e);let s=qE(Vn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Xu)))),s}function fa(e){return e.replace(/left|right|bottom|top/g,t=>GE[t])}function JE(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ay(e){return typeof e!="number"?JE(e):{top:e,right:e,bottom:e,left:e}}function ha(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Rp(e,t,n){let{reference:r,floating:o}=e;const s=gn(t),i=Rf(t),l=Tf(i),c=Vn(t),u=s==="y",f=r.x+r.width/2-o.width/2,h=r.y+r.height/2-o.height/2,g=r[l]/2-o[l]/2;let p;switch(c){case"top":p={x:f,y:r.y-o.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:h};break;case"left":p={x:r.x-o.width,y:h};break;default:p={x:r.x,y:r.y}}switch(bs(t)){case"start":p[i]-=g*(n&&u?-1:1);break;case"end":p[i]+=g*(n&&u?-1:1);break}return p}const ZE=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:h}=Rp(u,r,c),g=r,p={},C=0;for(let x=0;x<l.length;x++){const{name:b,fn:v}=l[x],{x:m,y,data:E,reset:S}=await v({x:f,y:h,initialPlacement:r,placement:g,strategy:o,middlewareData:p,rects:u,platform:i,elements:{reference:e,floating:t}});f=m??f,h=y??h,p={...p,[b]:{...p[b],...E}},S&&C<=50&&(C++,typeof S=="object"&&(S.placement&&(g=S.placement),S.rects&&(u=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:f,y:h}=Rp(u,g,c)),x=-1)}return{x:f,y:h,placement:g,strategy:o,middlewareData:p}};async function wi(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:p=0}=Wn(t,e),C=Ay(p),b=l[g?h==="floating"?"reference":"floating":h],v=ha(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:f,strategy:c})),m=h==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),E=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},S=ha(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:m,offsetParent:y,strategy:c}):m);return{top:(v.top-S.top+C.top)/E.y,bottom:(S.bottom-v.bottom+C.bottom)/E.y,left:(v.left-S.left+C.left)/E.x,right:(S.right-v.right+C.right)/E.x}}const eN=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:l,middlewareData:c}=t,{element:u,padding:f=0}=Wn(e,t)||{};if(u==null)return{};const h=Ay(f),g={x:n,y:r},p=Rf(o),C=Tf(p),x=await i.getDimensions(u),b=p==="y",v=b?"top":"left",m=b?"bottom":"right",y=b?"clientHeight":"clientWidth",E=s.reference[C]+s.reference[p]-g[p]-s.floating[C],S=g[p]-s.reference[p],A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let j=A?A[y]:0;(!j||!await(i.isElement==null?void 0:i.isElement(A)))&&(j=l.floating[y]||s.floating[C]);const I=E/2-S/2,F=j/2-x[C]/2-1,D=Ir(h[v],F),V=Ir(h[m],F),G=D,te=j-x[C]-V,$=j/2-x[C]/2+I,Z=qu(G,$,te),Q=!c.arrow&&bs(o)!=null&&$!==Z&&s.reference[C]/2-($<G?D:V)-x[C]/2<0,q=Q?$<G?$-G:$-te:0;return{[p]:g[p]+q,data:{[p]:Z,centerOffset:$-Z-q,...Q&&{alignmentOffset:q}},reset:Q}}}),tN=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:x=!0,...b}=Wn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const v=Vn(o),m=gn(l),y=Vn(l)===l,E=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=g||(y||!x?[fa(l)]:QE(l)),A=C!=="none";!g&&A&&S.push(...XE(l,x,C,E));const j=[l,...S],I=await wi(t,b),F=[];let D=((r=s.flip)==null?void 0:r.overflows)||[];if(f&&F.push(I[v]),h){const $=VE(o,i,E);F.push(I[$[0]],I[$[1]])}if(D=[...D,{placement:o,overflows:F}],!F.every($=>$<=0)){var V,G;const $=(((V=s.flip)==null?void 0:V.index)||0)+1,Z=j[$];if(Z&&(!(h==="alignment"?m!==gn(Z):!1)||D.every(P=>P.overflows[0]>0&&gn(P.placement)===m)))return{data:{index:$,overflows:D},reset:{placement:Z}};let Q=(G=D.filter(q=>q.overflows[0]<=0).sort((q,P)=>q.overflows[1]-P.overflows[1])[0])==null?void 0:G.placement;if(!Q)switch(p){case"bestFit":{var te;const q=(te=D.filter(P=>{if(A){const T=gn(P.placement);return T===m||T==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(T=>T>0).reduce((T,R)=>T+R,0)]).sort((P,T)=>P[1]-T[1])[0])==null?void 0:te[0];q&&(Q=q);break}case"initialPlacement":Q=l;break}if(o!==Q)return{reset:{placement:Q}}}return{}}}};function Ip(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Lp(e){return $E.some(t=>e[t]>=0)}const nN=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Wn(e,t);switch(r){case"referenceHidden":{const s=await wi(t,{...o,elementContext:"reference"}),i=Ip(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Lp(i)}}}case"escaped":{const s=await wi(t,{...o,altBoundary:!0}),i=Ip(s,n.floating);return{data:{escapedOffsets:i,escaped:Lp(i)}}}default:return{}}}}},jy=new Set(["left","top"]);async function rN(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Vn(n),l=bs(n),c=gn(n)==="y",u=jy.has(i)?-1:1,f=s&&c?-1:1,h=Wn(t,e);let{mainAxis:g,crossAxis:p,alignmentAxis:C}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof C=="number"&&(p=l==="end"?C*-1:C),c?{x:p*f,y:g*u}:{x:g*u,y:p*f}}const oN=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:l}=t,c=await rN(t,e);return i===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},sN=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:b=>{let{x:v,y:m}=b;return{x:v,y:m}}},...c}=Wn(e,t),u={x:n,y:r},f=await wi(t,c),h=gn(Vn(o)),g=Pf(h);let p=u[g],C=u[h];if(s){const b=g==="y"?"top":"left",v=g==="y"?"bottom":"right",m=p+f[b],y=p-f[v];p=qu(m,p,y)}if(i){const b=h==="y"?"top":"left",v=h==="y"?"bottom":"right",m=C+f[b],y=C-f[v];C=qu(m,C,y)}const x=l.fn({...t,[g]:p,[h]:C});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[g]:s,[h]:i}}}}}},iN=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=Wn(e,t),f={x:n,y:r},h=gn(o),g=Pf(h);let p=f[g],C=f[h];const x=Wn(l,t),b=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){const y=g==="y"?"height":"width",E=s.reference[g]-s.floating[y]+b.mainAxis,S=s.reference[g]+s.reference[y]-b.mainAxis;p<E?p=E:p>S&&(p=S)}if(u){var v,m;const y=g==="y"?"width":"height",E=jy.has(Vn(o)),S=s.reference[h]-s.floating[y]+(E&&((v=i.offset)==null?void 0:v[h])||0)+(E?0:b.crossAxis),A=s.reference[h]+s.reference[y]+(E?0:((m=i.offset)==null?void 0:m[h])||0)-(E?b.crossAxis:0);C<S?C=S:C>A&&(C=A)}return{[g]:p,[h]:C}}}},lN=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:l}=t,{apply:c=()=>{},...u}=Wn(e,t),f=await wi(t,u),h=Vn(o),g=bs(o),p=gn(o)==="y",{width:C,height:x}=s.floating;let b,v;h==="top"||h==="bottom"?(b=h,v=g===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(v=h,b=g==="end"?"top":"bottom");const m=x-f.top-f.bottom,y=C-f.left-f.right,E=Ir(x-f[b],m),S=Ir(C-f[v],y),A=!t.middlewareData.shift;let j=E,I=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(j=m),A&&!g){const D=pt(f.left,0),V=pt(f.right,0),G=pt(f.top,0),te=pt(f.bottom,0);p?I=C-2*(D!==0||V!==0?D+V:pt(f.left,f.right)):j=x-2*(G!==0||te!==0?G+te:pt(f.top,f.bottom))}await c({...t,availableWidth:I,availableHeight:j});const F=await i.getDimensions(l.floating);return C!==F.width||x!==F.height?{reset:{rects:!0}}:{}}}};function Ha(){return typeof window<"u"}function Cs(e){return Py(e)?(e.nodeName||"").toLowerCase():"#document"}function vt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Cn(e){var t;return(t=(Py(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Py(e){return Ha()?e instanceof Node||e instanceof vt(e).Node:!1}function rn(e){return Ha()?e instanceof Element||e instanceof vt(e).Element:!1}function bn(e){return Ha()?e instanceof HTMLElement||e instanceof vt(e).HTMLElement:!1}function Op(e){return!Ha()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof vt(e).ShadowRoot}const aN=new Set(["inline","contents"]);function Gi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=on(e);
vendor: 4,121 bytes, line 151
151return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!aN.has(o)}const cN=new Set(["table","td","th"]);function uN(e){return cN.has(Cs(e))}const dN=[":popover-open",":modal"];function Wa(e){return dN.some(t=>{try{return e.matches(t)}catch{return!1}})}const fN=["transform","translate","scale","rotate","perspective"],hN=["transform","translate","scale","rotate","perspective","filter"],pN=["paint","layout","strict","content"];function If(e){const t=Lf(),n=rn(e)?on(e):e;return fN.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||hN.some(r=>(n.willChange||"").includes(r))||pN.some(r=>(n.contain||"").includes(r))}function mN(e){let t=Lr(e);for(;bn(t)&&!ps(t);){if(If(t))return t;if(Wa(t))return null;t=Lr(t)}return null}function Lf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const gN=new Set(["html","body","#document"]);function ps(e){return gN.has(Cs(e))}function on(e){return vt(e).getComputedStyle(e)}function Va(e){return rn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Lr(e){if(Cs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Op(e)&&e.host||Cn(e);return Op(t)?t.host:t}function Ty(e){const t=Lr(e);return ps(t)?e.ownerDocument?e.ownerDocument.body:e.body:bn(t)&&Gi(t)?t:Ty(t)}function bi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Ty(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=vt(o);if(s){const l=Ju(i);return t.concat(i,i.visualViewport||[],Gi(o)?o:[],l&&n?bi(l):[])}return t.concat(o,bi(o,[],n))}function Ju(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ry(e){const t=on(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=bn(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=da(n)!==s||da(r)!==i;return l&&(n=s,r=i),{width:n,height:r,$:l}}function Of(e){return rn(e)?e:e.contextElement}function Wo(e){const t=Of(e);if(!bn(t))return xn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Ry(t);let i=(s?da(n.width):n.width)/r,l=(s?da(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const vN=xn(0);function Iy(e){const t=vt(e);return!Lf()||!t.visualViewport?vN:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function yN(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==vt(e)?!1:t}function ho(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Of(e);let i=xn(1);t&&(r?rn(r)&&(i=Wo(r)):i=Wo(e));const l=yN(s,n,r)?Iy(s):xn(0);let c=(o.left+l.x)/i.x,u=(o.top+l.y)/i.y,f=o.width/i.x,h=o.height/i.y;if(s){const g=vt(s),p=r&&rn(r)?vt(r):r;let C=g,x=Ju(C);for(;x&&r&&p!==C;){const b=Wo(x),v=x.getBoundingClientRect(),m=on(x),y=v.left+(x.clientLeft+parseFloat(m.paddingLeft))*b.x,E=v.top+(x.clientTop+parseFloat(m.paddingTop))*b.y;c*=b.x,u*=b.y,f*=b.x,h*=b.y,c+=y,u+=E,C=vt(x),x=Ju(C)}}return ha({width:f,height:h,x:c,y:u})}function _f(e,t){const n=Va(e).scrollLeft;return t?t.left+n:ho(Cn(e)).left+n}function Ly(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:_f(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function xN(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=Cn(r),l=t?Wa(t.floating):!1;if(r===i||l&&s)return n;let c={scrollLeft:0,scrollTop:0},u=xn(1);const f=xn(0),h=bn(r);if((h||!h&&!s)&&((Cs(r)!=="body"||Gi(i))&&(c=Va(r)),bn(r))){const p=ho(r);u=Wo(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}const g=i&&!h&&!s?Ly(i,c,!0):xn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+f.x+g.x,y:n.y*u.y-c.scrollTop*u.y+f.y+g.y}}function wN(e){return Array.from(e.getClientRects())}function bN(e){const t=Cn(e),n=Va(e),r=e.ownerDocument.body,o=pt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=pt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+_f(e);const l=-n.scrollTop;return on(r).direction==="rtl"&&(i+=pt(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:l}}
vendor: 10,104 bytes, line 151
151function CN(e,t){const n=vt(e),r=Cn(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,l=0,c=0;if(o){s=o.width,i=o.height;const u=Lf();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:s,height:i,x:l,y:c}}const EN=new Set(["absolute","fixed"]);function NN(e,t){const n=ho(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=bn(e)?Wo(e):xn(1),i=e.clientWidth*s.x,l=e.clientHeight*s.y,c=o*s.x,u=r*s.y;return{width:i,height:l,x:c,y:u}}function _p(e,t,n){let r;if(t==="viewport")r=CN(e,n);else if(t==="document")r=bN(Cn(e));else if(rn(t))r=NN(t,n);else{const o=Iy(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ha(r)}function Oy(e,t){const n=Lr(e);return n===t||!rn(n)||ps(n)?!1:on(n).position==="fixed"||Oy(n,t)}function SN(e,t){const n=t.get(e);if(n)return n;let r=bi(e,[],!1).filter(l=>rn(l)&&Cs(l)!=="body"),o=null;const s=on(e).position==="fixed";let i=s?Lr(e):e;for(;rn(i)&&!ps(i);){const l=on(i),c=If(i);!c&&l.position==="fixed"&&(o=null),(s?!c&&!o:!c&&l.position==="static"&&!!o&&EN.has(o.position)||Gi(i)&&!c&&Oy(e,i))?r=r.filter(f=>f!==i):o=l,i=Lr(i)}return t.set(e,r),r}function kN(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Wa(t)?[]:SN(t,this._c):[].concat(n),r],l=i[0],c=i.reduce((u,f)=>{const h=_p(t,f,o);return u.top=pt(h.top,u.top),u.right=Ir(h.right,u.right),u.bottom=Ir(h.bottom,u.bottom),u.left=pt(h.left,u.left),u},_p(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function AN(e){const{width:t,height:n}=Ry(e);return{width:t,height:n}}function jN(e,t,n){const r=bn(t),o=Cn(t),s=n==="fixed",i=ho(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const c=xn(0);function u(){c.x=_f(o)}if(r||!r&&!s)if((Cs(t)!=="body"||Gi(o))&&(l=Va(t)),r){const p=ho(t,!0,s,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else o&&u();s&&!r&&o&&u();const f=o&&!r&&!s?Ly(o,l):xn(0),h=i.left+l.scrollLeft-c.x-f.x,g=i.top+l.scrollTop-c.y-f.y;return{x:h,y:g,width:i.width,height:i.height}}function Fc(e){return on(e).position==="static"}function Dp(e,t){if(!bn(e)||on(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Cn(e)===n&&(n=n.ownerDocument.body),n}function _y(e,t){const n=vt(e);if(Wa(e))return n;if(!bn(e)){let o=Lr(e);for(;o&&!ps(o);){if(rn(o)&&!Fc(o))return o;o=Lr(o)}return n}let r=Dp(e,t);for(;r&&uN(r)&&Fc(r);)r=Dp(r,t);return r&&ps(r)&&Fc(r)&&!If(r)?n:r||mN(e)||n}const PN=async function(e){const t=this.getOffsetParent||_y,n=this.getDimensions,r=await n(e.floating);return{reference:jN(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function TN(e){return on(e).direction==="rtl"}const RN={convertOffsetParentRelativeRectToViewportRelativeRect:xN,getDocumentElement:Cn,getClippingRect:kN,getOffsetParent:_y,getElementRects:PN,getClientRects:wN,getDimensions:AN,getScale:Wo,isElement:rn,isRTL:TN};function Dy(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function IN(e,t){let n=null,r;const o=Cn(e);function s(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function i(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const u=e.getBoundingClientRect(),{left:f,top:h,width:g,height:p}=u;if(l||t(),!g||!p)return;const C=ml(h),x=ml(o.clientWidth-(f+g)),b=ml(o.clientHeight-(h+p)),v=ml(f),y={rootMargin:-C+"px "+-x+"px "+-b+"px "+-v+"px",threshold:pt(0,Ir(1,c))||1};let E=!0;function S(A){const j=A[0].intersectionRatio;if(j!==c){if(!E)return i();j?i(!1,j):r=setTimeout(()=>{i(!1,1e-7)},1e3)}j===1&&!Dy(u,e.getBoundingClientRect())&&i(),E=!1}try{n=new IntersectionObserver(S,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return i(!0),s}function LN(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Of(e),f=o||s?[...u?bi(u):[],...bi(t)]:[];f.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),s&&v.addEventListener("resize",n)});const h=u&&l?IN(u,n):null;let g=-1,p=null;i&&(p=new ResizeObserver(v=>{let[m]=v;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),n()}),u&&!c&&p.observe(u),p.observe(t));let C,x=c?ho(e):null;c&&b();function b(){const v=ho(e);x&&!Dy(x,v)&&n(),x=v,C=requestAnimationFrame(b)}return n(),()=>{var v;f.forEach(m=>{o&&m.removeEventListener("scroll",n),s&&m.removeEventListener("resize",n)}),h==null||h(),(v=p)==null||v.disconnect(),p=null,c&&cancelAnimationFrame(C)}}const ON=oN,_N=sN,DN=tN,MN=lN,FN=nN,Mp=eN,zN=iN,BN=(e,t,n)=>{const r=new Map,o={platform:RN,...n},s={...o.platform,_c:r};return ZE(e,t,{...o,platform:s})};var UN=typeof document<"u",$N=function(){},Il=UN?w.useLayoutEffect:$N;function pa(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 n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!pa(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!pa(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function My(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fp(e,t){const n=My(e);return Math.round(t*n)/n}function zc(e){const t=w.useRef(e);return Il(()=>{t.current=e}),t}function GN(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[f,h]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,p]=w.useState(r);pa(g,r)||p(r);const[C,x]=w.useState(null),[b,v]=w.useState(null),m=w.useCallback(P=>{P!==A.current&&(A.current=P,x(P))},[]),y=w.useCallback(P=>{P!==j.current&&(j.current=P,v(P))},[]),E=s||C,S=i||b,A=w.useRef(null),j=w.useRef(null),I=w.useRef(f),F=c!=null,D=zc(c),V=zc(o),G=zc(u),te=w.useCallback(()=>{if(!A.current||!j.current)return;const P={placement:t,strategy:n,middleware:g};V.current&&(P.platform=V.current),BN(A.current,j.current,P).then(T=>{const R={...T,isPositioned:G.current!==!1};$.current&&!pa(I.current,R)&&(I.current=R,Ui.flushSync(()=>{h(R)}))})},[g,t,n,V,G]);Il(()=>{u===!1&&I.current.isPositioned&&(I.current.isPositioned=!1,h(P=>({...P,isPositioned:!1})))},[u]);const $=w.useRef(!1);Il(()=>($.current=!0,()=>{$.current=!1}),[]),Il(()=>{if(E&&(A.current=E),S&&(j.current=S),E&&S){if(D.current)return D.current(E,S,te);te()}},[E,S,te,D,F]);const Z=w.useMemo(()=>({reference:A,floating:j,setReference:m,setFloating:y}),[m,y]),Q=w.useMemo(()=>({reference:E,floating:S}),[E,S]),q=w.useMemo(()=>{const P={position:n,left:0,top:0};if(!Q.floating)return P;const T=Fp(Q.floating,f.x),R=Fp(Q.floating,f.y);return l?{...P,transform:"translate("+T+"px, "+R+"px)",...My(Q.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:T,top:R}},[n,l,Q.floating,f.x,f.y]);return w.useMemo(()=>({...f,update:te,refs:Z,elements:Q,floatingStyles:q}),[f,te,Z,Q,q])}const HN=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Mp({element:r.current,padding:o}).fn(n):{}:r?Mp({element:r,padding:o}).fn(n):{}}}},WN=(e,t)=>({...ON(e),options:[e,t]}),VN=(e,t)=>({..._N(e),options:[e,t]}),QN=(e,t)=>({...zN(e),options:[e,t]}),KN=(e,t)=>({...DN(e),options:[e,t]}),YN=(e,t)=>({...MN(e),options:[e,t]}),qN=(e,t)=>({...FN(e),options:[e,t]}),XN=(e,t)=>({...HN(e),options:[e,t]});var JN="Arrow",Fy=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return a.jsx(_e.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});Fy.displayName=JN;var ZN=Fy;function e2(e){const[t,n]=w.useState(void 0);return wn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,l;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,l=u.blockSize}else i=e.offsetWidth,l=e.offsetHeight;n({width:i,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var zy="Popper",[By,Uy]=xs(zy),[YA,$y]=By(zy),Gy="PopperAnchor",Hy=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=$y(Gy,n),i=w.useRef(null),l=xt(t,i);return w.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:a.jsx(_e.div,{...o,ref:l})});Hy.displayName=Gy;var Df="PopperContent",[t2,n2]=By(Df),Wy=w.forwardRef((e,t)=>{var ne,En,Ot,ln,_t,Nn;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:g=!1,updatePositionStrategy:p="optimized",onPlaced:C,...x}=e,b=$y(Df,n),[v,m]=w.useState(null),y=xt(t,Kn=>m(Kn)),[E,S]=w.useState(null),A=e2(E),j=(A==null?void 0:A.width)??0,I=(A==null?void 0:A.height)??0,F=r+(s!=="center"?"-"+s:""),D=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},V=Array.isArray(u)?u:[u],G=V.length>0,te={padding:D,boundary:V.filter(o2),altBoundary:G},{refs:$,floatingStyles:Z,placement:Q,isPositioned:q,middlewareData:P}=GN({strategy:"fixed",placement:F,whileElementsMounted:(...Kn)=>LN(...Kn,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[WN({mainAxis:o+I,alignmentAxis:i}),c&&VN({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?QN():void 0,...te}),c&&KN({...te}),YN({...te,apply:({elements:Kn,rects:Wi,availableWidth:rc,availableHeight:Vi})=>{const{width:oc,height:Es}=Wi.reference,go=Kn.floating.style;go.setProperty("--radix-popper-available-width",`${rc}px`),go.setProperty("--radix-popper-available-height",`${Vi}px`),go.setProperty("--radix-popper-anchor-width",`${oc}
151px`),go.setProperty("--radix-popper-anchor-height",`${Es}px`)}}),E&&XN({element:E,padding:l}),s2({arrowWidth:j,arrowHeight:I}),g&&qN({strategy:"referenceHidden",...te})]}),[T,R]=Ky(Q),B=Rr(C);wn(()=>{q&&(B==null||B())},[q,B]);const z=(ne=P.arrow)==null?void 0:ne.x,W=(En=P.arrow)==null?void 0:En.y,K=((Ot=P.arrow)==null?void 0:Ot.centerOffset)!==0,[de,Ae]=w.useState();return wn(()=>{v&&Ae(window.getComputedStyle(v).zIndex)},[v]),a.jsx("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:q?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:de,"--radix-popper-transform-origin":[(ln=P.transformOrigin)==null?void 0:ln.x,(_t=P.transformOrigin)==null?void 0:_t.y].join(" "),...((Nn=P.hide)==null?void 0:Nn.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(t2,{scope:n,placedSide:T,onArrowChange:S,arrowX:z,arrowY:W,shouldHideArrow:K,children:a.jsx(_e.div,{"data-side":T,"data-align":R,...x,ref:y,style:{...x.style,animation:q?void 0:"none"}})})})});Wy.displayName=Df;var Vy="PopperArrow",r2={top:"bottom",right:"left",bottom:"top",left:"right"},Qy=w.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=n2(Vy,r),i=r2[s.placedSide];return a.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:a.jsx(ZN,{...o,ref:n,style:{...o.style,display:"block"}})})});Qy.displayName=Vy;function o2(e){return e!==null}var s2=e=>({name:"transformOrigin",options:e,fn(t){var b,v,m;const{placement:n,rects:r,middlewareData:o}=t,i=((b=o.arrow)==null?void 0:b.centerOffset)!==0,l=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,f]=Ky(n),h={start:"0%",center:"50%",end:"100%"}[f],g=(((v=o.arrow)==null?void 0:v.x)??0)+l/2,p=(((m=o.arrow)==null?void 0:m.y)??0)+c/2;let C="",x="";return u==="bottom"?(C=i?h:`${g}px`,x=`${-c}px`):u==="top"?(C=i?h:`${g}px`,x=`${r.floating.height+c}px`):u==="right"?(C=`${-c}px`,x=i?h:`${p}px`):u==="left"&&(C=`${r.floating.width+c}px`,x=i?h:`${p}px`),{data:{x:C,y:x}}}});function Ky(e){const[t,n="center"]=e.split("-");return[t,n]}var i2=Hy,l2=Wy,a2=Qy,[Qa,qA]=xs("Tooltip",[Uy]),Mf=Uy(),Yy="TooltipProvider",c2=700,zp="tooltip.open",[u2,qy]=Qa(Yy),Xy=e=>{const{__scopeTooltip:t,delayDuration:n=c2,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,i=w.useRef(!0),l=w.useRef(!1),c=w.useRef(0);return w.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),a.jsx(u2,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(c.current),i.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:w.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:s})};Xy.displayName=Yy;var Jy="Tooltip",[XA,Ka]=Qa(Jy),Zu="TooltipTrigger",d2=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Ka(Zu,n),s=qy(Zu,n),i=Mf(n),l=w.useRef(null),c=xt(t,l,o.onTriggerChange),u=w.useRef(!1),f=w.useRef(!1),h=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),a.jsx(i2,{asChild:!0,...i,children:a.jsx(_e.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:Te(e.onPointerMove,g=>{g.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:Te(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:Te(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:Te(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Te(e.onBlur,o.onClose),onClick:Te(e.onClick,o.onClose)})})});d2.displayName=Zu;var f2="TooltipPortal",[JA,h2]=Qa(f2,{forceMount:void 0}),ms="TooltipContent",Zy=w.forwardRef((e,t)=>
vendor: 4,632 bytes, line 151
151{const n=h2(ms,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,i=Ka(ms,e.__scopeTooltip);return a.jsx(Ba,{present:r||i.open,children:i.disableHoverableContent?a.jsx(e0,{side:o,...s,ref:t}):a.jsx(p2,{side:o,...s,ref:t})})}),p2=w.forwardRef((e,t)=>{const n=Ka(ms,e.__scopeTooltip),r=qy(ms,e.__scopeTooltip),o=w.useRef(null),s=xt(t,o),[i,l]=w.useState(null),{trigger:c,onClose:u}=n,f=o.current,{onPointerInTransitChange:h}=r,g=w.useCallback(()=>{l(null),h(!1)},[h]),p=w.useCallback((C,x)=>{const b=C.currentTarget,v={x:C.clientX,y:C.clientY},m=x2(v,b.getBoundingClientRect()),y=w2(v,m),E=b2(x.getBoundingClientRect()),S=E2([...y,...E]);l(S),h(!0)},[h]);return w.useEffect(()=>()=>g(),[g]),w.useEffect(()=>{if(c&&f){const C=b=>p(b,f),x=b=>p(b,c);return c.addEventListener("pointerleave",C),f.addEventListener("pointerleave",x),()=>{c.removeEventListener("pointerleave",C),f.removeEventListener("pointerleave",x)}}},[c,f,p,g]),w.useEffect(()=>{if(i){const C=x=>{const b=x.target,v={x:x.clientX,y:x.clientY},m=(c==null?void 0:c.contains(b))||(f==null?void 0:f.contains(b)),y=!C2(v,i);m?g():y&&(g(),u())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[c,f,i,u,g]),a.jsx(e0,{...e,ref:s})}),[m2,g2]=Qa(Jy,{isInside:!1}),v2=Tb("TooltipContent"),e0=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...l}=e,c=Ka(ms,n),u=Mf(n),{onClose:f}=c;return w.useEffect(()=>(document.addEventListener(zp,f),()=>document.removeEventListener(zp,f)),[f]),w.useEffect(()=>{if(c.trigger){const h=g=>{const p=g.target;p!=null&&p.contains(c.trigger)&&f()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[c.trigger,f]),a.jsx(Ef,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:h=>h.preventDefault(),onDismiss:f,children:a.jsxs(l2,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.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:[a.jsx(v2,{children:r}),a.jsx(m2,{scope:n,isInside:!0,children:a.jsx(Zb,{id:c.contentId,role:"tooltip",children:o||r})})]})})});Zy.displayName=ms;var t0="TooltipArrow",y2=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Mf(n);return g2(t0,n).isInside?null:a.jsx(a2,{...o,...r,ref:t})});y2.displayName=t0;function x2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function w2(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function b2(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function C2(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const l=t[s],c=t[i],u=l.x,f=l.y,h=c.x,g=c.y;f>r!=g>r&&n<(h-u)*(r-f)/(g-f)+u&&(o=!o)}return o}function E2(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),N2(t)}function N2(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 s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var S2=Xy,n0=Zy;const k2=S2,A2=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>a.jsx(n0,{ref:r,sideOffset:t,className:ze("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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]:sli
151de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));A2.displayName=n0.displayName;var Ya=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(){}},qa=typeof window>"u"||"Deno"in globalThis;function Gt(){}function j2(e,t){return typeof e=="function"?e(t):e}function P2(e){return typeof e=="number"&&e>=0&&e!==1/0}function T2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ed(e,t){return typeof e=="function"?e(t):e}function R2(e,t){return typeof e=="function"?e(t):e}function Bp(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:l}=e;if(i){if(r){if(t.queryHash!==Ff(i,t.options))return!1}else if(!Ei(t.queryKey,i))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||s&&!s(t))}function Up(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;
vendor: 22,230 bytes, line 151
151if(n){if(Ci(t.options.mutationKey)!==Ci(s))return!1}else if(!Ei(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Ff(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ci)(e)}function Ci(e){return JSON.stringify(e,(t,n)=>td(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ei(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ei(e[n],t[n])):!1}function r0(e,t){if(e===t)return e;const n=$p(e)&&$p(t);if(n||td(e)&&td(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,l=n?[]:{},c=new Set(r);let u=0;for(let f=0;f<i;f++){const h=n?f:s[f];(!n&&c.has(h)||n)&&e[h]===void 0&&t[h]===void 0?(l[h]=void 0,u++):(l[h]=r0(e[h],t[h]),l[h]===e[h]&&e[h]!==void 0&&u++)}return o===i&&u===o?e:l}return t}function $p(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function td(e){if(!Gp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Gp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Gp(e){return Object.prototype.toString.call(e)==="[object Object]"}function I2(e){return new Promise(t=>{setTimeout(t,e)})}function L2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?r0(e,t):t}function O2(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function _2(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var zf=Symbol();function o0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===zf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Qr,ur,Qo,hm,D2=(hm=class extends Ya{constructor(){super();M(this,Qr);M(this,ur);M(this,Qo);L(this,Qo,t=>{if(!qa&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){d(this,ur)||this.setEventListener(d(this,Qo))}onUnsubscribe(){var t;this.hasListeners()||((t=d(this,ur))==null||t.call(this),L(this,ur,void 0))}setEventListener(t){var n;L(this,Qo,t),(n=d(this,ur))==null||n.call(this),L(this,ur,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){d(this,Qr)!==t&&(L(this,Qr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof d(this,Qr)=="boolean"?d(this,Qr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Qr=new WeakMap,ur=new WeakMap,Qo=new WeakMap,hm),s0=new D2,Ko,dr,Yo,pm,M2=(pm=class extends Ya{constructor(){super();M(this,Ko,!0);M(this,dr);M(this,Yo);L(this,Yo,t=>{if(!qa&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){d(this,dr)||this.setEventListener(d(this,Yo))}onUnsubscribe(){var t;this.hasListeners()||((t=d(this,dr))==null||t.call(this),L(this,dr,void 0))}setEventListener(t){var n;L(this,Yo,t),(n=d(this,dr))==null||n.call(this),L(this,dr,t(this.setOnline.bind(this)))}setOnline(t){d(this,Ko)!==t&&(L(this,Ko,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return d(this,Ko)}},Ko=new WeakMap,dr=new WeakMap,Yo=new WeakMap,pm),ma=new M2;function F2(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function z2(e){return Math.min(1e3*2**e,3e4)}function i0(e){return(e??"online")==="online"?ma.isOnline():!0}var l0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Bc(e){return e instanceof l0}function a0(e){let t=!1,n=0,r=!1,o;const s=F2(),i=x=>{var b;r||(g(new l0(x)),(b=e.abort)==null||b.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>s0.isFocused()&&(e.networkMode==="always"||ma.isOnline())&&e.canRun(),f=()=>i0(e.networkMode)&&e.canRun(),h=x=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,x),o==null||o(),s.resolve(x))},g=x=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,x),o==null||o(),s.reject(x))},p=()=>new Promise(x=>{var b;o=v=>{(r||u())&&x(v)},(b=e.onPause)==null||b.call(e)}).then(()=>{var x;o=void 0,r||(x=e.onContinue)==null||x.call(e)}),C=()=>{if(r)return;let x;const b=n===0?e.initialPromise:void 0;try{x=b??e.fn()}catch(v){x=Promise.reject(v)}Promise.resolve(x).then(h).catch(v=>{var A;if(r)return;const m=e.retry??(qa?0:3),y=e.retryDelay??z2,E=typeof y=="function"?y(n,v):y,S=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,v);if(t||!S){g(v);return}n++,(A=e.onFail)==null||A.call(e,n,v),I2(E).then(()=>u()?void 0:p()).then(()=>{t?g(v):C()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:l,continueRetry:c,canStart:f,start:()=>(f()?C():p().then(C),s)}}var B2=e=>setTimeout(e,0);function U2(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=B2;const s=l=>{t?e.push(l):o(()=>{n(l)})},i=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||i()}return c},batchCalls:l=>(...c)=>{s(()=>{l(...c)})},schedule:s,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var Ze=U2(),Kr,mm,c0=(mm=class{constructor(){M(this,Kr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),P2(this.gcTime)&&L(this,Kr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(qa?1/0:5*60*1e3))}clearGcTimeout(){d(this,Kr)&&(clearTimeout(d(this,Kr)),L(this,Kr,void 0))}},Kr=new WeakMap,mm),qo,Yr,Nt,qr,Ve,Ni,Xr,Ht,kn,gm,$2=(gm=class extends c0{constructor(t){super();M(this,Ht);M(this,qo);M(this,Yr);M(this,Nt);M(this,qr);M(this,Ve);M(this,Ni);M(this,Xr);L(this,Xr,!1),L(this,Ni,t.defaultOptions),this.setOptions(t.options),this.observers=[],L(this,qr,t.client),L(this,Nt,d(this,qr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,L(this,qo,H2(this.options)),this.state=t.state??d(this,qo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=d(this,Ve))==null?void 0:t.promise}setOptions(t){this.options={...d(this,Ni),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&d(this,Nt).remove(this)}setData(t,n){const r=L2(this.state.data,t,this.options);return N(this,Ht,kn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){N(this,Ht,kn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=d(this,Ve))==null?void 0:r.promise;return(o=d(this,Ve))==null||o.cancel(t),n?n.then(Gt).catch(Gt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(d(this,qo))}isActive(){return this.observers.some(t=>R2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===zf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ed(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!T2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=d(this,Ve))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=d(this,Ve))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),d(this,Nt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(d(this,Ve)&&(d(this,Xr)?d(this,Ve).cancel({revert:!0}):d(this,Ve).cancelRetry()),this.scheduleGc()),d(this,Nt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||N(this,Ht,kn).call(this,{type:"invalidate"})}fetch(t,n){var u,f,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(d(this,Ve))return d(this,Ve).continueRetry(),d(this,Ve).promise}if(t&&this.setOptions(t),!this.options.queryFn){const g=this.observers.find(p=>p.options.queryFn);g&&this.setOptions(g.options)}const r=new AbortController,o=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(L(this,Xr,!0),r.signal)})},s=()=>{const g=o0(this.options,n),C=(()=>{const x={client:d(this,qr),queryKey:this.queryKey,meta:this.meta};return o(x),x})();return L(this,Xr,!1),this.options.persister?this.options.persister(g,C,this):g(C)},l=(()=>{const g={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:d(this,qr),state:this.state,fetchFn:s};return o(g),g})();(u=this.options.behavior)==null||u.onFetch(l,this),L(this,Yr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((f=l.fetchOptions)==null?void 0:f.meta))&&N(this,Ht,kn).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const c=g=>{var p,C,x,b;Bc(g)&&g.silent||N(this,Ht,kn).call(this,{type:"error",error:g}),Bc(g)||((C=(p=d(this,Nt).config).onError)==null||C.call(p,g,this),(b=(x=d(this,Nt).config).onSettled)==null||b.call(x,this.state.data,g,this)),this.scheduleGc()};return L(this,Ve,a0({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:g=>{var p,C,x,b;if(g===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(g)}catch(v){c(v);return}(C=(p=d(this,Nt).config).onSuccess)==null||C.call(p,g,this),(b=(x=d(this,Nt).config).onSettled)==null||b.call(x,g,this.state.error,this),this.scheduleGc()},onError:c,onFail:(g,p)=>{N(this,Ht,kn).call(this,{type:"failed",failureCount:g,error:p})},onPause:()=>{N(this,Ht,kn).call(this,{type:"pause"})},onContinue:()=>{N(this,Ht,kn).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),d(this,Ve).start()}},qo=new WeakMap,Yr=new WeakMap,Nt=new WeakMap,qr=new WeakMap,Ve=new WeakMap,Ni=new WeakMap,Xr=new WeakMap,Ht=new WeakSet,kn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...G2(r.data,this.options),fetchMeta:t.meta??null};case"success":return L(this,Yr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Bc(o)&&o.revert&&d(this,Yr)?{...d(this,Yr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ze.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),d(this,Nt).notify({query:this,type:"updated",action:t})})},gm);function G2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:i0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function H2(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var un,vm,W2=(vm=class extends Ya{constructor(t={}){super();M(this,un);this.config=t,L(this,un,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Ff(o,n);let i=this.get(s);return i||(i=new $2({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){d(this,un).has(t.queryHash)||(d(this,un).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=d(this,un).get(t.queryHash);n&&(t.destroy(),n===t&&d(this,un).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return d(this,un).get(t)}getAll(){return[...d(this,un).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Bp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Bp(t,r)):n}notify(t){Ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},un=new WeakMap,vm),dn,qe,Jr,fn,tr,ym,V2=(ym=class extends c0{constructor(t){super();M(this,fn);M(this,dn);M(this,qe);M(this,Jr);this.mutationId=t.mutationId,L(this,qe,t.mutationCache),L(this,dn,[]),this.state=t.state||Q2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){d(this,dn).includes(t)||(d(this,dn).push(t),this.clearGcTimeout(),d(this,qe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){L(this,dn,d(this,dn).filter(n=>n!==t)),this.scheduleGc(),d(this,qe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){d(this,dn).length||(this.state.status==="pending"?this.scheduleGc():d(this,qe).remove(this))}continue(){var t;return((t=d(this,Jr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,i,l,c,u,f,h,g,p,C,x,b,v,m,y,E,S,A,j,I;const n=()=>{N(this,fn,tr).call(this,{type:"continue"})};L(this,Jr,a0({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(F,D)=>{N(this,fn,tr).call(this,{type:"failed",failureCount:F,error:D})},onPause:()=>{N(this,fn,tr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>d(this,qe).canRun(this)}));const r=this.state.status==="pending",o=!d(this,Jr).canStart();try{if(r)n();else{N(this,fn,tr).call(this,{type:"pending",variables:t,isPaused:o}),await((i=(s=d(this,qe).config).onMutate)==null?void 0:i.call(s,t,this));const D=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));D!==this.state.context&&N(this,fn,tr).call(this,{type:"pending",context:D,variables:t,isPaused:o})}const F=await d(this,Jr).start();return await((f=(u=d(this,qe).config).onSuccess)==null?void 0:f.call(u,F,t,this.state.context,this)),await((g=(h=this.options).onSuccess)==null?void 0:g.call(h,F,t,this.state.context)),await((C=(p=d(this,qe).config).onSettled)==null?void 0:C.call(p,F,null,this.state.variables,this.state.context,this)),await((b=(x=this.options).onSettled)==null?void 0:b.call(x,F,null,t,this.state.context)),N(this,fn,tr).call(this,{type:"success",data:F}),F}catch(F){try{throw await((m=(v=d(this,qe).config).onError)==null?void 0:m.call(v,F,t,this.state.context,this)),await((E=(y=this.options).onError)==null?void 0:E.call(y,F,t,this.state.context)),await((A=(S=d(this,qe).config).onSettled)==null?void 0:A.call(S,void 0,F,this.state.variables,this.state.context,this)),await((I=(j=this.options).onSettled)==null?void 0:I.call(j,void 0,F,t,this.state.context)),F}finally{N(this,fn,tr).call(this,{type:"error",error:F})}}finally{d(this,qe).runNext(this)}}},dn=new WeakMap,qe=new WeakMap,Jr=new WeakMap,fn=new WeakSet,tr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ze.batch(()=>{d(this,dn).forEach(r=>{r.onMutationUpdate(t)}),d(this,qe).notify({mutation:this,type:"updated",action:t})})},ym);function Q2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Rn,Wt,Si,xm,K2=(xm=class extends Ya{constructor(t={}){super();M(this,Rn);M(this,Wt);M(this,Si);this.config=t,L(this,Rn,new Set),L(this,Wt,new Map),L(this,Si,0)}build(t,n,r){const o=new V2({mutationCache:this,mutationId:++Ki(this,Si)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){d(this,Rn).add(t);const n=gl(t);if(typeof n=="string"){const r=d(this,Wt).get(n);r?r.push(t):d(this,Wt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(d(this,Rn).delete(t)){const n=gl(t);if(typeof n=="string"){const r=d(this,Wt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&d(this,Wt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=gl(t);if(typeof n=="string"){const r=d(this,Wt).get(n),o=r==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=gl(t);if(typeof n=="string"){const o=(r=d(this,Wt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ze.batch(()=>{d(this,Rn).forEach(t=>{this.notify({type:"removed",mutation:t})}),d(this,Rn).clear(),d(this,Wt).clear()})}getAll(){return Array.from(d(this,Rn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Up(n,r))}findAll(t={}){return this.getAll().filter(n=>Up(t,n))}notify(t){Ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(Gt))))}},Rn=new WeakMap,Wt=new WeakMap,Si=new WeakMap,xm);function gl(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Hp(e){return{onFetch:(t,n)=>{var f,h,g,p,C;const r=t.options,o=(g=(h=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:h.fetchMore)==null?void 0:g.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],i=((C=t.state.data)==null?void 0:C.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let x=!1;const b=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?x=!0:t.signal.addEventListener("abort",()=>{x=!0}),t.signal)})},v=o0(t.options,t.fetchOptions),m=async(y,E,S)=>{if(x)return Promise.reject();if(E==null&&y.pages.length)return Promise.resolve(y);const j=(()=>{const V={client:t.client,queryKey:t.queryKey,pageParam:E,direction:S?"backward":"forward",meta:t.options.meta};return b(V),V})(),I=await v(j),{maxPages:F}=t.options,D=S?_2:O2;return{pages:D(y.pages,I,F),pageParams:D(y.pageParams,E,F)}};if(o&&s.length){const y=o==="backward",E=y?Y2:Wp,S={pages:s,pageParams:i},A=E(r,S);l=await m(S,A,y)}else{const y=e??s.length;do{const E=c===0?i[0]??r.initialPageParam:Wp(r,l);if(c>0&&E==null)break;l=await m(l,E),c++}while(c<y)}return l};t.options.persister?t.fetchFn=()=>{var x,b;return(b=(x=t.options).persister)==null?void 0:b.call(x,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Wp(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Y2(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Se,fr,hr,Xo,Jo,pr,Zo,es,wm,q2=(wm=class{constructor(e={}){M(this,Se);M(this,fr);M(this,hr);M(this,Xo);M(this,Jo);M(this,pr);M(this,Zo);M(this,es);L(this,Se,e.queryCache||new W2),L(this,fr,e.mutationCache||new K2),L(this,hr,e.defaultOptions||{}),L(this,Xo,new Map),L(this,Jo,new Map),L(this,pr,0)}mount(){Ki(this,pr)._++,d(this,pr)===1&&(L(this,Zo,s0.subscribe(async e=>{e&&(await this.resumePausedMutations(),d(this,Se).onFocus())})),L(this,es,ma.subscribe(async e=>{e&&(await this.resumePausedMutations(),d(this,Se).onOnline())})))}unmount(){var e,t;Ki(this,pr)._--,d(this,pr)===0&&((e=d(this,Zo))==null||e.call(this),L(this,Zo,void 0),(t=d(this,es))==null||t.call(this),L(this,es,void 0))}isFetching(e){return d(this,Se).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return d(this,fr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=d(this,Se).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=d(this,Se).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ed(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return d(this,Se).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=d(this,Se).get(r.queryHash),s=o==null?void 0:o.state.data,i=j2(t,s);if(i!==void 0)return d(this,Se).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return Ze.batch(()=>d(this,Se).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=d(this,Se).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=d(this,Se);Ze.batch(()=>
151{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=d(this,Se);return Ze.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ze.batch(()=>d(this,Se).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Gt).catch(Gt)}invalidateQueries(e,t={}){return Ze.batch(()=>(d(this,Se).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ze.batch(()=>d(this,Se).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(Gt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Gt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=d(this,Se).build(this,t);return n.isStaleByTime(ed(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Gt).catch(Gt)}fetchInfiniteQuery(e){return e.behavior=Hp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Gt).catch(Gt)}ensureInfiniteQueryData(e){return e.behavior=Hp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ma.isOnline()?d(this,fr).resumePausedMutations():Promise.resolve()}getQueryCache(){return d(this,Se)}getMutationCache(){return d(this,fr)}getDefaultOptions(){return d(this,hr)}setDefaultOptions(e){L(this,hr,e)}setQueryDefaults(e,t){d(this,Xo).set(Ci(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...d(this,Xo).values()],n={};return t.forEach(r=>{Ei(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){d(this,Jo).set(Ci(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...d(this,Jo).values()],n={};return t.forEach(r=>{Ei(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...d(this,hr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Ff(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.queryFn===zf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...d(this,hr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){d(this,Se).clear(),d(this,fr).clear()}},Se=new WeakMap,fr=new WeakMap,hr=new WeakMap,Xo=new WeakMap,Jo=new WeakMap,pr=new WeakMap,Zo=new WeakMap,es=new WeakMap,wm),X2=w.createContext(void 0),J2=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),a.jsx(X2.Provider,{value:e,children:t}));/**
152 * @remix-run/router v1.23.0
153 *
154 * Copyright (c) Remix Software Inc.
155 *
156 * This source code is licensed under the MIT license found in the
157 * LICENSE.md file in the root directory of this source tree.
158 *
159 * @license MIT
160 */function ga(){return ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ga.apply(this,arguments)}var xr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(xr||(xr={}));const Vp="popstate";function Z2(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:l}=r.location;return nd("",{pathname:s,search:i,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:d0(o)}return tS(t,n,null,e)}function dt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function u0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function eS(){return Math.random().toString(36).substr(2,8)}function Qp(e,t){return{usr:e.state,key:e.key,idx:t}}function nd(e,t,n,r){return n===void 0&&(n=null),ga({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Xa(t):t,{state:n,key:t&&t.key||r||eS()})}function d0(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Xa(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function tS(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,l=xr.Pop,c=null,u=f();u==null&&(u=0,i.replaceState(ga({},i.state,{idx:u}),""));function f(){return(i.state||{idx:null}).idx}function h(){l=xr.Pop;let b=f(),v=b==null?null:b-u;u=b,c&&c({action:l,location:x.location,delta:v})}function g(b,v){l=xr.Push;let m=nd(x.location,b,v);u=f()+1;let y=Qp(m,u),E=x.createHref(m);try{i.pushState(y,"",E)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(E)}s&&c&&c({action:l,location:x.location,delta:1})}function p(b,v){l=xr.Replace;let m=nd(x.location,b,v);u=f();let y=Qp(m,u),E=x.createHref(m);i.replaceState(y,"",E),s&&c&&c({action:l,location:x.location,delta:0})}function C(b){let v=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof b=="string"?b:d0(b);return m=m.replace(/ $/,"%20"),dt(v,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,v)}let x={get action(){return l},get location(){return e(o,i)},listen(b){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(Vp,h),c=b,()=>{o.removeEventListener(Vp,h),c=null}},createHref(b){return t(o,b)},createURL:C,encodeLocation(b){let v=C(b);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:g,replace:p,go(b){return i.go(b)}};return x}var Kp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Kp||(Kp={}));function nS(e,t,n){return n===void 0&&(n="/"),rS(e,t,n,!1)}function rS(e,t,n,r){let o=typeof t=="string"?Xa(t):t,s=p0(o.pathname||"/",n);if(s==null)return null;let i=f0(e);oS(i);let l=null;for(let c=0;l==null&&c<i.length;++c){let u=mS(s);l=hS(i[c],u,r)}return l}function f0(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,l)=>{let c={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};c.relativePath.startsWith("/")&&(dt(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not val
160id. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=Vo([r,c.relativePath]),f=n.concat(c);s.children&&s.children.length>0&&(dt(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),f0(s.children,t,f,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:dS(u,s.index),routesMeta:f})};return e.forEach((s,i)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))o(s,i);else for(let c of h0(s.path))o(s,i,c)}),t}function h0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=h0(r.join("/")),l=[];return l.push(...i.map(c=>c===""?s:[s,c].join("/"))),o&&l.push(...i),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function oS(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:fS(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const sS=/^:[\w-]+$/,iS=3,lS=2,aS=1,cS=10,uS=-2,Yp=e=>e==="*";function dS(e,t){let n=e.split("/"),r=n.length;return n.some(Yp)&&(r+=uS),t&&(r+=lS),n.filter(o=>!Yp(o)).reduce((o,s)=>o+(sS.test(s)?iS:s===""?aS:cS),r)}function fS(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function hS(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,f=s==="/"?t:t.slice(s.length)||"/",h=qp({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},f),g=c.route;if(!h&&u&&n&&!r[r.length-1].route.index&&(h=qp({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},f)),!h)return null;
vendor: 4,131 bytes, lines 160-169
160Object.assign(o,h.params),i.push({params:o,pathname:Vo([s,h.pathname]),pathnameBase:gS(Vo([s,h.pathnameBase])),route:g}),h.pathnameBase!=="/"&&(s=Vo([s,h.pathnameBase]))}return i}function qp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=pS(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,f,h)=>{let{paramName:g,isOptional:p}=f;if(g==="*"){let x=l[h]||"";i=s.slice(0,s.length-x.length).replace(/(.)\/+$/,"$1")}const C=l[h];return p&&!C?u[g]=void 0:u[g]=(C||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function pS(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),u0(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function mS(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return u0(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function p0(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const Vo=e=>e.join("/").replace(/\/\/+/g,"/"),gS=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function vS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const m0=["post","put","patch","delete"];new Set(m0);const yS=["get",...m0];new Set(yS);/**
161 * React Router v6.30.1
162 *
163 * Copyright (c) Remix Software Inc.
164 *
165 * This source code is licensed under the MIT license found in the
166 * LICENSE.md file in the root directory of this source tree.
167 *
168 * @license MIT
169 */function va(){return va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},va.apply(this,arguments)}const xS=w.createContext(null),wS=w.createContext(null),g0=w.createContext(null),Ja=w.createContext(null),Za=w.createContext({outlet:null,matches:[],isDataRoute:!1}),v0=w.createContext(null);function Bf(){return w.useContext(Ja)!=null}function y0(){return Bf()||dt(!1),w.useContext(Ja).location}function bS(e,t){return CS(e,t)}function CS(e,t,n,r){Bf()||dt(!1);let{navigator:o}=w.useContext(g0),{matches:s}=w.useContext(Za),i=s[s.length-1],l=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=y0(),f;if(t){var h;let b=typeof t=="string"?Xa(t):t;c==="/"||(h=b.pathname)!=null&&h.startsWith(c)||dt(!1),f=b}else f=u;let g=f.pathname||"/",p=g;if(c!=="/"){let b=c.replace(/^\//,"").split("/");p="/"+g.replace(/^\//,"").split("/").slice(b.length).join("/")}let C=nS(e,{pathname:p}),x=AS(C&&C.map(b=>Object.assign({},b,{params:Object.assign({},l,b.params),pathname:Vo([c,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:Vo([c,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),s,n,r);return t&&x?w.createElement(Ja.Provider,{value:{location:va({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:xr.Pop}},x):x}function ES(){let e=RS(),t=vS(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application 
169Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,null)}const NS=w.createElement(ES,null);class SS extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?w.createElement(Za.Provider,{value:this.props.routeContext},w.createElement(v0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function kS(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(xS);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(Za.Provider,{value:t},r)}function AS(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let f=i.findIndex(h=>h.route.id&&(l==null?void 0:l[h.route.id])!==void 0);f>=0||dt(!1),i=i.slice(0,Math.min(i.length,f+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<i.length;f++){let h=i[f];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(u=f),h.route.id){let{loaderData:g,errors:p}=n,C=h.route.loader&&g[h.route.id]===void 0&&(!p||p[h.route.id]===void 0);if(h.route.lazy||C){c=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((f,h,g)=>{let p,C=!1,x=null,b=null;n&&(p=l&&h.route.id?l[h.route.id]:void 0,x=h.route.errorElement||NS,c&&(u<0&&g===0?(C=!0,b=null):u===g&&(C=!0,b=h.route.hydrateFallbackElement||null)));let v=t.concat(i.slice(0,g+1)),m=()=>{let y;return p?y=x:C?y=b:h.route.Component?y=w.createElement(h.route.Component,null):h.route.element?y=h.route.element:y=f,w.createElement(kS,{match:h,routeContext:{outlet:f,matches:v,isDataRoute:n!=null},children:y})};return n&&(h.route.ErrorBoundary||h.route.errorElement||g===0)?w.createElement(SS,{location:n.location,revalidation:n.revalidation,component:x,error:p,children:m(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):m()},null)}var rd=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(rd||{});function jS(e){let t=w.useContext(wS);return t||dt(!1),t}function PS(e){let t=w.useContext(Za);return t||dt(!1),t}function TS(e){let t=PS(),n=t.matches[t.matches.length-1];return n.route.id||dt(!1),n.route.id}function RS(){var e;let t=w.useContext(v0),n=jS(rd.UseRouteError),r=TS(rd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function IS(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Co(e){dt(!1)}function LS(e){let{basename:t="/",children:n=null,location:r,navigationType:o=xr.Pop,navigator:s,static:i=!1,future:l}=e;Bf()&&dt(!1);let c=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:c,navigator:s,static:i,future:va({v7_relativeSplatPath:!1},l)}),[c,l,s,i]);typeof r=="string"&&(r=Xa(r));let{pathname:f="/",search:h="",hash:g="",state:p=null,key:C="default"}=r,x=w.useMemo(()=>{let b=p0(f,c);return b==null?null:{location:{pathname:b,search:h,hash:g,state:p,key:C},navigationType:o}},[c,f,h,g,p,C,o]);return x==null?null:w.createElement(g0.Provider,{value:u},w.createElement(Ja.Provider,{children:n,value:x}))}function OS(e){let{children:t,location:n}=e;return bS(od(t),n)}new Promise(()=>{});
169function od(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,o)=>{if(!w.isValidElement(r))return;let s=[...t,o];if(r.type===w.Fragment){n.push.apply(n,od(r.props.children,s));return}r.type!==Co&&dt(!1),!r.props.index||!r.props.children||dt(!1);let i={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=od(r.props.children,s)),n.push(i)}),n}/**
170 * React Router DOM v6.30.1
171 *
172 * Copyright (c) Remix Software Inc.
173 *
174 * This source code is licensed under the MIT license found in the
175 * LICENSE.md file in the root directory of this source tree.
176 *
177 * @license MIT
178 */const _S="6";try{window.__reactRouterVersion=_S}catch{}const DS="startTransition",Xp=Rd[DS];function MS(e){let{basename:t,children:n,future:r,window:o}=e,s=w.useRef();s.current==null&&(s.current=Z2({window:o,v5Compat:!0}));let i=s.current,[l,c]=w.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},f=w.useCallback(h=>{u&&Xp?Xp(()=>c(h)):c(h)},[c,u]);return w.useLayoutEffect(()=>i.listen(f),[i,f]),w.useEffect(()=>IS(r),[r]),w.createElement(LS,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:i,future:r})}var Jp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Jp||(Jp={}));var Zp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zp||(Zp={}));const FS="modulepreload",zS=function(e){return"/"+e},em={},BS=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(c=>{if(c=zS(c),c in em)return;em[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":FS,u||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((g,p)=>{h.addEventListener("load",g),h.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return o.then(i=>{for(const l of i||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})},US=dy("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),io=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const i=r?jb:"button";return a.jsx(i,{className:ze(US({variant:t,size:n,className:e})),ref:s,...o})});io.displayName="Button";var $S=[["af","93",0,null,"0"],["ax","358",1,["18","4"],"0"],["al","355",0,null,"0"],["dz","213",0,null,"0"],["as","1",5,["684"],"1"],["ad","376"],["ao","244"],["ai","1",6,["264"],"1"],["ag","1",7,["268"],"1"],["ar","54",0,null,"0"],["am","374",0,null,"0"],["aw","297"],["ac","247"],["au","61",0,["4"],"0"],["at","43",0,null,"0"],["az","994",0,null,"0"],["bs","1",8,["242"],"1"],["bh","973"],["bd","880",0,null,"0"],["bb","1",9,["246"],"1"],["by","375",0,null,"8"],["be","32",0,null,"0"],["bz","501"],["bj","229"],["bm","1",10,["441"],"1"],["bt","975"],["bo","591",0,null,"0"],["ba","387",0,null,"0"],["bw","267"],["br","55",0,null,"0"],["io","246"],["vg","1",11,["284"],"1"],["bn","673"],["bg","359",0,null,"0"],["bf","226"],["bi","257"],["kh","855",0,null,"0"],["cm","237"],["ca","1",1,["204","226","236","249","250","257","263","289","306","343","354","365","367","368","382","403","416","418","428","431","437","438","450","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905","942"],"1"],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"],"1"],["cf","236"],["td","235"],["cl","56"],["cn","86",0,null,"0"],["cx","61",2,["4","89164"],"0"],["cc","61",1,["4","89162"],"0"],["co","57",0,null,"0"],["km","269"],["cg","242"],["cd","243",0,null,"0"],["ck","682"],["cr","506"],["ci","225"],["hr","385",0,null,"0"],["cu","53",0,null,"0"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"],"1"],["do","1",2,["809","829","849"],"1"],["ec","593",0,null,"0"],["eg","20",0,null,"0"],["sv","503"],["gq","240"],["er","291",0,null,"0"],["ee","372"],["sz","268"],["et","251",0,null,"0"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0,["4"],"0"],["fr","33",0,null,"0"],["gf","594",0,null,"0"],["pf","689"],["ga","241"],["gm","220"],["ge","995",0,null,"0"],["de","49",0,null,"0"],["gh","233",0,null,"0"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"],"1"],["gp","590",0,null,"0"],["gu","1",15,["671"],"1"],["gt","502"],["gg","44",1,["1481","7781","7839","7911"],"0"],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36",0,null,"06"],["is","354"],["in","91",0,null,"0"],["id","62",0,null,"0"],["ir","98",0,null,"0"],["iq","964",0,null,"0"],["ie","353",0,null,"0"],["im","44",2,["1624","74576","7524","7624","7924"],"0"],["il","972",0,null,"0"],["it","39",0,["3"]],["jm","1",4,["658","876"],"1"],["jp","81",0,null,"0"],["je","44",3,["1534","7509","7700","7797","7829","7937"],"0"],["jo","962",0,null,"0"],["kz","7",1,["33","7"],"8"],["ke","254",0,null,"0"],["ki","686",0,null,"0"],["xk","383",0,null,"0"],["kw","965"],["kg","996",0,null,"0"],["la","856",0,null,"0"],["lv","371"],["lb","961",0,null,"0"],["ls","266"],["lr","231",0,null,"0"],["ly","218",0,null,"0"],["li","423",0,null,"0"],["lt","370",0,null,"0"],["lu","352"],["mo","853"],["mg","261",0,null,"0"],["mw","265",0,null,"0"],["my","60",0,null,"0"],["mv","960"],["ml","223"],["mt","356"],["mh","692",0,null,"1"],["mq","596",0,null,"0"],["mr","222"],["mu","230"],["yt","262",1,["269","639"],"0"],["mx","52"],["fm","691"],["md","373",0,null,"0"],["mc","377",0,null,"0"],["mn","976",0,null,"0"],["me","382",0,null,"0"],["ms","1",16,["664"],"1"],["ma","212",0,["6","7"],"0"],["mz","258"],["mm","95",0,null,"0"],["na","264",0,null,"0"],["nr","674"],["np","977",0,null,"0"],["nl","31",0,null,"0"],["nc","687"],["nz","64",0,null,"0"],["ni","505"],["ne","227"],["ng","234",0,null,"0"],["nu","683"],["nf","672"],["kp","850",0,null,"0"],["mk","389",0,null,"0"],["mp","1",17,["670"],"1"],["no","47",0,["4","9"]],["om","968"],["pk","92",0,null,"0"],["pw","680"],["ps","970",0,null,"0"],["pa","507"],["pg","675"],["py","595",0,null,"0"],["pe","51",0,null,"0"],["ph","63",0,null,"0"],["pl","48"],["pt","351"],["pr","1",3,["787","939"],"1"],["qa","974"],["re","262",0,null,"0"],["ro","40",0,null,"0"],["ru","7",0,["33"],"8"],["rw","250",0,null,"0"],["ws","685"],["sm","378"],["st","239"],["sa","966",0,null,"0"],["sn","221"],["rs","381",0,null,"0"],["sc","248"],["sl","232",0,null,"0"],["sg","65"],["sx","1",21,["721"],"1"],["sk","421",0,null,"0"],["si","386",0,null,"0"],["sb","677"],["so","252",0,null,"0"],["za","27",0,null,"0"],["kr","82",0,null,"0"],["ss","211",0,null,"0"],["es","34"],["lk","94",0,null,"0"],["bl","590",1,null,"0"],["sh","290"],["kn","1",18,["869"],"1"],["lc","1",19,["758"],"1"],["mf","590",2,null,"0"],["pm","508",0,null,"0"],["vc","1",20,["784"],"1"],["sd","249",0,null,"0"],["sr","597"],["sj","47",1,["4","79","9"]],["se","46",0,null,"0"],["ch","41",0,null,"0"],["sy","963",0,null,"0"],["tw","886",0,null,"0"],["tj","992"],["tz","255",0,null,"0"],["th","66",0,null,"0"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"],"1"],["tn","216"],["tr","90",0,null,"0"],["tm","993",0,null,"8"],["tc","1",23,["649"],"1"],["tv","688"],["vi","1",24,["340"],"1"],["ug","256",0,null,"0"],["ua","380",0,null,"0"],["ae","971",0,null,"0"],["gb","44",0,null,"0"],["us","1",0,null,"1"],["uy","598",0,null,"0"],["uz","998"],["vu","678"],["va","39",1,["06698","3"]],["ve","58",0,null,"0"],["vn","84",0,null,"0"],["wf","681"],["eh","212",1,["5288","5289","6","7"],"0"],["ye","967",0,null,"0"],["zm","260",0,null,"0"],["zw","263",0,null,"0"]],Uf=[];for(const e of $S)Uf.push({name:"",iso2:e[0],dialCode:e[1],priority:e[2]||0,areaCodes:e[3]||null,
178nationalPrefix:e[4]||null});var GS=new Set(Uf.map(e=>e.iso2)),ni=e=>GS.has(e),Ll=Uf,Et={OPEN_COUNTRY_DROPDOWN:"open:countrydropdown",CLOSE_COUNTRY_DROPDOWN:"close:countrydropdown",COUNTRY_CHANGE:"countrychange",INPUT:"input",STRICT_REJECT:"strict:reject"},le={HIDE:"iti__hide",V_HIDE:"iti__v-hide",ARROW_UP:"iti__arrow--up",GLOBE:"iti__globe",FLAG:"iti__flag",LOADING:"iti__loading",COUNTRY_ITEM:"iti__country",HIGHLIGHT:"iti__highlight"},Ye={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",SPACE:" ",ENTER:"Enter",ESC:"Escape",TAB:"Tab"},tm={PASTE:"insertFromPaste",DELETE_FORWARD:"deleteContentForward"},nr={ALPHA_UNICODE:new RegExp("\\p{L}","u"),NON_PLUS_NUMERIC:/[^+0-9]/,NON_PLUS_NUMERIC_GLOBAL:/[^+0-9]/g,HIDDEN_SEARCH_CHAR:/^[a-zA-ZÀ-ÿа-яА-Я ]$/},nm={SEARCH_DEBOUNCE_MS:100,HIDDEN_SEARCH_RESET_MS:1e3,NEXT_TICK:0},An={NARROW_VIEWPORT_WIDTH:500,FALLBACK_SELECTED_WITH_DIAL_WIDTH:78,FALLBACK_SELECTED_NO_DIAL_WIDTH:42,INPUT_PADDING_EXTRA_LEFT:6,DROPDOWN_MARGIN:3,FALLBACK_DROPDOWN_HEIGHT:200},x0={PLUS:"+",NANP:"1"},Uc={ISO2:"gb",DIAL_CODE:"44",MOBILE_PREFIX:"7",MOBILE_CORE_LENGTH:10},HS={ISO2:"us",DIAL_CODE:"1"},ya={AGGRESSIVE:"aggressive",POLITE:"polite",OFF:"off"},sd={AUTO:"auto"},WS=["E164","INTERNATIONAL","NATIONAL","RFC3966"],Gs=["FIXED_LINE","MOBILE","FIXED_LINE_OR_MOBILE","TOLL_FREE","PREMIUM_RATE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL","UNKNOWN"],VS=["IS_POSSIBLE","INVALID_COUNTRY_CODE","TOO_SHORT","TOO_LONG","IS_POSSIBLE_LOCAL_ONLY","INVALID_LENGTH"],$f=e=>Object.fromEntries(e.map(t=>[t,t])),id=$f(WS),Ol=$f(Gs),QS=$f(VS),cr={ISO2:"iso2",DIAL_CODE:"dialCode",INSTANCE_ID:"intlTelInputId"},fe={EXPANDED:"aria-expanded",LABEL:"aria-label",SELECTED:"aria-selected",ACTIVE_DESCENDANT:"aria-activedescendant",HASPOPUP:"aria-haspopup",CONTROLS:"aria-controls",HIDDEN:"aria-hidden",AUTOCOMPLETE:"aria-autocomplete",MODAL:"aria-modal"},KS={selectedCountryAriaLabel:"Change country for phone number, currently selected ${countryName} (${dialCode})",noCountrySelected:"Select country for phone number",countryListAriaLabel:"List of countries",searchPlaceholder:"Search",clearSearchAriaLabel:"Clear search",searchEmptyState:"No results found",searchSummaryAria(e){return e===0?"No results found":e===1?"1 result found":`${e} results found`}}
178,YS=KS,ld=e=>typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia(e).matches,w0=()=>ld(`(max-width: ${An.NARROW_VIEWPORT_WIDTH}px)`),qS=()=>{if(typeof navigator<"u"&&typeof window<"u"){const e=ld("(max-height: 600px)"),t=ld("(pointer: coarse)");return w0()||t&&e}return!1},Gf={allowDropdown:!0,allowedNumberTypes:[Ol.MOBILE,Ol.FIXED_LINE],allowNumberExtensions:!1,allowPhonewords:!1,autoPlaceholder:ya.POLITE,containerClass:"",countryNameLocale:"en",countryNameOverrides:{},countryOrder:null,countrySearch:!0,customPlaceholder:null,dropdownAlwaysOpen:!1,dropdownContainer:null,excludeCountries:null,fixDropdownWidth:!0,formatAsYouType:!0,formatOnDisplay:!0,geoIpLookup:null,hiddenInput:null,i18n:{},initialCountry:"",loadUtils:null,nationalMode:!1,onlyCountries:null,placeholderNumberType:Ol.MOBILE,searchInputClass:"",separateDialCode:!0,strictRejectAnimation:!0,showFlags:!0,strictMode:!0,useFullscreenPopup:qS()},b0=e=>JSON.stringify(e),$c=e=>!!e&&typeof e=="object"&&!Array.isArray(e),XS=e=>typeof e=="function",JS=e=>{if(!e||typeof e!="object")return!1;const t=e;return t.nodeType===1&&typeof t.tagName=="string"&&typeof t.appendChild=="function"},rm=new Set(Object.values(ya)),xa=e=>{console.warn(`[intl-tel-input] ${e}`)},rt=(e,t,n)=>{xa(`Option '${e}' must be ${t}; got ${b0(n)}. Ignoring.`)},om=(e,t)=>{const n="an array of iso2 country code strings";if(!Array.isArray(t))return rt(e,n,t),!1;const r=[];for(const o of t){if(typeof o!="string")return rt(e,n,t),!1;const s=o.toLowerCase();ni(s)?r.push(o):xa(`Invalid iso2 code in '${e}': '${o}'. Skipping.`)}return r},ZS=e=>{if(e===void 0)return{};if(!$c(e)){const n=`The second argument must be an options object; got ${b0(e)}. Using defaults.`;return xa(n),{}}const t={};for(const[n,r]of Object.entries(e)){if(!Object.hasOwn(Gf,n)){xa(`Unknown option '${n}'. Ignoring.`);continue}switch(n){case"allowDropdown":case"allowNumberExtensions":case"allowPhonewords":case"countrySearch":case"dropdownAlwaysOpen":case"fixDropdownWidth":case"formatAsYouType":case"formatOnDisplay":case"nationalMode":case"showFlags":case"separateDialCode":case"strictMode":case"strictRejectAnimation":case"useFullscreenPopup":if(typeof r!="boolean"){rt(n,"a boolean",r);break}t[n]=r;break;case"autoPlaceholder":if(typeof r!="string"||!rm.has(r)){const o=Array.from(rm).join(", ");rt("autoPlaceholder",`one of ${o}`,r);break}t[n]=r;break;case"containerClass":case"searchInputClass":case"countryNameLocale":if(typeof r!="string"){rt(n,"a string",r);break}t[n]=r;break;case"countryOrder":{if(r===null)t[n]=r;else{const o=om(n,r);o!==!1&&(t[n]=o)}break}case"customPlaceholder":case"geoIpLookup":case"hiddenInput":case"loadUtils":if(r!==null&&!XS(r)){rt(n,"a function or null",r);break}t[n]=r;break;case"dropdownContainer":if(r!==null&&!JS(r)){rt("dropdownContainer","an HTMLElement or null",r);break}t[n]=r;break;case"excludeCountries":case"onlyCountries":{if(r===null)t[n]=r;else{const o=om(n,r);o!==!1&&(t[n]=o)}break}case"i18n":if(r&&!$c(r)){rt("i18n","an object",r);break}t[n]=r;break;case"countryNameOverrides":if(r&&!$c(r)){rt("countryNameOverrides","an object",r);break}t[n]=r;break;case"initialCountry":{if(typeof r!="string"){rt("initialCountry","a string",r);break}const o=r.toLowerCase();if(o&&o!==sd.AUTO&&!ni(o)){rt("initialCountry","a valid iso2 country code or 'auto'",r);break}t[n]=r;break}case"placeholderNumberType":if(typeof r!="string"||!Gs.includes(r)){const o=Gs.join(", ");rt("placeholderNumberType",`one of ${o}`,r);break}t[n]=r;break;case"allowedNumberTypes":if(r!==null){if(!Array.isArray(r)){rt("allowedNumberTypes","an array of number types or null",r);break}let o=!0;for(const s of r)if(typeof s!="string"||!Gs.includes(s)){const i=Gs.join(", ");rt("allowedNumberTypes",`an array of valid number types (${i})`,s),o=!1;break}
178o&&(t[n]=r)}else t[n]=null;break}}return t},ek=e=>{var t,n;e.initialCountry&&(e.initialCountry=e.initialCountry.toLowerCase()),(t=e.onlyCountries)!=null&&t.length&&(e.onlyCountries=e.onlyCountries.map(r=>r.toLowerCase())),(n=e.excludeCountries)!=null&&n.length&&(e.excludeCountries=e.excludeCountries.map(r=>r.toLowerCase())),e.countryOrder&&(e.countryOrder=e.countryOrder.map(r=>r.toLowerCase()))},tk=e=>{var t;e.dropdownAlwaysOpen&&(e.useFullscreenPopup=!1,e.allowDropdown=!0),e.useFullscreenPopup?e.fixDropdownWidth=!1:w0()&&(e.fixDropdownWidth=!0),((t=e.onlyCountries)==null?void 0:t.length)===1&&(e.initialCountry=e.onlyCountries[0]),e.separateDialCode&&(e.nationalMode=!1),e.allowDropdown&&!e.showFlags&&!e.separateDialCode&&(e.nationalMode=!1),e.useFullscreenPopup&&!e.dropdownContainer&&(e.dropdownContainer=document.body),e.i18n={...YS,...e.i18n}},Mo=e=>e.replace(/\D/g,""),Hf=(e="")=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),Gc=e=>Object.keys(e).filter(t=>!!e[t]).join(" "),ge=(e,t,n)=>{const r=document.createElement(e);return t&&Object.entries(t).forEach(([o,s])=>r.setAttribute(o,s)),n&&n.appendChild(r),r},nk="http://www.w3.org/2000/svg",Hi=([e,t,n])=>{const r=document.createElementNS(nk,e);if(t)for(const o in t)r.setAttribute(o,String(t[o]));if(n)for(const o of n)r.appendChild(Hi(o));return r},rk=()=>Hi(["svg",{class:"iti__search-icon-svg",width:14,height:14,viewBox:"0 0 24 24",focusable:"false",[fe.HIDDEN]:"true"},[["circle",{cx:11,cy:11,r:7}],["line",{x1:21,y1:21,x2:16.65,y2:16.65}]]]),ok=e=>{const t=`iti-${e}-clear-mask`;return Hi(["svg",{class:"iti__search-clear-svg",width:12,height:12,viewBox:"0 0 16 16",[fe.HIDDEN]:"true",focusable:"false"},[["mask",{id:t,maskUnits:"userSpaceOnUse"},[["rect",{width:16,height:16,fill:"white"}],["path",{d:"M5.2 5.2 L10.8 10.8 M10.8 5.2 L5.2 10.8",stroke:"black","stroke-linecap":"round",class:"iti__search-clear-x"}]]],["circle",{cx:8,cy:8,r:8,class:"iti__search-clear-bg",mask:`url(#${t})`}]]])},sk=()=>Hi(["svg",{class:"iti__country-check-svg",width:14,height:14,viewBox:"0 0 16 16",fill:"currentColor",focusable:"false",[fe.HIDDEN]:"true"},[["path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"}]]]),sm=()=>Hi(["svg",{width:256,height:256,viewBox:"0 0 512 512",class:"iti__globe-svg"},[["path",{d:"M508 213a240 240 0 0 0-449-87l-2 5-2 5c-8 14-13 30-17 46a65 65 0 0 1 56 4c16-10 35-19 56-27l9-3c-6 23-10 48-10 74h-16l4 6c3 4 5 8 6 13h6c0 22 3 44 8 65l2 10-25-10-4 5 12 18 9 3 6 2 8 3 9 26 1 2 16-7h1l-5-13-1-2c24 6 49 9 75 10v26l11 10 7 7v-30l1-13c22 0 44-3 65-8l10-2-21 48-1 1a317 317 0 0 1-14 23l-21 5h-2c6 16 7 33 1 50a240 240 0 0 0 211-265m-401-56-11 6c19-44 54-79 98-98-11 20-21 44-29 69-21 6-40 15-58 23m154 182v4c-29-1-57-6-81-13-7-25-12-52-13-81h94zm0-109h-94c1-29 6-56 13-81 24-7 52-12 81-13zm0-112c-22 1-44 4-65 8l-10 2 12-30 9-17 1-2a332 332 0 0 1 13-23c13-4 26-6 40-7zm187 69 6 4c4 12 6 25 6 38v1h-68c-1-26-4-51-10-74l48 20 1 1 14 8zm-14-44 10 20c-20-11-43-21-68-29-8-25-18-49-29-69 37 16 67 44 87 78M279 49h1c13 1 27 3 39 7l14 23 1 2a343 343 0 0 1 12 26l2 5 6 16c-23-6-48-9-74-10h-1zm0 87h1c29 1 56 6 81 13 7 24 12 51 12 80v1h-94zm2 207h-2v-94h95c-1 29-6 56-13 81-24 7-51 12-80 13m86 60-20 10c11-20 21-43 29-68 25-8 48-18 68-29-16 37-43 67-77 87m87-115-7 5-16 9-2 1a337 337 0 0 1-47 21c6-24 9-49 10-75h68c0 13-2 27-6 39"}],["path",{d:"m261 428-2-2-22-21a40 40 0 0 0-32-11h-1a37 37 0 0 0-18 8l-1 1-4 2-2 2-5 4c-9-3-36-31-47-44s-32-45-34-55l3-2a151 151 0 0 0 11-9v-1a39 39 0 0 0 5-48l-3-3-11-19-3-4-5-7h-1l-3-3-4-3-5-2a35 35 0 0 0-16-3h-5c-4 1-14 5-24 11l-4 2-4 3-4 2c-9 8-17 17-18 27a380 380 0 0 0 212 259h3c12 0 25-10 36-21l10-12 6-11a39 39 0 0 0-8-40"}]]]),ik=e=>{const t=new Map;for(const n of e){const r=Hf(n.name),o=r.split(/[^a-z]/).map(s=>s[0]).join("");t.set(n.iso2,{normalisedName:r,initials:o,dialCodePlus:`+${n.dialCode}`})}return t},lk=(e,t,n)=>{const r=Hf(n),o=[],s=[],i=[],l=[],c=[],u=[];for(const h of e){const g=t.get(h.iso2);h.iso2===r?o.push(h):g.normalisedName.startsWith(r)?s.push(h):g.normalisedName.includes(r)?i.push(h):r===h.dialCode||r===g.dialCodePlus?l.push(h):g.dialCodePlus.includes(r)?c.push(h):g.initials.includes(r)&&u.push(h)}const f=(h,g)=>h.priority-g.priority;return[...o,...s,...i,...l.sort(f),...c.sort(f),...u]},ak=(e,t,n)=>{const r=Hf(n);for(const o of e){const{normalisedName:s}=t.get(o.iso2);if(s.startsWith(r))return o}return null},St,ki,ad,ts,C0=(ts=class{constructor(t){M(this,ki);M(this,St);t&&N(this,ki,ad).call(this,t)}static toAscii(t){return t?t.replace(/[Ù -Ù©]/g,n=>String.fromCharCode(48+(n.charCodeAt(0)-1632))).replace(/[Û°-Û¹]/g,n=>String.fromCharCode(48+(n.charCodeAt(0)-1776))):""}denormalise(t){if(!d(this,St)||d(this,St)==="ascii")return t;const n=d(this,St)==="arabic-indic"?1632:1776;return t.replace(/[0-9]/g,r=>String.fromCharCode(n+Number(r)))}normalise(t){return t?(N(this,ki,ad).call(this,t),d(this,St)==="ascii"?t:ts.toAscii(t)):""}isAscii(){return!d(this,St)||d(this,St)==="ascii"}}
178,St=new WeakMap,ki=new WeakSet,ad=function(t){/[Ù -Ù©]/.test(t)?L(this,St,"arabic-indic"):/[Û°-Û¹]/.test(t)?L(this,St,"persian"):L(this,St,"ascii")},ts),ue,Vt,Zr,Ai,In,ns,eo,rs,Qt,we,Ln,ji,os,he,Pi,Xe,mr,Be,On,_n,Dn,Ti,Re,Kt,ot,to,gr,U,E0,N0,S0,k0,A0,j0,P0,cd,Ri,wr,ud,T0,R0,dd,fd,_l,I0,L0,hd,rr,O0,_0,D0,M0,F0,z0,B0,U0,$0,G0,pd,H0,W0,im=(wr=class{constructor(t,n,r){M(this,U);M(this,ue);M(this,Vt);M(this,Zr);M(this,Ai,"");M(this,In);M(this,ns);M(this,eo,null);M(this,rs);M(this,Qt);M(this,we);M(this,Ln);M(this,ji);M(this,os);M(this,he);M(this,Pi);M(this,Xe);M(this,mr);M(this,Be);M(this,On);M(this,_n);M(this,Dn);M(this,Ti);M(this,Re);M(this,Kt,null);M(this,ot,null);M(this,to,new Map);M(this,gr,null);Ss(this,"telInputEl");Ss(this,"hadInitialPlaceholder");t.dataset[cr.INSTANCE_ID]=r.toString(),this.telInputEl=t,L(this,ue,n),L(this,Vt,r),this.hadInitialPlaceholder=!!t.getAttribute("placeholder"),L(this,Zr,!!this.telInputEl.closest("[dir=rtl]")),L(this,Ai,this.telInputEl.style.paddingLeft)}static validateInput(t){const n=t==null?void 0:t.tagName;if(!(!!t&&typeof t=="object"&&n==="INPUT"&&typeof t.setAttribute=="function")){const o=Object.prototype.toString.call(t);throw new TypeError(`The first argument must be an HTMLInputElement, not ${o}`)}}buildMarkup(t,n){L(this,In,t),L(this,ns,n),this.telInputEl.classList.add("iti__tel-input"),this.telInputEl.hasAttribute("type")||this.telInputEl.setAttribute("type","tel"),this.telInputEl.hasAttribute("autocomplete")||this.telInputEl.setAttribute("autocomplete","tel"),this.telInputEl.hasAttribute("inputmode")||this.telInputEl.setAttribute("inputmode","tel");const r=N(this,U,E0).call(this);N(this,U,N0).call(this,r),r.appendChild(this.telInputEl),N(this,U,A0).call(this),N(this,U,j0).call(this,r),this.ensureDropdownWidthSet()}ensureDropdownWidthSet(){const{fixDropdownWidth:t,allowDropdown:n}=d(this,ue);if(!n||!t||d(this,he).style.width)return;const r=this.telInputEl.offsetWidth;r>0&&(d(this,he).style.width=`${r}px`)}prefillSearchWithPlus(){d(this,Xe).value="+",d(this,Xe).focus(),N(this,U,fd).call(this,"")}bindHiddenInputSubmitListener(t,n,r){const o=this.telInputEl.form;!o||!d(this,On)&&!d(this,_n)||o.addEventListener("submit",()=>{d(this,On)&&(d(this,On).value=n()),d(this,_n)&&(d(this,_n).value=r())},{signal:t})}bindAllInitialDropdownListeners(t,n,r){const o=this.telInputEl.closest("label");o&&o.addEventListener("click",s=>{this.isDropdownOpen()?s.preventDefault():this.telInputEl.focus()},{signal:t}),d(this,we).addEventListener("click",()=>{!this.isDropdownOpen()&&!this.telInputEl.disabled&&!this.telInputEl.readOnly&&n()},{signal:t}),d(this,Qt).addEventListener("keydown",s=>{const i=[Ye.ARROW_UP,Ye.ARROW_DOWN,Ye.SPACE,Ye.ENTER];!this.isDropdownOpen()&&i.includes(s.key)&&(s.preventDefault(),s.stopPropagation(),n()),s.key===Ye.TAB&&r()},{signal:t})}openDropdown(t,n){const{countrySearch:r,dropdownAlwaysOpen:o,dropdownContainer:s}=d(this,ue);if(L(this,gr,new AbortController),this.ensureDropdownWidthSet(),s)N(this,U,H0).call(this);else{const l=N(this,U,pd).call(this),c=this.telInputEl.offsetHeight+An.DROPDOWN_MARGIN;l?d(this,he).style.top=`${c}px`:d(this,he).style.bottom=`${c}px`}d(this,he).classList.remove(le.HIDE),d(this,we).setAttribute(fe.EXPANDED,"true");const i=d(this,Kt)??d(this,Be).firstElementChild;i&&N(this,U,rr).call(this,i),r&&!o&&d(this,Xe).focus(),d(this,ue).useFullscreenPopup&&d(this,Re)&&window.visualViewport&&window.visualViewport.addEventListener("resize",()=>{N(this,U,W0).call(this),d(this,ot)&&N(this,U,hd).call(this,d(this,ot))},{signal:d(this,gr).signal}),d(this,os).classList.add(le.ARROW_UP),N(this,U,O0).call(this,t,n)}closeDropdown(){const{countrySearch:t,dropdownContainer:n}=d(this,ue);d(this,gr).abort(),L(this,gr,null),d(this,he).classList.add(le.HIDE),d(this,we).setAttribute(fe.EXPANDED,"false"),t&&(d(this,Xe).removeAttribute(fe.ACTIVE_DESCENDANT),d(this,Xe).value="",N(this,U,_l).call(this),d(this,ot)&&(d(this,ot).classList.remove(le.HIGHLIGHT),L(this,ot,null))),d(this,os).classList.remove(le.ARROW_UP),n?(d(this,Re).remove(),d(this,Re).style.top="",d(this,Re).style.bottom="",d(this,Re).style.paddingLeft="",d(this,Re).style.paddingRight=""):(d(this,he).style.top="",d(this,he).style.bottom="")}isDropdownOpen(){return!d(this,he).classList.contains(le.HIDE)}setLoading(t){d(this,Ln).classList.toggle(le.LOADING,t)}isLoading(){return d(this,Ln).classList.contains(le.LOADING)}setDisabled(t){this.telInputEl.disabled=t,d(this,we)&&(t?d(this,we).setAttribute("disabled","true"):d(this,we).removeAttribute("disabled"))}setReadonly(t){this.telInputEl.readOnly=t,d(this,we)&&(t?d(this,we).setAttribute("disabled","true"):d(this,we).removeAttribute("disabled"))}setCountry(t){const{allowDropdown:n,showFlags:r,separateDialCode:o,i18n:s}=d(this,ue),i=t==null?void 0:t.name,l=t==null?void 0:t.dialCode,c=(t==null?void 0:t.iso2)??"";if(n&&N(this,U,$0).call(this,c),d(this,we)){const u=c&&r?`${le.FLAG} iti__${c}`:`${le.FLAG} ${le.GLOBE}`;let f,h,g=null;c?(h=i,f=s.selectedCountryAriaLabel.replace("${countryName}",i).replace("${dialCode}",`+${l}
178`),r||(g=sm())):(h=s.noCountrySelected,f=s.noCountrySelected,g=sm()),d(this,Ln).className=u,d(this,we).setAttribute("title",h),d(this,we).setAttribute(fe.LABEL,f),g?d(this,Ln).replaceChildren(g):d(this,Ln).replaceChildren()}if(o){const u=l?`+${l}`:"";d(this,ji).textContent=u,N(this,U,cd).call(this)}}destroy(){this.telInputEl.iti=void 0,delete this.telInputEl.dataset[cr.INSTANCE_ID],this.telInputEl.style.paddingLeft=d(this,Ai);const t=this.telInputEl.parentNode;t&&(t.before(this.telInputEl),t.remove()),d(this,to).clear()}},ue=new WeakMap,Vt=new WeakMap,Zr=new WeakMap,Ai=new WeakMap,In=new WeakMap,ns=new WeakMap,eo=new WeakMap,rs=new WeakMap,Qt=new WeakMap,we=new WeakMap,Ln=new WeakMap,ji=new WeakMap,os=new WeakMap,he=new WeakMap,Pi=new WeakMap,Xe=new WeakMap,mr=new WeakMap,Be=new WeakMap,On=new WeakMap,_n=new WeakMap,Dn=new WeakMap,Ti=new WeakMap,Re=new WeakMap,Kt=new WeakMap,ot=new WeakMap,to=new WeakMap,gr=new WeakMap,U=new WeakSet,E0=function(){const{allowDropdown:t,showFlags:n,containerClass:r,useFullscreenPopup:o}=d(this,ue),s=Gc({iti:!0,"iti--allow-dropdown":t,"iti--show-flags":n,"iti--inline-dropdown":!o,[r]:!!r}),i=ge("div",{class:s});return d(this,Zr)&&i.setAttribute("dir","ltr"),this.telInputEl.before(i),i},N0=function(t){const{allowDropdown:n,separateDialCode:r,showFlags:o}=d(this,ue);if(!n&&!o&&!r)return;L(this,Qt,ge("div",{class:`iti__country-container ${le.V_HIDE}`},t)),n?(L(this,we,ge("button",{type:"button",class:"iti__selected-country",[fe.EXPANDED]:"false",[fe.LABEL]:d(this,ue).i18n.noCountrySelected,[fe.HASPOPUP]:"dialog",[fe.CONTROLS]:`iti-${d(this,Vt)}__dropdown-content`},d(this,Qt))),this.telInputEl.disabled&&d(this,we).setAttribute("disabled","true")):L(this,we,ge("div",{class:"iti__selected-country"},d(this,Qt)));const s=ge("div",{class:"iti__selected-country-primary"},d(this,we));L(this,Ln,ge("div",{class:le.FLAG},s)),n&&L(this,os,ge("div",{class:"iti__arrow",[fe.HIDDEN]:"true"},s)),r&&L(this,ji,ge("div",{class:"iti__selected-dial-code"},d(this,we))),n&&N(this,U,S0).call(this)},S0=function(){const{fixDropdownWidth:t,useFullscreenPopup:n,countrySearch:r,i18n:o,dropdownContainer:s,containerClass:i}=d(this,ue),l=t?"":"iti--flexible-dropdown-width";if(L(this,he,ge("div",{id:`iti-${d(this,Vt)}__dropdown-content`,class:`iti__dropdown-content ${le.HIDE} ${l}`,role:"dialog",[fe.MODAL]:"true"})),d(this,Zr)&&d(this,he).setAttribute("dir","rtl"),r&&N(this,U,k0).call(this),L(this,Be,ge("ul",{class:"iti__country-list",id:`iti-${d(this,Vt)}__country-listbox`,role:"listbox",[fe.LABEL]:o.countryListAriaLabel},d(this,he))),N(this,U,P0).call(this),r&&N(this,U,dd).call(this),n||(L(this,rs,N(this,U,R0).call(this)),r&&(d(this,he).style.height=`${d(this,rs)}px`)),s){const c=Gc({iti:!0,"iti--container":!0,"iti--fullscreen-popup":n,"iti--inline-dropdown":!n,[i]:!!i});L(this,Re,ge("div",{class:c})),d(this,Re).appendChild(d(this,he))}else d(this,Qt).appendChild(d(this,he))},k0=function(){const{i18n:t,searchInputClass:n}=d(this,ue),r=ge("div",{class:"iti__search-input-wrapper"},d(this,he));L(this,Pi,ge("span",{class:"iti__search-icon",[fe.HIDDEN]:"true"},r)),d(this,Pi).appendChild(rk()),L(this,Xe,ge("input",{id:`iti-${d(this,Vt)}__search-input`,type:"search",class:`iti__search-input ${n}`,placeholder:t.searchPlaceholder,role:"combobox",[fe.EXPANDED]:"true",[fe.LABEL]:t.searchPlaceholder,[fe.CONTROLS]:`iti-${d(this,Vt)}__country-listbox`,[fe.AUTOCOMPLETE]:"list",autocomplete:"off"},r)),L(this,mr,ge("button",{type:"button",class:`iti__search-clear ${le.HIDE}`,[fe.LABEL]:t.clearSearchAriaLabel,tabindex:"-1"},r)),d(this,mr).appendChild(ok(d(this,Vt))),L(this,Ti,ge("span",{class:"iti__a11y-text"},d(this,he))),L(this,Dn,ge("div",{class:`iti__no-results ${le.HIDE}`,[fe.HIDDEN]:"true"},d(this,he))),d(this,Dn).textContent=t.searchEmptyState??null},A0=function(){d(this,Qt)&&(N(this,U,cd).call(this),d(this,Qt).classList.remove(le.V_HIDE))},j0=function(t){var s,i;const{hiddenInput:n}=d(this,ue);if(!n)return;const r=this.telInputEl.getAttribute("name")||"",o=n(r);if(o.phone){const l=(s=this.telInputEl.form)==null?void 0:s.querySelector(`input[name="${o.phone}"]`);l?L(this,On,l):(L(this,On,ge("input",{type:"hidden",name:o.phone})),t.appendChild(d(this,On)))}if(o.country){const l=(i=this.telInputEl.form)==null?void 0:i.querySelector(`input[name="${o.country}"]`);l?L(this,_n,l):(L(this,_n,ge("input",{type:"hidden",name:o.country})),t.appendChild(d(this,_n)))}},P0=function(){const t=document.createDocumentFragment();for(let n=0;n<d(this,In).length;n++){const r=d(this,In)[n],o=Gc({[le.COUNTRY_ITEM]:!0}),s=ge("li",{id:`iti-${d(this,Vt)}__item-${r.iso2}`,class:o,tabindex:"-1",role:"option",[fe.SELECTED]:"false"});s.dataset[cr.DIAL_CODE]=r.dialCode,s.dataset[cr.ISO2]=r.iso2,d(this,to).set(r.iso2,s),d(this,ue).showFlags&&ge("div",{class:`${le.FLAG} iti__${r.iso2}`},s);const i=ge("span",{class:"iti__country-name"},s);i.textContent=`${r.name} `;const l=ge("span",{class:"iti__dial-code"},i);d(this,Zr)&&l.setAttribute("dir","ltr"),l.textContent=`(+${r.dialCode})`,t.appendChild(s)}d(this,Be).appendChild(t)},cd=function(){if(d(this,we)){const t=d(this,ue).separateDialCode?An.FALLBACK_SELECTED_WITH_DIAL_WIDTH:An.FALLBACK_SELECTED_NO_DIAL_WIDTH,r=(d(this,we).offsetWidth||N(this,U,T0).call(this)||t)+An.INPUT_PADDING_EXTRA_LEFT;this.telInputEl.style.paddingLeft=`${r}px`}},Ri=new WeakSet,ud=function(){let t;try{t=window.top.document.body}catch{t=document.body}return t},T0=function(){var i;if(!this.telInputEl.parentNode)return 0;const t=N(i=wr,Ri,ud).call(i),n=this.telInputEl.parentNode.cloneNode(!1);n.style.visibility="hidden",t.appendChild(n);const r=d(this,Qt).cloneNode();n.appendChild(r);
178const o=d(this,we).cloneNode(!0);r.appendChild(o);const s=o.offsetWidth;return t.removeChild(n),s},R0=function(){var o;const t=N(o=wr,Ri,ud).call(o);d(this,he).classList.remove(le.HIDE);const n=ge("div",{class:"iti iti--inline-dropdown"});n.appendChild(d(this,he)),n.style.visibility="hidden",t.appendChild(n);const r=d(this,he).offsetHeight;return t.removeChild(n),n.style.visibility="",d(this,he).classList.add(le.HIDE),r>0?r:An.FALLBACK_DROPDOWN_HEIGHT},dd=function(){const{i18n:t}=d(this,ue),n=d(this,Be).childElementCount;d(this,Ti).textContent=t.searchSummaryAria(n)},fd=function(t){let n;if(t==="")n=d(this,In);else{const r=C0.toAscii(t);n=lk(d(this,In),d(this,ns),r)}N(this,U,G0).call(this,n)},_l=function(){const t=d(this,Xe).value.trim();N(this,U,fd).call(this,t),d(this,Xe).value?d(this,mr).classList.remove(le.HIDE):d(this,mr).classList.add(le.HIDE)},I0=function(){d(this,eo)&&clearTimeout(d(this,eo)),L(this,eo,setTimeout(()=>{N(this,U,_l).call(this),L(this,eo,null)},nm.SEARCH_DEBOUNCE_MS))},L0=function(){d(this,Xe).value="",d(this,Xe).focus(),N(this,U,_l).call(this)},hd=function(t){const n=d(this,Be),r=n.getBoundingClientRect(),o=t.getBoundingClientRect(),s=o.top-r.top+n.scrollTop;o.top<r.top?n.scrollTop=s:o.bottom>r.bottom&&(n.scrollTop=s-r.height+o.height)},rr=function(t,n=!0){var r;if((r=d(this,ot))==null||r.classList.remove(le.HIGHLIGHT),t){if(t.classList.add(le.HIGHLIGHT),d(this,ue).countrySearch){const o=t.getAttribute("id")||"";d(this,Xe).setAttribute(fe.ACTIVE_DESCENDANT,o)}n&&N(this,U,hd).call(this,t),L(this,ot,t)}else L(this,ot,null)},O0=function(t,n){const r=d(this,gr).signal;N(this,U,_0).call(this,r),N(this,U,D0).call(this,r,t),d(this,ue).dropdownAlwaysOpen||N(this,U,M0).call(this,r,n),N(this,U,F0).call(this,r,t,n),d(this,ue).countrySearch&&N(this,U,z0).call(this,r),!d(this,ue).useFullscreenPopup&&d(this,ue).dropdownContainer&&window.addEventListener("scroll",n,{signal:r})},_0=function(t){d(this,Be).addEventListener("mouseover",n=>{var o;const r=(o=n.target)==null?void 0:o.closest(`.${le.COUNTRY_ITEM}`);r&&N(this,U,rr).call(this,r,!1)},{signal:t})},D0=function(t,n){d(this,Be).addEventListener("click",r=>{var s;const o=(s=r.target)==null?void 0:s.closest(`.${le.COUNTRY_ITEM}`);o&&n(o)},{signal:t})},M0=function(t,n){setTimeout(()=>{document.documentElement.addEventListener("click",r=>{d(this,he).contains(r.target)||n()},{signal:t})},0)},F0=function(t,n,r){let o="",s=null;const i=l=>{[Ye.ARROW_UP,Ye.ARROW_DOWN,Ye.ENTER,Ye.ESC].includes(l.key)&&(l.preventDefault(),l.stopPropagation(),l.key===Ye.ARROW_UP||l.key===Ye.ARROW_DOWN?N(this,U,U0).call(this,l.key):l.key===Ye.ENTER&&!l.isComposing?n(d(this,ot)):l.key===Ye.ESC&&(r(),d(this,we).focus())),!d(this,ue).countrySearch&&l.target!==this.telInputEl&&nr.HIDDEN_SEARCH_CHAR.test(l.key)&&(l.stopPropagation(),s&&clearTimeout(s),o+=l.key.toLowerCase(),N(this,U,B0).call(this,o),s=setTimeout(()=>{o=""},nm.HIDDEN_SEARCH_RESET_MS))};document.addEventListener("keydown",i,{signal:t})},z0=function(t){d(this,Xe).addEventListener("input",()=>N(this,U,I0).call(this),{signal:t}),d(this,mr).addEventListener("click",()=>N(this,U,L0).call(this),{signal:t})},B0=function(t){const n=ak(d(this,In),d(this,ns),t);if(n){const r=d(this,to).get(n.iso2);N(this,U,rr).call(this,r)}},U0=function(t){var r,o;let n=t===Ye.ARROW_UP?(r=d(this,ot))==null?void 0:r.previousElementSibling:(o=d(this,ot))==null?void 0:o.nextElementSibling;!n&&d(this,Be).childElementCount>1&&(n=t===Ye.ARROW_UP?d(this,Be).lastElementChild:d(this,Be).firstElementChild),n&&N(this,U,rr).call(this,n)},$0=function(t){var n;if(d(this,Kt)&&d(this,Kt).dataset[cr.ISO2]!==t&&(d(this,Kt).setAttribute(fe.SELECTED,"false"),(n=d(this,Kt).querySelector(".iti__country-check"))==null||n.remove(),L(this,Kt,null)),t&&!d(this,Kt)){const r=d(this,Be).querySelector(`[data-iso2="${t}"]`);r&&(r.setAttribute(fe.SELECTED,"true"),ge("span",{class:"iti__country-check",[fe.HIDDEN]:"true"},r).appendChild(sk()),L(this,Kt,r),d(this,ue).dropdownAlwaysOpen&&N(this,U,rr).call(this,r))}},G0=function(t){d(this,Be).replaceChildren();let n=!0;for(const r of t){const o=d(this,to).get(r.iso2);o&&(d(this,Be).appendChild(o),n&&(N(this,U,rr).call(this,o,!1),n=!1))}n?(N(this,U,rr).call(this,null),d(this,Dn)&&d(this,Dn).classList.remove(le.HIDE)):d(this,Dn)&&d(this,Dn).classList.add(le.HIDE),d(this,Be).scrollTop=0,N(this,U,dd).call(this)},pd=function(){if(d(this,ue).dropdownAlwaysOpen)return!0;const t=this.telInputEl.getBoundingClientRect(),n=t.top,r=window.innerHeight-t.bottom;return r>=d(this,rs)||r>=n},H0=function(){const{dropdownContainer:t,useFullscreenPopup:n}=d(this,ue);if(n){if(window.innerWidth>=An.NARROW_VIEWPORT_WIDTH){const r=this.telInputEl.getBoundingClientRect();d(this,Re).style.paddingLeft=`${r.left}px`,d(this,Re).style.paddingRight=`${window.innerWidth-r.right}px`}}else{const r=this.telInputEl.getBoundingClientRect();d(this,Re).style.left=`${r.left}px`,N(this,U,pd).call(this)?d(this,Re).style.top=`${r.bottom+An.DROPDOWN_MARGIN}px`:(d(this,Re).style.top="unset",d(this,Re).style.bottom=`${window.innerHeight-r.top+An.DROPDOWN_MARGIN}px`)}t.appendChild(d(this,Re))}
178,W0=function(){const t=window.visualViewport;if(!t||!d(this,Re))return;const n=window.innerHeight-t.height;d(this,Re).style.bottom=`${n}px`},M(wr,Ri),wr),ck=e=>{const{onlyCountries:t,excludeCountries:n}=e;return t!=null&&t.length?Ll.filter(r=>t.includes(r.iso2)):n!=null&&n.length?Ll.filter(r=>!n.includes(r.iso2)):[...Ll]},uk=(e,t)=>{const{countryNameLocale:n,countryNameOverrides:r}=t;let o;try{typeof Intl<"u"&&typeof Intl.DisplayNames=="function"?o=new Intl.DisplayNames(n,{type:"region"}):o=null}catch(s){console.error(s),o=null}for(const s of e)s.name=r[s.iso2]||(o==null?void 0:o.of(s.iso2.toUpperCase()))||""},dk=e=>{const t=new Set;let n=0;const r={},o=(i,l)=>{if(!i||!l)return;l.length>n&&(n=l.length),Object.hasOwn(r,l)||(r[l]=[]);const c=r[l];c.includes(i)||c.push(i)},s=[...e].sort((i,l)=>i.priority-l.priority);for(const i of s){t.has(i.dialCode)||t.add(i.dialCode);for(let l=1;l<i.dialCode.length;l++){const c=i.dialCode.substring(0,l);o(i.iso2,c)}if(o(i.iso2,i.dialCode),i.areaCodes){const l=r[i.dialCode][0];for(const c of i.areaCodes){for(let u=1;u<c.length;u++){const f=c.substring(0,u),h=i.dialCode+f;o(l,h),o(i.iso2,h)}o(i.iso2,i.dialCode+c)}}}return{dialCodes:t,dialCodeMaxLength:n,dialCodeToIso2Map:r}},fk=(e,t)=>{const{countryOrder:n}=t;e.sort((r,o)=>{if(n){const s=n.indexOf(r.iso2),i=n.indexOf(o.iso2),l=s>-1,c=i>-1;if(l||c)return l&&c?s-i:l?-1:1}return r.name.localeCompare(o.name)})},hk=new Set(["800","808","870","881","882","883","888","979"]),lm=e=>{const t=Mo(e).slice(0,3);return e.startsWith("+")&&hk.has(t)},am=(e,t,n,r)=>{if(!n||!t)return e;const o=`+${r.dialCode}`,s=e[o.length]===" "||e[o.length]==="-"?o.length+1:o.length;return e.substring(s)},pk=(e,t,n,r,o)=>{const s=n?n.formatNumberAsYouType(e,r==null?void 0:r.iso2):e,i=r==null?void 0:r.dialCode;return o&&t.charAt(0)!=="+"&&s.includes(`+${i}`)?(s.split(`+${i}`)[1]||"").trim():s},mk=(e,t,n,r)=>{if(n===0&&!r)return 0;let o=0;for(let s=0;s<t.length;s++){if(/[+0-9]/.test(t[s])&&o++,o===e&&!r)return s+1;if(r&&o===e+1)return s}return t.length},gk=new Set(["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"]),cm=e=>{const t=Mo(e);if(t.startsWith(x0.NANP)&&t.length>=4){const n=t.substring(1,4);return gk.has(n)}return!1},vk=0,bo=e=>{if(!Y.utils)throw new Error(`intlTelInput.utils is required for ${e}(). See: https://intl-tel-input.com/docs/utils`)},um=()=>{let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}},re,se,ss,hn,Ii,is,Li,Oi,_i,X,Yt,pn,je,qt,kt,no,At,Xt,k,Ut,Ur,V0,Q0,K0,gd,Y0,q0,X0,vd,yd,J0,Z0,ex,tx,nx,rx,ba,ox,Ca,sx,Ea,ix,$r,ft,Dl,Eo,Ml,lx,xd,ax,jn,wd,Fl,cx,Hs,bd,No,Cd,or,Ed,Ws,Nd,ux,dx,fx,Sd,zn,md=(zn=class{constructor(t,n={}){M(this,k);Ss(this,"id");Ss(this,"promise");M(this,re);M(this,se);M(this,ss);M(this,hn);M(this,Ii);M(this,is);M(this,Li);M(this,Oi);M(this,_i);M(this,X,null);M(this,Yt,null);M(this,pn);M(this,je,!0);M(this,qt);M(this,kt);M(this,no,!1);M(this,At);M(this,Xt);M(this,ba,t=>{const{strictMode:n,formatAsYouType:r,separateDialCode:o,allowDropdown:s,countrySearch:i}=d(this,se),l=t==null?void 0:t.detail;if(l!=null&&l.isCountryChange)return;const c=N(this,k,Ut).call(this);if(d(this,ss)&&(t==null?void 0:t.data)==="+"&&o&&s&&i){N(this,k,Z0).call(this,c);return}if(d(this,ss)&&n&&((t==null?void 0:t.data)===" "||(t==null?void 0:t.data)==="-"||(t==null?void 0:t.data)===".")){N(this,k,ex).call(this,c,t.data);return}N(this,k,Ml).call(this,c)&&N(this,k,Ws).call(this);const u=(t==null?void 0:t.data)&&nr.NON_PLUS_NUMERIC.test(t.data),f=(t==null?void 0:t.inputType)===tm.PASTE&&c;u||f&&!n?L(this,no,!0):nr.NON_PLUS_NUMERIC.test(c)||L(this,no,!1),r&&!d(this,no)&&!(l!=null&&l.isSetNumber)&&d(this,kt).isAscii()&&N(this,k,tx).call(this,c,(t==null?void 0:t.inputType)===tm.DELETE_FORWARD),o&&N(this,k,nx).call(this,c)});M(this,Ca,t=>{var A;const{strictMode:n,separateDialCode:r,allowDropdown:o,countrySearch:s}=d(this,se);if(!t.key||t.key.length!==1||t.altKey||t.ctrlKey||t.metaKey)return;if(r&&o&&s&&t.key==="+"){t.preventDefault(),N(this,k,vd).call(this);return}if(!n)return;const i=N(this,k,Ut).call(this),c=!i.startsWith("+")&&d(this,re).telInputEl.selectionStart===0&&t.key==="+",u=d(this,kt).normalise(t.key),f=/^[0-9]$/.test(u),h=r?f:c||f,g=d(this,re).telInputEl,p=g.selectionStart,C=g.selectionEnd,x=i.slice(0,p??void 0),b=i.slice(C??void 0),v=x+u+b,m=N(this,k,Cd).call(this,v);let y=!1;Y.utils&&d(this,Yt)&&(y=Y.utils.getCoreNumber(m,(A=d(this,X))==null?void 0:A.iso2).length>d(this,Yt));const S=N(this,k,xd).call(this,m)!==null;(!h||y&&!S&&!c)&&(N(this,k,$r).call(this),N(this,k,ft).call(this,Et.STRICT_REJ
178ECT,{source:"key",rejectedInput:t.key,reason:h?"max-length":"invalid"}),t.preventDefault())});M(this,Ea,t=>{var E;t.preventDefault();const n=d(this,re).telInputEl,r=n.selectionStart,o=n.selectionEnd,s=N(this,k,Ut).call(this),i=s.slice(0,r??void 0),l=s.slice(o??void 0),c=(E=d(this,X))==null?void 0:E.iso2,u=t.clipboardData.getData("text"),f=d(this,kt).normalise(u),h=r===0&&o>0,g=!s.startsWith("+")||h,p=f.replace(nr.NON_PLUS_NUMERIC_GLOBAL,""),C=p.startsWith("+"),x=p.replace(/\+/g,""),b=C&&g?`+${x}`:x;let v=i+b+l,m=b!==f?"invalid":null;if(v.length>30){N(this,k,$r).call(this),N(this,k,ft).call(this,Et.STRICT_REJECT,{source:"paste",rejectedInput:u,reason:"max-length"});return}if(v.length>5&&Y.utils){let S=Y.utils.getCoreNumber(v,c);for(;S.length===0&&v.length>0;)v=v.slice(0,-1),S=Y.utils.getCoreNumber(v,c);if(!S){N(this,k,$r).call(this),N(this,k,ft).call(this,Et.STRICT_REJECT,{source:"paste",rejectedInput:u,reason:"max-length"});return}if(d(this,Yt)&&S.length>d(this,Yt))if(n.selectionEnd===s.length){const A=S.length-d(this,Yt);v=v.slice(0,v.length-A),m="max-length"}else{N(this,k,$r).call(this),N(this,k,ft).call(this,Et.STRICT_REJECT,{source:"paste",rejectedInput:u,reason:"max-length"});return}}N(this,k,Ur).call(this,v);const y=r+b.length;n.setSelectionRange(y,y),n.dispatchEvent(new InputEvent("input",{bubbles:!0})),m&&(f.length>0&&b.length===0&&N(this,k,$r).call(this),N(this,k,ft).call(this,Et.STRICT_REJECT,{source:"paste",rejectedInput:u,reason:m}))});this.id=vk++,im.validateInput(t);const r=ZS(n);L(this,se,{...Gf,...r}),ek(d(this,se)),tk(d(this,se)),L(this,re,new im(t,d(this,se),this.id)),L(this,ss,typeof navigator<"u"&&/Android/i.test(navigator.userAgent)),L(this,kt,new C0(t.value)),this.promise=N(this,k,V0).call(this,d(this,se)),L(this,hn,ck(d(this,se)));const{dialCodes:o,dialCodeMaxLength:s,dialCodeToIso2Map:i}=dk(d(this,hn));L(this,Li,o),L(this,Ii,s),L(this,is,i),L(this,Oi,new Map(d(this,hn).map(l=>[l.iso2,l]))),N(this,k,Q0).call(this)}destroy(){d(this,je)&&(L(this,je,!1),d(this,se).allowDropdown&&N(this,k,Hs).call(this,!0),d(this,qt).abort(),d(this,re).destroy(),Y.instances.delete(String(this.id)))}isActive(){return d(this,je)}getExtension(){var t;return d(this,je)?(bo("getExtension"),Y.utils.getExtension(N(this,k,or).call(this),(t=d(this,X))==null?void 0:t.iso2)):""}getNumber(t){var s;if(!d(this,je))return"";bo("getNumber");const n=(s=d(this,X))==null?void 0:s.iso2,r=N(this,k,or).call(this),o=Y.utils.formatNumber(r,n,t);return d(this,kt).denormalise(o)}getNumberType(){var t;return d(this,je)?(bo("getNumberType"),Y.utils.getNumberType(N(this,k,or).call(this),(t=d(this,X))==null?void 0:t.iso2)):null}getSelectedCountryData(){return d(this,X)??null}getValidationError(){var n;if(!d(this,je))return null;bo("getValidationError");const t=(n=d(this,X))==null?void 0:n.iso2;return Y.utils.getValidationError(N(this,k,or).call(this),t)}isValidNumber(){var s,i;if(!d(this,je))return null;bo("isValidNumber");const t=(s=d(this,X))==null?void 0:s.dialCode,n=(i=d(this,X))==null?void 0:i.iso2,r=N(this,k,or).call(this),o=Y.utils.getCoreNumber(r,n);if(o){if(t===Uc.DIAL_CODE&&o[0]===Uc.MOBILE_PREFIX&&o.length!==Uc.MOBILE_CORE_LENGTH)return!1;if(!nr.ALPHA_UNICODE.test(r)&&t){const c=r.startsWith("+")?r.slice(1+t.length):r,u=Mo(c).length;if(o.length>u)return!1}}return N(this,k,Sd).call(this,"possible")}isValidNumberPrecise(){return d(this,je)?(bo("isValidNumberPrecise"),N(this,k,Sd).call(this,"precise")):null}setCountry(t){var s,i;if(!d(this,je))return;const n=t==null?void 0:t.toLowerCase();if(!ni(n))throw new Error(`Invalid iso2 code: '${n}'`);const r=(s=d(this,X))==null?void 0:s.iso2;if(t&&n!==r||!t&&r){if(N(this,k,jn).call(this,n),N(this,k,bd).call(this,((i=d(this,X))==null?void 0:i.dialCode)||""),d(this,se).formatOnDisplay){const l=N(this,k,Ut).call(this);N(this,k,Eo).call(this,l)}N(this,k,Ws).call(this),N(this,k,ft).call(this,Et.INPUT,{isCountryChange:!0})}}setNumber(t){if(!d(this,je))return;const n=d(this,kt).normalise(t),r=N(this,k,Ml).call(this,n);N(this,k,Eo).call(this,n),r&&N(this,k,Ws).call(this),N(this,k,ft).call(this,Et.INPUT,{isSetNumber:!0})}setPlaceholderNumberType(t){d(this,je)&&(d(this,se).placeholderNumberType=t,N(this,k,Fl).call(this))}setDisabled(t){d(this,je)&&d(this,re).setDisabled(t)}setReadonly(t){d(this,je)&&d(this,re).setReadonly(t)}static forEachInstance(t,...n){const r=[...Y.instances.values()],o=n[0];r.forEach(s=>{var i,l,c,u;if(s instanceof zn)switch(t){case"handleUtilsLoaded":N(i=s,k,dx).call(i);break;case"handleUtilsFailure":N(l=s,k,fx).call(l,o);break;case"handleAutoCountryLoaded":N(c=s,k,Nd).call(c);break;case"handleAutoCountryFailure":N(u=s,k,ux).call(u);break}})}},re=new WeakMap,se=new WeakMap,ss=new WeakMap,hn=new WeakMap,Ii=new WeakMap,is=new WeakMap,Li=new WeakMap,Oi=new WeakMap,_i=new WeakMap,X=new WeakMap,Yt=new WeakMap,pn=new WeakMap,je=new WeakMap,qt=new WeakMap,kt=new WeakMap,no=new WeakMap,At=new WeakMap,Xt=new WeakMap,k=new WeakSet,Ut=function(){const t=d(this,re).telInputEl.value.trim();return d(this,kt).normalise(t)},Ur=function(t){d(this,re).telInputEl.value=d(this,kt).denormalise(t)},V0=function(t){var l,c;const{initialCountry:n,geoIpLookup:r,loadUtils:o}=t,s=n===sd.AUTO&&!!r,i=!!o&&!Y.utils;return s&&L(this,At,um()),i&&L(this,Xt,um()),Promise.all([(l=d(this,At))==null?void 0:l.promise,(c=d(this,Xt))==null?void 0:c.promise]).then(()=>{})},Q0=function(){L(this,qt,new AbortController),N(this,k,K0).call(this),d(this,re).buildMarkup(d(this,hn),d(this,_i)
178),N(this,k,gd).call(this),N(this,k,Y0).call(this),N(this,k,q0).call(this),d(this,se).dropdownAlwaysOpen&&N(this,k,Dl).call(this)},K0=function(){uk(d(this,hn),d(this,se)),fk(d(this,hn),d(this,se)),L(this,_i,ik(d(this,hn)))},gd=function(t=!1){const n=d(this,re).telInputEl.getAttribute("value"),r=d(this,kt).normalise(n??""),o=N(this,k,Ut).call(this),i=r&&r.startsWith("+")&&(!o||!o.startsWith("+"))?r:o,l=N(this,k,No).call(this,i),c=cm(i),{initialCountry:u,geoIpLookup:f}=d(this,se),h=u===sd.AUTO&&f,g=h&&Y.autoCountry?Y.autoCountry:u,p=h&&!t&&!Y.autoCountry,C=ni(g);l?c?C?N(this,k,jn).call(this,g):p||N(this,k,jn).call(this,HS.ISO2):(C&&N(this,k,jn).call(this,g),N(this,k,Ml).call(this,i)):C?N(this,k,jn).call(this,g):p||N(this,k,jn).call(this,""),i&&N(this,k,Eo).call(this,i)},Y0=function(){N(this,k,J0).call(this),d(this,se).allowDropdown&&d(this,re).bindAllInitialDropdownListeners(d(this,qt).signal,()=>N(this,k,Dl).call(this),()=>N(this,k,Hs).call(this)),d(this,re).bindHiddenInputSubmitListener(d(this,qt).signal,()=>this.getNumber(),()=>{var t;return((t=d(this,X))==null?void 0:t.iso2)||""})},q0=function(){if(d(this,Xt)){const{loadUtils:t}=d(this,se),n=()=>{Y.attachUtils(t).catch(()=>{})};Y.documentReady()?n():window.addEventListener("load",n,{signal:d(this,qt).signal})}d(this,At)&&(d(this,X)?d(this,At).resolve():N(this,k,X0).call(this))},X0=async function(){if(Y.autoCountry){N(this,k,Nd).call(this);return}if(d(this,re).setLoading(!0),!Y.startedLoadingAutoCountry&&(Y.startedLoadingAutoCountry=!0,typeof d(this,se).geoIpLookup=="function"))try{const t=await d(this,se).geoIpLookup(),n=typeof t=="string"?t.toLowerCase():"";if(!ni(n)){zn.forEachInstance("handleAutoCountryFailure");return}Y.autoCountry=n,setTimeout(()=>zn.forEachInstance("handleAutoCountryLoaded"))}catch{zn.forEachInstance("handleAutoCountryFailure")}},vd=function(){N(this,k,Dl).call(this),d(this,re).prefillSearchWithPlus()},yd=function(t){const n=d(this,re).telInputEl.selectionStart||0,r=t.substring(0,n-1),o=t.substring(n);return N(this,k,Ur).call(this,r+o),n-1},J0=function(){N(this,k,rx).call(this),N(this,k,ox).call(this),N(this,k,sx).call(this)},Z0=function(t){N(this,k,yd).call(this,t),N(this,k,vd).call(this)},ex=function(t,n){const r=N(this,k,yd).call(this,t);d(this,re).telInputEl.setSelectionRange(r,r),N(this,k,$r).call(this),N(this,k,ft).call(this,Et.STRICT_REJECT,{source:"key",rejectedInput:n,reason:"invalid"})},tx=function(t,n){const r=d(this,re).telInputEl.selectionStart||0,s=t.substring(0,r).replace(nr.NON_PLUS_NUMERIC_GLOBAL,"").length,i=N(this,k,or).call(this),l=pk(i,t,Y.utils,d(this,X),d(this,se).separateDialCode),c=mk(s,l,r,n);N(this,k,Ur).call(this,l),d(this,re).telInputEl.setSelectionRange(c,c)},nx=function(t){if(t.startsWith("+")&&d(this,X)&&N(this,k,No).call(this,t)){const n=am(t,!0,!0,d(this,X));N(this,k,Ur).call(this,n)}},rx=function(){L(this,no,nr.ALPHA_UNICODE.test(N(this,k,Ut).call(this))),d(this,re).telInputEl.addEventListener("input",d(this,ba),{signal:d(this,qt).signal})},ba=new WeakMap,ox=function(){const{strictMode:t,separateDialCode:n}=d(this,se);!t&&!n||d(this,re).telInputEl.addEventListener("keydown",d(this,Ca),{signal:d(this,qt).signal})},Ca=new WeakMap,sx=function(){d(this,se).strictMode&&d(this,re).telInputEl.addEventListener("paste",d(this,Ea),{signal:d(this,qt).signal})},Ea=new WeakMap,ix=function(t){const n=Number(d(this,re).telInputEl.getAttribute("maxlength"));return n&&t.length>n?t.substring(0,n):t},$r=function(){if(!d(this,se).strictRejectAnimation)return;const t=d(this,re).telInputEl.parentElement;t&&(t.classList.remove("iti__strict-reject-animation"),t.offsetWidth,t.classList.add("iti__strict-reject-animation"))},ft=function(t,n={}){const r=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});d(this,re).telInputEl.dispatchEvent(r)},Dl=function(){d(this,re).openDropdown(t=>N(this,k,cx).call(this,t),()=>N(this,k,Hs).call(this)),N(this,k,ft).call(this,Et.OPEN_COUNTRY_DROPDOWN)},Eo=function(t){var i;const{formatOnDisplay:n,nationalMode:r,separateDialCode:o}=d(this,se);let s=t;if(n&&Y.utils&&d(this,X)){const l=lm(t),u=r&&!l||!s.startsWith("+")&&!o?id.NATIONAL:id.INTERNATIONAL;s=Y.utils.formatNumber(s,(i=d(this,X))==null?void 0:i.iso2,u)}s=N(this,k,Ed).call(this,s),N(this,k,Ur).call(this,s)},Ml=function(t){const n=N(this,k,xd).call(this,t);return n!==null?N(this,k,jn).call(this,n):!1},lx=function(t){var l,c;const n=(l=d(this,X))==null?void 0:l.dialCode,r=(c=d(this,X))==null?void 0:c.nationalPrefix;if(t.startsWith("+")||!n)return t;const i=r&&t.startsWith(r)&&!d(this,se).separateDialCode?t.substring(1):t;return`+${n}${i}`},xd=function(t){var l,c;const n=t.indexOf("+");let r=n>0?t.substring(n):t;const o=(l=d(this,X))==null?void 0:l.iso2;r=N(this,k,lx).call(this,r);const s=N(this,k,No).call(this,r,!0),i=Mo(r);if(s){const u=Mo(s),f=d(this,is)[u];return f.length===1?f[0]===o?null:f[0]:N(this,k,ax).call(this,f,u,
178i)}else if(r.startsWith("+")&&i.length){const u=((c=d(this,X))==null?void 0:c.dialCode)||"";return u&&u.startsWith(i)?null:""}else if((!r||r==="+")&&!o&&d(this,pn))return d(this,pn);return null},ax=function(t,n,r){var p,C,x,b;const o=(p=d(this,X))==null?void 0:p.iso2,s=(C=d(this,X))==null?void 0:C.dialCode;if(!o&&d(this,pn)&&t.includes(d(this,pn)))return d(this,pn);if(s===x0.NANP&&cm(r))return null;const l=(x=d(this,X))==null?void 0:x.areaCodes,c=(b=d(this,X))==null?void 0:b.priority;if(l){const v=l.map(m=>`${s}${m}`);for(const m of v)if(r.startsWith(m))return null}const f=l&&!(c===0)&&r.length>n.length,h=o&&t.includes(o)&&!f,g=o===t[0];return!h&&!g?t[0]:null},jn=function(t){var r;const n=((r=d(this,X))==null?void 0:r.iso2)||"";return L(this,X,t?d(this,Oi).get(t):null),d(this,X)&&L(this,pn,d(this,X).iso2),d(this,re).setCountry(d(this,X)),N(this,k,Fl).call(this),N(this,k,wd).call(this),n!==t},wd=function(){var c;const{strictMode:t,placeholderNumberType:n,allowedNumberTypes:r}=d(this,se);if(!t||!Y.utils)return;const o=(c=d(this,X))==null?void 0:c.iso2;if(!o){L(this,Yt,null);return}let s=Y.utils.getExampleNumber(o,!1,n,!0),i=s;for(;Y.utils.isPossibleNumber(s,o,r);)i=s,s+="0";
178const l=Y.utils.getCoreNumber(i,o);L(this,Yt,l.length),o==="by"&&L(this,Yt,l.length+1)},Fl=function(){const{autoPlaceholder:t,placeholderNumberType:n,nationalMode:r,customPlaceholder:o}=d(this,se),s=t===ya.AGGRESSIVE||!d(this,re).hadInitialPlaceholder&&t===ya.POLITE;if(!Y.utils||!s)return;let i=d(this,X)?Y.utils.getExampleNumber(d(this,X).iso2,r,n):"";i=N(this,k,Ed).call(this,i),typeof o=="function"&&(i=o(i,d(this,X))),d(this,re).telInputEl.setAttribute("placeholder",i)},cx=function(t){if(!t)return;const n=t.dataset[cr.ISO2],r=N(this,k,jn).call(this,n);N(this,k,Hs).call(this);const o=t.dataset[cr.DIAL_CODE];if(N(this,k,bd).call(this,o),d(this,se).formatOnDisplay){const s=N(this,k,Ut).call(this);N(this,k,Eo).call(this,s)}d(this,re).telInputEl.focus(),r&&(N(this,k,Ws).call(this),N(this,k,ft).call(this,Et.INPUT,{isCountryChange:!0}))},Hs=function(t){!d(this,re).isDropdownOpen()||d(this,se).dropdownAlwaysOpen&&!t||(d(this,re).closeDropdown(),N(this,k,ft).call(this,Et.CLOSE_COUNTRY_DROPDOWN))},bd=function(t){const n=N(this,k,Ut).call(this);if(!n.startsWith("+"))return;const r=`+${t}`,o=N(this,k,No).call(this,n);let s;o?s=n.replace(o,r):s=r,N(this,k,Ur).call(this,s)},No=function(t,n){if(!t.startsWith("+"))return"";let r="",o="",s=!1;for(let i=0;i<t.length;i++){const l=t.charAt(i);if(!/[0-9]/.test(l))continue;if(o+=l,!!!d(this,is)[o])break;if(d(this,Li).has(o)){if(r=t.substring(0,i+1),s=!0,!n)break}else n&&s&&(r=t.substring(0,i+1));if(o.length===d(this,Ii))break}return r},Cd=function(t){var s;const n=(s=d(this,X))==null?void 0:s.dialCode,r=Mo(t);return(d(this,se).separateDialCode&&!t.startsWith("+")&&n&&r?`+${n}`:"")+t},or=function(){const t=N(this,k,Ut).call(this);return N(this,k,Cd).call(this,t)},Ed=function(t){const n=!!N(this,k,No).call(this,t),r=am(t,n,d(this,se).separateDialCode,d(this,X));return N(this,k,ix).call(this,r)},Ws=function(){N(this,k,ft).call(this,Et.COUNTRY_CHANGE,d(this,X)??null)},Nd=function(){if(!(!d(this,At)||!Y.autoCountry)){if(!d(this,je)){d(this,At).resolve();return}d(this,re).isLoading()?this.setCountry(Y.autoCountry):L(this,pn,Y.autoCountry),d(this,re).setLoading(!1),d(this,At).resolve()}},ux=function(){var t,n;if(!d(this,je)){(t=d(this,At))==null||t.reject();return}N(this,k,gd).call(this,!0),d(this,re).setLoading(!1),(n=d(this,At))==null||n.reject()},dx=function(){var n,r,o;if(!d(this,je)){(n=d(this,Xt))==null||n.resolve();return}if(!Y.utils){(r=d(this,Xt))==null||r.resolve();return}const t=N(this,k,Ut).call(this);t&&N(this,k,Eo).call(this,t),d(this,X)&&(N(this,k,Fl).call(this),N(this,k,wd).call(this)),(o=d(this,Xt))==null||o.resolve()},fx=function(t){var n,r;if(!d(this,je)){(n=d(this,Xt))==null||n.reject(t);return}(r=d(this,Xt))==null||r.reject(t)},Sd=function(t){var c;const{allowNumberExtensions:n,allowPhonewords:r,allowedNumberTypes:o}=d(this,se),s=(c=d(this,X))==null?void 0:c.iso2,i=N(this,k,or).call(this);return!d(this,X)&&!lm(i)||!(t==="precise"?Y.utils.isValidNumber:Y.utils.isPossibleNumber)(i,s,o)?!1:nr.ALPHA_UNICODE.test(i)?!!Y.utils.getExtension(i,s)?n:r:!0},zn),yk=async e=>{if(Y.utils||Y.startedLoadingUtils)return null;if(typeof e!="function")throw new TypeError(`The argument passed to attachUtils must be a function that returns a promise for the utils module, not ${typeof e}`);Y.startedLoadingUtils=!0;try{const t=await e(),n=t==null?void 0:t.default;if(!n||typeof n!="object")throw new TypeError("The loader function passed to attachUtils did not resolve to a module object with utils as its default export.");return Y.utils=n,md.forEachInstance("handleUtilsLoaded"),!0}catch(t){throw md.forEachInstance("handleUtilsFailure",t),t}},Y=Object.assign((e,t)=>{const n=new md(e,t);return Y.instances.set(String(n.id),n),e.iti=n,n},{defaults:Gf,documentReady:()=>document.readyState==="complete",getCountryData:()=>Ll,getInstance:e=>{const t=e.dataset[cr.INSTANCE_ID];return t?Y.instances.get(t)??null:null},instances:new Map,attachUtils:yk,startedLoadingUtils:!1,startedLoadingAutoCountry:!1,version:"28.0.4",NUMBER_FORMAT:id,NUMBER_TYPE:Ol,VALIDATION_ERROR:QS}),xk=Y;const Hc={siteKey:"0x4AAAAAAB8PYmlgb6gTswKM",scriptUrl:"https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit"},vl={ajaxUrl:"https://legacyonlineschool.com/wp-admin/admin-ajax.php",emailAction:"abstract_validate_email",phoneAction:"abstract_validate_phone"},wk="https://legacyonlineschool.com/wp-content/themes/legacyonlineschool/mailer.php",Wf=({className:e,variant:t="hero",showEnrollButton:n=!0})=>{const[r,o]=w.useState({name:"",email:""}),[s,i]=w.useState(!0),[l,c]=w.useState(!1),[u,f]=w.useState(null),[h,g]=w.useState(!1),[p,C]=w.useState(!1),[x,b]=w.useState(null),[v,m]=w.useState(null),y=w.useRef(null),E=w.useRef(null),S=w.useRef(null),A=w.useRef(null),j=w.useRef(null),I=w.useRef(null),F=w.useRef(!1),D=w.useRef(new Map),V=w.useRef(new Map),G=(R,B)=>{f({message:R,type:B}),setTimeout(()=>f(null),5e3)},te=R=>{if(window.turnstile){R();return}const B=document.querySelector(`script[src="${Hc.scriptUrl}"]`);if(B){B.addEventListener("load",R);return}const z=document.createElement("script");z.src=Hc.scriptUrl,z.async=!0,z.defer=!0,z.onload=R,document.head.appendChild(z)},$=()=>{F.current||!window.turnstile||!A.current||(F.current=!0,j.current=window.turnstile.render(A.current,{sitekey:Hc.siteKey,theme:"light",size:"flexible",callback:R=>{I.current=R},"error-callback":()=>{I.current=null}}))},Z=()=>{const R=S.current,B=E.current;
178if(!R||!B)return;const z=R.getSelectedCountryData();if(!z||!z.dialCode)return;const W=`+${z.dialCode}`,K=B.value.trim();K.startsWith("+")||(B.value=W+(K?` ${K}`:""))},Q=async R=>{if(D.current.has(R))return D.current.get(R);g(!0),b(null);try{const B=new FormData;B.append("action",vl.emailAction),B.append("email",R);const W=await(await fetch(vl.ajaxUrl,{method:"POST",body:B})).json();if(W.success&&W.data){const K=W.data.valid===!0;return D.current.set(R,K),K||b(W.data.message||"This email address appears invalid. Please check for typos."),K}return!0}catch(B){return console.error("Email validation error:",B),!0}finally{g(!1)}},q=async(R,B)=>{const z=`${R}_${B||""}`;if(V.current.has(z))return V.current.get(z);C(!0),m(null);try{const W=new FormData;W.append("action",vl.phoneAction),W.append("phone",R),B&&W.append("country",B);const de=await(await fetch(vl.ajaxUrl,{method:"POST",body:W})).json();if(de.success&&de.data){const Ae=de.data.valid===!0;return V.current.set(z,Ae),Ae||m(de.data.message||"We couldn't confirm this phone number. Please check for any typos and try again."),Ae}return!0}catch(W){return console.error("Phone validation error:",W),!0}finally{C(!1)}},P=()=>{const R=S.current,B=E.current;return!R||!B?!1:B.value.trim()?(typeof R.isValidNumber=="function"?R.isValidNumber():!0)?(B.setCustomValidity(""),!0):(B.setCustomValidity("Please enter a valid phone number"),!1):(B.setCustomValidity("Please enter a phone number"),!1)},T=async R=>{var En,Ot,ln;if(R.preventDefault(),!r.name.trim()||!r.email.trim()){G("Please fill in all required fields.","error");return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r.email)){G("Please enter a valid email address.","error");return}if(!P()){(En=E.current)==null||En.reportValidity();return}if(!s){G("Please agree to the SMS messaging terms.","error");return}c(!0),b(null),m(null);const z=S.current,W=z&&typeof z.getNumber=="function"?z.getNumber():((Ot=E.current)==null?void 0:Ot.value.trim())||"",K=(ln=z==null?void 0:z.getSelectedCountryData())==null?void 0:ln.iso2;if(!await Q(r.email)){G(x||"This email address appears invalid. Please check for typos.","error"),c(!1);return}if(!await q(W,K)){G(v||"We couldn't confirm this phone number. Please check for any typos and try again.","error"),c(!1);return}if(!I.current){G("Please complete the security check.","error"),c(!1);return}const ne=new FormData;ne.append("Form","Lovable"),ne.append("Name",r.name),ne.append("Email",r.email),ne.append("Phone",W),ne.append("template",window.templateName||"uae_sales_mena"),ne.append("cf-turnstile-response",I.current);try{const Nn=await(await fetch(wk,{method:"POST",body:ne})).json();if(Nn.status!=="success")throw new Error(Nn.error_msg||"Submission failed");G("Thank you! Redirecting...","success"),window.location.href="https://legacyonlineschool.com/thank-you",o({name:"",email:""}),i(!0),E.current&&(E.current.value=""),S.current&&Z(),j.current!==null&&window.turnstile&&(window.turnstile.reset(j.current),I.current=null)}catch(_t){console.error("Form submission error:",_t),G("Something went wrong. Please try again.","error")}finally{c(!1)}};return w.useEffect(()=>(E.current&&!S.current&&(S.current=xk(E.current,{initialCountry:"us",separateDialCode:!1,nationalMode:!1,strictMode:!0,loadUtils:()=>BS(()=>import("./utils-CgUVv-qm.js"),[])}),Z(),E.current.addEventListener("countrychange",Z)),te(()=>{if(y.current){const R=()=>{var B,z;$(),(B=y.current)==null||B.removeEventListener("click",R),(z=y.current)==null||z.removeEventListener("focusin",R)};y.current.addEventListener("click",R),y.current.addEventListener("focusin",R)}}),()=>{if(j.current!==null&&window.turnstile)try{window.turnstile.remove(j.current)}catch{}if(S.current){try{S.current.destroy()}catch{}S.current=null}}),[]),a.jsxs("form",{ref:y,onSubmit:T,className:e,children:[a.jsxs("div",{className:`grid grid-cols-1 ${t==="inline"?"md:grid-cols-4":"md:grid-cols-2"} gap-3 md:gap-4`,children:[a.jsxs("div",{className:"form-input",children:[a.jsx("div",{className:"icon",children:a.jsx(Qu,{className:"w-5 h-5 text-accent-purple"})}),a.jsx("input",{type:"text",name:"Name",placeholder:"Name",value:r.name,onChange:R=>o(B=>({...B,name:R.target.value})),required:!0})]}),a.jsxs("div",{className:"form-input phone-wrapper",children:[a.jsx("div",{className:"icon",children:a.jsx(Vu,{className:"w-5 h-5 text-accent-red"})}),a.jsx("input",{ref:E,type:"tel",name:"Phone",placeholder:"Phone",onInput:R=>{R.target.setCustomValidity(""),Z()}})]}),a.jsxs("div",{className:"form-input",children:[a.jsx("div",{className:"icon",children:a.jsx(Wu,{className:"w-5 h-5 text-accent-lime"})}),a.jsx("input",{type:"email",name:"Email",placeholder:"Email",value:r.email,onChange:R=>o(B=>({...B,email:R.target.value})),required:!0})]}),a.jsx(io,{type:"submit",disabled:l,className:"bg-accent-red hover:bg-accent-red/90 text-white px-8 w-full h-full min-h-[48px] text-lg",children:l?"Sending...":t==="inline"?"Request information":"Submit"})]}),(h||p)&&a.jsx("div",{className:"validation-loading mt-3",children:h?"Validating email...":"Validating phone..."}),x&&a.jsx("div",{className:"validation-error mt-3",children:x}),v&&a.jsx("div",{className:"validation-error mt-3",children:v}),a.jsx("div",{ref:A,className:"turnstile-container mt-4"}),n&&a.jsx("a",{href:"https://legacyonlineschool.com/apply/",target:"_blank",rel:"noopener noreferrer",className:"block mt-4",children:a.jsx("button",{type:"button",className:"w-full bg-[hsl(var(--accent-green))] hover:bg-[hsl(var(--accent-green))]/90 text-white font-bold not-italic px-8 min-h-[48px] text-lg rounded-xl shadow-md transition-colors",children:"Enroll Online & Save 20%"})}),a.jsxs("div",{className:"flex items-start gap-2 mt-4 md:mt-6",children:[a.jsx("input",{type:"checkbox",id:"sms-consent",checked:s,onChange:R=>i(R.target.checked),className:"mt-1 flex-shrink-0 w-5 h-5 accent-[hsl(var(--accent-green))] cursor-pointer",style:{appearance:"auto",WebkitAppearance:"checkbox"}}),a.jsxs("label",{htmlFor:"sms-consent",className:"text-xs leading-relaxed not-italic",children:["You acknowledge that you have read, understood, and agree to the"," ",a.jsx("a",{href:"#",className:"underline text-accent-red",children:"terms and Conditions for SMS Messaging"})]})]}),u&&a.jsx("div",{className:`notification ${u.type} mt-4`,children:u.message})]})},bk="/assets/hero-student-CmnuNXEo.png",Ck=["Elementary, Middle, and High School","Live teaching in small groups","US Certified Diploma upon graduation","State-Accredited Curriculum","Qualified Teachers","Personal Learning Support Specialist (LSS)"],Ek=()=>a.jsx("section",{className:"py-12 md:py-16 lg:py-20 px-4 md:px-6",children:a.jsx("div",{className:"container mx-auto max-w-6xl",children:a.jsxs("div",{className:"flex flex-col lg:flex-row gap-8 lg:gap-12 items-start",children:[a.jsxs("div",{className:"flex-1 w-full",children:[a.jsx("h1",{className:"text-3xl md:text-4xl lg:text-[2.75rem] font-bold leading-[1.15] mb-6",children:"Legacy Online School International Reviews"}),a.jsx("ul",{className:"space-y-2 mb-8",children:Ck.map((e,t)=>a.jsxs("li",{className:"flex items-center gap-2.5 text-base md:text-lg text-muted-foreground",children:[a.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-foreground flex-shrink-0","aria-hidden":"true"}),e]},t))}),a.jsxs("div",{className:"mb-6",children:[a.jsx("h2",{className:"text-xl md:text-2xl font-bold mb-1 sr-only",children:"Enrollment"}),a.jsx("p",{className:"mb-4 font-bold",style:{color:"#2A8BEA",fontSize:"1.25rem"},children:"Enrollment is open"}),a.jsx(Wf,{showEnrollButton:!1})]})]}),a.jsx("div",{className:"w-full lg:w-[45%] flex-shrink-0",children:a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:bk,alt:"Student learning online with headset",className:"w-full rounded-2xl object-cover aspect-[4/5] lg:aspect-[3/4]"}),a.jsx("div",{className:"absolute bottom-4 left-4 right-4 sm:bottom-6 sm:left-6 sm:right-6",children:a.jsxs("div",{className:"bg-primary rounded-2xl px-5 py-4 flex items-center gap-3 shadow-lg",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-primary-foreground
178/20 flex items-center justify-center flex-shrink-0",children:a.jsx(so,{className:"w-5 h-5 text-primary-foreground"})}),a.jsx("p",{className:"text-primary-foreground font-bold text-base md:text-lg leading-tight",children:"Top-Quality Accredited Education from just $670/Semester!"})]})})]})})]})})}),Nk=()=>a.jsx("section",{className:"py-16 md:py-20 px-4 md:px-6",children:a.jsxs("div",{className:"container mx-auto max-w-5xl relative bg-card rounded-2xl shadow-sm border border-border/50 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-x-0 top-0 h-[6px] bg-primary rounded-t-2xl"}),a.jsxs("div",{className:"p-8 md:p-12 lg:p-16 space-y-10",children:[a.jsx("div",{children:a.jsxs("p",{className:"text-base text-muted-foreground leading-relaxed",children:["Researching Legacy Online School? Two things are independently verifiable before reading any review: WASC approval at"," ",a.jsx("a",{href:"https://acswasc.org",className:"underline text-foreground",target:"_blank",rel:"noopener noreferrer",children:"acswasc.org"})," ","and College Board listing at School Code 000114, verifiable"," ",a.jsx("a",{href:"https://satsuite.collegeboard.org/k12-educators/tools-resources/k12-school-code-search",className:"underline text-foreground",target:"_blank",rel:"noopener noreferrer",children:"here"}),". WASC is the same regional accrediting body that evaluates traditional US schools. Everything else on this page – teacher quality, support, outcomes – comes from real family accounts."]})}),a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-foreground mb-4",children:"What Do Reviews Actually Say?"}),a.jsx("p",{className:"text-base text-muted-foreground leading-relaxed",children:"Reviews range from detailed parent accounts to short notes. Read enough reviews and three things stand out:"})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-bold text-foreground mb-3",children:"Teacher Quality"}),a.jsx("p",{className:"text-base text-muted-foreground leading-relaxed",children:"Our teachers are qualified educators, many with backgrounds in special education and ADHD instruction. Classes run with a maximum of 15 students, so teachers actually get to know the kids they're working with. Traditional schools run at a teacher-to-student ratio of 1:25 to 1:30. Parents who've switched from traditional schooling notice that gap quickly, particularly those whose children need more individual attention and social interaction than a full classroom allows."})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-bold text-foreground mb-3",children:"Support and Communication"}),a.jsx("p",{className:"text-base text-muted-foreground leading-relaxed",children:"Every student gets a personal Learning Support Specialist. It is a real person who tracks progress, helps with assignments, and checks in with parents without waiting to be asked. Reviews mention the LSS team more than almost anything else. At this price point for international schooling, that kind of hands-on trust is hard to find."})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-bold text-foreground mb-3",children:"Flexibility"}),a.jsx("p",{className:"text-base text-muted-foreground leading-relaxed",children:"The families who highly recommend enrolling are usually the ones traditional school calendars couldn't accommodate – internationally competitive young athletes, children dealing with health issues, families in the middle of a relocation across the globe. Self-paced means exactly that: the student sets the pace, not the school."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-foreground mb-4",children:"Academic Outcomes: What the Numbers Show"}),a.jsx("p",{className:"text-base text-muted-foreground leading-relaxed mb-6",children:"Reviews tell you about experience. Verifiable data tells you about results."}),a.jsx("div",{className:"overflow-x-auto rounded-xl border border-border/50",children:a.jsxs("table",{className:"w-full text-base",children:[a.jsx("thead",{className:"bg-muted/50",children:a.jsxs("tr",{children:[a.jsx("th",{className:"text-left font-bold text-foreground p-4",children:"Metric"}),a.jsx("th",{className:"text-left font-bold text-foreground p-4",children:"Legacy Online School"})]})}),a.jsxs("tbody",{className:"text-muted-foreground",children:[a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"Teacher-to-student ratio"}),a.jsx("td",{className:"p-4",children:"1:15"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"Countries served"}),a.jsx("td",{className:"p-4",children:"15+"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"Academic year"}),a.jsx("td",{className:"p-4",children:"36–42 weeks"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"AP courses available"}),a.jsx("td",{className:"p-4",children:"17"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"College Board status"}),a.jsx("td",{className:"p-4",children:"Level I, Code 000114"})]})]})]})}),a.jsx("p",{className:"text-base text-muted-foreground leading-relaxed mt-6",children:"The 36–42 week academic year is longer than the US national standard of 36 weeks, giving young learners more instructional time without disrupting family life."}),a.jsx("p",{className:"text-base text-muted-foreground leading-relaxed mt-3",children:"The 1:15 ratio isn't a marketing claim. It's a structural feature of how we run group learning sessions, confirmed in the school's handbook."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-foreground mb-4",children:"Third-Party Recognition: What Can Be Verified Independently"}),a.jsx("p",{className:"text-base text-muted-foreground leading-relaxed",children:"Our school has received recognition in the 'Best Homeschool Curriculum, Products and Resources' category by HowToHomeschool.com and the Digital Education Awards. Our school is an official SkillsUSA chapter and an official NSTEM chapter. Students get access to competitive events, leadership programs, and scholarship opportunities through both. These are organizational memberships with public re
178cords behind them, not awards the school gave itself."})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-foreground mb-4",children:"How Legacy Compares to Other International Online Schools"}),a.jsx("div",{className:"overflow-x-auto rounded-xl border border-border/50",children:a.jsxs("table",{className:"w-full text-base",children:[a.jsx("thead",{className:"bg-muted/50",children:a.jsxs("tr",{children:[a.jsx("th",{className:"text-left font-bold text-foreground p-4",children:"Feature"}),a.jsx("th",{className:"text-left font-bold text-foreground p-4",children:"Legacy"}),a.jsx("th",{className:"text-left font-bold text-foreground p-4",children:"Typical K–12 Online School"})]})}),a.jsxs("tbody",{className:"text-muted-foreground",children:[a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"WASC accreditation"}),a.jsx("td",{className:"p-4",children:"Yes"}),a.jsx("td",{className:"p-4",children:"Varies"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"College Board AP courses"}),a.jsx("td",{className:"p-4",children:"Yes, Code 000114"}),a.jsx("td",{className:"p-4",children:"Varies"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"Live teaching"}),a.jsx("td",{className:"p-4",children:"Yes, 1:15 ratio"}),a.jsx("td",{className:"p-4",children:"Not always"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"Self-paced option"}),a.jsx("td",{className:"p-4",children:"Yes"}),a.jsx("td",{className:"p-4",children:"Sometimes"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"Personal LSS per student"}),a.jsx("td",{className:"p-4",children:"Yes"}),a.jsx("td",{className:"p-4",children:"Rarely"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"IEP support"}),a.jsx("td",{className:"p-4",children:"Yes"}),a.jsx("td",{className:"p-4",children:"Varies"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"Extracurricular activities"}),a.jsx("td",{className:"p-4",children:"Yes, virtual clubs"}),a.jsx("td",{className:"p-4",children:"Rarely"})]}),a.jsxs("tr",{className:"border-t border-border/50",children:[a.jsx("td",{className:"p-4",children:"International students"}),a.jsx("td",{className:"p-4",children:"15+ countries"}),a.jsx("td",{className:"p-4",children:"Usually US-only"})]})]})]})})]}),a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-foreground mb-4",children:"Who Should Enroll at Legacy?"}),a.jsx("p",{className:"text-base text-muted-foreground leading-relaxed mb-4",children:"We tend to work well for three kinds of families:"}),a.jsxs("ul",{className:"list-disc pl-6 space-y-2 text-base text-muted-foreground leading-relaxed",children:[a.jsx("li",{children:"Those looking for global exposure through a US syllabus"}),a.jsx("li",{children:"Multicultural families with children who want an American curriculum via English-medium instruction and have their sights set on universities in the USA, UK, or Europe"}),a.jsx("li",{children:"Expat families in Singapore, the UAE, Europe, and Latin America who need a quality education that travels with them"})]}),a.jsx("p",{className:"text-base text-muted-foreground leading-relaxed mt-4",children:"Academically ambitious enrollees who want Advanced Placement courses provided by the school, credit transfer options, and a learning experience that accommodates their pace."})]})]})]})});var ec="Collapsible",[Sk,hx]=xs(ec),[kk,Vf]=Sk(ec),px=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:s,onOpenChange:i,...l}=e,[c,u]=Ua({prop:r,defaultProp:o??!1,onChange:i,caller:ec});return a.jsx(kk,{scope:n,disabled:s,contentId:ky(),open:c,onOpenToggle:w.useCallback(()=>u(f=>!f),[u]),children:a.jsx(_e.div,{"data-state":Kf(c),"data-disabled":s?"":void 0,...l,ref:t})})});px.displayName=ec;var mx="CollapsibleTrigger",gx=w.forwardRef((e,t)=>
vendor: 4,268 bytes, line 178
178{const{__scopeCollapsible:n,...r}=e,o=Vf(mx,n);return a.jsx(_e.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Kf(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:Te(e.onClick,o.onOpenToggle)})});gx.displayName=mx;var Qf="CollapsibleContent",vx=w.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Vf(Qf,e.__scopeCollapsible);return a.jsx(Ba,{present:n||o.open,children:({present:s})=>a.jsx(Ak,{...r,ref:t,present:s})})});vx.displayName=Qf;var Ak=w.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...s}=e,i=Vf(Qf,n),[l,c]=w.useState(r),u=w.useRef(null),f=xt(t,u),h=w.useRef(0),g=h.current,p=w.useRef(0),C=p.current,x=i.open||l,b=w.useRef(x),v=w.useRef(void 0);return w.useEffect(()=>{const m=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(m)},[]),wn(()=>{const m=u.current;if(m){v.current=v.current||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const y=m.getBoundingClientRect();h.current=y.height,p.current=y.width,b.current||(m.style.transitionDuration=v.current.transitionDuration,m.style.animationName=v.current.animationName),c(r)}},[i.open,r]),a.jsx(_e.div,{"data-state":Kf(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!x,...s,ref:f,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style},children:x&&o})});function Kf(e){return e?"open":"closed"}var jk=px,Pk=gx,Tk=vx,Rk=w.createContext(void 0);function Ik(e){const t=w.useContext(Rk);return e||t||"ltr"}var sn="Accordion",Lk=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Yf,Ok,_k]=Fv(sn),[tc,ZA]=xs(sn,[_k,hx]),qf=hx(),yx=O.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,s=r;return a.jsx(Yf.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?a.jsx(zk,{...s,ref:t}):a.jsx(Fk,{...o,ref:t})})});yx.displayName=sn;var[xx,Dk]=tc(sn),[wx,Mk]=tc(sn,{collapsible:!1}),Fk=O.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:s=!1,...i}=e,[l,c]=Ua({prop:n,defaultProp:r??"",onChange:o,caller:sn});return a.jsx(xx,{scope:e.__scopeAccordion,value:O.useMemo(()=>l?[l]:[],[l]),onItemOpen:c,onItemClose:O.useCallback(()=>s&&c(""),[s,c]),children:a.jsx(wx,{scope:e.__scopeAccordion,collapsible:s,children:a.jsx(bx,{...i,ref:t})})})}),zk=O.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...s}=e,[i,l]=Ua({prop:n,defaultProp:r??[],onChange:o,caller:sn}),c=O.useCallback(f=>l((h=[])=>[...h,f]),[l]),u=O.useCallback(f=>l((h=[])=>h.filter(g=>g!==f)),[l]);return a.jsx(xx,{scope:e.__scopeAccordion,value:i,onItemOpen:c,onItemClose:u,children:a.jsx(wx,{scope:e.__scopeAccordion,collapsible:!0,children:a.jsx(bx,{...s,ref:t})})})}),[Bk,nc]=tc(sn),bx=O.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:s="vertical",...i}=e,l=O.useRef(null),c=xt(l,t),u=Ok(n),h=Ik(o)==="ltr",g=Te(e.onKeyDown,p=>{var I;if(!Lk.includes(p.key))return;const C=p.target,x=u().filter(F=>{var D;return!((D=F.ref.current)!=null&&D.disabled)}),b=x.findIndex(F=>F.ref.current===C),v=x.length;if(b===-1)return;p.preventDefault();let m=b;const y=0,E=v-1,S=()=>{m=b+1,m>E&&(m=y)},A=()=>{m=b-1,m<y&&(m=E)};switch(p.key){case"Home":m=y;break;case"End":m=E;break;case"ArrowRight":s==="horizontal"&&(h?S():A());break;case"ArrowDown":s==="vertical"&&S();break;case"ArrowLeft":s==="horizontal"&&(h?A():S());break;case"ArrowUp":s==="vertical"&&A();break}const j=m%v;(I=x[j].ref.current)==null||I.focus()});return a.jsx(Bk,{scope:n,disabled:r,direction:o,orientation:s,children:a.jsx(Yf.Slot,{scope:n,children:a.jsx(_e.div,{...i,"data-orientation":s,ref:c,onKeyDown:r?void 0:g})})})}),wa="AccordionItem",[Uk,Xf]=tc(wa),Cx=O.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,s=nc(wa,n),i=Dk(wa,n),l=qf(n),c=ky(),u=r&&i.value.includes(r)||!1,f=s.disabled||e.disabled;return a.jsx(Uk,{scope:n,open:u,disabled:f,triggerId:c,children:a.jsx(jk,{"data-orientation":s.orientation,"data-state":jx(u),...l,...o,ref:t,disabled:f,open:u,onOpenChange:h=>{h?i.onItemOpen(r):i.onItemClose(r)}})})});Cx.displayName=wa;var Ex="AccordionHeader",Nx=O.forwardRef((e,t)=>
178{const{__scopeAccordion:n,...r}=e,o=nc(sn,n),s=Xf(Ex,n);return a.jsx(_e.h3,{"data-orientation":o.orientation,"data-state":jx(s.open),"data-disabled":s.disabled?"":void 0,...r,ref:t})});Nx.displayName=Ex;var kd="AccordionTrigger",Sx=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=nc(sn,n),s=Xf(kd,n),i=Mk(kd,n),l=qf(n);return a.jsx(Yf.ItemSlot,{scope:n,children:a.jsx(Pk,{"aria-disabled":s.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:s.triggerId,...l,...r,ref:t})})});Sx.displayName=kd;var kx="AccordionContent",Ax=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=nc(sn,n),s=Xf(kx,n),i=qf(n);return a.jsx(Tk,{role:"region","aria-labelledby":s.triggerId,"data-orientation":o.orientation,...i,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});Ax.displayName=kx;function jx(e){return e?"open":"closed"}var $k=yx,Gk=Cx,Hk=Nx,Px=Sx,Tx=Ax;const Wk=$k,Rx=w.forwardRef(({className:e,...t},n)=>a.jsx(Gk,{ref:n,className:ze("border-b",e),...t}));Rx.displayName="AccordionItem";const Ix=w.forwardRef(({className:e,children:t,...n},r)=>a.jsx(Hk,{className:"flex",children:a.jsxs(Px,{ref:r,className:ze("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,a.jsx(EC,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));Ix.displayName=Px.displayName;const Lx=w.forwardRef(({className:e,children:t,...n},r)=>a.jsx(Tx,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:a.jsx("div",{className:ze("pb-4 pt-0",e),children:t})}));Lx.displayName=Tx.displayName;const Vk=[{q:"What should I look for when choosing an international school for an online program?",a:"Look for clear official recognition, a structured curriculum that leads to a recognized high school diploma, positive online school reviews, transparent education and provider information, availability of live classes, and evidence that the learning experience is engaging and easy to follow for children across the globe."},{q:"How important is accreditation for an international school and how does it affect university admissions?",a:"Institutional approval is crucial: it confirms quality standards and helps ensure your high school diploma will be accepted by universities. Always verify the approval with recognized bodies and cross-check against online school reviews and provider claims to avoid fake reviews."},{q:"What can I expect in terms of the learning experience during the first year with international schooling online?",a:"The first year typically focuses on orientation to the platform, building language and study skills, establishing peer interaction, and understanding the structure of online classes. Good programs provide a guide, strong guidance from teachers, and interactive lessons to help your children engage and adapt."},{q:"Are online high school programs universally accepted the same way as local schools?",a:"Acceptance varies by country and university. Programs with solid approval and positive online school reviews tend to be widely accepted around the world. Check specific university admissions policies and confirm that the online school diploma meets your destination's requirements."},{q:"How can parents and their children detect fake reviews when researching online school reviews or K-12 online school reviews?",a:"Look for detailed, dated reviews with specifics about curriculum, teachers, and outcomes; cross-reference testimonials with third-party review sites; beware of overly generic praise or repeated phrases;
178 and check for consistent feedback about tuition, support, and live classes to validate authenticity."},{q:"What role does language and cultural support play in an international school's program?",a:"Language support is essential for international schooling: it enables comprehension of course content, participation in interactive lessons, and successful peer communication. Quality providers offer language assistance, culturally responsive materials, and assistance to help learners adapt worldwide."},{q:"How do online schools keep students engaged and ensure lessons are fun and easy to follow?",a:"Effective international school programs use a mix of live sessions, multimedia resources, frequent assessments, group projects with classmates, and responsive teachers. They design lessons with clear structure and guidance to make content easy to understand and engaging."},{q:"What should I consider about cost, tuition, and premium features when comparing providers?",a:"Look at base tuition, any add-on costs like one-on-one tutoring or advanced science labs, available scholarships, and what the institutional approval means for your child's university applications. Read detailed reviews to assess whether premium features justify higher costs."},{q:"Can international schooling help with university admissions and building a peer network worldwide?",a:"Yes – accredited international schools with strong instructors, recognized diplomas, and active student communities can enhance the prospects university applications and create a global peer network that supports academic and personal growth across countries all over the world."}],Qk=()=>a.jsx("section",{className:"py-16 md:py-20 px-4 md:px-6",children:a.jsxs("div",{className:"container mx-auto max-w-5xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold text-foreground mb-6 md:mb-8",children:"FAQ"}),a.jsx(Wk,{type:"single",collapsible:!0,className:"space-y-3",children:Vk.map((e,t)=>a.jsxs(Rx,{value:`faq-${t}`,className:"bg-muted/40 border border-border/50 rounded-xl px-6 data-[state=open]:bg-muted/60",children:[a.jsxs(Ix,{className:"text-base md:text-lg font-bold text-foreground hover:no-underline py-5 text-left",children:["Q: ",e.q]}),a.jsxs(Lx,{className:"text-base text-muted-foreground leading-relaxed pb-5",children:["A: ",e.a]})]},t))})]})}),Ox="/assets/wasc-logo-DoACcCVF.png",_x="/assets/florida-accreditation-logo-COHJAGEG.png",Kk="/assets/bbb-logo-COzIfqv1.png",Jf="/assets/collegeboard-logo-Bk1OCpcJ.png",Yk=[{logo:Ox,logoAlt:"WASC Accreditation",title:"WASC Accredited",icon:so,accentColor:"hsl(var(--accent-red))",description:"Accredited by the Western Association of Schools and Colleges — a regional agency recognized by the U.S. Department of Education.",bullets:["Meets rigorous academic standards","Globally recognized credentials","Ensures transferability of records"],link:{label:"View Accreditation",href:"https://drive.google.com/file/d/1M6rTpoIJQ4SRj_tIsI5To3AOU9f8r1yH/edit?roistat_visit=686705"}},{logo:_x,logoAlt:"Florida Department of Education",title:"Florida DOE Registered",icon:SC,accentColor:"hsl(var(--primary))",description:"Listed as a private school with the Florida Department of Education, confirming our registration as a recognized institution.",bullets:[{text:"FLDOE Private School Directory",link:"https://www.fldoe.org/schools/school-choice/private-schools/"},"Pinellas District","School Code 9881"],link:{label:"View Registration",href:"https://www.floridaschoolchoice.org/information/privateschooldirectory/?roistat_visit=525738"}},{logo:Kk,logoAlt:"BBB Accredited Business",title:"BBB Accredited",icon:so,accentColor:"hsl(85, 82%, 50%)",description:"Our business practices are independently reviewed and meet BBB standards for trust and accountability.",bullets:["Independently reviewed practices","Clear and honest communication","BBB standards for trust"],link:{label:"Visit BBB Profile",href:"https://www.bbb.org/us/fl/saint-petersburg/profile/education/legacy-online-school-0653-90440320?roistat_visit=686705"}},{logo:Jf,logoAlt:"College Board",title:"College Board Authorized",icon:so,accentColor:"hsl(210, 82%, 54%)",description:"All AP courses are officially reviewed and approved by the C
178ollege Board.",bullets:[{text:"AP Course Ledger",link:"https://apcourseaudit.inflexion.org/ledger/"},"School Name: Legacy Online School","CEEB Code: 000114"],link:{label:"View AP Course Ledger",href:"https://apcourseaudit.inflexion.org/ledger/school/ai/000114?roistat_visit=686705"}}],qk=()=>a.jsx("section",{className:"py-16 md:py-20 px-4 md:px-6",children:a.jsxs("div",{className:"container mx-auto max-w-6xl",children:[a.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-4",children:"Accredited Education"}),a.jsx("p",{className:"text-lg text-muted-foreground text-left mb-12 md:mb-16",children:"Recognized and trusted by educational institutions worldwide"}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:Yk.map((e,t)=>a.jsxs("div",{className:"bg-card rounded-2xl border border-border/50 overflow-hidden flex flex-col",style:{borderLeft:`4px solid ${e.accentColor}`},children:[a.jsx("div",{className:"flex items-center justify-center py-8 px-6 border-b border-border/30",children:a.jsx("img",{src:e.logo,alt:e.logoAlt,className:"h-16 object-contain"})}),a.jsxs("div",{className:"p-6 flex-1 flex flex-col",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{backgroundColor:`${e.accentColor}15`},children:a.jsx(e.icon,{className:"w-5 h-5",style:{color:e.accentColor}})}),a.jsx("h3",{className:"text-xl md:text-2xl font-bold text-foreground",children:e.title})]}),a.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-4",children:e.description}),a.jsx("ul",{className:"space-y-2 mb-6 flex-1",children:e.bullets.map((n,r)=>a.jsxs("li",{className:"flex items-start gap-2",children:[a.jsx(NC,{className:"w-5 h-5 mt-0.5 flex-shrink-0",style:{color:e.accentColor}}),typeof n=="string"?a.jsx("span",{className:"text-[0.9375rem] md:text-[1rem] text-muted-foreground",children:n}):a.jsx("a",{href:n.link,target:"_blank",rel:"noopener noreferrer",className:"text-[0.9375rem] md:text-[1rem] font-medium",style:{color:e.accentColor},children:n.text})]},r))}),a.jsx("div",{className:"border-t border-border/30 pt-4",children:a.jsxs("a",{href:e.link.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-[0.9375rem] font-medium",style:{color:e.accentColor},children:[e.link.label,a.jsx(hy,{className:"w-4 h-4"})]})})]})]},t))})]})}
178),Xk="/assets/teacher-1-CBHNGLeH.jpg",Jk="/assets/teacher-2-CRWXdGjx.jpg",Zk="/assets/teacher-3-CRaEsXMH.jpg",eA="/assets/teacher-4-D1CeHrn7.jpg",tA="/assets/teacher-laura-diaz-BmlbKrk7.png",nA="/assets/teacher-sarah-ferreira-DwEKApP8.png",Ds=[{name:"Zara Dyn Credo",position:"Elementary School Teacher",image:Jk,accentColor:"bg-accent-blue"},{name:"Rafa Vitlen",position:"Spanish Teacher",image:Xk,accentColor:"",accentStyle:"#2A8BEA"},{name:"Benjamin Tetteh",position:"Multidisciplinary Teacher",image:Zk,accentColor:"bg-accent-red"},{name:"Anna Lozovaya",position:"Middle School English Teacher",image:eA,accentColor:"bg-accent-green"},{name:"Laura Diaz",position:"Spanish Teacher",image:tA,accentColor:"bg-accent-blue"},{name:"Sarah Ferreira",position:"Elementary School Teacher",image:nA,accentColor:"",accentStyle:"#2A8BEA"}],rA=()=>{const[e,t]=w.useState(0),n=()=>t(o=>o===0?Ds.length-1:o-1),r=()=>t(o=>o===Ds.length-1?0:o+1);return a.jsx("section",{className:"py-16 md:py-20 px-4 md:px-6",children:a.jsxs("div",{className:"container mx-auto max-w-7xl",children:[a.jsxs("div",{className:"flex items-center justify-between mb-2",children:[a.jsx("div",{className:"flex items-center gap-4 flex-wrap",children:a.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold",children:"Meet Our Teachers"})}),a.jsxs("div",{className:"hidden md:flex items-center gap-2",children:[a.jsx("button",{onClick:n,className:"w-10 h-10 rounded-full bg-secondary flex items-center justify-center hover:bg-secondary/80 transition-colors","aria-label":"Previous teacher",children:a.jsx(Cp,{className:"w-5 h-5"})}),a.jsx("button",{onClick:r,className:"w-10 h-10 rounded-full bg-secondary flex items-center justify-center hover:bg-secondary/80 transition-colors","aria-label":"Next teacher",children:a.jsx(ua,{className:"w-5 h-5"})})]})]}),a.jsx("p",{className:"text-lg text-muted-foreground mb-12 md:mb-16 max-w-3xl",children:"Our classrooms are led by high grade staff who are passionate about educating the world leaders of tomorrow."}),a.jsx("div",{className:"hidden md:grid grid-cols-4 gap-4",children:Array.from({length:4}).map((o,s)=>{const i=Ds[(e+s)%Ds.length];return a.jsx(dm,{...i},`${e}-${s}`)})}),a.jsxs("div",{className:"md:hidden",children:[a.jsx(dm,{...Ds[e]}),a.jsxs("div",{className:"flex items-center gap-2 mt-6",children:[a.jsx("button",{onClick:n,className:"w-10 h-10 rounded-full bg-secondary flex items-center justify-center hover:bg-secondary/80 transition-colors","aria-label":"Previous teacher",children:a.jsx(Cp,{className:"w-5 h-5"})}),a.jsx("button",{onClick:r,className:"w-10 h-10 rounded-full bg-secondary flex items-center justify-center hover:bg-secondary/80 transition-colors","aria-label":"Next teacher",children:a.jsx(ua,{className:"w-5 h-5"})})]})]})]})})},dm=({name:e,position:t,image:n,accentColor:r,accentStyle:o})=>a.jsxs("div",{children:[a.jsx("div",{className:"rounded-xl overflow-hidden",children:a.jsx("img",{src:n,alt:e,className:"w-full aspect-[3/4] object-cover object-top"})}),a.jsxs("div",{className:"bg-secondary/50 rounded-xl border border-border/30 p-5 pt-6 relative mt-3 min-h-[88px]",children:[a.jsx("div",{className:`absolute inset-x-0 top-0 h-1.5 ${r} rounded-t-xl`,style:o?{backgroundColor:o}:void 0}),a.jsx("h3",{className:"text-xl md:text-2xl font-bold truncate",children:e}),a.jsx("p",{className:"text-base text-muted-foreground truncate",children:t})]})]}),Wc=768;function Dx(){const[e,t]=w.useState(void 0);return w.useEffect(()=>{const n=window.matchMedia(`(max-width: ${Wc-1}px)`),r=()=>{t(window.innerWidth<Wc)};return n.addEventListener("change",r),t(window.innerWidth<Wc),()=>n.removeEventListener("change",r)},[]),!!e}const oA="/assets/yahoo-finance-logo-2p6UjUMT.png",sA="/assets/elearning-industry-logo-UTX4kZyy.webp",iA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAA6CAMAAAA9W5R1AAACwVBMVEUAAAAWFhYXFxcYGBgZGRgZGRkaGRgaGRkaGhcaGhkaGhobGRkbGhkbGhobGxgbGxkbGxobGxscGRkcGhgcGhkcGhocGxkcGxocGxscHBccHBgcHBocHBwdGRkdGhkdGhodGxodHBwdHRkdHRwdHR0eFxceGBgeGRkeHR0eHhgeHh4fFxcfHx8gFhYhFhYiISEbGhkbGhobGxgbGxkbGxocGhkcGhocGxgcGxkcGxocHBgcHBkdGRkdGhobGhkbGhobGxocGhkcGhocGxkcGxobGhkbGxkbGxocGhkcGxodGhkbGhkbGhobGxgbGxkbGxocGhkcGhocGxkcGxodGhkbGhkbGxkcGhkcGhocGxkcGxocHBkdGhkbGxkbGxocGhocGxkcGxobGhkbGxkcGxkcGxobGxocGxkcGxobGhobGxkbGxocGhocGxocGxobGhocGhkcGxocGxocGxkcGxocGxobGhobGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxobGhkcGxocGxocGxocGxocGxocGxocGxocGxocGxocGxobGhkcGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxocGxpzYWv/AAAA6nRSTlMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgICAgICAgICAgICAgQEBAQEBAQGBgYGBgYICAgICAgICAgICgoKCgoKCgoMDAwMDA4ODg4QEBASEhISEhQWFhYYGhocHh4eICIkJigqLC4wMjQ2ODg6PD5AQkRGSEpMTE5QUlRWWFpcXmBiZGZoamxucHJ0dnh6fH6Bg4WHiYuNj5GTlZeZm52foaOlp6mrra+xs7W3ubu9v8HDxcfJy83P0dPV19nb3d/h4+Xn6evt7/Hz9ff5+/0+NFTqAAALDklEQVR42u2c+X8UZxnAx6MeUNykclQttra1arVqhSLxoiXpgUcV4oHxoFG3xoNo4kahC7mMuSDEHOROSAgUCKFN5Eoox4YAgZiLnMAuOXazx7x/hbOzx/s+7zwzm52ssD/w/sJnn32Yeec77/tc77MRhOgZzxvNxfVtXX1TTkJusl+YBok8xI6EKJjmX2r4UZ2ooW5SqBcscgI/P9hpGba5SHCwsLZPBMWnltx/WC9dJ/xo0FDv5JVndi1yAp9qFeEVGViGLkZeEgVLK93GP//EGlXln81wuvMFi56AodmjBsvkZuQ3VkUBrSI3T6tMVbeG03SXf2nxE4hp8KjAqmXlrpQogPW+Qzys/rUqqrH/hYpi47ORmMEztSIOqw3cLTMaXFFcDwdLzFfRzIIbhrTFRGYGMYM4rGPgbrujwnG/OcXRsizFFf8D1U6ti9QMruGw9gPzmBQdYU6uE1LwmFG1pFmgNfdqxCbQh8NKcTDyHkN0wIrt4JbWaVStFipZhf83LKGd8SW50RJBZ/MRQRrm4wfuOazNwShQPBg16cZWF0erDSMq3nNYQlK376b2+mVRA2sLD2s6Wal0ktx7WMJncjr6R3pbU6Mokf0FD4s0KXSSZ4nbdc9hReFQwppSZPl1hPQ5HsCSYXkmIa0KTuWzUuBY634AywerCcIa5CLOHJFYTZ4FwfrA2vj4Fx4Kdc/nvr4xPub+wVr9YsKaLyDyh+Lj168OCeuPsPwgFkKVU5KLTA8Jy5Be1XF13DYzYx3tOV7yhmqlIfuwZdQ6PT3WXf6yCixTJTfyfPEzL/6TLP4HL87FtXfI4o+kHeiZnJ29e/NcFUwLUuvPj03P2ka6KhK1Yf3gCFxalz/Oavxmjrh3hIKV3Djg1XBf7Th7x6vhuFCAZY8v143SKGSqzIDCSuzlrOglWfzWHU7sy2OT+jlxlyw23+XEdXJV6izNWKabg8Z5ScYZKrfWf1UTVqoD5jwgca0npHelNqzXWqZ9j58lffihr24nXlUWB/NH4RJ+Nw7dhkl9GCzBfAeDJRgHMFhC9qwC1ofKYVHuitGn+miDHcgv/lQLlnenseMsU8hdNkRIqaAJK3PEJ7b7EssE/8f5OpjTxbQo6medMajNSu7HYAlmKwZLSBnGYAn5Dg7WE1ytUapIfV+eLx9Gkt54LVhm+BjOdGDe72zUgrWiLDCro35JeWDlHGFprWpn8wDP0OmOi3fF/biBNw5isDhawXJS6igGS9jrhLCqREUd/WSsZEUVrPA0JghrtQUqt1OF04QcE7RgVQQiNWcqX6MQ2aL+QfBOsx72JoCNYwO4N8xwY7CEShSWsMuDwfpyK4C1066E4pF8R4NSTFxmDVhCPqQ+Ywy+Y8m8Z2jBygu+v6srArKghXZm4jXsC4EaT9Y0DuubNhTWP3FYa+cwWEIugGUhnpGu0zfgHrpqyLATe29Hx3Uo747VgPU8ZyVbAt83Ss4xVgOW8VZQeggpCl8P1Km3smXGEeqer+CwvnEXhVWgAsuOwgJoT3iuZEop+fLdN4GPMZ+xt26TdJdnTYDiS6oGLKECwrq90ff1C8Ne864O62mmHlYUlFZTYSBmO6JSvA4PVrF+WNYT
178cT5pGogqO0cDTnvnnCLSUIOVwBWYq/wrWSS3N2jA+jtNLT3UKxRS1fPBXJyOawa9sEr0w7KsYTYLU/SlAc7brPyCFiyhGcIa9uU8Z2Tzrg6rE60176ZSu2/HNSEvQgesUv2w6FL51TwjdmzGzypvrdOClQwDNnGPHMLYidukASuRsc9Tz9HbMu5CPotdOsQGJim6YZVHAhYIhNljthHWTxq1YLFVbzm8/ajfvD+rAYvdFkP0on/wcK4ig/3vgx/UDasyIrBOsPJyKj/LyrM0YaXDgx5R0l4rsd4naMBiGyD66EV/yyzoU4oDj5OCblj7IwKrnpUfoHJw5lyiCUvogkvrnHQ3kdyK14C1ig20L9OLbmNgWfyRLTq9cGFVRQQWcBNHBcyJQ8OKwMqEgakrw4vPfy0c1qust7XgsOQFB6K4ffph1UQEFoy/VCDWacNaeQUurXeMDuL6mxasdFZo6wmOXgb7DUlvPQhtcu83rEwVWIWh2q8YWEIxXFpzUiDZ85QWrFwSenhhbQXm0KwfVm1EYJlVYOWx8voQsOKGubYiauZwWHtY4ci/0fEvb1kA/G9TVMFqV4EVYhtyFk4OzRI0YYEY8bp6OTYdLNl0/bDqIgJrFys/ztQmWXltKFjxfOX2iLBwWMMLhWW637B2q5SuQJpeEwqW0MqVdUzCwrehVb0NabsnQjarLvIG/qiKga8KCStlDnZrPaYNKweQ3a4Ka7MzQt4QwCrQCyuLlb9N5UWsvBKH5aawBNiBtFfQhpUGtleRKqz14KilNEKwivXCAp1DtAoHC0DlyHNsmCcuZv/sAJl3XAhYCTMqfoU9pvCevQ5HKIKvwbuFw4QFIh6moWmv6isNvPR54nya+XweX6E4rCWglX4S697dJG+Wc6DHUj+sctxfLSaCb1aJ4LHcMMVNPL9nPueKiHlXTaRhnyz2Mlrk7L2FVRuK1Q2rELc2YcLKV2kaAs59D/IwxWDzS7VoulgufSIkrBxgtEY3KS6fO/5tpSdI1Q3rLfZ+3XphFaikNWWhLPBpfl/sQ8y7Kqy4MZhNPsVd3WztlP/9jlUt7QoP1o/YIufYkzphFakEnxW4r6Ve1Hv3ebbQtS7w/FMbQsOC5WIitoIzaEPhtOi/NGgNv7leL6yl7NGMZ0dA/L35sGABr1ct4KXFPGU/x7j8xXiyoCyNHRYWAGsLF/N3McHWnzvc5NoqrPxD3+ayvrBgwYbNQPC9ok0MC9ZeleCzSjUalJfve4FCH9M4kuibpyt9IbCESu5MfPadnFekTomVPyk8JQW4nkCU/SjojJkLLOVPV8+HBws4LIevfr7+6DWn/uJfpUrxL5tj9Xl6KNTIiH1HfJdAyxBsZrPR32Esf09RlLGPDQxO+qbf9cXgfgcnvjP75P366+O3r4cHawsIb+9Wvm54o2xALA0PVqlK8Fmr9XuhbHqP+Rymr8uhcJ2Pwx8ekZrH6E4eUq9lTdEjkkfgeYg4cKSm8cw0OcDarLFncFhMDZYLVojDKj3DlV86YTk8BKwylbotyA+4hikj20s6SZ/L4G1AmmTbcNcc5RsqGlZQtsNqrGbYPq/X+hCN/ngWljMbhzXOhCRGm/I2GT9mYd1JRWG1vx/3esdoVydoEWkCv5/91gXYwUXjb28DEmve17yrbD9ppvc2WnBWNrjtU5RL8JYJeEMyk4PCIj1MS2Mp32TlKBQALDKahsFyVy9BvZ6b1mLAUbWr+ivM5A9wN23+cOCbj1mI669UMeEMQkI8vJz6iYZZRKPPxO16BdTxnTB0kGjlorBIH3XXS5uhS5mWAiIIi4ylI7CIp/EJzOsRT8tKlIiniXbj5vIN8C4aWeSLF5ns7jy6bsS25UzBqp3/VfBktbK89bV6FoHn7O8EHhaZy0NhkQEaknxyP3Mvscf7SjhYZMKEwCLiocfRgrB43L+pmnn9QNT40uUJfvS+GMyuB5gMqH0CH+OglphUed4WeOWirbsE//sC25oG/bvI3p39sJxBcFcdyPDB6p+YmJTHlDxuXWLsVtoJv+FyXCyQ47jvjnBXsbwuJ1kOOOz+CkOFlRut/poG/4T7F9Qqnqnnbyk8klFc23KopXZPxlJ1JcObRfWtrXV5mxbVyr4us6qltS4/UVtrpWL4G+E/xw/hwYjI+B/vJMex4EZoHQAAAABJRU5ErkJggg==",lA="/assets/business-insider-logo-DAsOjsA-.svg",aA="/assets/barchart-logo-BztjKMgc.svg",Ms=[{src:oA,alt:"Yahoo Finance",className:"w-[10.1rem]",link:"https://finance.yahoo.com/news/legacy-online-school-wins-prestigious-052900743.html"},{src:sA,alt:"eLearning Industry",className:"w-[11.5rem]",link:"https://elearningindustry.com/online-kindergarten-school-virtual-learning-for-early-education?roistat_visit=686705"},{src:iA,alt:"Medium",className:"w-[10.2rem]",link:"https://medium.com/authority-magazine/assembling-your-dream-team-vasilii-kiselev-of-legacy-online-school-on-how-ceos-business-leaders-f2102a5f4b62"},{src:lA,alt:"Business Insider",className:"w-[10.4rem]",link:"https://markets.businessinsider.com/news/stocks/legacy-online-school-wins-prestigious-best-homeschool-curriculum-products-resources-award-1033842454?roistat_visit=644743"},{src:aA,alt:"Barchart",className:"w-[10.4rem]",link:"https://www.barchart.com/story/news/29021166/legacy-online-school-wins-prestigious-best-homeschool-curriculum-products-resources-award?roistat_visit=686705"}],cA=()=>{const e=Dx(),t=e?1:4,[n,r]=w.useState(0),o=()=>{r(l=>(l-1+Ms.length)%Ms.length)},s=()=>{r(l=>(l+1)%Ms.length)},i=Array.from({length:t},(l,c)=>Ms[(n+c)%Ms.length]);return a.jsx("section",{className:"py-12 md:py-16 px-4 md:px-6",children:a.jsxs("div",{className:"container mx-auto max-w-6xl",children:[a.jsxs("div",{className:"flex items-start justify-between mb-2",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-2",children:"As seen on"}),a.jsx("p",{className:"text-[18px] text-muted-foreground mb-8",children:"Recognized by prestigious media, we highlight our commitment to educational excellence."})]}),!e&&a.jsxs("div",{className:"flex gap-2 flex-shrink-0 mt-1",children:[a.jsx("button",{onClick:o,className:"w-10 h-10 rounded-full border border-border flex items-center justify-center transition-colors hover:bg-secondary","aria-label":"Previous logos",children:a.jsx(Gu,{className:"w-5 h-5"})}),a.jsx("button",{onClick:s,className:"w-10 h-10 rounded-full border border-border flex items-center justify-center transition-colors hover:bg-secondary","aria-label":"Next logos",children:a.jsx(Hu,{className:"w-5 h-5"})})]})]}),a.jsx("div",{className:`grid ${e?"grid-cols-1":"grid-cols-4"} gap-8 items-center`,children:i.map((l,c)=>{const u=a.jsx("img",{src:l.src,alt:l.alt,className:`object-contain ${l.className}`,loading:"lazy"});return a.jsx("div",{className:"flex items-center justify-center h-28",children:"link"in l&&l.link?a.jsx("a",{href:l.link,target:"_blank",rel:"noopener noreferrer",children:u}):u},n+c)})}),e&&a.jsxs("div",{className:"flex gap-3 mt-4",children:[a.jsx("button",{onClick:o,className:"w-10 h-10 rounded-full bg-muted flex items-center justify-center transition-colors hover:bg-secondary","aria-label":"Previous logos",children:a.jsx(Gu,{className:"w-5 h-5"})}),a.jsx("button",{onClick:s,className:"w-10 h-10 rounded-full bg-muted flex items-center justify-center transition-colors hover:bg-secondary","aria-label":"Next logos",children:a.jsx(Hu,{className:"w-5 h-5"})})]})]})})},Fs=[{videoId:"Kdmf2YbNdy8",title:"Legacy Online School K-12 Reviews: Making the Right Choice"},{videoId:"O19F4BC8Od0",title:"Legacy Online School K-12 Reviews: What You Need to Know!"},{videoId:"ofY_Oi2CVM4",title:"Legacy Online School K-12 Reviews: I Find Teachers Helpful And I Like It"},{videoId:"OwjImap_x_Q",title:"Legacy Online School K-12 Reviews: School is Very Good For Me"},{videoId:"LeA_hiAk8i0",title:"Legacy Online School K-12 Reviews: The Teachers Are Nice"},{videoId:"8G70H3QBggI",title:"Legacy Online School K-12 Reviews: Real Student Opinion"}],uA=()=>{const[e,t]=w.useState(null),[n,r]=w.useState(0);Dx();const o=()=>typeof window>
178"u"?4:window.innerWidth<768?2:window.innerWidth<1024?3:4,s=w.useCallback(c=>{r(u=>c==="right"?(u+1)%Fs.length:(u-1+Fs.length)%Fs.length)},[]),i=o(),l=Array.from({length:i},(c,u)=>Fs[(n+u)%Fs.length]);return a.jsxs(a.Fragment,{children:[a.jsx("section",{className:"py-16 md:py-20 px-4 md:px-6",children:a.jsxs("div",{className:"container mx-auto max-w-7xl",children:[a.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-3",children:["Legacy Online School ",a.jsx("span",{className:"text-accent-red",children:"Reviews"})]}),a.jsx("p",{className:"text-lg text-muted-foreground mb-8 max-w-3xl",children:"Explore these testimonials to understand better how Legacy Online School is shaping the future of education."}),a.jsxs("div",{className:"relative",children:[a.jsx("button",{onClick:()=>s("left"),className:"absolute -left-5 top-[calc(50%-28px)] -translate-y-1/2 z-10 w-10 h-10 rounded-full bg-card shadow-md border border-border/50 flex items-center justify-center hover:bg-secondary transition-colors","aria-label":"Scroll left",children:a.jsx(Gu,{className:"w-5 h-5 text-foreground"})}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 md:gap-6",children:l.map((c,u)=>a.jsxs("div",{className:"flex flex-col cursor-pointer group",onClick:()=>t(c),children:[a.jsxs("div",{className:"relative aspect-video rounded-xl overflow-hidden bg-black",children:[a.jsx("img",{src:`https://img.youtube.com/vi/${c.videoId}/hqdefault.jpg`,alt:c.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"}),a.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:a.jsx("div",{className:"w-14 h-10 bg-accent-red rounded-lg flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform",children:a.jsx(my,{className:"w-6 h-6 text-white fill-white ml-0.5"})})})]}),a.jsx("p",{className:"mt-3 text-sm md:text-base font-bold leading-snug",children:c.title})]},`${c.videoId}-${u}`))}),a.jsx("button",{onClick:()=>s("right"),className:"absolute -right-5 top-[calc(50%-28px)] -translate-y-1/2 z-10 w-10 h-10 rounded-full bg-card shadow-md border border-border/50 flex items-center justify-center hover:bg-secondary transition-colors","aria-label":"Scroll right",children:a.jsx(Hu,{className:"w-5 h-5 text-foreground"})})]})]})}),e&&a.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/80 p-4",onClick:()=>t(null),children:a.jsxs("div",{className:"relative w-full max-w-4xl aspect-video",onClick:c=>c.stopPropagation(),children:[a.jsx("button",{onClick:()=>t(null),className:"absolute -top-10 right-0 text-white hover:text-white/80 transition-colors","aria-label":"Close video",children:a.jsx(Af,{className:"w-8 h-8"})}),a.jsx("iframe",{className:"w-full h-full rounded-xl",src:`https://www.youtube.com/embed/${e.videoId}?autoplay=1`,title:e.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})]})})]})},dA=()=>{const e=w.useRef(null),t=w.useRef(!1);return w.useEffect(()=>{if(t.current)return;t.current=!0,["https://assets.reviews.io/css/widgets/carousel-widget.css","https://assets.reviews.io/iconfont/reviewsio-icons/style.css"].forEach(o=>{if(!document.querySelector(`link[href^="${o}"]`)){const s=document.createElement("link");s.rel="stylesheet",s.href=`${o}?_t=${Date.now()}`,document.head.appendChild(s)}});const r=document.createElement("script");r.src=`https://widget.reviews.io/carousel-inline-iframeless/dist.js?_t=${Date.now()}`,r.onload=()=>{window.carouselInlineWidget&&e.current&&new window.carouselInlineWidget("reviewsio-carousel-widget",{store:"legacyonlineschool.com",sku:"",lang:"en",carousel_type:"default",styles_carousel:"CarouselWidget--sideHeader--withcards",options:{general:{review_type:"company, product",min_reviews:"1",max_reviews:"20",address_format:"CITY, COUNTRY",enable_auto_scroll:1e4,enable_pause_button:!0,enable_sorting:!1},header:{enable_overall_stars:!0,rating_decimal_places:2},reviews:{enable_customer_name:!0,enable_customer_location:!0,enable_verified_badge:!0,enable_subscriber_badge:!0,enable_recommends_badge:!0,enable_photos:!0,enable_videos:!0,enable_review_date:!0,disable_same_customer:!0,min_review_percent:4,third_party_source:!0,hide_empty_reviews:!0,enable_product_name:!0,tags:"",branch:"",enable_branch_name:!1},popups:{enable_review_popups:!0,enable_helpful_buttons:!0,enable_helpful_count:!0,enable_share_buttons:!0}},translations:{verified_customer:"Verified Customer"},styles:{"--base-font-size":"16px","--base-maxwidth":"100%","--reviewsio-logo-style":"var(--logo-inverted)","--common-star-color":"#0E1311","--common-star-disabled-color":"rgba(0,0,0,0.25)","--medium-star-size":"22px","--small-star-size":"19px","--x-small-star-size":"16px","--x-small-star-display":"inline-flex","--header-order":"1","--header-width":"280px","--header-bg-start-color":"#0E1311","--header-bg-end-color":"#0E1311","--header-gradient-direction":"135deg","--header-padding":"1.5em","--header-border-width":"0px","--header-border-color":"rgba(0,0,0,0.1)","--header-border-radius":"0px","--header-shadow-size":"10px","--header-shadow-color":"rgba(0, 0, 0, 0.05)","--header-star-color":"#ffffff","--header-disabled-star-color":"inherit","--header-heading-text-color":"#ffffff","--header-heading-font-size":"inherit","--header-heading-font-we
178ight":"inherit","--header-heading-line-height":"inherit","--header-heading-text-transform":"inherit","--header-subheading-text-color":"#ffffff","--header-subheading-font-size":"inherit","--header-subheading-font-weight":"300","--header-subheading-line-height":"inherit","--header-subheading-text-transform":"inherit","--item-maximum-columns":"5","--item-background-start-color":"#ffffff","--item-background-end-color":"#ffffff","--item-gradient-direction":"135deg","--item-padding":"1.5em","--item-border-width":"0px","--item-border-color":"rgba(0,0,0,0.1)","--item-border-radius":"0px","--item-shadow-size":"10px","--item-shadow-color":"rgba(0,0,0,0.05)","--heading-text-color":"#0E1311","--heading-text-font-weight":"600","--heading-text-font-family":"inherit","--heading-text-line-height":"1.4","--heading-text-letter-spacing":"0","--heading-text-transform":"none","--body-text-color":"#0E1311","--body-text-font-weight":"400","--body-text-font-family":"inherit","--body-text-line-height":"1.4","--body-text-letter-spacing":"0","--body-text-transform":"none","--scroll-button-icon-color":"#0E1311","--scroll-button-icon-size":"24px","--scroll-button-bg-color":"transparent","--scroll-button-border-width":"0px","--scroll-button-border-color":"rgba(0,0,0,0.1)","--scroll-button-border-radius":"60px","--scroll-button-shadow-size":"0px","--scroll-button-shadow-color":"rgba(0,0,0,0.1)","--scroll-button-horizontal-position":"3px","--scroll-button-vertical-position":"0px","--badge-icon-color":"#0E1311","--badge-icon-font-size":"15px","--badge-text-color":"#0E1311","--badge-text-font-size":"inherit","--badge-text-letter-spacing":"inherit","--badge-text-transform":"inherit","--author-font-size":"inherit","--author-font-weight":"inherit","--author-text-transform":"inherit","--photo-video-thumbnail-size":"60px","--photo-video-thumbnail-border-radius":"0px","--popup-backdrop-color":"rgba(0,0,0,0.75)","--popup-color":"#ffffff","--popup-star-color":"inherit","--popup-disabled-star-color":"inherit","--popup-heading-text-color":"inherit","--popup-body-text-color":"inherit","--popup-badge-icon-color":"inherit","--popup-badge-icon-font-size":"19px","--popup-badge-text-color":"inherit","--popup-badge-text-font-size":"14px","--popup-border-width":"0px","--popup-border-color":"rgba(0,0,0,0.1)","--popup-border-radius":"0px","--popup-shadow-size":"0px","--popup-shadow-color":"rgba(0,0,0,0.1)","--popup-icon-color":"#0E1311","--tooltip-bg-color":"#0E1311","--tooltip-text-color":"#ffffff"}})},document.head.appendChild(r)},[]),a.jsx("section",{className:"pt-16 pb-4 md:pt-20 md:pb-6 px-4 md:px-6",children:a.jsx("div",{className:"container mx-auto max-w-7xl",children:a.jsx("div",{ref:e,id:"reviewsio-carousel-widget"})})})},fA="/assets/hth-award-badge-Bn6u23fs.png",hA="/assets/hth-logo-CKFUAyE8.png",pA="/assets/digital-education-award-badge-Br1jLk6E.png",mA="/assets/nscw-allstar-badge-DUOtN-ID.png",gA=[{image:fA,alt:"How To Homeschool - Best Homeschool Curriculum Award Winner 2024-25",title:"Award-winning Homeschool STEM Curriculum",description:`Legacy Online School emerged as the winner in the "The Best Homeschool Curriculum, Products & Resources!" category, solidifying its position as a leader in the field. This achievement is a testament to the school's unwavering commitment to excellence, innovation, and student success.`},{image:hA,alt:"How To Homeschool",title:"The Best Homeschool Curriculum for Middle School & High School Students",description:"Legacy Online School – Legacy Online School is a fully accredited K-12 online institution dedicated to providing high-quality, flexible education to students worldwide. Our curriculum is designed to foster critical thinking, creativity, and global awareness, with a strong emphasis on STEAM (Science, Technology, Engineering, Arts, and Mathematics) subjects."},{image:pA,alt:"Digital Education Awards 2024 Winner",title:"Digital Education Awards 2024",description:`Legacy Online School emerged as the winner in the "The Best Homeschool Curriculum, Products & Resources!" category, solidifying its position as a leader in the field. This achievement is a testament to the school's unwavering commitment to excellence, innovation, and student success.`},{image:mA,alt:"National School Choice Week - All Star Bronze 2025",title:"National School Choice Week",description:"Thank y
178ou for your participation in our All Star Program for National School Choice Week 2025 and for making it truly extraordinary. As a token of our appreciation, here's an exclusive badge to share on your website and social media channels. You are an All Star!"}],vA=()=>a.jsx("section",{className:"py-16 md:py-20 px-4 md:px-6",children:a.jsxs("div",{className:"container mx-auto max-w-5xl",children:[a.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-4",children:["Our ",a.jsx("span",{className:"text-accent-red",children:"Awards"})]}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground leading-relaxed mb-14 md:mb-20",children:"Recognized by leading educational organizations for our commitment to excellence and innovation."}),a.jsx("div",{className:"space-y-10 md:space-y-12",children:gA.map((e,t)=>a.jsxs("div",{className:"flex flex-col sm:flex-row items-center sm:items-start gap-6 md:gap-10",children:[a.jsx("div",{className:"flex-shrink-0 w-24 h-24 md:w-28 md:h-28 flex items-center justify-center",children:a.jsx("img",{src:e.image,alt:e.alt,className:"max-w-full max-h-full object-contain"})}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-bold mb-2",children:e.title}),a.jsx("p",{className:"text-base md:text-lg text-muted-foreground leading-relaxed",children:e.description})]})]},t))})]})}),yA=[{id:"1",title:"Comprehensive Review",youtubeId:"k0cR1j2GfTM"},{id:"2",title:"The Ultimate Home Education Solution",youtubeId:"arE00-Akdw8"},{id:"3",title:"A Path To Success",youtubeId:"h4iTaBkalW4"},{id:"4",title:"About & Review",youtubeId:"C_Urf2tqKq8"}],xA=()=>{const[e,t]=w.useState(null);return a.jsxs("section",{className:"py-16 md:py-20 px-4 md:px-6",children:[a.jsxs("div",{className:"container mx-auto max-w-5xl",children:[a.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-4",children:["Homeschool Blogger ",a.jsx("span",{className:"text-accent-red",children:"Reviews"})]}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground leading-relaxed mb-12 md:mb-16",children:"Leading homeschool bloggers have reviewed Legacy Online School, praising our flexible curriculum, experienced faculty, and seamless online platform"}),a.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 md:gap-6",children:yA.map(n=>a.jsxs("div",{className:"relative aspect-video rounded-xl overflow-hidden bg-muted cursor-pointer group border border-border/30 shadow-sm",onClick:()=>n.youtubeId&&t(n.youtubeId),children:[n.youtubeId?a.jsx("img",{src:`https://img.youtube.com/vi/${n.youtubeId}/maxresdefault.jpg`,alt:n.title,className:"w-full h-full object-cover transition-transform duration-300 group-hover:scale-105"}):a.jsx("div",{className:"w-full h-full flex items-center justify-center bg-secondary",children:a.jsx("span",{className:"text-muted-foreground text-sm",children:"Video coming soon"})}),a.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:a.jsx("div",{className:"w-14 h-14 rounded-full bg-accent-red/90 flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform duration-300",children:a.jsx(my,{className:"w-6 h-6 text-white fill-white ml-1"})})})]},n.id))})]}),e&&a.jsxs("div",{className:"fixed inset-0 z-50 bg-black/90 flex items-center justify-center p-4",onClick:()=>t(null),children:[a.jsx("button",{className:"absolute top-4 right-4 text-white hover:text-white/80 transition-colors",onClick:()=>t(null),children:a.jsx(Af,{className:"w-8 h-8"})}),a.jsx("div",{className:"w-full max-w-4xl aspect-video",onClick:n=>n.stopPropagation(),children:a.jsx("iframe",{src:`https://www.youtube.com/embed/${e}?autoplay=1`,title:"Blogger Review",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full rounded-xl"})})]})]})},wA="/assets/trustpilot-logo-CO7oifix.png",bA="/assets/niche-logo-BJpwsP0z.png",CA="/assets/trustpilot-review-Ch_wjo6o.png",EA="/assets/niche-review-BJsFx1zv.png",NA=()=>a.jsx("section",{className:"pt-2 pb-12 md:pt-4 md:pb-16 px-4 md:px-6",children:a.jsx("div",{className:"container mx-auto max-w-6xl",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[a.jsxs("a",{href:"https://www.trustpilot.com/review/legacyonlineschool.com",target:"_blank",rel:"noopener noreferrer",className:"bg-card border border-border rounded-2xl p-8 flex flex-col items-start gap-5 hover:shadow-md transition-shadow",children:[a.jsx("img",{src:wA,alt:"Trustpilot",className:"h-8 object-contain"}),a.jsx("img",{src:CA,alt:"Legacy Online School - Reviews 21, 4.6 rating, Private School",className:"h-auto w-full max-w-[450px] object-contain"})]}),a.jsxs("a",{href:"https://www.niche.com/k12/legacy-online-school-fl/",target:"_blank",rel:"noopener noreferrer",className:"bg-card border border-border rounded-2xl p-8 flex flex-col items-start gap-5 hover:shadow-md transition-shadow",children:[a.jsx("img",{src:bA,alt:"Niche",className:"h-14 object-contain"}),a.jsx("img",{src:EA,alt:"Legacy Online School - PK, 1-12, 5 stars, 217 reviews",className:"h-auto w-full max-w-[450px] object-contain"})]})]})})}),fm=()=>a.jsxs("div",{className:"min-h-screen",children:[a.jsx(Ek,{}),a.jsx(cA,{}),a.jsx("section",{className:"py-16 md:py-20 px-4 md:px-6 bg-secondary/30",children:a.jsx("div",{className:"container mx-auto max-w-6xl",children:a.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-4 md:gap-6",children:[{title:"US Certified Diploma",desc:"Upon fulfilling standard graduation requirements, students will receive US Certified Diplomas.",accentColor:"blue-dark"},{title:"US College Guidance",desc:"Expert counselors guide your child from course selection to university admission, making the path to top US colleges easy.",accentColor:"green"},{title:"Accredited Online School",desc:"Fully accredited by WASC, reflecting our commitment to the highest standards in education.",accentColor:"blue"},{title:"Qualified Teachers",desc:"Highly qualified educators who tailor lessons to each student's needs, interests, and abilities.",accentColor:"red"}].map((e,t)=>a.jsxs("div",{className:`bg-card rounded-xl shadow-md border border-border/30 p-6 text-left accent-bar accent-bar-${e.accentColor}`,children:[a.jsx("h3",{className:"text-xl md:text-2xl font-bold mb-2",children:e.title}),a.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:e.desc})]},t))})})}),a.jsx(uA,{}),a.jsx(dA,{}),a.jsx(NA,{}),a.jsx(xA,{}),a.jsx(rA,{}),a.jsx(vA,{}),a.jsx(qk,{}),a.jsx("section",{className:"py-16 md:py-20 px-4 md:px-6",children:a.jsxs("div",{className:"container mx-auto max-w-5xl relative bg-card rounded-2xl shadow-sm border border-border/50 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-x-0 top-0 h-[6px] bg-accent-red rounded-t-2xl"}),a.jsxs("div",{className:"px-8 md:px-10 py-8 pt-10",children:[a.jsxs("h3",{className:"text-xl md:text-2xl font-bold mb-10 md:mb-12",children:["Set the Stage for Your Child's Future Success!"," ",a.jsx("span",{className:"text-accent-red",children:"Enroll Now"})]}),a.jsx(Wf,{variant:"inline",showEnrollButton:!1})]})]})}),a.jsx(Nk,{}),a.jsx(Qk,{})]}),Gr=w.forwardRef(({className:e,type:t,...n},r)=>a.jsx("input",{type:t,className:ze("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background 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-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));
178Gr.displayName="Input";const Mx=w.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:ze("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Mx.displayName="Card";const SA=w.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:ze("flex flex-col space-y-1.5 p-6",e),...t}));SA.displayName="CardHeader";const kA=w.forwardRef(({className:e,...t},n)=>a.jsx("h3",{ref:n,className:ze("text-2xl font-semibold leading-none tracking-tight",e),...t}));kA.displayName="CardTitle";const AA=w.forwardRef(({className:e,...t},n)=>a.jsx("p",{ref:n,className:ze("text-sm text-muted-foreground",e),...t}));AA.displayName="CardDescription";const jA=w.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:ze("p-6 pt-0",e),...t}));jA.displayName="CardContent";const PA=w.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:ze("flex items-center p-6 pt-0",e),...t}));PA.displayName="CardFooter";const Vc=({logo:e,title:t,description:n,ctaText:r,ctaLink:o,image:s,accentColor:i,isExternal:l=!0})=>{const c=`accent-bar-${i}`;return a.jsx(Mx,{className:`overflow-hidden accent-bar ${c} hover:shadow-xl transition-all duration-300`,children:a.jsxs("div",{className:"flex flex-col-reverse md:grid md:grid-cols-2 gap-8 p-8",children:[a.jsxs("div",{className:"flex flex-col justify-center space-y-6",children:[e&&a.jsx("div",{className:"h-16 flex items-center",children:a.jsx("img",{src:e,alt:`${t} logo`,className:"h-full object-contain"})}),a.jsx("h3",{className:"text-3xl font-bold",children:t}),a.jsx("p",{className:"text-base leading-relaxed",children:n}),l?a.jsx("a",{href:o,target:"_blank",rel:"noopener noreferrer",children:a.jsxs(io,{className:"group",children:[r,a.jsx(hy,{className:"ml-2 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})}):a.jsx("a",{href:o,children:a.jsx(io,{children:r})})]}),a.jsx("div",{className:"relative h-[300px] md:h-full rounded-lg overflow-hidden bg-white flex items-center justify-center p-8",children:a.jsx("img",{src:s,alt:t,className:"w-full h-full object-contain"})})]})})},TA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGhSURBVHgBvZaBcYMwDEXFXQZghIyQEdwJwgalG7BB2aBsQDYgGzBCugHtBHQDVSqiGB/Gwgn5dzoDtvwsS/YBsKMQ8Z2sw0Hc1mQp7CmBsHqy1lnAPnCaOBfIzYbQcyXfywQiRc4najJP95mM+y9k3/KNn3/IOmmjoK+4XYX4tvxygI1iqLX6N1hefWP1c+QfZCn5Hqk1ZJ8QGWkvW700JpUxV3k38l5Lzlk5aBWC8rdxG0WVAx510TI10CNOx6WXtnXAHK3RMrXba5woGdI7faXtcwhBYSqklyRJfEXxJe2ZCTAU1LYCsqGhSJ3xpZXHfx9fxHdBcajgDOV2klwbnN9WOjDqqrcma3A6HtnKfGGwsnp7nKuB9UCyVTDqqnfMY2FNeF2BnmQ+tuNmqJXDwl49Dme3DUBZJgoq/ZU8jxGkowWgOXhW1q8ViOQVcbqJGm8UWqgMHLevW8qDFeUf3BobF6njUPrgOP+FYd3Qf8z00BBcdqQK+MZBQ/BdoTHwh0G3wB8O1cB3g67Bd4d64NlToAtwFLCBZ0ngqr8RjX4BbgdKuuBdQMEAAAAASUVORK5CYII=",RA="/assets/partnerships-hero-C2H5QFEg.jpg",IA="/assets/collegeboard-partnership-BukveEta.jpg",LA="/assets/nstem-logo-ClgYnq5q.png",OA="/assets/nstem-partnership-C-HYTk17.jpg",_A="/assets/skillsusa-logo-BNNQgNXz.svg",DA="/assets/skillsusa-partnership-DPddGY-P.jpg",MA="/assets/asu-logo-Dpn0-974.png",FA="/assets/usf-logo-CPVO2ui_.png",zA=()=>a.jsxs("div",{className:"min-h-screen",children:[a.jsx("section",{className:"py-16 px-6 bg-background",children:a.jsx("div",{className:"container mx-auto max-w-7xl",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-start",children:[a.jsxs("div",{children:[a.jsxs("div",{className:"mb-8",children:[a.jsx("h1",{className:"text-4xl md:text-5xl font-bold",children:"Strategic Partnerships"}),a.jsx("p",{className:"text-2xl md:text-3xl font-semibold text-muted-foreground mt-2",children:"Building Excellence Together"})]}),a.jsxs("ul",{className:"space-y-3 mb-10",children:[a.jsxs("li",{className:"flex items-start",children:[a.jsx("span",{className:"mr-3",children:"•"}),a.jsx("span",{children:"College Board Approved School"})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("span",{className:"mr-3",children:"•"}),a.jsx("span",{children:"National STEM Honor Society Partner"})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("span",{className:"mr-3",children:"•"}),a.jsx("span",{children:"SkillsUSA Career Ready Programs"})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("span",{className:"mr-3",children:"•"}),a.jsx("span",{children:"University Dual Enrollment Options"})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("span",{className:"mr-3",children:"•"}),a.jsx("span",{children:"Industry-Leading Educational Partners"})]})]}),a.jsx("div",{className:"mb-6"}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"relative",children:[a.jsx(Qu,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5",style:{color:"#2A8BEA"}}),a.jsx(Gr,{placeholder:"Name",className:"pl-10"})]}),a.jsxs("div",{className:"relative",children:[a.jsx(Vu,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5",style:{color:"#F73C5C"}}),a.jsx(Gr,{placeholder:"Phone",className:"pl-10"})]}),a.jsxs("div",{className:"relative",children:[a.jsx(Wu,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-primary"}),a.jsx(Gr,{placeholder:"Email",className:"pl-10"})]}),a.jsxs("div",{className:"flex items-start gap-2",children:[a.jsx("input",{type:"checkbox",id:"terms",className:"mt-1"}),a.jsxs("label",{htmlFor:"terms",className:"text-xs",children:["You acknowledge that you have read, understood, and agree to the"," ",a.jsx("a",{href:"#",className:"underline",children:"Terms and Conditions for SMS Messaging"})]})]}),a.jsx(io,{className:"w-full bg-accent-red hover:bg-accent-red/90",children:"Learn More"})]})]}),a.jsx("div",{className:"relative",children:a.jsxs("div",{className:"bg-primary/5 rounded-2xl p-8 relative",children:[a.jsx("div",{className:"aspect-[4/5] rounded-lg overflow-hidden",children:a.jsx("img",{src:RA,alt:"Partnership event",className:"w-full h-full object-cover object-[35%_30%]"})}),a.jsx("div",{className:"absolute bottom-4 right-4 bg-primary rounded-lg p-4 text-white max-w-[280px]",children:a.jsxs("div",{className:"flex items-start gap-2 mb-2",children:[a.jsx("img",{src:TA,alt:"checkmark",className:"w-5 h-5 flex-shrink-0 mt-0.5"}),a.jsx("p",{className:"text-sm font-bold text-white",children:"Partnering with leading educational organizations worldwide!"})]})})]})})]})})}),a.jsx("section",{className:"py-12 px-6 bg-secondary/30",children:a.jsx("div",{className:"container mx-auto max-w-7xl",children:a.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:[a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm accent-bar accent-bar-blue",children:[a.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:"Strategic Partners"}),a.jsx("p",{className:"text-xl font-bold",children:"15+"})]}),a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm accent-bar accent-bar-blue-dark",children:[a.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:"University Partners"}),a.jsx("p",{className:"text-xl font-bold",children:"6"})]}),a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm accent-bar accent-bar-green",children:[a.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:"AP Courses Available"}),a.jsx("p",{className:"text-xl font-bold",children:"20+"})]}),a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm accent-bar accent-bar-red",children:[a.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:"Years of Partnership"}),a.jsx("p",{className:"text-lg font-bold",children:"Since 2019"})]})]})})}),a.jsx("section",{className:"py-16 px-6 bg-background",children:a.jsxs("div",{className:"container mx-auto max-w-7xl",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[a.jsx("div",{className:"bg-primary rounded-lg p-3",children:a.jsx(Ep,{className:"w-6 h-6 text-white"})}),a.jsx("h2",{className:"text-3xl font-bold",children:"Our Partnership Philosophy"})]}),a.jsxs("div",{className:"bg-card rounded-xl p-8 shadow-sm accent-bar accent-bar-blue",children:[a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:"At Legacy Online School, we believe that strategic partnerships are essential to providing our students with the best possible educational experience. By collaborating with leading educational institutions, industry organizations, and technology providers, we ensure our curriculum remains cutting-edge and relevant."}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Our partnerships provide students with unique opportunities including dual enrollment at top universities, access to advanced placement courses, career readiness programs, and exclusive scholarships that help make quality education accessible to all."})]})]})}),a.jsx("section",{className:"py-16 px-6 bg-secondary/30",children:a.jsxs("div",{className:"container mx-auto max-w-7xl",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-10",children:[a.jsx("div",{className:"bg-primary-dark rounded-lg p-3",style:{background:"#2A8BEA"},children:a.jsx(so,{className:"w-6 h-6 text-white"})}),a.jsx("h2",{className:"text-3xl font-bold",children:"Featured Partnerships"})]}),a.jsxs("div",{className:"space-y-8",children:[a.jsx(Vc,{logo:Jf,title:"College Board",description:"As a College Board approved school, Legacy Online School offers Advanced Placement (AP) courses that provide college-level learning opportunities. Our students consistently achieve above-average AP scores, preparing them for success in higher education.",ctaText:"Learn About AP Courses",ctaLink:"https://www.collegeboard.org/",image:IA,accentColor:"blue"}),a.jsx(Vc,{logo:LA,title:"National STEM Honor Society",description:"Our partnership with the National STEM Honor Society recognizes students who excel in science, technology, engineering, and mathematics. Members gain access to exclusive scholarships, networking opportunities, and leadership development programs.",ctaText:"Explore STEM Programs",ctaLink:"https://nstem.org/",image:OA,accentColor:"green"}),a.jsx(Vc,{logo:_A,title:"SkillsUSA",description:"Through SkillsUSA, Legacy students develop career-ready skills and compete in national competitions. This partnership provides hands-on training in technical fields, leadership development, and workplace readiness programs.",ctaText:"Discover Career Programs",ctaLink:"https://www.skillsusa.org/",image:DA,accentColor:"red"})]})]})}),a.jsx("section",{className:"py-16 px-6 bg-background",children:a.jsxs("div",{className:"container mx-auto max-w-7xl",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[a.jsx("div",{className:"bg-accent-green rounded-lg p-3",style:{background:"hsl(85 82% 50%)"},children:a.jsx(py,{className:"w-6 h-6 text-white"})}),a.jsx("h2",{className:"text-3xl font-bold",children:"Dual Enrollment Partners"})]}),a.jsx("p",{className:"text-muted-foreground mb-8 max-w-3xl",children:"Our dual enrollment partnerships allow high school students to earn college credits while completing their secondary education, giving them a head start on their university journey."}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{className:"bg-card rounded-xl p-8 shadow-sm accent-bar accent-bar-blue-dark",children:[a.jsx("div",{className:"flex items-center gap-4 mb-4",children:a.jsx("img",{src:MA,alt:"Arizona State University",className:"h-16 object-contain"})}),a.jsx("h3",{className:"text-xl font-bold mb-3",children:"Arizona State University"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:"Students can earn college credits through ASU's Universal Learner program, accessing courses from one of America's most innovative universities while still in high school."}),a.jsxs("ul",{className:"space-y-2 text-sm",children:[a.jsxs("li",{className:"flex items-start gap-2",children:[a.jsx("span",{className:"text-primary",children:"✓"}),a.jsx("span",{children:"Earn transferable college credits"})]}),a.jsxs("li",{className:"flex items-start gap-2",children:[a.jsx("span",{className:"text-primary",children:"✓"}),a.jsx("span",{children:"Access to 100+ online courses"})]}),a.jsxs("li",{className:"flex items-start gap-2",children:[a.jsx("span",{className:"text-primary",children:"✓"}),a.jsx("span",{children:"Flexible scheduling options"})]})]})]}),a.jsxs("div",{className:"bg-card rounded-xl p-8 shadow-sm accent-bar accent-bar-green",children:[a.jsx("div",{className:"flex items-center gap-4 mb-4",children:a.jsx("img",{src:FA,alt:"University of South Florida",className:"h-16 object-contain"})}),a.jsx("h3",{className:"text-xl font-bold mb-3",children:"University of South Florida"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:"Our partnership with USF provides dual enrollment opportunities that prepare students for success in college-level coursework while earning credits toward their degree."}),a.jsxs("ul",{className:"space-y-2 text-sm",children:[a.jsxs("li",{className:"flex items-start gap-2",children:[a.jsx("span",{className:"text-accent-green",children:"✓"}),a.jsx("span",{children:"Dual enrollment programs"})]}),a.jsxs("li",{className:"flex items-start gap-2",children:[a.jsx("span",{className:"text-accent-green",children:"✓"}),a.jsx("span",{children:"STEM-focused curriculum"})]}),a.jsxs("li",{className:"flex items-start gap-2",children:[a.jsx("span",{className:"text-accent-green",children:"✓"}),a.jsx("span",{children:"Pathway to admission"})]})]})]})]})]})}),a.jsx("section",{className:"py-16 px-6 bg-secondary/30",children:a.jsxs("div",{className:"container mx-auto max-w-7xl",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[a.jsx("div",{className:"bg-accent-red rounded-lg p-3",style:{background:"hsl(350 92% 60%)"},children:a.jsx(bC,{className:"w-6 h-6 text-white"})}),a.jsx("h2",{className:"text-3xl font-bold",children:"Partnership Benefits"})]}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[{title:"College Credits",desc:"Earn transferable credits while in high school"},{title:"Exclusive Scholarships",desc:"Access partner-exclusive scholarship opportunities"},{title:"Career Readiness",desc:"Develop skills valued by top employers"},{title:"Networking",desc:"Connect with industry professionals and peers"},{title:"Advanced Courses",desc:"Access rigorous AP and honors curriculum"},{title:"Recognition",desc:"Join honor societies and earn certifications"}].map((e,t)=>a.jsxs("div",{className:"bg-card rounded-xl p-6 shadow-sm border border-border/50",children:[a.jsx("h3",{className:"font-bold mb-2",children:e.title}),a.jsx("p",{className:"text-sm text-muted-foreground",children:e.desc})]},t))})]})}),a.jsx("section",{className:"py-10 md:py-14 px-4 md:px-6 bg-muted/30",children:a.jsx("div",{className:"container mx-auto max-w-6xl",children:a.jsxs("div",{className:"bg-card rounded-2xl p-6 md:p-10 shadow-lg relative overflow-hidden accent-bar accent-bar-blue-dark",children:[a.jsx("div",{className:"absolute top-4 right-4 md:top-6 md:right-8",children:a.jsx("div",{className:"text-primary-dark",children:a.jsx(Ep,{className:"w-10 h-10 md:w-14 md:h-14",strokeWidth:1.5})})}),a.jsxs("div",{className:"pr-16 md:pr-20",children:[a.jsx("h3",{className:"text-xl md:text-2xl lg:text-3xl font-bold mb-1 md:mb-2",children:"Explore Our Partnerships"}),a.jsx("p",{className:"text-sm md:text-base font-semibold text-muted-foreground mb-4 md:mb-6",children:"Learn how our strategic partnerships benefit your education"}),a.jsxs("div",{className:"flex flex-col md:flex-row md:items-center gap-4 md:gap-8",children:[a.jsxs(io,{className:"bg-primary-dark hover:bg-primary-dark/90 rounded-xl px-6 py-3 h-auto text-base font-medium w-fit",children:["Download Partnership Guide ",a.jsx(ua,{className:"ml-2 w-4 h-4"})]}),a.jsx("p",{className:"text-sm md:text-base text-muted-foreground max-w-md leading-relaxed",children:"Get detailed information about all our educational partnerships and how they can help you achieve your academic goals."})]})]})]})})}),a.jsx("section",{className:"py-12 md:py-16 px-4 md:px-6",children:a.jsx("div",{className:"container mx-auto max-w-6xl",children:a.jsxs("div",{className:"bg-card rounded-2xl p-6 md:p-10 shadow-lg accent-bar accent-bar-red",children:[a.jsxs("div",{className:"flex flex-col md:flex-row md:items-start gap-4 mb-6 md:mb-8",children:[a.jsx("di
178v",{className:"bg-accent-red rounded-lg p-3 flex-shrink-0 w-fit",children:a.jsx(so,{className:"w-6 h-6 md:w-8 md:h-8 text-white"})}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-bold mb-2 md:mb-3",children:"Join Legacy Online School Today"}),a.jsx("p",{className:"text-sm mb-4 md:mb-6 leading-relaxed",children:"Experience the benefits of our strategic partnerships and gain access to exclusive opportunities in education, career development, and university preparation. Our partnerships provide the foundation for your academic success."}),a.jsxs("p",{className:"text-sm font-bold mb-4",children:["Ready to learn more about our partnership programs?"," ",a.jsx("span",{className:"text-accent-red",children:"Get in touch today!"})]})]})]}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 md:gap-4",children:[a.jsxs("div",{className:"relative",children:[a.jsx(Qu,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-primary"}),a.jsx(Gr,{placeholder:"Name",className:"pl-10"})]}),a.jsxs("div",{className:"relative",children:[a.jsx(Vu,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-primary"}),a.jsx(Gr,{placeholder:"Phone",className:"pl-10"})]}),a.jsxs("div",{className:"relative",children:[a.jsx(Wu,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-primary"}),a.jsx(Gr,{placeholder:"Email",className:"pl-10"})]})]}),a.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between mt-4 md:mt-6 gap-4",children:[a.jsxs("div",{className:"flex items-start gap-2",children:[a.jsx("input",{type:"checkbox",id:"terms2",className:"mt-1 flex-shrink-0"}),a.jsxs("label",{htmlFor:"terms2",className:"text-xs leading-relaxed",children:["You acknowledge that you have read, understood, and agree to the"," ",a.jsx("a",{href:"#",className:"underline",children:"Terms and Conditions for SMS Messaging"})]})]}),a.jsx(io,{className:"bg-accent-red hover:bg-accent-red/90 w-full md:w-auto",children:"Contact Us Today"})]})]})})})]}),BA=[{name:"Harvard University",image:null},{name:"Stanford University",image:null},{name:"MIT",image:null},{name:"Yale University",image:null},{name:"Princeton University",image:null},{name:"Columbia University",image:null},{name:"UPenn",image:null},{name:"Brown University",image:null},{name:"Cornell University",image:null},{name:"Dartmouth College",image:null},{name:"Duke University",image:null},{name:"Northwestern University",image:null},{name:"Johns Hopkins University",image:null},{name:"UChicago",image:null},{name:"Georgetown University",image:null},{name:"UCLA",image:null},{name:"UC Berkeley",image:null},{name:"NYU",image:null},{name:"USC",image:null},{name:"University of Michigan",image:null}],UA=()=>a.jsx("div",{className:"flex flex-col gap-2 px-4 mt-2",children:[90,75,85,70,80,60].map((e,t)=>a.jsx("div",{className:"rounded-[3px]",style:{height:6,width:`${e}%`,backgroundColor:"hsl(214 32% 91%)"}},t))}),$A=({name:e})=>a.jsxs("div",{className:"group rounded-[16px] border overflow-hidden bg-background cursor-pointer",style:{borderColor:"hsl(214 32% 91%)",transition:"box-shadow 0.22s ease"},onMouseEnter:t=>{t.currentTarget.style.boxShadow="0 8px 32px -4px rgba(0,0,0,0.12)"},onMouseLeave:t=>{t.currentTarget.style.boxShadow="none"},children:[a.jsxs("div",{className:"relative flex flex-col items-center justify-center",style:{aspectRatio:"3/4",backgroundColor:"hsl(216 33% 95%)"},children:[a.jsx(py,{className:"w-6 h-6 text-muted-foreground mb-3"}),a.jsx(UA,{}),a.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100",style:{backgroundColor:"rgba(0,0,0,0.5)",transition:"opacity 0.3s"},children:a.jsx("span",{className:"text-white text-sm font-semibold",children:"View Letter"})})]}),a.jsx("div",{className:"p-3 text-center",children:a.jsx("span",{className:"text-sm font-semibold text-foreground",children:e})})]}),GA=()=>a.jsxs("div",{className:"bg-background min-h-screen",style:{fontFamily:"'Reddit Sans', system-ui, sans-serif"},children:[a.jsx("section",{className:"py-12 md:py-16 px-4 md:px-6",children:a.jsxs("div",{className:"mx-auto",style:{maxWidth:1024},children:[a.jsxs("h2",{className:"font-bold text-center mb-2",style:{fontSize:"clamp(1.5rem, 3vw, 1.875rem)",lineHeight:1.15},children:["Accredited &"," ",a.jsx("span",{className:"text-primary",children:"Recognized"})]}),a.jsx("p",{className:"text-center text-muted-foreground mx-auto mb-10",style:{fontSize:"clamp(1rem, 2vw, 1.125rem)",maxWidth:640,lineHeight:1.6},children:"Legacy Online School is fully accredited and recognized by leading educational organizations."}),a.jsx("div",{className:"flex items-center justify-center gap-8 flex-wrap",children:[Ox,_x,Jf].map((e,t)=>a.jsx("img",{src:e,alt:"Accreditation logo",className:"h-12 md:h-16 object-contain"},t))})]})}),a.jsx("section",{className:"py-12 md:py-16 px-4 md:px-6",children:a.jsxs("div",{className:"mx-auto",style:{maxWidth:1024},children:[a.jsxs("h1",{className:"font-bold text-center mb-4",style:{fontSize:"clamp(2.25rem, 5vw, 3rem)",lineHeight:1.15},children:["Acceptance"," ",a.jsx("span",{className:"text-accent-red",children:"Letters"})]}),a.jsx("p",{className:"text-center text-muted-foreground mx-auto",style:{fontSize:"clamp(1rem, 2vw, 1.125rem)",maxWidth:640,lineHeight:1.6},children:"Our students have been accepted to some of the most prestigious universities in the world. See where Legacy graduates are headed."})]})}),a.jsx("section",{className:"pb-16 md:pb-20 px-4 md:px-6",children:a.jsxs("div",{className:"mx-auto",style:{maxWidth:1152}
178,children:[a.jsx("div",{className:"al-letters-grid grid gap-3 sm:gap-4 lg:gap-5",style:{gridTemplateColumns:"repeat(2, 1fr)"},children:BA.map(e=>a.jsx($A,{name:e.name},e.name))}),a.jsx("style",{children:`
179            @media (min-width: 640px) {
180              .al-letters-grid { grid-template-columns: repeat(3, 1fr) !important; }
181            }
182            @media (min-width: 1024px) {
183              .al-letters-grid { grid-template-columns: repeat(4, 1fr) !important; }
184            }
185          `})]})}),a.jsx("section",{className:"py-16 md:py-20 px-4 md:px-6",children:a.jsxs("div",{className:"mx-auto text-center",style:{maxWidth:720},children:[a.jsx("div",{className:"mx-auto mb-6 flex items-center justify-center",style:{width:56,height:56,borderRadius:"50%",background:"linear-gradient(135deg, hsl(193 83% 61% / 0.1), hsl(351 92% 60% / 0.1))"},children:a.jsx(CC,{className:"w-7 h-7 text-muted-foreground"})}),a.jsxs("h2",{className:"font-bold mb-4",style:{fontSize:"clamp(1.5rem, 3vw, 1.875rem)",lineHeight:1.15},children:["Your Child Could Be"," ",a.jsx("span",{className:"text-primary",children:"Next"})]}),a.jsx("p",{className:"text-muted-foreground mx-auto mb-8",style:{fontSize:"1rem",maxWidth:560,lineHeight:1.6},children:"Join the families who have helped their children gain admission to top universities with Legacy's personalized guidance."}),a.jsxs("button",{className:"inline-flex items-center gap-2 text-white font-bold cursor-pointer border-none",style:{background:"linear-gradient(180deg, hsl(351 88% 60%) 0%, hsl(351 82% 48%) 100%)",borderRadius:10,padding:"14px 32px",fontSize:"1rem",transition:"background-color 0.22s ease, box-shadow 0.22s ease"},children:["Book a Free Consultation",a.jsx(ua,{className:"w-5 h-5"})]})]})}),a.jsx("section",{className:"py-16 md:py-20 px-4 md:px-6",children:a.jsxs("div",{className:"mx-auto",style:{maxWidth:800},children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsx("div",{className:"mx-auto mb-6 flex items-center justify-center",style:{width:56,height:56,borderRadius:"50%",background:"linear-gradient(135deg, hsl(193 83% 61% / 0.1), hsl(351 92% 60% / 0.1))"},children:a.jsx(so,{className:"w-8 h-8 text-muted-foreground"})}),a.jsxs("h2",{className:"font-bold mb-4",style:{fontSize:"clamp(1.5rem, 3vw, 1.875rem)",lineHeight:1.15},children:["Ready to Get"," ",a.jsx("span",{className:"text-primary",children:"Started?"})]}),a.jsx("p",{className:"text-muted-foreground mx-auto",style:{fontSize:"clamp(1rem, 2vw, 1.125rem)",maxWidth:560,lineHeight:1.6},children:"Fill out the form below and our admissions team will reach out to you."})]}),a.jsx("div",{className:"bg-background",style:{border:"1px solid hsl(214 32% 91%)",borderRadius:24,padding:"clamp(24px, 4vw, 32px)",boxShadow:"0 4px 24px -2px rgba(0,0,0,0.08)"},children:a.jsx(Wf,{})})]})})]}),HA=()=>{const e=y0();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),a.jsx("div",{className:"flex min-h-screen items-center justify-center bg-gray-100",children:a.jsxs("div",{className:"text-center",children:[a.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),a.jsx("p",{className:"mb-4 text-xl text-gray-600",children:"Oops! Page not found"}),a.jsx("a",{href:"/",className:"text-blue-500 underline hover:text-blue-700",children:"Return to Home"})]})})},WA=new q2,VA=()=>a.jsx(J2,{client:WA,children:a.jsxs(k2,{children:[a.jsx(lE,{}),a.jsx(zE,{}),a.jsx(MS,{children:a.jsxs(OS,{children:[a.jsx(Co,{path:"/",element:a.jsx(fm,{})}),a.jsx(Co,{path:"/school-profile-1",element:a.jsx(fm,{})}),a.jsx(Co,{path:"/partnerships",element:a.jsx(zA,{})}),a.jsx(Co,{path:"/acceptance-letters",element:a.jsx(GA,{})}),a.jsx(Co,{path:"*",element:a.jsx(HA,{})})]})})]})});_v(document.getElementById("root")).render(a.jsx(VA,{}));

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.