1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/About-DN8mepIA.js","assets/lightbulb-BECiiVLg.js","assets/target-7VtUge67.js","assets/breadcrumbSchema-2mtwhduo.js","assets/rocket-DCdDTEkl.js","assets/Contact-DPepWuYW.js","assets/FLP-tABLBggr.js","assets/Companies-KDlYzS2d.js","assets/News-DhpABhZ9.js","assets/InvestorRelations-Dl1QlHGW.js"])))=>i.map(i=>d[i]); 2function J0(t,r){for(var o=0;o<r.length;o++){const i=r[o];if(typeof i!="string"&&!Array.isArray(i)){for(const l in i)if(l!=="default"&&!(l in t)){const c=Object.getOwnPropertyDescriptor(i,l);c&&Object.defineProperty(t,l,c.get?c:{enumerable:!0,get:()=>i[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))i(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&i(f)}).observe(document,{childList:!0,subtree:!0});function o(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(l){if(l.ep)return;l.ep=!0;const c=o(l);fetch(l.href,c)}})();function Rs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Rc={exports:{}},ms={},Ac={exports:{}},Se={};var Yp;function ew(){if(Yp)return Se;Yp=1;var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.iterator;function S(P){return P===null||typeof P!="object"?null:(P=x&&P[x]||P["@@iterator"],typeof P=="function"?P:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,C={};function E(P,F,Y){this.props=P,this.context=F,this.refs=C,this.updater=Y||b}E.prototype.isReactComponent={},E.prototype.setState=function(P,F){if(typeof P!="object"&&typeof P!="function"&&P!=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,P,F,"setState")},E.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function j(){}j.prototype=E.prototype;function _(P,F,Y){this.props=P,this.context=F,this.refs=C,this.updater=Y||b}var A=_.prototype=new j;A.constructor=_,N(A,E.prototype),A.isPureReactComponent=!0;var D=Array.isArray,$=Object.prototype.hasOwnProperty,W={current:null},V={key:!0,ref:!0,__self:!0,__source:!0};function X(P,F,Y){var ee,fe={},ge=null,ne=null;if(F!=null)for(ee in F.ref!==void 0&&(ne=F.ref),F.key!==void 0&&(ge=""+F.key),F)$.call(F,ee)&&!V.hasOwnProperty(ee)&&(fe[ee]=F[ee]);var be=arguments.length-2;if(be===1)fe.children=Y;else if(1<be){for(var Ne=Array(be),We=0;We<be;We++)Ne[We]=arguments[We+2];fe.children=Ne}if(P&&P.defaultProps)for(ee in be=P.defaultProps,be)fe[ee]===void 0&&(fe[ee]=be[ee]);return{$$typeof:t,type:P,key:ge,ref:ne,props:fe,_owner:W.current}}function J(P,F){return{$$typeof:t,type:P.type,key:F,ref:P.ref,props:P.props,_owner:P._owner}}function se(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function de(P){var F={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(Y){return F[Y]})}var Z=/\/+/g;function he(P,F){return typeof P=="object"&&P!==null&&P.key!=null?de(""+P.key):F.toString(36)}function Q(P,F,Y,ee,fe){var ge=typeof P;(ge==="undefined"||ge==="boolean")&&(P=null);var ne=!1;if(P===null)ne=!0;else switch(ge){case"string":case"number":ne=!0;break;case"object":switch(P.$$typeof){case t:case r:ne=!0}}if(ne)return ne=P,fe=fe(ne),P=ee===""?"."+he(ne,0):ee,D(fe)?(Y="",P!=null&&(Y=P.replace(Z,"$&/")+"/"),Q(fe,F,Y,"",function(We){return We})):fe!=null&&(se(fe)&&(fe=J(fe,Y+(!fe.key||ne&&ne.key===fe.key?"":(""+fe.key).replace(Z,"$&/")+"/")+P)),F.push(fe)),1;if(ne=0,ee=ee===""?".":ee+":",D(P))for(var be=0;be<P.length;be++){ge=P[be];var Ne=ee+he(ge,be);ne+=Q(ge,F,Y,Ne,fe)}else if(Ne=S(P),typeof Ne=="function")for(P=Ne.call(P),be=0;!(ge=P.next()).done;)ge=ge.value,Ne=ee+he(ge,be++),ne+=Q(ge,F,Y,Ne,fe);else if(ge==="object")throw F=String(P),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.");return ne}function ye(P,F,Y){if(P==null)return P;var ee=[],fe=0;return Q(P,ee,"","",function(ge){return F.call(Y,ge,fe++)}),ee}function re(P){if(P._status===-1){var F=P._result;F=F(),F.then(function(Y){(P._status===0||P._status===-1)&&(P._status=1,P._result=Y)},function(Y){(P._status===0||P._status===-1)&&(P._status=2,P._result=Y)}),P._status===-1&&(P._status=0,P._result=F)}if(P._status===1)return P._result.default;throw P._result}var ae={current:null},z={transition:null},I={ReactCurrentDispatcher:ae,ReactCurrentBatchConfig:z,ReactCurrentOwner:W};function U(){throw Error("act(...) is not supported in production builds of React.")}return Se.Children={map:ye,forEach:function(P,F,Y){ye(P,function(){F.apply(this,arguments)},Y)},count:function(P){var F=0;return ye(P,function(){F++}),F},toArray:function(P){return ye(P,function(F){return F})||[]},only:function(P){if(!se(P))throw Error("React.Children.only expected to receive a single React element child.");return P}},Se.Component=E,Se.Fragment=o,Se.Profiler=l,Se.PureComponent=_,Se.StrictMode=i,Se.Suspense=h,Se.__SECRET_INT
vendor: 4,913 bytes, line 2
2ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,Se.act=U,Se.cloneElement=function(P,F,Y){if(P==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+P+".");var ee=N({},P.props),fe=P.key,ge=P.ref,ne=P._owner;if(F!=null){if(F.ref!==void 0&&(ge=F.ref,ne=W.current),F.key!==void 0&&(fe=""+F.key),P.type&&P.type.defaultProps)var be=P.type.defaultProps;for(Ne in F)$.call(F,Ne)&&!V.hasOwnProperty(Ne)&&(ee[Ne]=F[Ne]===void 0&&be!==void 0?be[Ne]:F[Ne])}var Ne=arguments.length-2;if(Ne===1)ee.children=Y;else if(1<Ne){be=Array(Ne);for(var We=0;We<Ne;We++)be[We]=arguments[We+2];ee.children=be}return{$$typeof:t,type:P.type,key:fe,ref:ge,props:ee,_owner:ne}},Se.createContext=function(P){return P={$$typeof:f,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},P.Provider={$$typeof:c,_context:P},P.Consumer=P},Se.createElement=X,Se.createFactory=function(P){var F=X.bind(null,P);return F.type=P,F},Se.createRef=function(){return{current:null}},Se.forwardRef=function(P){return{$$typeof:p,render:P}},Se.isValidElement=se,Se.lazy=function(P){return{$$typeof:y,_payload:{_status:-1,_result:P},_init:re}},Se.memo=function(P,F){return{$$typeof:g,type:P,compare:F===void 0?null:F}},Se.startTransition=function(P){var F=z.transition;z.transition={};try{P()}finally{z.transition=F}},Se.unstable_act=U,Se.useCallback=function(P,F){return ae.current.useCallback(P,F)},Se.useContext=function(P){return ae.current.useContext(P)},Se.useDebugValue=function(){},Se.useDeferredValue=function(P){return ae.current.useDeferredValue(P)},Se.useEffect=function(P,F){return ae.current.useEffect(P,F)},Se.useId=function(){return ae.current.useId()},Se.useImperativeHandle=function(P,F,Y){return ae.current.useImperativeHandle(P,F,Y)},Se.useInsertionEffect=function(P,F){return ae.current.useInsertionEffect(P,F)},Se.useLayoutEffect=function(P,F){return ae.current.useLayoutEffect(P,F)},Se.useMemo=function(P,F){return ae.current.useMemo(P,F)},Se.useReducer=function(P,F,Y){return ae.current.useReducer(P,F,Y)},Se.useRef=function(P){return ae.current.useRef(P)},Se.useState=function(P){return ae.current.useState(P)},Se.useSyncExternalStore=function(P,F,Y){return ae.current.useSyncExternalStore(P,F,Y)},Se.useTransition=function(){return ae.current.useTransition()},Se.version="18.3.1",Se}var Xp;function Pu(){return Xp||(Xp=1,Ac.exports=ew()),Ac.exports}var Zp;function tw(){if(Zp)return ms;Zp=1;var t=Pu(),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function f(p,h,g){var y,x={},S=null,b=null;g!==void 0&&(S=""+g),h.key!==void 0&&(S=""+h.key),h.ref!==void 0&&(b=h.ref);for(y in h)i.call(h,y)&&!c.hasOwnProperty(y)&&(x[y]=h[y]);if(p&&p.defaultProps)for(y in h=p.defaultProps,h)x[y]===void 0&&(x[y]=h[y]);return{$$typeof:r,type:p,key:S,ref:b,props:x,_owner:l.current}}return ms.Fragment=o,ms.jsx=f,ms.jsxs=f,ms}var Jp;function nw(){return Jp||(Jp=1,Rc.exports=tw()),Rc.exports}var d=nw(),Xi={},_c={exports:{}},yt={},Mc={exports:{}},Oc={};var em;function rw(){return em||(em=1,(function(t){function r(z,I){var U=z.length;z.push(I);e:for(;0<U;){var P=U-1>>>1,F=z[P];if(0<l(F,I))z[P]=I,z[U]=F,U=P;else break e}}function o(z){return z.length===0?null:z[0]}function i(z){if(z.length===0)return null;var I=z[0],U=z.pop();if(U!==I){z[0]=U;e:for(var P=0,F=z.length,Y=F>>>1;P<Y;){var ee=2*(P+1)-1,fe=z[ee],ge=ee+1,ne=z[ge];if(0>l(fe,U))ge<F&&0>l(ne,fe)?(z[P]=ne,z[ge]=U,P=ge):(z[P]=fe,z[ee]=U,P=ee);else if(ge<F&&0>l(ne,U))z[P]=ne,z[ge]=U,P=ge;else break e}}return I}function l(z,I){var U=z.sortIndex-I.sortIndex;return U!==0?U:z.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var f=Date,p=f.now();t.unstable_now=function(){return f.now()-p}}var h=[],g=[],y=1,x=null,S=3,b=!1,N=!1,C=!1,E=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(z){for(var I=o(g);I!==null;){if(I.callback===null)i(g);else if(I.startTime<=z)i(g),I.sortIndex=I.expirationTime,r(h,I);else break;I=o(g)}}function D(z){if(C=!1,A(z),!N)if(o(h)!==null)N=!0,re($);else{var I=o(g);I!==null&&ae(D,I.startTime-z)}}function $(z,I){N=!1,C&&(C=!1,j(X),X=-1),b=!0;var U=S;try{for(A(I),x=o(h);x!==null&&(!(x.expirationTime>I)||z&&!de());){var P=x.callback;if(typeof P=="function"){x.callback=null,S=x.priorityLevel;var F=P(x.expirationTime<=I);I=t.unstable_now(),typeof F=="function"?x.callback=F:x===o(h)&&i(h),A(I)}else i(h);x=o(h)}if(x!==null)var Y=!0;else{var ee=o(g);
vendor: 48,869 bytes, lines 2-7
2ee!==null&&ae(D,ee.startTime-I),Y=!1}return Y}finally{x=null,S=U,b=!1}}var W=!1,V=null,X=-1,J=5,se=-1;function de(){return!(t.unstable_now()-se<J)}function Z(){if(V!==null){var z=t.unstable_now();se=z;var I=!0;try{I=V(!0,z)}finally{I?he():(W=!1,V=null)}}else W=!1}var he;if(typeof _=="function")he=function(){_(Z)};else if(typeof MessageChannel<"u"){var Q=new MessageChannel,ye=Q.port2;Q.port1.onmessage=Z,he=function(){ye.postMessage(null)}}else he=function(){E(Z,0)};function re(z){V=z,W||(W=!0,he())}function ae(z,I){X=E(function(){z(t.unstable_now())},I)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(z){z.callback=null},t.unstable_continueExecution=function(){N||b||(N=!0,re($))},t.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<z?Math.floor(1e3/z):5},t.unstable_getCurrentPriorityLevel=function(){return S},t.unstable_getFirstCallbackNode=function(){return o(h)},t.unstable_next=function(z){switch(S){case 1:case 2:case 3:var I=3;break;default:I=S}var U=S;S=I;try{return z()}finally{S=U}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(z,I){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var U=S;S=z;try{return I()}finally{S=U}},t.unstable_scheduleCallback=function(z,I,U){var P=t.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?P+U:P):U=P,z){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=U+F,z={id:y++,callback:I,priorityLevel:z,startTime:U,expirationTime:F,sortIndex:-1},U>P?(z.sortIndex=U,r(g,z),o(h)===null&&z===o(g)&&(C?(j(X),X=-1):C=!0,ae(D,U-P))):(z.sortIndex=F,r(h,z),N||b||(N=!0,re($))),z},t.unstable_shouldYield=de,t.unstable_wrapCallback=function(z){var I=S;return function(){var U=S;S=I;try{return z.apply(this,arguments)}finally{S=U}}}})(Oc)),Oc}var tm;function ow(){return tm||(tm=1,Mc.exports=rw()),Mc.exports}var nm;function sw(){if(nm)return yt;nm=1;var t=Pu(),r=ow();function o(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,s=1;s<arguments.length;s++)n+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function c(e,n){f(e,n),f(e+"Capture",n)}function f(e,n){for(l[e]=n,e=0;e<n.length;e++)i.add(n[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,g=/^[: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]*$/,y={},x={};function S(e){return h.call(x,e)?!0:h.call(y,e)?!1:g.test(e)?x[e]=!0:(y[e]=!0,!1)}function b(e,n,s,a){if(s!==null&&s.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return a?!1:s!==null?!s.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function N(e,n,s,a){if(n===null||typeof n>"u"||b(e,n,s,a))return!0;if(a)return!1;if(s!==null)switch(s.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function C(e,n,s,a,u,m,w){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=u,this.mustUseProperty=s,this.propertyName=e,this.type=n,this.sanitizeURL=m,this.removeEmptyString=w}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){E[e]=new C(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];E[n]=new C(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){E[e]=new C(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){E[e]=new C(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){E[e]=new C(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){E[e]=new C(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){E[e]=new C(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){E[e]=new C(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){E[e]=new C(e,5,!1,e.toLowerCase(),null,!1,!1)});var j=/[\-:]([a-z])/g;function _(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 n=e.replace(j,_);E[n]=new C(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(j,_);E[n]=new C(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(j,_);E[n]=new C(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){E[e]=new C(e,1,!1,e.toLowerCase(),null,!1,!1)}),E.xlinkHref=new C("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){E[e]=new C(e,1,!1,e.toLowerCase(),null,!0,!0)});function A(e,n,s,a){var u=E.hasOwnProperty(n)?E[n]:null;(u!==null?u.type!==0:a||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(N(n,s,u,a)&&(s=null),a||u===null?S(n)&&(s===null?e.removeAttribute(n):e.setAttribute(n,""+s)):u.mustUseProperty?e[u.propertyName]=s===null?u.type===3?!1:"":s:(n=u.attributeName,a=u.attributeNamespace,s===null?e.removeAttribute(n):(u=u.type,s=u===3||u===4&&s===!0?"":""+s,a?e.setAttributeNS(a,n,s):e.setAttribute(n,s))))}var D=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$=Symbol.for("react.element"),W=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),se=Symbol.for("react.provider"),de=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),he=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),ae=Symbol.for("react.offscreen"),z=Symbol.iterator;function I(e){return e===null||typeof e!="object"?null:(e=z&&e[z]||e["@@iterator"],typeof e=="function"?e:null)}var U=Object.assign,P;function F(e){if(P===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);P=n&&n[1]||""}return` 3`+P+e}var Y=!1;function ee(e,n){if(!e||Y)return"";Y=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(L){var a=L}Reflect.construct(e,[],n)}else{try{n.call()}catch(L){a=L}e.call(n.prototype)}else{try{throw Error()}catch(L){a=L}e()}}catch(L){if(L&&a&&typeof L.stack=="string"){for(var u=L.stack.split(` 4`),m=a.stack.split(` 5`),w=u.length-1,k=m.length-1;1<=w&&0<=k&&u[w]!==m[k];)k--;for(;1<=w&&0<=k;w--,k--)if(u[w]!==m[k]){if(w!==1||k!==1)do if(w--,k--,0>k||u[w]!==m[k]){var T=` 6`+u[w].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),T}while(1<=w&&0<=k);break}}}finally{Y=!1,Error.prepareStackTrace=s}return(e=e?e.displayName||e.name:"")?F(e):""}function fe(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=ee(e.type,!1),e;case 11:return e=ee(e.type.render,!1),e;case 1:return e=ee(e.type,!0),e;default:return""}}function ge(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 V:return"Fragment";case W:return"Portal";case J:return"Profiler";case X:return"StrictMode";case he:return"Suspense";case Q:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case de:return(e.displayName||"Context")+".Consumer";case se:return(e._context.displayName||"Context")+".Provider";case Z:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ye:return n=e.displayName||null,n!==null?n:ge(e.type)||"Memo";case re:n=e._payload,e=e._init;try{return ge(e(n))}catch{}}return null}function ne(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ge(n);case 8:return n===X?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function be(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ne(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function We(e){var n=Ne(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),a=""+e[n];if(!e.hasOwnProperty(n)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var u=s.get,m=s.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return u.call(this)},set:function(w){a=""+w,m.call(this,w)}}),Object.defineProperty(e,n,{enumerable:s.enumerable}),{getValue:function(){return a},setValue:function(w){a=""+w},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Tt(e){e._valueTracker||(e._valueTracker=We(e))}function In(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var s=n.getValue(),a="";return e&&(a=Ne(e)?e.checked?"true":"false":e.value),e=a,e!==s?(n.setValue(e),!0):!1}function Pt(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 Po(e,n){var s=n.checked;return U({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??e._wrapperState.initialChecked})}function Ls(e,n){var s=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;s=be(n.value!=null?n.value:s),e._wrapperState={initialChecked:a,initialValue:s,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function jo(e,n){n=n.checked,n!=null&&A(e,"checked",n,!1)}function Ro(e,n){jo(e,n);var s=be(n.value),a=n.type;if(s!=null)a==="number"?(s===0&&e.value===""||e.value!=s)&&(e.value=""+s):e.value!==""+s&&(e.value=""+s);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Ao(e,n.type,s):n.hasOwnProperty("defaultValue")&&Ao(e,n.type,be(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function _r(e,n,s){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var a=n.type;if(!(a!=="submit"&&a!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,s||n===e.value||(e.value=n),e.defaultValue=n}s=e.name,s!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,s!==""&&(e.name=s)}function Ao(e,n,s){(n!=="number"||Pt(e.ownerDocument)!==e)&&(s==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+s&&(e.defaultValue=""+s))}var Dn=Array.isArray;function jt(e,n,s,a){if(e=e.options,n){n={};for(var u=0;u<s.length;u++)n["$"+s[u]]=!0;for(s=0;s<e.length;s++)u=n.hasOwnProperty("$"+e[s].value),e[s].selected!==u&&(e[s].selected=u),u&&a&&(e[s].defaultSelected=!0)}else{for(s=""+be(s),n=null,u=0;u<e.length;u++){if(e[u].value===s){e[u].selected=!0,a&&(e[u].defaultSelected=!0);return}n!==null||e[u].disabled||(n=e[u])}n!==null&&(n.selected=!0)}}function Mr(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(o(91));return U({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function tn(e,n){var s=n.value;if(s==null){if(s=n.children,n=n.defaultValue,s!=null){if(n!=null)throw Error(o(92));if(Dn(s)){if(1<s.length)throw Error(o(93));s=s[0]}n=s}n==null&&(n=""),s=n}e._wrapperState={initialValue:be(s)}}function Fs(e,n){var s=be(n.value),a=be(n.defaultValue);s!=null&&(s=""+s,s!==e.value&&(e.value=s),n.defaultValue==null&&e.defaultValue!==s&&(e.defaultValue=s)),a!=null&&(e.defaultValue=""+a)}function zs(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function st(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 nn(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?st(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Or,$s=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,s,a,u){MSApp.execUnsafeLocalFunction(function(){return e(n,s,a,u)})}:e})(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(Or=Or||document.createElement("div"),Or.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function rn(e,n){if(n){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=n;return}}e.textContent=n}var pr={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},Bs=["Webkit","ms","Moz","O"];Object.keys(pr).forEach(function(e){Bs.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),pr[n]=pr[e]})});function Ir(e,n,s){return n==null||typeof n=="boolean"||n===""?"":s||typeof n!="number"||n===0||pr.hasOwnProperty(e)&&pr[e]?(""+n).trim():n+"px"}function bn(e,n){e=e.style;for(var s in n)if(n.hasOwnProperty(s)){var a=s.indexOf("--")===0,u=Ir(s,n[s],a);s==="float"&&(s="cssFloat"),a?e.setProperty(s,u):e[s]=u}}var Us=U({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 on(e,n){if(n){if(Us[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(o(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(o(61))}if(n.style!=null&&typeof n.style!="object")throw Error(o(62))}}function _o(e,n){if(e.indexOf("-")===-1)return typeof n.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 Mo=null;function Dr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Lr=null,Ln=null,sn=null;function zt(e){if(e=Jo(e)){if(typeof Lr!="function")throw Error(o(280));var n=e.stateNode;n&&(n=fi(n),Lr(e.stateNode,e.type,n))}}function Hs(e){Ln?sn?sn.push(e):sn=[e]:Ln=e}function xe(){if(Ln){var e=Ln,n=sn;if(sn=Ln=null,zt(e),n)for(e=0;e<n.length;e++)zt(n[e])}}function Pe(e,n){return e(n)}function Ae(){}var it=!1;function dt(e,n,s){if(it)return e(n,s);it=!0;try{return Pe(e,n,s)}finally{it=!1,(Ln!==null||sn!==null)&&(Ae(),xe())}}function ft(e,n){var s=e.stateNode;if(s===null)return null;var a=fi(s);if(a===null)return null;s=a[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(s&&typeof s!="function")throw Error(o(231,n,typeof s));return s}var $t=!1;if(p)try{var Ze={};Object.defineProperty(Ze,"passive",{get:function(){$t=!0}}),window.addEventListener("test",Ze,Ze),window.removeEventListener("test",Ze,Ze)}catch{$t=!1}function an(e,n,s,a,u,m,w,k,T){var L=Array.prototype.slice.call(arguments,3);try{n.apply(s,L)}catch(H){this.onError(H)}}var Oo=!1,Ws=null,Vs=!1,Qa=null,ix={onError:function(e){Oo=!0,Ws=e}};function ax(e,n,s,a,u,m,w,k,T){Oo=!1,Ws=null,an.apply(ix,arguments)}function lx(e,n,s,a,u,m,w,k,T){if(ax.apply(this,arguments),Oo){if(Oo){var L=Ws;Oo=!1,Ws=null}else throw Error(o(198));Vs||(Vs=!0,Qa=L)}}function mr(e){var n=e,s=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(s=n.return),e=n.return;while(e)}return n.tag===3?s:null}function yd(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function xd(e){if(mr(e)!==e)throw Error(o(188))}function cx(e){var n=e.alternate;if(!n){if(n=mr(e),n===null)throw Error(o(188));return n!==e?null:e}for(var s=e,a=n;;){var u=s.return;if(u===null)break;var m=u.alternate;if(m===null){if(a=u.return,a!==null){s=a;continue}break}if(u.child===m.child){for(m=u.child;m;){if(m===s)return xd(u),e;if(m===a)return xd(u),n;m=m.sibling}throw Error(o(188))}if(s.return!==a.return)s=u,a=m;else{for(var w=!1,k=u.child;k;){if(k===s){w=!0,s=u,a=m;break}if(k===a){w=!0,a=u,s=m;break}k=k.sibling}if(!w){for(k=m.child;k;){if(k===s){w=!0,s=m,a=u;break}if(k===a){w=!0,a=m,s=u;break}k=k.sibling}if(!w)throw Error(o(189))}}if(s.alternate!==a)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?e:n}function wd(e){return e=cx(e),e!==null?bd(e):null}function bd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=bd(e);if(n!==null)return n;e=e.sibling}return null}var Sd=r.unstable_scheduleCallback,Cd=r.unstable_cancelCallback,ux=r.unstable_shouldYield,dx=r.unstable_requestPaint,Be=r.unstable_now,fx=r.unstable_getCurrentPriorityLevel,Ya=r.unstable_ImmediatePriority,Ed=r.unstable_UserBlockingPriority,Ks=r.unstable_NormalPriority,px=r.unstable_LowPriority,kd=r.unstable_IdlePriority,Gs=null,ln=null;function mx(e){if(ln&&typeof ln.onCommitFiberRoot=="function")try{ln.onCommitFiberRoot(Gs,e,void 0,(e.current.flags&128)===128)}catch{}}var Bt=Math.clz32?Math.clz32:vx,hx=Math.log,gx=Math.LN2;function vx(e){return e>>>=0,e===0?32:31-(hx(e)/gx|0)|0}var qs=64,Qs=4194304;function Io(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 Ys(e,n){var s=e.pendingLanes;if(s===0)return 0;var a=0,u=e.suspendedLanes,m=e.pingedLanes,w=s&268435455;if(w!==0){var k=w&~u;k!==0?a=Io(k):(m&=w,m!==0&&(a=Io(m)))}else w=s&~u,w!==0?a=Io(w):m!==0&&(a=Io(m));if(a===0)return 0;if(n!==0&&n!==a&&(n&u)===0&&(u=a&-a,m=n&-n,u>=m||u===16&&(m&4194240)!==0))return n;if((a&4)!==0&&(a|=s&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=a;0<n;)s=31-Bt(n),u=1<<s,a|=e[s],n&=~u;return a}function yx(e,n){switch(e){case 1:case 2:case 4:return n+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 n+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 xx(e,n){for(var s=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,m=e.pendingLanes;0<m;){var w=31-Bt(m),k=1<<w,T=u[w];T===-1?((k&s)===0||(k&a)!==0)&&(u[w]=yx(k,n)):T<=n&&(e.expiredLanes|=k),m&=~k}}function Xa(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Nd(){var e=qs;return qs<<=1,(qs&4194240)===0&&(qs=64),e}function Za(e){for(var n=[],s=0;31>s;s++)n.push(e);return n}function Do(e,n,s){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Bt(n),e[n]=s}function wx(e,n){var s=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<s;){var u=31-Bt(s),m=1<<u;n[u]=0,a[u]=-1,e[u]=-1,s&=~m}}function Ja(e,n){var s=e.entangledLanes|=n;for(e=e.entanglements;s;){var a=31-Bt(s),u=1<<a;u&n|e[a]&n&&(e[a]|=n),s&=~u}}var Re=0;function Td(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Pd,el,jd,Rd,Ad,tl=!1,Xs=[],Fn=null,zn=null,$n=null,Lo=new Map,Fo=new Map,Bn=[],bx="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 _d(e,n){switch(e){case"focusin":case"focusout":Fn=null;break;case"dragenter":case"dragleave":zn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":Lo.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fo.delete(n.pointerId)}}function zo(e,n,s,a,u,m){return e===null||e.nativeEvent!==m?(e={blockedOn:n,domEventName:s,eventSystemFlags:a,nativeEvent:m,targetContainers:[u]},n!==null&&(n=Jo(n),n!==null&&el(n)),e):(e.eventSystemFlags|=a,n=e.targetContainers,u!==null&&n.indexOf(u)===-1&&n.push(u),e)}function Sx(e,n,s,a,u){switch(n){case"focusin":return Fn=zo(Fn,e,n,s,a,u),!0;case"dragenter":return zn=zo(zn,e,n,s,a,u),!0;case"mouseover":return $n=zo($n,e,n,s,a,u),!0;case"pointerover":var m=u.pointerId;return Lo.set(m,zo(Lo.get(m)||null,e,n,s,a,u)),!0;case"gotpointercapture":return m=u.pointerId,Fo.set(m,zo(Fo.get(m)||null,e,n,s,a,u)),!0}return!1}function Md(e){var n=hr(e.target);if(n!==null){var s=mr(n);if(s!==null){if(n=s.tag,n===13){if(n=yd(s),n!==null){e.blockedOn=n,Ad(e.priority,function(){jd(s)});return}}else if(n===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Zs(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var s=rl(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(s===null){s=e.nativeEvent;var a=new s.constructor(s.type,s);Mo=a,s.target.dispatchEvent(a),Mo=null}else return n=Jo(s),n!==null&&el(n),e.blockedOn=s,!1;n.shift()}return!0}function Od(e,n,s){Zs(e)&&s.delete(n)}function Cx(){tl=!1,Fn!==null&&Zs(Fn)&&(Fn=null),zn!==null&&Zs(zn)&&(zn=null),$n!==null&&Zs($n)&&($n=null),Lo.forEach(Od),Fo.forEach(Od)}function $o(e,n){e.blockedOn===n&&(e.blockedOn=null,tl||(tl=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Cx)))}function Bo(e){function n(u){return $o(u,e)}if(0<Xs.length){$o(Xs[0],e);for(var s=1;s<Xs.length;s++){var a=Xs[s];a.blockedOn===e&&(a.blockedOn=null)}}for(Fn!==null&&$o(Fn,e),zn!==null&&$o(zn,e),$n!==null&&$o($n,e),Lo.forEach(n),Fo.forEach(n),s=0;s<Bn.length;s++)a=Bn[s],a.blockedOn===e&&(a.blockedOn=null);for(;0<Bn.length&&(s=Bn[0],s.blockedOn===null);)Md(s),s.blockedOn===null&&Bn.shift()}var Fr=D.ReactCurrentBatchConfig,Js=!0;function Ex(e,n,s,a){var u=Re,m=Fr.transition;Fr.transition=null;try{Re=1,nl(e,n,s,a)}finally{Re=u,Fr.transition=m}}function kx(e,n,s,a){var u=Re,m=Fr.transition;Fr.transition=null;try{Re=4,nl(e,n,s,a)}finally{Re=u,Fr.transition=m}}function nl(e,n,s,a){if(Js){var u=rl(e,n,s,a);if(u===null)wl(e,n,a,ei,s),_d(e,a);else if(Sx(u,e,n,s,a))a.stopPropagation();else if(_d(e,a),n&4&&-1<bx.indexOf(e)){for(;u!==null;){var m=Jo(u);if(m!==null&&Pd(m),m=rl(e,n,s,a),m===null&&wl(e,n,a,ei,s),m===u)break;u=m}u!==null&&a.stopPropagation()}else wl(e,n,a,null,s)}}var ei=null;function rl(e,n,s,a){if(ei=null,e=Dr(a),e=hr(e),e!==null)if(n=mr(e),n===null)e=null;else if(s=n.tag,s===13){if(e=yd(n),e!==null)return e;e=null}else if(s===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return ei=e,null}function Id(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(fx()){case Ya:return 1;case Ed:return 4;case Ks:case px:return 16;case kd:return 536870912;default:return 16}default:return 16}}var Un=null,ol=null,ti=null;function Dd(){if(ti)return ti;var e,n=ol,s=n.length,a,u="value"in Un?Un.value:Un.textContent,m=u.length;for(e=0;e<s&&n[e]===u[e];e++);var w=s-e;for(a=1;a<=w&&n[s-a]===u[m-a];a++);return ti=u.slice(e,1<a?1-a:void 0)}function ni(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function ri(){return!0}function Ld(){return!1}function bt(e){function n(s,a,u,m,w){this._reactName=s,this._targetInst=u,this.type=a,this.nativeEvent=m,this.target=w,this.currentTarget=null;for(var k in e)e.hasOwnProperty(k)&&(s=e[k],this[k]=s?s(m):m[k]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?ri:Ld,this.isPropagationStopped=Ld,this}return U(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=ri)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=ri)},persist:function(){},isPersistent:ri}),n}var zr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sl=bt(zr),Uo=U({},zr,{view:0,detail:0}),Nx=bt(Uo),il,al,Ho,oi=U({},Uo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:cl,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!==Ho&&(Ho&&e.type==="mousemove"?(il=e.screenX-Ho.screenX,al=e.screenY-Ho.screenY):al=il=0,Ho=e),il)},movementY:function(e){return"movementY"in e?e.movementY:al}}),Fd=bt(oi),Tx=U({},oi,{dataTransfer:0}),Px=bt(Tx),jx=U({},Uo,{relatedTarget:0}),ll=bt(jx),Rx=U({},zr,{animationName:0,elapsedTime:0,pseudoElement:0}),Ax=bt(Rx),_x=U({},zr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mx=bt(_x),Ox=U({},zr,{data:0}),zd=bt(Ox),Ix={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Dx={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"},Lx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fx(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=Lx[e])?!!n[e]:!1}function cl(){return Fx}var zx=U({},Uo,{key:function(e){if(e.key){var n=Ix[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=ni(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Dx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:cl,charCode:function(e){return e.type==="keypress"?ni(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ni(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),$x=bt(zx),Bx=U({},oi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$d=bt(Bx),Ux=U({},Uo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:cl}),Hx=bt(Ux),Wx=U({},zr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vx=bt(Wx),Kx=U({},oi,{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}),Gx=bt(Kx),qx=[9,13,27,32],ul=p&&"CompositionEvent"in window,Wo=null;p&&"documentMode"in document&&(Wo=document.documentMode);var Qx=p&&"TextEvent"in window&&!Wo,Bd=p&&(!ul||Wo&&8<Wo&&11>=Wo),Ud=" ",Hd=!1;function Wd(e,n){switch(e){case"keyup":return qx.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $r=!1;function Yx(e,n){switch(e){case"compositionend":return Vd(n);case"keypress":return n.which!==32?null:(Hd=!0,Ud);case"textInput":return e=n.data,e===Ud&&Hd?null:e;default:return null}}function Xx(e,n){if($r)return e==="compositionend"||!ul&&Wd(e,n)?(e=Dd(),ti=ol=Un=null,$r=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Bd&&n.locale!=="ko"?null:n.data;default:return null}}var Zx={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 Kd(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Zx[e.type]:n==="textarea"}function Gd(e,n,s,a){Hs(a),n=ci(n,"onChange"),0<n.length&&(s=new sl("onChange","change",null,s,a),e.push({event:s,listeners:n}))}var Vo=null,Ko=null;function Jx(e){ff(e,0)}function si(e){var n=Vr(e);if(In(n))return e}function e0(e,n){if(e==="change")return n}var qd=!1;if(p){var dl;if(p){var fl="oninput"in document;if(!fl){var Qd=document.createElement("div");Qd.setAttribute("oninput","return;"),fl=typeof Qd.oninput=="function"}dl=fl}else dl=!1;qd=dl&&(!document.documentMode||9<document.documentMode)}function Yd(){Vo&&(Vo.detachEvent("onpropertychange",Xd),Ko=Vo=null)}function Xd(e){if(e.propertyName==="value"&&si(Ko)){var n=[];Gd(n,Ko,e,Dr(e)),dt(Jx,n)}}function t0(e,n,s){e==="focusin"?(Yd(),Vo=n,Ko=s,Vo.attachEvent("onpropertychange",Xd)):e==="focusout"&&Yd()}function n0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return si(Ko)}function r0(e,n){if(e==="click")return si(n)}function o0(e,n){if(e==="input"||e==="change")return si(n)}function s0(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Ut=typeof Object.is=="function"?Object.is:s0;function Go(e,n){if(Ut(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var s=Object.keys(e),a=Object.keys(n);if(s.length!==a.length)return!1;for(a=0;a<s.length;a++){var u=s[a];if(!h.call(n,u)||!Ut(e[u],n[u]))return!1}return!0}function Zd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jd(e,n){var s=Zd(e);e=0;for(var a;s;){if(s.nodeType===3){if(a=e+s.textContent.length,e<=n&&a>=n)return{node:s,offset:n-e};e=a}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Zd(s)}}function ef(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?ef(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function tf(){for(var e=window,n=Pt();n instanceof e.HTMLIFrameElement;){try{var s=typeof n.contentWindow.location.href=="string"}catch{s=!1}if(s)e=n.contentWindow;else break;n=Pt(e.document)}return n}function pl(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function i0(e){var n=tf(),s=e.focusedElem,a=e.selectionRange;if(n!==s&&s&&s.ownerDocument&&ef(s.ownerDocument.documentElement,s)){if(a!==null&&pl(s)){if(n=a.start,e=a.end,e===void 0&&(e=n),"selectionStart"in s)s.selectionStart=n,s.selectionEnd=Math.min(e,s.value.length);else if(e=(n=s.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var u=s.textContent.length,m=Math.min(a.start,u);a=a.end===void 0?m:Math.min(a.end,u),!e.extend&&m>a&&(u=a,a=m,m=u),u=Jd(s,m);var w=Jd(s,a);u&&w&&(e.rangeCount!==1||e.anchorNode!==u.node||e.anchorOffset!==u.offset||e.focusNode!==w.node||e.focusOffset!==w.offset)&&(n=n.createRange(),n.setStart(u.node,u.offset),e.removeAllRanges(),m>a?(e.addRange(n),e.extend(w.node,w.offset)):(n.setEnd(w.node,w.offset),e.addRange(n)))}}for(n=[],e=s;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<n.length;s++)e=n[s],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var a0=p&&"documentMode"in document&&11>=document.documentMode,Br=null,ml=null,qo=null,hl=!1;function nf(e,n,s){var a=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;hl||Br==null||Br!==Pt(a)||(a=Br,"selectionStart"in a&&pl(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),qo&&Go(qo,a)||(qo=a,a=ci(ml,"onSelect"),0<a.length&&(n=new sl("onSelect","select",null,n,s),e.push({event:n,listeners:a}),n.target=Br)))}function ii(e,n){var s={};return s[e.toLowerCase()]=n.toLowerCase(),s["Webkit"+e]="webkit"+n,s["Moz"+e]="moz"+n,s}var Ur={animationend:ii("Animation","AnimationEnd"),animationiteration:ii("Animation","AnimationIteration"),animationstart:ii("Animation","AnimationStart"),transitionend:ii("Transition","TransitionEnd")},gl={},rf={};p&&(rf=document.createElement("div").style,"AnimationEvent"in window||(delete Ur.animationend.animation,delete Ur.animationiteration.animation,delete Ur.animationstart.animation),"TransitionEvent"in window||delete Ur.transitionend.transition);function ai(e){if(gl[e])return gl[e];if(!Ur[e])return e;var n=Ur[e],s;for(s in n)if(n.hasOwnProperty(s)&&s in rf)return gl[e]=n[s];return e}var of=ai("animationend"),sf=ai("animationiteration"),af=ai("animationstart"),lf=ai("transitionend"),cf=new Map,uf="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 Hn(e,n){cf.set(e,n),c(n,[e])}for(var vl=0;vl<uf.length;vl++){var yl=uf[vl],l0=yl.toLowerCase(),c0=yl[0].toUpperCase()+yl.slice(1);Hn(l0,"on"+c0)}Hn(of,"onAnimationEnd"),Hn(sf,"onAnimationIteration"),Hn(af,"onAnimationStart"),Hn("dblclick","onDoubleClick"),Hn("focusin","onFocus"),Hn("focusout","onBlur"),Hn(lf,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qo="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(" "),u0=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qo));function df(e,n,s){var a=e.type||"unknown-event";e.currentTarget=s,lx(a,n,void 0,e),e.currentTarget=null}function ff(e,n){n=(n&4)!==0;for(var s=0;s<e.length;s++){var a=e[s],u=a.event;a=a.listeners;e:{var m=void 0;if(n)for(var w=a.length-1;0<=w;w--){var k=a[w],T=k.instance,L=k.currentTarget;if(k=k.listener,T!==m&&u.isPropagationStopped())break e;df(u,k,L),m=T}else for(w=0;w<a.length;w++){if(k=a[w],T=k.instance,L=k.currentTarget,k=k.listener,T!==m&&u.isPropagationStopped())break e;df(u,k,L),m=T}}}if(Vs)throw e=Qa,Vs=!1,Qa=null,e}function Oe(e,n){var s=n[Nl];s===void 0&&(s=n[Nl]=new Set);var a=e+"__bubble";s.has(a)||(pf(n,e,2,!1),s.add(a))}function xl(e,n,s){var a=0;n&&(a|=4),pf(s,e,a,n)}var li="_reactListening"+Math.random().toString(36).slice(2);function Yo(e){if(!e[li]){e[li]=!0,i.forEach(function(s){s!=="selectionchange"&&(u0.has(s)||xl(s,!1,e),xl(s,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[li]||(n[li]=!0,xl("selectionchange",!1,n))}}function pf(e,n,s,a){switch(Id(n)){case 1:var u=Ex;break;case 4:u=kx;break;default:u=nl}s=u.bind(null,n,s,e),u=void 0,!$t||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(u=!0),a?u!==void 0?e.addEventListener(n,s,{capture:!0,passive:u}):e.addEventListener(n,s,!0):u!==void 0?e.addEventListener(n,s,{passive:u}):e.addEventListener(n,s,!1)}function wl(e,n,s,a,u){var m=a;if((n&1)===0&&(n&2)===0&&a!==null)e:for(;;){if(a===null)return;var w=a.tag;if(w===3||w===4){var k=a.stateNode.containerInfo;if(k===u||k.nodeType===8&&k.parentNode===u)break;if(w===4)for(w=a.return;w!==null;){var T=w.tag;if((T===3||T===4)&&(T=w.stateNode.containerInfo,T===u||T.nodeType===8&&T.parentNode===u))return;w=w.return}for(;k!==null;){if(w=hr(k),w===null)return;if(T=w.tag,T===5||T===6){a=m=w;continue e}k=k.parentNode}}a=a.return}dt(function(){var L=m,H=Dr(s),K=[];e:{var B=cf.get(e);if(B!==void 0){var te=sl,ie=e;switch(e){case"keypress":if(ni(s)===0)break e;case"keydown":case"keyup":te=$x;break;case"focusin":ie="focus",te=ll;break;case"focusout":ie="blur",te=ll;break;case"beforeblur":case"afterblur":te=ll;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":te=Fd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":te=Px;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":te=Hx;break;case of:case sf:case af:te=Ax;break;case lf:te=Vx;break;case"scroll":te=Nx;break;case"wheel":te=Gx;break;case"copy":case"cut":case"paste":te=Mx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":te=$d}var le=(n&4)!==0,Ue=!le&&e==="scroll",M=le?B!==null?B+"Capture":null:B;le=[];for(var R=L,O;R!==null;){O=R;var q=O.stateNode;if(O.tag===5&&q!==null&&(O=q,M!==null&&(q=ft(R,M),q!=null&&le.push(Xo(R,q,O)))),Ue)break;R=R.return}0<le.length&&(B=new te(B,ie,null,s,H),K.push({event:B,listeners:le}))}}if((n&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",te=e==="mouseout"||e==="pointerout",B&&s!==Mo&&(ie=s.relatedTarget||s.fromElement)&&(hr(ie)||ie[Sn]))break e;if((te||B)&&(B=H.window===H?H:(B=H.ownerDocument)?B.defaultView||B.parentWindow:window,te?(ie=s.relatedTarget||s.toElement,te=L,ie=ie?hr(ie):null,ie!==null&&(Ue=mr(ie),ie!==Ue||ie.tag!==5&&ie.tag!==6)&&(ie=null)):(te=null,ie=L),te!==ie)){if(le=Fd,q="onMouseLeave",M="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(le=$d,q="onPointerLeave",M="onPointerEnter",R="pointer"),Ue=te==null?B:Vr(te),O=ie==null?B:Vr(ie),B=new le(q,R+"leave",te,s,H),B.target=Ue,B.relatedTarget=O,q=null,hr(H)===L&&(le=new le(M,R+"enter",ie,s,H),le.target=O,le.relatedTarget=Ue,q=le),Ue=q,te&&ie)t:{for(le=te,M=ie,R=0,O=le;O;O=Hr(O))R++;for(O=0,q=M;q;q=Hr(q))O++;for(;0<R-O;)le=Hr(le),R--;for(;0<O-R;)M=Hr(M),O--;for(;R--;){if(le===M||M!==null&&le===M.alternate)break t;le=Hr(le),M=Hr(M)}le=null}else le=null;te!==null&&mf(K,B,te,le,!1),ie!==null&&Ue!==null&&mf(K,Ue,ie,le,!0)}}e:{if(B=L?Vr(L):window,te=B.nodeName&&B.nodeName.toLowerCase(),te==="select"||te==="input"&&B.type==="file")var ue=e0;else if(Kd(B))if(qd)ue=o0;else{ue=n0;var pe=t0}else(te=B.nodeName)&&te.toLowerCase()==="input"&&(B.type==="checkbox"||B.type==="radio")&&(ue=r0);if(ue&&(ue=ue(e,L))){Gd(K,ue,s,H);break e}pe&&pe(e,B,L),e==="focusout"&&(pe=B._wrapperState)&&pe.controlled&&B.type==="number"&&Ao(B,"number",B.value)}switch(pe=L?Vr(L):window,e){case"focusin":(Kd(pe)||pe.contentEditable==="true")&&(Br=pe,ml=L,qo=null);break;case"focusout":qo=ml=Br=null;break;case"mousedown":hl=!0;break;case"contextmenu":case"mouseup":case"dragend":hl=!1,nf(K,s,H);break;case"selectionchange":if(a0)break;case"keydown":case"keyup":nf(K,s,H)}var me;if(ul)e:{switch(e){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else $r?Wd(e,s)&&(ve="onCompositionEnd"):e==="keydown"&&s.keyCode===229&&(ve="onCompositionStart");ve&&(Bd&&s.locale!=="ko"&&($r||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&$r&&(me=Dd()):(Un=H,ol="value"in Un?Un.value:Un.textContent,$r=!0)),pe=ci(L,ve),0<pe.length&&(ve=new zd(ve,e,null,s,H),K.push({event:ve,listeners:pe}),me?ve.data=me:(me=Vd(s),me!==null&&(ve.data=me)))),(me=Qx?Yx(e,s):Xx(e,s))&&(L=ci(L,"onBeforeInput"),0<L.length&&(H=new zd("onBeforeInput","beforeinput",null,s,H),K.push({event:H,listeners:L}),H.data=me))}ff(K,n)})}function Xo(e,n,s){return{instance:e,listener:n,currentTarget:s}}function ci(e,n){for(var s=n+"Capture",a=[];e!==null;){var u=e,m=u.stateNode;u.tag===5&&m!==null&&(u=m,m=ft(e,s),m!=null&&a.unshift(Xo(e,m,u)),m=ft(e,n),m!=null&&a.push(Xo(e,m,u))),e=e.return}return a}function Hr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function mf(e,n,s,a,u){for(var m=n._reactName,w=[];s!==null&&s!==a;){var k=s,T=k.alternate,L=k.stateNode;if(T!==null&&T===a)break;k.tag===5&&L!==null&&(k=L,u?(T=ft(s,m),T!=null&&w.unshift(Xo(s,T,k))):u||(T=ft(s,m),T!=null&&w.push(Xo(s,T,k)))),s=s.return}w.length!==0&&e.push({event:n,listeners:w})}var d0=/\r\n?/g,f0=/\u0000|\uFFFD/g;function hf(e){return(typeof e=="string"?e:""+e).replace(d0,` 7`).replace(f0,"")}function ui(e,n,s){if(n=hf(n),hf(e)!==n&&s)throw Error(o(425))}function di(){}var bl=null,Sl=null;function Cl(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var El=typeof setTimeout=="function"?setTimeout:void 0,p0=typeof clearTimeout=="function"?clearTimeout:void 0,gf=typeof Promise=="function"?Promise:void 0,m0=typeof queueMicrotask=="function"?queueMicrotask:typeof gf<"u"?function(e){return gf.resolve(null).then(e).catch(h0)}:El;function h0(e){setTimeout(function(){throw e})}function kl(e,n){var s=n,a=0;do{var u=s.nextSibling;if(e.removeChild(s),u&&u.nodeType===8)if(s=u.data,s==="/$"){if(a===0){e.removeChild(u),Bo(n);return}a--}else s!=="$"&&s!=="$?"&&s!=="$!"||a++;s=u}while(s);Bo(n)}function Wn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function vf(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var s=e.data;if(s==="$"||s==="$!"||s==="$?"){if(n===0)return e;n--}else s==="/$"&&n++}e=e.previousSibling}return null}var Wr=Math.random().toString(36).slice(2),cn="__reactFiber$"+Wr,Zo="__reactProps$"+Wr,Sn="__reactContainer$"+Wr,Nl="__reactEvents$"+Wr,g0="__reactListeners$"+Wr,v0="__reactHandles$"+Wr;function hr(e){var n=e[cn];if(n)return n;for(var s=e.parentNode;s;){if(n=s[Sn]||s[cn]){if(s=n.alternate,n.child!==null||s!==null&&s.child!==null)for(e=vf(e);e!==null;){if(s=e[cn])return s;e=vf(e)}return n}e=s,s=e.parentNode}return null}function Jo(e){return e=e[cn]||e[Sn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Vr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function fi(e){return e[Zo]||null}var Tl=[],Kr=-1;function Vn(e){return{current:e}}function Ie(e){0>Kr||(e.current=Tl[Kr],Tl[Kr]=null,Kr--)}function Me(e,n){Kr++,Tl[Kr]=e.current,e.current=n}var Kn={},tt=Vn(Kn),pt=Vn(!1),gr=Kn;function Gr(e,n){var s=e.type.contextTypes;if(!s)return Kn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===n)return a.__reactInternalMemoizedMaskedChildContext;var u={},m;
vendor: 9,864 bytes, line 7
7for(m in s)u[m]=n[m];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=u),u}function mt(e){return e=e.childContextTypes,e!=null}function pi(){Ie(pt),Ie(tt)}function yf(e,n,s){if(tt.current!==Kn)throw Error(o(168));Me(tt,n),Me(pt,s)}function xf(e,n,s){var a=e.stateNode;if(n=n.childContextTypes,typeof a.getChildContext!="function")return s;a=a.getChildContext();for(var u in a)if(!(u in n))throw Error(o(108,ne(e)||"Unknown",u));return U({},s,a)}function mi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Kn,gr=tt.current,Me(tt,e),Me(pt,pt.current),!0}function wf(e,n,s){var a=e.stateNode;if(!a)throw Error(o(169));s?(e=xf(e,n,gr),a.__reactInternalMemoizedMergedChildContext=e,Ie(pt),Ie(tt),Me(tt,e)):Ie(pt),Me(pt,s)}var Cn=null,hi=!1,Pl=!1;function bf(e){Cn===null?Cn=[e]:Cn.push(e)}function y0(e){hi=!0,bf(e)}function Gn(){if(!Pl&&Cn!==null){Pl=!0;var e=0,n=Re;try{var s=Cn;for(Re=1;e<s.length;e++){var a=s[e];do a=a(!0);while(a!==null)}Cn=null,hi=!1}catch(u){throw Cn!==null&&(Cn=Cn.slice(e+1)),Sd(Ya,Gn),u}finally{Re=n,Pl=!1}}return null}var qr=[],Qr=0,gi=null,vi=0,Rt=[],At=0,vr=null,En=1,kn="";function yr(e,n){qr[Qr++]=vi,qr[Qr++]=gi,gi=e,vi=n}function Sf(e,n,s){Rt[At++]=En,Rt[At++]=kn,Rt[At++]=vr,vr=e;var a=En;e=kn;var u=32-Bt(a)-1;a&=~(1<<u),s+=1;var m=32-Bt(n)+u;if(30<m){var w=u-u%5;m=(a&(1<<w)-1).toString(32),a>>=w,u-=w,En=1<<32-Bt(n)+u|s<<u|a,kn=m+e}else En=1<<m|s<<u|a,kn=e}function jl(e){e.return!==null&&(yr(e,1),Sf(e,1,0))}function Rl(e){for(;e===gi;)gi=qr[--Qr],qr[Qr]=null,vi=qr[--Qr],qr[Qr]=null;for(;e===vr;)vr=Rt[--At],Rt[At]=null,kn=Rt[--At],Rt[At]=null,En=Rt[--At],Rt[At]=null}var St=null,Ct=null,Le=!1,Ht=null;function Cf(e,n){var s=It(5,null,null,0);s.elementType="DELETED",s.stateNode=n,s.return=e,n=e.deletions,n===null?(e.deletions=[s],e.flags|=16):n.push(s)}function Ef(e,n){switch(e.tag){case 5:var s=e.type;return n=n.nodeType!==1||s.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,St=e,Ct=Wn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,St=e,Ct=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(s=vr!==null?{id:En,overflow:kn}:null,e.memoizedState={dehydrated:n,treeContext:s,retryLane:1073741824},s=It(18,null,null,0),s.stateNode=n,s.return=e,e.child=s,St=e,Ct=null,!0):!1;default:return!1}}function Al(e){return(e.mode&1)!==0&&(e.flags&128)===0}function _l(e){if(Le){var n=Ct;if(n){var s=n;if(!Ef(e,n)){if(Al(e))throw Error(o(418));n=Wn(s.nextSibling);var a=St;n&&Ef(e,n)?Cf(a,s):(e.flags=e.flags&-4097|2,Le=!1,St=e)}}else{if(Al(e))throw Error(o(418));e.flags=e.flags&-4097|2,Le=!1,St=e}}}function kf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;St=e}function yi(e){if(e!==St)return!1;if(!Le)return kf(e),Le=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!Cl(e.type,e.memoizedProps)),n&&(n=Ct)){if(Al(e))throw Nf(),Error(o(418));for(;n;)Cf(e,n),n=Wn(n.nextSibling)}if(kf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var s=e.data;if(s==="/$"){if(n===0){Ct=Wn(e.nextSibling);break e}n--}else s!=="$"&&s!=="$!"&&s!=="$?"||n++}e=e.nextSibling}Ct=null}}else Ct=St?Wn(e.stateNode.nextSibling):null;return!0}function Nf(){for(var e=Ct;e;)e=Wn(e.nextSibling)}function Yr(){Ct=St=null,Le=!1}function Ml(e){Ht===null?Ht=[e]:Ht.push(e)}var x0=D.ReactCurrentBatchConfig;function es(e,n,s){if(e=s.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(o(309));var a=s.stateNode}if(!a)throw Error(o(147,e));var u=a,m=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===m?n.ref:(n=function(w){var k=u.refs;w===null?delete k[m]:k[m]=w},n._stringRef=m,n)}if(typeof e!="string")throw Error(o(284));if(!s._owner)throw Error(o(290,e))}return e}function xi(e,n){throw e=Object.prototype.toString.call(n),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Tf(e){var n=e._init;return n(e._payload)}function Pf(e){function n(M,R){if(e){var O=M.deletions;O===null?(M.deletions=[R],M.flags|=16):O.push(R)}}function s(M,R){if(!e)return null;for(;R!==null;)n(M,R),R=R.sibling;return null}function a(M,R){for(M=new Map;R!==null;)R.key!==null?M.set(R.key,R):M.set(R.index,R),R=R.sibling;return M}function u(M,R){return M=tr(M,R),M.index=0,M.sibling=null,M}function m(M,R,O){return M.index=O,e?(O=M.alternate,O!==null?(O=O.index,O<R?(M.flags|=2,R):O):(M.flags|=2,R)):(M.flags|=1048576,R)}function w(M){return e&&M.alternate===null&&(M.flags|=2),M}function k(M,R,O,q){return R===null||R.tag!==6?(R=Ec(O,M.mode,q),R.return=M,R):(R=u(R,O),R.return=M,R)}function T(M,R,O,q){var ue=O.type;return ue===V?H(M,R,O.props.children,q,O.key):R!==null&&(R.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===re&&Tf(ue)===R.type)?(q=u(R,O.props),q.ref=es(M,R,O),q.return=M,q):(q=Hi(O.type,O.key,O.props,null,M.mode,q),q.ref=es(M,R,O),q.return=M,q)}function L(M,R,O,q){return R===null||R.tag!==4||R.stateNode.containerInfo!==O.containerInfo||R.stateNode.implementation!==O.implementation?(R=kc(O,M.mode,q),R.return=M,R):(R=u(R,O.children||[]),R.return=M,R)}function H(M,R,O,q,ue){return R===null||R.tag!==7?(R=Nr(O,M.mode,q,ue),R.return=M,R):(R=u(R,O),R.return=M,R)}function K(M,R,O){if(typeof R=="string"&&R!==""||typeof R=="number")return R=Ec(""+R,M.mode,O),R.return=M,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case $:return O=Hi(R.type,R.key,R.props,null,M.mode,O),O.ref=es(M,null,R),O.return=M,O;case W:return R=kc(R,M.mode,O),R.return=M,R;case re:var q=R._init;return K(M,q(R._payload),O)}if(Dn(R)||I(R))return R=Nr(R,M.mode,O,null),R.return=M,R;xi(M,R)}return null}function B(M,R,O,q){var ue=R!==null?R.key:null;if(typeof O=="string"&&O!==""||typeof O=="number")return ue!==null?null:k(M,R,""+O,q);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case $:return O.key===ue?T(M,R,O,q):null;case W:return O.key===ue?L(M,R,O,q):null;case re:return ue=O._init,B(M,R,ue(O._payload),q)}if(Dn(O)||I(O))return ue!==null?null:H(M,R,O,q,null);xi(M,O)}return null}function te(M,R,O,q,ue){if(typeof q=="string"&&q!==""||typeof q=="number")return M=M.get(O)||null,k(R,M,""+q,ue);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case $:return M=M.get(q.key===null?O:q.key)||null,T(R,M,q,ue);case W:return M=M.get(q.key===null?O:q.key)||null,L(R,M,q,ue);case re:var pe=q._init;return te(M,R,O,pe(q._payload),ue)}if(Dn(q)||I(q))return M=M.get(O)||null,H(R,M,q,ue,null);xi(R,q)}return null}function ie(M,R,O,q){for(var ue=null,pe=null,me=R,ve=R=0,Xe=null;me!==null&&ve<O.length;ve++){me.index>ve?(Xe=me,me=null):Xe=me.sibling;var Te=B(M,me,O[ve],q);if(Te===null){me===null&&(me=Xe);break}e&&me&&Te.alternate===null&&n(M,me),R=m(Te,R,ve),pe===null?ue=Te:pe.sibling=Te,pe=Te,me=Xe}if(ve===O.length)return s(M,me),Le&&yr(M,ve),ue;if(me===null){for(;ve<O.length;ve++)me=K(M,O[ve],q),me!==null&&(R=m(me,R,ve),pe===null?ue=me:pe.sibling=me,pe=me);return Le&&yr(M,ve),ue}for(me=a(M,me);ve<O.length;ve++)Xe=te(me,M,ve,O[ve],q),Xe!==null&&(e&&Xe.alternate!==null&&me.delete(Xe.key===null?ve:Xe.key),R=m(Xe,R,ve),pe===null?ue=Xe:pe.sibling=Xe,pe=Xe);return e&&me.forEach(function(nr){return n(M,nr)}),Le&&yr(M,ve),ue}function le(M,R,O,q){var ue=I(O);if(typeof ue!="function")throw Error(o(150));if(O=ue.call(O),O==null)throw Error(o(151));for(var pe=ue=null,me=R,ve=R=0,Xe=null,Te=O.next();me!==null&&!Te.done;ve++,Te=O.next()){me.index>ve?(Xe=me,me=null):Xe=me.sibling;var nr=B(M,me,Te.value,q);if(nr===null){me===null&&(me=Xe);break}e&&me&&nr.alternate===null&&n(M,me),R=m(nr,R,ve),pe===null?ue=nr:pe.sibling=nr,pe=nr,me=Xe}if(Te.done)return s(M,me),Le&&yr(M,ve),ue;if(me===null){for(;!Te.done;ve++,Te=O.next())Te=K(M,Te.value,q),Te!==null&&(R=m(Te,R,ve),pe===null?ue=Te:pe.sibling=Te,pe=Te);return Le&&yr(M,ve),ue}for(me=a(M,me);!Te.done;ve++,Te=O.next())Te=te(me,M,ve,Te.value,q),Te!==null&&(e&&Te.alternate!==null&&me.delete(Te.key===null?ve:Te.key),R=m(Te,R,ve),pe===null?ue=Te:pe.sibling=Te,pe=Te);return e&&me.forEach(function(Z0){return n(M,Z0)}),Le&&yr(M,ve),ue}function Ue(M,R,O,q){if(typeof O=="object"&&O!==null&&O.type===V&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case $:e:{for(var ue=O.key,pe=R;pe!==null;){if(pe.key===ue){if(ue=O.type,ue===V){if(pe.tag===7){s(M,pe.sibling),R=u(pe,O.props.children),R.return=M,M=R;break e}}else if(pe.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===re&&Tf(ue)===pe.type){s(M,pe.sibling),R=u(pe,O.props),R.ref=es(M,pe,O),R.return=M,M=R;break e}s(M,pe);break}else n(M,pe);pe=pe.sibling}O.type===V?(R=Nr(O.props.children,M.mode,q,O.key),R.return=M,M=R):(q=Hi(O.type,O.key,O.props,null,M.mode,q),q.ref=es(M,R,O),q.return=M,M=q)}return w(M);case W:e:{for(pe=O.key;R!==null;){if(R.key===pe)if(R.tag===4&&R.stateNode.containerInfo===O.containerInfo&&R.stateNode.implementation===O.implementation){s(M,R.sibling),R=u(R,O.children||[]),R.return=M,M=R;break e}else{s(M,R);break}else n(M,R);R=R.sibling}R=kc(O,M.mode,q),R.return=M,M=R}return w(M);case re:return pe=O._init,Ue(M,R,pe(O._payload),q)}if(Dn(O))return ie(M,R,O,q);if(I(O))return le(M,R,O,q);xi(M,O)}return typeof O=="string"&&O!==""||typeof O=="number"?(O=""+O,R!==null&&R.tag===6?(s(M,R.sibling),R=u(R,O),R.return=M,M=R):(s(M,R),R=Ec(O,M.mode,q),R.return=M,M=R),w(M)):s(M,R)}return Ue}var Xr=Pf(!0),jf=Pf(!1),wi=Vn(null),bi=null,Zr=null,Ol=null;function Il(){Ol=Zr=bi=null}function Dl(e){var n=wi.current;Ie(wi),e._currentValue=n}function Ll(e,n,s){for(;e!==null;){var a=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,a!==null&&(a.childLanes|=n)):a!==null&&(a.childLanes&n)!==n&&(a.childLanes|=n),e===s)break;e=e.return}}
vendor: 17,479 bytes, lines 7-9
7function Jr(e,n){bi=e,Ol=Zr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!==0&&(ht=!0),e.firstContext=null)}function _t(e){var n=e._currentValue;if(Ol!==e)if(e={context:e,memoizedValue:n,next:null},Zr===null){if(bi===null)throw Error(o(308));Zr=e,bi.dependencies={lanes:0,firstContext:e}}else Zr=Zr.next=e;return n}var xr=null;function Fl(e){xr===null?xr=[e]:xr.push(e)}function Rf(e,n,s,a){var u=n.interleaved;return u===null?(s.next=s,Fl(n)):(s.next=u.next,u.next=s),n.interleaved=s,Nn(e,a)}function Nn(e,n){e.lanes|=n;var s=e.alternate;for(s!==null&&(s.lanes|=n),s=e,e=e.return;e!==null;)e.childLanes|=n,s=e.alternate,s!==null&&(s.childLanes|=n),s=e,e=e.return;return s.tag===3?s.stateNode:null}var qn=!1;function zl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Af(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Tn(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function Qn(e,n,s){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ce&2)!==0){var u=a.pending;return u===null?n.next=n:(n.next=u.next,u.next=n),a.pending=n,Nn(e,s)}return u=a.interleaved,u===null?(n.next=n,Fl(a)):(n.next=u.next,u.next=n),a.interleaved=n,Nn(e,s)}function Si(e,n,s){if(n=n.updateQueue,n!==null&&(n=n.shared,(s&4194240)!==0)){var a=n.lanes;a&=e.pendingLanes,s|=a,n.lanes=s,Ja(e,s)}}function _f(e,n){var s=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,s===a)){var u=null,m=null;if(s=s.firstBaseUpdate,s!==null){do{var w={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};m===null?u=m=w:m=m.next=w,s=s.next}while(s!==null);m===null?u=m=n:m=m.next=n}else u=m=n;s={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:m,shared:a.shared,effects:a.effects},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=n:e.next=n,s.lastBaseUpdate=n}function Ci(e,n,s,a){var u=e.updateQueue;qn=!1;var m=u.firstBaseUpdate,w=u.lastBaseUpdate,k=u.shared.pending;if(k!==null){u.shared.pending=null;var T=k,L=T.next;T.next=null,w===null?m=L:w.next=L,w=T;var H=e.alternate;H!==null&&(H=H.updateQueue,k=H.lastBaseUpdate,k!==w&&(k===null?H.firstBaseUpdate=L:k.next=L,H.lastBaseUpdate=T))}if(m!==null){var K=u.baseState;w=0,H=L=T=null,k=m;do{var B=k.lane,te=k.eventTime;if((a&B)===B){H!==null&&(H=H.next={eventTime:te,lane:0,tag:k.tag,payload:k.payload,callback:k.callback,next:null});e:{var ie=e,le=k;switch(B=n,te=s,le.tag){case 1:if(ie=le.payload,typeof ie=="function"){K=ie.call(te,K,B);break e}K=ie;break e;case 3:ie.flags=ie.flags&-65537|128;case 0:if(ie=le.payload,B=typeof ie=="function"?ie.call(te,K,B):ie,B==null)break e;K=U({},K,B);break e;case 2:qn=!0}}k.callback!==null&&k.lane!==0&&(e.flags|=64,B=u.effects,B===null?u.effects=[k]:B.push(k))}else te={eventTime:te,lane:B,tag:k.tag,payload:k.payload,callback:k.callback,next:null},H===null?(L=H=te,T=K):H=H.next=te,w|=B;if(k=k.next,k===null){if(k=u.shared.pending,k===null)break;B=k,k=B.next,B.next=null,u.lastBaseUpdate=B,u.shared.pending=null}}while(!0);if(H===null&&(T=K),u.baseState=T,u.firstBaseUpdate=L,u.lastBaseUpdate=H,n=u.shared.interleaved,n!==null){u=n;do w|=u.lane,u=u.next;while(u!==n)}else m===null&&(u.shared.lanes=0);Sr|=w,e.lanes=w,e.memoizedState=K}}function Mf(e,n,s){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var a=e[n],u=a.callback;if(u!==null){if(a.callback=null,a=s,typeof u!="function")throw Error(o(191,u));u.call(a)}}}var ts={},un=Vn(ts),ns=Vn(ts),rs=Vn(ts);function wr(e){if(e===ts)throw Error(o(174));return e}function $l(e,n){switch(Me(rs,n),Me(ns,e),Me(un,ts),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:nn(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=nn(n,e)}Ie(un),Me(un,n)}function eo(){Ie(un),Ie(ns),Ie(rs)}function Of(e){wr(rs.current);var n=wr(un.current),s=nn(n,e.type);n!==s&&(Me(ns,e),Me(un,s))}function Bl(e){ns.current===e&&(Ie(un),Ie(ns))}var Fe=Vn(0);function Ei(e){for(var n=e;n!==null;){if(n.tag===13){var s=n.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Ul=[];function Hl(){for(var e=0;e<Ul.length;e++)Ul[e]._workInProgressVersionPrimary=null;Ul.length=0}var ki=D.ReactCurrentDispatcher,Wl=D.ReactCurrentBatchConfig,br=0,ze=null,Ge=null,Qe=null,Ni=!1,os=!1,ss=0,w0=0;function nt(){throw Error(o(321))}function Vl(e,n){if(n===null)return!1;for(var s=0;s<n.length&&s<e.length;s++)if(!Ut(e[s],n[s]))return!1;return!0}function Kl(e,n,s,a,u,m){if(br=m,ze=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,ki.current=e===null||e.memoizedState===null?E0:k0,e=s(a,u),os){m=0;do{if(os=!1,ss=0,25<=m)throw Error(o(301));m+=1,Qe=Ge=null,n.updateQueue=null,ki.current=N0,e=s(a,u)}while(os)}if(ki.current=ji,n=Ge!==null&&Ge.next!==null,br=0,Qe=Ge=ze=null,Ni=!1,n)throw Error(o(300));return e}function Gl(){var e=ss!==0;return ss=0,e}function dn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qe===null?ze.memoizedState=Qe=e:Qe=Qe.next=e,Qe}function Mt(){if(Ge===null){var e=ze.alternate;e=e!==null?e.memoizedState:null}else e=Ge.next;var n=Qe===null?ze.memoizedState:Qe.next;if(n!==null)Qe=n,Ge=e;else{if(e===null)throw Error(o(310));Ge=e,e={memoizedState:Ge.memoizedState,baseState:Ge.baseState,baseQueue:Ge.baseQueue,queue:Ge.queue,next:null},Qe===null?ze.memoizedState=Qe=e:Qe=Qe.next=e}return Qe}function is(e,n){return typeof n=="function"?n(e):n}function ql(e){var n=Mt(),s=n.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=e;var a=Ge,u=a.baseQueue,m=s.pending;if(m!==null){if(u!==null){var w=u.next;u.next=m.next,m.next=w}a.baseQueue=u=m,s.pending=null}if(u!==null){m=u.next,a=a.baseState;var k=w=null,T=null,L=m;do{var H=L.lane;if((br&H)===H)T!==null&&(T=T.next={lane:0,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),a=L.hasEagerState?L.eagerState:e(a,L.action);else{var K={lane:H,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null};T===null?(k=T=K,w=a):T=T.next=K,ze.lanes|=H,Sr|=H}L=L.next}while(L!==null&&L!==m);T===null?w=a:T.next=k,Ut(a,n.memoizedState)||(ht=!0),n.memoizedState=a,n.baseState=w,n.baseQueue=T,s.lastRenderedState=a}if(e=s.interleaved,e!==null){u=e;do m=u.lane,ze.lanes|=m,Sr|=m,u=u.next;while(u!==e)}else u===null&&(s.lanes=0);return[n.memoizedState,s.dispatch]}function Ql(e){var n=Mt(),s=n.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=e;var a=s.dispatch,u=s.pending,m=n.memoizedState;if(u!==null){s.pending=null;var w=u=u.next;do m=e(m,w.action),w=w.next;while(w!==u);Ut(m,n.memoizedState)||(ht=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),s.lastRenderedState=m}return[m,a]}function If(){}function Df(e,n){var s=ze,a=Mt(),u=n(),m=!Ut(a.memoizedState,u);if(m&&(a.memoizedState=u,ht=!0),a=a.queue,Yl(zf.bind(null,s,a,e),[e]),a.getSnapshot!==n||m||Qe!==null&&Qe.memoizedState.tag&1){if(s.flags|=2048,as(9,Ff.bind(null,s,a,u,n),void 0,null),Ye===null)throw Error(o(349));(br&30)!==0||Lf(s,n,u)}return u}function Lf(e,n,s){e.flags|=16384,e={getSnapshot:n,value:s},n=ze.updateQueue,n===null?(n={lastEffect:null,stores:null},ze.updateQueue=n,n.stores=[e]):(s=n.stores,s===null?n.stores=[e]:s.push(e))}function Ff(e,n,s,a){n.value=s,n.getSnapshot=a,$f(n)&&Bf(e)}function zf(e,n,s){return s(function(){$f(n)&&Bf(e)})}function $f(e){var n=e.getSnapshot;e=e.value;try{var s=n();return!Ut(e,s)}catch{return!0}}function Bf(e){var n=Nn(e,1);n!==null&&Gt(n,e,1,-1)}function Uf(e){var n=dn();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:is,lastRenderedState:e},n.queue=e,e=e.dispatch=C0.bind(null,ze,e),[n.memoizedState,e]}function as(e,n,s,a){return e={tag:e,create:n,destroy:s,deps:a,next:null},n=ze.updateQueue,n===null?(n={lastEffect:null,stores:null},ze.updateQueue=n,n.lastEffect=e.next=e):(s=n.lastEffect,s===null?n.lastEffect=e.next=e:(a=s.next,s.next=e,e.next=a,n.lastEffect=e)),e}function Hf(){return Mt().memoizedState}function Ti(e,n,s,a){var u=dn();ze.flags|=e,u.memoizedState=as(1|n,s,void 0,a===void 0?null:a)}function Pi(e,n,s,a){var u=Mt();a=a===void 0?null:a;var m=void 0;if(Ge!==null){var w=Ge.memoizedState;if(m=w.destroy,a!==null&&Vl(a,w.deps)){u.memoizedState=as(n,s,m,a);return}}ze.flags|=e,u.memoizedState=as(1|n,s,m,a)}function Wf(e,n){return Ti(8390656,8,e,n)}function Yl(e,n){return Pi(2048,8,e,n)}function Vf(e,n){return Pi(4,2,e,n)}function Kf(e,n){return Pi(4,4,e,n)}function Gf(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function qf(e,n,s){return s=s!=null?s.concat([e]):null,Pi(4,4,Gf.bind(null,n,e),s)}function Xl(){}function Qf(e,n){var s=Mt();n=n===void 0?null:n;var a=s.memoizedState;return a!==null&&n!==null&&Vl(n,a[1])?a[0]:(s.memoizedState=[e,n],e)}function Yf(e,n){var s=Mt();n=n===void 0?null:n;var a=s.memoizedState;return a!==null&&n!==null&&Vl(n,a[1])?a[0]:(e=e(),s.memoizedState=[e,n],e)}function Xf(e,n,s){return(br&21)===0?(e.baseState&&(e.baseState=!1,ht=!0),e.memoizedState=s):(Ut(s,n)||(s=Nd(),ze.lanes|=s,Sr|=s,e.baseState=!0),n)}function b0(e,n){var s=Re;Re=s!==0&&4>s?s:4,e(!0);var a=Wl.transition;Wl.transition={};try{e(!1),n()}finally{Re=s,Wl.transition=a}}function Zf(){return Mt().memoizedState}function S0(e,n,s){var a=Jn(e);if(s={lane:a,action:s,hasEagerState:!1,eagerState:null,next:null},Jf(e))ep(n,s);else if(s=Rf(e,n,s,a),s!==null){var u=lt();Gt(s,e,a,u),tp(s,n,a)}}function C0(e,n,s){var a=Jn(e),u={lane:a,action:s,hasEagerState:!1,eagerState:null,next:null};if(Jf(e))ep(n,u);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var w=n.lastRenderedState,k=m(w,s);if(u.hasEagerState=!0,u.eagerState=k,Ut(k,w)){var T=n.interleaved;T===null?(u.next=u,Fl(n)):(u.next=T.next,T.next=u),n.interleaved=u;return}}catch{}s=Rf(e,n,u,a),s!==null&&(u=lt(),Gt(s,e,a,u),tp(s,n,a))}}function Jf(e){var n=e.alternate;return e===ze||n!==null&&n===ze}function ep(e,n){os=Ni=!0;var s=e.pending;s===null?n.next=n:(n.next=s.next,s.next=n),e.pending=n}function tp(e,n,s){if((s&4194240)!==0){var a=n.lanes;a&=e.pendingLanes,s|=a,n.lanes=s,Ja(e,s)}}var ji={readContext:_t,useCallback:nt,useContext:nt,useEffect:nt,useImperativeHandle:nt,useInsertionEffect:nt,useLayoutEffect:nt,useMemo:nt,useReducer:nt,useRef:nt,useState:nt,useDebugValue:nt,useDeferredValue:nt,useTransition:nt,useMutableSource:nt,useSyncExternalStore:nt,useId:nt,unstable_isNewReconciler:!1},E0={readContext:_t,useCallback:function(e,n){return dn().memoizedState=[e,n===void 0?null:n],e},useContext:_t,useEffect:Wf,useImperativeHandle:function(e,n,s){return s=s!=null?s.concat([e]):null,Ti(4194308,4,Gf.bind(null,n,e),s)},useLayoutEffect:function(e,n){return Ti(4194308,4,e,n)},useInsertionEffect:function(e,n){return Ti(4,2,e,n)},useMemo:function(e,n){var s=dn();return n=n===void 0?null:n,e=e(),s.memoizedState=[e,n],e},useReducer:function(e,n,s){var a=dn();return n=s!==void 0?s(n):n,a.memoizedState=a.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=S0.bind(null,ze,e),[a.memoizedState,e]},useRef:function(e){var n=dn();return e={current:e},n.memoizedState=e},useState:Uf,useDebugValue:Xl,useDeferredValue:function(e){return dn().memoizedState=e},useTransition:function(){var e=Uf(!1),n=e[0];return e=b0.bind(null,e[1]),dn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,s){var a=ze,u=dn();if(Le){if(s===void 0)throw Error(o(407));s=s()}else{if(s=n(),Ye===null)throw Error(o(349));(br&30)!==0||Lf(a,n,s)}u.memoizedState=s;var m={value:s,getSnapshot:n};return u.queue=m,Wf(zf.bind(null,a,m,e),[e]),a.flags|=2048,as(9,Ff.bind(null,a,m,s,n),void 0,null),s},useId:function(){var e=dn(),n=Ye.identifierPrefix;if(Le){var s=kn,a=En;s=(a&~(1<<32-Bt(a)-1)).toString(32)+s,n=":"+n+"R"+s,s=ss++,0<s&&(n+="H"+s.toString(32)),n+=":"}else s=w0++,n=":"+n+"r"+s.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},k0={readContext:_t,useCallback:Qf,useContext:_t,useEffect:Yl,useImperativeHandle:qf,useInsertionEffect:Vf,useLayoutEffect:Kf,useMemo:Yf,useReducer:ql,useRef:Hf,useState:function(){return ql(is)},useDebugValue:Xl,useDeferredValue:function(e){var n=Mt();return Xf(n,Ge.memoizedState,e)},useTransition:function(){var e=ql(is)[0],n=Mt().memoizedState;return[e,n]},useMutableSource:If,useSyncExternalStore:Df,useId:Zf,unstable_isNewReconciler:!1},N0={readContext:_t,useCallback:Qf,useContext:_t,useEffect:Yl,useImperativeHandle:qf,useInsertionEffect:Vf,useLayoutEffect:Kf,useMemo:Yf,useReducer:Ql,useRef:Hf,useState:function(){return Ql(is)},useDebugValue:Xl,useDeferredValue:function(e){var n=Mt();return Ge===null?n.memoizedState=e:Xf(n,Ge.memoizedState,e)},useTransition:function(){var e=Ql(is)[0],n=Mt().memoizedState;return[e,n]},useMutableSource:If,useSyncExternalStore:Df,useId:Zf,unstable_isNewReconciler:!1};function Wt(e,n){if(e&&e.defaultProps){n=U({},n),e=e.defaultProps;for(var s in e)n[s]===void 0&&(n[s]=e[s]);return n}return n}function Zl(e,n,s,a){n=e.memoizedState,s=s(a,n),s=s==null?n:U({},n,s),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}var Ri={isMounted:function(e){return(e=e._reactInternals)?mr(e)===e:!1},enqueueSetState:function(e,n,s){e=e._reactInternals;var a=lt(),u=Jn(e),m=Tn(a,u);m.payload=n,s!=null&&(m.callback=s),n=Qn(e,m,u),n!==null&&(Gt(n,e,u,a),Si(n,e,u))},enqueueReplaceState:function(e,n,s){e=e._reactInternals;var a=lt(),u=Jn(e),m=Tn(a,u);m.tag=1,m.payload=n,s!=null&&(m.callback=s),n=Qn(e,m,u),n!==null&&(Gt(n,e,u,a),Si(n,e,u))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var s=lt(),a=Jn(e),u=Tn(s,a);u.tag=2,n!=null&&(u.callback=n),n=Qn(e,u,a),n!==null&&(Gt(n,e,a,s),Si(n,e,a))}};function np(e,n,s,a,u,m,w){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,m,w):n.prototype&&n.prototype.isPureReactComponent?!Go(s,a)||!Go(u,m):!0}function rp(e,n,s){var a=!1,u=Kn,m=n.contextType;return typeof m=="object"&&m!==null?m=_t(m):(u=mt(n)?gr:tt.current,a=n.contextTypes,m=(a=a!=null)?Gr(e,u):Kn),n=new n(s,m),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Ri,e.stateNode=n,n._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=m),n}function op(e,n,s,a){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,a),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,a),n.state!==e&&Ri.enqueueReplaceState(n,n.state,null)}function Jl(e,n,s,a){var u=e.stateNode;u.props=s,u.state=e.memoizedState,u.refs={},zl(e);var m=n.contextType;typeof m=="object"&&m!==null?u.context=_t(m):(m=mt(n)?gr:tt.current,u.context=Gr(e,m)),u.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(Zl(e,n,m,s),u.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(n=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),n!==u.state&&Ri.enqueueReplaceState(u,u.state,null),Ci(e,s,u,a),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308)}function to(e,n){try{var s="",a=n;do s+=fe(a),a=a.return;while(a);var u=s}catch(m){u=` 8Error generating stack: `+m.message+` 9`+m.stack}return{value:e,source:n,stack:u,digest:null}}function ec(e,n,s){return{value:e,source:null,stack:s??null,digest:n??null}}function tc(e,n){try{console.error(n.value)}catch(s){setTimeout(function(){throw s})}}var T0=typeof WeakMap=="function"?WeakMap:Map;function sp(e,n,s){s=Tn(-1,s),s.tag=3,s.payload={element:null};var a=n.value;return s.callback=function(){Li||(Li=!0,gc=a),tc(e,n)},s}function ip(e,n,s){s=Tn(-1,s),s.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var u=n.value;s.payload=function(){return a(u)},s.callback=function(){tc(e,n)}}var m=e.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(s.callback=function(){tc(e,n),typeof a!="function"&&(Xn===null?Xn=new Set([this]):Xn.add(this));var w=n.stack;this.componentDidCatch(n.value,{componentStack:w!==null?w:""})}),s}function ap(e,n,s){var a=e.pingCache;if(a===null){a=e.pingCache=new T0;var u=new Set;a.set(n,u)}else u=a.get(n),u===void 0&&(u=new Set,a.set(n,u));u.has(s)||(u.add(s),e=B0.bind(null,e,n,s),n.then(e,e))}function lp(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function cp(e,n,s,a,u){return(e.mode&1)===0?(e===n?e.flags|=65536:(e.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(n=Tn(-1,1),n.tag=2,Qn(s,n,1
vendor: 6,163 bytes, line 9
9))),s.lanes|=1),e):(e.flags|=65536,e.lanes=u,e)}var P0=D.ReactCurrentOwner,ht=!1;function at(e,n,s,a){n.child=e===null?jf(n,null,s,a):Xr(n,e.child,s,a)}function up(e,n,s,a,u){s=s.render;var m=n.ref;return Jr(n,u),a=Kl(e,n,s,a,m,u),s=Gl(),e!==null&&!ht?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~u,Pn(e,n,u)):(Le&&s&&jl(n),n.flags|=1,at(e,n,a,u),n.child)}function dp(e,n,s,a,u){if(e===null){var m=s.type;return typeof m=="function"&&!Cc(m)&&m.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(n.tag=15,n.type=m,fp(e,n,m,a,u)):(e=Hi(s.type,null,a,n,n.mode,u),e.ref=n.ref,e.return=n,n.child=e)}if(m=e.child,(e.lanes&u)===0){var w=m.memoizedProps;if(s=s.compare,s=s!==null?s:Go,s(w,a)&&e.ref===n.ref)return Pn(e,n,u)}return n.flags|=1,e=tr(m,a),e.ref=n.ref,e.return=n,n.child=e}function fp(e,n,s,a,u){if(e!==null){var m=e.memoizedProps;if(Go(m,a)&&e.ref===n.ref)if(ht=!1,n.pendingProps=a=m,(e.lanes&u)!==0)(e.flags&131072)!==0&&(ht=!0);else return n.lanes=e.lanes,Pn(e,n,u)}return nc(e,n,s,a,u)}function pp(e,n,s){var a=n.pendingProps,u=a.children,m=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Me(ro,Et),Et|=s;else{if((s&1073741824)===0)return e=m!==null?m.baseLanes|s:s,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Me(ro,Et),Et|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=m!==null?m.baseLanes:s,Me(ro,Et),Et|=a}else m!==null?(a=m.baseLanes|s,n.memoizedState=null):a=s,Me(ro,Et),Et|=a;return at(e,n,u,s),n.child}function mp(e,n){var s=n.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(n.flags|=512,n.flags|=2097152)}function nc(e,n,s,a,u){var m=mt(s)?gr:tt.current;return m=Gr(n,m),Jr(n,u),s=Kl(e,n,s,a,m,u),a=Gl(),e!==null&&!ht?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~u,Pn(e,n,u)):(Le&&a&&jl(n),n.flags|=1,at(e,n,s,u),n.child)}function hp(e,n,s,a,u){if(mt(s)){var m=!0;mi(n)}else m=!1;if(Jr(n,u),n.stateNode===null)_i(e,n),rp(n,s,a),Jl(n,s,a,u),a=!0;else if(e===null){var w=n.stateNode,k=n.memoizedProps;w.props=k;var T=w.context,L=s.contextType;typeof L=="object"&&L!==null?L=_t(L):(L=mt(s)?gr:tt.current,L=Gr(n,L));var H=s.getDerivedStateFromProps,K=typeof H=="function"||typeof w.getSnapshotBeforeUpdate=="function";K||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(k!==a||T!==L)&&op(n,w,a,L),qn=!1;var B=n.memoizedState;w.state=B,Ci(n,a,w,u),T=n.memoizedState,k!==a||B!==T||pt.current||qn?(typeof H=="function"&&(Zl(n,s,H,a),T=n.memoizedState),(k=qn||np(n,s,k,a,B,T,L))?(K||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(n.flags|=4194308)):(typeof w.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=a,n.memoizedState=T),w.props=a,w.state=T,w.context=L,a=k):(typeof w.componentDidMount=="function"&&(n.flags|=4194308),a=!1)}else{w=n.stateNode,Af(e,n),k=n.memoizedProps,L=n.type===n.elementType?k:Wt(n.type,k),w.props=L,K=n.pendingProps,B=w.context,T=s.contextType,typeof T=="object"&&T!==null?T=_t(T):(T=mt(s)?gr:tt.current,T=Gr(n,T));var te=s.getDerivedStateFromProps;(H=typeof te=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(k!==K||B!==T)&&op(n,w,a,T),qn=!1,B=n.memoizedState,w.state=B,Ci(n,a,w,u);var ie=n.memoizedState;k!==K||B!==ie||pt.current||qn?(typeof te=="function"&&(Zl(n,s,te,a),ie=n.memoizedState),(L=qn||np(n,s,L,a,B,ie,T)||!1)?(H||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(a,ie,T),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(a,ie,T)),typeof w.componentDidUpdate=="function"&&(n.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof w.componentDidUpdate!="function"||k===e.memoizedProps&&B===e.memoizedState||(n.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||k===e.memoizedProps&&B===e.memoizedState||(n.flags|=1024),n.memoizedProps=a,n.memoizedState=ie),w.props=a,w.state=ie,w.context=T,a=L):(typeof w.componentDidUpdate!="function"||k===e.memoizedProps&&B===e.memoizedState||(n.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||k===e.memoizedProps&&B===e.memoizedState||(n.flags|=1024),a=!1)}return rc(e,n,s,a,m,u)}function rc(e,n,s,a,u,m){mp(e,n);var w=(n.flags&128)!==0;if(!a&&!w)return u&&wf(n,s,!1),Pn(e,n,m);a=n.stateNode,P0.current=n;var k=w&&typeof s.getDerivedStateFromError!="function"?null:a.render();return n.flags|=1,e!==null&&w?(n.child=Xr(n,e.child,null,m),n.child=Xr(n,null,k,m)):at(e,n,k,m),n.memoizedState=a.state,u&&wf(n,s,!0),n.child}function gp(e){var n=e.stateNode;n.pendingContext?yf(e,n.pendingContext,n.pendingContext!==n.context):n.context&&yf(e,n.context,!1),$l(e,n.containerInfo)}function vp(e,n,s,a,u){return Yr(),Ml(u),n.flags|=256,at(e,n,s,a),n.child}var oc={dehydrated:null,treeContext:null,retryLane:0};function sc(e){return{baseLanes:e,cachePool:null,transitions:null}}function yp(e,n,s){var a=n.pendingProps,u=Fe.current,m=!1,w=(n.flags&128)!==0,k;if((k=w)||(k=e!==null&&e.memoizedState===null?!1:(u&2)!==0),k?(m=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(u|=1),Me(Fe,u&1),e===null)return _l(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((n.mode&1)===0?n.lanes=1:e.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(w=a.children,e=a.fallback,m?(a=n.mode,m=n.child,w={mode:"hidden",children:w},(a&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=w):m=Wi(w,a,0,null),e=Nr(e,a,s,null),m.return=n,e.return=n,m.sibling=e,n.child=m,n.child.memoizedState=sc(s),n.memoizedState=oc,e):ic(n,w));if(u=e.memoizedState,u!==null&&(k=u.dehydrated,k!==null))return j0(e,n,w,a,k,u,s);if(m){m=a.fallback,w=n.mode,u=e.child,k=u.sibling;var T={mode:"hidden",children:a.children};
vendor: 6,966 bytes, line 9
9return(w&1)===0&&n.child!==u?(a=n.child,a.childLanes=0,a.pendingProps=T,n.deletions=null):(a=tr(u,T),a.subtreeFlags=u.subtreeFlags&14680064),k!==null?m=tr(k,m):(m=Nr(m,w,s,null),m.flags|=2),m.return=n,a.return=n,a.sibling=m,n.child=a,a=m,m=n.child,w=e.child.memoizedState,w=w===null?sc(s):{baseLanes:w.baseLanes|s,cachePool:null,transitions:w.transitions},m.memoizedState=w,m.childLanes=e.childLanes&~s,n.memoizedState=oc,a}return m=e.child,e=m.sibling,a=tr(m,{mode:"visible",children:a.children}),(n.mode&1)===0&&(a.lanes=s),a.return=n,a.sibling=null,e!==null&&(s=n.deletions,s===null?(n.deletions=[e],n.flags|=16):s.push(e)),n.child=a,n.memoizedState=null,a}function ic(e,n){return n=Wi({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function Ai(e,n,s,a){return a!==null&&Ml(a),Xr(n,e.child,null,s),e=ic(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function j0(e,n,s,a,u,m,w){if(s)return n.flags&256?(n.flags&=-257,a=ec(Error(o(422))),Ai(e,n,w,a)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(m=a.fallback,u=n.mode,a=Wi({mode:"visible",children:a.children},u,0,null),m=Nr(m,u,w,null),m.flags|=2,a.return=n,m.return=n,a.sibling=m,n.child=a,(n.mode&1)!==0&&Xr(n,e.child,null,w),n.child.memoizedState=sc(w),n.memoizedState=oc,m);if((n.mode&1)===0)return Ai(e,n,w,null);if(u.data==="$!"){if(a=u.nextSibling&&u.nextSibling.dataset,a)var k=a.dgst;return a=k,m=Error(o(419)),a=ec(m,a,void 0),Ai(e,n,w,a)}if(k=(w&e.childLanes)!==0,ht||k){if(a=Ye,a!==null){switch(w&-w){case 4:u=2;break;case 16:u=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:u=32;break;case 536870912:u=268435456;break;default:u=0}u=(u&(a.suspendedLanes|w))!==0?0:u,u!==0&&u!==m.retryLane&&(m.retryLane=u,Nn(e,u),Gt(a,e,u,-1))}return Sc(),a=ec(Error(o(421))),Ai(e,n,w,a)}return u.data==="$?"?(n.flags|=128,n.child=e.child,n=U0.bind(null,e),u._reactRetry=n,null):(e=m.treeContext,Ct=Wn(u.nextSibling),St=n,Le=!0,Ht=null,e!==null&&(Rt[At++]=En,Rt[At++]=kn,Rt[At++]=vr,En=e.id,kn=e.overflow,vr=n),n=ic(n,a.children),n.flags|=4096,n)}function xp(e,n,s){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n),Ll(e.return,n,s)}function ac(e,n,s,a,u){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:a,tail:s,tailMode:u}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=a,m.tail=s,m.tailMode=u)}function wp(e,n,s){var a=n.pendingProps,u=a.revealOrder,m=a.tail;if(at(e,n,a.children,s),a=Fe.current,(a&2)!==0)a=a&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&xp(e,s,n);else if(e.tag===19)xp(e,s,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(Me(Fe,a),(n.mode&1)===0)n.memoizedState=null;else switch(u){case"forwards":for(s=n.child,u=null;s!==null;)e=s.alternate,e!==null&&Ei(e)===null&&(u=s),s=s.sibling;s=u,s===null?(u=n.child,n.child=null):(u=s.sibling,s.sibling=null),ac(n,!1,u,s,m);break;case"backwards":for(s=null,u=n.child,n.child=null;u!==null;){if(e=u.alternate,e!==null&&Ei(e)===null){n.child=u;break}e=u.sibling,u.sibling=s,s=u,u=e}ac(n,!0,s,null,m);break;case"together":ac(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function _i(e,n){(n.mode&1)===0&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Pn(e,n,s){if(e!==null&&(n.dependencies=e.dependencies),Sr|=n.lanes,(s&n.childLanes)===0)return null;if(e!==null&&n.child!==e.child)throw Error(o(153));if(n.child!==null){for(e=n.child,s=tr(e,e.pendingProps),n.child=s,s.return=n;e.sibling!==null;)e=e.sibling,s=s.sibling=tr(e,e.pendingProps),s.return=n;s.sibling=null}return n.child}function R0(e,n,s){switch(n.tag){case 3:gp(n),Yr();break;case 5:Of(n);break;case 1:mt(n.type)&&mi(n);break;case 4:$l(n,n.stateNode.containerInfo);break;case 10:var a=n.type._context,u=n.memoizedProps.value;Me(wi,a._currentValue),a._currentValue=u;break;case 13:if(a=n.memoizedState,a!==null)return a.dehydrated!==null?(Me(Fe,Fe.current&1),n.flags|=128,null):(s&n.child.childLanes)!==0?yp(e,n,s):(Me(Fe,Fe.current&1),e=Pn(e,n,s),e!==null?e.sibling:null);Me(Fe,Fe.current&1);break;case 19:if(a=(s&n.childLanes)!==0,(e.flags&128)!==0){if(a)return wp(e,n,s);n.flags|=128}if(u=n.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),Me(Fe,Fe.current),a)break;return null;case 22:case 23:return n.lanes=0,pp(e,n,s)}return Pn(e,n,s)}var bp,lc,Sp,Cp;bp=function(e,n){for(var s=n.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===n)break;for(;s.sibling===null;){if(s.return===null||s.return===n)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},lc=function(){},Sp=function(e,n,s,a){var u=e.memoizedProps;if(u!==a){e=n.stateNode,wr(un.current);var m=null;switch(s){case"input":u=Po(e,u),a=Po(e,a),m=[];break;case"select":u=U({},u,{value:void 0}),a=U({},a,{value:void 0}),m=[];break;case"textarea":u=Mr(e,u),a=Mr(e,a),m=[];break;default:typeof u.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=di)}on(s,a);var w;s=null;for(L in u)if(!a.hasOwnProperty(L)&&u.hasOwnProperty(L)&&u[L]!=null)if(L==="style"){var k=u[L];for(w in k)k.hasOwnProperty(w)&&(s||(s={}),s[w]="")}else L!=="dangerouslySetInnerHTML"&&L!=="children"&&L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&L!=="autoFocus"&&(l.hasOwnProperty(L)?m||(m=[]):(m=m||[]).push(L,null));for(L in a){var T=a[L];if(k=u?.[L],a.hasOwnProperty(L)&&T!==k&&(T!=null||k!=null))if(L==="style")if(k){for(w in k)!k.hasOwnProperty(w)||T&&T.hasOwnProperty(w)||(s||(s={}),s[w]="");for(w in T)T.hasOwnProperty(w)&&k[w]!==T[w]&&(s||(s={}),s[w]=T[w])}else s||(m||(m=[]),m.push(L,s)),s=T;else L==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,k=k?k.__html:void 0,T!=null&&k!==T&&(m=m||[]).push(L,T)):L==="children"?typeof T!="string"&&typeof T!="number"||(m=m||[]).push(L,""+T):L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&(l.hasOwnProperty(L)?(T!=null&&L==="onScroll"&&Oe("scroll",e),m||k===T||(m=[])):(m=m||[]).push(L,T))}s&&(m=m||[]).push("style",s);var L=m;(n.updateQueue=L)&&(n.flags|=4)}},Cp=function(e,n,s,a){s!==a&&(n.flags|=4)};function ls(e,n){if(!Le)switch(e.tailMode){case"hidden":n=e.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var a=null;s!==null;)s.alternate!==null&&(a=s),s=s.sibling;a===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function rt(e){var n=e.alternate!==null&&e.alternate.child===e.child,s=0,a=0;if(n)for(var u=e.child;u!==null;
vendor: 7,123 bytes, line 9
9)s|=u.lanes|u.childLanes,a|=u.subtreeFlags&14680064,a|=u.flags&14680064,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)s|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=a,e.childLanes=s,n}function A0(e,n,s){var a=n.pendingProps;switch(Rl(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rt(n),null;case 1:return mt(n.type)&&pi(),rt(n),null;case 3:return a=n.stateNode,eo(),Ie(pt),Ie(tt),Hl(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(yi(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Ht!==null&&(xc(Ht),Ht=null))),lc(e,n),rt(n),null;case 5:Bl(n);var u=wr(rs.current);if(s=n.type,e!==null&&n.stateNode!=null)Sp(e,n,s,a,u),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!a){if(n.stateNode===null)throw Error(o(166));return rt(n),null}if(e=wr(un.current),yi(n)){a=n.stateNode,s=n.type;var m=n.memoizedProps;switch(a[cn]=n,a[Zo]=m,e=(n.mode&1)!==0,s){case"dialog":Oe("cancel",a),Oe("close",a);break;case"iframe":case"object":case"embed":Oe("load",a);break;case"video":case"audio":for(u=0;u<Qo.length;u++)Oe(Qo[u],a);break;case"source":Oe("error",a);break;case"img":case"image":case"link":Oe("error",a),Oe("load",a);break;case"details":Oe("toggle",a);break;case"input":Ls(a,m),Oe("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!m.multiple},Oe("invalid",a);break;case"textarea":tn(a,m),Oe("invalid",a)}on(s,m),u=null;for(var w in m)if(m.hasOwnProperty(w)){var k=m[w];w==="children"?typeof k=="string"?a.textContent!==k&&(m.suppressHydrationWarning!==!0&&ui(a.textContent,k,e),u=["children",k]):typeof k=="number"&&a.textContent!==""+k&&(m.suppressHydrationWarning!==!0&&ui(a.textContent,k,e),u=["children",""+k]):l.hasOwnProperty(w)&&k!=null&&w==="onScroll"&&Oe("scroll",a)}switch(s){case"input":Tt(a),_r(a,m,!0);break;case"textarea":Tt(a),zs(a);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(a.onclick=di)}a=u,n.updateQueue=a,a!==null&&(n.flags|=4)}else{w=u.nodeType===9?u:u.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=st(s)),e==="http://www.w3.org/1999/xhtml"?s==="script"?(e=w.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=w.createElement(s,{is:a.is}):(e=w.createElement(s),s==="select"&&(w=e,a.multiple?w.multiple=!0:a.size&&(w.size=a.size))):e=w.createElementNS(e,s),e[cn]=n,e[Zo]=a,bp(e,n,!1,!1),n.stateNode=e;e:{switch(w=_o(s,a),s){case"dialog":Oe("cancel",e),Oe("close",e),u=a;break;case"iframe":case"object":case"embed":Oe("load",e),u=a;break;case"video":case"audio":for(u=0;u<Qo.length;u++)Oe(Qo[u],e);u=a;break;case"source":Oe("error",e),u=a;break;case"img":case"image":case"link":Oe("error",e),Oe("load",e),u=a;break;case"details":Oe("toggle",e),u=a;break;case"input":Ls(e,a),u=Po(e,a),Oe("invalid",e);break;case"option":u=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},u=U({},a,{value:void 0}),Oe("invalid",e);break;case"textarea":tn(e,a),u=Mr(e,a),Oe("invalid",e);break;default:u=a}on(s,u),k=u;for(m in k)if(k.hasOwnProperty(m)){var T=k[m];m==="style"?bn(e,T):m==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,T!=null&&$s(e,T)):m==="children"?typeof T=="string"?(s!=="textarea"||T!=="")&&rn(e,T):typeof T=="number"&&rn(e,""+T):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(l.hasOwnProperty(m)?T!=null&&m==="onScroll"&&Oe("scroll",e):T!=null&&A(e,m,T,w))}switch(s){case"input":Tt(e),_r(e,a,!1);break;case"textarea":Tt(e),zs(e);break;case"option":a.value!=null&&e.setAttribute("value",""+be(a.value));break;case"select":e.multiple=!!a.multiple,m=a.value,m!=null?jt(e,!!a.multiple,m,!1):a.defaultValue!=null&&jt(e,!!a.multiple,a.defaultValue,!0);break;default:typeof u.onClick=="function"&&(e.onclick=di)}switch(s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return rt(n),null;case 6:if(e&&n.stateNode!=null)Cp(e,n,e.memoizedProps,a);else{if(typeof a!="string"&&n.stateNode===null)throw Error(o(166));if(s=wr(rs.current),wr(un.current),yi(n)){if(a=n.stateNode,s=n.memoizedProps,a[cn]=n,(m=a.nodeValue!==s)&&(e=St,e!==null))switch(e.tag){case 3:ui(a.nodeValue,s,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ui(a.nodeValue,s,(e.mode&1)!==0)}m&&(n.flags|=4)}else a=(s.nodeType===9?s:s.ownerDocument).createTextNode(a),a[cn]=n,n.stateNode=a}return rt(n),null;case 13:if(Ie(Fe),a=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Le&&Ct!==null&&(n.mode&1)!==0&&(n.flags&128)===0)Nf(),Yr(),n.flags|=98560,m=!1;else if(m=yi(n),a!==null&&a.dehydrated!==null){if(e===null){if(!m)throw Error(o(318));if(m=n.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(o(317));m[cn]=n}else Yr(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;rt(n),m=!1}else Ht!==null&&(xc(Ht),Ht=null),m=!0;if(!m)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=s,n):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(n.child.flags|=8192,(n.mode&1)!==0&&(e===null||(Fe.current&1)!==0?qe===0&&(qe=3):Sc())),n.updateQueue!==null&&(n.flags|=4),rt(n),null);case 4:return eo(),lc(e,n),e===null&&Yo(n.stateNode.containerInfo),rt(n),null;case 10:return Dl(n.type._context),rt(n),null;case 17:return mt(n.type)&&pi(),rt(n),null;case 19:if(Ie(Fe),m=n.memoizedState,m===null)return rt(n),null;if(a=(n.flags&128)!==0,w=m.rendering,w===null)if(a)ls(m,!1);else{if(qe!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(w=Ei(e),w!==null){for(n.flags|=128,ls(m,!1),a=w.updateQueue,a!==null&&(n.updateQueue=a,n.flags|=4),n.subtreeFlags=0,a=s,s=n.child;s!==null;)m=s,e=a,m.flags&=14680066,w=m.alternate,w===null?(m.childLanes=0,m.lanes=e,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=w.childLanes,m.lanes=w.lanes,m.child=w.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=w.memoizedProps,m.memoizedState=w.memoizedState,m.updateQueue=w.updateQueue,m.type=w.type,e=w.dependencies,m.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),s=s.sibling;return Me(Fe,Fe.current&1|2),n.child}e=e.sibling}m.tail!==null&&Be()>oo&&(n.flags|=128,a=!0,ls(m,!1),n.lanes=4194304)}else{if(!a)if(e=Ei(w),e!==null){if(n.flags|=128,a=!0,s=e.updateQueue,s!==null&&(n.updateQueue=s,n.flags|=4),ls(m,!0),m.tail===null&&m.tailMode==="hidden"&&!w.alternate&&!Le)return rt(n),null}else 2*Be()-m.renderingStartTime>oo&&s!==1073741824&&(n.flags|=128,a=!0,ls(m,!1),n.lanes=4194304);m.isBackwards?(w.sibling=n.child,n.child=w):(s=m.last,s!==null?s.sibling=w:n.child=w,m.last=w)}return m.tail!==null?(n=m.tail,m.rendering=n,m.tail=n.sibling,m.renderingStartTime=Be(),n.sibling=null,s=Fe.current,Me(Fe,a?s&1|2:s&1),n):(rt(n),null);case 22:case 23:return bc(),a=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(n.flags|=8192),a&&(n.mode&1)!==0?(Et&10
vendor: 5,467 bytes, line 9
973741824)!==0&&(rt(n),n.subtreeFlags&6&&(n.flags|=8192)):rt(n),null;case 24:return null;case 25:return null}throw Error(o(156,n.tag))}function _0(e,n){switch(Rl(n),n.tag){case 1:return mt(n.type)&&pi(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return eo(),Ie(pt),Ie(tt),Hl(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 5:return Bl(n),null;case 13:if(Ie(Fe),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(o(340));Yr()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Ie(Fe),null;case 4:return eo(),null;case 10:return Dl(n.type._context),null;case 22:case 23:return bc(),null;case 24:return null;default:return null}}var Mi=!1,ot=!1,M0=typeof WeakSet=="function"?WeakSet:Set,oe=null;function no(e,n){var s=e.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(a){$e(e,n,a)}else s.current=null}function cc(e,n,s){try{s()}catch(a){$e(e,n,a)}}var Ep=!1;function O0(e,n){if(bl=Js,e=tf(),pl(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var a=s.getSelection&&s.getSelection();if(a&&a.rangeCount!==0){s=a.anchorNode;var u=a.anchorOffset,m=a.focusNode;a=a.focusOffset;try{s.nodeType,m.nodeType}catch{s=null;break e}var w=0,k=-1,T=-1,L=0,H=0,K=e,B=null;t:for(;;){for(var te;K!==s||u!==0&&K.nodeType!==3||(k=w+u),K!==m||a!==0&&K.nodeType!==3||(T=w+a),K.nodeType===3&&(w+=K.nodeValue.length),(te=K.firstChild)!==null;)B=K,K=te;for(;;){if(K===e)break t;if(B===s&&++L===u&&(k=w),B===m&&++H===a&&(T=w),(te=K.nextSibling)!==null)break;K=B,B=K.parentNode}K=te}s=k===-1||T===-1?null:{start:k,end:T}}else s=null}s=s||{start:0,end:0}}else s=null;for(Sl={focusedElem:e,selectionRange:s},Js=!1,oe=n;oe!==null;)if(n=oe,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,oe=e;else for(;oe!==null;){n=oe;try{var ie=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(ie!==null){var le=ie.memoizedProps,Ue=ie.memoizedState,M=n.stateNode,R=M.getSnapshotBeforeUpdate(n.elementType===n.type?le:Wt(n.type,le),Ue);M.__reactInternalSnapshotBeforeUpdate=R}break;case 3:var O=n.stateNode.containerInfo;O.nodeType===1?O.textContent="":O.nodeType===9&&O.documentElement&&O.removeChild(O.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(q){$e(n,n.return,q)}if(e=n.sibling,e!==null){e.return=n.return,oe=e;break}oe=n.return}return ie=Ep,Ep=!1,ie}function cs(e,n,s){var a=n.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var u=a=a.next;do{if((u.tag&e)===e){var m=u.destroy;u.destroy=void 0,m!==void 0&&cc(n,s,m)}u=u.next}while(u!==a)}}function Oi(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var s=n=n.next;do{if((s.tag&e)===e){var a=s.create;s.destroy=a()}s=s.next}while(s!==n)}}function uc(e){var n=e.ref;if(n!==null){var s=e.stateNode;e.tag,e=s,typeof n=="function"?n(e):n.current=e}}function kp(e){var n=e.alternate;n!==null&&(e.alternate=null,kp(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[cn],delete n[Zo],delete n[Nl],delete n[g0],delete n[v0])),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 Np(e){return e.tag===5||e.tag===3||e.tag===4}function Tp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Np(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 dc(e,n,s){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?s.nodeType===8?s.parentNode.insertBefore(e,n):s.insertBefore(e,n):(s.nodeType===8?(n=s.parentNode,n.insertBefore(e,s)):(n=s,n.appendChild(e)),s=s._reactRootContainer,s!=null||n.onclick!==null||(n.onclick=di));else if(a!==4&&(e=e.child,e!==null))for(dc(e,n,s),e=e.sibling;e!==null;)dc(e,n,s),e=e.sibling}function fc(e,n,s){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?s.insertBefore(e,n):s.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(fc(e,n,s),e=e.sibling;e!==null;)fc(e,n,s),e=e.sibling}var Je=null,Vt=!1;function Yn(e,n,s){for(s=s.child;s!==null;)Pp(e,n,s),s=s.sibling}function Pp(e,n,s){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(Gs,s)}catch{}switch(s.tag){case 5:ot||no(s,n);case 6:var a=Je,u=Vt;Je=null,Yn(e,n,s),Je=a,Vt=u,Je!==null&&(Vt?(e=Je,s=s.stateNode,e.nodeType===8?e.parentNode.removeChild(s):e.removeChild(s)):Je.removeChild(s.stateNode));break;case 18:Je!==null&&(Vt?(e=Je,s=s.stateNode,e.nodeType===8?kl(e.parentNode,s):e.nodeType===1&&kl(e,s),Bo(e)):kl(Je,s.stateNode));break;case 4:a=Je,u=Vt,Je=s.stateNode.containerInfo,Vt=!0,Yn(e,n,s),Je=a,Vt=u;break;case 0:case 11:case 14:case 15:if(!ot&&(a=s.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){u=a=a.next;do{var m=u,w=m.destroy;m=m.tag,w!==void 0&&((m&2)!==0||(m&4)!==0)&&cc(s,n,w),u=u.next}while(u!==a)}Yn(e,n,s);break;case 1:if(!ot&&(no(s,n),a=s.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=s.memoizedProps,a.state=s.memoizedState,a.componentWillUnmount()}catch(k){$e(s,n,k)}Yn(e,n,s);break;case 21:Yn(e,n,s);break;case 22:s.mode&1?(ot=(a=ot)||s.memoizedState!==null,Yn(e,n,s),ot=a):Yn(e,n,s);break;default:Yn(e,n,s)}}function jp(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var s=e.stateNode;
vendor: 13,598 bytes, line 9
9s===null&&(s=e.stateNode=new M0),n.forEach(function(a){var u=H0.bind(null,e,a);s.has(a)||(s.add(a),a.then(u,u))})}}function Kt(e,n){var s=n.deletions;if(s!==null)for(var a=0;a<s.length;a++){var u=s[a];try{var m=e,w=n,k=w;e:for(;k!==null;){switch(k.tag){case 5:Je=k.stateNode,Vt=!1;break e;case 3:Je=k.stateNode.containerInfo,Vt=!0;break e;case 4:Je=k.stateNode.containerInfo,Vt=!0;break e}k=k.return}if(Je===null)throw Error(o(160));Pp(m,w,u),Je=null,Vt=!1;var T=u.alternate;T!==null&&(T.return=null),u.return=null}catch(L){$e(u,n,L)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Rp(n,e),n=n.sibling}function Rp(e,n){var s=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Kt(n,e),fn(e),a&4){try{cs(3,e,e.return),Oi(3,e)}catch(le){$e(e,e.return,le)}try{cs(5,e,e.return)}catch(le){$e(e,e.return,le)}}break;case 1:Kt(n,e),fn(e),a&512&&s!==null&&no(s,s.return);break;case 5:if(Kt(n,e),fn(e),a&512&&s!==null&&no(s,s.return),e.flags&32){var u=e.stateNode;try{rn(u,"")}catch(le){$e(e,e.return,le)}}if(a&4&&(u=e.stateNode,u!=null)){var m=e.memoizedProps,w=s!==null?s.memoizedProps:m,k=e.type,T=e.updateQueue;if(e.updateQueue=null,T!==null)try{k==="input"&&m.type==="radio"&&m.name!=null&&jo(u,m),_o(k,w);var L=_o(k,m);for(w=0;w<T.length;w+=2){var H=T[w],K=T[w+1];H==="style"?bn(u,K):H==="dangerouslySetInnerHTML"?$s(u,K):H==="children"?rn(u,K):A(u,H,K,L)}switch(k){case"input":Ro(u,m);break;case"textarea":Fs(u,m);break;case"select":var B=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!m.multiple;var te=m.value;te!=null?jt(u,!!m.multiple,te,!1):B!==!!m.multiple&&(m.defaultValue!=null?jt(u,!!m.multiple,m.defaultValue,!0):jt(u,!!m.multiple,m.multiple?[]:"",!1))}u[Zo]=m}catch(le){$e(e,e.return,le)}}break;case 6:if(Kt(n,e),fn(e),a&4){if(e.stateNode===null)throw Error(o(162));u=e.stateNode,m=e.memoizedProps;try{u.nodeValue=m}catch(le){$e(e,e.return,le)}}break;case 3:if(Kt(n,e),fn(e),a&4&&s!==null&&s.memoizedState.isDehydrated)try{Bo(n.containerInfo)}catch(le){$e(e,e.return,le)}break;case 4:Kt(n,e),fn(e);break;case 13:Kt(n,e),fn(e),u=e.child,u.flags&8192&&(m=u.memoizedState!==null,u.stateNode.isHidden=m,!m||u.alternate!==null&&u.alternate.memoizedState!==null||(hc=Be())),a&4&&jp(e);break;case 22:if(H=s!==null&&s.memoizedState!==null,e.mode&1?(ot=(L=ot)||H,Kt(n,e),ot=L):Kt(n,e),fn(e),a&8192){if(L=e.memoizedState!==null,(e.stateNode.isHidden=L)&&!H&&(e.mode&1)!==0)for(oe=e,H=e.child;H!==null;){for(K=oe=H;oe!==null;){switch(B=oe,te=B.child,B.tag){case 0:case 11:case 14:case 15:cs(4,B,B.return);break;case 1:no(B,B.return);var ie=B.stateNode;if(typeof ie.componentWillUnmount=="function"){a=B,s=B.return;try{n=a,ie.props=n.memoizedProps,ie.state=n.memoizedState,ie.componentWillUnmount()}catch(le){$e(a,s,le)}}break;case 5:no(B,B.return);break;case 22:if(B.memoizedState!==null){Mp(K);continue}}te!==null?(te.return=B,oe=te):Mp(K)}H=H.sibling}e:for(H=null,K=e;;){if(K.tag===5){if(H===null){H=K;try{u=K.stateNode,L?(m=u.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(k=K.stateNode,T=K.memoizedProps.style,w=T!=null&&T.hasOwnProperty("display")?T.display:null,k.style.display=Ir("display",w))}catch(le){$e(e,e.return,le)}}}else if(K.tag===6){if(H===null)try{K.stateNode.nodeValue=L?"":K.memoizedProps}catch(le){$e(e,e.return,le)}}else if((K.tag!==22&&K.tag!==23||K.memoizedState===null||K===e)&&K.child!==null){K.child.return=K,K=K.child;continue}if(K===e)break e;for(;K.sibling===null;){if(K.return===null||K.return===e)break e;H===K&&(H=null),K=K.return}H===K&&(H=null),K.sibling.return=K.return,K=K.sibling}}break;case 19:Kt(n,e),fn(e),a&4&&jp(e);break;case 21:break;default:Kt(n,e),fn(e)}}function fn(e){var n=e.flags;if(n&2){try{e:{for(var s=e.return;s!==null;){if(Np(s)){var a=s;break e}s=s.return}throw Error(o(160))}switch(a.tag){case 5:var u=a.stateNode;a.flags&32&&(rn(u,""),a.flags&=-33);var m=Tp(e);fc(e,m,u);break;case 3:case 4:var w=a.stateNode.containerInfo,k=Tp(e);dc(e,k,w);break;default:throw Error(o(161))}}catch(T){$e(e,e.return,T)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function I0(e,n,s){oe=e,Ap(e)}function Ap(e,n,s){for(var a=(e.mode&1)!==0;oe!==null;){var u=oe,m=u.child;if(u.tag===22&&a){var w=u.memoizedState!==null||Mi;if(!w){var k=u.alternate,T=k!==null&&k.memoizedState!==null||ot;k=Mi;var L=ot;if(Mi=w,(ot=T)&&!L)for(oe=u;oe!==null;)w=oe,T=w.child,w.tag===22&&w.memoizedState!==null?Op(u):T!==null?(T.return=w,oe=T):Op(u);for(;m!==null;)oe=m,Ap(m),m=m.sibling;oe=u,Mi=k,ot=L}_p(e)}else(u.subtreeFlags&8772)!==0&&m!==null?(m.return=u,oe=m):_p(e)}}function _p(e){for(;oe!==null;){var n=oe;if((n.flags&8772)!==0){var s=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:ot||Oi(5,n);break;case 1:var a=n.stateNode;if(n.flags&4&&!ot)if(s===null)a.componentDidMount();else{var u=n.elementType===n.type?s.memoizedProps:Wt(n.type,s.memoizedProps);a.componentDidUpdate(u,s.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var m=n.updateQueue;m!==null&&Mf(n,m,a);break;case 3:var w=n.updateQueue;if(w!==null){if(s=null,n.child!==null)switch(n.child.tag){case 5:s=n.child.stateNode;break;case 1:s=n.child.stateNode}Mf(n,w,s)}break;case 5:var k=n.stateNode;if(s===null&&n.flags&4){s=k;var T=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":T.autoFocus&&s.focus();break;case"img":T.src&&(s.src=T.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var L=n.alternate;if(L!==null){var H=L.memoizedState;if(H!==null){var K=H.dehydrated;K!==null&&Bo(K)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}ot||n.flags&512&&uc(n)}catch(B){$e(n,n.return,B)}}if(n===e){oe=null;break}if(s=n.sibling,s!==null){s.return=n.return,oe=s;break}oe=n.return}}function Mp(e){for(;oe!==null;){var n=oe;if(n===e){oe=null;break}var s=n.sibling;if(s!==null){s.return=n.return,oe=s;break}oe=n.return}}function Op(e){for(;oe!==null;){var n=oe;try{switch(n.tag){case 0:case 11:case 15:var s=n.return;try{Oi(4,n)}catch(T){$e(n,s,T)}break;case 1:var a=n.stateNode;if(typeof a.componentDidMount=="function"){var u=n.return;try{a.componentDidMount()}catch(T){$e(n,u,T)}}var m=n.return;try{uc(n)}catch(T){$e(n,m,T)}break;case 5:var w=n.return;try{uc(n)}catch(T){$e(n,w,T)}}}catch(T){$e(n,n.return,T)}if(n===e){oe=null;break}var k=n.sibling;if(k!==null){k.return=n.return,oe=k;break}oe=n.return}}var D0=Math.ceil,Ii=D.ReactCurrentDispatcher,pc=D.ReactCurrentOwner,Ot=D.ReactCurrentBatchConfig,Ce=0,Ye=null,Ve=null,et=0,Et=0,ro=Vn(0),qe=0,us=null,Sr=0,Di=0,mc=0,ds=null,gt=null,hc=0,oo=1/0,jn=null,Li=!1,gc=null,Xn=null,Fi=!1,Zn=null,zi=0,fs=0,vc=null,$i=-1,Bi=0;function lt(){return(Ce&6)!==0?Be():$i!==-1?$i:$i=Be()}function Jn(e){return(e.mode&1)===0?1:(Ce&2)!==0&&et!==0?et&-et:x0.transition!==null?(Bi===0&&(Bi=Nd()),Bi):(e=Re,e!==0||(e=window.event,e=e===void 0?16:Id(e.type)),e)}function Gt(e,n,s,a){if(50<fs)throw fs=0,vc=null,Error(o(185));Do(e,s,a),((Ce&2)===0||e!==Ye)&&(e===Ye&&((Ce&2)===0&&(Di|=s),qe===4&&er(e,et)),vt(e,a),s===1&&Ce===0&&(n.mode&1)===0&&(oo=Be()+500,hi&&Gn()))}function vt(e,n){var s=e.callbackNode;xx(e,n);var a=Ys(e,e===Ye?et:0);if(a===0)s!==null&&Cd(s),e.callbackNode=null,e.callbackPriority=0;else if(n=a&-a,e.callbackPriority!==n){if(s!=null&&Cd(s),n===1)e.tag===0?y0(Dp.bind(null,e)):bf(Dp.bind(null,e)),m0(function(){(Ce&6)===0&&Gn()}),s=null;else{switch(Td(a)){case 1:s=Ya;break;case 4:s=Ed;break;case 16:s=Ks;break;case 536870912:s=kd;break;default:s=Ks}s=Wp(s,Ip.bind(null,e))}e.callbackPriority=n,e.callbackNode=s}}function Ip(e,n){if($i=-1,Bi=0,(Ce&6)!==0)throw Error(o(327));var s=e.callbackNode;if(so()&&e.callbackNode!==s)return null;var a=Ys(e,e===Ye?et:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||n)n=Ui(e,a);else{n=a;var u=Ce;Ce|=2;var m=Fp();(Ye!==e||et!==n)&&(jn=null,oo=Be()+500,Er(e,n));do try{z0();break}catch(k){Lp(e,k)}while(!0);Il(),Ii.current=m,Ce=u,Ve!==null?n=0:(Ye=null,et=0,n=qe)}if(n!==0){if(n===2&&(u=Xa(e),u!==0&&(a=u,n=yc(e,u))),n===1)throw s=us,Er(e,0),er(e,a),vt(e,Be()),s;if(n===6)er(e,a);else{if(u=e.current.alternate,(a&30)===0&&!L0(u)&&(n=Ui(e,a),n===2&&(m=Xa(e),m!==0&&(a=m,n=yc(e,m))),n===1))throw s=us,Er(e,0),er(e,a),vt(e,Be()),s;switch(e.finishedWork=u,e.finishedLanes=a,n){case 0:case 1:throw Error(o(345));case 2:kr(e,gt,jn);break;case 3:if(er(e,a),(a&130023424)===a&&(n=hc+500-Be(),10<n)){if(Ys(e,0)!==0)break;if(u=e.suspendedLanes,(u&a)!==a){lt(),e.pingedLanes|=e.suspendedLanes&u;break}e.timeoutHandle=El(kr.bind(null,e,gt,jn),n);break}kr(e,gt,jn);break;case 4:if(er(e,a),(a&4194240)===a)break;for(n=e.eventTimes,u=-1;0<a;){var w=31-Bt(a);m=1<<w,w=n[w],w>u&&(u=w),a&=~m}if(a=u,a=Be()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*D0(a/1960))-a,10<a){e.timeoutHandle=El(kr.bind(null,e,gt,jn),a);break}kr(e,gt,jn);break;case 5:kr(e,gt,jn);break;default:throw Error(o(329))}}}return vt(e,Be()),e.callbackNode===s?Ip.bind(null,e):null}function yc(e,n){var s=ds;return e.current.memoizedState.isDehydrated&&(Er(e,n).flags|=256),e=Ui(e,n),e!==2&&(n=gt,gt=s,n!==null&&xc(n)),e}function xc(e){gt===null?gt=e:gt.push.apply(gt,e)}function L0(e){for(var n=e;;){if(n.flags&16384){var s=n.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var a=0;a<s.length;a++){var u=s[a],m=u.getSnapshot;u=u.value;try{if(!Ut(m(),u))return!1}catch{return!1}}}if(s=n.child,n.subtreeFlags&16384&&s!==null)s.return=n,n=s;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function er(e,n){for(n&=~mc,n&=~Di,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var s=31-Bt(n),a=1<<s;e[s]=-1,n&=~a}}function Dp(e){if((Ce&6)!==0)throw Error(o(327));so();var n=Ys(e,0);if((n&1)===0)return vt(e,Be()),null;var s=Ui(e,n);if(e.tag!==0&&s===2){var a=Xa(e);a!==0&&(n=a,s=yc(e,a))}if(s===1)throw s=us,Er(e,0),er(e,n),vt(e,Be()),s;if(s===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,kr(e,gt,jn),vt(e,Be()),null}function wc(e,n){var s=Ce;Ce|=1;try{return e(n)}finally{Ce=s,Ce===0&&(oo=Be()+500,hi&&Gn())}}function Cr(e){Zn!==null&&Zn.tag===0&&(Ce&6)===0&&so();var n=Ce;Ce|=1;var s=Ot.transition,a=Re;try{if(Ot.transition=null,Re=1,e)return e()}finally{Re=a,Ot.transition=s,Ce=n,(Ce&6)===0&&Gn()}}function bc(){Et=ro.current,Ie(ro)}function Er(e,n){e.finishedWork=null,e.finishedLanes=0;var s=e.timeoutHandle;if(s!==-1&&(e.timeoutHandle=-1,p0(s)),Ve!==null)for(s=Ve.return;s!==null;){var a=s;switch(Rl(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&pi();break;case 3:eo(),Ie(pt),Ie(tt),Hl();break;case 5:Bl(a);break;case 4:eo();break;case 13:Ie(Fe);break;case 19:Ie(Fe);break;case 10:Dl(a.type._context);break;case 22:case 23:bc()}s=s.return}if(Ye=e,Ve=e=tr(e.current,null),et=Et=n,qe=0,us=null,mc=Di=Sr=0,gt=ds=null,xr!==null){for(n=0;n<xr.length;n++)if(s=xr[n],a=s.interleaved,a!==null){s.interleaved=null;var u=a.next,m=s.pending;if(m!==null){var w=m.next;m.next=u,a.next=w}s.pending=a}xr=null}return e}function Lp(e,n){do{var s=Ve;try{if(Il(),ki.current=ji,Ni){for(var a=ze.memoizedState;a!==null;){var u=a.queue;u!==null&&(u.pending=null),a=a.next}Ni=!1}if(br=0,Qe=Ge=ze=null,os=!1,ss=0,pc.current=null,s===null||s.return===null){qe=1,us=n,Ve=null;break}e:{var m=e,w=s.return,k=s,T=n;if(n=et,k.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){var L=T,H=k,K=H.tag;if((H.mode&1)===0&&(K===0||K===11||K===15)){var B=H.alternate;B?(H.updateQueue=B.updateQueue,H.memoizedState=B.memoizedState,H.lanes=B.lanes):(H.updateQueue=null,H.memoizedState=null)}var te=lp(w);if(te!==null){te.flags&=-257,cp(te,w,k,m,n),te.mode&1&&ap(m,L,n),n=te,T=L;var ie=n.updateQueue;if(ie===null){var le=new Set;le.add(T),n.updateQueue=le}else ie.add(T);break e}else{if((n&1)===0){ap(m,L,n),Sc();break e}T=Error(o(426))}}else if(Le&&k.mode&1){var Ue=lp(w);if(Ue!==null){(Ue.flags&65536)===0&&(Ue.flags|=256),cp(Ue,w,k,m,n),Ml(to(T,k));break e}}m=T=to(T,k),qe!==4&&(qe=2),ds===null?ds=[m]:ds.push(m),m=w;do{switch(m.tag){case 3:m.flags|=65536,n&=-n,m.lanes|=n;var M=sp(m,T,n);_f(m,M);break e;case 1:k=T;var R=m.type,O=m.stateNode;if((m.flags&128)===0&&(typeof R.getDerivedStateFromError=="function"||O!==null&&typeof O.componentDidCatch=="function"&&(Xn===null||!Xn.has(O)))){m.flags|=65536,n&=-n,m.lanes|=n;var q=ip(m,k,n);_f(m,q);break e}}m=m.return}while(m!==null)}$p(s)}catch(ue){n=ue,Ve===s&&s!==null&&(Ve=s=s.return);continue}break}while(!0)}function Fp(){var e=Ii.current;return Ii.current=ji,e===null?ji:e}function Sc(){(qe===0||qe===3||qe===2)&&(qe=4),Ye===null||(Sr&268435455)===0&&(Di&268435455)===0||er(Ye,et)}function Ui(e,n){var s=Ce;Ce|=2;var a=Fp();(Ye!==e||et!==n)&&(jn=null,Er(e,n));do try{F0();break}catch(u){Lp(e,u)}while(!0);if(Il(),Ce=s,Ii.current=a,Ve!==null)throw Error(o(261));return Ye=null,et=0,qe}function F0(){for(;Ve!==null;)zp(Ve)}function z0(){for(;Ve!==null&&!ux();)zp(Ve)}function zp(e){var n=Hp(e.alternate,e,Et);e.memoizedProps=e.pendingProps,n===null?$p(e):Ve=n,pc.current=null}function $p(e){var n=e;do{var s=n.alternate;if(e=n.return,(n.flags&32768)===0){if(s=A0(s,n,Et),s!==null){Ve=s;return}}else{if(s=_0(s,n),s!==null){s.flags&=32767,Ve=s;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{qe=6,Ve=null;return}}if(n=n.sibling,n!==null){Ve=n;return}Ve=n=e}while(n!==null);qe===0&&(qe=5)}function kr(e,n,s){var a=Re,u=Ot.transition;try{Ot.transition=null,Re=1,$0(e,n,s,a)}finally{Ot.transition=u,Re=a}return null}function $0(e,n,s,a){do so();while(Zn!==null);if((Ce&6)!==0)throw Error(o(327));
vendor: 5,533 bytes, line 9
9s=e.finishedWork;var u=e.finishedLanes;if(s===null)return null;if(e.finishedWork=null,e.finishedLanes=0,s===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var m=s.lanes|s.childLanes;if(wx(e,m),e===Ye&&(Ve=Ye=null,et=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||Fi||(Fi=!0,Wp(Ks,function(){return so(),null})),m=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||m){m=Ot.transition,Ot.transition=null;var w=Re;Re=1;var k=Ce;Ce|=4,pc.current=null,O0(e,s),Rp(s,e),i0(Sl),Js=!!bl,Sl=bl=null,e.current=s,I0(s),dx(),Ce=k,Re=w,Ot.transition=m}else e.current=s;if(Fi&&(Fi=!1,Zn=e,zi=u),m=e.pendingLanes,m===0&&(Xn=null),mx(s.stateNode),vt(e,Be()),n!==null)for(a=e.onRecoverableError,s=0;s<n.length;s++)u=n[s],a(u.value,{componentStack:u.stack,digest:u.digest});if(Li)throw Li=!1,e=gc,gc=null,e;return(zi&1)!==0&&e.tag!==0&&so(),m=e.pendingLanes,(m&1)!==0?e===vc?fs++:(fs=0,vc=e):fs=0,Gn(),null}function so(){if(Zn!==null){var e=Td(zi),n=Ot.transition,s=Re;try{if(Ot.transition=null,Re=16>e?16:e,Zn===null)var a=!1;else{if(e=Zn,Zn=null,zi=0,(Ce&6)!==0)throw Error(o(331));var u=Ce;for(Ce|=4,oe=e.current;oe!==null;){var m=oe,w=m.child;if((oe.flags&16)!==0){var k=m.deletions;if(k!==null){for(var T=0;T<k.length;T++){var L=k[T];for(oe=L;oe!==null;){var H=oe;switch(H.tag){case 0:case 11:case 15:cs(8,H,m)}var K=H.child;if(K!==null)K.return=H,oe=K;else for(;oe!==null;){H=oe;var B=H.sibling,te=H.return;if(kp(H),H===L){oe=null;break}if(B!==null){B.return=te,oe=B;break}oe=te}}}var ie=m.alternate;if(ie!==null){var le=ie.child;if(le!==null){ie.child=null;do{var Ue=le.sibling;le.sibling=null,le=Ue}while(le!==null)}}oe=m}}if((m.subtreeFlags&2064)!==0&&w!==null)w.return=m,oe=w;else e:for(;oe!==null;){if(m=oe,(m.flags&2048)!==0)switch(m.tag){case 0:case 11:case 15:cs(9,m,m.return)}var M=m.sibling;if(M!==null){M.return=m.return,oe=M;break e}oe=m.return}}var R=e.current;for(oe=R;oe!==null;){w=oe;var O=w.child;if((w.subtreeFlags&2064)!==0&&O!==null)O.return=w,oe=O;else e:for(w=R;oe!==null;){if(k=oe,(k.flags&2048)!==0)try{switch(k.tag){case 0:case 11:case 15:Oi(9,k)}}catch(ue){$e(k,k.return,ue)}if(k===w){oe=null;break e}var q=k.sibling;if(q!==null){q.return=k.return,oe=q;break e}oe=k.return}}if(Ce=u,Gn(),ln&&typeof ln.onPostCommitFiberRoot=="function")try{ln.onPostCommitFiberRoot(Gs,e)}catch{}a=!0}return a}finally{Re=s,Ot.transition=n}}return!1}function Bp(e,n,s){n=to(s,n),n=sp(e,n,1),e=Qn(e,n,1),n=lt(),e!==null&&(Do(e,1,n),vt(e,n))}function $e(e,n,s){if(e.tag===3)Bp(e,e,s);else for(;n!==null;){if(n.tag===3){Bp(n,e,s);break}else if(n.tag===1){var a=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Xn===null||!Xn.has(a))){e=to(s,e),e=ip(n,e,1),n=Qn(n,e,1),e=lt(),n!==null&&(Do(n,1,e),vt(n,e));break}}n=n.return}}function B0(e,n,s){var a=e.pingCache;a!==null&&a.delete(n),n=lt(),e.pingedLanes|=e.suspendedLanes&s,Ye===e&&(et&s)===s&&(qe===4||qe===3&&(et&130023424)===et&&500>Be()-hc?Er(e,0):mc|=s),vt(e,n)}function Up(e,n){n===0&&((e.mode&1)===0?n=1:(n=Qs,Qs<<=1,(Qs&130023424)===0&&(Qs=4194304)));var s=lt();e=Nn(e,n),e!==null&&(Do(e,n,s),vt(e,s))}function U0(e){var n=e.memoizedState,s=0;n!==null&&(s=n.retryLane),Up(e,s)}function H0(e,n){var s=0;switch(e.tag){case 13:var a=e.stateNode,u=e.memoizedState;u!==null&&(s=u.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(o(314))}a!==null&&a.delete(n),Up(e,s)}var Hp;Hp=function(e,n,s){if(e!==null)if(e.memoizedProps!==n.pendingProps||pt.current)ht=!0;else{if((e.lanes&s)===0&&(n.flags&128)===0)return ht=!1,R0(e,n,s);ht=(e.flags&131072)!==0}else ht=!1,Le&&(n.flags&1048576)!==0&&Sf(n,vi,n.index);switch(n.lanes=0,n.tag){case 2:var a=n.type;_i(e,n),e=n.pendingProps;var u=Gr(n,tt.current);Jr(n,s),u=Kl(null,n,a,e,u,s);var m=Gl();return n.flags|=1,typeof u=="object"&&u!==null&&typeof u.render=="function"&&u.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,mt(a)?(m=!0,mi(n)):m=!1,n.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,zl(n),u.updater=Ri,n.stateNode=u,u._reactInternals=n,Jl(n,a,e,s),n=rc(null,n,a,!0,m,s)):(n.tag=0,Le&&m&&jl(n),at(null,n,u,s),n=n.child),n;case 16:a=n.elementType;e:{switch(_i(e,n),e=n.pendingProps,u=a._init,a=u(a._payload),n.type=a,u=n.tag=V0(a),e=Wt(a,e),u){case 0:n=nc(null,n,a,e,s);break e;case 1:n=hp(null,n,a,e,s);break e;case 11:n=up(null,n,a,e,s);break e;case 14:n=dp(null,n,a,Wt(a.type,e),s);break e}throw Error(o(306,a,""))}return n;case 0:return a=n.type,u=n.pendingProps,u=n.elementType===a?u:Wt(a,u),nc(e,n,a,u,s);case 1:return a=n.type,u=n.pendingProps,u=n.elementType===a?u:Wt(a,u),hp(e,n,a,u,s);case 3:e:{if(gp(n),e===null)throw Error(o(387));a=n.pendingProps,m=n.memoizedState,u=m.element,Af(e,n),Ci(n,a,null,s);var w=n.memoizedState;if(a=w.element,m.isDehydrated)if(m={element:a,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},n.updateQueue.baseState=m,n.memoizedState=m,n.flags&256){u=to(Error(o(423)),n),n=vp(e,n,a,s,u);break e}else if(a!==u){u=to(Error(o(424)),n),n=vp(e,n,a,s,u);break e}else for(Ct=Wn(n.stateNode.containerInfo.firstChild),St=n,Le=!0,Ht=null,s=jf(n,null,a,s),n.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Yr(),a===u){n=Pn(e,n,s);break e}at(e,n,a,s)}n=n.child}return n;case 5:return Of(n),e===null&&_l(n),a=n.type,u=n.pendingProps,m=e!==null?e.memoizedProps:null,w=u.children,Cl(a,u)?w=null:m!==null&&Cl(a,m)&&(n.flags|=32),mp(e,n),at(e,n,w,s),n.child;case 6:return e===null&&_l(n),null;case 13:return yp(e,n,s);
vendor: 8,160 bytes, line 9
9case 4:return $l(n,n.stateNode.containerInfo),a=n.pendingProps,e===null?n.child=Xr(n,null,a,s):at(e,n,a,s),n.child;case 11:return a=n.type,u=n.pendingProps,u=n.elementType===a?u:Wt(a,u),up(e,n,a,u,s);case 7:return at(e,n,n.pendingProps,s),n.child;case 8:return at(e,n,n.pendingProps.children,s),n.child;case 12:return at(e,n,n.pendingProps.children,s),n.child;case 10:e:{if(a=n.type._context,u=n.pendingProps,m=n.memoizedProps,w=u.value,Me(wi,a._currentValue),a._currentValue=w,m!==null)if(Ut(m.value,w)){if(m.children===u.children&&!pt.current){n=Pn(e,n,s);break e}}else for(m=n.child,m!==null&&(m.return=n);m!==null;){var k=m.dependencies;if(k!==null){w=m.child;for(var T=k.firstContext;T!==null;){if(T.context===a){if(m.tag===1){T=Tn(-1,s&-s),T.tag=2;var L=m.updateQueue;if(L!==null){L=L.shared;var H=L.pending;H===null?T.next=T:(T.next=H.next,H.next=T),L.pending=T}}m.lanes|=s,T=m.alternate,T!==null&&(T.lanes|=s),Ll(m.return,s,n),k.lanes|=s;break}T=T.next}}else if(m.tag===10)w=m.type===n.type?null:m.child;else if(m.tag===18){if(w=m.return,w===null)throw Error(o(341));w.lanes|=s,k=w.alternate,k!==null&&(k.lanes|=s),Ll(w,s,n),w=m.sibling}else w=m.child;if(w!==null)w.return=m;else for(w=m;w!==null;){if(w===n){w=null;break}if(m=w.sibling,m!==null){m.return=w.return,w=m;break}w=w.return}m=w}at(e,n,u.children,s),n=n.child}return n;case 9:return u=n.type,a=n.pendingProps.children,Jr(n,s),u=_t(u),a=a(u),n.flags|=1,at(e,n,a,s),n.child;case 14:return a=n.type,u=Wt(a,n.pendingProps),u=Wt(a.type,u),dp(e,n,a,u,s);case 15:return fp(e,n,n.type,n.pendingProps,s);case 17:return a=n.type,u=n.pendingProps,u=n.elementType===a?u:Wt(a,u),_i(e,n),n.tag=1,mt(a)?(e=!0,mi(n)):e=!1,Jr(n,s),rp(n,a,u),Jl(n,a,u,s),rc(null,n,a,!0,e,s);case 19:return wp(e,n,s);case 22:return pp(e,n,s)}throw Error(o(156,n.tag))};function Wp(e,n){return Sd(e,n)}function W0(e,n,s,a){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function It(e,n,s,a){return new W0(e,n,s,a)}function Cc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function V0(e){if(typeof e=="function")return Cc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Z)return 11;if(e===ye)return 14}return 2}function tr(e,n){var s=e.alternate;return s===null?(s=It(e.tag,n,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=n,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&14680064,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,n=e.dependencies,s.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s}function Hi(e,n,s,a,u,m){var w=2;if(a=e,typeof e=="function")Cc(e)&&(w=1);else if(typeof e=="string")w=5;else e:switch(e){case V:return Nr(s.children,u,m,n);case X:w=8,u|=8;break;case J:return e=It(12,s,n,u|2),e.elementType=J,e.lanes=m,e;case he:return e=It(13,s,n,u),e.elementType=he,e.lanes=m,e;case Q:return e=It(19,s,n,u),e.elementType=Q,e.lanes=m,e;case ae:return Wi(s,u,m,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case se:w=10;break e;case de:w=9;break e;case Z:w=11;break e;case ye:w=14;break e;case re:w=16,a=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return n=It(w,s,n,u),n.elementType=e,n.type=a,n.lanes=m,n}function Nr(e,n,s,a){return e=It(7,e,a,n),e.lanes=s,e}function Wi(e,n,s,a){return e=It(22,e,a,n),e.elementType=ae,e.lanes=s,e.stateNode={isHidden:!1},e}function Ec(e,n,s){return e=It(6,e,null,n),e.lanes=s,e}function kc(e,n,s){return n=It(4,e.children!==null?e.children:[],e.key,n),n.lanes=s,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function K0(e,n,s,a,u){this.tag=n,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=Za(0),this.expirationTimes=Za(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Za(0),this.identifierPrefix=a,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function Nc(e,n,s,a,u,m,w,k,T){return e=new K0(e,n,s,k,T),n===1?(n=1,m===!0&&(n|=8)):n=0,m=It(3,null,null,n),e.current=m,m.stateNode=e,m.memoizedState={element:a,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},zl(m),e}function G0(e,n,s){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:W,key:a==null?null:""+a,children:e,containerInfo:n,implementation:s}}function Vp(e){if(!e)return Kn;e=e._reactInternals;e:{if(mr(e)!==e||e.tag!==1)throw Error(o(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(mt(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(o(171))}if(e.tag===1){var s=e.type;if(mt(s))return xf(e,s,n)}return n}function Kp(e,n,s,a,u,m,w,k,T){return e=Nc(s,a,!0,e,u,m,w,k,T),e.context=Vp(null),s=e.current,a=lt(),u=Jn(s),m=Tn(a,u),m.callback=n??null,Qn(s,m,u),e.current.lanes=u,Do(e,u,a),vt(e,a),e}function Vi(e,n,s,a){var u=n.current,m=lt(),w=Jn(u);return s=Vp(s),n.context===null?n.context=s:n.pendingContext=s,n=Tn(m,w),n.payload={element:e},a=a===void 0?null:a,a!==null&&(n.callback=a),e=Qn(u,n,w),e!==null&&(Gt(e,u,w,m),Si(e,u,w)),w}function Ki(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function Gp(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<n?s:n}}function Tc(e,n){Gp(e,n),(e=e.alternate)&&Gp(e,n)}function q0(){return null}var qp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Pc(e){this._internalRoot=e}Gi.prototype.render=Pc.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(o(409));Vi(e,n,null,null)},Gi.prototype.unmount=Pc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Cr(function(){Vi(null,e,null,null)}),n[Sn]=null}};function Gi(e){this._internalRoot=e}Gi.prototype.unstable_scheduleHydration=function(e){if(e){var n=Rd();e={blockedOn:null,target:e,priority:n};for(var s=0;s<Bn.length&&n!==0&&n<Bn[s].priority;s++);Bn.splice(s,0,e),s===0&&Md(e)}};function jc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function qi(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Qp(){}function Q0(e,n,s,a,u){if(u){if(typeof a=="function"){var m=a;a=function(){var L=Ki(w);m.call(L)}}var w=Kp(n,a,e,0,null,!1,!1,"",Qp);return e._reactRootContainer=w,e[Sn]=w.current,Yo(e.nodeType===8?e.parentNode:e),Cr(),w}for(;u=e.lastChild;)e.removeChild(u);if(typeof a=="function"){var k=a;a=function(){var L=Ki(T);k.call(L)}}var T=Nc(e,0,!1,null,null,!1,!1,"",Qp);return e._reactRootContainer=T,e[Sn]=T.current,Yo(e.nodeType===8?e.parentNode:e),Cr(function(){Vi(n,T,s,a)}),T}function Qi(e,n,s,a,u){var m=s._reactRootContainer;if(m){var w=m;if(typeof u=="function"){var k=u;u=function(){var T=Ki(w);k.call(T)}}Vi(n,w,e,u)}else w=Q0(s,n,e,u,a);return Ki(w)}Pd=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var s=Io(n.pendingLanes);s!==0&&(Ja(n,s|1),vt(n,Be()),(Ce&6)===0&&(oo=Be()+500,Gn()))}break;case 13:Cr(function(){var a=Nn(e,1);if(a!==null){var u=lt();Gt(a,e,1,u)}}),Tc(e,1)}},el=function(e){if(e.tag===13){var n=Nn(e,134217728);if(n!==null){var s=lt();Gt(n,e,134217728,s)}Tc(e,134217728)}},jd=function(e){if(e.tag===13){var n=Jn(e),s=Nn(e,n);if(s!==null){var a=lt();Gt(s,e,n,a)}Tc(e,n)}},Rd=function(){return Re},Ad=function(e,n){var s=Re;try{return Re=e,n()}finally{Re=s}}
9,Lr=function(e,n,s){switch(n){case"input":if(Ro(e,s),n=s.name,s.type==="radio"&&n!=null){for(s=e;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<s.length;n++){var a=s[n];if(a!==e&&a.form===e.form){var u=fi(a);if(!u)throw Error(o(90));In(a),Ro(a,u)}}}break;case"textarea":Fs(e,s);break;case"select":n=s.value,n!=null&&jt(e,!!s.multiple,n,!1)}},Pe=wc,Ae=Cr;var Y0={usingClientEntryPoint:!1,Events:[Jo,Vr,fi,Hs,xe,wc]},ps={findFiberByHostInstance:hr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},X0={bundleType:ps.bundleType,version:ps.version,rendererPackageName:ps.rendererPackageName,rendererConfig:ps.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:D.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=wd(e),e===null?null:e.stateNode},findFiberByHostInstance:ps.findFiberByHostInstance||q0,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 Yi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yi.isDisabled&&Yi.supportsFiber)try{Gs=Yi.inject(X0),ln=Yi}catch{}}return yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y0,yt.createPortal=function(e,n){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!jc(n))throw Error(o(200));return G0(e,n,null,s)},yt.createRoot=function(e,n){if(!jc(e))throw Error(o(299));var s=!1,a="",u=qp;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(u=n.onRecoverableError)),n=Nc(e,1,!1,null,null,s,!1,a,u),e[Sn]=n.current,Yo(e.nodeType===8?e.parentNode:e),new Pc(n)},yt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=wd(n),e=e===null?null:e.stateNode,e},yt.flushSync=function(e){return Cr(e)},yt.hydrate=function(e,n,s){if(!qi(n))throw Error(o(200));return Qi(null,e,n,!0,s)},yt.hydrateRoot=function(e,n,s){if(!jc(e))throw Error(o(405));var a=s!=null&&s.hydratedSources||null,u=!1,m="",w=qp;if(s!=null&&(s.unstable_strictMode===!0&&(u=!0),s.identifierPrefix!==void 0&&(m=s.identifierPrefix),s.onRecoverableError!==void 0&&(w=s.onRecoverableError)),n=Kp(n,null,e,1,s??null,u,!1,m,w),e[Sn]=n.current,Yo(e),a)for(e=0;e<a.length;e++)s=a[e],u=s._getVersion,u=u(s._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[s,u]:n.mutableSourceEagerHydrationData.push(s,u);return new Gi(n)},yt.render=function(e,n,s){if(!qi(n))throw Error(o(200));return Qi(null,e,n,!1,s)},yt.unmountComponentAtNode=function(e){if(!qi(e))throw Error(o(40));return e._reactRootContainer?(Cr(function(){Qi(null,null,e,!1,function(){e._reactRootContainer=null,e[Sn]=null})}),!0):!1},yt.unstable_batchedUpdates=wc,yt.unstable_renderSubtreeIntoContainer=function(e,n,s,a){if(!qi(s))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return Qi(e,n,s,!1,a)},yt.version="18.3.1-next-f1338f8080-20240426",yt}var rm;function ph(){if(rm)return _c.exports;rm=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),_c.exports=sw(),_c.exports}var om;function iw(){if(om)return Xi;om=1;var t=ph();return Xi.createRoot=t.createRoot,Xi.hydrateRoot=t.hydrateRoot,Xi}var aw=iw();const lw="modulepreload",cw=function(t){return"/"+t},sm={},ur=function(r,o,i){let l=Promise.resolve();if(o&&o.length>0){let h=function(g){return Promise.all(g.map(y=>Promise.resolve(y).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),p=f?.nonce||f?.getAttribute("nonce");l=h(o.map(g=>{if(g=cw(g),g in sm)return;sm[g]=!0;const y=g.endsWith(".css"),x=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${x}`))return;const S=document.createElement("link");if(S.rel=y?"stylesheet":lw,y||(S.as="script"),S.crossOrigin="",S.href=g,p&&S.setAttribute("nonce",p),document.head.appendChild(S),y)return new Promise((b,N)=>{S.addEventListener("load",b),S.addEventListener("error",()=>N(new Error(`Unable to preload CSS for ${g}`)))})}))}function c(f){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=f,window.dispatchEvent(p),!p.defaultPrevented)throw f}return l.then(f=>{for(const p of f||[])p.status==="rejected"&&c(p.reason);return r().catch(c)})};var v=Pu();const G=Rs(v),ju=J0({__proto__:null,default:G},[v]),uw=1,dw=1e6;let Ic=0;function fw(){return Ic=(Ic+1)%Number.MAX_SAFE_INTEGER,Ic.toString()}const Dc=new Map,im=t=>
9{if(Dc.has(t))return;const r=setTimeout(()=>{Dc.delete(t),bs({type:"REMOVE_TOAST",toastId:t})},dw);Dc.set(t,r)},pw=(t,r)=>{switch(r.type){case"ADD_TOAST":return{...t,toasts:[r.toast,...t.toasts].slice(0,uw)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(o=>o.id===r.toast.id?{...o,...r.toast}:o)};case"DISMISS_TOAST":{const{toastId:o}=r;return o?im(o):t.toasts.forEach(i=>{im(i.id)}),{...t,toasts:t.toasts.map(i=>i.id===o||o===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return r.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(o=>o.id!==r.toastId)}}},ca=[];let ua={toasts:[]};function bs(t){ua=pw(ua,t),ca.forEach(r=>{r(ua)})}function mw({...t}){const r=fw(),o=l=>bs({type:"UPDATE_TOAST",toast:{...l,id:r}}),i=()=>bs({type:"DISMISS_TOAST",toastId:r});return bs({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:l=>{l||i()}}}),{id:r,dismiss:i,update:o}}function hw(){const[t,r]=v.useState(ua);return v.useEffect(()=>(ca.push(r),()=>{const o=ca.indexOf(r);o>-1&&ca.splice(o,1)}),[t]),{...t,toast:mw,dismiss:o=>bs({type:"DISMISS_TOAST",toastId:o})}}var Na=ph();const mh=Rs(Na);function ce(t,r,{checkForDefaultPrevented:o=!0}={}){return function(l){if(t?.(l),o===!1||!l.defaultPrevented)return r?.(l)}}function am(t,r){if(typeof t=="function")return t(r);t!=null&&(t.current=r)}function Ta(...t){return r=>{let o=!1;const i=t.map(l=>{const c=am(l,r);return!o&&typeof c=="function"&&(o=!0),c});if(o)return()=>{for(let l=0;l<i.length;l++){const c=i[l];typeof c=="function"?c():am(t[l],null)}}}}function _e(...t){return v.useCallback(Ta(...t),t)}function gw(t,r){const o=v.createContext(r),i=c=>{const{children:f,...p}=c,h=v.useMemo(()=>p,Object.values(p));return d.jsx(o.Provider,{value:h,children:f})};i.displayName=t+"Provider";function l(c){const f=v.useContext(o);if(f)return f;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${t}\``)}return[i,l]}function Mn(t,r=[]){let o=[];function i(c,f){const p=v.createContext(f),h=o.length;o=[...o,f];const g=x=>{const{scope:S,children:b,...N}=x,C=S?.[t]?.[h]||p,E=v.useMemo(()=>N,Object.values(N));return d.jsx(C.Provider,{value:E,children:b})};g.displayName=c+"Provider";function y(x,S){const b=S?.[t]?.[h]||p,N=v.useContext(b);if(N)return N;if(f!==void 0)return f;throw new Error(`\`${x}\` must be used within \`${c}\``)}return[g,y]}const l=()=>{const c=o.map(f=>v.createContext(f));return function(p){const h=p?.[t]||c;return v.useMemo(()=>({[`__scope${t}`]:{...p,[t]:h}}),[p,h])}};return l.scopeName=t,[i,vw(l,...r)]}function vw(...t){const r=t[0];if(t.length===1)return r;const o=()=>{const i=t.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(c){const f=i.reduce((p,{useScope:h,scopeName:g})=>{const x=h(c)[`__scope${g}`];return{...p,...x}},{});return v.useMemo(()=>({[`__scope${r.scopeName}`]:f}),[f])}};return o.scopeName=r.scopeName,o}function xo(t){const r=xw(t),o=v.forwardRef((i,l)=>{const{children:c,...f}=i,p=v.Children.toArray(c),h=p.find(bw);if(h){const g=h.props.children,y=p.map(x=>x===h?v.Children.count(g)>1?v.Children.only(null):v.isValidElement(g)?g.props.children:null:x);return d.jsx(r,{...f,ref:l,children:v.isValidElement(g)?v.cloneElement(g,void 0,y):null})}return d.jsx(r,{...f,ref:l,children:c})});return o.displayName=`${t}.Slot`,o}var yw=xo("Slot");function xw(t){const r=v.forwardRef((o,i)=>{const{children:l,...c}=o;if(v.isValidElement(l)){const f=Cw(l),p=Sw(c,l.props);return l.type!==v.Fragment&&(p.ref=i?Ta(i,f):f),v.cloneElement(l,p)}return v.Children.count(l)>1?v.Children.only(null):null});return r.displayName=`${t}.SlotClone`,r}var hh=Symbol("radix.slottable");function ww(t){const r=({children:o})=>d.jsx(d.Fragment,{children:o});return r.displayName=`${t}.Slottable`,r.__radixId=hh,r}function bw(t){return v.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===hh}function Sw(t,r){const o={...r};for(const i in r){const l=t[i],c=r[i];/^on[A-Z]/.test(i)?l&&c?o[i]=(...p)=>{const h=c(...p);return l(...p),h}:l&&(o[i]=l):i==="style"?o[i]={...l,...c}:i==="className"&&(o[i]=[l,c].filter(Boolean).join(" "))}return{...t,...o}}function Cw(t){let r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?t.ref:(r=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}function Ru(t){const r=t+"CollectionProvider",[o,i]=Mn(r),[l,c]=o(r,{collectionRef:{current:null},itemMap:new Map}),f=C=>{const{scope:E,children:j}=C,_=G.useRef(null),A=G.useRef(new Map).current;return d.jsx(l,{scope:E,itemMap:A,collectionRef:_,children:j})};f.displayName=r;const p=t+"CollectionSlot",h=xo(p),g=G.forwardRef((C,E)=>{const{scope:j,children:_}=C,A=c(p,j),D=_e(E,A.collectionRef);return d.jsx(h,{ref:D,children:_})});g.displayName=p;const y=t+"CollectionItemSlot",x="data-radix-collection-item",S=xo(y),b=G.forwardRef((C,E)=>{const{scope:j,children:_,...A}=C,D=G.useRef(null),$=_e(E,D),W=c(y,j);return G.useEffect(()=>(W.itemMap.set(D,{ref:D,...A}),()=>{W.itemMap.delete(D)})),d.jsx(S,{[x]:"",ref:$,children:_})});b.displayName=y;function N(C){const E=c(t+"CollectionConsumer",C);return G.useCallback(()=>{const _=E.collectionRef.current;if(!_)return[];const A=Array.from(_.querySelectorAll(`[${x}]`));return Array.from(E.itemMap.values()).sort((W,V)=>A.indexOf(W.ref.current)-A.indexOf(V.ref.current))},[E.collectionRef,E.itemMap])}return[{Provider:f,Slot:g,ItemSlot:b},N,i]}var Ew=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ke=Ew.reduce((t,r)=>{const o=xo(`Primitive.${r}`),i=v.forwardRef((l,c)=>{const{asChild:f,...p}=l,h=f?o:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(h,{...p,ref:c})});return i.displayName=`Primitive.${r}`,{...t,[r]:i}},{});function Au(t,r){t&&Na.flushSync(()=>t.dispatchEvent(r))}function Ke(t){const r=v.useRef(t);return v.useEffect(()=>{r.current=t}),v.useMemo(()=>(...o)=>r.current?.(...o),[])}function kw(t,r=globalThis?.document){const o=Ke(t);v.useEffect(()=>{const i=l=>{l.key==="Escape"&&o(l)};return r.addEventListener("keydown",i,{capture:!0}),()=>r.removeEventListener("keydown",i,{capture:!0})},[o,r])}var Nw="DismissableLayer",ru="dismissableLayer.update",Tw="dismissableLayer.pointerDownOutside",Pw="dismissableLayer.focusOutside",lm,gh=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),As=v.forwardRef((t,r)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:f,onDismiss:p,...h}=t,g=v.useContext(gh),[y,x]=v.useState(null),S=y?.ownerDocument??globalThis?.document,[,b]=v.useState({}),N=_e(r,V=>x(V)),C=Array.from(g.layers),[E]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),j=C.indexOf(E),_=y?C.indexOf(y):-1,A=g.layersWithOutsidePointerEventsDisabled.size>0,D=_>=j,$=Rw(V=>{const X=V.target,J=[...g.branches].some(se=>se.contains(X));!D||J||(l?.(V),f?.(V),V.defaultPrevented||p?.())},S),W=Aw(V=>{const X=V.target;[...g.branches].some(se=>
9se.contains(X))||(c?.(V),f?.(V),V.defaultPrevented||p?.())},S);return kw(V=>{_===g.layers.size-1&&(i?.(V),!V.defaultPrevented&&p&&(V.preventDefault(),p()))},S),v.useEffect(()=>{if(y)return o&&(g.layersWithOutsidePointerEventsDisabled.size===0&&(lm=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(y)),g.layers.add(y),cm(),()=>{o&&g.layersWithOutsidePointerEventsDisabled.size===1&&(S.body.style.pointerEvents=lm)}},[y,S,o,g]),v.useEffect(()=>()=>{y&&(g.layers.delete(y),g.layersWithOutsidePointerEventsDisabled.delete(y),cm())},[y,g]),v.useEffect(()=>{const V=()=>b({});return document.addEventListener(ru,V),()=>document.removeEventListener(ru,V)},[]),d.jsx(ke.div,{...h,ref:N,style:{pointerEvents:A?D?"auto":"none":void 0,...t.style},onFocusCapture:ce(t.onFocusCapture,W.onFocusCapture),onBlurCapture:ce(t.onBlurCapture,W.onBlurCapture),onPointerDownCapture:ce(t.onPointerDownCapture,$.onPointerDownCapture)})});As.displayName=Nw;var jw="DismissableLayerBranch",vh=v.forwardRef((t,r)=>{const o=v.useContext(gh),i=v.useRef(null),l=_e(r,i);return v.useEffect(()=>{const c=i.current;if(c)return o.branches.add(c),()=>{o.branches.delete(c)}},[o.branches]),d.jsx(ke.div,{...t,ref:l})});vh.displayName=jw;function Rw(t,r=globalThis?.document){const o=Ke(t),i=v.useRef(!1),l=v.useRef(()=>{});return v.useEffect(()=>{const c=p=>{if(p.target&&!i.current){let h=function(){yh(Tw,o,g,{discrete:!0})};const g={originalEvent:p};p.pointerType==="touch"?(r.removeEventListener("click",l.current),l.current=h,r.addEventListener("click",l.current,{once:!0})):h()}else r.removeEventListener("click",l.current);i.current=!1},f=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),r.removeEventListener("pointerdown",c),r.removeEventListener("click",l.current)}},[r,o]),{onPointerDownCapture:()=>i.current=!0}}function Aw(t,r=globalThis?.document){const o=Ke(t),i=v.useRef(!1);return v.useEffect(()=>{const l=c=>{c.target&&!i.current&&yh(Pw,o,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",l),()=>r.removeEventListener("focusin",l)},[r,o]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function cm(){const t=new CustomEvent(ru);document.dispatchEvent(t)}function yh(t,r,o,{discrete:i}){const l=o.originalEvent.target,c=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:o});r&&l.addEventListener(t,r,{once:!0}),i?Au(l,c):l.dispatchEvent(c)}var _w=As,Mw=vh,vn=globalThis?.document?v.useLayoutEffect:()=>{},Ow="Portal",Pa=v.forwardRef((t,r)=>{const{container:o,...i}=t,[l,c]=v.useState(!1);vn(()=>c(!0),[]);const f=o||l&&globalThis?.document?.body;return f?mh.createPortal(d.jsx(ke.div,{...i,ref:r}),f):null});Pa.displayName=Ow;function Iw(t,r){return v.useReducer((o,i)=>r[o][i]??o,t)}var wt=t=>{const{present:r,children:o}=t,i=Dw(r),l=typeof o=="function"?o({present:i.isPresent}):v.Children.only(o),c=_e(i.ref,Lw(l));return typeof o=="function"||i.isPresent?v.cloneElement(l,{ref:c}):null};wt.displayName="Presence";function Dw(t){const[r,o]=v.useState(),i=v.useRef(null),l=v.useRef(t),c=v.useRef("none"),f=t?"mounted":"unmounted",[p,h]=Iw(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const g=Zi(i.current);c.current=p==="mounted"?g:"none"},[p]),vn(()=>{const g=i.current,y=l.current;if(y!==t){const S=c.current,b=Zi(g);t?h("MOUNT"):b==="none"||g?.display==="none"?h("UNMOUNT"):h(y&&S!==b?"ANIMATION_OUT":"UNMOUNT"),l.current=t}},[t,h]),vn(()=>{if(r){let g;const y=r.ownerDocument.defaultView??window,x=b=>{const C=Zi(i.current).includes(b.animationName);if(b.target===r&&C&&(h("ANIMATION_END"),!l.current)){const E=r.style.animationFillMode;r.style.animationFillMode="forwards",g=y.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=E)})}},S=b=>{b.target===r&&(c.current=Zi(i.current))};return r.addEventListener("animationstart",S),r.addEventListener("animationcancel",x),r.addEventListener("animationend",x),()=>{y.clearTimeout(g),r.removeEventListener("animationstart",S),r.removeEventListener("animationcancel",x),r.removeEventListener("animationend",x)}}else h("ANIMATION_END")},[r,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:v.useCallback(g=>{i.current=g?getComputedStyle(g):null,o(g)},[])}}function Zi(t){return t?.animationName||"none"}function Lw(t){let r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?t.ref:(r=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}var Fw=ju[" useInsertionEffect ".trim().toString()]||vn;function ja({prop:t,defaultProp:r,onChange:o=()=>{},caller:i}){const[l,c,f]=zw({defaultProp:r,onChange:o}),p=t!==void 0,h=p?t:l;{const y=v.useRef(t!==void 0);v.useEffect(()=>{const x=y.current;x!==p&&console.warn(`${i} is changing from ${x?"controlled":"uncontrolled"} to ${p?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=p},[p,i])}const g=v.useCallback(y=>{if(p){const x=$w(y)?y(t):y;x!==t&&f.current?.(x)}else c(y)},[p,t,c,f]);return[h,g]}function zw({defaultProp:t,onChange:r}){const[o,i]=v.useState(t),l=v.useRef(o),c=v.useRef(r);return Fw(()=>{c.current=r},[r]),v.useEffect(()=>{l.current!==o&&(c.current?.(o),l.current=o)},[o,l]),[o,i,c]}function $w(t){return typeof t=="function"}var Bw=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"}),Uw="VisuallyHidden",Ra=v.forwardRef((t,r)=>d.jsx(ke.span,{...t,ref:r,style:{...Bw,...t.style}}));Ra.displayName=Uw;var Hw=Ra,_u="ToastProvider",[Mu,Ww,Vw]=Ru("Toast"),[xh]=Mn("Toast",[Vw]),[Kw,Aa]=xh(_u),wh=t=>{const{__scopeToast:r,label:o="Notification",duration:i=5e3,swipeDirection:l="right",swipeThreshold:c=50,children:f}=t,[p,h]=v.useState(null),[g,y]=v.useState(0),x=v.useRef(!1),S=v.useRef(!1);return o.trim()||console.error(`Invalid prop \`label\` supplied to \`${_u}\`. Expected non-empty \`string\`.`),d.jsx(Mu.Provider,{scope:r,children:d.jsx(Kw,{scope:r,label:o,duration:i,swipeDirection:l,swipeThreshold:c,toastCount:g,viewport:p,onViewportChange:h,onToastAdd:v.useCallback(()=>y(b=>b+1),[]),onToastRemove:v.useCallback(()=>y(b=>b-1),[]),isFocusedToastEscapeKeyDownRef:x,isClosePausedRef:S,children:f})})};wh.displayName=_u;var bh="ToastViewport",Gw=["F8"],ou="toast.viewportPause",su="toast.viewportResume",Sh=v.forwardRef((t,r)=>{const{__scopeToast:o,hotkey:i=Gw,label:l="Notifications ({hotkey})",...c}=t,f=Aa(bh,o),p=Ww(o),h=v.useRef(null),g=v.useRef(null),y=v.useRef(null),x=v.useRef(null),S=_e(r,x,f.onViewportChange),b=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=f.toastCount>0;v.useEffect(()=>{const E=j=>{i.length!==0&&i.every(A=>j[A]||j.code===A)&&x.current?.focus()};return document.addEventListener("keydown",E),()=>document.removeEventListener("keydown",E)},[i]),v.useEffect(()=>{const E=h.current,j=x.current;if(N&&E&&j){const _=()=>{if(!f.isClosePausedRef.current){const W=new CustomEvent(ou);j.dispatchEvent(W),f.isClosePausedRef.current=!0}},A=()=>{if(f.isClosePausedRef.current){const W=new CustomEvent(su);j.dispatchEvent(W),f.isClosePausedRef.current=!1}},D=W=>{!E.contains(W.relatedTarget)&&A()},$=()=>{E.contains(document.activeElement)||A()};return E.addEventListener("focusin",_),E.addEventListener("focusout",D),E.addEventListener("pointermove",_),E.addEventListener("pointerleave",$),window.addEventListener("blur",_),window.addEventListener("focus",A),()=>{E.removeEventListener("focusin",_),E.removeEventListener("focusout",D),E.removeEventListener("pointermove",_),E.removeEventListener("pointerleave",$),window.removeEventListener("blur",_),window.removeEventListener("focus",A)}}},[N,f.isClosePausedRef]);const C=v.useCallback(({tabbingDirection:E})=>{const _=p().map(A=>{const D=A.ref.current,$=[D,...i1(D)];return E==="forwards"?$:$.reverse()});return(E==="forwards"?_.reverse():_).flat()}
9,[p]);return v.useEffect(()=>{const E=x.current;if(E){const j=_=>{const A=_.altKey||_.ctrlKey||_.metaKey;if(_.key==="Tab"&&!A){const $=document.activeElement,W=_.shiftKey;if(_.target===E&&W){g.current?.focus();return}const J=C({tabbingDirection:W?"backwards":"forwards"}),se=J.findIndex(de=>de===$);Lc(J.slice(se+1))?_.preventDefault():W?g.current?.focus():y.current?.focus()}};return E.addEventListener("keydown",j),()=>E.removeEventListener("keydown",j)}},[p,C]),d.jsxs(Mw,{ref:h,role:"region","aria-label":l.replace("{hotkey}",b),tabIndex:-1,style:{pointerEvents:N?void 0:"none"},children:[N&&d.jsx(iu,{ref:g,onFocusFromOutsideViewport:()=>{const E=C({tabbingDirection:"forwards"});Lc(E)}}),d.jsx(Mu.Slot,{scope:o,children:d.jsx(ke.ol,{tabIndex:-1,...c,ref:S})}),N&&d.jsx(iu,{ref:y,onFocusFromOutsideViewport:()=>{const E=C({tabbingDirection:"backwards"});Lc(E)}})]})});Sh.displayName=bh;var Ch="ToastFocusProxy",iu=v.forwardRef((t,r)=>{const{__scopeToast:o,onFocusFromOutsideViewport:i,...l}=t,c=Aa(Ch,o);return d.jsx(Ra,{"aria-hidden":!0,tabIndex:0,...l,ref:r,style:{position:"fixed"},onFocus:f=>{const p=f.relatedTarget;!c.viewport?.contains(p)&&i()}})});iu.displayName=Ch;var _s="Toast",qw="toast.swipeStart",Qw="toast.swipeMove",Yw="toast.swipeCancel",Xw="toast.swipeEnd",Eh=v.forwardRef((t,r)=>{const{forceMount:o,open:i,defaultOpen:l,onOpenChange:c,...f}=t,[p,h]=ja({prop:i,defaultProp:l??!0,onChange:c,caller:_s});return d.jsx(wt,{present:o||p,children:d.jsx(e1,{open:p,...f,ref:r,onClose:()=>h(!1),onPause:Ke(t.onPause),onResume:Ke(t.onResume),onSwipeStart:ce(t.onSwipeStart,g=>{g.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ce(t.onSwipeMove,g=>{const{x:y,y:x}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","move"),g.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${y}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${x}px`)}),onSwipeCancel:ce(t.onSwipeCancel,g=>{g.currentTarget.setAttribute("data-swipe","cancel"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ce(t.onSwipeEnd,g=>{const{x:y,y:x}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","end"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${y}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${x}px`),h(!1)})})})});Eh.displayName=_s;var[Zw,Jw]=xh(_s,{onClose(){}}),e1=v.forwardRef((t,r)=>{const{__scopeToast:o,type:i="foreground",duration:l,open:c,onClose:f,onEscapeKeyDown:p,onPause:h,onResume:g,onSwipeStart:y,onSwipeMove:x,onSwipeCancel:S,onSwipeEnd:b,...N}=t,C=Aa(_s,o),[E,j]=v.useState(null),_=_e(r,Q=>j(Q)),A=v.useRef(null),D=v.useRef(null),$=l||C.duration,W=v.useRef(0),V=v.useRef($),X=v.useRef(0),{onToastAdd:J,onToastRemove:se}=C,de=Ke(()=>{E?.contains(document.activeElement)&&C.viewport?.focus(),f()}),Z=v.useCallback(Q=>{!Q||Q===1/0||(window.clearTimeout(X.current),W.current=new Date().getTime(),X.current=window.setTimeout(de,Q))},[de]);v.useEffect(()=>{const Q=C.viewport;if(Q){const ye=()=>{Z(V.current),g?.()},re=()=>{const ae=new Date().getTime()-W.current;V.current=V.current-ae,window.clearTimeout(X.current),h?.()};return Q.addEventListener(ou,re),Q.addEventListener(su,ye),()=>{Q.removeEventListener(ou,re),Q.removeEventListener(su,ye)}}},[C.viewport,$,h,g,Z]),v.useEffect(()=>{c&&!C.isClosePausedRef.current&&Z($)},[c,$,C.isClosePausedRef,Z]),v.useEffect(()=>(J(),()=>se()),[J,se]);const he=v.useMemo(()=>E?Ah(E):null,[E]);return C.viewport?d.jsxs(d.Fragment,{children:[he&&d.jsx(t1,{__scopeToast:o,role:"status","aria-live":i==="foreground"?"assertive":"polite","aria-atomic":!0,children:he}),d.jsx(Zw,{scope:o,onClose:de,children:Na.createPortal(d.jsx(Mu.ItemSlot,{scope:o,children:d.jsx(_w,{asChild:!0,onEscapeKeyDown:ce(p,()=>{C.isFocusedToastEscapeKeyDownRef.current||de(),C.isFocusedToastEscapeKeyDownRef.current=!1}),children:d.jsx(ke.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":c?"open":"closed","data-swipe-direction":C.swipeDirection,...N,ref:_,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:ce(t.onKeyDown,Q=>{Q.key==="Escape"&&(p?.(Q.nativeEvent),Q.nativeEvent.defaultPrevented||(C.isFocusedToastEscapeKeyDownRef.current=!0,de()))}),onPointerDown:ce(t.onPointerDown,Q=>{Q.button===0&&(A.current={x:Q.clientX,y:Q.clientY})}),onPointerMove:ce(t.onPointerMove,Q=>{if(!A.current)return;const ye=Q.clientX-A.current.x,re=Q.clientY-A.current.y,ae=!!D.current,z=["left","right"].includes(C.swipeDirection),I=["left","up"].includes(C.swipeDirection)?Math.min:Math.max,U=z?I(0,ye):0,P=z?0:I(0,re),F=Q.pointerType==="touch"?10:2,Y={x:U,y:P},ee={originalEvent:Q,delta:Y};ae?(D.current=Y,Ji(Qw,x,ee,{discrete:!1})):um(Y,C.swipeDirection,F)?(D.current=Y,Ji(qw,y,ee,{discrete:!1}),Q.target.setPointerCapture(Q.pointerId)):(Math.abs(ye)>F||Math.abs(re)>F)&&(A.current=null)}),onPointerUp:ce(t.onPointerUp,Q=>{const ye=D.current,re=Q.target;if(re.hasPointerCapture(Q.pointerId)&&re.releasePointerCapture(Q.pointerId),D.current=null,A.current=null,ye){const ae=Q.currentTarget,z={originalEvent:Q,delta:ye};um(ye,C.swipeDirection,C.swipeThreshold)?Ji(Xw,b,z,{discrete:!0}):Ji(Yw,S,z,{discrete:!0}),ae.addEventListener("click",I=>I.preventDefault(),{once:!0})}})})})}),C.viewport)})]}):null}),t1=t=>{const{__scopeToast:r,children:o,...i}=t,l=Aa(_s,r),[c,f]=v.useState(!1),[p,h]=v.useState(!1);return o1(()=>f(!0)),v.useEffect(()=>{const g=window.setTimeout(()=>h(!0),1e3);return()=>window.clearTimeout(g)},[]),p?null:d.jsx(Pa,{asChild:!0,children:d.jsx(Ra,{...i,children:c&&d.jsxs(d.Fragment,{children:[l.label," ",o]})})})},n1="ToastTitle",kh=v.forwardRef((t,r)=>{const{__scopeToast:o,...i}=t;return d.jsx(ke.div,{...i,ref:r})});kh.displayName=n1;var r1="ToastDescription",Nh=v.forwardRef((t,r)=>{const{__scopeToast:o,...i}=t;return d.jsx(ke.div,{...i,ref:r})});Nh.displayName=r1;var Th="ToastAction",Ph=v.forwardRef((t,r)=>{const{altText:o,...i}=t;return o.trim()?d.jsx(Rh,{altText:o,asChild:!0,children:d.jsx(Ou,{...i,ref:r})}):(console.error(`Invalid prop \`altText\` supplied to \`${Th}\`. Expected non-empty \`string\`.`),null)});Ph.displayName=Th;var jh="ToastClose",Ou=v.forwardRef((t,r)=>{const{__scopeToast:o,...i}=t,l=Jw(jh,o);return d.jsx(Rh,{asChild:!0,children:d.jsx(ke.button,{type:"button",...i,ref:r,onClick:ce(t.onClick,l.onClose)})})});Ou.displayName=jh;var Rh=v.forwardRef((t,r)=>{const{__scopeToast:o,altText:i,...l}=t;return d.jsx(ke.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":i||void 0,...l,ref:r})});function Ah(t){const r=[];
9return Array.from(t.childNodes).forEach(i=>{if(i.nodeType===i.TEXT_NODE&&i.textContent&&r.push(i.textContent),s1(i)){const l=i.ariaHidden||i.hidden||i.style.display==="none",c=i.dataset.radixToastAnnounceExclude==="";if(!l)if(c){const f=i.dataset.radixToastAnnounceAlt;f&&r.push(f)}else r.push(...Ah(i))}}),r}function Ji(t,r,o,{discrete:i}){const l=o.originalEvent.currentTarget,c=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:o});r&&l.addEventListener(t,r,{once:!0}),i?Au(l,c):l.dispatchEvent(c)}var um=(t,r,o=0)=>{const i=Math.abs(t.x),l=Math.abs(t.y),c=i>l;return r==="left"||r==="right"?c&&i>o:!c&&l>o};function o1(t=()=>{}){const r=Ke(t);vn(()=>{let o=0,i=0;return o=window.requestAnimationFrame(()=>i=window.requestAnimationFrame(r)),()=>{window.cancelAnimationFrame(o),window.cancelAnimationFrame(i)}},[r])}function s1(t){return t.nodeType===t.ELEMENT_NODE}function i1(t){const r=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const l=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||l?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)r.push(o.currentNode);return r}function Lc(t){const r=document.activeElement;return t.some(o=>o===r?!0:(o.focus(),document.activeElement!==r))}var a1=wh,_h=Sh,Mh=Eh,Oh=kh,Ih=Nh,Dh=Ph,Lh=Ou;function Fh(t){var r,o,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(r=0;r<l;r++)t[r]&&(o=Fh(t[r]))&&(i&&(i+=" "),i+=o)}else for(o in t)t[o]&&(i&&(i+=" "),i+=o);return i}function zh(){for(var t,r,o=0,i="",l=arguments.length;o<l;o++)(t=arguments[o])&&(r=Fh(t))&&(i&&(i+=" "),i+=r);return i}const dm=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,fm=zh,$h=(t,r)=>o=>{var i;if(r?.variants==null)return fm(t,o?.class,o?.className);const{variants:l,defaultVariants:c}=r,f=Object.keys(l).map(g=>{const y=o?.[g],x=c?.[g];if(y===null)return null;const S=dm(y)||dm(x);return l[g][S]}),p=o&&Object.entries(o).reduce((g,y)=>{let[x,S]=y;return S===void 0||(g[x]=S),g},{}),h=r==null||(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((g,y)=>{let{class:x,className:S,...b}=y;return Object.entries(b).every(N=>{let[C,E]=N;return Array.isArray(E)?E.includes({...c,...p}[C]):{...c,...p}[C]===E})?[...g,x,S]:g},[]);return fm(t,f,h,o?.class,o?.className)};const l1=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Bh=(...t)=>t.filter((r,o,i)=>!!r&&r.trim()!==""&&i.indexOf(r)===o).join(" ").trim();var c1={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"};const u1=v.forwardRef(({color:t="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:l="",children:c,iconNode:f,...p},h)=>v.createElement("svg",{ref:h,...c1,width:r,height:r,stroke:t,strokeWidth:i?Number(o)*24/Number(r):o,className:Bh("lucide",l),...p},[...f.map(([g,y])=>v.createElement(g,y)),...Array.isArray(c)?c:[c]]));const je=(t,r)=>{const o=v.forwardRef(({className:i,...l},c)=>v.createElement(u1,{ref:c,iconNode:r,className:Bh(`lucide-${l1(t)}`,i),...l}));return o.displayName=`${t}`,o};const d1=je("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const f1=je("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"}]]);const p1=je("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);const m1=je("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
9],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);const Iu=je("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"}]]);const h1=je("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);const g1=je("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const v1=je("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const y1=je("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const x1=je("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const au=je("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const w1=je("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);const b1=je("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);const S1=je("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"}]]);const Uh=je("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);const C1=je("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);const E1=je("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);const k1=je("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);const N1=je("Navigation",[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]]);const T1=je("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);const Hh=je("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"}]]);const Wh=je("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);const P1=je("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);const j1=je("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);const lu=je("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);const R1=je("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);const A1=je("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const _1=je("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}
vendor: 11,761 bytes, line 9
9],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);const M1=je("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);const O1=je("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);const _a=je("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Du="-",I1=t=>{const r=L1(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:f=>{const p=f.split(Du);return p[0]===""&&p.length!==1&&p.shift(),Vh(p,r)||D1(f)},getConflictingClassGroupIds:(f,p)=>{const h=o[f]||[];return p&&i[f]?[...h,...i[f]]:h}}},Vh=(t,r)=>{if(t.length===0)return r.classGroupId;const o=t[0],i=r.nextPart.get(o),l=i?Vh(t.slice(1),i):void 0;if(l)return l;if(r.validators.length===0)return;const c=t.join(Du);return r.validators.find(({validator:f})=>f(c))?.classGroupId},pm=/^\[(.+)\]$/,D1=t=>{if(pm.test(t)){const r=pm.exec(t)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},L1=t=>{const{theme:r,prefix:o}=t,i={nextPart:new Map,validators:[]};return z1(Object.entries(t.classGroups),o).forEach(([c,f])=>{cu(f,i,c,r)}),i},cu=(t,r,o,i)=>{t.forEach(l=>{if(typeof l=="string"){const c=l===""?r:mm(r,l);c.classGroupId=o;return}if(typeof l=="function"){if(F1(l)){cu(l(i),r,o,i);return}r.validators.push({validator:l,classGroupId:o});return}Object.entries(l).forEach(([c,f])=>{cu(f,mm(r,c),o,i)})})},mm=(t,r)=>{let o=t;return r.split(Du).forEach(i=>{o.nextPart.has(i)||o.nextPart.set(i,{nextPart:new Map,validators:[]}),o=o.nextPart.get(i)}),o},F1=t=>t.isThemeGetter,z1=(t,r)=>r?t.map(([o,i])=>{const l=i.map(c=>typeof c=="string"?r+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([f,p])=>[r+f,p])):c);return[o,l]}):t,$1=t=>{if(t<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,i=new Map;const l=(c,f)=>{o.set(c,f),r++,r>t&&(r=0,i=o,o=new Map)};return{get(c){let f=o.get(c);if(f!==void 0)return f;if((f=i.get(c))!==void 0)return l(c,f),f},set(c,f){o.has(c)?o.set(c,f):l(c,f)}}},Kh="!",B1=t=>{const{separator:r,experimentalParseClassName:o}=t,i=r.length===1,l=r[0],c=r.length,f=p=>{const h=[];let g=0,y=0,x;for(let E=0;E<p.length;E++){let j=p[E];if(g===0){if(j===l&&(i||p.slice(E,E+c)===r)){h.push(p.slice(y,E)),y=E+c;continue}if(j==="/"){x=E;continue}}j==="["?g++:j==="]"&&g--}const S=h.length===0?p:p.substring(y),b=S.startsWith(Kh),N=b?S.substring(1):S,C=x&&x>y?x-y:void 0;return{modifiers:h,hasImportantModifier:b,baseClassName:N,maybePostfixModifierPosition:C}};return o?p=>o({className:p,parseClassName:f}):f},U1=t=>{if(t.length<=1)return t;const r=[];let o=[];return t.forEach(i=>{i[0]==="["?(r.push(...o.sort(),i),o=[]):o.push(i)}),r.push(...o.sort()),r},H1=t=>({cache:$1(t.cacheSize),parseClassName:B1(t),...I1(t)}),W1=/\s+/,V1=(t,r)=>{const{parseClassName:o,getClassGroupId:i,getConflictingClassGroupIds:l}=r,c=[],f=t.trim().split(W1);let p="";for(let h=f.length-1;h>=0;h-=1){const g=f[h],{modifiers:y,hasImportantModifier:x,baseClassName:S,maybePostfixModifierPosition:b}=o(g);let N=!!b,C=i(N?S.substring(0,b):S);if(!C){if(!N){p=g+(p.length>0?" "+p:p);continue}if(C=i(S),!C){p=g+(p.length>0?" "+p:p);continue}N=!1}const E=U1(y).join(":"),j=x?E+Kh:E,_=j+C;if(c.includes(_))continue;c.push(_);const A=l(C,N);for(let D=0;D<A.length;++D){const $=A[D];c.push(j+$)}p=g+(p.length>0?" "+p:p)}return p};function K1(){let t=0,r,o,i="";for(;t<arguments.length;)(r=arguments[t++])&&(o=Gh(r))&&(i&&(i+=" "),i+=o);return i}const Gh=t=>{if(typeof t=="string")return t;let r,o="";for(let i=0;i<t.length;i++)t[i]&&(r=Gh(t[i]))&&(o&&(o+=" "),o+=r);return o};function G1(t,...r){let o,i,l,c=f;function f(h){const g=r.reduce((y,x)=>x(y),t());return o=H1(g),i=o.cache.get,l=o.cache.set,c=p,p(h)}function p(h){const g=i(h);if(g)return g;const y=V1(h,o);return l(h,y),y}return function(){return c(K1.apply(null,arguments))}}const De=t=>{const r=o=>o[t]||[];return r.isThemeGetter=!0,r},qh=/^\[(?:([a-z-]+):)?(.+)\]$/i,q1=/^\d+\/\d+$/,Q1=new Set(["px","full","screen"]),Y1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,X1=/\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$/,Z1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,J1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eb=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rn=t=>po(t)||Q1.has(t)||q1.test(t),rr=t=>Co(t,"length",lb),po=t=>!!t&&!Number.isNaN(Number(t)),Fc=t=>Co(t,"number",po),hs=t=>!!t&&Number.isInteger(Number(t)),tb=t=>t.endsWith("%")&&po(t.slice(0,-1)),we=t=>qh.test(t),or=t=>Y1.test(t),nb=new Set(["length","size","percentage"]),rb=t=>Co(t,nb,Qh),ob=t=>Co(t,"position",Qh),sb=new Set(["image","url"]),ib=t=>Co(t,sb,ub),ab=t=>Co(t,"",cb),gs=()=>!0,Co=(t,r,o)=>{const i=qh.exec(t);return i?i[1]?typeof r=="string"?i[1]===r:r.has(i[1]):o(i[2]):!1},lb=t=>X1.test(t)&&!Z1.test(t),Qh=()=>!1,cb=t=>J1.test(t),ub=t=>eb.test(t),db=()=>{const t=De("colors"),r=De("spacing"),o=De("blur"),i=De("brightness"),l=De("borderColor"),c=De("borderRadius"),f=De("borderSpacing"),p=De("borderWidth"),h=De("contrast"),g=De("grayscale"),y=De("hueRotate"),x=De("invert"),S=De("gap"),b=De("gradientColorStops"),N=De("gradientColorStopPositions"),C=De("inset"),E=De("margin"),j=De("opacity"),_=De("padding"),A=De("saturate"),D=De("scale"),$=De("sepia"),W=De("skew"),V=De("space"),X=De("translate"),J=()=>["auto","contain","none"],se=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",we,r],Z=()=>[we,r],he=()=>["",Rn,rr],Q=()=>["auto",po,we],ye=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],re=()=>["solid","dashed","dotted","double","none"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],z=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",we],U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[po,we];return{cacheSize:500,separator:":",theme:{colors:[gs],spacing:[Rn,rr],blur:["none","",or,we],brightness:P(),borderColor:[t],borderRadius:["none","","full",or,we],borderSpacing:Z(),borderWidth:he(),contrast:P(),grayscale:I(),hueRotate:P(),invert:I(),gap:Z(),gradientColorStops:[t],gradientColorStopPositions:[tb,rr],inset:de(),margin:de(),opacity:P(),padding:Z(),saturate:P(),scale:P(),sepia:I(),skew:P(),space:Z(),translate:Z()},classGroups:{aspect:[{aspect:["auto","square","video",we]}],container:["container"],columns:[{columns:[or]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"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:[...ye(),we]}],overflow:[{overflow:se()}],"overflow-x":[{"overflow-x":se()}],"overflow-y":[{"overflow-y":se()}],overscroll:[{overscroll:J()}],"overscroll-x":[{"overscroll-x":J()}],"overscroll-y":[{"overscroll-y":J()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",hs,we]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",we]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",hs,we]}],"grid-cols":[{"grid-cols":[gs]}],"col-start-end":[{col:["auto",{span:["full",hs,we]},we]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[gs]}],"row-start-end":[{row:["auto",{span:[hs,we]},we]}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",we]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",we]}],gap:[{gap:[S]}],"gap-x":[{"gap-x":[S]}],"gap-y":[{"gap-y":[S]}],"justify-content":[{justify:["normal",...z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[E]}],mx:[{mx:[E]}],my:[{my:[E]}],ms:[{ms:[E]}],me:[{me:[E]}],mt:[{mt:[E]}],mr:[{mr:[E]}],mb:[{mb:[E]}],ml:[{ml:[E]}],"space-x":[{"space-x":[V]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[V]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",we,r]}],"min-w":[{"min-w":[we,r,"min","max","fit"]}],"max-w":[{"max-w":[we,r,"none","full","min","max","fit","prose",{screen:[or]},or]}],h:[{h:[we,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[we,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[we,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[we,r,"auto","min","max","fit"]}],"font-size":[{text:["base",or,rr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fc]}],"font-family":[{font:[gs]}],"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",we]}],"line-clamp":[{"line-clamp":["none",po,Fc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Rn,we]}],"list-image":[{"list-image":["none",we]}],"list-style-type":[{list:["none","disc","decimal",we]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[j]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[j]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...re(),"w
9avy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Rn,rr]}],"underline-offset":[{"underline-offset":["auto",Rn,we]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we]}],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",we]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[j]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ye(),ob]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",rb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ib]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[c]}],"rounded-s":[{"rounded-s":[c]}],"rounded-e":[{"rounded-e":[c]}],"rounded-t":[{"rounded-t":[c]}],"rounded-r":[{"rounded-r":[c]}],"rounded-b":[{"rounded-b":[c]}],"rounded-l":[{"rounded-l":[c]}],"rounded-ss":[{"rounded-ss":[c]}],"rounded-se":[{"rounded-se":[c]}],"rounded-ee":[{"rounded-ee":[c]}],"rounded-es":[{"rounded-es":[c]}],"rounded-tl":[{"rounded-tl":[c]}],"rounded-tr":[{"rounded-tr":[c]}],"rounded-br":[{"rounded-br":[c]}],"rounded-bl":[{"rounded-bl":[c]}],"border-w":[{border:[p]}],"border-w-x":[{"border-x":[p]}],"border-w-y":[{"border-y":[p]}],"border-w-s":[{"border-s":[p]}],"border-w-e":[{"border-e":[p]}],"border-w-t":[{"border-t":[p]}],"border-w-r":[{"border-r":[p]}],"border-w-b":[{"border-b":[p]}],"border-w-l":[{"border-l":[p]}],"border-opacity":[{"border-opacity":[j]}],"border-style":[{border:[...re(),"hidden"]}],"divide-x":[{"divide-x":[p]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[p]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[j]}],"divide-style":[{divide:re()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...re()]}],"outline-offset":[{"outline-offset":[Rn,we]}],"outline-w":[{outline:[Rn,rr]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[j]}],"ring-offset-w":[{"ring-offset":[Rn,rr]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",or,ab]}],"shadow-color":[{shadow:[gs]}],opacity:[{opacity:[j]}],"mix-blend":[{"mix-blend":[...ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ae()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[i]}],contrast:[{contrast:[h]}],"drop-shadow":[{"drop-shadow":["","none",or,we]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[x]}],saturate:[{saturate:[A]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[h]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[j]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[f]}],"border-spacing-x":[{"border-spacing-x":[f]}],"border-spacing-y":[{"border-spacing-y":[f]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",we]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",we]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",we]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[hs,we]}],"translate-x":[{"translate-x":[X]}],"translate-y":[{"translate-y":[X]}],"skew-x":[{"skew-x":[W]}],"skew-y":[{"skew-y":[W]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",we]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","
9none","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",we]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Rn,rr,Fc]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},fb=G1(db);function Ee(...t){return fb(zh(t))}const pb=a1,Yh=v.forwardRef(({className:t,...r},o)=>d.jsx(_h,{ref:o,className:Ee("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]",t),...r}));Yh.displayName=_h.displayName;const mb=$h("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"}}),Xh=v.forwardRef(({className:t,variant:r,...o},i)=>d.jsx(Mh,{ref:i,className:Ee(mb({variant:r}),t),...o}));Xh.displayName=Mh.displayName;const hb=v.forwardRef(({className:t,...r},o)=>
9d.jsx(Dh,{ref:o,className:Ee("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",t),...r}));hb.displayName=Dh.displayName;const Zh=v.forwardRef(({className:t,...r},o)=>d.jsx(Lh,{ref:o,className:Ee("absolute right-2 top-2 rounded-md p-1 text-foreground/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",t),"toast-close":"",...r,children:d.jsx(_a,{className:"h-4 w-4"})}));Zh.displayName=Lh.displayName;const Jh=v.forwardRef(({className:t,...r},o)=>d.jsx(Oh,{ref:o,className:Ee("text-sm font-semibold",t),...r}));Jh.displayName=Oh.displayName;const eg=v.forwardRef(({className:t,...r},o)=>d.jsx(Ih,{ref:o,className:Ee("text-sm opacity-90",t),...r}));eg.displayName=Ih.displayName;function gb(){const{toasts:t}=hw();return d.jsxs(pb,{children:[t.map(function({id:r,title:o,description:i,action:l,...c}){return d.jsxs(Xh,{...c,children:[d.jsxs("div",{className:"grid gap-1",children:[o&&d.jsx(Jh,{children:o}),i&&d.jsx(eg,{children:i})]}),l,d.jsx(Zh,{})]},r)}),d.jsx(Yh,{})]})}var hm=["light","dark"],vb="(prefers-color-scheme: dark)",yb=v.createContext(void 0),xb={setTheme:t=>{},themes:[]},wb=()=>{var t;return(t=v.useContext(yb))!=null?t:xb};v.memo(({forcedTheme:t,storageKey:r,attribute:o,enableSystem:i,enableColorScheme:l,defaultTheme:c,value:f,attrs:p,nonce:h})=>{let g=c==="system",y=o==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${p.map(N=>`'${N}'`).join(",")})`};`:`var d=document.documentElement,n='${o}',s='setAttribute';`,x=l?hm.includes(c)&&c?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${c}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",S=(N,C=!1,E=!0)=>{let j=f?f[N]:N,_=C?N+"|| ''":`'${j}'`,A="";return l&&E&&!C&&hm.includes(N)&&(A+=`d.style.colorScheme = '${N}';`),o==="class"?C||j?A+=`c.add(${_})`:A+="null":j&&(A+=`d[s](n,${_})`),A},b=t?`!function(){${y}${S(t)}}()`:i?`!function(){try{${y}var e=localStorage.getItem('${r}');if('system'===e||(!e&&${g})){var t='${vb}',m=window.matchMedia(t);if(m.media!==t||m.matches){${S("dark")}}else{${S("light")}}}else if(e){${f?`var x=${JSON.stringify(f)};`:""}${S(f?"x[e]":"e",!0)}}${g?"":"else{"+S(c,!1,!1)+"}"}${x}}catch(e){}}()`:`!function(){try{${y}var e=localStorage.getItem('${r}');if(e){${f?`var x=${JSON.stringify(f)};`:""}${S(f?"x[e]":"e",!0)}}else{${S(c,!1,!1)};}${x}}catch(t){}}();`;return v.createElement("script",{nonce:h,dangerouslySetInnerHTML:{__html:b}})});var bb=t=>{switch(t){case"success":return Eb;case"info":return Nb;case"warning":return kb;case"error":return Tb;default:return null}},Sb=Array(12).fill(0),Cb=({visible:t,className:r})=>G.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":t},G.createElement("div",{className:"sonner-spinner"},Sb.map((o,i)=>G.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),Eb=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.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"})),kb=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},G.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"})),Nb=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.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"})),Tb=G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},G.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"})),Pb=G.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"},G.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),G.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),jb=()=>{let[t,r]=G.useState(document.hidden);return G.useEffect(()=>{let o=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",o),()=>window.removeEventListener("visibilitychange",o)},[]),t},uu=1,Rb=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let r=this.subscribers.indexOf(t);this.subscribers.splice(r,1)}),this.publish=t=>
9{this.subscribers.forEach(r=>r(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var r;let{message:o,...i}=t,l=typeof t?.id=="number"||((r=t.id)==null?void 0:r.length)>0?t.id:uu++,c=this.toasts.find(p=>p.id===l),f=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(l)&&this.dismissedToasts.delete(l),c?this.toasts=this.toasts.map(p=>p.id===l?(this.publish({...p,...t,id:l,title:o}),{...p,...t,id:l,dismissible:f,title:o}):p):this.addToast({title:o,...i,dismissible:f,id:l}),l},this.dismiss=t=>(this.dismissedToasts.add(t),t||this.toasts.forEach(r=>{this.subscribers.forEach(o=>o({id:r.id,dismiss:!0}))}),this.subscribers.forEach(r=>r({id:t,dismiss:!0})),t),this.message=(t,r)=>this.create({...r,message:t}),this.error=(t,r)=>this.create({...r,message:t,type:"error"}),this.success=(t,r)=>this.create({...r,type:"success",message:t}),this.info=(t,r)=>this.create({...r,type:"info",message:t}),this.warning=(t,r)=>this.create({...r,type:"warning",message:t}),this.loading=(t,r)=>this.create({...r,type:"loading",message:t}),this.promise=(t,r)=>{if(!r)return;let o;r.loading!==void 0&&(o=this.create({...r,promise:t,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));let i=t instanceof Promise?t:t(),l=o!==void 0,c,f=i.then(async h=>{if(c=["resolve",h],G.isValidElement(h))l=!1,this.create({id:o,type:"default",message:h});else if(_b(h)&&!h.ok){l=!1;let g=typeof r.error=="function"?await r.error(`HTTP error! status: ${h.status}`):r.error,y=typeof r.description=="function"?await r.description(`HTTP error! status: ${h.status}`):r.description;this.create({id:o,type:"error",message:g,description:y})}else if(r.success!==void 0){l=!1;let g=typeof r.success=="function"?await r.success(h):r.success,y=typeof r.description=="function"?await r.description(h):r.description;this.create({id:o,type:"success",message:g,description:y})}}).catch(async h=>{if(c=["reject",h],r.error!==void 0){l=!1;let g=typeof r.error=="function"?await r.error(h):r.error,y=typeof r.description=="function"?await r.description(h):r.description;this.create({id:o,type:"error",message:g,description:y})}}).finally(()=>{var h;l&&(this.dismiss(o),o=void 0),(h=r.finally)==null||h.call(r)}),p=()=>new Promise((h,g)=>f.then(()=>c[0]==="reject"?g(c[1]):h(c[1])).catch(g));return typeof o!="string"&&typeof o!="number"?{unwrap:p}:Object.assign(o,{unwrap:p})},this.custom=(t,r)=>{let o=r?.id||uu++;return this.create({jsx:t(o),id:o,...r}),o},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},xt=new Rb,Ab=(t,r)=>{let o=r?.id||uu++;return xt.addToast({title:t,...r,id:o}),o},_b=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",Mb=Ab,Ob=()=>xt.toasts,Ib=()=>xt.getActiveToasts();Object.assign(Mb,{success:xt.success,info:xt.info,warning:xt.warning,error:xt.error,custom:xt.custom,message:xt.message,promise:xt.promise,dismiss:xt.dismiss,loading:xt.loading},{getHistory:Ob,getToasts:Ib});function Db(t,{insertAt:r}={}){if(typeof document>"u")return;let o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",r==="top"&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}Db(`: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;
9left: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}
9: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%);
9--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%)} 10`);function ea(t){return t.label!==void 0}var Lb=3,Fb="32px",zb="16px",gm=4e3,$b=356,Bb=14,Ub=20,Hb=200;function qt(...t){return t.filter(Boolean).join(" ")}function Wb(t){let[r,o]=t.split("-"),i=[];return r&&i.push(r),o&&i.push(o),i}var Vb=t=>{var r,o,i,l,c,f,p,h,g,y,x;let{invert:S,toast:b,unstyled:N,interacting:C,setHeights:E,visibleToasts:j,heights:_,index:A,toasts:D,expanded:$,removeToast:W,defaultRichColors:V,closeButton:X,style:J,cancelButtonStyle:se,actionButtonStyle:de,className:Z="",descriptionClassName:he="",duration:Q,position:ye,gap:re,loadingIcon:ae,expandByDefault:z,classNames:I,icons:U,closeButtonAriaLabel:P="Close toast",pauseWhenPageIsHidden:F}=t,[Y,ee]=G.useState(null),[fe,ge]=G.useState(null),[ne,be]=G.useState(!1),[Ne,We]=G.useState(!1),[Tt,In]=G.useState(!1),[Pt,Po]=G.useState(!1),[Ls,jo]=G.useState(!1),[Ro,_r]=G.useState(0),[Ao,Dn]=G.useState(0),jt=G.useRef(b.duration||Q||gm),Mr=G.useRef(null),tn=G.useRef(null),Fs=A===0,zs=A+1<=j,st=b.type,nn=b.dismissible!==!1,Or=b.className||"",$s=b.descriptionClassName||"",rn=G.useMemo(()=>_.findIndex(xe=>xe.toastId===b.id)||0,[_,b.id]),pr=G.useMemo(()=>{var xe;return(xe=b.closeButton)!=null?xe:X},[b.closeButton,X]),Bs=G.useMemo(()=>b.duration||Q||gm,[b.duration,Q]),Ir=G.useRef(0),bn=G.useRef(0),Us=G.useRef(0),on=G.useRef(null),[_o,Mo]=ye.split("-"),Dr=G.useMemo(()=>_.reduce((xe,Pe,Ae)=>Ae>
10=rn?xe:xe+Pe.height,0),[_,rn]),Lr=jb(),Ln=b.invert||S,sn=st==="loading";bn.current=G.useMemo(()=>rn*re+Dr,[rn,Dr]),G.useEffect(()=>{jt.current=Bs},[Bs]),G.useEffect(()=>{be(!0)},[]),G.useEffect(()=>{let xe=tn.current;if(xe){let Pe=xe.getBoundingClientRect().height;return Dn(Pe),E(Ae=>[{toastId:b.id,height:Pe,position:b.position},...Ae]),()=>E(Ae=>Ae.filter(it=>it.toastId!==b.id))}},[E,b.id]),G.useLayoutEffect(()=>{if(!ne)return;let xe=tn.current,Pe=xe.style.height;xe.style.height="auto";let Ae=xe.getBoundingClientRect().height;xe.style.height=Pe,Dn(Ae),E(it=>it.find(dt=>dt.toastId===b.id)?it.map(dt=>dt.toastId===b.id?{...dt,height:Ae}:dt):[{toastId:b.id,height:Ae,position:b.position},...it])},[ne,b.title,b.description,E,b.id]);let zt=G.useCallback(()=>{We(!0),_r(bn.current),E(xe=>xe.filter(Pe=>Pe.toastId!==b.id)),setTimeout(()=>{W(b)},Hb)},[b,W,E,bn]);G.useEffect(()=>{if(b.promise&&st==="loading"||b.duration===1/0||b.type==="loading")return;let xe;return $||C||F&&Lr?(()=>{if(Us.current<Ir.current){let Pe=new Date().getTime()-Ir.current;jt.current=jt.current-Pe}Us.current=new Date().getTime()})():jt.current!==1/0&&(Ir.current=new Date().getTime(),xe=setTimeout(()=>{var Pe;(Pe=b.onAutoClose)==null||Pe.call(b,b),zt()},jt.current)),()=>clearTimeout(xe)},[$,C,b,st,F,Lr,zt]),G.useEffect(()=>{b.delete&&zt()},[zt,b.delete]);function Hs(){var xe,Pe,Ae;return U!=null&&U.loading?G.createElement("div",{className:qt(I?.loader,(xe=b?.classNames)==null?void 0:xe.loader,"sonner-loader"),"data-visible":st==="loading"},U.loading):ae?G.createElement("div",{className:qt(I?.loader,(Pe=b?.classNames)==null?void 0:Pe.loader,"sonner-loader"),"data-visible":st==="loading"},ae):G.createElement(Cb,{className:qt(I?.loader,(Ae=b?.classNames)==null?void 0:Ae.loader),visible:st==="loading"})}return G.createElement("li",{tabIndex:0,ref:tn,className:qt(Z,Or,I?.toast,(r=b?.classNames)==null?void 0:r.toast,I?.default,I?.[st],(o=b?.classNames)==null?void 0:o[st]),"data-sonner-toast":"","data-rich-colors":(i=b.richColors)!=null?i:V,"data-styled":!(b.jsx||b.unstyled||N),"data-mounted":ne,"data-promise":!!b.promise,"data-swiped":Ls,"data-removed":Ne,"data-visible":zs,"data-y-position":_o,"data-x-position":Mo,"data-index":A,"data-front":Fs,"data-swiping":Tt,"data-dismissible":nn,"data-type":st,"data-invert":Ln,"data-swipe-out":Pt,"data-swipe-direction":fe,"data-expanded":!!($||z&&ne),style:{"--index":A,"--toasts-before":A,"--z-index":D.length-A,"--offset":`${Ne?Ro:bn.current}px`,"--initial-height":z?"auto":`${Ao}px`,...J,...b.style},onDragEnd:()=>{In(!1),ee(null),on.current=null},onPointerDown:xe=>{sn||!nn||(Mr.current=new Date,_r(bn.current),xe.target.setPointerCapture(xe.pointerId),xe.target.tagName!=="BUTTON"&&(In(!0),on.current={x:xe.clientX,y:xe.clientY}))},onPointerUp:()=>{var xe,Pe,Ae,it;if(Pt||!nn)return;on.current=null;let dt=Number(((xe=tn.current)==null?void 0:xe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ft=Number(((Pe=tn.current)==null?void 0:Pe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),$t=new Date().getTime()-((Ae=Mr.current)==null?void 0:Ae.getTime()),Ze=Y==="x"?dt:ft,an=Math.abs(Ze)/$t;if(Math.abs(Ze)>=Ub||an>.11){_r(bn.current),(it=b.onDismiss)==null||it.call(b,b),ge(Y==="x"?dt>0?"right":"left":ft>0?"down":"up"),zt(),Po(!0),jo(!1);return}In(!1),ee(null)},onPointerMove:xe=>{var Pe,Ae,it,dt;if(!on.current||!nn||((Pe=window.getSelection())==null?void 0:Pe.toString().length)>0)return;let ft=xe.clientY-on.current.y,$t=xe.clientX-on.current.x,Ze=(Ae=t.swipeDirections)!=null?Ae:Wb(ye);!Y&&(Math.abs($t)>1||Math.abs(ft)>1)&&ee(Math.abs($t)>Math.abs(ft)?"x":"y");let an={x:0,y:0};Y==="y"?(Ze.includes("top")||Ze.includes("bottom"))&&(Ze.includes("top")&&ft<0||Ze.includes("bottom")&&ft>0)&&(an.y=ft):Y==="x"&&(Ze.includes("left")||Ze.includes("right"))&&(Ze.includes("left")&&$t<0||Ze.includes("right")&&$t>0)&&(an.x=$t),(Math.abs(an.x)>0||Math.abs(an.y)>0)&&jo(!0),(it=tn.current)==null||it.style.setProperty("--swipe-amount-x",`${an.x}px`),(dt=tn.current)==null||dt.style.setProperty("--swipe-amount-y",`${an.y}px`)}},pr&&!b.jsx?G.createElement("button",{"aria-label":P,"data-disabled":sn,"data-close-button":!0,onClick:sn||!nn?()=>{}:()=>{var xe;zt(),(xe=b.onDismiss)==null||xe.call(b,b)},className:qt(I?.closeButton,(l=b?.classNames)==null?void 0:l.closeButton)},(c=U?.close)!=null?c:Pb):null,b.jsx||v.isValidElement(b.title)?b.jsx?b.jsx:typeof b.title=="function"?b.title():b.title:G.createElement(G.Fragment,null,st||b.icon||b.promise?G.createElement("div",{"data-icon":"",className:qt(I?.icon,(f=b?.classNames)==null?void 0:f.icon)},b.promise||b.type==="loading"&&!b.icon?b.icon||Hs():null,b.type!=="loading"?b.icon||U?.[st]||bb(st):null):null,G.createElement("div",{"data-content":"",className:qt(I?.content,(p=b?.classNames)==null?void 0:p.content)},G.createElement("div",{"data-title":"",className:qt(I?.title,(h=b?.classNames)==null?void 0:h.title)},typeof b.title=="function"?b.title():b.title),b.description?G.createElement("div",{"data-description":"",className:qt(he,$s,I?.description,(g=b?.classNames)==null?void 0:g.description)},typeof b.description=="function"?b.description():b.description):null),v.isValidElement(b.cancel)?b.cancel:b.cancel&&ea(b.cancel)?G.createElement("button",{"data-button":!0,"data-cancel":!0,style:b.cancelButtonStyle||se,onClick:xe=>{var Pe,Ae;ea(b.cancel)&&nn&&((Ae=(Pe=b.cancel).onClick)==null||Ae.call(Pe,xe),zt())},className:qt(I?.cancelButton,(y=b?.classNames)==null?void 0:y.cancelButton)},b.cancel.label):null,v.isValidElement(b.action)?b.action:b.action&&ea(b.action)?G.createElement("button",{"data-button":!0,"data-action":!0,style:b.actionButtonStyle||de,onClick:xe=>{var Pe,Ae;ea(b.action)&&((Ae=(Pe=b.action).onClick)==null||Ae.call(Pe,xe),!xe.defaultPrevented&&zt())},className:qt(I?.actionButton,(x=b?.classNames)==null?void 0:x.actionButton)},b.action.label):null))};function vm(){if(typeof window>"u"||typeof document>"u")return"ltr";let t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function Kb(t,r){let o={};return[t,r].forEach((i,l)=>{let c=l===1,f=c?"--mobile-offset":"--offset",p=c?zb:Fb;function h(g){["top","right","bottom","left"].forEach(y=>{o[`${f}-${y}`]=typeof g=="number"?`${g}px`:g})}typeof i=="number"||typeof i=="string"?h(i):typeof i=="object"?["top","right","bottom","left"].forEach(g=>{i[g]===void 0?o[`${f}-${g}`]=p:o[`${f}-${g}`]=typeof i[g]=="number"?`${i[g]}px`:i[g]}):h(p)}),o}var Gb=v.forwardRef(function(t,r){let{invert:o,position:i="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:f,className:p,offset:h,mobileOffset:g,theme:y="light",richColors:x,duration:S,style:b,visibleToasts:N=Lb,toastOptions:C,dir:E=vm(),gap:j=Bb,loadingIcon:_,icons:A,containerAriaLabel:D="Notifications",pauseWhenPageIsHidden:$}=t,[W,V]=G.useState([]),X=G.useMemo(()=>Array.from(new Set([i].concat(W.filter(F=>F.position).map(F=>F.position)))),[W,i]),[J,se]=G.useState([]),[de,Z]=G.useState(!1),[he,Q]=G.useState(!1),[ye,re]=G.useState(y!=="system"?y:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
10k":"light"),ae=G.useRef(null),z=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),I=G.useRef(null),U=G.useRef(!1),P=G.useCallback(F=>{V(Y=>{var ee;return(ee=Y.find(fe=>fe.id===F.id))!=null&&ee.delete||xt.dismiss(F.id),Y.filter(({id:fe})=>fe!==F.id)})},[]);return G.useEffect(()=>xt.subscribe(F=>{if(F.dismiss){V(Y=>Y.map(ee=>ee.id===F.id?{...ee,delete:!0}:ee));return}setTimeout(()=>{mh.flushSync(()=>{V(Y=>{let ee=Y.findIndex(fe=>fe.id===F.id);return ee!==-1?[...Y.slice(0,ee),{...Y[ee],...F},...Y.slice(ee+1)]:[F,...Y]})})})}),[]),G.useEffect(()=>{if(y!=="system"){re(y);return}if(y==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?re("dark"):re("light")),typeof window>"u")return;let F=window.matchMedia("(prefers-color-scheme: dark)");try{F.addEventListener("change",({matches:Y})=>{re(Y?"dark":"light")})}catch{F.addListener(({matches:ee})=>{try{re(ee?"dark":"light")}catch(fe){console.error(fe)}})}},[y]),G.useEffect(()=>{W.length<=1&&Z(!1)},[W]),G.useEffect(()=>{let F=Y=>{var ee,fe;l.every(ge=>Y[ge]||Y.code===ge)&&(Z(!0),(ee=ae.current)==null||ee.focus()),Y.code==="Escape"&&(document.activeElement===ae.current||(fe=ae.current)!=null&&fe.contains(document.activeElement))&&Z(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[l]),G.useEffect(()=>{if(ae.current)return()=>{I.current&&(I.current.focus({preventScroll:!0}),I.current=null,U.current=!1)}},[ae.current]),G.createElement("section",{ref:r,"aria-label":`${D} ${z}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},X.map((F,Y)=>{var ee;let[fe,ge]=F.split("-");return W.length?G.createElement("ol",{key:F,dir:E==="auto"?vm():E,tabIndex:-1,ref:ae,className:p,"data-sonner-toaster":!0,"data-theme":ye,"data-y-position":fe,"data-lifted":de&&W.length>1&&!c,"data-x-position":ge,style:{"--front-toast-height":`${((ee=J[0])==null?void 0:ee.height)||0}px`,"--width":`${$b}px`,"--gap":`${j}px`,...b,...Kb(h,g)},onBlur:ne=>{U.current&&!ne.currentTarget.contains(ne.relatedTarget)&&(U.current=!1,I.current&&(I.current.focus({preventScroll:!0}),I.current=null))},onFocus:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||U.current||(U.current=!0,I.current=ne.relatedTarget)},onMouseEnter:()=>Z(!0),onMouseMove:()=>Z(!0),onMouseLeave:()=>{he||Z(!1)},onDragEnd:()=>Z(!1),onPointerDown:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||Q(!0)},onPointerUp:()=>Q(!1)},W.filter(ne=>!ne.position&&Y===0||ne.position===F).map((ne,be)=>{var Ne,We;return G.createElement(Vb,{key:ne.id,icons:A,index:be,toast:ne,defaultRichColors:x,duration:(Ne=C?.duration)!=null?Ne:S,className:C?.className,descriptionClassName:C?.descriptionClassName,invert:o,visibleToasts:N,closeButton:(We=C?.closeButton)!=null?We:f,interacting:he,position:F,style:C?.style,unstyled:C?.unstyled,classNames:C?.classNames,cancelButtonStyle:C?.cancelButtonStyle,actionButtonStyle:C?.actionButtonStyle,removeToast:P,toasts:W.filter(Tt=>Tt.position==ne.position),heights:J.filter(Tt=>Tt.position==ne.position),setHeights:se,expandByDefault:c,gap:j,loadingIcon:_,expanded:de,pauseWhenPageIsHidden:$,swipeDirections:t.swipeDirections})})):null}))});const qb=({...t})=>{const{theme:r="system"}=wb();return d.jsx(Gb,{theme:r,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"}},...t})};var Qb=ju[" useId ".trim().toString()]||(()=>{}),Yb=0;function mo(t){const[r,o]=v.useState(Qb());return vn(()=>{o(i=>i??String(Yb++))},[t]),r?`radix-${r}`:""}const Xb=["top","right","bottom","left"],lr=Math.min,kt=Math.max,ha=Math.round,ta=Math.floor,gn=t=>({x:t,y:t}),Zb={left:"right",right:"left",bottom:"top",top:"bottom"},Jb={start:"end",end:"start"};function du(t,r,o){return kt(t,lr(r,o))}function An(t,r){return typeof t=="function"?t(r):t}function _n(t){return t.split("-")[0]}function Eo(t){return t.split("-")[1]}function Lu(t){return t==="x"?"y":"x"}function Fu(t){return t==="y"?"height":"width"}const eS=new Set(["top","bottom"]);function hn(t){return eS.has(_n(t))?"y":"x"}function zu(t){return Lu(hn(t))}function tS(t,r,o){o===void 0&&(o=!1);const i=Eo(t),l=zu(t),c=Fu(l);let f=l==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(f=ga(f)),[f,ga(f)]}function nS(t){const r=ga(t);return[fu(t),r,fu(r)]}function fu(t){return t.replace(/start|end/g,r=>Jb[r])}const ym=["left","right"],xm=["right","left"],rS=["top","bottom"],oS=["bottom","top"];function sS(t,r,o){switch(t){case"top":case"bottom":return o?r?xm:ym:r?ym:xm;case"left":case"right":return r?rS:oS;default:return[]}}function iS(t,r,o,i){const l=Eo(t);let c=sS(_n(t),o==="start",i);return l&&(c=c.map(f=>f+"-"+l),r&&(c=c.concat(c.map(fu)))),c}function ga(t){return t.replace(/left|right|bottom|top/g,r=>Zb[r])}function aS(t){return{top:0,right:0,bottom:0,left:0,...t}}function tg(t){return typeof t!="number"?aS(t):{top:t,right:t,bottom:t,left:t}}function va(t){const{x:r,y:o,width:i,height:l}=t;return{width:i,height:l,top:o,left:r,right:r+i,bottom:o+l,x:r,y:o}}function wm(t,r,o){let{reference:i,floating:l}=t;const c=hn(r),f=zu(r),p=Fu(f),h=_n(r),g=c==="y",y=i.x+i.width/2-l.width/2,x=i.y+i.height/2-l.height/2,S=i[p]/2-l[p]/2;let b;switch(h){case"top":b={x:y,y:i.y-l.height};break;case"bottom":b={x:y,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:x};break;case"left":b={x:i.x-l.width,y:x};break;default:b={x:i.x,y:i.y}}switch(Eo(r)){case"start":b[f]-=S*(o&&g?-1:1);break;case"end":b[f]+=S*(o&&g?-1:1);break}return b}const lS=async(t,r,o)=>{const{placement:i="bottom",strategy:l="absolute",middleware:c=[],platform:f}
vendor: 9,991 bytes, line 10
10=o,p=c.filter(Boolean),h=await(f.isRTL==null?void 0:f.isRTL(r));let g=await f.getElementRects({reference:t,floating:r,strategy:l}),{x:y,y:x}=wm(g,i,h),S=i,b={},N=0;for(let C=0;C<p.length;C++){const{name:E,fn:j}=p[C],{x:_,y:A,data:D,reset:$}=await j({x:y,y:x,initialPlacement:i,placement:S,strategy:l,middlewareData:b,rects:g,platform:f,elements:{reference:t,floating:r}});y=_??y,x=A??x,b={...b,[E]:{...b[E],...D}},$&&N<=50&&(N++,typeof $=="object"&&($.placement&&(S=$.placement),$.rects&&(g=$.rects===!0?await f.getElementRects({reference:t,floating:r,strategy:l}):$.rects),{x:y,y:x}=wm(g,S,h)),C=-1)}return{x:y,y:x,placement:S,strategy:l,middlewareData:b}};async function Ss(t,r){var o;r===void 0&&(r={});const{x:i,y:l,platform:c,rects:f,elements:p,strategy:h}=t,{boundary:g="clippingAncestors",rootBoundary:y="viewport",elementContext:x="floating",altBoundary:S=!1,padding:b=0}=An(r,t),N=tg(b),E=p[S?x==="floating"?"reference":"floating":x],j=va(await c.getClippingRect({element:(o=await(c.isElement==null?void 0:c.isElement(E)))==null||o?E:E.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:g,rootBoundary:y,strategy:h})),_=x==="floating"?{x:i,y:l,width:f.floating.width,height:f.floating.height}:f.reference,A=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),D=await(c.isElement==null?void 0:c.isElement(A))?await(c.getScale==null?void 0:c.getScale(A))||{x:1,y:1}:{x:1,y:1},$=va(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:_,offsetParent:A,strategy:h}):_);return{top:(j.top-$.top+N.top)/D.y,bottom:($.bottom-j.bottom+N.bottom)/D.y,left:(j.left-$.left+N.left)/D.x,right:($.right-j.right+N.right)/D.x}}const cS=t=>({name:"arrow",options:t,async fn(r){const{x:o,y:i,placement:l,rects:c,platform:f,elements:p,middlewareData:h}=r,{element:g,padding:y=0}=An(t,r)||{};if(g==null)return{};const x=tg(y),S={x:o,y:i},b=zu(l),N=Fu(b),C=await f.getDimensions(g),E=b==="y",j=E?"top":"left",_=E?"bottom":"right",A=E?"clientHeight":"clientWidth",D=c.reference[N]+c.reference[b]-S[b]-c.floating[N],$=S[b]-c.reference[b],W=await(f.getOffsetParent==null?void 0:f.getOffsetParent(g));let V=W?W[A]:0;(!V||!await(f.isElement==null?void 0:f.isElement(W)))&&(V=p.floating[A]||c.floating[N]);const X=D/2-$/2,J=V/2-C[N]/2-1,se=lr(x[j],J),de=lr(x[_],J),Z=se,he=V-C[N]-de,Q=V/2-C[N]/2+X,ye=du(Z,Q,he),re=!h.arrow&&Eo(l)!=null&&Q!==ye&&c.reference[N]/2-(Q<Z?se:de)-C[N]/2<0,ae=re?Q<Z?Q-Z:Q-he:0;return{[b]:S[b]+ae,data:{[b]:ye,centerOffset:Q-ye-ae,...re&&{alignmentOffset:ae}},reset:re}}}),uS=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var o,i;const{placement:l,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:g}=r,{mainAxis:y=!0,crossAxis:x=!0,fallbackPlacements:S,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:C=!0,...E}=An(t,r);if((o=c.arrow)!=null&&o.alignmentOffset)return{};const j=_n(l),_=hn(p),A=_n(p)===p,D=await(h.isRTL==null?void 0:h.isRTL(g.floating)),$=S||(A||!C?[ga(p)]:nS(p)),W=N!=="none";!S&&W&&$.push(...iS(p,C,N,D));const V=[p,...$],X=await Ss(r,E),J=[];let se=((i=c.flip)==null?void 0:i.overflows)||[];if(y&&J.push(X[j]),x){const Q=tS(l,f,D);J.push(X[Q[0]],X[Q[1]])}if(se=[...se,{placement:l,overflows:J}],!J.every(Q=>Q<=0)){var de,Z;const Q=(((de=c.flip)==null?void 0:de.index)||0)+1,ye=V[Q];if(ye&&(!(x==="alignment"?_!==hn(ye):!1)||se.every(z=>z.overflows[0]>0&&hn(z.placement)===_)))return{data:{index:Q,overflows:se},reset:{placement:ye}};let re=(Z=se.filter(ae=>ae.overflows[0]<=0).sort((ae,z)=>ae.overflows[1]-z.overflows[1])[0])==null?void 0:Z.placement;if(!re)switch(b){case"bestFit":{var he;const ae=(he=se.filter(z=>{if(W){const I=hn(z.placement);return I===_||I==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(I=>I>0).reduce((I,U)=>I+U,0)]).sort((z,I)=>z[1]-I[1])[0])==null?void 0:he[0];ae&&(re=ae);break}case"initialPlacement":re=p;break}if(l!==re)return{reset:{placement:re}}}return{}}}};function bm(t,r){return{top:t.top-r.height,right:t.right-r.width,bottom:t.bottom-r.height,left:t.left-r.width}}function Sm(t){return Xb.some(r=>t[r]>=0)}const dS=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(r){const{rects:o}=r,{strategy:i="referenceHidden",...l}=An(t,r);switch(i){case"referenceHidden":{const c=await Ss(r,{...l,elementContext:"reference"}),f=bm(c,o.reference);return{data:{referenceHiddenOffsets:f,referenceHidden:Sm(f)}}}case"escaped":{const c=await Ss(r,{...l,altBoundary:!0}),f=bm(c,o.floating);return{data:{escapedOffsets:f,escaped:Sm(f)}}}default:return{}}}}},ng=new Set(["left","top"]);async function fS(t,r){const{placement:o,platform:i,elements:l}=t,c=await(i.isRTL==null?void 0:i.isRTL(l.floating)),f=_n(o),p=Eo(o),h=hn(o)==="y",g=ng.has(f)?-1:1,y=c&&h?-1:1,x=An(r,t);let{mainAxis:S,crossAxis:b,alignmentAxis:N}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return p&&typeof N=="number"&&(b=p==="end"?N*-1:N),h?{x:b*y,y:S*g}:{x:S*g,y:b*y}}const pS=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){var o,i;const{x:l,y:c,placement:f,middlewareData:p}=r,h=await fS(r,t);return f===((o=p.offset)==null?void 0:o.placement)&&(i=p.arrow)!=null&&i.alignmentOffset?{}:{x:l+h.x,y:c+h.y,data:{...h,placement:f}}}}},mS=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:o,y:i,placement:l}=r,{mainAxis:c=!0,crossAxis:f=!1,limiter:p={fn:E=>{let{x:j,y:_}=E;return{x:j,y:_}}},...h}=An(t,r),g={x:o,y:i},y=await Ss(r,h),x=hn(_n(l)),S=Lu(x);let b=g[S],N=g[x];if(c){const E=S==="y"?"top":"left",j=S==="y"?"bottom":"right",_=b+y[E],A=b-y[j];b=du(_,b,A)}if(f){const E=x==="y"?"top":"left",j=x==="y"?"bottom":"right",_=N+y[E],A=N-y[j];N=du(_,N,A)}const C=p.fn({...r,[S]:b,[x]:N});return{...C,data:{x:C.x-o,y:C.y-i,enabled:{[S]:c,[x]:f}}}}}},hS=function(t){return t===void 0&&(t={}),{options:t,fn(r){const{x:o,y:i,placement:l,rects:c,middlewareData:f}=r,{offset:p=0,mainAxis:h=!0,crossAxis:g=!0}=An(t,r),y={x:o,y:i},x=hn(l),S=Lu(x);let b=y[S],N=y[x];const C=An(p,r),E=typeof C=="number"?{mainAxis:C,crossAxis:0}:{mainAxis:0,crossAxis:0,...C};if(h){const A=S==="y"?"height":"width",D=c.reference[S]-c.floating[A]+E.mainAxis,$=c.reference[S]+c.reference[A]-E.mainAxis;b<D?b=D:b>$&&(b=$)}if(g){var j,_;const A=S==="y"?"width":"height",D=ng.has(_n(l)),$=c.reference[x]-c.floating[A]+(D&&((j=f.offset)==null?void 0:j[x])||0)+(D?0:E.crossAxis),W=c.reference[x]+c.reference[A]+(D?0:((_=f.offset)==null?void 0:_[x])||0)-(D?E.crossAxis:0);N<$?N=$:N>W&&(N=W)}return{[S]:b,[x]:N}}}},gS=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(r){var o,i;const{placement:l,rects:c,platform:f,elements:p}=r,{apply:h=()=>{},...g}=An(t,r),y=await Ss(r,g),x=_n(l),S=Eo(l),b=hn(l)==="y",{width:N,height:C}=c.floating;let E,j;x==="top"||x==="bottom"?(E=x,j=S===(await(f.isRTL==null?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(j=x,E=S==="end"?"top":"bottom");const _=C-y.top-y.bottom,A=N-y.left-y.right,D=lr(C-y[E],_),$=lr(N-y[j],A),W=!r.middlewareData.shift;let V=D,X=$;if((o=r.middlewareData.shift)!=null&&o.enabled.x&&(X=A),(i=r.middlewareData.shift)!=null&&i.enabled.y&&(V=_),W&&!S){const se=kt(y.left,0),de=kt(y.right,0),Z=kt(y.top,0),he=kt(y.bottom,0);b?X=N-2*(se!==0||de!==0?se+de:kt(y.left,y.right)):V=C-2*(Z!==0||he!==0?Z+he:kt(y.top,y.bottom))}await h({...r,availableWidth:X,availableHeight:V});const J=await f.getDimensions(p.floating);return N!==J.width||C!==J.height?{reset:{rects:!0}}:{}}}};function Ma(){return typeof window<"u"}function ko(t){return rg(t)?(t.nodeName||"").toLowerCase():"#document"}function Nt(t){var r;return(t==null||(r=t.ownerDocument)==null?void 0:r.defaultView)||window}function xn(t){var r;return(r=(rg(t)?t.ownerDocument:t.document)||window.document)==null?void 0:r.documentElement}function rg(t){return Ma()?t instanceof Node||t instanceof Nt(t).Node:!1}function Xt(t){return Ma()?t instanceof Element||t instanceof Nt(t).Element:!1}function yn(t){return Ma()?t instanceof HTMLElement||t instanceof Nt(t).HTMLElement:!1}function Cm(t){return!Ma()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Nt(t).ShadowRoot}const vS=new Set(["inline","contents"]);function Ms(t){const{overflow:r,overflowX:o,overflowY:i,display:l}=Zt(t);return/auto|scroll|overlay|hidden|clip/.test(r+i+o)&&!vS.has(l)}const yS=new Set(["table","td","th"]);function xS(t){return yS.has(ko(t))}const wS=[":popover-open",":modal"];function Oa(t){return wS.some(r=>{try{return t.matches(r)}catch{return!1}})}const bS=["transform","translate","scale","rotate","perspective"],SS=["transform","translate","scale","rotate","perspective","filter"],CS=["paint","layout","strict","content"];function $u(t){const r=Bu(),o=Xt(t)?Zt(t):t;return bS.some(i=>o[i]?o[i]!=="none":!1)||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(o.filter?o.filter!=="none":!1)||SS.some(i=>(o.willChange||"").includes(i))||CS.some(i=>(o.contain||"").includes(i))}function ES(t){let r=cr(t);for(;yn(r)&&!wo(r);){if($u(r))return r;if(Oa(r))return null;r=cr(r)}return null}function Bu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const kS=new Set(["html","body","#document"]);function wo(t){return kS.has(ko(t))}function Zt(t){return Nt(t).getComputedStyle(t)}function Ia(t){return Xt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function cr(t){if(ko(t)==="html")return t;const r=t.assignedSlot||t.parentNode||Cm(t)&&t.host||xn(t);return Cm(r)?r.host:r}function og(t){const r=cr(t);return wo(r)?t.ownerDocument?t.ownerDocument.body:t.body:yn(r)&&Ms(r)?r:og(r)}function Cs(t,r,o){var i;r===void 0&&(r=[]),o===void 0&&(o=!0);const l=og(t),c=l===((i=t.ownerDocument)==null?void 0:i.body),f=Nt(l);if(c){const p=pu(f);
vendor: 4,127 bytes, line 10
10return r.concat(f,f.visualViewport||[],Ms(l)?l:[],p&&o?Cs(p):[])}return r.concat(l,Cs(l,[],o))}function pu(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function sg(t){const r=Zt(t);let o=parseFloat(r.width)||0,i=parseFloat(r.height)||0;const l=yn(t),c=l?t.offsetWidth:o,f=l?t.offsetHeight:i,p=ha(o)!==c||ha(i)!==f;return p&&(o=c,i=f),{width:o,height:i,$:p}}function Uu(t){return Xt(t)?t:t.contextElement}function ho(t){const r=Uu(t);if(!yn(r))return gn(1);const o=r.getBoundingClientRect(),{width:i,height:l,$:c}=sg(r);let f=(c?ha(o.width):o.width)/i,p=(c?ha(o.height):o.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const NS=gn(0);function ig(t){const r=Nt(t);return!Bu()||!r.visualViewport?NS:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function TS(t,r,o){return r===void 0&&(r=!1),!o||r&&o!==Nt(t)?!1:r}function Pr(t,r,o,i){r===void 0&&(r=!1),o===void 0&&(o=!1);const l=t.getBoundingClientRect(),c=Uu(t);let f=gn(1);r&&(i?Xt(i)&&(f=ho(i)):f=ho(t));const p=TS(c,o,i)?ig(c):gn(0);let h=(l.left+p.x)/f.x,g=(l.top+p.y)/f.y,y=l.width/f.x,x=l.height/f.y;if(c){const S=Nt(c),b=i&&Xt(i)?Nt(i):i;let N=S,C=pu(N);for(;C&&i&&b!==N;){const E=ho(C),j=C.getBoundingClientRect(),_=Zt(C),A=j.left+(C.clientLeft+parseFloat(_.paddingLeft))*E.x,D=j.top+(C.clientTop+parseFloat(_.paddingTop))*E.y;h*=E.x,g*=E.y,y*=E.x,x*=E.y,h+=A,g+=D,N=Nt(C),C=pu(N)}}return va({width:y,height:x,x:h,y:g})}function Hu(t,r){const o=Ia(t).scrollLeft;return r?r.left+o:Pr(xn(t)).left+o}function ag(t,r,o){o===void 0&&(o=!1);const i=t.getBoundingClientRect(),l=i.left+r.scrollLeft-(o?0:Hu(t,i)),c=i.top+r.scrollTop;return{x:l,y:c}}function PS(t){let{elements:r,rect:o,offsetParent:i,strategy:l}=t;const c=l==="fixed",f=xn(i),p=r?Oa(r.floating):!1;if(i===f||p&&c)return o;let h={scrollLeft:0,scrollTop:0},g=gn(1);const y=gn(0),x=yn(i);if((x||!x&&!c)&&((ko(i)!=="body"||Ms(f))&&(h=Ia(i)),yn(i))){const b=Pr(i);g=ho(i),y.x=b.x+i.clientLeft,y.y=b.y+i.clientTop}const S=f&&!x&&!c?ag(f,h,!0):gn(0);return{width:o.width*g.x,height:o.height*g.y,x:o.x*g.x-h.scrollLeft*g.x+y.x+S.x,y:o.y*g.y-h.scrollTop*g.y+y.y+S.y}}function jS(t){return Array.from(t.getClientRects())}function RS(t){const r=xn(t),o=Ia(t),i=t.ownerDocument.body,l=kt(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),c=kt(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let f=-o.scrollLeft+Hu(t);const p=-o.scrollTop;return Zt(i).direction==="rtl"&&(f+=kt(r.clientWidth,i.clientWidth)-l),{width:l,height:c,x:f,y:p}}function AS(t,r){const o=Nt(t),i=xn(t),l=o.visualViewport;let c=i.clientWidth,f=i.clientHeight,p=0,h=0;if(l){c=l.width,f=l.height;const g=Bu();(!g||g&&r==="fixed")&&(p=l.offsetLeft,h=l.offsetTop)}return{width:c,height:f,x:p,y:h}}const _S=new Set(["absolute","fixed"]);function MS(t,r){const o=Pr(t,!0,r==="fixed"),i=o.top+t.clientTop,l=o.left+t.clientLeft,c=yn(t)?ho(t):gn(1),f=t.clientWidth*c.x,p=t.clientHeight*c.y,h=l*c.x,g=i*c.y;return{width:f,height:p,x:h,y:g}}function Em(t,r,o){let i;if(r==="viewport")i=AS(t,o);else if(r==="document")i=RS(xn(t));else if(Xt(r))i=MS(r,o);else{const l=ig(t);i={x:r.x-l.x,y:r.y-l.y,width:r.width,height:r.height}}return va(i)}function lg(t,r){const o=cr(t);return o===r||!Xt(o)||wo(o)?!1:Zt(o).position==="fixed"||lg(o,r)}function OS(t,r){const o=r.get(t);if(o)return o;let i=Cs(t,[],!1).filter(p=>Xt(p)&&ko(p)!=="body"),l=null;const c=Zt(t).position==="fixed";let f=c?cr(t):t;for(;Xt(f)&&!wo(f);){const p=Zt(f),h=$u(f);!h&&p.position==="fixed"&&(l=null),(c?!h&&!l:!h&&p.position==="static"&&!!l&&_S.has(l.position)||Ms(f)&&!h&&lg(t,f))?i=i.filter(y=>y!==f):l=p,f=cr(f)}return r.set(t,i),i}function IS(t){let{element:r,boundary:o,rootBoundary:i,strategy:l}=t;const f=[...o==="clippingAncestors"?Oa(r)?[]:OS(r,this._c):[].concat(o),i],p=f[0],h=f.reduce((g,y)=>{const x=Em(r,y,l);return g.top=kt(x.top,g.top),g.right=lr(x.right,g.right),g.bottom=lr(x.bottom,g.bottom),g.left=kt(x.left,g.left),g},Em(r,p,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function DS(t){const{width:r,height:o}=sg(t);return{width:r,height:o}}
vendor: 9,624 bytes, line 10
10function LS(t,r,o){const i=yn(r),l=xn(r),c=o==="fixed",f=Pr(t,!0,c,r);let p={scrollLeft:0,scrollTop:0};const h=gn(0);function g(){h.x=Hu(l)}if(i||!i&&!c)if((ko(r)!=="body"||Ms(l))&&(p=Ia(r)),i){const b=Pr(r,!0,c,r);h.x=b.x+r.clientLeft,h.y=b.y+r.clientTop}else l&&g();c&&!i&&l&&g();const y=l&&!i&&!c?ag(l,p):gn(0),x=f.left+p.scrollLeft-h.x-y.x,S=f.top+p.scrollTop-h.y-y.y;return{x,y:S,width:f.width,height:f.height}}function zc(t){return Zt(t).position==="static"}function km(t,r){if(!yn(t)||Zt(t).position==="fixed")return null;if(r)return r(t);let o=t.offsetParent;return xn(t)===o&&(o=o.ownerDocument.body),o}function cg(t,r){const o=Nt(t);if(Oa(t))return o;if(!yn(t)){let l=cr(t);for(;l&&!wo(l);){if(Xt(l)&&!zc(l))return l;l=cr(l)}return o}let i=km(t,r);for(;i&&xS(i)&&zc(i);)i=km(i,r);return i&&wo(i)&&zc(i)&&!$u(i)?o:i||ES(t)||o}const FS=async function(t){const r=this.getOffsetParent||cg,o=this.getDimensions,i=await o(t.floating);return{reference:LS(t.reference,await r(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function zS(t){return Zt(t).direction==="rtl"}const $S={convertOffsetParentRelativeRectToViewportRelativeRect:PS,getDocumentElement:xn,getClippingRect:IS,getOffsetParent:cg,getElementRects:FS,getClientRects:jS,getDimensions:DS,getScale:ho,isElement:Xt,isRTL:zS};function ug(t,r){return t.x===r.x&&t.y===r.y&&t.width===r.width&&t.height===r.height}function BS(t,r){let o=null,i;const l=xn(t);function c(){var p;clearTimeout(i),(p=o)==null||p.disconnect(),o=null}function f(p,h){p===void 0&&(p=!1),h===void 0&&(h=1),c();const g=t.getBoundingClientRect(),{left:y,top:x,width:S,height:b}=g;if(p||r(),!S||!b)return;const N=ta(x),C=ta(l.clientWidth-(y+S)),E=ta(l.clientHeight-(x+b)),j=ta(y),A={rootMargin:-N+"px "+-C+"px "+-E+"px "+-j+"px",threshold:kt(0,lr(1,h))||1};let D=!0;function $(W){const V=W[0].intersectionRatio;if(V!==h){if(!D)return f();V?f(!1,V):i=setTimeout(()=>{f(!1,1e-7)},1e3)}V===1&&!ug(g,t.getBoundingClientRect())&&f(),D=!1}try{o=new IntersectionObserver($,{...A,root:l.ownerDocument})}catch{o=new IntersectionObserver($,A)}o.observe(t)}return f(!0),c}function US(t,r,o,i){i===void 0&&(i={});const{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:h=!1}=i,g=Uu(t),y=l||c?[...g?Cs(g):[],...Cs(r)]:[];y.forEach(j=>{l&&j.addEventListener("scroll",o,{passive:!0}),c&&j.addEventListener("resize",o)});const x=g&&p?BS(g,o):null;let S=-1,b=null;f&&(b=new ResizeObserver(j=>{let[_]=j;_&&_.target===g&&b&&(b.unobserve(r),cancelAnimationFrame(S),S=requestAnimationFrame(()=>{var A;(A=b)==null||A.observe(r)})),o()}),g&&!h&&b.observe(g),b.observe(r));let N,C=h?Pr(t):null;h&&E();function E(){const j=Pr(t);C&&!ug(C,j)&&o(),C=j,N=requestAnimationFrame(E)}return o(),()=>{var j;y.forEach(_=>{l&&_.removeEventListener("scroll",o),c&&_.removeEventListener("resize",o)}),x?.(),(j=b)==null||j.disconnect(),b=null,h&&cancelAnimationFrame(N)}}const HS=pS,WS=mS,VS=uS,KS=gS,GS=dS,Nm=cS,qS=hS,QS=(t,r,o)=>{const i=new Map,l={platform:$S,...o},c={...l.platform,_c:i};return lS(t,r,{...l,platform:c})};var YS=typeof document<"u",XS=function(){},da=YS?v.useLayoutEffect:XS;function ya(t,r){if(t===r)return!0;if(typeof t!=typeof r)return!1;if(typeof t=="function"&&t.toString()===r.toString())return!0;let o,i,l;if(t&&r&&typeof t=="object"){if(Array.isArray(t)){if(o=t.length,o!==r.length)return!1;for(i=o;i--!==0;)if(!ya(t[i],r[i]))return!1;return!0}if(l=Object.keys(t),o=l.length,o!==Object.keys(r).length)return!1;for(i=o;i--!==0;)if(!{}.hasOwnProperty.call(r,l[i]))return!1;for(i=o;i--!==0;){const c=l[i];if(!(c==="_owner"&&t.$$typeof)&&!ya(t[c],r[c]))return!1}return!0}return t!==t&&r!==r}function dg(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Tm(t,r){const o=dg(t);return Math.round(r*o)/o}function $c(t){const r=v.useRef(t);return da(()=>{r.current=t}),r}function ZS(t){t===void 0&&(t={});const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l,elements:{reference:c,floating:f}={},transform:p=!0,whileElementsMounted:h,open:g}=t,[y,x]=v.useState({x:0,y:0,strategy:o,placement:r,middlewareData:{},isPositioned:!1}),[S,b]=v.useState(i);ya(S,i)||b(i);const[N,C]=v.useState(null),[E,j]=v.useState(null),_=v.useCallback(z=>{z!==W.current&&(W.current=z,C(z))},[]),A=v.useCallback(z=>{z!==V.current&&(V.current=z,j(z))},[]),D=c||N,$=f||E,W=v.useRef(null),V=v.useRef(null),X=v.useRef(y),J=h!=null,se=$c(h),de=$c(l),Z=$c(g),he=v.useCallback(()=>{if(!W.current||!V.current)return;const z={placement:r,strategy:o,middleware:S};de.current&&(z.platform=de.current),QS(W.current,V.current,z).then(I=>{const U={...I,isPositioned:Z.current!==!1};Q.current&&!ya(X.current,U)&&(X.current=U,Na.flushSync(()=>{x(U)}))})},[S,r,o,de,Z]);da(()=>{g===!1&&X.current.isPositioned&&(X.current.isPositioned=!1,x(z=>({...z,isPositioned:!1})))},[g]);const Q=v.useRef(!1);da(()=>(Q.current=!0,()=>{Q.current=!1}),[]),da(()=>{if(D&&(W.current=D),$&&(V.current=$),D&&$){if(se.current)return se.current(D,$,he);he()}},[D,$,he,se,J]);const ye=v.useMemo(()=>({reference:W,floating:V,setReference:_,setFloating:A}),[_,A]),re=v.useMemo(()=>({reference:D,floating:$}),[D,$]),ae=v.useMemo(()=>{const z={position:o,left:0,top:0};if(!re.floating)return z;const I=Tm(re.floating,y.x),U=Tm(re.floating,y.y);return p?{...z,transform:"translate("+I+"px, "+U+"px)",...dg(re.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:I,top:U}},[o,p,re.floating,y.x,y.y]);return v.useMemo(()=>({...y,update:he,refs:ye,elements:re,floatingStyles:ae}),[y,he,ye,re,ae])}const JS=t=>{function r(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:t,fn(o){const{element:i,padding:l}=typeof t=="function"?t(o):t;return i&&r(i)?i.current!=null?Nm({element:i.current,padding:l}).fn(o):{}:i?Nm({element:i,padding:l}).fn(o):{}}}},eC=(t,r)=>({...HS(t),options:[t,r]}),tC=(t,r)=>({...WS(t),options:[t,r]}),nC=(t,r)=>({...qS(t),options:[t,r]}),rC=(t,r)=>({...VS(t),options:[t,r]}),oC=(t,r)=>({...KS(t),options:[t,r]}),sC=(t,r)=>({...GS(t),options:[t,r]}),iC=(t,r)=>({...JS(t),options:[t,r]});var aC="Arrow",fg=v.forwardRef((t,r)=>{const{children:o,width:i=10,height:l=5,...c}=t;return d.jsx(ke.svg,{...c,ref:r,width:i,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?o:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});fg.displayName=aC;var lC=fg;function cC(t){const[r,o]=v.useState(void 0);return vn(()=>{if(t){o({width:t.offsetWidth,height:t.offsetHeight});const i=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const c=l[0];let f,p;if("borderBoxSize"in c){const h=c.borderBoxSize,g=Array.isArray(h)?h[0]:h;f=g.inlineSize,p=g.blockSize}else f=t.offsetWidth,p=t.offsetHeight;o({width:f,height:p})});return i.observe(t,{box:"border-box"}),()=>i.unobserve(t)}else o(void 0)},[t]),r}var Wu="Popper",[pg,Da]=Mn(Wu),[uC,mg]=pg(Wu),hg=t=>{const{__scopePopper:r,children:o}=t,[i,l]=v.useState(null);return d.jsx(uC,{scope:r,anchor:i,onAnchorChange:l,children:o})};hg.displayName=Wu;var gg="PopperAnchor",vg=v.forwardRef((t,r)=>{const{__scopePopper:o,virtualRef:i,...l}=t,c=mg(gg,o),f=v.useRef(null),p=_e(r,f);return v.useEffect(()=>{c.onAnchorChange(i?.current||f.current)}),i?null:d.jsx(ke.div,{...l,ref:p})});vg.displayName=gg;var Vu="PopperContent",[dC,fC]=pg(Vu),yg=v.forwardRef((t,r)=>{const{__scopePopper:o,side:i="bottom",sideOffset:l=0,align:c="center",alignOffset:f=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:g=[],collisionPadding:y=0,sticky:x="partial",hideWhenDetached:S=!1,updatePositionStrategy:b="optimized",onPlaced:N,...C}=t,E=mg(Vu,o),[j,_]=v.useState(null),A=_e(r,ne=>_(ne)),[D,$]=v.useState(null),W=cC(D),V=W?.width??0,X=W?.height??0,J=i+(c!=="center"?"-"+c:""),se=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},de=Array.isArray(g)?g:[g],Z=de.length>0,he={padding:se,boundary:de.filter(mC),altBoundary:Z},{refs:Q,floatingStyles:ye,placement:re,isPositioned:ae,middlewareData:z}=ZS({strategy:"fixed",placement:J,whileElementsMounted:(...ne)=>US(...ne,{animationFrame:b==="always"}),elements:{reference:E.anchor},middleware:[eC({mainAxis:l+X,alignmentAxis:f}),h&&tC({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?nC():void 0,...he}),h&&rC({...he}),oC({...he,apply:({elements:ne,rects:be,availableWidth:Ne,availableHeight:We})=>{const{width:Tt,height:In}=be.reference,Pt=ne.floating.style;Pt.setProperty("--radix-popper-available-width",`${Ne}px`),Pt.setProperty("--radix-popper-available-height",`${We}px`),Pt.setProperty("--radix-popper-anchor-width",`${Tt}px`),Pt.setProperty("--radix-popper-anchor-height",`${In}px`)}}),D&&iC({element:D,padding:p}),hC({arrowWidth:V,arrowHeight:X}),S&&sC({strategy:"referenceHidden",...he})]}),[I,U]=bg(re),P=Ke(N);vn(()=>{ae&&P?.()},[ae,P]);const F=z.arrow?.x,Y=z.arrow?.y,ee=z.arrow?.centerOffset!==0,[fe,ge]=v.useState();return vn(()=>{j&&ge(window.getComputedStyle(j).zIndex)},[j]),d.jsx("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...ye,transform:ae?ye.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:fe,"--radix-popper-transform-origin":[z.transformOrigin?.x,z.transformOrigin?.y].join(" "),...z.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:d.jsx(dC,{scope:o,placedSide:I,onArrowChange:$,arrowX:F,arrowY:Y,shouldHideArrow:ee,children:d.jsx(ke.div,{"data-side":I,"data-align":U,...C,ref:A,style:{...C.style,animation:ae?void 0:"none"}})})})});yg.displayName=Vu;var xg="PopperArrow",pC={top:"bottom",right:"left",bottom:"top",left:"r
10ight"},wg=v.forwardRef(function(r,o){const{__scopePopper:i,...l}=r,c=fC(xg,i),f=pC[c.placedSide];return d.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:d.jsx(lC,{...l,ref:o,style:{...l.style,display:"block"}})})});wg.displayName=xg;function mC(t){return t!==null}var hC=t=>({name:"transformOrigin",options:t,fn(r){const{placement:o,rects:i,middlewareData:l}=r,f=l.arrow?.centerOffset!==0,p=f?0:t.arrowWidth,h=f?0:t.arrowHeight,[g,y]=bg(o),x={start:"0%",center:"50%",end:"100%"}[y],S=(l.arrow?.x??0)+p/2,b=(l.arrow?.y??0)+h/2;let N="",C="";return g==="bottom"?(N=f?x:`${S}px`,C=`${-h}px`):g==="top"?(N=f?x:`${S}px`,C=`${i.floating.height+h}px`):g==="right"?(N=`${-h}px`,C=f?x:`${b}px`):g==="left"&&(N=`${i.floating.width+h}px`,C=f?x:`${b}px`),{data:{x:N,y:C}}}});function bg(t){const[r,o="center"]=t.split("-");return[r,o]}var gC=hg,Sg=vg,Cg=yg,Eg=wg,[La]=Mn("Tooltip",[Da]),Ku=Da(),kg="TooltipProvider",vC=700,Pm="tooltip.open",[yC,Ng]=La(kg),Tg=t=>{const{__scopeTooltip:r,delayDuration:o=vC,skipDelayDuration:i=300,disableHoverableContent:l=!1,children:c}=t,f=v.useRef(!0),p=v.useRef(!1),h=v.useRef(0);return v.useEffect(()=>{const g=h.current;return()=>window.clearTimeout(g)},[]),d.jsx(yC,{scope:r,isOpenDelayedRef:f,delayDuration:o,onOpen:v.useCallback(()=>{window.clearTimeout(h.current),f.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>f.current=!0,i)},[i]),isPointerInTransitRef:p,onPointerInTransitChange:v.useCallback(g=>{p.current=g},[]),disableHoverableContent:l,children:c})};Tg.displayName=kg;var Pg="Tooltip",[wj,Fa]=La(Pg),mu="TooltipTrigger",xC=v.forwardRef((t,r)=>{const{__scopeTooltip:o,...i}=t,l=Fa(mu,o),c=Ng(mu,o),f=Ku(o),p=v.useRef(null),h=_e(r,p,l.onTriggerChange),g=v.useRef(!1),y=v.useRef(!1),x=v.useCallback(()=>g.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",x),[x]),d.jsx(Sg,{asChild:!0,...f,children:d.jsx(ke.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...i,ref:h,onPointerMove:ce(t.onPointerMove,S=>{S.pointerType!=="touch"&&!y.current&&!c.isPointerInTransitRef.current&&(l.onTriggerEnter(),y.current=!0)}),onPointerLeave:ce(t.onPointerLeave,()=>{l.onTriggerLeave(),y.current=!1}),onPointerDown:ce(t.onPointerDown,()=>{l.open&&l.onClose(),g.current=!0,document.addEventListener("pointerup",x,{once:!0})}),onFocus:ce(t.onFocus,()=>{g.current||l.onOpen()}),onBlur:ce(t.onBlur,l.onClose),onClick:ce(t.onClick,l.onClose)})})});xC.displayName=mu;var wC="TooltipPortal",[bj,bC]=La(wC,{forceMount:void 0}),bo="TooltipContent",jg=v.forwardRef((t,r)=>{const o=bC(bo,t.__scopeTooltip),{forceMount:i=o.forceMount,side:l="top",...c}=t,f=Fa(bo,t.__scopeTooltip);return d.jsx(wt,{present:i||f.open,children:f.disableHoverableContent?d.jsx(Rg,{side:l,...c,ref:r}):d.jsx(SC,{side:l,...c,ref:r})})}),SC=v.forwardRef((t,r)=>{const o=Fa(bo,t.__scopeTooltip),i=Ng(bo,t.__scopeTooltip),l=v.useRef(null),c=_e(r,l),[f,p]=v.useState(null),{trigger:h,onClose:g}=o,y=l.current,{onPointerInTransitChange:x}=i,S=v.useCallback(()=>{p(null),x(!1)},[x]),b=v.useCallback((N,C)=>{const E=N.currentTarget,j={x:N.clientX,y:N.clientY},_=TC(j,E.getBoundingClientRect()),A=PC(j,_),D=jC(C.getBoundingClientRect()),$=AC([...A,...D]);p($),x(!0)},[x]);return v.useEffect(()=>()=>S(),[S]),v.useEffect(()=>{if(h&&y){const N=E=>b(E,y),C=E=>b(E,h);return h.addEventListener("pointerleave",N),y.addEventListener("pointerleave",C),()=>{h.removeEventListener("pointerleave",N),y.removeEventListener("pointerleave",C)}}},[h,y,b,S]),v.useEffect(()=>{if(f){const N=C=>{const E=C.target,j={x:C.clientX,y:C.clientY},_=h?.contains(E)||y?.contains(E),A=!RC(j,f);_?S():A&&(S(),g())};return document.addEventListener("pointermove",N),()=>document.removeEventListener("pointermove",N)}},[h,y,f,g,S]),d.jsx(Rg,{...t,ref:c})}),[CC,EC]=La(Pg,{isInside:!1}),kC=ww("TooltipContent"),Rg=v.forwardRef((t,r)=>{const{__scopeTooltip:o,children:i,"aria-label":l,onEscapeKeyDown:c,onPointerDownOutside:f,...p}=t,h=Fa(bo,o),g=Ku(o),{onClose:y}=h;return v.useEffect(()=>(document.addEventListener(Pm,y),()=>document.removeEventListener(Pm,y)),[y]),v.useEffect(()=>{if(h.trigger){const x=S=>{S.target?.contains(h.trigger)&&y()};return window.addEventListener("scroll",x,{capture:!0}),()=>window.removeEventListener("scroll",x,{capture:!0})}},[h.trigger,y]),d.jsx(As,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:x=>x.preventDefault(),onDismiss:y,children:d.jsxs(Cg,{"data-state":h.stateAttribute,...g,...p,ref:r,style:{...p.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:[d.jsx(kC,{children:i}),d.jsx(CC,{scope:o,isInside:!0,children:d.jsx(Hw,{id:h.contentId,role:"tooltip",children:l||i})})]})})});jg.displayName=bo;var Ag="TooltipArrow",NC=v.forwardRef((t,r)=>{const{__scopeTooltip:o,...i}=t,l=Ku(o);return EC(Ag,o).isInside?null:d.jsx(Eg,{...l,...i,ref:r})});NC.displayName=Ag;function TC(t,r){const o=Math.abs(r.top-t.y),i=Math.abs(r.bottom-t.y),l=Math.abs(r.right-t.x),c=Math.abs(r.left-t.x);switch(Math.min(o,i,l,c)){case c:return"left";case l:return"right";case o:return"top";case i:return"bottom";default:throw new Error("unreachable")}}function PC(t,r,o=5){const i=[];switch(r){case"top":i.push({x:t.x-o,y:t.y+o},{x:t.x+o,y:t.y+o});break;case"bottom":i.push({x:t.x-o,y:t.y-o},{x:t.x+o,y:t.y-o});break;case"left":i.push({x:t.x+o,y:t.y-o},{x:t.x+o,y:t.y+o});break;case"right":i.push({x:t.x-o,y:t.y-o},{x:t.x-o,y:t.y+o});break}return i}function jC(t){const{top:r,right:o,bottom:i,left:l}=t;return[{x:l,y:r},{x:o,y:r},{x:o,y:i},{x:l,y:i}]}function RC(t,r){const{x:o,y:i}=t;let l=!1;for(let c=0,f=r.length-1;c<r.length;f=c++){const p=r[c],h=r[f],g=p.x,y=p.y,x=h.x,S=h.y;y>i!=S>i&&o<(x-g)*(i-y)/(S-y)+g&&(l=!l)}return l}function AC(t){const r=t.slice();return r.sort((o,i)=>o.x<i.x?-1:o.x>i.x?1:o.y<i.y?-1:o.y>i.y?1:0),_C(r)}function _C(t){if(t.length<=1)return t.slice();const r=[];for(let i=0;i<t.length;i++){const l=t[i];for(;r.length>=2;){const c=r[r.length-1],f=r[r.length-2];if((c.x-f.x)*(l.y-f.y)>=(c.y-f.y)*(l.x-f.x))r.pop();else break}r.push(l)}r.pop();const o=[];for(let i=t.length-1;i>=0;i--){const l=t[i];for(;o.length>=2;){const c=o[o.length-1],f=o[o.length-2];if((c.x-f.x)*(l.y-f.y)>=(c.y-f.y)*(l.x-f.x))o.pop();else break}o.push(l)}return o.pop(),r.length===1&&o.length===1&&r[0].x===o[0].x&&r[0].y===o[0].y?r:r.concat(o)}var MC=Tg,_g=jg;const Mg=MC,OC=v.forwardRef(({className:t,sideOffset:r=4,...o},i)=>d.jsx(_g,{ref:i,sideOffset:r,className:Ee("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
10de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o}));OC.displayName=_g.displayName;var za=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},$a=typeof window>"u"||"Deno"in globalThis;function Qt(){}function IC(t,r){return typeof t=="function"?t(r):t}function DC(t){return typeof t=="number"&&t>=0&&t!==1/0}function LC(t,r){return Math.max(t+(r||0)-Date.now(),0)}function hu(t,r){return typeof t=="function"?t(r):t}function FC(t,r){return typeof t=="function"?t(r):t}function jm(t,r){const{type:o="all",exact:i,fetchStatus:l,predicate:c,queryKey:f,stale:p}=t;if(f){if(i){if(r.queryHash!==Gu(f,r.options))return!1}else if(!ks(r.queryKey,f))return!1}if(o!=="all"){const h=r.isActive();if(o==="active"&&!h||o==="inactive"&&h)return!1}return!(typeof p=="boolean"&&r.isStale()!==p||l&&l!==r.state.fetchStatus||c&&!c(r))}function Rm(t,r){const{exact:o,status:i,predicate:l,mutationKey:c}=t;if(c){if(!r.options.mutationKey)return!1;if(o){if(Es(r.options.mutationKey)!==Es(c))return!1}else if(!ks(r.options.mutationKey,c))return!1}return!(i&&r.state.status!==i||l&&!l(r))}function Gu(t,r){return(r?.queryKeyHashFn||Es)(t)}function Es(t){return JSON.stringify(t,(r,o)=>gu(o)?Object.keys(o).sort().reduce((i,l)=>(i[l]=o[l],i),{}):o)}function ks(t,r){return t===r?!0:typeof t!=typeof r?!1:t&&r&&typeof t=="object"&&typeof r=="object"?Object.keys(r).every(o=>ks(t[o],r[o])):!1}function Og(t,r){if(t===r)return t;const o=Am(t)&&Am(r);if(o||gu(t)&&gu(r)){const i=o?t:Object.keys(t),l=i.length,c=o?r:Object.keys(r),f=c.length,p=o?[]:{},h=new Set(i);let g=0;for(let y=0;y<f;y++){const x=o?y:c[y];(!o&&h.has(x)||o)&&t[x]===void 0&&r[x]===void 0?(p[x]=void 0,g++):(p[x]=Og(t[x],r[x]),p[x]===t[x]&&t[x]!==void 0&&g++)}return l===f&&g===l?t:p}return r}function Am(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function gu(t){if(!_m(t))return!1;const r=t.constructor;if(r===void 0)return!0;const o=r.prototype;return!(!_m(o)||!o.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function _m(t){return Object.prototype.toString.call(t)==="[object Object]"}function zC(t){return new Promise(r=>{setTimeout(r,t)})}function $C(t,r,o){return typeof o.structuralSharing=="function"?o.structuralSharing(t,r):o.structuralSharing!==!1?Og(t,r):r}function BC(t,r,o=0){const i=[...t,r];return o&&i.length>o?i.slice(1):i}function UC(t,r,o=0){const i=[r,...t];return o&&i.length>o?i.slice(0,-1):i}var qu=Symbol();function Ig(t,r){return!t.queryFn&&r?.initialPromise?()=>r.initialPromise:!t.queryFn||t.queryFn===qu?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var HC=class extends za{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!$a&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Dg=new HC,WC=class extends za{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!$a&&window.addEventListener){const r=()=>t(!0),o=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",o)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(o=>{o(t)}))}isOnline(){return this.#e}},xa=new WC;function VC(){let t,r;const o=new Promise((l,c)=>{t=l,r=c});o.status="pending",o.catch(()=>{});function i(l){Object.assign(o,l),delete o.resolve,delete o.reject}return o.resolve=l=>{i({status:"fulfilled",value:l}),t(l)},o.reject=l=>{i({status:"rejected",reason:l}),r(l)},o}function KC(t){return Math.min(1e3*2**t,3e4)}function Lg(t){return(t??"online")==="online"?xa.isOnline():!0}
vendor: 10,877 bytes, line 10
10var Fg=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Bc(t){return t instanceof Fg}function zg(t){let r=!1,o=0,i=!1,l;const c=VC(),f=C=>{i||(S(new Fg(C)),t.abort?.())},p=()=>{r=!0},h=()=>{r=!1},g=()=>Dg.isFocused()&&(t.networkMode==="always"||xa.isOnline())&&t.canRun(),y=()=>Lg(t.networkMode)&&t.canRun(),x=C=>{i||(i=!0,t.onSuccess?.(C),l?.(),c.resolve(C))},S=C=>{i||(i=!0,t.onError?.(C),l?.(),c.reject(C))},b=()=>new Promise(C=>{l=E=>{(i||g())&&C(E)},t.onPause?.()}).then(()=>{l=void 0,i||t.onContinue?.()}),N=()=>{if(i)return;let C;const E=o===0?t.initialPromise:void 0;try{C=E??t.fn()}catch(j){C=Promise.reject(j)}Promise.resolve(C).then(x).catch(j=>{if(i)return;const _=t.retry??($a?0:3),A=t.retryDelay??KC,D=typeof A=="function"?A(o,j):A,$=_===!0||typeof _=="number"&&o<_||typeof _=="function"&&_(o,j);if(r||!$){S(j);return}o++,t.onFail?.(o,j),zC(D).then(()=>g()?void 0:b()).then(()=>{r?S(j):N()})})};return{promise:c,cancel:f,continue:()=>(l?.(),c),cancelRetry:p,continueRetry:h,canStart:y,start:()=>(y()?N():b().then(N),c)}}var GC=t=>setTimeout(t,0);function qC(){let t=[],r=0,o=p=>{p()},i=p=>{p()},l=GC;const c=p=>{r?t.push(p):l(()=>{o(p)})},f=()=>{const p=t;t=[],p.length&&l(()=>{i(()=>{p.forEach(h=>{o(h)})})})};return{batch:p=>{let h;r++;try{h=p()}finally{r--,r||f()}return h},batchCalls:p=>(...h)=>{c(()=>{p(...h)})},schedule:c,setNotifyFunction:p=>{o=p},setBatchNotifyFunction:p=>{i=p},setScheduler:p=>{l=p}}}var ct=qC(),$g=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),DC(this.gcTime)&&(this.#e=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??($a?1/0:300*1e3))}clearGcTimeout(){this.#e&&(clearTimeout(this.#e),this.#e=void 0)}},QC=class extends $g{#e;#t;#n;#o;#r;#i;#a;constructor(t){super(),this.#a=!1,this.#i=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#o=t.client,this.#n=this.#o.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=XC(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(t){this.options={...this.#i,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,r){const o=$C(this.state.data,t,this.options);return this.#s({data:o,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),o}setState(t,r){this.#s({type:"setState",state:t,setStateOptions:r})}cancel(t){const r=this.#r?.promise;return this.#r?.cancel(t),r?r.then(Qt).catch(Qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>FC(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===qu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>hu(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:!LC(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(this.#r&&(this.#a?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}fetch(t,r){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(g=>g.options.queryFn);h&&this.setOptions(h.options)}const o=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#a=!0,o.signal)})},l=()=>{const h=Ig(this.options,r),y=(()=>{const x={client:this.#o,queryKey:this.queryKey,meta:this.meta};return i(x),x})();return this.#a=!1,this.options.persister?this.options.persister(h,y,this):h(y)},f=(()=>{const h={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#o,state:this.state,fetchFn:l};return i(h),h})();this.options.behavior?.onFetch(f,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#s({type:"fetch",meta:f.fetchOptions?.meta});const p=h=>{Bc(h)&&h.silent||this.#s({type:"error",error:h}),Bc(h)||(this.#n.config.onError?.(h,this),this.#n.config.onSettled?.(this.state.data,h,this)),this.scheduleGc()};return this.#r=zg({initialPromise:r?.initialPromise,fn:f.fetchFn,abort:o.abort.bind(o),onSuccess:h=>{if(h===void 0){p(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){p(g);return}this.#n.config.onSuccess?.(h,this),this.#n.config.onSettled?.(h,this.state.error,this),this.scheduleGc()},onError:p,onFail:(h,g)=>{this.#s({type:"failed",failureCount:h,error:g})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0}),this.#r.start()}#s(t){const r=o=>{switch(t.type){case"failed":return{...o,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...YC(o.data,this.options),fetchMeta:t.meta??null};case"success":return this.#t=void 0,{...o,data:t.data,dataUpdateCount:o.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Bc(i)&&i.revert&&this.#t?{...this.#t,fetchStatus:"idle"}:{...o,error:i,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...t.state}}};this.state=r(this.state),ct.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function YC(t,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Lg(r.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function XC(t){const r=typeof t.initialData=="function"?t.initialData():t.initialData,o=r!==void 0,i=o?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:o?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:o?"success":"pending",fetchStatus:"idle"}}var ZC=class extends za{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,r,o){const i=r.queryKey,l=r.queryHash??Gu(i,r);let c=this.get(l);return c||(c=new QC({client:t,queryKey:i,queryHash:l,options:t.defaultQueryOptions(r),state:o,defaultOptions:t.getQueryDefaults(i)}),this.add(c)),c}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=this.#e.get(t.queryHash);r&&(t.destroy(),r===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ct.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const r={exact:!0,...t};return this.getAll().find(o=>jm(r,o))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(o=>jm(t,o)):r}notify(t){ct.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){ct.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ct.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},JC=class extends $g{#e;#t;#n;constructor(t){super(),this.mutationId=t.mutationId,this.#t=t.mutationCache,this.#e=[],this.state=t.state||eE(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#e.includes(t)||(this.#e.push(t),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#e=this.#e.filter(r=>r!==t),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(t){const r=()=>{this.#o({type:"continue"})};this.#n=zg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(l,c)=>{this.#o({type:"failed",failureCount:l,error:c})},onPause:()=>{this.#o({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const o=this.state.status==="pending",i=!this.#n.canStart();try{if(o)r();else{this.#o({type:"pending",variables:t,isPaused:i}),await this.#t.config.onMutate?.(t,this);const c=await this.options.onMutate?.(t);c!==this.state.context&&this.#o({type:"pending",context:c,variables:t,isPaused:i})}const l=await this.#n.start();return await this.#t.config.onSuccess?.(l,t,this.state.context,this),await this.options.onSuccess?.(l,t,this.state.context),await this.#t.config.onSettled?.(l,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(l,null,t,this.state.context),this.#o({type:"success",data:l}),l}catch(l){try{throw await this.#t.config.onError?.(l,t,this.state.context,this),await this.options.onError?.(l,t,this.state.context),await this.#t.config.onSettled?.(void 0,l,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,l,t,this.state.context),l}finally{this.#o({type:"error",error:l})}}finally{this.#t.runNext(this)}}#o(t){const r=o=>{switch(t.type){case"failed":return{...o,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};
vendor: 6,738 bytes, line 10
10case"pending":return{...o,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{...o,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:t.error,failureCount:o.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),ct.batch(()=>{this.#e.forEach(o=>{o.onMutationUpdate(t)}),this.#t.notify({mutation:this,type:"updated",action:t})})}};function eE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var tE=class extends za{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,r,o){const i=new JC({mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(r),state:o});return this.add(i),i}add(t){this.#e.add(t);const r=na(t);if(typeof r=="string"){const o=this.#t.get(r);o?o.push(t):this.#t.set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const r=na(t);if(typeof r=="string"){const o=this.#t.get(r);if(o)if(o.length>1){const i=o.indexOf(t);i!==-1&&o.splice(i,1)}else o[0]===t&&this.#t.delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=na(t);if(typeof r=="string"){const i=this.#t.get(r)?.find(l=>l.state.status==="pending");return!i||i===t}else return!0}runNext(t){const r=na(t);return typeof r=="string"?this.#t.get(r)?.find(i=>i!==t&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){ct.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const r={exact:!0,...t};return this.getAll().find(o=>Rm(r,o))}findAll(t={}){return this.getAll().filter(r=>Rm(t,r))}notify(t){ct.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return ct.batch(()=>Promise.all(t.map(r=>r.continue().catch(Qt))))}};function na(t){return t.options.scope?.id}function Mm(t){return{onFetch:(r,o)=>{const i=r.options,l=r.fetchOptions?.meta?.fetchMore?.direction,c=r.state.data?.pages||[],f=r.state.data?.pageParams||[];let p={pages:[],pageParams:[]},h=0;const g=async()=>{let y=!1;const x=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(r.signal.aborted?y=!0:r.signal.addEventListener("abort",()=>{y=!0}),r.signal)})},S=Ig(r.options,r.fetchOptions),b=async(N,C,E)=>{if(y)return Promise.reject();if(C==null&&N.pages.length)return Promise.resolve(N);const _=(()=>{const W={client:r.client,queryKey:r.queryKey,pageParam:C,direction:E?"backward":"forward",meta:r.options.meta};return x(W),W})(),A=await S(_),{maxPages:D}=r.options,$=E?UC:BC;return{pages:$(N.pages,A,D),pageParams:$(N.pageParams,C,D)}};if(l&&c.length){const N=l==="backward",C=N?nE:Om,E={pages:c,pageParams:f},j=C(i,E);p=await b(E,j,N)}else{const N=t??c.length;do{const C=h===0?f[0]??i.initialPageParam:Om(i,p);if(h>0&&C==null)break;p=await b(p,C),h++}while(h<N)}return p};r.options.persister?r.fetchFn=()=>r.options.persister?.(g,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},o):r.fetchFn=g}}}function Om(t,{pages:r,pageParams:o}){const i=r.length-1;return r.length>0?t.getNextPageParam(r[i],r,o[i],o):void 0}function nE(t,{pages:r,pageParams:o}){return r.length>0?t.getPreviousPageParam?.(r[0],r,o[0],o):void 0}var rE=class{#e;#t;#n;#o;#r;#i;#a;#s;constructor(t={}){this.#e=t.queryCache||new ZC,this.#t=t.mutationCache||new tE,this.#n=t.defaultOptions||{},this.#o=new Map,this.#r=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#a=Dg.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=xa.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#a?.(),this.#a=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const r=this.defaultQueryOptions({queryKey:t});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(t){const r=this.defaultQueryOptions(t),o=this.#e.build(this,r),i=o.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&o.isStaleByTime(hu(r.staleTime,o))&&this.prefetchQuery(r),Promise.resolve(i))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:r,state:o})=>{const i=o.data;return[r,i]})}setQueryData(t,r,o){const i=this.defaultQueryOptions({queryKey:t}),c=this.#e.get(i.queryHash)?.state.data,f=IC(r,c);if(f!==void 0)return this.#e.build(this,i).setData(f,{...o,manual:!0})}setQueriesData(t,r,o){return ct.batch(()=>this.#e.findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,r,o)]))}getQueryState(t){const r=this.defaultQueryOptions({queryKey:t});return this.#e.get(r.queryHash)?.state}removeQueries(t){const r=this.#e;ct.batch(()=>{r.findAll(t).forEach(o=>{r.remove(o)})})}resetQueries(t,r){const o=this.#e;return ct.batch(()=>(o.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},r)))}cancelQueries(t,r={}){const o={revert:!0,...r},i=ct.batch(()=>this.#e.findAll(t).map(l=>l.cancel(o)));return Promise.all(i).then(Qt).catch(Qt)}invalidateQueries(t,r={}){return ct.batch(()=>(this.#e.findAll(t).forEach(o=>{o.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},r)))}refetchQueries(t,r={}){const o={...r,cancelRefetch:r.cancelRefetch??!0},i=ct.batch(()=>this.#e.findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,o);return o.throwOnError||(c=c.catch(Qt)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(i).then(Qt)}fetchQuery(t){const r=this.defaultQueryOptions(t);r.retry===void 0&&(r.retry=!1);const o=this.#e.build(this,r);return o.isStaleByTime(hu(r.staleTime,o))?o.fetch(r):Promise.resolve(o.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Qt).catch(Qt)}fetchInfiniteQuery(t){return t.behavior=Mm(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Qt).catch(Qt)}ensureInfiniteQueryData(t){return t.behavior=Mm(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return xa.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,r){this.#o.set(Es(t),{queryKey:t,defaultOptions:r})}getQueryDefaults(t){const r=[...this.#o.values()],o={};return r.forEach(i=>
10{ks(t,i.queryKey)&&Object.assign(o,i.defaultOptions)}),o}setMutationDefaults(t,r){this.#r.set(Es(t),{mutationKey:t,defaultOptions:r})}getMutationDefaults(t){const r=[...this.#r.values()],o={};return r.forEach(i=>{ks(t,i.mutationKey)&&Object.assign(o,i.defaultOptions)}),o}defaultQueryOptions(t){if(t._defaulted)return t;const r={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return r.queryHash||(r.queryHash=Gu(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===qu&&(r.enabled=!1),r}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},oE=v.createContext(void 0),sE=({client:t,children:r})=>(v.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),d.jsx(oE.Provider,{value:t,children:r}));function Ns(){return Ns=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},Ns.apply(this,arguments)}var ir;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(ir||(ir={}));const Im="popstate";function iE(t){t===void 0&&(t={});function r(i,l){let{pathname:c,search:f,hash:p}=i.location;return vu("",{pathname:c,search:f,hash:p},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function o(i,l){return typeof l=="string"?l:wa(l)}return lE(r,o,null,t)}function He(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function Qu(t,r){if(!t){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function aE(){return Math.random().toString(36).substr(2,8)}function Dm(t,r){return{usr:t.state,key:t.key,idx:r}}function vu(t,r,o,i){return o===void 0&&(o=null),Ns({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof r=="string"?No(r):r,{state:o,key:r&&r.key||i||aE()})}function wa(t){let{pathname:r="/",search:o="",hash:i=""}=t;return o&&o!=="?"&&(r+=o.charAt(0)==="?"?o:"?"+o),i&&i!=="#"&&(r+=i.charAt(0)==="#"?i:"#"+i),r}function No(t){let r={};if(t){let o=t.indexOf("#");o>=0&&(r.hash=t.substr(o),t=t.substr(0,o));let i=t.indexOf("?");i>=0&&(r.search=t.substr(i),t=t.substr(0,i)),t&&(r.pathname=t)}return r}function lE(t,r,o,i){i===void 0&&(i={});let{window:l=document.defaultView,v5Compat:c=!1}=i,f=l.history,p=ir.Pop,h=null,g=y();g==null&&(g=0,f.replaceState(Ns({},f.state,{idx:g}),""));function y(){return(f.state||{idx:null}).idx}function x(){p=ir.Pop;let E=y(),j=E==null?null:E-g;g=E,h&&h({action:p,location:C.location,delta:j})}function S(E,j){p=ir.Push;let _=vu(C.location,E,j);g=y()+1;let A=Dm(_,g),D=C.createHref(_);try{f.pushState(A,"",D)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;l.location.assign(D)}c&&h&&h({action:p,location:C.location,delta:1})}function b(E,j){p=ir.Replace;let _=vu(C.location,E,j);g=y();let A=Dm(_,g),D=C.createHref(_);f.replaceState(A,"",D),c&&h&&h({action:p,location:C.location,delta:0})}function N(E){let j=l.location.origin!=="null"?l.location.origin:l.location.href,_=typeof E=="string"?E:wa(E);return _=_.replace(/ $/,"%20"),He(j,"No window.location.(origin|href) available to create URL for href: "+_),new URL(_,j)}let C={get action(){return p},get location(){return t(l,f)},listen(E){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(Im,x),h=E,()=>{l.removeEventListener(Im,x),h=null}},createHref(E){return r(l,E)},createURL:N,encodeLocation(E){let j=N(E);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:S,replace:b,go(E){return f.go(E)}};return C}var Lm;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Lm||(Lm={}));function cE(t,r,o){return o===void 0&&(o="/"),uE(t,r,o)}function uE(t,r,o,i){let l=typeof r=="string"?No(r):r,c=Yu(l.pathname||"/",o);if(c==null)return null;let f=Bg(t);dE(f);let p=null;for(let h=0;p==null&&h<f.length;++h){let g=CE(c);p=wE(f[h],g)}return p}function Bg(t,r,o,i){r===void 0&&(r=[]),o===void 0&&(o=[]),i===void 0&&(i="");let l=(c,f,p)=>
vendor: 1,825 bytes, line 10
10{let h={relativePath:p===void 0?c.path||"":p,caseSensitive:c.caseSensitive===!0,childrenIndex:f,route:c};h.relativePath.startsWith("/")&&(He(h.relativePath.startsWith(i),'Absolute route path "'+h.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),h.relativePath=h.relativePath.slice(i.length));let g=ar([i,h.relativePath]),y=o.concat(h);c.children&&c.children.length>0&&(He(c.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),Bg(c.children,r,y,g)),!(c.path==null&&!c.index)&&r.push({path:g,score:yE(g,c.index),routesMeta:y})};return t.forEach((c,f)=>{var p;if(c.path===""||!((p=c.path)!=null&&p.includes("?")))l(c,f);else for(let h of Ug(c.path))l(c,f,h)}),r}function Ug(t){let r=t.split("/");if(r.length===0)return[];let[o,...i]=r,l=o.endsWith("?"),c=o.replace(/\?$/,"");if(i.length===0)return l?[c,""]:[c];let f=Ug(i.join("/")),p=[];return p.push(...f.map(h=>h===""?c:[c,h].join("/"))),l&&p.push(...f),p.map(h=>t.startsWith("/")&&h===""?"/":h)}function dE(t){t.sort((r,o)=>r.score!==o.score?o.score-r.score:xE(r.routesMeta.map(i=>i.childrenIndex),o.routesMeta.map(i=>i.childrenIndex)))}const fE=/^:[\w-]+$/,pE=3,mE=2,hE=1,gE=10,vE=-2,Fm=t=>t==="*";function yE(t,r){let o=t.split("/"),i=o.length;return o.some(Fm)&&(i+=vE),r&&(i+=mE),o.filter(l=>!Fm(l)).reduce((l,c)=>l+(fE.test(c)?pE:c===""?hE:gE),i)}function xE(t,r){return t.length===r.length&&t.slice(0,-1).every((i,l)=>i===r[l])?t[t.length-1]-r[r.length-1]:0}function wE(t,r,o){let{routesMeta:i}=t,l={},c="/",f=[];for(let p=0;p<i.length;++p){let h=i[p],g=p===i.length-1,y=c==="/"?r:r.slice(c.length)||"/",x=bE({path:h.relativePath,caseSensitive:h.caseSensitive,end:g},y),S=h.route;if(!x)return null;
vendor: 4,910 bytes, line 10
10Object.assign(l,x.params),f.push({params:l,pathname:ar([c,x.pathname]),pathnameBase:PE(ar([c,x.pathnameBase])),route:S}),x.pathnameBase!=="/"&&(c=ar([c,x.pathnameBase]))}return f}function bE(t,r){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[o,i]=SE(t.path,t.caseSensitive,t.end),l=r.match(o);if(!l)return null;let c=l[0],f=c.replace(/(.)\/+$/,"$1"),p=l.slice(1);return{params:i.reduce((g,y,x)=>{let{paramName:S,isOptional:b}=y;if(S==="*"){let C=p[x]||"";f=c.slice(0,c.length-C.length).replace(/(.)\/+$/,"$1")}const N=p[x];return b&&!N?g[S]=void 0:g[S]=(N||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:f,pattern:t}}function SE(t,r,o){r===void 0&&(r=!1),o===void 0&&(o=!0),Qu(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let i=[],l="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,h)=>(i.push({paramName:p,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(i.push({paramName:"*"}),l+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?l+="\\/*$":t!==""&&t!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,r?void 0:"i"),i]}function CE(t){try{return t.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Qu(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+r+").")),t}}function Yu(t,r){if(r==="/")return t;if(!t.toLowerCase().startsWith(r.toLowerCase()))return null;let o=r.endsWith("/")?r.length-1:r.length,i=t.charAt(o);return i&&i!=="/"?null:t.slice(o)||"/"}const EE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,kE=t=>EE.test(t);function NE(t,r){r===void 0&&(r="/");let{pathname:o,search:i="",hash:l=""}=typeof t=="string"?No(t):t,c;if(o)if(kE(o))c=o;else{if(o.includes("//")){let f=o;o=o.replace(/\/\/+/g,"/"),Qu(!1,"Pathnames cannot have embedded double slashes - normalizing "+(f+" -> "+o))}o.startsWith("/")?c=zm(o.substring(1),"/"):c=zm(o,r)}else c=r;return{pathname:c,search:jE(i),hash:RE(l)}}function zm(t,r){let o=r.replace(/\/+$/,"").split("/");return t.split("/").forEach(l=>{l===".."?o.length>1&&o.pop():l!=="."&&o.push(l)}),o.length>1?o.join("/"):"/"}function Uc(t,r,o,i){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+r+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+o+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function TE(t){return t.filter((r,o)=>o===0||r.route.path&&r.route.path.length>0)}function Xu(t,r){let o=TE(t);return r?o.map((i,l)=>l===o.length-1?i.pathname:i.pathnameBase):o.map(i=>i.pathnameBase)}function Zu(t,r,o,i){i===void 0&&(i=!1);let l;typeof t=="string"?l=No(t):(l=Ns({},t),He(!l.pathname||!l.pathname.includes("?"),Uc("?","pathname","search",l)),He(!l.pathname||!l.pathname.includes("#"),Uc("#","pathname","hash",l)),He(!l.search||!l.search.includes("#"),Uc("#","search","hash",l)));let c=t===""||l.pathname==="",f=c?"/":l.pathname,p;if(f==null)p=o;else{let x=r.length-1;if(!i&&f.startsWith("..")){let S=f.split("/");for(;S[0]==="..";)S.shift(),x-=1;l.pathname=S.join("/")}p=x>=0?r[x]:"/"}let h=NE(l,p),g=f&&f!=="/"&&f.endsWith("/"),y=(c||f===".")&&o.endsWith("/");return!h.pathname.endsWith("/")&&(g||y)&&(h.pathname+="/"),h}const ar=t=>t.join("/").replace(/\/\/+/g,"/"),PE=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),jE=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,RE=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function AE(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const Hg=["post","put","patch","delete"];new Set(Hg);const _E=["get",...Hg];new Set(_E);function Ts(){return Ts=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},Ts.apply(this,arguments)}const Ju=v.createContext(null),ME=v.createContext(null),dr=v.createContext(null),Ba=v.createContext(null),On=v.createContext({outlet:null,matches:[],isDataRoute:!1}),Wg=v.createContext(null);function OE(t,r){let{relative:o}=r===void 0?{}:r;To()||He(!1);let{basename:i,navigator:l}=v.useContext(dr),{hash:c,pathname:f,search:p}=Gg(t,{relative:o}),h=f;return i!=="/"&&(h=f==="/"?i:ar([i,f])),l.createHref({pathname:h,search:p,hash:c})}function To(){return v.useContext(Ba)!=null}function fr(){return To()||He(!1),v.useContext(Ba).location}function Vg(t){v.useContext(dr).static||v.useLayoutEffect(t)}function Kg(){let{isDataRoute:t}=v.useContext(On);return t?GE():IE()}function IE(){To()||He(!1);
vendor: 4,390 bytes, line 10
10let t=v.useContext(Ju),{basename:r,future:o,navigator:i}=v.useContext(dr),{matches:l}=v.useContext(On),{pathname:c}=fr(),f=JSON.stringify(Xu(l,o.v7_relativeSplatPath)),p=v.useRef(!1);return Vg(()=>{p.current=!0}),v.useCallback(function(g,y){if(y===void 0&&(y={}),!p.current)return;if(typeof g=="number"){i.go(g);return}let x=Zu(g,JSON.parse(f),c,y.relative==="path");t==null&&r!=="/"&&(x.pathname=x.pathname==="/"?r:ar([r,x.pathname])),(y.replace?i.replace:i.push)(x,y.state,y)},[r,i,f,c,t])}function Sj(){let{matches:t}=v.useContext(On),r=t[t.length-1];return r?r.params:{}}function Gg(t,r){let{relative:o}=r===void 0?{}:r,{future:i}=v.useContext(dr),{matches:l}=v.useContext(On),{pathname:c}=fr(),f=JSON.stringify(Xu(l,i.v7_relativeSplatPath));return v.useMemo(()=>Zu(t,JSON.parse(f),c,o==="path"),[t,f,c,o])}function DE(t,r){return LE(t,r)}function LE(t,r,o,i){To()||He(!1);let{navigator:l}=v.useContext(dr),{matches:c}=v.useContext(On),f=c[c.length-1],p=f?f.params:{};f&&f.pathname;let h=f?f.pathnameBase:"/";f&&f.route;let g=fr(),y;if(r){var x;let E=typeof r=="string"?No(r):r;h==="/"||(x=E.pathname)!=null&&x.startsWith(h)||He(!1),y=E}else y=g;let S=y.pathname||"/",b=S;if(h!=="/"){let E=h.replace(/^\//,"").split("/");b="/"+S.replace(/^\//,"").split("/").slice(E.length).join("/")}let N=cE(t,{pathname:b}),C=UE(N&&N.map(E=>Object.assign({},E,{params:Object.assign({},p,E.params),pathname:ar([h,l.encodeLocation?l.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?h:ar([h,l.encodeLocation?l.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),c,o,i);return r&&C?v.createElement(Ba.Provider,{value:{location:Ts({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:ir.Pop}},C):C}function FE(){let t=KE(),r=AE(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),o=t instanceof Error?t.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},r),o?v.createElement("pre",{style:l},o):null,null)}const zE=v.createElement(FE,null);class $E extends v.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,o){return o.location!==r.location||o.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:o.error,location:o.location,revalidation:r.revalidation||o.revalidation}}componentDidCatch(r,o){console.error("React Router caught the following error during render",r,o)}render(){return this.state.error!==void 0?v.createElement(On.Provider,{value:this.props.routeContext},v.createElement(Wg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function BE(t){let{routeContext:r,match:o,children:i}=t,l=v.useContext(Ju);return l&&l.static&&l.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=o.route.id),v.createElement(On.Provider,{value:r},i)}function UE(t,r,o,i){var l;if(r===void 0&&(r=[]),o===void 0&&(o=null),i===void 0&&(i=null),t==null){var c;if(!o)return null;if(o.errors)t=o.matches;else if((c=i)!=null&&c.v7_partialHydration&&r.length===0&&!o.initialized&&o.matches.length>0)t=o.matches;else return null}let f=t,p=(l=o)==null?void 0:l.errors;if(p!=null){let y=f.findIndex(x=>x.route.id&&p?.[x.route.id]!==void 0);y>=0||He(!1),f=f.slice(0,Math.min(f.length,y+1))}let h=!1,g=-1;if(o&&i&&i.v7_partialHydration)for(let y=0;y<f.length;y++){let x=f[y];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(g=y),x.route.id){let{loaderData:S,errors:b}=o,N=x.route.loader&&S[x.route.id]===void 0&&(!b||b[x.route.id]===void 0);if(x.route.lazy||N){h=!0,g>=0?f=f.slice(0,g+1):f=[f[0]];break}}}return f.reduceRight((y,x,S)=>{let b,N=!1,C=null,E=null;o&&(b=p&&x.route.id?p[x.route.id]:void 0,C=x.route.errorElement||zE,h&&(g<0&&S===0?(qE("route-fallback"),N=!0,E=null):g===S&&(N=!0,E=x.route.hydrateFallbackElement||null)));let j=r.concat(f.slice(0,S+1)),_=()=>{let A;return b?A=C:N?A=E:x.route.Component?A=v.createElement(x.route.Component,null):x.route.element?A=x.route.element:A=y,v.createElement(BE,{match:x,routeC
10ontext:{outlet:y,matches:j,isDataRoute:o!=null},children:A})};return o&&(x.route.ErrorBoundary||x.route.errorElement||S===0)?v.createElement($E,{location:o.location,revalidation:o.revalidation,component:C,error:b,children:_(),routeContext:{outlet:null,matches:j,isDataRoute:!0}}):_()},null)}var qg=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(qg||{}),Qg=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(Qg||{});function HE(t){let r=v.useContext(Ju);return r||He(!1),r}function WE(t){let r=v.useContext(ME);return r||He(!1),r}function VE(t){let r=v.useContext(On);return r||He(!1),r}function Yg(t){let r=VE(),o=r.matches[r.matches.length-1];return o.route.id||He(!1),o.route.id}function KE(){var t;let r=v.useContext(Wg),o=WE(),i=Yg();return r!==void 0?r:(t=o.errors)==null?void 0:t[i]}function GE(){let{router:t}=HE(qg.UseNavigateStable),r=Yg(Qg.UseNavigateStable),o=v.useRef(!1);return Vg(()=>{o.current=!0}),v.useCallback(function(l,c){c===void 0&&(c={}),o.current&&(typeof l=="number"?t.navigate(l):t.navigate(l,Ts({fromRouteId:r},c)))},[t,r])}const $m={};function qE(t,r,o){$m[t]||($m[t]=!0)}function QE(t,r){t?.v7_startTransition,t?.v7_relativeSplatPath}function Cj(t){let{to:r,replace:o,state:i,relative:l}=t;To()||He(!1);let{future:c,static:f}=v.useContext(dr),{matches:p}=v.useContext(On),{pathname:h}=fr(),g=Kg(),y=Zu(r,Xu(p,c.v7_relativeSplatPath),h,l==="path"),x=JSON.stringify(y);return v.useEffect(()=>g(JSON.parse(x),{replace:o,state:i,relative:l}),[g,x,l,o,i]),null}function pn(t){He(!1)}function YE(t){let{basename:r="/",children:o=null,location:i,navigationType:l=ir.Pop,navigator:c,static:f=!1,future:p}=t;To()&&He(!1);let h=r.replace(/^\/*/,"/"),g=v.useMemo(()=>({basename:h,navigator:c,static:f,future:Ts({v7_relativeSplatPath:!1},p)}),[h,p,c,f]);typeof i=="string"&&(i=No(i));let{pathname:y="/",search:x="",hash:S="",state:b=null,key:N="default"}=i,C=v.useMemo(()=>{let E=Yu(y,h);return E==null?null:{location:{pathname:E,search:x,hash:S,state:b,key:N},navigationType:l}},[h,y,x,S,b,N,l]);return C==null?null:v.createElement(dr.Provider,{value:g},v.createElement(Ba.Provider,{children:o,value:C}))}function XE(t){let{children:r,location:o}=t;return DE(yu(r),o)}new Promise(()=>{});function yu(t,r){r===void 0&&(r=[]);let o=[];return v.Children.forEach(t,(i,l)=>{if(!v.isValidElement(i))return;let c=[...r,l];if(i.type===v.Fragment){o.push.apply(o,yu(i.props.children,c));return}i.type!==pn&&He(!1),!i.props.index||!i.props.children||He(!1);let f={id:i.props.id||c.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(f.children=yu(i.props.children,c)),o.push(f)}),o}function xu(){return xu=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},xu.apply(this,arguments)}function ZE(t,r){if(t==null)return{};var o={},i=Object.keys(t),l,c;for(c=0;c<i.length;c++)l=i[c],!(r.indexOf(l)>=0)&&(o[l]=t[l]);return o}function JE(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function ek(t,r){return t.button===0&&(!r||r==="_self")&&!JE(t)}const tk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],nk="6";try{window.__reactRouterVersion=nk}catch{}const rk="startTransition",Bm=ju[rk];function ok(t){let{basename:r,children:o,future:i,window:l}=t,c=v.useRef();c.current==null&&(c.current=iE({window:l,v5Compat:!0}));let f=c.current,[p,h]=v.useState({action:f.action,location:f.location}),{v7_startTransition:g}=i||{},y=v.useCallback(x=>{g&&Bm?Bm(()=>h(x)):h(x)},[h,g]);return v.useLayoutEffect(()=>f.listen(y),[f,y]),v.useEffect(()=>QE(i),[i]),v.createElement(YE,{basename:r,children:o,location:p.location,navigationType:p.action,navigator:f,future:i})}const sk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ik=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Tr=v.forwardRef(function(r,o){let{onClick:i,relative:l,reloadDocument:c,replace:f,state:p,target:h,to:g,preventScrollReset:y,viewTransition:x}=r,S=ZE(r,tk),{basename:b}=v.useContext(dr),N,C=!1;if(typeof g=="string"&&ik.test(g)&&(N=g,sk))try{let A=new URL(window.location.href),D=g.startsWith("//")?new URL(A.protocol+g):new URL(g),$=Yu(D.pathname,b);D.origin===A.origin&&$!=null?g=$+D.search+D.hash:C=!0}catch{}let E=OE(g,{relative:l}),j=ak(g,{replace:f,state:p,target:h,preventScrollReset:y,relative:l,viewTransition:x});function _(A){i&&i(A),A.defaultPrevented||j(A)}return v.createElement("a",xu({},S,{href:N||E,onClick:C||c?i:_,ref:o,target:h}))});var Um;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Um||(Um={}));var Hm;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(Hm||(Hm={}));function ak(t,r){let{target:o,replace:i,state:l,preventScrollReset:c,relative:f,viewTransition:p}=r===void 0?{}:r,h=Kg(),g=fr(),y=Gg(t,{relative:f});return v.useCallback(x=>{if(ek(x,o)){x.preventDefault();let S=i!==void 0?i:wa(g)===wa(y);h(t,{replace:S,state:l,preventScrollReset:c,relative:f,viewTransition:p})}},[g,h,y,i,l,o,t,c,f,p])}var Hc,Wm;function lk(){if(Wm)return Hc;Wm=1;var t=typeof Element<"u",r=typeof Map=="function",o=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,f){if(c===f)return!0;
10if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var p,h,g;if(Array.isArray(c)){if(p=c.length,p!=f.length)return!1;for(h=p;h--!==0;)if(!l(c[h],f[h]))return!1;return!0}var y;if(r&&c instanceof Map&&f instanceof Map){if(c.size!==f.size)return!1;for(y=c.entries();!(h=y.next()).done;)if(!f.has(h.value[0]))return!1;for(y=c.entries();!(h=y.next()).done;)if(!l(h.value[1],f.get(h.value[0])))return!1;return!0}if(o&&c instanceof Set&&f instanceof Set){if(c.size!==f.size)return!1;for(y=c.entries();!(h=y.next()).done;)if(!f.has(h.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(f)){if(p=c.length,p!=f.length)return!1;for(h=p;h--!==0;)if(c[h]!==f[h])return!1;return!0}if(c.constructor===RegExp)return c.source===f.source&&c.flags===f.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof f.valueOf=="function")return c.valueOf()===f.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof f.toString=="function")return c.toString()===f.toString();if(g=Object.keys(c),p=g.length,p!==Object.keys(f).length)return!1;for(h=p;h--!==0;)if(!Object.prototype.hasOwnProperty.call(f,g[h]))return!1;if(t&&c instanceof Element)return!1;for(h=p;h--!==0;)if(!((g[h]==="_owner"||g[h]==="__v"||g[h]==="__o")&&c.$$typeof)&&!l(c[g[h]],f[g[h]]))return!1;return!0}return c!==c&&f!==f}return Hc=function(f,p){try{return l(f,p)}catch(h){if((h.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw h}},Hc}var ck=lk();const uk=Rs(ck);var Wc,Vm;function dk(){if(Vm)return Wc;Vm=1;var t=function(r,o,i,l,c,f,p,h){if(!r){var g;if(o===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var y=[i,l,c,f,p,h],x=0;g=new Error(o.replace(/%s/g,function(){return y[x++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}};return Wc=t,Wc}var fk=dk();const Km=Rs(fk);var Vc,Gm;function pk(){return Gm||(Gm=1,Vc=function(r,o,i,l){var c=i?i.call(l,r,o):void 0;if(c!==void 0)return!!c;if(r===o)return!0;if(typeof r!="object"||!r||typeof o!="object"||!o)return!1;var f=Object.keys(r),p=Object.keys(o);if(f.length!==p.length)return!1;for(var h=Object.prototype.hasOwnProperty.bind(o),g=0;g<f.length;g++){var y=f[g];if(!h(y))return!1;var x=r[y],S=o[y];if(c=i?i.call(l,x,S,y):void 0,c===!1||c===void 0&&x!==S)return!1}return!0}),Vc}var mk=pk();const hk=Rs(mk);var Xg=(t=>(t.BASE="base",t.BODY="body",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t.FRAGMENT="Symbol(react.fragment)",t))(Xg||{}),Kc={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},qm=Object.values(Xg),ed={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},gk=Object.entries(ed).reduce((t,[r,o])=>(t[o]=r,t),{}),Yt="data-rh",go={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},vo=(t,r)=>{for(let o=t.length-1;o>=0;o-=1){const i=t[o];if(Object.prototype.hasOwnProperty.call(i,r))return i[r]}return null},vk=t=>{let r=vo(t,"title");const o=vo(t,go.TITLE_TEMPLATE);if(Array.isArray(r)&&(r=r.join("")),o&&r)return o.replace(/%s/g,()=>r);const i=vo(t,go.DEFAULT_TITLE);return r||i||void 0},yk=t=>vo(t,go.ON_CHANGE_CLIENT_STATE)||(()=>{}),Gc=(t,r)=>r.filter(o=>typeof o[t]<"u").map(o=>o[t]).reduce((o,i)=>({...o,...i}),{}),xk=(t,r)=>r.filter(o=>typeof o.base<"u").map(o=>o.base).reverse().reduce((o,i)=>{if(!o.length){const l=Object.keys(i);for(let c=0;c<l.length;c+=1){const p=l[c].toLowerCase();if(t.indexOf(p)!==-1&&i[p])return o.concat(i)}}return o},[]),wk=t=>console&&typeof console.warn=="function"&&console.warn(t),vs=(t,r,o)=>{const i={};return o.filter(l=>Array.isArray(l[t])?!0:(typeof l[t]<"u"&&wk(`Helmet: ${t} should be of type "Array". Instead found type "${typeof l[t]}"`),!1)).map(l=>l[t]).reverse().reduce((l,c)=>{const f={};c.filter(h=>{let g;const y=Object.keys(h);for(let S=0;S<y.length;S+=1){const b=y[S],N=b.toLowerCase();r.indexOf(N)!==-1&&!(g==="rel"&&h[g].toLowerCase()==="canonical")&&!(N==="rel"&&h[N].toLowerCase()==="stylesheet")&&(g=N),r.indexOf(b)!==-1&&(b==="innerHTML"||b==="cssText"||b==="itemprop")&&(g=b)}if(!g||!h[g])return!1;const x=h[g].toLowerCase();return i[g]||(i[g]={}),f[g]||(f[g]={}),i[g][x]?!1:(f[g][x]=!0,!0)}
10).reverse().forEach(h=>l.push(h));const p=Object.keys(f);for(let h=0;h<p.length;h+=1){const g=p[h],y={...i[g],...f[g]};i[g]=y}return l},[]).reverse()},bk=(t,r)=>{if(Array.isArray(t)&&t.length){for(let o=0;o<t.length;o+=1)if(t[o][r])return!0}return!1},Sk=t=>({baseTag:xk(["href"],t),bodyAttributes:Gc("bodyAttributes",t),defer:vo(t,go.DEFER),encode:vo(t,go.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Gc("htmlAttributes",t),linkTags:vs("link",["rel","href"],t),metaTags:vs("meta",["name","charset","http-equiv","property","itemprop"],t),noscriptTags:vs("noscript",["innerHTML"],t),onChangeClientState:yk(t),scriptTags:vs("script",["src","innerHTML"],t),styleTags:vs("style",["cssText"],t),title:vk(t),titleAttributes:Gc("titleAttributes",t),prioritizeSeoTags:bk(t,go.PRIORITIZE_SEO_TAGS)}),Zg=t=>Array.isArray(t)?t.join(""):t,Ck=(t,r)=>{const o=Object.keys(t);for(let i=0;i<o.length;i+=1)if(r[o[i]]&&r[o[i]].includes(t[o[i]]))return!0;return!1},qc=(t,r)=>Array.isArray(t)?t.reduce((o,i)=>(Ck(i,r)?o.priority.push(i):o.default.push(i),o),{priority:[],default:[]}):{default:t,priority:[]},Qm=(t,r)=>({...t,[r]:void 0}),Ek=["noscript","script","style"],wu=(t,r=!0)=>r===!1?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),Jg=t=>Object.keys(t).reduce((r,o)=>{const i=typeof t[o]<"u"?`${o}="${t[o]}"`:`${o}`;return r?`${r} ${i}`:i},""),kk=(t,r,o,i)=>{const l=Jg(o),c=Zg(r);return l?`<${t} ${Yt}="true" ${l}>${wu(c,i)}</${t}>`:`<${t} ${Yt}="true">${wu(c,i)}</${t}>`},Nk=(t,r,o=!0)=>r.reduce((i,l)=>{const c=l,f=Object.keys(c).filter(g=>!(g==="innerHTML"||g==="cssText")).reduce((g,y)=>{const x=typeof c[y]>"u"?y:`${y}="${wu(c[y],o)}"`;return g?`${g} ${x}`:x},""),p=c.innerHTML||c.cssText||"",h=Ek.indexOf(t)===-1;return`${i}<${t} ${Yt}="true" ${f}${h?"/>":`>${p}</${t}>`}`},""),ev=(t,r={})=>Object.keys(t).reduce((o,i)=>{const l=ed[i];return o[l||i]=t[i],o},r),Tk=(t,r,o)=>{const i={key:r,[Yt]:!0},l=ev(o,i);return[G.createElement("title",l,r)]},fa=(t,r)=>r.map((o,i)=>{const l={key:i,[Yt]:!0};return Object.keys(o).forEach(c=>{const p=ed[c]||c;if(p==="innerHTML"||p==="cssText"){const h=o.innerHTML||o.cssText;l.dangerouslySetInnerHTML={__html:h}}else l[p]=o[c]}),G.createElement(t,l)}),Dt=(t,r,o=!0)=>{switch(t){case"title":return{toComponent:()=>Tk(t,r.title,r.titleAttributes),toString:()=>kk(t,r.title,r.titleAttributes,o)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>ev(r),toString:()=>Jg(r)};default:return{toComponent:()=>fa(t,r),toString:()=>Nk(t,r,o)}}},Pk=({metaTags:t,linkTags:r,scriptTags:o,encode:i})=>{const l=qc(t,Kc.meta),c=qc(r,Kc.link),f=qc(o,Kc.script);return{priorityMethods:{toComponent:()=>[...fa("meta",l.priority),...fa("link",c.priority),...fa("script",f.priority)],toString:()=>`${Dt("meta",l.priority,i)} ${Dt("link",c.priority,i)} ${Dt("script",f.priority,i)}`},metaTags:l.default,linkTags:c.default,scriptTags:f.default}},jk=t=>{const{baseTag:r,bodyAttributes:o,encode:i=!0,htmlAttributes:l,noscriptTags:c,styleTags:f,title:p="",titleAttributes:h,prioritizeSeoTags:g}=t;let{linkTags:y,metaTags:x,scriptTags:S}=t,b={toComponent:()=>{},toString:()=>""};return g&&({priorityMethods:b,linkTags:y,metaTags:x,scriptTags:S}=Pk(t)),{priority:b,base:Dt("base",r,i),bodyAttributes:Dt("bodyAttributes",o,i),htmlAttributes:Dt("htmlAttributes",l,i),link:Dt("link",y,i),meta:Dt("meta",x,i),noscript:Dt("noscript",c,i),script:Dt("script",S,i),style:Dt("style",f,i),title:Dt("title",{title:p,titleAttributes:h},i)}},bu=jk,ra=[],tv=!!(typeof window<"u"&&window.document&&window.document.createElement),Su=class{instances=[];canUseDOM=tv;context;value={setHelmet:t=>{this.context.helmet=t},helmetInstances:{get:()=>this.canUseDOM?ra:this.instances,add:t=>{(this.canUseDOM?ra:this.instances).push(t)},remove:t=>{const r=(this.canUseDOM?ra:this.instances).indexOf(t);(this.canUseDOM?ra:this.instances).splice(r,1)}}};constructor(t,r){this.context=t,this.canUseDOM=r||!1,r||(t.helmet=bu({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},Rk={},nv=G.createContext(Rk),rv=class ov extends v.Component{static canUseDOM=tv;helmetData;constructor(r){super(r),this.helmetData=new Su(this.props.context||{},ov.canUseDOM)}render(){return G.createElement(nv.Provider,{value:this.helmetData.value},this.props.children)}},io=(t,r)=>{const o=document.head||document.querySelector("head"),i=o.querySelectorAll(`${t}[${Yt}]`),l=[].slice.call(i),c=[];let f;return r&&r.length&&r.forEach(p=>{const h=document.createElement(t);for(const g in p)if(Object.prototype.hasOwnProperty.call(p,g))if(g==="innerHTML")h.innerHTML=p.innerHTML;else if(g==="cssText")h.styleSheet?h.styleSheet.cssText=p.cssText:h.appendChild(document.createTextNode(p.cssText));else{const y=g,x=typeof p[y]>"u"?"":p[y];h.setAttribute(g,x)}h.setAttribute(Yt,"true"),l.some((g,y)=>(f=y,h.isEqualNode(g)))?l.splice(f,1):c.push(h)}),l.forEach(p=>
10p.parentNode?.removeChild(p)),c.forEach(p=>o.appendChild(p)),{oldTags:l,newTags:c}},Cu=(t,r)=>{const o=document.getElementsByTagName(t)[0];if(!o)return;const i=o.getAttribute(Yt),l=i?i.split(","):[],c=[...l],f=Object.keys(r);for(const p of f){const h=r[p]||"";o.getAttribute(p)!==h&&o.setAttribute(p,h),l.indexOf(p)===-1&&l.push(p);const g=c.indexOf(p);g!==-1&&c.splice(g,1)}for(let p=c.length-1;p>=0;p-=1)o.removeAttribute(c[p]);l.length===c.length?o.removeAttribute(Yt):o.getAttribute(Yt)!==f.join(",")&&o.setAttribute(Yt,f.join(","))},Ak=(t,r)=>{typeof t<"u"&&document.title!==t&&(document.title=Zg(t)),Cu("title",r)},Ym=(t,r)=>{const{baseTag:o,bodyAttributes:i,htmlAttributes:l,linkTags:c,metaTags:f,noscriptTags:p,onChangeClientState:h,scriptTags:g,styleTags:y,title:x,titleAttributes:S}=t;Cu("body",i),Cu("html",l),Ak(x,S);const b={baseTag:io("base",o),linkTags:io("link",c),metaTags:io("meta",f),noscriptTags:io("noscript",p),scriptTags:io("script",g),styleTags:io("style",y)},N={},C={};Object.keys(b).forEach(E=>{const{newTags:j,oldTags:_}=b[E];j.length&&(N[E]=j),_.length&&(C[E]=b[E].oldTags)}),r&&r(),h(t,N,C)},ys=null,_k=t=>{ys&&cancelAnimationFrame(ys),t.defer?ys=requestAnimationFrame(()=>{Ym(t,()=>{ys=null})}):(Ym(t),ys=null)},Mk=_k,Xm=class extends v.Component{rendered=!1;shouldComponentUpdate(t){return!hk(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:r}=this.props.context;let o=null;const i=Sk(t.get().map(l=>{const c={...l.props};return delete c.context,c}));rv.canUseDOM?Mk(i):bu&&(o=bu(i)),r(o)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Ok=class extends v.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(t){return!uk(Qm(this.props,"helmetData"),Qm(t,"helmetData"))}mapNestedChildrenToProps(t,r){if(!r)return null;switch(t.type){case"script":case"noscript":return{innerHTML:r};case"style":return{cssText:r};default:throw new Error(`<${t.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(t,r,o,i){return{...r,[t.type]:[...r[t.type]||[],{...o,...this.mapNestedChildrenToProps(t,i)}]}}mapObjectTypeChildren(t,r,o,i){switch(t.type){case"title":return{...r,[t.type]:i,titleAttributes:{...o}};case"body":return{...r,bodyAttributes:{...o}};case"html":return{...r,htmlAttributes:{...o}};default:return{...r,[t.type]:{...o}}}}mapArrayTypeChildrenToProps(t,r){let o={...r};return Object.keys(t).forEach(i=>{o={...o,[i]:t[i]}}),o}warnOnInvalidChildren(t,r){return Km(qm.some(o=>t.type===o),typeof t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${qm.join(", ")} are allowed. Helmet does not support rendering <${t.type}> elements. Refer to our API for more information.`),Km(!r||typeof r=="string"||Array.isArray(r)&&!r.some(o=>typeof o!="string"),`Helmet expects a string as a child of <${t.type}>. Did you forget to wrap your children in braces? ( <${t.type}>{\`\`}</${t.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(t,r){let o={};return G.Children.forEach(t,i=>{if(!i||!i.props)return;const{children:l,...c}=i.props,f=Object.keys(c).reduce((h,g)=>(h[gk[g]||g]=c[g],h),{});let{type:p}=i;
10switch(typeof p=="symbol"?p=p.toString():this.warnOnInvalidChildren(i,l),p){case"Symbol(react.fragment)":r=this.mapChildrenToProps(l,r);break;case"link":case"meta":case"noscript":case"script":case"style":o=this.flattenArrayTypeChildren(i,o,f,l);break;default:r=this.mapObjectTypeChildren(i,r,f,l);break}}),this.mapArrayTypeChildrenToProps(o,r)}render(){const{children:t,...r}=this.props;let o={...r},{helmetData:i}=r;if(t&&(o=this.mapChildrenToProps(t,o)),i&&!(i instanceof Su)){const l=i;i=new Su(l.context,!0),delete o.helmetData}return i?G.createElement(Xm,{...o,context:i.value}):G.createElement(nv.Consumer,null,l=>G.createElement(Xm,{...o,context:l}))}};const Ik=$h("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-semibold ring-offset-background transition-all duration-300 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 hover:scale-105",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border-2 border-border bg-transparent text-foreground hover:bg-card hover:border-primary/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 hover:scale-105",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline hover:text-primary/80"},size:{default:"h-11 px-6 py-2",sm:"h-9 rounded-lg px-4",lg:"h-14 roun
10ded-xl px-10 text-base",icon:"h-11 w-11"}},defaultVariants:{variant:"default",size:"default"}}),Jt=v.forwardRef(({className:t,variant:r,size:o,asChild:i=!1,...l},c)=>{const f=i?yw:"button";return d.jsx(f,{className:Ee(Ik({variant:r,size:o,className:t})),ref:c,...l})});Jt.displayName="Button";class Dk extends v.Component{constructor(r){super(r),this.state={hasError:!1,error:null}}static getDerivedStateFromError(r){return{hasError:!0,error:r}}componentDidCatch(r,o){console.error("ErrorBoundary caught:",r,o)}handleReset=()=>{this.setState({hasError:!1,error:null}),window.location.href="/"};render(){return this.state.hasError?d.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center px-4",children:d.jsxs("div",{className:"text-center max-w-md space-y-6",children:[d.jsx("div",{className:"inline-flex p-4 rounded-full bg-destructive/10",children:d.jsx(A1,{className:"h-10 w-10 text-destructive"})}),d.jsx("h1",{className:"text-2xl font-bold text-foreground",children:"Something went wrong"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"An unexpected error occurred. Please try refreshing the page or go back to the homepage."}),d.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[d.jsx(Jt,{onClick:()=>window.location.reload(),children:"Refresh Page"}),d.jsx(Jt,{variant:"outline",onClick:this.handleReset,children:"Go to Homepage"})]})]})}):this.props.children}}var Lk=v.createContext(void 0);function td(t){const r=v.useContext(Lk);return t||r||"ltr"}var Qc=0;function sv(){v.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??Zm()),document.body.insertAdjacentElement("beforeend",t[1]??Zm()),Qc++,()=>{Qc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Qc--}},[])}function Zm(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Yc="focusScope.autoFocusOnMount",Xc="focusScope.autoFocusOnUnmount",Jm={bubbles:!1,cancelable:!0},Fk="FocusScope",nd=v.forwardRef((t,r)=>{const{loop:o=!1,trapped:i=!1,onMountAutoFocus:l,onUnmountAutoFocus:c,...f}=t,[p,h]=v.useState(null),g=Ke(l),y=Ke(c),x=v.useRef(null),S=_e(r,C=>h(C)),b=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(i){let C=function(A){if(b.paused||!p)return;const D=A.target;p.contains(D)?x.current=D:sr(x.current,{select:!0})},E=function(A){if(b.paused||!p)return;const D=A.relatedTarget;D!==null&&(p.contains(D)||sr(x.current,{select:!0}))},j=function(A){if(document.activeElement===document.body)for(const $ of A)$.removedNodes.length>0&&sr(p)};document.addEventListener("focusin",C),document.addEventListener("focusout",E);const _=new MutationObserver(j);return p&&_.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",C),document.removeEventListener("focusout",E),_.disconnect()}}},[i,p,b.paused]),v.useEffect(()=>{if(p){th.add(b);const C=document.activeElement;if(!p.contains(C)){const j=new CustomEvent(Yc,Jm);p.addEventListener(Yc,g),p.dispatchEvent(j),j.defaultPrevented||(zk(Wk(iv(p)),{select:!0}),document.activeElement===C&&sr(p))}return()=>{p.removeEventListener(Yc,g),setTimeout(()=>{const j=new CustomEvent(Xc,Jm);p.addEventListener(Xc,y),p.dispatchEvent(j),j.defaultPrevented||sr(C??document.body,{select:!0}),p.removeEventListener(Xc,y),th.remove(b)},0)}}},[p,g,y,b]);const N=v.useCallback(C=>{if(!o&&!i||b.paused)return;const E=C.key==="Tab"&&!C.altKey&&!C.ctrlKey&&!C.metaKey,j=document.activeElement;if(E&&j){const _=C.currentTarget,[A,D]=$k(_);A&&D?!C.shiftKey&&j===D?(C.preventDefault(),o&&sr(A,{select:!0})):C.shiftKey&&j===A&&(C.preventDefault(),o&&sr(D,{select:!0})):j===_&&C.preventDefault()}},[o,i,b.paused]);return d.jsx(ke.div,{tabIndex:-1,...f,ref:S,onKeyDown:N})});nd.displayName=Fk;function zk(t,{select:r=!1}={}){const o=document.activeElement;for(const i of t)if(sr(i,{select:r}),document.activeElement!==o)return}function $k(t){const r=iv(t),o=eh(r,t),i=eh(r.reverse(),t);return[o,i]}function iv(t){const r=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const l=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||l?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)r.push(o.currentNode);return r}function eh(t,r){for(const o of t)if(!Bk(o,{upTo:r}))return o}function Bk(t,{upTo:r}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(r!==void 0&&t===r)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Uk(t){return t instanceof HTMLInputElement&&"select"in t}function sr(t,{select:r=!1}={}){if(t&&t.focus){const o=document.activeElement;t.focus({preventScroll:!0}),t!==o&&Uk(t)&&r&&t.select()}}var th=Hk();function Hk(){let t=[];return{add(r){const o=t[0];r!==o&&o?.pause(),t=nh(t,r),t.unshift(r)},remove(r){t=nh(t,r),t[0]?.resume()}}}function nh(t,r){const o=[...t],i=o.indexOf(r);return i!==-1&&o.splice(i,1),o}function Wk(t){return t.filter(r=>r.tagName!=="A")}var Zc="rovingFocusGroup.onEntryFocus",Vk={bubbles:!1,cancelable:!0}
vendor: 4,398 bytes, line 10
10,Os="RovingFocusGroup",[Eu,av,Kk]=Ru(Os),[Gk,lv]=Mn(Os,[Kk]),[qk,Qk]=Gk(Os),cv=v.forwardRef((t,r)=>d.jsx(Eu.Provider,{scope:t.__scopeRovingFocusGroup,children:d.jsx(Eu.Slot,{scope:t.__scopeRovingFocusGroup,children:d.jsx(Yk,{...t,ref:r})})}));cv.displayName=Os;var Yk=v.forwardRef((t,r)=>{const{__scopeRovingFocusGroup:o,orientation:i,loop:l=!1,dir:c,currentTabStopId:f,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:h,onEntryFocus:g,preventScrollOnEntryFocus:y=!1,...x}=t,S=v.useRef(null),b=_e(r,S),N=td(c),[C,E]=ja({prop:f,defaultProp:p??null,onChange:h,caller:Os}),[j,_]=v.useState(!1),A=Ke(g),D=av(o),$=v.useRef(!1),[W,V]=v.useState(0);return v.useEffect(()=>{const X=S.current;if(X)return X.addEventListener(Zc,A),()=>X.removeEventListener(Zc,A)},[A]),d.jsx(qk,{scope:o,orientation:i,dir:N,loop:l,currentTabStopId:C,onItemFocus:v.useCallback(X=>E(X),[E]),onItemShiftTab:v.useCallback(()=>_(!0),[]),onFocusableItemAdd:v.useCallback(()=>V(X=>X+1),[]),onFocusableItemRemove:v.useCallback(()=>V(X=>X-1),[]),children:d.jsx(ke.div,{tabIndex:j||W===0?-1:0,"data-orientation":i,...x,ref:b,style:{outline:"none",...t.style},onMouseDown:ce(t.onMouseDown,()=>{$.current=!0}),onFocus:ce(t.onFocus,X=>{const J=!$.current;if(X.target===X.currentTarget&&J&&!j){const se=new CustomEvent(Zc,Vk);if(X.currentTarget.dispatchEvent(se),!se.defaultPrevented){const de=D().filter(re=>re.focusable),Z=de.find(re=>re.active),he=de.find(re=>re.id===C),ye=[Z,he,...de].filter(Boolean).map(re=>re.ref.current);fv(ye,y)}}$.current=!1}),onBlur:ce(t.onBlur,()=>_(!1))})})}),uv="RovingFocusGroupItem",dv=v.forwardRef((t,r)=>{const{__scopeRovingFocusGroup:o,focusable:i=!0,active:l=!1,tabStopId:c,children:f,...p}=t,h=mo(),g=c||h,y=Qk(uv,o),x=y.currentTabStopId===g,S=av(o),{onFocusableItemAdd:b,onFocusableItemRemove:N,currentTabStopId:C}=y;return v.useEffect(()=>{if(i)return b(),()=>N()},[i,b,N]),d.jsx(Eu.ItemSlot,{scope:o,id:g,focusable:i,active:l,children:d.jsx(ke.span,{tabIndex:x?0:-1,"data-orientation":y.orientation,...p,ref:r,onMouseDown:ce(t.onMouseDown,E=>{i?y.onItemFocus(g):E.preventDefault()}),onFocus:ce(t.onFocus,()=>y.onItemFocus(g)),onKeyDown:ce(t.onKeyDown,E=>{if(E.key==="Tab"&&E.shiftKey){y.onItemShiftTab();return}if(E.target!==E.currentTarget)return;const j=Jk(E,y.orientation,y.dir);if(j!==void 0){if(E.metaKey||E.ctrlKey||E.altKey||E.shiftKey)return;E.preventDefault();let A=S().filter(D=>D.focusable).map(D=>D.ref.current);if(j==="last")A.reverse();else if(j==="prev"||j==="next"){j==="prev"&&A.reverse();const D=A.indexOf(E.currentTarget);A=y.loop?e2(A,D+1):A.slice(D+1)}setTimeout(()=>fv(A))}}),children:typeof f=="function"?f({isCurrentTabStop:x,hasTabStop:C!=null}):f})})});dv.displayName=uv;var Xk={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Zk(t,r){return r!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function Jk(t,r,o){const i=Zk(t.key,o);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(i)))return Xk[i]}function fv(t,r=!1){const o=document.activeElement;for(const i of t)if(i===o||(i.focus({preventScroll:r}),document.activeElement!==o))return}function e2(t,r){return t.map((o,i)=>t[(r+i)%t.length])}var t2=cv,n2=dv,r2=function(t){if(typeof document>"u")return null;var r=Array.isArray(t)?t[0]:t;return r.ownerDocument.body},ao=new WeakMap,oa=new WeakMap,sa={},Jc=0,pv=function(t){return t&&(t.host||pv(t.parentNode))},o2=function(t,r){return r.map(function(o){if(t.contains(o))return o;var i=pv(o);return i&&t.contains(i)?i:(console.error("aria-hidden",o,"in not contained inside",t,". Doing nothing"),null)}).filter(function(o){return!!o})},s2=function(t,r,o,i){var l=o2(r,Array.isArray(t)?t:[t]);sa[o]||(sa[o]=new WeakMap);var c=sa[o],f=[],p=new Set,h=new Set(l),g=function(x){!x||p.has(x)||(p.add(x),g(x.parentNode))};l.forEach(g);var y=function(x){!x||h.has(x)||Array.prototype.forEach.call(x.children,function(S){if(p.has(S))y(S);else try{var b=S.getAttribute(i),N=b!==null&&b!=="false",C=(ao.get(S)||0)+1,E=(c.get(S)||0)+1;ao.set(S,C),c.set(S,E),f.push(S),C===1&&N&&oa.set(S,!0),E===1&&S.setAttribute(o,"true"),N||S.setAttribute(i,"true")}catch(j){console.error("aria-hidden: cannot operate on ",S,j)}})};return y(r),p.clear(),Jc++,function(){f.forEach(function(x){var S=ao.get(x)-1,b=c.get(x)-1;
vendor: 4,089 bytes, line 10
10ao.set(x,S),c.set(x,b),S||(oa.has(x)||x.removeAttribute(i),oa.delete(x)),b||x.removeAttribute(o)}),Jc--,Jc||(ao=new WeakMap,ao=new WeakMap,oa=new WeakMap,sa={})}},mv=function(t,r,o){o===void 0&&(o="data-aria-hidden");var i=Array.from(Array.isArray(t)?t:[t]),l=r2(t);return l?(i.push.apply(i,Array.from(l.querySelectorAll("[aria-live]"))),s2(i,l,o,"aria-hidden")):function(){return null}},mn=function(){return mn=Object.assign||function(r){for(var o,i=1,l=arguments.length;i<l;i++){o=arguments[i];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(r[c]=o[c])}return r},mn.apply(this,arguments)};function hv(t,r){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&r.indexOf(i)<0&&(o[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,i=Object.getOwnPropertySymbols(t);l<i.length;l++)r.indexOf(i[l])<0&&Object.prototype.propertyIsEnumerable.call(t,i[l])&&(o[i[l]]=t[i[l]]);return o}function i2(t,r,o){if(o||arguments.length===2)for(var i=0,l=r.length,c;i<l;i++)(c||!(i in r))&&(c||(c=Array.prototype.slice.call(r,0,i)),c[i]=r[i]);return t.concat(c||Array.prototype.slice.call(r))}var pa="right-scroll-bar-position",ma="width-before-scroll-bar",a2="with-scroll-bars-hidden",l2="--removed-body-scroll-bar-size";function eu(t,r){return typeof t=="function"?t(r):t&&(t.current=r),t}function c2(t,r){var o=v.useState(function(){return{value:t,callback:r,facade:{get current(){return o.value},set current(i){var l=o.value;l!==i&&(o.value=i,o.callback(i,l))}}}})[0];return o.callback=r,o.facade}var u2=typeof window<"u"?v.useLayoutEffect:v.useEffect,rh=new WeakMap;function d2(t,r){var o=c2(null,function(i){return t.forEach(function(l){return eu(l,i)})});return u2(function(){var i=rh.get(o);if(i){var l=new Set(i),c=new Set(t),f=o.current;l.forEach(function(p){c.has(p)||eu(p,null)}),c.forEach(function(p){l.has(p)||eu(p,f)})}rh.set(o,t)},[t]),o}function f2(t){return t}function p2(t,r){r===void 0&&(r=f2);var o=[],i=!1,l={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:t},useMedium:function(c){var f=r(c,i);return o.push(f),function(){o=o.filter(function(p){return p!==f})}},assignSyncMedium:function(c){for(i=!0;o.length;){var f=o;o=[],f.forEach(c)}o={push:function(p){return c(p)},filter:function(){return o}}},assignMedium:function(c){i=!0;var f=[];if(o.length){var p=o;o=[],p.forEach(c),f=o}var h=function(){var y=f;f=[],y.forEach(c)},g=function(){return Promise.resolve().then(h)};g(),o={push:function(y){f.push(y),g()},filter:function(y){return f=f.filter(y),o}}}};return l}function m2(t){t===void 0&&(t={});var r=p2(null);return r.options=mn({async:!0,ssr:!1},t),r}var gv=function(t){var r=t.sideCar,o=hv(t,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw new Error("Sidecar medium not found");return v.createElement(i,mn({},o))};gv.isSideCarExport=!0;function h2(t,r){return t.useMedium(r),gv}var vv=m2(),tu=function(){},Ua=v.forwardRef(function(t,r){var o=v.useRef(null),i=v.useState({onScrollCapture:tu,onWheelCapture:tu,onTouchMoveCapture:tu}),l=i[0],c=i[1],f=t.forwardProps,p=t.children,h=t.className,g=t.removeScrollBar,y=t.enabled,x=t.shards,S=t.sideCar,b=t.noRelative,N=t.noIsolation,C=t.inert,E=t.allowPinchZoom,j=t.as,_=j===void 0?"div":j,A=t.gapMode,D=hv(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),$=S,W=d2([o,r]),V=mn(mn({},D),l);return v.createElement(v.Fragment,null,y&&v.createElement($,{sideCar:vv,removeScrollBar:g,shards:x,noRelative:b,noIsolation:N,inert:C,setCallbacks:c,allowPinchZoom:!!E,lockRef:o,gapMode:A}),f?v.cloneElement(v.Children.only(p),mn(mn({},V),{ref:W})):v.createElement(_,mn({},V,{className:h,ref:W}),p))});Ua.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ua.classNames={fullWidth:ma,zeroRight:pa};var g2=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};
vendor: 4,901 bytes, lines 10-50
10function v2(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var r=g2();return r&&t.setAttribute("nonce",r),t}function y2(t,r){t.styleSheet?t.styleSheet.cssText=r:t.appendChild(document.createTextNode(r))}function x2(t){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(t)}var w2=function(){var t=0,r=null;return{add:function(o){t==0&&(r=v2())&&(y2(r,o),x2(r)),t++},remove:function(){t--,!t&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},b2=function(){var t=w2();return function(r,o){v.useEffect(function(){return t.add(r),function(){t.remove()}},[r&&o])}},yv=function(){var t=b2(),r=function(o){var i=o.styles,l=o.dynamic;return t(i,l),null};return r},S2={left:0,top:0,right:0,gap:0},nu=function(t){return parseInt(t||"",10)||0},C2=function(t){var r=window.getComputedStyle(document.body),o=r[t==="padding"?"paddingLeft":"marginLeft"],i=r[t==="padding"?"paddingTop":"marginTop"],l=r[t==="padding"?"paddingRight":"marginRight"];return[nu(o),nu(i),nu(l)]},E2=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return S2;var r=C2(t),o=document.documentElement.clientWidth,i=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,i-o+r[2]-r[0])}},k2=yv(),yo="data-scroll-locked",N2=function(t,r,o,i){var l=t.left,c=t.top,f=t.right,p=t.gap;return o===void 0&&(o="margin"),` 11 .`.concat(a2,` { 12 overflow: hidden `).concat(i,`; 13 padding-right: `).concat(p,"px ").concat(i,`; 14 } 15 body[`).concat(yo,`] { 16 overflow: hidden `).concat(i,`; 17 overscroll-behavior: contain; 18 `).concat([r&&"position: relative ".concat(i,";"),o==="margin"&&` 19 padding-left: `.concat(l,`px; 20 padding-top: `).concat(c,`px; 21 padding-right: `).concat(f,`px; 22 margin-left:0; 23 margin-top:0; 24 margin-right: `).concat(p,"px ").concat(i,`; 25 `),o==="padding"&&"padding-right: ".concat(p,"px ").concat(i,";")].filter(Boolean).join(""),` 26 } 27 28 .`).concat(pa,` { 29 right: `).concat(p,"px ").concat(i,`; 30 } 31 32 .`).concat(ma,` { 33 margin-right: `).concat(p,"px ").concat(i,`; 34 } 35 36 .`).concat(pa," .").concat(pa,` { 37 right: 0 `).concat(i,`; 38 } 39 40 .`).concat(ma," .").concat(ma,` { 41 margin-right: 0 `).concat(i,`; 42 } 43 44 body[`).concat(yo,`] { 45 `).concat(l2,": ").concat(p,`px; 46 } 47`)},oh=function(){var t=parseInt(document.body.getAttribute(yo)||"0",10);return isFinite(t)?t:0},T2=function(){v.useEffect(function(){return document.body.setAttribute(yo,(oh()+1).toString()),function(){var t=oh()-1;t<=0?document.body.removeAttribute(yo):document.body.setAttribute(yo,t.toString())}},[])},P2=function(t){var r=t.noRelative,o=t.noImportant,i=t.gapMode,l=i===void 0?"margin":i;T2();var c=v.useMemo(function(){return E2(l)},[l]);return v.createElement(k2,{styles:N2(c,!r,l,o?"":"!important")})},ku=!1;if(typeof window<"u")try{var ia=Object.defineProperty({},"passive",{get:function(){return ku=!0,!0}});window.addEventListener("test",ia,ia),window.removeEventListener("test",ia,ia)}catch{ku=!1}var lo=ku?{passive:!1}:!1,j2=function(t){return t.tagName==="TEXTAREA"},xv=function(t,r){if(!(t instanceof Element))return!1;var o=window.getComputedStyle(t);return o[r]!=="hidden"&&!(o.overflowY===o.overflowX&&!j2(t)&&o[r]==="visible")},R2=function(t){return xv(t,"overflowY")},A2=function(t){return xv(t,"overflowX")},sh=function(t,r){var o=r.ownerDocument,i=r;do{typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&(i=i.host);var l=wv(t,i);if(l){var c=bv(t,i),f=c[1],p=c[2];if(f>p)return!0}i=i.parentNode}while(i&&i!==o.body);return!1},_2=function(t){var r=t.scrollTop,o=t.scrollHeight,i=t.clientHeight;return[r,o,i]},M2=function(t){var r=t.scrollLeft,o=t.scrollWidth,i=t.clientWidth;return[r,o,i]},wv=function(t,r){return t==="v"?R2(r):A2(r)},bv=function(t,r){return t==="v"?_2(r):M2(r)},O2=function(t,r){return t==="h"&&r==="rtl"?-1:1},I2=function(t,r,o,i,l){var c=O2(t,window.getComputedStyle(r).direction),f=c*i,p=o.target,h=r.contains(p),g=!1,y=f>0,x=0,S=0;do{if(!p)break;var b=bv(t,p),N=b[0],C=b[1],E=b[2],j=C-E-c*N;(N||j)&&wv(t,p)&&(x+=j,S+=N);var _=p.parentNode;p=_&&_.nodeType===Node.DOCUMENT_FRAGMENT_NODE?_.host:_}while(!h&&p!==document.body||h&&(r.contains(p)||r===p));return(y&&Math.abs(x)<1||!y&&Math.abs(S)<1)&&(g=!0),g},aa=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},ih=function(t){return[t.deltaX,t.deltaY]},ah=function(t){return t&&"current"in t?t.current:t},D2=function(t,r){return t[0]===r[0]&&t[1]===r[1]},L2=function(t){return` 48 .block-interactivity-`.concat(t,` {pointer-events: none;} 49 .allow-interactivity-`).concat(t,` {pointer-events: all;} 50`)},F2=0,co=[];function z2(t){var r=v.useRef([]),o=v.useRef([0,0]),i=v.useRef(),l=v.useState(F2++)[0],c=v.useState(yv)[0],f=v.useRef(t);v.useEffect(function(){f.current=t},[t]),v.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(l));
vendor: 20,246 bytes, line 50
50var C=i2([t.lockRef.current],(t.shards||[]).map(ah),!0).filter(Boolean);return C.forEach(function(E){return E.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),C.forEach(function(E){return E.classList.remove("allow-interactivity-".concat(l))})}}},[t.inert,t.lockRef.current,t.shards]);var p=v.useCallback(function(C,E){if("touches"in C&&C.touches.length===2||C.type==="wheel"&&C.ctrlKey)return!f.current.allowPinchZoom;var j=aa(C),_=o.current,A="deltaX"in C?C.deltaX:_[0]-j[0],D="deltaY"in C?C.deltaY:_[1]-j[1],$,W=C.target,V=Math.abs(A)>Math.abs(D)?"h":"v";if("touches"in C&&V==="h"&&W.type==="range")return!1;var X=sh(V,W);if(!X)return!0;if(X?$=V:($=V==="v"?"h":"v",X=sh(V,W)),!X)return!1;if(!i.current&&"changedTouches"in C&&(A||D)&&(i.current=$),!$)return!0;var J=i.current||$;return I2(J,E,C,J==="h"?A:D)},[]),h=v.useCallback(function(C){var E=C;if(!(!co.length||co[co.length-1]!==c)){var j="deltaY"in E?ih(E):aa(E),_=r.current.filter(function($){return $.name===E.type&&($.target===E.target||E.target===$.shadowParent)&&D2($.delta,j)})[0];if(_&&_.should){E.cancelable&&E.preventDefault();return}if(!_){var A=(f.current.shards||[]).map(ah).filter(Boolean).filter(function($){return $.contains(E.target)}),D=A.length>0?p(E,A[0]):!f.current.noIsolation;D&&E.cancelable&&E.preventDefault()}}},[]),g=v.useCallback(function(C,E,j,_){var A={name:C,delta:E,target:j,should:_,shadowParent:$2(j)};r.current.push(A),setTimeout(function(){r.current=r.current.filter(function(D){return D!==A})},1)},[]),y=v.useCallback(function(C){o.current=aa(C),i.current=void 0},[]),x=v.useCallback(function(C){g(C.type,ih(C),C.target,p(C,t.lockRef.current))},[]),S=v.useCallback(function(C){g(C.type,aa(C),C.target,p(C,t.lockRef.current))},[]);v.useEffect(function(){return co.push(c),t.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:S}),document.addEventListener("wheel",h,lo),document.addEventListener("touchmove",h,lo),document.addEventListener("touchstart",y,lo),function(){co=co.filter(function(C){return C!==c}),document.removeEventListener("wheel",h,lo),document.removeEventListener("touchmove",h,lo),document.removeEventListener("touchstart",y,lo)}},[]);var b=t.removeScrollBar,N=t.inert;return v.createElement(v.Fragment,null,N?v.createElement(c,{styles:L2(l)}):null,b?v.createElement(P2,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function $2(t){for(var r=null;t!==null;)t instanceof ShadowRoot&&(r=t.host,t=t.host),t=t.parentNode;return r}const B2=h2(vv,z2);var rd=v.forwardRef(function(t,r){return v.createElement(Ua,mn({},t,{ref:r,sideCar:B2}))});rd.classNames=Ua.classNames;var Nu=["Enter"," "],U2=["ArrowDown","PageUp","Home"],Sv=["ArrowUp","PageDown","End"],H2=[...U2,...Sv],W2={ltr:[...Nu,"ArrowRight"],rtl:[...Nu,"ArrowLeft"]},V2={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Is="Menu",[Ps,K2,G2]=Ru(Is),[Rr,Cv]=Mn(Is,[G2,Da,lv]),Ha=Da(),Ev=lv(),[q2,Ar]=Rr(Is),[Q2,Ds]=Rr(Is),kv=t=>{const{__scopeMenu:r,open:o=!1,children:i,dir:l,onOpenChange:c,modal:f=!0}=t,p=Ha(r),[h,g]=v.useState(null),y=v.useRef(!1),x=Ke(c),S=td(l);return v.useEffect(()=>{const b=()=>{y.current=!0,document.addEventListener("pointerdown",N,{capture:!0,once:!0}),document.addEventListener("pointermove",N,{capture:!0,once:!0})},N=()=>y.current=!1;return document.addEventListener("keydown",b,{capture:!0}),()=>{document.removeEventListener("keydown",b,{capture:!0}),document.removeEventListener("pointerdown",N,{capture:!0}),document.removeEventListener("pointermove",N,{capture:!0})}},[]),d.jsx(gC,{...p,children:d.jsx(q2,{scope:r,open:o,onOpenChange:x,content:h,onContentChange:g,children:d.jsx(Q2,{scope:r,onClose:v.useCallback(()=>x(!1),[x]),isUsingKeyboardRef:y,dir:S,modal:f,children:i})})})};kv.displayName=Is;var Y2="MenuAnchor",od=v.forwardRef((t,r)=>{const{__scopeMenu:o,...i}=t,l=Ha(o);return d.jsx(Sg,{...l,...i,ref:r})});od.displayName=Y2;var sd="MenuPortal",[X2,Nv]=Rr(sd,{forceMount:void 0}),Tv=t=>{const{__scopeMenu:r,forceMount:o,children:i,container:l}=t,c=Ar(sd,r);return d.jsx(X2,{scope:r,forceMount:o,children:d.jsx(wt,{present:o||c.open,children:d.jsx(Pa,{asChild:!0,container:l,children:i})})})};Tv.displayName=sd;var Lt="MenuContent",[Z2,id]=Rr(Lt),Pv=v.forwardRef((t,r)=>{const o=Nv(Lt,t.__scopeMenu),{forceMount:i=o.forceMount,...l}=t,c=Ar(Lt,t.__scopeMenu),f=Ds(Lt,t.__scopeMenu);return d.jsx(Ps.Provider,{scope:t.__scopeMenu,children:d.jsx(wt,{present:i||c.open,children:d.jsx(Ps.Slot,{scope:t.__scopeMenu,children:f.modal?d.jsx(J2,{...l,ref:r}):d.jsx(eN,{...l,ref:r})})})})}),J2=v.forwardRef((t,r)=>{const o=Ar(Lt,t.__scopeMenu),i=v.useRef(null),l=_e(r,i);return v.useEffect(()=>{const c=i.current;if(c)return mv(c)},[]),d.jsx(ad,{...t,ref:l,trapFocus:o.open,disableOutsidePointerEvents:o.open,disableOutsideScroll:!0,onFocusOutside:ce(t.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>o.onOpenChange(!1)})}),eN=v.forwardRef((t,r)=>{const o=Ar(Lt,t.__scopeMenu);return d.jsx(ad,{...t,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>o.onOpenChange(!1)})}),tN=xo("MenuContent.ScrollLock"),ad=v.forwardRef((t,r)=>{const{__scopeMenu:o,loop:i=!1,trapFocus:l,onOpenAutoFocus:c,onCloseAutoFocus:f,disableOutsidePointerEvents:p,onEntryFocus:h,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:x,onInteractOutside:S,onDismiss:b,disableOutsideScroll:N,...C}=t,E=Ar(Lt,o),j=Ds(Lt,o),_=Ha(o),A=Ev(o),D=K2(o),[$,W]=v.useState(null),V=v.useRef(null),X=_e(r,V,E.onContentChange),J=v.useRef(0),se=v.useRef(""),de=v.useRef(0),Z=v.useRef(null),he=v.useRef("right"),Q=v.useRef(0),ye=N?rd:v.Fragment,re=N?{as:tN,allowPinchZoom:!0}:void 0,ae=I=>{const U=se.current+I,P=D().filter(ne=>!ne.disabled),F=document.activeElement,Y=P.find(ne=>ne.ref.current===F)?.textValue,ee=P.map(ne=>ne.textValue),fe=pN(ee,U,Y),ge=P.find(ne=>ne.textValue===fe)?.ref.current;(function ne(be){se.current=be,window.clearTimeout(J.current),be!==""&&(J.current=window.setTimeout(()=>ne(""),1e3))})(U),ge&&setTimeout(()=>ge.focus())};v.useEffect(()=>()=>window.clearTimeout(J.current),[]),sv();const z=v.useCallback(I=>he.current===Z.current?.side&&hN(I,Z.current?.area),[]);return d.jsx(Z2,{scope:o,searchRef:se,onItemEnter:v.useCallback(I=>{z(I)&&I.preventDefault()},[z]),onItemLeave:v.useCallback(I=>{z(I)||(V.current?.focus(),W(null))},[z]),onTriggerLeave:v.useCallback(I=>{z(I)&&I.preventDefault()},[z]),pointerGraceTimerRef:de,onPointerGraceIntentChange:v.useCallback(I=>{Z.current=I},[]),children:d.jsx(ye,{...re,children:d.jsx(nd,{asChild:!0,trapped:l,onMountAutoFocus:ce(c,I=>{I.preventDefault(),V.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:f,children:d.jsx(As,{asChild:!0,disableOutsidePointerEvents:p,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:x,onInteractOutside:S,onDismiss:b,children:d.jsx(t2,{asChild:!0,...A,dir:j.dir,orientation:"vertical",loop:i,currentTabStopId:$,onCurrentTabStopIdChange:W,onEntryFocus:ce(h,I=>{j.isUsingKeyboardRef.current||I.preventDefault()}),preventScrollOnEntryFocus:!0,children:d.jsx(Cg,{role:"menu","aria-orientation":"vertical","data-state":Wv(E.open),"data-radix-menu-content":"",dir:j.dir,..._,...C,ref:X,style:{outline:"none",...C.style},onKeyDown:ce(C.onKeyDown,I=>{const P=I.target.closest("[data-radix-menu-content]")===I.currentTarget,F=I.ctrlKey||I.altKey||I.metaKey,Y=I.key.length===1;P&&(I.key==="Tab"&&I.preventDefault(),!F&&Y&&ae(I.key));const ee=V.current;if(I.target!==ee||!H2.includes(I.key))return;I.preventDefault();const ge=D().filter(ne=>!ne.disabled).map(ne=>ne.ref.current);Sv.includes(I.key)&&ge.reverse(),dN(ge)}),onBlur:ce(t.onBlur,I=>{I.currentTarget.contains(I.target)||(window.clearTimeout(J.current),se.current="")}),onPointerMove:ce(t.onPointerMove,js(I=>{const U=I.target,P=Q.current!==I.clientX;if(I.currentTarget.contains(U)&&P){const F=I.clientX>Q.current?"right":"left";he.current=F,Q.current=I.clientX}}))})})})})})})});Pv.displayName=Lt;var nN="MenuGroup",ld=v.forwardRef((t,r)=>{const{__scopeMenu:o,...i}=t;return d.jsx(ke.div,{role:"group",...i,ref:r})});ld.displayName=nN;var rN="MenuLabel",jv=v.forwardRef((t,r)=>{const{__scopeMenu:o,...i}=t;return d.jsx(ke.div,{...i,ref:r})});jv.displayName=rN;var ba="MenuItem",lh="menu.itemSelect",Wa=v.forwardRef((t,r)=>{const{disabled:o=!1,onSelect:i,...l}=t,c=v.useRef(null),f=Ds(ba,t.__scopeMenu),p=id(ba,t.__scopeMenu),h=_e(r,c),g=v.useRef(!1),y=()=>{const x=c.current;if(!o&&x){const S=new CustomEvent(lh,{bubbles:!0,cancelable:!0});x.addEventListener(lh,b=>i?.(b),{once:!0}),Au(x,S),S.defaultPrevented?g.current=!1:f.onClose()}};return d.jsx(Rv,{...l,ref:h,disabled:o,onClick:ce(t.onClick,y),onPointerDown:x=>{t.onPointerDown?.(x),g.current=!0},onPointerUp:ce(t.onPointerUp,x=>{g.current||x.currentTarget?.click()}),onKeyDown:ce(t.onKeyDown,x=>{const S=p.searchRef.current!=="";o||S&&x.key===" "||Nu.includes(x.key)&&(x.currentTarget.click(),x.preventDefault())})})});Wa.displayName=ba;var Rv=v.forwardRef((t,r)=>{const{__scopeMenu:o,disabled:i=!1,textValue:l,...c}=t,f=id(ba,o),p=Ev(o),h=v.useRef(null),g=_e(r,h),[y,x]=v.useState(!1),[S,b]=v.useState("");return v.useEffect(()=>{const N=h.current;N&&b((N.textContent??"").trim())},[c.children]),d.jsx(Ps.ItemSlot,{scope:o,disabled:i,textValue:l??S,children:d.jsx(n2,{asChild:!0,...p,focusable:!i,children:d.jsx(ke.div,{role:"menuitem","data-highlighted":y?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...c,ref:g,onPointerMove:ce(t.onPointerMove,js(N=>{i?f.onItemLeave(N):(f.onItemEnter(N),N.defaultPrevented||N.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:ce(t.onPointerLeave,js(N=>f.onItemLeave(N))),onFocus:ce(t.onFocus,()=>x(!0)),onBlur:ce(t.onBlur,()=>x(!1))})})})}),oN="MenuCheckboxItem",Av=v.forwardRef((t,r)=>{const{checked:o=!1,onCheckedChange:i,...l}=t;return d.jsx(Dv,{scope:t.__scopeMenu,checked:o,children:d.jsx(Wa,{role:"menuitemcheckbox","aria-checked":Sa(o)?"mixed":o,...l,ref:r,"data-state":ud(o),onSelect:ce(l.onSelect,()=>i?.(Sa(o)?!0:!o),{checkForDefaultPrevented:!1})})})});Av.displayName=oN;var _v="MenuRadioGroup",[sN,iN]=Rr(_v,{value:void 0,onValueChange:()=>{}}),Mv=v.forwardRef((t,r)=>{const{value:o,onValueChange:i,...l}=t,c=Ke(i);return d.jsx(sN,{scope:t.__scopeMenu,value:o,onValueChange:c,children:d.jsx(ld,{...l,ref:r})})});Mv.displayName=_v;var Ov="MenuRadioItem",Iv=v.forwardRef((t,r)=>{const{value:o,...i}=t,l=iN(Ov,t.__scopeMenu),c=o===l.value;return d.jsx(Dv,{scope:t.__scopeMenu,checked:c,children:d.jsx(Wa,{role:"menuitemradio","aria-checked":c,...i,ref:r,"data-state":ud(c),onSelect:ce(i.onSelect,()=>l.onValueChange?.(o),{checkForDefaultPrevented:!1})})})});Iv.displayName=Ov;var cd="MenuItemIndicator",[Dv,aN]=Rr(cd,{checked:!1}),Lv=v.forwardRef((t,r)=>{const{__scopeMenu:o,forceMount:i,...l}=t,c=aN(cd,o);return d.jsx(wt,{present:i||Sa(c.checked)||c.checked===!0,children:d.jsx(ke.span,{...l,ref:r,"data-state":ud(c.checked)})})});Lv.displayName=cd;var lN="MenuSeparator",Fv=v.forwardRef((t,r)=>{const{__scopeMenu:o,...i}=t;return d.jsx(ke.div,{role:"separator","aria-orientation":"horizontal",...i,ref:r})});Fv.displayName=lN;var cN="MenuArrow",zv=v.forwardRef((t,r)=>{const{__scopeMenu:o,...i}=t,l=Ha(o);return d.jsx(Eg,{...l,...i,ref:r})});zv.displayName=cN;var uN="MenuSub",[Ej,$v]=Rr(uN),xs="MenuSubTrigger",Bv=v.forwardRef((t,r)=>{const o=Ar(xs,t.__scopeMenu),i=Ds(xs,t.__scopeMenu),l=$v(xs,t.__scopeMenu),c=id(xs,t.__scopeMenu),f=v.useRef(null),{pointerGraceTimerRef:p,onPointerGraceIntentChange:h}=c,g={__scopeMenu:t.__scopeMenu},y=v.useCallback(()=>{f.current&&window.clearTimeout(f.current),f.current=null},[]);return v.useEffect(()=>y,[y]),v.useEffect(()=>{const x=p.current;return()=>{window.clearTimeout(x),h(null)}},[p,h]),d.jsx(od,{asChild:!0,...g,children:d.jsx(Rv,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":l.contentId,"data-state":Wv(o.open),...t,ref:Ta(r,l.onTriggerChange),onClick:x=>{t.onClick?.(x),!(t.disabled||x.defaultPrevented)&&(x.currentTarget.focus(),o.open||o.onOpenChange(!0))},onPointerMove:ce(t.onPointerMove,js(x=>{c.onItemEnter(x),!x.defaultPrevented&&!t.disabled&&!o.open&&!f.current&&(c.onPointerGraceIntentChange(null),f.current=window.setTimeout(()=>{o.onOpenChange(!0),y()},100))})),onPointerLeave:ce(t.onPointerLeave,js(x=>{y();const S=o.content?.getBoundingClientRect();if(S){const b=o.content?.dataset.side,N=b==="right",C=N?-5:5,E=S[N?"left":"right"],j=S[N?"right":"left"];c.onPointerGraceIntentChange({area:[{x:x.clientX+C,y:x.clientY},{x:E,y:S.top},{x:j,y:S.top},{x:j,y:S.bottom},{x:E,y:S.bottom}],side:b}),window.clearTimeout(p.current),p.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(x),x.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:ce(t.onKeyDown,x=>{const S=c.searchRef.current!=="";t.disabled||S&&x.key===" "||W2[i.dir].includes(x.key)&&(o.onOpenChange(!0),o.content?.focus(),x.preventDefault())})})})});Bv.displayName=xs;var Uv="MenuSubContent",Hv=v.forwardRef((t,r)=>{const o=Nv(Lt,t.__scopeMenu),{forceMount:i=o.forceMount,...l}=t,c=Ar(Lt,t.__scopeMenu),f=Ds(Lt,t.__scopeMenu),p=$v(Uv,t.__scopeMenu),h=v.useRef(null),g=_e(r,h);return d.jsx(Ps.Provider,{scope:t.__scopeMenu,children:d.jsx(wt,{present:i||c.open,children:d.jsx(Ps.Slot,{scope:t.__scopeMenu,children:d.jsx(ad,{id:p.contentId,"aria-labelledby":p.triggerId,...l,ref:g,align:"start",side:f.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:y=>{f.isUsingKeyboardRef.current&&h.current?.focus(),y.preventDefault()},onCloseAutoFocus:y=>y.preventDefault(),onFocusOutside:ce(t.onFocusOutside,y=>{y.target!==p.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:ce(t.onEscapeKeyDown,y=>{f.onClose(),y.preventDefault()}),onKeyDown:ce(t.onKeyDown,y=>{const x=y.currentTarget.contains(y.target),S=V2[f.dir].includes(y.key);x&&S&&(c.onOpenChange(!1),p.trigger?.focus(),y.preventDefault())})})})})})});Hv.displayName=Uv;function Wv(t){return t?"open":"closed"}function Sa(t){return t==="indeterminate"}function ud(t){return Sa(t)?"indeterminate":t?"checked":"unchecked"}function dN(t){const r=document.activeElement;for(const o of t)if(o===r||(o.focus(),document.activeElement!==r))return}function fN(t,r){return t.map((o,i)=>t[(r+i)%t.length])}function pN(t,r,o){const l=r.length>1&&Array.from(r).every(g=>g===r[0])?r[0]:r,c=o?t.indexOf(o):-1;let f=fN(t,Math.max(c,0));l.length===1&&(f=f.filter(g=>g!==o));const h=f.find(g=>g.toLowerCase().startsWith(l.toLowerCase()));return h!==o?h:void 0}function mN(t,r){const{x:o,y:i}=t;let l=!1;for(let c=0,f=r.length-1;c<r.length;f=c++){const p=r[c],h=r[f],g=p.x,y=p.y,x=h.x,S=h.y;y>i!=S>i&&o<(x-g)*(i-y)/(S-y)+g&&(l=!l)}return l}function hN(t,r){if(!r)return!1;const o={x:t.clientX,y:t.clientY};return mN(o,r)}function js(t){return r=>r.pointerType==="mouse"?t(r):void 0}var gN=kv,vN=od,yN=Tv,xN=Pv,wN=ld,bN=jv,SN=Wa,CN=Av,EN=Mv,kN=Iv,NN=Lv,TN=Fv,PN=zv,jN=Bv,RN=Hv,Va="DropdownMenu",[AN]=Mn(Va,[Cv]),ut=Cv(),[_N,Vv]=AN(Va),Kv=t=>{const{__scopeDropdownMenu:r,children:o,dir:i,open:l,defaultOpen:c,onOpenChange:f,modal:p=!0}=t,h=ut(r),g=v.useRef(null),[y,x]=ja({prop:l,defaultProp:c??!1,onChange:f,caller:Va});return d.jsx(_N,{scope:r,triggerId:mo(),triggerRef:g,contentId:mo(),open:y,onOpenChange:x,onOpenToggle:v.useCallback(()=>x(S=>!S),[x]),modal:p,children:d.jsx(gN,{...h,open:y,onOpenChange:x,dir:i,modal:p,children:o})})};Kv.displayName=Va;var Gv="DropdownMenuTrigger",qv=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,disabled:i=!1,...l}=t,c=Vv(Gv,o),f=ut(o);return d.jsx(vN,{asChild:!0,...f,children:d.jsx(ke.button,{type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":i?"":void 0,disabled:i,...l,ref:Ta(r,c.triggerRef),onPointerDown:ce(t.onPointerDown,p=>{!i&&p.button===0&&p.ctrlKey===!1&&(c.onOpenToggle(),c.open||p.preventDefault())}),onKeyDown:ce(t.onKeyDown,p=>{i||(["Enter"," "].includes(p.key)&&c.onOpenToggle(),p.key==="ArrowDown"&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(p.key)&&p.preventDefault())})})})});qv.displayName=Gv;var MN="DropdownMenuPortal",Qv=t=>{const{__scopeDropdownMenu:r,...o}=t,i=ut(r);return d.jsx(yN,{...i,...o})};Qv.displayName=MN;var Yv="DropdownMenuContent",Xv=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=Vv(Yv,o),c=ut(o),f=v.useRef(!1);return d.jsx(xN,{id:l.contentId,"aria-labelledby":l.triggerId,...c,...i,ref:r,onCloseAutoFocus:ce(t.onCloseAutoFocus,p=>{f.current||l.triggerRef.current?.focus(),f.current=!1,p.preventDefault()}),onInteractOutside:ce(t.onInteractOutside,p=>{const h=p.detail.originalEvent,g=h.button===0&&h.ctrlKey===!0,y=h.button===2||g;(!l.modal||y)&&(f.current=!0)}),style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Xv.displayName=Yv;var ON="DropdownMenuGroup",IN=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(wN,{...l,...i,ref:r})});IN.displayName=ON;var DN="DropdownMenuLabel",Zv=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(bN,{...l,...i,ref:r})});Zv.displayName=DN;var LN="DropdownMenuItem",Jv=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(SN,{...l,...i,ref:r})});Jv.displayName=LN;var FN="DropdownMenuCheckboxItem",ey=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(CN,{...l,...i,ref:r})});ey.displayName=FN;var zN="DropdownMenuRadioGroup",$N=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(EN,{...l,...i,ref:r})});$N.displayName=zN;var BN="DropdownMenuRadioItem",ty=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(kN,{...l,...i,ref:r})});ty.displayName=BN;var UN="DropdownMenuItemIndicator",ny=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(NN,{...l,...i,ref:r})});ny.displayName=UN;var HN="DropdownMenuSeparator",ry=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(TN,{...l,...i,ref:r})});ry.displayName=HN;var WN="DropdownMenuArrow",VN=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(PN,{...l,...i,ref:r})});VN.displayName=WN;var KN="DropdownMenuSubTrigger",oy=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(jN,{...l,...i,ref:r})});oy.displayName=KN;var GN="DropdownMenuSubContent",sy=v.forwardRef((t,r)=>{const{__scopeDropdownMenu:o,...i}=t,l=ut(o);return d.jsx(RN,{...l,...i,ref:r,style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});sy.displayName=GN;var qN=Kv,QN=qv,YN=Qv,iy=Xv,ay=Zv,ly=Jv,cy=ey,uy=ty,dy=ny,fy=ry,py=oy,my=sy;const ch=qN,uh=QN,XN=v.forwardRef(({className:t,inset:r,children:o,...i},l)=>d.jsxs(py,{ref:l,className:Ee("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent focus:bg-accent",r&&"pl-8",t),...i,children:[o,d.jsx(v1,{className:"ml-auto h-4 w-4"})]}));XN.displayName=py.displayName;const ZN=v.forwardRef(({className:t,...r},o)=>d.jsx(my,{ref:o,className:Ee("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
50de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...r}));ZN.displayName=my.displayName;const Tu=v.forwardRef(({className:t,sideOffset:r=4,...o},i)=>d.jsx(YN,{children:d.jsx(iy,{ref:i,sideOffset:r,className:Ee("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})}));Tu.displayName=iy.displayName;const ws=v.forwardRef(({className:t,inset:r,...o},i)=>d.jsx(ly,{ref:i,className:Ee("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",r&&"pl-8",t),...o}));ws.displayName=ly.displayName;const JN=v.forwardRef(({className:t,children:r,checked:o,...i},l)=>d.jsxs(cy,{ref:l,className:Ee("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",t),checked:o,...i,children:[d.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:d.jsx(dy,{children:d.jsx(g1,{className:"h-4 w-4"})})}),r]}));JN.displayName=cy.displayName;const eT=v.forwardRef(({className:t,children:r,...o},i)=>d.jsxs(uy,{ref:i,className:Ee("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",t),...o,children:[d.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:d.jsx(dy,{children:d.jsx(x1,{className:"h-2 w-2 fill-current"})})}),r]}));eT.displayName=uy.displayName;const tT=v.forwardRef(({className:t,inset:r,...o},i)=>d.jsx(ay,{ref:i,className:Ee("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",t),...o}));tT.displayName=ay.displayName;const nT=v.forwardRef(({className:t,...r},o)=>d.jsx(fy,{ref:o,className:Ee("-mx-1 my-1 h-px bg-muted",t),...r}));nT.displayName=fy.displayName;const rT="/assets/logo-white-BBqVVnor.png",oT="/assets/logo-r1BVu757.png",sT=()=>{const[t,r]=v.useState(!1),[o,i]=v.useState(!1),l=fr();v.useEffect(()=>{const g=()=>{r(window.scrollY>20)};return window.addEventListener("scroll",g),()=>window.removeEventListener("scroll",g)},[]);const f=["/about","/news","/contact"].includes(l.pathname),p=t||f,h=[{label:"Home",href:"/",isRoute:!0,comingSoon:!1},{label:"About",href:"/about",isRoute:!0,comingSoon:!1},{label:"FLP",href:"/flp",isRoute:!0,comingSoon:!1},{label:"Companies",href:"/companies",isRoute:!0,comingSoon:!1},{label:"News",href:"/news",isRoute:!0,comingSoon:!0},{label:"Ø°ÙØ§ÙÙ",href:"#",isRoute:!1,comingSoon:!0},{label:"Join Us",href:"https://labeah.ai/join-us",isRoute:!1,comingSoon:!1},{label:"Contact",href:"/contact",isRoute:!0,comingSoon:!1}];return d.jsxs("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${t?"bg-background/80 backdrop-blur-lg border-b border-border":"bg-transparent"}`,children:[d.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:d.jsxs("div",{className:"flex items-center justify-between h-20",children:[d.jsx(Tr,{to:"/",className:"flex items-center",children:d.jsx("img",{src:p?oT:rT,alt:"Future Look Group logo",width:"180",height:"40",className:"h-10 w-auto transition-opacity duration-300"})}),d.jsx(Mg,{children:d.jsx("nav",{className:"hidden lg:flex items-center space-x-8",children:h.map(g=>g.comingSoon?d.jsx("span",{className:`text-sm font-medium cursor-not-allowed transition-smooth ${p?"text-foreground/40":"text-white/40"}`,style:/[\u0600-\u06FF]/.test(g.label)?{fontFamily:"'Cairo', sans-serif"}:void 0,children:g.label},g.label):g.isRoute?d.jsx(Tr,{to:g.href,className:`text-sm font-medium transition-smooth ${p?"text-foreground
50/80 hover:text-foreground":"text-white/90 hover:text-white"}`,children:g.label},g.label):d.jsx("a",{href:g.href,className:`text-sm font-medium transition-smooth ${p?"text-foreground/80 hover:text-foreground":"text-white/90 hover:text-white"}`,children:g.label},g.label))})}),d.jsx("div",{className:"hidden lg:flex items-center space-x-4",children:d.jsxs(ch,{children:[d.jsx(uh,{asChild:!0,children:d.jsxs(Jt,{size:"sm",className:"bg-[#1E3A8A] hover:bg-[#1e40af] text-white font-semibold px-6 h-9 rounded-none border-b-4 border-[#DC2626] gap-2",children:[d.jsx(au,{size:16}),"En"]})}),d.jsxs(Tu,{align:"end",className:"bg-card z-50",children:[d.jsx(ws,{className:"cursor-pointer",children:"English"}),d.jsx(ws,{className:"cursor-pointer text-muted-foreground",children:"Ø§ÙØ¹Ø±Ø¨ÙØ© (Coming Soon)"})]})]})}),d.jsx("button",{className:`lg:hidden p-2 transition-colors ${p?"text-foreground":"text-white"}`,onClick:()=>i(!o),children:o?d.jsx(_a,{size:24}):d.jsx(C1,{size:24})})]})}),o&&d.jsx("div",{className:"lg:hidden bg-card border-t border-border animate-fade-in",children:d.jsxs("nav",{className:"container mx-auto px-4 py-6 flex flex-col space-y-4",children:[h.map(g=>g.comingSoon?d.jsx("span",{className:"text-sm font-medium text-foreground/40 cursor-not-allowed",style:/[\u0600-\u06FF]/.test(g.label)?{fontFamily:"'Cairo', sans-serif"}:void 0,children:g.label},g.label):g.isRoute?d.jsx(Tr,{to:g.href,className:"text-sm font-medium transition-smooth text-foreground/80 hover:text-foreground",onClick:()=>i(!1),children:g.label},g.label):d.jsx("a",{href:g.href,className:"text-sm font-medium transition-smooth text-foreground/80 hover:text-foreground",onClick:()=>i(!1),children:g.label},g.label)),d.jsx("div",{className:"pt-4 border-t border-border",children:d.jsxs(ch,{children:[d.jsx(uh,{asChild:!0,children:d.jsxs(Jt,{size:"sm",className:"w-full bg-[#1E3A8A] hover:bg-[#1e40af] text-white font-semibold px-6 h-9 rounded-none border-b-4 border-[#DC2626] gap-2",children:[d.jsx(au,{size:16}),"En"]})}),d.jsxs(Tu,{align:"end",className:"bg-card z-50 w-full",children:[d.jsx(ws,{className:"cursor-pointer",children:"English"}),d.jsx(ws,{className:"cursor-pointer text-muted-foreground",children:"Ø§ÙØ¹Ø±Ø¨ÙØ© (Coming Soon)"})]})]})})]})})]})},iT="/assets/hero-bg-C-Du0jPu.mp4",aT=()=>{const[t,r]=v.useState(!1),o=v.useRef(null),i=v.useCallback(()=>{r(!0)},[]);return d.jsxs("section",{id:"home",className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[d.jsxs("div",{className:"absolute inset-0 w-full h-full",children:[d.jsx("div",{className:`absolute inset-0 bg-cover bg-center transition-opacity duration-1000 ${t?"opacity-0":"opacity-100"}`,style:{backgroundImage:"url(/hero-poster.jpg)",filter:"blur(20px)",transform:"scale(1.1)"}}),d.jsxs("video",{ref:o,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`w-full h-full object-cover transition-opacity duration-1000 ${t?"opacity-100":"opacity-0"}`,preload:"auto",onCanPlayThrough:i,width:"1920",height:"1080",children:[d.jsx("source",{src:iT,type:"video/mp4"}),d.jsx("track",{kind:"captions",src:"",label:"No captions",default:!0})]})]}),d.jsx("div",{className:"relative z-10 container mx-auto px-4 lg:px-16 text-left pt-40 pb-20",children:d.jsxs("div",{className:"max-w-[960px] space-y-6",children:[d.jsx("div",{children:d.jsx("h1",{className:"font-extrabold text-4xl md:text-6xl lg:text-[72px] leading-[1.1] tracking-tight text-white",children:"Arabic AI Excellence for Modern Enterprises"})}),d.jsx("p",{className:"text-lg md:text-xl text-[#B0B0B0] max-w-[700px] leading-relaxed mt-4",children:"Our AIâpowered voice, chat and recruitment solutions are built locally and trusted by leading Saudi organisations."}),d.jsxs("div",{className:"flex flex-col sm:flex-row items-start gap-4 pt-8",children:[d.jsx(Jt,{size:"lg",className:"bg-[#1E3A8A] hover:bg-white text-white hover:text-[#1E3A8A] font-semibold px-10 h-14 rounded-none border-b-4 border-[#DC2626] shadow-sm hover:shadow-lg transition-all duration-300 gap-2",asChild:!0,children:d.jsxs(Tr,{to:"/contact",children:[d.jsx(Iu,{size:20}),"Book a Meeting"]})}),d.jsxs(Jt,{size:"lg",variant:"outline",className:"bg-transparent border-2 border-white text-white hover:bg-white/10 font-semibold px-10 h-14 roun
50ded-none transition-all",onClick:()=>{document.getElementById("solutions")?.scrollIntoView({behavior:"smooth"})},children:["Learn About Our Solutions",d.jsx(d1,{size:20,className:"ml-2"})]})]}),d.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-2 lg:gap-4 pt-[60px] max-w-5xl",children:[{value:"80+",label:"Clients Served"},{value:"3+",label:"Countries"},{value:"6",label:"AI Solutions"},{value:"24/7",label:"Support"}].map((l,c)=>d.jsxs("div",{className:"text-left",children:[d.jsx("div",{className:"text-4xl md:text-[40px] font-bold text-[#00BCD4] mb-1",children:l.value}),d.jsx("div",{className:"text-xs text-[#9CA3AF]",children:l.label})]},c))})]})}),d.jsx("div",{className:"absolute bottom-10 left-1/2 -translate-x-1/2 opacity-40",children:d.jsx("div",{className:"w-5 h-8 border-2 border-[#00BCD4] rounded-full flex items-start justify-center p-1",children:d.jsx("div",{className:"w-1 h-2 bg-[#00BCD4] rounded-full animate-bounce"})})})]})},lT="/assets/callbot-CyWGhDQu.png",cT="/assets/chatbot-BWdrR48B.png",uT="/assets/voicebot-DSaJhlNy.png",dT="/assets/smart-recruiter-BI1cX0C3.png",fT="/assets/social-understanding-BqUmoUJe.png",pT="/assets/voice-of-customer-BAK1J8Hb.png",mT=[{icon:Hh,title:"Callbot",subtitle:"Intelligent Call Routing",accentColor:"bg-orange-500",image:lT,description:"Seamlessly manage inbound and outbound calls with AI-powered routing that understands context and priority.",features:[{title:"Integrated with voice and digital",desc:"Handles phone calls, web chat and social channels seamlessly."},{title:"Custom routing rules",desc:"Tailor call flows based on customer priority, language or urgency."},{title:"AIâdriven scalability",desc:"Manage high call volumes without compromising quality."},{title:"Priority handling",desc:"Automatically route VIP customers to specialised agents."}]},{icon:E1,title:"Chatbot",subtitle:"AlwaysâOn Messaging",accentColor:"bg-teal-500",image:cT,description:"Engage customers 24/7 with intelligent conversational AI that speaks their language.",features:[{title:"Omnichannel reach",desc:"Engage customers on websites, mobile apps, WhatsApp and social media."},{title:"Generative conversations",desc:"Deliver humanâlike responses with builtâin Arabic and English language understanding."},{title:"Customisable personality",desc:"Match your brand's tone with easily adjustable dialog."},{title:"Smart escalation",desc:"Transfer complex issues to live agents with full conversation history."}]}
50,{icon:k1,title:"Voicebot",subtitle:"HandsâFree Assistance",accentColor:"bg-blue-500",image:uT,description:"Let customers speak naturally and get instant, accurate responses in Arabic and English.",features:[{title:"Voiceâfirst experience",desc:"Let customers speak naturally via IVR, smart speakers or mobile apps."},{title:"Context awareness",desc:"Recognises intent and context for accurate replies."},{title:"Multilingual support",desc:"Arabic dialects and English out of the box."},{title:"Selfâservice automation",desc:"Automate common tasks like account inquiries or appointment booking."}]},{icon:O1,title:"Smart Recruiter",subtitle:"AI Talent Screening",accentColor:"bg-purple-500",image:dT,description:"Streamline your hiring process with AI that finds the right candidates faster and fairer.",features:[{title:"Automated CV screening",desc:"Quickly shortlist candidates based on experience and keywords."},{title:"Skill & psychometric assessments",desc:"Evaluate technical abilities and behavioural traits with AI."},{title:"Bias reduction",desc:"Standardised scoring improves fairness in hiring."},{title:"ATS integration",desc:"Plug into existing applicantâtracking systems for seamless workflows."}]},{icon:h1,title:"Voice of Customer",subtitle:"Feedback Intelligence",accentColor:"bg-emerald-500",image:pT,description:"Transform customer feedback into actionable insights with real-time sentiment analysis.",features:[{title:"Unified collection",desc:"Gather surveys, reviews and NPS across channels."},{title:"AI sentiment analysis",desc:"Detect emotions and trends to surface actionable insights."},{title:"Realâtime dashboards",desc:"Monitor satisfaction scores and performance metrics live."},{title:"Alerting & recommendations",desc:"Receive notifications on emerging issues and improvement opportunities."}]},{icon:au,title:"Social Understanding",subtitle:"RealâTime Listening",accentColor:"bg-pink-500",image:fT,description:"Monitor your brand across social platforms and stay ahead of trends and crises.",features:[{title:"Comprehensive monitoring",desc:"Track brand mentions across Twitter, Instagram, TikTok and more."},{title:"Topic & trend analysis",desc:"Discover what matters most to your audience."},{title:"Crisis detection",desc:"Identify negative spikes and respond proactively."},{title:"Competitive benchmarking",desc:"Compare your brand's presence against competitors."}]}],hT=()=>d.jsx("section",{id:"solutions",className:"py-24 lg:py-32 relative bg-muted/30",children:d.jsxs("div",{className:"container mx-auto px-4 lg:px-8",children:[d.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16 animate-fade-in",children:[d.jsx("h2",{className:"text-4xl md:text-5xl font-display font-bold mb-6 text-foreground",children:"Solutions Designed for Every Interaction"}),d.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed",children:"From intelligent call routing to social listening, our AI solutions transform how you connect with customers."})]}),d.jsx("div",{className:"relative",children:mT.map((t,r)=>{const o=t.icon,i=100+r*20;return d.jsx("div",{className:"md:sticky mb-8 last:mb-0",style:{to
50p:`${i}px`},children:d.jsxs("div",{className:"relative overflow-hidden rounded-3xl bg-card shadow-xl border border-border/50",children:[d.jsx("div",{className:`h-1.5 w-full ${t.accentColor}`}),d.jsx("div",{className:"p-8 lg:p-12",children:d.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 lg:gap-12 items-center",children:[d.jsxs("div",{className:"space-y-6",children:[d.jsxs("div",{className:"flex items-center gap-4",children:[d.jsx("div",{className:`p-3 rounded-xl ${t.accentColor}`,children:d.jsx(o,{className:"h-6 w-6 text-white"})}),d.jsxs("div",{children:[d.jsx("h3",{className:"text-2xl lg:text-3xl font-display font-bold text-foreground",children:t.title}),d.jsx("p",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wide",children:t.subtitle})]})]}),d.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed",children:t.description}),d.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:t.features.map((l,c)=>d.jsxs("div",{className:"flex items-start gap-3 p-4 rounded-xl bg-muted/50",children:[d.jsx(y1,{className:`w-5 h-5 mt-0.5 flex-shrink-0 ${t.accentColor.replace("bg-","text-")}`}),d.jsxs("div",{children:[d.jsx("span",{className:"font-semibold text-foreground block text-sm",children:l.title}),d.jsx("span",{className:"text-muted-foreground text-xs",children:l.desc})]})]},c))})]}),d.jsx("div",{className:"relative h-64 lg:h-96 rounded-2xl overflow-hidden bg-gradient-to-br from-muted/30 to-muted/10 flex items-center justify-center p-6",children:t.image?d.jsx("img",{src:t.image,alt:`${t.title} interface screenshot`,className:"max-w-full max-h-full object-contain rounded-2xl shadow-2xl transition-transform duration-300 hover:scale-105"}):d.jsx("div",{className:"flex items-center justify-center h-full",children:d.jsxs("div",{className:"text-center p-8",children:[d.jsx("div",{className:`inline-flex p-4 rounded-full ${t.accentColor}/10 mb-4`,children:d.jsx(o,{className:`h-12 w-12 ${t.accentColor.replace("bg-","text-")}`})}),d.jsx("p",{className:"text-muted-foreground font-medium",children:"Product Screenshot"}),d.jsx("p",{className:"text-xs text-muted-foreground/70 mt-1",children:"Image coming soon"})]})})})]})})]})},r)})})]})}),uo=[{id:"proudly-saudi",icon:Uh,title:"Proudly Saudi",subtitle:"Born & Built in the Kingdom",description:"We understand regional nuances, dialects and regulatory requirements.",stat:{value:"100%",label:"Local Team"},size:"large",gradient:"from-green-500 to-emerald-600"},{id:"saudi-hosting",icon:P1,title:"Saudi Hosting",subtitle:"Data Residency",description:"All data processed and stored in Saudi data centres for compliance and speed.",stat:{value:"0ms",label:"Data Transfer Abroad"},size:"medium",gradient:"from-cyan-500 to-blue-600"},{id:"gov-trusted",icon:f1,title:"Gov. & Enterprise Trusted",subtitle:"Battle-Tested at Scale",description:"Deployed for Ministry of Foreign Affairs, Culture, Sports and more.",stat:{value:"10+",label:"Gov. Deployments"},size:"medium",gradient:"from-purple-500 to-violet-600"},{id:"ai-expertise",icon:p1,title:"Advanced AI Expertise",subtitle:"Arabic & English",description:"Conversational, generative and analytic AI capabilities combined.",size:"medium",gradient:"from-orange-500 to-red-500"},{id:"dedicated-support",icon:w1,title:"Dedicated Support",subtitle:"24/7 Technical Support",description:"Local account managers ensure smooth implementation and success.",stat:{value:"24/7",label:"Support Available"},size:"large",gradient:"from-emerald-500 to-teal-600"},{id:"privacy-security",icon:j1,title:"Privacy & Security",subtitle:"Certified Compliance",description:"National and international data-protection standards met.",stat:{value:"ISO",label:"Certified"},size:"medium",gradient:"from-pink-500 to-rose-600"}
50],fo=({item:t,index:r,isVisible:o})=>{const i=t.icon,l=t.size==="large";return d.jsxs("div",{className:Ee("group relative p-4 lg:p-6 rounded-2xl bg-card border border-border/50 overflow-hidden","hover:border-primary/50 hover:shadow-xl hover:-translate-y-1","transition-all duration-500",l&&"md:col-span-2",o?"opacity-100 translate-y-0":"opacity-0 translate-y-8"),style:{transitionDelay:`${r*100}ms`},children:[d.jsx("div",{className:Ee("absolute top-0 left-0 right-0 h-1 rounded-t-2xl bg-gradient-to-r opacity-80 group-hover:opacity-100 transition-opacity",t.gradient)}),d.jsxs("div",{className:Ee("flex",l?"flex-row gap-4 items-start":"flex-col"),children:[d.jsx("div",{className:Ee("inline-flex p-3 rounded-xl bg-gradient-to-br shrink-0 group-hover:scale-110 transition-transform duration-300",l?"mb-0":"mb-4",t.gradient),children:d.jsx(i,{className:Ee("text-white",l?"w-7 h-7":"w-5 h-5")})}),d.jsxs("div",{className:"flex flex-col flex-1 min-w-0",children:[d.jsx("p",{className:Ee("text-xs font-medium uppercase tracking-wider mb-1 bg-gradient-to-r bg-clip-text text-transparent truncate",t.gradient),children:t.subtitle}),d.jsx("h3",{className:Ee("font-bold text-foreground mb-2 truncate",l?"text-xl lg:text-2xl":"text-lg"),children:t.title}),d.jsx("p",{className:Ee("text-muted-foreground leading-relaxed",l?"text-sm line-clamp-2":"text-sm line-clamp-3"),children:t.description}),t.stat&&d.jsxs("div",{className:"mt-3 pt-3 border-t border-border/50",children:[d.jsx("span",{className:Ee("text-xl lg:text-2xl font-bold bg-gradient-to-r bg-clip-text text-transparent",t.gradient),children:t.stat.value}),d.jsx("span",{className:"text-xs text-muted-foreground ml-2",children:t.stat.label})]})]})]})]})},gT=()=>{const[t,r]=v.useState(!1),o=v.useRef(null);return v.useEffect(()=>{const i=new IntersectionObserver(([l])=>{l.isIntersecting&&r(!0)},{threshold:.1});return o.current&&i.observe(o.current),()=>i.disconnect()},[]),d.jsxs("section",{ref:o,id:"why-us",className:"relative py-12 lg:py-16 bg-background",children:[d.jsx("div",{className:"absolute inset-0 opacity-[0.02]",children:d.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle at 1px 1px, currentColor 1px, transparent 0)",backgroundSize:"40px 40px"}})}),d.jsxs("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:[d.jsxs("div",{className:Ee("text-center max-w-3xl mx-auto mb-8 lg:mb-10 transition-all duration-700",t?"opacity-100 translate-y-0":"opacity-0 translate-y-8"),children:[d.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-display font-bold mb-4 text-foreground",children:"Why Choose Us"}),d.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed",children:"Discover what makes us your ideal AI partner in the Kingdom"})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-3 lg:gap-4 max-w-6xl mx-auto auto-rows-fr",children:[d.jsx(fo,{item:uo[0],index:0,isVisible:t}),d.jsx(fo,{item:uo[1],index:1,isVisible:t}),d.jsx(fo,{item:uo[2],index:2,isVisible:t}),d.jsx(fo,{item:uo[3],index:3,isVisible:t}),d.jsx(fo,{item:uo[4],index:4,isVisible:t}),d.jsx(fo,{item:uo[5],index:5,isVisible:t})]})]})]})},hy="/assets/hrdf-new-CPAcXeki.jpg",vT="/assets/ministry-sport-aWSJfV_C.jpg",yT="/assets/aseer-new-CmWinx3V.jpg",xT="/assets/ministry-industry-B9vuQs2-.jpg",wT="/assets/ministry-foreign-affairs-new-DntVG2tZ.jpg",bT="/assets/ministry-defense-C_AdjKCz.jpg",ST="/assets/ministry-environment-new-CCFq51-2.jpg",CT="/assets/ministry-hr-2CC47mmw.jpg",ET="/assets/qiwa-new-J3UrpaU8.jpg",kT="/assets/omantel-new-DNkNrso9.jpg",gy="/assets/ministry-commerce-new-DUkbx1tc.jpg",NT="/assets/ministry-investment-new-DAD5sA2g.jpg",TT="/assets/alrajhi-bank-new-CQS5_Xxl.jpg",PT="/assets/suzuki-new-CeFbVy7B.jpg",jT="/assets/tanfeeth-BjWaTpQl.jpg",vy="/assets/aramco-C1dM4DzW.jpg",RT="/assets/gea-BPM7wE3P.jpg",AT="/assets/theatre-arts-DSQuPOUc.jpg",_T="/assets/jeddah-historic-new-BKaZO4VA.jpg",MT="/assets/equestrian-authority-MZXBQFS-.jpg",OT="/assets/smc-BS8FgdWO.jpg",IT="/assets/waseel-B42_cwGB.jpg",DT="/assets/mekyal-DPNWNQQQ.jpg",LT="/assets/madrasati-bXJ-gfWM.jpg",FT="/assets/neom-BWK0vZHN.jpg",zT="/assets/salam-DONGLyLO.jpg",$T="/assets/nitc-BYFUmWAa.jpg",BT="/assets/public-health-BBPb5v0i.jpg",UT="/assets/cst-BBnuFkQl.jpg",HT="/assets/social-
50dev-bank-BOoYN2v2.jpg",WT="/assets/smartlink-DdOZYRGO.jpg",VT="/assets/solutions-stc-sT3UdVOa.jpg",KT="/assets/suzuki-new-CeFbVy7B.jpg",GT="/assets/sido-De8RQT5A.jpg",qT="/assets/teleperformance-CYVYbcin.jpg",QT="/assets/alasila-cx-BmSjGaaJ.jpg",YT="/assets/upsource-C-d0mukV.jpg",XT="/assets/zain-DP7u6qzo.jpg",ZT="/assets/play-ai-7hJzP5Hl.jpg",JT="/assets/salam-DONGLyLO.jpg",eP="/assets/elevenlabs-Dn762-Z5.jpg",tP="/assets/groq-B663dypt.jpg",nP="/assets/emdad-CY9-7-A5.jpg",rP="/assets/ithra-B4fVoTza.jpg",oP="/assets/rsm-BXSHil0G.jpg",sP="/assets/ey-u5oWl9EJ.jpg",iP="/assets/mazaya-HHDbXhtp.jpg",aP="/assets/link-tech-HDYIrhtn.jpg",lP="/assets/oracle-cloud-rQneSFya.jpg",cP="/assets/red-sea-global-zJgfmx4T.jpg",uP="/assets/fds-Debb3lf0.jpg",dP="/assets/etisalat-DOsOkjIw.jpg",fP="/assets/elm--RPytL5C.jpg",pP="/assets/asiainfo-DT00zWqm.jpg",mP="/assets/icss-zq9EFXc6.jpg",hP="/assets/huawei-DVKW5-JX.jpg",gP="/assets/accenture-LFcn_VYP.jpg",vP="/assets/genesys-CMSarMCB.jpg",yP="/assets/cisco-C_V-RHdr.jpg",xP="/assets/avaya-Xyb0p9gz.jpg",wP=()=>{const t=[{name:"Ministry of Foreign Affairs",logo:wT},{name:"Ministry of Defense",logo:bT},{name:"Ministry of Industry",logo:xT},{name:"Ministry of Sport",logo:vT},{name:"Ministry of Environment",logo:ST},{name:"Ministry of Human Resources",logo:CT},{name:"Aseer Development Authority",logo:yT},{name:"Human Resources Development Fund",logo:hy},{name:"QIWA",logo:ET},{name:"Omantel",logo:kT},{name:"Ministry of Commerce",logo:gy},{name:"Ministry of Investment",logo:NT},{name:"Al Rajhi Bank",logo:TT},{name:"Suzuki",logo:PT},{name:"Tanfeeth",logo:jT},{name:"Aramco",logo:vy},{name:"General Entertainment Authority",logo:RT},{name:"Theatre & Performing Arts",logo:AT},{name:"Jeddah Historic District",logo:_T},{name:"Equestrian Authority",logo:MT},{name:"Specialized Medical Center",logo:OT},{name:"Waseel",logo:IT},{name:"Mekyal",logo:DT},{name:"Madrasati",logo:LT},{name:"NEOM",logo:FT},{name:"Salam",logo:zT},{name:"NITC",logo:$T},{name:"Public Health Authority",logo:BT},{name:"CST",logo:UT},{name:"Social Development Bank",logo:HT},{name:"SmartLink",logo:WT},{name:"Solutions by STC",logo:VT},{name:"Suzuki",logo:KT},{name:"Sido",logo:GT},{name:"Teleperformance",logo:qT},{name:"Alasila CX",logo:QT},{name:"Upsource",logo:YT},{name:"Zain",logo:XT},{name:"Play.AI",logo:ZT},{name:"Salam",logo:JT},{name:"ElevenLabs",logo:eP},{name:"Groq",logo:tP},{name:"Emdad",logo:nP},{name:"Ithra",logo:rP},{name:"RSM",logo:oP},{name:"EY",logo:sP},{name:"Mazaya",logo:iP},{name:"Link Technology",logo:aP},{name:"Oracle Cloud",logo:lP},{name:"Red Sea Global",logo:cP},{name:"FDS",logo:uP},{name:"Etisalat",logo:dP},{name:"Elm",logo:fP},{name:"AsiaInfo",logo:pP},{name:"ICS&S",logo:mP},{name:"Huawei",logo:hP},{name:"Accenture",logo:gP},{name:"Genesys",logo:vP},{name:"Cisco",logo:yP},{name:"Avaya",logo:xP}],r=t.slice(0,20),o=t.slice(20,40),i=t.slice(40),l=({partner:f})=>d.jsxs("div",{className:"group relative flex items-center justify-center p-5 rounded-xl bg-card border border-border hover:border-primary/40 transition-all duration-500 hover:shadow-lg hover:shadow-primary/10 flex-shrink-0 w-[160px] h-[80px]",children:[d.jsx("div",{className:"absolute inset-0 rounded-xl bg-gradient-to-br from-primary/0 to-accent/0 group-hover:from-primary/5 group-hover:to-accent/5 transition-all duration-500 opacity-0 group-hover:opacity-100"}),d.jsx("img",{src:f.logo,alt:f.name,loading:"lazy",width:"140",height:"70",className:"relative z-10 max-h-12 w-auto object-contain grayscale group-hover:grayscale-0 transition-all duration-500 group-hover:scale-110"}),d.jsx("div",{className:"absolute inset-0 rounded-xl overflow-hidden",children:d.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/10 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-1000"})})]}),c=({logos:f,direction:p="left",duration:h=40})=>d.jsxs("div",{className:"relative overflow-hidden py-2 group/marquee",children:[d.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-16 sm:w-32 bg-gradient-to-r from-background to-transparent z-10 pointer-events-none"}),d.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-16 sm:w-32 bg-gradient-to-l from-background to-transparent z-10 pointer-events-none"}),d.jsx("div",{className:"flex gap-5 hover:[animation-play-state:paused]",style:{animation:`marquee-${p} ${h}s linear infinite`},children:[...f,...f].map((g,y)=>d.jsx(l,{partner:g},`${g.name}-${y}`))})]});return d.jsxs("section",{className:"py-24 relative overflow-hidden border-y border-border bg-gradient-to-b from-background via-muted/20 to-background",children:[d.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[d.jsx("div",{className:"absolute top-1/4 left-1/4 w-64 h-64 bg-primary/5 rounded-full blur-[100px] animate-pulse"}),d.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-accent/5 rounded-full blur-[120px] animate-pulse",style:{animationDelay:"1s"}})]}),d.jsxs("div",{className:"relative z-10",children:[d.jsxs("div",{className:"text-center mb-12 animate-fade-in container mx-auto px-4",children:[d.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-primary/10 border border-primary/20 mb-4",children:[d.jsx(lu,{className:"w-4 h-4 text-primary animate-pulse"}),d.jsx("span",{className:"text-sm font-semibold text-primary",children:"Our Partners"}),d.jsx(lu,{className:"w-4 h-4 text-primary animate-pulse"})]}),d.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-foreground mb-2",children:"Trusted by Leading Organizations"}),d.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Partnering with global innovators and regional leaders"})]}),d.jsxs("div",{className:"space-y-4",children:[d.jsx(c,{logos:r,direction:"left",duration:50}),d.jsx(c,{logos:o,direction:"right",duration:45}),d.jsx(c,{logos:i,direction:"left",duration:40})]}),d.jsx("div",{className:"text-center mt-12 animate-fade-in container mx-auto px-4",children:d.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground",children:"Building the future of AI innovation together"})})]}),d.jsx("style",{children:` 51 @keyframes marquee-left { 52 0% { transform: translateX(0); } 53 100% { transform: translateX(-50%); } 54 } 55 @keyframes marquee-right { 56 0% { transform: translateX(-50%); } 57 100% { transform: translateX(0); } 58 } 59 `})]})},yy="/assets/ministry-foreign-affairs-new-DntVG2tZ.jpg",xy="/assets/ministry-commerce-new-DUkbx1tc.jpg",wy="/assets/ministry-sport-aWSJfV_C.jpg",bP=[{icon:m1,ministry:"Ministry of Foreign Affairs (MOFA)",title:"Transforming Citizen Services",description:"Our Callbot and Chatbot solutions power the ministry's helplines and online portals, handling thousands of inquiries daily and reducing average response times by 50%.",stats:[{value:"50%",label:"Faster Response"},{value:"1000s",label:"Daily Inquiries"}],gradient:"from-blue-600 to-blue-400",logo:yy},{icon:T1,ministry:"Ministry of Culture (MOC)",title:"Understanding Public Sentiment",description:"Using Voice of Customer and Social Understanding, MOC monitors public sentiment about cultural events, enabling rapid feedback loops and improving citizen engagement.",stats:[{value:"Realâtime",label:"Sentiment Analysis"},{value:"360°",label:"Feedback View"}],gradient:"from-purple-600 to-purple-400",logo:xy},{icon:_1,ministry:"Ministry of Sports",title:"Enhancing Fan Experience",description:"A Voicebotâenabled fanâassistance platform answers common questions about fixtures, ticketing and venues, enhancing the spectator experience while freeing human agents to focus on complex requests.",stats:[{value:"24/7",label:"Fan Support"},{value:"Instant",label:"Answers"}],gradient:"from-emerald-600 to-emerald-400",logo:wy}],SP=()=>d.jsx("section",{id:"cases",className:"py-24 lg:py-32 relative overflow-hidden bg-background",children:d.jsxs("div",{className:"container mx-auto px-4 lg:px-8",children:[d.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16 animate-fade-in",children:[d.jsx("h2",{className:"text-4xl md:text-5xl font-display font-bold mb-6 text-foreground",children:"Business Cases"}),d.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed",children:"See how leading Saudi organisations are transforming their operations with our AI solutions."})]}),d.jsx("div",{className:"grid lg:grid-cols-3 gap-8 max-w-7xl mx-auto",children:bP.map((t,r)=>{const o=t.icon;return d.jsx("div",{className:"group relative animate-fade-in-up",style:{animationDelay:`${r*.15}s`},children:d.jsxs("div",{className:"relative h-full p-8 rounded-2xl bg-card border border-border/50 hover:border-primary/50 transition-all duration-500 hover:shadow-2xl hover:-translate-y-2 overflow-hidden",children:[d.jsx("div",{className:`absolute top-0 left-0 right-0 h-2 bg-gradient-to-r ${t.gradient}`}),d.jsx("div",{className:`inline-flex p-4 rounded-xl bg-gradient-to-br ${t.gradient} mb-6 group-hover:scale-110 transition-transform duration-300`,children:d.jsx(o,{className:"h-8 w-8 text-white"})}),d.jsx("p",{className:"text-sm font-semibold text-primary uppercase tracking-wide mb-2",children:t.ministry}),d.jsx("h3",{className:"text-2xl font-display font-bold text-foreground mb-4",children:t.title}),d.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:t.description}),d.jsx("div",{className:"grid grid-cols-2 gap-4 pt-6 border-t border-border/50",children:t.stats.map((i,l)=>d.jsxs("div",{children:[d.jsx("div",{className:`text-2xl font-bold bg-gradient-to-r ${t.gradient} bg-clip-text text-transparent`,children:i.value}),d.jsx("div",{className:"text-xs text-muted-foreground",children:i.label})]},l))}),d.jsx("img",{src:t.logo,alt:`${t.ministry} logo`,className:"absolute top-6 right-6 w-24 h-auto opacity-30 grayscale group-hover:opacity-40 transition-opacity duration-300 pointer-events-none object-contain"})]})},r)})})]})}),dh=({variant:t="stats"})=>t==="stats"?d.jsxs("section",{className:"py-16 bg-gradient-to-r from-primary via-accent to-primary relative overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(45deg,transparent_25%,rgba(255,255,255,0.1)_25%,rgba(255,255,255,0.1)_50%,transparent_50%,transparent_75%,rgba(255,255,255,0.1)_75%)] bg-[length:20px_20px]"}),d.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:d.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-center gap-8 text-white",children:[d.jsx(R1,{className:"h-12 w-12"}),d.jsxs("div",{className:"text-center md:text-left",children:[d.jsx("h3",{className:"text-3xl md:text-4xl font-display font-bold",children:"Serving over 80 clients across 3+ countries"}),d.jsx("p",{className:"text-white/80 mt-2",children:"Trusted by government entities and leading enterprises"})]})]})})]}):t==="quote"?d.jsx("section",{className:"py-20 bg-muted/30 relative overflow-hidden",children:d.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:d.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[d.jsx(Wh,{className:"h-12 w-12 text-primary/30 mx-auto mb-6"}),d.jsx("blockquote",{className:"text-2xl md:text-3xl font-display font-medium text-foreground italic leading-relaxed mb-6",children:'"This AI solution transformed how
59we engage with citizens, reducing wait times and improving satisfaction across all our digital channels."'}),d.jsx("cite",{className:"text-muted-foreground not-italic",children:"â Senior Official, Ministry of Foreign Affairs"})]})})}):d.jsxs("section",{className:"py-16 bg-gradient-to-r from-primary to-accent relative overflow-hidden",children:[d.jsxs("div",{className:"absolute inset-0",children:[d.jsx("div",{className:"absolute top-0 left-1/4 w-64 h-64 bg-white/10 rounded-full blur-3xl"}),d.jsx("div",{className:"absolute bottom-0 right-1/4 w-96 h-96 bg-white/5 rounded-full blur-3xl"})]}),d.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:d.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-6 text-white",children:[d.jsxs("div",{children:[d.jsx("h3",{className:"text-2xl md:text-3xl font-display font-bold mb-2",children:"Limitedâtime offer"}),d.jsx("p",{className:"text-white/80",children:"Book a meeting today for a free consultation on customerâexperience automation."})]}),d.jsx(Jt,{size:"lg",className:"bg-white text-primary hover:bg-white/90 font-semibold px-8",asChild:!0,children:d.jsxs(Tr,{to:"/contact",children:[d.jsx(Iu,{className:"mr-2 h-5 w-5"}),"Book Free Consultation"]})})]})})]}),CP=[{logo:yy,organization:"Ministry of Foreign Affairs",quote:"Citizens now receive answers in seconds, not days. This AI restores trust in government services.",title:"Senior Official",gradient:"from-blue-600 to-blue-400"},{logo:xy,organization:"Ministry of Culture",quote:"Real-time sentiment analysis helps us understand public response to cultural initiatives instantly.",title:"Digital Transformation Lead",gradient:"from-purple-600 to-purple-400"},{logo:wy,organization:"Ministry of Sports",quote:"24/7 fan support has transformed our event experience while reducing agent workload by 60%.",title:"CX Director",gradient:"from-emerald-600 to-emerald-400"},{logo:hy,organization:"Human Resources Development Fund",quote:"Automated screening processes thousands of applications while maintaining quality and fairness.",title:"HR Director",gradient:"from-amber-600 to-amber-400"},{logo:gy,organization:"Ministry of Commerce",quote:"Our customer inquiry resolution time dropped from hours to minutes.",title:"Digital Services Manager",gradient:"from-cyan-600 to-cyan-400"},{logo:vy,organization:"Aramco",quote:"Enterprise-grade AI that understands Arabic nuancesâexactly what we needed.",title:"Technology Lead",gradient:"from-green-600 to-green-400"}],EP=()=>d.jsxs("section",{className:"py-24 lg:py-32 relative overflow-hidden bg-muted/30",children:[d.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[d.jsx("div",{className:"absolute top-0 left-1/4 w-96 h-96 bg-primary/5 rounded-full blur-3xl"}),d.jsx("div",{className:"absolute bottom-0 right-1/4 w-96 h-96 bg-accent/5 rounded-full blur-3xl"})]}),d.jsxs("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:[d.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16 animate-fade-in",children:[d.jsx("h2",{className:"text-4xl md:text-5xl font-display font-bold mb-6 text-foreground",children:"What Our Partners Say"}),d.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed",children:"Hear from the leaders transforming their organizations with our AI solutions"})]}),d.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-7xl mx-auto",children:CP.map((t,r)=>d.jsx("div",{className:"group relative animate-fade-in-up",style:{animationDelay:`${r*.1}s`},children:d.jsxs("div",{className:"relative h-full p-6 rounded-2xl bg-card border border-border/50 hover:border-primary/50 transition-all duration-500 hover:shadow-2xl hover:-translate-y-2 overflow-hidden",children:[d.jsx("div",{className:`absolute top-0 left-0 right-0 h-1.5 bg-gradient-to-r ${t.gradient}`}),d.jsx(Wh,{className:"absolute top-4 right-4 h-16 w-16 text-primary/5 transform rotate-180"}),d.jsx("div",{className:"mb-4",children:d.jsx("img",{src:t.logo,alt:t.organization,className:"h-12 w-auto object-contain grayscale group-hover:grayscale-0 transition-all duration-500"})}),d.jsxs("blockquote",{className:"text-foreground font-medium leading-relaxed mb-6 relative z-10",children:['"',t.quote,'"']}),d.jsxs("div",{className:"mt-auto",children:[d.jsx("p",{className:`text-sm font-semibold bg-gradient-to-r ${t.gradient} bg-clip-text text-transparent`,children:t.title}),d.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:t.organization})]})]})},r))})]})]}),kP=()=>d.jsxs("section",{id:"contact",className:"py-24 lg:py-32 relative overflow-hidden bg-gradient-to-br from-primary via-accent to-primary",children:[d.jsxs("div",{className:"absolute inset-0",children:[d.jsx("div",{className:"absolute top-10 right-10 w-96 h-96 bg-white/5 rounded-full blur-3xl animate-float"}),d.jsx("div",{className:"absolute bottom-10 left-10 w-72 h-72 bg-white/5 rounded-full blur-3xl animate-float",style:{animationDelay:"2s"}})]}),d.jsx("div",{className:"container mx-auto px-4 lg:px-8 relative z-10",children:d.jsxs("div",{className:"max-w-4xl mx-auto text-center space-y-8 animate-fade-in-up",children:[d.jsx("div",{className:"inline-flex p-4 rounded-xl bg-white/10 backdrop-blur-sm",children:d.jsx(lu,{className:"h-12 w-12 text-white"})}),d.jsx("h2",{className:"text-4xl md:text-6xl font-display font-bold text-white",children:"Ready to Transform Your Interactions?"}),d.jsx("p",{className:"text-xl md:text-2xl text-white/90 max-w-3xl mx-auto",children:"Whether you're looking to automate c
59alls, scale recruitment or understand your audience better, we have a solution for you."}),d.jsx("div",{className:"flex items-center justify-center pt-8",children:d.jsx(Tr,{to:"/contact",children:d.jsxs(Jt,{size:"lg",className:"bg-white text-primary hover:bg-white/90 font-semibold text-lg px-10 py-6 gap-2",children:[d.jsx(Iu,{className:"h-5 w-5"}),"Book a Meeting"]})})}),d.jsxs("div",{className:"pt-8 text-white/80",children:[d.jsx("p",{className:"text-lg",children:d.jsx("a",{href:"mailto:[email protected]",className:"hover:text-white transition-smooth",children:"[email protected]"})}),d.jsx("p",{className:"text-sm mt-2",children:"Riyadh, Saudi Arabia"})]})]})})]}),NP="/assets/logo-r1BVu757.png";var Ka="Dialog",[by]=Mn(Ka),[TP,en]=by(Ka),Sy=t=>{const{__scopeDialog:r,children:o,open:i,defaultOpen:l,onOpenChange:c,modal:f=!0}=t,p=v.useRef(null),h=v.useRef(null),[g,y]=ja({prop:i,defaultProp:l??!1,onChange:c,caller:Ka});return d.jsx(TP,{scope:r,triggerRef:p,contentRef:h,contentId:mo(),titleId:mo(),descriptionId:mo(),open:g,onOpenChange:y,onOpenToggle:v.useCallback(()=>y(x=>!x),[y]),modal:f,children:o})};Sy.displayName=Ka;var Cy="DialogTrigger",PP=v.forwardRef((t,r)=>{const{__scopeDialog:o,...i}=t,l=en(Cy,o),c=_e(r,l.triggerRef);return d.jsx(ke.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":pd(l.open),...i,ref:c,onClick:ce(t.onClick,l.onOpenToggle)})});PP.displayName=Cy;var dd="DialogPortal",[jP,Ey]=by(dd,{forceMount:void 0}),ky=t=>{const{__scopeDialog:r,forceMount:o,children:i,container:l}=t,c=en(dd,r);return d.jsx(jP,{scope:r,forceMount:o,children:v.Children.map(i,f=>d.jsx(wt,{present:o||c.open,children:d.jsx(Pa,{asChild:!0,container:l,children:f})}))})};ky.displayName=dd;var Ca="DialogOverlay",Ny=v.forwardRef((t,r)=>{const o=Ey(Ca,t.__scopeDialog),{forceMount:i=o.forceMount,...l}=t,c=en(Ca,t.__scopeDialog);return c.modal?d.jsx(wt,{present:i||c.open,children:d.jsx(AP,{...l,ref:r})}):null});Ny.displayName=Ca;var RP=xo("DialogOverlay.RemoveScroll"),AP=v.forwardRef((t,r)=>{const{__scopeDialog:o,...i}=t,l=en(Ca,o);return d.jsx(rd,{as:RP,allowPinchZoom:!0,shards:[l.contentRef],children:d.jsx(ke.div,{"data-state":pd(l.open),...i,ref:r,style:{pointerEvents:"auto",...i.style}})})}),jr="DialogContent",Ty=v.forwardRef((t,r)=>{const o=Ey(jr,t.__scopeDialog),{forceMount:i=o.forceMount,...l}=t,c=en(jr,t.__scopeDialog);return d.jsx(wt,{present:i||c.open,children:c.modal?d.jsx(_P,{...l,ref:r}):d.jsx(MP,{...l,ref:r})})});Ty.displayName=jr;var _P=v.forwardRef((t,r)=>{const o=en(jr,t.__scopeDialog),i=v.useRef(null),l=_e(r,o.contentRef,i);return v.useEffect(()=>{const c=i.current;if(c)return mv(c)},[]),d.jsx(Py,{...t,ref:l,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(t.onCloseAutoFocus,c=>{c.preventDefault(),o.triggerRef.current?.focus()}),onPointerDownOutside:ce(t.onPointerDownOutside,c=>{const f=c.detail.originalEvent,p=f.button===0&&f.ctrlKey===!0;(f.button===2||p)&&c.preventDefault()}),onFocusOutside:ce(t.onFocusOutside,c=>c.preventDefault())})}),MP=v.forwardRef((t,r)=>{const o=en(jr,t.__scopeDialog),i=v.useRef(!1),l=v.useRef(!1);return d.jsx(Py,{...t,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{t.onCloseAutoFocus?.(c),c.defaultPrevented||(i.current||o.triggerRef.current?.focus(),c.preventDefault()),i.current=!1,l.current=!1},onInteractOutside:c=>{t.onInteractOutside?.(c),c.defaultPrevented||(i.current=!0,c.detail.originalEvent.type==="pointerdown"&&(l.current=!0));const f=c.target;o.triggerRef.current?.contains(f)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&l.current&&c.preventDefault()}})}),Py=v.forwardRef((t,r)=>{const{__scopeDialog:o,trapFocus:i,onOpenAutoFocus:l,onCloseAutoFocus:c,...f}=t,p=en(jr,o),h=v.useRef(null),g=_e(r,h);return sv(),d.jsxs(d.Fragment,{children:[d.jsx(nd,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:l,onUnmountAutoFocus:c,children:d.jsx(As,{role:"dialog",id:p.contentId,"aria-describedby":p.descriptionId,"aria-labelledby":p.titleId,"data-state":pd(p.open),...f,ref:g,onDismiss:()=>p.onOpenChange(!1)})}),d.jsxs(d.Fragment,{children:[d.jsx(OP,{titleId:p.titleId}),d.jsx(DP,{contentRef:h,descriptionId:p.descriptionId})]})]})}),fd="DialogTitle",jy=v.forwardRef((t,r)=>{const{__scopeDialog:o,...i}=t,l=en(fd,o);return d.jsx(ke.h2,{id:l.titleId,...i,ref:r})});jy.displayName=fd;var Ry="DialogDescription",Ay=v.forwardRef((t,r)=>{const{__scopeDialog:o,...i}=t,l=en(Ry,o);return d.jsx(ke.p,{id:l.descriptionId,...i,ref:r})});Ay.displayName=Ry;var _y="DialogClose",My=v.forwardRef((t,r)=>{const{__scopeDialog:o,...i}=t,l=en(_y,o);return d.jsx(ke.button,{type:"button",...i,ref:r,onClick:ce(t.onClick,()=>l.onOpenChange(!1))})});My.displayName=_y;function pd(t){return t?"open":"closed"}var Oy="DialogTitleWarning",[kj,Iy]=gw(Oy,{contentName:jr,titleName:fd,docsSlug:"dialog"}),OP=({titleId:t})=>{const r=Iy(Oy),o=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users. 60 61If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component. 62 63For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return v.useEffect(()=>{t&&(document.getElementById(t)||console.error(o))},[o,t]),null},IP="DialogDescriptionWarning",DP=({contentRef:t,descriptionId:r})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Iy(IP).contentName}}.`;return v.useEffect(()=>{const l=t.current?.getAttribute("aria-describedby");r&&l&&(document.getElementById(r)||console.warn(i))},[i,t,r]),null},LP=Sy,FP=ky,Dy=Ny,Ly=Ty,Fy=jy,zy=Ay,zP=My;const $P=LP,BP=FP,$y=v.forwardRef(({className:t,...r},o)=>d.jsx(Dy,{ref:o,className:Ee("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...r}));$y.displayName=Dy.displayName;const By=v.forwardRef(({className:t,children:r,...o},i)=>d.jsxs(BP,{children:[d.jsx($y,{}),d.jsxs(Ly,{ref:i,className:Ee("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
63nded-lg",t),...o,children:[r,d.jsxs(zP,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[d.jsx(_a,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));By.displayName=Ly.displayName;const Uy=({className:t,...r})=>d.jsx("div",{className:Ee("flex flex-col space-y-1.5 text-center sm:text-left",t),...r});Uy.displayName="DialogHeader";const Hy=v.forwardRef(({className:t,...r},o)=>d.jsx(Fy,{ref:o,className:Ee("text-lg font-semibold leading-none tracking-tight",t),...r}));Hy.displayName=Fy.displayName;const UP=v.forwardRef(({className:t,...r},o)=>d.jsx(zy,{ref:o,className:Ee("text-sm text-muted-foreground",t),...r}));UP.displayName=zy.displayName;function HP(t,[r,o]){return Math.min(o,Math.max(r,t))}function WP(t,r){return v.useReducer((o,i)=>r[o][i]??o,t)}var md="ScrollArea",[Wy]=Mn(md),[VP,Ft]=Wy(md),Vy=v.forwardRef((t,r)=>{const{__scopeScrollArea:o,type:i="hover",dir:l,scrollHideDelay:c=600,...f}=t,[p,h]=v.useState(null),[g,y]=v.useState(null),[x,S]=v.useState(null),[b,N]=v.useState(null),[C,E]=v.useState(null),[j,_]=v.useState(0),[A,D]=v.useState(0),[$,W]=v.useState(!1),[V,X]=v.useState(!1),J=_e(r,de=>h(de)),se=td(l);return d.jsx(VP,{scope:o,type:i,dir:se,scrollHideDelay:c,scrollArea:p,viewport:g,onViewportChange:y,content:x,onContentChange:S,scrollbarX:b,onScrollbarXChange:N,scrollbarXEnabled:$,onScrollbarXEnabledChange:W,scrollbarY:C,onScrollbarYChange:E,scrollbarYEnabled:V,onScrollbarYEnabledChange:X,onCornerWidthChange:_,onCornerHeightChange:D,children:d.jsx(ke.div,{dir:se,...f,ref:J,style:{position:"relative","--radix-scroll-area-corner-width":j+"px","--radix-scroll-area-corner-height":A+"px",...t.style}})})});Vy.displayName=md;var Ky="ScrollAreaViewport",Gy=v.forwardRef((t,r)=>{const{__scopeScrollArea:o,children:i,nonce:l,...c}=t,f=Ft(Ky,o),p=v.useRef(null),h=_e(r,p,f.onViewportChange);return d.jsxs(d.Fragment,{children:[d.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),d.jsx(ke.div,{"data-radix-scroll-area-viewport":"",...c,ref:h,style:{overflowX:f.scrollbarXEnabled?"scroll":"hidden",overflowY:f.scrollbarYEnabled?"scroll":"hidden",...t.style},children:d.jsx("div",{ref:f.onContentChange,style:{minWidth:"100%",display:"table"},children:i})})]})});Gy.displayName=Ky;var wn="ScrollAreaScrollbar",hd=v.forwardRef((t,r)=>{const{forceMount:o,...i}=t,l=Ft(wn,t.__scopeScrollArea),{onScrollbarXEnabledChange:c,onScrollbarYEnabledChange:f}=l,p=t.orientation==="horizontal";return v.useEffect(()=>(p?c(!0):f(!0),()=>{p?c(!1):f(!1)}),[p,c,f]),l.type==="hover"?d.jsx(KP,{...i,ref:r,forceMount:o}):l.type==="scroll"?d.jsx(GP,{...i,ref:r,forceMount:o}):l.type==="auto"?d.jsx(qy,{...i,ref:r,forceMount:o}):l.type==="always"?d.jsx(gd,{...i,ref:r}):null});hd.displayName=wn;var KP=v.forwardRef((t,r)=>{const{forceMount:o,...i}=t,l=Ft(wn,t.__scopeScrollArea),[c,f]=v.useState(!1);return v.useEffect(()=>{const p=l.scrollArea;let h=0;if(p){const g=()=>{window.clearTimeout(h),f(!0)},y=()=>{h=window.setTimeout(()=>f(!1),l.scrollHideDelay)};return p.addEventListener("pointerenter",g),p.addEventListener("pointerleave",y),()=>{window.clearTimeout(h),p.removeEventListener("pointerenter",g),p.removeEventListener("pointerleave",y)}}},[l.scrollArea,l.scrollHideDelay]),d.jsx(wt,{present:o||c,children:d.jsx(qy,{"data-state":c?"visible":"hidden",...i,ref:r})})}),GP=v.forwardRef((t,r)=>{const{forceMount:o,...i}=t,l=Ft(wn,t.__scopeScrollArea),c=t.orientation==="horizontal",f=qa(()=>h("SCROLL_END"),100),[p,h]=WP("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return v.useEffect(()=>{if(p==="idle"){const g=window.setTimeout(()=>h("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(g)}},[p,l.scrollHideDelay,h]),v.useEffect(()=>{const g=l.viewport,y=c?"scrollLeft":"scrollTop";if(g){let x=g[y];const S=()=>{const b=g[y];x!==b&&(h("SCROLL"),f()),x=b};return g.addEventListener("scroll",S),()=>g.removeEventListener("scroll",S)}},[l.viewport,c,h,f]),d.jsx(wt,{present:o||p!=="hidden",children:d.jsx(gd,{"data-state":p==="hidden"?"hidden":"visible",...i,ref:r,onPointerEnter:ce(t.onPointerEnter,()=>h("POINTER_ENTER")),onPointerLeave:ce(t.onPointerLeave,()=>h("POINTER_LEAVE"))})})}),qy=v.forwardRef((t,r)=>{const o=Ft(wn,t.__scopeScrollArea),{forceMount:i,...l}=t,[c,f]=v.useState(!1),p=t.orientation==="horizontal",h=qa(()=>
vendor: 5,067 bytes, line 63
63{if(o.viewport){const g=o.viewport.offsetWidth<o.viewport.scrollWidth,y=o.viewport.offsetHeight<o.viewport.scrollHeight;f(p?g:y)}},10);return So(o.viewport,h),So(o.content,h),d.jsx(wt,{present:i||c,children:d.jsx(gd,{"data-state":c?"visible":"hidden",...l,ref:r})})}),gd=v.forwardRef((t,r)=>{const{orientation:o="vertical",...i}=t,l=Ft(wn,t.__scopeScrollArea),c=v.useRef(null),f=v.useRef(0),[p,h]=v.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),g=Jy(p.viewport,p.content),y={...i,sizes:p,onSizesChange:h,hasThumb:g>0&&g<1,onThumbChange:S=>c.current=S,onThumbPointerUp:()=>f.current=0,onThumbPointerDown:S=>f.current=S};function x(S,b){return JP(S,f.current,p,b)}return o==="horizontal"?d.jsx(qP,{...y,ref:r,onThumbPositionChange:()=>{if(l.viewport&&c.current){const S=l.viewport.scrollLeft,b=fh(S,p,l.dir);c.current.style.transform=`translate3d(${b}px, 0, 0)`}},onWheelScroll:S=>{l.viewport&&(l.viewport.scrollLeft=S)},onDragScroll:S=>{l.viewport&&(l.viewport.scrollLeft=x(S,l.dir))}}):o==="vertical"?d.jsx(QP,{...y,ref:r,onThumbPositionChange:()=>{if(l.viewport&&c.current){const S=l.viewport.scrollTop,b=fh(S,p);c.current.style.transform=`translate3d(0, ${b}px, 0)`}},onWheelScroll:S=>{l.viewport&&(l.viewport.scrollTop=S)},onDragScroll:S=>{l.viewport&&(l.viewport.scrollTop=x(S))}}):null}),qP=v.forwardRef((t,r)=>{const{sizes:o,onSizesChange:i,...l}=t,c=Ft(wn,t.__scopeScrollArea),[f,p]=v.useState(),h=v.useRef(null),g=_e(r,h,c.onScrollbarXChange);return v.useEffect(()=>{h.current&&p(getComputedStyle(h.current))},[h]),d.jsx(Yy,{"data-orientation":"horizontal",...l,ref:g,sizes:o,style:{bottom:0,left:c.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:c.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Ga(o)+"px",...t.style},onThumbPointerDown:y=>t.onThumbPointerDown(y.x),onDragScroll:y=>t.onDragScroll(y.x),onWheelScroll:(y,x)=>{if(c.viewport){const S=c.viewport.scrollLeft+y.deltaX;t.onWheelScroll(S),tx(S,x)&&y.preventDefault()}},onResize:()=>{h.current&&c.viewport&&f&&i({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:h.current.clientWidth,paddingStart:ka(f.paddingLeft),paddingEnd:ka(f.paddingRight)}})}})}),QP=v.forwardRef((t,r)=>{const{sizes:o,onSizesChange:i,...l}=t,c=Ft(wn,t.__scopeScrollArea),[f,p]=v.useState(),h=v.useRef(null),g=_e(r,h,c.onScrollbarYChange);return v.useEffect(()=>{h.current&&p(getComputedStyle(h.current))},[h]),d.jsx(Yy,{"data-orientation":"vertical",...l,ref:g,sizes:o,style:{top:0,right:c.dir==="ltr"?0:void 0,left:c.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Ga(o)+"px",...t.style},onThumbPointerDown:y=>t.onThumbPointerDown(y.y),onDragScroll:y=>t.onDragScroll(y.y),onWheelScroll:(y,x)=>{if(c.viewport){const S=c.viewport.scrollTop+y.deltaY;t.onWheelScroll(S),tx(S,x)&&y.preventDefault()}},onResize:()=>{h.current&&c.viewport&&f&&i({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:h.current.clientHeight,paddingStart:ka(f.paddingTop),paddingEnd:ka(f.paddingBottom)}})}})}),[YP,Qy]=Wy(wn),Yy=v.forwardRef((t,r)=>{const{__scopeScrollArea:o,sizes:i,hasThumb:l,onThumbChange:c,onThumbPointerUp:f,onThumbPointerDown:p,onThumbPositionChange:h,onDragScroll:g,onWheelScroll:y,onResize:x,...S}=t,b=Ft(wn,o),[N,C]=v.useState(null),E=_e(r,J=>C(J)),j=v.useRef(null),_=v.useRef(""),A=b.viewport,D=i.content-i.viewport,$=Ke(y),W=Ke(h),V=qa(x,10);function X(J){if(j.current){const se=J.clientX-j.current.left,de=J.clientY-j.current.top;g({x:se,y:de})}}return v.useEffect(()=>{const J=se=>{const de=se.target;N?.contains(de)&&$(se,D)};return document.addEventListener("wheel",J,{passive:!1}),()=>document.removeEventListener("wheel",J,{passive:!1})},[A,N,D,$]),v.useEffect(W,[i,W]),So(N,V),So(b.content,V),d.jsx(YP,{scope:o,scrollbar:N,hasThumb:l,onThumbChange:Ke(c),onThumbPointerUp:Ke(f),onThumbPositionChange:W,onThumbPointerDown:Ke(p),children:d.jsx(ke.div,{...S,ref:E,style:{position:"absolute",...S.style},onPointerDown:ce(t.onPointerDown,J=>{J.button===0&&(J.target.setPointerCapture(J.pointerId),j.current=N.getBoundingClientRect(),_.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",b.viewport&&(b.viewport.style.scrollBehavior="auto"),X(J))}),onPointerMove:ce(t.onPointerMove,X),onPointerUp:ce(t.onPointerUp,J=>{const se=J.target;se.hasPointerCapture(J.pointerId)&&se.releasePointerCapture(J.pointerId),document.body.style.webkitUserSelect=_.current,b.viewport&&(b.viewport.style.scrollBehavior=""),j.current=null})})})}),Ea="ScrollAreaThumb",Xy=v.forwardRef((t,r)=>{const{forceMount:o,...i}=t,l=Qy(Ea,t.__scopeScrollArea);return d.jsx(wt,{present:o||l.hasThumb,children:d.jsx(XP,{ref:r,...i})})}),XP=v.forwardRef((t,r)=>{const{__scopeScrollArea:o,style:i,...l}=t,c=Ft(Ea,o),f=Qy(Ea,o),{onThumbPositionChange:p}=f,h=_e(r,x=>f.onThumbChange(x)),g=v.useRef(void 0),y=qa(()=>{g.current&&(g.current(),g.current=void 0)},100);return v.useEffect(()=>{const x=c.viewport;if(x){const S=()=>
vendor: 5,608 bytes, line 63
63{if(y(),!g.current){const b=ej(x,p);g.current=b,p()}};return p(),x.addEventListener("scroll",S),()=>x.removeEventListener("scroll",S)}},[c.viewport,y,p]),d.jsx(ke.div,{"data-state":f.hasThumb?"visible":"hidden",...l,ref:h,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...i},onPointerDownCapture:ce(t.onPointerDownCapture,x=>{const b=x.target.getBoundingClientRect(),N=x.clientX-b.left,C=x.clientY-b.top;f.onThumbPointerDown({x:N,y:C})}),onPointerUp:ce(t.onPointerUp,f.onThumbPointerUp)})});Xy.displayName=Ea;var vd="ScrollAreaCorner",Zy=v.forwardRef((t,r)=>{const o=Ft(vd,t.__scopeScrollArea),i=!!(o.scrollbarX&&o.scrollbarY);return o.type!=="scroll"&&i?d.jsx(ZP,{...t,ref:r}):null});Zy.displayName=vd;var ZP=v.forwardRef((t,r)=>{const{__scopeScrollArea:o,...i}=t,l=Ft(vd,o),[c,f]=v.useState(0),[p,h]=v.useState(0),g=!!(c&&p);return So(l.scrollbarX,()=>{const y=l.scrollbarX?.offsetHeight||0;l.onCornerHeightChange(y),h(y)}),So(l.scrollbarY,()=>{const y=l.scrollbarY?.offsetWidth||0;l.onCornerWidthChange(y),f(y)}),g?d.jsx(ke.div,{...i,ref:r,style:{width:c,height:p,position:"absolute",right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:0,...t.style}}):null});function ka(t){return t?parseInt(t,10):0}function Jy(t,r){const o=t/r;return isNaN(o)?0:o}function Ga(t){const r=Jy(t.viewport,t.content),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=(t.scrollbar.size-o)*r;return Math.max(i,18)}function JP(t,r,o,i="ltr"){const l=Ga(o),c=l/2,f=r||c,p=l-f,h=o.scrollbar.paddingStart+f,g=o.scrollbar.size-o.scrollbar.paddingEnd-p,y=o.content-o.viewport,x=i==="ltr"?[0,y]:[y*-1,0];return ex([h,g],x)(t)}function fh(t,r,o="ltr"){const i=Ga(r),l=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,c=r.scrollbar.size-l,f=r.content-r.viewport,p=c-i,h=o==="ltr"?[0,f]:[f*-1,0],g=HP(t,h);return ex([0,f],[0,p])(g)}function ex(t,r){return o=>{if(t[0]===t[1]||r[0]===r[1])return r[0];const i=(r[1]-r[0])/(t[1]-t[0]);return r[0]+i*(o-t[0])}}function tx(t,r){return t>0&&t<r}var ej=(t,r=()=>{})=>{let o={left:t.scrollLeft,top:t.scrollTop},i=0;return(function l(){const c={left:t.scrollLeft,top:t.scrollTop},f=o.left!==c.left,p=o.top!==c.top;(f||p)&&r(),o=c,i=window.requestAnimationFrame(l)})(),()=>window.cancelAnimationFrame(i)};function qa(t,r){const o=Ke(t),i=v.useRef(0);return v.useEffect(()=>()=>window.clearTimeout(i.current),[]),v.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(o,r)},[o,r])}function So(t,r){const o=Ke(r);vn(()=>{let i=0;if(t){const l=new ResizeObserver(()=>{cancelAnimationFrame(i),i=window.requestAnimationFrame(o)});return l.observe(t),()=>{window.cancelAnimationFrame(i),l.unobserve(t)}}},[t,o])}var nx=Vy,tj=Gy,nj=Zy;const rx=v.forwardRef(({className:t,children:r,...o},i)=>d.jsxs(nx,{ref:i,className:Ee("relative overflow-hidden",t),...o,children:[d.jsx(tj,{className:"h-full w-full rounded-[inherit]",children:r}),d.jsx(ox,{}),d.jsx(nj,{})]}));rx.displayName=nx.displayName;const ox=v.forwardRef(({className:t,orientation:r="vertical",...o},i)=>d.jsx(hd,{ref:i,orientation:r,className:Ee("flex touch-none select-none transition-colors",r==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",r==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...o,children:d.jsx(Xy,{className:"relative flex-1 rounded-full bg-border"})}));ox.displayName=hd.displayName;const sx=({isOpen:t,onClose:r,type:o})=>{const i={privacy:{title:"ð Privacy Policy â Future Look",content:d.jsxs(d.Fragment,{children:[d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:'Future Look ("we", "our", "us") is committed to protecting your personal data and ensuring transparency in how we collect, use, and safeguard information.'}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"1. Information We Collect"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"We may collect:"}),d.jsxs("ul",{className:"list-disc list-inside space-y-2 text-sm text-muted-foreground mb-4",children:[d.jsx("li",{children:"Personal details (name, email, phone number)."}),d.jsx("li",{children:"Company information when submitting business inquiries."}),d.jsx("li",{children:"Usage data such as IP address, browser type, and pages visited."}),d.jsx("li",{children:"Data submitted voluntarily through forms, demos, or contact pages."})]}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"2. How We Use Your Information"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"We use collected information to:"}),d.jsxs("ul",{className:"list-disc list-inside space-y-2 text-sm text-muted-foreground mb-4",children:[d.jsx("li",{children:"Provide and improve our products and services."}),d.jsx("li",{children:"Respond to inquiries and support requests."}),d.jsx("li",{children:"Customize user experiences on our website."}),d.jsx("li",{children:"Conduct analytics to enhance performance and security."}),d.jsx("li",{children:"Send service-related updates or marketing communications (with consent)."})]}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"3. Data Sharing & Third Parties"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"We do not sell personal data."}),d.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"We may share information with:"}),d.jsxs("ul",{className:"list-disc list-inside space-y-2 text-sm text-muted-foreground mb-4",children:[d.jsx("li",{children:"Trusted service providers (hosting, analytics, c
63ommunication tools)."}),d.jsx("li",{children:"Government and regulatory entities when legally required."})]}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"4. Data Protection"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"We implement technical and organizational security measures to protect your data from unauthorized access, alteration, or disclosure."}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"5. Your Rights"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"You may request to:"}),d.jsxs("ul",{className:"list-disc list-inside space-y-2 text-sm text-muted-foreground mb-4",children:[d.jsx("li",{children:"Access, update, or delete your personal information."}),d.jsx("li",{children:"Withdraw consent for communications at any time."})]}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"6. Contact"}),d.jsxs("p",{className:"text-sm text-muted-foreground",children:["For privacy-related inquiries: ",d.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})]})},terms:{title:"ð Terms of Service â Future Look",content:d.jsxs(d.Fragment,{children:[d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"By accessing or using the Future Look website or services, you agree to the following terms:"}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"1. Use of Services"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"You agree to use our website and content for lawful purposes only and not to engage in any activities that may harm the platform, users, or brand."}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"2. Intellectual Property"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"All trademarks, logos, text, images, and content on this site belong to Future Look and may not be copied or reused without written permission."}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"3. User Submissions"}),d.jsxs("ul",{className:"list-disc list-inside space-y-2 text-sm text-muted-foreground mb-4",children:[d.jsx("li",{children:"Any information submitted through forms or contact sections must be accurate."}),d.jsx("li",{children:"You grant us permission to use submitted information to provide services or support."})]}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"4. Service Modifications"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"We may update, modify, or discontinue any part of the website without prior notice."}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"5. Limitation of Liability"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Future Look is not responsible for any direct or indirect damages resulting from the use or inability to use our website or services."}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"6. Governing Law"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"These terms are governed by the laws of the Kingdom of Saudi Arabia."})]})},cookies:{title:"ðª Cookie Policy â Future Look",content:d.jsxs(d.Fragment,{children:[d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Our website uses cookies to improve user experience and ensure optimal performance."}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"1. What Are Cookies?"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Cookies are small files stored on your device that help us remember your preferences and analyze how you use the website."}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"2. Types of Cookies We Use"}),d.jsxs("ul",{className:"list-disc list-inside space-y-2 text-sm text-muted-foreground mb-4",children:[d.jsxs("li",{children:[d.jsx("strong",{children:"Essential Cookies:"})," Needed for the website to function properly."]}
63),d.jsxs("li",{children:[d.jsx("strong",{children:"Analytics Cookies:"})," Help us understand traffic, usage, and performance."]}),d.jsxs("li",{children:[d.jsx("strong",{children:"Functional Cookies:"})," Store user preferences for a more personalized experience."]})]}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"3. How We Use Cookies"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"We use cookies to:"}),d.jsxs("ul",{className:"list-disc list-inside space-y-2 text-sm text-muted-foreground mb-4",children:[d.jsx("li",{children:"Improve page loading speed and navigation."}),d.jsx("li",{children:"Analyze visitor behavior for optimization."}),d.jsx("li",{children:"Store language, region, or user-specific settings."})]}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"4. Managing Cookies"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"You can disable cookies through your browser settings, but some website features may not function properly without them."}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mt-6 mb-3",children:"5. Updates"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"We may update this policy to reflect changes in technology or legal requirements."})]})}},{title:l,content:c}=i[o];return d.jsx($P,{open:t,onOpenChange:r,children:d.jsxs(By,{className:"max-w-3xl max-h-[80vh]",children:[d.jsx(Uy,{children:d.jsx(Hy,{className:"text-2xl font-bold",children:l})}),d.jsx(rx,{className:"h-[60vh] pr-4",children:d.jsx("div",{className:"space-y-4",children:c})})]})})},rj=()=>{const[t,r]=v.useState(null),o=[{label:"Home",href:"/"},{label:"About",href:"/about"},{label:"Solutions",href:"#solutions"},{label:"Case Studies",href:"#cases"},{label:"News",href:"/news"},{label:"Contact",href:"/contact"}],i=["Callbot","Chatbot","Voicebot","Smart Recruiter","Voice of Customer","Social Understanding"];return d.jsxs("footer",{className:"relative bg-gradient-to-b from-background via-muted/20 to-muted/40 border-t border-border overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 opacity-5",children:d.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle at 2px 2px, hsl(var(--primary)) 1px, transparent 0)",backgroundSize:"48px 48px"}})}),d.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-8 sm:py-10 relative z-10",children:[d.jsx("div",{className:"mb-6 sm:mb-8 pb-6 sm:pb-8 border-b border-border/50",children:d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 sm:gap-8 items-start",children:[d.jsxs("div",{className:"space-y-3 sm:space-y-4",children:[d.jsx("img",{src:NP,alt:"Future Look Group logo",width:"180",height:"40",className:"h-8 sm:h-10 w-auto"}),d.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground max-w-md leading-relaxed",children:"Building AI solutions for the Arabic world â from intelligent customer interactions to advanced recruitment automation."}),d.jsxs("div",{className:"flex items-center gap-2 sm:gap-3",children:[d.jsx("a",{href:"https://www.linkedin.com/company/future-look-itc/",target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 rounded-full bg-primary/10 hover:bg-primary/20 flex items-center justify-center text-primary transition-all duration-300 hover:scale-110","aria-label":"LinkedIn",children:d.jsx(b1,{className:"h-4 w-4"})}),d.jsx("a",{href:"https://x.com/futurelookitc",target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 rounded-full bg-primary/10 hover:bg-primary/20 flex items-center justify-center text-primary transition-all duration-300 hover:scale-110","aria-label":"Twitter",children:d.jsx(M1,{className:"h-4 w-4"})})]})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h3",{className:"text-base sm:text-lg font-display font-bold text-foreground mb-3 sm:mb-4",children:"Get in Touch"}),d.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[d.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-3 text-muted-foreground hover:text-primary transition-smooth group",children:[d.jsx("div",{className:"w-8 h-8 sm:w-9 sm:h-9 rounded-lg bg-primary/10 flex items-center justify-center group-hover:bg-primary/20 transition-all flex-shrink-0",children:d.jsx(S1,{className:"h-4 w-4"})}),d.jsx("span",{className:"text-xs sm:text-sm font-medium break-all",children:"[email protected]"})]}),d.jsxs("a",{href:"tel:+966920032077",className:"flex items-center gap-3 text-muted-foreground hover:text-primary transition-smooth group",children:[d.jsx("div",{className:"w-8 h-8 sm:w-9 sm:h-9 rounded-lg bg-primary/10 flex items-center justify-center group-hover:bg-primary/20 transition-all flex-shrink-0",children:d.jsx(Hh,{className:"h-4 w-4"})}),d.jsx("span",{className:"text-xs sm:text-sm font-medium",children:"+966 9200 320 77"})]}),d.jsxs("div",{className:"flex items-center gap-3 text-muted-foreground",children:[d.jsx("div",{className:"w-8 h-8 sm:w-9 sm:h-9 rounded-lg bg-primary/10 flex items-center justify-center flex-shrink-0",children:d.jsx(Uh,{className:"h-4 w-4"})}),d.jsx("span",{className:"text-xs sm:text-sm font-medium",children:"Olayya, King Fahad Branch Road, Riyadh"})]}),d.jsxs("a",{href:"https://maps.app.goo.gl/CuXXvxTgEWBpa6gV9?g_st=ic",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 text-muted-foreground hover:text-primary transition-smooth group",children:[d.jsx("div",{className:"w-8 h-8 sm:w-9 sm:h-9 rounded-lg bg-primary/10 flex items-center justify-center group-hover:bg-primary/20 transition-all flex-shrink-0",children:d.jsx(N1,{className:"h-4 w-4"})}),d.jsx("span",{className:"text-xs sm:text-sm font-medium",children:"Get Directions"})]})]})]})]})}),d.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8 mb-6 sm:mb-8",children:[d.jsxs("div",{className:"animate-fade-in",children:[d.jsx("h3",{className:"text-sm sm:text-base font-display font-bold text-foreground mb-3 sm:mb-4",children:"Qu
63ick Links"}),d.jsx("ul",{className:"space-y-2 sm:space-y-3",children:o.map((l,c)=>d.jsx("li",{children:l.href.startsWith("/")?d.jsxs(Tr,{to:l.href,className:"text-xs sm:text-sm text-muted-foreground hover:text-primary transition-smooth inline-flex items-center gap-2 group",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary/50 group-hover:bg-primary transition-all flex-shrink-0"}),l.label]}):d.jsxs("a",{href:l.href,className:"text-xs sm:text-sm text-muted-foreground hover:text-primary transition-smooth inline-flex items-center gap-2 group",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary/50 group-hover:bg-primary transition-all flex-shrink-0"}),l.label]})},c))})]}),d.jsxs("div",{className:"animate-fade-in",style:{animationDelay:"0.1s"},children:[d.jsx("h3",{className:"text-sm sm:text-base font-display font-bold text-foreground mb-3 sm:mb-4",children:"Our Solutions"}),d.jsx("ul",{className:"space-y-2 sm:space-y-3",children:i.slice(0,4).map((l,c)=>d.jsx("li",{children:d.jsxs("a",{href:"#solutions",className:"text-xs sm:text-sm text-muted-foreground hover:text-primary transition-smooth inline-flex items-center gap-2 group",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary/50 group-hover:bg-primary transition-all flex-shrink-0"}),l]})},c))})]}),d.jsxs("div",{className:"animate-fade-in sm:col-span-2 lg:col-span-1",style:{animationDelay:"0.2s"},children:[d.jsx("h3",{className:"text-sm sm:text-base font-display font-bold text-foreground mb-3 sm:mb-4 lg:opacity-0",children:"More"}),d.jsx("ul",{className:"space-y-2 sm:space-y-3",children:i.slice(4).map((l,c)=>d.jsx("li",{children:d.jsxs("a",{href:"#solutions",className:"text-xs sm:text-sm text-muted-foreground hover:text-primary transition-smooth inline-flex items-center gap-2 group",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary/50 group-hover:bg-primary transition-all flex-shrink-0"}),l]})},c))})]})]}),d.jsxs("div",{className:"pt-4 sm:pt-6 border-t border-border/50 flex flex-col md:flex-row items-center justify-between gap-3 sm:gap-4",children:[d.jsx("div",{className:"text-xs sm:text-sm text-muted-foreground text-center md:text-left",children:"© 2026 Future Look Group. All rights reserved."}),d.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-3 sm:gap-6 text-xs sm:text-sm text-muted-foreground",children:[d.jsx("button",{onClick:()=>r("privacy"),className:"hover:text-primary transition-smooth whitespace-nowrap",children:"Privacy Policy"}),d.jsx("span",{className:"hidden sm:inline",children:"â¢"}),d.jsx("button",{onClick:()=>r("terms"),className:"hover:text-primary transition-smooth whitespace-nowrap",children:"Terms of Service"}),d.jsx("span",{className:"hidden sm:inline",children:"â¢"}),d.jsx("button",{onClick:()=>r("cookies"),className:"hover:text-primary transition-smooth whitespace-nowrap",children:"Cookie Policy"})]})]})]}),t&&d.jsx(sx,{isOpen:!!t,onClose:()=>r(null),type:t})]})},oj=({title:t,description:r,keywords:o="AI, Arabic AI, Venture Studio, Saudi Arabia, Innovation, Technology, Artificial Intelligence",ogImage:i="/og-image.jpg",ogType:l="website",canonical:c,structuredData:f,noIndex:p=!1})=>{const h=window.location.origin,g=window.location.href,y=c?`${h}${c}`:g;return d.jsxs(Ok,{children:[d.jsx("title",{children:t}),d.jsx("meta",{name:"title",content:t}),d.jsx("meta",{name:"description",content:r}),d.jsx("meta",{name:"keywords",content:o}),d.jsx("link",{rel:"canonical",href:y}),d.jsx("meta",{property:"og:type",content:l}),d.jsx("meta",{property:"og:url",content:g}),d.jsx("meta",{property:"og:title",content:t}),d.jsx("meta",{property:"og:description",content:r}),d.jsx("meta",{property:"og:image",content:`${h}${i}`}),d.jsx("meta",{property:"og:image:width",content:"1200"}),d.jsx("meta",{property:"og:image:height",content:"630"}),d.jsx("meta",{property:"og:site_name",content:"Future Look Group"}),d.jsx("meta",{property:"og:locale",content:"en_US"}),d.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),d.jsx("meta",{name:"twitter:site",content:"@futurelookitc"}),d.jsx("meta",{name:"twitter:url",content:g}),d.jsx("meta",{name:"twitter:title",content:t}),d.jsx("meta",{name:"twitter:description",content:r}),d.jsx("meta",{name:"twitter:image",content:`${h}${i}`}),p?d.jsx("meta",{name:"robots",content:"noindex, nofollow"}):d.jsx("meta",{name:"robots",content:"index, follow"}),d.jsx("meta",{name:"language",content:"English"}
63),d.jsx("meta",{httpEquiv:"Content-Type",content:"text/html; charset=utf-8"}),d.jsx("meta",{name:"author",content:"Future Look Group"}),f&&d.jsx("script",{type:"application/ld+json",children:JSON.stringify(f)})]})},sj=()=>{const t={"@context":"https://schema.org","@type":"Organization",name:"Future Look Group",alternateName:"Ø¨ÙØª Ø§ÙØ°Ùاء Ø§ÙØ§ØµØ·ÙØ§Ø¹Ù Ø§ÙØ¹Ø±Ø¨Ù",url:"https://futurelock.ai",logo:"https://futurelock.ai/logo.png",description:"Arabic-first AI solutions for voice, chat and recruitment â trusted by leading Saudi organisations.",foundingDate:"2020",address:{"@type":"PostalAddress",addressCountry:"SA",addressRegion:"Riyadh"},contactPoint:{"@type":"ContactPoint",contactType:"Business Inquiries",email:"[email protected]"},sameAs:["https://www.linkedin.com/company/future-look-itc/","https://x.com/futurelookitc"],founder:{"@type":"Person",name:"Eng. Mnahi Al Masoud",jobTitle:"Founder and CEO",worksFor:{"@type":"Organization",name:"Future Look Group"}}};return d.jsxs("div",{className:"min-h-screen",children:[d.jsx(oj,{title:"Future Look Group - Elevate Customer Experiences with Arabic-First AI",description:"Our AI-powered voice, chat and recruitment solutions are built locally and trusted by leading Saudi organisations. Book a meeting today.",keywords:"AI, Arabic AI, Callbot, Chatbot, Voicebot, Smart Recruiter, Saudi Arabia, Customer Experience, MENA",canonical:"/",structuredData:t}),d.jsx(sT,{}),d.jsxs("main",{children:[d.jsx(aT,{}),d.jsx(hT,{}),d.jsx(dh,{variant:"stats"}),d.jsx(gT,{}),d.jsx(wP,{}),d.jsx(SP,{}),d.jsx(EP,{}),d.jsx(dh,{variant:"cta"}),d.jsx(kP,{})]}),d.jsx(rj,{})]})},la="cookie-consent-status",ij=()=>{const[t,r]=v.useState(!1),[o,i]=v.useState(!1);v.useEffect(()=>{localStorage.getItem(la)||setTimeout(()=>r(!0),1e3)},[]);const l=()=>{localStorage.setItem(la,"accepted"),r(!1)},c=()=>{localStorage.setItem(la,"necessary-only"),r(!1)},f=()=>{localStorage.setItem(la,"necessary-only"),r(!1)};return t?d.jsxs(d.Fragment,{children:[d.jsx("div",{role:"dialog","aria-label":"Cookie consent banner",className:`fixed bottom-0 left-0 right-0 z-50 border-t border-primary/20 bg-background/95 backdrop-blur-xl shadow-2xl transition-transform duration-300 ${t?"translate-y-0":"translate-y-full"}`,children:d.jsx("div",{className:"container mx-auto max-w-7xl p-4 md:p-6",children:d.jsxs("div",{className:"flex flex-col gap-4 md:flex-row md:items-center md:justify-between",children:[d.jsxs("div",{className:"flex items-start gap-3 flex-1",children:[d.jsx("span",{className:"text-2xl",role:"img","aria-label":"Cookie",children:"ðª"}),d.jsxs("div",{className:"flex-1",children:[d.jsx("h3",{className:"font-semibold text-foreground mb-1",children:"We use cookies"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"We use cookies to improve your experience, analyze site traffic, and personalize content. You can choose to accept all cookies or only necessary ones."})]})]}),d.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 md:gap-3 md:ml-4",children:[d.jsx(Jt,{variant:"outline",size:"sm",onClick:c,className:"whitespace-nowrap",children:"Only Necessary"}),d.jsx(Jt,{size:"sm",onClick:l,className:"whitespace-nowrap",children:"Accept All Cookies"}),d.jsx("button",{onClick:()=>i(!0),className:"text-sm text-primary hover:underline underline-offset-4 transition-colors",children:"Cookie Settings"})]}),d.jsx("button",{onClick:f,className:"absolute top-2 right-2 md:relative md:top-0 md:right-0 p-2 text-muted-foreground hover:text-foreground transition-colors rounded-lg hover:bg-card","aria-label":"Close cookie banner",children:d.jsx(_a,{className:"h-4 w-4"})})]})})}),d.jsx(sx,{isOpen:o,onClose:()=>i(!1),type:"cookies"})]}):null},aj=()=>{const{pathname:t}=fr();return v.useEffect(()=>{window.scrollTo(0,0)},[t]),null},lj=()=>{const t=fr();v.useEffect(()=>{typeof window.gtag=="function"&&window.gtag("event","page_view",{page_path:t.pathname+t.search,page_location:window.location.href,page_title:document.title})},[t])},cj=()=>(lj(),null),uj=v.lazy(()=>ur(()=>import("./About-DN8mepIA.js"),__vite__mapDeps([0,1,2,3,4]))),dj=v.lazy(()=>ur(()=>import("./Contact-DPepWuYW.js"),__vite__mapDeps([5,3]))),fj=v.lazy(()=>ur(()=>import("./FLP-tABLBggr.js"),__vite__mapDeps([6,3,4,2]))),pj=v.lazy(()=>ur(()=>import("./Companies-KDlYzS2d.js"),__vite__mapDeps([7,3,1,4]))),mj=v.lazy(()=>ur(()=>import("./News-DhpABhZ9.js"),__vite__mapDeps([8,3]))),hj=v.lazy(()=>ur(()=>import("./InvestorRelations-Dl1QlHGW.js"),__vite__mapDeps([9,3,2]))),gj=v.lazy(()=>ur(()=>import("./PressRelease-CyFERlKp.js"),[])),vj=v.lazy(()=>ur(()=>import("./NotFound-DrygF4F1.js"),[])),yj=new rE,xj=()=>d.jsx(sE,{client:yj,children:d.jsx(Dk,{children:d.jsx(rv,{children:d.jsxs(Mg,{children:[d.jsx(gb,{}),d.jsx(qb,{}),d.jsx(ij,{}),d.jsxs(ok,{children:[d.jsx(aj,{}),d.jsx(cj,{}),d.jsx(v.Suspense,{fallback:d.jsx("div",{className:"min-h-screen bg-background"}),children:d.jsxs(XE,{children:[d.jsx(pn,{path:"/",element:d.jsx(sj,{})}),d.jsx(pn,{path:"/about",element:d.jsx(uj,{})}),d.jsx(pn,{path:"/flp",element:d.jsx(fj,{})}),d.jsx(pn,{path:"/companies",element:d.jsx(pj,{})}),d.jsx(pn,{path:"/news",element:d.jsx(mj,{})}),d.jsx(pn,{path:"/investor-relations",element:d.jsx(hj,{})}),d.jsx(pn,{path:"/contact",element:d.jsx(dj,{})}),d.jsx(pn,{path:"/press-release/:slug",element:d.jsx(gj,{})}),d.jsx(pn,{path:"*",element:d.jsx(vj,{})})]})})]})]})})})});aw.createRoot(document.getElementById("root")).render(d.jsx(xj,{}));export{T1 as $,f1 as A,Jt as B,g1 as C,rd as D,nd as E,rj as F,As as G,sT as H,xo as I,Cg as J,HP as K,Eg as L,S1 as M,Hh as N,m1 as O,wt as P,Rs as Q,G as R,lu as S,R1 as T,O1 as U,Bw as V,Tr as W,y1 as X,_a as Y,$P as Z,By as _,oj as a,p1 as a0,Iu as a1,Sj as a2,Cj as a3,fr as a4,d1 as b,je as c,Ee as d,ke as e,_e as f,ce as g,cC as h,Mn as i,d as j,$h as k,yw as l,td as m,gC as n,mo as o,vn as p,Da as q,v as r,Ru as s,Sg as t,ja as u,Pa as v,Na as w,Ke as x,mv as y,sv as z};
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.