vendor: 5,064 bytes, lines 1-9
1var Jc=e=>{throw TypeError(e)};var Wa=(e,t,n)=>t.has(e)||Jc("Cannot "+n);var N=(e,t,n)=>(Wa(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?Jc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),G=(e,t,n,r)=>(Wa(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Me=(e,t,n)=>(Wa(e,t,"access private method"),n);var qi=(e,t,n,r)=>({set _(o){G(e,t,o,n)},get _(){return N(e,t,r)}});function gg(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function sp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ap={exports:{}},fa={},lp={exports:{}},Z={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Ai=Symbol.for("react.element"),yg=Symbol.for("react.portal"),xg=Symbol.for("react.fragment"),wg=Symbol.for("react.strict_mode"),Sg=Symbol.for("react.profiler"),Eg=Symbol.for("react.provider"),Cg=Symbol.for("react.context"),bg=Symbol.for("react.forward_ref"),kg=Symbol.for("react.suspense"),Pg=Symbol.for("react.memo"),Tg=Symbol.for("react.lazy"),ed=Symbol.iterator;function Ng(e){return e===null||typeof e!="object"?null:(e=ed&&e[ed]||e["@@iterator"],typeof e=="function"?e:null)}var up={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cp=Object.assign,dp={};function wo(e,t,n){this.props=e,this.context=t,this.refs=dp,this.updater=n||up}wo.prototype.isReactComponent={};wo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};wo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function fp(){}fp.prototype=wo.prototype;function Du(e,t,n){this.props=e,this.context=t,this.refs=dp,this.updater=n||up}var Mu=Du.prototype=new fp;Mu.constructor=Du;cp(Mu,wo.prototype);Mu.isPureReactComponent=!0;var td=Array.isArray,pp=Object.prototype.hasOwnProperty,Iu={current:null},mp={key:!0,ref:!0,__self:!0,__source:!0};function hp(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)pp.call(t,r)&&!mp.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Ai,type:e,key:i,ref:s,props:o,_owner:Iu.current}}function Rg(e,t){return{$$typeof:Ai,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Fu(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ai}function Ag(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var nd=/\/+/g;function Qa(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Ag(""+e.key):t.toString(36)}function gs(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Ai:case yg:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Qa(s,0):r,td(o)?(n="",e!=null&&(n=e.replace(nd,"$&/")+"/"),gs(o,t,n,"",function(u){return u})):o!=null&&(Fu(o)&&(o=Rg(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(nd,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",td(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Qa(i,a);s+=gs(i,t,n,l,o)}else if(l=Ng(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Qa(i,a++),s+=gs(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}
vendor: 4,329 bytes, lines 9-17
9function Yi(e,t,n){if(e==null)return e;var r=[],o=0;return gs(e,r,"","",function(i){return t.call(n,i,o++)}),r}function jg(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var qe={current:null},ys={transition:null},Og={ReactCurrentDispatcher:qe,ReactCurrentBatchConfig:ys,ReactCurrentOwner:Iu};function vp(){throw Error("act(...) is not supported in production builds of React.")}Z.Children={map:Yi,forEach:function(e,t,n){Yi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Yi(e,function(){t++}),t},toArray:function(e){return Yi(e,function(t){return t})||[]},only:function(e){if(!Fu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Component=wo;Z.Fragment=xg;Z.Profiler=Sg;Z.PureComponent=Du;Z.StrictMode=wg;Z.Suspense=kg;Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Og;Z.act=vp;Z.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=cp({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Iu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)pp.call(t,l)&&!mp.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Ai,type:e.type,key:o,ref:i,props:r,_owner:s}};Z.createContext=function(e){return e={$$typeof:Cg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Eg,_context:e},e.Consumer=e};Z.createElement=hp;Z.createFactory=function(e){var t=hp.bind(null,e);return t.type=e,t};Z.createRef=function(){return{current:null}};Z.forwardRef=function(e){return{$$typeof:bg,render:e}};Z.isValidElement=Fu;Z.lazy=function(e){return{$$typeof:Tg,_payload:{_status:-1,_result:e},_init:jg}};Z.memo=function(e,t){return{$$typeof:Pg,type:e,compare:t===void 0?null:t}};Z.startTransition=function(e){var t=ys.transition;ys.transition={};try{e()}finally{ys.transition=t}};Z.unstable_act=vp;Z.useCallback=function(e,t){return qe.current.useCallback(e,t)};Z.useContext=function(e){return qe.current.useContext(e)};Z.useDebugValue=function(){};Z.useDeferredValue=function(e){return qe.current.useDeferredValue(e)};Z.useEffect=function(e,t){return qe.current.useEffect(e,t)};Z.useId=function(){return qe.current.useId()};Z.useImperativeHandle=function(e,t,n){return qe.current.useImperativeHandle(e,t,n)};Z.useInsertionEffect=function(e,t){return qe.current.useInsertionEffect(e,t)};Z.useLayoutEffect=function(e,t){return qe.current.useLayoutEffect(e,t)};Z.useMemo=function(e,t){return qe.current.useMemo(e,t)};Z.useReducer=function(e,t,n){return qe.current.useReducer(e,t,n)};Z.useRef=function(e){return qe.current.useRef(e)};Z.useState=function(e){return qe.current.useState(e)};Z.useSyncExternalStore=function(e,t,n){return qe.current.useSyncExternalStore(e,t,n)};Z.useTransition=function(){return qe.current.useTransition()};Z.version="18.3.1";lp.exports=Z;var S=lp.exports;const L=sp(S),gp=gg({__proto__:null,default:L},[S]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var Lg=S,_g=Symbol.for("react.element"),Dg=Symbol.for("react.fragment"),Mg=Object.prototype.hasOwnProperty,Ig=Lg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Fg={key:!0,ref:!0,__self:!0,__source:!0};function yp(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Mg.call(t,r)&&!Fg.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:_g,type:e,key:i,ref:s,props:o,_owner:Ig.current}}fa.Fragment=Dg;fa.jsx=yp;fa.jsxs=yp;ap.exports=fa;var x=ap.exports,xp={exports:{}},ft={}
vendor: 10,893 bytes, lines 17-34
17,wp={exports:{}},Sp={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(T,R){var M=T.length;T.push(R);e:for(;0<M;){var U=M-1>>>1,$=T[U];if(0<o($,R))T[U]=R,T[M]=$,M=U;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var R=T[0],M=T.pop();if(M!==R){T[0]=M;e:for(var U=0,$=T.length,q=$>>>1;U<q;){var Q=2*(U+1)-1,ie=T[Q],ge=Q+1,Y=T[ge];if(0>o(ie,M))ge<$&&0>o(Y,ie)?(T[U]=Y,T[ge]=M,U=ge):(T[U]=ie,T[Q]=M,U=Q);else if(ge<$&&0>o(Y,M))T[U]=Y,T[ge]=M,U=ge;else break e}}return R}function o(T,R){var M=T.sortIndex-R.sortIndex;return M!==0?M:T.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,m=3,f=!1,y=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(T){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=T)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function E(T){if(v=!1,g(T),!y)if(n(l)!==null)y=!0,B(C);else{var R=n(u);R!==null&&V(E,R.startTime-T)}}function C(T,R){y=!1,v&&(v=!1,h(P),P=-1),f=!0;var M=m;try{for(g(R),d=n(l);d!==null&&(!(d.expirationTime>R)||T&&!I());){var U=d.callback;if(typeof U=="function"){d.callback=null,m=d.priorityLevel;var $=U(d.expirationTime<=R);R=e.unstable_now(),typeof $=="function"?d.callback=$:d===n(l)&&r(l),g(R)}else r(l);d=n(l)}if(d!==null)var q=!0;else{var Q=n(u);Q!==null&&V(E,Q.startTime-R),q=!1}return q}finally{d=null,m=M,f=!1}}var k=!1,b=null,P=-1,A=5,j=-1;function I(){return!(e.unstable_now()-j<A)}function D(){if(b!==null){var T=e.unstable_now();j=T;var R=!0;try{R=b(!0,T)}finally{R?H():(k=!1,b=null)}}else k=!1}var H;if(typeof p=="function")H=function(){p(D)};else if(typeof MessageChannel<"u"){var _=new MessageChannel,W=_.port2;_.port1.onmessage=D,H=function(){W.postMessage(null)}}else H=function(){w(D,0)};function B(T){b=T,k||(k=!0,H())}function V(T,R){P=w(function(){T(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){y||f||(y=!0,B(C))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(T){switch(m){case 1:case 2:case 3:var R=3;break;default:R=m}var M=m;m=R;try{return T()}finally{m=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,R){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var M=m;m=T;try{return R()}finally{m=M}},e.unstable_scheduleCallback=function(T,R,M){var U=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?U+M:U):M=U,T){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=M+$,T={id:c++,callback:R,priorityLevel:T,startTime:M,expirationTime:$,sortIndex:-1},M>U?(T.sortIndex=M,t(u,T),n(l)===null&&T===n(u)&&(v?(h(P),P=-1):v=!0,V(E,M-U))):(T.sortIndex=$,t(l,T),y||f||(y=!0,B(C))),T},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(T){var R=m;return function(){var M=m;m=R;try{return T.apply(this,arguments)}finally{m=M}}}})(Sp);wp.exports=Sp;var zg=wp.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var $g=S,dt=zg;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ep=new Set,ni={};function Nr(e,t){co(e,t),co(e+"Capture",t)}function co(e,t){for(ni[e]=t,e=0;e<t.length;e++)Ep.add(t[e])}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pl=Object.prototype.hasOwnProperty,Bg=/^[: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]*$/,rd={},od={};function Ug(e){return Pl.call(od,e)?!0:Pl.call(rd,e)?!1:Bg.test(e)?od[e]=!0:(rd[e]=!0,!1)}function Vg(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Hg(e,t,n,r){if(t===null||typeof t>"u"||Vg(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ye(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new Ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new Ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new Ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new Ye(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){De[e]=new Ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new Ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new Ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new Ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new Ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var zu=/[\-:]([a-z])/g;function $u(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(zu,$u);De[t]=new Ye(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(zu,$u);De[t]=new Ye(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(zu,$u);De[t]=new Ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new Ye(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new Ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new Ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function Bu(e,t,n,r){var o=De.hasOwnProperty(t)?De[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Hg(t,n,o,r)&&(n=null),r||o===null?Ug(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var xn=$g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Gi=Symbol.for("react.element"),Mr=Symbol.for("react.portal"),Ir=Symbol.for("react.fragment"),Uu=Symbol.for("react.strict_mode"),Tl=Symbol.for("react.profiler"),Cp=Symbol.for("react.provider"),bp=Symbol.for("react.context"),Vu=Symbol.for("react.forward_ref"),Nl=Symbol.for("react.suspense"),Rl=Symbol.for("react.suspense_list"),Hu=Symbol.for("react.memo"),An=Symbol.for("react.lazy"),kp=Symbol.for("react.offscreen"),id=Symbol.iterator;function Ao(e){return e===null||typeof e!="object"?null:(e=id&&e[id]||e["@@iterator"],typeof e=="function"?e:null)}var ve=Object.assign,Ka;function $o(e){if(Ka===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ka=t&&t[1]||""}return` 34`+Ka+e}var qa=!1;function Ya(e,t){if(!e||qa)return"";qa=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 4,297 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` 35`),i=r.stack.split(` 36`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=` 37`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{qa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?$o(e):""}function Wg(e){switch(e.tag){case 5:return $o(e.type);case 16:return $o("Lazy");case 13:return $o("Suspense");case 19:return $o("SuspenseList");case 0:case 2:case 15:return e=Ya(e.type,!1),e;case 11:return e=Ya(e.type.render,!1),e;case 1:return e=Ya(e.type,!0),e;default:return""}}function Al(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 Ir:return"Fragment";case Mr:return"Portal";case Tl:return"Profiler";case Uu:return"StrictMode";case Nl:return"Suspense";case Rl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bp:return(e.displayName||"Context")+".Consumer";case Cp:return(e._context.displayName||"Context")+".Provider";case Vu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Hu:return t=e.displayName||null,t!==null?t:Al(e.type)||"Memo";case An:t=e._payload,e=e._init;try{return Al(e(t))}catch{}}return null}function Qg(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Al(t);case 8:return t===Uu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Xn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Kg(e){var t=Pp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Xi(e){e._valueTracker||(e._valueTracker=Kg(e))}function Tp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Pp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ls(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 jl(e,t){var n=t.checked;return ve({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function sd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Xn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Np(e,t){t=t.checked,t!=null&&Bu(e,"checked",t,!1)}function Ol(e,t){Np(e,t);var n=Xn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ll(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ll(e,t.type,Xn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}
vendor: 4,180 bytes, line 37
37function ad(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ll(e,t,n){(t!=="number"||Ls(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bo=Array.isArray;function qr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Xn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function _l(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(O(91));return ve({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ld(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(O(92));if(Bo(n)){if(1<n.length)throw Error(O(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Xn(n)}}function Rp(e,t){var n=Xn(t.value),r=Xn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ud(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ap(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 Dl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ap(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Zi,jp=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Zi=Zi||document.createElement("div"),Zi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Zi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ri(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Wo={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},qg=["Webkit","ms","Moz","O"];Object.keys(Wo).forEach(function(e){qg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Wo[t]=Wo[e]})});function Op(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Wo.hasOwnProperty(e)&&Wo[e]?(""+t).trim():t+"px"}function Lp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Op(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Yg=ve({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 Ml(e,t){if(t){if(Yg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function Il(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";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 Fl=null;function Wu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zl=null,Yr=null,Gr=null;function cd(e){if(e=Li(e)){if(typeof zl!="function")throw Error(O(280));var t=e.stateNode;t&&(t=ga(t),zl(e.stateNode,e.type,t))}}function _p(e){Yr?Gr?Gr.push(e):Gr=[e]:Yr=e}function Dp(){if(Yr){var e=Yr,t=Gr;if(Gr=Yr=null,cd(e),t)for(e=0;e<t.length;e++)cd(t[e])}}function Mp(e,t){return e(t)}function Ip(){}var Ga=!1;function Fp(e,t,n){if(Ga)return e(t,n);Ga=!0;try{return Mp(e,t,n)}finally{Ga=!1,(Yr!==null||Gr!==null)&&(Ip(),Dp())}}function oi(e,t){var n=e.stateNode;if(n===null)return null;var r=ga(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(O(231,t,typeof n));return n}var $l=!1;if(pn)try{var jo={};Object.defineProperty(jo,"passive",{get:function(){$l=!0}}),window.addEventListener("test",jo,jo),window.removeEventListener("test",jo,jo)}catch{$l=!1}function Gg(e,t,n,r,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Qo=!1,_s=null,Ds=!1,Bl=null,Xg={onError:function(e){Qo=!0,_s=e}};function Zg(e,t,n,r,o,i,s,a,l){Qo=!1,_s=null,Gg.apply(Xg,arguments)}function Jg(e,t,n,r,o,i,s,a,l){if(Zg.apply(this,arguments),Qo){if(Qo){var u=_s;Qo=!1,_s=null}else throw Error(O(198));Ds||(Ds=!0,Bl=u)}}function Rr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function zp(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function dd(e){if(Rr(e)!==e)throw Error(O(188))}function ey(e){var t=e.alternate;if(!t){if(t=Rr(e),t===null)throw Error(O(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return dd(o),e;if(i===r)return dd(o),t;i=i.sibling}throw Error(O(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(O(189))}}if(n.alternate!==r)throw Error(O(190))}if(n.tag!==3)throw Error(O(188));return n.stateNode.current===n?e:t}function $p(e){return e=ey(e),e!==null?Bp(e):null}function Bp(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Bp(e);if(t!==null)return t;e=e.sibling}return null}var Up=dt.unstable_scheduleCallback,fd=dt.unstable_cancelCallback,ty=dt.unstable_shouldYield,ny=dt.unstable_requestPaint,Se=dt.unstable_now,ry=dt.unstable_getCurrentPriorityLevel,Qu=dt.unstable_ImmediatePriority,Vp=dt.unstable_UserBlockingPriority,Ms=dt.unstable_NormalPriority,oy=dt.unstable_LowPriority,Hp=dt.unstable_IdlePriority,pa=null,Zt=null;function iy(e){if(Zt&&typeof Zt.onCommitFiberRoot=="function")try{Zt.onCommitFiberRoot(pa,e,void 0,(e.current.flags&128)===128)}catch{}}var Mt=Math.clz32?Math.clz32:ly,sy=Math.log,ay=Math.LN2;function ly(e){return e>>>=0,e===0?32:31-(sy(e)/ay|0)|0}var Ji=64,es=4194304;function Uo(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 Is(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=Uo(a):(i&=s,i!==0&&(r=Uo(i)))}else s=n&~o,s!==0?r=Uo(s):i!==0&&(r=Uo(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Mt(t),o=1<<n,r|=e[n],t&=~o;return r}function uy(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function cy(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-Mt(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=uy(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function Ul(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Wp(){var e=Ji;return Ji<<=1,!(Ji&4194240)&&(Ji=64),e}function Xa(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ji(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Mt(t),e[t]=n}function dy(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Mt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Ku(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Mt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var oe=0;function Qp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Kp,qu,qp,Yp,Gp,Vl=!1,ts=[],Un=null,Vn=null,Hn=null,ii=new Map,si=new Map,On=[],fy="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 pd(e,t){switch(e){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":Vn=null;break;case"mouseover":case"mouseout":Hn=null;break;case"pointerover":case"pointerout":ii.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":si.delete(t.pointerId)}}function Oo(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Li(t),t!==null&&qu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function py(e,t,n,r,o){switch(t){case"focusin":return Un=Oo(Un,e,t,n,r,o),!0;case"dragenter":return Vn=Oo(Vn,e,t,n,r,o),!0;case"mouseover":return Hn=Oo(Hn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ii.set(i,Oo(ii.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,si.set(i,Oo(si.get(i)||null,e,t,n,r,o)),!0}return!1}function Xp(e){var t=cr(e.target);if(t!==null){var n=Rr(t);if(n!==null){if(t=n.tag,t===13){if(t=zp(n),t!==null){e.blockedOn=t,Gp(e.priority,function(){qp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Hl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Fl=r,n.target.dispatchEvent(r),Fl=null}else return t=Li(n),t!==null&&qu(t),e.blockedOn=n,!1;t.shift()}return!0}function md(e,t,n){xs(e)&&n.delete(t)}function my(){Vl=!1,Un!==null&&xs(Un)&&(Un=null),Vn!==null&&xs(Vn)&&(Vn=null),Hn!==null&&xs(Hn)&&(Hn=null),ii.forEach(md),si.forEach(md)}function Lo(e,t){e.blockedOn===t&&(e.blockedOn=null,Vl||(Vl=!0,dt.unstable_scheduleCallback(dt.unstable_NormalPriority,my)))}function ai(e){function t(o){return Lo(o,e)}if(0<ts.length){Lo(ts[0],e);for(var n=1;n<ts.length;n++){var r=ts[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Un!==null&&Lo(Un,e),Vn!==null&&Lo(Vn,e),Hn!==null&&Lo(Hn,e),ii.forEach(t),si.forEach(t),n=0;n<On.length;n++)r=On[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<On.length&&(n=On[0],n.blockedOn===null);)Xp(n),n.blockedOn===null&&On.shift()}var Xr=xn.ReactCurrentBatchConfig,Fs=!0;function hy(e,t,n,r){var o=oe,i=Xr.transition;Xr.transition=null;try{oe=1,Yu(e,t,n,r)}finally{oe=o,Xr.transition=i}}function vy(e,t,n,r){var o=oe,i=Xr.transition;Xr.transition=null;try{oe=4,Yu(e,t,n,r)}finally{oe=o,Xr.transition=i}}function Yu(e,t,n,r){if(Fs){var o=Hl(e,t,n,r);if(o===null)al(e,t,r,zs,n),pd(e,r);else if(py(o,e,t,n,r))r.stopPropagation();else if(pd(e,r),t&4&&-1<fy.indexOf(e)){for(;o!==null;){var i=Li(o);if(i!==null&&Kp(i),i=Hl(e,t,n,r),i===null&&al(e,t,r,zs,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else al(e,t,r,null,n)}}var zs=null;function Hl(e,t,n,r){if(zs=null,e=Wu(r),e=cr(e),e!==null)if(t=Rr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=zp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return zs=e,null}
vendor: 10,401 bytes, line 37
37function Zp(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(ry()){case Qu:return 1;case Vp:return 4;case Ms:case oy:return 16;case Hp:return 536870912;default:return 16}default:return 16}}var zn=null,Gu=null,ws=null;function Jp(){if(ws)return ws;var e,t=Gu,n=t.length,r,o="value"in zn?zn.value:zn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return ws=o.slice(e,1<r?1-r:void 0)}function Ss(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ns(){return!0}function hd(){return!1}function pt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ns:hd,this.isPropagationStopped=hd,this}return ve(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ns)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ns)},persist:function(){},isPersistent:ns}),t}var So={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xu=pt(So),Oi=ve({},So,{view:0,detail:0}),gy=pt(Oi),Za,Ja,_o,ma=ve({},Oi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zu,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!==_o&&(_o&&e.type==="mousemove"?(Za=e.screenX-_o.screenX,Ja=e.screenY-_o.screenY):Ja=Za=0,_o=e),Za)},movementY:function(e){return"movementY"in e?e.movementY:Ja}}),vd=pt(ma),yy=ve({},ma,{dataTransfer:0}),xy=pt(yy),wy=ve({},Oi,{relatedTarget:0}),el=pt(wy),Sy=ve({},So,{animationName:0,elapsedTime:0,pseudoElement:0}),Ey=pt(Sy),Cy=ve({},So,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),by=pt(Cy),ky=ve({},So,{data:0}),gd=pt(ky),Py={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ty={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"},Ny={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ry(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ny[e])?!!t[e]:!1}function Zu(){return Ry}var Ay=ve({},Oi,{key:function(e){if(e.key){var t=Py[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ss(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ty[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zu,charCode:function(e){return e.type==="keypress"?Ss(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ss(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),jy=pt(Ay),Oy=ve({},ma,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yd=pt(Oy),Ly=ve({},Oi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zu}),_y=pt(Ly),Dy=ve({},So,{propertyName:0,elapsedTime:0,pseudoElement:0}),My=pt(Dy),Iy=ve({},ma,{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}),Fy=pt(Iy),zy=[9,13,27,32],Ju=pn&&"CompositionEvent"in window,Ko=null;pn&&"documentMode"in document&&(Ko=document.documentMode);var $y=pn&&"TextEvent"in window&&!Ko,em=pn&&(!Ju||Ko&&8<Ko&&11>=Ko),xd=" ",wd=!1;function tm(e,t){switch(e){case"keyup":return zy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Fr=!1;function By(e,t){switch(e){case"compositionend":return nm(t);case"keypress":return t.which!==32?null:(wd=!0,xd);case"textInput":return e=t.data,e===xd&&wd?null:e;default:return null}}function Uy(e,t){if(Fr)return e==="compositionend"||!Ju&&tm(e,t)?(e=Jp(),ws=Gu=zn=null,Fr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return em&&t.locale!=="ko"?null:t.data;default:return null}}var Vy={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 Sd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Vy[e.type]:t==="textarea"}function rm(e,t,n,r){_p(r),t=$s(t,"onChange"),0<t.length&&(n=new Xu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qo=null,li=null;function Hy(e){mm(e,0)}function ha(e){var t=Br(e);if(Tp(t))return e}function Wy(e,t){if(e==="change")return t}var om=!1;if(pn){var tl;if(pn){var nl="oninput"in document;if(!nl){var Ed=document.createElement("div");Ed.setAttribute("oninput","return;"),nl=typeof Ed.oninput=="function"}tl=nl}else tl=!1;om=tl&&(!document.documentMode||9<document.documentMode)}function Cd(){qo&&(qo.detachEvent("onpropertychange",im),li=qo=null)}function im(e){if(e.propertyName==="value"&&ha(li)){var t=[];rm(t,li,e,Wu(e)),Fp(Hy,t)}}function Qy(e,t,n){e==="focusin"?(Cd(),qo=t,li=n,qo.attachEvent("onpropertychange",im)):e==="focusout"&&Cd()}function Ky(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ha(li)}function qy(e,t){if(e==="click")return ha(t)}function Yy(e,t){if(e==="input"||e==="change")return ha(t)}function Gy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $t=typeof Object.is=="function"?Object.is:Gy;function ui(e,t){if($t(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Pl.call(t,o)||!$t(e[o],t[o]))return!1}return!0}function bd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function kd(e,t){var n=bd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=bd(n)}}function sm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function am(){for(var e=window,t=Ls();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ls(e.document)}return t}function ec(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Xy(e){var t=am(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sm(n.ownerDocument.documentElement,n)){if(r!==null&&ec(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=kd(n,i);var s=kd(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Zy=pn&&"documentMode"in document&&11>=document.documentMode,zr=null,Wl=null,Yo=null,Ql=!1;function Pd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ql||zr==null||zr!==Ls(r)||(r=zr,"selectionStart"in r&&ec(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Yo&&ui(Yo,r)||(Yo=r,r=$s(Wl,"onSelect"),0<r.length&&(t=new Xu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=zr)))}function rs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var $r={animationend:rs("Animation","AnimationEnd"),animationiteration:rs("Animation","AnimationIteration"),animationstart:rs("Animation","AnimationStart"),transitionend:rs("Transition","TransitionEnd")},rl={},lm={};pn&&(lm=document.createElement("div").style,"AnimationEvent"in window||(delete $r.animationend.animation,delete $r.animationiteration.animation,delete $r.animationstart.animation),"TransitionEvent"in window||delete $r.transitionend.transition);function va(e){if(rl[e])return rl[e];if(!$r[e])return e;var t=$r[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in lm)return rl[e]=t[n];return e}var um=va("animationend"),cm=va("animationiteration"),dm=va("animationstart"),fm=va("transitionend"),pm=new Map,Td="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 rr(e,t){pm.set(e,t),Nr(t,[e])}for(var ol=0;ol<Td.length;ol++){var il=Td[ol],Jy=il.toLowerCase(),e0=il[0].toUpperCase()+il.slice(1);rr(Jy,"on"+e0)}rr(um,"onAnimationEnd");rr(cm,"onAnimationIteration");rr(dm,"onAnimationStart");rr("dblclick","onDoubleClick");rr("focusin","onFocus");rr("focusout","onBlur");rr(fm,"onTransitionEnd");co("onMouseEnter",["mouseout","mouseover"]);co("onMouseLeave",["mouseout","mouseover"]);co("onPointerEnter",["pointerout","pointerover"]);co("onPointerLeave",["pointerout","pointerover"]);Nr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Nr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Nr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Nr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Nr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Nr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vo="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(" "),t0=new Set("cancel close invalid load scroll toggle".split(" ").concat(Vo));function Nd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Jg(r,t,void 0,e),e.currentTarget=null}function mm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;Nd(o,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;Nd(o,a,u),i=l}}}if(Ds)throw e=Bl,Ds=!1,Bl=null,e}function ce(e,t){var n=t[Xl];n===void 0&&(n=t[Xl]=new Set);var r=e+"__bubble";n.has(r)||(hm(t,e,2,!1),n.add(r))}function sl(e,t,n){var r=0;t&&(r|=4),hm(n,e,r,t)}var os="_reactListening"+Math.random().toString(36).slice(2);function ci(e){if(!e[os]){e[os]=!0,Ep.forEach(function(n){n!=="selectionchange"&&(t0.has(n)||sl(n,!1,e),sl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[os]||(t[os]=!0,sl("selectionchange",!1,t))}}function hm(e,t,n,r){switch(Zp(t)){case 1:var o=hy;break;case 4:o=vy;break;default:o=Yu}n=o.bind(null,t,n,e),o=void 0,!$l||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function al(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 33,504 bytes, lines 37-40
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=cr(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}Fp(function(){var u=i,c=Wu(n),d=[];e:{var m=pm.get(e);if(m!==void 0){var f=Xu,y=e;switch(e){case"keypress":if(Ss(n)===0)break e;case"keydown":case"keyup":f=jy;break;case"focusin":y="focus",f=el;break;case"focusout":y="blur",f=el;break;case"beforeblur":case"afterblur":f=el;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=vd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=xy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=_y;break;case um:case cm:case dm:f=Ey;break;case fm:f=My;break;case"scroll":f=gy;break;case"wheel":f=Fy;break;case"copy":case"cut":case"paste":f=by;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=yd}var v=(t&4)!==0,w=!v&&e==="scroll",h=v?m!==null?m+"Capture":null:m;v=[];for(var p=u,g;p!==null;){g=p;var E=g.stateNode;if(g.tag===5&&E!==null&&(g=E,h!==null&&(E=oi(p,h),E!=null&&v.push(di(p,E,g)))),w)break;p=p.return}0<v.length&&(m=new f(m,y,null,n,c),d.push({event:m,listeners:v}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",m&&n!==Fl&&(y=n.relatedTarget||n.fromElement)&&(cr(y)||y[mn]))break e;if((f||m)&&(m=c.window===c?c:(m=c.ownerDocument)?m.defaultView||m.parentWindow:window,f?(y=n.relatedTarget||n.toElement,f=u,y=y?cr(y):null,y!==null&&(w=Rr(y),y!==w||y.tag!==5&&y.tag!==6)&&(y=null)):(f=null,y=u),f!==y)){if(v=vd,E="onMouseLeave",h="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(v=yd,E="onPointerLeave",h="onPointerEnter",p="pointer"),w=f==null?m:Br(f),g=y==null?m:Br(y),m=new v(E,p+"leave",f,n,c),m.target=w,m.relatedTarget=g,E=null,cr(c)===u&&(v=new v(h,p+"enter",y,n,c),v.target=g,v.relatedTarget=w,E=v),w=E,f&&y)t:{for(v=f,h=y,p=0,g=v;g;g=Dr(g))p++;for(g=0,E=h;E;E=Dr(E))g++;for(;0<p-g;)v=Dr(v),p--;for(;0<g-p;)h=Dr(h),g--;for(;p--;){if(v===h||h!==null&&v===h.alternate)break t;v=Dr(v),h=Dr(h)}v=null}else v=null;f!==null&&Rd(d,m,f,v,!1),y!==null&&w!==null&&Rd(d,w,y,v,!0)}}e:{if(m=u?Br(u):window,f=m.nodeName&&m.nodeName.toLowerCase(),f==="select"||f==="input"&&m.type==="file")var C=Wy;else if(Sd(m))if(om)C=Yy;else{C=Ky;var k=Qy}else(f=m.nodeName)&&f.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(C=qy);if(C&&(C=C(e,u))){rm(d,C,n,c);break e}k&&k(e,m,u),e==="focusout"&&(k=m._wrapperState)&&k.controlled&&m.type==="number"&&Ll(m,"number",m.value)}switch(k=u?Br(u):window,e){case"focusin":(Sd(k)||k.contentEditable==="true")&&(zr=k,Wl=u,Yo=null);break;case"focusout":Yo=Wl=zr=null;break;case"mousedown":Ql=!0;break;case"contextmenu":case"mouseup":case"dragend":Ql=!1,Pd(d,n,c);break;case"selectionchange":if(Zy)break;case"keydown":case"keyup":Pd(d,n,c)}var b;if(Ju)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Fr?tm(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(em&&n.locale!=="ko"&&(Fr||P!=="onCompositionStart"?P==="onCompositionEnd"&&Fr&&(b=Jp()):(zn=c,Gu="value"in zn?zn.value:zn.textContent,Fr=!0)),k=$s(u,P),0<k.length&&(P=new gd(P,e,null,n,c),d.push({event:P,listeners:k}),b?P.data=b:(b=nm(n),b!==null&&(P.data=b)))),(b=$y?By(e,n):Uy(e,n))&&(u=$s(u,"onBeforeInput"),0<u.length&&(c=new gd("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=b))}mm(d,t)})}function di(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $s(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=oi(e,n),i!=null&&r.unshift(di(e,i,o)),i=oi(e,t),i!=null&&r.push(di(e,i,o))),e=e.return}return r}function Dr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Rd(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=oi(n,i),l!=null&&s.unshift(di(n,l,a))):o||(l=oi(n,i),l!=null&&s.push(di(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var n0=/\r\n?/g,r0=/\u0000|\uFFFD/g;function Ad(e){return(typeof e=="string"?e:""+e).replace(n0,` 38`).replace(r0,"")}function is(e,t,n){if(t=Ad(t),Ad(e)!==t&&n)throw Error(O(425))}function Bs(){}var Kl=null,ql=null;function Yl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Gl=typeof setTimeout=="function"?setTimeout:void 0,o0=typeof clearTimeout=="function"?clearTimeout:void 0,jd=typeof Promise=="function"?Promise:void 0,i0=typeof queueMicrotask=="function"?queueMicrotask:typeof jd<"u"?function(e){return jd.resolve(null).then(e).catch(s0)}:Gl;function s0(e){setTimeout(function(){throw e})}function ll(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),ai(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ai(t)}function Wn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Od(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Eo=Math.random().toString(36).slice(2),Gt="__reactFiber$"+Eo,fi="__reactProps$"+Eo,mn="__reactContainer$"+Eo,Xl="__reactEvents$"+Eo,a0="__reactListeners$"+Eo,l0="__reactHandles$"+Eo;function cr(e){var t=e[Gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mn]||n[Gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Od(e);e!==null;){if(n=e[Gt])return n;e=Od(e)}return t}e=n,n=e.parentNode}return null}function Li(e){return e=e[Gt]||e[mn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Br(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(O(33))}function ga(e){return e[fi]||null}var Zl=[],Ur=-1;function or(e){return{current:e}}function de(e){0>Ur||(e.current=Zl[Ur],Zl[Ur]=null,Ur--)}function ae(e,t){Ur++,Zl[Ur]=e.current,e.current=t}var Zn={},Be=or(Zn),et=or(!1),Sr=Zn;function fo(e,t){var n=e.type.contextTypes;if(!n)return Zn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function tt(e){return e=e.childContextTypes,e!=null}function Us(){de(et),de(Be)}function Ld(e,t,n){if(Be.current!==Zn)throw Error(O(168));ae(Be,t),ae(et,n)}function vm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(O(108,Qg(e)||"Unknown",o));return ve({},n,r)}function Vs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zn,Sr=Be.current,ae(Be,e),ae(et,et.current),!0}function _d(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=vm(e,t,Sr),r.__reactInternalMemoizedMergedChildContext=e,de(et),de(Be),ae(Be,e)):de(et),ae(et,n)}var ln=null,ya=!1,ul=!1;function gm(e){ln===null?ln=[e]:ln.push(e)}function u0(e){ya=!0,gm(e)}function ir(){if(!ul&&ln!==null){ul=!0;var e=0,t=oe;try{var n=ln;for(oe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ln=null,ya=!1}catch(o){throw ln!==null&&(ln=ln.slice(e+1)),Up(Qu,ir),o}finally{oe=t,ul=!1}}return null}var Vr=[],Hr=0,Hs=null,Ws=0,ht=[],vt=0,Er=null,cn=1,dn="";function lr(e,t){Vr[Hr++]=Ws,Vr[Hr++]=Hs,Hs=e,Ws=t}function ym(e,t,n){ht[vt++]=cn,ht[vt++]=dn,ht[vt++]=Er,Er=e;var r=cn;e=dn;var o=32-Mt(r)-1;r&=~(1<<o),n+=1;var i=32-Mt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,cn=1<<32-Mt(t)+o|n<<o|r,dn=i+e}else cn=1<<i|n<<o|r,dn=e}function tc(e){e.return!==null&&(lr(e,1),ym(e,1,0))}function nc(e){for(;e===Hs;)Hs=Vr[--Hr],Vr[Hr]=null,Ws=Vr[--Hr],Vr[Hr]=null;for(;e===Er;)Er=ht[--vt],ht[vt]=null,dn=ht[--vt],ht[vt]=null,cn=ht[--vt],ht[vt]=null}var ut=null,lt=null,fe=!1,Dt=null;function xm(e,t){var n=gt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Dd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ut=e,lt=Wn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ut=e,lt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Er!==null?{id:cn,overflow:dn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=gt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ut=e,lt=null,!0):!1;default:return!1}}function Jl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function eu(e){if(fe){var t=lt;if(t){var n=t;if(!Dd(e,t)){if(Jl(e))throw Error(O(418));t=Wn(n.nextSibling);var r=ut;t&&Dd(e,t)?xm(r,n):(e.flags=e.flags&-4097|2,fe=!1,ut=e)}}else{if(Jl(e))throw Error(O(418));e.flags=e.flags&-4097|2,fe=!1,ut=e}}}function Md(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ut=e}function ss(e){if(e!==ut)return!1;if(!fe)return Md(e),fe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Yl(e.type,e.memoizedProps)),t&&(t=lt)){if(Jl(e))throw wm(),Error(O(418));for(;t;)xm(e,t),t=Wn(t.nextSibling)}if(Md(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(O(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){lt=Wn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}lt=null}}else lt=ut?Wn(e.stateNode.nextSibling):null;return!0}function wm(){for(var e=lt;e;)e=Wn(e.nextSibling)}function po(){lt=ut=null,fe=!1}function rc(e){Dt===null?Dt=[e]:Dt.push(e)}var c0=xn.ReactCurrentBatchConfig;function Do(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(O(309));var r=n.stateNode}if(!r)throw Error(O(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(O(284));if(!n._owner)throw Error(O(290,e))}return e}function as(e,t){throw e=Object.prototype.toString.call(t),Error(O(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Id(e){var t=e._init;return t(e._payload)}function Sm(e){function t(h,p){if(e){var g=h.deletions;g===null?(h.deletions=[p],h.flags|=16):g.push(p)}}function n(h,p){if(!e)return null;for(;p!==null;)t(h,p),p=p.sibling;return null}function r(h,p){for(h=new Map;p!==null;)p.key!==null?h.set(p.key,p):h.set(p.index,p),p=p.sibling;return h}function o(h,p){return h=Yn(h,p),h.index=0,h.sibling=null,h}function i(h,p,g){return h.index=g,e?(g=h.alternate,g!==null?(g=g.index,g<p?(h.flags|=2,p):g):(h.flags|=2,p)):(h.flags|=1048576,p)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function a(h,p,g,E){return p===null||p.tag!==6?(p=vl(g,h.mode,E),p.return=h,p):(p=o(p,g),p.return=h,p)}function l(h,p,g,E){var C=g.type;return C===Ir?c(h,p,g.props.children,E,g.key):p!==null&&(p.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===An&&Id(C)===p.type)?(E=o(p,g.props),E.ref=Do(h,p,g),E.return=h,E):(E=Ns(g.type,g.key,g.props,null,h.mode,E),E.ref=Do(h,p,g),E.return=h,E)}function u(h,p,g,E){return p===null||p.tag!==4||p.stateNode.containerInfo!==g.containerInfo||p.stateNode.implementation!==g.implementation?(p=gl(g,h.mode,E),p.return=h,p):(p=o(p,g.children||[]),p.return=h,p)}function c(h,p,g,E,C){return p===null||p.tag!==7?(p=wr(g,h.mode,E,C),p.return=h,p):(p=o(p,g),p.return=h,p)}function d(h,p,g){if(typeof p=="string"&&p!==""||typeof p=="number")return p=vl(""+p,h.mode,g),p.return=h,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Gi:return g=Ns(p.type,p.key,p.props,null,h.mode,g),g.ref=Do(h,null,p),g.return=h,g;case Mr:return p=gl(p,h.mode,g),p.return=h,p;case An:var E=p._init;return d(h,E(p._payload),g)}if(Bo(p)||Ao(p))return p=wr(p,h.mode,g,null),p.return=h,p;as(h,p)}return null}function m(h,p,g,E){var C=p!==null?p.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return C!==null?null:a(h,p,""+g,E);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Gi:return g.key===C?l(h,p,g,E):null;case Mr:return g.key===C?u(h,p,g,E):null;case An:return C=g._init,m(h,p,C(g._payload),E)}if(Bo(g)||Ao(g))return C!==null?null:c(h,p,g,E,null);as(h,g)}return null}function f(h,p,g,E,C){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(g)||null,a(p,h,""+E,C);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Gi:return h=h.get(E.key===null?g:E.key)||null,l(p,h,E,C);case Mr:return h=h.get(E.key===null?g:E.key)||null,u(p,h,E,C);case An:var k=E._init;return f(h,p,g,k(E._payload),C)}if(Bo(E)||Ao(E))return h=h.get(g)||null,c(p,h,E,C,null);as(p,E)}return null}function y(h,p,g,E){for(var C=null,k=null,b=p,P=p=0,A=null;b!==null&&P<g.length;P++){b.index>P?(A=b,b=null):A=b.sibling;var j=m(h,b,g[P],E);if(j===null){b===null&&(b=A);break}e&&b&&j.alternate===null&&t(h,b),p=i(j,p,P),k===null?C=j:k.sibling=j,k=j,b=A}if(P===g.length)return n(h,b),fe&&lr(h,P),C;if(b===null){for(;P<g.length;P++)b=d(h,g[P],E),b!==null&&(p=i(b,p,P),k===null?C=b:k.sibling=b,k=b);return fe&&lr(h,P),C}for(b=r(h,b);P<g.length;P++)A=f(b,h,P,g[P],E),A!==null&&(e&&A.alternate!==null&&b.delete(A.key===null?P:A.key),p=i(A,p,P),k===null?C=A:k.sibling=A,k=A);return e&&b.forEach(function(I){return t(h,I)}),fe&&lr(h,P),C}function v(h,p,g,E){var C=Ao(g);if(typeof C!="function")throw Error(O(150));if(g=C.call(g),g==null)throw Error(O(151));for(var k=C=null,b=p,P=p=0,A=null,j=g.next();b!==null&&!j.done;P++,j=g.next()){b.index>P?(A=b,b=null):A=b.sibling;var I=m(h,b,j.value,E);if(I===null){b===null&&(b=A);break}e&&b&&I.alternate===null&&t(h,b),p=i(I,p,P),k===null?C=I:k.sibling=I,k=I,b=A}if(j.done)return n(h,b),fe&&lr(h,P),C;if(b===null){for(;!j.done;P++,j=g.next())j=d(h,j.value,E),j!==null&&(p=i(j,p,P),k===null?C=j:k.sibling=j,k=j);return fe&&lr(h,P),C}for(b=r(h,b);!j.done;P++,j=g.next())j=f(b,h,P,j.value,E),j!==null&&(e&&j.alternate!==null&&b.delete(j.key===null?P:j.key),p=i(j,p,P),k===null?C=j:k.sibling=j,k=j);return e&&b.forEach(function(D){return t(h,D)}),fe&&lr(h,P),C}function w(h,p,g,E){if(typeof g=="object"&&g!==null&&g.type===Ir&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Gi:e:{for(var C=g.key,k=p;k!==null;){if(k.key===C){if(C=g.type,C===Ir){if(k.tag===7){n(h,k.sibling),p=o(k,g.props.children),p.return=h,h=p;break e}}else if(k.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===An&&Id(C)===k.type){n(h,k.sibling),p=o(k,g.props),p.ref=Do(h,k,g),p.return=h,h=p;break e}n(h,k);break}else t(h,k);k=k.sibling}g.type===Ir?(p=wr(g.props.children,h.mode,E,g.key),p.return=h,h=p):(E=Ns(g.type,g.key,g.props,null,h.mode,E),E.ref=Do(h,p,g),E.return=h,h=E)}return s(h);case Mr:e:{for(k=g.key;p!==null;){if(p.key===k)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(h,p.sibling),p=o(p,g.children||[]),p.return=h,h=p;break e}else{n(h,p);break}else t(h,p);p=p.sibling}p=gl(g,h.mode,E),p.return=h,h=p}return s(h);case An:return k=g._init,w(h,p,k(g._payload),E)}if(Bo(g))return y(h,p,g,E);if(Ao(g))return v(h,p,g,E);as(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(h,p.sibling),p=o(p,g),p.return=h,h=p):(n(h,p),p=vl(g,h.mode,E),p.return=h,h=p),s(h)):n(h,p)}return w}var mo=Sm(!0),Em=Sm(!1),Qs=or(null),Ks=null,Wr=null,oc=null;function ic(){oc=Wr=Ks=null}function sc(e){var t=Qs.current;de(Qs),e._currentValue=t}function tu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Zr(e,t){Ks=e,oc=Wr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Je=!0),e.firstContext=null)}function xt(e){var t=e._currentValue;if(oc!==e)if(e={context:e,memoizedValue:t,next:null},Wr===null){if(Ks===null)throw Error(O(308));Wr=e,Ks.dependencies={lanes:0,firstContext:e}}else Wr=Wr.next=e;return t}var dr=null;function ac(e){dr===null?dr=[e]:dr.push(e)}function Cm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,ac(t)):(n.next=o.next,o.next=n),t.interleaved=n,hn(e,r)}function hn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var jn=!1;function lc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ee&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,hn(e,n)}return o=r.interleaved,o===null?(t.next=t,ac(r)):(t.next=o.next,o.next=t),r.interleaved=t,hn(e,n)}function Es(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ku(e,n)}}function Fd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qs(e,t,n,r){var o=e.updateQueue;jn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var m=a.lane,f=a.eventTime;if((r&m)===m){c!==null&&(c=c.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,v=a;switch(m=t,f=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){d=y.call(f,d,m);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,m=typeof y=="function"?y.call(f,d,m):y,m==null)break e;d=ve({},d,m);break e;case 2:jn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[a]:m.push(a))}else f={eventTime:f,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=f,l=d):c=c.next=f,s|=m;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;m=a,a=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);br|=s,e.lanes=s,e.memoizedState=d}}function zd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(O(191,o));o.call(r)}}}var _i={},Jt=or(_i),pi=or(_i),mi=or(_i);function fr(e){if(e===_i)throw Error(O(174));return e}function uc(e,t){switch(ae(mi,t),ae(pi,e),ae(Jt,_i),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Dl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Dl(t,e)}de(Jt),ae(Jt,t)}function ho(){de(Jt),de(pi),de(mi)}function km(e){fr(mi.current);var t=fr(Jt.current),n=Dl(t,e.type);t!==n&&(ae(pi,e),ae(Jt,n))}function cc(e){pi.current===e&&(de(Jt),de(pi))}var pe=or(0);function Ys(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cl=[];function dc(){for(var e=0;e<cl.length;e++)cl[e]._workInProgressVersionPrimary=null;cl.length=0}var Cs=xn.ReactCurrentDispatcher,dl=xn.ReactCurrentBatchConfig,Cr=0,he=null,Pe=null,je=null,Gs=!1,Go=!1,hi=0,d0=0;function Ie(){throw Error(O(321))}function fc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!$t(e[n],t[n]))return!1;return!0}function pc(e,t,n,r,o,i){if(Cr=i,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Cs.current=e===null||e.memoizedState===null?h0:v0,e=n(r,o),Go){i=0;do{if(Go=!1,hi=0,25<=i)throw Error(O(301));i+=1,je=Pe=null,t.updateQueue=null,Cs.current=g0,e=n(r,o)}while(Go)}if(Cs.current=Xs,t=Pe!==null&&Pe.next!==null,Cr=0,je=Pe=he=null,Gs=!1,t)throw Error(O(300));return e}function mc(){var e=hi!==0;return hi=0,e}function Qt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return je===null?he.memoizedState=je=e:je=je.next=e,je}function wt(){if(Pe===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Pe.next;var t=je===null?he.memoizedState:je.next;if(t!==null)je=t,Pe=e;else{if(e===null)throw Error(O(310));Pe=e,e={memoizedState:Pe.memoizedState,baseState:Pe.baseState,baseQueue:Pe.baseQueue,queue:Pe.queue,next:null},je===null?he.memoizedState=je=e:je=je.next=e}return je}function vi(e,t){return typeof t=="function"?t(e):t}function fl(e){var t=wt(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=Pe,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,u=i;do{var c=u.lane;if((Cr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,he.lanes|=c,br|=c}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,$t(r,t.memoizedState)||(Je=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,he.lanes|=i,br|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function pl(e){var t=wt(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);$t(i,t.memoizedState)||(Je=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Pm(){}function Tm(e,t){var n=he,r=wt(),o=t(),i=!$t(r.memoizedState,o);if(i&&(r.memoizedState=o,Je=!0),r=r.queue,hc(Am.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||je!==null&&je.memoizedState.tag&1){if(n.flags|=2048,gi(9,Rm.bind(null,n,r,o,t),void 0,null),Oe===null)throw Error(O(349));Cr&30||Nm(n,t,o)}return o}function Nm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Rm(e,t,n,r){t.value=n,t.getSnapshot=r,jm(t)&&Om(e)}function Am(e,t,n){return n(function(){jm(t)&&Om(e)})}function jm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!$t(e,n)}catch{return!0}}function Om(e){var t=hn(e,1);t!==null&&It(t,e,1,-1)}function $d(e){var t=Qt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vi,lastRenderedState:e},t.queue=e,e=e.dispatch=m0.bind(null,he,e),[t.memoizedState,e]}function gi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Lm(){return wt().memoizedState}function bs(e,t,n,r){var o=Qt();he.flags|=e,o.memoizedState=gi(1|t,n,void 0,r===void 0?null:r)}function xa(e,t,n,r){var o=wt();r=r===void 0?null:r;var i=void 0;if(Pe!==null){var s=Pe.memoizedState;if(i=s.destroy,r!==null&&fc(r,s.deps)){o.memoizedState=gi(t,n,i,r);return}}he.flags|=e,o.memoizedState=gi(1|t,n,i,r)}function Bd(e,t){return bs(8390656,8,e,t)}function hc(e,t){return xa(2048,8,e,t)}function _m(e,t){return xa(4,2,e,t)}function Dm(e,t){return xa(4,4,e,t)}function Mm(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Im(e,t,n){return n=n!=null?n.concat([e]):null,xa(4,4,Mm.bind(null,t,e),n)}function vc(){}function Fm(e,t){var n=wt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&fc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function zm(e,t){var n=wt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&fc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function $m(e,t,n){return Cr&21?($t(n,t)||(n=Wp(),he.lanes|=n,br|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Je=!0),e.memoizedState=n)}function f0(e,t){var n=oe;oe=n!==0&&4>n?n:4,e(!0);var r=dl.transition;dl.transition={};try{e(!1),t()}finally{oe=n,dl.transition=r}}function Bm(){return wt().memoizedState}function p0(e,t,n){var r=qn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Um(e))Vm(t,n);else if(n=Cm(e,t,n,r),n!==null){var o=Ke();It(n,e,r,o),Hm(n,t,r)}}function m0(e,t,n){var r=qn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Um(e))Vm(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,$t(a,s)){var l=t.interleaved;l===null?(o.next=o,ac(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Cm(e,t,o,r),n!==null&&(o=Ke(),It(n,e,r,o),Hm(n,t,r))}}function Um(e){var t=e.alternate;return e===he||t!==null&&t===he}function Vm(e,t){Go=Gs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ku(e,n)}}var Xs={readContext:xt,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useInsertionEffect:Ie,useLayoutEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useMutableSource:Ie,useSyncExternalStore:Ie,useId:Ie,unstable_isNewReconciler:!1},h0={readContext:xt,useCallback:function(e,t){return Qt().memoizedState=[e,t===void 0?null:t],e},useContext:xt,useEffect:Bd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,bs(4194308,4,Mm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return bs(4194308,4,e,t)},useInsertionEffect:function(e,t){return bs(4,2,e,t)},useMemo:function(e,t){var n=Qt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=p0.bind(null,he,e),[r.memoizedState,e]},useRef:function(e){var t=Qt();return e={current:e},t.memoizedState=e},useState:$d,useDebugValue:vc,useDeferredValue:function(e){return Qt().memoizedState=e},useTransition:function(){var e=$d(!1),t=e[0];return e=f0.bind(null,e[1]),Qt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,o=Qt();if(fe){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),Oe===null)throw Error(O(349));Cr&30||Nm(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Bd(Am.bind(null,r,i,e),[e]),r.flags|=2048,gi(9,Rm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Qt(),t=Oe.identifierPrefix;if(fe){var n=dn,r=cn;n=(r&~(1<<32-Mt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=hi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=d0++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},v0={readContext:xt,useCallback:Fm,useContext:xt,useEffect:hc,useImperativeHandle:Im,useInsertionEffect:_m,useLayoutEffect:Dm,useMemo:zm,useReducer:fl,useRef:Lm,useState:function(){return fl(vi)},useDebugValue:vc,useDeferredValue:function(e){var t=wt();return $m(t,Pe.memoizedState,e)},useTransition:function(){var e=fl(vi)[0],t=wt().memoizedState;return[e,t]},useMutableSource:Pm,useSyncExternalStore:Tm,useId:Bm,unstable_isNewReconciler:!1},g0={readContext:xt,useCallback:Fm,useContext:xt,useEffect:hc,useImperativeHandle:Im,useInsertionEffect:_m,useLayoutEffect:Dm,useMemo:zm,useReducer:pl,useRef:Lm,useState:function(){return pl(vi)},useDebugValue:vc,useDeferredValue:function(e){var t=wt();return Pe===null?t.memoizedState=e:$m(t,Pe.memoizedState,e)},useTransition:function(){var e=pl(vi)[0],t=wt().memoizedState;return[e,t]},useMutableSource:Pm,useSyncExternalStore:Tm,useId:Bm,unstable_isNewReconciler:!1};function At(e,t){if(e&&e.defaultProps){t=ve({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function nu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ve({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var wa={isMounted:function(e){return(e=e._reactInternals)?Rr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ke(),o=qn(e),i=fn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Qn(e,i,o),t!==null&&(It(t,e,o,r),Es(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ke(),o=qn(e),i=fn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Qn(e,i,o),t!==null&&(It(t,e,o,r),Es(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ke(),r=qn(e),o=fn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Qn(e,o,r),t!==null&&(It(t,e,r,n),Es(t,e,r))}};function Ud(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!ui(n,r)||!ui(o,i):!0}function Wm(e,t,n){var r=!1,o=Zn,i=t.contextType;return typeof i=="object"&&i!==null?i=xt(i):(o=tt(t)?Sr:Be.current,r=t.contextTypes,i=(r=r!=null)?fo(e,o):Zn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=wa,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Vd(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wa.enqueueReplaceState(t,t.state,null)}function ru(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},lc(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=xt(i):(i=tt(t)?Sr:Be.current,o.context=fo(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(nu(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&wa.enqueueReplaceState(o,o.state,null),qs(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function vo(e,t){try{var n="",r=t;do n+=Wg(r),r=r.return;while(r);var o=n}catch(i){o=` 39Error generating stack: `+i.message+` 40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function ml(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ou(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var y0=typeof WeakMap=="function"?WeakMap:Map;function Qm(e,t,n){n=fn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Js||(Js=!0,mu=r),ou(e,t)},n}function Km(e,t,n){n=fn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ou(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){ou(e,t),typeof r!="function"&&(Kn===null?Kn=new Set([this]):Kn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}
vendor: 2,677 bytes, line 40
40function Hd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new y0;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=O0.bind(null,e,t,n),t.then(e,e))}function Wd(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Qd(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=fn(-1,1),t.tag=2,Qn(n,t,1))),n.lanes|=1),e)}var x0=xn.ReactCurrentOwner,Je=!1;function We(e,t,n,r){t.child=e===null?Em(t,null,n,r):mo(t,e.child,n,r)}function Kd(e,t,n,r,o){n=n.render;var i=t.ref;return Zr(t,o),r=pc(e,t,n,r,i,o),n=mc(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,vn(e,t,o)):(fe&&n&&tc(t),t.flags|=1,We(e,t,r,o),t.child)}function qd(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!bc(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,qm(e,t,i,r,o)):(e=Ns(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:ui,n(s,r)&&e.ref===t.ref)return vn(e,t,o)}return t.flags|=1,e=Yn(i,r),e.ref=t.ref,e.return=t,t.child=e}function qm(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(ui(i,r)&&e.ref===t.ref)if(Je=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Je=!0);else return t.lanes=e.lanes,vn(e,t,o)}return iu(e,t,n,r,o)}function Ym(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae(Kr,st),st|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae(Kr,st),st|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ae(Kr,st),st|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ae(Kr,st),st|=r;return We(e,t,o,n),t.child}function Gm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function iu(e,t,n,r,o){var i=tt(n)?Sr:Be.current;return i=fo(t,i),Zr(t,o),n=pc(e,t,n,r,i,o),r=mc(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,vn(e,t,o)):(fe&&r&&tc(t),t.flags|=1,We(e,t,n,o),t.child)}function Yd(e,t,n,r,o){if(tt(n)){var i=!0;Vs(t)}else i=!1;if(Zr(t,o),t.stateNode===null)ks(e,t),Wm(t,n,r),ru(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;
vendor: 1,171 bytes, line 40
40typeof u=="object"&&u!==null?u=xt(u):(u=tt(n)?Sr:Be.current,u=fo(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Vd(t,s,r,u),jn=!1;var m=t.memoizedState;s.state=m,qs(t,r,s,o),l=t.memoizedState,a!==r||m!==l||et.current||jn?(typeof c=="function"&&(nu(t,n,c,r),l=t.memoizedState),(a=jn||Ud(t,n,a,r,m,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,bm(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:At(t.type,a),s.props=u,d=t.pendingProps,m=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=xt(l):(l=tt(n)?Sr:
vendor: 6,405 bytes, line 40
40Be.current,l=fo(t,l));var f=n.getDerivedStateFromProps;(c=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||m!==l)&&Vd(t,s,r,l),jn=!1,m=t.memoizedState,s.state=m,qs(t,r,s,o);var y=t.memoizedState;a!==d||m!==y||et.current||jn?(typeof f=="function"&&(nu(t,n,f,r),y=t.memoizedState),(u=jn||Ud(t,n,u,r,m,y,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,y,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,y,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),s.props=r,s.state=y,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return su(e,t,n,r,i,o)}function su(e,t,n,r,o,i){Gm(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&_d(t,n,!1),vn(e,t,i);r=t.stateNode,x0.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=mo(t,e.child,null,i),t.child=mo(t,null,a,i)):We(e,t,a,i),t.memoizedState=r.state,o&&_d(t,n,!0),t.child}function Xm(e){var t=e.stateNode;t.pendingContext?Ld(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ld(e,t.context,!1),uc(e,t.containerInfo)}function Gd(e,t,n,r,o){return po(),rc(o),t.flags|=256,We(e,t,n,r),t.child}var au={dehydrated:null,treeContext:null,retryLane:0};function lu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Zm(e,t,n){var r=t.pendingProps,o=pe.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ae(pe,o&1),e===null)return eu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Ca(s,r,0,null),e=wr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=lu(n),t.memoizedState=au,e):gc(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return w0(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Yn(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Yn(a,i):(i=wr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?lu(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=au,r}return i=e.child,e=i.sibling,r=Yn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function gc(e,t){return t=Ca({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ls(e,t,n,r){return r!==null&&rc(r),mo(t,e.child,null,n),e=gc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function w0(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=ml(Error(O(422))),ls(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Ca({mode:"visible",children:r.children},o,0,null),i=wr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&mo(t,e.child,null,s),t.child.memoizedState=lu(s),t.memoizedState=au,i);if(!(t.mode&1))return ls(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(O(419)),r=ml(i,r,void 0),ls(e,t,s,r)}if(a=(s&e.childLanes)!==0,Je||a){if(r=Oe,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,hn(e,o),It(r,e,o,-1))}return Cc(),r=ml(Error(O(421))),ls(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=L0.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,lt=Wn(o.nextSibling),ut=t,fe=!0,Dt=null,e!==null&&(ht[vt++]=cn,ht[vt++]=dn,ht[vt++]=Er,cn=e.id,dn=e.overflow,Er=t),t=gc(t,r.children),t.flags|=4096,t)}function Xd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),tu(e.return,t,n)}function hl(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Jm(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(We(e,t,r.children,n),r=pe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Xd(e,n,t);else if(e.tag===19)Xd(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ae(pe,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Ys(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),hl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ys(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}hl(t,!0,n,null,i);break;case"together":hl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ks(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}
vendor: 4,903 bytes, line 40
40function vn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),br|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(O(153));if(t.child!==null){for(e=t.child,n=Yn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Yn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function S0(e,t,n){switch(t.tag){case 3:Xm(t),po();break;case 5:km(t);break;case 1:tt(t.type)&&Vs(t);break;case 4:uc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ae(Qs,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ae(pe,pe.current&1),t.flags|=128,null):n&t.child.childLanes?Zm(e,t,n):(ae(pe,pe.current&1),e=vn(e,t,n),e!==null?e.sibling:null);ae(pe,pe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Jm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ae(pe,pe.current),r)break;return null;case 22:case 23:return t.lanes=0,Ym(e,t,n)}return vn(e,t,n)}var eh,uu,th,nh;eh=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};uu=function(){};th=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,fr(Jt.current);var i=null;switch(n){case"input":o=jl(e,o),r=jl(e,r),i=[];break;case"select":o=ve({},o,{value:void 0}),r=ve({},r,{value:void 0}),i=[];break;case"textarea":o=_l(e,o),r=_l(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Bs)}Ml(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ni.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ni.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ce("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};nh=function(e,t,n,r){n!==r&&(t.flags|=4)};function Mo(e,t){if(!fe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Fe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function E0(e,t,n){var r=t.pendingProps;switch(nc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(t),null;case 1:return tt(t.type)&&Us(),Fe(t),null;case 3:return r=t.stateNode,ho(),de(et),de(Be),dc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ss(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Dt!==null&&(gu(Dt),Dt=null))),uu(e,t),Fe(t),null;case 5:cc(t);var o=fr(mi.current);if(n=t.type,e!==null&&t.stateNode!=null)th(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(O(166));return Fe(t),null}if(e=fr(Jt.current),ss(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Gt]=t,r[fi]=i,e=(t.mode&1)!==0,n){case"dialog":ce("cancel",r),ce("close",r);break;case"iframe":case"object":case"embed":ce("load",r);break;case"video":case"audio":for(o=0;o<Vo.length;o++)ce(Vo[o],r);break;case"source":ce("error",r);break;case"img":case"image":case"link":ce("error",r),ce("load",r);break;case"details":ce("toggle",r);break;case"input":sd(r,i),ce("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ce("invalid",r);break;case"textarea":ld(r,i),ce("invalid",r)}Ml(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 28,896 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&is(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&is(r.textContent,a,e),o=["children",""+a]):ni.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&ce("scroll",r)}switch(n){case"input":Xi(r),ad(r,i,!0);break;case"textarea":Xi(r),ud(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Bs)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ap(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Gt]=t,e[fi]=r,eh(e,t,!1,!1),t.stateNode=e;e:{switch(s=Il(n,r),n){case"dialog":ce("cancel",e),ce("close",e),o=r;break;case"iframe":case"object":case"embed":ce("load",e),o=r;break;case"video":case"audio":for(o=0;o<Vo.length;o++)ce(Vo[o],e);o=r;break;case"source":ce("error",e),o=r;break;case"img":case"image":case"link":ce("error",e),ce("load",e),o=r;break;case"details":ce("toggle",e),o=r;break;case"input":sd(e,r),o=jl(e,r),ce("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ve({},r,{value:void 0}),ce("invalid",e);break;case"textarea":ld(e,r),o=_l(e,r),ce("invalid",e);break;default:o=r}Ml(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?Lp(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&jp(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ri(e,l):typeof l=="number"&&ri(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(ni.hasOwnProperty(i)?l!=null&&i==="onScroll"&&ce("scroll",e):l!=null&&Bu(e,i,l,s))}switch(n){case"input":Xi(e),ad(e,r,!1);break;case"textarea":Xi(e),ud(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Xn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?qr(e,!!r.multiple,i,!1):r.defaultValue!=null&&qr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Bs)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Fe(t),null;case 6:if(e&&t.stateNode!=null)nh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(O(166));if(n=fr(mi.current),fr(Jt.current),ss(t)){if(r=t.stateNode,n=t.memoizedProps,r[Gt]=t,(i=r.nodeValue!==n)&&(e=ut,e!==null))switch(e.tag){case 3:is(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&is(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Gt]=t,t.stateNode=r}return Fe(t),null;case 13:if(de(pe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(fe&<!==null&&t.mode&1&&!(t.flags&128))wm(),po(),t.flags|=98560,i=!1;else if(i=ss(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(O(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(O(317));i[Gt]=t}else po(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Fe(t),i=!1}else Dt!==null&&(gu(Dt),Dt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||pe.current&1?Ne===0&&(Ne=3):Cc())),t.updateQueue!==null&&(t.flags|=4),Fe(t),null);case 4:return ho(),uu(e,t),e===null&&ci(t.stateNode.containerInfo),Fe(t),null;case 10:return sc(t.type._context),Fe(t),null;case 17:return tt(t.type)&&Us(),Fe(t),null;case 19:if(de(pe),i=t.memoizedState,i===null)return Fe(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Mo(i,!1);else{if(Ne!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Ys(e),s!==null){for(t.flags|=128,Mo(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ae(pe,pe.current&1|2),t.child}e=e.sibling}i.tail!==null&&Se()>go&&(t.flags|=128,r=!0,Mo(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ys(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Mo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!fe)return Fe(t),null}else 2*Se()-i.renderingStartTime>go&&n!==1073741824&&(t.flags|=128,r=!0,Mo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Se(),t.sibling=null,n=pe.current,ae(pe,r?n&1|2:n&1),t):(Fe(t),null);case 22:case 23:return Ec(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?st&1073741824&&(Fe(t),t.subtreeFlags&6&&(t.flags|=8192)):Fe(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function C0(e,t){switch(nc(t),t.tag){case 1:return tt(t.type)&&Us(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ho(),de(et),de(Be),dc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cc(t),null;case 13:if(de(pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));po()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return de(pe),null;case 4:return ho(),null;case 10:return sc(t.type._context),null;case 22:case 23:return Ec(),null;case 24:return null;default:return null}}var us=!1,$e=!1,b0=typeof WeakSet=="function"?WeakSet:Set,F=null;function Qr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){we(e,t,r)}else n.current=null}function cu(e,t,n){try{n()}catch(r){we(e,t,r)}}var Zd=!1;function k0(e,t){if(Kl=Fs,e=am(),ec(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,m=null;t:for(;;){for(var f;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(f=d.firstChild)!==null;)m=d,d=f;for(;;){if(d===e)break t;if(m===n&&++u===o&&(a=s),m===i&&++c===r&&(l=s),(f=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=f}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ql={focusedElem:e,selectionRange:n},Fs=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,w=y.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:At(t.type,v),w);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(E){we(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return y=Zd,Zd=!1,y}function Xo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&cu(t,n,i)}o=o.next}while(o!==r)}}function Sa(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function du(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function rh(e){var t=e.alternate;t!==null&&(e.alternate=null,rh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Gt],delete t[fi],delete t[Xl],delete t[a0],delete t[l0])),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 oh(e){return e.tag===5||e.tag===3||e.tag===4}function Jd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||oh(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 fu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Bs));else if(r!==4&&(e=e.child,e!==null))for(fu(e,t,n),e=e.sibling;e!==null;)fu(e,t,n),e=e.sibling}function pu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(pu(e,t,n),e=e.sibling;e!==null;)pu(e,t,n),e=e.sibling}var Le=null,_t=!1;function Pn(e,t,n){for(n=n.child;n!==null;)ih(e,t,n),n=n.sibling}function ih(e,t,n){if(Zt&&typeof Zt.onCommitFiberUnmount=="function")try{Zt.onCommitFiberUnmount(pa,n)}catch{}switch(n.tag){case 5:$e||Qr(n,t);case 6:var r=Le,o=_t;Le=null,Pn(e,t,n),Le=r,_t=o,Le!==null&&(_t?(e=Le,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Le.removeChild(n.stateNode));break;case 18:Le!==null&&(_t?(e=Le,n=n.stateNode,e.nodeType===8?ll(e.parentNode,n):e.nodeType===1&&ll(e,n),ai(e)):ll(Le,n.stateNode));break;case 4:r=Le,o=_t,Le=n.stateNode.containerInfo,_t=!0,Pn(e,t,n),Le=r,_t=o;break;case 0:case 11:case 14:case 15:if(!$e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&cu(n,t,s),o=o.next}while(o!==r)}Pn(e,t,n);break;case 1:if(!$e&&(Qr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){we(n,t,a)}Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:n.mode&1?($e=(r=$e)||n.memoizedState!==null,Pn(e,t,n),$e=r):Pn(e,t,n);break;default:Pn(e,t,n)}}function ef(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new b0),t.forEach(function(r){var o=_0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Le=a.stateNode,_t=!1;break e;case 3:Le=a.stateNode.containerInfo,_t=!0;break e;case 4:Le=a.stateNode.containerInfo,_t=!0;break e}a=a.return}if(Le===null)throw Error(O(160));ih(i,s,o),Le=null,_t=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){we(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)sh(t,e),t=t.sibling}function sh(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Nt(t,e),Wt(e),r&4){try{Xo(3,e,e.return),Sa(3,e)}catch(v){we(e,e.return,v)}try{Xo(5,e,e.return)}catch(v){we(e,e.return,v)}}break;case 1:Nt(t,e),Wt(e),r&512&&n!==null&&Qr(n,n.return);break;case 5:if(Nt(t,e),Wt(e),r&512&&n!==null&&Qr(n,n.return),e.flags&32){var o=e.stateNode;try{ri(o,"")}catch(v){we(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&Np(o,i),Il(a,s);var u=Il(a,i);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?Lp(o,d):c==="dangerouslySetInnerHTML"?jp(o,d):c==="children"?ri(o,d):Bu(o,c,d,u)}switch(a){case"input":Ol(o,i);break;case"textarea":Rp(o,i);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;f!=null?qr(o,!!i.multiple,f,!1):m!==!!i.multiple&&(i.defaultValue!=null?qr(o,!!i.multiple,i.defaultValue,!0):qr(o,!!i.multiple,i.multiple?[]:"",!1))}o[fi]=i}catch(v){we(e,e.return,v)}}break;case 6:if(Nt(t,e),Wt(e),r&4){if(e.stateNode===null)throw Error(O(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){we(e,e.return,v)}}break;case 3:if(Nt(t,e),Wt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ai(t.containerInfo)}catch(v){we(e,e.return,v)}break;case 4:Nt(t,e),Wt(e);break;case 13:Nt(t,e),Wt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(wc=Se())),r&4&&ef(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?($e=(u=$e)||c,Nt(t,e),$e=u):Nt(t,e),Wt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(F=e,c=e.child;c!==null;){for(d=F=c;F!==null;){switch(m=F,f=m.child,m.tag){case 0:case 11:case 14:case 15:Xo(4,m,m.return);break;case 1:Qr(m,m.return);var y=m.stateNode;if(typeof y.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){we(r,n,v)}}break;case 5:Qr(m,m.return);break;case 22:if(m.memoizedState!==null){nf(d);continue}}f!==null?(f.return=m,F=f):nf(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Op("display",s))}catch(v){we(e,e.return,v)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(v){we(e,e.return,v)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Nt(t,e),Wt(e),r&4&&ef(e);break;case 21:break;default:Nt(t,e),Wt(e)}}function Wt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(oh(n)){var r=n;break e}n=n.return}throw Error(O(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(ri(o,""),r.flags&=-33);var i=Jd(e);pu(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Jd(e);fu(e,a,s);break;default:throw Error(O(161))}}catch(l){we(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function P0(e,t,n){F=e,ah(e)}function ah(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var o=F,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||us;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||$e;a=us;var u=$e;if(us=s,($e=l)&&!u)for(F=o;F!==null;)s=F,l=s.child,s.tag===22&&s.memoizedState!==null?rf(o):l!==null?(l.return=s,F=l):rf(o);for(;i!==null;)F=i,ah(i),i=i.sibling;F=o,us=a,$e=u}tf(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,F=i):tf(e)}}function tf(e){for(;F!==null;){var t=F;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:$e||Sa(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!$e)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:At(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&zd(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}zd(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&ai(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(O(163))}$e||t.flags&512&&du(t)}catch(m){we(t,t.return,m)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function nf(e){for(;F!==null;){var t=F;if(t===e){F=null;break}var n=t.sibling;if(n!==null){n.return=t.return,F=n;break}F=t.return}}function rf(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Sa(4,t)}catch(l){we(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){we(t,o,l)}}var i=t.return;try{du(t)}catch(l){we(t,i,l)}break;case 5:var s=t.return;try{du(t)}catch(l){we(t,s,l)}}}catch(l){we(t,t.return,l)}if(t===e){F=null;break}var a=t.sibling;if(a!==null){a.return=t.return,F=a;break}F=t.return}}var T0=Math.ceil,Zs=xn.ReactCurrentDispatcher,yc=xn.ReactCurrentOwner,yt=xn.ReactCurrentBatchConfig,ee=0,Oe=null,Ce=null,_e=0,st=0,Kr=or(0),Ne=0,yi=null,br=0,Ea=0,xc=0,Zo=null,Ze=null,wc=0,go=1/0,an=null,Js=!1,mu=null,Kn=null,cs=!1,$n=null,ea=0,Jo=0,hu=null,Ps=-1,Ts=0;function Ke(){return ee&6?Se():Ps!==-1?Ps:Ps=Se()}function qn(e){return e.mode&1?ee&2&&_e!==0?_e&-_e:c0.transition!==null?(Ts===0&&(Ts=Wp()),Ts):(e=oe,e!==0||(e=window.event,e=e===void 0?16:Zp(e.type)),e):1}function It(e,t,n,r){if(50<Jo)throw Jo=0,hu=null,Error(O(185));ji(e,n,r),(!(ee&2)||e!==Oe)&&(e===Oe&&(!(ee&2)&&(Ea|=n),Ne===4&&Ln(e,_e)),nt(e,r),n===1&&ee===0&&!(t.mode&1)&&(go=Se()+500,ya&&ir()))}function nt(e,t){var n=e.callbackNode;cy(e,t);var r=Is(e,e===Oe?_e:0);if(r===0)n!==null&&fd(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&fd(n),t===1)e.tag===0?u0(of.bind(null,e)):gm(of.bind(null,e)),i0(function(){!(ee&6)&&ir()}),n=null;else{switch(Qp(r)){case 1:n=Qu;break;case 4:n=Vp;break;case 16:n=Ms;break;case 536870912:n=Hp;break;default:n=Ms}n=hh(n,lh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function lh(e,t){if(Ps=-1,Ts=0,ee&6)throw Error(O(327));var n=e.callbackNode;if(Jr()&&e.callbackNode!==n)return null;var r=Is(e,e===Oe?_e:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ta(e,r);else{t=r;var o=ee;ee|=2;var i=ch();(Oe!==e||_e!==t)&&(an=null,go=Se()+500,xr(e,t));do try{A0();break}catch(a){uh(e,a)}while(!0);ic(),Zs.current=i,ee=o,Ce!==null?t=0:(Oe=null,_e=0,t=Ne)}if(t!==0){if(t===2&&(o=Ul(e),o!==0&&(r=o,t=vu(e,o))),t===1)throw n=yi,xr(e,0),Ln(e,r),nt(e,Se()),n;if(t===6)Ln(e,r);else{if(o=e.current.alternate,!(r&30)&&!N0(o)&&(t=ta(e,r),t===2&&(i=Ul(e),i!==0&&(r=i,t=vu(e,i))),t===1))throw n=yi,xr(e,0),Ln(e,r),nt(e,Se()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(O(345));case 2:ur(e,Ze,an);break;case 3:if(Ln(e,r),(r&130023424)===r&&(t=wc+500-Se(),10<t)){if(Is(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ke(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Gl(ur.bind(null,e,Ze,an),t);break}ur(e,Ze,an);break;case 4:if(Ln(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-Mt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=Se()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*T0(r/1960))-r,10<r){e.timeoutHandle=Gl(ur.bind(null,e,Ze,an),r);break}ur(e,Ze,an);break;case 5:ur(e,Ze,an);break;default:throw Error(O(329))}}}return nt(e,Se()),e.callbackNode===n?lh.bind(null,e):null}function vu(e,t){var n=Zo;return e.current.memoizedState.isDehydrated&&(xr(e,t).flags|=256),e=ta(e,t),e!==2&&(t=Ze,Ze=n,t!==null&&gu(t)),e}function gu(e){Ze===null?Ze=e:Ze.push.apply(Ze,e)}function N0(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!$t(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ln(e,t){for(t&=~xc,t&=~Ea,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Mt(t),r=1<<n;e[n]=-1,t&=~r}}function of(e){if(ee&6)throw Error(O(327));Jr();var t=Is(e,0);if(!(t&1))return nt(e,Se()),null;var n=ta(e,t);if(e.tag!==0&&n===2){var r=Ul(e);r!==0&&(t=r,n=vu(e,r))}if(n===1)throw n=yi,xr(e,0),Ln(e,t),nt(e,Se()),n;if(n===6)throw Error(O(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ur(e,Ze,an),nt(e,Se()),null}function Sc(e,t){var n=ee;ee|=1;try{return e(t)}finally{ee=n,ee===0&&(go=Se()+500,ya&&ir())}}function kr(e){$n!==null&&$n.tag===0&&!(ee&6)&&Jr();var t=ee;ee|=1;var n=yt.transition,r=oe;try{if(yt.transition=null,oe=1,e)return e()}finally{oe=r,yt.transition=n,ee=t,!(ee&6)&&ir()}}function Ec(){st=Kr.current,de(Kr)}function xr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,o0(n)),Ce!==null)for(n=Ce.return;n!==null;){var r=n;switch(nc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Us();break;case 3:ho(),de(et),de(Be),dc();break;case 5:cc(r);break;case 4:ho();break;case 13:de(pe);break;case 19:de(pe);break;case 10:sc(r.type._context);break;case 22:case 23:Ec()}n=n.return}if(Oe=e,Ce=e=Yn(e.current,null),_e=st=t,Ne=0,yi=null,xc=Ea=br=0,Ze=Zo=null,dr!==null){for(t=0;t<dr.length;t++)if(n=dr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}dr=null}return e}function uh(e,t){do{var n=Ce;try{if(ic(),Cs.current=Xs,Gs){for(var r=he.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Gs=!1}if(Cr=0,je=Pe=he=null,Go=!1,hi=0,yc.current=null,n===null||n.return===null){Ne=1,yi=t,Ce=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=_e,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var m=c.alternate;m?(c.updateQueue=m.updateQueue,c.memoizedState=m.memoizedState,c.lanes=m.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=Wd(s);if(f!==null){f.flags&=-257,Qd(f,s,a,i,t),f.mode&1&&Hd(i,u,t),t=f,l=u;var y=t.updateQueue;if(y===null){var v=new Set;v.add(l),t.updateQueue=v}else y.add(l);break e}else{if(!(t&1)){Hd(i,u,t),Cc();break e}l=Error(O(426))}}else if(fe&&a.mode&1){var w=Wd(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Qd(w,s,a,i,t),rc(vo(l,a));break e}}i=l=vo(l,a),Ne!==4&&(Ne=2),Zo===null?Zo=[i]:Zo.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=Qm(i,l,t);Fd(i,h);break e;case 1:a=l;var p=i.type,g=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Kn===null||!Kn.has(g)))){i.flags|=65536,t&=-t,i.lanes|=t;var E=Km(i,a,t);Fd(i,E);break e}}i=i.return}while(i!==null)}fh(n)}catch(C){t=C,Ce===n&&n!==null&&(Ce=n=n.return);continue}break}while(!0)}function ch(){var e=Zs.current;return Zs.current=Xs,e===null?Xs:e}function Cc(){(Ne===0||Ne===3||Ne===2)&&(Ne=4),Oe===null||!(br&268435455)&&!(Ea&268435455)||Ln(Oe,_e)}function ta(e,t){var n=ee;ee|=2;var r=ch();(Oe!==e||_e!==t)&&(an=null,xr(e,t));do try{R0();break}catch(o){uh(e,o)}while(!0);if(ic(),ee=n,Zs.current=r,Ce!==null)throw Error(O(261));return Oe=null,_e=0,Ne}function R0(){for(;Ce!==null;)dh(Ce)}function A0(){for(;Ce!==null&&!ty();)dh(Ce)}function dh(e){var t=mh(e.alternate,e,st);e.memoizedProps=e.pendingProps,t===null?fh(e):Ce=t,yc.current=null}function fh(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=C0(n,t),n!==null){n.flags&=32767,Ce=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ne=6,Ce=null;return}}else if(n=E0(n,t,st),n!==null){Ce=n;return}if(t=t.sibling,t!==null){Ce=t;return}Ce=t=e}while(t!==null);Ne===0&&(Ne=5)}function ur(e,t,n){var r=oe,o=yt.transition;try{yt.transition=null,oe=1,j0(e,t,n,r)}finally{yt.transition=o,oe=r}return null}function j0(e,t,n,r){do Jr();while($n!==null);if(ee&6)throw Error(O(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(O(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(dy(e,i),e===Oe&&(Ce=Oe=null,_e=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||cs||(cs=!0,hh(Ms,function(){return Jr(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=yt.transition,yt.transition=null;var s=oe;oe=1;var a=ee;ee|=4,yc.current=null,k0(e,n),sh(n,e),Xy(ql),Fs=!!Kl,ql=Kl=null,e.current=n,P0(n),ny(),ee=a,oe=s,yt.transition=i}else e.current=n;if(cs&&(cs=!1,$n=e,ea=o),i=e.pendingLanes,i===0&&(Kn=null),iy(n.stateNode),nt(e,Se()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Js)throw Js=!1,e=mu,mu=null,e;return ea&1&&e.tag!==0&&Jr(),i=e.pendingLanes,i&1?e===hu?Jo++:(Jo=0,hu=e):Jo=0,ir(),null}function Jr(){if($n!==null){var e=Qp(ea),t=yt.transition,n=oe;try{if(yt.transition=null,oe=16>e?16:e,$n===null)var r=!1;else{if(e=$n,$n=null,ea=0,ee&6)throw Error(O(331));var o=ee;for(ee|=4,F=e.current;F!==null;){var i=F,s=i.child;if(F.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(F=u;F!==null;){var c=F;switch(c.tag){case 0:case 11:case 15:Xo(8,c,i)}var d=c.child;if(d!==null)d.return=c,F=d;else for(;F!==null;){c=F;var m=c.sibling,f=c.return;if(rh(c),c===u){F=null;break}if(m!==null){m.return=f,F=m;break}F=f}}}var y=i.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}F=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,F=s;else e:for(;F!==null;){if(i=F,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Xo(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,F=h;break e}F=i.return}}var p=e.current;for(F=p;F!==null;){s=F;var g=s.child;if(s.subtreeFlags&2064&&g!==null)g.return=s,F=g;else e:for(s=p;F!==null;){if(a=F,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Sa(9,a)}}catch(C){we(a,a.return,C)}if(a===s){F=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,F=E;break e}F=a.return}}if(ee=o,ir(),Zt&&typeof Zt.onPostCommitFiberRoot=="function")try{Zt.onPostCommitFiberRoot(pa,e)}catch{}r=!0}return r}finally{oe=n,yt.transition=t}}return!1}function sf(e,t,n){t=vo(n,t),t=Qm(e,t,1),e=Qn(e,t,1),t=Ke(),e!==null&&(ji(e,1,t),nt(e,t))}function we(e,t,n){if(e.tag===3)sf(e,e,n);else for(;t!==null;){if(t.tag===3){sf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Kn===null||!Kn.has(r))){e=vo(n,e),e=Km(t,e,1),t=Qn(t,e,1),e=Ke(),t!==null&&(ji(t,1,e),nt(t,e));break}}t=t.return}}function O0(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ke(),e.pingedLanes|=e.suspendedLanes&n,Oe===e&&(_e&n)===n&&(Ne===4||Ne===3&&(_e&130023424)===_e&&500>Se()-wc?xr(e,0):xc|=n),nt(e,t)}function ph(e,t){t===0&&(e.mode&1?(t=es,es<<=1,!(es&130023424)&&(es=4194304)):t=1);var n=Ke();e=hn(e,t),e!==null&&(ji(e,t,n),nt(e,n))}function L0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ph(e,n)}function _0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(t),ph(e,n)}var mh;mh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||et.current)Je=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Je=!1,S0(e,t,n);Je=!!(e.flags&131072)}else Je=!1,fe&&t.flags&1048576&&ym(t,Ws,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ks(e,t),e=t.pendingProps;var o=fo(t,Be.current);Zr(t,n),o=pc(null,t,r,e,o,n);var i=mc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,tt(r)?(i=!0,Vs(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,lc(t),o.updater=wa,t.stateNode=o,o._reactInternals=t,ru(t,r,e,n),t=su(null,t,r,!0,i,n)):(t.tag=0,fe&&i&&tc(t),We(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ks(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=M0(r),e=At(r,e),o){case 0:t=iu(null,t,r,e,n);break e;case 1:t=Yd(null,t,r,e,n);break e;case 11:t=Kd(null,t,r,e,n);break e;case 14:t=qd(null,t,r,At(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:At(r,o),iu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:At(r,o),Yd(e,t,r,o,n);case 3:e:{if(Xm(t),e===null)throw Error(O(387));
vendor: 8,088 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,bm(e,t),qs(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=vo(Error(O(423)),t),t=Gd(e,t,r,n,o);break e}else if(r!==o){o=vo(Error(O(424)),t),t=Gd(e,t,r,n,o);break e}else for(lt=Wn(t.stateNode.containerInfo.firstChild),ut=t,fe=!0,Dt=null,n=Em(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(po(),r===o){t=vn(e,t,n);break e}We(e,t,r,n)}t=t.child}return t;case 5:return km(t),e===null&&eu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Yl(r,o)?s=null:i!==null&&Yl(r,i)&&(t.flags|=32),Gm(e,t),We(e,t,s,n),t.child;case 6:return e===null&&eu(t),null;case 13:return Zm(e,t,n);case 4:return uc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mo(t,null,r,n):We(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:At(r,o),Kd(e,t,r,o,n);case 7:return We(e,t,t.pendingProps,n),t.child;case 8:return We(e,t,t.pendingProps.children,n),t.child;case 12:return We(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,ae(Qs,r._currentValue),r._currentValue=s,i!==null)if($t(i.value,s)){if(i.children===o.children&&!et.current){t=vn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=fn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),tu(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(O(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),tu(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}We(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Zr(t,n),o=xt(o),r=r(o),t.flags|=1,We(e,t,r,n),t.child;case 14:return r=t.type,o=At(r,t.pendingProps),o=At(r.type,o),qd(e,t,r,o,n);case 15:return qm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:At(r,o),ks(e,t),t.tag=1,tt(r)?(e=!0,Vs(t)):e=!1,Zr(t,n),Wm(t,r,o),ru(t,r,o,n),su(null,t,r,!0,e,n);case 19:return Jm(e,t,n);case 22:return Ym(e,t,n)}throw Error(O(156,t.tag))};function hh(e,t){return Up(e,t)}function D0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gt(e,t,n,r){return new D0(e,t,n,r)}function bc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function M0(e){if(typeof e=="function")return bc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Vu)return 11;if(e===Hu)return 14}return 2}function Yn(e,t){var n=e.alternate;return n===null?(n=gt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ns(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")bc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Ir:return wr(n.children,o,i,t);case Uu:s=8,o|=8;break;case Tl:return e=gt(12,n,t,o|2),e.elementType=Tl,e.lanes=i,e;case Nl:return e=gt(13,n,t,o),e.elementType=Nl,e.lanes=i,e;case Rl:return e=gt(19,n,t,o),e.elementType=Rl,e.lanes=i,e;case kp:return Ca(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Cp:s=10;break e;case bp:s=9;break e;case Vu:s=11;break e;case Hu:s=14;break e;case An:s=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=gt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function wr(e,t,n,r){return e=gt(7,e,r,t),e.lanes=n,e}function Ca(e,t,n,r){return e=gt(22,e,r,t),e.elementType=kp,e.lanes=n,e.stateNode={isHidden:!1},e}function vl(e,t,n){return e=gt(6,e,null,t),e.lanes=n,e}function gl(e,t,n){return t=gt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function I0(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xa(0),this.expirationTimes=Xa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xa(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function kc(e,t,n,r,o,i,s,a,l){return e=new I0(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=gt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},lc(i),e}function F0(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Mr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function vh(e){if(!e)return Zn;e=e._reactInternals;e:{if(Rr(e)!==e||e.tag!==1)throw Error(O(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(tt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(O(171))}if(e.tag===1){var n=e.type;if(tt(n))return vm(e,n,t)}return t}function gh(e,t,n,r,o,i,s,a,l){return e=kc(n,r,!0,e,o,i,s,a,l),e.context=vh(null),n=e.current,r=Ke(),o=qn(n),i=fn(r,o),i.callback=t??null,Qn(n,i,o),e.current.lanes=o,ji(e,o,r),nt(e,r),e}function ba(e,t,n,r){var o=t.current,i=Ke(),s=qn(o);return n=vh(n),t.context===null?t.context=n:t.pendingContext=n,t=fn(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Qn(o,t,s),e!==null&&(It(e,o,s,i),Es(e,o,s)),s}function na(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function af(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Pc(e,t){af(e,t),(e=e.alternate)&&af(e,t)}function z0(){return null}var yh=typeof reportError=="function"?reportError:function(e){console.error(e)};function Tc(e){this._internalRoot=e}ka.prototype.render=Tc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(O(409));ba(e,t,null,null)};ka.prototype.unmount=Tc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;kr(function(){ba(null,e,null,null)}),t[mn]=null}};function ka(e){this._internalRoot=e}ka.prototype.unstable_scheduleHydration=function(e){if(e){var t=Yp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<On.length&&t!==0&&t<On[n].priority;n++);On.splice(n,0,e),n===0&&Xp(e)}};function Nc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Pa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function lf(){}function $0(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=na(s);i.call(u)}}var s=gh(t,r,e,0,null,!1,!1,"",lf);return e._reactRootContainer=s,e[mn]=s.current,ci(e.nodeType===8?e.parentNode:e),kr(),s}for(;
vendor: 5,149 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=na(l);a.call(u)}}var l=kc(e,0,!1,null,null,!1,!1,"",lf);return e._reactRootContainer=l,e[mn]=l.current,ci(e.nodeType===8?e.parentNode:e),kr(function(){ba(t,l,n,r)}),l}function Ta(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=na(s);a.call(l)}}ba(t,s,e,o)}else s=$0(n,t,e,o,r);return na(s)}Kp=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Uo(t.pendingLanes);n!==0&&(Ku(t,n|1),nt(t,Se()),!(ee&6)&&(go=Se()+500,ir()))}break;case 13:kr(function(){var r=hn(e,1);if(r!==null){var o=Ke();It(r,e,1,o)}}),Pc(e,1)}};qu=function(e){if(e.tag===13){var t=hn(e,134217728);if(t!==null){var n=Ke();It(t,e,134217728,n)}Pc(e,134217728)}};qp=function(e){if(e.tag===13){var t=qn(e),n=hn(e,t);if(n!==null){var r=Ke();It(n,e,t,r)}Pc(e,t)}};Yp=function(){return oe};Gp=function(e,t){var n=oe;try{return oe=e,t()}finally{oe=n}};zl=function(e,t,n){switch(t){case"input":if(Ol(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ga(r);if(!o)throw Error(O(90));Tp(r),Ol(r,o)}}}break;case"textarea":Rp(e,n);break;case"select":t=n.value,t!=null&&qr(e,!!n.multiple,t,!1)}};Mp=Sc;Ip=kr;var B0={usingClientEntryPoint:!1,Events:[Li,Br,ga,_p,Dp,Sc]},Io={findFiberByHostInstance:cr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},U0={bundleType:Io.bundleType,version:Io.version,rendererPackageName:Io.rendererPackageName,rendererConfig:Io.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=$p(e),e===null?null:e.stateNode},findFiberByHostInstance:Io.findFiberByHostInstance||z0,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 ds=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ds.isDisabled&&ds.supportsFiber)try{pa=ds.inject(U0),Zt=ds}catch{}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B0;ft.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Nc(t))throw Error(O(200));return F0(e,t,null,n)};ft.createRoot=function(e,t){if(!Nc(e))throw Error(O(299));var n=!1,r="",o=yh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=kc(e,1,!1,null,null,n,!1,r,o),e[mn]=t.current,ci(e.nodeType===8?e.parentNode:e),new Tc(t)};ft.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(O(188)):(e=Object.keys(e).join(","),Error(O(268,e)));return e=$p(t),e=e===null?null:e.stateNode,e};ft.flushSync=function(e){return kr(e)};ft.hydrate=function(e,t,n){if(!Pa(t))throw Error(O(200));return Ta(null,e,t,!0,n)};ft.hydrateRoot=function(e,t,n){if(!Nc(e))throw Error(O(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=yh;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=gh(t,null,e,1,n??null,o,!1,i,s),e[mn]=t.current,ci(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new ka(t)};ft.render=function(e,t,n){if(!Pa(t))throw Error(O(200));return Ta(null,e,t,!1,n)};ft.unmountComponentAtNode=function(e){if(!Pa(e))throw Error(O(40));return e._reactRootContainer?(kr(function(){Ta(null,null,e,!1,function(){e._reactRootContainer=null,e[mn]=null})}),!0):!1};ft.unstable_batchedUpdates=Sc;ft.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Pa(n))throw Error(O(200));if(e==null||e._reactInternals===void 0)throw Error(O(38));return Ta(e,t,n,!1,r)};ft.version="18.3.1-next-f1338f8080-20240426";function xh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xh)}catch(e){console.error(e)}}xh(),xp.exports=ft;var Di=xp.exports;const wh=sp(Di);var Sh,uf=Di;Sh=uf.createRoot,uf.hydrateRoot;const V0=1,H0=1e6;let yl=0;function W0(){return yl=(yl+1)%Number.MAX_SAFE_INTEGER,yl.toString()}const xl=new Map,cf=e=>{if(xl.has(e))return;const t=setTimeout(()=>{xl.delete(e),ei({type:"REMOVE_TOAST",toastId:e})},H0);xl.set(e,t)},Q0=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,V0)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
40return n?cf(n):e.toasts.forEach(r=>{cf(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Rs=[];let As={toasts:[]};function ei(e){As=Q0(As,e),Rs.forEach(t=>{t(As)})}function K0({...e}){const t=W0(),n=o=>ei({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>ei({type:"DISMISS_TOAST",toastId:t});return ei({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function q0(){const[e,t]=S.useState(As);return S.useEffect(()=>(Rs.push(t),()=>{const n=Rs.indexOf(t);n>-1&&Rs.splice(n,1)}),[e]),{...e,toast:K0,dismiss:n=>ei({type:"DISMISS_TOAST",toastId:n})}}function Te(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function df(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Eh(...e){return t=>{let n=!1;const r=e.map(o=>{const i=df(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():df(e[o],null)}}}}function Bt(...e){return S.useCallback(Eh(...e),e)}function Na(e,t=[]){let n=[];function r(i,s){const a=S.createContext(s),l=n.length;n=[...n,s];const u=d=>{var h;const{scope:m,children:f,...y}=d,v=((h=m==null?void 0:m[e])==null?void 0:h[l])||a,w=S.useMemo(()=>y,Object.values(y));return x.jsx(v.Provider,{value:w,children:f})};u.displayName=i+"Provider";function c(d,m){var v;const f=((v=m==null?void 0:m[e])==null?void 0:v[l])||a,y=S.useContext(f);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(s=>S.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return S.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,Y0(o,...t)]}function Y0(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return S.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function ra(e){const t=X0(e),n=S.forwardRef((r,o)=>{const{children:i,...s}=r,a=S.Children.toArray(i),l=a.find(J0);if(l){const u=l.props.children,c=a.map(d=>d===l?S.Children.count(u)>1?S.Children.only(null):S.isValidElement(u)?u.props.children:null:d);return x.jsx(t,{...s,ref:o,children:S.isValidElement(u)?S.cloneElement(u,void 0,c):null})}return x.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var G0=ra("Slot");function X0(e){const t=S.forwardRef((n,r)=>{const{children:o,...i}=n;if(S.isValidElement(o)){const s=tx(o),a=ex(i,o.props);return o.type!==S.Fragment&&(a.ref=r?Eh(r,s):s),S.cloneElement(o,a)}return S.Children.count(o)>1?S.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ch=Symbol("radix.slottable");function Z0(e){const t=({children:n})=>x.jsx(x.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Ch,t}function J0(e){return S.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ch}function ex(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const l=i(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function tx(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function nx(e){const t=e+"CollectionProvider",[n,r]=Na(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=v=>{const{scope:w,children:h}=v,p=L.useRef(null),g=L.useRef(new Map).current;return x.jsx(o,{scope:w,itemMap:g,collectionRef:p,children:h})};s.displayName=t;const a=e+"CollectionSlot",l=ra(a),u=L.forwardRef((v,w)=>{const{scope:h,children:p}=v,g=i(a,h),E=Bt(w,g.collectionRef);return x.jsx(l,{ref:E,children:p})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",m=ra(c),f=L.forwardRef((v,w)=>{const{scope:h,children:p,...g}=v,E=L.useRef(null),C=Bt(w,E),k=i(c,h);return L.useEffect(()=>(k.itemMap.set(E,{ref:E,...g}),()=>void k.itemMap.delete(E))),x.jsx(m,{[d]:"",ref:C,children:p})});f.displayName=c;function y(v){const w=i(e+"CollectionConsumer",v);return L.useCallback(()=>{const p=w.collectionRef.current;
vendor: 8,980 bytes, line 40
40if(!p)return[];const g=Array.from(p.querySelectorAll(`[${d}]`));return Array.from(w.itemMap.values()).sort((k,b)=>g.indexOf(k.ref.current)-g.indexOf(b.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:u,ItemSlot:f},y,r]}var rx=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rt=rx.reduce((e,t)=>{const n=ra(`Primitive.${t}`),r=S.forwardRef((o,i)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function bh(e,t){e&&Di.flushSync(()=>e.dispatchEvent(t))}function Jn(e){const t=S.useRef(e);return S.useEffect(()=>{t.current=e}),S.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ox(e,t=globalThis==null?void 0:globalThis.document){const n=Jn(e);S.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var ix="DismissableLayer",yu="dismissableLayer.update",sx="dismissableLayer.pointerDownOutside",ax="dismissableLayer.focusOutside",ff,kh=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Rc=S.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=S.useContext(kh),[c,d]=S.useState(null),m=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=S.useState({}),y=Bt(t,b=>d(b)),v=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),h=v.indexOf(w),p=c?v.indexOf(c):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,E=p>=h,C=ux(b=>{const P=b.target,A=[...u.branches].some(j=>j.contains(P));!E||A||(o==null||o(b),s==null||s(b),b.defaultPrevented||a==null||a())},m),k=cx(b=>{const P=b.target;[...u.branches].some(j=>j.contains(P))||(i==null||i(b),s==null||s(b),b.defaultPrevented||a==null||a())},m);return ox(b=>{p===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&a&&(b.preventDefault(),a()))},m),S.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(ff=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),pf(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=ff)}},[c,m,n,u]),S.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),pf())},[c,u]),S.useEffect(()=>{const b=()=>f({});return document.addEventListener(yu,b),()=>document.removeEventListener(yu,b)},[]),x.jsx(rt.div,{...l,ref:y,style:{pointerEvents:g?E?"auto":"none":void 0,...e.style},onFocusCapture:Te(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Te(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Te(e.onPointerDownCapture,C.onPointerDownCapture)})});Rc.displayName=ix;var lx="DismissableLayerBranch",Ph=S.forwardRef((e,t)=>{const n=S.useContext(kh),r=S.useRef(null),o=Bt(t,r);return S.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),x.jsx(rt.div,{...e,ref:o})});Ph.displayName=lx;function ux(e,t=globalThis==null?void 0:globalThis.document){const n=Jn(e),r=S.useRef(!1),o=S.useRef(()=>{});return S.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){Th(sx,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function cx(e,t=globalThis==null?void 0:globalThis.document){const n=Jn(e),r=S.useRef(!1);return S.useEffect(()=>{const o=i=>{i.target&&!r.current&&Th(ax,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function pf(){const e=new CustomEvent(yu);document.dispatchEvent(e)}function Th(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?bh(o,i):o.dispatchEvent(i)}var dx=Rc,fx=Ph,er=globalThis!=null&&globalThis.document?S.useLayoutEffect:()=>{},px="Portal",Nh=S.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=S.useState(!1);er(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?wh.createPortal(x.jsx(rt.div,{...r,ref:t}),s):null});Nh.displayName=px;function mx(e,t){return S.useReducer((n,r)=>t[n][r]??n,e)}var Ac=e=>{const{present:t,children:n}=e,r=hx(t),o=typeof n=="function"?n({present:r.isPresent}):S.Children.only(n),i=Bt(r.ref,vx(o));return typeof n=="function"||r.isPresent?S.cloneElement(o,{ref:i}):null};Ac.displayName="Presence";function hx(e){const[t,n]=S.useState(),r=S.useRef(null),o=S.useRef(e),i=S.useRef("none"),s=e?"mounted":"unmounted",[a,l]=mx(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const u=fs(r.current);i.current=a==="mounted"?u:"none"},[a]),er(()=>{const u=r.current,c=o.current;if(c!==e){const m=i.current,f=fs(u);e?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&m!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),er(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=f=>{const v=fs(r.current).includes(f.animationName);if(f.target===t&&v&&(l("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},m=f=>{f.target===t&&(i.current=fs(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:S.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function fs(e){return(e==null?void 0:e.animationName)||"none"}function vx(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var gx=gp[" useInsertionEffect ".trim().toString()]||er;function yx({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=xx({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const c=S.useRef(e!==void 0);S.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"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.`),c.current=a},[a,r])}const u=S.useCallback(c=>{var d;if(a){const m=wx(c)?c(e):c;m!==e&&((d=s.current)==null||d.call(s,m))}else i(c)},[a,e,i,s]);return[l,u]}function xx({defaultProp:e,onChange:t}){const[n,r]=S.useState(e),o=S.useRef(n),i=S.useRef(t);return gx(()=>{i.current=t},[t]),S.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function wx(e){return typeof e=="function"}var Sx=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"}),Ex="VisuallyHidden",Ra=S.forwardRef((e,t)=>x.jsx(rt.span,{...e,ref:t,style:{...Sx,...e.style}}));Ra.displayName=Ex;var Cx=Ra,jc="ToastProvider",[Oc,bx,kx]=nx("Toast"),[Rh,Nb]=Na("Toast",[kx]),[Px,Aa]=Rh(jc),Ah=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=S.useState(null),[u,c]=S.useState(0),d=S.useRef(!1),m=S.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${jc}\`. Expected non-empty \`string\`.`),x.jsx(Oc.Provider,{scope:t,children:x.jsx(Px,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:S.useCallback(()=>c(f=>f+1),[]),onToastRemove:S.useCallback(()=>c(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:m,children:s})})};Ah.displayName=jc;var jh="ToastViewport",Tx=["F8"],xu="toast.viewportPause",wu="toast.viewportResume",Oh=S.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=Tx,label:o="Notifications ({hotkey})",...i}=e,s=Aa(jh,n),a=bx(n),l=S.useRef(null),u=S.useRef(null),c=S.useRef(null),d=S.useRef(null),m=Bt(t,d,s.onViewportChange),f=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=s.toastCount>0;S.useEffect(()=>{const w=h=>{var g;r.length!==0&&r.every(E=>h[E]||h.code===E)&&((g=d.current)==null||g.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),S.useEffect(()=>{const w=l.current,h=d.current;if(y&&w&&h){const p=()=>{if(!s.isClosePausedRef.current){const k=new CustomEvent(xu);h.dispatchEvent(k),s.isClosePausedRef.current=!0}},g=()=>{if(s.isClosePausedRef.current){const k=new CustomEvent(wu);h.dispatchEvent(k),s.isClosePausedRef.current=!1}},E=k=>{!w.contains(k.relatedTarget)&&g()},C=()=>{w.contains(document.activeElement)||g()};return w.addEventListener("focusin",p),w.addEventListener("focusout",E),w.addEventListener("pointermove",p),w.addEventListener("pointerleave",C),window.addEventListener("blur",p),window.addEventListener("focus",g),()=>{w.removeEventListener("focusin",p),w.removeEventListener("focusout",E),w.removeEventListener("pointermove",p),w.removeEventListener("pointerleave",C),window.removeEventListener("blur",p),window.removeEventListener("focus",g)}}},[y,s.isClosePausedRef]);const v=S.useCallback(({tabbingDirection:w})=>{const p=a().map(g=>{const E=g.ref.current,C=[E,...$x(E)];return w==="forwards"?C:C.reverse()});return(w==="forwards"?p.reverse():p).flat()},[a]);return S.useEffect(()=>{const w=d.current;if(w){const h=p=>{var C,k,b;const g=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!g){const P=document.activeElement,A=p.shiftKey;if(p.target===w&&A){(C=u.current)==null||C.focus();return}const D=v({tabbingDirection:A?"backwards":"forwards"}),H=D.findIndex(_=>_===P);wl(D.slice(H+1))?p.preventDefault():A?(k=u.current)==null||k.focus():(b=c.current)==null||b.focus()}};return w.addEventListener("keydown",h),()=>w.removeEventListener("keydown",h)}},[a,v]),x.jsxs(fx,{ref:l,role:"region","aria-label":o.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&x.jsx(Su,{ref:u,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});wl(w)}}),x.jsx(Oc.Slot,{scope:n,children:x.jsx(rt.ol,{tabIndex:-1,...i,ref:m})}),y&&x.jsx(Su,{ref:c,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});wl(w)}})]})});Oh.displayName=jh;var Lh="ToastFocusProxy",Su=S.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Aa(Lh,n);return x.jsx(Ra,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});Su.displayName=Lh;var Mi="Toast",Nx="toast.swipeStart",Rx="toast.swipeMove",Ax="toast.swipeCancel",jx="toast.swipeEnd",_h=S.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,l]=yx({prop:r,defaultProp:o??!0,onChange:i,caller:Mi});return x.jsx(Ac,{present:n||a,children:x.jsx(_x,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:Jn(e.onPause),onResume:Jn(e.onResume),onSwipeStart:Te(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Te(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:Te(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Te(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});_h.displayName=Mi;var[Ox,Lx]=Rh(Mi,{onClose(){}}),_x=S.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:m,onSwipeEnd:f,...y}=e,v=Aa(Mi,n),[w,h]=S.useState(null),p=Bt(t,_=>h(_)),g=S.useRef(null),E=S.useRef(null),C=o||v.duration,k=S.useRef(0),b=S.useRef(C),P=S.useRef(0),{onToastAdd:A,onToastRemove:j}=v,I=Jn(()=>{var W;(w==null?void 0:w.contains(document.activeElement))&&((W=v.viewport)==null||W.focus()),s()}),D=S.useCallback(_=>{!_||_===1/0||(window.clearTimeout(P.current),k.current=new Date().getTime(),P.current=window.setTimeout(I,_))},[I]);S.useEffect(()=>{const _=v.viewport;if(_){const W=()=>{D(b.current),u==null||u()},B=()=>{const V=new Date().getTime()-k.current;b.current=b.current-V,window.clearTimeout(P.current),l==null||l()};return _.addEventListener(xu,B),_.addEventListener(wu,W),()=>{_.removeEventListener(xu,B),_.removeEventListener(wu,W)}}},[v.viewport,C,l,u,D]),S.useEffect(()=>{i&&!v.isClosePausedRef.current&&D(C)},[i,C,v.isClosePausedRef,D]),S.useEffect(()=>(A(),()=>j()),[A,j]);const H=S.useMemo(()=>w?Bh(w):null,[w]);return v.viewport?x.jsxs(x.Fragment,{children:[H&&x.jsx(Dx,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),x.jsx(Ox,{scope:n,onClose:I,children:Di.createPortal(x.jsx(Oc.ItemSlot,{scope:n,children:x.jsx(dx,{asChild:!0,onEscapeKeyDown:Te(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||I(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:x.jsx(rt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":v.swipeDirection,...y,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Te(e.onKeyDown,_=>{_.key==="Escape"&&(a==null||a(_.nativeEvent),_.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,I()))}),onPointerDown:Te(e.onPointerDown,_=>{_.button===0&&(g.current={x:_.clientX,y:_.clientY})}),onPointerMove:Te(e.onPointerMove,_=>{if(!g.current)return;const W=_.clientX-g.current.x,B=_.clientY-g.current.y,V=!!E.current,T=["left","right"].includes(v.swipeDirection),R=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,M=T?R(0,W):0,U=T?0:R(0,B),$=_.pointerType==="touch"?10:2,q={x:M,y:U},Q={originalEvent:_,delta:q};V?(E.current=q,ps(Rx,d,Q,{discrete:!1})):mf(q,v.swipeDirection,$)?(E.current=q,ps(Nx,c,Q,{discrete:!1}),_.target.setPointerCapture(_.pointerId)):(Math.abs(W)>$||Math.abs(B)>$)&&(g.current=null)}),onPointerUp:Te(e.onPointerUp,_=>{const W=E.current,B=_.target;if(B.hasPointerCapture(_.pointerId)&&B.releasePointerCapture(_.pointerId),E.current=null,g.current=null,W){const V=_.currentTarget,T={originalEvent:_,delta:W};mf(W,v.swipeDirection,v.swipeThreshold)?ps(jx,f,T,{discrete:!0}):ps(Ax,m,T,{discrete:!0}),V.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),Dx=e=>{const{__scopeToast:t,children:n,...r}=e,o=Aa(Mi,t),[i,s]=S.useState(!1),[a,l]=S.useState(!1);return Fx(()=>s(!0)),S.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:x.jsx(Nh,{asChild:!0,children:x.jsx(Ra,{...r,children:i&&x.jsxs(x.Fragment,{children:[o.label," ",n]})})})},Mx="ToastTitle",Dh=S.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return x.jsx(rt.div,{...r,ref:t})});Dh.displayName=Mx;var Ix="ToastDescription",Mh=S.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return x.jsx(rt.div,{...r,ref:t})});Mh.displayName=Ix;var Ih="ToastAction",Fh=S.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?x.jsx($h,{altText:n,asChild:!0,children:x.jsx(Lc,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Ih}\`. Expected non-empty \`string\`.`),null)});Fh.displayName=Ih;var zh="ToastClose",Lc=S.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Lx(zh,n);return x.jsx($h,{asChild:!0,children:x.jsx(rt.button,{type:"button",...r,ref:t,onClick:Te(e.onClick,o.onClose)})})});Lc.displayName=zh;var $h=S.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return x.jsx(rt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Bh(e){const t=[];
vendor: 5,391 bytes, lines 40-84
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),zx(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Bh(r))}}),t}function ps(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?bh(o,i):o.dispatchEvent(i)}var mf=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function Fx(e=()=>{}){const t=Jn(e);er(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function zx(e){return e.nodeType===e.ELEMENT_NODE}function $x(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function wl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var Bx=Ah,Uh=Oh,Vh=_h,Hh=Dh,Wh=Mh,Qh=Fh,Kh=Lc;function qh(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=qh(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Yh(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=qh(e))&&(r&&(r+=" "),r+=t);return r}const hf=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,vf=Yh,Gh=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return vf(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const m=hf(c)||hf(d);return o[u][m]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,m]=c;return m===void 0||(u[d]=m),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:m,...f}=c;return Object.entries(f).every(y=>{let[v,w]=y;return Array.isArray(w)?w.includes({...i,...a}[v]):{...i,...a}[v]===w})?[...u,d,m]:u},[]);return vf(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const Ux=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Xh=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var Vx={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const Hx=S.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>S.createElement("svg",{ref:l,...Vx,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Xh("lucide",o),...a},[...s.map(([u,c])=>S.createElement(u,c)),...Array.isArray(i)?i:[i]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const wn=(e,t)=>{const n=S.forwardRef(({className:r,...o},i)=>S.createElement(Hx,{ref:i,iconNode:t,className:Xh(`lucide-${Ux(e)}`,r),...o}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const Zh=wn("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const Wx=wn("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const Qx=wn("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const Kx=wn("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree.
vendor: 8,837 bytes, lines 85-105
85 */const qx=wn("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const gf=wn("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"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const Yx=wn("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"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const Gx=wn("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const Jh=wn("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),_c="-",Xx=e=>{const t=Jx(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(_c);return a[0]===""&&a.length!==1&&a.shift(),ev(a,t)||Zx(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},ev=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?ev(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(_c);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},yf=/^\[(.+)\]$/,Zx=e=>{if(yf.test(e)){const t=yf.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Jx=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return tw(Object.entries(e.classGroups),n).forEach(([i,s])=>{Eu(s,r,i,t)}),r},Eu=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:xf(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(ew(o)){Eu(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Eu(s,xf(t,i),n,r)})})},xf=(e,t)=>{let n=e;return t.split(_c).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},ew=e=>e.isThemeGetter,tw=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,nw=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},tv="!",rw=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const l=[];let u=0,c=0,d;for(let w=0;w<a.length;w++){let h=a[w];if(u===0){if(h===o&&(r||a.slice(w,w+i)===t)){l.push(a.slice(c,w)),c=w+i;continue}if(h==="/"){d=w;continue}}h==="["?u++:h==="]"&&u--}const m=l.length===0?a:a.substring(c),f=m.startsWith(tv),y=f?m.substring(1):m,v=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:f,baseClassName:y,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:s}):s},ow=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},iw=e=>({cache:nw(e.cacheSize),parseClassName:rw(e),...Xx(e)}),sw=/\s+/,aw=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(sw);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:f}=n(u);let y=!!f,v=r(y?m.substring(0,f):m);if(!v){if(!y){a=u+(a.length>0?" "+a:a);continue}if(v=r(m),!v){a=u+(a.length>0?" "+a:a);continue}y=!1}const w=ow(c).join(":"),h=d?w+tv:w,p=h+v;if(i.includes(p))continue;i.push(p);const g=o(v,y);for(let E=0;E<g.length;++E){const C=g[E];i.push(h+C)}a=u+(a.length>0?" "+a:a)}return a};function lw(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=nv(t))&&(r&&(r+=" "),r+=n);return r}const nv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=nv(e[r]))&&(n&&(n+=" "),n+=t);return n};function uw(e,...t){let n,r,o,i=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=iw(u),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=aw(l,n);return o(l,c),c}return function(){return i(lw.apply(null,arguments))}}const ue=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},rv=/^\[(?:([a-z-]+):)?(.+)\]$/i,cw=/^\d+\/\d+$/,dw=new Set(["px","full","screen"]),fw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pw=/\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$/,mw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,hw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,vw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,on=e=>eo(e)||dw.has(e)||cw.test(e),Tn=e=>Co(e,"length",bw),eo=e=>!!e&&!Number.isNaN(Number(e)),Sl=e=>Co(e,"number",eo),Fo=e=>!!e&&Number.isInteger(Number(e)),gw=e=>e.endsWith("%")&&eo(e.slice(0,-1)),X=e=>rv.test(e),Nn=e=>fw.test(e),yw=new Set(["length","size","percentage"]),xw=e=>Co(e,yw,ov),ww=e=>Co(e,"position",ov),Sw=new Set(["image","url"]),Ew=e=>Co(e,Sw,Pw),Cw=e=>Co(e,"",kw),zo=()=>!0,Co=(e,t,n)=>{const r=rv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},bw=e=>pw.test(e)&&!mw.test(e),ov=()=>!1,kw=e=>hw.test(e),Pw=e=>vw.test(e),Tw=()=>{const e=ue("colors"),t=ue("spacing"),n=ue("blur"),r=ue("brightness"),o=ue("borderColor"),i=ue("borderRadius"),s=ue("borderSpacing"),a=ue("borderWidth"),l=ue("contrast"),u=ue("grayscale"),c=ue("hueRotate"),d=ue("invert"),m=ue("gap"),f=ue("gradientColorStops"),y=ue("gradientColorStopPositions"),v=ue("inset"),w=ue("margin"),h=ue("opacity"),p=ue("padding"),g=ue("saturate"),E=ue("scale"),C=ue("sepia"),k=ue("skew"),b=ue("space"),P=ue("translate"),A=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto",X,t],D=()=>[X,t],H=()=>["",on,Tn],_=()=>["auto",eo,X],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",X],M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[eo,X];return{cacheSize:500,separator:":",theme:{colors:[zo],spacing:[on,Tn],blur:["none","",Nn,X],brightness:U(),borderColor:[e],borderRadius:["none","","full",Nn,X],borderSpacing:D(),borderWidth:H(),contrast:U(),grayscale:R(),hueRotate:U(),invert:R(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[gw,Tn],inset:I(),margin:I(),opacity:U(),padding:D(),saturate:U(),scale:U(),sepia:R(),skew:U(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",X]}],container:["container"],columns:[{columns:[Nn]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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:[...W(),X]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}
vendor: 9,916 bytes, line 105
105],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Fo,X]}],basis:[{basis:I()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",X]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",Fo,X]}],"grid-cols":[{"grid-cols":[zo]}],"col-start-end":[{col:["auto",{span:["full",Fo,X]},X]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[zo]}],"row-start-end":[{row:["auto",{span:[Fo,X]},X]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",X]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",X]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[b]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[b]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",X,t]}],"min-w":[{"min-w":[X,t,"min","max","fit"]}],"max-w":[{"max-w":[X,t,"none","full","min","max","fit","prose",{screen:[Nn]},Nn]}],h:[{h:[X,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[X,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Nn,Tn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Sl]}],"font-family":[{font:[zo]}],"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",X]}],"line-clamp":[{"line-clamp":["none",eo,Sl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",on,X]}],"list-image":[{"list-image":["none",X]}],"list-style-type":[{list:["none","disc","decimal",X]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",on,Tn]}],"underline-offset":[{"underline-offset":["auto",on,X]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X]}],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",X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),ww]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",xw]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ew]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[on,X]}],"outline-w":[{outline:[on,Tn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[on,Tn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Nn,Cw]}],"shadow-color":[{shadow:[zo]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Nn,X]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[g]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",X]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",X]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",X]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[Fo,X]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",X]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 105
105],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",X]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[on,Tn,Sl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Nw=uw(Tw);function Re(...e){return Nw(Yh(e))}const Rw=Bx,iv=S.forwardRef(({className:e,...t},n)=>x.jsx(Uh,{ref:n,className:Re("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));iv.displayName=Uh.displayName;const Aw=Gh("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"}}),sv=S.forwardRef(({className:e,variant:t,...n},r)=>x.jsx(Vh,{ref:r,className:Re(Aw({variant:t}),e),...n}));sv.displayName=Vh.displayName;const jw=S.forwardRef(({className:e,...t},n)=>x.jsx(Qh,{ref:n,className:Re("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));jw.displayName=Qh.displayName;const av=S.forwardRef(({className:e,...t},n)=>x.jsx(Kh,{ref:n,className:Re("absolute right-2 top-2 rounded-md p-1 text-foreground
105/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:x.jsx(Jh,{className:"h-4 w-4"})}));av.displayName=Kh.displayName;const lv=S.forwardRef(({className:e,...t},n)=>x.jsx(Hh,{ref:n,className:Re("text-sm font-semibold",e),...t}));lv.displayName=Hh.displayName;const uv=S.forwardRef(({className:e,...t},n)=>x.jsx(Wh,{ref:n,className:Re("text-sm opacity-90",e),...t}));uv.displayName=Wh.displayName;function Ow(){const{toasts:e}=q0();return x.jsxs(Rw,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return x.jsxs(sv,{...i,children:[x.jsxs("div",{className:"grid gap-1",children:[n&&x.jsx(lv,{children:n}),r&&x.jsx(uv,{children:r})]}),o,x.jsx(av,{})]},t)}),x.jsx(iv,{})]})}var wf=["light","dark"],Lw="(prefers-color-scheme: dark)",_w=S.createContext(void 0),Dw={setTheme:e=>{},themes:[]},Mw=()=>{var e;return(e=S.useContext(_w))!=null?e:Dw};S.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:l})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(y=>`'${y}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?wf.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(y,v=!1,w=!0)=>{let h=s?s[y]:y,p=v?y+"|| ''":`'${h}'`,g="";return o&&w&&!v&&wf.includes(y)&&(g+=`d.style.colorScheme = '${y}';`),n==="class"?v||h?g+=`c.add(${p})`:g+="null":h&&(g+=`d[s](n,${p})`),g},f=e?`!function(){${c}${m(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${Lw}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${m(s?"x[e]":"e",!0)}}${u?"":"else{"+m(i,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${m(s?"x[e]":"e",!0)}}else{${m(i,!1,!1)};}${d}}catch(t){}}();`;return S.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:f}})});var Iw=e=>{switch(e){case"success":return $w;case"info":return Uw;case"warning":return Bw;case"error":return Vw;default:return null}},Fw=Array(12).fill(0),zw=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},Fw.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),$w=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),Bw=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.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"})),Uw=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),Vw=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),Hw=L.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"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Ww=()=>{let[e,t]=L.useState(document.hidden);return L.useEffect(()=>{let n=()=>{t(document.hidden)};
105return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Cu=1,Qw=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Cu++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
105this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,s=r.then(async l=>{if(i=["resolve",l],L.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(qw(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>s.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Cu++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Xe=new Qw,Kw=(e,t)=>{let n=(t==null?void 0:t.id)||Cu++;return Xe.addToast({title:e,...t,id:n}),n},qw=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Yw=Kw,Gw=()=>Xe.toasts,Xw=()=>Xe.getActiveToasts();Object.assign(Yw,{success:Xe.success,info:Xe.info,warning:Xe.warning,error:Xe.error,custom:Xe.custom,message:Xe.message,promise:Xe.promise,dismiss:Xe.dismiss,loading:Xe.loading},{getHistory:Gw,getToasts:Xw});function Zw(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}Zw(`: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;
105left: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}
105: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%);
105--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%)} 106`);function ms(e){return e.label!==void 0}var Jw=3,e1="32px",t1="16px",Sf=4e3,n1=356,r1=14,o1=20,i1=200;function Rt(...e){return e.filter(Boolean).join(" ")}function s1(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var a1=e=>{var t,n,r,o,i,s,a,l,u,c,d;let{invert:m,toast:f,unstyled:y,interacting:v,setHeights:w,visibleToasts:h,heights:p,index:g,toasts:E,expanded:C,removeToast:k,defaultRichColors:b,closeButton:P,style:A,cancelButtonStyle:j,actionButtonStyle:I,className:D="",descriptionClassName:H="",duration:_,position:W,gap:B,loadingIcon:V,expandByDefault:T,classNames:R,icons:M,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:$}=e,[q,Q]=L.useState(null),[ie,ge]=L.useState(null),[Y,ye]=L.useState(!1),[Ae,Ee]=L.useState(!1),[te,z]=L.useState(!1),[J,le]=L.useState(!1),[ke,Ue]=L.useState(!1),[ot,it]=L.useState(0),[Ve,Ht]=L.useState(0),St=L.useRef(f.duration||_||Sf),Or=L.useRef(null),Et=L.useRef(null),Vi=g===0,Hi=g+1<=h,Ge=f.type,rn=f.dismissible!==!1,Ba=f.className||"",To=f.descriptionClassName||"",Ct=L.useMemo(()=>p.findIndex(K=>
106K.toastId===f.id)||0,[p,f.id]),No=L.useMemo(()=>{var K;return(K=f.closeButton)!=null?K:P},[f.closeButton,P]),Lr=L.useMemo(()=>f.duration||_||Sf,[f.duration,_]),Sn=L.useRef(0),En=L.useRef(0),Wi=L.useRef(0),Cn=L.useRef(null),[Ua,Va]=W.split("-"),Ro=L.useMemo(()=>p.reduce((K,re,se)=>se>=Ct?K:K+re.height,0),[p,Ct]),Qi=Ww(),Ki=f.invert||m,_r=Ge==="loading";En.current=L.useMemo(()=>Ct*B+Ro,[Ct,Ro]),L.useEffect(()=>{St.current=Lr},[Lr]),L.useEffect(()=>{ye(!0)},[]),L.useEffect(()=>{let K=Et.current;if(K){let re=K.getBoundingClientRect().height;return Ht(re),w(se=>[{toastId:f.id,height:re,position:f.position},...se]),()=>w(se=>se.filter(kt=>kt.toastId!==f.id))}},[w,f.id]),L.useLayoutEffect(()=>{if(!Y)return;let K=Et.current,re=K.style.height;K.style.height="auto";let se=K.getBoundingClientRect().height;K.style.height=re,Ht(se),w(kt=>kt.find(Pt=>Pt.toastId===f.id)?kt.map(Pt=>Pt.toastId===f.id?{...Pt,height:se}:Pt):[{toastId:f.id,height:se,position:f.position},...kt])},[Y,f.title,f.description,w,f.id]);let bt=L.useCallback(()=>{Ee(!0),it(En.current),w(K=>K.filter(re=>re.toastId!==f.id)),setTimeout(()=>{k(f)},i1)},[f,k,w,En]);L.useEffect(()=>{if(f.promise&&Ge==="loading"||f.duration===1/0||f.type==="loading")return;let K;return C||v||$&&Qi?(()=>{if(Wi.current<Sn.current){let re=new Date().getTime()-Sn.current;St.current=St.current-re}Wi.current=new Date().getTime()})():St.current!==1/0&&(Sn.current=new Date().getTime(),K=setTimeout(()=>{var re;(re=f.onAutoClose)==null||re.call(f,f),bt()},St.current)),()=>clearTimeout(K)},[C,v,f,Ge,$,Qi,bt]),L.useEffect(()=>{f.delete&&bt()},[bt,f.delete]);function Ha(){var K,re,se;return M!=null&&M.loading?L.createElement("div",{className:Rt(R==null?void 0:R.loader,(K=f==null?void 0:f.classNames)==null?void 0:K.loader,"sonner-loader"),"data-visible":Ge==="loading"},M.loading):V?L.createElement("div",{className:Rt(R==null?void 0:R.loader,(re=f==null?void 0:f.classNames)==null?void 0:re.loader,"sonner-loader"),"data-visible":Ge==="loading"},V):L.createElement(zw,{className:Rt(R==null?void 0:R.loader,(se=f==null?void 0:f.classNames)==null?void 0:se.loader),visible:Ge==="loading"})}return L.createElement("li",{tabIndex:0,ref:Et,className:Rt(D,Ba,R==null?void 0:R.toast,(t=f==null?void 0:f.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[Ge],(n=f==null?void 0:f.classNames)==null?void 0:n[Ge]),"data-sonner-toast":"","data-rich-colors":(r=f.richColors)!=null?r:b,"data-styled":!(f.jsx||f.unstyled||y),"data-mounted":Y,"data-promise":!!f.promise,"data-swiped":ke,"data-removed":Ae,"data-visible":Hi,"data-y-position":Ua,"data-x-position":Va,"data-index":g,"data-front":Vi,"data-swiping":te,"data-dismissible":rn,"data-type":Ge,"data-invert":Ki,"data-swipe-out":J,"data-swipe-direction":ie,"data-expanded":!!(C||T&&Y),style:{"--index":g,"--toasts-before":g,"--z-index":E.length-g,"--offset":`${Ae?ot:En.current}px`,"--initial-height":T?"auto":`${Ve}px`,...A,...f.style},onDragEnd:()=>{z(!1),Q(null),Cn.current=null},onPointerDown:K=>{_r||!rn||(Or.current=new Date,it(En.current),K.target.setPointerCapture(K.pointerId),K.target.tagName!=="BUTTON"&&(z(!0),Cn.current={x:K.clientX,y:K.clientY}))},onPointerUp:()=>{var K,re,se,kt;if(J||!rn)return;Cn.current=null;let Pt=Number(((K=Et.current)==null?void 0:K.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),bn=Number(((re=Et.current)==null?void 0:re.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),ar=new Date().getTime()-((se=Or.current)==null?void 0:se.getTime()),Tt=q==="x"?Pt:bn,kn=Math.abs(Tt)/ar;if(Math.abs(Tt)>=o1||kn>.11){it(En.current),(kt=f.onDismiss)==null||kt.call(f,f),ge(q==="x"?Pt>0?"right":"left":bn>0?"down":"up"),bt(),le(!0),Ue(!1);return}z(!1),Q(null)},onPointerMove:K=>{var re,se,kt,Pt;if(!Cn.current||!rn||((re=window.getSelection())==null?void 0:re.toString().length)>0)return;let bn=K.clientY-Cn.current.y,ar=K.clientX-Cn.current.x,Tt=(se=e.swipeDirections)!=null?se:s1(W);!q&&(Math.abs(ar)>1||Math.abs(bn)>1)&&Q(Math.abs(ar)>Math.abs(bn)?"x":"y");let kn={x:0,y:0};q==="y"?(Tt.includes("top")||Tt.includes("bottom"))&&(Tt.includes("top")&&bn<0||Tt.includes("bottom")&&bn>0)&&(kn.y=bn):q==="x"&&(Tt.includes("left")||Tt.includes("right"))&&(Tt.includes("left")&&ar<0||Tt.includes("right")&&ar>0)&&(kn.x=ar),(Math.abs(kn.x)>0||Math.abs(kn.y)>0)&&Ue(!0),(kt=Et.current)==null||kt.style.setProperty("--swipe-amount-x",`${kn.x}px`),(Pt=Et.current)==null||Pt.style.setProperty("--swipe-amount-y",`${kn.y}px`)}}
vendor: 7,240 bytes, line 106
106,No&&!f.jsx?L.createElement("button",{"aria-label":U,"data-disabled":_r,"data-close-button":!0,onClick:_r||!rn?()=>{}:()=>{var K;bt(),(K=f.onDismiss)==null||K.call(f,f)},className:Rt(R==null?void 0:R.closeButton,(o=f==null?void 0:f.classNames)==null?void 0:o.closeButton)},(i=M==null?void 0:M.close)!=null?i:Hw):null,f.jsx||S.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:L.createElement(L.Fragment,null,Ge||f.icon||f.promise?L.createElement("div",{"data-icon":"",className:Rt(R==null?void 0:R.icon,(s=f==null?void 0:f.classNames)==null?void 0:s.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||Ha():null,f.type!=="loading"?f.icon||(M==null?void 0:M[Ge])||Iw(Ge):null):null,L.createElement("div",{"data-content":"",className:Rt(R==null?void 0:R.content,(a=f==null?void 0:f.classNames)==null?void 0:a.content)},L.createElement("div",{"data-title":"",className:Rt(R==null?void 0:R.title,(l=f==null?void 0:f.classNames)==null?void 0:l.title)},typeof f.title=="function"?f.title():f.title),f.description?L.createElement("div",{"data-description":"",className:Rt(H,To,R==null?void 0:R.description,(u=f==null?void 0:f.classNames)==null?void 0:u.description)},typeof f.description=="function"?f.description():f.description):null),S.isValidElement(f.cancel)?f.cancel:f.cancel&&ms(f.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||j,onClick:K=>{var re,se;ms(f.cancel)&&rn&&((se=(re=f.cancel).onClick)==null||se.call(re,K),bt())},className:Rt(R==null?void 0:R.cancelButton,(c=f==null?void 0:f.classNames)==null?void 0:c.cancelButton)},f.cancel.label):null,S.isValidElement(f.action)?f.action:f.action&&ms(f.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||I,onClick:K=>{var re,se;ms(f.action)&&((se=(re=f.action).onClick)==null||se.call(re,K),!K.defaultPrevented&&bt())},className:Rt(R==null?void 0:R.actionButton,(d=f==null?void 0:f.classNames)==null?void 0:d.actionButton)},f.action.label):null))};function Ef(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function l1(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",a=i?t1:e1;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${s}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=a:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var u1=S.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:m,style:f,visibleToasts:y=Jw,toastOptions:v,dir:w=Ef(),gap:h=r1,loadingIcon:p,icons:g,containerAriaLabel:E="Notifications",pauseWhenPageIsHidden:C}=e,[k,b]=L.useState([]),P=L.useMemo(()=>Array.from(new Set([r].concat(k.filter($=>$.position).map($=>$.position)))),[k,r]),[A,j]=L.useState([]),[I,D]=L.useState(!1),[H,_]=L.useState(!1),[W,B]=L.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),V=L.useRef(null),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=L.useRef(null),M=L.useRef(!1),U=L.useCallback($=>{b(q=>{var Q;return(Q=q.find(ie=>ie.id===$.id))!=null&&Q.delete||Xe.dismiss($.id),q.filter(({id:ie})=>ie!==$.id)})},[]);return L.useEffect(()=>Xe.subscribe($=>{if($.dismiss){b(q=>q.map(Q=>Q.id===$.id?{...Q,delete:!0}:Q));return}setTimeout(()=>{wh.flushSync(()=>{b(q=>{let Q=q.findIndex(ie=>ie.id===$.id);return Q!==-1?[...q.slice(0,Q),{...q[Q],...$},...q.slice(Q+1)]:[$,...q]})})})}),[]),L.useEffect(()=>{if(c!=="system"){B(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:q})=>{B(q?"dark":"light")})}catch{$.addListener(({matches:Q})=>{try{B(Q?"dark":"light")}catch(ie){console.error(ie)}})}},[c]),L.useEffect(()=>{k.length<=1&&D(!1)},[k]),L.useEffect(()=>{let $=q=>{var Q,ie;o.every(ge=>q[ge]||q.code===ge)&&(D(!0),(Q=V.current)==null||Q.focus()),q.code==="Escape"&&(document.activeElement===V.current||(ie=V.current)!=null&&ie.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[o]),L.useEffect(()=>{if(V.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,M.current=!1)}},[V.current]),L.createElement("section",{ref:t,"aria-label":`${E} ${T}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map(($,q)=>{var Q;let[ie,ge]=$.split("-");return k.length?L.createElement("ol",{key:$,dir:w==="auto"?Ef():w,tabIndex:-1,ref:V,className:a,"data-sonner-toaster":!0,"data-theme":W,"data-y-position":ie,"data-lifted":I&&k.length>1&&!i,"data-x-position":ge,style:{"--front-toast-height":`${((Q=A[0])==null?void 0:Q.height)||0}px`,"--width":`${n1}px`,"--gap":`${h}px`,...f,...l1(l,u)},onBlur:Y=>{M.current&&!Y.currentTarget.contains(Y.relatedTarget)&&(M.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||M.current||(M.current=!0,R.current=Y.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{H||D(!1)},onDragEnd:()=>D(!1),onPointerDown:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||_(!0)},onPointerUp:()=>_(!1)},k.filter(Y=>!Y.position&&q===0||Y.position===$).map((Y,ye)=>{var Ae,Ee;return L.createElement(a1,{key:Y.id,icons:g,index:ye,toast:Y,defaultRichColors:d,duration:(Ae=v==null?void 0:v.duration)!=null?Ae:m,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:y,closeButton:(Ee=v==null?void 0:v.closeButton)!=null?Ee:s,interacting:H,position:$,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:U,toasts:k.filter(te=>te.position==Y.position),heights:A.filter(te=>te.position==Y.position),setHeights:j,expandByDefault:i,gap:h,loadingIcon:p,expanded:I,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const c1=({...e})=>{const{theme:t="system"}=Mw();return x.jsx(u1,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},d1=["top","right","bottom","left"],tr=Math.min,at=Math.max,oa=Math.round,hs=Math.floor,en=e=>({x:e,y:e}
vendor: 11,921 bytes, line 106
106),f1={left:"right",right:"left",bottom:"top",top:"bottom"},p1={start:"end",end:"start"};function bu(e,t,n){return at(e,tr(t,n))}function gn(e,t){return typeof e=="function"?e(t):e}function yn(e){return e.split("-")[0]}function bo(e){return e.split("-")[1]}function Dc(e){return e==="x"?"y":"x"}function Mc(e){return e==="y"?"height":"width"}const m1=new Set(["top","bottom"]);function Xt(e){return m1.has(yn(e))?"y":"x"}function Ic(e){return Dc(Xt(e))}function h1(e,t,n){n===void 0&&(n=!1);const r=bo(e),o=Ic(e),i=Mc(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=ia(s)),[s,ia(s)]}function v1(e){const t=ia(e);return[ku(e),t,ku(t)]}function ku(e){return e.replace(/start|end/g,t=>p1[t])}const Cf=["left","right"],bf=["right","left"],g1=["top","bottom"],y1=["bottom","top"];function x1(e,t,n){switch(e){case"top":case"bottom":return n?t?bf:Cf:t?Cf:bf;case"left":case"right":return t?g1:y1;default:return[]}}function w1(e,t,n,r){const o=bo(e);let i=x1(yn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ku)))),i}function ia(e){return e.replace(/left|right|bottom|top/g,t=>f1[t])}function S1(e){return{top:0,right:0,bottom:0,left:0,...e}}function cv(e){return typeof e!="number"?S1(e):{top:e,right:e,bottom:e,left:e}}function sa(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function kf(e,t,n){let{reference:r,floating:o}=e;const i=Xt(t),s=Ic(t),a=Mc(s),l=yn(t),u=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,m=r[a]/2-o[a]/2;let f;switch(l){case"top":f={x:c,y:r.y-o.height};break;case"bottom":f={x:c,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-o.width,y:d};break;default:f={x:r.x,y:r.y}}switch(bo(t)){case"start":f[s]-=m*(n&&u?-1:1);break;case"end":f[s]+=m*(n&&u?-1:1);break}return f}const E1=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=kf(u,r,l),m=r,f={},y=0;for(let v=0;v<a.length;v++){const{name:w,fn:h}=a[v],{x:p,y:g,data:E,reset:C}=await h({x:c,y:d,initialPlacement:r,placement:m,strategy:o,middlewareData:f,rects:u,platform:s,elements:{reference:e,floating:t}});c=p??c,d=g??d,f={...f,[w]:{...f[w],...E}},C&&y<=50&&(y++,typeof C=="object"&&(C.placement&&(m=C.placement),C.rects&&(u=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:c,y:d}=kf(u,m,l)),v=-1)}return{x:c,y:d,placement:m,strategy:o,middlewareData:f}};async function xi(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:m=!1,padding:f=0}=gn(t,e),y=cv(f),w=a[m?d==="floating"?"reference":"floating":d],h=sa(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),p=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),E=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},C=sa(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:p,offsetParent:g,strategy:l}):p);return{top:(h.top-C.top+y.top)/E.y,bottom:(C.bottom-h.bottom+y.bottom)/E.y,left:(h.left-C.left+y.left)/E.x,right:(C.right-h.right+y.right)/E.x}}const C1=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=gn(e,t)||{};if(u==null)return{};const d=cv(c),m={x:n,y:r},f=Ic(o),y=Mc(f),v=await s.getDimensions(u),w=f==="y",h=w?"top":"left",p=w?"bottom":"right",g=w?"clientHeight":"clientWidth",E=i.reference[y]+i.reference[f]-m[f]-i.floating[y],C=m[f]-i.reference[f],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let b=k?k[g]:0;(!b||!await(s.isElement==null?void 0:s.isElement(k)))&&(b=a.floating[g]||i.floating[y]);const P=E/2-C/2,A=b/2-v[y]/2-1,j=tr(d[h],A),I=tr(d[p],A),D=j,H=b-v[y]-I,_=b/2-v[y]/2+P,W=bu(D,_,H),B=!l.arrow&&bo(o)!=null&&_!==W&&i.reference[y]/2-(_<D?j:I)-v[y]/2<0,V=B?_<D?_-D:_-H:0;return{[f]:m[f]+V,data:{[f]:W,centerOffset:_-W-V,...B&&{alignmentOffset:V}},reset:B}}}),b1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...w}=gn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const h=yn(o),p=Xt(a),g=yn(a)===a,E=await(l.isRTL==null?void 0:l.isRTL(u.floating)),C=m||(g||!v?[ia(a)]:v1(a)),k=y!=="none";!m&&k&&C.push(...w1(a,v,y,E));const b=[a,...C],P=await xi(t,w),A=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&A.push(P[h]),d){const _=h1(o,s,E);A.push(P[_[0]],P[_[1]])}if(j=[...j,{placement:o,overflows:A}],!A.every(_=>_<=0)){var I,D;const _=(((I=i.flip)==null?void 0:I.index)||0)+1,W=b[_];if(W&&(!(d==="alignment"?p!==Xt(W):!1)||j.every(T=>T.overflows[0]>0&&Xt(T.placement)===p)))return{data:{index:_,overflows:j},reset:{placement:W}};let B=(D=j.filter(V=>V.overflows[0]<=0).sort((V,T)=>V.overflows[1]-T.overflows[1])[0])==null?void 0:D.placement;if(!B)switch(f){case"bestFit":{var H;const V=(H=j.filter(T=>{if(k){const R=Xt(T.placement);return R===p||R==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(R=>R>0).reduce((R,M)=>R+M,0)]).sort((T,R)=>T[1]-R[1])[0])==null?void 0:H[0];V&&(B=V);break}case"initialPlacement":B=a;break}if(o!==B)return{reset:{placement:B}}}return{}}}};function Pf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Tf(e){return d1.some(t=>e[t]>=0)}const k1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=gn(e,t);switch(r){case"referenceHidden":{const i=await xi(t,{...o,elementContext:"reference"}),s=Pf(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Tf(s)}}}case"escaped":{const i=await xi(t,{...o,altBoundary:!0}),s=Pf(i,n.floating);return{data:{escapedOffsets:s,escaped:Tf(s)}}}default:return{}}}}},dv=new Set(["left","top"]);async function P1(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=yn(n),a=bo(n),l=Xt(n)==="y",u=dv.has(s)?-1:1,c=i&&l?-1:1,d=gn(t,e);let{mainAxis:m,crossAxis:f,alignmentAxis:y}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof y=="number"&&(f=a==="end"?y*-1:y),l?{x:f*c,y:m*u}:{x:m*u,y:f*c}}const T1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await P1(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},N1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:h,y:p}=w;return{x:h,y:p}}},...l}=gn(e,t),u={x:n,y:r},c=await xi(t,l),d=Xt(yn(o)),m=Dc(d);let f=u[m],y=u[d];if(i){const w=m==="y"?"top":"left",h=m==="y"?"bottom":"right",p=f+c[w],g=f-c[h];f=bu(p,f,g)}if(s){const w=d==="y"?"top":"left",h=d==="y"?"bottom":"right",p=y+c[w],g=y-c[h];y=bu(p,y,g)}const v=a.fn({...t,[m]:f,[d]:y});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[m]:i,[d]:s}}}}}},R1=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=gn(e,t),c={x:n,y:r},d=Xt(o),m=Dc(d);let f=c[m],y=c[d];const v=gn(a,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const g=m==="y"?"height":"width",E=i.reference[m]-i.floating[g]+w.mainAxis,C=i.reference[m]+i.reference[g]-w.mainAxis;f<E?f=E:f>C&&(f=C)}if(u){var h,p;const g=m==="y"?"width":"height",E=dv.has(yn(o)),C=i.reference[d]-i.floating[g]+(E&&((h=s.offset)==null?void 0:h[d])||0)+(E?0:w.crossAxis),k=i.reference[d]+i.reference[g]+(E?0:((p=s.offset)==null?void 0:p[d])||0)-(E?w.crossAxis:0);y<C?y=C:y>k&&(y=k)}return{[m]:f,[d]:y}}}},A1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...u}=gn(e,t),c=await xi(t,u),d=yn(o),m=bo(o),f=Xt(o)==="y",{width:y,height:v}=i.floating;let w,h;d==="top"||d==="bottom"?(w=d,h=m===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(h=d,w=m==="end"?"top":"bottom");const p=v-c.top-c.bottom,g=y-c.left-c.right,E=tr(v-c[w],p),C=tr(y-c[h],g),k=!t.middlewareData.shift;let b=E,P=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=g),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(b=p),k&&!m){const j=at(c.left,0),I=at(c.right,0),D=at(c.top,0),H=at(c.bottom,0);f?P=y-2*(j!==0||I!==0?j+I:at(c.left,c.right)):b=v-2*(D!==0||H!==0?D+H:at(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:b});const A=await s.getDimensions(a.floating);return y!==A.width||v!==A.height?{reset:{rects:!0}}:{}}}};function ja(){return typeof window<"u"}function ko(e){return fv(e)?(e.nodeName||"").toLowerCase():"#document"}function ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function nn(e){var t;return(t=(fv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function fv(e){return ja()?e instanceof Node||e instanceof ct(e).Node:!1}function Ut(e){return ja()?e instanceof Element||e instanceof ct(e).Element:!1}function tn(e){return ja()?e instanceof HTMLElement||e instanceof ct(e).HTMLElement:!1}function Nf(e){return!ja()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ct(e).ShadowRoot}const j1=new Set(["inline","contents"]);function Ii(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Vt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!j1.has(o)}const O1=new Set(["table","td","th"]);function L1(e){return O1.has(ko(e))}const _1=[":popover-open",":modal"];function Oa(e){return _1.some(t=>{try{return e.matches(t)}catch{return!1}})}const D1=["transform","translate","scale","rotate","perspective"],M1=["transform","translate","scale","rotate","perspective","filter"],I1=["paint","layout","strict","content"];function Fc(e){const t=zc(),n=Ut(e)?Vt(e):e;return D1.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||M1.some(r=>(n.willChange||"").includes(r))||I1.some(r=>(n.contain||"").includes(r))}function F1(e){let t=nr(e);for(;tn(t)&&!yo(t);){if(Fc(t))return t;if(Oa(t))return null;t=nr(t)}return null}function zc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const z1=new Set(["html","body","#document"]);function yo(e){return z1.has(ko(e))}function Vt(e){return ct(e).getComputedStyle(e)}function La(e){return Ut(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function nr(e){if(ko(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Nf(e)&&e.host||nn(e);return Nf(t)?t.host:t}function pv(e){const t=nr(e);return yo(t)?e.ownerDocument?e.ownerDocument.body:e.body:tn(t)&&Ii(t)?t:pv(t)}function wi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=pv(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=ct(o);if(i){const a=Pu(s);
vendor: 6,504 bytes, line 106
106return t.concat(s,s.visualViewport||[],Ii(o)?o:[],a&&n?wi(a):[])}return t.concat(o,wi(o,[],n))}function Pu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function mv(e){const t=Vt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=tn(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=oa(n)!==i||oa(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function $c(e){return Ut(e)?e:e.contextElement}function to(e){const t=$c(e);if(!tn(t))return en(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=mv(t);let s=(i?oa(n.width):n.width)/r,a=(i?oa(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const $1=en(0);function hv(e){const t=ct(e);return!zc()||!t.visualViewport?$1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function B1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ct(e)?!1:t}function Pr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=$c(e);let s=en(1);t&&(r?Ut(r)&&(s=to(r)):s=to(e));const a=B1(i,n,r)?hv(i):en(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,c=o.width/s.x,d=o.height/s.y;if(i){const m=ct(i),f=r&&Ut(r)?ct(r):r;let y=m,v=Pu(y);for(;v&&r&&f!==y;){const w=to(v),h=v.getBoundingClientRect(),p=Vt(v),g=h.left+(v.clientLeft+parseFloat(p.paddingLeft))*w.x,E=h.top+(v.clientTop+parseFloat(p.paddingTop))*w.y;l*=w.x,u*=w.y,c*=w.x,d*=w.y,l+=g,u+=E,y=ct(v),v=Pu(y)}}return sa({width:c,height:d,x:l,y:u})}function Bc(e,t){const n=La(e).scrollLeft;return t?t.left+n:Pr(nn(e)).left+n}function vv(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Bc(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function U1(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=nn(r),a=t?Oa(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=en(1);const c=en(0),d=tn(r);if((d||!d&&!i)&&((ko(r)!=="body"||Ii(s))&&(l=La(r)),tn(r))){const f=Pr(r);u=to(r),c.x=f.x+r.clientLeft,c.y=f.y+r.clientTop}const m=s&&!d&&!i?vv(s,l,!0):en(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+m.x,y:n.y*u.y-l.scrollTop*u.y+c.y+m.y}}function V1(e){return Array.from(e.getClientRects())}function H1(e){const t=nn(e),n=La(e),r=e.ownerDocument.body,o=at(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=at(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Bc(e);const a=-n.scrollTop;return Vt(r).direction==="rtl"&&(s+=at(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function W1(e,t){const n=ct(e),r=nn(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=zc();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}const Q1=new Set(["absolute","fixed"]);function K1(e,t){const n=Pr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=tn(e)?to(e):en(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function Rf(e,t,n){let r;if(t==="viewport")r=W1(e,n);else if(t==="document")r=H1(nn(e));else if(Ut(t))r=K1(t,n);else{const o=hv(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return sa(r)}function gv(e,t){const n=nr(e);return n===t||!Ut(n)||yo(n)?!1:Vt(n).position==="fixed"||gv(n,t)}function q1(e,t){const n=t.get(e);if(n)return n;let r=wi(e,[],!1).filter(a=>Ut(a)&&ko(a)!=="body"),o=null;const i=Vt(e).position==="fixed";let s=i?nr(e):e;for(;Ut(s)&&!yo(s);){const a=Vt(s),l=Fc(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&Q1.has(o.position)||Ii(s)&&!l&&gv(e,s))?r=r.filter(c=>c!==s):o=a,s=nr(s)}return t.set(e,r),r}function Y1(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Oa(t)?[]:q1(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=Rf(t,c,o);return u.top=at(d.top,u.top),u.right=tr(d.right,u.right),u.bottom=tr(d.bottom,u.bottom),u.left=at(d.left,u.left),u},Rf(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function G1(e){const{width:t,height:n}=mv(e);return{width:t,height:n}}function X1(e,t,n){const r=tn(t),o=nn(t),i=n==="fixed",s=Pr(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=en(0);function u(){l.x=Bc(o)}if(r||!r&&!i)if((ko(t)!=="body"||Ii(o))&&(a=La(t)),r){const f=Pr(t,!0,i,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else o&&u();i&&!r&&o&&u();const c=o&&!r&&!i?vv(o,a):en(0),d=s.left+a.scrollLeft-l.x-c.x,m=s.top+a.scrollTop-l.y-c.y;return{x:d,y:m,width:s.width,height:s.height}}function El(e){return Vt(e).position==="static"}function Af(e,t){if(!tn(e)||Vt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return nn(e)===n&&(n=n.ownerDocument.body),n}function yv(e,t){const n=ct(e);if(Oa(e))return n;if(!tn(e)){let o=nr(e);for(;o&&!yo(o);){if(Ut(o)&&!El(o))return o;o=nr(o)}return n}let r=Af(e,t);for(;r&&L1(r)&&El(r);)r=Af(r,t);return r&&yo(r)&&El(r)&&!Fc(r)?n:r||F1(e)||n}const Z1=async function(e){const t=this.getOffsetParent||yv,n=this.getDimensions,r=await n(e.floating);return{reference:X1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function J1(e){return Vt(e).direction==="rtl"}const eS={convertOffsetParentRelativeRectToViewportRelativeRect:U1,getDocumentElement:nn,getClippingRect:Y1,getOffsetParent:yv,getElementRects:Z1,getClientRects:V1,getDimensions:G1,getScale:to,isElement:Ut,isRTL:J1};function xv(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function tS(e,t){let n=null,r;const o=nn(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:m,height:f}=u;if(a||t(),!m||!f)return;const y=hs(d),v=hs(o.clientWidth-(c+m)),w=hs(o.clientHeight-(d+f)),h=hs(c),g={rootMargin:-y+"px "+-v+"px "+-w+"px "+-h+"px",threshold:at(0,tr(1,l))||1};let E=!0;function C(k){const b=k[0].intersectionRatio;if(b!==l){if(!E)return s();b?s(!1,b):r=setTimeout(()=>{s(!1,1e-7)},1e3)}b===1&&!xv(u,e.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(C,{...g,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,g)}n.observe(e)}return s(!0),i}function nS(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=$c(e),c=o||i?[...u?wi(u):[],...wi(t)]:[];
vendor: 9,317 bytes, line 106
106c.forEach(h=>{o&&h.addEventListener("scroll",n,{passive:!0}),i&&h.addEventListener("resize",n)});const d=u&&a?tS(u,n):null;let m=-1,f=null;s&&(f=new ResizeObserver(h=>{let[p]=h;p&&p.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var g;(g=f)==null||g.observe(t)})),n()}),u&&!l&&f.observe(u),f.observe(t));let y,v=l?Pr(e):null;l&&w();function w(){const h=Pr(e);v&&!xv(v,h)&&n(),v=h,y=requestAnimationFrame(w)}return n(),()=>{var h;c.forEach(p=>{o&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),d==null||d(),(h=f)==null||h.disconnect(),f=null,l&&cancelAnimationFrame(y)}}const rS=T1,oS=N1,iS=b1,sS=A1,aS=k1,jf=C1,lS=R1,uS=(e,t,n)=>{const r=new Map,o={platform:eS,...n},i={...o.platform,_c:r};return E1(e,t,{...o,platform:i})};var cS=typeof document<"u",dS=function(){},js=cS?S.useLayoutEffect:dS;function aa(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!aa(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!aa(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function wv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Of(e,t){const n=wv(e);return Math.round(t*n)/n}function Cl(e){const t=S.useRef(e);return js(()=>{t.current=e}),t}function fS(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=S.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,f]=S.useState(r);aa(m,r)||f(r);const[y,v]=S.useState(null),[w,h]=S.useState(null),p=S.useCallback(T=>{T!==k.current&&(k.current=T,v(T))},[]),g=S.useCallback(T=>{T!==b.current&&(b.current=T,h(T))},[]),E=i||y,C=s||w,k=S.useRef(null),b=S.useRef(null),P=S.useRef(c),A=l!=null,j=Cl(l),I=Cl(o),D=Cl(u),H=S.useCallback(()=>{if(!k.current||!b.current)return;const T={placement:t,strategy:n,middleware:m};I.current&&(T.platform=I.current),uS(k.current,b.current,T).then(R=>{const M={...R,isPositioned:D.current!==!1};_.current&&!aa(P.current,M)&&(P.current=M,Di.flushSync(()=>{d(M)}))})},[m,t,n,I,D]);js(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(T=>({...T,isPositioned:!1})))},[u]);const _=S.useRef(!1);js(()=>(_.current=!0,()=>{_.current=!1}),[]),js(()=>{if(E&&(k.current=E),C&&(b.current=C),E&&C){if(j.current)return j.current(E,C,H);H()}},[E,C,H,j,A]);const W=S.useMemo(()=>({reference:k,floating:b,setReference:p,setFloating:g}),[p,g]),B=S.useMemo(()=>({reference:E,floating:C}),[E,C]),V=S.useMemo(()=>{const T={position:n,left:0,top:0};if(!B.floating)return T;const R=Of(B.floating,c.x),M=Of(B.floating,c.y);return a?{...T,transform:"translate("+R+"px, "+M+"px)",...wv(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:M}},[n,a,B.floating,c.x,c.y]);return S.useMemo(()=>({...c,update:H,refs:W,elements:B,floatingStyles:V}),[c,H,W,B,V])}const pS=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?jf({element:r.current,padding:o}).fn(n):{}:r?jf({element:r,padding:o}).fn(n):{}}}},mS=(e,t)=>({...rS(e),options:[e,t]}),hS=(e,t)=>({...oS(e),options:[e,t]}),vS=(e,t)=>({...lS(e),options:[e,t]}),gS=(e,t)=>({...iS(e),options:[e,t]}),yS=(e,t)=>({...sS(e),options:[e,t]}),xS=(e,t)=>({...aS(e),options:[e,t]}),wS=(e,t)=>({...pS(e),options:[e,t]});var SS="Arrow",Sv=S.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return x.jsx(rt.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:x.jsx("polygon",{points:"0,0 30,0 15,10"})})});Sv.displayName=SS;var ES=Sv;function CS(e){const[t,n]=S.useState(void 0);return er(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Ev="Popper",[Cv,bv]=Na(Ev),[Rb,kv]=Cv(Ev),Pv="PopperAnchor",Tv=S.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=kv(Pv,n),s=S.useRef(null),a=Bt(t,s);return S.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:x.jsx(rt.div,{...o,ref:a})});Tv.displayName=Pv;var Uc="PopperContent",[bS,kS]=Cv(Uc),Nv=S.forwardRef((e,t)=>{var Y,ye,Ae,Ee,te,z;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:m=!1,updatePositionStrategy:f="optimized",onPlaced:y,...v}=e,w=kv(Uc,n),[h,p]=S.useState(null),g=Bt(t,J=>p(J)),[E,C]=S.useState(null),k=CS(E),b=(k==null?void 0:k.width)??0,P=(k==null?void 0:k.height)??0,A=r+(i!=="center"?"-"+i:""),j=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},I=Array.isArray(u)?u:[u],D=I.length>0,H={padding:j,boundary:I.filter(TS),altBoundary:D},{refs:_,floatingStyles:W,placement:B,isPositioned:V,middlewareData:T}=fS({strategy:"fixed",placement:A,whileElementsMounted:(...J)=>nS(...J,{animationFrame:f==="always"}),elements:{reference:w.anchor},middleware:[mS({mainAxis:o+P,alignmentAxis:s}),l&&hS({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?vS():void 0,...H}),l&&gS({...H}),yS({...H,apply:({elements:J,rects:le,availableWidth:ke,availableHeight:Ue})=>{const{width:ot,height:it}=le.reference,Ve=J.floating.style;Ve.setProperty("--radix-popper-available-width",`${ke}px`),Ve.setProperty("--radix-popper-available-height",`${Ue}px`),Ve.setProperty("--radix-popper-anchor-width",`${ot}px`),Ve.setProperty("--radix-popper-anchor-height",`${it}px`)}}),E&&wS({element:E,padding:a}),NS({arrowWidth:b,arrowHeight:P}),m&&xS({strategy:"referenceHidden",...H})]}),[R,M]=jv(B),U=Jn(y);er(()=>{V&&(U==null||U())},[V,U]);const $=(Y=T.arrow)==null?void 0:Y.x,q=(ye=T.arrow)==null?void 0:ye.y,Q=((Ae=T.arrow)==null?void 0:Ae.centerOffset)!==0,[ie,ge]=S.useState();return er(()=>{h&&ge(window.getComputedStyle(h).zIndex)},[h]),x.jsx("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:V?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ie,"--radix-popper-transform-origin":[(Ee=T.transformOrigin)==null?void 0:Ee.x,(te=T.transformOrigin)==null?void 0:te.y].join(" "),...((z=T.hide)==null?void 0:z.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:x.jsx(bS,{scope:n,placedSide:R,onArrowChange:C,arrowX:$,arrowY:q,shouldHideArrow:Q,children:x.jsx(rt.div,{"data-side":R,"data-align":M,...v,ref:g,style:{...v.style,animation:V?void 0:"none"}})})})});Nv.displayName=Uc;var Rv="PopperArrow",PS={top:"bottom",right:"left",bottom:"top",left:"right"},Av=S.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=kS(Rv,r),s=PS[i.placedSide];return x.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:x.jsx(ES,{...o,ref:n,style:{...o.style,display:"block"}})})});Av.displayName=Rv;function TS(e){return e!==null}var NS=e=>({name:"transformOrigin",options:e,fn(t){var w,h,p;const{placement:n,rects:r,middlewareData:o}=t,s=((w=o.arrow)==null?void 0:w.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=jv(n),d={start:"0%",center:"50%",end:"100%"}[c],m=(((h=o.arrow)==null?void 0:h.x)??0)+a/2,f=(((p=o.arrow)==null?void 0:p.y)??0)+l/2;let y="",v="";return u==="bottom"?(y=s?d:`${m}px`,v=`${-l}px`):u==="top"?(y=s?d:`${m}px`,v=`${r.floating.height+l}px`):u==="right"?(y=`${-l}px`,v=s?d:`${f}px`):u==="left"&&(y=`${r.floating.width+l}px`,v=s?d:`${f}px`),{data:{x:y,y:v}}}});function jv(e){const[t,n="center"]=e.split("-");return[t,n]}var RS=Tv,AS=Nv,jS=Av,[_a,Ab]=Na("Tooltip",[bv]),Vc=bv(),Ov="TooltipProvider",OS=700,Lf="tooltip.open",[LS,Lv]=_a(Ov),_v=e=>{const{__scopeTooltip:t,delayDuration:n=OS,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=S.useRef(!0),a=S.useRef(!1),l=S.useRef(0);return S.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),x.jsx(LS,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:S.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:S.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:S.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:i})};_v.displayName=Ov;var Dv="Tooltip",[jb,Da]=_a(Dv),Tu="TooltipTrigger",_S=S.forwardRef((e,t)=>
vendor: 5,226 bytes, line 106
106{const{__scopeTooltip:n,...r}=e,o=Da(Tu,n),i=Lv(Tu,n),s=Vc(n),a=S.useRef(null),l=Bt(t,a,o.onTriggerChange),u=S.useRef(!1),c=S.useRef(!1),d=S.useCallback(()=>u.current=!1,[]);return S.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),x.jsx(RS,{asChild:!0,...s,children:x.jsx(rt.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:Te(e.onPointerMove,m=>{m.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:Te(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:Te(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Te(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Te(e.onBlur,o.onClose),onClick:Te(e.onClick,o.onClose)})})});_S.displayName=Tu;var DS="TooltipPortal",[Ob,MS]=_a(DS,{forceMount:void 0}),xo="TooltipContent",Mv=S.forwardRef((e,t)=>{const n=MS(xo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Da(xo,e.__scopeTooltip);return x.jsx(Ac,{present:r||s.open,children:s.disableHoverableContent?x.jsx(Iv,{side:o,...i,ref:t}):x.jsx(IS,{side:o,...i,ref:t})})}),IS=S.forwardRef((e,t)=>{const n=Da(xo,e.__scopeTooltip),r=Lv(xo,e.__scopeTooltip),o=S.useRef(null),i=Bt(t,o),[s,a]=S.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,m=S.useCallback(()=>{a(null),d(!1)},[d]),f=S.useCallback((y,v)=>{const w=y.currentTarget,h={x:y.clientX,y:y.clientY},p=US(h,w.getBoundingClientRect()),g=VS(h,p),E=HS(v.getBoundingClientRect()),C=QS([...g,...E]);a(C),d(!0)},[d]);return S.useEffect(()=>()=>m(),[m]),S.useEffect(()=>{if(l&&c){const y=w=>f(w,c),v=w=>f(w,l);return l.addEventListener("pointerleave",y),c.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",y),c.removeEventListener("pointerleave",v)}}},[l,c,f,m]),S.useEffect(()=>{if(s){const y=v=>{const w=v.target,h={x:v.clientX,y:v.clientY},p=(l==null?void 0:l.contains(w))||(c==null?void 0:c.contains(w)),g=!WS(h,s);p?m():g&&(m(),u())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[l,c,s,u,m]),x.jsx(Iv,{...e,ref:i})}),[FS,zS]=_a(Dv,{isInside:!1}),$S=Z0("TooltipContent"),Iv=S.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=Da(xo,n),u=Vc(n),{onClose:c}=l;return S.useEffect(()=>(document.addEventListener(Lf,c),()=>document.removeEventListener(Lf,c)),[c]),S.useEffect(()=>{if(l.trigger){const d=m=>{const f=m.target;f!=null&&f.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),x.jsx(Rc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:x.jsxs(AS,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.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:[x.jsx($S,{children:r}),x.jsx(FS,{scope:n,isInside:!0,children:x.jsx(Cx,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Mv.displayName=xo;var Fv="TooltipArrow",BS=S.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Vc(n);return zS(Fv,n).isInside?null:x.jsx(jS,{...o,...r,ref:t})});BS.displayName=Fv;function US(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function VS(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function HS(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function WS(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i],l=t[s],u=a.x,c=a.y,d=l.x,m=l.y;c>r!=m>r&&n<(d-u)*(r-c)/(m-c)+u&&(o=!o)}return o}function QS(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),KS(t)}function KS(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var qS=_v,zv=Mv;const YS=qS,GS=S.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
vendor: 24,101 bytes, line 106
106x.jsx(zv,{ref:r,sideOffset:t,className:Re("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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));GS.displayName=zv.displayName;var Ma=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Ia=typeof window>"u"||"Deno"in globalThis;function jt(){}function XS(e,t){return typeof e=="function"?e(t):e}function ZS(e){return typeof e=="number"&&e>=0&&e!==1/0}function JS(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Nu(e,t){return typeof e=="function"?e(t):e}function eE(e,t){return typeof e=="function"?e(t):e}function _f(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Hc(s,t.options))return!1}else if(!Ei(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function Df(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Si(t.options.mutationKey)!==Si(i))return!1}else if(!Ei(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Hc(e,t){return((t==null?void 0:t.queryKeyHashFn)||Si)(e)}function Si(e){return JSON.stringify(e,(t,n)=>Ru(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ei(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ei(e[n],t[n])):!1}function $v(e,t){if(e===t)return e;const n=Mf(e)&&Mf(t);if(n||Ru(e)&&Ru(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<s;c++){const d=n?c:i[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=$v(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return o===s&&u===o?e:a}return t}function Mf(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ru(e){if(!If(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!If(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function If(e){return Object.prototype.toString.call(e)==="[object Object]"}function tE(e){return new Promise(t=>{setTimeout(t,e)})}function nE(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?$v(e,t):t}function rE(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function oE(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Wc=Symbol();function Bv(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Wc?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var pr,_n,no,Zf,iE=(Zf=class extends Ma{constructor(){super();ne(this,pr);ne(this,_n);ne(this,no);G(this,no,t=>{if(!Ia&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,_n)||this.setEventListener(N(this,no))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,_n))==null||t.call(this),G(this,_n,void 0))}setEventListener(t){var n;G(this,no,t),(n=N(this,_n))==null||n.call(this),G(this,_n,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){N(this,pr)!==t&&(G(this,pr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,pr)=="boolean"?N(this,pr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},pr=new WeakMap,_n=new WeakMap,no=new WeakMap,Zf),Uv=new iE,ro,Dn,oo,Jf,sE=(Jf=class extends Ma{constructor(){super();ne(this,ro,!0);ne(this,Dn);ne(this,oo);G(this,oo,t=>{if(!Ia&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){N(this,Dn)||this.setEventListener(N(this,oo))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,Dn))==null||t.call(this),G(this,Dn,void 0))}setEventListener(t){var n;G(this,oo,t),(n=N(this,Dn))==null||n.call(this),G(this,Dn,t(this.setOnline.bind(this)))}setOnline(t){N(this,ro)!==t&&(G(this,ro,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return N(this,ro)}},ro=new WeakMap,Dn=new WeakMap,oo=new WeakMap,Jf),la=new sE;function aE(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function lE(e){return Math.min(1e3*2**e,3e4)}function Vv(e){return(e??"online")==="online"?la.isOnline():!0}var Hv=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function bl(e){return e instanceof Hv}function Wv(e){let t=!1,n=0,r=!1,o;const i=aE(),s=v=>{var w;r||(m(new Hv(v)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Uv.isFocused()&&(e.networkMode==="always"||la.isOnline())&&e.canRun(),c=()=>Vv(e.networkMode)&&e.canRun(),d=v=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,v),o==null||o(),i.resolve(v))},m=v=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,v),o==null||o(),i.reject(v))},f=()=>new Promise(v=>{var w;o=h=>{(r||u())&&v(h)},(w=e.onPause)==null||w.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),y=()=>{if(r)return;let v;const w=n===0?e.initialPromise:void 0;try{v=w??e.fn()}catch(h){v=Promise.reject(h)}Promise.resolve(v).then(d).catch(h=>{var k;if(r)return;const p=e.retry??(Ia?0:3),g=e.retryDelay??lE,E=typeof g=="function"?g(n,h):g,C=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,h);if(t||!C){m(h);return}n++,(k=e.onFail)==null||k.call(e,n,h),tE(E).then(()=>u()?void 0:f()).then(()=>{t?m(h):y()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?y():f().then(y),i)}}var uE=e=>setTimeout(e,0);function cE(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=uE;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var Qe=cE(),mr,ep,Qv=(ep=class{constructor(){ne(this,mr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ZS(this.gcTime)&&G(this,mr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ia?1/0:5*60*1e3))}clearGcTimeout(){N(this,mr)&&(clearTimeout(N(this,mr)),G(this,mr,void 0))}},mr=new WeakMap,ep),io,hr,mt,vr,ze,Ni,gr,Ot,sn,tp,dE=(tp=class extends Qv{constructor(t){super();ne(this,Ot);ne(this,io);ne(this,hr);ne(this,mt);ne(this,vr);ne(this,ze);ne(this,Ni);ne(this,gr);G(this,gr,!1),G(this,Ni,t.defaultOptions),this.setOptions(t.options),this.observers=[],G(this,vr,t.client),G(this,mt,N(this,vr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,io,pE(this.options)),this.state=t.state??N(this,io),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=N(this,ze))==null?void 0:t.promise}setOptions(t){this.options={...N(this,Ni),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,mt).remove(this)}setData(t,n){const r=nE(this.state.data,t,this.options);return Me(this,Ot,sn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Me(this,Ot,sn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=N(this,ze))==null?void 0:r.promise;return(o=N(this,ze))==null||o.cancel(t),n?n.then(jt).catch(jt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(N(this,io))}isActive(){return this.observers.some(t=>eE(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Wc||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Nu(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:!JS(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,ze))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,ze))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),N(this,mt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(N(this,ze)&&(N(this,gr)?N(this,ze).cancel({revert:!0}):N(this,ze).cancelRetry()),this.scheduleGc()),N(this,mt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Me(this,Ot,sn).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(N(this,ze))return N(this,ze).continueRetry(),N(this,ze).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(f=>f.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,o=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(G(this,gr,!0),r.signal)})},i=()=>{const m=Bv(this.options,n),y=(()=>{const v={client:N(this,vr),queryKey:this.queryKey,meta:this.meta};return o(v),v})();return G(this,gr,!1),this.options.persister?this.options.persister(m,y,this):m(y)},a=(()=>{const m={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:N(this,vr),state:this.state,fetchFn:i};return o(m),m})();(u=this.options.behavior)==null||u.onFetch(a,this),G(this,hr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Me(this,Ot,sn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=m=>{var f,y,v,w;bl(m)&&m.silent||Me(this,Ot,sn).call(this,{type:"error",error:m}),bl(m)||((y=(f=N(this,mt).config).onError)==null||y.call(f,m,this),(w=(v=N(this,mt).config).onSettled)==null||w.call(v,this.state.data,m,this)),this.scheduleGc()};return G(this,ze,Wv({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var f,y,v,w;if(m===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(h){l(h);return}(y=(f=N(this,mt).config).onSuccess)==null||y.call(f,m,this),(w=(v=N(this,mt).config).onSettled)==null||w.call(v,m,this.state.error,this),this.scheduleGc()},onError:l,onFail:(m,f)=>{Me(this,Ot,sn).call(this,{type:"failed",failureCount:m,error:f})},onPause:()=>{Me(this,Ot,sn).call(this,{type:"pause"})},onContinue:()=>{Me(this,Ot,sn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),N(this,ze).start()}},io=new WeakMap,hr=new WeakMap,mt=new WeakMap,vr=new WeakMap,ze=new WeakMap,Ni=new WeakMap,gr=new WeakMap,Ot=new WeakSet,sn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...fE(r.data,this.options),fetchMeta:t.meta??null};case"success":return G(this,hr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return bl(o)&&o.revert&&N(this,hr)?{...N(this,hr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Qe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),N(this,mt).notify({query:this,type:"updated",action:t})})},tp);function fE(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Vv(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function pE(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Kt,np,mE=(np=class extends Ma{constructor(t={}){super();ne(this,Kt);this.config=t,G(this,Kt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Hc(o,n);let s=this.get(i);return s||(s=new dE({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){N(this,Kt).has(t.queryHash)||(N(this,Kt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,Kt).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,Kt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Qe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,Kt).get(t)}getAll(){return[...N(this,Kt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>_f(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>_f(t,r)):n}notify(t){Qe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Qe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Qe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Kt=new WeakMap,np),qt,He,yr,Yt,Rn,rp,hE=(rp=class extends Qv{constructor(t){super();ne(this,Yt);ne(this,qt);ne(this,He);ne(this,yr);this.mutationId=t.mutationId,G(this,He,t.mutationCache),G(this,qt,[]),this.state=t.state||vE(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){N(this,qt).includes(t)||(N(this,qt).push(t),this.clearGcTimeout(),N(this,He).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,qt,N(this,qt).filter(n=>n!==t)),this.scheduleGc(),N(this,He).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,qt).length||(this.state.status==="pending"?this.scheduleGc():N(this,He).remove(this))}continue(){var t;return((t=N(this,yr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,l,u,c,d,m,f,y,v,w,h,p,g,E,C,k,b,P;const n=()=>{Me(this,Yt,Rn).call(this,{type:"continue"})};G(this,yr,Wv({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,j)=>{Me(this,Yt,Rn).call(this,{type:"failed",failureCount:A,error:j})},onPause:()=>{Me(this,Yt,Rn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,He).canRun(this)}));const r=this.state.status==="pending",o=!N(this,yr).canStart();try{if(r)n();else{Me(this,Yt,Rn).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=N(this,He).config).onMutate)==null?void 0:s.call(i,t,this));const j=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));j!==this.state.context&&Me(this,Yt,Rn).call(this,{type:"pending",context:j,variables:t,isPaused:o})}const A=await N(this,yr).start();return await((c=(u=N(this,He).config).onSuccess)==null?void 0:c.call(u,A,t,this.state.context,this)),await((m=(d=this.options).onSuccess)==null?void 0:m.call(d,A,t,this.state.context)),await((y=(f=N(this,He).config).onSettled)==null?void 0:y.call(f,A,null,this.state.variables,this.state.context,this)),await((w=(v=this.options).onSettled)==null?void 0:w.call(v,A,null,t,this.state.context)),Me(this,Yt,Rn).call(this,{type:"success",data:A}),A}catch(A){try{throw await((p=(h=N(this,He).config).onError)==null?void 0:p.call(h,A,t,this.state.context,this)),await((E=(g=this.options).onError)==null?void 0:E.call(g,A,t,this.state.context)),await((k=(C=N(this,He).config).onSettled)==null?void 0:k.call(C,void 0,A,this.state.variables,this.state.context,this)),await((P=(b=this.options).onSettled)==null?void 0:P.call(b,void 0,A,t,this.state.context)),A}finally{Me(this,Yt,Rn).call(this,{type:"error",error:A})}}finally{N(this,He).runNext(this)}}},qt=new WeakMap,He=new WeakMap,yr=new WeakMap,Yt=new WeakSet,Rn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Qe.batch(()=>{N(this,qt).forEach(r=>{r.onMutationUpdate(t)}),N(this,He).notify({mutation:this,type:"updated",action:t})})},rp);function vE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var un,Lt,Ri,op,gE=(op=class extends Ma{constructor(t={}){super();ne(this,un);ne(this,Lt);ne(this,Ri);this.config=t,G(this,un,new Set),G(this,Lt,new Map),G(this,Ri,0)}build(t,n,r){const o=new hE({mutationCache:this,mutationId:++qi(this,Ri)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){N(this,un).add(t);const n=vs(t);if(typeof n=="string"){const r=N(this,Lt).get(n);r?r.push(t):N(this,Lt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(N(this,un).delete(t)){const n=vs(t);if(typeof n=="string"){const r=N(this,Lt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&N(this,Lt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=vs(t);if(typeof n=="string"){const r=N(this,Lt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=vs(t);if(typeof n=="string"){const o=(r=N(this,Lt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Qe.batch(()=>{N(this,un).forEach(t=>{this.notify({type:"removed",mutation:t})}),N(this,un).clear(),N(this,Lt).clear()})}getAll(){return Array.from(N(this,un))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Df(n,r))}findAll(t={}){return this.getAll().filter(n=>Df(t,n))}notify(t){Qe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Qe.batch(()=>Promise.all(t.map(n=>n.continue().catch(jt))))}},un=new WeakMap,Lt=new WeakMap,Ri=new WeakMap,op);function vs(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Ff(e){return{onFetch:(t,n)=>{var c,d,m,f,y;const r=t.options,o=(m=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:m.direction,i=((f=t.state.data)==null?void 0:f.pages)||[],s=((y=t.state.data)==null?void 0:y.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const w=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},h=Bv(t.options,t.fetchOptions),p=async(g,E,C)=>{if(v)return Promise.reject();if(E==null&&g.pages.length)return Promise.resolve(g);const b=(()=>{const I={client:t.client,queryKey:t.queryKey,pageParam:E,direction:C?"backward":"forward",meta:t.options.meta};return w(I),I})(),P=await h(b),{maxPages:A}=t.options,j=C?oE:rE;return{pages:j(g.pages,P,A),pageParams:j(g.pageParams,E,A)}};if(o&&i.length){const g=o==="backward",E=g?yE:zf,C={pages:i,pageParams:s},k=E(r,C);a=await p(C,k,g)}else{const g=e??i.length;do{const E=l===0?s[0]??r.initialPageParam:zf(r,a);if(l>0&&E==null)break;a=await p(a,E),l++}while(l<g)}return a};t.options.persister?t.fetchFn=()=>{var v,w;return(w=(v=t.options).persister)==null?void 0:w.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function zf(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function yE(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var xe,Mn,In,so,ao,Fn,lo,uo,ip,xE=(ip=class{constructor(e={}){ne(this,xe);ne(this,Mn);ne(this,In);ne(this,so);ne(this,ao);ne(this,Fn);ne(this,lo);ne(this,uo);G(this,xe,e.queryCache||new mE),G(this,Mn,e.mutationCache||new gE),G(this,In,e.defaultOptions||{}),G(this,so,new Map),G(this,ao,new Map),G(this,Fn,0)}mount(){qi(this,Fn)._++,N(this,Fn)===1&&(G(this,lo,Uv.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,xe).onFocus())})),G(this,uo,la.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,xe).onOnline())})))}unmount(){var e,t;qi(this,Fn)._--,N(this,Fn)===0&&((e=N(this,lo))==null||e.call(this),G(this,lo,void 0),(t=N(this,uo))==null||t.call(this),G(this,uo,void 0))}isFetching(e){return N(this,xe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,Mn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,xe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=N(this,xe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Nu(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return N(this,xe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=N(this,xe).get(r.queryHash),i=o==null?void 0:o.state.data,s=XS(t,i);if(s!==void 0)return N(this,xe).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Qe.batch(()=>N(this,xe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,xe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,xe);Qe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,xe);return Qe.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Qe.batch(()=>N(this,xe).findAll(e).map(o=>o.cancel(n)));
106return Promise.all(r).then(jt).catch(jt)}invalidateQueries(e,t={}){return Qe.batch(()=>(N(this,xe).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Qe.batch(()=>N(this,xe).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(jt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(jt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=N(this,xe).build(this,t);return n.isStaleByTime(Nu(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(jt).catch(jt)}fetchInfiniteQuery(e){return e.behavior=Ff(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(jt).catch(jt)}ensureInfiniteQueryData(e){return e.behavior=Ff(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return la.isOnline()?N(this,Mn).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,xe)}getMutationCache(){return N(this,Mn)}getDefaultOptions(){return N(this,In)}setDefaultOptions(e){G(this,In,e)}setQueryDefaults(e,t){N(this,so).set(Si(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,so).values()],n={};return t.forEach(r=>{Ei(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){N(this,ao).set(Si(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,ao).values()],n={};return t.forEach(r=>{Ei(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,In).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Hc(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Wc&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,In).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,xe).clear(),N(this,Mn).clear()}},xe=new WeakMap,Mn=new WeakMap,In=new WeakMap,so=new WeakMap,ao=new WeakMap,Fn=new WeakMap,lo=new WeakMap,uo=new WeakMap,ip),wE=S.createContext(void 0),SE=({client:e,children:t})=>(S.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),x.jsx(wE.Provider,{value:e,children:t}));/** 107 * @remix-run/router v1.23.0 108 * 109 * Copyright (c) Remix Software Inc. 110 * 111 * This source code is licensed under the MIT license found in the 112 * LICENSE.md file in the root directory of this source tree. 113 * 114 * @license MIT 115 */function Ci(){return Ci=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ci.apply(this,arguments)}var Bn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Bn||(Bn={}));const $f="popstate";function EE(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return Au("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:ua(o)}return bE(t,n,null,e)}function be(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Kv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function CE(){return Math.random().toString(36).substr(2,8)}function Bf(e,t){return{usr:e.state,key:e.key,idx:t}}function Au(e,t,n,r){return n===void 0&&(n=null),Ci({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Po(t):t,{state:n,key:t&&t.key||r||CE()})}function ua(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Po(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function bE(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=Bn.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(Ci({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=Bn.Pop;let w=c(),h=w==null?null:w-u;u=w,l&&l({action:a,location:v.location,delta:h})}function m(w,h){a=Bn.Push;let p=Au(v.location,w,h);u=c()+1;let g=Bf(p,u),E=v.createHref(p);try{s.pushState(g,"",E)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(E)}i&&l&&l({action:a,location:v.location,delta:1})}function f(w,h){a=Bn.Replace;let p=Au(v.location,w,h);u=c();let g=Bf(p,u),E=v.createHref(p);s.replaceState(g,"",E),i&&l&&l({action:a,location:v.location,delta:0})}function y(w){let h=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof w=="string"?w:ua(w);return p=p.replace(/ $/,"%20"),be(h,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,h)}let v={get action(){return a},get location(){return e(o,s)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener($f,d),l=w,()=>{o.removeEventListener($f,d),l=null}},createHref(w){return t(o,w)},createURL:y,encodeLocation(w){let h=y(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:m,replace:f,go(w){return s.go(w)}};return v}var Uf;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Uf||(Uf={}));function kE(e,t,n){return n===void 0&&(n="/"),PE(e,t,n,!1)}function PE(e,t,n,r){let o=typeof t=="string"?Po(t):t,i=Qc(o.pathname||"/",n);if(i==null)return null;let s=qv(e);TE(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=FE(i);a=ME(s[l],u,r)}return a}function qv(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(be(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
115id. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Gn([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(be(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),qv(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:_E(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of Yv(i.path))o(i,s,l)}),t}function Yv(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Yv(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function TE(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:DE(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const NE=/^:[\w-]+$/,RE=3,AE=2,jE=1,OE=10,LE=-2,Vf=e=>e==="*";function _E(e,t){let n=e.split("/"),r=n.length;return n.some(Vf)&&(r+=LE),t&&(r+=AE),n.filter(o=>!Vf(o)).reduce((o,i)=>o+(NE.test(i)?RE:i===""?jE:OE),r)}function DE(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function ME(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=Hf({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),m=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Hf({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 9,412 bytes, lines 115-124
115Object.assign(o,d.params),s.push({params:o,pathname:Gn([i,d.pathname]),pathnameBase:UE(Gn([i,d.pathnameBase])),route:m}),d.pathnameBase!=="/"&&(i=Gn([i,d.pathnameBase]))}return s}function Hf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=IE(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:m,isOptional:f}=c;if(m==="*"){let v=a[d]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const y=a[d];return f&&!y?u[m]=void 0:u[m]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function IE(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Kv(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function FE(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Kv(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Qc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function zE(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Po(e):e;return{pathname:n?n.startsWith("/")?n:$E(n,t):t,search:VE(r),hash:HE(o)}}function $E(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function kl(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function BE(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Gv(e,t){let n=BE(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Xv(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Po(e):(o=Ci({},e),be(!o.pathname||!o.pathname.includes("?"),kl("?","pathname","search",o)),be(!o.pathname||!o.pathname.includes("#"),kl("#","pathname","hash",o)),be(!o.search||!o.search.includes("#"),kl("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),d-=1;o.pathname=m.join("/")}a=d>=0?t[d]:"/"}let l=zE(o,a),u=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Gn=e=>e.join("/").replace(/\/\/+/g,"/"),UE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),VE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,HE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function WE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Zv=["post","put","patch","delete"];new Set(Zv);const QE=["get",...Zv];new Set(QE);/** 116 * React Router v6.30.1 117 * 118 * Copyright (c) Remix Software Inc. 119 * 120 * This source code is licensed under the MIT license found in the 121 * LICENSE.md file in the root directory of this source tree. 122 * 123 * @license MIT 124 */function bi(){return bi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bi.apply(this,arguments)}const Kc=S.createContext(null),KE=S.createContext(null),Ar=S.createContext(null),Fa=S.createContext(null),jr=S.createContext({outlet:null,matches:[],isDataRoute:!1}),Jv=S.createContext(null);function qE(e,t){let{relative:n}=t===void 0?{}:t;Fi()||be(!1);let{basename:r,navigator:o}=S.useContext(Ar),{hash:i,pathname:s,search:a}=tg(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:Gn([r,s])),o.createHref({pathname:l,search:a,hash:i})}function Fi(){return S.useContext(Fa)!=null}function zi(){return Fi()||be(!1),S.useContext(Fa).location}function eg(e){S.useContext(Ar).static||S.useLayoutEffect(e)}function YE(){let{isDataRoute:e}=S.useContext(jr);return e?lC():GE()}function GE(){Fi()||be(!1);let e=S.useContext(Kc),{basename:t,future:n,navigator:r}=S.useContext(Ar),{matches:o}=S.useContext(jr),{pathname:i}=zi(),s=JSON.stringify(Gv(o,n.v7_relativeSplatPath)),a=S.useRef(!1);return eg(()=>{a.current=!0}),S.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=Xv(u,JSON.parse(s),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Gn([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,i,e])}function tg(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=S.useContext(Ar),{matches:o}=S.useContext(jr),{pathname:i}=zi(),s=JSON.stringify(Gv(o,r.v7_relativeSplatPath));return S.useMemo(()=>Xv(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function XE(e,t){return ZE(e,t)}function ZE(e,t,n,r){Fi()||be(!1);let{navigator:o}=S.useContext(Ar),{matches:i}=S.useContext(jr),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=zi(),c;if(t){var d;let w=typeof t=="string"?Po(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||be(!1),c=w}else c=u;let m=c.pathname||"/",f=m;if(l!=="/"){let w=l.replace(/^\//,"").split("/");f="/"+m.replace(/^\//,"").split("/").slice(w.length).join("/")}let y=kE(e,{pathname:f}),v=rC(y&&y.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:Gn([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Gn([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&v?S.createElement(Fa.Provider,{value:{location:bi({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Bn.Pop}},v):v}function JE(){let e=aC(),t=WE(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},t),n?S.createElement("pre",{style:o},n):null,null)}const eC=S.createElement(JE,null);class tC extends S.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?S.createElement(jr.Provider,{value:this.props.routeContext},S.createElement(Jv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function nC(e){let{routeContext:t,match:n,children:r}=e,o=S.useContext(Kc);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(jr.Provider,{value:t},r)}function rC(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||be(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let d=s[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:m,errors:f}=n,y=d.route.loader&&m[d.route.id]===void 0&&(!f||f[d.route.id]===void 0);if(d.route.lazy||y){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,m)=>{let f,y=!1,v=null,w=null;n&&(f=a&&d.route.id?a[d.route.id]:void 0,v=d.route.errorElement||eC,l&&(u<0&&m===0?(y=!0,w=null):u===m&&(y=!0,w=d.route.hydrateFallbackElement||null)));let h=t.concat(s.slice(0,m+1)),p=()=>{let g;return f?g=v:y?g=w:d.route.Component?g=S.createElement(d.route.Component,null):d.route.element?g=d.route.element:g=c,S.createElement(nC,{match:d,routeContext:{outlet:c,matches:h,isDataRoute:n!=null},children:g})};return n&&(d.route.ErrorBoundary||d.route.errorElement||m===0)?S.createElement(tC,{location:n.location,revalidation:n.revalidation,component:v,error:f,children:p(),routeC
124ontext:{outlet:null,matches:h,isDataRoute:!0}}):p()},null)}var ng=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ng||{}),ca=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(ca||{});function oC(e){let t=S.useContext(Kc);return t||be(!1),t}function iC(e){let t=S.useContext(KE);return t||be(!1),t}function sC(e){let t=S.useContext(jr);return t||be(!1),t}function rg(e){let t=sC(),n=t.matches[t.matches.length-1];return n.route.id||be(!1),n.route.id}function aC(){var e;let t=S.useContext(Jv),n=iC(ca.UseRouteError),r=rg(ca.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function lC(){let{router:e}=oC(ng.UseNavigateStable),t=rg(ca.UseNavigateStable),n=S.useRef(!1);return eg(()=>{n.current=!0}),S.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,bi({fromRouteId:t},i)))},[e,t])}function uC(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Os(e){be(!1)}function cC(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Bn.Pop,navigator:i,static:s=!1,future:a}=e;Fi()&&be(!1);let l=t.replace(/^\/*/,"/"),u=S.useMemo(()=>({basename:l,navigator:i,static:s,future:bi({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Po(r));let{pathname:c="/",search:d="",hash:m="",state:f=null,key:y="default"}=r,v=S.useMemo(()=>{let w=Qc(c,l);return w==null?null:{location:{pathname:w,search:d,hash:m,state:f,key:y},navigationType:o}},[l,c,d,m,f,y,o]);return v==null?null:S.createElement(Ar.Provider,{value:u},S.createElement(Fa.Provider,{children:n,value:v}))}function dC(e){let{children:t,location:n}=e;return XE(ju(t),n)}new Promise(()=>{});function ju(e,t){t===void 0&&(t=[]);let n=[];return S.Children.forEach(e,(r,o)=>{if(!S.isValidElement(r))return;let i=[...t,o];if(r.type===S.Fragment){n.push.apply(n,ju(r.props.children,i));return}r.type!==Os&&be(!1),!r.props.index||!r.props.children||be(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=ju(r.props.children,i)),n.push(s)}),n}/** 125 * React Router DOM v6.30.1 126 * 127 * Copyright (c) Remix Software Inc. 128 * 129 * This source code is licensed under the MIT license found in the 130 * LICENSE.md file in the root directory of this source tree. 131 * 132 * @license MIT 133 */function Ou(){return Ou=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ou.apply(this,arguments)}function fC(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function pC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function mC(e,t){return e.button===0&&(!t||t==="_self")&&!pC(e)}const hC=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],vC="6";try{window.__reactRouterVersion=vC}catch{}const gC="startTransition",Wf=gp[gC];function yC(e){let{basename:t,children:n,future:r,window:o}=e,i=S.useRef();i.current==null&&(i.current=EE({window:o,v5Compat:!0}));let s=i.current,[a,l]=S.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=S.useCallback(d=>{u&&Wf?Wf(()=>l(d)):l(d)},[l,u]);return S.useLayoutEffect(()=>s.listen(c),[s,c]),S.useEffect(()=>uC(r),[r]),S.createElement(cC,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const xC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,og=S.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d}=t,m=fC(t,hC),{basename:f}=S.useContext(Ar),y,v=!1;if(typeof u=="string"&&wC.test(u)&&(y=u,xC))try{let g=new URL(window.location.href),E=u.startsWith("//")?new URL(g.protocol+u):new URL(u),C=Qc(E.pathname,f);E.origin===g.origin&&C!=null?u=C+E.search+E.hash:v=!0}catch{}let w=qE(u,{relative:o}),h=SC(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:o,viewTransition:d});function p(g){r&&r(g),g.defaultPrevented||h(g)}return S.createElement("a",Ou({},m,{href:y||w,onClick:v||i?r:p,ref:n,target:l}))});var Qf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Qf||(Qf={}));var Kf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Kf||(Kf={}));function SC(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:a}=t===void 0?{}:t,l=YE(),u=zi(),c=tg(e,{relative:s});return S.useCallback(d=>
133{if(mC(d,n)){d.preventDefault();let m=r!==void 0?r:ua(u)===ua(c);l(e,{replace:m,state:o,preventScrollReset:i,relative:s,viewTransition:a})}},[u,l,c,r,o,n,e,i,s,a])}const ig=S.createContext(void 0),sr=()=>{const e=S.useContext(ig);if(!e)throw new Error("useLanguage must be used within a LanguageProvider");return e},EC=({children:e})=>{const[t,n]=S.useState("en"),r=o=>CC[t][o]||o;return x.jsx(ig.Provider,{value:{language:t,setLanguage:n,t:r},children:e})},CC={en:{"nav.activities":"Activities","nav.facilities":"Facilities","nav.timeline":"Timeline","nav.howToEnrol":"How to Enrol","nav.viewAllActivities":"View All Activities","hero.title":"Enrichment Programme","hero.subtitle":"An unparalleled choice of 20+ activities","hero.button":"Explore Activities","intro.title":"Find Your Passion, Develop Your Skills","intro.description":"Our enrichment programme offers 20+ exceptional activities across sports, creative & performing arts, and curriculum enhancement, designed to inspire and challenge every student.","activities.title":"Enrichment Activities","activities.sports":"Sports","activities.creativeArts":"Creative Arts","activities.performingArts":"Performing Arts","activities.curriculumEnhancement":"Curriculum Enhancement","activities.sportsDesc":"+10 premium sports activities","activities.creativeArtsDesc":"Discover our inspiring arts activities","activities.performingArtsDesc":"+5 opportunities to shine","activities.curriculumDesc":"+10 alternative ways to learn","facilities.title":"World-Class Facilities","facilities.description":"Our vibrant 27,000 m² campus is not just a hub for academics, it's also a powerhouse of extracurricular engagement. Students flourish in a diverse array of dedicated facilities including music and art rooms, a ballet studio, a multipurpose hall, two gymnasiums, an astroturf football field, and versatile courts for basketball, tennis, and volleyball.","timings.title":"Important Timings","timings.subtitle":"Key dates for the enrichment programme enrolment process","timings.catalogDate":"29th August","timings.catalog":"Catalog Available","timings.catalogDesc":"Activity catalog is published and available to view","timings.enrolmentOpenDate":"16 March","timings.enrolmentOpen":"Enrolments Open via SOCS","timings.enrolmentOpenDesc":"Registration begins for all enrichment activities.","timings.fairDate":"8th September","timings.fair":"Enrichment Programme Fair","timings.fairDesc":"Students can explore activities and meet teachers","timings.enrolmentCloseDate":"27 March","timings.enrolmentClose":"Enrolments Close via SOCS","timings.enrolmentCloseDesc":"Final deadline for activity selection","timings.cancellationDeadlineDate":"27 March","timings.cancellationDeadline":"Deadline to Request Cancellation from Term 3 Activities","timings.cancellationDeadlineDesc":"If you were enrolled in any activity during Term 2, your enrolment automatically renews for Term 3. If you wish to cancel it, please do so by 27 March.","timings.allocationDate":"15th September","timings.allocation":"SOCS Final Allocation","timings.allocationDesc":"Access SOCS to check which activities you were allocated to","timings.cancellationDate":"17th September","timings.cancellation":"Cancellation Deadline","timings.cancellationDesc":"You must cancel your enrolment before this date","timings.programmeDate":"22nd September","timings.programme":"Activities Begin","timings.programmeDesc":`Official start of enrichment activities, except for clubs. 134 135Clubs activities start on 19th September.`,"enrol.title":"How to Enrol","enrol.subt
135itle":"Follow these simple steps to secure your place in our enrichment activities","enrol.step1":"Read Terms & Conditions","enrol.step1Desc":"Review all program terms and conditions","enrol.step1Button":"Terms & Conditions","enrol.step2":"Enrol in Activities via SOCS","enrol.step2Desc":"Complete your registration through our online system","enrol.step2Button":"Access SOCS","enrol.videoTutorial":"Video Tutorial","enrol.socsInstructions":"SOCS Instructions","activityTypes.title":"Activity Types","activityTypes.subtitle":"Understand the different participation requirements for our activities","activityTypes.openToAll":"Open to All","activityTypes.openToAllDesc":"Activities available to all students regardless of experience level","activityTypes.auditionRequired":"Audition Required","activityTypes.auditionRequiredDesc":"Selective activities requiring assessment or previous experience","activityTypes.inviteOnly":"Invite Only","activityTypes.inviteOnlyDesc":"Exclusive activities for students meeting specific criteria","enrichment.title":"Other Elite Opportunities at CIV","enrichment.description":"Beyond our wide Enrichment Programme, CIV students can also join specialised pathways in sports and music, designed to nurture talent and passion.","enrichment.sports":"The Inspired Sports Programme supports students who aspire to excel as athletes, combining high-level training with academic success and integrating sport into daily school life.","enrichment.music":"The CIV Music Academy bridges vocational and n
135on-vocational music education, offering students the chance to explore different instruments, gain internationally recognised ABRSM certifications, and showcase their talents in school-wide performances.","enrichment.button":"Full Enrichment Programme Brochure","allActivities.title":"Ready to Explore All Activities?","allActivities.description":"Get detailed information about every single activity, including schedules and prices.","allActivities.button":"Check All Activities Details","school.name":"Vilamoura Internacional School","school.description":"Providing world-class education with an unparalleled enrichment programme designed to inspire and challenge every student to reach their full potential.","contact.title":"Get in Touch","contact.description":"Our team is here to help with any questions about the enrichment programme.","contact.email":"Email Us","contact.visit":"Visit Our Website","contact.responseTime":"Response Time","contact.responseTimeDesc":"Within 24 hours during school days","contact.quickLinks":"Quick Links","contact.termsConditions":"Terms & Conditions","contact.callUs":"Call Us","buttons.exploreActivities":"Enrol Now","terms.title":"Terms & Conditions","terms.rule1":"Activities follow the school calendar established for the current academic year.","terms.rule2":"Enrollment (or withdrawal) must be processed through the school's administrative services.","terms.rule3":"The full tuition fee is payable regardless of student attendance, including absences due to participation in other optional school activities.","terms.rule4":"If a teacher is unable to conduct a class, the guardian will be informed and the class will be credited (adjustments will be made at the end of each term).","terms.rule5":"If a student withdraws for any reason, they forfeit any fees already paid for the current term.","terms.rule6":"Families must notify the administrative services in writing of their withdrawal from activities at least one month in advance, with effect in the following term.","terms.rule7":"Fees for subscribed complementary services are non-refundable.","terms.rule8":"Enrollments made during the activity period require approval from the pedagogical direction within two working days.","terms.rule9":"A minimum number of enrollments is required for any scheduled activity to take place.","terms.rule10":"Group formation in ACCs is based on enrollment order, considering age, prior experience in the activity, and schedule availability.","terms.rule11":"Due to the curricular load in the 2nd and 3rd cycles of basic education and equivalent years in English studies, students at these levels may only attend activities after 5:20 PM, and the school cannot guarantee transportation home.","terms.rule12":"Formal communication between guardians and activity teachers must be conducted through the Administrative Services.","terms.rule13":"From preschool to 4th grade inclusive, students are accompanied by a supervisor when moving to activities.","terms.rule14":"Family members are not allowed to enter classrooms or sports areas during activities.","terms.rule15":"Outdoor classes will be replaced by theoretical or practical sessions indoors in case of adverse weather conditions.","terms.rule16":"Image capture during activities is not permitted without authorization from the pedagogical direction.","terms.rule17":"Activity schedules may be subject to change depending on enrollment numbers.","terms.rule18":"Students are covered by school insurance during curricular enrichment activities."},pt:{"nav.activities":"Atividades","nav.facilities":"Instalações","nav.timeline":"Datas","nav.howToEnrol":"Inscrição","nav.viewAllActivities":"Ver Todas as Atividades","hero.title":"Enrichment Programme","hero.subtitle":"Uma escolha incomparável de mais de 20 atividades","hero.button":"Explorar Atividades","intro.title":"Encontre a Sua Paixão, Desenvolva as Suas Competências","intro.description":"O nosso programa oferece mais de 20 atividades premium em desporto, artes criativas e performativas, e enriquecimento curricular, concebidas para inspirar e desafiar cada aluno.","activities.title":"Atividades de Enriquecimento","activities.sports":"Desporto","activities.creativeArts":"Artes Criativas","activities.performingArts":"Artes Performativas","activities.curriculumEnhancement":"Enriquecimento Curricular","activities.sportsDesc":"+10 atividades desportivas premium","activities.creativeArtsDesc":"Descubra as nossas atividades artÃsticas inspiradoras","activities.performingArtsDesc":"+5 oportunidades para brilhar","activities.curriculumDesc":"+10 formas alternativas de aprender","facilities.title":"Instalações de Classe Mundial","facilities.description":"A oferta do CIV vai muito para além da componente curricular. No CIV, os alunos têm acesso a um programa envolvente de atividades extracurriculares, possÃvel graças à s instalções de alto nÃvel do colégio. Estas incluem salas de música e arte, um estúdio de ballet, uma grande sala multiusos, dois ginásios, um campo de futebol de relva sintética e campos polivalentes de basquetebol, ténis e voleibol.","timings.title":"Datas Importantes","timings.subtitle":"Datas-chave para o processo de inscrição no Enrichment Programme","timings.catalogDate":"29 de Agosto","timings.catalog":"Catálogo DisponÃvel","timings.catalogDesc":"Catálogo de atividades é publicado","timings.enrolmentOpenDate":"16 de Março","timings.enrolmentOpen":"Inscrições Abertas via SOCS","timings.enrolmentOpenDesc":"InÃcio das inscrições para todas as atividades.","timings.fairDate":"8 de Setembro","timings.fair":"Feira do Enrichment Programme","timings.fairDesc":"Os alunos podem explorar atividades e conhecer os professores","timings.enrolmentCloseDate":"27 de Março","timings.enrolmentClose":"Encerramento das Inscrições via SOCS","timings.enrolmentCloseDesc":"Prazo final para seleção de atividades","timings.cancellationDeadlineDate":"27 de Março","timings.cancellationDeadline":"Prazo para Cancelar Atividades do 3.º Trimestre","timings.cancellationDeadlineDesc":"Se esteve inscrito em alguma atividade no 2.º trimestre, a sua inscrição renova automaticamente para o 3.º trimestre. Se pretender cancelar, deverá fazê-lo até 27 de março.","t
135imings.allocationDate":"15 de Setembro","timings.allocation":"Alocação Final SOCS","timings.allocationDesc":"Aceda ao SOCS para verificar a que atividades foi alocado","timings.cancellationDate":"17 de Setembro","timings.cancellation":"Prazo de Cancelamento","timings.cancellationDesc":"Deve cancelar a sua inscrição antes desta data","timings.programmeDate":"22 de Setembro","timings.programme":"InÃcio das Atividades","timings.programmeDesc":`InÃcio oficial das atividades, exceto para clubes. 136 137As atividades dos clubes começam no dia 19 de setembro.`,"enrol.title":"Passos Inscrição","enrol.subtitle":"Siga estes passos para garantir o seu lugar nas atividades","enrol.step1":"Ler Termos e Condições","enrol.step1Desc":"Reveja todos os termos e condições do programa","enrol.step1Button":"Termos e Condições","enrol.step2":"Inscrever-se nas Atividades via SOCS","enrol.step2Desc":"Complete o seu registo através do nosso sistema online","enrol.step2Button":"Aceder ao SOCS","enrol.videoTutorial":"Tutorial em VÃdeo","enrol.socsInstructions":"Instruções SOCS","activityTypes.title":"Tipos de Atividades","activityTypes.subtitle":"Algumas atividades têm requisitos de participação especÃficos","activityTypes.openToAll":"Abertas a Todos","activityTypes.openToAllDesc":"Atividades disponÃveis para todos os alunos independentemente do nÃvel de experiência","activityTypes.auditionRequired":"Audição Necessária","activityTypes.auditionRequiredDesc":"Atividades seletivas que requerem avaliação ou experiência prévia","activityTypes.inviteOnly":"Apenas por Convite","activityTypes.inviteOnlyDesc":"Atividades exclusivas para alunos que cumprem critérios especÃficos","enrichment.title":"Outras Oportunidades de Elite no CIV","enrichment.description":"Para além do nosso vasto Enrichment Programme, os alunos do CIV podem também integrar programas especializados em desporto e música, criados para percursos de alta performance.","enrichment.sports":"O Inspired Sports Programme apoia os alunos que querem tornar-se atletas, integrando treino de alto nÃvel com acompanhamento académico.","enrichment.music":"O CIV Music Academy estabelece a ligação entre a educação musical vocacional e não vocacional, oferecendo aos alunos a oportunidade de explorar diferentes instrumentos, obter certificações internacionais reconhecidas pela ABRSM e apresentar o seu talento em atuações a nÃvel escolar.","enrichment.button":"Brochura Completa Enrichment Programme","allActivities.title":"Pronto para explorar todas as atividades?","allActivities.description":"Obtenha informação detalhada sobre cada atividade, incluindo horários e preços.","allActivities.button":"Ver detalhes das atividades","school.name":"Colégio Internacional de Vilamoura","school.description":"Proporcionamos uma educação de classe mundial e um Enrichment Programme concebido para inspirar e desafiar cada aluno a atingir o seu potencial máximo.","contact.title":"Contacte-nos","contact.description":"A nossa equipa está disponÃvel para ajudar com qualquer questão sobre o Enrichment Programme.","contact.email":"Envie-nos um Email","contact.visit":"Visite o Nosso Website","contact.responseTime":"Tempo de Resposta","contact.responseTimeDesc":"Dentro de 24 horas durante dias úteis","contact.quickLinks":"Links Rápidos","contact.termsConditions":"Termos e Condições","contact.callUs":"Ligue-nos","buttons.exploreActivities":"Enrol Now","terms.title":"Termos e Condições","terms.rule1":"Funcionamento de acordo com o calendário escolar dos alunos estabelecido para o presente ano letivo.","terms.rule2":"A inscrição (ou desistência) é feita nos serviços administrativos do colégio.","terms.rule3":"A propina de frequência é paga na totalidade independentemente da falta de assiduidade dos alunos, incluindo a ausência motivada pela sua participação noutras atividades escolares facultativas.","terms.rule4":"Sempre que o(a) docente esteja impossibilitado(a) de lecionar uma determinada aula, o EE será informado e a aula será creditada (os acertos serão feitos no final de ca
137da trimestre).","terms.rule5":"Quando, por qualquer motivo, o aluno desista da frequência, perderá o direito à s importâncias já pagas até o final do trimestre em curso.","terms.rule6":"Os serviços administrativos devem ser avisados, por escrito, da desistência da subscrição da atividade pelas famÃlias, com mês de antecedência e com efeito no trimestre seguinte.","terms.rule7":"Os valores dos serviços complementares subscritos não são reembolsáveis.","terms.rule8":"As inscrições efetuadas durante o perÃodo de funcionamento das atividades requerem a emissão de um parecer da direção pedagógica nos dois dias úteis posteriores.","terms.rule9":"Para que funcione qualquer atividade programada, exige-se um número mÃnimo de inscrições.","terms.rule10":"A constituição dos grupos nas ACC é efetuada por ordem de inscrição, tendo em conta a idade, a experiência anterior do aluno na atividade e a disponibilidade de horário.","terms.rule11":"Em virtude da carga horária curricular verificada nos 2.º e 3.º ciclos do ensino básico e nos anos correspondentes dos estudos ingleses, os alunos que frequentam estes nÃveis de ensino e pretendam frequentar alguma(s) atividade(s), podem fazê-lo a partir das 17:20 horas, pelo que o colégio não lhes poderá garantir transporte de regresso a casa.","terms.rule12":"Os contactos formais dos E.E. com os professores responsáveis pelas atividades deverão ser efetuados através dos Serviços Administrativos.","terms.rule13":"Do pré-escolar ao 4º ano, inclusive, os alunos são acompanhados por um vigilante nas deslocações à s atividades.","terms.rule14":"Não é permitida a entrada dos familiares nas aulas, nem nos espaços desportivos durante o decorrer das atividades.","terms.rule15":"As aulas que decorrem no exterior, no caso de condições climatéricas desfavoráveis, serão lecionadas aulas teóricas ou práticas em espaço coberto disponÃvel.","terms.rule16":"Durante as atividades, não é permitida a captação de imagens sem a autorização da direção pedagógica.","terms.rule17":"O horário de atividades poderá sofrer alterações em função das inscrições.","terms.rule18":"Durante as atividades de complemento curricular, os alunos estão cobertos pelo seguro escolar."}},bC=Gh("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ft=S.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?G0:"button";return x.jsx(s,{className:Re(bC({variant:t,size:n,className:e})),ref:i,...o})});Ft.displayName="Button";const kC=()=>{const[e,t]=S.useState(!1),[n,r]=S.useState(!1),{language:o,setLanguage:i,t:s}=sr();S.useEffect(()=>{const l=()=>{t(window.scrollY>50)};return window.addEventListener("scroll",l),()=>window.removeEventListener("scroll",l)},[]);const a=l=>{const u=document.getElementById(l);if(u){const d=u.getBoundingClientRect().top+window.scrollY-88;window.scrollTo({top:d,behavior:"smooth"}),r(!1)}};return x.jsx("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-white/90 backdrop-blur-sm shadow-md":"bg-white"}`,children:x.jsxs("div",{className:"container mx-auto px-6 py-4",children:[x.jsxs("div",{className:"flex items-center justify-between",children:[x.jsx("div",{className:"flex-shrink-0",children:x.jsx("a",{href:"https://www.civ.pt/en",target:"_blank",rel:"noopener noreferrer",children:x.jsx("img",{src:"/lovable-uploads/8a7e2313-5fa0-44d5-915c-57d92cf81839.png",alt:"Colégio Internacional de Vilamoura",className:"h-12 md:h-16"})})}),x.jsxs("div",{className:"hidden md:flex items-center gap-6",children:[x.jsx("button",{onClick:()=>a("activities"),className:"text-sm font-inter font-medium transition-colors duration-200 hover:opacity-70 text-primary",children:s("nav.activities")}),x.jsx("button",{onClick:()=>a("facilities"),className:"text-sm font-inter font-medium transition-colors duration-200 hover:opacity-70 text-primary",children:s("nav.facilities")}),x.jsx("button",{onClick:()=>a("timeline"),className:"text-sm font-inter font-medium transition-colors duration-200 hover:opacity-70 text-primary",children:s("nav.timeline")}),x.jsx("button",{onClick:()=>a("enrol"),className:"text-sm font-inter font-medium transition-colors duration-200 hover:opacity-70 text-primary",children:s("nav.howToEnrol")}),x.jsxs("div",{className:"flex items-center border border-gray-300 rounded-md overflow-hidden",children:[x.jsx("button",{onClick:()=>i("en"),className:`px-3 py-1 text-xs font-inter font-medium transition-colors duration-200 ${o==="en"?"bg-brand-navy text-white":"bg-white text-brand-navy hover:bg-gray-50"}`,children:"EN"}),x.jsx("button",{onClick:()=>i("pt"),className:`px-3 py-1 text-xs font-inter font-medium transition-colors duration-200 ${o==="pt"?"bg-brand-navy text-white":"bg-white text-brand-navy hover:bg-gray-50"}`,children:"PT"})]}),x.jsx(Ft,{asChild:!0,size:"sm",className:"text-white font-inter font-medium px-4 py-2 bg-primary text-xs",children:x.jsx("a",{href:"https://www.socscms.com/login/31357",target:"_blank",rel:"noopener noreferrer",children:s("buttons.exploreActivities")})})]}),x.jsx("button",{onClick:()=>r(!n),className:"md:hidden p-2 text-primary",children:n?x.jsx(Jh,{className:"h-6 w-6"}):x.jsx(Yx,{className:"h-6 w-6"})})]}),n&&x.jsx("div",{className:"md:hidden mt-4 py-4 border-t border-gray-200 bg-white",children:x.jsxs("div",{className:"flex flex-col space-y-4",children:[x.jsx(Ft,{asChild:!0,className:"w-full text-white font-inter font-semibold bg-primary hover:bg-primary/90 py-3 text-base",children:x.jsx("a",{href:"https://www.socscms.com/login/31357",target:"_blank",rel:"noopener noreferrer",onClick:()=>r(!1),children:s("buttons.exploreActivities")})}),x.jsx("button",{onClick:()=>a("activities"),className:"text-left text-sm font-inter font-medium transition-colors duration-200 hover:opacity-70 text-primary py-2",children:s("nav.activities")}),x.jsx("button",{onClick:()=>a("facilities"),className:"text-left text-sm font-inter font-medium transition-colors duration-200 hover:opacity-70 text-primary py-2",children:s("nav.facilities")}),x.jsx("button",{onClick:()=>a("timeline"),className:"text-left text-sm font-inter font-medium transition-colors duration-200 hover:opacity-70 text-primary py-2",children:s("nav.timeline")}),x.jsx("button",{onClick:()=>a("enrol"),className:"text-left text-sm font-inter font-medium transition-colors duration-200 hover:opacity-70 text-primary py-2",children:s("nav.howToEnrol")}),x.jsxs("div",{className:"flex items-center border border-gray-300 rounded-md overflow-hidden w-fit",children:[x.jsx("button",{onClick:()=>i("en"),className:`px-3 py-1 text-xs font-inter font-medium transition-colors duration-200 ${o==="en"?"bg-brand-navy text-white":"bg-white text-brand-navy hover:bg-gray-50"}`,children:"EN"}),x.jsx("button",{onClick:()=>i("pt"),className:`px-3 py-1 text-xs font-inter font-medium transition-colors duration-200 ${o==="pt"?"bg-brand-navy text-white":"bg-white text-brand-navy hover:bg-gray-50"}`,children:"PT"})]})]})})]})})},PC="/assets/hero-tennis-clean-shirt-BQNs4FjQ.jpg",TC=()=>{const{t:e}=sr();return x.jsxs("section",{className:"relative h-screen flex items-center justify-center overflow-hidden",children:[x.jsx("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:`url(${PC})`},children:x.jsx("div",{className:"absolute inset-0 bg-black/40"})}),x.jsxs("div",{className:"relative z-10 text-center text-white max-w-4xl mx-auto px-4 sm:px-6",children:[x.jsx("h1",{className:"font-inter text-3xl sm:text-4xl md:text-6xl lg:text-7xl font-bold mb-4 sm:mb-6 leading-tight",children:e("hero.title")}),x.jsx("p",{className:"text-lg sm:text-xl md:text-2xl font-inter font-light mb-6 sm:mb-8 leading-relaxed px-2",children:e("hero.subtitle")}),x.jsx("div",{className:"flex justify-center",children:x.jsx(Ft,{asChild:!0,size:"lg",className:"text-white font-inter font-semibold px-8 py-4 text-lg bg-primary border-primary hover:bg-primary/90",children:x.jsx("a",{href:"https://www.socscms.com/login/31357",target:"_blank",rel:"noopener noreferrer",children:e("buttons.exploreActivities")})})})]})]})},NC=()=>{const{t:e}=sr();return x.jsx("section",{className:"pt-20 pb-4 bg-background",children:x.jsxs("div",{className:"container mx-auto px-6 max-w-4xl text-center",children:[x.jsx("h2",{className:"font-inter text-4xl md:text-5xl font-bold text-brand-navy mb-8",children:e("intro.title")}),x.jsx("div",{className:"space-y-6 text-lg font-inter leading-relaxed text-foreground",children:x.jsx("p",{children:e("intro.description")})})]})})},RC=()=>x.jsx("section",{className:"pt-4 pb-16 bg-background",children:x.jsx("div",{className:"container mx-auto px-6",children:x.jsx("div",{className:"max-w-7xl mx-auto",children:x.jsx("div",{className:"w-full rounded-lg overflow-hidden shadow-lg border border-border",children:x.jsx("iframe",{className:"airtable-embed",src:"https://airtable.com/embed/appBgLFpzP7wcj7mt/shrJKD5V6AVYEzt4W",frameBorder:"0",width:"100%",height:"700",style:{background:"transparent"},title:"Activities Catalogue"})})})})});function AC(e){return Object.prototype.toString.call(e)==="[object Object]"}function qf(e){return AC(e)||Array.isArray(e)}function jC(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function qc(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const o=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return o!==i?!1:n.every(s=>{const a=e[s],l=t[s];return typeof a=="function"?`${a}`==`${l}`:!qf(a)||!qf(l)?a===l:qc(a,l)})}function Yf(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function OC(e,t){if(e.length!==t.length)return!1;const n=Yf(e),r=Yf(t);return n.every((o,i)=>{const s=r[i];return qc(o,s)})}function Yc(e){return typeof e=="number"}function Lu(e){return typeof e=="string"}function za(e){return typeof e=="boolean"}function Gf(e){return Object.prototype.toString.call(e)==="[object Object]"}function me(e){return Math.abs(e)}function Gc(e){return Math.sign(e)}
vendor: 18,288 bytes, line 137
137function ti(e,t){return me(e-t)}function LC(e,t){if(e===0||t===0||me(e)<=me(t))return 0;const n=ti(me(e),me(t));return me(n/e)}function _C(e){return Math.round(e*100)/100}function ki(e){return Pi(e).map(Number)}function zt(e){return e[$i(e)]}function $i(e){return Math.max(0,e.length-1)}function Xc(e,t){return t===$i(e)}function Xf(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Pi(e){return Object.keys(e)}function sg(e,t){return[e,t].reduce((n,r)=>(Pi(r).forEach(o=>{const i=n[o],s=r[o],a=Gf(i)&&Gf(s);n[o]=a?sg(i,s):s}),n),{})}function _u(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function DC(e,t){const n={start:r,center:o,end:i};function r(){return 0}function o(l){return i(l)/2}function i(l){return t-l}function s(l,u){return Lu(e)?n[e](l):e(t,l,u)}return{measure:s}}function Ti(){let e=[];function t(o,i,s,a={passive:!0}){let l;if("addEventListener"in o)o.addEventListener(i,s,a),l=()=>o.removeEventListener(i,s,a);else{const u=o;u.addListener(s),l=()=>u.removeListener(s)}return e.push(l),r}function n(){e=e.filter(o=>o())}const r={add:t,clear:n};return r}function MC(e,t,n,r){const o=Ti(),i=1e3/60;let s=null,a=0,l=0;function u(){o.add(e,"visibilitychange",()=>{e.hidden&&y()})}function c(){f(),o.clear()}function d(w){if(!l)return;s||(s=w,n(),n());const h=w-s;for(s=w,a+=h;a>=i;)n(),a-=i;const p=a/i;r(p),l&&(l=t.requestAnimationFrame(d))}function m(){l||(l=t.requestAnimationFrame(d))}function f(){t.cancelAnimationFrame(l),s=null,a=0,l=0}function y(){s=null,a=0}return{init:u,destroy:c,start:m,stop:f,update:n,render:r}}function IC(e,t){const n=t==="rtl",r=e==="y",o=r?"y":"x",i=r?"x":"y",s=!r&&n?-1:1,a=c(),l=d();function u(y){const{height:v,width:w}=y;return r?v:w}function c(){return r?"top":n?"right":"left"}function d(){return r?"bottom":n?"left":"right"}function m(y){return y*s}return{scroll:o,cross:i,startEdge:a,endEdge:l,measureSize:u,direction:m}}function Tr(e=0,t=0){const n=me(e-t);function r(u){return u<e}function o(u){return u>t}function i(u){return r(u)||o(u)}function s(u){return i(u)?r(u)?e:t:u}function a(u){return n?u-n*Math.ceil((u-t)/n):u}return{length:n,max:t,min:e,constrain:s,reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:a}}function ag(e,t,n){const{constrain:r}=Tr(0,e),o=e+1;let i=s(t);function s(m){return n?me((o+m)%o):r(m)}function a(){return i}function l(m){return i=s(m),d}function u(m){return c().set(a()+m)}function c(){return ag(e,a(),n)}const d={get:a,set:l,add:u,clone:c};return d}function FC(e,t,n,r,o,i,s,a,l,u,c,d,m,f,y,v,w,h,p){const{cross:g,direction:E}=e,C=["INPUT","SELECT","TEXTAREA"],k={passive:!1},b=Ti(),P=Ti(),A=Tr(50,225).constrain(f.measure(20)),j={mouse:300,touch:400},I={mouse:500,touch:600},D=y?43:25;let H=!1,_=0,W=0,B=!1,V=!1,T=!1,R=!1;function M(z){if(!p)return;function J(ke){(za(p)||p(z,ke))&&ge(ke)}const le=t;b.add(le,"dragstart",ke=>ke.preventDefault(),k).add(le,"touchmove",()=>{},k).add(le,"touchend",()=>{}).add(le,"touchstart",J).add(le,"mousedown",J).add(le,"touchcancel",ye).add(le,"contextmenu",ye).add(le,"click",Ae,!0)}function U(){b.clear(),P.clear()}function $(){const z=R?n:t;P.add(z,"touchmove",Y,k).add(z,"touchend",ye).add(z,"mousemove",Y,k).add(z,"mouseup",ye)}function q(z){const J=z.nodeName||"";return C.includes(J)}function Q(){return(y?I:j)[R?"mouse":"touch"]}function ie(z,J){const le=d.add(Gc(z)*-1),ke=c.byDistance(z,!y).distance;return y||me(z)<A?ke:w&&J?ke*.5:c.byIndex(le.get(),0).distance}function ge(z){const J=_u(z,r);R=J,T=y&&J&&!z.buttons&&H,H=ti(o.get(),s.get())>=2,!(J&&z.button!==0)&&(q(z.target)||(B=!0,i.pointerDown(z),u.useFriction(0).useDuration(0),o.set(s),$(),_=i.readPoint(z),W=i.readPoint(z,g),m.emit("pointerDown")))}function Y(z){if(!_u(z,r)&&z.touches.length>=2)return ye(z);const le=i.readPoint(z),ke=i.readPoint(z,g),Ue=ti(le,_),ot=ti(ke,W);if(!V&&!R&&(!z.cancelable||(V=Ue>ot,!V)))return ye(z);const it=i.pointerMove(z);Ue>v&&(T=!0),u.useFriction(.3).useDuration(.75),a.start(),o.add(E(it)),z.preventDefault()}function ye(z){const le=c.byDistance(0,!1).index!==d.get(),ke=i.pointerUp(z)*Q(),Ue=ie(E(ke),le),ot=LC(ke,Ue),it=D-10*ot,Ve=h+ot/50;V=!1,B=!1,P.clear(),u.useDuration(it).useFriction(Ve),l.distance(Ue,!y),R=!1,m.emit("pointerUp")}function Ae(z){T&&(z.stopPropagation(),z.preventDefault(),T=!1)}function Ee(){return B}return{init:M,destroy:U,pointerDown:Ee}}function zC(e,t){let r,o;function i(d){return d.timeStamp}function s(d,m){const y=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(_u(d,t)?d:d.touches[0])[y]}function a(d){return r=d,o=d,s(d)}function l(d){const m=s(d)-s(o),f=i(d)-i(r)>170;return o=d,f&&(r=d),m}function u(d){if(!r||!o)return 0;const m=s(o)-s(r),f=i(d)-i(r),y=i(d)-i(o)>170,v=m/f;return f&&!y&&me(v)>.1?v:0}return{pointerDown:a,pointerMove:l,pointerUp:u,readPoint:s}}function $C(){function e(n){const{offsetTop:r,offsetLeft:o,offsetWidth:i,offsetHeight:s}=n;return{top:r,right:o+i,bottom:r+s,left:o,width:i,height:s}}return{measure:e}}function BC(e){function t(r){return e*(r/100)}return{measure:t}}function UC(e,t,n,r,o,i,s){const a=[e].concat(r);let l,u,c=[],d=!1;function m(w){return o.measureSize(s.measure(w))}function f(w){if(!i)return;u=m(e),c=r.map(m);function h(p){for(const g of p){if(d)return;const E=g.target===e,C=r.indexOf(g.target),k=E?u:c[C],b=m(E?e:r[C]);if(me(b-k)>=.5){w.reInit(),t.emit("resize");break}}}l=new ResizeObserver(p=>{(za(i)||i(w,p))&&h(p)}),n.requestAnimationFrame(()=>{a.forEach(p=>l.observe(p))})}function y(){d=!0,l&&l.disconnect()}return{init:f,destroy:y}}function VC(e,t,n,r,o,i){let s=0,a=0,l=o,u=i,c=e.get(),d=0;function m(){const k=r.get()-e.get(),b=!l;let P=0;return b?(s=0,n.set(r),e.set(r),P=k):(n.set(e),s+=k/l,s*=u,c+=s,e.add(s),P=c-d),a=Gc(P),d=c,C}function f(){const k=r.get()-t.get();return me(k)<.001}function y(){return l}function v(){return a}function w(){return s}function h(){return g(o)}function p(){return E(i)}function g(k){return l=k,C}function E(k){return u=k,C}const C={direction:v,duration:y,velocity:w,seek:m,settled:f,useBaseFriction:p,useBaseDuration:h,useFriction:E,useDuration:g};return C}function HC(e,t,n,r,o){const i=o.measure(10),s=o.measure(50),a=Tr(.1,.99);let l=!1;function u(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function c(f){if(!u())return;const y=e.reachedMin(t.get())?"min":"max",v=me(e[y]-t.get()),w=n.get()-t.get(),h=a.constrain(v/s);n.subtract(w*h),!f&&me(w)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function d(f){l=!f}return{shouldConstrain:u,constrain:c,toggleActive:d}}function WC(e,t,n,r,o){const i=Tr(-t+e,0),s=d(),a=c(),l=m();function u(y,v){return ti(y,v)<=1}function c(){const y=s[0],v=zt(s),w=s.lastIndexOf(y),h=s.indexOf(v)+1;return Tr(w,h)}function d(){return n.map((y,v)=>{const{min:w,max:h}=i,p=i.constrain(y),g=!v,E=Xc(n,v);return g?h:E||u(w,p)?w:u(h,p)?h:p}).map(y=>parseFloat(y.toFixed(3)))}function m(){if(t<=e+o)return[i.max];if(r==="keepSnaps")return s;const{min:y,max:v}=a;return s.slice(y,v)}return{snapsContained:l,scrollContainLimit:a}}function QC(e,t,n){const r=t[0],o=n?r-e:zt(t);return{limit:Tr(o,r)}}function KC(e,t,n,r){const i=t.min+.1,s=t.max+.1,{reachedMin:a,reachedMax:l}=Tr(i,s);function u(m){return m===1?l(n.get()):m===-1?a(n.get()):!1}function c(m){if(!u(m))return;const f=e*(m*-1);r.forEach(y=>y.add(f))}return{loop:c}}function qC(e){const{max:t,length:n}=e;function r(i){const s=i-t;return n?s/-n:0}return{get:r}}function YC(e,t,n,r,o){const{startEdge:i,endEdge:s}=e,{groupSlides:a}=o,l=d().map(t.measure),u=m(),c=f();function d(){return a(r).map(v=>zt(v)[s]-v[0][i]).map(me)}function m(){return r.map(v=>n[i]-v[i]).map(v=>-me(v))}function f(){return a(u).map(v=>v[0]).map((v,w)=>v+l[w])}return{snaps:u,snapsAligned:c}}function GC(e,t,n,r,o,i){const{groupSlides:s}=o,{min:a,max:l}=r,u=c();function c(){const m=s(i),f=!e||t==="keepSnaps";return n.length===1?[i]:f?m:m.slice(a,l).map((y,v,w)=>{const h=!v,p=Xc(w,v);if(h){const g=zt(w[0])+1;return Xf(g)}if(p){const g=$i(i)-zt(w)[0]+1;return Xf(g,zt(w)[0])}return y})}return{slideRegistry:u}}function XC(e,t,n,r,o){const{reachedAny:i,removeOffset:s,constrain:a}=r;function l(y){return y.concat().sort((v,w)=>me(v)-me(w))[0]}function u(y){const v=e?s(y):a(y),w=t.map((p,g)=>({diff:c(p-v,0),index:g})).sort((p,g)=>me(p.diff)-me(g.diff)),{index:h}=w[0];return{index:h,distance:v}}function c(y,v){const w=[y,y+n,y-n];if(!e)return y;if(!v)return l(w);const h=w.filter(p=>Gc(p)===v);return h.length?l(h):zt(w)-n}function d(y,v){const w=t[y]-o.get(),h=c(w,v);return{index:y,distance:h}}function m(y,v){const w=o.get()+y,{index:h,distance:p}=u(w),g=!e&&i(w);if(!v||g)return{index:h,distance:y};const E=t[h]-p,C=y+c(E,0);return{index:h,distance:C}}return{byDistance:m,byIndex:d,shortcut:c}}function ZC(e,t,n,r,o,i,s){function a(d){const m=d.distance,f=d.index!==t.get();i.add(m),m&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),f&&(n.set(t.get()),t.set(d.index),s.emit("select"))}function l(d,m){const f=o.byDistance(d,m);a(f)}function u(d,m){const f=t.clone().set(d),y=o.byIndex(f.get(),m);a(y)}return{distance:l,index:u}}function JC(e,t,n,r,o,i,s,a){const l={passive:!0,capture:!0};let u=0;function c(f){if(!a)return;function y(v){if(new Date().getTime()-u>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;const p=n.findIndex(g=>g.includes(v));Yc(p)&&(o.useDuration(0),r.index(p,0),s.emit("slideFocus"))}i.add(document,"keydown",d,!1),t.forEach((v,w)=>{i.add(v,"focus",h=>{(za(a)||a(f,h))&&y(w)},l)})}function d(f){f.code==="Tab"&&(u=new Date().getTime())}return{init:c}}function Ho(e){let t=e;function n(){return t}function r(l){t=s(l)}function o(l){t+=s(l)}function i(l){t-=s(l)}function s(l){return Yc(l)?l:l.get()}return{get:n,set:r,add:o,subtract:i}}function lg(e,t){const n=e.scroll==="x"?s:a,r=t.style;let o=null,i=!1;function s(m){return`translate3d(${m}px,0px,0px)`}function a(m){return`translate3d(0px,${m}px,0px)`}function l(m){if(i)return;const f=_C(e.direction(m));f!==o&&(r.transform=n(f),o=f)}function u(m){i=!m}function c(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:c,to:l,toggleActive:u}}function eb(e,t,n,r,o,i,s,a,l){const c=ki(o),d=ki(o).reverse(),m=h().concat(p());function f(b,P){return b.reduce((A,j)=>A-o[j],P)}function y(b,P){return b.reduce((A,j)=>f(A,P)>0?A.concat([j]):A,[])}function v(b){return i.map((P,A)=>({start:P-r[A]+.5+b,end:P+t-.5+b}))}function w(b,P,A){const j=v(P);return b.map(I=>{const D=A?0:-n,H=A?n:0,_=A?"end":"start",W=j[I][_];return{index:I,loopPoint:W,slideLocation:Ho(-1),translate:lg(e,l[I]),target:()=>a.get()>W?D:H}})}function h(){const b=s[0],P=y(d,b);return w(P,n,!1)}function p(){const b=t-s[0]-1,P=y(c,b);return w(P,-n,!0)}function g(){return m.every(({index:b})=>{const P=c.filter(A=>A!==b);return f(P,t)<=.1})}function E(){m.forEach(b=>{const{target:P,translate:A,slideLocation:j}=b,I=P();I!==j.get()&&(A.to(I),j.set(I))})}function C(){m.forEach(b=>b.translate.clear())}return{canLoop:g,clear:C,loop:E,loopPoints:m}}function tb(e,t,n){let r,o=!1;function i(l){if(!n)return;function u(c){for(const d of c)if(d.type==="childList"){l.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(c=>{o||(za(n)||n(l,c))&&u(c)}),r.observe(e,{childList:!0})}function s(){r&&r.disconnect(),o=!0}return{init:i,destroy:s}}function nb(e,t,n,r){const o={};let i=null,s=null,a,l=!1;function u(){a=new IntersectionObserver(y=>{l||(y.forEach(v=>{const w=t.indexOf(v.target);o[w]=v}),i=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(y=>a.observe(y))}function c(){a&&a.disconnect(),l=!0}function d(y){return Pi(o).reduce((v,w)=>{const h=parseInt(w),{isIntersecting:p}=o[h];return(y&&p||!y&&!p)&&v.push(h),v},[])}function m(y=!0){if(y&&i)return i;if(!y&&s)return s;const v=d(y);return y&&(i=v),y||(s=v),v}return{init:u,destroy:c,get:m}}function rb(e,t,n,r,o,i){const{measureSize:s,startEdge:a,endEdge:l}=e,u=n[0]&&o,c=y(),d=v(),m=n.map(s),f=w();function y(){if(!u)return 0;const p=n[0];return me(t[a]-p[a])}function v(){if(!u)return 0;const p=i.getComputedStyle(zt(r));return parseFloat(p.getPropertyValue(`margin-${l}`))}function w(){return n.map((p,g,E)=>{const C=!g,k=Xc(E,g);return C?m[g]+c:k?m[g]+d:E[g+1][a]-p[a]}).map(me)}return{slideSizes:m,slideSizesWithGaps:f,startGap:c,endGap:d}}function ob(e,t,n,r,o,i,s,a,l){const{startEdge:u,endEdge:c,direction:d}=e,m=Yc(n);function f(h,p){return ki(h).filter(g=>g%p===0).map(g=>h.slice(g,g+p))}function y(h){return h.length?ki(h).reduce((p,g,E)=>{const C=zt(p)||0,k=C===0,b=g===$i(h),P=o[u]-i[C][u],A=o[u]-i[g][c],j=!r&&k?d(s):0,I=!r&&b?d(a):0,D=me(A-I-(P+j));return E&&D>t+l&&p.push(g),b&&p.push(h.length),p},[]).map((p,g,E)=>{const C=Math.max(E[g-1]||0);return h.slice(C,p)}):[]}function v(h){return m?f(h,n):y(h)}return{groupSlides:v}}function ib(e,t,n,r,o,i,s){const{align:a,axis:l,direction:u,startIndex:c,loop:d,duration:m,dragFree:f,dragThreshold:y,inViewThreshold:v,slidesToScroll:w,skipSnaps:h,containScroll:p,watchResize:g,watchSlides:E,watchDrag:C,watchFocus:k}=i,b=2,P=$C(),A=P.measure(t),j=n.map(P.measure),I=IC(l,u),D=I.measureSize(A),H=BC(D),_=DC(a,D),W=!d&&!!p,B=d||!!p,{slideSizes:V,slideSizesWithGaps:T,startGap:R,endGap:M}=rb(I,A,j,n,B,o),U=ob(I,D,w,d,A,j,R,M,b),{snaps:$,snapsAligned:q}=YC(I,_,A,j,U),Q=-zt($)+zt(T),{snapsContained:ie,scrollContainLimit:ge}=WC(D,Q,q,p,b),Y=W?ie:q,{limit:ye}=QC(Q,Y,d),Ae=ag($i(Y),c,d),Ee=Ae.clone(),te=ki(n),z=({dragHandler:Ct,scrollBody:No,scrollBounds:Lr,options:{loop:Sn}})=>{Sn||Lr.constrain(Ct.pointerDown()),No.seek()},J=({scrollBody:Ct,translate:No,location:Lr,offsetLocation:Sn,previousLocation:En,scrollLooper:Wi,slideLooper:Cn,dragHandler:Ua,animation:Va,eventHandler:Ro,scrollBounds:Qi,options:{loop:Ki}},_r)=>{const bt=Ct.settled(),Ha=!Qi.shouldConstrain(),K=Ki?bt:bt&&Ha,re=K&&!Ua.pointerDown();re&&Va.stop();const se=Lr.get()*_r+En.get()*(1-_r);Sn.set(se),Ki&&(Wi.loop(Ct.direction()),Cn.loop()),No.to(Sn.get()),re&&Ro.emit("settle"),K||Ro.emit("scroll")},le=MC(r,o,()=>z(To),Ct=>J(To,Ct)),ke=.68,Ue=Y[Ae.get()],ot=Ho(Ue),it=Ho(Ue),Ve=Ho(Ue),Ht=Ho(Ue),St=VC(ot,Ve,it,Ht,m,ke),Or=XC(d,Y,Q,ye,Ht),Et=ZC(le,Ae,Ee,St,Or,Ht,s),Vi=qC(ye),Hi=Ti(),Ge=nb(t,n,s,v),{slideRegistry:rn}=GC(W,p,Y,ge,U,te),Ba=JC(e,n,rn,Et,St,Hi,s,k),To={ownerDocument:r,ownerWindow:o,eventHandler:s,containerRect:A,slideRects:j,animation:le,axis:I,dragHandler:FC(I,e,r,o,Ht,zC(I,o),ot,le,Et,St,Or,Ae,s,H,f,y,h,ke,C),eventStore:Hi,percentOfView:H,index:Ae,indexPrevious:Ee,limit:ye,location:ot,offsetLocation:Ve,previousLocation:it,options:i,resizeHandler:UC(t,s,o,n,I,g,P),scrollBody:St,scrollBounds:HC(ye,Ve,Ht,St,H),scrollLooper:KC(Q,ye,Ve,[ot,Ve,it,Ht]),scrollProgress:Vi,scrollSnapList:Y.map(Vi.get),scrollSnaps:Y,scrollTarget:Or,scrollTo:Et,slideLooper:eb(I,D,Q,V,T,$,Y,Ve,n),slideFocus:Ba,slidesHandler:tb(t,s,E),slidesInView:Ge,slideIndexes:te,slideRegistry:rn,slidesToScroll:U,target:Ht,translate:lg(I,t)};return To}function sb(){let e={},t;function n(u){t=u}function r(u){return e[u]||[]}function o(u){return r(u).forEach(c=>c(t,u)),l}function i(u,c){return e[u]=r(u).concat([c]),l}function s(u,c){return e[u]=r(u).filter(d=>d!==c),l}function a(){e={}}const l={init:n,emit:o,off:s,on:i,clear:a};return l}const ab={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function lb(e){function t(i,s){return sg(i,s||{})}function n(i){const s=i.breakpoints||{},a=Pi(s).filter(l=>e.matchMedia(l).matches).map(l=>s[l]).reduce((l,u)=>t(l,u),{});return t(i,a)}function r(i){return i.map(s=>Pi(s.breakpoints||{})).reduce((s,a)=>s.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function ub(e){let t=[];function n(i,s){return t=s.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(i,e)),s.reduce((a,l)=>Object.assign(a,{[l.name]:l}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function da(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=lb(o),s=ub(i),a=Ti(),l=sb(),{mergeOptions:u,optionsAtMedia:c,optionsMediaQueries:d}=i,{on:m,off:f,emit:y}=l,v=I;let w=!1,h,p=u(ab,da.globalOptions),g=u(p),E=[],C,k,b;function P(){const{container:te,slides:z}=g;k=(Lu(te)?e.querySelector(te):te)||e.children[0];const le=Lu(z)?k.querySelectorAll(z):z;b=[].slice.call(le||k.children)}function A(te){const z=ib(e,k,b,r,o,te,l);if(te.loop&&!z.slideLooper.canLoop()){const J=Object.assign({},te,{loop:!1});return A(J)}return z}function j(te,z){w||(p=u(p,te),g=c(p),E=z||E,P(),h=A(g),d([p,...E.map(({options:J})=>J)]).forEach(J=>a.add(J,"change",I)),g.active&&(h.translate.to(h.location.get()),h.animation.init(),h.slidesInView.init(),h.slideFocus.init(Ee),h.eventHandler.init(Ee),h.resizeHandler.init(Ee),h.slidesHandler.init(Ee),h.options.loop&&h.slideLooper.loop(),k.offsetParent&&b.length&&h.dragHandler.init(Ee),C=s.init(Ee,E)))}function I(te,z){const J=U();D(),j(u({startIndex:J},te),z),l.emit("reInit")}function D(){h.dragHandler.destroy(),h.eventStore.clear(),h.translate.clear(),h.slideLooper.clear(),h.resizeHandler.destroy(),h.slidesHandler.destroy(),h.slidesInView.destroy(),h.animation.destroy(),s.destroy(),a.clear()}function H(){w||(w=!0,a.clear(),D(),l.emit("destroy"),l.clear())}function _(te,z,J){!g.active||w||(h.scrollBody.useBaseFriction().useDuration(z===!0?0:g.duration),h.scrollTo.index(te,J||0))}function W(te){const z=h.index.add(1).get();_(z,te,-1)}function B(te){const z=h.index.add(-1).get();_(z,te,1)}function V(){return h.index.add(1).get()!==U()}function T(){return h.index.add(-1).get()!==U()}function R(){return h.scrollSnapList}function M(){return h.scrollProgress.get(h.offsetLocation.get())}function U(){return h.index.get()}function $(){return h.indexPrevious.get()}function q(){return h.slidesInView.get()}function Q(){return h.slidesInView.get(!1)}function ie(){return C}function ge(){return h}function Y(){return e}function ye(){return k}function Ae(){return b}const Ee={canScrollNext:V,canScrollPrev:T,containerNode:ye,internalEngine:ge,destroy:H,off:f,on:m,emit:y,plugins:ie,previousScrollSnap:$,reInit:v,rootNode:Y,scrollNext:W,scrollPrev:B,scrollProgress:M,scrollSnapList:R,scrollTo:_,selectedScrollSnap:U,slideNo
137des:Ae,slidesInView:q,slidesNotInView:Q};return j(t,n),setTimeout(()=>l.emit("init"),0),Ee}da.globalOptions=void 0;function Zc(e={},t=[]){const n=S.useRef(e),r=S.useRef(t),[o,i]=S.useState(),[s,a]=S.useState(),l=S.useCallback(()=>{o&&o.reInit(n.current,r.current)},[o]);return S.useEffect(()=>{qc(n.current,e)||(n.current=e,l())},[e,l]),S.useEffect(()=>{OC(r.current,t)||(r.current=t,l())},[t,l]),S.useEffect(()=>{if(jC()&&s){da.globalOptions=Zc.globalOptions;const u=da(s,n.current,r.current);return i(u),()=>u.destroy()}else i(void 0)},[s,i]),[a,o]}Zc.globalOptions=void 0;const ug=S.createContext(null);function $a(){const e=S.useContext(ug);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const cg=S.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:o,children:i,...s},a)=>{const[l,u]=Zc({...t,axis:e==="horizontal"?"x":"y"},r),[c,d]=S.useState(!1),[m,f]=S.useState(!1),y=S.useCallback(p=>{p&&(d(p.canScrollPrev()),f(p.canScrollNext()))},[]),v=S.useCallback(()=>{u==null||u.scrollPrev()},[u]),w=S.useCallback(()=>{u==null||u.scrollNext()},[u]),h=S.useCallback(p=>{p.key==="ArrowLeft"?(p.preventDefault(),v()):p.key==="ArrowRight"&&(p.preventDefault(),w())},[v,w]);return S.useEffect(()=>{!u||!n||n(u)},[u,n]),S.useEffect(()=>{if(u)return y(u),u.on("reInit",y),u.on("select",y),()=>{u==null||u.off("select",y)}},[u,y]),x.jsx(ug.Provider,{value:{carouselRef:l,api:u,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:w,canScrollPrev:c,canScrollNext:m},children:x.jsx("div",{ref:a,onKeyDownCapture:h,className:Re("relative",o),role:"region","aria-roledescription":"carousel",...s,children:i})})});cg.displayName="Carousel";const dg=S.forwardRef(({className:e,...t},n)=>{const{carouselRef:r,orientation:o}=$a();return x.jsx("div",{ref:r,className:"overflow-hidden",children:x.jsx("div",{ref:n,className:Re("flex",o==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});dg.displayName="CarouselContent";const fg=S.forwardRef(({className:e,...t},n)=>{const{orientation:r}=$a();return x.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:Re("min-w-0 shrink-0 grow-0 basis-full",r==="horizontal"?"pl-4":"pt-4",e),...t})});fg.displayName="CarouselItem";const pg=S.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},o)=>{const{orientation:i,scrollPrev:s,canScrollPrev:a}=$a();return x.jsxs(Ft,{ref:o,variant:t,size:n,className:Re("absolute h-8 w-8 rounded-full",i==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:s,...r,children:[x.jsx(Zh,{className:"h-4 w-4"}),x.jsx("span",{className:"sr-only",children:"Previous slide"})]})});pg.displayName="CarouselPrevious";const mg=S.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},o)=>{const{orientation:i,scrollNext:s,canScrollNext:a}=$a();return x.jsxs(Ft,{ref:o,variant:t,size:n,className:Re("absolute h-8 w-8 rounded-full",i==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:s,...r,children:[x.jsx(Wx,{className:"h-4 w-4"}),x.jsx("span",{className:"sr-only",children:"Next slide"})]})});mg.displayName="CarouselNext";const Bi=S.forwardRef(({className:e,...t},n)=>x.jsx("div",{ref:n,className:Re("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Bi.displayName="Card";const hg=S.forwardRef(({className:e,...t},n)=>x.jsx("div",{ref:n,className:Re("flex flex-col space-y-1.5 p-6",e),...t}));hg.displayName="CardHeader";const vg=S.forwardRef(({className:e,...t},n)=>x.jsx("h3",{ref:n,className:Re("text-2xl font-semibold leading-none tracking-tight",e),...t}));vg.displayName="CardTitle";const cb=S.forwardRef(({className:e,...t},n)=>x.jsx("p",{ref:n,className:Re("text-sm text-muted-foreground",e),...t}));cb.displayName="CardDescription";const Ui=S.forwardRef(({className:e,...t},n)=>x.jsx("div",{ref:n,className:Re("p-6 pt-0",e),...t}));Ui.displayName="CardContent";const db=S.forwardRef(({className:e,...t},n)=>x.jsx("div",{ref:n,className:Re("flex items-center p-6 pt-0",e),...t}));
137db.displayName="CardFooter";const fb="/lovable-uploads/a940eb5a-8f7b-4601-955e-536a0fa92d58.png",pb="/lovable-uploads/c9a83eeb-64e0-4aba-bb58-e9ab09b97c4c.png",mb="/lovable-uploads/6cc7b3d2-3abb-4367-b24e-b50d669ad337.png",hb="/lovable-uploads/e0629b40-ef0b-4639-ab11-3b4520f50606.png",vb="/lovable-uploads/edf49633-0850-4c81-8c5c-665336c99489.png",gb="/lovable-uploads/f894245c-9ca4-4d67-9fb2-c3b4db5fef3a.png",yb=()=>{const{t:e}=sr(),t=[{name:"Sports Fields",image:fb},{name:"Covered Sports Pavilion",image:pb},{name:"MakerSpace & Science Labs",image:mb},{name:"Music Production Studio",image:hb},{name:"Professional Auditorium",image:vb},{name:"Campus Entrance",image:gb}];return x.jsx("section",{className:"py-16 bg-background",children:x.jsxs("div",{className:"container mx-auto px-4 sm:px-6",children:[x.jsxs("div",{className:"text-center mb-12",children:[x.jsx("h2",{className:"font-inter text-4xl md:text-5xl font-bold text-brand-navy mb-4",children:e("facilities.title")}),x.jsx("p",{className:"text-lg font-inter text-muted-foreground max-w-4xl mx-auto",children:e("facilities.description")})]}),x.jsx("div",{className:"max-w-6xl mx-auto",children:x.jsxs(cg,{className:"w-full",children:[x.jsx(dg,{children:t.map((n,r)=>x.jsx(fg,{className:"md:basis-1/2 lg:basis-1/3",children:x.jsx("div",{className:"p-2",children:x.jsx(Bi,{className:"hover:shadow-lg transition-shadow duration-300",children:x.jsx(Ui,{className:"p-0",children:x.jsx("div",{className:"aspect-[16/9] rounded-lg overflow-hidden",children:x.jsx("img",{src:n.image,alt:n.name,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-300"})})})})})},r))}),x.jsx(pg,{className:"hidden sm:flex -left-4 md:-left-12"}),x.jsx(mg,{className:"hidden sm:flex -right-4 md:-right-12"})]})})]})})},xb=()=>{const{t:e}=sr(),t=[{date:e("timings.enrolmentOpenDate"),title:e("timings.enrolmentOpen"),description:e("timings.enrolmentOpenDesc"),icon:x.jsx(Gx,{className:"h-6 w-6"}),color:"text-brand-navy"},{date:e("timings.enrolmentCloseDate"),title:e("timings.enrolmentClose"),description:e("timings.enrolmentCloseDesc"),icon:x.jsx(Kx,{className:"h-6 w-6"}),color:"text-brand-red"},{date:e("timings.cancellationDeadlineDate"),title:e("timings.cancellationDeadline"),description:e("timings.cancellationDeadlineDesc"),icon:x.jsx(Qx,{className:"h-6 w-6"}),color:"text-brand-red"}];return x.jsx("section",{className:"py-20 bg-muted/30",children:x.jsxs("div",{className:"container mx-auto px-6",children:[x.jsxs("div",{className:"text-center mb-12",children:[x.jsx("h2",{className:"font-inter text-4xl md:text-5xl font-bold text-brand-navy mb-4",children:e("timings.title")}),x.jsx("p",{className:"text-lg font-inter text-muted-foreground",children:e("timings.subtitle")})]}),x.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-5xl mx-auto",children:t.map((n,r)=>x.jsxs(Bi,{className:"hover:shadow-lg transition-shadow duration-300 border-l-4 border-l-primary",children:[x.jsxs(hg,{children:[x.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[x.jsx("div",{className:"text-secondary",children:n.icon}),x.jsx(vg,{className:"font-inter text-xl font-bold text-brand-navy",children:n.title})]}),x.jsx("p",{className:"font-inter font-semibold text-secondary",children:n.date})]}),x.jsx(Ui,{children:x.jsx("div",{className:"font-inter text-muted-foreground whitespace-pre-line",children:n.description.includes("HERE")||n.description.includes("AQUI")?x.jsxs(x.Fragment,{children:[n.description.split(n.description.includes("HERE")?"HERE":"AQUI")[0],x.jsx("a",{href:"https://forms.office.com/e/QZ5cn2f9DC",target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 underline font-medium",children:n.description.includes("HERE")?"HERE":"AQUI"}),n.description.split(n.description.includes("HERE")?"HERE":"AQUI")[1]||""]}):n.description})})]},r))})]})})},wb=()=>{const{t:e,language:t}=sr(),n=[{number:"01",title:e("enrol.step1"),description:e("enrol.step1Desc"),link:"/terms-and-conditions",buttonText:e("enrol.step1Button")},{number:"02",title:e("enrol.step2"),description:e("enrol.step2Desc"),link:"https://www.socscms.com/login/30738",buttonText:e("enrol.step2Button"),extraLinks:[{text:e("enrol.socsInstructions"),url:"https://drive.google.com/file/d/1ffKZoSfAiCUR_Y3VP4nADWh5WhCEYosj/view"}]}];return x.jsx("section",{className:"py-20 bg-background",children:x.jsxs("div",{className:"container mx-auto px-6 flex flex-col items-center",children:[x.jsxs("div",{className:"text-center mb-12",children:[x.jsx("h2",{className:"font-inter text-4xl md:text-5xl font-bold text-brand-navy mb-4",children:e("enrol.title")}),x.jsx("p",{className:"text-lg font-inter text-muted-foreground",children:e("enrol.subt
137itle")})]}),x.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 max-w-7xl mx-auto",children:n.map((r,o)=>x.jsx("div",{className:"relative",children:x.jsxs(Bi,{className:"hover:shadow-lg transition-shadow duration-300 h-full",children:[x.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-1 rounded-l-lg bg-secondary"}),x.jsxs(Ui,{className:"p-10 h-full flex flex-col",children:[x.jsxs("div",{className:"flex items-start gap-4 mb-6",children:[x.jsx("span",{className:"text-6xl font-inter font-bold opacity-20 text-brand-navy",children:r.number}),x.jsxs("div",{className:"flex-1",children:[x.jsx("h3",{className:"font-inter text-2xl font-bold text-brand-navy mb-3",children:r.title}),x.jsx("p",{className:"text-sm font-inter text-muted-foreground",children:r.description})]})]}),x.jsx("div",{className:"mt-auto",children:o===1?x.jsxs("div",{className:"flex gap-3",children:[x.jsx(Ft,{asChild:!0,className:"text-white font-inter hover:opacity-90 bg-secondary flex-1",children:x.jsx("a",{href:"https://www.socscms.com/login/31357",target:"_blank",rel:"noopener noreferrer",children:"SOCS"})}),x.jsx(Ft,{asChild:!0,className:"text-white font-inter hover:opacity-90 bg-secondary flex-1",children:x.jsx("a",{href:t==="en"?"https://civpt-my.sharepoint.com/:b:/g/personal/iris_mend
137onca_civ_pt/EVU2SWYnNuZAtESH37DAyXkBM8z5q4xnX9zr_Sxru3YA4Q?e=pITmy3":"https://civpt-my.sharepoint.com/:b:/g/personal/iris_mendonca_civ_pt/Ed07geBjY5hMjXtycUmEHowBQhMIS2m-8-kwHkX4sgXSnA?e=4Z4UQn",target:"_blank",rel:"noopener noreferrer",children:e("enrol.socsInstructions")})})]}):x.jsx("div",{className:"flex items-center gap-3",children:x.jsx(Ft,{asChild:!0,className:"text-white font-inter hover:opacity-90 bg-secondary",children:x.jsx(og,{to:r.link,children:r.buttonText})})})})]})]})},o))})]})})},Sb=()=>{const{t:e}=sr();return x.jsx("footer",{className:"py-16 text-white bg-primary",children:x.jsxs("div",{className:"container mx-auto px-6",children:[x.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-12 max-w-6xl mx-auto",children:[x.jsxs("div",{children:[x.jsx("h3",{className:"font-inter text-2xl font-bold mb-6",children:e("school.name")}),x.jsx("p",{className:"font-inter text-white/90 mb-6 leading-relaxed",children:e("school.description")}),x.jsx(Ft,{asChild:!0,className:"text-white font-inter font-medium border-white hover:bg-white hover:text-brand-navy transition-colors bg-transparent",variant:"outline",children:x.jsxs("a",{href:"https://www.civ.pt/en",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2",children:[e("contact.visit"),x.jsx(qx,{className:"h-4 w-4"})]})})]}),x.jsxs("div",{children:[x.jsxs("h3",{className:"font-inter text-2xl font-bold mb-6 flex items-center gap-2",children:[x.jsx(gf,{className:"h-6 w-6 text-secondary"}),e("contact.title")]}),x.jsx("p",{className:"font-inter text-white/90 mb-6",children:e("contact.description")}),x.jsx("div",{className:"space-y-4",children:x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsx("div",{className:"flex items-center justify-center w-8 h-8",children:x.jsx(gf,{className:"h-5 w-5 text-secondary"})}),x.jsxs("div",{children:[x.jsx("p",{className:"font-inter font-medium text-white mb-1",children:e("contact.email")}),x.jsx("a",{href:"mailto:[email protected]",className:"font-inter text-white/90 hover:text-white transition-colors",children:"[email protected]"})]})]})})]}),x.jsxs("div",{children:[x.jsx("h3",{className:"font-inter text-2xl font-bold mb-6",children:e("contact.quickLinks")}),x.jsxs("div",{className:"space-y-3",children:[x.jsx("a",{href:"https://www.socscms.com/login/31357",target:"_blank",rel:"noopener noreferrer",className:"block font-inter text-white/90 hover:text-white transition-colors",children:e("buttons.exploreActivities")}),x.jsx("a",{href:"/terms-and-conditions",className:"block font-inter text-white/90 hover:text-white transition-colors",children:e("contact.termsConditions")})]})]})]}),x.jsx("div",{className:"mt-12 pt-8 border-t border-white/20 text-center",children:x.jsx("p",{className:"font-inter text-white/70",children:"© 2024 CIV. All rights reserved."})})]})})},Eb=()=>x.jsxs("main",{className:"min-h-screen",children:[x.jsx(kC,{}),x.jsx(TC,{}),x.jsx("div",{id:"intro",children:x.jsx(NC,{})}),x.jsx("div",{id:"activities",children:x.jsx(RC,{})}),x.jsx("div",{id:"facilities",children:x.jsx(yb,{})}),x.jsx("div",{id:"timeline",children:x.jsx(xb,{})}),x.jsx("div",{id:"enrol",children:x.jsx(wb,{})}),x.jsx(Sb,{})]}),Cb=()=>{const{language:e,t}=sr();return x.jsx("div",{className:"min-h-screen bg-background",children:x.jsxs("div",{className:"container mx-auto px-6 py-12 max-w-4xl",children:[x.jsxs("div",{className:"mb-8",children:[x.jsx(og,{to:"/",children:x.jsxs(Ft,{variant:"ghost",className:"mb-4",children:[x.jsx(Zh,{className:"h-4 w-4 mr-2"}),e==="pt"?"Voltar às Atividades":"Back to Activities"]})}),x.jsx("h1",{className:"font-inter text-4xl md:text-5xl font-bold text-brand-navy mb-4",children:t("terms.title")})]}),x.jsx(Bi,{className:"mb-8",children:x.jsxs(Ui,{className:"space-y-4 pt-6",children:[x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"1."})," ",t("terms.rule1")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"2."})," ",t("terms.rule2")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"3."})," ",t("terms.rule3")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"4."})," ",t("terms.rule4")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"5."})," ",t("terms.rule5")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"6."})," ",t("terms.rule6")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"7."})," ",t("terms.rule7")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"8."})," ",t("terms.rule8")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"9."})," ",t("terms.rule9")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"10."})," ",t("terms.rule10")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"11."})," ",t("terms.rule11")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"12."})," ",t("terms.rule12")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"13."})," ",t("terms.rule13")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"14."})," ",t("terms.rule14")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"15."})," ",t("terms.rule15")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"16."})," ",t("terms.rule16")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"17."})," ",t("terms.rule17")]}),x.jsxs("p",{children:[x.jsx("span",{className:"font-semibold",children:"18."})," ",t("terms.rule18")]})]})})]})})},bb=()=>{const e=zi();return S.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),x.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:x.jsxs("div",{className:"text-center",children:[x.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),x.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),x.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},kb=new xE,Pb=()=>x.jsx(SE,{client:kb,children:x.jsx(YS,{children:x.jsxs(EC,{children:[x.jsx(Ow,{}),x.jsx(c1,{}),x.jsx(yC,{children:x.jsxs(dC,{children:[x.jsx(Os,{path:"/",element:x.jsx(Eb,{})}),x.jsx(Os,{path:"/terms-and-conditions",element:x.jsx(Cb,{})}),x.jsx(Os,{path:"*",element:x.jsx(bb,{})})]})})]})})});Sh(document.getElementById("root")).render(x.jsx(Pb,{}));
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.