PageSourceSearch

https://brand-app-studio.lovable.app/assets/index-CkWjDrKl.js

js brand-app-studio.lovable.app collected 2026-10-03 03:24:29 UTC 594,011 bytes, 265 lines download raw bytes

vendor: 5,064 bytes, lines 1-9
1var $p=e=>{throw TypeError(e)};var Il=(e,t,n)=>t.has(e)||$p("Cannot "+n);var T=(e,t,n)=>(Il(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?$p("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Q=(e,t,n,r)=>(Il(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Le=(e,t,n)=>(Il(e,t,"access private method"),n);var ua=(e,t,n,r)=>({set _(o){Q(e,t,o,n)},get _(){return T(e,t,r)}});function ob(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function jh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nh={exports:{}},Vs={},Ph={exports:{}},J={};/**
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 Gi=Symbol.for("react.element"),ib=Symbol.for("react.portal"),ab=Symbol.for("react.fragment"),sb=Symbol.for("react.strict_mode"),lb=Symbol.for("react.profiler"),cb=Symbol.for("react.provider"),ub=Symbol.for("react.context"),db=Symbol.for("react.forward_ref"),pb=Symbol.for("react.suspense"),fb=Symbol.for("react.memo"),mb=Symbol.for("react.lazy"),Fp=Symbol.iterator;function hb(e){return e===null||typeof e!="object"?null:(e=Fp&&e[Fp]||e["@@iterator"],typeof e=="function"?e:null)}var Th={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ah=Object.assign,Rh={};function Io(e,t,n){this.props=e,this.context=t,this.refs=Rh,this.updater=n||Th}Io.prototype.isReactComponent={};Io.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")};Io.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Mh(){}Mh.prototype=Io.prototype;function Ku(e,t,n){this.props=e,this.context=t,this.refs=Rh,this.updater=n||Th}var Gu=Ku.prototype=new Mh;Gu.constructor=Ku;Ah(Gu,Io.prototype);Gu.isPureReactComponent=!0;var Bp=Array.isArray,Oh=Object.prototype.hasOwnProperty,Qu={current:null},Lh={key:!0,ref:!0,__self:!0,__source:!0};function Dh(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Oh.call(t,r)&&!Lh.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:Gi,type:e,key:i,ref:a,props:o,_owner:Qu.current}}function gb(e,t){return{$$typeof:Gi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Xu(e){return typeof e=="object"&&e!==null&&e.$$typeof===Gi}function yb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Wp=/\/+/g;function _l(e,t){return typeof e=="object"&&e!==null&&e.key!=null?yb(""+e.key):t.toString(36)}function $a(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Gi:case ib:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+_l(a,0):r,Bp(o)?(n="",e!=null&&(n=e.replace(Wp,"$&/")+"/"),$a(o,t,n,"",function(c){return c})):o!=null&&(Xu(o)&&(o=gb(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Wp,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",Bp(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+_l(i,s);a+=$a(i,t,n,l,o)}else if(l=hb(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+_l(i,s++),a+=$a(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}
vendor: 10,022 bytes, lines 9-33
9function da(e,t,n){if(e==null)return e;var r=[],o=0;return $a(e,r,"","",function(i){return t.call(n,i,o++)}),r}function vb(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 Ve={current:null},Fa={transition:null},wb={ReactCurrentDispatcher:Ve,ReactCurrentBatchConfig:Fa,ReactCurrentOwner:Qu};function zh(){throw Error("act(...) is not supported in production builds of React.")}J.Children={map:da,forEach:function(e,t,n){da(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return da(e,function(){t++}),t},toArray:function(e){return da(e,function(t){return t})||[]},only:function(e){if(!Xu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};J.Component=Io;J.Fragment=ab;J.Profiler=lb;J.PureComponent=Ku;J.StrictMode=sb;J.Suspense=pb;J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=wb;J.act=zh;J.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=Ah({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Qu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Oh.call(t,l)&&!Lh.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:Gi,type:e.type,key:o,ref:i,props:r,_owner:a}};J.createContext=function(e){return e={$$typeof:ub,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:cb,_context:e},e.Consumer=e};J.createElement=Dh;J.createFactory=function(e){var t=Dh.bind(null,e);return t.type=e,t};J.createRef=function(){return{current:null}};J.forwardRef=function(e){return{$$typeof:db,render:e}};J.isValidElement=Xu;J.lazy=function(e){return{$$typeof:mb,_payload:{_status:-1,_result:e},_init:vb}};J.memo=function(e,t){return{$$typeof:fb,type:e,compare:t===void 0?null:t}};J.startTransition=function(e){var t=Fa.transition;Fa.transition={};try{e()}finally{Fa.transition=t}};J.unstable_act=zh;J.useCallback=function(e,t){return Ve.current.useCallback(e,t)};J.useContext=function(e){return Ve.current.useContext(e)};J.useDebugValue=function(){};J.useDeferredValue=function(e){return Ve.current.useDeferredValue(e)};J.useEffect=function(e,t){return Ve.current.useEffect(e,t)};J.useId=function(){return Ve.current.useId()};J.useImperativeHandle=function(e,t,n){return Ve.current.useImperativeHandle(e,t,n)};J.useInsertionEffect=function(e,t){return Ve.current.useInsertionEffect(e,t)};J.useLayoutEffect=function(e,t){return Ve.current.useLayoutEffect(e,t)};J.useMemo=function(e,t){return Ve.current.useMemo(e,t)};J.useReducer=function(e,t,n){return Ve.current.useReducer(e,t,n)};J.useRef=function(e){return Ve.current.useRef(e)};J.useState=function(e){return Ve.current.useState(e)};J.useSyncExternalStore=function(e,t,n){return Ve.current.useSyncExternalStore(e,t,n)};J.useTransition=function(){return Ve.current.useTransition()};J.version="18.3.1";Ph.exports=J;var h=Ph.exports;const L=jh(h),Zu=ob({__proto__:null,default:L},[h]);/**
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 xb=h,bb=Symbol.for("react.element"),kb=Symbol.for("react.fragment"),Sb=Object.prototype.hasOwnProperty,Cb=xb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Eb={key:!0,ref:!0,__self:!0,__source:!0};function Ih(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)Sb.call(t,r)&&!Eb.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:bb,type:e,key:i,ref:a,props:o,_owner:Cb.current}}Vs.Fragment=kb;Vs.jsx=Ih;Vs.jsxs=Ih;Nh.exports=Vs;var u=Nh.exports,_h={exports:{}},lt={},$h={exports:{}},Fh={};/**
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(N,j){var z=N.length;N.push(j);e:for(;0<z;){var F=z-1>>>1,$=N[F];if(0<o($,j))N[F]=j,N[z]=$,z=F;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var j=N[0],z=N.pop();if(z!==j){N[0]=z;e:for(var F=0,$=N.length,H=$>>>1;F<H;){var K=2*(F+1)-1,ie=N[K],we=K+1,Z=N[we];if(0>o(ie,z))we<$&&0>o(Z,ie)?(N[F]=Z,N[we]=z,F=we):(N[F]=ie,N[K]=z,F=K);else if(we<$&&0>o(Z,z))N[F]=Z,N[we]=z,F=we;else break e}}return j}function o(N,j){var z=N.sortIndex-j.sortIndex;return z!==0?z:N.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],d=1,p=null,m=3,f=!1,w=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(N){for(var j=n(c);j!==null;){if(j.callback===null)r(c);else if(j.startTime<=N)r(c),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(c)}}function k(N){if(g=!1,x(N),!w)if(n(l)!==null)w=!0,_(S);else{var j=n(c);j!==null&&W(k,j.startTime-N)}}function S(N,j){w=!1,g&&(g=!1,v(P),P=-1),f=!0;var z=m;try{for(x(j),p=n(l);p!==null&&(!(p.expirationTime>j)||N&&!U());){var F=p.callback;if(typeof F=="function"){p.callback=null,m=p.priorityLevel;var $=F(p.expirationTime<=j);j=e.unstable_now(),typeof $=="function"?p.callback=$:p===n(l)&&r(l),x(j)}else r(l);p=n(l)}if(p!==null)var H=!0;else{var K=n(c);K!==null&&W(k,K.startTime-j),H=!1}return H}finally{p=null,m=z,f=!1}}var E=!1,C=null,P=-1,M=5,R=-1;function U(){return!(e.unstable_now()-R<M)}function O(){if(C!==null){var N=e.unstable_now();R=N;var j=!0;try{j=C(!0,N)}finally{j?I():(E=!1,C=null)}}else E=!1}var I;if(typeof y=="function")I=function(){y(O)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,q=A.port2;A.port1.onmessage=O,I=function(){q.postMessage(null)}}else I=function(){b(O,0)};function _(N){C=N,E||(E=!0,I())}function W(N,j){P=b(function(){N(e.unstable_now())},j)}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(N){N.callback=null},e.unstable_continueExecution=function(){w||f||(w=!0,_(S))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(N){switch(m){case 1:case 2:case 3:var j=3;break;default:j=m}var z=m;m=j;try{return N()}finally{m=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,j){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var z=m;m=N;try{return j()}finally{m=z}},e.unstable_scheduleCallback=function(N,j,z){var F=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?F+z:F):z=F,N){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=z+$,N={id:d++,callback:j,priorityLevel:N,startTime:z,expirationTime:$,sortIndex:-1},z>F?(N.sortIndex=z,t(c,N),n(l)===null&&N===n(c)&&(g?(v(P),P=-1):g=!0,W(k,z-F))):(N.sortIndex=$,t(l,N),w||f||(w=!0,_(S))),N},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(N){var j=m;return function(){var z=m;m=j;try{return N.apply(this,arguments)}finally{m=z}}}})(Fh);$h.exports=Fh;var jb=$h.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 Nb=h,at=jb;function D(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 Bh=new Set,bi={};function Tr(e,t){Eo(e,t),Eo(e+"Capture",t)}function Eo(e,t){for(bi[e]=t,e=0;e<t.length;e++)Bh.add(t[e])}var fn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rc=Object.prototype.hasOwnProperty,Pb=/^[: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]*$/,qp={},Up={};function Tb(e){return Rc.call(Up,e)?!0:Rc.call(qp,e)?!1:Pb.test(e)?Up[e]=!0:(qp[e]=!0,!1)}function Ab(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 Rb(e,t,n,r){if(t===null||typeof t>"u"||Ab(e,t,n,r))return!0;
vendor: 5,200 bytes, lines 33-34
33if(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 He(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Me[e]=new He(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Me[t]=new He(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Me[e]=new He(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Me[e]=new He(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){Me[e]=new He(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Me[e]=new He(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Me[e]=new He(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Me[e]=new He(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Me[e]=new He(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ju=/[\-:]([a-z])/g;function ed(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(Ju,ed);Me[t]=new He(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(Ju,ed);Me[t]=new He(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(Ju,ed);Me[t]=new He(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Me[e]=new He(e,1,!1,e.toLowerCase(),null,!1,!1)});Me.xlinkHref=new He("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Me[e]=new He(e,1,!1,e.toLowerCase(),null,!0,!0)});function td(e,t,n,r){var o=Me.hasOwnProperty(t)?Me[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Rb(t,n,o,r)&&(n=null),r||o===null?Tb(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 wn=Nb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,pa=Symbol.for("react.element"),Yr=Symbol.for("react.portal"),Kr=Symbol.for("react.fragment"),nd=Symbol.for("react.strict_mode"),Mc=Symbol.for("react.profiler"),Wh=Symbol.for("react.provider"),qh=Symbol.for("react.context"),rd=Symbol.for("react.forward_ref"),Oc=Symbol.for("react.suspense"),Lc=Symbol.for("react.suspense_list"),od=Symbol.for("react.memo"),Rn=Symbol.for("react.lazy"),Uh=Symbol.for("react.offscreen"),Vp=Symbol.iterator;function Vo(e){return e===null||typeof e!="object"?null:(e=Vp&&e[Vp]||e["@@iterator"],typeof e=="function"?e:null)}var ge=Object.assign,$l;function ni(e){if($l===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$l=t&&t[1]||""}return`
34`+$l+e}var Fl=!1;function Bl(e,t){if(!e||Fl)return"";Fl=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}
vendor: 17,592 bytes, lines 34-37
34catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
35`),i=r.stack.split(`
36`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
37`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Fl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ni(e):""}function Mb(e){switch(e.tag){case 5:return ni(e.type);case 16:return ni("Lazy");case 13:return ni("Suspense");case 19:return ni("SuspenseList");case 0:case 2:case 15:return e=Bl(e.type,!1),e;case 11:return e=Bl(e.type.render,!1),e;case 1:return e=Bl(e.type,!0),e;default:return""}}function Dc(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 Kr:return"Fragment";case Yr:return"Portal";case Mc:return"Profiler";case nd:return"StrictMode";case Oc:return"Suspense";case Lc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qh:return(e.displayName||"Context")+".Consumer";case Wh:return(e._context.displayName||"Context")+".Provider";case rd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case od:return t=e.displayName||null,t!==null?t:Dc(e.type)||"Memo";case Rn:t=e._payload,e=e._init;try{return Dc(e(t))}catch{}}return null}function Ob(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 Dc(t);case 8:return t===nd?"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 Jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Lb(e){var t=Vh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fa(e){e._valueTracker||(e._valueTracker=Lb(e))}function Hh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Vh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function is(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 zc(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Hp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jn(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 Yh(e,t){t=t.checked,t!=null&&td(e,"checked",t,!1)}function Ic(e,t){Yh(e,t);var n=Jn(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")?_c(e,t.type,n):t.hasOwnProperty("defaultValue")&&_c(e,t.type,Jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Yp(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 _c(e,t,n){(t!=="number"||is(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ri=Array.isArray;function io(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=""+Jn(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 $c(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Kp(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(ri(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Jn(n)}}function Kh(e,t){var n=Jn(t.value),r=Jn(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 Gp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Gh(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 Fc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Gh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ma,Qh=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(ma=ma||document.createElement("div"),ma.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ma.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ki(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var si={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},Db=["Webkit","ms","Moz","O"];Object.keys(si).forEach(function(e){Db.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),si[t]=si[e]})});function Xh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||si.hasOwnProperty(e)&&si[e]?(""+t).trim():t+"px"}function Zh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Xh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var zb=ge({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 Bc(e,t){if(t){if(zb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function Wc(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 qc=null;function id(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Uc=null,ao=null,so=null;function Qp(e){if(e=Zi(e)){if(typeof Uc!="function")throw Error(D(280));var t=e.stateNode;t&&(t=Qs(t),Uc(e.stateNode,e.type,t))}}function Jh(e){ao?so?so.push(e):so=[e]:ao=e}function eg(){if(ao){var e=ao,t=so;if(so=ao=null,Qp(e),t)for(e=0;e<t.length;e++)Qp(t[e])}}function tg(e,t){return e(t)}function ng(){}var Wl=!1;function rg(e,t,n){if(Wl)return e(t,n);Wl=!0;try{return tg(e,t,n)}finally{Wl=!1,(ao!==null||so!==null)&&(ng(),eg())}}function Si(e,t){var n=e.stateNode;if(n===null)return null;var r=Qs(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(D(231,t,typeof n));return n}var Vc=!1;if(fn)try{var Ho={};Object.defineProperty(Ho,"passive",{get:function(){Vc=!0}}),window.addEventListener("test",Ho,Ho),window.removeEventListener("test",Ho,Ho)}catch{Vc=!1}function Ib(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var li=!1,as=null,ss=!1,Hc=null,_b={onError:function(e){li=!0,as=e}};function $b(e,t,n,r,o,i,a,s,l){li=!1,as=null,Ib.apply(_b,arguments)}function Fb(e,t,n,r,o,i,a,s,l){if($b.apply(this,arguments),li){if(li){var c=as;li=!1,as=null}else throw Error(D(198));ss||(ss=!0,Hc=c)}}function Ar(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 og(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 Xp(e){if(Ar(e)!==e)throw Error(D(188))}function Bb(e){var t=e.alternate;if(!t){if(t=Ar(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Xp(o),e;if(i===r)return Xp(o),t;i=i.sibling}throw Error(D(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function ig(e){return e=Bb(e),e!==null?ag(e):null}function ag(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ag(e);if(t!==null)return t;e=e.sibling}return null}var sg=at.unstable_scheduleCallback,Zp=at.unstable_cancelCallback,Wb=at.unstable_shouldYield,qb=at.unstable_requestPaint,ke=at.unstable_now,Ub=at.unstable_getCurrentPriorityLevel,ad=at.unstable_ImmediatePriority,lg=at.unstable_UserBlockingPriority,ls=at.unstable_NormalPriority,Vb=at.unstable_LowPriority,cg=at.unstable_IdlePriority,Hs=null,Gt=null;function Hb(e){if(Gt&&typeof Gt.onCommitFiberRoot=="function")try{Gt.onCommitFiberRoot(Hs,e,void 0,(e.current.flags&128)===128)}catch{}}var Rt=Math.clz32?Math.clz32:Gb,Yb=Math.log,Kb=Math.LN2;function Gb(e){return e>>>=0,e===0?32:31-(Yb(e)/Kb|0)|0}var ha=64,ga=4194304;function oi(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 cs(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=oi(s):(i&=a,i!==0&&(r=oi(i)))}else a=n&~o,a!==0?r=oi(a):i!==0&&(r=oi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Rt(t),o=1<<n,r|=e[n],t&=~o;return r}function Qb(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 Xb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-Rt(i),s=1<<a,l=o[a];l===-1?(!(s&n)||s&r)&&(o[a]=Qb(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function Yc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ug(){var e=ha;return ha<<=1,!(ha&4194240)&&(ha=64),e}function ql(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Qi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Rt(t),e[t]=n}function Zb(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-Rt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function sd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Rt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var re=0;function dg(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var pg,ld,fg,mg,hg,Kc=!1,ya=[],Un=null,Vn=null,Hn=null,Ci=new Map,Ei=new Map,Ln=[],Jb="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 Jp(e,t){switch(e){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":Vn=null;break;case"mouseover":case"mouseout":Hn=null;break;case"pointerover":case"pointerout":Ci.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ei.delete(t.pointerId)}}function Yo(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Zi(t),t!==null&&ld(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function e1(e,t,n,r,o){switch(t){case"focusin":return Un=Yo(Un,e,t,n,r,o),!0;case"dragenter":return Vn=Yo(Vn,e,t,n,r,o),!0;case"mouseover":return Hn=Yo(Hn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Ci.set(i,Yo(Ci.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ei.set(i,Yo(Ei.get(i)||null,e,t,n,r,o)),!0}return!1}function gg(e){var t=ur(e.target);if(t!==null){var n=Ar(t);if(n!==null){if(t=n.tag,t===13){if(t=og(n),t!==null){e.blockedOn=t,hg(e.priority,function(){fg(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 Ba(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);qc=r,n.target.dispatchEvent(r),qc=null}else return t=Zi(n),t!==null&&ld(t),e.blockedOn=n,!1;t.shift()}return!0}function ef(e,t,n){Ba(e)&&n.delete(t)}function t1(){Kc=!1,Un!==null&&Ba(Un)&&(Un=null),Vn!==null&&Ba(Vn)&&(Vn=null),Hn!==null&&Ba(Hn)&&(Hn=null),Ci.forEach(ef),Ei.forEach(ef)}function Ko(e,t){e.blockedOn===t&&(e.blockedOn=null,Kc||(Kc=!0,at.unstable_scheduleCallback(at.unstable_NormalPriority,t1)))}function ji(e){function t(o){return Ko(o,e)}if(0<ya.length){Ko(ya[0],e);for(var n=1;n<ya.length;n++){var r=ya[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Un!==null&&Ko(Un,e),Vn!==null&&Ko(Vn,e),Hn!==null&&Ko(Hn,e),Ci.forEach(t),Ei.forEach(t),n=0;n<Ln.length;n++)r=Ln[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ln.length&&(n=Ln[0],n.blockedOn===null);)gg(n),n.blockedOn===null&&Ln.shift()}var lo=wn.ReactCurrentBatchConfig,us=!0;function n1(e,t,n,r){var o=re,i=lo.transition;lo.transition=null;try{re=1,cd(e,t,n,r)}finally{re=o,lo.transition=i}}function r1(e,t,n,r){var o=re,i=lo.transition;lo.transition=null;try{re=4,cd(e,t,n,r)}finally{re=o,lo.transition=i}}function cd(e,t,n,r){if(us){var o=Gc(e,t,n,r);
vendor: 10,986 bytes, line 37
37if(o===null)Jl(e,t,r,ds,n),Jp(e,r);else if(e1(o,e,t,n,r))r.stopPropagation();else if(Jp(e,r),t&4&&-1<Jb.indexOf(e)){for(;o!==null;){var i=Zi(o);if(i!==null&&pg(i),i=Gc(e,t,n,r),i===null&&Jl(e,t,r,ds,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Jl(e,t,r,null,n)}}var ds=null;function Gc(e,t,n,r){if(ds=null,e=id(r),e=ur(e),e!==null)if(t=Ar(e),t===null)e=null;else if(n=t.tag,n===13){if(e=og(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 ds=e,null}function yg(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(Ub()){case ad:return 1;case lg:return 4;case ls:case Vb:return 16;case cg:return 536870912;default:return 16}default:return 16}}var Bn=null,ud=null,Wa=null;function vg(){if(Wa)return Wa;var e,t=ud,n=t.length,r,o="value"in Bn?Bn.value:Bn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[i-r];r++);return Wa=o.slice(e,1<r?1-r:void 0)}function qa(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 va(){return!0}function tf(){return!1}function ct(e){function t(n,r,o,i,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?va:tf,this.isPropagationStopped=tf,this}return ge(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=va)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=va)},persist:function(){},isPersistent:va}),t}var _o={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dd=ct(_o),Xi=ge({},_o,{view:0,detail:0}),o1=ct(Xi),Ul,Vl,Go,Ys=ge({},Xi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:pd,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!==Go&&(Go&&e.type==="mousemove"?(Ul=e.screenX-Go.screenX,Vl=e.screenY-Go.screenY):Vl=Ul=0,Go=e),Ul)},movementY:function(e){return"movementY"in e?e.movementY:Vl}}),nf=ct(Ys),i1=ge({},Ys,{dataTransfer:0}),a1=ct(i1),s1=ge({},Xi,{relatedTarget:0}),Hl=ct(s1),l1=ge({},_o,{animationName:0,elapsedTime:0,pseudoElement:0}),c1=ct(l1),u1=ge({},_o,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),d1=ct(u1),p1=ge({},_o,{data:0}),rf=ct(p1),f1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},m1={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"},h1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function g1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=h1[e])?!!t[e]:!1}function pd(){return g1}var y1=ge({},Xi,{key:function(e){if(e.key){var t=f1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?m1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:pd,charCode:function(e){return e.type==="keypress"?qa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),v1=ct(y1),w1=ge({},Ys,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),of=ct(w1),x1=ge({},Xi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:pd}),b1=ct(x1),k1=ge({},_o,{propertyName:0,elapsedTime:0,pseudoElement:0}),S1=ct(k1),C1=ge({},Ys,{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}),E1=ct(C1),j1=[9,13,27,32],fd=fn&&"CompositionEvent"in window,ci=null;fn&&"documentMode"in document&&(ci=document.documentMode);var N1=fn&&"TextEvent"in window&&!ci,wg=fn&&(!fd||ci&&8<ci&&11>=ci),af=" ",sf=!1;function xg(e,t){switch(e){case"keyup":return j1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gr=!1;function P1(e,t){switch(e){case"compositionend":return bg(t);case"keypress":return t.which!==32?null:(sf=!0,af);case"textInput":return e=t.data,e===af&&sf?null:e;default:return null}}function T1(e,t){if(Gr)return e==="compositionend"||!fd&&xg(e,t)?(e=vg(),Wa=ud=Bn=null,Gr=!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 wg&&t.locale!=="ko"?null:t.data;default:return null}}var A1={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 lf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!A1[e.type]:t==="textarea"}function kg(e,t,n,r){Jh(r),t=ps(t,"onChange"),0<t.length&&(n=new dd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ui=null,Ni=null;function R1(e){Og(e,0)}function Ks(e){var t=Zr(e);if(Hh(t))return e}function M1(e,t){if(e==="change")return t}var Sg=!1;if(fn){var Yl;if(fn){var Kl="oninput"in document;if(!Kl){var cf=document.createElement("div");cf.setAttribute("oninput","return;"),Kl=typeof cf.oninput=="function"}Yl=Kl}else Yl=!1;Sg=Yl&&(!document.documentMode||9<document.documentMode)}function uf(){ui&&(ui.detachEvent("onpropertychange",Cg),Ni=ui=null)}function Cg(e){if(e.propertyName==="value"&&Ks(Ni)){var t=[];kg(t,Ni,e,id(e)),rg(R1,t)}}function O1(e,t,n){e==="focusin"?(uf(),ui=t,Ni=n,ui.attachEvent("onpropertychange",Cg)):e==="focusout"&&uf()}function L1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ks(Ni)}function D1(e,t){if(e==="click")return Ks(t)}function z1(e,t){if(e==="input"||e==="change")return Ks(t)}function I1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ot=typeof Object.is=="function"?Object.is:I1;function Pi(e,t){if(Ot(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Rc.call(t,o)||!Ot(e[o],t[o]))return!1}return!0}function df(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pf(e,t){var n=df(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=df(n)}}function Eg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Eg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jg(){for(var e=window,t=is();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=is(e.document)}return t}function md(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 _1(e){var t=jg(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Eg(n.ownerDocument.documentElement,n)){if(r!==null&&md(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=pf(n,i);var a=pf(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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 $1=fn&&"documentMode"in document&&11>=document.documentMode,Qr=null,Qc=null,di=null,Xc=!1;function ff(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Xc||Qr==null||Qr!==is(r)||(r=Qr,"selectionStart"in r&&md(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),di&&Pi(di,r)||(di=r,r=ps(Qc,"onSelect"),0<r.length&&(t=new dd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Qr)))}function wa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Xr={animationend:wa("Animation","AnimationEnd"),animationiteration:wa("Animation","AnimationIteration"),animationstart:wa("Animation","AnimationStart"),transitionend:wa("Transition","TransitionEnd")},Gl={},Ng={};fn&&(Ng=document.createElement("div").style,"AnimationEvent"in window||(delete Xr.animationend.animation,delete Xr.animationiteration.animation,delete Xr.animationstart.animation),"TransitionEvent"in window||delete Xr.transitionend.transition);function Gs(e){if(Gl[e])return Gl[e];if(!Xr[e])return e;var t=Xr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ng)return Gl[e]=t[n];return e}var Pg=Gs("animationend"),Tg=Gs("animationiteration"),Ag=Gs("animationstart"),Rg=Gs("transitionend"),Mg=new Map,mf="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rr(e,t){Mg.set(e,t),Tr(t,[e])}for(var Ql=0;Ql<mf.length;Ql++){var Xl=mf[Ql],F1=Xl.toLowerCase(),B1=Xl[0].toUpperCase()+Xl.slice(1);rr(F1,"on"+B1)}rr(Pg,"onAnimationEnd");rr(Tg,"onAnimationIteration");rr(Ag,"onAnimationStart");rr("dblclick","onDoubleClick");rr("focusin","onFocus");rr("focusout","onBlur");rr(Rg,"onTransitionEnd");Eo("onMouseEnter",["mouseout","mouseover"]);Eo("onMouseLeave",["mouseout","mouseover"]);Eo("onPointerEnter",["pointerout","pointerover"]);Eo("onPointerLeave",["pointerout","pointerover"]);Tr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Tr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Tr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Tr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Tr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Tr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ii="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(" "),W1=new Set("cancel close invalid load scroll toggle".split(" ").concat(ii));function hf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Fb(r,t,void 0,e),e.currentTarget=null}function Og(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;hf(o,s,c),i=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;hf(o,s,c),i=l}}}if(ss)throw e=Hc,ss=!1,Hc=null,e}function le(e,t){var n=t[nu];n===void 0&&(n=t[nu]=new Set);var r=e+"__bubble";n.has(r)||(Lg(t,e,2,!1),n.add(r))}function Zl(e,t,n){var r=0;t&&(r|=4),Lg(n,e,r,t)}var xa="_reactListening"+Math.random().toString(36).slice(2);function Ti(e){if(!e[xa]){e[xa]=!0,Bh.forEach(function(n){n!=="selectionchange"&&(W1.has(n)||Zl(n,!1,e),Zl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xa]||(t[xa]=!0,Zl("selectionchange",!1,t))}}function Lg(e,t,n,r){switch(yg(t)){case 1:var o=n1;break;case 4:o=r1;break;default:o=cd}n=o.bind(null,t,n,e),o=void 0,!Vc||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 Jl(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;
vendor: 2,527 bytes, line 37
37if(s===o||s.nodeType===8&&s.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;a=a.return}for(;s!==null;){if(a=ur(s),a===null)return;if(l=a.tag,l===5||l===6){r=i=a;continue e}s=s.parentNode}}r=r.return}rg(function(){var c=i,d=id(n),p=[];e:{var m=Mg.get(e);if(m!==void 0){var f=dd,w=e;switch(e){case"keypress":if(qa(n)===0)break e;case"keydown":case"keyup":f=v1;break;case"focusin":w="focus",f=Hl;break;case"focusout":w="blur",f=Hl;break;case"beforeblur":case"afterblur":f=Hl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=nf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=a1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=b1;break;case Pg:case Tg:case Ag:f=c1;break;case Rg:f=S1;break;case"scroll":f=o1;break;case"wheel":f=E1;break;case"copy":case"cut":case"paste":f=d1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=of}var g=(t&4)!==0,b=!g&&e==="scroll",v=g?m!==null?m+"Capture":null:m;g=[];for(var y=c,x;y!==null;){x=y;var k=x.stateNode;if(x.tag===5&&k!==null&&(x=k,v!==null&&(k=Si(y,v),k!=null&&g.push(Ai(y,k,x)))),b)break;y=y.return}0<g.length&&(m=new f(m,w,null,n,d),p.push({event:m,listeners:g}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",m&&n!==qc&&(w=n.relatedTarget||n.fromElement)&&(ur(w)||w[mn]))break e;if((f||m)&&(m=d.window===d?d:(m=d.ownerDocument)?m.defaultView||m.parentWindow:window,f?(w=n.relatedTarget||n.toElement,f=c,w=w?ur(w):null,w!==null&&(b=Ar(w),w!==b||w.tag!==5&&w.tag!==6)&&(w=null)):(f=null,w=c),f!==w)){if(g=nf,k="onMouseLeave",v="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(g=of,k="onPointerLeave",v="onPointerEnter",y="pointer"),b=f==null?m:Zr(f),x=w==null?m:Zr(w),m=new g(k,y+"leave",f,n,d),m.target=b,m.relatedTarget=x,k=null,ur(d)===c&&(g=new g(v,y+"enter",w,n,d),g.target=x,g.relatedTarget=b,k=g),b=k,f&&w)t:{for(g=f,v=w,y=0,x=g;x;x=Fr(x))y++;for(x=0,k=v;k;k=Fr(k))x++;for(;0<y-x;)g=Fr(g),y--;for(;0<x-y;)v=Fr(v),x--;for(;y--;){if(g===v||v!==null&&g===v.alternate)break t;g=Fr(g),v=Fr(v)}g=null}else g=null;f!==null&&gf(p,m,f,g,!1),w!==null&&b!==null&&gf(p,b,w,g,!0)}}
vendor: 5,540 bytes, lines 37-38
37e:{if(m=c?Zr(c):window,f=m.nodeName&&m.nodeName.toLowerCase(),f==="select"||f==="input"&&m.type==="file")var S=M1;else if(lf(m))if(Sg)S=z1;else{S=L1;var E=O1}else(f=m.nodeName)&&f.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(S=D1);if(S&&(S=S(e,c))){kg(p,S,n,d);break e}E&&E(e,m,c),e==="focusout"&&(E=m._wrapperState)&&E.controlled&&m.type==="number"&&_c(m,"number",m.value)}switch(E=c?Zr(c):window,e){case"focusin":(lf(E)||E.contentEditable==="true")&&(Qr=E,Qc=c,di=null);break;case"focusout":di=Qc=Qr=null;break;case"mousedown":Xc=!0;break;case"contextmenu":case"mouseup":case"dragend":Xc=!1,ff(p,n,d);break;case"selectionchange":if($1)break;case"keydown":case"keyup":ff(p,n,d)}var C;if(fd)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Gr?xg(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(wg&&n.locale!=="ko"&&(Gr||P!=="onCompositionStart"?P==="onCompositionEnd"&&Gr&&(C=vg()):(Bn=d,ud="value"in Bn?Bn.value:Bn.textContent,Gr=!0)),E=ps(c,P),0<E.length&&(P=new rf(P,e,null,n,d),p.push({event:P,listeners:E}),C?P.data=C:(C=bg(n),C!==null&&(P.data=C)))),(C=N1?P1(e,n):T1(e,n))&&(c=ps(c,"onBeforeInput"),0<c.length&&(d=new rf("onBeforeInput","beforeinput",null,n,d),p.push({event:d,listeners:c}),d.data=C))}Og(p,t)})}function Ai(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ps(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Si(e,n),i!=null&&r.unshift(Ai(e,i,o)),i=Si(e,t),i!=null&&r.push(Ai(e,i,o))),e=e.return}return r}function Fr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function gf(e,t,n,r,o){for(var i=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&c!==null&&(s=c,o?(l=Si(n,i),l!=null&&a.unshift(Ai(n,l,s))):o||(l=Si(n,i),l!=null&&a.push(Ai(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var q1=/\r\n?/g,U1=/\u0000|\uFFFD/g;function yf(e){return(typeof e=="string"?e:""+e).replace(q1,`
38`).replace(U1,"")}function ba(e,t,n){if(t=yf(t),yf(e)!==t&&n)throw Error(D(425))}function fs(){}var Zc=null,Jc=null;function eu(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 tu=typeof setTimeout=="function"?setTimeout:void 0,V1=typeof clearTimeout=="function"?clearTimeout:void 0,vf=typeof Promise=="function"?Promise:void 0,H1=typeof queueMicrotask=="function"?queueMicrotask:typeof vf<"u"?function(e){return vf.resolve(null).then(e).catch(Y1)}:tu;function Y1(e){setTimeout(function(){throw e})}function ec(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),ji(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ji(t)}function Yn(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 wf(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 $o=Math.random().toString(36).slice(2),Vt="__reactFiber$"+$o,Ri="__reactProps$"+$o,mn="__reactContainer$"+$o,nu="__reactEvents$"+$o,K1="__reactListeners$"+$o,G1="__reactHandles$"+$o;function ur(e){var t=e[Vt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mn]||n[Vt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=wf(e);e!==null;){if(n=e[Vt])return n;e=wf(e)}return t}e=n,n=e.parentNode}return null}function Zi(e){return e=e[Vt]||e[mn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Zr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function Qs(e){return e[Ri]||null}var ru=[],Jr=-1;function or(e){return{current:e}}function ce(e){0>Jr||(e.current=ru[Jr],ru[Jr]=null,Jr--)}function ae(e,t){Jr++,ru[Jr]=e.current,e.current=t}var er={},$e=or(er),Xe=or(!1),br=er;function jo(e,t){var n=e.type.contextTypes;if(!n)return er;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ze(e){return e=e.childContextTypes,e!=null}function ms(){ce(Xe),ce($e)}function xf(e,t,n){if($e.current!==er)throw Error(D(168));ae($e,t),ae(Xe,n)}function Dg(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(D(108,Ob(e)||"Unknown",o));return ge({},n,r)}function hs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||er,br=$e.current,ae($e,e),ae(Xe,Xe.current),!0}function bf(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=Dg(e,t,br),r.__reactInternalMemoizedMergedChildContext=e,ce(Xe),ce($e),ae($e,e)):ce(Xe),ae(Xe,n)}var ln=null,Xs=!1,tc=!1;function zg(e){ln===null?ln=[e]:ln.push(e)}function Q1(e){Xs=!0,zg(e)}function ir(){if(!tc&&ln!==null){tc=!0;var e=0,t=re;try{var n=ln;for(re=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ln=null,Xs=!1}catch(o){throw ln!==null&&(ln=ln.slice(e+1)),sg(ad,ir),o}
vendor: 27,669 bytes, lines 38-40
38finally{re=t,tc=!1}}return null}var eo=[],to=0,gs=null,ys=0,pt=[],ft=0,kr=null,un=1,dn="";function lr(e,t){eo[to++]=ys,eo[to++]=gs,gs=e,ys=t}function Ig(e,t,n){pt[ft++]=un,pt[ft++]=dn,pt[ft++]=kr,kr=e;var r=un;e=dn;var o=32-Rt(r)-1;r&=~(1<<o),n+=1;var i=32-Rt(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,un=1<<32-Rt(t)+o|n<<o|r,dn=i+e}else un=1<<i|n<<o|r,dn=e}function hd(e){e.return!==null&&(lr(e,1),Ig(e,1,0))}function gd(e){for(;e===gs;)gs=eo[--to],eo[to]=null,ys=eo[--to],eo[to]=null;for(;e===kr;)kr=pt[--ft],pt[ft]=null,dn=pt[--ft],pt[ft]=null,un=pt[--ft],pt[ft]=null}var ot=null,rt=null,pe=!1,At=null;function _g(e,t){var n=mt(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 kf(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ot=e,rt=Yn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ot=e,rt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=kr!==null?{id:un,overflow:dn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=mt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ot=e,rt=null,!0):!1;default:return!1}}function ou(e){return(e.mode&1)!==0&&(e.flags&128)===0}function iu(e){if(pe){var t=rt;if(t){var n=t;if(!kf(e,t)){if(ou(e))throw Error(D(418));t=Yn(n.nextSibling);var r=ot;t&&kf(e,t)?_g(r,n):(e.flags=e.flags&-4097|2,pe=!1,ot=e)}}else{if(ou(e))throw Error(D(418));e.flags=e.flags&-4097|2,pe=!1,ot=e}}}function Sf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ot=e}function ka(e){if(e!==ot)return!1;if(!pe)return Sf(e),pe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!eu(e.type,e.memoizedProps)),t&&(t=rt)){if(ou(e))throw $g(),Error(D(418));for(;t;)_g(e,t),t=Yn(t.nextSibling)}if(Sf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){rt=Yn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}rt=null}}else rt=ot?Yn(e.stateNode.nextSibling):null;return!0}function $g(){for(var e=rt;e;)e=Yn(e.nextSibling)}function No(){rt=ot=null,pe=!1}function yd(e){At===null?At=[e]:At.push(e)}var X1=wn.ReactCurrentBatchConfig;function Qo(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(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var s=o.refs;a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function Sa(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Cf(e){var t=e._init;return t(e._payload)}function Fg(e){function t(v,y){if(e){var x=v.deletions;x===null?(v.deletions=[y],v.flags|=16):x.push(y)}}function n(v,y){if(!e)return null;for(;y!==null;)t(v,y),y=y.sibling;return null}function r(v,y){for(v=new Map;y!==null;)y.key!==null?v.set(y.key,y):v.set(y.index,y),y=y.sibling;return v}function o(v,y){return v=Xn(v,y),v.index=0,v.sibling=null,v}function i(v,y,x){return v.index=x,e?(x=v.alternate,x!==null?(x=x.index,x<y?(v.flags|=2,y):x):(v.flags|=2,y)):(v.flags|=1048576,y)}function a(v){return e&&v.alternate===null&&(v.flags|=2),v}function s(v,y,x,k){return y===null||y.tag!==6?(y=lc(x,v.mode,k),y.return=v,y):(y=o(y,x),y.return=v,y)}function l(v,y,x,k){var S=x.type;return S===Kr?d(v,y,x.props.children,k,x.key):y!==null&&(y.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Rn&&Cf(S)===y.type)?(k=o(y,x.props),k.ref=Qo(v,y,x),k.return=v,k):(k=Qa(x.type,x.key,x.props,null,v.mode,k),k.ref=Qo(v,y,x),k.return=v,k)}function c(v,y,x,k){return y===null||y.tag!==4||y.stateNode.containerInfo!==x.containerInfo||y.stateNode.implementation!==x.implementation?(y=cc(x,v.mode,k),y.return=v,y):(y=o(y,x.children||[]),y.return=v,y)}function d(v,y,x,k,S){return y===null||y.tag!==7?(y=xr(x,v.mode,k,S),y.return=v,y):(y=o(y,x),y.return=v,y)}function p(v,y,x){if(typeof y=="string"&&y!==""||typeof y=="number")return y=lc(""+y,v.mode,x),y.return=v,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case pa:return x=Qa(y.type,y.key,y.props,null,v.mode,x),x.ref=Qo(v,null,y),x.return=v,x;case Yr:return y=cc(y,v.mode,x),y.return=v,y;case Rn:var k=y._init;return p(v,k(y._payload),x)}if(ri(y)||Vo(y))return y=xr(y,v.mode,x,null),y.return=v,y;Sa(v,y)}return null}function m(v,y,x,k){var S=y!==null?y.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return S!==null?null:s(v,y,""+x,k);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case pa:return x.key===S?l(v,y,x,k):null;case Yr:return x.key===S?c(v,y,x,k):null;case Rn:return S=x._init,m(v,y,S(x._payload),k)}if(ri(x)||Vo(x))return S!==null?null:d(v,y,x,k,null);Sa(v,x)}return null}function f(v,y,x,k,S){if(typeof k=="string"&&k!==""||typeof k=="number")return v=v.get(x)||null,s(y,v,""+k,S);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case pa:return v=v.get(k.key===null?x:k.key)||null,l(y,v,k,S);case Yr:return v=v.get(k.key===null?x:k.key)||null,c(y,v,k,S);case Rn:var E=k._init;return f(v,y,x,E(k._payload),S)}if(ri(k)||Vo(k))return v=v.get(x)||null,d(y,v,k,S,null);Sa(y,k)}return null}function w(v,y,x,k){for(var S=null,E=null,C=y,P=y=0,M=null;C!==null&&P<x.length;P++){C.index>P?(M=C,C=null):M=C.sibling;var R=m(v,C,x[P],k);if(R===null){C===null&&(C=M);break}e&&C&&R.alternate===null&&t(v,C),y=i(R,y,P),E===null?S=R:E.sibling=R,E=R,C=M}if(P===x.length)return n(v,C),pe&&lr(v,P),S;if(C===null){for(;P<x.length;P++)C=p(v,x[P],k),C!==null&&(y=i(C,y,P),E===null?S=C:E.sibling=C,E=C);return pe&&lr(v,P),S}for(C=r(v,C);P<x.length;P++)M=f(C,v,P,x[P],k),M!==null&&(e&&M.alternate!==null&&C.delete(M.key===null?P:M.key),y=i(M,y,P),E===null?S=M:E.sibling=M,E=M);return e&&C.forEach(function(U){return t(v,U)}),pe&&lr(v,P),S}function g(v,y,x,k){var S=Vo(x);if(typeof S!="function")throw Error(D(150));if(x=S.call(x),x==null)throw Error(D(151));for(var E=S=null,C=y,P=y=0,M=null,R=x.next();C!==null&&!R.done;P++,R=x.next()){C.index>P?(M=C,C=null):M=C.sibling;var U=m(v,C,R.value,k);if(U===null){C===null&&(C=M);break}e&&C&&U.alternate===null&&t(v,C),y=i(U,y,P),E===null?S=U:E.sibling=U,E=U,C=M}if(R.done)return n(v,C),pe&&lr(v,P),S;if(C===null){for(;!R.done;P++,R=x.next())R=p(v,R.value,k),R!==null&&(y=i(R,y,P),E===null?S=R:E.sibling=R,E=R);return pe&&lr(v,P),S}for(C=r(v,C);!R.done;P++,R=x.next())R=f(C,v,P,R.value,k),R!==null&&(e&&R.alternate!==null&&C.delete(R.key===null?P:R.key),y=i(R,y,P),E===null?S=R:E.sibling=R,E=R);return e&&C.forEach(function(O){return t(v,O)}),pe&&lr(v,P),S}function b(v,y,x,k){if(typeof x=="object"&&x!==null&&x.type===Kr&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case pa:e:{for(var S=x.key,E=y;E!==null;){if(E.key===S){if(S=x.type,S===Kr){if(E.tag===7){n(v,E.sibling),y=o(E,x.props.children),y.return=v,v=y;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Rn&&Cf(S)===E.type){n(v,E.sibling),y=o(E,x.props),y.ref=Qo(v,E,x),y.return=v,v=y;break e}n(v,E);break}else t(v,E);E=E.sibling}x.type===Kr?(y=xr(x.props.children,v.mode,k,x.key),y.return=v,v=y):(k=Qa(x.type,x.key,x.props,null,v.mode,k),k.ref=Qo(v,y,x),k.return=v,v=k)}return a(v);case Yr:e:{for(E=x.key;y!==null;){if(y.key===E)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){n(v,y.sibling),y=o(y,x.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else t(v,y);y=y.sibling}y=cc(x,v.mode,k),y.return=v,v=y}return a(v);case Rn:return E=x._init,b(v,y,E(x._payload),k)}if(ri(x))return w(v,y,x,k);if(Vo(x))return g(v,y,x,k);Sa(v,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,y!==null&&y.tag===6?(n(v,y.sibling),y=o(y,x),y.return=v,v=y):(n(v,y),y=lc(x,v.mode,k),y.return=v,v=y),a(v)):n(v,y)}return b}var Po=Fg(!0),Bg=Fg(!1),vs=or(null),ws=null,no=null,vd=null;function wd(){vd=no=ws=null}function xd(e){var t=vs.current;ce(vs),e._currentValue=t}function au(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 co(e,t){ws=e,vd=no=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Qe=!0),e.firstContext=null)}function vt(e){var t=e._currentValue;if(vd!==e)if(e={context:e,memoizedValue:t,next:null},no===null){if(ws===null)throw Error(D(308));no=e,ws.dependencies={lanes:0,firstContext:e}}else no=no.next=e;return t}var dr=null;function bd(e){dr===null?dr=[e]:dr.push(e)}function Wg(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,bd(t)):(n.next=o.next,o.next=n),t.interleaved=n,hn(e,r)}function hn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Mn=!1;function kd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qg(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 pn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Kn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ee&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,hn(e,n)}return o=r.interleaved,o===null?(t.next=t,bd(r)):(t.next=o.next,o.next=t),r.interleaved=t,hn(e,n)}function Ua(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,sd(e,n)}}function Ef(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function xs(e,t,n,r){var o=e.updateQueue;Mn=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?i=c:a.next=c,a=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==a&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(i!==null){var p=o.baseState;a=0,d=c=l=null,s=i;do{var m=s.lane,f=s.eventTime;if((r&m)===m){d!==null&&(d=d.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,g=s;switch(m=t,f=n,g.tag){case 1:if(w=g.payload,typeof w=="function"){p=w.call(f,p,m);break e}p=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=g.payload,m=typeof w=="function"?w.call(f,p,m):w,m==null)break e;p=ge({},p,m);break e;case 2:Mn=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[s]:m.push(s))}else f={eventTime:f,lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=f,l=p):d=d.next=f,a|=m;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;m=s,s=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(d===null&&(l=p),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Cr|=a,e.lanes=a,e.memoizedState=p}}function jf(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(D(191,o));o.call(r)}}}var Ji={},Qt=or(Ji),Mi=or(Ji),Oi=or(Ji);function pr(e){if(e===Ji)throw Error(D(174));return e}function Sd(e,t){switch(ae(Oi,t),ae(Mi,e),ae(Qt,Ji),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Fc(t,e)}ce(Qt),ae(Qt,t)}function To(){ce(Qt),ce(Mi),ce(Oi)}function Ug(e){pr(Oi.current);var t=pr(Qt.current),n=Fc(t,e.type);t!==n&&(ae(Mi,e),ae(Qt,n))}function Cd(e){Mi.current===e&&(ce(Qt),ce(Mi))}var me=or(0);function bs(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 nc=[];function Ed(){for(var e=0;e<nc.length;e++)nc[e]._workInProgressVersionPrimary=null;nc.length=0}var Va=wn.ReactCurrentDispatcher,rc=wn.ReactCurrentBatchConfig,Sr=0,he=null,Ce=null,Ne=null,ks=!1,pi=!1,Li=0,Z1=0;function De(){throw Error(D(321))}function jd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ot(e[n],t[n]))return!1;return!0}function Nd(e,t,n,r,o,i){if(Sr=i,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Va.current=e===null||e.memoizedState===null?nk:rk,e=n(r,o),pi){i=0;do{if(pi=!1,Li=0,25<=i)throw Error(D(301));i+=1,Ne=Ce=null,t.updateQueue=null,Va.current=ok,e=n(r,o)}while(pi)}if(Va.current=Ss,t=Ce!==null&&Ce.next!==null,Sr=0,Ne=Ce=he=null,ks=!1,t)throw Error(D(300));return e}function Pd(){var e=Li!==0;return Li=0,e}function Bt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ne===null?he.memoizedState=Ne=e:Ne=Ne.next=e,Ne}function wt(){if(Ce===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Ne===null?he.memoizedState:Ne.next;if(t!==null)Ne=t,Ce=e;else{if(e===null)throw Error(D(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Ne===null?he.memoizedState=Ne=e:Ne=Ne.next=e}return Ne}function Di(e,t){return typeof t=="function"?t(e):t}function oc(e){var t=wt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=Ce,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var s=a=null,l=null,c=i;do{var d=c.lane;if((Sr&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=p,a=r):l=l.next=p,he.lanes|=d,Cr|=d}c=c.next}while(c!==null&&c!==i);l===null?a=r:l.next=s,Ot(r,t.memoizedState)||(Qe=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,he.lanes|=i,Cr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ic(e){var t=wt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);Ot(i,t.memoizedState)||(Qe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Vg(){}function Hg(e,t){var n=he,r=wt(),o=t(),i=!Ot(r.memoizedState,o);if(i&&(r.memoizedState=o,Qe=!0),r=r.queue,Td(Gg.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Ne!==null&&Ne.memoizedState.tag&1){if(n.flags|=2048,zi(9,Kg.bind(null,n,r,o,t),void 0,null),Te===null)throw Error(D(349));Sr&30||Yg(n,t,o)}return o}function Yg(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 Kg(e,t,n,r){t.value=n,t.getSnapshot=r,Qg(t)&&Xg(e)}function Gg(e,t,n){return n(function(){Qg(t)&&Xg(e)})}function Qg(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ot(e,n)}catch{return!0}}function Xg(e){var t=hn(e,1);t!==null&&Mt(t,e,1,-1)}function Nf(e){var t=Bt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Di,lastRenderedState:e},t.queue=e,e=e.dispatch=tk.bind(null,he,e),[t.memoizedState,e]}function zi(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 Zg(){return wt().memoizedState}function Ha(e,t,n,r){var o=Bt();he.flags|=e,o.memoizedState=zi(1|t,n,void 0,r===void 0?null:r)}function Zs(e,t,n,r){var o=wt();r=r===void 0?null:r;var i=void 0;if(Ce!==null){var a=Ce.memoizedState;if(i=a.destroy,r!==null&&jd(r,a.deps)){o.memoizedState=zi(t,n,i,r);return}}he.flags|=e,o.memoizedState=zi(1|t,n,i,r)}function Pf(e,t){return Ha(8390656,8,e,t)}function Td(e,t){return Zs(2048,8,e,t)}function Jg(e,t){return Zs(4,2,e,t)}function ey(e,t){return Zs(4,4,e,t)}function ty(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 ny(e,t,n){return n=n!=null?n.concat([e]):null,Zs(4,4,ty.bind(null,t,e),n)}function Ad(){}function ry(e,t){var n=wt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&jd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oy(e,t){var n=wt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&jd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function iy(e,t,n){return Sr&21?(Ot(n,t)||(n=ug(),he.lanes|=n,Cr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Qe=!0),e.memoizedState=n)}function J1(e,t){var n=re;re=n!==0&&4>n?n:4,e(!0);var r=rc.transition;rc.transition={};try{e(!1),t()}finally{re=n,rc.transition=r}}function ay(){return wt().memoizedState}function ek(e,t,n){var r=Qn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},sy(e))ly(t,n);else if(n=Wg(e,t,n,r),n!==null){var o=qe();Mt(n,e,r,o),cy(n,t,r)}}function tk(e,t,n){var r=Qn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(sy(e))ly(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Ot(s,a)){var l=t.interleaved;l===null?(o.next=o,bd(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Wg(e,t,o,r),n!==null&&(o=qe(),Mt(n,e,r,o),cy(n,t,r))}}function sy(e){var t=e.alternate;return e===he||t!==null&&t===he}function ly(e,t){pi=ks=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cy(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,sd(e,n)}}var Ss={readContext:vt,useCallback:De,useContext:De,useEffect:De,useImperativeHandle:De,useInsertionEffect:De,useLayoutEffect:De,useMemo:De,useReducer:De,useRef:De,useState:De,useDebugValue:De,useDeferredValue:De,useTransition:De,useMutableSource:De,useSyncExternalStore:De,useId:De,unstable_isNewReconciler:!1},nk={readContext:vt,useCallback:function(e,t){return Bt().memoizedState=[e,t===void 0?null:t],e},useContext:vt,useEffect:Pf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ha(4194308,4,ty.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ha(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ha(4,2,e,t)},useMemo:function(e,t){var n=Bt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bt();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=ek.bind(null,he,e),[r.memoizedState,e]},useRef:function(e){var t=Bt();return e={current:e},t.memoizedState=e},useState:Nf,useDebugValue:Ad,useDeferredValue:function(e){return Bt().memoizedState=e},useTransition:function(){var e=Nf(!1),t=e[0];return e=J1.bind(null,e[1]),Bt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,o=Bt();if(pe){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),Te===null)throw Error(D(349));Sr&30||Yg(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Pf(Gg.bind(null,r,i,e),[e]),r.flags|=2048,zi(9,Kg.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Bt(),t=Te.identifierPrefix;if(pe){var n=dn,r=un;n=(r&~(1<<32-Rt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Li++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Z1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},rk={readContext:vt,useCallback:ry,useContext:vt,useEffect:Td,useImperativeHandle:ny,useInsertionEffect:Jg,useLayoutEffect:ey,useMemo:oy,useReducer:oc,useRef:Zg,useState:function(){return oc(Di)},useDebugValue:Ad,useDeferredValue:function(e){var t=wt();return iy(t,Ce.memoizedState,e)},useTransition:function(){var e=oc(Di)[0],t=wt().memoizedState;return[e,t]},useMutableSource:Vg,useSyncExternalStore:Hg,useId:ay,unstable_isNewReconciler:!1},ok={readContext:vt,useCallback:ry,useContext:vt,useEffect:Td,useImperativeHandle:ny,useInsertionEffect:Jg,useLayoutEffect:ey,useMemo:oy,useReducer:ic,useRef:Zg,useState:function(){return ic(Di)},useDebugValue:Ad,useDeferredValue:function(e){var t=wt();return Ce===null?t.memoizedState=e:iy(t,Ce.memoizedState,e)},useTransition:function(){var e=ic(Di)[0],t=wt().memoizedState;return[e,t]},useMutableSource:Vg,useSyncExternalStore:Hg,useId:ay,unstable_isNewReconciler:!1};function Et(e,t){if(e&&e.defaultProps){t=ge({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function su(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Js={isMounted:function(e){return(e=e._reactInternals)?Ar(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qe(),o=Qn(e),i=pn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Kn(e,i,o),t!==null&&(Mt(t,e,o,r),Ua(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qe(),o=Qn(e),i=pn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Kn(e,i,o),t!==null&&(Mt(t,e,o,r),Ua(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qe(),r=Qn(e),o=pn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Kn(e,o,r),t!==null&&(Mt(t,e,r,n),Ua(t,e,r))}};function Tf(e,t,n,r,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!Pi(n,r)||!Pi(o,i):!0}function uy(e,t,n){var r=!1,o=er,i=t.contextType;return typeof i=="object"&&i!==null?i=vt(i):(o=Ze(t)?br:$e.current,r=t.contextTypes,i=(r=r!=null)?jo(e,o):er),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Js,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Af(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&&Js.enqueueReplaceState(t,t.state,null)}function lu(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},kd(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=vt(i):(i=Ze(t)?br:$e.current,o.context=jo(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(su(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Js.enqueueReplaceState(o,o.state,null),xs(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Ao(e,t){try{var n="",r=t;do n+=Mb(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function ac(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function cu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ik=typeof WeakMap=="function"?WeakMap:Map;function dy(e,t,n){n=pn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Es||(Es=!0,wu=r),cu(e,t)},n}function py(e,t,n){n=pn(-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(){cu(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){cu(e,t),typeof r!="function"&&(Gn===null?Gn=new Set([this]):Gn.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Rf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ik;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=wk.bind(null,e,t,n),t.then(e,e))}function Mf(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 Of(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=pn(-1,1),t.tag=2,Kn(n,t,1))),n.lanes|=1),e)}var ak=wn.ReactCurrentOwner,Qe=!1;function Be(e,t,n,r){t.child=e===null?Bg(t,null,n,r):Po(t,e.child,n,r)}function Lf(e,t,n,r,o){n=n.render;var i=t.ref;return co(t,o),r=Nd(e,t,n,r,i,o),n=Pd(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,gn(e,t,o)):(pe&&n&&hd(t),t.flags|=1,Be(e,t,r,o),t.child)}function Df(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!_d(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,fy(e,t,i,r,o)):(e=Qa(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:Pi,n(a,r)&&e.ref===t.ref)return gn(e,t,o)}return t.flags|=1,e=Xn(i,r),e.ref=t.ref,e.return=t,t.child=e}function fy(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Pi(i,r)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Qe=!0);else return t.lanes=e.lanes,gn(e,t,o)}return uu(e,t,n,r,o)}function my(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae(oo,tt),tt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae(oo,tt),tt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ae(oo,tt),tt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ae(oo,tt),tt|=r;return Be(e,t,o,n),t.child}function hy(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 9,032 bytes, line 40
40function uu(e,t,n,r,o){var i=Ze(n)?br:$e.current;return i=jo(t,i),co(t,o),n=Nd(e,t,n,r,i,o),r=Pd(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,gn(e,t,o)):(pe&&r&&hd(t),t.flags|=1,Be(e,t,n,o),t.child)}function zf(e,t,n,r,o){if(Ze(n)){var i=!0;hs(t)}else i=!1;if(co(t,o),t.stateNode===null)Ya(e,t),uy(t,n,r),lu(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=vt(c):(c=Ze(n)?br:$e.current,c=jo(t,c));var d=n.getDerivedStateFromProps,p=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==c)&&Af(t,a,r,c),Mn=!1;var m=t.memoizedState;a.state=m,xs(t,r,a,o),l=t.memoizedState,s!==r||m!==l||Xe.current||Mn?(typeof d=="function"&&(su(t,n,d,r),l=t.memoizedState),(s=Mn||Tf(t,n,s,r,m,l,c))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,qg(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Et(t.type,s),a.props=c,p=t.pendingProps,m=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=vt(l):(l=Ze(n)?br:$e.current,l=jo(t,l));var f=n.getDerivedStateFromProps;(d=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==p||m!==l)&&Af(t,a,r,l),Mn=!1,m=t.memoizedState,a.state=m,xs(t,r,a,o);var w=t.memoizedState;s!==p||m!==w||Xe.current||Mn?(typeof f=="function"&&(su(t,n,f,r),w=t.memoizedState),(c=Mn||Tf(t,n,c,r,m,w,l)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,w,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,w,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),a.props=r,a.state=w,a.context=l,r=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return du(e,t,n,r,i,o)}function du(e,t,n,r,o,i){hy(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&bf(t,n,!1),gn(e,t,i);r=t.stateNode,ak.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Po(t,e.child,null,i),t.child=Po(t,null,s,i)):Be(e,t,s,i),t.memoizedState=r.state,o&&bf(t,n,!0),t.child}function gy(e){var t=e.stateNode;t.pendingContext?xf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&xf(e,t.context,!1),Sd(e,t.containerInfo)}function If(e,t,n,r,o){return No(),yd(o),t.flags|=256,Be(e,t,n,r),t.child}var pu={dehydrated:null,treeContext:null,retryLane:0};function fu(e){return{baseLanes:e,cachePool:null,transitions:null}}function yy(e,t,n){var r=t.pendingProps,o=me.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ae(me,o&1),e===null)return iu(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):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=nl(a,r,0,null),e=xr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=fu(n),t.memoizedState=pu,e):Rd(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return sk(e,t,a,r,s,o,n);if(i){i=r.fallback,a=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:r.children};return!(a&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Xn(o,l),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=Xn(s,i):(i=xr(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?fu(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=pu,r}return i=e.child,e=i.sibling,r=Xn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Rd(e,t){return t=nl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ca(e,t,n,r){return r!==null&&yd(r),Po(t,e.child,null,n),e=Rd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function sk(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=ac(Error(D(422))),Ca(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=nl({mode:"visible",children:r.children},o,0,null),i=xr(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Po(t,e.child,null,a),t.child.memoizedState=fu(a),t.memoizedState=pu,i);if(!(t.mode&1))return Ca(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(D(419)),r=ac(i,r,void 0),Ca(e,t,a,r)}if(s=(a&e.childLanes)!==0,Qe||s){if(r=Te,r!==null){switch(a&-a){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|a)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,hn(e,o),Mt(r,e,o,-1))}return Id(),r=ac(Error(D(421))),Ca(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=xk.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,rt=Yn(o.nextSibling),ot=t,pe=!0,At=null,e!==null&&(pt[ft++]=un,pt[ft++]=dn,pt[ft++]=kr,un=e.id,dn=e.overflow,kr=t),t=Rd(t,r.children),t.flags|=4096,t)}function _f(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),au(e.return,t,n)}function sc(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function vy(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Be(e,t,r.children,n),r=me.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&&_f(e,n,t);else if(e.tag===19)_f(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ae(me,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&&bs(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),sc(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&bs(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}sc(t,!0,n,null,i);break;case"together":sc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ya(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function gn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Cr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,n=Xn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function lk(e,t,n){switch(t.tag){case 3:gy(t),No();break;case 5:Ug(t);break;case 1:Ze(t.type)&&hs(t);break;case 4:Sd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ae(vs,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ae(me,me.current&1),t.flags|=128,null):n&t.child.childLanes?yy(e,t,n):(ae(me,me.current&1),e=gn(e,t,n),e!==null?e.sibling:null);ae(me,me.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return vy(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ae(me,me.current),r)break;return null;
vendor: 4,597 bytes, line 40
40case 22:case 23:return t.lanes=0,my(e,t,n)}return gn(e,t,n)}var wy,mu,xy,by;wy=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}};mu=function(){};xy=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,pr(Qt.current);var i=null;switch(n){case"input":o=zc(e,o),r=zc(e,r),i=[];break;case"select":o=ge({},o,{value:void 0}),r=ge({},r,{value:void 0}),i=[];break;case"textarea":o=$c(e,o),r=$c(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=fs)}Bc(n,r);var a;n=null;for(c in o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var s=o[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(bi.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var l=r[c];if(s=o!=null?o[c]:void 0,r.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(i||(i=[]),i.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(bi.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&le("scroll",e),i||s===l||(i=[])):(i=i||[]).push(c,l))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};by=function(e,t,n,r){n!==r&&(t.flags|=4)};function Xo(e,t){if(!pe)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 ze(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 ck(e,t,n){var r=t.pendingProps;switch(gd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ze(t),null;case 1:return Ze(t.type)&&ms(),ze(t),null;case 3:return r=t.stateNode,To(),ce(Xe),ce($e),Ed(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ka(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,At!==null&&(ku(At),At=null))),mu(e,t),ze(t),null;case 5:Cd(t);var o=pr(Oi.current);if(n=t.type,e!==null&&t.stateNode!=null)xy(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return ze(t),null}if(e=pr(Qt.current),ka(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Vt]=t,r[Ri]=i,e=(t.mode&1)!==0,n){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(o=0;o<ii.length;o++)le(ii[o],r);break;case"source":le("error",r);break;case"img":case"image":case"link":le("error",r),le("load",r);break;case"details":le("toggle",r);break;case"input":Hp(r,i),le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},le("invalid",r);break;case"textarea":Kp(r,i),le("invalid",r)}Bc(n,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];a==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&ba(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&ba(r.textContent,s,e),o=["children",""+s]):bi.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&le("scroll",r)}switch(n){case"input":fa(r),Yp(r,i,!0);break;case"textarea":fa(r),Gp(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=fs)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Gh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Vt]=t,e[Ri]=r,wy(e,t,!1,!1),t.stateNode=e;e:{switch(a=Wc(n,r),n){case"dialog":le("cancel",e),le("close",e),o=r;break;case"iframe":case"object":case"embed":le("load",e),o=r;break;case"video":case"audio":for(o=0;o<ii.length;o++)le(ii[o],e);o=r;break;case"source":le("error",e),o=r;break;case"img":case"image":case"link":le("error",e),le("load",e),o=r;break;case"details":le("toggle",e),o=r;break;case"input":Hp(e,r),o=zc(e,r),le("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ge({},r,{value:void 0}),le("invalid",e);break;case"textarea":Kp(e,r),o=$c(e,r),le("invalid",e);break;default:o=r}Bc(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?Zh(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Qh(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ki(e,l):typeof l=="number"&&ki(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(bi.hasOwnProperty(i)?l!=null&&i==="onScroll"&&le("scroll",e):l!=null&&td(e,i,l,a))}switch(n){case"input":fa(e),Yp(e,r,!1);break;case"textarea":fa(e),Gp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Jn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?io(e,!!r.multiple,i,!1):r.defaultValue!=null&&io(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=fs)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ze(t),null;case 6:if(e&&t.stateNode!=null)by(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=pr(Oi.current),pr(Qt.current),ka(t)){if(r=t.stateNode,n=t.memoizedProps,r[Vt]=t,(i=r.nodeValue!==n)&&(e=ot,e!==null))switch(e.tag){case 3:ba(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ba(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Vt]=t,t.stateNode=r}return ze(t),null;case 13:if(ce(me),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(pe&&rt!==null&&t.mode&1&&!(t.flags&128))$g(),No(),t.flags|=98560,i=!1;else if(i=ka(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(D(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(D(317));i[Vt]=t}else No(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ze(t),i=!1}else At!==null&&(ku(At),At=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||me.current&1?Ee===0&&(Ee=3):Id())),t.updateQueue!==null&&(t.flags|=4),ze(t),null);case 4:return To(),mu(e,t),e===null&&Ti(t.stateNode.containerInfo),ze(t),null;case 10:return xd(t.type._context),ze(t),null;case 17:return Ze(t.type)&&ms(),ze(t),null;case 19:if(ce(me),i=t.memoizedState,i===null)return ze(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)Xo(i,!1);else{if(Ee!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=bs(e),a!==null){for(t.flags|=128,Xo(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ae(me,me.current&1|2),t.child}e=e.sibling}i.tail!==null&&ke()>Ro&&(t.flags|=128,r=!0,Xo(i,!1),t.lanes=4194304)}else{if(!r)if(e=bs(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Xo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!pe)return ze(t),null}else 2*ke()-i.renderingStartTime>Ro&&n!==1073741824&&(t.flags|=128,r=!0,Xo(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ke(),t.sibling=null,n=me.current,ae(me,r?n&1|2:n&1),t):(ze(t),null);case 22:case 23:return zd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tt&1073741824&&(ze(t),t.subtreeFlags&6&&(t.flags|=8192)):ze(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function uk(e,t){switch(gd(t),t.tag){case 1:return Ze(t.type)&&ms(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 23,144 bytes, line 40
40case 3:return To(),ce(Xe),ce($e),Ed(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Cd(t),null;case 13:if(ce(me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));No()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ce(me),null;case 4:return To(),null;case 10:return xd(t.type._context),null;case 22:case 23:return zd(),null;case 24:return null;default:return null}}var Ea=!1,_e=!1,dk=typeof WeakSet=="function"?WeakSet:Set,B=null;function ro(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){be(e,t,r)}else n.current=null}function hu(e,t,n){try{n()}catch(r){be(e,t,r)}}var $f=!1;function pk(e,t){if(Zc=us,e=jg(),md(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,d=0,p=e,m=null;t:for(;;){for(var f;p!==n||o!==0&&p.nodeType!==3||(s=a+o),p!==i||r!==0&&p.nodeType!==3||(l=a+r),p.nodeType===3&&(a+=p.nodeValue.length),(f=p.firstChild)!==null;)m=p,p=f;for(;;){if(p===e)break t;if(m===n&&++c===o&&(s=a),m===i&&++d===r&&(l=a),(f=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=f}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Jc={focusedElem:e,selectionRange:n},us=!1,B=t;B!==null;)if(t=B,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,B=e;else for(;B!==null;){t=B;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var g=w.memoizedProps,b=w.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Et(t.type,g),b);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(k){be(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return w=$f,$f=!1,w}function fi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&hu(t,n,i)}o=o.next}while(o!==r)}}function el(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 gu(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 ky(e){var t=e.alternate;t!==null&&(e.alternate=null,ky(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Vt],delete t[Ri],delete t[nu],delete t[K1],delete t[G1])),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 Sy(e){return e.tag===5||e.tag===3||e.tag===4}function Ff(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sy(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 yu(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=fs));else if(r!==4&&(e=e.child,e!==null))for(yu(e,t,n),e=e.sibling;e!==null;)yu(e,t,n),e=e.sibling}function vu(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(vu(e,t,n),e=e.sibling;e!==null;)vu(e,t,n),e=e.sibling}var Ae=null,Tt=!1;function En(e,t,n){for(n=n.child;n!==null;)Cy(e,t,n),n=n.sibling}function Cy(e,t,n){if(Gt&&typeof Gt.onCommitFiberUnmount=="function")try{Gt.onCommitFiberUnmount(Hs,n)}catch{}switch(n.tag){case 5:_e||ro(n,t);case 6:var r=Ae,o=Tt;Ae=null,En(e,t,n),Ae=r,Tt=o,Ae!==null&&(Tt?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(Tt?(e=Ae,n=n.stateNode,e.nodeType===8?ec(e.parentNode,n):e.nodeType===1&&ec(e,n),ji(e)):ec(Ae,n.stateNode));break;case 4:r=Ae,o=Tt,Ae=n.stateNode.containerInfo,Tt=!0,En(e,t,n),Ae=r,Tt=o;break;case 0:case 11:case 14:case 15:if(!_e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&hu(n,t,a),o=o.next}while(o!==r)}En(e,t,n);break;case 1:if(!_e&&(ro(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){be(n,t,s)}En(e,t,n);break;case 21:En(e,t,n);break;case 22:n.mode&1?(_e=(r=_e)||n.memoizedState!==null,En(e,t,n),_e=r):En(e,t,n);break;default:En(e,t,n)}}function Bf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new dk),t.forEach(function(r){var o=bk.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function St(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:Ae=s.stateNode,Tt=!1;break e;case 3:Ae=s.stateNode.containerInfo,Tt=!0;break e;case 4:Ae=s.stateNode.containerInfo,Tt=!0;break e}s=s.return}if(Ae===null)throw Error(D(160));Cy(i,a,o),Ae=null,Tt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){be(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ey(t,e),t=t.sibling}function Ey(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(St(t,e),Ft(e),r&4){try{fi(3,e,e.return),el(3,e)}catch(g){be(e,e.return,g)}try{fi(5,e,e.return)}catch(g){be(e,e.return,g)}}break;case 1:St(t,e),Ft(e),r&512&&n!==null&&ro(n,n.return);break;case 5:if(St(t,e),Ft(e),r&512&&n!==null&&ro(n,n.return),e.flags&32){var o=e.stateNode;try{ki(o,"")}catch(g){be(e,e.return,g)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&Yh(o,i),Wc(s,a);var c=Wc(s,i);for(a=0;a<l.length;a+=2){var d=l[a],p=l[a+1];d==="style"?Zh(o,p):d==="dangerouslySetInnerHTML"?Qh(o,p):d==="children"?ki(o,p):td(o,d,p,c)}switch(s){case"input":Ic(o,i);break;case"textarea":Kh(o,i);break;case"select":var m=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;f!=null?io(o,!!i.multiple,f,!1):m!==!!i.multiple&&(i.defaultValue!=null?io(o,!!i.multiple,i.defaultValue,!0):io(o,!!i.multiple,i.multiple?[]:"",!1))}o[Ri]=i}catch(g){be(e,e.return,g)}}break;case 6:if(St(t,e),Ft(e),r&4){if(e.stateNode===null)throw Error(D(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){be(e,e.return,g)}}break;case 3:if(St(t,e),Ft(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ji(t.containerInfo)}catch(g){be(e,e.return,g)}break;case 4:St(t,e),Ft(e);break;case 13:St(t,e),Ft(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Ld=ke())),r&4&&Bf(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(_e=(c=_e)||d,St(t,e),_e=c):St(t,e),Ft(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(B=e,d=e.child;d!==null;){for(p=B=d;B!==null;){switch(m=B,f=m.child,m.tag){case 0:case 11:case 14:case 15:fi(4,m,m.return);break;case 1:ro(m,m.return);var w=m.stateNode;if(typeof w.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(g){be(r,n,g)}}break;case 5:ro(m,m.return);break;case 22:if(m.memoizedState!==null){qf(p);continue}}f!==null?(f.return=m,B=f):qf(p)}d=d.sibling}e:for(d=null,p=e;;){if(p.tag===5){if(d===null){d=p;try{o=p.stateNode,c?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=p.stateNode,l=p.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=Xh("display",a))}catch(g){be(e,e.return,g)}}}else if(p.tag===6){if(d===null)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(g){be(e,e.return,g)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:St(t,e),Ft(e),r&4&&Bf(e);break;case 21:break;default:St(t,e),Ft(e)}}function Ft(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Sy(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(ki(o,""),r.flags&=-33);var i=Ff(e);vu(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,s=Ff(e);yu(e,s,a);break;default:throw Error(D(161))}}catch(l){be(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function fk(e,t,n){B=e,jy(e)}function jy(e,t,n){for(var r=(e.mode&1)!==0;B!==null;){var o=B,i=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||Ea;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||_e;s=Ea;var c=_e;if(Ea=a,(_e=l)&&!c)for(B=o;B!==null;)a=B,l=a.child,a.tag===22&&a.memoizedState!==null?Uf(o):l!==null?(l.return=a,B=l):Uf(o);for(;i!==null;)B=i,jy(i),i=i.sibling;B=o,Ea=s,_e=c}Wf(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,B=i):Wf(e)}}function Wf(e){for(;B!==null;){var t=B;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:_e||el(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!_e)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Et(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&jf(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}jf(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;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 c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var p=d.dehydrated;p!==null&&ji(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}_e||t.flags&512&&gu(t)}catch(m){be(t,t.return,m)}}if(t===e){B=null;break}if(n=t.sibling,n!==null){n.return=t.return,B=n;break}B=t.return}}function qf(e){for(;B!==null;){var t=B;if(t===e){B=null;break}var n=t.sibling;if(n!==null){n.return=t.return,B=n;break}B=t.return}}function Uf(e){for(;B!==null;){var t=B;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{el(4,t)}catch(l){be(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){be(t,o,l)}}var i=t.return;try{gu(t)}catch(l){be(t,i,l)}break;case 5:var a=t.return;try{gu(t)}catch(l){be(t,a,l)}}}catch(l){be(t,t.return,l)}if(t===e){B=null;break}var s=t.sibling;if(s!==null){s.return=t.return,B=s;break}B=t.return}}var mk=Math.ceil,Cs=wn.ReactCurrentDispatcher,Md=wn.ReactCurrentOwner,ht=wn.ReactCurrentBatchConfig,ee=0,Te=null,Se=null,Re=0,tt=0,oo=or(0),Ee=0,Ii=null,Cr=0,tl=0,Od=0,mi=null,Ge=null,Ld=0,Ro=1/0,sn=null,Es=!1,wu=null,Gn=null,ja=!1,Wn=null,js=0,hi=0,xu=null,Ka=-1,Ga=0;function qe(){return ee&6?ke():Ka!==-1?Ka:Ka=ke()}function Qn(e){return e.mode&1?ee&2&&Re!==0?Re&-Re:X1.transition!==null?(Ga===0&&(Ga=ug()),Ga):(e=re,e!==0||(e=window.event,e=e===void 0?16:yg(e.type)),e):1}function Mt(e,t,n,r){if(50<hi)throw hi=0,xu=null,Error(D(185));Qi(e,n,r),(!(ee&2)||e!==Te)&&(e===Te&&(!(ee&2)&&(tl|=n),Ee===4&&Dn(e,Re)),Je(e,r),n===1&&ee===0&&!(t.mode&1)&&(Ro=ke()+500,Xs&&ir()))}function Je(e,t){var n=e.callbackNode;Xb(e,t);var r=cs(e,e===Te?Re:0);if(r===0)n!==null&&Zp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Zp(n),t===1)e.tag===0?Q1(Vf.bind(null,e)):zg(Vf.bind(null,e)),H1(function(){!(ee&6)&&ir()}),n=null;else{switch(dg(r)){case 1:n=ad;break;case 4:n=lg;break;case 16:n=ls;break;case 536870912:n=cg;break;default:n=ls}n=Ly(n,Ny.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ny(e,t){if(Ka=-1,Ga=0,ee&6)throw Error(D(327));var n=e.callbackNode;if(uo()&&e.callbackNode!==n)return null;var r=cs(e,e===Te?Re:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ns(e,r);else{t=r;var o=ee;ee|=2;var i=Ty();(Te!==e||Re!==t)&&(sn=null,Ro=ke()+500,wr(e,t));do try{yk();break}catch(s){Py(e,s)}while(!0);wd(),Cs.current=i,ee=o,Se!==null?t=0:(Te=null,Re=0,t=Ee)}if(t!==0){if(t===2&&(o=Yc(e),o!==0&&(r=o,t=bu(e,o))),t===1)throw n=Ii,wr(e,0),Dn(e,r),Je(e,ke()),n;if(t===6)Dn(e,r);else{if(o=e.current.alternate,!(r&30)&&!hk(o)&&(t=Ns(e,r),t===2&&(i=Yc(e),i!==0&&(r=i,t=bu(e,i))),t===1))throw n=Ii,wr(e,0),Dn(e,r),Je(e,ke()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:cr(e,Ge,sn);break;case 3:if(Dn(e,r),(r&130023424)===r&&(t=Ld+500-ke(),10<t)){if(cs(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){qe(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=tu(cr.bind(null,e,Ge,sn),t);break}cr(e,Ge,sn);break;case 4:if(Dn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-Rt(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*mk(r/1960))-r,10<r){e.timeoutHandle=tu(cr.bind(null,e,Ge,sn),r);break}cr(e,Ge,sn);break;case 5:cr(e,Ge,sn);break;default:throw Error(D(329))}}}return Je(e,ke()),e.callbackNode===n?Ny.bind(null,e):null}function bu(e,t){var n=mi;return e.current.memoizedState.isDehydrated&&(wr(e,t).flags|=256),e=Ns(e,t),e!==2&&(t=Ge,Ge=n,t!==null&&ku(t)),e}function ku(e){Ge===null?Ge=e:Ge.push.apply(Ge,e)}function hk(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Ot(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Dn(e,t){for(t&=~Od,t&=~tl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Rt(t),r=1<<n;e[n]=-1,t&=~r}}function Vf(e){if(ee&6)throw Error(D(327));uo();var t=cs(e,0);if(!(t&1))return Je(e,ke()),null;var n=Ns(e,t);if(e.tag!==0&&n===2){var r=Yc(e);r!==0&&(t=r,n=bu(e,r))}if(n===1)throw n=Ii,wr(e,0),Dn(e,t),Je(e,ke()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,cr(e,Ge,sn),Je(e,ke()),null}function Dd(e,t){var n=ee;ee|=1;try{return e(t)}finally{ee=n,ee===0&&(Ro=ke()+500,Xs&&ir())}}function Er(e){Wn!==null&&Wn.tag===0&&!(ee&6)&&uo();var t=ee;ee|=1;var n=ht.transition,r=re;try{if(ht.transition=null,re=1,e)return e()}finally{re=r,ht.transition=n,ee=t,!(ee&6)&&ir()}}function zd(){tt=oo.current,ce(oo)}function wr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,V1(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(gd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ms();break;case 3:To(),ce(Xe),ce($e),Ed();break;case 5:Cd(r);break;case 4:To();break;case 13:ce(me);break;case 19:ce(me);break;case 10:xd(r.type._context);break;case 22:case 23:zd()}n=n.return}if(Te=e,Se=e=Xn(e.current,null),Re=tt=t,Ee=0,Ii=null,Od=tl=Cr=0,Ge=mi=null,dr!==null){for(t=0;t<dr.length;t++)if(n=dr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=o,r.next=a}n.pending=r}dr=null}return e}function Py(e,t){do{var n=Se;try{if(wd(),Va.current=Ss,ks){for(var r=he.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ks=!1}if(Sr=0,Ne=Ce=he=null,pi=!1,Li=0,Md.current=null,n===null||n.return===null){Ee=1,Ii=t,Se=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=Re,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=s,p=d.tag;if(!(d.mode&1)&&(p===0||p===11||p===15)){var m=d.alternate;m?(d.updateQueue=m.updateQueue,d.memoizedState=m.memoizedState,d.lanes=m.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=Mf(a);if(f!==null){f.flags&=-257,Of(f,a,s,i,t),f.mode&1&&Rf(i,c,t),t=f,l=c;var w=t.updateQueue;if(w===null){var g=new Set;g.add(l),t.updateQueue=g}else w.add(l);break e}else{if(!(t&1)){Rf(i,c,t),Id();break e}l=Error(D(426))}}else if(pe&&s.mode&1){var b=Mf(a);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Of(b,a,s,i,t),yd(Ao(l,s));break e}}i=l=Ao(l,s),Ee!==4&&(Ee=2),mi===null?mi=[i]:mi.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var v=dy(i,l,t);Ef(i,v);break e;case 1:s=l;var y=i.type,x=i.stateNode;if(!(i.flags&128)&&(typeof y.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Gn===null||!Gn.has(x)))){i.flags|=65536,t&=-t,i.lanes|=t;var k=py(i,s,t);Ef(i,k);break e}}i=i.return}while(i!==null)}Ry(n)}catch(S){t=S,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function Ty(){var e=Cs.current;return Cs.current=Ss,e===null?Ss:e}function Id(){(Ee===0||Ee===3||Ee===2)&&(Ee=4),Te===null||!(Cr&268435455)&&!(tl&268435455)||Dn(Te,Re)}function Ns(e,t){var n=ee;ee|=2;var r=Ty();(Te!==e||Re!==t)&&(sn=null,wr(e,t));do try{gk();break}catch(o){Py(e,o)}while(!0);if(wd(),ee=n,Cs.current=r,Se!==null)throw Error(D(261));return Te=null,Re=0,Ee}function gk(){for(;Se!==null;)Ay(Se)}function yk(){for(;Se!==null&&!Wb();)Ay(Se)}function Ay(e){var t=Oy(e.alternate,e,tt);e.memoizedProps=e.pendingProps,t===null?Ry(e):Se=t,Md.current=null}function Ry(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=uk(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ee=6,Se=null;return}}else if(n=ck(n,t,tt),n!==null){Se=n;return}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Ee===0&&(Ee=5)}function cr(e,t,n){var r=re,o=ht.transition;try{ht.transition=null,re=1,vk(e,t,n,r)}finally{ht.transition=o,re=r}return null}function vk(e,t,n,r){do uo();while(Wn!==null);if(ee&6)throw Error(D(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(D(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Zb(e,i),e===Te&&(Se=Te=null,Re=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ja||(ja=!0,Ly(ls,function(){return uo(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=ht.transition,ht.transition=null;var a=re;re=1;var s=ee;ee|=4,Md.current=null,pk(e,n),Ey(n,e),_1(Jc),us=!!Zc,Jc=Zc=null,e.current=n,fk(n),qb(),ee=s,re=a,ht.transition=i}else e.current=n;if(ja&&(ja=!1,Wn=e,js=o),i=e.pendingLanes,i===0&&(Gn=null),Hb(n.stateNode),Je(e,ke()),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(Es)throw Es=!1,e=wu,wu=null,e;return js&1&&e.tag!==0&&uo(),i=e.pendingLanes,i&1?e===xu?hi++:(hi=0,xu=e):hi=0,ir(),null}function uo(){if(Wn!==null){var e=dg(js),t=ht.transition,n=re;try{if(ht.transition=null,re=16>e?16:e,Wn===null)var r=!1;else{if(e=Wn,Wn=null,js=0,ee&6)throw Error(D(331));var o=ee;for(ee|=4,B=e.current;B!==null;){var i=B,a=i.child;if(B.flags&16){var s=i.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(B=c;B!==null;){var d=B;switch(d.tag){case 0:case 11:case 15:fi(8,d,i)}var p=d.child;if(p!==null)p.return=d,B=p;else for(;B!==null;){d=B;var m=d.sibling,f=d.return;if(ky(d),d===c){B=null;break}if(m!==null){m.return=f,B=m;break}B=f}}}var w=i.alternate;if(w!==null){var g=w.child;if(g!==null){w.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(g!==null)}}B=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,B=a;else e:for(;B!==null;){if(i=B,i.flags&2048)switch(i.tag){case 0:case 11:case 15:fi(9,i,i.return)}var v=i.sibling;if(v!==null){v.return=i.return,B=v;break e}B=i.return}}var y=e.current;for(B=y;B!==null;){a=B;var x=a.child;if(a.subtreeFlags&2064&&x!==null)x.return=a,B=x;else e:for(a=y;B!==null;){if(s=B,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:el(9,s)}}catch(S){be(s,s.return,S)}if(s===a){B=null;break e}var k=s.sibling;if(k!==null){k.return=s.return,B=k;break e}B=s.return}}if(ee=o,ir(),Gt&&typeof Gt.onPostCommitFiberRoot=="function")try{Gt.onPostCommitFiberRoot(Hs,e)}catch{}r=!0}return r}finally{re=n,ht.transition=t}}return!1}function Hf(e,t,n){t=Ao(n,t),t=dy(e,t,1),e=Kn(e,t,1),t=qe(),e!==null&&(Qi(e,1,t),Je(e,t))}function be(e,t,n){if(e.tag===3)Hf(e,e,n);else for(;t!==null;){if(t.tag===3){Hf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Gn===null||!Gn.has(r))){e=Ao(n,e),e=py(t,e,1),t=Kn(t,e,1),e=qe(),t!==null&&(Qi(t,1,e),Je(t,e));break}}t=t.return}}function wk(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=qe(),e.pingedLanes|=e.suspendedLanes&n,Te===e&&(Re&n)===n&&(Ee===4||Ee===3&&(Re&130023424)===Re&&500>ke()-Ld?wr(e,0):Od|=n),Je(e,t)}function My(e,t){t===0&&(e.mode&1?(t=ga,ga<<=1,!(ga&130023424)&&(ga=4194304)):t=1);var n=qe();e=hn(e,t),e!==null&&(Qi(e,t,n),Je(e,n))}function xk(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),My(e,n)}function bk(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(D(314))}r!==null&&r.delete(t),My(e,n)}var Oy;Oy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xe.current)Qe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Qe=!1,lk(e,t,n);Qe=!!(e.flags&131072)}else Qe=!1,pe&&t.flags&1048576&&Ig(t,ys,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ya(e,t),e=t.pendingProps;var o=jo(t,$e.current);co(t,n),o=Nd(null,t,r,e,o,n);var i=Pd();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,Ze(r)?(i=!0,hs(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,kd(t),o.updater=Js,t.stateNode=o,o._reactInternals=t,lu(t,r,e,n),t=du(null,t,r,!0,i,n)):(t.tag=0,pe&&i&&hd(t),Be(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ya(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Sk(r),e=Et(r,e),o){case 0:t=uu(null,t,r,e,n);break e;case 1:t=zf(null,t,r,e,n);break e;case 11:t=Lf(null,t,r,e,n);break e;case 14:t=Df(null,t,r,Et(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),uu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),zf(e,t,r,o,n);case 3:e:{if(gy(t),e===null)throw Error(D(387));
vendor: 5,774 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,qg(e,t),xs(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Ao(Error(D(423)),t),t=If(e,t,r,n,o);break e}else if(r!==o){o=Ao(Error(D(424)),t),t=If(e,t,r,n,o);break e}else for(rt=Yn(t.stateNode.containerInfo.firstChild),ot=t,pe=!0,At=null,n=Bg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(No(),r===o){t=gn(e,t,n);break e}Be(e,t,r,n)}t=t.child}return t;case 5:return Ug(t),e===null&&iu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,eu(r,o)?a=null:i!==null&&eu(r,i)&&(t.flags|=32),hy(e,t),Be(e,t,a,n),t.child;case 6:return e===null&&iu(t),null;case 13:return yy(e,t,n);case 4:return Sd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Po(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),Lf(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,i=t.memoizedProps,a=o.value,ae(vs,r._currentValue),r._currentValue=a,i!==null)if(Ot(i.value,a)){if(i.children===o.children&&!Xe.current){t=gn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=pn(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),au(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(D(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),au(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Be(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,co(t,n),o=vt(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),Df(e,t,r,o,n);case 15:return fy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),Ya(e,t),t.tag=1,Ze(r)?(e=!0,hs(t)):e=!1,co(t,n),uy(t,r,o),lu(t,r,o,n),du(null,t,r,!0,e,n);case 19:return vy(e,t,n);case 22:return my(e,t,n)}throw Error(D(156,t.tag))};function Ly(e,t){return sg(e,t)}function kk(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 mt(e,t,n,r){return new kk(e,t,n,r)}function _d(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sk(e){if(typeof e=="function")return _d(e)?1:0;if(e!=null){if(e=e.$$typeof,e===rd)return 11;if(e===od)return 14}return 2}function Xn(e,t){var n=e.alternate;return n===null?(n=mt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qa(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")_d(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Kr:return xr(n.children,o,i,t);case nd:a=8,o|=8;break;case Mc:return e=mt(12,n,t,o|2),e.elementType=Mc,e.lanes=i,e;case Oc:return e=mt(13,n,t,o),e.elementType=Oc,e.lanes=i,e;case Lc:return e=mt(19,n,t,o),e.elementType=Lc,e.lanes=i,e;case Uh:return nl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wh:a=10;break e;case qh:a=9;break e;case rd:a=11;break e;case od:a=14;break e;case Rn:a=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=mt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function xr(e,t,n,r){return e=mt(7,e,r,t),e.lanes=n,e}function nl(e,t,n,r){return e=mt(22,e,r,t),e.elementType=Uh,e.lanes=n,e.stateNode={isHidden:!1},e}function lc(e,t,n){return e=mt(6,e,null,t),e.lanes=n,e}function cc(e,t,n){return t=mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ck(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=ql(0),this.expirationTimes=ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ql(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function $d(e,t,n,r,o,i,a,s,l){return e=new Ck(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=mt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},kd(i),e}function Ek(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;
vendor: 4,591 bytes, line 40
40return{$$typeof:Yr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Dy(e){if(!e)return er;e=e._reactInternals;e:{if(Ar(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(Ze(n))return Dg(e,n,t)}return t}function zy(e,t,n,r,o,i,a,s,l){return e=$d(n,r,!0,e,o,i,a,s,l),e.context=Dy(null),n=e.current,r=qe(),o=Qn(n),i=pn(r,o),i.callback=t??null,Kn(n,i,o),e.current.lanes=o,Qi(e,o,r),Je(e,r),e}function rl(e,t,n,r){var o=t.current,i=qe(),a=Qn(o);return n=Dy(n),t.context===null?t.context=n:t.pendingContext=n,t=pn(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Kn(o,t,a),e!==null&&(Mt(e,o,a,i),Ua(e,o,a)),a}function Ps(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 Yf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Fd(e,t){Yf(e,t),(e=e.alternate)&&Yf(e,t)}function jk(){return null}var Iy=typeof reportError=="function"?reportError:function(e){console.error(e)};function Bd(e){this._internalRoot=e}ol.prototype.render=Bd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));rl(e,t,null,null)};ol.prototype.unmount=Bd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Er(function(){rl(null,e,null,null)}),t[mn]=null}};function ol(e){this._internalRoot=e}ol.prototype.unstable_scheduleHydration=function(e){if(e){var t=mg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ln.length&&t!==0&&t<Ln[n].priority;n++);Ln.splice(n,0,e),n===0&&gg(e)}};function Wd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function il(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Kf(){}function Nk(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var c=Ps(a);i.call(c)}}var a=zy(t,r,e,0,null,!1,!1,"",Kf);return e._reactRootContainer=a,e[mn]=a.current,Ti(e.nodeType===8?e.parentNode:e),Er(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var c=Ps(l);s.call(c)}}var l=$d(e,0,!1,null,null,!1,!1,"",Kf);return e._reactRootContainer=l,e[mn]=l.current,Ti(e.nodeType===8?e.parentNode:e),Er(function(){rl(t,l,n,r)}),l}function al(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var s=o;o=function(){var l=Ps(a);s.call(l)}}rl(t,a,e,o)}else a=Nk(n,t,e,o,r);return Ps(a)}pg=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=oi(t.pendingLanes);n!==0&&(sd(t,n|1),Je(t,ke()),!(ee&6)&&(Ro=ke()+500,ir()))}break;case 13:Er(function(){var r=hn(e,1);if(r!==null){var o=qe();Mt(r,e,1,o)}}),Fd(e,1)}};ld=function(e){if(e.tag===13){var t=hn(e,134217728);if(t!==null){var n=qe();Mt(t,e,134217728,n)}Fd(e,134217728)}};fg=function(e){if(e.tag===13){var t=Qn(e),n=hn(e,t);if(n!==null){var r=qe();Mt(n,e,t,r)}Fd(e,t)}};mg=function(){return re};hg=function(e,t){var n=re;try{return re=e,t()}finally{re=n}};Uc=function(e,t,n){switch(t){case"input":if(Ic(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=Qs(r);if(!o)throw Error(D(90));Hh(r),Ic(r,o)}}}break;case"textarea":Kh(e,n);break;case"select":t=n.value,t!=null&&io(e,!!n.multiple,t,!1)}};tg=Dd;ng=Er;var Pk={usingClientEntryPoint:!1,Events:[Zi,Zr,Qs,Jh,eg,Dd]},Zo={findFiberByHostInstance:ur,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Tk={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:wn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ig(e),e===null?null:e.stateNode},findFiberByHostInstance:Zo.findFiberByHostInstance||jk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Na=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Na.isDisabled&&Na.supportsFiber)try{Hs=Na.inject(Tk),Gt=Na}catch{}}lt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pk;lt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wd(t))throw Error(D(200));return Ek(e,t,null,n)};lt.createRoot=function(e,t){if(!Wd(e))throw Error(D(299));var n=!1,r="",o=Iy;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=$d(e,1,!1,null,null,n,!1,r,o),e[mn]=t.current,Ti(e.nodeType===8?e.parentNode:e),new Bd(t)};lt.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(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=ig(t),e=e===null?null:e.stateNode,e};lt.flushSync=function(e){return Er(e)};lt.hydrate=function(e,t,n){if(!il(t))throw Error(D(200));return al(null,e,t,!0,n)};lt.hydrateRoot=function(e,t,n){if(!Wd(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=Iy;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=zy(t,null,e,1,n??null,o,!1,i,a),e[mn]=t.current,Ti(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 ol(t)};lt.render=function(e,t,n){if(!il(t))throw Error(D(200));return al(null,e,t,!1,n)};lt.unmountComponentAtNode=function(e){if(!il(e))throw Error(D(40));return e._reactRootContainer?(Er(function(){al(null,null,e,!1,function(){e._reactRootContainer=null,e[mn]=null})}),!0):!1};lt.unstable_batchedUpdates=Dd;lt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!il(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return al(e,t,n,!1,r)};lt.version="18.3.1-next-f1338f8080-20240426";function _y(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_y)}catch(e){console.error(e)}}_y(),_h.exports=lt;var ea=_h.exports;const $y=jh(ea);var Fy,Gf=ea;Fy=Gf.createRoot,Gf.hydrateRoot;const Ak=1,Rk=1e6;let uc=0;function Mk(){return uc=(uc+1)%Number.MAX_SAFE_INTEGER,uc.toString()}const dc=new Map,Qf=e=>{if(dc.has(e))return;const t=setTimeout(()=>{dc.delete(e),gi({type:"REMOVE_TOAST",toastId:e})},Rk);dc.set(e,t)},Ok=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Ak)};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?Qf(n):e.toasts.forEach(r=>{Qf(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)}}},Xa=[];let Za={toasts:[]};function gi(e){Za=Ok(Za,e),Xa.forEach(t=>{t(Za)})}function Lk({...e}){const t=Mk(),n=o=>gi({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>gi({type:"DISMISS_TOAST",toastId:t});return gi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Dk(){const[e,t]=h.useState(Za);return h.useEffect(()=>(Xa.push(t),()=>{const n=Xa.indexOf(t);n>-1&&Xa.splice(n,1)}),[e]),{...e,toast:Lk,dismiss:n=>gi({type:"DISMISS_TOAST",toastId:n})}}function V(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 Xf(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function sl(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Xf(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Xf(e[o],null)}}}}function ye(...e){return h.useCallback(sl(...e),e)}function zk(e,t){const n=h.createContext(t),r=i=>{const{children:a,...s}=i,l=h.useMemo(()=>s,Object.values(s));return u.jsx(n.Provider,{value:l,children:a})};r.displayName=e+"Provider";function o(i){const a=h.useContext(n);if(a)return a;
vendor: 11,060 bytes, line 40
40if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function en(e,t=[]){let n=[];function r(i,a){const s=h.createContext(a),l=n.length;n=[...n,a];const c=p=>{var v;const{scope:m,children:f,...w}=p,g=((v=m==null?void 0:m[e])==null?void 0:v[l])||s,b=h.useMemo(()=>w,Object.values(w));return u.jsx(g.Provider,{value:b,children:f})};c.displayName=i+"Provider";function d(p,m){var g;const f=((g=m==null?void 0:m[e])==null?void 0:g[l])||s,w=h.useContext(f);if(w)return w;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[c,d]}const o=()=>{const i=n.map(a=>h.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,Ik(o,...t)]}function Ik(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:c})=>{const p=l(i)[`__scope${c}`];return{...s,...p}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function Mo(e){const t=$k(e),n=h.forwardRef((r,o)=>{const{children:i,...a}=r,s=h.Children.toArray(i),l=s.find(Bk);if(l){const c=l.props.children,d=s.map(p=>p===l?h.Children.count(c)>1?h.Children.only(null):h.isValidElement(c)?c.props.children:null:p);return u.jsx(t,{...a,ref:o,children:h.isValidElement(c)?h.cloneElement(c,void 0,d):null})}return u.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var _k=Mo("Slot");function $k(e){const t=h.forwardRef((n,r)=>{const{children:o,...i}=n;if(h.isValidElement(o)){const a=qk(o),s=Wk(i,o.props);return o.type!==h.Fragment&&(s.ref=r?sl(r,a):a),h.cloneElement(o,s)}return h.Children.count(o)>1?h.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var By=Symbol("radix.slottable");function Fk(e){const t=({children:n})=>u.jsx(u.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=By,t}function Bk(e){return h.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===By}function Wk(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const l=i(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function qk(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 ll(e){const t=e+"CollectionProvider",[n,r]=en(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=g=>{const{scope:b,children:v}=g,y=L.useRef(null),x=L.useRef(new Map).current;return u.jsx(o,{scope:b,itemMap:x,collectionRef:y,children:v})};a.displayName=t;const s=e+"CollectionSlot",l=Mo(s),c=L.forwardRef((g,b)=>{const{scope:v,children:y}=g,x=i(s,v),k=ye(b,x.collectionRef);return u.jsx(l,{ref:k,children:y})});c.displayName=s;const d=e+"CollectionItemSlot",p="data-radix-collection-item",m=Mo(d),f=L.forwardRef((g,b)=>{const{scope:v,children:y,...x}=g,k=L.useRef(null),S=ye(b,k),E=i(d,v);return L.useEffect(()=>(E.itemMap.set(k,{ref:k,...x}),()=>void E.itemMap.delete(k))),u.jsx(m,{[p]:"",ref:S,children:y})});f.displayName=d;function w(g){const b=i(e+"CollectionConsumer",g);return L.useCallback(()=>{const y=b.collectionRef.current;if(!y)return[];const x=Array.from(y.querySelectorAll(`[${p}]`));return Array.from(b.itemMap.values()).sort((E,C)=>x.indexOf(E.ref.current)-x.indexOf(C.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:c,ItemSlot:f},w,r]}var Uk=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],te=Uk.reduce((e,t)=>{const n=Mo(`Primitive.${t}`),r=h.forwardRef((o,i)=>{const{asChild:a,...s}=o,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(l,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function qd(e,t){e&&ea.flushSync(()=>e.dispatchEvent(t))}function st(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Vk(e,t=globalThis==null?void 0:globalThis.document){const n=st(e);h.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 Hk="DismissableLayer",Su="dismissableLayer.update",Yk="dismissableLayer.pointerDownOutside",Kk="dismissableLayer.focusOutside",Zf,Wy=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ta=h.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,c=h.useContext(Wy),[d,p]=h.useState(null),m=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=h.useState({}),w=ye(t,C=>p(C)),g=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(b),y=d?g.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,k=y>=v,S=Qk(C=>{const P=C.target,M=[...c.branches].some(R=>R.contains(P));!k||M||(o==null||o(C),a==null||a(C),C.defaultPrevented||s==null||s())},m),E=Xk(C=>{const P=C.target;[...c.branches].some(R=>R.contains(P))||(i==null||i(C),a==null||a(C),C.defaultPrevented||s==null||s())},m);return Vk(C=>{y===c.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&s&&(C.preventDefault(),s()))},m),h.useEffect(()=>{if(d)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Zf=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),Jf(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Zf)}},[d,m,n,c]),h.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),Jf())},[d,c]),h.useEffect(()=>{const C=()=>f({});return document.addEventListener(Su,C),()=>document.removeEventListener(Su,C)},[]),u.jsx(te.div,{...l,ref:w,style:{pointerEvents:x?k?"auto":"none":void 0,...e.style},onFocusCapture:V(e.onFocusCapture,E.onFocusCapture),onBlurCapture:V(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:V(e.onPointerDownCapture,S.onPointerDownCapture)})});ta.displayName=Hk;var Gk="DismissableLayerBranch",qy=h.forwardRef((e,t)=>{const n=h.useContext(Wy),r=h.useRef(null),o=ye(t,r);return h.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),u.jsx(te.div,{...e,ref:o})});qy.displayName=Gk;function Qk(e,t=globalThis==null?void 0:globalThis.document){const n=st(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){Uy(Yk,n,c,{discrete:!0})};const c={originalEvent:s};s.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},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Xk(e,t=globalThis==null?void 0:globalThis.document){const n=st(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&Uy(Kk,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Jf(){const e=new CustomEvent(Su);document.dispatchEvent(e)}function Uy(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?qd(o,i):o.dispatchEvent(i)}var Zk=ta,Jk=qy,Zt=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},eS="Portal",cl=h.forwardRef((e,t)=>{var s;const{container:n,...r}=e,[o,i]=h.useState(!1);Zt(()=>i(!0),[]);const a=n||o&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?$y.createPortal(u.jsx(te.div,{...r,ref:t}),a):null});cl.displayName=eS;function tS(e,t){return h.useReducer((n,r)=>t[n][r]??n,e)}var zt=e=>{const{present:t,children:n}=e,r=nS(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=ye(r.ref,rS(o));return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};zt.displayName="Presence";function nS(e){const[t,n]=h.useState(),r=h.useRef(null),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[s,l]=tS(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const c=Pa(r.current);i.current=s==="mounted"?c:"none"},[s]),Zt(()=>{const c=r.current,d=o.current;if(d!==e){const m=i.current,f=Pa(c);e?l("MOUNT"):f==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(d&&m!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Zt(()=>{if(t){let c;const d=t.ownerDocument.defaultView??window,p=f=>{const g=Pa(r.current).includes(f.animationName);if(f.target===t&&g&&(l("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",c=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},m=f=>{f.target===t&&(i.current=Pa(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{d.clearTimeout(c),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:h.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function Pa(e){return(e==null?void 0:e.animationName)||"none"}function rS(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 oS=Zu[" useInsertionEffect ".trim().toString()]||Zt;function Rr({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=iS({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:o;{const d=h.useRef(e!==void 0);h.useEffect(()=>{const p=d.current;p!==s&&console.warn(`${r} is changing from ${p?"controlled":"uncontrolled"} to ${s?"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=s},[s,r])}const c=h.useCallback(d=>{var p;if(s){const m=aS(d)?d(e):d;
40m!==e&&((p=a.current)==null||p.call(a,m))}else i(d)},[s,e,i,a]);return[l,c]}function iS({defaultProp:e,onChange:t}){const[n,r]=h.useState(e),o=h.useRef(n),i=h.useRef(t);return oS(()=>{i.current=t},[t]),h.useEffect(()=>{var a;o.current!==n&&((a=i.current)==null||a.call(i,n),o.current=n)},[n,o]),[n,r,i]}function aS(e){return typeof e=="function"}var sS=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"}),lS="VisuallyHidden",ul=h.forwardRef((e,t)=>u.jsx(te.span,{...e,ref:t,style:{...sS,...e.style}}));ul.displayName=lS;var cS=ul,Ud="ToastProvider",[Vd,uS,dS]=ll("Toast"),[Vy,O4]=en("Toast",[dS]),[pS,dl]=Vy(Ud),Hy=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[s,l]=h.useState(null),[c,d]=h.useState(0),p=h.useRef(!1),m=h.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Ud}\`. Expected non-empty \`string\`.`),u.jsx(Vd.Provider,{scope:t,children:u.jsx(pS,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:c,viewport:s,onViewportChange:l,onToastAdd:h.useCallback(()=>d(f=>f+1),[]),onToastRemove:h.useCallback(()=>d(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:m,children:a})})};Hy.displayName=Ud;var Yy="ToastViewport",fS=["F8"],Cu="toast.viewportPause",Eu="toast.viewportResume",Ky=h.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=fS,label:o="Notifications ({hotkey})",...i}=e,a=dl(Yy,n),s=uS(n),l=h.useRef(null),c=h.useRef(null),d=h.useRef(null),p=h.useRef(null),m=ye(t,p,a.onViewportChange),f=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=a.toastCount>0;h.useEffect(()=>{const b=v=>{var x;r.length!==0&&r.every(k=>v[k]||v.code===k)&&((x=p.current)==null||x.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),h.useEffect(()=>{const b=l.current,v=p.current;if(w&&b&&v){const y=()=>{if(!a.isClosePausedRef.current){const E=new CustomEvent(Cu);v.dispatchEvent(E),a.isClosePausedRef.current=!0}},x=()=>{if(a.isClosePausedRef.current){const E=new CustomEvent(Eu);v.dispatchEvent(E),a.isClosePausedRef.current=!1}},k=E=>{!b.contains(E.relatedTarget)&&x()},S=()=>{b.contains(document.activeElement)||x()};return b.addEventListener("focusin",y),b.addEventListener("focusout",k),b.addEventListener("pointermove",y),b.addEventListener("pointerleave",S),window.addEventListener("blur",y),window.addEventListener("focus",x),()=>{b.removeEventListener("focusin",y),b.removeEventListener("focusout",k),b.removeEventListener("pointermove",y),b.removeEventListener("pointerleave",S),window.removeEventListener("blur",y),window.removeEventListener("focus",x)}}},[w,a.isClosePausedRef]);const g=h.useCallback(({tabbingDirection:b})=>{const y=s().map(x=>{const k=x.ref.current,S=[k,...jS(k)];return b==="forwards"?S:S.reverse()});return(b==="forwards"?y.reverse():y).flat()},[s]);return h.useEffect(()=>{const b=p.current;if(b){const v=y=>{var S,E,C;const x=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!x){const P=document.activeElement,M=y.shiftKey;if(y.target===b&&M){(S=c.current)==null||S.focus();return}const O=g({tabbingDirection:M?"backwards":"forwards"}),I=O.findIndex(A=>A===P);pc(O.slice(I+1))?y.preventDefault():M?(E=c.current)==null||E.focus():(C=d.current)==null||C.focus()}};return b.addEventListener("keydown",v),()=>b.removeEventListener("keydown",v)}},[s,g]),u.jsxs(Jk,{ref:l,role:"region","aria-label":o.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&u.jsx(ju,{ref:c,onFocusFromOutsideViewport:()=>{const b=g({tabbingDirection:"forwards"});pc(b)}}),u.jsx(Vd.Slot,{scope:n,children:u.jsx(te.ol,{tabIndex:-1,...i,ref:m})}),w&&u.jsx(ju,{ref:d,onFocusFromOutsideViewport:()=>{const b=g({tabbingDirection:"backwards"});pc(b)}})]})});Ky.displayName=Yy;var Gy="ToastFocusProxy",ju=h.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=dl(Gy,n);return u.jsx(ul,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:a=>{var c;const s=a.relatedTarget;!((c=i.viewport)!=null&&c.contains(s))&&r()}})});ju.displayName=Gy;var na="Toast",mS="toast.swipeStart",hS="toast.swipeMove",gS="toast.swipeCancel",
40yS="toast.swipeEnd",Qy=h.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...a}=e,[s,l]=Rr({prop:r,defaultProp:o??!0,onChange:i,caller:na});return u.jsx(zt,{present:n||s,children:u.jsx(xS,{open:s,...a,ref:t,onClose:()=>l(!1),onPause:st(e.onPause),onResume:st(e.onResume),onSwipeStart:V(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:V(e.onSwipeMove,c=>{const{x:d,y:p}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:V(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:V(e.onSwipeEnd,c=>{const{x:d,y:p}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),l(!1)})})})});Qy.displayName=na;var[vS,wS]=Vy(na,{onClose(){}}),xS=h.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:s,onPause:l,onResume:c,onSwipeStart:d,onSwipeMove:p,onSwipeCancel:m,onSwipeEnd:f,...w}=e,g=dl(na,n),[b,v]=h.useState(null),y=ye(t,A=>v(A)),x=h.useRef(null),k=h.useRef(null),S=o||g.duration,E=h.useRef(0),C=h.useRef(S),P=h.useRef(0),{onToastAdd:M,onToastRemove:R}=g,U=st(()=>{var q;(b==null?void 0:b.contains(document.activeElement))&&((q=g.viewport)==null||q.focus()),a()}),O=h.useCallback(A=>{!A||A===1/0||(window.clearTimeout(P.current),E.current=new Date().getTime(),P.current=window.setTimeout(U,A))},[U]);h.useEffect(()=>{const A=g.viewport;if(A){const q=()=>{O(C.current),c==null||c()},_=()=>{const W=new Date().getTime()-E.current;C.current=C.current-W,window.clearTimeout(P.current),l==null||l()};return A.addEventListener(Cu,_),A.addEventListener(Eu,q),()=>{A.removeEventListener(Cu,_),A.removeEventListener(Eu,q)}}},[g.viewport,S,l,c,O]),h.useEffect(()=>{i&&!g.isClosePausedRef.current&&O(S)},[i,S,g.isClosePausedRef,O]),h.useEffect(()=>(M(),()=>R()),[M,R]);const I=h.useMemo(()=>b?rv(b):null,[b]);return g.viewport?u.jsxs(u.Fragment,{children:[I&&u.jsx(bS,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:I}),u.jsx(vS,{scope:n,onClose:U,children:ea.createPortal(u.jsx(Vd.ItemSlot,{scope:n,children:u.jsx(Zk,{asChild:!0,onEscapeKeyDown:V(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||U(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:u.jsx(te.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":g.swipeDirection,...w,ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:V(e.onKeyDown,A=>{A.key==="Escape"&&(s==null||s(A.nativeEvent),A.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,U()))}),onPointerDown:V(e.onPointerDown,A=>{A.button===0&&(x.current={x:A.clientX,y:A.clientY})}),onPointerMove:V(e.onPointerMove,A=>{if(!x.current)return;const q=A.clientX-x.current.x,_=A.clientY-x.current.y,W=!!k.current,N=["left","right"].includes(g.swipeDirection),j=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,z=N?j(0,q):0,F=N?0:j(0,_),$=A.pointerType==="touch"?10:2,H={x:z,y:F},K={originalEvent:A,delta:H};W?(k.current=H,Ta(hS,p,K,{discrete:!1})):em(H,g.swipeDirection,$)?(k.current=H,Ta(mS,d,K,{discrete:!1}),A.target.setPointerCapture(A.pointerId)):(Math.abs(q)>$||Math.abs(_)>$)&&(x.current=null)}),onPointerUp:V(e.onPointerUp,A=>{const q=k.current,_=A.target;if(_.hasPointerCapture(A.pointerId)&&_.releasePointerCapture(A.pointerId),k.current=null,x.current=null,q){const W=A.currentTarget,N={originalEvent:A,delta:q};em(q,g.swipeDirection,g.swipeThreshold)?Ta(yS,f,N,{discrete:!0}):Ta(gS,m,N,{discrete:!0}),W.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),bS=e=>{const{__scopeToast:t,children:n,...r}
40=e,o=dl(na,t),[i,a]=h.useState(!1),[s,l]=h.useState(!1);return CS(()=>a(!0)),h.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),s?null:u.jsx(cl,{asChild:!0,children:u.jsx(ul,{...r,children:i&&u.jsxs(u.Fragment,{children:[o.label," ",n]})})})},kS="ToastTitle",Xy=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(te.div,{...r,ref:t})});Xy.displayName=kS;var SS="ToastDescription",Zy=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(te.div,{...r,ref:t})});Zy.displayName=SS;var Jy="ToastAction",ev=h.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?u.jsx(nv,{altText:n,asChild:!0,children:u.jsx(Hd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Jy}\`. Expected non-empty \`string\`.`),null)});ev.displayName=Jy;var tv="ToastClose",Hd=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=wS(tv,n);return u.jsx(nv,{asChild:!0,children:u.jsx(te.button,{type:"button",...r,ref:t,onClick:V(e.onClick,o.onClose)})})});Hd.displayName=tv;var nv=h.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return u.jsx(te.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function rv(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),ES(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...rv(r))}}),t}function Ta(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?qd(o,i):o.dispatchEvent(i)}var em=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function CS(e=()=>{}){const t=st(e);Zt(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function ES(e){return e.nodeType===e.ELEMENT_NODE}function jS(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 pc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var NS=Hy,ov=Ky,iv=Qy,av=Xy,sv=Zy,lv=ev,cv=Hd;function uv(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=uv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function dv(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=uv(e))&&(r&&(r+=" "),r+=t);return r}const tm=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,nm=dv,pv=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return nm(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,a=Object.keys(o).map(c=>{const d=n==null?void 0:n[c],p=i==null?void 0:i[c];if(d===null)return null;const m=tm(d)||tm(p);return o[c][m]}),s=n&&Object.entries(n).reduce((c,d)=>{let[p,m]=d;return m===void 0||(c[p]=m),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,d)=>{let{class:p,className:m,...f}=d;return Object.entries(f).every(w=>{let[g,b]=w;return Array.isArray(b)?b.includes({...i,...s}[g]):{...i,...s}[g]===b})?[...c,p,m]:c},[]);return nm(e,a,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 PS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fv=(...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 TS={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 AS=h.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:a,...s},l)=>h.createElement("svg",{ref:l,...TS,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:fv("lucide",o),...s},[...a.map(([c,d])=>h.createElement(c,d)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const ue=(e,t)=>
60{const n=h.forwardRef(({className:r,...o},i)=>h.createElement(AS,{ref:i,iconNode:t,className:fv(`lucide-${PS(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 RS=ue("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const rm=ue("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const gt=ue("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const MS=ue("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const pl=ue("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const mv=ue("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const hv=ue("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const OS=ue("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const Nu=ue("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const om=ue("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const LS=ue("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const DS=ue("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const zS=ue("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const IS=ue("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const _S=ue("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const $S=ue("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const FS=ue("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const BS=ue("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3
150kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const WS=ue("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const qS=ue("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const gv=ue("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const US=ue("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const VS=ue("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const Yd=ue("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const HS=ue("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Kd="-",YS=e=>{const t=GS(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(Kd);return s[0]===""&&s.length!==1&&s.shift(),yv(s,t)||KS(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},yv=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?yv(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Kd);return(a=t.validators.find(({validator:s})=>s(i)))==null?void 0:a.classGroupId},im=/^\[(.+)\]$/,KS=e=>{if(im.test(e)){const t=im.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},GS=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return XS(Object.entries(e.classGroups),n).forEach(([i,a])=>{Pu(a,r,i,t)}),r},Pu=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:am(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(QS(o)){Pu(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}
vendor: 4,769 bytes, line 185
185Object.entries(o).forEach(([i,a])=>{Pu(a,am(t,i),n,r)})})},am=(e,t)=>{let n=e;return t.split(Kd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},QS=e=>e.isThemeGetter,XS=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,s])=>[t+a,s])):i);return[n,o]}):e,ZS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let a=n.get(i);if(a!==void 0)return a;if((a=r.get(i))!==void 0)return o(i,a),a},set(i,a){n.has(i)?n.set(i,a):o(i,a)}}},vv="!",JS=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,a=s=>{const l=[];let c=0,d=0,p;for(let b=0;b<s.length;b++){let v=s[b];if(c===0){if(v===o&&(r||s.slice(b,b+i)===t)){l.push(s.slice(d,b)),d=b+i;continue}if(v==="/"){p=b;continue}}v==="["?c++:v==="]"&&c--}const m=l.length===0?s:s.substring(d),f=m.startsWith(vv),w=f?m.substring(1):m,g=p&&p>d?p-d:void 0;return{modifiers:l,hasImportantModifier:f,baseClassName:w,maybePostfixModifierPosition:g}};return n?s=>n({className:s,parseClassName:a}):a},eC=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},tC=e=>({cache:ZS(e.cacheSize),parseClassName:JS(e),...YS(e)}),nC=/\s+/,rC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(nC);let s="";for(let l=a.length-1;l>=0;l-=1){const c=a[l],{modifiers:d,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:f}=n(c);let w=!!f,g=r(w?m.substring(0,f):m);if(!g){if(!w){s=c+(s.length>0?" "+s:s);continue}if(g=r(m),!g){s=c+(s.length>0?" "+s:s);continue}w=!1}const b=eC(d).join(":"),v=p?b+vv:b,y=v+g;if(i.includes(y))continue;i.push(y);const x=o(g,w);for(let k=0;k<x.length;++k){const S=x[k];i.push(v+S)}s=c+(s.length>0?" "+s:s)}return s};function oC(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=wv(t))&&(r&&(r+=" "),r+=n);return r}const wv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=wv(e[r]))&&(n&&(n+=" "),n+=t);return n};function iC(e,...t){let n,r,o,i=a;function a(l){const c=t.reduce((d,p)=>p(d),e());return n=tC(c),r=n.cache.get,o=n.cache.set,i=s,s(l)}function s(l){const c=r(l);if(c)return c;const d=rC(l,n);return o(l,d),d}return function(){return i(oC.apply(null,arguments))}}const se=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},xv=/^\[(?:([a-z-]+):)?(.+)\]$/i,aC=/^\d+\/\d+$/,sC=new Set(["px","full","screen"]),lC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,cC=/\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$/,uC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,dC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rn=e=>po(e)||sC.has(e)||aC.test(e),jn=e=>Fo(e,"length",xC),po=e=>!!e&&!Number.isNaN(Number(e)),fc=e=>Fo(e,"number",po),Jo=e=>!!e&&Number.isInteger(Number(e)),fC=e=>e.endsWith("%")&&po(e.slice(0,-1)),X=e=>xv.test(e),Nn=e=>lC.test(e),mC=new Set(["length","size","percentage"]),hC=e=>Fo(e,mC,bv),gC=e=>Fo(e,"position",bv),yC=new Set(["image","url"]),vC=e=>Fo(e,yC,kC),wC=e=>Fo(e,"",bC),ei=()=>!0,Fo=(e,t,n)=>{const r=xv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},xC=e=>cC.test(e)&&!uC.test(e),bv=()=>!1,bC=e=>dC.test(e),kC=e=>pC.test(e),SC=()=>{const e=se("colors"),t=se("spacing"),n=se("blur"),r=se("brightness"),o=se("borderColor"),i=se("borderRadius"),a=se("borderSpacing"),s=se("borderWidth"),l=se("contrast"),c=se("grayscale"),d=se("hueRotate"),p=se("invert"),m=se("gap"),f=se("gradientColorStops"),w=se("gradientColorStopPositions"),g=se("inset"),b=se("margin"),v=se("opacity"),y=se("padding"),x=se("saturate"),k=se("scale"),S=se("sepia"),E=se("skew"),C=se("space"),P=se("translate"),M=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",X,t],O=()=>[X,t],I=()=>["",rn,jn],A=()=>["auto",po,X],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",X],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[po,X];return{cacheSize:500,separator:":",theme:{colors:[ei],spacing:[rn,jn],blur:["none","",
vendor: 5,175 bytes, line 185
185Nn,X],brightness:F(),borderColor:[e],borderRadius:["none","","full",Nn,X],borderSpacing:O(),borderWidth:I(),contrast:F(),grayscale:j(),hueRotate:F(),invert:j(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[fC,jn],inset:U(),margin:U(),opacity:F(),padding:O(),saturate:F(),scale:F(),sepia:j(),skew:F(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",X]}],container:["container"],columns:[{columns:[Nn]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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:[...q(),X]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Jo,X]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",X]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",Jo,X]}],"grid-cols":[{"grid-cols":[ei]}],"col-start-end":[{col:["auto",{span:["full",Jo,X]},X]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[ei]}],"row-start-end":[{row:["auto",{span:[Jo,X]},X]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",X]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",X]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[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",X,t]}],"min-w":[{"min-w":[X,t,"min","max","fit"]}],"max-w":[{"max-w":[X,t,"none","full","min","max","fit","prose",{screen:[Nn]},Nn]}],h:[{h:[X,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[X,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Nn,jn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fc]}],"font-family":[{font:[ei]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",X]}],"line-clamp":[{"line-clamp":["none",po,fc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",rn,X]}],"list-image":[{"list-image":["none",X]}],"list-style-type":[{list:["none","disc","decimal",X]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"w
185avy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",rn,jn]}],"underline-offset":[{"underline-offset":["auto",rn,X]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),gC]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",hC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},vC]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:_()}],"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:["",..._()]}],"outline-offset":[{"outline-offset":[rn,X]}],"outline-w":[{outline:[rn,jn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[rn,jn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Nn,wC]}],"shadow-color":[{shadow:[ei]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Nn,X]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[x]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",X]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",X]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",X]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[Jo,X]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",X]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","
185none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[rn,jn,fc]}],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"]}}},CC=iC(SC);function ve(...e){return CC(dv(e))}const EC=NS,kv=h.forwardRef(({className:e,...t},n)=>u.jsx(ov,{ref:n,className:ve("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}));
185kv.displayName=ov.displayName;const jC=pv("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Sv=h.forwardRef(({className:e,variant:t,...n},r)=>u.jsx(iv,{ref:r,className:ve(jC({variant:t}),e),...n}));Sv.displayName=iv.displayName;const NC=h.forwardRef(({className:e,...t},n)=>u.jsx(lv,{ref:n,className:ve("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));NC.displayName=lv.displayName;const Cv=h.forwardRef(({className:e,...t},n)=>u.jsx(cv,{ref:n,className:ve("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:u.jsx(Yd,{className:"h-4 w-4"})}));Cv.displayName=cv.displayName;const Ev=h.forwardRef(({className:e,...t},n)=>u.jsx(av,{ref:n,className:ve("text-sm font-semibold",e),...t}));Ev.displayName=av.displayName;const jv=h.forwardRef(({className:e,...t},n)=>u.jsx(sv,{ref:n,className:ve("text-sm opacity-90",e),...t}));jv.displayName=sv.displayName;function PC(){const{toasts:e}=Dk();return u.jsxs(EC,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return u.jsxs(Sv,{...i,children:[u.jsxs("div",{className:"grid gap-1",children:[n&&u.jsx(Ev,{children:n}),r&&u.jsx(jv,{children:r})]}),o,u.jsx(Cv,{})]},t)}),u.jsx(kv,{})]})}var sm=["light","dark"],TC="(prefers-color-scheme: dark)",AC=h.createContext(void 0),RC={setTheme:e=>{},themes:[]},MC=()=>{var e;return(e=h.useContext(AC))!=null?e:RC};h.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:a,attrs:s,nonce:l})=>{let c=i==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${s.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=o?sm.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(w,g=!1,b=!0)=>{let v=a?a[w]:w,y=g?w+"|| ''":`'${v}'`,x="";return o&&b&&!g&&sm.includes(w)&&(x+=`d.style.colorScheme = '${w}';`),n==="class"?g||v?x+=`c.add(${y})`:x+="null":v&&(x+=`d[s](n,${y})`),x},f=e?`!function(){${d}${m(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${TC}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${m(a?"x[e]":"e",!0)}}${c?"":"else{"+m(i,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${m(a?"x[e]":"e",!0)}}else{${m(i,!1,!1)};}${p}}catch(t){}}();`;return h.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:f}})});var OC=e=>{switch(e){case"success":return zC;case"info":return _C;case"warning":return IC;case"error":return $C;default:return null}},LC=Array(12).fill(0),DC=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(
185Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},LC.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),zC=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),IC=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),_C=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),$C=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),FC=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),BC=()=>{let[e,t]=L.useState(document.hidden);return L.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Tu=1,WC=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:Tu++,i=this.toasts.find(s=>s.id===o),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(s=>s.id===o?(this.publish({...s,...e,id:o,title:n}),{...s,...e,id:o,dismissible:a,title:n}):s):this.addToast({title:n,...r,dismissible:a,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)=>
185this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,a=r.then(async l=>{if(i=["resolve",l],L.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(UC(l)&&!l.ok){o=!1;let c=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:c,description:d})}else if(t.success!==void 0){o=!1;let c=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:c,description:d})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;let c=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:c,description:d})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),s=()=>new Promise((l,c)=>a.then(()=>i[0]==="reject"?c(i[1]):l(i[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:s}:Object.assign(n,{unwrap:s})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Tu++;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}},Ke=new WC,qC=(e,t)=>{let n=(t==null?void 0:t.id)||Tu++;return Ke.addToast({title:e,...t,id:n}),n},UC=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",VC=qC,HC=()=>Ke.toasts,YC=()=>Ke.getActiveToasts();Object.assign(VC,{success:Ke.success,info:Ke.info,warning:Ke.warning,error:Ke.error,custom:Ke.custom,message:Ke.message,promise:Ke.promise,dismiss:Ke.dismiss,loading:Ke.loading},{getHistory:HC,getToasts:YC});function KC(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))}KC(`: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;
185left: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}
185: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%);
185--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%)}
186`);function Aa(e){return e.label!==void 0}var GC=3,QC="32px",XC="16px",lm=4e3,ZC=356,JC=14,eE=20,tE=200;function Ct(...e){return e.filter(Boolean).join(" ")}function nE(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var rE=e=>{var t,n,r,o,i,a,s,l,c,d,p;let{invert:m,toast:f,unstyled:w,interacting:g,setHeights:b,visibleToasts:v,heights:y,index:x,toasts:k,expanded:S,removeToast:E,defaultRichColors:C,closeButton:P,style:M,cancelButtonStyle:R,actionButtonStyle:U,className:O="",descriptionClassName:I="",duration:A,position:q,gap:_,loadingIcon:W,expandByDefault:N,classNames:j,icons:z,closeButtonAriaLabel:F="Close toast",pauseWhenPageIsHidden:$}=e,[H,K]=L.useState(null),[ie,we]=L.useState(null),[Z,nn]=L.useState(!1),[je,$t]=L.useState(!1),[xn,Dr]=L.useState(!1),[bn,sa]=L.useState(!1),[Ol,la]=L.useState(!1),[Ll,qo]=L.useState(0),[zr,Op]=L.useState(0),Uo=L.useRef(f.duration||A||lm),Lp=L.useRef(null),ar=L.useRef(null),Gx=x===0,Qx=x+1<=v,ut=f.type,Ir=f.dismissible!==!1,Xx=f.className||"",Zx=f.descriptionClassName||"",ca=L.useMemo(()=>y.findIndex(G=>G.toastId===f.id)||0,[y,f.id]),Jx=L.useMemo(()=>{var G;return(G=f.closeButton)!=null?G:P},[f.closeButton,P]),Dp=L.useMemo(()=>f.duration||A||lm,[f.duration,A]),Dl=L.useRef(0),_r=L.useRef(0),zp=L.useRef(0),$r=L.useRef(null),[eb,tb]=q.split("-"),Ip=L.useMemo(()=>y.reduce((G,oe,de)=>de>=ca?G:G+oe.height,0),[y,ca]),_p=BC(),nb=f.invert||m,zl=ut==="loading";_r.current=L.useMemo(()=>ca*_+Ip,[ca,Ip]),L.useEffect(()=>{Uo.current=Dp},[Dp]),L.useEffect(()=>{nn(!0)},[]),L.useEffect(()=>{let G=ar.current;if(G){let oe=G.getBoundingClientRect().height;return Op(oe),b(de=>[{toastId:f.id,height:oe,position:f.position},...de]),()=>b(de=>de.filter(xt=>xt.toastId!==f.id))}},[b,f.id]),L.useLayoutEffect(()=>{if(!Z)return;let G=ar.current,oe=G.style.height;G.style.height="auto";let de=G.getBoundingClientRect().height;G.style.height=oe,Op(de),b(xt=>xt.find(bt=>bt.toastId===f.id)?xt.map(bt=>bt.toastId===f.id?{...bt,height:de}:bt):[{toastId:f.id,height:de,position:f.position},...xt])},[Z,f.title,f.description,b,f.id]);let kn=L.useCallback(()=>{$t(!0),qo(_r.current),b(G=>G.filter(oe=>oe.toastId!==f.id)),setTimeout(()=>{E(f)},tE)},[f,E,b,_r]);L.useEffect(()=>{if(f.promise&&ut==="loading"||f.duration===1/0||f.type==="loading")return;let G;return S||g||$&&_p?(()=>{if(zp.current<Dl.current){let oe=new Date().getTime()-Dl.current;Uo.current=Uo.current-oe}
186zp.current=new Date().getTime()})():Uo.current!==1/0&&(Dl.current=new Date().getTime(),G=setTimeout(()=>{var oe;(oe=f.onAutoClose)==null||oe.call(f,f),kn()},Uo.current)),()=>clearTimeout(G)},[S,g,f,ut,$,_p,kn]),L.useEffect(()=>{f.delete&&kn()},[kn,f.delete]);function rb(){var G,oe,de;return z!=null&&z.loading?L.createElement("div",{className:Ct(j==null?void 0:j.loader,(G=f==null?void 0:f.classNames)==null?void 0:G.loader,"sonner-loader"),"data-visible":ut==="loading"},z.loading):W?L.createElement("div",{className:Ct(j==null?void 0:j.loader,(oe=f==null?void 0:f.classNames)==null?void 0:oe.loader,"sonner-loader"),"data-visible":ut==="loading"},W):L.createElement(DC,{className:Ct(j==null?void 0:j.loader,(de=f==null?void 0:f.classNames)==null?void 0:de.loader),visible:ut==="loading"})}return L.createElement("li",{tabIndex:0,ref:ar,className:Ct(O,Xx,j==null?void 0:j.toast,(t=f==null?void 0:f.classNames)==null?void 0:t.toast,j==null?void 0:j.default,j==null?void 0:j[ut],(n=f==null?void 0:f.classNames)==null?void 0:n[ut]),"data-sonner-toast":"","data-rich-colors":(r=f.richColors)!=null?r:C,"data-styled":!(f.jsx||f.unstyled||w),"data-mounted":Z,"data-promise":!!f.promise,"data-swiped":Ol,"data-removed":je,"data-visible":Qx,"data-y-position":eb,"data-x-position":tb,"data-index":x,"data-front":Gx,"data-swiping":xn,"data-dismissible":Ir,"data-type":ut,"data-invert":nb,"data-swipe-out":bn,"data-swipe-direction":ie,"data-expanded":!!(S||N&&Z),style:{"--index":x,"--toasts-before":x,"--z-index":k.length-x,"--offset":`${je?Ll:_r.current}px`,"--initial-height":N?"auto":`${zr}px`,...M,...f.style},onDragEnd:()=>{Dr(!1),K(null),$r.current=null},onPointerDown:G=>{zl||!Ir||(Lp.current=new Date,qo(_r.current),G.target.setPointerCapture(G.pointerId),G.target.tagName!=="BUTTON"&&(Dr(!0),$r.current={x:G.clientX,y:G.clientY}))},onPointerUp:()=>{var G,oe,de,xt;if(bn||!Ir)return;$r.current=null;let bt=Number(((G=ar.current)==null?void 0:G.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Sn=Number(((oe=ar.current)==null?void 0:oe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),sr=new Date().getTime()-((de=Lp.current)==null?void 0:de.getTime()),kt=H==="x"?bt:Sn,Cn=Math.abs(kt)/sr;if(Math.abs(kt)>=eE||Cn>.11){qo(_r.current),(xt=f.onDismiss)==null||xt.call(f,f),we(H==="x"?bt>0?"right":"left":Sn>0?"down":"up"),kn(),sa(!0),la(!1);return}Dr(!1),K(null)},onPointerMove:G=>{var oe,de,xt,bt;if(!$r.current||!Ir||((oe=window.getSelection())==null?void 0:oe.toString().length)>0)return;let Sn=G.clientY-$r.current.y,sr=G.clientX-$r.current.x,kt=(de=e.swipeDirections)!=null?de:nE(q);!H&&(Math.abs(sr)>1||Math.abs(Sn)>1)&&K(Math.abs(sr)>Math.abs(Sn)?"x":"y");let Cn={x:0,y:0};H==="y"?(kt.includes("top")||kt.includes("bottom"))&&(kt.includes("top")&&Sn<0||kt.includes("bottom")&&Sn>0)&&(Cn.y=Sn):H==="x"&&(kt.includes("left")||kt.includes("right"))&&(kt.includes("left")&&sr<0||kt.includes("right")&&sr>0)&&(Cn.x=sr),(Math.abs(Cn.x)>0||Math.abs(Cn.y)>0)&&la(!0),(xt=ar.current)==null||xt.style.setProperty("--swipe-amount-x",`${Cn.x}px`),(bt=ar.current)==null||bt.style.setProperty("--swipe-amount-y",`${Cn.y}px`)}},Jx&&!f.jsx?L.createElement("button",{"aria-label":F,"data-disabled":zl,"data-close-button":!0,onClick:zl||!Ir?()=>{}:()=>{var G;kn(),(G=f.onDismiss)==null||G.call(f,f)},className:Ct(j==null?void 0:j.closeButton,(o=f==null?void 0:f.classNames)==null?void 0:o.closeButton)},(i=z==null?void 0:z.close)!=null?i:FC):null,f.jsx||h.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:L.createElement(L.Fragment,null,ut||f.icon||f.promise?L.createElement("div",{"data-icon":"",className:Ct(j==null?void 0:j.icon,(a=f==null?void 0:f.classNames)==null?void 0:a.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||rb():null,f.type!=="loading"?f.icon||(z==null?void 0:z[ut])||OC(ut):null):null,L.createElement("div",{"data-content":"",className:Ct(j==null?void 0:j.content,(s=f==null?void 0:f.classNames)==null?void 0:s.content)},L.createElement("div",{"data-title":"",className:Ct(j==null?void 0:j.title,(l=f==null?void 0:f.classNames)==null?void 0:l.title)},typeof f.title=="function"?f.title():f.title),f.description?L.createElement("div",{"data-description":"",className:Ct(I,Zx,j==null?void 0:j.description,(c=f==null?void 0:f.classNames)==null?void 0:c.description)},typeof f.description=="function"?f.description():f.description):null),h.isValidElement(f.cancel)?f.cancel:f.cancel&&Aa(f.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||R,onClick:G=>{var oe,de;Aa(f.cancel)&&Ir&&((de=(oe=f.cancel).onClick)==null||de.call(oe,G),kn())},className:Ct(j==null?void 0:j.cancelButton,(d=f==null?void 0:f.classNames)==null?void 0:d.cancelButton)},f.cancel.label):null,h.isValidElement(f.action)?f.action:f.action&&Aa(f.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||U,onClick:G=>{var oe,de;Aa(f.action)&&((de=(oe=f.action).onClick)==null||de.call(oe,G),!G.defaultPrevented&&kn())},className:Ct(j==null?void 0:j.actionButton,(p=f==null?void 0:f.classNames)==null?void 0:p.actionButton)},f.action.label):null))};function cm(){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 oE(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,a=i?"--mobile-offset":"--offset",s=i?XC:QC;function l(c){["top","right","bottom","left"].forEach(d=>{n[`${a}-${d}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${a}-${c}`]=s:n[`${a}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(s)}),n}var iE=h.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:a,className:s,offset:l,mobileOffset:c,theme:d="light",richColors:p,duration:m,style:f,visibleToasts:w=GC,toastOptions:g,dir:b=cm(),gap:v=JC,loadingIcon:y,icons:x,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:S}=e,[E,C]=L.useState([]),P=L.useMemo(()=>Array.from(new Set([r].concat(E.filter($=>$.position).map($=>$.position)))),[E,r]),[M,R]=L.useState([]),[U,O]=L.useState(!1),[I,A]=L.useState(!1),[q,_]=L.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
186k":"light"),W=L.useRef(null),N=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=L.useRef(null),z=L.useRef(!1),F=L.useCallback($=>{C(H=>{var K;return(K=H.find(ie=>ie.id===$.id))!=null&&K.delete||Ke.dismiss($.id),H.filter(({id:ie})=>ie!==$.id)})},[]);return L.useEffect(()=>Ke.subscribe($=>{if($.dismiss){C(H=>H.map(K=>K.id===$.id?{...K,delete:!0}:K));return}setTimeout(()=>{$y.flushSync(()=>{C(H=>{let K=H.findIndex(ie=>ie.id===$.id);return K!==-1?[...H.slice(0,K),{...H[K],...$},...H.slice(K+1)]:[$,...H]})})})}),[]),L.useEffect(()=>{if(d!=="system"){_(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?_("dark"):_("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:H})=>{_(H?"dark":"light")})}catch{$.addListener(({matches:K})=>{try{_(K?"dark":"light")}catch(ie){console.error(ie)}})}},[d]),L.useEffect(()=>{E.length<=1&&O(!1)},[E]),L.useEffect(()=>{let $=H=>{var K,ie;o.every(we=>H[we]||H.code===we)&&(O(!0),(K=W.current)==null||K.focus()),H.code==="Escape"&&(document.activeElement===W.current||(ie=W.current)!=null&&ie.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[o]),L.useEffect(()=>{if(W.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,z.current=!1)}},[W.current]),L.createElement("section",{ref:t,"aria-label":`${k} ${N}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map(($,H)=>{var K;let[ie,we]=$.split("-");return E.length?L.createElement("ol",{key:$,dir:b==="auto"?cm():b,tabIndex:-1,ref:W,className:s,"data-sonner-toaster":!0,"data-theme":q,"data-y-position":ie,"data-lifted":U&&E.length>1&&!i,"data-x-position":we,style:{"--front-toast-height":`${((K=M[0])==null?void 0:K.height)||0}px`,"--width":`${ZC}px`,"--gap":`${v}px`,...f,...oE(l,c)},onBlur:Z=>{z.current&&!Z.currentTarget.contains(Z.relatedTarget)&&(z.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||z.current||(z.current=!0,j.current=Z.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{I||O(!1)},onDragEnd:()=>O(!1),onPointerDown:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||A(!0)},onPointerUp:()=>A(!1)},E.filter(Z=>!Z.position&&H===0||Z.position===$).map((Z,nn)=>{var je,$t;return L.createElement(rE,{key:Z.id,icons:x,index:nn,toast:Z,defaultRichColors:p,duration:(je=g==null?void 0:g.duration)!=null?je:m,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:w,closeButton:($t=g==null?void 0:g.closeButton)!=null?$t:a,interacting:I,position:$,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:F,toasts:E.filter(xn=>xn.position==Z.position),heights:M.filter(xn=>xn.position==Z.position),setHeights:R,expandByDefault:i,gap:v,loadingIcon:y,expanded:U,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const aE=({...e})=>{const{theme:t="system"}=MC();return u.jsx(iE,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var sE=Zu[" useId ".trim().toString()]||(()=>{}),lE=0;function Zn(e){const[t,n]=h.useState(sE());return Zt(()=>{n(r=>r??String(lE++))},[e]),t?`radix-${t}`:""}const cE=["top","right","bottom","left"],tr=Math.min,nt=Math.max,Ts=Math.round,Ra=Math.floor,Xt=e=>({x:e,y:e}
vendor: 11,917 bytes, line 186
186),uE={left:"right",right:"left",bottom:"top",top:"bottom"},dE={start:"end",end:"start"};function Au(e,t,n){return nt(e,tr(t,n))}function yn(e,t){return typeof e=="function"?e(t):e}function vn(e){return e.split("-")[0]}function Bo(e){return e.split("-")[1]}function Gd(e){return e==="x"?"y":"x"}function Qd(e){return e==="y"?"height":"width"}const pE=new Set(["top","bottom"]);function Yt(e){return pE.has(vn(e))?"y":"x"}function Xd(e){return Gd(Yt(e))}function fE(e,t,n){n===void 0&&(n=!1);const r=Bo(e),o=Xd(e),i=Qd(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=As(a)),[a,As(a)]}function mE(e){const t=As(e);return[Ru(e),t,Ru(t)]}function Ru(e){return e.replace(/start|end/g,t=>dE[t])}const um=["left","right"],dm=["right","left"],hE=["top","bottom"],gE=["bottom","top"];function yE(e,t,n){switch(e){case"top":case"bottom":return n?t?dm:um:t?um:dm;case"left":case"right":return t?hE:gE;default:return[]}}function vE(e,t,n,r){const o=Bo(e);let i=yE(vn(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Ru)))),i}function As(e){return e.replace(/left|right|bottom|top/g,t=>uE[t])}function wE(e){return{top:0,right:0,bottom:0,left:0,...e}}function Nv(e){return typeof e!="number"?wE(e):{top:e,right:e,bottom:e,left:e}}function Rs(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 pm(e,t,n){let{reference:r,floating:o}=e;const i=Yt(t),a=Xd(t),s=Qd(a),l=vn(t),c=i==="y",d=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,m=r[s]/2-o[s]/2;let f;switch(l){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:p};break;case"left":f={x:r.x-o.width,y:p};break;default:f={x:r.x,y:r.y}}switch(Bo(t)){case"start":f[a]-=m*(n&&c?-1:1);break;case"end":f[a]+=m*(n&&c?-1:1);break}return f}const xE=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:p}=pm(c,r,l),m=r,f={},w=0;for(let g=0;g<s.length;g++){const{name:b,fn:v}=s[g],{x:y,y:x,data:k,reset:S}=await v({x:d,y:p,initialPlacement:r,placement:m,strategy:o,middlewareData:f,rects:c,platform:a,elements:{reference:e,floating:t}});d=y??d,p=x??p,f={...f,[b]:{...f[b],...k}},S&&w<=50&&(w++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(c=S.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:d,y:p}=pm(c,m,l)),g=-1)}return{x:d,y:p,placement:m,strategy:o,middlewareData:f}};async function _i(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:m=!1,padding:f=0}=yn(t,e),w=Nv(f),b=s[m?p==="floating"?"reference":"floating":p],v=Rs(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),y=p==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),k=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},S=Rs(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:x,strategy:l}):y);return{top:(v.top-S.top+w.top)/k.y,bottom:(S.bottom-v.bottom+w.bottom)/k.y,left:(v.left-S.left+w.left)/k.x,right:(S.right-v.right+w.right)/k.x}}const bE=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:d=0}=yn(e,t)||{};if(c==null)return{};const p=Nv(d),m={x:n,y:r},f=Xd(o),w=Qd(f),g=await a.getDimensions(c),b=f==="y",v=b?"top":"left",y=b?"bottom":"right",x=b?"clientHeight":"clientWidth",k=i.reference[w]+i.reference[f]-m[f]-i.floating[w],S=m[f]-i.reference[f],E=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c));let C=E?E[x]:0;(!C||!await(a.isElement==null?void 0:a.isElement(E)))&&(C=s.floating[x]||i.floating[w]);const P=k/2-S/2,M=C/2-g[w]/2-1,R=tr(p[v],M),U=tr(p[y],M),O=R,I=C-g[w]-U,A=C/2-g[w]/2+P,q=Au(O,A,I),_=!l.arrow&&Bo(o)!=null&&A!==q&&i.reference[w]/2-(A<O?R:U)-g[w]/2<0,W=_?A<O?A-O:A-I:0;return{[f]:m[f]+W,data:{[f]:q,centerOffset:A-q-W,..._&&{alignmentOffset:W}},reset:_}}}),kE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:g=!0,...b}=yn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=vn(o),y=Yt(s),x=vn(s)===s,k=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=m||(x||!g?[As(s)]:mE(s)),E=w!=="none";!m&&E&&S.push(...vE(s,g,w,k));const C=[s,...S],P=await _i(t,b),M=[];let R=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&M.push(P[v]),p){const A=fE(o,a,k);M.push(P[A[0]],P[A[1]])}if(R=[...R,{placement:o,overflows:M}],!M.every(A=>A<=0)){var U,O;const A=(((U=i.flip)==null?void 0:U.index)||0)+1,q=C[A];if(q&&(!(p==="alignment"?y!==Yt(q):!1)||R.every(N=>N.overflows[0]>0&&Yt(N.placement)===y)))return{data:{index:A,overflows:R},reset:{placement:q}};let _=(O=R.filter(W=>W.overflows[0]<=0).sort((W,N)=>W.overflows[1]-N.overflows[1])[0])==null?void 0:O.placement;if(!_)switch(f){case"bestFit":{var I;const W=(I=R.filter(N=>{if(E){const j=Yt(N.placement);return j===y||j==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(j=>j>0).reduce((j,z)=>j+z,0)]).sort((N,j)=>N[1]-j[1])[0])==null?void 0:I[0];W&&(_=W);break}case"initialPlacement":_=s;break}if(o!==_)return{reset:{placement:_}}}return{}}}};function fm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function mm(e){return cE.some(t=>e[t]>=0)}const SE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=yn(e,t);switch(r){case"referenceHidden":{const i=await _i(t,{...o,elementContext:"reference"}),a=fm(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:mm(a)}}}case"escaped":{const i=await _i(t,{...o,altBoundary:!0}),a=fm(i,n.floating);return{data:{escapedOffsets:a,escaped:mm(a)}}}default:return{}}}}},Pv=new Set(["left","top"]);async function CE(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=vn(n),s=Bo(n),l=Yt(n)==="y",c=Pv.has(a)?-1:1,d=i&&l?-1:1,p=yn(t,e);let{mainAxis:m,crossAxis:f,alignmentAxis:w}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&typeof w=="number"&&(f=s==="end"?w*-1:w),l?{x:f*d,y:m*c}:{x:m*c,y:f*d}}const EE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await CE(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},jE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:b=>{let{x:v,y}=b;return{x:v,y}}},...l}=yn(e,t),c={x:n,y:r},d=await _i(t,l),p=Yt(vn(o)),m=Gd(p);let f=c[m],w=c[p];if(i){const b=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=f+d[b],x=f-d[v];f=Au(y,f,x)}if(a){const b=p==="y"?"top":"left",v=p==="y"?"bottom":"right",y=w+d[b],x=w-d[v];w=Au(y,w,x)}const g=s.fn({...t,[m]:f,[p]:w});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[m]:i,[p]:a}}}}}},NE=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=yn(e,t),d={x:n,y:r},p=Yt(o),m=Gd(p);let f=d[m],w=d[p];const g=yn(s,t),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const x=m==="y"?"height":"width",k=i.reference[m]-i.floating[x]+b.mainAxis,S=i.reference[m]+i.reference[x]-b.mainAxis;f<k?f=k:f>S&&(f=S)}if(c){var v,y;const x=m==="y"?"width":"height",k=Pv.has(vn(o)),S=i.reference[p]-i.floating[x]+(k&&((v=a.offset)==null?void 0:v[p])||0)+(k?0:b.crossAxis),E=i.reference[p]+i.reference[x]+(k?0:((y=a.offset)==null?void 0:y[p])||0)-(k?b.crossAxis:0);w<S?w=S:w>E&&(w=E)}return{[m]:f,[p]:w}}}},PE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:s}=t,{apply:l=()=>{},...c}=yn(e,t),d=await _i(t,c),p=vn(o),m=Bo(o),f=Yt(o)==="y",{width:w,height:g}=i.floating;let b,v;p==="top"||p==="bottom"?(b=p,v=m===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(v=p,b=m==="end"?"top":"bottom");const y=g-d.top-d.bottom,x=w-d.left-d.right,k=tr(g-d[b],y),S=tr(w-d[v],x),E=!t.middlewareData.shift;let C=k,P=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=y),E&&!m){const R=nt(d.left,0),U=nt(d.right,0),O=nt(d.top,0),I=nt(d.bottom,0);f?P=w-2*(R!==0||U!==0?R+U:nt(d.left,d.right)):C=g-2*(O!==0||I!==0?O+I:nt(d.top,d.bottom))}await l({...t,availableWidth:P,availableHeight:C});const M=await a.getDimensions(s.floating);return w!==M.width||g!==M.height?{reset:{rects:!0}}:{}}}};function fl(){return typeof window<"u"}function Wo(e){return Tv(e)?(e.nodeName||"").toLowerCase():"#document"}function it(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function tn(e){var t;return(t=(Tv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Tv(e){return fl()?e instanceof Node||e instanceof it(e).Node:!1}function Lt(e){return fl()?e instanceof Element||e instanceof it(e).Element:!1}function Jt(e){return fl()?e instanceof HTMLElement||e instanceof it(e).HTMLElement:!1}function hm(e){return!fl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof it(e).ShadowRoot}const TE=new Set(["inline","contents"]);function ra(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Dt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!TE.has(o)}const AE=new Set(["table","td","th"]);function RE(e){return AE.has(Wo(e))}const ME=[":popover-open",":modal"];function ml(e){return ME.some(t=>{try{return e.matches(t)}catch{return!1}})}const OE=["transform","translate","scale","rotate","perspective"],LE=["transform","translate","scale","rotate","perspective","filter"],DE=["paint","layout","strict","content"];function Zd(e){const t=Jd(),n=Lt(e)?Dt(e):e;return OE.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)||LE.some(r=>(n.willChange||"").includes(r))||DE.some(r=>(n.contain||"").includes(r))}function zE(e){let t=nr(e);for(;Jt(t)&&!Oo(t);){if(Zd(t))return t;if(ml(t))return null;t=nr(t)}return null}function Jd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const IE=new Set(["html","body","#document"]);function Oo(e){return IE.has(Wo(e))}function Dt(e){return it(e).getComputedStyle(e)}function hl(e){return Lt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function nr(e){if(Wo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||hm(e)&&e.host||tn(e);return hm(t)?t.host:t}function Av(e){const t=nr(e);return Oo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jt(t)&&ra(t)?t:Av(t)}function $i(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Av(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=it(o);if(i){const s=Mu(a);
vendor: 7,136 bytes, line 186
186return t.concat(a,a.visualViewport||[],ra(o)?o:[],s&&n?$i(s):[])}return t.concat(o,$i(o,[],n))}function Mu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Rv(e){const t=Dt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Jt(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Ts(n)!==i||Ts(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function ep(e){return Lt(e)?e:e.contextElement}function fo(e){const t=ep(e);if(!Jt(t))return Xt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Rv(t);let a=(i?Ts(n.width):n.width)/r,s=(i?Ts(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const _E=Xt(0);function Mv(e){const t=it(e);return!Jd()||!t.visualViewport?_E:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $E(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==it(e)?!1:t}function jr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=ep(e);let a=Xt(1);t&&(r?Lt(r)&&(a=fo(r)):a=fo(e));const s=$E(i,n,r)?Mv(i):Xt(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(i){const m=it(i),f=r&&Lt(r)?it(r):r;let w=m,g=Mu(w);for(;g&&r&&f!==w;){const b=fo(g),v=g.getBoundingClientRect(),y=Dt(g),x=v.left+(g.clientLeft+parseFloat(y.paddingLeft))*b.x,k=v.top+(g.clientTop+parseFloat(y.paddingTop))*b.y;l*=b.x,c*=b.y,d*=b.x,p*=b.y,l+=x,c+=k,w=it(g),g=Mu(w)}}return Rs({width:d,height:p,x:l,y:c})}function tp(e,t){const n=hl(e).scrollLeft;return t?t.left+n:jr(tn(e)).left+n}function Ov(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:tp(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function FE(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=tn(r),s=t?ml(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Xt(1);const d=Xt(0),p=Jt(r);if((p||!p&&!i)&&((Wo(r)!=="body"||ra(a))&&(l=hl(r)),Jt(r))){const f=jr(r);c=fo(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}const m=a&&!p&&!i?Ov(a,l,!0):Xt(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+m.x,y:n.y*c.y-l.scrollTop*c.y+d.y+m.y}}function BE(e){return Array.from(e.getClientRects())}function WE(e){const t=tn(e),n=hl(e),r=e.ownerDocument.body,o=nt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=nt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+tp(e);const s=-n.scrollTop;return Dt(r).direction==="rtl"&&(a+=nt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function qE(e,t){const n=it(e),r=tn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const c=Jd();(!c||c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}const UE=new Set(["absolute","fixed"]);function VE(e,t){const n=jr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Jt(e)?fo(e):Xt(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{width:a,height:s,x:l,y:c}}function gm(e,t,n){let r;if(t==="viewport")r=qE(e,n);else if(t==="document")r=WE(tn(e));else if(Lt(t))r=VE(t,n);else{const o=Mv(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Rs(r)}function Lv(e,t){const n=nr(e);return n===t||!Lt(n)||Oo(n)?!1:Dt(n).position==="fixed"||Lv(n,t)}function HE(e,t){const n=t.get(e);if(n)return n;let r=$i(e,[],!1).filter(s=>Lt(s)&&Wo(s)!=="body"),o=null;const i=Dt(e).position==="fixed";let a=i?nr(e):e;for(;Lt(a)&&!Oo(a);){const s=Dt(a),l=Zd(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&UE.has(o.position)||ra(a)&&!l&&Lv(e,a))?r=r.filter(d=>d!==a):o=s,a=nr(a)}return t.set(e,r),r}function YE(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?ml(t)?[]:HE(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((c,d)=>{const p=gm(t,d,o);return c.top=nt(p.top,c.top),c.right=tr(p.right,c.right),c.bottom=tr(p.bottom,c.bottom),c.left=nt(p.left,c.left),c},gm(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function KE(e){const{width:t,height:n}=Rv(e);return{width:t,height:n}}function GE(e,t,n){const r=Jt(t),o=tn(t),i=n==="fixed",a=jr(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Xt(0);function c(){l.x=tp(o)}if(r||!r&&!i)if((Wo(t)!=="body"||ra(o))&&(s=hl(t)),r){const f=jr(t,!0,i,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else o&&c();i&&!r&&o&&c();const d=o&&!r&&!i?Ov(o,s):Xt(0),p=a.left+s.scrollLeft-l.x-d.x,m=a.top+s.scrollTop-l.y-d.y;return{x:p,y:m,width:a.width,height:a.height}}function mc(e){return Dt(e).position==="static"}function ym(e,t){if(!Jt(e)||Dt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return tn(e)===n&&(n=n.ownerDocument.body),n}function Dv(e,t){const n=it(e);if(ml(e))return n;if(!Jt(e)){let o=nr(e);for(;o&&!Oo(o);){if(Lt(o)&&!mc(o))return o;o=nr(o)}return n}let r=ym(e,t);for(;r&&RE(r)&&mc(r);)r=ym(r,t);return r&&Oo(r)&&mc(r)&&!Zd(r)?n:r||zE(e)||n}const QE=async function(e){const t=this.getOffsetParent||Dv,n=this.getDimensions,r=await n(e.floating);return{reference:GE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function XE(e){return Dt(e).direction==="rtl"}const ZE={convertOffsetParentRelativeRectToViewportRelativeRect:FE,getDocumentElement:tn,getClippingRect:YE,getOffsetParent:Dv,getElementRects:QE,getClientRects:BE,getDimensions:KE,getScale:fo,isElement:Lt,isRTL:XE};function zv(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function JE(e,t){let n=null,r;const o=tn(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const c=e.getBoundingClientRect(),{left:d,top:p,width:m,height:f}=c;if(s||t(),!m||!f)return;const w=Ra(p),g=Ra(o.clientWidth-(d+m)),b=Ra(o.clientHeight-(p+f)),v=Ra(d),x={rootMargin:-w+"px "+-g+"px "+-b+"px "+-v+"px",threshold:nt(0,tr(1,l))||1};let k=!0;function S(E){const C=E[0].intersectionRatio;if(C!==l){if(!k)return a();C?a(!1,C):r=setTimeout(()=>{a(!1,1e-7)},1e3)}C===1&&!zv(c,e.getBoundingClientRect())&&a(),k=!1}try{n=new IntersectionObserver(S,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,x)}n.observe(e)}return a(!0),i}function e2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=ep(e),d=o||i?[...c?$i(c):[],...$i(t)]:[];d.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const p=c&&s?JE(c,n):null;let m=-1,f=null;a&&(f=new ResizeObserver(v=>{let[y]=v;y&&y.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var x;(x=f)==null||x.observe(t)})),n()}),c&&!l&&f.observe(c),f.observe(t));let w,g=l?jr(e):null;l&&b();function b(){const v=jr(e);g&&!zv(g,v)&&n(),g=v,w=requestAnimationFrame(b)}return n(),()=>{var v;d.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),p==null||p(),(v=f)==null||v.disconnect(),f=null,l&&cancelAnimationFrame(w)}}
vendor: 4,124 bytes, line 186
186const t2=EE,n2=jE,r2=kE,o2=PE,i2=SE,vm=bE,a2=NE,s2=(e,t,n)=>{const r=new Map,o={platform:ZE,...n},i={...o.platform,_c:r};return xE(e,t,{...o,platform:i})};var l2=typeof document<"u",c2=function(){},Ja=l2?h.useLayoutEffect:c2;function Ms(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(!Ms(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Ms(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Iv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function wm(e,t){const n=Iv(e);return Math.round(t*n)/n}function hc(e){const t=h.useRef(e);return Ja(()=>{t.current=e}),t}function u2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:c}=e,[d,p]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,f]=h.useState(r);Ms(m,r)||f(r);const[w,g]=h.useState(null),[b,v]=h.useState(null),y=h.useCallback(N=>{N!==E.current&&(E.current=N,g(N))},[]),x=h.useCallback(N=>{N!==C.current&&(C.current=N,v(N))},[]),k=i||w,S=a||b,E=h.useRef(null),C=h.useRef(null),P=h.useRef(d),M=l!=null,R=hc(l),U=hc(o),O=hc(c),I=h.useCallback(()=>{if(!E.current||!C.current)return;const N={placement:t,strategy:n,middleware:m};U.current&&(N.platform=U.current),s2(E.current,C.current,N).then(j=>{const z={...j,isPositioned:O.current!==!1};A.current&&!Ms(P.current,z)&&(P.current=z,ea.flushSync(()=>{p(z)}))})},[m,t,n,U,O]);Ja(()=>{c===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,p(N=>({...N,isPositioned:!1})))},[c]);const A=h.useRef(!1);Ja(()=>(A.current=!0,()=>{A.current=!1}),[]),Ja(()=>{if(k&&(E.current=k),S&&(C.current=S),k&&S){if(R.current)return R.current(k,S,I);I()}},[k,S,I,R,M]);const q=h.useMemo(()=>({reference:E,floating:C,setReference:y,setFloating:x}),[y,x]),_=h.useMemo(()=>({reference:k,floating:S}),[k,S]),W=h.useMemo(()=>{const N={position:n,left:0,top:0};if(!_.floating)return N;const j=wm(_.floating,d.x),z=wm(_.floating,d.y);return s?{...N,transform:"translate("+j+"px, "+z+"px)",...Iv(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:z}},[n,s,_.floating,d.x,d.y]);return h.useMemo(()=>({...d,update:I,refs:q,elements:_,floatingStyles:W}),[d,I,q,_,W])}const d2=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?vm({element:r.current,padding:o}).fn(n):{}:r?vm({element:r,padding:o}).fn(n):{}}}},p2=(e,t)=>({...t2(e),options:[e,t]}),f2=(e,t)=>({...n2(e),options:[e,t]}),m2=(e,t)=>({...a2(e),options:[e,t]}),h2=(e,t)=>({...r2(e),options:[e,t]}),g2=(e,t)=>({...o2(e),options:[e,t]}),y2=(e,t)=>({...i2(e),options:[e,t]}),v2=(e,t)=>({...d2(e),options:[e,t]});var w2="Arrow",_v=h.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return u.jsx(te.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:u.jsx("polygon",{points:"0,0 30,0 15,10"})})});_v.displayName=w2;var x2=_v;function b2(e){const[t,n]=h.useState(void 0);return Zt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,c=Array.isArray(l)?l[0]:l;a=c.inlineSize,s=c.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var np="Popper",[$v,gl]=en(np),[k2,Fv]=$v(np),Bv=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return u.jsx(k2,{scope:t,anchor:r,onAnchorChange:o,children:n})};Bv.displayName=np;var Wv="PopperAnchor",qv=h.forwardRef((e,t)=>
vendor: 4,729 bytes, line 186
186{const{__scopePopper:n,virtualRef:r,...o}=e,i=Fv(Wv,n),a=h.useRef(null),s=ye(t,a);return h.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:u.jsx(te.div,{...o,ref:s})});qv.displayName=Wv;var rp="PopperContent",[S2,C2]=$v(rp),Uv=h.forwardRef((e,t)=>{var Z,nn,je,$t,xn,Dr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:p="partial",hideWhenDetached:m=!1,updatePositionStrategy:f="optimized",onPlaced:w,...g}=e,b=Fv(rp,n),[v,y]=h.useState(null),x=ye(t,bn=>y(bn)),[k,S]=h.useState(null),E=b2(k),C=(E==null?void 0:E.width)??0,P=(E==null?void 0:E.height)??0,M=r+(i!=="center"?"-"+i:""),R=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},U=Array.isArray(c)?c:[c],O=U.length>0,I={padding:R,boundary:U.filter(j2),altBoundary:O},{refs:A,floatingStyles:q,placement:_,isPositioned:W,middlewareData:N}=u2({strategy:"fixed",placement:M,whileElementsMounted:(...bn)=>e2(...bn,{animationFrame:f==="always"}),elements:{reference:b.anchor},middleware:[p2({mainAxis:o+P,alignmentAxis:a}),l&&f2({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?m2():void 0,...I}),l&&h2({...I}),g2({...I,apply:({elements:bn,rects:sa,availableWidth:Ol,availableHeight:la})=>{const{width:Ll,height:qo}=sa.reference,zr=bn.floating.style;zr.setProperty("--radix-popper-available-width",`${Ol}px`),zr.setProperty("--radix-popper-available-height",`${la}px`),zr.setProperty("--radix-popper-anchor-width",`${Ll}px`),zr.setProperty("--radix-popper-anchor-height",`${qo}px`)}}),k&&v2({element:k,padding:s}),N2({arrowWidth:C,arrowHeight:P}),m&&y2({strategy:"referenceHidden",...I})]}),[j,z]=Yv(_),F=st(w);Zt(()=>{W&&(F==null||F())},[W,F]);const $=(Z=N.arrow)==null?void 0:Z.x,H=(nn=N.arrow)==null?void 0:nn.y,K=((je=N.arrow)==null?void 0:je.centerOffset)!==0,[ie,we]=h.useState();return Zt(()=>{v&&we(window.getComputedStyle(v).zIndex)},[v]),u.jsx("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:W?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ie,"--radix-popper-transform-origin":[($t=N.transformOrigin)==null?void 0:$t.x,(xn=N.transformOrigin)==null?void 0:xn.y].join(" "),...((Dr=N.hide)==null?void 0:Dr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsx(S2,{scope:n,placedSide:j,onArrowChange:S,arrowX:$,arrowY:H,shouldHideArrow:K,children:u.jsx(te.div,{"data-side":j,"data-align":z,...g,ref:x,style:{...g.style,animation:W?void 0:"none"}})})})});Uv.displayName=rp;var Vv="PopperArrow",E2={top:"bottom",right:"left",bottom:"top",left:"right"},Hv=h.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=C2(Vv,r),a=E2[i.placedSide];return u.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:u.jsx(x2,{...o,ref:n,style:{...o.style,display:"block"}})})});Hv.displayName=Vv;function j2(e){return e!==null}var N2=e=>({name:"transformOrigin",options:e,fn(t){var b,v,y;const{placement:n,rects:r,middlewareData:o}=t,a=((b=o.arrow)==null?void 0:b.centerOffset)!==0,s=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[c,d]=Yv(n),p={start:"0%",center:"50%",end:"100%"}[d],m=(((v=o.arrow)==null?void 0:v.x)??0)+s/2,f=(((y=o.arrow)==null?void 0:y.y)??0)+l/2;let w="",g="";return c==="bottom"?(w=a?p:`${m}px`,g=`${-l}px`):c==="top"?(w=a?p:`${m}px`,g=`${r.floating.height+l}px`):c==="right"?(w=`${-l}px`,g=a?p:`${f}px`):c==="left"&&(w=`${r.floating.width+l}px`,g=a?p:`${f}px`),{data:{x:w,y:g}}}});function Yv(e){const[t,n="center"]=e.split("-");return[t,n]}var P2=Bv,Kv=qv,Gv=Uv,Qv=Hv,[yl,L4]=en("Tooltip",[gl]),op=gl(),Xv="TooltipProvider",T2=700,xm="tooltip.open",[A2,Zv]=yl(Xv),Jv=e=>{const{__scopeTooltip:t,delayDuration:n=T2,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,a=h.useRef(!0),s=h.useRef(!1),l=h.useRef(0);return h.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),u.jsx(A2,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:h.useCallback(()=>{window.clearTimeout(l.current),a.current=!1},[]),onClose:h.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:h.useCallback(c=>{s.current=c},[]),disableHoverableContent:o,children:i})};Jv.displayName=Xv;var ew="Tooltip",[D4,vl]=yl(ew),Ou="TooltipTrigger",R2=h.forwardRef((e,t)=>
vendor: 5,593 bytes, line 186
186{const{__scopeTooltip:n,...r}=e,o=vl(Ou,n),i=Zv(Ou,n),a=op(n),s=h.useRef(null),l=ye(t,s,o.onTriggerChange),c=h.useRef(!1),d=h.useRef(!1),p=h.useCallback(()=>c.current=!1,[]);return h.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),u.jsx(Kv,{asChild:!0,...a,children:u.jsx(te.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:V(e.onPointerMove,m=>{m.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:V(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:V(e.onPointerDown,()=>{o.open&&o.onClose(),c.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:V(e.onFocus,()=>{c.current||o.onOpen()}),onBlur:V(e.onBlur,o.onClose),onClick:V(e.onClick,o.onClose)})})});R2.displayName=Ou;var M2="TooltipPortal",[z4,O2]=yl(M2,{forceMount:void 0}),Lo="TooltipContent",tw=h.forwardRef((e,t)=>{const n=O2(Lo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=vl(Lo,e.__scopeTooltip);return u.jsx(zt,{present:r||a.open,children:a.disableHoverableContent?u.jsx(nw,{side:o,...i,ref:t}):u.jsx(L2,{side:o,...i,ref:t})})}),L2=h.forwardRef((e,t)=>{const n=vl(Lo,e.__scopeTooltip),r=Zv(Lo,e.__scopeTooltip),o=h.useRef(null),i=ye(t,o),[a,s]=h.useState(null),{trigger:l,onClose:c}=n,d=o.current,{onPointerInTransitChange:p}=r,m=h.useCallback(()=>{s(null),p(!1)},[p]),f=h.useCallback((w,g)=>{const b=w.currentTarget,v={x:w.clientX,y:w.clientY},y=$2(v,b.getBoundingClientRect()),x=F2(v,y),k=B2(g.getBoundingClientRect()),S=q2([...x,...k]);s(S),p(!0)},[p]);return h.useEffect(()=>()=>m(),[m]),h.useEffect(()=>{if(l&&d){const w=b=>f(b,d),g=b=>f(b,l);return l.addEventListener("pointerleave",w),d.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",w),d.removeEventListener("pointerleave",g)}}},[l,d,f,m]),h.useEffect(()=>{if(a){const w=g=>{const b=g.target,v={x:g.clientX,y:g.clientY},y=(l==null?void 0:l.contains(b))||(d==null?void 0:d.contains(b)),x=!W2(v,a);y?m():x&&(m(),c())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[l,d,a,c,m]),u.jsx(nw,{...e,ref:i})}),[D2,z2]=yl(ew,{isInside:!1}),I2=Fk("TooltipContent"),nw=h.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,l=vl(Lo,n),c=op(n),{onClose:d}=l;return h.useEffect(()=>(document.addEventListener(xm,d),()=>document.removeEventListener(xm,d)),[d]),h.useEffect(()=>{if(l.trigger){const p=m=>{const f=m.target;f!=null&&f.contains(l.trigger)&&d()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[l.trigger,d]),u.jsx(ta,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:p=>p.preventDefault(),onDismiss:d,children:u.jsxs(Gv,{"data-state":l.stateAttribute,...c,...s,ref:t,style:{...s.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:[u.jsx(I2,{children:r}),u.jsx(D2,{scope:n,isInside:!0,children:u.jsx(cS,{id:l.contentId,role:"tooltip",children:o||r})})]})})});tw.displayName=Lo;var rw="TooltipArrow",_2=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=op(n);return z2(rw,n).isInside?null:u.jsx(Qv,{...o,...r,ref:t})});_2.displayName=rw;function $2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function F2(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function B2(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function W2(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i],l=t[a],c=s.x,d=s.y,p=l.x,m=l.y;d>r!=m>r&&n<(p-c)*(r-d)/(m-d)+c&&(o=!o)}return o}function q2(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),U2(t)}function U2(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.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 V2=Jv,ow=tw;const H2=V2,Y2=h.forwardRef(({className:e,sideOffset:t=4,...n},r)=>u.jsx(ow,{ref:r,sideOffset:t,className:ve("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
186de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));Y2.displayName=ow.displayName;var wl=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(){}},xl=typeof window>"u"||"Deno"in globalThis;function jt(){}function K2(e,t){return typeof e=="function"?e(t):e}function G2(e){return typeof e=="number"&&e>=0&&e!==1/0}function Q2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Lu(e,t){return typeof e=="function"?e(t):e}function X2(e,t){return typeof e=="function"?e(t):e}function bm(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a){if(r){if(t.queryHash!==ip(a,t.options))return!1}else if(!Bi(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function km(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Fi(t.options.mutationKey)!==Fi(i))return!1}else if(!Bi(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function ip(e,t){return((t==null?void 0:t.queryKeyHashFn)||Fi)(e)}function Fi(e){return JSON.stringify(e,(t,n)=>Du(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Bi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Bi(e[n],t[n])):!1}function iw(e,t){if(e===t)return e;const n=Sm(e)&&Sm(t);if(n||Du(e)&&Du(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{},l=new Set(r);let c=0;for(let d=0;d<a;d++){const p=n?d:i[d];(!n&&l.has(p)||n)&&e[p]===void 0&&t[p]===void 0?(s[p]=void 0,c++):(s[p]=iw(e[p],t[p]),s[p]===e[p]&&e[p]!==void 0&&c++)}return o===a&&c===o?e:s}return t}function Sm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Du(e){if(!Cm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Cm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Cm(e){return Object.prototype.toString.call(e)==="[object Object]"}function Z2(e){return new Promise(t=>{setTimeout(t,e)})}function J2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?iw(e,t):t}function ej(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function tj(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ap=Symbol();function aw(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===ap?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var fr,zn,yo,vh,nj=(vh=class extends wl{constructor(){super();ne(this,fr);ne(this,zn);ne(this,yo);Q(this,yo,t=>{if(!xl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){T(this,zn)||this.setEventListener(T(this,yo))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,zn))==null||t.call(this),Q(this,zn,void 0))}setEventListener(t){var n;Q(this,yo,t),(n=T(this,zn))==null||n.call(this),Q(this,zn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){T(this,fr)!==t&&(Q(this,fr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof T(this,fr)=="boolean"?T(this,fr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},fr=new WeakMap,zn=new WeakMap,yo=new WeakMap,vh),sw=new nj,vo,In,wo,wh,rj=(wh=class extends wl{constructor(){super();ne(this,vo,!0);ne(this,In);ne(this,wo);Q(this,wo,t=>{if(!xl&&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(){T(this,In)||this.setEventListener(T(this,wo))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,In))==null||t.call(this),Q(this,In,void 0))}setEventListener(t){var n;Q(this,wo,t),(n=T(this,In))==null||n.call(this),Q(this,In,t(this.setOnline.bind(this)))}setOnline(t){T(this,vo)!==t&&(Q(this,vo,t),this.listeners.forEac
vendor: 22,479 bytes, lines 186-195
186h(r=>{r(t)}))}isOnline(){return T(this,vo)}},vo=new WeakMap,In=new WeakMap,wo=new WeakMap,wh),Os=new rj;function oj(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function ij(e){return Math.min(1e3*2**e,3e4)}function lw(e){return(e??"online")==="online"?Os.isOnline():!0}var cw=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function gc(e){return e instanceof cw}function uw(e){let t=!1,n=0,r=!1,o;const i=oj(),a=g=>{var b;r||(m(new cw(g)),(b=e.abort)==null||b.call(e))},s=()=>{t=!0},l=()=>{t=!1},c=()=>sw.isFocused()&&(e.networkMode==="always"||Os.isOnline())&&e.canRun(),d=()=>lw(e.networkMode)&&e.canRun(),p=g=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,g),o==null||o(),i.resolve(g))},m=g=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,g),o==null||o(),i.reject(g))},f=()=>new Promise(g=>{var b;o=v=>{(r||c())&&g(v)},(b=e.onPause)==null||b.call(e)}).then(()=>{var g;o=void 0,r||(g=e.onContinue)==null||g.call(e)}),w=()=>{if(r)return;let g;const b=n===0?e.initialPromise:void 0;try{g=b??e.fn()}catch(v){g=Promise.reject(v)}Promise.resolve(g).then(p).catch(v=>{var E;if(r)return;const y=e.retry??(xl?0:3),x=e.retryDelay??ij,k=typeof x=="function"?x(n,v):x,S=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,v);if(t||!S){m(v);return}n++,(E=e.onFail)==null||E.call(e,n,v),Z2(k).then(()=>c()?void 0:f()).then(()=>{t?m(v):w()})})};return{promise:i,cancel:a,continue:()=>(o==null||o(),i),cancelRetry:s,continueRetry:l,canStart:d,start:()=>(d()?w():f().then(w),i)}}var aj=e=>setTimeout(e,0);function sj(){let e=[],t=0,n=s=>{s()},r=s=>{s()},o=aj;const i=s=>{t?e.push(s):o(()=>{n(s)})},a=()=>{const s=e;e=[],s.length&&o(()=>{r(()=>{s.forEach(l=>{n(l)})})})};return{batch:s=>{let l;t++;try{l=s()}finally{t--,t||a()}return l},batchCalls:s=>(...l)=>{i(()=>{s(...l)})},schedule:i,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{o=s}}}var We=sj(),mr,xh,dw=(xh=class{constructor(){ne(this,mr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),G2(this.gcTime)&&Q(this,mr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(xl?1/0:5*60*1e3))}clearGcTimeout(){T(this,mr)&&(clearTimeout(T(this,mr)),Q(this,mr,void 0))}},mr=new WeakMap,xh),xo,hr,dt,gr,Ie,Yi,yr,Nt,an,bh,lj=(bh=class extends dw{constructor(t){super();ne(this,Nt);ne(this,xo);ne(this,hr);ne(this,dt);ne(this,gr);ne(this,Ie);ne(this,Yi);ne(this,yr);Q(this,yr,!1),Q(this,Yi,t.defaultOptions),this.setOptions(t.options),this.observers=[],Q(this,gr,t.client),Q(this,dt,T(this,gr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Q(this,xo,uj(this.options)),this.state=t.state??T(this,xo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=T(this,Ie))==null?void 0:t.promise}setOptions(t){this.options={...T(this,Yi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&T(this,dt).remove(this)}setData(t,n){const r=J2(this.state.data,t,this.options);return Le(this,Nt,an).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Le(this,Nt,an).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=T(this,Ie))==null?void 0:r.promise;return(o=T(this,Ie))==null||o.cancel(t),n?n.then(jt).catch(jt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(T(this,xo))}isActive(){return this.observers.some(t=>X2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ap||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Lu(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:!Q2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=T(this,Ie))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=T(this,Ie))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),T(this,dt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(T(this,Ie)&&(T(this,yr)?T(this,Ie).cancel({revert:!0}):T(this,Ie).cancelRetry()),this.scheduleGc()),T(this,dt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Le(this,Nt,an).call(this,{type:"invalidate"})}fetch(t,n){var c,d,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(T(this,Ie))return T(this,Ie).continueRetry(),T(this,Ie).promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(f=>f.options.queryFn);m&&this.setOptions(m.options)}const r=new AbortController,o=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(Q(this,yr,!0),r.signal)})},i=()=>{const m=aw(this.options,n),w=(()=>{const g={client:T(this,gr),queryKey:this.queryKey,meta:this.meta};return o(g),g})();return Q(this,yr,!1),this.options.persister?this.options.persister(m,w,this):m(w)},s=(()=>{const m={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:T(this,gr),state:this.state,fetchFn:i};return o(m),m})();(c=this.options.behavior)==null||c.onFetch(s,this),Q(this,hr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=s.fetchOptions)==null?void 0:d.meta))&&Le(this,Nt,an).call(this,{type:"fetch",meta:(p=s.fetchOptions)==null?void 0:p.meta});const l=m=>{var f,w,g,b;gc(m)&&m.silent||Le(this,Nt,an).call(this,{type:"error",error:m}),gc(m)||((w=(f=T(this,dt).config).onError)==null||w.call(f,m,this),(b=(g=T(this,dt).config).onSettled)==null||b.call(g,this.state.data,m,this)),this.scheduleGc()};return Q(this,Ie,uw({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:m=>{var f,w,g,b;if(m===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(m)}catch(v){l(v);return}(w=(f=T(this,dt).config).onSuccess)==null||w.call(f,m,this),(b=(g=T(this,dt).config).onSettled)==null||b.call(g,m,this.state.error,this),this.scheduleGc()},onError:l,onFail:(m,f)=>{Le(this,Nt,an).call(this,{type:"failed",failureCount:m,error:f})},onPause:()=>{Le(this,Nt,an).call(this,{type:"pause"})},onContinue:()=>{Le(this,Nt,an).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),T(this,Ie).start()}},xo=new WeakMap,hr=new WeakMap,dt=new WeakMap,gr=new WeakMap,Ie=new WeakMap,Yi=new WeakMap,yr=new WeakMap,Nt=new WeakSet,an=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,...cj(r.data,this.options),fetchMeta:t.meta??null};case"success":return Q(this,hr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return gc(o)&&o.revert&&T(this,hr)?{...T(this,hr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),We.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),T(this,dt).notify({query:this,type:"updated",action:t})})},bh);function cj(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:lw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function uj(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 Wt,kh,dj=(kh=class extends wl{constructor(t={}){super();ne(this,Wt);this.config=t,Q(this,Wt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??ip(o,n);let a=this.get(i);return a||(a=new lj({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){T(this,Wt).has(t.queryHash)||(T(this,Wt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=T(this,Wt).get(t.queryHash);n&&(t.destroy(),n===t&&T(this,Wt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return T(this,Wt).get(t)}getAll(){return[...T(this,Wt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>bm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>bm(t,r)):n}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){We.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Wt=new WeakMap,kh),qt,Fe,vr,Ut,Pn,Sh,pj=(Sh=class extends dw{constructor(t){super();ne(this,Ut);ne(this,qt);ne(this,Fe);ne(this,vr);this.mutationId=t.mutationId,Q(this,Fe,t.mutationCache),Q(this,qt,[]),this.state=t.state||fj(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){T(this,qt).includes(t)||(T(this,qt).push(t),this.clearGcTimeout(),T(this,Fe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Q(this,qt,T(this,qt).filter(n=>n!==t)),this.scheduleGc(),T(this,Fe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){T(this,qt).length||(this.state.status==="pending"?this.scheduleGc():T(this,Fe).remove(this))}continue(){var t;return((t=T(this,vr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,a,s,l,c,d,p,m,f,w,g,b,v,y,x,k,S,E,C,P;const n=()=>{Le(this,Ut,Pn).call(this,{type:"continue"})};Q(this,vr,uw({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,R)=>{Le(this,Ut,Pn).call(this,{type:"failed",failureCount:M,error:R})},onPause:()=>{Le(this,Ut,Pn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>T(this,Fe).canRun(this)}));const r=this.state.status==="pending",o=!T(this,vr).canStart();try{if(r)n();else{Le(this,Ut,Pn).call(this,{type:"pending",variables:t,isPaused:o}),await((a=(i=T(this,Fe).config).onMutate)==null?void 0:a.call(i,t,this));const R=await((l=(s=this.options).onMutate)==null?void 0:l.call(s,t));R!==this.state.context&&Le(this,Ut,Pn).call(this,{type:"pending",context:R,variables:t,isPaused:o})}const M=await T(this,vr).start();return await((d=(c=T(this,Fe).config).onSuccess)==null?void 0:d.call(c,M,t,this.state.context,this)),await((m=(p=this.options).onSuccess)==null?void 0:m.call(p,M,t,this.state.context)),await((w=(f=T(this,Fe).config).onSettled)==null?void 0:w.call(f,M,null,this.state.variables,this.state.context,this)),await((b=(g=this.options).onSettled)==null?void 0:b.call(g,M,null,t,this.state.context)),Le(this,Ut,Pn).call(this,{type:"success",data:M}),M}catch(M){try{throw await((y=(v=T(this,Fe).config).onError)==null?void 0:y.call(v,M,t,this.state.context,this)),await((k=(x=this.options).onError)==null?void 0:k.call(x,M,t,this.state.context)),await((E=(S=T(this,Fe).config).onSettled)==null?void 0:E.call(S,void 0,M,this.state.variables,this.state.context,this)),await((P=(C=this.options).onSettled)==null?void 0:P.call(C,void 0,M,t,this.state.context)),M}finally{Le(this,Ut,Pn).call(this,{type:"error",error:M})}}finally{T(this,Fe).runNext(this)}}},qt=new WeakMap,Fe=new WeakMap,vr=new WeakMap,Ut=new WeakSet,Pn=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),We.batch(()=>{T(this,qt).forEach(r=>{r.onMutationUpdate(t)}),T(this,Fe).notify({mutation:this,type:"updated",action:t})})},Sh);function fj(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var cn,Pt,Ki,Ch,mj=(Ch=class extends wl{constructor(t={}){super();ne(this,cn);ne(this,Pt);ne(this,Ki);this.config=t,Q(this,cn,new Set),Q(this,Pt,new Map),Q(this,Ki,0)}build(t,n,r){const o=new pj({mutationCache:this,mutationId:++ua(this,Ki)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){T(this,cn).add(t);const n=Ma(t);if(typeof n=="string"){const r=T(this,Pt).get(n);r?r.push(t):T(this,Pt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(T(this,cn).delete(t)){const n=Ma(t);if(typeof n=="string"){const r=T(this,Pt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&T(this,Pt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ma(t);if(typeof n=="string"){const r=T(this,Pt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=Ma(t);if(typeof n=="string"){const o=(r=T(this,Pt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){We.batch(()=>{T(this,cn).forEach(t=>{this.notify({type:"removed",mutation:t})}),T(this,cn).clear(),T(this,Pt).clear()})}getAll(){return Array.from(T(this,cn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>km(n,r))}findAll(t={}){return this.getAll().filter(n=>km(t,n))}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return We.batch(()=>Promise.all(t.map(n=>n.continue().catch(jt))))}},cn=new WeakMap,Pt=new WeakMap,Ki=new WeakMap,Ch);function Ma(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Em(e){return{onFetch:(t,n)=>{var d,p,m,f,w;const r=t.options,o=(m=(p=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:p.fetchMore)==null?void 0:m.direction,i=((f=t.state.data)==null?void 0:f.pages)||[],a=((w=t.state.data)==null?void 0:w.pageParams)||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let g=!1;const b=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},v=aw(t.options,t.fetchOptions),y=async(x,k,S)=>{if(g)return Promise.reject();if(k==null&&x.pages.length)return Promise.resolve(x);const C=(()=>{const U={client:t.client,queryKey:t.queryKey,pageParam:k,direction:S?"backward":"forward",meta:t.options.meta};return b(U),U})(),P=await v(C),{maxPages:M}=t.options,R=S?tj:ej;return{pages:R(x.pages,P,M),pageParams:R(x.pageParams,k,M)}};if(o&&i.length){const x=o==="backward",k=x?hj:jm,S={pages:i,pageParams:a},E=k(r,S);s=await y(S,E,x)}else{const x=e??i.length;do{const k=l===0?a[0]??r.initialPageParam:jm(r,s);if(l>0&&k==null)break;s=await y(s,k),l++}while(l<x)}return s};t.options.persister?t.fetchFn=()=>{var g,b;return(b=(g=t.options).persister)==null?void 0:b.call(g,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function jm(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 hj(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var xe,_n,$n,bo,ko,Fn,So,Co,Eh,gj=(Eh=class{constructor(e={}){ne(this,xe);ne(this,_n);ne(this,$n);ne(this,bo);ne(this,ko);ne(this,Fn);ne(this,So);ne(this,Co);Q(this,xe,e.queryCache||new dj),Q(this,_n,e.mutationCache||new mj),Q(this,$n,e.defaultOptions||{}),Q(this,bo,new Map),Q(this,ko,new Map),Q(this,Fn,0)}mount(){ua(this,Fn)._++,T(this,Fn)===1&&(Q(this,So,sw.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,xe).onFocus())})),Q(this,Co,Os.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,xe).onOnline())})))}unmount(){var e,t;ua(this,Fn)._--,T(this,Fn)===0&&((e=T(this,So))==null||e.call(this),Q(this,So,void 0),(t=T(this,Co))==null||t.call(this),Q(this,Co,void 0))}isFetching(e){return T(this,xe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return T(this,_n).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=T(this,xe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=T(this,xe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Lu(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return T(this,xe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=T(this,xe).get(r.queryHash),i=o==null?void 0:o.state.data,a=K2(t,i);if(a!==void 0)return T(this,xe).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return We.batch(()=>T(this,xe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=T(this,xe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=T(this,xe);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=T(this,xe);return We.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=We.batch(()=>T(this,xe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(jt).catch(jt)}invalidateQueries(e,t={}){return We.batch(()=>(T(this,xe).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=We.batch(()=>T(this,xe).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(jt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(jt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=T(this,xe).build(this,t);return n.isStaleByTime(Lu(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(jt).catch(jt)}fetchInfiniteQuery(e){return e.behavior=Em(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(jt).catch(jt)}ensureInfiniteQueryData(e){return e.behavior=Em(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Os.isOnline()?T(this,_n).resumePausedMutations():Promise.resolve()}getQueryCache(){return T(this,xe)}getMutationCache(){return T(this,_n)}getDefaultOptions(){return T(this,$n)}setDefaultOptions(e){Q(this,$n,e)}setQueryDefaults(e,t){T(this,bo).set(Fi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...T(this,bo).values()],n={};return t.forEach(r=>{Bi(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){T(this,ko).set(Fi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...T(this,ko).values()],n={};return t.forEach(r=>{Bi(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...T(this,$n).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ip(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===ap&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...T(this,$n).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){T(this,xe).clear(),T(this,_n).clear()}},xe=new WeakMap,_n=new WeakMap,$n=new WeakMap,bo=new WeakMap,ko=new WeakMap,Fn=new WeakMap,So=new WeakMap,Co=new WeakMap,Eh),yj=h.createContext(void 0),vj=({client:e,children:t})=>(h.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),u.jsx(yj.Provider,{value:e,children:t}));/**
187 * @remix-run/router v1.23.0
188 *
189 * Copyright (c) Remix Software Inc.
190 *
191 * This source code is licensed under the MIT license found in the
192 * LICENSE.md file in the root directory of this source tree.
193 *
194 * @license MIT
195 */function Ls(){return Ls=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},Ls.apply(this,arguments)}var qn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}
vendor: 4,732 bytes, line 195
195)(qn||(qn={}));const Nm="popstate";function wj(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:a,hash:s}=r.location;return zu("",{pathname:i,search:a,hash:s},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:fw(o)}return bj(t,n,null,e)}function et(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function pw(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function xj(){return Math.random().toString(36).substr(2,8)}function Pm(e,t){return{usr:e.state,key:e.key,idx:t}}function zu(e,t,n,r){return n===void 0&&(n=null),Ls({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?bl(t):t,{state:n,key:t&&t.key||r||xj()})}function fw(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 bl(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 bj(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s=qn.Pop,l=null,c=d();c==null&&(c=0,a.replaceState(Ls({},a.state,{idx:c}),""));function d(){return(a.state||{idx:null}).idx}function p(){s=qn.Pop;let b=d(),v=b==null?null:b-c;c=b,l&&l({action:s,location:g.location,delta:v})}function m(b,v){s=qn.Push;let y=zu(g.location,b,v);c=d()+1;let x=Pm(y,c),k=g.createHref(y);try{a.pushState(x,"",k)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(k)}i&&l&&l({action:s,location:g.location,delta:1})}function f(b,v){s=qn.Replace;let y=zu(g.location,b,v);c=d();let x=Pm(y,c),k=g.createHref(y);a.replaceState(x,"",k),i&&l&&l({action:s,location:g.location,delta:0})}function w(b){let v=o.location.origin!=="null"?o.location.origin:o.location.href,y=typeof b=="string"?b:fw(b);return y=y.replace(/ $/,"%20"),et(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let g={get action(){return s},get location(){return e(o,a)},listen(b){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Nm,p),l=b,()=>{o.removeEventListener(Nm,p),l=null}},createHref(b){return t(o,b)},createURL:w,encodeLocation(b){let v=w(b);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:m,replace:f,go(b){return a.go(b)}};return g}var Tm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Tm||(Tm={}));function kj(e,t,n){return n===void 0&&(n="/"),Sj(e,t,n,!1)}function Sj(e,t,n,r){let o=typeof t=="string"?bl(t):t,i=gw(o.pathname||"/",n);if(i==null)return null;let a=mw(e);Cj(a);let s=null;for(let l=0;s==null&&l<a.length;++l){let c=Dj(i);s=Oj(a[l],c,r)}return s}function mw(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,a,s)=>{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith("/")&&(et(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 c=mo([r,l.relativePath]),d=n.concat(l);i.children&&i.children.length>0&&(et(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),mw(i.children,t,d,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:Rj(c,i.index),routesMeta:d})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let l of hw(i.path))o(i,a,l)}),t}function hw(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=hw(r.join("/")),s=[];return s.push(...a.map(l=>l===""?i:[i,l].join("/"))),o&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function Cj(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Mj(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Ej=/^:[\w-]+$/,jj=3,Nj=2,Pj=1,Tj=10,Aj=-2,Am=e=>e==="*";function Rj(e,t){let n=e.split("/"),r=n.length;return n.some(Am)&&(r+=Aj),t&&(r+=Nj),n.filter(o=>!Am(o)).reduce((o,i)=>o+(Ej.test(i)?jj:i===""?Pj:Tj),r)}function Mj(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 Oj(e,t,n){let{routesMeta:r}=e,o={},i="/",a=[];for(let s=0;s<r.length;++s){let l=r[s],c=s===r.length-1,d=i==="/"?t:t.slice(i.length)||"/",p=Rm({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},d),m=l.route;
vendor: 4,256 bytes, lines 195-204
195if(!p&&c&&n&&!r[r.length-1].route.index&&(p=Rm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!p)return null;Object.assign(o,p.params),a.push({params:o,pathname:mo([i,p.pathname]),pathnameBase:zj(mo([i,p.pathnameBase])),route:m}),p.pathnameBase!=="/"&&(i=mo([i,p.pathnameBase]))}return a}function Rm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Lj(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce((c,d,p)=>{let{paramName:m,isOptional:f}=d;if(m==="*"){let g=s[p]||"";a=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const w=s[p];return f&&!w?c[m]=void 0:c[m]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:a,pattern:e}}function Lj(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),pw(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,(a,s,l)=>(r.push({paramName:s,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 Dj(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return pw(!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 gw(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const mo=e=>e.join("/").replace(/\/\/+/g,"/"),zj=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function Ij(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const yw=["post","put","patch","delete"];new Set(yw);const _j=["get",...yw];new Set(_j);/**
196 * React Router v6.30.1
197 *
198 * Copyright (c) Remix Software Inc.
199 *
200 * This source code is licensed under the MIT license found in the
201 * LICENSE.md file in the root directory of this source tree.
202 *
203 * @license MIT
204 */function Ds(){return Ds=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},Ds.apply(this,arguments)}const $j=h.createContext(null),Fj=h.createContext(null),vw=h.createContext(null),kl=h.createContext(null),Sl=h.createContext({outlet:null,matches:[],isDataRoute:!1}),ww=h.createContext(null);function sp(){return h.useContext(kl)!=null}function xw(){return sp()||et(!1),h.useContext(kl).location}function Bj(e,t){return Wj(e,t)}function Wj(e,t,n,r){sp()||et(!1);let{navigator:o}=h.useContext(vw),{matches:i}=h.useContext(Sl),a=i[i.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=xw(),d;if(t){var p;let b=typeof t=="string"?bl(t):t;l==="/"||(p=b.pathname)!=null&&p.startsWith(l)||et(!1),d=b}else d=c;let m=d.pathname||"/",f=m;if(l!=="/"){let b=l.replace(/^\//,"").split("/");f="/"+m.replace(/^\//,"").split("/").slice(b.length).join("/")}let w=kj(e,{pathname:f}),g=Yj(w&&w.map(b=>Object.assign({},b,{params:Object.assign({},s,b.params),pathname:mo([l,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:mo([l,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&g?h.createElement(kl.Provider,{value:{location:Ds({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:qn.Pop}},g):g}function qj(){let e=Xj(),t=Ij(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 h.createElement(h.Fragment,null,h.createElement("h2",null,"Unexpected Application 
204Error!"),h.createElement("h3",{style:{fontStyle:"italic"}},t),n?h.createElement("pre",{style:o},n):null,null)}const Uj=h.createElement(qj,null);class Vj extends h.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?h.createElement(Sl.Provider,{value:this.props.routeContext},h.createElement(ww.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Hj(e){let{routeContext:t,match:n,children:r}=e,o=h.useContext($j);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),h.createElement(Sl.Provider,{value:t},r)}function Yj(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,s=(o=n)==null?void 0:o.errors;if(s!=null){let d=a.findIndex(p=>p.route.id&&(s==null?void 0:s[p.route.id])!==void 0);d>=0||et(!1),a=a.slice(0,Math.min(a.length,d+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<a.length;d++){let p=a[d];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(c=d),p.route.id){let{loaderData:m,errors:f}=n,w=p.route.loader&&m[p.route.id]===void 0&&(!f||f[p.route.id]===void 0);if(p.route.lazy||w){l=!0,c>=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((d,p,m)=>{let f,w=!1,g=null,b=null;n&&(f=s&&p.route.id?s[p.route.id]:void 0,g=p.route.errorElement||Uj,l&&(c<0&&m===0?(w=!0,b=null):c===m&&(w=!0,b=p.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,m+1)),y=()=>{let x;return f?x=g:w?x=b:p.route.Component?x=h.createElement(p.route.Component,null):p.route.element?x=p.route.element:x=d,h.createElement(Hj,{match:p,routeContext:{outlet:d,matches:v,isDataRoute:n!=null},children:x})};return n&&(p.route.ErrorBoundary||p.route.errorElement||m===0)?h.createElement(Vj,{location:n.location,revalidation:n.revalidation,component:g,error:f,children:y(),routeC
vendor: 4,478 bytes, lines 204-213
204ontext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var Iu=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}(Iu||{});function Kj(e){let t=h.useContext(Fj);return t||et(!1),t}function Gj(e){let t=h.useContext(Sl);return t||et(!1),t}function Qj(e){let t=Gj(),n=t.matches[t.matches.length-1];return n.route.id||et(!1),n.route.id}function Xj(){var e;let t=h.useContext(ww),n=Kj(Iu.UseRouteError),r=Qj(Iu.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Zj(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function _u(e){et(!1)}function Jj(e){let{basename:t="/",children:n=null,location:r,navigationType:o=qn.Pop,navigator:i,static:a=!1,future:s}=e;sp()&&et(!1);let l=t.replace(/^\/*/,"/"),c=h.useMemo(()=>({basename:l,navigator:i,static:a,future:Ds({v7_relativeSplatPath:!1},s)}),[l,s,i,a]);typeof r=="string"&&(r=bl(r));let{pathname:d="/",search:p="",hash:m="",state:f=null,key:w="default"}=r,g=h.useMemo(()=>{let b=gw(d,l);return b==null?null:{location:{pathname:b,search:p,hash:m,state:f,key:w},navigationType:o}},[l,d,p,m,f,w,o]);return g==null?null:h.createElement(vw.Provider,{value:c},h.createElement(kl.Provider,{children:n,value:g}))}function eN(e){let{children:t,location:n}=e;return Bj($u(t),n)}new Promise(()=>{});function $u(e,t){t===void 0&&(t=[]);let n=[];return h.Children.forEach(e,(r,o)=>{if(!h.isValidElement(r))return;let i=[...t,o];if(r.type===h.Fragment){n.push.apply(n,$u(r.props.children,i));return}r.type!==_u&&et(!1),!r.props.index||!r.props.children||et(!1);let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=$u(r.props.children,i)),n.push(a)}),n}/**
205 * React Router DOM v6.30.1
206 *
207 * Copyright (c) Remix Software Inc.
208 *
209 * This source code is licensed under the MIT license found in the
210 * LICENSE.md file in the root directory of this source tree.
211 *
212 * @license MIT
213 */const tN="6";try{window.__reactRouterVersion=tN}catch{}const nN="startTransition",Mm=Zu[nN];function rN(e){let{basename:t,children:n,future:r,window:o}=e,i=h.useRef();i.current==null&&(i.current=wj({window:o,v5Compat:!0}));let a=i.current,[s,l]=h.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},d=h.useCallback(p=>{c&&Mm?Mm(()=>l(p)):l(p)},[l,c]);return h.useLayoutEffect(()=>a.listen(d),[a,d]),h.useEffect(()=>Zj(r),[r]),h.createElement(Jj,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}var Om;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Om||(Om={}));var Lm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Lm||(Lm={}));const oN=pv("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Pe=h.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>
vendor: 7,299 bytes, line 213
213{const a=r?_k:"button";return u.jsx(a,{className:ve(oN({variant:t,size:n,className:e})),ref:i,...o})});Pe.displayName="Button";const Y=e=>typeof e=="string",ti=()=>{let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n},Dm=e=>e==null?"":String(e),iN=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},aN=/###/g,zm=e=>e&&e.includes("###")?e.replace(aN,"."):e,Im=e=>!e||Y(e),yi=(e,t,n)=>{const r=Y(t)?t.split("."):t;let o=0;for(;o<r.length-1;){if(Im(e))return{};const i=zm(r[o]);!e[i]&&n&&(e[i]=new n),Object.prototype.hasOwnProperty.call(e,i)?e=e[i]:e={},++o}return Im(e)?{}:{obj:e,k:zm(r[o])}},_m=(e,t,n)=>{const{obj:r,k:o}=yi(e,t,Object);if(r!==void 0||t.length===1){r[o]=n;return}let i=t[t.length-1],a=t.slice(0,t.length-1),s=yi(e,a,Object);for(;s.obj===void 0&&a.length;)i=`${a[a.length-1]}.${i}`,a=a.slice(0,a.length-1),s=yi(e,a,Object),s!=null&&s.obj&&typeof s.obj[`${s.k}.${i}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n},sN=(e,t,n,r)=>{const{obj:o,k:i}=yi(e,t,Object);o[i]=o[i]||[],o[i].push(n)},zs=(e,t)=>{const{obj:n,k:r}=yi(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},lN=(e,t,n)=>{const r=zs(e,n);return r!==void 0?r:zs(t,n)},bw=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(Object.prototype.hasOwnProperty.call(e,r)?Y(e[r])||e[r]instanceof String||Y(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):bw(e[r],t[r],n):e[r]=t[r]);return e},on=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),cN={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},uN=e=>Y(e)?e.replace(/[&<>"'\/]/g,t=>cN[t]):e;class dN{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const pN=[" ",",","?","!",";"],fN=new dN(20),mN=(e,t,n)=>{t=t||"",n=n||"";const r=pN.filter(a=>!t.includes(a)&&!n.includes(a));if(r.length===0)return!0;const o=fN.getRegExp(`(${r.map(a=>a==="?"?"\\?":a).join("|")})`);let i=!o.test(e);if(!i){const a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i},Fu=(e,t,n=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let o=e;for(let i=0;i<r.length;){if(!o||typeof o!="object")return;let a,s="";for(let l=i;l<r.length;++l)if(l!==i&&(s+=n),s+=r[l],a=o[s],a!==void 0){if(["string","number","boolean"].includes(typeof a)&&l<r.length-1)continue;i+=l-i+1;break}o=a}return o},Wi=e=>e==null?void 0:e.replace(/_/g,"-"),hN={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var n,r;(r=(n=console==null?void 0:console[e])==null?void 0:n.apply)==null||r.call(n,console,t)}};class Is{constructor(t,n={}){this.init(t,n)}init(t,n={}){this.prefix=n.prefix||"i18next:",this.logger=t||hN,this.options=n,this.debug=n.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,o){return o&&!this.debug?null:(t=t.map(i=>Y(i)?i.replace(/[\r\n\x00-\x1F\x7F]/g," "):i),Y(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new Is(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Is(this.logger,t)}}var Kt=new Is;class Cl{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const o=this.observers[r].get(n)||0;this.observers[r].set(n,o+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}once(t,n){const r=(...o)=>{n(...o),this.off(t,r)};return this.on(t,r),this}emit(t,...n){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([o,i])=>{for(let a=0;a<i;a++)o(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([o,i])=>{for(let a=0;a<i;a++)o(t,...n)})}}class $m extends Cl{constructor(t,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.includes(t)||this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r,o={}){var c,d;const i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,a=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.includes(".")?s=t.split("."):(s=[t,n],r&&(Array.isArray(r)?s.push(...r):Y(r)&&i?s.push(...r.split(i)):s.push(r)));const l=zs(this.data,s);return!l&&!n&&!r&&t.includes(".")&&(t=s[0],n=s[1],r=s.slice(2).join(".")),l||!a||!Y(r)?l:Fu((d=(c=this.data)==null?void 0:c[t])==null?void 0:d[n],r,i)}addResource(t,n,r,o,i={silent:!1}){const a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(a?r.split(a):r)),t.includes(".")&&(s=t.split("."),o=n,n=s[1]),this.addNamespaces(n),_m(this.data,s,o),i.silent||this.emit("added",t,n,r,o)}addResources(t,n,r,o={silent:!1}){for(const i in r)(Y(r[i])||Array.isArray(r[i]))&&this.addResource(t,n,i,r[i],{silent:!0});o.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,o,i,a={silent:!1,skipCopy:!1}){let s=[t,n];t.includes(".")&&(s=t.split("."),o=r,r=n,n=s[1]),this.addNamespaces(n);let l=zs(this.data,s)||{};a.skipCopy||(r=JSON.parse(JSON.stringify(r))),o?bw(l,r,i):l={...l,...r},_m(this.data,s,l),a.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var kw={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(i=>{var a;t=((a=this.processors[i])==null?void 0:a.process(t,n,r,o))??t}),t}};const Sw=Symbol("i18next/PATH_KEY");function gN(){const e=[],t=Object.create(null);let n;return t.get=(r,o)=>{var i;return(i=n==null?void 0:n.revoke)==null||i.call(n),o===Sw?e:(e.push(o),n=Proxy.revocable(r,t),n.proxy)},Proxy.revocable(Object.create(null),t).proxy}function ho(e,t){const{[Sw]:n}=e(gN()),r=(t==null?void 0:t.keySeparator)??".",o=(t==null?void 0:t.nsSeparator)??":",i=(t==null?void 0:t.enableSelector)==="strict";if(n.length>1&&o){const a=t==null?void 0:t.ns,s=i?Array.isArray(a)?a:a?[a]:null:Array.isArray(a)?a:null;if(s&&(i?s:s.length>1?s.slice(1):[]).includes(n[0]))return`${n[0]}${o}${n.slice(1).join(r)}`}return n.join(r)}const yc=e=>!Y(e)&&typeof e!="boolean"&&typeof e!="number";class _s extends Cl{constructor(t,n={}){super(),iN(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
213i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Kt.create("translator"),this.checkedLoadedFor={}}changeLanguage(t){t&&(this.language=t)}exists(t,n={interpolation:{}}){const r={...n};if(t==null)return!1;const o=this.resolve(t,r);if((o==null?void 0:o.res)===void 0)return!1;const i=yc(o.res);return!(r.returnObjects===!1&&i)}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let i=n.ns||this.options.defaultNS||[];const a=r&&t.includes(r),s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!mN(t,r,o);if(a&&!s){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:Y(i)?[i]:i};const c=t.split(r);(r!==o||r===o&&this.options.ns.includes(c[0]))&&(i=c.shift()),t=c.join(o)}return{key:t,namespaces:Y(i)?[i]:i}}translate(t,n,r){let o=typeof n=="object"?{...n}:n;if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),t==null)return"";typeof t=="function"&&(t=ho(t,{...this.options,...o})),Array.isArray(t)||(t=[String(t)]),t=t.map(I=>typeof I=="function"?ho(I,{...this.options,...o}):String(I));const i=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(t[t.length-1],o),c=l[l.length-1];let d=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;d===void 0&&(d=":");const p=o.lng||this.language,m=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((p==null?void 0:p.toLowerCase())==="cimode")return m?i?{res:`${c}${d}${s}`,usedKey:s,exactUsedKey:s,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(o)}:`${c}${d}${s}`:i?{res:s,usedKey:s,exactUsedKey:s,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(o)}:s;const f=this.resolve(t,o);let w=f==null?void 0:f.res;const g=(f==null?void 0:f.usedKey)||s,b=(f==null?void 0:f.exactUsedKey)||s,v=["[object Number]","[object Function]","[object RegExp]"],y=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,k=o.count!==void 0&&!Y(o.count),S=_s.hasDefaultValue(o),E=k?this.pluralResolver.getSuffix(p,o.count,o):"",C=o.ordinal&&k?this.pluralResolver.getSuffix(p,o.count,{ordinal:!1}):"",P=k&&!o.ordinal&&o.count===0,M=P&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${E}`]||o[`defaultValue${C}`]||o.defaultValue;let R=w;x&&!w&&S&&(R=M);const U=yc(R),O=Object.prototype.toString.apply(R);if(x&&R&&U&&!v.includes(O)&&!(Y(y)&&Array.isArray(R))){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const I=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,R,{...o,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return i?(f.res=I,f.usedParams=this.getUsedParamsDetails(o),f):I}if(a){const I=Array.isArray(R),A=I?[]:{},q=I?b:g;for(const _ in R)if(Object.prototype.hasOwnProperty.call(R,_)){const W=`${q}${a}${_}`;S&&!w?A[_]=this.translate(W,{...o,defaultValue:yc(M)?M[_]:void 0,joinArrays:!1,ns:l}):A[_]=this.translate(W,{...o,joinArrays:!1,ns:l}),A[_]===W&&(A[_]=R[_])}w=A}}else if(x&&Y(y)&&Array.isArray(w))w=w.join(y),w&&(w=this.extendTranslation(w,t,o,r));else{let I=!1,A=!1;!this.isValidLookup(w)&&S&&(I=!0,w=M),this.isValidLookup(w)||(A=!0,w=s);const _=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&A?void 0:w,W=S&&M!==w&&this.options.updateMissing;if(A||I||W){if(this.logger.log(W?"updateKey":"missingKey",p,c,k&&!W?`${s}${this.pluralResolver.getSuffix(p,o.count,o)}`:s,W?M:w),a){const F=this.resolve(s,{...o,keySeparator:!1});F&&F.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let N=[];const j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&j&&j[0])for(let F=0;F<j.length;F++)N.push(j[F]);else this.options.saveMissingTo==="all"?N=this.languageUtils.toResolveHierarchy(o.lng||this.language):N.push(o.lng||this.language);const z=(F,$,H)=>{var ie;const K=S&&H!==w?H:_;this.options.missingKeyHandler?this.options.missingKeyHandler(F,c,$,K,W,o):(ie=this.backendConnector)!=null&&ie.saveMissing&&this.backendConnector.saveMissing(F,c,$,K,W,o),this.emit
vendor: 28,988 bytes, line 213
213("missingKey",F,c,$,w)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?N.forEach(F=>{const $=this.pluralResolver.getSuffixes(F,o);P&&o[`defaultValue${this.options.pluralSeparator}zero`]&&!$.includes(`${this.options.pluralSeparator}zero`)&&$.push(`${this.options.pluralSeparator}zero`),$.forEach(H=>{z([F],s+H,o[`defaultValue${H}`]||M)})}):z(N,s,M))}w=this.extendTranslation(w,t,o,f,r),A&&w===s&&this.options.appendNamespaceToMissingKey&&(w=`${c}${d}${s}`),(A||I)&&this.options.parseMissingKeyHandler&&(w=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${d}${s}`:s,I?w:void 0,o))}return i?(f.res=w,f.usedParams=this.getUsedParamsDetails(o),f):w}extendTranslation(t,n,r,o,i){var l,c;if((l=this.i18nFormat)!=null&&l.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const d=Y(t)&&(((c=r==null?void 0:r.interpolation)==null?void 0:c.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let p;if(d){const f=t.match(this.interpolator.nestingRegexp);p=f&&f.length}let m=r.replace&&!Y(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),t=this.interpolator.interpolate(t,m,r.lng||this.language||o.usedLng,r),d){const f=t.match(this.interpolator.nestingRegexp),w=f&&f.length;p<w&&(r.nest=!1)}!r.lng&&o&&o.res&&(r.lng=this.language||o.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,(...f)=>(i==null?void 0:i[0])===f[0]&&!r.context?(this.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${n[0]}`),null):this.translate(...f,n),r)),r.interpolation&&this.interpolator.reset()}const a=r.postProcess||this.options.postProcess,s=Y(a)?[a]:a;return t!=null&&(s!=null&&s.length)&&r.applyPostProcessor!==!1&&(t=kw.handle(s,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t,n={}){let r,o,i,a,s;return Y(t)&&(t=[t]),Array.isArray(t)&&(t=t.map(l=>typeof l=="function"?ho(l,{...this.options,...n}):l)),t.forEach(l=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(l,n),d=c.key;o=d;let p=c.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const m=n.count!==void 0&&!Y(n.count),f=m&&!n.ordinal&&n.count===0,w=n.context!==void 0&&(Y(n.context)||typeof n.context=="number")&&n.context!=="",g=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);p.forEach(b=>{var v,y;this.isValidLookup(r)||(s=b,!this.checkedLoadedFor[`${g[0]}-${b}`]&&((v=this.utils)!=null&&v.hasLoadedNamespace)&&!((y=this.utils)!=null&&y.hasLoadedNamespace(s))&&(this.checkedLoadedFor[`${g[0]}-${b}`]=!0,this.logger.warn(`key "${o}" for languages "${g.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(x=>{var E;if(this.isValidLookup(r))return;a=x;const k=[d];if((E=this.i18nFormat)!=null&&E.addLookupKeys)this.i18nFormat.addLookupKeys(k,d,x,b,n);else{let C;m&&(C=this.pluralResolver.getSuffix(x,n.count,n));const P=`${this.options.pluralSeparator}zero`,M=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(n.ordinal&&C.startsWith(M)&&k.push(d+C.replace(M,this.options.pluralSeparator)),k.push(d+C),f&&k.push(d+P)),w){const R=`${d}${this.options.contextSeparator||"_"}${n.context}`;k.push(R),m&&(n.ordinal&&C.startsWith(M)&&k.push(R+C.replace(M,this.options.pluralSeparator)),k.push(R+C),f&&k.push(R+P))}}let S;for(;S=k.pop();)this.isValidLookup(r)||(i=S,r=this.getResource(x,b,S,n))}))})}),{res:r,usedKey:o,exactUsedKey:i,usedLng:a,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r,o={}){var i;return(i=this.i18nFormat)!=null&&i.getResource?this.i18nFormat.getResource(t,n,r,o):this.resourceStore.getResource(t,n,r,o)}getUsedParamsDetails(t={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!Y(t.replace);let o=r?t.replace:t;if(r&&typeof t.count<"u"&&(o={...o,count:t.count}),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!r){o={...o};for(const i of n)delete o[i]}return o}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&r.startsWith(n)&&t[r]!==void 0)return!0;return!1}}class Fm{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Kt.create("languageUtils")}getScriptPartFromCode(t){if(t=Wi(t),!t||!t.includes("-"))return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Wi(t),!t||!t.includes("-"))return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(Y(t)&&t.includes("-")){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(t)}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const o=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const o=this.getScriptPartFromCode(r);if(this.isSupportedCode(o))return n=o;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(a=>a===i?!0:!a.includes("-")&&!i.includes("-")?!1:!!(a.includes("-")&&!i.includes("-")&&a.slice(0,a.indexOf("-"))===i||a.startsWith(i)&&i.length>1))}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),Y(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],t),o=[],i=a=>{a&&(this.isSupportedCode(a)?o.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return Y(t)&&(t.includes("-")||t.includes("_"))?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):Y(t)&&i(this.formatLanguageCode(t)),r.forEach(a=>{o.includes(a)||i(this.formatLanguageCode(a))}),o}}const Bm={zero:0,one:1,two:2,few:3,many:4,other:5},Wm={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class yN{constructor(t,n={}){this.languageUtils=t,this.options=n,this.logger=Kt.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,n={}){const r=Wi(t==="dev"?"en":t),o=n.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:r,type:o});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(r,{type:o})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),Wm;if(!t.match(/-|_/))return Wm;const l=this.languageUtils.getLanguagePartFromCode(t);a=this.getRule(l,n)}return this.pluralRulesCache[i]=a,a}needsPlural(t,n={}){let r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,n,r={}){return this.getSuffixes(t,r).map(o=>`${n}${o}`)}getSuffixes(t,n={}){let r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((o,i)=>Bm[o]-Bm[i]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(t,n,r={}){const o=this.getRule(t,r);return o?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const qm=(e,t,n,r=".",o=!0)=>{let i=lN(e,t,n);return!i&&o&&Y(n)&&(i=Fu(e,n,r),i===void 0&&(i=Fu(t,n,r))),i},vN=e=>e.replace(/\$/g,"$$$$");class Um{constructor(t={}){var n;this.logger=Kt.create("interpolator"),this.options=t,this.format=((n=t==null?void 0:t.interpolation)==null?void 0:n.format)||(r=>r),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:o,prefix:i,prefixEscaped:a,suffix:s,suffixEscaped:l,formatSeparator:c,unescapeSuffix:d,unescapePrefix:p,nestingPrefix:m,nestingPrefixEscaped:f,nestingSuffix:w,nestingSuffixEscaped:g,nestingOptionsSeparator:b,maxReplaces:v,alwaysFormat:y}=t.interpolation;this.escape=n!==void 0?n:uN,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=i?on(i):a||"{{",this.suffix=s?on(s):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=d?"":p?on(p):"-",this.unescapeSuffix=this.unescapePrefix?"":d?on(d):"",this.nestingPrefix=m?on(m):f||on("$t("),this.nestingSuffix=w?on(w):g||on(")"),this.nestingOptionsSeparator=b||",",this.maxReplaces=v||1e3,this.alwaysFormat=y!==void 0?y:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>(n==null?void 0:n.source)===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,n,r,o){var f;let i,a,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=w=>{if(!w.includes(this.formatSeparator)){const y=qm(n,l,w,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(y,void 0,r,{...o,...n,interpolationkey:w}):y}const g=w.split(this.formatSeparator),b=g.shift().trim(),v=g.join(this.formatSeparator).trim();return this.format(qm(n,l,b,this.options.keySeparator,this.options.ignoreJSONStructure),v,r,{...o,...n,interpolationkey:b})};this.resetRegExp(),!this.escapeValue&&typeof t=="string"&&/\$t\([^)]*\{[^}]*\{\{/.test(t)&&this.logger.warn("nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.");const d=(o==null?void 0:o.missingInterpolationHandler)||this.options.missingInterpolationHandler,p=((f=o==null?void 0:o.interpolation)==null?void 0:f.skipOnVariables)!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:w=>w},{regex:this.regexp,safeValue:w=>this.escapeValue?this.escape(w):w}].forEach(w=>{for(s=0;i=w.regex.exec(t);){const g=i[1].trim();if(a=c(g),a===void 0)if(typeof d=="function"){const v=d(t,i,o);a=Y(v)?v:""}else if(o&&Object.prototype.hasOwnProperty.call(o,g))a="";else if(p){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${t}`),a="";else!Y(a)&&!this.useRawValueToEscape&&(a=Dm(a));const b=w.safeValue(a);if(t=t.replace(i[0],vN(b)),p?(w.regex.lastIndex+=b.length,w.regex.lastIndex-=i[0].length):w.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n,r={}){let o,i,a;const s=(l,c)=>{const d=this.nestingOptionsSeparator;if(!l.includes(d))return l;const p=l.split(new RegExp(`${on(d)}[ ]*{`));let m=`{${p[1]}`;l=p[0],m=this.interpolate(m,a);const f=m.match(/'/g),w=m.match(/"/g);(((f==null?void 0:f.length)??0)%2===0&&!w||((w==null?void 0:w.length)??0)%2!==0)&&(m=m.replace(/'/g,'"'));try{a=JSON.parse(m),c&&(a={...c,...a})}catch(g){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,g),`${l}${d}${m}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,l};for(;o=this.nestingRegexp.exec(t);){let l=[];a={...r},a=a.replace&&!Y(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;const c=/{.*}/s.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(c!==-1&&(l=o[1].slice(c).split(this.formatSeparator).map(d=>d.trim()).filter(Boolean),o[1]=o[1].slice(0,c)),i=n(s.call(this,o[1].trim(),a),a),i&&o[0]===t&&!Y(i))return i;Y(i)||(i=Dm(i)),i||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),i=""),l.length&&(i=l.reduce((d,p)=>this.format(d,p,r.lng,{...r,interpolationkey:o[1].trim()}),i.trim())),t=t.replace(o[0],i),this.regexp.lastIndex=0}return t}}const wN=e=>{let t=e.toLowerCase().trim();const n={};if(e.includes("(")){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].slice(0,-1);t==="currency"&&!o.includes(":")?n.currency||(n.currency=o.trim()):t==="relativetime"&&!o.includes(":")?n.range||(n.range=o.trim()):o.split(";").forEach(a=>{if(a){const[s,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),d=s.trim();n[d]||(n[d]=c),c==="false"&&(n[d]=!1),c==="true"&&(n[d]=!0),isNaN(c)||(n[d]=parseInt(c,10))}})}return{formatName:t,formatOptions:n}},Vm=e=>{const t={};return(n,r,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i={...i,[o.interpolationkey]:void 0});const a=r+JSON.stringify(i);let s=t[a];return s||(s=e(Wi(r),o),t[a]=s),s(n)}},xN=e=>(t,n,r)=>e(Wi(n),r)(t);class bN{constructor(t={}){this.logger=Kt.create("formatter"),this.options=t,this.init(t)}init(t,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const r=n.cacheInBuiltFormats?Vm:xN;this.formats={number:r((o,i)=>{const a=new Intl.NumberFormat(o,{...i});return s=>a.format(s)}),currency:r((o,i)=>{const a=new Intl.NumberFormat(o,{...i,style:"currency"});return s=>a.format(s)}),datetime:r((o,i)=>{const a=new Intl.DateTimeFormat(o,{...i});return s=>a.format(s)}),relativetime:r((o,i)=>{const a=new Intl.RelativeTimeFormat(o,{...i});return s=>a.format(s,i.range||"day")}),list:r((o,i)=>{const a=new Intl.ListFormat(o,{...i});return s=>a.format(s)})}}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Vm(n)}format(t,n,r,o={}){if(!n||t==null)return t;const i=n.split(this.formatSeparator),a=[];for(let l=0;l<i.length;l++){let c=i[l];for(;c.indexOf("(")>-1&&!c.includes(")")&&l+1<i.length;)c=`${c}${this.formatSeparator}${i[++l]}`;a.push(c)}return a.reduce((l,c)=>{var m;const{formatName:d,formatOptions:p}=wN(c);if(this.formats[d]){let f=l;try{const w=((m=o==null?void 0:o.formatParams)==null?void 0:m[o.interpolationkey])||{},g=w.locale||w.lng||o.locale||o.lng||r;f=this.formats[d](l,g,{...p,...o,...w})}catch(w){this.logger.warn(w)}return f}else this.logger.warn(`there was no format function for ${d}`);return l},t)}}const kN=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class SN extends Cl{constructor(t,n,r,o={}){var i,a;super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=o,this.logger=Kt.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],(a=(i=this.backend)==null?void 0:i.init)==null||a.call(i,r,o.backend,o)}queueLoad(t,n,r,o){const i={},a={},s={},l={};return t.forEach(c=>{let d=!0;n.forEach(p=>{const m=`${c}|${p}`;!r.reload&&this.store.hasResourceBundle(c,p)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?a[m]===void 0&&(a[m]=!0):(this.state[m]=1,d=!1,a[m]===void 0&&(a[m]=!0),i[m]===void 0&&(i[m]=!0),l[p]===void 0&&(l[p]=!0)))}),d||(s[c]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,n,r){const o=t.split("|"),i=o[0],a=o[1];n&&this.emit("failedLoading",i,a,n),!n&&r&&this.store.addResourceBundle(i,a,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const s={};this.queue.forEach(l=>{sN(l.loaded,[i],a),kN(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{s[c]||(s[c]={});const d=l.loaded[c];d.length&&d.forEach(p=>{s[c][p]===void 0&&(s[c][p]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(t,n,r,o=0,i=this.retryTimeout,a){if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:o,wait:i,callback:a});return}this.readingCalls++;const s=(c,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(c&&d&&o<this.maxRetries){setTimeout(()=>{this.read(t,n,r,o+1,i*2,a)},i);return}a(c,d)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const c=l(t,n);c&&typeof c.then=="function"?c.then(d=>s(null,d)).catch(s):s(null,c)}catch(c){s(c)}return}return l(t,n,s)}prepareLoading(t,n,r={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();Y(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Y(n)&&(n=[n]);const i=this.queueLoad(t,n,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(a=>{this.loadOne(a)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t,n=""){const r=t.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(a,s)=>{a&&this.logger.warn(`${n}loading namespace ${i} for language ${o} failed`,a),!a&&s&&this.logger.log(`${n}loaded namespace ${i} for language ${o}`,s),this.loaded(t,a,s)})}saveMissing(t,n,r,o,i,a={},s=()=>{}){var l,c,d,p,m;if((c=(l=this.services)==null?void 0:l.utils)!=null&&c.hasLoadedNamespace&&!((p=(d=this.services)==null?void 0:d.utils)!=null&&p.hasLoadedNamespace(n))){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if((m=this.backend)!=null&&m.create){const f={...a,isUpdate:i},w=this.backend.create.bind(this.backend);if(w.length<6)try{let g;w.length===5?g=w(t,n,r,o,f):g=w(t,n,r,o),g&&typeof g.then=="function"?g.then(b=>s(null,b)).catch(s):s(null,g)}catch(g){s(g)}else w(t,n,r,o,s,f)}!t||!t[0]||this.store.addResource(t[0],n,r,o)}}}const vc=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Y(e[1])&&(t.defaultValue=e[1]),Y(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Hm=e=>(Y(e.ns)&&(e.ns=[e.ns]),Y(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Y(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Oa=()=>{},CN=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class vi extends Cl{constructor(t={},n){if(super(),this.options=Hm(t),this.services={},this.logger=Kt,this.modules={external:[]},CN(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(t={},n){this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(Y(t.ns)?t.defaultNS=t.ns:t.ns.includes("translation")||(t.defaultNS=t.ns[0]));const r=vc();this.options={...r,...this.options,...Hm(t)},this.options.interpolation={...r.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler);const o=c=>c?typeof c=="function"?new c:c:null;if(!this.options.isClone){this.modules.logger?Kt.init(o(this.modules.logger),this.options):Kt.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:c=bN;const d=new Fm(this.options);this.store=new $m(this.options.resources,this.options);const p=this.services;p.logger=Kt,p.resourceStore=this.store,p.languageUtils=d,p.pluralResolver=new yN(d,{prepend:this.options.pluralSeparator}),c&&(p.formatter=o(c),p.formatter.init&&p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new Um(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new SN(o(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",(m,...f)=>{this.emit(m,...f)}),this.modules.languageDetector&&(p.languageDetector=o(this.modules.languageDetector),p.languageDetector.init&&p.languageDetector.init(p,this.options.detection,this.options)),this.modules.i18nFormat&&(p.i18nFormat=o(this.modules.i18nFormat),p.i18nFormat.init&&p.i18nFormat.init(this)),this.translator=new _s(this.services,this.options),this.translator.on("*",(m,...f)=>{this.emit(m,...f)}),this.modules.external.forEach(m=>{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Oa),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(c=>{this[c]=(...d)=>this.store[c](...d)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(c=>{this[c]=(...d)=>(this.store[c](...d),this)});const s=ti(),l=()=>{const c=(d,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),s.resolve(p),n(d,p)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return c(null,this.t.bind(this));this.changeLanguage(this.options.lng,c)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),s}loadResources(t,n=Oa){var i,a;let r=n;const o=Y(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if((o==null?void 0:o.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],l=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(p=>{p!=="cimode"&&(s.includes(p)||s.push(p))})};o?l(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(d=>l(d)),(a=(i=this.options.preload)==null?void 0:i.forEach)==null||a.call(i,c=>l(c)),this.services.backendConnector.load(s,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(c)})}else r(null)}reloadResources(t,n,r){const o=ti();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=Oa),this.services.backendConnector.reload(t,n,i=>{o.resolve(),r(i)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&kw.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!["cimode","dev"].includes(t)){for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!["cimode","dev"].includes(r)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&!this.languages.includes(t)&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,n){this.isLanguageChangingTo=t;const r=ti();this.emit("languageChanging",t);const o=s=>{this.language=s,this.languages=this.services.languageUtils.toResolveHierarchy(s),this.resolvedLanguage=void 0,this.setResolvedLanguage(s)},i=(s,l)=>{l?this.isLanguageChangingTo===t&&(o(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,r.resolve((...c)=>this.t(...c)),n&&n(s,(...c)=>this.t(...c))},a=s=>{var d,p;!t&&!s&&this.services.languageDetector&&(s=[]);const l=Y(s)?s:s&&s[0],c=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(Y(s)?[s]:s);c&&(this.language||o(c),this.translator.language||this.translator.changeLanguage(c),(p=(d=this.services.languageDetector)==null?void 0:d.cacheUserLanguage)==null||p.call(d,c)),this.loadResources(c,m=>{i(m,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(t),r}getFixedT(t,n,r,o){const i=o==null?void 0:o.scopeNs,a=(s,l,...c)=>{let d;typeof l!="object"?d=this.options.overloadTranslationOptionHandler([s,l].concat(c)):d={...l},d.lng=d.lng||a.lng,d.lngs=d.lngs||a.lngs;const p=d.ns!==void 0&&d.ns!==null;d.ns=d.ns||a.ns,d.keyPrefix!==""&&(d.keyPrefix=d.keyPrefix||r||a.keyPrefix);const m={...this.options,...d};Array.isArray(i)&&!p&&(m.ns=i),typeof d.keyPrefix=="function"&&(d.keyPrefix=ho(d.keyPrefix,m));const f=this.options.keySeparator||".";let w;return d.keyPrefix&&Array.isArray(s)?w=s.map(g=>(typeof g=="function"&&(g=ho(g,m)),`${d.keyPrefix}${f}${g}`)):(typeof s=="function"&&(s=ho(s,m)),w=d.keyPrefix?`${d.keyPrefix}${f}${s}`:s),this.t(w,d)};return Y(t)?a.lng=t:a.lngs=t,a.ns=n,a.keyPrefix=r,a}t(...t){var n;return(n=this.translator)==null?void 0:n.translate(...t)}exists(...t){var n;return(n=this.translator)==null?void 0:n.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
213if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const a=(s,l)=>{const c=this.services.backendConnector.state[`${s}|${l}`];return c===-1||c===0||c===2};if(n.precheck){const s=n.precheck(this,a);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,t)&&(!o||a(i,t)))}loadNamespaces(t,n){const r=ti();return this.options.ns?(Y(t)&&(t=[t]),t.forEach(o=>{this.options.ns.includes(o)||this.options.ns.push(o)}),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=ti();Y(t)&&(t=[t]);const o=this.options.preload||[],i=t.filter(a=>!o.includes(a)&&this.services.languageUtils.isSupportedCode(a));return i.length?(this.options.preload=o.concat(i),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}dir(t){var o,i;if(t||(t=this.resolvedLanguage||(((o=this.languages)==null?void 0:o.length)>0?this.languages[0]:this.language)),!t)return"rtl";try{const a=new Intl.Locale(t);if(a&&a.getTextInfo){const s=a.getTextInfo();if(s&&s.direction)return s.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=((i=this.services)==null?void 0:i.languageUtils)||new Fm(vc());return t.toLowerCase().indexOf("-latn")>1?"ltr":n.includes(r.getLanguagePartFromCode(t))||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},n){const r=new vi(t,n);return r.createInstance=vi.createInstance,r}cloneInstance(t={},n=Oa){const r=t.forkResourceStore;r&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},i=new vi(o);if((t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(s=>{i[s]=this[s]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r){const s=Object.keys(this.store.data).reduce((l,c)=>(l[c]={...this.store.data[c]},l[c]=Object.keys(l[c]).reduce((d,p)=>(d[p]={...l[c][p]},d),l[c]),l),{});i.store=new $m(s,o),i.services.resourceStore=i.store}if(t.interpolation){const l={...vc().interpolation,...this.options.interpolation,...t.interpolation},c={...o,interpolation:l};i.services.interpolator=new Um(c)}return i.translator=new _s(i.services,o),i.translator.on("*",(s,...l)=>{i.emit(s,...l)}),i.init(o,n),i.translator.options=o,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Oe=vi.createInstance();Oe.createInstance;Oe.dir;Oe.init;Oe.loadResources;Oe.reloadResources;Oe.use;Oe.changeLanguage;Oe.getFixedT;Oe.t;Oe.exists;Oe.setDefaultNamespace;Oe.hasLoadedNamespace;Oe.loadNamespaces;Oe.loadLanguages;const EN=(e,t,n,r)=>{var i,a,s,l;const o=[n,{code:t,...r||{}}];if((a=(i=e==null?void 0:e.services)==null?void 0:i.logger)!=null&&a.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);Nr(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),(l=(s=e==null?void 0:e.services)==null?void 0:s.logger)!=null&&l.warn?e.services.logger.warn(...o):console!=null&&console.warn&&console.warn(...o)},Ym={},es=(e,t,n,r)=>{Nr(n)&&Ym[n]||(Nr(n)&&(Ym[n]=new Date),EN(e,t,n,r))},Cw=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Bu=(e,t,n)=>{e.loadNamespaces(t,Cw(e,n))},Km=(e,t,n,r)=>{if(Nr(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Bu(e,n,r);
213n.forEach(o=>{e.options.ns.indexOf(o)<0&&e.options.ns.push(o)}),e.loadLanguages(t,Cw(e,r))},jN=(e,t,n={})=>!t.languages||!t.languages.length?(es(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,o)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!o(r.isLanguageChangingTo,e))return!1}}),Nr=e=>typeof e=="string",NN=e=>typeof e=="object"&&e!==null,PN=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,TN={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},AN=e=>TN[e],RN=e=>e.replace(PN,AN);let Wu={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:RN,transDefaultProps:void 0};const MN=(e={})=>{Wu={...Wu,...e}},ON=()=>Wu;let Ew;const LN=e=>{Ew=e},DN=()=>Ew,zN={type:"3rdParty",init(e){MN(e.options.react),LN(e)}},IN=h.createContext();class _N{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var jw={exports:{}},Nw={};/**
214 * @license React
215 * use-sync-external-store-shim.production.js
216 *
217 * Copyright (c) Meta Platforms, Inc. and affiliates.
218 *
219 * This source code is licensed under the MIT license found in the
220 * LICENSE file in the root directory of this source tree.
221 */var Do=h;function $N(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var FN=typeof Object.is=="function"?Object.is:$N,BN=Do.useState,WN=Do.useEffect,qN=Do.useLayoutEffect,UN=Do.useDebugValue;function VN(e,t){var n=t(),r=BN({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return qN(function(){o.value=n,o.getSnapshot=t,wc(o)&&i({inst:o})},[e,n,t]),WN(function(){return wc(o)&&i({inst:o}),e(function(){wc(o)&&i({inst:o})})},[e]),UN(n),n}function wc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!FN(e,n)}catch{return!0}}function HN(e,t){return t()}var YN=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?HN:VN;Nw.useSyncExternalStore=Do.useSyncExternalStore!==void 0?Do.useSyncExternalStore:YN;jw.exports=Nw;var KN=jw.exports;const GN=(e,t)=>{if(Nr(t))return t;if(NN(t)&&Nr(t.defaultValue))return t.defaultValue;if(typeof e=="function")return"";if(Array.isArray(e)){const n=e[e.length-1];return typeof n=="function"?"":n}return e},QN={t:GN,ready:!1},XN=()=>()=>{},fe=(e,t={})=>{var M,R,U;const{i18n:n}=t,{i18n:r,defaultNS:o}=h.useContext(IN)||{},i=n||r||DN();i&&!i.reportNamespaces&&(i.reportNamespaces=new _N),i||es(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next or by passing it via props or context. In monorepo setups, make sure there is only one instance of react-i18next.");const a=h.useMemo(()=>{var O;return{...ON(),...(O=i==null?void 0:i.options)==null?void 0:O.react,...t}},[i,t]),{useSuspense:s,keyPrefix:l}=a,c=o||((M=i==null?void 0:i.options)==null?void 0:M.defaultNS),d=Nr(c)?[c]:c||["translation"],p=h.useMemo(()=>d,d);(U=(R=i==null?void 0:i.reportNamespaces)==null?void 0:R.addUsedNamespaces)==null||U.call(R,p);const m=h.useRef(0),f=h.useCallback(O=>{if(!i)return XN;const{bindI18n:I,bindI18nStore:A}=a,q=()=>{m.current+=1,O()};return I&&i.on(I,q),A&&i.store.on(A,q),()=>{I&&I.split(" ").forEach(_=>i.off(_,q)),A&&A.split(" ").forEach(_=>i.store.off(_,q))}},[i,a]),w=h.useRef(),g=h.useCallback(()=>{if(!i)return QN;const O=!!(i.isInitialized||i.initializedStoreOnce)&&p.every(N=>jN(N,i,a)),I=t.lng||i.language,A=m.current,q=w.current;if(q&&q.ready===O&&q.lng===I&&q.keyPrefix===l&&q.revision===A)return q;const W={t:i.getFixedT(I,a.nsMode==="fallback"?p:p[0],l,{scopeNs:p}),ready:O,lng:I,keyPrefix:l,revision:A};return w.current=W,W},[i,p,l,a,t.lng]),[b,v]=h.useState(0),{t:y,ready:x}=KN.useSyncExternalStore(f,g,g);h.useEffect(()=>{if(i&&!x&&!s){const O=()=>v(I=>I+1);t.lng?Km(i,t.lng,p,O):Bu(i,p,O)}},[i,t.lng,p,x,s,b]);const k=i||{},S=h.useRef(null),E=h.useRef(),C=O=>{const I=Object.getOwnPropertyDescriptors(O);I.__original&&delete I.__original;const A=Object.create(Object.getPrototypeOf(O),I);if(!Object.prototype.hasOwnProperty.call(A,"__original"))try{Object.defineProperty(A,"__original",{value:O,writable:!1,enumerable:!1,
221configurable:!1})}catch{}return A},P=h.useMemo(()=>{const O=k,I=O==null?void 0:O.language;let A=O;O&&(S.current&&S.current.__original===O?E.current!==I?(A=C(O),S.current=A,E.current=I):A=S.current:(A=C(O),S.current=A,E.current=I));const q=!x&&!s?(...W)=>(es(i,"USE_T_BEFORE_READY","useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."),y(...W)):y,_=[q,A,x];return _.t=q,_.i18n=A,_.ready=x,_},[y,k,x,k.resolvedLanguage,k.language,k.languages]);if(i&&s&&!x){let O=!1;try{O=!1}catch{}throw O&&es(i,"SUSPENDED_WHILE_LOADING","useTranslation: suspended while translations are loading (useSuspense is true by default). Add a <Suspense> boundary above this component, or set react.useSuspense: false in the i18next init options. https://react.i18next.com/latest/usetranslation-hook"),new Promise(I=>{const A=()=>I();t.lng?Km(i,t.lng,p,A):Bu(i,p,A)})}return P},{slice:ZN,forEach:JN}=[];function eP(e){return JN.call(ZN.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}
vendor: 8,121 bytes, line 221
221function tP(e){return typeof e!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(n=>n.test(e))}const Gm=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,nP=function(e,t){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},o=encodeURIComponent(t);let i=`${e}=${o}`;if(r.maxAge>0){const a=r.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(a)}`}if(r.domain){if(!Gm.test(r.domain))throw new TypeError("option domain is invalid");i+=`; Domain=${r.domain}`}if(r.path){if(!Gm.test(r.path))throw new TypeError("option path is invalid");i+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");i+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(i+="; Partitioned"),i},Qm={create(e,t,n,r){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+n*60*1e3)),r&&(o.domain=r),document.cookie=nP(e,t,o)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let o=n[r];for(;o.charAt(0)===" ";)o=o.substring(1,o.length);if(o.indexOf(t)===0)return o.substring(t.length,o.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var rP={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return Qm.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:r,cookieDomain:o,cookieOptions:i}=t;n&&typeof document<"u"&&Qm.create(n,e,r,o,i)}},oP={name:"querystring",lookup(e){var r;let{lookupQuerystring:t}=e,n;if(typeof window<"u"){let{search:o}=window.location;!window.location.search&&((r=window.location.hash)==null?void 0:r.indexOf("?"))>-1&&(o=window.location.hash.substring(window.location.hash.indexOf("?")));const a=o.substring(1).split("&");for(let s=0;s<a.length;s++){const l=a[s].indexOf("=");l>0&&a[s].substring(0,l)===t&&(n=a[s].substring(l+1))}}return n}},iP={name:"hash",lookup(e){var o;let{lookupHash:t,lookupFromHashIndex:n}=e,r;if(typeof window<"u"){const{hash:i}=window.location;if(i&&i.length>2){const a=i.substring(1);if(t){const s=a.split("&");for(let l=0;l<s.length;l++){const c=s[l].indexOf("=");c>0&&s[l].substring(0,c)===t&&(r=s[l].substring(c+1))}}if(r)return r;if(!r&&n>-1){const s=i.match(/\/([a-zA-Z-]*)/g);return Array.isArray(s)?(o=s[typeof n=="number"?n:0])==null?void 0:o.replace("/",""):void 0}}}return r}};let Br=null;const Xm=()=>{if(Br!==null)return Br;try{if(Br=typeof window<"u"&&window.localStorage!==null,!Br)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Br=!1}return Br};var aP={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&Xm())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&Xm()&&window.localStorage.setItem(n,e)}};let Wr=null;const Zm=()=>{if(Wr!==null)return Wr;try{if(Wr=typeof window<"u"&&window.sessionStorage!==null,!Wr)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Wr=!1}return Wr};var sP={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&Zm())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&Zm()&&window.sessionStorage.setItem(n,e)}},lP={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:o}=navigator;if(n)for(let i=0;i<n.length;i++)t.push(n[i]);r&&t.push(r),o&&t.push(o)}return t.length>0?t:void 0}},cP={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},uP={name:"path",lookup(e){var o;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(o=n[typeof t=="number"?t:0])==null?void 0:o.replace("/",""):void 0}},dP={name:"subdomain",lookup(e){var o,i;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((i=(o=window.location)==null?void 0:o.hostname)==null?void 0:i.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};let Pw=!1;try{document.cookie,Pw=!0}catch{}const Tw=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];Pw||Tw.splice(1,1);const pP=()=>({order:Tw,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e});class Aw{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=eP(n,this.options||{},pP()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=o=>o.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(rP),this.addDetector(oP),this.addDetector(aP),this.addDetector(sP),this.addDetector(lP),this.addDetector(cP),this.addDetector(uP),this.addDetector(dP),this.addDetector(iP)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return t.forEach(r=>{if(this.detectors[r]){let o=this.detectors[r].lookup(this.options);o&&typeof o=="string"&&(o=[o]),o&&(n=n.concat(o))}}),n=n.filter(r=>r!=null&&!tP(r)).map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}Aw.type="languageDetector";const fP={label:"Language"},mP={cta:"Get started now",note:"Secure checkout with Stripe"},hP={features:"Features",faq:"FAQ",bookCall:"Book a call",included:"What's Included"},gP={titleStart:"Your Own White Label App,",titleAccent:"Under Your Brand",subtitle:"We build a fully white labelled app for your business, live in the App Store and Google Play in weeks.",bookMeeting:"Book a discovery call",socialProof:"Join 100+ creators who launched their own apps"},yP={secure:"Secure & Private",launch:"2-4 Week Launch",apps:"100+ Apps Launched",support:"Dedicated Support"},vP={title:"Two Ways to Get Started",subtitle:"Choose what works best for your brand",existing:{title:"Use WithMe App",desc:"Perfect for most creators. Download our existing app from the App Store or Google Play and start building your community today.",f1:"Ready to use immediately",f2:"All features included",f3:"Free to download",cta:"Get WithMe App"},custom:{badge:"PREMIUM",title:"Your White Label App",desc:"Want YOUR brand in the App Store? We build a fully white labelled app with your branding, domain, and identity.",f1:"100% your brand & logo",f2:"Your own App Store listing",f3:"Custom domain & identity",f4:"Full ownership & c
221ontrol",book:"Book a discovery call",f5:"£399 a month, all in"}},wP={before:{badge:"Before",title:"Scattered, Rented Platforms",p1:"Relying on link-in-bios that don't convert",p2:"Multiple tools with inconsistent branding",p3:"Platform algorithms controlling your reach",p4:"No real ownership of your audience"},after:{badge:"After",title:"Your Brand, Your App",p1:"Own your brand presence in the App Store",p2:"Complete control over your ecosystem",p3:'Proudly say "Download my app"',p4:"Direct access to your audience, always"}},xP={title:"Already Live in the App Store",subtitle:"Two apps we built and shipped for creators, both live right now",category:"Lifestyle",view:"View on the App Store",footnote:"Both built on WithMe's platform, published under the creator's own brand.",alt1:"{{app}} app home screen",alt2:"{{app}} app content screen",alt3:"{{app}} app profile screen"},bP={title:"How to start",subtitle:"Three simple steps to your own app",s1:"Book a discovery call.",s2:"Confirm app scope, brand assets, and launch requirements.",s3:"WithMe builds, submits, and launches the app."},kP={title:"Everything You Need",subtitle:"A complete, white-labelled mobile experience that puts you in control",items:{branded:{title:"Fully Branded App",desc:"Your logo, colours, fonts, and layout, designed exactly how you want it."},stores:{title:"App Store & Google Play",desc:"Live on both platforms under your brand name. Your app, your listing."},platform:{title:"Complete Platform Access",desc:"Courses, community, coaching, and subscriptions, all in one beautiful app."},dfy:{title:"Done-For-You Publishing",desc:"We handle everything: development, submission, and ongoing updates."},launch:{title:"Fast Launch Timeline",desc:"Ready to go live in just 2-4 weeks. No lengthy development cycles."},maintenance:{title:"Zero Maintenance",desc:"No coding required. We maintain and update your app for you."}}},SP={title:"What's Included",subtitle:"Everything you get with your white label app",features:{f1:"Fully branded iOS + Android app with your logo, colours, and fonts",f2:"Published on both App Store & Google Play (included)",f3:"Complete access to courses, community, and coaching tools",f4:"Done-for-you development and publishing",f5:"Ongoing maintenance and updates included",f6:"Launch in 2-4 weeks",f7:"Dedicated support team"},cta:"Book a discovery call",qualifier:"Prefer to pay once and own the build outright? We scope and price that with you on the call.",price:"£399/month",priceNote:"Everything included: the build, both app stores, hosting, updates, and your WithMe subscription. Nothing to pay upfront."},CP={title:"Loved by Creators",subtitle:"See how top creators launched their apps with WithMe",t1:{quote:"Having my own app completely changed how my audience sees me. It's no longer 'check my link in bio', it's 'download my app.' The credibility is incredible.",role:"Fitness Coach"},t2:{quote:"WithMe made the entire process seamless. From design to launch, they handled everything. Now I have my own app in the App Store without spending £100K on developers.",role:"Business Educator"},t3:{quote:"I was sceptical at first, but seeing my brand on the App Store was a game-changer. My community loves having everything in one place, and I love having full control.",role:"Wellness Creator"}},EP={title:"Frequently Asked Questions",subtitle:"Everything you need to know about getting your own app",q0:{q:"How much does it cost?",a:"£399 a month, everything included. If you would rather pay a one-time build fee and own it outright, we price that with you on the call."},q1:{q:"Who owns the app?",a:"You do! The app is published under your brand name on the App Store and Google Play. You own your app listing, your brand, and your audience relationship."},q2:{q:"How long does it take?",a:"Typically 2-4 weeks from start to launch. We handle all the development, testing, and submission to both app stores so you can focus on your business."},q3:{q:"What's included in the service?",a:"Everything: custom design with your branding, full development, App Store and Google Play publishing, access to WithMe's course, community, and coaching platform, ongoing maintenance, and dedicated support."},q4:{q:"Do I need technical skills?",a:"Absolutely not. We handle all the technical work, from design and development to app store submissions and updates. You just provide your brand assets and content."},q5:{q:"What features can I have in my app?",a:"Your app includes courses, live coaching, community features, subscriptions, in-app payments, content libraries, messaging, and more. It's a complete ecosystem for your business."},q6:{q:"What if I want to make changes after launch?",a:"No problem! Ongoing maintenance and updates are included. Just let us know what you'd like to change, and we'll handle it for you."}},jP={title1:"Your brand deserves more than a link in bio.",title2:"It deserves its own app.",subt
221itle:"Join the creators who've stopped renting and started owning their digital presence.",book:"Book a discovery call",foot:"Ready to launch in 2-4 weeks • No technical skills required"},NP={title:"Ready to launch your app?",sub:"Start building today",book:"Book a discovery call",dismiss:"Dismiss"},PP={a11yTitle:"A few quick questions",a11yDescription:"Answer four quick questions to check whether a white label app is the right next step for your business.",progress:"Step {{current}} of {{total}}",back:"Back",business:{title:"What kind of business is this?",o1:"Coach or consultant",o2:"Course creator or educator",o3:"Membership or community",o4:"Studio, gym or in-person",o5:"Something else"},audience:{title:"Roughly how big is your audience?",o1:"Under 500",o2:"500 to 2,000",o3:"2,000 to 10,000",o4:"Over 10,000"},revenue:{title:"Roughly what does the business bring in each month?",perMonth:"Per month",o1:"Under 1k",o2:"1k to 5k",o3:"5k to 15k",o4:"Over 15k"},content:{title:"Do you have content or an offer people already pay for?",o1:"Yes, running now",o2:"Some, but not packaged up",o3:"Not yet"},result:{good:{title:"Good fit. Let's scope it.",body:"Bring what you already have and we will map what your app needs to do on the call.",cta:"Pick a time"},notyet:{title:"Honest answer: an app is not your next step.",body:"A branded app earns its keep once you have people paying and content to put inside it. Buying one before that just adds cost. Start on the WithMe app instead, get your offer and content running, and the branded version will be worth it when you come back to it.",cta:"Start on the WithMe app",secondary:"Book a call anyway"}}},TP={hero:{eyebrow:"Built from your WithMe content",title:"{{name}}, your content already has the foundations of a branded app.",body:"This is a live first look based on what is already in your WithMe account. It is not a finished app or a guarantee, but it shows how your content could come together under your brand.",explore:"Explore your app preview",book:"Book a discovery call"},facts:{courses:"courses",communities:"communities",products:"products"},readiness:{eyebrow:"Your readiness",title:"Most of your app is already here.",body:"Your WithMe account already gives {{name}} a strong content foundation. WithMe handles development, submission, hosting, maintenance and updates.",profile:"Profile",content:"Content",brand:"Brand assets",store:"Store details",available:"Available from your account",review:"Needs review",needed:"Needed from you",cta:"Book a discovery call"},preview:{home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",appLabel:"Your app preview",available:"Ready to shape",empty:"Nothing here yet",footer:"Personalised first look",a11y:"Interactive app preview"},personalised:{yourPreview:"Your preview",whatsIncluded:"What's included",howItWorks:"How it works",viewOffer:"View the offer",builtFromProfile:"Built from your WithMe content",revealTitleEpic:"Your history universe. Now an app.",revealTitle:"{{name}}, your content universe. Now an app.",revealBodyEpic:"Your strongest content is already mapped, from {{first}} to {{second}} and {{third}}.",revealBody:"Your {{category}} content already has the shape of an app, with the strongest pieces ready to map into one experience.",contentCategory:"content",explorePreview:"Explore your preview",seeNeeded:"See what's needed",productsFound:"products found",coursesMapped:"courses mapped",communitiesFound:"communities found",coverTitleEpic:"A living history of the world",coverTitle:"Your {{category}} world",coverSubtext:"A first look at how your content could come together.",continueExploring:"Continue exploring",viewAll:"View all",appPreview:"App preview",profileFound:"Profile and content found",brandStillNeeded:"Brand assets still needed",phoneHeadline:"Your world, in one place",phoneSubhead:"A clearer way to bring people back to your work.",home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",types:{course:"Course",community:"Community",membership:"Membership",digital:"Digital",content:"Content"},readyToShape:"Ready to shape",readinessEyebrow:"Readiness",livePayload:"Live payload",contentMap:"Content map",stillNeeded:"Still needed",profileAvailable:"and biography available",products:"products",courses:"courses",communities:"communities",brandAssets:"Brand assets",brandDetail:"Logo, colours, store details and launch requirements",offerEyebrow:"Your app, ready to launch",offerTitle:"One tap away from your audience",offerBody:"WithMe can shape {{name}}'s existing content into a branded app your audience can return to.",appStores:"app stores included",weekTarget:"week target",upfront:"upfront build fee",currentOffer:"Current offer",offerIncluded:"Build, hosting, stores and updates included",offerBranding:"{{name}} branding throughout",offerStores:"iOS and Android publishing",offerContent:"{{courses}} courses, {{communities}}
221 communities and {{productCount}} products mapped",offerMaintenance:"Ongoing maintenance and updates",checkReadiness:"Check launch readiness",bookSupporting:"Book a discovery call"}},AP={lang:fP,checkout:mP,nav:hP,hero:gP,trust:yP,appChoice:vP,problem:wP,showcase:xP,howToStart:bP,features:kP,pricing:SP,social:CP,faq:EP,finalCta:jP,floating:NP,qualify:PP,creator:TP},RP={label:"Language"},MP={cta:"Get started now",note:"Secure checkout with Stripe"},OP={features:"Features",faq:"FAQ",bookCall:"Book a call",included:"What's Included"},LP={titleStart:"Your Own White Label App,",titleAccent:"Under Your Brand",subtitle:"We build a fully white labeled app for your business, live in the App Store and Google Play in weeks.",bookMeeting:"Book a discovery call",socialProof:"Join 100+ creators who launched their own apps"},DP={secure:"Secure & Private",launch:"2-4 Week Launch",apps:"100+ Apps Launched",support:"Dedicated Support"},zP={title:"Two Ways to Get Started",subtitle:"Choose what works best for your brand",existing:{title:"Use WithMe App",desc:"Perfect for most creators. Download our existing app from the App Store or Google Play and start building your community today.",f1:"Ready to use immediately",f2:"All features included",f3:"Free to download",cta:"Get WithMe App"},custom:{badge:"PREMIUM",title:"Your White Label App",desc:"Want YOUR brand in the App Store? We build a fully white labeled app with your branding, domain, and identity.",f1:"100% your brand & logo",f2:"Your own App Store listing",f3:"Custom domain & identity",f4:"Full ownership & c
221ontrol",book:"Book a discovery call",f5:"$399 a month, all in"}},IP={before:{badge:"Before",title:"Scattered, Rented Platforms",p1:"Relying on link-in-bios that don't convert",p2:"Multiple tools with inconsistent branding",p3:"Platform algorithms controlling your reach",p4:"No real ownership of your audience"},after:{badge:"After",title:"Your Brand, Your App",p1:"Own your brand presence in the App Store",p2:"Complete control over your ecosystem",p3:'Proudly say "Download my app"',p4:"Direct access to your audience, always"}},_P={title:"Already Live in the App Store",subtitle:"Two apps we built and shipped for creators, both live right now",category:"Lifestyle",view:"View on the App Store",footnote:"Both built on WithMe's platform, published under the creator's own brand.",alt1:"{{app}} app home screen",alt2:"{{app}} app content screen",alt3:"{{app}} app profile screen"},$P={title:"How to start",subtitle:"Three simple steps to your own app",s1:"Book a discovery call.",s2:"Confirm app scope, brand assets, and launch requirements.",s3:"WithMe builds, submits, and launches the app."},FP={title:"Everything You Need",subtitle:"A complete, white-labeled mobile experience that puts you in control",items:{branded:{title:"Fully Branded App",desc:"Your logo, colors, fonts, and layout, designed exactly how you want it."},stores:{title:"App Store & Google Play",desc:"Live on both platforms under your brand name. Your app, your listing."},platform:{title:"Complete Platform Access",desc:"Courses, community, coaching, and subscriptions, all in one beautiful app."},dfy:{title:"Done-For-You Publishing",desc:"We handle everything: development, submission, and ongoing updates."},launch:{title:"Fast Launch Timeline",desc:"Ready to go live in just 2-4 weeks. No lengthy development cycles."},maintenance:{title:"Zero Maintenance",desc:"No coding required. We maintain and update your app for you."}}},BP={title:"What's Included",subtitle:"Everything you get with your white label app",features:{f1:"Fully branded iOS + Android app with your logo, colors, and fonts",f2:"Published on both App Store & Google Play (included)",f3:"Complete access to courses, community, and coaching tools",f4:"Done-for-you development and publishing",f5:"Ongoing maintenance and updates included",f6:"Launch in 2-4 weeks",f7:"Dedicated support team"},cta:"Book a discovery call",qualifier:"Prefer to pay once and own the build outright? We scope and price that with you on the call.",price:"$399/month",priceNote:"Everything included: the build, both app stores, hosting, updates, and your WithMe subscription. Nothing to pay upfront."},WP={title:"Loved by Creators",subtitle:"See how top creators launched their apps with WithMe",t1:{quote:"Having my own app completely changed how my audience sees me. It's no longer 'check my link in bio', it's 'download my app.' The credibility is incredible.",role:"Fitness Coach"},t2:{quote:"WithMe made the entire process seamless. From design to launch, they handled everything. Now I have my own app in the App Store without spending $100K on developers.",role:"Business Educator"},t3:{quote:"I was skeptical at first, but seeing my brand on the App Store was a game-changer. My community loves having everything in one place, and I love having full control.",role:"Wellness Creator"}},qP={title:"Frequently Asked Questions",subtitle:"Everything you need to know about getting your own app",q0:{q:"How much does it cost?",a:"$399 a month, everything included. If you would rather pay a one-time build fee and own it outright, we price that with you on the call."},q1:{q:"Who owns the app?",a:"You do! The app is published under your brand name on the App Store and Google Play. You own your app listing, your brand, and your audience relationship."},q2:{q:"How long does it take?",a:"Typically 2-4 weeks from start to launch. We handle all the development, testing, and submission to both app stores so you can focus on your business."},q3:{q:"What's included in the service?",a:"Everything: custom design with your branding, full development, App Store and Google Play publishing, access to WithMe's course, community, and coaching platform, ongoing maintenance, and dedicated support."},q4:{q:"Do I need technical skills?",a:"Absolutely not. We handle all the technical work, from design and development to app store submissions and updates. You just provide your brand assets and content."},q5:{q:"What features can I have in my app?",a:"Your app includes courses, live coaching, community features, subscriptions, in-app payments, content libraries, messaging, and more. It's a complete ecosystem for your business."},q6:{q:"What if I want to make changes after launch?",a:"No problem! Ongoing maintenance and updates are included. Just let us know what you'd like to change, and we'll handle it for you."}},UP={title1:"Your brand deserves more than a link in bio.",title2:"It deserves its own app.",subt
221itle:"Join the creators who've stopped renting and started owning their digital presence.",book:"Book a discovery call",foot:"Ready to launch in 2-4 weeks • No technical skills required"},VP={title:"Ready to launch your app?",sub:"Start building today",book:"Book a discovery call",dismiss:"Dismiss"},HP={a11yTitle:"A few quick questions",a11yDescription:"Answer four quick questions to check whether a white label app is the right next step for your business.",progress:"Step {{current}} of {{total}}",back:"Back",business:{title:"What kind of business is this?",o1:"Coach or consultant",o2:"Course creator or educator",o3:"Membership or community",o4:"Studio, gym or in-person",o5:"Something else"},audience:{title:"Roughly how big is your audience?",o1:"Under 500",o2:"500 to 2,000",o3:"2,000 to 10,000",o4:"Over 10,000"},revenue:{title:"Roughly what does the business bring in each month?",perMonth:"Per month",o1:"Under 1k",o2:"1k to 5k",o3:"5k to 15k",o4:"Over 15k"},content:{title:"Do you have content or an offer people already pay for?",o1:"Yes, running now",o2:"Some, but not packaged up",o3:"Not yet"},result:{good:{title:"Good fit. Let's scope it.",body:"Bring what you already have and we will map what your app needs to do on the call.",cta:"Pick a time"},notyet:{title:"Honest answer: an app is not your next step.",body:"A branded app earns its keep once you have people paying and content to put inside it. Buying one before that just adds cost. Start on the WithMe app instead, get your offer and content running, and the branded version will be worth it when you come back to it.",cta:"Start on the WithMe app",secondary:"Book a call anyway"}}},YP={hero:{eyebrow:"Built from your WithMe content",title:"{{name}}, your content already has the foundations of a branded app.",body:"This is a live first look based on what is already in your WithMe account. It is not a finished app or a guarantee, but it shows how your content could come together under your brand.",explore:"Explore your app preview",book:"Book a discovery call"},facts:{courses:"courses",communities:"communities",products:"products"},readiness:{eyebrow:"Your readiness",title:"Most of your app is already here.",body:"Your WithMe account already gives {{name}} a strong content foundation. WithMe handles development, submission, hosting, maintenance and updates.",profile:"Profile",content:"Content",brand:"Brand assets",store:"Store details",available:"Available from your account",review:"Needs review",needed:"Needed from you",cta:"Book a discovery call"},preview:{home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",appLabel:"Your app preview",available:"Ready to shape",empty:"Nothing here yet",footer:"Personalised first look",a11y:"Interactive app preview"},personalised:{yourPreview:"Your preview",whatsIncluded:"What's included",howItWorks:"How it works",viewOffer:"View the offer",builtFromProfile:"Built from your WithMe content",revealTitleEpic:"Your history universe. Now an app.",revealTitle:"{{name}}, your content universe. Now an app.",revealBodyEpic:"Your strongest content is already mapped, from {{first}} to {{second}} and {{third}}.",revealBody:"Your {{category}} content already has the shape of an app, with the strongest pieces ready to map into one experience.",contentCategory:"content",explorePreview:"Explore your preview",seeNeeded:"See what's needed",productsFound:"products found",coursesMapped:"courses mapped",communitiesFound:"communities found",coverTitleEpic:"A living history of the world",coverTitle:"Your {{category}} world",coverSubtext:"A first look at how your content could come together.",continueExploring:"Continue exploring",viewAll:"View all",appPreview:"App preview",profileFound:"Profile and content found",brandStillNeeded:"Brand assets still needed",phoneHeadline:"Your world, in one place",phoneSubhead:"A clearer way to bring people back to your work.",home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",types:{course:"Course",community:"Community",membership:"Membership",digital:"Digital",content:"Content"},readyToShape:"Ready to shape",readinessEyebrow:"Readiness",livePayload:"Live payload",contentMap:"Content map",stillNeeded:"Still needed",profileAvailable:"and biography available",products:"products",courses:"courses",communities:"communities",brandAssets:"Brand assets",brandDetail:"Logo, colours, store details and launch requirements",offerEyebrow:"Your app, ready to launch",offerTitle:"One tap away from your audience",offerBody:"WithMe can shape {{name}}'s existing content into a branded app your audience can return to.",appStores:"app stores included",weekTarget:"week target",upfront:"upfront build fee",currentOffer:"Current offer",offerIncluded:"Build, hosting, stores and updates included",offerBranding:"{{name}} branding throughout",offerStores:"iOS and Android publishing",offerContent:"{{courses}} courses, {{communities}}
221 communities and {{productCount}} products mapped",offerMaintenance:"Ongoing maintenance and updates",checkReadiness:"Check launch readiness",bookSupporting:"Book a discovery call"}},KP={lang:RP,checkout:MP,nav:OP,hero:LP,trust:DP,appChoice:zP,problem:IP,showcase:_P,howToStart:$P,features:FP,pricing:BP,social:WP,faq:qP,finalCta:UP,floating:VP,qualify:HP,creator:YP},GP={label:"Langue"},QP={cta:"Commencer maintenant",note:"Paiement sécurisé avec Stripe"},XP={features:"Fonctionnalités",faq:"FAQ",bookCall:"Réserver un appel",included:"Ce qui est inclus"},ZP={titleStart:"Votre application en marque blanche,",titleAccent:"Sous votre marque",subtitle:"Nous créons une application entièrement en marque blanche pour votre entreprise, disponible sur l'App Store et Google Play en quelques semaines.",bookMeeting:"Réserver un appel découverte",socialProof:"Rejoignez plus de 100 créateurs qui ont lancé leur propre application"},JP={secure:"Sécurisé et privé",launch:"Lancement en 2 à 4 semaines",apps:"Plus de 100 applications lancées",support:"Support dédié"},eT={title:"Deux façons de commencer",subtitle:"Choisissez ce qui convient le mieux à votre marque",existing:{title:"Utiliser l'application WithMe",desc:"Parfait pour la plupart des créateurs. Téléchargez notre application depuis l'App Store ou Google Play et commencez à développer votre communauté dès aujourd'hui.",f1:"Prêt à l'emploi immédiatement",f2:"Toutes les fonctionnalités incluses",f3:"Téléchargement gratuit",cta:"Obtenir l'application WithMe"},custom:{badge:"PREMIUM",title:"Votre application en marque blanche",desc:"Vous voulez VOTRE marque sur l'App Store ? Nous créons une application entièrement en marque blanche avec votre identité, votre domaine et votre image.",f1:"100 % votre marque et votre logo",f2:"Votre propre fiche sur l'App Store",f3:"Domaine et identité personnalisés",f4:"Propriété et contrôle total",book:"Réserver un appel découverte",f5:"$399 par mois, tout compris"}},tT={before:{badge:"Avant",title:"Plateformes dispersées et louées",p1:"S'appuyer sur des liens en bio qui ne convertissent pas",p2:"Plusieurs outils avec une image de marque incohérente",p3:"Les algorithmes des plateformes contrôlent votre portée",p4:"Aucune propriété réelle de votre audience"},after:{badge:"Après",title:"Votre marque, votre application",p1:"Possédez votre présence de marque sur l'App Store",p2:"Contrôle total sur votre écosystème",p3:"Dites fièrement « Téléchargez mon application »",p4:"Accès direct à votre audience, toujours"}},nT={title:"Déjà en ligne sur l'App Store",subtitle:"Deux applications que nous avons créées et publiées pour des créateurs, toutes deux en ligne actuellement",category:"Style de vie",view:"Voir sur l'App Store",footnote:"Toutes deux créées sur la plateforme WithMe, publiées sous la marque du créateur.",alt1:"Écran d'accueil de l'application {{app}}",alt2:"Écran de contenu de l'application {{app}}",alt3:"Écran de profil de l'application {{app}}"},rT={title:"Comment commencer",subtitle:"Trois étapes simples pour votre propre application",s1:"Réserver un appel découverte.",s2:"Confirmer le périmètre de l'application, les éléments de marque et les exigences de lancement.",s3:"WithMe construit, soumet et lance l'application."},oT={title:"Tout ce dont vous avez besoin",subtitle:"Une expérience mobile complète en marque blanche qui vous met aux commandes",items:{branded:{title:"Ap
221plication entièrement personnalisée",desc:"Votre logo, vos couleurs, vos polices et votre mise en page, conçus exactement comme vous le souhaitez."},stores:{title:"App Store et Google Play",desc:"Disponible sur les deux plateformes sous votre marque. Votre application, votre fiche."},platform:{title:"Accès complet à la plateforme",desc:"Cours, communauté, coaching et abonnements, le tout dans une magnifique application."},dfy:{title:"Publication clé en main",desc:"Nous gérons tout : développement, soumission et mises à jour continues."},launch:{title:"Lancement rapide",desc:"Prêt à être publié en seulement 2 à 4 semaines. Pas de longs cycles de développement."},maintenance:{title:"Zéro maintenance",desc:"Aucun code requis. Nous maintenons et mettons à jour votre application pour vous."}}},iT={title:"Ce qui est inclus",subtitle:"Tout ce que comprend votre application en marque blanche",features:{f1:"Application iOS + Android entièrement personnalisée avec votre logo, vos couleurs et vos polices",f2:"Publiée sur l'App Store et Google Play (inclus)",f3:"Accès complet aux cours, à la communauté et aux outils de coaching",f4:"Développement et publication clé en main",f5:"Maintenance et mises à jour continues incluses",f6:"Lancement en 2 à 4 semaines",f7:"Équipe de support dédiée"},cta:"Réserver un appel découverte",qualifier:"Vous préférez payer une seule fois et posséder la création ? Nous en définissons le périmètre et le prix avec vous lors de l'appel.",price:"$399/mois",priceNote:"Tout est inclus : la création, les deux boutiques d'applications, l'hébergement, les mises à jour et votre abonnement WithMe. Rien à payer d'avance."},aT={title:"Adoré par les créateurs",subtitle:"Découvrez comment de grands créateurs ont lancé leur application avec WithMe",t1:{quote:"Avoir ma propre application a complètement changé la façon dont mon audience me perçoit. Ce n'est plus « consulte mon lien en bio », c'est « télécharge mon application ». La crédibilité est incroyable.",role:"Coach fitness"},t2:{quote:"WithMe a rendu tout le processus fluide. De la conception au lancement, ils se sont occupés de tout. Maintenant j'ai ma propre application sur l'App Store sans avoir dépensé £100K en développeurs.",role:"Formateur en business"},t3:{quote:"J'étais sceptique au début, mais voir ma marque sur l'App Store a été révolutionnaire. Ma communauté adore avoir tout au même endroit, et j'adore avoir le contrôle total.",role:"Créatrice bien-être"}},sT={title:"Questions fréquentes",subtitle:"Tout ce que vous devez savoir pour obtenir votre propre application",q0:{q:"Combien ça coûte ?",a:"$399 par mois, tout compris. Si vous préférez payer une seule fois pour la création et la posséder, nous en fixons le prix avec vous lors de l'appel."},q1:{q:"Qui possède l'application ?",a:"Vous ! L'application est publiée sous votre marque sur l'App Store et Google Play. Vous possédez votre fiche, votre marque et votre relation avec votre audience."},q2:{q:"Combien de temps cela prend-il ?",a:"En général 2 à 4 semaines du début au lancement. Nous gérons tout le développement, les tests et la soumission aux deux stores pour que vous puissiez vous concentrer sur votre activité."},q3:{q:"Qu'est-ce qui est inclus dans le service ?",a:"Tout : design personnalisé avec votre marque, développement complet, publication sur l'App Store et Google Play, accès à la plateforme de cours, communauté et coaching WithMe, maintenance continue et support dédié."},q4:{q:"Ai-je besoin de compétences techniques ?",a:"Absolument pas. Nous gérons tout le travail technique, du design et du développement aux soumissions et mises à jour sur les stores. Vous fournissez juste vos éléments de marque et votre contenu."},q5:{q:"Quelles fonctionnalités puis-je avoir dans mon application ?",a:"Votre application inclut des cours, du coaching en direct, des fonctionnalités communautaires, des abonnements, des paiements in-app, des bibliothèques de contenu, la messagerie et bien plus. C'est un écosystème complet pour votre entreprise."},q6:{q:"Que se passe-t-il si je veux apporter des modifications après le lancement ?",a:"Aucun problème ! La maintenance et les mises à jour continues sont incluses. Dites-nous simplement ce que vous souhaitez modifier et nous nous en occupons."}}
221,lT={title1:"Votre marque mérite plus qu'un lien en bio.",title2:"Elle mérite sa propre application.",subtitle:"Rejoignez les créateurs qui ont cessé de louer et commencé à posséder leur présence numérique.",book:"Réserver un appel découverte",foot:"Prêt à lancer en 2 à 4 semaines • Aucune compétence technique requise"},cT={title:"Prêt à lancer votre application ?",sub:"Commencez à construire dès aujourd'hui",book:"Réserver un appel découverte",dismiss:"Fermer"},uT={a11yTitle:"Quelques questions rapides",a11yDescription:"Répondez à quatre questions rapides pour vérifier si une application en marque blanche est la prochaine étape adaptée à votre activité.",progress:"Étape {{current}} sur {{total}}",back:"Retour",business:{title:"Quel type d'activité est-ce ?",o1:"Coach ou consultant",o2:"Créateur de cours ou formateur",o3:"Abonnement ou communauté",o4:"Studio, salle de sport ou en présentiel",o5:"Autre chose"},audience:{title:"Quelle est environ la taille de votre audience ?",o1:"Moins de 500",o2:"500 à 2 000",o3:"2 000 à 10 000",o4:"Plus de 10 000"},revenue:{title:"Environ combien l'activité génère-t-elle chaque mois ?",perMonth:"Par mois",o1:"Moins de 1k",o2:"1k à 5k",o3:"5k à 15k",o4:"Plus de 15k"},content:{title:"Avez-vous du contenu ou une offre que des gens paient déjà ?",o1:"Oui, en cours",o2:"Un peu, mais pas structuré",o3:"Pas encore"},result:{good:{title:"Bon profil. Cadrons le projet.",body:"Apportez ce que vous avez déjà et nous définirons ensemble ce que votre application doit faire pendant l'appel.",cta:"Choisir un créneau"},notyet:{title:"Réponse honnête : une application n'est pas votre prochaine étape.",body:"Une application à votre marque devient rentable quand des gens paient et que vous avez du contenu à y mettre. L'acheter avant, c'est juste un coût de plus. Commencez plutôt sur l'application WithMe, lancez votre offre et votre contenu, et la version à votre marque en vaudra la peine quand vous y reviendrez.",cta:"Commencer sur l'application WithMe",secondary:"Réserver un appel quand même"}}},dT={personalised:{yourPreview:"Your preview",whatsIncluded:"What's included",howItWorks:"How it works",viewOffer:"View the offer",builtFromProfile:"Built from your WithMe content",revealTitleEpic:"Your history universe. Now an app.",revealTitle:"{{name}}, your content universe. Now an app.",revealBodyEpic:"Your strongest content is already mapped, from {{first}} to {{second}} and {{third}}.",revealBody:"Your {{category}} content already has the shape of an app, with the strongest pieces ready to map into one experience.",contentCategory:"content",explorePreview:"Explore your preview",seeNeeded:"See what's needed",productsFound:"products found",coursesMapped:"courses mapped",communitiesFound:"communities found",coverTitleEpic:"A living history of the world",coverTitle:"Your {{category}} world",coverSubtext:"A first look at how your content could come together.",continueExploring:"Continue exploring",viewAll:"View all",appPreview:"App preview",profileFound:"Profile and content found",brandStillNeeded:"Brand assets still needed",phoneHeadline:"Your world, in one place",phoneSubhead:"A clearer way to bring people back to your work.",home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",types:{course:"Course",community:"Community",membership:"Membership",digital:"Digital",content:"Content"},readyToShape:"Ready to shape",readinessEyebrow:"Readiness",livePayload:"Live payload",contentMap:"Content map",stillNeeded:"Still needed",profileAvailable:"and biography available",products:"products",courses:"courses",communities:"communities",brandAssets:"Brand assets",brandDetail:"Logo, colours, store details and launch requirements",offerEyebrow:"Your app, ready to launch",offerTitle:"One tap away from your audience",offerBody:"WithMe can shape {{name}}'s existing content into a branded app your audience can return to.",appStores:"app stores included",weekTarget:"week target",upfront:"upfront build fee",currentOffer:"Current offer",offerIncluded:"Build, hosting, stores and updates included",offerBranding:"{{name}} branding throughout",offerStores:"iOS and Android publishing",offerContent:"{{courses}} courses, {{communities}}
221 communities and {{productCount}} products mapped",offerMaintenance:"Ongoing maintenance and updates",checkReadiness:"Check launch readiness",bookSupporting:"Book a discovery call"}},pT={lang:GP,checkout:QP,nav:XP,hero:ZP,trust:JP,appChoice:eT,problem:tT,showcase:nT,howToStart:rT,features:oT,pricing:iT,social:aT,faq:sT,finalCta:lT,floating:cT,qualify:uT,creator:dT},fT={label:"Idioma"},mT={cta:"Empieza ahora",note:"Pago seguro con Stripe"},hT={features:"Características",faq:"Preguntas",bookCall:"Reservar llamada",included:"Qué incluye"},gT={titleStart:"Tu propia app de marca blanca,",titleAccent:"Bajo tu marca",subtitle:"Creamos una app totalmente de marca blanca para tu negocio, disponible en la App Store y Google Play en semanas.",bookMeeting:"Reservar una llamada de descubrimiento",socialProof:"Únete a más de 100 creadores que ya lanzaron su propia app"},yT={secure:"Seguro y privado",launch:"Lanzamiento en 2-4 semanas",apps:"Más de 100 apps lanzadas",support:"Soporte dedicado"},vT={title:"Dos formas de empezar",subtitle:"Elige lo que mejor se adapte a tu marca",existing:{title:"Usa la app WithMe",desc:"Perfecta para la mayoría de creadores. Descarga nuestra app desde la App Store o Google Play y empieza a construir tu comunidad hoy mismo.",f1:"Lista para usar al instante",f2:"Todas las funciones incluidas",f3:"Descarga gratuita",cta:"Obtener la app WithMe"},custom:{badge:"PREMIUM",title:"Tu app de marca blanca",desc:"¿Quieres TU marca en la App Store? Creamos una app totalmente de marca blanca con tu identidad, dominio e imagen.",f1:"100 % tu marca y logo",f2:"Tu propia ficha en la App Store",f3:"Dominio e identidad personalizados",f4:"Propiedad y control totales",book:"Reservar una llamada de descubrimiento",f5:"$399 al mes, todo incluido"}},wT={before:{badge:"Antes",title:"Plataformas dispersas y alquiladas",p1:"Depender de enlaces en la bio que no convierten",p2:"Múltiples herramientas con una marca inconsistente",p3:"Los algoritmos de las plataformas controlan tu alcance",p4:"Ninguna propiedad real sobre tu audiencia"},after:{badge:"Después",title:"Tu marca, tu app",p1:"Posee tu presencia de marca en la App Store",p2:"Control total sobre tu ecosistema",p3:"Di con orgullo «Descarga mi app»",p4:"Acceso directo a tu audiencia, siempre"}},xT={title:"Ya disponibles en la App Store",subtitle:"Dos apps que creamos y lanzamos para creadores, ambas activas ahora mismo",category:"Estilo de vida",view:"Ver en la App Store",footnote:"Ambas creadas en la plataforma de WithMe y publicadas bajo la marca del creador.",alt1:"Pantalla de inicio de la app {{app}}",alt2:"Pantalla de contenido de la app {{app}}",alt3:"Pantalla de perfil de la app {{app}}"},bT={title:"Cómo empezar",subtitle:"Tres pasos sencillos para tener tu propia app",s1:"Reserva una llamada de descubrimiento.",s2:"Confirma el alcance de la app, los recursos de marca y los requisitos de lanzamiento.",s3:"WithMe crea, envía y lanza la app."},kT={title:"Todo lo que necesitas",subtitle:"Una experiencia móvil completa de marca blanca que te da el control",items:{branded:{title:"Ap
221p totalmente personalizada",desc:"Tu logo, colores, tipografías y diseño, exactamente como los quieres."},stores:{title:"App Store y Google Play",desc:"Publicada en ambas plataformas con el nombre de tu marca. Tu app, tu ficha."},platform:{title:"Acceso completo a la plataforma",desc:"Cursos, comunidad, coaching y suscripciones, todo en una app preciosa."},dfy:{title:"Publicación llave en mano",desc:"Nos encargamos de todo: desarrollo, envío y actualizaciones continuas."},launch:{title:"Lanzamiento rápido",desc:"Listo para publicarse en solo 2-4 semanas. Sin ciclos de desarrollo eternos."},maintenance:{title:"Cero mantenimiento",desc:"Sin programar. Nosotros mantenemos y actualizamos tu app por ti."}}},ST={title:"Qué incluye",subtitle:"Todo lo que obtienes con tu app de marca blanca",features:{f1:"App iOS + Android totalmente personalizada con tu logo, colores y tipografías",f2:"Publicada en App Store y Google Play (incluido)",f3:"Acceso completo a cursos, comunidad y herramientas de coaching",f4:"Desarrollo y publicación llave en mano",f5:"Mantenimiento y actualizaciones continuas incluidas",f6:"Lanzamiento en 2-4 semanas",f7:"Equipo de soporte dedicado"},cta:"Reservar una llamada de descubrimiento",qualifier:"¿Prefieres pagar una sola vez y quedarte con el desarrollo? Lo definimos y lo presupuestamos contigo en la llamada.",price:"$399/mes",priceNote:"Todo incluido: el desarrollo, ambas tiendas de aplicaciones, el alojamiento, las actualizaciones y tu suscripción a WithMe. Nada que pagar por adelantado."},CT={title:"Adorada por los creadores",subtitle:"Descubre cómo grandes creadores lanzaron sus apps con WithMe",t1:{quote:"Tener mi propia app cambió por completo la forma en que mi audiencia me ve. Ya no es «mira mi enlace en bio», es «descarga mi app». La credibilidad es increíble.",role:"Coach de fitness"},t2:{quote:"WithMe hizo todo el proceso sencillo. Del diseño al lanzamiento, se encargaron de todo. Ahora tengo mi propia app en la App Store sin gastar £100K en desarrolladores.",role:"Formador de negocios"},t3:{quote:"Al principio era escéptica, pero ver mi marca en la App Store lo cambió todo. Mi comunidad adora tener todo en un solo lugar y yo adoro tener el control total.",role:"Creadora de bienestar"}},ET={title:"Preguntas frecuentes",subtitle:"Todo lo que necesitas saber para tener tu propia app",q0:{q:"¿Cuánto cuesta?",a:"$399 al mes, todo incluido. Si prefieres pagar una sola vez por el desarrollo y quedártelo, lo presupuestamos contigo en la llamada."},q1:{q:"¿Quién es dueño de la app?",a:"¡Tú! La app se publica con el nombre de tu marca en la App Store y Google Play. Eres dueño de tu ficha, tu marca y la relación con tu audiencia."},q2:{q:"¿Cuánto tarda?",a:"Normalmente entre 2 y 4 semanas desde el inicio hasta el lanzamiento. Nos encargamos del desarrollo, las pruebas y el envío a ambas tiendas para que puedas centrarte en tu negocio."},q3:{q:"¿Qué incluye el servicio?",a:"Todo: diseño personalizado con tu marca, desarrollo completo, publicación en App Store y Google Play, acceso a la plataforma de cursos, comunidad y coaching de WithMe, mantenimiento continuo y soporte dedicado."},q4:{q:"¿Necesito conocimientos técnicos?",a:"Para nada. Nos encargamos de todo el trabajo técnico, del diseño y desarrollo a los envíos y actualizaciones en las tiendas. Tú solo aportas los recursos de tu marca y tu contenido."},q5:{q:"¿Qué funciones puedo tener en mi app?",a:"Tu app incluye cursos, coaching en vivo, funciones comunitarias, suscripciones, pagos in-app, bibliotecas de contenido, mensajería y mucho más. Es un ecosistema completo para tu negocio."},q6:{q:"¿Y si quiero hacer cambios tras el lanzamiento?",a:"¡Sin problema! El mantenimiento y las actualizaciones continuas están incluidos. Solo dinos qué quieres cambiar y lo hacemos por ti."}},jT={title1:"Tu marca merece más que un enlace en la bio.",title2:"Merece su propia app.",subt
221itle:"Únete a los creadores que dejaron de alquilar y empezaron a poseer su presencia digital.",book:"Reservar una llamada de descubrimiento",foot:"Listo para lanzar en 2-4 semanas • No se requieren conocimientos técnicos"},NT={title:"¿Listo para lanzar tu app?",sub:"Empieza a construir hoy",book:"Reservar una llamada de descubrimiento",dismiss:"Cerrar"},PT={a11yTitle:"Unas preguntas rápidas",a11yDescription:"Responda cuatro preguntas rápidas para comprobar si una app de marca blanca es el siguiente paso adecuado para su negocio.",progress:"Paso {{current}} de {{total}}",back:"Atrás",business:{title:"¿Qué tipo de negocio es?",o1:"Coach o consultor",o2:"Creador de cursos o formador",o3:"Membresía o comunidad",o4:"Estudio, gimnasio o presencial",o5:"Otra cosa"},audience:{title:"¿Aproximadamente qué tamaño tiene tu audiencia?",o1:"Menos de 500",o2:"500 a 2.000",o3:"2.000 a 10.000",o4:"Más de 10.000"},revenue:{title:"¿Aproximadamente cuánto genera el negocio cada mes?",perMonth:"Al mes",o1:"Menos de 1k",o2:"1k a 5k",o3:"5k a 15k",o4:"Más de 15k"},content:{title:"¿Tienes contenido o una oferta por la que ya te pagan?",o1:"Sí, funcionando ahora",o2:"Algo, pero sin empaquetar",o3:"Todavía no"},result:{good:{title:"Buen encaje. Vamos a definirlo.",body:"Trae lo que ya tienes y en la llamada trazaremos lo que tu app necesita hacer.",cta:"Elegir una hora"},notyet:{title:"Respuesta honesta: una app no es tu siguiente paso.",body:"Una app con tu marca se rentabiliza cuando ya hay gente pagando y contenido que poner dentro. Comprarla antes solo añade coste. Empieza en la app de WithMe, pon en marcha tu oferta y tu contenido, y la versión con tu marca valdrá la pena cuando vuelvas a ella.",cta:"Empezar en la app de WithMe",secondary:"Reservar una llamada igualmente"}}},TT={personalised:{yourPreview:"Your preview",whatsIncluded:"What's included",howItWorks:"How it works",viewOffer:"View the offer",builtFromProfile:"Built from your WithMe content",revealTitleEpic:"Your history universe. Now an app.",revealTitle:"{{name}}, your content universe. Now an app.",revealBodyEpic:"Your strongest content is already mapped, from {{first}} to {{second}} and {{third}}.",revealBody:"Your {{category}} content already has the shape of an app, with the strongest pieces ready to map into one experience.",contentCategory:"content",explorePreview:"Explore your preview",seeNeeded:"See what's needed",productsFound:"products found",coursesMapped:"courses mapped",communitiesFound:"communities found",coverTitleEpic:"A living history of the world",coverTitle:"Your {{category}} world",coverSubtext:"A first look at how your content could come together.",continueExploring:"Continue exploring",viewAll:"View all",appPreview:"App preview",profileFound:"Profile and content found",brandStillNeeded:"Brand assets still needed",phoneHeadline:"Your world, in one place",phoneSubhead:"A clearer way to bring people back to your work.",home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",types:{course:"Course",community:"Community",membership:"Membership",digital:"Digital",content:"Content"},readyToShape:"Ready to shape",readinessEyebrow:"Readiness",livePayload:"Live payload",contentMap:"Content map",stillNeeded:"Still needed",profileAvailable:"and biography available",products:"products",courses:"courses",communities:"communities",brandAssets:"Brand assets",brandDetail:"Logo, colours, store details and launch requirements",offerEyebrow:"Your app, ready to launch",offerTitle:"One tap away from your audience",offerBody:"WithMe can shape {{name}}'s existing content into a branded app your audience can return to.",appStores:"app stores included",weekTarget:"week target",upfront:"upfront build fee",currentOffer:"Current offer",offerIncluded:"Build, hosting, stores and updates included",offerBranding:"{{name}} branding throughout",offerStores:"iOS and Android publishing",offerContent:"{{courses}} courses, {{communities}}
221 communities and {{productCount}} products mapped",offerMaintenance:"Ongoing maintenance and updates",checkReadiness:"Check launch readiness",bookSupporting:"Book a discovery call"}},AT={lang:fT,checkout:mT,nav:hT,hero:gT,trust:yT,appChoice:vT,problem:wT,showcase:xT,howToStart:bT,features:kT,pricing:ST,social:CT,faq:ET,finalCta:jT,floating:NT,qualify:PT,creator:TT},RT={label:"Sprache"},MT={cta:"Jetzt starten",note:"Sichere Bezahlung mit Stripe"},OT={features:"Funktionen",faq:"FAQ",bookCall:"Call buchen",included:"Was enthalten ist"},LT={titleStart:"Deine eigene White-Label-App,",titleAccent:"Unter deiner Marke",subtitle:"Wir bauen eine vollständig white-gelabelte App für dein Business, in wenigen Wochen live im App Store und bei Google Play.",bookMeeting:"Discovery-Call buchen",socialProof:"Über 100 Creator haben ihre eigene App bereits gelauncht"},DT={secure:"Sicher & privat",launch:"Launch in 2-4 Wochen",apps:"Über 100 gelaunchte Apps",support:"Persönlicher Support"},zT={title:"Zwei Wege, um zu starten",subtitle:"Wähle, was am besten zu deiner Marke passt",existing:{title:"WithMe-App nutzen",desc:"Perfekt für die meisten Creator. Lade unsere bestehende App aus dem App Store oder Google Play und baue schon heute deine Community auf.",f1:"Sofort einsatzbereit",f2:"Alle Funktionen enthalten",f3:"Kostenlos herunterladbar",cta:"WithMe-App holen"},custom:{badge:"PREMIUM",title:"Deine White-Label-App",desc:"Willst du DEINE Marke im App Store? Wir bauen eine vollständig white-gelabelte App mit deinem Branding, deiner Domain und deiner Identität.",f1:"100 % deine Marke und dein Logo",f2:"Dein eigener App-Store-Eintrag",f3:"Individuelle Domain und Identität",f4:"Volle Eigentums- und Kontrollrechte",book:"Discovery-Call buchen",f5:"$399 pro Monat, alles inklusive"}},IT={before:{badge:"Vorher",title:"Verstreute, gemietete Plattformen",p1:"Abhängig von Link-in-Bio, die nicht konvertieren",p2:"Viele Tools mit uneinheitlichem Branding",p3:"Plattform-Algorithmen bestimmen deine Reichweite",p4:"Kein echtes Eigentum an deiner Zielgruppe"},after:{badge:"Nachher",title:"Deine Marke, deine App",p1:"Besitze deine Markenpräsenz im App Store",p2:"Volle Kontrolle über dein Ökosystem",p3:"Sag stolz „Lade meine App herunter“",p4:"Direkter Zugang zu deiner Zielgruppe, immer"}},_T={title:"Bereits live im App Store",subtitle:"Zwei Apps, die wir für Creator gebaut und veröffentlicht haben, beide jetzt live",category:"Lifestyle",view:"Im App Store ansehen",footnote:"Beide auf der WithMe Plattform gebaut, veröffentlicht unter der eigenen Marke des Creators.",alt1:"Startbildschirm der App {{app}}",alt2:"Inhaltsbildschirm der App {{app}}",alt3:"Profilbildschirm der App {{app}}"},$T={title:"So geht's los",subtitle:"Drei einfache Schritte zu deiner eigenen App",s1:"Discovery-Call buchen.",s2:"App-Umfang, Markenassets und Launch-Anforderungen klären.",s3:"WithMe baut, reicht ein und launcht die App."},FT={title:"Alles, was du brauchst",subtitle:"Ein vollständiges White-Label-Mobile-Erlebnis, das dir die Kontrolle gibt",items:{branded:{title:"Vollständig gebrandete App",desc:"Dein Logo, deine Farben, Schriften und dein Layout, genau so, wie du es willst."},stores:{title:"App Store & Google Play",desc:"Live auf beiden Plattformen unter deinem Markennamen. Deine App, dein Eintrag."},platform:{title:"Voller Plattformzugang",desc:"Kurse, Community, Coaching und Abos, alles in einer wunderschönen App."},dfy:{title:"Done-For-You Veröffentlichung",desc:"Wir kümmern uns um alles: Entwicklung, Einreichung und laufende Updates."},launch:{title:"Schneller Launch",desc:"In nur 2-4 Wochen live. Keine langen Entwicklungszyklen."},maintenance:{title:"Null Wartung",desc:"Kein Coding nötig. Wir pflegen und aktualisieren deine App für dich."}}},BT={title:"Was enthalten ist",subtitle:"Alles, was du mit deiner White-Label-App bekommst",features:{f1:"Vollständig gebrandete iOS- + Android-App mit deinem Logo, deinen Farben und Schriften",f2:"Veröffentlichung im App Store und bei Google Play (inklusive)",f3:"Voller Zugang zu Kursen, Community und Coaching-Tools",f4:"Komplette Entwicklung und Veröffentlichung für dich",f5:"Laufende Wartung und Updates enthalten",f6:"Launch in 2-4 Wochen",f7:"Persönliches Support-Team"},cta:"Discovery-Call buchen",qualifier:"Lieber einmalig zahlen und die Entwicklung selbst besitzen? Das planen und bepreisen wir gemeinsam im Gespräch.",price:"$399/Monat",priceNote:"Alles inklusive: die Entwicklung, beide App Stores, Hosting, Updates und dein WithMe Abonnement. Keine Vorauszahlung."},WT={title:"Von Creatorn geliebt",subtitle:"So haben Top-Creator ihre Apps mit WithMe gelauncht",t1:{quote:"Eine eigene App zu haben, hat komplett verändert, wie meine Zielgruppe mich wahrnimmt. Es heißt nicht mehr „schau in meine Bio“, sondern „lade meine App herunter“. Die Glaubwürdigkeit ist unglaublich.",role:"Fitness-Coach"},t2:{quote:"WithMe hat den gesamten Prozess reibungslos gemacht. Vom Design bis zum Launch haben sie alles übernommen. Jetzt habe ich meine eigene App im Ap
221p Store, ohne £100K für Entwickler auszugeben.",role:"Business-Coach"},t3:{quote:"Ich war anfangs skeptisch, aber meine Marke im App Store zu sehen war ein Gamechanger. Meine Community liebt es, alles an einem Ort zu haben, und ich liebe die volle Kontrolle.",role:"Wellness-Creatorin"}},qT={title:"Häufige Fragen",subtitle:"Alles, was du wissen musst, um deine eigene App zu bekommen",q0:{q:"Was kostet es?",a:"$399 pro Monat, alles inklusive. Wenn du lieber einmalig für die Entwicklung zahlst und sie besitzt, bepreisen wir das gemeinsam im Gespräch."},q1:{q:"Wem gehört die App?",a:"Dir! Die App wird unter deinem Markennamen im App Store und bei Google Play veröffentlicht. Du besitzt den Eintrag, deine Marke und die Beziehung zu deiner Zielgruppe."},q2:{q:"Wie lange dauert es?",a:"In der Regel 2 bis 4 Wochen vom Start bis zum Launch. Wir übernehmen Entwicklung, Tests und Einreichung in beide Stores, damit du dich auf dein Business konzentrieren kannst."},q3:{q:"Was ist im Service enthalten?",a:"Alles: individuelles Design mit deinem Branding, komplette Entwicklung, Veröffentlichung im App Store und bei Google Play, Zugang zur Kurs-, Community- und Coaching-Plattform von WithMe, laufende Wartung und persönlicher Support."},q4:{q:"Brauche ich technische Kenntnisse?",a:"Absolut nicht. Wir übernehmen die gesamte Technik, vom Design und der Entwicklung bis zu Einreichungen und Updates in den Stores. Du lieferst nur deine Markenassets und Inhalte."},q5:{q:"Welche Funktionen kann meine App haben?",a:"Deine App enthält Kurse, Live-Coaching, Community-Funktionen, Abos, In-App-Zahlungen, Content-Bibliotheken, Messaging und mehr. Ein komplettes Ökosystem für dein Business."},q6:{q:"Was, wenn ich nach dem Launch Änderungen möchte?",a:"Kein Problem! Laufende Wartung und Updates sind enthalten. Sag uns einfach, was du ändern möchtest, und wir kümmern uns darum."}},UT={title1:"Deine Marke verdient mehr als einen Link in der Bio.",title2:"Sie verdient ihre eigene App.",subtitle:"Schließe dich den Creatorn an, die aufgehört haben zu mieten und ihre digitale Präsenz jetzt besitzen.",book:"Discovery-Call buchen",foot:"Launch in 2-4 Wochen • Keine technischen Kenntnisse nötig"},VT={title:"Bereit, deine App zu launchen?",sub:"Starte heute",book:"Discovery-Call buchen",dismiss:"Schließen"},HT={a11yTitle:"Ein paar kurze Fragen",a11yDescription:"Beantworten Sie vier kurze Fragen, um zu prüfen, ob eine White Label App der richtige nächste Schritt für Ihr Unternehmen ist.",progress:"Schritt {{current}} von {{total}}",back:"Zurück",business:{title:"Was für ein Business ist das?",o1:"Coach oder Berater",o2:"Kursersteller oder Trainer",o3:"Mitgliedschaft oder Community",o4:"Studio, Gym oder vor Ort",o5:"Etwas anderes"},audience:{title:"Wie groß ist deine Zielgruppe ungefähr?",o1:"Unter 500",o2:"500 bis 2.000",o3:"2.000 bis 10.000",o4:"Über 10.000"},revenue:{title:"Was bringt das Business ungefähr pro Monat ein?",perMonth:"Pro Monat",o1:"Unter 1k",o2:"1k bis 5k",o3:"5k bis 15k",o4:"Über 15k"},content:{title:"Hast du Inhalte oder ein Angebot, für das Leute schon zahlen?",o1:"Ja, läuft bereits",o2:"Etwas, aber noch nicht verpackt",o3:"Noch nicht"},result:{good:{title:"Gute Passung. Lass es uns abstecken.",body:"Bring mit, was du schon hast, und wir legen im Gespräch fest, was deine App leisten muss.",cta:"Termin wählen"},notyet:{title:"Ehrliche Antwort: eine App ist nicht dein nächster Schritt.",body:"Eine App mit deiner Marke lohnt sich, sobald Leute zahlen und du Inhalte hast, die hineingehören. Vorher gekauft, verursacht sie nur Kosten. Starte stattdessen in der WithMe App, bring dein Angebot und deine Inhalte zum Laufen, und die Version mit deiner Marke lohnt sich, wenn du darauf zurückkommst.",cta:"In der WithMe App starten",secondary:"Trotzdem einen Termin buchen"}}},YT={personalised:{yourPreview:"Your preview",whatsIncluded:"What's included",howItWorks:"How it works",viewOffer:"View the offer",builtFromProfile:"Built from your WithMe content",revealTitleEpic:"Your history universe. Now an app.",revealTitle:"{{name}}, your content universe. Now an app.",revealBodyEpic:"Your strongest content is already mapped, from {{first}} to {{second}} and {{third}}.",revealBody:"Your {{category}} content already has the shape of an app, with the strongest pieces ready to map into one experience.",contentCategory:"content",explorePreview:"Explore your preview",seeNeeded:"See what's needed",productsFound:"products found",coursesMapped:"courses mapped",communitiesFound:"c
221ommunities found",coverTitleEpic:"A living history of the world",coverTitle:"Your {{category}} world",coverSubtext:"A first look at how your content could come together.",continueExploring:"Continue exploring",viewAll:"View all",appPreview:"App preview",profileFound:"Profile and content found",brandStillNeeded:"Brand assets still needed",phoneHeadline:"Your world, in one place",phoneSubhead:"A clearer way to bring people back to your work.",home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",types:{course:"Course",community:"Community",membership:"Membership",digital:"Digital",content:"Content"},readyToShape:"Ready to shape",readinessEyebrow:"Readiness",livePayload:"Live payload",contentMap:"Content map",stillNeeded:"Still needed",profileAvailable:"and biography available",products:"products",courses:"courses",communities:"communities",brandAssets:"Brand assets",brandDetail:"Logo, colours, store details and launch requirements",offerEyebrow:"Your app, ready to launch",offerTitle:"One tap away from your audience",offerBody:"WithMe can shape {{name}}'s existing content into a branded app your audience can return to.",appStores:"app stores included",weekTarget:"week target",upfront:"upfront build fee",currentOffer:"Current offer",offerIncluded:"Build, hosting, stores and updates included",offerBranding:"{{name}} branding throughout",offerStores:"iOS and Android publishing",offerContent:"{{courses}} courses, {{communities}} communities and {{productCount}} products mapped",offerMaintenance:"Ongoing maintenance and updates",checkReadiness:"Check launch readiness",bookSupporting:"Book a discovery call"}},KT={lang:RT,checkout:MT,nav:OT,hero:LT,trust:DT,appChoice:zT,problem:IT,showcase:_T,howToStart:$T,features:FT,pricing:BT,social:WT,faq:qT,finalCta:UT,floating:VT,qualify:HT,creator:YT},GT={label:"Idioma"},QT={cta:"Comece agora",note:"Pagamento seguro com Stripe"},XT={features:"Funcionalidades",faq:"FAQ",bookCall:"Marcar chamada",included:"O que está incluído"},ZT={titleStart:"A sua app white label,",titleAccent:"Sob a sua marca",subtitle:"Criamos uma app totalmente white label para o seu negócio, disponível na App Store e no Google Play em semanas.",bookMeeting:"Marcar uma chamada de descoberta",socialProof:"Junta-te a mais de 100 criadores que lançaram a sua própria app"},JT={secure:"Seguro e privado",launch:"Lançamento em 2-4 semanas",apps:"Mais de 100 apps lançadas",support:"Suporte dedicado"},eA={title:"Duas formas de começar",subtitle:"Escolhe o que funciona melhor para a tua marca",existing:{title:"Usar a app WithMe",desc:"Perfeita para a maioria dos criadores. Descarrega a nossa app na App Store ou no Google Play e começa a construir a tua comunidade hoje.",f1:"Pronta a usar de imediato",f2:"Todas as funcionalidades incluídas",f3:"Descarga gratuita",cta:"Obter a app WithMe"},custom:{badge:"PREMIUM",title:"A sua app white label",desc:"Quer a SUA marca na App Store? Criamos uma app totalmente white label com a sua identidade, domínio e imagem.",f1:"100% a tua marca e logótipo",f2:"A tua ficha na App Store",f3:"Domínio e identidade personalizados",f4:"Propriedade e controlo totais",book:"Marcar uma chamada de descoberta",f5:"$399 por mês, tudo incluído"}},tA={before:{badge:"Antes",title:"Plataformas dispersas e alugadas",p1:"Depender de links na bio que não convertem",p2:"Várias ferramentas com marca inconsistente",p3:"Algoritmos das plataformas a controlar o teu alcance",p4:"Sem verdadeira propriedade da tua audiência"},after:{badge:"Depois",title:"A tua marca, a tua app",p1:"Sê dono da tua presença de marca na App Store",p2:"Controlo total sobre o teu ecossistema",p3:"Diz com orgulho «Descarrega a minha app»",p4:"Acesso direto à tua audiência, sempre"}},nA={title:"Já disponíveis na App Store",subtitle:"Duas apps que criámos e lançámos para criadores, ambas ativas neste momento",category:"Estilo de vida",view:"Ver na App Store",footnote:"Ambas criadas na plataforma WithMe, publicadas sob a marca do próprio criador.",alt1:"Ecrã inicial da app {{app}}",alt2:"Ecrã de conteúdos da app {{app}}",alt3:"Ecrã de perfil da app {{app}}"}
221,rA={title:"Como começar",subtitle:"Três passos simples para a tua própria app",s1:"Marca uma chamada de descoberta.",s2:"Confirma o âmbito da app, os recursos da marca e os requisitos de lançamento.",s3:"A WithMe desenvolve, submete e lança a app."},oA={title:"Tudo o que precisas",subtitle:"Uma experiência móvel completa em marca branca que te dá o controlo",items:{branded:{title:"App totalmente personalizada",desc:"O teu logótipo, cores, tipos de letra e layout, exatamente como queres."},stores:{title:"App Store e Google Play",desc:"Publicada nas duas plataformas com o nome da tua marca. A tua app, a tua ficha."},platform:{title:"Acesso completo à plataforma",desc:"Cursos, comunidade, coaching e subscrições, tudo numa app linda."},dfy:{title:"Publicação chave-na-mão",desc:"Tratamos de tudo: desenvolvimento, submissão e atualizações contínuas."},launch:{title:"Lançamento rápido",desc:"Pronta para ir para o ar em apenas 2-4 semanas. Sem ciclos longos de desenvolvimento."},maintenance:{title:"Zero manutenção",desc:"Sem programação. Nós mantemos e atualizamos a tua app por ti."}}},iA={title:"O que está incluído",subtitle:"Tudo o que recebe com a sua app white label",features:{f1:"App iOS + Android totalmente personalizada com o teu logótipo, cores e tipos de letra",f2:"Publicada na App Store e no Google Play (incluído)",f3:"Acesso completo a cursos, comunidade e ferramentas de coaching",f4:"Desenvolvimento e publicação chave-na-mão",f5:"Manutenção e atualizações contínuas incluídas",f6:"Lançamento em 2-4 semanas",f7:"Equipa de suporte dedicada"},cta:"Marcar uma chamada de descoberta",qualifier:"Preferes pagar uma vez e ficar com o desenvolvimento? Definimos e orçamentamos isso contigo na chamada.",price:"$399/mês",priceNote:"Tudo incluído: o desenvolvimento, as duas lojas de aplicações, o alojamento, as atualizações e a tua subscrição WithMe. Nada a pagar à cabeça."},aA={title:"Adorada por criadores",subtitle:"Vê como grandes criadores lançaram as suas apps com a WithMe",t1:{quote:"Ter a minha própria app mudou por completo a forma como a minha audiência me vê. Já não é «vê o link na bio», é «descarrega a minha app». A credibilidade é incrível.",role:"Coach de fitness"},t2:{quote:"A WithMe tornou todo o processo simples. Do design ao lançamento, trataram de tudo. Agora tenho a minha app na App Store sem gastar £100K em programadores.",role:"Formador de negócios"},t3:{quote:"Estava cética no início, mas ver a minha marca na App Store foi transformador. A minha comunidade adora ter tudo num só lugar e eu adoro ter o controlo total.",role:"Criadora de bem-estar"}},sA={title:"Perguntas frequentes",subtitle:"Tudo o que precisas de saber para ter a tua própria app",q0:{q:"Quanto custa?",a:"$399 por mês, tudo incluído. Se preferires pagar uma vez pelo desenvolvimento e ficar com ele, orçamentamos isso contigo na chamada."},q1:{q:"De quem é a app?",a:"Tua! A app é publicada com o nome da tua marca na App Store e no Google Play. És dono da ficha, da marca e da relação com a tua audiência."},q2:{q:"Quanto tempo demora?",a:"Normalmente 2 a 4 semanas do início ao lançamento. Tratamos do desenvolvimento, dos testes e da submissão às duas lojas para te poderes focar no teu negócio."},q3:{q:"O que está incluído no serviço?",a:"Tudo: design personalizado com a tua marca, desenvolvimento completo, publicação na App Store e no Google Play, acesso à plataforma de cursos, comunidade e coaching da WithMe, manutenção contínua e suporte dedicado."},q4:{q:"Preciso de conhecimentos técnicos?",a:"De todo. Tratamos de todo o trabalho técnico, do design e desenvolvimento às submissões e atualizações nas lojas. Só nos dás os teus recursos de marca e conteúdo."},q5:{q:"Que funcionalidades posso ter na minha app?",a:"A tua app inclui cursos, coaching ao vivo, funcionalidades de comunidade, subscrições, pagamentos in-app, bibliotecas de conteúdo, mensagens e muito mais. Um ecossistema completo para o teu negócio."},q6:{q:"E se quiser fazer alterações após o lançamento?",a:"Sem problema! A manutenção e as atualizações contínuas estão incluídas. Diz-nos apenas o que queres mudar e tratamos disso."}},lA={title1:"A tua marca merece mais do que um link na bio.",title2:"Merece a sua própria app.",subt
221itle:"Junta-te aos criadores que deixaram de alugar e passaram a ser donos da sua presença digital.",book:"Marcar uma chamada de descoberta",foot:"Pronta para lançar em 2-4 semanas • Sem conhecimentos técnicos"},cA={title:"Pronto para lançar a tua app?",sub:"Começa a construir hoje",book:"Marcar uma chamada de descoberta",dismiss:"Fechar"},uA={a11yTitle:"Algumas perguntas rápidas",a11yDescription:"Responda a quatro perguntas rápidas para verificar se uma aplicação de marca branca é o próximo passo certo para o seu negócio.",progress:"Passo {{current}} de {{total}}",back:"Voltar",business:{title:"Que tipo de negócio é este?",o1:"Coach ou consultor",o2:"Criador de cursos ou formador",o3:"Subscrição ou comunidade",o4:"Estúdio, ginásio ou presencial",o5:"Outra coisa"},audience:{title:"Qual é aproximadamente o tamanho da sua audiência?",o1:"Menos de 500",o2:"500 a 2.000",o3:"2.000 a 10.000",o4:"Mais de 10.000"},revenue:{title:"Aproximadamente quanto gera o negócio por mês?",perMonth:"Por mês",o1:"Menos de 1k",o2:"1k a 5k",o3:"5k a 15k",o4:"Mais de 15k"},content:{title:"Tem conteúdo ou uma oferta que já lhe pagam?",o1:"Sim, a funcionar agora",o2:"Algum, mas não organizado",o3:"Ainda não"},result:{good:{title:"Bom encaixe. Vamos definir o âmbito.",body:"Traga o que já tem e na chamada mapeamos o que a sua app precisa de fazer.",cta:"Escolher um horário"},notyet:{title:"Resposta honesta: uma app não é o seu próximo passo.",body:"Uma app com a sua marca compensa quando já há pessoas a pagar e conteúdo para colocar lá dentro. Comprá-la antes disso só acrescenta custo. Comece antes na app WithMe, ponha a sua oferta e o seu conteúdo a funcionar, e a versão com a sua marca valerá a pena quando voltar a ela.",cta:"Começar na app WithMe",secondary:"Marcar uma chamada mesmo assim"}}},dA={personalised:{yourPreview:"Your preview",whatsIncluded:"What's included",howItWorks:"How it works",viewOffer:"View the offer",builtFromProfile:"Built from your WithMe content",revealTitleEpic:"Your history universe. Now an app.",revealTitle:"{{name}}, your content universe. Now an app.",revealBodyEpic:"Your strongest content is already mapped, from {{first}} to {{second}} and {{third}}.",revealBody:"Your {{category}} content already has the shape of an app, with the strongest pieces ready to map into one experience.",contentCategory:"content",explorePreview:"Explore your preview",seeNeeded:"See what's needed",productsFound:"products found",coursesMapped:"courses mapped",communitiesFound:"communities found",coverTitleEpic:"A living history of the world",coverTitle:"Your {{category}} world",coverSubtext:"A first look at how your content could come together.",continueExploring:"Continue exploring",viewAll:"View all",appPreview:"App preview",profileFound:"Profile and content found",brandStillNeeded:"Brand assets still needed",phoneHeadline:"Your world, in one place",phoneSubhead:"A clearer way to bring people back to your work.",home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",types:{course:"Course",community:"Community",membership:"Membership",digital:"Digital",content:"Content"},readyToShape:"Ready to shape",readinessEyebrow:"Readiness",livePayload:"Live payload",contentMap:"Content map",stillNeeded:"Still needed",profileAvailable:"and biography available",products:"products",courses:"courses",communities:"communities",brandAssets:"Brand assets",brandDetail:"Logo, colours, store details and launch requirements",offerEyebrow:"Your app, ready to launch",offerTitle:"One tap away from your audience",offerBody:"WithMe can shape {{name}}'s existing content into a branded app your audience can return to.",appStores:"app stores included",weekTarget:"week target",upfront:"upfront build fee",currentOffer:"Current offer",offerIncluded:"Build, hosting, stores and updates included",offerBranding:"{{name}} branding throughout",offerStores:"iOS and Android publishing",offerContent:"{{courses}} courses, {{communities}}
221 communities and {{productCount}} products mapped",offerMaintenance:"Ongoing maintenance and updates",checkReadiness:"Check launch readiness",bookSupporting:"Book a discovery call"}},pA={lang:GT,checkout:QT,nav:XT,hero:ZT,trust:JT,appChoice:eA,problem:tA,showcase:nA,howToStart:rA,features:oA,pricing:iA,social:aA,faq:sA,finalCta:lA,floating:cA,qualify:uA,creator:dA},fA={label:"Lingua"},mA={cta:"Inizia ora",note:"Pagamento sicuro con Stripe"},hA={features:"Funzionalità",faq:"FAQ",bookCall:"Prenota una call",included:"Cosa è incluso"},gA={titleStart:"La tua app white label,",titleAccent:"Con il tuo marchio",subtitle:"Creiamo un'app completamente white label per la tua attività, online su App Store e Google Play in poche settimane.",bookMeeting:"Prenota una call conoscitiva",socialProof:"Unisciti a oltre 100 creator che hanno lanciato la propria app"},yA={secure:"Sicura e privata",launch:"Lancio in 2-4 settimane",apps:"Oltre 100 app lanciate",support:"Supporto dedicato"},vA={title:"Due modi per iniziare",subtitle:"Scegli quello che funziona meglio per il tuo brand",existing:{title:"Usa l'app WithMe",desc:"Perfetta per la maggior parte dei creator. Scarica la nostra app dall'App Store o da Google Play e inizia a costruire la tua community oggi.",f1:"Pronta all'uso immediato",f2:"Tutte le funzionalità incluse",f3:"Download gratuito",cta:"Ottieni l'app WithMe"},custom:{badge:"PREMIUM",title:"La tua app white label",desc:"Vuoi il TUO marchio sull'App Store? Creiamo un'app completamente white label con il tuo branding, dominio e identità.",f1:"100% tuo brand e logo",f2:"La tua scheda sull'App Store",f3:"Dominio e identità personalizzati",f4:"Proprietà e controllo totali",book:"Prenota una call conoscitiva",f5:"$399 al mese, tutto incluso"}},wA={before:{badge:"Prima",title:"Piattaforme sparse e in affitto",p1:"Dipendere da link-in-bio che non convertono",p2:"Più strumenti con branding incoerente",p3:"Gli algoritmi delle piattaforme controllano la tua portata",p4:"Nessuna vera proprietà della tua audience"},after:{badge:"Dopo",title:"Il tuo brand, la tua app",p1:"Possiedi la presenza del tuo brand sull'App Store",p2:"Controllo totale sul tuo ecosistema",p3:"Di' con orgoglio «Scarica la mia app»",p4:"Accesso diretto alla tua audience, sempre"}},xA={title:"Già live sull'App Store",subtitle:"Due app che abbiamo creato e pubblicato per creator, entrambe online adesso",category:"Lifestyle",view:"Guarda sull'App Store",footnote:"Entrambe realizzate sulla piattaforma WithMe, pubblicate con il marchio del creator.",alt1:"Schermata home dell'app {{app}}",alt2:"Schermata dei contenuti dell'app {{app}}",alt3:"Schermata del profilo dell'app {{app}}"},bA={title:"Come iniziare",subtitle:"Tre passaggi semplici per la tua app",s1:"Prenota una call conoscitiva.",s2:"Conferma lo scope dell'app, gli asset del brand e i requisiti di lancio.",s3:"WithMe sviluppa, invia e lancia l'app."},kA={title:"Tutto ciò di cui hai bisogno",subtitle:"Un'esperienza mobile completa in white-label che ti mette al comando",items:{branded:{title:"Ap
221p interamente personalizzata",desc:"Il tuo logo, i tuoi colori, i tuoi font e il tuo layout, esattamente come li vuoi."},stores:{title:"App Store e Google Play",desc:"Live su entrambe le piattaforme con il tuo brand. La tua app, la tua scheda."},platform:{title:"Accesso completo alla piattaforma",desc:"Corsi, community, coaching e abbonamenti, tutto in un'unica bellissima app."},dfy:{title:"Pubblicazione chiavi in mano",desc:"Ci occupiamo di tutto: sviluppo, invio e aggiornamenti continui."},launch:{title:"Lancio rapido",desc:"Pronta a essere pubblicata in soli 2-4 settimane. Nessun lungo ciclo di sviluppo."},maintenance:{title:"Zero manutenzione",desc:"Nessun codice richiesto. Manteniamo e aggiorniamo la tua app per te."}}},SA={title:"Cosa è incluso",subtitle:"Tutto ciò che ottieni con la tua app white label",features:{f1:"App iOS + Android interamente personalizzata con il tuo logo, colori e font",f2:"Pubblicata su App Store e Google Play (incluso)",f3:"Accesso completo a corsi, community e strumenti di coaching",f4:"Sviluppo e pubblicazione chiavi in mano",f5:"Manutenzione e aggiornamenti continui inclusi",f6:"Lancio in 2-4 settimane",f7:"Team di supporto dedicato"},cta:"Prenota una call conoscitiva",qualifier:"Preferisci pagare una volta sola e possedere lo sviluppo? Lo definiamo e lo quotiamo insieme durante la chiamata.",price:"$399/mese",priceNote:"Tutto incluso: lo sviluppo, entrambi gli store, l'hosting, gli aggiornamenti e il tuo abbonamento WithMe. Nulla da pagare in anticipo."},CA={title:"Amata dai creator",subtitle:"Scopri come i migliori creator hanno lanciato la loro app con WithMe",t1:{quote:"Avere la mia app ha cambiato completamente il modo in cui il mio pubblico mi vede. Non è più «guarda il mio link in bio», è «scarica la mia app». La credibilità è incredibile.",role:"Coach fitness"},t2:{quote:"WithMe ha reso l'intero processo semplicissimo. Dal design al lancio, hanno gestito tutto. Ora ho la mia app sull'App Store senza aver speso £100K in sviluppatori.",role:"Formatore business"},t3:{quote:"All'inizio ero scettica, ma vedere il mio brand sull'App Store è stato un punto di svolta. La mia community adora avere tutto in un posto e io adoro avere il controllo totale.",role:"Creator wellness"}},EA={title:"Domande frequenti",subtitle:"Tutto quello che devi sapere per avere la tua app",q0:{q:"Quanto costa?",a:"$399 al mese, tutto incluso. Se preferisci pagare una volta sola per lo sviluppo e possederlo, lo quotiamo insieme durante la chiamata."},q1:{q:"Di chi è l'app?",a:"Tua! L'app viene pubblicata con il tuo brand sull'App Store e su Google Play. Possiedi la scheda, il brand e la relazione con la tua audience."},q2:{q:"Quanto tempo ci vuole?",a:"In genere 2-4 settimane dall'inizio al lancio. Ci occupiamo dello sviluppo, dei test e della pubblicazione su entrambi gli store così puoi concentrarti sul tuo business."},q3:{q:"Cosa è incluso nel servizio?",a:"Tutto: design personalizzato con il tuo brand, sviluppo completo, pubblicazione su App Store e Google Play, accesso alla piattaforma corsi, community e coaching di WithMe, manutenzione continua e supporto dedicato."},q4:{q:"Servono competenze tecniche?",a:"Assolutamente no. Ci occupiamo di tutto il lavoro tecnico, dal design allo sviluppo alle pubblicazioni e agli aggiornamenti negli store. Tu fornisci solo gli asset del brand e i contenuti."},q5:{q:"Quali funzionalità posso avere nella mia app?",a:"La tua app include corsi, coaching dal vivo, funzionalità community, abbonamenti, pagamenti in-app, librerie di contenuti, messaggistica e altro. Un ecosistema completo per il tuo business."},q6:{q:"E se voglio fare modifiche dopo il lancio?",a:"Nessun problema! Manutenzione e aggiornamenti continui sono inclusi. Dicci cosa vuoi cambiare e ce ne occupiamo."}},jA={title1:"Il tuo brand merita di più di un link in bio.",title2:"Merita la sua app.",subtitle:"Unisciti ai creator che hanno smesso di affittare e hanno iniziato a possedere la propria presenza digitale.",book:"Prenota una call conoscitiva",foot:"Pronta al lancio in 2-4 settimane • Nessuna competenza tecnica richiesta"},NA={title:"Pronto a lanciare la tua app?",sub:"Inizia a costruire oggi",book:"Prenota una call conoscitiva",dismiss:"Chiudi"},PA={a11yTitle:"Poche domande veloci",a11yDescription:"Rispondi a quattro domande rapide per verificare se un app in white label è il passo successivo giusto per la tua attività.",progress:"Passo {{current}} di {{total}}",back:"Indietro",business:{title:"Che tipo di attività è?",o1:"Coach o consulente",o2:"Creatore di corsi o formatore",o3:"Abbonamento o community",o4:"Studio, palestra o in presenza",o5:"Altro"},audience:{title:"Quanto è grande, all'incirca, il tuo pubblico?",o1:"Meno di 500",o2:"Da 500 a 2.000",o3:"Da 2.000 a 10.000",o4:"Oltre 10.000"},revenue:{title:"All'incirca quanto genera l'attività ogni mese?",perMonth:"Al mese",o1:"Meno di 1k",o2:"Da 1k a 5k",o3:"Da 5k a 15k",o4:"Oltre 15k"},content:{title:"Hai contenuti o un'offerta per cui le persone già pagano?",o1:"Sì, già attiva",o2:"Qualcosa, ma non strutturato",o3:"Non ancora"},result:{good:{title:"Buon fit. Definiamo il progetto.",body:"Porta quello che hai già e durante la chiamata definiamo cosa deve fare la tua app.",cta:"Scegli un orario"},notyet:{title:"Risposta onesta: un'app non è il tuo prossimo passo.",body:"Un'app con il tuo marchio si ripaga quando ci sono persone che pagano e contenuti da metterci dentro. Comprarla prima aggiunge solo costi. Parti invece dall'app WithMe, avvia la tua offerta e i tuoi contenuti, e la versione con il tuo marchio varrà la pena quando ci tornerai.",cta:"Inizia sull'app WithMe",secondary:"Prenota comunque una chiamata"}}},TA={personalised:{yourPreview:"Your preview",whatsIncluded:"What's included",howItWorks:"How it works",viewOffer:"View the offer",builtFromProfile:"Built from your WithMe content",revealTitleEpic:"Your history universe. Now an app.",revealTitle:"{{name}}, your content universe. Now an app.",revealBodyEpic:"Your strongest content is already mapped, from {{first}} to {{second}} and {{third}}.",revealBody:"Your {{category}} content already has the shape of an app, with the strongest pieces ready to map into one experience.",contentCategory:"content",explorePreview:"Explore your preview",seeNeeded:"See what's needed",productsFound:"products found",coursesMapped:"courses mapped",communitiesFound:"c
221ommunities found",coverTitleEpic:"A living history of the world",coverTitle:"Your {{category}} world",coverSubtext:"A first look at how your content could come together.",continueExploring:"Continue exploring",viewAll:"View all",appPreview:"App preview",profileFound:"Profile and content found",brandStillNeeded:"Brand assets still needed",phoneHeadline:"Your world, in one place",phoneSubhead:"A clearer way to bring people back to your work.",home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",types:{course:"Course",community:"Community",membership:"Membership",digital:"Digital",content:"Content"},readyToShape:"Ready to shape",readinessEyebrow:"Readiness",livePayload:"Live payload",contentMap:"Content map",stillNeeded:"Still needed",profileAvailable:"and biography available",products:"products",courses:"courses",communities:"communities",brandAssets:"Brand assets",brandDetail:"Logo, colours, store details and launch requirements",offerEyebrow:"Your app, ready to launch",offerTitle:"One tap away from your audience",offerBody:"WithMe can shape {{name}}'s existing content into a branded app your audience can return to.",appStores:"app stores included",weekTarget:"week target",upfront:"upfront build fee",currentOffer:"Current offer",offerIncluded:"Build, hosting, stores and updates included",offerBranding:"{{name}} branding throughout",offerStores:"iOS and Android publishing",offerContent:"{{courses}} courses, {{communities}} communities and {{productCount}} products mapped",offerMaintenance:"Ongoing maintenance and updates",checkReadiness:"Check launch readiness",bookSupporting:"Book a discovery call"}},AA={lang:fA,checkout:mA,nav:hA,hero:gA,trust:yA,appChoice:vA,problem:wA,showcase:xA,howToStart:bA,features:kA,pricing:SA,social:CA,faq:EA,finalCta:jA,floating:NA,qualify:PA,creator:TA},RA={label:"Språk"},MA={cta:"Kom i gang nå",note:"Sikker betaling med Stripe"},OA={features:"Funksjoner",faq:"FAQ",bookCall:"Book en samtale",included:"Hva som er inkludert"},LA={titleStart:"Din egen white label-app,",titleAccent:"Under din merkevare",subtitle:"Vi lager en helhetlig white label-app for virksomheten din, live i App Store og Google Play på få uker.",bookMeeting:"Book en oppdagelsessamtale",socialProof:"Bli med over 100 skapere som har lansert sin egen app"},DA={secure:"Sikker og privat",launch:"Lansering på 2-4 uker",apps:"Over 100 lanserte apper",support:"Dedikert support"},zA={title:"To måter å komme i gang på",subtitle:"Velg det som passer best for din merkevare",existing:{title:"Bruk WithMe-appen",desc:"Perfekt for de fleste skapere. Last ned appen vår fra App Store eller Google Play og begynn å bygge fellesskapet ditt i dag.",f1:"Klar til bruk med en gang",f2:"Alle funksjoner inkludert",f3:"Gratis å laste ned",cta:"Hent WithMe-appen"},custom:{badge:"PREMIUM",title:"Din white label-app",desc:"Vil du ha DIN merkevare i App Store? Vi lager en helhetlig white label-app med din merkevare, ditt domene og din identitet.",f1:"100 % din merkevare og logo",f2:"Din egen App Store-oppføring",f3:"Egendefinert domene og identitet",f4:"Full eierskap og kontroll",book:"Book en oppdagelsessamtale",f5:"$399 i måneden, alt inkludert"}},IA={before:{badge:"Før",title:"Spredte, leide plattformer",p1:"Avhengig av link-in-bio som ikke konverterer",p2:"Flere verktøy med inkonsistent merkevare",p3:"Plattformers algoritmer styrer rekkevidden din",p4:"Ingen reell eierskap til publikummet ditt"},after:{badge:"Etter",title:"Din merkevare, din app",p1:"Eie din tilstedeværelse i App Store",p2:"Full kontroll over ditt økosystem",p3:"Si stolt «Last ned appen min»",p4:"Direkte tilgang til publikummet ditt, alltid"}},_A={title:"Allerede live i App Store",subtitle:"To apper vi har bygget og lansert for skapere, begge live akkurat nå",category:"Livsstil",view:"Se i App Store",footnote:"Begge bygget på WithMe sin plattform, publisert under skaperens egen merkevare.",alt1:"Hjemskjerm i appen {{app}}",alt2:"Innholdsskjerm i appen {{app}}",alt3:"Profilskjerm i appen {{app}}"}
221,$A={title:"Slik kommer du i gang",subtitle:"Tre enkle steg til din egen app",s1:"Book en oppdagelsessamtale.",s2:"Bekreft appens omfang, merkevareelementer og lanseringskrav.",s3:"WithMe bygger, sender inn og lanserer appen."},FA={title:"Alt du trenger",subtitle:"En komplett white-label mobilopplevelse som gir deg kontrollen",items:{branded:{title:"Fullt merkevaretilpasset app",desc:"Din logo, dine farger, fonter og layout, designet akkurat slik du vil."},stores:{title:"App Store og Google Play",desc:"Live på begge plattformer under ditt merkenavn. Din app, din oppføring."},platform:{title:"Full tilgang til plattformen",desc:"Kurs, fellesskap, coaching og abonnementer, alt i én vakker app."},dfy:{title:"Ferdig-for-deg-publisering",desc:"Vi tar oss av alt: utvikling, innsending og løpende oppdateringer."},launch:{title:"Rask lansering",desc:"Klar til å gå live på bare 2-4 uker. Ingen lange utviklingsløp."},maintenance:{title:"Null vedlikehold",desc:"Ingen koding nødvendig. Vi vedlikeholder og oppdaterer appen for deg."}}},BA={title:"Hva som er inkludert",subtitle:"Alt du får med din white label-app",features:{f1:"Fullt tilpasset iOS + Android-app med din logo, farger og fonter",f2:"Publisert på både App Store og Google Play (inkludert)",f3:"Full tilgang til kurs, fellesskap og coachingverktøy",f4:"Ferdig-for-deg utvikling og publisering",f5:"Løpende vedlikehold og oppdateringer inkludert",f6:"Lansering på 2-4 uker",f7:"Dedikert supportteam"},cta:"Book en oppdagelsessamtale",qualifier:"Vil du heller betale én gang og eie utviklingen selv? Vi kartlegger og priser det sammen med deg i samtalen.",price:"$399/måned",priceNote:"Alt inkludert: utviklingen, begge appbutikkene, drift, oppdateringer og WithMe-abonnementet ditt. Ingenting å betale på forhånd."},WA={title:"Elsket av skapere",subtitle:"Se hvordan toppskapere lanserte appene sine med WithMe",t1:{quote:"Å ha min egen app endret helt hvordan publikummet mitt ser meg. Det er ikke lenger «sjekk lenken i bio», det er «last ned appen min». Troverdigheten er utrolig.",role:"Treningscoach"},t2:{quote:"WithMe gjorde hele prosessen sømløs. Fra design til lansering tok de seg av alt. Nå har jeg min egen app i App Store uten å bruke £100K på utviklere.",role:"Forretningscoach"},t3:{quote:"Jeg var skeptisk først, men å se merkevaren min i App Store var banebrytende. Fellesskapet mitt elsker å ha alt på ett sted, og jeg elsker å ha full kontroll.",role:"Wellness-skaper"}},qA={title:"Ofte stilte spørsmål",subtitle:"Alt du trenger å vite for å få din egen app",q0:{q:"Hva koster det?",a:"$399 i måneden, alt inkludert. Vil du heller betale en engangssum for utviklingen og eie den, priser vi det sammen med deg i samtalen."},q1:{q:"Hvem eier appen?",a:"Det gjør du! Appen publiseres under ditt merkenavn i App Store og Google Play. Du eier oppføringen, merkevaren og relasjonen til publikummet ditt."},q2:{q:"Hvor lang tid tar det?",a:"Vanligvis 2-4 uker fra start til lansering. Vi tar oss av all utvikling, testing og innsending til begge butikkene så du kan fokusere på virksomheten din."},q3:{q:"Hva er inkludert i tjenesten?",a:"Alt: tilpasset design med din merkevare, full utvikling, publisering i App Store og Google Play, tilgang til WithMe sin kurs-, fellesskaps- og coachingplattform, løpende vedlikehold og dedikert support."},q4:{q:"Trenger jeg tekniske ferdigheter?",a:"Absolutt ikke. Vi håndterer alt det tekniske, fra design og utvikling til innsendinger og oppdateringer i butikkene. Du leverer bare merkevareelementer og innhold."},q5:{q:"Hvilke funksjoner kan jeg ha i appen?",a:"Appen din inkluderer kurs, live coaching, fellesskapsfunksjoner, abonnementer, betalinger i appen, innholdsbibliotek, meldinger og mer. Et komplett økosystem for virksomheten din."},q6:{q:"Hva om jeg vil gjøre endringer etter lansering?",a:"Ikke noe problem! Løpende vedlikehold og oppdateringer er inkludert. Bare si hva du vil endre så tar vi oss av det."}},UA={title1:"Merkevaren din fortjener mer enn en lenke i bio.",title2:"Den fortjener sin egen app.",subt
221itle:"Bli med skaperne som har sluttet å leie og begynt å eie sin digitale tilstedeværelse.",book:"Book en oppdagelsessamtale",foot:"Klar til lansering på 2-4 uker • Ingen tekniske ferdigheter kreves"},VA={title:"Klar til å lansere appen din?",sub:"Begynn å bygge i dag",book:"Book en oppdagelsessamtale",dismiss:"Lukk"},HA={a11yTitle:"Noen raske spørsmål",a11yDescription:"Svar på fire raske spørsmål for å sjekke om en white label app er neste riktige steg for virksomheten din.",progress:"Steg {{current}} av {{total}}",back:"Tilbake",business:{title:"Hva slags virksomhet er dette?",o1:"Coach eller konsulent",o2:"Kursskaper eller underviser",o3:"Medlemskap eller fellesskap",o4:"Studio, treningssenter eller fysisk",o5:"Noe annet"},audience:{title:"Omtrent hvor stort er publikummet ditt?",o1:"Under 500",o2:"500 til 2 000",o3:"2 000 til 10 000",o4:"Over 10 000"},revenue:{title:"Omtrent hvor mye omsetter virksomheten hver måned?",perMonth:"Per måned",o1:"Under 1k",o2:"1k til 5k",o3:"5k til 15k",o4:"Over 15k"},content:{title:"Har du innhold eller et tilbud folk allerede betaler for?",o1:"Ja, i drift nå",o2:"Litt, men ikke satt sammen",o3:"Ikke ennå"},result:{good:{title:"God match. La oss definere det.",body:"Ta med det du allerede har, så kartlegger vi hva appen din må gjøre i samtalen.",cta:"Velg et tidspunkt"},notyet:{title:"Ærlig svar: en app er ikke ditt neste steg.",body:"En app med din merkevare lønner seg når folk betaler og du har innhold å fylle den med. Å kjøpe en før det gir bare kostnader. Start heller på WithMe appen, få tilbudet og innholdet i gang, så vil versjonen med din merkevare være verdt det når du kommer tilbake til den.",cta:"Start på WithMe appen",secondary:"Book en samtale likevel"}}},YA={personalised:{yourPreview:"Your preview",whatsIncluded:"What's included",howItWorks:"How it works",viewOffer:"View the offer",builtFromProfile:"Built from your WithMe content",revealTitleEpic:"Your history universe. Now an app.",revealTitle:"{{name}}, your content universe. Now an app.",revealBodyEpic:"Your strongest content is already mapped, from {{first}} to {{second}} and {{third}}.",revealBody:"Your {{category}} content already has the shape of an app, with the strongest pieces ready to map into one experience.",contentCategory:"content",explorePreview:"Explore your preview",seeNeeded:"See what's needed",productsFound:"products found",coursesMapped:"courses mapped",communitiesFound:"communities found",coverTitleEpic:"A living history of the world",coverTitle:"Your {{category}} world",coverSubtext:"A first look at how your content could come together.",continueExploring:"Continue exploring",viewAll:"View all",appPreview:"App preview",profileFound:"Profile and content found",brandStillNeeded:"Brand assets still needed",phoneHeadline:"Your world, in one place",phoneSubhead:"A clearer way to bring people back to your work.",home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",types:{course:"Course",community:"Community",membership:"Membership",digital:"Digital",content:"Content"},readyToShape:"Ready to shape",readinessEyebrow:"Readiness",livePayload:"Live payload",contentMap:"Content map",stillNeeded:"Still needed",profileAvailable:"and biography available",products:"products",courses:"courses",communities:"communities",brandAssets:"Brand assets",brandDetail:"Logo, colours, store details and launch requirements",offerEyebrow:"Your app, ready to launch",offerTitle:"One tap away from your audience",offerBody:"WithMe can shape {{name}}'s existing content into a branded app your audience can return to.",appStores:"app stores included",weekTarget:"week target",upfront:"upfront build fee",currentOffer:"Current offer",offerIncluded:"Build, hosting, stores and updates included",offerBranding:"{{name}} branding throughout",offerStores:"iOS and Android publishing",offerContent:"{{courses}} courses, {{communities}} communities and {{productCount}} products mapped",offerMaintenance:"Ongoing maintenance and updates",checkReadiness:"Check launch readiness",bookSupporting:"Book a discovery call"}},KA={lang:RA,checkout:MA,nav:OA,hero:LA,trust:DA,appChoice:zA,problem:IA,showcase:_A,howToStart:$A,features:FA,pricing:BA,social:WA,faq:qA,finalCta:UA,floating:VA,qualify:HA,creator:YA},GA={label:"Język"},QA={cta:"Zacznij teraz",note:"Bezpieczna płatność przez Stripe"},XA={features:"Funkcje",faq:"FAQ",bookCall:"Umów rozmowę",included:"Co zawiera"},ZA={titleStart:"Twoja własna aplikacja white label,",titleAccent:"Pod Twoją marką",subtitle:"Tworzymy w pełni white label aplikację dla Twojej firmy, dostępną w App Store i Google Play w kilka tygodni.",bookMeeting:"Umów rozmowę wstępną",socialProof:"Dołącz do ponad 100 twórców, którzy uruchomili własną aplikację"},JA={secure:"Bezpieczna i prywatna",launch:"Start w 2-4 tygodnie",apps:"Ponad 100 wydanych aplikacji",supp
221ort:"Dedykowane wsparcie"},eR={title:"Dwa sposoby, by zacząć",subtitle:"Wybierz to, co najlepiej pasuje do Twojej marki",existing:{title:"Użyj aplikacji WithMe",desc:"Idealne dla większości twórców. Pobierz naszą aplikację z App Store lub Google Play i zacznij budować społeczność już dziś.",f1:"Gotowa do użycia od razu",f2:"Wszystkie funkcje w cenie",f3:"Darmowe pobranie",cta:"Pobierz aplikację WithMe"},custom:{badge:"PREMIUM",title:"Twoja aplikacja white label",desc:"Chcesz SWOJEJ marki w App Store? Tworzymy w pełni white label aplikację z Twoim brandingiem, domeną i tożsamością.",f1:"100% Twoja marka i logo",f2:"Własna karta w App Store",f3:"Własna domena i tożsamość",f4:"Pełna własność i kontrola",book:"Umów rozmowę wstępną",f5:"$399 miesięcznie, wszystko w cenie"}},tR={before:{badge:"Przed",title:"Rozproszone, wynajmowane platformy",p1:"Poleganie na link-in-bio, który nie konwertuje",p2:"Wiele narzędzi z niespójnym brandingiem",p3:"Algorytmy platform kontrolują Twój zasięg",p4:"Brak realnej własności odbiorców"},after:{badge:"Po",title:"Twoja marka, Twoja aplikacja",p1:"Posiadaj obecność swojej marki w App Store",p2:"Pełna kontrola nad ekosystemem",p3:"Mów z dumą „Pobierz moją aplikację”",p4:"Bezpośredni dostęp do odbiorców, zawsze"}},nR={title:"Już dostępne w App Store",subtitle:"Dwie aplikacje, które zbudowaliśmy i wydaliśmy dla twórców, obie działają już teraz",category:"Styl życia",view:"Zobacz w App Store",footnote:"Obie zbudowane na platformie WithMe, opublikowane pod własną marką twórcy.",alt1:"Ekran główny aplikacji {{app}}",alt2:"Ekran treści aplikacji {{app}}",alt3:"Ekran profilu aplikacji {{app}}"},rR={title:"Jak zacząć",subtitle:"Trzy proste kroki do własnej aplikacji",s1:"Umów rozmowę wstępną.",s2:"Potwierdź zakres aplikacji, materiały marki i wymagania dotyczące startu.",s3:"WithMe buduje, wysyła i uruchamia aplikację."},oR={title:"Wszystko, czego potrzebujesz",subtitle:"Kompletne mobilne doświadczenie white-label, które daje Ci kontrolę",items:{branded:{title:"W pełni brandowana aplikacja",desc:"Twoje logo, kolory, fonty i układ, zaprojektowane dokładnie tak, jak chcesz."},stores:{title:"App Store i Google Play",desc:"Dostępna na obu platformach pod n
221azwą Twojej marki. Twoja aplikacja, Twoja karta."},platform:{title:"Pełny dostęp do platformy",desc:"Kursy, społeczność, coaching i subskrypcje, wszystko w jednej pięknej aplikacji."},dfy:{title:"Publikacja pod klucz",desc:"Zajmujemy się wszystkim: rozwój, wysyłka i bieżące aktualizacje."},launch:{title:"Szybki start",desc:"Gotowa do publikacji w zaledwie 2-4 tygodnie. Bez długich cykli rozwoju."},maintenance:{title:"Zero utrzymania",desc:"Bez kodowania. Utrzymujemy i aktualizujemy Twoją aplikację za Ciebie."}}},iR={title:"Co zawiera",subtitle:"Wszystko, co otrzymujesz z aplikacją white label",features:{f1:"W pełni brandowana aplikacja iOS + Android z Twoim logo, kolorami i fontami",f2:"Publikacja w App Store i Google Play (w cenie)",f3:"Pełny dostęp do kursów, społeczności i narzędzi coachingowych",f4:"Rozwój i publikacja pod klucz",f5:"Bieżące utrzymanie i aktualizacje w cenie",f6:"Start w 2-4 tygodnie",f7:"Dedykowany zespół wsparcia"},cta:"Umów rozmowę wstępną",qualifier:"Wolisz zapłacić raz i mieć budowę na własność? Ustalamy zakres i cenę wspólnie podczas rozmowy.",price:"$399/miesiąc",priceNote:"Wszystko w cenie: budowa aplikacji, obie platformy, hosting, aktualizacje i Twoja subskrypcja WithMe. Nic do zapłaty z góry."},aR={title:"Uwielbiana przez twórców",subtitle:"Zobacz, jak topowi twórcy wydali swoje aplikacje z WithMe",t1:{quote:"Posiadanie własnej aplikacji całkowicie zmieniło to, jak widzą mnie moi odbiorcy. To już nie „sprawdź link w bio”, to „pobierz moją aplikację”. Wiarygodność jest niesamowita.",role:"Trener fitness"},t2:{quote:"WithMe sprawił, że cały proces był płynny. Od projektu do wydania zajęli się wszystkim. Teraz mam własną aplikację w App Store bez wydawania £100K na programistów.",role:"Edukator biznesowy"},t3:{quote:"Na początku byłam sceptyczna, ale zobaczenie mojej marki w App Store zmieniło zasady gry. Moja społeczność uwielbia mieć wszystko w jednym miejscu, a ja uwielbiam mieć pełną kontrolę.",role:"Twórczyni wellness"}},sR={title:"Najczęściej zadawane pytania",subtitle:"Wszystko, co musisz wiedzieć, by mieć własną aplikację",q0:{q:"Ile to kosztuje?",a:"$399 miesięcznie, wszystko w cenie. Jeśli wolisz zapłacić jednorazowo za budowę i mieć ją na własność, wycenimy to wspólnie podczas rozmowy."},q1:{q:"Kto jest właścicielem aplikacji?",a:"Ty! Aplikacja jest publikowana pod nazwą Twojej marki w App Store i Google Play. Jesteś właścicielem karty aplikacji, marki i relacji z odbiorcami."},q2:{q:"Ile to trwa?",a:"Zwykle 2-4 tygodnie od startu do wydania. Zajmujemy się rozwojem, testami i wysyłką do obu sklepów, byś mógł skupić się na biznesie."},q3:{q:"Co jest w cenie usługi?",a:"Wszystko: spersonalizowany design z Twoim brandingiem, pełny rozwój, publikacja w App Store i Google Play, dostęp do platformy kursów, społeczności i coachingu WithMe, bieżące utrzymanie i dedykowane wsparcie."},q4:{q:"Czy potrzebuję umiejętności technicznych?",a:"Absolutnie nie. Zajmujemy się całą techniczną częścią, od projektu i rozwoju po wysyłkę i aktualizacje w sklepach. Ty dostarczasz tylko materiały marki i treści."},q5:{q:"Jakie funkcje mogę mieć w aplikacji?",a:"Twoja aplikacja obejmuje kursy, coaching na żywo, funkcje społecznościowe, subskrypcje, płatności w aplikacji, biblioteki treści, wiadomości i więcej. Kompletny ekosystem dla Twojego biznesu."},q6:{q:"Co jeśli będę chciał wprowadzić zmiany po wydaniu?",a:"Bez problemu! Bieżące utrzymanie i aktualizacje są w cenie. Wystarczy powiedzieć, co zmienić, a my się tym zajmiemy."}},lR={title1:"Twoja marka zasługuje na więcej niż link w bio.",title2:"Zasługuje na własną aplikację.",subtitle:"Dołącz do twórców, którzy przestali wynajmować i zaczęli posiadać swoją cyfrową obecność.",book:"Umów rozmowę wstępną",foot:"Gotowa do startu w 2-4 tygodnie • Bez umiejętności technicznych"},cR={title:"Gotowy, by wydać swoją aplikację?",sub:"Zacznij budować już dziś",book:"Umów rozmowę wstępną",dismiss:"Zamknij"},uR={a11yTitle:"Kilka szybkich pytań",a11yDescription:"Odpowiedz na cztery krótkie pytania, aby sprawdzić, czy aplikacja white label to następny właściwy krok dla Twojej firmy.",progress:"Krok {{current}} z {{total}}",back:"Wstecz",business:{title:"Jaki to rodzaj działalności?",o1:"Coach lub konsultant",o2:"Twórca kursów lub edukator",o3:"Członkostwo lub społeczność",o4:"Studio, siłownia lub stacjonarnie",o5:"Coś innego"},audience:{title:"Jak duża jest mniej więcej twoja publiczność?",o1:"Poniżej 500",o2:"500 do 2 000",o3:"2 000 do 10 000",o4:"Ponad 10 000"},revenue:{title:"Ile mniej więcej firma zarabia miesięcznie?",perMonth:"Miesięcznie",o1:"Poniżej 1k",o2:"1k do 5k",o3:"5k do 15k",o4:"Ponad 15k"},content:{title:"Masz treści lub ofertę, za którą ludzie już płacą?",o1:"Tak, działa teraz",o2:"Trochę, ale bez pakietu",o3:"Jeszcze nie"},result:{good:{title:"Dobre dopasowanie. Ustalmy zakres.",body:"Przynieś to, co już masz, a podczas rozmowy określimy, co ma robić twoja aplikacja.",cta:"W
221ybierz termin"},notyet:{title:"Szczera odpowiedź: aplikacja to nie twój następny krok.",body:"Aplikacja z twoją marką zwraca się wtedy, gdy ludzie płacą i masz treści, które można w niej umieścić. Kupno wcześniej to tylko dodatkowy koszt. Zacznij zamiast tego w aplikacji WithMe, uruchom swoją ofertę i treści, a wersja z twoją marką będzie warta zachodu, gdy do niej wrócisz.",cta:"Zacznij w aplikacji WithMe",secondary:"Mimo to umów rozmowę"}}},dR={personalised:{yourPreview:"Your preview",whatsIncluded:"What's included",howItWorks:"How it works",viewOffer:"View the offer",builtFromProfile:"Built from your WithMe content",revealTitleEpic:"Your history universe. Now an app.",revealTitle:"{{name}}, your content universe. Now an app.",revealBodyEpic:"Your strongest content is already mapped, from {{first}} to {{second}} and {{third}}.",revealBody:"Your {{category}} content already has the shape of an app, with the strongest pieces ready to map into one experience.",contentCategory:"content",explorePreview:"Explore your preview",seeNeeded:"See what's needed",productsFound:"products found",coursesMapped:"courses mapped",communitiesFound:"communities found",coverTitleEpic:"A living history of the world",coverTitle:"Your {{category}} world",coverSubtext:"A first look at how your content could come together.",continueExploring:"Continue exploring",viewAll:"View all",appPreview:"App preview",profileFound:"Profile and content found",brandStillNeeded:"Brand assets still needed",phoneHeadline:"Your world, in one place",phoneSubhead:"A clearer way to bring people back to your work.",home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",types:{course:"Course",community:"Community",membership:"Membership",digital:"Digital",content:"Content"},readyToShape:"Ready to shape",readinessEyebrow:"Readiness",livePayload:"Live payload",contentMap:"Content map",stillNeeded:"Still needed",profileAvailable:"and biography available",products:"products",courses:"courses",communities:"communities",brandAssets:"Brand assets",brandDetail:"Logo, colours, store details and launch requirements",offerEyebrow:"Your app, ready to launch",offerTitle:"One tap away from your audience",offerBody:"WithMe can shape {{name}}'s existing content into a branded app your audience can return to.",appStores:"app stores included",weekTarget:"week target",upfront:"upfront build fee",currentOffer:"Current offer",offerIncluded:"Build, hosting, stores and updates included",offerBranding:"{{name}} branding throughout",offerStores:"iOS and Android publishing",offerContent:"{{courses}} courses, {{communities}} communities and {{productCount}} products mapped",offerMaintenance:"Ongoing maintenance and updates",checkReadiness:"Check launch readiness",bookSupporting:"Book a discovery call"}},pR={lang:GA,checkout:QA,nav:XA,hero:ZA,trust:JA,appChoice:eR,problem:tR,showcase:nR,howToStart:rR,features:oR,pricing:iR,social:aR,faq:sR,finalCta:lR,floating:cR,qualify:uR,creator:dR},fR={label:"Taal"},mR={cta:"Start nu",note:"Veilig afrekenen met Stripe"},hR={features:"Functies",faq:"FAQ",bookCall:"Plan een gesprek",included:"Wat inbegrepen is"},gR={titleStart:"Je eigen white label app,",titleAccent:"Onder jouw merk",subtitle:"Wij bouwen een volledig white label app voor jouw bedrijf, binnen enkele weken live in de App Store en Google Play.",bookMeeting:"Plan een kennismakingsgesprek",socialProof:"Sluit je aan bij 100+ creators die hun eigen app lanceerden"},yR={secure:"Veilig & privé",launch:"Lancering in 2-4 weken",apps:"100+ apps gelanceerd",support:"Persoonlijke support"},vR={title:"Twee manieren om te starten",subtitle:"Kies wat het beste bij jouw merk past",existing:{title:"Gebruik de WithMe-app",desc:"Perfect voor de meeste creators. Download onze bestaande app in de App Store of Google Play en begin vandaag met het opbouwen van je community.",f1:"Direct te gebruiken",f2:"Alle functies inbegrepen",f3:"Gratis te downloaden",cta:"Download WithMe-app"},custom:{badge:"PREMIUM",title:"Jouw white label app",desc:"Wil je JOUW merk in de App Store? Wij bouwen een volledig white label app met jouw branding, domein en identiteit.",f1:"100% jouw merk & logo",f2:"Je eigen App Store-vermelding",f3:"Eigen domein & identiteit",f4:"Volledig eigendom & controle",book:"Plan een kennismakingsgesprek",f5:"$399 per maand, alles inbegrepen"}},wR={before:{badge:"Vóór",title:"Verspreide, gehuurde platforms",p1:"Vertrou
221wen op link-in-bio's die niet converteren",p2:"Meerdere tools met inconsistente branding",p3:"Platformalgoritmes bepalen je bereik",p4:"Geen echt eigenaarschap over je publiek"},after:{badge:"Na",title:"Jouw merk, jouw app",p1:"Bezit je merkaanwezigheid in de App Store",p2:"Volledige controle over je ecosysteem",p3:"Zeg trots «Download mijn app»",p4:"Directe toegang tot je publiek, altijd"}},xR={title:"Al live in de App Store",subtitle:"Twee apps die we voor creators bouwden en lanceerden, allebei nu live",category:"Lifestyle",view:"Bekijk in de App Store",footnote:"Beide gebouwd op het platform van WithMe, gepubliceerd onder het eigen merk van de creator.",alt1:"Startscherm van de app {{app}}",alt2:"Contentscherm van de app {{app}}",alt3:"Profielscherm van de app {{app}}"},bR={title:"Zo start je",subtitle:"Drie simpele stappen naar je eigen app",s1:"Plan een kennismakingsgesprek.",s2:"Bevestig de app-scope, brand assets en lanceereisen.",s3:"WithMe bouwt, dient in en lanceert de app."},kR={title:"Alles wat je nodig hebt",subtitle:"Een complete white-label mobiele ervaring die jou de controle geeft",items:{branded:{title:"Volledig gebrande app",desc:"Jouw logo, kleuren, lettertypes en layout, precies zoals je wilt."},stores:{title:"App Store & Google Play",desc:"Live op beide platforms onder jouw merknaam. Jouw app, jouw vermelding."},platform:{title:"Volledige platformtoegang",desc:"Cursussen, community, coaching en abonnementen, alles in één prachtige app."},dfy:{title:"Kant-en-klaar publiceren",desc:"Wij regelen alles: ontwikkeling, indiening en doorlopende updates."},launch:{title:"Snelle lancering",desc:"Klaar om live te gaan in slechts 2-4 weken. Geen lange ontwikkelcycli."},maintenance:{title:"Nul onderhoud",desc:"Geen code nodig. Wij onderhouden en updaten je app voor jou."}}},SR={title:"Wat inbegrepen is",subtitle:"Alles wat je krijgt met je white label app",features:{f1:"Volledig gebrande iOS + Android-app met jouw logo, kleuren en lettertypes",f2:"Gepubliceerd in App Store én Google Play (inbegrepen)",f3:"Volledige toegang tot cursussen, community en coachingtools",f4:"Kant-en-klare ontwikkeling en publicatie",f5:"Doorlopend onderhoud en updates inbegrepen",f6:"Lancering in 2-4 weken",f7:"Toegewijd supportteam"},cta:"Plan een kennismakingsgesprek",qualifier:"Liever eenmalig betalen en de bouw zelf bezitten? Dat brengen we samen in kaart en prijzen we tijdens het gesprek.",price:"$399/maand",priceNote:"Alles inbegrepen: de bouw, beide app stores, hosting, updates en je WithMe abonnement. Vooraf betaal je niets."},CR={title:"Geliefd door creators",subtitle:"Zie hoe topcreators hun apps lanceerden met WithMe",t1:{quote:"Mijn eigen app hebben veranderde volledig hoe mijn publiek me ziet. Het is niet meer «check mijn link in bio», het is «download mijn app». De geloofwaardigheid is ongelooflijk.",role:"Fitnesscoach"},t2:{quote:"WithMe maakte het hele proces naadloos. Van ontwerp tot lancering regelden ze alles. Nu heb ik mijn eigen app in de App Store zonder £100K aan developers uit te geven.",role:"Businesscoac
221h"},t3:{quote:"Ik was eerst sceptisch, maar mijn merk in de App Store zien was een gamechanger. Mijn community vindt het geweldig dat alles op één plek staat en ik heb volledige controle.",role:"Wellness-creator"}},ER={title:"Veelgestelde vragen",subtitle:"Alles wat je moet weten om je eigen app te krijgen",q0:{q:"Wat kost het?",a:"$399 per maand, alles inbegrepen. Wil je liever eenmalig voor de bouw betalen en die zelf bezitten, dan prijzen we dat samen tijdens het gesprek."},q1:{q:"Wie is eigenaar van de app?",a:"Jij! De app wordt gepubliceerd onder jouw merknaam in de App Store en Google Play. Jij bent eigenaar van de vermelding, het merk en de relatie met je publiek."},q2:{q:"Hoe lang duurt het?",a:"Doorgaans 2-4 weken van start tot lancering. Wij regelen alle ontwikkeling, tests en indiening bij beide stores zodat jij je op je bedrijf kunt richten."},q3:{q:"Wat is inbegrepen in de service?",a:"Alles: custom design met jouw branding, volledige ontwikkeling, publicatie in App Store en Google Play, toegang tot het cursus-, community- en coachingplatform van WithMe, doorlopend onderhoud en toegewijde support."},q4:{q:"Heb ik technische kennis nodig?",a:"Absoluut niet. Wij regelen al het technische werk, van ontwerp en ontwikkeling tot indieningen en updates in de stores. Jij levert enkel je merkmateriaal en content."},q5:{q:"Welke functies kan mijn app hebben?",a:"Je app bevat cursussen, live coaching, communityfuncties, abonnementen, in-app betalingen, contentbibliotheken, berichten en meer. Een compleet ecosysteem voor je bedrijf."},q6:{q:"Wat als ik na de lancering iets wil aanpassen?",a:"Geen probleem! Doorlopend onderhoud en updates zijn inbegrepen. Laat weten wat je wilt aanpassen en wij regelen het."}},jR={title1:"Je merk verdient meer dan een link in bio.",title2:"Het verdient zijn eigen app.",subt
221itle:"Sluit je aan bij creators die stopten met huren en hun digitale aanwezigheid nu bezitten.",book:"Plan een kennismakingsgesprek",foot:"Klaar om te lanceren in 2-4 weken • Geen technische kennis nodig"},NR={title:"Klaar om je app te lanceren?",sub:"Begin vandaag met bouwen",book:"Plan een kennismakingsgesprek",dismiss:"Sluiten"},PR={a11yTitle:"Een paar korte vragen",a11yDescription:"Beantwoord vier korte vragen om te controleren of een white label app de juiste volgende stap is voor jouw bedrijf.",progress:"Stap {{current}} van {{total}}",back:"Terug",business:{title:"Wat voor soort business is dit?",o1:"Coach of consultant",o2:"Cursusmaker of docent",o3:"Membership of community",o4:"Studio, sportschool of fysiek",o5:"Iets anders"},audience:{title:"Hoe groot is je publiek ongeveer?",o1:"Minder dan 500",o2:"500 tot 2.000",o3:"2.000 tot 10.000",o4:"Meer dan 10.000"},revenue:{title:"Wat brengt de business ongeveer per maand op?",perMonth:"Per maand",o1:"Minder dan 1k",o2:"1k tot 5k",o3:"5k tot 15k",o4:"Meer dan 15k"},content:{title:"Heb je content of een aanbod waar mensen al voor betalen?",o1:"Ja, draait nu",o2:"Iets, maar nog niet verpakt",o3:"Nog niet"},result:{good:{title:"Goede match. Laten we het uitwerken.",body:"Neem mee wat je al hebt, dan brengen we tijdens het gesprek in kaart wat jouw app moet doen.",cta:"Kies een tijd"},notyet:{title:"Eerlijk antwoord: een app is niet je volgende stap.",body:"Een app met jouw merk verdient zichzelf terug zodra mensen betalen en je content hebt om erin te zetten. Hem eerder kopen kost alleen maar geld. Begin in plaats daarvan op de WithMe app, krijg je aanbod en content draaiend, en de versie met jouw merk is het waard wanneer je erop terugkomt.",cta:"Begin op de WithMe app",secondary:"Toch een gesprek boeken"}}},TR={personalised:{yourPreview:"Your preview",whatsIncluded:"What's included",howItWorks:"How it works",viewOffer:"View the offer",builtFromProfile:"Built from your WithMe content",revealTitleEpic:"Your history universe. Now an app.",revealTitle:"{{name}}, your content universe. Now an app.",revealBodyEpic:"Your strongest content is already mapped, from {{first}} to {{second}} and {{third}}.",revealBody:"Your {{category}} content already has the shape of an app, with the strongest pieces ready to map into one experience.",contentCategory:"content",explorePreview:"Explore your preview",seeNeeded:"See what's needed",productsFound:"products found",coursesMapped:"courses mapped",communitiesFound:"communities found",coverTitleEpic:"A living history of the world",coverTitle:"Your {{category}} world",coverSubtext:"A first look at how your content could come together.",continueExploring:"Continue exploring",viewAll:"View all",appPreview:"App preview",profileFound:"Profile and content found",brandStillNeeded:"Brand assets still needed",phoneHeadline:"Your world, in one place",phoneSubhead:"A clearer way to bring people back to your work.",home:"Home",library:"Library",community:"Community",homeEyebrow:"Your space",homeTitle:"Welcome",libraryEyebrow:"Your courses",libraryTitle:"Library",communityEyebrow:"Your people",communityTitle:"Community",types:{course:"Course",community:"Community",membership:"Membership",digital:"Digital",content:"Content"},readyToShape:"Ready to shape",readinessEyebrow:"Readiness",livePayload:"Live payload",contentMap:"Content map",stillNeeded:"Still needed",profileAvailable:"and biography available",products:"products",courses:"courses",communities:"communities",brandAssets:"Brand assets",brandDetail:"Logo, colours, store details and launch requirements",offerEyebrow:"Your app, ready to launch",offerTitle:"One tap away from your audience",offerBody:"WithMe can shape {{name}}'s existing content into a branded app your audience can return to.",appStores:"app stores included",weekTarget:"week target",upfront:"upfront build fee",currentOffer:"Current offer",offerIncluded:"Build, hosting, stores and updates included",offerBranding:"{{name}} branding throughout",offerStores:"iOS and Android publishing",offerContent:"{{courses}} courses, {{communities}}
221 communities and {{productCount}} products mapped",offerMaintenance:"Ongoing maintenance and updates",checkReadiness:"Check launch readiness",bookSupporting:"Book a discovery call"}},AR={lang:fR,checkout:mR,nav:hR,hero:gR,trust:yR,appChoice:vR,problem:wR,showcase:xR,howToStart:bR,features:kR,pricing:SR,social:CR,faq:ER,finalCta:jR,floating:NR,qualify:PR,creator:TR},ts=[{code:"en-GB",name:"English (UK)",flag:"🇬🇧"},{code:"en-US",name:"English (US)",flag:"🇺🇸"},{code:"fr",name:"Français",flag:"🇫🇷"},{code:"es",name:"Español",flag:"🇪🇸"},{code:"de",name:"Deutsch",flag:"🇩🇪"},{code:"pt",name:"Português",flag:"🇵🇹"},{code:"it",name:"Italiano",flag:"🇮🇹"},{code:"nb",name:"Norsk",flag:"🇳🇴"},{code:"pl",name:"Polski",flag:"🇵🇱"},{code:"nl",name:"Nederlands",flag:"🇳🇱"}],ns=ts.map(e=>e.code),lp="withme_lang";function RR(){try{const o=localStorage.getItem(lp);if(o&&ns.includes(o))return o}catch{}const e=typeof navigator<"u"&&navigator.language||"en-GB",t=ns.find(o=>o.toLowerCase()===e.toLowerCase());if(t)return t;const n=e.toLowerCase().split("-")[0];return n==="en"?"en-GB":n==="no"?"nb":ns.find(o=>o.toLowerCase().split("-")[0]===n)??"en-GB"}const Rw=RR();Oe.use(Aw).use(zN).init({resources:{"en-GB":{translation:AP},"en-US":{translation:KP},fr:{translation:pT},es:{translation:AT},de:{translation:KT},pt:{translation:pA},it:{translation:AA},nb:{translation:KA},pl:{translation:pR},nl:{translation:AR}},lng:Rw,fallbackLng:"en-GB",supportedLngs:ns,ns:["translation"],defaultNS:"translation",interpolation:{escapeValue:!1},detection:{order:["localStorage","navigator"],lookupLocalStorage:lp,caches:["localStorage"]},returnEmptyString:!1});function cp(e){typeof document<"u"&&document.documentElement.setAttribute("lang",e)}cp(Rw);function MR(e){Oe.changeLanguage(e);try{localStorage.setItem(lp,e)}catch{}cp(e)}Oe.on("languageChanged",e=>cp(e));var OR=h.createContext(void 0);function up(e){const t=h.useContext(OR);return e||t||"ltr"}var xc=0;function Mw(){h.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Jm()),document.body.insertAdjacentElement("beforeend",e[1]??Jm()),xc++,()=>{xc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),xc--}},[])}function Jm(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var bc="focusScope.autoFocusOnMount",kc="focusScope.autoFocusOnUnmount",eh={bubbles:!1,cancelable:!0},LR="FocusScope",dp=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=h.useState(null),c=st(o),d=st(i),p=h.useRef(null),m=ye(t,g=>l(g)),f=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let g=function(x){if(f.paused||!s)return;const k=x.target;s.contains(k)?p.current=k:Tn(p.current,{select:!0})},b=function(x){if(f.paused||!s)return;const k=x.relatedTarget;k!==null&&(s.contains(k)||Tn(p.current,{select:!0}))},v=function(x){if(document.activeElement===document.body)for(const S of x)S.removedNodes.length>0&&Tn(s)};document.addEventListener("focusin",g),document.addEventListener("focusout",b);const y=new MutationObserver(v);return s&&y.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),y.disconnect()}}},[r,s,f.paused]),h.useEffect(()=>{if(s){nh.add(f);const g=document.activeElement;if(!s.contains(g)){const v=new CustomEvent(bc,eh);s.addEventListener(bc,c),s.dispatchEvent(v),v.defaultPrevented||(DR(FR(Ow(s)),{select:!0}),document.activeElement===g&&Tn(s))}return()=>{s.removeEventListener(bc,c),setTimeout(()=>{const v=new CustomEvent(kc,eh);s.addEventListener(kc,d),s.dispatchEvent(v),v.defaultPrevented||Tn(g??document.body,{select:!0}),s.removeEventListener(kc,d),nh.remove(f)},0)}}},[s,c,d,f]);const w=h.useCallback(g=>{if(!n&&!r||f.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,v=document.activeElement;if(b&&v){const y=g.currentTarget,[x,k]=zR(y);x&&k?!g.shiftKey&&v===k?(g.preventDefault(),n&&Tn(x,{select:!0})):g.shiftKey&&v===x&&(g.preventDefault(),n&&Tn(k,{select:!0})):v===y&&g.preventDefault()}},[n,r,f.paused]);return u.jsx(te.div,{tabIndex:-1,...a,ref:m,onKeyDown:w})});dp.displayName=LR;function DR(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Tn(r,{select:t}),document.activeElement!==n)return}function zR(e){const t=Ow(e),n=th(t,e),r=th(t.reverse(),e);return[n,r]}function Ow(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 th(e,t){for(const n of e)if(!IR(n,{upTo:t}))return n}function IR(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function _R(e){return e instanceof HTMLInputElement&&"select"in e}function Tn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&_R(e)&&t&&e.select()}}var nh=$R();function $R(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=rh(e,t),e.unshift(t)},remove(t){var n;e=rh(e,t),(n=e[0])==null||n.resume()}}}function rh(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function FR(e){return e.filter(t=>t.tagName!=="A")}var Sc="rovingFocusGroup.onEntryFocus",BR={bubbles:!1,cancelable:!0},oa="RovingFocusGroup",[qu,Lw,WR]=ll(oa),[qR,Dw]=en(oa,[WR]),[UR,VR]=qR(oa),zw=h.forwardRef((e,t)=>
vendor: 4,183 bytes, line 221
221u.jsx(qu.Provider,{scope:e.__scopeRovingFocusGroup,children:u.jsx(qu.Slot,{scope:e.__scopeRovingFocusGroup,children:u.jsx(HR,{...e,ref:t})})}));zw.displayName=oa;var HR=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:d=!1,...p}=e,m=h.useRef(null),f=ye(t,m),w=up(i),[g,b]=Rr({prop:a,defaultProp:s??null,onChange:l,caller:oa}),[v,y]=h.useState(!1),x=st(c),k=Lw(n),S=h.useRef(!1),[E,C]=h.useState(0);return h.useEffect(()=>{const P=m.current;if(P)return P.addEventListener(Sc,x),()=>P.removeEventListener(Sc,x)},[x]),u.jsx(UR,{scope:n,orientation:r,dir:w,loop:o,currentTabStopId:g,onItemFocus:h.useCallback(P=>b(P),[b]),onItemShiftTab:h.useCallback(()=>y(!0),[]),onFocusableItemAdd:h.useCallback(()=>C(P=>P+1),[]),onFocusableItemRemove:h.useCallback(()=>C(P=>P-1),[]),children:u.jsx(te.div,{tabIndex:v||E===0?-1:0,"data-orientation":r,...p,ref:f,style:{outline:"none",...e.style},onMouseDown:V(e.onMouseDown,()=>{S.current=!0}),onFocus:V(e.onFocus,P=>{const M=!S.current;if(P.target===P.currentTarget&&M&&!v){const R=new CustomEvent(Sc,BR);if(P.currentTarget.dispatchEvent(R),!R.defaultPrevented){const U=k().filter(_=>_.focusable),O=U.find(_=>_.active),I=U.find(_=>_.id===g),q=[O,I,...U].filter(Boolean).map(_=>_.ref.current);$w(q,d)}}S.current=!1}),onBlur:V(e.onBlur,()=>y(!1))})})}),Iw="RovingFocusGroupItem",_w=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,children:a,...s}=e,l=Zn(),c=i||l,d=VR(Iw,n),p=d.currentTabStopId===c,m=Lw(n),{onFocusableItemAdd:f,onFocusableItemRemove:w,currentTabStopId:g}=d;return h.useEffect(()=>{if(r)return f(),()=>w()},[r,f,w]),u.jsx(qu.ItemSlot,{scope:n,id:c,focusable:r,active:o,children:u.jsx(te.span,{tabIndex:p?0:-1,"data-orientation":d.orientation,...s,ref:t,onMouseDown:V(e.onMouseDown,b=>{r?d.onItemFocus(c):b.preventDefault()}),onFocus:V(e.onFocus,()=>d.onItemFocus(c)),onKeyDown:V(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){d.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const v=GR(b,d.orientation,d.dir);if(v!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let x=m().filter(k=>k.focusable).map(k=>k.ref.current);if(v==="last")x.reverse();else if(v==="prev"||v==="next"){v==="prev"&&x.reverse();const k=x.indexOf(b.currentTarget);x=d.loop?QR(x,k+1):x.slice(k+1)}setTimeout(()=>$w(x))}}),children:typeof a=="function"?a({isCurrentTabStop:p,hasTabStop:g!=null}):a})})});_w.displayName=Iw;var YR={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function KR(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function GR(e,t,n){const r=KR(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return YR[r]}function $w(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function QR(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var XR=zw,ZR=_w,JR=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},qr=new WeakMap,La=new WeakMap,Da={},Cc=0,Fw=function(e){return e&&(e.host||Fw(e.parentNode))},eM=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Fw(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},tM=function(e,t,n,r){var o=eM(t,Array.isArray(e)?e:[e]);Da[n]||(Da[n]=new WeakMap);var i=Da[n],a=[],s=new Set,l=new Set(o),c=function(p){!p||s.has(p)||(s.add(p),c(p.parentNode))};o.forEach(c);var d=function(p){!p||l.has(p)||Array.prototype.forEach.call(p.children,function(m){if(s.has(m))d(m);else try{var f=m.getAttribute(r),w=f!==null&&f!=="false",g=(qr.get(m)||0)+1,b=(i.get(m)||0)+1;qr.set(m,g),i.set(m,b),a.push(m),g===1&&w&&La.set(m,!0),b===1&&m.setAttribute(n,"true"),w||m.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",m,v)}})};
vendor: 6,072 bytes, lines 221-236
221return d(t),s.clear(),Cc++,function(){a.forEach(function(p){var m=qr.get(p)-1,f=i.get(p)-1;qr.set(p,m),i.set(p,f),m||(La.has(p)||p.removeAttribute(r),La.delete(p)),f||p.removeAttribute(n)}),Cc--,Cc||(qr=new WeakMap,qr=new WeakMap,La=new WeakMap,Da={})}},Bw=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=JR(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),tM(r,o,n,"aria-hidden")):function(){return null}},Ht=function(){return Ht=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Ht.apply(this,arguments)};function Ww(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function nM(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var rs="right-scroll-bar-position",os="width-before-scroll-bar",rM="with-scroll-bars-hidden",oM="--removed-body-scroll-bar-size";function Ec(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function iM(e,t){var n=h.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var aM=typeof window<"u"?h.useLayoutEffect:h.useEffect,oh=new WeakMap;function sM(e,t){var n=iM(null,function(r){return e.forEach(function(o){return Ec(o,r)})});return aM(function(){var r=oh.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(s){i.has(s)||Ec(s,null)}),i.forEach(function(s){o.has(s)||Ec(s,a)})}oh.set(n,e)},[e]),n}function lM(e){return e}function cM(e,t){t===void 0&&(t=lM);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var d=a;a=[],d.forEach(i)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(d){a.push(d),c()},filter:function(d){return a=a.filter(d),n}}}};return o}function uM(e){e===void 0&&(e={});var t=cM(null);return t.options=Ht({async:!0,ssr:!1},e),t}var qw=function(e){var t=e.sideCar,n=Ww(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return h.createElement(r,Ht({},n))};qw.isSideCarExport=!0;function dM(e,t){return e.useMedium(t),qw}var Uw=uM(),jc=function(){},El=h.forwardRef(function(e,t){var n=h.useRef(null),r=h.useState({onScrollCapture:jc,onWheelCapture:jc,onTouchMoveCapture:jc}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,c=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,f=e.noRelative,w=e.noIsolation,g=e.inert,b=e.allowPinchZoom,v=e.as,y=v===void 0?"div":v,x=e.gapMode,k=Ww(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=m,E=sM([n,t]),C=Ht(Ht({},k),o);return h.createElement(h.Fragment,null,d&&h.createElement(S,{sideCar:Uw,removeScrollBar:c,shards:p,noRelative:f,noIsolation:w,inert:g,setCallbacks:i,allowPinchZoom:!!b,lockRef:n,gapMode:x}),a?h.cloneElement(h.Children.only(s),Ht(Ht({},C),{ref:E})):h.createElement(y,Ht({},C,{className:l,ref:E}),s))});El.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};El.classNames={fullWidth:os,zeroRight:rs};var pM=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function fM(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=pM();return t&&e.setAttribute("nonce",t),e}function mM(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function hM(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var gM=function(){var e=0,t=null;return{add:function(n){e==0&&(t=fM())&&(mM(t,n),hM(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},yM=function(){var e=gM();return function(t,n){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Vw=function(){var e=yM(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},vM={left:0,top:0,right:0,gap:0},Nc=function(e){return parseInt(e||"",10)||0},wM=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Nc(n),Nc(r),Nc(o)]},xM=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return vM;var t=wM(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},bM=Vw(),go="data-scroll-locked",kM=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
222  .`.concat(rM,` {
223   overflow: hidden `).concat(r,`;
224   padding-right: `).concat(s,"px ").concat(r,`;
225  }
226  body[`).concat(go,`] {
227    overflow: hidden `).concat(r,`;
228    overscroll-behavior: contain;
229    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
230    padding-left: `.concat(o,`px;
231    padding-top: `).concat(i,`px;
232    padding-right: `).concat(a,`px;
233    margin-left:0;
234    margin-top:0;
235    margin-right: `).concat(s,"px ").concat(r,`;
236    `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";
236")].filter(Boolean).join(""),`
237  }
238  
239  .`).concat(rs,` {
240    right: `).concat(s,"px ").concat(r,`;
241  }
242  
243  .`).concat(os,` {
244    margin-right: `).concat(s,"px ").concat(r,`;
245  }
246  
247  .`).concat(rs," .").concat(rs,` {
248    right: 0 `).concat(r,`;
249  }
250  
251  .`).concat(os," .").concat(os,` {
252    margin-right: 0 `).concat(r,`;
253  }
254  
255  body[`).concat(go,`] {
256    `).concat(oM,": ").concat(s,`px;
257  }
258`)},ih=function(){var e=parseInt(document.body.getAttribute(go)||"0",10);return isFinite(e)?e:0},SM=function(){h.useEffect(function(){return document.body.setAttribute(go,(ih()+1).toString()),function(){var e=ih()-1;e<=0?document.body.removeAttribute(go):document.body.setAttribute(go,e.toString())}},[])},CM=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;SM();var i=h.useMemo(function(){return xM(o)},[o]);return h.createElement(bM,{styles:kM(i,!t,o,n?"":"!important")})},Uu=!1;if(typeof window<"u")try{var za=Object.defineProperty({},"passive",{get:function(){return Uu=!0,!0}});window.addEventListener("test",za,za),window.removeEventListener("test",za,za)}catch{Uu=!1}var Ur=Uu?{passive:!1}:!1,EM=function(e){return e.tagName==="TEXTAREA"},Hw=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!EM(e)&&n[t]==="visible")},jM=function(e){return Hw(e,"overflowY")},NM=function(e){return Hw(e,"overflowX")},ah=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Yw(e,r);if(o){var i=Kw(e,r),a=i[1],s=i[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},PM=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},TM=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Yw=function(e,t){return e==="v"?jM(t):NM(t)},Kw=function(e,t){return e==="v"?PM(t):TM(t)},AM=function(e,t){return e==="h"&&t==="rtl"?-1:1},RM=function(e,t,n,r,o){var i=AM(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),c=!1,d=a>0,p=0,m=0;do{if(!s)break;var f=Kw(e,s),w=f[0],g=f[1],b=f[2],v=g-b-i*w;(w||v)&&Yw(e,s)&&(p+=v,m+=w);var y=s.parentNode;s=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(d&&(Math.abs(p)<1||!o)||!d&&(Math.abs(m)<1||!o))&&(c=!0),c},Ia=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},sh=function(e){return[e.deltaX,e.deltaY]},lh=function(e){return e&&"current"in e?e.current:e},MM=function(e,t){return e[0]===t[0]&&e[1]===t[1]},OM=function(e){return`
259  .block-interactivity-`.concat(e,` {pointer-events: none;}
260  .allow-interactivity-`).concat(e,` {pointer-events: all;}
261`)},LM=0,Vr=[];function DM(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState(LM++)[0],i=h.useState(Vw)[0],a=h.useRef(e);h.useEffect(function(){a.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=nM([e.lockRef.current],(e.shards||[]).map(lh),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=h.useCallback(function(g,b){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!a.current.allowPinchZoom;var v=Ia(g),y=n.current,x="deltaX"in g?g.deltaX:y[0]-v[0],k="deltaY"in g?g.deltaY:y[1]-v[1],S,E=g.target,C=Math.abs(x)>Math.abs(k)?"h":"v";if("touches"in g&&C==="h"&&E.type==="range")return!1;var P=ah(C,E);if(!P)return!0;if(P?S=C:(S=C==="v"?"h":"v",P=ah(C,E)),!P)return!1;if(!r.current&&"changedTouches"in g&&(x||k)&&(r.current=S),!S)return!0;var M=r.current||S;return RM(M,b,g,M==="h"?x:k,!0)},[]),l=h.useCallback(function(g){var b=g;if(!(!Vr.length||Vr[Vr.length-1]!==i)){var v="deltaY"in b?sh(b):Ia(b),y=t.current.filter(function(S){return S.name===b.type&&(S.target===b.target||b.target===S.shadowParent)&&MM(S.delta,v)}
vendor: 19,466 bytes, line 261
261)[0];if(y&&y.should){b.cancelable&&b.preventDefault();return}if(!y){var x=(a.current.shards||[]).map(lh).filter(Boolean).filter(function(S){return S.contains(b.target)}),k=x.length>0?s(b,x[0]):!a.current.noIsolation;k&&b.cancelable&&b.preventDefault()}}},[]),c=h.useCallback(function(g,b,v,y){var x={name:g,delta:b,target:v,should:y,shadowParent:zM(v)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(k){return k!==x})},1)},[]),d=h.useCallback(function(g){n.current=Ia(g),r.current=void 0},[]),p=h.useCallback(function(g){c(g.type,sh(g),g.target,s(g,e.lockRef.current))},[]),m=h.useCallback(function(g){c(g.type,Ia(g),g.target,s(g,e.lockRef.current))},[]);h.useEffect(function(){return Vr.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Ur),document.addEventListener("touchmove",l,Ur),document.addEventListener("touchstart",d,Ur),function(){Vr=Vr.filter(function(g){return g!==i}),document.removeEventListener("wheel",l,Ur),document.removeEventListener("touchmove",l,Ur),document.removeEventListener("touchstart",d,Ur)}},[]);var f=e.removeScrollBar,w=e.inert;return h.createElement(h.Fragment,null,w?h.createElement(i,{styles:OM(o)}):null,f?h.createElement(CM,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function zM(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const IM=dM(Uw,DM);var pp=h.forwardRef(function(e,t){return h.createElement(El,Ht({},e,{ref:t,sideCar:IM}))});pp.classNames=El.classNames;var Vu=["Enter"," "],_M=["ArrowDown","PageUp","Home"],Gw=["ArrowUp","PageDown","End"],$M=[..._M,...Gw],FM={ltr:[...Vu,"ArrowRight"],rtl:[...Vu,"ArrowLeft"]},BM={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ia="Menu",[qi,WM,qM]=ll(ia),[Mr,Qw]=en(ia,[qM,gl,Dw]),jl=gl(),Xw=Dw(),[UM,Or]=Mr(ia),[VM,aa]=Mr(ia),Zw=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:a=!0}=e,s=jl(t),[l,c]=h.useState(null),d=h.useRef(!1),p=st(i),m=up(o);return h.useEffect(()=>{const f=()=>{d.current=!0,document.addEventListener("pointerdown",w,{capture:!0,once:!0}),document.addEventListener("pointermove",w,{capture:!0,once:!0})},w=()=>d.current=!1;return document.addEventListener("keydown",f,{capture:!0}),()=>{document.removeEventListener("keydown",f,{capture:!0}),document.removeEventListener("pointerdown",w,{capture:!0}),document.removeEventListener("pointermove",w,{capture:!0})}},[]),u.jsx(P2,{...s,children:u.jsx(UM,{scope:t,open:n,onOpenChange:p,content:l,onContentChange:c,children:u.jsx(VM,{scope:t,onClose:h.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:d,dir:m,modal:a,children:r})})})};Zw.displayName=ia;var HM="MenuAnchor",fp=h.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=jl(n);return u.jsx(Kv,{...o,...r,ref:t})});fp.displayName=HM;var mp="MenuPortal",[YM,Jw]=Mr(mp,{forceMount:void 0}),e0=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=Or(mp,t);return u.jsx(YM,{scope:t,forceMount:n,children:u.jsx(zt,{present:n||i.open,children:u.jsx(cl,{asChild:!0,container:o,children:r})})})};e0.displayName=mp;var yt="MenuContent",[KM,hp]=Mr(yt),t0=h.forwardRef((e,t)=>{const n=Jw(yt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Or(yt,e.__scopeMenu),a=aa(yt,e.__scopeMenu);return u.jsx(qi.Provider,{scope:e.__scopeMenu,children:u.jsx(zt,{present:r||i.open,children:u.jsx(qi.Slot,{scope:e.__scopeMenu,children:a.modal?u.jsx(GM,{...o,ref:t}):u.jsx(QM,{...o,ref:t})})})})}),GM=h.forwardRef((e,t)=>{const n=Or(yt,e.__scopeMenu),r=h.useRef(null),o=ye(t,r);return h.useEffect(()=>{const i=r.current;if(i)return Bw(i)},[]),u.jsx(gp,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:V(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),QM=h.forwardRef((e,t)=>{const n=Or(yt,e.__scopeMenu);return u.jsx(gp,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),XM=Mo("MenuContent.ScrollLock"),gp=h.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:p,onInteractOutside:m,onDismiss:f,disableOutsideScroll:w,...g}=e,b=Or(yt,n),v=aa(yt,n),y=jl(n),x=Xw(n),k=WM(n),[S,E]=h.useState(null),C=h.useRef(null),P=ye(t,C,b.onContentChange),M=h.useRef(0),R=h.useRef(""),U=h.useRef(0),O=h.useRef(null),I=h.useRef("right"),A=h.useRef(0),q=w?pp:h.Fragment,_=w?{as:XM,allowPinchZoom:!0}:void 0,W=j=>{var Z,nn;const z=R.current+j,F=k().filter(je=>!je.disabled),$=document.activeElement,H=(Z=F.find(je=>je.ref.current===$))==null?void 0:Z.textValue,K=F.map(je=>je.textValue),ie=cO(K,z,H),we=(nn=F.find(je=>je.textValue===ie))==null?void 0:nn.ref.current;(function je($t){R.current=$t,window.clearTimeout(M.current),$t!==""&&(M.current=window.setTimeout(()=>je(""),1e3))})(z),we&&setTimeout(()=>we.focus())};h.useEffect(()=>()=>window.clearTimeout(M.current),[]),Mw();const N=h.useCallback(j=>{var F,$;return I.current===((F=O.current)==null?void 0:F.side)&&dO(j,($=O.current)==null?void 0:$.area)},[]);return u.jsx(KM,{scope:n,searchRef:R,onItemEnter:h.useCallback(j=>{N(j)&&j.preventDefault()},[N]),onItemLeave:h.useCallback(j=>{var z;N(j)||((z=C.current)==null||z.focus(),E(null))},[N]),onTriggerLeave:h.useCallback(j=>{N(j)&&j.preventDefault()},[N]),pointerGraceTimerRef:U,onPointerGraceIntentChange:h.useCallback(j=>{O.current=j},[]),children:u.jsx(q,{..._,children:u.jsx(dp,{asChild:!0,trapped:o,onMountAutoFocus:V(i,j=>{var z;j.preventDefault(),(z=C.current)==null||z.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:u.jsx(ta,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:p,onInteractOutside:m,onDismiss:f,children:u.jsx(XR,{asChild:!0,...x,dir:v.dir,orientation:"vertical",loop:r,currentTabStopId:S,onCurrentTabStopIdChange:E,onEntryFocus:V(l,j=>{v.isUsingKeyboardRef.current||j.preventDefault()}),preventScrollOnEntryFocus:!0,children:u.jsx(Gv,{role:"menu","aria-orientation":"vertical","data-state":y0(b.open),"data-radix-menu-content":"",dir:v.dir,...y,...g,ref:P,style:{outline:"none",...g.style},onKeyDown:V(g.onKeyDown,j=>{const F=j.target.closest("[data-radix-menu-content]")===j.currentTarget,$=j.ctrlKey||j.altKey||j.metaKey,H=j.key.length===1;F&&(j.key==="Tab"&&j.preventDefault(),!$&&H&&W(j.key));const K=C.current;if(j.target!==K||!$M.includes(j.key))return;j.preventDefault();const we=k().filter(Z=>!Z.disabled).map(Z=>Z.ref.current);Gw.includes(j.key)&&we.reverse(),sO(we)}),onBlur:V(e.onBlur,j=>{j.currentTarget.contains(j.target)||(window.clearTimeout(M.current),R.current="")}),onPointerMove:V(e.onPointerMove,Ui(j=>{const z=j.target,F=A.current!==j.clientX;if(j.currentTarget.contains(z)&&F){const $=j.clientX>A.current?"right":"left";I.current=$,A.current=j.clientX}}))})})})})})})});t0.displayName=yt;var ZM="MenuGroup",yp=h.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return u.jsx(te.div,{role:"group",...r,ref:t})});yp.displayName=ZM;var JM="MenuLabel",n0=h.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return u.jsx(te.div,{...r,ref:t})});n0.displayName=JM;var $s="MenuItem",ch="menu.itemSelect",Nl=h.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=h.useRef(null),a=aa($s,e.__scopeMenu),s=hp($s,e.__scopeMenu),l=ye(t,i),c=h.useRef(!1),d=()=>{const p=i.current;if(!n&&p){const m=new CustomEvent(ch,{bubbles:!0,cancelable:!0});p.addEventListener(ch,f=>r==null?void 0:r(f),{once:!0}),qd(p,m),m.defaultPrevented?c.current=!1:a.onClose()}};return u.jsx(r0,{...o,ref:l,disabled:n,onClick:V(e.onClick,d),onPointerDown:p=>{var m;(m=e.onPointerDown)==null||m.call(e,p),c.current=!0},onPointerUp:V(e.onPointerUp,p=>{var m;c.current||(m=p.currentTarget)==null||m.click()}),onKeyDown:V(e.onKeyDown,p=>{const m=s.searchRef.current!=="";n||m&&p.key===" "||Vu.includes(p.key)&&(p.currentTarget.click(),p.preventDefault())})})});Nl.displayName=$s;var r0=h.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=hp($s,n),s=Xw(n),l=h.useRef(null),c=ye(t,l),[d,p]=h.useState(!1),[m,f]=h.useState("");return h.useEffect(()=>{const w=l.current;w&&f((w.textContent??"").trim())},[i.children]),u.jsx(qi.ItemSlot,{scope:n,disabled:r,textValue:o??m,children:u.jsx(ZR,{asChild:!0,...s,focusable:!r,children:u.jsx(te.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:c,onPointerMove:V(e.onPointerMove,Ui(w=>{r?a.onItemLeave(w):(a.onItemEnter(w),w.defaultPrevented||w.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:V(e.onPointerLeave,Ui(w=>a.onItemLeave(w))),onFocus:V(e.onFocus,()=>p(!0)),onBlur:V(e.onBlur,()=>p(!1))})})})}),eO="MenuCheckboxItem",o0=h.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return u.jsx(c0,{scope:e.__scopeMenu,checked:n,children:u.jsx(Nl,{role:"menuitemcheckbox","aria-checked":Fs(n)?"mixed":n,...o,ref:t,"data-state":wp(n),onSelect:V(o.onSelect,()=>r==null?void 0:r(Fs(n)?!0:!n),{checkForDefaultPrevented:!1})})})});o0.displayName=eO;var i0="MenuRadioGroup",[tO,nO]=Mr(i0,{value:void 0,onValueChange:()=>{}}),a0=h.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=st(r);return u.jsx(tO,{scope:e.__scopeMenu,value:n,onValueChange:i,children:u.jsx(yp,{...o,ref:t})})});a0.displayName=i0;var s0="MenuRadioItem",l0=h.forwardRef((e,t)=>{const{value:n,...r}=e,o=nO(s0,e.__scopeMenu),i=n===o.value;return u.jsx(c0,{scope:e.__scopeMenu,checked:i,children:u.jsx(Nl,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":wp(i),onSelect:V(r.onSelect,()=>{var a;return(a=o.onValueChange)==null?void 0:a.call(o,n)},{checkForDefaultPrevented:!1})})})});l0.displayName=s0;var vp="MenuItemIndicator",[c0,rO]=Mr(vp,{checked:!1}),u0=h.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=rO(vp,n);return u.jsx(zt,{present:r||Fs(i.checked)||i.checked===!0,children:u.jsx(te.span,{...o,ref:t,"data-state":wp(i.checked)})})});u0.displayName=vp;var oO="MenuSeparator",d0=h.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return u.jsx(te.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});d0.displayName=oO;var iO="MenuArrow",p0=h.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=jl(n);return u.jsx(Qv,{...o,...r,ref:t})});p0.displayName=iO;var aO="MenuSub",[I4,f0]=Mr(aO),ai="MenuSubTrigger",m0=h.forwardRef((e,t)=>{const n=Or(ai,e.__scopeMenu),r=aa(ai,e.__scopeMenu),o=f0(ai,e.__scopeMenu),i=hp(ai,e.__scopeMenu),a=h.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=i,c={__scopeMenu:e.__scopeMenu},d=h.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return h.useEffect(()=>d,[d]),h.useEffect(()=>{const p=s.current;return()=>{window.clearTimeout(p),l(null)}},[s,l]),u.jsx(fp,{asChild:!0,...c,children:u.jsx(r0,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":y0(n.open),...e,ref:sl(t,o.onTriggerChange),onClick:p=>{var m;(m=e.onClick)==null||m.call(e,p),!(e.disabled||p.defaultPrevented)&&(p.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:V(e.onPointerMove,Ui(p=>{i.onItemEnter(p),!p.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(i.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:V(e.onPointerLeave,Ui(p=>{var f,w;d();const m=(f=n.content)==null?void 0:f.getBoundingClientRect();if(m){const g=(w=n.content)==null?void 0:w.dataset.side,b=g==="right",v=b?-5:5,y=m[b?"left":"right"],x=m[b?"right":"left"];i.onPointerGraceIntentChange({area:[{x:p.clientX+v,y:p.clientY},{x:y,y:m.top},{x,y:m.top},{x,y:m.bottom},{x:y,y:m.bottom}],side:g}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(p),p.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:V(e.onKeyDown,p=>{var f;const m=i.searchRef.current!=="";e.disabled||m&&p.key===" "||FM[r.dir].includes(p.key)&&(n.onOpenChange(!0),(f=n.content)==null||f.focus(),p.preventDefault())})})})});m0.displayName=ai;var h0="MenuSubContent",g0=h.forwardRef((e,t)=>{const n=Jw(yt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Or(yt,e.__scopeMenu),a=aa(yt,e.__scopeMenu),s=f0(h0,e.__scopeMenu),l=h.useRef(null),c=ye(t,l);return u.jsx(qi.Provider,{scope:e.__scopeMenu,children:u.jsx(zt,{present:r||i.open,children:u.jsx(qi.Slot,{scope:e.__scopeMenu,children:u.jsx(gp,{id:s.contentId,"aria-labelledby":s.triggerId,...o,ref:c,align:"start",side:a.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var p;a.isUsingKeyboardRef.current&&((p=l.current)==null||p.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:V(e.onFocusOutside,d=>{d.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:V(e.onEscapeKeyDown,d=>{a.onClose(),d.preventDefault()}),onKeyDown:V(e.onKeyDown,d=>{var f;const p=d.currentTarget.contains(d.target),m=BM[a.dir].includes(d.key);p&&m&&(i.onOpenChange(!1),(f=s.trigger)==null||f.focus(),d.preventDefault())})})})})})});g0.displayName=h0;function y0(e){return e?"open":"closed"}function Fs(e){return e==="indeterminate"}function wp(e){return Fs(e)?"indeterminate":e?"checked":"unchecked"}function sO(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function lO(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function cO(e,t,n){const o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=lO(e,Math.max(i,0));o.length===1&&(a=a.filter(c=>c!==n));const l=a.find(c=>c.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function uO(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i],l=t[a],c=s.x,d=s.y,p=l.x,m=l.y;d>r!=m>r&&n<(p-c)*(r-d)/(m-d)+c&&(o=!o)}return o}function dO(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return uO(n,t)}function Ui(e){return t=>t.pointerType==="mouse"?e(t):void 0}var pO=Zw,fO=fp,mO=e0,hO=t0,gO=yp,yO=n0,vO=Nl,wO=o0,xO=a0,bO=l0,kO=u0,SO=d0,CO=p0,EO=m0,jO=g0,Pl="DropdownMenu",[NO,_4]=en(Pl,[Qw]),Ye=Qw(),[PO,v0]=NO(Pl),w0=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:a,modal:s=!0}=e,l=Ye(t),c=h.useRef(null),[d,p]=Rr({prop:o,defaultProp:i??!1,onChange:a,caller:Pl});return u.jsx(PO,{scope:t,triggerId:Zn(),triggerRef:c,contentId:Zn(),open:d,onOpenChange:p,onOpenToggle:h.useCallback(()=>p(m=>!m),[p]),modal:s,children:u.jsx(pO,{...l,open:d,onOpenChange:p,dir:r,modal:s,children:n})})};w0.displayName=Pl;var x0="DropdownMenuTrigger",b0=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=v0(x0,n),a=Ye(n);return u.jsx(fO,{asChild:!0,...a,children:u.jsx(te.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:sl(t,i.triggerRef),onPointerDown:V(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:V(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});b0.displayName=x0;var TO="DropdownMenuPortal",k0=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ye(t);return u.jsx(mO,{...r,...n})};k0.displayName=TO;var S0="DropdownMenuContent",C0=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=v0(S0,n),i=Ye(n),a=h.useRef(!1);return u.jsx(hO,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:V(e.onCloseAutoFocus,s=>{var l;a.current||(l=o.triggerRef.current)==null||l.focus(),a.current=!1,s.preventDefault()}),onInteractOutside:V(e.onInteractOutside,s=>{const l=s.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0,d=l.button===2||c;(!o.modal||d)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});C0.displayName=S0;var AO="DropdownMenuGroup",RO=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(gO,{...o,...r,ref:t})});RO.displayName=AO;var MO="DropdownMenuLabel",E0=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(yO,{...o,...r,ref:t})});E0.displayName=MO;var OO="DropdownMenuItem",j0=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(vO,{...o,...r,ref:t})});j0.displayName=OO;var LO="DropdownMenuCheckboxItem",N0=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(wO,{...o,...r,ref:t})});N0.displayName=LO;var DO="DropdownMenuRadioGroup",zO=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(xO,{...o,...r,ref:t})});zO.displayName=DO;var IO="DropdownMenuRadioItem",P0=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(bO,{...o,...r,ref:t})});P0.displayName=IO;var _O="DropdownMenuItemIndicator",T0=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(kO,{...o,...r,ref:t})});T0.displayName=_O;var $O="DropdownMenuSeparator",A0=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(SO,{...o,...r,ref:t})});A0.displayName=$O;var FO="DropdownMenuArrow",BO=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(CO,{...o,...r,ref:t})});BO.displayName=FO;var WO="DropdownMenuSubTrigger",R0=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(EO,{...o,...r,ref:t})});R0.displayName=WO;var qO="DropdownMenuSubContent",M0=h.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ye(n);return u.jsx(jO,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});M0.displayName=qO;var UO=w0,VO=b0,HO=k0,O0=C0,L0=E0,D0=j0,z0=N0,I0=P0,_0=T0,$0=A0,F0=R0,B0=M0;const YO=UO,KO=VO,GO=h.forwardRef(({className:e,inset:t,children:n,...r},o)=>u.jsxs(F0,{ref:o,className:ve("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent focus:bg-accent",t&&"pl-8",e),...r,children:[n,u.jsx(hv,{className:"ml-auto h-4 w-4"})]}));GO.displayName=F0.displayName;const QO=h.forwardRef(({className:e,...t},n)=>u.jsx(B0,{ref:n,className:ve("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
261de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));QO.displayName=B0.displayName;const W0=h.forwardRef(({className:e,sideOffset:t=4,...n},r)=>u.jsx(HO,{children:u.jsx(O0,{ref:r,sideOffset:t,className:ve("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));W0.displayName=O0.displayName;const q0=h.forwardRef(({className:e,inset:t,...n},r)=>u.jsx(D0,{ref:r,className:ve("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",t&&"pl-8",e),...n}));q0.displayName=D0.displayName;const XO=h.forwardRef(({className:e,children:t,checked:n,...r},o)=>u.jsxs(z0,{ref:o,className:ve("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),checked:n,...r,children:[u.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:u.jsx(_0,{children:u.jsx(pl,{className:"h-4 w-4"})})}),t]}));XO.displayName=z0.displayName;const ZO=h.forwardRef(({className:e,children:t,...n},r)=>u.jsxs(I0,{ref:r,className:ve("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),...n,children:[u.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:u.jsx(_0,{children:u.jsx(LS,{className:"h-2 w-2 fill-current"})})}),t]}));ZO.displayName=I0.displayName;const JO=h.forwardRef(({className:e,inset:t,...n},r)=>u.jsx(L0,{ref:r,className:ve("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));JO.displayName=L0.displayName;const eL=h.forwardRef(({className:e,...t},n)=>u.jsx($0,{ref:n,className:ve("-mx-1 my-1 h-px bg-muted",e),...t}));eL.displayName=$0.displayName;const tL=({compact:e=!1})=>{const{i18n:t,t:n}=fe(),r=ts.find(o=>o.code===t.language)??ts[0];return u.jsxs(YO,{children:[u.jsxs(KO,{"aria-label":n("lang.label"),className:"inline-flex items-center gap-1.5 px-2.5 py-1.5 text-sm rounded-full border border-border bg-background/60 backdrop-blur-sm hover:bg-muted transition-colors",children:[u.jsx("span",{className:"text-base leading-none","aria-hidden":"true",children:r.flag}),!e&&u.jsx("span",{className:"hidden sm:inline",children:r.name}),e&&u.jsx(IS,{className:"h-3.5 w-3.5 sm:hidden"}),u.jsx(mv,{className:"h-3.5 w-3.5 opacity-70"})]}),u.jsx(W0,{align:"end",className:"min-w-[200px] max-h-[70vh] overflow-y-auto",children:ts.map(o=>{const i=o.code===t.language;return u.jsxs(q0,{onClick:()=>MR(o.code),className:"flex items-center gap-2 cursor-pointer",children:[u.jsx("span",{className:"text-base leading-none","aria-hidden":"true",children:o.flag}),u.jsx("span",{className:"flex-1",children:o.name}),i&&u.jsx(pl,{className:"h-4 w-4 text-accent"})]},o.code)})})]})};var Tl="Dialog",[U0,$4]=en(Tl),[nL,It]=U0(Tl),V0=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=h.useRef(null),l=h.useRef(null),[c,d]=Rr({prop:r,defaultProp:o??!1,onChange:i,caller:Tl});return u.jsx(nL,{scope:t,triggerRef:s,contentRef:l,contentId:Zn(),titleId:Zn(),descriptionId:Zn(),open:c,onOpenChange:d,onOpenToggle:h.useCallback(()=>d(p=>!p),[d]),modal:a,children:n})};V0.displayName=Tl;var H0="DialogTrigger",rL=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=It(H0,n),i=ye(t,o.triggerRef);return u.jsx(te.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":kp(o.open),...r,ref:i,onClick:V(e.onClick,o.onOpenToggle)})});rL.displayName=H0;var xp="DialogPortal",[oL,Y0]=U0(xp,{forceMount:void 0}),K0=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=It(xp,t);return u.jsx(oL,{scope:t,forceMount:n,children:h.Children.map(r,a=>u.jsx(zt,{present:n||i.open,children:u.jsx(cl,{asChild:!0,container:o,children:a})}))})};K0.displayName=xp;var Bs="DialogOverlay",G0=h.forwardRef((e,t)=>
vendor: 4,881 bytes, lines 261-265
261{const n=Y0(Bs,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=It(Bs,e.__scopeDialog);return i.modal?u.jsx(zt,{present:r||i.open,children:u.jsx(aL,{...o,ref:t})}):null});G0.displayName=Bs;var iL=Mo("DialogOverlay.RemoveScroll"),aL=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=It(Bs,n);return u.jsx(pp,{as:iL,allowPinchZoom:!0,shards:[o.contentRef],children:u.jsx(te.div,{"data-state":kp(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Pr="DialogContent",Q0=h.forwardRef((e,t)=>{const n=Y0(Pr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=It(Pr,e.__scopeDialog);return u.jsx(zt,{present:r||i.open,children:i.modal?u.jsx(sL,{...o,ref:t}):u.jsx(lL,{...o,ref:t})})});Q0.displayName=Pr;var sL=h.forwardRef((e,t)=>{const n=It(Pr,e.__scopeDialog),r=h.useRef(null),o=ye(t,n.contentRef,r);return h.useEffect(()=>{const i=r.current;if(i)return Bw(i)},[]),u.jsx(X0,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:V(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:V(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:V(e.onFocusOutside,i=>i.preventDefault())})}),lL=h.forwardRef((e,t)=>{const n=It(Pr,e.__scopeDialog),r=h.useRef(!1),o=h.useRef(!1);return u.jsx(X0,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,s;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(r.current||(s=n.triggerRef.current)==null||s.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,c;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;((c=n.triggerRef.current)==null?void 0:c.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),X0=h.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=It(Pr,n),l=h.useRef(null),c=ye(t,l);return Mw(),u.jsxs(u.Fragment,{children:[u.jsx(dp,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:u.jsx(ta,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":kp(s.open),...a,ref:c,onDismiss:()=>s.onOpenChange(!1)})}),u.jsxs(u.Fragment,{children:[u.jsx(cL,{titleId:s.titleId}),u.jsx(dL,{contentRef:l,descriptionId:s.descriptionId})]})]})}),bp="DialogTitle",Z0=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=It(bp,n);return u.jsx(te.h2,{id:o.titleId,...r,ref:t})});Z0.displayName=bp;var J0="DialogDescription",ex=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=It(J0,n);return u.jsx(te.p,{id:o.descriptionId,...r,ref:t})});ex.displayName=J0;var tx="DialogClose",nx=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=It(tx,n);return u.jsx(te.button,{type:"button",...r,ref:t,onClick:V(e.onClick,()=>o.onOpenChange(!1))})});nx.displayName=tx;function kp(e){return e?"open":"closed"}var rx="DialogTitleWarning",[F4,ox]=zk(rx,{contentName:Pr,titleName:bp,docsSlug:"dialog"}),cL=({titleId:e})=>{const t=ox(rx),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
262
263If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
264
265For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return h.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},uL="DialogDescriptionWarning",dL=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ox(uL).contentName}}.`;return h.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},pL=V0,fL=K0,ix=G0,ax=Q0,sx=Z0,lx=ex,mL=nx;const hL=pL,gL=fL,cx=h.forwardRef(({className:e,...t},n)=>u.jsx(ix,{ref:n,className:ve("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));cx.displayName=ix.displayName;const ux=h.forwardRef(({className:e,children:t,...n},r)=>u.jsxs(gL,{children:[u.jsx(cx,{}),u.jsxs(ax,{ref:r,className:ve("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
265nded-lg",e),...n,children:[t,u.jsxs(mL,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[u.jsx(Yd,{className:"h-4 w-4"}),u.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));ux.displayName=ax.displayName;const dx=h.forwardRef(({className:e,...t},n)=>u.jsx(sx,{ref:n,className:ve("text-lg font-semibold leading-none tracking-tight",e),...t}));dx.displayName=sx.displayName;const px=h.forwardRef(({className:e,...t},n)=>u.jsx(lx,{ref:n,className:ve("text-sm text-muted-foreground",e),...t}));px.displayName=lx.displayName;const yL="https://calendly.com/markgray/custom-app-discover-call",vL="https://apps.apple.com/us/app/withme-the-creator-app/id6477915797",Hr=[{key:"business",options:[{key:"o1",slug:"coach"},{key:"o2",slug:"creator"},{key:"o3",slug:"community"},{key:"o4",slug:"studio"},{key:"o5",slug:"other"}]},{key:"audience",options:[{key:"o1",slug:"under500"},{key:"o2",slug:"a500-2k"},{key:"o3",slug:"a2k-10k"},{key:"o4",slug:"a10k-plus"}]},{key:"revenue",options:[{key:"o1",slug:"rev-under1k"},{key:"o2",slug:"rev1k-5k"},{key:"o3",slug:"rev5k-15k"},{key:"o4",slug:"rev15k-plus"}]},{key:"content",options:[{key:"o1",slug:"running"},{key:"o2",slug:"some"},{key:"o3",slug:"notyet"}]}],fx=h.createContext({open:()=>{}}),Lr=()=>h.useContext(fx),wL=({children:e,creatorUsername:t,source:n})=>{const{t:r}=fe(),[o,i]=h.useState(!1),[a,s]=h.useState(0),[l,c]=h.useState({}),d=h.useCallback(()=>{c({}),s(0),i(!0)},[]),p=h.useMemo(()=>({open:d}),[d]),m=a>=Hr.length,f=Hr[Math.min(a,Hr.length-1)],w=v=>{c(y=>({...y,[f.key]:v})),s(y=>y+1)},g=(["a2k-10k","a10k-plus"].includes(l.audience??"")||["rev5k-15k","rev15k-plus"].includes(l.revenue??""))&&l.content!=="notyet",b=(()=>{const v=new URLSearchParams({utm_source:"salespage",utm_campaign:g?"qualified":"self-override",utm_content:`${l.audience??""}_${l.revenue??""}_${l.content??""}`,utm_term:l.business??""});return t&&v.set("creator_username",t),n&&v.set("source",n),`${yL}?${v.toString()}`})();return u.jsxs(fx.Provider,{value:p,children:[e,u.jsx(hL,{open:o,onOpenChange:i,children:u.jsxs(ux,{className:"sm:max-w-lg border-2 border-accent/30 bg-card rounded-3xl p-6 md:p-8",children:[u.jsx(dx,{className:"sr-only",children:r("qualify.a11yTitle")}),u.jsx(px,{className:"sr-only",children:r("qualify.a11yDescription")}),m?u.jsxs("div",{className:"space-y-6",children:[u.jsxs("div",{className:"space-y-3",children:[u.jsx("h2",{className:"text-2xl md:text-3xl font-bold leading-snug",children:r(g?"qualify.result.good.title":"qualify.result.notyet.title")}),u.jsx("p",{className:"text-muted-foreground",children:r(g?"qualify.result.good.body":"qualify.result.notyet.body")})]}),g?u.jsx(Pe,{size:"lg",asChild:!0,className:"w-full bg-gradient-to-r from-accent to-purple-600 hover:opacity-90 text-white text-lg py-6 rounded-full shadow-lg",children:u.jsxs("a",{href:b,target:"_blank",rel:"noopener noreferrer",children:[r("qualify.result.good.cta"),u.jsx(gt,{className:"ml-2 h-5 w-5"})]})}):u.jsxs("div",{className:"space-y-4 text-center",children:[u.jsx(Pe,{size:"lg",asChild:!0,className:"w-full bg-gradient-to-r from-accent to-purple-600 hover:opacity-90 text-white text-lg py-6 rounded-full shadow-lg",children:u.jsxs("a",{href:vL,target:"_blank",rel:"noopener noreferrer",children:[r("qualify.result.notyet.cta"),u.jsx(gt,{className:"ml-2 h-5 w-5"})]})}),u.jsx("a",{href:b,target:"_blank",rel:"noopener noreferrer",className:"block text-xs text-muted-foreground underline underline-offset-4 hover:text-foreground transition-colors",children:r("qualify.result.notyet.secondary")})]}),u.jsxs("button",{type:"button",onClick:()=>s(Hr.length-1),className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[u.jsx(rm,{className:"h-4 w-4"}),r("qualify.back")]})]}):u.jsxs("div",{className:"space-y-6",children:[u.jsxs("div",{className:"space-y-3",children:[u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsx("span",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:r("qualify.progress",{current:a+1,total:Hr.length})}),u.jsx("div",{className:"flex-1 h-1 rounded-full bg-muted overflow-hidden",children:u.jsx("div",{className:"h-full bg-gradient-to-r from-accent to-purple-600 transition-all duration-300",style:{width:`${(a+1)/Hr.length*100}%`}})})]}),u.jsx("h2",{className:"text-2xl font-bold leading-snug",children:r(`qualify.${f.key}.title`)}),f.key==="revenue"&&u.jsx("p",{className:"text-sm text-muted-foreground",children:r("qualify.revenue.perMonth")})]}),u.jsx("div",{className:"grid gap-3",children:f.options.map(v=>u.jsx("button",{type:"button",onClick:()=>w(v.slug),className:"w-full text-left rounded-2xl border-2 border-border bg-background/60 px-5 py-4 text-base font-medium hover:border-accent hover:bg-accent/10 transition-all",children:r(`qualify.${f.key}.${v.key}`)},v.slug))}),a>0&&u.jsxs("button",{type:"button",onClick:()=>s(v=>v-1),className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[u.jsx(rm,{className:"h-4 w-4"}
265),r("qualify.back")]})]})]})})]})},xL=()=>{const{t:e}=fe(),{open:t}=Lr(),[n,r]=h.useState(!1),[o,i]=h.useState(0);h.useEffect(()=>{const s=()=>{r(window.scrollY>50);const l=document.documentElement.scrollHeight-document.documentElement.clientHeight;i(window.scrollY/l*100)};return window.addEventListener("scroll",s),()=>window.removeEventListener("scroll",s)},[]);const a=s=>{var l;(l=document.getElementById(s))==null||l.scrollIntoView({behavior:"smooth"})};return u.jsxs(u.Fragment,{children:[u.jsx("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${n?"bg-background/80 backdrop-blur-lg border-b border-border shadow-lg":"bg-transparent"}`,children:u.jsxs("div",{className:"container px-4 py-4 flex items-center justify-between gap-2",children:[u.jsx("div",{className:"text-2xl font-bold bg-gradient-to-r from-accent to-purple-600 bg-clip-text text-transparent",children:"WithMe"}),u.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[u.jsx("button",{onClick:()=>a("features"),className:"text-foreground/80 hover:text-foreground transition-colors",children:e("nav.features")}),u.jsx("button",{onClick:()=>a("pricing"),className:"text-foreground/80 hover:text-foreground transition-colors",children:e("nav.included")}),u.jsx("button",{onClick:()=>a("faq"),className:"text-foreground/80 hover:text-foreground transition-colors",children:e("nav.faq")})]}),u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsx(Pe,{size:"sm",onClick:t,className:"bg-gradient-to-r from-accent to-purple-600 hover:opacity-90 text-white",children:e("nav.bookCall")}),u.jsx(tL,{compact:!0})]})]})}),u.jsx("div",{className:"fixed top-0 left-0 right-0 h-1 bg-muted/20 z-[60]",children:u.jsx("div",{className:"h-full bg-gradient-to-r from-accent to-purple-600 transition-all duration-150",style:{width:`${o}%`}})})]})},bL=()=>{const{t:e}=fe(),{open:t}=Lr();return u.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden bg-gradient-to-b from-background to-muted/30",children:[u.jsx("div",{className:"container px-4 py-20 md:py-32",children:u.jsxs("div",{className:"max-w-4xl mx-auto text-center space-y-8 animate-fade-in",children:[u.jsxs("h1",{className:"text-5xl md:text-7xl lg:text-8xl font-bold tracking-tight",children:[e("hero.titleStart"),u.jsx("br",{}),u.jsx("span",{className:"bg-gradient-to-r from-accent via-purple-500 to-accent bg-clip-text text-transparent",children:e("hero.titleAccent")})]}),u.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-2xl mx-auto",children:e("hero.subtitle")}),u.jsx("div",{className:"flex flex-col gap-4 justify-center items-center pt-8",children:u.jsxs(Pe,{size:"lg",onClick:t,className:"bg-gradient-to-r from-accent to-purple-600 hover:opacity-90 hover:scale-105 text-white text-lg px-8 py-6 rounded-full shadow-lg hover:shadow-2xl transition-all",children:[e("hero.bookMeeting"),u.jsx(gt,{className:"ml-2 h-5 w-5"})]})}),u.jsx("p",{className:"text-sm text-muted-foreground pt-4",children:e("hero.socialProof")}
265)]})}),u.jsx("div",{"aria-hidden":"true",className:"absolute top-20 left-10 w-72 h-72 bg-accent/20 rounded-full blur-3xl animate-float pointer-events-none"}),u.jsx("div",{"aria-hidden":"true",className:"absolute bottom-20 right-10 w-96 h-96 bg-purple-500/20 rounded-full blur-3xl animate-float pointer-events-none",style:{animationDelay:"1s"}})]})},kL=new Set(["the","and","for","with","from","that","this","your","you","our","are","was","were","have","has","about","into","over","most","some","more","than","them","they","their","we","us","it","its","a","an","of","to","in","on","at","by","as","is","be","or","if","so","up","out","all","can","will","new","my","me","make","makes","made","get","how","who","what","when","where","here","there","every","each","one","two","also","just","like","not","but","his","her","he","she","do","does"]),mx=[{re:/\btest(ing|y|s)?\b/i,weight:70},{re:/\bdemo\b/i,weight:60},{re:/\bsample\b/i,weight:50},{re:/\bdummy\b/i,weight:60},{re:/\blorem\b/i,weight:80},{re:/\bnew com(munity)?\b/i,weight:60},{re:/\bemail testing\b/i,weight:80},{re:/\bcopy of\b/i,weight:60},{re:/\bmy (amazing|new|custom)\b/i,weight:45},{re:/^my (course|community|product|custom product)\b/i,weight:55},{re:/\b\d{2}\s*[-to]{1,3}\s*\d{2}\s*(male|female|men|women)\b/i,weight:80},{re:/\bthe team\b/i,weight:45},{re:/welcome!?\s*we'?re excited to have you here/i,weight:45},{re:/in this section you are using it to/i,weight:45},{re:/^(asd|qwe|zxc|xx+|nnn+|test)\w*$/i,weight:70},{re:/\b(asdasd|asdf|qwerty)\b/i,weight:70}],SL={course:30,community:26,digital_product:22,membership:20,coaching:10,coaching_call:6,custom_product:4};function Vi(e){return(e.type??"").toLowerCase().trim().replace(/[\s-]+/g,"_")}function hx(e){if(!e)return"";let t=String(e);if(t=t.replace(/<\s*(br|p|div|li|h[1-6])[^>]*>/gi," "),typeof DOMParser<"u")try{t=new DOMParser().parseFromString(t,"text/html").body.textContent??""}catch{t=t.replace(/<[^>]*>/g," ")}else t=t.replace(/<[^>]*>/g," ");return t.replace(/\u00a0/g," ").replace(/\s+/g," ").trim()}function Ue(e){let t=hx(e);return t=t.replace(/\s*([,;|·•])\s*(?=[,;|·•])/g,""),t=t.replace(/\s*,\s*,+/g,", "),t=t.replace(/\s+([,.;:!?])/g,"$1"),t=t.replace(/[\s,;:|·•-]+$/g,""),t.trim()}function gx(e,t){const n=Ue(e);if(n.length<=t)return n;const r=n.slice(0,t),o=r.lastIndexOf(" ");return`${(o>t*.6?r.slice(0,o):r).replace(/[\s,;:.\-]+$/,"")}...`}function Sp(e){return gx(Ue(e.name),70)}function yx(e){return gx(Ue(e.description),90)}function Hi(e){return hx(e).toLowerCase().replace(/[^a-z0-9\s]/g," ").split(/\s+/).filter(t=>t.length>3&&!kL.has(t))}function Cp(e,t){return new Set([...Hi(e??""),...Hi(t??"")])}function CL(e,t){const n=Ue(e.name),r=Ue(e.description);if(!n)return-1e3;let o=SL[Vi(e)]??0;const i=n.split(/\s+/).filter(Boolean).length;o+=Math.min(i,8)*4,n.length>=18&&(o+=10),/[a-z]/.test(n)&&/[A-Z]/.test(n)&&(o+=4),/\d{2,}|:|\b(guide|deep dive|module|masterclass|listener|essential|program|programme)\b/i.test(n)&&(o+=8),r.length>=40?o+=14:r.length>=15&&(o+=6),r.length>=120&&(o+=6);const a=new Set(Hi(`${n} ${r}`).filter(l=>t.has(l)));o+=Math.min(a.size,6)*9;const s=`${n} ${r}`;for(const{re:l,weight:c}of mx)l.test(n)?o-=c:l.test(s)&&(o-=Math.round(c*.6));return e.image&&(o+=6),o}function Hu(e,t){return e.filter(n=>Ue(n.name)).map((n,r)=>({product:n,index:r,score:CL(n,t)})).sort((n,r)=>r.score-n.score||n.index-r.index).map(n=>n.product)}const EL=["course","digital_product"];function vx(e){const t=Ue(e.name),n=Ue(e.description);return t?mx.some(({re:r})=>r.test(t)||r.test(`${t} ${n}`)):!0}const wx=new Set(["content","creation","creator","creators","community","communities","course","courses","class","classes","member","members","membership","monthly","yearly","access","video","videos","audio","guide","group","people","product","products","program","training","session","sessions","coaching","welcome","online","digital","free","premium","exclusive","bonus","download","downloads","email","week","weeks","days","month","months","ways","start","join","learn","help","life","plan","tips"]);function jL(e,t){const n=Hu(e,t).filter(i=>!vx(i)),r=new Set,o=i=>{wx.has(i)||r.add(i)};t.forEach(o);for(const i of n.slice(0,3))for(const a of Hi(`${Ue(i.name)} ${Ue(i.description)}`))o(a);return r}
265function NL(e,t){return vx(e)?!1:t.size===0?!0:Hi(`${Ue(e.name)} ${Ue(e.description)}`).filter(r=>!wx.has(r)).some(r=>t.has(r))}function Ep(e,t,n,r=4){const o=jL(e,t),i=Hu(e,t).filter(m=>NL(m,o)),a=m=>i.filter(f=>m.includes(Vi(f)));if(n==="library")return a(EL).slice(0,r);if(n==="community")return[...a(["community"]),...a(["membership"])].slice(0,r);const s=["course","community","membership","digital_product"],l=[];for(const m of s){const f=a([m])[0];f&&l.push(f)}const d=i.filter(m=>s.includes(Vi(m))).filter(m=>!l.includes(m)),p=[...l,...d].slice(0,r);return Hu(p,t)}function Ws(e,t){return e.filter(n=>Vi(n)===t).length}function PL(){return u.jsx("section",{className:"bg-creator-ink",children:u.jsx("div",{className:"container flex min-h-[560px] items-center px-4 py-16",children:u.jsxs("div",{className:"grid w-full animate-pulse gap-12 lg:grid-cols-[1fr_420px] lg:items-center",children:[u.jsxs("div",{className:"space-y-5",children:[u.jsx("div",{className:"h-4 w-48 rounded bg-creator-ivory/10"}),u.jsx("div",{className:"h-20 max-w-2xl rounded bg-creator-ivory/10"}),u.jsx("div",{className:"h-16 max-w-xl rounded bg-creator-ivory/10"})]}),u.jsx("div",{className:"mx-auto h-[500px] w-[300px] rounded-[2.4rem] bg-creator-ivory/10"})]})})})}const TL=()=>{const{t:e}=fe(),t=[{icon:qS,text:e("trust.secure")},{icon:DS,text:e("trust.launch")},{icon:MS,text:e("trust.apps")},{icon:_S,text:e("trust.support")}];return u.jsx("div",{className:"border-y border-border bg-muted/20",children:u.jsx("div",{className:"container px-4 py-8",children:u.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8",children:t.map((n,r)=>u.jsxs("div",{className:"flex flex-col items-center text-center space-y-2 animate-fade-in",style:{animationDelay:`${r*.1}s`},children:[u.jsx(n.icon,{className:"h-8 w-8 text-accent"}),u.jsx("span",{className:"text-sm font-medium",children:n.text})]},r))})})})},jp="https://buy.stripe.com/4gM14pczZ0gm9m698scwg1c",AL=()=>{const{t:e}=fe(),{open:t}=Lr();return u.jsx("section",{className:"py-16 bg-muted/30",children:u.jsx("div",{className:"container px-4",children:u.jsxs("div",{className:"max-w-5xl mx-auto",children:[u.jsxs("div",{className:"text-center mb-12",children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:e("appChoice.title")}),u.jsx("p",{className:"text-lg text-muted-foreground",children:e("appChoice.subtitle")})]}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[u.jsxs("div",{className:"bg-background rounded-2xl p-8 border-2 border-border hover:shadow-lg transition-all",children:[u.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[u.jsx("div",{className:"p-3 bg-muted rounded-lg",children:u.jsx(gv,{className:"h-6 w-6"})}),u.jsx("h3",{className:"text-2xl font-bold",children:e("appChoice.existing.title")})]}),u.jsx("p",{className:"text-muted-foreground mb-6",children:e("appChoice.existing.desc")}),u.jsx("ul",{className:"space-y-3 mb-6",children:["f1","f2","f3"].map(n=>u.jsxs("li",{className:"flex items-start gap-2",children:[u.jsx("span",{className:"text-accent mt-1",children:"✓"}),u.jsx("span",{children:e(`appChoice.existing.${n}`)})]},n))}),u.jsx(Pe,{variant:"outline",className:"w-full",asChild:!0,children:u.jsxs("a",{href:"https://apps.apple.com/us/app/withme-the-creator-app/id6477915797",target:"_blank",rel:"noopener noreferrer",children:[e("appChoice.existing.cta"),u.jsx(gt,{className:"ml-2 h-4 w-4"})]})})]}),u.jsxs("div",{className:"bg-gradient-to-br from-accent/10 to-purple-500/10 rounded-2xl p-8 border-2 border-accent relative overflow-hidden hover:shadow-xl transition-all",children:[u.jsx("div",{className:"absolute top-4 right-4",children:u.jsx("span",{className:"bg-accent text-white text-xs font-bold px-3 py-1 rounded-full",children:e("appChoice.custom.badge")})}),u.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[u.jsx("div",{className:"p-3 bg-accent/20 rounded-lg",children:u.jsx(US,{className:"h-6 w-6 text-accent"})}),u.jsx("h3",{className:"text-2xl font-bold",children:e("appChoice.custom.title")})]}),u.jsx("p",{className:"text-muted-foreground mb-6",children:e("appChoice.custom.desc")}),u.jsx("ul",{className:"space-y-3 mb-6",children:["f1","f2","f3","f4","f5"].map(n=>u.jsxs("li",{className:"flex items-start gap-2",children:[u.jsx("span",{className:"text-accent mt-1",children:"✓"}),u.jsx("span",{children:e(`appChoice.custom.${n}`)})]},n))}),u.jsxs("div",{className:"space-y-3",children:[u.jsxs(Pe,{className:"w-full bg-gradient-to-r from-accent to-purple-600 hover:opacity-90 text-white",onClick:t,children:[e("appChoice.custom.book"),u.jsx(gt,{className:"ml-2 h-4 w-4"})]}),u.jsx(Pe,{variant:"outline",asChild:!0,className:"w-full",children:u.jsxs("a",{href:jp,target:"_blank",rel:"noopener noreferrer",children:[e("checkout.cta"),u.jsx(gt,{className:"ml-2 h-4 w-4"})]})})]})]})]})]})})})},RL=()=>{const{t:e}=fe();return u.jsx("section",{className:"py-24 md:py-32 bg-background",children:u.jsx("div",{className:"container px-4",children:u.jsx("div",{className:"max-w-6xl mx-auto",children:u.jsxs("div",{className:"grid md:grid-cols-2 gap-12 md:gap-16",children:[u.jsxs("div",{className:"space-y-6 animate-fade-in",children:[u.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-destructive/10 text-destructive rounded-full",children:[u.jsx(om,{className:"h-5 w-5"}),u.jsx("span",{className:"font-semibold",children:e("problem.before.badge")})]}),u.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:e("problem.before.title")}),u.jsx("ul",{className:"space-y-4 text-lg text-muted-foreground",children:["p1","p2","p3","p4"].map(t=>u.jsxs("li",{className:"flex gap-3",children:[u.jsx(om,{className:"h-6 w-6 text-destructive shrink-0 mt-1"}),u.jsx("span",{children:e(`problem.before.${t}`)})]},t))})]}),u.jsxs("div",{className:"space-y-6 animate-fade-in",style:{animationDelay:"0.2s"},children:[u.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-accent/10 text-accent rounded-full",children:[u.jsx(Nu,{className:"h-5 w-5"}),u.jsx("span",{className:"font-semibold",children:e("problem.after.badge")})]}),u.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:e("problem.after.title")}),u.jsx("ul",{className:"space-y-4 text-lg text-muted-foreground",children:["p1","p2","p3","p4"].map(t=>u.jsxs("li",{className:"flex gap-3",children:[u.jsx(Nu,{className:"h-6 w-6 text-accent shrink-0 mt-1"}),u.jsx("span",{children:e(`problem.after.${t}`)})]},t))})]})]})})})})}
265,ML=[{name:"PPOD",icon:"https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/65/6a/65/656a6571-960a-da64-ac69-887459f50b9e/AppIcon-1x_U007emarketing-0-11-0-85-220-0.png/512x512bb.jpg",link:"https://apps.apple.com/us/app/ppod/id6756770416",screenshots:["https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/bd/2c/47/bd2c474c-f312-5ac3-aaae-0a975a0ca166/ss_1.png/320x480bb.jpg","https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/16/84/50/1684506e-bbb0-157d-c393-50478d58eddb/ss_2.png/320x480bb.jpg","https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/99/d1/25/99d12599-435c-617a-6384-ae7c34bb8a1b/ss_3.png/320x480bb.jpg"]},{name:"NutriBlanco",icon:"https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/31/5b/6b/315b6b7b-f340-55e6-1108-a44e56cdbf4a/AppIcon-1x_U007emarketing-0-11-0-85-220-0.png/512x512bb.jpg",link:"https://apps.apple.com/us/app/nutriblanco/id6759783933",screenshots:["https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/86/8b/1c/868b1ce7-8ca0-0d00-e707-690e0442de53/1.png/320x480bb.jpg","https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/f7/44/c3/f744c3e1-4acc-0715-8ba4-b78adbf4274f/6.png/320x480bb.jpg","https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/f2/5a/4e/f25a4eb8-69bd-ecd0-7a4d-ac313eaac907/App_Store_1242x2688.png/320x480bb.jpg"]}],uh=()=>{const{t:e}=fe();return u.jsxs("section",{className:"py-24 md:py-32 bg-background relative overflow-hidden",children:[u.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-muted/30 to-background pointer-events-none"}),u.jsx("div",{className:"container px-4 relative z-10",children:u.jsxs("div",{className:"max-w-6xl mx-auto",children:[u.jsxs("div",{className:"text-center mb-16 space-y-4 animate-fade-in",children:[u.jsx("h2",{className:"text-4xl md:text-5xl font-bold",children:e("showcase.title")}),u.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:e("showcase.subtitle")})]}),u.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:ML.map((t,n)=>u.jsxs("div",{className:"bg-card rounded-2xl p-6 md:p-8 border border-border shadow-xl hover:border-accent/50 hover:-translate-y-1 transition-all animate-fade-in",style:{animationDelay:`${n*.15}s`},children:[u.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[u.jsx("img",{src:t.icon,alt:`${t.name} app icon`,width:64,height:64,className:"h-16 w-16 rounded-2xl shadow-md"}),u.jsxs("div",{children:[u.jsx("p",{className:"text-xl font-bold leading-tight",children:t.name}),u.jsx("p",{className:"text-sm text-muted-foreground",children:e("showcase.category")})]})]}),u.jsx("div",{className:"grid grid-cols-3 gap-3 mb-6",children:t.screenshots.map((r,o)=>u.jsx("img",{src:r,loading:"lazy",alt:e(`showcase.alt${o+1}`,{app:t.name}),className:"w-full h-auto rounded-xl border border-border shadow-md"},r))}),u.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 font-semibold text-accent hover:underline",children:[e("showcase.view"),u.jsx(zS,{className:"h-4 w-4"})]})]},t.name))}),u.jsx("p",{className:"text-center text-sm text-muted-foreground mt-10",children:e("showcase.footnote")})]})})]})},OL=["s1","s2","s3"],dh=({id:e})=>{const{t}=fe();return u.jsx("section",{id:e,className:"scroll-mt-24 py-24 md:py-32 bg-background",children:u.jsx("div",{className:"container px-4",children:u.jsxs("div",{className:"max-w-4xl mx-auto",children:[u.jsxs("div",{className:"text-center mb-16 space-y-4 animate-fade-in",children:[u.jsx("h2",{className:"text-4xl md:text-5xl font-bold",children:t("howToStart.title")}),u.jsx("p",{className:"text-xl text-muted-foreground",children:t("howToStart.subtitle")})]}),u.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:OL.map((n,r)=>u.jsxs("div",{className:"relative p-8 bg-card rounded-2xl border border-border hover:border-accent/50 transition-all animate-fade-in",style:{animationDelay:`${r*.1}s`},children:[u.jsx("div",{className:"mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-accent/10 text-accent font-bold text-xl",children:r+1}),u.jsx("p",{className:"text-lg font-semibold leading-snug",children:t(`howToStart.${n}`)})]},n))})]})})})},LL=[{icon:$S,key:"branded"},{icon:gv,key:"stores"},{icon:VS,key:"platform"},{icon:HS,key:"dfy"},{icon:BS,key:"launch"},{icon:WS,key:"maintenance"}],ph=({id:e})=>{const{t}=fe();return u.jsx("section",{id:e,className:"scroll-mt-24 py-24 md:py-32 bg-muted/30",children:u.jsx("div",{className:"container px-4",children:u.jsxs("div",{className:"max-w-6xl mx-auto",children:[u.jsxs("div",{className:"text-center mb-16 space-y-4 animate-fade-in",children:[u.jsx("h2",{className:"text-4xl md:text-5xl font-bold",children:t("features.title")}),u.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:t("features.subtitle")})]}),u.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:LL.map((n,r)=>u.jsxs("div",{className:"p-8 bg-card rounded-2xl border border-border hover:border-accent/50 transition-all hover:shadow-xl hover:-translate-y-1 animate-fade-in group",style:{animationDelay:`${r*.1}s`},children:[u.jsx(n.icon,{className:"h-12 w-12 text-accent mb-4 group-hover:scale-110 transition-transform"}),u.jsx("h3",{className:"text-xl font-bold mb-2",children:t(`features.items.${n.key}.title`)}),u.jsx("p",{className:"text-muted-foreground",children:t(`features.items.${n.key}.desc`)})]},n.key))})]})})})},DL=({id:e})=>{const{t}=fe(),{open:n}=Lr(),r=["f1","f2","f3","f4","f5","f6","f7"];return u.jsx("section",{id:e,className:"scroll-mt-24 py-24 md:py-32 pb-32 md:pb-32 bg-gradient-to-b from-muted/30 to-background",children:u.jsx("div",{className:"container px-4",children:u.jsxs("div",{className:"max-w-3xl mx-auto",children:[u.jsxs("div",{className:"text-center mb-12 space-y-4 animate-fade-in",children:[u.jsx("h2",{className:"text-4xl md:text-5xl font-bold",children:t("pricing.title")}),u.jsx("p",{className:"text-xl text-muted-foreground",children:t("pricing.subtitle")})]}),u.jsxs("div",{className:"bg-card border-2 border-accent/40 rounded-3xl p-8 md:p-12 shadow-2xl animate-scale-in",children:[u.jsxs("div",{className:"text-center mb-10 space-y-3",children:[u.jsx("p",{className:"text-5xl md:text-6xl font-bold bg-gradient-to-r from-accent to-purple-600 bg-clip-text text-transparent",children:t("pricing.price")}),u.jsx("p",{className:"text-base text-muted-foreground max-w-xl mx-auto",children:t("pricing.priceNote")})]}),u.jsx("ul",{className:"space-y-4 mb-10",children:r.map(o=>u.jsxs("li",{className:"flex gap-3 items-start text-base",children:[u.jsx(Nu,{className:"h-5 w-5 text-accent shrink-0 mt-0.5"}),u.jsx("span",{children:t(`pricing.features.${o}`)})]},o))}),u.jsxs("div",{className:"space-y-3 text-center",children:[u.jsxs(Pe,{size:"lg",onClick:n,className:"w-full bg-gradient-to-r from-accent to-purple-600 hover:opacity-90 hover:scale-105 text-white text-lg py-6 rounded-full shadow-lg hover:shadow-2xl transition-all",children:[t("pricing.cta"),u.jsx(gt,{className:"ml-2 h-5 w-5"})]}),u.jsx(Pe,{variant:"outline",asChild:!0,size:"lg",className:"w-full text-lg py-6 rounded-full",children:u.jsxs("a",{href:jp,target:"_blank",rel:"noopener noreferrer",children:[t("checkout.cta"),u.jsx(gt,{className:"ml-2 h-5 w-5"})]})}),u.jsx("p",{className:"text-sm text-muted-foreground",children:t("checkout.note")}),u.jsx("p",{className:"text-sm text-muted-foreground",children:t("pricing.qualifier")})]})]})]})})})},zL=[{key:"t1",author:"Sarah M."},{key:"t2",author:"James T."},{key:"t3",author:"Emily R."}],fh=()=>{const{t:e}=fe();return u.jsx("section",{className:"py-24 md:py-32 bg-muted/30",children:u.jsx("div",{className:"container px-4",children:u.jsxs("div",{className:"max-w-6xl mx-auto",children:[u.jsxs("div",{className:"text-center mb-16 space-y-4 animate-fade-in",children:[u.jsx("h2",{className:"text-4xl md:text-5xl font-bold",children:e("social.title")}),u.jsx("p",{className:"text-xl text-muted-foreground",children:e("social.subtitle")})]}),u.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:zL.map((t,n)=>u.jsxs("div",{className:"bg-card rounded-2xl p-8 border border-border hover:border-accent/50 transition-all hover:shadow-xl hover:-translate-y-1 animate-fade-in group",style:{animationDelay:`${n*.1}s`},children:[u.jsx(FS,{className:"h-10 w-10 text-accent mb-4 group-hover:scale-110 transition-transform"}),u.jsxs("p",{className:"text-lg mb-6 leading-relaxed",children:['"',e(`social.${t.key}.quote`),'"']}
265),u.jsxs("div",{children:[u.jsx("p",{className:"font-bold",children:t.author}),u.jsx("p",{className:"text-sm text-muted-foreground",children:e(`social.${t.key}.role`)})]})]},t.key))})]})})})};var Al="Collapsible",[IL,xx]=en(Al),[_L,Np]=IL(Al),bx=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:a,...s}=e,[l,c]=Rr({prop:r,defaultProp:o??!1,onChange:a,caller:Al});return u.jsx(_L,{scope:n,disabled:i,contentId:Zn(),open:l,onOpenToggle:h.useCallback(()=>c(d=>!d),[c]),children:u.jsx(te.div,{"data-state":Tp(l),"data-disabled":i?"":void 0,...s,ref:t})})});bx.displayName=Al;var kx="CollapsibleTrigger",Sx=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Np(kx,n);return u.jsx(te.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Tp(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:V(e.onClick,o.onOpenToggle)})});Sx.displayName=kx;var Pp="CollapsibleContent",Cx=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Np(Pp,e.__scopeCollapsible);return u.jsx(zt,{present:n||o.open,children:({present:i})=>u.jsx($L,{...r,ref:t,present:i})})});Cx.displayName=Pp;var $L=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,a=Np(Pp,n),[s,l]=h.useState(r),c=h.useRef(null),d=ye(t,c),p=h.useRef(0),m=p.current,f=h.useRef(0),w=f.current,g=a.open||s,b=h.useRef(g),v=h.useRef(void 0);return h.useEffect(()=>{const y=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(y)},[]),Zt(()=>{const y=c.current;if(y){v.current=v.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const x=y.getBoundingClientRect();p.current=x.height,f.current=x.width,b.current||(y.style.transitionDuration=v.current.transitionDuration,y.style.animationName=v.current.animationName),l(r)}},[a.open,r]),u.jsx(te.div,{"data-state":Tp(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!g,...i,ref:d,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:g&&o})});function Tp(e){return e?"open":"closed"}var FL=bx,BL=Sx,WL=Cx,_t="Accordion",qL=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Ap,UL,VL]=ll(_t),[Rl,B4]=en(_t,[VL,xx]),Rp=xx(),Ex=L.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return u.jsx(Ap.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?u.jsx(GL,{...i,ref:t}):u.jsx(KL,{...o,ref:t})})});Ex.displayName=_t;var[jx,HL]=Rl(_t),[Nx,YL]=Rl(_t,{collapsible:!1}),KL=L.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...a}=e,[s,l]=Rr({prop:n,defaultProp:r??"",onChange:o,caller:_t});return u.jsx(jx,{scope:e.__scopeAccordion,value:L.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:L.useCallback(()=>i&&l(""),[i,l]),children:u.jsx(Nx,{scope:e.__scopeAccordion,collapsible:i,children:u.jsx(Px,{...a,ref:t})})})}),GL=L.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[a,s]=Rr({prop:n,defaultProp:r??[],onChange:o,caller:_t}),l=L.useCallback(d=>s((p=[])=>[...p,d]),[s]),c=L.useCallback(d=>s((p=[])=>p.filter(m=>m!==d)),[s]);return u.jsx(jx,{scope:e.__scopeAccordion,value:a,onItemOpen:l,onItemClose:c,children:u.jsx(Nx,{scope:e.__scopeAccordion,collapsible:!0,children:u.jsx(Px,{...i,ref:t})})})}),[QL,Ml]=Rl(_t),Px=L.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...a}=e,s=L.useRef(null),l=ye(s,t),c=UL(n),p=up(o)==="ltr",m=V(e.onKeyDown,f=>{var P;if(!qL.includes(f.key))return;const w=f.target,g=c().filter(M=>{var R;return!((R=M.ref.current)!=null&&R.disabled)}),b=g.findIndex(M=>M.ref.current===w),v=g.length;if(b===-1)return;f.preventDefault();let y=b;const x=0,k=v-1,S=()=>{y=b+1,y>k&&(y=x)},E=()=>{y=b-1,y<x&&(y=k)};switch(f.key){case"Home":y=x;break;case"End":y=k;break;case"ArrowRight":i==="horizontal"&&(p?S():E());break;case"ArrowDown":i==="vertical"&&S();break;case"ArrowLeft":i==="horizontal"&&(p?E():S());break;case"ArrowUp":i==="vertical"&&E();break}const C=y%v;(P=g[C].ref.current)==null||P.focus()});return u.jsx(QL,{scope:n,disabled:r,direction:o,orientation:i,children:u.jsx(Ap.Slot,{scope:n,children:u.jsx(te.div,{...a,"data-orientation":i,ref:l,onKeyDown:r?void 0:m})})})}),qs="AccordionItem",[XL,Mp]=Rl(qs),Tx=L.forwardRef((e,t)=>
265{const{__scopeAccordion:n,value:r,...o}=e,i=Ml(qs,n),a=HL(qs,n),s=Rp(n),l=Zn(),c=r&&a.value.includes(r)||!1,d=i.disabled||e.disabled;return u.jsx(XL,{scope:n,open:c,disabled:d,triggerId:l,children:u.jsx(FL,{"data-orientation":i.orientation,"data-state":Dx(c),...s,...o,ref:t,disabled:d,open:c,onOpenChange:p=>{p?a.onItemOpen(r):a.onItemClose(r)}})})});Tx.displayName=qs;var Ax="AccordionHeader",Rx=L.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ml(_t,n),i=Mp(Ax,n);return u.jsx(te.h3,{"data-orientation":o.orientation,"data-state":Dx(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});Rx.displayName=Ax;var Yu="AccordionTrigger",Mx=L.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ml(_t,n),i=Mp(Yu,n),a=YL(Yu,n),s=Rp(n);return u.jsx(Ap.ItemSlot,{scope:n,children:u.jsx(BL,{"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...s,...r,ref:t})})});Mx.displayName=Yu;var Ox="AccordionContent",Lx=L.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Ml(_t,n),i=Mp(Ox,n),a=Rp(n);return u.jsx(WL,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});Lx.displayName=Ox;function Dx(e){return e?"open":"closed"}var ZL=Ex,JL=Tx,e4=Rx,zx=Mx,Ix=Lx;const t4=ZL,_x=h.forwardRef(({className:e,...t},n)=>u.jsx(JL,{ref:n,className:ve("border-b",e),...t}));_x.displayName="AccordionItem";const $x=h.forwardRef(({className:e,children:t,...n},r)=>u.jsx(e4,{className:"flex",children:u.jsxs(zx,{ref:r,className:ve("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,u.jsx(mv,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));$x.displayName=zx.displayName;const Fx=h.forwardRef(({className:e,children:t,...n},r)=>u.jsx(Ix,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:u.jsx("div",{className:ve("pb-4 pt-0",e),children:t})}));Fx.displayName=Ix.displayName;const n4=["q0","q1","q2","q3","q4","q5","q6"],mh=({id:e})=>{const{t}=fe();return u.jsx("section",{id:e,className:"scroll-mt-24 py-24 md:py-32 bg-background",children:u.jsx("div",{className:"container px-4",children:u.jsxs("div",{className:"max-w-3xl mx-auto",children:[u.jsxs("div",{className:"text-center mb-16 space-y-4 animate-fade-in",children:[u.jsx("h2",{className:"text-4xl md:text-5xl font-bold",children:t("faq.title")}),u.jsx("p",{className:"text-xl text-muted-foreground",children:t("faq.subtitle")})]}),u.jsx(t4,{type:"single",collapsible:!0,className:"space-y-4",children:n4.map((n,r)=>u.jsxs(_x,{value:`item-${r}`,className:"border border-border rounded-xl px-6 bg-card hover:border-accent/50 transition-colors",children:[u.jsx($x,{className:"text-lg font-semibold hover:text-accent text-left",children:t(`faq.${n}.q`)}),u.jsx(Fx,{className:"text-muted-foreground text-base leading-relaxed",children:t(`faq.${n}.a`)})]},n))})]})})})},hh=()=>{const{t:e}=fe(),{open:t}=Lr();return u.jsxs("section",{className:"py-24 md:py-32 bg-gradient-to-b from-background to-muted/30 relative overflow-hidden",children:[u.jsxs("div",{"aria-hidden":"true",className:"absolute inset-0 opacity-30 pointer-events-none",children:[u.jsx("div",{className:"absolute top-1/2 left-1/4 w-96 h-96 bg-accent/30 rounded-full blur-3xl"}),u.jsx("div",{className:"absolute top-1/3 right-1/4 w-80 h-80 bg-purple-500/30 rounded-full blur-3xl"})]}),u.jsx("div",{className:"container px-4 relative z-10",children:u.jsxs("div",{className:"max-w-4xl mx-auto text-center space-y-8 animate-fade-in",children:[u.jsxs("h2",{className:"text-4xl md:text-6xl font-bold leading-tight",children:[e("finalCta.title1"),u.jsx("br",{}),u.jsx("span",{className:"bg-gradient-to-r from-accent via-purple-500 to-accent bg-clip-text text-transparent",children:e("finalCta.title2")})]}),u.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-2xl mx-auto",children:e("finalCta.subtitle")}),u.jsxs("div",{className:"pt-8 flex flex-col items-center gap-4",children:[u.jsxs(Pe,{size:"lg",onClick:t,className:"bg-gradient-to-r from-accent to-purple-600 hover:opacity-90 text-white text-xl px-12 py-8 rounded-full shadow-2xl hover:shadow-3xl transition-all hover:scale-105",children:[e("finalCta.book"),u.jsx(gt,{className:"ml-2 h-6 w-6"})]}),u.jsx(Pe,{variant:"outline",asChild:!0,size:"lg",className:"text-xl px-12 py-6 rounded-full",children:u.jsxs("a",{href:jp,target:"_blank",rel:"noopener noreferrer",children:[e("checkout.cta"),u.jsx(gt,{className:"ml-2 h-6 w-6"})]})}),u.jsx("p",{className:"text-sm text-muted-foreground",children:e("checkout.note")})]}),u.jsx("p",{className:"text-sm text-muted-foreground pt-4",children:e("finalCta.foot")})]})})]})},r4=()=>{const{t:e}=fe(),{open:t}=Lr(),[n,r]=h.useState(!1),[o,i]=h.useState(!1);return h.useEffect(()=>{const a=()=>{const s=window.scrollY/(document.documentElement.scrollHeight-window.innerHeight)*100;r(s>30&&!o)};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[o]),n?u.jsx("div",{className:"hidden sm:block fixed bottom-8 right-8 z-50 animate-fade-in",children:u.jsxs("div",{className:"bg-card border-2 border-accent/20 rounded-2xl p-4 shadow-2xl backdrop-blur-sm sm:max-w-sm",children:[u.jsxs("div",{className:"flex items-center gap-4 mb-3",children:[u.jsxs("div",{className:"flex-1",children:[u.jsx("p",{className:"font-bold text-sm mb-1",children:e("floating.title")}),u.jsx("p",{className:"text-xs text-muted-foreground",children:e("floating.sub")})]}),u.jsx("button",{onClick:()=>i(!0),className:"text-muted-foreground hover:text-foreground transition-colors shrink-0","aria-label":e("floating.dismiss"),children:u.jsx(Yd,{className:"h-4 w-4"})})]}),u.jsxs(Pe,{size:"sm",onClick:t,className:"w-full bg-gradient-to-r from-accent to-purple-600 hover:opacity-90 text-white",children:[e("floating.book"),u.jsx(gt,{className:"ml-1 h-4 w-4"})]})]})}):null},o4=1,i4="328d020e-5ed4-4432-810a-d3fcf5267ee3",a4="8a95ed28-6a99-47e7-ab8a-f6897857f3d9",s4="/__l5e/assets-v1/328d020e-5ed4-4432-810a-d3fcf5267ee3/epic-history-montage.png",l4="a/v1/8a95ed28-6a99-47e7-ab8a-f6897857f3d9/328d020e-5ed4-4432-810a-d3fcf5267ee3/epic-history-montage.png",c4="epic-history-montage.png",u4=2774060,d4="image/png",p4="2026-08-31T19:02:26Z",Bx={version:o4,asset_id:i4,project_id:a4,url:s4,r2_key:l4,original_filename:c4,size:u4,content_type:d4,created_at:p4},f4=new Set(["holisticmitch"]),gh=["18% 55%","50% 42%","82% 60%","34% 30%","66% 72%","8% 35%"],wi=["creator-art-tint-a","creator-art-tint-b","creator-art-tint-c","creator-art-tint-d"],xi=["creator-art-tone-a","creator-art-tone-b","creator-art-tone-c","creator-art-tone-d","creator-art-tone-e"];function Wx(e){return f4.has((e??"").toLowerCase())}
265function zo(e){return e.split(/\s+/).filter(Boolean).slice(0,2).map(t=>t[0]).join("").toUpperCase()||"W"}function On(e){if(typeof e!="string"||!e.trim())return null;try{const t=new URL(e.trim());return t.protocol==="http:"||t.protocol==="https:"?t.toString():null}catch{return null}}function qx(e){let t=0;for(let n=0;n<e.length;n+=1)t=t*31+e.charCodeAt(n)>>>0;return t}function Ux(e,t,n){const r=qx(`${Ue(t.name)}|${n}`),o=wi[r%wi.length],i=xi[r%xi.length],a=zo(Ue(t.name)||e.name||e.username);if(Wx(e.username))return{image:Bx.url,position:gh[n%gh.length],tintClass:o,toneClass:i,label:a};const s=On(t.image)??On(t.thumbnail_url)??On(t.image_url)??On(t.cover_url);if(s)return{image:s,position:"center",tintClass:"creator-art-tint-none",toneClass:i,label:a};const l=On(e.cover_image)??On(e.banner_image);return l?{image:l,position:"center",tintClass:o,toneClass:i,label:a}:{image:null,position:"center",tintClass:o,toneClass:i,label:a}}function An(e){const t=qx(e.username);return Wx(e.username)?{image:Bx.url,position:"48% 45%",tintClass:wi[0],toneClass:xi[0],label:zo(e.name||e.username)}:{image:On(e.cover_image)??On(e.banner_image),position:"center",tintClass:wi[t%wi.length],toneClass:xi[t%xi.length],label:zo(e.name||e.username)}}const m4=["history","fitness","nutrition","business","music","art","mindset","yoga","finance","language","cooking","photography","faith","parenting","wellness","running","strength","marketing","design","writing","travel","golf","tennis","science","coaching"];function h4(e){const t=[e.name,e.bio,...e.products.map(r=>`${r.name} ${r.description}`)].map(r=>Ue(r).toLowerCase()).join(" ");let n=null;for(const r of m4){const o=(t.match(new RegExp(`\\b${r}\\b`,"g"))??[]).length;o>0&&(!n||o>n.count)&&(n={word:r,count:o})}return(n==null?void 0:n.word)??null}function Vx(e){const t=Vi(e);return t==="course"?"course":t==="community"?"community":t==="membership"?"membership":t==="digital_product"?"digital":"content"}function Us(e){var t;(t=document.getElementById(e))==null||t.scrollIntoView({behavior:"smooth",block:"start"})}function Hx(e){var t;return((t=e.name)==null?void 0:t.trim())||e.username}function g4({profile:e}){const{t}=fe(),{open:n}=Lr(),r=Hx(e),o=h.useMemo(()=>Cp(e.name,e.bio),[e.name,e.bio]),i=h.useMemo(()=>Ep(e.products,o,"home"),[e.products,o]),a=Ws(e.products,"course"),s=Ws(e.products,"community"),l=An(e),c=h4(e),d=i.slice(0,3).map(Sp).filter(Boolean),p=e.username.toLowerCase()==="holisticmitch",m=p?t("creator.personalised.revealTitleEpic"):t("creator.personalised.revealTitle",{name:r}),f=p?t("creator.personalised.revealBodyEpic",{first:d[0]||"your strongest course",second:d[1]||"your community",third:d[2]||"your membership"}):t("creator.personalised.revealBody",{name:r,category:c||t("creator.personalised.contentCategory")}),w=p?t("creator.personalised.coverTitleEpic"):t("creator.personalised.coverTitle",{category:c||t("creator.personalised.contentCategory")});return u.jsxs("div",{className:"creator-personalised",children:[u.jsx(y4,{profile:e,name:r,title:m,body:f,artwork:l,coverTitle:w,courses:a,communities:s,productCount:e.products.length,onExplore:()=>Us("personalised-preview"),onNeeds:()=>Us("personalised-readiness")}),u.jsx(v4,{profile:e,name:r,onBook:n})]})}function y4({profile:e,name:t,title:n,body:r,artwork:o,coverTitle:i,courses:a,communities:s,productCount:l,onExplore:c,onNeeds:d}){const{t:p}=fe();return u.jsxs("section",{className:"relative isolate min-h-[720px] overflow-hidden bg-creator-ink text-creator-ivory md:min-h-[760px]",children:[u.jsx("div",{className:"absolute inset-0 creator-reveal-art","aria-hidden":"true",children:o.image&&u.jsx("img",{src:o.image,alt:"",className:"h-full w-full object-cover",style:{objectPosition:o.position}})}),u.jsx("div",{className:"absolute inset-0 creator-reveal-shade","aria-hidden":"true"}),u.jsx("div",{className:"absolute inset-x-0 top-0 z-10 h-24 border-b border-creator-ivory/15 bg-creator-ink/35"}),u.jsxs("div",{className:"relative z-10 mx-auto max-w-[1440px] px-5 md:px-10",children:[u.jsxs("header",{className:"flex h-24 items-center justify-between gap-5",children:[u.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[u.jsx(Kx,{name:t}),u.jsxs("div",{className:"min-w-0",children:[u.jsx("p",{className:"creator-kicker text-creator-ivory/60",children:p("creator.personalised.yourPreview")}),u.jsx("p",{className:"truncate font-display text-lg font-semibold",children:t})]})]}),u.jsxs("nav",{className:"hidden items-center gap-7 text-xs font-medium text-creator-ivory/75 lg:flex",children:[u.jsx("a",{href:"#personalised-offer",className:"transition-colors hover:text-creator-ivory",children:p("creator.personalised.whatsIncluded")}),u.jsx("a",{href:"#how-it-works",className:"transition-colors hover:text-creator-ivory",children:p("creator.personalised.howItWorks")}),u.jsx(Pe,{onClick:()=>Us("personalised-offer"),variant:"outline",className:"border-creator-ivory/35 bg-transparent text-creator-ivory hover:bg-creator-ivory/10 hover:text-creator-ivory",children:p("creator.personalised.viewOffer")})]}),u.jsx(Pe,{onClick:()=>Us("personalised-offer"),variant:"outline",className:"shrink-0 border-creator-ivory/35 bg-transparent text-creator-ivory hover:bg-creator-ivory/10 hover:text-creator-ivory lg:hidden",children:p("creator.personalised.viewOffer")})]}),u.jsxs("div",{className:"grid items-center gap-12 pb-14 pt-16 md:pb-20 md:pt-24 lg:grid-cols-[minmax(0,1fr)_500px] lg:gap-16 lg:pt-28",children:[u.jsxs("div",{className:"max-w-[700px] animate-fade-in",children:[u.jsxs("p",{className:"creator-kicker mb-6 flex items-center gap-3 text-creator-brass",children:[u.jsx("span",{className:"h-px w-7 bg-creator-brass"}),p("creator.personalised.builtFromProfile")]}),u.jsx("h1",{className:"creator-display max-w-3xl text-5xl leading-[0.98] md:text-7xl",children:n}),u.jsx("p",{className:"mt-7 max-w-2xl text-base leading-relaxed text-creator-ivory/80 md:text-lg",children:r}),u.jsxs("div",{className:"mt-9 flex flex-col items-start gap-3 sm:flex-row",children:[u.jsxs(Pe,{onClick:c,size:"lg",className:"bg-creator-ivory text-creator-ink hover:bg-creator-ivory/85",children:[p("creator.personalised.explorePreview"),u.jsx(RS,{})]}),u.jsx(Pe,{onClick:d,size:"lg",variant:"outline",className:"border-creator-ivory/35 bg-transparent text-creator-ivory hover:bg-creator-ivory/10 hover:text-creator-ivory",children:p("creator.personalised.seeNeeded")})]}),u.jsxs("div",{className:"mt-11 grid max-w-xl grid-cols-3 border-t border-creator-ivory/25 pt-5",children:[u.jsx(Ac,{value:l,label:p("creator.personalised.productsFound")}),u.jsx(Ac,{value:a,label:p("creator.personalised.coursesMapped")}),u.jsx(Ac,{value:s,label:p("creator.personalised.communitiesFound")})]})]}),u.jsx(x4,{profile:e,name:t,artwork:o,coverTitle:i})]})]})]})}function v4({profile:e,name:t,onBook:n}){const{t:r}=fe(),[o,i]=w4(),a=h.useMemo(()=>Cp(e.name,e.bio),[e.name,e.bio]),s=h.useMemo(()=>Ep(e.products,a,o),[e.products,a,o]),l=Ws(e.products,"course"),c=Ws(e.products,"community");return u.jsxs("section",{id:"personalised-preview",className:"scroll-mt-6 bg-creator-ivory text-creator-ink",children:[u.jsx("div",{className:"border-b border-creator-ink/15 bg-creator-ink px-5 py-5 text-creator-ivory md:px-10",children:u.jsxs("div",{className:"mx-auto flex max-w-[1440px] items-center justify-between gap-4",children:[u.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[u.jsx(Kx,{name:t}),u.jsxs("div",{className:"min-w-0",children:[u.jsx("p",{className:"creator-kicker text-creator-ivory/55",children:r("creator.personalised.appPreview")}),u.jsx("p",{className:"truncate font-display text-lg font-semibold",children:t})]})]}),u.jsxs("p",{className:"hidden text-right text-xs text-creator-ivory/75 sm:block",children:[u.jsx("strong",{className:"text-creator-ivory",children:r("creator.personalised.profileFound")})," · ",r("creator.personalised.brandStillNeeded")]})]})}),u.jsxs("div",{className:"mx-auto grid max-w-[1440px] items-center gap-12 px-5 py-16 md:px-10 md:py-24 lg:grid-cols-[380px_minmax(250px,340px)_minmax(390px,1fr)] lg:gap-14 xl:gap-20",children:[u.jsx(b4,{profile:e,products:s,tab:o,setTab:i}),u.jsx(C4,{profile:e,courses:l,communities:c}
265),u.jsx(E4,{name:t,courses:l,communities:c,productCount:e.products.length,onBook:n})]})]})}function w4(){return h.useState("home")}function x4({profile:e,name:t,artwork:n,coverTitle:r}){const{t:o}=fe(),i=h.useMemo(()=>Cp(e.name,e.bio),[e.name,e.bio]),a=h.useMemo(()=>Ep(e.products,i,"home",3),[e.products,i]);return u.jsx("div",{className:"creator-device creator-device-reveal mx-auto w-full max-w-[350px] rotate-[4deg] lg:mr-10",children:u.jsxs("div",{className:"creator-device-screen",children:[u.jsxs("div",{className:"creator-cover",style:{backgroundImage:n.image?`url(${n.image})`:void 0,backgroundPosition:n.position},children:[u.jsx("div",{className:`creator-art-overlay ${n.tintClass}`}),!n.image&&u.jsx("div",{className:`creator-fallback-art ${n.toneClass}`,children:u.jsx("span",{children:n.label})}),u.jsxs("div",{className:"relative flex h-full flex-col justify-end p-5 text-creator-ivory",children:[u.jsx("p",{className:"creator-kicker text-creator-brass",children:zo(t)}),u.jsx("h2",{className:"creator-display mt-2 text-3xl leading-[0.95]",children:r}),u.jsx("p",{className:"mt-2 max-w-[220px] text-[10px] text-creator-ivory/75",children:o("creator.personalised.coverSubtext")})]})]}),u.jsxs("div",{className:"bg-creator-ivory p-4 text-creator-ink",children:[u.jsxs("div",{className:"mb-3 flex items-center justify-between",children:[u.jsx("p",{className:"text-sm font-bold",children:o("creator.personalised.continueExploring")}),u.jsx("span",{className:"text-[9px] font-semibold text-creator-red",children:o("creator.personalised.viewAll")})]}),a.map((s,l)=>u.jsx(S4,{profile:e,product:s,index:l},`${s.id??s.name}-${l}`))]})]})})}function b4({profile:e,products:t,tab:n,setTab:r}){const{t:o}=fe();return u.jsx("div",{className:"creator-device creator-device-preview mx-auto w-full max-w-[330px] lg:mx-0",children:u.jsxs("div",{className:"creator-device-screen bg-creator-ivory p-3 text-creator-ink sm:p-4",children:[u.jsxs("div",{className:"creator-phone-hero",style:{backgroundImage:An(e).image?`url(${An(e).image})`:void 0,backgroundPosition:An(e).position},children:[u.jsx("div",{className:`creator-art-overlay ${An(e).tintClass}`}),!An(e).image&&u.jsx("div",{className:`creator-fallback-art ${An(e).toneClass}`,children:u.jsx("span",{children:An(e).label})}),u.jsxs("div",{className:"relative flex h-full flex-col justify-end p-4 text-creator-ivory",children:[u.jsx("p",{className:"creator-kicker text-creator-brass",children:zo(e.name||e.username)}),u.jsx("p",{className:"creator-display mt-1 text-3xl leading-none",children:o("creator.personalised.phoneHeadline")}),u.jsx("p",{className:"mt-2 text-[9px] text-creator-ivory/75",children:o("creator.personalised.phoneSubhead")})]})]}),u.jsxs("div",{className:"grid grid-cols-3 border-b border-creator-ink/15 text-center text-[9px] font-semibold uppercase",children:[u.jsx(Pc,{active:n==="home",onClick:()=>r("home"),label:o("creator.personalised.home")}),u.jsx(Pc,{active:n==="library",onClick:()=>r("library"),label:o("creator.personalised.library")}),u.jsx(Pc,{active:n==="community",onClick:()=>r("community"),label:o("creator.personalised.community")})]}),u.jsxs("div",{className:"p-2 pt-5 sm:p-3 sm:pt-5",children:[u.jsx("p",{className:"creator-kicker text-creator-red",children:o(`creator.personalised.${n}Eyebrow`)}),u.jsx("h3",{className:"creator-display mt-1 text-2xl",children:o(`creator.personalised.${n}Title`)}),u.jsx("div",{className:"mt-4 space-y-2",children:t.map((i,a)=>u.jsx(k4,{profile:e,product:i,index:a},`${i.id??i.name}-${a}`))})]})]})})}function k4({profile:e,product:t,index:n}){const{t:r}=fe(),o=Ux(e,t,n);return u.jsxs("div",{className:"flex min-w-0 items-center gap-2 rounded-lg border border-creator-ink/15 bg-creator-ivory p-2 shadow-sm",children:[u.jsx(Yx,{art:o}),u.jsxs("div",{className:"min-w-0 flex-1",children:[u.jsx("p",{className:"creator-kicker text-creator-red",children:r(`creator.personalised.types.${Vx(t)}`)}),u.jsx("p",{className:"truncate text-[11px] font-bold",children:Sp(t)}),u.jsx("p",{className:"truncate text-[9px] text-creator-ink/60",children:yx(t)||r("creator.personalised.readyToShape")})]}),u.jsx(hv,{className:"h-3 w-3 shrink-0 text-creator-red"})]})}function S4({profile:e,product:t,index:n}){const{t:r}=fe(),o=Ux(e,t,n+2);return u.jsxs("div",{className:"mb-2 flex min-w-0 items-center gap-2 rounded-lg border border-creator-ink/10 bg-creator-ivory p-2 shadow-sm",children:[u.jsx(Yx,{art:o}),u.jsxs("div",{className:"min-w-0",children:[u.jsx("p",{className:"creator-kicker text-creator-red",children:r(`creator.personalised.types.${Vx(t)}`)}),u.jsx("p",{className:"truncate text-[10px] font-bold",children:Sp(t)}),u.jsx("p",{className:"truncate text-[8px] text-creator-ink/60",children:yx(t)||r("creator.personalised.readyToShape")})]})]})}function Yx({art:e}){return u.jsxs("div",{className:"creator-artwork relative h-12 w-12 shrink-0 overflow-hidden rounded-md",style:{backgroundImage:e.image?`url(${e.image})`:void 0,backgroundPosition:e.position},children:[u.jsx("div",{className:`absolute inset-0 ${e.tintClass}`}),!e.image&&u.jsx("div",{className:`creator-fallback-art ${e.toneClass}`,children:u.jsx("span",{children:e.label})})]})}function Pc({active:e,onClick:t,label:n}){return u.jsx("button",{type:"button",onClick:t,className:`min-w-0 border-b-2 px-1 py-3 transition-colors ${e?"border-creator-red text-creator-red":"border-transparent text-creator-ink/55 hover:text-creator-ink"}`,children:u.jsx("span",{className:"block truncate",children:n})})}function C4({profile:e,courses:t,communities:n}){const{t:r}=fe(),o=Hx(e);return u.jsxs("div",{id:"personalised-readiness",className:"scroll-mt-20 space-y-3",children:[u.jsx("p",{className:"creator-kicker mb-5 text-creator-red",children:r("creator.personalised.readinessEyebrow")}),u.jsx(Tc,{label:r("creator.personalised.livePayload"),title:o,detail:`${o} ${r("creator.personalised.profileAvailable")}`,complete:!0}),u.jsx(Tc,{label:r("creator.personalised.contentMap"),title:`${e.products.length} ${r("creator.personalised.products")}`,detail:`${t} ${r("creator.personalised.courses")} · ${n} ${r("creator.personalised.communities")}`,complete:!0}),u.jsx(Tc,{label:r("creator.personalised.stillNeeded"),title:r("creator.personalised.brandAssets"),detail:r("creator.personalised.brandDetail")})]})}
265function Tc({label:e,title:t,detail:n,complete:r=!1}){return u.jsx("div",{className:"border-l-2 border-creator-brass bg-creator-parchment px-4 py-4",children:u.jsxs("div",{className:"flex items-start justify-between gap-3",children:[u.jsxs("div",{children:[u.jsx("p",{className:"creator-kicker text-creator-ink/55",children:e}),u.jsx("p",{className:"mt-1 font-display text-lg font-semibold",children:t}),u.jsx("p",{className:"mt-1 text-xs text-creator-ink/65",children:n})]}),r?u.jsx(pl,{className:"h-4 w-4 text-creator-green"}):u.jsx(OS,{className:"h-4 w-4 text-creator-brass"})]})})}function E4({name:e,courses:t,communities:n,productCount:r,onBook:o}){const{t:i}=fe(),a=[i("creator.personalised.offerBranding",{name:e}),i("creator.personalised.offerStores"),i("creator.personalised.offerContent",{courses:t,communities:n,productCount:r}),i("creator.personalised.offerMaintenance")];return u.jsxs("div",{id:"personalised-offer",className:"scroll-mt-20 lg:pl-3",children:[u.jsx("p",{className:"creator-kicker text-creator-red",children:i("creator.personalised.offerEyebrow")}),u.jsx("h2",{className:"creator-display mt-4 max-w-xl text-4xl leading-[0.98] md:text-5xl",children:i("creator.personalised.offerTitle")}),u.jsx("p",{className:"mt-5 max-w-xl text-sm leading-relaxed text-creator-ink/70",children:i("creator.personalised.offerBody",{name:e})}),u.jsxs("div",{className:"mt-7 grid grid-cols-3 gap-2 border-y border-creator-ink/20 py-4 text-xs",children:[u.jsxs("div",{children:[u.jsx("strong",{className:"block text-2xl font-display",children:"2"}),u.jsx("span",{children:i("creator.personalised.appStores")})]}),u.jsxs("div",{children:[u.jsx("strong",{className:"block text-2xl font-display",children:"2 to 4"}),u.jsx("span",{children:i("creator.personalised.weekTarget")})]}),u.jsxs("div",{children:[u.jsx("strong",{className:"block text-2xl font-display",children:"£0"}),u.jsx("span",{children:i("creator.personalised.upfront")})]})]}),u.jsxs("div",{className:"mt-7 rounded-xl border border-creator-ink/20 bg-creator-paper p-5 shadow-sm md:p-7",children:[u.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-3 border-b border-creator-ink/15 pb-5",children:[u.jsxs("div",{children:[u.jsx("p",{className:"creator-kicker text-creator-ink/55",children:i("creator.personalised.currentOffer")}),u.jsxs("p",{className:"mt-2 font-display text-4xl font-semibold",children:["£399",u.jsx("span",{className:"ml-1 text-sm font-sans font-normal",children:"/month"})]})]}),u.jsx("p",{className:"max-w-[130px] text-right text-[10px] text-creator-ink/60",children:i("creator.personalised.offerIncluded")})]}),u.jsx("ul",{className:"space-y-3 py-5 text-sm",children:a.map(s=>u.jsxs("li",{className:"flex items-start gap-2",children:[u.jsx(pl,{className:"mt-0.5 h-4 w-4 shrink-0 text-creator-red"}),u.jsx("span",{children:s})]},s))}),u.jsxs(Pe,{onClick:o,className:"bg-creator-ink text-creator-ivory hover:bg-creator-ink/85",children:[i("creator.personalised.checkReadiness"),u.jsx(gt,{})]}),u.jsx("button",{type:"button",onClick:o,className:"ml-4 text-xs font-semibold text-creator-ink/60 underline-offset-4 hover:text-creator-ink hover:underline",children:i("creator.personalised.bookSupporting")})]})]})}function Kx({name:e}){return u.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl border border-creator-ivory/35 font-display text-sm text-creator-brass",children:zo(e)})}function Ac({value:e,label:t}){return u.jsxs("div",{className:"border-l border-creator-ivory/30 pl-3 first:border-l-0",children:[u.jsx("p",{className:"font-display text-2xl font-semibold",children:e}),u.jsx("p",{className:"mt-1 text-[10px] text-creator-ivory/65",children:t})]})}const j4=/^[A-Za-z0-9_-]{1,64}$/,_a=new Map;function yh(e){return j4.test(e)}function N4(e){const[t,n]=h.useState(()=>({profile:_a.get(e)??null,loading:yh(e)&&!_a.has(e),failed:!1}));return h.useEffect(()=>{if(!yh(e)){n({profile:null,loading:!1,failed:!1});return}const r=_a.get(e);if(r){n({profile:r,loading:!1,failed:!1});return}const o=new AbortController;n({profile:null,loading:!0,failed:!1});const a=`https://onkggpfyeyqljkxdpdrd.supabase.co/functions/v1/creator-profile?username=${encodeURIComponent(e)}`;return fetch(a,{method:"GET",headers:{Accept:"application/json"},signal:o.signal}).then(async s=>{if(!s.ok)throw new Error("profile_unavailable");const l=await s.json();if(!l||typeof l.username!="string"||!Array.isArray(l.products))throw new Error("invalid_profile");_a.set(e,l),n({profile:l,loading:!1,failed:!1})}).catch(s=>{s instanceof DOMException&&s.name==="AbortError"||n({profile:null,loading:!1,failed:!0})}),()=>o.abort()},[e]),t}const P4=()=>{var a,s;const e=new URLSearchParams(window.location.search),t=((a=e.get("username"))==null?void 0:a.trim())??"",n=((s=e.get("source"))==null?void 0:s.trim())??"",{profile:r,loading:o}=N4(t),i=!!r;return u.jsxs(wL,{creatorUsername:i?t:void 0,source:i?n:void 0,children:[u.jsx(xL,{}),u.jsx(r4,{}),u.jsxs("main",{className:"min-h-screen pt-16",children:[o?u.jsx(PL,{}):i?u.jsx(g4,{profile:r}):u.jsx(bL,{}),i?u.jsxs(u.Fragment,{children:[u.jsx(uh,{}),u.jsx(dh,{id:"how-it-works"}),u.jsx(ph,{id:"features"}),u.jsx(fh,{}),u.jsx(mh,{id:"faq"}),u.jsx(hh,{})]}):!o&&u.jsxs(u.Fragment,{children:[u.jsx(TL,{}),u.jsx(AL,{}),u.jsx(RL,{}),u.jsx(uh,{}),u.jsx(dh,{}),u.jsx(ph,{id:"features"}),u.jsx(DL,{id:"pricing"}),u.jsx(fh,{}),u.jsx(mh,{id:"faq"}),u.jsx(hh,{})]})]})]})},T4=()=>{const e=xw();return h.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),u.jsx("div",{className:"flex min-h-screen items-center justify-center bg-gray-100",children:u.jsxs("div",{className:"text-center",children:[u.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),u.jsx("p",{className:"mb-4 text-xl text-gray-600",children:"Oops! Page not found"}),u.jsx("a",{href:"/",className:"text-blue-500 underline hover:text-blue-700",children:"Return to Home"})]})})},A4=new gj,R4=()=>u.jsx(vj,{client:A4,children:u.jsxs(H2,{children:[u.jsx(PC,{}),u.jsx(aE,{}),u.jsx(rN,{children:u.jsxs(eN,{children:[u.jsx(_u,{path:"/",element:u.jsx(P4,{})}),u.jsx(_u,{path:"*",element:u.jsx(T4,{})})]})})]})});Fy(document.getElementById("root")).render(u.jsx(R4,{}));

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.