PageSourceSearch

https://simonstellar.com/assets/index-C2AYCyi6.js

js simonstellar.com collected 2026-09-29 01:36:54 UTC 422,954 bytes, 123 lines download raw bytes

vendor: 5,855 bytes, lines 1-9
1var V0=Object.defineProperty;var fd=e=>{throw TypeError(e)};var q0=(e,t,n)=>t in e?V0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Q=(e,t,n)=>q0(e,typeof t!="symbol"?t+"":t,n),Ba=(e,t,n)=>t.has(e)||fd("Cannot "+n);var j=(e,t,n)=>(Ba(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?fd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),q=(e,t,n,r)=>(Ba(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),_e=(e,t,n)=>(Ba(e,t,"access private method"),n);var Hs=(e,t,n,r)=>({set _(o){q(e,t,o,n)},get _(){return j(e,t,r)}});function K0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Ps(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ah={exports:{}},ua={},Rh={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 As=Symbol.for("react.element"),Q0=Symbol.for("react.portal"),G0=Symbol.for("react.fragment"),Y0=Symbol.for("react.strict_mode"),Z0=Symbol.for("react.profiler"),X0=Symbol.for("react.provider"),J0=Symbol.for("react.context"),ev=Symbol.for("react.forward_ref"),tv=Symbol.for("react.suspense"),nv=Symbol.for("react.memo"),rv=Symbol.for("react.lazy"),hd=Symbol.iterator;function ov(e){return e===null||typeof e!="object"?null:(e=hd&&e[hd]||e["@@iterator"],typeof e=="function"?e:null)}var _h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Oh=Object.assign,Mh={};function So(e,t,n){this.props=e,this.context=t,this.refs=Mh,this.updater=n||_h}So.prototype.isReactComponent={};So.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")};So.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Lh(){}Lh.prototype=So.prototype;function Hc(e,t,n){this.props=e,this.context=t,this.refs=Mh,this.updater=n||_h}var Wc=Hc.prototype=new Lh;Wc.constructor=Hc;Oh(Wc,So.prototype);Wc.isPureReactComponent=!0;var pd=Array.isArray,Dh=Object.prototype.hasOwnProperty,Vc={current:null},Ih={key:!0,ref:!0,__self:!0,__source:!0};function zh(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)Dh.call(t,r)&&!Ih.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:As,type:e,key:s,ref:i,props:o,_owner:Vc.current}}function sv(e,t){return{$$typeof:As,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function qc(e){return typeof e=="object"&&e!==null&&e.$$typeof===As}function iv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var md=/\/+/g;function Ua(e,t){return typeof e=="object"&&e!==null&&e.key!=null?iv(""+e.key):t.toString(36)}function mi(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case As:case Q0:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+Ua(i,0):r,pd(o)?(n="",e!=null&&(n=e.replace(md,"$&/")+"/"),mi(o,t,n,"",function(u){return u})):o!=null&&(qc(o)&&(o=sv(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(md,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",pd(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+Ua(s,a);i+=mi(s,t,n,l,o)}else if(l=ov(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+Ua(s,a++),i+=mi(s,t,n,l,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Ws(e,t,n){if(e==null)return e;var r=[],o=0;return mi(e,r,"","",function(s){return t.call(n,s,o++)}),r}function av(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 We={current:null},gi={transition:null},lv={ReactCurrentDispatcher:We,ReactCurrentBatchConfig:gi,ReactCurrentOwner:Vc};function $h(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 4,483 bytes, lines 9-25
9Z.Children={map:Ws,forEach:function(e,t,n){Ws(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ws(e,function(){t++}),t},toArray:function(e){return Ws(e,function(t){return t})||[]},only:function(e){if(!qc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Component=So;Z.Fragment=G0;Z.Profiler=Z0;Z.PureComponent=Hc;Z.StrictMode=Y0;Z.Suspense=tv;Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lv;Z.act=$h;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=Oh({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=Vc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Dh.call(t,l)&&!Ih.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:As,type:e.type,key:o,ref:s,props:r,_owner:i}};Z.createContext=function(e){return e={$$typeof:J0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:X0,_context:e},e.Consumer=e};Z.createElement=zh;Z.createFactory=function(e){var t=zh.bind(null,e);return t.type=e,t};Z.createRef=function(){return{current:null}};Z.forwardRef=function(e){return{$$typeof:ev,render:e}};Z.isValidElement=qc;Z.lazy=function(e){return{$$typeof:rv,_payload:{_status:-1,_result:e},_init:av}};Z.memo=function(e,t){return{$$typeof:nv,type:e,compare:t===void 0?null:t}};Z.startTransition=function(e){var t=gi.transition;gi.transition={};try{e()}finally{gi.transition=t}};Z.unstable_act=$h;Z.useCallback=function(e,t){return We.current.useCallback(e,t)};Z.useContext=function(e){return We.current.useContext(e)};Z.useDebugValue=function(){};Z.useDeferredValue=function(e){return We.current.useDeferredValue(e)};Z.useEffect=function(e,t){return We.current.useEffect(e,t)};Z.useId=function(){return We.current.useId()};Z.useImperativeHandle=function(e,t,n){return We.current.useImperativeHandle(e,t,n)};Z.useInsertionEffect=function(e,t){return We.current.useInsertionEffect(e,t)};Z.useLayoutEffect=function(e,t){return We.current.useLayoutEffect(e,t)};Z.useMemo=function(e,t){return We.current.useMemo(e,t)};Z.useReducer=function(e,t,n){return We.current.useReducer(e,t,n)};Z.useRef=function(e){return We.current.useRef(e)};Z.useState=function(e){return We.current.useState(e)};Z.useSyncExternalStore=function(e,t,n){return We.current.useSyncExternalStore(e,t,n)};Z.useTransition=function(){return We.current.useTransition()};Z.version="18.3.1";Rh.exports=Z;var x=Rh.exports;const A=Ps(x),Fh=K0({__proto__:null,default:A},[x]);/**
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 cv=x,uv=Symbol.for("react.element"),dv=Symbol.for("react.fragment"),fv=Object.prototype.hasOwnProperty,hv=cv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,pv={key:!0,ref:!0,__self:!0,__source:!0};function Bh(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)fv.call(t,r)&&!pv.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:uv,type:e,key:s,ref:i,props:o,_owner:hv.current}}ua.Fragment=dv;ua.jsx=Bh;ua.jsxs=Bh;Ah.exports=ua;var c=Ah.exports,Uh={exports:{}},st={},Hh={exports:{}},Wh={};/**
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,P){var L=T.length;T.push(P);e:for(;0<L;){var U=L-1>>>1,z=T[U];if(0<o(z,P))T[U]=P,T[L]=z,L=U;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var P=T[0],L=T.pop();if(L!==P){T[0]=L;e:for(var U=0,z=T.length,Y=z>>>1;U<Y;){var W=2*(U+1)-1,le=T[W],Ce=W+1,X=T[Ce];if(0>o(le,L))Ce<z&&0>o(X,le)?(T[U]=X,T[Ce]=L,U=Ce):(T[U]=le,T[W]=L,U=W);else if(Ce<z&&0>o(X,L))T[U]=X,T[Ce]=L,U=Ce;else break e}}return P}function o(T,P){var L=T.sortIndex-P.sortIndex;
vendor: 10,112 bytes, lines 25-34
25return L!==0?L:T.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var l=[],u=[],d=1,f=null,p=3,h=!1,b=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(T){for(var P=n(u);P!==null;){if(P.callback===null)r(u);else if(P.startTime<=T)r(u),P.sortIndex=P.expirationTime,t(l,P);else break;P=n(u)}}function S(T){if(v=!1,y(T),!b)if(n(l)!==null)b=!0,F(E);else{var P=n(u);P!==null&&B(S,P.startTime-T)}}function E(T,P){b=!1,v&&(v=!1,m(N),N=-1),h=!0;var L=p;try{for(y(P),f=n(l);f!==null&&(!(f.expirationTime>P)||T&&!$());){var U=f.callback;if(typeof U=="function"){f.callback=null,p=f.priorityLevel;var z=U(f.expirationTime<=P);P=e.unstable_now(),typeof z=="function"?f.callback=z:f===n(l)&&r(l),y(P)}else r(l);f=n(l)}if(f!==null)var Y=!0;else{var W=n(u);W!==null&&B(S,W.startTime-P),Y=!1}return Y}finally{f=null,p=L,h=!1}}var k=!1,C=null,N=-1,O=5,_=-1;function $(){return!(e.unstable_now()-_<O)}function D(){if(C!==null){var T=e.unstable_now();_=T;var P=!0;try{P=C(!0,T)}finally{P?H():(k=!1,C=null)}}else k=!1}var H;if(typeof g=="function")H=function(){g(D)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,K=M.port2;M.port1.onmessage=D,H=function(){K.postMessage(null)}}else H=function(){w(D,0)};function F(T){C=T,k||(k=!0,H())}function B(T,P){N=w(function(){T(e.unstable_now())},P)}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(){b||h||(b=!0,F(E))},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"):O=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(T){switch(p){case 1:case 2:case 3:var P=3;break;default:P=p}var L=p;p=P;try{return T()}finally{p=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,P){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var L=p;p=T;try{return P()}finally{p=L}},e.unstable_scheduleCallback=function(T,P,L){var U=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?U+L:U):L=U,T){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=L+z,T={id:d++,callback:P,priorityLevel:T,startTime:L,expirationTime:z,sortIndex:-1},L>U?(T.sortIndex=L,t(u,T),n(l)===null&&T===n(u)&&(v?(m(N),N=-1):v=!0,B(S,L-U))):(T.sortIndex=z,t(l,T),b||h||(b=!0,F(E))),T},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(T){var P=p;return function(){var L=p;p=P;try{return T.apply(this,arguments)}finally{p=L}}}})(Wh);Hh.exports=Wh;var mv=Hh.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 gv=x,ot=mv;function R(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 Vh=new Set,os={};function Er(e,t){ho(e,t),ho(e+"Capture",t)}function ho(e,t){for(os[e]=t,e=0;e<t.length;e++)Vh.add(t[e])}var sn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pl=Object.prototype.hasOwnProperty,vv=/^[: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]*$/,gd={},vd={};function yv(e){return Pl.call(vd,e)?!0:Pl.call(gd,e)?!1:vv.test(e)?vd[e]=!0:(gd[e]=!0,!1)}function xv(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 wv(e,t,n,r){if(t===null||typeof t>"u"||xv(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 Ve(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var Re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Re[e]=new Ve(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Re[t]=new Ve(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Re[e]=new Ve(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Re[e]=new Ve(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){Re[e]=new Ve(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Re[e]=new Ve(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Re[e]=new Ve(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Re[e]=new Ve(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Re[e]=new Ve(e,5,!1,e.toLowerCase(),null,!1,!1)});var Kc=/[\-:]([a-z])/g;function Qc(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(Kc,Qc);Re[t]=new Ve(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(Kc,Qc);Re[t]=new Ve(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(Kc,Qc);Re[t]=new Ve(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Re[e]=new Ve(e,1,!1,e.toLowerCase(),null,!1,!1)});Re.xlinkHref=new Ve("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Re[e]=new Ve(e,1,!1,e.toLowerCase(),null,!0,!0)});function Gc(e,t,n,r){var o=Re.hasOwnProperty(t)?Re[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(wv(t,n,o,r)&&(n=null),r||o===null?yv(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 fn=gv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Vs=Symbol.for("react.element"),Lr=Symbol.for("react.portal"),Dr=Symbol.for("react.fragment"),Yc=Symbol.for("react.strict_mode"),Al=Symbol.for("react.profiler"),qh=Symbol.for("react.provider"),Kh=Symbol.for("react.context"),Zc=Symbol.for("react.forward_ref"),Rl=Symbol.for("react.suspense"),_l=Symbol.for("react.suspense_list"),Xc=Symbol.for("react.memo"),wn=Symbol.for("react.lazy"),Qh=Symbol.for("react.offscreen"),yd=Symbol.iterator;function Ro(e){return e===null||typeof e!="object"?null:(e=yd&&e[yd]||e["@@iterator"],typeof e=="function"?e:null)}var pe=Object.assign,Ha;function Wo(e){if(Ha===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ha=t&&t[1]||""}return`
34`+Ha+e}var Wa=!1;function Va(e,t){if(!e||Wa)return"";Wa=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 16,472 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),s=r.stack.split(`
36`),i=o.length-1,a=s.length-1;1<=i&&0<=a&&o[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(o[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||o[i]!==s[a]){var l=`
37`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{Wa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wo(e):""}function bv(e){switch(e.tag){case 5:return Wo(e.type);case 16:return Wo("Lazy");case 13:return Wo("Suspense");case 19:return Wo("SuspenseList");case 0:case 2:case 15:return e=Va(e.type,!1),e;case 11:return e=Va(e.type.render,!1),e;case 1:return e=Va(e.type,!0),e;default:return""}}function Ol(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 Dr:return"Fragment";case Lr:return"Portal";case Al:return"Profiler";case Yc:return"StrictMode";case Rl:return"Suspense";case _l:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Kh:return(e.displayName||"Context")+".Consumer";case qh:return(e._context.displayName||"Context")+".Provider";case Zc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xc:return t=e.displayName||null,t!==null?t:Ol(e.type)||"Memo";case wn:t=e._payload,e=e._init;try{return Ol(e(t))}catch{}}return null}function Sv(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 Ol(t);case 8:return t===Yc?"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 Bn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ev(e){var t=Gh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qs(e){e._valueTracker||(e._valueTracker=Ev(e))}function Yh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Gh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Oi(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 Ml(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Bn(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 Zh(e,t){t=t.checked,t!=null&&Gc(e,"checked",t,!1)}function Ll(e,t){Zh(e,t);var n=Bn(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")?Dl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Dl(e,t.type,Bn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wd(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 Dl(e,t,n){(t!=="number"||Oi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vo=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=""+Bn(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 Il(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(R(91));return pe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function bd(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(R(92));if(Vo(n)){if(1<n.length)throw Error(R(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Bn(n)}}function Xh(e,t){var n=Bn(t.value),r=Bn(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 Sd(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Jh(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 zl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Jh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ks,ep=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(Ks=Ks||document.createElement("div"),Ks.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ks.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ss(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qo={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},kv=["Webkit","ms","Moz","O"];Object.keys(Qo).forEach(function(e){kv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qo[t]=Qo[e]})});function tp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qo.hasOwnProperty(e)&&Qo[e]?(""+t).trim():t+"px"}function np(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=tp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Cv=pe({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 $l(e,t){if(t){if(Cv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function Fl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Bl=null;function Jc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ul=null,Gr=null,Yr=null;function Ed(e){if(e=Os(e)){if(typeof Ul!="function")throw Error(R(280));var t=e.stateNode;t&&(t=ma(t),Ul(e.stateNode,e.type,t))}}function rp(e){Gr?Yr?Yr.push(e):Yr=[e]:Gr=e}function op(){if(Gr){var e=Gr,t=Yr;if(Yr=Gr=null,Ed(e),t)for(e=0;e<t.length;e++)Ed(t[e])}}function sp(e,t){return e(t)}function ip(){}var qa=!1;function ap(e,t,n){if(qa)return e(t,n);qa=!0;try{return sp(e,t,n)}finally{qa=!1,(Gr!==null||Yr!==null)&&(ip(),op())}}function is(e,t){var n=e.stateNode;if(n===null)return null;var r=ma(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(R(231,t,typeof n));return n}var Hl=!1;if(sn)try{var _o={};Object.defineProperty(_o,"passive",{get:function(){Hl=!0}}),window.addEventListener("test",_o,_o),window.removeEventListener("test",_o,_o)}catch{Hl=!1}function Tv(e,t,n,r,o,s,i,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var Go=!1,Mi=null,Li=!1,Wl=null,jv={onError:function(e){Go=!0,Mi=e}};function Nv(e,t,n,r,o,s,i,a,l){Go=!1,Mi=null,Tv.apply(jv,arguments)}function Pv(e,t,n,r,o,s,i,a,l){if(Nv.apply(this,arguments),Go){if(Go){var u=Mi;Go=!1,Mi=null}else throw Error(R(198));Li||(Li=!0,Wl=u)}}function kr(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 lp(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 kd(e){if(kr(e)!==e)throw Error(R(188))}function Av(e){var t=e.alternate;if(!t){if(t=kr(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return kd(o),e;if(s===r)return kd(o),t;s=s.sibling}throw Error(R(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,a=o.child;a;){if(a===n){i=!0,n=o,r=s;break}if(a===r){i=!0,r=o,n=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===n){i=!0,n=s,r=o;break}if(a===r){i=!0,r=s,n=o;break}a=a.sibling}if(!i)throw Error(R(189))}}if(n.alternate!==r)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function cp(e){return e=Av(e),e!==null?up(e):null}function up(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=up(e);if(t!==null)return t;e=e.sibling}return null}var dp=ot.unstable_scheduleCallback,Cd=ot.unstable_cancelCallback,Rv=ot.unstable_shouldYield,_v=ot.unstable_requestPaint,xe=ot.unstable_now,Ov=ot.unstable_getCurrentPriorityLevel,eu=ot.unstable_ImmediatePriority,fp=ot.unstable_UserBlockingPriority,Di=ot.unstable_NormalPriority,Mv=ot.unstable_LowPriority,hp=ot.unstable_IdlePriority,da=null,Wt=null;function Lv(e){if(Wt&&typeof Wt.onCommitFiberRoot=="function")try{Wt.onCommitFiberRoot(da,e,void 0,(e.current.flags&128)===128)}catch{}}var At=Math.clz32?Math.clz32:zv,Dv=Math.log,Iv=Math.LN2;function zv(e){return e>>>=0,e===0?32:31-(Dv(e)/Iv|0)|0}var Qs=64,Gs=4194304;function qo(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 Ii(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~o;a!==0?r=qo(a):(s&=i,s!==0&&(r=qo(s)))}else i=n&~o,i!==0?r=qo(i):s!==0&&(r=qo(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-At(t),o=1<<n,r|=e[n],t&=~o;return r}function $v(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 Fv(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-At(s),a=1<<i,l=o[i];l===-1?(!(a&n)||a&r)&&(o[i]=$v(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function Vl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function pp(){var e=Qs;return Qs<<=1,!(Qs&4194240)&&(Qs=64),e}function Ka(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Rs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-At(t),e[t]=n}function Bv(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-At(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function tu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-At(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var te=0;function mp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var gp,nu,vp,yp,xp,ql=!1,Ys=[],_n=null,On=null,Mn=null,as=new Map,ls=new Map,Sn=[],Uv="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 Td(e,t){switch(e){case"focusin":case"focusout":_n=null;break;case"dragenter":case"dragleave":On=null;break;case"mouseover":case"mouseout":Mn=null;break;case"pointerover":case"pointerout":as.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ls.delete(t.pointerId)}}function Oo(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Os(t),t!==null&&nu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Hv(e,t,n,r,o){switch(t){case"focusin":return _n=Oo(_n,e,t,n,r,o),!0;case"dragenter":return On=Oo(On,e,t,n,r,o),!0;case"mouseover":return Mn=Oo(Mn,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return as.set(s,Oo(as.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,ls.set(s,Oo(ls.get(s)||null,e,t,n,r,o)),!0}return!1}function wp(e){var t=rr(e.target);if(t!==null){var n=kr(t);if(n!==null){if(t=n.tag,t===13){if(t=lp(n),t!==null){e.blockedOn=t,xp(e.priority,function(){vp(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 vi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);
vendor: 9,556 bytes, line 37
37Bl=r,n.target.dispatchEvent(r),Bl=null}else return t=Os(n),t!==null&&nu(t),e.blockedOn=n,!1;t.shift()}return!0}function jd(e,t,n){vi(e)&&n.delete(t)}function Wv(){ql=!1,_n!==null&&vi(_n)&&(_n=null),On!==null&&vi(On)&&(On=null),Mn!==null&&vi(Mn)&&(Mn=null),as.forEach(jd),ls.forEach(jd)}function Mo(e,t){e.blockedOn===t&&(e.blockedOn=null,ql||(ql=!0,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,Wv)))}function cs(e){function t(o){return Mo(o,e)}if(0<Ys.length){Mo(Ys[0],e);for(var n=1;n<Ys.length;n++){var r=Ys[n];r.blockedOn===e&&(r.blockedOn=null)}}for(_n!==null&&Mo(_n,e),On!==null&&Mo(On,e),Mn!==null&&Mo(Mn,e),as.forEach(t),ls.forEach(t),n=0;n<Sn.length;n++)r=Sn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Sn.length&&(n=Sn[0],n.blockedOn===null);)wp(n),n.blockedOn===null&&Sn.shift()}var Zr=fn.ReactCurrentBatchConfig,zi=!0;function Vv(e,t,n,r){var o=te,s=Zr.transition;Zr.transition=null;try{te=1,ru(e,t,n,r)}finally{te=o,Zr.transition=s}}function qv(e,t,n,r){var o=te,s=Zr.transition;Zr.transition=null;try{te=4,ru(e,t,n,r)}finally{te=o,Zr.transition=s}}function ru(e,t,n,r){if(zi){var o=Kl(e,t,n,r);if(o===null)rl(e,t,r,$i,n),Td(e,r);else if(Hv(o,e,t,n,r))r.stopPropagation();else if(Td(e,r),t&4&&-1<Uv.indexOf(e)){for(;o!==null;){var s=Os(o);if(s!==null&&gp(s),s=Kl(e,t,n,r),s===null&&rl(e,t,r,$i,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else rl(e,t,r,null,n)}}var $i=null;function Kl(e,t,n,r){if($i=null,e=Jc(r),e=rr(e),e!==null)if(t=kr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=lp(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 $i=e,null}function bp(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(Ov()){case eu:return 1;case fp:return 4;case Di:case Mv:return 16;case hp:return 536870912;default:return 16}default:return 16}}var Pn=null,ou=null,yi=null;function Sp(){if(yi)return yi;var e,t=ou,n=t.length,r,o="value"in Pn?Pn.value:Pn.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[s-r];r++);return yi=o.slice(e,1<r?1-r:void 0)}function xi(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 Zs(){return!0}function Nd(){return!1}function it(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Zs:Nd,this.isPropagationStopped=Nd,this}return pe(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=Zs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Zs)},persist:function(){},isPersistent:Zs}),t}var Eo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},su=it(Eo),_s=pe({},Eo,{view:0,detail:0}),Kv=it(_s),Qa,Ga,Lo,fa=pe({},_s,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:iu,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!==Lo&&(Lo&&e.type==="mousemove"?(Qa=e.screenX-Lo.screenX,Ga=e.screenY-Lo.screenY):Ga=Qa=0,Lo=e),Qa)},movementY:function(e){return"movementY"in e?e.movementY:Ga}}),Pd=it(fa),Qv=pe({},fa,{dataTransfer:0}),Gv=it(Qv),Yv=pe({},_s,{relatedTarget:0}),Ya=it(Yv),Zv=pe({},Eo,{animationName:0,elapsedTime:0,pseudoElement:0}),Xv=it(Zv),Jv=pe({},Eo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ey=it(Jv),ty=pe({},Eo,{data:0}),Ad=it(ty),ny={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ry={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"},oy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function sy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=oy[e])?!!t[e]:!1}function iu(){return sy}var iy=pe({},_s,{key:function(e){if(e.key){var t=ny[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ry[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:iu,charCode:function(e){return e.type==="keypress"?xi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ay=it(iy),ly=pe({},fa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rd=it(ly),cy=pe({},_s,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:iu}),uy=it(cy),dy=pe({},Eo,{propertyName:0,elapsedTime:0,pseudoElement:0}),fy=it(dy),hy=pe({},fa,{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}),py=it(hy),my=[9,13,27,32],au=sn&&"CompositionEvent"in window,Yo=null;sn&&"documentMode"in document&&(Yo=document.documentMode);var gy=sn&&"TextEvent"in window&&!Yo,Ep=sn&&(!au||Yo&&8<Yo&&11>=Yo),_d=" ",Od=!1;function kp(e,t){switch(e){case"keyup":return my.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ir=!1;function vy(e,t){switch(e){case"compositionend":return Cp(t);case"keypress":return t.which!==32?null:(Od=!0,_d);case"textInput":return e=t.data,e===_d&&Od?null:e;default:return null}}function yy(e,t){if(Ir)return e==="compositionend"||!au&&kp(e,t)?(e=Sp(),yi=ou=Pn=null,Ir=!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 Ep&&t.locale!=="ko"?null:t.data;default:return null}}var xy={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 Md(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!xy[e.type]:t==="textarea"}function Tp(e,t,n,r){rp(r),t=Fi(t,"onChange"),0<t.length&&(n=new su("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Zo=null,us=null;function wy(e){Ip(e,0)}function ha(e){var t=Fr(e);if(Yh(t))return e}function by(e,t){if(e==="change")return t}var jp=!1;if(sn){var Za;if(sn){var Xa="oninput"in document;if(!Xa){var Ld=document.createElement("div");Ld.setAttribute("oninput","return;"),Xa=typeof Ld.oninput=="function"}Za=Xa}else Za=!1;jp=Za&&(!document.documentMode||9<document.documentMode)}function Dd(){Zo&&(Zo.detachEvent("onpropertychange",Np),us=Zo=null)}function Np(e){if(e.propertyName==="value"&&ha(us)){var t=[];Tp(t,us,e,Jc(e)),ap(wy,t)}}function Sy(e,t,n){e==="focusin"?(Dd(),Zo=t,us=n,Zo.attachEvent("onpropertychange",Np)):e==="focusout"&&Dd()}function Ey(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ha(us)}function ky(e,t){if(e==="click")return ha(t)}function Cy(e,t){if(e==="input"||e==="change")return ha(t)}function Ty(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:Ty;function ds(e,t){if(_t(e,t))return!0;
vendor: 4,808 bytes, line 37
37if(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 Id(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zd(e,t){var n=Id(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=Id(n)}}function Pp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ap(){for(var e=window,t=Oi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Oi(e.document)}return t}function lu(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 jy(e){var t=Ap(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Pp(n.ownerDocument.documentElement,n)){if(r!==null&&lu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=zd(n,s);var i=zd(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Ny=sn&&"documentMode"in document&&11>=document.documentMode,zr=null,Ql=null,Xo=null,Gl=!1;function $d(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Gl||zr==null||zr!==Oi(r)||(r=zr,"selectionStart"in r&&lu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Xo&&ds(Xo,r)||(Xo=r,r=Fi(Ql,"onSelect"),0<r.length&&(t=new su("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=zr)))}function Xs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var $r={animationend:Xs("Animation","AnimationEnd"),animationiteration:Xs("Animation","AnimationIteration"),animationstart:Xs("Animation","AnimationStart"),transitionend:Xs("Transition","TransitionEnd")},Ja={},Rp={};sn&&(Rp=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 pa(e){if(Ja[e])return Ja[e];if(!$r[e])return e;var t=$r[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Rp)return Ja[e]=t[n];return e}var _p=pa("animationend"),Op=pa("animationiteration"),Mp=pa("animationstart"),Lp=pa("transitionend"),Dp=new Map,Fd="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 Kn(e,t){Dp.set(e,t),Er(t,[e])}for(var el=0;el<Fd.length;el++){var tl=Fd[el],Py=tl.toLowerCase(),Ay=tl[0].toUpperCase()+tl.slice(1);Kn(Py,"on"+Ay)}Kn(_p,"onAnimationEnd");Kn(Op,"onAnimationIteration");Kn(Mp,"onAnimationStart");Kn("dblclick","onDoubleClick");Kn("focusin","onFocus");Kn("focusout","onBlur");Kn(Lp,"onTransitionEnd");ho("onMouseEnter",["mouseout","mouseover"]);ho("onMouseLeave",["mouseout","mouseover"]);ho("onPointerEnter",["pointerout","pointerover"]);ho("onPointerLeave",["pointerout","pointerover"]);Er("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 4,770 bytes, line 37
37Er("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Er("onBeforeInput",["compositionend","keypress","textInput","paste"]);Er("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Er("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Er("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ko="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(" "),Ry=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ko));function Bd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Pv(r,t,void 0,e),e.currentTarget=null}function Ip(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var a=r[i],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&o.isPropagationStopped())break e;Bd(o,a,u),s=l}else for(i=0;i<r.length;i++){if(a=r[i],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&o.isPropagationStopped())break e;Bd(o,a,u),s=l}}}if(Li)throw e=Wl,Li=!1,Wl=null,e}function ie(e,t){var n=t[ec];n===void 0&&(n=t[ec]=new Set);var r=e+"__bubble";n.has(r)||(zp(t,e,2,!1),n.add(r))}function nl(e,t,n){var r=0;t&&(r|=4),zp(n,e,r,t)}var Js="_reactListening"+Math.random().toString(36).slice(2);function fs(e){if(!e[Js]){e[Js]=!0,Vh.forEach(function(n){n!=="selectionchange"&&(Ry.has(n)||nl(n,!1,e),nl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Js]||(t[Js]=!0,nl("selectionchange",!1,t))}}function zp(e,t,n,r){switch(bp(t)){case 1:var o=Vv;break;case 4:o=qv;break;default:o=ru}n=o.bind(null,t,n,e),o=void 0,!Hl||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 rl(e,t,n,r,o){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;i=i.return}for(;a!==null;){if(i=rr(a),i===null)return;if(l=i.tag,l===5||l===6){r=s=i;continue e}a=a.parentNode}}r=r.return}ap(function(){var u=s,d=Jc(n),f=[];e:{var p=Dp.get(e);if(p!==void 0){var h=su,b=e;switch(e){case"keypress":if(xi(n)===0)break e;case"keydown":case"keyup":h=ay;break;case"focusin":b="focus",h=Ya;break;case"focusout":b="blur",h=Ya;break;case"beforeblur":case"afterblur":h=Ya;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":h=Pd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Gv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=uy;break;case _p:case Op:case Mp:h=Xv;break;case Lp:h=fy;break;case"scroll":h=Kv;break;case"wheel":h=py;break;case"copy":case"cut":case"paste":h=ey;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Rd}var v=(t&4)!==0,w=!v&&e==="scroll",m=v?p!==null?p+"Capture":null:p;v=[];for(var g=u,y;g!==null;){y=g;var S=y.stateNode;if(y.tag===5&&S!==null&&(y=S,m!==null&&(S=is(g,m),S!=null&&v.push(hs(g,S,y)))),w)break;g=g.return}0<v.length&&(p=new h(p,b,null,n,d),f.push({event:p,listeners:v}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&n!==Bl&&(b=n.relatedTarget||n.fromElement)&&(rr(b)||b[an]))break e;if((h||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,h?(b=n.relatedTarget||n.toElement,h=u,b=b?rr(b):null,b!==null&&(w=kr(b),b!==w||b.tag!==5&&b.tag!==6)&&(b=null)):(h=null,b=u),h!==b)){if(v=Pd,S="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(v=Rd,S="onPointerLeave",m="onPointerEnter",g="pointer"),w=h==null?p:Fr(h),y=b==null?p:Fr(b),p=new v(S,g+"leave",h,n,d),p.target=w,p.relatedTarget=y,S=null,rr(d)===u&&(v=new v(m,g+"enter",b,n,d),v.target=y,v.relatedTarget=w,S=v),w=S,h&&b)t:{for(v=h,m=b,g=0,y=v;y;y=_r(y))g++;for(y=0,S=m;S;S=_r(S))y++;for(;0<g-y;)v=_r(v),g--;for(;0<y-g;)m=_r(m),y--;for(;g--;){if(v===m||m!==null&&v===m.alternate)break t;v=_r(v),m=_r(m)}v=null}else v=null;h!==null&&Ud(f,p,h,v,!1),b!==null&&w!==null&&Ud(f,w,b,v,!0)}}
vendor: 6,372 bytes, lines 37-38
37e:{if(p=u?Fr(u):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var E=by;else if(Md(p))if(jp)E=Cy;else{E=Ey;var k=Sy}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(E=ky);if(E&&(E=E(e,u))){Tp(f,E,n,d);break e}k&&k(e,p,u),e==="focusout"&&(k=p._wrapperState)&&k.controlled&&p.type==="number"&&Dl(p,"number",p.value)}switch(k=u?Fr(u):window,e){case"focusin":(Md(k)||k.contentEditable==="true")&&(zr=k,Ql=u,Xo=null);break;case"focusout":Xo=Ql=zr=null;break;case"mousedown":Gl=!0;break;case"contextmenu":case"mouseup":case"dragend":Gl=!1,$d(f,n,d);break;case"selectionchange":if(Ny)break;case"keydown":case"keyup":$d(f,n,d)}var C;if(au)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Ir?kp(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(Ep&&n.locale!=="ko"&&(Ir||N!=="onCompositionStart"?N==="onCompositionEnd"&&Ir&&(C=Sp()):(Pn=d,ou="value"in Pn?Pn.value:Pn.textContent,Ir=!0)),k=Fi(u,N),0<k.length&&(N=new Ad(N,e,null,n,d),f.push({event:N,listeners:k}),C?N.data=C:(C=Cp(n),C!==null&&(N.data=C)))),(C=gy?vy(e,n):yy(e,n))&&(u=Fi(u,"onBeforeInput"),0<u.length&&(d=new Ad("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=C))}Ip(f,t)})}function hs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fi(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=is(e,n),s!=null&&r.unshift(hs(e,s,o)),s=is(e,t),s!=null&&r.push(hs(e,s,o))),e=e.return}return r}function _r(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ud(e,t,n,r,o){for(var s=t._reactName,i=[];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=is(n,s),l!=null&&i.unshift(hs(n,l,a))):o||(l=is(n,s),l!=null&&i.push(hs(n,l,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var _y=/\r\n?/g,Oy=/\u0000|\uFFFD/g;function Hd(e){return(typeof e=="string"?e:""+e).replace(_y,`
38`).replace(Oy,"")}function ei(e,t,n){if(t=Hd(t),Hd(e)!==t&&n)throw Error(R(425))}function Bi(){}var Yl=null,Zl=null;function Xl(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 Jl=typeof setTimeout=="function"?setTimeout:void 0,My=typeof clearTimeout=="function"?clearTimeout:void 0,Wd=typeof Promise=="function"?Promise:void 0,Ly=typeof queueMicrotask=="function"?queueMicrotask:typeof Wd<"u"?function(e){return Wd.resolve(null).then(e).catch(Dy)}:Jl;function Dy(e){setTimeout(function(){throw e})}function ol(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),cs(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);cs(t)}function Ln(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 Vd(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 ko=Math.random().toString(36).slice(2),Ut="__reactFiber$"+ko,ps="__reactProps$"+ko,an="__reactContainer$"+ko,ec="__reactEvents$"+ko,Iy="__reactListeners$"+ko,zy="__reactHandles$"+ko;function rr(e){var t=e[Ut];if(t)return t;for(var n=e.parentNode;n;){if(t=n[an]||n[Ut]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Vd(e);e!==null;){if(n=e[Ut])return n;e=Vd(e)}return t}e=n,n=e.parentNode}return null}function Os(e){return e=e[Ut]||e[an],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Fr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function ma(e){return e[ps]||null}var tc=[],Br=-1;function Qn(e){return{current:e}}function ae(e){0>Br||(e.current=tc[Br],tc[Br]=null,Br--)}function oe(e,t){Br++,tc[Br]=e.current,e.current=t}var Un={},ze=Qn(Un),Ge=Qn(!1),gr=Un;function po(e,t){var n=e.type.contextTypes;if(!n)return Un;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ye(e){return e=e.childContextTypes,e!=null}function Ui(){ae(Ge),ae(ze)}function qd(e,t,n){if(ze.current!==Un)throw Error(R(168));oe(ze,t),oe(Ge,n)}function $p(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(R(108,Sv(e)||"Unknown",o));return pe({},n,r)}function Hi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Un,gr=ze.current,oe(ze,e),oe(Ge,Ge.current),!0}function Kd(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=$p(e,t,gr),r.__reactInternalMemoizedMergedChildContext=e,ae(Ge),ae(ze),oe(ze,e)):ae(Ge),oe(Ge,n)}var en=null,ga=!1,sl=!1;function Fp(e){en===null?en=[e]:en.push(e)}function $y(e){ga=!0,Fp(e)}function Gn(){if(!sl&&en!==null){sl=!0;var e=0,t=te;try{var n=en;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}en=null,ga=!1}catch(o){throw en!==null&&(en=en.slice(e+1)),dp(eu,Gn),o}finally{te=t,sl=!1}}return null}var Ur=[],Hr=0,Wi=null,Vi=0,dt=[],ft=0,vr=null,nn=1,rn="";function tr(e,t){Ur[Hr++]=Vi,Ur[Hr++]=Wi,Wi=e,Vi=t}function Bp(e,t,n){dt[ft++]=nn,dt[ft++]=rn,dt[ft++]=vr,vr=e;var r=nn;e=rn;var o=32-At(r)-1;r&=~(1<<o),n+=1;var s=32-At(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,nn=1<<32-At(t)+o|n<<o|r,rn=s+e}else nn=1<<s|n<<o|r,rn=e}function cu(e){e.return!==null&&(tr(e,1),Bp(e,1,0))}function uu(e){for(;e===Wi;)Wi=Ur[--Hr],Ur[Hr]=null,Vi=Ur[--Hr],Ur[Hr]=null;for(;e===vr;)vr=dt[--ft],dt[ft]=null,rn=dt[--ft],dt[ft]=null,nn=dt[--ft],dt[ft]=null}var nt=null,tt=null,ue=!1,Nt=null;function Up(e,t){var n=ht(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 Qd(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 26,836 bytes, lines 38-40
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,nt=e,tt=Ln(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,nt=e,tt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=vr!==null?{id:nn,overflow:rn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ht(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,nt=e,tt=null,!0):!1;default:return!1}}function nc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function rc(e){if(ue){var t=tt;if(t){var n=t;if(!Qd(e,t)){if(nc(e))throw Error(R(418));t=Ln(n.nextSibling);var r=nt;t&&Qd(e,t)?Up(r,n):(e.flags=e.flags&-4097|2,ue=!1,nt=e)}}else{if(nc(e))throw Error(R(418));e.flags=e.flags&-4097|2,ue=!1,nt=e}}}function Gd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;nt=e}function ti(e){if(e!==nt)return!1;if(!ue)return Gd(e),ue=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Xl(e.type,e.memoizedProps)),t&&(t=tt)){if(nc(e))throw Hp(),Error(R(418));for(;t;)Up(e,t),t=Ln(t.nextSibling)}if(Gd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){tt=Ln(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}tt=null}}else tt=nt?Ln(e.stateNode.nextSibling):null;return!0}function Hp(){for(var e=tt;e;)e=Ln(e.nextSibling)}function mo(){tt=nt=null,ue=!1}function du(e){Nt===null?Nt=[e]:Nt.push(e)}var Fy=fn.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(R(309));var r=n.stateNode}if(!r)throw Error(R(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=o.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(R(284));if(!n._owner)throw Error(R(290,e))}return e}function ni(e,t){throw e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Yd(e){var t=e._init;return t(e._payload)}function Wp(e){function t(m,g){if(e){var y=m.deletions;y===null?(m.deletions=[g],m.flags|=16):y.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function o(m,g){return m=$n(m,g),m.index=0,m.sibling=null,m}function s(m,g,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<g?(m.flags|=2,g):y):(m.flags|=2,g)):(m.flags|=1048576,g)}function i(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,g,y,S){return g===null||g.tag!==6?(g=fl(y,m.mode,S),g.return=m,g):(g=o(g,y),g.return=m,g)}function l(m,g,y,S){var E=y.type;return E===Dr?d(m,g,y.props.children,S,y.key):g!==null&&(g.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===wn&&Yd(E)===g.type)?(S=o(g,y.props),S.ref=Do(m,g,y),S.return=m,S):(S=Ti(y.type,y.key,y.props,null,m.mode,S),S.ref=Do(m,g,y),S.return=m,S)}function u(m,g,y,S){return g===null||g.tag!==4||g.stateNode.containerInfo!==y.containerInfo||g.stateNode.implementation!==y.implementation?(g=hl(y,m.mode,S),g.return=m,g):(g=o(g,y.children||[]),g.return=m,g)}function d(m,g,y,S,E){return g===null||g.tag!==7?(g=pr(y,m.mode,S,E),g.return=m,g):(g=o(g,y),g.return=m,g)}function f(m,g,y){if(typeof g=="string"&&g!==""||typeof g=="number")return g=fl(""+g,m.mode,y),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Vs:return y=Ti(g.type,g.key,g.props,null,m.mode,y),y.ref=Do(m,null,g),y.return=m,y;case Lr:return g=hl(g,m.mode,y),g.return=m,g;case wn:var S=g._init;return f(m,S(g._payload),y)}if(Vo(g)||Ro(g))return g=pr(g,m.mode,y,null),g.return=m,g;ni(m,g)}return null}function p(m,g,y,S){var E=g!==null?g.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return E!==null?null:a(m,g,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Vs:return y.key===E?l(m,g,y,S):null;case Lr:return y.key===E?u(m,g,y,S):null;case wn:return E=y._init,p(m,g,E(y._payload),S)}if(Vo(y)||Ro(y))return E!==null?null:d(m,g,y,S,null);ni(m,y)}return null}function h(m,g,y,S,E){if(typeof S=="string"&&S!==""||typeof S=="number")return m=m.get(y)||null,a(g,m,""+S,E);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Vs:return m=m.get(S.key===null?y:S.key)||null,l(g,m,S,E);case Lr:return m=m.get(S.key===null?y:S.key)||null,u(g,m,S,E);case wn:var k=S._init;return h(m,g,y,k(S._payload),E)}if(Vo(S)||Ro(S))return m=m.get(y)||null,d(g,m,S,E,null);ni(g,S)}return null}function b(m,g,y,S){for(var E=null,k=null,C=g,N=g=0,O=null;C!==null&&N<y.length;N++){C.index>N?(O=C,C=null):O=C.sibling;var _=p(m,C,y[N],S);if(_===null){C===null&&(C=O);break}e&&C&&_.alternate===null&&t(m,C),g=s(_,g,N),k===null?E=_:k.sibling=_,k=_,C=O}if(N===y.length)return n(m,C),ue&&tr(m,N),E;if(C===null){for(;N<y.length;N++)C=f(m,y[N],S),C!==null&&(g=s(C,g,N),k===null?E=C:k.sibling=C,k=C);return ue&&tr(m,N),E}for(C=r(m,C);N<y.length;N++)O=h(C,m,N,y[N],S),O!==null&&(e&&O.alternate!==null&&C.delete(O.key===null?N:O.key),g=s(O,g,N),k===null?E=O:k.sibling=O,k=O);return e&&C.forEach(function($){return t(m,$)}),ue&&tr(m,N),E}function v(m,g,y,S){var E=Ro(y);if(typeof E!="function")throw Error(R(150));if(y=E.call(y),y==null)throw Error(R(151));for(var k=E=null,C=g,N=g=0,O=null,_=y.next();C!==null&&!_.done;N++,_=y.next()){C.index>N?(O=C,C=null):O=C.sibling;var $=p(m,C,_.value,S);if($===null){C===null&&(C=O);break}e&&C&&$.alternate===null&&t(m,C),g=s($,g,N),k===null?E=$:k.sibling=$,k=$,C=O}if(_.done)return n(m,C),ue&&tr(m,N),E;if(C===null){for(;!_.done;N++,_=y.next())_=f(m,_.value,S),_!==null&&(g=s(_,g,N),k===null?E=_:k.sibling=_,k=_);return ue&&tr(m,N),E}for(C=r(m,C);!_.done;N++,_=y.next())_=h(C,m,N,_.value,S),_!==null&&(e&&_.alternate!==null&&C.delete(_.key===null?N:_.key),g=s(_,g,N),k===null?E=_:k.sibling=_,k=_);return e&&C.forEach(function(D){return t(m,D)}),ue&&tr(m,N),E}function w(m,g,y,S){if(typeof y=="object"&&y!==null&&y.type===Dr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Vs:e:{for(var E=y.key,k=g;k!==null;){if(k.key===E){if(E=y.type,E===Dr){if(k.tag===7){n(m,k.sibling),g=o(k,y.props.children),g.return=m,m=g;break e}}else if(k.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===wn&&Yd(E)===k.type){n(m,k.sibling),g=o(k,y.props),g.ref=Do(m,k,y),g.return=m,m=g;break e}n(m,k);break}else t(m,k);k=k.sibling}y.type===Dr?(g=pr(y.props.children,m.mode,S,y.key),g.return=m,m=g):(S=Ti(y.type,y.key,y.props,null,m.mode,S),S.ref=Do(m,g,y),S.return=m,m=S)}return i(m);case Lr:e:{for(k=y.key;g!==null;){if(g.key===k)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){n(m,g.sibling),g=o(g,y.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=hl(y,m.mode,S),g.return=m,m=g}return i(m);case wn:return k=y._init,w(m,g,k(y._payload),S)}if(Vo(y))return b(m,g,y,S);if(Ro(y))return v(m,g,y,S);ni(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(n(m,g.sibling),g=o(g,y),g.return=m,m=g):(n(m,g),g=fl(y,m.mode,S),g.return=m,m=g),i(m)):n(m,g)}return w}var go=Wp(!0),Vp=Wp(!1),qi=Qn(null),Ki=null,Wr=null,fu=null;function hu(){fu=Wr=Ki=null}function pu(e){var t=qi.current;ae(qi),e._currentValue=t}function oc(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 Xr(e,t){Ki=e,fu=Wr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Qe=!0),e.firstContext=null)}function mt(e){var t=e._currentValue;if(fu!==e)if(e={context:e,memoizedValue:t,next:null},Wr===null){if(Ki===null)throw Error(R(308));Wr=e,Ki.dependencies={lanes:0,firstContext:e}}else Wr=Wr.next=e;return t}var or=null;function mu(e){or===null?or=[e]:or.push(e)}function qp(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,mu(t)):(n.next=o.next,o.next=n),t.interleaved=n,ln(e,r)}function ln(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 bn=!1;function gu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kp(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 on(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Dn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ln(e,n)}return o=r.interleaved,o===null?(t.next=t,mu(r)):(t.next=o.next,o.next=t),r.interleaved=t,ln(e,n)}function wi(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,tu(e,n)}}function Zd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Qi(e,t,n,r){var o=e.updateQueue;bn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,i===null?s=u:i.next=u,i=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==i&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=l))}if(s!==null){var f=o.baseState;i=0,d=u=l=null,a=s;do{var p=a.lane,h=a.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var b=e,v=a;switch(p=t,h=n,v.tag){case 1:if(b=v.payload,typeof b=="function"){f=b.call(h,f,p);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=v.payload,p=typeof b=="function"?b.call(h,f,p):b,p==null)break e;f=pe({},f,p);break e;case 2:bn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[a]:p.push(a))}else h={eventTime:h,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=h,l=f):d=d.next=h,i|=p;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;p=a,a=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(d===null&&(l=f),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);xr|=i,e.lanes=i,e.memoizedState=f}}function Xd(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(R(191,o));o.call(r)}}}var Ms={},Vt=Qn(Ms),ms=Qn(Ms),gs=Qn(Ms);function sr(e){if(e===Ms)throw Error(R(174));return e}function vu(e,t){switch(oe(gs,t),oe(ms,e),oe(Vt,Ms),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:zl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=zl(t,e)}ae(Vt),oe(Vt,t)}function vo(){ae(Vt),ae(ms),ae(gs)}function Qp(e){sr(gs.current);var t=sr(Vt.current),n=zl(t,e.type);t!==n&&(oe(ms,e),oe(Vt,n))}function yu(e){ms.current===e&&(ae(Vt),ae(ms))}var fe=Qn(0);function Gi(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 il=[];function xu(){for(var e=0;e<il.length;e++)il[e]._workInProgressVersionPrimary=null;il.length=0}var bi=fn.ReactCurrentDispatcher,al=fn.ReactCurrentBatchConfig,yr=0,he=null,Se=null,Te=null,Yi=!1,Jo=!1,vs=0,By=0;function Oe(){throw Error(R(321))}function wu(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 bu(e,t,n,r,o,s){if(yr=s,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,bi.current=e===null||e.memoizedState===null?Vy:qy,e=n(r,o),Jo){s=0;do{if(Jo=!1,vs=0,25<=s)throw Error(R(301));s+=1,Te=Se=null,t.updateQueue=null,bi.current=Ky,e=n(r,o)}while(Jo)}if(bi.current=Zi,t=Se!==null&&Se.next!==null,yr=0,Te=Se=he=null,Yi=!1,t)throw Error(R(300));return e}function Su(){var e=vs!==0;return vs=0,e}function zt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Te===null?he.memoizedState=Te=e:Te=Te.next=e,Te}function gt(){if(Se===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Se.next;var t=Te===null?he.memoizedState:Te.next;if(t!==null)Te=t,Se=e;else{if(e===null)throw Error(R(310));Se=e,e={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},Te===null?he.memoizedState=Te=e:Te=Te.next=e}return Te}function ys(e,t){return typeof t=="function"?t(e):t}function ll(e){var t=gt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=Se,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var a=i=null,l=null,u=s;do{var d=u.lane;if((yr&d)===d)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 f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,i=r):l=l.next=f,he.lanes|=d,xr|=d}u=u.next}while(u!==null&&u!==s);l===null?i=r:l.next=a,_t(r,t.memoizedState)||(Qe=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,he.lanes|=s,xr|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function cl(e){var t=gt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);_t(s,t.memoizedState)||(Qe=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Gp(){}function Yp(e,t){var n=he,r=gt(),o=t(),s=!_t(r.memoizedState,o);if(s&&(r.memoizedState=o,Qe=!0),r=r.queue,Eu(Jp.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Te!==null&&Te.memoizedState.tag&1){if(n.flags|=2048,xs(9,Xp.bind(null,n,r,o,t),void 0,null),je===null)throw Error(R(349));yr&30||Zp(n,t,o)}return o}function Zp(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 Xp(e,t,n,r){t.value=n,t.getSnapshot=r,em(t)&&tm(e)}function Jp(e,t,n){return n(function(){em(t)&&tm(e)})}function em(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_t(e,n)}catch{return!0}}function tm(e){var t=ln(e,1);t!==null&&Rt(t,e,1,-1)}function Jd(e){var t=zt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ys,lastRenderedState:e},t.queue=e,e=e.dispatch=Wy.bind(null,he,e),[t.memoizedState,e]}function xs(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 nm(){return gt().memoizedState}function Si(e,t,n,r){var o=zt();he.flags|=e,o.memoizedState=xs(1|t,n,void 0,r===void 0?null:r)}function va(e,t,n,r){var o=gt();r=r===void 0?null:r;var s=void 0;if(Se!==null){var i=Se.memoizedState;if(s=i.destroy,r!==null&&wu(r,i.deps)){o.memoizedState=xs(t,n,s,r);return}}he.flags|=e,o.memoizedState=xs(1|t,n,s,r)}function ef(e,t){return Si(8390656,8,e,t)}function Eu(e,t){return va(2048,8,e,t)}function rm(e,t){return va(4,2,e,t)}function om(e,t){return va(4,4,e,t)}function sm(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,va(4,4,sm.bind(null,t,e),n)}function ku(){}function am(e,t){var n=gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&wu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function lm(e,t){var n=gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&wu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function cm(e,t,n){return yr&21?(_t(n,t)||(n=pp(),he.lanes|=n,xr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Qe=!0),e.memoizedState=n)}function Uy(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=al.transition;al.transition={};try{e(!1),t()}finally{te=n,al.transition=r}}function um(){return gt().memoizedState}function Hy(e,t,n){var r=zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},dm(e))fm(t,n);else if(n=qp(e,t,n,r),n!==null){var o=He();Rt(n,e,r,o),hm(n,t,r)}}function Wy(e,t,n){var r=zn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(dm(e))fm(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,n);if(o.hasEagerState=!0,o.eagerState=a,_t(a,i)){var l=t.interleaved;l===null?(o.next=o,mu(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=qp(e,t,o,r),n!==null&&(o=He(),Rt(n,e,r,o),hm(n,t,r))}}function dm(e){var t=e.alternate;return e===he||t!==null&&t===he}function fm(e,t){Jo=Yi=!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,tu(e,n)}}var Zi={readContext:mt,useCallback:Oe,useContext:Oe,useEffect:Oe,useImperativeHandle:Oe,useInsertionEffect:Oe,useLayoutEffect:Oe,useMemo:Oe,useReducer:Oe,useRef:Oe,useState:Oe,useDebugValue:Oe,useDeferredValue:Oe,useTransition:Oe,useMutableSource:Oe,useSyncExternalStore:Oe,useId:Oe,unstable_isNewReconciler:!1},Vy={readContext:mt,useCallback:function(e,t){return zt().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:ef,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Si(4194308,4,sm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Si(4194308,4,e,t)},useInsertionEffect:function(e,t){return Si(4,2,e,t)},useMemo:function(e,t){var n=zt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=zt();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=Hy.bind(null,he,e),[r.memoizedState,e]},useRef:function(e){var t=zt();return e={current:e},t.memoizedState=e},useState:Jd,useDebugValue:ku,useDeferredValue:function(e){return zt().memoizedState=e},useTransition:function(){var e=Jd(!1),t=e[0];return e=Uy.bind(null,e[1]),zt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,o=zt();if(ue){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),je===null)throw Error(R(349));yr&30||Zp(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,ef(Jp.bind(null,r,s,e),[e]),r.flags|=2048,xs(9,Xp.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=zt(),t=je.identifierPrefix;if(ue){var n=rn,r=nn;n=(r&~(1<<32-At(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=By++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},qy={readContext:mt,useCallback:am,useContext:mt,useEffect:Eu,useImperativeHandle:im,useInsertionEffect:rm,useLayoutEffect:om,useMemo:lm,useReducer:ll,useRef:nm,useState:function(){return ll(ys)},useDebugValue:ku,useDeferredValue:function(e){var t=gt();return cm(t,Se.memoizedState,e)},useTransition:function(){var e=ll(ys)[0],t=gt().memoizedState;return[e,t]},useMutableSource:Gp,useSyncExternalStore:Yp,useId:um,unstable_isNewReconciler:!1},Ky={readContext:mt,useCallback:am,useContext:mt,useEffect:Eu,useImperativeHandle:im,useInsertionEffect:rm,useLayoutEffect:om,useMemo:lm,useReducer:cl,useRef:nm,useState:function(){return cl(ys)},useDebugValue:ku,useDeferredValue:function(e){var t=gt();return Se===null?t.memoizedState=e:cm(t,Se.memoizedState,e)},useTransition:function(){var e=cl(ys)[0],t=gt().memoizedState;return[e,t]},useMutableSource:Gp,useSyncExternalStore:Yp,useId:um,unstable_isNewReconciler:!1};function Et(e,t){if(e&&e.defaultProps){t=pe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function sc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:pe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ya={isMounted:function(e){return(e=e._reactInternals)?kr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=He(),o=zn(e),s=on(r,o);s.payload=t,n!=null&&(s.callback=n),t=Dn(e,s,o),t!==null&&(Rt(t,e,o,r),wi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=He(),o=zn(e),s=on(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Dn(e,s,o),t!==null&&(Rt(t,e,o,r),wi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),r=zn(e),o=on(n,r);o.tag=2,t!=null&&(o.callback=t),t=Dn(e,o,r),t!==null&&(Rt(t,e,r,n),wi(t,e,r))}};function tf(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!ds(n,r)||!ds(o,s):!0}function pm(e,t,n){var r=!1,o=Un,s=t.contextType;return typeof s=="object"&&s!==null?s=mt(s):(o=Ye(t)?gr:ze.current,r=t.contextTypes,s=(r=r!=null)?po(e,o):Un),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ya,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function nf(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&&ya.enqueueReplaceState(t,t.state,null)}function ic(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},gu(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=mt(s):(s=Ye(t)?gr:ze.current,o.context=po(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(sc(e,t,s,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&ya.enqueueReplaceState(o,o.state,null),Qi(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function yo(e,t){try{var n="",r=t;do n+=bv(r),r=r.return;while(r);var o=n}catch(s){o=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:o,digest:null}}function ul(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ac(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Qy=typeof WeakMap=="function"?WeakMap:Map;function mm(e,t,n){n=on(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ji||(Ji=!0,vc=r),ac(e,t)},n}function gm(e,t,n){n=on(-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(){ac(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){ac(e,t),typeof r!="function"&&(In===null?In=new Set([this]):In.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function rf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Qy;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=lx.bind(null,e,t,n),t.then(e,e))}function of(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 sf(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=on(-1,1),t.tag=2,Dn(n,t,1))),n.lanes|=1),e)}var Gy=fn.ReactCurrentOwner,Qe=!1;function Be(e,t,n,r){t.child=e===null?Vp(t,null,n,r):go(t,e.child,n,r)}function af(e,t,n,r,o){n=n.render;var s=t.ref;return Xr(t,o),r=bu(e,t,n,r,s,o),n=Su(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,cn(e,t,o)):(ue&&n&&cu(t),t.flags|=1,Be(e,t,r,o),t.child)}function lf(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!_u(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,vm(e,t,s,r,o)):(e=Ti(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:ds,n(i,r)&&e.ref===t.ref)return cn(e,t,o)}return t.flags|=1,e=$n(s,r),e.ref=t.ref,e.return=t,t.child=e}function vm(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(ds(s,r)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(Qe=!0);else return t.lanes=e.lanes,cn(e,t,o)}return lc(e,t,n,r,o)}function ym(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oe(qr,Je),Je|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oe(qr,Je),Je|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,oe(qr,Je),Je|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,oe(qr,Je),Je|=r;return Be(e,t,o,n),t.child}function xm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 10,159 bytes, line 40
40function lc(e,t,n,r,o){var s=Ye(n)?gr:ze.current;return s=po(t,s),Xr(t,o),n=bu(e,t,n,r,s,o),r=Su(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,cn(e,t,o)):(ue&&r&&cu(t),t.flags|=1,Be(e,t,n,o),t.child)}function cf(e,t,n,r,o){if(Ye(n)){var s=!0;Hi(t)}else s=!1;if(Xr(t,o),t.stateNode===null)Ei(e,t),pm(t,n,r),ic(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=mt(u):(u=Ye(n)?gr:ze.current,u=po(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||l!==u)&&nf(t,i,r,u),bn=!1;var p=t.memoizedState;i.state=p,Qi(t,r,i,o),l=t.memoizedState,a!==r||p!==l||Ge.current||bn?(typeof d=="function"&&(sc(t,n,d,r),l=t.memoizedState),(a=bn||tf(t,n,a,r,p,l,u))?(f||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Kp(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Et(t.type,a),i.props=u,f=t.pendingProps,p=i.context,l=n.contextType,typeof l=="object"&&l!==null?l=mt(l):(l=Ye(n)?gr:ze.current,l=po(t,l));var h=n.getDerivedStateFromProps;(d=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==f||p!==l)&&nf(t,i,r,l),bn=!1,p=t.memoizedState,i.state=p,Qi(t,r,i,o);var b=t.memoizedState;a!==f||p!==b||Ge.current||bn?(typeof h=="function"&&(sc(t,n,h,r),b=t.memoizedState),(u=bn||tf(t,n,u,r,p,b,l)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,b,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,b,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),i.props=r,i.state=b,i.context=l,r=u):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return cc(e,t,n,r,s,o)}function cc(e,t,n,r,o,s){xm(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&Kd(t,n,!1),cn(e,t,s);r=t.stateNode,Gy.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=go(t,e.child,null,s),t.child=go(t,null,a,s)):Be(e,t,a,s),t.memoizedState=r.state,o&&Kd(t,n,!0),t.child}function wm(e){var t=e.stateNode;t.pendingContext?qd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&qd(e,t.context,!1),vu(e,t.containerInfo)}function uf(e,t,n,r,o){return mo(),du(o),t.flags|=256,Be(e,t,n,r),t.child}var uc={dehydrated:null,treeContext:null,retryLane:0};function dc(e){return{baseLanes:e,cachePool:null,transitions:null}}function bm(e,t,n){var r=t.pendingProps,o=fe.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),oe(fe,o&1),e===null)return rc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=ba(i,r,0,null),e=pr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=dc(n),t.memoizedState=uc,e):Cu(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Yy(e,t,i,r,a,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=$n(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?s=$n(a,s):(s=pr(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?dc(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=uc,r}return s=e.child,e=s.sibling,r=$n(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Cu(e,t){return t=ba({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ri(e,t,n,r){return r!==null&&du(r),go(t,e.child,null,n),e=Cu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Yy(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=ul(Error(R(422))),ri(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=ba({mode:"visible",children:r.children},o,0,null),s=pr(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&go(t,e.child,null,i),t.child.memoizedState=dc(i),t.memoizedState=uc,s);if(!(t.mode&1))return ri(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(R(419)),r=ul(s,r,void 0),ri(e,t,i,r)}if(a=(i&e.childLanes)!==0,Qe||a){if(r=je,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,ln(e,o),Rt(r,e,o,-1))}return Ru(),r=ul(Error(R(421))),ri(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=cx.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,tt=Ln(o.nextSibling),nt=t,ue=!0,Nt=null,e!==null&&(dt[ft++]=nn,dt[ft++]=rn,dt[ft++]=vr,nn=e.id,rn=e.overflow,vr=t),t=Cu(t,r.children),t.flags|=4096,t)}function df(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),oc(e.return,t,n)}function dl(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function Sm(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(Be(e,t,r.children,n),r=fe.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&&df(e,n,t);else if(e.tag===19)df(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(oe(fe,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&&Gi(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),dl(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Gi(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}dl(t,!0,n,null,s);break;case"together":dl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ei(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function cn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),xr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=$n(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=$n(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Zy(e,t,n){switch(t.tag){case 3:wm(t),mo();break;case 5:Qp(t);break;case 1:Ye(t.type)&&Hi(t);break;case 4:vu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;oe(qi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(oe(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?bm(e,t,n):(oe(fe,fe.current&1),e=cn(e,t,n),e!==null?e.sibling:null);oe(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Sm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),oe(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,ym(e,t,n)}return cn(e,t,n)}var Em,fc,km,Cm;Em=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}};fc=function(){};km=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,sr(Vt.current);var s=null;switch(n){case"input":o=Ml(e,o),r=Ml(e,r),s=[];break;case"select":o=pe({},o,{value:void 0}),r=pe({},r,{value:void 0}),s=[];break;case"textarea":o=Il(e,o),r=Il(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Bi)}$l(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(os.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];
vendor: 5,266 bytes, line 40
40if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(i in a)!a.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&a[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(os.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ie("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Cm=function(e,t,n,r){n!==r&&(t.flags|=4)};function Io(e,t){if(!ue)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 Me(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 Xy(e,t,n){var r=t.pendingProps;switch(uu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Me(t),null;case 1:return Ye(t.type)&&Ui(),Me(t),null;case 3:return r=t.stateNode,vo(),ae(Ge),ae(ze),xu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ti(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Nt!==null&&(wc(Nt),Nt=null))),fc(e,t),Me(t),null;case 5:yu(t);var o=sr(gs.current);if(n=t.type,e!==null&&t.stateNode!=null)km(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(R(166));return Me(t),null}if(e=sr(Vt.current),ti(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Ut]=t,r[ps]=s,e=(t.mode&1)!==0,n){case"dialog":ie("cancel",r),ie("close",r);break;case"iframe":case"object":case"embed":ie("load",r);break;case"video":case"audio":for(o=0;o<Ko.length;o++)ie(Ko[o],r);break;case"source":ie("error",r);break;case"img":case"image":case"link":ie("error",r),ie("load",r);break;case"details":ie("toggle",r);break;case"input":xd(r,s),ie("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ie("invalid",r);break;case"textarea":bd(r,s),ie("invalid",r)}$l(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];i==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&ei(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&ei(r.textContent,a,e),o=["children",""+a]):os.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&ie("scroll",r)}switch(n){case"input":qs(r),wd(r,s,!0);break;case"textarea":qs(r),Sd(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Bi)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Jh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ut]=t,e[ps]=r,Em(e,t,!1,!1),t.stateNode=e;e:{switch(i=Fl(n,r),n){case"dialog":ie("cancel",e),ie("close",e),o=r;break;case"iframe":case"object":case"embed":ie("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ko.length;o++)ie(Ko[o],e);o=r;break;case"source":ie("error",e),o=r;break;case"img":case"image":case"link":ie("error",e),ie("load",e),o=r;break;case"details":ie("toggle",e),o=r;break;case"input":xd(e,r),o=Ml(e,r),ie("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=pe({},r,{value:void 0}),ie("invalid",e);break;case"textarea":bd(e,r),o=Il(e,r),ie("invalid",e);break;default:o=r}$l(n,o),a=o;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?np(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&ep(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ss(e,l):typeof l=="number"&&ss(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(os.hasOwnProperty(s)?l!=null&&s==="onScroll"&&ie("scroll",e):l!=null&&Gc(e,s,l,i))}switch(n){case"input":qs(e),wd(e,r,!1);break;case"textarea":qs(e),Sd(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Bn(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Qr(e,!!r.multiple,s,!1):r.defaultValue!=null&&Qr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Bi)}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)}
vendor: 5,444 bytes, line 40
40return Me(t),null;case 6:if(e&&t.stateNode!=null)Cm(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(R(166));if(n=sr(gs.current),sr(Vt.current),ti(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ut]=t,(s=r.nodeValue!==n)&&(e=nt,e!==null))switch(e.tag){case 3:ei(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ei(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ut]=t,t.stateNode=r}return Me(t),null;case 13:if(ae(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ue&&tt!==null&&t.mode&1&&!(t.flags&128))Hp(),mo(),t.flags|=98560,s=!1;else if(s=ti(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(R(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(R(317));s[Ut]=t}else mo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Me(t),s=!1}else Nt!==null&&(wc(Nt),Nt=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||fe.current&1?ke===0&&(ke=3):Ru())),t.updateQueue!==null&&(t.flags|=4),Me(t),null);case 4:return vo(),fc(e,t),e===null&&fs(t.stateNode.containerInfo),Me(t),null;case 10:return pu(t.type._context),Me(t),null;case 17:return Ye(t.type)&&Ui(),Me(t),null;case 19:if(ae(fe),s=t.memoizedState,s===null)return Me(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)Io(s,!1);else{if(ke!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Gi(e),i!==null){for(t.flags|=128,Io(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return oe(fe,fe.current&1|2),t.child}e=e.sibling}s.tail!==null&&xe()>xo&&(t.flags|=128,r=!0,Io(s,!1),t.lanes=4194304)}else{if(!r)if(e=Gi(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Io(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!ue)return Me(t),null}else 2*xe()-s.renderingStartTime>xo&&n!==1073741824&&(t.flags|=128,r=!0,Io(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=xe(),t.sibling=null,n=fe.current,oe(fe,r?n&1|2:n&1),t):(Me(t),null);case 22:case 23:return Au(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Je&1073741824&&(Me(t),t.subtreeFlags&6&&(t.flags|=8192)):Me(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function Jy(e,t){switch(uu(t),t.tag){case 1:return Ye(t.type)&&Ui(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vo(),ae(Ge),ae(ze),xu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return yu(t),null;case 13:if(ae(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));mo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(fe),null;case 4:return vo(),null;case 10:return pu(t.type._context),null;case 22:case 23:return Au(),null;case 24:return null;default:return null}}var oi=!1,Ie=!1,ex=typeof WeakSet=="function"?WeakSet:Set,I=null;function Vr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function hc(e,t,n){try{n()}catch(r){ye(e,t,r)}}var ff=!1;function tx(e,t){if(Yl=zi,e=Ap(),lu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,a=-1,l=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||o!==0&&f.nodeType!==3||(a=i+o),f!==s||r!==0&&f.nodeType!==3||(l=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(h=f.firstChild)!==null;)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(a=i),p===s&&++d===r&&(l=i),(h=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Zl={focusedElem:e,selectionRange:n},zi=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var v=b.memoizedProps,w=b.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:Et(t.type,v),w);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(S){ye(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return b=ff,ff=!1,b}
vendor: 1,486 bytes, line 40
40function es(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&hc(t,n,s)}o=o.next}while(o!==r)}}function xa(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 pc(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 Tm(e){var t=e.alternate;t!==null&&(e.alternate=null,Tm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ut],delete t[ps],delete t[ec],delete t[Iy],delete t[zy])),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 jm(e){return e.tag===5||e.tag===3||e.tag===4}function hf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jm(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 mc(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=Bi));
vendor: 1,415 bytes, line 40
40else if(r!==4&&(e=e.child,e!==null))for(mc(e,t,n),e=e.sibling;e!==null;)mc(e,t,n),e=e.sibling}function gc(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(gc(e,t,n),e=e.sibling;e!==null;)gc(e,t,n),e=e.sibling}var Pe=null,jt=!1;function gn(e,t,n){for(n=n.child;n!==null;)Nm(e,t,n),n=n.sibling}function Nm(e,t,n){if(Wt&&typeof Wt.onCommitFiberUnmount=="function")try{Wt.onCommitFiberUnmount(da,n)}catch{}switch(n.tag){case 5:Ie||Vr(n,t);case 6:var r=Pe,o=jt;Pe=null,gn(e,t,n),Pe=r,jt=o,Pe!==null&&(jt?(e=Pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Pe.removeChild(n.stateNode));break;case 18:Pe!==null&&(jt?(e=Pe,n=n.stateNode,e.nodeType===8?ol(e.parentNode,n):e.nodeType===1&&ol(e,n),cs(e)):ol(Pe,n.stateNode));break;case 4:r=Pe,o=jt,Pe=n.stateNode.containerInfo,jt=!0,gn(e,t,n),Pe=r,jt=o;break;case 0:case 11:case 14:case 15:if(!Ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&hc(n,t,i),o=o.next}while(o!==r)}gn(e,t,n);break;case 1:if(!Ie&&(Vr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ye(n,t,a)}gn(e,t,n);break;case 21:gn(e,t,n);break;case 22:n.mode&1?(Ie=(r=Ie)||n.memoizedState!==null,gn(e,t,n),Ie=r):gn(e,t,n);break;
vendor: 21,558 bytes, line 40
40default:gn(e,t,n)}}function pf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ex),t.forEach(function(r){var o=ux.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function wt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:Pe=a.stateNode,jt=!1;break e;case 3:Pe=a.stateNode.containerInfo,jt=!0;break e;case 4:Pe=a.stateNode.containerInfo,jt=!0;break e}a=a.return}if(Pe===null)throw Error(R(160));Nm(s,i,o),Pe=null,jt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){ye(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Pm(t,e),t=t.sibling}function Pm(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(wt(t,e),Dt(e),r&4){try{es(3,e,e.return),xa(3,e)}catch(v){ye(e,e.return,v)}try{es(5,e,e.return)}catch(v){ye(e,e.return,v)}}break;case 1:wt(t,e),Dt(e),r&512&&n!==null&&Vr(n,n.return);break;case 5:if(wt(t,e),Dt(e),r&512&&n!==null&&Vr(n,n.return),e.flags&32){var o=e.stateNode;try{ss(o,"")}catch(v){ye(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Zh(o,s),Fl(a,i);var u=Fl(a,s);for(i=0;i<l.length;i+=2){var d=l[i],f=l[i+1];d==="style"?np(o,f):d==="dangerouslySetInnerHTML"?ep(o,f):d==="children"?ss(o,f):Gc(o,d,f,u)}switch(a){case"input":Ll(o,s);break;case"textarea":Xh(o,s);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var h=s.value;h!=null?Qr(o,!!s.multiple,h,!1):p!==!!s.multiple&&(s.defaultValue!=null?Qr(o,!!s.multiple,s.defaultValue,!0):Qr(o,!!s.multiple,s.multiple?[]:"",!1))}o[ps]=s}catch(v){ye(e,e.return,v)}}break;case 6:if(wt(t,e),Dt(e),r&4){if(e.stateNode===null)throw Error(R(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(v){ye(e,e.return,v)}}break;case 3:if(wt(t,e),Dt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{cs(t.containerInfo)}catch(v){ye(e,e.return,v)}break;case 4:wt(t,e),Dt(e);break;case 13:wt(t,e),Dt(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(Nu=xe())),r&4&&pf(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Ie=(u=Ie)||d,wt(t,e),Ie=u):wt(t,e),Dt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(I=e,d=e.child;d!==null;){for(f=I=d;I!==null;){switch(p=I,h=p.child,p.tag){case 0:case 11:case 14:case 15:es(4,p,p.return);break;case 1:Vr(p,p.return);var b=p.stateNode;if(typeof b.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(v){ye(r,n,v)}}break;case 5:Vr(p,p.return);break;case 22:if(p.memoizedState!==null){gf(f);continue}}h!==null?(h.return=p,I=h):gf(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{o=f.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,l=f.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=tp("display",i))}catch(v){ye(e,e.return,v)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){ye(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:wt(t,e),Dt(e),r&4&&pf(e);break;case 21:break;default:wt(t,e),Dt(e)}}function Dt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(jm(n)){var r=n;break e}n=n.return}throw Error(R(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(ss(o,""),r.flags&=-33);var s=hf(e);gc(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,a=hf(e);mc(e,a,i);break;default:throw Error(R(161))}}catch(l){ye(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function nx(e,t,n){I=e,Am(e)}function Am(e,t,n){for(var r=(e.mode&1)!==0;I!==null;){var o=I,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||oi;if(!i){var a=o.alternate,l=a!==null&&a.memoizedState!==null||Ie;a=oi;var u=Ie;if(oi=i,(Ie=l)&&!u)for(I=o;I!==null;)i=I,l=i.child,i.tag===22&&i.memoizedState!==null?vf(o):l!==null?(l.return=i,I=l):vf(o);for(;s!==null;)I=s,Am(s),s=s.sibling;I=o,oi=a,Ie=u}mf(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,I=s):mf(e)}}function mf(e){for(;I!==null;){var t=I;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ie||xa(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ie)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Et(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Xd(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Xd(t,i,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 d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&cs(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(R(163))}Ie||t.flags&512&&pc(t)}catch(p){ye(t,t.return,p)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function gf(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function vf(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{xa(4,t)}catch(l){ye(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){ye(t,o,l)}}var s=t.return;try{pc(t)}catch(l){ye(t,s,l)}break;case 5:var i=t.return;try{pc(t)}catch(l){ye(t,i,l)}}}catch(l){ye(t,t.return,l)}if(t===e){I=null;break}var a=t.sibling;if(a!==null){a.return=t.return,I=a;break}I=t.return}}var rx=Math.ceil,Xi=fn.ReactCurrentDispatcher,Tu=fn.ReactCurrentOwner,pt=fn.ReactCurrentBatchConfig,J=0,je=null,we=null,Ae=0,Je=0,qr=Qn(0),ke=0,ws=null,xr=0,wa=0,ju=0,ts=null,Ke=null,Nu=0,xo=1/0,Jt=null,Ji=!1,vc=null,In=null,si=!1,An=null,ea=0,ns=0,yc=null,ki=-1,Ci=0;function He(){return J&6?xe():ki!==-1?ki:ki=xe()}function zn(e){return e.mode&1?J&2&&Ae!==0?Ae&-Ae:Fy.transition!==null?(Ci===0&&(Ci=pp()),Ci):(e=te,e!==0||(e=window.event,e=e===void 0?16:bp(e.type)),e):1}function Rt(e,t,n,r){if(50<ns)throw ns=0,yc=null,Error(R(185));Rs(e,n,r),(!(J&2)||e!==je)&&(e===je&&(!(J&2)&&(wa|=n),ke===4&&En(e,Ae)),Ze(e,r),n===1&&J===0&&!(t.mode&1)&&(xo=xe()+500,ga&&Gn()))}function Ze(e,t){var n=e.callbackNode;Fv(e,t);var r=Ii(e,e===je?Ae:0);if(r===0)n!==null&&Cd(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Cd(n),t===1)e.tag===0?$y(yf.bind(null,e)):Fp(yf.bind(null,e)),Ly(function(){!(J&6)&&Gn()}),n=null;else{switch(mp(r)){case 1:n=eu;break;case 4:n=fp;break;case 16:n=Di;break;case 536870912:n=hp;break;default:n=Di}n=zm(n,Rm.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Rm(e,t){if(ki=-1,Ci=0,J&6)throw Error(R(327));var n=e.callbackNode;if(Jr()&&e.callbackNode!==n)return null;var r=Ii(e,e===je?Ae:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ta(e,r);else{t=r;var o=J;J|=2;var s=Om();(je!==e||Ae!==t)&&(Jt=null,xo=xe()+500,hr(e,t));do try{ix();break}catch(a){_m(e,a)}while(!0);hu(),Xi.current=s,J=o,we!==null?t=0:(je=null,Ae=0,t=ke)}if(t!==0){if(t===2&&(o=Vl(e),o!==0&&(r=o,t=xc(e,o))),t===1)throw n=ws,hr(e,0),En(e,r),Ze(e,xe()),n;if(t===6)En(e,r);else{if(o=e.current.alternate,!(r&30)&&!ox(o)&&(t=ta(e,r),t===2&&(s=Vl(e),s!==0&&(r=s,t=xc(e,s))),t===1))throw n=ws,hr(e,0),En(e,r),Ze(e,xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(R(345));case 2:nr(e,Ke,Jt);break;case 3:if(En(e,r),(r&130023424)===r&&(t=Nu+500-xe(),10<t)){if(Ii(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){He(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Jl(nr.bind(null,e,Ke,Jt),t);break}nr(e,Ke,Jt);break;case 4:if(En(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-At(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*rx(r/1960))-r,10<r){e.timeoutHandle=Jl(nr.bind(null,e,Ke,Jt),r);break}nr(e,Ke,Jt);break;case 5:nr(e,Ke,Jt);break;default:throw Error(R(329))}}}return Ze(e,xe()),e.callbackNode===n?Rm.bind(null,e):null}function xc(e,t){var n=ts;return e.current.memoizedState.isDehydrated&&(hr(e,t).flags|=256),e=ta(e,t),e!==2&&(t=Ke,Ke=n,t!==null&&wc(t)),e}function wc(e){Ke===null?Ke=e:Ke.push.apply(Ke,e)}function ox(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],s=o.getSnapshot;o=o.value;try{if(!_t(s(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function En(e,t){for(t&=~ju,t&=~wa,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-At(t),r=1<<n;e[n]=-1,t&=~r}}function yf(e){if(J&6)throw Error(R(327));Jr();var t=Ii(e,0);if(!(t&1))return Ze(e,xe()),null;var n=ta(e,t);if(e.tag!==0&&n===2){var r=Vl(e);r!==0&&(t=r,n=xc(e,r))}if(n===1)throw n=ws,hr(e,0),En(e,t),Ze(e,xe()),n;if(n===6)throw Error(R(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,nr(e,Ke,Jt),Ze(e,xe()),null}function Pu(e,t){var n=J;J|=1;try{return e(t)}finally{J=n,J===0&&(xo=xe()+500,ga&&Gn())}}function wr(e){An!==null&&An.tag===0&&!(J&6)&&Jr();var t=J;J|=1;var n=pt.transition,r=te;try{if(pt.transition=null,te=1,e)return e()}finally{te=r,pt.transition=n,J=t,!(J&6)&&Gn()}}function Au(){Je=qr.current,ae(qr)}function hr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,My(n)),we!==null)for(n=we.return;n!==null;){var r=n;switch(uu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ui();break;case 3:vo(),ae(Ge),ae(ze),xu();break;case 5:yu(r);break;case 4:vo();break;case 13:ae(fe);break;case 19:ae(fe);break;case 10:pu(r.type._context);break;case 22:case 23:Au()}n=n.return}if(je=e,we=e=$n(e.current,null),Ae=Je=t,ke=0,ws=null,ju=wa=xr=0,Ke=ts=null,or!==null){for(t=0;t<or.length;t++)if(n=or[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}or=null}return e}function _m(e,t){do{var n=we;try{if(hu(),bi.current=Zi,Yi){for(var r=he.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Yi=!1}if(yr=0,Te=Se=he=null,Jo=!1,vs=0,Tu.current=null,n===null||n.return===null){ke=1,ws=t,we=null;break}e:{var s=e,i=n.return,a=n,l=t;if(t=Ae,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,d=a,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=of(i);if(h!==null){h.flags&=-257,sf(h,i,a,s,t),h.mode&1&&rf(s,u,t),t=h,l=u;var b=t.updateQueue;if(b===null){var v=new Set;v.add(l),t.updateQueue=v}else b.add(l);break e}else{if(!(t&1)){rf(s,u,t),Ru();break e}l=Error(R(426))}}else if(ue&&a.mode&1){var w=of(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),sf(w,i,a,s,t),du(yo(l,a));break e}}s=l=yo(l,a),ke!==4&&(ke=2),ts===null?ts=[s]:ts.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var m=mm(s,l,t);Zd(s,m);break e;case 1:a=l;var g=s.type,y=s.stateNode;if(!(s.flags&128)&&(typeof g.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(In===null||!In.has(y)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=gm(s,a,t);Zd(s,S);break e}}s=s.return}while(s!==null)}Lm(n)}catch(E){t=E,we===n&&n!==null&&(we=n=n.return);continue}break}while(!0)}function Om(){var e=Xi.current;return Xi.current=Zi,e===null?Zi:e}function Ru(){(ke===0||ke===3||ke===2)&&(ke=4),je===null||!(xr&268435455)&&!(wa&268435455)||En(je,Ae)}function ta(e,t){var n=J;J|=2;var r=Om();(je!==e||Ae!==t)&&(Jt=null,hr(e,t));do try{sx();break}catch(o){_m(e,o)}while(!0);if(hu(),J=n,Xi.current=r,we!==null)throw Error(R(261));return je=null,Ae=0,ke}function sx(){for(;we!==null;)Mm(we)}function ix(){for(;we!==null&&!Rv();)Mm(we)}function Mm(e){var t=Im(e.alternate,e,Je);e.memoizedProps=e.pendingProps,t===null?Lm(e):we=t,Tu.current=null}function Lm(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Jy(n,t),n!==null){n.flags&=32767,we=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ke=6,we=null;return}}else if(n=Xy(n,t,Je),n!==null){we=n;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);ke===0&&(ke=5)}function nr(e,t,n){var r=te,o=pt.transition;try{pt.transition=null,te=1,ax(e,t,n,r)}finally{pt.transition=o,te=r}return null}function ax(e,t,n,r){do Jr();while(An!==null);if(J&6)throw Error(R(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(R(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Bv(e,s),e===je&&(we=je=null,Ae=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||si||(si=!0,zm(Di,function(){return Jr(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=pt.transition,pt.transition=null;var i=te;te=1;var a=J;J|=4,Tu.current=null,tx(e,n),Pm(n,e),jy(Zl),zi=!!Yl,Zl=Yl=null,e.current=n,nx(n),_v(),J=a,te=i,pt.transition=s}else e.current=n;if(si&&(si=!1,An=e,ea=o),s=e.pendingLanes,s===0&&(In=null),Lv(n.stateNode),Ze(e,xe()),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(Ji)throw Ji=!1,e=vc,vc=null,e;return ea&1&&e.tag!==0&&Jr(),s=e.pendingLanes,s&1?e===yc?ns++:(ns=0,yc=e):ns=0,Gn(),null}function Jr(){if(An!==null){var e=mp(ea),t=pt.transition,n=te;try{if(pt.transition=null,te=16>e?16:e,An===null)var r=!1;else{if(e=An,An=null,ea=0,J&6)throw Error(R(331));var o=J;for(J|=4,I=e.current;I!==null;){var s=I,i=s.child;if(I.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(I=u;I!==null;){var d=I;switch(d.tag){case 0:case 11:case 15:es(8,d,s)}var f=d.child;if(f!==null)f.return=d,I=f;else for(;I!==null;){d=I;var p=d.sibling,h=d.return;if(Tm(d),d===u){I=null;break}if(p!==null){p.return=h,I=p;break}I=h}}}var b=s.alternate;if(b!==null){var v=b.child;if(v!==null){b.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}I=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,I=i;else e:for(;I!==null;){if(s=I,s.flags&2048)switch(s.tag){case 0:case 11:case 15:es(9,s,s.return)}var m=s.sibling;if(m!==null){m.return=s.return,I=m;break e}I=s.return}}var g=e.current;for(I=g;I!==null;){i=I;var y=i.child;if(i.subtreeFlags&2064&&y!==null)y.return=i,I=y;else e:for(i=g;I!==null;){if(a=I,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:xa(9,a)}}catch(E){ye(a,a.return,E)}if(a===i){I=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,I=S;break e}I=a.return}}if(J=o,Gn(),Wt&&typeof Wt.onPostCommitFiberRoot=="function")try{Wt.onPostCommitFiberRoot(da,e)}catch{}r=!0}return r}finally{te=n,pt.transition=t}}return!1}function xf(e,t,n){t=yo(n,t),t=mm(e,t,1),e=Dn(e,t,1),t=He(),e!==null&&(Rs(e,1,t),Ze(e,t))}function ye(e,t,n){if(e.tag===3)xf(e,e,n);else for(;t!==null;){if(t.tag===3){xf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(In===null||!In.has(r))){e=yo(n,e),e=gm(t,e,1),t=Dn(t,e,1),e=He(),t!==null&&(Rs(t,1,e),Ze(t,e));break}}t=t.return}}function lx(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,je===e&&(Ae&n)===n&&(ke===4||ke===3&&(Ae&130023424)===Ae&&500>xe()-Nu?hr(e,0):ju|=n),Ze(e,t)}function Dm(e,t){t===0&&(e.mode&1?(t=Gs,Gs<<=1,!(Gs&130023424)&&(Gs=4194304)):t=1);var n=He();e=ln(e,t),e!==null&&(Rs(e,t,n),Ze(e,n))}function cx(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Dm(e,n)}function ux(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(R(314))}r!==null&&r.delete(t),Dm(e,n)}var Im;Im=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ge.current)Qe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Qe=!1,Zy(e,t,n);Qe=!!(e.flags&131072)}else Qe=!1,ue&&t.flags&1048576&&Bp(t,Vi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ei(e,t),e=t.pendingProps;var o=po(t,ze.current);Xr(t,n),o=bu(null,t,r,e,o,n);var s=Su();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,Ye(r)?(s=!0,Hi(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,gu(t),o.updater=ya,t.stateNode=o,o._reactInternals=t,ic(t,r,e,n),t=cc(null,t,r,!0,s,n)):(t.tag=0,ue&&s&&cu(t),Be(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ei(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=fx(r),e=Et(r,e),o){case 0:t=lc(null,t,r,e,n);break e;case 1:t=cf(null,t,r,e,n);break e;case 11:t=af(null,t,r,e,n);break e;case 14:t=lf(null,t,r,Et(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),lc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),cf(e,t,r,o,n);case 3:e:{if(wm(t),e===null)throw Error(R(387));r=t.pendingProps,s=t.memoizedState,o=s.element,Kp(e,t),Qi(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=yo(Error(R(423)),t),t=uf(e,t,r,n,o);break e}else if(r!==o){o=yo(Error(R(424)),t),t=uf(e,t,r,n,o);break e}else for(tt=Ln(t.stateNode.containerInfo.firstChild),nt=t,ue=!0,Nt=null,n=Vp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mo(),r===o){t=cn(e,t,n);break e}Be(e,t,r,n)}t=t.child}return t;case 5:return Qp(t),e===null&&rc(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,Xl(r,o)?i=null:s!==null&&Xl(r,s)&&(t.flags|=32),xm(e,t),Be(e,t,i,n),t.child;case 6:return e===null&&rc(t),null;case 13:return bm(e,t,n);case 4:return vu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=go(t,null,r,n):Be(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),af(e,t,r,o,n);case 7:return Be(e,t,t.pendingProps,n),t.child;case 8:return Be(e,t,t.pendingProps.children,n),t.child;case 12:return Be(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,oe(qi,r._currentValue),r._currentValue=i,s!==null)if(_t(s.value,i)){if(s.children===o.children&&!Ge.current){t=cn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=on(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),oc(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(R(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),oc(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Be(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Xr(t,n),o=mt(o),r=r(o),t.flags|=1,Be(e,t,r,n),t.child;case 14:return r=t.type,o=Et(r,t.pendingProps),o=Et(r.type,o),lf(e,t,r,o,n);case 15:return vm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),Ei(e,t),t.tag=1,Ye(r)?(e=!0,Hi(t)):e=!1,Xr(t,n),pm(t,r,o),ic(t,r,o,n),cc(null,t,r,!0,e,n);case 19:return Sm(e,t,n);case 22:return ym(e,t,n)}throw Error(R(156,t.tag))};function zm(e,t){return dp(e,t)}function dx(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 ht(e,t,n,r){return new dx(e,t,n,r)}function _u(e){return e=e.prototype,!(!e||!e.isReactComponent)}function fx(e){if(typeof e=="function")return _u(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zc)return 11;if(e===Xc)return 14}return 2}function $n(e,t){var n=e.alternate;return n===null?(n=ht(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.deleti
vendor: 8,940 bytes, line 40
40ons=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 Ti(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")_u(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Dr:return pr(n.children,o,s,t);case Yc:i=8,o|=8;break;case Al:return e=ht(12,n,t,o|2),e.elementType=Al,e.lanes=s,e;case Rl:return e=ht(13,n,t,o),e.elementType=Rl,e.lanes=s,e;case _l:return e=ht(19,n,t,o),e.elementType=_l,e.lanes=s,e;case Qh:return ba(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qh:i=10;break e;case Kh:i=9;break e;case Zc:i=11;break e;case Xc:i=14;break e;case wn:i=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=ht(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function pr(e,t,n,r){return e=ht(7,e,r,t),e.lanes=n,e}function ba(e,t,n,r){return e=ht(22,e,r,t),e.elementType=Qh,e.lanes=n,e.stateNode={isHidden:!1},e}function fl(e,t,n){return e=ht(6,e,null,t),e.lanes=n,e}function hl(e,t,n){return t=ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hx(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=Ka(0),this.expirationTimes=Ka(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ka(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ou(e,t,n,r,o,s,i,a,l){return e=new hx(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ht(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},gu(s),e}function px(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Lr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function $m(e){if(!e)return Un;e=e._reactInternals;e:{if(kr(e)!==e||e.tag!==1)throw Error(R(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ye(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(R(171))}if(e.tag===1){var n=e.type;if(Ye(n))return $p(e,n,t)}return t}function Fm(e,t,n,r,o,s,i,a,l){return e=Ou(n,r,!0,e,o,s,i,a,l),e.context=$m(null),n=e.current,r=He(),o=zn(n),s=on(r,o),s.callback=t??null,Dn(n,s,o),e.current.lanes=o,Rs(e,o,r),Ze(e,r),e}function Sa(e,t,n,r){var o=t.current,s=He(),i=zn(o);return n=$m(n),t.context===null?t.context=n:t.pendingContext=n,t=on(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Dn(o,t,i),e!==null&&(Rt(e,o,i,s),wi(e,o,i)),i}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 wf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Mu(e,t){wf(e,t),(e=e.alternate)&&wf(e,t)}function mx(){return null}var Bm=typeof reportError=="function"?reportError:function(e){console.error(e)};function Lu(e){this._internalRoot=e}Ea.prototype.render=Lu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));Sa(e,t,null,null)};Ea.prototype.unmount=Lu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;wr(function(){Sa(null,e,null,null)}),t[an]=null}};function Ea(e){this._internalRoot=e}Ea.prototype.unstable_scheduleHydration=function(e){if(e){var t=yp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sn.length&&t!==0&&t<Sn[n].priority;n++);Sn.splice(n,0,e),n===0&&wp(e)}};function Du(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ka(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function bf(){}function gx(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=na(i);s.call(u)}}var i=Fm(t,r,e,0,null,!1,!1,"",bf);return e._reactRootContainer=i,e[an]=i.current,fs(e.nodeType===8?e.parentNode:e),wr(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=na(l);a.call(u)}}var l=Ou(e,0,!1,null,null,!1,!1,"",bf);return e._reactRootContainer=l,e[an]=l.current,fs(e.nodeType===8?e.parentNode:e),wr(function(){Sa(t,l,n,r)}),l}function Ca(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var a=o;o=function(){var l=na(i);a.call(l)}}Sa(t,i,e,o)}else i=gx(n,t,e,o,r);return na(i)}gp=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=qo(t.pendingLanes);n!==0&&(tu(t,n|1),Ze(t,xe()),!(J&6)&&(xo=xe()+500,Gn()))}break;case 13:wr(function(){var r=ln(e,1);if(r!==null){var o=He();Rt(r,e,1,o)}}),Mu(e,1)}};nu=function(e){if(e.tag===13){var t=ln(e,134217728);if(t!==null){var n=He();Rt(t,e,134217728,n)}Mu(e,134217728)}};vp=function(e){if(e.tag===13){var t=zn(e),n=ln(e,t);if(n!==null){var r=He();Rt(n,e,t,r)}Mu(e,t)}};yp=function(){return te};xp=function(e,t){var n=te;try{return te=e,t()}finally{te=n}};Ul=function(e,t,n){switch(t){case"input":if(Ll(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=ma(r);if(!o)throw Error(R(90));Yh(r),Ll(r,o)}}}break;case"textarea":Xh(e,n);break;case"select":t=n.value,t!=null&&Qr(e,!!n.multiple,t,!1)}};sp=Pu;ip=wr;var vx={usingClientEntryPoint:!1,Events:[Os,Fr,ma,rp,op,Pu]},zo={findFiberByHostInstance:rr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},yx={bundleType:zo.bundleType,version:zo.version,rendererPackageName:zo.rendererPackageName,rendererConfig:zo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:fn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=cp(e),e===null?null:e.stateNode},findFiberByHostInstance:zo.findFiberByHostInstance||mx,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 ii=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ii.isDisabled&&ii.supportsFiber)try{da=ii.inject(yx),Wt=ii}catch{}}st.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vx;st.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Du(t))throw Error(R(200));return px(e,t,null,n)};st.createRoot=function(e,t){if(!Du(e))throw Error(R(299));var n=!1,r="",o=Bm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Ou(e,1,!1,null,null,n,!1,r,o),e[an]=t.current,fs(e.nodeType===8?e.parentNode:e),new Lu(t)};st.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(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=cp(t),e=e===null?null:e.stateNode,e};st.flushSync=function(e){return wr(e)};st.hydrate=function(e,t,n){if(!ka(t))throw Error(R(200));return Ca(null,e,t,!0,n)};st.hydrateRoot=function(e,t,n){if(!Du(e))throw Error(R(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=Bm;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Fm(t,null,e,1,n??null,o,!1,s,i),e[an]=t.current,fs(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 Ea(t)};st.render=function(e,t,n){if(!ka(t))throw Error(R(200));return Ca(null,e,t,!1,n)};st.unmountComponentAtNode=function(e){if(!ka(e))throw Error(R(40));return e._reactRootContainer?(wr(function(){Ca(null,null,e,!1,function(){e._reactRootContainer=null,e[an]=null})}),!0):!1};st.unstable_batchedUpdates=Pu;st.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ka(n))throw Error(R(200));if(e==null||e._reactInternals===void 0)throw Error(R(38));return Ca(e,t,n,!1,r)};st.version="18.3.1-next-f1338f8080-20240426";
40function Um(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Um)}catch(e){console.error(e)}}Um(),Uh.exports=st;var Ls=Uh.exports;const Hm=Ps(Ls);var Wm,Sf=Ls;Wm=Sf.createRoot,Sf.hydrateRoot;const xx=1,wx=1e6;let pl=0;function bx(){return pl=(pl+1)%Number.MAX_SAFE_INTEGER,pl.toString()}const ml=new Map,Ef=e=>{if(ml.has(e))return;const t=setTimeout(()=>{ml.delete(e),rs({type:"REMOVE_TOAST",toastId:e})},wx);ml.set(e,t)},Sx=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,xx)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Ef(n):e.toasts.forEach(r=>{Ef(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)}}},ji=[];let Ni={toasts:[]};function rs(e){Ni=Sx(Ni,e),ji.forEach(t=>{t(Ni)})}function Ex({...e}){const t=bx(),n=o=>rs({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>rs({type:"DISMISS_TOAST",toastId:t});return rs({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function kx(){const[e,t]=x.useState(Ni);return x.useEffect(()=>(ji.push(t),()=>{const n=ji.indexOf(t);n>-1&&ji.splice(n,1)}),[e]),{...e,toast:Ex,dismiss:n=>rs({type:"DISMISS_TOAST",toastId:n})}}function Ee(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 kf(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Vm(...e){return t=>{let n=!1;const r=e.map(o=>{const s=kf(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():kf(e[o],null)}}}}function Ot(...e){return x.useCallback(Vm(...e),e)}function Ta(e,t=[]){let n=[];function r(s,i){const a=x.createContext(i),l=n.length;n=[...n,i];const u=f=>{var m;const{scope:p,children:h,...b}=f,v=((m=p==null?void 0:p[e])==null?void 0:m[l])||a,w=x.useMemo(()=>b,Object.values(b));return c.jsx(v.Provider,{value:w,children:h})};u.displayName=s+"Provider";function d(f,p){var v;const h=((v=p==null?void 0:p[e])==null?void 0:v[l])||a,b=x.useContext(h);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const o=()=>{const s=n.map(i=>x.createContext(i));return function(a){const l=(a==null?void 0:a[e])||s;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,Cx(o,...t)]}function Cx(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(s)[`__scope${u}`];return{...a,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function bc(e){const t=Tx(e),n=x.forwardRef((r,o)=>{const{children:s,...i}=r,a=x.Children.toArray(s),l=a.find(Nx);if(l){const u=l.props.children,d=a.map(f=>f===l?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:f);return c.jsx(t,{...i,ref:o,children:x.isValidElement(u)?x.cloneElement(u,void 0,d):null})}return c.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function Tx(e){const t=x.forwardRef((n,r)=>{const{children:o,...s}=n;if(x.isValidElement(o)){const i=Ax(o),a=Px(s,o.props);return o.type!==x.Fragment&&(a.ref=r?Vm(r,i):i),x.cloneElement(o,a)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var qm=Symbol("radix.slottable");function jx(e){const t=({children:n})=>c.jsx(c.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=qm,t}function Nx(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===qm}function Px(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}
vendor: 8,801 bytes, line 40
40:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Ax(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 Rx(e){const t=e+"CollectionProvider",[n,r]=Ta(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:w,children:m}=v,g=A.useRef(null),y=A.useRef(new Map).current;return c.jsx(o,{scope:w,itemMap:y,collectionRef:g,children:m})};i.displayName=t;const a=e+"CollectionSlot",l=bc(a),u=A.forwardRef((v,w)=>{const{scope:m,children:g}=v,y=s(a,m),S=Ot(w,y.collectionRef);return c.jsx(l,{ref:S,children:g})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=bc(d),h=A.forwardRef((v,w)=>{const{scope:m,children:g,...y}=v,S=A.useRef(null),E=Ot(w,S),k=s(d,m);return A.useEffect(()=>(k.itemMap.set(S,{ref:S,...y}),()=>void k.itemMap.delete(S))),c.jsx(p,{[f]:"",ref:E,children:g})});h.displayName=d;function b(v){const w=s(e+"CollectionConsumer",v);return A.useCallback(()=>{const g=w.collectionRef.current;if(!g)return[];const y=Array.from(g.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((k,C)=>y.indexOf(k.ref.current)-y.indexOf(C.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:i,Slot:u,ItemSlot:h},b,r]}var _x=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Xe=_x.reduce((e,t)=>{const n=bc(`Primitive.${t}`),r=x.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Km(e,t){e&&Ls.flushSync(()=>e.dispatchEvent(t))}function Hn(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.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=Hn(e);x.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 Mx="DismissableLayer",Sc="dismissableLayer.update",Lx="dismissableLayer.pointerDownOutside",Dx="dismissableLayer.focusOutside",Cf,Qm=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Iu=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,u=x.useContext(Qm),[d,f]=x.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=x.useState({}),b=Ot(t,C=>f(C)),v=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=v.indexOf(w),g=d?v.indexOf(d):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,S=g>=m,E=zx(C=>{const N=C.target,O=[...u.branches].some(_=>_.contains(N));!S||O||(o==null||o(C),i==null||i(C),C.defaultPrevented||a==null||a())},p),k=$x(C=>{const N=C.target;[...u.branches].some(_=>_.contains(N))||(s==null||s(C),i==null||i(C),C.defaultPrevented||a==null||a())},p);return Ox(C=>{g===u.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&a&&(C.preventDefault(),a()))},p),x.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Cf=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Tf(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Cf)}},[d,p,n,u]),x.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Tf())},[d,u]),x.useEffect(()=>{const C=()=>h({});return document.addEventListener(Sc,C),()=>document.removeEventListener(Sc,C)},[]),c.jsx(Xe.div,{...l,ref:b,style:{pointerEvents:y?S?"auto":"none":void 0,...e.style},onFocusCapture:Ee(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Ee(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Ee(e.onPointerDownCapture,E.onPointerDownCapture)})});Iu.displayName=Mx;var Ix="DismissableLayerBranch",Gm=x.forwardRef((e,t)=>{const n=x.useContext(Qm),r=x.useRef(null),o=Ot(t,r);return x.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),c.jsx(Xe.div,{...e,ref:o})});Gm.displayName=Ix;function zx(e,t=globalThis==null?void 0:globalThis.document){const n=Hn(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){Ym(Lx,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},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function $x(e,t=globalThis==null?void 0:globalThis.document){const n=Hn(e),r=x.useRef(!1);return x.useEffect(()=>{const o=s=>{s.target&&!r.current&&Ym(Dx,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Tf(){const e=new CustomEvent(Sc);document.dispatchEvent(e)}function Ym(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Km(o,s):o.dispatchEvent(s)}var Fx=Iu,Bx=Gm,Wn=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},Ux="Portal",Zm=x.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,s]=x.useState(!1);Wn(()=>s(!0),[]);const i=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?Hm.createPortal(c.jsx(Xe.div,{...r,ref:t}),i):null});Zm.displayName=Ux;function Hx(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var zu=e=>{const{present:t,children:n}=e,r=Wx(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),s=Ot(r.ref,Vx(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:s}):null};zu.displayName="Presence";function Wx(e){const[t,n]=x.useState(),r=x.useRef(null),o=x.useRef(e),s=x.useRef("none"),i=e?"mounted":"unmounted",[a,l]=Hx(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=ai(r.current);s.current=a==="mounted"?u:"none"},[a]),Wn(()=>{const u=r.current,d=o.current;if(d!==e){const p=s.current,h=ai(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Wn(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=h=>{const v=ai(r.current).includes(h.animationName);if(h.target===t&&v&&(l("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},p=h=>{h.target===t&&(s.current=ai(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function ai(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 qx=Fh[" useInsertionEffect ".trim().toString()]||Wn;function Kx({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=Qx({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const d=x.useRef(e!==void 0);x.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"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.`),d.current=a},[a,r])}const u=x.useCallback(d=>{var f;if(a){const p=Gx(d)?d(e):d;p!==e&&((f=i.current)==null||f.call(i,p))}else s(d)}
40,[a,e,s,i]);return[l,u]}function Qx({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),o=x.useRef(n),s=x.useRef(t);return qx(()=>{s.current=t},[t]),x.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function Gx(e){return typeof e=="function"}var Yx=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"}),Zx="VisuallyHidden",ja=x.forwardRef((e,t)=>c.jsx(Xe.span,{...e,ref:t,style:{...Yx,...e.style}}));ja.displayName=Zx;var Xx=ja,$u="ToastProvider",[Fu,Jx,ew]=Rx("Toast"),[Xm,LC]=Ta("Toast",[ew]),[tw,Na]=Xm($u),Jm=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[a,l]=x.useState(null),[u,d]=x.useState(0),f=x.useRef(!1),p=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${$u}\`. Expected non-empty \`string\`.`),c.jsx(Fu.Provider,{scope:t,children:c.jsx(tw,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:x.useCallback(()=>d(h=>h+1),[]),onToastRemove:x.useCallback(()=>d(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:i})})};Jm.displayName=$u;var eg="ToastViewport",nw=["F8"],Ec="toast.viewportPause",kc="toast.viewportResume",tg=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=nw,label:o="Notifications ({hotkey})",...s}=e,i=Na(eg,n),a=Jx(n),l=x.useRef(null),u=x.useRef(null),d=x.useRef(null),f=x.useRef(null),p=Ot(t,f,i.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;x.useEffect(()=>{const w=m=>{var y;r.length!==0&&r.every(S=>m[S]||m.code===S)&&((y=f.current)==null||y.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),x.useEffect(()=>{const w=l.current,m=f.current;if(b&&w&&m){const g=()=>{if(!i.isClosePausedRef.current){const k=new CustomEvent(Ec);m.dispatchEvent(k),i.isClosePausedRef.current=!0}},y=()=>{if(i.isClosePausedRef.current){const k=new CustomEvent(kc);m.dispatchEvent(k),i.isClosePausedRef.current=!1}},S=k=>{!w.contains(k.relatedTarget)&&y()},E=()=>{w.contains(document.activeElement)||y()};return w.addEventListener("focusin",g),w.addEventListener("focusout",S),w.addEventListener("pointermove",g),w.addEventListener("pointerleave",E),window.addEventListener("blur",g),window.addEventListener("focus",y),()=>{w.removeEventListener("focusin",g),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",g),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",g),window.removeEventListener("focus",y)}}},[b,i.isClosePausedRef]);const v=x.useCallback(({tabbingDirection:w})=>{const g=a().map(y=>{const S=y.ref.current,E=[S,...mw(S)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?g.reverse():g).flat()},[a]);return x.useEffect(()=>{const w=f.current;if(w){const m=g=>{var E,k,C;const y=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!y){const N=document.activeElement,O=g.shiftKey;if(g.target===w&&O){(E=u.current)==null||E.focus();return}const D=v({tabbingDirection:O?"backwards":"forwards"}),H=D.findIndex(M=>M===N);gl(D.slice(H+1))?g.preventDefault():O?(k=u.current)==null||k.focus():(C=d.current)==null||C.focus()}};return w.addEventListener("keydown",m),()=>w.removeEventListener("keydown",m)}},[a,v]),c.jsxs(Bx,{ref:l,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&c.jsx(Cc,{ref:u,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});gl(w)}}),c.jsx(Fu.Slot,{scope:n,children:c.jsx(Xe.ol,{tabIndex:-1,...s,ref:p})}),b&&c.jsx(Cc,{ref:d,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});gl(w)}})]})});tg.displayName=eg;var ng="ToastFocusProxy",Cc=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=Na(ng,n);return c.jsx(ja,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const a=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});Cc.displayName=ng;var Ds="Toast",rw="toast.swipeStart",ow="toast.swipeMove",sw="toast.swipeCancel",iw="toast.swipeEnd",rg=x.forwardRef((e,t)=>
40{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[a,l]=Kx({prop:r,defaultProp:o??!0,onChange:s,caller:Ds});return c.jsx(zu,{present:n||a,children:c.jsx(cw,{open:a,...i,ref:t,onClose:()=>l(!1),onPause:Hn(e.onPause),onResume:Hn(e.onResume),onSwipeStart:Ee(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ee(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Ee(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:Ee(e.onSwipeEnd,u=>{const{x:d,y:f}=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",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});rg.displayName=Ds;var[aw,lw]=Xm(Ds,{onClose(){}}),cw=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:h,...b}=e,v=Na(Ds,n),[w,m]=x.useState(null),g=Ot(t,M=>m(M)),y=x.useRef(null),S=x.useRef(null),E=o||v.duration,k=x.useRef(0),C=x.useRef(E),N=x.useRef(0),{onToastAdd:O,onToastRemove:_}=v,$=Hn(()=>{var K;(w==null?void 0:w.contains(document.activeElement))&&((K=v.viewport)==null||K.focus()),i()}),D=x.useCallback(M=>{!M||M===1/0||(window.clearTimeout(N.current),k.current=new Date().getTime(),N.current=window.setTimeout($,M))},[$]);x.useEffect(()=>{const M=v.viewport;if(M){const K=()=>{D(C.current),u==null||u()},F=()=>{const B=new Date().getTime()-k.current;C.current=C.current-B,window.clearTimeout(N.current),l==null||l()};return M.addEventListener(Ec,F),M.addEventListener(kc,K),()=>{M.removeEventListener(Ec,F),M.removeEventListener(kc,K)}}},[v.viewport,E,l,u,D]),x.useEffect(()=>{s&&!v.isClosePausedRef.current&&D(E)},[s,E,v.isClosePausedRef,D]),x.useEffect(()=>(O(),()=>_()),[O,_]);const H=x.useMemo(()=>w?ug(w):null,[w]);return v.viewport?c.jsxs(c.Fragment,{children:[H&&c.jsx(uw,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),c.jsx(aw,{scope:n,onClose:$,children:Ls.createPortal(c.jsx(Fu.ItemSlot,{scope:n,children:c.jsx(Fx,{asChild:!0,onEscapeKeyDown:Ee(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||$(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx(Xe.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":v.swipeDirection,...b,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ee(e.onKeyDown,M=>{M.key==="Escape"&&(a==null||a(M.nativeEvent),M.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:Ee(e.onPointerDown,M=>{M.button===0&&(y.current={x:M.clientX,y:M.clientY})}),onPointerMove:Ee(e.onPointerMove,M=>{if(!y.current)return;const K=M.clientX-y.current.x,F=M.clientY-y.current.y,B=!!S.current,T=["left","right"].includes(v.swipeDirection),P=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,L=T?P(0,K):0,U=T?0:P(0,F),z=M.pointerType==="touch"?10:2,Y={x:L,y:U},W={originalEvent:M,delta:Y};B?(S.current=Y,li(ow,f,W,{discrete:!1})):jf(Y,v.swipeDirection,z)?(S.current=Y,li(rw,d,W,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(K)>z||Math.abs(F)>z)&&(y.current=null)}),onPointerUp:Ee(e.onPointerUp,M=>{const K=S.current,F=M.target;if(F.hasPointerCapture(M.pointerId)&&F.releasePointerCapture(M.pointerId),S.current=null,y.current=null,K){const B=M.currentTarget,T={originalEvent:M,delta:K};jf(K,v.swipeDirection,v.swipeThreshold)?li(iw,h,T,{discrete:!0}):li(sw,p,T,{discrete:!0}),B.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),uw=e=>{const{__scopeToast:t,children:n,...r}=e,o=Na(Ds,t),[s,i]=x.useState(!1),[a,l]=x.useState(!1);return hw(()=>i(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:c.jsx(Zm,{asChild:!0,children:c.jsx(ja,{...r,children:s&&c.jsxs(c.Fragment,{children:[o.label," ",n]})})})},dw="ToastTitle",og=x.forwardRef((e,t)=>
vendor: 5,124 bytes, lines 40-65
40{const{__scopeToast:n,...r}=e;return c.jsx(Xe.div,{...r,ref:t})});og.displayName=dw;var fw="ToastDescription",sg=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(Xe.div,{...r,ref:t})});sg.displayName=fw;var ig="ToastAction",ag=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?c.jsx(cg,{altText:n,asChild:!0,children:c.jsx(Bu,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${ig}\`. Expected non-empty \`string\`.`),null)});ag.displayName=ig;var lg="ToastClose",Bu=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=lw(lg,n);return c.jsx(cg,{asChild:!0,children:c.jsx(Xe.button,{type:"button",...r,ref:t,onClick:Ee(e.onClick,o.onClose)})})});Bu.displayName=lg;var cg=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return c.jsx(Xe.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function ug(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),pw(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...ug(r))}}),t}function li(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Km(o,s):o.dispatchEvent(s)}var jf=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function hw(e=()=>{}){const t=Hn(e);Wn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function pw(e){return e.nodeType===e.ELEMENT_NODE}function mw(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 gl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var gw=Jm,dg=tg,fg=rg,hg=og,pg=sg,mg=ag,gg=Bu;function vg(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=vg(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function yg(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=vg(e))&&(r&&(r+=" "),r+=t);return r}const Nf=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Pf=yg,vw=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Pf(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const d=n==null?void 0:n[u],f=s==null?void 0:s[u];if(d===null)return null;const p=Nf(d)||Nf(f);return o[u][p]}),a=n&&Object.entries(n).reduce((u,d)=>{let[f,p]=d;return p===void 0||(u[f]=p),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:p,...h}=d;return Object.entries(h).every(b=>{let[v,w]=b;return Array.isArray(w)?w.includes({...s,...a}[v]):{...s,...a}[v]===w})?[...u,f,p]:u},[]);return Pf(e,i,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 yw=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),xg=(...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 xw={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 ww=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},l)=>x.createElement("svg",{ref:l,...xw,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:xg("lucide",o),...a},[...i.map(([u,d])=>x.createElement(u,d)),...Array.isArray(s)?s:[s]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const bw=(e,t)=>{const n=x.forwardRef(({className:r,...o},s)=>x.createElement(ww,{ref:s,iconNode:t,className:xg(`lucide-${yw(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 Sw=bw("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 12,223 bytes, line 65
65],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Uu="-",Ew=e=>{const t=Cw(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(Uu);return a[0]===""&&a.length!==1&&a.shift(),wg(a,t)||kw(i)},getConflictingClassGroupIds:(i,a)=>{const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}}},wg=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?wg(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(Uu);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},Af=/^\[(.+)\]$/,kw=e=>{if(Af.test(e)){const t=Af.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Cw=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return jw(Object.entries(e.classGroups),n).forEach(([s,i])=>{Tc(i,r,s,t)}),r},Tc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Rf(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Tw(o)){Tc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{Tc(i,Rf(t,s),n,r)})})},Rf=(e,t)=>{let n=e;return t.split(Uu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Tw=e=>e.isThemeGetter,jw=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[n,o]}):e,Nw=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},bg="!",Pw=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=a=>{const l=[];let u=0,d=0,f;for(let w=0;w<a.length;w++){let m=a[w];if(u===0){if(m===o&&(r||a.slice(w,w+s)===t)){l.push(a.slice(d,w)),d=w+s;continue}if(m==="/"){f=w;continue}}m==="["?u++:m==="]"&&u--}const p=l.length===0?a:a.substring(d),h=p.startsWith(bg),b=h?p.substring(1):p,v=f&&f>d?f-d:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:i}):i},Aw=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},Rw=e=>({cache:Nw(e.cacheSize),parseClassName:Pw(e),...Ew(e)}),_w=/\s+/,Ow=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(_w);let a="";for(let l=i.length-1;l>=0;l-=1){const u=i[l],{modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:h}=n(u);let b=!!h,v=r(b?p.substring(0,h):p);if(!v){if(!b){a=u+(a.length>0?" "+a:a);continue}if(v=r(p),!v){a=u+(a.length>0?" "+a:a);continue}b=!1}const w=Aw(d).join(":"),m=f?w+bg:w,g=m+v;if(s.includes(g))continue;s.push(g);const y=o(v,b);for(let S=0;S<y.length;++S){const E=y[S];s.push(m+E)}a=u+(a.length>0?" "+a:a)}return a};function Mw(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Sg(t))&&(r&&(r+=" "),r+=n);return r}const Sg=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Sg(e[r]))&&(n&&(n+=" "),n+=t);return n};function Lw(e,...t){let n,r,o,s=i;function i(l){const u=t.reduce((d,f)=>f(d),e());return n=Rw(u),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const d=Ow(l,n);return o(l,d),d}return function(){return s(Mw.apply(null,arguments))}}const se=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Eg=/^\[(?:([a-z-]+):)?(.+)\]$/i,Dw=/^\d+\/\d+$/,Iw=new Set(["px","full","screen"]),zw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$w=/\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$/,Fw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Bw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Uw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Zt=e=>eo(e)||Iw.has(e)||Dw.test(e),vn=e=>Co(e,"length",Yw),eo=e=>!!e&&!Number.isNaN(Number(e)),vl=e=>Co(e,"number",eo),$o=e=>!!e&&Number.isInteger(Number(e)),Hw=e=>e.endsWith("%")&&eo(e.slice(0,-1)),G=e=>Eg.test(e),yn=e=>zw.test(e),Ww=new Set(["length","size","percentage"]),Vw=e=>Co(e,Ww,kg),qw=e=>Co(e,"position",kg),Kw=new Set(["image","url"]),Qw=e=>Co(e,Kw,Xw),Gw=e=>Co(e,"",Zw),Fo=()=>!0,Co=(e,t,n)=>{const r=Eg.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Yw=e=>$w.test(e)&&!Fw.test(e),kg=()=>!1,Zw=e=>Bw.test(e),Xw=e=>Uw.test(e),Jw=()=>{const e=se("colors"),t=se("spacing"),n=se("blur"),r=se("brightness"),o=se("borderColor"),s=se("borderRadius"),i=se("borderSpacing"),a=se("borderWidth"),l=se("contrast"),u=se("grayscale"),d=se("hueRotate"),f=se("invert"),p=se("gap"),h=se("gradientColorStops"),b=se("gradientColorStopPositions"),v=se("inset"),w=se("margin"),m=se("opacity"),g=se("padding"),y=se("saturate"),S=se("scale"),E=se("sepia"),k=se("skew"),C=se("space"),N=se("translate"),O=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",G,t],D=()=>[G,t],H=()=>["",Zt,vn],M=()=>["auto",eo,G],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],B=()=>["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"],P=()=>["","0",G],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[eo,G];return{cacheSize:500,separator:":",theme:{colors:[Fo],spacing:[Zt,vn],blur:["none","",yn,G],brightness:U(),borderColor:[e],borderRadius:["none","","full",yn,G],borderSpacing:D(),borderWidth:H(),contrast:U(),grayscale:P(),hueRotate:U(),invert:P(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[Hw,vn],inset:$(),margin:$(),opacity:U(),padding:D(),saturate:U(),scale:U(),sepia:P(),skew:U(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",G]}],container:["container"],columns:[{columns:[yn]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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:[...K(),G]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],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]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",$o,G]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",G]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",$o,G]}],"grid-cols":[{"grid-cols":[Fo]}],"col-start-end":[{col:["auto",{span:["full",$o,G]},G]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[Fo]}],"row-start-end":[{row:["auto",{span:[$o,G]},G]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",G]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",G]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"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:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],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":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",G,t]}],"min-w":[{"min-w":[G,t,"min","max","fit"]}],"max-w":[{"max-w":[G,t,"none","full","min","max","fit","prose",{screen:[yn]},yn]}],h:[{h:[G,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[G,t,"auto","min","max","fit"]}],"font-size":[{text:["base",yn,vn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",vl]}],"font-family":[{font:[Fo]}],"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",G]}],"line-clamp":[{"line-clamp":["none",eo,vl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Zt,G]}],"list-image":[{"list-image":["none",G]}],"list-style-type":[{list:["none","disc","decimal",G]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Zt,vn]}],"underline-offset":[{"underline-offset":["auto",Zt,G]}],"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",G]}],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",G]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),qw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Vw]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Qw]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}
vendor: 5,172 bytes, line 65
65],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[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":[m]}],"border-style":[{border:[...F(),"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":[m]}],"divide-style":[{divide:F()}],"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:["",...F()]}],"outline-offset":[{"outline-offset":[Zt,G]}],"outline-w":[{outline:[Zt,vn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Zt,vn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",yn,Gw]}],"shadow-color":[{shadow:[Fo]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",yn,G]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[y]}],sepia:[{sepia:[E]}],"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":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",G]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",G]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",G]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[$o,G]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"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",G]}],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",G]}],"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 65
65],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",G]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Zt,vn,vl]}],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"]}}},e1=Lw(Jw);function Cr(...e){return e1(yg(e))}const t1=gw,Cg=x.forwardRef(({className:e,...t},n)=>c.jsx(dg,{ref:n,className:Cr("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}));Cg.displayName=dg.displayName;const n1=vw("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"}}),Tg=x.forwardRef(({className:e,variant:t,...n},r)=>c.jsx(fg,{ref:r,className:Cr(n1({variant:t}),e),...n}));Tg.displayName=fg.displayName;const r1=x.forwardRef(({className:e,...t},n)=>c.jsx(mg,{ref:n,className:Cr("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}));r1.displayName=mg.displayName;const jg=x.forwardRef(({className:e,...t},n)=>c.jsx(gg,{ref:n,className:Cr("absolute right-2 top-2 rounded-md p-1 text-foreground
65/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:c.jsx(Sw,{className:"h-4 w-4"})}));jg.displayName=gg.displayName;const Ng=x.forwardRef(({className:e,...t},n)=>c.jsx(hg,{ref:n,className:Cr("text-sm font-semibold",e),...t}));Ng.displayName=hg.displayName;const Pg=x.forwardRef(({className:e,...t},n)=>c.jsx(pg,{ref:n,className:Cr("text-sm opacity-90",e),...t}));Pg.displayName=pg.displayName;function o1(){const{toasts:e}=kx();return c.jsxs(t1,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return c.jsxs(Tg,{...s,children:[c.jsxs("div",{className:"grid gap-1",children:[n&&c.jsx(Ng,{children:n}),r&&c.jsx(Pg,{children:r})]}),o,c.jsx(jg,{})]},t)}),c.jsx(Cg,{})]})}var _f=["light","dark"],s1="(prefers-color-scheme: dark)",i1=x.createContext(void 0),a1={setTheme:e=>{},themes:[]},l1=()=>{var e;return(e=x.useContext(i1))!=null?e:a1};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:a,nonce:l})=>{let u=s==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?_f.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(b,v=!1,w=!0)=>{let m=i?i[b]:b,g=v?b+"|| ''":`'${m}'`,y="";return o&&w&&!v&&_f.includes(b)&&(y+=`d.style.colorScheme = '${b}';`),n==="class"?v||m?y+=`c.add(${g})`:y+="null":m&&(y+=`d[s](n,${g})`),y},h=e?`!function(){${d}${p(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${s1}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${p(i?"x[e]":"e",!0)}}${u?"":"else{"+p(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${p(i?"x[e]":"e",!0)}}else{${p(s,!1,!1)};}${f}}catch(t){}}();`;return x.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var c1=e=>{switch(e){case"success":return f1;case"info":return p1;case"warning":return h1;case"error":return m1;default:return null}},u1=Array(12).fill(0),d1=({visible:e,className:t})=>A.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},A.createElement("div",{className:"sonner-spinner"},u1.map((n,r)=>A.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),f1=A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},A.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"})),h1=A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},A.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"})),p1=A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},A.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"})),m1=A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},A.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"})),g1=A.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"},A.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),A.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),v1=()=>{let[e,t]=A.useState(document.hidden);return A.useEffect(()=>{let n=()=>{t(document.hidden)};
65return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},jc=1,y1=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:jc++,s=this.toasts.find(a=>a.id===o),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:i,title:n}):a):this.addToast({title:n,...r,dismissible:i,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
65this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,s,i=r.then(async l=>{if(s=["resolve",l],A.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(w1(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async l=>{if(s=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>i.then(()=>s[0]==="reject"?u(s[1]):l(s[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)||jc++;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}},qe=new y1,x1=(e,t)=>{let n=(t==null?void 0:t.id)||jc++;return qe.addToast({title:e,...t,id:n}),n},w1=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",b1=x1,S1=()=>qe.toasts,E1=()=>qe.getActiveToasts();Object.assign(b1,{success:qe.success,info:qe.info,warning:qe.warning,error:qe.error,custom:qe.custom,message:qe.message,promise:qe.promise,dismiss:qe.dismiss,loading:qe.loading},{getHistory:S1,getToasts:E1});function k1(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))}k1(`: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;
65left: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}
65: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%);
65--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%)}
66`);function ci(e){return e.label!==void 0}var C1=3,T1="32px",j1="16px",Of=4e3,N1=356,P1=14,A1=20,R1=200;function bt(...e){return e.filter(Boolean).join(" ")}function _1(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var O1=e=>{var t,n,r,o,s,i,a,l,u,d,f;let{invert:p,toast:h,unstyled:b,interacting:v,setHeights:w,visibleToasts:m,heights:g,index:y,toasts:S,expanded:E,removeToast:k,defaultRichColors:C,closeButton:N,style:O,cancelButtonStyle:_,actionButtonStyle:$,className:D="",descriptionClassName:H="",duration:M,position:K,gap:F,loadingIcon:B,expandByDefault:T,classNames:P,icons:L,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:z}=e,[Y,W]=A.useState(null),[le,Ce]=A.useState(null),[X,Gt]=A.useState(!1),[me,de]=A.useState(!1),[re,ge]=A.useState(!1),[Ne,$e]=A.useState(!1),[Yt,Zn]=A.useState(!1),[za,Po]=A.useState(0),[Nr,id]=A.useState(0),Ao=A.useRef(h.duration||M||Of),ad=A.useRef(null),Xn=A.useRef(null),D0=y===0,I0=y+1<=m,at=h.type,Pr=h.dismissible!==!1,z0=h.className||"",$0=h.descriptionClassName||"",Us=A.useMemo(()=>g.findIndex(V=>V.toastId===h.id)||0,[g,h.id]),F0=A.useMemo(()=>{var V;return(V=h.closeButton)!=null?V:N},[h.closeButton,N]),ld=A.useMemo(()=>h.duration||M||Of,[h.duration,M]),$a=A.useRef(0),Ar=A.useRef(0),cd=A.useRef(0),Rr=A.useRef(null),[B0,U0]=K.split("-"),ud=A.useMemo(()=>g.reduce((V,ne,ce)=>ce>=Us?V:V+ne.height,0),[g,Us]),dd=v1(),H0=h.invert||p,Fa=at==="loading";Ar.current=A.useMemo(()=>Us*F+ud,[Us,ud]),A.useEffect(()=>{Ao.current=ld},[ld]),A.useEffect(()=>{Gt(!0)},[]),A.useEffect(()=>{let V=Xn.current;if(V){let ne=V.getBoundingClientRect().height;return id(ne),w(ce=>[{toastId:h.id,height:ne,position:h.position},...ce]),()=>w(ce=>
66ce.filter(vt=>vt.toastId!==h.id))}},[w,h.id]),A.useLayoutEffect(()=>{if(!X)return;let V=Xn.current,ne=V.style.height;V.style.height="auto";let ce=V.getBoundingClientRect().height;V.style.height=ne,id(ce),w(vt=>vt.find(yt=>yt.toastId===h.id)?vt.map(yt=>yt.toastId===h.id?{...yt,height:ce}:yt):[{toastId:h.id,height:ce,position:h.position},...vt])},[X,h.title,h.description,w,h.id]);let hn=A.useCallback(()=>{de(!0),Po(Ar.current),w(V=>V.filter(ne=>ne.toastId!==h.id)),setTimeout(()=>{k(h)},R1)},[h,k,w,Ar]);A.useEffect(()=>{if(h.promise&&at==="loading"||h.duration===1/0||h.type==="loading")return;let V;return E||v||z&&dd?(()=>{if(cd.current<$a.current){let ne=new Date().getTime()-$a.current;Ao.current=Ao.current-ne}cd.current=new Date().getTime()})():Ao.current!==1/0&&($a.current=new Date().getTime(),V=setTimeout(()=>{var ne;(ne=h.onAutoClose)==null||ne.call(h,h),hn()},Ao.current)),()=>clearTimeout(V)},[E,v,h,at,z,dd,hn]),A.useEffect(()=>{h.delete&&hn()},[hn,h.delete]);function W0(){var V,ne,ce;return L!=null&&L.loading?A.createElement("div",{className:bt(P==null?void 0:P.loader,(V=h==null?void 0:h.classNames)==null?void 0:V.loader,"sonner-loader"),"data-visible":at==="loading"},L.loading):B?A.createElement("div",{className:bt(P==null?void 0:P.loader,(ne=h==null?void 0:h.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":at==="loading"},B):A.createElement(d1,{className:bt(P==null?void 0:P.loader,(ce=h==null?void 0:h.classNames)==null?void 0:ce.loader),visible:at==="loading"})}return A.createElement("li",{tabIndex:0,ref:Xn,className:bt(D,z0,P==null?void 0:P.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[at],(n=h==null?void 0:h.classNames)==null?void 0:n[at]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:C,"data-styled":!(h.jsx||h.unstyled||b),"data-mounted":X,"data-promise":!!h.promise,"data-swiped":Yt,"data-removed":me,"data-visible":I0,"data-y-position":B0,"data-x-position":U0,"data-index":y,"data-front":D0,"data-swiping":re,"data-dismissible":Pr,"data-type":at,"data-invert":H0,"data-swipe-out":Ne,"data-swipe-direction":le,"data-expanded":!!(E||T&&X),style:{"--index":y,"--toasts-before":y,"--z-index":S.length-y,"--offset":`${me?za:Ar.current}px`,"--initial-height":T?"auto":`${Nr}px`,...O,...h.style},onDragEnd:()=>{ge(!1),W(null),Rr.current=null},onPointerDown:V=>{Fa||!Pr||(ad.current=new Date,Po(Ar.current),V.target.setPointerCapture(V.pointerId),V.target.tagName!=="BUTTON"&&(ge(!0),Rr.current={x:V.clientX,y:V.clientY}))},onPointerUp:()=>{var V,ne,ce,vt;if(Ne||!Pr)return;Rr.current=null;let yt=Number(((V=Xn.current)==null?void 0:V.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),pn=Number(((ne=Xn.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Jn=new Date().getTime()-((ce=ad.current)==null?void 0:ce.getTime()),xt=Y==="x"?yt:pn,mn=Math.abs(xt)/Jn;if(Math.abs(xt)>=A1||mn>.11){Po(Ar.current),(vt=h.onDismiss)==null||vt.call(h,h),Ce(Y==="x"?yt>0?"right":"left":pn>0?"down":"up"),hn(),$e(!0),Zn(!1);return}ge(!1),W(null)},onPointerMove:V=>{var ne,ce,vt,yt;if(!Rr.current||!Pr||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let pn=V.clientY-Rr.current.y,Jn=V.clientX-Rr.current.x,xt=(ce=e.swipeDirections)!=null?ce:_1(K);!Y&&(Math.abs(Jn)>1||Math.abs(pn)>1)&&W(Math.abs(Jn)>Math.abs(pn)?"x":"y");let mn={x:0,y:0};Y==="y"?(xt.includes("top")||xt.includes("bottom"))&&(xt.includes("top")&&pn<0||xt.includes("bottom")&&pn>0)&&(mn.y=pn):Y==="x"&&(xt.includes("left")||xt.includes("right"))&&(xt.includes("left")&&Jn<0||xt.includes("right")&&Jn>0)&&(mn.x=Jn),(Math.abs(mn.x)>0||Math.abs(mn.y)>0)&&Zn(!0),(vt=Xn.current)==null||vt.style.setProperty("--swipe-amount-x",`${mn.x}px`),(yt=Xn.current)==null||yt.style.setProperty("--swipe-amount-y",`${mn.y}px`)}},F0&&!h.jsx?A.createElement("button",{"aria-label":U,"data-disabled":Fa,"data-close-button":!0,onClick:Fa||!Pr?()=>{}:()=>{var V;hn(),(V=h.onDismiss)==null||V.call(h,h)},className:bt(P==null?void 0:P.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(s=L==null?void 0:L.close)!=null?s:g1):null,h.jsx||x.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:A.createElement(A.Fragment,null,at||h.icon||h.promise?A.createElement("div",{"data-icon":"",className:bt(P==null?void 0:P.icon,(i=h==null?void 0:h.classNames)==null?void 0:i.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||W0():null,h.type!=="loading"?h.icon||(L==null?void 0:L[at])||c1(at):null):null,A.createElement("div",{"data-content":"",className:bt(P==null?void 0:P.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},A.createElement("div",{"data-title":"",className:bt(P==null?void 0:P.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?A.createElement("div",{"data-description":"",className:bt(H,$0,P==null?void 0:P.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),x.isValidElement(h.cancel)?h.cancel:h.cancel&&ci(h.cancel)?A.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||_,onClick:V=>{var ne,ce;ci(h.cancel)&&Pr&&((ce=(ne=h.cancel).onClick)==null||ce.call(ne,V),hn())},className:bt(P==null?void 0:P.cancelButton,(d=h==null?void 0:h.classNames)==null?void 0:d.cancelButton)},h.cancel.label):null,x.isValidElement(h.action)?h.action:h.action&&ci(h.action)?A.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||$,onClick:V=>{var ne,ce;ci(h.action)&&((ce=(ne=h.action).onClick)==null||ce.call(ne,V),!V.defaultPrevented&&hn())},className:bt(P==null?void 0:P.actionButton,(f=h==null?void 0:h.classNames)==null?void 0:f.actionButton)},h.action.label):null))};function Mf(){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 M1(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",a=s?j1:T1;function l(u){["top","right","bottom","left"].forEach(d=>{n[`${i}-${d}`]=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[`${i}-${u}`]=a:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var L1=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:a,offset:l,mobileOffset:u,theme:d="light",richColors:f,duration:p,style:h,visibleToasts:b=C1,toastOptions:v,dir:w=Mf(),gap:m=P1,loadingIcon:g,icons:y,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:E}=e,[k,C]=A.useState([]),N=A.useMemo(()=>Array.from(new Set([r].concat(k.filter(z=>z.position).map(z=>z.position)))),[k,r]),[O,_]=A.useState([]),[$,D]=A.useState(!1),[H,M]=A.useState(!1),[K,F]=A.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
66k":"light"),B=A.useRef(null),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=A.useRef(null),L=A.useRef(!1),U=A.useCallback(z=>{C(Y=>{var W;return(W=Y.find(le=>le.id===z.id))!=null&&W.delete||qe.dismiss(z.id),Y.filter(({id:le})=>le!==z.id)})},[]);return A.useEffect(()=>qe.subscribe(z=>{if(z.dismiss){C(Y=>Y.map(W=>W.id===z.id?{...W,delete:!0}:W));return}setTimeout(()=>{Hm.flushSync(()=>{C(Y=>{let W=Y.findIndex(le=>le.id===z.id);return W!==-1?[...Y.slice(0,W),{...Y[W],...z},...Y.slice(W+1)]:[z,...Y]})})})}),[]),A.useEffect(()=>{if(d!=="system"){F(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?F("dark"):F("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:Y})=>{F(Y?"dark":"light")})}catch{z.addListener(({matches:W})=>{try{F(W?"dark":"light")}catch(le){console.error(le)}})}},[d]),A.useEffect(()=>{k.length<=1&&D(!1)},[k]),A.useEffect(()=>{let z=Y=>{var W,le;o.every(Ce=>Y[Ce]||Y.code===Ce)&&(D(!0),(W=B.current)==null||W.focus()),Y.code==="Escape"&&(document.activeElement===B.current||(le=B.current)!=null&&le.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[o]),A.useEffect(()=>{if(B.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,L.current=!1)}},[B.current]),A.createElement("section",{ref:t,"aria-label":`${S} ${T}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},N.map((z,Y)=>{var W;let[le,Ce]=z.split("-");return k.length?A.createElement("ol",{key:z,dir:w==="auto"?Mf():w,tabIndex:-1,ref:B,className:a,"data-sonner-toaster":!0,"data-theme":K,"data-y-position":le,"data-lifted":$&&k.length>1&&!s,"data-x-position":Ce,style:{"--front-toast-height":`${((W=O[0])==null?void 0:W.height)||0}px`,"--width":`${N1}px`,"--gap":`${m}px`,...h,...M1(l,u)},onBlur:X=>{L.current&&!X.currentTarget.contains(X.relatedTarget)&&(L.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:X=>{X.target instanceof HTMLElement&&X.target.dataset.dismissible==="false"||L.current||(L.current=!0,P.current=X.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{H||D(!1)},onDragEnd:()=>D(!1),onPointerDown:X=>{X.target instanceof HTMLElement&&X.target.dataset.dismissible==="false"||M(!0)},onPointerUp:()=>M(!1)},k.filter(X=>!X.position&&Y===0||X.position===z).map((X,Gt)=>{var me,de;return A.createElement(O1,{key:X.id,icons:y,index:Gt,toast:X,defaultRichColors:f,duration:(me=v==null?void 0:v.duration)!=null?me:p,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:b,closeButton:(de=v==null?void 0:v.closeButton)!=null?de:i,interacting:H,position:z,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(re=>re.position==X.position),heights:O.filter(re=>re.position==X.position),setHeights:_,expandByDefault:s,gap:m,loadingIcon:g,expanded:$,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const D1=({...e})=>{const{theme:t="system"}=l1();return c.jsx(L1,{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})},I1=["top","right","bottom","left"],Vn=Math.min,et=Math.max,ra=Math.round,ui=Math.floor,qt=e=>({x:e,y:e}),z1={left:"right",right:"left",bottom:"top",top:"bottom"},$1={start:"end",end:"start"};function Nc(e,t,n){return et(e,Vn(t,n))}function un(e,t){return typeof e=="function"?e(t):e}function dn(e){return e.split("-")[0]}function To(e){return e.split("-")[1]}function Hu(e){return e==="x"?"y":"x"}function Wu(e){return e==="y"?"height":"width"}const F1=new Set(["top","bottom"]);function Ht(e){return F1.has(dn(e))?"y":"x"}function Vu(e){return Hu(Ht(e))}function B1(e,t,n){n===void 0&&(n=!1);const r=To(e),o=Vu(e),s=Wu(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=oa(i)),[i,oa(i)]}function U1(e){const t=oa(e);return[Pc(e),t,Pc(t)]}function Pc(e){return e.replace(/start|end/g,t=>$1[t])}const Lf=["left","right"],Df=["right","left"],H1=["top","bottom"],W1=["bottom","top"];function V1(e,t,n){switch(e){case"top":case"bottom":return n?t?Df:Lf:t?Lf:Df;case"left":case"right":return t?H1:W1;default:return[]}}function q1(e,t,n,r){const o=To(e);let s=V1(dn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Pc)))),s}function oa(e){return e.replace(/left|right|bottom|top/g,t=>z1[t])}function K1(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ag(e){return typeof e!="number"?K1(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 If(e,t,n){let{reference:r,floating:o}=e;const s=Ht(t),i=Vu(t),a=Wu(i),l=dn(t),u=s==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:d,y:r.y-o.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(To(t)){case"start":h[i]-=p*(n&&u?-1:1);break;case"end":h[i]+=p*(n&&u?-1:1);break}return h}const Q1=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}
vendor: 9,929 bytes, line 66
66=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=If(u,r,l),p=r,h={},b=0;for(let v=0;v<a.length;v++){const{name:w,fn:m}=a[v],{x:g,y,data:S,reset:E}=await m({x:d,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:u,platform:i,elements:{reference:e,floating:t}});d=g??d,f=y??f,h={...h,[w]:{...h[w],...S}},E&&b<=50&&(b++,typeof E=="object"&&(E.placement&&(p=E.placement),E.rects&&(u=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:d,y:f}=If(u,p,l)),v=-1)}return{x:d,y:f,placement:p,strategy:o,middlewareData:h}};async function bs(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=un(t,e),b=Ag(h),w=a[p?f==="floating"?"reference":"floating":f],m=sa(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:l})),g=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},E=sa(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:l}):g);return{top:(m.top-E.top+b.top)/S.y,bottom:(E.bottom-m.bottom+b.bottom)/S.y,left:(m.left-E.left+b.left)/S.x,right:(E.right-m.right+b.right)/S.x}}const G1=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:d=0}=un(e,t)||{};if(u==null)return{};const f=Ag(d),p={x:n,y:r},h=Vu(o),b=Wu(h),v=await i.getDimensions(u),w=h==="y",m=w?"top":"left",g=w?"bottom":"right",y=w?"clientHeight":"clientWidth",S=s.reference[b]+s.reference[h]-p[h]-s.floating[b],E=p[h]-s.reference[h],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let C=k?k[y]:0;(!C||!await(i.isElement==null?void 0:i.isElement(k)))&&(C=a.floating[y]||s.floating[b]);const N=S/2-E/2,O=C/2-v[b]/2-1,_=Vn(f[m],O),$=Vn(f[g],O),D=_,H=C-v[b]-$,M=C/2-v[b]/2+N,K=Nc(D,M,H),F=!l.arrow&&To(o)!=null&&M!==K&&s.reference[b]/2-(M<D?_:$)-v[b]/2<0,B=F?M<D?M-D:M-H:0;return{[h]:p[h]+B,data:{[h]:K,centerOffset:M-K-B,...F&&{alignmentOffset:B}},reset:F}}}),Y1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0,...w}=un(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=dn(o),g=Ht(a),y=dn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),E=p||(y||!v?[oa(a)]:U1(a)),k=b!=="none";!p&&k&&E.push(...q1(a,v,b,S));const C=[a,...E],N=await bs(t,w),O=[];let _=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&O.push(N[m]),f){const M=B1(o,i,S);O.push(N[M[0]],N[M[1]])}if(_=[..._,{placement:o,overflows:O}],!O.every(M=>M<=0)){var $,D;const M=((($=s.flip)==null?void 0:$.index)||0)+1,K=C[M];if(K&&(!(f==="alignment"?g!==Ht(K):!1)||_.every(T=>T.overflows[0]>0&&Ht(T.placement)===g)))return{data:{index:M,overflows:_},reset:{placement:K}};let F=(D=_.filter(B=>B.overflows[0]<=0).sort((B,T)=>B.overflows[1]-T.overflows[1])[0])==null?void 0:D.placement;if(!F)switch(h){case"bestFit":{var H;const B=(H=_.filter(T=>{if(k){const P=Ht(T.placement);return P===g||P==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(P=>P>0).reduce((P,L)=>P+L,0)]).sort((T,P)=>T[1]-P[1])[0])==null?void 0:H[0];B&&(F=B);break}case"initialPlacement":F=a;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function zf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function $f(e){return I1.some(t=>e[t]>=0)}const Z1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=un(e,t);switch(r){case"referenceHidden":{const s=await bs(t,{...o,elementContext:"reference"}),i=zf(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:$f(i)}}}case"escaped":{const s=await bs(t,{...o,altBoundary:!0}),i=zf(s,n.floating);return{data:{escapedOffsets:i,escaped:$f(i)}}}default:return{}}}}},Rg=new Set(["left","top"]);async function X1(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=dn(n),a=To(n),l=Ht(n)==="y",u=Rg.has(i)?-1:1,d=s&&l?-1:1,f=un(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof b=="number"&&(h=a==="end"?b*-1:b),l?{x:h*d,y:p*u}:{x:p*u,y:h*d}}const J1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await X1(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},eb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:w=>{let{x:m,y:g}=w;return{x:m,y:g}}},...l}=un(e,t),u={x:n,y:r},d=await bs(t,l),f=Ht(dn(o)),p=Hu(f);let h=u[p],b=u[f];if(s){const w=p==="y"?"top":"left",m=p==="y"?"bottom":"right",g=h+d[w],y=h-d[m];h=Nc(g,h,y)}if(i){const w=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=b+d[w],y=b-d[m];b=Nc(g,b,y)}const v=a.fn({...t,[p]:h,[f]:b});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[p]:s,[f]:i}}}}}},tb=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=un(e,t),d={x:n,y:r},f=Ht(o),p=Hu(f);let h=d[p],b=d[f];const v=un(a,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const y=p==="y"?"height":"width",S=s.reference[p]-s.floating[y]+w.mainAxis,E=s.reference[p]+s.reference[y]-w.mainAxis;h<S?h=S:h>E&&(h=E)}if(u){var m,g;const y=p==="y"?"width":"height",S=Rg.has(dn(o)),E=s.reference[f]-s.floating[y]+(S&&((m=i.offset)==null?void 0:m[f])||0)+(S?0:w.crossAxis),k=s.reference[f]+s.reference[y]+(S?0:((g=i.offset)==null?void 0:g[f])||0)-(S?w.crossAxis:0);b<E?b=E:b>k&&(b=k)}return{[p]:h,[f]:b}}}},nb=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...u}=un(e,t),d=await bs(t,u),f=dn(o),p=To(o),h=Ht(o)==="y",{width:b,height:v}=s.floating;let w,m;f==="top"||f==="bottom"?(w=f,m=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(m=f,w=p==="end"?"top":"bottom");const g=v-d.top-d.bottom,y=b-d.left-d.right,S=Vn(v-d[w],g),E=Vn(b-d[m],y),k=!t.middlewareData.shift;let C=S,N=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=g),k&&!p){const _=et(d.left,0),$=et(d.right,0),D=et(d.top,0),H=et(d.bottom,0);h?N=b-2*(_!==0||$!==0?_+$:et(d.left,d.right)):C=v-2*(D!==0||H!==0?D+H:et(d.top,d.bottom))}await l({...t,availableWidth:N,availableHeight:C});const O=await i.getDimensions(a.floating);return b!==O.width||v!==O.height?{reset:{rects:!0}}:{}}}};function Pa(){return typeof window<"u"}function jo(e){return _g(e)?(e.nodeName||"").toLowerCase():"#document"}function rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qt(e){var t;return(t=(_g(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function _g(e){return Pa()?e instanceof Node||e instanceof rt(e).Node:!1}function Mt(e){return Pa()?e instanceof Element||e instanceof rt(e).Element:!1}function Kt(e){return Pa()?e instanceof HTMLElement||e instanceof rt(e).HTMLElement:!1}function Ff(e){return!Pa()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof rt(e).ShadowRoot}const rb=new Set(["inline","contents"]);function Is(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Lt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!rb.has(o)}const ob=new Set(["table","td","th"]);function sb(e){return ob.has(jo(e))}const ib=[":popover-open",":modal"];function Aa(e){return ib.some(t=>{try{return e.matches(t)}catch{return!1}})}const ab=["transform","translate","scale","rotate","perspective"],lb=["transform","translate","scale","rotate","perspective","filter"],cb=["paint","layout","strict","content"];function qu(e){const t=Ku(),n=Mt(e)?Lt(e):e;return ab.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)||lb.some(r=>(n.willChange||"").includes(r))||cb.some(r=>(n.contain||"").includes(r))}function ub(e){let t=qn(e);for(;Kt(t)&&!wo(t);){if(qu(t))return t;if(Aa(t))return null;t=qn(t)}return null}function Ku(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const db=new Set(["html","body","#document"]);function wo(e){return db.has(jo(e))}function Lt(e){return rt(e).getComputedStyle(e)}function Ra(e){return Mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function qn(e){if(jo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ff(e)&&e.host||Qt(e);return Ff(t)?t.host:t}function Og(e){const t=qn(e);return wo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Kt(t)&&Is(t)?t:Og(t)}function Ss(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Og(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=rt(o);if(s){const a=Ac(i);
vendor: 7,136 bytes, line 66
66return t.concat(i,i.visualViewport||[],Is(o)?o:[],a&&n?Ss(a):[])}return t.concat(o,Ss(o,[],n))}function Ac(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Mg(e){const t=Lt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Kt(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=ra(n)!==s||ra(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function Qu(e){return Mt(e)?e:e.contextElement}function to(e){const t=Qu(e);if(!Kt(t))return qt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Mg(t);let i=(s?ra(n.width):n.width)/r,a=(s?ra(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const fb=qt(0);function Lg(e){const t=rt(e);return!Ku()||!t.visualViewport?fb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function hb(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==rt(e)?!1:t}function br(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Qu(e);let i=qt(1);t&&(r?Mt(r)&&(i=to(r)):i=to(e));const a=hb(s,n,r)?Lg(s):qt(0);let l=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(s){const p=rt(s),h=r&&Mt(r)?rt(r):r;let b=p,v=Ac(b);for(;v&&r&&h!==b;){const w=to(v),m=v.getBoundingClientRect(),g=Lt(v),y=m.left+(v.clientLeft+parseFloat(g.paddingLeft))*w.x,S=m.top+(v.clientTop+parseFloat(g.paddingTop))*w.y;l*=w.x,u*=w.y,d*=w.x,f*=w.y,l+=y,u+=S,b=rt(v),v=Ac(b)}}return sa({width:d,height:f,x:l,y:u})}function Gu(e,t){const n=Ra(e).scrollLeft;return t?t.left+n:br(Qt(e)).left+n}function Dg(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Gu(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function pb(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=Qt(r),a=t?Aa(t.floating):!1;if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=qt(1);const d=qt(0),f=Kt(r);if((f||!f&&!s)&&((jo(r)!=="body"||Is(i))&&(l=Ra(r)),Kt(r))){const h=br(r);u=to(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const p=i&&!f&&!s?Dg(i,l,!0):qt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-l.scrollTop*u.y+d.y+p.y}}function mb(e){return Array.from(e.getClientRects())}function gb(e){const t=Qt(e),n=Ra(e),r=e.ownerDocument.body,o=et(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=et(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Gu(e);const a=-n.scrollTop;return Lt(r).direction==="rtl"&&(i+=et(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}function vb(e,t){const n=rt(e),r=Qt(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const u=Ku();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}const yb=new Set(["absolute","fixed"]);function xb(e,t){const n=br(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Kt(e)?to(e):qt(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,u=r*s.y;return{width:i,height:a,x:l,y:u}}function Bf(e,t,n){let r;if(t==="viewport")r=vb(e,n);else if(t==="document")r=gb(Qt(e));else if(Mt(t))r=xb(t,n);else{const o=Lg(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return sa(r)}function Ig(e,t){const n=qn(e);return n===t||!Mt(n)||wo(n)?!1:Lt(n).position==="fixed"||Ig(n,t)}function wb(e,t){const n=t.get(e);if(n)return n;let r=Ss(e,[],!1).filter(a=>Mt(a)&&jo(a)!=="body"),o=null;const s=Lt(e).position==="fixed";let i=s?qn(e):e;for(;Mt(i)&&!wo(i);){const a=Lt(i),l=qu(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&yb.has(o.position)||Is(i)&&!l&&Ig(e,i))?r=r.filter(d=>d!==i):o=a,i=qn(i)}return t.set(e,r),r}function bb(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Aa(t)?[]:wb(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((u,d)=>{const f=Bf(t,d,o);return u.top=et(f.top,u.top),u.right=Vn(f.right,u.right),u.bottom=Vn(f.bottom,u.bottom),u.left=et(f.left,u.left),u},Bf(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Sb(e){const{width:t,height:n}=Mg(e);return{width:t,height:n}}function Eb(e,t,n){const r=Kt(t),o=Qt(t),s=n==="fixed",i=br(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=qt(0);function u(){l.x=Gu(o)}if(r||!r&&!s)if((jo(t)!=="body"||Is(o))&&(a=Ra(t)),r){const h=br(t,!0,s,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&u();s&&!r&&o&&u();const d=o&&!r&&!s?Dg(o,a):qt(0),f=i.left+a.scrollLeft-l.x-d.x,p=i.top+a.scrollTop-l.y-d.y;return{x:f,y:p,width:i.width,height:i.height}}function yl(e){return Lt(e).position==="static"}function Uf(e,t){if(!Kt(e)||Lt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Qt(e)===n&&(n=n.ownerDocument.body),n}function zg(e,t){const n=rt(e);if(Aa(e))return n;if(!Kt(e)){let o=qn(e);for(;o&&!wo(o);){if(Mt(o)&&!yl(o))return o;o=qn(o)}return n}let r=Uf(e,t);for(;r&&sb(r)&&yl(r);)r=Uf(r,t);return r&&wo(r)&&yl(r)&&!qu(r)?n:r||ub(e)||n}const kb=async function(e){const t=this.getOffsetParent||zg,n=this.getDimensions,r=await n(e.floating);return{reference:Eb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Cb(e){return Lt(e).direction==="rtl"}const Tb={convertOffsetParentRelativeRectToViewportRelativeRect:pb,getDocumentElement:Qt,getClippingRect:bb,getOffsetParent:zg,getElementRects:kb,getClientRects:mb,getDimensions:Sb,getScale:to,isElement:Mt,isRTL:Cb};function $g(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function jb(e,t){let n=null,r;const o=Qt(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=u;if(a||t(),!p||!h)return;const b=ui(f),v=ui(o.clientWidth-(d+p)),w=ui(o.clientHeight-(f+h)),m=ui(d),y={rootMargin:-b+"px "+-v+"px "+-w+"px "+-m+"px",threshold:et(0,Vn(1,l))||1};let S=!0;function E(k){const C=k[0].intersectionRatio;if(C!==l){if(!S)return i();C?i(!1,C):r=setTimeout(()=>{i(!1,1e-7)},1e3)}C===1&&!$g(u,e.getBoundingClientRect())&&i(),S=!1}try{n=new IntersectionObserver(E,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,y)}n.observe(e)}return i(!0),s}function Nb(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Qu(e),d=o||s?[...u?Ss(u):[],...Ss(t)]:[];d.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const f=u&&a?jb(u,n):null;let p=-1,h=null;i&&(h=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=h)==null||y.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let b,v=l?br(e):null;l&&w();function w(){const m=br(e);v&&!$g(v,m)&&n(),v=m,b=requestAnimationFrame(w)}return n(),()=>{var m;d.forEach(g=>{o&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),f==null||f(),(m=h)==null||m.disconnect(),h=null,l&&cancelAnimationFrame(b)}}
vendor: 6,550 bytes, line 66
66const Pb=J1,Ab=eb,Rb=Y1,_b=nb,Ob=Z1,Hf=G1,Mb=tb,Lb=(e,t,n)=>{const r=new Map,o={platform:Tb,...n},s={...o.platform,_c:r};return Q1(e,t,{...o,platform:s})};var Db=typeof document<"u",Ib=function(){},Pi=Db?x.useLayoutEffect:Ib;function ia(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(!ia(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!ia(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Fg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Wf(e,t){const n=Fg(e);return Math.round(t*n)/n}function xl(e){const t=x.useRef(e);return Pi(()=>{t.current=e}),t}function zb(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[d,f]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=x.useState(r);ia(p,r)||h(r);const[b,v]=x.useState(null),[w,m]=x.useState(null),g=x.useCallback(T=>{T!==k.current&&(k.current=T,v(T))},[]),y=x.useCallback(T=>{T!==C.current&&(C.current=T,m(T))},[]),S=s||b,E=i||w,k=x.useRef(null),C=x.useRef(null),N=x.useRef(d),O=l!=null,_=xl(l),$=xl(o),D=xl(u),H=x.useCallback(()=>{if(!k.current||!C.current)return;const T={placement:t,strategy:n,middleware:p};$.current&&(T.platform=$.current),Lb(k.current,C.current,T).then(P=>{const L={...P,isPositioned:D.current!==!1};M.current&&!ia(N.current,L)&&(N.current=L,Ls.flushSync(()=>{f(L)}))})},[p,t,n,$,D]);Pi(()=>{u===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[u]);const M=x.useRef(!1);Pi(()=>(M.current=!0,()=>{M.current=!1}),[]),Pi(()=>{if(S&&(k.current=S),E&&(C.current=E),S&&E){if(_.current)return _.current(S,E,H);H()}},[S,E,H,_,O]);const K=x.useMemo(()=>({reference:k,floating:C,setReference:g,setFloating:y}),[g,y]),F=x.useMemo(()=>({reference:S,floating:E}),[S,E]),B=x.useMemo(()=>{const T={position:n,left:0,top:0};if(!F.floating)return T;const P=Wf(F.floating,d.x),L=Wf(F.floating,d.y);return a?{...T,transform:"translate("+P+"px, "+L+"px)",...Fg(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:P,top:L}},[n,a,F.floating,d.x,d.y]);return x.useMemo(()=>({...d,update:H,refs:K,elements:F,floatingStyles:B}),[d,H,K,F,B])}const $b=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?Hf({element:r.current,padding:o}).fn(n):{}:r?Hf({element:r,padding:o}).fn(n):{}}}},Fb=(e,t)=>({...Pb(e),options:[e,t]}),Bb=(e,t)=>({...Ab(e),options:[e,t]}),Ub=(e,t)=>({...Mb(e),options:[e,t]}),Hb=(e,t)=>({...Rb(e),options:[e,t]}),Wb=(e,t)=>({..._b(e),options:[e,t]}),Vb=(e,t)=>({...Ob(e),options:[e,t]}),qb=(e,t)=>({...$b(e),options:[e,t]});var Kb="Arrow",Bg=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return c.jsx(Xe.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});Bg.displayName=Kb;var Qb=Bg;function Gb(e){const[t,n]=x.useState(void 0);return Wn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Ug="Popper",[Hg,Wg]=Ta(Ug),[DC,Vg]=Hg(Ug),qg="PopperAnchor",Kg=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=Vg(qg,n),i=x.useRef(null),a=Ot(t,i);return x.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:c.jsx(Xe.div,{...o,ref:a})});Kg.displayName=qg;var Yu="PopperContent",[Yb,Zb]=Hg(Yu),Qg=x.forwardRef((e,t)=>{var X,Gt,me,de,re,ge;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:b,...v}=e,w=Vg(Yu,n),[m,g]=x.useState(null),y=Ot(t,Ne=>g(Ne)),[S,E]=x.useState(null),k=Gb(S),C=(k==null?void 0:k.width)??0,N=(k==null?void 0:k.height)??0,O=r+(s!=="center"?"-"+s:""),_=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},$=Array.isArray(u)?u:[u],D=$.length>0,H={padding:_,boundary:$.filter(Jb),altBoundary:D},{refs:M,floatingStyles:K,placement:F,isPositioned:B,middlewareData:T}=zb({strategy:"fixed",placement:O,whileElementsMounted:(...Ne)=>Nb(...Ne,{animationFrame:h==="always"}),elements:{reference:w.anchor},middleware:[Fb({mainAxis:o+N,alignmentAxis:i}),l&&Bb({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Ub():void 0,...H}),l&&Hb({...H}),Wb({...H,apply:({elements:Ne,rects:$e,availableWidth:Yt,availableHeight:Zn})=>{const{width:za,height:Po}=$e.reference,Nr=Ne.floating.style;Nr.setProperty("--radix-popper-available-width",`${Yt}px`),Nr.setProperty("--radix-popper-available-height",`${Zn}px`),Nr.setProperty("--radix-popper-anchor-width",`${za}px`),Nr.setProperty("--radix-popper-anchor-height",`${Po}px`)}}),S&&qb({element:S,padding:a}),e2({arrowWidth:C,arrowHeight:N}),p&&Vb({strategy:"referenceHidden",...H})]}),[P,L]=Zg(F),U=Hn(b);Wn(()=>{B&&(U==null||U())},[B,U]);const z=(X=T.arrow)==null?void 0:X.x,Y=(Gt=T.arrow)==null?void 0:Gt.y,W=((me=T.arrow)==null?void 0:me.centerOffset)!==0,[le,Ce]=x.useState();return Wn(()=>{m&&Ce(window.getComputedStyle(m).zIndex)},[m]),c.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:B?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(de=T.transformOrigin)==null?void 0:de.x,(re=T.transformOrigin)==null?void 0:re.y].join(" "),...((ge=T.hide)==null?void 0:ge.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(Yb,{scope:n,placedSide:P,onArrowChange:E,arrowX:z,arrowY:Y,shouldHideArrow:W,children:c.jsx(Xe.div,{"data-side":P,"data-align":L,...v,ref:y,style:{...v.style,animation:B?void 0:"none"}})})})});Qg.displayName=Yu;
vendor: 4,443 bytes, line 66
66var Gg="PopperArrow",Xb={top:"bottom",right:"left",bottom:"top",left:"right"},Yg=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=Zb(Gg,r),i=Xb[s.placedSide];return c.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:c.jsx(Qb,{...o,ref:n,style:{...o.style,display:"block"}})})});Yg.displayName=Gg;function Jb(e){return e!==null}var e2=e=>({name:"transformOrigin",options:e,fn(t){var w,m,g;const{placement:n,rects:r,middlewareData:o}=t,i=((w=o.arrow)==null?void 0:w.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,d]=Zg(n),f={start:"0%",center:"50%",end:"100%"}[d],p=(((m=o.arrow)==null?void 0:m.x)??0)+a/2,h=(((g=o.arrow)==null?void 0:g.y)??0)+l/2;let b="",v="";return u==="bottom"?(b=i?f:`${p}px`,v=`${-l}px`):u==="top"?(b=i?f:`${p}px`,v=`${r.floating.height+l}px`):u==="right"?(b=`${-l}px`,v=i?f:`${h}px`):u==="left"&&(b=`${r.floating.width+l}px`,v=i?f:`${h}px`),{data:{x:b,y:v}}}});function Zg(e){const[t,n="center"]=e.split("-");return[t,n]}var t2=Kg,n2=Qg,r2=Yg,[_a,IC]=Ta("Tooltip",[Wg]),Zu=Wg(),Xg="TooltipProvider",o2=700,Vf="tooltip.open",[s2,Jg]=_a(Xg),e0=e=>{const{__scopeTooltip:t,delayDuration:n=o2,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,i=x.useRef(!0),a=x.useRef(!1),l=x.useRef(0);return x.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),c.jsx(s2,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:x.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:s})};e0.displayName=Xg;var t0="Tooltip",[zC,Oa]=_a(t0),Rc="TooltipTrigger",i2=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Oa(Rc,n),s=Jg(Rc,n),i=Zu(n),a=x.useRef(null),l=Ot(t,a,o.onTriggerChange),u=x.useRef(!1),d=x.useRef(!1),f=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),c.jsx(t2,{asChild:!0,...i,children:c.jsx(Xe.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:Ee(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:Ee(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:Ee(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Ee(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Ee(e.onBlur,o.onClose),onClick:Ee(e.onClick,o.onClose)})})});i2.displayName=Rc;var a2="TooltipPortal",[$C,l2]=_a(a2,{forceMount:void 0}),bo="TooltipContent",n0=x.forwardRef((e,t)=>{const n=l2(bo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,i=Oa(bo,e.__scopeTooltip);return c.jsx(zu,{present:r||i.open,children:i.disableHoverableContent?c.jsx(r0,{side:o,...s,ref:t}):c.jsx(c2,{side:o,...s,ref:t})})}),c2=x.forwardRef((e,t)=>{const n=Oa(bo,e.__scopeTooltip),r=Jg(bo,e.__scopeTooltip),o=x.useRef(null),s=Ot(t,o),[i,a]=x.useState(null),{trigger:l,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,p=x.useCallback(()=>{a(null),f(!1)},[f]),h=x.useCallback((b,v)=>{const w=b.currentTarget,m={x:b.clientX,y:b.clientY},g=p2(m,w.getBoundingClientRect()),y=m2(m,g),S=g2(v.getBoundingClientRect()),E=y2([...y,...S]);a(E),f(!0)},[f]);return x.useEffect(()=>()=>p(),[p]),x.useEffect(()=>{if(l&&d){const b=w=>h(w,d),v=w=>h(w,l);return l.addEventListener("pointerleave",b),d.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",v)}}},[l,d,h,p]),x.useEffect(()=>{if(i){const b=v=>{const w=v.target,m={x:v.clientX,y:v.clientY},g=(l==null?void 0:l.contains(w))||(d==null?void 0:d.contains(w)),y=!v2(m,i);g?p():y&&(p(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,d,i,u,p]),c.jsx(r0,{...e,ref:s})}),[u2,d2]=_a(t0,{isInside:!1}),f2=jx("TooltipContent"),r0=x.forwardRef((e,t)=>
66{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=Oa(bo,n),u=Zu(n),{onClose:d}=l;return x.useEffect(()=>(document.addEventListener(Vf,d),()=>document.removeEventListener(Vf,d)),[d]),x.useEffect(()=>{if(l.trigger){const f=p=>{const h=p.target;h!=null&&h.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),c.jsx(Iu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:c.jsxs(n2,{"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:[c.jsx(f2,{children:r}),c.jsx(u2,{scope:n,isInside:!0,children:c.jsx(Xx,{id:l.contentId,role:"tooltip",children:o||r})})]})})});n0.displayName=bo;var o0="TooltipArrow",h2=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Zu(n);return d2(o0,n).isInside?null:c.jsx(r2,{...o,...r,ref:t})});h2.displayName=o0;function p2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function m2(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 g2(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 v2(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],l=t[i],u=a.x,d=a.y,f=l.x,p=l.y;d>r!=p>r&&n<(f-u)*(r-d)/(p-d)+u&&(o=!o)}return o}function y2(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),x2(t)}function x2(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var w2=e0,s0=n0;const b2=w2,S2=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>c.jsx(s0,{ref:r,sideOffset:t,className:Cr("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}));S2.displayName=s0.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(){}},La=typeof window>"u"||"Deno"in globalThis;function kt(){}function E2(e,t){return typeof e=="function"?e(t):e}function k2(e){return typeof e=="number"&&e>=0&&e!==1/0}function C2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function _c(e,t){return typeof e=="function"?e(t):e}function T2(e,t){return typeof e=="function"?e(t):e}function qf(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==Xu(i,t.options))return!1}else if(!ks(t.queryKey,i))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||s&&!s(t))}function Kf(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Es(t.options.mutationKey)!==Es(s))return!1}else if(!ks(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Xu(e,t){return((t==null?void 0:t.queryKeyHashFn)||Es)(e)}function Es(e){return JSON.stringify(e,(t,n)=>Oc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function ks(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ks(e[n],t[n])):!1}function i0(e,t){if(e===t)return e;const n=Qf(e)&&Qf(t);if(n||Oc(e)&&Oc(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,a=n?[]:{},l=new Set(r);let u=0;for(let d=0;d<i;d++){const f=n?d:s[d];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,u++):(a[f]=i0(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&u++)}return o===i&&u===o?e:a}return t}function Qf(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Oc(e){if(!Gf(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Gf(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Gf(e){return Object.prototype.toString.call(e)==="[object Object]"}function j2(e){return new Promise(t=>{setTimeout(t,e)})}function N2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?i0(e,t):t}function P2(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function A2(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Ju=Symbol();function a0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ju?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var ir,kn,oo,Sh,R2=(Sh=class extends Ma{constructor(){super();ee(this,ir);ee(this,kn);ee(this,oo);q(this,oo,t=>{if(!La&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){j(this,kn)||this.setEventListener(j(this,oo))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,kn))==null||t.call(this),q(this,kn,void 0))}setEventListener(t){var n;q(this,oo,t),(n=j(this,kn))==null||n.call(this),q(this,kn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){j(this,ir)!==t&&(q(this,ir,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,912 bytes, line 66
66this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof j(this,ir)=="boolean"?j(this,ir):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ir=new WeakMap,kn=new WeakMap,oo=new WeakMap,Sh),l0=new R2,so,Cn,io,Eh,_2=(Eh=class extends Ma{constructor(){super();ee(this,so,!0);ee(this,Cn);ee(this,io);q(this,io,t=>{if(!La&&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(){j(this,Cn)||this.setEventListener(j(this,io))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,Cn))==null||t.call(this),q(this,Cn,void 0))}setEventListener(t){var n;q(this,io,t),(n=j(this,Cn))==null||n.call(this),q(this,Cn,t(this.setOnline.bind(this)))}setOnline(t){j(this,so)!==t&&(q(this,so,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return j(this,so)}},so=new WeakMap,Cn=new WeakMap,io=new WeakMap,Eh),aa=new _2;function O2(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function M2(e){return Math.min(1e3*2**e,3e4)}function c0(e){return(e??"online")==="online"?aa.isOnline():!0}var u0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function wl(e){return e instanceof u0}function d0(e){let t=!1,n=0,r=!1,o;const s=O2(),i=v=>{var w;r||(p(new u0(v)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>l0.isFocused()&&(e.networkMode==="always"||aa.isOnline())&&e.canRun(),d=()=>c0(e.networkMode)&&e.canRun(),f=v=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,v),o==null||o(),s.resolve(v))},p=v=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,v),o==null||o(),s.reject(v))},h=()=>new Promise(v=>{var w;o=m=>{(r||u())&&v(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),b=()=>{if(r)return;let v;const w=n===0?e.initialPromise:void 0;try{v=w??e.fn()}catch(m){v=Promise.reject(m)}Promise.resolve(v).then(f).catch(m=>{var k;if(r)return;const g=e.retry??(La?0:3),y=e.retryDelay??M2,S=typeof y=="function"?y(n,m):y,E=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!E){p(m);return}n++,(k=e.onFail)==null||k.call(e,n,m),j2(S).then(()=>u()?void 0:h()).then(()=>{t?p(m):b()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:a,continueRetry:l,canStart:d,start:()=>(d()?b():h().then(b),s)}}var L2=e=>setTimeout(e,0);function D2(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=L2;const s=a=>{t?e.push(a):o(()=>{n(a)})},i=()=>{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||i()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var Ue=D2(),ar,kh,f0=(kh=class{constructor(){ee(this,ar)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),k2(this.gcTime)&&q(this,ar,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(La?1/0:5*60*1e3))}clearGcTimeout(){j(this,ar)&&(clearTimeout(j(this,ar)),q(this,ar,void 0))}},ar=new WeakMap,kh),ao,lr,ut,cr,De,js,ur,Ct,Xt,Ch,I2=(Ch=class extends f0{constructor(t){super();ee(this,Ct);ee(this,ao);ee(this,lr);ee(this,ut);ee(this,cr);ee(this,De);ee(this,js);ee(this,ur);q(this,ur,!1),q(this,js,t.defaultOptions),this.setOptions(t.options),this.observers=[],q(this,cr,t.client),q(this,ut,j(this,cr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,q(this,ao,$2(this.options)),this.state=t.state??j(this,ao),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=j(this,De))==null?void 0:t.promise}setOptions(t){this.options={...j(this,js),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&j(this,ut).remove(this)}setData(t,n){const r=N2(this.state.data,t,this.options);return _e(this,Ct,Xt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){_e(this,Ct,Xt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=j(this,De))==null?void 0:r.promise;return(o=j(this,De))==null||o.cancel(t),n?n.then(kt).catch(kt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(j(this,ao))}isActive(){return this.observers.some(t=>T2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ju||this.state.dataUpdateCount+this.state.errorUpdate
vendor: 1,274 bytes, line 66
66Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>_c(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:!C2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=j(this,De))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=j(this,De))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),j(this,ut).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(j(this,De)&&(j(this,ur)?j(this,De).cancel({revert:!0}):j(this,De).cancelRetry()),this.scheduleGc()),j(this,ut).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||_e(this,Ct,Xt).call(this,{type:"invalidate"})}
vendor: 13,715 bytes, line 66
66fetch(t,n){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(j(this,De))return j(this,De).continueRetry(),j(this,De).promise}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(h=>h.options.queryFn);p&&this.setOptions(p.options)}const r=new AbortController,o=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(q(this,ur,!0),r.signal)})},s=()=>{const p=a0(this.options,n),b=(()=>{const v={client:j(this,cr),queryKey:this.queryKey,meta:this.meta};return o(v),v})();return q(this,ur,!1),this.options.persister?this.options.persister(p,b,this):p(b)},a=(()=>{const p={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:j(this,cr),state:this.state,fetchFn:s};return o(p),p})();(u=this.options.behavior)==null||u.onFetch(a,this),q(this,lr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&_e(this,Ct,Xt).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=p=>{var h,b,v,w;wl(p)&&p.silent||_e(this,Ct,Xt).call(this,{type:"error",error:p}),wl(p)||((b=(h=j(this,ut).config).onError)==null||b.call(h,p,this),(w=(v=j(this,ut).config).onSettled)==null||w.call(v,this.state.data,p,this)),this.scheduleGc()};return q(this,De,d0({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:p=>{var h,b,v,w;if(p===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(m){l(m);return}(b=(h=j(this,ut).config).onSuccess)==null||b.call(h,p,this),(w=(v=j(this,ut).config).onSettled)==null||w.call(v,p,this.state.error,this),this.scheduleGc()},onError:l,onFail:(p,h)=>{_e(this,Ct,Xt).call(this,{type:"failed",failureCount:p,error:h})},onPause:()=>{_e(this,Ct,Xt).call(this,{type:"pause"})},onContinue:()=>{_e(this,Ct,Xt).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),j(this,De).start()}},ao=new WeakMap,lr=new WeakMap,ut=new WeakMap,cr=new WeakMap,De=new WeakMap,js=new WeakMap,ur=new WeakMap,Ct=new WeakSet,Xt=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,...z2(r.data,this.options),fetchMeta:t.meta??null};case"success":return q(this,lr,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 wl(o)&&o.revert&&j(this,lr)?{...j(this,lr),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),Ue.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),j(this,ut).notify({query:this,type:"updated",action:t})})},Ch);function z2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:c0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function $2(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 $t,Th,F2=(Th=class extends Ma{constructor(t={}){super();ee(this,$t);this.config=t,q(this,$t,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Xu(o,n);let i=this.get(s);return i||(i=new I2({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){j(this,$t).has(t.queryHash)||(j(this,$t).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=j(this,$t).get(t.queryHash);n&&(t.destroy(),n===t&&j(this,$t).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ue.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return j(this,$t).get(t)}getAll(){return[...j(this,$t).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>qf(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>qf(t,r)):n}notify(t){Ue.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ue.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ue.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},$t=new WeakMap,Th),Ft,Fe,dr,Bt,xn,jh,B2=(jh=class extends f0{constructor(t){super();ee(this,Bt);ee(this,Ft);ee(this,Fe);ee(this,dr);this.mutationId=t.mutationId,q(this,Fe,t.mutationCache),q(this,Ft,[]),this.state=t.state||U2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){j(this,Ft).includes(t)||(j(this,Ft).push(t),this.clearGcTimeout(),j(this,Fe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){q(this,Ft,j(this,Ft).filter(n=>n!==t)),this.scheduleGc(),j(this,Fe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){j(this,Ft).length||(this.state.status==="pending"?this.scheduleGc():j(this,Fe).remove(this))}continue(){var t;return((t=j(this,dr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,i,a,l,u,d,f,p,h,b,v,w,m,g,y,S,E,k,C,N;const n=()=>{_e(this,Bt,xn).call(this,{type:"continue"})};q(this,dr,d0({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(O,_)=>{_e(this,Bt,xn).call(this,{type:"failed",failureCount:O,error:_})},onPause:()=>{_e(this,Bt,xn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>j(this,Fe).canRun(this)}));const r=this.state.status==="pending",o=!j(this,dr).canStart();try{if(r)n();else{_e(this,Bt,xn).call(this,{type:"pending",variables:t,isPaused:o}),await((i=(s=j(this,Fe).config).onMutate)==null?void 0:i.call(s,t,this));const _=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));_!==this.state.context&&_e(this,Bt,xn).call(this,{type:"pending",context:_,variables:t,isPaused:o})}const O=await j(this,dr).start();return await((d=(u=j(this,Fe).config).onSuccess)==null?void 0:d.call(u,O,t,this.state.context,this)),await((p=(f=this.options).onSuccess)==null?void 0:p.call(f,O,t,this.state.context)),await((b=(h=j(this,Fe).config).onSettled)==null?void 0:b.call(h,O,null,this.state.variables,this.state.context,this)),await((w=(v=this.options).onSettled)==null?void 0:w.call(v,O,null,t,this.state.context)),_e(this,Bt,xn).call(this,{type:"success",data:O}),O}catch(O){try{throw await((g=(m=j(this,Fe).config).onError)==null?void 0:g.call(m,O,t,this.state.context,this)),await((S=(y=this.options).onError)==null?void 0:S.call(y,O,t,this.state.context)),await((k=(E=j(this,Fe).config).onSettled)==null?void 0:k.call(E,void 0,O,this.state.variables,this.state.context,this)),await((N=(C=this.options).onSettled)==null?void 0:N.call(C,void 0,O,t,this.state.context)),O}finally{_e(this,Bt,xn).call(this,{type:"error",error:O})}}finally{j(this,Fe).runNext(this)}}},Ft=new WeakMap,Fe=new WeakMap,dr=new WeakMap,Bt=new WeakSet,xn=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),Ue.batch(()=>{j(this,Ft).forEach(r=>{r.onMutationUpdate(t)}),j(this,Fe).notify({mutation:this,type:"updated",action:t})})},jh);function U2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var tn,Tt,Ns,Nh,H2=(Nh=class extends Ma{constructor(t={}){super();ee(this,tn);ee(this,Tt);ee(this,Ns);this.config=t,q(this,tn,new Set),q(this,Tt,new Map),q(this,Ns,0)}build(t,n,r){const o=new B2({mutationCache:this,mutationId:++Hs(this,Ns)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){j(this,tn).add(t);const n=di(t);if(typeof n=="string"){const r=j(this,Tt).get(n);r?r.push(t):j(this,Tt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(j(this,tn).delete(t)){const n=di(t);if(typeof n=="string"){const r=j(this,Tt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&j(this,Tt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=di(t);if(typeof n=="string"){const r=j(this,Tt).get(n),o=r==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=di(t);if(typeof n=="string"){const o=(r=j(this,Tt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ue.batch(()=>{j(this,tn).forEach(t=>{this.notify({type:"removed",mutation:t})}),j(this,tn).clear(),j(this,Tt).clear()})}getAll(){return Array.from(j(this,tn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Kf(n,r))}findAll(t={}){return this.getAll().filter(n=>Kf(t,n))}notify(t){Ue.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ue.batch(()=>Promise.all(t.map(n=>n.continue().catch(kt))))}},tn=new WeakMap,Tt=new WeakMap,Ns=new WeakMap,Nh);function di(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Yf(e){return{onFetch:(t,n)=>{var d,f,p,h,b;const r=t.options,o=(p=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,s=((h=t.state.data)==null?void 0:h.pages)||[],i=((b=t.state.data)==null?void 0:b.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const w=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},m=a0(t.options,t.fetchOptions),g=async(y,S,E)=>{if(v)return Promise.reject();if(S==null&&y.pages.length)return Promise.resolve(y);const C=(()=>{const $={client:t.client,queryKey:t.queryKey,pageParam:S,direction:E?"backward":"forward",meta:t.options.meta};return w($),$})(),N=await m(C),{maxPages:O}=t.options,_=E?A2:P2;return{pages:_(y.pages,N,O),pageParams:_(y.pageParams,S,O)}};if(o&&s.length){const y=o==="backward",S=y?W2:Zf,E={pages:s,pageParams:i},k=S(r,E);a=await g(E,k,y)}else{const y=e??s.length;do{const S=l===0?i[0]??r.initialPageParam:Zf(r,a);if(l>0&&S==null)break;a=await g(a,S),l++}while(l<y)}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 W2(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 ve,Tn,jn,lo,co,Nn,uo,fo,Ph,V2=(Ph=class{constructor(e={}){ee(this,ve);ee(this,Tn);ee(this,jn);ee(this,lo);ee(this,co);ee(this,Nn);ee(this,uo);ee(this,fo);q(this,ve,e.queryCache||new F2),q(this,Tn,e.mutationCache||new H2),q(this,jn,e.defaultOptions||{}),q(this,lo,new Map),q(this,co,new Map),q(this,Nn,0)}mount(){Hs(this,Nn)._++,j(this,Nn)===1&&(q(this,uo,l0.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,ve).onFocus())})),q(this,fo,aa.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,ve).onOnline())})))}unmount(){var e,t;Hs(this,Nn)._--,j(this,Nn)===0&&((e=j(this,uo))==null||e.call(this),q(this,uo,void 0),(t=j(this,fo))==null||t.call(this),q(this,fo,void 0))}isFetching(e){return j(this,ve).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return j(this,Tn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=j(this,ve).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=j(this,ve).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(_c(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return j(this,ve).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=j(this,ve).get(r.queryHash),s=o==null?void 0:o.state.data,i=E2(t,s);if(i!==void 0)return j(this,ve).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return Ue.batch(()=>j(this,ve).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=j(this,ve).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=j(this,ve);Ue.batch(()=>
66{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=j(this,ve);return Ue.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ue.batch(()=>j(this,ve).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(kt).catch(kt)}invalidateQueries(e,t={}){return Ue.batch(()=>(j(this,ve).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=Ue.batch(()=>j(this,ve).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(kt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(kt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=j(this,ve).build(this,t);return n.isStaleByTime(_c(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(kt).catch(kt)}fetchInfiniteQuery(e){return e.behavior=Yf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(kt).catch(kt)}ensureInfiniteQueryData(e){return e.behavior=Yf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return aa.isOnline()?j(this,Tn).resumePausedMutations():Promise.resolve()}getQueryCache(){return j(this,ve)}getMutationCache(){return j(this,Tn)}getDefaultOptions(){return j(this,jn)}setDefaultOptions(e){q(this,jn,e)}setQueryDefaults(e,t){j(this,lo).set(Es(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...j(this,lo).values()],n={};return t.forEach(r=>{ks(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){j(this,co).set(Es(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...j(this,co).values()],n={};return t.forEach(r=>{ks(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...j(this,jn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Xu(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===Ju&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...j(this,jn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){j(this,ve).clear(),j(this,Tn).clear()}},ve=new WeakMap,Tn=new WeakMap,jn=new WeakMap,lo=new WeakMap,co=new WeakMap,Nn=new WeakMap,uo=new WeakMap,fo=new WeakMap,Ph),q2=x.createContext(void 0),K2=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),c.jsx(q2.Provider,{value:e,children:t}));/**
67 * @remix-run/router v1.23.0
68 *
69 * Copyright (c) Remix Software Inc.
70 *
71 * This source code is licensed under the MIT license found in the
72 * LICENSE.md file in the root directory of this source tree.
73 *
74 * @license MIT
75 */function Cs(){return Cs=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},Cs.apply(this,arguments)}var Rn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Rn||(Rn={}));const Xf="popstate";function Q2(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:a}=r.location;return Mc("",{pathname:s,search:i,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:la(o)}return Y2(t,n,null,e)}function be(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function h0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function G2(){return Math.random().toString(36).substr(2,8)}function Jf(e,t){return{usr:e.state,key:e.key,idx:t}}function Mc(e,t,n,r){return n===void 0&&(n=null),Cs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?No(t):t,{state:n,key:t&&t.key||r||G2()})}function la(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 No(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 Y2(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,a=Rn.Pop,l=null,u=d();u==null&&(u=0,i.replaceState(Cs({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){a=Rn.Pop;let w=d(),m=w==null?null:w-u;u=w,l&&l({action:a,location:v.location,delta:m})}function p(w,m){a=Rn.Push;let g=Mc(v.location,w,m);u=d()+1;let y=Jf(g,u),S=v.createHref(g);try{i.pushState(y,"",S)}
vendor: 3,324 bytes, line 75
75catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(S)}s&&l&&l({action:a,location:v.location,delta:1})}function h(w,m){a=Rn.Replace;let g=Mc(v.location,w,m);u=d();let y=Jf(g,u),S=v.createHref(g);i.replaceState(y,"",S),s&&l&&l({action:a,location:v.location,delta:0})}function b(w){let m=o.location.origin!=="null"?o.location.origin:o.location.href,g=typeof w=="string"?w:la(w);return g=g.replace(/ $/,"%20"),be(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let v={get action(){return a},get location(){return e(o,i)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Xf,f),l=w,()=>{o.removeEventListener(Xf,f),l=null}},createHref(w){return t(o,w)},createURL:b,encodeLocation(w){let m=b(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:p,replace:h,go(w){return i.go(w)}};return v}var eh;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(eh||(eh={}));function Z2(e,t,n){return n===void 0&&(n="/"),X2(e,t,n,!1)}function X2(e,t,n,r){let o=typeof t=="string"?No(t):t,s=ed(o.pathname||"/",n);if(s==null)return null;let i=p0(e);J2(i);let a=null;for(let l=0;a==null&&l<i.length;++l){let u=uS(s);a=lS(i[l],u,r)}return a}function p0(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};l.relativePath.startsWith("/")&&(be(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. 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=Fn([r,l.relativePath]),d=n.concat(l);s.children&&s.children.length>0&&(be(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),p0(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:iS(u,s.index),routesMeta:d})};return e.forEach((s,i)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))o(s,i);else for(let l of m0(s.path))o(s,i,l)}),t}function m0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=m0(r.join("/")),a=[];return a.push(...i.map(l=>l===""?s:[s,l].join("/"))),o&&a.push(...i),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function J2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:aS(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const eS=/^:[\w-]+$/,tS=3,nS=2,rS=1,oS=10,sS=-2,th=e=>e==="*";function iS(e,t){let n=e.split("/"),r=n.length;return n.some(th)&&(r+=sS),t&&(r+=nS),n.filter(o=>!th(o)).reduce((o,s)=>o+(eS.test(s)?tS:s===""?rS:oS),r)}function aS(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 lS(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,d=s==="/"?t:t.slice(s.length)||"/",f=nh({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),p=l.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=nh({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!f)return null;
vendor: 6,834 bytes, lines 75-84
75Object.assign(o,f.params),i.push({params:o,pathname:Fn([s,f.pathname]),pathnameBase:pS(Fn([s,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(s=Fn([s,f.pathnameBase]))}return i}function nh(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=cS(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:p,isOptional:h}=d;if(p==="*"){let v=a[f]||"";i=s.slice(0,s.length-v.length).replace(/(.)\/+$/,"$1")}const b=a[f];return h&&!b?u[p]=void 0:u[p]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function cS(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),h0(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,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 uS(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return h0(!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 ed(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 dS(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?No(e):e;return{pathname:n?n.startsWith("/")?n:fS(n,t):t,search:mS(r),hash:gS(o)}}function fS(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 bl(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 hS(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function g0(e,t){let n=hS(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function v0(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=No(e):(o=Cs({},e),be(!o.pathname||!o.pathname.includes("?"),bl("?","pathname","search",o)),be(!o.pathname||!o.pathname.includes("#"),bl("#","pathname","hash",o)),be(!o.search||!o.search.includes("#"),bl("#","search","hash",o)));let s=e===""||o.pathname==="",i=s?"/":o.pathname,a;if(i==null)a=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),f-=1;o.pathname=p.join("/")}a=f>=0?t[f]:"/"}let l=dS(o,a),u=i&&i!=="/"&&i.endsWith("/"),d=(s||i===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const Fn=e=>e.join("/").replace(/\/\/+/g,"/"),pS=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),mS=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,gS=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function vS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const y0=["post","put","patch","delete"];new Set(y0);const yS=["get",...y0];new Set(yS);/**
76 * React Router v6.30.1
77 *
78 * Copyright (c) Remix Software Inc.
79 *
80 * This source code is licensed under the MIT license found in the
81 * LICENSE.md file in the root directory of this source tree.
82 *
83 * @license MIT
84 */function Ts(){return Ts=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},Ts.apply(this,arguments)}const td=x.createContext(null),xS=x.createContext(null),Tr=x.createContext(null),Da=x.createContext(null),jr=x.createContext({outlet:null,matches:[],isDataRoute:!1}),x0=x.createContext(null);function wS(e,t){let{relative:n}=t===void 0?{}:t;zs()||be(!1);let{basename:r,navigator:o}=x.useContext(Tr),{hash:s,pathname:i,search:a}=b0(e,{relative:n}),l=i;return r!=="/"&&(l=i==="/"?r:Fn([r,i])),o.createHref({pathname:l,search:a,hash:s})}function zs(){return x.useContext(Da)!=null}function $s(){return zs()||be(!1),x.useContext(Da).location}function w0(e){x.useContext(Tr).static||x.useLayoutEffect(e)}function bS(){let{isDataRoute:e}=x.useContext(jr);return e?MS():SS()}function SS(){zs()||be(!1);let e=x.useContext(td),{basename:t,future:n,navigator:r}=x.useContext(Tr),{matches:o}=x.useContext(jr),{pathname:s}=$s(),i=JSON.stringify(g0(o,n.v7_relativeSplatPath)),a=x.useRef(!1);return w0(()=>{a.current=!0}),x.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=v0(u,JSON.parse(i),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Fn([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,s,e])}function b0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(Tr),{matches:o}=x.useContext(jr),{pathname:s}=$s(),i=JSON.stringify(g0(o,r.v7_relativeSplatPath));return x.useMemo(()=>v0(e,JSON.parse(i),s,n==="path"),[e,i,s,n])}function ES(e,t){return kS(e,t)}function kS(e,t,n,r){zs()||be(!1);let{navigator:o}=x.useContext(Tr),{matches:s}=x.useContext(jr),i=s[s.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let u=$s(),d;if(t){var f;let w=typeof t=="string"?No(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||be(!1),d=w}else d=u;let p=d.pathname||"/",h=p;if(l!=="/"){let w=l.replace(/^\//,"").split("/");h="/"+p.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=Z2(e,{pathname:h}),v=PS(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:Fn([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Fn([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&v?x.createElement(Da.Provider,{value:{location:Ts({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Rn.Pop}},v):v}function CS(){let e=OS(),t=vS(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application 
84Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const TS=x.createElement(CS,null);class jS extends x.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?x.createElement(jr.Provider,{value:this.props.routeContext},x.createElement(x0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function NS(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(td);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(jr.Provider,{value:t},r)}function PS(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let d=i.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||be(!1),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:p,errors:h}=n,b=f.route.loader&&p[f.route.id]===void 0&&(!h||h[f.route.id]===void 0);if(f.route.lazy||b){l=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,f,p)=>{let h,b=!1,v=null,w=null;n&&(h=a&&f.route.id?a[f.route.id]:void 0,v=f.route.errorElement||TS,l&&(u<0&&p===0?(b=!0,w=null):u===p&&(b=!0,w=f.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,p+1)),g=()=>{let y;return h?y=v:b?y=w:f.route.Component?y=x.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=d,x.createElement(NS,{match:f,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:y})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?x.createElement(jS,{location:n.location,revalidation:n.revalidation,component:v,error:h,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var S0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(S0||{}),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 AS(e){let t=x.useContext(td);return t||be(!1),t}function RS(e){let t=x.useContext(xS);return t||be(!1),t}function _S(e){let t=x.useContext(jr);return t||be(!1),t}function E0(e){let t=_S(),n=t.matches[t.matches.length-1];return n.route.id||be(!1),n.route.id}function OS(){var e;let t=x.useContext(x0),n=RS(ca.UseRouteError),r=E0(ca.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function MS(){let{router:e}=AS(S0.UseNavigateStable),t=E0(ca.UseNavigateStable),n=x.useRef(!1);return w0(()=>{n.current=!0}),x.useCallback(function(o,s){s===void 0&&(s={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Ts({fromRouteId:t},s)))},[e,t])}function LS(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Mr(e){be(!1)}function DS(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Rn.Pop,navigator:s,static:i=!1,future:a}=e;zs()&&be(!1);let l=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:s,static:i,future:Ts({v7_relativeSplatPath:!1},a)}),[l,a,s,i]);typeof r=="string"&&(r=No(r));let{pathname:d="/",search:f="",hash:p="",state:h=null,key:b="default"}=r,v=x.useMemo(()=>{let w=ed(d,l);return w==null?null:{location:{pathname:w,search:f,hash:p,state:h,key:b},navigationType:o}},[l,d,f,p,h,b,o]);return v==null?null:x.createElement(Tr.Provider,{value:u},x.createElement(Da.Provider,{children:n,value:v}))}function IS(e){let{children:t,location:n}=e;return ES(Lc(t),n)}new Promise(()=>{});function Lc(e,t){t===void 0&&(t=[]);let n=[];
84return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let s=[...t,o];if(r.type===x.Fragment){n.push.apply(n,Lc(r.props.children,s));return}r.type!==Mr&&be(!1),!r.props.index||!r.props.children||be(!1);let i={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=Lc(r.props.children,s)),n.push(i)}),n}/**
85 * React Router DOM v6.30.1
86 *
87 * Copyright (c) Remix Software Inc.
88 *
89 * This source code is licensed under the MIT license found in the
90 * LICENSE.md file in the root directory of this source tree.
91 *
92 * @license MIT
93 */function Dc(){return Dc=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},Dc.apply(this,arguments)}function zS(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function $S(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function FS(e,t){return e.button===0&&(!t||t==="_self")&&!$S(e)}const BS=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],US="6";try{window.__reactRouterVersion=US}catch{}const HS="startTransition",rh=Fh[HS];function WS(e){let{basename:t,children:n,future:r,window:o}=e,s=x.useRef();s.current==null&&(s.current=Q2({window:o,v5Compat:!0}));let i=s.current,[a,l]=x.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},d=x.useCallback(f=>{u&&rh?rh(()=>l(f)):l(f)},[l,u]);return x.useLayoutEffect(()=>i.listen(d),[i,d]),x.useEffect(()=>LS(r),[r]),x.createElement(DS,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i,future:r})}const VS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,mr=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:s,replace:i,state:a,target:l,to:u,preventScrollReset:d,viewTransition:f}=t,p=zS(t,BS),{basename:h}=x.useContext(Tr),b,v=!1;if(typeof u=="string"&&qS.test(u)&&(b=u,VS))try{let y=new URL(window.location.href),S=u.startsWith("//")?new URL(y.protocol+u):new URL(u),E=ed(S.pathname,h);S.origin===y.origin&&E!=null?u=E+S.search+S.hash:v=!0}catch{}let w=wS(u,{relative:o}),m=KS(u,{replace:i,state:a,target:l,preventScrollReset:d,relative:o,viewTransition:f});function g(y){r&&r(y),y.defaultPrevented||m(y)}return x.createElement("a",Dc({},p,{href:b||w,onClick:v||s?r:g,ref:n,target:l}))});var oh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(oh||(oh={}));var sh;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(sh||(sh={}));function KS(e,t){let{target:n,replace:r,state:o,preventScrollReset:s,relative:i,viewTransition:a}=t===void 0?{}:t,l=bS(),u=$s(),d=b0(e,{relative:i});return x.useCallback(f=>{if(FS(f,n)){f.preventDefault();let p=r!==void 0?r:la(u)===la(d);l(e,{replace:p,state:o,preventScrollReset:s,relative:i,viewTransition:a})}},[u,l,d,r,o,n,e,s,i,a])}const ih={cosmic:{name:"Cosmic Midnight",primary:"hsl(217, 91%, 60%)",secondary:"hsl(188, 78%, 55%)",tertiary:"hsl(239, 84%, 67%)",glow:"rgba(96, 165, 250, 0.3)",glowSecondary:"rgba(34, 211, 238, 0.2)",primaryClass:"blue-400",secondaryClass:"cyan-400",tertiaryClass:"indigo-500",primaryBorder:"border-blue-400",primaryBg:"bg-blue-400",primaryText:"text-blue-400",secondaryBorder:"border-cyan-400",secondaryBg:"bg-cyan-400",secondaryText:"text-cyan-400"},forest:{name:"Forest Sanctuary",primary:"hsl(152, 68%, 52%)",secondary:"hsl(171, 77%, 52%)",tertiary:"hsl(142, 76%, 36%)",glow:"rgba(52, 211, 153, 0.3)",glowSecondary:"rgba(45, 212, 191, 0.2)",primaryClass:"emerald-400",secondaryClass:"teal-400",tertiaryClass:"green-600",primaryBorder:"border-emerald-400",primaryBg:"bg-emerald-400",primaryText:"text-emerald-400",secondaryBorder:"border-teal-400",secondaryBg:"bg-teal-400",secondaryText:"text-teal-400"},amber:{name:"Amber Dusk",primary:"hsl(43, 96%, 56%)",secondary:"hsl(350, 95%, 72%)",tertiary:"hsl(24, 94%, 52%)",glow:"rgba(251, 191, 36, 0.3)",glowSecondary:"rgba(251, 113, 133, 0.2)",primaryClass:"amber-400",secondaryClass:"rose-400",tertiaryClass:"orange-500",primaryBorder:"border-amber-400",primaryBg:"bg-
93amber-400",primaryText:"text-amber-400",secondaryBorder:"border-rose-400",secondaryBg:"bg-rose-400",secondaryText:"text-rose-400"},winter:{name:"Winter Violet",primary:"hsl(270, 91%, 75%)",secondary:"hsl(258, 90%, 78%)",tertiary:"hsl(270, 61%, 65%)",glow:"rgba(192, 132, 252, 0.3)",glowSecondary:"rgba(167, 139, 250, 0.2)",primaryClass:"purple-400",secondaryClass:"violet-400",tertiaryClass:"purple-500",primaryBorder:"border-purple-400",primaryBg:"bg-purple-400",primaryText:"text-purple-400",secondaryBorder:"border-violet-400",secondaryBg:"bg-violet-400",secondaryText:"text-violet-400"}},QS=x.createContext(void 0),ah="stellarsonics-dashboard-theme";function GS({children:e}){const[t,n]=x.useState(()=>{if(typeof window<"u"){const s=localStorage.getItem(ah);if(s&&s in ih)return s}return"cosmic"});x.useEffect(()=>{localStorage.setItem(ah,t)},[t]);const r=s=>{n(s)},o=ih[t];return c.jsx(QS.Provider,{value:{theme:t,setTheme:r,colors:o},children:e})}const k0=x.createContext(void 0),C0=({children:e})=>{const[t,n]=x.useState(()=>{if(typeof window>"u")return"de";const o=localStorage.getItem("language");return o==="en"||o==="de"?o:"de"}),r=o=>{n(o),localStorage.setItem("language",o)};return c.jsx(k0.Provider,{value:{language:t,setLanguage:r},children:e})},Yn=()=>{const e=x.useContext(k0);return e===void 0?{language:"de",setLanguage:()=>{}}:e},fi=[{t:0,top:[62,108,116],bottom:[38,80,92]},{t:.09,top:[38,80,92],bottom:[9,44,72]},{t:.19,top:[9,44,72],bottom:[5,26,54]},{t:.29,top:[5,26,54],bottom:[3,15,36]},{t:.38,top:[3,15,36],bottom:[2,9,22]},{t:.46,top:[2,9,22],bottom:[5,7,12]},{t:.52,top:[5,7,12],bottom:[5,7,12]},{t:.56,top:[5,7,12],bottom:[5,7,12]},{t:.6,top:[21,42,111],bottom:[21,42,111]},{t:.72,top:[21,42,111],bottom:[21,42,111]},{t:.78,top:[8,36,76],bottom:[8,36,76]},{t:.81,top:[30,84,138],bottom:[30,84,138]},{t:.9,top:[122,152,160],bottom:[122,152,160]},{t:.96,top:[154,184,188],bottom:[186,200,198]},{t:1,top:[214,211,198],bottom:[243,239,231]}],lh=(e,t,n)=>e+(t-e)*n,YS=e=>{const t=Math.max(0,Math.min(1,e));let n=0;for(;n<fi.length-2&&t>fi[n+1].t;)n++;const r=fi[n],o=fi[n+1],s=Math.max(0,Math.min(1,(t-r.t)/(o.t-r.t||1)));return{top:[0,1,2].map(i=>lh(r.top[i],o.top[i],s)),bottom:[0,1,2].map(i=>lh(r.bottom[i],o.bottom[i],s))}},ZS=.035,ch=9,uh=new Map,Sr=e=>{const t=Math.round(Math.max(0,Math.min(1,e))*4e3),n=uh.get(t);if(n)return n;const r=[0,0,0],o=[0,0,0];let s=0;for(let a=0;a<ch;a++){const l=(a/(ch-1)-.5)*2,u=1-Math.abs(l)*.6,d=YS(t/4e3+l*ZS);for(let f=0;f<3;f++)r[f]+=d.top[f]*u,o[f]+=d.bottom[f]*u;s+=u}const i={top:r.map(a=>Math.round(a/s)),bottom:o.map(a=>Math.round(a/s))};return uh.set(t,i),i},dh=e=>.299*e[0]+.587*e[1]+.114*e[2]>128,Kr={target:0,current:0,listeners:new Set,setTarget(e){this.target=e},lastKey:"",tick(){return this.current<0&&(this.current=this.target),this.current+=(this.target-this.current)*.12,Math.abs(this.target-this.current)<5e-4&&(this.current=this.target),this.notify(),this.current!==this.target},notify(){const{top:e}=Sr(this.current),t=dh(e),n=`${t}`;n!==this.lastKey&&(this.lastKey=n,this.listeners.forEach(r=>r({color:e,isLight:t})))},subscribe(e){this.listeners.add(e);const{top:t}=Sr(this.current);return e({color:t,isLight:dh(t)}),()=>this.listeners.delete(e)}},XS=()=>{const e=x.useRef(null);return x.useEffect(()=>{const t=e.current;if(!t)return;let n=0,r="";const o=()=>{const i=Kr.tick(),{top:a,bottom:l}=Sr(Kr.current),u=`linear-gradient(180deg, rgb(${a[0]}, ${a[1]}, ${a[2]}) 0%, rgb(${l[0]}, ${l[1]}, ${l[2]}) 100%)`;u!==r&&(t.style.background=u,r=u),n=i?requestAnimationFrame(o):0},s=()=>{const i=document.documentElement.scrollHeight-window.innerHeight||1;Kr.setTarget(Math.max(0,Math.min(1,window.scrollY/i))),n||(n=requestAnimationFrame(o))};return Kr.current=-1,s(),window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",s,{passive:!0}),()=>{cancelAnimationFrame(n),window.removeEventListener("scroll",s),window.removeEventListener("resize",s)}},[]),c.jsx("div",{ref:e,"aria-hidden":!0,className:"deep-field pointer-events-none fixed inset-0 z-0",children:c.jsxs("svg",{className:"absolute inset-0 h-full w-full opacity-[0.10] mix-blend-soft-light [mask-image:linear-gradient(to_bottom,transparent_0%,black_10%,black_90%,transparent_100%)]","aria-hidden":!0,
93children:[c.jsxs("filter",{id:"ocean-grain",children:[c.jsx("feTurbulence",{type:"fractalNoise",baseFrequency:"0.6",numOctaves:"4",stitchTiles:"stitch"}),c.jsx("feColorMatrix",{type:"saturate",values:"0"})]}),c.jsx("rect",{width:"100%",height:"100%",filter:"url(#ocean-grain)"})]})})},JS=1,eE="44674222-165e-4d56-9330-c56232b9ee11",tE="ecd8044b-8c20-4174-8694-c9f799487838",nE="/__l5e/assets-v1/44674222-165e-4d56-9330-c56232b9ee11/hero-water.mp4",rE="a/v1/ecd8044b-8c20-4174-8694-c9f799487838/44674222-165e-4d56-9330-c56232b9ee11/hero-water.mp4",oE="hero-water.mp4",sE=1636854,iE="video/mp4",aE="2026-08-27T11:35:27Z",lE={version:JS,asset_id:eE,project_id:tE,url:nE,r2_key:rE,original_filename:oE,size:sE,content_type:iE,created_at:aE},cE=1,uE="684f7bcf-f4b5-4f6d-862f-421d26429d35",dE="ecd8044b-8c20-4174-8694-c9f799487838",fE="/__l5e/assets-v1/684f7bcf-f4b5-4f6d-862f-421d26429d35/hero-water-poster.jpg",hE="a/v1/ecd8044b-8c20-4174-8694-c9f799487838/684f7bcf-f4b5-4f6d-862f-421d26429d35/hero-water-poster.jpg",pE="hero-water-poster.jpg",mE=8594,gE="image/jpeg",vE="2026-08-27T11:35:29Z",yE={version:cE,asset_id:uE,project_id:dE,url:fE,r2_key:hE,original_filename:pE,size:mE,content_type:gE,created_at:vE},xE=()=>{const e=x.useRef(null),t=x.useRef(null);return x.useEffect(()=>{const n=e.current;if(!n)return;const r=window.matchMedia("(prefers-reduced-motion: reduce)").matches;let o=0,s=-1;const i=n.querySelector("[data-tint]"),a=()=>{o=requestAnimationFrame(a);const l=Kr.current;if(l===s)return;s=l;const u=Math.max(0,Math.min(1,(.13-l)/.13)),d=u*u*(3-2*u);n.style.opacity=d.toFixed(3),n.style.transform=`scale(${(1+(1-d)*.06).toFixed(4)})`;const f=t.current;f&&(r||d<.02?f.paused||f.pause():f.paused&&f.play().catch(()=>{}));const{top:p,bottom:h}=Sr(l);i&&d>0&&(i.style.background=`linear-gradient(180deg, rgba(${p[0]},${p[1]},${p[2]},0.22) 0%, rgba(${h[0]},${h[1]},${h[2]},0.62) 100%)`)};return o=requestAnimationFrame(a),()=>cancelAnimationFrame(o)},[]),c.jsxs("div",{ref:e,"aria-hidden":!0,className:"pointer-events-none fixed inset-0 z-0 overflow-hidden will-change-[opacity,transform]",children:[c.jsx("video",{ref:t,className:"h-full w-full object-cover [filter:saturate(0.78)_brightness(0.9)_contrast(1.04)]",src:lE.url,poster:yE.url,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata"}),c.jsx("div",{"data-tint":!0,className:"absolute inset-0 mix-blend-multiply"}),c.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(120%_90%_at_50%_0%,transparent_35%,rgba(3,15,36,0.4)_100%)]"})]})},wE={en:{hero:{nameFirst:"Simon",nameLast:"Stellar",title:"Concert for One",lines:["Music you hear and feel in the body."],meta:"Zürich Seefeld · 90 min · CHF 240",descend:"descend",soundOn:"Sound on",soundOff:"Sound off"},voicesNote:"From 35 one-to-one encounters in Zürich.",concert:["Concert for One"],concertBody:`Music happens live in the room. You hear it through headphones and feel parts of it as vibration in the body.
94
95You arrive, we have a tea and talk briefly. Then you lie on a vibroacoustic bed while I play live on a synthesizer. At the end there is some time in silence.`,concertFacts:"Synthesizer · whole-body vibration · silence",concertOptions:[{duration:"90 min",price:"CHF 240"}],concertLine:"Zürich Seefeld",photoAlt:"Simon Stellar playing an upright piano in the room where the sessions take place",photos:{place:"The room in Zürich Seefeld: a mat on the floor, headphones, a paper lamp",practice:"Headphones and a controller on the wooden table next to the bed",simon:"Simon Stellar playing the UDO Super Gemini synthesizer, looking down at the keys"},writeToMe:"Write to me",simon:"Simon",simonBody:`I play freely improvised music and work with sound, body and space.
96
97While I play, I pay attention to what changes in the listener, in the music and in the room, and let that flow back into the music.
98
99I’m interested in how the room itself becomes part of that interplay, and what should remain human as technology becomes more responsive.`,simonCredentials:"MSc ETH Zurich — Systemic Experiential Educator.",questions:"Questions",faq:[{q:"Is this therapy?",a:"No. Concert for One is a concert, not a therapeutic or medical treatment."},{q:"Do I have to do anything?",a:"No. You can change the volume and the vibration or stop at any time. With a pacemaker or epilepsy, tell me beforehand: we then work without vibration."},{q:"Where?",a:"Zürich Seefeld. You get the exact address with the confirmation of the date."}
99,{q:"Price & cancellation",a:"90 min · CHF 240. Free cancellation until 24 hours before."}],social:{instagram:"Instagram",linkedin:"LinkedIn"},form:{title:"Write to me",note:"Zürich Seefeld · TWINT or cash",durationLabel:"Duration",firstName:"First name",lastName:"Last name",email:"Email",message:"Anything you want to say (optional)",submit:"Send",sending:"Sending",close:"Close",success:"Received. I’ll write back within a day.",successSignOff:"Simon",error:"That didn’t send. Please write to [email protected].",successTitle:e=>e?`Thank you, ${e}.`:"Thank you.",successBody:"I’ll get back to you within a day with possible dates.",successClose:"Close",invalid:{firstName:"Please tell me your first name.",lastName:"Please tell me your last name.",email:"Please enter a valid email address."}},footer:{privacy:"Privacy",terms:"Terms",cookies:"Cookies",social:"Follow"}},de:{hero:{nameFirst:"Simon",nameLast:"Stellar",title:"Concert for One",lines:["Musik, die du hörst und im Körper spürst."],meta:"Zürich Seefeld · 90 Min · CHF 240",descend:"eintauchen",soundOn:"Ton an",soundOff:"Ton aus"},voicesNote:"Aus 35 Eins-zu-eins-Begegnungen in Zürich.",concert:["Concert for One"],concertBody:`Musik entsteht live im Raum. Du hörst sie über Kopfhörer und spürst Teile davon als Vibration im Körper.
100
101Du kommst an, wir trinken einen Tee und sprechen kurz. Danach liegst du auf einem vibroakustischen Bett, während ich live auf einem Synthesizer spiele. Am Ende bleibt etwas Zeit in Stille.`,concertFacts:"Synthesizer · Ganzkörper-Vibration · Stille",concertOptions:[{duration:"90 Min",price:"CHF 240"}],concertLine:"Zürich Seefeld",photoAlt:"Simon Stellar am Klavier im Raum, in dem die Sessions stattfinden",photos:{place:"Der Raum in Zürich Seefeld: eine Matte am Boden, Kopfhörer, eine Papierlampe",practice:"Kopfhörer und ein Controller auf dem Holztisch neben dem Bett",simon:"Simon Stellar spielt den UDO Super Gemini und schaut auf die Tasten"},writeToMe:"Schreib mir",simon:"Simon",simonBody:`Ich spiele frei improvisierte Musik und arbeite mit Klang, Körper und Raum.
102
103Während ich spiele, achte ich darauf, was sich beim Zuhörer, in der Musik und im Raum verändert, und lasse das in die Musik einfliessen.
104
105Mich interessiert, wie der Raum selbst Teil dieses Zusammenspiels wird, und was menschlich bleiben soll, wenn Technik immer reaktionsfähiger wird.`,simonCredentials:"MSc ETH Zürich — Systemischer Erlebnispädagoge.",questions:"Fragen",faq:[{q:"Ist das Therapie?",a:"Nein. Concert for One ist ein Konzert und keine therapeutische oder medizinische Behandlung."},{q:"Muss ich etwas tun?",a:"Nein. Lautstärke und Vibration kannst du jederzeit verändern oder stoppen. Bei Herzschrittmacher oder Epilepsie sag mir vorher Bescheid, dann arbeiten wir ohne Vibration."},{q:"Wo?",a:"Zürich Seefeld. Die genaue Adresse erhältst du mit der Terminbestätigung."},{q:"Preis & Absage",a:"90 Min · CHF 240. Kostenlose Absage bis 24 Stunden vorher."}],social:{instagram:"Instagram",linkedin:"LinkedIn"},form:{title:"Schreib mir",note:"Zürich Seefeld · TWINT oder Bar",durationLabel:"Dauer",firstName:"Vorname",lastName:"Nachname",email:"E-Mail",message:"Was du sagen möchtest (optional)",submit:"Senden",sending:"Sendet",close:"Schliessen",success:"Erhalten. Ich melde mich innerhalb eines Tages.",successSignOff:"Simon",error:"Das ging nicht raus. Schreib mir bitte an [email protected].",successTitle:e=>e?`Danke, ${e}.`:"Danke.",successBody:"Ich melde mich innerhalb eines Tages mit Terminvorschlägen.",successClose:"Schliessen",invalid:{firstName:"Bitte sag mir deinen Vornamen.",lastName:"Bitte sag mir deinen Nachnamen.",email:"Bitte gib eine gültige E-Mail-Adresse ein."}},footer:{privacy:"Datenschutz",terms:"AGB",cookies:"Cookies",social:"Folgen"}}},Fs=()=>{const{language:e}=Yn();return wE[e==="en"?"en":"de"]},T0=()=>{const[e,t]=x.useState([16,74,86]),[n,r]=x.useState(!1);return x.useEffect(()=>Kr.subscribe(o=>{t(o.color),r(o.isLight)}),[]),{color:`rgb(${e[0]}, ${e[1]}, ${e[2]})`,rgb:e,isLight:n}},j0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_2'%20data-name='Layer%202'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20600%20600'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23060606;%20fill-rule:%20evenodd;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='cls-1'%20d='M293.72,463.8c90.48,0,163.8-73.36,163.8-163.8s-73.36-163.8-163.8-163.8-163.8,73.32-163.8,163.8,73.32,163.8,163.8,163.8ZM307.36,167.52c-73.15,0-132.46,59.31-132.46,132.46s59.31,132.46,132.46,132.46,132.46-59.31,132.46-132.46-59.31-132.46-132.46-132.46Z'/%3e%3c/svg%3e",N0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_2'%20data-name='Layer%202'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20600%20600'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23fff;%20fill-rule:%20evenodd;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='cls-1'%20d='M293.72,463.8c90.48,0,163.8-73.36,163.8-163.8s-73.36-163.8-163.8-163.8-163.8,73.32-163.8,163.8,73.32,163.8,163.8,163.8ZM307.36,167.52c-73.15,0-132.46,59.31-132.46,132.46s59.31,132.46,132.46,132.46,132.46-59.31,132.46-132.46-59.31-132.46-132.46-132.46Z'/%3e%3c/svg%3e",bE=({on:e,className:t=""})=>c.jsxs("span",{className:`relative flex items-center justify-center ${t}`,"aria-hidden":"true",children:[c.jsx("style",{children:`
106      @keyframes bio-ripple {
107        0% { transform: scale(0.45); opacity: 0; }
108        12% { opacity: 0.55; }
109        100% { transform: scale(2.3); opacity: 0; }
110      }
111      @keyframes bio-core {
112        0%, 100% { opacity: 0.75; transform: scale(1); }
113        50% { opacity: 1; transform: scale(1.2); }
114      }
115      .ripple-ring, .bio-core { transform-box: fill-box; transform-origin: center center; }
116      .sound-on .ripple-1 { animation: bio-ripple 4s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
117      .sound-on .ripple-2 { animation: bio-ripple 4s cubic-bezier(0.4, 0, 0.6, 1) infinite 1.33s; }
118      .sound-on .ripple-3 { animation: bio-ripple 4s cubic-bezier(0.4, 0, 0.6, 1) infinite 2.66s; }
119      .sound-on .bio-core { animation: bio-core 3s ease-in-out infinite; }
120      @media (prefers-reduced-motion: reduce) {
121        .ripple-ring, .bio-core { animation: none !important; }
122      }
123    `}),c.jsx("span",{className:`pointer-events-none absolute inset-[-40%] rounded-full bg-mineral/15 blur-xl transition-opacity duration-700 ${e?"opacity-100":"opacity-0"}`}),c.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",className:"relative h-full w-full overflow-visible",children:c.jsxs("g",{className:e?"sound-on":"",children:[c.jsx("circle",{cx:"12",cy:"12",r:"5",className:"ripple-ring ripple-1",style:{opacity:e?.5:0}}),c.jsx("circle",{cx:"12",cy:"12",r:"5",className:"ripple-ring ripple-2",style:{opacity:e?.35:0}}),c.jsx("circle",{cx:"12",cy:"12",r:"5",className:"ripple-ring ripple-3",style:{opacity:e?.2:0}}
123),c.jsx("circle",{cx:"12",cy:"12",r:"2",fill:"currentColor",className:`bio-core transition-opacity duration-500 ${e?"opacity-100":"opacity-55"}`})]})})]}),SE=({soundOn:e=!1,onToggleSound:t})=>{const n=Fs(),{language:r,setLanguage:o}=Yn(),{isLight:s}=T0(),i=s?"text-background/70 hover:text-background":"text-foreground/70 hover:text-foreground",a=s?"text-background/45 hover:text-background/90":"text-foreground/45 hover:text-foreground/90";return c.jsxs("div",{className:"pointer-events-none fixed inset-x-0 top-0 z-[70] flex items-center justify-between bg-transparent px-5 py-5",children:[c.jsx("a",{href:"/",onClick:l=>{window.location.pathname==="/"&&(l.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}))},className:"pointer-events-auto -m-2 p-2","aria-label":"Simon Stellar — Startseite",children:c.jsxs("div",{className:"flex items-center gap-2.5",children:[c.jsxs("span",{className:"relative block h-7 w-7",children:[c.jsx("img",{src:N0,alt:"","aria-hidden":!0,className:"absolute inset-0 h-full w-full transition-opacity duration-500",style:{opacity:s?0:1}}),c.jsx("img",{src:j0,alt:"","aria-hidden":!0,className:"absolute inset-0 h-full w-full transition-opacity duration-500",style:{opacity:s?1:0}})]}),c.jsx("span",{className:`t-eyebrow whitespace-nowrap transition-colors duration-500 ${s?"text-background/90":"text-foreground/95"}`,style:{textShadow:s?"none":"0 1px 12px rgba(4, 12, 18, 0.55)"},children:"Simon Stellar"})]})}),c.jsxs("div",{className:"flex items-center gap-5",children:[t&&c.jsxs("button",{onClick:t,"aria-pressed":e,"aria-label":e?n.hero.soundOff:n.hero.soundOn,className:`pointer-events-auto -m-2 inline-flex items-center gap-2 p-2 transition-colors duration-500 ${i}`,children:[c.jsx(bE,{on:e,className:"h-6 w-6"}),c.jsx("span",{className:"t-eyebrow hidden whitespace-nowrap text-[0.7rem] sm:inline",children:e?n.hero.soundOff:n.hero.soundOn})]}),c.jsx("button",{onClick:()=>o(r==="de"?"en":"de"),className:`pointer-events-auto -m-2 p-2 t-eyebrow transition-colors duration-500 ${a}`,children:r==="de"?"en":"de"})]})]})},EE=[{number:1,anonymous:!0,quote:{en:"Extremely pleasant, calming, floating, beautiful.",de:"Extrem angenehm, beruhigend, schwebend, schön."}},{number:2,anonymous:!0,quote:{en:"More present, more awake, lighter.",de:"Präsenter, wacher, leichter."}},{number:3,anonymous:!0,quote:{en:"Like diving into bubbling water that moves you in waves, lets you flow.",de:"Wie ein Eintauchen in brodelndes Wasser, das dich wellenartig bewegt, dich fliessen lässt."}},{number:4,anonymous:!0,quote:{en:"For me, sound is not something I hear, it is more like a touch.",de:"Für mich ist Klang nicht etwas, was ich höre, sondern eher eine Berührung."}},{number:5,anonymous:!0,quote:{en:"It was also very pleasant that I did not have to talk.",de:"Es war auch sehr angenehm, dass ich nicht reden musste."}},{number:6,anonymous:!0,quote:{en:"A journey into a colourful universe.",de:"Eine Reise ins farbige Weltall."}},{number:7,anonymous:!0,quote:{en:"How deep relaxation can go when it is allowed in, and how far away from that I am in everyday life.",de:"Wie tief Entspannung gehen kann, wenn sie eintreten darf — und wie weit weg ich im Alltag davon bin."}},{number:8,anonymous:!0,quote:{en:"Maybe I should not do this too often, or I will want to escape reality.",de:"Vielleicht darf ich das nicht zu oft machen, sonst will ich von der Realität abhauen."}},{number:9,anonymous:!0,quote:{en:"The vibrations also have something invigorating. An even deeper dive was perhaps not even desirable for that reason.",de:"Die Vibrationen haben auch etwas Belebendes. Ein noch tieferes Abtauchen war deshalb vielleicht gar nicht wünschenswert."}},{number:10,anonymous:!0,quote:{en:"I would have liked to stay there longer, but it was also simply wonderful as it was.",de:"Ich hätte gerne länger dort sein können, aber es war auch einfach wunderbar so."}}],fh=[186,172,200,262,292,44,218],kE=.13,CE=e=>{const t=Math.abs(Math.sin(e*12.9898)*43758.5453%1),n=Math.abs(Math.sin(e*78.233)*12345.6789%1),r=Math.abs(Math.sin(e*39.4271)*8765.4321%1);return{hue:fh[e%fh.length],x:t,size:3+r*3,delay:`${(t*7).toFixed(2)}s`,duration:`${(5+n*6).toFixed(2)}s`,driftDelay:`${(r*12).toFixed(2)}s`,driftDuration:`${(26+t*22).toFixed(2)}s`}},TE=e=>{const t=Math.max(0,Math.min(1,e));return t*t*(3-2*t)},jE=()=>{const{language:e}=Yn(),t=e==="en"?"en":"de",n=x.useMemo(()=>EE.filter(u=>u.quote),[]),r=x.useMemo(()=>n.map((u,d)=>{const f=CE(u.number),p=(d+.6)/(n.length+.2),h=d%2===1;return{...f,slot:p,rightSide:h,top:`${(p*100).toFixed(2)}%`,lightLeft:h?`${58+f.x*16}%`:`${6+f.x*14}%`}}),[n]),o=x.useRef(null),[s,i]=x.useState(0),[a,l]=x.useState(0);return x.useEffect(()=>{let u=0,d=!1;const f=()=>{d=!1;const h=document.documentElement.scrollHeight-window.innerHeight||1,b=Math.max(0,Math.min(1,window.scrollY/h)),{bottom:v}=Sr(b),w=.299*v[0]+.587*v[1]+.114*v[2];i(Math.max(0,Math.min(1,1-w/120)));const m=o.current;if(m){const g=m.getBoundingClientRect(),y=window.innerHeight*.55;l(Math.max(0,Math.min(1,(y-g.top)/(g.height||1))))}},p=()=>{d||(d=!0,u=requestAnimationFrame(f))};return f(),window.addEventListener("scroll",p,{passive:!0}),window.addEventListener("resize",p,{passive:!0}),()=>{cancelAnimationFrame(u),window.removeEventListener("scroll",p),window.removeEventListener("resize",p)}},[]),c.jsx("div",{ref:o,className:"listener-field relative h-[300svh] w-full",children:n.map((u,d)=>{var b;const f=r[d],p=TE(1-Math.abs(a-f.slot)/kE),h=.25+.75*s;return c.jsxs("div",{className:"voice-overlay absolute w-[80%] max-w-[22rem] sm:w-[46%]",style:{to
123p:f.top,left:f.rightSide?void 0:"6%",right:f.rightSide?"6%":void 0,animation:`voice-drift ${f.driftDuration} ease-in-out ${f.driftDelay} infinite`,willChange:"transform"},children:[c.jsx("span",{"aria-hidden":!0,className:"mb-5 block rounded-full transition-all duration-[900ms]",style:{width:f.size*(1+p*1.2),height:f.size*(1+p*1.2),background:`hsl(${f.hue} 100% ${72+20*p}%)`,boxShadow:`0 0 ${14+20*p}px ${2+5*p}px hsl(${f.hue} 100% 70% / ${(.35+.4*p)*h})`,opacity:.35+.65*s,animation:`listener-breathe ${f.duration} ease-in-out ${f.delay} infinite`}}),c.jsxs("blockquote",{className:"transition-[opacity,transform] duration-[1100ms] ease-out",style:{opacity:.06+.94*p,transform:`translateY(${(1-p)*14}px)`},children:[c.jsxs("p",{className:"t-body text-[clamp(1.0625rem,4.4vw,1.375rem)] leading-[1.5] text-foreground/85",children:["“",(b=u.quote)==null?void 0:b[t],"”"]}),c.jsx("footer",{className:"mt-4 t-eyebrow tabular-nums transition-colors duration-700",style:{color:`hsl(${f.hue} 80% 80% / ${.35+.4*p})`},children:String(u.number).padStart(3,"0")})]})]},u.number)})})},NE=16,PE=Array.from({length:NE},(e,t)=>({id:t,left:`${6+t*7%88}%`,size:1.5+t%5*.8,delay:t*1.2,duration:14+t%7*3,depth:.3+t%6*.12})),AE=()=>{const e=x.useRef(null),[t,n]=x.useState(0);return x.useEffect(()=>{let r=0,o=!1,s=0;const i=()=>{o=!1;const l=document.documentElement.scrollHeight-window.innerHeight||1,u=Math.max(0,Math.min(1,window.scrollY/l));let d=0;if(u>.12&&u<.78){const p=Math.abs(u-.46);d=Math.max(0,1-p/.32)}s+=(d-s)*.08,n(s)},a=()=>{o||(o=!0,r=requestAnimationFrame(i))};return i(),window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a,{passive:!0}),()=>{cancelAnimationFrame(r),window.removeEventListener("scroll",a),window.removeEventListener("resize",a)}},[]),c.jsxs("div",{ref:e,"aria-hidden":!0,className:"ocean-motes sound-breath pointer-events-none fixed inset-0 z-[5] overflow-hidden",style:{opacity:t},children:[PE.map(r=>c.jsx("span",{className:"absolute block rounded-full",style:{left:r.left,bottom:`${-8-r.depth*20}%`,width:r.size,height:r.size,background:"hsl(190 60% 78% / 0.55)",boxShadow:`0 0 ${r.size*2.5}px hsl(190 70% 80% / 0.35)`,animation:`ocean-rise ${r.duration}s linear ${r.delay}s infinite`,willChange:"transform, opacity"}},r.id)),c.jsx("div",{className:"absolute inset-x-0 top-0 h-[35vh]",style:{background:"radial-gradient(120% 60% at 50% 0%, hsl(185 60% 82% / 0.08), transparent 70%)",animation:"ocean-shimmer 10s ease-in-out infinite",willChange:"opacity"}})]})},RE=()=>{const e=Fs(),[t,n]=x.useState(!1),[r,o]=x.useState(null);return c.jsxs("div",{className:"pointer-events-auto w-full max-w-xl",children:[c.jsxs("button",{onClick:()=>n(s=>!s),"aria-expanded":t,className:"t-eyebrow text-foreground/45 transition-colors duration-500 hover:text-foreground/80",children:[e.questions," ",t?"−":"+"]}),t&&c.jsx("ul",{className:"mt-12 space-y-8",children:e.faq.map((s,i)=>c.jsxs("li",{children:[c.jsx("button",{onClick:()=>o(r===i?null:i),"aria-expanded":r===i,className:"text-left font-body text-base font-medium text-foreground/70 transition-colors duration-300 hover:text-foreground",children:s.q}),r===i&&c.jsx("p",{className:"mt-4 max-w-prose t-body text-foreground/50",children:s.a})]},s.q))})]})},_E="https://formspree.io/f/xpwjzlko",OE=1,ME="fc827c5f-02c5-43be-996f-bc79d2a72805",LE="ecd8044b-8c20-4174-8694-c9f799487838",DE="/__l5e/assets-v1/fc827c5f-02c5-43be-996f-bc79d2a72805/fingerprint-rings-trans.png",IE="a/v1/ecd8044b-8c20-4174-8694-c9f799487838/fc827c5f-02c5-43be-996f-bc79d2a72805/fingerprint-rings-trans.png",zE="fingerprint-rings-trans.png",$E=23881,FE="image/png",BE="2026-08-29T10:07:52Z",nd={version:OE,asset_id:ME,project_id:LE,url:DE,r2_key:IE,original_filename:zE,size:$E,content_type:FE,created_at:BE},UE=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/,HE=({open:e,onClose:t})=>{const n=Fs(),[r,o]=x.useState(!1),[s,i]=x.useState(!1),[a,l]=x.useState(!1),[u,d]=x.useState(""),[f,p]=x.useState(n.concertOptions[0].duration),[h,b]=x.useState({firstName:"",lastName:"",email:""}),[v,w]=x.useState({firstName:!1,lastName:!1,email:!1});if(x.useEffect(()=>{const E=k=>k.key==="Escape"&&t();return e&&document.addEventListener("keydown",E),()=>document.removeEventListener("keydown",E)},[e,t]),!e)return null;const m={};
123h.firstName.trim().length<2&&(m.firstName=n.form.invalid.firstName),h.lastName.trim().length<2&&(m.lastName=n.form.invalid.lastName),UE.test(h.email.trim())||(m.email=n.form.invalid.email);const g=Object.keys(m).length===0,y=async E=>{if(E.preventDefault(),w({firstName:!0,lastName:!0,email:!0}),!g)return;const k=E.currentTarget,C=new FormData(k);if(C.get("company"))return;o(!0),l(!1);const N=h.firstName.trim().slice(0,100),O=h.lastName.trim().slice(0,100);d(N);try{if(!(await fetch(_E,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({firstName:N,lastName:O,name:`${N} ${O}`,email:h.email.trim().slice(0,255),duration:C.get("duration"),message:String(C.get("message")??"").slice(0,1e3),timestamp:new Date().toISOString(),source:"Listening request"})})).ok)throw new Error("failed");i(!0),k.reset()}catch{l(!0)}finally{o(!1)}},S=E=>`w-full border-0 border-b bg-transparent pb-3 pt-1 font-body text-base font-normal text-[hsl(var(--royal-foreground))] placeholder:text-[hsl(var(--royal-foreground)/0.35)] focus:outline-none transition-colors ${v[E]&&m[E]?"border-[hsl(38_62%_62%)]":"border-[hsl(var(--royal-foreground)/0.22)] focus:border-[hsl(var(--royal-foreground)/0.6)]"}`;return c.jsx("div",{className:"fixed inset-0 z-50 flex min-h-full items-center justify-center overflow-y-auto px-5 py-12",style:{background:"linear-gradient(180deg, hsl(var(--royal)) 0%, hsl(var(--royal-deep)) 100%)"},children:c.jsxs("div",{className:"relative mx-auto my-auto w-full max-w-md text-[hsl(var(--royal-foreground))]",children:[c.jsx("button",{onClick:t,"aria-label":n.form.close,className:"absolute right-2 top-2 flex h-12 w-12 items-center justify-center rounded-full border border-[hsl(var(--royal-foreground)/0.25)] text-[hsl(var(--royal-foreground)/0.6)] transition-colors hover:text-[hsl(var(--royal-foreground))]",children:c.jsx("span",{className:"pointer-events-none -mt-0.5 text-2xl leading-none",children:"×"})}),s?c.jsxs("div",{className:"space-y-8",children:[c.jsx("h2",{className:"t-title pr-16 text-2xl",children:n.form.successTitle(u)}),c.jsx("p",{className:"t-body text-[hsl(var(--royal-foreground)/0.8)]",children:n.form.successBody}),c.jsx("p",{className:"t-signature-sm text-[hsl(var(--royal-foreground)/0.75)]",children:n.form.successSignOff}),c.jsx("img",{src:nd.url,alt:"","aria-hidden":!0,className:"pointer-events-none h-24 w-auto select-none opacity-20"}),c.jsx("button",{onClick:t,className:"t-eyebrow underline underline-offset-[6px] text-[hsl(var(--royal-foreground)/0.7)] transition-colors hover:text-[hsl(var(--royal-foreground))]",children:n.form.successClose})]}):c.jsxs("form",{onSubmit:y,noValidate:!0,className:"space-y-10",children:[c.jsxs("div",{className:"space-y-3",children:[c.jsx("h2",{className:"t-title pr-16 text-2xl",children:n.form.title}),c.jsx("p",{className:"t-eyebrow text-[hsl(var(--royal-foreground)/0.5)]",children:n.form.note})]}),c.jsxs("fieldset",{className:"space-y-4",children:[c.jsx("legend",{className:"t-eyebrow text-[hsl(var(--royal-foreground)/0.5)]",children:n.form.durationLabel}),c.jsx("div",{className:"grid grid-cols-2 gap-4",children:n.concertOptions.map(E=>c.jsxs("label",{className:`cursor-pointer rounded-md border px-4 py-4 text-center t-eyebrow transition-colors ${f===E.duration?"border-[hsl(var(--royal-foreground)/0.7)] bg-[hsl(var(--royal-foreground)/0.08)]":"border-[hsl(var(--royal-foreground)/0.2)] text-[hsl(var(--royal-foreground)/0.6)] hover:border-[hsl(var(--royal-foreground)/0.45)]"}`,children:[c.jsx("input",{type:"radio",name:"duration",value:`${E.duration} · ${E.price}`,checked:f===E.duration,onChange:()=>p(E.duration),className:"sr-only"}),c.jsx("span",{className:"block",children:E.duration}),c.jsx("span",{className:"mt-2 block tabular-nums text-[hsl(var(--royal-foreground)/0.55)]",children:E.price})]},E.duration))})]}),c.jsx("input",{type:"text",name:"company",tabIndex:-1,autoComplete:"off",className:"hidden","aria-hidden":"true"}),c.jsx("div",{className:"grid grid-cols-2 gap-6",children:["firstName","lastName"].map(E=>c.jsxs("div",{className:"space-y-3",children:[c.jsx("input",{name:E,type:"text",autoComplete:E==="firstName"?"given-name":"family-name",maxLength:100,placeholder:n.form[E],value:h[E],"aria-invalid":v[E]&&!!m[E],onChange:k=>b(C=>({...C,[E]:k.target.value})),onBlur:()=>w(k=>({...k,[E]:!0})),className:S(E)}),v[E]&&m[E]&&c.jsx("p",{className:"font-body text-sm font-normal text-[hsl(38_62%_70%)]",children:m[E]})]},E))}),c.jsxs("div",{className:"space-y-3",children:[c.jsx("input",{name:"email",type:"email",autoComplete:"email",maxLength:255,placeholder:n.form.email,value:h.email,"aria-invalid":v.email&&!!m.email,onChange:E=>b(k=>({...k,email:E.target.value})),onBlur:()=>w(E=>({...E,email:!0})),className:S("email")}),v.email&&m.email&&c.jsx("p",{className:"font-body text-sm font-normal text-[hsl(38_62%_70%)]",children:m.email})]}),c.jsx("textarea",{name:"message",rows:4,maxLength:1e3,placeholder:n.form.message,className:"w-full resize-none border-0 border-b border-[hsl(var(--royal-foreground)/0.22)] bg-transparent pb-3 pt-1 font-body text-base font-normal text-[hsl(var(--royal-foreground))] placeholder:text-[hsl(var(--royal-foreground)/0.35)] focus:border-[hsl(var(--royal-foreground)/0.6)] focus:outline-none"}),c.jsxs("button",{type:"submit",disabled:r,className:"inline-flex items-center gap-3 rounded-full bg-[hsl(var(--royal-foreground))] px-8 py-4 t-eyebrow text-[hsl(var(--royal-deep))] transition-all duration-500 hover:gap-4 disabled:opacity-40",children:[c.jsx("span",{children:r?n.form.sending:n.form.submit}
123),c.jsx("span",{"aria-hidden":!0,children:"→"})]}),a&&c.jsx("p",{className:"font-body text-base font-normal text-[hsl(var(--royal-foreground)/0.6)]",children:n.form.error})]})]})})},It=({children:e,className:t="",delay:n=0})=>{const r=x.useRef(null),[o,s]=x.useState(!1);return x.useEffect(()=>{const i=r.current;if(!i)return;const a=new IntersectionObserver(([l])=>{l.isIntersecting&&(s(!0),a.disconnect())},{threshold:.25});return a.observe(i),()=>a.disconnect()},[]),c.jsx("div",{ref:r,className:`transition-all duration-[2000ms] ease-out ${o?"opacity-100 translate-y-0":"opacity-0 translate-y-3"} ${t}`,style:{transitionDelay:`${n}ms`},children:e})},Sl=({src:e,alt:t,caption:n,focus:r="50% 50%",aspect:o="aspect-[4/5] sm:aspect-[3/2] lg:aspect-[21/9]",fit:s="cover",className:i=""})=>{const a=x.useRef(null),[l,u]=x.useState(()=>Sr(.4));x.useEffect(()=>{let h=0;const b=()=>{h=0;const w=a.current;if(!w)return;const m=w.getBoundingClientRect(),g=document.documentElement.scrollHeight-window.innerHeight||1,y=window.scrollY+m.top+m.height/2-window.innerHeight/2;u(Sr(Math.max(0,Math.min(1,y/g))))},v=()=>{h||(h=window.requestAnimationFrame(b))};return b(),window.addEventListener("scroll",v,{passive:!0}),window.addEventListener("resize",v,{passive:!0}),()=>{h&&window.cancelAnimationFrame(h),window.removeEventListener("scroll",v),window.removeEventListener("resize",v)}},[]);const d=(h,b)=>b===void 0?`rgb(${h[0]}, ${h[1]}, ${h[2]})`:`rgba(${h[0]}, ${h[1]}, ${h[2]}, ${b})`,f=(l.top[0]+l.top[1]+l.top[2])/3,p=.42+Math.min(.34,f/240);return c.jsx(It,{className:`w-full ${i}`,children:c.jsxs("figure",{ref:a,className:"relative left-1/2 w-screen max-w-none -translate-x-1/2",children:[c.jsxs("div",{className:"relative overflow-hidden",style:{background:`linear-gradient(180deg, ${d(l.top)}, ${d(l.bottom)})`,WebkitMaskImage:"radial-gradient(115% 105% at 50% 50%, #000 34%, rgba(0,0,0,0.55) 68%, transparent 100%)",maskImage:"radial-gradient(115% 105% at 50% 50%, #000 34%, rgba(0,0,0,0.55) 68%, transparent 100%)"},children:[c.jsx("img",{src:e,alt:t,loading:"lazy",decoding:"async",sizes:"100vw",className:`block h-full w-full select-none ${s==="contain"?"object-contain":"object-cover"} ${o}`,style:{objectPosition:r,mixBlendMode:"luminosity",opacity:p,filter:"grayscale(1) contrast(0.94) brightness(1.06)"}}),c.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0",style:{background:`linear-gradient(180deg, ${d(l.top,.3)}, ${d(l.bottom,.62)})`,mixBlendMode:"soft-light"}}),c.jsx("img",{src:nd.url,alt:"","aria-hidden":!0,className:"pointer-events-none absolute left-1/2 top-1/2 z-10 w-[130%] max-w-none -translate-x-1/2 -translate-y-1/2 select-none opacity-30 mix-blend-overlay"})]}),n?c.jsx("figcaption",{className:"mt-4 px-6 text-center t-eyebrow text-foreground/35",children:n}):null]})})},WE=1,VE="03a41e84-9d2f-42b1-996c-75dad90cd56c",qE="ecd8044b-8c20-4174-8694-c9f799487838",KE="/__l5e/assets-v1/03a41e84-9d2f-42b1-996c-75dad90cd56c/room-place.jpg",QE="a/v1/ecd8044b-8c20-4174-8694-c9f799487838/03a41e84-9d2f-42b1-996c-75dad90cd56c/room-place.jpg",GE="room-place.jpg",YE=92891,ZE="image/jpeg",XE="2026-08-22T18:24:59Z",JE={version:WE,asset_id:VE,project_id:qE,url:KE,r2_key:QE,original_filename:GE,size:YE,content_type:ZE,created_at:XE},ek=1,tk="ec11a095-d829-4833-86b1-a0a3e8dd1347",nk="ecd8044b-8c20-4174-8694-c9f799487838",rk="/__l5e/assets-v1/ec11a095-d829-4833-86b1-a0a3e8dd1347/room-practice.jpg",ok="a/v1/ecd8044b-8c20-4174-8694-c9f799487838/ec11a095-d829-4833-86b1-a0a3e8dd1347/room-practice.jpg",sk="room-practice.jpg",ik=79942,ak="image/jpeg",lk="2026-08-22T18:25:05Z",ck={version:ek,asset_id:tk,project_id:nk,url:rk,r2_key:ok,original_filename:sk,size:ik,content_type:ak,created_at:lk},uk=1,dk="81bbba9a-91ea-430d-be77-aa51792aec00",fk="ecd8044b-8c20-4174-8694-c9f799487838",hk="/__l5e/assets-v1/81bbba9a-91ea-430d-be77-aa51792aec00/simon-keyboard.png",pk="a/v1/ecd8044b-8c20-4174-8694-c9f799487838/81bbba9a-91ea-430d-be77-aa51792aec00/simon-keyboard.png",mk="simon-keyboard.png",gk=1020973,vk="image/png",yk="2026-08-29T09:49:05Z",xk={version:uk,asset_id:dk,project_id:fk,url:hk,r2_key:pk,original_filename:mk,size:gk,content_type:vk,created_at:yk},wk="/assets/simon-stellar-logo-navy-95sybnkY.svg",bk=()=>{const{language:e}=Yn(),[t,n]=x.useState(!1);x.useEffect(()=>{localStorage.getItem("cookieConsent")||n(!0)},[]);const r=s=>{localStorage.setItem("cookieConsent",s),n(!1)};if(!t)return null;const o=e==="en";return c.jsxs("div",{className:"fixed inset-x-0 bottom-0 z-50 flex flex-wrap items-center gap-x-6 gap-y-3 bg-background/80 px-6 py-5 backdrop-blur-sm sm:px-12",children:[c.jsxs("p",{className:"t-eyebrow text-foreground
123/35",children:[o?"This site uses cookies. ":"Diese Seite verwendet Cookies. ",c.jsx("a",{href:"/cookie-preferences",className:"underline underline-offset-4 hover:text-foreground/70",children:o?"More":"Mehr"})]}),c.jsxs("div",{className:"flex gap-6",children:[c.jsx("button",{onClick:()=>r("declined"),className:"t-eyebrow text-foreground/35 transition-colors hover:text-foreground/70",children:o?"Decline":"Ablehnen"}),c.jsx("button",{onClick:()=>r("accepted"),className:"t-eyebrow text-foreground/70 underline underline-offset-4 transition-colors hover:text-foreground",children:o?"Accept":"Akzeptieren"})]})]})};var Sk=typeof Element<"u",Ek=typeof Map=="function",kk=typeof Set=="function",Ck=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ai(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ai(e[r],t[r]))return!1;return!0}var s;if(Ek&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!Ai(r.value[1],t.get(r.value[0])))return!1;return!0}if(kk&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Ck&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(Sk&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Ai(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var Tk=function(t,n){try{return Ai(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const jk=Ps(Tk);var Nk=function(e,t,n,r,o,s,i,a){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,s,i,a],d=0;l=new Error(t.replace(/%s/g,function(){return u[d++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},Pk=Nk;const hh=Ps(Pk);var Ak=function(t,n,r,o){var s=r?r.call(o,t,n):void 0;if(s!==void 0)return!!s;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var i=Object.keys(t),a=Object.keys(n);if(i.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<i.length;u++){var d=i[u];if(!l(d))return!1;var f=t[d],p=n[d];if(s=r?r.call(o,f,p,d):void 0,s===!1||s===void 0&&f!==p)return!1}return!0};const Rk=Ps(Ak);var P0=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(P0||{}),El={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},ph=Object.values(P0),Ia={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},A0=Object.entries(Ia).reduce((e,[t,n])=>(e[n]=t,e),{}),Pt="data-rh",no={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},ro=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},_k=e=>{let t=ro(e,"title");const n=ro(e,no.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=ro(e,no.DEFAULT_TITLE);return t||r||void 0},Ok=e=>ro(e,no.ON_CHANGE_CLIENT_STATE)||(()=>{}),kl=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),Mk=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const o=Object.keys(r);for(let s=0;s<o.length;s+=1){const a=o[s].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),Lk=e=>console&&typeof console.warn=="function"&&console.warn(e),Bo=(e,t,n)=>{const r={};return n.filter(o=>Array.isArray(o[e])?!0:(typeof o[e]<"u"&&Lk(`Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`),!1)).map(o=>o[e]).reverse().reduce((o,s)=>{const i={};s.filter(l=>{let u;const d=Object.keys(l);for(let p=0;p<d.length;p+=1){const h=d[p],b=h.toLowerCase();t.indexOf(b)!==-1&&!(u==="rel"&&l[u].toLowerCase()==="canonical")&&!(b==="rel"&&l[b].toLowerCase()==="stylesheet")&&(u=b),t.indexOf(h)!==-1&&(h==="innerHTML"||h==="cssText"||h==="itemprop")&&(u=h)}if(!u||!l[u])return!1;const f=l[u].toLowerCase();return r[u]||(r[u]={}),i[u]||(i[u]={}),r[u][f]?!1:(i[u][f]=!0,!0)}
123).reverse().forEach(l=>o.push(l));const a=Object.keys(i);for(let l=0;l<a.length;l+=1){const u=a[l],d={...r[u],...i[u]};r[u]=d}return o},[]).reverse()},Dk=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},Ik=e=>({baseTag:Mk(["href"],e),bodyAttributes:kl("bodyAttributes",e),defer:ro(e,no.DEFER),encode:ro(e,no.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:kl("htmlAttributes",e),linkTags:Bo("link",["rel","href"],e),metaTags:Bo("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Bo("noscript",["innerHTML"],e),onChangeClientState:Ok(e),scriptTags:Bo("script",["src","innerHTML"],e),styleTags:Bo("style",["cssText"],e),title:_k(e),titleAttributes:kl("titleAttributes",e),prioritizeSeoTags:Dk(e,no.PRIORITIZE_SEO_TAGS)}),R0=e=>Array.isArray(e)?e.join(""):e,zk=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},Cl=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(zk(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},mh=(e,t)=>({...e,[t]:void 0}),$k=["noscript","script","style"],Ic=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),_0=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),Fk=(e,t,n,r)=>{const o=_0(n),s=R0(t);return o?`<${e} ${Pt}="true" ${o}>${Ic(s,r)}</${e}>`:`<${e} ${Pt}="true">${Ic(s,r)}</${e}>`},Bk=(e,t,n=!0)=>t.reduce((r,o)=>{const s=o,i=Object.keys(s).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const f=typeof s[d]>"u"?d:`${d}="${Ic(s[d],n)}"`;return u?`${u} ${f}`:f},""),a=s.innerHTML||s.cssText||"",l=$k.indexOf(e)===-1;return`${r}<${e} ${Pt}="true" ${i}${l?"/>":`>${a}</${e}>`}`},""),O0=(e,t={})=>Object.keys(e).reduce((n,r)=>{const o=Ia[r];return n[o||r]=e[r],n},t),Uk=(e,t,n)=>{const r={key:t,[Pt]:!0},o=O0(n,r);return[A.createElement("title",o,t)]},Ri=(e,t)=>t.map((n,r)=>{const o={key:r,[Pt]:!0};return Object.keys(n).forEach(s=>{const a=Ia[s]||s;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;o.dangerouslySetInnerHTML={__html:l}}else o[a]=n[s]}),A.createElement(e,o)}),ct=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>Uk(e,t.title,t.titleAttributes),toString:()=>Fk(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>O0(t),toString:()=>_0(t)};default:return{toComponent:()=>Ri(e,t),toString:()=>Bk(e,t,n)}}},Hk=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const o=Cl(e,El.meta),s=Cl(t,El.link),i=Cl(n,El.script);return{priorityMethods:{toComponent:()=>[...Ri("meta",o.priority),...Ri("link",s.priority),...Ri("script",i.priority)],toString:()=>`${ct("meta",o.priority,r)} ${ct("link",s.priority,r)} ${ct("script",i.priority,r)}`},metaTags:o.default,linkTags:s.default,scriptTags:i.default}},Wk=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:o,noscriptTags:s,styleTags:i,title:a="",titleAttributes:l,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:f,scriptTags:p}=e,h={toComponent:()=>[],toString:()=>""};return u&&({priorityMethods:h,linkTags:d,metaTags:f,scriptTags:p}=Hk(e)),{priority:h,base:ct("base",t,r),bodyAttributes:ct("bodyAttributes",n,r),htmlAttributes:ct("htmlAttributes",o,r),link:ct("link",d,r),meta:ct("meta",f,r),noscript:ct("noscript",s,r),script:ct("script",p,r),style:ct("style",i,r),title:ct("title",{title:a,titleAttributes:l},r)}},zc=Wk,hi=[],rd=!!(typeof window<"u"&&window.document&&window.document.createElement),$c=class{constructor(e,t){Q(this,"instances",[]);Q(this,"canUseDOM",rd);Q(this,"context");Q(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?hi:this.instances,add:e=>{(this.canUseDOM?hi:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?hi:this.instances).indexOf(e);(this.canUseDOM?hi:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=zc({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},Vk=parseInt(A.version.split(".")[0],10),Fc=Vk>=19,qk={},M0=A.createContext(qk),fr,L0=(fr=class extends x.Component{constructor(n){super(n);Q(this,"helmetData");Fc?this.helmetData=null:this.helmetData=new $c(this.props.context||{},fr.canUseDOM)}render(){return Fc?A.createElement(A.Fragment,null,this.props.children):A.createElement(M0.Provider,{value:this.helmetData.value},this.props.children)}},Q(fr,"canUseDOM",rd),fr),Or=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${Pt}]`),o=[].slice.call(r),s=[];let i;return t&&t.length&&t.forEach(a=>{const l=document.createElement(e);for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u))if(u==="innerHTML")l.innerHTML=a.innerHTML;else if(u==="cssText"){const d=a.cssText;
123l.appendChild(document.createTextNode(d))}else{const d=u,f=typeof a[d]>"u"?"":a[d];l.setAttribute(u,f)}l.setAttribute(Pt,"true"),o.some((u,d)=>(i=d,l.isEqualNode(u)))?o.splice(i,1):s.push(l)}),o.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}),s.forEach(a=>n.appendChild(a)),{oldTags:o,newTags:s}},Bc=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(Pt),o=r?r.split(","):[],s=[...o],i=Object.keys(t);for(const a of i){const l=t[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),o.indexOf(a)===-1&&o.push(a);const u=s.indexOf(a);u!==-1&&s.splice(u,1)}for(let a=s.length-1;a>=0;a-=1)n.removeAttribute(s[a]);o.length===s.length?n.removeAttribute(Pt):n.getAttribute(Pt)!==i.join(",")&&n.setAttribute(Pt,i.join(","))},Kk=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=R0(e)),Bc("title",t)},gh=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:o,linkTags:s,metaTags:i,noscriptTags:a,onChangeClientState:l,scriptTags:u,styleTags:d,title:f,titleAttributes:p}=e;Bc("body",r),Bc("html",o),Kk(f,p);const h={baseTag:Or("base",n),linkTags:Or("link",s),metaTags:Or("meta",i),noscriptTags:Or("noscript",a),scriptTags:Or("script",u),styleTags:Or("style",d)},b={},v={};Object.keys(h).forEach(w=>{const{newTags:m,oldTags:g}=h[w];m.length&&(b[w]=m),g.length&&(v[w]=h[w].oldTags)}),t&&t(),l(e,b,v)},Uo=null,Qk=e=>{Uo&&cancelAnimationFrame(Uo),e.defer?Uo=requestAnimationFrame(()=>{gh(e,()=>{Uo=null})}):(gh(e),Uo=null)},Gk=Qk,vh=class extends x.Component{constructor(){super(...arguments);Q(this,"rendered",!1)}shouldComponentUpdate(t){return!Rk(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const o=Ik(t.get().map(s=>{const{context:i,...a}=s.props;return a}));L0.canUseDOM?Gk(o):zc&&(r=zc(o)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},_i=[],yh=e=>{const t={};for(const n of Object.keys(e))t[A0[n]||n]=e[n];return t},er=e=>{const t={};for(const n of Object.keys(e)){const r=Ia[n];t[r||n]=e[n]}return t},xh=(e,t)=>{if(!rd)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",o=n.getAttribute(r),s=o?o.split(","):[],i=Object.keys(t);for(const a of s)i.includes(a)||n.removeAttribute(a);for(const a of i){const l=t[a];l==null||l===!1?n.removeAttribute(a):l===!0?n.setAttribute(a,""):n.setAttribute(a,String(l))}i.length>0?n.setAttribute(r,i.join(",")):n.removeAttribute(r)},Tl=()=>{const e={},t={};for(const n of _i){const{htmlAttributes:r,bodyAttributes:o}=n.props;r&&Object.assign(e,yh(r)),o&&Object.assign(t,yh(o))}xh("html",e),xh("body",t)},Yk=class extends x.Component{componentDidMount(){_i.push(this),Tl()}componentDidUpdate(){Tl()}componentWillUnmount(){const e=_i.indexOf(this);e!==-1&&_i.splice(e,1),Tl()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return A.createElement("title",er(t),e)}renderBase(){const{base:e}=this.props;return e?A.createElement("base",er(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>A.createElement("meta",{key:n,...er(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>A.createElement("link",{key:n,...er(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...o}=t,s=er(o);return r&&(s.dangerouslySetInnerHTML={__html:r}),A.createElement("script",{key:n,...s})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...o}=t,s=er(o);return r&&(s.dangerouslySetInnerHTML={__html:r}),A.createElement("style",{key:n,...s})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...o}=t,s=er(o);return r&&(s.dangerouslySetInnerHTML={__html:r}),A.createElement("noscript",{key:n,...s})})}render(){return A.createElement(A.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},Nl,Zk=(Nl=class extends x.Component{shouldComponentUpdate(e){return!jk(mh(this.props,"helmetData"),mh(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
123warnOnInvalidChildren(e,t){return hh(ph.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${ph.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),hh(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return A.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:o,...s}=r.props,i=Object.keys(s).reduce((l,u)=>(l[A0[u]||u]=s[u],l),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,o),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(o,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,i,o);break;default:t=this.mapObjectTypeChildren(r,t,i,o);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof $c)){const o=r;r=new $c(o.context,!0),delete n.helmetData}return Fc?A.createElement(Yk,{...n}):r?A.createElement(vh,{...n,context:r.value}):A.createElement(M0.Consumer,null,o=>A.createElement(vh,{...n,context:o}))}},Q(Nl,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Nl);const Xk="https://simon-stellar.lovable.app",Bs=({title:e,description:t,path:n})=>{const r=`${Xk}${n}`;return c.jsxs(Zk,{children:[c.jsx("title",{children:e}),c.jsx("meta",{name:"description",content:t}),c.jsx("link",{rel:"canonical",href:r}),c.jsx("meta",{property:"og:title",content:e}),c.jsx("meta",{property:"og:description",content:t}),c.jsx("meta",{property:"og:url",content:r}),c.jsx("meta",{name:"twitter:title",content:e}),c.jsx("meta",{name:"twitter:description",content:t})]})},Jk=1,eC="2dc29e9f-4a19-4ff5-9678-e0a6f5292141",tC="ecd8044b-8c20-4174-8694-c9f799487838",nC="/__l5e/assets-v1/2dc29e9f-4a19-4ff5-9678-e0a6f5292141/now-playing.jpg",rC="a/v1/ecd8044b-8c20-4174-8694-c9f799487838/2dc29e9f-4a19-4ff5-9678-e0a6f5292141/now-playing.jpg",oC="now-playing.jpg",sC=46511,iC="image/jpeg",aC="2026-08-22T08:38:05Z",pi={version:Jk,asset_id:eC,project_id:tC,url:nC,r2_key:rC,original_filename:oC,size:sC,content_type:iC,created_at:aC},lC=1,cC="16530787-72b9-4313-9005-8265612b2975",uC="ecd8044b-8c20-4174-8694-c9f799487838",dC="/__l5e/assets-v1/16530787-72b9-4313-9005-8265612b2975/whale-loop.mp3",fC="a/v1/ecd8044b-8c20-4174-8694-c9f799487838/16530787-72b9-4313-9005-8265612b2975/whale-loop.mp3",hC="whale-loop.mp3",pC=322457,mC="audio/mpeg",gC="2026-08-22T18:39:41Z",vC={version:lC,asset_id:cC,project_id:uC,url:dC,r2_key:fC,original_filename:hC,size:pC,content_type:mC,created_at:gC},Le=55,jl={title:"Journeys into inner worlds",artist:"Simon Stellar",album:"Live music · vibration · listening"},yC=e=>{const t=e.sampleRate*4,n=e.createBuffer(1,t,e.sampleRate),r=n.getChannelData(0);let o=0;for(let s=0;s<t;s++){const i=Math.random()*2-1;o=(o+.02*i)/1.02,r[s]=o*3.2}return n},xC=(e,t)=>{const n=e.sampleRate,r=Math.floor(n*t),o=e.createBuffer(2,r,n);for(let s=0;s<2;s++){const i=o.getChannelData(s);let a=0;for(let l=0;l<r;l++){const u=l/r,d=Math.min(1,u/.02),f=Math.pow(1-u,2.6),p=Math.random()*2-1;a=(a+.35*p)/1.35,i[l]=a*d*f*1.6}}return o},wC=()=>{const r=new ArrayBuffer(88244),o=new DataView(r),s=(i,a)=>{for(let l=0;l<a.length;l++)o.setUint8(i+l,a.charCodeAt(l))};return s(0,"RIFF"),o.setUint32(4,88236,!0),s(8,"WAVEfmt "),o.setUint32(16,16,!0),o.setUint16(20,1,!0),o.setUint16(22,1,!0),o.setUint32(24,44100,!0),o.setUint32(28,44100*2,!0),o.setUint16(32,2,!0),o.setUint16(34,16,!0),s(36,"data"),o.setUint32(40,88200,!0),URL.createObjectURL(new Blob([r],{type:"audio/wav"}))},lt=class lt{constructor(){Q(this,"ctx",null);Q(this,"master",null);Q(this,"breath",null);Q(this,"field",null);Q(this,"tone",null);Q(this,"revSend",null);Q(this,"revDamp",null);Q(this,"whaleGain",null);Q(this,"whaleSource",null);Q(this,"whaleLoading",!1);Q(this,"analyser",null);Q(this,"levelData",null);Q(this,"ampSmoothed",0);Q(this,"pieceGain",null);Q(this,"gains",new Map);Q(this,"nodes",[]);Q(this,"depth",0);Q(this,"still",0);Q(this,"muted",!1);Q(this,"watching",!1);Q(this,"listeners",new Set);Q(this,"media",null);Q(this,"birdTimer",null);Q(this,"piece",null);Q(this,"pieceSource",null);Q(this,"pieceBuffer",null);Q(this,"pieceSources",[]);Q(this,"pieceLoading",!1);Q(this,"pieceOn",!1);Q(this,"pieceDelayTimer",null);Q(this,"mix",0);Q(this,"pieceTarget",0)}get running(){return this.ctx!==null&&!this.muted&&this.ctx.state==="running"}get enabled(){return this.ctx!==null&&!this.muted}subscribe(t){return this.listeners.add(t),()=>this.listeners.delete(t)}emit(){const t=this.enabled;
123this.listeners.forEach(n=>n(t))}declareSession(){const t=navigator.audioSession;if(t)try{t.type="playback"}catch{}}holdMediaSession(){if(typeof document>"u")return;if(!this.media){const n=document.createElement("audio");n.src=wC(),n.loop=!0,n.volume=1e-4,n.setAttribute("playsinline",""),n.setAttribute("aria-hidden","true"),n.preload="auto",this.media=n}this.media.play().catch(()=>{});const t=navigator.mediaSession;if(t){!t.metadata&&"MediaMetadata"in window&&(t.metadata=new MediaMetadata({title:jl.title,artist:jl.artist,album:jl.album,artwork:[{src:pi.url,sizes:"512x512",type:pi.content_type},{src:pi.url,sizes:"1024x1024",type:pi.content_type}]})),t.playbackState="playing";try{t.setActionHandler("play",()=>void this.start()),t.setActionHandler("pause",()=>this.stop()),["previoustrack","nexttrack","seekbackward","seekforward","seekto"].forEach(n=>t.setActionHandler(n,null))}catch{}}}releaseMediaSession(){var t;(t=this.media)==null||t.pause(),navigator.mediaSession&&(navigator.mediaSession.playbackState="paused")}watch(){if(this.watching||typeof window>"u")return;this.watching=!0;const t=()=>{const n=this.ctx;!n||this.muted||n.state!=="running"&&n.resume().then(()=>
123this.emit()).catch(()=>{})};["pointerdown","touchend","keydown","click"].forEach(n=>window.addEventListener(n,t,{passive:!0})),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&t()})}async start(){var X,Gt;if(this.declareSession(),this.holdMediaSession(),this.preparePiece(),this.ctx){this.muted=!1;const me=this.ctx.resume();(X=this.master)==null||X.gain.setTargetAtTime(1,this.ctx.currentTime,1.5),this.watch(),await me.catch(()=>{}),this.emit();return}const t=window.AudioContext||window.webkitAudioContext;if(!t)return;const n=new t;this.ctx=n,n.onstatechange=()=>this.emit();const r=n.createDynamicsCompressor();r.threshold.value=-3,r.knee.value=14,r.ratio.value=4,r.attack.value=.02,r.release.value=.9,r.connect(n.destination);const o=n.createBiquadFilter();o.type="highpass",o.frequency.value=25,o.Q.value=.7,o.connect(r);const s=n.createBiquadFilter();s.type="lowpass",s.frequency.value=18e3,s.Q.value=.4,s.connect(o),this.tone=s;const i=n.createGain();i.gain.value=1,i.connect(s),this.breath=i;const a=n.createAnalyser();a.fftSize=1024,a.smoothingTimeConstant=.85,i.connect(a),this.analyser=a,this.levelData=new Uint8Array(a.fftSize);const l=n.createGain();l.gain.value=0,l.connect(i),this.master=l;const u=n.createConvolver(),d=typeof navigator<"u"&&(navigator.hardwareConcurrency??8)<=4||typeof window<"u"&&((Gt=window.matchMedia)==null?void 0:Gt.call(window,"(prefers-reduced-motion: reduce)").matches);u.buffer=xC(n,d?2.6:6);const f=n.createGain();f.gain.value=1,u.connect(f).connect(l);const p=n.createBiquadFilter();p.type="lowpass",p.frequency.value=6e3,p.connect(u),this.revDamp=p;const h=n.createGain();h.gain.value=.18,h.connect(p),this.revSend=h;const b=n.createGain();b.gain.value=1,b.connect(l),b.connect(h),this.field=b,this.connectPiece();const v=(me,de=0,re=0)=>{const ge=n.createGain();ge.gain.value=0;const Ne=n.createStereoPanner();if(Ne.pan.value=de,ge.connect(Ne).connect(b),re>0){const $e=n.createDelay(.05);$e.delayTime.value=re;const Yt=n.createGain();Yt.gain.value=.45;const Zn=n.createStereoPanner();Zn.pan.value=de>0?-.85:.85,ge.connect($e).connect(Yt).connect(Zn).connect(b)}return this.gains.set(me,ge),{gain:ge,pan:Ne}},w=(me,de,re,ge,Ne=0)=>{const $e=n.createOscillator();$e.type=de,$e.frequency.value=me,$e.detune.value=Ne;const Yt=n.createGain();return Yt.gain.value=ge,$e.connect(Yt).connect(re),$e.start(),this.nodes.push($e),$e},m=(me,de,re)=>{const ge=n.createOscillator();ge.frequency.value=me;const Ne=n.createGain();Ne.gain.value=de,ge.connect(Ne).connect(re),ge.start(),this.nodes.push(ge)},g=yC(n),y=(me,de)=>{const re=n.createBufferSource();re.buffer=g,re.loop=!0;const ge=n.createGain();return ge.gain.value=de,re.connect(ge).connect(me),re.start(),this.nodes.push(re),re},S=v("surface",-.22,.013).gain,E=n.createBiquadFilter();E.type="bandpass",E.frequency.value=900,E.Q.value=.7,E.connect(S),y(E,.5),m(.03,260,E.frequency),w(Le*8,"sine",S,.02),w(Le*6,"sine",S,.015,6);const k=v("resonance",.18,.009),C=k.gain;m(.011,.35,k.pan.pan);const N=n.createBiquadFilter();N.type="lowpass",N.frequency.value=700,N.connect(C),w(Le*2,"sine",N,.12);const O=w(Le*3,"sine",N,.07);m(.021,7,O.detune),w(Le*4,"triangle",N,.025,-4);const _=v("depth").gain,$=n.createBiquadFilter();$.type="lowpass",$.frequency.value=180,$.connect(_);const D=w(Le/2,"sine",$,.5);m(.013,1.2,D.frequency);const H=n.createBiquadFilter();H.type="lowpass",H.frequency.value=90,H.connect(_),y(H,1.1);const M=v("vibration").gain,K=n.createBiquadFilter();K.type="lowpass",K.frequency.value=55,K.connect(M);const F=n.createBiquadFilter();F.type="bandpass",F.frequency.value=42,F.Q.value=.4,F.connect(K),y(F,1.4),w(Le/4,"sine",K,.18);const B=v("whale",.28,.008).gain;this.whaleGain=B,this.prepareWhale();const T=v("return",-.12,.011),P=T.gain;m(.008,.4,T.pan.pan);const L=n.createBiquadFilter();L.type="lowpass",L.frequency.value=2600,L.connect(P),[Le*4,Le*6,Le*9,Le*12].forEach((me,de)=>{const re=w(me,"sine",L,.022/(de*.5+1));m(.017+de*.006,2+de,re.detune)});const U=v("still",.1,.015).gain,z=n.createBiquadFilter();z.type="lowpass",z.frequency.value=1400,z.connect(U),[Le*3,Le*4.5,Le*5,Le*7.5].forEac
123h((me,de)=>{const re=w(me,"sine",z,.03/(de*.4+1));m(.009+de*.004,3,re.detune)});const Y=v("sky",-.18,.019).gain,W=n.createBiquadFilter();W.type="bandpass",W.frequency.value=620,W.Q.value=.55;const le=n.createGain();le.gain.value=.38,W.connect(le).connect(Y),y(W,.85),m(.07,.35,le.gain),m(.045,220,W.frequency),this.birds(),m(.019,.16,i.gain),m(.0071,.09,i.gain);const Ce=n.resume();l.gain.setTargetAtTime(1,n.currentTime,2.5),this.apply(),this.watch(),await Ce.catch(()=>{}),this.emit()}birds(){this.birdTimer!==null||typeof window>"u"||(this.birdTimer=window.setInterval(()=>{const t=this.ctx,n=this.gains.get("sky");if(!t||!n||this.muted||t.state!=="running"||this.depth<.86||Math.random()>.45)return;const r=t.currentTime+Math.random()*1.5,o=2+Math.floor(Math.random()*3),s=1900+Math.random()*1500;for(let i=0;i<o;i++){const a=r+i*(.11+Math.random()*.09),l=t.createOscillator();l.type="sine";const u=s*(.9+Math.random()*.3);l.frequency.setValueAtTime(u,a),l.frequency.exponentialRampToValueAtTime(u*(1.25+Math.random()*.5),a+.05),l.frequency.exponentialRampToValueAtTime(u*.85,a+.1);const d=t.createGain();d.gain.setValueAtTime(1e-4,a),d.gain.exponentialRampToValueAtTime(.05,a+.015),d.gain.exponentialRampToValueAtTime(1e-4,a+.13),l.connect(d).connect(n),l.start(a),l.stop(a+.16)}},4200))}prepareWhale(){const t=this.ctx;!t||this.whaleLoading||this.whaleSource||!this.whaleGain||(this.whaleLoading=!0,fetch(vC.url).then(n=>n.arrayBuffer()).then(n=>t.decodeAudioData(n)).then(n=>{const r=this.whaleGain;if(!this.ctx||!r||this.whaleSource)return;const o=t.createBiquadFilter();if(o.type="lowpass",o.frequency.value=1200,o.Q.value=.4,o.connect(r),this.revDamp){const i=t.createGain();i.gain.value=.16,o.connect(i).connect(this.revDamp)}const s=t.createBufferSource();s.buffer=n,s.loop=!0,s.connect(o),s.start(),this.whaleSource=s,this.nodes.push(s),this.apply()}).catch(()=>{this.whaleLoading=!1}))}stop(){this.releaseMediaSession(),this.setPiece(!1),!(!this.ctx||!this.master)&&(this.muted=!0,this.master.gain.setTargetAtTime(0,this.ctx.currentTime,.9),this.emit())}preparePiece(){const t=this.ctx;!t||this.pieceBuffer||this.pieceLoading||(this.pieceLoading=!0,fetch("/website_teaser.mp3").then(n=>n.arrayBuffer()).then(n=>t.decodeAudioData(n)).then(n=>{!this.ctx||this.pieceBuffer||(this.pieceBuffer=n,this.pieceOn&&(this.startPiece(),this.crossfade(this.pieceTarget)))}).catch(()=>{this.pieceLoading=!1,this.prepareFallback()}))}startPiece(){const t=this.ctx,n=this.pieceBuffer;if(!t||!n||this.pieceSource){this.piece&&this.piece.play().catch(()=>{});return}const r=t.createBufferSource();r.buffer=n,r.connect(this.pieceBus()),r.start(t.currentTime+.05,lt.PIECE_HEAD),r.onended=()=>{this.pieceSource===r&&(this.pieceSource=null),this.pieceSources=this.pieceSources.filter(o=>o!==r);try{r.disconnect()}catch{}},this.pieceSources.push(r),this.pieceSource=r}releasePiece(t=5){var o;const n=this.ctx,r=this.pieceSource;if(this.pieceSource=null,!n||!r){(o=this.piece)==null||o.pause(),this.piece&&(this.piece.currentTime=0);return}try{r.stop(n.currentTime+t)}catch{}}prepareFallback(){const t=this.ctx;if(!t||this.piece||typeof document>"u")return;const n=document.createElement("audio");n.src="/website_teaser.mp3",n.loop=!1,n.preload="auto",n.crossOrigin="anonymous",n.setAttribute("playsinline",""),document.body.appendChild(n),this.piece=n;try{t.createMediaElementSource(n).connect(this.pieceBus())}catch{}this.pieceOn&&n.play().catch(()=>{})}pieceBus(){const t=this.ctx;if(!this.pieceGain){const n=t.createGain();if(n.gain.value=0,n.connect(this.master??t.destination),this.revDamp){const r=t.createGain();r.gain.value=.12,n.connect(r).connect(this.revDamp)}this.pieceGain=n}return this.pieceGain}connectPiece(){this.ctx&&(this.pieceBus(),this.preparePiece())}setPiece(t){const n=Math.max(0,Math.min(1,typeof t=="boolean"?t?1:0:t));if(Math.abs(n-this.pieceTarget)<.02)return;this.pieceTarget=n;const r=n>.02;if(r&&(!this.ctx||this.muted)){this.pieceOn=!1,this.pieceTarget=0;return}if(this.connectPiece(),!r){this.pieceDelayTimer&&(clearTimeout(this.pieceDelayTimer),this.pieceDelayTimer=null),this.pieceOn=!1,this.crossfade(0),this.releasePiece();return}if(!this.pieceOn&&!this.pieceDelayTimer){this.pieceDelayTimer=setTimeout(()=>{this.pieceDelayTimer=null,this.pieceOn=!0,this.startPiece(),this.crossfade(this.pieceTarget)},1800);return}this.pieceOn&&this.crossfade(this.pieceTarget)}crossfade(t){const n=this.ctx;if(!n||!this.field)return;const r=Math.max(0,Math.min(1,t));this.mix=r;
123const o=r*Math.PI/2,s=n.currentTime,i=r<.02?3.4:4.5;this.applyPieceGain(i),this.field.gain.cancelScheduledValues(s),this.field.gain.setTargetAtTime(.008+.992*Math.pow(Math.cos(o),1.4),s,i),this.piece&&(this.piece.volume=1)}duck(t){if(!this.ctx||!this.master)return;const n=Math.max(0,Math.min(1,t)),r=this.ctx.currentTime;this.master.gain.cancelScheduledValues(r),this.master.gain.setTargetAtTime(this.muted?0:1-n,r,.35)}applyPieceGain(t){const n=this.ctx;if(!n||!this.pieceGain)return;const r=this.mix*Math.PI/2,o=.88+.12*this.hushFactor(this.depth),s=Math.sin(r)*1.05*o;this.pieceGain.gain.cancelScheduledValues(n.currentTime),this.pieceGain.gain.setTargetAtTime(s,n.currentTime,t)}setDepth(t){this.depth=Math.max(0,Math.min(1,t)),this.apply()}setStillness(t){this.still=Math.max(0,Math.min(1,t)),this.apply()}resonate(t){const n=this.ctx;if(!n||this.muted||!this.master)return;const r=[1,1.5,2,3,4.5,6],o=Le*2*r[t%r.length]/(t%2?1:2),s=n.createOscillator();s.type="sine",s.frequency.value=o*2;const i=n.createGain();i.gain.value=0,s.connect(i).connect(this.master);const a=n.currentTime;i.gain.linearRampToValueAtTime(.045,a+2.2),i.gain.linearRampToValueAtTime(0,a+9),s.start(a),s.stop(a+9.5)}ramp(t,n,r=2.2){const o=this.gains.get(t);!o||!this.ctx||o.gain.setTargetAtTime(n,this.ctx.currentTime,r)}static smooth(t){const n=Math.max(0,Math.min(1,t));return n*n*(3-2*n)}hushAt(t){const n=(s,i,a)=>{const l=Math.abs(t-s);return l<=i?1:1-lt.smooth((l-i)/a)},r=n(.58,.045,.17),o=.45*n(.3,.012,.07);return Math.max(r,o)}hushFactor(t){return Math.pow(1-this.hushAt(t),1.9)}levels(t){const n=(o,s,i=1.5)=>Math.pow(lt.smooth(1-Math.abs(t-o)/s),i),r=this.hushFactor(t);return{hush:r,surface:.8*Math.max(n(.015,.24),.18*n(1,.18))*r,resonance:.95*n(.29,.19)*r,depth:1.3*n(.47,.17)*r,vibration:1.15*n(.42,.18,1.2)*r,whale:.13*n(.46,.14,1.15)*lt.smooth((t-.28)/.1)*r,return:1.05*lt.smooth((t-.63)/.22)*(1-lt.smooth((t-.88)/.07))*r,sky:.7*lt.smooth((t-.83)/.12)}}applyRoom(){const t=this.ctx;if(!t)return;const n=this.depth,r=t.currentTime,o=lt.smooth(Math.min(1,n/.5))*(1-lt.smooth((n-.78)/.2));if(this.tone){const s=18e3*Math.pow(.1,o)+1400;this.tone.frequency.setTargetAtTime(s,r,3.5)}if(this.revSend){const s=.14+.4*o+.22*this.hushAt(n);this.revSend.gain.setTargetAtTime(s,r,4)}this.revDamp&&this.revDamp.frequency.setTargetAtTime(6200-4600*o,r,4)}amplitude(){var a;const t=this.analyser,n=this.levelData;if(!t||!n||!this.running||((a=this.ctx)==null?void 0:a.state)!=="running")return this.ampSmoothed*=.94,this.ampSmoothed;t.getByteTimeDomainData(n);let r=0;for(let l=0;l<n.length;l+=4){const u=(n[l]-128)/128;r+=u*u}const o=Math.sqrt(r/(n.length/4)),s=Math.min(1,Math.pow(o*3.2,.75)),i=s>this.ampSmoothed?.16:.045;return this.ampSmoothed+=(s-this.ampSmoothed)*i,this.ampSmoothed}readout(){const t=this.depth,n=this.levels(t),r=Math.min(1,(n.surface+n.resonance+n.depth+n.return+n.sky)/1.35),o=this.pieceTarget*n.hush;return{depth:t,hush:this.hushAt(t),piece:o,level:this.running?Math.min(1,Math.max(r*(1-o),o)):0,silencePoint:.58}}apply(){if(!this.ctx)return;const t=this.depth,n=this.levels(t),r=(o,s,i,a)=>{const l=this.gains.get(o),u=l?s<l.gain.value:!1;this.ramp(o,s,u?a:i)};r("surface",n.surface,3.6,5.4),r("resonance",n.resonance,3.6,5.4),r("depth",n.depth,4.2,6.2),r("vibration",n.vibration,4.8,5.6),this.ramp("whale",n.whale,t<.26?.7:n.whale>0?6.5:2.5),r("return",n.return,5.2,4.2),this.ramp("still",.95*this.still*n.hush,3.2),r("sky",n.sky,3.4,2.8),this.applyRoom(),this.applyPieceGain(3.2)}};Q(lt,"PIECE_HEAD",.3);let Uc=lt;const St=new Uc,bC=()=>{const[e,t]=x.useState(0),n=x.useRef(0);return x.useEffect(()=>{let r=0,o=!1;const s=()=>{o=!1;const a=document.documentElement.scrollHeight-window.innerHeight||1,l=Math.max(0,Math.min(1,window.scrollY/a));n.current=l,t(Math.round(l*200)/200)},i=()=>{o||(o=!0,r=requestAnimationFrame(s))};return s(),window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i,{passive:!0}),()=>{cancelAnimationFrame(r),window.removeEventListener("scroll",i),window.removeEventListener("resize",i)}},[]),{depth:e,depthRef:n}},SC=()=>
123{const[e,t]=x.useState(0);return x.useEffect(()=>{let n=performance.now(),r=0,o=0;const s=()=>{n=performance.now()},i=()=>{r=requestAnimationFrame(i);const a=(performance.now()-n)/1e3;let l=0;a>15?l=1:a>8?l=.66:a>4&&(l=.33),o+=(l-o)*(l>o?.006:.35),Math.abs(o-l)<.002&&(o=l),t(u=>Math.abs(u-o)>.01?o:u)};return window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("pointermove",s,{passive:!0}),window.addEventListener("pointerdown",s,{passive:!0}),window.addEventListener("keydown",s),r=requestAnimationFrame(i),()=>{cancelAnimationFrame(r),window.removeEventListener("scroll",s),window.removeEventListener("pointermove",s),window.removeEventListener("pointerdown",s),window.removeEventListener("keydown",s)}},[]),e},EC=e=>{const t=x.useRef(e);t.current=e,x.useEffect(()=>{const n=document.documentElement,r=window.matchMedia("(prefers-reduced-motion: reduce)").matches;let o=0,s=0,i=0,a=0;const l=(p,h)=>{n.style.setProperty(p,h.toFixed(3))},u=typeof navigator<"u"&&"vibrate"in navigator&&window.matchMedia("(pointer: coarse)").matches;let d=!1;const f=()=>{o=requestAnimationFrame(f);const p=St.readout(),h=r?0:St.amplitude();s+=(h-s)*.12,i+=(((p==null?void 0:p.hush)??0)-i)*.05,a+=(t.current-a)*(t.current>a?.05:.5),l("--audio-level",s),l("--hush",i),l("--stillness",a);const b=i>.55;if(b!==(n.dataset.silence==="on"))if(b){if(n.dataset.silence="on",u&&!d){d=!0;try{navigator.vibrate(8)}catch{}}}else delete n.dataset.silence,d=!1;const v=a>.5;v!==(n.dataset.still==="on")&&(v?n.dataset.still="on":delete n.dataset.still)};return o=requestAnimationFrame(f),()=>{cancelAnimationFrame(o),n.style.removeProperty("--audio-level"),n.style.removeProperty("--hush"),n.style.removeProperty("--stillness"),delete n.dataset.silence,delete n.dataset.still}},[])},Ho=({children:e,className:t="",id:n})=>c.jsx("section",{id:n,className:`mx-auto w-full max-w-[520px] px-6 md:max-w-[640px] lg:max-w-[720px] ${t}`,children:e}),wh=()=>c.jsx("div",{"aria-hidden":!0,className:"px-6",children:c.jsx("div",{className:"t-seam"})}),kC=()=>{const e=Fs(),[t,n]=x.useState(!1),[r,o]=x.useState(!1),{depth:s}=bC(),i=SC(),{isLight:a}=T0();EC(i),x.useEffect(()=>{const d=St.subscribe(o);return()=>{d()}},[]),x.useEffect(()=>{r&&St.setDepth(s)},[s,r]),x.useEffect(()=>{r&&St.setStillness(i)},[i,r]),x.useEffect(()=>{if(!r){St.setPiece(0);return}let d=0;const f=()=>{d=0;const h=document.getElementById("concert");if(!h)return;const b=h.getBoundingClientRect(),w=window.innerHeight,m=-b.height,g=(w-b.top)/(w-m),y=Math.max(0,Math.min(1,g)),S=y*y*(3-2*y);St.setPiece(S)},p=()=>{d||(d=window.requestAnimationFrame(f))};return f(),window.addEventListener("scroll",p,{passive:!0}),window.addEventListener("resize",p,{passive:!0}),()=>{window.removeEventListener("scroll",p),window.removeEventListener("resize",p),d&&window.cancelAnimationFrame(d),St.setPiece(!1)}},[r]);const l=async()=>{r?(St.stop(),o(!1)):(await St.start(),St.setDepth(s),o(!0))},u=s>.93;return c.jsxs("div",{className:"relative min-h-screen text-foreground",children:[c.jsx(Bs,{title:"Simon Stellar — Listening for What Matters",description:"Simon Stellar is an artist and composer exploring sound, space and attention through music and immersive listening experiences.",path:"/"}),c.jsx(XS,{}),c.jsx(xE,{}),c.jsx(AE,{}),c.jsx("div",{"aria-hidden":!0,className:"grain-paper"}),c.jsx("div",{"aria-hidden":!0,className:"grain-plate"}),c.jsx("div",{className:"chrome-fade",children:c.jsx(SE,{soundOn:r,onToggleSound:l})}),c.jsxs("main",{className:"pointer-events-none relative z-10",children:[c.jsxs(Ho,{className:"flex min-h-[100svh] flex-col justify-center pb-24 pt-28",children:[c.jsx("h1",{className:"hero-copy t-title text-[clamp(3.25rem,18vw,5rem)] leading-[0.98] text-foreground/90",style:{"--hd":"0ms","--hf":"9s"},children:e.hero.title}),c.jsx("div",{className:"hero-copy mt-8 t-rule",style:{"--hd":"100ms","--hf":"11s"}}),c.jsx("p",{className:"hero-copy mt-6 t-body text-foreground/60",style:{"--hd":"200ms","--hf":"10s"},children:e.hero.lines.map(d=>c.jsx("span",{className:"block",children:d},d))}),c.jsx("p",{className:"hero-copy mt-6 t-eyebrow text-[clamp(0.8125rem,3vw,0.9375rem)] text-foreground
123/45",style:{"--hd":"280ms","--hf":"10s"},children:e.hero.meta}),c.jsxs("button",{onClick:()=>window.scrollTo({top:window.innerHeight,behavior:"smooth"}),className:"group hero-copy-rise pointer-events-auto flow-block inline-flex w-fit items-center gap-2.5 t-eyebrow text-[clamp(0.8125rem,3vw,0.9375rem)] text-foreground/50 transition-colors duration-500 hover:text-foreground/85 hand-rule",style:{"--hd":"340ms"},children:[c.jsx("span",{children:e.hero.descend}),c.jsx("span",{"aria-hidden":!0,className:"transition-transform duration-500 group-hover:translate-y-0.5",children:"↓"})]})]}),c.jsx(wh,{}),c.jsxs(Ho,{id:"voices",className:"flow-section",children:[c.jsx(It,{className:"w-full",children:c.jsx("p",{className:"t-eyebrow text-foreground/45",children:e.voicesNote})}),c.jsx("div",{className:"flow-block",children:c.jsx(jE,{})})]}),c.jsx("section",{"aria-hidden":!0,className:"h-[100svh]"}),c.jsxs(Ho,{id:"concert",className:"flow-section min-h-[100svh]",children:[c.jsx(It,{className:"w-full",children:c.jsx("h2",{className:"t-title",children:e.concert.map(d=>c.jsx("span",{className:"block",children:d},d))})}),c.jsxs(It,{delay:200,className:"flow-step",children:[c.jsx("p",{className:"whitespace-pre-line t-body text-foreground/55",children:e.concertBody}),c.jsx("p",{className:"mt-6 t-eyebrow text-foreground/45",children:e.concertFacts})]}),c.jsxs(It,{delay:320,className:"flow-step",children:[c.jsx("ul",{className:"border-t border-foreground
123/10",children:e.concertOptions.map(d=>c.jsxs("li",{className:"flex items-baseline justify-between border-b border-foreground/10 py-5 t-meta text-foreground/75",children:[c.jsx("span",{children:d.duration}),c.jsx("span",{className:"text-foreground/55",children:d.price})]},d.duration))}),c.jsx("p",{className:"mt-7 t-eyebrow text-foreground/40",children:e.concertLine})]}),c.jsx(It,{delay:440,className:"flow-step",children:c.jsxs("button",{onClick:()=>n(!0),className:"group pointer-events-auto inline-flex w-fit items-center gap-3 rounded-full bg-foreground px-10 py-5 t-eyebrow text-background shadow-[0_8px_30px_-12px_hsl(var(--foreground)/0.5)] transition-all duration-500 hover:gap-4 hover:shadow-[0_12px_38px_-10px_hsl(var(--foreground)/0.6)] active:scale-[0.98]",children:[c.jsx("span",{children:e.writeToMe}),c.jsx("span",{"aria-hidden":!0,className:"transition-transform duration-500 group-hover:translate-x-0.5",children:"→"})]})}),c.jsx("div",{className:"mt-[calc(var(--rhythm-section)*1.1)] mb-[var(--rhythm-section)]",children:c.jsx(Sl,{src:JE.url,alt:e.photos.place,focus:"46% 52%",aspect:"aspect-[4/5] sm:aspect-[16/9] lg:aspect-[21/9]"})}),c.jsx("div",{className:"mt-[calc(var(--rhythm-section)*0.6)]",children:c.jsx(Sl,{src:ck.url,alt:e.photos.practice,focus:"48% 58%",aspect:"aspect-[4/5] sm:aspect-[16/9] lg:aspect-[21/9]"})})]}),c.jsxs(Ho,{id:"simon",className:"flow-section min-h-[90svh]",children:[c.jsx("div",{className:"mb-[calc(var(--rhythm-section)*0.8)]",children:c.jsx(Sl,{src:xk.url,alt:e.photos.simon,focus:"50% 72%",aspect:"aspect-[3/4] sm:aspect-[4/5] lg:aspect-[3/4]"})}),c.jsx(It,{className:"w-full",children:c.jsx("p",{className:"t-eyebrow mb-10 text-foreground/45",children:e.simon})}),c.jsx(It,{delay:200,children:c.jsx("p",{className:"whitespace-pre-line t-body text-foreground/65",children:e.simonBody})}),c.jsx(It,{delay:360,children:c.jsx("p",{className:"mt-10 border-t border-foreground
123/10 pt-6 t-meta text-foreground/45",children:e.simonCredentials})}),c.jsx(It,{delay:440,className:"flow-step",children:c.jsx("p",{className:"t-signature text-foreground/55",children:"Simon Stellar"})})]}),c.jsx(wh,{}),c.jsxs(Ho,{className:`flex min-h-[100svh] flex-col justify-end pb-12 pt-[var(--rhythm-section)] transition-colors duration-1000 ${u?"is-surfaced":""}`,children:[c.jsx("div",{id:"questions",children:c.jsx(RE,{})}),c.jsxs("footer",{className:"pointer-events-auto flow-block",children:[c.jsx("div",{className:"relative h-px w-full overflow-hidden bg-foreground/10",children:c.jsx("span",{className:"absolute inset-y-0 left-0 w-1/3 animate-[horizon_9s_ease-in-out_infinite] bg-gradient-to-r from-transparent via-foreground/40 to-transparent"})}),c.jsxs("div",{className:"mt-10 grid grid-cols-1 gap-12 sm:grid-cols-[1fr_auto] sm:items-end",children:[c.jsxs("div",{className:"relative",children:[c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsx("img",{src:a?j0:N0,alt:"","aria-hidden":!0,className:"h-4 w-4 opacity-40 transition-opacity duration-500"}),c.jsx("span",{className:"t-eyebrow opacity-50",children:"Zürich, Switzerland"})]}),c.jsx("img",{src:nd.url,alt:"","aria-hidden":!0,className:"mt-6 h-14 w-auto select-none opacity-25 transition-opacity duration-500 hover:opacity-50"}),c.jsx("div",{className:"relative mt-8 overflow-hidden text-left",children:c.jsx("img",{src:wk,alt:"Simon Stellar",className:`mx-0 h-auto w-full max-w-[26rem] select-none transition-all duration-1000 ${a?"opacity-100":"opacity-100 [filter:brightness(0)_invert(1)]"}`})})]}),c.jsx("nav",{className:"flex flex-col items-start gap-4 sm:items-end",children:[{label:e.social.linkedin,href:"https://www.linkedin.com/in/simonstellar/"},{label:"[email protected]",href:"mailto:[email protected]"}].map(d=>c.jsxs("a",{href:d.href,target:d.href.startsWith("http")?"_blank":void 0,rel:"noopener noreferrer",className:"group inline-flex items-center gap-2.5 t-eyebrow text-[0.8125rem] opacity-55 transition-all duration-500 hover:opacity-100",children:[c.jsx("span",{className:"h-px w-0 bg-current transition-all duration-500 group-hover:w-7"}),c.jsx("span",{children:d.label})]},d.href))})]}),c.jsxs("div",{className:"mt-12 flex flex-col gap-3 border-t border-foreground
123/10 pt-6 sm:flex-row sm:items-center sm:justify-between",children:[c.jsxs("span",{className:"t-eyebrow opacity-40",children:["© ",new Date().getFullYear()," Simon Stellar"]}),c.jsxs("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-2 t-eyebrow opacity-50",children:[c.jsx(mr,{to:"/privacy-policy",className:"transition-colors hover:text-foreground/70",children:e.footer.privacy}),c.jsx(mr,{to:"/terms-conditions",className:"transition-colors hover:text-foreground/70",children:e.footer.terms}),c.jsx(mr,{to:"/cookie-preferences",className:"transition-colors hover:text-foreground/70",children:e.footer.cookies})]})]})]})]})]}),c.jsx(HE,{open:t,onClose:()=>n(!1)}),c.jsx(bk,{})]})},bh=e=>{const t=e;return!t||!t.closest?!1:!!t.closest('input, textarea, select, [contenteditable="true"]')},CC=()=>{x.useEffect(()=>{const e=n=>{bh(n.target)||n.preventDefault()},t=n=>{if(bh(n.target))return;const r=n.key.toLowerCase();(n.ctrlKey||n.metaKey)&&["c","x","a","s","u"].includes(r)&&n.preventDefault()};return document.addEventListener("copy",e),document.addEventListener("cut",e),document.addEventListener("contextmenu",e),document.addEventListener("dragstart",e),document.addEventListener("selectstart",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("copy",e),document.removeEventListener("cut",e),document.removeEventListener("contextmenu",e),document.removeEventListener("dragstart",e),document.removeEventListener("selectstart",e),document.removeEventListener("keydown",t)}},[])},TC=()=>{const e=$s();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),c.jsxs("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:[c.jsx(Bs,{title:"Page Not Found · Simon Stellar",description:"The page you are looking for could not be found. Return to Simon Stellar.",path:e.pathname}),c.jsxs("div",{className:"text-center",children:[c.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),c.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),c.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})]})},jC=({className:e=""})=>c.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round",className:e,"aria-hidden":"true",children:[c.jsx("circle",{cx:"12",cy:"12",r:"9"}),c.jsx("path",{d:"M12 3a9 9 0 0 1 0 18 9 9 0 0 1 0-18"}),c.jsx("path",{d:"M3 12h18"}),c.jsx("path",{d:"M12 3v18"})]}),NC=({className:e=""})=>{const{language:t,setLanguage:n}=Yn(),r=t==="de"?"en":"de";return c.jsx("button",{onClick:()=>n(r),"aria-label":`Switch language to ${r.toUpperCase()}`,title:r.toUpperCase(),className:`group inline-flex h-9 w-9 items-center justify-center rounded-full text-foreground/45 transition-all duration-500 hover:bg-foreground
123/5 hover:text-foreground/85 hover:rotate-90 ${e}`,children:c.jsx(jC,{className:"h-[18px] w-[18px]"})})},od=()=>c.jsxs("header",{className:"flex items-center justify-between px-6 py-6",children:[c.jsx(mr,{to:"/",className:"t-eyebrow text-foreground/45 transition-colors duration-500 hover:text-foreground/80",children:"← Simon Stellar"}),c.jsx(NC,{})]}),sd=()=>{const e=Fs();return c.jsxs("footer",{className:"mt-24 flex flex-wrap items-center gap-x-8 gap-y-3 border-t border-foreground/10 px-6 py-10 t-eyebrow text-foreground/25",children:[c.jsxs("span",{children:["© ",new Date().getFullYear()," Simon Stellar"]}),c.jsx(mr,{to:"/privacy-policy",className:"transition-colors hover:text-foreground/60",children:e.footer.privacy}),c.jsx(mr,{to:"/terms-conditions",className:"transition-colors hover:text-foreground/60",children:e.footer.terms}),c.jsx(mr,{to:"/cookie-preferences",className:"transition-colors hover:text-foreground/60",children:e.footer.cookies}),c.jsx("a",{href:"mailto:[email protected]",className:"transition-colors hover:text-foreground/60",children:"[email protected]"})]})},PC=()=>{const{language:e}=Yn();return c.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[c.jsx(Bs,{title:e==="en"?"Privacy Policy · Simon Stellar":"Datenschutzerklärung · Simon Stellar",description:e==="en"?"How Simon Stellar handles your data: what is collected when you book or contact, how it is used, and your privacy rights.":"Wie Simon Stellar mit Ihren Daten umgeht: was bei Buchung oder Kontakt erhoben wird, wie es verwendet wird und welche Rechte Sie haben.",path:"/privacy-policy"}),c.jsx(od,{}),c.jsx("main",{className:"pt-32 sm:pt-40 pb-12 sm:pb-20 px-4 sm:px-6",children:c.jsxs("div",{className:"max-w-4xl mx-auto",children:[c.jsx("h1",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-normal mb-6 sm:mb-8 bg-foreground
123/20 bg-clip-text text-transparent",children:e==="en"?"Privacy Policy":"Datenschutzerklärung"}),c.jsx("div",{className:"prose prose-invert max-w-none space-y-4 sm:space-y-6 text-foreground/90 text-sm sm:text-base",children:e==="en"?c.jsxs(c.Fragment,{children:[c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"1. Data Controller"}),c.jsxs("p",{className:"leading-relaxed",children:["Simon Stellar",c.jsx("br",{}),"Zürich, Switzerland",c.jsx("br",{}),"Email: [email protected]"]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"2. Data Collection"}),c.jsx("p",{className:"leading-relaxed",children:"We collect personal data when you:"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2 mt-2",children:[c.jsx("li",{children:"Join our waitlist or book a session"}),c.jsx("li",{children:"Contact us via email"}),c.jsx("li",{children:"Visit our website (cookies and analytics)"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"3. Types of Data"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2",children:[c.jsx("li",{children:"Name and email address"}),c.jsx("li",{children:"Communication preferences"}),c.jsx("li",{children:"Session booking information"}),c.jsx("li",{children:"Website usage data (cookies, IP address)"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"4. Purpose of Data Processing"}),c.jsx("p",{className:"leading-relaxed",children:"We use your data to:"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2 mt-2",children:[c.jsx("li",{children:"Respond to inquiries and provide services"}),c.jsx("li",{children:"Send updates about our offerings (with consent)"}),c.jsx("li",{children:"Improve our website and user experience"}),c.jsx("li",{children:"Comply with legal obligations"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"5. Data Sharing"}),c.jsx("p",{className:"leading-relaxed",children:"We do not sell your personal data. We may share data with trusted service providers (e.g., email services, booking platforms) who assist in our operations and are bound by confidentiality agreements."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"6. Your Rights"}),c.jsx("p",{className:"leading-relaxed",children:"You have the right to:"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2 mt-2",children:[c.jsx("li",{children:"Access your personal data"}),c.jsx("li",{children:"Correct inaccurate data"}),c.jsx("li",{children:"Request deletion of your data"}),c.jsx("li",{children:"Withdraw consent for marketing communications"}),c.jsx("li",{children:"Lodge a complaint with a supervisory authority"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"7. Data Security"}),c.jsx("p",{className:"leading-relaxed",children:"We implement appropriate technical and organizational measures to protect your personal data against unauthorized access, loss, or misuse."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"8. Contact"}),c.jsxs("p",{className:"leading-relaxed",children:["For privacy-related questions or to exercise your rights, contact us at:",c.jsx("br",{}),"[email protected]"]})]}),c.jsx("section",{children:c.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground",children:"Last updated: January 2025"})})]}):c.jsxs(c.Fragment,{children:[c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground
123/70 mb-3 sm:mb-4",children:"1. Verantwortlicher"}),c.jsxs("p",{className:"leading-relaxed",children:["Simon Stellar",c.jsx("br",{}),"Zürich, Schweiz",c.jsx("br",{}),"E-Mail: [email protected]"]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"2. Datenerhebung"}),c.jsx("p",{className:"leading-relaxed",children:"Wir erheben personenbezogene Daten, wenn Sie:"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2 mt-2",children:[c.jsx("li",{children:"Sich für unsere Warteliste anmelden oder eine Session buchen"}),c.jsx("li",{children:"Uns per E-Mail kontaktieren"}),c.jsx("li",{children:"Unsere Website besuchen (Cookies und Analysen)"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"3. Arten von Daten"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2",children:[c.jsx("li",{children:"Name und E-Mail-Adresse"}),c.jsx("li",{children:"Kommunikationspräferenzen"}),c.jsx("li",{children:"Session-Buchungsinformationen"}),c.jsx("li",{children:"Website-Nutzungsdaten (Cookies, IP-Adresse)"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"4. Zweck der Datenverarbeitung"}),c.jsx("p",{className:"leading-relaxed",children:"Wir verwenden Ihre Daten, um:"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2 mt-2",children:[c.jsx("li",{children:"Anfragen zu beantworten und Dienstleistungen bereitzustellen"}),c.jsx("li",{children:"Updates über unsere Angebote zu senden (mit Einwilligung)"}),c.jsx("li",{children:"Unsere Website und Benutzererfahrung zu verbessern"}),c.jsx("li",{children:"Gesetzlichen Verpflichtungen nachzukommen"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"5. Datenweitergabe"}),c.jsx("p",{className:"leading-relaxed",children:"Wir verkaufen Ihre persönlichen Daten nicht. Wir können Daten mit vertrauenswürdigen Dienstleistern teilen (z. B. E-Mail-Dienste, Buchungsplattformen), die uns bei unseren Betrieben unterstützen und durch Vertraulichkeitsvereinbarungen gebunden sind."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"6. Ihre Rechte"}),c.jsx("p",{className:"leading-relaxed",children:"Sie haben das Recht auf:"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2 mt-2",children:[c.jsx("li",{children:"Zugang zu Ihren personenbezogenen Daten"}),c.jsx("li",{children:"Berichtigung unrichtiger Daten"}),c.jsx("li",{children:"Löschung Ihrer Daten"}),c.jsx("li",{children:"Widerruf der Einwilligung für Marketingkommunikation"}),c.jsx("li",{children:"Beschwerde bei einer Aufsichtsbehörde"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"7. Datensicherheit"}),c.jsx("p",{className:"leading-relaxed",children:"Wir implementieren angemessene technische und organisatorische Maßnahmen zum Schutz Ihrer persönlichen Daten vor unbefugtem Zugriff, Verlust oder Missbrauch."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"8. Kontakt"}),c.jsxs("p",{className:"leading-relaxed",children:["Für datenschutzbezogene Fragen oder zur Ausübung Ihrer Rechte kontaktieren Sie uns unter:",c.jsx("br",{}),"[email protected]"]})]}),c.jsx("section",{children:c.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground",children:"Zuletzt aktualisiert: Januar 2025"})})]})})]})}),c.jsx(sd,{})]})},AC=()=>{const{language:e}=Yn();return c.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[c.jsx(Bs,{title:e==="en"?"Terms and Conditions · Simon Stellar":"AGB · Simon Stellar",description:e==="en"?"The terms that apply when you book a listening session with Simon Stellar in Züric
123h, including cancellation and payment.":"Die Bedingungen für eine gebuchte Listening-Session bei Simon Stellar in Zürich, inklusive Stornierung und Zahlung.",path:"/terms-conditions"}),c.jsx(od,{}),c.jsx("main",{className:"pt-32 sm:pt-40 pb-12 sm:pb-20 px-4 sm:px-6",children:c.jsxs("div",{className:"max-w-4xl mx-auto",children:[c.jsx("h1",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-normal mb-6 sm:mb-8 bg-foreground/20 bg-clip-text text-transparent",children:e==="en"?"Terms and Conditions":"Allgemeine Geschäftsbedingungen"}),c.jsx("div",{className:"prose prose-invert max-w-none space-y-4 sm:space-y-6 text-foreground/90 text-sm sm:text-base",children:e==="en"?c.jsxs(c.Fragment,{children:[c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"1. Acceptance of Terms"}),c.jsx("p",{className:"leading-relaxed",children:"By booking a session or using our services, you agree to these Terms and Conditions. If you do not agree, please do not use our services."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"2. Services"}),c.jsx("p",{className:"leading-relaxed",children:"Simon Stellar offers Concert for One: a live listening experience for one person with music and vibroacoustic elements. These services are not a substitute for medical or psychological treatment."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"3. Booking and Payment"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2",children:[c.jsx("li",{children:"Sessions must be booked in advance through our booking system"}),c.jsx("li",{children:"Payment is due at the time of service"}),c.jsx("li",{children:"Accepted payment methods: TWINT, Cash"}),c.jsx("li",{children:"Credit cards are not accepted"}),c.jsx("li",{children:"Prices are listed in CHF"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"4. Cancellation Policy"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2",children:[c.jsx("li",{children:"Cancellations made 24 hours or more before the session: Full refund"}),c.jsx("li",{children:"Cancellations made less than 24 hours before: No refund"}),c.jsx("li",{children:"No-shows: No refund"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"5. Health and Safety"}),c.jsx("p",{className:"leading-relaxed mb-3",children:"Please inform us of any health conditions, injuries, or concerns before your session. Our services are not intended to diagnose, treat, cure, or prevent any medical condition. Consult your healthcare provider if you have concerns."}),c.jsx("p",{className:"leading-relaxed font-medium",children:"Contraindications: Sessions are not suitable for individuals with epilepsy, pacemakers, or those who have undergone recent surgeries."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"6. Liability"}),c.jsx("p",{className:"leading-relaxed",children:"While we take every care to provide a safe and supportive environment, we are not liable for any physical, emotional, or psychological effects experienced during or after sessions. Participation is at your own risk."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"7. Intellectual Property"}),c.jsx("p",{className:"leading-relaxed",children:"All content, including sound recordings, written materials, and visual content, is protected by copyright and owned by Simon Stellar. Unauthorized reproduction or distribution is prohibited."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground
123/70 mb-3 sm:mb-4",children:"8. Privacy"}),c.jsx("p",{className:"leading-relaxed",children:"Your privacy is important to us. Please refer to our Privacy Policy for information on how we collect, use, and protect your personal data."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"9. Changes to Terms"}),c.jsx("p",{className:"leading-relaxed",children:"We reserve the right to modify these Terms and Conditions at any time. Changes will be posted on our website and effective immediately upon posting."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"10. Governing Law"}),c.jsx("p",{className:"leading-relaxed",children:"These Terms and Conditions are governed by Swiss law. Any disputes shall be resolved in the courts of Zürich, Switzerland."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"11. Contact"}),c.jsxs("p",{className:"leading-relaxed",children:["For questions about these Terms and Conditions, contact us at:",c.jsx("br",{}),"[email protected]"]})]}),c.jsx("section",{children:c.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground",children:"Last updated: January 2025"})})]}):c.jsxs(c.Fragment,{children:[c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"1. Annahme der Bedingungen"}),c.jsx("p",{className:"leading-relaxed",children:"Durch die Buchung einer Session oder die Nutzung unserer Dienstleistungen stimmen Sie diesen Allgemeinen Geschäftsbedingungen zu. Wenn Sie nicht zustimmen, nutzen Sie bitte unsere Dienste nicht."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"2. Dienstleistungen"}),c.jsx("p",{className:"leading-relaxed",children:"Simon Stellar bietet Concert for One an: ein Live-Hörerlebnis für eine Person mit Musik und vibroakustischen Elementen. Diese Dienstleistungen sind kein Ersatz für medizinische oder psychologische Behandlung."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"3. Buchung und Zahlung"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2",children:[c.jsx("li",{children:"Sessions müssen im Voraus über unser Buchungssystem gebucht werden"}),c.jsx("li",{children:"Zahlung ist zum Zeitpunkt der Leistungsinabspruchnahme fällig"}),c.jsx("li",{children:"Akzeptierte Zahlungsmethoden: TWINT, Bar"}),c.jsx("li",{children:"Keine Kreditkarten"}),c.jsx("li",{children:"Preise sind in CHF angegeben"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"4. Stornierungsbedingungen"}),c.jsxs("ul",{className:"list-disc pl-5 sm:pl-6 space-y-1.5 sm:space-y-2",children:[c.jsx("li",{children:"Stornierungen 24 Stunden oder mehr vor der Session: Volle Rückerstattung"}),c.jsx("li",{children:"Stornierungen weniger als 24 Stunden vor der Session: Keine Rückerstattung"}),c.jsx("li",{children:"Nichterscheinen: Keine Rückerstattung"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"5. Gesundheit und Sicherheit"}),c.jsx("p",{className:"leading-relaxed mb-3",children:"Bitte informieren Sie uns vor Ihrer Session über gesundheitliche Beschwerden, Verletzungen oder Bedenken. Unsere Dienstleistungen sind nicht zur Diagnose, Behandlung, Heilung oder Vorbeugung von Krankheiten bestimmt. Konsultieren Sie Ihren Arzt bei Bedenken."}),c.jsx("p",{className:"leading-relaxed font-medium",children:"Kontraindikationen: Sessions sind nicht geeignet für Personen mit Epilepsie, Herzschrittmacher oder kürzlich durchgeführten Operationen."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground
123/70 mb-3 sm:mb-4",children:"6. Haftung"}),c.jsx("p",{className:"leading-relaxed",children:"Obwohl wir alles tun, um eine sichere und unterstützende Umgebung zu bieten, haften wir nicht für physische, emotionale oder psychologische Auswirkungen, die während oder nach den Sessions auftreten. Die Teilnahme erfolgt auf eigenes Risiko."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"7. Geistiges Eigentum"}),c.jsx("p",{className:"leading-relaxed",children:"Alle Inhalte, einschließlich Tonaufnahmen, schriftliche Materialien und visuelle Inhalte, sind urheberrechtlich geschützt und Eigentum von Simon Stellar. Unerlaubte Vervielfältigung oder Verbreitung ist verboten."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"8. Datenschutz"}),c.jsx("p",{className:"leading-relaxed",children:"Ihre Privatsphäre ist uns wichtig. Bitte lesen Sie unsere Datenschutzerklärung für Informationen darüber, wie wir Ihre personenbezogenen Daten erheben, verwenden und schützen."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"9. Änderungen der Bedingungen"}),c.jsx("p",{className:"leading-relaxed",children:"Wir behalten uns das Recht vor, diese Allgemeinen Geschäftsbedingungen jederzeit zu ändern. Änderungen werden auf unserer Website veröffentlicht und treten sofort nach Veröffentlichung in Kraft."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"10. Anwendbares Recht"}),c.jsx("p",{className:"leading-relaxed",children:"Diese Allgemeinen Geschäftsbedingungen unterliegen schweizerischem Recht. Streitigkeiten werden vor den Gerichten von Zürich, Schweiz, beigelegt."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-lg sm:text-xl md:text-2xl font-normal text-foreground/70 mb-3 sm:mb-4",children:"11. Kontakt"}),c.jsxs("p",{className:"leading-relaxed",children:["Für Fragen zu diesen Allgemeinen Geschäftsbedingungen kontaktieren Sie uns unter:",c.jsx("br",{}),"[email protected]"]})]}),c.jsx("section",{children:c.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground",children:"Zuletzt aktualisiert: Januar 2025"})})]})})]})}),c.jsx(sd,{})]})},RC=()=>{const{language:e}=Yn();return c.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[c.jsx(Bs,{title:e==="en"?"Cookie Preferences · Simon Stellar":"Cookie-Einstellungen · Simon Stellar",description:e==="en"?"Manage cookie preferences for simonstellar.com, including the third-party services used on the site.":"Cookie-Einstellungen für simonstellar.com verwalten, inklusive der verwendeten Drittanbieter-Dienste.",path:"/cookie-preferences"}),c.jsx(od,{}),c.jsx("main",{className:"pt-40 pb-20 px-6",children:c.jsxs("div",{className:"max-w-4xl mx-auto",children:[c.jsx("h1",{className:"text-4xl md:text-5xl font-normal mb-8 bg-foreground
123/20 bg-clip-text text-transparent",children:e==="en"?"Cookie Preferences":"Cookie-Einstellungen"}),c.jsx("div",{className:"prose prose-invert max-w-none space-y-6 text-foreground/90",children:e==="en"?c.jsxs(c.Fragment,{children:[c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"What are Cookies?"}),c.jsx("p",{children:"Cookies are small text files stored on your device when you visit our website. They help us provide a better browsing experience and understand how our site is used."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Types of Cookies We Use"}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"text-xl font-normal text-foreground mb-2",children:"Essential Cookies"}),c.jsx("p",{children:"These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you, such as setting your privacy preferences or filling in forms."})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"text-xl font-normal text-foreground mb-2",children:"Analytics Cookies"}),c.jsx("p",{children:"These cookies help us understand how visitors interact with our website by collecting and reporting information anonymously. This helps us improve the user experience."})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"text-xl font-normal text-foreground mb-2",children:"Preference Cookies"}),c.jsx("p",{children:"These cookies enable the website to remember choices you make (such as your language preference) and provide enhanced, more personal features."})]})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Managing Your Cookies"}),c.jsx("p",{children:"You can control and manage cookies in various ways:"}),c.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[c.jsx("li",{children:"Use our cookie consent banner to accept or decline non-essential cookies"}),c.jsx("li",{children:"Change your browser settings to block or delete cookies"}),c.jsx("li",{children:"Opt out of analytics tracking through your browser settings"})]}),c.jsx("p",{className:"mt-4",children:"Please note that blocking certain cookies may affect website functionality and your user experience."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Third-Party Cookies"}),c.jsx("p",{children:"We may use third-party services that set cookies, including:"}),c.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[c.jsx("li",{children:"Analytics providers (to understand website usage)"}),c.jsx("li",{children:"Booking platforms (to facilitate session bookings)"}),c.jsx("li",{children:"Social media platforms (if you interact with embedded content)"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Updates to This Policy"}),c.jsx("p",{children:"We may update this Cookie Policy from time to time. Any changes will be posted on this page with an updated revision date."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Contact Us"}),c.jsxs("p",{children:["If you have questions about our use of cookies, please contact us at:",c.jsx("br",{}),"[email protected]"]})]}),c.jsx("section",{children:c.jsx("p",{className:"text-sm text-muted-foreground",children:"Last updated: January 2025"})})]}):c.jsxs(c.Fragment,{children:[c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Was sind Cookies?"}),c.jsx("p",{children:"Cookies sind kleine Textdateien, die auf Ihrem Gerät gespeichert werden, wenn Sie unsere Website besuchen. Sie helfen uns, ein besseres Surferlebnis zu bieten und zu verstehen, wie unsere Website genutzt wird."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Arten von Cookies, die wir verwenden"}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"text-xl font-normal text-foreground mb-2",children:"Erforderliche Cookies"}),c.jsx("p",{children:"Diese Cookies sind für die Funktion der Website notwendig und können nicht ausgeschaltet werden. Sie werden normalerweise nur als Reaktion auf Ihre Aktionen gesetzt, wie das Festlegen Ihrer Datenschutzeinstellungen oder das Ausfüllen von Formularen."})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"text-xl font-normal text-foreground mb-2",children:"Analyse-Cookies"}
123),c.jsx("p",{children:"Diese Cookies helfen uns zu verstehen, wie Besucher mit unserer Website interagieren, indem sie Informationen anonym sammeln und melden. Dies hilft uns, das Benutzererlebnis zu verbessern."})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"text-xl font-normal text-foreground mb-2",children:"Präferenz-Cookies"}),c.jsx("p",{children:"Diese Cookies ermöglichen es der Website, sich an Ihre Entscheidungen zu erinnern (wie Ihre Sprachpräferenz) und erweiterte, personalisiertere Funktionen anzubieten."})]})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Verwaltung Ihrer Cookies"}),c.jsx("p",{children:"Sie können Cookies auf verschiedene Weise kontrollieren und verwalten:"}),c.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[c.jsx("li",{children:"Verwenden Sie unser Cookie-Einwilligungsbanner, um nicht erforderliche Cookies anzunehmen oder abzulehnen"}),c.jsx("li",{children:"Ändern Sie Ihre Browsereinstellungen, um Cookies zu blockieren oder zu löschen"}),c.jsx("li",{children:"Opt-out von Analyse-Tracking über Ihre Browsereinstellungen"})]}),c.jsx("p",{className:"mt-4",children:"Bitte beachten Sie, dass das Blockieren bestimmter Cookies die Funktionalität der Website und Ihr Benutzererlebnis beeinträchtigen kann."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Drittanbieter-Cookies"}),c.jsx("p",{children:"Wir können Dienste von Drittanbietern verwenden, die Cookies setzen, einschließlich:"}),c.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[c.jsx("li",{children:"Analyse-Anbieter (um Website-Nutzung zu verstehen)"}),c.jsx("li",{children:"Buchungsplattformen (um Session-Buchungen zu erleichtern)"}),c.jsx("li",{children:"Social-Media-Plattformen (wenn Sie mit eingebetteten Inhalten interagieren)"})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Aktualisierungen dieser Richtlinie"}),c.jsx("p",{children:"Wir können diese Cookie-Richtlinie von Zeit zu Zeit aktualisieren. Änderungen werden auf dieser Seite mit einem aktualisierten Revisionsdatum veröffentlicht."})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-normal text-foreground/70 mb-4",children:"Kontaktieren Sie uns"}),c.jsxs("p",{children:["Wenn Sie Fragen zur Verwendung von Cookies haben, kontaktieren Sie uns bitte unter:",c.jsx("br",{}),"[email protected]"]})]}),c.jsx("section",{children:c.jsx("p",{className:"text-sm text-muted-foreground",children:"Zuletzt aktualisiert: Januar 2025"})})]})})]})}),c.jsx(sd,{})]})},_C=new V2,OC=()=>(CC(),c.jsx(K2,{client:_C,children:c.jsx(C0,{children:c.jsx(GS,{children:c.jsxs(b2,{children:[c.jsx(o1,{}),c.jsx(D1,{}),c.jsx(WS,{children:c.jsxs(IS,{children:[c.jsx(Mr,{path:"/",element:c.jsx(kC,{})}),c.jsx(Mr,{path:"/privacy-policy",element:c.jsx(PC,{})}),c.jsx(Mr,{path:"/terms-conditions",element:c.jsx(AC,{})}),c.jsx(Mr,{path:"/cookie-preferences",element:c.jsx(RC,{})}),c.jsx(Mr,{path:"*",element:c.jsx(TC,{})})]})})]})})})}));Wm(document.getElementById("root")).render(c.jsx(A.StrictMode,{children:c.jsx(L0,{children:c.jsx(C0,{children:c.jsx(OC,{})})})}));

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.