vendor: 5,132 bytes, lines 1-18
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AgentEdit-CwUXJhzt.js","assets/chevron-down-Bc3qUnWb.js","assets/react-vendor-Da4qGlXk.js","assets/agentCreation-CUxTaJDX.js","assets/elevenLabsWebRtcResilience-BquWaxu2.js","assets/loader-circle-Dl70_sOt.js","assets/chevron-left-C0B-bHEw.js","assets/play-DIsUTxDo.js","assets/store-Dm0aDOpd.js","assets/plus-BtPzMFKS.js","assets/zap-COcLrNaP.js","assets/users-BmeO4Tmm.js","assets/message-circle-DGoaQJpS.js","assets/trash--BEJO725.js","assets/refresh-cw-Cogc2dsN.js","assets/link-2-BquvoWM6.js","assets/calendar-grid-DmmDVFJd.js","assets/calendar-days-Bbc48LLw.js","assets/clock-DFQxclZL.js","assets/user-DNvSNTRP.js","assets/copy-DYnXfNhs.js","assets/Templates-0uCqrqJp.js","assets/CapabilityChips-BaFZqnhL.js","assets/CopilotWidget-C3UN40T6.js","assets/shopping-bag-De2sZewk.js","assets/square-w_Jgi8P7.js","assets/Agents-Dyd4ll1J.js","assets/star-CEs4EbP6.js","assets/Calls-BwrjCP3O.js","assets/download-D7vchdZ1.js","assets/search-BTcJc-mj.js","assets/Leads-DW_Sk1O4.js","assets/SettingsPrimitives-HB8w1hvA.js","assets/PhoneNumbers-CUAyxdii.js","assets/Billing-Q0PSc1pO.js","assets/Settings-C3SHezuI.js","assets/eye-DPBNRWYr.js","assets/SetupWizard-DzFi3Gce.js","assets/Integrations-CG_9pdwY.js","assets/FlowDesigner-C8YUdqz5.js","assets/Campaigns-DrTW7-4g.js","assets/Ops-DNsU8J_o.js","assets/McpDocs-DKHNr8cH.js","assets/ConnectedApps-Dr56BlIh.js","assets/McpOAuthConsent-B1T3Px-p.js","assets/EmbeddedOnboarding-BXw1NzV4.js"])))=>i.map(i=>d[i]); 2var Zp=Object.defineProperty;var kp=(o,u,c)=>u in o?Zp(o,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[u]=c;var om=(o,u,c)=>kp(o,typeof u!="symbol"?u+"":u,c);import{r as Jp,a as Kp,g as $p,b as A,u as El,c as _r,L as ka,O as Ip,N as Fp,d as Um,e as En,R as Pp,f as be,h as Wp,B as eb}from"./react-vendor-Da4qGlXk.js";(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const g of document.querySelectorAll('link[rel="modulepreload"]'))r(g);new MutationObserver(g=>{for(const _ of g)if(_.type==="childList")for(const N of _.addedNodes)N.tagName==="LINK"&&N.rel==="modulepreload"&&r(N)}).observe(document,{childList:!0,subtree:!0});function c(g){const _={};return g.integrity&&(_.integrity=g.integrity),g.referrerPolicy&&(_.referrerPolicy=g.referrerPolicy),g.crossOrigin==="use-credentials"?_.credentials="include":g.crossOrigin==="anonymous"?_.credentials="omit":_.credentials="same-origin",_}function r(g){if(g.ep)return;g.ep=!0;const _=c(g);fetch(g.href,_)}})();var Pc={exports:{}},Ti={};/** 3 * @license React 4 * react-jsx-runtime.production.js 5 * 6 * Copyright (c) Meta Platforms, Inc. and affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var sm;function tb(){if(sm)return Ti;sm=1;var o=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function c(r,g,_){var N=null;if(_!==void 0&&(N=""+_),g.key!==void 0&&(N=""+g.key),"key"in g){_={};for(var O in g)O!=="key"&&(_[O]=g[O])}else _=g;return g=_.ref,{$$typeof:o,type:r,key:N,ref:g!==void 0?g:null,props:_}}return Ti.Fragment=u,Ti.jsx=c,Ti.jsxs=c,Ti}var cm;function ab(){return cm||(cm=1,Pc.exports=tb()),Pc.exports}var d=ab(),Wc={exports:{}},Ei={},er={exports:{}},tr={};/** 11 * @license React 12 * scheduler.production.js 13 * 14 * Copyright (c) Meta Platforms, Inc. and affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var rm;function nb(){return rm||(rm=1,(function(o){function u(U,K){var Z=U.length;U.push(K);e:for(;0<Z;){var pe=Z-1>>>1,he=U[pe];if(0<g(he,K))U[pe]=K,U[Z]=he,Z=pe;else break e}}function c(U){return U.length===0?null:U[0]}function r(U){if(U.length===0)return null;var K=U[0],Z=U.pop();if(Z!==K){U[0]=Z;e:for(var pe=0,he=U.length,ha=he>>>1;pe<ha;){var Cn=2*(pe+1)-1,Al=U[Cn],Et=Cn+1,On=U[Et];if(0>g(Al,Z))Et<he&&0>g(On,Al)?(U[pe]=On,U[Et]=Z,pe=Et):(U[pe]=Al,U[Cn]=Z,pe=Cn);else if(Et<he&&0>g(On,Z))U[pe]=On,U[Et]=Z,pe=Et;else break e}}return K}function g(U,K){var Z=U.sortIndex-K.sortIndex;return Z!==0?Z:U.id-K.id}if(o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var _=performance;o.unstable_now=function(){return _.now()}}else{var N=Date,O=N.now();o.unstable_now=function(){return N.now()-O}}var w=[],C=[],L=1,j=null,z=3,Y=!1,R=!1,B=!1,M=!1,$=typeof setTimeout=="function"?setTimeout:null,oe=typeof clearTimeout=="function"?clearTimeout:null,Ie=typeof setImmediate<"u"?setImmediate:null;function Me(U){for(var K=c(C);K!==null;){if(K.callback===null)r(C);else if(K.startTime<=U)r(C),K.sortIndex=K.expirationTime,u(w,K);else break;K=c(C)}}function we(U){if(B=!1,Me(U),!R)if(c(w)!==null)R=!0,te||(te=!0,Kt());else{var K=c(C);K!==null&&Fe(we,K.startTime-U)}}var te=!1,X=-1,fa=5,Ka=-1;function da(){return M?!0:!(o.unstable_now()-Ka<fa)}function jt(){if(M=!1,te){var U=o.unstable_now();Ka=U;var K=!0;try{e:{R=!1,B&&(B=!1,oe(X),X=-1),Y=!0;var Z=z;try{t:{for(Me(U),j=c(w);j!==null&&!(j.expirationTime>U&&da());){var pe=j.callback;
vendor: 24,314 bytes, lines 18-33
18if(typeof pe=="function"){j.callback=null,z=j.priorityLevel;var he=pe(j.expirationTime<=U);if(U=o.unstable_now(),typeof he=="function"){j.callback=he,Me(U),K=!0;break t}j===c(w)&&r(w),Me(U)}else r(w);j=c(w)}if(j!==null)K=!0;else{var ha=c(C);ha!==null&&Fe(we,ha.startTime-U),K=!1}}break e}finally{j=null,z=Z,Y=!1}K=void 0}}finally{K?Kt():te=!1}}}var Kt;if(typeof Ie=="function")Kt=function(){Ie(jt)};else if(typeof MessageChannel<"u"){var An=new MessageChannel,Mi=An.port2;An.port1.onmessage=jt,Kt=function(){Mi.postMessage(null)}}else Kt=function(){$(jt,0)};function Fe(U,K){X=$(function(){U(o.unstable_now())},K)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(U){U.callback=null},o.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):fa=0<U?Math.floor(1e3/U):5},o.unstable_getCurrentPriorityLevel=function(){return z},o.unstable_next=function(U){switch(z){case 1:case 2:case 3:var K=3;break;default:K=z}var Z=z;z=K;try{return U()}finally{z=Z}},o.unstable_requestPaint=function(){M=!0},o.unstable_runWithPriority=function(U,K){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var Z=z;z=U;try{return K()}finally{z=Z}},o.unstable_scheduleCallback=function(U,K,Z){var pe=o.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?pe+Z:pe):Z=pe,U){case 1:var he=-1;break;case 2:he=250;break;case 5:he=1073741823;break;case 4:he=1e4;break;default:he=5e3}return he=Z+he,U={id:L++,callback:K,priorityLevel:U,startTime:Z,expirationTime:he,sortIndex:-1},Z>pe?(U.sortIndex=Z,u(C,U),c(w)===null&&U===c(C)&&(B?(oe(X),X=-1):B=!0,Fe(we,Z-pe))):(U.sortIndex=he,u(w,U),R||Y||(R=!0,te||(te=!0,Kt()))),U},o.unstable_shouldYield=da,o.unstable_wrapCallback=function(U){var K=z;return function(){var Z=z;z=K;try{return U.apply(this,arguments)}finally{z=Z}}}})(tr)),tr}var fm;function lb(){return fm||(fm=1,er.exports=nb()),er.exports}/** 19 * @license React 20 * react-dom-client.production.js 21 * 22 * Copyright (c) Meta Platforms, Inc. and affiliates. 23 * 24 * This source code is licensed under the MIT license found in the 25 * LICENSE file in the root directory of this source tree. 26 */var dm;function ib(){if(dm)return Ei;dm=1;var o=lb(),u=Jp(),c=Kp();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}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."}function g(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _(e){for(var t=e,a=t;a&&!a.alternate;)t=a,(t.flags&4098)!==0&&(e=t.return),a=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function N(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 O(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function w(e){if(_(e)!==e)throw Error(r(188))}function C(e){var t=e.alternate;if(!t){if(t=_(e),t===null)throw Error(r(188));return t!==e?null:e}for(var a=e,n=t;;){var l=a.return;if(l===null)break;var i=l.alternate;if(i===null){if(n=l.return,n!==null){a=n;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===a)return w(l),e;if(i===n)return w(l),t;i=i.sibling}throw Error(r(188))}if(a.return!==n.return)a=l,n=i;else{for(var s=!1,f=l.child;f;){if(f===a){s=!0,a=l,n=i;break}if(f===n){s=!0,n=l,a=i;break}f=f.sibling}if(!s){for(f=i.child;f;){if(f===a){s=!0,a=i,n=l;break}if(f===n){s=!0,n=i,a=l;break}f=f.sibling}if(!s)throw Error(r(189))}}if(a.alternate!==n)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?e:t}function L(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=L(e),t!==null)return t;e=e.sibling}return null}function j(e,t,a,n,l,i){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&a(e,n,l,i)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&j(e.child,t,a,n,l,i))return!0;e=e.sibling}return!1}function z(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function Y(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function R(e){var t=[null,null],a=z(e);return a===null||B(t,e,a.child,{foundSelf:!1}),t}function B(e,t,a,n){for(;a!==null;){if(a===t)n.foundSelf=!0;else if(a.tag===5||a.tag===27||a.tag===6){if(n.foundSelf)return e[1]=a,!0;e[0]=a}else if((a.tag!==22||a.memoizedState===null)&&B(e,t,a.child,n))return!0;a=a.sibling}return!1}function M(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(r(559))}}var $=null,oe=null;function Ie(e,t,a){return e===a?!0:e===t?($=e,!0):!1}function Me(e,t,a){return e===a?(oe=e,!1):e===t?(oe!==null&&($=e),!0):!1}function we(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function te(e,t,a){for(var n=0,l=e;l;l=a(l))n++;l=0;for(var i=t;i;i=a(i))l++;for(;0<n-l;)e=a(e),n--;for(;0<l-n;)t=a(t),l--;for(;n--;){if(e===t||t!==null&&e===t.alternate)return e;e=a(e),t=a(t)}return null}var X=Object.assign,fa=Symbol.for("react.element"),Ka=Symbol.for("react.transitional.element"),da=Symbol.for("react.portal"),jt=Symbol.for("react.fragment"),Kt=Symbol.for("react.strict_mode"),An=Symbol.for("react.profiler"),Mi=Symbol.for("react.consumer"),Fe=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),ha=Symbol.for("react.activity"),Cn=Symbol.for("react.legacy_hidden"),Al=Symbol.for("react.memo_cache_sentinel"),Et=Symbol.for("react.view_transition"),On=Symbol.for("react.recoverable"),Ur=Symbol.iterator;function Cl(e){return e===null||typeof e!="object"?null:(e=Ur&&e[Ur]||e["@@iterator"],typeof e=="function"?e:null)}var K0=Symbol.for("react.client.reference");function vo(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===K0?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case jt:return"Fragment";case An:return"Profiler";case Kt:return"StrictMode";case K:return"Suspense";case Z:return"SuspenseList";case ha:return"Activity";case Et:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case da:return"Portal";case Fe:return e.displayName||"Context";case Mi:return(e._context.displayName||"Context")+".Consumer";case U:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pe:return t=e.displayName||null,t!==null?t:vo(e.type)||"Memo";case he:t=e._payload,e=e._init;try{return vo(e(t))}catch{}}return null}var Ol=Array.isArray,Q=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$a={pending:!1,data:null,method:null,action:null},yo=[],zn=-1;function Mt(e){return{current:e}}function He(e){0>zn||(e.current=yo[zn],yo[zn]=null,zn--)}function me(e,t){zn++,yo[zn]=e.current,e.current=t}var Rt=Mt(null),zl=Mt(null),ga=Mt(null),Ri=Mt(null);function Ui(e,t){switch(me(ga,t),me(zl,e),me(Rt,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?vg(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=vg(t),e=yg(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}He(Rt),me(Rt,e)}function Dn(){He(Rt),He(zl),He(ga)}function po(e){var t=e.memoizedState;t!==null&&(yl._currentValue=t.memoizedState,me(Ri,e)),t=Rt.current;var a=yg(t,e.type);t!==a&&(me(zl,e),me(Rt,a))}function qi(e){zl.current===e&&(He(Rt),He(zl)),Ri.current===e&&(He(Ri),yl._currentValue=$a)}var bo,qr;function ma(e){if(bo===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);bo=t&&t[1]||"",qr=-1<a.stack.indexOf(` 27 at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return` 28`+bo+e+qr}var So=!1;function xo(e,t){if(!e||So)return"";So=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(D){var v=D}Reflect.construct(e,[],E)}else{try{E.call()}catch(D){v=D}E=!1;try{var S=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),E=!0,new e}finally{E&&(S!==void 0?Object.defineProperty(e.prototype,"props",S):delete e.prototype.props)}}}else{try{throw Error()}catch(D){v=D}(E=e())&&typeof E.catch=="function"&&E.catch(function(){})}}catch(D){if(D&&v&&typeof D.stack=="string")return[D.stack,v.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),s=i[0],f=i[1];if(s&&f){var h=s.split(` 29`),p=f.split(` 30`);for(l=n=0;n<h.length&&!h[n].includes("DetermineComponentFrameRoot");)n++;for(;l<p.length&&!p[l].includes("DetermineComponentFrameRoot");)l++;if(n===h.length||l===p.length)for(n=h.length-1,l=p.length-1;1<=n&&0<=l&&h[n]!==p[l];)l--;for(;1<=n&&0<=l;n--,l--)if(h[n]!==p[l]){if(n!==1||l!==1)do if(n--,l--,0>l||h[n]!==p[l]){var x=` 31`+h[n].replace(" at new "," at ");return e.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",e.displayName)),x}while(1<=n&&0<=l);break}}}finally{So=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?ma(a):""}function $0(e,t){switch(e.tag){case 26:case 27:case 5:return ma(e.type);case 16:return ma("Lazy");case 13:return e.child!==t&&t!==null?ma("Suspense Fallback"):ma("Suspense");case 19:return ma("SuspenseList");case 0:case 15:return xo(e.type,!1);case 11:return xo(e.type.render,!1);case 1:return xo(e.type,!0);case 31:return ma("Activity");case 30:return ma("ViewTransition");default:return""}}function Lr(e){try{var t="",a=null;do t+=$0(e,a),a=e,e=e.return;while(e);return t}catch(n){return` 32Error generating stack: `+n.message+` 33`+n.stack}}var _o=Object.prototype.hasOwnProperty,To=o.unstable_scheduleCallback,Eo=o.unstable_cancelCallback,I0=o.unstable_shouldYield,F0=o.unstable_requestPaint,lt=o.unstable_now,P0=o.unstable_getCurrentPriorityLevel,Hr=o.unstable_ImmediatePriority,Br=o.unstable_UserBlockingPriority,Li=o.unstable_NormalPriority,W0=o.unstable_LowPriority,Gr=o.unstable_IdlePriority,ev=o.log,tv=o.unstable_setDisableYieldValue,Dl=null,it=null;function va(e){if(typeof ev=="function"&&tv(e),it&&typeof it.setStrictMode=="function")try{it.setStrictMode(Dl,e)}catch{}}var ut=Math.clz32?Math.clz32:lv,av=Math.log,nv=Math.LN2;function lv(e){return e>>>=0,e===0?32:31-(av(e)/nv|0)|0}var Hi=256,Bi=262144,Gi=4194304;function Ia(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Vi(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var l=0,i=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var f=n&134217727;return f!==0?(n=f&~i,n!==0?l=Ia(n):(s&=f,s!==0?l=Ia(s):a||(a=f&~e,a!==0&&(l=Ia(a))))):(f=n&~i,f!==0?l=Ia(f):s!==0?l=Ia(s):a||(a=n&~e,a!==0&&(l=Ia(a)))),l===0?0:t!==0&&t!==l&&(t&i)===0&&(i=l&-l,a=t&-t,i>=a||i===32&&(a&4194048)!==0)?t:l}function wl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Vr(e,t){(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-ut(a),l=1<<n;t|=e[n],a&=~l}return t}function iv(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Yr(){var e=Gi;return Gi<<=1,(Gi&62914560)===0&&(Gi=4194304),e}function No(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function jl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function uv(e,t,a,n,l,i){var s=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var f=e.entanglements,h=e.expirationTimes,p=e.hiddenUpdates;for(a=s&~a;0<a;){var x=31-ut(a),E=1<<x;f[x]=0,h[x]=-1;var v=p[x];if(v!==null)for(p[x]=null,x=0;x<v.length;x++){var S=v[x];S!==null&&(S.lane&=-536870913)}a&=~E}n!==0&&Qr(e,n,0),i!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=i&~(s&~t))}function Qr(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-ut(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&261930}function Xr(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-ut(a),l=1<<n;l&t|e[n]&t&&(e[n]|=t),a&=~l}}function Zr(e,t){var a=t&-t;return a=(a&42)!==0?1:Ao(a),(a&(e.suspendedLanes|t))!==0?0:a}function Ao(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Co(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function kr(){var e=le.p;return e!==0?e:(e=window.event,e===void 0?32:em(e.type))}function Jr(e,t){var a=le.p;try{return le.p=e,t()}finally{le.p=a}}var $t=Math.random().toString(36).slice(2),Be="__reactFiber$"+$t,Pe="__reactProps$"+$t,wn="__reactContainer$"+$t,Kr="__reactEvents$"+$t,ov="__reactListeners$"+$t,sv="__reactHandles$"+$t,$r="__reactResources$"+$t,Ml="__reactMarker$"+$t,Yi="__reactLoad$"+$t;function Qi(e){delete e[Be],delete e[Pe],delete e[ov],delete e[sv]}function Fa(e){var t;if(t=e[Be])return t;for(var a=e.parentNode;a;){if(t=a[wn]||a[Be]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Rg(e);e!==null;){if(a=e[Be])return a;e=Rg(e)}return t}e=a,a=e.parentNode}return null}function jn(e){if(e=e[Be]||e[wn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Rl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function Mn(e){var t=e[$r];return t||(t=e[$r]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Re(e){e[Ml]=!0}function Ir(e){e[Yi]=void 0}var Fr=new Set,Pr={};function Pa(e,t){Rn(e,t),Rn(e+"Capture",t)}function Rn(e,t){for(Pr[e]=t,e=0;e<t.length;e++)Fr.add(t[e])}var cv=RegExp("^[: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]*$"),Wr={},ef={};function rv(e){return _o.call(ef,e)?!0:_o.call(Wr,e)?!1:cv.test(e)?ef[e]=!0:(Wr[e]=!0,!1)}var ne=!1;function tf(){var e=ne;return ne=!1,e}function Xi(e,t,a){if(rv(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,a)}}function Zi(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,a)}}function It(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,n)}}function ot(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function af(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fv(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(s){a=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(s){a=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oo(e){if(!e._valueTracker){var t=af(e)?"checked":"value";e._valueTracker=fv(e,t,""+e[t])}}function nf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=af(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}var dv=/[\n"\\]/g;function mt(e){return e.replace(dv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function zo(e,t,a,n,l,i,s,f){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+ot(t)):e.value!==""+ot(t)&&(e.value=""+ot(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?s==="number"&&e.value==t?Do(e,ot(e.value)):Do(e,ot(t)):a!=null?Do(e,ot(a)):n!=null&&e.removeAttribute("value"),l==null&&i!=null&&(e.defaultChecked=!!i),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?e.name=""+ot(f):e.removeAttribute("name")}function lf(e,t,a,n,l,i,s,f){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){Oo(e);return}a=a!=null?""+ot(a):"",t=t!=null?""+ot(t):a,f||t===e.value||(e.value=t),e.defaultValue=t}n=n??l,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=f?e.checked:!!n,e.defaultChecked=!!n,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),Oo(e)}function Do(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Un(e,t,a,n){if(e=e.options,t){t={};for(var l=0;l<a.length;l++)t["$"+a[l]]=!0;for(a=0;a<e.length;a++)l=t.hasOwnProperty("$"+e[a].value),e[a].selected!==l&&(e[a].selected=l),l&&n&&(e[a].defaultSelected=!0)}else{for(a=""+ot(a),t=null,l=0;l<e.length;l++){if(e[l].value===a){e[l].selected=!0,n&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function uf(e,t,a){if(t!=null&&(t=""+ot(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+ot(a):""}function of(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(r(92));if(Ol(n)){if(1<n.length)throw Error(r(93));n=n[0]}a=n}a==null&&(a=""),t=a}a=ot(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n),Oo(e)}function qn(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var hv=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function sf(e,t,a){var n=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!="number"||a===0||hv.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function cf(e,t,a){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="",ne=!0);for(var l in t)n=t[l],t.hasOwnProperty(l)&&a[l]!==n&&(sf(e,l,n),ne=!0)}else for(var i in t)t.hasOwnProperty(i)&&sf(e,i,t[i])}function wo(e){if(e.indexOf("-")===-1)return!1;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 gv=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
33-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),mv=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ki(e){return mv.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ut(){}var jo=null;function Mo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ln=null,Hn=null;function rf(e){var t=jn(e);if(t&&(e=t.stateNode)){var a=e[Pe]||null;e:switch(e=t.stateNode,t.type){case"input":if(zo(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+mt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var l=n[Pe]||null;if(!l)throw Error(r(90));zo(n,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&nf(n)}break e;case"textarea":uf(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Un(e,!!a.multiple,t,!1)}}}var Ro=!1;function ff(e,t,a){if(Ro)return e(t,a);Ro=!0;try{var n=e(t);return n}finally{if(Ro=!1,(Ln!==null||Hn!==null)&&(ku(),Ln&&(t=Ln,e=Hn,Hn=Ln=null,rf(t),e)))for(t=0;t<e.length;t++)rf(e[t])}}function Ul(e,t){var a=e.stateNode;if(a===null)return null;var n=a[Pe]||null;if(n===null)return null;a=n[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":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(r(231,t,typeof a));return a}var Ft=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uo=!1;if(Ft)try{var ql={};Object.defineProperty(ql,"passive",{get:function(){Uo=!0}}),window.addEventListener("test",ql,ql),window.removeEventListener("test",ql,ql)}catch{Uo=!1}var ya=null,qo=null,Ji=null;function df(){if(Ji)return Ji;var e,t=qo,a=t.length,n,l="value"in ya?ya.value:ya.textContent,i=l.length;for(e=0;e<a&&t[e]===l[e];e++);var s=a-e;for(n=1;n<=s&&t[a-n]===l[i-n];n++);return Ji=l.slice(e,1<n?1-n:void 0)}function Ki(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 $i(){return!0}function hf(){return!1}function ke(e){function t(a,n,l,i,s){this._reactName=a,this._targetInst=l,this.type=n,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var f in e)e.hasOwnProperty(f)&&(a=e[f],this[f]=a?a(i):i[f]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?$i:hf,this.isPropagationStopped=hf,this}return X(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=$i)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=$i)},persist:function(){},isPersistent:$i}),t}var pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ii=ke(pa),Ll=X({},pa,{view:0,detail:0}),vv=ke(Ll),Lo,Ho,Hl,Fi=X({},Ll,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Go,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!==Hl&&(Hl&&e.type==="mousemove"?(Lo=e.screenX-Hl.screenX,Ho=e.screenY-Hl.screenY):Ho=Lo=0,Hl=e),Lo)},movementY:function(e){return"movementY"in e?e.movementY:Ho}}),gf=ke(Fi),yv=X({},Fi,{dataTransfer:0}),pv=ke(yv),bv=X({},Ll,{relatedTarget:0}),Bo=ke(bv),Sv=X({},pa,{animationName:0,elapsedTime:0,pseudoElement:0}),xv=ke(Sv),_v=X({},pa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Tv=ke(_v),Ev=X({},pa,{data:0}),mf=ke(Ev),Nv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Av={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"},Cv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ov(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Cv[e])?!!t[e]:!1}function Go(){return Ov}var zv=X({},Ll,{key:function(e){if(e.key){var t=Nv[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 5,373 bytes, line 33
33return e.type==="keypress"?(e=Ki(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Av[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Go,charCode:function(e){return e.type==="keypress"?Ki(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ki(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Dv=ke(zv),wv=X({},Fi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),vf=ke(wv),jv=X({},pa,{submitter:0}),Mv=ke(jv),Rv=X({},Ll,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Go}),Uv=ke(Rv),qv=X({},pa,{propertyName:0,elapsedTime:0,pseudoElement:0}),Lv=ke(qv),Hv=X({},Fi,{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}),Bv=ke(Hv),Gv=X({},pa,{newState:0,oldState:0,source:0}),Vv=ke(Gv),Yv=[9,13,27,32],Vo=Ft&&"CompositionEvent"in window,Bl=null;Ft&&"documentMode"in document&&(Bl=document.documentMode);var Qv=Ft&&"TextEvent"in window&&!Bl,yf=Ft&&(!Vo||Bl&&8<Bl&&11>=Bl),pf=" ",bf=!1;function Sf(e,t){switch(e){case"keyup":return Yv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Bn=!1;function Xv(e,t){switch(e){case"compositionend":return xf(t);case"keypress":return t.which!==32?null:(bf=!0,pf);case"textInput":return e=t.data,e===pf&&bf?null:e;default:return null}}function Zv(e,t){if(Bn)return e==="compositionend"||!Vo&&Sf(e,t)?(e=df(),Ji=qo=ya=null,Bn=!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 yf&&t.locale!=="ko"?null:t.data;default:return null}}var kv={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 _f(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!kv[e.type]:t==="textarea"}function Tf(e,t,a,n){Ln?Hn?Hn.push(n):Hn=[n]:Ln=n,t=Pu(t,"onChange"),0<t.length&&(a=new Ii("onChange","change",null,a,n),e.push({event:a,listeners:t}))}var Gl=null,Vl=null;function Jv(e){rg(e,0)}function Pi(e){var t=Rl(e);if(nf(t))return e}function Ef(e,t){if(e==="change")return t}var Nf=!1;if(Ft){var Yo;if(Ft){var Qo="oninput"in document;if(!Qo){var Af=document.createElement("div");Af.setAttribute("oninput","return;"),Qo=typeof Af.oninput=="function"}Yo=Qo}else Yo=!1;Nf=Yo&&(!document.documentMode||9<document.documentMode)}function Cf(){Gl&&(Gl.detachEvent("onpropertychange",Of),Vl=Gl=null)}function Of(e){if(e.propertyName==="value"&&Pi(Vl)){var t=[];Tf(t,Vl,e,Mo(e)),ff(Jv,t)}}function Kv(e,t,a){e==="focusin"?(Cf(),Gl=t,Vl=a,Gl.attachEvent("onpropertychange",Of)):e==="focusout"&&Cf()}function $v(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Pi(Vl)}function Iv(e,t){if(e==="click")return Pi(t)}function Fv(e,t){if(e==="input"||e==="change")return Pi(t)}function Pv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var st=typeof Object.is=="function"?Object.is:Pv;function Yl(e,t){if(st(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var l=a[n];if(!_o.call(t,l)||!st(e[l],t[l]))return!1}return!0}function Xo(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 zf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Df(e,t){var a=zf(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=zf(a)}}function wf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Xo(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Xo(e.document)}return t}function Zo(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")}var Wv=Ft&&"documentMode"in document&&11>=document.documentMode,Gn=null,ko=null,Ql=null,Jo=!1;function Mf(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Jo||Gn==null||Gn!==Xo(n)||(n=Gn,"selectionStart"in n&&Zo(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focu
vendor: 112,801 bytes, line 33
33sNode:n.focusNode,focusOffset:n.focusOffset}),Ql&&Yl(Ql,n)||(Ql=n,n=Pu(ko,"onSelect"),0<n.length&&(t=new Ii("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=Gn)))}function Wa(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Vn={animationend:Wa("Animation","AnimationEnd"),animationiteration:Wa("Animation","AnimationIteration"),animationstart:Wa("Animation","AnimationStart"),transitionrun:Wa("Transition","TransitionRun"),transitionstart:Wa("Transition","TransitionStart"),transitioncancel:Wa("Transition","TransitionCancel"),transitionend:Wa("Transition","TransitionEnd")},Ko={},Rf={};Ft&&(Rf=document.createElement("div").style,"AnimationEvent"in window||(delete Vn.animationend.animation,delete Vn.animationiteration.animation,delete Vn.animationstart.animation),"TransitionEvent"in window||delete Vn.transitionend.transition);function en(e){if(Ko[e])return Ko[e];if(!Vn[e])return e;var t=Vn[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Rf)return Ko[e]=t[a];return e}var Uf=en("animationend"),qf=en("animationiteration"),Lf=en("animationstart"),ey=en("transitionrun"),ty=en("transitionstart"),ay=en("transitioncancel"),Hf=en("transitionend"),Bf=new Map,$o="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");$o.push("scrollEnd");function Nt(e,t){Bf.set(e,t),Pa(t,[e])}var ny=0;function Pt(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=zt.identifierPrefix;var a=ny++;return e="_"+e+"t_"+a.toString(32)+"_",t.autoName=e}function Gf(e){if(e==null||typeof e=="string")return e;var t=null,a=ol;if(a!==null)for(var n=0;n<a.length;n++){var l=e[a[n]];if(l!=null){if(l==="none")return"none";t=t==null?l:t+(" "+l)}}return t??e.default}function Wt(e,t){return e=Gf(e),t=Gf(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var Wi=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},vt=[],Yn=0,Io=0;function eu(){for(var e=Yn,t=Io=Yn=0;t<e;){var a=vt[t];vt[t++]=null;var n=vt[t];vt[t++]=null;var l=vt[t];vt[t++]=null;var i=vt[t];if(vt[t++]=null,n!==null&&l!==null){var s=n.pending;s===null?l.next=l:(l.next=s.next,s.next=l),n.pending=l}i!==0&&Vf(a,l,i)}}function tu(e,t,a,n){vt[Yn++]=e,vt[Yn++]=t,vt[Yn++]=a,vt[Yn++]=n,Io|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function Fo(e,t,a,n){return tu(e,t,a,n),au(e)}function tn(e,t){return tu(e,null,null,t),au(e)}function Vf(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var l=!1,i=e.return;i!==null;)i.childLanes|=a,n=i.alternate,n!==null&&(n.childLanes|=a),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(l=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,l&&t!==null&&(l=31-ut(a),e=i.hiddenUpdates,n=e[l],n===null?e[l]=[t]:n.push(t),t.lane=a|536870912),i):null}function au(e){if(50<fi)throw fi=0,Zu=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Qn={};function ly(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function We(e,t,a,n){return new ly(e,t,a,n)}function Po(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ea(e,t){var a=e.alternate;return a===null?(a=We(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&1206910976,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Yf(e,t){e.flags&=1206910978;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function nu(e,t,a,n,l,i){var s=0;if(n=e,typeof n=="function")Po(n)&&(s=1);else if(typeof n=="string")s=jp(e,a,Rt.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(n){case ha:return e=We(31,a,t,l),e.elementType=ha,e.lanes=i,e;case jt:return an(a.children,l,i,t);case Kt:s=8,l|=24;break;case An:return e=We(12,a,t,l|2),e.elementType=An,e.lanes=i,e;case K:return e=We(13,a,t,l),e.elementType=K,e.lanes=i,e;case Z:return e=We(19,a,t,l),e.elementType=Z,e.lanes=i,e;case Cn:case Et:return e=l|32,e=We(30,a,t,e),e.elementType=Et,e.lanes=i,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Fe:s=10;break e;case Mi:s=9;break e;case U:s=11;break e;case pe:s=14;break e;case he:s=16,n=null;break e}s=29,a=Error(r(130,e===null?"null":typeof e,"")),n=null}return t=We(s,a,t,l),t.elementType=e,t.type=n,t.lanes=i,t}function an(e,t,a,n){return e=We(7,e,n,t),e.lanes=a,e}function Wo(e,t,a){return e=We(6,e,null,t),e.lanes=a,e}function Qf(e){var t=We(18,null,null,0);return t.stateNode=e,t}function es(e,t,a){return t=We(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Xf=new WeakMap;function yt(e,t){if(typeof e=="object"&&e!==null){var a=Xf.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Lr(t)},Xf.set(e,t),t)}return{value:e,source:t,stack:Lr(t)}}var Xn=[],Zn=0,lu=null,Xl=0,pt=[],bt=0,ba=null,qt=1,Lt="";function ta(e,t){Xn[Zn++]=Xl,Xn[Zn++]=lu,lu=e,Xl=t}function Zf(e,t,a){pt[bt++]=qt,pt[bt++]=Lt,pt[bt++]=ba,ba=e;var n=qt;e=Lt;var l=32-ut(n)-1;n&=~(1<<l),a+=1;var i=32-ut(t)+l;if(30<i){var s=l-l%5;i=(n&(1<<s)-1).toString(32),n>>=s,l-=s,qt=1<<32-ut(t)+l|a<<l|n,Lt=i+e}else qt=1<<i|a<<l|n,Lt=e}function iu(e){e.return!==null&&(ta(e,1),Zf(e,1,0))}function ts(e){for(;e===lu;)lu=Xn[--Zn],Xn[Zn]=null,Xl=Xn[--Zn],Xn[Zn]=null;for(;e===ba;)ba=pt[--bt],pt[bt]=null,Lt=pt[--bt],pt[bt]=null,qt=pt[--bt],pt[bt]=null}function kf(e,t){pt[bt++]=qt,pt[bt++]=Lt,pt[bt++]=ba,qt=t.id,Lt=t.overflow,ba=e}var Ue=null,ve=null,I=!1,Sa=null,St=!1,as=Error(r(519));function xa(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Zl(yt(t,e)),as}function Jf(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[Be]=e,t[Pe]=n,a){case"dialog":P("cancel",t),P("close",t);break;case"iframe":case"object":case"embed":P("load",t);break;case"video":case"audio":for(a=0;a<hi.length;a++)P(hi[a],t);break;case"source":P("error",t);break;case"img":case"image":case"link":P("error",t),P("load",t);break;case"details":P("toggle",t);break;case"input":P("invalid",t),lf(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":P("invalid",t);break;case"textarea":P("invalid",t),of(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||gg(t.textContent,a)?(n.popover!=null&&(P("beforetoggle",t),P("toggle",t)),n.onScroll!=null&&P("scroll",t),n.onScrollEnd!=null&&P("scrollend",t),n.onClick!=null&&(t.onclick=Ut),t=!0):t=!1,t||xa(e,!0)}function uu(e){for(Ue=e.return;Ue;)switch(Ue.tag){case 5:case 31:case 13:St=!1;return;case 27:case 3:St=!0;return;default:Ue=Ue.return}}function kn(e){if(e!==Ue)return!1;if(!I)return uu(e),I=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||jc(e.type,e.memoizedProps)),a=!a),a&&ve&&xa(e),uu(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));ve=Mg(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));ve=Mg(e)}else t===27?(t=ve,La(e.type)?(e=Vc,Vc=null,ve=e):ve=t):ve=Ue?_t(e.stateNode.nextSibling):null;return!0}function nn(){ve=Ue=null,I=!1}function ns(){var e=Sa;return e!==null&&(at===null?at=e:at.push.apply(at,e),Sa=null),e}function Zl(e){Sa===null?Sa=[e]:Sa.push(e)}var ls=Mt(null),ln=null,aa=null;function _a(e,t,a){me(ls,t._currentValue),t._currentValue=a}function na(e){e._currentValue=ls.current,He(ls)}function ou(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}}function is(e,t,a,n){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var i=l.dependencies;if(i!==null){var s=l.child;i=i.firstContext;e:for(;i!==null;){var f=i;i=l;for(var h=0;h<t.length;h++)if(f.context===t[h]){i.lanes|=a,f=i.alternate,f!==null&&(f.lanes|=a),ou(i.return,a,e),n||(s=null);break e}i=f.next}}else if(l.tag===18){if(s=l.return,s===null)throw Error(r(341));s.lanes|=a,i=s.alternate,i!==null&&(i.lanes|=a),ou(s,a,e),s=null}else l.tag===13&&l.memoizedState!==null&&l.memoizedState.dehydrated===null?(l.lanes|=a,s=l.alternate,s!==null&&(s.lanes|=a),ou(l.return,a,e),s=l.child,s=s!==null?s.sibling:null):s=l.child;if(s!==null)s.return=l;else for(s=l;s!==null;){if(s===e){s=null;break}if(l=s.sibling,l!==null){l.return=s.return,s=l;break}s=s.return}l=s}}function un(e,t,a,n){e=null;for(var l=t,i=!1;l!==null;){if(!i){if((l.flags&524288)!==0)i=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var s=l.alternate;if(s===null)throw Error(r(387));if(s=s.memoizedProps,s!==null){var f=l.type;st(l.pendingProps.value,s.value)||(e!==null?e.push(f):e=[f])}}else if(l===Ri.current){if(s=l.alternate,s===null)throw Error(r(387));s.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(yl):e=[yl])}l=l.return}return e!==null&&is(t,e,a,n),t.flags|=262144,e!==null}function su(e){for(e=e.firstContext;e!==null;){if(!st(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function on(e){ln=e,aa=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ge(e){return Kf(ln,e)}function cu(e,t){return ln===null&&on(e),Kf(e,t)}function Kf(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},aa===null){if(e===null)throw Error(r(308));aa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else aa=aa.next=t;return a}var iy=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},uy=o.unstable_scheduleCallback,oy=o.unstable_NormalPriority,Ae={$$typeof:Fe,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function us(){return{controller:new iy,data:new Map,refCount:0}}function kl(e){e.refCount--,e.refCount===0&&uy(oy,function(){e.controller.abort()})}function $f(e,t){if((e.pendingLanes&4194048)!==0){var a=e.transitionTypes;for(a===null&&(a=e.transitionTypes=[]),e=0;e<t.length;e++){var n=t[e];a.indexOf(n)===-1&&a.push(n)}}}var Jl=null;function sy(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var Kl=null,os=0,sn=0,Jn=null;function cy(e,t){if(Kl===null){var a=Kl=[];os=0,sn=Tc(),Jn={status:"pending",value:void 0,then:function(n){a.push(n)}}}return os++,t.then(If,If),t}function If(){if(--os===0&&(Jl=null,Kl!==null)){Jn!==null&&(Jn.status="fulfilled");var e=Kl;Kl=null,sn=0,Jn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ry(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(l){a.push(l)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var l=0;l<a.length;l++)(0,a[l])(t)},function(l){for(n.status="rejected",n.reason=l,l=0;l<a.length;l++)(0,a[l])(void 0)}),n}var Ff=Q.S;Q.S=function(e,t){if(Qh=lt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&cy(e,t),Jl!==null)for(var a=fl;a!==null;)$f(a,Jl),a=a.next;if(a=e.types,a!==null){for(var n=fl;n!==null;)$f(n,a),n=n.next;if(sn!==0){n=Jl,n===null&&(n=Jl=[]);for(var l=0;l<a.length;l++){var i=a[l];n.indexOf(i)===-1&&n.push(i)}}}Ff!==null&&Ff(e,t)};var cn=Mt(null);function ss(){var e=cn.current;return e!==null?e:ge.pooledCache}function ru(e,t){t===null?me(cn,cn.current):me(cn,t.pool)}function Pf(){var e=ss();return e===null?null:{parent:Ae._currentValue,pool:e}}var Kn=Error(r(460)),cs=Error(r(474)),fu=Error(r(542)),du={then:function(){}};function Wf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ed(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Ut,Ut),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ad(e),e===void 0&&!("reason"in t)?Error(r(600)):e;default:if(typeof t.status=="string")t.then(Ut,Ut);else{if(e=ge,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var l=t;l.status="fulfilled",l.value=n}},function(n){if(t.status==="pending"){var l=t;l.status="rejected",l.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ad(e),e}throw fn=t,Kn}}function rn(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(fn=a,Kn):a}}var fn=null;function td(){if(fn===null)throw Error(r(459));var e=fn;return fn=null,e}function ad(e){if(e===Kn||e===fu)throw Error(r(483))}var $n=null,$l=0;function hu(e){var t=$l;return $l+=1,$n===null&&($n=[]),ed($n,e,t)}function Ta(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function gu(e,t){throw t.$$typeof===fa?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function nd(e){function t(y,m){if(e){var b=y.deletions;b===null?(y.deletions=[m],y.flags|=16):b.push(m)}}function a(y,m){if(!e)return null;for(;m!==null;)t(y,m),m=m.sibling;return null}function n(y){for(var m=new Map;y!==null;)y.key===null?m.set(y.index,y):m.set(y.key,y),y=y.sibling;return m}function l(y,m){return y=ea(y,m),y.index=0,y.sibling=null,y}function i(y,m,b){return y.index=b,e?(b=y.alternate,b!==null?(b=b.index,b<m?(y.flags|=2,m):b):(y.flags|=134217730,m)):(y.flags|=1048576,m)}function s(y){return e&&y.alternate===null&&(y.flags|=134217730),y}function f(y,m,b,T){return m===null||m.tag!==6?(m=Wo(b,y.mode,T),m.return=y,m):(m=l(m,b),m.return=y,m)}function h(y,m,b,T){var q=b.type;return q===jt?(y=x(y,m,b.props.children,T,b.key),Ta(y,b),y):m!==null&&(m.elementType===q||typeof q=="object"&&q!==null&&q.$$typeof===he&&rn(q)===m.type)?(m=l(m,b.props),Ta(m,b),m.return=y,m):(m=nu(b.type,b.key,b.props,null,y.mode,T),Ta(m,b),m.return=y,m)}function p(y,m,b,T){return m===null||m.tag!==4||m.stateNode.containerInfo!==b.containerInfo||m.stateNode.implementation!==b.implementation?(m=es(b,y.mode,T),m.return=y,m):(m=l(m,b.children||[]),m.return=y,m)}function x(y,m,b,T,q){return m===null||m.tag!==7?(m=an(b,y.mode,T,q),m.return=y,m):(m=l(m,b),m.return=y,m)}function E(y,m,b){if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return m=Wo(""+m,y.mode,b),m.return=y,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Ka:return b=nu(m.type,m.key,m.props,null,y.mode,b),Ta(b,m),b.return=y,b;case da:return m=es(m,y.mode,b),m.return=y,m;case he:return m=rn(m),E(y,m,b)}if(Ol(m)||Cl(m))return m=an(m,y.mode,b,null),m.return=y,m;if(typeof m.then=="function")return E(y,hu(m),b);if(m.$$typeof===Fe)return E(y,cu(y,m),b);gu(y,m)}return null}function v(y,m,b,T){var q=m!==null?m.key:null;if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return q!==null?null:f(y,m,""+b,T);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Ka:return b.key===q?h(y,m,b,T):null;case da:return b.key===q?p(y,m,b,T):null;case he:return b=rn(b),v(y,m,b,T)}if(Ol(b)||Cl(b))return q!==null?null:x(y,m,b,T,null);if(typeof b.then=="function")return v(y,m,hu(b),T);if(b.$$typeof===Fe)return v(y,m,cu(y,b),T);gu(y,b)}return null}function S(y,m,b,T,q){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return y=y.get(b)||null,f(m,y,""+T,q);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Ka:return y=y.get(T.key===null?b:T.key)||null,h(m,y,T,q);case da:return y=y.get(T.key===null?b:T.key)||null,p(m,y,T,q);case he:return T=rn(T),S(y,m,b,T,q)}if(Ol(T)||Cl(T))return y=y.get(b)||null,x(m,y,T,q,null);if(typeof T.then=="function")return S(y,m,b,hu(T),q);if(T.$$typeof===Fe)return S(y,m,b,cu(m,T),q);gu(m,T)}return null}function D(y,m,b,T){for(var q=null,ee=null,G=m,V=m=0,ze=null;G!==null&&V<b.length;V++){G.index>V?(ze=G,G=null):ze=G.sibling;var ae=v(y,G,b[V],T);if(ae===null){G===null&&(G=ze);break}e&&G&&ae.alternate===null&&t(y,G),m=i(ae,m,V),ee===null?q=ae:ee.sibling=ae,ee=ae,G=ze}if(V===b.length)return a(y,G),I&&ta(y,V),q;if(G===null){for(;V<b.length;V++)G=E(y,b[V],T),G!==null&&(m=i(G,m,V),ee===null?q=G:ee.sibling=G,ee=G);return I&&ta(y,V),q}for(G=n(G);V<b.length;V++)ze=S(G,y,V,b[V],T),ze!==null&&(e&&(ae=ze.alternate,ae!==null&&G.delete(ae.key===null?V:ae.key)),m=i(ze,m,V),ee===null?q=ze:ee.sibling=ze,ee=ze);return e&&G.forEach(function(Ya){return t(y,Ya)}),I&&ta(y,V),q}function H(y,m,b,T){if(b==null)throw Error(r(151));for(var q=null,ee=null,G=m,V=m=0,ze=null,ae=b.next();G!==null&&!ae.done;V++,ae=b.next()){G.index>V?(ze=G,G=null):ze=G.sibling;var Ya=v(y,G,ae.value,T);if(Ya===null){G===null&&(G=ze);break}e&&G&&Ya.alternate===null&&t(y,G),m=i(Ya,m,V),ee===null?q=Ya:ee.sibling=Ya,ee=Ya,G=ze}if(ae.done)return a(y,G),I&&ta(y,V),q;if(G===null){for(;!ae.done;V++,ae=b.next())ae=E(y,ae.value,T),ae!==null&&(m=i(ae,m,V),ee===null?q=ae:ee.sibling=ae,ee=ae);return I&&ta(y,V),q}for(G=n(G);!ae.done;V++,ae=b.next())ae=S(G,y,V,ae.value,T),ae!==null&&(e&&(ze=ae.alternate,ze!==null&&G.delete(ze.key===null?V:ze.key)),m=i(ae,m,V),ee===null?q=ae:ee.sibling=ae,ee=ae);return e&&G.forEach(function(Xp){return t(y,Xp)}),I&&ta(y,V),q}function J(y,m,b,T){if(typeof b=="object"&&b!==null&&b.type===jt&&b.key===null&&b.props.ref===void 0&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Ka:e:{for(var q=b.key;m!==null;){if(m.key===q){if(q=b.type,q===jt){if(m.tag===7){a(y,m.sibling),T=l(m,b.props.children),Ta(T,b),T.return=y,y=T;break e}}else if(m.elementType===q||typeof q=="object"&&q!==null&&q.$$typeof===he&&rn(q)===m.type){a(y,m.sibling),T=l(m,b.props),Ta(T,b),T.return=y,y=T;break e}a(y,m);break}else t(y,m);m=m.sibling}b.type===jt?(T=an(b.props.children,y.mode,T,b.key),Ta(T,b),T.return=y,y=T):(T=nu(b.type,b.key,b.props,null,y.mode,T),Ta(T,b),T.return=y,y=T)}return s(y);case da:e:{for(q=b.key;m!==null;){if(m.key===q)if(m.tag===4&&m.stateNode.containerInfo===b.containerInfo&&m.stateNode.implementation===b.implementation){a(y,m.sibling),T=l(m,b.children||[]),T.return=y,y=T;break e}else{a(y,m);break}else t(y,m);m=m.sibling}T=es(b,y.mode,T),T.return=y,y=T}return s(y);case he:return b=rn(b),J(y,m,b,T)}if(Ol(b))return D(y,m,b,T);if(Cl(b)){if(q=Cl(b),typeof q!="function")throw Error(r(150));return b=q.call(b),H(y,m,b,T)}if(typeof b.then=="function")return J(y,m,hu(b),T);if(b.$$typeof===Fe)return J(y,m,cu(y,b),T);gu(y,b)}return typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint"?(b=""+b,m!==null&&m.tag===6?(a(y,m.sibling),T=l(m,b),T.return=y,y=T):(a(y,m),T=Wo(b,y.mode,T),T.return=y,y=T),s(y)):a(y,m)}return function(y,m,b,T){try{$l=0;var q=J(y,m,b,T);return $n=null,q}catch(G){if(G===Kn||G===fu)throw G;var ee=We(29,G,null,y.mode);return ee.lanes=T,ee.return=y,ee}finally{}}}var dn=nd(!0),ld=nd(!1),Ea=!1;function rs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fs(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Na(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Aa(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(ie&2)!==0){var l=n.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),n.pending=t,t=au(e),Vf(e,null,a),t}return tu(e,n,t,a),au(e)}function Il(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,Xr(e,a)}}function ds(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var l=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var s={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?l=i=s:i=i.next=s,a=a.next}while(a!==null);i===null?l=i=t:i=i.next=t}else l=i=t;a={baseState:n.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var hs=!1;function Fl(){if(hs){var e=Jn;if(e!==null)throw e}}function Pl(e,t,a,n){hs=!1;var l=e.updateQueue;Ea=!1;var i=l.firstBaseUpdate,s=l.lastBaseUpdate,f=l.shared.pending;if(f!==null){l.shared.pending=null;var h=f,p=h.next;h.next=null,s===null?i=p:s.next=p,s=h;var x=e.alternate;x!==null&&(x=x.updateQueue,f=x.lastBaseUpdate,f!==s&&(f===null?x.firstBaseUpdate=p:f.next=p,x.lastBaseUpdate=h))}if(i!==null){var E=l.baseState;s=0,x=p=h=null,f=i;do{var v=f.lane&-536870913,S=v!==f.lane;if(S?(W&v)===v:(n&v)===v){v!==0&&v===sn&&(hs=!0),x!==null&&(x=x.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});e:{var D=e,H=f;v=t;var J=a;switch(H.tag){case 1:if(D=H.payload,typeof D=="function"){E=D.call(J,E,v);break e}E=D;break e;case 3:D.flags=D.flags&-65537|128;case 0:if(D=H.payload,v=typeof D=="function"?D.call(J,E,v):D,v==null)break e;E=X({},E,v);break e;case 2:Ea=!0}}v=f.callback,v!==null&&(e.flags|=64,S&&(e.flags|=8192),S=l.callbacks,S===null?l.callbacks=[v]:S.push(v))}else S={lane:v,tag:f.tag,payload:f.payload,callback:f.callback,next:null},x===null?(p=x=S,h=E):x=x.next=S,s|=v;if(f=f.next,f===null){if(f=l.shared.pending,f===null)break;S=f,f=S.next,S.next=null,l.lastBaseUpdate=S,l.shared.pending=null}}while(!0);x===null&&(h=E),l.baseState=h,l.firstBaseUpdate=p,l.lastBaseUpdate=x,i===null&&(l.shared.lanes=0),Ma|=s,e.lanes=s,e.memoizedState=E}}function id(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function ud(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)id(a[e],t)}var Ca=Mt(null),mu=Mt(0);function od(e,t){e=sa,me(mu,e),me(Ca,t),sa=e|t.baseLanes}function gs(){me(mu,sa),me(Ca,Ca.current)}function ms(){sa=mu.current,He(Ca),He(mu)}var Ve=Mt(null),Ze=null;function Oa(e){var t=e.alternate;me(Ye,Ye.current&1),me(Ve,e),Ze===null&&(t===null||Ca.current!==null||t.memoizedState!==null)&&(Ze=e)}function vs(e){me(Ye,Ye.current),me(Ve,e),Ze===null&&(Ze=e)}function sd(e){e.tag===22?(me(Ye,Ye.current),me(Ve,e),Ze===null&&(Ze=e)):za()}function za(){me(Ye,Ye.current),me(Ve,Ve.current)}function ct(e){He(Ve),Ze===e&&(Ze=null),He(Ye)}var Ye=Mt(0);function Wl(e,t){me(Ve,Ve.current),me(Ye,t)}function ys(e){He(Ye),He(Ve),Ze===e&&(Ze=null)}function vu(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Bc(a)||Gc(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)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 la=0,k=null,de=null,Ce=null,yu=!1,In=!1,hn=!1,pu=0,ei=0,Fn=null,fy=0;function Te(){throw Error(r(321))}function ps(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!st(e[a],t[a]))return!1;return!0}function bs(e,t,a,n,l,i){return la=i,k=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Q.H=e===null||e.memoizedState===null?Zd:kd,hn=!1,i=a(n,l),hn=!1,In&&(i=rd(t,a,n,l)),cd(e),i}function cd(e){Q.H=Nu;var t=de!==null&&de.next!==null;if(la=0,Ce=de=k=null,yu=!1,ei=0,Fn=null,t)throw Error(r(300));e===null||Oe||(e=e.dependencies,e!==null&&su(e)&&(Oe=!0))}function rd(e,t,a,n){k=e;var l=0;do{if(In&&(Fn=null),ei=0,In=!1,25<=l)throw Error(r(301));if(l+=1,Ce=de=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}Q.H=by,i=t(a,n)}while(In);return i}function dy(){var e=Q.H,t=e.useState()[0];return t=typeof t.then=="function"?ti(t):t,e=e.useState()[0],(de!==null?de.memoizedState:null)!==e&&(k.flags|=1024),t}function Ss(){var e=pu!==0;return pu=0,e}function xs(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function _s(e){if(yu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}yu=!1}la=0,Ce=de=k=null,In=!1,ei=pu=0,Fn=null}function Je(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ce===null?k.memoizedState=Ce=e:Ce=Ce.next=e,Ce}function Ne(){if(de===null){var e=k.alternate;e=e!==null?e.memoizedState:null}else e=de.next;var t=Ce===null?k.memoizedState:Ce.next;if(t!==null)Ce=t,de=e;else{if(e===null)throw k.alternate===null?Error(r(467)):Error(r(310));de=e,e={memoizedState:de.memoizedState,baseState:de.baseState,baseQueue:de.baseQueue,queue:de.queue,next:null},Ce===null?k.memoizedState=Ce=e:Ce=Ce.next=e}return Ce}function bu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ti(e){var t=ei;return ei+=1,Fn===null&&(Fn=[]),e=ed(Fn,e,t),t=k,(Ce===null?t.memoizedState:Ce.next)===null&&(t=t.alternate,Q.H=t===null||t.memoizedState===null?Zd:kd),e}function Su(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ti(e);if(e.$$typeof===On)return;if(e.$$typeof===Fe)return Ge(e)}throw Error(r(438,String(e)))}function Ts(e){var t=null,a=k.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=k.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=bu(),k.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=Al;return t.index++,a}function ia(e,t){return typeof t=="function"?t(e):t}function xu(e){var t=Ne();return Es(t,de,e)}function Es(e,t,a){var n=e.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=a;var l=e.baseQueue,i=n.pending;if(i!==null){if(l!==null){var s=l.next;l.next=i.next,i.next=s}t.baseQueue=l=i,n.pending=null}if(i=e.baseState,l===null)e.memoizedState=i;else{t=l.next;var f=s=null,h=null,p=t,x=!1;do{var E=p.lane&-536870913;if(E!==p.lane?(W&E)===E:(la&E)===E){var v=p.revertLane;if(v===0)h!==null&&(h=h.next={lane:0,revertLane:0,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),E===sn&&(x=!0);else if((la&v)===v){p=p.next,v===sn&&(x=!0);continue}else E={lane:0,revertLane:p.revertLane,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},h===null?(f=h=E,s=i):h=h.next=E,k.lanes|=v,Ma|=v;E=p.action,hn&&a(i,E),i=p.hasEagerState?p.eagerState:a(i,E)}else v={lane:E,revertLane:p.revertLane,gesture:p.gesture,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},h===null?(f=h=v,s=i):h=h.next=v,k.lanes|=E,Ma|=E;p=p.next}while(p!==null&&p!==t);if(h===null?s=i:h.next=f,!st(i,e.memoizedState)&&(Oe=!0,x&&(a=Jn,a!==null)))throw a;e.memoizedState=i,e.baseState=s,e.baseQueue=h,n.lastRenderedState=i}return l===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Ns(e){var t=Ne(),a=t.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var n=a.dispatch,l=a.pending,i=t.memoizedState;if(l!==null){a.pending=null;var s=l=l.next;do i=e(i,s.action),s=s.next;while(s!==l);st(i,t.memoizedState)||(Oe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),a.lastRenderedState=i}return[i,n]}function fd(e,t,a){var n=k,l=Ne(),i=I;if(i){if(a===void 0)throw Error(r(407));a=a()}else a=t();var s=!st((de||l).memoizedState,a);if(s&&(l.memoizedState=a,Oe=!0),l=l.queue,Os(gd.bind(null,n,l,e),[e]),e=l.getSnapshot!==t||s||Ce!==null&&(Ce.memoizedState.tag&1)!==0,Pn(e?9:8,{destroy:void 0},hd.bind(null,n,l,a,t),null),e){if(n.flags|=2048,ge===null)throw Error(r(349));i||(la&127)!==0||dd(n,t,a)}return a}function dd(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=k.updateQueue,t===null?(t=bu(),k.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function hd(e,t,a,n){t.value=a,t.getSnapshot=n,md(t)&&vd(e)}function gd(e,t,a){return a(function(){md(t)&&vd(e)})}function md(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!st(e,a)}catch{return!0}}function vd(e){var t=tn(e,2);t!==null&&nt(t,e,2)}function As(e){var t=Je();if(typeof e=="function"){var a=e;if(e=a(),hn){va(!0);try{a()}finally{va(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:e},t}function yd(e,t,a,n){return e.baseState=a,Es(e,de,typeof n=="function"?n:ia)}function hy(e,t,a,n,l){if(Eu(e))throw Error(r(485));if(e=t.action,e!==null){var i={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){i.listeners.push(s)}};Q.T!==null?a(!0):i.isTransition=!1,n(i),a=t.pending,a===null?(i.next=t.pending=i,pd(t,i)):(i.next=a.next,t.pending=a.next=i)}}function pd(e,t){var a=t.action,n=t.payload,l=e.state;if(t.isTransition){var i=Q.T,s={};s.types=i!==null?i.types:null,Q.T=s;try{var f=a(l,n),h=Q.S;h!==null&&h(s,f),bd(e,t,f)}catch(p){Cs(e,t,p)}finally{i!==null&&s.types!==null&&(i.types=s.types),Q.T=i}}else try{i=a(l,n),bd(e,t,i)}catch(p){Cs(e,t,p)}}function bd(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){Sd(e,t,n)},function(n){return Cs(e,t,n)}):Sd(e,t,a)}function Sd(e,t,a){t.status="fulfilled",t.value=a,xd(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,pd(e,a)))}function Cs(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,xd(t),t=t.next;while(t!==n)}e.action=null}function xd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function _d(e,t){return t}function Td(e,t){if(I){var a=ge.formState;if(a!==null){e:{var n=k;if(I){if(ve){t:{for(var l=ve,i=St;l.nodeType!==8;){if(!i){l=null;break t}if(l=_t(l.nextSibling),l===null){l=null;break t}}i=l.data,l=i==="F!"||i==="F"?l:null}if(l){ve=_t(l.nextSibling),n=l.data==="F!";break e}}xa(n)}n=!1}n&&(t=a[0])}}return a=Je(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_d,lastRenderedState:t},a.queue=n,a=Yd.bind(null,k,n),n.dispatch=a,n=As(!1),i=Ms.bind(null,k,!1,n.queue),n=Je(),l={state:t,dispatch:null,action:e,pending:null},n.queue=l,a=hy.bind(null,k,l,i,a),l.dispatch=a,n.memoizedState=e,[t,a,!1]}function Ed(e){var t=Ne();return Nd(t,de,e)}function Nd(e,t,a){if(t=Es(e,t,_d)[0],e=xu(ia)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=ti(t)}catch(s){throw s===Kn?fu:s}else n=t;t=Ne();var l=t.queue,i=l.dispatch;return a!==t.memoizedState&&(k.flags|=2048,Pn(9,{destroy:void 0},gy.bind(null,l,a),null)),[n,i,e]}function gy(e,t){e.action=t}function Ad(e){var t=Ne(),a=de;if(a!==null)return Nd(t,a,e);Ne(),t=t.memoizedState,a=Ne();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function Pn(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=k.updateQueue,t===null&&(t=bu(),k.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function Cd(){return Ne().memoizedState}function _u(e,t,a,n){var l=Je();k.flags|=e,l.memoizedState=Pn(1|t,{destroy:void 0},a,n===void 0?null:n)}function Tu(e,t,a,n){var l=Ne();n=n===void 0?null:n;var i=l.memoizedState.inst;de!==null&&n!==null&&ps(n,de.memoizedState.deps)?l.memoizedState=Pn(t,i,a,n):(k.flags|=e,l.memoizedState=Pn(1|t,i,a,n))}function Od(e,t){_u(8390656,8,e,t)}function Os(e,t){Tu(2048,8,e,t)}function my(e){k.flags|=4;var t=k.updateQueue;if(t===null)t=bu(),k.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function zd(e){var t=Ne().memoizedState;return my({ref:t,nextImpl:e}),function(){if((ie&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Dd(e,t){return Tu(4,2,e,t)}function wd(e,t){return Tu(4,4,e,t)}function jd(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Md(e,t,a){a=a!=null?a.concat([e]):null,Tu(4,4,jd.bind(null,t,e),a)}function zs(){}function Rd(e,t){var a=Ne();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&&ps(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function Ud(e,t){var a=Ne();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&ps(t,n[1]))return n[0];if(n=e(),hn){va(!0);try{e()}finally{va(!1)}}return a.memoizedState=[n,t],n}function Ds(e,t,a){return a===void 0||(la&1073741824)!==0&&(W&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Zh(),k.lanes|=e,Ma|=e,a)}function qd(e,t,a,n){return st(a,t)?a:Ca.current!==null?(e=Ds(e,a,n),st(e,t)||(Oe=!0),e):(la&106)===0||(la&1073741824)!==0&&(W&261930)===0?(Oe=!0,e.memoizedState=a):(e=Zh(),k.lanes|=e,Ma|=e,t)}function Ld(e,t,a,n,l){var i=le.p;le.p=i!==0&&8>i?i:8;var s=Q.T,f={};f.types=s!==null?s.types:null,Q.T=f,Ms(e,!1,t,a);try{var h=l(),p=Q.S;if(p!==null&&p(f,h),h!==null&&typeof h=="object"&&typeof h.then=="function"){var x=ry(h,n);ai(e,t,x,ht(e))}else ai(e,t,n,ht(e))}catch(E){ai(e,t,{then:function(){},status:"rejected",reason:E},ht())}finally{le.p=i,s!==null&&f.types!==null&&(s.types=f.types),Q.T=s}}function vy(){}function ws(e,t,a,n){if(e.tag!==5)throw Error(r(476));var l=Hd(e).queue;Ld(e,l,t,$a,a===null?vy:function(){return Bd(e),a(n)})}function Hd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:$a,baseState:$a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:$a},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Bd(e){var t=Hd(e);t.next===null&&(t=e.alternate.memoizedState),ai(e,t.next.queue,{},ht())}function js(){return Ge(yl)}function Gd(){return Ne().memoizedState}function Vd(){return Ne().memoizedState}function yy(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=ht();e=Na(a);var n=Aa(t,e,a);n!==null&&(nt(n,t,a),Il(n,t,a)),t={cache:us()},e.payload=t;return}t=t.return}}function py(e,t,a){var n=ht();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Eu(e)?Qd(t,a):(a=Fo(e,t,a,n),a!==null&&(nt(a,e,n),Xd(a,t,n)))}function Yd(e,t,a){var n=ht();ai(e,t,a,n)}function ai(e,t,a,n){var l={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Eu(e))Qd(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,f=i(s,a);if(l.hasEagerState=!0,l.eagerState=f,st(f,s))return tu(e,t,l,0),ge===null&&eu(),!1}catch{}finally{}if(a=Fo(e,t,l,n),a!==null)return nt(a,e,n),Xd(a,t,n),!0}return!1}function Ms(e,t,a,n){if(n={lane:2,revertLane:Tc(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Eu(e)){if(t)throw Error(r(479))}else t=Fo(e,a,n,2),t!==null&&nt(t,e,2)}function Eu(e){var t=e.alternate;return e===k||t!==null&&t===k}function Qd(e,t){In=yu=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Xd(e,t,a){if((a&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,Xr(e,a)}}var Nu={readContext:Ge,use:Su,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useLayoutEffect:Te,useInsertionEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useSyncExternalStore:Te,useId:Te,useHostTransitionStatus:Te,useFormState:Te,useActionState:Te,useOptimistic:Te,useMemoCache:Te,useCacheRefresh:Te,useEffectEvent:Te},Zd={readContext:Ge,use:Su,useCallback:function(e,t){return Je().memoizedState=[e,t===void 0?null:t],e},useContext:Ge,useEffect:Od,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,_u(4194308,4,jd.bind(null,t,e),a)},useLayoutEffect:function(e,t){return _u(4194308,4,e,t)},useInsertionEffect:function(e,t){_u(4,2,e,t)},useMemo:function(e,t){var a=Je();t=t===void 0?null:t;var n=e();if(hn){va(!0);try{e()}finally{va(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=Je();if(a!==void 0){var l=a(t);if(hn){va(!0);try{a(t)}finally{va(!1)}}}else l=t;return n.memoizedState=n.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},n.queue=e,e=e.dispatch=py.bind(null,k,e),[n.memoizedState,e]},useRef:function(e){var t=Je();return e={current:e},t.memoizedState=e},useState:function(e){e=As(e);var t=e.queue,a=Yd.bind(null,k,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:zs,useDeferredValue:function(e,t){var a=Je();return Ds(a,e,t)},useTransition:function(){var e=As(!1);return e=Ld.bind(null,k,e.queue,!0,!1),Je().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=k,l=Je();if(I){if(a===void 0)throw Error(r(407));a=a()}else{if(a=t(),ge===null)throw Error(r(349));(W&127)!==0||dd(n,t,a)}l.memoizedState=a;var i={value:a,getSnapshot:t};return l.queue=i,Od(gd.bind(null,n,i,e),[e]),n.flags|=2048,Pn(9,{destroy:void 0},hd.bind(null,n,i,a,t),null),a},useId:function(){var e=Je(),t=ge.identifierPrefix;if(I){var a=Lt,n=qt;a=(n&~(1<<32-ut(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=pu++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=fy++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:js,useFormState:Td,useActionState:Td,useOptimistic:function(e){var t=Je();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Ms.bind(null,k,!0,a),a.dispatch=t,[e,t]},useMemoCache:Ts,useCacheRefresh:function(){return Je().memoizedState=yy.bind(null,k)},useEffectEvent:function(e){var t=Je(),a={impl:e};return t.memoizedState=a,function(){if((ie&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},kd={readContext:Ge,use:Su,useCallback:Rd,useContext:Ge,useEffect:Os,useImperativeHandle:Md,useInsertionEffect:Dd,useLayoutEffect:wd,useMemo:Ud,useReducer:xu,useRef:Cd,useState:function(){return xu(ia)},useDebugValue:zs,useDeferredValue:function(e,t){var a=Ne();return qd(a,de.memoizedState,e,t)},useTransition:function(){var e=xu(ia)[0],t=Ne().memoizedState;return[typeof e=="boolean"?e:ti(e),t]},useSyncExternalStore:fd,useId:Gd,useHostTransitionStatus:js,useFormState:Ed,useActionState:Ed,useOptimistic:function(e,t){var a=Ne();return yd(a,de,e,t)},useMemoCache:Ts,useCacheRefresh:Vd,useEffectEvent:zd},by={readContext:Ge,use:Su,useCallback:Rd,useContext:Ge,useEffect:Os,useImperativeHandle:Md,useInsertionEffect:Dd,useLayoutEffect:wd,useMemo:Ud,useReducer:Ns,useRef:Cd,useState:function(){return Ns(ia)},useDebugValue:zs,useDeferredValue:function(e,t){var a=Ne();return de===null?Ds(a,e,t):qd(a,de.memoizedState,e,t)},useTransition:function(){var e=Ns(ia)[0],t=Ne().memoizedState;return[typeof e=="boolean"?e:ti(e),t]},useSyncExternalStore:fd,useId:Gd,useHostTransitionStatus:js,useFormState:Ad,useActionState:Ad,useOptimistic:function(e,t){var a=Ne();return de!==null?yd(a,de,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Ts,useCacheRefresh:Vd,useEffectEvent:zd};function Rs(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:X({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Us={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=ht(),l=Na(n);l.payload=t,a!=null&&(l.callback=a),t=Aa(e,l,n),t!==null&&(nt(t,e,n),Il(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=ht(),l=Na(n);l.tag=1,l.payload=t,a!=null&&(l.callback=a),t=Aa(e,l,n),t!==null&&(nt(t,e,n),Il(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=ht(),n=Na(a);n.tag=2,t!=null&&(n.callback=t),t=Aa(e,n,a),t!==null&&(nt(t,e,a),Il(t,e,a))}};function Jd(e,t,a,n,l,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,s):t.prototype&&t.prototype.isPureReactComponent?!Yl(a,n)||!Yl(l,i):!0}function Kd(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&&Us.enqueueReplaceState(t,t.state,null)}function gn(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=X({},a));for(var l in e)a[l]===void 0&&(a[l]=e[l])}return a}function $d(e){Wi(e)}function Id(e){console.error(e)}function Fd(e){Wi(e)}function Au(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Pd(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function qs(e,t,a){return a=Na(a),a.tag=3,a.payload={element:null},a.callback=function(){Au(e,t)},a}function Wd(e){return e=Na(e),e.tag=3,e}function eh(e,t,a,n){var l=a.type.getDerivedStateFromError;if(typeof l=="function"){var i=n.value;e.payload=function(){return l(i)},e.callback=function(){Pd(t,a,n)}}var s=a.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){Pd(t,a,n),typeof l!="function"&&(Ra===null?Ra=new Set([this]):Ra.add(this));var f=n.stack;this.componentDidCatch(n.value,{componentStack:f!==null?f:""})})}function Sy(e,t,a,n,l){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=a.alternate,t!==null&&un(t,a,l,!0),a=Ve.current,a!==null){switch(a.tag){case 31:case 13:case 19:return Ze===null?Ju():a.alternate===null&&Ee===0&&(Ee=3),a.flags&=-257,a.flags|=65536,a.lanes=l,n===du?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),Sc(e,n,l)),!1;case 22:return a.flags|=65536,n===du?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),Sc(e,n,l)),!1}throw Error(r(435,a.tag))}return Sc(e,n,l),Ju(),!1}if(I)return t=Ve.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,n!==as&&(e=Error(r(422),{cause:n}),Zl(yt(e,a)))):(n!==as&&(t=Error(r(423),{cause:n}),Zl(yt(t,a))),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,n=yt(n,a),l=qs(e.stateNode,n,l),ds(e,l),Ee!==4&&(Ee=2)),!1;var i=Error(r(520),{cause:n});if(i=yt(i,a),ri===null?ri=[i]:ri.push(i),Ee!==4&&(Ee=2),t===null)return!0;n=yt(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=l&-l,a.lanes|=e,e=qs(a.stateNode,n,e),ds(a,e),!1;case 1:if(t=a.type,i=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Ra===null||!Ra.has(i))))return a.flags|=65536,l&=-l,a.lanes|=l,l=Wd(l),eh(l,e,a,n),ds(a,l),!1;break;case 22:if(a.memoizedState!==null)return a.flags|=65536,!1}a=a.return}while(a!==null);return!1}var Ls=Error(r(461)),Oe=!1;function je(e,t,a,n){t.child=e===null?ld(t,null,a,n):dn(t,e.child,a,n)}function th(e,t,a,n,l){a=a.render;var i=t.ref;if("ref"in n){var s={};for(var f in n)f!=="ref"&&(s[f]=n[f])}else s=n;return on(t),n=bs(e,t,a,s,i,l),f=Ss(),e!==null&&!Oe?(xs(e,t,l),ua(e,t,l)):(I&&f&&iu(t),t.flags|=1,je(e,t,n,l),t.child)}function ah(e,t,a,n,l){if(e===null){var i=a.type;return typeof i=="function"&&!Po(i)&&i.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=i,nh(e,t,i,n,l)):(e=nu(a.type,null,n,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!Zs(e,l)){var s=i.memoizedProps;if(a=a.compare,a=a!==null?a:Yl,a(s,n)&&e.ref===t.ref)return ua(e,t,l)}return t.flags|=1,e=ea(i,n),e.ref=t.ref,e.return=t,t.child=e}function nh(e,t,a,n,l){if(e!==null){var i=e.memoizedProps;if(Yl(i,n)&&e.ref===t.ref)if(Oe=!1,t.pendingProps=n=i,Zs(e,l))(e.flags&131072)!==0&&(Oe=!0);else return t.lanes=e.lanes,ua(e,t,l)}return Hs(e,t,a,n,l)}function lh(e,t,a,n){var l=n.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|a:a,e!==null){for(n=t.child=e.child,l=0;n!==null;)l=l|n.lanes|n.childLanes,n=n.sibling;n=l&~i}else n=0,t.child=null;return ih(e,t,i,a,n)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ru(t,i!==null?i.cachePool:null),i!==null?od(t,i):gs(),sd(t);else return n=t.lanes=536870912,ih(e,t,i!==null?i.baseLanes|a:a,a,n)}else i!==null?(ru(t,i.cachePool),od(t,i),za(),t.memoizedState=null):(e!==null&&ru(t,null),gs(),za());return je(e,t,l,a),t.child}function ni(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ih(e,t,a,n,l){var i=ss();return i=i===null?null:{parent:Ae._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&&ru(t,null),gs(),sd(t),e!==null&&un(e,t,n,!0),t.childLanes=l,null}function Cu(e,t){return t=Ou({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function uh(e,t,a){return dn(t,e.child,null,a),e=Cu(t,t.pendingProps),e.flags|=2,ct(t),t.memoizedState=null,e}function xy(e,t,a){var n=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(I){if(n.mode==="hidden")return e=Cu(t,n),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},ni(null,e);if(vs(t),(e=ve)?(e=jg(e,St),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ba!==null?{id:qt,overflow:Lt}:null,retryLane:536870912,hydrationErrors:null},a=Qf(e),a.return=t,t.child=a,Ue=t,ve=null)):e=null,e===null)throw xa(t);return t.lanes=536870912,null}return Cu(t,n)}var i=e.memoizedState;if(i!==null){var s=i.dehydrated;if(vs(t),l)if(t.flags&256)t.flags&=-257,t=uh(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(Oe||un(e,t,a,!1),l=(a&e.childLanes)!==0,Oe||l){if(Ca.current===null){if(n=ge,n!==null&&(s=Zr(n,a),s!==0&&s!==i.retryLane))throw i.retryLane=s,tn(e,s),nt(n,e,s),Ls;Ju()}t=uh(e,t,a)}else e=i.treeContext,ve=_t(s.nextSibling),Ue=t,I=!0,Sa=null,St=!1,e!==null&&kf(t,e),t=Cu(t,n),t.flags|=134221824;return t}return e=ea(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Wn(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Hs(e,t,a,n,l){return on(t),a=bs(e,t,a,n,void 0,l),n=Ss(),e!==null&&!Oe?(xs(e,t,l),ua(e,t,l)):(I&&n&&iu(t),t.flags|=1,je(e,t,a,l),t.child)}function oh(e,t,a,n,l,i){return on(t),t.updateQueue=null,a=rd(t,n,a,l),cd(e),n=Ss(),e!==null&&!Oe?(xs(e,t,i),ua(e,t,i)):(I&&n&&iu(t),t.flags|=1,je(e,t,a,i),t.child)}function sh(e,t,a,n,l){if(on(t),t.stateNode===null){var i=Qn,s=a.contextType;typeof s=="object"&&s!==null&&(i=Ge(s)),i=new a(n,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Us,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},rs(t),s=a.contextType,i.context=typeof s=="object"&&s!==null?Ge(s):Qn,i.state=t.memoizedState,s=a.getDerivedStateFromProps,typeof s=="function"&&(Rs(t,a,s,n),i.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(s=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),s!==i.state&&Us.enqueueReplaceState(i,i.state,null),Pl(t,n,i,l),Fl(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var f=t.memoizedProps,h=gn(a,f);i.props=h;var p=i.context,x=a.contextType;s=Qn,typeof x=="object"&&x!==null&&(s=Ge(x));var E=a.getDerivedStateFromProps;x=typeof E=="function"||typeof i.getSnapshotBeforeUpdate=="function",f=t.pendingProps!==f,x||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(f||p!==s)&&Kd(t,i,n,s),Ea=!1;var v=t.memoizedState;i.state=v,Pl(t,n,i,l),Fl(),p=t.memoizedState,f||v!==p||Ea?(typeof E=="function"&&(Rs(t,a,E,n),p=t.memoizedState),(h=Ea||Jd(t,a,h,n,v,p,s))?(x||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=p),i.props=n,i.state=p,i.context=s,n=h):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,fs(e,t),s=t.memoizedProps,x=gn(a,s),i.props=x,E=t.pendingProps,v=i.context,p=a.contextType,h=Qn,typeof p=="object"&&p!==null&&(h=Ge(p)),f=a.getDerivedStateFromProps,(p=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==E||v!==h)&&Kd(t,i,n,h),Ea=!1,v=t.memoizedState,i.state=v,Pl(t,n,i,l),Fl();var S=t.memoizedState;s!==E||v!==S||Ea||e!==null&&e.dependencies!==null&&su(e.dependencies)?(typeof f=="function"&&(Rs(t,a,f,n),S=t.memoizedState),(x=Ea||Jd(t,a,x,n,v,S,h)||e!==null&&e.dependencies!==null&&su(e.dependencies))?(p||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,S,h),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,S,h)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=S),i.props=n,i.state=S,i.context=h,n=x):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,Wn(e,t),n=(t.flags&128)!==0,i||n?(i=t.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&n?(t.child=dn(t,e.child,null,l),t.child=dn(t,null,a,l)):je(e,t,a,l),t.memoizedState=i.state,e=t.child):e=ua(e,t,l),e}function ch(e,t,a,n){return nn(),t.flags|=256,je(e,t,a,n),t.child}var Bs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Gs(e){return{baseLanes:e,cachePool:Pf()}}function Vs(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=dt),e}function rh(e,t,a){var n=t.pendingProps,l=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(Ye.current&2)!==0),s&&(l=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(I){if(l?Oa(t):za(),(e=ve)?(e=jg(e,St),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ba!==null?{id:qt,overflow:Lt}:null,retryLane:536870912,hydrationErrors:null},a=Qf(e),a.return=t,t.child=a,Ue=t,ve=null)):e=null,e===null)throw xa(t);return Gc(e)?t.lanes=32:t.lanes=536870912,null}return i=n.children,n=n.fallback,l?(za(),l=t.mode,i=Ou({mode:"hidden",children:i},l),n=an(n,l,a,null),i.return=t,n.return=t,i.sibling=n,t.child=i,n=t.child,n.memoizedState=Gs(a),n.childLanes=Vs(e,s,a),t.memoizedState=Bs,ni(null,n)):(Oa(t),Ys(t,i))}var f=e.memoizedState;if(f!==null){var h=f.dehydrated;if(h!==null)return _y(e,t,i,s,n,h,f,a)}return l?(za(),l=n.fallback,i=t.mode,f=e.child,h=f.sibling,n=ea(f,{mode:"hidden",children:n.children}),n.subtreeFlags=f.subtreeFlags&1206910976,h!==null?l=ea(h,l):(l=an(l,i,a,null),l.flags|=2),l.return=t,n.return=t,n.sibling=l,t.child=n,ni(null,n),n=t.child,l=e.child.memoizedState,l===null?l=Gs(a):(i=l.cachePool,i!==null?(f=Ae._currentValue,i=i.parent!==f?{parent:f,pool:f}:i):i=Pf(),l={baseLanes:l.baseLanes|a,cachePool:i}),n.memoizedState=l,n.childLanes=Vs(e,s,a),t.memoizedState=Bs,ni(e.child,n)):(Oa(t),a=e.child,e=a.sibling,a=ea(a,{mode:"visible",children:n.children}),a.return=t,a.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=a,t.memoizedState=null,a)}function Ys(e,t){return t=Ou({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ou(e,t){return e=We(22,e,null,t),e.lanes=0,e}function zu(e,t,a){return dn(t,e.child,null,a),e=Ys(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _y(e,t,a,n,l,i,s,f){if(a)return t.flags&256?(Oa(t),t.flags&=-257,zu(e,t,f)):t.memoizedState!==null?(za(),t.child=e.child,t.flags|=128,null):(za(),i=l.fallback,s=t.mode,l=Ou({mode:"visible",children:l.children},s),i=an(i,s,f,null),i.flags|=2,l.return=t,i.return=t,l.sibling=i,t.child=l,dn(t,e.child,null,f),l=t.child,l.memoizedState=Gs(f),l.childLanes=Vs(e,n,f),t.memoizedState=Bs,ni(null,l));if(Oa(t),Gc(i)){if(n=i.nextSibling&&i.nextSibling.dataset,n)var h=n.dgst;return n=h,n!==""&&(l=Error(r(419)),l.stack="",l.digest=n,Zl({value:l,source:null,stack:null})),zu(e,t,f)}if(Oe||un(e,t,f,!1),n=(f&e.childLanes)!==0,Oe||n){if(Ca.current!==null)return zu(e,t,f);if(n=ge,n!==null&&(l=Zr(n,f),l!==0&&l!==s.retryLane))throw s.retryLane=l,tn(e,l),nt(n,e,l),Ls;return Bc(i)||Ju(),zu(e,t,f)}return Bc(i)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,ve=_t(i.nextSibling),Ue=t,I=!0,Sa=null,St=!1,e!==null&&kf(t,e),t=Ys(t,l.children),t.flags|=134221824,t)}function fh(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),ou(e.return,t,a)}function dh(e){for(var t=null;e!==null;){var a=e.alternate;a!==null&&vu(a)===null&&(t=e),e=e.sibling}return t}function Du(e,t,a,n,l,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:l,treeForkCount:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=a,s.tailMode=l,s.treeForkCount=i)}function Qs(e){var t=e.child;for(e.child=null;t!==null;){var a=t.sibling;t.sibling=e.child,e.child=t,t=a}}function Xs(e,t,a){var n=t.pendingProps,l=n.revealOrder,i=n.tail;n=n.children;var s=Ye.current;if(t.flags&128)return Wl(t,s),null;var f=(s&2)!==0;if(f?(s=s&1|2,t.flags|=128):s&=1,Wl(t,s),l==="backwards"&&e!==null?(Qs(e),je(e,t,n,a),Qs(e)):je(e,t,n,a),n=I?Xl:0,!f&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&fh(e,a,t);else if(e.tag===19)fh(e,a,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}switch(l){case"backwards":a=dh(t.child),a===null?(l=t.child,t.child=null):(l=a.sibling,a.sibling=null,Qs(t)),Du(t,!0,l,null,i,n);break;case"unstable_legacy-backwards":for(a=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&vu(e)===null){t.child=l;break}e=l.sibling,l.sibling=a,a=l,l=e}Du(t,!0,a,null,i,n);break;case"together":Du(t,!1,null,null,void 0,n);break;case"independent":t.memoizedState=null;break;default:a=dh(t.child),a===null?(l=t.child,t.child=null):(l=a.sibling,a.sibling=null),Du(t,!1,l,a,i,n)}return t.child}function hh(e,t,a){var n=t.pendingProps;return _a(t,t.type,n.value),je(e,t,n.children,a),t.child}function ua(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Ma|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(un(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,a=ea(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=ea(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Zs(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&su(e)))}function Ty(e,t,a){switch(t.tag){case 3:Ui(t,t.stateNode.containerInfo),_a(t,Ae,e.memoizedState.cache),nn();break;case 27:case 5:po(t);break;case 4:Ui(t,t.stateNode.containerInfo);break;case 10:_a(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,vs(t),null;break;case 13:var n=t.memoizedState;if(n!==null){if(n.dehydrated!==null)return Oa(t),t.flags|=128,null;n=un(e,t,a,!1);var l=t.child.childLanes;return n||(a&l)!==0?rh(e,t,a):(Oa(t),e=ua(e,t,a),e!==null?e.sibling:null)}Oa(t);break;case 19:if(t.flags&128)return Xs(e,t,a);if(l=(e.flags&128)!==0,n=(a&t.childLanes)!==0,n||(un(e,t,a,!1),n=(a&t.childLanes)!==0),l){if(n)return Xs(e,t,a);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Wl(t,Ye.current),n)break;return null;case 22:return t.lanes=0,lh(e,t,a,t.pendingProps);case 24:_a(t,Ae,e.memoizedState.cache)}return ua(e,t,a)}function gh(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Oe=!0;else{if(!Zs(e,a)&&(t.flags&128)===0)return Oe=!1,Ty(e,t,a);Oe=(e.flags&131072)!==0}else Oe=!1,I&&(t.flags&1048576)!==0&&Zf(t,Xl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=rn(t.elementType),t.type=e,typeof e=="function")Po(e)?(n=gn(e,n),t.tag=1,t=sh(null,t,e,n,a)):(t.tag=0,t=Hs(null,t,e,n,a));else{if(e!=null){var l=e.$$typeof;if(l===U){t.tag=11,t=th(null,t,e,n,a);break e}else if(l===pe){t.tag=14,t=ah(null,t,e,n,a);break e}else if(l===Fe){t.tag=10,t.type=e,t=hh(null,t,a);break e}}throw t=vo(e)||e,Error(r(306,t,""))}}return t;case 0:return Hs(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,l=gn(n,t.pendingProps),sh(e,t,n,l,a);case 3:e:{if(Ui(t,t.stateNode.containerInfo),e===null)throw Error(r(387));n=t.pendingProps;var i=t.memoizedState;l=i.element,fs(e,t),Pl(t,n,null,a);var s=t.memoizedState;if(n=s.cache,_a(t,Ae,n),n!==i.cache&&is(t,[Ae],a,!0),Fl(),n=s.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=ch(e,t,n,a);break e}else if(n!==l){l=yt(Error(r(424)),t),Zl(l),t=ch(e,t,n,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(ve=_t(e.firstChild),Ue=t,I=!0,Sa=null,St=!0,a=ld(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|134221824,a=a.sibling}else{if(nn(),n===l){t=ua(e,t,a);break e}je(e,t,n,a)}t=t.child}return t;case 26:return Wn(e,t),e===null?(a=Bg(t.type,null,t.pendingProps,null))?t.memoizedState=a:I||(t.stateNode=pg(t.type,t.pendingProps,ga.current,t)):t.memoizedState=Bg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return po(t),e===null&&I&&(n=t.stateNode=Ug(t.type,t.pendingProps,ga.current),Ue=t,St=!0,l=ve,La(t.type)?(Vc=l,ve=_t(n.firstChild)):ve=l),je(e,t,t.pendingProps.children,a),Wn(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&I&&((l=n=ve)&&(n=yp(n,t.type,t.pendingProps,St),n!==null?(t.stateNode=n,Ue=t,ve=_t(n.firstChild),St=!1,l=!0):l=!1),l||xa(t)),po(t),l=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,n=i.children,jc(l,i)?n=null:s!==null&&jc(l,s)&&(t.flags|=32),t.memoizedState!==null&&(l=bs(e,t,dy,null,null,a),yl._currentValue=l),Wn(e,t),je(e,t,n,a),t.child;case 6:return e===null&&I&&((e=a=ve)&&(a=pp(a,t.pendingProps,St),a!==null?(t.stateNode=a,Ue=t,ve=null,e=!0):e=!1),e||xa(t)),null;case 13:return rh(e,t,a);case 4:return Ui(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=dn(t,null,n,a):je(e,t,n,a),t.child;case 11:return th(e,t,t.type,t.pendingProps,a);case 7:return n=t.pendingProps,Wn(e,t),je(e,t,n,a),t.child;case 8:return je(e,t,t.pendingProps.children,a),t.child;case 12:return je(e,t,t.pendingProps.children,a),t.child;case 10:return hh(e,t,a);case 9:return l=t.type._context,n=t.pendingProps.children,on(t),l=Ge(l),n=n(l),t.flags|=1,je(e,t,n,a),t.child;case 14:return ah(e,t,t.type,t.pendingProps,a);case 15:return nh(e,t,t.type,t.pendingProps,a);case 19:return Xs(e,t,a);case 31:return xy(e,t,a);case 22:return lh(e,t,a,t.pendingProps);case 24:return on(t),n=Ge(Ae),e===null?(l=ss(),l===null&&(l=ge,i=us(),l.pooledCache=i,i.refCount++,i!==null&&(l.pooledCacheLanes|=a),l=i),t.memoizedState={parent:n,cache:l},rs(t),_a(t,Ae,l)):((e.lanes&a)!==0&&(fs(e,t),Pl(t,null,null,a),Fl()),l=e.memoizedState,i=t.memoizedState,l.parent!==n?(l={parent:n,cache:n},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),_a(t,Ae,n)):(n=i.cache,_a(t,Ae,n),n!==l.cache&&is(t,[Ae],a,!0))),je(e,t,t.pendingProps.children,a),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),n=t.pendingProps,n.name!=null&&n.name!=="auto"?t.flags|=e===null?18882560:18874368:I&&iu(t),e!==null&&e.memoizedProps.name!==n.name?t.flags|=4194816:Wn(e,t),je(e,t,n.children,a),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function oa(e){e.flags|=4}function ks(e,t,a,n,l){var i;if((i=(e.mode&32)!==0)&&(i=a===null?Qg(t,n):Qg(t,n)&&(n.src!==a.src||n.srcSet!==a.srcSet)),i){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if($h())e.flags|=8192;else throw fn=du,cs}else e.flags&=-16777217}function mh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Xg(t))if($h())e.flags|=8192;else throw fn=du,cs}function wu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Yr():536870912,e.lanes|=t,ll|=t)}function li(e,t){if(!I)switch(e.tailMode){case"visible":break;case"collapsed":for(var a=e.tail,n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null;break;default:for(t=e.tail,a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null}}function ye(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)for(var l=e.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags&1206910976,n|=l.flags&1206910976,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags,n|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function Ey(e,t,a){var n=t.pendingProps;switch(ts(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ye(t),null;case 1:return ye(t),null;case 3:return a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),na(Ae),Dn(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(kn(t)?oa(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ns())),ye(t),null;case 26:var l=t.type,i=t.memoizedState;return e===null?(oa(t),i!==null?(ye(t),mh(t,i)):(ye(t),ks(t,l,null,n,a))):i?i!==e.memoizedState?(oa(t),ye(t),mh(t,i)):(ye(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&oa(t),ye(t),ks(t,l,e,n,a)),null;case 27:if(qi(t),a=ga.current,l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&oa(t);else{if(!n){if(t.stateNode===null)throw Error(r(166));return ye(t),t.subtreeFlags&=-33554433,null}e=Rt.current,kn(t)?Jf(t):(e=Ug(l,n,a),t.stateNode=e,oa(t))}return ye(t),t.subtreeFlags&=-33554433,null;case 5:if(qi(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&oa(t);else{if(!n){if(t.stateNode===null)throw Error(r(166));return ye(t),t.subtreeFlags&=-33554433,null}if(i=Rt.current,kn(t))Jf(t);else{var s=mi(ga.current);switch(i){case 1:i=s.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:i=s.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":i=s.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":i=s.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":i=s.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?s.createElement("select",{is:n.is}):s.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?s.createElement(l,{is:n.is}):s.createElement(l)}}i[Be]=t,i[Pe]=n;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)i.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=i;e:switch(Xe(i,l,n),l){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&oa(t)}}return ye(t),t.subtreeFlags&=-33554433,ks(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&oa(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(r(166));if(e=ga.current,kn(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,l=Ue,l!==null)switch(l.tag){case 27:case 5:n=l.memoizedProps}e[Be]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||gg(e.nodeValue,a)),e||xa(t,!0)}else e=mi(e).createTextNode(n),e[Be]=t,t.stateNode=e}return ye(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=kn(t),a!==null){if(e===null){if(!n)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[Be]=t}else nn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ye(t),e=!1}else a=ns(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(ct(t),t):(ct(t),null);if((t.flags&128)!==0)throw Error(r(558))}return ye(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=kn(t),n!==null&&n.dehydrated!==null){if(e===null){if(!l)throw Error(r(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));l[Be]=t}else nn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ye(t),l=!1}else l=ns(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(ct(t),t):(ct(t),null)}return ct(t),(t.flags&128)!==0?(t.lanes=a,t):(a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,l=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(l=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==l&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),wu(t,t.updateQueue),ye(t),null);case 4:return Dn(),e===null&&Cc(t.stateNode.containerInfo),t.flags|=67108864,ye(t),null;case 10:return na(t.type),ye(t),null;case 19:if(ys(t),n=t.memoizedState,n===null)return ye(t),null;if(l=(t.flags&128)!==0,i=n.rendering,i===null)if(l)li(n,!1);else{if(Ee!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=vu(e),i!==null){for(t.flags|=128,li(n,!1),e=i.updateQueue,t.updateQueue=e,wu(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Yf(a,e),a=a.sibling;return Wl(t,Ye.current&1|2),I&&ta(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&<()>Qu&&(t.flags|=128,l=!0,li(n,!1),t.lanes=4194304)}else{if(!l)if(e=vu(i),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,wu(t,e),li(n,!0),n.tail===null&&n.tailMode!=="collapsed"&&n.tailMode!=="visible"&&!i.alternate&&!I)return ye(t),null}else 2*lt()-n.renderingStartTime>Qu&&a!==536870912&&(t.flags|=128,l=!0,li(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}if(n.tail!==null){e=n.tail;e:{for(a=e;a!==null;){if(a.alternate!==null){a=!1;break e}a=a.sibling}a=!0}return n.rendering=e,n.tail=e.sibling,n.renderingStartTime=lt(),e.sibling=null,i=Ye.current,i=l?i&1|2:i&1,n.tailMode==="visible"||n.tailMode==="collapsed"||!a||I?Wl(t,i):(a=i,me(Ve,t),me(Ye,a),Ze===null&&(Ze=t)),I&&ta(t,n.treeForkCount),e}return ye(t),null;case 22:case 23:return ct(t),ms(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(a&536870912)!==0&&(t.flags&128)===0&&(ye(t),t.subtreeFlags&6&&(t.flags|=8192)):ye(t),a=t.updateQueue,a!==null&&wu(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&He(cn),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),na(Ae),ye(t),null;case 25:return null;case 30:return t.flags|=33554432,ye(t),null}throw Error(r(156,t.tag))}function Ny(e,t){switch(ts(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return na(Ae),Dn(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return qi(t),null;case 31:if(t.memoizedState!==null){if(ct(t),t.alternate===null)throw Error(r(340));nn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(ct(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));nn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ys(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Dn(),null;case 10:return na(t.type),null;case 22:case 23:return ct(t),ms(),e!==null&&He(cn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return na(Ae),null;case 25:return null;default:return null}}function vh(e,t){switch(ts(t),t.tag){case 3:na(Ae),Dn();break;case 26:case 27:case 5:qi(t);break;case 4:Dn();break;case 31:t.memoizedState!==null&&ct(t);break;case 13:ct(t);break;case 19:ys(t);break;case 10:na(t.type);break;case 22:case 23:ct(t),ms(),e!==null&&He(cn);break;case 24:na(Ae)}}function ii(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var l=n.next;a=l;do{if((a.tag&e)===e){n=void 0;var i=a.create,s=a.inst;n=i(),s.destroy=n}a=a.next}while(a!==l)}}catch(f){re(t,t.return,f)}}function Da(e,t,a){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var i=l.next;n=i;do{if((n.tag&e)===e){var s=n.inst,f=s.destroy;if(f!==void 0){s.destroy=void 0,l=t;var h=a,p=f;try{p()}catch(x){re(l,h,x)}}}n=n.next}while(n!==i)}}catch(x){re(t,t.return,x)}}function yh(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{ud(t,a)}catch(n){re(e,e.return,n)}}}function ph(e,t,a){a.props=gn(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){re(e,t,n)}}function Ht(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:var l=e.stateNode,i=Pt(e.memoizedProps,l);(l.ref===null||l.ref.name!==i)&&(l.ref=Ng(i)),n=l.ref;break;case 7:if(e.stateNode===null){var s=new gt(e);j(e.child,!1,mp,s,void 0,void 0),e.stateNode=s}n=e.stateNode;break;default:n=e.stateNode}typeof a=="function"?e.refCleanup=a(n):a.current=n}}catch(f){re(e,t,f)}}function Qe(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(l){re(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(l){re(e,t,l)}else a.current=null}function ju(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var a=0;a<t.length;a++)wg(e.stateNode,t[a])}function bh(e){for(var t=e.return;t!==null&&(Ks(t)&&wg(e.stateNode,t.stateNode),!Js(t));)t=t.return}function ui(e){for(var t=e.return;t!==null&&(Ks(t)&&vp(e.stateNode,t.stateNode),!Js(t));)t=t.return}function Js(e){return e.tag===5||e.tag===3||e.tag===27}function Ks(e){return e&&e.tag===7&&e.stateNode!==null}function $s(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(l){re(e,e.return,l)}}function Is(e,t,a){try{var n=e.stateNode;Fy(n,e.type,a,t),n[Pe]=t}catch(l){re(e,e.return,l)}}function Sh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&La(e.type)||e.tag===4}function Fs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sh(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.tag===27&&La(e.type)||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 Ps(e,t,a,n){var l=e.tag;if(l===5||l===6)l=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(l,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(l),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Ut)),ju(e,n),ne=!0;else if(l!==4&&(l===27&&(ju(e,n),n=null,La(e.type)&&(a=e.stateNode,t=null)),e=e.child,e!==null))for(Ps(e,t,a,n),e=e.sibling;e!==null;)Ps(e,t,a,n),e=e.sibling}function Mu(e,t,a,n){var l=e.tag;if(l===5||l===6)l=e.stateNode,t?a.insertBefore(l,t):a.appendChild(l),ju(e,n),ne=!0;else if(l!==4&&(l===27&&(ju(e,n),n=null,La(e.type)&&(a=e.stateNode)),e=e.child,e!==null))for(Mu(e,t,a,n),e=e.sibling;e!==null;)Mu(e,t,a,n),e=e.sibling}function xh(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,l=t.attributes;l.length;)t.removeAttributeNode(l[0]);Xe(t,n,a),t[Be]=e,t[Pe]=a}catch(i){re(e,e.return,i)}}var Ru=!1,rt=null;function _h(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(Ru=!0)}var Bt=null;function Th(){var e=Bt;return Bt=null,e}var et=0;function el(e,t,a,n,l){return et=0,Eh(e.child,t,a,n,l)}function Eh(e,t,a,n,l){for(var i=!1;e!==null;){if(e.tag===5){var s=e.stateNode;if(n!==null){var f=Uc(s);n.push(f),f.view&&(i=!0)}else i||Uc(s).view&&(i=!0);Ru=!0,Tg(s,et===0?t:t+"_"+et,a),et++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&l||Eh(e.child,t,a,n,l)&&(i=!0));e=e.sibling}return i}function Gt(e,t){for(;e!==null;)e.tag===5?Eg(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||Gt(e.child,t)),e=e.sibling}function Uu(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(Uu(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(r(544));var a=t.name;t=Wt(t.default,t.share),t!=="none"&&(el(e,a,t,null,!1)||Gt(e.child,!1))}e=e.sibling}}function Ws(e,t){if(e.tag===30){var a=e.stateNode,n=e.memoizedProps,l=Pt(n,a),i=Wt(n.default,a.paired?n.share:n.enter);i!=="none"?el(e,l,i,null,!1)?(Uu(e),a.paired||t||sl(e,n.onEnter)):Gt(e.child,!1):Uu(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Ws(e,t),e=e.sibling;else Uu(e)}function ec(e){if(rt!==null&&rt.size!==0){var t=rt;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var a=e.memoizedProps,n=a.name;if(n!=null&&n!=="auto"){var l=t.get(n);if(l!==void 0){var i=Wt(a.default,a.share);if(i!=="none"&&(el(e,n,i,null,!1)?(i=e.stateNode,l.paired=i,i.paired=l,sl(e,a.onShare)):Gt(e.child,!1)),t.delete(n),t.size===0)break}}}ec(e)}e=e.sibling}}}function tc(e){if(e.tag===30){var t=e.memoizedProps,a=Pt(t,e.stateNode),n=rt!==null?rt.get(a):void 0,l=Wt(t.default,n!==void 0?t.share:t.exit);l!=="none"&&(el(e,a,l,null,!1)?n!==void 0?(l=e.stateNode,n.paired=l,l.paired=n,rt.delete(a),sl(e,t.onShare)):sl(e,t.onExit):Gt(e.child,!1)),rt!==null&&ec(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)tc(e),e=e.sibling;else rt!==null&&ec(e)}function Nh(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,a=Pt(t,e.stateNode);t=Wt(t.default,t.update),e.flags&=-5,t!=="none"&&el(e,a,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&Nh(e);e=e.sibling}}function ac(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,Gt(e.child,!1))}ac(e)}e=e.sibling}}function qu(e){if(e.tag===30)e.stateNode.paired=null,Gt(e.child,!1),ac(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)qu(e),e=e.sibling;else ac(e)}function Ah(e){for(e=e.child;e!==null;)e.tag===30?Gt(e.child,!1):(e.subtreeFlags&33554432)!==0&&Ah(e),e=e.sibling}function nc(e,t,a,n,l,i,s){for(var f=!1;t!==null;){if(t.tag===5){var h=t.stateNode;if(i!==null&&et<i.length){var p=i[et],x=Uc(h);(p.view||x.view)&&(f=!0);var E;if(E=(e.flags&4)===0)if(x.clip)E=!0;else{E=p.rect;var v=x.rect;E=E.y!==v.y||E.x!==v.x||E.height!==v.height||E.width!==v.width}E&&(e.flags|=4),x.abs?x=!p.abs:(p=p.rect,x=x.rect,x=p.height!==x.height||p.width!==x.width),x&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&Tg(h,et===0?a:a+"_"+et,l),f&&(e.flags&4)!==0||(Bt===null&&(Bt=[]),Bt.push(h,et===0?n:n+"_"+et,t.memoizedProps)),et++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&s?e.flags|=t.flags&32:nc(e,t.child,a,n,l,i,s)&&(f=!0));t=t.sibling}return f}function Ch(e,t){for(e=e.child;e!==null;){if(e.tag===30){var a=e.memoizedProps,n=e.stateNode,l=Pt(a,n),i=Wt(a.default,a.update),s;s=e.memoizedState,e.memoizedState=null,n=e;var f=e.child;et=0,l=nc(n,f,l,l,i,s,!1),(e.flags&4)!==0&&l&&sl(e,a.onUpdate)}else(e.subtreeFlags&33554432)!==0&&Ch(e);e=e.sibling}}var qe=!1,se=!1,Vt=!1,lc=!1,Oh=typeof WeakSet=="function"?WeakSet:Set,Le=null,Yt=!1,oi=!1,Lu=!1,ic=!1;function Ay(e,t,a){if(e=e.containerInfo,Dc=pl,e=jf(e),Zo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var i=l.anchorOffset,s=l.focusNode;l=l.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var f=0,h=-1,p=-1,x=0,E=0,v=e,S=null;t:for(;;){for(var D;v!==n||i!==0&&v.nodeType!==3||(h=f+i),v!==s||l!==0&&v.nodeType!==3||(p=f+l),v.nodeType===3&&(f+=v.nodeValue.length),(D=v.firstChild)!==null;)S=v,v=D;for(;;){if(v===e)break t;if(S===n&&++x===i&&(h=f),S===s&&++E===l&&(p=f),(D=v.nextSibling)!==null)break;v=S,S=v.parentNode}v=D}n=h===-1||p===-1?null:{start:h,end:p}}else n=null}n=n||{start:0,end:0}}else n=null;for(wc={focusedElem:e,selectionRange:n},pl=!1,a=(a&335544064)===a,Le=t,t=a?9270:1024;Le!==null;){if(e=Le,a&&(n=e.deletions,n!==null))for(i=0;i<n.length;i++)a&&tc(n[i]);if(e.alternate===null&&(e.flags&2)!==0)a&&_h(e),Hu(a);else{if(e.tag===22){if(n=e.alternate,e.memoizedState!==null){n!==null&&n.memoizedState===null&&a&&tc(n),Hu(a);continue}else if(n!==null&&n.memoizedState!==null){a&&_h(e),Hu(a);continue}}n=e.child,(e.subtreeFlags&t)!==0&&n!==null?(n.return=e,Le=n):(a&&Nh(e),Hu(a))}}rt=null}function Hu(e){for(;Le!==null;){var t=Le,a=e,n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((l&1024)!==0&&n!==null){a=void 0,l=n.memoizedProps,n=n.memoizedState;var i=t.stateNode;try{var s=gn(t.type,l);a=i.getSnapshotBeforeUpdate(s,n),i.__reactInternalSnapshotBeforeUpdate=a}catch(f){re(t,t.return,f)}}break;case 3:if((l&1024)!==0){if(n=t.stateNode.containerInfo,a=n.nodeType,a===9)Hc(n);else if(a===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Hc(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:a&&n!==null&&(a=Pt(n.memoizedProps,n.stateNode),l=t.memoizedProps,l=Wt(l.default,l.update),l!=="none"&&el(n,a,l,n.memoizedState=[],!0));break;default:if((l&1024)!==0)throw Error(r(163))}if(n=t.sibling,n!==null){n.return=t.return,Le=n;break}Le=t.return}}function zh(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:Qt(e,a),n&4&&ii(5,a);break;case 1:if(Qt(e,a),n&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(s){re(a,a.return,s)}else{var l=gn(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(l,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){re(a,a.return,s)}}n&64&&yh(a),n&512&&Ht(a,a.return);break;case 3:if(Qt(e,a),n&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{ud(e,t)}catch(s){re(a,a.return,s)}}break;case 27:t===null&&n&4&&xh(a);case 26:case 5:Qt(e,a),t===null&&n&4&&$s(a),n&512&&Ht(a,a.return);break;case 12:Qt(e,a);break;case 31:Qt(e,a),n&4&&Mh(e,a);break;case 13:Qt(e,a),n&4&&Rh(e,a),n&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=Hy.bind(null,a),bp(e,a))));break;case 22:if(n=a.memoizedState!==null||qe,!n){var i=t!==null&&t.memoizedState!==null||se;t=qe,l=se,qe=n,(se=i)&&!l?(n=2,(a.subtreeFlags&8772)!==0&&(n|=1),Ot(e,a,n)):Qt(e,a),qe=t,se=l}break;case 30:Qt(e,a),n&512&&Ht(a,a.return);break;case 7:n&512&&Ht(a,a.return);default:Qt(e,a)}}function uc(e,t){for(e=e.child;e!==null;)Dh(e,t),e=e.sibling}function Dh(e,t){switch(e.tag){case 5:case 26:try{var a=e.stateNode;if(t){var n=a.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}else{var l=e.stateNode,i=e.memoizedProps.style,s=i!=null&&i.hasOwnProperty("display")?i.display:null;l.style.display=s==null||typeof s=="boolean"?"":(""+s).trim()}}catch(h){re(e,e.return,h)}oc(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,ne=!0}catch(h){re(e,e.return,h)}break;case 18:try{var f=e.stateNode;t?_g(f,!0):_g(e.stateNode,!1)}catch(h){re(e,e.return,h)}break;case 22:case 23:e.memoizedState===null&&uc(e,t);break;default:uc(e,t)}}function oc(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var a=e,n=t;switch(a.tag){case 4:Dh(a,n);break e;case 22:a.memoizedState===null&&oc(a,n);break e;default:oc(a,n)}}e=e.sibling}}function wh(e){var t=e.alternate;t!==null&&(e.alternate=null,wh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Qi(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Se=null,tt=!1;function At(e,t,a){for(a=a.child;a!==null;)jh(e,t,a),a=a.sibling}function jh(e,t,a){if(it&&typeof it.onCommitFiberUnmount=="function")try{it.onCommitFiberUnmount(Dl,a)}catch{}switch(a.tag){case 26:se||Qe(a,t),At(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&!se&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:se||Qe(a,t),ui(a);var n=Se,l=tt;La(a.type)&&(Se=a.stateNode,tt=!1),At(e,t,a),qg(a.stateNode,a.type,a.memoizedProps),Se=n,tt=l;break;case 5:se||Qe(a,t),ui(a);case 6:if(a.tag===6&&ui(a),n=Se,l=tt,Se=null,At(e,t,a),Se=n,tt=l,Se!==null)if(tt)try{(Se.nodeType===9?Se.body:Se.nodeName==="HTML"?Se.ownerDocument.body:Se).removeChild(a.stateNode),ne=!0}catch(i){re(a,t,i)}else try{Se.removeChild(a.stateNode),ne=!0}catch(i){re(a,t,i)}break;case 18:Se!==null&&(tt?(e=Se,xg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),bl(e)):xg(Se,a.stateNode));break;case 4:n=Se,l=tt,Se=a.stateNode.containerInfo,tt=!0,At(e,t,a),Se=n,tt=l;break;case 0:case 11:case 14:case 15:Da(2,a,t),se||Da(4,a,t),At(e,t,a);break;case 1:se||(Qe(a,t),n=a.stateNode,typeof n.componentWillUnmount=="function"&&ph(a,t,n)),At(e,t,a);break;case 21:At(e,t,a);break;case 22:se=(n=se)||a.memoizedState!==null,At(e,t,a),se=n;break;case 30:Qe(a,t),At(e,t,a);break;case 7:se||Qe(a,t),At(e,t,a);break;default:At(e,t,a)}}function Mh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{bl(e)}catch(a){re(t,t.return,a)}}}function Rh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{bl(e)}catch(a){re(t,t.return,a)}}function Cy(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Oh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Oh),t;default:throw Error(r(435,e.tag))}}function Bu(e,t){var a=Cy(e);t.forEach(function(n){if(!a.has(n)){a.add(n);var l=By.bind(null,e,n);n.then(l,l)}})}function Ke(e,t,a){var n=t.deletions;if(n!==null)for(var l=0;l<n.length;l++){var i=n[l],s=e,f=t,h=f;e:for(;h!==null;){switch(h.tag){case 27:if(La(h.type)){Se=h.stateNode,tt=!1;break e}break;case 5:Se=h.stateNode,tt=!1;break e;case 3:case 4:Se=h.stateNode.containerInfo,tt=!0;break e}h=h.return}if(Se===null)throw Error(r(160));jh(s,f,i),Se=null,tt=!1,s=i.alternate,s!==null&&(s.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Uh(t,e,a),t=t.sibling}var Ct=null;function Uh(e,t,a){var n=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(l&4&&(n=e.updateQueue,n=n!==null?n.events:null,n!==null))for(var i=0;i<n.length;i++){var s=n[i];s.ref.impl=s.nextImpl}Ke(t,e,a),$e(e),l&4&&(Da(3,e,e.return),ii(3,e),Da(5,e,e.return));break;case 1:Ke(t,e,a),$e(e),l&512&&(se||n===null||Qe(n,n.return)),l&64&&qe&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?t:a.concat(t))));break;case 26:if(i=Ct,Ke(t,e,a),$e(e),l&512&&(se||n===null||Qe(n,n.return)),l&4)if(l=n!==null?n.memoizedState:null,a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null)if(qe)e.stateNode=pg(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,a=e.memoizedProps,l=i.ownerDocument||i;t:switch(t){case"title":n=l.getElementsByTagName("title")[0],(!n||n[Ml]||n[Be]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=l.createElement(t),l.head.insertBefore(n,l.querySelector("head > title"))),Xe(n,t,a),n[Be]=e,Re(n),t=n;break e;case"link":if(i=Yg("link","href",l).get(t+(a.href||""))){for(s=0;s<i.length;s++)if(n=i[s],n.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&n.getAttribute("rel")===(a.rel==null?null:a.rel)&&n.getAttribute("title")===(a.title==null?null:a.title)&&n.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){i.splice(s,1);break t}}n=l.createElement(t),Xe(n,t,a),l.head.appendChild(n);break;case"meta":if(i=Yg("meta","content",l).get(t+(a.content||""))){for(s=0;s<i.length;s++)if(n=i[s],n.getAttribute("content")===(a.content==null?null:""+a.content)&&n.getAttribute("name")===(a.name==null?null:a.name)&&n.getAttribute("property")===(a.property==null?null:a.property)&&n.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&n.getAttribute("charset")===(a.charSet==null?null:a.charSet)){i.splice(s,1);break t}}n=l.createElement(t),Xe(n,t,a),l.head.appendChild(n);break;default:throw Error(r(468,t))}n[Be]=e,Re(n),t=n}e.stateNode=t}else qe||Zc(i,e.type,e.stateNode);else e.stateNode=Vg(i,a,e.memoizedProps);else l!==a?(l===null?(t=n.stateNode,t===null||se||t.parentNode.removeChild(t)):l.count--,a===null?qe||Zc(i,e.type,e.stateNode):Vg(i,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Is(e,e.memoizedProps,n.memoizedProps);break;case 27:Ke(t,e,a),$e(e),l&512&&(se||n===null||Qe(n,n.return)),n!==null&&l&4&&Is(e,e.memoizedProps,n.memoizedProps);break;case 5:if(i=Vt,Vt=!1,Ke(t,e,a),Vt=i,$e(e),l&512&&(se||n===null||Qe(n,n.return)),e.flags&32){t=e.stateNode;try{qn(t,""),ne=!0}catch(x){re(e,e.return,x)}}l&4&&e.stateNode!=null&&(t=e.memoizedProps,Is(e,t,n!==null?n.memoizedProps:t)),l&1024&&(lc=!0);break;case 6:if(Ke(t,e,a),$e(e),l&4){if(e.stateNode===null)throw Error(r(162));t=e.memoizedProps,a=e.stateNode;try{a.nodeValue=t,ne=!0}catch(x){re(e,e.return,x)}}break;case 3:if(ne=!1,eo=null,i=Ct,Ct=vi(t.containerInfo),Ke(t,e,a),Ct=i,$e(e),l&4&&n!==null&&n.memoizedState.isDehydrated)try{bl(t.containerInfo)}catch(x){re(e,e.return,x)}lc&&(lc=!1,qh(e)),ne=!1;break;case 4:l=Vt,Vt=qe,n=tf(),i=Ct,Ct=vi(e.stateNode.containerInfo),Ke(t,e,a),$e(e),Ct=i,ne&&oi&&(Lu=!0),ne=n,Vt=l;break;case 12:Ke(t,e,a),$e(e);break;case 31:Ke(t,e,a),$e(e),l&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Bu(e,t)));break;case 13:Ke(t,e,a),$e(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Yu=lt()),l&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Bu(e,t)));break;case 22:i=e.memoizedState!==null,s=n!==null&&n.memoizedState!==null;var f=qe,h=se,p=Vt;qe=f||i,Vt=p||i,se=h||s,Ke(t,e,a),se=h,Vt=p,qe=f,$e(e),l&8192&&(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,!i||n===null||s||qe||se||(t=s||se,a=qe,n=se,qe=i||qe,se=t,wa(e,2),qe=a,se=n),!i&&Vt||uc(e,i)),l&4&&(t=e.updateQueue,t!==null&&(a=t.retryQueue,a!==null&&(t.retryQueue=null,Bu(e,a))));break;case 19:Ke(t,e,a),$e(e),l&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Bu(e,t)));break;case 30:l&512&&(se||n===null||Qe(n,n.return)),l=tf(),i=oi,s=(a&335544064)===a,f=e.memoizedProps,oi=s&&Wt(f.default,f.update)!=="none",Ke(t,e,a),$e(e),s&&n!==null&&ne&&(e.flags|=4),oi=i,ne=l;break;case 21:break;case 7:l&512&&(se||n===null||Qe(n,n.return)),n&&n.stateNode!==null&&(n.stateNode._fragmentFiber=e);default:Ke(t,e,a),$e(e)}}function $e(e){var t=e.flags;if(t&2){try{for(var a,n=e.return;n!==null;){if(Sh(n)){a=n;break}n=n.return}n=null;for(var l=e.return;l!==null;){if(Ks(l)){var i=l.stateNode;n===null?n=[i]:n.push(i)}if(Js(l))break;l=l.return}var s=n;if(a==null)throw Error(r(160));switch(a.tag){case 27:var f=a.stateNode,h=Fs(e);Mu(e,h,f,s);break;case 5:var p=a.stateNode;a.flags&32&&(qn(p,""),a.flags&=-33);var x=Fs(e);Mu(e,x,p,s);break;case 3:case 4:var E=a.stateNode.containerInfo,v=Fs(e);Ps(e,v,E,s);break;default:throw Error(r(161))}}catch(S){re(e,e.return,S)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function qh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;qh(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,pl=!0,t.reset(),pl=!1),e=e.sibling}}function tl(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Lh(t,e),t=t.sibling;else Ch(t)}function Lh(e,t){var a=e.alternate;if(a===null)Ws(e,!1);else switch(e.tag){case 3:if(ic=Yt=!1,Th(),tl(t,e),!Yt&&!Lu){if(e=Bt,e!==null)for(var n=0;n<e.length;n+=3){a=e[n];var l=e[n+1];Eg(a,e[n+2]),a=a.ownerDocument.documentElement,a!==null&&a.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+l+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),ic=!0}Bt=null;break;case 5:tl(t,e);break;case 4:n=Yt,Yt=!1,tl(t,e),Yt&&(Lu=!0),Yt=n;break;case 22:e.memoizedState===null&&(a.memoizedState!==null?Ws(e,!1):tl(t,e));break;case 30:n=Yt,l=Th(),Yt=!1,tl(t,e),Yt&&(e.flags|=4);var i=e.memoizedProps,s=e.stateNode;t=Pt(i,s),s=Pt(a.memoizedProps,s);var f=Wt(i.default,i.update);f==="none"?t=!1:(i=a.memoizedState,a.memoizedState=null,a=e.child,et=0,t=nc(e,a,t,s,f,i,!0),et!==(i===null?0:i.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(sl(e,e.memoizedProps.onUpdate),Bt=l):l!==null&&(l.push.apply(l,Bt),Bt=l),Yt=(e.flags&32)!==0?!0:n;break;default:tl(t,e)}}function Qt(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)zh(e,t.alternate,t),t=t.sibling}function wa(e,t){for(e=e.child;e!==null;){var a=e,n=t;switch(a.tag){case 0:case 11:case 14:case 15:Da(4,a,a.return),wa(a,n);break;case 1:Qe(a,a.return);var l=a.stateNode;typeof l.componentWillUnmount=="function"&&ph(a,a.return,l),wa(a,n);break;case 27:(n&2)!==0&&qg(a.stateNode,a.type,a.memoizedProps);case 5:Qe(a,a.return),a.tag!==5&&a.tag!==27||ui(a),wa(a,n);break;case 6:ui(a);break;case 26:Qe(a,a.return),l=a.stateNode,a.memoizedState!==null||l===null||se||l.parentNode.removeChild(l),wa(a,n);break;case 22:a.memoizedState===null&&wa(a,n);break;case 30:Qe(a,a.return),wa(a,n);break;case 7:Qe(a,a.return);default:wa(a,n)}e=e.sibling}}function Ot(e,t,a){for(a=(t.subtreeFlags&8772)!==0?a:a&-2,t=t.child;t!==null;){var n=t.alternate,l=e,i=t,s=i.flags,f=(a&1)!==0;switch(i.tag){case 0:case 11:case 15:Ot(l,i,a),ii(4,i);break;case 1:if(Ot(l,i,a),n=i,l=n.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(x){re(n,n.return,x)}if(n=i,l=n.updateQueue,l!==null){var h=n.stateNode;try{var p=l.shared.hiddenCallbacks;if(p!==null)for(l.shared.hiddenCallbacks=null,l=0;l<p.length;l++)id(p[l],h)}catch(x){re(n,n.return,x)}}f&&s&64&&yh(i),Ht(i,i.return);break;case 27:(a&2)!==0&&xh(i);case 5:i.tag!==5&&i.tag!==27||bh(i),Ot(l,i,a),f&&n===null&&s&4&&$s(i),Ht(i,i.return);break;case 6:bh(i);break;case 26:h=i.stateNode,i.memoizedState!==null||h===null||qe||Zc(vi(h.ownerDocument),i.type,h),Ot(l,i,a),f&&n===null&&s&4&&$s(i),Ht(i,i.return);break;case 12:Ot(l,i,a);break;case 31:Ot(l,i,a),f&&s&4&&Mh(l,i);break;case 13:Ot(l,i,a),f&&s&4&&Rh(l,i);break;case 22:i.memoizedState===null&&Ot(l,i,a),Ht(i,i.return);break;case 30:Ot(l,i,a),Ht(i,i.return);break;case 7:Ht(i,i.return);default:Ot(l,i,a)}t=t.sibling}}function sc(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&kl(a))}function cc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&kl(e))}function xt(e,t,a,n){var l=(a&335544064)===a;if(t.subtreeFlags&(l?10262:10256))for(t=t.child;t!==null;)Hh(e,t,a,n),t=t.sibling;else l&&Ah(t)}function Hh(e,t,a,n){var l=(a&335544064)===a;l&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&qu(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:xt(e,t,a,n),i&2048&&ii(9,t);break;case 1:xt(e,t,a,n);break;case 3:xt(e,t,a,n),l&&ic&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),i&2048&&(i=null,t.alternate!==null&&(i=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==i&&(t.refCount++,i!=null&&kl(i)));break;case 12:if(i&2048){xt(e,t,a,n),i=t.stateNode;try{var s=t.memoizedProps,f=s.id,h=s.onPostCommit;typeof h=="function"&&h(f,t.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(p){re(t,t.return,p)}}else xt(e,t,a,n);break;case 31:xt(e,t,a,n);break;case 13:xt(e,t,a,n);break;case 23:break;case 22:s=t.stateNode,f=t.alternate,t.memoizedState!==null?(l&&f!==null&&f.memoizedState===null&&qu(f),s._visibility&2?xt(e,t,a,n):si(e,t)):(l&&f!==null&&f.memoizedState!==null&&qu(t),s._visibility&2?xt(e,t,a,n):(s._visibility|=2,al(e,t,a,n,(t.subtreeFlags&10256)!==0||!1))),i&2048&&sc(f,t);break;case 24:xt(e,t,a,n),i&2048&&cc(t.alternate,t);break;case 30:l&&(i=t.alternate,i!==null&&(Gt(i.child,!0),Gt(t.child,!0))),xt(e,t,a,n);break;default:xt(e,t,a,n)}}function al(e,t,a,n,l){for(l=l&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,s=t,f=a,h=n,p=s.flags;switch(s.tag){case 0:case 11:case 15:al(i,s,f,h,l),ii(8,s);break;case 23:break;case 22:var x=s.stateNode;s.memoizedState!==null?x._visibility&2?al(i,s,f,h,l):si(i,s):(x._visibility|=2,al(i,s,f,h,l)),l&&p&2048&&sc(s.alternate,s);break;case 24:al(i,s,f,h,l),l&&p&2048&&cc(s.alternate,s);break;default:al(i,s,f,h,l)}t=t.sibling}}function si(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,n=t,l=n.flags;switch(n.tag){case 22:si(a,n),l&2048&&sc(n.alternate,n);break;case 24:si(a,n),l&2048&&cc(n.alternate,n);break;default:si(a,n)}t=t.sibling}}var mn=8192;function vn(e,t,a){if(e.subtreeFlags&mn)for(e=e.child;e!==null;)Bh(e,t,a),e=e.sibling}function Bh(e,t,a){switch(e.tag){case 26:vn(e,t,a),e.flags&mn&&(e.memoizedState!==null?Mp(a,Ct,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&kg(a,e)));break;case 5:vn(e,t,a),e.flags&mn&&(e=e.stateNode,(t&335544128)===t&&kg(a,e));break;case 3:case 4:var n=Ct;Ct=vi(e.stateNode.containerInfo),vn(e,t,a),Ct=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=mn,mn=16777216,vn(e,t,a),mn=n):vn(e,t,a));break;case 30:if((e.flags&mn)!==0&&(n=e.memoizedProps.name,n!=null&&n!=="auto")){var l=e.stateNode;l.paired=null,rt===null&&(rt=new Map),rt.set(n,l)}vn(e,t,a);break;default:vn(e,t,a)}}function Gh(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function ci(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];Le=n,Yh(n,e)}Gh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Vh(e),e=e.sibling}function Vh(e){switch(e.tag){case 0:case 11:case 15:ci(e),e.flags&2048&&Da(9,e,e.return);break;case 3:ci(e);break;case 12:ci(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Gu(e)):ci(e);break;default:ci(e)}}function Gu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];Le=n,Yh(n,e)}Gh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Da(8,t,t.return),Gu(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Gu(t));break;default:Gu(t)}e=e.sibling}}function Yh(e,t){for(;Le!==null;){var a=Le;switch(a.tag){case 0:case 11:case 15:Da(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:kl(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,Le=n;else e:for(a=e;Le!==null;){n=Le;var l=n.sibling,i=n.return;if(wh(n),n===a){Le=null;break e}if(l!==null){l.return=i,Le=l;break e}Le=i}}}var Oy={getCacheForType:function(e){var t=Ge(Ae),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Ge(Ae).controller.signal}},zy=typeof WeakMap=="function"?WeakMap:Map,ie=0,ge=null,F=null,W=0,ce=0,ft=null,ja=!1,nl=!1,rc=!1,sa=0,Ee=0,Ma=0,yn=0,Vu=0,dt=0,ll=0,ri=null,at=null,fc=!1,Yu=0,Qh=0,Qu=1/0,Xu=null,Ra=null,xe=0,zt=null,pn=null,Xt=0,dc=0,hc=null,Xh=null,il=null,ul=null,ol=null,fi=0,Zu=null;function ht(){return(ie&2)!==0&&W!==0?W&-W:Q.T!==null?Tc():kr()}function Zh(){if(dt===0)if((W&536870912)===0||I){var e=Bi;Bi<<=1,(Bi&3932160)===0&&(Bi=262144),dt=e}else dt=536870912;return e=Ve.current,e!==null&&(e.flags|=32),dt}function sl(e,t){if(t!=null){var a=e.stateNode,n=a.ref;n===null&&(n=a.ref=Ng(Pt(e.memoizedProps,a))),ul===null&&(ul=[]),ul.push(t.bind(null,n))}}function nt(e,t,a){(e===ge&&(ce===2||ce===9)||e.cancelPendingCommit!==null)&&(cl(e,0),Ua(e,W,dt,!1)),jl(e,a),((ie&2)===0||e!==ge)&&(e===ge&&((ie&2)===0&&(yn|=a),Ee===4&&Ua(e,W,dt,!1)),Zt(e))}function kh(e,t,a){if((ie&6)!==0)throw Error(r(327));var n=!a&&(t&127)===0&&(t&e.expiredLanes)===0||wl(e,t),l=n?jy(e,t):mc(e,t,!0),i=n;do{if(l===0){nl&&!n&&Ua(e,t,0,!1);break}else{if(a=e.current.alternate,i&&!Dy(a)){l=mc(e,t,!1),i=!1;continue}if(l===2){if(i=t,e.errorRecoveryDisabledLanes&i)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var f=e;l=ri;var h=f.current.memoizedState.isDehydrated;if(h&&(cl(f,s).flags|=256),s=mc(f,s,!1),s!==2&&s!==6){if(rc&&!h){f.errorRecoveryDisabledLanes|=i,yn|=i,l=4;break e}i=at,at=l,i!==null&&(at===null?at=i:at.push.apply(at,i))}l=s}if(i=!1,l!==2)continue}}if(l===1){cl(e,0),Ua(e,t,0,!0);break}e:{switch(n=e,i=l,i){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Ua(n,t,dt,!ja);break e;case 2:at=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(l=Yu+300-lt(),10<l)){if(Ua(n,t,dt,!ja),Vi(n,0,!0)!==0)break e;Xt=t,n.timeoutHandle=Rc(Jh.bind(null,n,a,at,Xu,fc,t,dt,yn,ll,ja,i,"Throttled",-0,0),l);break e}Jh(n,a,at,Xu,fc,t,dt,yn,ll,ja,i,null,-0,0)}}break}while(!0);Zt(e)}function Jh(e,t,a,n,l,i,s,f,h,p,x,E,v,S){e.timeoutHandle=-1;var D=t.subtreeFlags,H=(i&335544064)===i;if(E=null,(H||D&8192||(D&16785408)===16785408)&&(E={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ut},rt=null,Bh(t,i,E),H&&(D=E,H=e.containerInfo,H=(H.nodeType===9?H:H.ownerDocument).__reactViewTransition,H!=null&&(D.count++,D.waitingForViewTransition=!0,D=bi.bind(D),H.finished.then(D,D))),D=(i&62914560)===i?Yu-lt():(i&4194048)===i?Qh-lt():0,D=Rp(E,D),D!==null)){Xt=i,e.cancelPendingCommit=D(tg.bind(null,e,t,i,a,n,l,s,f,h,p,x,E,null,v,S)),Ua(e,i,s,!p);return}tg(e,t,i,a,n,l,s,f,h,p,x,E)}function Dy(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var n=0;n<a.length;n++){var l=a[n],i=l.getSnapshot;l=l.value;try{if(!st(i(),l))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;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 Ua(e,t,a,n){t=Vr(e,t),t&=~Vu,t&=~yn,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var l=t;0<l;){var i=31-ut(l),s=1<<i;n[i]=-1,l&=~s}a!==0&&Qr(e,a,t)}function ku(){return(ie&6)===0?(di(0),!1):!0}function gc(){if(F!==null){if(ce===0)var e=F.return;else e=F,aa=ln=null,_s(e),$n=null,$l=0,e=F;for(;e!==null;)vh(e.alternate,e),e=e.return;F=null}}function cl(e,t){var a=e.timeoutHandle;return a!==-1&&(e.timeoutHandle=-1,ep(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Xt=0,gc(),ge=e,F=a=ea(e.current,null),W=t,ce=0,ft=null,ja=!1,nl=wl(e,t),rc=!1,ll=dt=Vu=yn=Ma=Ee=0,at=ri=null,fc=!1,sa=Vr(e,t),eu(),a}function Kh(e,t){k=null,Q.H=Nu,t===Kn||t===fu?(t=td(),ce=3):t===cs?(t=td(),ce=4):ce=t===Ls?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ft=t,F===null&&(Ee=1,Au(e,yt(t,e.current)))}function $h(){var e=Ve.current;return e===null?!0:(W&4194048)===W?Ze===null:(W&62914560)===W||(W&536870912)!==0?e===Ze:!1}function Ih(){var e=Q.H;return Q.H=Nu,e===null?Nu:e}function Fh(){var e=Q.A;return Q.A=Oy,e}function Ju(){Ee=4,ja||(W&4194048)!==W&&Ve.current!==null||(nl=!0),(Ma&134217727)===0&&(yn&134217727)===0||ge===null||Ua(ge,W,dt,!1)}function mc(e,t,a){var n=ie;ie|=2;var l=Ih(),i=Fh();(ge!==e||W!==t)&&(Xu=null,cl(e,t)),t=!1;var s=Ee;e:do try{if(ce!==0&&F!==null){var f=F,h=ft;switch(ce){case 8:gc(),s=6;break e;case 3:case 2:case 9:case 6:Ve.current===null&&(t=!0);var p=ce;if(ce=0,ft=null,rl(e,f,h,p),a&&nl){s=0;break e}break;default:p=ce,ce=0,ft=null,rl(e,f,h,p)}}wy(),s=Ee;break}catch(x){Kh(e,x)}while(!0);return t&&e.shellSuspendCounter++,aa=ln=null,ie=n,Q.H=l,Q.A=i,F===null&&(ge=null,W=0,eu()),s}function wy(){for(;F!==null;)Ph(F)}function jy(e,t){var a=ie;ie|=2;var n=Ih(),l=Fh();ge!==e||W!==t?(Xu=null,Qu=lt()+500,cl(e,t)):nl=wl(e,t);e:do try{if(ce!==0&&F!==null){t=F;var i=ft;t:switch(ce){case 1:ce=0,ft=null,rl(e,t,i,1);break;case 2:case 9:if(Wf(i)){ce=0,ft=null,Wh(t);break}t=function(){ce!==2&&ce!==9||ge!==e||(ce=7),Zt(e)},i.then(t,t);break e;case 3:ce=7;break e;case 4:ce=5;break e;case 7:Wf(i)?(ce=0,ft=null,Wh(t)):(ce=0,ft=null,rl(e,t,i,7));break;case 5:var s=null;switch(F.tag){case 26:s=F.memoizedState;case 5:case 27:var f=F;if(s?Xg(s):f.stateNode.complete){ce=0,ft=null;var h=f.sibling;if(h!==null)F=h;else{var p=f.return;p!==null?(F=p,Ku(p)):F=null}break t}}ce=0,ft=null,rl(e,t,i,5);break;case 6:ce=0,ft=null,rl(e,t,i,6);break;case 8:gc(),Ee=6;break e;default:throw Error(r(462))}}My();break}catch(x){Kh(e,x)}while(!0);return aa=ln=null,Q.H=n,Q.A=l,ie=a,F!==null?0:(ge=null,W=0,eu(),Ee)}function My(){for(;F!==null&&!I0();)Ph(F)}function Ph(e){var t=gh(e.alternate,e,sa);e.memoizedProps=e.pendingProps,t===null?Ku(e):F=t}function Wh(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=oh(a,t,t.pendingProps,t.type,void 0,W);break;case 11:t=oh(a,t,t.pendingProps,t.type.render,t.ref,W);break;case 5:_s(t);var n=t;n===Ue&&(I?(uu(n),n.tag===5&&n.stateNode!=null&&(ve=n.stateNode)):(uu(n),I=!0));default:vh(a,t),t=F=Yf(t,sa),t=gh(a,t,sa)}e.memoizedProps=e.pendingProps,t===null?Ku(e):F=t}function rl(e,t,a,n){aa=ln=null,_s(t),$n=null,$l=0;var l=t.return;try{if(Sy(e,l,t,a,W)){Ee=1,Au(e,yt(a,e.current)),F=null;return}}catch(i){if(l!==null)throw F=l,i;Ee=1,Au(e,yt(a,e.current)),F=null;return}t.flags&32768?(I||n===1?e=!0:nl||(W&536870912)!==0?e=!1:(ja=e=!0,(n===2||n===9||n===3||n===6)&&(n=Ve.current,n!==null&&n.tag===13&&(n.flags|=16384))),eg(t,e)):Ku(t)}function Ku(e){var t=e;do{if((t.flags&32768)!==0){eg(t,ja);return}e=t.return;var a=Ey(t.alternate,t,sa);if(a!==null){F=a;return}if(t=t.sibling,t!==null){F=t;return}F=t=e}while(t!==null);Ee===0&&(Ee=5)}function eg(e,t){do{var a=Ny(e.alternate,e);if(a!==null){a.flags&=32767,F=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){F=e;return}F=e=a}while(e!==null);Ee=6,F=null}function tg(e,t,a,n,l,i,s,f,h,p,x,E){e.cancelPendingCommit=null;do $u();while(xe!==0);if((ie&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));e===ge&&(F=ge=null,W=0),pn=t,zt=e,Xt=a,hc=l,Xh=n,Ry(e,t,a,s,f,h,E)}}function Ry(e,t,a,n,l,i,s){var f=t.lanes|t.childLanes;if(dc=f,f|=Io,uv(e,a,f,n,l,i),ul=null,(a&335544064)===a?(ol=sy(e),n=10262):(ol=null,n=10256),(t.subtreeFlags&n)!==0||(t.flags&n)!==0?(e.callbackNode=null,e.callbackPriority=0,Gy(Li,function(){return bc(),null})):(e.callbackNode=null,e.callbackPriority=0),Ru=!1,n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=Q.T,Q.T=null,l=le.p,le.p=2,i=ie,ie|=4;try{Ay(e,t,a)}finally{ie=i,le.p=l,Q.T=n}}xe=1,Ru?il=up(s,e.containerInfo,ol,vc,yc,qy,pc,bc,Uy):(vc(),yc(),pc())}function Uy(e){if(xe!==0){var t=zt.onRecoverableError;t(e,{componentStack:null})}}function qy(){xe===3&&(xe=0,Lh(pn,zt),xe=4)}function vc(){if(xe===1){xe=0;var e=zt,t=pn,a=Xt,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=Q.T,Q.T=null;var l=le.p;le.p=2;var i=ie;ie|=4;try{oi=Lu=!1,Uh(t,e,a),a=wc;var s=jf(e.containerInfo),f=a.focusedElem,h=a.selectionRange;if(s!==f&&f&&f.ownerDocument&&wf(f.ownerDocument.documentElement,f)){if(h!==null&&Zo(f)){var p=h.start,x=h.end;if(x===void 0&&(x=p),"selectionStart"in f)f.selectionStart=p,f.selectionEnd=Math.min(x,f.value.length);else{var E=f.ownerDocument||document,v=E&&E.defaultView||window;if(v.getSelection){var S=v.getSelection(),D=f.textContent.length,H=Math.min(h.start,D),J=h.end===void 0?H:Math.min(h.end,D);!S.extend&&H>J&&(s=J,J=H,H=s);var y=Df(f,H),m=Df(f,J);if(y&&m&&(S.rangeCount!==1||S.anchorNode!==y.node||S.anchorOffset!==y.offset||S.focusNode!==m.node||S.focusOffset!==m.offset)){var b=E.createRange();b.setStart(y.node,y.offset),S.removeAllRanges(),H>J?(S.addRange(b),S.extend(m.node,m.offset)):(b.setEnd(m.node,m.offset),S.addRange(b))}}}}for(E=[],S=f;S=S.parentNode;)S.nodeType===1&&E.push({element:S,left:S.scrollLeft,top:S.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<E.length;f++){var T=E[f];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}pl=!!Dc,wc=Dc=null}finally{ie=i,le.p=l,Q.T=n}}e.current=t,xe=2}}function yc(){if(xe===2){xe=0;var e=zt,t=pn,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=Q.T,Q.T=null;var n=le.p;le.p=2;var l=ie;ie|=4;try{zh(e,t.alternate,t)}finally{ie=l,le.p=n,Q.T=a}}xe=3}}function pc(){if(xe===4||xe===3){xe=0;var e=il;il=null,F0();var t=zt,a=pn,n=Xt,l=Xh,i=(n&335544064)===n?10262:10256;if((a.subtreeFlags&i)!==0||(a.flags&i)!==0?xe=5:(xe=0,pn=zt=null,ag(t,t.pendingLanes)),i=t.pendingLanes,i===0&&(Ra=null),Co(n),a=a.stateNode,it&&typeof it.onCommitFiberRoot=="function")try{it.onCommitFiberRoot(Dl,a,void 0,(a.current.flags&128)===128)}catch{}if(l!==null){a=Q.T,i=le.p,le.p=2,Q.T=null;try{for(var s=t.onRecoverableError,f=0;f<l.length;f++){var h=l[f];s(h.value,{componentStack:h.stack})}}finally{Q.T=a,le.p=i}}if(l=ul,s=ol,ol=null,l!==null&&(ul=null,s===null&&(s=[]),e!==null))for(h=0;h<l.length;h++)a=(0,l[h])(s),a!==void 0&&e.finished.finally(a);(Xt&3)!==0&&$u(),Zt(t),i=t.pendingLanes,(n&261930)!==0&&(i&42)!==0?t===Zu?fi++:(fi=0,Zu=t):(fi=0,Zu=null),di(0)}}function ag(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,kl(t)))}function $u(){return il!==null&&(il.skipTransition(),il=null),vc(),yc(),pc(),bc()}function bc(){if(xe!==5)return!1;var e=zt,t=dc;dc=0;var a=Co(Xt),n=Q.T,l=le.p;try{le.p=32>a?32:a,Q.T=null,a=hc,hc=null;var i=zt,s=Xt;if(xe=0,pn=zt=null,Xt=0,(ie&6)!==0)throw Error(r(331));var f=ie;if(ie|=4,Vh(i.current),Hh(i,i.current,s,a),ie=f,di(0,!1),it&&typeof it.onPostCommitFiberRoot=="function")try{it.onPostCommitFiberRoot(Dl,i)}catch{}return!0}finally{le.p=l,Q.T=n,ag(e,t)}}function ng(e,t,a){t=yt(a,t),t=qs(e.stateNode,t,2),e=Aa(e,t,2),e!==null&&(jl(e,2),Zt(e))}function re(e,t,a){if(e.tag===3)ng(e,e,a);else for(;t!==null;){if(t.tag===3){ng(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Ra===null||!Ra.has(n))){e=yt(a,e),a=Wd(2),n=Aa(t,a,2),n!==null&&(eh(a,n,t,e),jl(n,2),Zt(n));break}}t=t.return}}function Sc(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new zy;var l=new Set;n.set(t,l)}else l=n.get(t),l===void 0&&(l=new Set,n.set(t,l));l.has(a)||(rc=!0,l.add(a),e=Ly.bind(null,e,t,a),t.then(e,e))}function Ly(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,ge===e&&(W&a)===a&&((Ee===4||Ee===3&&(W&62914560)===W&&300>lt()-Yu)&&(ie&2)===0?cl(e,0):Vu|=a,ll===W&&(ll=0)),Zt(e)}function lg(e,t){t===0&&(t=Yr()),e=tn(e,t),e!==null&&(jl(e,t),Zt(e))}function Hy(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),lg(e,a)}function By(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,l=e.memoizedState;l!==null&&(a=l.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(r(314))}n!==null&&n.delete(t),lg(e,a)}function Gy(e,t){return To(e,t)}var fl=null,dl=null,xc=!1,Iu=!1,_c=!1,qa=0;function Zt(e){e!==dl&&e.next===null&&(dl===null?fl=dl=e:dl=dl.next=e),Iu=!0,xc||(xc=!0,Yy())}function di(e,t){if(!_c&&Iu){_c=!0;do for(var a=!1,n=fl;n!==null;){if(e!==0){var l=n.pendingLanes;if(l===0)var i=0;else{var s=n.suspendedLanes,f=n.pingedLanes;i=(1<<31-ut(42|e)+1)-1,i&=l&~(s&~f),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(a=!0,sg(n,i))}else i=W,i=Vi(n,n===ge?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||wl(n,i)||(a=!0,sg(n,i));n=n.next}while(a);_c=!1}}function Vy(){ig()}function ig(){Iu=xc=!1;var e=0;qa!==0&&Wy()&&(e=qa);for(var t=lt(),a=null,n=fl;n!==null;){var l=n.next,i=ug(n,t);i===0?(n.next=null,a===null?fl=l:a.next=l,l===null&&(dl=a)):(a=n,(e!==0||(i&3)!==0)&&(Iu=!0)),n=l}xe!==0&&xe!==5||di(e),qa!==0&&(qa=0)}function ug(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var s=31-ut(i),f=1<<s,h=l[s];h===-1?((f&a)===0||(f&n)!==0)&&(l[s]=iv(f,t)):h<=t&&(e.expiredLanes|=f),i&=~f}if(t=ge,a=W,a=Vi(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,a===0||e===t&&(ce===2||ce===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&Eo(n),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||wl(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(n!==null&&Eo(n),Co(a)){case 2:case 8:a=Br;break;case 32:a=Li;break;case 268435456:a=Gr;break;default:a=Li}return n=og.bind(null,e),a=To(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&n!==null&&Eo(n),e.callbackPriority=2,e.callbackNode=null,2}function og(e,t){if(xe!==0&&xe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if($u()&&e.callbackNode!==a)return null;var n=W;return n=Vi(e,e===ge?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(kh(e,n,t),ug(e,lt()),e.callbackNode!=null&&e.callbackNode===a?og.bind(null,e):null)}function sg(e,t){if($u())return null;
vendor: 5,786 bytes, line 33
33kh(e,t,!0)}function Yy(){tp(function(){(ie&6)!==0?To(Hr,Vy):ig()})}function Tc(){if(qa===0){var e=sn;e===0&&(e=Hi,Hi<<=1,(Hi&261888)===0&&(Hi=256)),qa=e}return qa}function cg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ki(e)}function Qy(e,t,a,n,l){if(t==="submit"&&a&&a.stateNode===l){var i=cg((l[Pe]||null).action),s=n.submitter;s&&(t=(t=s[Pe]||null)?cg(t.formAction):s.getAttribute("formAction"),t!==null&&(i=t,s=null));var f=new Ii("action","action",null,n,l);e.push({event:f,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(qa!==0){var h=new FormData(l,s);ws(a,{pending:!0,data:h,method:l.method,action:i},null,h)}}else typeof i=="function"&&(f.preventDefault(),h=new FormData(l,s),ws(a,{pending:!0,data:h,method:l.method,action:i},i,h))},currentTarget:l}]})}}for(var Ec=0;Ec<$o.length;Ec++){var Nc=$o[Ec],Xy=Nc.toLowerCase(),Zy=Nc[0].toUpperCase()+Nc.slice(1);Nt(Xy,"on"+Zy)}Nt(Uf,"onAnimationEnd"),Nt(qf,"onAnimationIteration"),Nt(Lf,"onAnimationStart"),Nt("dblclick","onDoubleClick"),Nt("focusin","onFocus"),Nt("focusout","onBlur"),Nt(ey,"onTransitionRun"),Nt(ty,"onTransitionStart"),Nt(ay,"onTransitionCancel"),Nt(Hf,"onTransitionEnd"),Rn("onMouseEnter",["mouseout","mouseover"]),Rn("onMouseLeave",["mouseout","mouseover"]),Rn("onPointerEnter",["pointerout","pointerover"]),Rn("onPointerLeave",["pointerout","pointerover"]),Pa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hi="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(" "),ky=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hi));function rg(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a],l=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var s=n.length-1;0<=s;s--){var f=n[s],h=f.instance,p=f.currentTarget;if(f=f.listener,h!==i&&l.isPropagationStopped())break e;i=f,l.currentTarget=p;try{i(l)}catch(x){Wi(x)}l.currentTarget=null,i=h}else for(s=0;s<n.length;s++){if(f=n[s],h=f.instance,p=f.currentTarget,f=f.listener,h!==i&&l.isPropagationStopped())break e;i=f,l.currentTarget=p;try{i(l)}catch(x){Wi(x)}l.currentTarget=null,i=h}}}}function P(e,t){var a=t[Kr];a===void 0&&(a=t[Kr]=new Set);var n=e+"__bubble";a.has(n)||(fg(t,e,2,!1),a.add(n))}function Ac(e,t,a){var n=0;t&&(n|=4),fg(a,e,n,t)}var Fu="_reactListening"+Math.random().toString(36).slice(2);function Cc(e){if(!e[Fu]){e[Fu]=!0,Fr.forEach(function(a){a!=="selectionchange"&&(ky.has(a)||Ac(a,!1,e),Ac(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Fu]||(t[Fu]=!0,Ac("selectionchange",!1,t))}}function fg(e,t,a,n){switch(em(t)){case 2:var l=Hp;break;case 8:l=Bp;break;default:l=Jc}a=l.bind(null,t,a,e),l=void 0,!Uo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),n?l!==void 0?e.addEventListener(t,a,{capture:!0,passive:l}):e.addEventListener(t,a,!0):l!==void 0?e.addEventListener(t,a,{passive:l}):e.addEventListener(t,a,!1)}function Oc(e,t,a,n,l){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var f=n.stateNode.containerInfo;if(f===l)break;if(s===4)for(s=n.return;s!==null;){var h=s.tag;if((h===3||h===4)&&s.stateNode.containerInfo===l)return;s=s.return}for(;f!==null;){if(s=Fa(f),s===null)return;if(h=s.tag,h===5||h===6||h===26||h===27){n=i=s;continue e}f=f.parentNode}}n=n.return}ff(function(){var p=i,x=Mo(a),E=[];e:{var v=Bf.get(e);if(v!==void 0){var S=Ii,D=e;switch(e){case"keypress":if(Ki(a)===0)break e;case"keydown":case"keyup":S=Dv;break;case"focusin":D="focus",S=Bo;break;case"focusout":D="blur",S=Bo;break;case"beforeblur":case"afterblur":S=Bo;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=gf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=pv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=Uv;break;case Uf:case qf:case Lf:S=xv;break;case Hf:S=Lv;break;case"scroll":case"scrollend":S=vv;break;case"wheel":S=Bv;break;case"copy":case"cut":case"paste":S=Tv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=vf;break;case"submit":S=Mv;break;case"toggle":case"beforetoggle":S=Vv}var H=(t&4)!==0,J=!H&&(e==="scroll"||e==="scrollend"),y=H?v!==null?v+"Capture":null:v;H=[];for(var m=p,b;m!==null;){var T=m;if(b=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||b===null||y===null||(T=Ul(m,y),T!=null&&H.push(gi(m,T,b))),J)break;m=m.return}0<H.length&&(v=new S(v,D,null,a,x),E.push({event:v,listeners:H}))}}if((t&7)===0){e:{if(S=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",S&&a!==jo&&(D=a.relatedTarget||a.fromElement)&&(Fa(D)||D[wn]))break e;(v||S)&&(D=x.window===x?x:(S=x.ownerDocument)?S.defaultView||S.parentWindow:window,v?(S=a.relatedTarget||a.toElement,v=p,S=S?Fa(S):null,S!==null&&(J=_(S),H=S.tag,S!==J||H!==5&&H!==27&&H!==6)&&(S=null)):(v=null,S=p),v!==S&&(H=gf,T="onMouseLeave",y="onMouseEnter",m="mou
33se",(e==="pointerout"||e==="pointerover")&&(H=vf,T="onPointerLeave",y="onPointerEnter",m="pointer"),J=v==null?D:Rl(v),b=S==null?D:Rl(S),D=new H(T,m+"leave",v,a,x),D.target=J,D.relatedTarget=b,T=null,Fa(x)===p&&(H=new H(y,m+"enter",S,a,x),H.target=b,H.relatedTarget=J,T=H),J=T,H=v&&S?te(v,S,Jy):null,v!==null&&dg(E,D,v,H,!1),S!==null&&J!==null&&dg(E,J,S,H,!0)))}e:{if(v=p?Rl(p):window,S=v.nodeName&&v.nodeName.toLowerCase(),S==="select"||S==="input"&&v.type==="file")var q=Ef;else if(_f(v))if(Nf)q=Fv;else{q=$v;var ee=Kv}else S=v.nodeName,!S||S.toLowerCase()!=="input"||v.type!=="checkbox"&&v.type!=="radio"?p&&wo(p.elementType)&&(q=Ef):q=Iv;if(q&&(q=q(e,p))){Tf(E,q,a,x);break e}ee&&ee(e,v,p)}switch(ee=p?Rl(p):window,e){case"focusin":(_f(ee)||ee.contentEditable==="true")&&(Gn=ee,ko=p,Ql=null);break;case"focusout":Ql=ko=Gn=null;break;case"mousedown":Jo=!0;break;case"contextmenu":case"mouseup":case"dragend":Jo=!1,Mf(E,a,x);break;case"selectionchange":if(Wv)break;case"keydown":case"keyup":Mf(E,a,x)}var G;if(Vo)e:{switch(e){case"compositionstart":var V="onCompositionStart";break e;case"compositionend":V="onCompositionEnd";break e;case"compositionupdate":V="onCompositionUpdate";break e}V=void 0}else Bn?Sf(e,a)&&(V="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(V="onCompositionStart");V&&(yf&&a.locale!=="ko"&&(Bn||V!=="onCompositionStart"?V==="onCompositionEnd"&&Bn&&(G=df()):(ya=x,qo="value"in ya?ya.value:ya.textContent,Bn=!0)),ee=Pu(p,V),0<ee.length&&(V=new mf(V,e,null,a,x),E.push({event:V,listeners:ee}),G?V.data=G:(G=xf(a),G!==null&&(V.data=G)))),(G=Qv?Xv(e,a):Zv(e,a))&&(V=Pu(p,"onBeforeInput"),0<V.length&&(ee=new mf("onBeforeInput","beforeinput",null,a,x),E.push({event:ee,listeners:V}),ee.data=G)),Qy(E,e,p,a,x)}rg(E,t)})}function gi(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Pu(e,t){for(var a=t+"Capture",n=[];e!==null;){var l=e,i=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||i===null||(l=Ul(e,a),l!=null&&n.unshift(gi(e,l,i)),l=Ul(e,t),l!=null&&n.push(gi(e,l,i))),e.tag===3)return n;e=e.return}return[]}function Jy(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function dg(e,t,a,n,l){for(var i=t._reactName,s=[];a!==null&&a!==n;){var f=a,h=f.alternate,p=f.stateNode;if(f=f.tag,h!==null&&h===n)break;f!==5&&f!==26&&f!==27||p===null||(h=p,l?(p=Ul(a,i),p!=null&&s.unshift(gi(a,p,h))):l||(p=Ul(a,i),p!=null&&s.push(gi(a,p,h)))),a=a.return}s.length!==0&&e.push({event:t,listeners:s})}var Ky=/\r\n?/g,$y=/\u0000|\uFFFD/g;function hg(e){return(typeof e=="string"?e:""+e).replace(Ky,` 34`).replace($y,"")}function gg(e,t){return t=hg(t),hg(e)===t}function fe(e,t,a,n,l,i){switch(a){case"children":if(typeof n=="string")t==="body"||t==="textarea"&&n===""||qn(e,n);else if(typeof n=="number"||typeof n=="bigint")t!=="body"&&qn(e,""+n);else return;break;case"className":Zi(e,"class",n);break;case"tabIndex":Zi(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Zi(e,a,n);break;case"style":cf(e,n,i);return;case"data":if(t!=="object"){Zi(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=ki(n),e.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(a==="formAction"?(t!=="input"&&fe(e,t,"name",l.name,l,null),fe(e,t,"formEncType",l.formEncType,l,null),fe(e,t,"formMethod",l.formMethod,l,null),fe(e,t,"formTarget",l.formTarget,l,null)):(fe(e,t,"encType",l.encType,l,null),fe(e,t,"method",l.method,l,null),fe(e,t,"target",l.target,l,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=ki(n),e.setAttribute(a,n);break;case"onClick":n!=null&&(e.onclick=Ut);return;case"onScroll":n!=null&&P("scroll",e);return;case"onScrollEnd":n!=null&&P("scrollend",e);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(r(61));if(a=n.__html,a!=null){if(l.children!=null)throw Error(r(60));(i!=null?i.__html:void 0)!==a&&(e.innerHTML=a)}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}a=ki(n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
34ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(a,n):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case"popover":P("beforetoggle",e),P("toggle",e),Xi(e,"popover",n);break;case"xlinkActuate":It(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":It(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":It(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":It(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":It(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":It(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":It(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":It(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":It(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":Xi(e,"is",n);break;case"innerText":case"textContent":return;default:if(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")a=gv.get(a)||a,Xi(e,a,n);else return}ne=!0}function zc(e,t,a,n,l,i){switch(a){case"style":cf(e,n,i);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(r(61));if(a=n.__html,a!=null){if(l.children!=null)throw Error(r(60));(i!=null?i.__html:void 0)!==a&&(e.innerHTML=a)}}break;case"children":if(typeof n=="string")qn(e,n);else if(typeof n=="number"||typeof n=="bigint")qn(e,""+n);else return;break;case"onScroll":n!=null&&P("scroll",e);return;case"onScrollEnd":n!=null&&P("scrollend",e);return;case"onClick":n!=null&&(e.onclick=Ut);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!Pr.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(l=a.endsWith("Capture"),i=a.slice(2,l?a.length-7:void 0),t=e[Pe]||null,t=t!=null?t[a]:null,typeof t=="function"&&e.removeEventListener(i,t,l),typeof n=="function")){typeof t!="function"&&t!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(i,n,l);break e}ne=!0,a in e?e[a]=n:n===!0?e.setAttribute(a,""):Xi(e,a,n)}return}ne=!0}function Xe(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":P("error",e),P("load",e);var n=!1,l=!1,i;for(i in a)if(a.hasOwnProperty(i)){var s=a[i];if(s!=null)switch(i){case"src":n=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:fe(e,t,i,s,a,null)}}l&&fe(e,t,"srcSet",a.srcSet,a,null),n&&fe(e,t,"src",a.src,a,null);return;case"input":P("invalid",e);var f=i=s=l=null,h=null,p=null;for(n in a)if(a.hasOwnProperty(n)){var x=a[n];if(x!=null)switch(n){case"name":l=x;break;case"type":s=x;break;case"checked":h=x;break;case"defaultChecked":p=x;break;case"value":i=x;break;case"defaultValue":f=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(137,t));break;default:fe(e,t,n,x,a,null)}}lf(e,i,f,h,p,s,l,!1);return;case"select":P("invalid",e),n=s=i=null;for(l in a)if(a.hasOwnProperty(l)&&(f=a[l],f!=null))switch(l){case"value":i=f;break;case"defaultValue":s=f;break;case"multiple":n=f;default:fe(e,t,l,f,a,null)}t=i,a=s,e.multiple=!!n,t!=null?Un(e,!!n,t,!1):a!=null&&Un(e,!!n,a,!0);return;case"textarea":P("invalid",e),i=l=n=null;for(s in a)if(a.hasOwnProperty(s)&&(f=a[s],f!=null))switch(s){case"value":n=f;break;case"defaultValue":l=f;break;case"children":i=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(r(91));break;default:fe(e,t,s,f,a,null)}of(e,n,l,i);return;case"option":for(h in a)if(a.hasOwnProperty(h)&&(n=a[h],n!=null))switch(h){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:fe(e,t,h,n,a,null)}return;case"dialog":P("beforetoggle",e),P("toggle",e),P("cancel",e),P("close",e);break;case"iframe":case"object":P("load",e);break;case"video":case"audio":for(n=0;n<hi.length;n++)P(hi[n],e);break;case"image":P("error",e),P("load",e);break;case"details":P("toggle",e);break;case"embed":case"source":case"link":P("error",e),P("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(p in a)if(a.hasOwnProperty(p)&&(n=a[p],n!=null))switch(p){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:fe(e,t,p,n,a,null)}return;default:if(wo(t)){for(x in a)a.hasOwnProperty(x)&&(n=a[x],n!==void 0&&zc(e,t,x,n,a,void 0));return}}for(f in a)a.hasOwnProperty(f)&&(n=a[f],n!=null&&fe(e,t,f,n,a,null))}var Iy={};function Fy(e,t,a,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;
vendor: 18,177 bytes, line 34
34case"input":var l=null,i=null,s=null,f=null,h=null,p=null,x=null;for(S in a){var E=a[S];if(a.hasOwnProperty(S)&&E!=null)switch(S){case"checked":break;case"value":break;case"defaultValue":h=E;default:n.hasOwnProperty(S)||fe(e,t,S,null,n,E)}}for(var v in n){var S=n[v];if(E=a[v],n.hasOwnProperty(v)&&(S!=null||E!=null))switch(v){case"type":S!==E&&(ne=!0),i=S;break;case"name":S!==E&&(ne=!0),l=S;break;case"checked":S!==E&&(ne=!0),p=S;break;case"defaultChecked":S!==E&&(ne=!0),x=S;break;case"value":S!==E&&(ne=!0),s=S;break;case"defaultValue":S!==E&&(ne=!0),f=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(r(137,t));break;default:S!==E&&fe(e,t,v,S,n,E)}}zo(e,s,f,h,p,x,i,l);return;case"select":S=s=f=v=null;for(i in a)if(h=a[i],a.hasOwnProperty(i)&&h!=null)switch(i){case"value":break;case"multiple":S=h;default:n.hasOwnProperty(i)||fe(e,t,i,null,n,h)}for(l in n)if(i=n[l],h=a[l],n.hasOwnProperty(l)&&(i!=null||h!=null))switch(l){case"value":i!==h&&(ne=!0),v=i;break;case"defaultValue":i!==h&&(ne=!0),f=i;break;case"multiple":i!==h&&(ne=!0),s=i;default:i!==h&&fe(e,t,l,i,n,h)}t=f,a=s,n=S,v!=null?Un(e,!!a,v,!1):!!n!=!!a&&(t!=null?Un(e,!!a,t,!0):Un(e,!!a,a?[]:"",!1));return;case"textarea":S=v=null;for(f in a)if(l=a[f],a.hasOwnProperty(f)&&l!=null&&!n.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:fe(e,t,f,null,n,l)}for(s in n)if(l=n[s],i=a[s],n.hasOwnProperty(s)&&(l!=null||i!=null))switch(s){case"value":l!==i&&(ne=!0),v=l;break;case"defaultValue":l!==i&&(ne=!0),S=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(r(91));break;default:l!==i&&fe(e,t,s,l,n,i)}uf(e,v,S);return;case"option":for(var D in a)if(v=a[D],a.hasOwnProperty(D)&&v!=null&&!n.hasOwnProperty(D))switch(D){case"selected":e.selected=!1;break;default:fe(e,t,D,null,n,v)}for(h in n)if(v=n[h],S=a[h],n.hasOwnProperty(h)&&v!==S&&(v!=null||S!=null))switch(h){case"selected":v!==S&&(ne=!0),e.selected=v&&typeof v!="function"&&typeof v!="symbol";break;default:fe(e,t,h,v,n,S)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var H in a)v=a[H],a.hasOwnProperty(H)&&v!=null&&!n.hasOwnProperty(H)&&fe(e,t,H,null,n,v);for(p in n)if(v=n[p],S=a[p],n.hasOwnProperty(p)&&v!==S&&(v!=null||S!=null))switch(p){case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(r(137,t));break;default:fe(e,t,p,v,n,S)}return;default:if(wo(t)){for(var J in a)v=a[J],a.hasOwnProperty(J)&&v!==void 0&&!n.hasOwnProperty(J)&&zc(e,t,J,void 0,n,v);for(x in n)v=n[x],S=a[x],!n.hasOwnProperty(x)||v===S||v===void 0&&S===void 0||zc(e,t,x,v,n,S);return}}for(var y in a)v=a[y],a.hasOwnProperty(y)&&v!=null&&!n.hasOwnProperty(y)&&fe(e,t,y,null,n,v);for(E in n)v=n[E],S=a[E],!n.hasOwnProperty(E)||v===S||v==null&&S==null||fe(e,t,E,v,n,S)}function mg(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Py(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var l=a[n],i=l.transferSize,s=l.initiatorType,f=l.duration;if(i&&f&&mg(s)){for(s=0,f=l.responseEnd,n+=1;n<a.length;n++){var h=a[n],p=h.startTime;if(p>f)break;var x=h.transferSize,E=h.initiatorType;x&&mg(E)&&(h=h.responseEnd,s+=x*(h<f?1:(f-p)/(h-p)))}if(--n,t+=8*(i+s)/(l.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Dc=null,wc=null;function mi(e){return e.nodeType===9?e:e.ownerDocument}function vg(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function yg(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function pg(e,t,a,n){return a=mi(a).createElement(e),a[Be]=n,a[Pe]=t,Xe(a,e,t),Re(a),a}function jc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Mc=null;function Wy(){var e=window.event;return e&&e.type==="popstate"?e===Mc?!1:(Mc=e,!0):(Mc=null,!1)}var Rc=typeof setTimeout=="function"?setTimeout:void 0,ep=typeof clearTimeout=="function"?clearTimeout:void 0,bg=typeof Promise=="function"?Promise:void 0,Sg=typeof requestAnimationFrame=="function"?requestAnimationFrame:Rc,tp=typeof queueMicrotask=="function"?queueMicrotask:typeof bg<"u"?function(e){return bg.resolve(null).then(e).catch(ap)}:Rc;function ap(e){setTimeout(function(){throw e})}function La(e){return e==="head"}function xg(e,t){var a=t,n=0;do{var l=a.nextSibling;if(e.removeChild(a),l&&l.nodeType===8)if(a=l.data,a==="/$"||a==="/&"){if(n===0){e.removeChild(l),bl(t);return}n--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")n++;else if(a==="html")Yc(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Yc(a);for(var i=a.firstChild;i;){var s=i.nextSibling,f=i.nodeName;i[Ml]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&i.rel.toLowerCase()==="stylesheet"||a.removeChild(i),i=s}}else a==="body"&&Yc(e.ownerDocument.body);a=l}while(a);bl(t)}function _g(e,t){var a=e;e=0;do{var n=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=n}while(a)}function Tg(e,t,a){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,a!=null&&(e.style.viewTransitionClass=a),a=getComputedStyle(e),a.display==="inline"){if(t=e.getClientRects(),t.length===1)var n=1;else for(var l=n=0;l<t.length;l++){var i=t[l];0<i.width&&0<i.height&&n++}n===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+a.paddingTop,e.marginBottom="-"+a.paddingBottom)}}function Eg(e,t){e=e.style,t=t.style;var a=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=a==null||typeof a=="boolean"?"":(""+a).trim(),a=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=a==null||typeof a=="boolean"?"":(""+a).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(a=t.display,e.display=a==null||typeof a=="boolean"?"":a,a=t.margin,a!=null?e.margin=a:(a=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=a==null||typeof a=="boolean"?"":a,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function np(e,t,a){return a=a.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=a.innerHeight&&e.left<=a.innerWidth}}function Uc(e){var t=e.getBoundingClientRect(),a=getComputedStyle(e);return np(t,a,e)}function lp(e){return e.documentElement.clientHeight}function ip(e){this.addEventListener("load",e),this.addEventListener("error",e)}function up(e,t,a,n,l,i,s,f,h){var p=t.nodeType===9?t:t.ownerDocument;try{var x=p.startViewTransition({update:function(){var v=p.defaultView,S=v.navigation&&v.navigation.transition,D=p.fonts.status;n();var H=[];if(D==="loaded"&&(lp(p),p.fonts.status==="loading"&&H.push(p.fonts.ready)),D=H.length,e!==null)for(var J=e.suspenseyImages,y=0,m=0;m<J.length;m++){var b=J[m];if(!b.complete){var T=b.getBoundingClientRect();if(0<T.bottom&&0<T.right&&T.top<v.innerHeight&&T.left<v.innerWidth){if(y+=Zg(b),y>to){H.length=D;break}b=new Promise(ip.bind(b)),H.push(b)}}}if(0<H.length)return v=Promise.race([Promise.all(H),new Promise(function(q){return setTimeout(q,500)})]).then(l,l),(S?Promise.allSettled([S.finished,v]):v).then(i,i);if(l(),S)return S.finished.then(i,i);i()},types:a});p.__reactViewTransition=x;var E=[];return x.ready.then(function(){for(var v=p.documentElement.getAnimations({subtree:!0}),S=0;S<v.length;S++){var D=v[S],H=D.effect,J=H.pseudoElement;if(J!=null&&J.startsWith("::view-transition")){E.push(D),D=H.getKeyframes();for(var y=J=void 0,m=!0,b=0;b<D.length;b++){var T=D[b],q=T.width;if(J===void 0)J=q;else if(J!==q){m=!1;break}if(q=T.height,y===void 0)y=q;else if(y!==q){m=!1;break}delete T.width,delete T.height,T.transform==="none"&&delete T.transform}m&&J!==void 0&&y!==void 0&&(H.setKeyframes(D),m=getComputedStyle(H.target,H.pseudoElement),m.width!==J||m.height!==y)&&(m=D[0],m.width=J,m.height=y,m=D[D.length-1],m.width=J,m.height=y,H.setKeyframes(D))}}s()},function(v){p.__reactViewTransition===x&&(p.__reactViewTransition=null);try{if(typeof v=="object"&&v!==null)switch(v.name){case"InvalidStateError":(v.message==="View transition was skipped because document visibility state is hidden."||v.message==="Skipping view transition because document visibility state has become hidden."||v.message==="Skipping view transition because viewport size changed."||v.message==="Transition was aborted because of invalid state")&&(v=null)}v!==null&&h(v)}finally{n(),l(),s()}}),x.finished.finally(function(){for(var v=0;v<E.length;v++)E[v].cancel();p.__reactViewTransition===x&&(p.__reactViewTransition=null),f()}),x}catch{return n(),l(),s(),null}}function bn(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}bn.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:X({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},bn.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,a=e.getAnimations({subtree:!0}),n=[],l=0;l<a.length;l++){var i=a[l].effect;i!==null&&i.target===e&&i.pseudoElement===t&&n.push(a[l])}return n},bn.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Ng(e){return{name:e,group:new bn("group",e),imagePair:new bn("image-pair",e),old:new bn("old",e),new:new bn("new",e)}}function gt(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}gt.prototype.addEventListener=function(e,t,a){var n=null,l=null;if(!(a!=null&&typeof a!="boolean"&&(n=a.signal||null,n!==null&&n.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var i=this._eventListeners;if(Cg(i,e,t,a)===-1){var s=this,f=t;a!=null&&typeof a!="boolean"&&a.once===!0&&(f=function(h){s.removeEventListener(e,t,a),typeof t=="function"?t.call(this,h):t.handleEvent(h)}),n!==null&&(l=s.removeEventListener.bind(s,e,t,a),n.addEventListener("abort",l,{once:!0}),l=n.removeEventListener.bind(n,"abort",l)),n=hl(a),i.push({type:e,listener:t,optionsOrUseCapture:a,attachedListener:f,cleanup:l}),j(this._fragmentFiber.child,!1,op,e,f,n)}this._eventListeners=i}};function op(e,t,a,n){return M(e).addEventListener(t,a,n),!1}gt.prototype.removeEventListener=function(e,t,a){var n=this._eventListeners;if(n!==null&&(t=Cg(n,e,t,a),t!==-1)){var l=n[t];a=l.attachedListener;var i=l.cleanup;l=hl(l.optionsOrUseCapture),j(this._fragmentFiber.child,!1,sp,e,a,l),n.splice(t,1),i!==null&&i()}};function sp(e,t,a,n){return M(e).removeEventListener(t,a,n),!1}function hl(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function Ag(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function Cg(e,t,a,n){if(e.length===0)return-1;n=Ag(n);for(var l=0;l<e.length;l++){var i=e[l];if(i.type===t&&i.listener===a&&Ag(i.optionsOrUseCapture)===n)return l}return-1}gt.prototype.dispatchEvent=function(e){var t=z(this._fragmentFiber);if(t===null)return!0;t=M(t);var a=this._eventListeners;if(a!==null&&0<a.length||!e.bubbles){var n=t.nodeType===9?t.createComment(""):document.createTextNode("");if(a)for(var l=0;l<a.length;l++){var i=a[l];n.addEventListener(i.type,i.attachedListener,hl(i.optionsOrUseCapture))}if(t.appendChild(n),e=n.dispatchEvent(e),a)for(l=0;l<a.length;l++)i=a[l],n.removeEventListener(i.type,i.attachedListener,hl(i.optionsOrUseCapture));return t.removeChild(n),e}return t.dispatchEvent(e)},gt.prototype.focus=function(e){j(this._fragmentFiber.child,!0,Og,e,void 0,void 0)};function Og(e,t){return e.tag===6?!1:(e=M(e),Sp(e,t))}gt.prototype.focusLast=function(e){var t=[];j(this._fragmentFiber.child,!0,qc,t,void 0,void 0);for(var a=t.length-1;0<=a&&!Og(t[a],e);a--);};function qc(e,t){return t.push(e),!1}gt.prototype.blur=function(){var e=z(this._fragmentFiber);e!==null&&(e=M(e),e=mi(e).activeElement,e!==null&&j(this._fragmentFiber.child,!1,cp,e,void 0,void 0))};function cp(e,t){return e.tag===6?!1:(e=M(e),e===t||e.contains(t)?(t.blur(),!0):!1)}gt.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),j(this._fragmentFiber.child,!1,rp,e,void 0,void 0)};function rp(e,t){return e.tag===6||(e=M(e),t.observe(e)),!1}gt.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),j(this._fragmentFiber.child,!1,fp,e,void 0,void 0);for(var a=t=0;a<Dt.length;a++){var n=Dt[a];n.fragmentInstance===this&&n.observer===e?e.unobserve(n.instance):Dt[t++]=n}Dt.length=t}};function fp(e,t){return e.tag===6||(e=M(e),t.unobserve(e)),!1}var Dt=[],Lc=!1;function dp(e,t,a){Dt.push({fragmentInstance:e,observer:t,instance:a}),Lc||(Lc=!0,xp(function(){Lc=!1;var n=Dt;Dt=[];for(var l=0;l<n.length;l++){var i=n[l];i.observer.unobserve(i.instance)}}))}gt.prototype.getClientRects=function(){var e=[];return j(this._fragmentFiber.child,!1,hp,e,void 0,void 0),e};function hp(e,t){if(e.tag===6){e=e.stateNode;var a=e.ownerDocument.createRange();a.selectNodeContents(e),t.push.apply(t,a.getClientRects())}else e=M(e),t.push.apply(t,e.getClientRects());return!1}gt.prototype.getRootNode=function(e){var t=z(this._fragmentFiber);return t===null?this:M(t).getRootNode(e)},gt.prototype.compareDocumentPosition=function(e){var t=z(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var a=[];j(this._fragmentFiber.child,!1,qc,a,void 0,void 0);var n=M(t);if(a.length===0){if(a=n,Y(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(a=t)}t=this._fragmentFiber;var l=n=a.compareDocumentPosition(e);return a===e?l=Node.DOCUMENT_POSITION_CONTAINS:n&Node.DOCUMENT_POSITION_CONTAINED_BY&&(a=R(t)[1],a===null?l=Node.DOCUMENT_POSITION_PRECEDING:(e=M(a).compareDocumentPosition(e),l=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),l|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=M(a[0]),l=M(a[a.length-1]);var i=Y(this._fragmentFiber)?t.parentElement:n;if(i==null)return Node.DOCUMENT_POSITION_DISCONNECTED;n=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY;var s=t.compareDocumentPosition(e),f=l.compareDocumentPosition(e),h=s&Node.DOCUMENT_POSITION_CONTAINED_BY||f&Node.DOCUMENT_POSITION_CONTAINED_BY;return f=n&&i&&s&Node.DOCUMENT_POSITION_FOLLOWING&&f&Node.DOCUMENT_POSITION_PRECEDING,t=n&&t===e||i&&l===e||h||f?Node.DOCUMENT_POSITION_CONTAINED_BY:!n&&t===e||!i&&l===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:s,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||gp(t,this._fragmentFiber,a[0],a[a.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function gp(e,t,a,n,l){var i=Fa(l);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(a=!!i)e:{for(;i!==null;){if(i.tag===7&&(i===t||i.alternate===t)){a=!0;break e}i=i.return}a=!1}return a}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(i===null)return i=l.ownerDocument,l===i||l===i.documentElement||l===i.body;e:{for(i=t,t=z(t);i!==null;){if(!(i.tag!==5&&i.tag!==3&&i.tag!==27||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===a)&&(t=te(a,i,we),t===null?t=!1:(j(t,!0,Ie,i,a),i=$,$=null,t=i!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!i)&&!(t=i===n)&&(t=te(n,i,we),t===null?t=!1:(j(t,!0,Me,i,n),i=$,oe=$=null,t=i!==null)),t):!1}function zg(e,t){var a=e.ownerDocument.createRange();a.selectNodeContents(e),e=a.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}gt.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(r(566));var t=[];j(this._fragmentFiber.child,!1,qc,t,void 0,void 0);var a=e!==!1;if(t.length===0){var n=R(this._fragmentFiber);if(n=a?n[1]||n[0]||z(this._fragmentFiber):n[0]||n[1],n===null)return;if(n.tag===6){e=M(n),zg(e,a);return}if(n=M(n),n.nodeType!==9){if(n.nodeType===11){a="host"in n?n.host:null,a!==null&&a.scrollIntoView(e);return}n.scrollIntoView(e)}}for(n=a?t.length-1:0;n!==(a?-1:t.length);){var l=t[n];l.tag===6?(l=M(l),zg(l,a)):M(l).scrollIntoView(e),n+=a?-1:1}};function mp(e,t){return e=M(e),Dg(e,t),!1}function Dg(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function wg(e,t){var a=t._eventListeners;if(a!==null)for(var n=0;n<a.length;n++){var l=a[n];e.addEventListener(l.type,l.attachedListener,hl(l.optionsOrUseCapture))}e.nodeType!==3&&(a=t._observers,a!==null&&a.forEach(function(i){for(var s=0,f=0;f<Dt.length;f++){var h=Dt[f];(h.fragmentInstance!==t||h.observer!==i||h.instance!==e)&&(Dt[s++]=h)}Dt.length=s,i.observe(e)}),Dg(e,t))}function vp(e,t){var a=t._eventListeners;if(a!==null)for(var n=0;n<a.length;n++){var l=a[n];e.removeEventListener(l.type,l.attachedListener,hl(l.optionsOrUseCapture))}e.nodeType!==3&&(a=t._observers,a!==null&&a.forEach(function(i){typeof i.rootMargin=="str
34ing"?dp(t,i,e):i.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function Hc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Hc(a),Qi(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function yp(e,t,a,n){for(;e.nodeType===1;){var l=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[Ml])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=_t(e.nextSibling),e===null)break}return null}function pp(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=_t(e.nextSibling),e===null))return null;return e}function jg(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=_t(e.nextSibling),e===null))return null;return e}function Bc(e){return e.data==="$?"||e.data==="$~"}function Gc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function bp(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var n=function(){t(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function _t(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==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Vc=null;function Mg(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return _t(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function Rg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function Sp(e,t){function a(){n=!0}if(e.ownerDocument.activeElement===e)return!0;var n=!1;try{e.ownerDocument.addEventListener("focus",a,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",a,!0)}return n}function xp(e){Sg(function(){Sg(function(t){return e(t)})})}function Ug(e,t,a){switch(t=mi(a),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function qg(e,t,a){for(var n in a){var l=a[n];a.hasOwnProperty(n)&&l!=null&&fe(e,t,n,null,Iy,l)}a.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===Ut&&(e.onclick=null),Qi(e)}function Yc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Qi(e)}var Tt=new Map,Lg=new Set;function vi(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var ca=le.d;le.d={f:_p,r:Tp,D:Ep,C:Np,L:Ap,m:Cp,X:zp,S:Op,M:Dp};function _p(){var e=ca.f(),t=ku();return e||t}function Tp(e){var t=jn(e);t!==null&&t.tag===5&&t.type==="form"?Bd(t):ca.r(e)}var gl=typeof document>"u"?null:document;function Hg(e,t,a){var n=gl;if(n&&typeof t=="string"&&t){var l=mt(t);
vendor: 12,171 bytes, line 34
34l='link[rel="'+e+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),Lg.has(l)||(Lg.add(l),e={rel:e,crossOrigin:a,href:t},n.querySelector(l)===null&&(t=n.createElement("link"),Xe(t,"link",e),Re(t),n.head.appendChild(t)))}}function Ep(e){ca.D(e),Hg("dns-prefetch",e,null)}function Np(e,t){ca.C(e,t),Hg("preconnect",e,t)}function Ap(e,t,a){ca.L(e,t,a);var n=gl;if(n&&e&&t){var l='link[rel="preload"][as="'+mt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+mt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+mt(a.imageSizes)+'"]')):l+='[href="'+mt(e)+'"]';var i=l;switch(t){case"style":i=ml(e);break;case"script":i=vl(e)}if(!(Tt.has(i)||(e=X({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Tt.set(i,e),n.querySelector(l)!==null||t==="style"&&n.querySelector(yi(i))||t==="script"&&n.querySelector(pi(i))))){var s=n.createElement("link");Xe(s,"link",e),t==="style"&&(s[Yi]=!0,s.onload=s.onerror=function(){Ir(s)}),Re(s),n.head.appendChild(s)}}}function Cp(e,t){ca.m(e,t);var a=gl;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+mt(n)+'"][href="'+mt(e)+'"]',i=l;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=vl(e)}if(!Tt.has(i)&&(e=X({rel:"modulepreload",href:e},t),Tt.set(i,e),a.querySelector(l)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(pi(i)))return}n=a.createElement("link"),Xe(n,"link",e),Re(n),a.head.appendChild(n)}}}function Op(e,t,a){ca.S(e,t,a);var n=gl;if(n&&e){var l=Mn(n).hoistableStyles,i=ml(e);t=t||"default";var s=l.get(i);if(!s){var f={loading:0,preload:null};if(s=n.querySelector(yi(i)))f.loading=5;else{e=X({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Tt.get(i))&&Qc(e,a);var h=s=n.createElement("link");Re(h),Xe(h,"link",e),h._p=new Promise(function(p,x){h.onload=p,h.onerror=x}),h.addEventListener("load",function(){f.loading|=1}),h.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Wu(s,t,n)}s={type:"stylesheet",instance:s,count:1,state:f},l.set(i,s)}}}function zp(e,t){ca.X(e,t);var a=gl;if(a&&e){var n=Mn(a).hoistableScripts,l=vl(e),i=n.get(l);i||(i=a.querySelector(pi(l)),i||(e=X({src:e,async:!0},t),(t=Tt.get(l))&&Xc(e,t),i=a.createElement("script"),Re(i),Xe(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function Dp(e,t){ca.M(e,t);var a=gl;if(a&&e){var n=Mn(a).hoistableScripts,l=vl(e),i=n.get(l);i||(i=a.querySelector(pi(l)),i||(e=X({src:e,async:!0,type:"module"},t),(t=Tt.get(l))&&Xc(e,t),i=a.createElement("script"),Re(i),Xe(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function Bg(e,t,a,n){var l=(l=ga.current)?vi(l):null;if(!l)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=ml(a.href),t=Mn(l).hoistableStyles,n=t.get(a),n||(n={type:"style",instance:null,count:0,state:null},t.set(a,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=ml(a.href);var i=Mn(l).hoistableStyles,s=i.get(e);if(s||(l=l.ownerDocument||l,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,s),(i=l.querySelector(yi(e)))?i._p||(s.instance=i,s.state.loading=5):(i=Tt.get(e),i||(i={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Tt.set(e,i)),wp(l,e,i,s.state))),t&&n===null)throw Error(r(528,""));return s}if(t&&n!==null)throw Error(r(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=vl(a),t=Mn(l).hoistableScripts,n=t.get(a),n||(n={type:"script",instance:null,count:0,state:null},t.set(a,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function ml(e){return'href="'+mt(e)+'"'}function yi(e){return'link[rel="stylesheet"]['+e+"]"}function Gg(e){return X({},e,{"data-precedence":e.precedence,precedence:null})}function wp(e,t,a,n){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[Yi]!==!0){n.loading=1;return}}else t=e.createElement("link"),t[Yi]=!0,t.onload=t.onerror=Ir.bind(null,t),Xe(t,"link",a),Re(t),e.head.appendChild(t);n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2})}function vl(e){return'[src="'+mt(e)+'"]'}function pi(e){return"script[async]"+e}function Vg(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+mt(a.href)+'"]');if(n)return t.instance=n,Re(n),n;var l=X({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),Re(n),Xe(n,"style",l),Wu(n,a.precedence,e),t.instance=n;case"stylesheet":l=ml(a.href);var i=e.querySelector(yi(l));if(i)return t.state.loading|=4,t.instance=i,Re(i),i;n=Gg(a),(l=Tt.get(l))&&Qc(n,l),i=(e.ownerDocument||e).createElement("link"),Re(i);var s=i;return s._p=new Promise(function(f,h){s.onload=f,s.onerror=h}),Xe(i,"link",n),t.state.loading|=4,Wu(i,a.precedence,e),t.instance=i;case"script":return i=vl(a.src),(l=e.querySelector(pi(i)))?(t.instance=l,Re(l),l):(n=a,(l=Tt.get(i))&&(n=X({},a),Xc(n,l)),e=e.ownerDocument||e,l=e.createElement("script"),Re(l),Xe(l,"link",n),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,Wu(n,a.precedence,e));return t.instance}function Wu(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=n.length?n[n.length-1]:null,i=l,s=0;s<n.length;s++){var f=n[s];if(f.dataset.precedence===t)i=f;else if(i!==l)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Qc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Xc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var eo=null;function Yg(e,t,a){if(eo===null){var n=new Map,l=eo=new Map;l.set(a,n)}else l=eo,n=l.get(a),n||(n=new Map,l.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),l=0;l<a.length;l++){var i=a[l];if(!(i[Ml]||i[Be]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var s=i.getAttribute(t)||"";s=e+s;var f=n.get(s);f?f.push(i):n.set(s,[i])}}return n}function Zc(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function jp(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Qg(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function Xg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Zg(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function kg(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=Zg(t),e.suspenseyImages.push(t)),e=Up.bind(e),t.decode().then(e,e))}function Mp(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var l=ml(n.href),i=t.querySelector(yi(l));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=bi.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,Re(i);return}i=t.ownerDocument||t,n=Gg(n),(l=Tt.get(l))&&Qc(n,l),i=i.createElement("link"),Re(i);var s=i;s._p=new Promise(function(f,h){s.onload=f,s.onerror=h}),Xe(i,"link",n),a.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=bi.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var to=0;function Rp(e,t){return e.stylesheets&&e.count===0&&no(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&&no(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&to===0&&(to=62500*Py());var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&no(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>to?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(l)}}:null}function Jg(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)no(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function bi(){this.count--,Jg(this)}function Up(){this.imgCount--,Jg(this)}var ao=null;function no(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ao=new Map,t.forEach(qp,e),ao=null,bi.call(e))}function qp(e,t){if(!(t.state.loading&4)){var a=ao.get(e);if(a)var n=a.get(null);else{a=new Map,ao.set(e,a);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<l.length;i++){var s=l[i];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(a.set(s.dataset.precedence,s),n=s)}n&&a.set(null,n)}l=t.instance,s=l.getAttribute("data-precedence"),i=a.get(s)||n,i===n&&a.set(null,l),a.set(s,l),this.count++,n=bi.bind(this),l.addEventListener("load",n),l.addEventListener("error",n),i?i.parentNode.insertBefore(l,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=4}}var yl={$$typeof:Fe,Provider:null,Consumer:null,_currentValue:$a,_currentValue2:$a,_threadCount:0};function Lp(e,t,a,n,l,i,s,f,h){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=No(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=No(0),this.hiddenUpdates=No(null),this.identifierPrefix=n,this.onUncaughtError=l,this.onCaughtError=i,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.transitionTypes=null,this.incompleteTransitions=new Map}function Kg(e,t,a,n,l,i,s,f,h,p,x,E){return e=new Lp(e,t,a,s,h,p,x,E,f),t=1,i===!0&&(t|=24),i=We(3,null,null,t),e.current=i,i.stateNode=e,t=us(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:a,cache:t},rs(i),e}function $g(e){return e?(e=Qn,e):Qn}function Ig(e,t,a,n,l,i){l=$g(l),n.context===null?n.context=l:n.pendingContext=l,n=Na(t),n.payload={element:a},i=i===void 0?null:i,i!==null&&(n.callback=i),a=Aa(e,n,t),a!==null&&(nt(a,e,t),Il(a,e,t))}function Fg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function kc(e,t){Fg(e,t),(e=e.alternate)&&Fg(e,t)}function Pg(e){if(e.tag===13||e.tag===31){var t=tn(e,67108864);t!==null&&nt(t,e,67108864),kc(e,67108864)}}function Wg(e){if(e.tag===13||e.tag===31){var t=ht();t=Ao(t);var a=tn(e,t);a!==null&&nt(a,e,t),kc(e,t)}}var pl=!0;function Hp(e,t,a,n){var l=Q.T;Q.T=null;var i=le.p;try{le.p=2,Jc(e,t,a,n)}finally{le.p=i,Q.T=l}}function Bp(e,t,a,n){var l=Q.T;Q.T=null;var i=le.p;try{le.p=8,Jc(e,t,a,n)}finally{le.p=i,Q.T=l}}
vendor: 4,356 bytes, line 34
34function Jc(e,t,a,n){if(pl){var l=Kc(n);if(l===null)Oc(e,t,n,lo,a),tm(e,n);else if(Vp(l,e,t,a,n))n.stopPropagation();else if(tm(e,n),t&4&&-1<Gp.indexOf(e)){for(;l!==null;){var i=jn(l);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var s=Ia(i.pendingLanes);if(s!==0){var f=i;for(f.pendingLanes|=2,f.entangledLanes|=2;s;){var h=1<<31-ut(s);f.entanglements[1]|=h,s&=~h}Zt(i),(ie&6)===0&&(Qu=lt()+500,di(0))}}break;case 31:case 13:f=tn(i,2),f!==null&&nt(f,i,2),ku(),kc(i,2)}if(i=Kc(n),i===null&&Oc(e,t,n,lo,a),i===l)break;l=i}l!==null&&n.stopPropagation()}else Oc(e,t,n,null,a)}}function Kc(e){return e=Mo(e),$c(e)}var lo=null;function $c(e){if(lo=null,e=Fa(e),e!==null){var t=_(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=N(t),e!==null)return e;e=null}else if(a===31){if(e=O(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return lo=e,null}function em(e){switch(e){case"beforetoggle":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"seeked":case"submit":case"toggle":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"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(P0()){case Hr:return 2;case Br:return 8;case Li:case W0:return 32;case Gr:return 268435456;default:return 32}default:return 32}}var Ic=!1,Ha=null,Ba=null,Ga=null,Si=new Map,xi=new Map,Va=[],Gp="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".split(" ");function tm(e,t){switch(e){case"focusin":case"focusout":Ha=null;break;case"dragenter":case"dragleave":Ba=null;break;case"mouseover":case"mouseout":Ga=null;break;case"pointerover":case"pointerout":Si.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xi.delete(t.pointerId)}}function _i(e,t,a,n,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:i,targetContainers:[l]},t!==null&&(t=jn(t),t!==null&&Pg(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Vp(e,t,a,n,l){switch(t){case"focusin":return Ha=_i(Ha,e,t,a,n,l),!0;case"dragenter":return Ba=_i(Ba,e,t,a,n,l),!0;case"mouseover":return Ga=_i(Ga,e,t,a,n,l),!0;case"pointerover":var i=l.pointerId;return Si.set(i,_i(Si.get(i)||null,e,t,a,n,l)),!0;case"gotpointercapture":return i=l.pointerId,xi.set(i,_i(xi.get(i)||null,e,t,a,n,l)),!0}return!1}function am(e){var t=Fa(e.target);if(t!==null){var a=_(t);if(a!==null){if(t=a.tag,t===13){if(t=N(a),t!==null){e.blockedOn=t,Jr(e.priority,function(){Wg(a)});return}}else if(t===31){if(t=O(a),t!==null){e.blockedOn=t,Jr(e.priority,function(){Wg(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function io(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Kc(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);jo=n,a.target.dispatchEvent(n),jo=null}else return t=jn(a),t!==null&&Pg(t),e.blockedOn=a,!1;t.shift()}return!0}function nm(e,t,a){io(e)&&a.delete(t)}function Yp(){Ic=!1,Ha!==null&&io(Ha)&&(Ha=null),Ba!==null&&io(Ba)&&(B
vendor: 5,445 bytes, line 34
34a=null),Ga!==null&&io(Ga)&&(Ga=null),Si.forEach(nm),xi.forEach(nm)}function uo(e,t){e.blockedOn===t&&(e.blockedOn=null,Ic||(Ic=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Yp)))}var oo=null;function lm(e){oo!==e&&(oo=e,o.unstable_scheduleCallback(o.unstable_NormalPriority,function(){oo===e&&(oo=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],l=e[t+2];if(typeof n!="function"){if($c(n||a)===null)continue;break}var i=jn(a);i!==null&&(e.splice(t,3),t-=3,ws(i,{pending:!0,data:l,method:a.method,action:n},n,l))}}))}function bl(e){function t(h){return uo(h,e)}Ha!==null&&uo(Ha,e),Ba!==null&&uo(Ba,e),Ga!==null&&uo(Ga,e),Si.forEach(t),xi.forEach(t);for(var a=0;a<Va.length;a++){var n=Va[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<Va.length&&(a=Va[0],a.blockedOn===null);)am(a),a.blockedOn===null&&Va.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var l=a[n],i=a[n+1],s=l[Pe]||null;if(typeof i=="function")s||lm(a);else if(s){var f=null;if(i&&i.hasAttribute("formAction")){if(l=i,s=i[Pe]||null)f=s.formAction;else if($c(l)!==null)continue}else f=s.action;typeof f=="function"?a[n+1]=f:(a.splice(n,3),n-=3),lm(a)}}}function im(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(s){return l=s})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),n||setTimeout(a,20)}function a(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function Fc(e){this._internalRoot=e}so.prototype.render=Fc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var a=t.current,n=ht();Ig(a,n,e,t,null,null)},so.prototype.unmount=Fc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ig(e.current,2,null,e,null,null),ku(),t[wn]=null}};function so(e){this._internalRoot=e}so.prototype.unstable_scheduleHydration=function(e){if(e){var t=kr();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Va.length&&t!==0&&t<Va[a].priority;a++);Va.splice(a,0,e),a===0&&am(e)}};var um=u.version;if(um!=="19.3.0")throw Error(r(527,um,"19.3.0"));le.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=C(t),e=e!==null?L(e):null,e=e===null?null:e.stateNode,e};var Qp={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:Q,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var co=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!co.isDisabled&&co.supportsFiber)try{Dl=co.inject(Qp),it=co}catch{}}return Ei.createRoot=function(e,t){if(!g(e))throw Error(r(299));var a=!1,n="",l=$d,i=Id,s=Fd;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Kg(e,1,!1,null,null,a,n,null,l,i,s,im),e[wn]=t.current,Cc(e),new Fc(t)},Ei.hydrateRoot=function(e,t,a){if(!g(e))throw Error(r(299));var n=!1,l="",i=$d,s=Id,f=Fd,h=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(i=a.onUncaughtError),a.onCaughtError!==void 0&&(s=a.onCaughtError),a.onRecoverableError!==void 0&&(f=a.onRecoverableError),a.formState!==void 0&&(h=a.formState)),t=Kg(e,1,!0,t,a??null,n,l,h,i,s,f,im),t.context=$g(null),a=t.current,n=ht(),n=Ao(n),l=Na(n),l.callback=null,Aa(a,l,n),a=n,t.current.lanes=a,jl(t,a),Zt(t),e[wn]=t.current,Cc(e),new so(t)},Ei.version="19.3.0",Ei}var hm;function ub(){if(hm)return Wc.exports;hm=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(u){console.error(u)}}return o(),Wc.exports=ib(),Wc.exports}var ob=ub();const sb=$p(ob),cb=["whatsapp","facebook_messenger","instagram"];function C2(o){return cb.includes(o)}function Sn(o){const u=typeof o.webhookUrl=="string"?o.webhookUrl:"",c=o.binding&&typeof o.binding=="object"?o.binding:{agentId:typeof o.agentId=="string"?o.agentId:null};return{id:String(o.id??""),provider:o.provider,label:o.label??null,status:o.status??"pending_credentials",agentId:o.agentId??c.agentId??null,binding:{agentId:c.agentId??o.agentId??null},publicWebhookUrl:u,webhookUrl:u,credentialsConfigured:!!(o.credentialsConfigured??o.hasCredentials),enabled:!!o.enabled,autoReplyEnabled:!!o.autoReplyEnabled,webhookSubjectId:o.webhookSubjectId??null,sendFromId:o.sendFromId??null,credentialsVerifiedAt:Ni(o.credentialsVerifiedAt),webhookVerifiedAt:Ni(o.webhookVerifiedAt),lastErrorCode:o.lastErrorCode??null,lastErrorMessage:o.lastErrorMessage??null,createdAt:Ni(o.createdAt)??"",updatedAt:Ni(o.updatedAt)??"",disconnectedAt:Ni(o.disconnectedAt)}}
34function Ni(o){return o==null?null:typeof o=="string"?o:o instanceof Date?o.toISOString():String(o)}const O2=["open","won","lost","bounced","opted_out","paid"],rb={open:"Open",won:"Won",lost:"Lost",bounced:"Bounced",opted_out:"Opted out",paid:"Paid"};function gm(o){return o?rb[o]??o:"Open"}function z2(o,u,c){const r=u==="email"?["email"]:["phone","whatsapp"],g=u==="email"?N=>N.trim().toLowerCase():N=>N.replace(/\D/g,""),_=g(c);return _!==""&&o.some(N=>r.includes(N.kind)&&(N.source==="sender"||N.source==="user")&&g(N.value)===_)}const D2={not_chosen:"The new-lead email has not been chosen yet.",setting_off:"New-lead emails are off.",email_notifications_off:"Email notifications are off in Settings, so no new-lead email is sent.",guest_account:"A trial account gets no new-lead email.",placeholder_address:"The account has no real email address to send to.",email_not_configured:"Email is not set up on this server yet, so no new-lead email is sent."};function fb(o){var r;const u={};o.limit!==void 0&&(u.limit=o.limit),o.cursor&&(u.cursor=o.cursor);for(const g of["status","stage","tag","contactId","createdFrom","createdTo"]){const _=o[g];typeof _=="string"&&_.trim()&&(u[g]=_.trim())}o.includeArchived&&(u.includeArchived=!0);const c=(r=o.q)==null?void 0:r.trim();return c&&(u.q=c),u}function ar(o,u){var c,r;return u===null?((c=o==null?void 0:o[0])==null?void 0:c.label)??"First stage":((r=o==null?void 0:o.find(g=>g.key===u))==null?void 0:r.label)??u}function w2(o,u){if(o==null)return"â";const c=o/100;if(u&&/^[A-Z]{3}$/.test(u))try{return new Intl.NumberFormat("en-US",{style:"currency",currency:u}).format(c)}catch{}return`${new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}).format(c)}${u?` ${u}`:""}`}function j2(o){return o==null?"â":`${Math.round(o*100)}%`}function M2(o,u){const c=o.data??{};switch(o.kind){case"note":return o.body??"";case"stage_change":return!o.fromStage&&c.created?`Created at ${ar(u,o.toStage??null)}`:`Stage changed from ${ar(u,o.fromStage??null)} to ${ar(u,o.toStage??null)}`;case"status_change":return`Status changed from ${gm(String(c.from??""))} to ${gm(String(c.to??""))}`;case"field_change":return`Changed ${Array.isArray(c.fields)?c.fields.join(", "):"fields"}`;case"lead_captured":return"Captured by an agent";case"lead_created":return"Created by hand";case"archived":return"Archived";case"unarchived":return"Restored";case"contact_merged":return"Moved to this contact in a merge";case"merge_suggested":return`Possible duplicate contact (same ${String(c.matchedBy??"detail")})`;case"identity_moved":return"A number moved to the messaging sender's contact";default:return o.kind}}const mm="/api/v1",nr="verbalo_token",lr="vb_token",fr="verbalo:session-expired",ir=new Map;function vm(){return typeof window<"u"&&window.localStorage?window.localStorage:{getItem:o=>ir.get(o)??null,setItem:(o,u)=>{ir.set(o,u)},removeItem:o=>{ir.delete(o)}}}class db extends Error{constructor(u){super("Session expired"),this.code=u}}const hb="guest_session_expired",gb="x-verbalo-onboarding-secret";function xn(o){return{[gb]:o}}class zi extends Error{constructor(u,c,r,g){super(u),this.status=c,this.code=r,this.body=g,this.name="ApiError"}}const R2=25*1024*1024;class mb{constructor(){om(this,"token",null)}setToken(u){const c=vm();if(this.token=u,u){c.setItem(nr,u),c.removeItem(lr);return}c.removeItem(nr),c.removeItem(lr)}getToken(){if(!this.token){const u=vm();this.token=u.getItem(nr)||u.getItem(lr)}return this.token}async request(u,c={}){var w;const r={};c.body&&(r["Content-Type"]="application/json");const g=this.getToken();g&&(r.Authorization=`Bearer ${g}`);const _=await fetch(`${mm}${u}`,{...c,headers:{...r,...c.headers}});if(_.status===401){this.setToken(null);let C;try{C=(w=await _.clone().json())==null?void 0:w.code}catch{C=void 0}throw window.dispatchEvent(new CustomEvent(fr,{detail:{code:C}})),new db(C)}if(_.status===204||_.headers.get("content-length")==="0"){if(!_.ok)throw new zi("Request failed",_.status);return}let N;try{N=await _.json()}catch{throw new zi(_.ok?"The server sent a response we could not read. Please try again.":"The server is briefly unavailable. Please try again in a moment.",_.status)}const O=N??{};if(!_.ok)throw new zi(O.message||O.error||"Request failed",_.status,O.code,N);return N}login(u,c){return this.request("/auth/login",{method:"POST",body:JSON.stringify({email:u,password:c})})}register(u,c,r){return this.request("/auth/register",{method:"POST",body:JSON.stringify({email:u,password:c,name:r})})}startGuestSession(){return this.request("/public/guest-account",{method:"POST"})}convertGuest(u,c,r){return this.request("/auth/convert-guest",{method:"POST",body:JSON.stringify({email:u,password:c,name:r})})}getProfile(){return this.request("/profile")}updateProfile(u){return this.request("/profile",{method:"PUT",body:JSON.stringify(u)})}changePassword(u,c){return this.request("/profile/password",{method:"POST",body:JSON.stringify({currentPassword:u,newPassword:c})})}getAgents(){return this.request("/agents")}getAgent(u){return this.request(`/agents/${u}`)}createAgent(u){return this.request("/agents",{method:"POST",body:JSON.stringify(u)})}updateAgent(u,c){return this.request(`/agents/${u}`,{method:"PUT",body:JSON.stringify(c)})}deleteAgent(u){return this.request(`/agents/${u}`,{method:"DELETE"})}getAgentCalendar(u,c){const r=c!=null&&c.verify?"?verify=1":"";return this.request(`/agents/${u}/calendar${r}`)}updateAgentCalendar(u,c,r){return this.request(`/agents/${u}
34/calendar`,{method:"PUT",body:JSON.stringify({enabled:c,calendarResourceId:r})})}listCalendarResources(){return this.request("/calendar-resources")}getCalendarResourceGoogle(u,c){const r=c!=null&&c.verify?"?verify=1":"";return this.request(`/calendar-resources/${u}/google${r}`)}startGoogleConnect(u){return this.request(`/agents/${u}/calendar/google/start`,{method:"POST"})}disconnectAgentGoogleCalendar(u){return this.request(`/agents/${u}/calendar/google/disconnect`,{method:"POST"})}renameCalendarResource(u,c){return this.request(`/calendar-resources/${u}`,{method:"PATCH",body:JSON.stringify({name:c})})}deleteCalendarResource(u){return this.request(`/calendar-resources/${u}`,{method:"DELETE"})}getAgentCalendarSchedule(u,c){const r=new URLSearchParams({start:c.start,end:c.end});return c.duration&&r.set("duration",String(c.duration)),this.request(`/agents/${u}/calendar/schedule?${r}`)}getCalls(u){const c=new URLSearchParams;return u!=null&&u.limit&&c.set("limit",String(u.limit)),u!=null&&u.offset&&c.set("offset",String(u.offset)),u!=null&&u.status&&c.set("status",u.status),u!=null&&u.agentId&&c.set("agentId",u.agentId),u!=null&&u.outcome&&c.set("outcome",u.outcome),u!=null&&u.dateFrom&&c.set("dateFrom",u.dateFrom),u!=null&&u.dateTo&&c.set("dateTo",u.dateTo),this.request(`/calls?${c}`)}getCall(u){return this.request(`/calls/${u}`)}getAnalytics(u=30){return this.request(`/dashboard/metrics?days=${u}`)}getDashboardConversations(u){const c=new URLSearchParams({days:String(u.days??30),limit:String(u.limit??20)});return this.request(`/dashboard/conversations?${c}`)}askInsights(u){return this.request("/insights/ask",{method:"POST",body:JSON.stringify({question:u})})}getPlans(){return this.request("/billing/plans")}getUsage(){return this.request("/billing/usage")}createCheckoutSession(u){return this.request("/billing/checkout-session",{method:"POST",body:JSON.stringify(u)})}createCustomerPortal(){return this.request("/billing/customer-portal",{method:"POST"})}upgradePlan(u){return this.request("/billing/upgrade",{method:"POST",body:JSON.stringify({plan:u})})}addCredits(u){return this.request("/billing/add-credits",{method:"POST",body:JSON.stringify({credits:u})})}getCampaigns(){return this.request("/campaigns")}createCampaign(u){return this.request("/campaigns",{method:"POST",body:JSON.stringify(u)})}launchCampaign(u){return this.request(`/campaigns/${u}/launch`,{method:"POST"})}getCampaign(u){return this.request(`/campaigns/${u}`)}pauseCampaign(u){return this.request(`/campaigns/${u}/pause`,{method:"POST"})}resumeCampaign(u){return this.request(`/campaigns/${u}/resume`,{method:"POST"})}stopCampaign(u){return this.request(`/campaigns/${u}/stop`,{method:"POST"})}getTemplates(){return this.request("/templates")}getTemplateCv(u){return this.request(`/templates/${u}/cv`)}createAgentFromTemplate(u){return this.request("/agents/from-template",{method:"POST",body:JSON.stringify({template:u})})}getIntegrations(){return this.request("/integrations")}connectIntegration(u){return this.request("/integrations",{method:"POST",body:JSON.stringify(u)})}listMessagingChannels(){return this.request("/messaging/channels").then(u=>({channels:(u.channels||[]).map(c=>Sn(c))}))}createMessagingChannel(u){return this.request("/messaging/channels",{method:"POST",body:JSON.stringify(u)}).then(c=>({channel:Sn(c.channel),credentialsUrl:c.credentialsUrl}))}getMessagingChannelSetup(u){return this.request(`/messaging/channels/${u}/setup`,{headers:{"Cache-Control":"no-store"}})}putMessagingChannelCredentials(u,c){return this.request(`/messaging/channels/${u}/credentials`,{method:"PUT",body:JSON.stringify(c),headers:{"Cache-Control":"no-store"}}).then(r=>({channel:Sn(r.channel)}))}verifyMessagingChannel(u){return this.request(`/messaging/channels/${u}/verify`,{method:"POST"}).then(c=>({channel:Sn(c.channel)}))}putMessagingChannelBinding(u,c){return this.request(`/messaging/channels/${u}/binding`,{method:"PUT",body:JSON.stringify(c)}).then(r=>({channel:Sn(r.channel)}))}putMessagingChannelState(u,c){return this.request(`/messaging/channels/${u}/state`,{method:"PUT",body:JSON.stringify(c)}).then(r=>({channel:Sn(r.channel)}))}disconnectMessagingChannel(u){return this.request(`/messaging/channels/${u}/disconnect`,{method:"POST"}).then(c=>({channel:Sn(c.channel)}))}listMessagingThreads(u){const c=new URLSearchParams;u!=null&&u.channelId&&c.set("channelId",u.channelId),u!=null&&u.agentId&&c.set("agentId",u.agentId),(u==null?void 0:u.limit)!=null&&c.set("limit",String(u.limit)),u!=null&&u.cursor&&c.set("cursor",u.cursor);const r=c.toString();return this.request(`/messaging/threads${r?`?${r}`:""}`)}
34getMessagingThread(u,c){const r=new URLSearchParams;(c==null?void 0:c.limit)!=null&&r.set("limit",String(c.limit)),c!=null&&c.cursor&&r.set("cursor",c.cursor);const g=r.toString();return this.request(`/messaging/threads/${u}${g?`?${g}`:""}`)}replyMessagingThread(u,c){return this.request(`/messaging/threads/${u}/reply`,{method:"POST",body:JSON.stringify({text:c})})}retryMessagingMessage(u){return this.request(`/messaging/messages/${u}/retry`,{method:"POST"})}listLeads(u={}){const{q:c,...r}=fb(u);if(c)return this.request("/leads/search",{method:"POST",body:JSON.stringify({view:"crm",...r,q:c})});const g=new URLSearchParams({view:"crm"});for(const[_,N]of Object.entries(r))g.set(_,String(N));return this.request(`/leads?${g.toString()}`)}getLead(u){return this.request(`/leads/${encodeURIComponent(u)}`)}getLeadTimeline(u,c){const r=new URLSearchParams({limit:"50"});return c&&r.set("cursor",c),this.request(`/leads/${encodeURIComponent(u)}/timeline?${r.toString()}`)}updateLead(u,c){return this.request(`/leads/${encodeURIComponent(u)}`,{method:"PATCH",body:JSON.stringify(c)})}addLeadNote(u,c){return this.request(`/leads/${encodeURIComponent(u)}/notes`,{method:"POST",body:JSON.stringify({body:c})})}archiveLead(u,c){return this.request(`/leads/${encodeURIComponent(u)}/${c?"archive":"unarchive"}`,{method:"POST"})}getContact(u){return this.request(`/contacts/${encodeURIComponent(u)}`)}getFunnel(u){return this.request(u?`/crm/funnel?${new URLSearchParams({since:u}).toString()}`:"/crm/funnel")}getCrmSettings(){return this.request("/crm/settings")}setNewLeadEmail(u){return this.request("/crm/settings",{method:"PUT",body:JSON.stringify({notifications:{newLeadEmail:u}})})}getCrmFieldMapping(){return this.request("/crm/field-mapping")}setCrmFieldMapping(u){return this.request("/crm/field-mapping",{method:"PUT",body:JSON.stringify(u)})}previewCrmFieldMapping(u){return this.request("/crm/field-mapping/preview",{method:"POST",body:JSON.stringify(u)})}getAgentMappings(u){return this.request(`/integrations/agent-mapping${u?`?agentId=${u}`:""}`)}saveAgentMapping(u){return this.request("/integrations/agent-mapping",{method:"POST",body:JSON.stringify(u)})}getTeamSettings(){return this.request("/settings/team")}inviteTeamMember(u){return this.request("/settings/team/invite",{method:"POST",body:JSON.stringify(u)})}createWorkspace(u){return this.request("/settings/workspaces",{method:"POST",body:JSON.stringify(u)})}saveAlertSettings(u){return this.request("/settings/alerts",{method:"PUT",body:JSON.stringify(u)})}listApiKeys(){return this.request("/keys")}createApiKey(u,c="full"){const r=c==="read"?{name:u,scopes:["verbalo:read"]}:{name:u};return this.request("/keys",{method:"POST",body:JSON.stringify(r)})}revokeApiKey(u){return this.request(`/keys/${u}`,{method:"DELETE"})}getWebhookSettings(){return this.request("/settings/webhook")}saveWebhookSettings(u,c){return this.request("/settings/webhook",{method:"POST",body:JSON.stringify({url:u,events:c})})}testWebhookSettings(){return this.request("/settings/webhook/test",{method:"POST"})}revealWebhookSigningSecret(){return this.request("/settings/webhook/signing-secret")}rotateWebhookSigningSecret(){return this.request("/settings/webhook/signing-secret/rotate",{method:"POST"})}getNotifications(u){const c=new URLSearchParams;u!=null&&u.limit&&c.set("limit",String(u.limit)),u!=null&&u.offset&&c.set("offset",String(u.offset));const r=c.toString();return this.request(`/notifications${r?`?${r}`:""}`)}markNotificationRead(u){return this.request(`/notifications/${u}/read`,{method:"POST"})}markAllNotificationsRead(){return this.request("/notifications/read-all",{method:"POST"})}getConversations(u){const c=new URLSearchParams(u);return this.request(`/conversations?${c}`)}getConversation(u){return this.request(`/conversations/${u}`)}getPhoneNumbers(){return this.request("/phone-numbers")}connectTwilio(u){return this.request("/phone-numbers/twilio/connect",{method:"POST",body:JSON.stringify(u)})}importTwilioNumber(u){return this.request("/phone-numbers/twilio/import",{method:"POST",body:JSON.stringify(u)})}addManualPhoneNumber(u){return this.request("/phone-numbers/manual",{method:"POST",body:JSON.stringify({number:u})})}assignPhoneNumber(u,c){return this.request(`/phone-numbers/${u}/assign`,{method:"PUT",body:JSON.stringify({agentId:c})})}deletePhoneNumber(u){return this.request(`/phone-numbers/${u}`,{method:"DELETE"})}getPlatformNumberConfig(){return this.request("/phone-numbers/platform/config")}searchPlatformNumbers(u){return this.request("/phone-numbers/twilio/platform/search",{method:"POST",body:JSON.stringify(u)})}provisionPlatformNumber(u){return this.request("/phone-numbers/twilio/platform/provision",{method:"POST",body:JSON.stringify(u)})}releasePhoneNumber(u){return this.request(`/phone-numbers/${u}/release`,{method:"POST",body:JSON.stringify({confirm:!0})})}getOpsOverview(){return this.request("/ops/overview")}completeSetupWizard(u){return this.request("/setup-wizard/complete",{method:"POST",body:JSON.stringify(u)})}listProfiles(u){const c=new URLSearchParams;u!=null&&u.agentId&&c.set("agentId",u.agentId),u!=null&&u.kind&&c.set("kind",u.kind);const r=c.toString();return this.request(`/profiles${r?`?${r}`:""}`)}getProfileBinding(u){return this.request(`/agents/${u}/profile-binding`)}setAbExperiment(u,c){return this.request(`/agents/${u}/ab-experiment`,{method:"PUT",body:JSON.stringify(c)})}getAbResults(u){return this.request(`/agents/${u}/ab-results`)}createAgentProfile(u){return this.request("/profiles",{method:"POST",body:JSON.stringify(u)})}listProfileVersions(u){return this.request(`/profiles/${u}/versions`)}saveProfileVersion(u,c){return this.request(`/profiles/${u}/versions`,{method:"POST",body:JSON.stringify(c)})}applyAgentProfile(u,c){return this.request(`/profiles/${u}/apply`,{method:"POST",body:JSON.stringify(c)})}updateAgentProfile(u,c){return this.request(`/profiles/${u}`,{method:"PATCH",body:JSON.stringify(c)})}deleteAgentProfile(u){return this.request(`/profiles/${u}`,{method:"DELETE"})}getWidgetAdminPassword(u){return this.request(`/agents/${u}/widget-admin-password`)}setWidgetAdminPassword(u,c){return this.request(`/agents/${u}/widget-admin-password`,{method:"PUT",body:JSON.stringify({password:c})})}clearWidgetAdminPassword(u){return this.request(`/agents/${u}/widget-admin-password`,{method:"DELETE"})}getWidgetUsage(u){return this.request(`/agents/${u}/widget-usage`)}createTrainingSession(u,c){return this.request(`/agents/${u}/training-sessions`,{method:"POST",body:JSON.stringify({purpose:"live",...c})})}saveTrainingTranscript(u,c){return this.request(`/training-sessions/${u}/transcript`,{method:"POST",body:JSON.stringify({transcript:c})})}addTrainingDirective(u,c){return this.request(`/training-sessions/${u}/directives`,{method:"POST",body:JSON.stringify(c)})}getTrainingDirectivePreview(u){return this.request(`/training-sessions/${u}/directives/preview`)}
34applyTrainingDirectives(u){return this.request(`/training-sessions/${u}/directives/apply`,{method:"POST"})}getTrainingSession(u){return this.request(`/training-sessions/${u}`)}listTrainingSessions(u,c){const r=new URLSearchParams;(c==null?void 0:c.limit)!=null&&r.set("limit",String(c.limit)),(c==null?void 0:c.offset)!=null&&r.set("offset",String(c.offset));const g=r.toString();return this.request(`/agents/${u}/training-sessions${g?`?${g}`:""}`)}addCorrection(u,c){return this.request(`/training-sessions/${u}/corrections`,{method:"POST",body:JSON.stringify(c)})}getTrainingAnalysisBudget(){return this.request("/training/analysis-budget")}analyzeTrainingSession(u){return this.request(`/training-sessions/${u}/analyze`,{method:"POST",body:JSON.stringify({})})}approveTrainingAnalysis(u,c){return this.request(`/training-sessions/${u}/approve`,{method:"POST",body:JSON.stringify(c?{selection:c}:{})})}rejectTrainingAnalysis(u){return this.request(`/training-sessions/${u}/reject`,{method:"POST"})}listPendingAnalyses(u){return this.request(`/agents/${u}/training/pending-analyses`)}getSelfLearning(u){return this.request(`/agents/${u}/self-learning`)}setSelfLearning(u,c){return this.request(`/agents/${u}/self-learning`,{method:"PUT",body:JSON.stringify({enabled:c})})}getTrainingSessionAudioFileUrl(u,c){return`${mm}/training-sessions/${u}/audio/${c}/file`}uploadTrainingSessionAudio(u,c){return this.request(`/training-sessions/${u}/audio`,{method:"POST",body:JSON.stringify(c)})}listTrainingSessionAudio(u){return this.request(`/training-sessions/${u}/audio`)}listCopilotThreads(){return this.request("/copilot/threads")}createCopilotThread(u){return this.request("/copilot/threads",{method:"POST",body:JSON.stringify(u?{title:u}:{})})}getCopilotMessages(u,c=50,r=0){const g=new URLSearchParams({limit:String(c),offset:String(r)});return this.request(`/copilot/threads/${u}/messages?${g}`)}createCopilotVoiceSession(u){return this.request("/copilot/voice/session",{method:"POST",body:JSON.stringify(u?{threadId:u}:{})})}postCopilotNetworkBeacon(u){return this.request("/copilot/network-beacon",{method:"POST",body:JSON.stringify(u)})}mirrorCopilotMessage(u,c,r){return this.request(`/copilot/threads/${u}/messages`,{method:"POST",body:JSON.stringify({role:c,content:r})})}getCopilotElState(u){return this.request(`/copilot/threads/${u}/el-state`)}createAnonOnboardingSession(){return this.request("/public/onboarding/session",{method:"POST",body:JSON.stringify({})})}prewarmAnonOnboardingSession(){return this.request("/public/onboarding/session/prewarm",{method:"POST",body:JSON.stringify({})})}resumeAnonOnboardingSession(u,c){return this.request(`/public/onboarding/${u}/session`,{method:"POST",body:JSON.stringify({}),headers:xn(c)})}activateAnonOnboardingSession(u,c){return this.request(`/public/onboarding/${u}/activate`,{method:"POST",body:JSON.stringify({}),headers:xn(c)})}postAnonLaunchMetrics(u,c,r){return this.request(`/public/onboarding/${u}/launch-metrics`,{method:"POST",body:JSON.stringify(r),headers:xn(c)})}beginAnonAgentCreation(u,c,r){return this.request(`/public/onboarding/${u}/begin`,{method:"POST",body:JSON.stringify(r),headers:xn(c)})}getAnonElState(u,c){return this.request(`/public/onboarding/${u}/el-state`,{headers:xn(c)})}mirrorAnonMessage(u,c,r,g){return this.request(`/public/onboarding/${u}/messages`,{method:"POST",body:JSON.stringify({role:r,content:g}),headers:xn(c)})}claimAnonOnboarding(u,c){return this.request(`/public/onboarding/${u}/claim`,{method:"POST",headers:xn(c)})}getAnonTemplates(){return this.request("/public/onboarding/templates")}getAnonTemplateCv(u){return this.request(`/public/onboarding/templates/${u}/cv`)}confirmCopilotAction(u,c){return this.request(`/copilot/threads/${u}/confirm`,{method:"POST",body:JSON.stringify({pendingActionId:c})})}cancelCopilotAction(u,c){return this.request(`/copilot/threads/${u}/cancel`,{method:"POST",body:JSON.stringify({pendingActionId:c})})}beginCopilotAgentCreation(u,c){return this.request(`/copilot/threads/${u}/workflow/begin`,{method:"POST",body:JSON.stringify(c)})}getCopilotAgentCreationWorkflow(u){return this.request(`/copilot/threads/${u}/workflow`)}getCopilotAgentCreationAwaitingVoice(u){return this.request(`/copilot/agent-creation/awaiting-voice?agentId=${encodeURIComponent(u)}`)}selectCopilotAgentPersona(u,c,r){return this.request(`/copilot/threads/${u}/workflow/select-persona`,{method:"POST",body:JSON.stringify({expectedVersion:c,voicePresetKey:r})})}finalizeCopilotAgentCreation(u,c,r){return this.request(`/copilot/threads/${u}/workflow/finalize`,{method:"POST",body:JSON.stringify({expectedVersion:c,voiceAlreadySaved:(r==null?void 0:r.voiceAlreadySaved)??!1})})}continueCopilotAgentSetup(u,c){return this.request(`/copilot/threads/${u}/workflow/continue-setup`,{method:"POST",body:JSON.stringify({expectedVersion:c})})}listVoicePersonas(){return this.request("/voice-personas")}getOauthClientInfo(u){return this.request(`/oauth/client-info?client_id=${encodeURIComponent(u)}`)}postOauthConsent(u){return this.request("/oauth/consent",{method:"POST",body:JSON.stringify(u)})}getConnectedApps(){return this.request("/connected-apps")}revokeConnectedApp(u){return this.request(`/connected-apps/${encodeURIComponent(u)}`,{method:"DELETE"})}getAuditLog(u={}){const c=new URLSearchParams;u.limit!==void 0&&c.set("limit",String(u.limit)),u.before&&c.set("before",u.before),u.credentialId&&c.set("credentialId",u.credentialId);const r=c.toString();return this.request(`/audit-log${r?`?${r}`:""}`)}signOutEverywhere(){return this.request("/auth/sign-out-everywhere",{method:"POST"})}}const De=new mb,dr="verbalo:copilot-ui-refresh",hr=new Set;function U2(o){return hr.add(o),()=>{hr.delete(o)}}function vb(){let o=!1;for(const u of hr)try{u()&&(o=!0)}catch{}o||window.dispatchEvent(new CustomEvent(dr))}const yb="verbalo:account-converted";function pb(){window.dispatchEvent(new CustomEvent(yb))}const gr={kinds:[],providers:[],credentialFields:{},credentialGuides:{}};let xl=null,Ci=null;function Nl(o){return{Authorization:`Bearer ${localStorage.getItem("verbalo_token")||localStorage.getItem("vb_token")||""}`,...o}}function Nn(){return Nl({"Content-Type":"application/json"})}async function bb(){return xl||(Ci||(Ci=fetch("/api/v1/business-context/catalog",{headers:Nl()}).then(o=>o.ok?o.json():gr).then(o=>(xl={kinds:Array.isArray(o.kinds)?o.kinds:[],providers:Array.isArray(o.providers)?o.providers:[],credentialFields:o.credentialFields&&t
34ypeof o.credentialFields=="object"?o.credentialFields:{},credentialGuides:o.credentialGuides&&typeof o.credentialGuides=="object"?o.credentialGuides:{}},xl)).catch(()=>gr).finally(()=>{Ci=null})),Ci)}function q2(){const[o,u]=A.useState(xl||gr);return A.useEffect(()=>{let c=!0;return bb().then(r=>{c&&u(r)}),()=>{c=!1}},[]),o}async function L2(){const o=await fetch("/api/v1/business-context/sources",{headers:Nl()});if(!o.ok)return[];const u=await o.json();return Array.isArray(u.sources)?u.sources:[]}async function H2(o){const u=await fetch("/api/v1/business-context/sources",{method:"POST",headers:Nn(),body:JSON.stringify(o)}),c=await u.json().catch(()=>({}));return u.ok?{ok:!0,source:c.source}:{ok:!1,error:c.error||"Failed to create source"}}async function B2(o){const u=await fetch(`/api/v1/business-context/sources/${o}`,{method:"DELETE",headers:Nl()});return u.ok?{ok:!0}:{ok:!1,error:(await u.json().catch(()=>({}))).error||"Failed to delete source"}}async function G2(o,u){const c=await fetch(`/api/v1/business-context/sources/${o}/connection`,{method:"PUT",headers:Nn(),body:JSON.stringify({connected:u})}),r=await c.json().catch(()=>({}));return c.ok?{ok:!0,source:r.source}:{ok:!1,error:r.error||"Failed to update connection"}}async function V2(o,u){const c=await fetch(`/api/v1/business-context/sources/${o}/credentials`,{method:"PUT",headers:Nn(),body:JSON.stringify({credentials:u})}),r=await c.json().catch(()=>({}));return c.ok?{ok:!0,source:r.source}:{ok:!1,error:r.error||"Failed to save credentials"}}async function Y2(o={}){const u=new URLSearchParams;o.agentId&&u.set("agentId",o.agentId),o.kind&&u.set("kind",o.kind),o.status&&u.set("status",o.status);const c=u.toString(),r=await fetch(`/api/v1/business-context/items${c?`?${c}`:""}`,{headers:Nl()});if(!r.ok)return[];const g=await r.json();return Array.isArray(g.items)?g.items:[]}async function Q2(o){const u=await fetch("/api/v1/business-context/items",{method:"POST",headers:Nn(),body:JSON.stringify(o)}),c=await u.json().catch(()=>({}));return u.ok?{ok:!0,item:c.item}:{ok:!1,error:c.error||"Failed to create item"}}async function X2(o){const u=await fetch(`/api/v1/business-context/sources/${o}/sync`,{method:"POST",headers:Nn(),body:JSON.stringify({})}),c=await u.json().catch(()=>({}));return u.ok?{ok:!0,result:c}:{ok:!1,error:c.error||"Sync failed"}}async function Z2(o,u,c){const r=await fetch(`/api/v1/agents/${o}/business-context/sources/${u}`,{method:"PUT",headers:Nn(),body:JSON.stringify({enabled:c})}),g=await r.json().catch(()=>({}));return r.ok?{ok:!0,sources:Array.isArray(g.sources)?g.sources:[]}:{ok:!1,error:g.error||"Failed to update sync"}}async function k2(o){const u=await fetch(`/api/v1/agents/${o}/capabilities`,{headers:Nl()}),c=await u.json().catch(()=>({}));return u.ok?{ok:!0,sources:(Array.isArray(c.sources)?c.sources:[]).map(g=>({...g,unavailableCapabilities:Array.isArray(g.unavailableCapabilities)?g.unavailableCapabilities:[]}))}:{ok:!1,sources:[],error:c.error||`Failed to load stores (${u.status})`}}async function J2(o,u,c){const r=await fetch(`/api/v1/agents/${o}/capabilities/${u}`,{method:"PUT",headers:Nn(),body:JSON.stringify({capabilities:c})}),g=await r.json().catch(()=>({}));return r.ok?{ok:!0,selectedCapabilities:Array.isArray(g.selectedCapabilities)?g.selectedCapabilities:[]}:{ok:!1,error:g.error||"Failed to save capabilities"}}function K2(o){switch(o){case"healthy":return"bg-emerald-50 text-emerald-700 border-emerald-200";case"degraded":return"bg-amber-50 text-amber-800 border-amber-200";default:return"bg-red-50 text-red-700 border-red-200"}}function $2(o){return o.status==="healthy"?o.fresh?"Healthy":"Healthy · stale":o.status==="degraded"?o.fresh?"Degraded":"Degraded · stale":"Disconnected"}function Sb(){xl=null,Ci=null}const xb="/onboard";function qm(o){return o.startsWith(xb)}const I2={ready:"verbalo:onboarding-ready",open:"verbalo:onboarding-open"};function F2(o){return o.origin!==window.location.origin?!1:o.source!==window}function P2(o){window.parent!==window&&window.parent.postMessage(o,window.location.origin)}const mr={platforms:[]};let _l=null,Oi=null;function _b(o){return{Authorization:`Bearer ${localStorage.getItem("verbalo_token")||localStorage.getItem("vb_token")||""}`,...o}}async function Tb(){return _l||(Oi||(Oi=fetch("/api/v1/platforms/catalog",{headers:_b()}).then(o=>o.ok?o.json():mr).then(o=>(_l={platforms:Array.isArray(o.platforms)?o.platforms:[]},_l)).catch(()=>mr).finally(()=>{Oi=null})),Oi)}function W2(){const[o,u]=A.useState(_l||mr);return A.useEffect(()=>{let c=!0;return Tb().then(r=>{c&&u(r)}),()=>{c=!1}},[]),o}function ex(o,u){return o.platforms.find(c=>c.key===u)}function tx(o){switch(o){case"safe_read":return"bg-emerald-50 text-emerald-700 border-emerald-200";case"safe_handoff":return"bg-blue-50 text-blue-700 border-blue-200";case"risky_write":return"bg-amber-50 text-amber-800 border-amber-200";default:return"bg-gray-100 text-gray-600 border-gray-200"}}function Eb(){_l=null,Oi=null}const Nb="modulepreload",Ab=function(o){return"/app/"+o},ym={},_e=function(u,c,r){let g=Promise.resolve();if(c&&c.length>0){let N=function(C){return Promise.all(C.map(L=>Promise.resolve(L).then(j=>({status:"fulfilled",value:j}),j=>({status:"rejected",reason:j}))))};document.getElementsByTagName("link");const O=document.querySelector("meta[property=csp-nonce]"),w=(O==null?void 0:O.nonce)||(O==null?void 0:O.getAttribute("nonce"));g=N(c.map(C=>{if(C=Ab(C),C in ym)return;ym[C]=!0;const L=C.endsWith(".css"),j=L?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${C}"]${j}`))return;const z=document.createElement("link");if(z.rel=L?"stylesheet":Nb,L||(z.as="script"),z.crossOrigin="",z.href=C,w&&z.setAttribute("nonce",w),document.head.appendChild(z),L)return new Promise((Y,R)=>{z.addEventListener("load",Y),z.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${C}`)))})}))}function _(N){const O=new Event("vite:preloadError",{cancelable:!0});if(O.payload=N,window.dispatchEvent(O),!O.defaultPrevented)throw N}return g.then(N=>{for(const O of N||[])O.status==="rejected"&&_(O.reason);return u().catch(_)})};function ax(){_e(()=>import("./AgentEdit-CwUXJhzt.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]))}function Lm(o){let u=null;return()=>(u||(u=o(),u.catch(()=>{u=null})),u)}const Hm=Lm(()=>_e(()=>import("./Templates-0uCqrqJp.js"),__vite__mapDeps([21,2,3,22,5]))),Bm=Lm(()=>_e(()=>import("./CopilotWidget-C3UN40T6.js"),__vite__mapDeps([23,2,3,24,18,5,22,6,12,4,9,25])));function Gm(){Hm().catch(()=>{}),Bm().catch(()=>{})}function Cb(){const o=globalThis.requestIdleCallback;if(typeof o!="function"){const r=setTimeout(()=>{_e(()=>import("./Agents-Dyd4ll1J.js"),__vite__mapDeps([26,5,27,20,13,2,3,9])),_e(()=>import("./Calls-BwrjCP3O.js"),__vite__mapDeps([28,2,5,13,19,14,29,16,17,6,30,1,18]))},2e3);return()=>clearTimeout(r)}const u=o(()=>{_e(()=>import("./Agents-Dyd4ll1J.js"),__vite__mapDeps([26,5,27,20,13,2,3,9])),_e(()=>import("./Calls-BwrjCP3O.js"),__vite__mapDeps([28,2,5,13,19,14,29,16,17,6,30,1,18]))}),c=globalThis.cancelIdleCallback;return()=>c==null?void 0:c(u)}const vr="verbalo_copilot_thread_id";function pm(o){return`${vr}:${o}`}function Ob(o){if(!o)return null;try{const u=localStorage.getItem(pm(o));if(u)return u;const c=localStorage.getItem(vr);return c&&(localStorage.removeItem(vr),localStorage.setItem(pm(o),c)),c}catch{return null}}const Vm=480*1e3;let Za=null;function Ym(o){if(!o||Za&&Za.userId===o&&Date.now()-Za.prewarm.mintedAt<Vm)return;const u=De.createCopilotVoiceSession(Ob(o)??void 0);u.catch(()=>{}),Za={userId:o,prewarm:{promise:u,mintedAt:Date.now()}}}function nx(o){if(!Za||Za.userId!==o)return null;const u=Za.prewarm;return Za=null,u}let Di=null;function lx(){if(Di&&Date.now()-Di.mintedAt<Vm)return;const o=De.prewarmAnonOnboardingSession();o.catch(()=>{}),Di={promise:o,mintedAt:Date.now()}}function ix(){const o=Di;return Di=null,o}function zb(o,u){return`/app/audio/copilot-${o}-${u==="es"?"es":"en"}.mp3`}function Qm(o){for(const u of["greeting","creating","congrats"])try{const c=new Audio(zb(u,o));c.preload="auto",c.load()}catch{}}const ux=[{value:"gemini-2.5-flash",label:"Gemini 2.5 Flash (recommended)",group:"Google"},{value:"gemini-2.5-flash-lite",label:"Gemini 2.5 Flash Lite",group:"Google"},{value:"gemini-3-flash-preview",label:"Gemini 3 Flash Preview",group:"Google"},{value:"gemini-3-pro-preview",label:"Gemini 3 Pro Preview",group:"Google"},{value:"gemini-2.0-flash",label:"Gemini 2.0 Flash",group:"Google"},{value:"gemini-2.0-flash-lite",label:"Gemini 2.0 Flash Lite",group:"Google"},{value:"gemini-1.5-pro",label:"Gemini 1.5 Pro",group:"Google"},{value:"gemini-1.5-flash",label:"Gemini 1.5 Flash",group:"Google"},{value:"gpt-4o-mini",label:"GPT-4o Mini (fast & cheap)",group:"OpenAI"},{value:"gpt-4o",label:"GPT-4o",group:"OpenAI"},{value:"gpt-4.1",label:"GPT-4.1",group:"OpenAI"},{value:"gpt-4.1-mini",label:"GPT-4.1 Mini",group:"OpenAI"},{value:"gpt-4.1-nano",label:"GPT-4.1 Nano",group:"OpenAI"},{value:"gpt-5",label:"GPT-5",group:"OpenAI"},{value:"gpt-5-mini",label:"GPT-5 Mini",group:"OpenAI"},{value:"gpt-4-turbo",label:"GPT-4 Turbo",group:"OpenAI"},{value:"gpt-3.5-turbo",label:"GPT-3.5 Turbo",group:"OpenAI"},{value:"claude-sonnet-4",label:"Claude Sonnet 4",group:"Anthropic"},{value:"claude-sonnet-4-5",label:"Claude Sonnet 4.5",group:"Anthropic"},{value:"claude-haiku-4-5",label:"Claude Haiku 4.5",group:"Anthropic"},{value:"claude-3-7-sonnet",label:"Claude 3.7 Sonnet",group:"Anthropic"},{value:"claude-3-5-sonnet",label:"Claude 3.5 Sonnet",group:"Anthropic"},{value:"claude-3-haiku",label:"Claude 3 Haiku",group:"Anthropic"},{value:"gpt-oss-120b",label:"GPT-OSS 120B",group:"Verbalo"}
34,{value:"qwen3-30b-a3b",label:"Qwen3 30B",group:"Verbalo"},{value:"glm-45-air-fp8",label:"GLM-4.5 Air",group:"Verbalo"}],Db=[{value:"eleven_v3_conversational",label:"V3 Conversational - Expressive (recommended)",isV3:!0},{value:"eleven_flash_v2",label:"Flash v2 (fastest)",isV3:!1},{value:"eleven_turbo_v2",label:"Turbo v2 (low latency)",isV3:!1},{value:"eleven_multilingual_v2",label:"Multilingual v2 (non-English)",isV3:!1}],ox=[],sx="This is a quick voice preview.",cx={elevenlabs:Db},rx=["Warm","Curious","Confident","Empathetic","Excited","Patient","Concerned","Enthusiastic","Serious","Whispering"],fx=[{label:"Too expensive",scenario:"You are a price-sensitive SMB owner. The product sounds useful but you push back that it is too expensive and need ROI before committing."},{label:"No authority",scenario:"You are not the decision maker. You are interested but keep deferring to your manager or business partner and cannot approve anything today."},{label:"Hostile buyer",scenario:"You are dismissive and impatient. You interrupt, challenge the rep, and try to end the call quickly unless they earn your attention."},{label:"Send me info",scenario:"You try to end the call by asking for an email with details instead of booking a follow-up meeting."},{label:"Competitor",scenario:"You already use a competitor and quote a lower price. You need a clear reason to switch."}],wb=[{value:"en",label:"English",flag:"US"},{value:"de",label:"German",flag:"DE"},{value:"ar",label:"Arabic",flag:"SA"},{value:"fr",label:"French",flag:"FR"},{value:"es",label:"Spanish",flag:"ES"},{value:"it",label:"Italian",flag:"IT"},{value:"pt",label:"Portuguese",flag:"PT"},{value:"pl",label:"Polish",flag:"PL"},{value:"nl",label:"Dutch",flag:"NL"},{value:"ru",label:"Russian",flag:"RU"},{value:"tr",label:"Turkish",flag:"TR"},{value:"hi",label:"Hindi",flag:"IN"},{value:"ja",label:"Japanese",flag:"JP"},{value:"ko",label:"Korean",flag:"KR"},{value:"zh",label:"Chinese",flag:"CN"},{value:"sv",label:"Swedish",flag:"SE"},{value:"da",label:"Danish",flag:"DK"},{value:"fi",label:"Finnish",flag:"FI"},{value:"no",label:"Norwegian",flag:"NO"},{value:"he",label:"Hebrew",flag:"IL"},{value:"id",label:"Indonesian",flag:"ID"},{value:"ms",label:"Malay",flag:"MY"},{value:"uk",label:"Ukrainian",flag:"UA"},{value:"cs",label:"Czech",flag:"CZ"},{value:"sk",label:"Slovak",flag:"SK"},{value:"ro",label:"Romanian",flag:"RO"},{value:"hu",label:"Hungarian",flag:"HU"},{value:"bg",label:"Bulgarian",flag:"BG"},{value:"hr",label:"Croatian",flag:"HR"},{value:"el",label:"Greek",flag:"GR"}],dx={name:"",ttsProvider:"elevenlabs",systemPrompt:"",firstMessage:"",language:"en",voicePresetKey:"",voiceId:"EXAVITQu4vr4xnSDxMaL",ttsModelId:"eleven_flash_v2",llm:"gemini-2.5-flash",temperature:.5,stability:.5,speed:1,similarityBoost:.8,endCallEnabled:!0,languageDetectionEnabled:!1,transferEnabled:!1,transferNumber:"",publicAccess:!0,textChatEnabled:!1,widgetAllowedDomains:[],widgetLimits:{},knowledgeBaseIds:[],turnTimeout:4,maxDurationSeconds:600,turnEagerness:"eager",optimizeStreamingLatency:"",silenceEndCallTimeout:"",initialWaitTime:"",speculativeTurn:!1,isActive:!0,expressiveMode:!0,suggestedAudioTags:[],liveAttentionEnabled:!1,liveAttentionText:"Agent live - talk now",adminSystemPrompt:"",objectionFiles:[],speakingStyleHints:"",technicalDepth:"",callerMirroringEnabled:!1,testText:"",calendarEnabled:!1,calendarResourceId:""},ho="verbalo:manual-setup-draft",jb=1800*1e3,hx="/agents/new",Mb="Assistant",Rb="Pending",Ub="Hello, how can I help you today?",Xm=255,Zm=2e3,km=12e3,bm=4e3;function Qa(o){return typeof o=="string"?o.trim():""}function ur(o){return Array.isArray(o)?o.map(Qa).filter(Boolean):[]}function Xa(o,u){return o.length>u?o.slice(0,u).trimEnd():o}const Sm=new Set(wb.map(o=>o.value));function Jm(o){if(typeof o!="string"||!/^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,8})?$/.test(o))return"";if(Sm.has(o))return o;const u=o.split(/[-_]/)[0].toLowerCase();return Sm.has(u)?u:""}function gx(o){const u=o.brief??{},c=o.proposedGoal??u.goal??{},r=Qa(u.agentName),g=Qa(u.businessName),_=g&&g!==Rb?g:"",N=r&&r!==Mb?r:_,O=Qa(u.firstMessage),w=O&&O!==Ub?O:"",C=Xa(Qa(u.businessDescription),bm),L=Xa(Q
34a(o.typedText),bm),j=Qa(c.summary),z=ur(c.tasks),Y=ur(c.boundaries),R=Qa(c.escalation),B=ur(u.businessFacts),M=[];_&&M.push(`You are the voice agent for ${_}.`);const $=[C,L&&L!==C?L:""].filter(Boolean);$.length>0&&M.push(`## About the business 35${$.join(` 36 37`)}`),j&&M.push(`## Goal 38${j}`),z.length>0&&M.push(`## Tasks 39${z.map(we=>`- ${we}`).join(` 40`)}`),Y.length>0&&M.push(`## Boundaries 41${Y.map(we=>`- ${we}`).join(` 42`)}`),R&&M.push(`## Escalation 43${R}`),B.length>0&&M.push(`## Business facts (from the owner) 44${B.map(we=>`- ${we}`).join(` 45`)}`);const oe=Xa(M.join(` 46 47`),km);if(!oe&&!N&&!w)return null;const Ie=u.locale&&typeof u.locale=="object"?u.locale:{},Me=Jm(Ie.language);return{name:Xa(N,Xm),systemPrompt:oe,firstMessage:Xa(w,Zm),...Me?{language:Me}:{}}}function mx(o,u=null){try{sessionStorage.setItem(ho,JSON.stringify({...o,ownerId:u,savedAt:Date.now()}))}catch{}}function ro(){try{sessionStorage.removeItem(ho)}catch{}}function Km(){try{const o=sessionStorage.getItem(ho);if(!o)return{present:!1,ownerId:null};const u=JSON.parse(o);return{present:!0,ownerId:typeof u.ownerId=="string"?u.ownerId:null}}catch{return{present:!0,ownerId:null}}}function qb(o){const{present:u,ownerId:c}=Km();u&&c!==o&&ro()}function vx(o){const u=Km();if(u.present&&u.ownerId&&u.ownerId!==(o??null))return ro(),null;let c;try{c=sessionStorage.getItem(ho)}catch{return null}if(!c)return null;try{const r=JSON.parse(c),g=typeof r.savedAt=="number"?r.savedAt:NaN;if(!Number.isFinite(g)||Date.now()-g>jb)return ro(),null;if(typeof r.name!="string"||typeof r.systemPrompt!="string"||typeof r.firstMessage!="string")return null;const _=Jm(r.language);return{name:Xa(r.name,Xm),systemPrompt:Xa(r.systemPrompt,km),firstMessage:Xa(r.firstMessage,Zm),..._?{language:_}:{}}}catch{return null}}function yx(o,u){return u?{...o,name:u.name||o.name,systemPrompt:u.systemPrompt||o.systemPrompt,firstMessage:u.firstMessage||o.firstMessage,...u.language&&"language"in o?{language:u.language}:{}}:o}const $m="trialEnded",Im=A.createContext(null);
47function Lb({children:o}){const u=El(),{pathname:c}=_r(),[r,g]=A.useState(null),[_,N]=A.useState(!0),O=A.useCallback(async()=>{try{const R=await De.getProfile();g(R)}catch{g(null),De.setToken(null)}},[]);A.useEffect(()=>{De.getToken()?O().finally(()=>N(!1)):N(!1)},[O]),A.useEffect(()=>{if(!(!r||r.isGuest))return Cb()},[r]),A.useEffect(()=>{const R=B=>{var $;const M=($=B.detail)==null?void 0:$.code;g(null),De.setToken(null),!qm(c)&&u(M===hb?`/register?${$m}=1`:"/login",{replace:!0})};return window.addEventListener(fr,R),()=>window.removeEventListener(fr,R)},[u,c]);const w=async(R,B)=>{const M=await De.login(R,B);De.setToken(M.token),qb(M.user.id),g(M.user)},C=async(R,B,M)=>{const $=await De.register(R,B,M);De.setToken($.token),g($.user)},L=async()=>{const R=await De.startGuestSession();De.setToken(R.token),R.user.copilotEnabled!==!1&&Ym(R.user.id),g(R.user)},j=async(R,B,M)=>{const $=await De.convertGuest(R,B,M);De.setToken($.token),g($.user),Eb(),Sb(),vb(),pb()},z=A.useCallback((R,B)=>{De.setToken(B),g(R)},[]),Y=()=>{ro(),De.setToken(null),g(null),u("/login",{replace:!0})};return d.jsx(Im.Provider,{value:{user:r,loading:_,login:w,register:C,startGuestSession:L,convertGuest:j,adoptClaimedSession:z,logout:Y,refreshProfile:O},children:o})}function ra(){const o=A.useContext(Im);if(!o)throw new Error("useAuth must be inside AuthProvider");return o}const Fm=["en","es"],yr="en",Pm="verbalo_locale",xm={en:{"lang.en":"EN","lang.es":"ES","nav.workspace":"Workspace","nav.dashboard":"Dashboard","nav.agents":"Agents","nav.setupWizard":"Setup Wizard","nav.manage":"Manage","nav.calls":"Calls","nav.leads":"Leads","nav.phoneNumbers":"Phone Numbers","nav.campaigns":"Campaigns","nav.build":"Build","nav.templates":"Templates","nav.integrations":"Integrations","nav.flowDesigner":"Flow Designer","nav.account":"Account","nav.billing":"Billing","nav.mcp":"MCP","nav.connectedApps":"Connected apps","nav.settings":"Settings","nav.operations":"Operations","nav.ops":"Ops","nav.signOut":"Sign out","nav.skipToContent":"Skip to main content","nav.openMenu":"Open navigation menu","notifications.title":"Notifications","notifications.empty":"No notifications yet","notifications.markAllRead":"Mark all as read","notifications.open":"Open notifications","notifications.close":"Close notifications","dashboard.title":"Dashboard","dashboard.subtitle":"Performance and outcomes","dashboard.integrationDown":"ElevenLabs integration is currently unavailable. Dashboard data may be incomplete.","dashboard.aiInsights":"AI Insights","dashboard.askPlaceholder":"Ask about your conversationsâ¦","calls.title":"Conversation History","calls.total":"total conversations","calls.export":"Export CSV","calls.integrationDown":"ElevenLabs integration is currently unavailable. Call history may be incomplete.","calls.dateFrom":"From date","calls.dateTo":"To date","calls.dateClear":"Clear date","login.title":"Sign in to Verbalo","login.subtitle":"Sign in to your workspace","login.email":"Email address","login.password":"Password","login.submit":"Sign in","login.submitting":"Signing inâ¦","login.noAccount":"Don't have an account?","login.register":"Sign up free","register.title":"Create your account","register.subtitle":"Create your free account","register.trialEnded":"Your trial has ended. Create an account to start again â it only takes a moment.","register.name":"Full name","register.email":"Email address","register.password":"Password","register.submit":"Create account","register.submitting":"Creating accountâ¦","register.credits":"500 free credits included with every Free account","register.hasAccount":"Already have an account?","register.signIn":"Sign in","copilot.title":"Setup Copilot","copilot.greeting":"I am here to assist you with your Verbalo account","copilot.onboarding.greeting":"Hey! I'm here to help you set up a voice agent in just a couple of minutes. What's the use case you're building for? Describe it in your own words, or tap a template below.","copilot.onboarding.congrats":"Congratulations! Your account is ready and your first agent is saved for good. Have a look around the dashboard, change anything you like, or just ask me.","copilot.onboarding.placeholder":"Describe your business or use caseâ¦","copilot.onboarding.templates":"Or start from a template","copilot.onboarding.templateConfirm":"Tap again to replace your described goal","copilot.onboarding.prevTemplates":"Scroll templates left","copilot.onboarding.nextTemplates":"Scroll templates right","copilot.onboarding.voiceHint":"Prefer to talk? Tap the mic. Your browser asks for the microphone only then.","copilot.onboarding.manual":"Set it up manually","copilot.placeholder":"Ask how to set up agents, integrations, or billingâ¦","copilot.send":"Send message","copilot.confirm":"Confirm","copilot.cancel":"Cancel","copilot.open":"Open setup copilot","copilot.close"
47:"Close setup copilot","copilot.typing":"Typingâ¦","copilot.working":"Working on itâ¦","copilot.confirmTitle":"Confirm this action","copilot.goToSettings":"Go to settings","copilot.newChat":"New chat","copilot.voiceStart":"Start voice chat","copilot.voiceStop":"Stop voice chat","copilot.voiceActive":"Voice chat active â speak now","copilot.voiceConnecting":"Connectingâ¦","copilot.voiceThinking":"Thinkingâ¦","copilot.voiceSpeaking":"Speakingâ¦","copilot.micBlocked":"Your microphone is blocked. Tap the mic to try again, or just type below.","copilot.trialSpent":"Today's free trials are all taken. Come back tomorrow, or create an account to start now.","copilot.trialBusy":"That was a few tries in a row â give it a couple of minutes and start again.","copilot.creation.builderTitle":"Agent builder","copilot.creation.voiceTitle":"Choose a voice","copilot.creation.voiceSubtitle":"Select a persona to hear its sample, then use that voice.","copilot.creation.voiceCarouselLabel":"Voice personas","copilot.creation.voiceListenHint":"Compare by listening","copilot.creation.voiceTraitsLabel":"Voice traits","copilot.creation.prevVoice":"Previous voice","copilot.creation.nextVoice":"Next voice","copilot.creation.playPreview":"Play voice preview","copilot.creation.stopPreview":"Stop voice preview","copilot.creation.sampleQuoteLabel":"Sample line","copilot.creation.useVoice":"Use this voice","copilot.creation.confirmVoice":"Confirm this voice","copilot.creation.okVoice":"OK","copilot.creation.confirmingVoice":"Saving voiceâ¦","copilot.creation.provisioningVoice":"Creating your agentâ¦","copilot.creation.recommended":"Recommended","copilot.creation.loadingVoices":"Loading voicesâ¦","copilot.creation.voiceLoadError":"Could not load voice personas.","copilot.creation.noVoices":"No voice personas are available.","copilot.creation.finalTitle":"Ready to create","copilot.creation.finalSubtitle":"Quick look at the agent. Add changes, or create it.","copilot.creation.fieldGoal":"Goal","copilot.creation.fieldVoice":"Voice","copilot.creation.fieldGreeting":"Greeting","copilot.creation.createAndTest":"Create & test","copilot.creation.createAgent":"Create agent","copilot.creation.addOrChange":"Add or change something","copilot.creation.changePrompt":"Please change: ","copilot.creation.testReadyTitle":"Your agent is ready to test","copilot.creation.testReadySubtitle":"Run a browser voice test or continue setup.","copilot.creation.testReadyNamed":"{name} is ready for a voice test.","copilot.creation.testAgent":"Test agent","copilot.creation.continueSetup":"Continue setup","copilot.creation.provisioning":"Creating your agentâ¦","copilot.creation.setupTasksTitle":"Setup steps","copilot.creation.connectStore":"Connect store","copilot.creation.setupTasksHint":"Open Integrations to enter your store API credentials, then return here to continue.","copilot.creation.choosePlatform":"Which platform does the business use?","copilot.creation.platformComingSoon":"Coming soon","copilot.creation.platformInterestRecorded":"We'll notify you","copilot.creation.manualKnowledge":"Use manual knowledge instead","agentEdit.voicePanel.expand":"Change voice persona","agentEdit.voicePanel.collapse":"Done choosing voice","agentEdit.voicePanel.tapToChange":"Tap to browse voices","agentEdit.voicePanel.noVoice":"No persona selected","agentEdit.calendarSchedule.title":"Calendar schedule","agentEdit.calendarSchedule.subtitle":"Booked and free slots for the voice-call event ({timeZone}).","agentEdit.calendarSchedule.refresh":"Refresh","agentEdit.calendarSchedule.bookingsHidden":"Booked slots are hidden until this calendar has its own API key. Re-save the agent to issue one.","agentEdit.calendarSchedule.loadError":"Failed to load calendar","agentEdit.calendarSchedule.prevMonth":"Previous month","agentEdit.calendarSchedule.nextMonth":"Next month","agentEdit.calendarSchedule.free":"free","agentEdit.calendarSchedule.booked":"booked","agentEdit.calendarSchedule.selectDay":"Select a day","agentEdit.calendarSchedule.noSlots":"No slots on this day.","agentEdit.calendarSchedule.statusBooked":"Booked","agentEdit.calendarSchedule.statusFree":"Free","mcpConsent.title":"Authorize access","mcpConsent.subtitle":"An application wants to connect to your Verbalo account","mcpConsent.clientLabel":"Application","mcpConsent.redirectLabel":"Will redirect to","mcpConsent.unverifiedWarning":"This is an unverified third-party application. Check the full redirect URL before approving.","mcpConsent.signedInAs":"Signed in as","mcpConsent.accessTitle":"This app will have access to","mcpConsent.accessAgents":"Agents","mcpConsent.accessCalls":"C
47alls & conversations","mcpConsent.accessBilling":"Billing & usage","mcpConsent.accessProfiles":"Profiles & settings","mcpConsent.accessFull":"Full account access via MCP","mcpConsent.scopeTitle":"Access level","mcpConsent.scopeFull":"Full access","mcpConsent.scopeFullDesc":"Read and change agents, calls, campaigns, phone numbers and billing, including actions that spend credits.","mcpConsent.scopeRead":"Read only","mcpConsent.scopeReadDesc":"See agents, calls, leads, bookings, usage and settings. Cannot change your agents, calls or settings, and cannot spend credits.","mcpConsent.scopeReadOnlyRequested":"This app asked for read-only access.","mcpConsent.revokeHint":"You can revoke access at any time under Connected apps.","mcpConsent.approve":"Approve","mcpConsent.deny":"Deny","mcpConsent.submitting":"Workingâ¦","mcpConsent.errorTitle":"Unable to authorize","mcpConsent.errorParams":"This authorization link is invalid or incomplete.","mcpConsent.errorClient":"Could not load application details. The client may be unknown.","mcpConsent.errorNetwork":"Something went wrong. Please try again.","mcpConsent.errorMissingClientId":"Missing client_id parameter.","mcpConsent.errorMissingRedirectUri":"Missing redirect_uri parameter.","mcpConsent.errorMissingCodeChallenge":"Missing code_challenge parameter.","mcpConsent.errorInvalidResponseType":"response_type must be âcodeâ.","mcpConsent.errorInvalidChallengeMethod":"code_challenge_method must be S256.","mcpConsent.errorInvalidScope":"This app asked for an access level Verbalo does not offer. Offered: verbalo:read, verbalo:full.","guest.start.preparing":"Setting things upâ¦","guest.start.failedTitle":"We could not start a trial right now","guest.start.failedQuota":"Trials are limited each day, and todayâs are taken. You can create an account instead â it takes a moment and nothing is lost.","guest.start.failedUnavailable":"Trials are unavailable right now. You can try again in a moment, or create an account â it takes no longer and nothing is lost.","guest.start.createAccount":"Create an account","guest.start.signIn":"Sign in","guest.banner.title":"You are trying Verbalo","guest.banner.body":"Create an account to keep this agent. Nothing is transferred â it is already yours.","guest.banner.cta":"Save my agent","guest.convert.title":"Keep your agent","guest.convert.body":"Add an email and password. Your agent, its voice and its settings stay exactly as they are.","guest.convert.email":"Email","guest.convert.password":"Password","guest.convert.name":"Your name (optional)","guest.convert.submit":"Create account","guest.convert.working":"Creatingâ¦","guest.convert.close":"Close","guest.convert.taken":"That email already has an account. Sign in to it instead.","guest.convert.expired":"This trial has ended. Create an account to start again.","guest.test.pending":"Warming up your agentâ¦","guest.test.locked":"Create an account to keep testing"},es:{"lang.en":"EN","lang.es":"ES","nav.workspace":"Espacio de trabajo","nav.dashboard":"Panel","nav.agents":"Agentes","nav.setupWizard":"Asistente de configuración","nav.manage":"Gestionar","nav.calls":"Llamadas","nav.leads":"Clientes potenciales","nav.phoneNumbers":"Números telefónicos","nav.campaigns":"Campañas","nav.build":"Construir","nav.templates":"Plantillas","nav.integrations":"Integraciones","nav.flowDesigner":"Diseñador de flujos","nav.account":"Cuenta","nav.billing":"Facturación","nav.mcp":"MCP","nav.connectedApps":"Aplicaciones conectadas","nav.settings":"Configuración","nav.operations":"Operaciones","nav.ops":"Ops","nav.signOut":"Cerrar sesión","nav.skipToContent":"Saltar al contenido principal","nav.openMenu":"Abrir menú de navegación","notifications.title":"Notificaciones","notifications.empty":"Sin notificaciones","notifications.markAllRead":"Marcar todo como leÃdo","notifications.open":"Abrir notificaciones","notifications.close":"Cerrar notificaciones","dashboard.title":"Panel","dashboard.subtitle":"Rendimiento y resultados","dashboard.integrationDown":"La integración con ElevenLabs no está disponible. Los datos del panel pueden estar incompletos.","dashboard.aiInsights":"Análisis IA","dashboard.askPlaceholder":"Pregunta sobre tus conversacionesâ¦","calls.title":"Historial de conversaciones","calls.total":"conversaciones en total","calls.export":"Exportar CSV","calls.integrationDown":"La integración con ElevenLabs no está disponible. El historial puede estar incompleto.","calls.dateFrom":"Desde","calls.dateTo":"Hasta","calls.dateClear":"Borrar fecha","login.title":"Iniciar sesión en Verbalo","login.subtitle":"Inicia sesión en tu espacio de trabajo","login.email":"Correo electrónico","login.password":"Contraseña","login.submit":"Iniciar sesión","login.submitting":"Iniciando sesiónâ¦","login.noAccount":"¿No tienes cuenta?","login.register":"RegÃstrate gratis","register.title":"Crea tu cuenta","register.subtitle":"Crea tu cuenta gratuita","register.trialEnded":"Tu prueba ha terminado. Crea una cuenta para empezar de nuevo: solo toma un momento.","register.name":"Nombre completo","register.email":"Correo electrónico","register.password":"Contraseña","register.submit":"Crear cuenta","register.submitting":"Creando cuentaâ¦","register.credits":"500 créditos gratis incluidos en cada cuenta Free","register.hasAccount":"¿Ya tienes cuenta?","register.signIn":"Iniciar sesión","copilot.title":"Copiloto de configuración","copilot.greeting":"Estoy aquà para ayudarte con tu cuenta de Verbalo","copilot.onboarding.greeting":"¡Hola! Estoy aquà para ayudarte a configurar un agente de voz en un par de minutos. ¿Cuál es tu caso de uso? DescrÃbelo con tus palabras o elige una plantilla abajo.","copilot.onboarding.congrats":"¡Enhorabuena! Tu cuenta ya está lista y tu primer agente está guardado para siempre. Echa un vistazo al panel, cambia lo que quieras o solo pregúntame.","copilot.onboarding.placeholder":"Describe tu negocio o caso de usoâ¦","copilot.onboarding.templates":"O empieza desde una plantilla","copilot.onboarding.templateConfirm":"Toca de nuevo para reemplazar el objetivo que describiste","copilot.onboarding.prevTemplates":"Desplazar plantillas a la izquierda","copilot.onboarding.nextTemplates":"Desplazar plantillas a la derecha","copilot.onboarding.voiceHint":"¿Prefieres hablar? Toca el micrófono. El navegador pide el micrófono solo entonces.","copilot.onboarding.manual":"Configurarlo manualmente","copilot.placeholder":"Pregunta cómo configurar agentes, integraciones o facturaciónâ¦","copilot.send":"Enviar mensaje","copilot.confirm":"Confirmar","copilot.cancel":"Cancelar","copilot.open":"Abrir copiloto de configuración","copilot.close"
47:"Cerrar copiloto de configuración","copilot.typing":"Escribiendoâ¦","copilot.working":"Trabajando en elloâ¦","copilot.confirmTitle":"Confirma esta acción","copilot.goToSettings":"Ir a configuración","copilot.newChat":"Nuevo chat","copilot.voiceStart":"Iniciar chat de voz","copilot.voiceStop":"Detener chat de voz","copilot.voiceActive":"Chat de voz activo â habla ahora","copilot.voiceConnecting":"Conectandoâ¦","copilot.voiceThinking":"Pensandoâ¦","copilot.voiceSpeaking":"Hablandoâ¦","copilot.micBlocked":"Tu micrófono está bloqueado. Toca el micrófono para reintentar, o escribe abajo.","copilot.trialSpent":"Las pruebas gratuitas de hoy se agotaron. Vuelve mañana, o crea una cuenta para empezar ya.","copilot.trialBusy":"Fueron varios intentos seguidos â espera un par de minutos y vuelve a empezar.","copilot.creation.builderTitle":"Constructor de agente","copilot.creation.voiceTitle":"Elige una voz","copilot.creation.voiceSubtitle":"Selecciona una persona para oÃrla y después usa esa voz.","copilot.creation.voiceCarouselLabel":"Personas de voz","copilot.creation.voiceListenHint":"Comparar escuchando","copilot.creation.voiceTraitsLabel":"Rasgos de voz","copilot.creation.prevVoice":"Voz anterior","copilot.creation.nextVoice":"Voz siguiente","copilot.creation.playPreview":"Reproducir vista previa","copilot.creation.stopPreview":"Detener vista previa","copilot.creation.sampleQuoteLabel":"Frase de muestra","copilot.creation.useVoice":"Usar esta voz","copilot.creation.confirmVoice":"Confirmar esta voz","copilot.creation.okVoice":"OK","copilot.creation.confirmingVoice":"Guardando vozâ¦","copilot.creation.provisioningVoice":"Creando tu agenteâ¦","copilot.creation.recommended":"Recomendada","copilot.creation.loadingVoices":"Cargando vocesâ¦","copilot.creation.voiceLoadError":"No se pudieron cargar las voces.","copilot.creation.noVoices":"No hay personas de voz disponibles.","copilot.creation.finalTitle":"Listo para crear","copilot.creation.finalSubtitle":"Revisa el agente. Añade cambios o créalo.","copilot.creation.fieldGoal":"Objetivo","copilot.creation.fieldVoice":"Voz","copilot.creation.fieldGreeting":"Saludo","copilot.creation.createAndTest":"Crear y probar","copilot.creation.createAgent":"Crear agente","copilot.creation.addOrChange":"Añadir o cambiar algo","copilot.creation.changePrompt":"Por favor cambia: ","copilot.creation.testReadyTitle":"Tu agente está listo para probar","copilot.creation.testReadySubtitle":"Haz una prueba de voz o continúa la configuración.","copilot.creation.testReadyNamed":"{name} está listo para una prueba de voz.","copilot.creation.testAgent":"Probar agente","copilot.creation.continueSetup":"Continuar configuración","copilot.creation.provisioning":"Creando tu agenteâ¦","copilot.creation.setupTasksTitle":"Pasos de configuración","copilot.creation.connectStore":"Conectar tienda","copilot.creation.setupTasksHint":"Abre Integraciones para ingresar las credenciales API de tu tienda y luego vuelve aquÃ.","copilot.creation.choosePlatform":"¿Qué plataforma usa el negocio?","copilot.creation.platformComingSoon":"Próximamente","copilot.creation.platformInterestRecorded":"Te avisaremos","copilot.creation.manualKnowledge":"Usar base de conocimiento manual","agentEdit.voicePanel.expand":"Cambiar voz","agentEdit.voicePanel.collapse":"Listo","agentEdit.voicePanel.tapToChange":"Toca para explorar voces","agentEdit.voicePanel.noVoice":"Sin persona seleccionada","agentEdit.calendarSchedule.title":"Agenda del calendario","agentEdit.calendarSchedule.subtitle":"Horarios reservados y libres del evento de llamada de voz ({timeZone}).","agentEdit.calendarSchedule.refresh":"Actualizar","agentEdit.calendarSchedule.bookingsHidden":"Las reservas están ocultas hasta que este calendario tenga su propia clave API. Vuelve a guardar el agente para generarla.","agentEdit.calendarSchedule.loadError":"No se pudo cargar el calendario","agentEdit.calendarSchedule.prevMonth":"Mes anterior","agentEdit.calendarSchedule.nextMonth":"Mes siguiente","agentEdit.calendarSchedule.free":"libres","agentEdit.calendarSchedule.booked":"reservados","agentEdit.calendarSchedule.selectDay":"Selecciona un dÃa","agentEdit.calendarSchedule.noSlots":"No hay horarios este dÃa.","agentEdit.calendarSchedule.statusBooked":"Reservado","agentEdit.calendarSchedule.statusFree":"Libre","mcpConsent.title":"Autorizar acceso","mcpConsent.subtitle":"Una aplicación quiere conectarse a tu cuenta de Verbalo","mcpConsent.clientLabel":"Aplicación","mcpConsent.redirectLabel":"Redirigirá a","mcpConsent.unverifiedWarning":"Esta es una aplicación de terceros no verificada. Revisa la URL de redirección completa antes de aprobar.","mcpConsent.signedInAs":"Sesión iniciada como","mcpConsent.accessTitle":"Esta aplicación tendrá acceso a","mcpConsent.accessAgents":"Agentes","mcpConsent.accessCalls":"Llamadas y conversaciones","mcpConsent.accessBilling":"Facturación y uso","mcpConsent.accessProfiles":"Perfiles y configuración","mcpConsent.accessFull":"Acceso completo a la cuenta vÃa MCP","mcpConsent.scopeTitle":"Nivel de acceso","mcpConsent.scopeFull":"Acceso completo","mcpConsent.scopeFullDesc":"Ver y cambiar agentes, llamadas, campañas, números de teléfono y facturación, incluidas acciones que gastan créditos.","mcpConsent.scopeRead":"Solo lectura","mcpConsent.scopeReadDesc":"Ver agentes, llamadas, leads, reservas, uso y configuración. No puede cambiar sus agentes, llamadas ni configuración, ni gastar créditos.","mcpConsent.scopeReadOnlyRequested":"Esta aplicación pidió acceso de solo lectura.","mcpConsent.revokeHint":"Puedes revocar el acceso en cualquier momento en Aplicaciones conectadas.","mcpConsent.approve":"Aprobar","mcpConsent.deny":"Denegar","mcpConsent.submitting":"Procesandoâ¦","mcpConsent.errorTitle":"No se puede autorizar","mcpConsent.errorParam
47s":"Este enlace de autorización no es válido o está incompleto.","mcpConsent.errorClient":"No se pudieron cargar los detalles de la aplicación. El cliente puede ser desconocido.","mcpConsent.errorNetwork":"Algo salió mal. Inténtalo de nuevo.","mcpConsent.errorMissingClientId":"Falta el parámetro client_id.","mcpConsent.errorMissingRedirectUri":"Falta el parámetro redirect_uri.","mcpConsent.errorMissingCodeChallenge":"Falta el parámetro code_challenge.","mcpConsent.errorInvalidResponseType":"response_type debe ser âcodeâ.","mcpConsent.errorInvalidChallengeMethod":"code_challenge_method debe ser S256.","mcpConsent.errorInvalidScope":"Esta aplicación pidió un nivel de acceso que Verbalo no ofrece. Ofrecidos: verbalo:read, verbalo:full.","guest.start.preparing":"Preparando todoâ¦","guest.start.failedTitle":"No pudimos iniciar una prueba ahora mismo","guest.start.failedQuota":"Las pruebas son limitadas cada dÃa y hoy ya se agotaron. Puedes crear una cuenta: toma un momento y no se pierde nada.","guest.start.failedUnavailable":"Las pruebas no están disponibles en este momento. Puedes intentarlo de nuevo enseguida o crear una cuenta: no toma más tiempo y no se pierde nada.","guest.start.createAccount":"Crear una cuenta","guest.start.signIn":"Iniciar sesión","guest.banner.title":"Estás probando Verbalo","guest.banner.body":"Crea una cuenta para conservar este agente. No se transfiere nada: ya es tuyo.","guest.banner.cta":"Guardar mi agente","guest.convert.title":"Conserva tu agente","guest.convert.body":"Añade un correo y una contraseña. Tu agente, su voz y su configuración quedan igual.","guest.convert.email":"Correo electrónico","guest.convert.password":"Contraseña","guest.convert.name":"Tu nombre (opcional)","guest.convert.submit":"Crear cuenta","guest.convert.working":"Creandoâ¦","guest.convert.close":"Cerrar","guest.convert.taken":"Ese correo ya tiene una cuenta. Inicia sesión en ella.","guest.convert.expired":"Esta prueba terminó. Crea una cuenta para empezar de nuevo.","guest.test.pending":"Preparando tu agenteâ¦","guest.test.locked":"Crea una cuenta para seguir probando"}};function Hb(o,u){var c;return((c=xm[o])==null?void 0:c[u])??xm.en[u]??u}const Wm=A.createContext(null);function Bb(){if(typeof window>"u")return yr;try{const o=window.localStorage.getItem(Pm);if(o==="en"||o==="es")return o}catch{}return yr}function Gb({children:o}){const[u,c]=A.useState(Bb),r=A.useCallback(N=>{const O=Fm.includes(N)?N:yr;c(O);try{window.localStorage.setItem(Pm,O)}catch{}document.documentElement.lang=O},[]);A.useEffect(()=>{document.documentElement.lang=u},[u]);const g=A.useCallback(N=>Hb(u,N),[u]),_=A.useMemo(()=>({locale:u,setLocale:r,t:g}),[u,r,g]);return d.jsx(Wm.Provider,{value:_,children:o})}function Jt(){const o=A.useContext(Wm);if(!o)throw new Error("useI18n must be used within I18nProvider");return o}function Tr({className:o=""}){const{locale:u,setLocale:c,t:r}=Jt();return d.jsx("div",{className:`inline-flex rounded-lg overflow-hidden border border-white/10 text-[11px] font-semibold ${o}`,role:"group","aria-label":"Language",children:Fm.map(g=>d.jsx("button",{type:"button",onClick:()=>c(g),className:`px-2 py-1 transition ${u===g?"bg-white/15 text-white":"text-white/40 hover:text-white/70 hover:bg-white/5"}`,"aria-pressed":u===g,children:r(`lang.${g}`)},g))})}/** 48 * @license lucide-react v1.49.0 - ISC 49 * 50 * This source code is licensed under the ISC license. 51 * See the LICENSE file in the root directory of this source tree. 52 */const Vb=o=>o==null?void 0:o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** 53 * @license lucide-react v1.49.0 - ISC 54 * 55 * This source code is licensed under the ISC license. 56 * See the LICENSE file in the root directory of this source tree. 57 */function Yb(o,u,c=[]){if(u==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:Vb(o),size:24,node:u,...c.length>0?{aliases:c}:{}}}/** 58 * @license lucide-react v1.49.0 - ISC 59 * 60 * This source code is licensed under the ISC license. 61 * See the LICENSE file in the root directory of this source tree. 62 */const Qb=o=>{let u="",c=!1;for(const r of o){if(r==="-"||r==="_"||r<=" "){c=u.length>0;continue}u.length===0?u+=r.toLowerCase():u+=c?r.toUpperCase():r,c=!1}return u};/** 63 * @license lucide-react v1.49.0 - ISC 64 * 65 * This source code is licensed under the ISC license. 66 * See the LICENSE file in the root directory of this source tree. 67 */const Xb=o=>{const u=Qb(o);return u.charAt(0).toUpperCase()+u.slice(1)};/** 68 * @license lucide-react v1.49.0 - ISC 69 * 70 * This source code is licensed under the ISC license. 71 * See the LICENSE file in the root directory of this source tree. 72 */const pr=(...o)=>o.filter((u,c,r)=>!!u&&u.trim()!==""&&r.indexOf(u)===c).join(" ").trim();/** 73 * @license lucide-react v1.49.0 - ISC 74 * 75 * This source code is licensed under the ISC license. 76 * See the LICENSE file in the root directory of this source tree. 77 */const _n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** 78 * @license lucide-react v1.49.0 - ISC 79 * 80 * This source code is licensed under the ISC license. 81 * See the LICENSE file in the root directory of this source tree. 82 */function or(o){return o!=null}function Zb(o,u={}){var z,Y;const c=u.attributeNames??{},r=R=>c[R]??R,g=o.size??o.width??_n.width,_=o.size??o.height??_n.height,N=((z=o.aliases)==null?void 0:z.filter(R=>
82typeof R=="string"&&R.trim()!=="").map(R=>`lucide-${R}`))??[],O=[...o.name?[`lucide-${o.name}`]:[],...N],w=((Y=u.className)==null?void 0:Y.split(" ").filter(Boolean))??[],C=u.includeDefaultClasses===!1?pr(...w):pr("lucide",...O,...w),L=u.absoluteStrokeWidth?Number(u.strokeWidth??_n["stroke-width"])*Number(o.size??o.width??_n.width)/Number(u.size??u.width??_n.width):u.strokeWidth??_n["stroke-width"];return["svg",{...Object.entries(_n).reduce((R,[B,M])=>(R[r(B)]=M,R),{}),..."color"in u&&u.color&&{[r("stroke")]:u.color},..."size"in u&&or(u.size)&&{[r("width")]:u.size,[r("height")]:u.size},..."width"in u&&or(u.width)&&{[r("width")]:u.width},..."height"in u&&or(u.height)&&{[r("height")]:u.height},[r("stroke-width")]:L,...C&&{[r("class")]:C},[r("viewBox")]:`0 0 ${g} ${_}`,...u.hasA11yProp===!1?{[r("aria-hidden")]:"true"}:{},..."attributes"in u&&u.attributes},o.node.map(R=>{const[B,M,$]=R,oe=u.nonScalingStroke?{[r("vector-effect")]:"non-scaling-stroke",...M}:M;return $?[B,oe,$]:[B,oe]})]}/** 83 * @license lucide-react v1.49.0 - ISC 84 * 85 * This source code is licensed under the ISC license. 86 * See the LICENSE file in the root directory of this source tree. 87 */function kb(o,u={}){return Zb(o,{...u,attributeNames:{...u.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}/** 88 * @license lucide-react v1.49.0 - ISC 89 * 90 * This source code is licensed under the ISC license. 91 * See the LICENSE file in the root directory of this source tree. 92 */const Jb=o=>{for(const u in o)if(u.startsWith("aria-")||u==="role"||u==="title")return!0;return!1},Kb=A.createContext({}),$b=()=>A.useContext(Kb),Ib=A.forwardRef(({color:o,size:u,width:c,height:r,strokeWidth:g,absoluteStrokeWidth:_,nonScalingStroke:N,className:O="",children:w,iconNode:C=[],icon:L={node:C,aliases:[],size:24},...j},z)=>{const{size:Y=24,strokeWidth:R=2,absoluteStrokeWidth:B=!1,nonScalingStroke:M=!1,color:$="currentColor",className:oe=""}=$b()??{},Ie=!!w||Jb(j),[Me,we,te=[]]=kb(L,{color:o??$,width:c??u??Y,height:r??u??Y,strokeWidth:g??R,absoluteStrokeWidth:_??B,nonScalingStroke:N??M,className:pr(oe,O),hasA11yProp:Ie,attributes:j});return A.createElement(Me,{ref:z,...we},[...te.map(([X,fa])=>A.createElement(X,fa)),...Array.isArray(w)?w:[w]])});/** 93 * @license lucide-react v1.49.0 - ISC 94 * 95 * This source code is licensed under the ISC license. 96 * See the LICENSE file in the root directory of this source tree. 97 */function ue(o,u=[],c=[]){const r=typeof o=="string"?Yb(o,u,c):o,g=A.forwardRef(({className:_,...N},O)=>A.createElement(Ib,{ref:O,icon:r,className:_,...N}));return r.name&&(g.displayName=Xb(r.name)),g}/** 98 * @license lucide-react v1.49.0 - ISC 99 * 100 * This source code is licensed under the ISC license. 101 * See the LICENSE file in the root directory of this source tree. 102 */const e0={name:"bell",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]};e0.node;const Fb=ue(e0);/** 103 * @license lucide-react v1.49.0 - ISC 104 * 105 * This source code is licensed under the ISC license. 106 * See the LICENSE file in the root directory of this source tree. 107 */const t0={name:"bot",size:24,node:[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]};t0.node;const Pb=ue(t0);/** 108 * @license lucide-react v1.49.0 - ISC 109 * 110 * This source code is licensed under the ISC license. 111 * See the LICENSE file in the root directory of this source tree. 112 */const a0={name:"cable",size:24,node:[["path",{d:"M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z",key:"trhst0"}],["path",{d:"M17 21v-2",key:"ds4u3f"}],["path",{d:"M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10",key:"1mo9zo"}],["path",{d:"M21 21v-2",key:"eo0ou"}],["path",{d:"M3 5V3",key:"1k5hjh"}],["path",{d:"M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z",key:"1dd30t"}],["path",{d:"M7 5V3",key:"1t1388"}]]};a0.node;const Wb=ue(a0);/** 113 * @license lucide-react v1.49.0 - ISC 114 * 115 * This source code is licensed under the ISC license. 116 * See the LICENSE file in the root directory of this source tree. 117 */const n0={name:"calendar",size:24,node:[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]]};n0.node;const e1=ue(n0);/** 118 * @license lucide-react v1.49.0 - ISC 119 * 120 * This source code is licensed under the ISC license. 121 * See the LICENSE file in the root directory of this source tree. 122 */const l0={name:"chart-line",size:24,node:[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],aliases:["line-chart"]};l0.node;const t1=ue(l0);/** 123 * @license lucide-react v1.49.0 - ISC 124 * 125 * This source code is licensed under the ISC license. 126 * See the LICENSE file in the root directory of this source tree. 127 */const i0={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]};i0.node;const a1=ue(i0);/** 128 * @license lucide-react v1.49.0 - ISC 129 * 130 * This source code is licensed under the ISC license. 131 * See the LICENSE file in the root directory of this source tree. 132 */const u0={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};u0.node;const br=ue(u0);/** 133 * @license lucide-react v1.49.0 - ISC 134 * 135 * This source code is licensed under the ISC license. 136 * See the LICENSE file in the root directory of this source tree. 137 */const o0={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};o0.node;const n1=ue(o0);/** 138 * @license lucide-react v1.49.0 - ISC 139 * 140 * This source code is licensed under the ISC license. 141 * See the LICENSE file in the root directory of this source tree. 142 */const s0={name:"circle-minus",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],aliases:["minus-circle"]};s0.node;const l1=ue(s0);/** 143 * @license lucide-react v1.49.0 - ISC 144 * 145 * This source code is licensed under the ISC license. 146 * See the LICENSE file in the root directory of this source tree. 147 */const c0={name:"circle-x",size:24,node:[["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"}]],aliases:["x-circle"]};c0.node;const i1=ue(c0);/** 148 * @license lucide-react v1.49.0 - ISC 149 * 150 * This source code is licensed under the ISC license. 151 * See the LICENSE file in the root directory of this source tree. 152 */const r0={name:"clock-3",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]]};r0.node;const f0=ue(r0);/** 153 * @license lucide-react v1.49.0 - ISC 154 * 155 * This source code is licensed under the ISC license. 156 * See the LICENSE file in the root directory of this source tree. 157 */const d0={name:"credit-card",size:24,node:[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}],["path",{d:"M6 14h2",key:"mk7k0u"}]]};d0.node;const u1=ue(d0);/** 158 * @license lucide-react v1.49.0 - ISC 159 * 160 * This source code is licensed under the ISC license. 161 * See the LICENSE file in the root directory of this source tree. 162 */const h0={name:"dollar-sign",size:24,node:[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]};h0.node;const o1=ue(h0);/** 163 * @license lucide-react v1.49.0 - ISC 164 * 165 * This source code is licensed under the ISC license. 166 * See the LICENSE file in the root directory of this source tree. 167 */const g0={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};g0.node;const s1=ue(g0);/** 168 * @license lucide-react v1.49.0 - ISC 169 * 170 * This source code is licensed under the ISC license. 171 * See the LICENSE file in the root directory of this source tree. 172 */const m0={name:"layout-dashboard",size:24,node:[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]};m0.node;const v0=ue(m0);/** 173 * @license lucide-react v1.49.0 - ISC 174 * 175 * This source code is licensed under the ISC license. 176 * See the LICENSE file in the root directory of this source tree. 177 */const y0={name:"library",size:24,node:[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}
177],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]]};y0.node;const c1=ue(y0);/** 178 * @license lucide-react v1.49.0 - ISC 179 * 180 * This source code is licensed under the ISC license. 181 * See the LICENSE file in the root directory of this source tree. 182 */const p0={name:"log-out",size:24,node:[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]};p0.node;const r1=ue(p0);/** 183 * @license lucide-react v1.49.0 - ISC 184 * 185 * This source code is licensed under the ISC license. 186 * See the LICENSE file in the root directory of this source tree. 187 */const b0={name:"megaphone",size:24,node:[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]]};b0.node;const f1=ue(b0);/** 188 * @license lucide-react v1.49.0 - ISC 189 * 190 * This source code is licensed under the ISC license. 191 * See the LICENSE file in the root directory of this source tree. 192 */const S0={name:"menu",size:24,node:[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]};S0.node;const d1=ue(S0);/** 193 * @license lucide-react v1.49.0 - ISC 194 * 195 * This source code is licensed under the ISC license. 196 * See the LICENSE file in the root directory of this source tree. 197 */const x0={name:"message-square",size:24,node:[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]};x0.node;const h1=ue(x0);/** 198 * @license lucide-react v1.49.0 - ISC 199 * 200 * This source code is licensed under the ISC license. 201 * See the LICENSE file in the root directory of this source tree. 202 */const _0={name:"phone-call",size:24,node:[["path",{d:"M13 2a9 9 0 0 1 9 9",key:"1itnx2"}],["path",{d:"M13 6a5 5 0 0 1 5 5",key:"11nki7"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]};_0.node;const T0=ue(_0);/** 203 * @license lucide-react v1.49.0 - ISC 204 * 205 * This source code is licensed under the ISC license. 206 * See the LICENSE file in the root directory of this source tree. 207 */const E0={name:"phone",size:24,node:[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]};E0.node;const g1=ue(E0);/** 208 * @license lucide-react v1.49.0 - ISC 209 * 210 * This source code is licensed under the ISC license. 211 * See the LICENSE file in the root directory of this source tree. 212 */const N0={name:"plug-zap",size:24,node:[["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m18 3-4 4h6l-4 4",key:"16psg9"}]],aliases:["plug-zap-2"]};N0.node;const m1=ue(N0);/** 213 * @license lucide-react v1.49.0 - ISC 214 * 215 * This source code is licensed under the ISC license. 216 * See the LICENSE file in the root directory of this source tree. 217 */const A0={name:"send",size:24,node:[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]};A0.node;const v1=ue(A0);/** 218 * @license lucide-react v1.49.0 - ISC 219 * 220 * This source code is licensed under the ISC license. 221 * See the LICENSE file in the root directory of this source tree. 222 */const C0={name:"settings",size:24,node:[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]};C0.node;const y1=ue(C0);/** 223 * @license lucide-react v1.49.0 - ISC 224 * 225 * This source code is licensed under the ISC license. 226 * See the LICENSE file in the root directory of this source tree. 227 */const O0={name:"shield-check",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
227y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]};O0.node;const p1=ue(O0);/** 228 * @license lucide-react v1.49.0 - ISC 229 * 230 * This source code is licensed under the ISC license. 231 * See the LICENSE file in the root directory of this source tree. 232 */const z0={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};z0.node;const b1=ue(z0);/** 233 * @license lucide-react v1.49.0 - ISC 234 * 235 * This source code is licensed under the ISC license. 236 * See the LICENSE file in the root directory of this source tree. 237 */const D0={name:"target",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]};D0.node;const S1=ue(D0);/** 238 * @license lucide-react v1.49.0 - ISC 239 * 240 * This source code is licensed under the ISC license. 241 * See the LICENSE file in the root directory of this source tree. 242 */const w0={name:"timer",size:24,node:[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]};w0.node;const x1=ue(w0);/** 243 * @license lucide-react v1.49.0 - ISC 244 * 245 * This source code is licensed under the ISC license. 246 * See the LICENSE file in the root directory of this source tree. 247 */const j0={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]};j0.node;const _1=ue(j0);/** 248 * @license lucide-react v1.49.0 - ISC 249 * 250 * This source code is licensed under the ISC license. 251 * See the LICENSE file in the root directory of this source tree. 252 */const M0={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};M0.node;const R0=ue(M0),T1=6e4;function E1(o){if(!o)return"";const u=Date.now()-new Date(o).getTime(),c=Math.floor(u/6e4);if(c<1)return"now";if(c<60)return`${c}m`;const r=Math.floor(c/60);return r<24?`${r}h`:`${Math.floor(r/24)}d`}function N1(){const{t:o}=Jt(),u=El(),[c,r]=A.useState(!1),[g,_]=A.useState([]),[N,O]=A.useState(0),w=A.useRef(null),C=A.useCallback(async()=>{try{const z=await De.getNotifications({limit:20});_(z.notifications),O(z.unreadCount)}catch{}},[]);A.useEffect(()=>(C(),w.current=setInterval(C,T1),()=>{w.current&&clearInterval(w.current)}),[C]);const L=async z=>{z.readAt||(_(Y=>Y.map(R=>R.id===z.id?{...R,readAt:new Date().toISOString()}:R)),O(Y=>Math.max(0,Y-1)),De.markNotificationRead(z.id).catch(()=>{})),z.type==="conversation.completed"&&(r(!1),u("/calls"))},j=async()=>{_(z=>z.map(Y=>Y.readAt?Y:{...Y,readAt:new Date().toISOString()})),O(0),De.markAllNotificationsRead().catch(()=>{})};return d.jsxs(d.Fragment,{children:[d.jsxs("button",{onClick:()=>{r(!0),C()},className:"relative flex items-center gap-2.5 w-full px-2.5 py-2 rounded-lg text-[13px] text-white/30 hover:text-white/70 hover:bg-white/5 transition-all","aria-label":o("notifications.open"),children:[d.jsxs("span",{className:"relative inline-flex",children:[d.jsx(Fb,{size:14}),N>0&&d.jsx("span",{className:"absolute -top-1.5 -right-1.5 min-w-[14px] h-[14px] px-0.5 rounded-full bg-violet-500 text-white text-[9px] font-semibold flex items-center justify-center leading-none",children:N>99?"99+":N})]}),o("notifications.title")]}),c&&d.jsxs("div",{className:"fixed inset-0 z-[70]",role:"dialog","aria-modal":"true","aria-label":o("notifications.title"),children:[d.jsx("div",{className:"fixed inset-0 bg-black/40 backdrop-blur-[2px]",onClick:()=>r(!1)}),d.jsxs("aside",{className:"fixed right-0 top-0 bottom-0 w-full max-w-sm bg-white shadow-2xl flex flex-col",children:[d.jsxs("header",{className:"flex items-center justify-between px-4 h-14 border-b border-gray-100 flex-shrink-0",children:[d.jsx("h2",{className:"text-sm font-semibold text-gray-900",children:o("notifications.title")}),d.jsxs("div",{className:"flex items-center gap-2",children:[N>0&&d.jsxs("button",{onClick:j,className:"flex items-center gap-1 text-[12px] text-violet-600 hover:text-violet-800 transition",children:[d.jsx(a1,{size:13}),o("notifications.markAllRead")]}),d.jsx("button",{onClick:()=>r(!1),className:"text-gray-400 hover:text-gray-600 transition","aria-label":o("notifications.close"),children:d.jsx(R0,{size:16})})]})]}),d.jsx("div",{className:"flex-1 overflow-y-auto",children:g.length===0?d.jsx("p",{className:"text-[13px] text-gray-400 text-center mt-10",children:o("notifications.empty")}):d.jsx("ul",{className:"divide-y divide-gray-50",children:g.map(z=>d.jsx("li",{children:d.jsx("button",{onClick:()=>L(z),className:`w-full text-left px-4 py-3 hover:bg-gray-50 transition ${z.readAt?"opacity-60":""}`,children:d.jsxs("div",{className:"flex items-start gap-2",children:[!z.readAt&&d.jsx("span",{className:"mt-1.5 w-1.5 h-1.5 rounded-full bg-violet-500 flex-shrink-0"}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("p",{className:"text-[13px] font-medium text-gray-900 truncate",children:z.title}),z.body&&d.jsx("p",{className:"text-[12px] text-gray-500 mt-0.5 line-clamp-2",children:z.body})]}),d.jsx("span",{className:"text-[11px] text-gray-300 flex-shrink-0",children:E1(z.createdAt)})]})})},z.id))})})]})]})]})}const Sr="verbalo:guest-convert";let xr=!1;function px(){xr=!0,window.dispatchEvent(new CustomEvent(Sr))}function _m(){const o=xr;return xr=!1,o}function A1({onClose:o}){const{convertGuest:u}=ra(),{t:c}=Jt(),[r,g]=A.useState(""),[_,N]=A.useState(""),[O,w]=A.useState(""),[C,L]=A.useState(!1),[j,z]=A.useState(null),Y=A.useRef(null);A.useEffect(()=>{var M;(M=Y.current)==null||M.focus()},[]),A.useEffect(()=>{const M=$=>{$.key==="Escape"&&!C&&o()};return window.addEventListener("keydown",M),()=>window.removeEventListener("keydown",M)},[C,o]);const R=async M=>{M.preventDefault(),L(!0),z(null);try{await u(r,_,O||void 0),o()}catch($){const oe=$ instanceof zi?$.code:void 0;z(oe==="email_taken"?c("guest.convert.taken"):oe==="guest_not_convertible"||oe==="guest_session_expired"?c("guest.convert.expired"):$ instanceof Error?$.message:"Something went wrong")}finally{L(!1)}},B="w-full rounded-lg border border-gray-200 px-3 py-2 text-sm text-gray-900 outline-none focus:border-violet-400";return d.jsxs("div",{className:"fixed inset-0 z-[60] flex items-center justify-center p-4",children:[d.jsx("div",{"data-testid":"guest-convert-backdrop",className:"absolute inset-0 bg-black/40",onClick:()=>!C&&o()}),d.jsxs("div",{role:"dialog","aria-modal":"true","aria-labelledby":"guest-convert-title",className:"relative w-full max-w-md rounded-2xl bg-white p-5 shadow-xl",children:[d.jsx("button",{type:"button",onClick:o,disabled:C,"aria-label":c("guest.convert.close"),className:"absolute right-4 top-4 text-gray-400 hover:text-gray-600 disabled:opacity-40",children:d.jsx(R0,{size:16})}),d.jsx("h2",{id:"guest-convert-title",className:"text-sm font-semibold text-gray-900",children:c("guest.convert.title")}),d.jsx("p",{className:"mb-4 mt-1 text-xs text-gray-500",children:c("guest.convert.body")}),d.jsxs("form",{onSubmit:R,className:"space-y-2",children:[d.jsx("input",{ref:Y,type:"email",required:!0,value:r,onChange:M=>g(M.target.value),placeholder:c("guest.convert.email"),"aria-label":c("guest.convert.email"),className:B}),d.jsx("input",{type:"password",required:!0,minLength:8,value:_,onCh
252ange:M=>N(M.target.value),placeholder:c("guest.convert.password"),"aria-label":c("guest.convert.password"),className:B}),d.jsx("input",{type:"text",value:O,onChange:M=>w(M.target.value),placeholder:c("guest.convert.name"),"aria-label":c("guest.convert.name"),className:B}),d.jsx("button",{type:"submit",disabled:C,className:"w-full rounded-lg bg-violet-600 px-4 py-2 text-sm font-medium text-white hover:bg-violet-500 disabled:opacity-60",children:c(C?"guest.convert.working":"guest.convert.submit")})]}),j?d.jsxs("p",{className:"mt-2 text-xs text-red-600",children:[j,j===c("guest.convert.taken")?d.jsxs(d.Fragment,{children:[" ",d.jsx(ka,{to:"/login",className:"underline",children:c("guest.start.signIn")})]}):null]}):null]})]})}function C1(){const{user:o}=ra(),{t:u}=Jt(),[c,r]=A.useState(!1);return A.useEffect(()=>{_m()&&r(!0);const g=()=>{_m(),r(!0)};return window.addEventListener(Sr,g),()=>window.removeEventListener(Sr,g)},[]),o!=null&&o.isGuest?d.jsxs("div",{className:"border-b border-amber-200 bg-amber-50",children:[d.jsxs("div",{className:"flex flex-wrap items-center gap-3 px-4 py-2.5",children:[d.jsxs("div",{className:"min-w-0 flex-1",children:[d.jsx("p",{className:"text-sm font-medium text-amber-900",children:u("guest.banner.title")}),d.jsx("p",{className:"text-xs text-amber-800",children:u("guest.banner.body")})]}),d.jsx("button",{type:"button",onClick:()=>r(!0),className:"rounded-lg bg-amber-600 px-3 py-1.5 text-sm font-medium text-white hover:bg-amber-500",children:u("guest.banner.cta")})]}),c?d.jsx(A1,{onClose:()=>r(!1)}):null]}):null}function Tm({size:o=30}){const u=Math.round(o*.6);return d.jsxs("svg",{width:o,height:u,viewBox:"0 0 30 18",fill:"none","aria-hidden":"true",children:[d.jsx("rect",{x:"0",y:"10",width:"4",height:"8",rx:"2",fill:"white",fillOpacity:"0.32"}),d.jsx("rect",{x:"6.5",y:"4",width:"4",height:"14",rx:"2",fill:"white",fillOpacity:"0.62"}),d.jsx("rect",{x:"13",y:"0",width:"4",height:"18",rx:"2",fill:"white"}),d.jsx("rect",{x:"19.5",y:"5",width:"4",height:"13",rx:"2",fill:"white",fillOpacity:"0.55"}),d.jsx("rect",{x:"26",y:"9",width:"4",height:"9",rx:"2",fill:"white",fillOpacity:"0.32"})]})}const Em=[{labelKey:"nav.workspace",items:[{to:"/",labelKey:"nav.dashboard",icon:v0,end:!0},{to:"/agents",labelKey:"nav.agents",icon:Pb},{to:"/setup-wizard",labelKey:"nav.setupWizard",icon:br}]},{labelKey:"nav.manage",items:[{to:"/calls",labelKey:"nav.calls",icon:T0},{to:"/leads",labelKey:"nav.leads",icon:S1},{to:"/phone-numbers",labelKey:"nav.phoneNumbers",icon:g1},{to:"/campaigns",labelKey:"nav.campaigns",icon:f1}]},{labelKey:"nav.build",items:[{to:"/templates",labelKey:"nav.templates",icon:c1},{to:"/integrations",labelKey:"nav.integrations",icon:m1},{to:"/flow-designer",labelKey:"nav.flowDesigner",icon:br}]},{labelKey:"nav.account",items:[{to:"/billing",labelKey:"nav.billing",icon:u1},{to:"/mcp",labelKey:"nav.mcp",icon:Wb},{to:"/connected-apps",labelKey:"nav.connectedApps",icon:s1},{to:"/settings",labelKey:"nav.settings",icon:y1}]}],O1=new Set(["/agents"]);function z1(o){return o?Em.map(u=>({...u,items:u.items.filter(c=>O1.has(c.to))})).filter(u=>u.items.length>0):Em}function D1(){const{t:o}=Jt(),{user:u,logout:c}=ra(),r=El(),[g,_]=A.useState(!1),[N,O]=A.useState(0),w=()=>{c(),r("/login")},C=(u==null?void 0:u.isGuest)===!0,L=!C&&((u==null?void 0:u.role)==="owner"||(u==null?void 0:u.role)==="admin"),j=z1(C);A.useEffect(()=>{const R=()=>O(B=>B+1);return window.addEventListener(dr,R),()=>window.removeEventListener(dr,R)},[]);const z=((u==null?void 0:u.name)||(u==null?void 0:u.email)||"?").split(" ").map(R=>R[0]).slice(0,2).join("").toUpperCase(),Y=()=>{var R;return d.jsxs("div",{className:"flex flex-col h-full",children:[d.jsx("div",{className:"px-5 pt-7 pb-6",children:d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsxs(ka,{to:"/",className:"flex items-center gap-3 min-w-0","aria-label":o("nav.dashboard"),
252children:[d.jsx(Tm,{}),d.jsx("span",{className:"text-[15px] font-semibold tracking-[-0.01em] text-white",children:"verbalo"})]}),d.jsx(Tr,{className:"ml-auto"})]})}),d.jsx("nav",{className:"flex-1 px-3 space-y-5 overflow-y-auto pb-4",children:[...j,...L?[{labelKey:"nav.operations",items:[{to:"/ops",labelKey:"nav.ops",icon:v0}]}]:[]].map(B=>d.jsxs("div",{children:[d.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-[0.08em] text-white/20 px-2.5 mb-1.5",children:o(B.labelKey)}),d.jsx("div",{className:"space-y-0.5",children:B.items.map(({to:M,labelKey:$,icon:oe,end:Ie})=>d.jsx(Fp,{to:M,end:Ie,onClick:()=>_(!1),className:({isActive:Me})=>`group flex items-center gap-3 px-2.5 py-2 rounded-lg text-[13px] font-medium transition-all ${Me?"bg-white/10 text-white":"text-white/40 hover:text-white/80 hover:bg-white/5"}`,children:({isActive:Me})=>d.jsxs(d.Fragment,{children:[d.jsx(oe,{size:15,className:Me?"text-white":"text-white/35 group-hover:text-white/70"}),d.jsx("span",{className:"flex-1",children:o($)}),Me&&d.jsx(br,{size:12,className:"text-white/30"})]})},M))})]},B.labelKey))}),d.jsxs("div",{className:"px-3 pb-4 pt-3 border-t border-white/[0.07]",children:[C?null:d.jsx(N1,{}),d.jsxs("div",{className:"flex items-center gap-2.5 px-2.5 py-2 rounded-lg hover:bg-white/5 transition-colors cursor-default",children:[d.jsx("div",{className:"w-7 h-7 rounded-full bg-gradient-to-br from-violet-500/80 to-indigo-600/80 flex items-center justify-center text-[11px] font-semibold text-white flex-shrink-0",children:z}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("p",{className:"text-[12px] font-medium text-white/80 truncate",children:(u==null?void 0:u.name)||((R=u==null?void 0:u.email)==null?void 0:R.split("@")[0])||"Account"}),d.jsx("p",{className:"text-[10px] text-white/30 truncate",children:u==null?void 0:u.email})]})]}),d.jsxs("button",{onClick:w,className:"flex items-center gap-2.5 w-full px-2.5 py-2 rounded-lg text-[13px] text-white/30 hover:text-white/70 hover:bg-white/5 transition-all mt-0.5",children:[d.jsx(r1,{size:14}),o("nav.signOut")]})]})]})};return d.jsxs("div",{className:"flex h-screen bg-gray-50",children:[d.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:z-[60] focus:left-4 focus:top-3 focus:bg-white focus:text-gray-900 focus:px-3 focus:py-2 focus:rounded-lg focus:shadow",children:o("nav.skipToContent")}),d.jsx("aside",{className:"hidden md:flex md:flex-col w-56 flex-shrink-0",style:{background:"linear-gradient(180deg, #0f0f13 0%, #0c0c10 100%)"},children:d.jsx(Y,{})}),g&&d.jsxs("div",{className:"fixed inset-0 z-40 md:hidden",role:"dialog","aria-modal":"true","aria-label":"Navigation menu",children:[d.jsx("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-sm",onClick:()=>_(!1)}),d.jsx("aside",{id:"mobile-navigation",className:"fixed left-0 top-0 bottom-0 w-56 flex flex-col z-50",style:{background:"linear-gradient(180deg, #0f0f13 0%, #0c0c10 100%)"},children:d.jsx(Y,{})})]}),d.jsxs("div",{className:"flex-1 flex flex-col overflow-hidden",children:[d.jsxs("header",{className:"md:hidden h-12 bg-white border-b border-gray-100 flex items-center justify-between px-4 flex-shrink-0",children:[d.jsx("button",{className:"text-gray-400 hover:text-gray-600 transition",onClick:()=>_(!0),"aria-expanded":g,"aria-controls":"mobile-navigation","aria-label":o("nav.openMenu"),children:d.jsx(d1,{size:20})}),d.jsxs(ka,{to:"/",className:"flex items-center gap-2","aria-label":o("nav.dashboard"),
252children:[d.jsx("div",{className:"w-6 h-6 rounded-md flex items-center justify-center",style:{background:"#0f0f13"},children:d.jsx(Tm,{size:16})}),d.jsx("span",{className:"text-[13px] font-semibold tracking-[-0.01em] text-gray-900",children:"verbalo"})]}),d.jsx("div",{className:"w-5","aria-hidden":"true"})]}),d.jsx(C1,{}),d.jsx("main",{id:"main-content",className:"flex-1 overflow-y-auto overflow-x-hidden p-4 md:p-6",children:d.jsx(Ip,{},N)})]})]})}function w1(o){return o&&o.startsWith("/")?o:"/"}function j1(){const{t:o}=Jt(),{login:u,user:c}=ra(),r=El(),[g]=Um(),_=w1(g.get("returnTo")),[N,O]=A.useState(""),[w,C]=A.useState(""),[L,j]=A.useState(""),[z,Y]=A.useState(!1);if(c)return d.jsx(En,{to:_,replace:!0});const R=async B=>{B.preventDefault(),j(""),Y(!0);try{await u(N,w),r(_)}catch(M){j(M.message||"Login failed")}finally{Y(!1)}};return d.jsxs("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-gray-950 via-slate-900 to-violet-950 px-4",children:[d.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"radial-gradient(circle at 1px 1px, white 1px, transparent 0)",backgroundSize:"32px 32px"}}),d.jsx("div",{className:"absolute top-4 right-4",children:d.jsx(Tr,{})}),d.jsxs("div",{className:"w-full max-w-sm relative",children:[d.jsxs("div",{className:"text-center mb-8",children:[d.jsxs("div",{className:"inline-flex flex-col items-center gap-4 mb-1",children:[d.jsxs("svg",{width:"48",height:"28",viewBox:"0 0 48 28",fill:"none","aria-label":"Verbalo",className:"mx-auto",children:[d.jsx("rect",{x:"0",y:"16",width:"6",height:"12",rx:"3",fill:"white",fillOpacity:"0.28"}),d.jsx("rect",{x:"10.5",y:"6",width:"6",height:"22",rx:"3",fill:"white",fillOpacity:"0.58"}),d.jsx("rect",{x:"21",y:"0",width:"6",height:"28",rx:"3",fill:"white"}),d.jsx("rect",{x:"31.5",y:"8",width:"6",height:"20",rx:"3",fill:"white",fillOpacity:"0.52"}),d.jsx("rect",{x:"42",y:"14",width:"6",height:"14",rx:"3",fill:"white",fillOpacity:"0.28"})]}),d.jsx("span",{className:"text-2xl font-semibold tracking-[-0.02em] text-white",children:"verbalo"})]}),d.jsx("p",{className:"text-sm text-white/35 mt-3",children:o("login.subtitle")})]}),d.jsxs("div",{className:"bg-white/[0.05] backdrop-blur-xl border border-white/10 rounded-2xl p-7 shadow-2xl",children:[d.jsxs("form",{onSubmit:R,className:"space-y-4",children:[L&&d.jsx("div",{id:"login-error",className:"bg-red-500/10 border border-red-500/20 text-red-400 text-xs px-3 py-2.5 rounded-lg",children:L}),d.jsxs("div",{children:[d.jsx("label",{htmlFor:"login-email",className:"block text-xs font-medium text-white/50 mb-1.5",children:o("login.email")}),d.jsx("input",{id:"login-email",type:"email",value:N,onChange:B=>O(B.target.value),required:!0,"aria-invalid":!!L,"aria-describedby":L?"login-error":void 0,className:"w-full px-3 py-2.5 bg-white/[0.07] border border-white/10 rounded-lg text-sm text-white placeholder:text-white/20 focus:outline-none focus:border-violet-500/60 focus:bg-white/10 transition",placeholder:"[email protected]"})]}),d.jsxs("div",{children:[d.jsx("label",{htmlFor:"login-password",className:"block text-xs font-medium text-white/50 mb-1.5",children:o("login.password")}),d.jsx("input",{id:"login-password",type:"password",value:w,onChange:B=>C(B.target.value),required:!0,"aria-invalid":!!L,"aria-describedby":L?"login-error":void 0,className:"w-full px-3 py-2.5 bg-white/[0.07] border border-white/10 rounded-lg text-sm text-white placeholder:text-white/20 focus:outline-none focus:border-violet-500/60 focus:bg-white/10 transition",placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢"})]}),d.jsx("button",{type:"submit",disabled:z,className:"w-full mt-1 bg-violet-600 hover:bg-violet-500 text-white font-medium py-2.5 rounded-lg text-sm transition disabled:opacity-40 shadow-lg shadow-violet-900/40",children:o(z?"login.submitting":"login.submit")})]}),d.jsxs("p",{className:"mt-5 text-center text-xs text-white/30",children:[o("login.noAccount")," ",d.jsx(ka,{to:_!=="/"?`/register?returnTo=${encodeURIComponent(_)}`:"/register",className:"text-violet-400 hover:text-violet-300 font-medium transition",children:o("login.register")})]})]})]})]})}function M1(o){return o&&o.startsWith("/")?o:"/"}function R1(){const{t:o}=Jt(),{register:u,user:c}=ra(),r=El(),[g]=Um(),_=M1(g.get("returnTo")),N=g.get($m)==="1",[O,w]=A.useState(""),[C,L]=A.useState(""),[j,z]=A.useState(""),[Y,R]=A.useState(""),[B,M]=A.useState(!1);if(c)return d.jsx(En,{to:_,replace:!0});
252const $=async oe=>{if(oe.preventDefault(),R(""),j.length<8){R("Password must be at least 8 characters");return}M(!0);try{await u(C,j,O),r(_)}catch(Ie){R(Ie.message||"Registration failed")}finally{M(!1)}};return d.jsxs("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-gray-950 via-slate-900 to-violet-950 px-4",children:[d.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"radial-gradient(circle at 1px 1px, white 1px, transparent 0)",backgroundSize:"32px 32px"}}),d.jsx("div",{className:"absolute top-4 right-4",children:d.jsx(Tr,{})}),d.jsxs("div",{className:"w-full max-w-sm relative",children:[d.jsxs("div",{className:"text-center mb-8",children:[d.jsxs("div",{className:"inline-flex flex-col items-center gap-4 mb-1",children:[d.jsxs("svg",{width:"48",height:"28",viewBox:"0 0 48 28",fill:"none","aria-label":"Verbalo",className:"mx-auto",children:[d.jsx("rect",{x:"0",y:"16",width:"6",height:"12",rx:"3",fill:"white",fillOpacity:"0.28"}),d.jsx("rect",{x:"10.5",y:"6",width:"6",height:"22",rx:"3",fill:"white",fillOpacity:"0.58"}),d.jsx("rect",{x:"21",y:"0",width:"6",height:"28",rx:"3",fill:"white"}),d.jsx("rect",{x:"31.5",y:"8",width:"6",height:"20",rx:"3",fill:"white",fillOpacity:"0.52"}),d.jsx("rect",{x:"42",y:"14",width:"6",height:"14",rx:"3",fill:"white",fillOpacity:"0.28"})]}),d.jsx("span",{className:"text-2xl font-semibold tracking-[-0.02em] text-white",children:"verbalo"})]}),d.jsx("p",{className:"text-sm text-white/35 mt-3",children:o("register.subtitle")})]}),d.jsxs("div",{className:"bg-white/[0.05] backdrop-blur-xl border border-white/10 rounded-2xl p-7 shadow-2xl",children:[N&&d.jsx("div",{className:"mb-4 rounded-lg border border-amber-500/20 bg-amber-500/10 px-3 py-2.5 text-xs text-amber-300",children:o("register.trialEnded")}),d.jsxs("form",{onSubmit:$,className:"space-y-4",children:[Y&&d.jsx("div",{id:"register-error",className:"bg-red-500/10 border border-red-500/20 text-red-400 text-xs px-3 py-2.5 rounded-lg",children:Y}),d.jsxs("div",{children:[d.jsx("label",{htmlFor:"register-name",className:"block text-xs font-medium text-white/50 mb-1.5",children:o("register.name")}),d.jsx("input",{id:"register-name",type:"text",value:O,onChange:oe=>w(oe.target.value),required:!0,"aria-invalid":!!Y,"aria-describedby":Y?"register-error":void 0,className:"w-full px-3 py-2.5 bg-white/[0.07] border border-white/10 rounded-lg text-sm text-white placeholder:text-white/20 focus:outline-none focus:border-violet-500/60 focus:bg-white/10 transition",placeholder:"Your name"})]}),d.jsxs("div",{children:[d.jsx("label",{htmlFor:"register-email",className:"block text-xs font-medium text-white/50 mb-1.5",children:o("register.email")}),d.jsx("input",{id:"register-email",type:"email",value:C,onChange:oe=>L(oe.target.value),required:!0,"aria-invalid":!!Y,"aria-describedby":Y?"register-error":void 0,className:"w-full px-3 py-2.5 bg-white/[0.07] border border-white/10 rounded-lg text-sm text-white placeholder:text-white/20 focus:outline-none focus:border-violet-500/60 focus:bg-white/10 transition",placeholder:"[email protected]"})]}),d.jsxs("div",{children:[d.jsx("label",{htmlFor:"register-password",className:"block text-xs font-medium text-white/50 mb-1.5",children:o("register.password")}),d.jsx("input",{id:"register-password",type:"password",value:j,onChange:oe=>z(oe.target.value),required:!0,"aria-invalid":!!Y,"aria-describedby":Y?"register-error":void 0,className:"w-full px-3 py-2.5 bg-white/[0.07] border border-white/10 rounded-lg text-sm text-white placeholder:text-white/20 focus:outline-none focus:border-violet-500/60 focus:bg-white/10 transition",placeholder:"Min 8 characters"})]}),d.jsx("button",{type:"submit",disabled:B,className:"w-full mt-1 bg-violet-600 hover:bg-violet-500 text-white font-medium py-2.5 rounded-lg text-sm transition disabled:opacity-40 shadow-lg shadow-violet-900/40",children:o(B?"register.submitting":"register.submit")})]}),d.jsxs("div",{className:"mt-5 pt-4 border-t border-white/[0.06] text-center space-y-2",children:[d.jsx("p",{className:"text-xs text-white/20",children:o("register.credits")}),d.jsxs("p",{className:"text-xs text-white/30",children:[o("register.hasAccount")," ",d.jsx(ka,{to:_!=="/"?`/login?returnTo=${encodeURIComponent(_)}`:"/login",className:"text-violet-400 hover:text-violet-300 font-medium transition",children:o("register.signIn")})]})]})]})]})]})}const Er="en-US";function Nr(o){if(o==null||o==="")return null;const u=o instanceof Date?o:new Date(o);return Number.isNaN(u.getTime())?null:u}function U1(o,{timeZone:u,fallback:c="â"}={}){const r=Nr(o);return r?new Intl.DateTimeFormat(Er,{timeZone:u,month:"numeric",day:"numeric",year:"numeric"}).format(r):c}function U0(o,{timeZone:u,fallback:c="â"}={}){const r=Nr(o);return r?new Intl.DateTimeFormat(Er,{timeZone:u,month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",hourCycle:"h12"}).format(r):c}function bx(o,{timeZone:u,fallback:c="â",hour12:r=!0}={}){const g=Nr(o);return g?new Intl.DateTimeFormat(Er,{timeZone:u,hour:r?"numeric":"2-digit",minute:"2-digit",hourCycle:r?"h12":"h23"}).format(g):c}function Sx(o,u=""){return/^\d{4}-\d{2}-\d{2}$/.test(o)?U1(`${o}T12:00:00Z`,{timeZone:"UTC",fallback:u}):u}function xx(o,u,c){return new Intl.DateTimeFormat(c,{month:"long",year:"numeric",timeZone:"UTC"}).format(new Date(Date.UTC(o,u,1)))}function _x(o,u){return new Intl.DateTimeFormat(u,{timeZone:"UTC",weekday:"long",month:"short",day:"numeric"}).format(new Date(`${o}T12:00:00Z`))}function Tx(o){const u=new Intl.DateTimeFormat(o,{weekday:"short",timeZone:"UTC"});return Array.from({length:7},(c,r)=>u.format(new Date(Date.UTC(2026,5,7+r))))}const Nm=()=>({Authorization:`Bearer ${localStorage.getItem("verbalo_token")||localStorage.getItem("vb_token")}`});function q1(){const[o,u]=A.useState(30),[c,r]=A.useState(null),[g,_]=A.useState([]),[N,O]=A.useState(!0),[w,C]=A.useState(!1),[L,j]=A.useState(""),[z,Y]=A.useState(""),[R,B]=A.useState(""),[M,$]=A.useState(!1),oe=()=>{O(!0);const we=Nm();Promise.all([fetch(`/api/v1/dashboard/metrics?days=${o}`,{headers:we}).then(te=>te.status===503?(C(!0),te.json().catch(()=>null)):te.json()),fetch(`/api/v1/dashboard/conversations?days=${o}&limit=20`,{headers:we}).then(te=>te.json()).catch(()=>({conversations:[]}))]).then(([te,X])=>{const fa=!!(te!=null&&te.error)||(te==null?void 0:te.integrationStatus)==="degraded"||(X==null?void 0:X.integrationStatus)==="degraded";C(!!fa),j((te==null?void 0:te.integrationDetail)||(te==null?void 0:te.detail)||(X==null?void 0:X.integrationDetail)||""),te&&!te.error&&r(te),_(X.conversations||[])}).catch(()=>{C(!0),j("Could not reach the API. Please retry in a moment.")}).finally(()=>O(!1))};A.useEffect(()=>{oe()},[o]);const Ie=async we=>{if(we.preventDefault(),!!z.trim()){$(!0),B("");try{const X=await(await fetch("/api/v1/insights/ask",{method:"POST",headers:{"Content-Type":"application/json",...Nm()},body:JSON.stringify({question:z})})).json();B(X.answer||X.error||"No response")}catch{B("AI insights temporarily unavailable.")}$(!1)}},Me=A.useMemo(()=>[{label:"Total Conversations",value:(c==null?void 0:c.totalCalls)??0,icon:T0,color:"bg-violet-500"},{label:"Success Rate",value:`${(c==null?void 0:c.containmentRate)??0}%`,icon:p1,color:"bg-emerald-500"},{label:"Avg Handle Time",value:Ar((c==null?void 0:c.avgHandleTimeSeconds)??0),icon:f0,c
252olor:"bg-blue-500"},{label:"Resolved by AI",value:(c==null?void 0:c.callsResolved)??0,icon:t1,color:"bg-teal-500"},{label:"Total Minutes",value:(c==null?void 0:c.totalMinutes)??0,icon:x1,color:"bg-indigo-500"},{label:"Est. Value Saved",value:`$${Number((c==null?void 0:c.estimatedCostSaved)??0).toLocaleString()}`,icon:o1,color:"bg-orange-500"}],[c]);return{days:o,setDays:u,metrics:c,conversations:g,loading:N,integrationDown:w,integrationDetail:L,aiQuestion:z,setAiQuestion:Y,aiAnswer:R,aiLoading:M,askAI:Ie,cards:Me}}function Ar(o){const u=Math.floor(o/60),c=String(o%60).padStart(2,"0");return`${u}:${c}`}function L1(o){return U0(o*1e3)}function H1(o){if(!o)return;const u=` 253 <html><head><title>Verbalo ROI Report</title></head> 254 <body style="font-family:Arial,sans-serif;padding:28px"> 255 <h1>Verbalo ROI Report</h1> 256 <p>Generated at ${U0(Date.now())} · Last ${o.days} days</p> 257 <ul> 258 <li>Total conversations: ${o.totalCalls}</li> 259 <li>Success rate: ${o.containmentRate}%</li> 260 <li>Avg handle time: ${Ar(o.avgHandleTimeSeconds)}</li> 261 <li>Resolved by AI: ${o.callsResolved}</li> 262 <li>Total minutes: ${o.totalMinutes}</li> 263 <li>Estimated value saved: $${Number(o.estimatedCostSaved).toLocaleString()}</li> 264 </ul> 265 <p>Use browser Print â Save as PDF.</p> 266 </body></html> 267 `,c=window.open("","_blank");if(!c){window.alert("Your browser blocked the report tab. Allow pop-ups for this site and try again.");return}c.document.write(u),c.document.close(),c.focus(),setTimeout(()=>c.print(),250)}function B1({metrics:o}){return d.jsxs("div",{className:"bg-white rounded-xl border border-gray-100 p-5 mb-4",children:[d.jsxs("div",{className:"flex items-center justify-between mb-4",children:[d.jsx("h2",{className:"text-sm font-semibold text-gray-800",children:"Conversations Over Time"}),d.jsx("button",{onClick:()=>H1(o),className:"px-2.5 py-1 rounded-lg border border-gray-200 text-xs font-medium text-gray-500 hover:border-gray-300 transition",children:"Export PDF"})]}),d.jsx(G1,{data:(o==null?void 0:o.chart)||[]})]})}function G1({data:o}){if(!o.length)return d.jsx("p",{className:"text-xs text-gray-400",children:"No conversation data for selected period."});const u=Math.max(...o.map(w=>Math.max(w.total,w.resolved)),1),c=900,r=220,g=24,_=(c-g*2)/Math.max(1,o.length-1),N=w=>r-g-(r-g*2)*(w/u),O=w=>o.map((C,L)=>`${L===0?"M":"L"} ${g+L*_} ${N(C[w])}`).join(" ");return d.jsxs("div",{children:[d.jsxs("svg",{viewBox:`0 0 ${c} ${r}`,className:"w-full h-52 rounded-lg bg-gray-50/60",children:[[0,.25,.5,.75,1].map(w=>d.jsx("line",{x1:g,y1:N(u*w),x2:c-g,y2:N(u*w),stroke:"#e5e7eb",strokeWidth:"1",strokeDasharray:"4 4"},w)),d.jsx("path",{d:O("total"),fill:"none",stroke:"#7c3aed",strokeWidth:"2",strokeLinejoin:"round"}),d.jsx("path",{d:O("resolved"),fill:"none",stroke:"#10b981",strokeWidth:"2",strokeLinejoin:"round"}),o.map((w,C)=>d.jsx("circle",{cx:g+C*_,cy:N(w.total),r:"3",fill:"#7c3aed"},C))]}),d.jsxs("div",{className:"mt-2 flex items-center gap-4 text-[11px] text-gray-500",children:[d.jsxs("span",{className:"flex items-center gap-1.5",children:[d.jsx("span",{className:"w-3 h-0.5 bg-violet-600 rounded-full inline-block"})," Total"]}),d.jsxs("span",{className:"flex items-center gap-1.5",children:[d.jsx("span",{className:"w-3 h-0.5 bg-emerald-500 rounded-full inline-block"})," Resolved"]})]})]})}function V1({conversations:o}){return o.length===0?null:d.jsxs("div",{className:"bg-white rounded-xl border border-gray-100 p-5 mb-4",children:[d.jsx("h2",{className:"text-sm font-semibold text-gray-800 mb-3",children:"Recent Conversations"}),d.jsx("div",{className:"divide-y divide-gray-50",children:o.map(u=>d.jsxs("div",{className:"flex items-center gap-3 py-2.5",children:[d.jsx(Y1,{outcome:u.call_successful}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("p",{className:"text-xs font-medium text-gray-700 truncate",children:u.call_summary_title||"Conversation"}),d.jsx("p",{className:"text-[11px] text-gray-400",children:u.agent_name})]}),d.jsxs("div",{className:"text-right flex-shrink-0",children:[d.jsxs("p",{className:"text-[11px] text-gray-500 flex items-center gap-1 justify-end",children:[d.jsx(f0,{size:10}),Ar(u.call_duration_secs||0)]}),d.jsxs("p",{className:"text-[10px] text-gray-300 flex items-center gap-1 justify-end mt-0.5",children:[d.jsx(e1,{size:9}),L1(u.start_time_unix_secs)]})]})]},u.conversation_id))})]})}function Y1({outcome:o}){return o==="success"?d.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center flex-shrink-0 bg-emerald-50","aria-label":"Successful",children:d.jsx(n1,{size:13,className:"text-emerald-500"})}):o==="failure"?d.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center flex-shrink-0 bg-red-50","aria-label":"Failed",children:d.jsx(i1,{size:13,className:"text-red-400"})}):d.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center flex-shrink-0 bg-gray-50","aria-label":"No outcome",children:d.jsx(l1,{size:13,className:"text-gray-300"})})}function Q1({cards:o}){return d.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-3 mb-6",children:o.map(u=>d.jsxs("div",{className:"bg-white rounded-xl border border-gray-100 p-4 flex items-center gap-3.5",children:[d.jsx("div",{className:`w-10 h-10 rounded-xl ${u.color} text-white flex items-center justify-center flex-shrink-0`,children:d.jsx(u.icon,{size:18})}),d.jsxs("div",{children:[d.jsx("p",{className:"text-xl font-bold text-gray-900 leading-tight",children:u.value}),d.jsx("p",{className:"text-xs text-gray-400 mt-0.5",children:u.label})]})]},u.label))})}function X1(){const{t:o}=Jt(),u=q1(),{days:c,setDays:r,metrics:g,conversations:_,loading:N,integrationDown:O,integrationDetail:w,aiQuestion:C,setAiQuestion:L,aiAnswer:j,aiLoading:z,askAI:Y,cards:R}=u;return N?d.jsx("div",{className:"flex justify-center py-20",children:d.jsx("div",{className:"animate-spin w-8 h-8 border-4 border-violet-500 border-t-transparent roun
267ded-full"})}):d.jsxs("div",{children:[O&&d.jsxs("div",{className:"mb-4 flex items-center gap-2 rounded-lg border border-amber-300 bg-amber-50 px-4 py-3 text-amber-800 text-sm",children:[d.jsx(_1,{className:"h-4 w-4 shrink-0"}),d.jsx("span",{children:w||o("dashboard.integrationDown")})]}),d.jsxs("div",{className:"mb-6 flex items-center justify-between",children:[d.jsxs("div",{children:[d.jsx("h1",{className:"text-xl font-semibold text-gray-900",children:o("dashboard.title")}),d.jsx("p",{className:"text-gray-400 text-sm mt-0.5",children:o("dashboard.subtitle")})]}),d.jsx("div",{className:"flex gap-1.5",children:[7,30,90].map(B=>d.jsxs("button",{onClick:()=>r(B),className:`px-3 py-1.5 rounded-lg text-sm font-medium transition ${c===B?"bg-violet-600 text-white shadow-sm":"bg-white text-gray-500 border border-gray-200 hover:border-gray-300"}`,children:[B,"d"]},B))})]}),d.jsx(Q1,{cards:R}),d.jsx(B1,{metrics:g}),d.jsx(V1,{conversations:_}),d.jsxs("div",{className:"bg-white rounded-xl border border-gray-100 p-5",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[d.jsx(b1,{size:15,className:"text-violet-500"}),d.jsx("h2",{className:"text-sm font-semibold text-gray-800",children:o("dashboard.aiInsights")})]}),d.jsxs("form",{onSubmit:Y,className:"flex gap-2",children:[d.jsx("input",{value:C,onChange:B=>L(B.target.value),placeholder:o("dashboard.askPlaceholder"),className:"flex-1 px-3 py-2 text-sm border border-gray-200 rounded-lg focus:outline-none focus:border-violet-400 transition"}),d.jsx("button",{type:"submit",disabled:z||!C.trim(),className:"bg-violet-600 text-white px-3.5 py-2 rounded-lg disabled:opacity-40 hover:bg-violet-700 transition",children:z?d.jsx("span",{className:"text-xs",children:"â¦"}):d.jsx(v1,{size:14})})]}),j&&d.jsxs("div",{className:"mt-3 p-3 bg-violet-50 rounded-lg text-xs text-violet-900 leading-relaxed",children:[d.jsx(h1,{size:11,className:"inline mr-1.5 opacity-60"}),j]})]})]})}function Z1(){const[o,u]=A.useState("loading"),[c,r]=A.useState(null),{user:g}=ra(),{locale:_}=Jt(),N=(g==null?void 0:g.isGuest)===!0;return A.useEffect(()=>{let O=!1;return De.getAgents().then(w=>{if(O)return;const C=w.agents??[];if(C.length===0){(g==null?void 0:g.copilotEnabled)!==!1&&(Ym((g==null?void 0:g.id)??""),Gm(),Qm(_)),u("templates");return}if(N){r(C[0].id),u("own-agent");return}u("dashboard")}).catch(()=>{O||u(N?"templates":"dashboard")}),()=>{O=!0}},[N]),o==="loading"?d.jsx("div",{className:"flex justify-center py-20",children:d.jsx("div",{className:"animate-spin w-8 h-8 border-4 border-violet-500 border-t-transparent rounded-full"})}):o==="templates"?d.jsx(En,{to:"/templates",replace:!0,state:{copilotOnboarding:!0}}):o==="own-agent"&&c?d.jsx(En,{to:`/agents/${c}`,replace:!0}):d.jsx(X1,{})}const k1=new Set(["guest_ip_burst","guest_global_burst","guest_ip_daily_cap","guest_global_daily_cap","guest_budget_exhausted"]);function J1(){const{user:o,loading:u,startGuestSession:c}=ra(),r=El(),[g,_]=A.useState(null),N=A.useRef(!1),{t:O,locale:w}=Jt();if(A.useEffect(()=>{Gm(),Qm(w)},[]),A.useEffect(()=>{u||o||N.current||(N.current=!0,c().then(()=>r("/templates",{replace:!0,state:{copilotOnboarding:!0}})).catch(C=>{_(C instanceof zi?C.code??"":"")}))},[u,o,c,r]),!u&&o)return d.jsx(En,{to:"/",replace:!0});if(g!==null){const C=k1.has(g);return d.jsxs("div",{className:"flex flex-col items-center justify-center h-screen gap-4 px-6 text-center",children:[d.jsx("p",{className:"text-lg font-semibold text-gray-900",children:O("guest.start.failedTitle")}),d.jsx("p",{className:"text-sm text-gray-500 max-w-md",children:O(C?"guest.start.failedQuota":"guest.start.failedUnavailable")}),d.jsxs("div",{className:"flex gap-3",children:[d.jsx(ka,{to:"/register",className:"rounded-lg bg-violet-600 px-4 py-2 text-sm font-medium text-white hover:bg-violet-500",children:O("guest.start.createAccount")}),d.jsx(ka,{to:"/login",className:"rounded-lg border border-gray-200 px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50",children:O("guest.start.signIn")})]})]})}return d.jsxs("div",{className:"flex flex-col items-center justify-center h-screen gap-4",children:[d.jsx("div",{className:"animate-spin w-8 h-8 border-4 border-brand-500 border-t-transparent roun
267ded-full"}),d.jsx("p",{className:"text-sm text-gray-500",children:O("guest.start.preparing")})]})}const K1=A.lazy(()=>_e(()=>import("./Agents-Dyd4ll1J.js"),__vite__mapDeps([26,5,27,20,13,2,3,9]))),Am=A.lazy(()=>_e(()=>import("./AgentEdit-CwUXJhzt.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]))),$1=A.lazy(()=>_e(()=>import("./Calls-BwrjCP3O.js"),__vite__mapDeps([28,2,5,13,19,14,29,16,17,6,30,1,18]))),I1=A.lazy(()=>_e(()=>import("./Leads-DW_Sk1O4.js"),__vite__mapDeps([31,2,32,30]))),F1=A.lazy(()=>_e(()=>import("./PhoneNumbers-CUAyxdii.js"),__vite__mapDeps([33,2,9,15,13,1]))),P1=A.lazy(()=>_e(()=>import("./Billing-Q0PSc1pO.js"),__vite__mapDeps([34,2,27,10]))),W1=A.lazy(()=>_e(()=>import("./Settings-C3SHezuI.js"),__vite__mapDeps([35,32,20,13,19,11,2,36,14]))),eS=A.lazy(()=>_e(()=>import("./SetupWizard-DzFi3Gce.js"),__vite__mapDeps([37,2,3]))),tS=A.lazy(()=>_e(()=>import("./Integrations-CG_9pdwY.js"),__vite__mapDeps([38,2,8,1,5,9,12,20,36,14,13,18,10,17,24]))),aS=A.lazy(()=>_e(()=>import("./FlowDesigner-C8YUdqz5.js"),__vite__mapDeps([39,2]))),nS=A.lazy(()=>_e(()=>import("./Campaigns-DrTW7-4g.js"),__vite__mapDeps([40,9,7,25,29,2]))),lS=A.lazy(Hm),iS=A.lazy(()=>_e(()=>import("./Ops-DNsU8J_o.js"),__vite__mapDeps([41,2]))),uS=A.lazy(()=>_e(()=>import("./McpDocs-DKHNr8cH.js"),__vite__mapDeps([42,2]))),oS=A.lazy(()=>_e(()=>import("./ConnectedApps-Dr56BlIh.js"),__vite__mapDeps([43,2,32,13]))),sS=A.lazy(()=>_e(()=>import("./McpOAuthConsent-B1T3Px-p.js"),__vite__mapDeps([44,2]))),cS=A.lazy(()=>_e(()=>import("./EmbeddedOnboarding-BXw1NzV4.js"),__vite__mapDeps([45,2,3]))),rS=A.lazy(Bm);function fS(){return d.jsx("div",{className:"flex items-center justify-center h-screen",children:d.jsx("div",{className:"animate-spin w-8 h-8 border-4 border-brand-500 border-t-transparent rounded-full"})})}function dS({children:o}){const{user:u,loading:c}=ra(),r=_r();if(c)return d.jsx("div",{className:"flex items-center justify-center h-screen",children:d.jsx("div",{className:"animate-spin w-8 h-8 border-4 border-brand-500 border-t-transparent rounded-full"})});if(!u){const g=encodeURIComponent(r.pathname+r.search);return d.jsx(En,{to:`/login?returnTo=${g}`,replace:!0})}return d.jsx(d.Fragment,{children:o})}function hS(){return d.jsxs("div",{className:"flex flex-col items-center justify-center h-full min-h-[60vh] gap-3 text-center px-4",children:[d.jsx("p",{className:"text-lg font-semibold text-gray-900",children:"Page not found"}),d.jsx("p",{className:"text-sm text-gray-500",children:"That page doesn't exist, or the link is out of date."}),d.jsx(ka,{to:"/",className:"text-sm font-medium text-violet-600 hover:underline",children:"Go to dashboard"})]})}function gS(){const{user:o}=ra(),{pathname:u}=_r();return!qm(u)&&(!o||o.copilotEnabled===!1)?null:d.jsx(A.Suspense,{fallback:null,children:d.jsx(rS,{})})}function mS(){return d.jsxs(A.Suspense,{fallback:d.jsx(fS,{}),children:[d.jsxs(Pp,{children:[d.jsx(be,{path:"/login",element:d.jsx(j1,{})}),d.jsx(be,{path:"/register",element:d.jsx(R1,{})}),d.jsx(be,{path:"/start",element:d.jsx(J1,{})}),d.jsx(be,{path:"/onboard",element:d.jsx(cS,{})}),d.jsx(be,{path:"/oauth/authorize",element:d.jsx(sS,{})}),d.jsxs(be,{path:"/",element:d.jsx(dS,{children:d.jsx(D1,{})}),children:[d.jsx(be,{index:!0,element:d.jsx(Z1,{})}),d.jsx(be,{path:"agents",element:d.jsx(K1,{})}),d.jsx(be,{path:"agents/new",element:d.jsx(Am,{})}),d.jsx(be,{path:"agents/:id",element:d.jsx(Am,{})}),d.jsx(be,{path:"templates",element:d.jsx(lS,{})}),d.jsx(be,{path:"calls",element:d.jsx($1,{})}),d.jsx(be,{path:"leads",element:d.jsx(I1,{})}),d.jsx(be,{path:"phone-numbers",element:d.jsx(F1,{})}),d.jsx(be,{path:"setup-wizard",element:d.jsx(eS,{})}),d.jsx(be,{path:"integrations",element:d.jsx(tS,{})}),d.jsx(be,{path:"business-context",element:d.jsx(En,{to:"/integrations",replace:!0})}),d.jsx(be,{path:"flow-designer",element:d.jsx(aS,{})}),d.jsx(be,{path:"campaigns",element:d.jsx(nS,{})}),d.jsx(be,{path:"billing",element:d.jsx(P1,{})}),d.jsx(be,{path:"ops",element:d.jsx(iS,{})}),d.jsx(be,{path:"settings",element:d.jsx(W1,{})}),d.jsx(be,{path:"mcp",element:d.jsx(uS,{})}),d.jsx(be,{path:"connected-apps",element:d.jsx(oS,{})}),d.jsx(be,{path:"*",element:d.jsx(hS,{})})]})]}),d.jsx(gS,{})]})}const Tn=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,kt=globalThis,wi="11.1.0";function go(){return Cr(kt),kt}function Cr(o){const u=o.__SENTRY__=o.__SENTRY__||{};return u.version=u.version||wi,u[wi]=u[wi]||{}}function Or(o,u,c=kt){const r=c.__SENTRY__=c.__SENTRY__||{},g=r[wi]=r[wi]||{};
267return g[o]||(g[o]=u())}const vS="Sentry Logger ",Cm={};function q0(o){if(!("console"in kt))return o();const u=kt.console,c={},r=Object.keys(Cm);r.forEach(g=>{const _=Cm[g];c[g]=u[g],u[g]=_});try{return o()}finally{r.forEach(g=>{u[g]=c[g]})}}function yS(){Dr().enabled=!0}function pS(){Dr().enabled=!1}function L0(){return Dr().enabled}function bS(...o){zr("log",...o)}function SS(...o){zr("warn",...o)}function xS(...o){zr("error",...o)}function zr(o,...u){Tn&&L0()&&q0(()=>{kt.console[o](`${vS}[${o}]:`,...u)})}function Dr(){return Tn?Or("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const wt={enable:yS,disable:pS,isEnabled:L0,log:bS,warn:SS,error:xS},_S=Object.prototype.toString;function TS(o,u){return _S.call(o)===`[object ${u}]`}function ES(o){return TS(o,"Object")}function NS(o){return!!(o!=null&&o.then&&typeof o.then=="function")}function AS(o,u,c){try{Object.defineProperty(o,u,{value:c,writable:!0,configurable:!0})}catch{Tn&&wt.log(`Failed to add non-enumerable property "${String(u)}" to object`,o)}}let Sl;function mo(o){if(Sl!==void 0)return Sl?Sl(o):o();const u=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),c=kt;return u in c&&typeof c[u]=="function"?(Sl=c[u],Sl(o)):(Sl=null,o())}function H0(){return mo(()=>Math.random())}function CS(){return mo(()=>Date.now())}function OS(o,u=0){return typeof o!="string"||u===0||o.length<=u?o:`${o.slice(0,u)}...`}function zS(){const o=kt;return o.crypto||o.msCrypto}let sr;function DS(){return H0()*16}function ji(o=zS()){try{if(o!=null&&o.randomUUID)return mo(()=>o.randomUUID()).replace(/-/g,"")}catch{}return sr||(sr="10000000100040008000"+1e11),sr.replace(/[018]/g,u=>(u^(DS()&15)>>u/4).toString(16))}const B0=1e3;function G0(){return CS()/B0}function wS(){const{performance:o}=kt;if(!(o!=null&&o.now)||!o.timeOrigin)return G0;const u=o.timeOrigin;return()=>(u+mo(()=>o.now()))/B0}let Om;function jS(){return(Om??(Om=wS()))()}function MS(o,u={}){if(u.user&&(!o.ipAddress&&u.user.ip_address&&(o.ipAddress=u.user.ip_address),!o.did&&!u.did&&(o.did=u.user.id||u.user.email||u.user.username)),o.timestamp=u.timestamp||jS(),u.abnormal_mechanism&&(o.abnormal_mechanism=u.abnormal_mechanism),u.ignoreDuration&&(o.ignoreDuration=u.ignoreDuration),u.sid&&(o.sid=u.sid.length===32?u.sid:ji()),u.init!==void 0&&(o.init=u.init),!o.did&&u.did&&(o.did=`${u.did}`),typeof u.started=="number"&&(o.started=u.started),o.ignoreDuration)o.duration=void 0;else if(typeof u.duration=="number")o.duration=u.duration;else{const c=o.timestamp-o.started;o.duration=c>=0?c:0}u.release&&(o.release=u.release),u.environment&&(o.environment=u.environment),!o.ipAddress&&u.ipAddress&&(o.ipAddress=u.ipAddress),!o.userAgent&&u.userAgent&&(o.userAgent=u.userAgent),typeof u.errors=="number"&&(o.errors=u.errors),u.status&&(o.status=u.status)}function V0(o,u,c=2){if(!u||typeof u!="object"||c<=0)return u;if(o&&Object.keys(u).length===0)return o;const r={...o};for(const g in u)Object.prototype.hasOwnProperty.call(u,g)&&(r[g]=V0(r[g],u[g],c-1));return r}function RS(){return ji()}const US=100;class Ja{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},AS(this,"refs",{}),this._propagationContext={traceId:RS(),sampleRand:H0()}}clone(){const u=new Ja;return u._breadcrumbs=[...this._breadcrumbs],u._tags={...this._tags},u._attributes={...this._attributes},u._extra={...this._extra},u._contexts={...this._contexts},this._contexts.flags&&(u._contexts.flags={values:[...this._contexts.flags.values]}),u._user=this._user,u._level=this._level,u._session=this._session,u._transactionName=this._transactionName,u._fingerprint=this._fingerprint,u._eventProcessors=[...this._eventProcessors],u._attachments=[...this._attachments],u._sdkProcessingMetadata={...this._sdkProcessingMetadata},u._propagationContext={...this._propagationContext},u._client=this._client,u._lastEventId=this._lastEventId,u._conversationId=this._conversationId,u.refs={...this.refs},u}setClient(u){this._client=u}setLastEventId(u){this._lastEventId=u}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(u){this._scopeListeners.push(u)}addEventProcessor(u){return this._eventProcessors.push(u),this}setUser(u){return this._user=u||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&MS(this._session,{user:u}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(u){return this._conversationId=u||void 0,this._notifyScopeListeners(),this}setTags(u){return this._tags={...this._tags,...u},this._notifyScopeListeners(),this}setTag(u,c){return this.setTags({[u]:c})}setAttributes(u){return this._attributes={...this._attributes,...u},this._notifyScopeListeners(),this}setAttribute(u,c){return this.setAttributes({[u]:c})}removeAttribute(u){return u in this._attributes&&(delete this._attributes[u],this._notifyScopeListeners()),this}setExtras(u){return this._extra={...this._extra,...u},this._notifyScopeListeners(),this}setExtra(u,c){return this._extra={...this._extra,[u]:c},this._notifyScopeListeners(),this}setFingerprint(u){return this._fingerprint=u,this._notifyScopeListeners(),this}setLevel(u){return this._level=u,this._notifyScopeListeners(),this}setTransactionName(u){return this._transactionName=u,this._notifyScopeListeners(),this}setContext(u,c){return c===null?delete this._contexts[u]:this._contexts[u]=c,this._notifyScopeListeners(),this}setSession(u){return u?this._session=u:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(u){if(!u)return this;const c=typeof u=="function"?u(this):u,r=c instanceof Ja?c.getScopeData():ES(c)?u:void 0,{tags:g,attributes:_,extra:N,user:O,contexts:w,level:C,fingerprint:L=[],propagationContext:j,conversationId:z}=r||{};return this._tags={...this._tags,...g},this._attributes={...this._attributes,..._},this._extra={...this._extra,...N},this._contexts={...this._contexts,...w},O&&Object.keys(O).length&&(this._user=O),C&&(this._level=C),L.length&&(this._fingerprint=L),j&&(this._propagationContext=j),z&&(this._conversationId=z),this}addBreadcrumb(u,c){const r=typeof c=="number"?c:US;if(r<=0)return this;const g={timestamp:G0(),...u,message:u.message?OS(u.message,2048):u.message};return this._breadcrumbs.push(g),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(u){return this._attachments.push(u),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,conversationId:this._conversationId}}setSDKProcessingMetadata(u){return this._sdkProcessingMetadata=V0(this._sdkProcessingMetadata,u,2),this}setPropagationContext(u){return this._propagationContext=u,this}getPropagationContext(){return this._propagationContext}captureException(u,c){const r=(c==null?void 0:c.event_id)||ji();if(!this._client)return Tn&&wt.warn("No client configured on scope - will not capture exception!"),r;const g=new Error("Sentry syntheticException");return this._client.captureException(u,{originalException:u,syntheticException:g,...c,event_id:r},this),r}captureMessage(u,c,r){const g=(r==null?void 0:r.event_id)||ji();if(!this._client)return Tn&&wt.warn("No client configured on scope - will not capture message!"),g;const _=(r==null?void 0:r.syntheticException)??new Error(u);return this._client.captureMessage(u,c,{originalException:u,syntheticException:_,...r,event_id:g},this),g}
267captureEvent(u,c){const r=u.event_id||(c==null?void 0:c.event_id)||ji();return this._client?(this._client.captureEvent(u,{...c,event_id:r},this),r):(Tn&&wt.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(u=>{u(this)}),this._notifyingListeners=!1)}}function qS(){return Or("defaultCurrentScope",()=>new Ja)}function LS(){return Or("defaultIsolationScope",()=>new Ja)}const zm="__SENTRY_SUPPRESS_TRACING__",Dm=o=>o instanceof Promise&&!o[Y0],Y0=Symbol("chained PromiseLike"),HS=(o,u,c)=>{const r=o.then(g=>(u(g),g),g=>{throw c(g),g});return Dm(r)&&Dm(o)?r:BS(o,r)},BS=(o,u)=>{if(!u)return o;let c=!1;for(const r in o){if(r in u)continue;c=!0;const g=o[r];typeof g=="function"?Object.defineProperty(u,r,{value:(..._)=>g.apply(o,_),enumerable:!0,configurable:!0,writable:!0}):u[r]=g}return c&&Object.assign(u,{[Y0]:!0}),u};class GS{constructor(u,c){let r;u?r=u:r=new Ja;let g;c?g=c:g=new Ja,this._stack=[{scope:r}],this._isolationScope=g}withScope(u){const c=this._pushScope();let r;try{r=u(c)}catch(g){throw this._popScope(),g}return NS(r)?HS(r,()=>this._popScope(),()=>this._popScope()):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const u=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:u}),u}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Tl(){const o=go(),u=Cr(o);return u.stack=u.stack||new GS(qS(),LS())}function Q0(o){return Tl().withScope(o)}function VS(o,u){const c=Tl();return c.withScope(()=>(c.getStackTop().scope=o,u(o)))}function wm(o){return Tl().withScope(()=>o(Tl().getIsolationScope()))}function YS(){return{suppressTracing:QS,withIsolationScope:wm,withScope:Q0,withSetScope:VS,withSetIsolationScope:(o,u)=>wm(u),getCurrentScope:()=>Tl().getScope(),getIsolationScope:()=>Tl().getIsolationScope()}}function QS(o){return Q0(u=>{u.setSDKProcessingMetadata({[zm]:!0});const c=o();return u.setSDKProcessingMetadata({[zm]:void 0}),c})}function wr(o){const u=Cr(o);return u.acs?u.acs:YS()}function jr(){const o=go();return wr(o).getCurrentScope()}function XS(){const o=go();return wr(o).getIsolationScope()}function ZS(...o){const u=go(),c=wr(u);if(o.length===2){const[r,g]=o;return r?c.withSetScope(r,g):c.withScope(g)}return c.withScope(o[0])}function X0(){return jr().getClient()}const kS=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function JS(o){return o==="http"||o==="https"}function KS(o,u=!1){const{host:c,path:r,pass:g,port:_,projectId:N,protocol:O,publicKey:w}=o;return`${O}://${w}${u&&g?`:${g}`:""}@${c}${_?`:${_}`:""}/${r&&`${r}/`}${N}`}function $S(o){const u=kS.exec(o);if(!u){q0(()=>{console.error(`Invalid Sentry Dsn: ${o}`)});return}const[c,r,g="",_="",N="",O=""]=u.slice(1);let w="",C=O;const L=C.split("/");if(L.length>1&&(w=L.slice(0,-1).join("/"),C=L.pop()),C){const j=C.match(/^\d+/);j&&(C=j[0])}return Z0({host:_,pass:g,path:w,projectId:C,port:N,protocol:c,publicKey:r})}function Z0(o){return{protocol:o.protocol,publicKey:o.publicKey||"",pass:o.pass||"",host:o.host,port:o.port||"",path:o.path||"",projectId:o.projectId}}function IS(o){if(!Tn)return!0;const{port:u,projectId:c,protocol:r}=o;return["protocol","publicKey","host","projectId"].find(N=>o[N]?!1:(wt.error(`Invalid Sentry Dsn: ${N} missing`),!0))?!1:c.match(/^\d+$/)?JS(r)?u&&isNaN(parseInt(u,10))?(wt.error(`Invalid Sentry Dsn: Invalid port ${u}`),!1):!0:(wt.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(wt.error(`Invalid Sentry Dsn: Invalid projectId ${c}`),!1)}function FS(o){const u=typeof o=="string"?$S(o):Z0(o);if(!(!u||!IS(u)))return u}function PS(o){if(o)return WS(o)?{captureContext:o}:t2(o)?{captureContext:o}:o}function WS(o){return o instanceof Ja||typeof o=="function"}const e2=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function t2(o){return Object.keys(o).some(u=>e2.includes(u))}function a2(o,u){return jr().captureException(o,PS(u))}function n2(){return XS().lastEventId()}function l2(o){const u=o.protocol?`${o.protocol}:`:"",c=o.port?`:${o.port}`:"";return`${u}//${o.host}${c}${o.path?`/${o.path}`:""}/api/`}function i2(o,u){const c=FS(o);if(!c)return"";const r=`${l2(c)}embed/error-page/`;let g=`dsn=${KS(c)}`;for(const _ in u)if(_!=="dsn"&&!(_==="onClose"||_==="onError"))if(_==="user"){const N=u.user;if(!N)continue;N.name&&(g+=`&name=${encodeURIComponent(N.name)}`),N.email&&(g+=`&email=${encodeURIComponent(N.email)}`)}else g+=`&${encodeURIComponent(_)}=${encodeURIComponent(u[_])}`;return`${r}?${g}`}const Ai=kt,cr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function jm(o={}){const u=Ai.document,c=(u==null?void 0:u.head)||(u==null?void 0:u.body);if(!c){cr&&wt.error("[showReportDialog] Global document not defined");return}const r=jr(),g=X0(),_=g==null?void 0:g.getDsn();if(!_){cr&&wt.error("[showReportDialog] DSN not configured");return}const N={...o,user:{...r.getUser(),...o.user},eventId:o.eventId||n2()},{onLoad:O,onClose:w,onError:C}=N;if(!N.eventId){cr&&wt.error("[showReportDialog] No event ID"),C==null||C(new Error("No event ID to show the report dialog for"));return}const L=Ai.document.createElement("script");
267if(L.async=!0,L.crossOrigin="anonymous",L.src=i2(_,N),O&&(L.onload=O),C&&(L.onerror=()=>{C(new Error("Failed to load the report dialog script"))}),w){const j=z=>{if(z.data==="__sentry_reportdialog_closed__")try{w()}finally{Ai.removeEventListener("message",j)}};Ai.addEventListener("message",j),L.addEventListener("error",()=>{Ai.removeEventListener("message",j)})}c.appendChild(L)}const k0=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,fo=globalThis,Mm="11.1.0";function u2(o,u,c=fo){const r=c.__SENTRY__=c.__SENTRY__||{},g=r[Mm]=r[Mm]||{};return g[o]||(g[o]=u())}const o2="Sentry Logger ",Rm={};function s2(o){if(!("console"in fo))return o();const u=fo.console,c={},r=Object.keys(Rm);r.forEach(g=>{const _=Rm[g];c[g]=u[g],u[g]=_});try{return o()}finally{r.forEach(g=>{u[g]=c[g]})}}function c2(){Rr().enabled=!0}function r2(){Rr().enabled=!1}function J0(){return Rr().enabled}function f2(...o){Mr("log",...o)}function d2(...o){Mr("warn",...o)}function h2(...o){Mr("error",...o)}function Mr(o,...u){k0&&J0()&&s2(()=>{fo.console[o](`${o2}[${o}]:`,...u)})}function Rr(){return k0?u2("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const g2={enable:c2,disable:r2,isEnabled:J0,log:f2,warn:d2,error:h2},m2=Object.prototype.toString;function v2(o){switch(m2.call(o)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return y2(o,Error)}}function y2(o,u){try{return o instanceof u}catch{return!1}}function p2(o,u){const c=new WeakSet;function r(g,_){if(!c.has(g)){if(g.cause)return c.add(g),r(g.cause,_);g.cause=_}}r(o,u)}function b2(o,{componentStack:u},c){if(v2(o)&&u){const r=new Error(o.message);r.name=`React ErrorBoundary ${o.name}`,r.stack=u,p2(o,r)}return a2(o,c)}const S2=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,rr={componentStack:null,error:null,eventId:null};let x2=class extends A.Component{constructor(u){super(u),this.state=rr,this._openFallbackReportDialog=!0;const c=X0();c&&u.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=c.on("afterSendEvent",r=>{!r.type&&this._lastEventId&&r.event_id===this._lastEventId&&jm({...u.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(u,c){const{componentStack:r}=c,{beforeCapture:g,onError:_,showDialog:N,dialogOptions:O}=this.props;ZS(w=>{g&&g(w,u,r);const C=this.props.handled!=null?this.props.handled:!!this.props.fallback,L=b2(u,c,{mechanism:{handled:C,type:"auto.function.react.error_boundary"}});_&&_(u,r,L),N&&(this._lastEventId=L,this._openFallbackReportDialog&&jm({...O,eventId:L})),this.setState({error:u,componentStack:r,eventId:L})})}componentDidMount(){const{onMount:u}=this.props;u&&u()}componentWillUnmount(){const{error:u,componentStack:c,eventId:r}=this.state,{onUnmount:g}=this.props;g&&(this.state===rr?g(null,null,null):g(u,c,r)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){const{onReset:u}=this.props,{error:c,componentStack:r,eventId:g}=this.state;u&&u(c,r,g),this.setState(rr)}render(){const{fallback:u,children:c}=this.props,r=this.state;if(r.componentStack===null)return typeof c=="function"?c():c;const g=typeof u=="function"?A.createElement(u,{error:r.error,componentStack:r.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:r.eventId}):u;return A.isValidElement(g)?g:(u&&S2&&g2.warn("fallback did not produce a valid ReactElement"),null)}};function _2(){return d.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50 px-4",children:d.jsxs("div",{className:"max-w-md w-full bg-white border border-gray-200 rounded-xl p-6 text-center",children:[d.jsx("h1",{className:"text-lg font-semibold text-gray-900",children:"Something went wrong"}),d.jsx("p",{className:"text-sm text-gray-500 mt-2",children:"The dashboard crashed while rendering this page."}),d.jsx("button",{type:"button",onClick:()=>window.location.reload(),className:"mt-4 px-4 py-2 rounded-lg bg-violet-600 text-white text-sm font-medium hover:bg-violet-700 transition",children:"Reload"})]})})}function T2(o){console.error("Unhandled UI error",o)}function E2({children:o}){return d.jsx(x2,{fallback:d.jsx(_2,{}),onError:T2,children:o})}sb.createRoot(document.getElementById("root")).render(d.jsx(Wp.StrictMode,{children:d.jsx(eb,{basename:"/app",children:d.jsx(Gb,{children:d.jsx(Lb,{children:d.jsx(E2,{children:d.jsx(mS,{})})})})})}));export{ar as $,zi as A,Pb as B,n1 as C,dx as D,ux as E,U1 as F,b1 as G,fx as H,_1 as I,h1 as J,s1 as K,wb as L,R2 as M,i1 as N,Sx as O,g1 as P,T0 as Q,z2 as R,ox as S,cx as T,gm as U,w2 as V,M2 as W,R0 as X,j2 as Y,O2 as Z,rb as _,De as a,D2 as a0,u1 as a1,Fb as a2,V2 as a3,q2 as a4,C2 as a5,H2 as a6,L2 as a7,Y2 as a8,B2 as a9,hx as aA,$2 as aa,K2 as ab,X2 as ac,G2 as ad,Q2 as ae,f1 as af,Wb as ag,r1 as ah,Tr as ai,lx as aj,P2 as ak,F2 as al,I2 as am,vb as an,ix as ao,Vm as ap,nx as aq,Ob as ar,pm as as,qm as at,zb as au,yb as av,ax as aw,Qm as ax,gx as ay,mx as az,br as b,ue as c,sx as d,ra as e,px as f,ro as g,U2 as h,yx as i,d as j,U0 as k,rx as l,a1 as m,v1 as n,xx as o,_x as p,bx as q,vx as r,ex as s,W2 as t,Jt as u,k2 as v,Tx as w,tx as x,Z2 as y,J2 as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.